@evoscientist/webui 0.2.6 → 0.2.8
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/dist/.next/BUILD_ID +1 -1
- package/dist/.next/build-manifest.json +3 -3
- package/dist/.next/prerender-manifest.json +5 -5
- package/dist/.next/required-server-files.json +5 -5
- package/dist/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/dist/.next/server/app/_global-error.html +1 -1
- package/dist/.next/server/app/_global-error.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found.html +1 -1
- package/dist/.next/server/app/_not-found.rsc +3 -3
- package/dist/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/api/memory/executions/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/memory/observations/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/skills/catalog/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/skills/detail/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/skills/install/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/dist/.next/server/app/index.html +1 -1
- package/dist/.next/server/app/index.rsc +4 -4
- package/dist/.next/server/app/index.segments/__PAGE__.segment.rsc +3 -3
- package/dist/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/dist/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/page.js.nft.json +1 -1
- package/dist/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/chunks/ssr/1daa_@mermaid-js_parser_dist_chunks_mermaid-parser_core_chunk-FOHPRMQF_mjs_0ybwfeq._.js +84 -0
- package/dist/.next/server/chunks/ssr/1daa_mermaid_dist_chunks_mermaid_core_mindmap-definition-YA3MSWOX_mjs_19k8byt._.js +92 -0
- package/dist/.next/server/chunks/ssr/1daa_mermaid_dist_chunks_mermaid_core_requirementDiagram-BXWQKSXE_mjs_0kwiv6n._.js +81 -0
- package/dist/.next/server/chunks/ssr/1daa_mermaid_dist_chunks_mermaid_core_timeline-definition-24CTP7MA_mjs_10dmaxt._.js +117 -0
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-WWUBYQGX_mjs_0g15hiw._.js +106 -0
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_ishikawaDiagram-5VMMS53U_mjs_05o2e4d._.js +66 -0
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-3NMN7TZE_mjs_16ehrbl._.js +136 -0
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-UXKFOSKX_mjs_1uiqd5g._.js +81 -0
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-AXDQQJYC_mjs_0h4a9wq._.js +3 -0
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-WJ2MYXX4_mjs_1n01m3a._.js +155 -0
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_wardleyDiagram-VM6X3IG4_mjs_0kh3fjb._.js +79 -0
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-S5SC5T6Z_mjs_08t5e44._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0471z20._.js +1 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0owaq8w._.js +3 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0xpcv9w._.js +1 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__11a1-4t._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_1-wfv6i._.js → node_modules_002u7ir._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_01wbayw._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_02l4ncm._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_063ofsn._.js +64 -0
- package/dist/.next/server/chunks/ssr/node_modules_0a-3666._.js +26 -0
- package/dist/.next/server/chunks/ssr/node_modules_0dxcji9._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_082g_84._.js → node_modules_0f5_pdq._.js} +12 -3
- package/dist/.next/server/chunks/ssr/node_modules_0fxlk06._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0gs9qjb._.js +17 -0
- package/dist/.next/server/chunks/ssr/{node_modules_111pp7w._.js → node_modules_0klo3i5._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_0koo_87._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0lhl9_0._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_0m7-ed8._.js +43 -0
- package/dist/.next/server/chunks/ssr/node_modules_0p_8bfi._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_1z_uie6._.js → node_modules_0plqukv._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_0q44r64._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_1nck62h._.js → node_modules_0qeu828._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_0qw862r._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0rb-_la._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0tr3k8r._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0urn1wt._.js +24 -0
- package/dist/.next/server/chunks/ssr/node_modules_0ybok7k._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_10v96_9._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_1p9b60w._.js → node_modules_11trqmi._.js} +4 -4
- package/dist/.next/server/chunks/ssr/{node_modules_1_v-pb8._.js → node_modules_13e524_._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_14gkv49._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_14xejkf._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_17rfg58._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1_d0q_7._.js +289 -0
- package/dist/.next/server/chunks/ssr/node_modules_1a2dy76._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1asq18n._.js +29 -0
- package/dist/.next/server/chunks/ssr/node_modules_1bo15xl._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1c0h-_d._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1f65-5g._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1ki78ma._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1mcjw-y._.js +17 -0
- package/dist/.next/server/chunks/ssr/{node_modules_0v4zc0t._.js → node_modules_1nl12mt._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_1owe5xv._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1phops3._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1t626ye._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_1thrjjl._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_0456qqx._.js → node_modules_1tsuh_o._.js} +3 -3
- package/dist/.next/server/chunks/ssr/node_modules_1twjy-4._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1vbiuwu._.js +63 -0
- package/dist/.next/server/chunks/ssr/node_modules_208gr2-._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_20iziql._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_20oab__._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_066fcep._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0_301m2._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0it10w8._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0m-ahsg._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0n8rqkj._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0nb4v-i._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0tdjo9s._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_12betp4._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1mu01rb._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1xda76v._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1z2f7i3._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_20vrei_._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_00ptcss._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0_iovbk._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1quf15b._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0a2p_6-._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0muxjzn._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0c6uq4c._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0d8brvh._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0__ix0y._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0ha29gs._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0597f-k._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0mkvkrn._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1vi37xl._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0xbyurn._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_10l-aox._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1fzbfn5._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_11iptmm._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_183vuvb._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1_98arq._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1lr-xqr._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1p161c7._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1t9e3ef._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_dagre-d3-es_src_dagre_index_0g66msq.js +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_04eh6b6._.js → node_modules_katex_dist_katex_mjs_09ex6q5._.js} +1 -1
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_0e5n4p5._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-I7D4REHJ_mjs_0qg1lr5._.js +126 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-7LVT6UL2_mjs_06bhe3-._.js +34 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-2E4U76K2_mjs_20f4_iz._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-4HAMMTFA_mjs_1cfif1_._.js +64 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-75Z2AOVW_mjs_051rute._.js +4 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-DU6HZSFF_mjs_20hsuk9._.js +124 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-IMKFNOWR_mjs_0vdq1-l._.js +228 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_15ujw6f._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-OSK3NFVY_mjs_0x5leh1._.js +12 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-SHT3W25Y_mjs_00p5j42._.js +160 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-SVP7TREG_mjs_03r5m21._.js +88 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-TICWLB2K_mjs_1t97mh7._.js +203 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-Y2CYZVJY_mjs_20i4m4_._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_diagram-VX7I27RA_mjs_0dl8gzm._.js +26 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-RLTQ6QDP_mjs_18g60i7._.js +96 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-P5KCCOFB_mjs_187yyta._.js +36 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-D77RDMKH_mjs_1mer5fv._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_swimlanes-42K2YHIH_mjs_0scuk32._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_vennDiagram-4TSXK5OY_mjs_0anqu7y._.js +25 -0
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_mermaid_core_mjs_1ao-jv5._.js +3 -3
- package/dist/.next/server/middleware-build-manifest.js +3 -3
- package/dist/.next/server/pages/404.html +1 -1
- package/dist/.next/server/pages/500.html +1 -1
- package/dist/.next/server/server-reference-manifest.js +1 -1
- package/dist/.next/server/server-reference-manifest.json +1 -1
- package/dist/.next/static/chunks/00h58csdfefay.js +1 -0
- package/dist/.next/static/chunks/01_remgex0cp2.js +1 -0
- package/dist/.next/static/chunks/01xjer0i_e5z5.js +15 -0
- package/dist/.next/static/chunks/025bmrgeukcb2.js +15 -0
- package/dist/.next/static/chunks/02slxciv9jt1p.js +77 -0
- package/dist/.next/static/chunks/04e-e--5lk26x.js +287 -0
- package/dist/.next/static/chunks/09nk4rn1z6j8b.js +1 -0
- package/dist/.next/static/chunks/0_l0vn2teso0z.js +1 -0
- package/dist/.next/static/chunks/0a_kuude9z_bg.js +1 -0
- package/dist/.next/static/chunks/0bz8pjqbx0nt7.js +1 -0
- package/dist/.next/static/chunks/0cnrxsj5iw5ld.js +2 -0
- package/dist/.next/static/chunks/0dcfqbly-089u.js +10 -0
- package/dist/.next/static/chunks/0dhmf6y59xjoo.js +1 -0
- package/dist/.next/static/chunks/{2-tnv5f86ywqz.js → 0kdfzi54utgbh.js} +1 -1
- package/dist/.next/static/chunks/0m-pl93u72hp9.js +1 -0
- package/dist/.next/static/chunks/0mkmxdnpoteey.js +1 -0
- package/dist/.next/static/chunks/{41ii5ld31fjk5.js → 0oyz95sujd2c7.js} +3 -3
- package/dist/.next/static/chunks/0p54qye85am3w.js +1 -0
- package/dist/.next/static/chunks/0q5tyevxl-ioe.js +1 -0
- package/dist/.next/static/chunks/0r79_ebje0i6_.js +1 -0
- package/dist/.next/static/chunks/0si45yj1su8y7.js +23 -0
- package/dist/.next/static/chunks/0u3ktztrzu1fa.js +1 -0
- package/dist/.next/static/chunks/0u9ae9k_2g7k3.js +1 -0
- package/dist/.next/static/chunks/{357a_3k2qrz6b.js → 0vhltcpdssl3-.js} +1 -1
- package/dist/.next/static/chunks/0x7n81v2cw92f.js +64 -0
- package/dist/.next/static/chunks/{1wsp3h55ims3-.js → 1-2_pusn4n8oh.js} +3 -3
- package/dist/.next/static/chunks/1-axl1a1s8xi7.js +1 -0
- package/dist/.next/static/chunks/14b2ne-5dycww.js +90 -0
- package/dist/.next/static/chunks/14osgsp3aiqpz.js +79 -0
- package/dist/.next/static/chunks/{2rob7uh46oj_f.js → 15e7e4t3feyih.js} +2 -2
- package/dist/.next/static/chunks/16mzcd_gvdgbo.js +1 -0
- package/dist/.next/static/chunks/1815xwa8351ma.js +1 -0
- package/dist/.next/static/chunks/1bzu587wut72w.js +1 -0
- package/dist/.next/static/chunks/1d9i8nlx-zy9a.js +62 -0
- package/dist/.next/static/chunks/1ebh7wwf-wzqn.js +32 -0
- package/dist/.next/static/chunks/1g6hadfcoz4ag.js +62 -0
- package/dist/.next/static/chunks/1kg8hnvdsweku.js +1 -0
- package/dist/.next/static/chunks/1kzq0rdlu1v0j.js +86 -0
- package/dist/.next/static/chunks/1qapeyh3r6cg3.js +1 -0
- package/dist/.next/static/chunks/1rh4z578p-h1a.js +104 -0
- package/dist/.next/static/chunks/1rowt7kr1tu9y.js +1 -0
- package/dist/.next/static/chunks/1u5i-jti87jbo.js +153 -0
- package/dist/.next/static/chunks/1v15lv0fcel0n.js +1 -0
- package/dist/.next/static/chunks/1wrwqqt23_cqy.js +94 -0
- package/dist/.next/static/chunks/21o6_7520je3e.js +1 -0
- package/dist/.next/static/chunks/221-n1wtpkus8.js +27 -0
- package/dist/.next/static/chunks/25pfy8u3vc_bn.js +24 -0
- package/dist/.next/static/chunks/266qo7h19xz_m.js +24 -0
- package/dist/.next/static/chunks/27ag7-c9a81uz.js +1 -0
- package/dist/.next/static/chunks/27vb_89qd7ag_.js +1 -0
- package/dist/.next/static/chunks/2b4v6n9b8htrv.js +158 -0
- package/dist/.next/static/chunks/2b57kmz64uj8h.js +1 -0
- package/dist/.next/static/chunks/2dmr54jagfdwa.css +3 -0
- package/dist/.next/static/chunks/2gocl3dq0_h1s.js +15 -0
- package/dist/.next/static/chunks/2itcfm_igcz5x.js +201 -0
- package/dist/.next/static/chunks/2l1phv_g29xz7.js +61 -0
- package/dist/.next/static/chunks/2m267diam_vib.js +22 -0
- package/dist/.next/static/chunks/2o4dndk0d68do.js +1 -0
- package/dist/.next/static/chunks/2qq7e47gpyc_e.js +82 -0
- package/dist/.next/static/chunks/2re701zfx-nrj.js +1 -0
- package/dist/.next/static/chunks/2sdwbfs1x5skp.js +1 -0
- package/dist/.next/static/chunks/2udhdtq_z8488.js +115 -0
- package/dist/.next/static/chunks/31etpuynk3lai.js +1 -0
- package/dist/.next/static/chunks/{05cl5ojgc4_ku.js → 32e7ex-ufg57f.js} +14 -14
- package/dist/.next/static/chunks/38h4_u_fq6ose.js +38 -0
- package/dist/.next/static/chunks/397b67vbg5iof.js +4 -0
- package/dist/.next/static/chunks/3her9o9_qn46y.js +226 -0
- package/dist/.next/static/chunks/3lx-n8v_8u7og.js +1 -0
- package/dist/.next/static/chunks/3mjwob-a5hhwz.js +1 -0
- package/dist/.next/static/chunks/3n80kknp-eoi9.js +1 -0
- package/dist/.next/static/chunks/3oif9bymgqjgd.js +41 -0
- package/dist/.next/static/chunks/3peltyinql2qj.js +34 -0
- package/dist/.next/static/chunks/3r7r2d2yc93-y.js +1 -0
- package/dist/.next/static/chunks/3s-zbm7kxc46y.js +93 -0
- package/dist/.next/static/chunks/3t9huugh-5_ps.js +1 -0
- package/dist/.next/static/chunks/3w5gsie2472pe.js +1 -0
- package/dist/.next/static/chunks/3zgnmu3cnahk0.js +122 -0
- package/dist/.next/static/chunks/41r6lojo50nzh.js +1 -0
- package/dist/.next/static/chunks/41uertskgrvwu.js +1 -0
- package/dist/.next/static/chunks/42kilhgqayez4.js +124 -0
- package/dist/node_modules/@img/sharp-darwin-arm64/index.cjs +1 -1
- package/dist/node_modules/@img/sharp-darwin-arm64/lib/{sharp-darwin-arm64-0.35.3.node → sharp-darwin-arm64-0.35.4.node} +0 -0
- package/dist/node_modules/@img/sharp-darwin-arm64/package.json +2 -2
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +1 -1
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/{libvips-cpp.8.18.3.dylib → libvips-cpp.8.18.6.dylib} +0 -0
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/package.json +2 -2
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +13 -13
- package/dist/node_modules/sharp/dist/composite.cjs +6 -6
- package/dist/node_modules/sharp/dist/composite.mjs +6 -6
- package/dist/node_modules/sharp/dist/constructor.cjs +1 -1
- package/dist/node_modules/sharp/dist/constructor.mjs +1 -1
- package/dist/node_modules/sharp/dist/index.d.cts +2 -2
- package/dist/node_modules/sharp/dist/index.d.mts +2 -2
- package/dist/node_modules/sharp/dist/input.cjs +20 -15
- package/dist/node_modules/sharp/dist/input.mjs +20 -15
- package/dist/node_modules/sharp/dist/operation.cjs +4 -0
- package/dist/node_modules/sharp/dist/operation.mjs +4 -0
- package/dist/node_modules/sharp/dist/output.cjs +4 -7
- package/dist/node_modules/sharp/dist/output.mjs +4 -7
- package/dist/node_modules/sharp/dist/resize.cjs +8 -8
- package/dist/node_modules/sharp/dist/resize.mjs +8 -8
- package/dist/node_modules/sharp/package.json +38 -38
- package/dist/package.json +1 -1
- package/dist/server.js +1 -1
- package/package.json +1 -1
- package/dist/.next/server/chunks/ssr/1daa_@mermaid-js_parser_dist_chunks_mermaid-parser_core_chunk-NNHCCRGN_mjs_03i6i8q._.js +0 -82
- package/dist/.next/server/chunks/ssr/1daa_mermaid_dist_chunks_mermaid_core_mindmap-definition-RKZ34NQL_mjs_1m8bey3._.js +0 -92
- package/dist/.next/server/chunks/ssr/1daa_mermaid_dist_chunks_mermaid_core_requirementDiagram-4Y6WPE33_mjs_0cvy8c2._.js +0 -81
- package/dist/.next/server/chunks/ssr/1daa_mermaid_dist_chunks_mermaid_core_timeline-definition-PNZ67QCA_mjs_0vzw4gu._.js +0 -117
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-PVQCEYII_mjs_1kl1645._.js +0 -106
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_ishikawaDiagram-YF4QCWOH_mjs_1-btteu._.js +0 -66
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-JHISSGLW_mjs_0omhwqk._.js +0 -136
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-UN3LZRKU_mjs_052rc5y._.js +0 -81
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-W4KKPZXB_mjs_0l8r0bx._.js +0 -3
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-3UESZ5HK_mjs_0c-9sj0._.js +0 -155
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_wardleyDiagram-YWT4CUSO_mjs_0hqmyh5._.js +0 -79
- package/dist/.next/server/chunks/ssr/1q96_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-2RQKCTM6_mjs_1l5rlhy._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0nzxyl0._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0-n78w2._.js +0 -17
- package/dist/.next/server/chunks/ssr/node_modules_00cex-8._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_07zdzg3._.js +0 -17
- package/dist/.next/server/chunks/ssr/node_modules_0_w_s0o._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0chqc93._.js +0 -11
- package/dist/.next/server/chunks/ssr/node_modules_0i3cah4._.js +0 -17
- package/dist/.next/server/chunks/ssr/node_modules_0jx8vby._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0kh3gaq._.js +0 -45
- package/dist/.next/server/chunks/ssr/node_modules_0oiuulr._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0sud39z._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0ty2qhi._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0uvms5m._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0xme7lg._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0z2foqi._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0z4gniu._.js +0 -17
- package/dist/.next/server/chunks/ssr/node_modules_15pczok._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_16l6ua_._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_16q2m8u._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_17rj81n._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_19b6jde._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_1_jf-yx._.js +0 -17
- package/dist/.next/server/chunks/ssr/node_modules_1lio4hi._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_1tj6b0h._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_1zskgct._.js +0 -26
- package/dist/.next/server/chunks/ssr/node_modules_20p8pl7._.js +0 -289
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_01lis5y._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_07fm7s3._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0kitx9n._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0x5ivvr._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_145f4t2._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1_o7dux._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1alyi8-._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1bxlr8e._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1grmhd9._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_01pthdh._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_03fanqm._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_16vf13h._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-GPEHLZMM_mjs_0jxv2ay._.js +0 -129
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-AAUBKEIU_mjs_1yyt6ej._.js +0 -7
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-3OPIFGDE_mjs_165ua5_._.js +0 -64
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-5ZQYHXKU_mjs_16ac76u._.js +0 -4
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-727SXJPM_mjs_0a9kagr._.js +0 -203
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-AQP2D5EJ_mjs_1p-51mn._.js +0 -228
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-CSCIHK7Q_mjs_0savw5-._.js +0 -121
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-KSCS5N6A_mjs_1vk17qr._.js +0 -12
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-O5CBEL6O_mjs_074844c._.js +0 -62
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-XPW4576I_mjs_0u9wa-b._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_dagre-BM42HDAG_mjs_0w_brpy._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_diagram-OG6HWLK6_mjs_0pzbdul._.js +0 -26
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-TEJ5UH35_mjs_1_cyy1q._.js +0 -82
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-I6XJVG4X_mjs_01y3363._.js +0 -154
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-5OEKKPKP_mjs_1nsv0tt._.js +0 -36
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-AJRCARHV_mjs_0j4-fk2._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_vennDiagram-CIIHVFJN_mjs_1jvbrvq._.js +0 -25
- package/dist/.next/static/chunks/01nhrh-3r57wh.js +0 -1
- package/dist/.next/static/chunks/03regxjjibliy.js +0 -29
- package/dist/.next/static/chunks/059oqdb-4djh4.js +0 -1
- package/dist/.next/static/chunks/0bk3aw3m9c72a.js +0 -201
- package/dist/.next/static/chunks/0bko6sy3fi25l.js +0 -1
- package/dist/.next/static/chunks/0c4y7_xzemq6-.js +0 -1
- package/dist/.next/static/chunks/0catqiaei7kwh.js +0 -62
- package/dist/.next/static/chunks/0cm59yzmvnr6a.js +0 -1
- package/dist/.next/static/chunks/0dm2etancr7wp.js +0 -2
- package/dist/.next/static/chunks/0l2v1ybx0rm07.js +0 -1
- package/dist/.next/static/chunks/0ll25xvc8tvc7.js +0 -60
- package/dist/.next/static/chunks/0o19535rrdg5j.js +0 -1
- package/dist/.next/static/chunks/0piaur2yhvb4v.js +0 -1
- package/dist/.next/static/chunks/0r-qze3me8owo.js +0 -5
- package/dist/.next/static/chunks/0s3geiy0as3cz.js +0 -104
- package/dist/.next/static/chunks/0wf_g68m1dyuq.js +0 -152
- package/dist/.next/static/chunks/0z7hf76h0cz39.js +0 -1
- package/dist/.next/static/chunks/0zao0i_njogzy.js +0 -79
- package/dist/.next/static/chunks/11jp13p4e7ycl.js +0 -1
- package/dist/.next/static/chunks/12b5tf_04ca4i.js +0 -10
- package/dist/.next/static/chunks/13j02-7zvh70e.js +0 -1
- package/dist/.next/static/chunks/15746zaz9af2k.js +0 -80
- package/dist/.next/static/chunks/15m2ikcj71414.js +0 -1
- package/dist/.next/static/chunks/17y1ca1c2d1k0.js +0 -127
- package/dist/.next/static/chunks/17zvg7jc-nx5v.js +0 -1
- package/dist/.next/static/chunks/18dnd1yq8sjcm.js +0 -80
- package/dist/.next/static/chunks/1bi4m489puezc.js +0 -64
- package/dist/.next/static/chunks/1g6nbgmclpjgd.js +0 -90
- package/dist/.next/static/chunks/1h978hs06gqwr.js +0 -1
- package/dist/.next/static/chunks/1rxbddx-dyypf.js +0 -226
- package/dist/.next/static/chunks/1s8wltynx2kei.js +0 -24
- package/dist/.next/static/chunks/1un-c368y76x-.js +0 -1
- package/dist/.next/static/chunks/1vqrf8u3eyf8l.js +0 -1
- package/dist/.next/static/chunks/1x5foe7mtvd8m.js +0 -15
- package/dist/.next/static/chunks/20uqpnur2j1hn.js +0 -1
- package/dist/.next/static/chunks/24c-6p_4lbozm.js +0 -1
- package/dist/.next/static/chunks/24l5e3uup8rxf.js +0 -153
- package/dist/.next/static/chunks/26t_0sbrej8uf.js +0 -15
- package/dist/.next/static/chunks/27n_wru0tprv5.js +0 -4
- package/dist/.next/static/chunks/29x7ecuc6vybp.js +0 -1
- package/dist/.next/static/chunks/2dqeid-8xhwun.js +0 -93
- package/dist/.next/static/chunks/2f6739bq5ewxz.js +0 -34
- package/dist/.next/static/chunks/2fuc_smcevit1.js +0 -15
- package/dist/.next/static/chunks/2h7acwi-mfsrx.js +0 -1
- package/dist/.next/static/chunks/2ia3pig2diart.js +0 -43
- package/dist/.next/static/chunks/2y3wq_x8yyu_b.js +0 -115
- package/dist/.next/static/chunks/2zrfdnujo3u51.js +0 -1
- package/dist/.next/static/chunks/3-q38f64d_smq.js +0 -77
- package/dist/.next/static/chunks/3-t8rqn47mim5.js +0 -1
- package/dist/.next/static/chunks/383s4_f7pq0oz.js +0 -1
- package/dist/.next/static/chunks/3cnkwh7z04e3e.js +0 -24
- package/dist/.next/static/chunks/3cvv663zekq_n.js +0 -119
- package/dist/.next/static/chunks/3cyn-rs5rpay6.css +0 -3
- package/dist/.next/static/chunks/3mcxvhb8ujk39.js +0 -1
- package/dist/.next/static/chunks/3s7at3o7ube_p.js +0 -9
- package/dist/.next/static/chunks/3wb9uvu5ii1sy.js +0 -287
- package/dist/.next/static/chunks/3x5hww03ialmf.js +0 -1
- package/dist/.next/static/chunks/3ypwau9uw-qzz.js +0 -23
- package/dist/.next/static/chunks/44dlrjamdw9zn.js +0 -1
- /package/dist/.next/static/{OdIi-OEl7eDEMfmeeT85N → DlVVJPKPg4elb2BXd_ZVZ}/_buildManifest.js +0 -0
- /package/dist/.next/static/{OdIi-OEl7eDEMfmeeT85N → DlVVJPKPg4elb2BXd_ZVZ}/_clientMiddlewareManifest.js +0 -0
- /package/dist/.next/static/{OdIi-OEl7eDEMfmeeT85N → DlVVJPKPg4elb2BXd_ZVZ}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,461696,553908,142038,915888,e=>{"use strict";var t,n,r,o=e.i(984891),o=o,a=e.i(104009),u=0;let i=function(e){var t=++u;return(0,a.default)(e)+t};var d=e.i(587652),f=e.i(661196);let l=function(e){return(null==e?0:e.length)?(0,f.default)(e,1):[]};var c=e.i(982735),s=e.i(450266),v=e.i(369104),h=e.i(441338);let g=function(e,t){var n=-1,r=(0,h.default)(e)?Array(e.length):[];return(0,v.default)(e,function(e,o,a){r[++n]=t(e,o,a)}),r};var p=e.i(644071);let b=function(e,t){return((0,p.default)(e)?c.default:g)(e,(0,s.default)(t,3))};e.s(["map",0,b],553908);var o=o,w=Math.ceil,y=Math.max;let m=function(e,t,n,r){for(var o=-1,a=y(w((t-e)/(n||1)),0),u=Array(a);a--;)u[r?a:++o]=e,e+=n;return u};var j=e.i(208986),x=e.i(448178),O=e.i(159110);let k=function(e,t,n){if(!(0,O.default)(n))return!1;var r=typeof t;return("number"==r?!!((0,h.default)(n)&&(0,x.default)(t,n.length)):"string"==r&&t in n)&&(0,j.default)(n[t],e)};var E=/\s/;let _=function(e){for(var t=e.length;t--&&E.test(e.charAt(t)););return t};var P=/^\s+/,R=e.i(316827),N=0/0,M=/^[-+]0x[0-9a-f]+$/i,A=/^0b[01]+$/i,L=/^0o[0-7]+$/i,C=parseInt;let S=function(e){if("number"==typeof e)return e;if((0,R.default)(e))return N;if((0,O.default)(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=(0,O.default)(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=(t=e)?t.slice(0,_(t)+1).replace(P,""):t;var r=A.test(e);return r||L.test(e)?C(e.slice(2),r?2:8):M.test(e)?N:+e};var U=1/0;let G=function(e){return e?(e=S(e))===U||e===-U?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0},T=function(e,t,n){return n&&"number"!=typeof n&&k(e,t,n)&&(t=n=void 0),e=G(e),void 0===t?(t=e,e=0):t=G(t),n=void 0===n?e<t?1:-1:G(n),m(e,t,n,void 0)};e.i(566661);var B=e.i(704642);class I{constructor(){var e={};e._next=e._prev=e,this._sentinel=e}dequeue(){var e=this._sentinel,t=e._prev;if(t!==e)return F(t),t}enqueue(e){var t=this._sentinel;e._prev&&e._next&&F(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t}toString(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,q)),n=n._prev;return"["+e.join(", ")+"]"}}function F(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function q(e,t){if("_next"!==e&&"_prev"!==e)return t}var D=d.constant(1);function z(e,t,n,r,a){var u=a?[]:void 0;return o.default(e.inEdges(r.v),function(r){var o=e.edge(r),i=e.node(r.v);a&&u.push({v:r.v,w:r.w}),i.out-=o,V(t,n,i)}),o.default(e.outEdges(r.v),function(r){var o=e.edge(r),a=r.w,u=e.node(a);u.in-=o,V(t,n,u)}),e.removeNode(r.v),u}function V(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}function $(e){var t,n,r,a,u,d="greedy"===e.graph().acyclicer?function(e,t){if(1>=e.nodeCount())return[];var n,r,a,u,i,d,f,c=(n=e,r=t||D,a=new B.Graph,u=0,i=0,o.default(n.nodes(),function(e){a.setNode(e,{v:e,in:0,out:0})}),o.default(n.edges(),function(e){var t=a.edge(e.v,e.w)||0,n=r(e);a.setEdge(e.v,e.w,t+n),i=Math.max(i,a.node(e.v).out+=n),u=Math.max(u,a.node(e.w).in+=n)}),d=T(i+u+3).map(function(){return new I}),f=u+1,o.default(a.nodes(),function(e){V(d,f,a.node(e))}),{graph:a,buckets:d,zeroIdx:f});return l(b(function(e,t,n){for(var r,o=[],a=t[t.length-1],u=t[0];e.nodeCount();){for(;r=u.dequeue();)z(e,t,n,r);for(;r=a.dequeue();)z(e,t,n,r);if(e.nodeCount()){for(var i=t.length-2;i>0;--i)if(r=t[i].dequeue()){o=o.concat(z(e,t,n,r,!0));break}}}return o}(c.graph,c.buckets,c.zeroIdx),function(t){return e.outEdges(t.v,t.w)}))}(e,(t=e,function(e){return t.edge(e).weight})):(n=e,r=[],a={},u={},o.default(n.nodes(),function e(t){Object.prototype.hasOwnProperty.call(u,t)||(u[t]=!0,a[t]=!0,o.default(n.outEdges(t),function(t){Object.prototype.hasOwnProperty.call(a,t.w)?r.push(t):e(t.w)}),delete a[t])}),r);o.default(d,function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,i("rev"))})}function K(e){o.default(e.edges(),function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}})}e.s(["run",0,$,"undo",0,K],559266),e.i(559266);var o=o,J=e.i(697015),W=e.i(126200);let H=function(e,t,n){"__proto__"==t&&W.default?(0,W.default)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},Q=function(e,t,n){(void 0===n||(0,j.default)(e[t],n))&&(void 0!==n||t in e)||H(e,t,n)};var X=e.i(840622);let Y=function(e,t){if(t)return e.slice();var n=e.length,r=new e.constructor(n);return e.copy(r),r};var Z=e.i(97787);let ee=function(e){var t=new e.constructor(e.byteLength);return new Z.default(t).set(new Z.default(e)),t},et=function(e,t){var n=t?ee(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)},en=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t};var er=Object.create,eo=function(){function e(){}return function(t){if(!(0,O.default)(t))return{};if(er)return er(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),ea=(0,e.i(765485).default)(Object.getPrototypeOf,Object),eu=e.i(849915);let ei=function(e){return"function"!=typeof e.constructor||(0,eu.default)(e)?{}:eo(ea(e))};var ed=e.i(515300),ef=e.i(113431),el=e.i(303745),ec=e.i(764929),es=e.i(835287),ev=e.i(563615),eh=Object.prototype,eg=Function.prototype.toString,ep=eh.hasOwnProperty,eb=eg.call(Object);let ew=function(e){if(!(0,ev.default)(e)||"[object Object]"!=(0,es.default)(e))return!1;var t=ea(e);if(null===t)return!0;var n=ep.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&eg.call(n)==eb};var ey=e.i(801645);let em=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]};var ej=Object.prototype.hasOwnProperty;let ex=function(e,t,n){var r=e[t];ej.call(e,t)&&(0,j.default)(r,n)&&(void 0!==n||t in e)||H(e,t,n)},eO=function(e,t,n,r){var o=!n;n||(n={});for(var a=-1,u=t.length;++a<u;){var i=t[a],d=r?r(n[i],e[i],i,n,e):void 0;void 0===d&&(d=e[i]),o?H(n,i,d):ex(n,i,d)}return n};var ek=e.i(688212);let eE=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t};var e_=Object.prototype.hasOwnProperty;let eP=function(e){if(!(0,O.default)(e))return eE(e);var t=(0,eu.default)(e),n=[];for(var r in e)"constructor"==r&&(t||!e_.call(e,r))||n.push(r);return n},eR=function(e){return(0,h.default)(e)?(0,ek.default)(e,!0):eP(e)},eN=function(e,t,n,r,o,a,u){var i=em(e,n),d=em(t,n),f=u.get(d);if(f)return void Q(e,n,f);var l=a?a(i,d,n+"",e,t,u):void 0,c=void 0===l;if(c){var s=(0,p.default)(d),v=!s&&(0,el.default)(d),h=!s&&!v&&(0,ey.default)(d);(l=d,s||v||h)?(0,p.default)(i)?l=i:(0,ef.default)(i)?l=en(i):v?(c=!1,l=Y(d,!0)):h?(c=!1,l=et(d,!0)):l=[]:ew(d)||(0,ed.default)(d)?(l=i,(0,ed.default)(i))?l=eO(i,eR(i)):(!(0,O.default)(i)||(0,ec.default)(i))&&(l=ei(d)):c=!1}c&&(u.set(d,l),o(l,d,r,a,u),u.delete(d)),Q(e,n,l)},eM=function e(t,n,r,o,a){t!==n&&(0,X.default)(n,function(u,i){if(a||(a=new J.default),(0,O.default)(u))eN(t,n,i,r,e,o,a);else{var d=o?o(em(t,i),u,i+"",t,n,a):void 0;void 0===d&&(d=u),Q(t,i,d)}},eR)};var eA=e.i(790104),eL=(t=function(e,t,n){eM(e,t,n)},(0,eA.default)(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&k(n[0],n[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var i=n[r];i&&t(e,i,r)}return e})),eC=e.i(426881),eS=e.i(172778),eU=e.i(277734);let eG=function(e,t,n,r){if(!(0,O.default)(e))return e;t=(0,eS.default)(t,e);for(var o=-1,a=t.length,u=a-1,i=e;null!=i&&++o<a;){var d=(0,eU.default)(t[o]),f=n;if("__proto__"===d||"constructor"===d||"prototype"===d)break;if(o!=u){var l=i[d];void 0===(f=r?r(l,d,i):void 0)&&(f=(0,O.default)(l)?l:(0,x.default)(t[o+1])?[]:{})}ex(i,d,f),i=i[d]}return e},eT=function(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var u=t[r],i=(0,eC.default)(e,u);n(i,u)&&eG(a,(0,eS.default)(u,e),i)}return a};var eB=e.i(171114),eI=e.i(930892),eF=e.i(790947),eq=(n=function(e,t){return null==e?{}:eT(e,t,function(t,n){return(0,eB.default)(e,n)})},(0,eF.default)((0,eI.default)(n,void 0,l),n+"")),eD=Object.prototype,ez=eD.hasOwnProperty,eV=(0,eA.default)(function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&k(t[0],t[1],o)&&(r=1);++n<r;)for(var a=t[n],u=eR(a),i=-1,d=u.length;++i<d;){var f=u[i],l=e[f];(void 0===l||(0,j.default)(l,eD[f])&&!ez.call(e,f))&&(e[f]=a[f])}return e});let e$=function(e,t,n){for(var r=-1,o=e.length;++r<o;){var a=e[r],u=t(a);if(null!=u&&(void 0===i?u==u&&!(0,R.default)(u):n(u,i)))var i=u,d=a}return d},eK=function(e,t){return e>t};var eJ=e.i(910022);let eW=function(e){return e&&e.length?e$(e,eJ.default,eK):void 0},eH=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var eQ=e.i(791578);let eX=function(e,t){var n={};return t=(0,s.default)(t,3),(0,eQ.default)(e,function(e,r,o){H(n,r,t(e,r,o))}),n};var o=o,o=o;let eY=function(e,t,n){for(var r=-1,o=e.length,a=t.length,u={};++r<o;){var i=r<a?t[r]:void 0;n(u,e[r],i)}return u};var eZ=e.i(595007);let e0=function(e,t){return e<t},e1=function(e){return e&&e.length?e$(e,eJ.default,e0):void 0};var e2=Object.prototype.hasOwnProperty;let e6=function(e,t){return null!=e&&e2.call(e,t)};var e8=e.i(878978);let e4=function(e,t){return null!=e&&(0,e8.default)(e,t,e6)};var e3=e.i(56176);let e9=function(){return e3.default.Date.now()};function e5(e,t,n,r){var o;do o=i(r);while(e.hasNode(o))return n.dummy=t,e.setNode(o,n),o}function e7(e){var t=new B.Graph({multigraph:e.isMultigraph()}).setGraph(e.graph());return o.default(e.nodes(),function(n){e.children(n).length||t.setNode(n,e.node(n))}),o.default(e.edges(),function(n){t.setEdge(n,e.edge(n))}),t}function te(e,t){var n,r,o=e.x,a=e.y,u=t.x-o,i=t.y-a,d=e.width/2,f=e.height/2;if(!u&&!i)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(i)*d>Math.abs(u)*f?(i<0&&(f=-f),n=f*u/i,r=f):(u<0&&(d=-d),n=d,r=d*i/u),{x:o+n,y:a+r}}function tt(e){var t=b(T(tr(e)+1),function(){return[]});return o.default(e.nodes(),function(n){var r=e.node(n),o=r.rank;eZ.isUndefined(o)||(t[o][r.order]=n)}),t}function tn(e,t,n,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=n,o.order=r),e5(e,"border",o,t)}function tr(e){return eW(b(e.nodes(),function(t){var n=e.node(t).rank;if(!eZ.isUndefined(n))return n}))}function to(e,t){var n=e9();try{return t()}finally{console.log(e+" time: "+(e9()-n)+"ms")}}function ta(e,t){return t()}function tu(e,t,n,r,o,a){var u=o[t][a-1],i=e5(e,"border",{width:0,height:0,rank:a,borderType:t},n);o[t][a]=i,e.setParent(i,r),u&&e.setEdge(u,i,{weight:1})}var o=o;function ti(e){o.default(e.nodes(),function(t){td(e.node(t))}),o.default(e.edges(),function(t){td(e.edge(t))})}function td(e){var t=e.width;e.width=e.height,e.height=t}function tf(e){e.y=-e.y}function tl(e){var t=e.x;e.x=e.y,e.y=t}var o=o;function tc(e){e.graph().dummyChains=[],o.default(e.edges(),function(t){!function(e,t){var n,r,o=t.v,a=e.node(o).rank,u=t.w,i=e.node(u).rank,d=t.name,f=e.edge(t),l=f.labelRank;if(i!==a+1){e.removeEdge(t);var c=void 0;for(r=0,++a;a<i;++r,++a)f.points=[],n=e5(e,"edge",c={width:0,height:0,edgeLabel:f,edgeObj:t,rank:a},"_d"),a===l&&(c.width=f.width,c.height=f.height,c.dummy="edge-label",c.labelpos=f.labelpos),e.setEdge(o,n,{weight:f.weight},d),0===r&&e.graph().dummyChains.push(n),o=n;e.setEdge(o,u,{weight:f.weight},d)}}(e,t)})}function ts(e){o.default(e.graph().dummyChains,function(t){var n,r=e.node(t),o=r.edgeLabel;for(e.setEdge(r.edgeObj,o);r.dummy;)n=e.successors(t)[0],e.removeNode(t),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),t=n,r=e.node(t)})}e.s(["run",0,tc,"undo",0,ts],944343);var o=o;let tv=function(e,t){return e&&e.length?e$(e,(0,s.default)(t,2),e0):void 0};var o=o;function th(e){var t={};o.default(e.sources(),function n(r){var o=e.node(r);if(Object.prototype.hasOwnProperty.call(t,r))return o.rank;t[r]=!0;var a=e1(b(e.outEdges(r),function(t){return n(t.w)-e.edge(t).minlen}));return(a===1/0||null==a)&&(a=0),o.rank=a})}function tg(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}function tp(e){var t,n,r,a,u=new B.Graph({directed:!1}),i=e.nodes()[0],d=e.nodeCount();for(u.setNode(i,{});t=u,n=e,o.default(t.nodes(),function e(r){o.default(n.nodeEdges(r),function(o){var a=o.v,u=r===a?o.w:a;t.hasNode(u)||tg(n,o)||(t.setNode(u,{}),t.setEdge(r,u,{}),e(u))})}),t.nodeCount()<d;)r=function(e,t){return tv(t.edges(),function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return tg(t,n)})}(u,e),a=u.hasNode(r.v)?tg(e,r):-tg(e,r),function(e,t,n){o.default(e.nodes(),function(e){t.node(e).rank+=n})}(u,e,a);return u}var o=o,tb=e.i(154069),tw=e.i(653411);let ty=function(e){var t=G(e),n=t%1;return t==t?n?t-n:t:0};var tm=Math.max,tj=(r=function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=null==n?0:ty(n);return o<0&&(o=tm(r+o,0)),(0,tw.default)(e,(0,s.default)(t,3),o)},function(e,t,n){var o=Object(e);if(!(0,h.default)(e)){var a=(0,s.default)(t,3);e=(0,tb.default)(e),t=function(e){return a(o[e],e,o)}}var u=r(e,t,n);return u>-1?o[a?e[u]:u]:void 0}),tx=e.i(812319),tO=e.i(178662);d.constant(1);var tk=e.i(60989);d.constant(1);var tE=e.i(919556),t_=e.i(820486),tP=(0,e.i(627180).default)("length"),tR=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),tN="\\ud800-\\udfff",tM="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",tA="\\ud83c[\\udffb-\\udfff]",tL="[^"+tN+"]",tC="(?:\\ud83c[\\udde6-\\uddff]){2}",tS="[\\ud800-\\udbff][\\udc00-\\udfff]",tU="(?:"+tM+"|"+tA+")?",tG="[\\ufe0e\\ufe0f]?",tT="(?:\\u200d(?:"+[tL,tC,tS].join("|")+")"+tG+tU+")*",tB=RegExp(tA+"(?="+tA+")|"+("(?:"+[tL+tM+"?",tM,tC,tS,"["+tN+"]"].join("|"))+")"+(tG+tU+tT),"g");function tI(){}tI.prototype=Error();function tF(e,t,n){p.default(t)||(t=[t]);var r=(e.isDirected()?e.successors:e.neighbors).bind(e),o=[],a={};return tO.each(t,function(t){if(!e.hasNode(t))throw Error("Graph does not have node: "+t);!function e(t,n,r,o,a,u){!Object.prototype.hasOwnProperty.call(o,n)&&(o[n]=!0,r||u.push(n),tO.each(a(n),function(n){e(t,n,r,o,a,u)}),r&&u.push(n))}(e,t,"post"===n,a,r,o)}),o}function tq(e){t=e,n=new B.Graph().setGraph(t.graph()),o.default(t.nodes(),function(e){n.setNode(e,t.node(e))}),o.default(t.edges(),function(e){var r=n.edge(e.v,e.w)||{weight:0,minlen:1},o=t.edge(e);n.setEdge(e.v,e.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),th(e=n);var t,n,r,a,u=tp(e);for(tV(u),tD(u,e);r=t$(u);)a=tK(u,e,r),tJ(u,e,r,a)}function tD(e,t){var n=tF(e,e.nodes(),"post");n=n.slice(0,n.length-1),o.default(n,function(n){var r,o,a,u;r=e,o=t,a=n,u=r.node(a).parent,r.edge(a,u).cutvalue=tz(r,o,a)})}function tz(e,t,n){var r=e.node(n).parent,a=!0,u=t.edge(n,r),i=0;return u||(a=!1,u=t.edge(r,n)),i=u.weight,o.default(t.nodeEdges(n),function(o){var u=o.v===n,d=u?o.w:o.v;if(d!==r){var f,l,c,s=u===a,v=t.edge(o).weight;if(i+=s?v:-v,f=e,l=n,c=d,f.hasEdge(l,c)){var h=e.edge(n,d).cutvalue;i+=s?-h:h}}}),i}function tV(e,t){arguments.length<2&&(t=e.nodes()[0]),function e(t,n,r,a,u){var i=r,d=t.node(a);return n[a]=!0,o.default(t.neighbors(a),function(o){Object.prototype.hasOwnProperty.call(n,o)||(r=e(t,n,r,o,a))}),d.low=i,d.lim=r++,u?d.parent=u:delete d.parent,r}(e,{},1,t)}function t$(e){return tj(e.edges(),function(t){return e.edge(t).cutvalue<0})}function tK(e,t,n){var r=n.v,o=n.w;t.hasEdge(r,o)||(r=n.w,o=n.v);var a=e.node(r),u=e.node(o),i=a,d=!1;return a.lim>u.lim&&(i=u,d=!0),tv(tx.filter(t.edges(),function(t){return d===tW(e,e.node(t.v),i)&&d!==tW(e,e.node(t.w),i)}),function(e){return tg(t,e)})}function tJ(e,t,n,r){var a,u,i,d,f=n.v,l=n.w;e.removeEdge(f,l),e.setEdge(r.v,r.w,{}),tV(e),tD(e,t),a=e,u=t,i=tj(a.nodes(),function(e){return!u.node(e).parent}),d=(d=tF(a,i,"pre")).slice(1),o.default(d,function(e){var t=a.node(e).parent,n=u.edge(e,t),r=!1;n||(n=u.edge(t,e),r=!0),u.node(e).rank=u.node(t).rank+(r?n.minlen:-n.minlen)})}function tW(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}tq.initLowLimValues=tV,tq.initCutValues=tD,tq.calcCutValue=tz,tq.leaveEdge=t$,tq.enterEdge=tK,tq.exchangeEdges=tJ;var tH=e.i(126841),o=o,tQ=e.i(681047),tX=e.i(324151),tY=e.i(522099),tZ=e.i(173647),t0=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,tY.default)(t,(0,tX.default)(e)),e=ea(e);return t}:tZ.default,t1=e.i(861182),t2=e.i(902704);let t6=function(e){return(0,t2.default)(e,eR,t0)};var t8=Object.prototype.hasOwnProperty;let t4=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&t8.call(e,"index")&&(n.index=e.index,n.input=e.input),n},t3=function(e,t){var n=t?ee(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)};var t9=/\w*$/;let t5=function(e){var t=new e.constructor(e.source,t9.exec(e));return t.lastIndex=e.lastIndex,t};var t7=e.i(854201),ne=t7.default?t7.default.prototype:void 0,nt=ne?ne.valueOf:void 0;let nn=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return ee(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return t3(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return et(e,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return t5(e);case"[object Symbol]":return nt?Object(nt.call(e)):{}}};var nr=e.i(894228),no=e.i(651434),na=no.default&&no.default.isMap,nu=na?(0,nr.default)(na):function(e){return(0,ev.default)(e)&&"[object Map]"==(0,t_.default)(e)},ni=no.default&&no.default.isSet,nd=ni?(0,nr.default)(ni):function(e){return(0,ev.default)(e)&&"[object Set]"==(0,t_.default)(e)},nf="[object Arguments]",nl="[object Function]",nc="[object Object]",ns={};ns[nf]=ns["[object Array]"]=ns["[object ArrayBuffer]"]=ns["[object DataView]"]=ns["[object Boolean]"]=ns["[object Date]"]=ns["[object Float32Array]"]=ns["[object Float64Array]"]=ns["[object Int8Array]"]=ns["[object Int16Array]"]=ns["[object Int32Array]"]=ns["[object Map]"]=ns["[object Number]"]=ns[nc]=ns["[object RegExp]"]=ns["[object Set]"]=ns["[object String]"]=ns["[object Symbol]"]=ns["[object Uint8Array]"]=ns["[object Uint8ClampedArray]"]=ns["[object Uint16Array]"]=ns["[object Uint32Array]"]=!0,ns["[object Error]"]=ns[nl]=ns["[object WeakMap]"]=!1;let nv=function e(t,n,r,o,a,u){var i,d=1&n,f=2&n,l=4&n;if(r&&(i=a?r(t,o,a,u):r(t)),void 0!==i)return i;if(!(0,O.default)(t))return t;var c=(0,p.default)(t);if(c){if(i=t4(t),!d)return en(t,i)}else{var s,v,h,g,b=(0,t_.default)(t),w=b==nl||"[object GeneratorFunction]"==b;if((0,el.default)(t))return Y(t,d);if(b==nc||b==nf||w&&!a){if(i=f||w?{}:ei(t),!d)return f?(v=(s=i)&&eO(t,eR(t),s),eO(t,t0(t),v)):(g=(h=i)&&eO(t,(0,tb.default)(t),h),eO(t,(0,tX.default)(t),g))}else{if(!ns[b])return a?t:{};i=nn(t,b,d)}}u||(u=new J.default);var y=u.get(t);if(y)return y;u.set(t,i),nd(t)?t.forEach(function(o){i.add(e(o,n,r,o,t,u))}):nu(t)&&t.forEach(function(o,a){i.set(a,e(o,n,r,a,t,u))});var m=l?f?t6:t1.default:f?eR:tb.default,j=c?void 0:m(t);return(0,tk.default)(j||t,function(o,a){j&&(o=t[a=o]),ex(i,a,e(o,n,r,a,t,u))}),i};e.s(["default",0,nv],142038);var o=o,o=o,o=o;let nh=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e},ng=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,a=(0,R.default)(e),u=void 0!==t,i=null===t,d=t==t,f=(0,R.default)(t);if(!i&&!f&&!a&&e>t||a&&u&&d&&!i&&!f||r&&u&&d||!n&&d||!o)return 1;if(!r&&!a&&!f&&e<t||f&&n&&o&&!r&&!a||i&&n&&o||!u&&o||!d)return -1}return 0},np=function(e,t,n){for(var r=-1,o=e.criteria,a=t.criteria,u=o.length,i=n.length;++r<u;){var d=ng(o[r],a[r]);if(d){if(r>=i)return d;return d*("desc"==n[r]?-1:1)}}return e.index-t.index},nb=function(e,t,n){t=t.length?(0,c.default)(t,function(e){return(0,p.default)(e)?function(t){return(0,eC.default)(t,1===e.length?e[0]:e)}:e}):[eJ.default];var r=-1;return t=(0,c.default)(t,(0,nr.default)(s.default)),nh(g(e,function(e,n,o){return{criteria:(0,c.default)(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return np(e,t,n)})};var nw=(0,eA.default)(function(e,t){if(null==e)return[];var n=t.length;return n>1&&k(e,t[0],t[1])?t=[]:n>2&&k(t[0],t[1],t[2])&&(t=[t[0]]),nb(e,(0,f.default)(t,1),[])}),o=o,o=o,o=o,o=o,o=o;function ny(e,t,n){for(var r;t.length&&(r=eH(t)).i<=n;)t.pop(),e.push(r.vs),n++;return n}function nm(e,t,n){return b(t,function(t){var r,a;return r=function(e){for(var t;e.hasNode(t=i("_root")););return t}(e),a=new B.Graph({compound:!0}).setGraph({root:r}).setDefaultNodeLabel(function(t){return e.node(t)}),o.default(e.nodes(),function(u){var i=e.node(u),d=e.parent(u);(i.rank===t||i.minRank<=t&&t<=i.maxRank)&&(a.setNode(u),a.setParent(u,d||r),o.default(e[n](u),function(t){var n=t.v===u?t.w:t.v,r=a.edge(n,u),o=eZ.isUndefined(r)?0:r.weight;a.setEdge(n,u,{weight:e.edge(t).weight+o})}),Object.prototype.hasOwnProperty.call(i,"minRank")&&a.setNode(u,{borderLeft:i.borderLeft[t],borderRight:i.borderRight[t]}))}),a})}function nj(e,t){o.default(t,function(t){o.default(t,function(t,n){e.node(t).order=n})})}var o=o,nx=e.i(524399),o=o,o=o;function nO(e,t,n){if(t>n){var r=t;t=n,n=r}Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,configurable:!0,value:{},writable:!0}),Object.defineProperty(e[t],n,{enumerable:!0,configurable:!0,value:!0,writable:!0})}var nk=["nodesep","edgesep","ranksep","marginx","marginy"],nE={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},n_=["acyclicer","ranker","rankdir","align"],nP=["width","height"],nR={width:0,height:0},nN=["minlen","weight","width","height","labeloffset"],nM={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},nA=["labelpos"];function nL(e,t){return eX(eq(e,t),Number)}function nC(e){var t={};return o.default(e,function(e,n){t[n.toLowerCase()]=e}),t}e.s(["layout",0,function(e,t){var n=t&&t.debugTiming?to:ta;n("layout",()=>{var t=n(" buildLayoutGraph",()=>{var t,n,r;return t=e,n=new B.Graph({multigraph:!0,compound:!0}),r=nC(t.graph()),n.setGraph(eL({},nE,nL(r,nk),eq(r,n_))),o.default(t.nodes(),function(e){var r=nC(t.node(e));n.setNode(e,eV(nL(r,nP),nR)),n.setParent(e,t.parent(e))}),o.default(t.edges(),function(e){var r=nC(t.edge(e));n.setEdge(e,eL({},nM,nL(r,nN),eq(r,nA)))}),n});n(" runLayout",()=>{var e,r;return e=t,void((r=n)(" makeSpaceForEdgeLabels",()=>{var t,n;return n=(t=e).graph(),void(n.ranksep/=2,o.default(t.edges(),function(e){var r=t.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}),r(" removeSelfEdges",()=>{var t;return t=e,void o.default(t.edges(),function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}})}),r(" acyclic",()=>$(e)),r(" nestingGraph.run",()=>{var t,n,r,a,u,i,d,f;return t=e5(e,"root",{},"_root"),i=e,d={},o.default(i.children(),function(e){!function e(t,n){var r=i.children(t);r&&r.length&&o.default(r,function(t){e(t,n+1)}),d[t]=n}(e,1)}),n=d,a=2*(r=eW(tH.values(n))-1)+1,e.graph().nestingRoot=t,o.default(e.edges(),function(t){e.edge(t).minlen*=a}),u=(f=e,tQ.reduce(f.edges(),function(e,t){return e+f.edge(t).weight},0)+1),void(o.default(e.children(),function(i){!function e(t,n,r,a,u,i,d){var f=t.children(d);if(!f.length){d!==n&&t.setEdge(n,d,{weight:0,minlen:r});return}var l=tn(t,"_bt"),c=tn(t,"_bb"),s=t.node(d);t.setParent(l,d),s.borderTop=l,t.setParent(c,d),s.borderBottom=c,o.default(f,function(o){e(t,n,r,a,u,i,o);var f=t.node(o),s=f.borderTop?f.borderTop:o,v=f.borderBottom?f.borderBottom:o,h=f.borderTop?a:2*a,g=s!==v?1:u-i[d]+1;t.setEdge(l,s,{weight:h,minlen:g,nestingEdge:!0}),t.setEdge(v,c,{weight:h,minlen:g,nestingEdge:!0})}),t.parent(d)||t.setEdge(n,l,{weight:0,minlen:u+i[d]})}(e,t,a,u,r,n,i)}),e.graph().nodeRankFactor=a)}),r(" rank",()=>(function(e){switch(e.graph().ranker){case"network-simplex":default:tq(e);break;case"tight-tree":var t;th(t=e),tp(t);break;case"longest-path":th(e)}})(e7(e))),r(" injectEdgeLabelProxies",()=>{var t;return t=e,void o.default(t.edges(),function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),o={rank:(t.node(e.w).rank-r.rank)/2+r.rank,e:e};e5(t,"edge-proxy",o,"_ep")}})}),r(" removeEmptyRanks",()=>{var t,n,r,a;return t=e1(b(e.nodes(),function(t){return e.node(t).rank})),n=[],o.default(e.nodes(),function(r){var o=e.node(r).rank-t;n[o]||(n[o]=[]),n[o].push(r)}),r=0,a=e.graph().nodeRankFactor,void o.default(n,function(t,n){eZ.isUndefined(t)&&n%a!=0?--r:r&&o.default(t,function(t){e.node(t).rank+=r})})}),r(" nestingGraph.cleanup",()=>{var t;return t=e.graph(),void(e.removeNode(t.nestingRoot),delete t.nestingRoot,o.default(e.edges(),function(t){e.edge(t).nestingEdge&&e.removeEdge(t)}))}),r(" normalizeRanks",()=>{var t;return t=e1(b(e.nodes(),function(t){return e.node(t).rank})),void o.default(e.nodes(),function(n){var r=e.node(n);e4(r,"rank")&&(r.rank-=t)})}),r(" assignRankMinMax",()=>{var t,n;return t=e,n=0,void(o.default(t.nodes(),function(e){var r=t.node(e);r.borderTop&&(r.minRank=t.node(r.borderTop).rank,r.maxRank=t.node(r.borderBottom).rank,n=eW(n,r.maxRank))}),t.graph().maxRank=n)}),r(" removeEdgeLabelProxies",()=>{var t;return t=e,void o.default(t.nodes(),function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))})}),r(" normalize.run",()=>tc(e)),r(" parentDummyChains",()=>{var t,n,r,a;return n=e,r={},a=0,o.default(n.children(),function e(t){var u=a;o.default(n.children(t),e),r[t]={low:u,lim:a++}}),t=r,void o.default(e.graph().dummyChains,function(n){for(var r=e.node(n),o=r.edgeObj,a=function(e,t,n,r){var o,a,u=[],i=[],d=Math.min(t[n].low,t[r].low),f=Math.max(t[n].lim,t[r].lim);o=n;do u.push(o=e.parent(o));while(o&&(t[o].low>d||f>t[o].lim))for(a=o,o=r;(o=e.parent(o))!==a;)i.push(o);return{path:u.concat(i.reverse()),lca:a}}(e,t,o.v,o.w),u=a.path,i=a.lca,d=0,f=u[0],l=!0;n!==o.w;){if(r=e.node(n),l){for(;(f=u[d])!==i&&e.node(f).maxRank<r.rank;)d++;f===i&&(l=!1)}if(!l){for(;d<u.length-1&&e.node(f=u[d+1]).minRank<=r.rank;)d++;f=u[d]}e.setParent(n,f),n=e.successors(n)[0]}})}),r(" addBorderSegments",()=>{o.default(e.children(),function t(n){var r=e.children(n),a=e.node(n);if(r.length&&o.default(r,t),Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var u=a.minRank,i=a.maxRank+1;u<i;++u)tu(e,"borderLeft","_bl",n,a,u),tu(e,"borderRight","_br",n,a,u)}})}),r(" order",()=>(function(e){var t=tr(e),n=nm(e,T(1,t+1),"inEdges"),r=nm(e,T(t-1,-1,-1),"outEdges"),a=(u={},d=eW(b(i=tx.filter(e.nodes(),function(t){return!e.children(t).length}),function(t){return e.node(t).rank})),f=b(T(d+1),function(){return[]}),c=nw(i,function(t){return e.node(t).rank}),o.default(c,function t(n){e4(u,n)||(u[n]=!0,f[e.node(n).rank].push(n),o.default(e.successors(n),t))}),f);nj(e,a);for(var u,i,d,f,c,s,v=1/0,h=0,g=0;g<4;++h,++g){(function(e,t){var n=new B.Graph;o.default(e,function(e){var r,a,u,i=e.graph().root,d=function e(t,n,r,a){var u,i,d,f,c,s,v,h,g,p,w,y=t.children(n),m=t.node(n),j=m?m.borderLeft:void 0,x=m?m.borderRight:void 0,O={};j&&(y=tx.filter(y,function(e){return e!==j&&e!==x}));var k=b(y,function(e){var n=t.inEdges(e);if(!n.length)return{v:e};var r=tQ.reduce(n,function(e,n){var r=t.edge(n),o=t.node(n.v);return{sum:e.sum+r.weight*o.order,weight:e.weight+r.weight}},{sum:0,weight:0});return{v:e,barycenter:r.sum/r.weight,weight:r.weight}});o.default(k,function(n){if(t.children(n.v).length){var o,u,i=e(t,n.v,r,a);O[n.v]=i,Object.prototype.hasOwnProperty.call(i,"barycenter")&&(o=n,u=i,eZ.isUndefined(o.barycenter)?(o.barycenter=u.barycenter,o.weight=u.weight):(o.barycenter=(o.barycenter*o.weight+u.barycenter*u.weight)/(o.weight+u.weight),o.weight+=u.weight))}});var E=(u={},o.default(k,function(e,t){var n=u[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};eZ.isUndefined(e.barycenter)||(n.barycenter=e.barycenter,n.weight=e.weight)}),o.default(r.edges(),function(e){var t=u[e.v],n=u[e.w];eZ.isUndefined(t)||eZ.isUndefined(n)||(n.indegree++,t.out.push(u[e.w]))}),function(e){for(var t=[];e.length;){var n=e.pop();t.push(n),o.default(n.in.reverse(),function(e){return function(t){!t.merged&&(eZ.isUndefined(t.barycenter)||eZ.isUndefined(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}(n)),o.default(n.out,function(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}(n))}return b(tx.filter(t,function(e){return!e.merged}),function(e){return eq(e,["vs","i","barycenter","weight"])})}(tx.filter(u,function(e){return!e.indegree})));!function(e,t){o.default(e,function(e){e.vs=l(e.vs.map(function(e){return t[e]?t[e].vs:e}))})}(E,O);var _=(c=(i=function(e){return Object.prototype.hasOwnProperty.call(e,"barycenter")},d={lhs:[],rhs:[]},o.default(E,function(e){i(e)?d.lhs.push(e):d.rhs.push(e)}),f=d).lhs,s=nw(f.rhs,function(e){return-e.i}),v=[],h=0,g=0,p=0,c.sort(function(e){return function(t,n){return t.barycenter<n.barycenter?-1:t.barycenter>n.barycenter?1:e?n.i-t.i:t.i-n.i}}(!!a)),p=ny(v,s,p),o.default(c,function(e){p+=e.vs.length,v.push(e.vs),h+=e.barycenter*e.weight,g+=e.weight,p=ny(v,s,p)}),w={vs:l(v)},g&&(w.barycenter=h/g,w.weight=g),w);if(j&&(_.vs=l([j,_.vs,x]),t.predecessors(j).length)){var P=t.node(t.predecessors(j)[0]),R=t.node(t.predecessors(x)[0]);Object.prototype.hasOwnProperty.call(_,"barycenter")||(_.barycenter=0,_.weight=0),_.barycenter=(_.barycenter*_.weight+P.order+R.order)/(_.weight+2),_.weight+=2}return _}(e,i,n,t);o.default(d.vs,function(t,n){e.node(t).order=n}),r=d.vs,u={},o.default(r,function(t){for(var r,o,i=e.parent(t);i;){if((r=e.parent(i))?(o=u[r],u[r]=i):(o=a,a=i),o&&o!==i)return void n.setEdge(o,i);i=r}})})})(h%2?n:r,h%4>=2),a=tt(e);var p=function(e,t){for(var n=0,r=1;r<t.length;++r)n+=function(e,t,n){for(var r=eY(n||[],b(n,function(e,t){return t})||[],ex),a=l(b(t,function(t){return nw(b(e.outEdges(t),function(t){return{pos:r[t.w],weight:e.edge(t).weight}}),"pos")})),u=1;u<n.length;)u<<=1;var i=2*u-1;u-=1;var d=b(Array(i),function(){return 0}),f=0;return o.default(a.forEach(function(e){var t=e.pos+u;d[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=d[t+1]),t=t-1>>1,d[t]+=e.weight;f+=e.weight*n})),f}(e,t[r-1],t[r]);return n}(e,a);p<v&&(g=0,s=nv(a,5),v=p)}nj(e,s)})(e)),r(" insertSelfEdges",()=>{var t,n;return n=tt(t=e),void o.default(n,function(e){var n=0;o.default(e,function(e,r){var a=t.node(e);a.order=r+n,o.default(a.selfEdges,function(e){e5(t,"selfedge",{width:e.label.width,height:e.label.height,rank:a.rank,order:r+ ++n,e:e.e,label:e.label},"_se")}),delete a.selfEdges})})}),r(" adjustCoordinateSystem",()=>{var t;("lr"===(t=e.graph().rankdir.toLowerCase())||"rl"===t)&&ti(e)}),r(" position",()=>{var t,n,r,a,u,i,d,f,l,c,s,v,h,g,p,w,y;p=tt(g=t=e7(t=e)),w=g.graph().ranksep,y=0,o.default(p,function(e){var t=eW(b(e,function(e){return g.node(e).height}));o.default(e,function(e){g.node(e).y=y+t/2}),y+=t+w}),a=tt(n=t),i=eL((u={},tQ.reduce(a,function(e,t){var r=0,a=0,i=e.length,d=eH(t);return o.default(t,function(e,f){var l=function(e,t){if(e.node(t).dummy)return tj(e.predecessors(t),function(t){return e.node(t).dummy})}(n,e),c=l?n.node(l).order:i;(l||e===d)&&(o.default(t.slice(a,f+1),function(e){o.default(n.predecessors(e),function(t){var o=n.node(t),a=o.order;(a<r||c<a)&&!(o.dummy&&n.node(e).dummy)&&nO(u,t,e)})}),a=f+1,r=c)}),t}),u),function(e,t){var n={};function r(t,r,a,u,i){var d;o.default(T(r,a),function(r){d=t[r],e.node(d).dummy&&o.default(e.predecessors(d),function(t){var r=e.node(t);r.dummy&&(r.order<u||r.order>i)&&nO(n,t,d)})})}return tQ.reduce(t,function(t,n){var a,u=-1,i=0;return o.default(n,function(o,d){if("border"===e.node(o).dummy){var f=e.predecessors(o);f.length&&(a=e.node(f[0]).order,r(n,i,d,u,a),i=d,u=a)}r(n,i,n.length,a,t.length)}),n}),n}(n,a)),d={},o.default(["u","d"],function(e){r="u"===e?a:tH.values(a).reverse(),o.default(["l","r"],function(t){"r"===t&&(r=b(r,function(e){return tH.values(e).reverse()}));var a,u,f,l,c=("u"===e?n.predecessors:n.successors).bind(n),s=(a=r,u={},f={},l={},o.default(a,function(e){o.default(e,function(e,t){u[e]=e,f[e]=e,l[e]=t})}),o.default(a,function(e){var t=-1;o.default(e,function(e){var n=c(e);if(n.length)for(var r=((n=nw(n,function(e){return l[e]})).length-1)/2,o=Math.floor(r),a=Math.ceil(r);o<=a;++o){var d=n[o];f[e]===e&&t<l[d]&&!function(e,t,n){if(t>n){var r=t;t=n,n=r}return!!e[t]&&Object.prototype.hasOwnProperty.call(e[t],n)}(i,e,d)&&(f[d]=e,f[e]=u[e]=u[d],t=l[d])}})}),{root:u,align:f}),v=function(e,t,n,r,a){var u,i,d,f,l,c,s,v,h,g,p={},b=(u=e,i=t,d=n,f=a,v=new B.Graph,g=(l=(h=u.graph()).nodesep,c=h.edgesep,s=f,function(e,t,n){var r,o,a=e.node(t),u=e.node(n);if(r=0+a.width/2,Object.prototype.hasOwnProperty.call(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":o=-a.width/2;break;case"r":o=a.width/2}if(o&&(r+=s?o:-o),o=0,r+=(a.dummy?c:l)/2,r+=(u.dummy?c:l)/2,r+=u.width/2,Object.prototype.hasOwnProperty.call(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":o=u.width/2;break;case"r":o=-u.width/2}return o&&(r+=s?o:-o),o=0,r}),o.default(i,function(e){var t;o.default(e,function(e){var n=d[e];if(v.setNode(n),t){var r=d[t],o=v.edge(r,n);v.setEdge(r,n,Math.max(g(u,e,t),o||0))}t=e})}),v),w=a?"borderLeft":"borderRight";function y(e,t){for(var n=b.nodes(),r=n.pop(),o={};r;)o[r]?e(r):(o[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}return y(function(e){p[e]=b.inEdges(e).reduce(function(e,t){return Math.max(e,p[t.v]+b.edge(t))},0)},b.predecessors.bind(b)),y(function(t){var n=b.outEdges(t).reduce(function(e,t){return Math.min(e,p[t.w]-b.edge(t))},1/0),r=e.node(t);n!==1/0&&r.borderType!==w&&(p[t]=Math.max(p[t],n))},b.successors.bind(b)),o.default(r,function(e){p[e]=p[n[e]]}),p}(n,r,s.root,s.align,"r"===t);"r"===t&&(v=eX(v,function(e){return-e})),d[e+t]=v})}),f=tv(tH.values(d),function(e){var t,r=-1/0,o=1/0;return t=function(e,t){var a,u,i=(a=n,u=t,a.node(u).width/2);r=Math.max(e+i,r),o=Math.min(e-i,o)},null==e||(0,X.default)(e,(0,nx.default)(t),eR),r-o}),c=e1(l=tH.values(f)),s=eW(l),o.default(["u","d"],function(e){o.default(["l","r"],function(t){var n,r=e+t,o=d[r];if(o!==f){var a=tH.values(o);(n="l"===t?c-e1(a):s-eW(a))&&(d[r]=eX(o,function(e){return e+n}))}})}),v=n.graph().align,h=eX(d.ul,function(e,t){if(v)return d[v.toLowerCase()][t];var n=nw(b(d,t));return(n[1]+n[2])/2}),h&&(0,eQ.default)(h,(0,nx.default)(function(e,n){t.node(n).x=e}))}),r(" positionSelfEdges",()=>{var t;return t=e,void o.default(t.nodes(),function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),o=r.x+r.width/2,a=r.y,u=n.x-o,i=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:o+2*u/3,y:a-i},{x:o+5*u/6,y:a-i},{x:o+u,y:a},{x:o+5*u/6,y:a+i},{x:o+2*u/3,y:a+i}],n.label.x=n.x,n.label.y=n.y}})}),r(" removeBorderNodes",()=>{var t;return t=e,void(o.default(t.nodes(),function(e){if(t.children(e).length){var n=t.node(e),r=t.node(n.borderTop),o=t.node(n.borderBottom),a=t.node(eH(n.borderLeft)),u=t.node(eH(n.borderRight));n.width=Math.abs(u.x-a.x),n.height=Math.abs(o.y-r.y),n.x=a.x+n.width/2,n.y=r.y+n.height/2}}),o.default(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}),r(" normalize.undo",()=>ts(e)),r(" fixupEdgeLabelCoords",()=>{var t;return t=e,void o.default(t.edges(),function(e){var n=t.edge(e);if(Object.prototype.hasOwnProperty.call(n,"x"))switch(("l"===n.labelpos||"r"===n.labelpos)&&(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}),r(" undoCoordinateSystem",()=>{var t,n,r;("bt"===(t=e.graph().rankdir.toLowerCase())||"rl"===t)&&(n=e,o.default(n.nodes(),function(e){tf(n.node(e))}),o.default(n.edges(),function(e){var t=n.edge(e);o.default(t.points,tf),Object.prototype.hasOwnProperty.call(t,"y")&&tf(t)})),("lr"===t||"rl"===t)&&(r=e,o.default(r.nodes(),function(e){tl(r.node(e))}),o.default(r.edges(),function(e){var t=r.edge(e);o.default(t.points,tl),Object.prototype.hasOwnProperty.call(t,"x")&&tl(t)}),ti(e))}),r(" translateGraph",()=>(function(e){var t=1/0,n=0,r=1/0,a=0,u=e.graph(),i=u.marginx||0,d=u.marginy||0;function f(e){var o=e.x,u=e.y,i=e.width,d=e.height;t=Math.min(t,o-i/2),n=Math.max(n,o+i/2),r=Math.min(r,u-d/2),a=Math.max(a,u+d/2)}o.default(e.nodes(),function(t){f(e.node(t))}),o.default(e.edges(),function(t){var n=e.edge(t);Object.prototype.hasOwnProperty.call(n,"x")&&f(n)}),t-=i,r-=d,o.default(e.nodes(),function(n){var o=e.node(n);o.x-=t,o.y-=r}),o.default(e.edges(),function(n){var a=e.edge(n);o.default(a.points,function(e){e.x-=t,e.y-=r}),Object.prototype.hasOwnProperty.call(a,"x")&&(a.x-=t),Object.prototype.hasOwnProperty.call(a,"y")&&(a.y-=r)}),u.width=n-t+i,u.height=a-r+d})(e)),r(" assignNodeIntersects",()=>{var t;return t=e,void o.default(t.edges(),function(e){var n,r,o=t.edge(e),a=t.node(e.v),u=t.node(e.w);o.points?(n=o.points[0],r=o.points[o.points.length-1]):(o.points=[],n=u,r=a),o.points.unshift(te(a,n)),o.points.push(te(u,r))})}),r(" reversePoints",()=>{var t;return t=e,void o.default(t.edges(),function(e){var n=t.edge(e);n.reversed&&n.points.reverse()})}),r(" acyclic.undo",()=>K(e)))}),n(" updateInputGraph",()=>{var n,r;return n=e,r=t,void(o.default(n.nodes(),function(e){var t=n.node(e),o=r.node(e);t&&(t.x=o.x,t.y=o.y,r.children(e).length&&(t.width=o.width,t.height=o.height))}),o.default(n.edges(),function(e){var t=n.edge(e),o=r.edge(e);t.points=o.points,Object.prototype.hasOwnProperty.call(o,"x")&&(t.x=o.x,t.y=o.y)}),n.graph().width=r.graph().width,n.graph().height=r.graph().height)})})}],915888),e.i(944343),e.s([],461696)}]);
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,638987,t=>{"use strict";var e=t.i(572247),r=t.i(609003),a=t.i(136013),i=t.i(864421),s=t.i(669587),n=t.i(908381),l=t.i(171206),o=t.i(885812),c=t.i(342919),d=t.i(991085),h=t.i(338489);function g(t,e){for(let r in e)Object.hasOwn(e,r)&&(t[r]=e[r])}var u=t.i(569696),y=t.i(950241);t.i(947716);var p=t.i(723685);t.i(566661);var f=t.i(704642),b=t.i(785833),x=t.i(600104),m=function(){var t=(0,l.__name)(function(t,e,r,a){for(r=r||{},a=t.length;a--;r[t[a]]=e);return r},"o"),e=[1,15],r=[1,7],a=[1,13],i=[1,14],s=[1,19],n=[1,16],o=[1,17],c=[1,18],d=[8,30],h=[8,10,21,28,29,30,31,39,43,46],g=[1,23],u=[1,24],y=[8,10,15,16,21,28,29,30,31,39,43,46],p=[8,10,15,16,21,27,28,29,30,31,39,43,46],f=[1,49],b={trace:(0,l.__name)(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,NODE_ID:31,nodeShapeNLabel:32,dirList:33,DIR:34,NODE_DSTART:35,NODE_DEND:36,BLOCK_ARROW_START:37,BLOCK_ARROW_END:38,classDef:39,CLASSDEF_ID:40,CLASSDEF_STYLEOPTS:41,DEFAULT:42,class:43,CLASSENTITY_IDS:44,STYLECLASS:45,style:46,STYLE_ENTITY_IDS:47,STYLE_DEFINITION_DATA:48,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"NODE_ID",34:"DIR",35:"NODE_DSTART",36:"NODE_DEND",37:"BLOCK_ARROW_START",38:"BLOCK_ARROW_END",39:"classDef",40:"CLASSDEF_ID",41:"CLASSDEF_STYLEOPTS",42:"DEFAULT",43:"class",44:"CLASSENTITY_IDS",45:"STYLECLASS",46:"style",47:"STYLE_ENTITY_IDS",48:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[33,1],[33,2],[32,3],[32,4],[23,3],[23,3],[24,3],[25,3]],performAction:(0,l.__name)(function(t,e,r,a,i,s,n){var l=s.length-1;switch(i){case 4:a.getLogger().debug("Rule: separator (NL) ");break;case 5:a.getLogger().debug("Rule: separator (Space) ");break;case 6:a.getLogger().debug("Rule: separator (EOF) ");break;case 7:a.getLogger().debug("Rule: hierarchy: ",s[l-1]),a.setHierarchy(s[l-1]);break;case 8:a.getLogger().debug("Stop NL ");break;case 9:a.getLogger().debug("Stop EOF ");break;case 10:a.getLogger().debug("Stop NL2 ");break;case 11:a.getLogger().debug("Stop EOF2 ");break;case 12:a.getLogger().debug("Rule: statement: ",s[l]),"number"==typeof s[l].length?this.$=s[l]:this.$=[s[l]];break;case 13:a.getLogger().debug("Rule: statement #2: ",s[l-1]),this.$=[s[l-1]].concat(s[l]);break;case 14:a.getLogger().debug("Rule: link: ",s[l],t),this.$={edgeTypeStr:s[l],label:""};break;case 15:a.getLogger().debug("Rule: LABEL link: ",s[l-3],s[l-1],s[l]),this.$={edgeTypeStr:s[l],label:s[l-1]};break;case 18:let o=parseInt(s[l]),c=a.generateId();this.$={id:c,type:"space",label:"",width:o,children:[]};break;case 23:a.getLogger().debug("Rule: (nodeStatement link node) ",s[l-2],s[l-1],s[l]," typestr: ",s[l-1].edgeTypeStr);let d=a.edgeStrToEdgeData(s[l-1].edgeTypeStr),h=a.edgeStrToEdgeStartData(s[l-1].edgeTypeStr),g=a.edgeStrToThickness(s[l-1].edgeTypeStr),u=a.edgeStrToPattern(s[l-1].edgeTypeStr);this.$=[{id:s[l-2].id,label:s[l-2].label,type:s[l-2].type,directions:s[l-2].directions},{id:s[l-2].id+"-"+s[l].id,start:s[l-2].id,end:s[l].id,label:s[l-1].label,type:"edge",thickness:g,pattern:u,directions:s[l].directions,arrowTypeEnd:d,arrowTypeStart:h},{id:s[l].id,label:s[l].label,type:a.typeStr2Type(s[l].typeStr),directions:s[l].directions}];break;case 24:a.getLogger().debug("Rule: nodeStatement (abc88 node size) ",s[l-1],s[l]),this.$={id:s[l-1].id,label:s[l-1].label,type:a.typeStr2Type(s[l-1].typeStr),directions:s[l-1].directions,widthInColumns:parseInt(s[l],10)};break;case 25:a.getLogger().debug("Rule: nodeStatement (node) ",s[l]),this.$={id:s[l].id,label:s[l].label,type:a.typeStr2Type(s[l].typeStr),directions:s[l].directions,widthInColumns:1};break;case 26:a.getLogger().debug("APA123",this?this:"na"),a.getLogger().debug("COLUMNS: ",s[l]),this.$={type:"column-setting",columns:"auto"===s[l]?-1:parseInt(s[l])};break;case 27:a.getLogger().debug("Rule: id-block statement : ",s[l-2],s[l-1]),a.generateId(),this.$={...s[l-2],type:"composite",children:s[l-1]};break;case 28:a.getLogger().debug("Rule: blockStatement : ",s[l-2],s[l-1],s[l]);let y=a.generateId();this.$={id:y,type:"composite",label:"",children:s[l-1]};break;case 29:a.getLogger().debug("Rule: node (NODE_ID separator): ",s[l]),this.$={id:s[l]};break;case 30:a.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",s[l-1],s[l]),this.$={id:s[l-1],label:s[l].label,typeStr:s[l].typeStr,directions:s[l].directions};break;case 31:a.getLogger().debug("Rule: dirList: ",s[l]),this.$=[s[l]];break;case 32:a.getLogger().debug("Rule: dirList: ",s[l-1],s[l]),this.$=[s[l-1]].concat(s[l]);break;case 33:a.getLogger().debug("Rule: nodeShapeNLabel: ",s[l-2],s[l-1],s[l]),this.$={typeStr:s[l-2]+s[l],label:s[l-1]};break;case 34:a.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",s[l-3],s[l-2]," #3:",s[l-1],s[l]),this.$={typeStr:s[l-3]+s[l],label:s[l-2],directions:s[l-1]};break;case 35:case 36:this.$={type:"classDef",id:s[l-1].trim(),css:s[l].trim()};break;case 37:this.$={type:"applyClass",id:s[l-1].trim(),styleClass:s[l].trim()};break;case 38:this.$={type:"applyStyles",id:s[l-1].trim(),stylesStr:s[l].trim()}}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{10:e,11:3,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:a,29:i,31:s,39:n,43:o,46:c},{8:[1,20]},t(d,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,10:e,21:r,28:a,29:i,31:s,39:n,43:o,46:c}),t(h,[2,16],{14:22,15:g,16:u}),t(h,[2,17]),t(h,[2,18]),t(h,[2,19]),t(h,[2,20]),t(h,[2,21]),t(h,[2,22]),t(y,[2,25],{27:[1,25]}),t(h,[2,26]),{19:26,26:12,31:s},{10:e,11:27,13:4,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:a,29:i,31:s,39:n,43:o,46:c},{40:[1,28],42:[1,29]},{44:[1,30]},{47:[1,31]},t(p,[2,29],{32:32,35:[1,33],37:[1,34]}),{1:[2,7]},t(d,[2,13]),{26:35,31:s},{31:[2,14]},{17:[1,36]},t(y,[2,24]),{10:e,11:37,13:4,14:22,15:g,16:u,19:5,20:6,21:r,22:8,23:9,24:10,25:11,26:12,28:a,29:i,31:s,39:n,43:o,46:c},{30:[1,38]},{41:[1,39]},{41:[1,40]},{45:[1,41]},{48:[1,42]},t(p,[2,30]),{18:[1,43]},{18:[1,44]},t(y,[2,23]),{18:[1,45]},{30:[1,46]},t(h,[2,28]),t(h,[2,35]),t(h,[2,36]),t(h,[2,37]),t(h,[2,38]),{36:[1,47]},{33:48,34:f},{15:[1,50]},t(h,[2,27]),t(p,[2,33]),{38:[1,51]},{33:52,34:f,38:[2,31]},{31:[2,15]},t(p,[2,34]),{38:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:(0,l.__name)(function(t,e){if(e.recoverable)this.trace(t);else{var r=Error(t);throw r.hash=e,r}},"parseError"),parse:(0,l.__name)(function(t){var e=this,r=[0],a=[],i=[null],s=[],n=this.table,o="",c=0,d=0,h=0,g=s.slice.call(arguments,1),u=Object.create(this.lexer),y={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(y[p]=this.yy[p]);u.setInput(t,y),y.lexer=u,y.parser=this,void 0===u.yylloc&&(u.yylloc={});var f=u.yylloc;s.push(f);var b=u.options&&u.options.ranges;function x(){var t;return"number"!=typeof(t=a.pop()||u.lex()||1)&&(t instanceof Array&&(t=(a=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.parseError?this.parseError=y.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.__name)(function(t){r.length=r.length-2*t,i.length=i.length-t,s.length=s.length-t},"popStack"),(0,l.__name)(x,"lex");for(var m,_,w,k,L,S,E,T,D,$={};;){if(w=r[r.length-1],this.defaultActions[w]?k=this.defaultActions[w]:(null==m&&(m=x()),k=n[w]&&n[w][m]),void 0===k||!k.length||!k[0]){var C="";for(S in D=[],n[w])this.terminals_[S]&&S>2&&D.push("'"+this.terminals_[S]+"'");C=u.showPosition?"Parse error on line "+(c+1)+":\n"+u.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(C,{text:u.match,token:this.terminals_[m]||m,line:u.yylineno,loc:f,expected:D})}if(k[0]instanceof Array&&k.length>1)throw Error("Parse Error: multiple actions possible at state: "+w+", token: "+m);switch(k[0]){case 1:r.push(m),i.push(u.yytext),s.push(u.yylloc),r.push(k[1]),m=null,_?(m=_,_=null):(d=u.yyleng,o=u.yytext,c=u.yylineno,f=u.yylloc,h>0&&h--);break;case 2:if(E=this.productions_[k[1]][1],$.$=i[i.length-E],$._$={first_line:s[s.length-(E||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(E||1)].first_column,last_column:s[s.length-1].last_column},b&&($._$.range=[s[s.length-(E||1)].range[0],s[s.length-1].range[1]]),void 0!==(L=this.performAction.apply($,[o,d,c,y,k[1],i,s].concat(g))))return L;E&&(r=r.slice(0,-1*E*2),i=i.slice(0,-1*E),s=s.slice(0,-1*E)),r.push(this.productions_[k[1]][0]),i.push($.$),s.push($._$),T=n[r[r.length-2]][r[r.length-1]],r.push(T);break;case 3:return!0}}return!0},"parse")};function x(){this.yy={}}return b.lexer={EOF:1,parseError:(0,l.__name)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.__name)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,l.__name)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,l.__name)(function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.__name)(function(){return this._more=!0,this},"more"),reject:(0,l.__name)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,l.__name)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.__name)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.__name)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,l.__name)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.__name)(function(t,e){var r,a,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack)for(var s in i)this[s]=i[s];return!1},"test_match"),next:(0,l.__name)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,r,a,i=this._currentRules(),s=0;s<i.length;s++)if((r=this._input.match(this.rules[i[s]]))&&(!e||r[0].length>e[0].length)){if(e=r,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,i[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[a]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.__name)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,l.__name)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.__name)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.__name)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,l.__name)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.__name)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.__name)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,l.__name)(function(t,e,r,a){switch(r){case 0:return t.getLogger().debug("Found block-beta"),10;case 1:return t.getLogger().debug("Found id-block"),29;case 2:return t.getLogger().debug("Found block"),10;case 3:t.getLogger().debug(".",e.yytext);break;case 4:t.getLogger().debug("_",e.yytext);break;case 5:return 5;case 6:return e.yytext=-1,28;case 7:return e.yytext=e.yytext.replace(/columns\s+/,""),t.getLogger().debug("COLUMNS (LEX)",e.yytext),28;case 8:case 76:case 77:case 99:this.pushState("md_string");break;case 9:return"MD_STR";case 10:case 34:case 79:this.popState();break;case 11:this.pushState("string");break;case 12:t.getLogger().debug("LEX: POPPING STR:",e.yytext),this.popState();break;case 13:return t.getLogger().debug("LEX: STR end:",e.yytext),"STR";case 14:return e.yytext=e.yytext.replace(/space\:/,""),t.getLogger().debug("SPACE NUM (LEX)",e.yytext),21;case 15:return e.yytext="1",t.getLogger().debug("COLUMNS (LEX)",e.yytext),21;case 16:return 42;case 17:return"LINKSTYLE";case 18:return"INTERPOLATE";case 19:return this.pushState("CLASSDEF"),39;case 20:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 21:return this.popState(),this.pushState("CLASSDEFID"),40;case 22:return this.popState(),41;case 23:return this.pushState("CLASS"),43;case 24:return this.popState(),this.pushState("CLASS_STYLE"),44;case 25:return this.popState(),45;case 26:return this.pushState("STYLE_STMNT"),46;case 27:return this.popState(),this.pushState("STYLE_DEFINITION"),47;case 28:return this.popState(),48;case 29:return this.pushState("acc_title"),"acc_title";case 30:return this.popState(),"acc_title_value";case 31:return this.pushState("acc_descr"),"acc_descr";case 32:return this.popState(),"acc_descr_value";case 33:this.pushState("acc_descr_multiline");break;case 35:return"acc_descr_multiline_value";case 36:return 30;case 37:case 38:case 40:case 41:case 44:return this.popState(),t.getLogger().debug("Lex: (("),"NODE_DEND";case 39:return this.popState(),t.getLogger().debug("Lex: ))"),"NODE_DEND";case 42:return this.popState(),t.getLogger().debug("Lex: (-"),"NODE_DEND";case 43:return this.popState(),t.getLogger().debug("Lex: -)"),"NODE_DEND";case 45:return this.popState(),t.getLogger().debug("Lex: ]]"),"NODE_DEND";case 46:return this.popState(),t.getLogger().debug("Lex: ("),"NODE_DEND";case 47:return this.popState(),t.getLogger().debug("Lex: ])"),"NODE_DEND";case 48:case 49:return this.popState(),t.getLogger().debug("Lex: /]"),"NODE_DEND";case 50:return this.popState(),t.getLogger().debug("Lex: )]"),"NODE_DEND";case 51:return this.popState(),t.getLogger().debug("Lex: )"),"NODE_DEND";case 52:return this.popState(),t.getLogger().debug("Lex: ]>"),"NODE_DEND";case 53:return this.popState(),t.getLogger().debug("Lex: ]"),"NODE_DEND";case 54:return t.getLogger().debug("Lexa: -)"),this.pushState("NODE"),35;case 55:return t.getLogger().debug("Lexa: (-"),this.pushState("NODE"),35;case 56:return t.getLogger().debug("Lexa: ))"),this.pushState("NODE"),35;case 57:case 59:case 60:case 61:case 64:return t.getLogger().debug("Lexa: )"),this.pushState("NODE"),35;case 58:return t.getLogger().debug("Lex: ((("),this.pushState("NODE"),35;case 62:return t.getLogger().debug("Lexc: >"),this.pushState("NODE"),35;case 63:return t.getLogger().debug("Lexa: (["),this.pushState("NODE"),35;case 65:case 66:case 67:case 68:case 69:case 70:case 71:return this.pushState("NODE"),35;case 72:return t.getLogger().debug("Lexa: ["),this.pushState("NODE"),35;case 73:return this.pushState("BLOCK_ARROW"),t.getLogger().debug("LEX ARR START"),37;case 74:return t.getLogger().debug("Lex: NODE_ID",e.yytext),31;case 75:return t.getLogger().debug("Lex: EOF",e.yytext),8;case 78:return"NODE_DESCR";case 80:t.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 81:t.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 82:return t.getLogger().debug("LEX: NODE_DESCR:",e.yytext),"NODE_DESCR";case 83:t.getLogger().debug("LEX POPPING"),this.popState();break;case 84:t.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 85:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (right): dir:",e.yytext),"DIR";case 86:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (left):",e.yytext),"DIR";case 87:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (x):",e.yytext),"DIR";case 88:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (y):",e.yytext),"DIR";case 89:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (up):",e.yytext),"DIR";case 90:return e.yytext=e.yytext.replace(/^,\s*/,""),t.getLogger().debug("Lex (down):",e.yytext),"DIR";case 91:return e.yytext="]>",t.getLogger().debug("Lex (ARROW_DIR end):",e.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 92:return t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 93:case 94:case 95:return t.getLogger().debug("Lex: LINK",e.yytext),15;case 96:case 97:case 98:return t.getLogger().debug("Lex: START_LINK",e.yytext),this.pushState("LLABEL"),16;case 100:return t.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 101:return this.popState(),t.getLogger().debug("Lex: LINK","#"+e.yytext+"#"),15;case 102:case 103:return this.popState(),t.getLogger().debug("Lex: LINK",e.yytext),15;case 104:return t.getLogger().debug("Lex: COLON",e.yytext),e.yytext=e.yytext.slice(1),27}},"anonymous"),rules:[/^(?:block-beta\b)/,/^(?:block:)/,/^(?:block\b)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:=]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[28],inclusive:!1},STYLE_STMNT:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[22],inclusive:!1},CLASSDEF:{rules:[20,21],inclusive:!1},CLASS_STYLE:{rules:[25],inclusive:!1},CLASS:{rules:[24],inclusive:!1},LLABEL:{rules:[99,100,101,102,103],inclusive:!1},ARROW_DIR:{rules:[85,86,87,88,89,90,91],inclusive:!1},BLOCK_ARROW:{rules:[76,81,84],inclusive:!1},NODE:{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,77,80],inclusive:!1},md_string:{rules:[9,10,78,79],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[12,13,82,83],inclusive:!1},acc_descr_multiline:{rules:[34,35],inclusive:!1},acc_descr:{rules:[32],inclusive:!1},acc_title:{rules:[30],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,11,14,15,16,17,18,19,23,26,29,31,33,36,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,92,93,94,95,96,97,98,104],inclusive:!0}}},(0,l.__name)(x,"Parser"),x.prototype=b,b.Parser=x,new x}();m.parser=m;var _=new Map,w=[],k=new Map,L="color",S="fill",E=(0,n.getConfig2)(),T=new Map,D="",$=(0,l.__name)(t=>n.common_default.sanitizeText(t,E),"sanitizeText"),C=(0,l.__name)(function(t,e=""){let r=T.get(t);r||(r={id:t,styles:[],textStyles:[]},T.set(t,r)),null!=e&&e.split(",").forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(L).exec(t)){let t=e.replace(S,"bgFill").replace(L,S);r.textStyles.push(t)}r.styles.push(e)})},"addStyleClass"),v=(0,l.__name)(function(t,e=""){let r=_.get(t);null!=e&&(r.styles=e.split(","))},"addStyle2Node"),I=(0,l.__name)(function(t,e){t.split(",").forEach(function(t){let r=_.get(t);if(void 0===r){let e=t.trim();r={id:e,type:"na",children:[]},_.set(e,r)}r.classes||(r.classes=[]),r.classes.push(e)})},"setCssClass"),N=(0,l.__name)((t,e)=>{let r=t.flat(),a=[],i=r.find(t=>t?.type==="column-setting"),s=i?.columns??-1;for(let t of r){if("number"==typeof s&&s>0&&"column-setting"!==t.type&&"number"==typeof t.widthInColumns&&t.widthInColumns>s&&l.log.warn(`Block ${t.id} width ${t.widthInColumns} exceeds configured column width ${s}`),t.label&&(t.label=$(t.label)),"classDef"===t.type){C(t.id,t.css);continue}if("applyClass"===t.type){I(t.id,t?.styleClass??"");continue}if("applyStyles"===t.type){t?.stylesStr&&v(t.id,t?.stylesStr);continue}if("column-setting"===t.type)e.columns=t.columns??-1;else if("edge"===t.type){let e=(k.get(t.id)??0)+1;k.set(t.id,e),t.id=e+"-"+t.id,w.push(t)}else{t.label||("composite"===t.type?t.label="":t.label=t.id);let e=_.get(t.id);if(void 0===e?_.set(t.id,t):("na"!==t.type&&(e.type=t.type),t.label!==t.id&&(e.label=t.label)),t.children&&N(t.children,t),"space"===t.type){let e=t.width??1;for(let r=0;r<e;r++){let e=function(t){if((0,o.isPrimitive)(t))return t;let e=(0,c.getTag)(t);if(!function(t){switch((0,c.getTag)(t)){case d.argumentsTag:case d.arrayTag:case d.arrayBufferTag:case d.dataViewTag:case d.booleanTag:case d.dateTag:case d.float32ArrayTag:case d.float64ArrayTag:case d.int8ArrayTag:case d.int16ArrayTag:case d.int32ArrayTag:case d.mapTag:case d.numberTag:case d.objectTag:case d.regexpTag:case d.setTag:case d.stringTag:case d.symbolTag:case d.uint8ArrayTag:case d.uint8ClampedArrayTag:case d.uint16ArrayTag:case d.uint32ArrayTag:return!0;default:return!1}}(t))return{};if(Array.isArray(t)){let e=Array.from(t);return t.length>0&&"string"==typeof t[0]&&Object.hasOwn(t,"index")&&(e.index=t.index,e.input=t.input),e}if((0,h.isTypedArray)(t))return new t.constructor(t.buffer,t.byteOffset,t.length);if("[object ArrayBuffer]"===e)return new ArrayBuffer(t.byteLength);if("[object DataView]"===e){let e=t.buffer,r=t.byteOffset,a=t.byteLength,i=new ArrayBuffer(a),s=new Uint8Array(e,r,a);return new Uint8Array(i).set(s),new DataView(i)}if("[object Boolean]"===e||"[object Number]"===e||"[object String]"===e){let r=new t.constructor(t.valueOf());return"[object String]"===e?function(t,e){let r=e.valueOf().length;for(let a in e)Object.hasOwn(e,a)&&(Number.isNaN(Number(a))||Number(a)>=r)&&(t[a]=e[a])}(r,t):g(r,t),r}if("[object Date]"===e)return new Date(Number(t));if("[object RegExp]"===e){let e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if("[object Symbol]"===e)return Object(Symbol.prototype.valueOf.call(t));if("[object Map]"===e){let e=new Map;return t.forEach((t,r)=>{e.set(r,t)}),e}if("[object Set]"===e){let e=new Set;return t.forEach(t=>{e.add(t)}),e}if("[object Arguments]"===e){let e={};return g(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}let r={};return function(t,e){let r=Object.getPrototypeOf(e);null!==r&&"function"==typeof e.constructor&&Object.setPrototypeOf(t,r)}(r,t),g(r,t),function(t,e){let r=Object.getOwnPropertySymbols(e);for(let a=0;a<r.length;a++){let i=r[a];Object.prototype.propertyIsEnumerable.call(e,i)&&(t[i]=e[i])}}(r,t),r}(t);e.id=e.id+"-"+r,_.set(e.id,e),a.push(e)}}else void 0===e&&a.push(t)}}e.children=a},"populateBlockDatabase"),B=[],O={id:"root",type:"composite",children:[],columns:-1},A=(0,l.__name)(()=>{l.log.debug("Clear called"),(0,n.clear)(),_=new Map([["root",O={id:"root",type:"composite",children:[],columns:-1}]]),B=[],T=new Map,w=[],k=new Map,D=""},"clear");function R(t){switch(l.log.debug("typeStr2Type",t),t){case"[]":return"square";case"()":return l.log.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}}function z(t){return(l.log.debug("typeStr2Type",t),"=="===t)?"thick":"normal"}function M(t){switch(t.trim().slice(-1)){case"x":return"arrow_cross";case"o":return"arrow_circle";case">":return"arrow_point";default:return""}}function P(t){switch(t.trim().charAt(0)){case"x":return"arrow_cross";case"o":return"arrow_circle";case"<":return"arrow_point";default:return"arrow_open"}}function j(t){return t.includes("==")?"thick":"normal"}function H(t){return t.includes(".-")?"dotted":"solid"}(0,l.__name)(R,"typeStr2Type"),(0,l.__name)(z,"edgeTypeStr2Type"),(0,l.__name)(M,"edgeStrToEdgeData"),(0,l.__name)(P,"edgeStrToEdgeStartData"),(0,l.__name)(j,"edgeStrToThickness"),(0,l.__name)(H,"edgeStrToPattern");var W=0,Y=(0,l.__name)(()=>(W++,"id-"+Math.random().toString(36).substr(2,12)+"-"+W),"generateId"),F=(0,l.__name)(t=>{O.children=t,N(t,O),B=O.children},"setHierarchy"),U=(0,l.__name)(t=>{let e=_.get(t);return e?e.columns?e.columns:e.children?e.children.length:-1:-1},"getColumns"),X=(0,l.__name)(()=>[..._.values()],"getBlocksFlat"),K=(0,l.__name)(()=>B||[],"getBlocks"),Z=(0,l.__name)(()=>w,"getEdges"),q=(0,l.__name)(t=>_.get(t),"getBlock"),G=(0,l.__name)(t=>{_.set(t.id,t)},"setBlock"),J=(0,l.__name)(t=>{D=t},"setDiagramId"),V=(0,l.__name)(()=>D,"getDiagramId"),Q=(0,l.__name)(()=>l.log,"getLogger"),tt=(0,l.__name)(function(){return T},"getClasses"),te={getConfig:(0,l.__name)(()=>(0,n.getConfig)().block,"getConfig"),typeStr2Type:R,edgeTypeStr2Type:z,edgeStrToEdgeData:M,edgeStrToEdgeStartData:P,edgeStrToThickness:j,edgeStrToPattern:H,getLogger:Q,getBlocksFlat:X,getBlocks:K,getEdges:Z,setHierarchy:F,getBlock:q,setBlock:G,getColumns:U,getClasses:tt,clear:A,generateId:Y,setDiagramId:J,getDiagramId:V},tr=(0,l.__name)((t,e)=>{let r=u.channel,a=r(t,"r"),i=r(t,"g"),s=r(t,"b");return y.rgba(a,i,s,e)},"fade"),ta=(0,l.__name)(t=>`.label {
|
|
2
|
-
font-family: ${t.fontFamily};
|
|
3
|
-
color: ${t.nodeTextColor||t.textColor};
|
|
4
|
-
}
|
|
5
|
-
.cluster-label text {
|
|
6
|
-
fill: ${t.titleColor};
|
|
7
|
-
}
|
|
8
|
-
.cluster-label span,p {
|
|
9
|
-
color: ${t.titleColor};
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.label text,span,p {
|
|
15
|
-
fill: ${t.nodeTextColor||t.textColor};
|
|
16
|
-
color: ${t.nodeTextColor||t.textColor};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.node rect,
|
|
20
|
-
.node circle,
|
|
21
|
-
.node ellipse,
|
|
22
|
-
.node polygon,
|
|
23
|
-
.node path {
|
|
24
|
-
fill: ${t.mainBkg};
|
|
25
|
-
stroke: ${t.nodeBorder};
|
|
26
|
-
stroke-width: 1px;
|
|
27
|
-
}
|
|
28
|
-
.flowchart-label text {
|
|
29
|
-
text-anchor: middle;
|
|
30
|
-
}
|
|
31
|
-
// .flowchart-label .text-outer-tspan {
|
|
32
|
-
// text-anchor: middle;
|
|
33
|
-
// }
|
|
34
|
-
// .flowchart-label .text-inner-tspan {
|
|
35
|
-
// text-anchor: start;
|
|
36
|
-
// }
|
|
37
|
-
|
|
38
|
-
.node .label {
|
|
39
|
-
text-align: center;
|
|
40
|
-
}
|
|
41
|
-
.node.clickable {
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.arrowheadPath {
|
|
46
|
-
fill: ${t.arrowheadColor};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.edgePath .path {
|
|
50
|
-
stroke: ${t.lineColor};
|
|
51
|
-
stroke-width: 2.0px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.flowchart-link {
|
|
55
|
-
stroke: ${t.lineColor};
|
|
56
|
-
fill: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.edgeLabel {
|
|
60
|
-
background-color: ${t.edgeLabelBackground};
|
|
61
|
-
/*
|
|
62
|
-
* This is for backward compatibility with existing code that didn't
|
|
63
|
-
* add a \`<p>\` around edge labels.
|
|
64
|
-
*
|
|
65
|
-
* TODO: We should probably remove this in a future release.
|
|
66
|
-
*/
|
|
67
|
-
p {
|
|
68
|
-
margin: 0;
|
|
69
|
-
padding: 0;
|
|
70
|
-
display: inline;
|
|
71
|
-
}
|
|
72
|
-
rect {
|
|
73
|
-
opacity: 0.5;
|
|
74
|
-
background-color: ${t.edgeLabelBackground};
|
|
75
|
-
fill: ${t.edgeLabelBackground};
|
|
76
|
-
}
|
|
77
|
-
text-align: center;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* For html labels only */
|
|
81
|
-
.labelBkg {
|
|
82
|
-
background-color: ${t.edgeLabelBackground};
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.node .cluster {
|
|
86
|
-
// fill: ${tr(t.mainBkg,.5)};
|
|
87
|
-
fill: ${tr(t.clusterBkg,.5)};
|
|
88
|
-
stroke: ${tr(t.clusterBorder,.2)};
|
|
89
|
-
box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
|
|
90
|
-
stroke-width: 1px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.cluster text {
|
|
94
|
-
fill: ${t.titleColor};
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.cluster span,p {
|
|
98
|
-
color: ${t.titleColor};
|
|
99
|
-
}
|
|
100
|
-
/* .cluster div {
|
|
101
|
-
color: ${t.titleColor};
|
|
102
|
-
} */
|
|
103
|
-
|
|
104
|
-
div.mermaidTooltip {
|
|
105
|
-
position: absolute;
|
|
106
|
-
text-align: center;
|
|
107
|
-
max-width: 200px;
|
|
108
|
-
padding: 2px;
|
|
109
|
-
font-family: ${t.fontFamily};
|
|
110
|
-
font-size: 12px;
|
|
111
|
-
background: ${t.tertiaryColor};
|
|
112
|
-
border: 1px solid ${t.border2};
|
|
113
|
-
border-radius: 2px;
|
|
114
|
-
pointer-events: none;
|
|
115
|
-
z-index: 100;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.flowchartTitleText {
|
|
119
|
-
text-anchor: middle;
|
|
120
|
-
font-size: 18px;
|
|
121
|
-
fill: ${t.textColor};
|
|
122
|
-
}
|
|
123
|
-
${(0,e.getIconStyles)()}
|
|
124
|
-
`,"getStyles"),ti=(0,l.__name)((t,e,r,a)=>{e.forEach(e=>{tg[e](t,r,a)})},"insertMarkers"),ts=(0,l.__name)((t,e,r)=>{l.log.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),tn=(0,l.__name)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),tl=(0,l.__name)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),to=(0,l.__name)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),tc=(0,l.__name)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),td=(0,l.__name)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),th=(0,l.__name)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),tg={extension:ts,composition:tn,aggregation:tl,dependency:to,lollipop:tc,point:td,circle:th,cross:(0,l.__name)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb:(0,l.__name)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb")},tu=(0,n.getConfig2)()?.block?.padding??8;function ty(t,e){if(0===t||!Number.isInteger(t))throw Error("Columns must be an integer !== 0.");if(e<0||!Number.isInteger(e))throw Error("Position must be a non-negative integer."+e);if(t<0)return{px:e,py:0};if(1===t)return{px:0,py:e};let r=Math.floor(e/t);return{px:e%t,py:r}}(0,l.__name)(ty,"calculateBlockPosition");var tp=(0,l.__name)(t=>{let e=0,r=0;for(let a of t.children){let{width:t,height:i,x:s,y:n}=a.size??{width:0,height:0,x:0,y:0};if(l.log.debug("getMaxChildSize abc95 child:",a.id,"width:",t,"height:",i,"x:",s,"y:",n,a.type),"space"===a.type)continue;let o=t/(a.widthInColumns??1);o>e&&(e=o),i>r&&(r=i)}return{width:e,height:r}},"getMaxChildSize");function tf(t,e,r=0,a=0){l.log.debug("setBlockSizes abc95 (start)",t.id,t?.size?.x,"block width =",t?.size,"siblingWidth",r),t?.size?.width||(t.size={width:r,height:a,x:0,y:0});let i=0,s=0;if(t.children?.length>0){for(let r of t.children)tf(r,e);let n=tp(t);for(let e of(i=n.width,s=n.height,l.log.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",i,s),t.children))e.size&&(l.log.debug(`abc95 Setting size of children of ${t.id} id=${e.id} ${i} ${s} ${JSON.stringify(e.size)}`),e.size.width=i*(e.widthInColumns??1)+tu*((e.widthInColumns??1)-1),e.size.height=s,e.size.x=0,e.size.y=0,l.log.debug(`abc95 updating size of ${t.id} children child:${e.id} maxWidth:${i} maxHeight:${s}`));for(let r of t.children)tf(r,e,i,s);let o=t.columns??-1,c=0;for(let e of t.children)c+=e.widthInColumns??1;let d=t.children.length;o>0&&o<c&&(d=o);let h=Math.ceil(c/d),g=d*(i+tu)+tu,u=h*(s+tu)+tu;if(g<r){l.log.debug(`Detected to small sibling: abc95 ${t.id} siblingWidth ${r} siblingHeight ${a} width ${g}`),g=r,u=a;let e=(r-d*tu-tu)/d,n=(a-h*tu-tu)/h;for(let r of(l.log.debug("Size indata abc88",t.id,"childWidth",e,"maxWidth",i),l.log.debug("Size indata abc88",t.id,"childHeight",n,"maxHeight",s),l.log.debug("Size indata abc88 xSize",d,"padding",tu),t.children))r.size&&(r.size.width=e,r.size.height=n,r.size.x=0,r.size.y=0)}if(l.log.debug(`abc95 (finale calc) ${t.id} xSize ${d} ySize ${h} columns ${o}${t.children.length} width=${Math.max(g,t.size?.width||0)}`),g<(t?.size?.width||0)){g=t?.size?.width||0;let e=o>0?Math.min(t.children.length,o):t.children.length;if(e>0){let r=(g-e*tu-tu)/e;for(let e of(l.log.debug("abc95 (growing to fit) width",t.id,g,t.size?.width,r),t.children))e.size&&(e.size.width=r)}}t.size={width:g,height:u,x:0,y:0}}l.log.debug("setBlockSizes abc94 (done)",t.id,t?.size?.x,t?.size?.width,t?.size?.y,t?.size?.height)}function tb(t,e){l.log.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`);let r=t.columns??-1;if(l.log.debug("layoutBlocks columns abc95",t.id,"=>",r,t),t.children&&t.children.length>0){let a=t?.children[0]?.size?.width??0,i=t.children.length*a+(t.children.length-1)*tu;l.log.debug("widthOfChildren 88",i,"posX");let s=new Map;{let e=0;for(let a of t.children){if(!a.size)continue;let{py:t}=ty(r,e),i=s.get(t)??0;a.size.height>i&&s.set(t,a.size.height);let n=a?.widthInColumns??1;r>0&&(n=Math.min(n,r-e%r)),e+=n}}let n=new Map;{let t=0;for(let e of[...s.keys()].sort((t,e)=>t-e))n.set(e,t),t+=(s.get(e)??0)+tu}let o=0;l.log.debug("abc91 block?.size?.x",t.id,t?.size?.x);let c=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-tu,d=0;for(let a of t.children){if(!a.size)continue;let{width:i,height:h}=a.size,{px:g,py:u}=ty(r,o);if(u!=d&&(d=u,c=t?.size?.x?t?.size?.x+(-t?.size?.width/2||0):-tu,l.log.debug("New row in layout for block",t.id," and child ",a.id,d)),l.log.debug(`abc89 layout blocks (child) id: ${a.id} Pos: ${o} (px, py) ${g},${u} (${t?.size?.x},${t?.size?.y}) parent: ${t.id} width: ${i}${tu}`),t.size){let e=i/2;a.size.x=c+tu+e,l.log.debug(`abc91 layout blocks (calc) px, pyid:${a.id} startingPos=X${c} new startingPosX${a.size.x} ${e} padding=${tu} width=${i} halfWidth=${e} => x:${a.size.x} y:${a.size.y} ${a.widthInColumns} (width * (child?.w || 1)) / 2 ${i*(a?.widthInColumns??1)/2}`),c=a.size.x+e;let r=n.get(u)??0,o=s.get(u)??h;a.size.y=t.size.y-t.size.height/2+r+o/2+tu,l.log.debug(`abc88 layout blocks (calc) px, pyid:${a.id}startingPosX${c}${tu}${e}=>x:${a.size.x}y:${a.size.y}${a.widthInColumns}(width * (child?.w || 1)) / 2${i*(a?.widthInColumns??1)/2}`)}a.children&&tb(a,e);let y=a?.widthInColumns??1;r>0&&(y=Math.min(y,r-o%r)),o+=y,l.log.debug("abc88 columnsPos",a,o)}}l.log.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${t?.size?.x} y: ${t?.size?.y} width: ${t?.size?.width}`)}function tx(t,{minX:e,minY:r,maxX:a,maxY:i}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&"root"!==t.id){let{x:s,y:n,width:l,height:o}=t.size;s-l/2<e&&(e=s-l/2),n-o/2<r&&(r=n-o/2),s+l/2>a&&(a=s+l/2),n+o/2>i&&(i=n+o/2)}if(t.children)for(let s of t.children)({minX:e,minY:r,maxX:a,maxY:i}=tx(s,{minX:e,minY:r,maxX:a,maxY:i}));return{minX:e,minY:r,maxX:a,maxY:i}}function tm(t){let e=t.getBlock("root");if(!e)return;tf(e,t,0,0),tb(e,t),l.log.debug("getBlocks",JSON.stringify(e,null,2));let{minX:r,minY:a,maxX:i,maxY:s}=tx(e);return{x:r,y:a,width:i-r,height:s-a}}(0,l.__name)(tf,"setBlockSizes"),(0,l.__name)(tb,"layoutBlocks"),(0,l.__name)(tx,"findBounds"),(0,l.__name)(tm,"layout");var t_=(0,l.__name)(async(t,e,r,a=!1,s=!1)=>{let l=e||"";"object"==typeof l&&(l=l[0]);let o=(0,n.getConfig2)(),c=(0,n.getEffectiveHtmlLabels)(o);return await (0,i.createText)(t,l,{style:r,isTitle:a,useHtmlLabels:c,markdown:!1,isNode:s,width:1/0},o)},"createLabel"),tw=(0,l.__name)((t,e,r,a,i)=>{e.arrowTypeStart&&tL(t,"start",e.arrowTypeStart,r,a,i),e.arrowTypeEnd&&tL(t,"end",e.arrowTypeEnd,r,a,i)},"addEdgeMarkers"),tk={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},tL=(0,l.__name)((t,e,r,a,i,s)=>{let n=tk[r];n?t.attr(`marker-${e}`,`url(${a}#${i}_${s}-${n}${"start"===e?"Start":"End"})`):l.log.warn(`Unknown arrow type: ${r}`)},"addEdgeMarker"),tS={},tE={},tT=(0,l.__name)(async(t,e)=>{let a,s=(0,n.getConfig2)(),l=(0,n.getEffectiveHtmlLabels)(s),o=t.insert("g").attr("class","edgeLabel"),c=o.insert("g").attr("class","label"),d="markdown"===e.labelType,h=await (0,i.createText)(t,e.label,{style:e.labelStyle,useHtmlLabels:l,addSvgBackground:d,isNode:!1,markdown:d,width:d?void 0:1/0},s);c.node().appendChild(h);let g=h.getBBox(),u=g;if(l){let t=h.children[0],e=(0,p.select)(h);u=g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}else{let t=(0,p.select)(h).select("text").node();t&&"function"==typeof t.getBBox&&(u=t.getBBox())}if(c.attr("transform",(0,r.computeLabelTransform)(u,l)),tS[e.id]=o,e.width=g.width,e.height=g.height,e.startLabelLeft){let i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner"),n=await t_(s,e.startLabelLeft,e.labelStyle);a=n;let o=n.getBBox();if(l){let t=n.children[0],e=(0,p.select)(n);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}s.attr("transform",(0,r.computeLabelTransform)(o,l)),tE[e.id]||(tE[e.id]={}),tE[e.id].startLeft=i,tD(a,e.startLabelLeft)}if(e.startLabelRight){let i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner"),n=await t_(s,e.startLabelRight,e.labelStyle);a=n;let o=n.getBBox();if(l){let t=n.children[0],e=(0,p.select)(n);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}s.attr("transform",(0,r.computeLabelTransform)(o,l)),tE[e.id]||(tE[e.id]={}),tE[e.id].startRight=i,tD(a,e.startLabelRight)}if(e.endLabelLeft){let i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner"),n=await t_(i,e.endLabelLeft,e.labelStyle);a=n;let o=n.getBBox();if(l){let t=n.children[0],e=(0,p.select)(n);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}s.attr("transform",(0,r.computeLabelTransform)(o,l)),tE[e.id]||(tE[e.id]={}),tE[e.id].endLeft=i,tD(a,e.endLabelLeft)}if(e.endLabelRight){let i=t.insert("g").attr("class","edgeTerminals"),s=i.insert("g").attr("class","inner"),n=await t_(i,e.endLabelRight,e.labelStyle);a=n;let o=n.getBBox();if(l){let t=n.children[0],e=(0,p.select)(n);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height)}s.attr("transform",(0,r.computeLabelTransform)(o,l)),tE[e.id]||(tE[e.id]={}),tE[e.id].endRight=i,tD(a,e.endLabelRight)}return h},"insertEdgeLabel");function tD(t,e){(0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.__name)(tD,"setTerminalWidth");var t$=(0,l.__name)((t,e)=>{l.log.debug("Moving label abc88 ",t.id,t.label,tS[t.id],e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,n.getConfig2)(),{subGraphTitleTotalMargin:o}=(0,a.getSubGraphTitleMargins)(i);if(t.label){let a=tS[t.id],i=t.x,n=t.y;if(r){let a=s.utils_default.calcLabelPosition(r);l.log.debug("Moving label "+t.label+" from (",i,",",n,") to (",a.x,",",a.y,") abc88"),e.updatedPath&&(i=a.x,n=a.y)}a.attr("transform",`translate(${i}, ${n+o/2})`)}if(t.startLabelLeft){let e=tE[t.id].startLeft,a=t.x,i=t.y;if(r){let e=s.utils_default.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.startLabelRight){let e=tE[t.id].startRight,a=t.x,i=t.y;if(r){let e=s.utils_default.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.endLabelLeft){let e=tE[t.id].endLeft,a=t.x,i=t.y;if(r){let e=s.utils_default.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}if(t.endLabelRight){let e=tE[t.id].endRight,a=t.x,i=t.y;if(r){let e=s.utils_default.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);a=e.x,i=e.y}e.attr("transform",`translate(${a}, ${i})`)}},"positionEdgeLabel"),tC=(0,l.__name)((t,e)=>{let r=t.x,a=t.y,i=Math.abs(e.x-r),s=Math.abs(e.y-a),n=t.width/2,l=t.height/2;return!!(i>=n)||!!(s>=l)},"outsideNode"),tv=(0,l.__name)((t,e,r)=>{l.log.debug(`intersection calc abc89:
|
|
125
|
-
outsidePoint: ${JSON.stringify(e)}
|
|
126
|
-
insidePoint : ${JSON.stringify(r)}
|
|
127
|
-
node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let a=t.x,i=t.y,s=Math.abs(a-r.x),n=t.width/2,o=r.x<e.x?n-s:n+s,c=t.height/2,d=Math.abs(e.y-r.y),h=Math.abs(e.x-r.x);if(Math.abs(i-e.y)*n>Math.abs(a-e.x)*c){let t=r.y<e.y?e.y-c-i:i-c-e.y;o=h*t/d;let a={x:r.x<e.x?r.x+o:r.x-h+o,y:r.y<e.y?r.y+d-t:r.y-d+t};return 0===o&&(a.x=e.x,a.y=e.y),0===h&&(a.x=e.x),0===d&&(a.y=e.y),l.log.debug(`abc89 topp/bott calc, Q ${d}, q ${t}, R ${h}, r ${o}`,a),a}{let t=d*(o=r.x<e.x?e.x-n-a:a-n-e.x)/h,i=r.x<e.x?r.x+h-o:r.x-h+o,s=r.y<e.y?r.y+t:r.y-t;return l.log.debug(`sides calc abc89, Q ${d}, q ${t}, R ${h}, r ${o}`,{_x:i,_y:s}),0===o&&(i=e.x,s=e.y),0===h&&(i=e.x),0===d&&(s=e.y),{x:i,y:s}}},"intersection"),tI=(0,l.__name)((t,e)=>{l.log.debug("abc88 cutPathAtIntersect",t,e);let r=[],a=t[0],i=!1;return t.forEach(t=>{if(tC(e,t)||i)a=t,i||r.push(t);else{let s=tv(e,a,t),n=!1;r.forEach(t=>{n=n||t.x===s.x&&t.y===s.y}),r.some(t=>t.x===s.x&&t.y===s.y)||r.push(s),i=!0}}),r},"cutPathAtIntersect"),tN=(0,l.__name)(function(t,e,a,i,s,o,c){let d,h=a.points;l.log.debug("abc88 InsertEdge: edge=",a,"e=",e);let g=!1,u=o.node(e.v);var y=o.node(e.w);y?.intersect&&u?.intersect&&((h=h.slice(1,a.points.length-1)).unshift(u.intersect(h[0])),h.push(y.intersect(h[h.length-1]))),a.toCluster&&(l.log.debug("to cluster abc88",i[a.toCluster]),h=tI(a.points,i[a.toCluster].node),g=!0),a.fromCluster&&(l.log.debug("from cluster abc88",i[a.fromCluster]),h=tI(h.reverse(),i[a.fromCluster].node).reverse(),g=!0);let p=h.filter(t=>!Number.isNaN(t.y)),f=x.curveBasis;a.curve&&("graph"===s||"flowchart"===s)&&(f=a.curve);let{x:m,y:_}=(0,r.getLineFunctionsWithOffset)(a),w=(0,b.line)().x(m).y(_).curve(f);switch(a.thickness){case"normal":d="edge-thickness-normal";break;case"thick":case"invisible":d="edge-thickness-thick";break;default:d=""}switch(a.pattern){case"solid":d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}let k=t.append("path").attr("d",w(p)).attr("id",a.id).attr("class"," "+d+(a.classes?" "+a.classes:"")).attr("style",a.style),L="";((0,n.getConfig2)().flowchart.arrowMarkerAbsolute||(0,n.getConfig2)().state.arrowMarkerAbsolute)&&(L=(0,n.getUrl)(!0)),tw(k,a,L,c,s);let S={};return g&&(S.updatedPath=h),S.originalPath=a.points,S},"insertEdge"),tB=(0,l.__name)(t=>{let e=new Set;for(let r of t)switch(r){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(r)}return e},"expandAndDeduplicateDirections"),tO=(0,l.__name)((t,e,r,a)=>{let i=tB(t),s=e.height+2*r.padding,n=s/2,l=a??e.width+2*n+r.padding,o=r.padding/2;return i.has("right")&&i.has("left")&&i.has("up")&&i.has("down")?[{x:0,y:0},{x:n,y:0},{x:l/2,y:2*o},{x:l-n,y:0},{x:l,y:0},{x:l,y:-s/3},{x:l+2*o,y:-s/2},{x:l,y:-2*s/3},{x:l,y:-s},{x:l-n,y:-s},{x:l/2,y:-s-2*o},{x:n,y:-s},{x:0,y:-s},{x:0,y:-2*s/3},{x:-2*o,y:-s/2},{x:0,y:-s/3}]:i.has("right")&&i.has("left")&&i.has("up")?[{x:n,y:0},{x:l-n,y:0},{x:l,y:-s/2},{x:l-n,y:-s},{x:n,y:-s},{x:0,y:-s/2}]:i.has("right")&&i.has("left")&&i.has("down")?[{x:0,y:0},{x:n,y:-s},{x:l-n,y:-s},{x:l,y:0}]:i.has("right")&&i.has("up")&&i.has("down")?[{x:0,y:0},{x:l,y:-n},{x:l,y:-s+n},{x:0,y:-s}]:i.has("left")&&i.has("up")&&i.has("down")?[{x:l,y:0},{x:0,y:-n},{x:0,y:-s+n},{x:l,y:-s}]:i.has("right")&&i.has("left")?[{x:n,y:0},{x:n,y:-o},{x:l-n,y:-o},{x:l-n,y:0},{x:l,y:-s/2},{x:l-n,y:-s},{x:l-n,y:-s+o},{x:n,y:-s+o},{x:n,y:-s},{x:0,y:-s/2}]:i.has("up")&&i.has("down")?[{x:l/2,y:0},{x:0,y:-o},{x:n,y:-o},{x:n,y:-s+o},{x:0,y:-s+o},{x:l/2,y:-s},{x:l,y:-s+o},{x:l-n,y:-s+o},{x:l-n,y:-o},{x:l,y:-o}]:i.has("right")&&i.has("up")?[{x:0,y:0},{x:l,y:-n},{x:0,y:-s}]:i.has("right")&&i.has("down")?[{x:0,y:0},{x:l,y:0},{x:0,y:-s}]:i.has("left")&&i.has("up")?[{x:l,y:0},{x:0,y:-n},{x:l,y:-s}]:i.has("left")&&i.has("down")?[{x:l,y:0},{x:0,y:0},{x:l,y:-s}]:i.has("right")?[{x:n,y:-o},{x:n,y:-o},{x:l-n,y:-o},{x:l-n,y:0},{x:l,y:-s/2},{x:l-n,y:-s},{x:l-n,y:-s+o},{x:n,y:-s+o},{x:n,y:-s+o}]:i.has("left")?[{x:n,y:0},{x:n,y:-o},{x:l-n,y:-o},{x:l-n,y:-s+o},{x:n,y:-s+o},{x:n,y:-s},{x:0,y:-s/2}]:i.has("up")?[{x:n,y:-o},{x:n,y:-s+o},{x:0,y:-s+o},{x:l/2,y:-s},{x:l,y:-s+o},{x:l-n,y:-s+o},{x:l-n,y:-o}]:i.has("down")?[{x:l/2,y:0},{x:0,y:-o},{x:n,y:-o},{x:n,y:-s+o},{x:l-n,y:-s+o},{x:l-n,y:-o},{x:l,y:-o}]:[{x:0,y:0}]},"getArrowPoints");function tA(t,e,r,a){var i=t.x,s=t.y,n=i-a.x,l=s-a.y,o=Math.sqrt(e*e*l*l+r*r*n*n),c=Math.abs(e*r*n/o);a.x<i&&(c=-c);var d=Math.abs(e*r*l/o);return a.y<s&&(d=-d),{x:i+c,y:s+d}}function tR(t,e,r){return tA(t,e,e,r)}function tz(t,e,r,a){var i,s,n,l,o,c,d,h,g,u,y,p,f;if(i=e.y-t.y,n=t.x-e.x,o=e.x*t.y-t.x*e.y,g=i*r.x+n*r.y+o,u=i*a.x+n*a.y+o,!(0!==g&&0!==u&&tM(g,u))){if((s=a.y-r.y,l=r.x-a.x,c=a.x*r.y-r.x*a.y,d=s*t.x+l*t.y+c,h=s*e.x+l*e.y+c,!(0!==d&&0!==h&&tM(d,h)))&&0!=(y=i*l-s*n))return p=Math.abs(y/2),{x:(f=n*c-l*o)<0?(f-p)/y:(f+p)/y,y:(f=s*o-i*c)<0?(f-p)/y:(f+p)/y}}}function tM(t,e){return t*e>0}function tP(t,e,r){var a=t.x,i=t.y,s=[],n=1/0,l=1/0;"function"==typeof e.forEach?e.forEach(function(t){n=Math.min(n,t.x),l=Math.min(l,t.y)}):(n=Math.min(n,e.x),l=Math.min(l,e.y));for(var o=a-t.width/2-n,c=i-t.height/2-l,d=0;d<e.length;d++){var h=e[d],g=e[d<e.length-1?d+1:0],u=tz(t,r,{x:o+h.x,y:c+h.y},{x:o+g.x,y:c+g.y});u&&s.push(u)}return s.length?(s.length>1&&s.sort(function(t,e){var a=t.x-r.x,i=t.y-r.y,s=Math.sqrt(a*a+i*i),n=e.x-r.x,l=e.y-r.y,o=Math.sqrt(n*n+l*l);return s<o?-1:+(s!==o)}),s[0]):t}(0,l.__name)(function(t,e){return t.intersect(e)},"intersectNode"),(0,l.__name)(tA,"intersectEllipse"),(0,l.__name)(tR,"intersectCircle"),(0,l.__name)(tz,"intersectLine"),(0,l.__name)(tM,"sameSign"),(0,l.__name)(tP,"intersectPolygon");var tj=(0,l.__name)((t,e)=>{var r,a,i=t.x,s=t.y,n=e.x-i,l=e.y-s,o=t.width/2,c=t.height/2;return Math.abs(l)*o>Math.abs(n)*c?(l<0&&(c=-c),r=0===l?0:c*n/l,a=c):(n<0&&(o=-o),r=o,a=0===n?0:o*l/n),{x:i+r,y:s+a}},"intersectRect"),tH=(0,l.__name)(async(t,e,r,l)=>{let o,c,d=(0,n.getConfig2)(),h=e.useHtmlLabels||(0,n.getEffectiveHtmlLabels)(d),g=t.insert("g").attr("class",r||"node default").attr("id",e.domId||e.id),u=g.insert("g").attr("class","label").attr("style",e.labelStyle);o=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];let y=(c="markdown"===e.labelType?(0,i.createText)(u,(0,n.sanitizeText)((0,s.decodeEntities)(o),d),{useHtmlLabels:h,width:e.width||d.flowchart.wrappingWidth,classes:"markdown-node-label"},d):await t_(u,(0,n.sanitizeText)((0,s.decodeEntities)(o),d),e.labelStyle,!1,l)).getBBox(),f=e.padding/2;if((0,n.getEffectiveHtmlLabels)(d)){let t=c.children[0],e=(0,p.select)(c);await (0,a.configureLabelImages)(t,o),y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}return h?u.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"):u.attr("transform","translate(0, "+-y.height/2+")"),e.centerLabel&&u.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),u.insert("rect",":first-child"),{shapeSvg:g,bbox:y,halfPadding:f,label:u}},"labelHelper"),tW=(0,l.__name)((t,e)=>{let r=e.node().getBBox();t.width=r.width,t.height=r.height},"updateNodeBounds");function tY(t,e,r,a){return t.insert("polygon",":first-child").attr("points",a.map(function(t){return t.x+","+t.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}(0,l.__name)(tY,"insertPolygonShape");var tF=(0,l.__name)(async(t,e)=>{e.useHtmlLabels||(0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())||(e.centerLabel=!0);let{shapeSvg:r,bbox:a,halfPadding:i}=await tH(t,e,"node "+e.classes,!0);l.log.info("Classes = ",e.classes);let s=r.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-a.width/2-i).attr("y",-a.height/2-i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),tW(e,s),e.intersect=function(t){return tj(e,t)},r},"note"),tU=(0,l.__name)(t=>t?" "+t:"","formatClass"),tX=(0,l.__name)((t,e)=>`${e||"node default"}${tU(t.classes)} ${tU(t.class)}`,"getClassesFromNode"),tK=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.width+e.padding+(a.height+e.padding),s=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];l.log.info("Question main (Circle)");let n=tY(r,i,i,s);return n.attr("style",e.style),tW(e,n),e.intersect=function(t){return l.log.warn("Intersect called"),tP(e,s,t)},r},"question"),tZ=(0,l.__name)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return r.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(t){return t.x+","+t.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return tR(e,14,t)},r},"choice"),tq=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=e.positioned?e.height:a.height+e.padding,s=i/4,n=e.positioned?e.width:a.width+2*s+e.padding,l=[{x:s,y:0},{x:n-s,y:0},{x:n,y:-i/2},{x:n-s,y:-i},{x:s,y:-i},{x:0,y:-i/2}],o=tY(r,n,i,l);return o.attr("style",e.style),tW(e,o),e.intersect=function(t){return tP(e,l,t)},r},"hexagon"),tG=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,void 0,!0),i=a.height+2*e.padding,s=i/2,n=a.width+2*s+e.padding,l=e.positioned&&(e.widthInColumns??1)>1&&e.width>n?e.width:n,o=tO(e.directions,a,e,l),c=tY(r,l,i,o);return c.attr("style",e.style),tW(e,c),e.intersect=function(t){return tP(e,o,t)},r},"block_arrow"),tJ=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-s/2,y:0},{x:i,y:0},{x:i,y:-s},{x:-s/2,y:-s},{x:0,y:-s/2}];return tY(r,i,s,n).attr("style",e.style),e.width=i+s,e.height=s,e.intersect=function(t){return tP(e,n,t)},r},"rect_left_inv_arrow"),tV=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-2*s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:s/6,y:-s}],l=tY(r,i,s,n);return l.attr("style",e.style),tW(e,l),e.intersect=function(t){return tP(e,n,t)},r},"lean_right"),tQ=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:2*s/6,y:0},{x:i+s/6,y:0},{x:i-2*s/6,y:-s},{x:-s/6,y:-s}],l=tY(r,i,s,n);return l.attr("style",e.style),tW(e,l),e.intersect=function(t){return tP(e,n,t)},r},"lean_left"),t0=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:-2*s/6,y:0},{x:i+2*s/6,y:0},{x:i-s/6,y:-s},{x:s/6,y:-s}],l=tY(r,i,s,n);return l.attr("style",e.style),tW(e,l),e.intersect=function(t){return tP(e,n,t)},r},"trapezoid"),t1=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:s/6,y:0},{x:i-s/6,y:0},{x:i+2*s/6,y:-s},{x:-2*s/6,y:-s}],l=tY(r,i,s,n);return l.attr("style",e.style),tW(e,l),e.intersect=function(t){return tP(e,n,t)},r},"inv_trapezoid"),t2=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:0,y:0},{x:i+s/2,y:0},{x:i,y:-s/2},{x:i+s/2,y:-s},{x:0,y:-s}],l=tY(r,i,s,n);return l.attr("style",e.style),tW(e,l),e.intersect=function(t){return tP(e,n,t)},r},"rect_right_inv_arrow"),t3=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.width+e.padding,s=i/2,n=s/(2.5+i/50),l=a.height+n+e.padding,o="M 0,"+n+" a "+s+","+n+" 0,0,0 "+i+" 0 a "+s+","+n+" 0,0,0 "+-i+" 0 l 0,"+l+" a "+s+","+n+" 0,0,0 "+i+" 0 l 0,"+-l,c=r.attr("label-offset-y",n).insert("path",":first-child").attr("style",e.style).attr("d",o).attr("transform","translate("+-i/2+","+-(l/2+n)+")");return tW(e,c),e.intersect=function(t){let r=tj(e,t),a=r.x-e.x;if(0!=s&&(Math.abs(a)<e.width/2||Math.abs(a)==e.width/2&&Math.abs(r.y-e.y)>e.height/2-n)){let i=n*n*(1-a*a/(s*s));0!=i&&(i=Math.sqrt(i)),i=n-i,t.y-e.y>0&&(i=-i),r.y+=i}return r},r},"cylinder"),t4=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tH(t,e,"node "+e.classes+" "+e.class,!0),s=r.insert("rect",":first-child"),n=e.positioned?e.width:a.width+e.padding,o=e.positioned?e.height:a.height+e.padding,c=e.positioned?-n/2:-a.width/2-i,d=e.positioned?-o/2:-a.height/2-i;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",d).attr("width",n).attr("height",o),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t9(s,e.props.borders,n,o),t.delete("borders")),t.forEach(t=>{l.log.warn(`Unknown node property ${t}`)})}return tW(e,s),e.intersect=function(t){return tj(e,t)},r},"rect"),t8=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tH(t,e,"node "+e.classes,!0),s=r.insert("rect",":first-child"),n=e.positioned?e.width:a.width+e.padding,o=e.positioned?e.height:a.height+e.padding,c=e.positioned?-n/2:-a.width/2-i,d=e.positioned?-o/2:-a.height/2-i;if(s.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",d).attr("width",n).attr("height",o),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t9(s,e.props.borders,n,o),t.delete("borders")),t.forEach(t=>{l.log.warn(`Unknown node property ${t}`)})}return tW(e,s),e.intersect=function(t){return tj(e,t)},r},"composite"),t5=(0,l.__name)(async(t,e)=>{let{shapeSvg:r}=await tH(t,e,"label",!0);l.log.trace("Classes = ",e.class);let a=r.insert("rect",":first-child");if(a.attr("width",0).attr("height",0),r.attr("class","label edgeLabel"),e.props){let t=new Set(Object.keys(e.props));e.props.borders&&(t9(a,e.props.borders,0,0),t.delete("borders")),t.forEach(t=>{l.log.warn(`Unknown node property ${t}`)})}return tW(e,a),e.intersect=function(t){return tj(e,t)},r},"labelRect");function t9(t,e,r,a){let i=[],s=(0,l.__name)(t=>{i.push(t,0)},"addBorder"),n=(0,l.__name)(t=>{i.push(0,t)},"skipBorder");e.includes("t")?(l.log.debug("add top border"),s(r)):n(r),e.includes("r")?(l.log.debug("add right border"),s(a)):n(a),e.includes("b")?(l.log.debug("add bottom border"),s(r)):n(r),e.includes("l")?(l.log.debug("add left border"),s(a)):n(a),t.attr("stroke-dasharray",i.join(" "))}(0,l.__name)(t9,"applyNodePropertyBorders");var t6=(0,l.__name)(async(t,e)=>{let r;r=e.classes?"node "+e.classes:"node default";let a=t.insert("g").attr("class",r).attr("id",e.domId||e.id),i=a.insert("rect",":first-child"),s=a.insert("line"),o=a.insert("g").attr("class","label"),c=e.labelText.flat?e.labelText.flat():e.labelText,d="";d="object"==typeof c?c[0]:c,l.log.info("Label text abc79",d,c,"object"==typeof c);let h=await t_(o,d,e.labelStyle,!0,!0),g={width:0,height:0};if((0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())){let t=h.children[0],e=(0,p.select)(h);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}l.log.info("Text 2",c);let u=c.slice(1,c.length),y=h.getBBox(),f=await t_(o,u.join?u.join("<br/>"):u,e.labelStyle,!0,!0);if((0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())){let t=f.children[0],e=(0,p.select)(f);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}let b=e.padding/2;return(0,p.select)(f).attr("transform","translate( "+(g.width>y.width?0:(y.width-g.width)/2)+", "+(y.height+b+5)+")"),(0,p.select)(h).attr("transform","translate( "+(g.width<y.width?0:-(y.width-g.width)/2)+", 0)"),g=o.node().getBBox(),o.attr("transform","translate("+-g.width/2+", "+(-g.height/2-b+3)+")"),i.attr("class","outer title-state").attr("x",-g.width/2-b).attr("y",-g.height/2-b).attr("width",g.width+e.padding).attr("height",g.height+e.padding),s.attr("class","divider").attr("x1",-g.width/2-b).attr("x2",g.width/2+b).attr("y1",-g.height/2-b+y.height+b).attr("y2",-g.height/2-b+y.height+b),tW(e,i),e.intersect=function(t){return tj(e,t)},a},"rectWithTitle"),t7=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.height+e.padding,s=a.width+i/4+e.padding,n=r.insert("rect",":first-child").attr("style",e.style).attr("rx",i/2).attr("ry",i/2).attr("x",-s/2).attr("y",-i/2).attr("width",s).attr("height",i);return tW(e,n),e.intersect=function(t){return tj(e,t)},r},"stadium"),et=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tH(t,e,tX(e,void 0),!0),s=r.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),l.log.info("Circle main"),tW(e,s),e.intersect=function(t){return l.log.info("Circle intersect",e,a.width/2+i,t),tR(e,a.width/2+i,t)},r},"circle"),ee=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a,halfPadding:i}=await tH(t,e,tX(e,void 0),!0),s=r.insert("g",":first-child"),n=s.insert("circle"),o=s.insert("circle");return s.attr("class",e.class),n.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i+5).attr("width",a.width+e.padding+10).attr("height",a.height+e.padding+10),o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",a.width/2+i).attr("width",a.width+e.padding).attr("height",a.height+e.padding),l.log.info("DoubleCircle main"),tW(e,n),e.intersect=function(t){return l.log.info("DoubleCircle intersect",e,a.width/2+i+5,t),tR(e,a.width/2+i+5,t)},r},"doublecircle"),er=(0,l.__name)(async(t,e)=>{let{shapeSvg:r,bbox:a}=await tH(t,e,tX(e,void 0),!0),i=a.width+e.padding,s=a.height+e.padding,n=[{x:0,y:0},{x:i,y:0},{x:i,y:-s},{x:0,y:-s},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-s},{x:-8,y:-s},{x:-8,y:0}],l=tY(r,i,s,n);return l.attr("style",e.style),tW(e,l),e.intersect=function(t){return tP(e,n,t)},r},"subroutine"),ea=(0,l.__name)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child");return a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),tW(e,a),e.intersect=function(t){return tR(e,7,t)},r},"start"),ei=(0,l.__name)((t,e,r)=>{let a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=70,s=10;return"LR"===r&&(i=10,s=70),tW(e,a.append("rect").attr("x",-1*i/2).attr("y",-1*s/2).attr("width",i).attr("height",s).attr("class","fork-join")),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return tj(e,t)},a},"forkJoin"),es={rhombus:tK,composite:t8,question:tK,rect:t4,labelRect:t5,rectWithTitle:t6,choice:tZ,circle:et,doublecircle:ee,stadium:t7,hexagon:tq,block_arrow:tG,rect_left_inv_arrow:tJ,lean_right:tV,lean_left:tQ,trapezoid:t0,inv_trapezoid:t1,rect_right_inv_arrow:t2,cylinder:t3,start:ea,end:(0,l.__name)((t,e)=>{let r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),a=r.insert("circle",":first-child"),i=r.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),a.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),tW(e,i),e.intersect=function(t){return tR(e,7,t)},r},"end"),note:tF,subroutine:er,fork:ei,join:ei,class_box:(0,l.__name)(async(t,e)=>{let r,a=e.padding/2;r=e.classes?"node "+e.classes:"node default";let i=t.insert("g").attr("class",r).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),l=i.insert("line"),o=i.insert("line"),c=0,d=4,h=i.insert("g").attr("class","label"),g=0,u=e.classData.annotations?.[0],y=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",f=await t_(h,y,e.labelStyle,!0,!0),b=f.getBBox();if((0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())){let t=f.children[0],e=(0,p.select)(f);b=t.getBoundingClientRect(),e.attr("width",b.width),e.attr("height",b.height)}e.classData.annotations[0]&&(d+=b.height+4,c+=b.width);let x=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())?x+="<"+e.classData.type+">":x+="<"+e.classData.type+">");let m=await t_(h,x,e.labelStyle,!0,!0);(0,p.select)(m).attr("class","classTitle");let _=m.getBBox();if((0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())){let t=m.children[0],e=(0,p.select)(m);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}d+=_.height+4,_.width>c&&(c=_.width);let w=[];e.classData.members.forEach(async t=>{let r=t.getDisplayDetails(),a=r.displayText;(0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())&&(a=a.replace(/</g,"<").replace(/>/g,">"));let i=await t_(h,a,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0),s=i.getBBox();if((0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())){let t=i.children[0],e=(0,p.select)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>c&&(c=s.width),d+=s.height+4,w.push(i)}),d+=8;let k=[];if(e.classData.methods.forEach(async t=>{let r=t.getDisplayDetails(),a=r.displayText;(0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())&&(a=a.replace(/</g,"<").replace(/>/g,">"));let i=await t_(h,a,r.cssStyle?r.cssStyle:e.labelStyle,!0,!0),s=i.getBBox();if((0,n.getEffectiveHtmlLabels)((0,n.getConfig2)())){let t=i.children[0],e=(0,p.select)(i);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>c&&(c=s.width),d+=s.height+4,k.push(i)}),d+=8,u){let t=(c-b.width)/2;(0,p.select)(f).attr("transform","translate( "+(-1*c/2+t)+", "+-1*d/2+")"),g=b.height+4}let L=(c-_.width)/2;return(0,p.select)(m).attr("transform","translate( "+(-1*c/2+L)+", "+(-1*d/2+g)+")"),g+=_.height+4,l.attr("class","divider").attr("x1",-c/2-a).attr("x2",c/2+a).attr("y1",-d/2-a+8+g).attr("y2",-d/2-a+8+g),g+=8,w.forEach(t=>{(0,p.select)(t).attr("transform","translate( "+-c/2+", "+(-1*d/2+g+4)+")");let e=t?.getBBox();g+=(e?.height??0)+4}),g+=8,o.attr("class","divider").attr("x1",-c/2-a).attr("x2",c/2+a).attr("y1",-d/2-a+8+g).attr("y2",-d/2-a+8+g),g+=8,k.forEach(t=>{(0,p.select)(t).attr("transform","translate( "+-c/2+", "+(-1*d/2+g)+")");let e=t?.getBBox();g+=(e?.height??0)+4}),s.attr("style",e.style).attr("class","outer title-state").attr("x",-c/2-a).attr("y",-(d/2)-a).attr("width",c+e.padding).attr("height",d+e.padding),tW(e,s),e.intersect=function(t){return tj(e,t)},i},"class_box")},en={},el=(0,l.__name)(async(t,e,r)=>{let a,i;if(e.link){let s;"sandbox"===(0,n.getConfig2)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),a=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await es[e.shape](a,e,r)}else a=i=await es[e.shape](t,e,r);return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),en[e.id]=a,e.haveCallback&&en[e.id].attr("class",en[e.id].attr("class")+" clickable"),a},"insertNode"),eo=(0,l.__name)(t=>{let e=en[t.id];l.log.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode");function ec(t,e,r=!1){let a,i="default";(t?.classes?.length||0)>0&&(i=(t?.classes??[]).join(" ")),i+=" flowchart-label";let l=0,o="";switch(t.type){case"round":l=5,o="rect";break;case"composite":l=0,o="composite",a=0;break;case"square":case"group":default:o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"block_arrow":o="block_arrow";break;case"odd":case"rect_left_inv_arrow":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"doublecircle":o="doublecircle"}let c=(0,s.getStylesFromArray)(t?.styles??[]),d=t.label,h=t.size??{width:0,height:0,x:0,y:0},g=e.getDiagramId();return{labelStyle:c.labelStyle,shape:o,labelText:d,rx:l,ry:l,class:i,style:c.style,id:t.id,domId:g?`${g}-${t.id}`:t.id,directions:t.directions,width:h.width,height:h.height,x:h.x,y:h.y,positioned:r,intersect:void 0,type:t.type,padding:a??(0,n.getConfig)()?.block?.padding??0,widthInColumns:t.widthInColumns??1}}async function ed(t,e,r){let a=ec(e,r,!1);if("group"===a.type)return;let i=(0,n.getConfig)(),s=await el(t,a,{config:i}),l=s.node().getBBox(),o=r.getBlock(a.id);o.size={width:l.width,height:l.height,x:0,y:0,node:s},r.setBlock(o),s.remove()}async function eh(t,e,r){let a=ec(e,r,!0);if("space"!==r.getBlock(a.id).type){let r=(0,n.getConfig)();await el(t,a,{config:r}),e.intersect=a?.intersect,eo(a)}}async function eg(t,e,r,a){for(let i of e)await a(t,i,r),i.children&&await eg(t,i.children,r,a)}async function eu(t,e,r){await eg(t,e,r,ed)}async function ey(t,e,r){await eg(t,e,r,eh)}async function ep(t,e,r,a,i){let s=new f.Graph({multigraph:!0,compound:!0});for(let t of(s.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8}),r))t.size&&s.setNode(t.id,{width:t.size.width,height:t.size.height,intersect:t.intersect});for(let r of e)if(r.start&&r.end){let e=a.getBlock(r.start),n=a.getBlock(r.end);if(e?.size&&n?.size){let a=e.size,l=n.size,o=[{x:a.x,y:a.y},{x:a.x+(l.x-a.x)/2,y:a.y+(l.y-a.y)/2},{x:l.x,y:l.y}],c=i?`${i}-${r.id}`:r.id,d="thick"===r.thickness?"edge-thickness-thick":"edge-thickness-normal",h="dotted"===r.pattern?"edge-pattern-dotted":"edge-pattern-solid",g=`${d} ${h} flowchart-link LS-a1 LE-b1`;tN(t,{v:r.start,w:r.end,name:c},{...r,id:c,arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:o,classes:g},void 0,"block",s,i),r.label&&(await tT(t,{...r,label:r.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:r.arrowTypeEnd,arrowTypeStart:r.arrowTypeStart,points:o,classes:g}),t$({...r,x:o[1].x,y:o[1].y},{originalPath:o}))}}}(0,l.__name)(ec,"getNodeFromBlock"),(0,l.__name)(ed,"calculateBlockSize"),(0,l.__name)(eh,"insertBlockPositioned"),(0,l.__name)(eg,"performOperations"),(0,l.__name)(eu,"calculateBlockSizes"),(0,l.__name)(ey,"insertBlocks"),(0,l.__name)(ep,"insertEdges");var ef=(0,l.__name)(function(t,e){return e.db.getClasses()},"getClasses"),eb=(0,l.__name)(async function(t,e,r,a){let i,{securityLevel:s,block:o}=(0,n.getConfig)(),c=a.db;c.setDiagramId(e),"sandbox"===s&&(i=(0,p.select)("#i"+e));let d="sandbox"===s?(0,p.select)(i.nodes()[0].contentDocument.body):(0,p.select)("body"),h="sandbox"===s?d.select(`[id="${e}"]`):(0,p.select)(`[id="${e}"]`);ti(h,["point","circle","cross"],a.type,e);let g=c.getBlocks(),u=c.getBlocksFlat(),y=c.getEdges(),f=h.insert("g").attr("class","block");await eu(f,g,c);let b=tm(c);if(await ey(f,g,c),await ep(f,y,u,c,e),b){let t=Math.max(1,Math.round(.125*(b.width/b.height))),e=b.height+t+10,r=b.width+10,{useMaxWidth:a}=o;(0,n.configureSvgSize)(h,e,r,!!a),l.log.debug("Here Bounds",b,b),h.attr("viewBox",`${b.x-5} ${b.y-5} ${b.width+10} ${b.height+10}`)}},"draw");t.s(["diagram",0,{parser:m,db:te,renderer:{draw:eb,getClasses:ef},styles:ta}],638987)}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,484135,e=>{"use strict";var i=e.i(127129);e.i(539927),e.s([],712376),e.i(712376),e.s(["createTreeViewServices",()=>i.createTreeViewServices],484135)}]);
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,569696,t=>{"use strict";var e=t.i(895727),i=t.i(526290);t.s(["channel",0,(t,s)=>e.default.lang.round(i.default.parse(t)[s])],569696)},443578,t=>{"use strict";var e=t.i(908381),i=t.i(171206),s=(0,i.__name)((t,s,r,o)=>{t.attr("class",r);let{width:c,height:l,x:h,y:u}=n(t,s);(0,e.configureSvgSize)(t,l,c,o);let d=a(h,u,c,l,s);t.attr("viewBox",d),i.log.debug(`viewBox configured: ${d} with padding: ${s}`)},"setupViewPortForSVG"),n=(0,i.__name)((t,e)=>{let i=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+2*e,height:i.height+2*e,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),a=(0,i.__name)((t,e,i,s,n)=>`${t-n} ${e-n} ${i} ${s}`,"createViewBox");t.s(["setupViewPortForSVG",0,s])},707510,t=>{"use strict";var e=t.i(171206);t.i(947716);var i=t.i(723685),s=(0,e.__name)((t,e)=>{let s;return"sandbox"===e&&(s=(0,i.select)("#i"+t)),("sandbox"===e?(0,i.select)(s.nodes()[0].contentDocument.body):(0,i.select)("body")).select(`[id="${t}"]`)},"getDiagramElement");t.s(["getDiagramElement",0,s])},829945,t=>{"use strict";var e=t.i(707510),i=t.i(443578),s=t.i(233755);t.i(95547),t.i(609003),t.i(347578),t.i(136013),t.i(620144),t.i(864421);var n=t.i(669587),a=t.i(908381),r=t.i(171206);t.i(947716);var o=t.i(723685),c=t.i(569696),l=t.i(950241),h=function(){var t=(0,r.__name)(function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},"o"),e=[6,8,10,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52],i=[1,10],s=[1,11],n=[1,12],a=[1,13],o=[1,23],c=[1,24],l=[1,25],h=[1,26],u=[1,27],d=[1,19],_=[1,28],y=[1,29],p=[1,20],g=[1,18],m=[1,21],b=[1,22],f=[1,36],E=[1,37],k=[1,38],T=[1,39],O=[1,40],S=[6,8,10,13,15,17,20,21,22,24,26,28,33,34,35,36,37,40,43,44,48,50,51,52,65,66,67,68,69],A=[1,45],N=[1,46],C=[1,55],I=[40,48,50,51,52,70,71],R=[1,66],$=[1,64],x=[1,61],D=[1,65],v=[1,67],w=[6,8,10,13,17,22,24,26,28,33,34,35,36,37,40,41,42,43,44,48,49,50,51,52,65,66,67,68,69],L=[65,66,67,68,69],M=[1,84],B=[1,83],F=[1,81],P=[1,82],Y=[6,10,42,47],z=[6,10,13,41,42,47,48,49],G=[1,92],K=[1,91],U=[1,90],Z=[19,58],j=[1,101],W=[1,100],V=[19,58,60,62],Q={trace:(0,r.__name)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,COLON:13,role:14,STYLE_SEPARATOR:15,idList:16,BLOCK_START:17,attributes:18,BLOCK_STOP:19,SQS:20,SQE:21,title:22,title_value:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,direction:29,classDefStatement:30,classStatement:31,styleStatement:32,direction_tb:33,direction_bt:34,direction_rl:35,direction_lr:36,CLASSDEF:37,stylesOpt:38,separator:39,UNICODE_TEXT:40,STYLE_TEXT:41,COMMA:42,CLASS:43,STYLE:44,style:45,styleComponent:46,SEMI:47,NUM:48,BRKT:49,ENTITY_NAME:50,DECIMAL_NUM:51,ENTITY_ONE:52,attribute:53,attributeType:54,attributeName:55,attributeKeyTypeList:56,attributeComment:57,ATTRIBUTE_WORD:58,attributeKeyType:59,",":60,ATTRIBUTE_KEY:61,COMMENT:62,cardinality:63,relType:64,ZERO_OR_ONE:65,ZERO_OR_MORE:66,ONE_OR_MORE:67,ONLY_ONE:68,MD_PARENT:69,NON_IDENTIFYING:70,IDENTIFYING:71,WORD:72,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:"COLON",15:"STYLE_SEPARATOR",17:"BLOCK_START",19:"BLOCK_STOP",20:"SQS",21:"SQE",22:"title",23:"title_value",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"direction_tb",34:"direction_bt",35:"direction_rl",36:"direction_lr",37:"CLASSDEF",40:"UNICODE_TEXT",41:"STYLE_TEXT",42:"COMMA",43:"CLASS",44:"STYLE",47:"SEMI",48:"NUM",49:"BRKT",50:"ENTITY_NAME",51:"DECIMAL_NUM",52:"ENTITY_ONE",58:"ATTRIBUTE_WORD",60:",",61:"ATTRIBUTE_KEY",62:"COMMENT",65:"ZERO_OR_ONE",66:"ZERO_OR_MORE",67:"ONE_OR_MORE",68:"ONLY_ONE",69:"MD_PARENT",70:"NON_IDENTIFYING",71:"IDENTIFYING",72:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,9],[9,7],[9,7],[9,4],[9,6],[9,3],[9,5],[9,1],[9,3],[9,7],[9,9],[9,6],[9,8],[9,4],[9,6],[9,2],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[9,1],[29,1],[29,1],[29,1],[29,1],[30,4],[16,1],[16,1],[16,3],[16,3],[31,3],[32,4],[38,1],[38,3],[45,1],[45,2],[39,1],[39,1],[39,1],[46,1],[46,1],[46,1],[46,1],[11,1],[11,1],[11,1],[11,1],[11,1],[18,1],[18,2],[53,2],[53,3],[53,3],[53,4],[54,1],[55,1],[56,1],[56,3],[59,1],[57,1],[12,3],[63,1],[63,1],[63,1],[63,1],[63,1],[64,1],[64,1],[14,1],[14,1],[14,1]],performAction:(0,r.__name)(function(t,e,i,s,n,a,r){var o=a.length-1;switch(n){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:a[o-1].push(a[o]),this.$=a[o-1];break;case 4:case 5:case 55:case 56:case 57:case 58:case 81:case 65:case 66:case 69:this.$=a[o];break;case 8:s.addEntity(a[o-4]),s.addEntity(a[o-2]),s.addRelationship(a[o-4],a[o],a[o-2],a[o-3]);break;case 9:s.addEntity(a[o-8]),s.addEntity(a[o-4]),s.addRelationship(a[o-8],a[o],a[o-4],a[o-5]),s.setClass([a[o-8]],a[o-6]),s.setClass([a[o-4]],a[o-2]);break;case 10:s.addEntity(a[o-6]),s.addEntity(a[o-2]),s.addRelationship(a[o-6],a[o],a[o-2],a[o-3]),s.setClass([a[o-6]],a[o-4]);break;case 11:s.addEntity(a[o-6]),s.addEntity(a[o-4]),s.addRelationship(a[o-6],a[o],a[o-4],a[o-5]),s.setClass([a[o-4]],a[o-2]);break;case 12:s.addEntity(a[o-3]),s.addAttributes(a[o-3],a[o-1]);break;case 13:s.addEntity(a[o-5]),s.addAttributes(a[o-5],a[o-1]),s.setClass([a[o-5]],a[o-3]);break;case 14:s.addEntity(a[o-2]);break;case 15:s.addEntity(a[o-4]),s.setClass([a[o-4]],a[o-2]);break;case 16:s.addEntity(a[o]);break;case 17:s.addEntity(a[o-2]),s.setClass([a[o-2]],a[o]);break;case 18:s.addEntity(a[o-6],a[o-4]),s.addAttributes(a[o-6],a[o-1]);break;case 19:s.addEntity(a[o-8],a[o-6]),s.addAttributes(a[o-8],a[o-1]),s.setClass([a[o-8]],a[o-3]);break;case 20:s.addEntity(a[o-5],a[o-3]);break;case 21:s.addEntity(a[o-7],a[o-5]),s.setClass([a[o-7]],a[o-2]);break;case 22:s.addEntity(a[o-3],a[o-1]);break;case 23:s.addEntity(a[o-5],a[o-3]),s.setClass([a[o-5]],a[o]);break;case 24:case 25:this.$=a[o].trim(),s.setAccTitle(this.$);break;case 26:case 27:this.$=a[o].trim(),s.setAccDescription(this.$);break;case 32:s.setDirection("TB");break;case 33:s.setDirection("BT");break;case 34:s.setDirection("RL");break;case 35:s.setDirection("LR");break;case 36:this.$=a[o-3],s.addClass(a[o-2],a[o-1]);break;case 37:case 38:case 59:case 67:case 43:this.$=[a[o]];break;case 39:case 40:this.$=a[o-2].concat([a[o]]);break;case 41:this.$=a[o-2],s.setClass(a[o-1],a[o]);break;case 42:this.$=a[o-3],s.addCssStyles(a[o-2],a[o-1]);break;case 44:case 68:a[o-2].push(a[o]),this.$=a[o-2];break;case 46:this.$=a[o-1]+a[o];break;case 54:case 79:case 80:case 70:this.$=a[o].replace(/"/g,"");break;case 60:a[o].push(a[o-1]),this.$=a[o];break;case 61:this.$={type:a[o-1],name:a[o]};break;case 62:this.$={type:a[o-2],name:a[o-1],keys:a[o]};break;case 63:this.$={type:a[o-2],name:a[o-1],comment:a[o]};break;case 64:this.$={type:a[o-3],name:a[o-2],keys:a[o-1],comment:a[o]};break;case 71:this.$={cardA:a[o],relType:a[o-1],cardB:a[o-2]};break;case 72:this.$=s.Cardinality.ZERO_OR_ONE;break;case 73:this.$=s.Cardinality.ZERO_OR_MORE;break;case 74:this.$=s.Cardinality.ONE_OR_MORE;break;case 75:this.$=s.Cardinality.ONLY_ONE;break;case 76:this.$=s.Cardinality.MD_PARENT;break;case 77:this.$=s.Identification.NON_IDENTIFYING;break;case 78:this.$=s.Identification.IDENTIFYING}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,22:i,24:s,26:n,28:a,29:14,30:15,31:16,32:17,33:o,34:c,35:l,36:h,37:u,40:d,43:_,44:y,48:p,50:g,51:m,52:b},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:30,11:9,22:i,24:s,26:n,28:a,29:14,30:15,31:16,32:17,33:o,34:c,35:l,36:h,37:u,40:d,43:_,44:y,48:p,50:g,51:m,52:b},t(e,[2,5]),t(e,[2,6]),t(e,[2,16],{12:31,63:35,15:[1,32],17:[1,33],20:[1,34],65:f,66:E,67:k,68:T,69:O}),{23:[1,41]},{25:[1,42]},{27:[1,43]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),t(e,[2,30]),t(e,[2,31]),t(S,[2,54]),t(S,[2,55]),t(S,[2,56]),t(S,[2,57]),t(S,[2,58]),t(e,[2,32]),t(e,[2,33]),t(e,[2,34]),t(e,[2,35]),{16:44,40:A,41:N},{16:47,40:A,41:N},{16:48,40:A,41:N},t(e,[2,4]),{11:49,40:d,48:p,50:g,51:m,52:b},{16:50,40:A,41:N},{18:51,19:[1,52],53:53,54:54,58:C},{11:56,40:d,48:p,50:g,51:m,52:b},{64:57,70:[1,58],71:[1,59]},t(I,[2,72]),t(I,[2,73]),t(I,[2,74]),t(I,[2,75]),t(I,[2,76]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),{13:R,38:60,41:$,42:x,45:62,46:63,48:D,49:v},t(w,[2,37]),t(w,[2,38]),{16:68,40:A,41:N,42:x},{13:R,38:69,41:$,42:x,45:62,46:63,48:D,49:v},{13:[1,70],15:[1,71]},t(e,[2,17],{63:35,12:72,17:[1,73],42:x,65:f,66:E,67:k,68:T,69:O}),{19:[1,74]},t(e,[2,14]),{18:75,19:[2,59],53:53,54:54,58:C},{55:76,58:[1,77]},{58:[2,65]},{21:[1,78]},{63:79,65:f,66:E,67:k,68:T,69:O},t(L,[2,77]),t(L,[2,78]),{6:M,10:B,39:80,42:F,47:P},{40:[1,85],41:[1,86]},t(Y,[2,43],{46:87,13:R,41:$,48:D,49:v}),t(z,[2,45]),t(z,[2,50]),t(z,[2,51]),t(z,[2,52]),t(z,[2,53]),t(e,[2,41],{42:x}),{6:M,10:B,39:88,42:F,47:P},{14:89,40:G,50:K,72:U},{16:93,40:A,41:N},{11:94,40:d,48:p,50:g,51:m,52:b},{18:95,19:[1,96],53:53,54:54,58:C},t(e,[2,12]),{19:[2,60]},t(Z,[2,61],{56:97,57:98,59:99,61:j,62:W}),t([19,58,61,62],[2,66]),t(e,[2,22],{15:[1,103],17:[1,102]}),t([40,48,50,51,52],[2,71]),t(e,[2,36]),{13:R,41:$,45:104,46:63,48:D,49:v},t(e,[2,47]),t(e,[2,48]),t(e,[2,49]),t(w,[2,39]),t(w,[2,40]),t(z,[2,46]),t(e,[2,42]),t(e,[2,8]),t(e,[2,79]),t(e,[2,80]),t(e,[2,81]),{13:[1,105],42:x},{13:[1,107],15:[1,106]},{19:[1,108]},t(e,[2,15]),t(Z,[2,62],{57:109,60:[1,110],62:W}),t(Z,[2,63]),t(V,[2,67]),t(Z,[2,70]),t(V,[2,69]),{18:111,19:[1,112],53:53,54:54,58:C},{16:113,40:A,41:N},t(Y,[2,44],{46:87,13:R,41:$,48:D,49:v}),{14:114,40:G,50:K,72:U},{16:115,40:A,41:N},{14:116,40:G,50:K,72:U},t(e,[2,13]),t(Z,[2,64]),{59:117,61:j},{19:[1,118]},t(e,[2,20]),t(e,[2,23],{17:[1,119],42:x}),t(e,[2,11]),{13:[1,120],42:x},t(e,[2,10]),t(V,[2,68]),t(e,[2,18]),{18:121,19:[1,122],53:53,54:54,58:C},{14:123,40:G,50:K,72:U},{19:[1,124]},t(e,[2,21]),t(e,[2,9]),t(e,[2,19])],defaultActions:{55:[2,65],75:[2,60]},parseError:(0,r.__name)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,r.__name)(function(t){var e=this,i=[0],s=[],n=[null],a=[],o=this.table,c="",l=0,h=0,u=0,d=a.slice.call(arguments,1),_=Object.create(this.lexer),y={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(y[p]=this.yy[p]);_.setInput(t,y),y.lexer=_,y.parser=this,void 0===_.yylloc&&(_.yylloc={});var g=_.yylloc;a.push(g);var m=_.options&&_.options.ranges;function b(){var t;return"number"!=typeof(t=s.pop()||_.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.parseError?this.parseError=y.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,r.__name)(function(t){i.length=i.length-2*t,n.length=n.length-t,a.length=a.length-t},"popStack"),(0,r.__name)(b,"lex");for(var f,E,k,T,O,S,A,N,C,I={};;){if(k=i[i.length-1],this.defaultActions[k]?T=this.defaultActions[k]:(null==f&&(f=b()),T=o[k]&&o[k][f]),void 0===T||!T.length||!T[0]){var R="";for(S in C=[],o[k])this.terminals_[S]&&S>2&&C.push("'"+this.terminals_[S]+"'");R=_.showPosition?"Parse error on line "+(l+1)+":\n"+_.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(R,{text:_.match,token:this.terminals_[f]||f,line:_.yylineno,loc:g,expected:C})}if(T[0]instanceof Array&&T.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+f);switch(T[0]){case 1:i.push(f),n.push(_.yytext),a.push(_.yylloc),i.push(T[1]),f=null,E?(f=E,E=null):(h=_.yyleng,c=_.yytext,l=_.yylineno,g=_.yylloc,u>0&&u--);break;case 2:if(A=this.productions_[T[1]][1],I.$=n[n.length-A],I._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},m&&(I._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(O=this.performAction.apply(I,[c,h,l,y,T[1],n,a].concat(d))))return O;A&&(i=i.slice(0,-1*A*2),n=n.slice(0,-1*A),a=a.slice(0,-1*A)),i.push(this.productions_[T[1]][0]),n.push(I.$),a.push(I._$),N=o[i[i.length-2]][i[i.length-1]],i.push(N);break;case 3:return!0}}return!0},"parse")};function X(){this.yy={}}return Q.lexer={EOF:1,parseError:(0,r.__name)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,r.__name)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,r.__name)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,r.__name)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,r.__name)(function(){return this._more=!0,this},"more"),reject:(0,r.__name)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,r.__name)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,r.__name)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,r.__name)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,r.__name)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,r.__name)(function(t,e){var i,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var a in n)this[a]=n[a];return!1},"test_match"),next:(0,r.__name)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,s,n=this._currentRules(),a=0;a<n.length;a++)if((i=this._input.match(this.rules[n[a]]))&&(!e||i[0].length>e[0].length)){if(e=i,s=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,n[a])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,r.__name)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,r.__name)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,r.__name)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,r.__name)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,r.__name)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,r.__name)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,r.__name)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,r.__name)(function(t,e,i,s){switch(i){case 0:return this.begin("acc_title"),24;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),26;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 33;case 8:return 34;case 9:return 35;case 10:return 36;case 11:return 10;case 12:case 23:case 28:case 35:break;case 13:return 8;case 14:return 50;case 15:return 72;case 16:return 4;case 17:return this.begin("block"),17;case 18:case 19:case 38:return 49;case 20:case 37:return 42;case 21:return 15;case 22:case 36:return 13;case 24:return 61;case 25:case 26:return 58;case 27:return 62;case 29:return this.popState(),19;case 30:case 77:return e.yytext[0];case 31:return 20;case 32:return 21;case 33:return this.begin("style"),44;case 34:return this.popState(),10;case 39:return this.begin("style"),37;case 40:return 43;case 41:case 45:case 46:case 64:return 65;case 42:case 43:case 44:case 52:case 54:case 66:return 67;case 47:case 48:case 49:case 50:case 51:case 53:case 65:return 66;case 55:case 56:case 58:case 59:case 60:case 63:return 68;case 57:return 51;case 61:return 52;case 62:return 48;case 67:return 69;case 68:case 71:case 72:case 73:return 70;case 69:case 70:return 71;case 74:return 41;case 75:return 47;case 76:return 40;case 78:return 6}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:#)/i,/^(?:#)/i,/^(?:,)/i,/^(?::::)/i,/^(?::)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:([^\s]*)[~].*[~]([^\s]*))/i,/^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:style\b)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?::)/i,/^(?:,)/i,/^(?:#)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:[0-9]+\.[0-9]+)/i,/^(?:1(?=\s+[A-Za-z_"']))/i,/^(?:1(?=\s+[0-9]))/i,/^(?:1(?=(--|\.\.|\.-|-\.)))/i,/^(?:1\b)/i,/^(?:[0-9]+)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:u(?=[\.\-\|]))/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:([^\x00-\x7F]|\w|-|\*)+)/i,/^(?:;)/i,/^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,/^(?:.)/i,/^(?:$)/i],conditions:{style:{rules:[34,35,36,37,38,74,75],inclusive:!1},acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[23,24,25,26,27,28,29,30],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,31,32,33,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,76,77,78],inclusive:!0}}},(0,r.__name)(X,"Parser"),X.prototype=Q,Q.Parser=X,new X}();h.parser=h;var u=class{constructor(){this.entities=new Map,this.relationships=[],this.classes=new Map,this.direction="TB",this.Cardinality={ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},this.Identification={NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},this.setAccTitle=a.setAccTitle,this.getAccTitle=a.getAccTitle,this.setAccDescription=a.setAccDescription,this.getAccDescription=a.getAccDescription,this.setDiagramTitle=a.setDiagramTitle,this.getDiagramTitle=a.getDiagramTitle,this.getConfig=(0,r.__name)(()=>(0,a.getConfig2)().er,"getConfig"),this.clear(),this.addEntity=this.addEntity.bind(this),this.addAttributes=this.addAttributes.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setDirection=this.setDirection.bind(this),this.addCssStyles=this.addCssStyles.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{(0,r.__name)(this,"ErDB")}addEntity(t,e=""){return this.entities.has(t)?!this.entities.get(t)?.alias&&e&&(this.entities.get(t).alias=e,r.log.info(`Add alias '${e}' to entity '${t}'`)):(this.entities.set(t,{id:`entity-${t}-${this.entities.size}`,label:t,attributes:[],alias:e,shape:"erBox",look:(0,a.getConfig2)().look??"default",cssClasses:"default",cssStyles:[],labelType:"markdown"}),r.log.info("Added new entity :",t)),this.entities.get(t)}getEntity(t){return this.entities.get(t)}getEntities(){return this.entities}getClasses(){return this.classes}addAttributes(t,e){let i,s=this.addEntity(t);for(i=e.length-1;i>=0;i--)e[i].keys||(e[i].keys=[]),e[i].comment||(e[i].comment=""),s.attributes.push(e[i]),r.log.debug("Added attribute ",e[i].name)}addRelationship(t,e,i,s){let n=this.entities.get(t),a=this.entities.get(i);if(!n||!a)return;let o={entityA:n.id,roleA:e,entityB:a.id,relSpec:s};this.relationships.push(o),r.log.debug("Added new relationship :",o)}getRelationships(){return this.relationships}getDirection(){return this.direction}setDirection(t){this.direction=t}getCompiledStyles(t){let e=[];for(let i of t){let t=this.classes.get(i);t?.styles&&(e=[...e,...t.styles??[]].map(t=>t.trim())),t?.textStyles&&(e=[...e,...t.textStyles??[]].map(t=>t.trim()))}return e}addCssStyles(t,e){for(let i of t){let t=this.entities.get(i);if(!e||!t)return;for(let i of e)t.cssStyles.push(i)}}addClass(t,e){t.forEach(t=>{let i=this.classes.get(t);void 0===i&&(i={id:t,styles:[],textStyles:[]},this.classes.set(t,i)),e&&e.forEach(function(t){if(/color/.exec(t)){let e=t.replace("fill","bgFill");i.textStyles.push(e)}i.styles.push(t)})})}setClass(t,e){for(let i of t){let t=this.entities.get(i);if(t)for(let i of e)t.cssClasses+=" "+i}}clear(){this.entities=new Map,this.classes=new Map,this.relationships=[],(0,a.clear)()}getData(){let t=[],e=[],i=(0,a.getConfig2)(),s=0;for(let e of this.entities.keys()){let i=this.entities.get(e);i&&(i.cssCompiledStyles=this.getCompiledStyles(i.cssClasses.split(" ")),i.colorIndex=s++,t.push(i))}let r=0;for(let t of this.relationships){let s={id:(0,n.getEdgeId)(t.entityA,t.entityB,{prefix:"id",counter:r++}),type:"normal",curve:"basis",start:t.entityA,end:t.entityB,label:t.roleA,labelpos:"c",thickness:"normal",classes:"relationshipLine",arrowTypeStart:t.relSpec.cardB.toLowerCase(),arrowTypeEnd:t.relSpec.cardA.toLowerCase(),pattern:"IDENTIFYING"==t.relSpec.relType?"solid":"dashed",look:i.look,labelType:"markdown"};e.push(s)}return{nodes:t,edges:e,other:{},config:i,direction:"TB"}}},d={};(0,r.__export)(d,{draw:()=>_});var _=(0,r.__name)(async function(t,c,l,h){r.log.info("REF0:"),r.log.info("Drawing er diagram (unified)",c);let{securityLevel:u,er:d,layout:_}=(0,a.getConfig2)(),y=h.db.getData(),p=(0,e.getDiagramElement)(c,u);y.type=h.type,y.layoutAlgorithm=(0,s.getRegisteredLayoutAlgorithm)(_),y.config.flowchart.nodeSpacing=d?.nodeSpacing||140,y.config.flowchart.rankSpacing=d?.rankSpacing||80,y.direction=h.db.getDirection();let{config:g}=y,{look:m}=g;"neo"===m?y.markers=["only_one_neo","zero_or_one_neo","one_or_more_neo","zero_or_more_neo"]:y.markers=["only_one","zero_or_one","one_or_more","zero_or_more"],y.diagramId=c,await (0,s.render)(y,p),"elk"===y.layoutAlgorithm&&p.select(".edges").lower();let b=p.selectAll('[id*="-background"]');Array.from(b).length>0&&b.each(function(){let t=(0,o.select)(this),e=t.attr("id").replace("-background",""),i=p.select(`#${CSS.escape(e)}`);if(!i.empty()){let e=i.attr("transform");t.attr("transform",e)}}),n.utils_default.insertTitle(p,"erDiagramTitleText",d?.titleTopMargin??25,h.db.getDiagramTitle()),(0,i.setupViewPortForSVG)(p,8,"erDiagram",d?.useMaxWidth??!0)},"draw"),y=(0,r.__name)((t,e)=>{let i=c.channel,s=i(t,"r"),n=i(t,"g"),a=i(t,"b");return l.rgba(s,n,a,e)},"fade"),p=new Set(["redux-color","redux-dark-color"]),g=(0,r.__name)(t=>{let{theme:e,look:i,bkgColorArray:s,borderColorArray:n}=t;if(!p.has(e))return"";let a=s?.length>0,r="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)r+=`
|
|
2
|
-
|
|
3
|
-
[data-look="${i}"][data-color-id="color-${e}"].node path {
|
|
4
|
-
stroke: ${n[e]};
|
|
5
|
-
${a?`fill: ${s[e]};`:""}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
[data-look="${i}"][data-color-id="color-${e}"].node rect {
|
|
9
|
-
stroke: ${n[e]};
|
|
10
|
-
${a?`fill: ${s[e]};`:""}
|
|
11
|
-
}
|
|
12
|
-
`;return r},"genColor"),m=(0,r.__name)(t=>{let{look:e,theme:i,erEdgeLabelBackground:s,strokeWidth:n}=t;return`
|
|
13
|
-
${g(t)}
|
|
14
|
-
.entityBox {
|
|
15
|
-
fill: ${t.mainBkg};
|
|
16
|
-
stroke: ${t.nodeBorder};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.relationshipLabelBox {
|
|
20
|
-
fill: ${t.tertiaryColor};
|
|
21
|
-
opacity: 0.7;
|
|
22
|
-
background-color: ${t.tertiaryColor};
|
|
23
|
-
rect {
|
|
24
|
-
opacity: 0.5;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.labelBkg {
|
|
29
|
-
background-color: ${p.has(i)&&s?s:y(t.tertiaryColor,.5)};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.edgeLabel {
|
|
33
|
-
background-color: ${p.has(i)&&s?s:t.edgeLabelBackground};
|
|
34
|
-
}
|
|
35
|
-
.edgeLabel .label rect {
|
|
36
|
-
fill: ${p.has(i)&&s?s:t.edgeLabelBackground};
|
|
37
|
-
}
|
|
38
|
-
.edgeLabel .label text {
|
|
39
|
-
fill: ${t.textColor};
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.edgeLabel .label {
|
|
43
|
-
fill: ${t.nodeBorder};
|
|
44
|
-
font-size: 14px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.label {
|
|
48
|
-
font-family: ${t.fontFamily};
|
|
49
|
-
color: ${t.nodeTextColor||t.textColor};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.edge-pattern-dashed {
|
|
53
|
-
stroke-dasharray: 8,8;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.node rect,
|
|
57
|
-
.node circle,
|
|
58
|
-
.node ellipse,
|
|
59
|
-
.node polygon
|
|
60
|
-
{
|
|
61
|
-
fill: ${t.mainBkg};
|
|
62
|
-
stroke: ${t.nodeBorder};
|
|
63
|
-
stroke-width: ${"neo"===e?n:"1px"};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.relationshipLine {
|
|
67
|
-
stroke: ${t.lineColor};
|
|
68
|
-
stroke-width: ${"neo"===e?n:"1px"};
|
|
69
|
-
fill: none;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.marker {
|
|
73
|
-
fill: none !important;
|
|
74
|
-
stroke: ${t.lineColor} !important;
|
|
75
|
-
stroke-width: 1;
|
|
76
|
-
}
|
|
77
|
-
[data-look=neo].labelBkg {
|
|
78
|
-
background-color: ${y(t.tertiaryColor,.5)};
|
|
79
|
-
}
|
|
80
|
-
`},"getStyles");t.s(["diagram",0,{parser:h,get db(){return new u},renderer:d,styles:m}])}]);
|