@microvac/ui 0.1.0-rc.14 → 0.1.0-rc.15
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/assets/{ActiveAgentsPanel-C9AP9hJu.js → ActiveAgentsPanel-BEx06tMt.js} +1 -1
- package/dist/assets/{AdapterManager-CmxTUKJH.js → AdapterManager-3kEEQWFJ.js} +1 -1
- package/dist/assets/{AdvancedToolsRoute-CXsQnTei.js → AdvancedToolsRoute-CgS6B-oh.js} +1 -1
- package/dist/assets/{AgentActionButtons-DWq2OuVK.js → AgentActionButtons-Cz3jCEd7.js} +1 -1
- package/dist/assets/{AgentAdvancedTab-dhBDxF-H.js → AgentAdvancedTab-BG6ZIAuN.js} +1 -1
- package/dist/assets/{AgentBulkSettingsSheet-DYT4ovDg.js → AgentBulkSettingsSheet-BrrbvspS.js} +1 -1
- package/dist/assets/{AgentChat-r0TPOfPK.js → AgentChat-Dw9iXD6H.js} +1 -1
- package/dist/assets/{AgentDetailPage-Bc_okBuS.js → AgentDetailPage-CuVIHv_q.js} +3 -3
- package/dist/assets/{AgentIdentityChip-CB2NBXkZ.js → AgentIdentityChip-BrVCcuHQ.js} +1 -1
- package/dist/assets/{AgentRosterFilters-b7qMLv8-.js → AgentRosterFilters-GQ2bdXfW.js} +2 -2
- package/dist/assets/{Agents-BsvXy3pZ.js → Agents-clrVQnvc.js} +2 -2
- package/dist/assets/{Agents.production-BeOZmzaF.js → Agents.production-DTopo7XB.js} +2 -2
- package/dist/assets/{AnimatedDialogContent-CWshmxP2.js → AnimatedDialogContent-CDLfw-dJ.js} +1 -1
- package/dist/assets/{AppDetail-DbqENTF_.js → AppDetail-BcWBg5yW.js} +1 -1
- package/dist/assets/{AppNotConnected-BhnCqL0F.js → AppNotConnected-NgfyHZ4L.js} +1 -1
- package/dist/assets/{ApprovalDetail-B2KiYLTj.js → ApprovalDetail-Dm_1V4tC.js} +1 -1
- package/dist/assets/{Approvals-j-wRmqKj.js → Approvals-i5AB3JPj.js} +1 -1
- package/dist/assets/{AppsConnect-CcPVEZ0C.js → AppsConnect-D660Tpuo.js} +1 -1
- package/dist/assets/{AppsReview-B8eWvKkS.js → AppsReview-DdTqOisY.js} +1 -1
- package/dist/assets/{ArtifactEmptyGraphic-5mdkS5jj.js → ArtifactEmptyGraphic-DzxCruYA.js} +1 -1
- package/dist/assets/{Artifacts-Bz7Oo6VX.js → Artifacts-CkXBz6nh.js} +1 -1
- package/dist/assets/{AssigneePickerInner-DdpF7hck.js → AssigneePickerInner-BNjyABBe.js} +1 -1
- package/dist/assets/{AssistantConnection-BpaaJDc_.js → AssistantConnection-CNF6mDmO.js} +1 -1
- package/dist/assets/{AttentionInlineVerbs-DlPQVCO-.js → AttentionInlineVerbs-BiyZ1ekZ.js} +1 -1
- package/dist/assets/{AttentionQueueRow-BC6ezctS.js → AttentionQueueRow-Bh0dKHpF.js} +1 -1
- package/dist/assets/{AuditHub-BVP7LKL9.js → AuditHub-BK848cb4.js} +1 -1
- package/dist/assets/{AuditRuns-DqizHgX1.js → AuditRuns-CUdlbP7S.js} +1 -1
- package/dist/assets/{Auth-DOF0snjp.js → Auth-DDqxm5gD.js} +1 -1
- package/dist/assets/{BoardChat-BYAbDtfd.js → BoardChat-fvKqk0R7.js} +1 -1
- package/dist/assets/{BoardClaim-7y41Pr8e.js → BoardClaim-BEC5BZfz.js} +1 -1
- package/dist/assets/{BootstrapSetupUxLab-BftH1vOv.js → BootstrapSetupUxLab-CXzErrin.js} +1 -1
- package/dist/assets/{Browse-Ck01W1Yl.js → Browse-DoovSMuF.js} +1 -1
- package/dist/assets/{BudgetPolicyCard-CKhrzfgy.js → BudgetPolicyCard-BYMlczCq.js} +1 -1
- package/dist/assets/{CaseDetail-qlXKJ66D.js → CaseDetail-UMAcSH_x.js} +1 -1
- package/dist/assets/{CaseStatus-B3RiZVDH.js → CaseStatus-BI0aMl9l.js} +1 -1
- package/dist/assets/{Cases-CFV3V-5X.js → Cases-CMTkGghU.js} +1 -1
- package/dist/assets/{ChatEndpointDetail-7Hi5TJNt.js → ChatEndpointDetail-CocNEInH.js} +1 -1
- package/dist/assets/{ChatEndpointSetup-CtwgH6sg.js → ChatEndpointSetup-Cyi2tI9K.js} +1 -1
- package/dist/assets/{ChatIdentityConfirm-CXjksBwX.js → ChatIdentityConfirm-Ba3JuTX1.js} +1 -1
- package/dist/assets/{CliAuth-KVjrGMfZ.js → CliAuth-D2jnueGH.js} +1 -1
- package/dist/assets/{Companies-oeJem3De.js → Companies-K75I9dJs.js} +1 -1
- package/dist/assets/{CompanyAccess-vWT6G-n_.js → CompanyAccess-Cw6nLUhE.js} +1 -1
- package/dist/assets/{CompanyActivity-zOzzeN1B.js → CompanyActivity-BsgmVpWS.js} +1 -1
- package/dist/assets/CompanyActivity.production-w-KGxvo6.js +1 -0
- package/dist/assets/{CompanyConnections-llSEaVa2.js → CompanyConnections-yRPYSdm7.js} +1 -1
- package/dist/assets/{CompanyEnvironments-DNyyGC_S.js → CompanyEnvironments-BA7kWdOJ.js} +1 -1
- package/dist/assets/{CompanyExport-CFa-F8Es.js → CompanyExport-DfsK4b9c.js} +1 -1
- package/dist/assets/{CompanyImport-DG6qwQ8F.js → CompanyImport-DJHAsmSF.js} +1 -1
- package/dist/assets/{CompanySettings-Dv5Z3ZQi.js → CompanySettings-DwzHGXec.js} +1 -1
- package/dist/assets/{CompanySettingsPluginPage-CZk1d_0d.js → CompanySettingsPluginPage-Bpa81PF3.js} +1 -1
- package/dist/assets/{CompanySkills-CdzWhJfQ.js → CompanySkills-eTqgbqQN.js} +1 -1
- package/dist/assets/{CompanySkills.production-IoCRW5FQ.js → CompanySkills.production-CQSWfH0r.js} +1 -1
- package/dist/assets/{ConfigureBuiltInAgentModal-BwW7XQ1O.js → ConfigureBuiltInAgentModal-DgeD7t_i.js} +1 -1
- package/dist/assets/{CopyableGatewayUrl-PTn061ft.js → CopyableGatewayUrl-B6K3rOal.js} +1 -1
- package/dist/assets/{CordisPluginSettings-C_BeeGEc.js → CordisPluginSettings-DD3AnD2G.js} +1 -1
- package/dist/assets/{Costs-DhuNxwSj.js → Costs-orBM8T-a.js} +1 -1
- package/dist/assets/{CrossIssueCollaborationUxLab-ZaAXq46r.js → CrossIssueCollaborationUxLab-Bv9y9-NE.js} +1 -1
- package/dist/assets/{Dashboard-BaDnqiKo.js → Dashboard-CrSBNKX1.js} +1 -1
- package/dist/assets/{DashboardLive-D-Ed7osd.js → DashboardLive-Cg8C9RiS.js} +1 -1
- package/dist/assets/{DecisionDateChips-D3pl_mLn.js → DecisionDateChips-BLZKZH71.js} +1 -1
- package/dist/assets/{DecisionHistoryPanel-D5MzyrOh.js → DecisionHistoryPanel-yK-CP7Qg.js} +1 -1
- package/dist/assets/{DecisionQueuePage-D3UZ9oRk.js → DecisionQueuePage-BKXbERai.js} +1 -1
- package/dist/assets/{DesignGuide-COTo7ICj.js → DesignGuide-2FswNsXz.js} +1 -1
- package/dist/assets/{DesignSandboxTaskThread-CMeCSQid.js → DesignSandboxTaskThread-CGU--FXR.js} +1 -1
- package/dist/assets/{EmailConnectionAccess-kCL7obSr.js → EmailConnectionAccess-CZ5QRKyg.js} +1 -1
- package/dist/assets/{EmailEndpointSetup-BGrksR_u.js → EmailEndpointSetup-BI2vsd8Y.js} +1 -1
- package/dist/assets/{EnforcementBanner-_Eb_nK3M.js → EnforcementBanner-B-iX466h.js} +1 -1
- package/dist/assets/{EntityRow-gpsOgEtu.js → EntityRow-BsICt6pd.js} +1 -1
- package/dist/assets/{ExecutionWorkspaceDetail-DwGkH6d3.js → ExecutionWorkspaceDetail-CMqR9puh.js} +1 -1
- package/dist/assets/{ExternalAgentInviteDialog-CGid6pM9.js → ExternalAgentInviteDialog-De30ZrLP.js} +1 -1
- package/dist/assets/{FilterBar-1D-VhrvG.js → FilterBar-rCmsTtG4.js} +1 -1
- package/dist/assets/{FolderControls-CQ6kef3c.js → FolderControls-CmnB7Ap-.js} +1 -1
- package/dist/assets/{GatewayDetail-CCqekM1J.js → GatewayDetail-Duw9pJ10.js} +1 -1
- package/dist/assets/{GatewaysList-nFsRcszh.js → GatewaysList-BBhVGhRq.js} +1 -1
- package/dist/assets/{GitHubConnectionRecovery-B9sFWJup.js → GitHubConnectionRecovery-6VshLoNV.js} +1 -1
- package/dist/assets/{GoalDetail-BQ8y55P-.js → GoalDetail-CahntjlI.js} +1 -1
- package/dist/assets/{GoalTree-laRjXp0P.js → GoalTree-CU4GBFCh.js} +1 -1
- package/dist/assets/{Goals-Cm14EaeP.js → Goals-CzM2NDFR.js} +1 -1
- package/dist/assets/{InstanceAccess-DxQ-Akt_.js → InstanceAccess-CZzkE65W.js} +1 -1
- package/dist/assets/{InstanceExperimentalSettings-BxwqbXNw.js → InstanceExperimentalSettings-DWumKtOK.js} +1 -1
- package/dist/assets/{InviteLanding-Cf0L_u6s.js → InviteLanding-BIy2z50u.js} +1 -1
- package/dist/assets/{IssueChatLongThreadPerf-BfsF6FdF.js → IssueChatLongThreadPerf-D4DJvdOG.js} +1 -1
- package/dist/assets/{JoinRequestQueue-BXCdTFG_.js → JoinRequestQueue-C5rauGYm.js} +1 -1
- package/dist/assets/{Layout.production-CqzU0qMi.js → Layout.production-BSDWnupa.js} +1 -1
- package/dist/assets/{McpConnect-COWnZ9Eb.js → McpConnect-BN8ST0RS.js} +1 -1
- package/dist/assets/{MembershipAction-C9i9Sdmi.js → MembershipAction-DTjhGn-L.js} +1 -1
- package/dist/assets/{MetricCard-Bwnt3_p3.js → MetricCard-CeL9Pdn5.js} +1 -1
- package/dist/assets/{MissingPluginTabPlaceholder-B0Zxv1Kx.js → MissingPluginTabPlaceholder-CbQiSVnZ.js} +1 -1
- package/dist/assets/{NewAgent-BIlJ5Dyt.js → NewAgent-BszrNpQk.js} +1 -1
- package/dist/assets/{NewAgentDialog-CJdMxxYL.js → NewAgentDialog-U9qAcTzc.js} +1 -1
- package/dist/assets/{NewGoalDialog-B8izfKLm.js → NewGoalDialog-DqKbk4-i.js} +1 -1
- package/dist/assets/{NewProjectDialog-DXqjTYFK.js → NewProjectDialog-DrlUAF-N.js} +1 -1
- package/dist/assets/{OnboardingPrimitives-DHYBqn_0.js → OnboardingPrimitives-BkgPF4Mu.js} +1 -1
- package/dist/assets/{OnboardingWizard-DqSfZ13V.js → OnboardingWizard-CMBMcuXv.js} +1 -1
- package/dist/assets/{OrgChart.production-DrSFUf7i.js → OrgChart.production-BLczTjRj.js} +1 -1
- package/dist/assets/{PaperclipCloudOAuthHandoff-jPUvjJ8q.js → PaperclipCloudOAuthHandoff-BTtF8UPD.js} +1 -1
- package/dist/assets/{PluginManager-h3LFPaUq.js → PluginManager-CCcqlfgK.js} +1 -1
- package/dist/assets/{PluginPage-E5Im4454.js → PluginPage-B1empV69.js} +1 -1
- package/dist/assets/{PluginSettings-BBO0jAgo.js → PluginSettings-DtopaRqR.js} +1 -1
- package/dist/assets/{ProfileDetailRoute-CQBD7fms.js → ProfileDetailRoute-BqvVpBZi.js} +1 -1
- package/dist/assets/{ProfileSettings-BwnVEHLp.js → ProfileSettings-5__tVfGi.js} +1 -1
- package/dist/assets/{ProfileWizardRoute-By_SC6Gn.js → ProfileWizardRoute-vt-MRLuD.js} +1 -1
- package/dist/assets/{ProjectDetail-CbiwFBAE.js → ProjectDetail-DJ4zjube.js} +1 -1
- package/dist/assets/{ProjectRepositoryInput-DZF9bX4E.js → ProjectRepositoryInput-BJcnj3At.js} +1 -1
- package/dist/assets/{ProjectWorkspaceDetail-DPsl_4bD.js → ProjectWorkspaceDetail-DEAO3q6v.js} +1 -1
- package/dist/assets/{ProjectWorkspacesContent-COH4dOWK.js → ProjectWorkspacesContent-CZvO7p0i.js} +1 -1
- package/dist/assets/{Projects-Ch9Qu7sn.js → Projects-Dm7-zXUH.js} +1 -1
- package/dist/assets/{QuotaBar-DIFOT9Uh.js → QuotaBar-Drp3CaxX.js} +1 -1
- package/dist/assets/{RepositoryEditor-DHB1bqId.js → RepositoryEditor-BT_VAkJu.js} +1 -1
- package/dist/assets/{Responsibilities-C5O0JXXG.js → Responsibilities-DbUEtGZu.js} +1 -1
- package/dist/assets/{ResponsibilityDetail-D6NpZpkm.js → ResponsibilityDetail--S8_GOkb.js} +1 -1
- package/dist/assets/{ResponsibleUserDenialUxLab-CFrIWYwe.js → ResponsibleUserDenialUxLab-1PB3JNG0.js} +1 -1
- package/dist/assets/{ReviewQueueCard-BPC4Lm67.js → ReviewQueueCard-B8w9aXKU.js} +1 -1
- package/dist/assets/{RoutineAuditActivity-sKyzMajz.js → RoutineAuditActivity-BCo7pYe5.js} +1 -1
- package/dist/assets/{RoutineDetail-CG8HF5fp.js → RoutineDetail-C9Dwn5G9.js} +1 -1
- package/dist/assets/{RoutineRunVariablesDialog-CKh3CmLD.js → RoutineRunVariablesDialog-Baomcbe3.js} +1 -1
- package/dist/assets/{Routines-tF2qfUKo.js → Routines-Dkv4gJno.js} +1 -1
- package/dist/assets/{Routines.production-BTyj1Ljr.js → Routines.production-Cs2Y-lpt.js} +1 -1
- package/dist/assets/{RoutinesToolbar-CvUFVCGN.js → RoutinesToolbar-BNKfCrTo.js} +1 -1
- package/dist/assets/{Search-Z9D0NuS1.js → Search-CVx4cl2o.js} +1 -1
- package/dist/assets/{Secrets-DgmbLOJK.js → Secrets-C2qv2HKZ.js} +1 -1
- package/dist/assets/{SkillBinaryFile-F3_9qcaM.js → SkillBinaryFile-DDkhLlfC.js} +1 -1
- package/dist/assets/{SkillCardIcon-CXHUCMej.js → SkillCardIcon-Cp_hws0N.js} +1 -1
- package/dist/assets/{SkillFolderTree-CB3lrTIE.js → SkillFolderTree-Cv0CmfYx.js} +1 -1
- package/dist/assets/{SkillSourceTree-BbuciCo6.js → SkillSourceTree-DmjlUswf.js} +1 -1
- package/dist/assets/{SkillSources-Dlo6Cew3.js → SkillSources-nmlYypUU.js} +1 -1
- package/dist/assets/{SkillStudio-ZO-Nf7eI.js → SkillStudio-BK3y_3zr.js} +1 -1
- package/dist/assets/{SkillsNavigationTabs-B9Iqnlqt.js → SkillsNavigationTabs-DRwMP1eu.js} +1 -1
- package/dist/assets/{SpekoPhoneCallback-C4VnMiZh.js → SpekoPhoneCallback-Cqi7AIyH.js} +1 -1
- package/dist/assets/{SpekoProviderSetup-I4evPZb3.js → SpekoProviderSetup-CJI4oXk5.js} +1 -1
- package/dist/assets/{StatusCards-D0MVzbsw.js → StatusCards-DKyyY81S.js} +1 -1
- package/dist/assets/{SummarySlotCard-DUXgZPxG.js → SummarySlotCard-f3RomdZS.js} +1 -1
- package/dist/assets/{TailscaleConnector-CMhT73gj.js → TailscaleConnector-yQWLR1Ra.js} +1 -1
- package/dist/assets/{TaskChatLab-D9-KAE-7.js → TaskChatLab-Dsr7eyj4.js} +1 -1
- package/dist/assets/{TaskSummaryList-CUxieFNe.js → TaskSummaryList-eFDfK_QH.js} +1 -1
- package/dist/assets/{Timeline-BNMoRbtK.js → Timeline-BWA9dyk6.js} +1 -1
- package/dist/assets/{ToolsAdminGate-CEr0zy2T.js → ToolsAdminGate-DpBg30hQ.js} +1 -1
- package/dist/assets/{TrustPresetSection-B9YXZtkh.js → TrustPresetSection-DtWjK9Kp.js} +1 -1
- package/dist/assets/{UserProfile-D-tnW96X.js → UserProfile-C66UI5xx.js} +1 -1
- package/dist/assets/{WebhookUrlWarning-Ba_DixKh.js → WebhookUrlWarning-CDygVnDH.js} +1 -1
- package/dist/assets/{WhatNeedsMe-B-Jzj8_M.js → WhatNeedsMe-BQ82RHus.js} +1 -1
- package/dist/assets/{Workspaces-BqhDI_Bl.js → Workspaces-DrjJes30.js} +1 -1
- package/dist/assets/{abnfDiagram-YUKMZFIV-Bn9P-nUW.js → abnfDiagram-YUKMZFIV-Crkksu2D.js} +1 -1
- package/dist/assets/{architecture-WOLXFQ4H-V1ldsZlt.js → architecture-WOLXFQ4H-bHU8FW0c.js} +1 -1
- package/dist/assets/{architectureDiagram-47P4ROYG-BkYxt-Gc.js → architectureDiagram-47P4ROYG-Bj5Styf9.js} +1 -1
- package/dist/assets/{arrow-down-left-o81ENfeW.js → arrow-down-left-Ck9VQyqQ.js} +1 -1
- package/dist/assets/{blockDiagram-E7TT5TSB-BO7pPYbp.js → blockDiagram-E7TT5TSB-OeHpNCQ-.js} +1 -1
- package/dist/assets/{budgets-0Dw6TH1A.js → budgets-CAWPqcn4.js} +1 -1
- package/dist/assets/{building-complex-DciZTnys.js → building-complex-Dxiyk_pH.js} +1 -1
- package/dist/assets/{c4Diagram-CRA5TL53-D4EpmmzV.js → c4Diagram-CRA5TL53-QbK5p76P.js} +1 -1
- package/dist/assets/channel-BSmZkKA8.js +1 -0
- package/dist/assets/{chat-channels-DWyry-9M.js → chat-channels-CzTZV2fr.js} +1 -1
- package/dist/assets/{chunk-2BW5OAIV-DFXIyCJy.js → chunk-2BW5OAIV-Ckr4HfBO.js} +1 -1
- package/dist/assets/{chunk-3YJQHVM4-Dj5wEKIw.js → chunk-3YJQHVM4-C_uoPpLR.js} +1 -1
- package/dist/assets/{chunk-4EA7E6EY-5XiUVgzK.js → chunk-4EA7E6EY-BeMEfIRS.js} +1 -1
- package/dist/assets/{chunk-7TKQ45FW-D0opKcsy.js → chunk-7TKQ45FW-DiwqWHvN.js} +1 -1
- package/dist/assets/{chunk-AW2ZBBNX-DnjsTe04.js → chunk-AW2ZBBNX-Cf57K3PO.js} +1 -1
- package/dist/assets/{chunk-DBDB3WZW-DNqSQPZ0.js → chunk-DBDB3WZW-B2qouVQO.js} +1 -1
- package/dist/assets/{chunk-E2ZNV5FY-cjSf_BTz.js → chunk-E2ZNV5FY-DG8wQ_NS.js} +1 -1
- package/dist/assets/{chunk-EU5HNXII-CZYBiaSw.js → chunk-EU5HNXII-cxRrXRGV.js} +1 -1
- package/dist/assets/{chunk-FVRAUYC3-DSc0-wJA.js → chunk-FVRAUYC3-Dizswk0V.js} +1 -1
- package/dist/assets/{chunk-HJ2JQQFS-MXK0gYSP.js → chunk-HJ2JQQFS-DL4lnpSv.js} +1 -1
- package/dist/assets/{chunk-HTAEGDNF-BjDZm_5k.js → chunk-HTAEGDNF-Zxjdb6kj.js} +1 -1
- package/dist/assets/{chunk-KQW6MTUR-Bfj0tDmO.js → chunk-KQW6MTUR-BsVaJdnu.js} +1 -1
- package/dist/assets/{chunk-NTY3LDVX-Bpz5TkVb.js → chunk-NTY3LDVX-DyT9N5sM.js} +1 -1
- package/dist/assets/{chunk-VPRB5NB3-CfeHjtbb.js → chunk-VPRB5NB3-BNz5CtBn.js} +1 -1
- package/dist/assets/{chunk-XC4XBNZT-FBCWmi6K.js → chunk-XC4XBNZT-CCgIhjYS.js} +1 -1
- package/dist/assets/{circle-slash-DqKFFqfb.js → circle-slash-uNv_ha0X.js} +1 -1
- package/dist/assets/{classDiagram-v2-K4WV4PDN-DbC_J0kK.js → classDiagram-v2-K4WV4PDN-Cdh3CEl4.js} +1 -1
- package/dist/assets/{coins-BztUbqyl.js → coins-BDAh8hDQ.js} +1 -1
- package/dist/assets/{collections-BxrcELwt.js → collections-B58p51lw.js} +1 -1
- package/dist/assets/{connection-owner-D-ikSHyR.js → connection-owner-D8fNrFqC.js} +1 -1
- package/dist/assets/{cynefin-EF2NZ3EQ-COwSJ4qP.js → cynefin-EF2NZ3EQ-BkwhfqJ0.js} +1 -1
- package/dist/assets/{cynefinDiagram-3GCD6N5R-diaEJq9Y.js → cynefinDiagram-3GCD6N5R-DuGb_wq2.js} +1 -1
- package/dist/assets/{dagre-W4DXFKR2-BPAMRuIj.js → dagre-W4DXFKR2-Bxq_Mhia.js} +1 -1
- package/dist/assets/{diagram-2UJZ2QOL-BvRnO1Id.js → diagram-2UJZ2QOL-B-P_hrXV.js} +1 -1
- package/dist/assets/{diagram-OVF4WLC6-CDgBeD0m.js → diagram-OVF4WLC6-Ds0BqQWH.js} +1 -1
- package/dist/assets/{diagram-PFPMY2P6-DAw9lREG.js → diagram-PFPMY2P6-Dpqb2-Cb.js} +1 -1
- package/dist/assets/{diagram-UMYRVEAY-ZQqQn22t.js → diagram-UMYRVEAY-BJSoxjiu.js} +1 -1
- package/dist/assets/{diagram-YEKJPTXX-CoJtGgWs.js → diagram-YEKJPTXX-BxaG_9tT.js} +1 -1
- package/dist/assets/{diagram-ZIFT7M5P-qW_Zn_bO.js → diagram-ZIFT7M5P-6acvVOtc.js} +1 -1
- package/dist/assets/{dist-B2E6oBK1.js → dist-0EWXio4m.js} +1 -1
- package/dist/assets/{dist-IcdxEhjC.js → dist-BGvZP_Cl.js} +1 -1
- package/dist/assets/{dist-DXjkgaZX.js → dist-BZ7AbEhN.js} +1 -1
- package/dist/assets/{dist-_EtfntKJ.js → dist-BlosHr86.js} +1 -1
- package/dist/assets/{dist-DylHAy-6.js → dist-Bmr4uhSk.js} +1 -1
- package/dist/assets/{dist-DML0cJH3.js → dist-C6yMfMNS.js} +1 -1
- package/dist/assets/{dist-Dl94YqeS.js → dist-CMZQedYl.js} +1 -1
- package/dist/assets/{dist-DKyBHaH2.js → dist-C_N_-eaT.js} +1 -1
- package/dist/assets/{dist-CvRpZH53.js → dist-CaUbG4Hl.js} +1 -1
- package/dist/assets/{dist-ptDa9fKh.js → dist-Cn7-nxjU.js} +1 -1
- package/dist/assets/{dist-CG-phytt.js → dist-Cnj95_pX.js} +1 -1
- package/dist/assets/{dist-DbXGl-wj.js → dist-D9DR7k9k.js} +1 -1
- package/dist/assets/{dist-CjRqeLFz.js → dist-DIwsVdS2.js} +1 -1
- package/dist/assets/{dist-BCJybC91.js → dist-DVE0lLId.js} +1 -1
- package/dist/assets/{dist-CPgRB-NQ.js → dist-DkAPL4CQ.js} +1 -1
- package/dist/assets/{dist-CeSzCyeG.js → dist-Dl6N3kpQ.js} +1 -1
- package/dist/assets/{dist-DZruZxAk.js → dist-DmBvXBzK.js} +1 -1
- package/dist/assets/{dist-CdmdXwCZ.js → dist-DpgXK0aZ.js} +1 -1
- package/dist/assets/{dist-CYRzGbSY.js → dist-gMRyU9GJ.js} +1 -1
- package/dist/assets/{dist-CG6fC1Db.js → dist-jQQX2kOU.js} +1 -1
- package/dist/assets/{dist-DZIxMHOT.js → dist-lUaUoFTq.js} +1 -1
- package/dist/assets/{dist-CuwPDbnL.js → dist-qw1ZF2vD.js} +1 -1
- package/dist/assets/{dist-B6Qde8KJ.js → dist-rH4qrNAn.js} +1 -1
- package/dist/assets/{ebnfDiagram-VR2GEFS7-DA4UvKXV.js → ebnfDiagram-VR2GEFS7-Ytj3Z5qC.js} +1 -1
- package/dist/assets/{elk-IJKZMXRS-CM74d3mJ.js → elk-IJKZMXRS-CJurNqqK.js} +1 -1
- package/dist/assets/{erDiagram-O2IAPWRE-d869V0qL.js → erDiagram-O2IAPWRE-hyXckW2d.js} +1 -1
- package/dist/assets/{eventmodeling-K75KTNOO-C-oz_eyI.js → eventmodeling-K75KTNOO-D3xQujrh.js} +1 -1
- package/dist/assets/flowDiagram-OXPTDLAJ-D4ojBTuY.js +1 -0
- package/dist/assets/{folder-plus-CxWXoYCi.js → folder-plus-BJZSMzuj.js} +1 -1
- package/dist/assets/{ganttDiagram-R7TSEDQI-BBul4Kpm.js → ganttDiagram-R7TSEDQI-C8U_ITl4.js} +1 -1
- package/dist/assets/{gitGraph-VSP46ZUC-BriEZgAq.js → gitGraph-VSP46ZUC-CDeq3yKT.js} +1 -1
- package/dist/assets/{gitGraphDiagram-XJZIOB7I-I12rg8s1.js → gitGraphDiagram-XJZIOB7I-CST3EWE9.js} +1 -1
- package/dist/assets/{goals-CvMWzjH4.js → goals-BNJZ4nzg.js} +1 -1
- package/dist/assets/{index-Bt31d8ga.js → index-BJtnP7H1.js} +8 -8
- package/dist/assets/{info-OHQRW6UA-CxrcGiem.js → info-OHQRW6UA-CPvTWk7J.js} +1 -1
- package/dist/assets/{infoDiagram-5W2HQ5XZ-4Sm0LiOu.js → infoDiagram-5W2HQ5XZ-BPUiNdxI.js} +1 -1
- package/dist/assets/{ishikawaDiagram-K3B6WC7H-CKXvKV-s.js → ishikawaDiagram-K3B6WC7H-D5Z3rmaA.js} +1 -1
- package/dist/assets/{issue-detail-4PCbYpdv.js → issue-detail-CZfjXs0M.js} +3 -3
- package/dist/assets/{journeyDiagram-COXZFDF6-BHsrZLvQ.js → journeyDiagram-COXZFDF6-CEkwEYdR.js} +1 -1
- package/dist/assets/{kanban-definition-P3RFRI5V-8HhnIs_l.js → kanban-definition-P3RFRI5V-8h_R6Qjq.js} +1 -1
- package/dist/assets/{line-rrKrpB-b.js → line-Ljt_vfsb.js} +1 -1
- package/dist/assets/{link-BecLzmfo.js → link-DvgFK0mz.js} +1 -1
- package/dist/assets/{list-filter-BC3D4IoX.js → list-filter-BR4_dvwm.js} +1 -1
- package/dist/assets/{log-in-BJCGwGGT.js → log-in-Dvx9-FMC.js} +1 -1
- package/dist/assets/{mcpSkills-DRs3pGKn.js → mcpSkills-76szK_k1.js} +1 -1
- package/dist/assets/{mermaid-parser.core-DmG0b4S0.js → mermaid-parser.core-BjFu937m.js} +3 -3
- package/dist/assets/{mermaid.core-D1vILTuF.js → mermaid.core-B0t95EIS.js} +4 -4
- package/dist/assets/{mindmap-definition-LZFPQGKD-DIMpL0de.js → mindmap-definition-LZFPQGKD-TVnHYUR4.js} +1 -1
- package/dist/assets/{packet-JDAUHWVQ-BnbYht3G.js → packet-JDAUHWVQ-aNGiRWLy.js} +1 -1
- package/dist/assets/{pegDiagram-BGZESJAR-BUjtJVjT.js → pegDiagram-BGZESJAR-DDadxqWQ.js} +1 -1
- package/dist/assets/{pie-XZMESJXO-CM4VXUb-.js → pie-XZMESJXO-CydFP1hd.js} +1 -1
- package/dist/assets/{pieDiagram-CAPJLFHJ-B3v8ryvG.js → pieDiagram-CAPJLFHJ-KhdUDwDS.js} +1 -1
- package/dist/assets/{power-0mw59G-l.js → power-sYV-WuqQ.js} +1 -1
- package/dist/assets/{profile-summary-B5rPf8v-.js → profile-summary-D4LPX-Dv.js} +1 -1
- package/dist/assets/{quadrantDiagram-GDMTTRAM-Cv-dS2Rn.js → quadrantDiagram-GDMTTRAM-B1X8K2Fs.js} +1 -1
- package/dist/assets/{radar-ABXABTNO-v6yZj4Fk.js → radar-ABXABTNO-BqodkLpx.js} +1 -1
- package/dist/assets/{railroad-I3PHUGI6-D-U8Cs0m.js → railroad-I3PHUGI6-HmRKXDJj.js} +1 -1
- package/dist/assets/{railroad-abnf-LNEFI6M7-Dw3fkrVy.js → railroad-abnf-LNEFI6M7-CkBttaHp.js} +1 -1
- package/dist/assets/{railroad-ebnf-DWYD2UWJ-_ln-e3Tx.js → railroad-ebnf-DWYD2UWJ-C6DBawFA.js} +1 -1
- package/dist/assets/{railroad-peg-JR7BVNR7-Bf8u1-RZ.js → railroad-peg-JR7BVNR7-Z9df3u5o.js} +1 -1
- package/dist/assets/{railroadDiagram-SM67HX2B-Drr5UhQI.js → railroadDiagram-SM67HX2B-2vDUUppL.js} +1 -1
- package/dist/assets/{requirementDiagram-X7JNWC4A-D5ef6_ac.js → requirementDiagram-X7JNWC4A-DAuP39Hc.js} +1 -1
- package/dist/assets/{sankeyDiagram-UM26HJRW-DncJWIz_.js → sankeyDiagram-UM26HJRW-ByS54QZK.js} +1 -1
- package/dist/assets/{saved-permissions-CizWg8-P.js → saved-permissions-CPiYtxkZ.js} +1 -1
- package/dist/assets/{scroll-text-Ck6HB7eM.js → scroll-text-CVSt6aO2.js} +1 -1
- package/dist/assets/{sdk-CWyUlmcn.js → sdk-vrG4HtB4.js} +1 -1
- package/dist/assets/{search-DkTqg7ab.js → search-CG-QtPVH.js} +1 -1
- package/dist/assets/{send-CYVi50sh.js → send-CH-0xdLm.js} +1 -1
- package/dist/assets/{sequenceDiagram-ZO4K6R2Y-Cs0nGCCg.js → sequenceDiagram-ZO4K6R2Y-DvWxKTLK.js} +1 -1
- package/dist/assets/{shared-CIwISWMj.js → shared-D37zfckm.js} +1 -1
- package/dist/assets/{smoke-lab-matrix-A7ubFpfk.js → smoke-lab-matrix-C5gR81E3.js} +1 -1
- package/dist/assets/{stateDiagram-v2-TBUQTH76-Dpp3m5Wq.js → stateDiagram-v2-TBUQTH76-DtiiZIXq.js} +1 -1
- package/dist/assets/{swimlanes-N4OXWK64-NXVbx1w8.js → swimlanes-N4OXWK64-BWSEtCbX.js} +1 -1
- package/dist/assets/swimlanesDiagram-K3J5GTZL-Bl_9DvHU.js +8 -0
- package/dist/assets/{timeline-definition-YOQAKGHF-DqI-Mv2e.js → timeline-definition-YOQAKGHF-U4QcniMh.js} +1 -1
- package/dist/assets/{treeView-D4JQ5SDB-CZBlE7ya.js → treeView-D4JQ5SDB-B2tdrtsj.js} +1 -1
- package/dist/assets/{treemap-SAJKECNS-BlueznID.js → treemap-SAJKECNS-DodN8j4n.js} +1 -1
- package/dist/assets/{useAgentlessOnboardingAutoOpen-CnFwEQ-H.js → useAgentlessOnboardingAutoOpen-DSWW7Juw.js} +1 -1
- package/dist/assets/{useAuthorizationWindow-DnFQsiFj.js → useAuthorizationWindow-tg3aKEU7.js} +1 -1
- package/dist/assets/{useDateRange-9EbqkWXy.js → useDateRange-CnZQr2KO.js} +1 -1
- package/dist/assets/{useFastResponsesEnabled-D8dunm4j.js → useFastResponsesEnabled-B8tHSJ1y.js} +1 -1
- package/dist/assets/{usePageView-BiX5i8ck.js → usePageView-CtFMs34g.js} +1 -1
- package/dist/assets/{useProfilesData-0VYQ4lAT.js → useProfilesData-CWHdMSuL.js} +1 -1
- package/dist/assets/{useReviewCount-WBWxwKI3.js → useReviewCount-W_bCZ2Hz.js} +1 -1
- package/dist/assets/{useRoutineFormOptions-DnX5DBn1.js → useRoutineFormOptions-CCLMmVSF.js} +1 -1
- package/dist/assets/{useSummaryDraftStream-DPQRvaXT.js → useSummaryDraftStream-NVNYNt72.js} +1 -1
- package/dist/assets/{useTailscaleConnections-BDff6dWx.js → useTailscaleConnections-Dy52nCY3.js} +1 -1
- package/dist/assets/{usecaseDiagram-VIAY4XPW-BSDn8OaJ.js → usecaseDiagram-VIAY4XPW-kEHhqgOj.js} +1 -1
- package/dist/assets/{vennDiagram-BLWOH2XV-BBSA9KNN.js → vennDiagram-BLWOH2XV-NPJU0aCU.js} +1 -1
- package/dist/assets/{wardley-7MLQ67FV-CsT-rTZ9.js → wardley-7MLQ67FV-bUGKvIPT.js} +1 -1
- package/dist/assets/{wardleyDiagram-YMQ3BMBF-BLClsIjw.js → wardleyDiagram-YMQ3BMBF-qtUDHfhb.js} +1 -1
- package/dist/assets/{xychartDiagram-TAQBALBS-2x4wB0gq.js → xychartDiagram-TAQBALBS-C-z57aZj.js} +1 -1
- package/dist/index.html +4 -4
- package/dist/sw.js +1 -1
- package/package.json +1 -1
- package/dist/assets/CompanyActivity.production-DbaFBsM0.js +0 -1
- package/dist/assets/channel-BQh2vFIU.js +0 -1
- package/dist/assets/flowDiagram-OXPTDLAJ-Be1xLbJu.js +0 -1
- package/dist/assets/swimlanesDiagram-K3J5GTZL-Ct3LnXZt.js +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var os=Object.defineProperty;var M=(n,t)=>os(n,"name",{value:t,configurable:!0});import{n as b}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as J,p as at}from"./src-DYjgETqR.js";import{B as Ca,M as sa,b as V,f as hs,g as kt,k as gs,w as vt,y as Nt,z as Zt}from"./chunk-VPRB5NB3-CfeHjtbb.js";import{a as At,d as Q,m as ys,r as Et}from"./chunk-3YJQHVM4-Dj5wEKIw.js";import{n as fs,t as Bt}from"./chunk-HJ2JQQFS-MXK0gYSP.js";import{n as xt,r as Lt}from"./chunk-E2ZNV5FY-cjSf_BTz.js";import{a as E,i as T,r as ps,t as Ht}from"./chunk-4EA7E6EY-5XiUVgzK.js";import{s as Mt}from"./chunk-J5ZVWO5B-ClU583ja.js";import{t as W}from"./rough.esm-DnC5Tr1g.js";var us=1,ds=3;async function Ut(n){const t=n.getElementsByTagName("img");if(!t||t.length===0)return;const s=!Jt(n);await Promise.all([...t].map(l=>new Promise(o=>{function c(){if(l.style.display="flex",l.style.flexDirection="column",s){const y=V().fontSize?V().fontSize:window.getComputedStyle(document.body).fontSize,i=5,[g=hs.fontSize]=ys(y),r=g*i+"px";l.style.minWidth=r,l.style.maxWidth=r}else l.style.width="100%";o(l)}M(c,"setupImage"),b(c,"setupImage"),setTimeout(()=>{l.complete&&c()}),l.addEventListener("error",c),l.addEventListener("load",c)})))}M(Ut,"configureLabelImages");b(Ut,"configureLabelImages");function Jt(n){return n.nodeType===ds?n.textContent?.trim()!=="":n.nodeType!==us||n.tagName.toLowerCase()==="img"?!1:[...n.childNodes].some(Jt)}M(Jt,"hasTextBesidesImages");b(Jt,"hasTextBesidesImages");var ra=3,xs=32,ms=b(async(n,t,s)=>{const l=V(),o=n.insert("g").attr("class",s??"node default").attr("id",t.domId||t.id),c=o.insert("g").attr("class","label").attr("style",Q(t.labelStyle)),y=[{text:typeof t.label=="string"?t.label:t.label?.[0]??"",cssClass:"c4-name"},{text:t.stereotype,cssClass:"c4-type"},...(t.description??[]).map(f=>({text:f,cssClass:"c4-descr"}))].filter(f=>f.text),i=t.width?Math.max(t.width-2*(t.padding??0),xs):V().flowchart?.wrappingWidth??200,g=l.c4?.wrap??!0?i:Number.POSITIVE_INFINITY,r=await Promise.all(y.map(async f=>{const p=c.append("g").attr("class",f.cssClass),u=await xt(p,Zt(At(f.text??""),l),{useHtmlLabels:!1,markdown:!1,isNode:!0,width:g,style:t.labelStyle},l);return at(u).selectAll("tspan.text-outer-tspan").attr("text-anchor","middle"),at(u).selectAll("tspan.text-inner-tspan").attr("font-weight",null).attr("font-style",null),{el:p,box:p.node().getBBox()}})),a=Math.max(...r.map(({box:f})=>f.width),0);let e=0;for(const{el:f,box:p}of r)f.attr("transform",`translate(${a/2-p.x-p.width/2}, ${e-p.y})`),e+=p.height+ra;const h=r.length>0?e-ra:0;return c.insert("rect",":first-child"),c.attr("transform",`translate(${-a/2}, ${-h/2})`),{shapeSvg:o,bbox:c.node().getBBox(),halfPadding:(t.padding??0)/2,label:c}},"c4LabelHelper"),ia=b((n,t)=>{const{x:s,y:l,width:o,height:c}=n;return o>=t?n:"left"in n?{x:s,y:l,width:t,height:c,top:l,left:s,bottom:l+c,right:s+t,toJSON:b(()=>({}),"toJSON")}:{x:s-(t-o)/2,y:l,width:t,height:c}},"withMinWidth"),X=b(async(n,t,s)=>{if(t.stereotype!==void 0)return ms(n,t,s);let l;const o=t.useHtmlLabels||kt(V()?.htmlLabels);s?l=s:l="node default";const c=n.insert("g").attr("class",l).attr("id",t.domId||t.id),y=c.insert("g").attr("class","label").attr("style",Q(t.labelStyle));let i;t.label===void 0?i="":i=typeof t.label=="string"?t.label:t.label[0];const g=!!t.icon||!!t.img,r=t.labelType==="markdown",a=i&&!t.width?t.minWidth??0:0,e=await xt(y,Zt(At(i),V()),{useHtmlLabels:o,width:t.width||t.wrappingWidth||V().flowchart?.wrappingWidth,minWidth:a,classes:r?"markdown-node-label":"",style:t.labelStyle,addSvgBackground:g,markdown:r},V()),h=(t?.padding??0)/2;let f;if(o){const p=e.children[0],u=at(e);await Ut(p),f=await Lt.measure(()=>p.getBoundingClientRect()),f=ia(f,a),u.attr("width",f.width),u.attr("height",f.height)}else f=await Lt.measure(()=>e.getBBox()),f=ia(f,a);return o?y.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):y.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&y.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),y.insert("rect",":first-child"),{shapeSvg:c,bbox:f,halfPadding:h,label:y}},"labelHelper"),dt=b(async(n,t,s)=>{const l=s.useHtmlLabels??vt(V()),o=n.insert("g").attr("class","label").attr("style",s.labelStyle||""),c=await xt(o,Zt(At(t),V()),{useHtmlLabels:l,width:s.width||V()?.flowchart?.wrappingWidth,style:s.labelStyle,addSvgBackground:!!s.icon||!!s.img}),y=s.padding/2;let i;if(vt(V())){const g=c.children[0],r=at(c);i=await Lt.measure(()=>g.getBoundingClientRect()),r.attr("width",i.width),r.attr("height",i.height)}else i=await Lt.measure(()=>c.getBBox());return l?o.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"):o.attr("transform","translate(0, "+-i.height/2+")"),s.centerLabel&&o.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),o.insert("rect",":first-child"),{shapeSvg:n,bbox:i,halfPadding:y,label:o}},"insertLabel"),R=b((n,t,s)=>{if(s){n.width=s.width,n.height=s.height;return}const l=t.node().getBBox();n.width=l.width,n.height=l.height},"updateNodeBounds"),O=b((n,t)=>(n.look==="handDrawn"?"rough-node":"node")+" "+n.cssClasses+" "+(t||""),"getNodeClasses");function F(n){const t=n.map((s,l)=>`${l===0?"M":"L"}${s.x},${s.y}`);return t.push("Z"),t.join(" ")}M(F,"createPathFromPoints");b(F,"createPathFromPoints");function pt(n,t,s,l,o,c){const y=[],g=s-n,r=l-t,a=g/c,e=2*Math.PI/a,h=t+r/2;for(let f=0;f<=50;f++){const p=n+f/50*g,u=h+o*Math.sin(e*(p-n));y.push({x:p,y:u})}return y}M(pt,"generateFullSineWavePoints");b(pt,"generateFullSineWavePoints");function lt(n,t,s,l,o,c){const y=[],i=o*Math.PI/180,g=(c*Math.PI/180-i)/(l-1);for(let r=0;r<l;r++){const a=i+r*g,e=n+s*Math.cos(a),h=t+s*Math.sin(a);y.push({x:-e,y:-h})}return y}M(lt,"generateCirclePoints");b(lt,"generateCirclePoints");function Gt(n){const t=Array.from(n.childNodes).filter(g=>g.tagName==="path"),s=document.createElementNS("http://www.w3.org/2000/svg","path"),l=t.map(g=>g.getAttribute("d")).filter(g=>g!==null).join(" ");s.setAttribute("d",l);const o=t.find(g=>g.getAttribute("fill")!=="none"),c=t.find(g=>g.getAttribute("stroke")!=="none"),y=b((g,r)=>g?.getAttribute(r)??void 0,"getAttr");if(o){const g={fill:y(o,"fill"),"fill-opacity":y(o,"fill-opacity")??"1"};Object.entries(g).forEach(([r,a])=>{a&&s.setAttribute(r,a)})}if(c){const g={stroke:y(c,"stroke"),"stroke-width":y(c,"stroke-width")??"1","stroke-opacity":y(c,"stroke-opacity")??"1"};Object.entries(g).forEach(([r,a])=>{a&&s.setAttribute(r,a)})}const i=document.createElementNS("http://www.w3.org/2000/svg","g");return i.appendChild(s),i}M(Gt,"mergePaths");b(Gt,"mergePaths");var ws=b((n,t)=>{var s=n.x,l=n.y,o=t.x-s,c=t.y-l,y=n.width/2,i=n.height/2,g,r;return Math.abs(c)*y>Math.abs(o)*i?(c<0&&(i=-i),g=c===0?0:i*o/c,r=i):(o<0&&(y=-y),g=y,r=o===0?0:y*c/o),{x:s+g,y:l+r}},"intersectRect");function Na(n,t){return n.intersect(t)}M(Na,"intersectNode");b(Na,"intersectNode");var bs=Na;function Aa(n,t,s,l){var o=n.x,c=n.y,y=o-l.x,i=c-l.y,g=Math.sqrt(t*t*i*i+s*s*y*y),r=Math.abs(t*s*y/g);l.x<o&&(r=-r);var a=Math.abs(t*s*i/g);return l.y<c&&(a=-a),{x:o+r,y:c+a}}M(Aa,"intersectEllipse");b(Aa,"intersectEllipse");var Ba=Aa;function Ha(n,t,s){return Ba(n,t,t,s)}M(Ha,"intersectCircle");b(Ha,"intersectCircle");var Ss=Ha;function Ia(n,t,s,l){{const o=t.y-n.y,c=n.x-t.x,y=t.x*n.y-n.x*t.y,i=o*s.x+c*s.y+y,g=o*l.x+c*l.y+y,r=1e-6;if(i!==0&&g!==0&&qt(i,g))return;const a=l.y-s.y,e=s.x-l.x,h=l.x*s.y-s.x*l.y,f=a*n.x+e*n.y+h,p=a*t.x+e*t.y+h;if(Math.abs(f)<r&&Math.abs(p)<r&&qt(f,p))return;const u=o*e-a*c;return u===0?void 0:{x:(c*h-e*y)/u,y:(a*y-o*h)/u}}}M(Ia,"intersectLine");b(Ia,"intersectLine");function qt(n,t){return n*t>0}M(qt,"sameSign");b(qt,"sameSign");var $s=Ia;function Ra(n,t,s){let l=n.x,o=n.y,c=[],y=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(a){y=Math.min(y,a.x),i=Math.min(i,a.y)}):(y=Math.min(y,t.x),i=Math.min(i,t.y));let g=l-n.width/2-y,r=o-n.height/2-i;for(let a=0;a<t.length;a++){let e=t[a],h=t[a<t.length-1?a+1:0],f=$s(n,s,{x:g+e.x,y:r+e.y},{x:g+h.x,y:r+h.y});f&&c.push(f)}return c.length?(c.length>1&&c.sort(function(a,e){let h=a.x-s.x,f=a.y-s.y,p=Math.sqrt(h*h+f*f),u=e.x-s.x,d=e.y-s.y,x=Math.sqrt(u*u+d*d);return p<x?-1:p===x?0:1}),c[0]):n}M(Ra,"intersectPolygon");b(Ra,"intersectPolygon");var N={node:bs,circle:Ss,ellipse:Ba,polygon:Ra,rect:ws},gt=b((n,t,s,l,o)=>["M",n+o,t,"H",n+s-o,"A",o,o,0,0,1,n+s,t+o,"V",t+l-o,"A",o,o,0,0,1,n+s-o,t+l,"H",n+o,"A",o,o,0,0,1,n,t+l-o,"V",t+o,"A",o,o,0,0,1,n+o,t,"Z"].join(" "),"createRoundedRectPathD"),la=b(async(n,t,s,l=!1,o=!1)=>{let c=t||"";typeof c=="object"&&(c=c[0]);const y=V(),i=vt(y);return await xt(n,c,{style:s,isTitle:l,useHtmlLabels:i,markdown:!1,isNode:o,width:Number.POSITIVE_INFINITY},y)},"createLabel");function La(n,t){const{labelStyles:s}=T(t);t.labelStyle=s;const l=O(t);let o=l;l||(o="anchor");const c=n.insert("g").attr("class",o).attr("id",t.domId||t.id),y=1,{cssStyles:i}=t,g=W.svg(c),r=E(t,{fill:"black",stroke:"none",fillStyle:"solid"});t.look!=="handDrawn"&&(r.roughness=0);const a=g.circle(0,0,2,r),e=c.insert(()=>a,":first-child");return e.attr("class","anchor").attr("style",Q(i)),R(t,e),t.intersect=function(h){return J.info("Circle intersect",t,y,h),N.circle(t,y,h)},c}M(La,"anchor");b(La,"anchor");function zt(n,t,s,l,o,c,y){const g=(n+s)/2,r=(t+l)/2,a=Math.atan2(l-t,s-n),e=(s-n)/2,h=(l-t)/2,f=e/o,p=h/c,u=Math.sqrt(f**2+p**2);if(u>1)throw new Error("The given radii are too small to create an arc between the points.");const d=Math.sqrt(1-u**2),x=g+d*c*Math.sin(a)*(y?-1:1),m=r-d*o*Math.cos(a)*(y?-1:1),w=Math.atan2((t-m)/c,(n-x)/o);let S=Math.atan2((l-m)/c,(s-x)/o)-w;y&&S<0&&(S+=2*Math.PI),!y&&S>0&&(S-=2*Math.PI);const $=[];for(let k=0;k<20;k++){const v=w+k/19*S,P=x+o*Math.cos(v),Y=m+c*Math.sin(v);$.push({x:P,y:Y})}return $}M(zt,"generateArcPoints");b(zt,"generateArcPoints");function Ea(n,t,s){const[l,o]=[t,s].sort((c,y)=>y-c);return o*(1-Math.sqrt(1-(n/l/2)**2))}M(Ea,"calculateArcSagitta");b(Ea,"calculateArcSagitta");async function Wa(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?16:o,y=t.look==="neo"?12:o,i=b(P=>P+y,"calcTotalHeight"),g=b(P=>{const Y=P/2;return[Y/(2.5+P/50),Y]},"calcEllipseRadius"),{shapeSvg:r,bbox:a}=await X(n,t,O(t)),e=i(t?.height?t?.height:a.height),[h,f]=g(e),p=Ea(e,h,f),u=(t?.width?t?.width:a.width)+c*2+p-p,d=e,{cssStyles:x}=t,m=[{x:u/2,y:-d/2},{x:-u/2,y:-d/2},...zt(-u/2,-d/2,-u/2,d/2,h,f,!1),{x:u/2,y:d/2},...zt(u/2,d/2,u/2,-d/2,h,f,!0)],w=W.svg(r),S=E(t,{});t.look!=="handDrawn"&&(S.roughness=0,S.fillStyle="solid");const $=F(m),k=w.path($,S),v=r.insert(()=>k,":first-child");return v.attr("class","basic label-container outer-path"),x&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",x),l&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",l),v.attr("transform",`translate(${h/2}, 0)`),R(t,v),t.intersect=function(P){return N.polygon(t,m,P)},r}M(Wa,"bowTieRect");b(Wa,"bowTieRect");async function Ta(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,label:i}=await X(n,t,O(t)),g=s?.nodeBorder??s?.lineColor??"currentColor",r=t.padding??12,a=Math.max(y.width+r*2,t.width??0,80),e=Math.max(Math.min(a*.08,12),5),h=Math.max(y.height+r*2+e,t.height??0),f=-h/2+e,p=h/2,u=a*.72,d=[`M${-a/2},${f}`,`L${-u/2},${p}`,`A${u/2},${e} 0 0 0 ${u/2},${p}`,`L${a/2},${f}`,`A${a/2},${e} 0 0 0 ${-a/2},${f}`,"Z"].join(" "),{cssStyles:x}=t,m=c.insert("g",":first-child").attr("class","basic label-container");if(t.look==="handDrawn"){const v=W.svg(c).path(d,E(t,{}));m.node()?.appendChild(v),x&&m.attr("style",x)}else m.append("path").attr("d",d).attr("style",o);m.append("ellipse").attr("cx",0).attr("cy",f).attr("rx",a/2).attr("ry",e).attr("style",`fill:none;stroke:${g};stroke-width:1px`),R(t,m);const w=f+(p-f)/2;i.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${w-y.height/2-(y.y-(y.top??0))})`);const S=12,$=b((v,P,Y)=>Array.from({length:13},(L,H)=>{const A=Math.PI-H*Math.PI/S;return{x:v*Math.cos(A),y:P+Y*e*Math.sin(A)}}),"arc"),k=[...$(a/2,f,-1),...$(u/2,p,1).reverse()];return t.intersect=function(v){return N.polygon(t,k,v)},c}M(Ta,"bucket");b(Ta,"bucket");var Tt=20,_t=8,vs=80,ks=8;function _a(n){const{themeVariables:t}=V(),s=t.clusterBkg,l=t.clusterBorder;return n==="flow"?{rx:10,fill:"none",stroke:t.flowContainerStroke||t.secondaryBorderColor,strokeWidth:.75,cssClass:"flow-collapsed"}:{rx:ks,fill:s,stroke:l,cssClass:"collapsed-group"}}M(_a,"getCollapsedStyle");b(_a,"getCollapsedStyle");async function Ya(n,t){const s=_a(t.metadata?.containerType),{fill:l,stroke:o}=s,{nodeStyles:c}=T(t),{shapeSvg:y,bbox:i}=await X(n,t,O(t)),{theme:g,themeVariables:r}=V();Mt(y,t.colorIndex,g,r.borderColorArray);const a=t.padding??8,e=i.height,h=Math.max(i.width+a*2,vs,t?.width??0),f=Math.max(e+_t+Tt+a*2,t?.height??0),p=-h/2,u=-f/2,d=-(_t+Tt)/2,x=y.select(".label");x&&(t.useHtmlLabels??vt(V())?x.attr("transform",`translate(${-i.width/2}, ${-i.height/2+d})`):x.attr("transform",`translate(0, ${-i.height/2+d})`));let m;if(t.look==="handDrawn"){const v=W.svg(y),P=E(t,{fill:l,stroke:o,...s.strokeWidth===void 0?{}:{strokeWidth:s.strokeWidth},...l==="none"?{fillWeight:0}:{fillStyle:"solid"}}),Y=v.path(gt(p,u,h,f,s.rx),P);m=y.insert(()=>Y,":first-child"),m.attr("class","basic label-container "+s.cssClass).attr("style",Q(t.cssStyles))}else m=y.insert("rect",":first-child"),m.attr("class","basic label-container "+s.cssClass).attr("style",c).attr("rx",s.rx).attr("ry",s.rx).attr("x",p).attr("y",u).attr("width",h).attr("height",f).attr("fill",l).attr("stroke",o),s.strokeWidth!==void 0&&m.attr("stroke-width",s.strokeWidth+"px");const w=u+a+e+_t;y.append("line").attr("class","collapsed-separator").attr("x1",p+8).attr("y1",w).attr("x2",p+h-8).attr("y2",w).attr("stroke",o).attr("stroke-dasharray","3, 3");const S=w+Tt/2,$=2.5,k=10;for(let v=-1;v<=1;v++)y.append("circle").attr("class","collapsed-indicator").attr("cx",v*k).attr("cy",S).attr("r",$).attr("fill",o);return R(t,m),t.calcIntersect=function(v,P){return N.rect(v,P)},t.intersect=function(v){return N.rect(t,v)},y}M(Ya,"collapsedGroup");b(Ya,"collapsedGroup");function nt(n,t,s,l){return n.insert("polygon",":first-child").attr("points",l.map(function(o){return o.x+","+o.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+s/2+")")}M(nt,"insertPolygonShape");b(nt,"insertPolygonShape");var Ms=["right","left","up","down"],Kt="point",Ps=b(n=>{const t=new Set;for(const s of n)switch(s){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(s)}return t},"expandAndDeduplicateDirections"),Ds=b(n=>Ms.filter(t=>n.has(t)).join("|")||Kt,"getDirectionKey"),na={"right|left|up|down":b(({height:n,midpoint:t,padding:s,width:l})=>[{x:0,y:0},{x:t,y:0},{x:l/2,y:2*s},{x:l-t,y:0},{x:l,y:0},{x:l,y:-n/3},{x:l+2*s,y:-n/2},{x:l,y:-2*n/3},{x:l,y:-n},{x:l-t,y:-n},{x:l/2,y:-n-2*s},{x:t,y:-n},{x:0,y:-n},{x:0,y:-2*n/3},{x:-2*s,y:-n/2},{x:0,y:-n/3}],"right|left|up|down"),"right|left|up":b(({height:n,midpoint:t,width:s})=>[{x:t,y:0},{x:s-t,y:0},{x:s,y:-n/2},{x:s-t,y:-n},{x:t,y:-n},{x:0,y:-n/2}],"right|left|up"),"right|left|down":b(({height:n,midpoint:t,width:s})=>[{x:0,y:0},{x:t,y:-n},{x:s-t,y:-n},{x:s,y:0}],"right|left|down"),"right|up|down":b(({height:n,midpoint:t,width:s})=>[{x:0,y:0},{x:s,y:-t},{x:s,y:-n+t},{x:0,y:-n}],"right|up|down"),"left|up|down":b(({height:n,midpoint:t,width:s})=>[{x:s,y:0},{x:0,y:-t},{x:0,y:-n+t},{x:s,y:-n}],"left|up|down"),"right|left":b(({height:n,midpoint:t,padding:s,width:l})=>[{x:t,y:0},{x:t,y:-s},{x:l-t,y:-s},{x:l-t,y:0},{x:l,y:-n/2},{x:l-t,y:-n},{x:l-t,y:-n+s},{x:t,y:-n+s},{x:t,y:-n},{x:0,y:-n/2}],"right|left"),"up|down":b(({height:n,midpoint:t,padding:s,width:l})=>[{x:l/2,y:0},{x:0,y:-s},{x:t,y:-s},{x:t,y:-n+s},{x:0,y:-n+s},{x:l/2,y:-n},{x:l,y:-n+s},{x:l-t,y:-n+s},{x:l-t,y:-s},{x:l,y:-s}],"up|down"),"right|up":b(({height:n,midpoint:t,width:s})=>[{x:0,y:0},{x:s,y:-t},{x:0,y:-n}],"right|up"),"right|down":b(({height:n,width:t})=>[{x:0,y:0},{x:t,y:0},{x:0,y:-n}],"right|down"),"left|up":b(({height:n,midpoint:t,width:s})=>[{x:s,y:0},{x:0,y:-t},{x:s,y:-n}],"left|up"),"left|down":b(({height:n,width:t})=>[{x:t,y:0},{x:0,y:0},{x:t,y:-n}],"left|down"),right:b(({height:n,midpoint:t,padding:s,width:l})=>[{x:t,y:-s},{x:t,y:-s},{x:l-t,y:-s},{x:l-t,y:0},{x:l,y:-n/2},{x:l-t,y:-n},{x:l-t,y:-n+s},{x:t,y:-n+s},{x:t,y:-n+s}],"right"),left:b(({height:n,midpoint:t,padding:s,width:l})=>[{x:t,y:0},{x:t,y:-s},{x:l-t,y:-s},{x:l-t,y:-n+s},{x:t,y:-n+s},{x:t,y:-n},{x:0,y:-n/2}],"left"),up:b(({height:n,midpoint:t,padding:s,width:l})=>[{x:t,y:-s},{x:t,y:-n+s},{x:0,y:-n+s},{x:l/2,y:-n},{x:l,y:-n+s},{x:l-t,y:-n+s},{x:l-t,y:-s}],"up"),down:b(({height:n,midpoint:t,padding:s,width:l})=>[{x:l/2,y:0},{x:0,y:-s},{x:t,y:-s},{x:t,y:-n+s},{x:l-t,y:-n+s},{x:l-t,y:-s},{x:l,y:-s}],"down"),[Kt]:()=>[{x:0,y:0}]},Cs=b((n,t,s,l)=>{const o=Ps(n),c=(s.padding??0)/2,y=t.height+4*c,i=y/2,g=l??t.width+2*i+2*c;return(na[Ds(o)]??na[Kt])({height:y,midpoint:i,padding:c,width:g})},"getArrowPoints");async function Oa(n,t){const s=t,{shapeSvg:l,bbox:o}=await X(n,s,O(s)),c=s.padding??0,y=o.height+2*c,i=y/2,g=o.width+2*i+c,r=s.width??0,a=s.positioned&&(s.widthInColumns??1)>1&&r>g?r:g,e=Cs(s.directions??[],o,s,a),h=nt(l,a,y,e);return h.attr("style",s.style??null),R(s,h),s.intersect=function(f){return N.polygon(s,e,f)},l}M(Oa,"block_arrow");b(Oa,"block_arrow");async function Xa(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,label:i}=await X(n,t,O(t)),g=s?.nodeBorder??s?.lineColor??"currentColor",r=t.padding??12,a=18,e=12,h=Math.max(y.width+r*2,t.width??0,90),f=Math.max(y.height+r*2+a,t.height??0),p=-f/2,{cssStyles:u}=t,d=c.insert("g",":first-child").attr("class","basic label-container");if(t.look==="handDrawn"){const m=W.svg(c).path(gt(-h/2,p,h,f,e),E(t,{}));d.node()?.appendChild(m),u&&d.attr("style",u)}else d.append("rect").attr("x",-h/2).attr("y",p).attr("width",h).attr("height",f).attr("rx",e).attr("ry",e).attr("style",o);d.append("line").attr("x1",-h/2).attr("y1",p+a).attr("x2",h/2).attr("y2",p+a).attr("style",`stroke:${g};stroke-width:1px`);for(let m=0;m<3;m++)d.append("circle").attr("cx",-h/2+12+m*9).attr("cy",p+a/2).attr("r",2.5).attr("style",`fill:${g};stroke:none`);d.append("rect").attr("class","browser-address-bar").attr("x",-h/2+44).attr("y",p+4).attr("width",Math.max(h-56,10)).attr("height",10).attr("rx",3).attr("ry",3).attr("style",`fill:none;stroke:${g};stroke-width:1px;opacity:0.6`),R(t,d);const x=p+a+(f-a)/2;return i.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${x-y.height/2-(y.y-(y.top??0))})`),t.intersect=function(m){return N.rect(t,m)},c}M(Xa,"browser");b(Xa,"browser");var Rt=12;async function ja(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?28:o,y=t.look==="neo"?24:o,{shapeSvg:i,bbox:g}=await X(n,t,O(t)),r=(t?.width??g.width)+(t.look==="neo"?c*2:c+Rt),a=(t?.height??g.height)+(t.look==="neo"?y*2:y),e=0,h=r,f=-a,p=0,u=[{x:e+Rt,y:f},{x:h,y:f},{x:h,y:p},{x:e,y:p},{x:e,y:f+Rt},{x:e+Rt,y:f}];let d;const{cssStyles:x}=t;if(t.look==="handDrawn"){const m=W.svg(i),w=E(t,{}),S=F(u),$=m.path(S,w);d=i.insert(()=>$,":first-child").attr("transform",`translate(${-r/2}, ${a/2})`),x&&d.attr("style",x)}else d=nt(i,r,a,u);return l&&d.attr("style",l),R(t,d),t.intersect=function(m){return N.polygon(t,u,m)},i}M(ja,"card");b(ja,"card");function Fa(n,t){const{nodeStyles:s}=T(t);t.label="";const l=n.insert("g").attr("class",O(t)).attr("id",t.domId??t.id),{cssStyles:o}=t,c=Math.max(28,t.width??0),y=[{x:0,y:c/2},{x:c/2,y:0},{x:0,y:-c/2},{x:-c/2,y:0}],i=W.svg(l),g=E(t,{});t.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const r=F(y),a=i.path(r,g),e=l.insert(()=>a,":first-child");return o&&t.look!=="handDrawn"&&e.selectAll("path").attr("style",o),s&&t.look!=="handDrawn"&&e.selectAll("path").attr("style",s),t.width=28,t.height=28,t.intersect=function(h){return N.polygon(t,y,h)},l}M(Fa,"choice");b(Fa,"choice");async function Qt(n,t,s){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,halfPadding:i}=await X(n,t,O(t)),g=s?.padding??i,r=Math.sqrt(y.width**2+y.height**2)/2,a=t.look==="neo"?r+32:r+g;let e;const{cssStyles:h}=t;if(t.look==="handDrawn"){const f=W.svg(c),p=E(t,{}),u=f.circle(0,0,a*2,p);e=c.insert(()=>u,":first-child"),e.attr("class","basic label-container").attr("style",Q(h))}else e=c.insert("circle",":first-child").attr("class","basic label-container").attr("style",o).attr("r",a).attr("cx",0).attr("cy",0);return R(t,e),t.calcIntersect=function(f,p){const u=f.width/2;return N.circle(f,u,p)},t.intersect=function(f){return J.info("Circle intersect",t,a,f),N.circle(t,a,f)},c}M(Qt,"circle");b(Qt,"circle");async function Ga(n,t){const s=t,{shapeSvg:l,bbox:o,halfPadding:c}=await X(n,s,["node",s.cssClasses,s.class].filter(Boolean).join(" ")),y=l.insert("rect",":first-child"),i=s.padding??0,g=s.positioned?s.width??0:o.width+i,r=s.positioned?s.height??0:o.height+i,a=s.positioned?-g/2:-o.width/2-c,e=s.positioned?-r/2:-o.height/2-c;return y.attr("class","basic cluster composite label-container").attr("style",s.style??null).attr("rx",s.rx??null).attr("ry",s.ry??null).attr("x",a).attr("y",e).attr("width",g).attr("height",r),R(s,y),s.intersect=function(h){return N.rect(s,h)},l}M(Ga,"composite");b(Ga,"composite");async function qa(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,label:i}=await X(n,t,O(t)),g=s?.nodeBorder??s?.lineColor??"currentColor",r=t.padding??12,a=20,e=12,h=Math.max(y.width+r*2,t.width??0,90),f=Math.max(y.height+r*2+a,t.height??0),p=-f/2,{cssStyles:u}=t,d=c.insert("g",":first-child").attr("class","basic label-container");if(t.look==="handDrawn"){const m=W.svg(c).path(gt(-h/2,p,h,f,e),E(t,{}));d.node()?.appendChild(m),u&&d.attr("style",u)}else d.append("rect").attr("x",-h/2).attr("y",p).attr("width",h).attr("height",f).attr("rx",e).attr("ry",e).attr("style",o);d.append("text").attr("x",-h/2+12).attr("y",p+16).attr("class","console-glyph").attr("style",`font-family:monospace;font-weight:bold;font-size:14px;fill:${g}`).text(">_"),R(t,d);const x=p+a+(f-a)/2;return i.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${x-y.height/2-(y.y-(y.top??0))})`),t.intersect=function(m){return N.rect(t,m)},c}M(qa,"consoleWindow");b(qa,"consoleWindow");function za(n){const t=Math.cos(Math.PI/4),s=Math.sin(Math.PI/4),l=n*2,o={x:l/2*t,y:l/2*s},c={x:-(l/2)*t,y:l/2*s},y={x:-(l/2)*t,y:-(l/2)*s},i={x:l/2*t,y:-(l/2)*s};return`M ${c.x},${c.y} L ${i.x},${i.y}
|
|
1
|
+
var os=Object.defineProperty;var M=(n,t)=>os(n,"name",{value:t,configurable:!0});import{n as b}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as J,p as at}from"./src-DYjgETqR.js";import{B as Ca,M as sa,b as V,f as hs,g as kt,k as gs,w as vt,y as Nt,z as Zt}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{a as At,d as Q,m as ys,r as Et}from"./chunk-3YJQHVM4-C_uoPpLR.js";import{n as fs,t as Bt}from"./chunk-HJ2JQQFS-DL4lnpSv.js";import{n as xt,r as Lt}from"./chunk-E2ZNV5FY-DG8wQ_NS.js";import{a as E,i as T,r as ps,t as Ht}from"./chunk-4EA7E6EY-BeMEfIRS.js";import{s as Mt}from"./chunk-J5ZVWO5B-ClU583ja.js";import{t as W}from"./rough.esm-DnC5Tr1g.js";var us=1,ds=3;async function Ut(n){const t=n.getElementsByTagName("img");if(!t||t.length===0)return;const s=!Jt(n);await Promise.all([...t].map(l=>new Promise(o=>{function c(){if(l.style.display="flex",l.style.flexDirection="column",s){const y=V().fontSize?V().fontSize:window.getComputedStyle(document.body).fontSize,i=5,[g=hs.fontSize]=ys(y),r=g*i+"px";l.style.minWidth=r,l.style.maxWidth=r}else l.style.width="100%";o(l)}M(c,"setupImage"),b(c,"setupImage"),setTimeout(()=>{l.complete&&c()}),l.addEventListener("error",c),l.addEventListener("load",c)})))}M(Ut,"configureLabelImages");b(Ut,"configureLabelImages");function Jt(n){return n.nodeType===ds?n.textContent?.trim()!=="":n.nodeType!==us||n.tagName.toLowerCase()==="img"?!1:[...n.childNodes].some(Jt)}M(Jt,"hasTextBesidesImages");b(Jt,"hasTextBesidesImages");var ra=3,xs=32,ms=b(async(n,t,s)=>{const l=V(),o=n.insert("g").attr("class",s??"node default").attr("id",t.domId||t.id),c=o.insert("g").attr("class","label").attr("style",Q(t.labelStyle)),y=[{text:typeof t.label=="string"?t.label:t.label?.[0]??"",cssClass:"c4-name"},{text:t.stereotype,cssClass:"c4-type"},...(t.description??[]).map(f=>({text:f,cssClass:"c4-descr"}))].filter(f=>f.text),i=t.width?Math.max(t.width-2*(t.padding??0),xs):V().flowchart?.wrappingWidth??200,g=l.c4?.wrap??!0?i:Number.POSITIVE_INFINITY,r=await Promise.all(y.map(async f=>{const p=c.append("g").attr("class",f.cssClass),u=await xt(p,Zt(At(f.text??""),l),{useHtmlLabels:!1,markdown:!1,isNode:!0,width:g,style:t.labelStyle},l);return at(u).selectAll("tspan.text-outer-tspan").attr("text-anchor","middle"),at(u).selectAll("tspan.text-inner-tspan").attr("font-weight",null).attr("font-style",null),{el:p,box:p.node().getBBox()}})),a=Math.max(...r.map(({box:f})=>f.width),0);let e=0;for(const{el:f,box:p}of r)f.attr("transform",`translate(${a/2-p.x-p.width/2}, ${e-p.y})`),e+=p.height+ra;const h=r.length>0?e-ra:0;return c.insert("rect",":first-child"),c.attr("transform",`translate(${-a/2}, ${-h/2})`),{shapeSvg:o,bbox:c.node().getBBox(),halfPadding:(t.padding??0)/2,label:c}},"c4LabelHelper"),ia=b((n,t)=>{const{x:s,y:l,width:o,height:c}=n;return o>=t?n:"left"in n?{x:s,y:l,width:t,height:c,top:l,left:s,bottom:l+c,right:s+t,toJSON:b(()=>({}),"toJSON")}:{x:s-(t-o)/2,y:l,width:t,height:c}},"withMinWidth"),X=b(async(n,t,s)=>{if(t.stereotype!==void 0)return ms(n,t,s);let l;const o=t.useHtmlLabels||kt(V()?.htmlLabels);s?l=s:l="node default";const c=n.insert("g").attr("class",l).attr("id",t.domId||t.id),y=c.insert("g").attr("class","label").attr("style",Q(t.labelStyle));let i;t.label===void 0?i="":i=typeof t.label=="string"?t.label:t.label[0];const g=!!t.icon||!!t.img,r=t.labelType==="markdown",a=i&&!t.width?t.minWidth??0:0,e=await xt(y,Zt(At(i),V()),{useHtmlLabels:o,width:t.width||t.wrappingWidth||V().flowchart?.wrappingWidth,minWidth:a,classes:r?"markdown-node-label":"",style:t.labelStyle,addSvgBackground:g,markdown:r},V()),h=(t?.padding??0)/2;let f;if(o){const p=e.children[0],u=at(e);await Ut(p),f=await Lt.measure(()=>p.getBoundingClientRect()),f=ia(f,a),u.attr("width",f.width),u.attr("height",f.height)}else f=await Lt.measure(()=>e.getBBox()),f=ia(f,a);return o?y.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"):y.attr("transform","translate(0, "+-f.height/2+")"),t.centerLabel&&y.attr("transform","translate("+-f.width/2+", "+-f.height/2+")"),y.insert("rect",":first-child"),{shapeSvg:c,bbox:f,halfPadding:h,label:y}},"labelHelper"),dt=b(async(n,t,s)=>{const l=s.useHtmlLabels??vt(V()),o=n.insert("g").attr("class","label").attr("style",s.labelStyle||""),c=await xt(o,Zt(At(t),V()),{useHtmlLabels:l,width:s.width||V()?.flowchart?.wrappingWidth,style:s.labelStyle,addSvgBackground:!!s.icon||!!s.img}),y=s.padding/2;let i;if(vt(V())){const g=c.children[0],r=at(c);i=await Lt.measure(()=>g.getBoundingClientRect()),r.attr("width",i.width),r.attr("height",i.height)}else i=await Lt.measure(()=>c.getBBox());return l?o.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"):o.attr("transform","translate(0, "+-i.height/2+")"),s.centerLabel&&o.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),o.insert("rect",":first-child"),{shapeSvg:n,bbox:i,halfPadding:y,label:o}},"insertLabel"),R=b((n,t,s)=>{if(s){n.width=s.width,n.height=s.height;return}const l=t.node().getBBox();n.width=l.width,n.height=l.height},"updateNodeBounds"),O=b((n,t)=>(n.look==="handDrawn"?"rough-node":"node")+" "+n.cssClasses+" "+(t||""),"getNodeClasses");function F(n){const t=n.map((s,l)=>`${l===0?"M":"L"}${s.x},${s.y}`);return t.push("Z"),t.join(" ")}M(F,"createPathFromPoints");b(F,"createPathFromPoints");function pt(n,t,s,l,o,c){const y=[],g=s-n,r=l-t,a=g/c,e=2*Math.PI/a,h=t+r/2;for(let f=0;f<=50;f++){const p=n+f/50*g,u=h+o*Math.sin(e*(p-n));y.push({x:p,y:u})}return y}M(pt,"generateFullSineWavePoints");b(pt,"generateFullSineWavePoints");function lt(n,t,s,l,o,c){const y=[],i=o*Math.PI/180,g=(c*Math.PI/180-i)/(l-1);for(let r=0;r<l;r++){const a=i+r*g,e=n+s*Math.cos(a),h=t+s*Math.sin(a);y.push({x:-e,y:-h})}return y}M(lt,"generateCirclePoints");b(lt,"generateCirclePoints");function Gt(n){const t=Array.from(n.childNodes).filter(g=>g.tagName==="path"),s=document.createElementNS("http://www.w3.org/2000/svg","path"),l=t.map(g=>g.getAttribute("d")).filter(g=>g!==null).join(" ");s.setAttribute("d",l);const o=t.find(g=>g.getAttribute("fill")!=="none"),c=t.find(g=>g.getAttribute("stroke")!=="none"),y=b((g,r)=>g?.getAttribute(r)??void 0,"getAttr");if(o){const g={fill:y(o,"fill"),"fill-opacity":y(o,"fill-opacity")??"1"};Object.entries(g).forEach(([r,a])=>{a&&s.setAttribute(r,a)})}if(c){const g={stroke:y(c,"stroke"),"stroke-width":y(c,"stroke-width")??"1","stroke-opacity":y(c,"stroke-opacity")??"1"};Object.entries(g).forEach(([r,a])=>{a&&s.setAttribute(r,a)})}const i=document.createElementNS("http://www.w3.org/2000/svg","g");return i.appendChild(s),i}M(Gt,"mergePaths");b(Gt,"mergePaths");var ws=b((n,t)=>{var s=n.x,l=n.y,o=t.x-s,c=t.y-l,y=n.width/2,i=n.height/2,g,r;return Math.abs(c)*y>Math.abs(o)*i?(c<0&&(i=-i),g=c===0?0:i*o/c,r=i):(o<0&&(y=-y),g=y,r=o===0?0:y*c/o),{x:s+g,y:l+r}},"intersectRect");function Na(n,t){return n.intersect(t)}M(Na,"intersectNode");b(Na,"intersectNode");var bs=Na;function Aa(n,t,s,l){var o=n.x,c=n.y,y=o-l.x,i=c-l.y,g=Math.sqrt(t*t*i*i+s*s*y*y),r=Math.abs(t*s*y/g);l.x<o&&(r=-r);var a=Math.abs(t*s*i/g);return l.y<c&&(a=-a),{x:o+r,y:c+a}}M(Aa,"intersectEllipse");b(Aa,"intersectEllipse");var Ba=Aa;function Ha(n,t,s){return Ba(n,t,t,s)}M(Ha,"intersectCircle");b(Ha,"intersectCircle");var Ss=Ha;function Ia(n,t,s,l){{const o=t.y-n.y,c=n.x-t.x,y=t.x*n.y-n.x*t.y,i=o*s.x+c*s.y+y,g=o*l.x+c*l.y+y,r=1e-6;if(i!==0&&g!==0&&qt(i,g))return;const a=l.y-s.y,e=s.x-l.x,h=l.x*s.y-s.x*l.y,f=a*n.x+e*n.y+h,p=a*t.x+e*t.y+h;if(Math.abs(f)<r&&Math.abs(p)<r&&qt(f,p))return;const u=o*e-a*c;return u===0?void 0:{x:(c*h-e*y)/u,y:(a*y-o*h)/u}}}M(Ia,"intersectLine");b(Ia,"intersectLine");function qt(n,t){return n*t>0}M(qt,"sameSign");b(qt,"sameSign");var $s=Ia;function Ra(n,t,s){let l=n.x,o=n.y,c=[],y=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(a){y=Math.min(y,a.x),i=Math.min(i,a.y)}):(y=Math.min(y,t.x),i=Math.min(i,t.y));let g=l-n.width/2-y,r=o-n.height/2-i;for(let a=0;a<t.length;a++){let e=t[a],h=t[a<t.length-1?a+1:0],f=$s(n,s,{x:g+e.x,y:r+e.y},{x:g+h.x,y:r+h.y});f&&c.push(f)}return c.length?(c.length>1&&c.sort(function(a,e){let h=a.x-s.x,f=a.y-s.y,p=Math.sqrt(h*h+f*f),u=e.x-s.x,d=e.y-s.y,x=Math.sqrt(u*u+d*d);return p<x?-1:p===x?0:1}),c[0]):n}M(Ra,"intersectPolygon");b(Ra,"intersectPolygon");var N={node:bs,circle:Ss,ellipse:Ba,polygon:Ra,rect:ws},gt=b((n,t,s,l,o)=>["M",n+o,t,"H",n+s-o,"A",o,o,0,0,1,n+s,t+o,"V",t+l-o,"A",o,o,0,0,1,n+s-o,t+l,"H",n+o,"A",o,o,0,0,1,n,t+l-o,"V",t+o,"A",o,o,0,0,1,n+o,t,"Z"].join(" "),"createRoundedRectPathD"),la=b(async(n,t,s,l=!1,o=!1)=>{let c=t||"";typeof c=="object"&&(c=c[0]);const y=V(),i=vt(y);return await xt(n,c,{style:s,isTitle:l,useHtmlLabels:i,markdown:!1,isNode:o,width:Number.POSITIVE_INFINITY},y)},"createLabel");function La(n,t){const{labelStyles:s}=T(t);t.labelStyle=s;const l=O(t);let o=l;l||(o="anchor");const c=n.insert("g").attr("class",o).attr("id",t.domId||t.id),y=1,{cssStyles:i}=t,g=W.svg(c),r=E(t,{fill:"black",stroke:"none",fillStyle:"solid"});t.look!=="handDrawn"&&(r.roughness=0);const a=g.circle(0,0,2,r),e=c.insert(()=>a,":first-child");return e.attr("class","anchor").attr("style",Q(i)),R(t,e),t.intersect=function(h){return J.info("Circle intersect",t,y,h),N.circle(t,y,h)},c}M(La,"anchor");b(La,"anchor");function zt(n,t,s,l,o,c,y){const g=(n+s)/2,r=(t+l)/2,a=Math.atan2(l-t,s-n),e=(s-n)/2,h=(l-t)/2,f=e/o,p=h/c,u=Math.sqrt(f**2+p**2);if(u>1)throw new Error("The given radii are too small to create an arc between the points.");const d=Math.sqrt(1-u**2),x=g+d*c*Math.sin(a)*(y?-1:1),m=r-d*o*Math.cos(a)*(y?-1:1),w=Math.atan2((t-m)/c,(n-x)/o);let S=Math.atan2((l-m)/c,(s-x)/o)-w;y&&S<0&&(S+=2*Math.PI),!y&&S>0&&(S-=2*Math.PI);const $=[];for(let k=0;k<20;k++){const v=w+k/19*S,P=x+o*Math.cos(v),Y=m+c*Math.sin(v);$.push({x:P,y:Y})}return $}M(zt,"generateArcPoints");b(zt,"generateArcPoints");function Ea(n,t,s){const[l,o]=[t,s].sort((c,y)=>y-c);return o*(1-Math.sqrt(1-(n/l/2)**2))}M(Ea,"calculateArcSagitta");b(Ea,"calculateArcSagitta");async function Wa(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?16:o,y=t.look==="neo"?12:o,i=b(P=>P+y,"calcTotalHeight"),g=b(P=>{const Y=P/2;return[Y/(2.5+P/50),Y]},"calcEllipseRadius"),{shapeSvg:r,bbox:a}=await X(n,t,O(t)),e=i(t?.height?t?.height:a.height),[h,f]=g(e),p=Ea(e,h,f),u=(t?.width?t?.width:a.width)+c*2+p-p,d=e,{cssStyles:x}=t,m=[{x:u/2,y:-d/2},{x:-u/2,y:-d/2},...zt(-u/2,-d/2,-u/2,d/2,h,f,!1),{x:u/2,y:d/2},...zt(u/2,d/2,u/2,-d/2,h,f,!0)],w=W.svg(r),S=E(t,{});t.look!=="handDrawn"&&(S.roughness=0,S.fillStyle="solid");const $=F(m),k=w.path($,S),v=r.insert(()=>k,":first-child");return v.attr("class","basic label-container outer-path"),x&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",x),l&&t.look!=="handDrawn"&&v.selectAll("path").attr("style",l),v.attr("transform",`translate(${h/2}, 0)`),R(t,v),t.intersect=function(P){return N.polygon(t,m,P)},r}M(Wa,"bowTieRect");b(Wa,"bowTieRect");async function Ta(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,label:i}=await X(n,t,O(t)),g=s?.nodeBorder??s?.lineColor??"currentColor",r=t.padding??12,a=Math.max(y.width+r*2,t.width??0,80),e=Math.max(Math.min(a*.08,12),5),h=Math.max(y.height+r*2+e,t.height??0),f=-h/2+e,p=h/2,u=a*.72,d=[`M${-a/2},${f}`,`L${-u/2},${p}`,`A${u/2},${e} 0 0 0 ${u/2},${p}`,`L${a/2},${f}`,`A${a/2},${e} 0 0 0 ${-a/2},${f}`,"Z"].join(" "),{cssStyles:x}=t,m=c.insert("g",":first-child").attr("class","basic label-container");if(t.look==="handDrawn"){const v=W.svg(c).path(d,E(t,{}));m.node()?.appendChild(v),x&&m.attr("style",x)}else m.append("path").attr("d",d).attr("style",o);m.append("ellipse").attr("cx",0).attr("cy",f).attr("rx",a/2).attr("ry",e).attr("style",`fill:none;stroke:${g};stroke-width:1px`),R(t,m);const w=f+(p-f)/2;i.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${w-y.height/2-(y.y-(y.top??0))})`);const S=12,$=b((v,P,Y)=>Array.from({length:13},(L,H)=>{const A=Math.PI-H*Math.PI/S;return{x:v*Math.cos(A),y:P+Y*e*Math.sin(A)}}),"arc"),k=[...$(a/2,f,-1),...$(u/2,p,1).reverse()];return t.intersect=function(v){return N.polygon(t,k,v)},c}M(Ta,"bucket");b(Ta,"bucket");var Tt=20,_t=8,vs=80,ks=8;function _a(n){const{themeVariables:t}=V(),s=t.clusterBkg,l=t.clusterBorder;return n==="flow"?{rx:10,fill:"none",stroke:t.flowContainerStroke||t.secondaryBorderColor,strokeWidth:.75,cssClass:"flow-collapsed"}:{rx:ks,fill:s,stroke:l,cssClass:"collapsed-group"}}M(_a,"getCollapsedStyle");b(_a,"getCollapsedStyle");async function Ya(n,t){const s=_a(t.metadata?.containerType),{fill:l,stroke:o}=s,{nodeStyles:c}=T(t),{shapeSvg:y,bbox:i}=await X(n,t,O(t)),{theme:g,themeVariables:r}=V();Mt(y,t.colorIndex,g,r.borderColorArray);const a=t.padding??8,e=i.height,h=Math.max(i.width+a*2,vs,t?.width??0),f=Math.max(e+_t+Tt+a*2,t?.height??0),p=-h/2,u=-f/2,d=-(_t+Tt)/2,x=y.select(".label");x&&(t.useHtmlLabels??vt(V())?x.attr("transform",`translate(${-i.width/2}, ${-i.height/2+d})`):x.attr("transform",`translate(0, ${-i.height/2+d})`));let m;if(t.look==="handDrawn"){const v=W.svg(y),P=E(t,{fill:l,stroke:o,...s.strokeWidth===void 0?{}:{strokeWidth:s.strokeWidth},...l==="none"?{fillWeight:0}:{fillStyle:"solid"}}),Y=v.path(gt(p,u,h,f,s.rx),P);m=y.insert(()=>Y,":first-child"),m.attr("class","basic label-container "+s.cssClass).attr("style",Q(t.cssStyles))}else m=y.insert("rect",":first-child"),m.attr("class","basic label-container "+s.cssClass).attr("style",c).attr("rx",s.rx).attr("ry",s.rx).attr("x",p).attr("y",u).attr("width",h).attr("height",f).attr("fill",l).attr("stroke",o),s.strokeWidth!==void 0&&m.attr("stroke-width",s.strokeWidth+"px");const w=u+a+e+_t;y.append("line").attr("class","collapsed-separator").attr("x1",p+8).attr("y1",w).attr("x2",p+h-8).attr("y2",w).attr("stroke",o).attr("stroke-dasharray","3, 3");const S=w+Tt/2,$=2.5,k=10;for(let v=-1;v<=1;v++)y.append("circle").attr("class","collapsed-indicator").attr("cx",v*k).attr("cy",S).attr("r",$).attr("fill",o);return R(t,m),t.calcIntersect=function(v,P){return N.rect(v,P)},t.intersect=function(v){return N.rect(t,v)},y}M(Ya,"collapsedGroup");b(Ya,"collapsedGroup");function nt(n,t,s,l){return n.insert("polygon",":first-child").attr("points",l.map(function(o){return o.x+","+o.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+s/2+")")}M(nt,"insertPolygonShape");b(nt,"insertPolygonShape");var Ms=["right","left","up","down"],Kt="point",Ps=b(n=>{const t=new Set;for(const s of n)switch(s){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(s)}return t},"expandAndDeduplicateDirections"),Ds=b(n=>Ms.filter(t=>n.has(t)).join("|")||Kt,"getDirectionKey"),na={"right|left|up|down":b(({height:n,midpoint:t,padding:s,width:l})=>[{x:0,y:0},{x:t,y:0},{x:l/2,y:2*s},{x:l-t,y:0},{x:l,y:0},{x:l,y:-n/3},{x:l+2*s,y:-n/2},{x:l,y:-2*n/3},{x:l,y:-n},{x:l-t,y:-n},{x:l/2,y:-n-2*s},{x:t,y:-n},{x:0,y:-n},{x:0,y:-2*n/3},{x:-2*s,y:-n/2},{x:0,y:-n/3}],"right|left|up|down"),"right|left|up":b(({height:n,midpoint:t,width:s})=>[{x:t,y:0},{x:s-t,y:0},{x:s,y:-n/2},{x:s-t,y:-n},{x:t,y:-n},{x:0,y:-n/2}],"right|left|up"),"right|left|down":b(({height:n,midpoint:t,width:s})=>[{x:0,y:0},{x:t,y:-n},{x:s-t,y:-n},{x:s,y:0}],"right|left|down"),"right|up|down":b(({height:n,midpoint:t,width:s})=>[{x:0,y:0},{x:s,y:-t},{x:s,y:-n+t},{x:0,y:-n}],"right|up|down"),"left|up|down":b(({height:n,midpoint:t,width:s})=>[{x:s,y:0},{x:0,y:-t},{x:0,y:-n+t},{x:s,y:-n}],"left|up|down"),"right|left":b(({height:n,midpoint:t,padding:s,width:l})=>[{x:t,y:0},{x:t,y:-s},{x:l-t,y:-s},{x:l-t,y:0},{x:l,y:-n/2},{x:l-t,y:-n},{x:l-t,y:-n+s},{x:t,y:-n+s},{x:t,y:-n},{x:0,y:-n/2}],"right|left"),"up|down":b(({height:n,midpoint:t,padding:s,width:l})=>[{x:l/2,y:0},{x:0,y:-s},{x:t,y:-s},{x:t,y:-n+s},{x:0,y:-n+s},{x:l/2,y:-n},{x:l,y:-n+s},{x:l-t,y:-n+s},{x:l-t,y:-s},{x:l,y:-s}],"up|down"),"right|up":b(({height:n,midpoint:t,width:s})=>[{x:0,y:0},{x:s,y:-t},{x:0,y:-n}],"right|up"),"right|down":b(({height:n,width:t})=>[{x:0,y:0},{x:t,y:0},{x:0,y:-n}],"right|down"),"left|up":b(({height:n,midpoint:t,width:s})=>[{x:s,y:0},{x:0,y:-t},{x:s,y:-n}],"left|up"),"left|down":b(({height:n,width:t})=>[{x:t,y:0},{x:0,y:0},{x:t,y:-n}],"left|down"),right:b(({height:n,midpoint:t,padding:s,width:l})=>[{x:t,y:-s},{x:t,y:-s},{x:l-t,y:-s},{x:l-t,y:0},{x:l,y:-n/2},{x:l-t,y:-n},{x:l-t,y:-n+s},{x:t,y:-n+s},{x:t,y:-n+s}],"right"),left:b(({height:n,midpoint:t,padding:s,width:l})=>[{x:t,y:0},{x:t,y:-s},{x:l-t,y:-s},{x:l-t,y:-n+s},{x:t,y:-n+s},{x:t,y:-n},{x:0,y:-n/2}],"left"),up:b(({height:n,midpoint:t,padding:s,width:l})=>[{x:t,y:-s},{x:t,y:-n+s},{x:0,y:-n+s},{x:l/2,y:-n},{x:l,y:-n+s},{x:l-t,y:-n+s},{x:l-t,y:-s}],"up"),down:b(({height:n,midpoint:t,padding:s,width:l})=>[{x:l/2,y:0},{x:0,y:-s},{x:t,y:-s},{x:t,y:-n+s},{x:l-t,y:-n+s},{x:l-t,y:-s},{x:l,y:-s}],"down"),[Kt]:()=>[{x:0,y:0}]},Cs=b((n,t,s,l)=>{const o=Ps(n),c=(s.padding??0)/2,y=t.height+4*c,i=y/2,g=l??t.width+2*i+2*c;return(na[Ds(o)]??na[Kt])({height:y,midpoint:i,padding:c,width:g})},"getArrowPoints");async function Oa(n,t){const s=t,{shapeSvg:l,bbox:o}=await X(n,s,O(s)),c=s.padding??0,y=o.height+2*c,i=y/2,g=o.width+2*i+c,r=s.width??0,a=s.positioned&&(s.widthInColumns??1)>1&&r>g?r:g,e=Cs(s.directions??[],o,s,a),h=nt(l,a,y,e);return h.attr("style",s.style??null),R(s,h),s.intersect=function(f){return N.polygon(s,e,f)},l}M(Oa,"block_arrow");b(Oa,"block_arrow");async function Xa(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,label:i}=await X(n,t,O(t)),g=s?.nodeBorder??s?.lineColor??"currentColor",r=t.padding??12,a=18,e=12,h=Math.max(y.width+r*2,t.width??0,90),f=Math.max(y.height+r*2+a,t.height??0),p=-f/2,{cssStyles:u}=t,d=c.insert("g",":first-child").attr("class","basic label-container");if(t.look==="handDrawn"){const m=W.svg(c).path(gt(-h/2,p,h,f,e),E(t,{}));d.node()?.appendChild(m),u&&d.attr("style",u)}else d.append("rect").attr("x",-h/2).attr("y",p).attr("width",h).attr("height",f).attr("rx",e).attr("ry",e).attr("style",o);d.append("line").attr("x1",-h/2).attr("y1",p+a).attr("x2",h/2).attr("y2",p+a).attr("style",`stroke:${g};stroke-width:1px`);for(let m=0;m<3;m++)d.append("circle").attr("cx",-h/2+12+m*9).attr("cy",p+a/2).attr("r",2.5).attr("style",`fill:${g};stroke:none`);d.append("rect").attr("class","browser-address-bar").attr("x",-h/2+44).attr("y",p+4).attr("width",Math.max(h-56,10)).attr("height",10).attr("rx",3).attr("ry",3).attr("style",`fill:none;stroke:${g};stroke-width:1px;opacity:0.6`),R(t,d);const x=p+a+(f-a)/2;return i.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${x-y.height/2-(y.y-(y.top??0))})`),t.intersect=function(m){return N.rect(t,m)},c}M(Xa,"browser");b(Xa,"browser");var Rt=12;async function ja(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?28:o,y=t.look==="neo"?24:o,{shapeSvg:i,bbox:g}=await X(n,t,O(t)),r=(t?.width??g.width)+(t.look==="neo"?c*2:c+Rt),a=(t?.height??g.height)+(t.look==="neo"?y*2:y),e=0,h=r,f=-a,p=0,u=[{x:e+Rt,y:f},{x:h,y:f},{x:h,y:p},{x:e,y:p},{x:e,y:f+Rt},{x:e+Rt,y:f}];let d;const{cssStyles:x}=t;if(t.look==="handDrawn"){const m=W.svg(i),w=E(t,{}),S=F(u),$=m.path(S,w);d=i.insert(()=>$,":first-child").attr("transform",`translate(${-r/2}, ${a/2})`),x&&d.attr("style",x)}else d=nt(i,r,a,u);return l&&d.attr("style",l),R(t,d),t.intersect=function(m){return N.polygon(t,u,m)},i}M(ja,"card");b(ja,"card");function Fa(n,t){const{nodeStyles:s}=T(t);t.label="";const l=n.insert("g").attr("class",O(t)).attr("id",t.domId??t.id),{cssStyles:o}=t,c=Math.max(28,t.width??0),y=[{x:0,y:c/2},{x:c/2,y:0},{x:0,y:-c/2},{x:-c/2,y:0}],i=W.svg(l),g=E(t,{});t.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const r=F(y),a=i.path(r,g),e=l.insert(()=>a,":first-child");return o&&t.look!=="handDrawn"&&e.selectAll("path").attr("style",o),s&&t.look!=="handDrawn"&&e.selectAll("path").attr("style",s),t.width=28,t.height=28,t.intersect=function(h){return N.polygon(t,y,h)},l}M(Fa,"choice");b(Fa,"choice");async function Qt(n,t,s){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,halfPadding:i}=await X(n,t,O(t)),g=s?.padding??i,r=Math.sqrt(y.width**2+y.height**2)/2,a=t.look==="neo"?r+32:r+g;let e;const{cssStyles:h}=t;if(t.look==="handDrawn"){const f=W.svg(c),p=E(t,{}),u=f.circle(0,0,a*2,p);e=c.insert(()=>u,":first-child"),e.attr("class","basic label-container").attr("style",Q(h))}else e=c.insert("circle",":first-child").attr("class","basic label-container").attr("style",o).attr("r",a).attr("cx",0).attr("cy",0);return R(t,e),t.calcIntersect=function(f,p){const u=f.width/2;return N.circle(f,u,p)},t.intersect=function(f){return J.info("Circle intersect",t,a,f),N.circle(t,a,f)},c}M(Qt,"circle");b(Qt,"circle");async function Ga(n,t){const s=t,{shapeSvg:l,bbox:o,halfPadding:c}=await X(n,s,["node",s.cssClasses,s.class].filter(Boolean).join(" ")),y=l.insert("rect",":first-child"),i=s.padding??0,g=s.positioned?s.width??0:o.width+i,r=s.positioned?s.height??0:o.height+i,a=s.positioned?-g/2:-o.width/2-c,e=s.positioned?-r/2:-o.height/2-c;return y.attr("class","basic cluster composite label-container").attr("style",s.style??null).attr("rx",s.rx??null).attr("ry",s.ry??null).attr("x",a).attr("y",e).attr("width",g).attr("height",r),R(s,y),s.intersect=function(h){return N.rect(s,h)},l}M(Ga,"composite");b(Ga,"composite");async function qa(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,label:i}=await X(n,t,O(t)),g=s?.nodeBorder??s?.lineColor??"currentColor",r=t.padding??12,a=20,e=12,h=Math.max(y.width+r*2,t.width??0,90),f=Math.max(y.height+r*2+a,t.height??0),p=-f/2,{cssStyles:u}=t,d=c.insert("g",":first-child").attr("class","basic label-container");if(t.look==="handDrawn"){const m=W.svg(c).path(gt(-h/2,p,h,f,e),E(t,{}));d.node()?.appendChild(m),u&&d.attr("style",u)}else d.append("rect").attr("x",-h/2).attr("y",p).attr("width",h).attr("height",f).attr("rx",e).attr("ry",e).attr("style",o);d.append("text").attr("x",-h/2+12).attr("y",p+16).attr("class","console-glyph").attr("style",`font-family:monospace;font-weight:bold;font-size:14px;fill:${g}`).text(">_"),R(t,d);const x=p+a+(f-a)/2;return i.attr("transform",`translate(${-(y.width/2)-(y.x-(y.left??0))}, ${x-y.height/2-(y.y-(y.top??0))})`),t.intersect=function(m){return N.rect(t,m)},c}M(qa,"consoleWindow");b(qa,"consoleWindow");function za(n){const t=Math.cos(Math.PI/4),s=Math.sin(Math.PI/4),l=n*2,o={x:l/2*t,y:l/2*s},c={x:-(l/2)*t,y:l/2*s},y={x:-(l/2)*t,y:-(l/2)*s},i={x:l/2*t,y:-(l/2)*s};return`M ${c.x},${c.y} L ${i.x},${i.y}
|
|
2
2
|
M ${o.x},${o.y} L ${y.x},${y.y}`}M(za,"createLine");b(za,"createLine");function Va(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s,t.label="";const o=n.insert("g").attr("class",O(t)).attr("id",t.domId??t.id),c=Math.max(30,t?.width??0),{cssStyles:y}=t,i=W.svg(o),g=E(t,{});t.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");const r=i.circle(0,0,c*2,g),a=za(c),e=i.path(a,g),h=o.insert(()=>r,":first-child");return h.insert(()=>e),h.attr("class","outer-path"),y&&t.look!=="handDrawn"&&h.selectAll("path").attr("style",y),l&&t.look!=="handDrawn"&&h.selectAll("path").attr("style",l),R(t,h),t.intersect=function(f){return J.info("crossedCircle intersect",t,{radius:c,point:f}),N.circle(t,c,f)},o}M(Va,"crossedCircle");b(Va,"crossedCircle");function ot(n,t,s,l=100,o=0,c=180){const y=[],i=o*Math.PI/180,g=(c*Math.PI/180-i)/(l-1);for(let r=0;r<l;r++){const a=i+r*g,e=n+s*Math.cos(a),h=t+s*Math.sin(a);y.push({x:-e,y:-h})}return y}M(ot,"generateCirclePoints2");b(ot,"generateCirclePoints");async function Za(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c,label:y}=await X(n,t,O(t)),i=t.look==="neo"?18:t.padding??0,g=t.look==="neo"?12:t.padding??0,r=c.width+i,a=c.height+g,e=Math.max(5,a*.1),{cssStyles:h}=t,f=[...ot(r/2,-a/2,e,30,-90,0),{x:-r/2-e,y:e},...ot(r/2+e*2,-e,e,20,-180,-270),...ot(r/2+e*2,e,e,20,-90,-180),{x:-r/2-e,y:-a/2},...ot(r/2,a/2,e,20,0,90)],p=[{x:r/2,y:-a/2-e},{x:-r/2,y:-a/2-e},...ot(r/2,-a/2,e,20,-90,0),{x:-r/2-e,y:-e},...ot(r/2+r*.1,-e,e,20,-180,-270),...ot(r/2+r*.1,e,e,20,-90,-180),{x:-r/2-e,y:a/2},...ot(r/2,a/2,e,20,0,90),{x:-r/2,y:a/2+e},{x:r/2,y:a/2+e}],u=W.svg(o),d=E(t,{fill:"none"});t.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");const x=F(f).replace("Z",""),m=u.path(x,d),w=F(p),S=u.path(w,{...d}),$=o.insert("g",":first-child");return $.insert(()=>S,":first-child").attr("stroke-opacity",0),$.insert(()=>m,":first-child"),$.attr("class","text"),h&&t.look!=="handDrawn"&&$.selectAll("path").attr("style",h),l&&t.look!=="handDrawn"&&$.selectAll("path").attr("style",l),$.attr("transform",`translate(${e}, 0)`),y.attr("transform",`translate(${-r/2+e-(c.x-(c.left??0))},${-a/2+(t.padding??0)/2-(c.y-(c.top??0))})`),R(t,$),t.intersect=function(k){return N.polygon(t,p,k)},o}M(Za,"curlyBraceLeft");b(Za,"curlyBraceLeft");function ht(n,t,s,l=100,o=0,c=180){const y=[],i=o*Math.PI/180,g=(c*Math.PI/180-i)/(l-1);for(let r=0;r<l;r++){const a=i+r*g,e=n+s*Math.cos(a),h=t+s*Math.sin(a);y.push({x:e,y:h})}return y}M(ht,"generateCirclePoints3");b(ht,"generateCirclePoints");async function Ua(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c,label:y}=await X(n,t,O(t)),i=t.look==="neo"?18:t.padding??0,g=t.look==="neo"?12:t.padding??0,r=c.width+(t.look==="neo"?i*2:i),a=c.height+(t.look==="neo"?g*2:g),e=Math.max(5,a*.1),{cssStyles:h}=t,f=[...ht(r/2,-a/2,e,20,-90,0),{x:r/2+e,y:-e},...ht(r/2+e*2,-e,e,20,-180,-270),...ht(r/2+e*2,e,e,20,-90,-180),{x:r/2+e,y:a/2},...ht(r/2,a/2,e,20,0,90)],p=[{x:-r/2,y:-a/2-e},{x:r/2,y:-a/2-e},...ht(r/2,-a/2,e,20,-90,0),{x:r/2+e,y:-e},...ht(r/2+e*2,-e,e,20,-180,-270),...ht(r/2+e*2,e,e,20,-90,-180),{x:r/2+e,y:a/2},...ht(r/2,a/2,e,20,0,90),{x:r/2,y:a/2+e},{x:-r/2,y:a/2+e}],u=W.svg(o),d=E(t,{fill:"none"});t.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");const x=F(f).replace("Z",""),m=u.path(x,d),w=F(p),S=u.path(w,{...d}),$=o.insert("g",":first-child");return $.insert(()=>S,":first-child").attr("stroke-opacity",0),$.insert(()=>m,":first-child"),$.attr("class","text"),h&&t.look!=="handDrawn"&&$.selectAll("path").attr("style",h),l&&t.look!=="handDrawn"&&$.selectAll("path").attr("style",l),$.attr("transform",`translate(${-e}, 0)`),y.attr("transform",`translate(${-r/2+(t.padding??0)/2-(c.x-(c.left??0))},${-a/2+(t.padding??0)/2-(c.y-(c.top??0))})`),R(t,$),t.intersect=function(k){return N.polygon(t,p,k)},o}M(Ua,"curlyBraceRight");b(Ua,"curlyBraceRight");function K(n,t,s,l=100,o=0,c=180){const y=[],i=o*Math.PI/180,g=(c*Math.PI/180-i)/(l-1);for(let r=0;r<l;r++){const a=i+r*g,e=n+s*Math.cos(a),h=t+s*Math.sin(a);y.push({x:-e,y:-h})}return y}M(K,"generateCirclePoints4");b(K,"generateCirclePoints");async function Ja(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c,label:y}=await X(n,t,O(t)),i=t.look==="neo"?18:t.padding??0,g=t.look==="neo"?12:t.padding??0,r=c.width+(t.look==="neo"?i*2:i),a=c.height+(t.look==="neo"?g*2:g),e=Math.max(5,a*.1),{cssStyles:h}=t,f=[...K(r/2,-a/2,e,30,-90,0),{x:-r/2-e,y:e},...K(r/2+e*2,-e,e,20,-180,-270),...K(r/2+e*2,e,e,20,-90,-180),{x:-r/2-e,y:-a/2},...K(r/2,a/2,e,20,0,90)],p=[...K(-r/2+e+e/2,-a/2,e,20,-90,-180),{x:r/2-e/2,y:e},...K(-r/2-e/2,-e,e,20,0,90),...K(-r/2-e/2,e,e,20,-90,0),{x:r/2-e/2,y:-e},...K(-r/2+e+e/2,a/2,e,30,-180,-270)],u=[{x:r/2,y:-a/2-e},{x:-r/2,y:-a/2-e},...K(r/2,-a/2,e,20,-90,0),{x:-r/2-e,y:-e},...K(r/2+e*2,-e,e,20,-180,-270),...K(r/2+e*2,e,e,20,-90,-180),{x:-r/2-e,y:a/2},...K(r/2,a/2,e,20,0,90),{x:-r/2,y:a/2+e},{x:r/2-e-e/2,y:a/2+e},...K(-r/2+e+e/2,-a/2,e,20,-90,-180),{x:r/2-e/2,y:e},...K(-r/2-e/2,-e,e,20,0,90),...K(-r/2-e/2,e,e,20,-90,0),{x:r/2-e/2,y:-e},...K(-r/2+e+e/2,a/2,e,30,-180,-270)],d=W.svg(o),x=E(t,{fill:"none"});t.look!=="handDrawn"&&(x.roughness=0,x.fillStyle="solid");const m=F(f).replace("Z",""),w=d.path(m,x),S=F(p).replace("Z",""),$=d.path(S,x),k=F(u),v=d.path(k,{...x}),P=o.insert("g",":first-child");return P.insert(()=>v,":first-child").attr("stroke-opacity",0),P.insert(()=>w,":first-child"),P.insert(()=>$,":first-child"),P.attr("class","text"),h&&t.look!=="handDrawn"&&P.selectAll("path").attr("style",h),l&&t.look!=="handDrawn"&&P.selectAll("path").attr("style",l),P.attr("transform",`translate(${e-e/4}, 0)`),y.attr("transform",`translate(${-r/2+(t.padding??0)/2-(c.x-(c.left??0))},${-a/2+(t.padding??0)/2-(c.y-(c.top??0))})`),R(t,P),t.intersect=function(Y){return N.polygon(t,u,Y)},o}M(Ja,"curlyBraces");b(Ja,"curlyBraces");async function Ka(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?16:o,y=t.look==="neo"?12:o,i=20,g=5,{shapeSvg:r,bbox:a}=await X(n,t,O(t)),e=Math.max(g,a.height+y*2,t?.height??0),h=e/2,f=h-Math.sqrt(Math.max(0,h**2-(a.height/2)**2)),p=Math.max(e/4,f),u=Math.max(i,a.width+c*2+p*2,(a.width+c*2)*1.25,t?.width??0),{cssStyles:d}=t,x=W.svg(r),m=E(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const w=u,S=e,$=w-h,k=S/4,v=[{x:$,y:0},{x:k,y:0},{x:0,y:S/2},{x:k,y:S},{x:$,y:S},...lt(-$,-S/2,h,50,270,90)],P=F(v),Y=x.path(P,m),L=r.insert(()=>Y,":first-child");return L.attr("class","basic label-container outer-path"),d&&t.look!=="handDrawn"&&L.selectChildren("path").attr("style",d),l&&t.look!=="handDrawn"&&L.selectChildren("path").attr("style",l),L.attr("transform",`translate(${-u/2}, ${-e/2})`),R(t,L),t.intersect=function(H){return N.polygon(t,v,H)},r}M(Ka,"curvedTrapezoid");b(Ka,"curvedTrapezoid");async function Qa(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c,label:y}=await X(n,t,O(t)),i=t.padding??20,g=Math.max(c.width+i*2,t.width??0,100),r=Math.min(Math.max(g*.23,16),56),a=r*.27,e=Math.max(c.height+i*2,t.height?t.height-(2*r-a):0),h=Math.min(g*.177,e*.45),f=e+2*r-a,p=-f/2,u=p+2*r-a,d=o.insert("g",":first-child").attr("class","basic label-container"),{cssStyles:x}=t;if(t.look==="handDrawn"){const k=W.svg(o),v=E(t,{}),P=k.path(gt(-g/2,u,g,e,h),v),Y=k.circle(0,p+r,r*2,v);d.insert(()=>Y,":first-child"),d.insert(()=>P,":first-child"),x&&d.attr("style",x)}else d.append("rect").attr("x",-g/2).attr("y",u).attr("width",g).attr("height",e).attr("rx",h).attr("ry",h).attr("style",l),d.append("circle").attr("cx",0).attr("cy",p+r).attr("r",r).attr("style",l);R(t,d);const m=u+e/2;y.attr("transform",`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${m-c.height/2-(c.y-(c.top??0))})`);const w=p+r,S=Math.asin(Math.min(1,(u-w)/r))*180/Math.PI,$=[...lt(0,-w,r,24,180+S,-S),...lt(-(-g/2+h),-(u+h),h,12,90,0),...lt(-(-g/2+h),-(f/2-h),h,12,360,270),...lt(-(g/2-h),-(f/2-h),h,12,270,180),...lt(-(g/2-h),-(u+h),h,12,180,90)];return t.intersect=function(k){return N.polygon(t,$,k)},o}M(Qa,"person");b(Qa,"person");var Ns=b((n,t,s,l,o,c)=>[`M${n},${t+c}`,`a${o},${c} 0,0,0 ${s},0`,`a${o},${c} 0,0,0 ${-s},0`,`l0,${l}`,`a${o},${c} 0,0,0 ${s},0`,`l0,${-l}`].join(" "),"createCylinderPathD"),As=b((n,t,s,l,o,c)=>[`M${n},${t+c}`,`M${n+s},${t+c}`,`a${o},${c} 0,0,0 ${-s},0`,`l0,${l}`,`a${o},${c} 0,0,0 ${s},0`,`l0,${-l}`].join(" "),"createOuterCylinderPathD"),Bs=b((n,t,s,l,o,c)=>[`M${n-s/2},${-l/2}`,`a${o},${c} 0,0,0 ${s},0`].join(" "),"createInnerCylinderPathD"),ca=8,oa=8;async function te(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?24:o,y=t.look==="neo"?24:o,i=t.width??0;if(t.width&&(t.width=t.width-y,t.width<oa&&(t.width=oa)),t.height){const x=i/2/(2.5+i/50);t.height=t.height-c-x*3,t.height<ca&&(t.height=ca)}const{shapeSvg:g,bbox:r,label:a}=await X(n,t,O(t)),e=Math.max(t.width??0,r.width)+y,h=e/2,f=h/(2.5+e/50),p=Math.max(t.height??0,r.height)+c+f;let u;const{cssStyles:d}=t;if(t.look==="handDrawn"){const x=W.svg(g),m=As(0,0,e,p,h,f),w=Bs(0,f,e,p,h,f),S=E(t,{}),$=x.path(m,S),k=x.path(w,E(t,{fill:"none"}));u=g.insert(()=>k,":first-child"),u=g.insert(()=>$,":first-child"),u.attr("class","basic label-container"),d&&u.attr("style",d)}else{const x=Ns(0,0,e,p,h,f);u=g.insert("path",":first-child").attr("d",x).attr("class","basic label-container outer-path").attr("style",Q(d)).attr("style",l)}return u.attr("label-offset-y",f),u.attr("transform",`translate(${-e/2}, ${-(p/2+f)})`),R(t,u),a.attr("transform",`translate(${-(r.width/2)-(r.x-(r.left??0))}, ${-(r.height/2)+(t.padding??0)/1.5-(r.y-(r.top??0))})`),t.intersect=function(x){const m=N.rect(t,x),w=m.x-(t.x??0);if(h!=0&&(Math.abs(w)<(t.width??0)/2||Math.abs(w)==(t.width??0)/2&&Math.abs(m.y-(t.y??0))>(t.height??0)/2-f)){let S=f*f*(1-w*w/(h*h));S>0&&(S=Math.sqrt(S)),S=f-S,x.y-(t.y??0)>0&&(S=-S),m.y+=S}return m},g}M(te,"cylinder");b(te,"cylinder");async function Pt(n,t,s){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y}=await X(n,t,O(t)),i=Math.max(y.width+s.labelPaddingX*2,t?.width||0),g=Math.max(y.height+s.labelPaddingY*2,t?.height||0),r=-i/2,a=-g/2;let e,{rx:h,ry:f}=t;const{cssStyles:p}=t;if(s?.rx&&s.ry&&(h=s.rx,f=s.ry),t.look==="handDrawn"){const u=W.svg(c),d=E(t,{}),x=h||f?u.path(gt(r,a,i,g,h||0),d):u.rectangle(r,a,i,g,d);e=c.insert(()=>x,":first-child"),e.attr("class","basic label-container").attr("style",Q(p))}else e=c.insert("rect",":first-child"),e.attr("class","basic label-container").attr("style",o).attr("rx",Q(h)).attr("ry",Q(f)).attr("x",r).attr("y",a).attr("width",i).attr("height",g);return R(t,e,t.look==="handDrawn"?void 0:{width:i,height:g}),t.calcIntersect=function(u,d){return N.rect(u,d)},t.intersect=function(u){return N.rect(t,u)},c}M(Pt,"drawRect");b(Pt,"drawRect");async function ae(n,t){const{cssClasses:s,labelPaddingX:l,labelPaddingY:o,padding:c,width:y,height:i}=t,g=await Pt(n,t,{rx:0,ry:0,classes:s??"",labelPaddingX:l??(c??0)*2,labelPaddingY:o??c??0});if(t.look==="handDrawn"){const h=W.svg(g),f=E(t,{}),p=g.select(".basic.label-container > path:nth-child(2)"),u=p.node();if(!u)return g;let d=null;if(u instanceof SVGGraphicsElement)d=u.getBBox();else return g;return g.insert(()=>h.line(d.x,d.y,d.x+d.width,d.y,f),".basic.label-container g.label"),g.insert(()=>h.line(d.x,d.y+d.height,d.x+d.width,d.y+d.height,f),".basic.label-container g.label"),p.remove(),g}const r=g.select(".basic.label-container"),a=(Number(r.attr("width"))||y)??0,e=(Number(r.attr("height"))||i)??0;return a>0&&e>0&&r.attr("stroke-dasharray",`${a} ${e}`),g}M(ae,"datastore");b(ae,"datastore");async function ee(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.look==="neo"?16:t.padding??0,c=t.look==="neo"?16:t.padding??0,{shapeSvg:y,bbox:i,label:g}=await X(n,t,O(t)),r=i.width+o,a=i.height+c,e=a*.2,h=-r/2,f=-a/2-e/2,{cssStyles:p}=t,u=W.svg(y),d=E(t,{});t.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");const x=[{x:h,y:f+e},{x:-h,y:f+e},{x:-h,y:-f},{x:h,y:-f},{x:h,y:f},{x:-h,y:f},{x:-h,y:f+e}],m=u.polygon(x.map(S=>[S.x,S.y]),d),w=y.insert(()=>m,":first-child");return w.attr("class","basic label-container outer-path"),p&&t.look!=="handDrawn"&&w.selectAll("path").attr("style",p),l&&t.look!=="handDrawn"&&w.selectAll("path").attr("style",l),g.attr("transform",`translate(${h+(t.padding??0)/2-(i.x-(i.left??0))}, ${f+e+(t.padding??0)/2-(i.y-(i.top??0))})`),R(t,w),t.intersect=function(S){return N.rect(t,S)},y}M(ee,"dividedRectangle");b(ee,"dividedRectangle");async function se(n,t){const{labelStyles:s,nodeStyles:l}=T(t),o=t.look==="neo"?12:5;t.labelStyle=s;const c=t.padding??0,y=t.look==="neo"?16:c,{shapeSvg:i,bbox:g}=await X(n,t,O(t)),r=Math.sqrt(g.width**2+g.height**2)/2,a=(t?.width?t?.width/2:r)+(y??0),e=a+o;let h;const{cssStyles:f}=t;if(t.look==="handDrawn"){const p=W.svg(i),u=E(t,{roughness:.2,strokeWidth:2.5}),d=E(t,{roughness:.2,strokeWidth:1.5}),x=p.circle(0,0,e*2,u),m=p.circle(0,0,a*2,d);h=i.insert("g",":first-child"),h.attr("class",Q(t.cssClasses)).attr("style",Q(f)),h.node()?.appendChild(x),h.node()?.appendChild(m)}else{h=i.insert("g",":first-child");const p=h.insert("circle",":first-child"),u=h.insert("circle");h.attr("class","basic label-container").attr("style",l),p.attr("class","outer-circle").attr("style",l).attr("r",e).attr("cx",0).attr("cy",0),u.attr("class","inner-circle").attr("style",l).attr("r",a).attr("cx",0).attr("cy",0)}return R(t,h),t.intersect=function(p){return J.info("DoubleCircle intersect",t,e,p),N.circle(t,e,p)},i}M(se,"doublecircle");b(se,"doublecircle");async function re(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c,halfPadding:y}=await X(n,t,O(t)),{theme:i,themeVariables:g}=V();Mt(o,t.colorIndex,i,g.borderColorArray);const r=y??10,a=c.width/2+r*2,e=c.height/2+r*2;let h;const{cssStyles:f}=t;if(t.look==="handDrawn"){const p=W.svg(o),u=E(t,{}),d=p.ellipse(0,0,a*2,e*2,u);h=o.insert(()=>d,":first-child"),h.attr("class","basic label-container"),f&&h.attr("style",f)}else h=o.insert("ellipse",":first-child").attr("class","basic label-container").attr("style",l).attr("rx",a).attr("ry",e).attr("cx",0).attr("cy",0);return t.width=a*2,t.height=e*2,R(t,h),t.calcIntersect=function(p,u){const d=p.width/2,x=p.height/2;return N.ellipse(p,d,x,u)},t.intersect=function(p){return N.ellipse(t,a,e,p)},o}M(re,"usecaseEllipse");b(re,"usecaseEllipse");function ie(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.label="",t.labelStyle=l;const c=n.insert("g").attr("class",O(t)).attr("id",t.domId??t.id),y=7,{cssStyles:i}=t,g=W.svg(c),{nodeBorder:r}=s,a=E(t,{fillStyle:"solid"});t.look!=="handDrawn"&&(a.roughness=0);const e=g.circle(0,0,14,a),h=c.insert(()=>e,":first-child");return h.selectAll("path").attr("style",`fill: ${r} !important;`),i&&i.length>0&&t.look!=="handDrawn"&&h.selectAll("path").attr("style",i),o&&t.look!=="handDrawn"&&h.selectAll("path").attr("style",o),R(t,h),t.intersect=function(f){return J.info("filledCircle intersect",t,{radius:y,point:f}),N.circle(t,y,f)},c}M(ie,"filledCircle");b(ie,"filledCircle");var ha=10,ga=10;async function le(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?o*2:o;(t.width||t.height)&&(t.height=t?.height??0,t.height<ha&&(t.height=ha),t.width=(t?.width??0)-c-c/2,t.width<ga&&(t.width=ga));const{shapeSvg:y,bbox:i,label:g}=await X(n,t,O(t)),r=(t?.width?t?.width:i.width)+(c??0),a=t?.height?t?.height:r+i.height,e=a,h=[{x:0,y:-a},{x:e,y:-a},{x:e/2,y:0}],{cssStyles:f}=t,p=W.svg(y),u=E(t,{});t.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");const d=F(h),x=p.path(d,u),m=y.insert(()=>x,":first-child").attr("transform",`translate(${-a/2}, ${a/2})`).attr("class","outer-path");return f&&t.look!=="handDrawn"&&m.selectChildren("path").attr("style",f),l&&t.look!=="handDrawn"&&m.selectChildren("path").attr("style",l),t.width=r,t.height=a,R(t,m),g.attr("transform",`translate(${-i.width/2-(i.x-(i.left??0))}, ${-a/2+(t.padding??0)/2+(i.y-(i.top??0))})`),t.intersect=function(w){return J.info("Triangle intersect",t,h,w),N.polygon(t,h,w)},y}M(le,"flippedTriangle");b(le,"flippedTriangle");async function ne(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c,label:y}=await X(n,t,O(t)),i=t.padding??12,g=Math.max(c.width+i*2,t.width??0,90),r=c.height+i*2,a=Math.max(Math.min(r*.16,14),8),e=Math.max(r+a,t.height??0),h=e-a,f=Math.max(g*.38,28),p=-e/2,u=[{x:-g/2,y:p},{x:-g/2+f,y:p},{x:-g/2+f,y:p+a},{x:g/2,y:p+a},{x:g/2,y:e/2},{x:-g/2,y:e/2}],d=[`M${u[0].x},${u[0].y}`,...u.slice(1).map(S=>`L${S.x},${S.y}`),"Z"].join(" "),{cssStyles:x}=t;let m;if(t.look==="handDrawn"){const S=W.svg(o).path(d,E(t,{}));m=o.insert(()=>S,":first-child").attr("class","basic label-container"),x&&m.attr("style",x)}else m=o.insert("path",":first-child").attr("d",d).attr("class","basic label-container").attr("style",l);t.look==="handDrawn"?R(t,m):R(t,m,{width:g,height:e});const w=p+a+h/2;return y.attr("transform",`translate(${-(c.width/2)-(c.x-(c.left??0))}, ${w-c.height/2-(c.y-(c.top??0))})`),t.intersect=function(S){return N.polygon(t,u,S)},o}M(ne,"folder");b(ne,"folder");function ce(n,t,{dir:s,config:{state:l,themeVariables:o}}){const{nodeStyles:c}=T(t);t.label="";const y=n.insert("g").attr("class",O(t)).attr("id",t.domId??t.id),{cssStyles:i}=t;let g=Math.max(70,t?.width??0),r=Math.max(10,t?.height??0);(s==="LR"||s==="RL")&&(g=Math.max(10,t?.width??0),r=Math.max(70,t?.height??0));const a=-1*g/2,e=-1*r/2,h=W.svg(y),f=E(t,{stroke:o.lineColor,fill:o.lineColor});t.look!=="handDrawn"&&(f.roughness=0,f.fillStyle="solid");const p=h.rectangle(a,e,g,r,f),u=y.insert(()=>p,":first-child");i&&t.look!=="handDrawn"&&u.selectAll("path").attr("style",i),c&&t.look!=="handDrawn"&&u.selectAll("path").attr("style",c),R(t,u);const d=l?.padding??0;return t.width&&t.height&&(t.width+=d/2||0,t.height+=d/2||0),t.intersect=function(x){return N.rect(t,x)},y}M(ce,"forkJoin");b(ce,"forkJoin");async function oe(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=15,c=10,y=t.look==="neo"?16:t.padding??0,i=t.look==="neo"?12:t.padding??0;(t.width||t.height)&&(t.height=(t?.height??0)-i*2,t.height<c&&(t.height=c),t.width=(t?.width??0)-y*2,t.width<o&&(t.width=o));const{shapeSvg:g,bbox:r}=await X(n,t,O(t)),a=(t?.height?t?.height:Math.max(c,r.height))+i*2,e=a/2,h=e-Math.sqrt(Math.max(0,e**2-(r.height/2)**2)),f=(t?.width?t?.width:Math.max(o,r.width)+h*2)+y*2,{cssStyles:p}=t,u=W.svg(g),d=E(t,{});t.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");const x=[{x:-f/2,y:-a/2},{x:f/2-e,y:-a/2},...lt(-f/2+e,0,e,50,90,270),{x:f/2-e,y:a/2},{x:-f/2,y:a/2}],m=F(x),w=u.path(m,d),S=g.insert(()=>w,":first-child");return S.attr("class","basic label-container outer-path"),p&&t.look!=="handDrawn"&&S.selectChildren("path").attr("style",p),l&&t.look!=="handDrawn"&&S.selectChildren("path").attr("style",l),R(t,S),t.intersect=function($){return J.info("Pill intersect",t,{radius:e,point:$}),N.polygon(t,x,$)},g}M(oe,"halfRoundedRectangle");b(oe,"halfRoundedRectangle");var Hs=b((n,t,s,l,o)=>[`M${n+o},${t}`,`L${n+s-o},${t}`,`L${n+s},${t-l/2}`,`L${n+s-o},${t-l}`,`L${n+o},${t-l}`,`L${n},${t-l/2}`,"Z"].join(" "),"createHexagonPathD");async function he(n,t){const{labelStyles:s,nodeStyles:l}=T(t),o=t.look==="neo"?3.5:4;t.labelStyle=s;const c=t.padding??0,y=70,i=32,g=t.look==="neo"?y:c,r=t.look==="neo"?i:c;if(t.width||t.height){const m=(t.height??0)/o;t.width=(t?.width??0)-2*m-r,t.height=(t.height??0)-g}const{shapeSvg:a,bbox:e}=await X(n,t,O(t)),h=(t?.height?t?.height:e.height)+g,f=h/o,p=(t?.width?t?.width:e.width)+2*f+r,u=[{x:f,y:0},{x:p-f,y:0},{x:p,y:-h/2},{x:p-f,y:-h},{x:f,y:-h},{x:0,y:-h/2}];let d;const{cssStyles:x}=t;if(t.look==="handDrawn"){const m=W.svg(a),w=E(t,{}),S=Hs(0,0,p,h,f),$=m.path(S,w);d=a.insert(()=>$,":first-child").attr("transform",`translate(${-p/2}, ${h/2})`),x&&d.attr("style",x)}else d=nt(a,p,h,u);return l&&d.attr("style",l),t.width=p,t.height=h,R(t,d),t.intersect=function(m){return N.polygon(t,u,m)},a}M(he,"hexagon");b(he,"hexagon");async function ge(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.label="",t.labelStyle=s;const{shapeSvg:o}=await X(n,t,O(t)),c=Math.max(30,t?.width??0),y=Math.max(30,t?.height??0),{cssStyles:i}=t,g=W.svg(o),r=E(t,{});t.look!=="handDrawn"&&(r.roughness=0,r.fillStyle="solid");const a=[{x:0,y:0},{x:c,y:0},{x:0,y},{x:c,y}],e=F(a),h=g.path(e,r),f=o.insert(()=>h,":first-child");return f.attr("class","basic label-container outer-path"),i&&t.look!=="handDrawn"&&f.selectChildren("path").attr("style",i),l&&t.look!=="handDrawn"&&f.selectChildren("path").attr("style",l),f.attr("transform",`translate(${-c/2}, ${-y/2})`),R(t,f),t.intersect=function(p){return J.info("Pill intersect",t,{points:a}),N.polygon(t,a,p)},o}M(ge,"hourglass");b(ge,"hourglass");async function ye(n,t,{config:{themeVariables:s,flowchart:l}}){const{labelStyles:o}=T(t);t.labelStyle=o;const c=t.assetHeight??48,y=t.assetWidth??48,i=Math.max(c,y),g=l?.wrappingWidth;t.width=Math.max(i,g??0);const{shapeSvg:r,bbox:a,label:e}=await X(n,t,"icon-shape default"),h=t.pos==="t",f=i,p=i,{nodeBorder:u}=s,{stylesMap:d}=Ht(t),x=-p/2,m=-f/2,w=t.label?8:0,S=W.svg(r),$=E(t,{stroke:"none",fill:"none"});t.look!=="handDrawn"&&($.roughness=0,$.fillStyle="solid");const k=S.rectangle(x,m,p,f,$),v=Math.max(p,a.width),P=f+a.height+w,Y=S.rectangle(-v/2,-P/2,v,P,{...$,fill:"transparent",stroke:"none"}),L=r.insert(()=>k,":first-child"),H=r.insert(()=>Y);if(t.icon){const A=r.append("g");A.html(`<g>${await Bt(t.icon,{height:i,width:i,fallbackPrefix:""})}</g>`);const C=A.node().getBBox(),B=C.width,D=C.height,I=C.x,_=C.y;A.attr("transform",`translate(${-B/2-I},${h?a.height/2+w/2-D/2-_:-a.height/2-w/2-D/2-_})`),A.attr("style",`color: ${d.get("stroke")??u};`)}return e.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))},${h?-P/2:P/2-a.height})`),L.attr("transform",`translate(0,${h?a.height/2+w/2:-a.height/2-w/2})`),R(t,H),t.intersect=function(A){if(J.info("iconSquare intersect",t,A),!t.label)return N.rect(t,A);const C=t.x??0,B=t.y??0,D=t.height??0;let I=[];return h?I=[{x:C-a.width/2,y:B-D/2},{x:C+a.width/2,y:B-D/2},{x:C+a.width/2,y:B-D/2+a.height+w},{x:C+p/2,y:B-D/2+a.height+w},{x:C+p/2,y:B+D/2},{x:C-p/2,y:B+D/2},{x:C-p/2,y:B-D/2+a.height+w},{x:C-a.width/2,y:B-D/2+a.height+w}]:I=[{x:C-p/2,y:B-D/2},{x:C+p/2,y:B-D/2},{x:C+p/2,y:B-D/2+f},{x:C+a.width/2,y:B-D/2+f},{x:C+a.width/2/2,y:B+D/2},{x:C-a.width/2,y:B+D/2},{x:C-a.width/2,y:B-D/2+f},{x:C-p/2,y:B-D/2+f}],N.polygon(t,I,A)},r}M(ye,"icon");b(ye,"icon");async function fe(n,t,{config:{themeVariables:s,flowchart:l}}){const{labelStyles:o}=T(t);t.labelStyle=o;const c=t.assetHeight??48,y=t.assetWidth??48,i=Math.max(c,y),g=l?.wrappingWidth;t.width=Math.max(i,g??0);const{shapeSvg:r,bbox:a,label:e}=await X(n,t,"icon-shape default"),h=t.label?8:0,f=t.pos==="t",{nodeBorder:p,mainBkg:u}=s,{stylesMap:d}=Ht(t),x=W.svg(r),m=E(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid"),m.stroke=d.get("fill")??u;const w=r.append("g");t.icon&&w.html(`<g>${await Bt(t.icon,{height:i,width:i,fallbackPrefix:""})}</g>`);const S=w.node().getBBox(),$=S.width,k=S.height,v=S.x,P=S.y,Y=Math.max($,k)*Math.SQRT2+40,L=x.circle(0,0,Y,m),H=Math.max(Y,a.width),A=Y+a.height+h,C=x.rectangle(-H/2,-A/2,H,A,{...m,fill:"transparent",stroke:"none"}),B=r.insert(()=>L,":first-child"),D=r.insert(()=>C);return w.attr("transform",`translate(${-$/2-v},${f?a.height/2+h/2-k/2-P:-a.height/2-h/2-k/2-P})`),w.attr("style",`color: ${d.get("stroke")??p};`),e.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))},${f?-A/2:A/2-a.height})`),B.attr("transform",`translate(0,${f?a.height/2+h/2:-a.height/2-h/2})`),R(t,D),t.intersect=function(I){return J.info("iconSquare intersect",t,I),N.rect(t,I)},r}M(fe,"iconCircle");b(fe,"iconCircle");async function pe(n,t,{config:{themeVariables:s,flowchart:l}}){const{labelStyles:o}=T(t);t.labelStyle=o;const c=t.assetHeight??48,y=t.assetWidth??48,i=Math.max(c,y),g=l?.wrappingWidth;t.width=Math.max(i,g??0);const{shapeSvg:r,bbox:a,halfPadding:e,label:h}=await X(n,t,"icon-shape default"),f=t.pos==="t",p=i+e*2,u=i+e*2,{nodeBorder:d,mainBkg:x}=s,{stylesMap:m}=Ht(t),w=-u/2,S=-p/2,$=t.label?8:0,k=W.svg(r),v=E(t,{});t.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid"),v.stroke=m.get("fill")??x;const P=k.path(gt(w,S,u,p,5),v),Y=Math.max(u,a.width),L=p+a.height+$,H=k.rectangle(-Y/2,-L/2,Y,L,{...v,fill:"transparent",stroke:"none"}),A=r.insert(()=>P,":first-child").attr("class","icon-shape2"),C=r.insert(()=>H);if(t.icon){const B=r.append("g");B.html(`<g>${await Bt(t.icon,{height:i,width:i,fallbackPrefix:""})}</g>`);const D=B.node().getBBox(),I=D.width,_=D.height,q=D.x,G=D.y;B.attr("transform",`translate(${-I/2-q},${f?a.height/2+$/2-_/2-G:-a.height/2-$/2-_/2-G})`),B.attr("style",`color: ${m.get("stroke")??d};`)}return h.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))},${f?-L/2:L/2-a.height})`),A.attr("transform",`translate(0,${f?a.height/2+$/2:-a.height/2-$/2})`),R(t,C),t.intersect=function(B){if(J.info("iconSquare intersect",t,B),!t.label)return N.rect(t,B);const D=t.x??0,I=t.y??0,_=t.height??0;let q=[];return f?q=[{x:D-a.width/2,y:I-_/2},{x:D+a.width/2,y:I-_/2},{x:D+a.width/2,y:I-_/2+a.height+$},{x:D+u/2,y:I-_/2+a.height+$},{x:D+u/2,y:I+_/2},{x:D-u/2,y:I+_/2},{x:D-u/2,y:I-_/2+a.height+$},{x:D-a.width/2,y:I-_/2+a.height+$}]:q=[{x:D-u/2,y:I-_/2},{x:D+u/2,y:I-_/2},{x:D+u/2,y:I-_/2+p},{x:D+a.width/2,y:I-_/2+p},{x:D+a.width/2/2,y:I+_/2},{x:D-a.width/2,y:I+_/2},{x:D-a.width/2,y:I-_/2+p},{x:D-u/2,y:I-_/2+p}],N.polygon(t,q,B)},r}M(pe,"iconRounded");b(pe,"iconRounded");async function ue(n,t,{config:{themeVariables:s,flowchart:l}}){const{labelStyles:o}=T(t);t.labelStyle=o;const c=t.assetHeight??48,y=t.assetWidth??48,i=Math.max(c,y),g=l?.wrappingWidth;t.width=Math.max(i,g??0);const{shapeSvg:r,bbox:a,halfPadding:e,label:h}=await X(n,t,"icon-shape default"),f=t.pos==="t",p=i+e*2,u=i+e*2,{nodeBorder:d,mainBkg:x}=s,{stylesMap:m}=Ht(t),w=-u/2,S=-p/2,$=t.label?8:0,k=W.svg(r),v=E(t,{});t.look!=="handDrawn"&&(v.roughness=0,v.fillStyle="solid"),v.stroke=m.get("fill")??x;const P=k.path(gt(w,S,u,p,.1),v),Y=Math.max(u,a.width),L=p+a.height+$,H=k.rectangle(-Y/2,-L/2,Y,L,{...v,fill:"transparent",stroke:"none"}),A=r.insert(()=>P,":first-child"),C=r.insert(()=>H);if(t.icon){const B=r.append("g");B.html(`<g>${await Bt(t.icon,{height:i,width:i,fallbackPrefix:""})}</g>`);const D=B.node().getBBox(),I=D.width,_=D.height,q=D.x,G=D.y;B.attr("transform",`translate(${-I/2-q},${f?a.height/2+$/2-_/2-G:-a.height/2-$/2-_/2-G})`),B.attr("style",`color: ${m.get("stroke")??d};`)}return h.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))},${f?-L/2:L/2-a.height})`),A.attr("transform",`translate(0,${f?a.height/2+$/2:-a.height/2-$/2})`),R(t,C),t.intersect=function(B){if(J.info("iconSquare intersect",t,B),!t.label)return N.rect(t,B);const D=t.x??0,I=t.y??0,_=t.height??0;let q=[];return f?q=[{x:D-a.width/2,y:I-_/2},{x:D+a.width/2,y:I-_/2},{x:D+a.width/2,y:I-_/2+a.height+$},{x:D+u/2,y:I-_/2+a.height+$},{x:D+u/2,y:I+_/2},{x:D-u/2,y:I+_/2},{x:D-u/2,y:I-_/2+a.height+$},{x:D-a.width/2,y:I-_/2+a.height+$}]:q=[{x:D-u/2,y:I-_/2},{x:D+u/2,y:I-_/2},{x:D+u/2,y:I-_/2+p},{x:D+a.width/2,y:I-_/2+p},{x:D+a.width/2/2,y:I+_/2},{x:D-a.width/2,y:I+_/2},{x:D-a.width/2,y:I-_/2+p},{x:D-u/2,y:I-_/2+p}],N.polygon(t,q,B)},r}M(ue,"iconSquare");b(ue,"iconSquare");async function de(n,t,{config:{flowchart:s}}){const l=new Image;l.src=t?.img??"",await l.decode();const o=Number(l.naturalWidth.toString().replace("px","")),c=Number(l.naturalHeight.toString().replace("px",""));t.imageAspectRatio=o/c;const{labelStyles:y}=T(t);t.labelStyle=y;const i=s?.wrappingWidth;t.defaultWidth=s?.wrappingWidth;const g=Math.max(t.label?i??0:0,t?.assetWidth??o),r=t.constraint==="on"&&t?.assetHeight?t.assetHeight*t.imageAspectRatio:g,a=t.constraint==="on"?r/t.imageAspectRatio:t?.assetHeight??c;t.width=Math.max(r,i??0);const{shapeSvg:e,bbox:h,label:f}=await X(n,t,"image-shape default"),p=t.pos==="t",u=-r/2,d=-a/2,x=t.label?8:0,m=W.svg(e),w=E(t,{});t.look!=="handDrawn"&&(w.roughness=0,w.fillStyle="solid");const S=m.rectangle(u,d,r,a,w),$=Math.max(r,h.width),k=a+h.height+x,v=m.rectangle(-$/2,-k/2,$,k,{...w,fill:"none",stroke:"none"}),P=e.insert(()=>S,":first-child"),Y=e.insert(()=>v);if(t.img){const L=e.append("image");L.attr("href",t.img),L.attr("width",r),L.attr("height",a),L.attr("preserveAspectRatio","none"),L.attr("transform",`translate(${-r/2},${p?k/2-a:-k/2})`)}return f.attr("transform",`translate(${-h.width/2-(h.x-(h.left??0))},${p?-a/2-h.height/2-x/2:a/2-h.height/2+x/2})`),P.attr("transform",`translate(0,${p?h.height/2+x/2:-h.height/2-x/2})`),R(t,Y),t.intersect=function(L){if(J.info("iconSquare intersect",t,L),!t.label)return N.rect(t,L);const H=t.x??0,A=t.y??0,C=t.height??0;let B=[];return p?B=[{x:H-h.width/2,y:A-C/2},{x:H+h.width/2,y:A-C/2},{x:H+h.width/2,y:A-C/2+h.height+x},{x:H+r/2,y:A-C/2+h.height+x},{x:H+r/2,y:A+C/2},{x:H-r/2,y:A+C/2},{x:H-r/2,y:A-C/2+h.height+x},{x:H-h.width/2,y:A-C/2+h.height+x}]:B=[{x:H-r/2,y:A-C/2},{x:H+r/2,y:A-C/2},{x:H+r/2,y:A-C/2+a},{x:H+h.width/2,y:A-C/2+a},{x:H+h.width/2/2,y:A+C/2},{x:H-h.width/2,y:A+C/2},{x:H-h.width/2,y:A-C/2+a},{x:H-r/2,y:A-C/2+a}],N.polygon(t,B,L)},e}M(de,"imageSquare");b(de,"imageSquare");async function xe(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=o,y=t.look==="neo"?o*2:o,{shapeSvg:i,bbox:g}=await X(n,t,O(t)),r=Math.max(g.height+c*2,t.height??0),a=Math.max(g.width+y*2,(t.width??0)-r),e=[{x:0,y:0},{x:a,y:0},{x:a+3*r/6,y:-r},{x:-3*r/6,y:-r}];let h;const{cssStyles:f}=t;if(t.look==="handDrawn"){const p=W.svg(i),u=E(t,{}),d=F(e),x=p.path(d,u);h=i.insert(()=>x,":first-child").attr("transform",`translate(${-a/2}, ${r/2})`),f&&h.attr("style",f)}else h=nt(i,a,r,e);return l&&h.attr("style",l),t.width=a,t.height=r,R(t,h),t.intersect=function(p){return N.polygon(t,e,p)},i}M(xe,"inv_trapezoid");b(xe,"inv_trapezoid");async function me(n,t){const{shapeSvg:s,bbox:l,label:o}=await X(n,t,"label"),c=s.insert("rect",":first-child");return c.attr("width",.1).attr("height",.1),s.attr("class","label edgeLabel"),o.attr("transform",`translate(${-(l.width/2)-(l.x-(l.left??0))}, ${-(l.height/2)-(l.y-(l.top??0))})`),R(t,c),t.intersect=function(y){return N.rect(t,y)},s}M(me,"labelRect");b(me,"labelRect");async function we(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=o,y=t.look==="neo"?o*2:o,{shapeSvg:i,bbox:g}=await X(n,t,O(t)),r=Math.max(g.height+c,t.height??0),a=Math.max(g.width+y,(t.width??0)-r),e=[{x:0,y:0},{x:a+3*r/6,y:0},{x:a,y:-r},{x:-(3*r)/6,y:-r}];let h;const{cssStyles:f}=t;if(t.look==="handDrawn"){const p=W.svg(i),u=E(t,{}),d=F(e),x=p.path(d,u);h=i.insert(()=>x,":first-child").attr("transform",`translate(${-a/2}, ${r/2})`),f&&h.attr("style",f)}else h=nt(i,a,r,e);return l&&h.attr("style",l),t.width=a,t.height=r,R(t,h),t.intersect=function(p){return N.polygon(t,e,p)},i}M(we,"lean_left");b(we,"lean_left");async function be(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=o,y=t.look==="neo"?o*2:o,{shapeSvg:i,bbox:g}=await X(n,t,O(t)),r=Math.max(g.height+c,t.height??0),a=Math.max(g.width+y,(t.width??0)-r),e=[{x:-3*r/6,y:0},{x:a,y:0},{x:a+3*r/6,y:-r},{x:0,y:-r}];let h;const{cssStyles:f}=t;if(t.look==="handDrawn"){const p=W.svg(i),u=E(t,{}),d=F(e),x=p.path(d,u);h=i.insert(()=>x,":first-child").attr("transform",`translate(${-a/2}, ${r/2})`),f&&h.attr("style",f)}else h=nt(i,a,r,e);return l&&h.attr("style",l),t.width=a,t.height=r,R(t,h),t.intersect=function(p){return N.polygon(t,e,p)},i}M(be,"lean_right");b(be,"lean_right");function Se(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.label="",t.labelStyle=s;const o=n.insert("g").attr("class",O(t)).attr("id",t.domId??t.id),{cssStyles:c}=t,y=Math.max(35,t?.width??0),i=Math.max(35,t?.height??0),g=7,r=[{x:y,y:0},{x:0,y:i+g/2},{x:y-14,y:i+g/2},{x:0,y:2*i},{x:y,y:i-g/2},{x:14,y:i-g/2}],a=W.svg(o),e=E(t,{});t.look!=="handDrawn"&&(e.roughness=0,e.fillStyle="solid");const h=F(r),f=a.path(h,e),p=o.insert(()=>f,":first-child");return p.attr("class","outer-path"),c&&t.look!=="handDrawn"&&p.selectAll("path").attr("style",c),l&&t.look!=="handDrawn"&&p.selectAll("path").attr("style",l),p.attr("transform",`translate(-${y/2},${-i})`),R(t,p),t.intersect=function(u){return J.info("lightningBolt intersect",t,u),N.polygon(t,r,u)},o}M(Se,"lightningBolt");b(Se,"lightningBolt");var Is=b((n,t,s,l,o,c,y)=>[`M${n},${t+c}`,`a${o},${c} 0,0,0 ${s},0`,`a${o},${c} 0,0,0 ${-s},0`,`l0,${l}`,`a${o},${c} 0,0,0 ${s},0`,`l0,${-l}`,`M${n},${t+c+y}`,`a${o},${c} 0,0,0 ${s},0`].join(" "),"createCylinderPathD"),Rs=b((n,t,s,l,o,c,y)=>[`M${n},${t+c}`,`M${n+s},${t+c}`,`a${o},${c} 0,0,0 ${-s},0`,`l0,${l}`,`a${o},${c} 0,0,0 ${s},0`,`l0,${-l}`,`M${n},${t+c+y}`,`a${o},${c} 0,0,0 ${s},0`].join(" "),"createOuterCylinderPathD"),Ls=b((n,t,s,l,o,c)=>[`M${n-s/2},${-l/2}`,`a${o},${c} 0,0,0 ${s},0`].join(" "),"createInnerCylinderPathD"),ya=10,fa=10;async function $e(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?16:o,y=t.look==="neo"?24:o;if(t.width||t.height){const x=t.width??0;t.width=(t.width??0)-c,t.width<fa&&(t.width=fa);const m=x/2/(2.5+x/50);t.height=(t.height??0)-y-m*3,t.height<ya&&(t.height=ya)}const{shapeSvg:i,bbox:g,label:r}=await X(n,t,O(t)),a=(t?.width?t?.width:g.width)+c*2,e=a/2,h=e/(2.5+a/50),f=(t?.height?t?.height:g.height)+h+y*2,p=f*.1;let u;const{cssStyles:d}=t;if(t.look==="handDrawn"){const x=W.svg(i),m=Rs(0,0,a,f,e,h,p),w=Ls(0,h,a,f,e,h),S=E(t,{}),$=x.path(m,S),k=x.path(w,S);i.insert(()=>k,":first-child").attr("class","line"),u=i.insert(()=>$,":first-child"),u.attr("class","basic label-container"),d&&u.attr("style",d)}else{const x=Is(0,0,a,f,e,h,p);u=i.insert("path",":first-child").attr("d",x).attr("class","basic label-container outer-path").attr("style",Q(d)).attr("style",l)}return u.attr("label-offset-y",h),u.attr("transform",`translate(${-a/2}, ${-(f/2+h)})`),R(t,u),r.attr("transform",`translate(${-(g.width/2)-(g.x-(g.left??0))}, ${-(g.height/2)+h-(g.y-(g.top??0))})`),t.intersect=function(x){const m=N.rect(t,x),w=m.x-(t.x??0);if(e!=0&&(Math.abs(w)<(t.width??0)/2||Math.abs(w)==(t.width??0)/2&&Math.abs(m.y-(t.y??0))>(t.height??0)/2-h)){let S=h*h*(1-w*w/(e*e));S>0&&(S=Math.sqrt(S)),S=h-S,x.y-(t.y??0)>0&&(S=-S),m.y+=S}return m},i}M($e,"linedCylinder");b($e,"linedCylinder");async function ve(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?16:o,y=t.look==="neo"?12:o;(t.width||t.height)&&(t.width=(t.width??0)*10/11-c*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-y*2,t.height<10&&(t.height=10));const{shapeSvg:i,bbox:g,label:r}=await X(n,t,O(t)),a=(t?.width?t?.width:g.width)+(c??0)*2,e=(t?.height?t?.height:g.height)+(y??0)*2,h=t.look==="neo"?e/4:e/8,f=e+h,{cssStyles:p}=t,u=W.svg(i),d=E(t,{});t.look!=="handDrawn"&&(d.roughness=0,d.fillStyle="solid");const x=[{x:-a/2-a/2*.1,y:-f/2},{x:-a/2-a/2*.1,y:f/2},...pt(-a/2-a/2*.1,f/2,a/2+a/2*.1,f/2,h,.8),{x:a/2+a/2*.1,y:-f/2},{x:-a/2-a/2*.1,y:-f/2},{x:-a/2,y:-f/2},{x:-a/2,y:f/2*1.1},{x:-a/2,y:-f/2}],m=u.polygon(x.map(S=>[S.x,S.y]),d),w=i.insert(()=>m,":first-child");return w.attr("class","basic label-container outer-path"),p&&t.look!=="handDrawn"&&w.selectAll("path").attr("style",p),l&&t.look!=="handDrawn"&&w.selectAll("path").attr("style",l),w.attr("transform",`translate(0,${-h/2})`),r.attr("transform",`translate(${-a/2+(t.padding??0)+a/2*.1/2-(g.x-(g.left??0))},${-e/2+(t.padding??0)-h-(g.y-(g.top??0))})`),R(t,w),t.intersect=function(S){return N.polygon(t,x,S)},i}M(ve,"linedWaveEdgedRect");b(ve,"linedWaveEdgedRect");var Es=56,Yt=72,pa=8,ua=2,Ws=8,Ts={normal:"usecase-actor-shape usecase-actor-normal",hollow:"usecase-actor-hollow",awesome:"usecase-actor-awesome",icon:"usecase-actor-icon"},da=Math.PI/3,xa=.6,Ot=b((n,t)=>{const s=t*xa,l=t*Math.sqrt(1-xa**2),o=Math.cos(da),c=-Math.sin(da),y=s*-c,i=n+s*o,g=l*o,r=l*c;return`M ${y-g} ${i-r} L ${y+g} ${i+r}`},"businessMarkerPathForCircle"),_s={normal:Ot(-24,12),hollow:Ot(-23,9),awesome:Ot(-21,13),icon:"M 12 -8 L 26 -26"},ma=b((n,t,s)=>{const l=(t.x??0)-(t.left??0),o=(t.y??0)-(t.top??0);n.attr("transform",`translate(${-t.width/2-l},${s-t.height/2-o})`)},"positionLabel"),ta=b((n,t,s,l,o=!1)=>{if(t.look==="handDrawn"){const y=W.svg(n).path(s,E(t,o?{fill:"none"}:{}));return n.insert(()=>y,":first-child").attr("class",l)}const c=n.append("path").attr("class",l).attr("d",s);return o&&c.attr("fill","none"),c},"appendActorPath"),Ys=b((n,t,s,l,o,c,y=!1)=>{if(t.look==="handDrawn"){const g=W.svg(n).circle(s,l,o*2,E(t,y?{fill:"none"}:{}));return n.insert(()=>g,":first-child").attr("class",c)}const i=n.append("circle").attr("class",c).attr("cx",s).attr("cy",l).attr("r",o);return y&&i.attr("fill","none"),i},"appendActorCircle"),Os=b((n,t,s)=>{t.business&&n.append("path").attr("class","usecase-business-marker usecase-actor-business-marker").attr("d",_s[s]).attr("fill","none").attr("style","stroke: inherit !important; stroke-width: inherit !important")},"appendBusinessActorMarker");async function It(n,t,s,l){const{labelStyles:o,nodeStyles:c}=T(t);t.labelStyle=o;const{shapeSvg:y,bbox:i,label:g}=await X(n,s==="icon"||t.stereotype!==void 0?{...t,icon:s==="icon"?void 0:t.icon,stereotype:void 0}:t,O(t,`usecase-actor-variant usecase-actor-${s}`)),r=t.accessibleName??t.label;r&&y.attr("role","img").attr("aria-label",r),g.attr("class","label actor-label usecase-actor-label");const{theme:a,themeVariables:e}=V();Mt(y,t.colorIndex,a,e.borderColorArray);let h,f;if(t.stereotype){const k=await dt(y,`«${t.stereotype}»`,{labelStyle:o,useHtmlLabels:t.useHtmlLabels,padding:0,centerLabel:!0,width:t.wrappingWidth});h=k.label.attr("class","label usecase-stereotype"),f=k.bbox}const p=y.append("g").attr("class",`usecase-actor-glyph ${Ts[s]}`).attr("style",c||null);await l(p,t),Os(p,t,s);const u=t.padding??Ws,d=f?.height??0,x=Yt+pa+i.height+(f?d+ua:0),m=Math.max(Es,i.width,f?.width??0)+u*2,w=x+u*2,S=-x/2;p.attr("transform",`translate(0,${S+Yt/2})`);let $=S+Yt+pa;return h&&f&&($+=d/2,ma(h,f,$),$+=d/2+ua),ma(g,i,$+i.height/2),R(t,y.insert("rect",":first-child").attr("class","usecase-actor-outline").attr("x",-m/2).attr("y",-w/2).attr("width",m).attr("height",w).attr("opacity",0).attr("aria-hidden","true")),t.intersect=k=>N.rect(t,k),y}M(It,"renderUsecaseActor");b(It,"renderUsecaseActor");var Xs=["M 0 -12","C 6.627 -12 12 -17.373 12 -24","C 12 -30.627 6.627 -36 0 -36","C -6.627 -36 -12 -30.627 -12 -24","C -12 -17.373 -6.627 -12 0 -12 Z","M 0 -12 V 8","M -17 -5 H 17","M 0 8 L -15 28","M 0 8 L 15 28"].join(" ");async function ke(n,t){return It(n,t,"normal",(s,l)=>{ta(s,l,Xs,"usecase-actor-stick")})}M(ke,"usecaseActor");b(ke,"usecaseActor");var js=["M 0 -34","C 7.18 -34 13 -28.18 13 -21","C 13 -13.82 7.18 -8 0 -8","C -7.18 -8 -13 -13.82 -13 -21","C -13 -28.18 -7.18 -34 0 -34 Z","M -24 25","C -24 7 -14 -3 0 -3","C 14 -3 24 7 24 25","C 24 28 21 30 18 30","H -18","C -21 30 -24 28 -24 25 Z"].join(" ");async function Me(n,t){return It(n,t,"awesome",(s,l)=>{ta(s,l,js,"usecase-actor-awesome-silhouette")})}M(Me,"usecaseActorAwesome");b(Me,"usecaseActorAwesome");var Fs=["M -22 -10","H 22","V 0","H 6","L 22 17","L 13 28","L 0 13","L -13 28","L -22 17","L -6 0","H -22","Z"].join(" ");async function Pe(n,t){return It(n,t,"hollow",(s,l)=>{Ys(s,l,0,-23,9,"usecase-actor-hollow-head",!0),ta(s,l,Fs,"usecase-actor-hollow-body",!0)})}M(Pe,"usecaseActorHollow");b(Pe,"usecaseActorHollow");var wt=52,wa=42,ba=-2,Gs=b(async(n,t)=>{const s=-wt/2,l=ba-wt/2;if(t.look==="handDrawn"){const r=W.svg(n).rectangle(s,l,wt,wt,E(t,{}));n.insert(()=>r,":first-child").attr("class","usecase-actor-icon-frame")}else n.append("rect").attr("class","usecase-actor-icon-frame").attr("x",s).attr("y",l).attr("width",wt).attr("height",wt).attr("rx",4).attr("ry",4);const o=t.icon??"",c=await fs(o.includes(":")?o:`fa:${o}`),y=await Bt(o,{height:wa,width:wa,fallbackPrefix:"fa"}),i=n.append("g").attr("class",`usecase-actor-icon-symbol${c?"":" usecase-actor-icon-fallback"}`).attr("aria-hidden","true").html(`<g>${y}</g>`),g=i.node()?.getBBox();g&&i.attr("transform",`translate(${-g.width/2-g.x},${ba-g.height/2-g.y})`)},"drawIconActor");async function De(n,t){return It(n,t,"icon",Gs)}M(De,"usecaseActorIcon");b(De,"usecaseActorIcon");var Sa=b((n,t,s)=>{const l=(t.x??0)-(t.left??0),o=(t.y??0)-(t.top??0);n.attr("transform",`translate(${-t.width/2-l},${s-t.height/2-o})`)},"positionLabel");async function Ce(n,t){const s=t,{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{shapeSvg:c,bbox:y,halfPadding:i,label:g}=await X(n,s.stereotype?{...t,stereotype:void 0}:t,O(t,"usecase-business-shape"));g.attr("class","label usecase-label");const{theme:r,themeVariables:a}=V();Mt(c,t.colorIndex,r,a.borderColorArray);let e,h;if(s.stereotype){const A=await dt(c,`«${s.stereotype}»`,{labelStyle:l,useHtmlLabels:t.useHtmlLabels,padding:0,centerLabel:!0,width:t.wrappingWidth});e=A.label.attr("class","label usecase-stereotype"),h=A.bbox}const f=h?2:0,p=y.height+(h?.height??0)+f,u=Math.max(y.width,h?.width??0),d=i??10,x=u/2+d*2,m=p/2+d*2,w=Math.min(Math.max(d/5,1),d/2),S=u/2+w,$=x-w,k=S/x,v=$/x,P=m*Math.sqrt(Math.max(0,1-k*k)),Y=-m*Math.sqrt(Math.max(0,1-v*v));e&&h&&Sa(e,h,-p/2+h.height/2),Sa(g,y,p/2-y.height/2);let L;if(t.look==="handDrawn"){const A=W.svg(c).ellipse(0,0,x*2,m*2,E(t,{}));L=c.insert(()=>A,":first-child").attr("class","basic label-container usecase-business-ellipse")}else L=c.insert("ellipse",":first-child").attr("class","basic label-container usecase-business-ellipse").attr("style",o).attr("rx",x).attr("ry",m).attr("cx",0).attr("cy",0);c.append("path").attr("class","usecase-business-marker").attr("d",`M ${S} ${P} L ${$} ${Y}`).attr("fill","none").attr("style",o||null);const H=s.accessibleName??s.label;return H&&c.attr("role","img").attr("aria-label",H),R(t,L),t.calcIntersect=(A,C)=>N.ellipse(A,A.width/2,A.height/2,C),t.intersect=A=>N.ellipse(t,x,m,A),c}M(Ce,"usecaseBusiness");b(Ce,"usecaseBusiness");var Xt=8,$a=4,qs=1,jt=b((n,t,s,l)=>{const o=(t.x??0)-(t.left??0),c=(t.y??0)-(t.top??0);n.attr("transform",`translate(${s-t.width/2-o},${l-t.height/2-c})`)},"positionLabel"),zs=b(n=>{const t=Number.parseFloat(n??"");return Number.isFinite(t)&&t>=0?t:qs},"numericStrokeWidth");async function Ne(n,t){const s=t,{labelStyles:l,nodeStyles:o}=T(t),{stylesMap:c}=Ht(t);t.labelStyle=l;const{shapeSvg:y,bbox:i,label:g}=await X(n,t,O(t,"usecase-json-table"));y.attr("role","img"),s.accessibleName&&y.attr("aria-label",s.accessibleName),g.attr("class","label usecase-json-title");const r=y.append("g").attr("class","usecase-json-table-grid"),a=[];for(const C of s.jsonRows??[]){const B=await dt(r,C.key,{labelStyle:l,useHtmlLabels:t.useHtmlLabels,padding:0,centerLabel:!0}),D=await dt(r,C.value,{labelStyle:l,useHtmlLabels:t.useHtmlLabels,padding:0,centerLabel:!0});a.push({key:{label:B.label.attr("class","label usecase-json-key"),bbox:B.bbox},value:{label:D.label.attr("class","label usecase-json-value"),bbox:D.bbox}})}const e=Math.max(0,...a.map(({key:C})=>C.bbox.width))+Xt*2,h=Math.max(0,...a.map(({value:C})=>C.bbox.width))+Xt*2,f=i.width+Xt*2,p=Math.max(f,e+h),u=h+Math.max(0,p-e-h),d=i.height+$a*2,x=a.map(({key:C,value:B})=>Math.max(C.bbox.height,B.bbox.height)+$a*2),m=d+x.reduce((C,B)=>C+B,0),w=zs(c.get("stroke-width")),S=p+w*2,$=m+w*2,k=-p/2,v=-m/2,P=t.look==="handDrawn"?W.svg(y):void 0,Y=P?E(t,{}):void 0,L=b((C,B,D,I,_,q)=>{if(P&&Y){const G=P.rectangle(D,I,_,q,Y);return C.insert(()=>G,":first-child").attr("class",B)}return C.insert("rect",":first-child").attr("class",B).attr("x",D).attr("y",I).attr("width",_).attr("height",q).attr("style",o)},"insertCell"),H=L(y,"label-container usecase-json-border",-S/2,-$/2,S,$);L(r,"usecase-json-cell usecase-json-title-cell",k,v,p,d),r.node()?.append(g.node()),jt(g,i,0,v+d/2);let A=v+d;return a.forEach(({key:C,value:B},D)=>{const I=x[D],_=r.append("g").attr("class","usecase-json-row").attr("data-row-index",D).attr("transform",`translate(0,${A})`);L(_,"usecase-json-cell usecase-json-key-cell",k,0,e,I),L(_,"usecase-json-cell usecase-json-value-cell",k+e,0,u,I),_.node()?.append(C.label.node(),B.label.node()),jt(C.label,C.bbox,k+e/2,I/2),jt(B.label,B.bbox,k+e+u/2,I/2),A+=I}),R(t,H),t.intersect=C=>N.rect(t,C),y}M(Ne,"usecaseJsonTable");b(Ne,"usecaseJsonTable");async function Ae(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?16:o,y=t.look==="neo"?12:o,i=t.look==="neo"?10:5;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-c*2-2*i,10),t.height=Math.max((t?.height??0)-y*2-2*i,10));const{shapeSvg:g,bbox:r,label:a}=await X(n,t,O(t)),e=(t?.width?t?.width:r.width)+c*2+2*i,h=(t?.height?t?.height:r.height)+y*2+2*i,f=e-2*i,p=h-2*i,u=-f/2,d=-p/2,{cssStyles:x}=t,m=W.svg(g),w=E(t,{}),S=[{x:u-i,y:d+i},{x:u-i,y:d+p+i},{x:u+f-i,y:d+p+i},{x:u+f-i,y:d+p},{x:u+f,y:d+p},{x:u+f,y:d+p-i},{x:u+f+i,y:d+p-i},{x:u+f+i,y:d-i},{x:u+i,y:d-i},{x:u+i,y:d},{x:u,y:d},{x:u,y:d+i}],$=[{x:u,y:d+i},{x:u+f-i,y:d+i},{x:u+f-i,y:d+p},{x:u+f,y:d+p},{x:u+f,y:d},{x:u,y:d}];t.look!=="handDrawn"&&(w.roughness=0,w.fillStyle="solid");const k=F(S);let v=m.path(k,w);const P=F($);let Y=m.path(P,w);t.look!=="handDrawn"&&(v=Gt(v),Y=Gt(Y));const L=g.insert("g",":first-child");return L.insert(()=>v),L.insert(()=>Y),L.attr("class","basic label-container outer-path"),x&&t.look!=="handDrawn"&&L.selectAll("path").attr("style",x),l&&t.look!=="handDrawn"&&L.selectAll("path").attr("style",l),a.attr("transform",`translate(${-(r.width/2)-i-(r.x-(r.left??0))}, ${-(r.height/2)+i-(r.y-(r.top??0))})`),R(t,L),t.intersect=function(H){return N.polygon(t,S,H)},g}M(Ae,"multiRect");b(Ae,"multiRect");async function Be(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c,label:y}=await X(n,t,O(t)),i=t.padding??0,g=t.look==="neo"?16:i,r=t.look==="neo"?12:i;let a=!0;(t.width||t.height)&&(a=!1,t.width=(t?.width??0)-g*2,t.height=(t?.height??0)-r*3);const e=Math.max(c.width,t?.width??0)+g*2,h=Math.max(c.height,t?.height??0)+r*3,f=t.look==="neo"?h/4:h/8,p=h+(a?f/2:-f/2),u=-e/2,d=-p/2,x=10,{cssStyles:m}=t,w=pt(u-x,d+p+x,u+e-x,d+p+x,f,.8),S=w?.[w.length-1],$=[{x:u-x,y:d+x},{x:u-x,y:d+p+x},...w,{x:u+e-x,y:S.y-x},{x:u+e,y:S.y-x},{x:u+e,y:S.y-20},{x:u+e+x,y:S.y-20},{x:u+e+x,y:d-x},{x:u+x,y:d-x},{x:u+x,y:d},{x:u,y:d},{x:u,y:d+x}],k=[{x:u,y:d+x},{x:u+e-x,y:d+x},{x:u+e-x,y:S.y-x},{x:u+e,y:S.y-x},{x:u+e,y:d},{x:u,y:d}],v=W.svg(o),P=E(t,{});t.look!=="handDrawn"&&(P.roughness=0,P.fillStyle="solid");const Y=F($),L=v.path(Y,P),H=F(k),A=v.path(H,P),C=o.insert(()=>L,":first-child");return C.insert(()=>A),C.attr("class","basic label-container outer-path"),m&&t.look!=="handDrawn"&&C.selectAll("path").attr("style",m),l&&t.look!=="handDrawn"&&C.selectAll("path").attr("style",l),C.attr("transform",`translate(0,${-f/2})`),y.attr("transform",`translate(${-(c.width/2)-x-(c.x-(c.left??0))}, ${-(c.height/2)+x-f-(c.y-(c.top??0))})`),R(t,C),t.intersect=function(B){return N.polygon(t,$,B)},o}M(Be,"multiWaveEdgedRectangle");b(Be,"multiWaveEdgedRectangle");async function He(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l,t.useHtmlLabels||vt(Nt())||(t.centerLabel=!0);const{shapeSvg:c,bbox:y,label:i}=await X(n,t,O(t)),g=Math.max(y.width+(t.padding??0)*2,t?.width??0),r=Math.max(y.height+(t.padding??0)*2,t?.height??0),a=-g/2,e=-r/2,{cssStyles:h}=t,f=W.svg(c),p=E(t,{fill:s.noteBkgColor,stroke:s.noteBorderColor});t.look!=="handDrawn"&&(p.roughness=0,p.fillStyle="solid");const u=f.rectangle(a,e,g,r,p),d=c.insert(()=>u,":first-child");return d.attr("class","basic label-container outer-path"),i.attr("class","label noteLabel"),h&&t.look!=="handDrawn"&&d.selectAll("path").attr("style",h),o&&t.look!=="handDrawn"&&d.selectAll("path").attr("style",o),i.attr("transform",`translate(${-y.width/2-(y.x-(y.left??0))}, ${-(y.height/2)-(y.y-(y.top??0))})`),R(t,d),t.intersect=function(x){return N.rect(t,x)},c}M(He,"note");b(He,"note");var Vs=b((n,t,s)=>[`M${n+s/2},${t}`,`L${n+s},${t-s/2}`,`L${n+s/2},${t-s}`,`L${n},${t-s/2}`,"Z"].join(" "),"createDecisionBoxPathD");async function Ie(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c}=await X(n,t,O(t)),y=c.width+(t.padding??0)+(c.height+(t.padding??0)),i=.5,g=[{x:y/2,y:0},{x:y,y:-y/2},{x:y/2,y:-y},{x:0,y:-y/2}];let r;const{cssStyles:a}=t;if(t.look==="handDrawn"){const e=W.svg(o),h=E(t,{}),f=Vs(0,0,y),p=e.path(f,h);r=o.insert(()=>p,":first-child").attr("transform",`translate(${-y/2+i}, ${y/2})`),a&&r.attr("style",a)}else r=nt(o,y,y,g),r.attr("transform",`translate(${-y/2+i}, ${y/2})`);return l&&r.attr("style",l),R(t,r),t.calcIntersect=function(e,h){const f=e.width,p=[{x:f/2,y:0},{x:f,y:-f/2},{x:f/2,y:-f},{x:0,y:-f/2}];return N.polygon(e,p,h)},t.intersect=function(e){return this.calcIntersect(t,e)},o}M(Ie,"question");b(Ie,"question");async function Re(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?21:o??0,y=t.look==="neo"?12:o??0,{shapeSvg:i,bbox:g,label:r}=await X(n,t,O(t)),a=g.width+(t.look==="neo"?c*2:c),e=Math.max(g.height+(t.look==="neo"?y*2:y),t.height??0),h=e/4,f=-Math.max(a,(t.width??0)-h)/2,p=-e/2,u=p/2,d=[{x:f+u,y:p},{x:f,y:0},{x:f+u,y:-p},{x:-f,y:-p},{x:-f,y:p}],{cssStyles:x}=t,m=W.svg(i),w=E(t,{});t.look!=="handDrawn"&&(w.roughness=0,w.fillStyle="solid");const S=F(d),$=m.path(S,w),k=i.insert(()=>$,":first-child");return k.attr("class","basic label-container outer-path"),x&&t.look!=="handDrawn"&&k.selectAll("path").attr("style",x),l&&t.look!=="handDrawn"&&k.selectAll("path").attr("style",l),k.attr("transform",`translate(${-u/2},0)`),r.attr("transform",`translate(${-u/2-g.width/2-(g.x-(g.left??0))}, ${-(g.height/2)-(g.y-(g.top??0))})`),R(t,k),t.intersect=function(v){return N.polygon(t,d,v)},i}M(Re,"rect_left_inv_arrow");b(Re,"rect_left_inv_arrow");async function Le(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;let o;t.cssClasses?o="node "+t.cssClasses:o="node default";const c=n.insert("g").attr("class",o).attr("id",t.domId||t.id),y=c.insert("g"),i=c.insert("g").attr("class","label").attr("style",l),g=t.description,r=t.label,a=await la(i,r,t.labelStyle,!0,!0);let e={width:0,height:0};if(vt(V())){const P=a.children[0],Y=at(a);e=P.getBoundingClientRect(),Y.attr("width",e.width),Y.attr("height",e.height)}J.info("Text 2",g);const h=g||[],f=a.getBBox(),p=await la(i,Array.isArray(h)?h.join("<br/>"):h,t.labelStyle,!0,!0),u=p.children[0],d=at(p);e=u.getBoundingClientRect(),d.attr("width",e.width),d.attr("height",e.height);const x=(t.padding||0)/2;at(p).attr("transform","translate( "+(e.width>f.width?0:(f.width-e.width)/2)+", "+(f.height+x+5)+")"),at(a).attr("transform","translate( "+(e.width<f.width?0:-(f.width-e.width)/2)+", 0)"),e=i.node().getBBox(),i.attr("transform","translate("+-e.width/2+", "+(-e.height/2-x+3)+")");const m=e.width+(t.padding||0),w=e.height+(t.padding||0),S=-e.width/2-x,$=-e.height/2-x;let k,v;if(t.look==="handDrawn"){const P=W.svg(c),Y=E(t,{}),L=P.path(gt(S,$,m,w,t.rx||0),Y),H=P.line(-e.width/2-x,-e.height/2-x+f.height+x,e.width/2+x,-e.height/2-x+f.height+x,Y);v=c.insert(()=>(J.debug("Rough node insert CXC",L),H),":first-child"),k=c.insert(()=>(J.debug("Rough node insert CXC",L),L),":first-child")}else k=y.insert("rect",":first-child"),v=y.insert("line"),k.attr("class","outer title-state").attr("style",l).attr("x",-e.width/2-x).attr("y",-e.height/2-x).attr("width",e.width+(t.padding||0)).attr("height",e.height+(t.padding||0)),v.attr("class","divider").attr("x1",-e.width/2-x).attr("x2",e.width/2+x).attr("y1",-e.height/2-x+f.height+x).attr("y2",-e.height/2-x+f.height+x);return R(t,k),t.intersect=function(P){return N.rect(t,P)},c}M(Le,"rectWithTitle");b(Le,"rectWithTitle");async function Ee(n,t,{config:{themeVariables:s}}){const l=s?.radius??5;return Pt(n,t,{rx:l,ry:l,classes:"",labelPaddingX:(t?.padding??0)*1,labelPaddingY:(t?.padding??0)*1})}M(Ee,"roundedRect");b(Ee,"roundedRect");var ut=8;async function We(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.look==="neo"?16:t.padding??0,c=t.look==="neo"?12:t.padding??0,{shapeSvg:y,bbox:i,label:g}=await X(n,t,O(t)),r=(t?.width??i.width)+o*2+(t.look==="neo"?ut:ut*2),a=(t?.height??i.height)+c*2,e=r-ut,h=a,f=ut-r/2,p=-a/2,{cssStyles:u}=t,d=W.svg(y),x=E(t,{});t.look!=="handDrawn"&&(x.roughness=0,x.fillStyle="solid");const m=[{x:f,y:p},{x:f+e,y:p},{x:f+e,y:p+h},{x:f-ut,y:p+h},{x:f-ut,y:p},{x:f,y:p},{x:f,y:p+h}],w=d.polygon(m.map($=>[$.x,$.y]),x),S=y.insert(()=>w,":first-child");return S.attr("class","basic label-container outer-path").attr("style",Q(u)),l&&t.look!=="handDrawn"&&S.selectAll("path").attr("style",l),u&&t.look!=="handDrawn"&&S.selectAll("path").attr("style",l),g.attr("transform",`translate(${ut/2-i.width/2-(i.x-(i.left??0))}, ${-(i.height/2)-(i.y-(i.top??0))})`),R(t,S),t.intersect=function($){return N.rect(t,$)},y}M(We,"shadedProcess");b(We,"shadedProcess");async function Te(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?16:o,y=t.look==="neo"?12:o;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-c*2,10),t.height=Math.max((t?.height??0)/1.5-y*2,10));const{shapeSvg:i,bbox:g,label:r}=await X(n,t,O(t)),a=(t?.width?t?.width:g.width)+c*2,e=((t?.height?t?.height:g.height)+y*2)*1.5,h=a,f=e/1.5,p=-h/2,u=-f/2,{cssStyles:d}=t,x=W.svg(i),m=E(t,{});t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const w=[{x:p,y:u},{x:p,y:u+f},{x:p+h,y:u+f},{x:p+h,y:u-f/2}],S=F(w),$=x.path(S,m),k=i.insert(()=>$,":first-child");return k.attr("class","basic label-container outer-path"),d&&t.look!=="handDrawn"&&k.selectChildren("path").attr("style",d),l&&t.look!=="handDrawn"&&k.selectChildren("path").attr("style",l),k.attr("transform",`translate(0, ${f/4})`),r.attr("transform",`translate(${-h/2+(t.padding??0)-(g.x-(g.left??0))}, ${-f/4+(t.padding??0)-(g.y-(g.top??0))})`),R(t,k),t.intersect=function(v){return N.polygon(t,w,v)},i}M(Te,"slopedRect");b(Te,"slopedRect");async function _e(n,t){const s=t.padding??0,l=t.look==="neo"?16:s*2,o=t.look==="neo"?12:s,c=await Pt(n,t,{rx:0,ry:0,classes:"",labelPaddingX:t.labelPaddingX??l,labelPaddingY:o});if(t.colorIndex!==void 0){const{theme:y,themeVariables:i}=V();Mt(c,t.colorIndex,y,i.borderColorArray)}return c}M(_e,"squareRect");b(_e,"squareRect");var Vt=50,Zs=b((n,t,s)=>{const l=n.height+s,o=l*Math.cos(Math.PI/(2*(Vt-1))),c=Math.sqrt(Math.max(0,o**2-n.height**2));return{w:Math.max(n.width+l/4+t,1.5*l+(l-o),n.width+t+l-c),h:l}},"stadiumDimensions");async function Ye(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?40:o,y=t.look==="neo"?24:o,{shapeSvg:i,bbox:g}=await X(n,t,O(t)),{w:r,h:a}=Zs(g,c,y),e=a/2,{cssStyles:h}=t,f=W.svg(i),p=E(t,{});t.look!=="handDrawn"&&(p.roughness=0,p.fillStyle="solid");const u=[{x:-r/2+e,y:-a/2},{x:r/2-e,y:-a/2},...lt(-r/2+e,0,e,Vt,90,270),{x:r/2-e,y:a/2},...lt(r/2-e,0,e,Vt,270,450)],d=F(u),x=f.path(d,p),m=i.insert(()=>x,":first-child");return m.attr("class","basic label-container outer-path"),h&&t.look!=="handDrawn"&&m.selectChildren("path").attr("style",h),l&&t.look!=="handDrawn"&&m.selectChildren("path").attr("style",l),R(t,m),t.intersect=function(w){return N.polygon(t,u,w)},i}M(Ye,"stadium");b(Ye,"stadium");async function Oe(n,t){return Pt(n,t,{rx:t.look==="neo"?3:5,ry:t.look==="neo"?3:5,classes:"flowchart-node"})}M(Oe,"state");b(Oe,"state");function Xe(n,t,{config:{themeVariables:s}}){const{labelStyles:l,nodeStyles:o}=T(t);t.labelStyle=l;const{cssStyles:c}=t,{lineColor:y,stateBorder:i,nodeBorder:g,nodeShadow:r}=s;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||(t.width=14),t.height||(t.height=14);const a=n.insert("g").attr("class","node default").attr("id",t.domId??t.id),e=W.svg(a),h=E(t,{});t.look!=="handDrawn"&&(h.roughness=0,h.fillStyle="solid");const f=e.circle(0,0,t.width,{...h,stroke:y,strokeWidth:2}),p=i??g,u=(t.width??0)*5/14,d=e.circle(0,0,u,{...h,fill:p,stroke:p,strokeWidth:2,fillStyle:"solid"}),x=a.insert(()=>f,":first-child");if(x.insert(()=>d),t.look!=="handDrawn"&&x.attr("class","outer-path"),c&&x.selectAll("path").attr("style",c),o&&x.selectAll("path").attr("style",o),t.width<25&&r&&t.look!=="handDrawn"){const m=n.node()?.ownerSVGElement?.id??"",w=m?`${m}-drop-shadow-small`:"drop-shadow-small";x.attr("style",`filter:url(#${w})`)}return R(t,x),t.intersect=function(m){return N.circle(t,(t.width??0)/2,m)},a}M(Xe,"stateEnd");b(Xe,"stateEnd");function je(n,t,{config:{themeVariables:s}}){const{lineColor:l,nodeShadow:o}=s;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||(t.width=14),t.height||(t.height=14);const c=n.insert("g").attr("class","node default").attr("id",t.domId||t.id);let y;if(t.look==="handDrawn"){const i=W.svg(c).circle(0,0,t.width,ps(l));y=c.insert(()=>i),y.attr("class","state-start").attr("r",(t.width??7)/2).attr("width",t.width??14).attr("height",t.height??14)}else y=c.insert("circle",":first-child"),y.attr("class","state-start").attr("r",(t.width??7)/2).attr("width",t.width??14).attr("height",t.height??14);if(t.width<25&&o&&t.look!=="handDrawn"){const i=n.node()?.ownerSVGElement?.id??"",g=i?`${i}-drop-shadow-small`:"drop-shadow-small";y.attr("style",`filter:url(#${g})`)}return R(t,y),t.intersect=function(i){return N.circle(t,(t.width??7)/2,i)},c}M(je,"stateStart");b(je,"stateStart");var bt=8;async function Fe(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t?.padding??8,c=t.look==="neo"?28:o,y=t.look==="neo"?12:o,{shapeSvg:i,bbox:g}=await X(n,t,O(t)),r=Math.max(g.width+2*bt+c,t.width??0),a=Math.max(g.height+y,t.height??0),e=r-2*bt,h=a,f=-r/2,p=-a/2,u=[{x:0,y:0},{x:e,y:0},{x:e,y:-h},{x:0,y:-h},{x:0,y:0},{x:-8,y:0},{x:e+8,y:0},{x:e+8,y:-h},{x:-8,y:-h},{x:-8,y:0}];if(t.look==="handDrawn"){const d=W.svg(i),x=E(t,{}),m=d.rectangle(f,p,e+16,h,x),w=d.line(f+bt,p,f+bt,p+h,x),S=d.line(f+bt+e,p,f+bt+e,p+h,x);i.insert(()=>w,":first-child"),i.insert(()=>S,":first-child");const $=i.insert(()=>m,":first-child"),{cssStyles:k}=t;$.attr("class","basic label-container").attr("style",Q(k)),R(t,$)}else{const d=nt(i,e,h,u);l&&d.attr("style",l),R(t,d)}return t.intersect=function(d){return N.polygon(t,u,d)},i}M(Fe,"subroutine");b(Fe,"subroutine");var Ft=.2;async function Ge(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const o=t.padding??0,c=t.look==="neo"?16:o,y=t.look==="neo"?12:o;(t.width||t.height)&&(t.height=Math.max((t?.height??0)-y*2,10),t.width=Math.max((t?.width??0)-c*2-Ft*(t.height+y*2),10));const{shapeSvg:i,bbox:g}=await X(n,t,O(t)),r=(t?.height?t?.height:g.height)+y*2,a=Ft*r,e=Ft*r,h=(t?.width?t?.width:g.width)+c*2+a-a,f=r,p=-h/2,u=-f/2,{cssStyles:d}=t,x=W.svg(i),m=E(t,{}),w=[{x:p-a/2,y:u},{x:p+h+a/2,y:u},{x:p+h+a/2,y:u+f},{x:p-a/2,y:u+f}],S=[{x:p+h-a/2,y:u+f},{x:p+h+a/2,y:u+f},{x:p+h+a/2,y:u+f-e}];t.look!=="handDrawn"&&(m.roughness=0,m.fillStyle="solid");const $=F(w),k=x.path($,m),v=F(S),P=x.path(v,{...m,fillStyle:"solid"}),Y=i.insert(()=>P,":first-child");return Y.insert(()=>k,":first-child"),Y.attr("class","basic label-container outer-path"),d&&t.look!=="handDrawn"&&Y.selectAll("path").attr("style",d),l&&t.look!=="handDrawn"&&Y.selectAll("path").attr("style",l),R(t,Y),t.intersect=function(L){return N.polygon(t,w,L)},i}M(Ge,"taggedRect");b(Ge,"taggedRect");async function qe(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c,label:y}=await X(n,t,O(t)),i=Math.max(c.width+(t.padding??0)*2,t?.width??0),g=Math.max(c.height+(t.padding??0)*2,t?.height??0),r=g/8,a=.2*i,e=.2*g,h=g+r,{cssStyles:f}=t,p=W.svg(o),u=E(t,{});t.look!=="handDrawn"&&(u.roughness=0,u.fillStyle="solid");const d=[{x:-i/2-i/2*.1,y:h/2},...pt(-i/2-i/2*.1,h/2,i/2+i/2*.1,h/2,r,.8),{x:i/2+i/2*.1,y:-h/2},{x:-i/2-i/2*.1,y:-h/2}],x=-i/2+i/2*.1,m=-h/2-e*.4,w=[{x:x+i-a,y:(m+g)*1.3},{x:x+i,y:m+g-e},{x:x+i,y:(m+g)*.9},...pt(x+i,(m+g)*1.25,x+i-a,(m+g)*1.3,-g*.02,.5)],S=F(d),$=p.path(S,u),k=F(w),v=p.path(k,{...u,fillStyle:"solid"}),P=o.insert(()=>v,":first-child");return P.insert(()=>$,":first-child"),P.attr("class","basic label-container outer-path"),f&&t.look!=="handDrawn"&&P.selectAll("path").attr("style",f),l&&t.look!=="handDrawn"&&P.selectAll("path").attr("style",l),P.attr("transform",`translate(0,${-r/2})`),y.attr("transform",`translate(${-i/2+(t.padding??0)-(c.x-(c.left??0))},${-g/2+(t.padding??0)-r/2-(c.y-(c.top??0))})`),R(t,P),t.intersect=function(Y){return N.polygon(t,d,Y)},o}M(qe,"taggedWaveEdgedRectangle");b(qe,"taggedWaveEdgedRectangle");async function ze(n,t){const{labelStyles:s,nodeStyles:l}=T(t);t.labelStyle=s;const{shapeSvg:o,bbox:c}=await X(n,t,O(t)),y=Math.max(c.width+(t.padding??0),t?.width||0),i=Math.max(c.height+(t.padding??0),t?.height||0),g=-y/2,r=-i/2,a=o.insert("rect",":first-child");return a.attr("class","text").attr("style",l).attr("rx",0).attr("ry",0).attr("x",g).attr("y",r).attr("width",y).attr("height",i),R(t,a),t.intersect=function(e){return N.rect(t,e)},o}M(ze,"text");b(ze,"text");var Us=b((n,t,s,l,o,c)=>`M${n},${t}
|
|
3
3
|
a${o},${c} 0,0,1 0,${-l}
|
|
4
4
|
l${s},0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{QT as a}from"./index-
|
|
1
|
+
import{QT as a}from"./index-BJtnP7H1.js";var e={name:"circle-slash",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]]};e.node;var r=a(e);export{r as t};
|
package/dist/assets/{classDiagram-v2-K4WV4PDN-DbC_J0kK.js → classDiagram-v2-K4WV4PDN-Cdh3CEl4.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var it=Object.defineProperty;var y=(e,i)=>it(e,"name",{value:i,configurable:!0});import{n as f}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as we,p as Ae}from"./src-DYjgETqR.js";import{C as at,H as rt,M as U,U as nt,_ as lt,a as ut,b as S,et as ot,q as ct,s as w,v as ht,z as dt}from"./chunk-VPRB5NB3-CfeHjtbb.js";import{_ as Me,c as pt}from"./chunk-3YJQHVM4-Dj5wEKIw.js";import"./chunk-HJ2JQQFS-MXK0gYSP.js";import"./chunk-E2ZNV5FY-cjSf_BTz.js";import{t as At}from"./chunk-5VM5RSS4-2H3r6wq0.js";import"./chunk-4EA7E6EY-5XiUVgzK.js";import{i as ft,n as mt,o as gt,r as Ct}from"./chunk-J5ZVWO5B-ClU583ja.js";import"./chunk-XC4XBNZT-FBCWmi6K.js";import"./chunk-DBDB3WZW-DNqSQPZ0.js";import"./chunk-2BW5OAIV-DFXIyCJy.js";import{t as bt}from"./chunk-7TKQ45FW-D0opKcsy.js";import{t as kt}from"./chunk-XXDRQBXY-BdWplhUD.js";import{t as Et}from"./chunk-KQW6MTUR-Bfj0tDmO.js";import"./chunk-NTY3LDVX-Bpz5TkVb.js";import{i as Tt,r as yt}from"./mermaid.core-D1vILTuF.js";var Ve=(function(){var e=f(function(c,p,g,A){for(g=g||{},A=c.length;A--;g[c[A]]=p);return g},"o"),i=[1,18],r=[1,19],a=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],m=[1,25],D=[1,32],N=[1,33],z=[1,34],C=[1,45],me=[1,35],ge=[1,36],Ce=[1,37],be=[1,38],ke=[1,27],Ee=[1,28],Te=[1,29],ye=[1,30],De=[1,31],b=[1,44],k=[1,46],E=[1,43],F=[1,47],Fe=[1,9],d=[1,8,9],ee=[1,58],te=[1,59],se=[1,60],ie=[1,61],ae=[1,62],Be=[1,63],_e=[1,64],L=[1,8,9,41],Re=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],re=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ne=[13,60,86,100,102,103],Y=[13,60,73,74,86,100,102,103],Ge=[13,60,68,69,70,71,72,86,100,102,103],le=[1,103],K=[1,121],W=[1,117],Q=[1,113],j=[1,119],X=[1,114],H=[1,115],q=[1,116],J=[1,118],Z=[1,120],Ue=[22,50,60,61,82,86,87,88,89,90],ze=[1,128],ue=[12,39],Se=[1,8,9,39,41,44,46],oe=[1,8,9,22],Ye=[1,153],Ke=[1,8,9,61],v=[1,8,9,22,50,60,61,82,86,87,88,89,90],Ne={trace:f(y(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(y(function(p,g,A,l,T,t,$){var s=t.length-1;switch(T){case 8:this.$=t[s-1];break;case 9:case 10:case 13:case 15:this.$=t[s];break;case 11:case 14:this.$=t[s-2]+"."+t[s];break;case 12:case 16:this.$=t[s-1]+t[s];break;case 17:case 18:this.$=t[s-1]+"~"+t[s]+"~";break;case 19:l.addRelation(t[s]);break;case 20:t[s-1].title=l.cleanupLabel(t[s]),l.addRelation(t[s-1]);break;case 31:this.$=t[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=t[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(t[s-3],t[s-1][0],t[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(t[s-4],t[s-1][0],t[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(t[s]);break;case 37:this.$=l.addNamespace(t[s-1],t[s]);break;case 38:this.$=[[t[s]],[]];break;case 39:this.$=[[t[s-1]],[]];break;case 40:t[s][0].unshift(t[s-2]),this.$=t[s];break;case 41:this.$=[[],[t[s]]];break;case 42:this.$=[[],[t[s-1]]];break;case 43:t[s][1].unshift(t[s-2]),this.$=t[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=t[s];break;case 48:l.setCssClass(t[s-2],t[s]);break;case 49:l.addMembers(t[s-3],t[s-1]);break;case 51:l.setCssClass(t[s-5],t[s-3]),l.addMembers(t[s-5],t[s-1]);break;case 52:l.addAnnotation(t[s-3],t[s-1]);break;case 53:l.addAnnotation(t[s-6],t[s-4]),l.addMembers(t[s-6],t[s-1]);break;case 54:l.addAnnotation(t[s-5],t[s-3]);break;case 55:this.$=t[s],l.addClass(t[s]);break;case 56:this.$=t[s-1],l.addClass(t[s-1]),l.setClassLabel(t[s-1],t[s]);break;case 60:l.addAnnotation(t[s],t[s-2]);break;case 61:case 74:this.$=[t[s]];break;case 62:t[s].push(t[s-1]),this.$=t[s];break;case 63:break;case 64:l.addMember(t[s-1],l.cleanupLabel(t[s]));break;case 65:break;case 66:break;case 67:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 69:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 70:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 71:this.$=l.addNote(t[s],t[s-1]);break;case 72:this.$=l.addNote(t[s]);break;case 73:this.$=t[s-2],l.defineClass(t[s-1],t[s]);break;case 75:this.$=t[s-2].concat([t[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 81:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 82:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=t[s-2],l.setClickEvent(t[s-1],t[s]);break;case 92:case 98:this.$=t[s-3],l.setClickEvent(t[s-2],t[s-1]),l.setTooltip(t[s-2],t[s]);break;case 93:this.$=t[s-2],l.setLink(t[s-1],t[s]);break;case 94:this.$=t[s-3],l.setLink(t[s-2],t[s-1],t[s]);break;case 95:this.$=t[s-3],l.setLink(t[s-2],t[s-1]),l.setTooltip(t[s-2],t[s]);break;case 96:this.$=t[s-4],l.setLink(t[s-3],t[s-2],t[s]),l.setTooltip(t[s-3],t[s-1]);break;case 99:this.$=t[s-3],l.setClickEvent(t[s-2],t[s-1],t[s]);break;case 100:this.$=t[s-4],l.setClickEvent(t[s-3],t[s-2],t[s-1]),l.setTooltip(t[s-3],t[s]);break;case 101:this.$=t[s-3],l.setLink(t[s-2],t[s]);break;case 102:this.$=t[s-4],l.setLink(t[s-3],t[s-1],t[s]);break;case 103:this.$=t[s-4],l.setLink(t[s-3],t[s-1]),l.setTooltip(t[s-3],t[s]);break;case 104:this.$=t[s-5],l.setLink(t[s-4],t[s-2],t[s]),l.setTooltip(t[s-4],t[s-1]);break;case 105:this.$=t[s-2],l.setCssStyle(t[s-1],t[s]);break;case 106:l.setCssClass(t[s-1],t[s]);break;case 107:this.$=[t[s]];break;case 108:t[s-2].push(t[s]),this.$=t[s-2];break;case 110:this.$=t[s-1]+t[s]}},"anonymous"),"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:r,37:a,38:22,42:n,43:23,46:u,48:h,51:o,52:m,54:D,56:N,57:z,60:C,62:me,63:ge,64:Ce,65:be,75:ke,76:Ee,78:Te,82:ye,83:De,86:b,100:k,102:E,103:F},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Fe,[2,5],{8:[1,48]}),{8:[1,49]},e(d,[2,19],{22:[1,50]}),e(d,[2,21]),e(d,[2,22]),e(d,[2,23]),e(d,[2,24]),e(d,[2,25]),e(d,[2,26]),e(d,[2,27]),e(d,[2,28]),e(d,[2,29]),e(d,[2,30]),{34:[1,51]},{36:[1,52]},e(d,[2,33]),e(d,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:ee,69:te,70:se,71:ie,72:ae,73:Be,74:_e}),{39:[1,65]},e(L,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),e(d,[2,65]),e(d,[2,66]),{16:69,60:C,86:b,100:k,102:E},{16:39,17:40,19:70,60:C,86:b,100:k,102:E,103:F},{16:39,17:40,19:71,60:C,86:b,100:k,102:E,103:F},{16:39,17:40,19:72,60:C,86:b,100:k,102:E,103:F},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:C,86:b,100:k,102:E,103:F},{13:Re,55:76},{58:78,60:[1,79]},e(d,[2,76]),e(d,[2,77]),e(d,[2,78]),e(d,[2,79]),e(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:C,86:b,100:k,102:E,103:F}),e(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:C,86:b,100:k,102:E,103:F},{16:39,17:40,19:87,60:C,86:b,100:k,102:E,103:F},e(re,[2,133]),e(re,[2,134]),e(re,[2,135]),e(re,[2,136]),e([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),e(Fe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:r,37:a,42:n,46:u,48:h,51:o,52:m,54:D,56:N,57:z,60:C,62:me,63:ge,64:Ce,65:be,75:ke,76:Ee,78:Te,82:ye,83:De,86:b,100:k,102:E,103:F}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:r,37:a,38:22,42:n,43:23,46:u,48:h,51:o,52:m,54:D,56:N,57:z,60:C,62:me,63:ge,64:Ce,65:be,75:ke,76:Ee,78:Te,82:ye,83:De,86:b,100:k,102:E,103:F},e(d,[2,20]),e(d,[2,31]),e(d,[2,32]),{13:[1,91],16:39,17:40,19:90,60:C,86:b,100:k,102:E,103:F},{53:92,66:56,67:57,68:ee,69:te,70:se,71:ie,72:ae,73:Be,74:_e},e(d,[2,64]),{67:93,73:Be,74:_e},e(ne,[2,83],{66:94,68:ee,69:te,70:se,71:ie,72:ae}),e(Y,[2,84]),e(Y,[2,85]),e(Y,[2,86]),e(Y,[2,87]),e(Y,[2,88]),e(Ge,[2,89]),e(Ge,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:D,56:N},{16:100,60:C,86:b,100:k,102:E},{41:[1,102],45:101,51:le},{16:104,60:C,86:b,100:k,102:E},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:K,50:W,59:110,60:Q,82:j,84:111,85:112,86:X,87:H,88:q,89:J,90:Z},{60:[1,122]},{13:Re,55:123},e(L,[2,72]),e(L,[2,138]),{22:K,50:W,59:124,60:Q,61:[1,125],82:j,84:111,85:112,86:X,87:H,88:q,89:J,90:Z},e(Ue,[2,74]),{16:39,17:40,19:126,60:C,86:b,100:k,102:E,103:F},e(R,[2,16]),e(R,[2,17]),e(R,[2,18]),{11:127,12:ze,39:[2,36]},e(ue,[2,9],{16:85,17:86,15:130,18:[1,129],60:C,86:b,100:k,102:E,103:F}),e(ue,[2,10]),e(Se,[2,55],{11:131,12:ze}),e(Fe,[2,7]),{9:[1,132]},e(oe,[2,67]),{16:39,17:40,19:133,60:C,86:b,100:k,102:E,103:F},{13:[1,135],16:39,17:40,19:134,60:C,86:b,100:k,102:E,103:F},e(ne,[2,82],{66:136,68:ee,69:te,70:se,71:ie,72:ae}),e(ne,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:D,56:N},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},e(L,[2,48],{39:[1,142]}),{41:[1,143]},e(L,[2,50]),{41:[2,61],45:144,51:le},{47:[1,145]},{16:39,17:40,19:146,60:C,86:b,100:k,102:E,103:F},e(d,[2,91],{13:[1,147]}),e(d,[2,93],{13:[1,149],77:[1,148]}),e(d,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},e(d,[2,105],{61:Ye}),e(Ke,[2,107],{85:154,22:K,50:W,60:Q,82:j,86:X,87:H,88:q,89:J,90:Z}),e(v,[2,109]),e(v,[2,111]),e(v,[2,112]),e(v,[2,113]),e(v,[2,114]),e(v,[2,115]),e(v,[2,116]),e(v,[2,117]),e(v,[2,118]),e(v,[2,119]),e(d,[2,106]),e(L,[2,71]),e(d,[2,73],{61:Ye}),{60:[1,155]},e(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:C,86:b,100:k,102:E,103:F},e(ue,[2,12]),e(Se,[2,56]),{1:[2,4]},e(oe,[2,69]),e(oe,[2,68]),{16:39,17:40,19:158,60:C,86:b,100:k,102:E,103:F},e(ne,[2,80]),e(L,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:D,56:N},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:D,56:N},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:D,56:N},{45:163,51:le},e(L,[2,49]),{41:[2,62]},e(L,[2,52],{39:[1,164]}),e(d,[2,60]),e(d,[2,92]),e(d,[2,94]),e(d,[2,95],{77:[1,165]}),e(d,[2,98]),e(d,[2,99],{13:[1,166]}),e(d,[2,101],{13:[1,168],77:[1,167]}),{22:K,50:W,60:Q,82:j,84:169,85:112,86:X,87:H,88:q,89:J,90:Z},e(v,[2,110]),e(Ue,[2,75]),{14:[1,170]},e(ue,[2,11]),e(oe,[2,70]),e(L,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:le},e(d,[2,96]),e(d,[2,100]),e(d,[2,102]),e(d,[2,103],{77:[1,174]}),e(Ke,[2,108],{85:154,22:K,50:W,60:Q,82:j,86:X,87:H,88:q,89:J,90:Z}),e(Se,[2,8]),e(L,[2,51]),{41:[1,175]},e(L,[2,54]),e(d,[2,104]),e(L,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(y(function(p,g){if(g.recoverable)this.trace(p);else{var A=new Error(p);throw A.hash=g,A}},"parseError"),"parseError"),parse:f(y(function(p){var g=this,A=[0],l=[],T=[null],t=[],$=this.table,s="",he=0,We=0,Qe=0,$e=2,je=1,et=t.slice.call(arguments,1),B=Object.create(this.lexer),M={yy:{}};for(var Le in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Le)&&(M.yy[Le]=this.yy[Le]);B.setInput(p,M.yy),M.yy.lexer=B,M.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var xe=B.yylloc;t.push(xe);var tt=B.options&&B.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(I){A.length=A.length-2*I,T.length=T.length-I,t.length=t.length-I}y(st,"popStack"),f(st,"popStack");function Xe(){var I=l.pop()||B.lex()||je;return typeof I!="number"&&(I instanceof Array&&(l=I,I=l.pop()),I=g.symbols_[I]||I),I}y(Xe,"lex"),f(Xe,"lex");for(var _,Ie,V,x,ve,G={},de,O,He,pe;;){if(V=A[A.length-1],this.defaultActions[V]?x=this.defaultActions[V]:((_===null||typeof _>"u")&&(_=Xe()),x=$[V]&&$[V][_]),typeof x>"u"||!x.length||!x[0]){var Oe="";pe=[];for(de in $[V])this.terminals_[de]&&de>$e&&pe.push("'"+this.terminals_[de]+"'");B.showPosition?Oe="Parse error on line "+(he+1)+`:
|
|
1
|
+
var it=Object.defineProperty;var y=(e,i)=>it(e,"name",{value:i,configurable:!0});import{n as f}from"./chunk-Y2CYZVJY-OvsAdhaO.js";import{m as we,p as Ae}from"./src-DYjgETqR.js";import{C as at,H as rt,M as U,U as nt,_ as lt,a as ut,b as S,et as ot,q as ct,s as w,v as ht,z as dt}from"./chunk-VPRB5NB3-BNz5CtBn.js";import{_ as Me,c as pt}from"./chunk-3YJQHVM4-C_uoPpLR.js";import"./chunk-HJ2JQQFS-DL4lnpSv.js";import"./chunk-E2ZNV5FY-DG8wQ_NS.js";import{t as At}from"./chunk-5VM5RSS4-2H3r6wq0.js";import"./chunk-4EA7E6EY-BeMEfIRS.js";import{i as ft,n as mt,o as gt,r as Ct}from"./chunk-J5ZVWO5B-ClU583ja.js";import"./chunk-XC4XBNZT-CCgIhjYS.js";import"./chunk-DBDB3WZW-B2qouVQO.js";import"./chunk-2BW5OAIV-Ckr4HfBO.js";import{t as bt}from"./chunk-7TKQ45FW-DiwqWHvN.js";import{t as kt}from"./chunk-XXDRQBXY-BdWplhUD.js";import{t as Et}from"./chunk-KQW6MTUR-BsVaJdnu.js";import"./chunk-NTY3LDVX-DyT9N5sM.js";import{i as Tt,r as yt}from"./mermaid.core-B0t95EIS.js";var Ve=(function(){var e=f(function(c,p,g,A){for(g=g||{},A=c.length;A--;g[c[A]]=p);return g},"o"),i=[1,18],r=[1,19],a=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],m=[1,25],D=[1,32],N=[1,33],z=[1,34],C=[1,45],me=[1,35],ge=[1,36],Ce=[1,37],be=[1,38],ke=[1,27],Ee=[1,28],Te=[1,29],ye=[1,30],De=[1,31],b=[1,44],k=[1,46],E=[1,43],F=[1,47],Fe=[1,9],d=[1,8,9],ee=[1,58],te=[1,59],se=[1,60],ie=[1,61],ae=[1,62],Be=[1,63],_e=[1,64],L=[1,8,9,41],Re=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],re=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ne=[13,60,86,100,102,103],Y=[13,60,73,74,86,100,102,103],Ge=[13,60,68,69,70,71,72,86,100,102,103],le=[1,103],K=[1,121],W=[1,117],Q=[1,113],j=[1,119],X=[1,114],H=[1,115],q=[1,116],J=[1,118],Z=[1,120],Ue=[22,50,60,61,82,86,87,88,89,90],ze=[1,128],ue=[12,39],Se=[1,8,9,39,41,44,46],oe=[1,8,9,22],Ye=[1,153],Ke=[1,8,9,61],v=[1,8,9,22,50,60,61,82,86,87,88,89,90],Ne={trace:f(y(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(y(function(p,g,A,l,T,t,$){var s=t.length-1;switch(T){case 8:this.$=t[s-1];break;case 9:case 10:case 13:case 15:this.$=t[s];break;case 11:case 14:this.$=t[s-2]+"."+t[s];break;case 12:case 16:this.$=t[s-1]+t[s];break;case 17:case 18:this.$=t[s-1]+"~"+t[s]+"~";break;case 19:l.addRelation(t[s]);break;case 20:t[s-1].title=l.cleanupLabel(t[s]),l.addRelation(t[s-1]);break;case 31:this.$=t[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=t[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(t[s-3],t[s-1][0],t[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(t[s-4],t[s-1][0],t[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(t[s]);break;case 37:this.$=l.addNamespace(t[s-1],t[s]);break;case 38:this.$=[[t[s]],[]];break;case 39:this.$=[[t[s-1]],[]];break;case 40:t[s][0].unshift(t[s-2]),this.$=t[s];break;case 41:this.$=[[],[t[s]]];break;case 42:this.$=[[],[t[s-1]]];break;case 43:t[s][1].unshift(t[s-2]),this.$=t[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=t[s];break;case 48:l.setCssClass(t[s-2],t[s]);break;case 49:l.addMembers(t[s-3],t[s-1]);break;case 51:l.setCssClass(t[s-5],t[s-3]),l.addMembers(t[s-5],t[s-1]);break;case 52:l.addAnnotation(t[s-3],t[s-1]);break;case 53:l.addAnnotation(t[s-6],t[s-4]),l.addMembers(t[s-6],t[s-1]);break;case 54:l.addAnnotation(t[s-5],t[s-3]);break;case 55:this.$=t[s],l.addClass(t[s]);break;case 56:this.$=t[s-1],l.addClass(t[s-1]),l.setClassLabel(t[s-1],t[s]);break;case 60:l.addAnnotation(t[s],t[s-2]);break;case 61:case 74:this.$=[t[s]];break;case 62:t[s].push(t[s-1]),this.$=t[s];break;case 63:break;case 64:l.addMember(t[s-1],l.cleanupLabel(t[s]));break;case 65:break;case 66:break;case 67:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 69:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 70:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 71:this.$=l.addNote(t[s],t[s-1]);break;case 72:this.$=l.addNote(t[s]);break;case 73:this.$=t[s-2],l.defineClass(t[s-1],t[s]);break;case 75:this.$=t[s-2].concat([t[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 81:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 82:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=t[s-2],l.setClickEvent(t[s-1],t[s]);break;case 92:case 98:this.$=t[s-3],l.setClickEvent(t[s-2],t[s-1]),l.setTooltip(t[s-2],t[s]);break;case 93:this.$=t[s-2],l.setLink(t[s-1],t[s]);break;case 94:this.$=t[s-3],l.setLink(t[s-2],t[s-1],t[s]);break;case 95:this.$=t[s-3],l.setLink(t[s-2],t[s-1]),l.setTooltip(t[s-2],t[s]);break;case 96:this.$=t[s-4],l.setLink(t[s-3],t[s-2],t[s]),l.setTooltip(t[s-3],t[s-1]);break;case 99:this.$=t[s-3],l.setClickEvent(t[s-2],t[s-1],t[s]);break;case 100:this.$=t[s-4],l.setClickEvent(t[s-3],t[s-2],t[s-1]),l.setTooltip(t[s-3],t[s]);break;case 101:this.$=t[s-3],l.setLink(t[s-2],t[s]);break;case 102:this.$=t[s-4],l.setLink(t[s-3],t[s-1],t[s]);break;case 103:this.$=t[s-4],l.setLink(t[s-3],t[s-1]),l.setTooltip(t[s-3],t[s]);break;case 104:this.$=t[s-5],l.setLink(t[s-4],t[s-2],t[s]),l.setTooltip(t[s-4],t[s-1]);break;case 105:this.$=t[s-2],l.setCssStyle(t[s-1],t[s]);break;case 106:l.setCssClass(t[s-1],t[s]);break;case 107:this.$=[t[s]];break;case 108:t[s-2].push(t[s]),this.$=t[s-2];break;case 110:this.$=t[s-1]+t[s]}},"anonymous"),"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:r,37:a,38:22,42:n,43:23,46:u,48:h,51:o,52:m,54:D,56:N,57:z,60:C,62:me,63:ge,64:Ce,65:be,75:ke,76:Ee,78:Te,82:ye,83:De,86:b,100:k,102:E,103:F},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Fe,[2,5],{8:[1,48]}),{8:[1,49]},e(d,[2,19],{22:[1,50]}),e(d,[2,21]),e(d,[2,22]),e(d,[2,23]),e(d,[2,24]),e(d,[2,25]),e(d,[2,26]),e(d,[2,27]),e(d,[2,28]),e(d,[2,29]),e(d,[2,30]),{34:[1,51]},{36:[1,52]},e(d,[2,33]),e(d,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:ee,69:te,70:se,71:ie,72:ae,73:Be,74:_e}),{39:[1,65]},e(L,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),e(d,[2,65]),e(d,[2,66]),{16:69,60:C,86:b,100:k,102:E},{16:39,17:40,19:70,60:C,86:b,100:k,102:E,103:F},{16:39,17:40,19:71,60:C,86:b,100:k,102:E,103:F},{16:39,17:40,19:72,60:C,86:b,100:k,102:E,103:F},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:C,86:b,100:k,102:E,103:F},{13:Re,55:76},{58:78,60:[1,79]},e(d,[2,76]),e(d,[2,77]),e(d,[2,78]),e(d,[2,79]),e(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:C,86:b,100:k,102:E,103:F}),e(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:C,86:b,100:k,102:E,103:F},{16:39,17:40,19:87,60:C,86:b,100:k,102:E,103:F},e(re,[2,133]),e(re,[2,134]),e(re,[2,135]),e(re,[2,136]),e([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),e(Fe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:r,37:a,42:n,46:u,48:h,51:o,52:m,54:D,56:N,57:z,60:C,62:me,63:ge,64:Ce,65:be,75:ke,76:Ee,78:Te,82:ye,83:De,86:b,100:k,102:E,103:F}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:r,37:a,38:22,42:n,43:23,46:u,48:h,51:o,52:m,54:D,56:N,57:z,60:C,62:me,63:ge,64:Ce,65:be,75:ke,76:Ee,78:Te,82:ye,83:De,86:b,100:k,102:E,103:F},e(d,[2,20]),e(d,[2,31]),e(d,[2,32]),{13:[1,91],16:39,17:40,19:90,60:C,86:b,100:k,102:E,103:F},{53:92,66:56,67:57,68:ee,69:te,70:se,71:ie,72:ae,73:Be,74:_e},e(d,[2,64]),{67:93,73:Be,74:_e},e(ne,[2,83],{66:94,68:ee,69:te,70:se,71:ie,72:ae}),e(Y,[2,84]),e(Y,[2,85]),e(Y,[2,86]),e(Y,[2,87]),e(Y,[2,88]),e(Ge,[2,89]),e(Ge,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:D,56:N},{16:100,60:C,86:b,100:k,102:E},{41:[1,102],45:101,51:le},{16:104,60:C,86:b,100:k,102:E},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:K,50:W,59:110,60:Q,82:j,84:111,85:112,86:X,87:H,88:q,89:J,90:Z},{60:[1,122]},{13:Re,55:123},e(L,[2,72]),e(L,[2,138]),{22:K,50:W,59:124,60:Q,61:[1,125],82:j,84:111,85:112,86:X,87:H,88:q,89:J,90:Z},e(Ue,[2,74]),{16:39,17:40,19:126,60:C,86:b,100:k,102:E,103:F},e(R,[2,16]),e(R,[2,17]),e(R,[2,18]),{11:127,12:ze,39:[2,36]},e(ue,[2,9],{16:85,17:86,15:130,18:[1,129],60:C,86:b,100:k,102:E,103:F}),e(ue,[2,10]),e(Se,[2,55],{11:131,12:ze}),e(Fe,[2,7]),{9:[1,132]},e(oe,[2,67]),{16:39,17:40,19:133,60:C,86:b,100:k,102:E,103:F},{13:[1,135],16:39,17:40,19:134,60:C,86:b,100:k,102:E,103:F},e(ne,[2,82],{66:136,68:ee,69:te,70:se,71:ie,72:ae}),e(ne,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:D,56:N},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},e(L,[2,48],{39:[1,142]}),{41:[1,143]},e(L,[2,50]),{41:[2,61],45:144,51:le},{47:[1,145]},{16:39,17:40,19:146,60:C,86:b,100:k,102:E,103:F},e(d,[2,91],{13:[1,147]}),e(d,[2,93],{13:[1,149],77:[1,148]}),e(d,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},e(d,[2,105],{61:Ye}),e(Ke,[2,107],{85:154,22:K,50:W,60:Q,82:j,86:X,87:H,88:q,89:J,90:Z}),e(v,[2,109]),e(v,[2,111]),e(v,[2,112]),e(v,[2,113]),e(v,[2,114]),e(v,[2,115]),e(v,[2,116]),e(v,[2,117]),e(v,[2,118]),e(v,[2,119]),e(d,[2,106]),e(L,[2,71]),e(d,[2,73],{61:Ye}),{60:[1,155]},e(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:C,86:b,100:k,102:E,103:F},e(ue,[2,12]),e(Se,[2,56]),{1:[2,4]},e(oe,[2,69]),e(oe,[2,68]),{16:39,17:40,19:158,60:C,86:b,100:k,102:E,103:F},e(ne,[2,80]),e(L,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:D,56:N},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:D,56:N},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:D,56:N},{45:163,51:le},e(L,[2,49]),{41:[2,62]},e(L,[2,52],{39:[1,164]}),e(d,[2,60]),e(d,[2,92]),e(d,[2,94]),e(d,[2,95],{77:[1,165]}),e(d,[2,98]),e(d,[2,99],{13:[1,166]}),e(d,[2,101],{13:[1,168],77:[1,167]}),{22:K,50:W,60:Q,82:j,84:169,85:112,86:X,87:H,88:q,89:J,90:Z},e(v,[2,110]),e(Ue,[2,75]),{14:[1,170]},e(ue,[2,11]),e(oe,[2,70]),e(L,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:le},e(d,[2,96]),e(d,[2,100]),e(d,[2,102]),e(d,[2,103],{77:[1,174]}),e(Ke,[2,108],{85:154,22:K,50:W,60:Q,82:j,86:X,87:H,88:q,89:J,90:Z}),e(Se,[2,8]),e(L,[2,51]),{41:[1,175]},e(L,[2,54]),e(d,[2,104]),e(L,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(y(function(p,g){if(g.recoverable)this.trace(p);else{var A=new Error(p);throw A.hash=g,A}},"parseError"),"parseError"),parse:f(y(function(p){var g=this,A=[0],l=[],T=[null],t=[],$=this.table,s="",he=0,We=0,Qe=0,$e=2,je=1,et=t.slice.call(arguments,1),B=Object.create(this.lexer),M={yy:{}};for(var Le in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Le)&&(M.yy[Le]=this.yy[Le]);B.setInput(p,M.yy),M.yy.lexer=B,M.yy.parser=this,typeof B.yylloc>"u"&&(B.yylloc={});var xe=B.yylloc;t.push(xe);var tt=B.options&&B.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function st(I){A.length=A.length-2*I,T.length=T.length-I,t.length=t.length-I}y(st,"popStack"),f(st,"popStack");function Xe(){var I=l.pop()||B.lex()||je;return typeof I!="number"&&(I instanceof Array&&(l=I,I=l.pop()),I=g.symbols_[I]||I),I}y(Xe,"lex"),f(Xe,"lex");for(var _,Ie,V,x,ve,G={},de,O,He,pe;;){if(V=A[A.length-1],this.defaultActions[V]?x=this.defaultActions[V]:((_===null||typeof _>"u")&&(_=Xe()),x=$[V]&&$[V][_]),typeof x>"u"||!x.length||!x[0]){var Oe="";pe=[];for(de in $[V])this.terminals_[de]&&de>$e&&pe.push("'"+this.terminals_[de]+"'");B.showPosition?Oe="Parse error on line "+(he+1)+`:
|
|
2
2
|
`+B.showPosition()+`
|
|
3
3
|
Expecting `+pe.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Oe="Parse error on line "+(he+1)+": Unexpected "+(_==je?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Oe,{text:B.match,token:this.terminals_[_]||_,line:B.yylineno,loc:xe,expected:pe})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+V+", token: "+_);switch(x[0]){case 1:A.push(_),T.push(B.yytext),t.push(B.yylloc),A.push(x[1]),_=null,Ie?(_=Ie,Ie=null):(We=B.yyleng,s=B.yytext,he=B.yylineno,xe=B.yylloc,Qe>0&&Qe--);break;case 2:if(O=this.productions_[x[1]][1],G.$=T[T.length-O],G._$={first_line:t[t.length-(O||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(O||1)].first_column,last_column:t[t.length-1].last_column},tt&&(G._$.range=[t[t.length-(O||1)].range[0],t[t.length-1].range[1]]),ve=this.performAction.apply(G,[s,We,he,M.yy,x[1],T,t].concat(et)),typeof ve<"u")return ve;O&&(A=A.slice(0,-1*O*2),T=T.slice(0,-1*O),t=t.slice(0,-1*O)),A.push(this.productions_[x[1]][0]),T.push(G.$),t.push(G._$),He=$[A[A.length-2]][A[A.length-1]],A.push(He);break;case 3:return!0}}return!0},"parse"),"parse")};Ne.lexer=(function(){return{EOF:1,parseError:f(y(function(p,g){if(this.yy.parser)this.yy.parser.parseError(p,g);else throw new Error(p)},"parseError"),"parseError"),setInput:f(function(c,p){return this.yy=p||this.yy||{},this._input=c,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:f(function(){var c=this._input[0];return this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c,c.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),c},"input"),unput:f(function(c){var p=c.length,g=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;var A=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var l=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:g?(g.length===A.length?this.yylloc.first_column:0)+A[A.length-g.length].length-g[0].length:this.yylloc.first_column-p},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-p]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(c){this.unput(this.match.slice(c))},"less"),pastInput:f(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var c=this.pastInput(),p=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{QT as a}from"./index-
|
|
1
|
+
import{QT as a}from"./index-BJtnP7H1.js";var e={name:"coins",size:24,node:[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]]};e.node;var n=a(e);export{n as t};
|