@evoscientist/webui 0.2.7 → 0.2.9
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 +3 -3
- 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.html +1 -1
- package/dist/.next/server/app/_not-found.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/.next/server/app/api/memory/executions/route.js +1 -1
- package/dist/.next/server/app/api/memory/executions/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/memory/observations/route.js +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 +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 +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 +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 +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 +1 -1
- package/dist/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/workspace/download/route.js +1 -1
- package/dist/.next/server/app/api/workspace/download/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/workspace/file/route.js +1 -1
- package/dist/.next/server/app/api/workspace/file/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/workspace/route.js +1 -1
- package/dist/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/workspace/upload/route.js +1 -1
- package/dist/.next/server/app/api/workspace/upload/route.js.nft.json +1 -1
- package/dist/.next/server/app/index.html +1 -1
- package/dist/.next/server/app/index.rsc +2 -2
- package/dist/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/dist/.next/server/app/index.segments/_full.segment.rsc +2 -2
- package/dist/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- 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/{[root-of-the-server]__0k-rs5f._.js → [root-of-the-server]__01e0ekn._.js} +1 -1
- package/dist/.next/server/chunks/{[root-of-the-server]__0t923su._.js → [root-of-the-server]__08gtyud._.js} +1 -1
- package/dist/.next/server/chunks/{[root-of-the-server]__0key-2n._.js → [root-of-the-server]__0c_9zoh._.js} +1 -1
- package/dist/.next/server/chunks/{[root-of-the-server]__0zqsdzd._.js → [root-of-the-server]__0dsauq5._.js} +1 -1
- package/dist/.next/server/chunks/{[root-of-the-server]__0jsq76h._.js → [root-of-the-server]__0om1fsa._.js} +1 -1
- package/dist/.next/server/chunks/{[root-of-the-server]__1alqt3_._.js → [root-of-the-server]__19l67fj._.js} +1 -1
- package/dist/.next/server/chunks/{[root-of-the-server]__0nn8czk._.js → [root-of-the-server]__1nb3ezt._.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]__0xpcv9w._.js +1 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__1q-wcrf._.js +15 -0
- package/dist/.next/server/chunks/ssr/node_modules_0-3gk4n._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_03mz3d2._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_042csl2._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_063ofsn._.js +64 -0
- package/dist/.next/server/chunks/ssr/node_modules_0_3n1hi._.js +26 -0
- package/dist/.next/server/chunks/ssr/node_modules_0_n1n9u._.js +43 -0
- package/dist/.next/server/chunks/ssr/node_modules_0bnt8d5._.js +3 -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_0gmj-7m._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0j6b-p5._.js +3 -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_0mhroki._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_0pimgwq._.js +3 -0
- 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_0s436hr._.js +24 -0
- package/dist/.next/server/chunks/ssr/node_modules_0u5o24a._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0z53q9t._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_0zzr3iv._.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-wfv6i._.js → node_modules_14_5zct._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_14gkv49._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_14j-r2i._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_1nck62h._.js → node_modules_16ih6qm._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_18frml9._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_1_d0q_7._.js +289 -0
- package/dist/.next/server/chunks/ssr/node_modules_1asq18n._.js +29 -0
- package/dist/.next/server/chunks/ssr/node_modules_1b08rf0._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1bddg7x._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1bo15xl._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1bompw4._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1c0h-_d._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1i5ml3x._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1jpkt5_._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1ki78ma._.js +3 -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_1rsc-gt._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_1thrjjl._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1ti62ba._.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_1vbiuwu._.js +63 -0
- package/dist/.next/server/chunks/ssr/{node_modules_1_v-pb8._.js → node_modules_1wn8qu0._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_1z_uie6._.js → node_modules_1wvft2t._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_1xgltz7._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1y4f8cf._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1z39zs4._.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_16enqn_._.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/14osgsp3aiqpz.js +79 -0
- package/dist/.next/static/chunks/16mzcd_gvdgbo.js +1 -0
- package/dist/.next/static/chunks/1815xwa8351ma.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/2b4v6n9b8htrv.js +158 -0
- package/dist/.next/static/chunks/2b57kmz64uj8h.js +1 -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/3fg_vuz1xt14w.js +1 -0
- package/dist/.next/static/chunks/3her9o9_qn46y.js +226 -0
- package/dist/.next/static/chunks/3lnrl25cwsoyk.js +90 -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/3r4zv-ypmltqz.js +13 -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/3s09ok8dc101_.js +1 -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 +3 -4
- package/dist/server.js +1 -1
- package/package.json +3 -4
- 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/[root-of-the-server]__0owaq8w._.js +0 -12
- 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/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/42yfqecr30v0q.js +0 -10
- package/dist/.next/static/chunks/44dlrjamdw9zn.js +0 -1
- /package/dist/.next/static/{0ElnbO3cxvcyCbDz0Tuqe → jymT8vIg_gKraNQQCXVtL}/_buildManifest.js +0 -0
- /package/dist/.next/static/{0ElnbO3cxvcyCbDz0Tuqe → jymT8vIg_gKraNQQCXVtL}/_clientMiddlewareManifest.js +0 -0
- /package/dist/.next/static/{0ElnbO3cxvcyCbDz0Tuqe → jymT8vIg_gKraNQQCXVtL}/_ssgManifest.js +0 -0
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
module.exports=[657692,a=>{"use strict";var b=a.i(338279),c=a.i(191160),d=a.i(896937),e=a.i(685227),f=a.i(334603),g=a.i(838673),h=(0,f.__name)((a,b)=>{let c=a<=1?100*a:a;if(c<0||c>100)throw Error(`${b} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${a}`);return c},"toPercent"),i=(0,f.__name)((a,b,c)=>({x:h(b,`${c} evolution`),y:h(a,`${c} visibility`)}),"toCoordinates"),j=(0,f.__name)(a=>{if(a){if("+<>"===a)return"bidirectional";if("+<"===a)return"backward";if("+>"===a)return"forward"}},"getFlowFromPort"),k=(0,f.__name)(a=>{if(!a?.startsWith("+"))return{};let b=/^\+'([^']*)'/.exec(a),c=b?.[1];return a.includes("<>")?{flow:"bidirectional",label:c}:a.includes("<")?{flow:"backward",label:c}:a.includes(">")?{flow:"forward",label:c}:{label:c}},"extractFlowFromArrow"),l=(0,f.__name)((a,b)=>{if((0,c.populateCommonDb)(a,b),a.size&&b.setSize(a.size.width,a.size.height),a.evolution){let c=a.evolution.stages.map(a=>a.secondName?`${a.name.trim()} / ${a.secondName.trim()}`:a.name.trim()),d=a.evolution.stages.filter(a=>void 0!==a.boundary).map(a=>a.boundary);b.updateAxes({stages:c,stageBoundaries:d})}if(a.anchors.forEach(a=>{let c=i(a.visibility,a.evolution,`Anchor "${a.name}"`);b.addNode(a.name,a.name,c.x,c.y,"anchor")}),a.components.forEach(a=>{let c=i(a.visibility,a.evolution,`Component "${a.name}"`),d=a.label?(a.label.negX?-1:1)*a.label.offsetX:void 0,e=a.label?(a.label.negY?-1:1)*a.label.offsetY:void 0,f=a.decorator?.strategy;b.addNode(a.name,a.name,c.x,c.y,"component",d,e,a.inertia,f)}),a.notes.forEach(a=>{let c=i(a.visibility,a.evolution,`Note "${a.text}"`);b.addNote(a.text,c.x,c.y)}),a.pipelines.forEach(a=>{let c=b.getNode(a.parent);if(!c||"number"!=typeof c.y)throw Error(`Pipeline "${a.parent}" must reference an existing component with coordinates.`);let d=c.y;b.startPipeline(a.parent),a.components.forEach(c=>{let e=`${a.parent}_${c.name}`,f=c.label?(c.label.negX?-1:1)*c.label.offsetX:void 0,g=c.label?(c.label.negY?-1:1)*c.label.offsetY:void 0,i=h(c.evolution,`Pipeline component "${c.name}" evolution`);b.addNode(e,c.name,i,d,"pipeline-component",f,g),b.addPipelineComponent(a.parent,e)})}),a.links.forEach(a=>{let c=!!a.arrow&&(a.arrow.includes("-.->")||a.arrow.includes(".-.")),d=j(a.fromPort)??j(a.toPort),{flow:e,label:f}=k(a.arrow);!d&&e&&(d=e);let g=a.linkLabel;b.addLink(b.resolveNodeId(a.from),b.resolveNodeId(a.to),c,f??g,d)}),a.evolves.forEach(a=>{let c=b.getNode(a.component);if(c?.y!==void 0){let d=h(a.target,`Evolve target for "${a.component}"`);b.addTrend(a.component,d,c.y)}}),a.annotations.length>0){let c=a.annotations[0],d=i(c.x,c.y,"Annotations box");b.setAnnotationsBox(d.x,d.y)}a.annotation.forEach(a=>{let c=i(a.x,a.y,`Annotation ${a.number}`);b.addAnnotation(a.number,[{x:c.x,y:c.y}],a.text)}),a.accelerators.forEach(a=>{let c=i(a.x,a.y,`Accelerator "${a.name}"`);b.addAccelerator(a.name,c.x,c.y)}),a.deaccelerators.forEach(a=>{let c=i(a.x,a.y,`Deaccelerator "${a.name}"`);b.addDeaccelerator(a.name,c.x,c.y)})},"populateDb"),m={parser:{yy:void 0},parse:(0,f.__name)(async a=>{let b=await (0,g.parse)("wardley",a);f.log.debug(b);let c=m.parser?.yy;if(!c||"function"!=typeof c.addNode)throw Error("parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");l(b,c)},"parse")},n=new class{constructor(){this.nodes=new Map,this.links=[],this.trends=new Map,this.pipelines=new Map,this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.axes={}}static{(0,f.__name)(this,"WardleyBuilder")}addNode(a){let b=this.nodes.get(a.id)??{id:a.id,label:a.label},c={...b,...a,className:a.className??b.className,labelOffsetX:a.labelOffsetX??b.labelOffsetX,labelOffsetY:a.labelOffsetY??b.labelOffsetY};this.nodes.set(a.id,c)}addLink(a){this.links.push(a)}addTrend(a){this.trends.set(a.nodeId,a)}startPipeline(a){this.pipelines.set(a,{nodeId:a,componentIds:[]});let b=this.nodes.get(a);b&&(b.isPipelineParent=!0)}addPipelineComponent(a,b){let c=this.pipelines.get(a);c&&c.componentIds.push(b);let d=this.nodes.get(b);d&&(d.inPipeline=!0)}addAnnotation(a){this.annotations.push(a)}addNote(a){this.notes.push(a)}addAccelerator(a){this.accelerators.push(a)}addDeaccelerator(a){this.deaccelerators.push(a)}setAnnotationsBox(a,b){this.annotationsBox={x:a,y:b}}setAxes(a){this.axes={...this.axes,...a}}setSize(a,b){this.size={width:a,height:b}}getNode(a){return this.nodes.get(a)}resolveNodeId(a){if(this.nodes.has(a))return a;for(let[b,c]of this.nodes)if(c.label===a)return b;return a}build(){let a=[];for(let b of this.nodes.values()){if("number"!=typeof b.x||"number"!=typeof b.y)throw Error(`Node "${b.label}" is missing coordinates`);a.push(b)}return{nodes:a,links:[...this.links],trends:[...this.trends.values()],pipelines:[...this.pipelines.values()],annotations:[...this.annotations],notes:[...this.notes],accelerators:[...this.accelerators],deaccelerators:[...this.deaccelerators],annotationsBox:this.annotationsBox,axes:{...this.axes},size:this.size}}clear(){this.nodes.clear(),this.links=[],this.trends.clear(),this.pipelines.clear(),this.annotations=[],this.notes=[],this.accelerators=[],this.deaccelerators=[],this.annotationsBox=void 0,this.axes={},this.size=void 0}};function o(){return(0,e.getConfig2)()["wardley-beta"]}function p(a,b,c,d,e,f,g,h,i){n.addNode({id:a,label:b,x:c,y:d,className:e,labelOffsetX:f,labelOffsetY:g,inertia:h,sourceStrategy:i})}function q(a,b,c=!1,d,e){n.addLink({source:a,target:b,dashed:c,label:d,flow:e})}function r(a,b,c){n.addTrend({nodeId:a,targetX:b,targetY:c})}function s(a,b,c){n.addAnnotation({number:a,coordinates:b,text:c})}function t(a,b,c){n.addNote({text:a,x:b,y:c})}function u(a,b,c){n.addAccelerator({name:a,x:b,y:c})}function v(a,b,c){n.addDeaccelerator({name:a,x:b,y:c})}function w(a,b){n.setAnnotationsBox(a,b)}function x(a,b){n.setSize(a,b)}function y(a){n.startPipeline(a)}function z(a,b){n.addPipelineComponent(a,b)}function A(a){n.setAxes(a)}function B(a){return n.getNode(a)}function C(a){return n.resolveNodeId(a)}function D(){return n.build()}function E(){n.clear(),(0,e.clear)()}(0,f.__name)(o,"getConfig"),(0,f.__name)(p,"addNode"),(0,f.__name)(q,"addLink"),(0,f.__name)(r,"addTrend"),(0,f.__name)(s,"addAnnotation"),(0,f.__name)(t,"addNote"),(0,f.__name)(u,"addAccelerator"),(0,f.__name)(v,"addDeaccelerator"),(0,f.__name)(w,"setAnnotationsBox"),(0,f.__name)(x,"setSize"),(0,f.__name)(y,"startPipeline"),(0,f.__name)(z,"addPipelineComponent"),(0,f.__name)(A,"updateAxes"),(0,f.__name)(B,"getNode"),(0,f.__name)(C,"resolveNodeId"),(0,f.__name)(D,"getWardleyData"),(0,f.__name)(E,"clear");var F={getConfig:o,addNode:p,addLink:q,addTrend:r,addAnnotation:s,addNote:t,addAccelerator:u,addDeaccelerator:v,setAnnotationsBox:w,setSize:x,startPipeline:y,addPipelineComponent:z,updateAxes:A,getNode:B,resolveNodeId:C,getWardleyData:D,clear:E,setAccTitle:e.setAccTitle,getAccTitle:e.getAccTitle,setDiagramTitle:e.setDiagramTitle,getDiagramTitle:e.getDiagramTitle,getAccDescription:e.getAccDescription,setAccDescription:e.setAccDescription},G=["Genesis","Custom Built","Product","Commodity"],H=(0,f.__name)(()=>{let{themeVariables:a}=(0,e.getConfig2)();return{backgroundColor:a.wardley?.backgroundColor??a.background??"#fff",axisColor:a.wardley?.axisColor??"#000",axisTextColor:a.wardley?.axisTextColor??a.primaryTextColor??"#222",gridColor:a.wardley?.gridColor??"rgba(100, 100, 100, 0.2)",componentFill:a.wardley?.componentFill??"#fff",componentStroke:a.wardley?.componentStroke??"#000",componentLabelColor:a.wardley?.componentLabelColor??a.primaryTextColor??"#222",linkStroke:a.wardley?.linkStroke??"#000",evolutionStroke:a.wardley?.evolutionStroke??"#dc3545",annotationStroke:a.wardley?.annotationStroke??"#000",annotationTextColor:a.wardley?.annotationTextColor??a.primaryTextColor??"#222",annotationFill:a.wardley?.annotationFill??a.background??"#fff"}},"getTheme"),I=(0,f.__name)(()=>{let a=(0,e.getConfig2)()["wardley-beta"];return{width:a?.width??900,height:a?.height??600,padding:a?.padding??48,nodeRadius:a?.nodeRadius??6,nodeLabelOffset:a?.nodeLabelOffset??8,axisFontSize:a?.axisFontSize??12,labelFontSize:a?.labelFontSize??10,showGrid:a?.showGrid??!1,useMaxWidth:a?.useMaxWidth??!0}},"getConfigValues"),J=(0,f.__name)((a,c,d,g)=>{f.log.debug("Rendering Wardley map\n"+a);let h=I(),i=H(),j=1.6*h.nodeRadius,k=g.db,l=k.getWardleyData(),m=k.getDiagramTitle(),n=l.size?.width??h.width,o=l.size?.height??h.height,p=(0,b.selectSvgElement)(c);p.selectAll("*").remove(),(0,e.configureSvgSize)(p,o,n,h.useMaxWidth),p.attr("viewBox",`0 0 ${n} ${o}`);let q=p.append("g").attr("class","wardley-map"),r=p.append("defs");r.append("marker").attr("id",`arrow-${c}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",6).attr("markerHeight",6).attr("orient","auto-start-reverse").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",i.evolutionStroke).attr("stroke","none"),r.append("marker").attr("id",`link-arrow-end-${c}`).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("fill",i.linkStroke).attr("stroke","none"),r.append("marker").attr("id",`link-arrow-start-${c}`).attr("viewBox","0 0 10 10").attr("refX",1).attr("refY",5).attr("markerWidth",5).attr("markerHeight",5).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z").attr("fill",i.linkStroke).attr("stroke","none"),q.append("rect").attr("class","wardley-background").attr("width",n).attr("height",o).attr("fill",i.backgroundColor);let s=n-2*h.padding,t=o-2*h.padding;m&&q.append("text").attr("class","wardley-title").attr("x",n/2).attr("y",h.padding/2).attr("fill",i.axisTextColor).attr("font-size",1.05*h.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("dominant-baseline","middle").text(m);let u=(0,f.__name)(a=>h.padding+a/100*s,"projectX"),v=(0,f.__name)(a=>o-h.padding-a/100*t,"projectY"),w=q.append("g").attr("class","wardley-axes");w.append("line").attr("x1",h.padding).attr("x2",n-h.padding).attr("y1",o-h.padding).attr("y2",o-h.padding).attr("stroke",i.axisColor).attr("stroke-width",1),w.append("line").attr("x1",h.padding).attr("x2",h.padding).attr("y1",h.padding).attr("y2",o-h.padding).attr("stroke",i.axisColor).attr("stroke-width",1);let x=l.axes.xLabel??"Evolution",y=l.axes.yLabel??"Visibility";w.append("text").attr("class","wardley-axis-label wardley-axis-label-x").attr("x",h.padding+s/2).attr("y",o-h.padding/4).attr("fill",i.axisTextColor).attr("font-size",h.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").text(x),w.append("text").attr("class","wardley-axis-label wardley-axis-label-y").attr("x",h.padding/3).attr("y",h.padding+t/2).attr("fill",i.axisTextColor).attr("font-size",h.axisFontSize).attr("font-weight","bold").attr("text-anchor","middle").attr("transform",`rotate(-90 ${h.padding/3} ${h.padding+t/2})`).text(y);let z=l.axes.stages&&l.axes.stages.length>0?l.axes.stages:G;if(z.length>0){let a=q.append("g").attr("class","wardley-stages"),b=l.axes.stageBoundaries,c=[];if(b&&b.length===z.length){let a=0;b.forEach(b=>{c.push({start:a,end:b}),a=b})}else{let a=1/z.length;z.forEach((b,d)=>{c.push({start:d*a,end:(d+1)*a})})}z.forEach((b,d)=>{let e=c[d],f=h.padding+e.start*s,g=(f+(h.padding+e.end*s))/2;d>0&&a.append("line").attr("x1",f).attr("x2",f).attr("y1",h.padding).attr("y2",o-h.padding).attr("stroke","#000").attr("stroke-width",1).attr("stroke-dasharray","5 5").attr("opacity",.8),a.append("text").attr("class","wardley-stage-label").attr("x",g).attr("y",o-h.padding/1.5).attr("fill",i.axisTextColor).attr("font-size",h.axisFontSize-2).attr("text-anchor","middle").text(b)})}if(h.showGrid){let a=q.append("g").attr("class","wardley-grid");for(let b=1;b<4;b++){let c=b/4,d=h.padding+s*c;a.append("line").attr("x1",d).attr("x2",d).attr("y1",h.padding).attr("y2",o-h.padding).attr("stroke",i.gridColor).attr("stroke-dasharray","2 6"),a.append("line").attr("x1",h.padding).attr("x2",n-h.padding).attr("y1",o-h.padding-t*c).attr("y2",o-h.padding-t*c).attr("stroke",i.gridColor).attr("stroke-dasharray","2 6")}}let A=new Map;if(l.nodes.forEach(a=>{A.set(a.id,{x:u(a.x),y:v(a.y),node:a})}),l.pipelines.length>0){let a=q.append("g").attr("class","wardley-pipelines"),b=q.append("g").attr("class","wardley-pipeline-links");l.pipelines.forEach(c=>{if(0===c.componentIds.length)return;let d=c.componentIds.map(a=>({id:a,pos:A.get(a),node:l.nodes.find(b=>b.id===a)})).filter(a=>a.pos&&a.node).sort((a,b)=>a.node.x-b.node.x);for(let a=0;a<d.length-1;a++){let c=d[a],e=d[a+1];b.append("line").attr("class","wardley-pipeline-evolution-link").attr("x1",c.pos.x).attr("y1",c.pos.y).attr("x2",e.pos.x).attr("y2",e.pos.y).attr("stroke",i.linkStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4")}let e=1/0,f=-1/0,g=0;if(c.componentIds.forEach(a=>{let b=A.get(a);b&&(e=Math.min(e,b.x),f=Math.max(f,b.x),g=b.y)}),e!==1/0&&f!==-1/0){let b=4*h.nodeRadius,d=g-b/2,k=A.get(c.nodeId);k&&(k.x=(e+f)/2,k.y=d-j/6),a.append("rect").attr("class","wardley-pipeline-box").attr("x",e-15).attr("y",d).attr("width",f-e+30).attr("height",b).attr("fill","none").attr("stroke",i.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}})}let B=q.append("g").attr("class","wardley-links"),C=new Map;l.pipelines.forEach(a=>{C.set(a.nodeId,new Set(a.componentIds))});let D=l.links.filter(a=>{if(!A.has(a.source)||!A.has(a.target))return!1;let b=C.get(a.target);return!b?.has(a.source)});B.selectAll("line").data(D).enter().append("line").attr("class",a=>`wardley-link${a.dashed?" wardley-link--dashed":""}`).attr("x1",a=>{let b=A.get(a.source),c=A.get(a.target),d=l.nodes.find(b=>b.id===a.source).isPipelineParent?j/Math.sqrt(2):h.nodeRadius,e=c.x-b.x,f=c.y-b.y,g=Math.sqrt(e*e+f*f);return b.x+e/g*d}).attr("y1",a=>{let b=A.get(a.source),c=A.get(a.target),d=l.nodes.find(b=>b.id===a.source).isPipelineParent?j/Math.sqrt(2):h.nodeRadius,e=c.x-b.x,f=c.y-b.y,g=Math.sqrt(e*e+f*f);return b.y+f/g*d}).attr("x2",a=>{let b=A.get(a.source),c=A.get(a.target),d=l.nodes.find(b=>b.id===a.target).isPipelineParent?j/Math.sqrt(2):h.nodeRadius,e=b.x-c.x,f=b.y-c.y,g=Math.sqrt(e*e+f*f);return c.x+e/g*d}).attr("y2",a=>{let b=A.get(a.source),c=A.get(a.target),d=l.nodes.find(b=>b.id===a.target).isPipelineParent?j/Math.sqrt(2):h.nodeRadius,e=b.x-c.x,f=b.y-c.y,g=Math.sqrt(e*e+f*f);return c.y+f/g*d}).attr("stroke",i.linkStroke).attr("stroke-width",1).attr("stroke-dasharray",a=>a.dashed?"6 6":null).attr("marker-end",a=>"forward"===a.flow||"bidirectional"===a.flow?`url(#link-arrow-end-${c})`:null).attr("marker-start",a=>"backward"===a.flow||"bidirectional"===a.flow?`url(#link-arrow-start-${c})`:null),B.selectAll("text").data(D.filter(a=>a.label)).enter().append("text").attr("class","wardley-link-label").attr("x",a=>{let b=A.get(a.source),c=A.get(a.target),d=(b.x+c.x)/2,e=c.y-b.y,f=c.x-b.x,g=Math.sqrt(f*f+e*e);return d+e/g*8}).attr("y",a=>{let b=A.get(a.source),c=A.get(a.target),d=(b.y+c.y)/2,e=c.x-b.x,f=c.y-b.y,g=Math.sqrt(e*e+f*f);return d+-e/g*8}).attr("fill",i.axisTextColor).attr("font-size",h.labelFontSize).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("transform",a=>{let b=A.get(a.source),c=A.get(a.target),d=(b.x+c.x)/2,e=(b.y+c.y)/2,f=c.x-b.x,g=c.y-b.y,h=Math.sqrt(f*f+g*g),i=180*Math.atan2(g,f)/Math.PI;return(i>90||i<-90)&&(i+=180),`rotate(${i} ${d+g/h*8} ${e+-f/h*8})`}).text(a=>a.label);let E=q.append("g").attr("class","wardley-trends"),F=l.trends.map(a=>{let b=A.get(a.nodeId);if(!b)return null;let c=u(a.targetX),d=v(a.targetY),e=c-b.x,f=d-b.y,g=Math.sqrt(e*e+f*f),i=h.nodeRadius+2;return{origin:b,targetX:c,targetY:d,adjustedX2:g>i?c-e/g*i:c,adjustedY2:g>i?d-f/g*i:d}}).filter(a=>null!==a);E.selectAll("line").data(F).enter().append("line").attr("class","wardley-trend").attr("x1",a=>a.origin.x).attr("y1",a=>a.origin.y).attr("x2",a=>a.adjustedX2).attr("y2",a=>a.adjustedY2).attr("stroke",i.evolutionStroke).attr("stroke-width",1).attr("stroke-dasharray","4 4").attr("marker-end",`url(#arrow-${c})`);let J=q.append("g").attr("class","wardley-nodes").selectAll("g").data(l.nodes).enter().append("g").attr("class",a=>["wardley-node",a.className?`wardley-node--${a.className}`:""].filter(Boolean).join(" "));J.filter(a=>"outsource"===a.sourceStrategy).append("circle").attr("class","wardley-outsource-overlay").attr("cx",a=>A.get(a.id).x).attr("cy",a=>A.get(a.id).y).attr("r",2*h.nodeRadius).attr("fill","#666").attr("stroke",i.componentStroke).attr("stroke-width",1),J.filter(a=>"buy"===a.sourceStrategy).append("circle").attr("class","wardley-buy-overlay").attr("cx",a=>A.get(a.id).x).attr("cy",a=>A.get(a.id).y).attr("r",2*h.nodeRadius).attr("fill","#ccc").attr("stroke",i.componentStroke).attr("stroke-width",1),J.filter(a=>"build"===a.sourceStrategy).append("circle").attr("class","wardley-build-overlay").attr("cx",a=>A.get(a.id).x).attr("cy",a=>A.get(a.id).y).attr("r",2*h.nodeRadius).attr("fill","#eee").attr("stroke","#000").attr("stroke-width",1);let K=J.filter(a=>"market"===a.sourceStrategy);K.append("circle").attr("class","wardley-market-overlay").attr("cx",a=>A.get(a.id).x).attr("cy",a=>A.get(a.id).y).attr("r",2*h.nodeRadius).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",1),J.filter(a=>!a.isPipelineParent&&"market"!==a.sourceStrategy&&"anchor"!==a.className).append("circle").attr("cx",a=>A.get(a.id).x).attr("cy",a=>A.get(a.id).y).attr("r",h.nodeRadius).attr("fill",i.componentFill).attr("stroke",i.componentStroke).attr("stroke-width",1);let L=.7*h.nodeRadius,M=1.2*h.nodeRadius;if(K.append("line").attr("class","wardley-market-line").attr("x1",a=>A.get(a.id).x).attr("y1",a=>A.get(a.id).y-M).attr("x2",a=>A.get(a.id).x-M*Math.cos(Math.PI/6)).attr("y2",a=>A.get(a.id).y+M*Math.sin(Math.PI/6)).attr("stroke",i.componentStroke).attr("stroke-width",1),K.append("line").attr("class","wardley-market-line").attr("x1",a=>A.get(a.id).x-M*Math.cos(Math.PI/6)).attr("y1",a=>A.get(a.id).y+M*Math.sin(Math.PI/6)).attr("x2",a=>A.get(a.id).x+M*Math.cos(Math.PI/6)).attr("y2",a=>A.get(a.id).y+M*Math.sin(Math.PI/6)).attr("stroke",i.componentStroke).attr("stroke-width",1),K.append("line").attr("class","wardley-market-line").attr("x1",a=>A.get(a.id).x+M*Math.cos(Math.PI/6)).attr("y1",a=>A.get(a.id).y+M*Math.sin(Math.PI/6)).attr("x2",a=>A.get(a.id).x).attr("y2",a=>A.get(a.id).y-M).attr("stroke",i.componentStroke).attr("stroke-width",1),K.append("circle").attr("class","wardley-market-dot").attr("cx",a=>A.get(a.id).x).attr("cy",a=>A.get(a.id).y-M).attr("r",L).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",2),K.append("circle").attr("class","wardley-market-dot").attr("cx",a=>A.get(a.id).x-M*Math.cos(Math.PI/6)).attr("cy",a=>A.get(a.id).y+M*Math.sin(Math.PI/6)).attr("r",L).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",2),K.append("circle").attr("class","wardley-market-dot").attr("cx",a=>A.get(a.id).x+M*Math.cos(Math.PI/6)).attr("cy",a=>A.get(a.id).y+M*Math.sin(Math.PI/6)).attr("r",L).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",2),J.filter(a=>!0===a.isPipelineParent).append("rect").attr("x",a=>A.get(a.id).x-j/2).attr("y",a=>A.get(a.id).y-j/2).attr("width",j).attr("height",j).attr("fill",i.componentFill).attr("stroke",i.componentStroke).attr("stroke-width",1),J.filter(a=>!0===a.inertia).append("line").attr("class","wardley-inertia").attr("x1",a=>{let b=A.get(a.id),c=a.isPipelineParent?j/2+15:h.nodeRadius+15;return a.sourceStrategy&&(c+=h.nodeRadius+10),b.x+c}).attr("y1",a=>{let b=A.get(a.id),c=a.isPipelineParent?j:2*h.nodeRadius;return b.y-c/2}).attr("x2",a=>{let b=A.get(a.id),c=a.isPipelineParent?j/2+15:h.nodeRadius+15;return a.sourceStrategy&&(c+=h.nodeRadius+10),b.x+c}).attr("y2",a=>{let b=A.get(a.id),c=a.isPipelineParent?j:2*h.nodeRadius;return b.y+c/2}).attr("stroke",i.componentStroke).attr("stroke-width",6),J.append("text").attr("x",a=>{let b=A.get(a.id);if("anchor"===a.className)return void 0!==a.labelOffsetX?b.x+a.labelOffsetX:b.x;let c=h.nodeLabelOffset;a.sourceStrategy&&void 0===a.labelOffsetX&&(c+=10);let d=a.labelOffsetX??c;return b.x+d}).attr("y",a=>{let b=A.get(a.id);if("anchor"===a.className)return void 0!==a.labelOffsetY?b.y+a.labelOffsetY:b.y-3;let c=-h.nodeLabelOffset;a.sourceStrategy&&void 0===a.labelOffsetY&&(c-=10);let d=a.labelOffsetY??c;return b.y+d}).attr("class","wardley-node-label").attr("fill",a=>"evolved"===a.className?i.evolutionStroke:"anchor"===a.className?"#000":i.componentLabelColor).attr("font-size",h.labelFontSize).attr("font-weight",a=>"anchor"===a.className?"bold":"normal").attr("text-anchor",a=>"anchor"===a.className?"middle":"start").attr("dominant-baseline",a=>"anchor"===a.className?"middle":"auto").text(a=>a.label),l.annotations.length>0){let a=q.append("g").attr("class","wardley-annotations");if(l.annotations.forEach(b=>{let c=b.coordinates.map(a=>({x:u(a.x),y:v(a.y)}));if(c.length>1)for(let b=0;b<c.length-1;b++)a.append("line").attr("class","wardley-annotation-line").attr("x1",c[b].x).attr("y1",c[b].y).attr("x2",c[b+1].x).attr("y2",c[b+1].y).attr("stroke",i.axisColor).attr("stroke-width",1.5).attr("stroke-dasharray","4 4");c.forEach(c=>{let d=a.append("g").attr("class","wardley-annotation");d.append("circle").attr("cx",c.x).attr("cy",c.y).attr("r",10).attr("fill","white").attr("stroke",i.axisColor).attr("stroke-width",1.5),d.append("text").attr("x",c.x).attr("y",c.y).attr("text-anchor","middle").attr("dominant-baseline","central").attr("font-size",10).attr("fill",i.axisTextColor).attr("font-weight","bold").text(b.number)})}),l.annotationsBox){let b=u(l.annotationsBox.x),c=v(l.annotationsBox.y),d=a.append("g").attr("class","wardley-annotations-box"),e=[...l.annotations].filter(a=>a.text).sort((a,b)=>a.number-b.number),f=[];if(e.forEach((a,e)=>{let g=d.append("text").attr("x",b+10).attr("y",c+10+(e+1)*16).attr("font-size",11).attr("fill",i.axisTextColor).attr("text-anchor","start").attr("dominant-baseline","middle").text(`${a.number}. ${a.text}`);f.push(g)}),f.length>0){let a=0,g=0;f.forEach(b=>{let c=b.node(),d=c.getComputedTextLength();a=Math.max(a,d);let e=c.getBBox();g=Math.max(g,e.height)});let j=a+20+105,k=16*e.length+20+g/2,l=h.padding,m=n-h.padding-j,p=h.padding,q=o-h.padding-k;b=Math.max(l,Math.min(b,m)),c=Math.max(p,Math.min(c,q)),f.forEach((a,d)=>{a.attr("x",b+10).attr("y",c+10+(d+1)*16)}),d.insert("rect","text").attr("x",b).attr("y",c).attr("width",j).attr("height",k).attr("fill","white").attr("stroke",i.axisColor).attr("stroke-width",1.5).attr("rx",4).attr("ry",4)}}}if(l.notes.length>0){let a=q.append("g").attr("class","wardley-notes");l.notes.forEach(b=>{let c=u(b.x),d=v(b.y);a.append("text").attr("x",c).attr("y",d).attr("text-anchor","start").attr("font-size",11).attr("fill",i.axisTextColor).attr("font-weight","bold").text(b.text)})}if(l.accelerators.length>0){let a=q.append("g").attr("class","wardley-accelerators");l.accelerators.forEach(b=>{let c=u(b.x),d=v(b.y),e=`
|
|
2
|
-
M ${c} ${d-15}
|
|
3
|
-
L ${c+60-20} ${d-15}
|
|
4
|
-
L ${c+60-20} ${d-15-8}
|
|
5
|
-
L ${c+60} ${d}
|
|
6
|
-
L ${c+60-20} ${d+15+8}
|
|
7
|
-
L ${c+60-20} ${d+15}
|
|
8
|
-
L ${c} ${d+15}
|
|
9
|
-
Z
|
|
10
|
-
`;a.append("path").attr("d",e).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",1),a.append("text").attr("x",c+30).attr("y",d+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",i.axisTextColor).attr("font-weight","bold").text(b.name)})}if(l.deaccelerators.length>0){let a=q.append("g").attr("class","wardley-deaccelerators");l.deaccelerators.forEach(b=>{let c=u(b.x),d=v(b.y),e=`
|
|
11
|
-
M ${c+60} ${d-15}
|
|
12
|
-
L ${c+20} ${d-15}
|
|
13
|
-
L ${c+20} ${d-15-8}
|
|
14
|
-
L ${c} ${d}
|
|
15
|
-
L ${c+20} ${d+15+8}
|
|
16
|
-
L ${c+20} ${d+15}
|
|
17
|
-
L ${c+60} ${d+15}
|
|
18
|
-
Z
|
|
19
|
-
`;a.append("path").attr("d",e).attr("fill","white").attr("stroke",i.componentStroke).attr("stroke-width",1),a.append("text").attr("x",c+30).attr("y",d+15+15).attr("text-anchor","middle").attr("font-size",10).attr("fill",i.axisTextColor).attr("font-weight","bold").text(b.name)})}},"draw"),K=(0,f.__name)(({wardley:a}={})=>{let b=(0,e.getThemeVariables)(),c=(0,e.getConfig)(),f=(0,d.cleanAndMerge)(b,c.themeVariables),g=(0,d.cleanAndMerge)(f.wardley,a);return`
|
|
20
|
-
.wardley-background {
|
|
21
|
-
fill: ${g.backgroundColor};
|
|
22
|
-
}
|
|
23
|
-
.wardley-axes line, .wardley-axes path {
|
|
24
|
-
stroke: ${g.axisColor};
|
|
25
|
-
}
|
|
26
|
-
.wardley-axis-label {
|
|
27
|
-
fill: ${g.axisTextColor};
|
|
28
|
-
}
|
|
29
|
-
.wardley-stage-label {
|
|
30
|
-
fill: ${g.axisTextColor};
|
|
31
|
-
}
|
|
32
|
-
.wardley-grid line {
|
|
33
|
-
stroke: ${g.gridColor};
|
|
34
|
-
}
|
|
35
|
-
.wardley-node circle {
|
|
36
|
-
fill: ${g.componentFill};
|
|
37
|
-
stroke: ${g.componentStroke};
|
|
38
|
-
}
|
|
39
|
-
.wardley-node-label {
|
|
40
|
-
fill: ${g.componentLabelColor};
|
|
41
|
-
}
|
|
42
|
-
.wardley-link {
|
|
43
|
-
stroke: ${g.linkStroke};
|
|
44
|
-
}
|
|
45
|
-
.wardley-link--dashed {
|
|
46
|
-
stroke-dasharray: 4 4;
|
|
47
|
-
}
|
|
48
|
-
.wardley-link-label {
|
|
49
|
-
fill: ${g.axisTextColor};
|
|
50
|
-
}
|
|
51
|
-
.wardley-trend line {
|
|
52
|
-
stroke: ${g.evolutionStroke};
|
|
53
|
-
}
|
|
54
|
-
.wardley-annotation-line {
|
|
55
|
-
stroke: ${g.annotationStroke};
|
|
56
|
-
}
|
|
57
|
-
.wardley-annotation circle {
|
|
58
|
-
fill: ${g.annotationFill};
|
|
59
|
-
stroke: ${g.annotationStroke};
|
|
60
|
-
}
|
|
61
|
-
.wardley-annotation text {
|
|
62
|
-
fill: ${g.annotationTextColor};
|
|
63
|
-
}
|
|
64
|
-
.wardley-annotations-box rect {
|
|
65
|
-
fill: ${g.annotationFill};
|
|
66
|
-
stroke: ${g.annotationStroke};
|
|
67
|
-
}
|
|
68
|
-
.wardley-annotations-box text {
|
|
69
|
-
fill: ${g.annotationTextColor};
|
|
70
|
-
}
|
|
71
|
-
.wardley-pipeline-box {
|
|
72
|
-
stroke: ${g.componentStroke};
|
|
73
|
-
}
|
|
74
|
-
.wardley-notes text {
|
|
75
|
-
fill: ${g.axisTextColor};
|
|
76
|
-
}
|
|
77
|
-
`},"styles");a.s(["diagram",0,{parser:m,db:F,renderer:{draw:J},styles:K}])}];
|
|
78
|
-
|
|
79
|
-
//# sourceMappingURL=1q96_modules_mermaid_dist_chunks_mermaid_core_wardleyDiagram-YWT4CUSO_mjs_0hqmyh5._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[154586,a=>{"use strict";var b,c=a.i(338279),d=a.i(248916),e=a.i(896937),f=a.i(685227),g=a.i(334603);a.i(975930);var h=a.i(88935),i=a.i(482464);function j(){var a,b,c=(0,i.default)().unknown(void 0),d=c.domain,e=c.range,f=0,g=1,k=!1,l=0,m=0,n=.5;function o(){var c=d().length,h=g<f,i=h?g:f,j=h?f:g;a=(j-i)/Math.max(1,c-l+2*m),k&&(a=Math.floor(a)),i+=(j-i-a*(c-l))*n,b=a*(1-l),k&&(i=Math.round(i),b=Math.round(b));var o=(function(a,b,c){a*=1,b*=1,c=(e=arguments.length)<2?(b=a,a=0,1):e<3?1:+c;for(var d=-1,e=0|Math.max(0,Math.ceil((b-a)/c)),f=Array(e);++d<e;)f[d]=a+d*c;return f})(c).map(function(b){return i+a*b});return e(h?o.reverse():o)}return delete c.unknown,c.domain=function(a){return arguments.length?(d(a),o()):d()},c.range=function(a){return arguments.length?([f,g]=a,f*=1,g*=1,o()):[f,g]},c.rangeRound=function(a){return[f,g]=a,f*=1,g*=1,k=!0,o()},c.bandwidth=function(){return b},c.step=function(){return a},c.round=function(a){return arguments.length?(k=!!a,o()):k},c.padding=function(a){return arguments.length?(l=Math.min(1,m=+a),o()):l},c.paddingInner=function(a){return arguments.length?(l=Math.min(1,a),o()):l},c.paddingOuter=function(a){return arguments.length?(m=+a,o()):m},c.align=function(a){return arguments.length?(n=Math.max(0,Math.min(1,a)),o()):n},c.copy=function(){return j(d(),[f,g]).round(k).paddingInner(l).paddingOuter(m).align(n)},h.initRange.apply(o(),arguments)}var k=a.i(747539),l=a.i(398153),m=function(){var a=(0,g.__name)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[1,10,12,14,16,18,19,21,23],c=[2,6],d=[1,3],e=[1,5],f=[1,6],h=[1,7],i=[1,5,10,12,14,16,18,19,21,23,34,35,36],j=[1,25],k=[1,26],l=[1,28],m=[1,29],n=[1,30],o=[1,31],p=[1,32],q=[1,33],r=[1,34],s=[1,35],t=[1,36],u=[1,37],v=[1,43],w=[1,42],x=[1,47],y=[1,50],z=[1,10,12,14,16,18,19,21,23,34,35,36],A=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],B=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],C=[1,64],D={trace:(0,g.__name)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:(0,g.__name)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 5:d.setOrientation(f[h]);break;case 9:d.setDiagramTitle(f[h].text.trim());break;case 12:d.setLineData({text:"",type:"text"},f[h]);break;case 13:d.setLineData(f[h-1],f[h]);break;case 14:d.setBarData({text:"",type:"text"},f[h]);break;case 15:d.setBarData(f[h-1],f[h]);break;case 16:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 19:case 27:this.$=f[h-1];break;case 20:this.$=[Number(f[h-2]),...f[h]];break;case 21:this.$=[Number(f[h])];break;case 22:d.setXAxisTitle(f[h]);break;case 23:d.setXAxisTitle(f[h-1]);break;case 24:d.setXAxisTitle({type:"text",text:""});break;case 25:d.setXAxisBand(f[h]);break;case 26:d.setXAxisRangeData(Number(f[h-2]),Number(f[h]));break;case 28:this.$=[f[h-2],...f[h]];break;case 29:this.$=[f[h]];break;case 30:d.setYAxisTitle(f[h]);break;case 31:d.setYAxisTitle(f[h-1]);break;case 32:d.setYAxisTitle({type:"text",text:""});break;case 33:d.setYAxisRangeData(Number(f[h-2]),Number(f[h]));break;case 37:case 38:this.$={text:f[h],type:"text"};break;case 39:this.$={text:f[h],type:"markdown"};break;case 40:this.$=f[h];break;case 41:this.$=f[h-1]+""+f[h]}},"anonymous"),table:[a(b,c,{3:1,4:2,7:4,5:d,34:e,35:f,36:h}),{1:[3]},a(b,c,{4:2,7:4,3:8,5:d,34:e,35:f,36:h}),a(b,c,{4:2,7:4,6:9,3:10,5:d,8:[1,11],34:e,35:f,36:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},a(i,[2,34]),a(i,[2,35]),a(i,[2,36]),{1:[2,1]},a(b,c,{4:2,7:4,3:21,5:d,34:e,35:f,36:h}),{1:[2,3]},a(i,[2,5]),a(b,[2,7],{4:22,34:e,35:f,36:h}),{11:23,37:24,38:j,39:k,40:27,41:l,42:m,43:n,44:o,45:p,46:q,47:r,48:s,49:t,50:u},{11:39,13:38,24:v,27:w,29:40,30:41,37:24,38:j,39:k,40:27,41:l,42:m,43:n,44:o,45:p,46:q,47:r,48:s,49:t,50:u},{11:45,15:44,27:x,33:46,37:24,38:j,39:k,40:27,41:l,42:m,43:n,44:o,45:p,46:q,47:r,48:s,49:t,50:u},{11:49,17:48,24:y,37:24,38:j,39:k,40:27,41:l,42:m,43:n,44:o,45:p,46:q,47:r,48:s,49:t,50:u},{11:52,17:51,24:y,37:24,38:j,39:k,40:27,41:l,42:m,43:n,44:o,45:p,46:q,47:r,48:s,49:t,50:u},{20:[1,53]},{22:[1,54]},a(z,[2,18]),{1:[2,2]},a(z,[2,8]),a(z,[2,9]),a(A,[2,37],{40:55,41:l,42:m,43:n,44:o,45:p,46:q,47:r,48:s,49:t,50:u}),a(A,[2,38]),a(A,[2,39]),a(B,[2,40]),a(B,[2,42]),a(B,[2,43]),a(B,[2,44]),a(B,[2,45]),a(B,[2,46]),a(B,[2,47]),a(B,[2,48]),a(B,[2,49]),a(B,[2,50]),a(B,[2,51]),a(z,[2,10]),a(z,[2,22],{30:41,29:56,24:v,27:w}),a(z,[2,24]),a(z,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:j,39:k,40:27,41:l,42:m,43:n,44:o,45:p,46:q,47:r,48:s,49:t,50:u},a(z,[2,11]),a(z,[2,30],{33:60,27:x}),a(z,[2,32]),{31:[1,61]},a(z,[2,12]),{17:62,24:y},{25:63,27:C},a(z,[2,14]),{17:65,24:y},a(z,[2,16]),a(z,[2,17]),a(B,[2,41]),a(z,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},a(z,[2,31]),{27:[1,69]},a(z,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},a(z,[2,15]),a(z,[2,26]),a(z,[2,27]),{11:59,32:72,37:24,38:j,39:k,40:27,41:l,42:m,43:n,44:o,45:p,46:q,47:r,48:s,49:t,50:u},a(z,[2,33]),a(z,[2,19]),{25:73,27:C},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:(0,g.__name)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,g.__name)(function(a){var b=this,c=[0],d=[],e=[null],f=[],h=this.table,i="",j=0,k=0,l=0,m=f.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;f.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,g.__name)(function(a){c.length=c.length-2*a,e.length=e.length-a,f.length=f.length-a},"popStack"),(0,g.__name)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=h[v]&&h[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],h[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(j+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(j+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),e.push(n.yytext),f.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(k=n.yyleng,i=n.yytext,j=n.yylineno,q=n.yylloc,l>0&&l--);break;case 2:if(z=this.productions_[w[1]][1],C.$=e[e.length-z],C._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},r&&(C._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[i,k,j,o,w[1],e,f].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),e.push(C.$),f.push(C._$),A=h[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function E(){this.yy={}}return D.lexer={EOF:1,parseError:(0,g.__name)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,g.__name)(function(a,b){return this.yy=b||this.yy||{},this._input=a,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,g.__name)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.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),a},"input"),unput:(0,g.__name)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=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),c.length-1&&(this.yylineno-=c.length-1);var e=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:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,g.__name)(function(){return this._more=!0,this},"more"),reject:(0,g.__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,g.__name)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,g.__name)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,g.__name)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,g.__name)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,g.__name)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={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&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,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(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,g.__name)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===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,g.__name)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,g.__name)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,g.__name)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,g.__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,g.__name)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,g.__name)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,g.__name)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,g.__name)(function(a,b,c,d){switch(c){case 0:case 1:case 5:case 44:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 26:case 28:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";case 18:return this.pushState("axis_data"),"Y_AXIS";case 19:return this.pushState("axis_band_data"),24;case 20:return 31;case 21:return this.pushState("data"),16;case 22:return this.pushState("data"),18;case 23:return this.pushState("data_inner"),24;case 24:return 27;case 25:return this.popState(),26;case 27:this.pushState("string");break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 43;case 33:return"COLON";case 34:return 44;case 35:return 28;case 36:return 45;case 37:return 46;case 38:return 48;case 39:return 50;case 40:return 47;case 41:return 41;case 42:return 49;case 43:return 42;case 45:return 35;case 46:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}},(0,g.__name)(E,"Parser"),E.prototype=D,D.Parser=E,new E}();function n(a){return"bar"===a.type}function o(a){return"band"===a.type}function p(a){return"linear"===a.type}m.parser=m,(0,g.__name)(n,"isBarPlot"),(0,g.__name)(o,"isBandAxisData"),(0,g.__name)(p,"isLinearAxisData");var q=class{constructor(a){this.parentGroup=a}static{(0,g.__name)(this,"TextDimensionCalculatorWithFont")}getMaxDimension(a,b){if(!this.parentGroup)return{width:a.reduce((a,b)=>Math.max(b.length,a),0)*b,height:b};let c={width:0,height:0},e=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",b);for(let f of a){let a=(0,d.computeDimensionOfText)(e,1,f),g=a?a.width:f.length*b,h=a?a.height:b;c.width=Math.max(c.width,g),c.height=Math.max(c.height,h)}return e.remove(),c}},r=class{constructor(a,b,c,d){this.axisConfig=a,this.title=b,this.textDimensionCalculator=c,this.axisThemeConfig=d,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}static{(0,g.__name)(this,"BaseAxis")}setRange(a){this.range=a,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=a[1]-a[0]:this.boundingRect.width=a[1]-a[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(a){this.axisPosition=a,this.setRange(this.range)}getTickDistance(){let a=this.getRange();return Math.abs(a[0]-a[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(a=>a.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(a){let b=a.height;if(this.axisConfig.showAxisLine&&b>this.axisConfig.axisLineWidth&&(b-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let c=this.getLabelDimension(),d=.2*a.width;this.outerPadding=Math.min(c.width/2,d);let e=c.height+2*this.axisConfig.labelPadding;this.labelTextHeight=c.height,e<=b&&(b-=e,this.showLabel=!0)}if(this.axisConfig.showTick&&b>=this.axisConfig.tickLength&&(this.showTick=!0,b-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let a=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),c=a.height+2*this.axisConfig.titlePadding;this.titleTextHeight=a.height,c<=b&&(b-=c,this.showTitle=!0)}this.boundingRect.width=a.width,this.boundingRect.height=a.height-b}calculateSpaceIfDrawnVertical(a){let b=a.width;if(this.axisConfig.showAxisLine&&b>this.axisConfig.axisLineWidth&&(b-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let c=this.getLabelDimension(),d=.2*a.height;this.outerPadding=Math.min(c.height/2,d);let e=c.width+2*this.axisConfig.labelPadding;e<=b&&(b-=e,this.showLabel=!0)}if(this.axisConfig.showTick&&b>=this.axisConfig.tickLength&&(this.showTick=!0,b-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let a=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),c=a.height+2*this.axisConfig.titlePadding;this.titleTextHeight=a.height,c<=b&&(b-=c,this.showTitle=!0)}this.boundingRect.width=a.width-b,this.boundingRect.height=a.height}calculateSpace(a){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(a):this.calculateSpaceIfDrawnHorizontally(a),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}getDrawableElementsForLeftAxis(){let a=[];if(this.showAxisLine){let b=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${b},${this.boundingRect.y} L ${b},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(a=>({text:a.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(a),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){let b=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);a.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(a=>({path:`M ${b},${this.getScaleValue(a)} L ${b-this.axisConfig.tickLength},${this.getScaleValue(a)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElementsForBottomAxis(){let a=[];if(this.showAxisLine){let b=this.boundingRect.y+this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${b} L ${this.boundingRect.x+this.boundingRect.width},${b}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(a=>({text:a.toString(),x:this.getScaleValue(a),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let b=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);a.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(a=>({path:`M ${this.getScaleValue(a)},${b} L ${this.getScaleValue(a)},${b+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElementsForTopAxis(){let a=[];if(this.showAxisLine){let b=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;a.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${b} L ${this.boundingRect.x+this.boundingRect.width},${b}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&a.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(a=>({text:a.toString(),x:this.getScaleValue(a),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){let b=this.boundingRect.y;a.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(a=>({path:`M ${this.getScaleValue(a)},${b+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(a)},${b+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&a.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),a}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},s=class extends r{static{(0,g.__name)(this,"BandAxis")}constructor(a,b,c,d,e){super(a,d,e,b),this.categories=c,this.scale=j().domain(this.categories).range(this.getRange())}setRange(a){super.setRange(a)}recalculateScale(){this.scale=j().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),g.log.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(a){return this.scale(a)??this.getRange()[0]}},t=class extends r{static{(0,g.__name)(this,"LinearAxis")}constructor(a,b,c,d,e){super(a,d,e,b),this.domain=c,this.scale=(0,k.scaleLinear)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let a=[...this.domain];"left"===this.axisPosition&&a.reverse(),this.scale=(0,k.scaleLinear)().domain(a).range(this.getRange())}getScaleValue(a){return this.scale(a)}};function u(a,b,c,d){let e=new q(d);return o(a)?new s(b,c,a.categories,a.title,e):new t(b,c,[a.min,a.max],a.title,e)}(0,g.__name)(u,"getAxis");var v=class{constructor(a,b,c,d){this.textDimensionCalculator=a,this.chartConfig=b,this.chartData=c,this.chartThemeConfig=d,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{(0,g.__name)(this,"ChartTitle")}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}calculateSpace(a){let b=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),c=Math.max(b.width,a.width),d=b.height+2*this.chartConfig.titlePadding;return b.width<=c&&b.height<=d&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=c,this.boundingRect.height=d,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let a=[];return this.showChartTitle&&a.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),a}};function w(a,b,c,d){return new v(new q(d),a,b,c)}(0,g.__name)(w,"getChartTitleComponent");var x=class{constructor(a,b,c,d,e){this.plotData=a,this.xAxis=b,this.yAxis=c,this.orientation=d,this.plotIndex=e}static{(0,g.__name)(this,"LinePlot")}getDrawableElement(){let a,b=this.plotData.data.map(a=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]);return(a="horizontal"===this.orientation?(0,l.line)().y(a=>a[0]).x(a=>a[1])(b):(0,l.line)().x(a=>a[0]).y(a=>a[1])(b))?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:a,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},y=class{constructor(a,b,c,d,e,f){this.barData=a,this.boundingRect=b,this.xAxis=c,this.yAxis=d,this.orientation=e,this.plotIndex=f}static{(0,g.__name)(this,"BarPlot")}getDrawableElement(){let a=this.barData.data.map(a=>[this.xAxis.getScaleValue(a[0]),this.yAxis.getScaleValue(a[1])]),b=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),c=b/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:a.map(a=>({x:this.boundingRect.x,y:a[0]-c,height:b,width:a[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:a.map(a=>({x:a[0]-c,y:a[1],width:b,height:this.boundingRect.y+this.boundingRect.height-a[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},z=class{constructor(a,b,c){this.chartConfig=a,this.chartData=b,this.chartThemeConfig=c,this.boundingRect={x:0,y:0,width:0,height:0}}static{(0,g.__name)(this,"BasePlot")}setAxes(a,b){this.xAxis=a,this.yAxis=b}setBoundingBoxXY(a){this.boundingRect.x=a.x,this.boundingRect.y=a.y}calculateSpace(a){return this.boundingRect.width=a.width,this.boundingRect.height=a.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error("Axes must be passed to render Plots");let a=[];for(let[b,c]of this.chartData.plots.entries())switch(c.type){case"line":{let d=new x(c,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,b);a.push(...d.getDrawableElement())}break;case"bar":{let d=new y(c,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,b);a.push(...d.getDrawableElement())}}return a}};function A(a,b,c){return new z(a,b,c)}(0,g.__name)(A,"getPlotComponent");var B=class{constructor(a,b,c,d){this.chartConfig=a,this.chartData=b,this.componentStore={title:w(a,b,c,d),plot:A(a,b,c),xAxis:u(b.xAxis,a.xAxis,{titleColor:c.xAxisTitleColor,labelColor:c.xAxisLabelColor,tickColor:c.xAxisTickColor,axisLineColor:c.xAxisLineColor},d),yAxis:u(b.yAxis,a.yAxis,{titleColor:c.yAxisTitleColor,labelColor:c.yAxisLabelColor,tickColor:c.yAxisTickColor,axisLineColor:c.yAxisLineColor},d)}}static{(0,g.__name)(this,"Orchestrator")}calculateVerticalSpace(){let a=this.chartConfig.width,b=this.chartConfig.height,c=0,d=0,e=Math.floor(a*this.chartConfig.plotReservedSpacePercent/100),f=Math.floor(b*this.chartConfig.plotReservedSpacePercent/100),g=this.componentStore.plot.calculateSpace({width:e,height:f});a-=g.width,b-=g.height,d=(g=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:b})).height,b-=g.height,this.componentStore.xAxis.setAxisPosition("bottom"),g=this.componentStore.xAxis.calculateSpace({width:a,height:b}),b-=g.height,this.componentStore.yAxis.setAxisPosition("left"),c=(g=this.componentStore.yAxis.calculateSpace({width:a,height:b})).width,(a-=g.width)>0&&(e+=a,a=0),b>0&&(f+=b,b=0),this.componentStore.plot.calculateSpace({width:e,height:f}),this.componentStore.plot.setBoundingBoxXY({x:c,y:d}),this.componentStore.xAxis.setRange([c,c+e]),this.componentStore.xAxis.setBoundingBoxXY({x:c,y:d+f}),this.componentStore.yAxis.setRange([d,d+f]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:d}),this.chartData.plots.some(a=>n(a))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let a=this.chartConfig.width,b=this.chartConfig.height,c=0,d=0,e=0,f=Math.floor(a*this.chartConfig.plotReservedSpacePercent/100),g=Math.floor(b*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:f,height:g});a-=h.width,b-=h.height,c=(h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:b})).height,b-=h.height,this.componentStore.xAxis.setAxisPosition("left"),h=this.componentStore.xAxis.calculateSpace({width:a,height:b}),a-=h.width,d=h.width,this.componentStore.yAxis.setAxisPosition("top"),h=this.componentStore.yAxis.calculateSpace({width:a,height:b}),b-=h.height,e=c+h.height,a>0&&(f+=a,a=0),b>0&&(g+=b,b=0),this.componentStore.plot.calculateSpace({width:f,height:g}),this.componentStore.plot.setBoundingBoxXY({x:d,y:e}),this.componentStore.yAxis.setRange([d,d+f]),this.componentStore.yAxis.setBoundingBoxXY({x:d,y:c}),this.componentStore.xAxis.setRange([e,e+g]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:e}),this.chartData.plots.some(a=>n(a))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let a=[];for(let b of(this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis),Object.values(this.componentStore)))a.push(...b.getDrawableElements());return a}},C=class{static{(0,g.__name)(this,"XYChartBuilder")}static build(a,b,c,d){return new B(a,b,c,d).getDrawableElement()}},D=0,E=L(),F=K(),G=M(),H=F.plotColorPalette.split(",").map(a=>a.trim()),I=!1,J=!1;function K(){let a=(0,f.getThemeVariables)(),b=(0,f.getConfig)();return(0,e.cleanAndMerge)(a.xyChart,b.themeVariables.xyChart)}function L(){let a=(0,f.getConfig)();return(0,e.cleanAndMerge)(f.defaultConfig_default.xyChart,a.xyChart)}function M(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}}function N(a){let b=(0,f.getConfig)();return(0,f.sanitizeText)(a.trim(),b)}function O(a){b=a}function P(a){"horizontal"===a?E.chartOrientation="horizontal":E.chartOrientation="vertical"}function Q(a){G.xAxis.title=N(a.text)}function R(a,b){G.xAxis={type:"linear",title:G.xAxis.title,min:a,max:b},I=!0}function S(a){G.xAxis={type:"band",title:G.xAxis.title,categories:a.map(a=>N(a.text))},I=!0}function T(a){G.yAxis.title=N(a.text)}function U(a,b){G.yAxis={type:"linear",title:G.yAxis.title,min:a,max:b},J=!0}function V(a){let b=Math.min(...a),c=Math.max(...a),d=p(G.yAxis)?G.yAxis.min:1/0,e=p(G.yAxis)?G.yAxis.max:-1/0;G.yAxis={type:"linear",title:G.yAxis.title,min:Math.min(d,b),max:Math.max(e,c)}}function W(a){let b=[];if(0===a.length)return b;if(I||R(Math.min(p(G.xAxis)?G.xAxis.min:1/0,1),Math.max(p(G.xAxis)?G.xAxis.max:-1/0,a.length)),J||V(a),o(G.xAxis)&&(b=G.xAxis.categories.map((b,c)=>[b,a[c]])),p(G.xAxis)){let c=G.xAxis.min,d=G.xAxis.max,e=(d-c)/(a.length-1),f=[];for(let a=c;a<=d;a+=e)f.push(`${a}`);b=f.map((b,c)=>[b,a[c]])}return b}function X(a){return H[0===a?0:a%H.length]}function Y(a,b){let c=W(b);G.plots.push({type:"line",strokeFill:X(D),strokeWidth:2,data:c}),D++}function Z(a,b){let c=W(b);G.plots.push({type:"bar",fill:X(D),data:c}),D++}function $(){if(0===G.plots.length)throw Error("No Plot to render, please provide a plot with some data");return G.title=(0,f.getDiagramTitle)(),C.build(E,G,F,b)}function _(){return F}function aa(){return E}function ab(){return G}(0,g.__name)(K,"getChartDefaultThemeConfig"),(0,g.__name)(L,"getChartDefaultConfig"),(0,g.__name)(M,"getChartDefaultData"),(0,g.__name)(N,"textSanitizer"),(0,g.__name)(O,"setTmpSVGG"),(0,g.__name)(P,"setOrientation"),(0,g.__name)(Q,"setXAxisTitle"),(0,g.__name)(R,"setXAxisRangeData"),(0,g.__name)(S,"setXAxisBand"),(0,g.__name)(T,"setYAxisTitle"),(0,g.__name)(U,"setYAxisRangeData"),(0,g.__name)(V,"setYAxisRangeFromPlotData"),(0,g.__name)(W,"transformDataWithoutCategory"),(0,g.__name)(X,"getPlotColorFromPalette"),(0,g.__name)(Y,"setLineData"),(0,g.__name)(Z,"setBarData"),(0,g.__name)($,"getDrawableElem"),(0,g.__name)(_,"getChartThemeConfig"),(0,g.__name)(aa,"getChartConfig"),(0,g.__name)(ab,"getXYChartData");var ac={getDrawableElem:$,clear:(0,g.__name)(function(){(0,f.clear)(),D=0,E=L(),G=M(),H=(F=K()).plotColorPalette.split(",").map(a=>a.trim()),I=!1,J=!1},"clear"),setAccTitle:f.setAccTitle,getAccTitle:f.getAccTitle,setDiagramTitle:f.setDiagramTitle,getDiagramTitle:f.getDiagramTitle,getAccDescription:f.getAccDescription,setAccDescription:f.setAccDescription,setOrientation:P,setXAxisTitle:Q,setXAxisRangeData:R,setXAxisBand:S,setYAxisTitle:T,setYAxisRangeData:U,setLineData:Y,setBarData:Z,setTmpSVGG:O,getChartThemeConfig:_,getChartConfig:aa,getXYChartData:ab},ad=(0,g.__name)((a,b,d,e)=>{let h=e.db,i=h.getChartThemeConfig(),j=h.getChartConfig(),k=h.getXYChartData().plots[0].data.map(a=>a[1]);function l(a){return"top"===a?"text-before-edge":"middle"}function m(a){return"left"===a?"start":"right"===a?"end":"middle"}function n(a){return`translate(${a.x}, ${a.y}) rotate(${a.rotation||0})`}(0,g.__name)(l,"getDominantBaseLine"),(0,g.__name)(m,"getTextAnchor"),(0,g.__name)(n,"getTextTransformation"),g.log.debug("Rendering xychart chart\n"+a);let o=(0,c.selectSvgElement)(b),p=o.append("g").attr("class","main"),q=p.append("rect").attr("width",j.width).attr("height",j.height).attr("class","background");(0,f.configureSvgSize)(o,j.height,j.width,!0),o.attr("viewBox",`0 0 ${j.width} ${j.height}`),q.attr("fill",i.backgroundColor),h.setTmpSVGG(o.append("g").attr("class","mermaid-tmp-group"));let r=h.getDrawableElem(),s={};function t(a){let b=p,c="";for(let[d]of a.entries()){let e=p;d>0&&s[c]&&(e=s[c]),c+=a[d],(b=s[c])||(b=s[c]=e.append("g").attr("class",a[d]))}return b}for(let a of((0,g.__name)(t,"getGroup"),r)){if(0===a.data.length)continue;let b=t(a.groupTexts);switch(a.type){case"rect":if(b.selectAll("rect").data(a.data).enter().append("rect").attr("x",a=>a.x).attr("y",a=>a.y).attr("width",a=>a.width).attr("height",a=>a.height).attr("fill",a=>a.fill).attr("stroke",a=>a.strokeFill).attr("stroke-width",a=>a.strokeWidth),j.showDataLabel){let c=j.showDataLabelOutsideBar;if("horizontal"===j.chartOrientation){let d=function(a,b){let{data:c,label:d}=a;return b*d.length*e<=c.width-f};(0,g.__name)(d,"fitsHorizontally");let e=.7,f=10,h=a.data.map((a,b)=>({data:a,label:k[b].toString()})).filter(a=>a.data.width>0&&a.data.height>0),j=Math.floor(Math.min(...h.map(a=>{let{data:b}=a,c=.7*b.height;for(;!d(a,c)&&c>0;)c-=1;return c}))),l=(0,g.__name)(a=>c?a.data.x+a.data.width+f:a.data.x+a.data.width-f,"determineLabelXPosition");b.selectAll("text").data(h).enter().append("text").attr("x",l).attr("y",a=>a.data.y+a.data.height/2).attr("text-anchor",c?"start":"end").attr("dominant-baseline","middle").attr("fill",i.dataLabelColor).attr("font-size",`${j}px`).text(a=>a.label)}else{let d=function(a,b,c){let{data:d,label:e}=a,f=b*e.length*.7,g=d.x+d.width/2,h=g-f/2,i=g+f/2,j=h>=d.x&&i<=d.x+d.width,k=d.y+c+b<=d.y+d.height;return j&&k};(0,g.__name)(d,"fitsInBar");let e=a.data.map((a,b)=>({data:a,label:k[b].toString()})).filter(a=>a.data.width>0&&a.data.height>0),f=Math.floor(Math.min(...e.map(a=>{let{data:b,label:c}=a,e=b.width/(.7*c.length);for(;!d(a,e,10)&&e>0;)e-=1;return e}))),h=(0,g.__name)(a=>c?a.data.y-10:a.data.y+10,"determineLabelYPosition");b.selectAll("text").data(e).enter().append("text").attr("x",a=>a.data.x+a.data.width/2).attr("y",h).attr("text-anchor","middle").attr("dominant-baseline",c?"auto":"hanging").attr("fill",i.dataLabelColor).attr("font-size",`${f}px`).text(a=>a.label)}}break;case"text":b.selectAll("text").data(a.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",a=>a.fill).attr("font-size",a=>a.fontSize).attr("dominant-baseline",a=>l(a.verticalPos)).attr("text-anchor",a=>m(a.horizontalPos)).attr("transform",a=>n(a)).text(a=>a.text);break;case"path":b.selectAll("path").data(a.data).enter().append("path").attr("d",a=>a.path).attr("fill",a=>a.fill?a.fill:"none").attr("stroke",a=>a.strokeFill).attr("stroke-width",a=>a.strokeWidth)}}},"draw");a.s(["diagram",0,{parser:m,db:ac,renderer:{draw:ad}}],154586)}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=1q96_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-2RQKCTM6_mjs_1l5rlhy._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[254799,(a,b,c)=>{b.exports=a.x("crypto",()=>require("crypto"))},641555,a=>{a.v(a=>Promise.resolve().then(()=>a(40362)))},833354,(a,b,c)=>{"use strict";c._=function(a){return a&&a.__esModule?a:{default:a}}},96299,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules_0jx8vby._.js","server/chunks/ssr/node_modules_0_w_s0o._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-5ZQYHXKU_mjs_16ac76u._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-XPW4576I_mjs_0u9wa-b._.js","server/chunks/ssr/node_modules_roughjs_bundled_rough_esm_15c9pcx.js","server/chunks/ssr/node_modules_mermaid_dist_mermaid_core_mjs_1ao-jv5._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-CSCIHK7Q_mjs_0savw5-._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-3OPIFGDE_mjs_165ua5_._.js","server/chunks/ssr/node_modules_0xme7lg._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-O5CBEL6O_mjs_074844c._.js","server/chunks/ssr/node_modules_mermaid_dist_chunks_mermaid_core_chunk-KSCS5N6A_mjs_1vk17qr._.js"].map(b=>a.l(b))).then(()=>b(483384)))}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%5D__0nzxyl0._.js.map
|