@nodefony/studio 10.0.0-beta.5 → 10.0.0-beta.6
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/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/decorate.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.155.0 → _@oxc-project_runtime@0.157.0}/helpers/esm/decorateParam.js +1 -1
- package/dist/frontend/assets/Accordion-ALba5ICd.js +1 -0
- package/dist/frontend/assets/ActionsLiveGraph-BByMDQ8p.js +1 -0
- package/dist/frontend/assets/AgentsPreview-qzmyxcol.js +12 -0
- package/dist/frontend/assets/ApiKeys-D2Di4HS3.js +2 -0
- package/dist/frontend/assets/ArchitectureLiveGraph-B6IuvK3P.js +1 -0
- package/dist/frontend/assets/Audit-B_Y8xC-6.js +1 -0
- package/dist/frontend/assets/BackplaneLiveGraph-BNBq8vxo.js +1 -0
- package/dist/frontend/assets/Breadcrumbs-CMlMMkgY.js +1 -0
- package/dist/frontend/assets/BrickStoreChip-CA_GfR1O.js +1 -0
- package/dist/frontend/assets/Chat-zFVRIlFd.js +1 -0
- package/dist/frontend/assets/Chip-LuHDMUZa.js +1 -0
- package/dist/frontend/assets/Cluster-CV4F6rSr.js +1 -0
- package/dist/frontend/assets/Collapse-BJqaENVr.js +1 -0
- package/dist/frontend/assets/ConfigPage-Cm7pRkQh.js +1 -0
- package/dist/frontend/assets/ConnectorCard-Cbg_g5Du.js +11 -0
- package/dist/frontend/assets/Create-B0PlzeBP.js +2 -0
- package/dist/frontend/assets/DashboardSupervision-DF7InKb9.js +1 -0
- package/dist/frontend/assets/Database-DBb4gwPi.js +1 -0
- package/dist/frontend/assets/{DbLogo-DnsxrIuK.js → DbLogo-7aV10wM_.js} +1 -1
- package/dist/frontend/assets/Documentation-CdwQjy33.js +1 -0
- package/dist/frontend/assets/FanOutLiveGraph-D5IOJSwh.js +1 -0
- package/dist/frontend/assets/Firewall-CtFZmQ_M.js +1 -0
- package/dist/frontend/assets/GatewayPreview-CsYp5iZJ.js +1 -0
- package/dist/frontend/assets/IconAdjustmentsAlt-Caz_R5bs.js +1 -0
- package/dist/frontend/assets/{IconAdjustmentsHorizontal-Cl0HIZIL.js → IconAdjustmentsHorizontal-CM1uG9KB.js} +1 -1
- package/dist/frontend/assets/IconAffiliate-CvqXvNrd.js +1 -0
- package/dist/frontend/assets/IconApi-3qAL5Yjr.js +1 -0
- package/dist/frontend/assets/{IconAppWindow-Bs58vZIt.js → IconAppWindow-Bnx8TK6W.js} +1 -1
- package/dist/frontend/assets/{IconApps-65-UAwsK.js → IconApps-bjEy2ZUX.js} +1 -1
- package/dist/frontend/assets/IconArchive-CmF90Nz1.js +1 -0
- package/dist/frontend/assets/{IconArrowDown-D9YrjBsl.js → IconArrowDown-DSfqVBEf.js} +1 -1
- package/dist/frontend/assets/{IconArrowLeft-DfkbqW0P.js → IconArrowLeft-BjCZ9CEd.js} +1 -1
- package/dist/frontend/assets/{IconArrowUp-Wl2xauER.js → IconArrowUp-Bzx15XR8.js} +1 -1
- package/dist/frontend/assets/IconArrowsExchange-BKfT7cil.js +1 -0
- package/dist/frontend/assets/{IconArrowsSplit2-C9n20g2v.js → IconArrowsSplit2-BMuFjeYp.js} +1 -1
- package/dist/frontend/assets/IconBan-FT1sWj-T.js +1 -0
- package/dist/frontend/assets/{IconBook-CeLncPbQ.js → IconBook-DKUWpOeJ.js} +1 -1
- package/dist/frontend/assets/IconBooks-DjcVIQ-S.js +1 -0
- package/dist/frontend/assets/IconBox-BAwdWaia.js +1 -0
- package/dist/frontend/assets/IconBrain-C6NOhqzz.js +1 -0
- package/dist/frontend/assets/{IconCircleCheck-Cev1g2jp.js → IconCircleCheck-EFWqFKav.js} +1 -1
- package/dist/frontend/assets/{IconCircleDot-iaW-20aN.js → IconCircleDot-4fPWGW9L.js} +1 -1
- package/dist/frontend/assets/IconCircuitResistor-CB_bM60O.js +1 -0
- package/dist/frontend/assets/{IconCode-Back6-pr.js → IconCode-IC42sjug.js} +1 -1
- package/dist/frontend/assets/{IconDeviceDesktop-Cjz_ZorW.js → IconDeviceDesktop-CRF_lI0H.js} +1 -1
- package/dist/frontend/assets/IconDevices-34oQmjaK.js +1 -0
- package/dist/frontend/assets/{IconDots-Uc12X1j1.js → IconDots-BOKu4rIh.js} +1 -1
- package/dist/frontend/assets/{IconDownload-TLEMvh4h.js → IconDownload-B_lX7WPe.js} +1 -1
- package/dist/frontend/assets/{IconEye-Bp3WBW_K.js → IconEye-Cbm-k8Mf.js} +1 -1
- package/dist/frontend/assets/{IconFile-D_IwbZbP.js → IconFile-DAR2pS88.js} +1 -1
- package/dist/frontend/assets/{IconFolder-TW06P_HX.js → IconFolder-DZtY_4Ju.js} +1 -1
- package/dist/frontend/assets/{IconGitBranch-DfUYidP2.js → IconGitBranch-Du3OR1Qu.js} +1 -1
- package/dist/frontend/assets/{IconHandStop-BlYaZ8pd.js → IconHandStop-D5IEBW_F.js} +1 -1
- package/dist/frontend/assets/{IconHeartRateMonitor-CqXgvjmG.js → IconHeartRateMonitor-B0WTzq7p.js} +1 -1
- package/dist/frontend/assets/{IconHelpCircle-CNDr9FpE.js → IconHelpCircle-DK4LQvc5.js} +1 -1
- package/dist/frontend/assets/{IconLayoutGrid-B99HuO3B.js → IconLayoutGrid-Bjd-AbP0.js} +1 -1
- package/dist/frontend/assets/{IconListSearch-BkvbitIl.js → IconListSearch-oqmmW_-J.js} +1 -1
- package/dist/frontend/assets/{IconPackages-BCP9yEBr.js → IconPackages-CYbFqLBF.js} +1 -1
- package/dist/frontend/assets/{IconPencil-DcuxW7s6.js → IconPencil-CDLSZvLB.js} +1 -1
- package/dist/frontend/assets/{IconPlayerPause-BnZOaBnJ.js → IconPlayerPause-D5zFqzRA.js} +1 -1
- package/dist/frontend/assets/IconPlayerPlay-BuQoHMlG.js +1 -0
- package/dist/frontend/assets/{IconPlayerStop-0cIrjKL1.js → IconPlayerStop-Ceov1CKi.js} +1 -1
- package/dist/frontend/assets/IconPlus-wcOf2tpK.js +1 -0
- package/dist/frontend/assets/{IconPuzzle-BB3XWSJ3.js → IconPuzzle-vE8cqLR_.js} +1 -1
- package/dist/frontend/assets/{IconRecycle-Cs7uLh99.js → IconRecycle-C_twI1ht.js} +1 -1
- package/dist/frontend/assets/{IconSend-BiPxzhGo.js → IconSend-D_wHD_TM.js} +1 -1
- package/dist/frontend/assets/{IconServer2-CwKH5DuF.js → IconServer2-ZtG1_ODi.js} +1 -1
- package/dist/frontend/assets/{IconShieldOff-BtjbLiFI.js → IconShieldOff-D5UxWHhA.js} +1 -1
- package/dist/frontend/assets/{IconSitemap-DsC21r-y.js → IconSitemap-DDw0J5mh.js} +1 -1
- package/dist/frontend/assets/{IconStack2-Bi2TDP1d.js → IconStack2-jDW18idi.js} +1 -1
- package/dist/frontend/assets/{IconTerminal2-DWYhp77C.js → IconTerminal2-BUd47F6P.js} +1 -1
- package/dist/frontend/assets/{IconTool-CCYc3z_c.js → IconTool-B58Tttir.js} +1 -1
- package/dist/frontend/assets/{IconUserOff-BJroVvTi.js → IconUserOff-uhJAZPSA.js} +1 -1
- package/dist/frontend/assets/{IconWorld-DwwvBIep.js → IconWorld-CLmDLaDL.js} +1 -1
- package/dist/frontend/assets/KnowledgePreview-Dj3-LzX5.js +1 -0
- package/dist/frontend/assets/List-CECkvlG7.js +1 -0
- package/dist/frontend/assets/LlmProvidersPreview-B3b8uMwc.js +1 -0
- package/dist/frontend/assets/LogVisuals-rhO3Rnnr.js +1 -0
- package/dist/frontend/assets/Logs-CRND6dqr.js +1 -0
- package/dist/frontend/assets/McpPreview-BREhLzsz.js +1 -0
- package/dist/frontend/assets/MemoryPreview-CauqEca-.js +1 -0
- package/dist/frontend/assets/Migrations-mRqTP2yg.js +3 -0
- package/dist/frontend/assets/ModuleDetail-BwY-ROFd.js +1 -0
- package/dist/frontend/assets/Modules-D2PUGpQ7.js +1 -0
- package/dist/frontend/assets/OrmConnector-BMEtXO3H.js +1 -0
- package/dist/frontend/assets/OrmEntity-DvHPhtGy.js +1 -0
- package/dist/frontend/assets/OrmOverview-DtAyGUiC.js +1 -0
- package/dist/frontend/assets/OrmWorker-CzRyK20W.js +1 -0
- package/dist/frontend/assets/Playground-BJFpJxXF.js +1 -0
- package/dist/frontend/assets/ProbesLiveGraph-c31FHQM2.js +1 -0
- package/dist/frontend/assets/Profile-IJIE8V07.js +2 -0
- package/dist/frontend/assets/ProfileFields-Cq9vA8Ue.js +1 -0
- package/dist/frontend/assets/Progress-x0M71dKl.js +1 -0
- package/dist/frontend/assets/ProtocoleLiveGraph-Bka1_XFf.js +1 -0
- package/dist/frontend/assets/RealtimeConsole-BpVJhbUh.js +1 -0
- package/dist/frontend/assets/RingProgress-ByEC92W0.js +1 -0
- package/dist/frontend/assets/Roadmap-3qxA5Dl5.js +1 -0
- package/dist/frontend/assets/RoleSwitch-B5hdXz8L.js +1 -0
- package/dist/frontend/assets/Roles-CV7vVmqC.js +1 -0
- package/dist/frontend/assets/RoutesView-B-5vtPFV.js +1 -0
- package/dist/frontend/assets/Runtime-sp3mqqpQ.js +1 -0
- package/dist/frontend/assets/Sessions-Dv5uIszb.js +1 -0
- package/dist/frontend/assets/Skeleton-Co-k5bg6.js +1 -0
- package/dist/frontend/assets/Slider-DLr1BvW7.js +1 -0
- package/dist/frontend/assets/StoresView-6i0oYI0t.js +1 -0
- package/dist/frontend/assets/System-8KWu2xGf.js +1 -0
- package/dist/frontend/assets/TagsInput-DrkhRdPp.js +1 -0
- package/dist/frontend/assets/Textarea-Bwjmjqa0.js +1 -0
- package/dist/frontend/assets/Timeline-G0bEoS2W.js +1 -0
- package/dist/frontend/assets/TraceView-BRlpmJY-.js +1 -0
- package/dist/frontend/assets/Twin-DcBpuqwJ.js +1 -0
- package/dist/frontend/assets/TwinMap-DXVz_AWv.js +19 -0
- package/dist/frontend/assets/UserProfile-r96NX7gV.js +1 -0
- package/dist/frontend/assets/Users-ihZaRoqZ.js +1 -0
- package/dist/frontend/assets/VectorStoresPreview-eAR2-Lt7.js +1 -0
- package/dist/frontend/assets/Webhooks-BccR4L9R.js +1 -0
- package/dist/frontend/assets/Workspace-Su3OYXke.js +1 -0
- package/dist/frontend/assets/abnfDiagram-S7VZAUFO-BthwvKmL.js +1 -0
- package/dist/frontend/assets/aiPreviewParts-BTj_x25N.js +1 -0
- package/dist/frontend/assets/{apiKeysModel-Ds886u9a.js → apiKeysModel-BIHGwPUS.js} +1 -1
- package/dist/frontend/assets/{arc-Dkr_NqJg.js → arc-Y1ARJVZ4.js} +1 -1
- package/dist/frontend/assets/architecture-WOLXFQ4H-BQY4m_R3.js +1 -0
- package/dist/frontend/assets/architectureDiagram-YGSQEFNW-CtnMg3MY.js +36 -0
- package/dist/frontend/assets/auditFormat-iKBSSfyd.js +1 -0
- package/dist/frontend/assets/{auditModel-Btt_BBhB.js → auditModel-BvCxSmod.js} +1 -1
- package/dist/frontend/assets/blockDiagram-APKKGZFW-CsYeBrai.js +140 -0
- package/dist/frontend/assets/bpmnIcons-APHXDYXF-C0jbCElo.js +1 -0
- package/dist/frontend/assets/{c4Diagram-XDPPPE54-B4jELhYh.js → c4Diagram-KJ2TOQU5-C8bCU1bx.js} +8 -8
- package/dist/frontend/assets/{chunk-7S6XSTFO-DClaWD3h.js → chunk-6MUBBAK2-DAO7STBG.js} +1 -1
- package/dist/frontend/assets/chunk-AXFCVDMN-CqUINOI2.js +62 -0
- package/dist/frontend/assets/{chunk-DSNLSHJZ-BHcejTug.js → chunk-BG4553SI-BNzrATwc.js} +33 -33
- package/dist/frontend/assets/chunk-DQASFODM-DKUUI-Ih.js +10 -0
- package/dist/frontend/assets/chunk-HFQBQIA3--X-aj9KB.js +1 -0
- package/dist/frontend/assets/chunk-KQLB2F66-CuRVkU-t.js +2 -0
- package/dist/frontend/assets/{chunk-4EMNKR2T-DkjFLyKa.js → chunk-KS47KZWR-C3-zYwni.js} +1 -1
- package/dist/frontend/assets/chunk-LEVMRMFU-BeKJOfig.js +1 -0
- package/dist/frontend/assets/chunk-M57EVK23-Bs-aWYqL.js +1 -0
- package/dist/frontend/assets/{chunk-NGNAAXSQ-Bw6tHVuc.js → chunk-NGNAAXSQ-DI_UYJZ4.js} +1 -1
- package/dist/frontend/assets/{chunk-2E7WHVMD-CnHjZi31.js → chunk-OY52VR5R-DN8ejlQ6.js} +4 -4
- package/dist/frontend/assets/chunk-QB3YPZ4I-D5PEJqKj.js +213 -0
- package/dist/frontend/assets/chunk-R3KSYZAL-DFQRbzGi.js +1 -0
- package/dist/frontend/assets/{chunk-AQDTSKZB-BCzT2csB.js → chunk-STOXU5M4-BmVWLvxQ.js} +7 -7
- package/dist/frontend/assets/chunk-TU62E6Q5-BqRb4Syq.js +1 -0
- package/dist/frontend/assets/{chunk-UHW7PFBP-C4qGS7N6.js → chunk-X4PVCEUW-DBYVvmEP.js} +1 -1
- package/dist/frontend/assets/chunk-XXDRQBXY-KOTosY-t.js +1 -0
- package/dist/frontend/assets/{classDiagram-v2-4MYWR3UA-BYwKN_JS.js → classDiagram-v2-L25IHNXF-B0Tfsy9e.js} +9 -9
- package/dist/frontend/assets/configEdit-Dvwklp12.js +1 -0
- package/dist/frontend/assets/cose-bilkent-JH36ORCC-DI2bTSr6.js +1 -0
- package/dist/frontend/assets/cynefin-EF2NZ3EQ-e826ZIRH.js +1 -0
- package/dist/frontend/assets/{cynefinDiagram-WF24UDRP-BlblpBJN.js → cynefinDiagram-L36ESFBY-Clsv_gOI.js} +1 -1
- package/dist/frontend/assets/cytoscape.esm-DaJm_o37.js +321 -0
- package/dist/frontend/assets/dagre-SPEB5RXH-cY9dwpOY.js +4 -0
- package/dist/frontend/assets/dayjs.min-C79hm5sx.js +1 -0
- package/dist/frontend/assets/{diagram-TYUNFSNR-CHlQchf6.js → diagram-3B7GL73J-ZnBnQ4MO.js} +33 -33
- package/dist/frontend/assets/{diagram-I5XIIV2D-CzqjaT_Z.js → diagram-DNEMPZML-e0DwZ8iA.js} +1 -1
- package/dist/frontend/assets/{diagram-RJA3I4VV-awutgug0.js → diagram-L3MUGCDN-BzmymsEn.js} +2 -2
- package/dist/frontend/assets/diagram-LA4NIPWU-DhzeBEnk.js +24 -0
- package/dist/frontend/assets/diagram-MHCOC4E2-DqdCYbDY.js +3 -0
- package/dist/frontend/assets/{diagram-ODIL2UCW-DYG1ZHG2.js → diagram-XPFHEONP-B08RMyca.js} +6 -6
- package/dist/frontend/assets/dist-CumnGVmJ.js +1 -0
- package/dist/frontend/assets/ebnfDiagram-UZSYDL2S-BDZ2e7-2.js +1 -0
- package/dist/frontend/assets/elk-XV6XMXQE-CW1yMFnw.js +27 -0
- package/dist/frontend/assets/erDiagram-EYBAPDEH-BqxJrPVs.js +99 -0
- package/dist/frontend/assets/{eventFlow-B3Lx-Ogd.js → eventFlow-B9uJqrQa.js} +1 -1
- package/dist/frontend/assets/eventmodeling-K75KTNOO-CEasMmJe.js +1 -0
- package/dist/frontend/assets/flowDiagram-MALGAFMO-B3gkB--g.js +1 -0
- package/dist/frontend/assets/ganttDiagram-23REXITY-Bx0HX2-D.js +292 -0
- package/dist/frontend/assets/gitGraph-VSP46ZUC-CbeGPPjU.js +1 -0
- package/dist/frontend/assets/{gitGraphDiagram-PDYL7XHY-wE75QFTm.js → gitGraphDiagram-STJD7YCW-CQ6BpT59.js} +6 -6
- package/dist/frontend/assets/{health-DFLTZnXO.js → health-56mWKiAZ.js} +1 -1
- package/dist/frontend/assets/hooks-DvZDRNGz.js +1 -0
- package/dist/frontend/assets/index-ByGs708T.js +28 -0
- package/dist/frontend/assets/{index-BrRxCdie.css → index-C4TOHTro.css} +1 -1
- package/dist/frontend/assets/info-OHQRW6UA-BxUXUAFn.js +1 -0
- package/dist/frontend/assets/infoDiagram-KBXO4MBG-gSPqmMVx.js +2 -0
- package/dist/frontend/assets/{ishikawaDiagram-HPEHV2GE-XUL4r_qi.js → ishikawaDiagram-M35NCXHK-CAtetruZ.js} +6 -6
- package/dist/frontend/assets/journeyDiagram-OPLOXDXO-BNyh1MG4.js +139 -0
- package/dist/frontend/assets/{kanban-definition-FNSA4HC5-B4MXIgE0.js → kanban-definition-BZKZHSQY-rZvRpURc.js} +31 -31
- package/dist/frontend/assets/{katex-B_JcIwqj.js → katex-MEuSR36T.js} +1 -1
- package/dist/frontend/assets/line-DT9k40dN.js +1 -0
- package/dist/frontend/assets/linear-BUYtyba4.js +1 -0
- package/dist/frontend/assets/{logFormat-crJLA6Hd.js → logFormat-CcEvsf9s.js} +1 -1
- package/dist/frontend/assets/mermaid-parser.core-CgGwEebV.js +7 -0
- package/dist/frontend/assets/mermaid.core-B6xpe3Jr.js +44 -0
- package/dist/frontend/assets/{mindmap-definition-6OY57UG3-DzXLun_0.js → mindmap-definition-I2QAS2VK-BJbK0rgk.js} +11 -11
- package/dist/frontend/assets/{ormConnectorInsights-lP0jkfsV.js → ormConnectorInsights-Cb2YjiXI.js} +1 -1
- package/dist/frontend/assets/packet-JDAUHWVQ-B6zqkP5f.js +1 -0
- package/dist/frontend/assets/pegDiagram-FD4XPPHP-D1jS_bll.js +1 -0
- package/dist/frontend/assets/pie-XZMESJXO-Bvu_D5Uq.js +1 -0
- package/dist/frontend/assets/pieDiagram-J4AKIIQI-BqeADRiG.js +39 -0
- package/dist/frontend/assets/{preload-helper-BACSxGrM.js → preload-helper-Zb0SmQx3.js} +1 -1
- package/dist/frontend/assets/profileVisuals-Vkrgupl1.js +1 -0
- package/dist/frontend/assets/{quadrantDiagram-D57K4MC3-C1LjpFf-.js → quadrantDiagram-XTYBLID2-B5Td0X4i.js} +7 -7
- package/dist/frontend/assets/radar-ABXABTNO-B0U_pqol.js +1 -0
- package/dist/frontend/assets/railroad-I3PHUGI6-DitcXnXq.js +1 -0
- package/dist/frontend/assets/railroad-abnf-LNEFI6M7-BcDt2ZeV.js +1 -0
- package/dist/frontend/assets/railroad-ebnf-DWYD2UWJ-s_yk7_jm.js +1 -0
- package/dist/frontend/assets/railroad-peg-JR7BVNR7-CtT0gxKT.js +1 -0
- package/dist/frontend/assets/railroadDiagram-MRQ6NCDL-DxGiXmKa.js +1 -0
- package/dist/frontend/assets/realtimeHealth-ClmV7IKO.js +1 -0
- package/dist/frontend/assets/requirementDiagram-Y7LWUY3S-ipbahX4M.js +84 -0
- package/dist/frontend/assets/rolldown-runtime-COiEfhsA.js +1 -0
- package/dist/frontend/assets/{sankeyDiagram-SY24JHO5-e-LII4V6.js → sankeyDiagram-WGJFYUXA-uANor5GF.js} +7 -7
- package/dist/frontend/assets/sequenceDiagram-5NDRBG5M-DuithWYh.js +169 -0
- package/dist/frontend/assets/src-C_gRsKqw.js +1 -0
- package/dist/frontend/assets/src-CiSWvS1R.js +1 -0
- package/dist/frontend/assets/{stateDiagram-v2-A6IESKWZ-Cnz1jfoK.js → stateDiagram-v2-FJ4FJNEA-Bg90e_SA.js} +19 -19
- package/dist/frontend/assets/stores-BaEZ5-YP.js +1 -0
- package/dist/frontend/assets/swimlanes-UMQ2AFYF-DZeEcIW9.js +1 -0
- package/dist/frontend/assets/swimlanesDiagram-OMPLPG4O-40YMe2C5.js +8 -0
- package/dist/frontend/assets/timeline-definition-SEUHKTQE-Df_4IrHP.js +120 -0
- package/dist/frontend/assets/treeView-D4JQ5SDB-Bi7Lp2TZ.js +1 -0
- package/dist/frontend/assets/treemap-SAJKECNS-DFsoQutK.js +1 -0
- package/dist/frontend/assets/ui-BE5Z8gxu.js +323 -0
- package/dist/frontend/assets/useBlockSource-CteanNtO.js +1 -0
- package/dist/frontend/assets/useSocketLiveData-DCSQAUUz.js +1 -0
- package/dist/frontend/assets/{usecaseDiagram-WPOLBNNX-D1qB4ycj.js → usecaseDiagram-AFA6YXN4-BUyQPYP3.js} +59 -59
- package/dist/frontend/assets/usersFormat-DJmEzW8-.js +1 -0
- package/dist/frontend/assets/{value-Ds4WqiGU.js → value-CHmTzbgv.js} +1 -1
- package/dist/frontend/assets/vennDiagram-NNMJR3RB-DWurGDbi.js +34 -0
- package/dist/frontend/assets/wardley-7MLQ67FV-C49ynNLo.js +1 -0
- package/dist/frontend/assets/wardleyDiagram-S7YFUSEH-IkA7ATkO.js +78 -0
- package/dist/frontend/assets/{xychartDiagram-4URNHDU4-DU68Uiwb.js → xychartDiagram-GGNKY7IX-nAWXrVur.js} +7 -7
- package/dist/frontend/index.html +19 -9
- package/dist/index.js +5 -2
- package/dist/nodefony/controller/StudioController.js +18 -10
- package/dist/nodefony/controller/StudioCreateController.js +3 -3
- package/dist/nodefony/controller/StudioRealtimeController.js +65 -28
- package/dist/nodefony/realtime/providers.js +18 -5
- package/dist/nodefony/realtime/supervisionHistory.js +196 -0
- package/dist/nodefony/src/actionParams.js +63 -0
- package/dist/nodefony/src/studioAdminApi.js +35 -0
- package/dist/types/frontend/src/realtime/studioContract.d.ts +117 -0
- package/dist/types/frontend/src/routes/create/createModel.d.ts +428 -0
- package/dist/types/frontend/src/utils/guards.d.ts +33 -0
- package/dist/types/nodefony/controller/StudioController.d.ts +0 -28
- package/dist/types/nodefony/controller/StudioCreateController.d.ts +1 -1
- package/dist/types/nodefony/controller/StudioRealtimeController.d.ts +43 -14
- package/dist/types/nodefony/realtime/providers.d.ts +16 -1
- package/dist/types/nodefony/realtime/supervisionHistory.d.ts +60 -0
- package/dist/types/nodefony/src/actionParams.d.ts +51 -0
- package/dist/types/nodefony/src/studioAdminApi.d.ts +17 -0
- package/package.json +28 -28
- package/dist/frontend/assets/Accordion-B95T_jqd.js +0 -1
- package/dist/frontend/assets/ActionsLiveGraph-D3-4cU7L.js +0 -1
- package/dist/frontend/assets/AgentsPreview-jk8ZqKC0.js +0 -12
- package/dist/frontend/assets/ApiKeys-BsOVh9jZ.js +0 -2
- package/dist/frontend/assets/ArchitectureLiveGraph-DxdFansn.js +0 -1
- package/dist/frontend/assets/Audit-DN46ibNe.js +0 -1
- package/dist/frontend/assets/BackplaneLiveGraph-CO5_VjW2.js +0 -1
- package/dist/frontend/assets/Breadcrumbs-BIn6iL6M.js +0 -1
- package/dist/frontend/assets/BrickStoreChip-qSqdbJGs.js +0 -1
- package/dist/frontend/assets/Chat-CYSa6u-p.js +0 -1
- package/dist/frontend/assets/Chip-vBXuu2Pb.js +0 -1
- package/dist/frontend/assets/Cluster-OJGOgCyg.js +0 -1
- package/dist/frontend/assets/ConfigPage-BjzVG-6E.js +0 -1
- package/dist/frontend/assets/ConnectorCard-zvQhWOBu.js +0 -11
- package/dist/frontend/assets/Create-CTWnL96w.js +0 -2
- package/dist/frontend/assets/DashboardSupervision-CuO-q63s.js +0 -1
- package/dist/frontend/assets/Database-CiQgVd4R.js +0 -1
- package/dist/frontend/assets/Documentation-D7PIdZhA.js +0 -1
- package/dist/frontend/assets/FanOutLiveGraph-Dx91GfJH.js +0 -1
- package/dist/frontend/assets/Firewall-0tS7vsj8.js +0 -1
- package/dist/frontend/assets/IconBan-BpUuW2o7.js +0 -1
- package/dist/frontend/assets/IconCircuitResistor-BLDyvG8t.js +0 -1
- package/dist/frontend/assets/IconPlayerPlay-Dmu0_cO7.js +0 -1
- package/dist/frontend/assets/IconPlus-DJnai39n.js +0 -1
- package/dist/frontend/assets/KnowledgePreview-DD3gFPVj.js +0 -1
- package/dist/frontend/assets/List-CSxy5t8i.js +0 -1
- package/dist/frontend/assets/LlmProvidersPreview-BqcHOOz6.js +0 -1
- package/dist/frontend/assets/LogVisuals-BzU1XVTx.js +0 -1
- package/dist/frontend/assets/Logs-Biv9FSPR.js +0 -1
- package/dist/frontend/assets/McpPreview-yS6eWMSn.js +0 -1
- package/dist/frontend/assets/MemoryPreview-Di6W70HF.js +0 -1
- package/dist/frontend/assets/Migrations-3DzAGzE5.js +0 -3
- package/dist/frontend/assets/ModuleDetail-B3ddL_Ni.js +0 -1
- package/dist/frontend/assets/Modules-BjkwQo-M.js +0 -1
- package/dist/frontend/assets/OrmConnector-3ghomo2w.js +0 -1
- package/dist/frontend/assets/OrmEntity-CCgAuLJw.js +0 -1
- package/dist/frontend/assets/OrmOverview-DN4Oeaqi.js +0 -1
- package/dist/frontend/assets/OrmWorker-DVB3-CXZ.js +0 -1
- package/dist/frontend/assets/Playground-Dm51zhvM.js +0 -1
- package/dist/frontend/assets/ProbesLiveGraph-DguMpU4r.js +0 -1
- package/dist/frontend/assets/Profile-C5DZ3RBe.js +0 -2
- package/dist/frontend/assets/ProfileFields-CVd01diC.js +0 -1
- package/dist/frontend/assets/Progress-CBHZcl7M.js +0 -1
- package/dist/frontend/assets/ProtocoleLiveGraph-B3ylCzdY.js +0 -1
- package/dist/frontend/assets/RealtimeConsole-CifCD0gL.js +0 -1
- package/dist/frontend/assets/RingProgress-DG5R3qG5.js +0 -1
- package/dist/frontend/assets/Roadmap-N0SiFkET.js +0 -1
- package/dist/frontend/assets/RoleSwitch-DxxRjBDk.js +0 -1
- package/dist/frontend/assets/Roles-BoWhfMpG.js +0 -1
- package/dist/frontend/assets/RoutesView-D_jPoY8n.js +0 -1
- package/dist/frontend/assets/Runtime-B0KTrYTl.js +0 -1
- package/dist/frontend/assets/Sessions-DZNuM2pE.js +0 -1
- package/dist/frontend/assets/Skeleton-BPMtTBl8.js +0 -1
- package/dist/frontend/assets/StoresView-DwMaOetW.js +0 -1
- package/dist/frontend/assets/System-z6oDmzUd.js +0 -1
- package/dist/frontend/assets/TagsInput-DL4sudtP.js +0 -1
- package/dist/frontend/assets/Textarea-DxkrnirS.js +0 -1
- package/dist/frontend/assets/Timeline-C0f-zZ9I.js +0 -1
- package/dist/frontend/assets/TraceView-BMAOmZcO.js +0 -1
- package/dist/frontend/assets/Twin-ByLKTjbH.js +0 -19
- package/dist/frontend/assets/UserProfile-BWD1GuI6.js +0 -1
- package/dist/frontend/assets/Users-Cx-wNGfg.js +0 -1
- package/dist/frontend/assets/VectorStoresPreview-DU8fG7oS.js +0 -1
- package/dist/frontend/assets/Webhooks-CrpDmgYf.js +0 -1
- package/dist/frontend/assets/Workspace-CPYmh57b.js +0 -1
- package/dist/frontend/assets/abnfDiagram-WEYOIA3C-o6kZb03b.js +0 -1
- package/dist/frontend/assets/aiPreviewModel-CCdOgd0j.js +0 -2
- package/dist/frontend/assets/aiPreviewParts-DvLkNJZw.js +0 -1
- package/dist/frontend/assets/architecture-WOLXFQ4H-D0WVDySu.js +0 -1
- package/dist/frontend/assets/architectureDiagram-ZHVYKT53-D9lWKg5J.js +0 -36
- package/dist/frontend/assets/auditFormat-DkcEhB6E.js +0 -1
- package/dist/frontend/assets/blockDiagram-RJAE7QA3-WjPcOKRW.js +0 -140
- package/dist/frontend/assets/channel-bBINEAVx.js +0 -1
- package/dist/frontend/assets/chunk-55XCU76K-DX-SqoL7.js +0 -1
- package/dist/frontend/assets/chunk-HAGFOTED-BEnakj0Q.js +0 -62
- package/dist/frontend/assets/chunk-HNE4Q36P-u3A7JPIz.js +0 -1
- package/dist/frontend/assets/chunk-NQOKRVIF-C4CpPbjZ.js +0 -213
- package/dist/frontend/assets/chunk-VQ5W62QI-CD4iG1Ju.js +0 -1
- package/dist/frontend/assets/chunk-WQQL4CDK-BRd_O9U1.js +0 -10
- package/dist/frontend/assets/chunk-XXDRQBXY-r_aMXwAb.js +0 -1
- package/dist/frontend/assets/chunk-YZO67HFG-DYi_O4tF.js +0 -1
- package/dist/frontend/assets/chunk-ZAUX2LTX-F2xkI2IG.js +0 -1
- package/dist/frontend/assets/chunk-ZCHMQSOR-BLHSEC1D.js +0 -2
- package/dist/frontend/assets/configEdit-BUcR8Rdh.js +0 -1
- package/dist/frontend/assets/cose-bilkent-JH36ORCC-p6hKc9FM.js +0 -1
- package/dist/frontend/assets/cynefin-EF2NZ3EQ-3fMGJqpS.js +0 -1
- package/dist/frontend/assets/cytoscape.esm-CCmQRb78.js +0 -321
- package/dist/frontend/assets/dagre-NK4GIZVX-CHbXyXoH.js +0 -4
- package/dist/frontend/assets/dayjs.min-BnY7wTsz.js +0 -1
- package/dist/frontend/assets/diagram-CBK3MWTC-COexS5yt.js +0 -24
- package/dist/frontend/assets/diagram-PFBEJUXE-DHiPTpVh.js +0 -3
- package/dist/frontend/assets/dist-CNARAVwn.js +0 -1
- package/dist/frontend/assets/ebnfDiagram-V4P3TTPT-DDRnrPjS.js +0 -1
- package/dist/frontend/assets/elk-QONTBCTQ-DjqguIGM.js +0 -27
- package/dist/frontend/assets/erDiagram-KYQIGQAA-0Rq0qAP2.js +0 -99
- package/dist/frontend/assets/eventmodeling-K75KTNOO-Ci5ZysGc.js +0 -1
- package/dist/frontend/assets/flowDiagram-IUGLLWBU-Bd7ui4lC.js +0 -1
- package/dist/frontend/assets/ganttDiagram-R7GPNTJY-QmeRcBvv.js +0 -292
- package/dist/frontend/assets/gitGraph-VSP46ZUC-BNjGbs2Q.js +0 -1
- package/dist/frontend/assets/index-C96TEx9w.js +0 -28
- package/dist/frontend/assets/info-OHQRW6UA-AwuZMzCF.js +0 -1
- package/dist/frontend/assets/infoDiagram-MVDRKAX5-C0bjwO5A.js +0 -2
- package/dist/frontend/assets/journeyDiagram-BOSHW7O7-DOB7DGOm.js +0 -139
- package/dist/frontend/assets/line-GyWcPEv4.js +0 -1
- package/dist/frontend/assets/linear-DuXPlWP5.js +0 -1
- package/dist/frontend/assets/mermaid-parser.core-DuBc40Fk.js +0 -7
- package/dist/frontend/assets/mermaid.core-lhcUO7it.js +0 -44
- package/dist/frontend/assets/mobx-P4YDScON.js +0 -1
- package/dist/frontend/assets/packet-JDAUHWVQ-BO5uQF22.js +0 -1
- package/dist/frontend/assets/pegDiagram-ECIUJNBX-ZvDgYb9i.js +0 -1
- package/dist/frontend/assets/pie-XZMESJXO-BZrK7zKX.js +0 -1
- package/dist/frontend/assets/pieDiagram-GNMPY74T-CHFaZNK-.js +0 -39
- package/dist/frontend/assets/profileVisuals-DodchGbL.js +0 -1
- package/dist/frontend/assets/radar-ABXABTNO-DecCvP8c.js +0 -1
- package/dist/frontend/assets/railroad-I3PHUGI6-_iEZazdU.js +0 -1
- package/dist/frontend/assets/railroad-abnf-LNEFI6M7-CDs9xz8A.js +0 -1
- package/dist/frontend/assets/railroad-ebnf-DWYD2UWJ-OMA8rXBg.js +0 -1
- package/dist/frontend/assets/railroad-peg-JR7BVNR7-CahBRdoM.js +0 -1
- package/dist/frontend/assets/railroadDiagram-Y72NRBL7-Dffo1i5y.js +0 -1
- package/dist/frontend/assets/realtimeHealth-CEJDxl45.js +0 -1
- package/dist/frontend/assets/requirementDiagram-EQYSW5RA-C1QpRX4G.js +0 -84
- package/dist/frontend/assets/sequenceDiagram-BLEHNHQU-NnPkqGF3.js +0 -169
- package/dist/frontend/assets/src-3uYsZQ6M.js +0 -1
- package/dist/frontend/assets/src-99e5ryd8.js +0 -1
- package/dist/frontend/assets/stores-59plMWc-.js +0 -1
- package/dist/frontend/assets/swimlanes-B3ENRKFQ-Bk54DtP4.js +0 -1
- package/dist/frontend/assets/swimlanesDiagram-AYQRV4AK-DVvOf_w1.js +0 -8
- package/dist/frontend/assets/timeline-definition-JXYKGLGB-sa8408Jf.js +0 -120
- package/dist/frontend/assets/treeView-D4JQ5SDB-DVhp_E4d.js +0 -1
- package/dist/frontend/assets/treemap-SAJKECNS-Bxhpvb2A.js +0 -1
- package/dist/frontend/assets/ui-DL2XgTmu.js +0 -322
- package/dist/frontend/assets/useBlockSource-CTef4isR.js +0 -1
- package/dist/frontend/assets/useSocketLiveData-C39Aqu7R.js +0 -1
- package/dist/frontend/assets/usersFormat-yj2abAgj.js +0 -1
- package/dist/frontend/assets/vennDiagram-Q3Y3IDCW-0Yok6bqQ.js +0 -34
- package/dist/frontend/assets/wardley-7MLQ67FV-kuj23NGq.js +0 -1
- package/dist/frontend/assets/wardleyDiagram-IVAIDKWA-CdkJzHfw.js +0 -78
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import{w as e}from"./src-C_gRsKqw.js";import{t}from"./chunk-5VM5RSS4-ZNzvKenW.js";import{t as n}from"./chunk-XXDRQBXY-KOTosY-t.js";import{t as r}from"./chunk-TU62E6Q5-BqRb4Syq.js";import{i,n as a,r as o,t as s}from"./mermaid.core-B6xpe3Jr.js";import{t as c}from"./chunk-HFQBQIA3--X-aj9KB.js";import{h as l,r as u,s as d}from"./chunk-DQASFODM-DKUUI-Ih.js";import{a as f}from"./chunk-AXFCVDMN-CqUINOI2.js";import{i as p,n as m,o as h,r as g}from"./chunk-J5ZVWO5B-oDCd-gWO.js";import{_,c as ee}from"./chunk-6MUBBAK2-DAO7STBG.js";import{C as te,G as ne,H as v,U as y,_ as b,a as x,at as S,b as C,d as w,et as T,q as E,s as D,v as re}from"./chunk-BG4553SI-BNzrATwc.js";import{t as O}from"./src-CiSWvS1R.js";import{n as k}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";var ie=`flowchart-`,ae=[`laneRole`,`laneIndex`,`drawnExtent`];function A(e){if(!e||typeof e!=`object`)return e;let t={...e};for(let e of ae)Reflect.deleteProperty(t,e);return t}k(A,`withoutInternalKeys`);var j=class{constructor(){this.vertexCounter=0,this.config=C(),this.diagramId=``,this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=y,this.setAccDescription=v,this.setDiagramTitle=E,this.getAccTitle=re,this.getAccDescription=b,this.getDiagramTitle=te,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen(`gen-2`)}static{k(this,`FlowDB`)}sanitizeText(e){return D.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case`markdown`:case`string`:case`text`:return e;default:return`markdown`}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let t of this.vertices.values())if(t.id===e)return this.diagramId?`${this.diagramId}-${t.domId}`:t.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,t,n,r,i,o,c={},l){if(!e||e.trim().length===0)return;let u;if(l!==void 0){let e;e=l.includes(`
|
|
2
|
+
`)?l+`
|
|
3
|
+
`:`{
|
|
4
|
+
`+l+`
|
|
5
|
+
}`,u=A(a(e,{schema:s}))}let p=this.subGraphLookup.get(e);if(p&&u){Object.keys(u).length>0&&(p.metadata={...p.metadata,...u});return}let m=this.edges.find(t=>t.id===e);if(m){let t=u;t?.animate!==void 0&&(m.animate=t.animate),t?.animation!==void 0&&(m.animation=t.animation),t?.curve!==void 0&&(m.interpolate=t.curve),t?.step!==void 0&&(d(t)?m.step=t.step:O.warn(`Ignoring step on edge ${e}: expected a positive integer`,t.step));return}let h,g=this.vertices.get(e);if(g===void 0&&(t===void 0&&n===void 0&&r!=null&&O.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`),g={id:e,labelType:`text`,domId:ie+e+`-`+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,g)),this.vertexCounter++,t===void 0?g.text===void 0&&(g.text=e):(this.config=C(),h=this.sanitizeText(t.text.trim()),g.labelType=t.type,h.startsWith(`"`)&&h.endsWith(`"`)&&(h=h.substring(1,h.length-1)),g.text=h),n!==void 0&&(g.type=n),r?.forEach(e=>{g.styles.push(e)}),i?.forEach(e=>{g.classes.push(e)}),o!==void 0&&(g.dir=o),g.props===void 0?g.props=c:c!==void 0&&Object.assign(g.props,c),u!==void 0){if(u.shape){if(u.shape!==u.shape.toLowerCase()||u.shape.includes(`_`))throw Error(`No such shape: ${u.shape}. Shape names should be lowercase.`);if(!f(u.shape))throw Error(`No such shape: ${u.shape}.`);g.type=u?.shape}u?.label&&(g.text=u?.label,g.labelType=this.sanitizeNodeLabelType(u?.labelType)),u?.icon&&(g.icon=u?.icon,!u.label?.trim()&&g.text===e&&(g.text=``)),u?.form&&(g.form=u?.form),u?.pos&&(g.pos=u?.pos),u?.img&&(g.img=u?.img,!u.label?.trim()&&g.text===e&&(g.text=``)),u?.constraint&&(g.constraint=u.constraint),u.w&&(g.assetWidth=Number(u.w)),u.h&&(g.assetHeight=Number(u.h))}}addSingleLink(e,t,n,r){let i={start:e,end:t,type:void 0,text:``,labelType:`text`,classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};O.info(`abc78 Got edge...`,i);let a=n.text;if(a!==void 0&&(i.text=this.sanitizeText(a.text.trim()),i.text.startsWith(`"`)&&i.text.endsWith(`"`)&&(i.text=i.text.substring(1,i.text.length-1)),i.labelType=this.sanitizeNodeLabelType(a.type)),n!==void 0&&(i.type=n.type,i.stroke=n.stroke,i.length=n.length>10?10:n.length),r&&!this.edges.some(e=>e.id===r))i.id=r,i.isUserDefinedId=!0;else{let e=this.edges.filter(e=>e.start===i.start&&e.end===i.end);i.id=e.length===0?ee(i.start,i.end,{counter:0,prefix:`L`}):ee(i.start,i.end,{counter:e.length+1,prefix:`L`})}if(this.edges.length<(this.config.maxEdges??500))O.info(`Pushing edge...`),this.edges.push(i);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
6
|
+
|
|
7
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
8
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
9
|
+
You have to call mermaid.initialize.`)}isLinkData(e){return typeof e==`object`&&!!e&&`id`in e&&typeof e.id==`string`}addLink(e,t,n){let r=this.isLinkData(n)?n.id.replace(`@`,``):void 0;O.info(`addLink`,e,t,r);for(let i of e)for(let a of t){let o=i===e[e.length-1],s=a===t[0];o&&s?this.addSingleLink(i,a,n,r):this.addSingleLink(i,a,n,void 0)}}updateLinkInterpolate(e,t){e.forEach(e=>{e==="default"?this.edges.defaultInterpolate=t:this.edges[e].interpolate=t})}updateLink(e,t){e.forEach(e=>{if(typeof e==`number`&&e>=this.edges.length)throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);e==="default"?this.edges.defaultStyle=t:(this.edges[e].style=t,(this.edges[e]?.style?.length??0)>0&&!this.edges[e]?.style?.some(e=>e?.startsWith(`fill`))&&this.edges[e]?.style?.push(`fill:none`))})}addClass(e,t){let n=t.join().replace(/\\,/g,`§§§`).replace(/,/g,`;`).replace(/§§§/g,`,`).split(`;`);e.split(`,`).forEach(e=>{let t=this.classes.get(e);t===void 0&&(t={id:e,styles:[],textStyles:[]},this.classes.set(e,t)),n?.forEach(e=>{if(/color/.exec(e)){let n=e.replace(`fill`,`bgFill`);t.textStyles.push(n)}t.styles.push(e)})})}setDirection(e){this.direction=e.trim(),/.*</.exec(this.direction)&&(this.direction=`RL`),/.*\^/.exec(this.direction)&&(this.direction=`BT`),/.*>/.exec(this.direction)&&(this.direction=`LR`),/.*v/.exec(this.direction)&&(this.direction=`TB`),this.direction===`TD`&&(this.direction=`TB`)}setClass(e,t){for(let n of e.split(`,`)){let e=this.vertices.get(n);e&&e.classes.push(t);let r=this.edges.find(e=>e.id===n);r&&r.classes.push(t);let i=this.subGraphLookup.get(n);i&&i.classes.push(t)}}setTooltip(e,t){if(t!==void 0){t=this.sanitizeText(t);for(let n of e.split(`,`))this.tooltips.set(this.version===`gen-1`?this.lookUpDomId(n):n,t)}}setClickFun(e,t,n){if(C().securityLevel!==`loose`||t===void 0)return;let r=[];if(typeof n==`string`){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<r.length;e++){let t=r[e].trim();t.startsWith(`"`)&&t.endsWith(`"`)&&(t=t.substr(1,t.length-2)),r[e]=t}}r.length===0&&r.push(e);let i=this.vertices.get(e);i&&(i.haveCallback=!0,this.funs.push(()=>{let n=this.lookUpDomId(e),i=document.querySelector(`[id="${n}"]`);i!==null&&i.addEventListener(`click`,()=>{_.runFunc(t,...r)},!1)}))}setLink(e,t,n){e.split(`,`).forEach(e=>{let r=this.vertices.get(e);r!==void 0&&(r.link=_.formatUrl(t,this.config),r.linkTarget=n)}),this.setClass(e,`clickable`)}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,t,n){e.split(`,`).forEach(e=>{this.setClickFun(e,t,n)}),this.setClass(e,`clickable`)}bindFunctions(e){this.funs.forEach(t=>{t(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(t){let n=c();e(t).select(`svg`).selectAll(`g.node`).on(`mouseover`,t=>{let r=e(t.currentTarget),i=r.attr(`title`);if(i===null)return;let a=t.currentTarget?.getBoundingClientRect();n.transition().duration(200).style(`opacity`,`.9`),n.text(r.attr(`title`)).style(`left`,window.scrollX+a.left+(a.right-a.left)/2+`px`).style(`top`,window.scrollY+a.bottom+`px`),n.html(T.sanitize(i)),r.classed(`hover`,!0)}).on(`mouseout`,t=>{n.transition().duration(500).style(`opacity`,0),e(t.currentTarget).classed(`hover`,!1)})}clear(e=`gen-2`){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId=``,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=C(),x()}setGen(e){this.version=e||`gen-2`}defaultStyle(){return`fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;`}addSubGraph(e,t,n){let r=e.text.trim(),i=n.text;e===n&&/\s/.exec(n.text)&&(r=void 0);let a=k(e=>{let t={boolean:{},number:{},string:{}},n=[],r;return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&e.stmt===`dir`?(r=e.value,!1):e.trim()===``?!1:i in t?t[i].hasOwnProperty(e)?!1:t[i][e]=!0:!n.includes(e)&&n.push(e)}),dir:r}},`uniq`)(t.flat()),o=a.nodeList,s=a.dir,c=C().flowchart??{};if(s??=c.inheritDir?this.getDirection()??C().direction??void 0:void 0,this.version===`gen-1`)for(let e=0;e<o.length;e++)o[e]=this.lookUpDomId(o[e]);r??=`subGraph`+this.subCount,i||=``,i=this.sanitizeText(i),this.subCount+=1;let l={id:r,nodes:o,title:i.trim(),classes:[],dir:s,labelType:this.sanitizeNodeLabelType(n?.type)};O.info(`Adding`,l.id,l.nodes,l.dir);let u=this.makeUniq(l,this.subGraphs).nodes;this.recordDroppedMembers(l,u),l.nodes=u.filter(e=>e!==r);let d=this.subGraphs.find(e=>e.id===r);return d?d.nodes.push(...l.nodes):this.subGraphs.push(l),this.subGraphLookup.set(r,d??l),r}recordDroppedMembers(e,t){let n=new Set(t);for(let t of e.nodes){if(n.has(t)||t===e.id)continue;let r=this.subGraphs.find(e=>e.nodes.includes(t));r&&r.id!==e.id&&!this.isNestedIn(r.id,e)&&this.droppedSubGraphMembers.push({node:t,keptBy:r.id,droppedFrom:e.id})}}isNestedIn(e,t){let n=new Set,r=e;for(;r!==void 0&&!n.has(r);){if(t.nodes.includes(r))return!0;n.add(r);let e=r;r=this.subGraphs.find(t=>t.nodes.includes(e))?.id}return!1}getPosForId(e){for(let[t,n]of this.subGraphs.entries())if(n.id===e)return t;return-1}indexNodes2(e,t){let n=this.subGraphs[t].nodes;if(this.secCount+=1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=t,this.subGraphs[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){let t=this.getPosForId(n[r]);if(t>=0){let n=this.indexNodes2(e,t);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2(`none`,this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(e){let t=e.trim(),n=`arrow_open`;switch(t[0]){case`<`:n=`arrow_point`,t=t.slice(1);break;case`x`:n=`arrow_cross`,t=t.slice(1);break;case`o`:n=`arrow_circle`,t=t.slice(1)}let r=`normal`;return t.includes(`=`)&&(r=`thick`),t.includes(`.`)&&(r=`dotted`),{type:n,stroke:r}}countChar(e,t){let n=t.length,r=0;for(let i=0;i<n;++i)t[i]===e&&++r;return r}destructEndLink(e){let t=e.trim(),n=t.slice(0,-1),r=`arrow_open`;switch(t.slice(-1)){case`x`:r=`arrow_cross`,t.startsWith(`x`)&&(r=`double_`+r,n=n.slice(1));break;case`>`:r=`arrow_point`,t.startsWith(`<`)&&(r=`double_`+r,n=n.slice(1));break;case`o`:r=`arrow_circle`,t.startsWith(`o`)&&(r=`double_`+r,n=n.slice(1))}let i=`normal`,a=n.length-1;n.startsWith(`=`)&&(i=`thick`),n.startsWith(`~`)&&(i=`invisible`);let o=this.countChar(`.`,n);return o&&(i=`dotted`,a=o),{type:r,stroke:i,length:a}}destructLink(e,t){let n=this.destructEndLink(e),r;if(t){if(r=this.destructStartLink(t),r.stroke!==n.stroke)return{type:`INVALID`,stroke:`INVALID`};if(r.type===`arrow_open`)r.type=n.type;else{if(r.type!==n.type)return{type:`INVALID`,stroke:`INVALID`};r.type=`double_`+r.type}return r.type===`double_arrow`&&(r.type=`double_arrow_point`),r.length=n.length,r}return n}exists(e,t){for(let n of e)if(n.nodes.includes(t))return!0;return!1}makeUniq(e,t){let n=[];return e.nodes.forEach((r,i)=>{this.exists(t,r)||n.push(e.nodes[i])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return`imageSquare`;if(e.icon)return e.form===`circle`?`iconCircle`:e.form===`square`?`iconSquare`:e.form===`rounded`?`iconRounded`:`icon`;switch(e.type){case`square`:case void 0:return`squareRect`;case`round`:return`roundedRect`;case`ellipse`:return`ellipse`;default:return e.type}}findNode(e,t){return e.find(e=>e.id===t)}destructEdgeType(e){let t=`none`,n=`arrow_point`;switch(e){case`arrow_point`:case`arrow_circle`:case`arrow_cross`:n=e;break;case`double_arrow_point`:case`double_arrow_circle`:case`double_arrow_cross`:t=e.replace(`double_`,``),n=t}return{arrowTypeStart:t,arrowTypeEnd:n}}addNodeFromVertex(e,t,n,r,i,a){let o=n.get(e.id),s=r.get(e.id)??!1,c=this.findNode(t,e.id);if(c)c.cssStyles=e.styles,c.cssCompiledStyles=this.getCompiledStyles(e.classes),c.cssClasses=e.classes.join(` `);else{let n={id:e.id,label:e.text,labelType:e.labelType,labelStyle:``,parentId:o,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles([`default`,`node`,...e.classes]),cssClasses:`default `+e.classes.join(` `),dir:e.dir,domId:e.domId,look:a,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};s?t.push({...n,isGroup:!0,shape:`rect`}):t.push({...n,isGroup:!1,shape:this.getTypeFromVertex(e),minWidth:i.flowchart?.minNodeWidth})}}getCompiledStyles(e){let t=[];for(let n of e){let e=this.classes.get(n);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}getData(){let e=C(),t=[],n=[],r=this.getSubGraphs(),i=new Map,a=new Map,o=new Map;for(let e of r)for(let t of e.nodes)this.subGraphLookup.has(t)&&o.set(t,e.id);let s=new Map,c=new Map;for(let e of r){let t=o.get(e.id);t!==void 0&&c.set(t,[...c.get(t)??[],e.id])}let l=0,f=k(e=>{s.set(e,l++);for(let t of c.get(e)??[])f(t)},`walk`);for(let e of r)o.has(e.id)||f(e.id);let p=k(e=>this.subGraphLookup.get(e)?.metadata?.view===`collapsed`,`isCollapsed`),m=k(e=>{let t,n=new Set,r=e;for(;r!==void 0&&!n.has(r);)n.add(r),p(r)&&(t=r),r=o.get(r);return t},`outermostCollapsed`),h=new Set,g=new Map;for(let e of r){let t=m(e.id);if(t!==void 0){e.id!==t&&(h.add(e.id),g.set(e.id,t));for(let n of e.nodes)n!==t&&(h.add(n),g.set(n,t))}}for(let e=r.length-1;e>=0;e--){let t=r[e];if(!h.has(t.id)){t.nodes.length>0&&a.set(t.id,!0);for(let e of t.nodes)i.set(e,t.id)}}for(let n=r.length-1;n>=0;n--){let a=r[n];h.has(a.id)||(a.metadata?.view===`collapsed`?t.push({id:a.id,label:a.title,labelStyle:``,labelType:a.labelType,parentId:i.get(a.id),padding:8,cssCompiledStyles:this.getCompiledStyles(a.classes),cssClasses:a.classes.join(` `),shape:`collapsedGroup`,dir:a.dir,isGroup:!1,look:e.look,colorIndex:s.get(a.id)}):t.push({id:a.id,label:a.title,labelStyle:``,labelType:a.labelType,parentId:i.get(a.id),padding:8,cssCompiledStyles:this.getCompiledStyles(a.classes),cssClasses:a.classes.join(` `),shape:`rect`,dir:a.dir,isGroup:!0,look:e.look,colorIndex:s.get(a.id),metadata:a.metadata}))}this.getVertices().forEach(n=>{h.has(n.id)||this.addNodeFromVertex(n,t,i,a,e,e.look||`classic`)});let _=this.getEdges(),te=_.reduce((e,t)=>d(t)?Math.max(e,t.step):e,0),ne=u(e.flowchart?.stepDuration),v=e.flowchart?.stepNumbers===!0?{showStepNumber:!0}:{};return _.forEach((t,r)=>{let{arrowTypeStart:i,arrowTypeEnd:a}=this.destructEdgeType(t.type),o=[..._.defaultStyle??[]],s=g.get(t.start)??t.start,c=g.get(t.end)??t.end;if(s===c&&(g.has(t.start)||g.has(t.end)))return;t.style&&o.push(...t.style);let l={id:ee(s,c,{counter:r,prefix:`L`},t.id),isUserDefinedId:t.isUserDefinedId,start:s,end:c,type:t.type??`normal`,label:t.text,labelType:t.labelType,labelpos:`c`,thickness:t.stroke,minlen:t.length,classes:t?.stroke===`invisible`?``:`edge-thickness-normal edge-pattern-solid flowchart-link`,arrowTypeStart:t?.stroke===`invisible`||t?.type===`arrow_open`?`none`:i,arrowTypeEnd:t?.stroke===`invisible`||t?.type===`arrow_open`?`none`:a,arrowheadStyle:`fill: #333`,cssCompiledStyles:this.getCompiledStyles(t.classes),labelStyle:o,style:o,pattern:t.stroke,look:e.look,animate:t.animate,animation:t.animation,...d(t)?{step:t.step,stepCount:te,stepDuration:ne,...v}:{},curve:t.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};n.push(l)}),{nodes:t,edges:n,other:this.droppedSubGraphMembers.length>0?{droppedSubGraphMembers:[...this.droppedSubGraphMembers]}:{},config:e}}defaultConfig(){return w.flowchart}},M={getClasses:k(function(e,t){return t.db.getClasses()},`getClasses`),draw:k(async function(e,t,a,s){O.info(`REF0:`),O.info(`Drawing state diagram (v2)`,t);let{securityLevel:c,flowchart:l,layout:u}=C();s.db.setDiagramId(t),O.debug(`Before getData: `);let d=s.db.getData();O.debug(`Data: `,d);let f=n(t,c),p=s.db.getDirection();d.type=s.type,d.layoutAlgorithm=o(u),d.direction=p,d.nodeSpacing=l?.nodeSpacing||50,d.rankSpacing=l?.rankSpacing||50,d.markers=[`point`,`circle`,`cross`],d.diagramId=t,O.debug(`REF1:`,d),await i(d,f);let m=d.config.flowchart?.diagramPadding??8;_.insertTitle(f,`flowchartTitleText`,l?.titleTopMargin||0,s.db.getDiagramTitle()),r(f,m,`flowchart`,l?.useMaxWidth||!1)},`draw`)},N=(function(){var e=k(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,4],n=[1,3],r=[1,5],i=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],a=[2,2],o=[1,13],s=[1,14],c=[1,15],l=[1,16],u=[1,23],d=[1,25],f=[1,26],p=[1,27],m=[1,50],h=[1,49],g=[1,29],_=[1,30],ee=[1,31],te=[1,32],ne=[1,33],v=[1,45],y=[1,47],b=[1,43],x=[1,48],S=[1,44],C=[1,51],w=[1,46],T=[1,52],E=[1,53],D=[1,34],re=[1,35],O=[1,36],ie=[1,37],ae=[1,38],A=[1,58],j=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],M=[1,62],N=[1,61],P=[1,63],F=[8,9,11,75,77,78],oe=[1,79],se=[1,92],ce=[1,97],le=[1,96],ue=[1,93],de=[1,89],fe=[1,95],pe=[1,91],me=[1,98],he=[1,94],ge=[1,99],_e=[1,90],ve=[8,9,10,11,40,75,77,78],I=[8,9,10,11,40,46,75,77,78],L=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],ye=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],be=[44,60,89,102,105,106,109,111,114,115,116],xe=[1,122],Se=[1,123],Ce=[1,125],we=[1,124],Te=[44,60,62,74,89,102,105,106,109,111,114,115,116],Ee=[1,134],De=[1,148],Oe=[1,149],ke=[1,150],Ae=[1,151],je=[1,136],Me=[1,138],Ne=[1,142],Pe=[1,143],Fe=[1,144],Ie=[1,145],Le=[1,146],Re=[1,147],ze=[1,152],Be=[1,153],Ve=[1,132],He=[1,133],Ue=[1,140],We=[1,135],Ge=[1,139],Ke=[1,137],qe=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],Je=[1,155],Ye=[1,157],R=[8,9,11],z=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],B=[1,177],V=[1,173],H=[1,174],U=[1,178],W=[1,175],G=[1,176],Xe=[77,116,119],K=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],Ze=[1,205],Qe=[10,106],$e=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],q=[1,249],J=[1,247],Y=[1,251],X=[1,245],Z=[1,246],Q=[1,248],et=[1,250],tt=[1,252],nt=[1,270],rt=[8,9,11,106],$=[8,9,10,11,60,84,105,106,109,110,111,112],it={trace:k(function(){},`trace`),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:`error`,8:`SEMI`,9:`NEWLINE`,10:`SPACE`,11:`EOF`,12:`GRAPH`,13:`NODIR`,14:`DIR`,27:`subgraph`,29:`SQS`,31:`SQE`,32:`end`,34:`acc_title`,35:`acc_title_value`,36:`acc_descr`,37:`acc_descr_value`,38:`acc_descr_multiline_value`,40:`SHAPE_DATA`,44:`AMP`,46:`STYLE_SEPARATOR`,48:`DOUBLECIRCLESTART`,49:`DOUBLECIRCLEEND`,50:`PS`,51:`PE`,52:`(-`,53:`-)`,54:`STADIUMSTART`,55:`STADIUMEND`,56:`SUBROUTINESTART`,57:`SUBROUTINEEND`,58:`VERTEX_WITH_PROPS_START`,59:`NODE_STRING[field]`,60:`COLON`,61:`NODE_STRING[value]`,62:`PIPE`,63:`CYLINDERSTART`,64:`CYLINDEREND`,65:`DIAMOND_START`,66:`DIAMOND_STOP`,67:`TAGEND`,68:`TRAPSTART`,69:`TRAPEND`,70:`INVTRAPSTART`,71:`INVTRAPEND`,74:`TESTSTR`,75:`START_LINK`,77:`LINK`,78:`LINK_ID`,80:`STR`,81:`MD_STR`,84:`STYLE`,85:`LINKSTYLE`,86:`CLASSDEF`,87:`CLASS`,88:`CLICK`,89:`DOWN`,90:`UP`,93:`idString[vertex]`,94:`idString[class]`,95:`CALLBACKNAME`,96:`CALLBACKARGS`,97:`HREF`,98:`LINK_TARGET`,99:`STR[link]`,100:`STR[tooltip]`,102:`DEFAULT`,104:`INTERPOLATE`,105:`NUM`,106:`COMMA`,109:`NODE_STRING`,110:`UNIT`,111:`BRKT`,112:`PCT`,114:`MINUS`,115:`MULT`,116:`UNICODE_TEXT`,117:`TEXT`,118:`TAGSTART`,119:`EDGE_TEXT`,121:`direction_tb`,122:`direction_bt`,123:`direction_rl`,124:`direction_lr`,125:`direction_td`},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,5],[20,3],[20,4],[20,2],[20,2],[20,3],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:k(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 2:this.$=[];break;case 3:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 185:this.$=a[s];break;case 11:r.setDirection(`TB`),this.$=`TB`;break;case 12:r.setDirection(a[s-1]),this.$=a[s-1];break;case 27:this.$=a[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 34:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 35:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 37:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 43:this.$=a[s-1]+a[s];break;case 44:this.$=a[s];break;case 45:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 46:r.addVertex(a[s-2][a[s-2].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-1]),r.addLink(a[s-4].stmt,a[s-2],a[s-3]),this.$={stmt:a[s-2],nodes:a[s-2].concat(a[s-4].nodes)};break;case 47:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 48:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 49:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 50:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),this.$={stmt:a[s-1],nodes:a[s-1],shapeData:a[s]};break;case 51:r.addVertex(a[s-2][a[s-2].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-1]),this.$={stmt:a[s-2],nodes:a[s-2],shapeData:a[s-1]};break;case 52:this.$={stmt:a[s],nodes:a[s]};break;case 53:this.$=[a[s]];break;case 54:r.addVertex(a[s-5][a[s-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-4]),this.$=a[s-5].concat(a[s]);break;case 55:this.$=a[s-4].concat(a[s]);break;case 56:this.$=a[s];break;case 57:this.$=a[s-2],r.setClass(a[s-2],a[s]);break;case 58:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`square`);break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`doublecircle`);break;case 60:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`circle`);break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`ellipse`);break;case 62:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`stadium`);break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`subroutine`);break;case 64:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],`rect`,void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`cylinder`);break;case 66:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`round`);break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`diamond`);break;case 68:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`hexagon`);break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`odd`);break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`trapezoid`);break;case 71:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`inv_trapezoid`);break;case 72:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_right`);break;case 73:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_left`);break;case 74:this.$=a[s],r.addVertex(a[s]);break;case 75:a[s-1].text=a[s],this.$=a[s-1];break;case 76:case 77:a[s-2].text=a[s-1],this.$=a[s-2];break;case 78:this.$=a[s];break;case 79:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 80:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1],id:a[s-3]};break;case 81:this.$={text:a[s],type:`text`};break;case 82:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 83:this.$={text:a[s],type:`string`};break;case 84:this.$={text:a[s],type:`markdown`};break;case 85:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 86:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length,id:a[s-1]};break;case 87:this.$=a[s-1];break;case 88:this.$={text:a[s],type:`text`};break;case 89:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 90:this.$={text:a[s],type:`string`};break;case 91:case 106:this.$={text:a[s],type:`markdown`};break;case 103:this.$={text:a[s],type:`text`};break;case 104:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 105:this.$={text:a[s],type:`text`};break;case 107:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 108:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 109:case 117:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 110:case 118:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 111:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 112:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 113:this.$=a[s-2],r.setLink(a[s-2],a[s]);break;case 114:this.$=a[s-4],r.setLink(a[s-4],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 115:this.$=a[s-4],r.setLink(a[s-4],a[s-2],a[s]);break;case 116:this.$=a[s-6],r.setLink(a[s-6],a[s-4],a[s]),r.setTooltip(a[s-6],a[s-2]);break;case 119:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 120:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 121:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 122:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 123:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 124:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 125:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 126:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 127:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 128:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 129:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 130:case 132:this.$=[a[s]];break;case 131:case 133:a[s-2].push(a[s]),this.$=a[s-2];break;case 135:this.$=a[s-1]+a[s];break;case 183:this.$=a[s];break;case 184:this.$=a[s-1]+``+a[s];break;case 186:this.$=a[s-1]+``+a[s];break;case 187:this.$={stmt:`dir`,value:`TB`};break;case 188:this.$={stmt:`dir`,value:`BT`};break;case 189:this.$={stmt:`dir`,value:`RL`};break;case 190:this.$={stmt:`dir`,value:`LR`};break;case 191:this.$={stmt:`dir`,value:`TD`}}},`anonymous`),table:[{3:1,4:2,9:t,10:n,12:r},{1:[3]},e(i,a,{5:6}),{4:7,9:t,10:n,12:r},{4:8,9:t,10:n,12:r},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:o,9:s,10:c,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:u,33:24,34:d,36:f,38:p,42:28,43:39,44:m,45:40,47:41,60:h,84:g,85:_,86:ee,87:te,88:ne,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E,121:D,122:re,123:O,124:ie,125:ae},e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{8:[1,55],9:[1,56],10:A,15:54,18:57},e(j,[2,3]),e(j,[2,4]),e(j,[2,5]),e(j,[2,6]),e(j,[2,7]),e(j,[2,8]),{8:M,9:N,11:P,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:M,9:N,11:P,21:68},{8:M,9:N,11:P,21:69},{8:M,9:N,11:P,21:70},{8:M,9:N,11:P,21:71},{8:M,9:N,11:P,21:72},{8:M,9:N,10:[1,73],11:P,21:74},e(j,[2,36]),{35:[1,75]},{37:[1,76]},e(j,[2,39]),e(F,[2,52],{18:77,39:78,10:A,40:oe}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:se,44:ce,60:le,80:[1,87],89:ue,95:[1,84],97:[1,85],101:86,105:de,106:fe,109:pe,111:me,114:he,115:ge,116:_e,120:88},e(j,[2,187]),e(j,[2,188]),e(j,[2,189]),e(j,[2,190]),e(j,[2,191]),e(ve,[2,53]),e(ve,[2,56],{46:[1,100]}),e(I,[2,74],{113:113,29:[1,101],44:m,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:h,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:v,102:y,105:b,106:x,109:S,111:C,114:w,115:T,116:E}),e(L,[2,183]),e(L,[2,144]),e(L,[2,145]),e(L,[2,146]),e(L,[2,147]),e(L,[2,148]),e(L,[2,149]),e(L,[2,150]),e(L,[2,151]),e(L,[2,152]),e(L,[2,153]),e(L,[2,154]),e(i,[2,12]),e(i,[2,18]),e(i,[2,19]),{9:[1,114]},e(ye,[2,26],{18:115,10:A}),e(j,[2,27]),{42:116,43:39,44:m,45:40,47:41,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},e(j,[2,40]),e(j,[2,41]),e(j,[2,42]),e(be,[2,78],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:xe,81:Se,116:Ce,119:we},{75:[1,126],77:[1,127]},e(Te,[2,85]),e(j,[2,28]),e(j,[2,29]),e(j,[2,30]),e(j,[2,31]),e(j,[2,32]),{10:Ee,12:De,14:Oe,27:ke,28:128,32:Ae,44:je,60:Me,75:Ne,80:[1,130],81:[1,131],83:141,84:Pe,85:Fe,86:Ie,87:Le,88:Re,89:ze,90:Be,91:129,105:Ve,109:He,111:Ue,114:We,115:Ge,116:Ke},e(qe,a,{5:154}),e(j,[2,37]),e(j,[2,38]),e(F,[2,49],{44:Je}),e(F,[2,50],{18:156,10:A,40:Ye}),e(ve,[2,44]),{44:m,47:158,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},{102:[1,159],103:160,105:[1,161]},{44:m,47:162,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},{44:m,47:163,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},e(R,[2,109],{10:[1,164],96:[1,165]}),{80:[1,166]},e(R,[2,117],{120:168,10:[1,167],14:se,44:ce,60:le,89:ue,105:de,106:fe,109:pe,111:me,114:he,115:ge,116:_e}),e(R,[2,119],{10:[1,169]}),e(z,[2,185]),e(z,[2,172]),e(z,[2,173]),e(z,[2,174]),e(z,[2,175]),e(z,[2,176]),e(z,[2,177]),e(z,[2,178]),e(z,[2,179]),e(z,[2,180]),e(z,[2,181]),e(z,[2,182]),{44:m,47:170,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},{30:171,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:179,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:181,50:[1,180],67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:182,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:183,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:184,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{109:[1,185]},{30:186,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:187,65:[1,188],67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:189,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:190,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{30:191,67:B,80:V,81:H,82:172,116:U,117:W,118:G},e(L,[2,184]),e(i,[2,20]),e(ye,[2,25]),e(F,[2,47],{39:192,18:193,10:A,40:oe}),e(be,[2,75],{10:[1,194]}),{10:[1,195]},{30:196,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{77:[1,197],79:198,116:Ce,119:we},e(Xe,[2,81]),e(Xe,[2,83]),e(Xe,[2,84]),e(Xe,[2,170]),e(Xe,[2,171]),{76:199,79:121,80:xe,81:Se,116:Ce,119:we},e(Te,[2,86]),{8:M,9:N,10:Ee,11:P,12:De,14:Oe,21:201,27:ke,29:[1,200],32:Ae,44:je,60:Me,75:Ne,83:141,84:Pe,85:Fe,86:Ie,87:Le,88:Re,89:ze,90:Be,91:202,105:Ve,109:He,111:Ue,114:We,115:Ge,116:Ke},e(K,[2,103]),e(K,[2,105]),e(K,[2,106]),e(K,[2,159]),e(K,[2,160]),e(K,[2,161]),e(K,[2,162]),e(K,[2,163]),e(K,[2,164]),e(K,[2,165]),e(K,[2,166]),e(K,[2,167]),e(K,[2,168]),e(K,[2,169]),e(K,[2,92]),e(K,[2,93]),e(K,[2,94]),e(K,[2,95]),e(K,[2,96]),e(K,[2,97]),e(K,[2,98]),e(K,[2,99]),e(K,[2,100]),e(K,[2,101]),e(K,[2,102]),{6:11,7:12,8:o,9:s,10:c,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:u,32:[1,203],33:24,34:d,36:f,38:p,42:28,43:39,44:m,45:40,47:41,60:h,84:g,85:_,86:ee,87:te,88:ne,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E,121:D,122:re,123:O,124:ie,125:ae},{10:A,18:204},e(F,[2,51],{44:Ze}),e(ve,[2,43]),{10:[1,206],44:m,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:113,114:w,115:T,116:E},{10:[1,207]},{10:[1,208],106:[1,209]},e(Qe,[2,130]),{10:[1,210],44:m,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:113,114:w,115:T,116:E},{10:[1,211],44:m,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:113,114:w,115:T,116:E},{80:[1,212]},e(R,[2,111],{10:[1,213]}),e(R,[2,113],{10:[1,214]}),{80:[1,215]},e(z,[2,186]),{80:[1,216],98:[1,217]},e(ve,[2,57],{113:113,44:m,60:h,89:v,102:y,105:b,106:x,109:S,111:C,114:w,115:T,116:E}),{31:[1,218],67:B,82:219,116:U,117:W,118:G},e($e,[2,88]),e($e,[2,90]),e($e,[2,91]),e($e,[2,155]),e($e,[2,156]),e($e,[2,157]),e($e,[2,158]),{49:[1,220],67:B,82:219,116:U,117:W,118:G},{30:221,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{51:[1,222],67:B,82:219,116:U,117:W,118:G},{53:[1,223],67:B,82:219,116:U,117:W,118:G},{55:[1,224],67:B,82:219,116:U,117:W,118:G},{57:[1,225],67:B,82:219,116:U,117:W,118:G},{60:[1,226]},{64:[1,227],67:B,82:219,116:U,117:W,118:G},{66:[1,228],67:B,82:219,116:U,117:W,118:G},{30:229,67:B,80:V,81:H,82:172,116:U,117:W,118:G},{31:[1,230],67:B,82:219,116:U,117:W,118:G},{67:B,69:[1,231],71:[1,232],82:219,116:U,117:W,118:G},{67:B,69:[1,234],71:[1,233],82:219,116:U,117:W,118:G},e(F,[2,45],{18:235,10:A,40:Ye}),e(F,[2,48],{44:Je}),e(be,[2,77]),e(be,[2,76]),{62:[1,236],67:B,82:219,116:U,117:W,118:G},e(be,[2,79]),e(Xe,[2,82]),{77:[1,237],79:198,116:Ce,119:we},{30:238,67:B,80:V,81:H,82:172,116:U,117:W,118:G},e(qe,a,{5:239}),e(K,[2,104]),e(j,[2,35]),{43:240,44:m,45:40,47:41,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},{10:A,18:241},{10:q,60:J,84:Y,92:242,105:X,107:243,108:244,109:Z,110:Q,111:et,112:tt},{10:q,60:J,84:Y,92:253,104:[1,254],105:X,107:243,108:244,109:Z,110:Q,111:et,112:tt},{10:q,60:J,84:Y,92:255,104:[1,256],105:X,107:243,108:244,109:Z,110:Q,111:et,112:tt},{105:[1,257]},{10:q,60:J,84:Y,92:258,105:X,107:243,108:244,109:Z,110:Q,111:et,112:tt},{44:m,47:259,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},e(R,[2,110]),{80:[1,260]},{80:[1,261],98:[1,262]},e(R,[2,118]),e(R,[2,120],{10:[1,263]}),e(R,[2,121]),e(I,[2,58]),e($e,[2,89]),e(I,[2,59]),{51:[1,264],67:B,82:219,116:U,117:W,118:G},e(I,[2,66]),e(I,[2,61]),e(I,[2,62]),e(I,[2,63]),{109:[1,265]},e(I,[2,65]),e(I,[2,67]),{66:[1,266],67:B,82:219,116:U,117:W,118:G},e(I,[2,69]),e(I,[2,70]),e(I,[2,72]),e(I,[2,71]),e(I,[2,73]),e(F,[2,46],{44:Ze}),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,87]),e(be,[2,80]),{31:[1,267],67:B,82:219,116:U,117:W,118:G},{6:11,7:12,8:o,9:s,10:c,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:u,32:[1,268],33:24,34:d,36:f,38:p,42:28,43:39,44:m,45:40,47:41,60:h,84:g,85:_,86:ee,87:te,88:ne,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E,121:D,122:re,123:O,124:ie,125:ae},e(ve,[2,55]),{43:269,44:m,45:40,47:41,60:h,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},e(R,[2,123],{106:nt}),e(rt,[2,132],{108:271,10:q,60:J,84:Y,105:X,109:Z,110:Q,111:et,112:tt}),e($,[2,134]),e($,[2,136]),e($,[2,137]),e($,[2,138]),e($,[2,139]),e($,[2,140]),e($,[2,141]),e($,[2,142]),e($,[2,143]),e(R,[2,124],{106:nt}),{10:[1,272]},e(R,[2,125],{106:nt}),{10:[1,273]},e(Qe,[2,131]),e(R,[2,107],{106:nt}),e(R,[2,108],{113:113,44:m,60:h,89:v,102:y,105:b,106:x,109:S,111:C,114:w,115:T,116:E}),e(R,[2,112]),e(R,[2,114],{10:[1,274]}),e(R,[2,115]),{98:[1,275]},{51:[1,276]},{62:[1,277]},{66:[1,278]},{8:M,9:N,11:P,21:279},e(j,[2,34]),e(ve,[2,54]),{10:q,60:J,84:Y,105:X,107:280,108:244,109:Z,110:Q,111:et,112:tt},e($,[2,135]),{14:se,44:ce,60:le,89:ue,101:281,105:de,106:fe,109:pe,111:me,114:he,115:ge,116:_e,120:88},{14:se,44:ce,60:le,89:ue,101:282,105:de,106:fe,109:pe,111:me,114:he,115:ge,116:_e,120:88},{98:[1,283]},e(R,[2,122]),e(I,[2,60]),{30:284,67:B,80:V,81:H,82:172,116:U,117:W,118:G},e(I,[2,68]),e(qe,a,{5:285}),e(rt,[2,133],{108:271,10:q,60:J,84:Y,105:X,109:Z,110:Q,111:et,112:tt}),e(R,[2,128],{120:168,10:[1,286],14:se,44:ce,60:le,89:ue,105:de,106:fe,109:pe,111:me,114:he,115:ge,116:_e}),e(R,[2,129],{120:168,10:[1,287],14:se,44:ce,60:le,89:ue,105:de,106:fe,109:pe,111:me,114:he,115:ge,116:_e}),e(R,[2,116]),{31:[1,288],67:B,82:219,116:U,117:W,118:G},{6:11,7:12,8:o,9:s,10:c,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:u,32:[1,289],33:24,34:d,36:f,38:p,42:28,43:39,44:m,45:40,47:41,60:h,84:g,85:_,86:ee,87:te,88:ne,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E,121:D,122:re,123:O,124:ie,125:ae},{10:q,60:J,84:Y,92:290,105:X,107:243,108:244,109:Z,110:Q,111:et,112:tt},{10:q,60:J,84:Y,92:291,105:X,107:243,108:244,109:Z,110:Q,111:et,112:tt},e(I,[2,64]),e(j,[2,33]),e(R,[2,126],{106:nt}),e(R,[2,127],{106:nt})],defaultActions:{},parseError:k(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:k(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,d=2,f=1,p=a.slice.call(arguments,1),m=Object.create(this.lexer),h={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(h.yy[g]=this.yy[g]);m.setInput(e,h.yy),h.yy.lexer=m,h.yy.parser=this,m.yylloc===void 0&&(m.yylloc={});var _=m.yylloc;a.push(_);var ee=m.options&&m.options.ranges;this.parseError=typeof h.yy.parseError==`function`?h.yy.parseError:Object.getPrototypeOf(this).parseError;function te(e){n.length-=2*e,i.length-=e,a.length-=e}k(te,`popStack`);function ne(){var e=r.pop()||m.lex()||f;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}k(ne,`lex`);for(var v,y,b,x,S,C={},w,T,E,D;;){if(b=n[n.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(v??=ne(),x=o[b]&&o[b][v]),x===void 0||!x.length||!x[0]){var re=``;for(w in D=[],o[b])this.terminals_[w]&&w>d&&D.push(`'`+this.terminals_[w]+`'`);re=m.showPosition?`Parse error on line `+(c+1)+`:
|
|
10
|
+
`+m.showPosition()+`
|
|
11
|
+
Expecting `+D.join(`, `)+`, got '`+(this.terminals_[v]||v)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(v==f?`end of input`:`'`+(this.terminals_[v]||v)+`'`),this.parseError(re,{text:m.match,token:this.terminals_[v]||v,line:m.yylineno,loc:_,expected:D})}if(x[0]instanceof Array&&x.length>1)throw Error(`Parse Error: multiple actions possible at state: `+b+`, token: `+v);switch(x[0]){case 1:n.push(v),i.push(m.yytext),a.push(m.yylloc),n.push(x[1]),v=null,y?(v=y,y=null):(l=m.yyleng,s=m.yytext,c=m.yylineno,_=m.yylloc,u>0&&u--);break;case 2:if(T=this.productions_[x[1]][1],C.$=i[i.length-T],C._$={first_line:a[a.length-(T||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(T||1)].first_column,last_column:a[a.length-1].last_column},ee&&(C._$.range=[a[a.length-(T||1)].range[0],a[a.length-1].range[1]]),S=this.performAction.apply(C,[s,l,c,h.yy,x[1],i,a].concat(p)),S!==void 0)return S;T&&(n=n.slice(0,-1*T*2),i=i.slice(0,-1*T),a=a.slice(0,-1*T)),n.push(this.productions_[x[1]][0]),i.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0},`parse`)};it.lexer=(function(){return{EOF:1,parseError:k(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:k(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:k(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:k(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:k(function(){return this._more=!0,this},`more`),reject:k(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
12
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:k(function(e){this.unput(this.match.slice(e))},`less`),pastInput:k(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:k(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:k(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
13
|
+
`+t+`^`},`showPosition`),test_match:k(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:k(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
14
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:k(function(){return this.next()||this.lex()},`lex`),begin:k(function(e){this.conditionStack.push(e)},`begin`),popState:k(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:k(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:k(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:k(function(e){this.begin(e)},`pushState`),stateStackSize:k(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:k(function(e,t,n,r){switch(n){case 0:return this.begin(`acc_title`),34;case 1:return this.popState(),`acc_title_value`;case 2:return this.begin(`acc_descr`),36;case 3:return this.popState(),`acc_descr_value`;case 4:this.begin(`acc_descr_multiline`);break;case 5:this.popState();break;case 6:return`acc_descr_multiline_value`;case 7:return this.pushState(`shapeData`),t.yytext=``,40;case 8:return this.pushState(`shapeDataStr`),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,`<br/>`),40;case 11:return 40;case 12:this.popState();break;case 13:this.begin(`callbackname`);break;case 14:this.popState();break;case 15:this.popState(),this.begin(`callbackargs`);break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return`MD_STR`;case 20:this.popState();break;case 21:this.begin(`md_string`);break;case 22:return`STR`;case 23:this.popState();break;case 24:this.pushState(`string`);break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin(`click`);break;case 33:this.popState();break;case 34:return 88;case 35:return e.lex.firstGraph()&&this.begin(`dir`),12;case 36:return e.lex.firstGraph()&&this.begin(`dir`),12;case 37:return e.lex.firstGraph()&&this.begin(`dir`),12;case 38:return e.lex.firstGraph()&&this.begin(`dir`),12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return this.popState(),14;case 50:return this.popState(),14;case 51:return this.popState(),14;case 52:return this.popState(),14;case 53:return this.popState(),14;case 54:return this.popState(),14;case 55:return this.popState(),14;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;case 71:return this.pushState(`edgeText`),75;case 72:return 119;case 73:return this.popState(),77;case 74:return this.pushState(`thickEdgeText`),75;case 75:return 119;case 76:return this.popState(),77;case 77:return this.pushState(`dottedEdgeText`),75;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;case 81:return`TEXT`;case 82:return this.pushState(`ellipseText`),52;case 83:return this.popState(),55;case 84:return this.pushState(`text`),54;case 85:return this.popState(),57;case 86:return this.pushState(`text`),56;case 87:return 58;case 88:return this.pushState(`text`),67;case 89:return this.popState(),64;case 90:return this.pushState(`text`),63;case 91:return this.popState(),49;case 92:return this.pushState(`text`),48;case 93:return this.popState(),69;case 94:return this.popState(),71;case 95:return 117;case 96:return this.pushState(`trapText`),68;case 97:return this.pushState(`trapText`),70;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return`SEP`;case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;case 110:return this.pushState(`text`),62;case 111:return this.popState(),51;case 112:return this.pushState(`text`),50;case 113:return this.popState(),31;case 114:return this.pushState(`text`),29;case 115:return this.popState(),66;case 116:return this.pushState(`text`),65;case 117:return`TEXT`;case 118:return`QUOTE`;case 119:return 9;case 120:return 10;case 121:return 11}},`anonymous`),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"\[\]\(\)\{\}\|]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}}})();function at(){this.yy={}}return k(at,`Parser`),at.prototype=it,it.Parser=at,new at})();N.parser=N;var P=N,F=Object.assign({},P);F.parse=e=>{let t=e.replace(/}\s*\n/g,`}
|
|
15
|
+
`);return P.parse(t)};var oe=F,se=k(e=>{let{theme:t,bkgColorArray:n,borderColorArray:r}=e;if(!p(t,r))return``;let i=h(e.look),a=g(n),o=``;for(let t=0;t<m(e.THEME_COLOR_LIMIT,r);t++){let e=r[t%r.length],s=a?`fill: ${n[t%n.length]};`:``,c=`[data-look="${i}"][data-color-id="color-${t}"]`,l=k(e=>`${c}.node ${e}, ${c}.rough-node ${e}`,`collapsedRule`),u=k(e=>`${c}.swimlane.cluster .swimlane-title${e}, ${c}.swimlane.cluster .swimlane-body${e}`,`laneRule`);o+=`
|
|
16
|
+
|
|
17
|
+
${c}.cluster:not(.swimlane) rect {
|
|
18
|
+
stroke: ${e};
|
|
19
|
+
${s}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
${c}.cluster:not(.swimlane) path {
|
|
23
|
+
stroke: ${e};
|
|
24
|
+
${s}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Lane, classic and neo. */
|
|
28
|
+
${c}.swimlane.cluster rect.swimlane-title,
|
|
29
|
+
${c}.swimlane.cluster rect.swimlane-body {
|
|
30
|
+
stroke: ${e};
|
|
31
|
+
${s}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Lane, handDrawn: roughjs emits the hachure fill first, then the outline. */
|
|
35
|
+
${u(` path:nth-of-type(2)`)} {
|
|
36
|
+
stroke: ${e};
|
|
37
|
+
}
|
|
38
|
+
${a?`
|
|
39
|
+
/* A roughjs fill is drawn as lines, so the lane fill is a stroke here. */
|
|
40
|
+
${u(` path:first-of-type`)} {
|
|
41
|
+
stroke: ${n[t%n.length]};
|
|
42
|
+
}
|
|
43
|
+
`:``}
|
|
44
|
+
${l(`.collapsed-group`)},
|
|
45
|
+
${l(`.collapsed-group path`)} {
|
|
46
|
+
stroke: ${e};
|
|
47
|
+
${s}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* The ellipsis dots and the separator take clusterBorder further down, so without
|
|
51
|
+
these the container is palette-coloured while its own markers are not. */
|
|
52
|
+
${l(`.collapsed-indicator`)} {
|
|
53
|
+
fill: ${e};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
${l(`.collapsed-separator`)} {
|
|
57
|
+
stroke: ${e};
|
|
58
|
+
}
|
|
59
|
+
`}return o},`genColor`),ce=k((e,t)=>{let n=l,r=n(e,`r`),i=n(e,`g`),a=n(e,`b`);return S(r,i,a,t)},`fade`),le=k(e=>`${se(e)}
|
|
60
|
+
.label {
|
|
61
|
+
font-family: ${e.fontFamily};
|
|
62
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
63
|
+
}
|
|
64
|
+
.cluster-label text {
|
|
65
|
+
fill: ${e.titleColor};
|
|
66
|
+
}
|
|
67
|
+
.cluster-label span {
|
|
68
|
+
color: ${e.titleColor};
|
|
69
|
+
}
|
|
70
|
+
.cluster-label span p {
|
|
71
|
+
background-color: transparent;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.label text,span {
|
|
75
|
+
fill: ${e.nodeTextColor||e.textColor};
|
|
76
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.node rect,
|
|
80
|
+
.node circle,
|
|
81
|
+
.node ellipse,
|
|
82
|
+
.node polygon,
|
|
83
|
+
.node path {
|
|
84
|
+
fill: ${e.mainBkg};
|
|
85
|
+
stroke: ${e.nodeBorder};
|
|
86
|
+
stroke-width: ${e.strokeWidth??1}px;
|
|
87
|
+
}
|
|
88
|
+
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
89
|
+
text-anchor: middle;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.node .katex path {
|
|
93
|
+
fill: #000;
|
|
94
|
+
stroke: #000;
|
|
95
|
+
stroke-width: 1px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
99
|
+
text-align: center;
|
|
100
|
+
}
|
|
101
|
+
.node.clickable {
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
.root .anchor path {
|
|
107
|
+
fill: ${e.lineColor} !important;
|
|
108
|
+
stroke-width: 0;
|
|
109
|
+
stroke: ${e.lineColor};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.arrowheadPath {
|
|
113
|
+
fill: ${e.arrowheadColor};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.edgePaths .path {
|
|
117
|
+
stroke: ${e.lineColor};
|
|
118
|
+
stroke-width: ${e.strokeWidth??2}px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.flowchart-link {
|
|
122
|
+
stroke: ${e.lineColor};
|
|
123
|
+
fill: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.edgeLabel {
|
|
127
|
+
background-color: ${e.edgeLabelBackground};
|
|
128
|
+
p {
|
|
129
|
+
background-color: ${e.edgeLabelBackground};
|
|
130
|
+
}
|
|
131
|
+
rect {
|
|
132
|
+
opacity: 0.5;
|
|
133
|
+
background-color: ${e.edgeLabelBackground};
|
|
134
|
+
fill: ${e.edgeLabelBackground};
|
|
135
|
+
}
|
|
136
|
+
text-align: center;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/* For html labels only */
|
|
140
|
+
.labelBkg {
|
|
141
|
+
background-color: ${ce(e.edgeLabelBackground,.5)};
|
|
142
|
+
// background-color:
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.cluster rect {
|
|
146
|
+
fill: ${e.clusterBkg};
|
|
147
|
+
stroke: ${e.clusterBorder};
|
|
148
|
+
stroke-width: 1px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.cluster text {
|
|
152
|
+
fill: ${e.titleColor};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.cluster span {
|
|
156
|
+
color: ${e.titleColor};
|
|
157
|
+
}
|
|
158
|
+
/* .cluster div {
|
|
159
|
+
color: ${e.titleColor};
|
|
160
|
+
} */
|
|
161
|
+
|
|
162
|
+
/* Collapsed subgraph node (@{ view: collapsed }) */
|
|
163
|
+
.node .collapsed-indicator {
|
|
164
|
+
fill: ${e.clusterBorder};
|
|
165
|
+
stroke: none;
|
|
166
|
+
opacity: 0.6;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.node .collapsed-separator {
|
|
170
|
+
stroke: ${e.clusterBorder};
|
|
171
|
+
stroke-width: 0.75px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
div.mermaidTooltip {
|
|
175
|
+
position: absolute;
|
|
176
|
+
text-align: center;
|
|
177
|
+
max-width: 200px;
|
|
178
|
+
padding: 2px;
|
|
179
|
+
font-family: ${e.fontFamily};
|
|
180
|
+
font-size: 12px;
|
|
181
|
+
background: ${e.tertiaryColor};
|
|
182
|
+
border: 1px solid ${e.border2};
|
|
183
|
+
border-radius: 2px;
|
|
184
|
+
pointer-events: none;
|
|
185
|
+
z-index: 100;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.flowchartTitleText {
|
|
189
|
+
text-anchor: middle;
|
|
190
|
+
font-size: 18px;
|
|
191
|
+
fill: ${e.textColor};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
rect.text {
|
|
195
|
+
fill: none;
|
|
196
|
+
stroke-width: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.icon-shape, .image-shape {
|
|
200
|
+
background-color: ${e.edgeLabelBackground};
|
|
201
|
+
p {
|
|
202
|
+
background-color: ${e.edgeLabelBackground};
|
|
203
|
+
padding: 2px;
|
|
204
|
+
}
|
|
205
|
+
.label rect {
|
|
206
|
+
opacity: 0.5;
|
|
207
|
+
background-color: ${e.edgeLabelBackground};
|
|
208
|
+
fill: ${e.edgeLabelBackground};
|
|
209
|
+
}
|
|
210
|
+
text-align: center;
|
|
211
|
+
}
|
|
212
|
+
${t()}
|
|
213
|
+
`,`getStyles`),ue=k(({styles:e=le}={})=>({parser:oe,get db(){return new j},renderer:M,styles:e,init:k(e=>{e.flowchart||={},e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,ne({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},`init`)}),`createFlowDiagram`),de=ue();export{de as n,le as r,ue as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{y as e,z as t}from"./chunk-BG4553SI-BNzrATwc.js";import{t as n}from"./src-CiSWvS1R.js";import{n as r}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";var i=Object.freeze({left:0,top:0,width:16,height:16}),a=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),o=Object.freeze({...i,...a}),s=Object.freeze({...o,body:``,hidden:!1}),c=Object.freeze({width:null,height:null}),l=Object.freeze({...c,...a}),u=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!d(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!d(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!d(e,n)?null:e}return null},d=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function f(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function p(e,t){let n=f(e,t);for(let r in s)r in a?r in e&&!(r in n)&&(n[r]=a[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function m(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function h(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=p(r[e]||i[e],a)}return o(t),n.forEach(o),p(e,a)}function g(e,t){if(e.icons[t])return h(e,t,[]);let n=m(e,[t])[t];return n?h(e,t,n):null}var _=/(-?[0-9.]*[0-9]+[0-9.]*)/g,v=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(_);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=v.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function b(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function x(e,t){return e?`<defs>`+e+`</defs>`+t:t}function S(e,t,n){let r=b(e);return x(r.defs,t+r.content+n)}var C=e=>e===`unset`||e===`undefined`||e===`none`;function w(e,t){let n={...o,...e},r={...l,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=S(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let s=r.width,c=r.height,u=i.width,d=i.height,f,p;s===null?(p=c===null?`1em`:c===`auto`?d:c,f=y(p,u/d)):(f=s===`auto`?u:s,p=c===null?y(f,d/u):c===`auto`?d:c);let m={},h=(e,t)=>{C(t)||(m[e]=t.toString())};h(`width`,f),h(`height`,p);let g=[i.left,i.top,u,d];return m.viewBox=g.join(` `),{attributes:m,viewBox:g,body:a}}var T=/\sid="(\S+)"/g,E=new Map;function D(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=E.get(e)||0;return E.set(e,t+1),t?`${e}${t}`:e}function O(e){let t=[],n;for(;n=T.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=D(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function k(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}var A={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},j=new Map,M=new Map,N=r(e=>{for(let t of e){if(!t.name)throw Error(`Invalid icon loader. Must have a "name" property with non-empty string value.`);if(n.debug(`Registering icon pack:`,t.name),`loader`in t)M.set(t.name,t.loader);else if(`icons`in t)j.set(t.name,t.icons);else throw n.error(`Invalid icon loader:`,t),Error(`Invalid icon loader. Must have either "icons" or "loader" property.`)}},`registerIconPacks`),P=r(e=>j.has(e)||M.has(e),`isIconPackRegistered`),F=r(async(e,t)=>{let r=u(e,!0,t!==void 0);if(!r)throw Error(`Invalid icon name: ${e}`);let i=r.prefix||t;if(!i)throw Error(`Icon name must contain a prefix: ${e}`);let a=j.get(i);if(!a){let e=M.get(i);if(!e)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await e(),prefix:i},j.set(i,a)}catch(e){throw n.error(e),Error(`Failed to load icon set: ${r.prefix}`)}}let o=g(a,r.name);if(!o)throw Error(`Icon not found: ${e}`);return o},`getRegisteredIconData`),I=r(async e=>{try{return await F(e),!0}catch{return!1}},`isIconAvailable`),L=r(async(r,i,a)=>{let o;try{o=await F(r,i?.fallbackPrefix)}catch(e){n.error(e),o=A}let s=w(o,i),c=k(O(s.body),{...s.attributes,...a});return t(c,e())},`getIconSVG`);export{A as a,N as i,I as n,P as r,L as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{w as e}from"./src-
|
|
1
|
+
import{w as e}from"./src-C_gRsKqw.js";import{n as t,t as n}from"./chunk-R3KSYZAL-DFQRbzGi.js";import{a as r}from"./chunk-6MUBBAK2-DAO7STBG.js";import{F as i,k as a,s as o,y as s,z as c}from"./chunk-BG4553SI-BNzrATwc.js";import{t as l}from"./src-CiSWvS1R.js";import{n as u}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";function d(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var f=d();function p(e){f=e}var m={exec:()=>null};function h(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(_.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var g=(()=>{try{return!0}catch{return!1}})(),_={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,`i`)},ee=/^(?:[ \t]*(?:\n|$))+/,te=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,ne=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,v=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,re=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,y=/(?:[*+-]|\d{1,9}[.)])/,ie=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ae=h(ie).replace(/bull/g,y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),oe=h(ie).replace(/bull/g,y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),b=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,se=/^[^\n]+/,x=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,ce=h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,x).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),le=h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,y).getRegex(),S=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,C=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,ue=h(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,C).replace(`tag`,S).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),de=h(b).replace(`hr`,v).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,S).getRegex(),w={blockquote:h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,de).getRegex(),code:te,def:ce,fences:ne,heading:re,hr:v,html:ue,lheading:ae,list:le,newline:ee,paragraph:de,table:m,text:se},fe=h(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,v).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,S).getRegex(),pe={...w,lheading:oe,table:fe,paragraph:h(b).replace(`hr`,v).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,fe).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,S).getRegex()},me={...w,html:h(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,C).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:m,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:h(b).replace(`hr`,v).replace(`heading`,` *#{1,6} *[^
|
|
2
2
|
]`).replace(`lheading`,ae).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},he=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ge=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,_e=/^( {2,}|\\)\n(?!\s*$)/,ve=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,T=/[\p{P}\p{S}]/u,E=/[\s\p{P}\p{S}]/u,ye=/[^\s\p{P}\p{S}]/u,be=h(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,E).getRegex(),xe=/(?!~)[\p{P}\p{S}]/u,Se=/(?!~)[\s\p{P}\p{S}]/u,Ce=/(?:[^\s\p{P}\p{S}]|~)/u,we=h(/link|precode-code|html/,`g`).replace(`link`,/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace(`precode-`,g?"(?<!`)()":"(^^|[^`])").replace(`code`,/(?<b>`+)[^`]+\k<b>(?!`)/).replace(`html`,/<(?! )[^<>]*?>/).getRegex(),Te=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Ee=h(Te,`u`).replace(/punct/g,T).getRegex(),De=h(Te,`u`).replace(/punct/g,xe).getRegex(),Oe=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,ke=h(Oe,`gu`).replace(/notPunctSpace/g,ye).replace(/punctSpace/g,E).replace(/punct/g,T).getRegex(),Ae=h(Oe,`gu`).replace(/notPunctSpace/g,Ce).replace(/punctSpace/g,Se).replace(/punct/g,xe).getRegex(),je=h(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,ye).replace(/punctSpace/g,E).replace(/punct/g,T).getRegex(),Me=h(/\\(punct)/,`gu`).replace(/punct/g,T).getRegex(),Ne=h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Pe=h(C).replace(`(?:-->|$)`,`-->`).getRegex(),Fe=h(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,Pe).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),D=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Ie=h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace(`label`,D).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Le=h(/^!?\[(label)\]\[(ref)\]/).replace(`label`,D).replace(`ref`,x).getRegex(),Re=h(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,x).getRegex(),ze=h(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,Le).replace(`nolink`,Re).getRegex(),Be=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,O={_backpedal:m,anyPunctuation:Me,autolink:Ne,blockSkip:we,br:_e,code:ge,del:m,emStrongLDelim:Ee,emStrongRDelimAst:ke,emStrongRDelimUnd:je,escape:he,link:Ie,nolink:Re,punctuation:be,reflink:Le,reflinkSearch:ze,tag:Fe,text:ve,url:m},Ve={...O,link:h(/^!?\[(label)\]\((.*?)\)/).replace(`label`,D).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,D).getRegex()},k={...O,emStrongRDelimAst:Ae,emStrongLDelim:De,url:h(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace(`protocol`,Be).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:h(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace(`protocol`,Be).getRegex()},He={...k,br:h(_e).replace(`{2,}`,`*`).getRegex(),text:h(k.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},A={normal:w,gfm:pe,pedantic:me},j={normal:O,gfm:k,breaks:He,pedantic:Ve},Ue={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},We=e=>Ue[e];function M(e,t){if(t){if(_.escapeTest.test(e))return e.replace(_.escapeReplace,We)}else if(_.escapeTestNoEncode.test(e))return e.replace(_.escapeReplaceNoEncode,We);return e}function Ge(e){try{e=encodeURI(e).replace(_.percentDecode,`%`)}catch{return null}return e}function Ke(e,t){let n=e.replace(_.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(_.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``)}for(;r<n.length;r++)n[r]=n[r].trim().replace(_.slashPipe,`|`);return n}function N(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function qe(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function Je(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);r.state.inLink=!0;let c={type:e[0].charAt(0)===`!`?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,c}function Ye(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
|
|
3
3
|
`).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
|
|
4
4
|
`)}var P=class{options;rules;lexer;constructor(e){this.options=e||f}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,``);return{type:`code`,raw:t[0],codeBlockStyle:`indented`,text:this.options.pedantic?e:N(e,`
|
|
@@ -62,11 +62,11 @@ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error
|
|
|
62
62
|
`)})}n[0]=n[0].replace(/^\r?\n/,``);var a=n[0];return t.forEach(function(e,t){var r=a.match(/(?:^|\n)( *)$/),i=r?r[1]:``,o=e;typeof e==`string`&&e.includes(`
|
|
63
63
|
`)&&(o=String(e).split(`
|
|
64
64
|
`).map(function(e,t){return t===0?e:`${i}${e}`}).join(`
|
|
65
|
-
`)),a+=o+n[t+1]}),a}var H=typeof performance<`u`&&typeof performance.now==`function`,U=
|
|
66
|
-
${
|
|
65
|
+
`)),a+=o+n[t+1]}),a}var H=typeof performance<`u`&&typeof performance.now==`function`,U=u(()=>H?performance.now():0,`now`),W=`🧜 `,Ze=`Mermaid render`,Qe=`Mermaid`,$e={parse:`tertiary`,prepare:`secondary`,measure:`primary`,layout:`primary-dark`,layoutCore:`error`,draw:`primary-light`,paint:`secondary-dark`,serialize:`tertiary-dark`,render:`primary-light`};(class{constructor(){this.enabled=!1,this.autoPrint=!0,this.records=[],this.maxRecords=200,this.roots=[],this.stack=[],this.buckets={}}static{u(this,`Profiler`)}enable(){return this.enabled=!0,this}disable(){return this.enabled=!1,this}start(e){this.enabled&&(this.roots=[],this.stack=[],this.buckets={},this.begin(e))}tickSync(e,t){if(!this.enabled)return t();let n=U();try{return t()}finally{this.buckets[e]=(this.buckets[e]??0)+(U()-n)}}async tick(e,t){if(!this.enabled)return t();let n=U();try{return await t()}finally{this.buckets[e]=(this.buckets[e]??0)+(U()-n)}}stop(){if(!this.enabled)return;for(;this.stack.length>0;)this.end();let e=this.roots.at(-1),t=this.runLabel??e?.name;return e&&(this.records.push({label:t??e.name,tree:e,buckets:{...this.buckets}}),this.records.length>this.maxRecords&&this.records.splice(0,this.records.length-this.maxRecords),this.autoPrint&&this.printSummary(e,t)),this.runLabel=void 0,e}begin(e){if(!this.enabled)return;let t={name:e,start:U(),duration:-1,children:[]},n=this.stack.at(-1);if(n?n.children.push(t):this.roots.push(t),this.stack.push(t),H&&typeof performance.mark==`function`)try{performance.mark(`${W}${e} \u25B6`)}catch{}}end(){if(!this.enabled)return;let e=this.stack.pop();if(!e)return;let t=U();if(e.duration=t-e.start,H&&typeof performance.measure==`function`)try{performance.measure(`${W}${e.name}`,{start:e.start,end:t,detail:{devtools:{dataType:`track-entry`,track:Ze,trackGroup:Qe,color:$e[e.name]??`primary`,tooltipText:`${e.name} \u2014 ${e.duration.toFixed(1)} ms`}}})}catch{}}async span(e,t){if(!this.enabled)return t();this.begin(e);try{return await t()}finally{this.end()}}report(){return this.records.at(-1)?.tree??this.roots.at(-1)}clear(){this.records.length=0,this.roots=[],this.stack=[],this.runLabel=void 0}reset(){this.roots=[],this.stack=[]}printSummary(e=this.report(),t){if(!e)return;let n=e.duration,r=t&&t!==e.name?`${e.name} [${t}]`:e.name,i=[`ms % phase`],a=u((e,t)=>{let r=` `.repeat(t),o=e.duration.toFixed(1).padStart(8),s=n>0?`${(e.duration/n*100).toFixed(0).padStart(3)}%`:` -`;i.push(`${o} ${s} ${r}${e.name}`);for(let n of e.children)a(n,t+1);if(e.children.length>0){let t=e.children.reduce((e,t)=>e+t.duration,0),n=e.duration-t;if(n>.5){let e=n.toFixed(1).padStart(8);i.push(`${e} ${r} (self)`)}}},`walk`);a(e,0);let o=Object.keys(this.buckets);if(o.length>0){i.push(`—— buckets (summed) ——`);for(let e of o)i.push(`${this.buckets[e].toFixed(1).padStart(8)} ${e}`)}console.log(`${W}mermaid render profile \xB7 ${r}
|
|
66
|
+
${i.join(`
|
|
67
67
|
`)}`)}}),globalThis.injected??={includeLargeFeatures:!0,profiling:!1,version:`0.0.0`};function et(e,{markdownAutoWrap:t}){return Xe(e.replace(/<br\/>/g,`
|
|
68
68
|
`).replace(/\n{2,}/g,`
|
|
69
|
-
`))}
|
|
70
|
-
`).forEach((e,n)=>{n!==0&&(
|
|
71
|
-
`)))throw Error(`splitLineToFitWidth does not support newlines in the line`);return J(e,t)}
|
|
72
|
-
`),u):
|
|
69
|
+
`))}u(et,`preprocessMarkdown`);function tt(e){return e.split(/\\n|\n|<br\s*\/?>/gi).map(e=>e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(e=>({content:e,type:`normal`}))??[])}u(tt,`nonMarkdownToLines`);function G(e,t={}){let n=et(e,t),r=V.lexer(n),i=[[]],a=0;function o(e,t=`normal`){e.type===`text`?e.text.split(`
|
|
70
|
+
`).forEach((e,n)=>{n!==0&&(a++,i.push([])),e.split(` `).forEach(e=>{e=e.replace(/'/g,`'`),e&&i[a].push({content:e,type:t})})}):e.type===`strong`||e.type===`em`?e.tokens.forEach(t=>{o(t,e.type)}):e.type===`html`&&i[a].push({content:e.text,type:`normal`})}return u(o,`processNode`),r.forEach(e=>{e.type===`paragraph`?e.tokens?.forEach(e=>{o(e)}):e.type===`html`?i[a].push({content:e.text,type:`normal`}):i[a].push({content:e.raw,type:`normal`})}),i}u(G,`markdownToLines`);function nt(e){return e?`<p>${e.replace(/\\n|\n/g,`<br />`)}</p>`:``}u(nt,`nonMarkdownToHTML`);function rt(e,{markdownAutoWrap:t}={}){let n=V.lexer(e);function r(e){return e.type===`text`?t===!1?e.text.replace(/\n */g,`<br/>`).replace(/ /g,` `):e.text.replace(/\n */g,`<br/>`):e.type===`strong`?`<strong>${e.tokens?.map(r).join(``)}</strong>`:e.type===`em`?`<em>${e.tokens?.map(r).join(``)}</em>`:e.type===`paragraph`?`<p>${e.tokens?.map(r).join(``)}</p>`:e.type===`space`?``:e.type===`html`?`${e.text}`:e.type===`escape`?e.text:(l.warn(`Unsupported markdown: ${e.type}`),e.raw)}return u(r,`output`),n.map(r).join(``)}u(rt,`markdownToHTML`);var it=(function(e){var t=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function n(){var n=this;n.reads=[],n.writes=[],n.raf=t.bind(e)}u(n,`FastDom`),n.prototype={constructor:n,runTasks:u(function(e){for(var t;t=e.shift();)t()},`runTasks`),measure:u(function(e,t){var n=t?e.bind(t):e;return this.reads.push(n),r(this),n},`measure`),mutate:u(function(e,t){var n=t?e.bind(t):e;return this.writes.push(n),r(this),n},`mutate`),clear:u(function(e){return a(this.reads,e)||a(this.writes,e)},`clear`),extend:u(function(e){if(typeof e!=`object`)throw Error(`expected object`);var t=Object.create(this);return o(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},`extend`),catch:null};function r(e){e.scheduled||(e.scheduled=!0,e.raf(i.bind(null,e)))}u(r,`scheduleFlush`);function i(e){var t=e.writes,n=e.reads,i;try{n.length,e.runTasks(n),t.length,e.runTasks(t)}catch(e){i=e}if(e.scheduled=!1,(n.length||t.length)&&r(e),i){if(i.message,e.catch)e.catch(i);else throw i}}u(i,`flush`);function a(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}u(a,`remove`);function o(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}return u(o,`mixin`),e.fastdom=e.fastdom||new n})(typeof window<`u`?window:globalThis),at={initialize:u(function(){this._tasks=new Map},`initialize`),mutate:u(function(e,t){return K(this,`mutate`,e,t)},`mutate`),measure:u(function(e,t){return K(this,`measure`,e,t)},`measure`),clear:u(function(e){var t=this._tasks,n=t.get(e);this.fastdom.clear(n),t.delete(e)},`clear`)};function K(e,t,n,r){var i=e._tasks,a=e.fastdom,o,s=new Promise(function(e,c){o=a[t](function(){i.delete(s);try{e(r?n.call(r):n())}catch(e){c(e)}},r)});return i.set(s,o),s}u(K,`create`);var{initialize:ot,mutate:st,measure:ct,clear:lt}=at,ut=at,dt=it.extend({raf(e){typeof queueMicrotask==`function`?queueMicrotask(e):setTimeout(e,0)}}).extend(ut);function ft(e){return Intl.Segmenter?[...new Intl.Segmenter().segment(e)].map(e=>e.segment):[...e]}u(ft,`splitTextToChars`);function pt(e,t){return q(e,[],ft(t.content),t.type)}u(pt,`splitWordToFitWidth`);function q(e,t,n,r){if(n.length===0)return[{content:t.join(``),type:r},{content:``,type:r}];let[i,...a]=n,o=[...t,i];return e([{content:o.join(``),type:r}])?q(e,o,a,r):(t.length===0&&i&&(t.push(i),n.shift()),[{content:t.join(``),type:r},{content:n.join(``),type:r}])}u(q,`splitWordToFitWidthRecursion`);function mt(e,t){if(e.some(({content:e})=>e.includes(`
|
|
71
|
+
`)))throw Error(`splitLineToFitWidth does not support newlines in the line`);return J(e,t)}u(mt,`splitLineToFitWidth`);function J(e,t,n=[],r=[]){if(e.length===0)return r.length>0&&n.push(r),n.length>0?n:[];let i=``;e[0].content===` `&&(i=` `,e.shift());let a=e.shift()??{content:` `,type:`normal`},o=[...r];if(i!==``&&o.push({content:i,type:`normal`}),o.push(a),t(o))return J(e,t,n,o);if(r.length>0)n.push(r),e.unshift(a);else if(a.content){let[r,i]=pt(t,a);n.push([r]),i.content&&e.unshift(i)}return J(e,t,n)}u(J,`splitLineToFitWidthRecursion`);function Y(e,t){t&&e.attr(`style`,t)}u(Y,`applyStyle`);var ht=16384;async function X(e,t,n,r,l=!1,u=s(),d=0){let f=e.append(`foreignObject`);f.attr(`width`,`${Math.min(10*n,ht)}px`),f.attr(`height`,`${Math.min(10*n,ht)}px`);let p=f.append(`xhtml:div`),m=a(t.label)?await i(t.label.replace(o.lineBreakRegex,`
|
|
72
|
+
`),u):c(t.label,u),h=t.isNode?`nodeLabel`:`edgeLabel`,g=p.append(`span`);g.html(m),Y(g,t.labelStyle),g.attr(`class`,`${h} ${r}`),Y(p,t.labelStyle),p.style(`display`,`table-cell`),p.style(`white-space`,`nowrap`),p.style(`line-height`,`1.5`),n!==1/0&&(p.style(`max-width`,n+`px`),p.style(`text-align`,`center`)),p.attr(`xmlns`,`http://www.w3.org/1999/xhtml`),l&&p.attr(`class`,`labelBkg`);let _=await dt.measure(()=>p.node().getBoundingClientRect());return _.width===n?(p.style(`display`,`table`),p.style(`white-space`,`break-spaces`),p.style(`width`,n+`px`)):_.width<d&&(p.style(`display`,`table`),p.style(`width`,d+`px`),p.style(`text-align`,`center`)),f.node()}u(X,`addHtmlSpan`);function Z(e,t,n,r=!1){let i=e.append(`tspan`).attr(`class`,`text-outer-tspan`).attr(`x`,0).attr(`y`,t*n-.1+`em`).attr(`dy`,n+`em`);return r&&i.attr(`text-anchor`,`middle`),i}u(Z,`createTspan`);function gt(e,t,n){let r=e.append(`text`),i=Z(r,1,t);$(i,n);let a=i.node().getComputedTextLength();return r.remove(),a}u(gt,`computeWidthOfText`);function _t(e,t,n){let r=e.append(`text`),i=Z(r,1,t);$(i,[{content:n,type:`normal`}]);let a=i.node()?.getBoundingClientRect();return a&&r.remove(),a}u(_t,`computeDimensionOfText`);function vt(e,t,n,r=!1,i=!1){let a=1.1,o=t.append(`g`),s=o.insert(`rect`).attr(`class`,`background`).attr(`style`,`stroke: none`),c=o.append(`text`).attr(`y`,`-10.1`);i&&c.attr(`text-anchor`,`middle`);let l=0;for(let t of n){let n=u(t=>gt(o,a,t)<=e,`checkWidth`),r=n(t)?[t]:mt(t,n);for(let e of r)$(Z(c,l,a,i),e),l++}if(r){let e=c.node().getBBox();return s.attr(`x`,e.x-2).attr(`y`,e.y-2).attr(`width`,e.width+4).attr(`height`,e.height+4),o.node()}return c.node()}u(vt,`createFormattedText`);function Q(e){return e.replace(/&(amp|lt|gt);/g,(e,t)=>{switch(t){case`amp`:return`&`;case`lt`:return`<`;case`gt`:return`>`;default:return e}})}u(Q,`decodeHTMLEntities`);function $(e,t){e.text(``),t.forEach((t,n)=>{let r=e.append(`tspan`).attr(`font-style`,t.type===`em`?`italic`:`normal`).attr(`class`,`text-inner-tspan`).attr(`font-weight`,t.type===`strong`?`bold`:`normal`);n===0?r.text(Q(t.content)):r.text(` `+Q(t.content))})}u($,`updateTextContentAndStyles`);async function yt(e,r={}){let i=[];e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(e,a,o)=>(i.push((async()=>{let i=`${a}:${o}`;return await t(i)?await n(i,void 0,{class:`label-icon`}):`<i class='${c(e,r).replace(`:`,` `)}'></i>`})()),e));let a=await Promise.all(i);return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>a.shift()??``)}u(yt,`replaceIconSubstring`);var bt=u(async(t,n=``,{style:i=``,isTitle:o=!1,classes:s=``,useHtmlLabels:c=!0,markdown:u=!0,isNode:d=!0,width:f=200,minWidth:p=0,addSvgBackground:m=!1}={},h)=>{if(l.debug(`XYZ createText`,n,i,o,s,c,d,`addSvgBackground: `,m),c){let e=u?rt(n,h):nt(n),o=await yt(r(e),h),c=n.replace(/\\\\/g,`\\`);return await X(t,{isNode:d,label:a(n)?c:o,labelStyle:i.replace(`fill:`,`color:`)},f,s,m,h,p)}{let a=r(n.replace(/<br\s*\/?>/g,`<br/>`)),s=vt(f,t,u?G(a.replace(`<br>`,`<br/>`),h):tt(a),n?m:!1,!d);if(d){/stroke:/.exec(i)&&(i=i.replace(`stroke:`,`lineColor:`));let t=i.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/color:/g,`fill:`);e(s).attr(`style`,t)}else{let t=i.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/background:/g,`fill:`);e(s).select(`rect`).attr(`style`,t.replace(/background:/g,`fill:`));let n=i.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/color:/g,`fill:`);e(s).select(`text`).attr(`style`,n)}return o?e(s).selectAll(`tspan.text-outer-tspan`).classed(`title-row`,!0):e(s).selectAll(`tspan.text-outer-tspan`).classed(`row`,!0),s}},`createText`);export{Xe as a,G as i,bt as n,dt as r,_t as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e}from"./chunk-BG4553SI-BNzrATwc.js";import{t}from"./src-CiSWvS1R.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";var r=n((n,r,o,s)=>{n.attr(`class`,o);let{width:c,height:l,x:u,y:d}=i(n,r);e(n,l,c,s);let f=a(u,d,c,l,r);n.attr(`viewBox`,f),t.debug(`viewBox configured: ${f} with padding: ${r}`)},`setupViewPortForSVG`),i=n((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),a=n((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`);export{r as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{b as e}from"./chunk-BG4553SI-BNzrATwc.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";var n=t(t=>{let{handDrawnSeed:n}=e();return{fill:t,hachureAngle:120,hachureGap:1.5,fillWeight:1.5,roughness:.7,stroke:t,seed:n}},`solidStateFill`),r=t(e=>Array.isArray(e)?e:e?e.split(`;`).map(e=>e.trim()).filter(Boolean):[],`normalizeStyleList`),i=t(e=>{let t=a([...e.cssCompiledStyles||[],...e.cssStyles||[],...r(e.labelStyle)]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),a=t(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),o=t(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),s=t(e=>{let{stylesArray:t}=i(e),n=[],r=[],a=[],s=[];return t.forEach(e=>{let t=e[0];o(t)?n.push(e.join(`:`)+` !important`):(r.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&a.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:r.join(`;`),stylesArray:t,borderStyles:a,backgroundStyles:s}},`styles2String`),c=t((t,n)=>{let{themeVariables:r,handDrawnSeed:a}=e(),{nodeBorder:o,mainBkg:s}=r,{stylesMap:c}=i(t);return Object.assign({roughness:.7,fill:c.get(`fill`)||s,fillStyle:`hachure`,fillWeight:1.5,hachureGap:1.5,stroke:c.get(`stroke`)||o,seed:a,strokeWidth:c.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:l(c.get(`stroke-dasharray`))},n)},`userNodeOverrides`),l=t(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);export{c as a,s as i,o as n,n as r,i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{w as e}from"./src-C_gRsKqw.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./src-CiSWvS1R.js";var n=t((t,n)=>{let r;return n===`sandbox`&&(r=e(`#i`+t)),e(n===`sandbox`?r.nodes()[0].contentDocument.body:`body`).select(`[id="${t}"]`)},`getDiagramElement`);export{n as t};
|