@evoscientist/webui 0.2.5 → 0.2.7
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 +13 -10
- package/dist/.next/prerender-manifest.json +18 -3
- package/dist/.next/required-server-files.json +27 -8
- package/dist/.next/server/app/_global-error/page/build-manifest.json +10 -7
- package/dist/.next/server/app/_global-error/page.js +6 -6
- package/dist/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/dist/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_global-error.html +1 -1
- package/dist/.next/server/app/_global-error.meta +11 -4
- package/dist/.next/server/app/_global-error.rsc +9 -9
- package/dist/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +16 -2
- package/dist/.next/server/app/_global-error.segments/_full.segment.rsc +9 -9
- package/dist/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/.next/server/app/_not-found/page/build-manifest.json +10 -7
- package/dist/.next/server/app/_not-found/page/next-font-manifest.json +1 -1
- package/dist/.next/server/app/_not-found/page.js +9 -10
- package/dist/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/_not-found.html +1 -1
- package/dist/.next/server/app/_not-found.meta +16 -5
- package/dist/.next/server/app/_not-found.rsc +16 -16
- package/dist/.next/server/app/_not-found.segments/_full.segment.rsc +16 -16
- package/dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +22 -2
- package/dist/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/dist/.next/server/app/api/evosci-config/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/evosci-config/route.js +3 -3
- package/dist/.next/server/app/api/evosci-config/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/evosci-config/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/memory/executions/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/memory/executions/route.js +4 -3
- package/dist/.next/server/app/api/memory/executions/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/memory/executions/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/memory/observations/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/memory/observations/route.js +4 -3
- package/dist/.next/server/app/api/memory/observations/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/memory/observations/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/memory/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/memory/route.js +4 -3
- package/dist/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/memory/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/skills/catalog/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/skills/catalog/route.js +3 -3
- package/dist/.next/server/app/api/skills/catalog/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/skills/catalog/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/skills/detail/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/skills/detail/route.js +3 -3
- package/dist/.next/server/app/api/skills/detail/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/skills/detail/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/skills/install/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/skills/install/route.js +3 -3
- package/dist/.next/server/app/api/skills/install/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/skills/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/skills/route.js +4 -3
- package/dist/.next/server/app/api/skills/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/workspace/download/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/workspace/download/route.js +4 -3
- package/dist/.next/server/app/api/workspace/download/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/workspace/download/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/workspace/file/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/workspace/file/route.js +4 -4
- package/dist/.next/server/app/api/workspace/file/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/workspace/file/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/workspace/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/workspace/route.js +4 -3
- package/dist/.next/server/app/api/workspace/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/workspace/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/api/workspace/upload/route/build-manifest.json +4 -1
- package/dist/.next/server/app/api/workspace/upload/route.js +4 -3
- package/dist/.next/server/app/api/workspace/upload/route.js.nft.json +1 -1
- package/dist/.next/server/app/api/workspace/upload/route_client-reference-manifest.js +1 -1
- package/dist/.next/server/app/icon.png/route/build-manifest.json +4 -1
- package/dist/.next/server/app/icon.png/route.js +4 -4
- package/dist/.next/server/app/icon.png/route.js.nft.json +1 -1
- package/dist/.next/server/app/index.html +1 -1
- package/dist/.next/server/app/index.meta +11 -4
- package/dist/.next/server/app/index.rsc +17 -17
- package/dist/.next/server/app/index.segments/__PAGE__.segment.rsc +22 -5
- package/dist/.next/server/app/index.segments/_full.segment.rsc +17 -17
- package/dist/.next/server/app/index.segments/_tree.segment.rsc +3 -3
- package/dist/.next/server/app/page/build-manifest.json +10 -7
- package/dist/.next/server/app/page/next-font-manifest.json +1 -1
- package/dist/.next/server/app/page.js +10 -11
- 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/[externals]__0l8ei7u._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0239a1s._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0d2jr7j._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0jsq76h._.js +6 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0k-rs5f._.js +6 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0key-2n._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0l3yhx4._.js +160 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0nn8czk._.js +6 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0t923su._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0zqsdzd._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__1alqt3_._.js +6 -0
- package/dist/.next/server/chunks/[turbopack]_runtime.js +97 -193
- package/dist/.next/server/chunks/_00r_7g_._.js +3 -0
- package/dist/.next/server/chunks/_042sj8j._.js +3 -0
- package/dist/.next/server/chunks/_0lp3ten._.js +3 -0
- package/dist/.next/server/chunks/_0m7b81h._.js +3 -0
- package/dist/.next/server/chunks/_13lro7d._.js +3 -0
- package/dist/.next/server/chunks/_154zcbx._.js +3 -0
- package/dist/.next/server/chunks/_1_oz68h._.js +3 -0
- package/dist/.next/server/chunks/_1lqtgjk._.js +3 -0
- package/dist/.next/server/chunks/{_next-internal_server_app_api_evosci-config_route_actions_0nka7fr.js → _next-internal_server_app_api_evosci-config_route_actions_13cf33i.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_memory_executions_route_actions_02b~_kt.js → _next-internal_server_app_api_memory_executions_route_actions_041n8x6.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_memory_observations_route_actions_0qhyoqo.js → _next-internal_server_app_api_memory_observations_route_actions_18ivi6u.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_memory_route_actions_0jf5z0q.js → _next-internal_server_app_api_memory_route_actions_0y2o7lg.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_skills_catalog_route_actions_0pp.pug.js → _next-internal_server_app_api_skills_catalog_route_actions_173mjj2.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_skills_detail_route_actions_02~v0so.js → _next-internal_server_app_api_skills_detail_route_actions_058ebza.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_skills_install_route_actions_03-v3ve.js → _next-internal_server_app_api_skills_install_route_actions_06zjol4.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_skills_route_actions_0kp0j6w.js → _next-internal_server_app_api_skills_route_actions_0_9y-ex.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_workspace_download_route_actions_0y83v2y.js → _next-internal_server_app_api_workspace_download_route_actions_1m4_t05.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_workspace_file_route_actions_06tfudj.js → _next-internal_server_app_api_workspace_file_route_actions_0bvzn6g.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_workspace_route_actions_0rc11bi.js → _next-internal_server_app_api_workspace_route_actions_19-xkal.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_api_workspace_upload_route_actions_070kzk5.js → _next-internal_server_app_api_workspace_upload_route_actions_0ccjxm_.js} +1 -1
- package/dist/.next/server/chunks/{_next-internal_server_app_icon_png_route_actions_12.gv.r.js → _next-internal_server_app_icon_png_route_actions_1-lsc8h.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0t6k_@mermaid-js_parser_dist_chunks_mermaid-parser_core_chunk-NNHCCRGN_mjs_01.5gnv._.js → 1daa_@mermaid-js_parser_dist_chunks_mermaid-parser_core_chunk-NNHCCRGN_mjs_03i6i8q._.js} +3 -3
- package/dist/.next/server/chunks/ssr/{0t6k_mermaid_dist_chunks_mermaid_core_mindmap-definition-RKZ34NQL_mjs_0ya3nf7._.js → 1daa_mermaid_dist_chunks_mermaid_core_mindmap-definition-RKZ34NQL_mjs_1m8bey3._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0t6k_mermaid_dist_chunks_mermaid_core_requirementDiagram-4Y6WPE33_mjs_07c4~j8._.js → 1daa_mermaid_dist_chunks_mermaid_core_requirementDiagram-4Y6WPE33_mjs_0cvy8c2._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0t6k_mermaid_dist_chunks_mermaid_core_timeline-definition-PNZ67QCA_mjs_0i6u~cs._.js → 1daa_mermaid_dist_chunks_mermaid_core_timeline-definition-PNZ67QCA_mjs_0vzw4gu._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-PVQCEYII_mjs_0xc8cuq._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-PVQCEYII_mjs_1kl1645._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_ishikawaDiagram-YF4QCWOH_mjs_12xi8w0._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_ishikawaDiagram-YF4QCWOH_mjs_1-btteu._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-JHISSGLW_mjs_0d.k2tv._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-JHISSGLW_mjs_0omhwqk._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-UN3LZRKU_mjs_02zfksy._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-UN3LZRKU_mjs_052rc5y._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-W4KKPZXB_mjs_0c30c1e._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-W4KKPZXB_mjs_0l8r0bx._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-3UESZ5HK_mjs_07fd9jw._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-3UESZ5HK_mjs_0c-9sj0._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_wardleyDiagram-YWT4CUSO_mjs_0a2sjhb._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_wardleyDiagram-YWT4CUSO_mjs_0hqmyh5._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-2RQKCTM6_mjs_0xpvx~c._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-2RQKCTM6_mjs_1l5rlhy._.js} +1 -1
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0471z20._.js +3 -0
- package/dist/.next/server/chunks/ssr/{[root-of-the-server]__031lpnq._.js → [root-of-the-server]__05c-vrc._.js} +7 -7
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__09pnxvp._.js +33 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0c75weq._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0imtqxe._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0nzxyl0._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0o0ct70._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0owaq8w._.js +12 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0xpcv9w._.js +14 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__1f4zvj-._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__1io3bae._.js +33 -0
- package/dist/.next/server/chunks/ssr/[turbopack]_runtime.js +97 -193
- package/dist/.next/server/chunks/ssr/_05yvop-._.js +4 -0
- package/dist/.next/server/chunks/ssr/{_next-internal_server_app__global-error_page_actions_0k77kol.js → _next-internal_server_app__global-error_page_actions_0zi5s8-.js} +1 -1
- package/dist/.next/server/chunks/ssr/{_next-internal_server_app__not-found_page_actions_0eq97pa.js → _next-internal_server_app__not-found_page_actions_0pt47yr.js} +1 -1
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1j.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_0v29g77._.js → node_modules_0-n78w2._.js} +3 -3
- package/dist/.next/server/chunks/ssr/node_modules_00cex-8._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0456qqx._.js +17 -0
- package/dist/.next/server/chunks/ssr/{node_modules_0po23em._.js → node_modules_07zdzg3._.js} +3 -3
- package/dist/.next/server/chunks/ssr/node_modules_082g_84._.js +31 -0
- package/dist/.next/server/chunks/ssr/node_modules_0_w_s0o._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0chqc93._.js +11 -0
- package/dist/.next/server/chunks/ssr/{node_modules_09w7yel._.js → node_modules_0h91jdk._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_0x8-epl._.js → node_modules_0i3cah4._.js} +3 -3
- package/dist/.next/server/chunks/ssr/node_modules_0jx8vby._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0kh3gaq._.js +45 -0
- package/dist/.next/server/chunks/ssr/node_modules_0oiuulr._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0sud39z._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0ty2qhi._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0u1te_7._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0uvms5m._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_0hsalo_._.js → node_modules_0v4zc0t._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_0j48jbs._.js → node_modules_0xme7lg._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_0z2foqi._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_0z4gniu._.js +17 -0
- package/dist/.next/server/chunks/ssr/{node_modules_0makin.._.js → node_modules_1-wfv6i._.js} +1 -1
- package/dist/.next/server/chunks/ssr/node_modules_111pp7w._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_15pczok._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_16l6ua_._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_16q2m8u._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_17rj81n._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1831lye._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_19b6jde._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1_jf-yx._.js +17 -0
- package/dist/.next/server/chunks/ssr/node_modules_1_v-pb8._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1bmqmso._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_1jpcwgl._.js +151 -0
- package/dist/.next/server/chunks/ssr/node_modules_1lio4hi._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_0~gyl9u._.js → node_modules_1nck62h._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_0z~-p3m._.js → node_modules_1p9b60w._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_1tj6b0h._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_0xheqa8._.js → node_modules_1z_uie6._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_1zskgct._.js +26 -0
- package/dist/.next/server/chunks/ssr/{node_modules_13oabuj._.js → node_modules_20p8pl7._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_01lis5y._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_07fm7s3._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0kitx9n._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0x5ivvr._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_145f4t2._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1_o7dux._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1alyi8-._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1bxlr8e._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1grmhd9._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_00~7fbh._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_01pthdh._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_01-g753._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_03fanqm._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_02.ao_s._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0597f-k._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0l0_~d-._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0__ix0y._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0c.1f2e._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0muxjzn._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0pjzhbh._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_16vf13h._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0uq.qxy._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1fzbfn5._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0_yd3ib._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1quf15b._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0.ksprp._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1vi37xl._.js} +1 -1
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_20vrei_._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_cytoscape_dist_cytoscape_esm_mjs_0642y5z._.js → node_modules_cytoscape_dist_cytoscape_esm_mjs_0arohj6._.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_dagre-d3-es_src_dagre_index_0g66msq.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_0oc7z2j._.js → node_modules_katex_dist_katex_mjs_04eh6b6._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_0zuygmo._.js → node_modules_katex_dist_katex_mjs_1oxucd3._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-GPEHLZMM_mjs_0bclh9~._.js → node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-GPEHLZMM_mjs_0jxv2ay._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-AAUBKEIU_mjs_11i~hhk._.js → node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-AAUBKEIU_mjs_1yyt6ej._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-3OPIFGDE_mjs_0p4md.t._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-3OPIFGDE_mjs_165ua5_._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-5ZQYHXKU_mjs_0p7as5d._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-5ZQYHXKU_mjs_16ac76u._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-727SXJPM_mjs_05x94.y._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-727SXJPM_mjs_0a9kagr._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-AQP2D5EJ_mjs_0_foecb._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-AQP2D5EJ_mjs_1p-51mn._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-CSCIHK7Q_mjs_0g3lwf.._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-CSCIHK7Q_mjs_0savw5-._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-KSCS5N6A_mjs_0.lzb4g._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-KSCS5N6A_mjs_1vk17qr._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-O5CBEL6O_mjs_041viuq._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-O5CBEL6O_mjs_074844c._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-XPW4576I_mjs_0h8ib.t._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-XPW4576I_mjs_0u9wa-b._.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_dagre-BM42HDAG_mjs_0itw5kh._.js → node_modules_mermaid_dist_chunks_mermaid_core_dagre-BM42HDAG_mjs_0w_brpy._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_diagram-OG6HWLK6_mjs_0et-fze._.js → node_modules_mermaid_dist_chunks_mermaid_core_diagram-OG6HWLK6_mjs_0pzbdul._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-TEJ5UH35_mjs_12bfcsi._.js → node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-TEJ5UH35_mjs_1_cyy1q._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-I6XJVG4X_mjs_0136c8y._.js → node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-I6XJVG4X_mjs_01y3363._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-5OEKKPKP_mjs_0z55106._.js → node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-5OEKKPKP_mjs_1nsv0tt._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-AJRCARHV_mjs_0azazz~._.js → node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-AJRCARHV_mjs_0j4-fk2._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_vennDiagram-CIIHVFJN_mjs_0wzofym._.js → node_modules_mermaid_dist_chunks_mermaid_core_vennDiagram-CIIHVFJN_mjs_1jvbrvq._.js} +1 -1
- package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_mermaid_core_mjs_0rr2bb.._.js → node_modules_mermaid_dist_mermaid_core_mjs_1ao-jv5._.js} +1 -1
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_1n3w9lb._.js +6 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_1vz8kh1._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js → node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js} +2 -2
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892.js +3 -0
- package/dist/.next/server/chunks/ssr/{node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js → node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js} +2 -2
- package/dist/.next/server/chunks/ssr/{node_modules_roughjs_bundled_rough_esm_0opq-c5.js → node_modules_roughjs_bundled_rough_esm_15c9pcx.js} +1 -1
- package/dist/.next/server/middleware-build-manifest.js +13 -10
- package/dist/.next/server/next-font-manifest.js +1 -1
- package/dist/.next/server/next-font-manifest.json +2 -2
- package/dist/.next/server/pages/404.html +1 -1
- package/dist/.next/server/pages/500.html +1 -1
- package/dist/.next/server/prefetch-hints.json +34 -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/{0wbhqz.-ey98b.js → 01nhrh-3r57wh.js} +1 -1
- package/dist/.next/static/chunks/02g89o135esk3.js +22 -0
- package/dist/.next/static/chunks/03regxjjibliy.js +29 -0
- package/dist/.next/static/chunks/{0n46g0ilh8wj..js → 05cl5ojgc4_ku.js} +6 -6
- package/dist/.next/static/chunks/0c4y7_xzemq6-.js +1 -0
- package/dist/.next/static/chunks/{0p9rfgg_duajn.js → 0dm2etancr7wp.js} +1 -1
- package/dist/.next/static/chunks/{0hq~c-~dp2g~1.js → 0l2v1ybx0rm07.js} +1 -1
- package/dist/.next/static/chunks/{104yvyc1ce3q5.js → 0o19535rrdg5j.js} +1 -1
- package/dist/.next/static/chunks/0piaur2yhvb4v.js +1 -0
- package/dist/.next/static/chunks/{0rhvismtjivza.js → 0s3geiy0as3cz.js} +5 -5
- package/dist/.next/static/chunks/12b5tf_04ca4i.js +10 -0
- package/dist/.next/static/chunks/{0qm2930z0c.8m.js → 15746zaz9af2k.js} +16 -16
- package/dist/.next/static/chunks/15m2ikcj71414.js +1 -0
- package/dist/.next/static/chunks/{07znaqalfuldz.js → 17y1ca1c2d1k0.js} +1 -1
- package/dist/.next/static/chunks/{187v8dzyf1l-f.js → 18dnd1yq8sjcm.js} +1 -1
- package/dist/.next/static/chunks/1h978hs06gqwr.js +1 -0
- package/dist/.next/static/chunks/1s8wltynx2kei.js +24 -0
- package/dist/.next/static/chunks/1vqrf8u3eyf8l.js +1 -0
- package/dist/.next/static/chunks/{11h85j-8~tny3.js → 1wsp3h55ims3-.js} +1 -1
- package/dist/.next/static/chunks/1x1nff_ltcu7m.js +1 -0
- package/dist/.next/static/chunks/1ztlt8o8gnas8.js +1 -0
- package/dist/.next/static/chunks/{0mo3-obfy2_6v.js → 2-tnv5f86ywqz.js} +2 -2
- package/dist/.next/static/chunks/20uqpnur2j1hn.js +1 -0
- package/dist/.next/static/chunks/{175hd_pl41_vh.js → 26t_0sbrej8uf.js} +2 -2
- package/dist/.next/static/chunks/28flaeabfo316.js +31 -0
- package/dist/.next/static/chunks/2ba37l0xctlco.js +1 -0
- package/dist/.next/static/chunks/2dmr54jagfdwa.css +3 -0
- package/dist/.next/static/chunks/2ia3pig2diart.js +43 -0
- package/dist/.next/static/chunks/{0ez8v7k1e7v4o.js → 2qe97b2xjvm_s.js} +1 -1
- package/dist/.next/static/chunks/2v_t22-0u_seu.js +1 -0
- package/dist/.next/static/chunks/2zf625u-tcwdn.js +1 -0
- package/dist/.next/static/chunks/{0cs_h74-ljzlt.js → 3-q38f64d_smq.js} +3 -3
- package/dist/.next/static/chunks/31ttnjt6g35a0.js +1 -0
- package/dist/.next/static/chunks/33t46atd3n2zd.js +1 -0
- package/dist/.next/static/chunks/{0dsde0n1co0l..js → 357a_3k2qrz6b.js} +1 -1
- package/dist/.next/static/chunks/383s4_f7pq0oz.js +1 -0
- package/dist/.next/static/chunks/3cnkwh7z04e3e.js +24 -0
- package/dist/.next/static/chunks/3s7at3o7ube_p.js +9 -0
- package/dist/.next/static/chunks/{16m14x8k2fnon.js → 3wb9uvu5ii1sy.js} +1 -1
- package/dist/.next/static/chunks/41ii5ld31fjk5.js +148 -0
- package/dist/.next/static/chunks/42yfqecr30v0q.js +10 -0
- package/dist/.next/static/chunks/turbopack-3cm-eevva8ksw.js +1 -0
- package/dist/node_modules/@img/sharp-darwin-arm64/index.cjs +2 -0
- package/dist/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64-0.35.3.node +0 -0
- package/dist/node_modules/@img/sharp-darwin-arm64/package.json +5 -4
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/README.md +15 -15
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +1 -3
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/{libvips-cpp.8.17.3.dylib → libvips-cpp.8.18.3.dylib} +0 -0
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/package.json +3 -2
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +21 -21
- package/dist/node_modules/@next/env/dist/index.js +1 -1
- package/dist/node_modules/@next/env/package.json +8 -8
- package/dist/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
- package/dist/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
- package/dist/node_modules/@swc/helpers/package.json +703 -469
- package/dist/node_modules/next/dist/build/define-env.js +10 -2
- package/dist/node_modules/next/dist/build/duration-to-string.js +2 -3
- package/dist/node_modules/next/dist/build/next-config-ts/transpile-config.js +3 -114
- package/dist/node_modules/next/dist/build/segment-config/app/app-segment-config.js +35 -19
- package/dist/node_modules/next/dist/build/segment-config/app/app-segments.js +11 -1
- package/dist/node_modules/next/dist/build/static-paths/app.js +66 -19
- package/dist/node_modules/next/dist/build/swc/index.js +84 -23
- package/dist/node_modules/next/dist/build/swc/jest-transformer.js +1 -0
- package/dist/node_modules/next/dist/build/swc/options.js +13 -5
- package/dist/node_modules/next/dist/build/utils.js +112 -70
- package/dist/node_modules/next/dist/cli/next-test.js +2 -1
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -10
- package/dist/node_modules/next/dist/client/components/app-router-instance.js +50 -40
- package/dist/node_modules/next/dist/client/components/app-router.js +9 -1
- package/dist/node_modules/next/dist/client/components/error-boundary.js +13 -9
- package/dist/node_modules/next/dist/client/components/handle-isr-error.js +3 -3
- package/dist/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js +2 -2
- package/dist/node_modules/next/dist/{server/app-render/instant-validation/instant-samples-client.js → client/components/instant-samples.js} +13 -7
- package/dist/node_modules/next/dist/client/components/links.js +25 -8
- package/dist/node_modules/next/dist/client/components/nav-failure-handler.js +1 -1
- package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +38 -0
- package/dist/node_modules/next/dist/client/components/navigation-untracked.js +5 -3
- package/dist/node_modules/next/dist/client/components/navigation.js +30 -9
- package/dist/node_modules/next/dist/client/components/offline.js +172 -0
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +5 -0
- package/dist/node_modules/next/dist/client/components/redirect.js +2 -2
- package/dist/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +5 -1
- package/dist/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +25 -17
- package/dist/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +196 -50
- package/dist/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +30 -19
- package/dist/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +235 -102
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +8 -2
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +12 -5
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +15 -2
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +38 -9
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +11 -2
- package/dist/node_modules/next/dist/client/components/router-reducer/router-reducer.js +10 -2
- package/dist/node_modules/next/dist/client/components/router-transition.js +135 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/bfcache.js +9 -7
- package/dist/node_modules/next/dist/client/components/segment-cache/cache-key.js +31 -3
- package/dist/node_modules/next/dist/client/components/segment-cache/cache-map.js +33 -12
- package/dist/node_modules/next/dist/client/components/segment-cache/cache.js +1089 -338
- package/dist/node_modules/next/dist/client/components/segment-cache/fetch.js +37 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +324 -103
- package/dist/node_modules/next/dist/client/components/segment-cache/navigation.js +218 -42
- package/dist/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +222 -117
- package/dist/node_modules/next/dist/client/components/segment-cache/prefetch.js +2 -1
- package/dist/node_modules/next/dist/client/components/segment-cache/scheduler.js +756 -235
- package/dist/node_modules/next/dist/client/components/segment-cache/types.js +19 -4
- package/dist/node_modules/next/dist/client/components/segment-cache/vary-path.js +50 -2
- package/dist/node_modules/next/dist/client/components/server-async-storage.js +43 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +15 -8
- package/dist/node_modules/next/dist/client/components/use-offline.js +68 -0
- package/dist/node_modules/next/dist/client/dev/debug-channel.js +367 -11
- package/dist/node_modules/next/dist/client/flight-data-helpers.js +4 -1
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +2 -1
- package/dist/node_modules/next/dist/client/route-params.js +12 -10
- package/dist/node_modules/next/dist/compiled/@hapi/accept/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/@napi-rs/triples/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/@vercel/detect-agent/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/@vercel/detect-agent/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/async-retry/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/async-sema/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/busboy/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/bytes/index.js +2 -2
- package/dist/node_modules/next/dist/compiled/ci-info/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/commander/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/comment-json/index.js +2 -2
- package/dist/node_modules/next/dist/compiled/compression/index.js +10 -10
- package/dist/node_modules/next/dist/compiled/conf/index.js +2 -14
- package/dist/node_modules/next/dist/compiled/content-disposition/index.js +2 -2
- package/dist/node_modules/next/dist/compiled/cross-spawn/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/debug/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/edge-runtime/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/find-up/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/fresh/index.js +2 -2
- package/dist/node_modules/next/dist/compiled/httpxy/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/httpxy/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/image-detector/detector.js +1 -1
- package/dist/node_modules/next/dist/compiled/image-size/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/ipaddr.js/ipaddr.js +1 -1
- package/dist/node_modules/next/dist/compiled/is-animated/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/is-docker/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/is-wsl/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/jsonwebtoken/index.js +3 -3
- package/dist/node_modules/next/dist/compiled/nanoid/index.cjs +1 -1
- package/dist/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +144 -15
- package/dist/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +144 -15
- package/dist/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +3 -3
- package/dist/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +12 -12
- package/dist/node_modules/next/dist/compiled/p-limit/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/p-queue/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/path-browserify/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/picomatch/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/react-is/package.json +3 -3
- package/dist/node_modules/next/dist/compiled/semver/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/send/index.js +13 -13
- package/dist/node_modules/next/dist/compiled/source-map/source-map.js +1 -1
- package/dist/node_modules/next/dist/compiled/string-hash/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/strip-ansi/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/superstruct/index.cjs +1 -1
- package/dist/node_modules/next/dist/compiled/tar/index.min.js +1 -1
- package/dist/node_modules/next/dist/compiled/text-table/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/watchpack/watchpack.js +1 -1
- package/dist/node_modules/next/dist/compiled/write-file-atomic/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/write-file-atomic/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/ws/index.js +1 -1
- package/dist/node_modules/next/dist/compiled/zod/index.cjs +1 -1
- package/dist/node_modules/next/dist/compiled/zod-validation-error/index.js +1 -1
- package/dist/node_modules/next/dist/experimental/testmode/fetch.js +8 -0
- package/dist/node_modules/next/dist/experimental/testmode/httpget.js +9 -2
- package/dist/node_modules/next/dist/experimental/testmode/server.js +11 -0
- package/dist/node_modules/next/dist/lib/bundler.js +72 -1
- package/dist/node_modules/next/dist/lib/create-client-router-filter.js +16 -0
- package/dist/node_modules/next/dist/lib/find-root.js +187 -33
- package/dist/node_modules/next/dist/lib/format-dynamic-import-path.js +23 -4
- package/dist/node_modules/next/dist/lib/git-worktree.js +74 -0
- package/dist/node_modules/next/dist/lib/helpers/get-pkg-manager.js +10 -8
- package/dist/node_modules/next/dist/lib/helpers/git.js +59 -0
- package/dist/node_modules/next/dist/lib/install-dependencies.js +1 -1
- package/dist/node_modules/next/dist/lib/is-serializable-props.js +5 -0
- package/dist/node_modules/next/dist/lib/metadata/get-metadata-route.js +54 -15
- package/dist/node_modules/next/dist/lib/metadata/metadata.js +20 -46
- package/dist/node_modules/next/dist/lib/metadata/resolve-metadata.js +14 -14
- package/dist/node_modules/next/dist/lib/needs-experimental-react.js +2 -2
- package/dist/node_modules/next/dist/lib/patch-incorrect-lockfile.js +5 -5
- package/dist/node_modules/next/dist/lib/profiles-dir.js +45 -0
- package/dist/node_modules/next/dist/lib/require-instrumentation-client.js +10 -4
- package/dist/node_modules/next/dist/lib/resolve-build-paths.js +38 -10
- package/dist/node_modules/next/dist/lib/turbopack-cache-seed.js +171 -0
- package/dist/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +4 -84
- package/dist/node_modules/next/dist/lib/typescript/loadTsConfig.js +181 -0
- package/dist/node_modules/next/dist/lib/typescript/missingDependencyError.js +2 -3
- package/dist/node_modules/next/dist/lib/typescript/runTypeCheckCli.js +53 -0
- package/dist/node_modules/next/dist/lib/typescript/runTypeScriptCli.js +256 -0
- package/dist/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +2 -0
- package/dist/node_modules/next/dist/lib/verify-partytown-setup.js +15 -26
- package/dist/node_modules/next/dist/lib/verify-typescript-setup.js +97 -56
- package/dist/node_modules/next/dist/server/after/after-context.js +55 -17
- package/dist/node_modules/next/dist/server/after/after.js +4 -2
- package/dist/node_modules/next/dist/server/api-utils/index.js +20 -4
- package/dist/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +5 -2
- package/dist/node_modules/next/dist/server/app-render/action-handler.js +162 -54
- package/dist/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +176 -11
- package/dist/node_modules/next/dist/server/app-render/app-render.js +3249 -1275
- package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js +181 -0
- package/dist/node_modules/next/dist/server/app-render/collect-segment-data.js +531 -210
- package/dist/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +9 -4
- package/dist/node_modules/next/dist/server/app-render/create-component-tree.js +13 -77
- package/dist/node_modules/next/dist/server/app-render/create-error-handler.js +19 -18
- package/dist/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +78 -26
- package/dist/node_modules/next/dist/server/app-render/debug-channel-server.js +26 -9
- package/dist/node_modules/next/dist/server/app-render/debug-channel-server.node.js +60 -0
- package/dist/node_modules/next/dist/server/app-render/debug-channel-server.web.js +8 -19
- package/dist/node_modules/next/dist/server/app-render/dev-validation-error-delivery.js +37 -0
- package/dist/node_modules/next/dist/server/app-render/dev-validation-events.js +26 -0
- package/dist/node_modules/next/dist/server/app-render/dev-validation-scheduler.js +87 -0
- package/dist/node_modules/next/dist/server/app-render/dev-validation-worker-globals.js +41 -0
- package/dist/node_modules/next/dist/server/app-render/dev-validation-worker-snapshot.js +79 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +261 -204
- package/dist/node_modules/next/dist/server/app-render/encryption.js +11 -9
- package/dist/node_modules/next/dist/server/app-render/entry-base.js +25 -16
- package/dist/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +2 -6
- package/dist/node_modules/next/dist/server/app-render/get-layer-assets.js +11 -7
- package/dist/node_modules/next/dist/server/app-render/instant-test-bootstrap.js +20 -0
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +21 -3
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-impl.js +25 -1
- package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +24 -4
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +119 -59
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +10 -10
- package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation.js +394 -173
- package/dist/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js +3 -4
- package/dist/node_modules/next/dist/server/app-render/manifests-singleton.js +78 -15
- package/dist/node_modules/next/dist/server/app-render/module-loading/instrument-module-getter.js +32 -0
- package/dist/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js +2 -6
- package/dist/node_modules/next/dist/server/app-render/postponed-state.js +78 -5
- package/dist/node_modules/next/dist/server/app-render/render-css-resource.js +20 -15
- package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +182 -201
- package/dist/node_modules/next/dist/server/app-render/stale-time.js +0 -10
- package/dist/node_modules/next/dist/server/app-render/stream-ops.js +85 -36
- package/dist/node_modules/next/dist/server/app-render/stream-ops.node.js +842 -0
- package/dist/node_modules/next/dist/server/app-render/stream-ops.web.js +116 -30
- package/dist/node_modules/next/dist/server/app-render/sync-io-messages.js +67 -0
- package/dist/node_modules/next/dist/server/app-render/use-flight-response.js +11 -8
- package/dist/node_modules/next/dist/server/app-render/vary-params.js +113 -188
- package/dist/node_modules/next/dist/server/app-render/wait-for-response.js +36 -0
- package/dist/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +11 -6
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +33 -63
- package/dist/node_modules/next/dist/server/async-storage/draft-mode-provider.js +2 -2
- package/dist/node_modules/next/dist/server/async-storage/request-store.js +84 -27
- package/dist/node_modules/next/dist/server/async-storage/work-store.js +7 -1
- package/dist/node_modules/next/dist/server/base-server.js +147 -72
- package/dist/node_modules/next/dist/server/body-streams.js +9 -1
- package/dist/node_modules/next/dist/server/client-component-renderer-logger.js +2 -2
- package/dist/node_modules/next/dist/server/config-schema.js +84 -10
- package/dist/node_modules/next/dist/server/config-shared.js +46 -20
- package/dist/node_modules/next/dist/server/config.js +343 -52
- package/dist/node_modules/next/dist/server/dev/browser-logs/file-logger.js +4 -4
- package/dist/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +152 -100
- package/dist/node_modules/next/dist/server/dev/debug-channel.js +48 -23
- package/dist/node_modules/next/dist/server/dev/dev-validation-worker-pool.js +232 -0
- package/dist/node_modules/next/dist/server/dev/dev-validation-worker.js +308 -0
- package/dist/node_modules/next/dist/server/dev/hot-middleware.js +3 -1
- package/dist/node_modules/next/dist/server/dev/hot-reloader-rspack.js +1 -1
- package/dist/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +420 -144
- package/dist/node_modules/next/dist/server/dev/hot-reloader-types.js +2 -0
- package/dist/node_modules/next/dist/server/dev/hot-reloader-webpack.js +17 -23
- package/dist/node_modules/next/dist/server/dev/log-requests.js +3 -0
- package/dist/node_modules/next/dist/server/dev/middleware-turbopack.js +26 -7
- package/dist/node_modules/next/dist/server/dev/middleware-webpack.js +20 -8
- package/dist/node_modules/next/dist/server/dev/node-stack-frames.js +9 -0
- package/dist/node_modules/next/dist/server/dev/require-cache.js +33 -3
- package/dist/node_modules/next/dist/server/dev/serialized-errors.js +1 -1
- package/dist/node_modules/next/dist/server/dev/static-paths-worker.js +4 -3
- package/dist/node_modules/next/dist/server/dev/turbopack-utils.js +52 -12
- package/dist/node_modules/next/dist/server/dev/use-cache-probe-pool.js +177 -0
- package/dist/node_modules/next/dist/server/dev/use-cache-probe-worker.js +180 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +200 -23
- package/dist/node_modules/next/dist/server/get-page-files.js +20 -3
- package/dist/node_modules/next/dist/server/image-optimizer.js +47 -39
- package/dist/node_modules/next/dist/server/lib/app-info-log.js +19 -16
- package/dist/node_modules/next/dist/server/lib/cache-handlers/default.js +41 -5
- package/dist/node_modules/next/dist/server/lib/cpu-profile.js +2 -5
- package/dist/node_modules/next/dist/server/lib/dev-bundler-service.js +17 -2
- package/dist/node_modules/next/dist/server/lib/encode-header-safe.js +44 -0
- package/dist/node_modules/next/dist/server/lib/generate-agent-files.js +180 -0
- package/dist/node_modules/next/dist/server/lib/implicit-tags.js +16 -6
- package/dist/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +17 -4
- package/dist/node_modules/next/dist/server/lib/incremental-cache/index.js +120 -74
- package/dist/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +13 -11
- package/dist/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js +1 -1
- package/dist/node_modules/next/dist/server/lib/is-non-html-sec-fetch-dest.js +38 -0
- package/dist/node_modules/next/dist/server/lib/lazy-module.js +80 -0
- package/dist/node_modules/next/dist/server/lib/lru-cache.js +1 -1
- package/dist/node_modules/next/dist/server/lib/mock-request.js +1 -1
- package/dist/node_modules/next/dist/server/lib/params-utils.js +70 -0
- package/dist/node_modules/next/dist/server/lib/patch-fetch.js +66 -17
- package/dist/node_modules/next/dist/server/lib/release-compression-stream.js +24 -0
- package/dist/node_modules/next/dist/server/lib/render-server.js +3 -1
- package/dist/node_modules/next/dist/server/lib/router-server.js +70 -13
- package/dist/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +2 -2
- package/dist/node_modules/next/dist/server/lib/router-utils/cache-life-type-utils.js +1 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/filesystem.js +31 -10
- package/dist/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +54 -36
- package/dist/node_modules/next/dist/server/lib/router-utils/proxy-request.js +19 -9
- package/dist/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +5 -2
- package/dist/node_modules/next/dist/server/lib/router-utils/root-params-type-utils.js +61 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +40 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/typegen.js +55 -21
- package/dist/node_modules/next/dist/server/lib/source-maps.js +54 -9
- package/dist/node_modules/next/dist/server/lib/start-server.js +69 -23
- package/dist/node_modules/next/dist/server/lib/streaming-metadata.js +11 -22
- package/dist/node_modules/next/dist/server/lib/trace/constants.js +5 -0
- package/dist/node_modules/next/dist/server/lib/trace/local-span-recorder.js +385 -0
- package/dist/node_modules/next/dist/server/lib/trace/request-insights-identity.js +39 -0
- package/dist/node_modules/next/dist/server/lib/trace/request-insights.js +308 -0
- package/dist/node_modules/next/dist/server/lib/trace/span-store.js +69 -0
- package/dist/node_modules/next/dist/server/lib/trace/tracer.js +123 -11
- package/dist/node_modules/next/dist/server/lib/utils.js +14 -0
- package/dist/node_modules/next/dist/server/load-components.js +8 -2
- package/dist/node_modules/next/dist/server/mcp/get-or-create-mcp-server.js +10 -0
- package/dist/node_modules/next/dist/server/mcp/tools/compile-route.js +86 -0
- package/dist/node_modules/next/dist/server/mcp/tools/get-compilation-issues.js +68 -0
- package/dist/node_modules/next/dist/server/mcp/tools/get-request-insights.js +57 -0
- package/dist/node_modules/next/dist/server/mcp/tools/utils/format-compilation-issues.js +72 -0
- package/dist/node_modules/next/dist/server/mcp/tools/utils/resolve-path-to-route.js +49 -0
- package/dist/node_modules/next/dist/server/next-server.js +30 -16
- package/dist/node_modules/next/dist/server/next.js +42 -12
- package/dist/node_modules/next/dist/server/node-environment-extensions/io-utils.js +31 -124
- package/dist/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +156 -77
- package/dist/node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js +12 -2
- package/dist/node_modules/next/dist/server/og/cache-image-response.js +341 -0
- package/dist/node_modules/next/dist/server/og/image-response.js +22 -3
- package/dist/node_modules/next/dist/server/patch-error-inspect.js +70 -16
- package/dist/node_modules/next/dist/server/pipe-readable.js +73 -1
- package/dist/node_modules/next/dist/server/render-result.js +42 -0
- package/dist/node_modules/next/dist/server/render.js +3 -1
- package/dist/node_modules/next/dist/server/request/connection.js +6 -4
- package/dist/node_modules/next/dist/server/request/cookies.js +18 -14
- package/dist/node_modules/next/dist/server/request/draft-mode.js +11 -3
- package/dist/node_modules/next/dist/server/request/fallback-params.js +1 -1
- package/dist/node_modules/next/dist/server/request/headers.js +16 -10
- package/dist/node_modules/next/dist/server/request/io.js +96 -0
- package/dist/node_modules/next/dist/server/request/params.js +191 -84
- package/dist/node_modules/next/dist/server/request/pathname.js +24 -2
- package/dist/node_modules/next/dist/server/request/root-params.js +9 -1
- package/dist/node_modules/next/dist/server/request/search-params.js +126 -70
- package/dist/node_modules/next/dist/server/request/utils.js +39 -6
- package/dist/node_modules/next/dist/server/response-cache/index.js +36 -24
- package/dist/node_modules/next/dist/server/resume-data-cache/cache-store.js +7 -2
- package/dist/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +25 -7
- package/dist/node_modules/next/dist/server/revalidation-utils.js +1 -2
- package/dist/node_modules/next/dist/server/route-modules/app-page/module.js +15 -1
- package/dist/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +40 -3
- package/dist/node_modules/next/dist/server/route-modules/app-route/module.js +79 -46
- package/dist/node_modules/next/dist/server/route-modules/pages/pages-handler.js +270 -248
- package/dist/node_modules/next/dist/server/route-modules/route-module.js +45 -8
- package/dist/node_modules/next/dist/server/stream-utils/node-buffered-transform-stream.js +51 -0
- package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +90 -69
- package/dist/node_modules/next/dist/server/typescript/index.js +3 -3
- package/dist/node_modules/next/dist/server/typescript/rules/client-boundary.js +7 -4
- package/dist/node_modules/next/dist/server/typescript/rules/config.js +50 -28
- package/dist/node_modules/next/dist/server/use-cache/cache-life-profile.js +84 -0
- package/dist/node_modules/next/dist/server/use-cache/cache-life.js +4 -65
- package/dist/node_modules/next/dist/server/use-cache/clone-cache-entry.js +28 -0
- package/dist/node_modules/next/dist/server/use-cache/constants.js +24 -8
- package/dist/node_modules/next/dist/server/use-cache/handlers.js +166 -13
- package/dist/node_modules/next/dist/server/use-cache/tiered-cache-handler.js +145 -0
- package/dist/node_modules/next/dist/server/use-cache/use-cache-errors.js +34 -11
- package/dist/node_modules/next/dist/server/use-cache/use-cache-probe-globals.js +39 -0
- package/dist/node_modules/next/dist/server/use-cache/use-cache-probe-scheduler.js +117 -0
- package/dist/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1475 -458
- package/dist/node_modules/next/dist/server/web/adapter.js +37 -4
- package/dist/node_modules/next/dist/server/web/edge-route-module-wrapper.js +14 -2
- package/dist/node_modules/next/dist/server/web/error.js +15 -0
- package/dist/node_modules/next/dist/server/web/sandbox/context.js +8 -2
- package/dist/node_modules/next/dist/server/web/sandbox/resource-managers.js +45 -10
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +103 -2
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +15 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js +18 -6
- package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +35 -17
- package/dist/node_modules/next/dist/server/web/spec-extension/url-pattern.js +1 -2
- package/dist/node_modules/next/dist/shared/lib/app-router-types.js +125 -12
- package/dist/node_modules/next/dist/shared/lib/constants.js +5 -0
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js +1 -1
- package/dist/node_modules/next/dist/shared/lib/errors/empty-generate-static-params-error.js +14 -7
- package/dist/node_modules/next/dist/shared/lib/errors/hard-deprecated-config-error.js +5 -0
- package/dist/node_modules/next/dist/shared/lib/head.js +5 -4
- package/dist/node_modules/next/dist/shared/lib/instant-messages.js +43 -0
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +5 -0
- package/dist/node_modules/next/dist/shared/lib/request-insights.js +30 -0
- package/dist/node_modules/next/dist/shared/lib/router/adapters.js +4 -1
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +36 -12
- package/dist/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +1 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +1 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +2 -1
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +5 -4
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +1 -1
- package/dist/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +46 -12
- package/dist/node_modules/next/dist/shared/lib/server-reference-info.js +12 -0
- package/dist/node_modules/next/dist/shared/lib/utils.js +10 -1
- package/dist/node_modules/next/dist/telemetry/agent-name.js +20 -0
- package/dist/node_modules/next/dist/telemetry/anonymous-meta.js +4 -2
- package/dist/node_modules/next/dist/telemetry/events/build.js +13 -0
- package/dist/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/dist/node_modules/next/dist/telemetry/events/version.js +6 -4
- package/dist/node_modules/next/dist/telemetry/storage.js +6 -2
- package/dist/node_modules/next/dist/trace/report/to-json.js +7 -1
- package/dist/node_modules/next/package.json +16 -255
- package/dist/node_modules/semver/package.json +38 -0
- package/dist/node_modules/sharp/{lib/channel.js → dist/channel.cjs} +1 -1
- package/dist/node_modules/sharp/dist/channel.mjs +177 -0
- package/dist/node_modules/sharp/{lib/colour.js → dist/colour.cjs} +11 -7
- package/dist/node_modules/sharp/dist/colour.mjs +199 -0
- package/dist/node_modules/sharp/{lib/composite.js → dist/composite.cjs} +2 -1
- package/dist/node_modules/sharp/dist/composite.mjs +213 -0
- package/dist/node_modules/sharp/{lib/constructor.js → dist/constructor.cjs} +41 -29
- package/dist/node_modules/sharp/dist/constructor.mjs +511 -0
- package/dist/node_modules/sharp/dist/index.cjs +25 -0
- package/dist/node_modules/sharp/dist/index.d.cts +1999 -0
- package/dist/node_modules/sharp/dist/index.d.mts +2046 -0
- package/dist/node_modules/sharp/dist/index.mjs +25 -0
- package/dist/node_modules/sharp/{lib/input.js → dist/input.cjs} +27 -22
- package/dist/node_modules/sharp/dist/input.mjs +814 -0
- package/dist/node_modules/sharp/{lib/is.js → dist/is.cjs} +1 -1
- package/dist/node_modules/sharp/dist/is.mjs +143 -0
- package/dist/node_modules/sharp/{lib/libvips.js → dist/libvips.cjs} +35 -30
- package/dist/node_modules/sharp/dist/libvips.mjs +212 -0
- package/dist/node_modules/sharp/{lib/operation.js → dist/operation.cjs} +33 -51
- package/dist/node_modules/sharp/dist/operation.mjs +998 -0
- package/dist/node_modules/sharp/{lib/output.js → dist/output.cjs} +162 -40
- package/dist/node_modules/sharp/dist/output.mjs +1788 -0
- package/dist/node_modules/sharp/{lib/resize.js → dist/resize.cjs} +46 -24
- package/dist/node_modules/sharp/dist/resize.mjs +617 -0
- package/dist/node_modules/sharp/dist/sharp.cjs +174 -0
- package/dist/node_modules/sharp/dist/sharp.mjs +174 -0
- package/dist/node_modules/sharp/{lib/utility.js → dist/utility.cjs} +18 -8
- package/dist/node_modules/sharp/dist/utility.mjs +301 -0
- package/dist/node_modules/sharp/node_modules/semver/classes/range.js +17 -4
- package/dist/node_modules/sharp/node_modules/semver/classes/semver.js +19 -2
- package/dist/node_modules/sharp/node_modules/semver/functions/clean.js +8 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/compare-build.js +9 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/compare-loose.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/diff.js +60 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/inc.js +21 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/major.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/minor.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/patch.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/prerelease.js +8 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/rcompare.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/rsort.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/sort.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/truncate.js +48 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/valid.js +8 -0
- package/dist/node_modules/sharp/node_modules/semver/index.js +93 -0
- package/dist/node_modules/sharp/node_modules/semver/package.json +2 -2
- package/dist/node_modules/sharp/node_modules/semver/ranges/gtr.js +6 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/intersects.js +9 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/ltr.js +6 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/min-version.js +63 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/outside.js +82 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/simplify.js +49 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/subset.js +249 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/to-comparators.js +10 -0
- package/dist/node_modules/sharp/node_modules/semver/ranges/valid.js +13 -0
- package/dist/node_modules/sharp/package.json +77 -52
- package/dist/package.json +2 -2
- package/dist/server.js +1 -1
- package/package.json +2 -2
- package/dist/.next/server/app/_global-error.segments/_head.segment.rsc +0 -5
- package/dist/.next/server/app/_global-error.segments/_index.segment.rsc +0 -5
- package/dist/.next/server/app/_not-found.segments/_head.segment.rsc +0 -6
- package/dist/.next/server/app/_not-found.segments/_index.segment.rsc +0 -8
- package/dist/.next/server/app/_not-found.segments/_not-found.segment.rsc +0 -5
- package/dist/.next/server/app/index.segments/_head.segment.rsc +0 -6
- package/dist/.next/server/app/index.segments/_index.segment.rsc +0 -8
- package/dist/.next/server/chunks/[externals]_next_dist_0arv.vj._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__04y5ms7._.js +0 -6
- package/dist/.next/server/chunks/[root-of-the-server]__05vp2x.._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__08kko28._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0bpxd~j._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0cnmh23._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0j8-xkl._.js +0 -13
- package/dist/.next/server/chunks/[root-of-the-server]__0nngqla._.js +0 -6
- package/dist/.next/server/chunks/[root-of-the-server]__0o.c5k_._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0pz~0wz._.js +0 -6
- package/dist/.next/server/chunks/[root-of-the-server]__0s6.s21._.js +0 -6
- package/dist/.next/server/chunks/[root-of-the-server]__0vunt~c._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0xoct7b._.js +0 -3
- package/dist/.next/server/chunks/[root-of-the-server]__0yvyeh4._.js +0 -3
- package/dist/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0dh.2jf.js +0 -3
- package/dist/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0qs61ly.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__01cqrhy._.js +0 -33
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__098zro9._.js +0 -19
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0cylknl._.js +0 -12
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0e_kl3j._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0e~coys._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0lb9jwe._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0tcyn68._.js +0 -33
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0zi~h76._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__1130a6w._.js +0 -3
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__12~42ln._.js +0 -3
- package/dist/.next/server/chunks/ssr/_03eop86._.js +0 -4
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_page_actions_09-gtaw.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0-9jf7s._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0.l_o9k._.js +0 -26
- package/dist/.next/server/chunks/ssr/node_modules_00-o__w._.js +0 -45
- package/dist/.next/server/chunks/ssr/node_modules_00yk8df._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_01rqq7y._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_050o3~0._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_09x0yif._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0_ce7g1._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0a61e8g._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0a9st_6._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0cdeu-p._.js +0 -6
- package/dist/.next/server/chunks/ssr/node_modules_0d91z34._.js +0 -11
- package/dist/.next/server/chunks/ssr/node_modules_0exnvlg._.js +0 -17
- package/dist/.next/server/chunks/ssr/node_modules_0h3oz6o._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0kf5axs._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0k~wgzn._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0l-2che._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0m8d9.a._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0p1ro75._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0q8gl61._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0s8hn7e._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0skn4ke._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0u1jua0._.js +0 -17
- package/dist/.next/server/chunks/ssr/node_modules_0ujy5r7._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_0xl3swb._.js +0 -17
- package/dist/.next/server/chunks/ssr/node_modules_0yx-7n5._.js +0 -31
- package/dist/.next/server/chunks/ssr/node_modules_11r29oo._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_12uy2-t._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_00zox90._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_048nvza._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0bqbkzr._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0iy4ann._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0n~wpy6._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0rp8krb._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0se--ys._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0v554rd._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_12i5eeu._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_13s5vbm._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_dagre-d3-es_src_dagre_index_097t5l0.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_0xdsm99._.js +0 -6
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js +0 -3
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_00t_ate.js +0 -4
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_031v14j.js +0 -4
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0rc3ul_.js +0 -4
- package/dist/.next/static/chunks/0-.wbb-l7eg0y.js +0 -1
- package/dist/.next/static/chunks/0-6znc4v4kg4~.js +0 -1
- package/dist/.next/static/chunks/038jxymv2x4u-.js +0 -148
- package/dist/.next/static/chunks/08nzg~fbi7p-7.js +0 -1
- package/dist/.next/static/chunks/0aqpm5mabssqz.js +0 -1
- package/dist/.next/static/chunks/0dcu67gngfgpb.js +0 -4
- package/dist/.next/static/chunks/0do2sl_ugmstg.js +0 -10
- package/dist/.next/static/chunks/0e~yxiezknbzn.css +0 -3
- package/dist/.next/static/chunks/0ge0mq0ea60lx.js +0 -1
- package/dist/.next/static/chunks/0h-pxsp01miga.js +0 -1
- package/dist/.next/static/chunks/0i8pgzf~hu-3m.js +0 -24
- package/dist/.next/static/chunks/0icpvuwlmnlty.js +0 -43
- package/dist/.next/static/chunks/0ipk1er3w80bj.js +0 -24
- package/dist/.next/static/chunks/0lfej4svc~ist.js +0 -1
- package/dist/.next/static/chunks/0lmzx880lnpb..js +0 -1
- package/dist/.next/static/chunks/0luwdx.2p-x9e.js +0 -31
- package/dist/.next/static/chunks/0npm9l63~4j0v.js +0 -1
- package/dist/.next/static/chunks/0r~zu0c3j_b7p.js +0 -1
- package/dist/.next/static/chunks/0w57stq9f_irn.js +0 -10
- package/dist/.next/static/chunks/0~b.d.ay4u9zg.js +0 -2
- package/dist/.next/static/chunks/112qdnf547wz8.js +0 -1
- package/dist/.next/static/chunks/11uh-ttx4zin-.js +0 -9
- package/dist/.next/static/chunks/14i46k409qlt0.js +0 -1
- package/dist/.next/static/chunks/14j238ax8coge.js +0 -29
- package/dist/.next/static/chunks/14u7twut.vmn5.js +0 -1
- package/dist/.next/static/chunks/16k05wezoz4u0.js +0 -1
- package/dist/.next/static/chunks/turbopack-12mx7z-ex6m1h.js +0 -1
- package/dist/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -28
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -32
- package/dist/node_modules/next/dist/compiled/http-proxy/index.js +0 -34
- package/dist/node_modules/next/dist/compiled/http-proxy/package.json +0 -1
- package/dist/node_modules/next/dist/lib/fatal-error.js +0 -14
- package/dist/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +0 -39
- package/dist/node_modules/sharp/lib/index.js +0 -16
- package/dist/node_modules/sharp/lib/sharp.js +0 -121
- /package/dist/.next/static/{KtUBUvcK3Gu2PuRf9GGiJ → 0ElnbO3cxvcyCbDz0Tuqe}/_buildManifest.js +0 -0
- /package/dist/.next/static/{KtUBUvcK3Gu2PuRf9GGiJ → 0ElnbO3cxvcyCbDz0Tuqe}/_clientMiddlewareManifest.js +0 -0
- /package/dist/.next/static/{KtUBUvcK3Gu2PuRf9GGiJ → 0ElnbO3cxvcyCbDz0Tuqe}/_ssgManifest.js +0 -0
- /package/dist/.next/static/chunks/{01ontipw7_pn-.js → 059oqdb-4djh4.js} +0 -0
- /package/dist/.next/static/chunks/{03lth2le32c6r.js → 0bk3aw3m9c72a.js} +0 -0
- /package/dist/.next/static/chunks/{03l_lqxocp3uj.js → 0bko6sy3fi25l.js} +0 -0
- /package/dist/.next/static/chunks/{03v0v690_bw8u.js → 0catqiaei7kwh.js} +0 -0
- /package/dist/.next/static/chunks/{03yru4-m-450t.js → 0cm59yzmvnr6a.js} +0 -0
- /package/dist/.next/static/chunks/{03~yq9q893hmn.js → 0cz1d0mv5g_q7.js} +0 -0
- /package/dist/.next/static/chunks/{06o.rsm2b~dht.js → 0ll25xvc8tvc7.js} +0 -0
- /package/dist/.next/static/chunks/{08o5wsrurx9ux.js → 0r-qze3me8owo.js} +0 -0
- /package/dist/.next/static/chunks/{09~n7y-jkmjlj.js → 0wf_g68m1dyuq.js} +0 -0
- /package/dist/.next/static/chunks/{0awsj.h.eiuen.js → 0z7hf76h0cz39.js} +0 -0
- /package/dist/.next/static/chunks/{0axtn1ln1j35_.js → 0zao0i_njogzy.js} +0 -0
- /package/dist/.next/static/chunks/{0c5xj4q0jmdu0.js → 11jp13p4e7ycl.js} +0 -0
- /package/dist/.next/static/chunks/{0cu8k_dz43e4y.js → 13j02-7zvh70e.js} +0 -0
- /package/dist/.next/static/chunks/{0e4xdug~7dxzk.js → 17zvg7jc-nx5v.js} +0 -0
- /package/dist/.next/static/chunks/{0f8bbcvfh6x_j.js → 1bi4m489puezc.js} +0 -0
- /package/dist/.next/static/chunks/{0gq18q-ip0uh2.js → 1g6nbgmclpjgd.js} +0 -0
- /package/dist/.next/static/chunks/{0k9_1v72yx36d.js → 1rxbddx-dyypf.js} +0 -0
- /package/dist/.next/static/chunks/{0l3uvjh3oslhq.js → 1un-c368y76x-.js} +0 -0
- /package/dist/.next/static/chunks/{0lypu-.xpph9..js → 1x5foe7mtvd8m.js} +0 -0
- /package/dist/.next/static/chunks/{0ortphe030oky.js → 24c-6p_4lbozm.js} +0 -0
- /package/dist/.next/static/chunks/{0oufb2b491l23.js → 24l5e3uup8rxf.js} +0 -0
- /package/dist/.next/static/chunks/{0ps77yd96walr.js → 27n_wru0tprv5.js} +0 -0
- /package/dist/.next/static/chunks/{0qfu4h5g.k-yt.js → 29x7ecuc6vybp.js} +0 -0
- /package/dist/.next/static/chunks/{0rmt10l3458p_.js → 2dqeid-8xhwun.js} +0 -0
- /package/dist/.next/static/chunks/{0s0v8xobo-2ok.js → 2f6739bq5ewxz.js} +0 -0
- /package/dist/.next/static/chunks/{0s8nwq43gep9_.js → 2fuc_smcevit1.js} +0 -0
- /package/dist/.next/static/chunks/{0spswjguxbqfn.js → 2h7acwi-mfsrx.js} +0 -0
- /package/dist/.next/static/chunks/{0xxouzzjw_a6q.js → 2y3wq_x8yyu_b.js} +0 -0
- /package/dist/.next/static/chunks/{0ydl92ezt_ppz.js → 2zrfdnujo3u51.js} +0 -0
- /package/dist/.next/static/chunks/{16pzrphqjtyli.js → 3-t8rqn47mim5.js} +0 -0
- /package/dist/.next/static/chunks/{0~.e-m04zn5l_.js → 3cvv663zekq_n.js} +0 -0
- /package/dist/.next/static/chunks/{11luuvvu~stmv.js → 3l6bwn061vy22.js} +0 -0
- /package/dist/.next/static/chunks/{11_7qxlc92f5s.js → 3mcxvhb8ujk39.js} +0 -0
- /package/dist/.next/static/chunks/{13mjf5q.pema_.js → 3rru41488bc4e.js} +0 -0
- /package/dist/.next/static/chunks/{159151ghv9-cc.js → 3x5hww03ialmf.js} +0 -0
- /package/dist/.next/static/chunks/{15r_pfbdb2jhp.js → 3ypwau9uw-qzz.js} +0 -0
- /package/dist/.next/static/chunks/{182b_f_n0-cdr.js → 44dlrjamdw9zn.js} +0 -0
- /package/dist/.next/static/media/{1bffadaabf893a1e-s.16ipb6fqu393i.woff2 → 1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2} +0 -0
- /package/dist/.next/static/media/{2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 → 2bbe8d2671613f1f-s.0k62hbripvv8p.woff2} +0 -0
- /package/dist/.next/static/media/{2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 → 2c55a0e60120577a-s.0-dom-5bn10r2.woff2} +0 -0
- /package/dist/.next/static/media/{5476f68d60460930-s.0wxq9webf.ew4.woff2 → 5476f68d60460930-s.2uwcyprjm3xu3.woff2} +0 -0
- /package/dist/.next/static/media/{83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2 → 83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2} +0 -0
- /package/dist/.next/static/media/{9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 → 9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_AMS-Regular.0b~8ki5y928w2.woff → KaTeX_AMS-Regular.10y3kupq4t663.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_AMS-Regular.0p1vbqd84i2~o.woff2 → KaTeX_AMS-Regular.25ieegmnh38ts.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_AMS-Regular.173t6ktr7uf-w.ttf → KaTeX_AMS-Regular.418dr7cz3fo2x.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Caligraphic-Bold.01-pzluls4zgb.woff2 → KaTeX_Caligraphic-Bold.06b-ya9t43ioz.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Caligraphic-Bold.0x2v1lwn~880f.woff → KaTeX_Caligraphic-Bold.2vmk2hva4ctha.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Caligraphic-Bold.16zv5fax0h0ka.ttf → KaTeX_Caligraphic-Bold.40ltxhe834pns.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Caligraphic-Regular.02i3z7wig438t.ttf → KaTeX_Caligraphic-Regular.07-7u27-nhn_r.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Caligraphic-Regular.0rysu1t-ncjq8.woff2 → KaTeX_Caligraphic-Regular.2eph4dlhid_m9.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Caligraphic-Regular.10927swgekwun.woff → KaTeX_Caligraphic-Regular.3gxeetazf831f.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Fraktur-Bold.0et27v~3~4uhe.ttf → KaTeX_Fraktur-Bold.19yqa_tc9d_gx.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Fraktur-Bold.0e-16u10iuyyf.woff → KaTeX_Fraktur-Bold.1alcy76__wdj2.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Fraktur-Bold.0w23i72~hprpq.woff2 → KaTeX_Fraktur-Bold.2sasz-d-jtw8y.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Fraktur-Regular.0b.riegzdfue2.woff → KaTeX_Fraktur-Regular.110oo81prr9n5.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Fraktur-Regular.0rekyoa-52fj_.woff2 → KaTeX_Fraktur-Regular.2d10y4xmjvzlf.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Fraktur-Regular.0vjwa15znhk~4.ttf → KaTeX_Fraktur-Regular.2qhy34r6a05dn.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Bold.09i7~607shf-h.ttf → KaTeX_Main-Bold.0us_n0tnxlxu7.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Bold.09lmynrorhcbw.woff → KaTeX_Main-Bold.0v1esh257kqpe.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Bold.16pfc63_du6mx.woff2 → KaTeX_Main-Bold.3-rowy8o6_4ky.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-BoldItalic.0cp37g7x1q8h6.woff → KaTeX_Main-BoldItalic.13355ck5zr48q.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-BoldItalic.0d54rk08rx11s.woff2 → KaTeX_Main-BoldItalic.14r2naom8mrec.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-BoldItalic.15j6k~hix2t_0.ttf → KaTeX_Main-BoldItalic.3x_u9cepaced0.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Italic.0382gqciexmbu.woff → KaTeX_Main-Italic.0afv392dj4w59.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Italic.06o5nq0_91v60.woff2 → KaTeX_Main-Italic.0lig0v9j0700p.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Italic.0su4i6mm18-wo.ttf → KaTeX_Main-Italic.2hkw3230mfwcv.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Regular.08zh8z.7shijf.ttf → KaTeX_Main-Regular.0symfa7dqj6jd.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Regular.0diheg01zyoph.woff → KaTeX_Main-Regular.15u8r3b2y7fv4.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Main-Regular.0kaf-ag2_wkm-.woff2 → KaTeX_Main-Regular.1ryvsdzh2w1_e.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Math-BoldItalic.0ajzxypnbx1h1.ttf → KaTeX_Math-BoldItalic.0y5w36a5aq__2.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Math-BoldItalic.0ck1myuerwyqw.woff → KaTeX_Math-BoldItalic.12pl58orkw9rg.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Math-BoldItalic.0ja97dn.cpc87.woff2 → KaTeX_Math-BoldItalic.1oopuu636h4il.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Math-Italic.09xkhecjcn5r9.woff → KaTeX_Math-Italic.0w0b1ugh62cfr.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Math-Italic.0x23a-bmp-5tg.ttf → KaTeX_Math-Italic.2vkekfblmz5nb.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Math-Italic.0zrha2c4sl2je.woff2 → KaTeX_Math-Italic.32405s1aq8vas.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Bold.05a9.pc1j_zx9.woff2 → KaTeX_SansSerif-Bold.0h3wi2z_eouyg.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Bold.0jcl-ayi1uun0.woff → KaTeX_SansSerif-Bold.1ovw5p-yjp56g.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Bold.0re8y.dm7.mt5.ttf → KaTeX_SansSerif-Bold.2d03q85pwxpti.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Italic.0a0234dc3s62j.woff2 → KaTeX_SansSerif-Italic.0wkjc4dm2kcit.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Italic.0judofdln9731.woff → KaTeX_SansSerif-Italic.1qavw__2zz8gk.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Italic.10z1iap9pfus8.ttf → KaTeX_SansSerif-Italic.3i-q087b23-m8.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Regular.0h9yjlugq4q_e.woff → KaTeX_SansSerif-Regular.1i4afx8nk8n4r.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Regular.0v6gcj32-czft.woff2 → KaTeX_SansSerif-Regular.2peiewu59z3d-.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_SansSerif-Regular.0zm18kga42ebc.ttf → KaTeX_SansSerif-Regular.31pbu25feko_c.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Script-Regular.0c4.h-mer83d_.woff2 → KaTeX_Script-Regular.11h14300o9pd0.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Script-Regular.0q14y6zkzlpob.ttf → KaTeX_Script-Regular.28p_x7iz71ofe.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Script-Regular.0ze6v4r_-99oy.woff → KaTeX_Script-Regular.3110jb9c-bxna.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size1-Regular.013x6a4ierotp.woff2 → KaTeX_Size1-Regular.03lhvx36ekcou.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size1-Regular.0kidw0oi.m68o.woff → KaTeX_Size1-Regular.1slf4bh0hc6vm.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size1-Regular.0m6y-i6wfokni.ttf → KaTeX_Size1-Regular.1y57-ck23ey8c.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size2-Regular.0blpmluwilgbg.woff → KaTeX_Size2-Regular.0-kwyvx03omo8.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size2-Regular.0d5inmyp-tyv3.woff2 → KaTeX_Size2-Regular.14s5gg-puz6h-.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size2-Regular.0wnhnvj-.k9d5.ttf → KaTeX_Size2-Regular.2u0s-b07k2o9m.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size3-Regular.01h0xm_sfctj3.woff → KaTeX_Size3-Regular.04o9a_02gu_e8.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size3-Regular.0iukctyhw5j56.woff2 → KaTeX_Size3-Regular.1n1rgzz84z8r9.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size3-Regular.0jl8mqyf4gzpn.ttf → KaTeX_Size3-Regular.1pkn-dge4q0fv.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size4-Regular.0w3.rb_c4stzk.woff2 → KaTeX_Size4-Regular.2sgotkdv3dcyv.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size4-Regular.0wr_9l81-mu06.ttf → KaTeX_Size4-Regular.2uelkfk2yna5e.ttf} +0 -0
- /package/dist/.next/static/media/{KaTeX_Size4-Regular.12tvaesf3.zl3.woff → KaTeX_Size4-Regular.3p2r1l7xmebxv.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Typewriter-Regular.0c4zdxz~8frhm.woff2 → KaTeX_Typewriter-Regular.11gr2d2wuwz77.woff2} +0 -0
- /package/dist/.next/static/media/{KaTeX_Typewriter-Regular.0cgrzn5l3kao5.woff → KaTeX_Typewriter-Regular.12f8myjij3617.woff} +0 -0
- /package/dist/.next/static/media/{KaTeX_Typewriter-Regular.128~qc3858otl.ttf → KaTeX_Typewriter-Regular.3nee9kjfy6nm8.ttf} +0 -0
- /package/dist/.next/static/media/{ad66f9afd8947f86-s.11u06r12fd6v_.woff2 → ad66f9afd8947f86-s.3lvt2whj97whp.woff2} +0 -0
- /package/dist/.next/static/media/{icon.0j1xc6-m~vsbh.png → icon.1n_rla2f79pbj.png} +0 -0
|
@@ -121,9 +121,9 @@ module.exports=[497459,a=>{"use strict";var b=a.i(630825),c=a.i(130905),d=a.i(36
|
|
|
121
121
|
fill: ${a.textColor};
|
|
122
122
|
}
|
|
123
123
|
${(0,b.getIconStyles)()}
|
|
124
|
-
`,"getStyles"),ae=(0,h.__name)((a,b,c,d)=>{b.forEach(b=>{am[b](a,c,d)})},"insertMarkers"),af=(0,h.__name)((a,b,c)=>{h.log.trace("Making markers for ",c),a.append("defs").append("marker").attr("id",c+"_"+b+"-extensionStart").attr("class","marker extension "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-extensionEnd").attr("class","marker extension "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),ag=(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-compositionStart").attr("class","marker composition "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-compositionEnd").attr("class","marker composition "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),ah=(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-aggregationStart").attr("class","marker aggregation "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-aggregationEnd").attr("class","marker aggregation "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),ai=(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-dependencyStart").attr("class","marker dependency "+b).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-dependencyEnd").attr("class","marker dependency "+b).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),aj=(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-lollipopStart").attr("class","marker lollipop "+b).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),a.append("defs").append("marker").attr("id",c+"_"+b+"-lollipopEnd").attr("class","marker lollipop "+b).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),ak=(0,h.__name)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-pointEnd").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-pointStart").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),al=(0,h.__name)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-circleEnd").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-circleStart").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),am={extension:af,composition:ag,aggregation:ah,dependency:ai,lollipop:aj,point:ak,circle:al,cross:(0,h.__name)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-crossEnd").attr("class","marker cross "+b).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-crossStart").attr("class","marker cross "+b).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb:(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb")},an=(0,g.getConfig2)()?.block?.padding??8;function ao(a,b){if(0===a||!Number.isInteger(a))throw Error("Columns must be an integer !== 0.");if(b<0||!Number.isInteger(b))throw Error("Position must be a non-negative integer."+b);return a<0?{px:b,py:0}:1===a?{px:0,py:b}:{px:b%a,py:Math.floor(b/a)}}(0,h.__name)(ao,"calculateBlockPosition");var ap=(0,h.__name)(a=>{let b=0,c=0;for(let d of a.children){let{width:a,height:e,x:f,y:g}=d.size??{width:0,height:0,x:0,y:0};if(h.log.debug("getMaxChildSize abc95 child:",d.id,"width:",a,"height:",e,"x:",f,"y:",g,d.type),"space"===d.type)continue;let i=a/(d.widthInColumns??1);i>b&&(b=i),e>c&&(c=e)}return{width:b,height:c}},"getMaxChildSize");function aq(a,b,c=0,d=0){h.log.debug("setBlockSizes abc95 (start)",a.id,a?.size?.x,"block width =",a?.size,"siblingWidth",c),a?.size?.width||(a.size={width:c,height:d,x:0,y:0});let e=0,f=0;if(a.children?.length>0){for(let c of a.children)aq(c,b);let g=ap(a);for(let b of(e=g.width,f=g.height,h.log.debug("setBlockSizes abc95 maxWidth of",a.id,":s children is ",e,f),a.children))b.size&&(h.log.debug(`abc95 Setting size of children of ${a.id} id=${b.id} ${e} ${f} ${JSON.stringify(b.size)}`),b.size.width=e*(b.widthInColumns??1)+an*((b.widthInColumns??1)-1),b.size.height=f,b.size.x=0,b.size.y=0,h.log.debug(`abc95 updating size of ${a.id} children child:${b.id} maxWidth:${e} maxHeight:${f}`));for(let c of a.children)aq(c,b,e,f);let i=a.columns??-1,j=0;for(let b of a.children)j+=b.widthInColumns??1;let k=a.children.length;i>0&&i<j&&(k=i);let l=Math.ceil(j/k),m=k*(e+an)+an,n=l*(f+an)+an;if(m<c){h.log.debug(`Detected to small sibling: abc95 ${a.id} siblingWidth ${c} siblingHeight ${d} width ${m}`),m=c,n=d;let b=(c-k*an-an)/k,g=(d-l*an-an)/l;for(let c of(h.log.debug("Size indata abc88",a.id,"childWidth",b,"maxWidth",e),h.log.debug("Size indata abc88",a.id,"childHeight",g,"maxHeight",f),h.log.debug("Size indata abc88 xSize",k,"padding",an),a.children))c.size&&(c.size.width=b,c.size.height=g,c.size.x=0,c.size.y=0)}if(h.log.debug(`abc95 (finale calc) ${a.id} xSize ${k} ySize ${l} columns ${i}${a.children.length} width=${Math.max(m,a.size?.width||0)}`),m<(a?.size?.width||0)){m=a?.size?.width||0;let b=i>0?Math.min(a.children.length,i):a.children.length;if(b>0){let c=(m-b*an-an)/b;for(let b of(h.log.debug("abc95 (growing to fit) width",a.id,m,a.size?.width,c),a.children))b.size&&(b.size.width=c)}}a.size={width:m,height:n,x:0,y:0}}h.log.debug("setBlockSizes abc94 (done)",a.id,a?.size?.x,a?.size?.width,a?.size?.y,a?.size?.height)}function ar(a,b){h.log.debug(`abc85 layout blocks (=>layoutBlocks) ${a.id} x: ${a?.size?.x} y: ${a?.size?.y} width: ${a?.size?.width}`);let c=a.columns??-1;if(h.log.debug("layoutBlocks columns abc95",a.id,"=>",c,a),a.children&&a.children.length>0){let d=a?.children[0]?.size?.width??0,e=a.children.length*d+(a.children.length-1)*an;h.log.debug("widthOfChildren 88",e,"posX");let f=new Map;{let b=0;for(let d of a.children){if(!d.size)continue;let{py:a}=ao(c,b),e=f.get(a)??0;d.size.height>e&&f.set(a,d.size.height);let g=d?.widthInColumns??1;c>0&&(g=Math.min(g,c-b%c)),b+=g}}let g=new Map;{let a=0;for(let b of[...f.keys()].sort((a,b)=>a-b))g.set(b,a),a+=(f.get(b)??0)+an}let i=0;h.log.debug("abc91 block?.size?.x",a.id,a?.size?.x);let j=a?.size?.x?a?.size?.x+(-a?.size?.width/2||0):-an,k=0;for(let d of a.children){if(!d.size)continue;let{width:e,height:l}=d.size,{px:m,py:n}=ao(c,i);if(n!=k&&(k=n,j=a?.size?.x?a?.size?.x+(-a?.size?.width/2||0):-an,h.log.debug("New row in layout for block",a.id," and child ",d.id,k)),h.log.debug(`abc89 layout blocks (child) id: ${d.id} Pos: ${i} (px, py) ${m},${n} (${a?.size?.x},${a?.size?.y}) parent: ${a.id} width: ${e}${an}`),a.size){let b=e/2;d.size.x=j+an+b,h.log.debug(`abc91 layout blocks (calc) px, pyid:${d.id} startingPos=X${j} new startingPosX${d.size.x} ${b} padding=${an} width=${e} halfWidth=${b} => x:${d.size.x} y:${d.size.y} ${d.widthInColumns} (width * (child?.w || 1)) / 2 ${e*(d?.widthInColumns??1)/2}`),j=d.size.x+b;let c=g.get(n)??0,i=f.get(n)??l;d.size.y=a.size.y-a.size.height/2+c+i/2+an,h.log.debug(`abc88 layout blocks (calc) px, pyid:${d.id}startingPosX${j}${an}${b}=>x:${d.size.x}y:${d.size.y}${d.widthInColumns}(width * (child?.w || 1)) / 2${e*(d?.widthInColumns??1)/2}`)}d.children&&ar(d,b);let o=d?.widthInColumns??1;c>0&&(o=Math.min(o,c-i%c)),i+=o,h.log.debug("abc88 columnsPos",d,i)}}h.log.debug(`layout blocks (<==layoutBlocks) ${a.id} x: ${a?.size?.x} y: ${a?.size?.y} width: ${a?.size?.width}`)}function as(a,{minX:b,minY:c,maxX:d,maxY:e}={minX:0,minY:0,maxX:0,maxY:0}){if(a.size&&"root"!==a.id){let{x:f,y:g,width:h,height:i}=a.size;f-h/2<b&&(b=f-h/2),g-i/2<c&&(c=g-i/2),f+h/2>d&&(d=f+h/2),g+i/2>e&&(e=g+i/2)}if(a.children)for(let f of a.children)({minX:b,minY:c,maxX:d,maxY:e}=as(f,{minX:b,minY:c,maxX:d,maxY:e}));return{minX:b,minY:c,maxX:d,maxY:e}}function at(a){let b=a.getBlock("root");if(!b)return;aq(b,a,0,0),ar(b,a),h.log.debug("getBlocks",JSON.stringify(b,null,2));let{minX:c,minY:d,maxX:e,maxY:f}=as(b);return{x:c,y:d,width:e-c,height:f-d}}(0,h.__name)(aq,"setBlockSizes"),(0,h.__name)(ar,"layoutBlocks"),(0,h.__name)(as,"findBounds"),(0,h.__name)(at,"layout");var au=(0,h.__name)(async(a,b,c,d=!1,f=!1)=>{let h=b||"";"object"==typeof h&&(h=h[0]);let i=(0,g.getConfig2)(),j=(0,g.getEffectiveHtmlLabels)(i);return await (0,e.createText)(a,h,{style:c,isTitle:d,useHtmlLabels:j,markdown:!1,isNode:f,width:1/0},i)},"createLabel"),av=(0,h.__name)((a,b,c,d,e)=>{b.arrowTypeStart&&ax(a,"start",b.arrowTypeStart,c,d,e),b.arrowTypeEnd&&ax(a,"end",b.arrowTypeEnd,c,d,e)},"addEdgeMarkers"),aw={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},ax=(0,h.__name)((a,b,c,d,e,f)=>{let g=aw[c];g?a.attr(`marker-${b}`,`url(${d}#${e}_${f}-${g}${"start"===b?"Start":"End"})`):h.log.warn(`Unknown arrow type: ${c}`)},"addEdgeMarker"),ay={},az={},aA=(0,h.__name)(async(a,b)=>{let d,f=(0,g.getConfig2)(),h=(0,g.getEffectiveHtmlLabels)(f),i=a.insert("g").attr("class","edgeLabel"),j=i.insert("g").attr("class","label"),k="markdown"===b.labelType,l=await (0,e.createText)(a,b.label,{style:b.labelStyle,useHtmlLabels:h,addSvgBackground:k,isNode:!1,markdown:k,width:k?void 0:1/0},f);j.node().appendChild(l);let m=l.getBBox(),n=m;if(h){let a=l.children[0],b=(0,p.select)(l);n=m=a.getBoundingClientRect(),b.attr("width",m.width),b.attr("height",m.height)}else{let a=(0,p.select)(l).select("text").node();a&&"function"==typeof a.getBBox&&(n=a.getBBox())}if(j.attr("transform",(0,c.computeLabelTransform)(n,h)),ay[b.id]=i,b.width=m.width,b.height=m.height,b.startLabelLeft){let e=a.insert("g").attr("class","edgeTerminals"),f=e.insert("g").attr("class","inner"),g=await au(f,b.startLabelLeft,b.labelStyle);d=g;let i=g.getBBox();if(h){let a=g.children[0],b=(0,p.select)(g);i=a.getBoundingClientRect(),b.attr("width",i.width),b.attr("height",i.height)}f.attr("transform",(0,c.computeLabelTransform)(i,h)),az[b.id]||(az[b.id]={}),az[b.id].startLeft=e,aB(d,b.startLabelLeft)}if(b.startLabelRight){let e=a.insert("g").attr("class","edgeTerminals"),f=e.insert("g").attr("class","inner"),g=await au(f,b.startLabelRight,b.labelStyle);d=g;let i=g.getBBox();if(h){let a=g.children[0],b=(0,p.select)(g);i=a.getBoundingClientRect(),b.attr("width",i.width),b.attr("height",i.height)}f.attr("transform",(0,c.computeLabelTransform)(i,h)),az[b.id]||(az[b.id]={}),az[b.id].startRight=e,aB(d,b.startLabelRight)}if(b.endLabelLeft){let e=a.insert("g").attr("class","edgeTerminals"),f=e.insert("g").attr("class","inner"),g=await au(e,b.endLabelLeft,b.labelStyle);d=g;let i=g.getBBox();if(h){let a=g.children[0],b=(0,p.select)(g);i=a.getBoundingClientRect(),b.attr("width",i.width),b.attr("height",i.height)}f.attr("transform",(0,c.computeLabelTransform)(i,h)),az[b.id]||(az[b.id]={}),az[b.id].endLeft=e,aB(d,b.endLabelLeft)}if(b.endLabelRight){let e=a.insert("g").attr("class","edgeTerminals"),f=e.insert("g").attr("class","inner"),g=await au(e,b.endLabelRight,b.labelStyle);d=g;let i=g.getBBox();if(h){let a=g.children[0],b=(0,p.select)(g);i=a.getBoundingClientRect(),b.attr("width",i.width),b.attr("height",i.height)}f.attr("transform",(0,c.computeLabelTransform)(i,h)),az[b.id]||(az[b.id]={}),az[b.id].endRight=e,aB(d,b.endLabelRight)}return l},"insertEdgeLabel");function aB(a,b){(0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())&&a&&(a.style.width=9*b.length+"px",a.style.height="12px")}(0,h.__name)(aB,"setTerminalWidth");var aC=(0,h.__name)((a,b)=>{h.log.debug("Moving label abc88 ",a.id,a.label,ay[a.id],b);let c=b.updatedPath?b.updatedPath:b.originalPath,e=(0,g.getConfig2)(),{subGraphTitleTotalMargin:i}=(0,d.getSubGraphTitleMargins)(e);if(a.label){let d=ay[a.id],e=a.x,g=a.y;if(c){let d=f.utils_default.calcLabelPosition(c);h.log.debug("Moving label "+a.label+" from (",e,",",g,") to (",d.x,",",d.y,") abc88"),b.updatedPath&&(e=d.x,g=d.y)}d.attr("transform",`translate(${e}, ${g+i/2})`)}if(a.startLabelLeft){let b=az[a.id].startLeft,d=a.x,e=a.y;if(c){let b=f.utils_default.calcTerminalLabelPosition(10*!!a.arrowTypeStart,"start_left",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.startLabelRight){let b=az[a.id].startRight,d=a.x,e=a.y;if(c){let b=f.utils_default.calcTerminalLabelPosition(10*!!a.arrowTypeStart,"start_right",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.endLabelLeft){let b=az[a.id].endLeft,d=a.x,e=a.y;if(c){let b=f.utils_default.calcTerminalLabelPosition(10*!!a.arrowTypeEnd,"end_left",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.endLabelRight){let b=az[a.id].endRight,d=a.x,e=a.y;if(c){let b=f.utils_default.calcTerminalLabelPosition(10*!!a.arrowTypeEnd,"end_right",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}},"positionEdgeLabel"),aD=(0,h.__name)((a,b)=>{let c=a.x,d=a.y,e=Math.abs(b.x-c),f=Math.abs(b.y-d),g=a.width/2,h=a.height/2;return!!(e>=g)||!!(f>=h)},"outsideNode"),aE=(0,h.__name)((a,b,c)=>{h.log.debug(`intersection calc abc89:
|
|
124
|
+
`,"getStyles"),ae=(0,h.__name)((a,b,c,d)=>{b.forEach(b=>{am[b](a,c,d)})},"insertMarkers"),af=(0,h.__name)((a,b,c)=>{h.log.trace("Making markers for ",c),a.append("defs").append("marker").attr("id",c+"_"+b+"-extensionStart").attr("class","marker extension "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-extensionEnd").attr("class","marker extension "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),ag=(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-compositionStart").attr("class","marker composition "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-compositionEnd").attr("class","marker composition "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),ah=(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-aggregationStart").attr("class","marker aggregation "+b).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-aggregationEnd").attr("class","marker aggregation "+b).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),ai=(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-dependencyStart").attr("class","marker dependency "+b).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),a.append("defs").append("marker").attr("id",c+"_"+b+"-dependencyEnd").attr("class","marker dependency "+b).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),aj=(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-lollipopStart").attr("class","marker lollipop "+b).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),a.append("defs").append("marker").attr("id",c+"_"+b+"-lollipopEnd").attr("class","marker lollipop "+b).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),ak=(0,h.__name)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-pointEnd").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-pointStart").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),al=(0,h.__name)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-circleEnd").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-circleStart").attr("class","marker "+b).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),am={extension:af,composition:ag,aggregation:ah,dependency:ai,lollipop:aj,point:ak,circle:al,cross:(0,h.__name)((a,b,c)=>{a.append("marker").attr("id",c+"_"+b+"-crossEnd").attr("class","marker cross "+b).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),a.append("marker").attr("id",c+"_"+b+"-crossStart").attr("class","marker cross "+b).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb:(0,h.__name)((a,b,c)=>{a.append("defs").append("marker").attr("id",c+"_"+b+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb")},an=(0,g.getConfig2)()?.block?.padding??8;function ao(a,b){if(0===a||!Number.isInteger(a))throw Error("Columns must be an integer !== 0.");if(b<0||!Number.isInteger(b))throw Error("Position must be a non-negative integer."+b);if(a<0)return{px:b,py:0};if(1===a)return{px:0,py:b};let c=Math.floor(b/a);return{px:b%a,py:c}}(0,h.__name)(ao,"calculateBlockPosition");var ap=(0,h.__name)(a=>{let b=0,c=0;for(let d of a.children){let{width:a,height:e,x:f,y:g}=d.size??{width:0,height:0,x:0,y:0};if(h.log.debug("getMaxChildSize abc95 child:",d.id,"width:",a,"height:",e,"x:",f,"y:",g,d.type),"space"===d.type)continue;let i=a/(d.widthInColumns??1);i>b&&(b=i),e>c&&(c=e)}return{width:b,height:c}},"getMaxChildSize");function aq(a,b,c=0,d=0){h.log.debug("setBlockSizes abc95 (start)",a.id,a?.size?.x,"block width =",a?.size,"siblingWidth",c),a?.size?.width||(a.size={width:c,height:d,x:0,y:0});let e=0,f=0;if(a.children?.length>0){for(let c of a.children)aq(c,b);let g=ap(a);for(let b of(e=g.width,f=g.height,h.log.debug("setBlockSizes abc95 maxWidth of",a.id,":s children is ",e,f),a.children))b.size&&(h.log.debug(`abc95 Setting size of children of ${a.id} id=${b.id} ${e} ${f} ${JSON.stringify(b.size)}`),b.size.width=e*(b.widthInColumns??1)+an*((b.widthInColumns??1)-1),b.size.height=f,b.size.x=0,b.size.y=0,h.log.debug(`abc95 updating size of ${a.id} children child:${b.id} maxWidth:${e} maxHeight:${f}`));for(let c of a.children)aq(c,b,e,f);let i=a.columns??-1,j=0;for(let b of a.children)j+=b.widthInColumns??1;let k=a.children.length;i>0&&i<j&&(k=i);let l=Math.ceil(j/k),m=k*(e+an)+an,n=l*(f+an)+an;if(m<c){h.log.debug(`Detected to small sibling: abc95 ${a.id} siblingWidth ${c} siblingHeight ${d} width ${m}`),m=c,n=d;let b=(c-k*an-an)/k,g=(d-l*an-an)/l;for(let c of(h.log.debug("Size indata abc88",a.id,"childWidth",b,"maxWidth",e),h.log.debug("Size indata abc88",a.id,"childHeight",g,"maxHeight",f),h.log.debug("Size indata abc88 xSize",k,"padding",an),a.children))c.size&&(c.size.width=b,c.size.height=g,c.size.x=0,c.size.y=0)}if(h.log.debug(`abc95 (finale calc) ${a.id} xSize ${k} ySize ${l} columns ${i}${a.children.length} width=${Math.max(m,a.size?.width||0)}`),m<(a?.size?.width||0)){m=a?.size?.width||0;let b=i>0?Math.min(a.children.length,i):a.children.length;if(b>0){let c=(m-b*an-an)/b;for(let b of(h.log.debug("abc95 (growing to fit) width",a.id,m,a.size?.width,c),a.children))b.size&&(b.size.width=c)}}a.size={width:m,height:n,x:0,y:0}}h.log.debug("setBlockSizes abc94 (done)",a.id,a?.size?.x,a?.size?.width,a?.size?.y,a?.size?.height)}function ar(a,b){h.log.debug(`abc85 layout blocks (=>layoutBlocks) ${a.id} x: ${a?.size?.x} y: ${a?.size?.y} width: ${a?.size?.width}`);let c=a.columns??-1;if(h.log.debug("layoutBlocks columns abc95",a.id,"=>",c,a),a.children&&a.children.length>0){let d=a?.children[0]?.size?.width??0,e=a.children.length*d+(a.children.length-1)*an;h.log.debug("widthOfChildren 88",e,"posX");let f=new Map;{let b=0;for(let d of a.children){if(!d.size)continue;let{py:a}=ao(c,b),e=f.get(a)??0;d.size.height>e&&f.set(a,d.size.height);let g=d?.widthInColumns??1;c>0&&(g=Math.min(g,c-b%c)),b+=g}}let g=new Map;{let a=0;for(let b of[...f.keys()].sort((a,b)=>a-b))g.set(b,a),a+=(f.get(b)??0)+an}let i=0;h.log.debug("abc91 block?.size?.x",a.id,a?.size?.x);let j=a?.size?.x?a?.size?.x+(-a?.size?.width/2||0):-an,k=0;for(let d of a.children){if(!d.size)continue;let{width:e,height:l}=d.size,{px:m,py:n}=ao(c,i);if(n!=k&&(k=n,j=a?.size?.x?a?.size?.x+(-a?.size?.width/2||0):-an,h.log.debug("New row in layout for block",a.id," and child ",d.id,k)),h.log.debug(`abc89 layout blocks (child) id: ${d.id} Pos: ${i} (px, py) ${m},${n} (${a?.size?.x},${a?.size?.y}) parent: ${a.id} width: ${e}${an}`),a.size){let b=e/2;d.size.x=j+an+b,h.log.debug(`abc91 layout blocks (calc) px, pyid:${d.id} startingPos=X${j} new startingPosX${d.size.x} ${b} padding=${an} width=${e} halfWidth=${b} => x:${d.size.x} y:${d.size.y} ${d.widthInColumns} (width * (child?.w || 1)) / 2 ${e*(d?.widthInColumns??1)/2}`),j=d.size.x+b;let c=g.get(n)??0,i=f.get(n)??l;d.size.y=a.size.y-a.size.height/2+c+i/2+an,h.log.debug(`abc88 layout blocks (calc) px, pyid:${d.id}startingPosX${j}${an}${b}=>x:${d.size.x}y:${d.size.y}${d.widthInColumns}(width * (child?.w || 1)) / 2${e*(d?.widthInColumns??1)/2}`)}d.children&&ar(d,b);let o=d?.widthInColumns??1;c>0&&(o=Math.min(o,c-i%c)),i+=o,h.log.debug("abc88 columnsPos",d,i)}}h.log.debug(`layout blocks (<==layoutBlocks) ${a.id} x: ${a?.size?.x} y: ${a?.size?.y} width: ${a?.size?.width}`)}function as(a,{minX:b,minY:c,maxX:d,maxY:e}={minX:0,minY:0,maxX:0,maxY:0}){if(a.size&&"root"!==a.id){let{x:f,y:g,width:h,height:i}=a.size;f-h/2<b&&(b=f-h/2),g-i/2<c&&(c=g-i/2),f+h/2>d&&(d=f+h/2),g+i/2>e&&(e=g+i/2)}if(a.children)for(let f of a.children)({minX:b,minY:c,maxX:d,maxY:e}=as(f,{minX:b,minY:c,maxX:d,maxY:e}));return{minX:b,minY:c,maxX:d,maxY:e}}function at(a){let b=a.getBlock("root");if(!b)return;aq(b,a,0,0),ar(b,a),h.log.debug("getBlocks",JSON.stringify(b,null,2));let{minX:c,minY:d,maxX:e,maxY:f}=as(b);return{x:c,y:d,width:e-c,height:f-d}}(0,h.__name)(aq,"setBlockSizes"),(0,h.__name)(ar,"layoutBlocks"),(0,h.__name)(as,"findBounds"),(0,h.__name)(at,"layout");var au=(0,h.__name)(async(a,b,c,d=!1,f=!1)=>{let h=b||"";"object"==typeof h&&(h=h[0]);let i=(0,g.getConfig2)(),j=(0,g.getEffectiveHtmlLabels)(i);return await (0,e.createText)(a,h,{style:c,isTitle:d,useHtmlLabels:j,markdown:!1,isNode:f,width:1/0},i)},"createLabel"),av=(0,h.__name)((a,b,c,d,e)=>{b.arrowTypeStart&&ax(a,"start",b.arrowTypeStart,c,d,e),b.arrowTypeEnd&&ax(a,"end",b.arrowTypeEnd,c,d,e)},"addEdgeMarkers"),aw={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},ax=(0,h.__name)((a,b,c,d,e,f)=>{let g=aw[c];g?a.attr(`marker-${b}`,`url(${d}#${e}_${f}-${g}${"start"===b?"Start":"End"})`):h.log.warn(`Unknown arrow type: ${c}`)},"addEdgeMarker"),ay={},az={},aA=(0,h.__name)(async(a,b)=>{let d,f=(0,g.getConfig2)(),h=(0,g.getEffectiveHtmlLabels)(f),i=a.insert("g").attr("class","edgeLabel"),j=i.insert("g").attr("class","label"),k="markdown"===b.labelType,l=await (0,e.createText)(a,b.label,{style:b.labelStyle,useHtmlLabels:h,addSvgBackground:k,isNode:!1,markdown:k,width:k?void 0:1/0},f);j.node().appendChild(l);let m=l.getBBox(),n=m;if(h){let a=l.children[0],b=(0,p.select)(l);n=m=a.getBoundingClientRect(),b.attr("width",m.width),b.attr("height",m.height)}else{let a=(0,p.select)(l).select("text").node();a&&"function"==typeof a.getBBox&&(n=a.getBBox())}if(j.attr("transform",(0,c.computeLabelTransform)(n,h)),ay[b.id]=i,b.width=m.width,b.height=m.height,b.startLabelLeft){let e=a.insert("g").attr("class","edgeTerminals"),f=e.insert("g").attr("class","inner"),g=await au(f,b.startLabelLeft,b.labelStyle);d=g;let i=g.getBBox();if(h){let a=g.children[0],b=(0,p.select)(g);i=a.getBoundingClientRect(),b.attr("width",i.width),b.attr("height",i.height)}f.attr("transform",(0,c.computeLabelTransform)(i,h)),az[b.id]||(az[b.id]={}),az[b.id].startLeft=e,aB(d,b.startLabelLeft)}if(b.startLabelRight){let e=a.insert("g").attr("class","edgeTerminals"),f=e.insert("g").attr("class","inner"),g=await au(f,b.startLabelRight,b.labelStyle);d=g;let i=g.getBBox();if(h){let a=g.children[0],b=(0,p.select)(g);i=a.getBoundingClientRect(),b.attr("width",i.width),b.attr("height",i.height)}f.attr("transform",(0,c.computeLabelTransform)(i,h)),az[b.id]||(az[b.id]={}),az[b.id].startRight=e,aB(d,b.startLabelRight)}if(b.endLabelLeft){let e=a.insert("g").attr("class","edgeTerminals"),f=e.insert("g").attr("class","inner"),g=await au(e,b.endLabelLeft,b.labelStyle);d=g;let i=g.getBBox();if(h){let a=g.children[0],b=(0,p.select)(g);i=a.getBoundingClientRect(),b.attr("width",i.width),b.attr("height",i.height)}f.attr("transform",(0,c.computeLabelTransform)(i,h)),az[b.id]||(az[b.id]={}),az[b.id].endLeft=e,aB(d,b.endLabelLeft)}if(b.endLabelRight){let e=a.insert("g").attr("class","edgeTerminals"),f=e.insert("g").attr("class","inner"),g=await au(e,b.endLabelRight,b.labelStyle);d=g;let i=g.getBBox();if(h){let a=g.children[0],b=(0,p.select)(g);i=a.getBoundingClientRect(),b.attr("width",i.width),b.attr("height",i.height)}f.attr("transform",(0,c.computeLabelTransform)(i,h)),az[b.id]||(az[b.id]={}),az[b.id].endRight=e,aB(d,b.endLabelRight)}return l},"insertEdgeLabel");function aB(a,b){(0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())&&a&&(a.style.width=9*b.length+"px",a.style.height="12px")}(0,h.__name)(aB,"setTerminalWidth");var aC=(0,h.__name)((a,b)=>{h.log.debug("Moving label abc88 ",a.id,a.label,ay[a.id],b);let c=b.updatedPath?b.updatedPath:b.originalPath,e=(0,g.getConfig2)(),{subGraphTitleTotalMargin:i}=(0,d.getSubGraphTitleMargins)(e);if(a.label){let d=ay[a.id],e=a.x,g=a.y;if(c){let d=f.utils_default.calcLabelPosition(c);h.log.debug("Moving label "+a.label+" from (",e,",",g,") to (",d.x,",",d.y,") abc88"),b.updatedPath&&(e=d.x,g=d.y)}d.attr("transform",`translate(${e}, ${g+i/2})`)}if(a.startLabelLeft){let b=az[a.id].startLeft,d=a.x,e=a.y;if(c){let b=f.utils_default.calcTerminalLabelPosition(10*!!a.arrowTypeStart,"start_left",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.startLabelRight){let b=az[a.id].startRight,d=a.x,e=a.y;if(c){let b=f.utils_default.calcTerminalLabelPosition(10*!!a.arrowTypeStart,"start_right",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.endLabelLeft){let b=az[a.id].endLeft,d=a.x,e=a.y;if(c){let b=f.utils_default.calcTerminalLabelPosition(10*!!a.arrowTypeEnd,"end_left",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}if(a.endLabelRight){let b=az[a.id].endRight,d=a.x,e=a.y;if(c){let b=f.utils_default.calcTerminalLabelPosition(10*!!a.arrowTypeEnd,"end_right",c);d=b.x,e=b.y}b.attr("transform",`translate(${d}, ${e})`)}},"positionEdgeLabel"),aD=(0,h.__name)((a,b)=>{let c=a.x,d=a.y,e=Math.abs(b.x-c),f=Math.abs(b.y-d),g=a.width/2,h=a.height/2;return!!(e>=g)||!!(f>=h)},"outsideNode"),aE=(0,h.__name)((a,b,c)=>{h.log.debug(`intersection calc abc89:
|
|
125
125
|
outsidePoint: ${JSON.stringify(b)}
|
|
126
126
|
insidePoint : ${JSON.stringify(c)}
|
|
127
127
|
node : x:${a.x} y:${a.y} w:${a.width} h:${a.height}`);let d=a.x,e=a.y,f=Math.abs(d-c.x),g=a.width/2,i=c.x<b.x?g-f:g+f,j=a.height/2,k=Math.abs(b.y-c.y),l=Math.abs(b.x-c.x);if(Math.abs(e-b.y)*g>Math.abs(d-b.x)*j){let a=c.y<b.y?b.y-j-e:e-j-b.y;i=l*a/k;let d={x:c.x<b.x?c.x+i:c.x-l+i,y:c.y<b.y?c.y+k-a:c.y-k+a};return 0===i&&(d.x=b.x,d.y=b.y),0===l&&(d.x=b.x),0===k&&(d.y=b.y),h.log.debug(`abc89 topp/bott calc, Q ${k}, q ${a}, R ${l}, r ${i}`,d),d}{let a=k*(i=c.x<b.x?b.x-g-d:d-g-b.x)/l,e=c.x<b.x?c.x+l-i:c.x-l+i,f=c.y<b.y?c.y+a:c.y-a;return h.log.debug(`sides calc abc89, Q ${k}, q ${a}, R ${l}, r ${i}`,{_x:e,_y:f}),0===i&&(e=b.x,f=b.y),0===l&&(e=b.x),0===k&&(f=b.y),{x:e,y:f}}},"intersection"),aF=(0,h.__name)((a,b)=>{h.log.debug("abc88 cutPathAtIntersect",a,b);let c=[],d=a[0],e=!1;return a.forEach(a=>{if(aD(b,a)||e)d=a,e||c.push(a);else{let f=aE(b,d,a),g=!1;c.forEach(a=>{g=g||a.x===f.x&&a.y===f.y}),c.some(a=>a.x===f.x&&a.y===f.y)||c.push(f),e=!0}}),c},"cutPathAtIntersect"),aG=(0,h.__name)(function(a,b,d,e,f,i,j){let k,l=d.points;h.log.debug("abc88 InsertEdge: edge=",d,"e=",b);let m=!1,n=i.node(b.v);var o=i.node(b.w);o?.intersect&&n?.intersect&&((l=l.slice(1,d.points.length-1)).unshift(n.intersect(l[0])),l.push(o.intersect(l[l.length-1]))),d.toCluster&&(h.log.debug("to cluster abc88",e[d.toCluster]),l=aF(d.points,e[d.toCluster].node),m=!0),d.fromCluster&&(h.log.debug("from cluster abc88",e[d.fromCluster]),l=aF(l.reverse(),e[d.fromCluster].node).reverse(),m=!0);let p=l.filter(a=>!Number.isNaN(a.y)),q=s.curveBasis;d.curve&&("graph"===f||"flowchart"===f)&&(q=d.curve);let{x:t,y:u}=(0,c.getLineFunctionsWithOffset)(d),v=(0,r.line)().x(t).y(u).curve(q);switch(d.thickness){case"normal":k="edge-thickness-normal";break;case"thick":case"invisible":k="edge-thickness-thick";break;default:k=""}switch(d.pattern){case"solid":k+=" edge-pattern-solid";break;case"dotted":k+=" edge-pattern-dotted";break;case"dashed":k+=" edge-pattern-dashed"}let w=a.append("path").attr("d",v(p)).attr("id",d.id).attr("class"," "+k+(d.classes?" "+d.classes:"")).attr("style",d.style),x="";((0,g.getConfig2)().flowchart.arrowMarkerAbsolute||(0,g.getConfig2)().state.arrowMarkerAbsolute)&&(x=(0,g.getUrl)(!0)),av(w,d,x,j,f);let y={};return m&&(y.updatedPath=l),y.originalPath=d.points,y},"insertEdge"),aH=(0,h.__name)(a=>{let b=new Set;for(let c of a)switch(c){case"x":b.add("right"),b.add("left");break;case"y":b.add("up"),b.add("down");break;default:b.add(c)}return b},"expandAndDeduplicateDirections"),aI=(0,h.__name)((a,b,c,d)=>{let e=aH(a),f=b.height+2*c.padding,g=f/2,h=d??b.width+2*g+c.padding,i=c.padding/2;return e.has("right")&&e.has("left")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:g,y:0},{x:h/2,y:2*i},{x:h-g,y:0},{x:h,y:0},{x:h,y:-f/3},{x:h+2*i,y:-f/2},{x:h,y:-2*f/3},{x:h,y:-f},{x:h-g,y:-f},{x:h/2,y:-f-2*i},{x:g,y:-f},{x:0,y:-f},{x:0,y:-2*f/3},{x:-2*i,y:-f/2},{x:0,y:-f/3}]:e.has("right")&&e.has("left")&&e.has("up")?[{x:g,y:0},{x:h-g,y:0},{x:h,y:-f/2},{x:h-g,y:-f},{x:g,y:-f},{x:0,y:-f/2}]:e.has("right")&&e.has("left")&&e.has("down")?[{x:0,y:0},{x:g,y:-f},{x:h-g,y:-f},{x:h,y:0}]:e.has("right")&&e.has("up")&&e.has("down")?[{x:0,y:0},{x:h,y:-g},{x:h,y:-f+g},{x:0,y:-f}]:e.has("left")&&e.has("up")&&e.has("down")?[{x:h,y:0},{x:0,y:-g},{x:0,y:-f+g},{x:h,y:-f}]:e.has("right")&&e.has("left")?[{x:g,y:0},{x:g,y:-i},{x:h-g,y:-i},{x:h-g,y:0},{x:h,y:-f/2},{x:h-g,y:-f},{x:h-g,y:-f+i},{x:g,y:-f+i},{x:g,y:-f},{x:0,y:-f/2}]:e.has("up")&&e.has("down")?[{x:h/2,y:0},{x:0,y:-i},{x:g,y:-i},{x:g,y:-f+i},{x:0,y:-f+i},{x:h/2,y:-f},{x:h,y:-f+i},{x:h-g,y:-f+i},{x:h-g,y:-i},{x:h,y:-i}]:e.has("right")&&e.has("up")?[{x:0,y:0},{x:h,y:-g},{x:0,y:-f}]:e.has("right")&&e.has("down")?[{x:0,y:0},{x:h,y:0},{x:0,y:-f}]:e.has("left")&&e.has("up")?[{x:h,y:0},{x:0,y:-g},{x:h,y:-f}]:e.has("left")&&e.has("down")?[{x:h,y:0},{x:0,y:0},{x:h,y:-f}]:e.has("right")?[{x:g,y:-i},{x:g,y:-i},{x:h-g,y:-i},{x:h-g,y:0},{x:h,y:-f/2},{x:h-g,y:-f},{x:h-g,y:-f+i},{x:g,y:-f+i},{x:g,y:-f+i}]:e.has("left")?[{x:g,y:0},{x:g,y:-i},{x:h-g,y:-i},{x:h-g,y:-f+i},{x:g,y:-f+i},{x:g,y:-f},{x:0,y:-f/2}]:e.has("up")?[{x:g,y:-i},{x:g,y:-f+i},{x:0,y:-f+i},{x:h/2,y:-f},{x:h,y:-f+i},{x:h-g,y:-f+i},{x:h-g,y:-i}]:e.has("down")?[{x:h/2,y:0},{x:0,y:-i},{x:g,y:-i},{x:g,y:-f+i},{x:h-g,y:-f+i},{x:h-g,y:-i},{x:h,y:-i}]:[{x:0,y:0}]},"getArrowPoints");function aJ(a,b,c,d){var e=a.x,f=a.y,g=e-d.x,h=f-d.y,i=Math.sqrt(b*b*h*h+c*c*g*g),j=Math.abs(b*c*g/i);d.x<e&&(j=-j);var k=Math.abs(b*c*h/i);return d.y<f&&(k=-k),{x:e+j,y:f+k}}function aK(a,b,c){return aJ(a,b,b,c)}function aL(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q;if(e=b.y-a.y,g=a.x-b.x,i=b.x*a.y-a.x*b.y,m=e*c.x+g*c.y+i,n=e*d.x+g*d.y+i,!(0!==m&&0!==n&&aM(m,n))){if((f=d.y-c.y,h=c.x-d.x,j=d.x*c.y-c.x*d.y,k=f*a.x+h*a.y+j,l=f*b.x+h*b.y+j,!(0!==k&&0!==l&&aM(k,l)))&&0!=(o=e*h-f*g))return p=Math.abs(o/2),{x:(q=g*j-h*i)<0?(q-p)/o:(q+p)/o,y:(q=f*i-e*j)<0?(q-p)/o:(q+p)/o}}}function aM(a,b){return a*b>0}function aN(a,b,c){var d=a.x,e=a.y,f=[],g=1/0,h=1/0;"function"==typeof b.forEach?b.forEach(function(a){g=Math.min(g,a.x),h=Math.min(h,a.y)}):(g=Math.min(g,b.x),h=Math.min(h,b.y));for(var i=d-a.width/2-g,j=e-a.height/2-h,k=0;k<b.length;k++){var l=b[k],m=b[k<b.length-1?k+1:0],n=aL(a,c,{x:i+l.x,y:j+l.y},{x:i+m.x,y:j+m.y});n&&f.push(n)}return f.length?(f.length>1&&f.sort(function(a,b){var d=a.x-c.x,e=a.y-c.y,f=Math.sqrt(d*d+e*e),g=b.x-c.x,h=b.y-c.y,i=Math.sqrt(g*g+h*h);return f<i?-1:+(f!==i)}),f[0]):a}(0,h.__name)(function(a,b){return a.intersect(b)},"intersectNode"),(0,h.__name)(aJ,"intersectEllipse"),(0,h.__name)(aK,"intersectCircle"),(0,h.__name)(aL,"intersectLine"),(0,h.__name)(aM,"sameSign"),(0,h.__name)(aN,"intersectPolygon");var aO=(0,h.__name)((a,b)=>{var c,d,e=a.x,f=a.y,g=b.x-e,h=b.y-f,i=a.width/2,j=a.height/2;return Math.abs(h)*i>Math.abs(g)*j?(h<0&&(j=-j),c=0===h?0:j*g/h,d=j):(g<0&&(i=-i),c=i,d=0===g?0:i*h/g),{x:e+c,y:f+d}},"intersectRect"),aP=(0,h.__name)(async(a,b,c,h)=>{let i,j,k=(0,g.getConfig2)(),l=b.useHtmlLabels||(0,g.getEffectiveHtmlLabels)(k),m=a.insert("g").attr("class",c||"node default").attr("id",b.domId||b.id),n=m.insert("g").attr("class","label").attr("style",b.labelStyle);i=void 0===b.labelText?"":"string"==typeof b.labelText?b.labelText:b.labelText[0];let o=(j="markdown"===b.labelType?(0,e.createText)(n,(0,g.sanitizeText)((0,f.decodeEntities)(i),k),{useHtmlLabels:l,width:b.width||k.flowchart.wrappingWidth,classes:"markdown-node-label"},k):await au(n,(0,g.sanitizeText)((0,f.decodeEntities)(i),k),b.labelStyle,!1,h)).getBBox(),q=b.padding/2;if((0,g.getEffectiveHtmlLabels)(k)){let a=j.children[0],b=(0,p.select)(j);await (0,d.configureLabelImages)(a,i),o=a.getBoundingClientRect(),b.attr("width",o.width),b.attr("height",o.height)}return l?n.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"):n.attr("transform","translate(0, "+-o.height/2+")"),b.centerLabel&&n.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:m,bbox:o,halfPadding:q,label:n}},"labelHelper"),aQ=(0,h.__name)((a,b)=>{let c=b.node().getBBox();a.width=c.width,a.height=c.height},"updateNodeBounds");function aR(a,b,c,d){return a.insert("polygon",":first-child").attr("points",d.map(function(a){return a.x+","+a.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-b/2+","+c/2+")")}(0,h.__name)(aR,"insertPolygonShape");var aS=(0,h.__name)(async(a,b)=>{b.useHtmlLabels||(0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())||(b.centerLabel=!0);let{shapeSvg:c,bbox:d,halfPadding:e}=await aP(a,b,"node "+b.classes,!0);h.log.info("Classes = ",b.classes);let f=c.insert("rect",":first-child");return f.attr("rx",b.rx).attr("ry",b.ry).attr("x",-d.width/2-e).attr("y",-d.height/2-e).attr("width",d.width+b.padding).attr("height",d.height+b.padding),aQ(b,f),b.intersect=function(a){return aO(b,a)},c},"note"),aT=(0,h.__name)(a=>a?" "+a:"","formatClass"),aU=(0,h.__name)((a,b)=>`${b||"node default"}${aT(a.classes)} ${aT(a.class)}`,"getClassesFromNode"),aV=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.width+b.padding+(d.height+b.padding),f=[{x:e/2,y:0},{x:e,y:-e/2},{x:e/2,y:-e},{x:0,y:-e/2}];h.log.info("Question main (Circle)");let g=aR(c,e,e,f);return g.attr("style",b.style),aQ(b,g),b.intersect=function(a){return h.log.warn("Intersect called"),aN(b,f,a)},c},"question"),aW=(0,h.__name)((a,b)=>{let c=a.insert("g").attr("class","node default").attr("id",b.domId||b.id);return c.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map(function(a){return a.x+","+a.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),b.width=28,b.height=28,b.intersect=function(a){return aK(b,14,a)},c},"choice"),aX=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=b.positioned?b.height:d.height+b.padding,f=e/4,g=b.positioned?b.width:d.width+2*f+b.padding,h=[{x:f,y:0},{x:g-f,y:0},{x:g,y:-e/2},{x:g-f,y:-e},{x:f,y:-e},{x:0,y:-e/2}],i=aR(c,g,e,h);return i.attr("style",b.style),aQ(b,i),b.intersect=function(a){return aN(b,h,a)},c},"hexagon"),aY=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,void 0,!0),e=d.height+2*b.padding,f=e/2,g=d.width+2*f+b.padding,h=b.positioned&&(b.widthInColumns??1)>1&&b.width>g?b.width:g,i=aI(b.directions,d,b,h),j=aR(c,h,e,i);return j.attr("style",b.style),aQ(b,j),b.intersect=function(a){return aN(b,i,a)},c},"block_arrow"),aZ=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.width+b.padding,f=d.height+b.padding,g=[{x:-f/2,y:0},{x:e,y:0},{x:e,y:-f},{x:-f/2,y:-f},{x:0,y:-f/2}];return aR(c,e,f,g).attr("style",b.style),b.width=e+f,b.height=f,b.intersect=function(a){return aN(b,g,a)},c},"rect_left_inv_arrow"),a$=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b),!0),e=d.width+b.padding,f=d.height+b.padding,g=[{x:-2*f/6,y:0},{x:e-f/6,y:0},{x:e+2*f/6,y:-f},{x:f/6,y:-f}],h=aR(c,e,f,g);return h.attr("style",b.style),aQ(b,h),b.intersect=function(a){return aN(b,g,a)},c},"lean_right"),a_=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.width+b.padding,f=d.height+b.padding,g=[{x:2*f/6,y:0},{x:e+f/6,y:0},{x:e-2*f/6,y:-f},{x:-f/6,y:-f}],h=aR(c,e,f,g);return h.attr("style",b.style),aQ(b,h),b.intersect=function(a){return aN(b,g,a)},c},"lean_left"),a0=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.width+b.padding,f=d.height+b.padding,g=[{x:-2*f/6,y:0},{x:e+2*f/6,y:0},{x:e-f/6,y:-f},{x:f/6,y:-f}],h=aR(c,e,f,g);return h.attr("style",b.style),aQ(b,h),b.intersect=function(a){return aN(b,g,a)},c},"trapezoid"),a1=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.width+b.padding,f=d.height+b.padding,g=[{x:f/6,y:0},{x:e-f/6,y:0},{x:e+2*f/6,y:-f},{x:-2*f/6,y:-f}],h=aR(c,e,f,g);return h.attr("style",b.style),aQ(b,h),b.intersect=function(a){return aN(b,g,a)},c},"inv_trapezoid"),a2=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.width+b.padding,f=d.height+b.padding,g=[{x:0,y:0},{x:e+f/2,y:0},{x:e,y:-f/2},{x:e+f/2,y:-f},{x:0,y:-f}],h=aR(c,e,f,g);return h.attr("style",b.style),aQ(b,h),b.intersect=function(a){return aN(b,g,a)},c},"rect_right_inv_arrow"),a3=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.width+b.padding,f=e/2,g=f/(2.5+e/50),h=d.height+g+b.padding,i="M 0,"+g+" a "+f+","+g+" 0,0,0 "+e+" 0 a "+f+","+g+" 0,0,0 "+-e+" 0 l 0,"+h+" a "+f+","+g+" 0,0,0 "+e+" 0 l 0,"+-h,j=c.attr("label-offset-y",g).insert("path",":first-child").attr("style",b.style).attr("d",i).attr("transform","translate("+-e/2+","+-(h/2+g)+")");return aQ(b,j),b.intersect=function(a){let c=aO(b,a),d=c.x-b.x;if(0!=f&&(Math.abs(d)<b.width/2||Math.abs(d)==b.width/2&&Math.abs(c.y-b.y)>b.height/2-g)){let e=g*g*(1-d*d/(f*f));0!=e&&(e=Math.sqrt(e)),e=g-e,a.y-b.y>0&&(e=-e),c.y+=e}return c},c},"cylinder"),a4=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d,halfPadding:e}=await aP(a,b,"node "+b.classes+" "+b.class,!0),f=c.insert("rect",":first-child"),g=b.positioned?b.width:d.width+b.padding,i=b.positioned?b.height:d.height+b.padding,j=b.positioned?-g/2:-d.width/2-e,k=b.positioned?-i/2:-d.height/2-e;if(f.attr("class","basic label-container").attr("style",b.style).attr("rx",b.rx).attr("ry",b.ry).attr("x",j).attr("y",k).attr("width",g).attr("height",i),b.props){let a=new Set(Object.keys(b.props));b.props.borders&&(a7(f,b.props.borders,g,i),a.delete("borders")),a.forEach(a=>{h.log.warn(`Unknown node property ${a}`)})}return aQ(b,f),b.intersect=function(a){return aO(b,a)},c},"rect"),a5=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d,halfPadding:e}=await aP(a,b,"node "+b.classes,!0),f=c.insert("rect",":first-child"),g=b.positioned?b.width:d.width+b.padding,i=b.positioned?b.height:d.height+b.padding,j=b.positioned?-g/2:-d.width/2-e,k=b.positioned?-i/2:-d.height/2-e;if(f.attr("class","basic cluster composite label-container").attr("style",b.style).attr("rx",b.rx).attr("ry",b.ry).attr("x",j).attr("y",k).attr("width",g).attr("height",i),b.props){let a=new Set(Object.keys(b.props));b.props.borders&&(a7(f,b.props.borders,g,i),a.delete("borders")),a.forEach(a=>{h.log.warn(`Unknown node property ${a}`)})}return aQ(b,f),b.intersect=function(a){return aO(b,a)},c},"composite"),a6=(0,h.__name)(async(a,b)=>{let{shapeSvg:c}=await aP(a,b,"label",!0);h.log.trace("Classes = ",b.class);let d=c.insert("rect",":first-child");if(d.attr("width",0).attr("height",0),c.attr("class","label edgeLabel"),b.props){let a=new Set(Object.keys(b.props));b.props.borders&&(a7(d,b.props.borders,0,0),a.delete("borders")),a.forEach(a=>{h.log.warn(`Unknown node property ${a}`)})}return aQ(b,d),b.intersect=function(a){return aO(b,a)},c},"labelRect");function a7(a,b,c,d){let e=[],f=(0,h.__name)(a=>{e.push(a,0)},"addBorder"),g=(0,h.__name)(a=>{e.push(0,a)},"skipBorder");b.includes("t")?(h.log.debug("add top border"),f(c)):g(c),b.includes("r")?(h.log.debug("add right border"),f(d)):g(d),b.includes("b")?(h.log.debug("add bottom border"),f(c)):g(c),b.includes("l")?(h.log.debug("add left border"),f(d)):g(d),a.attr("stroke-dasharray",e.join(" "))}(0,h.__name)(a7,"applyNodePropertyBorders");var a8=(0,h.__name)(async(a,b)=>{let c;c=b.classes?"node "+b.classes:"node default";let d=a.insert("g").attr("class",c).attr("id",b.domId||b.id),e=d.insert("rect",":first-child"),f=d.insert("line"),i=d.insert("g").attr("class","label"),j=b.labelText.flat?b.labelText.flat():b.labelText,k="";k="object"==typeof j?j[0]:j,h.log.info("Label text abc79",k,j,"object"==typeof j);let l=await au(i,k,b.labelStyle,!0,!0),m={width:0,height:0};if((0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())){let a=l.children[0],b=(0,p.select)(l);m=a.getBoundingClientRect(),b.attr("width",m.width),b.attr("height",m.height)}h.log.info("Text 2",j);let n=j.slice(1,j.length),o=l.getBBox(),q=await au(i,n.join?n.join("<br/>"):n,b.labelStyle,!0,!0);if((0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())){let a=q.children[0],b=(0,p.select)(q);m=a.getBoundingClientRect(),b.attr("width",m.width),b.attr("height",m.height)}let r=b.padding/2;return(0,p.select)(q).attr("transform","translate( "+(m.width>o.width?0:(o.width-m.width)/2)+", "+(o.height+r+5)+")"),(0,p.select)(l).attr("transform","translate( "+(m.width<o.width?0:-(o.width-m.width)/2)+", 0)"),m=i.node().getBBox(),i.attr("transform","translate("+-m.width/2+", "+(-m.height/2-r+3)+")"),e.attr("class","outer title-state").attr("x",-m.width/2-r).attr("y",-m.height/2-r).attr("width",m.width+b.padding).attr("height",m.height+b.padding),f.attr("class","divider").attr("x1",-m.width/2-r).attr("x2",m.width/2+r).attr("y1",-m.height/2-r+o.height+r).attr("y2",-m.height/2-r+o.height+r),aQ(b,e),b.intersect=function(a){return aO(b,a)},d},"rectWithTitle"),a9=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.height+b.padding,f=d.width+e/4+b.padding,g=c.insert("rect",":first-child").attr("style",b.style).attr("rx",e/2).attr("ry",e/2).attr("x",-f/2).attr("y",-e/2).attr("width",f).attr("height",e);return aQ(b,g),b.intersect=function(a){return aO(b,a)},c},"stadium"),ba=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d,halfPadding:e}=await aP(a,b,aU(b,void 0),!0),f=c.insert("circle",":first-child");return f.attr("style",b.style).attr("rx",b.rx).attr("ry",b.ry).attr("r",d.width/2+e).attr("width",d.width+b.padding).attr("height",d.height+b.padding),h.log.info("Circle main"),aQ(b,f),b.intersect=function(a){return h.log.info("Circle intersect",b,d.width/2+e,a),aK(b,d.width/2+e,a)},c},"circle"),bb=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d,halfPadding:e}=await aP(a,b,aU(b,void 0),!0),f=c.insert("g",":first-child"),g=f.insert("circle"),i=f.insert("circle");return f.attr("class",b.class),g.attr("style",b.style).attr("rx",b.rx).attr("ry",b.ry).attr("r",d.width/2+e+5).attr("width",d.width+b.padding+10).attr("height",d.height+b.padding+10),i.attr("style",b.style).attr("rx",b.rx).attr("ry",b.ry).attr("r",d.width/2+e).attr("width",d.width+b.padding).attr("height",d.height+b.padding),h.log.info("DoubleCircle main"),aQ(b,g),b.intersect=function(a){return h.log.info("DoubleCircle intersect",b,d.width/2+e+5,a),aK(b,d.width/2+e+5,a)},c},"doublecircle"),bc=(0,h.__name)(async(a,b)=>{let{shapeSvg:c,bbox:d}=await aP(a,b,aU(b,void 0),!0),e=d.width+b.padding,f=d.height+b.padding,g=[{x:0,y:0},{x:e,y:0},{x:e,y:-f},{x:0,y:-f},{x:0,y:0},{x:-8,y:0},{x:e+8,y:0},{x:e+8,y:-f},{x:-8,y:-f},{x:-8,y:0}],h=aR(c,e,f,g);return h.attr("style",b.style),aQ(b,h),b.intersect=function(a){return aN(b,g,a)},c},"subroutine"),bd=(0,h.__name)((a,b)=>{let c=a.insert("g").attr("class","node default").attr("id",b.domId||b.id),d=c.insert("circle",":first-child");return d.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),aQ(b,d),b.intersect=function(a){return aK(b,7,a)},c},"start"),be=(0,h.__name)((a,b,c)=>{let d=a.insert("g").attr("class","node default").attr("id",b.domId||b.id),e=70,f=10;return"LR"===c&&(e=10,f=70),aQ(b,d.append("rect").attr("x",-1*e/2).attr("y",-1*f/2).attr("width",e).attr("height",f).attr("class","fork-join")),b.height=b.height+b.padding/2,b.width=b.width+b.padding/2,b.intersect=function(a){return aO(b,a)},d},"forkJoin"),bf={rhombus:aV,composite:a5,question:aV,rect:a4,labelRect:a6,rectWithTitle:a8,choice:aW,circle:ba,doublecircle:bb,stadium:a9,hexagon:aX,block_arrow:aY,rect_left_inv_arrow:aZ,lean_right:a$,lean_left:a_,trapezoid:a0,inv_trapezoid:a1,rect_right_inv_arrow:a2,cylinder:a3,start:bd,end:(0,h.__name)((a,b)=>{let c=a.insert("g").attr("class","node default").attr("id",b.domId||b.id),d=c.insert("circle",":first-child"),e=c.insert("circle",":first-child");return e.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),d.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),aQ(b,e),b.intersect=function(a){return aK(b,7,a)},c},"end"),note:aS,subroutine:bc,fork:be,join:be,class_box:(0,h.__name)(async(a,b)=>{let c,d=b.padding/2;c=b.classes?"node "+b.classes:"node default";let e=a.insert("g").attr("class",c).attr("id",b.domId||b.id),f=e.insert("rect",":first-child"),h=e.insert("line"),i=e.insert("line"),j=0,k=4,l=e.insert("g").attr("class","label"),m=0,n=b.classData.annotations?.[0],o=b.classData.annotations[0]?"«"+b.classData.annotations[0]+"»":"",q=await au(l,o,b.labelStyle,!0,!0),r=q.getBBox();if((0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())){let a=q.children[0],b=(0,p.select)(q);r=a.getBoundingClientRect(),b.attr("width",r.width),b.attr("height",r.height)}b.classData.annotations[0]&&(k+=r.height+4,j+=r.width);let s=b.classData.label;void 0!==b.classData.type&&""!==b.classData.type&&((0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())?s+="<"+b.classData.type+">":s+="<"+b.classData.type+">");let t=await au(l,s,b.labelStyle,!0,!0);(0,p.select)(t).attr("class","classTitle");let u=t.getBBox();if((0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())){let a=t.children[0],b=(0,p.select)(t);u=a.getBoundingClientRect(),b.attr("width",u.width),b.attr("height",u.height)}k+=u.height+4,u.width>j&&(j=u.width);let v=[];b.classData.members.forEach(async a=>{let c=a.getDisplayDetails(),d=c.displayText;(0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())&&(d=d.replace(/</g,"<").replace(/>/g,">"));let e=await au(l,d,c.cssStyle?c.cssStyle:b.labelStyle,!0,!0),f=e.getBBox();if((0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())){let a=e.children[0],b=(0,p.select)(e);f=a.getBoundingClientRect(),b.attr("width",f.width),b.attr("height",f.height)}f.width>j&&(j=f.width),k+=f.height+4,v.push(e)}),k+=8;let w=[];if(b.classData.methods.forEach(async a=>{let c=a.getDisplayDetails(),d=c.displayText;(0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())&&(d=d.replace(/</g,"<").replace(/>/g,">"));let e=await au(l,d,c.cssStyle?c.cssStyle:b.labelStyle,!0,!0),f=e.getBBox();if((0,g.getEffectiveHtmlLabels)((0,g.getConfig2)())){let a=e.children[0],b=(0,p.select)(e);f=a.getBoundingClientRect(),b.attr("width",f.width),b.attr("height",f.height)}f.width>j&&(j=f.width),k+=f.height+4,w.push(e)}),k+=8,n){let a=(j-r.width)/2;(0,p.select)(q).attr("transform","translate( "+(-1*j/2+a)+", "+-1*k/2+")"),m=r.height+4}let x=(j-u.width)/2;return(0,p.select)(t).attr("transform","translate( "+(-1*j/2+x)+", "+(-1*k/2+m)+")"),m+=u.height+4,h.attr("class","divider").attr("x1",-j/2-d).attr("x2",j/2+d).attr("y1",-k/2-d+8+m).attr("y2",-k/2-d+8+m),m+=8,v.forEach(a=>{(0,p.select)(a).attr("transform","translate( "+-j/2+", "+(-1*k/2+m+4)+")");let b=a?.getBBox();m+=(b?.height??0)+4}),m+=8,i.attr("class","divider").attr("x1",-j/2-d).attr("x2",j/2+d).attr("y1",-k/2-d+8+m).attr("y2",-k/2-d+8+m),m+=8,w.forEach(a=>{(0,p.select)(a).attr("transform","translate( "+-j/2+", "+(-1*k/2+m)+")");let b=a?.getBBox();m+=(b?.height??0)+4}),f.attr("style",b.style).attr("class","outer title-state").attr("x",-j/2-d).attr("y",-(k/2)-d).attr("width",j+b.padding).attr("height",k+b.padding),aQ(b,f),b.intersect=function(a){return aO(b,a)},e},"class_box")},bg={},bh=(0,h.__name)(async(a,b,c)=>{let d,e;if(b.link){let f;"sandbox"===(0,g.getConfig2)().securityLevel?f="_top":b.linkTarget&&(f=b.linkTarget||"_blank"),d=a.insert("svg:a").attr("xlink:href",b.link).attr("target",f),e=await bf[b.shape](d,b,c)}else d=e=await bf[b.shape](a,b,c);return b.tooltip&&e.attr("title",b.tooltip),b.class&&e.attr("class","node default "+b.class),bg[b.id]=d,b.haveCallback&&bg[b.id].attr("class",bg[b.id].attr("class")+" clickable"),d},"insertNode"),bi=(0,h.__name)(a=>{let b=bg[a.id];h.log.trace("Transforming node",a.diff,a,"translate("+(a.x-a.width/2-5)+", "+a.width/2+")");let c=a.diff||0;return a.clusterNode?b.attr("transform","translate("+(a.x+c-a.width/2)+", "+(a.y-a.height/2-8)+")"):b.attr("transform","translate("+a.x+", "+a.y+")"),c},"positionNode");function bj(a,b,c=!1){let d,e="default";(a?.classes?.length||0)>0&&(e=(a?.classes??[]).join(" ")),e+=" flowchart-label";let h=0,i="";switch(a.type){case"round":h=5,i="rect";break;case"composite":h=0,i="composite",d=0;break;case"square":case"group":default:i="rect";break;case"diamond":i="question";break;case"hexagon":i="hexagon";break;case"block_arrow":i="block_arrow";break;case"odd":case"rect_left_inv_arrow":i="rect_left_inv_arrow";break;case"lean_right":i="lean_right";break;case"lean_left":i="lean_left";break;case"trapezoid":i="trapezoid";break;case"inv_trapezoid":i="inv_trapezoid";break;case"circle":i="circle";break;case"ellipse":i="ellipse";break;case"stadium":i="stadium";break;case"subroutine":i="subroutine";break;case"cylinder":i="cylinder";break;case"doublecircle":i="doublecircle"}let j=(0,f.getStylesFromArray)(a?.styles??[]),k=a.label,l=a.size??{width:0,height:0,x:0,y:0},m=b.getDiagramId();return{labelStyle:j.labelStyle,shape:i,labelText:k,rx:h,ry:h,class:e,style:j.style,id:a.id,domId:m?`${m}-${a.id}`:a.id,directions:a.directions,width:l.width,height:l.height,x:l.x,y:l.y,positioned:c,intersect:void 0,type:a.type,padding:d??(0,g.getConfig)()?.block?.padding??0,widthInColumns:a.widthInColumns??1}}async function bk(a,b,c){let d=bj(b,c,!1);if("group"===d.type)return;let e=(0,g.getConfig)(),f=await bh(a,d,{config:e}),h=f.node().getBBox(),i=c.getBlock(d.id);i.size={width:h.width,height:h.height,x:0,y:0,node:f},c.setBlock(i),f.remove()}async function bl(a,b,c){let d=bj(b,c,!0);if("space"!==c.getBlock(d.id).type){let c=(0,g.getConfig)();await bh(a,d,{config:c}),b.intersect=d?.intersect,bi(d)}}async function bm(a,b,c,d){for(let e of b)await d(a,e,c),e.children&&await bm(a,e.children,c,d)}async function bn(a,b,c){await bm(a,b,c,bk)}async function bo(a,b,c){await bm(a,b,c,bl)}async function bp(a,b,c,d,e){let f=new q.Graph({multigraph:!0,compound:!0});for(let a of(f.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8}),c))a.size&&f.setNode(a.id,{width:a.size.width,height:a.size.height,intersect:a.intersect});for(let c of b)if(c.start&&c.end){let b=d.getBlock(c.start),g=d.getBlock(c.end);if(b?.size&&g?.size){let d=b.size,h=g.size,i=[{x:d.x,y:d.y},{x:d.x+(h.x-d.x)/2,y:d.y+(h.y-d.y)/2},{x:h.x,y:h.y}],j=e?`${e}-${c.id}`:c.id,k="thick"===c.thickness?"edge-thickness-thick":"edge-thickness-normal",l="dotted"===c.pattern?"edge-pattern-dotted":"edge-pattern-solid",m=`${k} ${l} flowchart-link LS-a1 LE-b1`;aG(a,{v:c.start,w:c.end,name:j},{...c,id:j,arrowTypeEnd:c.arrowTypeEnd,arrowTypeStart:c.arrowTypeStart,points:i,classes:m},void 0,"block",f,e),c.label&&(await aA(a,{...c,label:c.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:c.arrowTypeEnd,arrowTypeStart:c.arrowTypeStart,points:i,classes:m}),aC({...c,x:i[1].x,y:i[1].y},{originalPath:i}))}}}(0,h.__name)(bj,"getNodeFromBlock"),(0,h.__name)(bk,"calculateBlockSize"),(0,h.__name)(bl,"insertBlockPositioned"),(0,h.__name)(bm,"performOperations"),(0,h.__name)(bn,"calculateBlockSizes"),(0,h.__name)(bo,"insertBlocks"),(0,h.__name)(bp,"insertEdges");var bq=(0,h.__name)(function(a,b){return b.db.getClasses()},"getClasses"),br=(0,h.__name)(async function(a,b,c,d){let e,{securityLevel:f,block:i}=(0,g.getConfig)(),j=d.db;j.setDiagramId(b),"sandbox"===f&&(e=(0,p.select)("#i"+b));let k="sandbox"===f?(0,p.select)(e.nodes()[0].contentDocument.body):(0,p.select)("body"),l="sandbox"===f?k.select(`[id="${b}"]`):(0,p.select)(`[id="${b}"]`);ae(l,["point","circle","cross"],d.type,b);let m=j.getBlocks(),n=j.getBlocksFlat(),o=j.getEdges(),q=l.insert("g").attr("class","block");await bn(q,m,j);let r=at(j);if(await bo(q,m,j),await bp(q,o,n,j,b),r){let a=Math.max(1,Math.round(.125*(r.width/r.height))),b=r.height+a+10,c=r.width+10,{useMaxWidth:d}=i;(0,g.configureSvgSize)(l,b,c,!!d),h.log.debug("Here Bounds",r,r),l.attr("viewBox",`${r.x-5} ${r.y-5} ${r.width+10} ${r.height+10}`)}},"draw");a.s(["diagram",0,{parser:t,db:ab,renderer:{draw:br,getClasses:bq},styles:ad}],497459)}];
|
|
128
128
|
|
|
129
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-
|
|
129
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-GPEHLZMM_mjs_0jxv2ay._.js.map
|
|
@@ -4,4 +4,4 @@ module.exports=[480965,a=>{"use strict";var b,d=a.i(189300),e=a.i(896937),f=a.i(
|
|
|
4
4
|
}
|
|
5
5
|
`,"getStyles"),init:(0,g.__name)(({c4:a,wrap:b})=>{aA.setConf(a),V.setWrap(b)},"init")};a.s(["diagram",0,aB])}];
|
|
6
6
|
|
|
7
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-
|
|
7
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-AAUBKEIU_mjs_1yyt6ej._.js.map
|
|
@@ -61,4 +61,4 @@ module.exports=[921003,a=>{"use strict";var b=a.i(369813),c=a.i(507666),d=a.i(24
|
|
|
61
61
|
Z
|
|
62
62
|
`;if(!b.domId)throw Error(`defaultMindmapNode: node "${b.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let p=f.append("path").attr("id",b.domId).attr("class","node-bkg node-"+b.type).attr("style",e).attr("d",o);return f.append("line").attr("class","node-line-").attr("x1",-k/2).attr("y1",n/2).attr("x2",k/2).attr("y2",n/2),i.attr("transform",`translate(${-g.width/2}, ${-g.height/2})`),f.append(()=>i.node()),l(b,p),b.calcIntersect=function(a,b){return r(a,b)},b.intersect=function(a){return r(b,a)},f}async function bg(a,b){let c={padding:b.padding??0};return O(a,b,c)}(0,g.__name)(bc,"kanbanItem"),(0,g.__name)(bd,"bang"),(0,g.__name)(be,"cloud"),(0,g.__name)(bf,"defaultMindmapNode"),(0,g.__name)(bg,"mindmapCircle");var bh=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:aK},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:aH},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:aL},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:aP},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:_},{semanticName:"Data Store",name:"Data Store",shortName:"datastore",description:"Data flow diagram data store",aliases:["data-store"],handler:ab},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:O},{semanticName:"Bang",name:"Bang",shortName:"bang",description:"Bang",aliases:["bang"],handler:bd},{semanticName:"Cloud",name:"Cloud",shortName:"cloud",description:"cloud",aliases:["cloud"],handler:be},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:aE},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:aj},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:at},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:as},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:aX},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:aq},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:ad},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:aS},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:M},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:aI},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:aO},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:aN},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:ag},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:ak},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:S},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:U},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:W},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:au},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:a$},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:ah},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:aW},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:ay},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:X},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:ac},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:aZ},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:a0},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:ae},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:aY},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:af},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:aJ},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:aB},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:aA},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:K},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:Q},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:aR},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:aQ},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:a_},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:aF},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:az}],bi=(0,g.__name)(()=>Object.fromEntries([...Object.entries({state:aM,choice:N,note:aC,rectWithTitle:aG,labelRect:ar,iconSquare:ao,iconCircle:am,icon:al,iconRounded:an,imageSquare:ap,anchor:H,kanbanItem:bc,mindmapCircle:bg,defaultMindmapNode:bf,classBox:a8,erBox:a3,requirementBox:a9}),...bh.flatMap(a=>[a.shortName,..."aliases"in a?a.aliases:[],..."internalAliases"in a?a.internalAliases:[]].map(b=>[b,a.handler]))]),"generateShapeMap")();function bj(a){return a in bi}(0,g.__name)(bj,"isValidShape");var bk=new Map;async function bl(a,b,c){let d,f;"rect"===b.shape&&(b.rx&&b.ry?b.shape="roundedRect":b.shape="squareRect");let g=b.shape?bi[b.shape]:void 0;if(!g)throw Error(`No such shape: ${b.shape}. Please check your syntax.`);if(b.link){let e;"sandbox"===c.config.securityLevel?e="_top":b.linkTarget&&(e=b.linkTarget||"_blank"),d=a.insert("svg:a").attr("xlink:href",b.link).attr("target",e??null),f=await g(d,b,c)}else d=f=await g(a,b,c);return d.attr("data-look",(0,e.handleUndefinedAttr)(b.look)),b.tooltip&&f.attr("title",b.tooltip),bk.set(b.id,d),b.haveCallback&&d.attr("class",d.attr("class")+" clickable"),d}(0,g.__name)(bl,"insertNode");var bm=(0,g.__name)((a,b)=>{bk.set(b.id,a)},"setNodeElem"),bn=(0,g.__name)(()=>{bk.clear()},"clear"),bo=(0,g.__name)(a=>{let b=bk.get(a.id);g.log.trace("Transforming node",a.diff,a,"translate("+(a.x-a.width/2-5)+", "+a.width/2+")");let c=a.diff||0;return a.clusterNode?b.attr("transform","translate("+(a.x+c-a.width/2)+", "+(a.y-a.height/2-8)+")"):b.attr("transform","translate("+a.x+", "+a.y+")"),c},"positionNode");a.s(["clear",0,B,"clear2",0,bn,"createLabel_default",0,s,"insertCluster",0,A,"insertNode",0,bl,"isValidShape",0,bj,"labelHelper",0,j,"positionNode",0,bo,"setNodeElem",0,bm,"updateNodeBounds",0,l])}];
|
|
63
63
|
|
|
64
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-
|
|
64
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-3OPIFGDE_mjs_165ua5_._.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[896937,737645,945170,408571,701967,858008,632794,758434,193908,356983,905712,550118,48241,281235,963351,152245,99416,380265,575069,859378,38295,a=>{"use strict";var b,c=a.i(685227),d=a.i(334603),e=a.i(670773);function f(a,b,c){a._context.bezierCurveTo((2*a._x0+a._x1)/3,(2*a._y0+a._y1)/3,(a._x0+2*a._x1)/3,(a._y0+2*a._y1)/3,(a._x0+4*a._x1+b)/6,(a._y0+4*a._y1+c)/6)}function g(a){this._context=a}function h(a){return new g(a)}function i(){}function j(a){this._context=a}function k(a){this._context=a}a.i(975930),g.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:f(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:f(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}},a.s(["curveBasis",0,h],737645),j.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._x2=a,this._y2=b;break;case 1:this._point=2,this._x3=a,this._y3=b;break;case 2:this._point=3,this._x4=a,this._y4=b,this._context.moveTo((this._x0+4*this._x1+a)/6,(this._y0+4*this._y1+b)/6);break;default:f(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}},k.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var c=(this._x0+4*this._x1+a)/6,d=(this._y0+4*this._y1+b)/6;this._line?this._context.lineTo(c,d):this._context.moveTo(c,d);break;case 3:this._point=4;default:f(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}};class l{constructor(a,b){this._context=a,this._x=b}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+a)/2,this._y0,this._x0,b,a,b):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+b)/2,a,this._y0,a,b)}this._x0=a,this._y0=b}}function m(a){return new l(a,!0)}function n(a){return new l(a,!1)}function o(a,b){this._basis=new g(a),this._beta=b}a.s(["curveBumpX",0,m],945170),a.s(["curveBumpY",0,n],408571),o.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var a=this._x,b=this._y,c=a.length-1;if(c>0)for(var d,e=a[0],f=b[0],g=a[c]-e,h=b[c]-f,i=-1;++i<=c;)d=i/c,this._basis.point(this._beta*a[i]+(1-this._beta)*(e+d*g),this._beta*b[i]+(1-this._beta)*(f+d*h));this._x=this._y=null,this._basis.lineEnd()},point:function(a,b){this._x.push(+a),this._y.push(+b)}};let p=function a(b){function c(a){return 1===b?new g(a):new o(a,b)}return c.beta=function(b){return a(+b)},c}(.85);function q(a,b,c){a._context.bezierCurveTo(a._x1+a._k*(a._x2-a._x0),a._y1+a._k*(a._y2-a._y0),a._x2+a._k*(a._x1-b),a._y2+a._k*(a._y1-c),a._x2,a._y2)}function r(a,b){this._context=a,this._k=(1-b)/6}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:q(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2,this._x1=a,this._y1=b;break;case 2:this._point=3;default:q(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let s=function a(b){function c(a){return new r(a,b)}return c.tension=function(b){return a(+b)},c}(0);function t(a,b){this._context=a,this._k=(1-b)/6}t.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._x3=a,this._y3=b;break;case 1:this._point=2,this._context.moveTo(this._x4=a,this._y4=b);break;case 2:this._point=3,this._x5=a,this._y5=b;break;default:q(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let u=function a(b){function c(a){return new t(a,b)}return c.tension=function(b){return a(+b)},c}(0);function v(a,b){this._context=a,this._k=(1-b)/6}v.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:q(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let w=function a(b){function c(a){return new v(a,b)}return c.tension=function(b){return a(+b)},c}(0);a.s(["curveCardinal",0,s],701967);var x=a.i(630714);function y(a,b,c){var d=a._x1,e=a._y1,f=a._x2,g=a._y2;if(a._l01_a>x.epsilon){var h=2*a._l01_2a+3*a._l01_a*a._l12_a+a._l12_2a,i=3*a._l01_a*(a._l01_a+a._l12_a);d=(d*h-a._x0*a._l12_2a+a._x2*a._l01_2a)/i,e=(e*h-a._y0*a._l12_2a+a._y2*a._l01_2a)/i}if(a._l23_a>x.epsilon){var j=2*a._l23_2a+3*a._l23_a*a._l12_a+a._l12_2a,k=3*a._l23_a*(a._l23_a+a._l12_a);f=(f*j+a._x1*a._l23_2a-b*a._l12_2a)/k,g=(g*j+a._y1*a._l23_2a-c*a._l12_2a)/k}a._context.bezierCurveTo(d,e,f,g,a._x2,a._y2)}function z(a,b){this._context=a,this._alpha=b}z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){if(a*=1,b*=1,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3;default:y(this,a,b)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let A=function a(b){function c(a){return b?new z(a,b):new r(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);function B(a,b){this._context=a,this._alpha=b}B.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(a,b){if(a*=1,b*=1,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=a,this._y3=b;break;case 1:this._point=2,this._context.moveTo(this._x4=a,this._y4=b);break;case 2:this._point=3,this._x5=a,this._y5=b;break;default:y(this,a,b)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let C=function a(b){function c(a){return b?new B(a,b):new t(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);function D(a,b){this._context=a,this._alpha=b}D.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){if(a*=1,b*=1,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:y(this,a,b)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let E=function a(b){function c(a){return b?new D(a,b):new v(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);function F(a){this._context=a}function G(a){return new F(a)}function H(a){this._context=a}a.s(["curveCatmullRom",0,A],858008),F.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:this._context.lineTo(a,b)}}},a.s(["default",0,G],632794),a.s(["curveLinear",0,G],758434),H.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(a,b){a*=1,b*=1,this._point?this._context.lineTo(a,b):(this._point=1,this._context.moveTo(a,b))}};function I(a,b,c){var d=a._x1-a._x0,e=b-a._x1,f=(a._y1-a._y0)/(d||e<0&&-0),g=(c-a._y1)/(e||d<0&&-0);return((f<0?-1:1)+(g<0?-1:1))*Math.min(Math.abs(f),Math.abs(g),.5*Math.abs((f*e+g*d)/(d+e)))||0}function J(a,b){var c=a._x1-a._x0;return c?(3*(a._y1-a._y0)/c-b)/2:b}function K(a,b,c){var d=a._x0,e=a._y0,f=a._x1,g=a._y1,h=(f-d)/3;a._context.bezierCurveTo(d+h,e+h*b,f-h,g-h*c,f,g)}function L(a){this._context=a}function M(a){this._context=new N(a)}function N(a){this._context=a}function O(a){return new L(a)}function P(a){return new M(a)}function Q(a){this._context=a}function R(a){var b,c,d=a.length-1,e=Array(d),f=Array(d),g=Array(d);for(e[0]=0,f[0]=2,g[0]=a[0]+2*a[1],b=1;b<d-1;++b)e[b]=1,f[b]=4,g[b]=4*a[b]+2*a[b+1];for(e[d-1]=2,f[d-1]=7,g[d-1]=8*a[d-1]+a[d],b=1;b<d;++b)c=e[b]/f[b-1],f[b]-=c,g[b]-=c*g[b-1];for(e[d-1]=g[d-1]/f[d-1],b=d-2;b>=0;--b)e[b]=(g[b]-e[b+1])/f[b];for(b=0,f[d-1]=(a[d]+e[d-1])/2;b<d-1;++b)f[b]=2*a[b+1]-e[b+1];return[e,f]}function S(a){return new Q(a)}function T(a,b){this._context=a,this._t=b}function U(a){return new T(a,.5)}function V(a){return new T(a,0)}function W(a){return new T(a,1)}L.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:K(this,this._t0,J(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){var c=NaN;if(b*=1,(a*=1)!==this._x1||b!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3,K(this,J(this,c=I(this,a,b)),c);break;default:K(this,this._t0,c=I(this,a,b))}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b,this._t0=c}}},(M.prototype=Object.create(L.prototype)).point=function(a,b){L.prototype.point.call(this,b,a)},N.prototype={moveTo:function(a,b){this._context.moveTo(b,a)},closePath:function(){this._context.closePath()},lineTo:function(a,b){this._context.lineTo(b,a)},bezierCurveTo:function(a,b,c,d,e,f){this._context.bezierCurveTo(b,a,d,c,f,e)}},a.s(["curveMonotoneX",0,O],193908),a.s(["curveMonotoneY",0,P],356983),Q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var a=this._x,b=this._y,c=a.length;if(c)if(this._line?this._context.lineTo(a[0],b[0]):this._context.moveTo(a[0],b[0]),2===c)this._context.lineTo(a[1],b[1]);else for(var d=R(a),e=R(b),f=0,g=1;g<c;++f,++g)this._context.bezierCurveTo(d[0][f],e[0][f],d[1][f],e[1][f],a[g],b[g]);(this._line||0!==this._line&&1===c)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(a,b){this._x.push(+a),this._y.push(+b)}},a.s(["curveNatural",0,S],905712),T.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,b),this._context.lineTo(a,b);else{var c=this._x*(1-this._t)+a*this._t;this._context.lineTo(c,this._y),this._context.lineTo(c,b)}}this._x=a,this._y=b}},a.s(["curveStep",0,U],550118),a.s(["curveStepAfter",0,W],48241),a.s(["curveStepBefore",0,V],281235);var X=a.i(671731);function Y(a,b){if("function"!=typeof a||null!=b&&"function"!=typeof b)throw TypeError("Expected a function");let c=function(...d){let e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);let g=a.apply(this,d);return c.cache=f.set(e,g)||f,g};return c.cache=new(Y.Cache||Map),c}function Z(){}function $(a){return null==a||"object"!=typeof a&&"function"!=typeof a}function _(a){return ArrayBuffer.isView(a)&&!(a instanceof DataView)}function aa(a){return Object.getOwnPropertySymbols(a).filter(b=>Object.prototype.propertyIsEnumerable.call(a,b))}Y.Cache=Map,a.s(["isPrimitive",0,$],963351);let ab="object"==typeof globalThis&&globalThis||"object"==typeof self&&self||a.g||function(){return this}()||Function("return this")();function ac(a){return void 0!==ab.Buffer&&ab.Buffer.isBuffer(a)}function ad(a){if("object"!=typeof a||null==a)return!1;if(null===Object.getPrototypeOf(a))return!0;if("[object Object]"!==Object.prototype.toString.call(a)){let b=a[Symbol.toStringTag];return null!=b&&!!Object.getOwnPropertyDescriptor(a,Symbol.toStringTag)?.writable&&a.toString()===`[object ${b}]`}let b=a;for(;null!==Object.getPrototypeOf(b);)b=Object.getPrototypeOf(b);return Object.getPrototypeOf(a)===b}function ae(a){return null==a?void 0===a?"[object Undefined]":"[object Null]":Object.prototype.toString.call(a)}a.s(["isBuffer",0,ac],152245),a.s(["getTag",0,ae],99416);let af="[object RegExp]",ag="[object String]",ah="[object Number]",ai="[object Boolean]",aj="[object Arguments]",ak="[object Symbol]",al="[object Date]",am="[object Map]",an="[object Set]",ao="[object Array]",ap="[object ArrayBuffer]",aq="[object Object]",ar="[object DataView]",as="[object Uint8Array]",at="[object Uint8ClampedArray]",au="[object Uint16Array]",av="[object Uint32Array]",aw="[object Int8Array]",ax="[object Int16Array]",ay="[object Int32Array]",az="[object Float32Array]",aA="[object Float64Array]";function aB(a,b,c,d=new Map,e){let f=e?.(a,b,c,d);if(void 0!==f)return f;if($(a))return a;if(d.has(a))return d.get(a);if(Array.isArray(a)){let b=Array(a.length);d.set(a,b);for(let f=0;f<a.length;f++)b[f]=aB(a[f],f,c,d,e);return Object.hasOwn(a,"index")&&(b.index=a.index),Object.hasOwn(a,"input")&&(b.input=a.input),b}if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp){let b=new RegExp(a.source,a.flags);return b.lastIndex=a.lastIndex,b}if(a instanceof Map){let b=new Map;for(let[f,g]of(d.set(a,b),a))b.set(f,aB(g,f,c,d,e));return b}if(a instanceof Set){let b=new Set;for(let f of(d.set(a,b),a))b.add(aB(f,void 0,c,d,e));return b}if(ac(a))return a.subarray();if(_(a)){let b=new(Object.getPrototypeOf(a)).constructor(a.length);d.set(a,b);for(let f=0;f<a.length;f++)b[f]=aB(a[f],f,c,d,e);return b}if(a instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&a instanceof SharedArrayBuffer)return a.slice(0);if(a instanceof DataView){let b=new DataView(a.buffer.slice(0),a.byteOffset,a.byteLength);return d.set(a,b),aC(b,a,c,d,e),b}if("u">typeof File&&a instanceof File){let b=new File([a],a.name,{type:a.type});return d.set(a,b),aC(b,a,c,d,e),b}if("u">typeof Blob&&a instanceof Blob){let b=new Blob([a],{type:a.type});return d.set(a,b),aC(b,a,c,d,e),b}if(a instanceof Error){let b=structuredClone(a);return d.set(a,b),b.message=a.message,b.name=a.name,b.stack=a.stack,b.cause=a.cause,b.constructor=a.constructor,aC(b,a,c,d,e),b}if(a instanceof Boolean){let b=new Boolean(a.valueOf());return d.set(a,b),aC(b,a,c,d,e),b}if(a instanceof Number){let b=new Number(a.valueOf());return d.set(a,b),aC(b,a,c,d,e),b}if(a instanceof String){let b=new String(a.valueOf());return d.set(a,b),aC(b,a,c,d,e),b}if("object"==typeof a&&function(a){switch(ae(a)){case aj:case ao:case ap:case ar:case ai:case al:case az:case aA:case aw:case ax:case ay:case am:case ah:case aq:case af:case an:case ag:case ak:case as:case at:case au:case av:return!0;default:return!1}}(a)){let b=Object.create(Object.getPrototypeOf(a));return d.set(a,b),aC(b,a,c,d,e),b}return a}function aC(a,b,c=a,d,e){let f=[...Object.keys(b),...aa(b)];for(let g=0;g<f.length;g++){let h=f[g],i=Object.getOwnPropertyDescriptor(a,h);(null==i||i.writable)&&(a[h]=aB(b[h],h,c,d,e))}}function aD(a){var b;return b=(b,c,d,e)=>{let f;if(void 0!==f)return f;if("object"==typeof a){if("[object Object]"===ae(a)&&"function"!=typeof a.constructor){let b={};return e.set(a,b),aC(b,a,d,e),b}switch(Object.prototype.toString.call(a)){case ah:case ag:case ai:{let b=new a.constructor(a?.valueOf());return aC(b,a),b}case aj:{let b={};return aC(b,a),b.length=a.length,b[Symbol.iterator]=a[Symbol.iterator],b}default:return}}},aB(a,void 0,a,new Map,b)}function aE(a){return null!==a&&"object"==typeof a&&"[object Arguments]"===ae(a)}function aF(a){return"object"==typeof a&&null!==a}function aG(a){var b;return null!=a&&"function"!=typeof a&&Number.isSafeInteger(b=a.length)&&b>=0}function aH(a){return _(a)}a.s(["argumentsTag",0,aj,"arrayBufferTag",0,ap,"arrayTag",0,ao,"booleanTag",0,ai,"dataViewTag",0,ar,"dateTag",0,al,"float32ArrayTag",0,az,"float64ArrayTag",0,aA,"int16ArrayTag",0,ax,"int32ArrayTag",0,ay,"int8ArrayTag",0,aw,"mapTag",0,am,"numberTag",0,ah,"objectTag",0,aq,"regexpTag",0,af,"setTag",0,an,"stringTag",0,ag,"symbolTag",0,ak,"uint16ArrayTag",0,au,"uint32ArrayTag",0,av,"uint8ArrayTag",0,as,"uint8ClampedArrayTag",0,at],380265),a.s(["isArguments",0,aE],575069),a.s(["isArrayLike",0,aG],859378),a.s(["isTypedArray",0,aH],38295);var aI={curveBasis:h,curveBasisClosed:function(a){return new j(a)},curveBasisOpen:function(a){return new k(a)},curveBumpX:m,curveBumpY:n,curveBundle:p,curveCardinalClosed:u,curveCardinalOpen:w,curveCardinal:s,curveCatmullRomClosed:C,curveCatmullRomOpen:E,curveCatmullRom:A,curveLinear:G,curveLinearClosed:function(a){return new H(a)},curveMonotoneX:O,curveMonotoneY:P,curveNatural:S,curveStep:U,curveStepAfter:W,curveStepBefore:V},aJ=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,aK=(0,d.__name)(function(a,b){let d=aL(a,/(?:init\b)|(?:initialize\b)/),e={};if(Array.isArray(d)){let a=d.map(a=>a.args);(0,c.sanitizeDirective)(a),e=(0,c.assignWithDepth_default)(e,[...a])}else e=d.args;if(!e)return;let f=(0,c.detectType)(a,b),g="config";return void 0!==e[g]&&("flowchart-v2"===f&&(f="flowchart"),e[f]=e[g],delete e[g]),e},"detectInit"),aL=(0,d.__name)(function(a,b=null){try{let e,f=RegExp(`[%]{2}(?![{]${aJ.source})(?=[}][%]{2}).*
|
|
1
|
+
module.exports=[896937,737645,945170,408571,701967,858008,632794,758434,193908,356983,905712,550118,48241,281235,963351,152245,99416,380265,575069,859378,38295,a=>{"use strict";var b,c=a.i(685227),d=a.i(334603),e=a.i(670773);function f(a,b,c){a._context.bezierCurveTo((2*a._x0+a._x1)/3,(2*a._y0+a._y1)/3,(a._x0+2*a._x1)/3,(a._y0+2*a._y1)/3,(a._x0+4*a._x1+b)/6,(a._y0+4*a._y1+c)/6)}function g(a){this._context=a}function h(a){return new g(a)}function i(){}function j(a){this._context=a}function k(a){this._context=a}a.i(975930),g.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:f(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:f(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}},a.s(["curveBasis",0,h],737645),j.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._x2=a,this._y2=b;break;case 1:this._point=2,this._x3=a,this._y3=b;break;case 2:this._point=3,this._x4=a,this._y4=b,this._context.moveTo((this._x0+4*this._x1+a)/6,(this._y0+4*this._y1+b)/6);break;default:f(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}},k.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var c=(this._x0+4*this._x1+a)/6,d=(this._y0+4*this._y1+b)/6;this._line?this._context.lineTo(c,d):this._context.moveTo(c,d);break;case 3:this._point=4;default:f(this,a,b)}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b}};class l{constructor(a,b){this._context=a,this._x=b}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+a)/2,this._y0,this._x0,b,a,b):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+b)/2,a,this._y0,a,b)}this._x0=a,this._y0=b}}function m(a){return new l(a,!0)}function n(a){return new l(a,!1)}function o(a,b){this._basis=new g(a),this._beta=b}a.s(["curveBumpX",0,m],945170),a.s(["curveBumpY",0,n],408571),o.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var a=this._x,b=this._y,c=a.length-1;if(c>0)for(var d,e=a[0],f=b[0],g=a[c]-e,h=b[c]-f,i=-1;++i<=c;)d=i/c,this._basis.point(this._beta*a[i]+(1-this._beta)*(e+d*g),this._beta*b[i]+(1-this._beta)*(f+d*h));this._x=this._y=null,this._basis.lineEnd()},point:function(a,b){this._x.push(+a),this._y.push(+b)}};let p=function a(b){function c(a){return 1===b?new g(a):new o(a,b)}return c.beta=function(b){return a(+b)},c}(.85);function q(a,b,c){a._context.bezierCurveTo(a._x1+a._k*(a._x2-a._x0),a._y1+a._k*(a._y2-a._y0),a._x2+a._k*(a._x1-b),a._y2+a._k*(a._y1-c),a._x2,a._y2)}function r(a,b){this._context=a,this._k=(1-b)/6}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:q(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2,this._x1=a,this._y1=b;break;case 2:this._point=3;default:q(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let s=function a(b){function c(a){return new r(a,b)}return c.tension=function(b){return a(+b)},c}(0);function t(a,b){this._context=a,this._k=(1-b)/6}t.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._x3=a,this._y3=b;break;case 1:this._point=2,this._context.moveTo(this._x4=a,this._y4=b);break;case 2:this._point=3,this._x5=a,this._y5=b;break;default:q(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let u=function a(b){function c(a){return new t(a,b)}return c.tension=function(b){return a(+b)},c}(0);function v(a,b){this._context=a,this._k=(1-b)/6}v.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:q(this,a,b)}this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let w=function a(b){function c(a){return new v(a,b)}return c.tension=function(b){return a(+b)},c}(0);a.s(["curveCardinal",0,s],701967);var x=a.i(630714);function y(a,b,c){var d=a._x1,e=a._y1,f=a._x2,g=a._y2;if(a._l01_a>x.epsilon){var h=2*a._l01_2a+3*a._l01_a*a._l12_a+a._l12_2a,i=3*a._l01_a*(a._l01_a+a._l12_a);d=(d*h-a._x0*a._l12_2a+a._x2*a._l01_2a)/i,e=(e*h-a._y0*a._l12_2a+a._y2*a._l01_2a)/i}if(a._l23_a>x.epsilon){var j=2*a._l23_2a+3*a._l23_a*a._l12_a+a._l12_2a,k=3*a._l23_a*(a._l23_a+a._l12_a);f=(f*j+a._x1*a._l23_2a-b*a._l12_2a)/k,g=(g*j+a._y1*a._l23_2a-c*a._l12_2a)/k}a._context.bezierCurveTo(d,e,f,g,a._x2,a._y2)}function z(a,b){this._context=a,this._alpha=b}z.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){if(a*=1,b*=1,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3;default:y(this,a,b)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let A=function a(b){function c(a){return b?new z(a,b):new r(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);function B(a,b){this._context=a,this._alpha=b}B.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(a,b){if(a*=1,b*=1,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=a,this._y3=b;break;case 1:this._point=2,this._context.moveTo(this._x4=a,this._y4=b);break;case 2:this._point=3,this._x5=a,this._y5=b;break;default:y(this,a,b)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let C=function a(b){function c(a){return b?new B(a,b):new t(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);function D(a,b){this._context=a,this._alpha=b}D.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){if(a*=1,b*=1,this._point){var c=this._x2-a,d=this._y2-b;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(c*c+d*d,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:y(this,a,b)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=a,this._y0=this._y1,this._y1=this._y2,this._y2=b}};let E=function a(b){function c(a){return b?new D(a,b):new v(a,0)}return c.alpha=function(b){return a(+b)},c}(.5);function F(a){this._context=a}function G(a){return new F(a)}function H(a){this._context=a}a.s(["curveCatmullRom",0,A],858008),F.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:this._context.lineTo(a,b)}}},a.s(["default",0,G],632794),a.s(["curveLinear",0,G],758434),H.prototype={areaStart:i,areaEnd:i,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(a,b){a*=1,b*=1,this._point?this._context.lineTo(a,b):(this._point=1,this._context.moveTo(a,b))}};function I(a,b,c){var d=a._x1-a._x0,e=b-a._x1,f=(a._y1-a._y0)/(d||e<0&&-0),g=(c-a._y1)/(e||d<0&&-0);return((f<0?-1:1)+(g<0?-1:1))*Math.min(Math.abs(f),Math.abs(g),.5*Math.abs((f*e+g*d)/(d+e)))||0}function J(a,b){var c=a._x1-a._x0;return c?(3*(a._y1-a._y0)/c-b)/2:b}function K(a,b,c){var d=a._x0,e=a._y0,f=a._x1,g=a._y1,h=(f-d)/3;a._context.bezierCurveTo(d+h,e+h*b,f-h,g-h*c,f,g)}function L(a){this._context=a}function M(a){this._context=new N(a)}function N(a){this._context=a}function O(a){return new L(a)}function P(a){return new M(a)}function Q(a){this._context=a}function R(a){var b,c,d=a.length-1,e=Array(d),f=Array(d),g=Array(d);for(e[0]=0,f[0]=2,g[0]=a[0]+2*a[1],b=1;b<d-1;++b)e[b]=1,f[b]=4,g[b]=4*a[b]+2*a[b+1];for(e[d-1]=2,f[d-1]=7,g[d-1]=8*a[d-1]+a[d],b=1;b<d;++b)c=e[b]/f[b-1],f[b]-=c,g[b]-=c*g[b-1];for(e[d-1]=g[d-1]/f[d-1],b=d-2;b>=0;--b)e[b]=(g[b]-e[b+1])/f[b];for(f[d-1]=(a[d]+e[d-1])/2,b=0;b<d-1;++b)f[b]=2*a[b+1]-e[b+1];return[e,f]}function S(a){return new Q(a)}function T(a,b){this._context=a,this._t=b}function U(a){return new T(a,.5)}function V(a){return new T(a,0)}function W(a){return new T(a,1)}L.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:K(this,this._t0,J(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(a,b){var c=NaN;if(b*=1,(a*=1)!==this._x1||b!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;break;case 2:this._point=3,K(this,J(this,c=I(this,a,b)),c);break;default:K(this,this._t0,c=I(this,a,b))}this._x0=this._x1,this._x1=a,this._y0=this._y1,this._y1=b,this._t0=c}}},(M.prototype=Object.create(L.prototype)).point=function(a,b){L.prototype.point.call(this,b,a)},N.prototype={moveTo:function(a,b){this._context.moveTo(b,a)},closePath:function(){this._context.closePath()},lineTo:function(a,b){this._context.lineTo(b,a)},bezierCurveTo:function(a,b,c,d,e,f){this._context.bezierCurveTo(b,a,d,c,f,e)}},a.s(["curveMonotoneX",0,O],193908),a.s(["curveMonotoneY",0,P],356983),Q.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var a=this._x,b=this._y,c=a.length;if(c)if(this._line?this._context.lineTo(a[0],b[0]):this._context.moveTo(a[0],b[0]),2===c)this._context.lineTo(a[1],b[1]);else for(var d=R(a),e=R(b),f=0,g=1;g<c;++f,++g)this._context.bezierCurveTo(d[0][f],e[0][f],d[1][f],e[1][f],a[g],b[g]);(this._line||0!==this._line&&1===c)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(a,b){this._x.push(+a),this._y.push(+b)}},a.s(["curveNatural",0,S],905712),T.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(a,b){switch(a*=1,b*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(a,b):this._context.moveTo(a,b);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,b),this._context.lineTo(a,b);else{var c=this._x*(1-this._t)+a*this._t;this._context.lineTo(c,this._y),this._context.lineTo(c,b)}}this._x=a,this._y=b}},a.s(["curveStep",0,U],550118),a.s(["curveStepAfter",0,W],48241),a.s(["curveStepBefore",0,V],281235);var X=a.i(671731);function Y(a,b){if("function"!=typeof a||null!=b&&"function"!=typeof b)throw TypeError("Expected a function");let c=function(...d){let e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);let g=a.apply(this,d);return c.cache=f.set(e,g)||f,g};return c.cache=new(Y.Cache||Map),c}function Z(){}function $(a){return null==a||"object"!=typeof a&&"function"!=typeof a}function _(a){return ArrayBuffer.isView(a)&&!(a instanceof DataView)}function aa(a){return Object.getOwnPropertySymbols(a).filter(b=>Object.prototype.propertyIsEnumerable.call(a,b))}Y.Cache=Map,a.s(["isPrimitive",0,$],963351);let ab="object"==typeof globalThis&&globalThis||"object"==typeof self&&self||a.g||function(){return this}()||Function("return this")();function ac(a){return void 0!==ab.Buffer&&ab.Buffer.isBuffer(a)}function ad(a){if("object"!=typeof a||null==a)return!1;if(null===Object.getPrototypeOf(a))return!0;if("[object Object]"!==Object.prototype.toString.call(a)){let b=a[Symbol.toStringTag];return null!=b&&!!Object.getOwnPropertyDescriptor(a,Symbol.toStringTag)?.writable&&a.toString()===`[object ${b}]`}let b=a;for(;null!==Object.getPrototypeOf(b);)b=Object.getPrototypeOf(b);return Object.getPrototypeOf(a)===b}function ae(a){return null==a?void 0===a?"[object Undefined]":"[object Null]":Object.prototype.toString.call(a)}a.s(["isBuffer",0,ac],152245),a.s(["getTag",0,ae],99416);let af="[object RegExp]",ag="[object String]",ah="[object Number]",ai="[object Boolean]",aj="[object Arguments]",ak="[object Symbol]",al="[object Date]",am="[object Map]",an="[object Set]",ao="[object Array]",ap="[object ArrayBuffer]",aq="[object Object]",ar="[object DataView]",as="[object Uint8Array]",at="[object Uint8ClampedArray]",au="[object Uint16Array]",av="[object Uint32Array]",aw="[object Int8Array]",ax="[object Int16Array]",ay="[object Int32Array]",az="[object Float32Array]",aA="[object Float64Array]";function aB(a,b,c,d=new Map,e){let f=e?.(a,b,c,d);if(void 0!==f)return f;if($(a))return a;if(d.has(a))return d.get(a);if(Array.isArray(a)){let b=Array(a.length);d.set(a,b);for(let f=0;f<a.length;f++)b[f]=aB(a[f],f,c,d,e);return Object.hasOwn(a,"index")&&(b.index=a.index),Object.hasOwn(a,"input")&&(b.input=a.input),b}if(a instanceof Date)return new Date(a.getTime());if(a instanceof RegExp){let b=new RegExp(a.source,a.flags);return b.lastIndex=a.lastIndex,b}if(a instanceof Map){let b=new Map;for(let[f,g]of(d.set(a,b),a))b.set(f,aB(g,f,c,d,e));return b}if(a instanceof Set){let b=new Set;for(let f of(d.set(a,b),a))b.add(aB(f,void 0,c,d,e));return b}if(ac(a))return a.subarray();if(_(a)){let b=new(Object.getPrototypeOf(a)).constructor(a.length);d.set(a,b);for(let f=0;f<a.length;f++)b[f]=aB(a[f],f,c,d,e);return b}if(a instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&a instanceof SharedArrayBuffer)return a.slice(0);if(a instanceof DataView){let b=new DataView(a.buffer.slice(0),a.byteOffset,a.byteLength);return d.set(a,b),aC(b,a,c,d,e),b}if("u">typeof File&&a instanceof File){let b=new File([a],a.name,{type:a.type});return d.set(a,b),aC(b,a,c,d,e),b}if("u">typeof Blob&&a instanceof Blob){let b=new Blob([a],{type:a.type});return d.set(a,b),aC(b,a,c,d,e),b}if(a instanceof Error){let b=structuredClone(a);return d.set(a,b),b.message=a.message,b.name=a.name,b.stack=a.stack,b.cause=a.cause,b.constructor=a.constructor,aC(b,a,c,d,e),b}if(a instanceof Boolean){let b=new Boolean(a.valueOf());return d.set(a,b),aC(b,a,c,d,e),b}if(a instanceof Number){let b=new Number(a.valueOf());return d.set(a,b),aC(b,a,c,d,e),b}if(a instanceof String){let b=new String(a.valueOf());return d.set(a,b),aC(b,a,c,d,e),b}if("object"==typeof a&&function(a){switch(ae(a)){case aj:case ao:case ap:case ar:case ai:case al:case az:case aA:case aw:case ax:case ay:case am:case ah:case aq:case af:case an:case ag:case ak:case as:case at:case au:case av:return!0;default:return!1}}(a)){let b=Object.create(Object.getPrototypeOf(a));return d.set(a,b),aC(b,a,c,d,e),b}return a}function aC(a,b,c=a,d,e){let f=[...Object.keys(b),...aa(b)];for(let g=0;g<f.length;g++){let h=f[g],i=Object.getOwnPropertyDescriptor(a,h);(null==i||i.writable)&&(a[h]=aB(b[h],h,c,d,e))}}function aD(a){var b;return b=(b,c,d,e)=>{let f;if(void 0!==f)return f;if("object"==typeof a){if("[object Object]"===ae(a)&&"function"!=typeof a.constructor){let b={};return e.set(a,b),aC(b,a,d,e),b}switch(Object.prototype.toString.call(a)){case ah:case ag:case ai:{let b=new a.constructor(a?.valueOf());return aC(b,a),b}case aj:{let b={};return aC(b,a),b.length=a.length,b[Symbol.iterator]=a[Symbol.iterator],b}default:return}}},aB(a,void 0,a,new Map,b)}function aE(a){return null!==a&&"object"==typeof a&&"[object Arguments]"===ae(a)}function aF(a){return"object"==typeof a&&null!==a}function aG(a){var b;return null!=a&&"function"!=typeof a&&Number.isSafeInteger(b=a.length)&&b>=0}function aH(a){return _(a)}a.s(["argumentsTag",0,aj,"arrayBufferTag",0,ap,"arrayTag",0,ao,"booleanTag",0,ai,"dataViewTag",0,ar,"dateTag",0,al,"float32ArrayTag",0,az,"float64ArrayTag",0,aA,"int16ArrayTag",0,ax,"int32ArrayTag",0,ay,"int8ArrayTag",0,aw,"mapTag",0,am,"numberTag",0,ah,"objectTag",0,aq,"regexpTag",0,af,"setTag",0,an,"stringTag",0,ag,"symbolTag",0,ak,"uint16ArrayTag",0,au,"uint32ArrayTag",0,av,"uint8ArrayTag",0,as,"uint8ClampedArrayTag",0,at],380265),a.s(["isArguments",0,aE],575069),a.s(["isArrayLike",0,aG],859378),a.s(["isTypedArray",0,aH],38295);var aI={curveBasis:h,curveBasisClosed:function(a){return new j(a)},curveBasisOpen:function(a){return new k(a)},curveBumpX:m,curveBumpY:n,curveBundle:p,curveCardinalClosed:u,curveCardinalOpen:w,curveCardinal:s,curveCatmullRomClosed:C,curveCatmullRomOpen:E,curveCatmullRom:A,curveLinear:G,curveLinearClosed:function(a){return new H(a)},curveMonotoneX:O,curveMonotoneY:P,curveNatural:S,curveStep:U,curveStepAfter:W,curveStepBefore:V},aJ=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,aK=(0,d.__name)(function(a,b){let d=aL(a,/(?:init\b)|(?:initialize\b)/),e={};if(Array.isArray(d)){let a=d.map(a=>a.args);(0,c.sanitizeDirective)(a),e=(0,c.assignWithDepth_default)(e,[...a])}else e=d.args;if(!e)return;let f=(0,c.detectType)(a,b),g="config";return void 0!==e[g]&&("flowchart-v2"===f&&(f="flowchart"),e[f]=e[g],delete e[g]),e},"detectInit"),aL=(0,d.__name)(function(a,b=null){try{let e,f=RegExp(`[%]{2}(?![{]${aJ.source})(?=[}][%]{2}).*
|
|
2
2
|
`,"ig");a=a.trim().replace(f,"").replace(/'/gm,'"'),d.log.debug(`Detecting diagram directive${null!==b?" type:"+b:""} based on the text:${a}`);let g=[];for(;null!==(e=c.directiveRegex.exec(a));)if(e.index===c.directiveRegex.lastIndex&&c.directiveRegex.lastIndex++,e&&!b||b&&e[1]?.match(b)||b&&e[2]?.match(b)){let a=e[1]?e[1]:e[2],b=e[3]?e[3].trim():e[4]?JSON.parse(e[4].trim()):null;g.push({type:a,args:b})}if(0===g.length)return{type:a,args:null};return 1===g.length?g[0]:g}catch(c){return d.log.error(`ERROR: ${c.message} - Unable to parse directive type: '${b}' based on the text: '${a}'`),{type:void 0,args:null}}},"detectDirective"),aM=(0,d.__name)(function(a){return a.replace(c.directiveRegex,"")},"removeDirectives"),aN=(0,d.__name)(function(a,b){for(let[c,d]of b.entries())if(d.match(a))return c;return -1},"isSubstringInArray");function aO(a,b){return a?aI[`curve${a.charAt(0).toUpperCase()+a.slice(1)}`]??b:b}function aP(a,b){let c=a.trim();if(c)return"loose"!==b.securityLevel?(0,e.sanitizeUrl)(c):c}(0,d.__name)(aO,"interpolateToCurve"),(0,d.__name)(aP,"formatUrl");var aQ=(0,d.__name)((a,...b)=>{let c=a.split("."),e=c.length-1,f=c[e],g=window;for(let b=0;b<e;b++)if(!(g=g[c[b]]))return void d.log.error(`Function name: ${a} not found in window`);g[f](...b)},"runFunc");function aR(a,b){return a&&b?Math.sqrt(Math.pow(b.x-a.x,2)+Math.pow(b.y-a.y,2)):0}function aS(a){let b,c=0;return a.forEach(a=>{c+=aR(a,b),b=a}),aV(a,c/2)}function aT(a){return 1===a.length?a[0]:aS(a)}(0,d.__name)(aR,"distance"),(0,d.__name)(aS,"traverseEdge"),(0,d.__name)(aT,"calcLabelPosition");var aU=(0,d.__name)((a,b=2)=>{let c=Math.pow(10,b);return Math.round(a*c)/c},"roundNumber"),aV=(0,d.__name)((a,b)=>{let c,d=b;for(let b of a){if(c){let a=aR(b,c);if(0===a)return c;if(a<d)d-=a;else{let e=d/a;if(e<=0)return c;if(e>=1)return{x:b.x,y:b.y};if(e>0&&e<1)return{x:aU((1-e)*c.x+e*b.x,5),y:aU((1-e)*c.y+e*b.y,5)}}}c=b}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),aW=(0,d.__name)((a,b,c)=>{d.log.info(`our points ${JSON.stringify(b)}`),b[0]!==c&&(b=b.reverse());let e=aV(b,25),f=a?10:5,g=Math.atan2(b[0].y-e.y,b[0].x-e.x),h={x:0,y:0};return h.x=Math.sin(g)*f+(b[0].x+e.x)/2,h.y=-Math.cos(g)*f+(b[0].y+e.y)/2,h},"calcCardinalityPosition");function aX(a,b,c){let e=structuredClone(c);d.log.info("our points",e),"start_left"!==b&&"start_right"!==b&&e.reverse();let f=aV(e,25+a),g=10+.5*a,h=Math.atan2(e[0].y-f.y,e[0].x-f.x),i={x:0,y:0};return"start_left"===b?(i.x=Math.sin(h+Math.PI)*g+(e[0].x+f.x)/2,i.y=-Math.cos(h+Math.PI)*g+(e[0].y+f.y)/2):"end_right"===b?(i.x=Math.sin(h-Math.PI)*g+(e[0].x+f.x)/2-5,i.y=-Math.cos(h-Math.PI)*g+(e[0].y+f.y)/2-5):"end_left"===b?(i.x=Math.sin(h)*g+(e[0].x+f.x)/2-5,i.y=-Math.cos(h)*g+(e[0].y+f.y)/2-5):(i.x=Math.sin(h)*g+(e[0].x+f.x)/2,i.y=-Math.cos(h)*g+(e[0].y+f.y)/2),i}function aY(a){let b="",c="";for(let d of a)void 0!==d&&(d.startsWith("color:")||d.startsWith("text-align:")?c=c+d+";":b=b+d+";");return{style:b,labelStyle:c}}(0,d.__name)(aX,"calcTerminalLabelPosition"),(0,d.__name)(aY,"getStylesFromArray");var aZ=0,a$=(0,d.__name)(()=>(aZ++,"id-"+Math.random().toString(36).substr(2,12)+"-"+aZ),"generateId");function a_(a){let b="",c="0123456789abcdef",d=c.length;for(let e=0;e<a;e++)b+=c.charAt(Math.floor(Math.random()*d));return b}(0,d.__name)(a_,"makeRandomHex");var a0=(0,d.__name)(a=>a_(a.length),"random"),a1=(0,d.__name)(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),a2=(0,d.__name)(function(a,b){let d=b.text.replace(c.common_default.lineBreakRegex," "),[,e]=bc(b.fontSize),f=a.append("text");f.attr("x",b.x),f.attr("y",b.y),f.style("text-anchor",b.anchor),f.style("font-family",b.fontFamily),f.style("font-size",e),f.style("font-weight",b.fontWeight),f.attr("fill",b.fill),void 0!==b.class&&f.attr("class",b.class);let g=f.append("tspan");return g.attr("x",b.x+2*b.textMargin),g.attr("fill",b.fill),g.text(d),f},"drawSimpleText"),a3=Y((a,b,d)=>{if(!a||(d=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},d),c.common_default.lineBreakRegex.test(a)))return a;let e=a.split(" ").filter(Boolean),f=[],g="";return e.forEach((a,c)=>{let h=a6(`${a} `,d),i=a6(g,d);if(h>b){let{hyphenatedStrings:c,remainingWord:e}=a4(a,b,"-",d);f.push(g,...c),g=e}else i+h>=b?(f.push(g),g=a):g=[g,a].filter(Boolean).join(" ");c+1===e.length&&f.push(g)}),f.filter(a=>""!==a).join(d.joinWith)},(a,b,c)=>`${a}${b}${c.fontSize}${c.fontWeight}${c.fontFamily}${c.joinWith}`),a4=Y((a,b,c="-",d)=>{d=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},d);let e=[...a],f=[],g="";return e.forEach((a,h)=>{let i=`${g}${a}`;if(a6(i,d)>=b){let a=e.length===h+1,b=`${i}${c}`;f.push(a?i:b),g=""}else g=i}),{hyphenatedStrings:f,remainingWord:g}},(a,b,c="-",d)=>`${a}${b}${c}${d.fontSize}${d.fontWeight}${d.fontFamily}`);function a5(a,b){return a7(a,b).height}function a6(a,b){return a7(a,b).width}(0,d.__name)(a5,"calculateTextHeight"),(0,d.__name)(a6,"calculateTextWidth");var a7=Y((a,b)=>{let{fontSize:d=12,fontFamily:e="Arial",fontWeight:f=400}=b;if(!a)return{width:0,height:0};let[,g]=bc(d),h=a.split(c.common_default.lineBreakRegex),i=[],j=(0,X.select)("body");if(!j.remove)return{width:0,height:0,lineHeight:0};let k=j.append("svg");for(let a of["sans-serif",e]){let b=0,c={width:0,height:0,lineHeight:0};for(let d of h){let e=a1();e.text=d||"";let h=a2(k,e).style("font-size",g).style("font-weight",f).style("font-family",a),i=(h._groups||h)[0][0].getBBox();if(0===i.width&&0===i.height)throw Error("svg element not in render tree");c.width=Math.round(Math.max(c.width,i.width)),b=Math.round(i.height),c.height+=b,c.lineHeight=Math.round(Math.max(c.lineHeight,b))}i.push(c)}k.remove();let l=isNaN(i[1].height)||isNaN(i[1].width)||isNaN(i[1].lineHeight)||i[0].height>i[1].height&&i[0].width>i[1].width&&i[0].lineHeight>i[1].lineHeight?0:1;return i[l]},(a,b)=>`${a}${b.fontSize}${b.fontWeight}${b.fontFamily}`),a8=class{constructor(a=!1,b){this.count=0,this.count=b?b.length:0,this.next=a?()=>this.count++:()=>Date.now()}static{(0,d.__name)(this,"InitIDGenerator")}},a9=(0,d.__name)(function(a){return b=b||document.createElement("div"),a=escape(a).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),b.innerHTML=a,unescape(b.textContent)},"entityDecode");function ba(a){return"str"in a}(0,d.__name)(ba,"isDetailedError");var bb=(0,d.__name)((a,b,c,d)=>{if(!d)return;let e=a.node()?.getBBox();e&&a.append("text").text(d).attr("text-anchor","middle").attr("x",e.x+e.width/2).attr("y",-c).attr("class",b)},"insertTitle"),bc=(0,d.__name)(a=>{if("number"==typeof a)return[a,a+"px"];let b=parseInt(a??"",10);return Number.isNaN(b)?[void 0,void 0]:a===String(b)?[b,a+"px"]:[b,a]},"parseFontSize");function bd(a,b){return function(a,...b){return function(a,...b){let c=b.slice(0,-1),d=b[b.length-1],e=a;for(let a=0;a<c.length;a++)e=function a(b,c,d,e){if($(b)&&(b=Object(b)),null==c||"object"!=typeof c)return b;if(e.has(c))return function(a){if($(a))return a;if(Array.isArray(a)||_(a)||a instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&a instanceof SharedArrayBuffer)return a.slice(0);let b=Object.getPrototypeOf(a);if(null==b)return Object.assign(Object.create(b),a);let c=b.constructor;if(a instanceof Date||a instanceof Map||a instanceof Set)return new c(a);if(a instanceof RegExp){let b=new c(a);return b.lastIndex=a.lastIndex,b}if(a instanceof DataView)return new c(a.buffer.slice(0));if(a instanceof Error){let b;return(b=a instanceof AggregateError?new c(a.errors,a.message,{cause:a.cause}):new c(a.message,{cause:a.cause})).stack=a.stack,Object.assign(b,a),b}return"u">typeof File&&a instanceof File?new c([a],a.name,{type:a.type,lastModified:a.lastModified}):"object"==typeof a?Object.assign(Object.create(b),a):a}(e.get(c));if(e.set(c,b),Array.isArray(c)){c=c.slice();for(let a=0;a<c.length;a++)c[a]=c[a]??void 0}let f=[...Object.keys(c),...aa(c)];for(let h=0;h<f.length;h++){let i=f[h];if("__proto__"===i)continue;let j=c[i],k=b[i];if(aE(j)&&(j={...j}),aE(k)&&(k={...k}),ac(j)&&(j=aD(j)),Array.isArray(j))if(Array.isArray(k)){let a=[],b=Reflect.ownKeys(k);for(let c=0;c<b.length;c++){let d=b[c];a[d]=k[d]}k=a}else{var g;if(aF(g=k)&&aG(g)){let a=[];for(let b=0;b<k.length;b++)a[b]=k[b];k=a}else k=[]}let l=d(k,j,i,b,c,e);void 0!==l?b[i]=l:Array.isArray(j)||aF(k)&&aF(j)&&(ad(k)||ad(j)||aH(k)||aH(j))?b[i]=a(k,j,d,e):null==k&&ad(j)?b[i]=a({},j,d,e):null==k&&aH(j)?b[i]=aD(j):(void 0===k||void 0!==j)&&(b[i]=j)}return b}(e,c[a],d,new Map);return e}(a,...b,Z)}({},a,b)}(0,d.__name)(bd,"cleanAndMerge");var be={assignWithDepth:c.assignWithDepth_default,wrapLabel:a3,calculateTextHeight:a5,calculateTextWidth:a6,calculateTextDimensions:a7,cleanAndMerge:bd,detectInit:aK,detectDirective:aL,isSubstringInArray:aN,interpolateToCurve:aO,calcLabelPosition:aT,calcCardinalityPosition:aW,calcTerminalLabelPosition:aX,formatUrl:aP,getStylesFromArray:aY,generateId:a$,random:a0,runFunc:aQ,entityDecode:a9,insertTitle:bb,isLabelCoordinateInPath:bj,parseFontSize:bc,InitIDGenerator:a8},bf=(0,d.__name)(function(a){let b=a;return(b=(b=b.replace(/style.*:\S*#.*;/g,function(a){return a.substring(0,a.length-1)})).replace(/classDef.*:\S*#.*;/g,function(a){return a.substring(0,a.length-1)})).replace(/#\w+;/g,function(a){let b=a.substring(1,a.length-1);return/^\+?\d+$/.test(b)?"fl°°"+b+"¶ß":"fl°"+b+"¶ß"})},"encodeEntities"),bg=(0,d.__name)(function(a){return a.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),bh=(0,d.__name)((a,b,{counter:c=0,prefix:d,suffix:e},f)=>f||`${d?`${d}_`:""}${a}_${b}_${c}${e?`_${e}`:""}`,"getEdgeId");function bi(a){return a??null}function bj(a,b){let c=Math.round(a.x),d=Math.round(a.y),e=b.replace(/(\d+\.\d+)/g,a=>Math.round(parseFloat(a)).toString());return e.includes(c.toString())||e.includes(d.toString())}(0,d.__name)(bi,"handleUndefinedAttr"),(0,d.__name)(bj,"isLabelCoordinateInPath"),a.s(["ZERO_WIDTH_SPACE",0,"","calculateTextDimensions",0,a7,"calculateTextHeight",0,a5,"calculateTextWidth",0,a6,"cleanAndMerge",0,bd,"decodeEntities",0,bg,"encodeEntities",0,bf,"generateId",0,a$,"getEdgeId",0,bh,"getStylesFromArray",0,aY,"handleUndefinedAttr",0,bi,"interpolateToCurve",0,aO,"isDetailedError",0,ba,"parseFontSize",0,bc,"random",0,a0,"removeDirectives",0,aM,"utils_default",0,be,"wrapLabel",0,a3],896937)}];
|
|
3
3
|
|
|
4
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-
|
|
4
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-5ZQYHXKU_mjs_16ac76u._.js.map
|
|
@@ -200,4 +200,4 @@ g.classGroup line {
|
|
|
200
200
|
${(0,b.getIconStyles)()}
|
|
201
201
|
`,"getStyles"),t=(0,i.__name)((a,b="TB")=>{if(!a.doc)return b;let c=b;for(let b of a.doc)"dir"===b.stmt&&(c=b.value);return c},"getDir"),u=(0,i.__name)(function(a,b){return b.db.getClasses()},"getClasses"),v=(0,i.__name)(async function(a,b,c,j){i.log.info("REF0:"),i.log.info("Drawing class diagram (v3)",b);let{securityLevel:k,state:l,layout:m}=(0,h.getConfig2)();j.db.setDiagramId(b);let n=j.db.getData(),o=(0,d.getDiagramElement)(b,k);n.type=j.type,n.layoutAlgorithm=(0,f.getRegisteredLayoutAlgorithm)(m),n.nodeSpacing=l?.nodeSpacing||50,n.rankSpacing=l?.rankSpacing||50,n.markers=["aggregation","extension","composition","dependency","lollipop"],n.diagramId=b,await (0,f.render)(n,o),g.utils_default.insertTitle(o,"classDiagramTitleText",l?.titleTopMargin??25,j.db.getDiagramTitle()),(0,e.setupViewPortForSVG)(o,8,"classDiagram",l?.useMaxWidth??!0)},"draw");a.s(["ClassDB",0,r,"classDiagram_default",0,l,"classRenderer_v3_unified_default",0,{getClasses:u,draw:v,getDir:t},"styles_default",0,s])}];
|
|
202
202
|
|
|
203
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-
|
|
203
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-727SXJPM_mjs_0a9kagr._.js.map
|
|
@@ -225,4 +225,4 @@ g.stateGroup line {
|
|
|
225
225
|
}
|
|
226
226
|
`,"getStyles");a.s(["StateDB",0,_,"stateDiagram_default",0,h,"stateRenderer_v3_unified_default",0,{getClasses:J,draw:K,getDir:I},"styles_default",0,aa])}];
|
|
227
227
|
|
|
228
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-
|
|
228
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-AQP2D5EJ_mjs_1p-51mn._.js.map
|
|
@@ -118,4 +118,4 @@ module.exports=[685227,770994,362394,304451,21288,524703,526987,155177,737132,a=
|
|
|
118
118
|
${b}
|
|
119
119
|
`},"getStyles"),b5=(0,e.__name)((a,b)=>{void 0!==b&&(b2[a]=b)},"addStylesForDiagram"),b6={};(0,e.__export)(b6,{clear:()=>cb,getAccDescription:()=>cf,getAccTitle:()=>cd,getDiagramTitle:()=>ch,setAccDescription:()=>ce,setAccTitle:()=>cc,setDiagramTitle:()=>cg});var b7="",b8="",b9="",ca=(0,e.__name)(a=>bH(a,br()),"sanitizeText"),cb=(0,e.__name)(()=>{b7="",b9="",b8=""},"clear"),cc=(0,e.__name)(a=>{b7=ca(a).replace(/^\s+/g,"")},"setAccTitle"),cd=(0,e.__name)(()=>b7,"getAccTitle"),ce=(0,e.__name)(a=>{b9=ca(a).replace(/\n\s+/g,"\n")},"setAccDescription"),cf=(0,e.__name)(()=>b9,"getAccDescription"),cg=(0,e.__name)(a=>{b8=ca(a)},"setDiagramTitle"),ch=(0,e.__name)(()=>b8,"getDiagramTitle"),ci=e.log,cj=e.setLogLevel,ck=(0,e.__name)(a=>bH(a,br()),"sanitizeText"),cl=(0,e.__name)(()=>b6,"getCommonDb"),cm={},cn=(0,e.__name)((a,b,c)=>{cm[a]&&ci.warn(`Diagram with id ${a} already registered. Overwriting.`),cm[a]=b,c&&aK(a,c),b5(a,b.styles),b.injectUtils?.(ci,cj,br,ck,b1,cl(),()=>{})},"registerDiagram"),co=(0,e.__name)(a=>{if(a in cm)return cm[a];throw new cp(a)},"getDiagram"),cp=class extends Error{static{(0,e.__name)(this,"DiagramNotFoundError")}constructor(a){super(`Diagram ${a} not found.`)}};a.s(["UnknownDiagramError",0,aG,"addDirective",0,bt,"assignWithDepth_default",0,aM,"calculateMathMLDimensions",0,bX,"clear",0,cb,"commonDb_exports",0,b6,"common_default",0,{getRows:bC,sanitizeText:bH,sanitizeTextOrArray:bI,hasBreaks:bJ,splitBreaks:bK,lineBreakRegex:bB,removeScript:bF,getUrl:bN,evaluate:bh,getMax:bO,getMin:bP},"configureSvgSize",0,b0,"cssStyleSheetToString",0,b3,"defaultConfig",0,bg,"defaultConfig2",0,bg,"defaultConfig_default",0,bb,"detectType",0,aI,"detectors",0,aH,"directiveRegex",0,aE,"evaluate",0,bh,"frontMatterRegex",0,aD,"getAccDescription",0,cf,"getAccTitle",0,cd,"getConfig",0,br,"getConfig2",0,br,"getDiagram",0,co,"getDiagramLoader",0,aL,"getDiagramTitle",0,ch,"getEffectiveHtmlLabels",0,bA,"getSiteConfig",0,bp,"getThemeVariables",0,aV,"getUrl",0,bN,"getUserDefinedConfig",0,bz,"hasKatex",0,bW,"lineBreakRegex",0,bB,"parseGenericTypes",0,bQ,"registerDiagram",0,cn,"registerLazyLoadedDiagrams",0,aJ,"renderKatexSanitized",0,bZ,"reset",0,bu,"sanitizeCss",0,bf,"sanitizeDirective",0,be,"sanitizeText",0,bH,"sanitizeText2",0,ck,"saveConfigFromInitialize",0,bn,"setAccDescription",0,ce,"setAccTitle",0,cc,"setConfig",0,bq,"setConfig2",0,bq,"setDiagramTitle",0,cg,"setSiteConfig",0,bm,"setupGraphViewbox",0,b1,"setupGraphViewbox2",0,b1,"styles_default",0,b4,"themes_default",0,a9,"updateSiteConfig",0,bo],685227)}];
|
|
120
120
|
|
|
121
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-
|
|
121
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-CSCIHK7Q_mjs_0savw5-._.js.map
|
|
@@ -9,4 +9,4 @@ module.exports=[273701,a=>{"use strict";var b=a.i(130905),c=a.i(921003),d=a.i(36
|
|
|
9
9
|
M20,10
|
|
10
10
|
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),ao={extension:W,composition:X,aggregation:Y,dependency:Z,lollipop:$,point:_,circle:aa,cross:ab,barb:ac,barbNeo:ad,only_one:ae,zero_or_one:af,one_or_more:ag,zero_or_more:ah,only_one_neo:ai,zero_or_one_neo:aj,one_or_more_neo:ak,zero_or_more_neo:al,requirement_arrow:am,requirement_contains:(0,i.__name)((a,b,c)=>{let d=a.append("defs").append("marker").attr("id",c+"_"+b+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");d.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),d.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),d.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),requirement_arrow_neo:an,requirement_contains_neo:(0,i.__name)((a,b,c)=>{let{themeVariables:d}=(0,h.getConfig)(),{strokeWidth:e}=d,f=a.append("defs").append("marker").attr("id",c+"_"+b+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");f.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),f.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),f.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),f.selectAll("*").attr("stroke-width",`${e}`)},"requirement_contains_neo")};a.s(["clear",0,F,"insertEdge",0,R,"insertEdgeLabel",0,H,"markers_default",0,V,"positionEdgeLabel",0,J])}];
|
|
11
11
|
|
|
12
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-
|
|
12
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-KSCS5N6A_mjs_1vk17qr._.js.map
|
|
@@ -59,4 +59,4 @@ ${a}</tr>
|
|
|
59
59
|
`+this.renderer.text(f);b?c+=this.renderer.paragraph({type:"paragraph",raw:g,text:g,tokens:[{type:"text",raw:g,text:g,escaped:!0}]}):c+=g;continue}default:{let a='Token with "'+e.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw Error(a)}}}return c}parseInline(a,b=this.renderer){let c="";for(let d=0;d<a.length;d++){let e=a[d];if(this.options.extensions?.renderers?.[e.type]){let a=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==a||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(e.type)){c+=a||"";continue}}switch(e.type){case"escape":case"text":c+=b.text(e);break;case"html":c+=b.html(e);break;case"link":c+=b.link(e);break;case"image":c+=b.image(e);break;case"strong":c+=b.strong(e);break;case"em":c+=b.em(e);break;case"codespan":c+=b.codespan(e);break;case"br":c+=b.br(e);break;case"del":c+=b.del(e);break;default:{let a='Token with "'+e.type+'" type was not found.';if(this.options.silent)return console.error(a),"";throw Error(a)}}}return c}},aD=class{options;block;constructor(a){this.options=a||t}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(a){return a}postprocess(a){return a}processAllTokens(a){return a}emStrongMask(a){return a}provideLexer(){return this.block?az.lex:az.lexInline}provideParser(){return this.block?aC.parse:aC.parseInline}},aE=new class{defaults=s();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=aC;Renderer=aA;TextRenderer=aB;Lexer=az;Tokenizer=ay;Hooks=aD;constructor(...a){this.use(...a)}walkTokens(a,b){let c=[];for(let d of a)switch(c=c.concat(b.call(this,d)),d.type){case"table":for(let a of d.header)c=c.concat(this.walkTokens(a.tokens,b));for(let a of d.rows)for(let d of a)c=c.concat(this.walkTokens(d.tokens,b));break;case"list":c=c.concat(this.walkTokens(d.items,b));break;default:{let a=d;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(d=>{let e=a[d].flat(1/0);c=c.concat(this.walkTokens(e,b))}):a.tokens&&(c=c.concat(this.walkTokens(a.tokens,b)))}}return c}use(...a){let b=this.defaults.extensions||{renderers:{},childTokens:{}};return a.forEach(a=>{let c={...a};if(c.async=this.defaults.async||c.async||!1,a.extensions&&(a.extensions.forEach(a=>{if(!a.name)throw Error("extension name required");if("renderer"in a){let c=b.renderers[a.name];c?b.renderers[a.name]=function(...b){let d=a.renderer.apply(this,b);return!1===d&&(d=c.apply(this,b)),d}:b.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||"block"!==a.level&&"inline"!==a.level)throw Error("extension level must be 'block' or 'inline'");let c=b[a.level];c?c.unshift(a.tokenizer):b[a.level]=[a.tokenizer],a.start&&("block"===a.level?b.startBlock?b.startBlock.push(a.start):b.startBlock=[a.start]:"inline"===a.level&&(b.startInline?b.startInline.push(a.start):b.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(b.childTokens[a.name]=a.childTokens)}),c.extensions=b),a.renderer){let b=this.defaults.renderer||new aA(this.defaults);for(let c in a.renderer){if(!(c in b))throw Error(`renderer '${c}' does not exist`);if(["options","parser"].includes(c))continue;let d=a.renderer[c],e=b[c];b[c]=(...a)=>{let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c||""}}c.renderer=b}if(a.tokenizer){let b=this.defaults.tokenizer||new ay(this.defaults);for(let c in a.tokenizer){if(!(c in b))throw Error(`tokenizer '${c}' does not exist`);if(["options","rules","lexer"].includes(c))continue;let d=a.tokenizer[c],e=b[c];b[c]=(...a)=>{let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c}}c.tokenizer=b}if(a.hooks){let b=this.defaults.hooks||new aD;for(let c in a.hooks){if(!(c in b))throw Error(`hook '${c}' does not exist`);if(["options","block"].includes(c))continue;let d=a.hooks[c],e=b[c];aD.passThroughHooks.has(c)?b[c]=a=>{if(this.defaults.async&&aD.passThroughHooksRespectAsync.has(c))return(async()=>{let c=await d.call(b,a);return e.call(b,c)})();let f=d.call(b,a);return e.call(b,f)}:b[c]=(...a)=>{if(this.defaults.async)return(async()=>{let c=await d.apply(b,a);return!1===c&&(c=await e.apply(b,a)),c})();let c=d.apply(b,a);return!1===c&&(c=e.apply(b,a)),c}}c.hooks=b}if(a.walkTokens){let b=this.defaults.walkTokens,d=a.walkTokens;c.walkTokens=function(a){let c=[];return c.push(d.call(this,a)),b&&(c=c.concat(b.call(this,a))),c}}this.defaults={...this.defaults,...c}}),this}setOptions(a){return this.defaults={...this.defaults,...a},this}lexer(a,b){return az.lex(a,b??this.defaults)}parser(a,b){return aC.parse(a,b??this.defaults)}parseMarkdown(a){return(b,c)=>{let d={...c},e={...this.defaults,...d},f=this.onError(!!e.silent,!!e.async);if(!0===this.defaults.async&&!1===d.async)return f(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof b>"u"||null===b)return f(Error("marked(): input parameter is undefined or null"));if("string"!=typeof b)return f(Error("marked(): input parameter is of type "+Object.prototype.toString.call(b)+", string expected"));if(e.hooks&&(e.hooks.options=e,e.hooks.block=a),e.async)return(async()=>{let c=e.hooks?await e.hooks.preprocess(b):b,d=await (e.hooks?await e.hooks.provideLexer():a?az.lex:az.lexInline)(c,e),f=e.hooks?await e.hooks.processAllTokens(d):d;e.walkTokens&&await Promise.all(this.walkTokens(f,e.walkTokens));let g=await (e.hooks?await e.hooks.provideParser():a?aC.parse:aC.parseInline)(f,e);return e.hooks?await e.hooks.postprocess(g):g})().catch(f);try{e.hooks&&(b=e.hooks.preprocess(b));let c=(e.hooks?e.hooks.provideLexer():a?az.lex:az.lexInline)(b,e);e.hooks&&(c=e.hooks.processAllTokens(c)),e.walkTokens&&this.walkTokens(c,e.walkTokens);let d=(e.hooks?e.hooks.provideParser():a?aC.parse:aC.parseInline)(c,e);return e.hooks&&(d=e.hooks.postprocess(d)),d}catch(a){return f(a)}}}onError(a,b){return c=>{if(c.message+=`
|
|
60
60
|
Please report this to https://github.com/markedjs/marked.`,a){let a="<p>An error occurred:</p><pre>"+at(c.message+"",!0)+"</pre>";return b?Promise.resolve(a):a}if(b)return Promise.reject(c);throw c}}};function aF(a,b){return aE.parse(a,b)}function aG(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];var d=Array.from("string"==typeof a?[a]:a);d[d.length-1]=d[d.length-1].replace(/\r?\n([\t ]*)$/,"");var e=d.reduce(function(a,b){var c=b.match(/\n([\t ]+|(?!\s).)/g);return c?a.concat(c.map(function(a){var b,c;return null!=(c=null==(b=a.match(/[\t ]/g))?void 0:b.length)?c:0})):a},[]);if(e.length){var f=RegExp("\n[ ]{"+Math.min.apply(Math,e)+"}","g");d=d.map(function(a){return a.replace(f,"\n")})}d[0]=d[0].replace(/^\r?\n/,"");var g=d[0];return b.forEach(function(a,b){var c=g.match(/(?:^|\n)( *)$/),e=c?c[1]:"",f=a;"string"==typeof a&&a.includes("\n")&&(f=String(a).split("\n").map(function(a,b){return 0===b?a:""+e+a}).join("\n")),g+=f+d[b+1]}),g}aF.options=aF.setOptions=function(a){return aE.setOptions(a),aF.defaults=aE.defaults,t=aF.defaults,aF},aF.getDefaults=s,aF.defaults=t,aF.use=function(...a){return aE.use(...a),aF.defaults=aE.defaults,t=aF.defaults,aF},aF.walkTokens=function(a,b){return aE.walkTokens(a,b)},aF.parseInline=aE.parseInline,aF.Parser=aC,aF.parser=aC.parse,aF.Renderer=aA,aF.TextRenderer=aB,aF.Lexer=az,aF.lexer=az.lex,aF.Tokenizer=ay,aF.Hooks=aD,aF.parse=aF,aF.options,aF.setOptions,aF.use,aF.walkTokens,aF.parseInline,aC.parse,az.lex,a.s(["dedent",0,aG],554757);var aH={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},aI=new Map,aJ=new Map,aK=(0,d.__name)(a=>{for(let b of a){if(!b.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(d.log.debug("Registering icon pack:",b.name),"loader"in b)aJ.set(b.name,b.loader);else if("icons"in b)aI.set(b.name,b.icons);else throw d.log.error("Invalid icon loader:",b),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),aL=(0,d.__name)(async(a,b)=>{let c=((a,b,c,d="")=>{let e=a.split(":");if("@"===a.slice(0,1)){if(e.length<2||e.length>3)return null;d=e.shift().slice(1)}if(e.length>3||!e.length)return null;if(e.length>1){let a=e.pop(),c=e.pop(),f={provider:e.length>0?e[0]:d,prefix:c,name:a};return b&&!q(f)?null:f}let f=e[0],g=f.split("-");if(g.length>1){let a={provider:d,prefix:g.shift(),name:g.join("-")};return b&&!q(a)?null:a}if(c&&""===d){let a={provider:d,prefix:"",name:f};return b&&!q(a,c)?null:a}return null})(a,!0,void 0!==b);if(!c)throw Error(`Invalid icon name: ${a}`);let e=c.prefix||b;if(!e)throw Error(`Icon name must contain a prefix: ${a}`);let f=aI.get(e);if(!f){let a=aJ.get(e);if(!a)throw Error(`Icon set not found: ${c.prefix}`);try{f={...await a(),prefix:e},aI.set(e,f)}catch(a){throw d.log.error(a),Error(`Failed to load icon set: ${c.prefix}`)}}let g=function(a,b){var c;let d,e,f;if(a.icons[b])return j(a,b,[]);let g=(c=[b],d=a.icons,e=a.aliases||Object.create(null),f=Object.create(null),(c||Object.keys(d).concat(Object.keys(e))).forEach(function a(b){if(d[b])return f[b]=[];if(!(b in f)){f[b]=null;let c=e[b]&&e[b].parent,d=c&&a(c);d&&(f[b]=[c].concat(d))}return f[b]}),f)[b];return g?j(a,b,g):null}(f,c.name);if(!g)throw Error(`Icon not found: ${a}`);return g},"getRegisteredIconData"),aM=(0,d.__name)(async a=>{try{return await aL(a),!0}catch{return!1}},"isIconAvailable"),aN=(0,d.__name)(async(a,b,e)=>{var f;let h,i,j,l,m,q,r,s,t,u,v,w,x,y;try{h=await aL(a,b?.fallbackPrefix)}catch(a){d.log.error(a),h=aH}let z=(f=h,l={...g,...f},m={...k,...b},q={left:l.left,top:l.top,width:l.width,height:l.height},r=l.body,[l,m].forEach(a=>{var b,c,d,e;let f,g,h=[],i=a.hFlip,j=a.vFlip,k=a.rotate;switch(i?j?k+=2:(h.push("translate("+(q.width+q.left).toString()+" "+(0-q.top).toString()+")"),h.push("scale(-1 1)"),q.top=q.left=0):j&&(h.push("translate("+(0-q.left).toString()+" "+(q.height+q.top).toString()+")"),h.push("scale(1 -1)"),q.top=q.left=0),k<0&&(k-=4*Math.floor(k/4)),k%=4){case 1:h.unshift("rotate(90 "+(f=q.height/2+q.top).toString()+" "+f.toString()+")");break;case 2:h.unshift("rotate(180 "+(q.width/2+q.left).toString()+" "+(q.height/2+q.top).toString()+")");break;case 3:h.unshift("rotate(-90 "+(f=q.width/2+q.left).toString()+" "+f.toString()+")")}k%2==1&&(q.left!==q.top&&(f=q.left,q.left=q.top,q.top=f),q.width!==q.height&&(f=q.width,q.width=q.height,q.height=f)),h.length&&(b=r,c='<g transform="'+h.join(" ")+'">',d=(g=function(a,b="defs"){let c="",d=a.indexOf("<"+b);for(;d>=0;){let e=a.indexOf(">",d),f=a.indexOf("</"+b);if(-1===e||-1===f)break;let g=a.indexOf(">",f);if(-1===g)break;c+=a.slice(e+1,f).trim(),a=a.slice(0,d).trim()+a.slice(g+1)}return{defs:c,content:a}}(b)).defs,e=c+g.content+"</g>",r=d?"<defs>"+d+"</defs>"+e:e)}),s=m.width,t=m.height,u=q.width,v=q.height,null===s?i=n(j=null===t?"1em":"auto"===t?v:t,u/v):(i="auto"===s?u:s,j=null===t?n(i,v/u):"auto"===t?v:t),w={},(x=(a,b)=>{"unset"!==b&&"undefined"!==b&&"none"!==b&&(w[a]=b.toString())})("width",i),x("height",j),w.viewBox=(y=[q.left,q.top,u,v]).join(" "),{attributes:w,viewBox:y,body:r}),A=function(a,b){let c=-1===a.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let a in b)c+=" "+a+'="'+b[a]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+c+">"+a+"</svg>"}(function(a){let b,c=[];for(;b=o.exec(a);)c.push(b[1]);if(!c.length)return a;let d="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return c.forEach(b=>{var c;let e,f=(c=(c=b).replace(/[0-9]+$/,"")||"a",e=p.get(c)||0,p.set(c,e+1),e?`${c}${e}`:c),g=b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");a=a.replace(RegExp('([#;"])('+g+')([")]|\\.[a-z])',"g"),"$1"+f+d+"$3")}),a=a.replace(RegExp(d,"g"),"")}(z.body),{...z.attributes,...e});return(0,c.sanitizeText)(A,(0,c.getConfig)())},"getIconSVG");function aO(a,{markdownAutoWrap:b}){return aG(a.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n"))}function aP(a){return a.split(/\\n|\n|<br\s*\/?>/gi).map(a=>a.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(a=>({content:a,type:"normal"}))??[])}function aQ(a,b={}){let c=aO(a,b),e=aF.lexer(c),f=[[]],g=0;function h(a,b="normal"){"text"===a.type?a.text.split("\n").forEach((a,c)=>{0!==c&&(g++,f.push([])),a.split(" ").forEach(a=>{(a=a.replace(/'/g,"'"))&&f[g].push({content:a,type:b})})}):"strong"===a.type||"em"===a.type?a.tokens.forEach(b=>{h(b,a.type)}):"html"===a.type&&f[g].push({content:a.text,type:"normal"})}return(0,d.__name)(h,"processNode"),e.forEach(a=>{"paragraph"===a.type?a.tokens?.forEach(a=>{h(a)}):"html"===a.type?f[g].push({content:a.text,type:"normal"}):f[g].push({content:a.raw,type:"normal"})}),f}function aR(a){return a?`<p>${a.replace(/\\n|\n/g,"<br />")}</p>`:""}function aS(a,{markdownAutoWrap:b}={}){let c=aF.lexer(a);function e(a){if("text"===a.type)return!1===b?a.text.replace(/\n */g,"<br/>").replace(/ /g," "):a.text.replace(/\n */g,"<br/>");if("strong"===a.type)return`<strong>${a.tokens?.map(e).join("")}</strong>`;if("em"===a.type)return`<em>${a.tokens?.map(e).join("")}</em>`;if("paragraph"===a.type)return`<p>${a.tokens?.map(e).join("")}</p>`;if("space"===a.type)return"";else if("html"===a.type)return`${a.text}`;else if("escape"===a.type)return a.text;return d.log.warn(`Unsupported markdown: ${a.type}`),a.raw}return(0,d.__name)(e,"output"),c.map(e).join("")}function aT(a){return Intl.Segmenter?[...new Intl.Segmenter().segment(a)].map(a=>a.segment):[...a]}function aU(a,b){return aV(a,[],aT(b.content),b.type)}function aV(a,b,c,d){if(0===c.length)return[{content:b.join(""),type:d},{content:"",type:d}];let[e,...f]=c,g=[...b,e];return a([{content:g.join(""),type:d}])?aV(a,g,f,d):(0===b.length&&e&&(b.push(e),c.shift()),[{content:b.join(""),type:d},{content:c.join(""),type:d}])}function aW(a,b){if(a.some(({content:a})=>a.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return aX(a,b)}function aX(a,b,c=[],d=[]){if(0===a.length)return d.length>0&&c.push(d),c.length>0?c:[];let e="";" "===a[0].content&&(e=" ",a.shift());let f=a.shift()??{content:" ",type:"normal"},g=[...d];if(""!==e&&g.push({content:e,type:"normal"}),g.push(f),b(g))return aX(a,b,c,g);if(d.length>0)c.push(d),a.unshift(f);else if(f.content){let[d,e]=aU(b,f);c.push([d]),e.content&&a.unshift(e)}return aX(a,b,c)}function aY(a,b){b&&a.attr("style",b)}async function aZ(a,b,d,e,f=!1,g=(0,c.getConfig)()){let h=a.append("foreignObject");h.attr("width",`${Math.min(10*d,16384)}px`),h.attr("height",`${Math.min(10*d,16384)}px`);let i=h.append("xhtml:div"),j=(0,c.hasKatex)(b.label)?await (0,c.renderKatexSanitized)(b.label.replace(c.common_default.lineBreakRegex,"\n"),g):(0,c.sanitizeText)(b.label,g),k=b.isNode?"nodeLabel":"edgeLabel",l=i.append("span");l.html(j),aY(l,b.labelStyle),l.attr("class",`${k} ${e}`),aY(i,b.labelStyle),i.style("display","table-cell"),i.style("white-space","nowrap"),i.style("line-height","1.5"),d!==1/0&&(i.style("max-width",d+"px"),i.style("text-align","center")),i.attr("xmlns","http://www.w3.org/1999/xhtml"),f&&i.attr("class","labelBkg");let m=i.node().getBoundingClientRect();return m.width===d&&(i.style("display","table"),i.style("white-space","break-spaces"),i.style("width",d+"px"),m=i.node().getBoundingClientRect()),h.node()}function a$(a,b,c,d=!1){let e=a.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",b*c-.1+"em").attr("dy",c+"em");return d&&e.attr("text-anchor","middle"),e}function a_(a,b,c){let d=a.append("text"),e=a$(d,1,b);a3(e,c);let f=e.node().getComputedTextLength();return d.remove(),f}function a0(a,b,c){let d=a.append("text"),e=a$(d,1,b);a3(e,[{content:c,type:"normal"}]);let f=e.node()?.getBoundingClientRect();return f&&d.remove(),f}function a1(a,b,c,e=!1,f=!1){let g=b.append("g"),h=g.insert("rect").attr("class","background").attr("style","stroke: none"),i=g.append("text").attr("y","-10.1");f&&i.attr("text-anchor","middle");let j=0;for(let b of c){let c=(0,d.__name)(b=>a_(g,1.1,b)<=a,"checkWidth");for(let a of c(b)?[b]:aW(b,c))a3(a$(i,j,1.1,f),a),j++}if(!e)return i.node();{let a=i.node().getBBox();return h.attr("x",a.x-2).attr("y",a.y-2).attr("width",a.width+4).attr("height",a.height+4),g.node()}}function a2(a){return a.replace(/&(amp|lt|gt);/g,(a,b)=>{switch(b){case"amp":return"&";case"lt":return"<";case"gt":return">";default:return a}})}function a3(a,b){a.text(""),b.forEach((b,c)=>{let d=a.append("tspan").attr("font-style","em"===b.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===b.type?"bold":"normal");0===c?d.text(a2(b.content)):d.text(" "+a2(b.content))})}async function a4(a,b={}){let d=[];a.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(a,e,f)=>(d.push((async()=>{let d=`${e}:${f}`;return await aM(d)?await aN(d,void 0,{class:"label-icon"}):`<i class='${(0,c.sanitizeText)(a,b).replace(":"," ")}'></i>`})()),a));let e=await Promise.all(d);return a.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>e.shift()??"")}(0,d.__name)(aO,"preprocessMarkdown"),(0,d.__name)(aP,"nonMarkdownToLines"),(0,d.__name)(aQ,"markdownToLines"),(0,d.__name)(aR,"nonMarkdownToHTML"),(0,d.__name)(aS,"markdownToHTML"),(0,d.__name)(aT,"splitTextToChars"),(0,d.__name)(aU,"splitWordToFitWidth"),(0,d.__name)(aV,"splitWordToFitWidthRecursion"),(0,d.__name)(aW,"splitLineToFitWidth"),(0,d.__name)(aX,"splitLineToFitWidthRecursion"),(0,d.__name)(aY,"applyStyle"),(0,d.__name)(aZ,"addHtmlSpan"),(0,d.__name)(a$,"createTspan"),(0,d.__name)(a_,"computeWidthOfText"),(0,d.__name)(a0,"computeDimensionOfText"),(0,d.__name)(a1,"createFormattedText"),(0,d.__name)(a2,"decodeHTMLEntities"),(0,d.__name)(a3,"updateTextContentAndStyles"),(0,d.__name)(a4,"replaceIconSubstring");var a5=(0,d.__name)(async(a,e="",{style:f="",isTitle:g=!1,classes:h="",useHtmlLabels:i=!0,markdown:j=!0,isNode:k=!0,width:l=200,addSvgBackground:m=!1}={},n)=>{if(d.log.debug("XYZ createText",e,f,g,h,i,k,"addSvgBackground: ",m),i){let d=j?aS(e,n):aR(e),g=await a4((0,b.decodeEntities)(d),n),i=e.replace(/\\\\/g,"\\"),o={isNode:k,label:(0,c.hasKatex)(e)?i:g,labelStyle:f.replace("fill:","color:")};return await aZ(a,o,l,h,m,n)}{let c=(0,b.decodeEntities)(e.replace(/<br\s*\/?>/g,"<br/>")),d=a1(l,a,j?aQ(c.replace("<br>","<br/>"),n):aP(c),!!e&&m,!k);if(k){/stroke:/.exec(f)&&(f=f.replace("stroke:","lineColor:"));let a=f.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,r.select)(d).attr("style",a)}else{let a=f.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,r.select)(d).select("rect").attr("style",a.replace(/background:/g,"fill:"));let b=f.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,r.select)(d).select("text").attr("style",b)}return g?(0,r.select)(d).selectAll("tspan.text-outer-tspan").classed("title-row",!0):(0,r.select)(d).selectAll("tspan.text-outer-tspan").classed("row",!0),d}},"createText");a.s(["computeDimensionOfText",0,a0,"createText",0,a5,"getIconSVG",0,aN,"registerIconPacks",0,aK,"unknownIcon",0,aH],248916)}];
|
|
61
61
|
|
|
62
|
-
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-
|
|
62
|
+
//# sourceMappingURL=node_modules_mermaid_dist_chunks_mermaid_core_chunk-O5CBEL6O_mjs_074844c._.js.map
|