n8n-editor-ui 2.45.0 → 2.45.1
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/AddDataTableModal-CnouX_lW.js +1 -0
- package/dist/assets/AgentApprovalSelector-Bkcw_K-5.js +1 -0
- package/dist/assets/AgentBuilderView-16ozBuV4.js +13 -0
- package/dist/assets/{AgentBuilderView-CVD_bUcP.js → AgentBuilderView-A82rdsu5.js} +1 -1
- package/dist/assets/AgentChatPanel-mr1o-MXb.js +16 -0
- package/dist/assets/AgentConfirmationModal-OjlWFYMK.js +1 -0
- package/dist/assets/AgentDescriptionModal-B1zrZ7f_.js +1 -0
- package/dist/assets/AgentDuplicateModal-Il6GRCiQ.js +1 -0
- package/dist/assets/AgentEditorModal-CdQAvv85.js +1 -0
- package/dist/assets/AgentJsonImportModal-DJlx0fdC.js +1 -0
- package/dist/assets/AgentModal-CY-bt8xE.js +1 -0
- package/dist/assets/{AgentModalMultiStep-B45f3Gm5.js → AgentModalMultiStep-DUvotqgL.js} +1 -1
- package/dist/assets/AgentN8nChatView-BOKY9GPo.js +1 -0
- package/dist/assets/AgentPreviewButton-DTZN-1oP.js +3 -0
- package/dist/assets/AgentPreviewDock-C62cN3RV.js +1 -0
- package/dist/assets/AgentPublishedModal-B58Tz8Xh.js +1 -0
- package/dist/assets/AgentSessionTimelineView-rKVuU8QU.js +1 -0
- package/dist/assets/AgentSessionsListView-BV_WiAup.js +1 -0
- package/dist/assets/{AgentSessionsListView-BxzIujEa.js → AgentSessionsListView-DIrYjwEr.js} +1 -1
- package/dist/assets/AgentSkillModal-Cbej2vaa.js +109 -0
- package/dist/assets/AgentSubAgentsModal-Dj2etehf.js +1 -0
- package/dist/assets/AgentTaskModal-C5dDwkWt.js +1 -0
- package/dist/assets/{AgentTemplateList-Daz0TjUD.js → AgentTemplateList-BMWJVFIE.js} +1 -1
- package/dist/assets/AgentToolConfigModal-9aut-Av_.js +1 -0
- package/dist/assets/AgentToolConfigTitleIcon-C1BFYsMm.js +1 -0
- package/dist/assets/AgentToolsConnectionModalWrapper-tQIKnEOR.js +1 -0
- package/dist/assets/AgentUnpublishedWorkflowsModal-CNrQTJ3h.js +1 -0
- package/dist/assets/AgentVectorStoresModal-DUoSFr61.js +1 -0
- package/dist/assets/AgentView-YVpI_0a3.js +1 -0
- package/dist/assets/AgentsListView-DAUuOg62.js +1 -0
- package/dist/assets/{AnimatedSpinner-CpTDoMZJ.js → AnimatedSpinner-Ctg6SogW.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee-C_EoWGSY.js → AnnotationTagsDropdown.ee-DaRka5kT.js} +1 -1
- package/dist/assets/AppSidebar-BQdjxHrS.js +1 -0
- package/dist/assets/AuthLayout-CcXILwUv.js +1 -0
- package/dist/assets/AuthView-Dn_3iQuw.js +1 -0
- package/dist/assets/BrowserUseSetupContent-CVKTjulc.js +1 -0
- package/dist/assets/BrowserUseSetupModal-BeNWWm4S.js +1 -0
- package/dist/assets/ChangePasswordModal-CTqFVMDg.js +1 -0
- package/dist/assets/{ChangePasswordView-rYJDz4P5.js → ChangePasswordView-Dx83TQ0g.js} +1 -1
- package/dist/assets/ChatAgentAvatar-CQ8ilTmV.js +1 -0
- package/dist/assets/ChatAgentSearchSort-CaUc4YeZ.js +1 -0
- package/dist/assets/ChatFile-CM2lCuwk.js +1 -0
- package/dist/assets/ChatGreetings-Bga6bzFM.js +3 -0
- package/dist/assets/ChatHistoryDropdownTrigger-DF7wkJhF.js +1 -0
- package/dist/assets/ChatLayout-CIeIMmvr.js +1 -0
- package/dist/assets/ChatLayout-DLnz8rjh.js +1 -0
- package/dist/assets/{ChatMarkdownChunk-D05aJou2.js → ChatMarkdownChunk-COiST6lc.js} +20 -20
- package/dist/assets/ChatPersonalAgentsView-COz3LcQX.js +1 -0
- package/dist/assets/ChatView-CV_cIQDt.js +1 -0
- package/dist/assets/ChatWorkflowAgentsView-DOB5FyAD.js +1 -0
- package/dist/assets/CollectionParameter-0vojqp5Z.js +1 -0
- package/dist/assets/CompareCollectionView-W9zYWCOv.js +1 -0
- package/dist/assets/{ComputerUseSetupContent-CKUQJ-FV.js → ComputerUseSetupContent-PqEOHUcp.js} +1 -1
- package/dist/assets/ComputerUseSetupModal-CYjrQyzm.js +1 -0
- package/dist/assets/ConfirmEmailChangeView-BLKoHqmA.js +1 -0
- package/dist/assets/ConfirmPasswordModal-C-0DeaZR.js +1 -0
- package/dist/assets/ConnectionTracker-Db11XQ0f.js +1 -0
- package/dist/assets/CredentialSelectorModal-BLXz4KlG.js +1 -0
- package/dist/assets/CredentialsView-Bvq4ib7M.js +1 -0
- package/dist/assets/DataTableActions-3_WMdWPu.js +1 -0
- package/dist/assets/DataTableDetailsView-Bb20AGC1.js +1 -0
- package/dist/assets/{DataTableTable-1-THs6xU.js → DataTableTable-C8UCWkRE.js} +12 -12
- package/dist/assets/DataTableView-BGLCAgx5.js +1 -0
- package/dist/assets/DefaultLayout-2NXDw5qF.js +1 -0
- package/dist/assets/DeleteInstanceRoleModal-B5RoykdZ.js +1 -0
- package/dist/assets/DemoDiffView-xoaMe_lO.js +1 -0
- package/dist/assets/DemoLayout-DZLROl2A.js +1 -0
- package/dist/assets/DependencyPill-dKmTyB4q.js +1 -0
- package/dist/assets/{EmptySharedSectionActionBox-BiP4xaO4.js → EmptySharedSectionActionBox-Bb-zlWDC.js} +1 -1
- package/dist/assets/EntityNotFound-JS8OPYSH.js +1 -0
- package/dist/assets/EntityUnAuthorised-DooxTaJg.js +1 -0
- package/dist/assets/ErrorView-BZD2XmVN.js +1 -0
- package/dist/assets/EvalCollectionsListView-D0BwUbqQ.js +1 -0
- package/dist/assets/EvaluationsListSwitcher-Ck3YF3jp.js +2 -0
- package/dist/assets/EvaluationsPaywall-C3iSnTyW.js +1 -0
- package/dist/assets/EvaluationsRootView-D_iWMnF-.js +9 -0
- package/dist/assets/EventDestinationSettingsModalAdapter-BU5CTeca.js +1 -0
- package/dist/assets/ExecutionsTime-BNim7ake.js +2 -0
- package/dist/assets/ExecutionsView-D6Cu16v8.js +1 -0
- package/dist/assets/{ExposeAllWorkflowsToMcpModal-VMql5bIs.js → ExposeAllWorkflowsToMcpModal-DG7WB6UD.js} +1 -1
- package/dist/assets/FixedCollectionParameter-Dc0M5RZb.js +1 -0
- package/dist/assets/{FolderBreadcrumbs-BfEc3g4b.js → FolderBreadcrumbs-Q3MhcsaV.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-9tWbtJZT.js → ForgotMyPasswordView-BwzAMWvi.js} +1 -1
- package/dist/assets/GroupedMetricChart-F35AoFb5.js +1 -0
- package/dist/assets/{ImpactTag-BaPwcmfB.js → ImpactTag-olel2EGR.js} +1 -1
- package/dist/assets/InboxView-BTsPE3LL.js +1 -0
- package/dist/assets/InsightsChartAverageRuntime-DCYL6yNa.js +1 -0
- package/dist/assets/InsightsChartFailed-CZSwN7BY.js +1 -0
- package/dist/assets/{InsightsChartFailureRate-BPJi0ES-.js → InsightsChartFailureRate-BUZJgH6k.js} +1 -1
- package/dist/assets/InsightsChartTimeSaved-Bw8ynJ5M.js +1 -0
- package/dist/assets/{InsightsChartTotal-Cll2G5Qc.js → InsightsChartTotal-BZq2kEsn.js} +1 -1
- package/dist/assets/InsightsDashboard-CsgNQ0J4.js +2 -0
- package/dist/assets/InsightsPaywall-D1xHDCXr.js +1 -0
- package/dist/assets/InsightsSummary-CAddOiRy.js +1 -0
- package/dist/assets/InsightsTableWorkflows-hqS54BLa.js +2 -0
- package/dist/assets/InstanceAiEmptyView-BgN6CEWL.js +1 -0
- package/dist/assets/InstanceAiLayout-CUPV2Daa.js +1 -0
- package/dist/assets/InstanceAiThreadView-DHi5rwS8.js +2 -0
- package/dist/assets/InstanceAiThreadsView-BWqe6dot.js +1 -0
- package/dist/assets/InstanceAiToolsConnectionModalWrapper-2PoAXCET.js +1 -0
- package/dist/assets/InstanceAiView-Il5CAz76.js +1 -0
- package/dist/assets/InstanceRoleView-Cbe5S4Rg.js +1 -0
- package/dist/assets/LimitedModeNotice-BSlv9Okx.js +1 -0
- package/dist/assets/LogStreamingPaywall-BYN3W5J2.js +1 -0
- package/dist/assets/LogStreamingPlaceholderView-DtuAoRMf.js +1 -0
- package/dist/assets/{MCPOnboardingModal-CiVSlgfv.js → MCPOnboardingModal-Bt0qH6FR.js} +1 -1
- package/dist/assets/MainHeader-DJZs1n_g.js +1 -0
- package/dist/assets/MainSidebarHeader-IzMQbuEK.css +1 -0
- package/dist/assets/MainSidebarHeader-TIQwL7gv.js +1 -0
- package/dist/assets/McpJsonNudgeModal-yULAzM4s.js +1 -0
- package/dist/assets/McpRegistrySuggestionFooter-CQ0TX658.js +1 -0
- package/dist/assets/McpToolPermissionsEditor-Hu6Ok39M.js +1 -0
- package/dist/assets/MfaSetupModal-OlryyZcu.js +3 -0
- package/dist/assets/MigrationRuleDetail-CsyVADRJ.css +1 -0
- package/dist/assets/MigrationRuleDetail-Dl7Iaoga.js +1 -0
- package/dist/assets/MigrationRules-C2oMp5mL.js +1 -0
- package/dist/assets/ModelByIdSelectorModal-BikBKx3s.js +1 -0
- package/dist/assets/N8nChatAgentGrid-CXaAPVuT.js +1 -0
- package/dist/assets/N8nChatAgentLibraryView-B1_kjqbq.js +1 -0
- package/dist/assets/N8nChatPageLayout-CfK0ksWs.js +1 -0
- package/dist/assets/NodeCreation-C8NQfvSc.js +2 -0
- package/dist/assets/NodeCreator-Dhn56G_x.js +1 -0
- package/dist/assets/NodeDetailsView-CAAioFB0.js +1 -0
- package/dist/assets/NodeToolSettingsContent-CxbIBOhk.js +1 -0
- package/dist/assets/{NodeView-BCwHoZkk.js → NodeView-D7SVUTpC.js} +1 -1
- package/dist/assets/NodeView-DmTnEQWu.js +2 -0
- package/dist/assets/OAuthConsentView-BrSdVDko.js +1 -0
- package/dist/assets/PageViewLayout-BDZtczRw.js +1 -0
- package/dist/assets/ProjectBreadcrumb-BQOUCFvv.js +1 -0
- package/dist/assets/ProjectFilter-DnVI8kJu.js +1 -0
- package/dist/assets/ProjectHeader-DV4GEQFs.js +1 -0
- package/dist/assets/ProjectRoleView-Nht7c_dk.js +1 -0
- package/dist/assets/ProjectSettings-BxsOIjzO.js +1 -0
- package/dist/assets/ProjectVariables-KRENS955.js +1 -0
- package/dist/assets/PromotionBindingsFlow-B3AvYFzC.js +1 -0
- package/dist/assets/PromotionSelectModal-C3POdwXl.js +1 -0
- package/dist/assets/PromotionsSettingsView-BW8iGrPa.js +1 -0
- package/dist/assets/PromptMfaCodeModal-D6ZwRtkd.js +1 -0
- package/dist/assets/ProviderSettingsModal-BjU0JR3R.js +1 -0
- package/dist/assets/PublicationIndicator-C7kmhY5a.js +1 -0
- package/dist/assets/RecentChatIcon-CwVcFAsO.js +1 -0
- package/dist/assets/ResolversView-DTbt13yV.js +1 -0
- package/dist/assets/ResourceCenterView-Ab043YJ7.js +1 -0
- package/dist/assets/{ResourcesListEmptyState-miMGayqY.js → ResourcesListEmptyState-1TRhisTa.js} +1 -1
- package/dist/assets/ResourcesListLayout-LNJiSnId.js +1 -0
- package/dist/assets/RoleSelectDropdown-Biptg0T-.js +1 -0
- package/dist/assets/RolesView-QEm5MhKn.js +1 -0
- package/dist/assets/RunDataHtml-BNASiBsX.js +1 -0
- package/dist/assets/RunDataJson-B1QhTFkL.js +2 -0
- package/dist/assets/{RunDataJsonActions-Donod61w.js → RunDataJsonActions-Czd9r4fZ.js} +2 -2
- package/dist/assets/{RunDataParsedAiContent-CYQaxkdW.js → RunDataParsedAiContent-CV60onMQ.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-C0kkKata.js → RunDataParsedAiContent-Dtiak0e8.js} +3 -3
- package/dist/assets/{RunDataSearch-C9sB1DJh.js → RunDataSearch-DSRQDsXT.js} +1 -1
- package/dist/assets/RunDataTable-BQF6HoQi.js +1 -0
- package/dist/assets/{SamlOnboarding-DutuGodZ.js → SamlOnboarding-uDfHOK64.js} +1 -1
- package/dist/assets/SandboxSettingsRow-BqnHTu8z.js +1 -0
- package/dist/assets/SecuritySettings-4K6YtYx3.js +1 -0
- package/dist/assets/SettingsAIView-D5JL2N4p.js +1 -0
- package/dist/assets/SettingsAgentsView-qKot8brE.js +1 -0
- package/dist/assets/SettingsAiGatewayView-2AkFNSwp.js +1 -0
- package/dist/assets/SettingsApiView-B60HA1jQ.js +1 -0
- package/dist/assets/SettingsChatHubView-CIyeXFCU.js +1 -0
- package/dist/assets/SettingsCommunityNodesView-BYmkekRm.js +1 -0
- package/dist/assets/SettingsContextView-QoBEcUBg.js +1 -0
- package/dist/assets/SettingsEncryptionKeys-CaMToQ7X.js +1 -0
- package/dist/assets/SettingsExternalSecrets-jIWVLWUt.js +1 -0
- package/dist/assets/SettingsInstanceAiView-Dnarfh5h.js +1 -0
- package/dist/assets/SettingsLayout-hqizRU56.js +1 -0
- package/dist/assets/SettingsLdapView-B9WydvoB.js +9 -0
- package/dist/assets/SettingsLogStreamingView-CW1aN3Nt.js +1 -0
- package/dist/assets/SettingsMCPAgentsView-B4Itmflo.js +1 -0
- package/dist/assets/SettingsMCPClientsView-XbsJDBsJ.js +1 -0
- package/dist/assets/SettingsMCPView-sQCkNk_S.js +11 -0
- package/dist/assets/SettingsMCPWorkflowsView-B3bgUJiw.js +1 -0
- package/dist/assets/SettingsOpenTelemetryView-Z1sk0qGD.js +1 -0
- package/dist/assets/SettingsPersonalView-frxF_We4.js +1 -0
- package/dist/assets/SettingsPreferencesView-B-sWtwkf.js +1 -0
- package/dist/assets/SettingsSecretsProviders.ee-BnKfK_Yg.js +1 -0
- package/dist/assets/SettingsSkillsView-BcLNUz8X.js +1 -0
- package/dist/assets/SettingsSourceControl-3GJA_S7L.js +1 -0
- package/dist/assets/SettingsSso-C6KKlP1V.js +3 -0
- package/dist/assets/SettingsUsageAndPlan-h-u1_kTt.js +1 -0
- package/dist/assets/SettingsUsersView-CqhPDQ_V.js +1 -0
- package/dist/assets/{SetupView-DJstZGPq.js → SetupView-CaZKrHDw.js} +1 -1
- package/dist/assets/SetupWorkflowCredentialsButton-q6BtQkQd.js +1 -0
- package/dist/assets/SetupWorkflowFromTemplateView-dKkPxEH8.js +1 -0
- package/dist/assets/SigninView-BIMKrVRW.js +1 -0
- package/dist/assets/SignoutView-M-89sowN.js +1 -0
- package/dist/assets/{SignupView-DsZcZ_Kq.js → SignupView-XFZb-Fa3.js} +1 -1
- package/dist/assets/{SkeletonAgentCard-CQVEIy9q.js → SkeletonAgentCard-D-94xUoc.js} +1 -1
- package/dist/assets/TemplateList-mDZlQqOt.js +1 -0
- package/dist/assets/TemplatesCollectionView-DLoptgJh.js +1 -0
- package/dist/assets/TemplatesSearchView-uBPSSiox.js +1 -0
- package/dist/assets/TemplatesView-JM8jG3Pt.js +1 -0
- package/dist/assets/TemplatesWorkflowView-J84Z3uth.js +1 -0
- package/dist/assets/TestRunDetailView-Cr7oiGRJ.js +1 -0
- package/dist/assets/ToolCredentialPicker-BcIqfvMX.js +1 -0
- package/dist/assets/ToolIcon-D-4dkjTL.js +1 -0
- package/dist/assets/ToolSettingsModal-C0PPiCzj.js +1 -0
- package/dist/assets/ToolsConnectionModal-DKOrN_Zj.js +1 -0
- package/dist/assets/ToolsManagerModal-g74uXI4G.js +1 -0
- package/dist/assets/ToolsSelector-D88UpDuv.js +1 -0
- package/dist/assets/TrialIntroModal-Cu6LaXt2.js +1 -0
- package/dist/assets/VirtualSchema-BXcOHQx2.js +1 -0
- package/dist/assets/WorkerView-ClPiut93.js +1 -0
- package/dist/assets/{WorkflowDiffSlot-CYjgnNbo.js → WorkflowDiffSlot-B3IcJmG_.js} +1 -1
- package/dist/assets/WorkflowExecutionsInfoAccordion-DEQUdz74.js +1 -0
- package/dist/assets/WorkflowExecutionsLandingPage-zwTq774D.js +1 -0
- package/dist/assets/WorkflowExecutionsPreview-Cen7jo6h.js +1 -0
- package/dist/assets/WorkflowExecutionsView-Byc1u3TT.js +1 -0
- package/dist/assets/WorkflowHistory-aa9n4gFO.js +1 -0
- package/dist/assets/WorkflowLayout-8ftOlj69.js +1 -0
- package/dist/assets/{WorkflowOnboardingView-hz5Hrr5a.js → WorkflowOnboardingView-B7LqnNr1.js} +1 -1
- package/dist/assets/WorkflowPreviewHost-Mc0L_nNO.js +1 -0
- package/dist/assets/WorkflowsView-aeTZb5Zm.js +1 -0
- package/dist/assets/{aiTemplatesStarterCollection.store-BYvMmw8a.js → aiTemplatesStarterCollection.store-f3AArB6m.js} +2 -2
- package/dist/assets/app-Dk2ZaS_x.js +908 -0
- package/dist/assets/app-Dnd9hgcq.css +1 -0
- package/dist/assets/auth.eventBus-4Yg7R9w5.js +1 -0
- package/dist/assets/{chartjs.utils-CN8S-BJL.js → chartjs.utils-RJkC2HWQ.js} +1 -1
- package/dist/assets/context.store-t_PSgqlz.js +1 -0
- package/dist/assets/dist-CmUZjbd7.js +1 -0
- package/dist/assets/{dist-BVfXFh0T.js → dist-DJ9dUp9v.js} +1 -1
- package/dist/assets/en-CD0-RqO7.js +1 -0
- package/dist/assets/{es-DQlSch5C.js → es-QcbKfyQO.js} +1 -1
- package/dist/assets/expression-runtime-stub-7uiNVdrO.js +1 -0
- package/dist/assets/{index-CEPLt9nt.js → index-DKZ2CBPE.js} +1 -1
- package/dist/assets/{insights.constants-pxbsSxbD.js → insights.constants-By8W9kH6.js} +1 -1
- package/dist/assets/insights.store-Ddz_Hnu2.js +1 -0
- package/dist/assets/{insights.store-ajeQrIQl.js → insights.store-xzSxn2gU.js} +1 -1
- package/dist/assets/{insights.utils-D8y-dRfj.js → insights.utils-1tSqwtji.js} +1 -1
- package/dist/assets/instanceAi.store-3Xqzxrgc.js +1 -0
- package/dist/assets/instanceAiComputerUse.telemetry-B2rH_ZtP.js +1 -0
- package/dist/assets/{instanceAiMcp.store-D0lfBBR0.js → instanceAiMcp.store-DLnYXpzv.js} +1 -1
- package/dist/assets/instanceAiMcp.store-bLeLM92G.js +1 -0
- package/dist/assets/{instanceAiSetup.telemetry-CmxxYMdM.js → instanceAiSetup.telemetry-DgcOUALB.js} +1 -1
- package/dist/assets/{instanceRoleScopes-DQ5Qi1BT.js → instanceRoleScopes-CDBfQybX.js} +1 -1
- package/dist/assets/{languageModules-D6ZXgkd9.js → languageModules-DZwaA3as.js} +2 -2
- package/dist/assets/logStreaming.store-HqOw7TdV.js +1 -0
- package/dist/assets/{mcpRegistry.api-Z8cmZIMn.js → mcpRegistry.api-CvFus8Rk.js} +1 -1
- package/dist/assets/{mergeRecentChats-DWzlvZLm.js → mergeRecentChats-B2GXlVby.js} +1 -1
- package/dist/assets/{node-icons-Cyk885_i.js → node-icons-DszlHJR9.js} +1 -1
- package/dist/assets/omit-C1sllL8n.js +1 -0
- package/dist/assets/pickBy-qv54EikE.js +1 -0
- package/dist/assets/{postMessageUtils-DbooDEZn.js → postMessageUtils-BXYQwSrg.js} +1 -1
- package/dist/assets/{projectRoleScopes-D8JRaTDD.js → projectRoleScopes-CdA6h53T.js} +1 -1
- package/dist/assets/{promotions.api-BwBTrtok.js → promotions.api-Bpd2K5jA.js} +1 -1
- package/dist/assets/promotions.eventBus-CoU6_KPZ.js +1 -0
- package/dist/assets/{promotionsSettings.api-RNAT2nGk.js → promotionsSettings.api-LCwIDH72.js} +1 -1
- package/dist/assets/pushConnection.store-Bl9K1sZn.js +1 -0
- package/dist/assets/{readyToRun.store-D_ANsQZ8.js → readyToRun.store-BLk7zW3s.js} +3 -3
- package/dist/assets/{readyToRunWorkflows.store-C1mAQzQo.js → readyToRunWorkflows.store-DjCtO1J4.js} +2 -2
- package/dist/assets/{resourceCenter.store-DRn1Rp2b.js → resourceCenter.store-Dmu2URgr.js} +1 -1
- package/dist/assets/settings.store-BjTEAdn2.js +1 -0
- package/dist/assets/skills.store-ZAPQ-6xL.js +1 -0
- package/dist/assets/{src-TJjVhNPs.js → src-B6xDjyUC.js} +1 -1
- package/dist/assets/{src-BLvPU0Up.js → src-IPTuBW4n.js} +1 -1
- package/dist/assets/surfaceMcpToNewCloudUsers.store-BAEER1is.js +1 -0
- package/dist/assets/templateActions-BedvC9Xe.js +1 -0
- package/dist/assets/{thread-title-Cccr82hF.js → thread-title-CAq3yr76.js} +1 -1
- package/dist/assets/useActivityDetection-DxyKMwRM.js +1 -0
- package/dist/assets/useAgentConfirmationModal-CSOFBu-M.js +1 -0
- package/dist/assets/useBuilderStreamingGuard-BCml8pvL.js +1 -0
- package/dist/assets/useCustomAgent-DK2NcFQt.js +1 -0
- package/dist/assets/{useDependencyMenu-Djn29rS1.js → useDependencyMenu-CKpFwZRq.js} +1 -1
- package/dist/assets/{useElementOverflow-D7VYCcGE.js → useElementOverflow-BBB_9K_I.js} +1 -1
- package/dist/assets/{useEvalCollectionsFlag-Ctd417HZ.js → useEvalCollectionsFlag-O2rzsNZx.js} +1 -1
- package/dist/assets/{useEvaluationsLicense-BP7DIx_9.js → useEvaluationsLicense-DekUoTAY.js} +1 -1
- package/dist/assets/{useExecutionData-Clb2YMNl.js → useExecutionData-ZS6cwsOG.js} +1 -1
- package/dist/assets/useExecutionDebugging-CTk5o6an.js +2 -0
- package/dist/assets/{useExposeAllWorkflowsToMcpOffer-Bbn4hy3v.js → useExposeAllWorkflowsToMcpOffer-2RacvKIR.js} +1 -1
- package/dist/assets/{useExtensionDirectConnect-DLEKqC23.js → useExtensionDirectConnect-DZoNxDcG.js} +1 -1
- package/dist/assets/useFileDrop-CZ80ncDq.js +1 -0
- package/dist/assets/{useImportCurlCommand-abWaWKUD.js → useImportCurlCommand-BaD-muzH.js} +1 -1
- package/dist/assets/useInstanceAiConfiguration-DkIDywCX.js +1 -0
- package/dist/assets/useInstancePromotionConnection-DxKsF8xf.js +1 -0
- package/dist/assets/{useIntersectionObserver-BrW-2g1x.js → useIntersectionObserver-DNhtbdo2.js} +1 -1
- package/dist/assets/{useIntersectionObserver-Wmi2-n0N.js → useIntersectionObserver-Dquw21ul.js} +1 -1
- package/dist/assets/useIsAssistantAtMentionsEnabled-t-InfdQY.js +1 -0
- package/dist/assets/useLogsTreeExpand-CxCJfkvS.js +1 -0
- package/dist/assets/{useMcpJsonNudgeEligibility-BDL_9dBj.js → useMcpJsonNudgeEligibility-CWb8lPpo.js} +1 -1
- package/dist/assets/useMcpJsonNudgeTrigger-a1zGjvj7.js +1 -0
- package/dist/assets/{useMcpServerConnect-D5UowG3D.js → useMcpServerConnect-D1omw8xM.js} +1 -1
- package/dist/assets/useMergedChatHistory-B1bYgBPU.js +1 -0
- package/dist/assets/useOAuthClientRevoke-YoP39bPB.js +1 -0
- package/dist/assets/usePagedN8nChatThreads-CfZl2qaf.js +1 -0
- package/dist/assets/{usePostMessageHandler-cOzGsVHH.js → usePostMessageHandler-kWk6Npqd.js} +2 -2
- package/dist/assets/{usePushConnection-TpzfwhJQ.js → usePushConnection-DZi1t7OA.js} +1 -1
- package/dist/assets/usePushConnection-DfTgWXWk.js +1 -0
- package/dist/assets/useRoleEditorForm-lVrfOzEc.js +1 -0
- package/dist/assets/useSecretsProvidersList.ee-C2pMAL3I.js +1 -0
- package/dist/assets/{useSettingsItems-BpF20GEa.js → useSettingsItems-BrZ8HCc2.js} +1 -1
- package/dist/assets/{useSidebarLayout-BrFzwGGo.js → useSidebarLayout-DTSm4wHd.js} +1 -1
- package/dist/assets/useWorkflowEvaluationState-CCfQAPtP.js +1 -0
- package/dist/assets/useWorkflowInitialization-DXk_CwyR.js +1 -0
- package/dist/assets/{useWorkflowReviewsFeature-CG3nScaW.js → useWorkflowReviewsFeature-BEmkimZV.js} +1 -1
- package/dist/assets/useWorkflowsEmptyState-Dxv8z3cM.js +1 -0
- package/dist/assets/userRoleProvisioning.store-DPw68R1U.js +1 -0
- package/dist/assets/{vector-stores-D34WO8TP.js → vector-stores-DDzZ1pUD.js} +1 -1
- package/dist/assets/{vendor-C1LzC3uz.js → vendor-BhCrJHkF.js} +2 -2
- package/dist/assets/verified-m11ijon0.js +1 -0
- package/dist/assets/{workers-DO5h1dN3.js → workers-D-WgIP5Y.js} +1 -1
- package/dist/index.html +4 -4
- package/package.json +1 -1
- package/dist/assets/AddDataTableModal-DkkKhaL1.js +0 -1
- package/dist/assets/AgentApprovalSelector-BxA1jhev.js +0 -1
- package/dist/assets/AgentBuilderView-s5A5XdMT.js +0 -13
- package/dist/assets/AgentChatPanel-D3SCfXZT.js +0 -16
- package/dist/assets/AgentConfirmationModal-K8xBwW0w.js +0 -1
- package/dist/assets/AgentDescriptionModal-CdNM-sLm.js +0 -1
- package/dist/assets/AgentDuplicateModal-BMcdIEV9.js +0 -1
- package/dist/assets/AgentEditorModal-DxNdI9ND.js +0 -1
- package/dist/assets/AgentJsonImportModal-CRzMhC0h.js +0 -1
- package/dist/assets/AgentModal-BJ4fGzMo.js +0 -1
- package/dist/assets/AgentN8nChatView-CpnPZK4M.js +0 -1
- package/dist/assets/AgentPreviewButton-CJuUtucz.js +0 -3
- package/dist/assets/AgentPreviewDock-CKkaoR4f.js +0 -1
- package/dist/assets/AgentPublishedModal-Xd-8DCO6.js +0 -1
- package/dist/assets/AgentSessionTimelineView-NYx_R9HD.js +0 -1
- package/dist/assets/AgentSessionsListView-D6FSV-2O.js +0 -1
- package/dist/assets/AgentSkillModal-CcXFnB5F.js +0 -109
- package/dist/assets/AgentSubAgentsModal-BYziLYri.js +0 -1
- package/dist/assets/AgentTaskModal-XZRp0oRc.js +0 -1
- package/dist/assets/AgentToolConfigModal-D7yBUk_C.js +0 -1
- package/dist/assets/AgentToolConfigTitleIcon-J7fiatXn.js +0 -1
- package/dist/assets/AgentToolsConnectionModalWrapper-DTeTrinh.js +0 -1
- package/dist/assets/AgentUnpublishedWorkflowsModal-BIllUW5G.js +0 -1
- package/dist/assets/AgentVectorStoresModal-DxZHg5JV.js +0 -1
- package/dist/assets/AgentView-BUcOZSG2.js +0 -1
- package/dist/assets/AgentsListView-CGjavfEr.js +0 -1
- package/dist/assets/AppSidebar-alheYAv1.js +0 -1
- package/dist/assets/AuthLayout-29sr1UQz.js +0 -1
- package/dist/assets/AuthView-BY5L8rPr.js +0 -1
- package/dist/assets/BrowserUseSetupContent-fPu-ONzO.js +0 -1
- package/dist/assets/BrowserUseSetupModal-CzXFshe7.js +0 -1
- package/dist/assets/ChangePasswordModal-CVC7XrxM.js +0 -1
- package/dist/assets/ChatAgentAvatar-CRLYmB0C.js +0 -1
- package/dist/assets/ChatAgentSearchSort-CsMn0vf6.js +0 -1
- package/dist/assets/ChatFile-CLWU2qbA.js +0 -1
- package/dist/assets/ChatGreetings-Dtcs4QKJ.js +0 -3
- package/dist/assets/ChatHistoryDropdownTrigger-f218M_WR.js +0 -1
- package/dist/assets/ChatLayout-Byz_KW_c.js +0 -1
- package/dist/assets/ChatLayout-C5IIlw6o.js +0 -1
- package/dist/assets/ChatPersonalAgentsView-BXmBbRCO.js +0 -1
- package/dist/assets/ChatView-DPJz5199.js +0 -1
- package/dist/assets/ChatWorkflowAgentsView-C4cwacML.js +0 -1
- package/dist/assets/CollectionParameter-B9othtF6.js +0 -1
- package/dist/assets/CompareCollectionView-CojJTJvm.js +0 -1
- package/dist/assets/ComputerUseSetupModal-DOFXbNIY.js +0 -1
- package/dist/assets/ConfirmEmailChangeView-3qM0AD9y.js +0 -1
- package/dist/assets/ConfirmPasswordModal-CkoBGYx_.js +0 -1
- package/dist/assets/ConnectionTracker-D5VJkn86.js +0 -1
- package/dist/assets/CredentialSelectorModal-dK6zxI1j.js +0 -1
- package/dist/assets/CredentialsView-Dhwse-A2.js +0 -1
- package/dist/assets/DataTableActions-BTRMqH1K.js +0 -1
- package/dist/assets/DataTableDetailsView-2ZFtoXDb.js +0 -1
- package/dist/assets/DataTableView-acBnoYmB.js +0 -1
- package/dist/assets/DefaultLayout-BKDa6lwT.js +0 -1
- package/dist/assets/DeleteInstanceRoleModal-Dyr0oBXP.js +0 -1
- package/dist/assets/DemoDiffView-p-ZdAmWn.js +0 -1
- package/dist/assets/DemoLayout-Ca9vKl3X.js +0 -1
- package/dist/assets/DependencyPill-Cc56fnT2.js +0 -1
- package/dist/assets/EntityNotFound-Chxo3oQ5.js +0 -1
- package/dist/assets/EntityUnAuthorised-8pixbd5u.js +0 -1
- package/dist/assets/ErrorView-CegGxE9k.js +0 -1
- package/dist/assets/EvalCollectionsListView-B_jcfvBO.js +0 -1
- package/dist/assets/EvaluationsListSwitcher-B7qw0E-S.js +0 -2
- package/dist/assets/EvaluationsPaywall-BkLY6YPF.js +0 -1
- package/dist/assets/EvaluationsRootView-C2HcQtPf.js +0 -9
- package/dist/assets/EventDestinationSettingsModalAdapter-uDAPf_ZL.js +0 -1
- package/dist/assets/ExecutionsTime-CkObOI7n.js +0 -2
- package/dist/assets/ExecutionsView-CMTrLJjM.js +0 -1
- package/dist/assets/FixedCollectionParameter-Cbu4lFyv.js +0 -1
- package/dist/assets/GroupedMetricChart-Dzu8hgBu.js +0 -1
- package/dist/assets/InboxView-BS6Q-5xv.js +0 -1
- package/dist/assets/InsightsChartAverageRuntime-PHtfpRAh.js +0 -1
- package/dist/assets/InsightsChartFailed-BoClpGpy.js +0 -1
- package/dist/assets/InsightsChartTimeSaved-C2cZhStr.js +0 -1
- package/dist/assets/InsightsDashboard-DyT9CWdp.js +0 -2
- package/dist/assets/InsightsPaywall-ClpRReap.js +0 -1
- package/dist/assets/InsightsSummary-CoDCIeKd.js +0 -1
- package/dist/assets/InsightsTableWorkflows-7E3cVRS4.js +0 -2
- package/dist/assets/InstanceAiEmptyView-Chm44R-l.js +0 -1
- package/dist/assets/InstanceAiLayout-BEQleESf.js +0 -1
- package/dist/assets/InstanceAiThreadView-CuO6Nwjq.js +0 -2
- package/dist/assets/InstanceAiThreadsView-BYo_ylq4.js +0 -1
- package/dist/assets/InstanceAiToolsConnectionModalWrapper-DxXcEYzw.js +0 -1
- package/dist/assets/InstanceAiView-D8MWsd-2.js +0 -1
- package/dist/assets/InstanceRoleView-DV4ZSYbn.js +0 -1
- package/dist/assets/LimitedModeNotice-D-SRs1PI.js +0 -1
- package/dist/assets/LogStreamingPaywall-DoWKLDsM.js +0 -1
- package/dist/assets/LogStreamingPlaceholderView-Cp93P_vF.js +0 -1
- package/dist/assets/MainHeader-D25XfIit.js +0 -1
- package/dist/assets/MainSidebarHeader-ChEo6J_2.css +0 -1
- package/dist/assets/MainSidebarHeader-D_h9F-Uw.js +0 -1
- package/dist/assets/McpJsonNudgeModal-CKrfjivN.js +0 -1
- package/dist/assets/McpRegistrySuggestionFooter-BmWfPpaU.js +0 -1
- package/dist/assets/McpToolPermissionsEditor-Bo_KR7pk.js +0 -1
- package/dist/assets/MfaSetupModal-Dv3Mo7RC.js +0 -3
- package/dist/assets/MigrationRuleDetail-BSkoZ2I1.js +0 -1
- package/dist/assets/MigrationRuleDetail-CgfDtlcA.css +0 -1
- package/dist/assets/MigrationRules-CEqSMJtw.js +0 -1
- package/dist/assets/ModelByIdSelectorModal-Dk5CsG3c.js +0 -1
- package/dist/assets/N8nChatAgentGrid-CZUok_K9.js +0 -1
- package/dist/assets/N8nChatAgentLibraryView-DkPpwp4V.js +0 -1
- package/dist/assets/N8nChatPageLayout-B0j_VEed.js +0 -1
- package/dist/assets/NodeCreation-CAUTCL_S.js +0 -2
- package/dist/assets/NodeCreator-cC9jWHo9.js +0 -1
- package/dist/assets/NodeDetailsView-DjjouycH.js +0 -1
- package/dist/assets/NodeToolSettingsContent-4K0Ohy5_.js +0 -1
- package/dist/assets/NodeView-BAv_Zhjr.js +0 -2
- package/dist/assets/OAuthConsentView-C6GetNKG.js +0 -1
- package/dist/assets/PageViewLayout-CvoKjPGu.js +0 -1
- package/dist/assets/ProjectBreadcrumb-DllAzkmS.js +0 -1
- package/dist/assets/ProjectFilter-D1dCriNR.js +0 -1
- package/dist/assets/ProjectHeader-BpYkxOxQ.js +0 -1
- package/dist/assets/ProjectRoleView-kY2JV7sD.js +0 -1
- package/dist/assets/ProjectSettings-BPdtl-gs.js +0 -1
- package/dist/assets/ProjectVariables-BUNOYwDm.js +0 -1
- package/dist/assets/PromotionBindingsFlow-CX8etmqL.js +0 -1
- package/dist/assets/PromotionSelectModal-BJlk7mMU.js +0 -1
- package/dist/assets/PromotionsSettingsView-CIM0mghY.js +0 -1
- package/dist/assets/PromptMfaCodeModal-COflFVoK.js +0 -1
- package/dist/assets/ProviderSettingsModal-CYrWZPd5.js +0 -1
- package/dist/assets/PublicationIndicator-Bdjxe_xo.js +0 -1
- package/dist/assets/RecentChatIcon-C4Z4_rCP.js +0 -1
- package/dist/assets/ResolversView-DT4eB-LS.js +0 -1
- package/dist/assets/ResourceCenterView-BC2dpVvs.js +0 -1
- package/dist/assets/ResourcesListLayout-CF8Gt8kM.js +0 -1
- package/dist/assets/RoleSelectDropdown-Cci9TiWi.js +0 -1
- package/dist/assets/RolesView-DUA1nXzP.js +0 -1
- package/dist/assets/RunDataHtml-D_sWsXbU.js +0 -1
- package/dist/assets/RunDataJson-BOKQITzV.js +0 -2
- package/dist/assets/RunDataTable-Bqg57H_S.js +0 -1
- package/dist/assets/SandboxSettingsRow-CkPLC5E4.js +0 -1
- package/dist/assets/SecuritySettings-B9WwEnrF.js +0 -1
- package/dist/assets/SettingsAIView-DOnCAF2o.js +0 -1
- package/dist/assets/SettingsAgentsView-BB6G5Epa.js +0 -1
- package/dist/assets/SettingsAiGatewayView-CeWJVEgl.js +0 -1
- package/dist/assets/SettingsApiView-it5_Mjii.js +0 -1
- package/dist/assets/SettingsChatHubView-C_DxgNqM.js +0 -1
- package/dist/assets/SettingsCommunityNodesView-CgPuzOZT.js +0 -1
- package/dist/assets/SettingsContextView-Dakq1CSb.js +0 -1
- package/dist/assets/SettingsEncryptionKeys-7MHcRF5V.js +0 -1
- package/dist/assets/SettingsExternalSecrets-DOGT2QK3.js +0 -1
- package/dist/assets/SettingsInstanceAiView-C2tfZewj.js +0 -1
- package/dist/assets/SettingsLayout-rWC5C8Mc.js +0 -1
- package/dist/assets/SettingsLdapView-CPcgEF26.js +0 -9
- package/dist/assets/SettingsLogStreamingView-CC4Too0P.js +0 -1
- package/dist/assets/SettingsMCPAgentsView-8mUkHvNM.js +0 -1
- package/dist/assets/SettingsMCPClientsView-40shNMzA.js +0 -1
- package/dist/assets/SettingsMCPView-Cxs589XQ.js +0 -11
- package/dist/assets/SettingsMCPWorkflowsView-KL7QEDpw.js +0 -1
- package/dist/assets/SettingsOpenTelemetryView-DXYYv5EA.js +0 -1
- package/dist/assets/SettingsPersonalView-CBw_dj6a.js +0 -1
- package/dist/assets/SettingsPreferencesView-CEJbQueo.js +0 -1
- package/dist/assets/SettingsSecretsProviders.ee-C2l0SBwk.js +0 -1
- package/dist/assets/SettingsSkillsView-9zD2GUvy.js +0 -1
- package/dist/assets/SettingsSourceControl-B4-KDIsu.js +0 -1
- package/dist/assets/SettingsSso-BXSGCWXp.js +0 -3
- package/dist/assets/SettingsUsageAndPlan-BGKoDbVt.js +0 -1
- package/dist/assets/SettingsUsersView-CnZW4iIe.js +0 -1
- package/dist/assets/SetupWorkflowCredentialsButton-CBEZhqPr.js +0 -1
- package/dist/assets/SetupWorkflowFromTemplateView-CfO04HsV.js +0 -1
- package/dist/assets/SigninView-CBuTBfyU.js +0 -1
- package/dist/assets/SignoutView-WUyeUp8X.js +0 -1
- package/dist/assets/TemplateList-BIefBYJe.js +0 -1
- package/dist/assets/TemplatesCollectionView-CYuCoBl-.js +0 -1
- package/dist/assets/TemplatesSearchView-ytmS5ncF.js +0 -1
- package/dist/assets/TemplatesView-Cqu3vpW3.js +0 -1
- package/dist/assets/TemplatesWorkflowView-CebIhSlk.js +0 -1
- package/dist/assets/TestRunDetailView-BvsiSp72.js +0 -1
- package/dist/assets/ToolCredentialPicker-D4F35d3t.js +0 -1
- package/dist/assets/ToolIcon-L0I2Tc5b.js +0 -1
- package/dist/assets/ToolSettingsModal-DYbGQSO-.js +0 -1
- package/dist/assets/ToolsConnectionModal-Coz94kSK.js +0 -1
- package/dist/assets/ToolsManagerModal-BRZt0PHW.js +0 -1
- package/dist/assets/ToolsSelector-Bd5uhHcz.js +0 -1
- package/dist/assets/TrialIntroModal-BNR4YpP1.js +0 -1
- package/dist/assets/VirtualSchema-DmAqOwvR.js +0 -1
- package/dist/assets/WorkerView-DGejLttW.js +0 -1
- package/dist/assets/WorkflowExecutionsInfoAccordion-B2BB1R0g.js +0 -1
- package/dist/assets/WorkflowExecutionsLandingPage-juvfzEyQ.js +0 -1
- package/dist/assets/WorkflowExecutionsPreview-DSiNKWV_.js +0 -1
- package/dist/assets/WorkflowExecutionsView-DMw7QQdp.js +0 -1
- package/dist/assets/WorkflowHistory-s85D50Rn.js +0 -1
- package/dist/assets/WorkflowLayout-DHUm3c8Y.js +0 -1
- package/dist/assets/WorkflowPreviewHost-HUsYOhMS.js +0 -1
- package/dist/assets/WorkflowsView-DeUx7HCl.js +0 -1
- package/dist/assets/app-DDzLnya3.css +0 -1
- package/dist/assets/app-DEH25zxw.js +0 -908
- package/dist/assets/auth.eventBus-BKEP_efn.js +0 -1
- package/dist/assets/context.store-C4qrHt9U.js +0 -1
- package/dist/assets/dist-S9wmRg95.js +0 -1
- package/dist/assets/en-U9LLqr04.js +0 -1
- package/dist/assets/expression-runtime-stub-CgJc8Ijm.js +0 -1
- package/dist/assets/insights.store-DuYRiL3i.js +0 -1
- package/dist/assets/instanceAi.store-D-h2HXT9.js +0 -1
- package/dist/assets/instanceAiComputerUse.telemetry-CFtyajZh.js +0 -1
- package/dist/assets/instanceAiMcp.store-DRANC0sG.js +0 -1
- package/dist/assets/logStreaming.store-4Du4U0Z4.js +0 -1
- package/dist/assets/omit-BygdEwQr.js +0 -1
- package/dist/assets/pickBy-D8iqjth9.js +0 -1
- package/dist/assets/promotions.eventBus-BTgr903q.js +0 -1
- package/dist/assets/pushConnection.store-xBW-3xbf.js +0 -1
- package/dist/assets/settings.store-DpLBvDme.js +0 -1
- package/dist/assets/skills.store-vo-fb0M_.js +0 -1
- package/dist/assets/surfaceMcpToNewCloudUsers.store-DgHI0OUg.js +0 -1
- package/dist/assets/templateActions-tSdu1o_U.js +0 -1
- package/dist/assets/useActivityDetection-DlVxYFCd.js +0 -1
- package/dist/assets/useAgentConfirmationModal-BD10cyF-.js +0 -1
- package/dist/assets/useBuilderStreamingGuard-DuLHU9hM.js +0 -1
- package/dist/assets/useCustomAgent-0Qlz479C.js +0 -1
- package/dist/assets/useExecutionDebugging-DrzHw_eM.js +0 -2
- package/dist/assets/useFileDrop-B5P1ykr8.js +0 -1
- package/dist/assets/useInstanceAiConfiguration-CWOuKM5j.js +0 -1
- package/dist/assets/useInstancePromotionConnection-B38H4A8Y.js +0 -1
- package/dist/assets/useIsAssistantAtMentionsEnabled-C8IsVXxc.js +0 -1
- package/dist/assets/useLogsTreeExpand-Bctu1sIC.js +0 -1
- package/dist/assets/useMcpJsonNudgeTrigger-DSwKFVOm.js +0 -1
- package/dist/assets/useMergedChatHistory-BbuUWFvA.js +0 -1
- package/dist/assets/useOAuthClientRevoke-DclIMS9m.js +0 -1
- package/dist/assets/usePagedN8nChatThreads-CJ-2v2DJ.js +0 -1
- package/dist/assets/usePushConnection-BfTEH-mH.js +0 -1
- package/dist/assets/useRoleEditorForm-7AeGDIq_.js +0 -1
- package/dist/assets/useSecretsProvidersList.ee-CGs166Uo.js +0 -1
- package/dist/assets/useWorkflowEvaluationState-D0z83sSW.js +0 -1
- package/dist/assets/useWorkflowInitialization-BLApMOJZ.js +0 -1
- package/dist/assets/useWorkflowsEmptyState-DrshfZbu.js +0 -1
- package/dist/assets/userRoleProvisioning.store-Btho5V9j.js +0 -1
- package/dist/assets/verified-0F4Qmkdo.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`de4b42b3-4fe5-480d-973a-3f3475d4468f`,e._sentryDebugIdIdentifier=`sentry-dbid-de4b42b3-4fe5-480d-973a-3f3475d4468f`)})()}catch{}import{a as e,n as t,o as n,r,t as i}from"./rolldown-runtime-BobR2NKB.js";var a=r({EMPTY_ARR:()=>D,EMPTY_OBJ:()=>E,NO:()=>k,NOOP:()=>O,PatchFlagNames:()=>Ae,PatchFlags:()=>ke,ShapeFlags:()=>je,SlotFlags:()=>Me,camelize:()=>ge,capitalize:()=>ye,cssVarNameEscapeSymbolsRE:()=>at,def:()=>Ce,escapeHtml:()=>v,escapeHtmlComment:()=>y,extend:()=>M,genCacheKey:()=>c,genPropsAccessExp:()=>s,generateCodeFrame:()=>l,getEscapedCssVarName:()=>b,getGlobalThis:()=>De,hasChanged:()=>xe,hasOwn:()=>F,hyphenate:()=>ve,includeBooleanAttr:()=>h,invokeArrayFns:()=>Se,isArray:()=>I,isBooleanAttr:()=>Xe,isBuiltInDirective:()=>pe,isDate:()=>te,isFunction:()=>R,isGloballyAllowed:()=>Pe,isGloballyWhitelisted:()=>Fe,isHTMLTag:()=>We,isIntegerKey:()=>de,isKnownHtmlAttr:()=>et,isKnownMathMLAttr:()=>nt,isKnownSvgAttr:()=>tt,isMap:()=>ee,isMathMLTag:()=>Ke,isModelListener:()=>j,isObject:()=>ae,isOn:()=>A,isPlainObject:()=>ue,isPromise:()=>oe,isRegExp:()=>ne,isRenderableAttrValue:()=>_,isReservedProp:()=>fe,isSSRSafeAttrName:()=>g,isSVGTag:()=>Ge,isSet:()=>L,isSpecialBooleanAttr:()=>Ye,isString:()=>re,isSymbol:()=>ie,isVoidTag:()=>qe,looseEqual:()=>C,looseIndexOf:()=>w,looseToNumber:()=>we,makeMap:()=>o,normalizeClass:()=>p,normalizeCssVarValue:()=>T,normalizeProps:()=>m,normalizeStyle:()=>u,objectToString:()=>se,parseStringStyle:()=>d,propsToAttrMap:()=>$e,remove:()=>N,slotFlagsText:()=>Ne,stringifyStyle:()=>f,toDisplayString:()=>st,toHandlerKey:()=>be,toNumber:()=>Te,toRawType:()=>le,toTypeString:()=>ce});function o(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}function s(e){return Oe.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function c(e,t){return e+JSON.stringify(t,(e,t)=>typeof t==`function`?t.toString():t)}function l(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return``;let r=e.split(/(\r?\n)/),i=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let a=0,o=[];for(let e=0;e<r.length;e++)if(a+=r[e].length+(i[e]&&i[e].length||0),a>=t){for(let s=e-Ie;s<=e+Ie||n>a;s++){if(s<0||s>=r.length)continue;let c=s+1;o.push(`${c}${` `.repeat(Math.max(3-String(c).length,0))}| ${r[s]}`);let l=r[s].length,u=i[s]&&i[s].length||0;if(s===e){let e=t-(a-(l+u)),r=Math.max(1,n>a?l-e:n-t);o.push(` | `+` `.repeat(e)+`^`.repeat(r))}else if(s>e){if(n>a){let e=Math.max(Math.min(n-a,l),1);o.push(` | `+`^`.repeat(e))}a+=l+u}}break}return o.join(`
|
|
2
2
|
`)}function u(e){if(I(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=re(r)?d(r):u(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(re(e)||ae(e))return e}function d(e){let t={};return e.replace(ze,``).split(Le).forEach(e=>{if(e){let n=e.split(Re);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function f(e){if(!e)return``;if(re(e))return e;let t=``;for(let n in e){let r=e[n];if(re(r)||typeof r==`number`){let e=n.startsWith(`--`)?n:ve(n);t+=`${e}:${r};`}}return t}function p(e){let t=``;if(re(e))t=e;else if(I(e))for(let n=0;n<e.length;n++){let r=p(e[n]);r&&(t+=r+` `)}else if(ae(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function m(e){if(!e)return null;let{class:t,style:n}=e;return t&&!re(t)&&(e.class=p(t)),n&&(e.style=u(n)),e}function h(e){return!!e||e===``}function g(e){if(Qe.hasOwnProperty(e))return Qe[e];let t=Ze.test(e);return t&&console.error(`unsafe attribute name: ${e}`),Qe[e]=!t}function _(e){if(e==null)return!1;let t=typeof e;return t===`string`||t===`number`||t===`boolean`}function v(e){let t=``+e,n=rt.exec(t);if(!n)return t;let r=``,i,a,o=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:i=`"`;break;case 38:i=`&`;break;case 39:i=`'`;break;case 60:i=`<`;break;case 62:i=`>`;break;default:continue}o!==a&&(r+=t.slice(o,a)),o=a+1,r+=i}return o===a?r:r+t.slice(o,a)}function y(e){let t;do t=e,e=e.replace(it,``);while(e!==t);return e}function b(e,t){return e.replace(at,e=>t?e===`"`?`\\\\\\"`:`\\\\${e}`:`\\${e}`)}function x(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=C(e[r],t[r]);return n}function S(e,t){if(e.size!==t.size)return!1;let n=Array.from(t),r=new Uint8Array(n.length);for(let t of e){let e=-1;for(let i=0;i<n.length;i++)if(!r[i]&&C(t,n[i])){e=i;break}if(e<0)return!1;r[e]=1}return!0}function C(e,t){if(e===t)return!0;let n=te(e),r=te(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ie(e),r=ie(t),n||r)return e===t;if(n=I(e),r=I(t),n||r)return n&&r?x(e,t):!1;if(n=ae(e),r=ae(t),n||r){if(!n||!r)return!1;if(n=ee(e),r=ee(t),n||r||(n=L(e),r=L(t),n||r))return n&&r?S(e,t):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!C(e[n],t[n]))return!1}}return String(e)===String(t)}function w(e,t){return e.findIndex(e=>C(e,t))}function T(e){return e==null?`initial`:typeof e==`string`?e===``?` `:e:String(e)}var E,D,O,k,A,j,M,N,P,F,I,ee,L,te,ne,R,re,ie,ae,oe,se,ce,le,ue,de,fe,pe,me,he,ge,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,Fe,Ie,Le,Re,ze,Be,Ve,He,Ue,We,Ge,Ke,qe,Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ot,st,ct,lt,ut=t((()=>{E={},D=[],O=()=>{},k=()=>!1,A=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),j=e=>e.startsWith(`onUpdate:`),M=Object.assign,N=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},P=Object.prototype.hasOwnProperty,F=(e,t)=>P.call(e,t),I=Array.isArray,ee=e=>ce(e)===`[object Map]`,L=e=>ce(e)===`[object Set]`,te=e=>ce(e)===`[object Date]`,ne=e=>ce(e)===`[object RegExp]`,R=e=>typeof e==`function`,re=e=>typeof e==`string`,ie=e=>typeof e==`symbol`,ae=e=>typeof e==`object`&&!!e,oe=e=>(ae(e)||R(e))&&R(e.then)&&R(e.catch),se=Object.prototype.toString,ce=e=>se.call(e),le=e=>ce(e).slice(8,-1),ue=e=>ce(e)===`[object Object]`,de=e=>re(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,fe=o(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),pe=o(`bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo`),me=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},he=/-\w/g,ge=me(e=>e.replace(he,e=>e.slice(1).toUpperCase())),_e=/\B([A-Z])/g,ve=me(e=>e.replace(_e,`-$1`).toLowerCase()),ye=me(e=>e.charAt(0).toUpperCase()+e.slice(1)),be=me(e=>e?`on${ye(e)}`:``),xe=(e,t)=>!Object.is(e,t),Se=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ce=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},we=e=>{let t=parseFloat(e);return isNaN(t)?e:t},Te=e=>{let t=re(e)?Number(e):NaN;return isNaN(t)?e:t},De=()=>Ee||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{},Oe=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/,ke={TEXT:1,1:`TEXT`,CLASS:2,2:`CLASS`,STYLE:4,4:`STYLE`,PROPS:8,8:`PROPS`,FULL_PROPS:16,16:`FULL_PROPS`,NEED_HYDRATION:32,32:`NEED_HYDRATION`,STABLE_FRAGMENT:64,64:`STABLE_FRAGMENT`,KEYED_FRAGMENT:128,128:`KEYED_FRAGMENT`,UNKEYED_FRAGMENT:256,256:`UNKEYED_FRAGMENT`,NEED_PATCH:512,512:`NEED_PATCH`,DYNAMIC_SLOTS:1024,1024:`DYNAMIC_SLOTS`,DEV_ROOT_FRAGMENT:2048,2048:`DEV_ROOT_FRAGMENT`,CACHED:-1,"-1":`CACHED`,BAIL:-2,"-2":`BAIL`},Ae={1:`TEXT`,2:`CLASS`,4:`STYLE`,8:`PROPS`,16:`FULL_PROPS`,32:`NEED_HYDRATION`,64:`STABLE_FRAGMENT`,128:`KEYED_FRAGMENT`,256:`UNKEYED_FRAGMENT`,512:`NEED_PATCH`,1024:`DYNAMIC_SLOTS`,2048:`DEV_ROOT_FRAGMENT`,[-1]:`CACHED`,[-2]:`BAIL`},je={ELEMENT:1,1:`ELEMENT`,FUNCTIONAL_COMPONENT:2,2:`FUNCTIONAL_COMPONENT`,STATEFUL_COMPONENT:4,4:`STATEFUL_COMPONENT`,TEXT_CHILDREN:8,8:`TEXT_CHILDREN`,ARRAY_CHILDREN:16,16:`ARRAY_CHILDREN`,SLOTS_CHILDREN:32,32:`SLOTS_CHILDREN`,TELEPORT:64,64:`TELEPORT`,SUSPENSE:128,128:`SUSPENSE`,COMPONENT_SHOULD_KEEP_ALIVE:256,256:`COMPONENT_SHOULD_KEEP_ALIVE`,COMPONENT_KEPT_ALIVE:512,512:`COMPONENT_KEPT_ALIVE`,COMPONENT:6,6:`COMPONENT`},Me={STABLE:1,1:`STABLE`,DYNAMIC:2,2:`DYNAMIC`,FORWARDED:3,3:`FORWARDED`},Ne={1:`STABLE`,2:`DYNAMIC`,3:`FORWARDED`},Pe=o(`Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol`),Fe=Pe,Ie=2,Le=/;(?![^(]*\))/g,Re=/:([^]+)/,ze=/\/\*[^]*?\*\//g,Be=`html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot`,Ve=`svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view`,He=`annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics`,Ue=`area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr`,We=o(Be),Ge=o(Ve),Ke=o(He),qe=o(Ue),Je=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,Ye=o(Je),Xe=o(Je+`,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`),Ze=/[>/="'\u0009\u000a\u000c\u000d\u0020]/,Qe={},$e={acceptCharset:`accept-charset`,className:`class`,htmlFor:`for`,httpEquiv:`http-equiv`},et=o(`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`),tt=o(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`),nt=o(`accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns`),rt=/["'&<>]/,it=/^(?:-?>)+|<!--|-->|--!>|<!-$/g,at=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g,ot=e=>!!(e&&e.__v_isRef===!0),st=e=>re(e)?e:e==null?``:I(e)||ae(e)&&(e.toString===se||!R(e.toString))?ot(e)?st(e.value):JSON.stringify(e,ct,2):String(e),ct=(e,t)=>ot(t)?ct(e,t.value):ee(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[lt(t,r)+` =>`]=n,e),{})}:L(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>lt(e))}:ie(t)?lt(t):ae(t)&&!I(t)&&!ue(t)?String(t):t,lt=(e,t=``)=>ie(e)?`Symbol(${e.description??t})`:e}));function dt(e){return new fn(e)}function ft(){return dn}function pt(e,t=!1){dn&&dn.cleanups.push(e)}function mt(e,t=!1){if(e.flags|=8,t){e.next=vn,vn=e;return}e.next=_n,_n=e}function ht(){gn++}function gt(){if(--gn>0)return;if(vn){let e=vn;for(vn=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;_n;){let t=_n;for(_n=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function _t(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vt(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),xt(r),eee(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function yt(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(bt(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function bt(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xn)||(e.globalVersion=xn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!yt(e))))return;e.flags|=2;let t=e.dep,n=pn,r=yn;pn=e,yn=!0;try{_t(e);let n=e.fn(e._value);(t.version===0||xe(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{pn=n,yn=r,vt(e),e.flags&=-3}}function xt(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)xt(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function eee(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function tee(e,t){e.effect instanceof hn&&(e=e.effect.fn);let n=new hn(e);t&&M(n,t);try{n.run()}catch(e){throw n.stop(),e}let r=n.run.bind(n);return r.effect=n,r}function nee(e){e.effect.stop()}function St(){bn.push(yn),yn=!1}function Ct(){let e=bn.pop();yn=e===void 0?!0:e}function ree(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=pn;pn=void 0;try{t()}finally{pn=e}}}function wt(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)wt(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}function Tt(e,t,n){if(yn&&pn){let t=Cn.get(e);t||Cn.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Sn),r.map=t,r.key=n),r.track()}}function Et(e,t,n,r,i,a){let o=Cn.get(e);if(!o){xn++;return}let s=e=>{e&&e.trigger()};if(ht(),t===`clear`)o.forEach(s);else{let i=I(e),a=i&&de(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===En||!ie(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(En)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(wn)),ee(e)&&s(o.get(Tn)));break;case`delete`:i||(s(o.get(wn)),ee(e)&&s(o.get(Tn)));break;case`set`:ee(e)&&s(o.get(wn));break}}gt()}function Dt(e,t){let n=Cn.get(e);return n&&n.get(t)}function Ot(e){let t=Jt(e);return t===e?t:(Tt(t,`iterate`,En),Kt(e)?t:t.map(Gn))}function kt(e){return Tt(e=Jt(e),`iterate`,En),e}function At(e,t){return Gt(e)?Wt(e)?Kn(Gn(t)):Kn(t):Gn(t)}function jt(e,t,n){let r=kt(e),i=r[t]();return r!==e&&!Kt(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}function Mt(e,t,n,r,i,a){let o=kt(e),s=o!==e&&!Kt(e),c=o[t];if(c!==On[t]){let t=c.apply(e,a);return s?Gn(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,At(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function Nt(e,t,n,r){let i=kt(e),a=n;return i!==e&&(Kt(e)?n.length>3&&(a=function(t,r,i){return n.call(this,t,r,i,e)}):a=function(t,r,i){return n.call(this,t,At(e,r),i,e)}),i[t](a,...r)}function Pt(e,t,n){let r=Jt(e);Tt(r,`iterate`,En);let i=r[t](...n);return(i===-1||i===!1)&&qt(n[0])?(n[0]=Jt(n[0]),r[t](...n)):i}function Ft(e,t,n=[]){St(),ht();let r=Jt(e)[t].apply(e,n);return gt(),Ct(),r}function iee(e){ie(e)||(e=String(e));let t=Jt(this);return Tt(t,`has`,e),t.hasOwnProperty(e)}function aee(e,t,n){return function(...r){let i=this.__v_raw,a=Jt(i),o=ee(a),s=e===`entries`||e===Symbol.iterator&&o,c=e===`keys`&&o,l=i[e](...r),u=n?Ln:t?Kn:Gn;return!t&&Tt(a,`iterate`,c?Tn:wn),{next(){let{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function It(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function oee(e,t){let n={get(n){let r=this.__v_raw,i=Jt(r),a=Jt(n);e||(xe(n,a)&&Tt(i,`get`,n),Tt(i,`get`,a));let{has:o}=Rn(i),s=t?Ln:e?Kn:Gn;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&Tt(Jt(t),`iterate`,wn),t.size},has(t){let n=this.__v_raw,r=Jt(n),i=Jt(t);return e||(xe(t,i)&&Tt(r,`has`,t),Tt(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=Jt(a),s=t?Ln:e?Kn:Gn;return!e&&Tt(o,`iterate`,wn),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return M(n,e?{add:It(`add`),set:It(`set`),delete:It(`delete`),clear:It(`clear`)}:{add(e){!t&&!Kt(e)&&!Gt(e)&&(e=Jt(e));let n=Jt(this);return Rn(n).has.call(n,e)||(n.add(e),Et(n,`add`,e,e)),this},set(e,n){!t&&!Kt(n)&&!Gt(n)&&(n=Jt(n));let r=Jt(this),{has:i,get:a}=Rn(r),o=i.call(r,e);o||=(e=Jt(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?xe(n,s)&&Et(r,`set`,e,n,s):Et(r,`add`,e,n),this},delete(e){let t=Jt(this),{has:n,get:r}=Rn(t),i=n.call(t,e);i||=(e=Jt(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&Et(t,`delete`,e,void 0,a),o},clear(){let e=Jt(this),t=e.size!==0,n=e.clear();return t&&Et(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=aee(r,e,t)}),n}function Lt(e,t){let n=oee(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(F(n,r)&&r in t?n:t,r,i)}function Rt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function see(e){return e.__v_skip||!Object.isExtensible(e)?0:Rt(le(e))}function zt(e){return Gt(e)?e:Ut(e,!1,Nn,dee,Vn)}function Bt(e){return Ut(e,!1,Fn,fee,Hn)}function Vt(e){return Ut(e,!0,Pn,zn,Un)}function Ht(e){return Ut(e,!0,In,Bn,Wn)}function Ut(e,t,n,r,i){if(!ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let a=see(e);if(a===0)return e;let o=i.get(e);if(o)return o;let s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function Wt(e){return Gt(e)?Wt(e.__v_raw):!!(e&&e.__v_isReactive)}function Gt(e){return!!(e&&e.__v_isReadonly)}function Kt(e){return!!(e&&e.__v_isShallow)}function qt(e){return e?!!e.__v_raw:!1}function Jt(e){let t=e&&e.__v_raw;return t?Jt(t):e}function Yt(e){return!F(e,`__v_skip`)&&Object.isExtensible(e)&&Ce(e,`__v_skip`,!0),e}function Xt(e){return e?e.__v_isRef===!0:!1}function z(e){return cee(e,!1)}function Zt(e){return cee(e,!0)}function cee(e,t){return Xt(e)?e:new qn(e,t)}function Qt(e){e.dep&&e.dep.trigger()}function B(e){return Xt(e)?e.value:e}function $t(e){return R(e)?e():B(e)}function en(e){return Wt(e)?e:new Proxy(e,Jn)}function tn(e){return new pee(e)}function nn(e){let t=I(e)?Array(e.length):{};for(let n in e)t[n]=an(e,n);return t}function rn(e,t,n){return Xt(e)?e:R(e)?new hee(e):ae(e)&&arguments.length>1?an(e,t,n):z(e)}function an(e,t,n){return new mee(e,t,n)}function on(e,t,n=!1){let r,i;return R(e)?r=e:(r=e.get,i=e.set),new Yn(r,i,n)}function sn(){return er}function cn(e,t=!1,n=er){if(n){let t=$n.get(n);t||$n.set(n,t=[]),t.push(e)}}function ln(e,t,n=E){let{immediate:r,deep:i,once:a,scheduler:o,augmentJob:s,call:c}=n,l=e=>i?e:Kt(e)||i===!1||i===0?un(e,1):un(e),u,d,f,p,m=!1,h=!1;if(Xt(e)?(d=()=>e.value,m=Kt(e)):Wt(e)?(d=()=>l(e),m=!0):I(e)?(h=!0,m=e.some(e=>Wt(e)||Kt(e)),d=()=>e.map(e=>{if(Xt(e))return e.value;if(Wt(e))return l(e);if(R(e))return c?c(e,2):e()})):d=R(e)?t?c?()=>c(e,2):e:()=>{if(f){St();try{f()}finally{Ct()}}let t=er;er=u;try{return c?c(e,3,[p]):e(p)}finally{er=t}}:O,t&&i){let e=d,t=i===!0?1/0:i;d=()=>un(e(),t)}let g=ft(),_=()=>{u.stop(),g&&g.active&&N(g.effects,u)};if(a&&t){let e=t;t=(...t)=>{e(...t),_()}}let v=h?Array(e.length).fill(Qn):Qn,y=e=>{if(!(!(u.flags&1)||!u.dirty&&!e))if(t){let e=u.run();if(i||m||(h?e.some((e,t)=>xe(e,v[t])):xe(e,v))){f&&f();let n=er;er=u;try{let n=[e,v===Qn?void 0:h&&v[0]===Qn?[]:v,p];v=e,c?c(t,3,n):t(...n)}finally{er=n}}}else u.run()};return s&&s(y),u=new hn(d),u.scheduler=o?()=>o(y,!1):y,p=e=>cn(e,!1,u),f=u.onStop=()=>{let e=$n.get(u);if(e){if(c)c(e,4);else for(let t of e)t();$n.delete(u)}},t?r?y(!0):v=u.run():o?o(y.bind(null,!0),!0):u.run(),_.pause=u.pause.bind(u),_.resume=u.resume.bind(u),_.stop=_,_}function un(e,t=1/0,n){if(t<=0||!ae(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Xt(e))un(e.value,t,n);else if(I(e))for(let r=0;r<e.length;r++)un(e[r],t,n);else if(L(e)||ee(e))e.forEach(e=>{un(e,t,n)});else if(ue(e)){for(let r in e)un(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&un(e[r],t,n)}return e}var dn,fn,pn,mn,hn,gn,_n,vn,yn,bn,xn,lee,Sn,Cn,wn,Tn,En,Dn,On,uee,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,Rn,dee,fee,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn,qn,Jn,pee,mee,hee,Yn,Xn,Zn,Qn,$n,er,tr=t((()=>{ut(),fn=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=dn,!e&&dn&&(this.index=(dn.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=dn;try{return dn=this,e()}finally{dn=t}}}on(){++this._on===1&&(this.prevScope=dn,dn=this)}off(){this._on>0&&--this._on===0&&(dn=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}},mn=new WeakSet,hn=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,dn&&dn.active&&dn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,mn.has(this)&&(mn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||mt(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ree(this),_t(this);let e=pn,t=yn;pn=this,yn=!0;try{return this.fn()}finally{vt(this),pn=e,yn=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)xt(e);this.deps=this.depsTail=void 0,ree(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?mn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){yt(this)&&this.run()}get dirty(){return yt(this)}},gn=0,yn=!0,bn=[],xn=0,lee=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Sn=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!pn||!yn||pn===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==pn)t=this.activeLink=new lee(pn,this),pn.deps?(t.prevDep=pn.depsTail,pn.depsTail.nextDep=t,pn.depsTail=t):pn.deps=pn.depsTail=t,wt(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=pn.depsTail,t.nextDep=void 0,pn.depsTail.nextDep=t,pn.depsTail=t,pn.deps===t&&(pn.deps=e)}return t}trigger(e){this.version++,xn++,this.notify(e)}notify(e){ht();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{gt()}}},Cn=new WeakMap,wn=Symbol(``),Tn=Symbol(``),En=Symbol(``),Dn={__proto__:null,[Symbol.iterator](){return jt(this,Symbol.iterator,e=>At(this,e))},concat(...e){return Ot(this).concat(...e.map(e=>I(e)?Ot(e):e))},entries(){return jt(this,`entries`,e=>(e[1]=At(this,e[1]),e))},every(e,t){return Mt(this,`every`,e,t,void 0,arguments)},filter(e,t){return Mt(this,`filter`,e,t,e=>e.map(e=>At(this,e)),arguments)},find(e,t){return Mt(this,`find`,e,t,e=>At(this,e),arguments)},findIndex(e,t){return Mt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return Mt(this,`findLast`,e,t,e=>At(this,e),arguments)},findLastIndex(e,t){return Mt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return Mt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return Pt(this,`includes`,e)},indexOf(...e){return Pt(this,`indexOf`,e)},join(e){return Ot(this).join(e)},lastIndexOf(...e){return Pt(this,`lastIndexOf`,e)},map(e,t){return Mt(this,`map`,e,t,void 0,arguments)},pop(){return Ft(this,`pop`)},push(...e){return Ft(this,`push`,e)},reduce(e,...t){return Nt(this,`reduce`,e,t)},reduceRight(e,...t){return Nt(this,`reduceRight`,e,t)},shift(){return Ft(this,`shift`)},some(e,t){return Mt(this,`some`,e,t,void 0,arguments)},splice(...e){return Ft(this,`splice`,e)},toReversed(){return Ot(this).toReversed()},toSorted(e){return Ot(this).toSorted(e)},toSpliced(...e){return Ot(this).toSpliced(...e)},unshift(...e){return Ft(this,`unshift`,e)},values(){return jt(this,`values`,e=>At(this,e))}},On=Array.prototype,uee=o(`__proto__,__v_isRef,__isVue`),kn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(ie)),An=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Wn:Un:i?Hn:Vn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=I(e);if(!r){let e;if(a&&(e=Dn[t]))return e;if(t===`hasOwnProperty`)return iee}let o=Reflect.get(e,t,Xt(e)?e:n);if((ie(t)?kn.has(t):uee(t))||(r||Tt(e,`get`,t),i))return o;if(Xt(o)){let e=a&&de(t)?o:o.value;return r&&ae(e)?Vt(e):e}return ae(o)?r?Vt(o):zt(o):o}},jn=class extends An{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=I(e)&&de(t);if(!this._isShallow){let e=Gt(i);if(!Kt(n)&&!Gt(n)&&(i=Jt(i),n=Jt(n)),!a&&Xt(i)&&!Xt(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:F(e,t),s=Reflect.set(e,t,n,Xt(e)?e:r);return e===Jt(r)&&(o?xe(n,i)&&Et(e,`set`,t,n,i):Et(e,`add`,t,n)),s}deleteProperty(e,t){let n=F(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&Et(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!ie(t)||!kn.has(t))&&Tt(e,`has`,t),n}ownKeys(e){return Tt(e,`iterate`,I(e)?`length`:wn),Reflect.ownKeys(e)}},Mn=class extends An{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Nn=new jn,Pn=new Mn,Fn=new jn(!0),In=new Mn(!0),Ln=e=>e,Rn=e=>Reflect.getPrototypeOf(e),dee={get:Lt(!1,!1)},fee={get:Lt(!1,!0)},zn={get:Lt(!0,!1)},Bn={get:Lt(!0,!0)},Vn=new WeakMap,Hn=new WeakMap,Un=new WeakMap,Wn=new WeakMap,Gn=e=>ae(e)?zt(e):e,Kn=e=>ae(e)?Vt(e):e,qn=class{constructor(e,t){this.dep=new Sn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Jt(e),this._value=t?e:Gn(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||Kt(e)||Gt(e);e=n?e:Jt(e),xe(e,t)&&(this._rawValue=e,this._value=n?e:Gn(e),this.dep.trigger())}},Jn={get:(e,t,n)=>t===`__v_raw`?e:B(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return Xt(i)&&!Xt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}},pee=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Sn,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}},mee=class{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._raw=Jt(e);let r=!0,i=e;if(!I(e)||!de(String(t)))do r=!qt(i)||Kt(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=B(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&Xt(this._raw[this._key])){let t=this._object[this._key];if(Xt(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return Dt(this._raw,this._key)}},hee=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}},Yn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Sn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&pn!==this)return mt(this,!0),!0}get value(){let e=this.dep.track();return bt(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}},Xn={GET:`get`,HAS:`has`,ITERATE:`iterate`},Zn={SET:`set`,ADD:`add`,DELETE:`delete`,CLEAR:`clear`},Qn={},$n=new WeakMap,er=void 0}));function gee(e){ste.push(e)}function _ee(){ste.pop()}function nr(e,t){}function rr(e,t,n,r){try{return r?e(...r):e()}catch(e){ar(e,t,n)}}function ir(e,t,n,r){if(R(e)){let i=rr(e,t,n,r);return i&&oe(i)&&i.catch(e=>{ar(e,t,n)}),i}if(I(e)){let i=[];for(let a=0;a<e.length;a++)i.push(ir(e[a],t,n,r));return i}}function ar(e,t,n,r=!0){let i=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||E;if(t){let r=t.parent,i=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){let t=r.ec;if(t){for(let n=0;n<t.length;n++)if(t[n](e,i,o)===!1)return}r=r.parent}if(a){St(),rr(a,null,10,[e,i,o]),Ct();return}}vee(e,n,i,r,o)}function vee(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}function or(e){let t=Sa||ute;return e?t.then(this?e.bind(this):e):t}function yee(e){let t=va+1,n=_a.length;for(;t<n;){let r=t+n>>>1,i=_a[r],a=Ca(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function sr(e){if(!(e.flags&1)){let t=Ca(e),n=_a[_a.length-1];!n||!(e.flags&2)&&t>=Ca(n)?_a.push(e):_a.splice(yee(t),0,e),e.flags|=1,cr()}}function cr(){Sa||=ute.then(bee)}function lr(e){I(e)?ya.push(...e):ba&&e.id===-1?ba.splice(xa+1,0,e):e.flags&1||(ya.push(e),e.flags|=1),cr()}function ur(e,t,n=va+1){for(;n<_a.length;n++){let t=_a[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;_a.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function dr(e){if(ya.length){let e=[...new Set(ya)].sort((e,t)=>Ca(e)-Ca(t));if(ya.length=0,ba){ba.push(...e);return}for(ba=e,xa=0;xa<ba.length;xa++){let e=ba[xa];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}ba=null,xa=0}}function bee(e){try{for(va=0;va<_a.length;va++){let e=_a[va];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),rr(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;va<_a.length;va++){let e=_a[va];e&&(e.flags&=-2)}va=-1,_a.length=0,dr(e),Sa=null,(_a.length||ya.length)&&bee(e)}}function fr(e,t){wa=e,wa?(wa.enabled=!0,Ta.forEach(({event:e,args:t})=>wa.emit(e,...t)),Ta=[]):typeof window<`u`&&window.HTMLElement&&!(window.navigator?.userAgent)?.includes(`jsdom`)?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(e=>{fr(e,t)}),setTimeout(()=>{wa||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ta=[])},3e3)):Ta=[]}function pr(e){let t=Ea;return Ea=e,Da=e&&e.type.__scopeId||null,t}function mr(e){Da=e}function hr(){Da=null}function V(e,t=Ea,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&ia(-1);let i=pr(t),a;try{a=e(...n)}finally{pr(i),r._d&&ia(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function gr(e,t){if(Ea===null)return e;let n=ma(Ea),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[i,a,o,s=E]=t[e];i&&(R(i)&&(i={mounted:i,updated:i}),i.deep&&un(a),r.push({dir:i,instance:n,value:a,oldValue:void 0,arg:o,modifiers:s}))}return e}function _r(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(St(),ir(c,n,8,[e.el,s,e,t]),Ct())}}function vr(e,t){if(Eo){let n=Eo.provides,r=Eo.parent&&Eo.parent.provides;r===n&&(n=Eo.provides=Object.create(r)),n[e]=t}}function yr(e,t,n=!1){let r=Do();if(r||so){let i=so?so._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&R(t)?t.call(r&&r.proxy):t}}function br(){return!!(Do()||so)}function xr(e,t){return wr(e,null,t)}function Sr(e,t){return wr(e,null,{flush:`post`})}function Cr(e,t){return wr(e,null,{flush:`sync`})}function H(e,t,n){return wr(e,t,n)}function wr(e,t,n=E){let{immediate:r,deep:i,flush:a,once:o}=n,s=M({},n),c=t&&r||!t&&a!==`post`,l;if(Mo){if(a===`sync`){let e=Aa();l=e.__watcherHandles||=[]}else if(!c){let e=()=>{};return e.stop=O,e.resume=O,e.pause=O,e}}let u=Eo;s.call=(e,t,n)=>ir(e,u,t,n);let d=!1;a===`post`?s.scheduler=e=>{po(e,u&&u.suspense)}:a!==`sync`&&(d=!0,s.scheduler=(e,t)=>{t?e():sr(e)}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};let f=ln(e,t,s);return Mo&&(l?l.push(f):c&&f()),f}function xee(e,t,n){let r=this.proxy,i=re(e)?e.includes(`.`)?Tr(r,e):()=>r[e]:e.bind(r,r),a;R(t)?a=t:(a=t.handler,n=t);let o=Ao(this),s=wr(i,a.bind(r),n);return o(),s}function Tr(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Er(e,t,n,{o:{insert:r},m:i},a=2){a===0&&r(e.targetAnchor,t,n);let{el:o,anchor:s,shapeFlag:c,children:l,props:u}=e,d=a===2;if(d&&r(o,t,n),(!d||ja(u))&&c&16)for(let e=0;e<l.length;e++)i(l[e],t,n,2);d&&r(s,t,n)}function Dr(e,t,n,r,i,a,{o:{nextSibling:o,parentNode:s,querySelector:c,insert:l,createText:u}},d){function f(e,t,c,l){t.anchor=d(o(e),t,s(e),n,r,i,a),t.targetStart=c,t.targetAnchor=l}let p=t.target=Ma(t.props,c),m=ja(t.props);if(p){let s=p._lpa||p.firstChild;if(t.shapeFlag&16)if(m)f(e,t,s,s&&o(s));else{t.anchor=o(e);let c=s;for(;c;){if(c&&c.nodeType===8){if(c.data===`teleport start anchor`)t.targetStart=c;else if(c.data===`teleport anchor`){t.targetAnchor=c,p._lpa=t.targetAnchor&&o(t.targetAnchor);break}}c=o(c)}t.targetAnchor||See(p,t,u,l),d(s&&o(s),t,p,n,r,i,a)}Or(t,m)}else m&&t.shapeFlag&16&&f(e,t,e,o(e));return t.anchor&&o(t.anchor)}function Or(e,t){let n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute(`data-v-owner`,n.uid),r=r.nextSibling;n.ut()}}function See(e,t,n,r){let i=t.targetStart=n(``),a=t.targetAnchor=n(``);return i[dte]=a,e&&(r(i,e),r(a,e)),a}function kr(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return qa(()=>{e.isMounted=!0}),Xa(()=>{e.isUnmounting=!0}),e}function Ar(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==yo){t=n;break}}return t}function Cee(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function jr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:m,onLeaveCancelled:h,onBeforeAppear:g,onAppear:_,onAfterAppear:v,onAppearCancelled:y}=t,b=String(e.key),x=Cee(n,e),S=(e,t)=>{e&&ir(e,r,9,t)},C=(e,t)=>{let n=t[1];S(e,t),I(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},w={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=g||c;else return;t[Pa]&&t[Pa](!0);let i=x[b];i&&oa(e,i)&&i.el[Pa]&&i.el[Pa](),S(r,[t])},enter(e){let t=l,r=u,i=d;if(!n.isMounted)if(a)t=_||l,r=v||u,i=y||d;else return;let o=!1,s=e[Fa]=t=>{o||(o=!0,S(t?i:r,[e]),w.delayedLeave&&w.delayedLeave(),e[Fa]=void 0)};t?C(t,[e,s]):s()},leave(t,r){let i=String(e.key);if(t[Fa]&&t[Fa](!0),n.isUnmounting)return r();S(f,[t]);let a=!1,o=t[Pa]=n=>{a||(a=!0,r(),S(n?h:m,[t]),t[Pa]=void 0,x[i]===e&&delete x[i])};x[i]=e,p?C(p,[t,o]):o()},clone(e){let a=jr(e,t,n,r,i);return i&&i(a),a}};return w}function Mr(e){if(Wa(e))return e=ca(e),e.children=null,e}function Nr(e){if(!Wa(e))return fte(e.type)&&e.children?Ar(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&R(n.default))return n.default()}}function Pr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Pr(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fr(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===_o?(o.patchFlag&128&&i++,r=r.concat(Fr(o.children,t,s))):(t||o.type!==yo)&&r.push(s==null?o:ca(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function U(e,t){return R(e)?M({name:e.name},t,{setup:e}):e}function Ir(){let e=Do();return e?(e.appContext.config.idPrefix||`v`)+`-`+e.ids[0]+ e.ids[1]++:``}function Lr(e){e.ids=[e.ids[0]+ e.ids[2]+++`-`,0,0]}function Rr(e){let t=Do(),n=Zt(null);if(t){let r=t.refs===E?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:e=>n.value=e})}return n}function zr(e,t,n,r,i=!1){if(I(e)){e.forEach((e,a)=>zr(e,t&&(I(t)?t[a]:t),n,r,i));return}if(Ua(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&zr(e,t,n,r.component.subTree);return}let a=r.shapeFlag&4?ma(r.component):r.el,o=i?null:a,{i:s,r:c}=e,l=t&&t.r,u=s.refs===E?s.refs={}:s.refs,d=s.setupState,f=Jt(d),p=d===E?k:e=>F(f,e),m=e=>!0;if(l!=null&&l!==c){if(Br(t),re(l))u[l]=null,p(l)&&(d[l]=null);else if(Xt(l)){m(l)&&(l.value=null);let e=t;e.k&&(u[e.k]=null)}}if(R(c))rr(c,s,12,[o,u]);else{let t=re(c),r=Xt(c);if(t||r){let s=()=>{if(e.f){let n=t?p(c)?d[c]:u[c]:m(c)||!e.k?c.value:u[e.k];if(i)I(n)&&N(n,a);else if(I(n))n.includes(a)||n.push(a);else if(t)u[c]=[a],p(c)&&(d[c]=u[c]);else{let t=[a];m(c)&&(c.value=t),e.k&&(u[e.k]=t)}}else t?(u[c]=o,p(c)&&(d[c]=o)):r&&(m(c)&&(c.value=o),e.k&&(u[e.k]=o))};if(o){let t=()=>{s(),za.delete(e)};t.id=-1,za.set(e,t),po(t,n)}else Br(e),s()}}}function Br(e){let t=za.get(e);t&&(t.flags|=8,za.delete(e))}function Vr(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:a,parentNode:o,remove:s,insert:c,createComment:l}}=e,u=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),dr(),t._vnode=e;return}d(t.firstChild,e,null,null,null),dr(),t._vnode=e},d=(n,r,s,l,u,y=!1)=>{y||=!!r.dynamicChildren;let b=Ha(n)&&n.data===`[`,x=()=>h(n,r,s,l,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:T}=r,E=n.nodeType;r.el=n,T===-2&&(y=!1,r.dynamicChildren=null);let D=null;switch(S){case vo:E===3?(n.data!==r.children&&(Ba(),n.data=r.children),D=a(n)):r.children===``?(c(r.el=i(``),o(n),n),D=n):D=x();break;case yo:v(n)?(D=a(n),_(r.el=n.content.firstChild,n,s)):D=E!==8||b?x():a(n);break;case bo:if(b&&(n=a(n),E=n.nodeType),E===1||E===3){D=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=D.nodeType===1?D.outerHTML:D.data),t===r.staticCount-1&&(r.anchor=D),D=a(D);return b?a(D):D}else x();break;case _o:D=b?m(n,r,s,l,u,y):x();break;default:if(w&1)D=(E!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!v(n)?x():f(n,r,s,l,u,y);else if(w&6){r.slotScopeIds=u;let e=o(n);if(D=b?g(n):Ha(n)&&n.data===`teleport start`?g(n,n.data,`teleport end`):a(n),t(r,e,null,s,l,Va(e),y),Ua(r)&&!r.type.__asyncResolved){let t;b?(t=X(_o),t.anchor=D?D.previousSibling:e.lastChild):t=n.nodeType===3?la(``):X(`div`),t.el=n,r.component.subTree=t}}else w&64?D=E===8?r.type.hydrate(n,r,s,l,u,y,e,p):x():w&128&&(D=r.type.hydrate(n,r,s,l,Va(o(n)),u,y,e,d))}return C!=null&&zr(C,null,l,r),D},f=(e,t,n,i,a,o)=>{o||=!!t.dynamicChildren;let{type:c,props:l,patchFlag:u,shapeFlag:d,dirs:f,transition:m}=t,h=c===`input`||c===`option`;if(h||u!==-1){f&&_r(t,null,n,`created`);let c=!1;if(v(e)){c=Ki(null,m)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(c){let e=r.getAttribute(`class`);e&&(r.$cls=e),m.beforeEnter(r)}_(r,e,n),t.el=e=r}if(d&16&&!(l&&(l.innerHTML||l.textContent))){let r=p(e.firstChild,t,e,n,i,a,o);for(;r;){Hr(e,1)||Ba();let t=r;r=r.nextSibling,s(t)}}else if(d&8){let n=t.children;n[0]===`
|
|
3
3
|
`&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
|
|
4
4
|
`)&&(Hr(e,0)||Ba(),e.textContent=t.children)}if(l){if(h||!o||u&48){let t=e.tagName.includes(`-`);for(let i in l)(h&&(i.endsWith(`value`)||i===`indeterminate`)||A(i)&&!fe(i)||i[0]===`.`||t)&&r(e,i,null,l[i],void 0,n)}else if(l.onClick)r(e,`onClick`,null,l.onClick,void 0,n);else if(u&4&&Wt(l.style))for(let e in l.style)l.style[e]}let g;(g=l&&l.onVnodeBeforeMount)&&pa(g,n,t),f&&_r(t,null,n,`beforeMount`),((g=l&&l.onVnodeMounted)||f||c)&&Vee(()=>{g&&pa(g,n,t),c&&m.enter(e),f&&_r(t,null,n,`mounted`)},i)}return e.nextSibling},p=(e,t,r,o,s,l,u)=>{u||=!!t.dynamicChildren;let f=t.children,p=f.length;for(let t=0;t<p;t++){let m=u?f[t]:f[t]=ua(f[t]),h=m.type===vo;e?(h&&!u&&t+1<p&&ua(f[t+1]).type===vo&&(c(i(e.data.slice(m.children.length)),r,a(e)),e.data=m.children),e=d(e,m,o,s,l,u)):h&&!m.children?c(m.el=i(``),r):(Hr(r,1)||Ba(),n(null,m,r,null,o,s,Va(r),l))}return e},m=(e,t,n,r,i,s)=>{let{slotScopeIds:u}=t;u&&(i=i?i.concat(u):u);let d=o(e),f=p(a(e),t,d,n,r,i,s);return f&&Ha(f)&&f.data===`]`?a(t.anchor=f):(Ba(),c(t.anchor=l(`]`),d,f),f)},h=(e,t,r,i,c,l)=>{if(Hr(e.parentElement,1)||Ba(),t.el=null,l){let t=g(e);for(;;){let n=a(e);if(n&&n!==t)s(n);else break}}let u=a(e),d=o(e);return s(e),n(null,t,d,u,r,i,Va(d),c),r&&(r.vnode.el=t.el,Pi(r,t.el)),u},g=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=a(e),e&&Ha(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return a(e);r--}return e},_=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},v=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[u,d]}function Hr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ste);)e=e.parentElement;let n=e&&e.getAttribute(Ste);if(n==null)return!1;if(n===``)return!0;{let e=n.split(`,`);return t===0&&e.includes(`children`)?!0:e.includes(Cte[t])}}function wee(e){let{top:t,left:n,bottom:r,right:i}=e.getBoundingClientRect(),{innerHeight:a,innerWidth:o}=window;return(t>0&&t<a||r>0&&r<a)&&(n>0&&n<o||i>0&&i<o)}function Ur(e,t){if(Ha(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Ha(r))if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++;r=r.nextSibling}}else t(e)}function Wr(e){R(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return U({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=!1;(t.bu||=[]).push(()=>r=!0);let i=()=>{r||n()},o=a?()=>{let n=a(i,t=>Ur(e,t));n&&(t.bum||=[]).push(n)}:i;u?o():p().then(()=>!t.isUnmounted&&o())},get __asyncResolved(){return u},setup(){let e=Eo;if(Lr(e),u)return()=>Gr(u,e);let t=t=>{l=null,ar(t,e,13,!r)};if(s&&e.suspense||Mo)return p().then(t=>()=>Gr(t,e)).catch(e=>(t(e),()=>r?X(r,{error:e}):null));let a=z(!1),c=z(),d=z(!!i);return i&&setTimeout(()=>{d.value=!1},i),o!=null&&setTimeout(()=>{if(!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o),p().then(()=>{a.value=!0,e.parent&&Wa(e.parent.vnode)&&e.parent.update()}).catch(e=>{t(e),c.value=e}),()=>{if(a.value&&u)return Gr(u,e);if(c.value&&r)return X(r,{error:c.value});if(n&&!d.value)return Gr(n,e)}}})}function Gr(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=X(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}function Kr(e,t){return I(e)?e.some(e=>Kr(e,t)):re(e)?e.split(`,`).includes(t):ne(e)?(e.lastIndex=0,e.test(t)):!1}function qr(e,t){Yr(e,`a`,t)}function Jr(e,t){Yr(e,`da`,t)}function Yr(e,t,n=Eo){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if($r(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Wa(e.parent.vnode)&&Xr(r,t,n,e),e=e.parent}}function Xr(e,t,n,r){let i=$r(t,e,r,!0);Za(()=>{N(r[t],i)},n)}function Zr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Qr(e){return e.shapeFlag&128?e.ssContent:e}function $r(e,t,n=Eo,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{St();let i=Ao(n),a=ir(t,n,e,r);return i(),Ct(),a};return r?i.unshift(a):i.push(a),a}}function ei(e,t=Eo){$r(`ec`,e,t)}function ti(e,t){return ii(to,e,!0,t)||e}function ni(e){return re(e)?ii(to,e,!1)||e:e||Mte}function ri(e){return ii(jte,e)}function ii(e,t,n=!0,r=!1){let i=Ea||Eo;if(i){let n=i.type;if(e===to){let e=rte(n,!1);if(e&&(e===t||e===ge(t)||e===ye(ge(t))))return n}let a=Tee(i[e]||n[e],t)||Tee(i.appContext[e],t);return!a&&r?n:a}}function Tee(e,t){return e&&(e[t]||e[ge(t)]||e[ye(ge(t))])}function ai(e,t,n,r){let i,a=n&&n[r],o=I(e);if(o||re(e)){let n=o&&Wt(e),r=!1,s=!1;n&&(r=!Kt(e),s=Gt(e),e=kt(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Kn(Gn(e[n])):Gn(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(ae(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}function oi(e,t){for(let n=0;n<t.length;n++){let r=t[n];if(I(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function W(e,t,n={},r,i){if(Ea.ce||Ea.parent&&Ua(Ea.parent)&&Ea.parent.ce){let e=Object.keys(n).length>0;return t!==`default`&&(n.name=t),G(),q(_o,null,[X(`slot`,n,r&&r())],e?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),G();let o=a&&si(a(n)),s=n.key||o&&o.key,c=q(_o,{key:(s&&!ie(s)?s:`_${t}`)+(!o&&r?`_fb`:``)},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),a&&a._c&&(a._d=!0),c}function si(e){return e.some(e=>aa(e)?!(e.type===yo||e.type===_o&&!si(e.children)):!0)?e:null}function ci(e,t){let n={};for(let r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:be(r)]=e[r];return n}function li(){return null}function ui(){return null}function di(e){}function fi(e){}function Eee(){return null}function pi(){}function Dee(e,t){return null}function mi(){return Oee(`useSlots`).slots}function hi(){return Oee(`useAttrs`).attrs}function Oee(e){let t=Do();return t.setupContext||=nte(t)}function gi(e){return I(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function _i(e,t){let n=gi(e);for(let e in t){if(e.startsWith(`__skip`))continue;let r=n[e];r?I(r)||R(r)?r=n[e]={type:r,default:t[e]}:r.default=t[e]:r===null&&(r=n[e]={default:t[e]}),r&&t[`__skip_${e}`]&&(r.skipFactory=!0)}return n}function vi(e,t){return!e||!t?e||t:I(e)&&I(t)?e.concat(t):M({},gi(e),gi(t))}function yi(e,t){let n={};for(let r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function kee(e){let t=Do(),n=e();return jo(),oe(n)&&(n=n.catch(e=>{throw Ao(t),e})),[n,()=>Ao(t)]}function Aee(e){let t=xi(e),n=e.proxy,r=e.ctx;oo=!1,t.beforeCreate&&bi(t.beforeCreate,e,`bc`);let{data:i,computed:a,methods:o,watch:s,provide:c,inject:l,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:m,activated:h,deactivated:g,beforeDestroy:_,beforeUnmount:v,destroyed:y,unmounted:b,render:x,renderTracked:S,renderTriggered:C,errorCaptured:w,serverPrefetch:T,expose:E,inheritAttrs:D,components:k,directives:A,filters:j}=t;if(l&&jee(l,r,null),o)for(let e in o){let t=o[e];R(t)&&(r[e]=t.bind(n))}if(i){let t=i.call(n,n);ae(t)&&(e.data=zt(t))}if(oo=!0,a)for(let e in a){let t=a[e],i=Z({get:R(t)?t.bind(n,n):R(t.get)?t.get.bind(n,n):O,set:!R(t)&&R(t.set)?t.set.bind(n):O});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(s)for(let e in s)Mee(s[e],r,n,e);if(c){let e=R(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{vr(t,e[t])})}u&&bi(u,e,`c`);function M(e,t){I(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(M(Ka,d),M(qa,f),M(Ja,p),M(Ya,m),M(qr,h),M(Jr,g),M(ei,w),M(eo,S),M($a,C),M(Xa,v),M(Za,b),M(Qa,T),I(E))if(E.length){let t=e.exposed||={};E.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};x&&e.render===O&&(e.render=x),D!=null&&(e.inheritAttrs=D),k&&(e.components=k),A&&(e.directives=A),T&&Lr(e)}function jee(e,t,n=O){I(e)&&(e=wi(e));for(let n in e){let r=e[n],i;i=ae(r)?`default`in r?yr(r.from||n,r.default,!0):yr(r.from||n):yr(r),Xt(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function bi(e,t,n){ir(I(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mee(e,t,n,r){let i=r.includes(`.`)?Tr(n,r):()=>n[r];if(re(e)){let n=t[e];R(n)&&H(i,n)}else if(R(e))H(i,e.bind(n));else if(ae(e))if(I(e))e.forEach(e=>Mee(e,t,n,r));else{let r=R(e.handler)?e.handler.bind(n):t[e.handler];R(r)&&H(i,r,e)}}function xi(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Si(c,e,o,!0)),Si(c,t,o)),ae(t)&&a.set(t,c),c}function Si(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Si(e,a,n,!0),i&&i.forEach(t=>Si(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Pte[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}function Ci(e,t){return t?e?function(){return M(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function Nee(e,t){return Ei(wi(e),wi(t))}function wi(e){if(I(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ti(e,t){return e?[...new Set([].concat(e,t))]:t}function Ei(e,t){return e?M(Object.create(null),e,t):t}function Di(e,t){return e?I(e)&&I(t)?[...new Set([...e,...t])]:M(Object.create(null),gi(e),gi(t??{})):t}function Pee(e,t){if(!e)return t;if(!t)return e;let n=M(Object.create(null),e);for(let r in t)n[r]=Ti(e[r],t[r]);return n}function Fee(){return{app:null,config:{isNativeTag:k,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}function Iee(e,t){return function(n,r=null){R(n)||(n=M({},n)),r!=null&&!ae(r)&&(r=null);let i=Fee(),a=new WeakSet,o=[],s=!1,c=i.app={_uid:Fte++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Io,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&R(e.install)?(a.add(e),e.install(c,...t)):R(e)&&(a.add(e),e(c,...t))),c},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),c},component(e,t){return t?(i.components[e]=t,c):i.components[e]},directive(e,t){return t?(i.directives[e]=t,c):i.directives[e]},mount(a,o,l){if(!s){let u=c._ceVNode||X(n,r);return u.appContext=i,l===!0?l=`svg`:l===!1&&(l=void 0),o&&t?t(u,a):e(u,a,l),s=!0,c._container=a,a.__vue_app__=c,ma(u.component)}},onUnmount(e){o.push(e)},unmount(){s&&(ir(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(e,t){return i.provides[e]=t,c},runWithContext(e){let t=so;so=c;try{return e()}finally{so=t}}};return c}}function Oi(e,t,n=E){let r=Do(),i=ge(t),a=ve(t),o=Ite(e,i),s=tn((o,s)=>{let c,l=E,u;return Cr(()=>{let t=e[i];xe(c,t)&&(c=t,s())}),{get(){return o(),n.get?n.get(c):c},set(e){let o=n.set?n.set(e):e;if(!xe(o,c)&&!(l!==E&&xe(e,l)))return;let d=r.vnode.props;d&&(t in d||i in d||a in d)&&(`onUpdate:${t}`in d||`onUpdate:${i}`in d||`onUpdate:${a}`in d)||(c=e,s()),r.emit(`update:${t}`,o),xe(e,o)&&xe(e,l)&&!xe(o,u)&&s(),l=e,u=o}}});return s[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?o||E:s,done:!1}:{done:!0}}}},s}function Lee(e,t,...n){if(e.isUnmounted)return;let r=e.vnode.props||E,i=n,a=t.startsWith(`update:`),o=a&&Ite(r,t.slice(7));o&&(o.trim&&(i=n.map(e=>re(e)?e.trim():e)),o.number&&(i=n.map(we)));let s,c=r[s=be(t)]||r[s=be(ge(t))];!c&&a&&(c=r[s=be(ve(t))]),c&&ir(c,e,6,i);let l=r[s+`Once`];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,ir(l,e,6,i)}}function ki(e,t,n=!1){let r=n?Lte:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},s=!1;if(!R(e)){let r=e=>{let n=ki(e,t,!0);n&&(s=!0,M(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!s?(ae(e)&&r.set(e,null),null):(I(a)?a.forEach(e=>o[e]=null):M(o,a),ae(e)&&r.set(e,o),o)}function Ai(e,t){return!e||!A(t)?!1:(t=t.slice(2).replace(/Once$/,``),F(e,t[0].toLowerCase()+t.slice(1))||F(e,ve(t))||F(e,t))}function ji(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:l,renderCache:u,props:d,data:f,setupState:p,ctx:m,inheritAttrs:h}=e,g=pr(e),_,v;try{if(n.shapeFlag&4){let e=i||r,t=e;_=ua(l.call(t,e,u,d,p,f,m)),v=s}else{let e=t;_=ua(e.length>1?e(d,{attrs:s,slots:o,emit:c}):e(d,null)),v=t.props?s:Rte(s)}}catch(t){xo.length=0,ar(t,e,1),_=X(yo)}let y=_;if(v&&h!==!1){let e=Object.keys(v),{shapeFlag:t}=y;e.length&&t&7&&(a&&e.some(j)&&(v=zte(v,a)),y=ca(y,v,!1,!0))}return n.dirs&&(y=ca(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&Pr(y,n.transition),_=y,pr(g),_}function Ree(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(aa(r)){if(r.type!==yo||r.children===`v-if`){if(n)return;n=r}}else return}return n}function Mi(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ni(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(o[n]!==r[n]&&!Ai(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?Ni(r,o,l):!0:!!o;return!1}function Ni(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(t[a]!==e[a]&&!Ai(n,a))return!0}return!1}function Pi({vnode:e,parent:t},n){for(;t;){let r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}function Fi(e,t,n,r=!1){let i={},a=Vte();e.propsDefaults=Object.create(null),Li(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Bt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Ii(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=Jt(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Ai(e.emitsOptions,o))continue;let u=t[o];if(c)if(F(a,o))u!==a[o]&&(a[o]=u,l=!0);else{let t=ge(o);i[t]=Ri(c,s,t,u,e,!1)}else u!==a[o]&&(a[o]=u,l=!0)}}}else{Li(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!F(t,a)&&((r=ve(a))===a||!F(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=Ri(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!F(t,e))&&(delete a[e],l=!0)}l&&Et(e.attrs,`set`,``)}function Li(e,t,n,r){let[i,a]=e.propsOptions,o=!1,s;if(t)for(let c in t){if(fe(c))continue;let l=t[c],u;i&&F(i,u=ge(c))?!a||!a.includes(u)?n[u]=l:(s||={})[u]=l:Ai(e.emitsOptions,c)||(!(c in r)||l!==r[c])&&(r[c]=l,o=!0)}if(a){let t=Jt(n),r=s||E;for(let o=0;o<a.length;o++){let s=a[o];n[s]=Ri(i,t,s,r[s],e,!F(r,s))}}return o}function Ri(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=F(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&R(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=Ao(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===ve(n))&&(r=!0))}return r}function zi(e,t,n=!1){let r=n?Ute:t.propsCache,i=r.get(e);if(i)return i;let a=e.props,o={},s=[],c=!1;if(!R(e)){let r=e=>{c=!0;let[n,r]=zi(e,t,!0);M(o,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!a&&!c)return ae(e)&&r.set(e,D),D;if(I(a))for(let e=0;e<a.length;e++){let t=ge(a[e]);Bi(t)&&(o[t]=E)}else if(a)for(let e in a){let t=ge(e);if(Bi(t)){let n=a[e],r=o[t]=I(n)||R(n)?{type:n}:M({},n),i=r.type,c=!1,l=!0;if(I(i))for(let e=0;e<i.length;++e){let t=i[e],n=R(t)&&t.name;if(n===`Boolean`){c=!0;break}else n===`String`&&(l=!1)}else c=R(i)&&i.name===`Boolean`;r[0]=c,r[1]=l,(c||F(r,`default`))&&s.push(t)}}let l=[o,s];return ae(e)&&r.set(e,l),l}function Bi(e){return e[0]!==`$`&&!fe(e)}function Vi(e){return Ui(e)}function Hi(e){return Ui(e,Vr)}function Ui(e,t){let n=De();n.__VUE__=!0;let{insert:r,remove:i,patchProp:a,createElement:o,createText:s,createComment:c,setText:l,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=O,insertStaticContent:m}=e,h=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!oa(e,t)&&(r=se(e),R(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case vo:g(e,t,n,r);break;case yo:_(e,t,n,r);break;case bo:e??v(t,n,r,o);break;case _o:j(e,t,n,r,i,a,o,s,c);break;default:d&1?x(e,t,n,r,i,a,o,s,c):d&6?M(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,ue)}u!=null&&i?zr(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&zr(e.ref,null,a,e,!0)},g=(e,t,n,i)=>{if(e==null)r(t.el=s(t.children),n,i);else{let n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},_=(e,t,n,i)=>{e==null?r(t.el=c(t.children||``),n,i):t.el=e.el},v=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},y=({el:e,anchor:t},n,i)=>{let a;for(;e&&e!==t;)a=f(e),r(e,n,i),e=a;r(t,n,i)},b=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),i(e),e=n;i(t)},x=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)S(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),T(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},S=(e,t,n,i,s,c,l,d)=>{let f,p,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(f=e.el=o(e.type,c,m&&m.is,m),h&8?u(f,e.children):h&16&&w(e.children,f,null,i,s,Wi(e,c),l,d),_&&_r(e,null,i,`created`),C(f,e,e.scopeId,l,i),m){for(let e in m)e!==`value`&&!fe(e)&&a(f,e,null,m[e],c,i);`value`in m&&a(f,`value`,null,m.value,c),(p=m.onVnodeBeforeMount)&&pa(p,i,e)}_&&_r(e,null,i,`beforeMount`);let v=Ki(s,g);v&&g.beforeEnter(f),r(f,t,n),((p=m&&m.onVnodeMounted)||v||_)&&po(()=>{p&&pa(p,i,e),v&&g.enter(f),_&&_r(e,null,i,`mounted`)},s)},C=(e,t,n,r,i)=>{if(n&&p(e,n),r)for(let t=0;t<r.length;t++)p(e,r[t]);if(i){let n=i.subTree;if(t===n||mo(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;C(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},w=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++)h(null,e[l]=s?da(e[l]):ua(e[l]),t,n,r,i,a,o,s)},T=(e,t,n,r,i,o,s)=>{let c=t.el=e.el,{patchFlag:l,dynamicChildren:d,dirs:f}=t;l|=e.patchFlag&16;let p=e.props||E,m=t.props||E,h;if(n&&Gi(n,!1),(h=m.onVnodeBeforeUpdate)&&pa(h,n,t,e),f&&_r(t,e,n,`beforeUpdate`),n&&Gi(n,!0),(p.innerHTML&&m.innerHTML==null||p.textContent&&m.textContent==null)&&u(c,``),d?k(e.dynamicChildren,d,c,n,r,Wi(t,i),o):s||ee(e,t,c,null,n,r,Wi(t,i),o,!1),l>0){if(l&16)A(c,p,m,n,i);else if(l&2&&p.class!==m.class&&a(c,`class`,null,m.class,i),l&4&&a(c,`style`,p.style,m.style,i),l&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=p[r],s=m[r];(s!==o||r===`value`)&&a(c,r,o,s,i,n)}}l&1&&e.children!==t.children&&u(c,t.children)}else !s&&d==null&&A(c,p,m,n,i);((h=m.onVnodeUpdated)||f)&&po(()=>{h&&pa(h,n,t,e),f&&_r(t,e,n,`updated`)},r)},k=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s];h(c,l,c.el&&(c.type===_o||!oa(c,l)||c.shapeFlag&198)?d(c.el):n,null,r,i,a,o,!0)}},A=(e,t,n,r,i)=>{if(t!==n){if(t!==E)for(let o in t)!fe(o)&&!(o in n)&&a(e,o,t[o],null,i,r);for(let o in n){if(fe(o))continue;let s=n[o],c=t[o];s!==c&&o!==`value`&&a(e,o,c,s,i,r)}`value`in n&&a(e,`value`,t.value,n.value,i)}},j=(e,t,n,i,a,o,c,l,u)=>{let d=t.el=e?e.el:s(``),f=t.anchor=e?e.anchor:s(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(l=l?l.concat(h):h),e==null?(r(d,n,i),r(f,n,i),w(t.children||[],n,f,a,o,c,l,u)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(k(e.dynamicChildren,m,n,a,o,c,l),(t.key!=null||a&&t===a.subTree)&&qi(e,t,!0)):ee(e,t,n,f,a,o,c,l,u)},M=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):N(t,n,r,i,a,o,c):P(e,t,c)},N=(e,t,n,r,i,a,o)=>{let s=e.component=Yee(e,r,i);if(Wa(e)&&(s.ctx.renderer=ue),Zee(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,F,o),!e.el){let r=s.subTree=X(yo);_(null,r,t,n),e.placeholder=r.el}}else F(s,e,t,n,i,a,o)},P=(e,t,n)=>{let r=t.component=e.component;if(Mi(e,t,n))if(r.asyncDep&&!r.asyncResolved){I(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},F=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:c,vnode:l}=e;{let n=Yi(e);if(n){t&&(t.el=l.el,I(e,t,o)),n.asyncDep.then(()=>{e.isUnmounted||s()});return}}let u=t,f;Gi(e,!1),t?(t.el=l.el,I(e,t,o)):t=l,n&&Se(n),(f=t.props&&t.props.onVnodeBeforeUpdate)&&pa(f,c,t,l),Gi(e,!0);let p=ji(e),m=e.subTree;e.subTree=p,h(m,p,d(m.el),se(m),e,i,a),t.el=p.el,u===null&&Pi(e,p.el),r&&po(r,i),(f=t.props&&t.props.onVnodeUpdated)&&po(()=>pa(f,c,t,l),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Ua(t);if(Gi(e,!1),l&&Se(l),!m&&(o=c&&c.onVnodeBeforeMount)&&pa(o,d,t),Gi(e,!0),s&&pe){let t=()=>{e.subTree=ji(e),pe(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._def.shadowRoot!==!1&&f.ce._injectChildStyle(p);let o=e.subTree=ji(e);h(null,o,n,r,e,i,a),t.el=o.el}if(u&&po(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;po(()=>pa(o,d,e),i)}(t.shapeFlag&256||d&&Ua(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&po(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new hn(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>sr(u),Gi(e,!0),l()},I=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Ii(e,t.props,r,n),qte(e,t.children,n),St(),ur(e),Ct()},ee=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,d=e?e.shapeFlag:0,f=t.children,{patchFlag:p,shapeFlag:m}=t;if(p>0){if(p&128){te(l,f,n,r,i,a,o,s,c);return}else if(p&256){L(l,f,n,r,i,a,o,s,c);return}}m&8?(d&16&&oe(l,i,a),f!==l&&u(n,f)):d&16?m&16?te(l,f,n,r,i,a,o,s,c):oe(l,i,a,!0):(d&8&&u(n,``),m&16&&w(f,n,r,i,a,o,s,c))},L=(e,t,n,r,i,a,o,s,c)=>{e||=D,t||=D;let l=e.length,u=t.length,d=Math.min(l,u),f;for(f=0;f<d;f++){let r=t[f]=c?da(t[f]):ua(t[f]);h(e[f],r,n,null,i,a,o,s,c)}l>u?oe(e,i,a,!0,!1,d):w(t,n,r,i,a,o,s,c,d)},te=(e,t,n,r,i,a,o,s,c)=>{let l=0,u=t.length,d=e.length-1,f=u-1;for(;l<=d&&l<=f;){let r=e[l],u=t[l]=c?da(t[l]):ua(t[l]);if(oa(r,u))h(r,u,n,null,i,a,o,s,c);else break;l++}for(;l<=d&&l<=f;){let r=e[d],l=t[f]=c?da(t[f]):ua(t[f]);if(oa(r,l))h(r,l,n,null,i,a,o,s,c);else break;d--,f--}if(l>d){if(l<=f){let e=f+1,d=e<u?t[e].el:r;for(;l<=f;)h(null,t[l]=c?da(t[l]):ua(t[l]),n,d,i,a,o,s,c),l++}}else if(l>f)for(;l<=d;)R(e[l],i,a,!0),l++;else{let p=l,m=l,g=new Map;for(l=m;l<=f;l++){let e=t[l]=c?da(t[l]):ua(t[l]);e.key!=null&&g.set(e.key,l)}let _,v=0,y=f-m+1,b=!1,x=0,S=Array(y);for(l=0;l<y;l++)S[l]=0;for(l=p;l<=d;l++){let r=e[l];if(v>=y){R(r,i,a,!0);continue}let u;if(r.key!=null)u=g.get(r.key);else for(_=m;_<=f;_++)if(S[_-m]===0&&oa(r,t[_])){u=_;break}u===void 0?R(r,i,a,!0):(S[u-m]=l+1,u>=x?x=u:b=!0,h(r,t[u],n,null,i,a,o,s,c),v++)}let C=b?Ji(S):D;for(_=C.length-1,l=y-1;l>=0;l--){let e=m+l,d=t[e],f=t[e+1],p=e+1<u?f.el||Zi(f):r;S[l]===0?h(null,d,n,p,i,a,o,s,c):b&&(_<0||l!==C[_]?ne(d,n,p,2):_--)}}},ne=(e,t,n,a,o=null)=>{let{el:s,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){ne(e.component.subTree,t,n,a);return}if(d&128){e.suspense.move(t,n,a);return}if(d&64){c.move(e,t,n,ue);return}if(c===_o){r(s,t,n);for(let e=0;e<u.length;e++)ne(u[e],t,n,a);r(e.anchor,t,n);return}if(c===bo){y(e,t,n);return}if(a!==2&&d&1&&l)if(a===0)l.beforeEnter(s),r(s,t,n),po(()=>l.enter(s),o);else{let{leave:a,delayLeave:o,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?i(s):r(s,t,n)},d=()=>{s._isLeaving&&s[Pa](!0),a(s,()=>{u(),c&&c()})};o?o(s,u,d):d()}else r(s,t,n)},R=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p}=e;if(d===-2&&(i=!1),s!=null&&(St(),zr(s,null,n,e,!0),Ct()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let m=u&1&&f,h=!Ua(e),g;if(h&&(g=o&&o.onVnodeBeforeUnmount)&&pa(g,t,e),u&6)ae(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}m&&_r(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,ue,r):l&&!l.hasOnce&&(a!==_o||d>0&&d&64)?oe(l,t,n,!1,!0):(a===_o&&d&384||!i&&u&16)&&oe(c,t,n),r&&re(e)}(h&&(g=o&&o.onVnodeUnmounted)||m)&&po(()=>{g&&pa(g,t,e),m&&_r(e,null,t,`unmounted`)},n)},re=e=>{let{type:t,el:n,anchor:r,transition:a}=e;if(t===_o){ie(n,r);return}if(t===bo){b(e);return}let o=()=>{i(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()};if(e.shapeFlag&1&&a&&!a.persisted){let{leave:t,delayLeave:r}=a,i=()=>t(n,o);r?r(e.el,o,i):i()}else o()},ie=(e,t)=>{let n;for(;e!==t;)n=f(e),i(e),e=n;i(t)},ae=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;Xi(c),Xi(l),r&&Se(r),i.stop(),a&&(a.flags|=8,R(o,e,t,n)),s&&po(s,t),po(()=>{e.isUnmounted=!0},t)},oe=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)R(e[o],t,n,r,i)},se=e=>{if(e.shapeFlag&6)return se(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=f(e.anchor||e.el),n=t&&t[dte];return n?f(n):t},ce=!1,le=(e,t,n)=>{let r;e==null?t._vnode&&(R(t._vnode,null,null,!0),r=t._vnode.component):h(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ce||=(ce=!0,ur(r),dr(),!1)},ue={p:h,um:R,m:ne,r:re,mt:N,mc:w,pc:ee,pbc:k,n:se,o:e},de,pe;return t&&([de,pe]=t(ue)),{render:le,hydrate:de,createApp:Iee(le,de)}}function Wi({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function Gi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ki(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qi(e,t,n=!1){let r=e.children,i=t.children;if(I(r)&&I(i))for(let t=0;t<r.length;t++){let a=r[t],o=i[t];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=i[t]=da(i[t]),o.el=a.el),!n&&o.patchFlag!==-2&&qi(a,o)),o.type===vo&&(o.patchFlag===-1?o.__elIndex=t+(e.type===_o?1:0):o.el=a.el),o.type===yo&&!o.el&&(o.el=a.el)}}function Ji(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function Yi(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yi(t)}function Xi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Zi(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Zi(t.subTree):null}function Qi(e,t){let n=e.props&&e.props[t];R(n)&&n()}function zee(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=$i(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(Qi(e,`onPending`),Qi(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),ra(f,e.ssFallback)):f.resolve(!1,!0)}function Bee(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,oa(h,f)?(c(h,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():g&&(_||(c(m,p,n,r,i,null,a,o,s),ra(d,p)))):(d.pendingId=ho++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():(c(m,p,n,r,i,null,a,o,s),ra(d,p))):m&&oa(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&oa(m,f))c(m,f,n,r,i,d,a,o,s),ra(d,f);else if(Qi(t,`onPending`),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=ho++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function $i(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=Hee(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?Te(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:ho++,timeout:typeof y==`number`?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;x.isHydrating?x.isHydrating=!1:e||(g=i&&o.transition&&o.transition.mode===`out-in`,g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b?m(i):a,0),lr(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&(h(i.el)===u&&(a=m(i)),p(i,l,x,!0),!g&&d&&r.ssFallback&&po(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)),ra(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){y.effects.push(...c),S=!0;break}y=y.parent}!S&&!g&&lr(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!n&&t.resolve()),Qi(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;Qi(t,`onFallback`);let o=m(n),l=()=>{x.isInFallback&&(d(null,e,i,o,r,null,a,s,c),ra(x,e))},u=e.transition&&e.transition.mode===`out-in`;u&&(n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n){let r=!!x.pendingBranch;r&&x.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{ar(t,e,0)}).then(a=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;e.asyncResolved=!0;let{vnode:s}=e;$ee(e,a,!1),i&&(s.el=i);let c=!i&&e.subTree.el;t(e,s,h(i||e.subTree.el),i?null:m(e.subTree),x,o,n),c&&(s.placeholder=null,g(c)),Pi(e,s.el),r&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function ea(e,t,n,r,i,a,o,s,c){let l=t.suspense=$i(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function ta(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=na(r?n.default:n),e.ssFallback=r?na(n.fallback):X(yo)}function na(e){let t;if(R(e)){let n=Co&&e._c;n&&(e._d=!1,G()),e=e(),n&&(e._d=!0,t=So,Uee())}return I(e)&&(e=Ree(e)),e=ua(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function Vee(e,t){t&&t.pendingBranch?I(e)?t.effects.push(...e):t.effects.push(e):lr(e)}function ra(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Pi(r,i))}function Hee(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}function G(e=!1){xo.push(So=e?null:[])}function Uee(){xo.pop(),So=xo[xo.length-1]||null}function ia(e,t=!1){Co+=e,e<0&&So&&t&&(So.hasOnce=!0)}function Wee(e){return e.dynamicChildren=Co>0?So||D:null,Uee(),Co>0&&So&&So.push(e),e}function K(e,t,n,r,i,a){return Wee(J(e,t,n,r,i,a,!0))}function q(e,t,n,r,i){return Wee(X(e,t,n,r,i,!0))}function aa(e){return e?e.__v_isVNode===!0:!1}function oa(e,t){return e.type===t.type&&e.key===t.key}function Gee(e){}function J(e,t=null,n=null,r=0,i=null,a=e===_o?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wo(t),ref:t&&To(t),scopeId:Da,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ea};return s?(Jee(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Co>0&&!o&&So&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&So.push(c),c}function Kee(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Mte)&&(e=yo),aa(e)){let r=ca(e,t,!0);return n&&Jee(r,n),Co>0&&!a&&So&&(r.shapeFlag&6?So[So.indexOf(e)]=r:So.push(r)),r.patchFlag=-2,r}if(ite(e)&&(e=e.__vccOpts),t){t=sa(t);let{class:e,style:n}=t;e&&!re(e)&&(t.class=p(e)),ae(n)&&(qt(n)&&!I(n)&&(n=M({},n)),t.style=u(n))}let o=re(e)?1:mo(e)?128:fte(e)?64:ae(e)?4:R(e)?2:0;return J(e,t,n,r,i,o,a,!0)}function sa(e){return e?qt(e)||Hte(e)?M({},e):e:null}function ca(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?fa(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&wo(l),ref:t&&t.ref?n&&a?I(a)?a.concat(To(t)):[a,To(t)]:To(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_o?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ca(e.ssContent),ssFallback:e.ssFallback&&ca(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Pr(u,c.clone(u)),u}function la(e=` `,t=0){return X(vo,null,e,t)}function qee(e,t){let n=X(bo,null,e);return n.staticCount=t,n}function Y(e=``,t=!1){return t?(G(),q(yo,null,e)):X(yo,null,e)}function ua(e){return e==null||typeof e==`boolean`?X(yo):I(e)?X(_o,null,e.slice()):aa(e)?da(e):X(vo,null,String(e))}function da(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ca(e)}function Jee(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(I(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Jee(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Hte(t)?t._ctx=Ea:r===3&&Ea&&(Ea.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:Ea},n=32):(t=String(t),r&64?(n=16,t=[la(t)]):n=8);e.children=t,e.shapeFlag|=n}function fa(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=p([t.class,r.class]));else if(e===`style`)t.style=u([t.style,r.style]);else if(A(e)){let n=t[e],i=r[e];i&&n!==i&&!(I(n)&&n.includes(i))&&(t[e]=n?[].concat(n,i):i)}else e!==``&&(t[e]=r[e])}return t}function pa(e,t,n,r=null){ir(e,t,7,[n,r])}function Yee(e,t,n){let r=e.type,i=(t?t.appContext:e.appContext)||Jte,a={uid:Yte++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new fn(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:zi(r,i),emitsOptions:ki(r,i),emit:null,emitted:null,propsDefaults:E,inheritAttrs:r.inheritAttrs,ctx:E,data:E,props:E,attrs:E,slots:E,refs:E,setupState:E,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Lee.bind(null,a),e.ce&&e.ce(a),a}function Xee(e){return e.vnode.shapeFlag&4}function Zee(e,t=!1,n=!1){t&&ko(t);let{props:r,children:i}=e.vnode,a=Xee(e);Fi(e,r,a,t),Kte(e,i,n||t);let o=a?Qee(e,t):void 0;return t&&ko(!1),o}function Qee(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ao);let{setup:r}=n;if(r){St();let n=e.setupContext=r.length>1?nte(e):null,i=Ao(e),a=rr(r,e,0,[e.props,n]),o=oe(a);if(Ct(),i(),(o||e.sp)&&!Ua(e)&&Lr(e),o){if(a.then(jo,jo),t)return a.then(n=>{$ee(e,n,t)}).catch(t=>{ar(t,e,0)});e.asyncDep=a}else $ee(e,a,t)}else tte(e,t)}function $ee(e,t,n){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)&&(e.setupState=en(t)),tte(e,n)}function ete(e){No=e,Po=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Nte))}}function tte(e,t,n){let r=e.type;if(!e.render){if(!t&&No&&!r.render){let t=r.template||xi(e).template;if(t){let{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:o}=r,s=M(M({isCustomElement:n,delimiters:a},i),o);r.render=No(t,s)}}e.render=r.render||O,Po&&Po(e)}{let t=Ao(e);St();try{Aee(e)}finally{Ct(),t()}}}function nte(e){return{attrs:new Proxy(e.attrs,Xte),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function ma(e){return e.exposed?e.exposeProxy||=new Proxy(en(Yt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ro)return ro[n](e)},has(e,t){return t in e||t in ro}}):e.proxy}function rte(e,t=!0){return R(e)?e.displayName||e.name:e.name||t&&e.__name}function ite(e){return R(e)&&`__vccOpts`in e}function ha(e,t,n){try{ia(-1);let r=arguments.length;return r===2?ae(t)&&!I(t)?aa(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&aa(n)&&(n=[n]),X(e,t,n))}finally{ia(1)}}function ate(){return;function e(t,n,r){let i=t[r];if(I(i)&&i.includes(n)||ae(i)&&n in i||t.extends&&e(t.extends,n,r)||t.mixins&&t.mixins.some(t=>e(t,n,r)))return!0}}function ote(e,t,n,r){let i=n[r];if(i&&ga(i,e))return i;let a=t();return a.memo=e.slice(),a.cacheIndex=r,n[r]=a}function ga(e,t){let n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if(xe(n[e],t[e]))return!1;return Co>0&&So&&So.push(e),!0}var ste,cte,lte,_a,va,ya,ba,xa,ute,Sa,Ca,wa,Ta,Ea,Da,Oa,ka,Aa,dte,fte,ja,pte,mte,hte,Ma,gte,Na,Pa,Fa,Ia,La,_te,vte,Ra,za,yte,Ba,bte,xte,Va,Ha,Ste,Cte,wte,Tte,Ete,Dte,Ote,kte,Ua,Wa,Ate,Ga,Ka,qa,Ja,Ya,Xa,Za,Qa,$a,eo,to,jte,Mte,no,ro,io,ao,Nte,oo,Pte,Fte,so,Ite,Lte,Rte,zte,Bte,Vte,Hte,Ute,co,lo,Wte,Gte,uo,fo,Kte,qte,po,mo,ho,go,_o,vo,yo,bo,xo,So,Co,wo,To,X,Jte,Yte,Eo,Do,Oo,ko,Ao,jo,Mo,No,Po,Fo,Xte,Z,Io,Lo,Ro,zo,Bo,Vo,Zte=t((()=>{tr(),ut(),ste=[],cte={SETUP_FUNCTION:0,0:`SETUP_FUNCTION`,RENDER_FUNCTION:1,1:`RENDER_FUNCTION`,NATIVE_EVENT_HANDLER:5,5:`NATIVE_EVENT_HANDLER`,COMPONENT_EVENT_HANDLER:6,6:`COMPONENT_EVENT_HANDLER`,VNODE_HOOK:7,7:`VNODE_HOOK`,DIRECTIVE_HOOK:8,8:`DIRECTIVE_HOOK`,TRANSITION_HOOK:9,9:`TRANSITION_HOOK`,APP_ERROR_HANDLER:10,10:`APP_ERROR_HANDLER`,APP_WARN_HANDLER:11,11:`APP_WARN_HANDLER`,FUNCTION_REF:12,12:`FUNCTION_REF`,ASYNC_COMPONENT_LOADER:13,13:`ASYNC_COMPONENT_LOADER`,SCHEDULER:14,14:`SCHEDULER`,COMPONENT_UPDATE:15,15:`COMPONENT_UPDATE`,APP_UNMOUNT_CLEANUP:16,16:`APP_UNMOUNT_CLEANUP`},lte={sp:`serverPrefetch hook`,bc:`beforeCreate hook`,c:`created hook`,bm:`beforeMount hook`,m:`mounted hook`,bu:`beforeUpdate hook`,u:`updated`,bum:`beforeUnmount hook`,um:`unmounted hook`,a:`activated hook`,da:`deactivated hook`,ec:`errorCaptured hook`,rtc:`renderTracked hook`,rtg:`renderTriggered hook`,0:`setup function`,1:`render function`,2:`watcher getter`,3:`watcher callback`,4:`watcher cleanup function`,5:`native event handler`,6:`component event handler`,7:`vnode hook`,8:`directive hook`,9:`transition hook`,10:`app errorHandler`,11:`app warnHandler`,12:`ref function`,13:`async component loader`,14:`scheduler flush`,15:`component update`,16:`app unmount cleanup function`},_a=[],va=-1,ya=[],ba=null,xa=0,ute=Promise.resolve(),Sa=null,Ca=e=>e.id==null?e.flags&2?-1:1/0:e.id,Ta=[],Ea=null,Da=null,Oa=e=>V,ka=Symbol.for(`v-scx`),Aa=()=>yr(ka),dte=Symbol(`_vte`),fte=e=>e.__isTeleport,ja=e=>e&&(e.disabled||e.disabled===``),pte=e=>e&&(e.defer||e.defer===``),mte=e=>typeof SVGElement<`u`&&e instanceof SVGElement,hte=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,Ma=(e,t)=>{let n=e&&e.to;return re(n)?t?t(n):null:n},gte={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g}}=l,_=ja(t.props),{shapeFlag:v,children:y,dynamicChildren:b}=t;if(e==null){let e=t.el=h(``),l=t.anchor=h(``);p(e,n,r),p(l,n,r);let d=(e,t)=>{v&16&&u(y,e,t,i,a,o,s,c)},f=()=>{let e=t.target=Ma(t.props,m),n=See(e,t,h,p);e&&(o!==`svg`&&mte(e)?o=`svg`:o!==`mathml`&&hte(e)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(e),_||(d(e,n),Or(t,!1)))};_&&(d(n,l),Or(t,!0)),pte(t.props)?(t.el.__isMounted=!1,po(()=>{f(),delete t.el.__isMounted},a)):f()}else{if(pte(t.props)&&e.el.__isMounted===!1){po(()=>{gte.process(e,t,n,r,i,a,o,s,c,l)},a);return}t.el=e.el,t.targetStart=e.targetStart;let u=t.anchor=e.anchor,p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=ja(e.props),v=g?n:p,y=g?u:h;if(o===`svg`||mte(p)?o=`svg`:(o===`mathml`||hte(p))&&(o=`mathml`),b?(f(e.dynamicChildren,b,v,i,a,o,s),qi(e,t,!0)):c||d(e,t,v,y,i,a,o,s,!1),_)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Er(t,n,u,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=Ma(t.props,m);e&&Er(t,e,null,l,0)}else g&&Er(t,p,h,l,1);Or(t,_)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e;if(d&&(i(l),i(u)),a&&i(c),o&16){let e=a||!ja(f);for(let i=0;i<s.length;i++){let a=s[i];r(a,t,n,e,!!a.dynamicChildren)}}},move:Er,hydrate:Dr},Na=gte,Pa=Symbol(`_leaveCb`),Fa=Symbol(`_enterCb`),Ia=[Function,Array],La={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ia,onEnter:Ia,onAfterEnter:Ia,onEnterCancelled:Ia,onBeforeLeave:Ia,onLeave:Ia,onAfterLeave:Ia,onLeaveCancelled:Ia,onBeforeAppear:Ia,onAppear:Ia,onAfterAppear:Ia,onAppearCancelled:Ia},_te=e=>{let t=e.subTree;return t.component?_te(t.component):t},vte={name:`BaseTransition`,props:La,setup(e,{slots:t}){let n=Do(),r=kr();return()=>{let i=t.default&&Fr(t.default(),!0);if(!i||!i.length)return;let a=Ar(i),o=Jt(e),{mode:s}=o;if(r.isLeaving)return Mr(a);let c=Nr(a);if(!c)return Mr(a);let l=jr(c,o,r,n,e=>l=e);c.type!==yo&&Pr(c,l);let u=n.subTree&&Nr(n.subTree);if(u&&u.type!==yo&&!oa(u,c)&&_te(n).type!==yo){let e=jr(u,o,r,n);if(Pr(u,e),s===`out-in`&&c.type!==yo)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},Mr(a);s===`in-out`&&c.type!==yo?e.delayLeave=(e,t,n)=>{let i=Cee(r,u);i[String(u.key)]=u,e[Pa]=()=>{t(),e[Pa]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}},Ra=vte,za=new WeakMap,yte=!1,Ba=()=>{yte||=(console.error(`Hydration completed but contains mismatches.`),!0)},bte=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,xte=e=>e.namespaceURI.includes(`MathML`),Va=e=>{if(e.nodeType===1){if(bte(e))return`svg`;if(xte(e))return`mathml`}},Ha=e=>e.nodeType===8,Ste=`data-allow-mismatch`,Cte={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`},wte=De().requestIdleCallback||(e=>setTimeout(e,1)),Tte=De().cancelIdleCallback||(e=>clearTimeout(e)),Ete=(e=1e4)=>t=>{let n=wte(t,{timeout:e});return()=>Tte(n)},Dte=e=>(t,n)=>{let r=new IntersectionObserver(e=>{for(let n of e)if(n.isIntersecting){r.disconnect(),t();break}},e);return n(e=>{if(e instanceof Element){if(wee(e))return t(),r.disconnect(),!1;r.observe(e)}}),()=>r.disconnect()},Ote=e=>t=>{if(e){let n=matchMedia(e);if(n.matches)t();else return n.addEventListener(`change`,t,{once:!0}),()=>n.removeEventListener(`change`,t)}},kte=(e=[])=>(t,n)=>{re(e)&&(e=[e]);let r=!1,i=e=>{r||(r=!0,a(),t(),e.target.dispatchEvent(new e.constructor(e.type,e)))},a=()=>{n(t=>{for(let n of e)t.removeEventListener(n,i)})};return n(t=>{for(let n of e)t.addEventListener(n,i,{once:!0})}),a},Ua=e=>!!e.type.__asyncLoader,Wa=e=>e.type.__isKeepAlive,Ate={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=Do(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),po(()=>{a.isDeactivated=!1,a.a&&Se(a.a);let t=e.props&&e.props.onVnodeMounted;t&&pa(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;Xi(t.m),Xi(t.a),l(e,f,null,1,s),po(()=>{t.da&&Se(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&pa(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){Zr(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=rte(Ua(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!oa(t,o))?p(t):o&&Zr(o),i.delete(e),a.delete(e)}H(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Kr(e,t)),t&&m(e=>!Kr(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(mo(n.subTree.type)?po(()=>{i.set(g,Qr(n.subTree))},n.subTree.suspense):i.set(g,Qr(n.subTree)))};return qa(_),Ya(_),Xa(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=Qr(t);if(e.type===i.type&&e.key===i.key){Zr(i);let e=i.component.da;e&&po(e,r);return}p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!aa(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=Qr(r);if(s.type===yo)return o=null,s;let c=s.type,l=rte(Ua(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Kr(u,l))||d&&l&&Kr(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=ca(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&Pr(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,mo(r.type)?r:s}}},Ga=e=>(t,n=Eo)=>{(!Mo||e===`sp`)&&$r(e,(...e)=>t(...e),n)},Ka=Ga(`bm`),qa=Ga(`m`),Ja=Ga(`bu`),Ya=Ga(`u`),Xa=Ga(`bum`),Za=Ga(`um`),Qa=Ga(`sp`),$a=Ga(`rtg`),eo=Ga(`rtc`),to=`components`,jte=`directives`,Mte=Symbol.for(`v-ndc`),no=e=>e?Xee(e)?ma(e):no(e.parent):null,ro=M(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>no(e.parent),$root:e=>no(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xi(e),$forceUpdate:e=>e.f||=()=>{sr(e.update)},$nextTick:e=>e.n||=or.bind(e.proxy),$watch:e=>xee.bind(e)}),io=(e,t)=>e!==E&&!e.__isScriptSetup&&F(e,t),ao={get({_:e},t){if(t===`__v_skip`)return!0;let{ctx:n,setupState:r,data:i,props:a,accessCache:o,type:s,appContext:c}=e;if(t[0]!==`$`){let e=o[t];if(e!==void 0)switch(e){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return a[t]}else if(io(r,t))return o[t]=1,r[t];else if(i!==E&&F(i,t))return o[t]=2,i[t];else if(F(a,t))return o[t]=3,a[t];else if(n!==E&&F(n,t))return o[t]=4,n[t];else oo&&(o[t]=0)}let l=ro[t],u,d;if(l)return t===`$attrs`&&Tt(e.attrs,`get`,``),l(e);if((u=s.__cssModules)&&(u=u[t]))return u;if(n!==E&&F(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,F(d,t))return d[t]},set({_:e},t,n){let{data:r,setupState:i,ctx:a}=e;return io(i,t)?(i[t]=n,!0):r!==E&&F(r,t)?(r[t]=n,!0):F(e.props,t)||t[0]===`$`&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:a,type:o}},s){let c;return!!(n[s]||e!==E&&s[0]!==`$`&&F(e,s)||io(t,s)||F(a,s)||F(r,s)||F(ro,s)||F(i.config.globalProperties,s)||(c=o.__cssModules)&&c[s])},defineProperty(e,t,n){return n.get==null?F(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}},Nte=M({},ao,{get(e,t){if(t!==Symbol.unscopables)return ao.get(e,t,e)},has(e,t){return t[0]!==`_`&&!Pe(t)}}),oo=!0,Pte={data:Ci,props:Di,emits:Di,methods:Ei,computed:Ei,beforeCreate:Ti,created:Ti,beforeMount:Ti,mounted:Ti,beforeUpdate:Ti,updated:Ti,beforeDestroy:Ti,beforeUnmount:Ti,destroyed:Ti,unmounted:Ti,activated:Ti,deactivated:Ti,errorCaptured:Ti,serverPrefetch:Ti,components:Ei,directives:Ei,watch:Pee,provide:Ci,inject:Nee},Fte=0,so=null,Ite=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${ge(t)}Modifiers`]||e[`${ve(t)}Modifiers`],Lte=new WeakMap,Rte=e=>{let t;for(let n in e)(n===`class`||n===`style`||A(n))&&((t||={})[n]=e[n]);return t},zte=(e,t)=>{let n={};for(let r in e)(!j(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n},Bte={},Vte=()=>Object.create(Bte),Hte=e=>Object.getPrototypeOf(e)===Bte,Ute=new WeakMap,co=e=>e===`_`||e===`_ctx`||e===`$stable`,lo=e=>I(e)?e.map(ua):[ua(e)],Wte=(e,t,n)=>{if(t._n)return t;let r=V((...e)=>lo(t(...e)),n);return r._c=!1,r},Gte=(e,t,n)=>{let r=e._ctx;for(let n in e){if(co(n))continue;let i=e[n];if(R(i))t[n]=Wte(n,i,r);else if(i!=null){let e=lo(i);t[n]=()=>e}}},uo=(e,t)=>{let n=lo(t);e.slots.default=()=>n},fo=(e,t,n)=>{for(let r in t)(n||!co(r))&&(e[r]=t[r])},Kte=(e,t,n)=>{let r=e.slots=Vte();if(e.vnode.shapeFlag&32){let e=t._;e?(fo(r,t,n),n&&Ce(r,`_`,e,!0)):Gte(t,r)}else t&&uo(e,t)},qte=(e,t,n)=>{let{vnode:r,slots:i}=e,a=!0,o=E;if(r.shapeFlag&32){let e=t._;e?n&&e===1?a=!1:fo(i,t,n):(a=!t.$stable,Gte(t,i)),o=t}else t&&(uo(e,t),o={default:1});if(a)for(let e in i)!co(e)&&o[e]==null&&delete i[e]},po=Vee,mo=e=>e.__isSuspense,ho=0,go={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)zee(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Bee(e,t,n,r,i,o,s,c,l)}},hydrate:ea,normalize:ta},_o=Symbol.for(`v-fgt`),vo=Symbol.for(`v-txt`),yo=Symbol.for(`v-cmt`),bo=Symbol.for(`v-stc`),xo=[],So=null,Co=1,wo=({key:e})=>e??null,To=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:re(e)||Xt(e)||R(e)?{i:Ea,r:e,k:t,f:!!n}:e),X=Kee,Jte=Fee(),Yte=0,Eo=null,Do=()=>Eo||Ea;{let e=De(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Oo=t(`__VUE_INSTANCE_SETTERS__`,e=>Eo=e),ko=t(`__VUE_SSR_SETTERS__`,e=>Mo=e)}Ao=e=>{let t=Eo;return Oo(e),e.scope.on(),()=>{e.scope.off(),Oo(t)}},jo=()=>{Eo&&Eo.scope.off(),Oo(null)},Mo=!1,Fo=()=>!No,Xte={get(e,t){return Tt(e,`get`,``),e[t]}},Z=(e,t)=>on(e,t,Mo),Io=`3.5.26`,Lo=O,Ro=lte,zo=wa,Bo=fr,Vo={createComponentInstance:Yee,setupComponent:Zee,renderComponentRoot:ji,setCurrentRenderingInstance:pr,isVNode:aa,normalizeVNode:ua,getComponentPublicInstance:ma,ensureValidVNode:si,pushWarningContext:gee,popWarningContext:_ee}})),Qte=r({BaseTransition:()=>Ra,BaseTransitionPropsValidators:()=>La,Comment:()=>yo,DeprecationTypes:()=>null,EffectScope:()=>fn,ErrorCodes:()=>cte,ErrorTypeStrings:()=>Ro,Fragment:()=>_o,KeepAlive:()=>Ate,ReactiveEffect:()=>hn,Static:()=>bo,Suspense:()=>go,Teleport:()=>Na,Text:()=>vo,TrackOpTypes:()=>Xn,Transition:()=>ps,TransitionGroup:()=>xs,TriggerOpTypes:()=>Zn,VueElement:()=>ys,assertNumber:()=>nr,callWithAsyncErrorHandling:()=>ir,callWithErrorHandling:()=>rr,camelize:()=>ge,capitalize:()=>ye,cloneVNode:()=>ca,compatUtils:()=>null,computed:()=>Z,createApp:()=>Ns,createBlock:()=>q,createCommentVNode:()=>Y,createElementBlock:()=>K,createElementVNode:()=>J,createHydrationRenderer:()=>Hi,createPropsRestProxy:()=>yi,createRenderer:()=>Vi,createSSRApp:()=>Ps,createSlots:()=>oi,createStaticVNode:()=>qee,createTextVNode:()=>la,createVNode:()=>X,customRef:()=>tn,defineAsyncComponent:()=>Wr,defineComponent:()=>U,defineCustomElement:()=>Qo,defineEmits:()=>ui,defineExpose:()=>di,defineModel:()=>pi,defineOptions:()=>fi,defineProps:()=>li,defineSSRCustomElement:()=>tre,defineSlots:()=>Eee,devtools:()=>zo,effect:()=>tee,effectScope:()=>dt,getCurrentInstance:()=>Do,getCurrentScope:()=>ft,getCurrentWatcher:()=>sn,getTransitionRawChildren:()=>Fr,guardReactiveProps:()=>sa,h:()=>ha,handleError:()=>ar,hasInjectionContext:()=>br,hydrate:()=>fre,hydrateOnIdle:()=>Ete,hydrateOnInteraction:()=>kte,hydrateOnMediaQuery:()=>Ote,hydrateOnVisible:()=>Dte,initCustomFormatter:()=>ate,initDirectivesForSSR:()=>mre,inject:()=>yr,isMemoSame:()=>ga,isProxy:()=>qt,isReactive:()=>Wt,isReadonly:()=>Gt,isRef:()=>Xt,isRuntimeOnly:()=>Fo,isShallow:()=>Kt,isVNode:()=>aa,markRaw:()=>Yt,mergeDefaults:()=>_i,mergeModels:()=>vi,mergeProps:()=>fa,nextTick:()=>or,nodeOps:()=>ls,normalizeClass:()=>p,normalizeProps:()=>m,normalizeStyle:()=>u,onActivated:()=>qr,onBeforeMount:()=>Ka,onBeforeUnmount:()=>Xa,onBeforeUpdate:()=>Ja,onDeactivated:()=>Jr,onErrorCaptured:()=>ei,onMounted:()=>qa,onRenderTracked:()=>eo,onRenderTriggered:()=>$a,onScopeDispose:()=>pt,onServerPrefetch:()=>Qa,onUnmounted:()=>Za,onUpdated:()=>Ya,onWatcherCleanup:()=>cn,openBlock:()=>G,patchProp:()=>vs,popScopeId:()=>hr,provide:()=>vr,proxyRefs:()=>en,pushScopeId:()=>mr,queuePostFlushCb:()=>lr,reactive:()=>zt,readonly:()=>Vt,ref:()=>z,registerRuntimeCompiler:()=>ete,render:()=>Ms,renderList:()=>ai,renderSlot:()=>W,resolveComponent:()=>ti,resolveDirective:()=>ri,resolveDynamicComponent:()=>ni,resolveFilter:()=>null,resolveTransitionHooks:()=>jr,setBlockTracking:()=>ia,setDevtoolsHook:()=>Bo,setTransitionHooks:()=>Pr,shallowReactive:()=>Bt,shallowReadonly:()=>Ht,shallowRef:()=>Zt,ssrContextKey:()=>ka,ssrUtils:()=>Vo,stop:()=>nee,toDisplayString:()=>st,toHandlerKey:()=>be,toHandlers:()=>ci,toRaw:()=>Jt,toRef:()=>rn,toRefs:()=>nn,toValue:()=>$t,transformVNodeArgs:()=>Gee,triggerRef:()=>Qt,unref:()=>B,useAttrs:()=>hi,useCssModule:()=>es,useCssVars:()=>qo,useHost:()=>$o,useId:()=>Ir,useModel:()=>Oi,useSSRContext:()=>Aa,useShadowRoot:()=>vne,useSlots:()=>mi,useTemplateRef:()=>Rr,useTransitionState:()=>kr,vModelCheckbox:()=>Ts,vModelDynamic:()=>Os,vModelRadio:()=>Es,vModelSelect:()=>Ds,vModelText:()=>ws,vShow:()=>gs,version:()=>Io,warn:()=>Lo,watch:()=>H,watchEffect:()=>xr,watchPostEffect:()=>Sr,watchSyncEffect:()=>Cr,withAsyncContext:()=>kee,withCtx:()=>V,withDefaults:()=>Dee,withDirectives:()=>gr,withKeys:()=>As,withMemo:()=>ote,withModifiers:()=>ks,withScopeId:()=>Oa});function $te(e){let t={};for(let n in e)n in Lne||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=ene(i),h=m&&m[0],g=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:x,onBeforeAppear:S=_,onAppear:C=v,onAppearCancelled:w=y}=t,T=(e,t,n,r)=>{e._enterCancelled=r,Wo(e,t?u:s),Wo(e,t?l:o),n&&n()},E=(e,t)=>{e._isLeaving=!1,Wo(e,d),Wo(e,p),Wo(e,f),t&&t()},D=e=>(t,n)=>{let i=e?C:v,o=()=>T(t,e,n);ms(i,[t,o]),tne(()=>{Wo(t,e?c:a),Uo(t,e?u:s),Bne(i)||nne(t,r,h,o)})};return M(t,{onBeforeEnter(e){ms(_,[e]),Uo(e,a),Uo(e,o)},onBeforeAppear(e){ms(S,[e]),Uo(e,c),Uo(e,l)},onEnter:D(!1),onAppear:D(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>E(e,t);Uo(e,d),e._enterCancelled?(Uo(e,f),Go(e)):(Go(e),Uo(e,f)),tne(()=>{e._isLeaving&&(Wo(e,d),Uo(e,p),Bne(b)||nne(e,r,g,n))}),ms(b,[e,n])},onEnterCancelled(e){T(e,!1,void 0,!0),ms(y,[e])},onAppearCancelled(e){T(e,!0,void 0,!0),ms(w,[e])},onLeaveCancelled(e){E(e),ms(x,[e])}})}function ene(e){if(e==null)return null;if(ae(e))return[Ho(e.enter),Ho(e.leave)];{let t=Ho(e);return[t,t]}}function Ho(e){return Te(e)}function Uo(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[fs]||(e[fs]=new Set)).add(t)}function Wo(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[fs];n&&(n.delete(t),n.size||(e[fs]=void 0))}function tne(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function nne(e,t,n,r){let i=e._endId=++Vne,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=rne(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function rne(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${us}Delay`),a=r(`${us}Duration`),o=ine(i,a),s=r(`${ds}Delay`),c=r(`${ds}Duration`),l=ine(s,c),u=null,d=0,f=0;t===us?o>0&&(u=us,d=o,f=a.length):t===ds?l>0&&(u=ds,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?us:ds:null,f=u?u===us?a.length:c.length:0);let p=u===us&&/\b(?:transform|all)(?:,|$)/.test(r(`${us}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function ine(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>ane(t)+ane(e[n])))}function ane(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Go(e){return(e?e.ownerDocument:document).body.offsetHeight}function one(e,t,n){let r=e[fs];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}function Ko(e,t){e.style.display=t?e[hs]:`none`,e[Hne]=!t}function sne(){gs.getSSRProps=({value:e})=>{if(!e)return{style:{display:`none`}}}}function qo(e){let t=Do();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Yo(e,n))},r=()=>{let r=e(t.proxy);t.ce?Yo(t.ce,r):Jo(t.subTree,r),n(r)};Ja(()=>{lr(r)}),qa(()=>{H(r,O,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),Za(()=>e.disconnect())})}function Jo(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Jo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Yo(e.el,t);else if(e.type===_o)e.children.forEach(e=>Jo(e,t));else if(e.type===bo){let{el:n,anchor:r}=e;for(;n&&(Yo(n,t),n!==r);)n=n.nextSibling}}function Yo(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=T(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Une]=r}}function cne(e,t,n){let r=e.style,i=re(n),a=!1;if(n&&!i){if(t)if(re(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??Xo(r,t,``)}else for(let e in t)n[e]??Xo(r,e,``);for(let e in n)e===`display`&&(a=!0),Xo(r,e,n[e])}else if(i){if(t!==n){let e=r[Une];e&&(n+=`;`+e),r.cssText=n,a=Wne.test(n)}}else t&&e.removeAttribute(`style`);hs in e&&(e[hs]=a?r.display:``,e[Hne]&&(r.display=`none`))}function Xo(e,t,n){if(I(n))n.forEach(n=>Xo(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=lne(e,t);Gne.test(n)?e.setProperty(ve(r),n.replace(Gne,``),`important`):e[r]=n}}function lne(e,t){let n=_s[t];if(n)return n;let r=ge(t);if(r!==`filter`&&r in e)return _s[t]=r;r=ye(r);for(let n=0;n<Kne.length;n++){let i=Kne[n]+r;if(i in e)return _s[t]=i}return t}function une(e,t,n,r,i,a=Ye(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(qne,t.slice(6,t.length)):e.setAttributeNS(qne,t,n):n==null||a&&!h(n)?e.removeAttribute(t):e.setAttribute(t,a?``:ie(n)?String(n):n)}function dne(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?as(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=h(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Zo(e,t,n,r){e.addEventListener(t,n,r)}function fne(e,t,n,r){e.removeEventListener(t,n,r)}function pne(e,t,n,r,i=null){let a=e[Jne]||(e[Jne]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=mne(t);r?Zo(e,n,a[t]=hne(r,i),s):o&&(fne(e,n,o,s),a[t]=void 0)}}function mne(e){let t;if(Yne.test(e)){t={};let n;for(;n=e.match(Yne);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):ve(e.slice(2)),t]}function hne(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;ir(gne(e,n.value),t,5,[e])};return n.value=e,n.attached=Qne(),n}function gne(e,t){if(I(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}function _ne(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&$ne(t)&&R(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return $ne(t)&&re(n)?!1:t in e}function Qo(e,t,n){let r=U(e,t);ue(r)&&(r=M({},r,t));class i extends ys{constructor(e){super(r,e,n)}}return i.def=r,i}function $o(e){let t=Do();return t&&t.ce||null}function vne(){let e=$o();return e&&e.shadowRoot}function es(e=`$style`){{let t=Do();if(!t)return E;let n=t.type.__cssModules;return n&&n[e]||E}}function yne(e){let t=e.el;t[bs]&&t[bs](),t[are]&&t[are]()}function bne(e){ire.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function xne(e){let t=rre.get(e),n=ire.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){let t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${i}px)`,t.transitionDuration=`0s`,e}}function Sne(e,t,n){let r=e.cloneNode(),i=e[fs];i&&i.forEach(e=>{e.split(/\s+/).forEach(e=>e&&r.classList.remove(e))}),n.split(/\s+/).forEach(e=>e&&r.classList.add(e)),r.style.display=`none`;let a=t.nodeType===1?t:t.parentNode;a.appendChild(r);let{hasTransform:o}=rne(r);return a.removeChild(r),o}function Cne(e){e.target.composing=!0}function wne(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}function Tne(e,t,n){return t&&(e=e.trim()),n&&(e=we(e)),e}function Ene(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(I(t))i=w(t,r.props.value)>-1;else if(L(t))i=t.has(r.props.value);else{if(t===n)return;i=C(t,One(e,!0))}e.checked!==i&&(e.checked=i)}function Dne(e,t){let n=e.multiple,r=I(t);if(!(n&&!r&&!L(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=ts(a);if(n)if(r){let e=typeof o;e===`string`||e===`number`?a.selected=t.some(e=>String(e)===String(o)):a.selected=w(t,o)>-1}else a.selected=t.has(o);else if(C(ts(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ts(e){return`_value`in e?e._value:e.value}function One(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}function kne(e,t){switch(e){case`SELECT`:return Ds;case`TEXTAREA`:return ws;default:switch(t){case`checkbox`:return Ts;case`radio`:return Es;default:return ws}}}function ns(e,t,n,r,i){let a=kne(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}function Ane(){ws.getSSRProps=({value:e})=>({value:e}),Es.getSSRProps=({value:e},t)=>{if(t.props&&C(t.props.value,e))return{checked:!0}},Ts.getSSRProps=({value:e},t)=>{if(I(e)){if(t.props&&w(e,t.props.value)>-1)return{checked:!0}}else if(L(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Os.getSSRProps=(e,t)=>{if(typeof t.type!=`string`)return;let n=kne(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}function jne(){return js||=Vi(ure)}function Mne(){return js=dre?js:Hi(ure),dre=!0,js}function Nne(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Pne(e){return re(e)?document.querySelector(e):e}var rs,is,as,Fne,Ine,ss,cs,ls,us,ds,fs,Lne,Rne,zne,ps,ms,Bne,Vne,hs,Hne,gs,Une,Wne,Gne,Kne,_s,qne,Jne,Yne,Xne,Zne,Qne,$ne,vs,ere,tre,nre,ys,rre,ire,bs,are,ore,xs,Ss,Cs,ws,Ts,Es,Ds,Os,sre,cre,ks,lre,As,ure,js,dre,Ms,fre,Ns,Ps,pre,mre,hre=t((()=>{if(Zte(),Zte(),ut(),rs=void 0,is=typeof window<`u`&&window.trustedTypes,is)try{rs=is.createPolicy(`vue`,{createHTML:e=>e})}catch{}as=rs?e=>rs.createHTML(e):e=>e,Fne=`http://www.w3.org/2000/svg`,Ine=`http://www.w3.org/1998/Math/MathML`,ss=typeof document<`u`?document:null,cs=ss&&ss.createElement(`template`),ls={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?ss.createElementNS(Fne,e):t===`mathml`?ss.createElementNS(Ine,e):n?ss.createElement(e,{is:n}):ss.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>ss.createTextNode(e),createComment:e=>ss.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ss.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{cs.innerHTML=as(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=cs.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},us=`transition`,ds=`animation`,fs=Symbol(`_vtc`),Lne={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Rne=M({},La,Lne),zne=e=>(e.displayName=`Transition`,e.props=Rne,e),ps=zne((e,{slots:t})=>ha(Ra,$te(e),t)),ms=(e,t=[])=>{I(e)?e.forEach(e=>e(...t)):e&&e(...t)},Bne=e=>e?I(e)?e.some(e=>e.length>1):e.length>1:!1,Vne=0,hs=Symbol(`_vod`),Hne=Symbol(`_vsh`),gs={name:`show`,beforeMount(e,{value:t},{transition:n}){e[hs]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Ko(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ko(e,!0),r.enter(e)):r.leave(e,()=>{Ko(e,!1)}):Ko(e,t))},beforeUnmount(e,{value:t}){Ko(e,t)}},Une=Symbol(``),Wne=/(?:^|;)\s*display\s*:/,Gne=/\s*!important$/,Kne=[`Webkit`,`Moz`,`ms`],_s={},qne=`http://www.w3.org/1999/xlink`,Jne=Symbol(`_vei`),Yne=/(?:Once|Passive|Capture)$/,Xne=0,Zne=Promise.resolve(),Qne=()=>Xne||=(Zne.then(()=>Xne=0),Date.now()),$ne=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,vs=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?one(e,r,o):t===`style`?cne(e,n,r):A(t)?j(t)||pne(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):_ne(e,t,r,o))?(dne(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&une(e,t,r,o,a,t!==`value`)):e._isVueCE&&(/[A-Z]/.test(t)||!re(r))?dne(e,ge(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),une(e,t,r,o))},ere={},tre=((e,t)=>Qo(e,t,Ps)),nre=typeof HTMLElement<`u`?HTMLElement:class{},ys=class e extends nre{constructor(e,t={},n=Ns){super(),this._def=e,this._props=t,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Ns?this._root=this.shadowRoot:e.shadowRoot===!1?this._root=this:(this.attachShadow(M({},e.shadowRootOptions,{mode:`open`})),this._root=this.shadowRoot)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t&&=t.parentNode||t.host;)if(t instanceof e){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,or(()=>{this._connected||(this._ob&&=(this._ob.disconnect(),null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&=(this._teleportTargets.clear(),void 0))})}_processMutations(e){for(let t of e)this._setAttr(t.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});let e=(e,t=!1)=>{this._resolved=!0,this._pendingResolve=void 0;let{props:n,styles:r}=e,i;if(n&&!I(n))for(let e in n){let t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=Te(this._props[e])),(i||=Object.create(null))[ge(e)]=!0)}this._numberProps=i,this._resolveProps(e),this.shadowRoot&&this._applyStyles(r),this._mount(e)},t=this._def.__asyncLoader;t?this._pendingResolve=t().then(t=>{t.configureApp=this._def.configureApp,e(this._def=t,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);let t=this._instance&&this._instance.exposed;if(t)for(let e in t)F(this,e)||Object.defineProperty(this,e,{get:()=>B(t[e])})}_resolveProps(e){let{props:t}=e,n=I(t)?t:Object.keys(t||{});for(let e of Object.keys(this))e[0]!==`_`&&n.includes(e)&&this._setProp(e,this[e]);for(let e of n.map(ge))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t,!0,!this._patching)}})}_setAttr(e){if(e.startsWith(`data-v-`))return;let t=this.hasAttribute(e),n=t?this.getAttribute(e):ere,r=ge(e);t&&this._numberProps&&this._numberProps[r]&&(n=Te(n)),this._setProp(r,n,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,r=!1){if(t!==this._props[e]&&(this._dirty=!0,t===ere?delete this._props[e]:(this._props[e]=t,e===`key`&&this._app&&(this._app._ceVNode.key=t)),r&&this._instance&&this._update(),n)){let n=this._ob;n&&(this._processMutations(n.takeRecords()),n.disconnect()),t===!0?this.setAttribute(ve(e),``):typeof t==`string`||typeof t==`number`?this.setAttribute(ve(e),t+``):t||this.removeAttribute(ve(e)),n&&n.observe(this,{attributes:!0})}}_update(){let e=this._createVNode();this._app&&(e.appContext=this._app._context),Ms(e,this._root)}_createVNode(){let e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));let t=X(this._def,M(e,this._props));return this._instance||(t.ce=e=>{this._instance=e,e.ce=this,e.isCE=!0;let t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,ue(t[0])?M({detail:t},t[0]):{detail:t}))};e.emit=(e,...n)=>{t(e,n),ve(e)!==e&&t(ve(e),n)},this._setParent()}),t}_applyStyles(e,t){if(!e)return;if(t){if(t===this._def||this._styleChildren.has(t))return;this._styleChildren.add(t)}let n=this._nonce;for(let t=e.length-1;t>=0;t--){let r=document.createElement(`style`);n&&r.setAttribute(`nonce`,n),r.textContent=e[t],this.shadowRoot.prepend(r)}}_parseSlots(){let e=this._slots={},t;for(;t=this.firstChild;){let n=t.nodeType===1&&t.getAttribute(`slot`)||`default`;(e[n]||(e[n]=[])).push(t),this.removeChild(t)}}_renderSlots(){let e=this._getSlots(),t=this._instance.type.__scopeId;for(let n=0;n<e.length;n++){let r=e[n],i=r.getAttribute(`name`)||`default`,a=this._slots[i],o=r.parentNode;if(a)for(let e of a){if(t&&e.nodeType===1){let n=t+`-s`,r=document.createTreeWalker(e,1);e.setAttribute(n,``);let i;for(;i=r.nextNode();)i.setAttribute(n,``)}o.insertBefore(e,r)}else for(;r.firstChild;)o.insertBefore(r.firstChild,r);o.removeChild(r)}}_getSlots(){let e=[this];this._teleportTargets&&e.push(...this._teleportTargets);let t=new Set;for(let n of e){let e=n.querySelectorAll(`slot`);for(let n=0;n<e.length;n++)t.add(e[n])}return Array.from(t)}_injectChildStyle(e){this._applyStyles(e.styles,e)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(e){}},rre=new WeakMap,ire=new WeakMap,bs=Symbol(`_moveCb`),are=Symbol(`_enterCb`),ore=e=>(delete e.props.mode,e),xs=ore({name:`TransitionGroup`,props:M({},Rne,{tag:String,moveClass:String}),setup(e,{slots:t}){let n=Do(),r=kr(),i,a;return Ya(()=>{if(!i.length)return;let t=e.moveClass||`${e.name||`v`}-move`;if(!Sne(i[0].el,n.vnode.el,t)){i=[];return}i.forEach(yne),i.forEach(bne);let r=i.filter(xne);Go(n.vnode.el),r.forEach(e=>{let n=e.el,r=n.style;Uo(n,t),r.transform=r.webkitTransform=r.transitionDuration=``;let i=n[bs]=e=>{e&&e.target!==n||(!e||e.propertyName.endsWith(`transform`))&&(n.removeEventListener(`transitionend`,i),n[bs]=null,Wo(n,t))};n.addEventListener(`transitionend`,i)}),i=[]}),()=>{let o=Jt(e),s=$te(o),c=o.tag||_o;if(i=[],a)for(let e=0;e<a.length;e++){let t=a[e];t.el&&t.el instanceof Element&&(i.push(t),Pr(t,jr(t,s,r,n)),rre.set(t,{left:t.el.offsetLeft,top:t.el.offsetTop}))}a=t.default?Fr(t.default()):[];for(let e=0;e<a.length;e++){let t=a[e];t.key!=null&&Pr(t,jr(t,s,r,n))}return X(c,null,a)}}}),Ss=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return I(t)?e=>Se(t,e):t},Cs=Symbol(`_assign`),ws={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Cs]=Ss(i);let a=r||i.props&&i.props.type===`number`;Zo(e,t?`change`:`input`,t=>{t.target.composing||e[Cs](Tne(e.value,n,a))}),(n||a)&&Zo(e,`change`,()=>{e.value=Tne(e.value,n,a)}),t||(Zo(e,`compositionstart`,Cne),Zo(e,`compositionend`,wne),Zo(e,`change`,wne))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Cs]=Ss(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?we(e.value):e.value,c=t??``;s!==c&&(document.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c))}},Ts={deep:!0,created(e,t,n){e[Cs]=Ss(n),Zo(e,`change`,()=>{let t=e._modelValue,n=ts(e),r=e.checked,i=e[Cs];if(I(t)){let e=w(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(L(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(One(e,r))})},mounted:Ene,beforeUpdate(e,t,n){e[Cs]=Ss(n),Ene(e,t,n)}},Es={created(e,{value:t},n){e.checked=C(t,n.props.value),e[Cs]=Ss(n),Zo(e,`change`,()=>{e[Cs](ts(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Cs]=Ss(r),t!==n&&(e.checked=C(t,r.props.value))}},Ds={deep:!0,created(e,{value:t,modifiers:{number:n}},r){let i=L(t);Zo(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?we(ts(e)):ts(e));e[Cs](e.multiple?i?new Set(t):t:t[0]),e._assigning=!0,or(()=>{e._assigning=!1})}),e[Cs]=Ss(r)},mounted(e,{value:t}){Dne(e,t)},beforeUpdate(e,t,n){e[Cs]=Ss(n)},updated(e,{value:t}){e._assigning||Dne(e,t)}},Os={created(e,t,n){ns(e,t,n,null,`created`)},mounted(e,t,n){ns(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){ns(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){ns(e,t,n,r,`updated`)}},sre=[`ctrl`,`shift`,`alt`,`meta`],cre={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>sre.some(n=>e[`${n}Key`]&&!t.includes(n))},ks=(e,t)=>{let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=cre[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},lre={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},As=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=ve(n.key);if(t.some(e=>e===r||lre[e]===r))return e(n)}))},ure=M({patchProp:vs},ls),dre=!1,Ms=((...e)=>{jne().render(...e)}),fre=((...e)=>{Mne().hydrate(...e)}),Ns=((...e)=>{let t=jne().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Pne(e);if(!r)return;let i=t._component;!R(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Nne(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Ps=((...e)=>{let t=Mne().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Pne(e);if(t)return n(t,!0,Nne(t))},t}),pre=!1,mre=()=>{pre||(pre=!0,Ane(),sne())}})),gre=r({BaseTransition:()=>Ra,BaseTransitionPropsValidators:()=>La,Comment:()=>yo,DeprecationTypes:()=>null,EffectScope:()=>fn,ErrorCodes:()=>cte,ErrorTypeStrings:()=>Ro,Fragment:()=>_o,KeepAlive:()=>Ate,ReactiveEffect:()=>hn,Static:()=>bo,Suspense:()=>go,Teleport:()=>Na,Text:()=>vo,TrackOpTypes:()=>Xn,Transition:()=>ps,TransitionGroup:()=>xs,TriggerOpTypes:()=>Zn,VueElement:()=>ys,assertNumber:()=>nr,callWithAsyncErrorHandling:()=>ir,callWithErrorHandling:()=>rr,camelize:()=>ge,capitalize:()=>ye,cloneVNode:()=>ca,compatUtils:()=>null,compile:()=>_re,computed:()=>Z,createApp:()=>Ns,createBlock:()=>q,createCommentVNode:()=>Y,createElementBlock:()=>K,createElementVNode:()=>J,createHydrationRenderer:()=>Hi,createPropsRestProxy:()=>yi,createRenderer:()=>Vi,createSSRApp:()=>Ps,createSlots:()=>oi,createStaticVNode:()=>qee,createTextVNode:()=>la,createVNode:()=>X,customRef:()=>tn,defineAsyncComponent:()=>Wr,defineComponent:()=>U,defineCustomElement:()=>Qo,defineEmits:()=>ui,defineExpose:()=>di,defineModel:()=>pi,defineOptions:()=>fi,defineProps:()=>li,defineSSRCustomElement:()=>tre,defineSlots:()=>Eee,devtools:()=>zo,effect:()=>tee,effectScope:()=>dt,getCurrentInstance:()=>Do,getCurrentScope:()=>ft,getCurrentWatcher:()=>sn,getTransitionRawChildren:()=>Fr,guardReactiveProps:()=>sa,h:()=>ha,handleError:()=>ar,hasInjectionContext:()=>br,hydrate:()=>fre,hydrateOnIdle:()=>Ete,hydrateOnInteraction:()=>kte,hydrateOnMediaQuery:()=>Ote,hydrateOnVisible:()=>Dte,initCustomFormatter:()=>ate,initDirectivesForSSR:()=>mre,inject:()=>yr,isMemoSame:()=>ga,isProxy:()=>qt,isReactive:()=>Wt,isReadonly:()=>Gt,isRef:()=>Xt,isRuntimeOnly:()=>Fo,isShallow:()=>Kt,isVNode:()=>aa,markRaw:()=>Yt,mergeDefaults:()=>_i,mergeModels:()=>vi,mergeProps:()=>fa,nextTick:()=>or,nodeOps:()=>ls,normalizeClass:()=>p,normalizeProps:()=>m,normalizeStyle:()=>u,onActivated:()=>qr,onBeforeMount:()=>Ka,onBeforeUnmount:()=>Xa,onBeforeUpdate:()=>Ja,onDeactivated:()=>Jr,onErrorCaptured:()=>ei,onMounted:()=>qa,onRenderTracked:()=>eo,onRenderTriggered:()=>$a,onScopeDispose:()=>pt,onServerPrefetch:()=>Qa,onUnmounted:()=>Za,onUpdated:()=>Ya,onWatcherCleanup:()=>cn,openBlock:()=>G,patchProp:()=>vs,popScopeId:()=>hr,provide:()=>vr,proxyRefs:()=>en,pushScopeId:()=>mr,queuePostFlushCb:()=>lr,reactive:()=>zt,readonly:()=>Vt,ref:()=>z,registerRuntimeCompiler:()=>ete,render:()=>Ms,renderList:()=>ai,renderSlot:()=>W,resolveComponent:()=>ti,resolveDirective:()=>ri,resolveDynamicComponent:()=>ni,resolveFilter:()=>null,resolveTransitionHooks:()=>jr,setBlockTracking:()=>ia,setDevtoolsHook:()=>Bo,setTransitionHooks:()=>Pr,shallowReactive:()=>Bt,shallowReadonly:()=>Ht,shallowRef:()=>Zt,ssrContextKey:()=>ka,ssrUtils:()=>Vo,stop:()=>nee,toDisplayString:()=>st,toHandlerKey:()=>be,toHandlers:()=>ci,toRaw:()=>Jt,toRef:()=>rn,toRefs:()=>nn,toValue:()=>$t,transformVNodeArgs:()=>Gee,triggerRef:()=>Qt,unref:()=>B,useAttrs:()=>hi,useCssModule:()=>es,useCssVars:()=>qo,useHost:()=>$o,useId:()=>Ir,useModel:()=>Oi,useSSRContext:()=>Aa,useShadowRoot:()=>vne,useSlots:()=>mi,useTemplateRef:()=>Rr,useTransitionState:()=>kr,vModelCheckbox:()=>Ts,vModelDynamic:()=>Os,vModelRadio:()=>Es,vModelSelect:()=>Ds,vModelText:()=>ws,vShow:()=>gs,version:()=>Io,warn:()=>Lo,watch:()=>H,watchEffect:()=>xr,watchPostEffect:()=>Sr,watchSyncEffect:()=>Cr,withAsyncContext:()=>kee,withCtx:()=>V,withDefaults:()=>Dee,withDirectives:()=>gr,withKeys:()=>As,withMemo:()=>ote,withModifiers:()=>ks,withScopeId:()=>Oa});hre();var _re=()=>{};function vre(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}var Fs=typeof window<`u`,Is=(e,t=!1)=>t?Symbol.for(e):Symbol(e),yre=(e,t,n)=>bre({l:e,k:t,s:n}),bre=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),Ls=e=>typeof e==`number`&&isFinite(e),xre=e=>Fre(e)===`[object Date]`,Rs=e=>Fre(e)===`[object RegExp]`,zs=e=>Ys(e)&&Object.keys(e).length===0,Bs=Object.assign,Sre=Object.create,Vs=(e=null)=>Sre(e),Cre,Hs=()=>Cre||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:Vs();function wre(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\//g,`/`).replace(/=/g,`=`)}function Tre(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}var Ere=/^\s*javascript\s*(?::|�*58;?|�*3a;?|:?)/i,Dre=/^(?:href|src|action|formaction)$/i;function Ore(e){return Ere.test(e)}function kre(e){let t=/url\s*\(/gi,n=``,r=0,i;for(;(i=t.exec(e))!==null;){let a=i.index,o=t.lastIndex-1,s=o+1,c=1,l=null;for(;s<e.length;s++){let t=e[s];if(l){t===l&&(l=null);continue}if(t===`"`||t===`'`)l=t;else if(t===`(`)c++;else if(t===`)`&&(c--,c===0))break}if(c!==0)break;let u=e.slice(o+1,s).trim(),d=u.startsWith(`"`)&&u.endsWith(`"`)||u.startsWith(`'`)&&u.endsWith(`'`)?u.slice(1,-1).trim():u;n+=e.slice(r,a),n+=Ore(d)?`url(about:blank)`:e.slice(a,s+1),r=s+1}return n+e.slice(r)}function Are(e,t){return Dre.test(e)&&Ore(t)?`about:blank`:Tre(e.toLowerCase()===`style`?kre(t):t)}function jre(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${Are(t,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${Are(t,n)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,`$1on$3`)),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(e,t,n)=>Ore(n)?`${t}about:blank`:e),e}var Mre=Object.prototype.hasOwnProperty;function Us(e,t){return Mre.call(e,t)}var Ws=Array.isArray,Gs=e=>typeof e==`function`,Ks=e=>typeof e==`string`,qs=e=>typeof e==`boolean`,Js=e=>typeof e==`object`&&!!e,Nre=e=>Js(e)&&Gs(e.then)&&Gs(e.catch),Pre=Object.prototype.toString,Fre=e=>Pre.call(e),Ys=e=>Fre(e)===`[object Object]`,Ire=e=>e==null?``:Ws(e)||Ys(e)&&e.toString===Pre?JSON.stringify(e,null,2):String(e);function Lre(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}var Xs=e=>!Js(e)||Ws(e);function Zs(e,t){if(Xs(e)||Xs(t))throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{r!==`__proto__`&&(Js(e[r])&&!Js(t[r])&&(t[r]=Array.isArray(e[r])?[]:Vs()),Xs(t[r])||Xs(e[r])?t[r]=e[r]:n.push({src:e[r],des:t[r]}))})}}function Rre(e,t,n){return{line:e,column:t,offset:n}}function zre(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var Qs={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};Qs.EXPECTED_TOKEN,Qs.INVALID_TOKEN_IN_PLACEHOLDER,Qs.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,Qs.UNKNOWN_ESCAPE_SEQUENCE,Qs.INVALID_UNICODE_ESCAPE_SEQUENCE,Qs.UNBALANCED_CLOSING_BRACE,Qs.UNTERMINATED_CLOSING_BRACE,Qs.EMPTY_PLACEHOLDER,Qs.NOT_ALLOW_NEST_PLACEHOLDER,Qs.INVALID_LINKED_FORMAT,Qs.MUST_HAVE_MESSAGES_IN_PLURAL,Qs.UNEXPECTED_EMPTY_LINKED_MODIFIER,Qs.UNEXPECTED_EMPTY_LINKED_KEY,Qs.UNEXPECTED_LEXICAL_ANALYSIS,Qs.UNHANDLED_CODEGEN_NODE_TYPE,Qs.UNHANDLED_MINIFIER_NODE_TYPE;function $s(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function Bre(e){throw e}var ec=` `,Vre=`\r`,tc=`
|
|
@@ -639,4 +639,4 @@ https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(
|
|
|
639
639
|
`+t.prev+t.base;return n+C.call(e,`,`+n)+`
|
|
640
640
|
`+t.prev}function je(e,t){var n=re(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=pe(e,i)?t(e[i],e):``}var a=typeof D==`function`?D(e):[],o;if(k){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)pe(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&o[`$`+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof D==`function`)for(var l=0;l<a.length;l++)j.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),KKn=i(((e,t)=>{var n=pY(),r=GKn(),i=n7(),a=t7();t.exports=function(e,t){if(!a(e))throw new n(`Assertion failed: Type(O) is not Object`);if(!i(t))throw new n(`Assertion failed: P is not a Property Key, got `+r(t));return e[t]}})),qKn=i(((e,t)=>{t.exports=2**53-1||9007199254740991})),JKn=i(((e,t)=>{var n=Kqt();t.exports=function(e){return typeof e==`bigint`?e:n(e)}})),YKn=i(((e,t)=>{var n=JKn(),r=pY();t.exports=function(e){if(typeof e!=`number`&&typeof e!=`bigint`)throw new r(`argument must be a Number or a BigInt`);var t=e<0?-n(-e):n(e);return t===0?0:t}})),XKn=i(((e,t)=>{var n=SKn(),r=YKn(),i=mY(),a=QGn();t.exports=function(e){var t=n(e);return i(t)||t===0?0:a(t)?r(t):t}})),ZKn=i(((e,t)=>{var n=qKn(),r=XKn();t.exports=function(e){var t=r(e);return t<=0?0:t>n?n:t}})),QKn=i(((e,t)=>{var n=pY(),r=t7(),i=KKn(),a=ZKn();t.exports=function(e){if(!r(e))throw new n("Assertion failed: `obj` must be an Object");return a(i(e,`length`))}})),$Kn=i(((e,t)=>{var n=pY(),r=t7(),i=n7();t.exports=function(e,t){if(!r(e))throw new n("Assertion failed: `O` must be an Object");if(!i(t))throw new n("Assertion failed: `P` must be a Property Key");return t in e}})),eqn=i(((e,t)=>{var n=function(){return typeof function(){}.name==`string`},r=Object.getOwnPropertyDescriptor;if(r)try{r([],`length`)}catch{r=null}n.functionsHaveConfigurableNames=function(){if(!n()||!r)return!1;var e=r(function(){},`name`);return!!e&&!!e.configurable};var i=Function.prototype.bind;n.boundFunctionsHaveNames=function(){return n()&&typeof i==`function`&&function(){}.bind().name!==``},t.exports=n})),tqn=i(((e,t)=>{var n=wY(),r=yY(),i=eqn()(),a=CY(),o=a(`Function.prototype.toString`),s=a(`String.prototype.match`),c=a(`Object.prototype.toString`),l=/^class /,u=function(e){if(n(e)||typeof e!=`function`)return!1;try{return!!s(o(e),l)}catch{}return!1},d=/\s*function\s+([^(\s]*)\s*/,f=!(0 in[,]),p=`[object Object]`,m=`[object HTMLAllCollection]`,h=Function.prototype,g=function(){return!1};if(typeof document==`object`){var _=document.all;c(_)===c(document.all)&&(g=function(e){if((f||!e)&&(e===void 0||typeof e==`object`))try{var t=c(e);return(t===m||t===p)&&e(``)==null}catch{}return!1})}t.exports=function(){if(g(this)||!u(this)&&!n(this))throw TypeError(`Function.prototype.name sham getter called on non-function`);if(i&&r(this,`name`))return this.name;if(this===h)return``;var e=s(o(this),d);return e&&e[1]}})),nqn=i(((e,t)=>{var n=tqn();t.exports=function(){return n}})),rqn=i(((e,t)=>{var n=EY().supportsDescriptors,r=eqn()(),i=nqn(),a=Object.defineProperty,o=TypeError;t.exports=function(){var e=i();if(r)return e;if(!n)throw new o(`Shimming Function.prototype.name support requires ES5 property descriptor support.`);var t=Function.prototype;return a(t,`name`,{configurable:!0,enumerable:!1,get:function(){var n=e.call(this);return this!==t&&a(this,`name`,{configurable:!0,enumerable:!1,value:n,writable:!1}),n}}),e}})),iqn=i(((e,t)=>{var n=EY(),r=SY(),i=tqn(),a=nqn(),o=rqn(),s=r(i);n(s,{getPolyfill:a,implementation:i,shim:o}),t.exports=s})),aqn=i(((e,t)=>{var n=iqn(),r=n(function(){});t.exports=function(e){return typeof e==`function`&&(!e.prototype||n(e)===r)}})),oqn=i(((e,t)=>{var n=pY(),r=CY(),i=$Gn(),a=t7(),o=KKn(),s=$Kn(),c=e7(),l=aqn(),u=r(`Array.prototype.sort`);t.exports=function(e,t,r,d){if(!a(e))throw new n(`Assertion failed: Type(obj) is not Object`);if(!i(t)||t<0)throw new n("Assertion failed: `len` must be an integer >= 0");if(!l(r)||r.length!==2)throw new n("Assertion failed: `SortCompare` must be an abstract closure taking 2 arguments");if(d!==`skip-holes`&&d!==`read-through-holes`)throw new n("Assertion failed: `holes` must be either ~skip-holes~ or ~read-through-holes~");for(var f=[],p=0;p<t;){var m=c(p);if(d!==`skip-holes`||s(e,m)){var h=o(e,m);f[f.length]=h}p+=1}return u(f,r),f}})),sqn=i(((e,t)=>{var n=dY(),r=gKn();t.exports=function(e){return r(e),n(e)}})),cqn=i(((e,t)=>{t.exports=sqn()})),lqn=i(((e,t)=>{var n=aKn(),r=OKn(),i=WKn(),a=jKn(),o=QKn(),s=oqn(),c=cqn(),l=e7(),u=pY();t.exports=function(e){if(e!==void 0&&!a(e))throw new u("`comparefn` must be a function");for(var t=c(this),d=o(t),f=n(d),p=s(t,d,function(t,n){return r(t,n,e)},`read-through-holes`),m=0;m<d;)i(f,l(m),p[m]),m+=1;return f}})),uqn=i(((e,t)=>{var n=lqn();t.exports=function(){return Array.prototype.toSorted||n}})),dqn=i(((e,t)=>{var n=yY(),r=typeof Symbol==`function`&&typeof Symbol.unscopables==`symbol`,i=r&&Array.prototype[Symbol.unscopables],a=TypeError;t.exports=function(e){if(typeof e!=`string`||!e)throw new a(`method must be a non-empty string`);if(!n(Array.prototype,e))throw new a(`method must be on Array.prototype`);r&&i&&(i[e]=!0)}})),fqn=i(((e,t)=>{var n=EY(),r=dqn(),i=uqn();t.exports=function(){var e=i();return n(Array.prototype,{toSorted:e},{toSorted:function(){return Array.prototype.toSorted!==e}}),r(`toSorted`),e}})),pqn=i(((e,t)=>{var n=EY(),r=SY(),i=lqn(),a=uqn(),o=a(),s=fqn(),c=r(o);n(c,{getPolyfill:a,implementation:i,shim:s}),t.exports=c})),mqn=i(((e,t)=>{var n=function(e){var t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},i,a=typeof Symbol==`function`?Symbol:{},o=a.iterator||`@@iterator`,s=a.asyncIterator||`@@asyncIterator`,c=a.toStringTag||`@@toStringTag`;function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},``)}catch{l=function(e,t,n){return e[t]=n}}function u(e,t,n,i){var a=t&&t.prototype instanceof _?t:_,o=Object.create(a.prototype);return r(o,`_invoke`,{value:E(e,n,new A(i||[]))}),o}e.wrap=u;function d(e,t,n){try{return{type:`normal`,arg:e.call(t,n)}}catch(e){return{type:`throw`,arg:e}}}var f=`suspendedStart`,p=`suspendedYield`,m=`executing`,h=`completed`,g={};function _(){}function v(){}function y(){}var b={};l(b,o,function(){return this});var x=Object.getPrototypeOf,S=x&&x(x(j([])));S&&S!==t&&n.call(S,o)&&(b=S);var C=y.prototype=_.prototype=Object.create(b);v.prototype=y,r(C,`constructor`,{value:y,configurable:!0}),r(y,`constructor`,{value:v,configurable:!0}),v.displayName=l(y,c,`GeneratorFunction`);function w(e){[`next`,`throw`,`return`].forEach(function(t){l(e,t,function(e){return this._invoke(t,e)})})}e.isGeneratorFunction=function(e){var t=typeof e==`function`&&e.constructor;return t?t===v||(t.displayName||t.name)===`GeneratorFunction`:!1},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,`GeneratorFunction`)),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}};function T(e,t){function i(r,a,o,s){var c=d(e[r],e,a);if(c.type===`throw`)s(c.arg);else{var l=c.arg,u=l.value;return u&&typeof u==`object`&&n.call(u,`__await`)?t.resolve(u.__await).then(function(e){i(`next`,e,o,s)},function(e){i(`throw`,e,o,s)}):t.resolve(u).then(function(e){l.value=e,o(l)},function(e){return i(`throw`,e,o,s)})}}var a;function o(e,n){function r(){return new t(function(t,r){i(e,n,t,r)})}return a=a?a.then(r,r):r()}r(this,`_invoke`,{value:o})}w(T.prototype),l(T.prototype,s,function(){return this}),e.AsyncIterator=T,e.async=function(t,n,r,i,a){a===void 0&&(a=Promise);var o=new T(u(t,n,r,i),a);return e.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})};function E(e,t,n){var r=f;return function(i,a){if(r===m)throw Error(`Generator is already running`);if(r===h){if(i===`throw`)throw a;return M()}for(n.method=i,n.arg=a;;){var o=n.delegate;if(o){var s=D(o,n);if(s){if(s===g)continue;return s}}if(n.method===`next`)n.sent=n._sent=n.arg;else if(n.method===`throw`){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else n.method===`return`&&n.abrupt(`return`,n.arg);r=m;var c=d(e,t,n);if(c.type===`normal`){if(r=n.done?h:p,c.arg===g)continue;return{value:c.arg,done:n.done}}else c.type===`throw`&&(r=h,n.method=`throw`,n.arg=c.arg)}}}function D(e,t){var n=t.method,r=e.iterator[n];if(r===i)return t.delegate=null,n===`throw`&&e.iterator.return&&(t.method=`return`,t.arg=i,D(e,t),t.method===`throw`)||n!==`return`&&(t.method=`throw`,t.arg=TypeError(`The iterator does not provide a '`+n+`' method`)),g;var a=d(r,e.iterator,t.arg);if(a.type===`throw`)return t.method=`throw`,t.arg=a.arg,t.delegate=null,g;var o=a.arg;if(!o)return t.method=`throw`,t.arg=TypeError(`iterator result is not an object`),t.delegate=null,g;if(o.done)t[e.resultName]=o.value,t.next=e.nextLoc,t.method!==`return`&&(t.method=`next`,t.arg=i);else return o;return t.delegate=null,g}w(C),l(C,c,`Generator`),l(C,o,function(){return this}),l(C,`toString`,function(){return`[object Generator]`});function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type=`normal`,delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:`root`}],e.forEach(O,this),this.reset(!0)}e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}};function j(e){if(e!=null){var t=e[o];if(t)return t.call(e);if(typeof e.next==`function`)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=i,t.done=!0,t};return a.next=a}}throw TypeError(typeof e+` is not iterable`)}e.values=j;function M(){return{value:i,done:!0}}return A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method=`next`,this.arg=i,this.tryEntries.forEach(k),!e)for(var t in this)t.charAt(0)===`t`&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=i)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type===`throw`)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return s.type=`throw`,s.arg=e,t.next=n,r&&(t.method=`next`,t.arg=i),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if(o.tryLoc===`root`)return r(`end`);if(o.tryLoc<=this.prev){var c=n.call(o,`catchLoc`),l=n.call(o,`finallyLoc`);if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else if(l){if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else throw Error(`try statement without catch or finally`)}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,`finallyLoc`)&&this.prev<i.finallyLoc){var a=i;break}}a&&(e===`break`||e===`continue`)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method=`next`,this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if(e.type===`throw`)throw e.arg;return e.type===`break`||e.type===`continue`?this.next=e.arg:e.type===`return`?(this.rval=this.arg=e.arg,this.method=`return`,this.next=`end`):e.type===`normal`&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if(r.type===`throw`){var i=r.arg;k(n)}return i}}throw Error(`illegal catch attempt`)},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},this.method===`next`&&(this.arg=i),g}},e}(typeof t==`object`?t.exports:{});try{regeneratorRuntime=n}catch{typeof globalThis==`object`?globalThis.regeneratorRuntime=n:Function(`r`,`regeneratorRuntime = r`)(n)}}));function hqn(e){return e.type.indexOf(`mouse`)===-1?e.touches[0].clientX:e.clientX}function gqn(e){return e.type.indexOf(`mouse`)===-1?e.touches[0].clientY:e.clientY}var _qn=(function(){var e=!1;try{var t=Object.defineProperty({},`passive`,{get:function(){e=!0}});window.addEventListener(`test`,null,t)}catch{}return e})(),vqn={install:function(e,t){var n=Object.assign({},{disableClick:!1,tapTolerance:10,swipeTolerance:30,touchHoldTolerance:400,longTapTimeInterval:400,touchClass:``,dragFrequency:100,rollOverFrequency:100},t);function r(e){var t=this.$$touchObj,n=e.type.indexOf(`touch`)>=0,r=e.type.indexOf(`mouse`)>=0,i=this;n&&(t.lastTouchStartTime=e.timeStamp),!(r&&t.lastTouchStartTime&&e.timeStamp-t.lastTouchStartTime<350)&&(t.touchStarted||(d(this),t.touchStarted=!0,t.touchMoved=!1,t.swipeOutBounded=!1,t.startX=hqn(e),t.startY=gqn(e),t.currentX=0,t.currentY=0,t.touchStartTime=e.timeStamp,t.hasSwipe=l(this,`swipe`)||l(this,`swipe.left`)||l(this,`swipe.right`)||l(this,`swipe.top`)||l(this,`swipe.bottom`),l(this,`hold`)&&(t.touchHoldTimer=setTimeout(function(){t.touchHoldTimer=null,u(e,i,`hold`)},t.options.touchHoldTolerance)),u(e,this,`press`)))}function i(e){var t=this.$$touchObj,n=hqn(e),r=gqn(e),i=t.currentX!=n||t.currentY!=r;if(t.currentX=n,t.currentY=r,!t.touchMoved){var a=t.options.tapTolerance;t.touchMoved=Math.abs(t.startX-t.currentX)>a||Math.abs(t.startY-t.currentY)>a,t.touchMoved&&(p(t),u(e,this,`drag.once`))}else if(t.hasSwipe&&!t.swipeOutBounded){var o=t.options.swipeTolerance;t.swipeOutBounded=Math.abs(t.startX-t.currentX)>o&&Math.abs(t.startY-t.currentY)>o}if(l(this,`rollover`)&&i){var s=e.timeStamp,c=t.options.rollOverFrequency;(t.touchRollTime==null||s>t.touchRollTime+c)&&(t.touchRollTime=s,u(e,this,`rollover`))}if(l(this,`drag`)&&t.touchStarted&&t.touchMoved&&i){var s=e.timeStamp,c=t.options.dragFrequency;(t.touchDragTime==null||s>t.touchDragTime+c)&&(t.touchDragTime=s,u(e,this,`drag`))}}function a(){var e=this.$$touchObj;p(e),f(this),e.touchStarted=e.touchMoved=!1,e.startX=e.startY=0}function o(e){var t=this.$$touchObj,n=e.type.indexOf(`touch`)>=0,r=e.type.indexOf(`mouse`)>=0;n&&(t.lastTouchEndTime=e.timeStamp);var i=n&&!t.touchHoldTimer;if(p(t),t.touchStarted=!1,f(this),!(r&&t.lastTouchEndTime&&e.timeStamp-t.lastTouchEndTime<350)){if(u(e,this,`release`),!t.touchMoved)if(l(this,`longtap`)&&e.timeStamp-t.touchStartTime>t.options.longTapTimeInterval)e.cancelable&&e.preventDefault(),u(e,this,`longtap`);else if(l(this,`hold`)&&i){e.cancelable&&e.preventDefault();return}else u(e,this,`tap`);else if(t.hasSwipe&&!t.swipeOutBounded){var a=t.options.swipeTolerance,o,s=Math.abs(t.startY-t.currentY),c=Math.abs(t.startX-t.currentX);(s>a||c>a)&&(o=s>a?t.startY>t.currentY?`top`:`bottom`:t.startX>t.currentX?`left`:`right`,l(this,`swipe.`+o)?u(e,this,`swipe.`+o,o):u(e,this,`swipe`,o))}}}function s(){d(this)}function c(){f(this)}function l(e,t){var n=e.$$touchObj.callbacks[t];return n!=null&&n.length>0}function u(e,t,n,r){var i=t.$$touchObj.callbacks[n];if(i==null||i.length===0)return null;for(var a=0;a<i.length;a++){var o=i[a];o.modifiers.stop&&e.stopPropagation(),o.modifiers.prevent&&e.preventDefault(),!(o.modifiers.self&&e.target!==e.currentTarget)&&typeof o.value==`function`&&(r?o.value(r,e):o.value(e))}}function d(e){var t=e.$$touchObj.options.touchClass;t&&e.classList.add(t)}function f(e){var t=e.$$touchObj.options.touchClass;t&&e.classList.remove(t)}function p(e){e.touchHoldTimer&&=(clearTimeout(e.touchHoldTimer),null)}function m(e,t){var r=e.$$touchObj||{callbacks:{},hasBindTouchEvents:!1,options:n};return t&&(r.options=Object.assign({},r.options,t)),e.$$touchObj=r,e.$$touchObj}e.directive(`touch`,{beforeMount:function(e,t){var n=m(e),l=_qn?{passive:!0}:!1,u=t.arg||`tap`;switch(u){case`swipe`:var d=t.modifiers;if(d.left||d.right||d.top||d.bottom){for(var f in t.modifiers)if([`left`,`right`,`top`,`bottom`].indexOf(f)>=0){var p=`swipe.`+f;n.callbacks[p]=n.callbacks[p]||[],n.callbacks[p].push(t)}}else n.callbacks.swipe=n.callbacks.swipe||[],n.callbacks.swipe.push(t);break;case`press`:case`drag`:t.modifiers.disablePassive&&(l=!1);default:n.callbacks[u]=n.callbacks[u]||[],n.callbacks[u].push(t)}n.hasBindTouchEvents||=(e.addEventListener(`touchstart`,r,l),e.addEventListener(`touchmove`,i,l),e.addEventListener(`touchcancel`,a),e.addEventListener(`touchend`,o),n.options.disableClick||(e.addEventListener(`mousedown`,r),e.addEventListener(`mousemove`,i),e.addEventListener(`mouseup`,o),e.addEventListener(`mouseenter`,s),e.addEventListener(`mouseleave`,c)),!0)},unmounted:function(e){e.removeEventListener(`touchstart`,r),e.removeEventListener(`touchmove`,i),e.removeEventListener(`touchcancel`,a),e.removeEventListener(`touchend`,o),e.$$touchObj&&!e.$$touchObj.options.disableClick&&(e.removeEventListener(`mousedown`,r),e.removeEventListener(`mousemove`,i),e.removeEventListener(`mouseup`,o),e.removeEventListener(`mouseenter`,s),e.removeEventListener(`mouseleave`,c)),delete e.$$touchObj}}),e.directive(`touch-class`,{beforeMount:function(e,t){m(e,{touchClass:t.value})}}),e.directive(`touch-options`,{beforeMount:function(e,t){m(e,t.value)}})}};function i7(e){return e+.5|0}var a7=(e,t,n)=>Math.max(Math.min(e,n),t);function o7(e){return a7(i7(e*2.55),0,255)}function s7(e){return a7(i7(e*255),0,255)}function c7(e){return a7(i7(e/2.55)/100,0,1)}function yqn(e){return a7(i7(e*100),0,100)}var l7={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},bqn=[...`0123456789ABCDEF`],xqn=e=>bqn[e&15],Sqn=e=>bqn[(e&240)>>4]+bqn[e&15],u7=e=>(e&240)>>4==(e&15),Cqn=e=>u7(e.r)&&u7(e.g)&&u7(e.b)&&u7(e.a);function wqn(e){var t=e.length,n;return e[0]===`#`&&(t===4||t===5?n={r:255&l7[e[1]]*17,g:255&l7[e[2]]*17,b:255&l7[e[3]]*17,a:t===5?l7[e[4]]*17:255}:(t===7||t===9)&&(n={r:l7[e[1]]<<4|l7[e[2]],g:l7[e[3]]<<4|l7[e[4]],b:l7[e[5]]<<4|l7[e[6]],a:t===9?l7[e[7]]<<4|l7[e[8]]:255})),n}var Tqn=(e,t)=>e<255?t(e):``;function Eqn(e){var t=Cqn(e)?xqn:Sqn;return e?`#`+t(e.r)+t(e.g)+t(e.b)+Tqn(e.a,t):void 0}var Dqn=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Oqn(e,t,n){let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function kqn(e,t,n){let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Aqn(e,t,n){let r=Oqn(e,1,.5),i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function jqn(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}function Mqn(e){let t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=(i+a)/2,s,c,l;return i!==a&&(l=i-a,c=o>.5?l/(2-i-a):l/(i+a),s=jqn(t,n,r,l,i),s=s*60+.5),[s|0,c||0,o]}function Nqn(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(s7)}function Pqn(e,t,n){return Nqn(Oqn,e,t,n)}function Fqn(e,t,n){return Nqn(Aqn,e,t,n)}function Iqn(e,t,n){return Nqn(kqn,e,t,n)}function Lqn(e){return(e%360+360)%360}function Rqn(e){let t=Dqn.exec(e),n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?o7(+t[5]):s7(+t[5]));let i=Lqn(+t[2]),a=t[3]/100,o=t[4]/100;return r=t[1]===`hwb`?Fqn(i,a,o):t[1]===`hsv`?Iqn(i,a,o):Pqn(i,a,o),{r:r[0],g:r[1],b:r[2],a:n}}function zqn(e,t){var n=Mqn(e);n[0]=Lqn(n[0]+t),n=Pqn(n),e.r=n[0],e.g=n[1],e.b=n[2]}function Bqn(e){if(!e)return;let t=Mqn(e),n=t[0],r=yqn(t[1]),i=yqn(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${c7(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}var Vqn={x:`dark`,Z:`light`,Y:`re`,X:`blu`,W:`gr`,V:`medium`,U:`slate`,A:`ee`,T:`ol`,S:`or`,B:`ra`,C:`lateg`,D:`ights`,R:`in`,Q:`turquois`,E:`hi`,P:`ro`,O:`al`,N:`le`,M:`de`,L:`yello`,F:`en`,K:`ch`,G:`arks`,H:`ea`,I:`ightg`,J:`wh`},Hqn={OiceXe:`f0f8ff`,antiquewEte:`faebd7`,aqua:`ffff`,aquamarRe:`7fffd4`,azuY:`f0ffff`,beige:`f5f5dc`,bisque:`ffe4c4`,black:`0`,blanKedOmond:`ffebcd`,Xe:`ff`,XeviTet:`8a2be2`,bPwn:`a52a2a`,burlywood:`deb887`,caMtXe:`5f9ea0`,KartYuse:`7fff00`,KocTate:`d2691e`,cSO:`ff7f50`,cSnflowerXe:`6495ed`,cSnsilk:`fff8dc`,crimson:`dc143c`,cyan:`ffff`,xXe:`8b`,xcyan:`8b8b`,xgTMnPd:`b8860b`,xWay:`a9a9a9`,xgYF:`6400`,xgYy:`a9a9a9`,xkhaki:`bdb76b`,xmagFta:`8b008b`,xTivegYF:`556b2f`,xSange:`ff8c00`,xScEd:`9932cc`,xYd:`8b0000`,xsOmon:`e9967a`,xsHgYF:`8fbc8f`,xUXe:`483d8b`,xUWay:`2f4f4f`,xUgYy:`2f4f4f`,xQe:`ced1`,xviTet:`9400d3`,dAppRk:`ff1493`,dApskyXe:`bfff`,dimWay:`696969`,dimgYy:`696969`,dodgerXe:`1e90ff`,fiYbrick:`b22222`,flSOwEte:`fffaf0`,foYstWAn:`228b22`,fuKsia:`ff00ff`,gaRsbSo:`dcdcdc`,ghostwEte:`f8f8ff`,gTd:`ffd700`,gTMnPd:`daa520`,Way:`808080`,gYF:`8000`,gYFLw:`adff2f`,gYy:`808080`,honeyMw:`f0fff0`,hotpRk:`ff69b4`,RdianYd:`cd5c5c`,Rdigo:`4b0082`,ivSy:`fffff0`,khaki:`f0e68c`,lavFMr:`e6e6fa`,lavFMrXsh:`fff0f5`,lawngYF:`7cfc00`,NmoncEffon:`fffacd`,ZXe:`add8e6`,ZcSO:`f08080`,Zcyan:`e0ffff`,ZgTMnPdLw:`fafad2`,ZWay:`d3d3d3`,ZgYF:`90ee90`,ZgYy:`d3d3d3`,ZpRk:`ffb6c1`,ZsOmon:`ffa07a`,ZsHgYF:`20b2aa`,ZskyXe:`87cefa`,ZUWay:`778899`,ZUgYy:`778899`,ZstAlXe:`b0c4de`,ZLw:`ffffe0`,lime:`ff00`,limegYF:`32cd32`,lRF:`faf0e6`,magFta:`ff00ff`,maPon:`800000`,VaquamarRe:`66cdaa`,VXe:`cd`,VScEd:`ba55d3`,VpurpN:`9370db`,VsHgYF:`3cb371`,VUXe:`7b68ee`,VsprRggYF:`fa9a`,VQe:`48d1cc`,VviTetYd:`c71585`,midnightXe:`191970`,mRtcYam:`f5fffa`,mistyPse:`ffe4e1`,moccasR:`ffe4b5`,navajowEte:`ffdead`,navy:`80`,Tdlace:`fdf5e6`,Tive:`808000`,TivedBb:`6b8e23`,Sange:`ffa500`,SangeYd:`ff4500`,ScEd:`da70d6`,pOegTMnPd:`eee8aa`,pOegYF:`98fb98`,pOeQe:`afeeee`,pOeviTetYd:`db7093`,papayawEp:`ffefd5`,pHKpuff:`ffdab9`,peru:`cd853f`,pRk:`ffc0cb`,plum:`dda0dd`,powMrXe:`b0e0e6`,purpN:`800080`,YbeccapurpN:`663399`,Yd:`ff0000`,Psybrown:`bc8f8f`,PyOXe:`4169e1`,saddNbPwn:`8b4513`,sOmon:`fa8072`,sandybPwn:`f4a460`,sHgYF:`2e8b57`,sHshell:`fff5ee`,siFna:`a0522d`,silver:`c0c0c0`,skyXe:`87ceeb`,UXe:`6a5acd`,UWay:`708090`,UgYy:`708090`,snow:`fffafa`,sprRggYF:`ff7f`,stAlXe:`4682b4`,tan:`d2b48c`,teO:`8080`,tEstN:`d8bfd8`,tomato:`ff6347`,Qe:`40e0d0`,viTet:`ee82ee`,JHt:`f5deb3`,wEte:`ffffff`,wEtesmoke:`f5f5f5`,Lw:`ffff00`,LwgYF:`9acd32`};function Uqn(){let e={},t=Object.keys(Hqn),n=Object.keys(Vqn),r,i,a,o,s;for(r=0;r<t.length;r++){for(o=s=t[r],i=0;i<n.length;i++)a=n[i],s=s.replace(a,Vqn[a]);a=parseInt(Hqn[o],16),e[s]=[a>>16&255,a>>8&255,a&255]}return e}var d7;function Wqn(e){d7||(d7=Uqn(),d7.transparent=[0,0,0,0]);let t=d7[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}var Gqn=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function Kqn(e){let t=Gqn.exec(e),n=255,r,i,a;if(t){if(t[7]!==r){let e=+t[7];n=t[8]?o7(e):a7(e*255,0,255)}return r=+t[1],i=+t[3],a=+t[5],r=255&(t[2]?o7(r):a7(r,0,255)),i=255&(t[4]?o7(i):a7(i,0,255)),a=255&(t[6]?o7(a):a7(a,0,255)),{r,g:i,b:a,a:n}}}function qqn(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${c7(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}var Jqn=e=>e<=.0031308?e*12.92:e**(1/2.4)*1.055-.055,f7=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Yqn(e,t,n){let r=f7(c7(e.r)),i=f7(c7(e.g)),a=f7(c7(e.b));return{r:s7(Jqn(r+n*(f7(c7(t.r))-r))),g:s7(Jqn(i+n*(f7(c7(t.g))-i))),b:s7(Jqn(a+n*(f7(c7(t.b))-a))),a:e.a+n*(t.a-e.a)}}function p7(e,t,n){if(e){let r=Mqn(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=Pqn(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Xqn(e,t){return e&&Object.assign(t||{},e)}function Zqn(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=s7(e[3]))):(t=Xqn(e,{r:0,g:0,b:0,a:1}),t.a=s7(t.a)),t}function Qqn(e){return e.charAt(0)===`r`?Kqn(e):Rqn(e)}var $qn=class e{constructor(t){if(t instanceof e)return t;let n=typeof t,r;n===`object`?r=Zqn(t):n===`string`&&(r=wqn(t)||Wqn(t)||Qqn(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var e=Xqn(this._rgb);return e&&(e.a=c7(e.a)),e}set rgb(e){this._rgb=Zqn(e)}rgbString(){return this._valid?qqn(this._rgb):void 0}hexString(){return this._valid?Eqn(this._rgb):void 0}hslString(){return this._valid?Bqn(this._rgb):void 0}mix(e,t){if(e){let n=this.rgb,r=e.rgb,i,a=t===i?.5:t,o=2*a-1,s=n.a-r.a,c=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-c,n.r=255&c*n.r+i*r.r+.5,n.g=255&c*n.g+i*r.g+.5,n.b=255&c*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=Yqn(this._rgb,e._rgb,t)),this}clone(){return new e(this.rgb)}alpha(e){return this._rgb.a=s7(e),this}clearer(e){let t=this._rgb;return t.a*=1-e,this}greyscale(){let e=this._rgb;return e.r=e.g=e.b=i7(e.r*.3+e.g*.59+e.b*.11),this}opaquer(e){let t=this._rgb;return t.a*=1+e,this}negate(){let e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return p7(this._rgb,2,e),this}darken(e){return p7(this._rgb,2,-e),this}saturate(e){return p7(this._rgb,1,e),this}desaturate(e){return p7(this._rgb,1,-e),this}rotate(e){return zqn(this._rgb,e),this}};function m7(){}var eJn=(()=>{let e=0;return()=>e++})();function h7(e){return e==null}function g7(e){if(Array.isArray&&Array.isArray(e))return!0;let t=Object.prototype.toString.call(e);return t.slice(0,7)===`[object`&&t.slice(-6)===`Array]`}function _7(e){return e!==null&&Object.prototype.toString.call(e)===`[object Object]`}function v7(e){return(typeof e==`number`||e instanceof Number)&&isFinite(+e)}function y7(e,t){return v7(e)?e:t}function b7(e,t){return e===void 0?t:e}var tJn=(e,t)=>typeof e==`string`&&e.endsWith(`%`)?parseFloat(e)/100*t:+e;function x7(e,t,n){if(e&&typeof e.call==`function`)return e.apply(n,t)}function S7(e,t,n,r){let i,a,o;if(g7(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<a;i++)t.call(n,e[i],i);else if(_7(e))for(o=Object.keys(e),a=o.length,i=0;i<a;i++)t.call(n,e[o[i]],o[i])}function C7(e,t){let n,r,i,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],a=t[n],i.datasetIndex!==a.datasetIndex||i.index!==a.index)return!1;return!0}function w7(e){if(g7(e))return e.map(w7);if(_7(e)){let t=Object.create(null),n=Object.keys(e),r=n.length,i=0;for(;i<r;++i)t[n[i]]=w7(e[n[i]]);return t}return e}function nJn(e){return[`__proto__`,`prototype`,`constructor`].indexOf(e)===-1}function rJn(e,t,n,r){if(!nJn(e))return;let i=t[e],a=n[e];_7(i)&&_7(a)?T7(i,a,r):t[e]=w7(a)}function T7(e,t,n){let r=g7(t)?t:[t],i=r.length;if(!_7(e))return e;n||={};let a=n.merger||rJn,o;for(let t=0;t<i;++t){if(o=r[t],!_7(o))continue;let i=Object.keys(o);for(let t=0,r=i.length;t<r;++t)a(i[t],e,o,n)}return e}function E7(e,t){return T7(e,t,{merger:iJn})}function iJn(e,t,n){if(!nJn(e))return;let r=t[e],i=n[e];_7(r)&&_7(i)?E7(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=w7(i))}var aJn={"":e=>e,x:e=>e.x,y:e=>e.y};function oJn(e){let t=e.split(`.`),n=[],r=``;for(let e of t)r+=e,r.endsWith(`\\`)?r=r.slice(0,-1)+`.`:(n.push(r),r=``);return n}function sJn(e){let t=oJn(e);return e=>{for(let n of t){if(n===``)break;e&&=e[n]}return e}}function D7(e,t){return(aJn[t]||(aJn[t]=sJn(t)))(e)}function cJn(e){return e.charAt(0).toUpperCase()+e.slice(1)}var O7=e=>e!==void 0,k7=e=>typeof e==`function`,lJn=(e,t)=>{if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0};function uJn(e){return e.type===`mouseup`||e.type===`click`||e.type===`contextmenu`}var A7=Math.PI,j7=2*A7,dJn=j7+A7,M7=1/0,fJn=A7/180,N7=A7/2,P7=A7/4,pJn=A7*2/3,F7=Math.log10,I7=Math.sign;function L7(e,t,n){return Math.abs(e-t)<n}function mJn(e){let t=Math.round(e);e=L7(e,t,e/1e3)?t:e;let n=10**Math.floor(F7(e)),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function hJn(e){let t=[],n=Math.sqrt(e),r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(n|0)&&t.push(n),t.sort((e,t)=>e-t).pop(),t}function R7(e){return!isNaN(parseFloat(e))&&isFinite(e)}function gJn(e,t){let n=Math.round(e);return n-t<=e&&n+t>=e}function _Jn(e,t,n){let r,i,a;for(r=0,i=e.length;r<i;r++)a=e[r][n],isNaN(a)||(t.min=Math.min(t.min,a),t.max=Math.max(t.max,a))}function z7(e){return A7/180*e}function vJn(e){return 180/A7*e}function yJn(e){if(!v7(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function bJn(e,t){let n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),a=Math.atan2(r,n);return a<-.5*A7&&(a+=j7),{angle:a,distance:i}}function xJn(e,t){return Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)}function SJn(e,t){return(e-t+dJn)%j7-A7}function B7(e){return(e%j7+j7)%j7}function CJn(e,t,n,r){let i=B7(e),a=B7(t),o=B7(n),s=B7(a-i),c=B7(o-i),l=B7(i-a),u=B7(i-o);return i===a||i===o||r&&a===o||s>c&&l<u}function V7(e,t,n){return Math.max(t,Math.min(n,e))}function wJn(e){return V7(e,-32768,32767)}function H7(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function TJn(e,t,n){n||=(n=>e[n]<t);let r=e.length-1,i=0,a;for(;r-i>1;)a=i+r>>1,n(a)?i=a:r=a;return{lo:i,hi:r}}var U7=(e,t,n,r)=>TJn(e,n,r?r=>{let i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),EJn=(e,t,n)=>TJn(e,n,r=>e[r][t]>=n);function DJn(e,t,n){let r=0,i=e.length;for(;r<i&&e[r]<t;)r++;for(;i>r&&e[i-1]>n;)i--;return r>0||i<e.length?e.slice(r,i):e}var OJn=[`push`,`pop`,`shift`,`splice`,`unshift`];function kJn(e,t){if(e._chartjs){e._chartjs.listeners.push(t);return}Object.defineProperty(e,`_chartjs`,{configurable:!0,enumerable:!1,value:{listeners:[t]}}),OJn.forEach(t=>{let n=`_onData`+cJn(t),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value(...t){let i=r.apply(this,t);return e._chartjs.listeners.forEach(e=>{typeof e[n]==`function`&&e[n](...t)}),i}})})}function AJn(e,t){let n=e._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(OJn.forEach(t=>{delete e[t]}),delete e._chartjs)}function jJn(e){let t=new Set(e);return t.size===e.length?e:Array.from(t)}var MJn=function(){return typeof window>`u`?function(e){return e()}:window.requestAnimationFrame}();function NJn(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,MJn.call(window,()=>{r=!1,e.apply(t,n)}))}}function PJn(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}var FJn=e=>e===`start`?`left`:e===`end`?`right`:`center`,W7=(e,t,n)=>e===`start`?t:e===`end`?n:(t+n)/2,IJn=(e,t,n,r)=>e===(r?`left`:`right`)?n:e===`center`?(t+n)/2:t;function LJn(e,t,n){let r=t.length,i=0,a=r;if(e._sorted){let{iScale:o,_parsed:s}=e,c=o.axis,{min:l,max:u,minDefined:d,maxDefined:f}=o.getUserBounds();d&&(i=V7(Math.min(U7(s,c,l).lo,n?r:U7(t,c,o.getPixelForValue(l)).lo),0,r-1)),a=f?V7(Math.max(U7(s,o.axis,u,!0).hi+1,n?0:U7(t,c,o.getPixelForValue(u),!0).hi+1),i,r)-i:r-i}return{start:i,count:a}}function RJn(e){let{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;let a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}var G7=e=>e===0||e===1,zJn=(e,t,n)=>-(2**(10*--e)*Math.sin((e-t)*j7/n)),BJn=(e,t,n)=>2**(-10*e)*Math.sin((e-t)*j7/n)+1,K7={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>--e*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-(--e*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>--e*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*N7)+1,easeOutSine:e=>Math.sin(e*N7),easeInOutSine:e=>-.5*(Math.cos(A7*e)-1),easeInExpo:e=>e===0?0:2**(10*(e-1)),easeOutExpo:e=>e===1?1:-(2**(-10*e))+1,easeInOutExpo:e=>G7(e)?e:e<.5?.5*2**(10*(e*2-1)):.5*(-(2**(-10*(e*2-1)))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1- --e*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>G7(e)?e:zJn(e,.075,.3),easeOutElastic:e=>G7(e)?e:BJn(e,.075,.3),easeInOutElastic(e){let t=.1125,n=.45;return G7(e)?e:e<.5?.5*zJn(e*2,t,n):.5+.5*BJn(e*2-1,t,n)},easeInBack(e){let t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){let t=1.70158;return--e*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-K7.easeOutBounce(1-e),easeOutBounce(e){let t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?K7.easeInBounce(e*2)*.5:K7.easeOutBounce(e*2-1)*.5+.5};function VJn(e){if(e&&typeof e==`object`){let t=e.toString();return t===`[object CanvasPattern]`||t===`[object CanvasGradient]`}return!1}function HJn(e){return VJn(e)?e:new $qn(e)}function UJn(e){return VJn(e)?e:new $qn(e).saturate(.5).darken(.1).hexString()}var WJn=[`x`,`y`,`borderWidth`,`radius`,`tension`],GJn=[`color`,`borderColor`,`backgroundColor`];function KJn(e){e.set(`animation`,{delay:void 0,duration:1e3,easing:`easeOutQuart`,fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe(`animation`,{_fallback:!1,_indexable:!1,_scriptable:e=>e!==`onProgress`&&e!==`onComplete`&&e!==`fn`}),e.set(`animations`,{colors:{type:`color`,properties:GJn},numbers:{type:`number`,properties:WJn}}),e.describe(`animations`,{_fallback:`animation`}),e.set(`transitions`,{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:`transparent`},visible:{type:`boolean`,duration:0}}},hide:{animations:{colors:{to:`transparent`},visible:{type:`boolean`,easing:`linear`,fn:e=>e|0}}}})}function qJn(e){e.set(`layout`,{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var JJn=new Map;function YJn(e,t){t||={};let n=e+JSON.stringify(t),r=JJn.get(n);return r||(r=new Intl.NumberFormat(e,t),JJn.set(n,r)),r}function XJn(e,t,n){return YJn(t,n).format(e)}var ZJn={values(e){return g7(e)?e:``+e},numeric(e,t,n){if(e===0)return`0`;let r=this.chart.options.locale,i,a=e;if(n.length>1){let t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>0x38d7ea4c68000)&&(i=`scientific`),a=QJn(e,n)}let o=F7(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),c={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(c,this.options.ticks.format),XJn(e,r,c)},logarithmic(e,t,n){if(e===0)return`0`;let r=n[t].significand||e/10**Math.floor(F7(e));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?ZJn.numeric.call(this,e,t,n):``}};function QJn(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var q7={formatters:ZJn};function $Jn(e){e.set(`scale`,{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:`ticks`,clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:``,padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:``,padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:q7.formatters.values,minor:{},major:{},align:`center`,crossAlign:`near`,showLabelBackdrop:!1,backdropColor:`rgba(255, 255, 255, 0.75)`,backdropPadding:2}}),e.route(`scale.ticks`,`color`,``,`color`),e.route(`scale.grid`,`color`,``,`borderColor`),e.route(`scale.border`,`color`,``,`borderColor`),e.route(`scale.title`,`color`,``,`color`),e.describe(`scale`,{_fallback:!1,_scriptable:e=>!e.startsWith(`before`)&&!e.startsWith(`after`)&&e!==`callback`&&e!==`parser`,_indexable:e=>e!==`borderDash`&&e!==`tickBorderDash`&&e!==`dash`}),e.describe(`scales`,{_fallback:`scale`}),e.describe(`scale.ticks`,{_scriptable:e=>e!==`backdropPadding`&&e!==`callback`,_indexable:e=>e!==`backdropPadding`})}var J7=Object.create(null),eYn=Object.create(null);function Y7(e,t){if(!t)return e;let n=t.split(`.`);for(let t=0,r=n.length;t<r;++t){let r=n[t];e=e[r]||(e[r]=Object.create(null))}return e}function tYn(e,t,n){return typeof t==`string`?T7(Y7(e,t),n):T7(Y7(e,``),t)}var X7=new class{constructor(e,t){this.animation=void 0,this.backgroundColor=`rgba(0,0,0,0.1)`,this.borderColor=`rgba(0,0,0,0.1)`,this.color=`#666`,this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=[`mousemove`,`mouseout`,`click`,`touchstart`,`touchmove`],this.font={family:`'Helvetica Neue', 'Helvetica', 'Arial', sans-serif`,size:12,style:`normal`,lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>UJn(t.backgroundColor),this.hoverBorderColor=(e,t)=>UJn(t.borderColor),this.hoverColor=(e,t)=>UJn(t.color),this.indexAxis=`x`,this.interaction={mode:`nearest`,intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return tYn(this,e,t)}get(e){return Y7(this,e)}describe(e,t){return tYn(eYn,e,t)}override(e,t){return tYn(J7,e,t)}route(e,t,n,r){let i=Y7(this,e),a=Y7(this,n),o=`_`+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){let e=this[o],t=a[r];return _7(e)?Object.assign({},t,e):b7(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}({_scriptable:e=>!e.startsWith(`on`),_indexable:e=>e!==`events`,hover:{_fallback:`interaction`},interaction:{_scriptable:!1,_indexable:!1}},[KJn,qJn,$Jn]);function nYn(e){return!e||h7(e.size)||h7(e.family)?null:(e.style?e.style+` `:``)+(e.weight?e.weight+` `:``)+e.size+`px `+e.family}function Z7(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function rYn(e,t,n,r){r||={};let i=r.data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let o=0,s=n.length,c,l,u,d,f;for(c=0;c<s;c++)if(d=n[c],d!=null&&!g7(d))o=Z7(e,i,a,o,d);else if(g7(d))for(l=0,u=d.length;l<u;l++)f=d[l],f!=null&&!g7(f)&&(o=Z7(e,i,a,o,f));e.restore();let p=a.length/2;if(p>n.length){for(c=0;c<p;c++)delete i[a[c]];a.splice(0,p)}return o}function Q7(e,t,n){let r=e.currentDevicePixelRatio,i=n===0?0:Math.max(n/2,.5);return Math.round((t-i)*r)/r+i}function iYn(e,t){t||=e.getContext(`2d`),t.save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore()}function aYn(e,t,n,r){oYn(e,t,n,r,null)}function oYn(e,t,n,r,i){let a,o,s,c,l,u,d,f,p=t.pointStyle,m=t.rotation,h=t.radius,g=(m||0)*fJn;if(p&&typeof p==`object`&&(a=p.toString(),a===`[object HTMLImageElement]`||a===`[object HTMLCanvasElement]`)){e.save(),e.translate(n,r),e.rotate(g),e.drawImage(p,-p.width/2,-p.height/2,p.width,p.height),e.restore();return}if(!(isNaN(h)||h<=0)){switch(e.beginPath(),p){default:i?e.ellipse(n,r,i/2,h,0,0,j7):e.arc(n,r,h,0,j7),e.closePath();break;case`triangle`:u=i?i/2:h,e.moveTo(n+Math.sin(g)*u,r-Math.cos(g)*h),g+=pJn,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*h),g+=pJn,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*h),e.closePath();break;case`rectRounded`:l=h*.516,c=h-l,o=Math.cos(g+P7)*c,d=Math.cos(g+P7)*(i?i/2-l:c),s=Math.sin(g+P7)*c,f=Math.sin(g+P7)*(i?i/2-l:c),e.arc(n-d,r-s,l,g-A7,g-N7),e.arc(n+f,r-o,l,g-N7,g),e.arc(n+d,r+s,l,g,g+N7),e.arc(n-f,r+o,l,g+N7,g+A7),e.closePath();break;case`rect`:if(!m){c=Math.SQRT1_2*h,u=i?i/2:c,e.rect(n-u,r-c,2*u,2*c);break}g+=P7;case`rectRot`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+f,r-o),e.lineTo(n+d,r+s),e.lineTo(n-f,r+o),e.closePath();break;case`crossRot`:g+=P7;case`cross`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case`star`:d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o),g+=P7,d=Math.cos(g)*(i?i/2:h),o=Math.cos(g)*h,s=Math.sin(g)*h,f=Math.sin(g)*(i?i/2:h),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+f,r-o),e.lineTo(n-f,r+o);break;case`line`:o=i?i/2:Math.cos(g)*h,s=Math.sin(g)*h,e.moveTo(n-o,r-s),e.lineTo(n+o,r+s);break;case`dash`:e.moveTo(n,r),e.lineTo(n+Math.cos(g)*(i?i/2:h),r+Math.sin(g)*h);break;case!1:e.closePath();break}e.fill(),t.borderWidth>0&&e.stroke()}}function $7(e,t,n){return n||=.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function e9(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function t9(e){e.restore()}function sYn(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if(i===`middle`){let r=(t.x+n.x)/2;e.lineTo(r,t.y),e.lineTo(r,n.y)}else i===`after`==!!r?e.lineTo(n.x,t.y):e.lineTo(t.x,n.y);e.lineTo(n.x,n.y)}function cYn(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function lYn(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),h7(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}function uYn(e,t,n,r,i){if(i.strikethrough||i.underline){let a=e.measureText(r),o=t-a.actualBoundingBoxLeft,s=t+a.actualBoundingBoxRight,c=n-a.actualBoundingBoxAscent,l=n+a.actualBoundingBoxDescent,u=i.strikethrough?(c+l)/2:l;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(o,u),e.lineTo(s,u),e.stroke()}}function dYn(e,t){let n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function n9(e,t,n,r,i,a={}){let o=g7(t)?t:[t],s=a.strokeWidth>0&&a.strokeColor!==``,c,l;for(e.save(),e.font=i.string,lYn(e,a),c=0;c<o.length;++c)l=o[c],a.backdrop&&dYn(e,a.backdrop),s&&(a.strokeColor&&(e.strokeStyle=a.strokeColor),h7(a.strokeWidth)||(e.lineWidth=a.strokeWidth),e.strokeText(l,n,r,a.maxWidth)),e.fillText(l,n,r,a.maxWidth),uYn(e,n,r,l,a),r+=Number(i.lineHeight);e.restore()}function r9(e,t){let{x:n,y:r,w:i,h:a,radius:o}=t;e.arc(n+o.topLeft,r+o.topLeft,o.topLeft,1.5*A7,A7,!0),e.lineTo(n,r+a-o.bottomLeft),e.arc(n+o.bottomLeft,r+a-o.bottomLeft,o.bottomLeft,A7,N7,!0),e.lineTo(n+i-o.bottomRight,r+a),e.arc(n+i-o.bottomRight,r+a-o.bottomRight,o.bottomRight,N7,0,!0),e.lineTo(n+i,r+o.topRight),e.arc(n+i-o.topRight,r+o.topRight,o.topRight,0,-N7,!0),e.lineTo(n+o.topLeft,r)}var fYn=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,pYn=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function mYn(e,t){let n=(``+e).match(fYn);if(!n||n[1]===`normal`)return t*1.2;switch(e=+n[2],n[3]){case`px`:return e;case`%`:e/=100;break}return t*e}var hYn=e=>+e||0;function gYn(e,t){let n={},r=_7(t),i=r?Object.keys(t):t,a=_7(e)?r?n=>b7(e[n],e[t[n]]):t=>e[t]:()=>e;for(let e of i)n[e]=hYn(a(e));return n}function _Yn(e){return gYn(e,{top:`y`,right:`x`,bottom:`y`,left:`x`})}function i9(e){return gYn(e,[`topLeft`,`topRight`,`bottomLeft`,`bottomRight`])}function a9(e){let t=_Yn(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function o9(e,t){e||={},t||=X7.font;let n=b7(e.size,t.size);typeof n==`string`&&(n=parseInt(n,10));let r=b7(e.style,t.style);r&&!(``+r).match(pYn)&&(console.warn(`Invalid font style specified: "`+r+`"`),r=void 0);let i={family:b7(e.family,t.family),lineHeight:mYn(b7(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:b7(e.weight,t.weight),string:``};return i.string=nYn(i),i}function s9(e,t,n,r){let i=!0,a,o,s;for(a=0,o=e.length;a<o;++a)if(s=e[a],s!==void 0&&(t!==void 0&&typeof s==`function`&&(s=s(t),i=!1),n!==void 0&&g7(s)&&(s=s[n%s.length],i=!1),s!==void 0))return r&&!i&&(r.cacheable=!1),s}function vYn(e,t,n){let{min:r,max:i}=e,a=tJn(t,(i-r)/2),o=(e,t)=>n&&e===0?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}function c9(e,t){return Object.assign(Object.create(e),t)}function yYn(e,t=[``],n,r,i=()=>e[0]){let a=n||e;return r===void 0&&(r=PYn(`_fallback`,e)),new Proxy({[Symbol.toStringTag]:`Object`,_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>yYn([n,...e],t,a,r)},{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return CYn(n,r,()=>NYn(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return FYn(e).includes(t)},ownKeys(e){return FYn(e)},set(e,t,n){let r=e._storage||=i();return e[t]=r[t]=n,delete e._keys,!0}})}function l9(e,t,n,r){let i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:bYn(e,r),setContext:t=>l9(e,t,n,r),override:i=>l9(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return CYn(e,t,()=>wYn(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,r){return e[n]=r,delete t[n],!0}})}function bYn(e,t={scriptable:!0,indexable:!0}){let{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:k7(n)?n:()=>n,isIndexable:k7(r)?r:()=>r}}var xYn=(e,t)=>e?e+cJn(t):t,SYn=(e,t)=>_7(t)&&e!==`adapters`&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function CYn(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];let r=n();return e[t]=r,r}function wYn(e,t,n){let{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e,s=r[t];return k7(s)&&o.isScriptable(t)&&(s=TYn(t,s,e,n)),g7(s)&&s.length&&(s=EYn(t,s,e,o.isIndexable)),SYn(t,s)&&(s=l9(s,i,a&&a[t],o)),s}function TYn(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw Error(`Recursion detected: `+Array.from(s).join(`->`)+`->`+e);s.add(e);let c=t(a,o||r);return s.delete(e),SYn(e,c)&&(c=AYn(i._scopes,i,e,c)),c}function EYn(e,t,n,r){let{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(a.index!==void 0&&r(e))return t[a.index%t.length];if(_7(t[0])){let n=t,r=i._scopes.filter(e=>e!==n);t=[];for(let c of n){let n=AYn(r,i,e,c);t.push(l9(n,a,o&&o[e],s))}}return t}function DYn(e,t,n){return k7(e)?e(t,n):e}var OYn=(e,t)=>e===!0?t:typeof e==`string`?D7(t,e):void 0;function kYn(e,t,n,r,i){for(let a of t){let t=OYn(n,a);if(t){e.add(t);let a=DYn(t._fallback,n,i);if(a!==void 0&&a!==n&&a!==r)return a}else if(t===!1&&r!==void 0&&n!==r)return null}return!1}function AYn(e,t,n,r){let i=t._rootScopes,a=DYn(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let c=jYn(s,o,n,a||n,r);return c===null||a!==void 0&&a!==n&&(c=jYn(s,o,a,c,r),c===null)?!1:yYn(Array.from(s),[``],i,a,()=>MYn(t,n,r))}function jYn(e,t,n,r,i){for(;n;)n=kYn(e,t,n,r,i);return n}function MYn(e,t,n){let r=e._getTarget();t in r||(r[t]={});let i=r[t];return g7(i)&&_7(n)?n:i||{}}function NYn(e,t,n,r){let i;for(let a of t)if(i=PYn(xYn(a,e),n),i!==void 0)return SYn(e,i)?AYn(n,r,e,i):i}function PYn(e,t){for(let n of t){if(!n)continue;let t=n[e];if(t!==void 0)return t}}function FYn(e){let t=e._keys;return t||=e._keys=IYn(e._scopes),t}function IYn(e){let t=new Set;for(let n of e)for(let e of Object.keys(n).filter(e=>!e.startsWith(`_`)))t.add(e);return Array.from(t)}var LYn=2**-52||1e-14,u9=(e,t)=>t<e.length&&!e[t].skip&&e[t],RYn=e=>e===`x`?`y`:`x`;function zYn(e,t,n,r){let i=e.skip?t:e,a=t,o=n.skip?t:n,s=xJn(a,i),c=xJn(o,a),l=s/(s+c),u=c/(s+c);l=isNaN(l)?0:l,u=isNaN(u)?0:u;let d=r*l,f=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+f*(o.x-i.x),y:a.y+f*(o.y-i.y)}}}function BYn(e,t,n){let r=e.length,i,a,o,s,c,l=u9(e,0);for(let u=0;u<r-1;++u)if(c=l,l=u9(e,u+1),!(!c||!l)){if(L7(t[u],0,LYn)){n[u]=n[u+1]=0;continue}i=n[u]/t[u],a=n[u+1]/t[u],s=i**2+a**2,!(s<=9)&&(o=3/Math.sqrt(s),n[u]=i*o*t[u],n[u+1]=a*o*t[u])}}function VYn(e,t,n=`x`){let r=RYn(n),i=e.length,a,o,s,c=u9(e,0);for(let l=0;l<i;++l){if(o=s,s=c,c=u9(e,l+1),!s)continue;let i=s[n],u=s[r];o&&(a=(i-o[n])/3,s[`cp1${n}`]=i-a,s[`cp1${r}`]=u-a*t[l]),c&&(a=(c[n]-i)/3,s[`cp2${n}`]=i+a,s[`cp2${r}`]=u+a*t[l])}}function HYn(e,t=`x`){let n=RYn(t),r=e.length,i=Array(r).fill(0),a=Array(r),o,s,c,l=u9(e,0);for(o=0;o<r;++o)if(s=c,c=l,l=u9(e,o+1),c){if(l){let e=l[t]-c[t];i[o]=e===0?0:(l[n]-c[n])/e}a[o]=s?l?I7(i[o-1])===I7(i[o])?(i[o-1]+i[o])/2:0:i[o-1]:i[o]}BYn(e,i,a),VYn(e,a,t)}function d9(e,t,n){return Math.max(Math.min(e,n),t)}function UYn(e,t){let n,r,i,a,o,s=$7(e[0],t);for(n=0,r=e.length;n<r;++n)o=a,a=s,s=n<r-1&&$7(e[n+1],t),a&&(i=e[n],o&&(i.cp1x=d9(i.cp1x,t.left,t.right),i.cp1y=d9(i.cp1y,t.top,t.bottom)),s&&(i.cp2x=d9(i.cp2x,t.left,t.right),i.cp2y=d9(i.cp2y,t.top,t.bottom)))}function WYn(e,t,n,r,i){let a,o,s,c;if(t.spanGaps&&(e=e.filter(e=>!e.skip)),t.cubicInterpolationMode===`monotone`)HYn(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;a<o;++a)s=e[a],c=zYn(n,s,e[Math.min(a+1,o-(r?0:1))%o],t.tension),s.cp1x=c.previous.x,s.cp1y=c.previous.y,s.cp2x=c.next.x,s.cp2y=c.next.y,n=s}t.capBezierPoints&&UYn(e,n)}function GYn(){return typeof window<`u`&&typeof document<`u`}function KYn(e){let t=e.parentNode;return t&&t.toString()===`[object ShadowRoot]`&&(t=t.host),t}function f9(e,t,n){let r;return typeof e==`string`?(r=parseInt(e,10),e.indexOf(`%`)!==-1&&(r=r/100*t.parentNode[n])):r=e,r}var p9=e=>e.ownerDocument.defaultView.getComputedStyle(e,null);function qYn(e,t){return p9(e).getPropertyValue(t)}var JYn=[`top`,`right`,`bottom`,`left`];function m9(e,t,n){let r={};n=n?`-`+n:``;for(let i=0;i<4;i++){let a=JYn[i];r[a]=parseFloat(e[t+`-`+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}var YYn=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function XYn(e,t){let n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r,o=!1,s,c;if(YYn(i,a,e.target))s=i,c=a;else{let e=t.getBoundingClientRect();s=r.clientX-e.left,c=r.clientY-e.top,o=!0}return{x:s,y:c,box:o}}function h9(e,t){if(`native`in e)return e;let{canvas:n,currentDevicePixelRatio:r}=t,i=p9(n),a=i.boxSizing===`border-box`,o=m9(i,`padding`),s=m9(i,`border`,`width`),{x:c,y:l,box:u}=XYn(e,n),d=o.left+(u&&s.left),f=o.top+(u&&s.top),{width:p,height:m}=t;return a&&(p-=o.width+s.width,m-=o.height+s.height),{x:Math.round((c-d)/p*n.width/r),y:Math.round((l-f)/m*n.height/r)}}function ZYn(e,t,n){let r,i;if(t===void 0||n===void 0){let a=KYn(e);if(!a)t=e.clientWidth,n=e.clientHeight;else{let e=a.getBoundingClientRect(),o=p9(a),s=m9(o,`border`,`width`),c=m9(o,`padding`);t=e.width-c.width-s.width,n=e.height-c.height-s.height,r=f9(o.maxWidth,a,`clientWidth`),i=f9(o.maxHeight,a,`clientHeight`)}}return{width:t,height:n,maxWidth:r||M7,maxHeight:i||M7}}var g9=e=>Math.round(e*10)/10;function QYn(e,t,n,r){let i=p9(e),a=m9(i,`margin`),o=f9(i.maxWidth,e,`clientWidth`)||M7,s=f9(i.maxHeight,e,`clientHeight`)||M7,c=ZYn(e,t,n),{width:l,height:u}=c;if(i.boxSizing===`content-box`){let e=m9(i,`border`,`width`),t=m9(i,`padding`);l-=t.width+e.width,u-=t.height+e.height}return l=Math.max(0,l-a.width),u=Math.max(0,r?l/r:u-a.height),l=g9(Math.min(l,o,c.maxWidth)),u=g9(Math.min(u,s,c.maxHeight)),l&&!u&&(u=g9(l/2)),(t!==void 0||n!==void 0)&&r&&c.height&&u>c.height&&(u=c.height,l=g9(Math.floor(u*r))),{width:l,height:u}}function $Yn(e,t,n){let r=t||1,i=Math.floor(e.height*r),a=Math.floor(e.width*r);e.height=Math.floor(e.height),e.width=Math.floor(e.width);let o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||o.height!==i||o.width!==a?(e.currentDevicePixelRatio=r,o.height=i,o.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}var eXn=function(){let e=!1;try{let t={get passive(){return e=!0,!1}};window.addEventListener(`test`,null,t),window.removeEventListener(`test`,null,t)}catch{}return e}();function tXn(e,t){let n=qYn(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function _9(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function nXn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r===`middle`?n<.5?e.y:t.y:r===`after`?n<1?e.y:t.y:n>0?t.y:e.y}}function rXn(e,t,n,r){let i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=_9(e,i,n),s=_9(i,a,n),c=_9(a,t,n);return _9(_9(o,s,n),_9(s,c,n),n)}var iXn=function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return e===`center`?e:e===`right`?`left`:`right`},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}},aXn=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function v9(e,t,n){return e?iXn(t,n):aXn()}function oXn(e,t){let n,r;(t===`ltr`||t===`rtl`)&&(n=e.canvas.style,r=[n.getPropertyValue(`direction`),n.getPropertyPriority(`direction`)],n.setProperty(`direction`,t,`important`),e.prevTextDirection=r)}function sXn(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty(`direction`,t[0],t[1]))}function cXn(e){return e===`angle`?{between:CJn,compare:SJn,normalize:B7}:{between:H7,compare:(e,t)=>e-t,normalize:e=>e}}function lXn({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function uXn(e,t,n){let{property:r,start:i,end:a}=n,{between:o,normalize:s}=cXn(r),c=t.length,{start:l,end:u,loop:d}=e,f,p;if(d){for(l+=c,u+=c,f=0,p=c;f<p&&o(s(t[l%c][r]),i,a);++f)l--,u--;l%=c,u%=c}return u<l&&(u+=c),{start:l,end:u,loop:d,style:e.style}}function dXn(e,t,n){if(!n)return[e];let{property:r,start:i,end:a}=n,o=t.length,{compare:s,between:c,normalize:l}=cXn(r),{start:u,end:d,loop:f,style:p}=uXn(e,t,n),m=[],h=!1,g=null,_,v,y,b=()=>c(i,y,_)&&s(i,y)!==0,x=()=>s(a,_)===0||c(a,y,_),S=()=>h||b(),C=()=>!h||x();for(let e=u,n=u;e<=d;++e)v=t[e%o],!v.skip&&(_=l(v[r]),_!==y&&(h=c(_,i,a),g===null&&S()&&(g=s(_,i)===0?e:n),g!==null&&C()&&(m.push(lXn({start:g,end:e,loop:f,count:o,style:p})),g=null),n=e,y=_));return g!==null&&m.push(lXn({start:g,end:d,loop:f,count:o,style:p})),m}function fXn(e,t){let n=[],r=e.segments;for(let i=0;i<r.length;i++){let a=dXn(r[i],e.points,t);a.length&&n.push(...a)}return n}function pXn(e,t,n,r){let i=0,a=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;for(i%=t,n&&(a+=i);a>i&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}function mXn(e,t,n,r){let i=e.length,a=[],o=t,s=e[t],c;for(c=t+1;c<=n;++c){let n=e[c%i];n.skip||n.stop?s.skip||(r=!1,a.push({start:t%i,end:(c-1)%i,loop:r}),t=o=n.stop?c:null):(o=c,s.skip&&(t=c)),s=n}return o!==null&&a.push({start:t%i,end:o%i,loop:r}),a}function hXn(e,t){let n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];let a=!!e._loop,{start:o,end:s}=pXn(n,i,a,r);return r===!0?gXn(e,[{start:o,end:s,loop:a}],n,t):gXn(e,mXn(n,o,s<o?s+i:s,!!e._fullLoop&&o===0&&s===i-1),n,t)}function gXn(e,t,n,r){return!r||!r.setContext||!n?t:_Xn(e,t,n,r)}function _Xn(e,t,n,r){let i=e._chart.getContext(),a=vXn(e.options),{_datasetIndex:o,options:{spanGaps:s}}=e,c=n.length,l=[],u=a,d=t[0].start,f=d;function p(e,t,r,i){let a=s?-1:1;if(e!==t){for(e+=c;n[e%c].skip;)e-=a;for(;n[t%c].skip;)t+=a;e%c!==t%c&&(l.push({start:e%c,end:t%c,loop:r,style:i}),u=i,d=t%c)}}for(let e of t){d=s?d:e.start;let t=n[d%c],a;for(f=d+1;f<=e.end;f++){let s=n[f%c];a=vXn(r.setContext(c9(i,{type:`segment`,p0:t,p1:s,p0DataIndex:(f-1)%c,p1DataIndex:f%c,datasetIndex:o}))),yXn(a,u)&&p(d,f-1,e.loop,u),t=s,u=a}d<f-1&&p(d,f-1,e.loop,u)}return l}function vXn(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function yXn(e,t){if(!t)return!1;let n=[],r=function(e,t){return VJn(t)?(n.includes(t)||n.push(t),n.indexOf(t)):t};return JSON.stringify(e,r)!==JSON.stringify(t,r)}var y9=new class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){let i=t.listeners[r],a=t.duration;i.forEach(r=>r({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||=(this._running=!0,MJn.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;let i=n.items,a=i.length-1,o=!1,s;for(;a>=0;--a)s=i[a],s._active?(s._total>n.duration&&(n.duration=s._total),s.tick(e),o=!0):(i[a]=i[i.length-1],i.pop());o&&(r.draw(),this._notify(r,n,e,`progress`)),i.length||(n.running=!1,this._notify(r,n,e,`complete`),n.initial=!1),t+=i.length}),this._lastDate=e,t===0&&(this._running=!1)}_getAnims(e){let t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){!t||!t.length||this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){let t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;let t=this._charts.get(e);return!(!t||!t.running||!t.items.length)}stop(e){let t=this._charts.get(e);if(!t||!t.items.length)return;let n=t.items,r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),`complete`)}remove(e){return this._charts.delete(e)}},bXn=`transparent`,xXn={boolean(e,t,n){return n>.5?t:e},color(e,t,n){let r=HJn(e||bXn),i=r.valid&&HJn(t||bXn);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}},SXn=class{constructor(e,t,n,r){let i=t[n];r=s9([e.to,r,i,e.from]);let a=s9([e.from,i,r]);this._active=!0,this._fn=e.fn||xXn[e.type||typeof a],this._easing=K7[e.easing]||K7.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);let r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=s9([e.to,t,r,e.from]),this._from=s9([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){let t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to,s;if(this._active=i!==o&&(a||t<n),!this._active){this._target[r]=o,this._notify(!0);return}if(t<0){this._target[r]=i;return}s=t/n%2,s=a&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,s)}wait(){let e=this._promises||=[];return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){let t=e?`res`:`rej`,n=this._promises||[];for(let e=0;e<n.length;e++)n[e][t]()}},CXn=class{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!_7(e))return;let t=Object.keys(X7.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{let i=e[r];if(!_7(i))return;let a={};for(let e of t)a[e]=i[e];(g7(i.properties)&&i.properties||[r]).forEach(e=>{(e===r||!n.has(e))&&n.set(e,a)})})}_animateOptions(e,t){let n=t.options,r=TXn(e,n);if(!r)return[];let i=this._createAnimations(r,n);return n.$shared&&wXn(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){let n=this._properties,r=[],i=e.$animations||={},a=Object.keys(t),o=Date.now(),s;for(s=a.length-1;s>=0;--s){let c=a[s];if(c.charAt(0)===`$`)continue;if(c===`options`){r.push(...this._animateOptions(e,t));continue}let l=t[c],u=i[c],d=n.get(c);if(u)if(d&&u.active()){u.update(d,l,o);continue}else u.cancel();if(!d||!d.duration){e[c]=l;continue}i[c]=u=new SXn(d,e,c,l),r.push(u)}return r}update(e,t){if(this._properties.size===0){Object.assign(e,t);return}let n=this._createAnimations(e,t);if(n.length)return y9.add(this._chart,n),!0}};function wXn(e,t){let n=[],r=Object.keys(t);for(let t=0;t<r.length;t++){let i=e[r[t]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function TXn(e,t){if(!t)return;let n=e.options;if(!n){e.options=t;return}return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function EXn(e,t){let n=e&&e.options||{},r=n.reverse,i=n.min===void 0?t:0,a=n.max===void 0?t:0;return{start:r?a:i,end:r?i:a}}function DXn(e,t,n){if(n===!1)return!1;let r=EXn(e,n),i=EXn(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}function OXn(e){let t,n,r,i;return _7(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i,disabled:e===!1}}function kXn(e,t){let n=[],r=e._getSortedDatasetMetas(t),i,a;for(i=0,a=r.length;i<a;++i)n.push(r[i].index);return n}function AXn(e,t,n,r={}){let i=e.keys,a=r.mode===`single`,o,s,c,l;if(t!==null){for(o=0,s=i.length;o<s;++o){if(c=+i[o],c===n){if(r.all)continue;break}l=e.values[c],v7(l)&&(a||t===0||I7(t)===I7(l))&&(t+=l)}return t}}function jXn(e){let t=Object.keys(e),n=Array(t.length),r,i,a;for(r=0,i=t.length;r<i;++r)a=t[r],n[r]={x:a,y:e[a]};return n}function MXn(e,t){let n=e&&e.options.stacked;return n||n===void 0&&t.stack!==void 0}function NXn(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}function PXn(e){let{min:t,max:n,minDefined:r,maxDefined:i}=e.getUserBounds();return{min:r?t:-1/0,max:i?n:1/0}}function FXn(e,t,n){let r=e[t]||(e[t]={});return r[n]||(r[n]={})}function IXn(e,t,n,r){for(let i of t.getMatchingVisibleMetas(r).reverse()){let t=e[i.index];if(n&&t>0||!n&&t<0)return i.index}return null}function LXn(e,t){let{chart:n,_cachedMeta:r}=e,i=n._stacks||={},{iScale:a,vScale:o,index:s}=r,c=a.axis,l=o.axis,u=NXn(a,o,r),d=t.length,f;for(let e=0;e<d;++e){let n=t[e],{[c]:a,[l]:d}=n,p=n._stacks||={};f=p[l]=FXn(i,u,a),f[s]=d,f._top=IXn(f,o,!0,r.type),f._bottom=IXn(f,o,!1,r.type);let m=f._visualValues||={};m[s]=d}}function RXn(e,t){let n=e.scales;return Object.keys(n).filter(e=>n[e].axis===t).shift()}function zXn(e,t){return c9(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:`default`,type:`dataset`})}function BXn(e,t,n){return c9(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:`default`,type:`data`})}function b9(e,t){let n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t||=e._parsed;for(let e of t){let t=e._stacks;if(!t||t[r]===void 0||t[r][n]===void 0)return;delete t[r][n],t[r]._visualValues!==void 0&&t[r]._visualValues[n]!==void 0&&delete t[r]._visualValues[n]}}}var VXn=e=>e===`reset`||e===`none`,HXn=(e,t)=>t?e:Object.assign({},e),UXn=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:kXn(n,!0),values:null},WXn=class{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=MXn(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled(`filler`)&&console.warn(`Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options`)}updateIndex(e){this.index!==e&&b9(this._cachedMeta),this.index=e}linkScales(){let e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>e===`x`?t:e===`r`?r:n,i=t.xAxisID=b7(n.xAxisID,RXn(e,`x`)),a=t.yAxisID=b7(n.yAxisID,RXn(e,`y`)),o=t.rAxisID=b7(n.rAxisID,RXn(e,`r`)),s=t.indexAxis,c=t.iAxisID=r(s,i,a,o),l=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),t.iScale=this.getScaleForId(c),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){let t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update(`reset`)}_destroy(){let e=this._cachedMeta;this._data&&AJn(this._data,this),e._stacked&&b9(e)}_dataCheck(){let e=this.getDataset(),t=e.data||=[],n=this._data;if(_7(t))this._data=jXn(t);else if(n!==t){if(n){AJn(n,this);let e=this._cachedMeta;b9(e),e._parsed=[]}t&&Object.isExtensible(t)&&kJn(t,this),this._syncList=[],this._data=t}}addElements(){let e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){let t=this._cachedMeta,n=this.getDataset(),r=!1;this._dataCheck();let i=t._stacked;t._stacked=MXn(t.vScale,t),t.stack!==n.stack&&(r=!0,b9(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&LXn(this,t._parsed)}configure(){let e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){let{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:a}=n,o=i.axis,s=e===0&&t===r.length?!0:n._sorted,c=e>0&&n._parsed[e-1],l,u,d;if(this._parsing===!1)n._parsed=r,n._sorted=!0,d=r;else{d=g7(r[e])?this.parseArrayData(n,r,e,t):_7(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);let i=()=>u[o]===null||c&&u[o]<c[o];for(l=0;l<t;++l)n._parsed[l+e]=u=d[l],s&&(i()&&(s=!1),c=u);n._sorted=s}a&&LXn(this,d)}parsePrimitiveData(e,t,n,r){let{iScale:i,vScale:a}=e,o=i.axis,s=a.axis,c=i.getLabels(),l=i===a,u=Array(r),d,f,p;for(d=0,f=r;d<f;++d)p=d+n,u[d]={[o]:l||i.parse(c[p],p),[s]:a.parse(t[p],p)};return u}parseArrayData(e,t,n,r){let{xScale:i,yScale:a}=e,o=Array(r),s,c,l,u;for(s=0,c=r;s<c;++s)l=s+n,u=t[l],o[s]={x:i.parse(u[0],l),y:a.parse(u[1],l)};return o}parseObjectData(e,t,n,r){let{xScale:i,yScale:a}=e,{xAxisKey:o=`x`,yAxisKey:s=`y`}=this._parsing,c=Array(r),l,u,d,f;for(l=0,u=r;l<u;++l)d=l+n,f=t[d],c[l]={x:i.parse(D7(f,o),d),y:a.parse(D7(f,s),d)};return c}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){let r=this.chart,i=this._cachedMeta,a=t[e.axis];return AXn({keys:kXn(r,!0),values:t._stacks[e.axis]._visualValues},a,i.index,{mode:n})}updateRangeFromParsed(e,t,n,r){let i=n[t.axis],a=i===null?NaN:i,o=r&&n._stacks[t.axis];r&&o&&(r.values=o,a=AXn(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,t){let n=this._cachedMeta,r=n._parsed,i=n._sorted&&e===n.iScale,a=r.length,o=this._getOtherScale(e),s=UXn(t,n,this.chart),c={min:1/0,max:-1/0},{min:l,max:u}=PXn(o),d,f;function p(){f=r[d];let t=f[o.axis];return!v7(f[e.axis])||l>t||u<t}for(d=0;d<a&&!(!p()&&(this.updateRangeFromParsed(c,e,f,s),i));++d);if(i){for(d=a-1;d>=0;--d)if(!p()){this.updateRangeFromParsed(c,e,f,s);break}}return c}getAllParsedValues(e){let t=this._cachedMeta._parsed,n=[],r,i,a;for(r=0,i=t.length;r<i;++r)a=t[r][e.axis],v7(a)&&n.push(a);return n}getMaxOverflow(){return!1}getLabelAndValue(e){let t=this._cachedMeta,n=t.iScale,r=t.vScale,i=this.getParsed(e);return{label:n?``+n.getLabelForValue(i[n.axis]):``,value:r?``+r.getLabelForValue(i[r.axis]):``}}_update(e){let t=this._cachedMeta;this.update(e||`default`),t._clip=OXn(b7(this.options.clip,DXn(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){let e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],i=t.chartArea,a=[],o=this._drawStart||0,s=this._drawCount||r.length-o,c=this.options.drawActiveElementsOnTop,l;for(n.dataset&&n.dataset.draw(e,i,o,s),l=o;l<o+s;++l){let t=r[l];t.hidden||(t.active&&c?a.push(t):t.draw(e,i))}for(l=0;l<a.length;++l)a[l].draw(e,i)}getStyle(e,t){let n=t?`active`:`default`;return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){let r=this.getDataset(),i;if(e>=0&&e<this._cachedMeta.data.length){let t=this._cachedMeta.data[e];i=t.$context||=BXn(this.getContext(),e,t),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||=zXn(this.chart.getContext(),this.index),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!t,i.mode=n,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t=`default`,n){let r=t===`active`,i=this._cachedDataOpts,a=e+`-`+t,o=i[a],s=this.enableOptionSharing&&O7(n);if(o)return HXn(o,s);let c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),u=r?[`${e}Hover`,`hover`,e,``]:[e,``],d=c.getOptionScopes(this.getDataset(),l),f=Object.keys(X7.elements[e]),p=c.resolveNamedOptions(d,f,()=>this.getContext(n,r,t),u);return p.$shared&&(p.$shared=s,i[a]=Object.freeze(HXn(p,s))),p}_resolveAnimations(e,t,n){let r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(r.options.animation!==!1){let r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}let c=new CXn(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(c)),c}getSharedOptions(e){if(e.$shared)return this._sharedOptions||=Object.assign({},e)}includeOptions(e,t){return!t||VXn(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){let n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){VXn(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!VXn(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;let i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,n){this._setStyle(e,n,`active`,!1)}setHoverStyle(e,t,n){this._setStyle(e,n,`active`,!0)}_removeDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!1)}_setDatasetHoverStyle(){let e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,`active`,!0)}_resyncElements(e){let t=this._data,n=this._cachedMeta.data;for(let[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];let r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,t,n=!0){let r=this._cachedMeta,i=r.data,a=e+t,o,s=e=>{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;o<a;++o)i[o]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(i,e,t,`reset`)}updateElements(e,t,n,r){}_removeElements(e,t){let n=this._cachedMeta;if(this._parsing){let r=n._parsed.splice(e,t);n._stacked&&b9(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{let[t,n,r]=e;this[t](n,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){let e=arguments.length;this._sync([`_insertElements`,this.getDataset().data.length-e,e])}_onDataPop(){this._sync([`_removeElements`,this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync([`_removeElements`,0,1])}_onDataSplice(e,t){t&&this._sync([`_removeElements`,e,t]);let n=arguments.length-2;n&&this._sync([`_insertElements`,e,n])}_onDataUnshift(){this._sync([`_insertElements`,0,arguments.length])}};function GXn(e,t){if(!e._cache.$bar){let n=e.getMatchingVisibleMetas(t),r=[];for(let t=0,i=n.length;t<i;t++)r=r.concat(n[t].controller.getAllParsedValues(e));e._cache.$bar=jJn(r.sort((e,t)=>e-t))}return e._cache.$bar}function KXn(e){let t=e.iScale,n=GXn(t,e.type),r=t._length,i,a,o,s,c=()=>{o===32767||o===-32768||(O7(s)&&(r=Math.min(r,Math.abs(o-s)||r)),s=o)};for(i=0,a=n.length;i<a;++i)o=t.getPixelForValue(n[i]),c();for(s=void 0,i=0,a=t.ticks.length;i<a;++i)o=t.getPixelForTick(i),c();return r}function qXn(e,t,n,r){let i=n.barThickness,a,o;return h7(i)?(a=t.min*n.categoryPercentage,o=n.barPercentage):(a=i*r,o=1),{chunk:a/r,ratio:o,start:t.pixels[e]-a/2}}function JXn(e,t,n,r){let i=t.pixels,a=i[e],o=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null,c=n.categoryPercentage;o===null&&(o=a-(s===null?t.end-t.start:s-a)),s===null&&(s=a+a-o);let l=a-(a-Math.min(o,s))/2*c;return{chunk:Math.abs(s-o)/2*c/r,ratio:n.barPercentage,start:l}}function YXn(e,t,n,r){let i=n.parse(e[0],r),a=n.parse(e[1],r),o=Math.min(i,a),s=Math.max(i,a),c=o,l=s;Math.abs(o)>Math.abs(s)&&(c=s,l=o),t[n.axis]=l,t._custom={barStart:c,barEnd:l,start:i,end:a,min:o,max:s}}function XXn(e,t,n,r){return g7(e)?YXn(e,t,n,r):t[n.axis]=n.parse(e,r),t}function ZXn(e,t,n,r){let i=e.iScale,a=e.vScale,o=i.getLabels(),s=i===a,c=[],l,u,d,f;for(l=n,u=n+r;l<u;++l)f=t[l],d={},d[i.axis]=s||i.parse(o[l],l),c.push(XXn(f,d,a,l));return c}function QXn(e){return e&&e.barStart!==void 0&&e.barEnd!==void 0}function $Xn(e,t,n){return e===0?(t.isHorizontal()?1:-1)*(t.min>=n?1:-1):I7(e)}function eZn(e){let t,n,r,i,a;return e.horizontal?(t=e.base>e.x,n=`left`,r=`right`):(t=e.base<e.y,n=`bottom`,r=`top`),t?(i=`end`,a=`start`):(i=`start`,a=`end`),{start:n,end:r,reverse:t,top:i,bottom:a}}function tZn(e,t,n,r){let i=t.borderSkipped,a={};if(!i){e.borderSkipped=a;return}if(i===!0){e.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:o,end:s,reverse:c,top:l,bottom:u}=eZn(e);i===`middle`&&n&&(e.enableBorderRadius=!0,(n._top||0)===r?i=l:(n._bottom||0)===r?i=u:(a[nZn(u,o,s,c)]=!0,i=l)),a[nZn(i,o,s,c)]=!0,e.borderSkipped=a}function nZn(e,t,n,r){return r?(e=rZn(e,t,n),e=iZn(e,n,t)):e=iZn(e,t,n),e}function rZn(e,t,n){return e===t?n:e===n?t:e}function iZn(e,t,n){return e===`start`?t:e===`end`?n:e}function aZn(e,{inflateAmount:t},n){e.inflateAmount=t===`auto`?n===1?.33:0:t}var oZn=class extends WXn{static id=`bar`;static defaults={datasetElementType:!1,dataElementType:`bar`,categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:`number`,properties:[`x`,`y`,`base`,`width`,`height`]}}};static overrides={scales:{_index_:{type:`category`,offset:!0,grid:{offset:!0}},_value_:{type:`linear`,beginAtZero:!0}}};parsePrimitiveData(e,t,n,r){return ZXn(e,t,n,r)}parseArrayData(e,t,n,r){return ZXn(e,t,n,r)}parseObjectData(e,t,n,r){let{iScale:i,vScale:a}=e,{xAxisKey:o=`x`,yAxisKey:s=`y`}=this._parsing,c=i.axis===`x`?o:s,l=a.axis===`x`?o:s,u=[],d,f,p,m;for(d=n,f=n+r;d<f;++d)m=t[d],p={},p[i.axis]=i.parse(D7(m,c),d),u.push(XXn(D7(m,l),p,a,d));return u}updateRangeFromParsed(e,t,n,r){super.updateRangeFromParsed(e,t,n,r);let i=n._custom;i&&t===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){let{iScale:t,vScale:n}=this._cachedMeta,r=this.getParsed(e),i=r._custom,a=QXn(i)?`[`+i.start+`, `+i.end+`]`:``+n.getLabelForValue(r[n.axis]);return{label:``+t.getLabelForValue(r[t.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();let e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){let t=this._cachedMeta;this.updateElements(t.data,0,t.data.length,e)}updateElements(e,t,n,r){let i=r===`reset`,{index:a,_cachedMeta:{vScale:o}}=this,s=o.getBasePixel(),c=o.isHorizontal(),l=this._getRuler(),{sharedOptions:u,includeOptions:d}=this._getSharedOptions(t,r);for(let f=t;f<t+n;f++){let t=this.getParsed(f),n=i||h7(t[o.axis])?{base:s,head:s}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,l),m=(t._stacks||{})[o.axis],h={horizontal:c,base:n.base,enableBorderRadius:!m||QXn(t._custom)||a===m._top||a===m._bottom,x:c?n.head:p.center,y:c?p.center:n.head,height:c?p.size:Math.abs(n.size),width:c?Math.abs(n.size):p.size};d&&(h.options=u||this.resolveDataElementOptions(f,e[f].active?`active`:r));let g=h.options||e[f].options;tZn(h,g,m,a),aZn(h,g,l.ratio),this.updateElement(e[f],f,h,r)}}_getStacks(e,t){let{iScale:n}=this._cachedMeta,r=n.getMatchingVisibleMetas(this._type).filter(e=>e.controller.options.grouped),i=n.options.stacked,a=[],o=e=>{let n=e.controller.getParsed(t),r=n&&n[e.vScale.axis];if(h7(r)||isNaN(r))return!0};for(let n of r)if(!(t!==void 0&&o(n))&&((i===!1||a.indexOf(n.stack)===-1||i===void 0&&n.stack===void 0)&&a.push(n.stack),n.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,n){let r=this._getStacks(e,n),i=t===void 0?-1:r.indexOf(t);return i===-1?r.length-1:i}_getRuler(){let e=this.options,t=this._cachedMeta,n=t.iScale,r=[],i,a;for(i=0,a=t.data.length;i<a;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));let o=e.barThickness;return{min:o||KXn(t),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:e.grouped,ratio:o?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){let{_cachedMeta:{vScale:t,_stacked:n,index:r},options:{base:i,minBarLength:a}}=this,o=i||0,s=this.getParsed(e),c=s._custom,l=QXn(c),u=s[t.axis],d=0,f=n?this.applyStack(t,s,n):u,p,m;f!==u&&(d=f-u,f=u),l&&(u=c.barStart,f=c.barEnd-c.barStart,u!==0&&I7(u)!==I7(c.barEnd)&&(d=0),d+=u);let h=!h7(i)&&!l?i:d,g=t.getPixelForValue(h);if(p=this.chart.getDataVisibility(e)?t.getPixelForValue(d+f):g,m=p-g,Math.abs(m)<a){m=$Xn(m,t,o)*a,u===o&&(g-=m/2);let e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1);g=Math.max(Math.min(g,Math.max(e,i)),Math.min(e,i)),p=g+m,n&&!l&&(s._stacks[t.axis]._visualValues[r]=t.getValueForPixel(p)-t.getValueForPixel(g))}if(g===t.getPixelForValue(o)){let e=I7(m)*t.getLineWidthForValue(o)/2;g+=e,m-=e}return{size:m,base:g,head:p,center:p+m/2}}_calculateBarIndexPixels(e,t){let n=t.scale,r=this.options,i=r.skipNull,a=b7(r.maxBarThickness,1/0),o,s;if(t.grouped){let n=i?this._getStackCount(e):t.stackCount,c=r.barThickness===`flex`?JXn(e,t,r,n):qXn(e,t,r,n),l=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0);o=c.start+c.chunk*l+c.chunk/2,s=Math.min(a,c.chunk*c.ratio)}else o=n.getPixelForValue(this.getParsed(e)[n.axis],e),s=Math.min(a,t.min*t.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}}draw(){let e=this._cachedMeta,t=e.vScale,n=e.data,r=n.length,i=0;for(;i<r;++i)this.getParsed(i)[t.axis]!==null&&n[i].draw(this._ctx)}},sZn=class extends WXn{static id=`line`;static defaults={datasetElementType:`line`,dataElementType:`point`,showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:`category`},_value_:{type:`linear`}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){let t=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=t,a=this.chart._animationsDisabled,{start:o,count:s}=LJn(t,r,a);this._drawStart=o,this._drawCount=s,RJn(t)&&(o=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;let c=this.resolveDatasetElementOptions(e);this.options.showLine||(c.borderWidth=0),c.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:c},e),this.updateElements(r,o,s,e)}updateElements(e,t,n,r){let i=r===`reset`,{iScale:a,vScale:o,_stacked:s,_dataset:c}=this._cachedMeta,{sharedOptions:l,includeOptions:u}=this._getSharedOptions(t,r),d=a.axis,f=o.axis,{spanGaps:p,segment:m}=this.options,h=R7(p)?p:1/0,g=this.chart._animationsDisabled||i||r===`none`,_=t+n,v=e.length,y=t>0&&this.getParsed(t-1);for(let n=0;n<v;++n){let p=e[n],v=g?p:{};if(n<t||n>=_){v.skip=!0;continue}let b=this.getParsed(n),x=h7(b[f]),S=v[d]=a.getPixelForValue(b[d],n),C=v[f]=i||x?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,b,s):b[f],n);v.skip=isNaN(S)||isNaN(C)||x,v.stop=n>0&&Math.abs(b[d]-y[d])>h,m&&(v.parsed=b,v.raw=c.data[n]),u&&(v.options=l||this.resolveDataElementOptions(n,p.active?`active`:r)),g||this.updateElement(p,n,v,r),y=b}}getMaxOverflow(){let e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;let i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){let e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}};function x9(){throw Error(`This method is not implemented: Check that a complete date adapter is provided.`)}var cZn={_date:class e{static override(t){Object.assign(e.prototype,t)}options;constructor(e){this.options=e||{}}init(){}formats(){return x9()}parse(){return x9()}format(){return x9()}add(){return x9()}diff(){return x9()}startOf(){return x9()}endOf(){return x9()}}};function lZn(e,t,n,r){let{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale;if(s&&t===s.axis&&t!==`r`&&o&&a.length){let e=s._reversePixels?EJn:U7;if(!r)return e(a,t,n);if(i._sharedOptions){let r=a[0],i=typeof r.getRange==`function`&&r.getRange(t);if(i){let r=e(a,t,n-i),o=e(a,t,n+i);return{lo:r.lo,hi:o.hi}}}}return{lo:0,hi:a.length-1}}function S9(e,t,n,r,i){let a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e<n;++e){let{index:n,data:s}=a[e],{lo:c,hi:l}=lZn(a[e],t,o,i);for(let e=c;e<=l;++e){let t=s[e];t.skip||r(t,n,e)}}}function uZn(e){let t=e.indexOf(`x`)!==-1,n=e.indexOf(`y`)!==-1;return function(e,r){let i=t?Math.abs(e.x-r.x):0,a=n?Math.abs(e.y-r.y):0;return Math.sqrt(i**2+a**2)}}function dZn(e,t,n,r,i){let a=[];return!i&&!e.isPointInArea(t)||S9(e,n,t,function(n,o,s){!i&&!$7(n,e.chartArea,0)||n.inRange(t.x,t.y,r)&&a.push({element:n,datasetIndex:o,index:s})},!0),a}function fZn(e,t,n,r){let i=[];function a(e,n,a){let{startAngle:o,endAngle:s}=e.getProps([`startAngle`,`endAngle`],r),{angle:c}=bJn(e,{x:t.x,y:t.y});CJn(c,o,s)&&i.push({element:e,datasetIndex:n,index:a})}return S9(e,n,t,a),i}function pZn(e,t,n,r,i,a){let o=[],s=uZn(n),c=1/0;function l(n,l,u){let d=n.inRange(t.x,t.y,i);if(r&&!d)return;let f=n.getCenterPoint(i);if(!(a||e.isPointInArea(f))&&!d)return;let p=s(t,f);p<c?(o=[{element:n,datasetIndex:l,index:u}],c=p):p===c&&o.push({element:n,datasetIndex:l,index:u})}return S9(e,n,t,l),o}function mZn(e,t,n,r,i,a){return!a&&!e.isPointInArea(t)?[]:n===`r`&&!r?fZn(e,t,n,i):pZn(e,t,n,r,i,a)}function hZn(e,t,n,r,i){let a=[],o=n===`x`?`inXRange`:`inYRange`,s=!1;return S9(e,n,t,(e,r,c)=>{e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:c}),s||=e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var gZn={evaluateInteractionItems:S9,modes:{index(e,t,n,r){let i=h9(t,e),a=n.axis||`x`,o=n.includeInvisible||!1,s=n.intersect?dZn(e,i,a,r,o):mZn(e,i,a,!1,r,o),c=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{let t=s[0].index,n=e.data[t];n&&!n.skip&&c.push({element:n,datasetIndex:e.index,index:t})}),c):[]},dataset(e,t,n,r){let i=h9(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1,s=n.intersect?dZn(e,i,a,r,o):mZn(e,i,a,!1,r,o);if(s.length>0){let t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;e<n.length;++e)s.push({element:n[e],datasetIndex:t,index:e})}return s},point(e,t,n,r){return dZn(e,h9(t,e),n.axis||`xy`,r,n.includeInvisible||!1)},nearest(e,t,n,r){let i=h9(t,e),a=n.axis||`xy`,o=n.includeInvisible||!1;return mZn(e,i,a,n.intersect,r,o)},x(e,t,n,r){return hZn(e,h9(t,e),`x`,n.intersect,r)},y(e,t,n,r){return hZn(e,h9(t,e),`y`,n.intersect,r)}}},_Zn=[`left`,`top`,`right`,`bottom`];function C9(e,t){return e.filter(e=>e.pos===t)}function vZn(e,t){return e.filter(e=>_Zn.indexOf(e.pos)===-1&&e.box.axis===t)}function w9(e,t){return e.sort((e,n)=>{let r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function yZn(e){let t=[],n,r,i,a,o,s;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],{position:a,options:{stack:o,stackWeight:s=1}}=i,t.push({index:n,box:i,pos:a,horizontal:i.isHorizontal(),weight:i.weight,stack:o&&a+o,stackWeight:s});return t}function bZn(e){let t={};for(let n of e){let{stack:e,pos:r,stackWeight:i}=n;if(!e||!_Zn.includes(r))continue;let a=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return t}function xZn(e,t){let n=bZn(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t,a,o,s;for(a=0,o=e.length;a<o;++a){s=e[a];let{fullSize:o}=s.box,c=n[s.stack],l=c&&s.stackWeight/c.weight;s.horizontal?(s.width=l?l*r:o&&t.availableWidth,s.height=i):(s.width=r,s.height=l?l*i:o&&t.availableHeight)}return n}function SZn(e){let t=yZn(e),n=w9(t.filter(e=>e.box.fullSize),!0),r=w9(C9(t,`left`),!0),i=w9(C9(t,`right`)),a=w9(C9(t,`top`),!0),o=w9(C9(t,`bottom`)),s=vZn(t,`x`),c=vZn(t,`y`);return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(c).concat(o).concat(s),chartArea:C9(t,`chartArea`),vertical:r.concat(i).concat(c),horizontal:a.concat(o).concat(s)}}function CZn(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function wZn(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function TZn(e,t,n,r){let{pos:i,box:a}=n,o=e.maxPadding;if(!_7(i)){n.size&&(e[i]-=n.size);let t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&wZn(o,a.getPadding());let s=Math.max(0,t.outerWidth-CZn(o,e,`left`,`right`)),c=Math.max(0,t.outerHeight-CZn(o,e,`top`,`bottom`)),l=s!==e.w,u=c!==e.h;return e.w=s,e.h=c,n.horizontal?{same:l,other:u}:{same:u,other:l}}function EZn(e){let t=e.maxPadding;function n(n){let r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n(`top`),e.x+=n(`left`),n(`right`),n(`bottom`)}function DZn(e,t){let n=t.maxPadding;function r(e){let r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}return r(e?[`left`,`right`]:[`top`,`bottom`])}function T9(e,t,n,r){let i=[],a,o,s,c,l,u;for(a=0,o=e.length,l=0;a<o;++a){s=e[a],c=s.box,c.update(s.width||t.w,s.height||t.h,DZn(s.horizontal,t));let{same:o,other:d}=TZn(t,n,s,r);l|=o&&i.length,u||=d,c.fullSize||i.push(s)}return l&&T9(i,t,n,r)||u}function E9(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function OZn(e,t,n,r){let i=n.padding,{x:a,y:o}=t;for(let s of e){let e=s.box,c=r[s.stack]||{count:1,placed:0,weight:1},l=s.stackWeight/c.weight||1;if(s.horizontal){let r=t.w*l,a=c.size||e.height;O7(c.start)&&(o=c.start),e.fullSize?E9(e,i.left,o,n.outerWidth-i.right-i.left,a):E9(e,t.left+c.placed,o,r,a),c.start=o,c.placed+=r,o=e.bottom}else{let r=t.h*l,o=c.size||e.width;O7(c.start)&&(a=c.start),e.fullSize?E9(e,a,i.top,o,n.outerHeight-i.bottom-i.top):E9(e,a,t.top+c.placed,o,r),c.start=a,c.placed+=r,a=e.right}}t.x=a,t.y=o}var D9={addBox(e,t){e.boxes||=[],t.fullSize=t.fullSize||!1,t.position=t.position||`top`,t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){let n=e.boxes?e.boxes.indexOf(t):-1;n!==-1&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,r){if(!e)return;let i=a9(e.options.layout.padding),a=Math.max(t-i.width,0),o=Math.max(n-i.height,0),s=SZn(e.boxes),c=s.vertical,l=s.horizontal;S7(e.boxes,e=>{typeof e.beforeLayout==`function`&&e.beforeLayout()});let u=c.reduce((e,t)=>t.box.options&&t.box.options.display===!1?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),f=Object.assign({},i);wZn(f,a9(r));let p=Object.assign({maxPadding:f,w:a,h:o,x:i.left,y:i.top},i),m=xZn(c.concat(l),d);T9(s.fullSize,p,d,m),T9(c,p,d,m),T9(l,p,d,m)&&T9(c,p,d,m),EZn(p),OZn(s.leftAndTop,p,d,m),p.x+=p.w,p.y+=p.h,OZn(s.rightAndBottom,p,d,m),e.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},S7(s.chartArea,t=>{let n=t.box;Object.assign(n,e.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})})}},kZn=class{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n||=e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}},AZn=class extends kZn{acquireContext(e){return e&&e.getContext&&e.getContext(`2d`)||null}updateConfig(e){e.options.animation=!1}},O9=`$chartjs`,jZn={touchstart:`mousedown`,touchmove:`mousemove`,touchend:`mouseup`,pointerenter:`mouseenter`,pointerdown:`mousedown`,pointermove:`mousemove`,pointerup:`mouseup`,pointerleave:`mouseout`,pointerout:`mouseout`},MZn=e=>e===null||e===``;function NZn(e,t){let n=e.style,r=e.getAttribute(`height`),i=e.getAttribute(`width`);if(e[O9]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||`block`,n.boxSizing=n.boxSizing||`border-box`,MZn(i)){let t=tXn(e,`width`);t!==void 0&&(e.width=t)}if(MZn(r))if(e.style.height===``)e.height=e.width/(t||2);else{let t=tXn(e,`height`);t!==void 0&&(e.height=t)}return e}var PZn=eXn?{passive:!0}:!1;function FZn(e,t,n){e.addEventListener(t,n,PZn)}function IZn(e,t,n){e.canvas.removeEventListener(t,n,PZn)}function LZn(e,t){let n=jZn[e.type]||e.type,{x:r,y:i}=h9(e,t);return{type:n,chart:t,native:e,x:r===void 0?null:r,y:i===void 0?null:i}}function k9(e,t){for(let n of e)if(n===t||n.contains(t))return!0}function RZn(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=k9(n.addedNodes,r),t&&=!k9(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function zZn(e,t,n){let r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(let n of e)t||=k9(n.removedNodes,r),t&&=!k9(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}var A9=new Map,BZn=0;function VZn(){let e=window.devicePixelRatio;e!==BZn&&(BZn=e,A9.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function HZn(e,t){A9.size||window.addEventListener(`resize`,VZn),A9.set(e,t)}function UZn(e){A9.delete(e),A9.size||window.removeEventListener(`resize`,VZn)}function WZn(e,t,n){let r=e.canvas,i=r&&KYn(r);if(!i)return;let a=NJn((e,t)=>{let r=i.clientWidth;n(e,t),r<i.clientWidth&&n()},window),o=new ResizeObserver(e=>{let t=e[0],n=t.contentRect.width,r=t.contentRect.height;n===0&&r===0||a(n,r)});return o.observe(i),HZn(e,a),o}function GZn(e,t,n){n&&n.disconnect(),t===`resize`&&UZn(e)}function KZn(e,t,n){let r=e.canvas,i=NJn(t=>{e.ctx!==null&&n(LZn(t,e))},e);return FZn(r,t,i),i}var qZn=class extends kZn{acquireContext(e,t){let n=e&&e.getContext&&e.getContext(`2d`);return n&&n.canvas===e?(NZn(e,t),n):null}releaseContext(e){let t=e.canvas;if(!t[O9])return!1;let n=t[O9].initial;[`height`,`width`].forEach(e=>{let r=n[e];h7(r)?t.removeAttribute(e):t.setAttribute(e,r)});let r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[O9],!0}addEventListener(e,t,n){this.removeEventListener(e,t);let r=e.$proxies||={};r[t]=({attach:RZn,detach:zZn,resize:WZn}[t]||KZn)(e,t,n)}removeEventListener(e,t){let n=e.$proxies||={},r=n[t];r&&(({attach:GZn,detach:GZn,resize:GZn}[t]||IZn)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return QYn(e,t,n,r)}isAttached(e){let t=KYn(e);return!!(t&&t.isConnected)}};function JZn(e){return!GYn()||typeof OffscreenCanvas<`u`&&e instanceof OffscreenCanvas?AZn:qZn}var j9=class{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}hasValue(){return R7(this.x)&&R7(this.y)}getProps(e,t){let n=this.$animations;if(!t||!n)return this;let r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}};function YZn(e,t){let n=e.options.ticks,r=XZn(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?QZn(t):[],o=a.length,s=a[0],c=a[o-1],l=[];if(o>i)return $Zn(t,l,a,o/i),l;let u=ZZn(a,t,i);if(o>0){let e,n,r=o>1?Math.round((c-s)/(o-1)):null;for(M9(t,l,u,h7(r)?0:s-r,s),e=0,n=o-1;e<n;e++)M9(t,l,u,a[e],a[e+1]);return M9(t,l,u,c,h7(r)?t.length:c+r),l}return M9(t,l,u),l}function XZn(e){let t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}function ZZn(e,t,n){let r=eQn(e),i=t.length/n;if(!r)return Math.max(i,1);let a=hJn(r);for(let e=0,t=a.length-1;e<t;e++){let t=a[e];if(t>i)return t}return Math.max(i,1)}function QZn(e){let t=[],n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}function $Zn(e,t,n,r){let i=0,a=n[0],o;for(r=Math.ceil(r),o=0;o<e.length;o++)o===a&&(t.push(e[o]),i++,a=n[i*r])}function M9(e,t,n,r,i){let a=b7(r,0),o=Math.min(b7(i,e.length),e.length),s=0,c,l,u;for(n=Math.ceil(n),i&&(c=i-r,n=c/Math.floor(c/n)),u=a;u<0;)s++,u=Math.round(a+s*n);for(l=Math.max(a,0);l<o;l++)l===u&&(t.push(e[l]),s++,u=Math.round(a+s*n))}function eQn(e){let t=e.length,n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}var tQn=e=>e===`left`?`right`:e===`right`?`left`:e,nQn=(e,t,n)=>t===`top`||t===`left`?e[t]+n:e[t]-n,rQn=(e,t)=>Math.min(t||e,e);function iQn(e,t){let n=[],r=e.length/t,i=e.length,a=0;for(;a<i;a+=r)n.push(e[Math.floor(a)]);return n}function aQn(e,t,n){let r=e.ticks.length,i=Math.min(t,r-1),a=e._startPixel,o=e._endPixel,s=1e-6,c=e.getPixelForTick(i),l;if(!(n&&(l=r===1?Math.max(c-a,o-c):t===0?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(i-1))/2,c+=i<t?l:-l,c<a-s||c>o+s)))return c}function oQn(e,t){S7(e,e=>{let n=e.gc,r=n.length/2,i;if(r>t){for(i=0;i<r;++i)delete e.data[n[i]];n.splice(0,r)}})}function N9(e){return e.drawTicks?e.tickLength:0}function sQn(e,t){if(!e.display)return 0;let n=o9(e.font,t),r=a9(e.padding);return(g7(e.text)?e.text.length:1)*n.lineHeight+r.height}function cQn(e,t){return c9(e,{scale:t,type:`scale`})}function lQn(e,t,n){return c9(e,{tick:n,index:t,type:`tick`})}function uQn(e,t,n){let r=FJn(e);return(n&&t!==`right`||!n&&t===`right`)&&(r=tQn(r)),r}function dQn(e,t,n,r){let{top:i,left:a,bottom:o,right:s,chart:c}=e,{chartArea:l,scales:u}=c,d=0,f,p,m,h=o-i,g=s-a;if(e.isHorizontal()){if(p=W7(r,a,s),_7(n)){let e=Object.keys(n)[0],r=n[e];m=u[e].getPixelForValue(r)+h-t}else m=n===`center`?(l.bottom+l.top)/2+h-t:nQn(e,n,t);f=s-a}else{if(_7(n)){let e=Object.keys(n)[0],r=n[e];p=u[e].getPixelForValue(r)-g+t}else p=n===`center`?(l.left+l.right)/2-g+t:nQn(e,n,t);m=W7(r,o,i),d=n===`left`?-N7:N7}return{titleX:p,titleY:m,maxWidth:f,rotation:d}}var P9=class e extends j9{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:r}=this;return e=y7(e,1/0),t=y7(t,-1/0),n=y7(n,1/0),r=y7(r,-1/0),{min:y7(e,n),max:y7(t,r),minDefined:v7(e),maxDefined:v7(t)}}getMinMax(e){let{min:t,max:n,minDefined:r,maxDefined:i}=this.getUserBounds(),a;if(r&&i)return{min:t,max:n};let o=this.getMatchingVisibleMetas();for(let s=0,c=o.length;s<c;++s)a=o[s].controller.getMinMax(this,e),r||(t=Math.min(t,a.min)),i||(n=Math.max(n,a.max));return t=i&&t>n?n:t,n=r&&t>n?t:n,{min:y7(t,y7(n,t)),max:y7(n,y7(t,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||=this._computeLabelItems(e)}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){x7(this.options.beforeUpdate,[this])}update(e,t,n){let{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||=(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=vYn(this,i,r),!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let s=o<this.ticks.length;this._convertTicksToLabels(s?iQn(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||a.source===`auto`)&&(this.ticks=YZn(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,t,n;this.isHorizontal()?(t=this.left,n=this.right):(t=this.top,n=this.bottom,e=!e),this._startPixel=t,this._endPixel=n,this._reversePixels=e,this._length=n-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){x7(this.options.afterUpdate,[this])}beforeSetDimensions(){x7(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){x7(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),x7(this.options[e],[this])}beforeDataLimits(){this._callHooks(`beforeDataLimits`)}determineDataLimits(){}afterDataLimits(){this._callHooks(`afterDataLimits`)}beforeBuildTicks(){this._callHooks(`beforeBuildTicks`)}buildTicks(){return[]}afterBuildTicks(){this._callHooks(`afterBuildTicks`)}beforeTickToLabelConversion(){x7(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){let t=this.options.ticks,n,r,i;for(n=0,r=e.length;n<r;n++)i=e[n],i.label=x7(t.callback,[i.value,n,e],this)}afterTickToLabelConversion(){x7(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){x7(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let e=this.options,t=e.ticks,n=rQn(this.ticks.length,e.ticks.maxTicksLimit),r=t.minRotation||0,i=t.maxRotation,a=r,o,s,c;if(!this._isVisible()||!t.display||r>=i||n<=1||!this.isHorizontal()){this.labelRotation=r;return}let l=this._getLabelSizes(),u=l.widest.width,d=l.highest.height,f=V7(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:f/(n-1),u+6>o&&(o=f/(n-(e.offset?.5:1)),s=this.maxHeight-N9(e.grid)-t.padding-sQn(e.title,this.chart.options.font),c=Math.sqrt(u*u+d*d),a=vJn(Math.min(Math.asin(V7((l.highest.height+6)/o,-1,1)),Math.asin(V7(s/c,-1,1))-Math.asin(V7(d/c,-1,1)))),a=Math.max(r,Math.min(i,a))),this.labelRotation=a}afterCalculateLabelRotation(){x7(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){x7(this.options.beforeFit,[this])}fit(){let e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){let a=sQn(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=N9(i)+a):(e.height=this.maxHeight,e.width=N9(i)+a),n.display&&this.ticks.length){let{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=n.padding*2,c=z7(this.labelRotation),l=Math.cos(c),u=Math.sin(c);if(o){let t=n.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{let t=n.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,l)}}this._handleMargins(),o?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,r){let{ticks:{align:i,padding:a},position:o}=this.options,s=this.labelRotation!==0,c=o!==`top`&&this.axis===`x`;if(this.isHorizontal()){let o=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1),u=0,d=0;s?c?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):i===`start`?d=t.width:i===`end`?u=e.width:i!==`inner`&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-l+a)*this.width/(this.width-l),0)}else{let n=t.height/2,r=e.height/2;i===`start`?(n=0,r=e.height):i===`end`&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){x7(this.options.afterFit,[this])}isHorizontal(){let{axis:e,position:t}=this.options;return t===`top`||t===`bottom`||e===`x`}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let t,n;for(t=0,n=e.length;t<n;t++)h7(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){let t=this.options.ticks.sampleSize,n=this.ticks;t<n.length&&(n=iQn(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){let{ctx:r,_longestTextCache:i}=this,a=[],o=[],s=Math.floor(t/rQn(t,n)),c=0,l=0,u,d,f,p,m,h,g,_,v,y,b;for(u=0;u<t;u+=s){if(p=e[u].label,m=this._resolveTickFontOptions(u),r.font=h=m.string,g=i[h]=i[h]||{data:{},gc:[]},_=m.lineHeight,v=y=0,!h7(p)&&!g7(p))v=Z7(r,g.data,g.gc,v,p),y=_;else if(g7(p))for(d=0,f=p.length;d<f;++d)b=p[d],!h7(b)&&!g7(b)&&(v=Z7(r,g.data,g.gc,v,b),y+=_);a.push(v),o.push(y),c=Math.max(v,c),l=Math.max(y,l)}oQn(i,t);let x=a.indexOf(c),S=o.indexOf(l),C=e=>({width:a[e]||0,height:o[e]||0});return{first:C(0),last:C(t-1),widest:C(x),highest:C(S),widths:a,heights:o}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);let t=this._startPixel+e*this._length;return wJn(this._alignToPixels?Q7(this.chart,t,0):t)}getDecimalForPixel(e){let t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){let t=this.ticks||[];if(e>=0&&e<t.length){let n=t[e];return n.$context||=lQn(this.getContext(),e,n)}return this.$context||=cQn(this.chart.getContext(),this)}_tickSize(){let e=this.options.ticks,t=z7(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,o=i?i.widest.width+a:0,s=i?i.highest.height+a:0;return this.isHorizontal()?s*n>o*r?o/n:s/r:s*r<o*n?s/n:o/r}_isVisible(){let e=this.options.display;return e===`auto`?this.getMatchingVisibleMetas().length>0:!!e}_computeGridLineItems(e){let t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,c=this.isHorizontal(),l=this.ticks.length+(s?1:0),u=N9(i),d=[],f=o.setContext(this.getContext()),p=f.display?f.width:0,m=p/2,h=function(e){return Q7(n,e,p)},g,_,v,y,b,x,S,C,w,T,E,D;if(a===`top`)g=h(this.bottom),x=this.bottom-u,C=g-m,T=h(e.top)+m,D=e.bottom;else if(a===`bottom`)g=h(this.top),T=e.top,D=h(e.bottom)-m,x=g+m,C=this.top+u;else if(a===`left`)g=h(this.right),b=this.right-u,S=g-m,w=h(e.left)+m,E=e.right;else if(a===`right`)g=h(this.left),w=e.left,E=h(e.right)-m,b=g+m,S=this.left+u;else if(t===`x`){if(a===`center`)g=h((e.top+e.bottom)/2+.5);else if(_7(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}T=e.top,D=e.bottom,x=g+m,C=x+u}else if(t===`y`){if(a===`center`)g=h((e.left+e.right)/2);else if(_7(a)){let e=Object.keys(a)[0],t=a[e];g=h(this.chart.scales[e].getPixelForValue(t))}b=g-m,S=b-u,w=e.left,E=e.right}let O=b7(r.ticks.maxTicksLimit,l),k=Math.max(1,Math.ceil(l/O));for(_=0;_<l;_+=k){let e=this.getContext(_),t=i.setContext(e),r=o.setContext(e),a=t.lineWidth,l=t.color,u=r.dash||[],f=r.dashOffset,p=t.tickWidth,m=t.tickColor,h=t.tickBorderDash||[],g=t.tickBorderDashOffset;v=aQn(this,_,s),v!==void 0&&(y=Q7(n,v,a),c?b=S=w=E=y:x=C=T=D=y,d.push({tx1:b,ty1:x,tx2:S,ty2:C,x1:w,y1:T,x2:E,y2:D,width:a,color:l,borderDash:u,borderDashOffset:f,tickWidth:p,tickColor:m,tickBorderDash:h,tickBorderDashOffset:g}))}return this._ticksLength=l,this._borderValue=g,d}_computeLabelItems(e){let t=this.axis,n=this.options,{position:r,ticks:i}=n,a=this.isHorizontal(),o=this.ticks,{align:s,crossAlign:c,padding:l,mirror:u}=i,d=N9(n.grid),f=d+l,p=u?-l:f,m=-z7(this.labelRotation),h=[],g,_,v,y,b,x,S,C,w,T,E,D,O=`middle`;if(r===`top`)x=this.bottom-p,S=this._getXAxisLabelAlignment();else if(r===`bottom`)x=this.top+p,S=this._getXAxisLabelAlignment();else if(r===`left`){let e=this._getYAxisLabelAlignment(d);S=e.textAlign,b=e.x}else if(r===`right`){let e=this._getYAxisLabelAlignment(d);S=e.textAlign,b=e.x}else if(t===`x`){if(r===`center`)x=(e.top+e.bottom)/2+f;else if(_7(r)){let e=Object.keys(r)[0],t=r[e];x=this.chart.scales[e].getPixelForValue(t)+f}S=this._getXAxisLabelAlignment()}else if(t===`y`){if(r===`center`)b=(e.left+e.right)/2-f;else if(_7(r)){let e=Object.keys(r)[0],t=r[e];b=this.chart.scales[e].getPixelForValue(t)}S=this._getYAxisLabelAlignment(d).textAlign}t===`y`&&(s===`start`?O=`top`:s===`end`&&(O=`bottom`));let k=this._getLabelSizes();for(g=0,_=o.length;g<_;++g){v=o[g],y=v.label;let e=i.setContext(this.getContext(g));C=this.getPixelForTick(g)+i.labelOffset,w=this._resolveTickFontOptions(g),T=w.lineHeight,E=g7(y)?y.length:1;let t=E/2,n=e.color,s=e.textStrokeColor,l=e.textStrokeWidth,d=S;a?(b=C,S===`inner`&&(d=g===_-1?this.options.reverse?`left`:`right`:g===0?this.options.reverse?`right`:`left`:`center`),D=r===`top`?c===`near`||m!==0?-E*T+T/2:c===`center`?-k.highest.height/2-t*T+T:-k.highest.height+T/2:c===`near`||m!==0?T/2:c===`center`?k.highest.height/2-t*T:k.highest.height-E*T,u&&(D*=-1),m!==0&&!e.showLabelBackdrop&&(b+=T/2*Math.sin(m))):(x=C,D=(1-E)*T/2);let f;if(e.showLabelBackdrop){let t=a9(e.backdropPadding),n=k.heights[g],r=k.widths[g],i=D-t.top,a=0-t.left;switch(O){case`middle`:i-=n/2;break;case`bottom`:i-=n;break}switch(S){case`center`:a-=r/2;break;case`right`:a-=r;break}f={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}h.push({label:y,font:w,textOffset:D,options:{rotation:m,color:n,strokeColor:s,strokeWidth:l,textAlign:d,textBaseline:O,translation:[b,x],backdrop:f}})}return h}_getXAxisLabelAlignment(){let{position:e,ticks:t}=this.options;if(-z7(this.labelRotation))return e===`top`?`left`:`right`;let n=`center`;return t.align===`start`?n=`left`:t.align===`end`?n=`right`:t.align===`inner`&&(n=`inner`),n}_getYAxisLabelAlignment(e){let{position:t,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,a=this._getLabelSizes(),o=e+i,s=a.widest.width,c,l;return t===`left`?r?(l=this.right+i,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l+=s)):(l=this.right-o,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l=this.left)):t===`right`?r?(l=this.left+i,n===`near`?c=`right`:n===`center`?(c=`center`,l-=s/2):(c=`left`,l-=s)):(l=this.left+o,n===`near`?c=`left`:n===`center`?(c=`center`,l+=s/2):(c=`right`,l=this.right)):c=`right`,{textAlign:c,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;let e=this.chart,t=this.options.position;if(t===`left`||t===`right`)return{top:0,left:this.left,bottom:e.height,right:this.right};if(t===`top`||t===`bottom`)return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){let{ctx:e,options:{backgroundColor:t},left:n,top:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),e.restore())}getLineWidthForValue(e){let t=this.options.grid;if(!this._isVisible()||!t.display)return 0;let n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){let t=this.options.grid,n=this.ctx,r=this._gridLineItems||=this._computeGridLineItems(e),i,a,o=(e,t,r)=>{!r.width||!r.color||(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i<a;++i){let e=r[i];t.drawOnChartArea&&o({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&o({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){let{chart:e,ctx:t,options:{border:n,grid:r}}=this,i=n.setContext(this.getContext()),a=n.display?i.width:0;if(!a)return;let o=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue,c,l,u,d;this.isHorizontal()?(c=Q7(e,this.left,a)-a/2,l=Q7(e,this.right,o)+o/2,u=d=s):(u=Q7(e,this.top,a)-a/2,d=Q7(e,this.bottom,o)+o/2,c=l=s),t.save(),t.lineWidth=i.width,t.strokeStyle=i.color,t.beginPath(),t.moveTo(c,u),t.lineTo(l,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;let t=this.ctx,n=this._computeLabelArea();n&&e9(t,n);let r=this.getLabelItems(e);for(let e of r){let n=e.options,r=e.font,i=e.label,a=e.textOffset;n9(t,i,0,a,r,n)}n&&t9(t)}drawTitle(){let{ctx:e,options:{position:t,title:n,reverse:r}}=this;if(!n.display)return;let i=o9(n.font),a=a9(n.padding),o=n.align,s=i.lineHeight/2;t===`bottom`||t===`center`||_7(t)?(s+=a.bottom,g7(n.text)&&(s+=i.lineHeight*(n.text.length-1))):s+=a.top;let{titleX:c,titleY:l,maxWidth:u,rotation:d}=dQn(this,s,t,o);n9(e,n.text,0,0,i,{color:n.color,maxWidth:u,rotation:d,textAlign:uQn(o,t,r),textBaseline:`middle`,translation:[c,l]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){let t=this.options,n=t.ticks&&t.ticks.z||0,r=b7(t.grid&&t.grid.z,-1),i=b7(t.border&&t.border.z,0);return!this._isVisible()||this.draw!==e.prototype.draw?[{z:n,draw:e=>{this.draw(e)}}]:[{z:r,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:n,draw:e=>{this.drawLabels(e)}}]}getMatchingVisibleMetas(e){let t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+`AxisID`,r=[],i,a;for(i=0,a=t.length;i<a;++i){let a=t[i];a[n]===this.id&&(!e||a.type===e)&&r.push(a)}return r}_resolveTickFontOptions(e){return o9(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){let e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}},F9=class{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){let t=Object.getPrototypeOf(e),n;mQn(t)&&(n=this.register(t));let r=this.items,i=e.id,a=this.scope+`.`+i;if(!i)throw Error(`class does not have id: `+e);return i in r?a:(r[i]=e,fQn(e,a,n),this.override&&X7.override(e.id,e.overrides),a)}get(e){return this.items[e]}unregister(e){let t=this.items,n=e.id,r=this.scope;n in t&&delete t[n],r&&n in X7[r]&&(delete X7[r][n],this.override&&delete J7[n])}};function fQn(e,t,n){let r=T7(Object.create(null),[n?X7.get(n):{},X7.get(t),e.defaults]);X7.set(t,r),e.defaultRoutes&&pQn(t,e.defaultRoutes),e.descriptors&&X7.describe(t,e.descriptors)}function pQn(e,t){Object.keys(t).forEach(n=>{let r=n.split(`.`),i=r.pop(),a=[e].concat(r).join(`.`),o=t[n].split(`.`),s=o.pop(),c=o.join(`.`);X7.route(a,i,c,s)})}function mQn(e){return`id`in e&&`defaults`in e}var I9=new class{constructor(){this.controllers=new F9(WXn,`datasets`,!0),this.elements=new F9(j9,`elements`),this.plugins=new F9(Object,`plugins`),this.scales=new F9(P9,`scales`),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each(`register`,e)}remove(...e){this._each(`unregister`,e)}addControllers(...e){this._each(`register`,e,this.controllers)}addElements(...e){this._each(`register`,e,this.elements)}addPlugins(...e){this._each(`register`,e,this.plugins)}addScales(...e){this._each(`register`,e,this.scales)}getController(e){return this._get(e,this.controllers,`controller`)}getElement(e){return this._get(e,this.elements,`element`)}getPlugin(e){return this._get(e,this.plugins,`plugin`)}getScale(e){return this._get(e,this.scales,`scale`)}removeControllers(...e){this._each(`unregister`,e,this.controllers)}removeElements(...e){this._each(`unregister`,e,this.elements)}removePlugins(...e){this._each(`unregister`,e,this.plugins)}removeScales(...e){this._each(`unregister`,e,this.scales)}_each(e,t,n){[...t].forEach(t=>{let r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):S7(t,t=>{let r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){let r=cJn(e);x7(n[`before`+r],[],n),t[e](n),x7(n[`after`+r],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){let n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){let r=t.get(e);if(r===void 0)throw Error(`"`+e+`" is not a registered `+n+`.`);return r}},hQn=class{constructor(){this._init=[]}notify(e,t,n,r){t===`beforeInit`&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,`install`));let i=r?this._descriptors(e).filter(r):this._descriptors(e),a=this._notify(i,e,t,n);return t===`afterDestroy`&&(this._notify(i,e,`stop`),this._notify(this._init,e,`uninstall`)),a}_notify(e,t,n,r){r||={};for(let i of e){let e=i.plugin,a=e[n];if(x7(a,[t,r,i.options],e)===!1&&r.cancelable)return!1}return!0}invalidate(){h7(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;let t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){let n=e&&e.config,r=b7(n.options&&n.options.plugins,{}),i=gQn(n);return r===!1&&!t?[]:vQn(e,i,r,t)}_notifyStateChanges(e){let t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,`stop`),this._notify(r(n,t),e,`start`)}};function gQn(e){let t={},n=[],r=Object.keys(I9.plugins.items);for(let e=0;e<r.length;e++)n.push(I9.getPlugin(r[e]));let i=e.plugins||[];for(let e=0;e<i.length;e++){let r=i[e];n.indexOf(r)===-1&&(n.push(r),t[r.id]=!0)}return{plugins:n,localIds:t}}function _Qn(e,t){return!t&&e===!1?null:e===!0?{}:e}function vQn(e,{plugins:t,localIds:n},r,i){let a=[],o=e.getContext();for(let s of t){let t=s.id,c=_Qn(r[t],i);c!==null&&a.push({plugin:s,options:yQn(e.config,{plugin:s,local:n[t]},c,o)})}return a}function yQn(e,{plugin:t,local:n},r,i){let a=e.pluginScopeKeys(t),o=e.getOptionScopes(r,a);return n&&t.defaults&&o.push(t.defaults),e.createResolver(o,i,[``],{scriptable:!1,indexable:!1,allKeys:!0})}function bQn(e,t){let n=X7.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||`x`}function xQn(e,t){let n=e;return e===`_index_`?n=t:e===`_value_`&&(n=t===`x`?`y`:`x`),n}function SQn(e,t){return e===t?`_index_`:`_value_`}function CQn(e){if(e===`x`||e===`y`||e===`r`)return e}function wQn(e){if(e===`top`||e===`bottom`)return`x`;if(e===`left`||e===`right`)return`y`}function TQn(e,...t){if(CQn(e))return e;for(let n of t){let t=n.axis||wQn(n.position)||e.length>1&&CQn(e[0].toLowerCase());if(t)return t}throw Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function EQn(e,t,n){if(n[t+`AxisID`]===e)return{axis:t}}function DQn(e,t){if(t.data&&t.data.datasets){let n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return EQn(e,`x`,n[0])||EQn(e,`y`,n[0])}return{}}function OQn(e,t){let n=J7[e.type]||{scales:{}},r=t.scales||{},i=bQn(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{let o=r[t];if(!_7(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);let s=TQn(t,o,DQn(t,e),X7.scales[o.type]),c=SQn(s,i),l=n.scales||{};a[t]=E7(Object.create(null),[{axis:s},o,l[s],l[c]])}),e.data.datasets.forEach(n=>{let i=n.type||e.type,o=n.indexAxis||bQn(i,t),s=(J7[i]||{}).scales||{};Object.keys(s).forEach(e=>{let t=xQn(e,o),i=n[t+`AxisID`]||t;a[i]=a[i]||Object.create(null),E7(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{let t=a[e];E7(t,[X7.scales[t.type],X7.scale])}),a}function kQn(e){let t=e.options||={};t.plugins=b7(t.plugins,{}),t.scales=OQn(e,t)}function AQn(e){return e||={},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function jQn(e){return e||={},e.data=AQn(e.data),kQn(e),e}var MQn=new Map,NQn=new Set;function L9(e,t){let n=MQn.get(e);return n||(n=t(),MQn.set(e,n),NQn.add(n)),n}var R9=(e,t,n)=>{let r=D7(t,n);r!==void 0&&e.add(r)},PQn=class{constructor(e){this._config=jQn(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=AQn(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){let e=this._config;this.clearCache(),kQn(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return L9(e,()=>[[`datasets.${e}`,``]])}datasetAnimationScopeKeys(e,t){return L9(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,``]])}datasetElementScopeKeys(e,t){return L9(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,``]])}pluginScopeKeys(e){let t=e.id,n=this.type;return L9(`${n}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){let n=this._scopeCache,r=n.get(e);return(!r||t)&&(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){let{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;let s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>R9(s,e,t))),t.forEach(e=>R9(s,r,e)),t.forEach(e=>R9(s,J7[i]||{},e)),t.forEach(e=>R9(s,X7,e)),t.forEach(e=>R9(s,eYn,e))});let c=Array.from(s);return c.length===0&&c.push(Object.create(null)),NQn.has(t)&&a.set(t,c),c}chartOptionScopes(){let{options:e,type:t}=this;return[e,J7[t]||{},X7.datasets[t]||{},{type:t},X7,eYn]}resolveNamedOptions(e,t,n,r=[``]){let i={$shared:!0},{resolver:a,subPrefixes:o}=FQn(this._resolverCache,e,r),s=a;if(LQn(a,t)){i.$shared=!1,n=k7(n)?n():n;let t=this.createResolver(e,n,o);s=l9(a,n,t)}for(let e of t)i[e]=s[e];return i}createResolver(e,t,n=[``],r){let{resolver:i}=FQn(this._resolverCache,e,n);return _7(t)?l9(i,t,void 0,r):i}};function FQn(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));let i=n.join(),a=r.get(i);return a||(a={resolver:yYn(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes(`hover`))},r.set(i,a)),a}var IQn=e=>_7(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||k7(e[n]),!1);function LQn(e,t){let{isScriptable:n,isIndexable:r}=bYn(e);for(let i of t){let t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(k7(o)||IQn(o))||a&&g7(o))return!0}return!1}var RQn=`4.4.0`,zQn=[`top`,`bottom`,`left`,`right`,`chartArea`];function BQn(e,t){return e===`top`||e===`bottom`||zQn.indexOf(e)===-1&&t===`x`}function VQn(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function HQn(e){let t=e.chart,n=t.options.animation;t.notifyPlugins(`afterRender`),x7(n&&n.onComplete,[e],t)}function UQn(e){let t=e.chart,n=t.options.animation;x7(n&&n.onProgress,[e],t)}function WQn(e){return GYn()&&typeof e==`string`?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var z9={},GQn=e=>{let t=WQn(e);return Object.values(z9).filter(e=>e.canvas===t).pop()};function KQn(e,t,n){let r=Object.keys(e);for(let i of r){let r=+i;if(r>=t){let a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}function qQn(e,t,n,r){return!n||e.type===`mouseout`?null:r?t:e}function B9(e,t,n){return e.options.clip?e[n]:t[n]}function JQn(e,t){let{xScale:n,yScale:r}=e;return n&&r?{left:B9(n,t,`left`),right:B9(n,t,`right`),top:B9(r,t,`top`),bottom:B9(r,t,`bottom`)}:t}var YQn=class{static defaults=X7;static instances=z9;static overrides=J7;static registry=I9;static version=RQn;static getChart=GQn;static register(...e){I9.add(...e),XQn()}static unregister(...e){I9.remove(...e),XQn()}constructor(e,t){let n=this.config=new PQn(t),r=WQn(e),i=GQn(r);if(i)throw Error(`Canvas is already in use. Chart with ID '`+i.id+`' must be destroyed before the canvas with ID '`+i.canvas.id+`' can be reused.`);let a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||(JZn(r))),this.platform.updateConfig(n);let o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,c=s&&s.height,l=s&&s.width;if(this.id=eJn(),this.ctx=o,this.canvas=s,this.width=l,this.height=c,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new hQn,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=PJn(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],z9[this.id]=this,!o||!s){console.error(`Failed to create chart: can't acquire context from the given item`);return}y9.listen(this,`complete`,HQn),y9.listen(this,`progress`,UQn),this._initialize(),this.attached&&this.update()}get aspectRatio(){let{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:r,_aspectRatio:i}=this;return h7(e)?t&&i?i:r?n/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return I9}_initialize(){return this.notifyPlugins(`beforeInit`),this.options.responsive?this.resize():$Yn(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins(`afterInit`),this}clear(){return iYn(this.canvas,this.ctx),this}stop(){return y9.stop(this),this}resize(e,t){y9.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){let n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?`resize`:`attach`;this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,$Yn(this,o,!0)&&(this.notifyPlugins(`resize`,{size:a}),x7(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){S7(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){let e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{}),i=[];t&&(i=i.concat(Object.keys(t).map(e=>{let n=t[e],r=TQn(e,n),i=r===`r`,a=r===`x`;return{options:n,dposition:i?`chartArea`:a?`bottom`:`left`,dtype:i?`radialLinear`:a?`category`:`linear`}}))),S7(i,t=>{let i=t.options,a=i.id,o=TQn(a,i),s=b7(i.type,t.dtype);(i.position===void 0||BQn(i.position,o)!==BQn(t.dposition))&&(i.position=t.dposition),r[a]=!0;let c=null;a in n&&n[a].type===s?c=n[a]:(c=new(I9.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[c.id]=c),c.init(i,e)}),S7(r,(e,t)=>{e||delete n[t]}),S7(n,e=>{D9.configure(this,e,e.options),D9.addBox(this,e)})}_updateMetasets(){let e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(VQn(`order`,`index`))}_removeUnreferencedMetasets(){let{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach((e,n)=>{t.filter(t=>t===e._dataset).length===0&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){let e=[],t=this.data.datasets,n,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n<r;n++){let r=t[n],i=this.getDatasetMeta(n),a=r.type||this.config.type;if(i.type&&i.type!==a&&(this._destroyDatasetMeta(n),i=this.getDatasetMeta(n)),i.type=a,i.indexAxis=r.indexAxis||bQn(a,this.options),i.order=r.order||0,i.index=n,i.label=``+r.label,i.visible=this.isDatasetVisible(n),i.controller)i.controller.updateIndex(n),i.controller.linkScales();else{let t=I9.getController(a),{datasetElementType:r,dataElementType:o}=X7.datasets[a];Object.assign(t,{dataElementType:I9.getElement(o),datasetElementType:r&&I9.getElement(r)}),i.controller=new t(this,n),e.push(i.controller)}}return this._updateMetasets(),e}_resetElements(){S7(this.data.datasets,(e,t)=>{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins(`reset`)}update(e){let t=this.config;t.update();let n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins(`beforeUpdate`,{mode:e,cancelable:!0})===!1)return;let i=this.buildOrUpdateControllers();this.notifyPlugins(`beforeElementsUpdate`);let a=0;for(let e=0,t=this.data.datasets.length;e<t;e++){let{controller:t}=this.getDatasetMeta(e),n=!r&&i.indexOf(t)===-1;t.buildOrUpdateElements(n),a=Math.max(+t.getMaxOverflow(),a)}a=this._minPadding=n.layout.autoPadding?a:0,this._updateLayout(a),r||S7(i,e=>{e.reset()}),this._updateDatasets(e),this.notifyPlugins(`afterUpdate`,{mode:e}),this._layers.sort(VQn(`z`,`_idx`));let{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){S7(this.scales,e=>{D9.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let e=this.options;(!lJn(new Set(Object.keys(this._listeners)),new Set(e.events))||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){let{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(let{method:n,start:r,count:i}of t)KQn(e,r,n===`_removeElements`?-i:i)}_getUniformDataChanges(){let e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];let t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+`,`+e.splice(1).join(`,`))),r=n(0);for(let e=1;e<t;e++)if(!lJn(r,n(e)))return;return Array.from(r).map(e=>e.split(`,`)).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(this.notifyPlugins(`beforeLayout`,{cancelable:!0})===!1)return;D9.update(this,this.width,this.height,e);let t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],S7(this.boxes,e=>{n&&e.position===`chartArea`||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins(`afterLayout`)}_updateDatasets(e){if(this.notifyPlugins(`beforeDatasetsUpdate`,{mode:e,cancelable:!0})!==!1){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,k7(e)?e({datasetIndex:t}):e);this.notifyPlugins(`afterDatasetsUpdate`,{mode:e})}}_updateDataset(e,t){let n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};this.notifyPlugins(`beforeDatasetUpdate`,r)!==!1&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins(`afterDatasetUpdate`,r))}render(){this.notifyPlugins(`beforeRender`,{cancelable:!0})!==!1&&(y9.has(this)?this.attached&&!y9.running(this)&&y9.start(this):(this.draw(),HQn({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){let{width:e,height:t}=this._resizeBeforeDraw;this._resize(e,t),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins(`beforeDraw`,{cancelable:!0})===!1)return;let t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins(`afterDraw`)}_getSortedDatasetMetas(e){let t=this._sortedMetasets,n=[],r,i;for(r=0,i=t.length;r<i;++r){let i=t[r];(!e||i.visible)&&n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins(`beforeDatasetsDraw`,{cancelable:!0})===!1)return;let e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins(`afterDatasetsDraw`)}_drawDataset(e){let t=this.ctx,n=e._clip,r=!n.disabled,i=JQn(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};this.notifyPlugins(`beforeDatasetDraw`,a)!==!1&&(r&&e9(t,{left:n.left===!1?0:i.left-n.left,right:n.right===!1?this.width:i.right+n.right,top:n.top===!1?0:i.top-n.top,bottom:n.bottom===!1?this.height:i.bottom+n.bottom}),e.controller.draw(),r&&t9(t),a.cancelable=!1,this.notifyPlugins(`afterDatasetDraw`,a))}isPointInArea(e){return $7(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){let i=gZn.modes[t];return typeof i==`function`?i(this,e,n,r):[]}getDatasetMeta(e){let t=this.data.datasets[e],n=this._metasets,r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||=c9(null,{chart:this,type:`chart`})}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){let t=this.data.datasets[e];if(!t)return!1;let n=this.getDatasetMeta(e);return typeof n.hidden==`boolean`?!n.hidden:!t.hidden}setDatasetVisibility(e,t){let n=this.getDatasetMeta(e);n.hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){let r=n?`show`:`hide`,i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);O7(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){let t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),y9.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins(`beforeDestroy`);let{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),iYn(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete z9[this.id],this.notifyPlugins(`afterDestroy`)}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){let e=this._listeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};S7(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||={};let e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)},a,o=()=>{r(`attach`,o),this.attached=!0,this.resize(),n(`resize`,i),n(`detach`,a)};a=()=>{this.attached=!1,r(`resize`,i),this._stop(),this._resize(0,0),n(`attach`,o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){S7(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},S7(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){let r=n?`set`:`remove`,i,a,o,s;for(t===`dataset`&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller[`_`+r+`DatasetHoverStyle`]()),o=0,s=e.length;o<s;++o){a=e[o];let t=a&&this.getDatasetMeta(a.datasetIndex).controller;t&&t[r+`HoverStyle`](a.element,a.datasetIndex,a.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){let t=this._active||[],n=e.map(({datasetIndex:e,index:t})=>{let n=this.getDatasetMeta(e);if(!n)throw Error(`No dataset found at index `+e);return{datasetIndex:e,element:n.data[t],index:t}});C7(n,t)||(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return this._plugins._cache.filter(t=>t.plugin.id===e).length===1}_updateHoverStyles(e,t,n){let r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){let n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins(`beforeEvent`,n,r)===!1)return;let i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins(`afterEvent`,n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){let{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=uJn(e),c=qQn(e,this._lastEvent,n,s);n&&(this._lastEvent=null,x7(i.onHover,[e,o,this],this),s&&x7(i.onClick,[e,o,this],this));let l=!C7(o,r);return(l||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=c,l}_getActiveElements(e,t,n,r){if(e.type===`mouseout`)return[];if(!n)return t;let i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}};function XQn(){return S7(YQn.instances,e=>e._plugins.invalidate())}function ZQn(e,t,n=t){e.lineCap=b7(n.borderCapStyle,t.borderCapStyle),e.setLineDash(b7(n.borderDash,t.borderDash)),e.lineDashOffset=b7(n.borderDashOffset,t.borderDashOffset),e.lineJoin=b7(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=b7(n.borderWidth,t.borderWidth),e.strokeStyle=b7(n.borderColor,t.borderColor)}function QQn(e,t,n){e.lineTo(n.x,n.y)}function $Qn(e){return e.stepped?sYn:e.tension||e.cubicInterpolationMode===`monotone`?cYn:QQn}function e$n(e,t,n={}){let r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,c=Math.max(i,o),l=Math.min(a,s),u=i<o&&a<o||i>s&&a>s;return{count:r,start:c,loop:t.loop,ilen:l<c&&!u?r+l-c:l-c}}function t$n(e,t,n,r){let{points:i,options:a}=t,{count:o,start:s,loop:c,ilen:l}=e$n(i,n,r),u=$Qn(a),{move:d=!0,reverse:f}=r||{},p,m,h;for(p=0;p<=l;++p)m=i[(s+(f?l-p:p))%o],!m.skip&&(d?(e.moveTo(m.x,m.y),d=!1):u(e,h,m,f,a.stepped),h=m);return c&&(m=i[(s+(f?l:0))%o],u(e,h,m,f,a.stepped)),!!c}function n$n(e,t,n,r){let i=t.points,{count:a,start:o,ilen:s}=e$n(i,n,r),{move:c=!0,reverse:l}=r||{},u=0,d=0,f,p,m,h,g,_,v=e=>(o+(l?s-e:e))%a,y=()=>{h!==g&&(e.lineTo(u,g),e.lineTo(u,h),e.lineTo(u,_))};for(c&&(p=i[v(0)],e.moveTo(p.x,p.y)),f=0;f<=s;++f){if(p=i[v(f)],p.skip)continue;let t=p.x,n=p.y,r=t|0;r===m?(n<h?h=n:n>g&&(g=n),u=(d*u+t)/++d):(y(),e.lineTo(t,n),m=r,d=0,h=g=n),_=n}y()}function r$n(e){let t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!==`monotone`&&!t.stepped&&!n?n$n:t$n}function i$n(e){return e.stepped?nXn:e.tension||e.cubicInterpolationMode===`monotone`?rXn:_9}function a$n(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),ZQn(e,t.options),e.stroke(i)}function o$n(e,t,n,r){let{segments:i,options:a}=t,o=r$n(t);for(let s of i)ZQn(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}var s$n=typeof Path2D==`function`;function c$n(e,t,n,r){s$n&&!t.options.segment?a$n(e,t,n,r):o$n(e,t,n,r)}var V9=class extends j9{static id=`line`;static defaults={borderCapStyle:`butt`,borderDash:[],borderDashOffset:0,borderJoinStyle:`miter`,borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:`default`,fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};static descriptors={_scriptable:!0,_indexable:e=>e!==`borderDash`&&e!==`fill`};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){let n=this.options;if((n.tension||n.cubicInterpolationMode===`monotone`)&&!n.stepped&&!this._pointsUpdated){let r=n.spanGaps?this._loop:this._fullLoop;WYn(this._points,n,e,r,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||=hXn(this,this.options.segment)}first(){let e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){let e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){let n=this.options,r=e[t],i=this.points,a=fXn(this,{property:t,start:r,end:r});if(!a.length)return;let o=[],s=i$n(n),c,l;for(c=0,l=a.length;c<l;++c){let{start:l,end:u}=a[c],d=i[l],f=i[u];if(d===f){o.push(d);continue}let p=s(d,f,Math.abs((r-d[t])/(f[t]-d[t])),n.stepped);p[t]=e[t],o.push(p)}return o.length===1?o[0]:o}pathSegment(e,t,n){return r$n(this)(e,this,t,n)}path(e,t,n){let r=this.segments,i=r$n(this),a=this._loop;t||=0,n||=this.points.length-t;for(let o of r)a&=i(e,this,o,{start:t,end:t+n-1});return!!a}draw(e,t,n,r){let i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),c$n(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}};function l$n(e,t,n,r){let i=e.options,{[n]:a}=e.getProps([n],r);return Math.abs(t-a)<i.radius+i.hitRadius}var u$n=class extends j9{static id=`point`;parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:`circle`,radius:3,rotation:0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){let r=this.options,{x:i,y:a}=this.getProps([`x`,`y`],n);return(e-i)**2+(t-a)**2<(r.hitRadius+r.radius)**2}inXRange(e,t){return l$n(this,e,`x`,t)}inYRange(e,t){return l$n(this,e,`y`,t)}getCenterPoint(e){let{x:t,y:n}=this.getProps([`x`,`y`],e);return{x:t,y:n}}size(e){e=e||this.options||{};let t=e.radius||0;t=Math.max(t,t&&e.hoverRadius||0);let n=t&&e.borderWidth||0;return(t+n)*2}draw(e,t){let n=this.options;this.skip||n.radius<.1||!$7(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,aYn(e,n,this.x,this.y))}getRange(){let e=this.options||{};return e.radius+e.hitRadius}};function d$n(e,t){let{x:n,y:r,base:i,width:a,height:o}=e.getProps([`x`,`y`,`base`,`width`,`height`],t),s,c,l,u,d;return e.horizontal?(d=o/2,s=Math.min(n,i),c=Math.max(n,i),l=r-d,u=r+d):(d=a/2,s=n-d,c=n+d,l=Math.min(r,i),u=Math.max(r,i)),{left:s,top:l,right:c,bottom:u}}function H9(e,t,n,r){return e?0:V7(t,n,r)}function f$n(e,t,n){let r=e.options.borderWidth,i=e.borderSkipped,a=_Yn(r);return{t:H9(i.top,a.top,0,n),r:H9(i.right,a.right,0,t),b:H9(i.bottom,a.bottom,0,n),l:H9(i.left,a.left,0,t)}}function p$n(e,t,n){let{enableBorderRadius:r}=e.getProps([`enableBorderRadius`]),i=e.options.borderRadius,a=i9(i),o=Math.min(t,n),s=e.borderSkipped,c=r||_7(i);return{topLeft:H9(!c||s.top||s.left,a.topLeft,0,o),topRight:H9(!c||s.top||s.right,a.topRight,0,o),bottomLeft:H9(!c||s.bottom||s.left,a.bottomLeft,0,o),bottomRight:H9(!c||s.bottom||s.right,a.bottomRight,0,o)}}function m$n(e){let t=d$n(e),n=t.right-t.left,r=t.bottom-t.top,i=f$n(e,n/2,r/2),a=p$n(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r,radius:a},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,a.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,a.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,a.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,a.bottomRight-Math.max(i.b,i.r))}}}}function h$n(e,t,n,r){let i=t===null,a=n===null,o=e&&!(i&&a)&&d$n(e,r);return o&&(i||H7(t,o.left,o.right))&&(a||H7(n,o.top,o.bottom))}function g$n(e){return e.topLeft||e.topRight||e.bottomLeft||e.bottomRight}function _$n(e,t){e.rect(t.x,t.y,t.w,t.h)}function v$n(e,t,n={}){let r=e.x===n.x?0:-t,i=e.y===n.y?0:-t,a=(e.x+e.w===n.x+n.w?0:t)-r,o=(e.y+e.h===n.y+n.h?0:t)-i;return{x:e.x+r,y:e.y+i,w:e.w+a,h:e.h+o,radius:e.radius}}var y$n=class extends j9{static id=`bar`;static defaults={borderSkipped:`start`,borderWidth:0,borderRadius:0,inflateAmount:`auto`,pointStyle:void 0};static defaultRoutes={backgroundColor:`backgroundColor`,borderColor:`borderColor`};constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){let{inflateAmount:t,options:{borderColor:n,backgroundColor:r}}=this,{inner:i,outer:a}=m$n(this),o=g$n(a.radius)?r9:_$n;e.save(),(a.w!==i.w||a.h!==i.h)&&(e.beginPath(),o(e,v$n(a,t,i)),e.clip(),o(e,v$n(i,-t,a)),e.fillStyle=n,e.fill(`evenodd`)),e.beginPath(),o(e,v$n(i,t)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,t,n){return h$n(this,e,t,n)}inXRange(e,t){return h$n(this,e,null,t)}inYRange(e,t){return h$n(this,null,e,t)}getCenterPoint(e){let{x:t,y:n,base:r,horizontal:i}=this.getProps([`x`,`y`,`base`,`horizontal`],e);return{x:i?(t+r)/2:t,y:i?n:(n+r)/2}}getRange(e){return e===`x`?this.width/2:this.height/2}};function b$n(e,t,n){let r=e.segments,i=e.points,a=t.points,o=[];for(let e of r){let{start:r,end:s}=e;s=C$n(r,s,i);let c=x$n(n,i[r],i[s],e.loop);if(!t.segments){o.push({source:e,target:c,start:i[r],end:i[s]});continue}let l=fXn(t,c);for(let t of l){let r=x$n(n,a[t.start],a[t.end],t.loop),s=dXn(e,i,r);for(let e of s)o.push({source:e,target:t,start:{[n]:w$n(c,r,`start`,Math.max)},end:{[n]:w$n(c,r,`end`,Math.min)}})}}return o}function x$n(e,t,n,r){if(r)return;let i=t[e],a=n[e];return e===`angle`&&(i=B7(i),a=B7(a)),{property:e,start:i,end:a}}function S$n(e,t){let{x:n=null,y:r=null}=e||{},i=t.points,a=[];return t.segments.forEach(({start:e,end:t})=>{t=C$n(e,t,i);let o=i[e],s=i[t];r===null?n!==null&&(a.push({x:n,y:o.y}),a.push({x:n,y:s.y})):(a.push({x:o.x,y:r}),a.push({x:s.x,y:r}))}),a}function C$n(e,t,n){for(;t>e;t--){let e=n[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function w$n(e,t,n,r){return e&&t?r(e[n],t[n]):e?e[n]:t?t[n]:0}function T$n(e,t){let n=[],r=!1;return g7(e)?(r=!0,n=e):n=S$n(e,t),n.length?new V9({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function E$n(e){return e&&e.fill!==!1}function D$n(e,t,n){let r=e[t].fill,i=[t],a;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!v7(r))return r;if(a=e[r],!a)return!1;if(a.visible)return r;i.push(r),r=a.fill}return!1}function O$n(e,t,n){let r=M$n(e);if(_7(r))return isNaN(r.value)?!1:r;let i=parseFloat(r);return v7(i)&&Math.floor(i)===i?k$n(r[0],t,i,n):[`origin`,`start`,`end`,`stack`,`shape`].indexOf(r)>=0&&r}function k$n(e,t,n,r){return(e===`-`||e===`+`)&&(n=t+n),n===t||n<0||n>=r?!1:n}function A$n(e,t){let n=null;return e===`start`?n=t.bottom:e===`end`?n=t.top:_7(e)?n=t.getPixelForValue(e.value):t.getBasePixel&&(n=t.getBasePixel()),n}function j$n(e,t,n){let r;return r=e===`start`?n:e===`end`?t.options.reverse?t.min:t.max:_7(e)?e.value:t.getBaseValue(),r}function M$n(e){let t=e.options,n=t.fill,r=b7(n&&n.target,n);return r===void 0&&(r=!!t.backgroundColor),r===!1||r===null?!1:r===!0?`origin`:r}function N$n(e){let{scale:t,index:n,line:r}=e,i=[],a=r.segments,o=r.points,s=P$n(t,n);s.push(T$n({x:null,y:t.bottom},r));for(let e=0;e<a.length;e++){let t=a[e];for(let e=t.start;e<=t.end;e++)F$n(i,o[e],s)}return new V9({points:i,options:{}})}function P$n(e,t){let n=[],r=e.getMatchingVisibleMetas(`line`);for(let e=0;e<r.length;e++){let i=r[e];if(i.index===t)break;i.hidden||n.unshift(i.dataset)}return n}function F$n(e,t,n){let r=[];for(let i=0;i<n.length;i++){let a=n[i],{first:o,last:s,point:c}=I$n(a,t,`x`);if(!(!c||o&&s)){if(o)r.unshift(c);else if(e.push(c),!s)break}}e.push(...r)}function I$n(e,t,n){let r=e.interpolate(t,n);if(!r)return{};let i=r[n],a=e.segments,o=e.points,s=!1,c=!1;for(let e=0;e<a.length;e++){let t=a[e],r=o[t.start][n],l=o[t.end][n];if(H7(i,r,l)){s=i===r,c=i===l;break}}return{first:s,last:c,point:r}}var L$n=class{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,t,n){let{x:r,y:i,radius:a}=this;return t||={start:0,end:j7},e.arc(r,i,a,t.end,t.start,!0),!n.bounds}interpolate(e){let{x:t,y:n,radius:r}=this,i=e.angle;return{x:t+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}};function R$n(e){let{chart:t,fill:n,line:r}=e;if(v7(n))return z$n(t,n);if(n===`stack`)return N$n(e);if(n===`shape`)return!0;let i=B$n(e);return i instanceof L$n?i:T$n(i,r)}function z$n(e,t){let n=e.getDatasetMeta(t);return n&&e.isDatasetVisible(t)?n.dataset:null}function B$n(e){return(e.scale||{}).getPointPositionForValue?H$n(e):V$n(e)}function V$n(e){let{scale:t={},fill:n}=e,r=A$n(n,t);if(v7(r)){let e=t.isHorizontal();return{x:e?r:null,y:e?null:r}}return null}function H$n(e){let{scale:t,fill:n}=e,r=t.options,i=t.getLabels().length,a=r.reverse?t.max:t.min,o=j$n(n,t,a),s=[];if(r.grid.circular){let e=t.getPointPositionForValue(0,a);return new L$n({x:e.x,y:e.y,radius:t.getDistanceFromCenterForValue(o)})}for(let e=0;e<i;++e)s.push(t.getPointPositionForValue(e,o));return s}function U$n(e,t,n){let r=R$n(t),{line:i,scale:a,axis:o}=t,s=i.options,c=s.fill,l=s.backgroundColor,{above:u=l,below:d=l}=c||{};r&&i.points.length&&(e9(e,n),W$n(e,{line:i,target:r,above:u,below:d,area:n,scale:a,axis:o}),t9(e))}function W$n(e,t){let{line:n,target:r,above:i,below:a,area:o,scale:s}=t,c=n._loop?`angle`:t.axis;e.save(),c===`x`&&a!==i&&(G$n(e,r,o.top),K$n(e,{line:n,target:r,color:i,scale:s,property:c}),e.restore(),e.save(),G$n(e,r,o.bottom)),K$n(e,{line:n,target:r,color:a,scale:s,property:c}),e.restore()}function G$n(e,t,n){let{segments:r,points:i}=t,a=!0,o=!1;e.beginPath();for(let s of r){let{start:r,end:c}=s,l=i[r],u=i[C$n(r,c,i)];a?(e.moveTo(l.x,l.y),a=!1):(e.lineTo(l.x,n),e.lineTo(l.x,l.y)),o=!!t.pathSegment(e,s,{move:o}),o?e.closePath():e.lineTo(u.x,n)}e.lineTo(t.first().x,n),e.closePath(),e.clip()}function K$n(e,t){let{line:n,target:r,property:i,color:a,scale:o}=t,s=b$n(n,r,i);for(let{source:t,target:c,start:l,end:u}of s){let{style:{backgroundColor:s=a}={}}=t,d=r!==!0;e.save(),e.fillStyle=s,q$n(e,o,d&&x$n(i,l,u)),e.beginPath();let f=!!n.pathSegment(e,t),p;if(d){f?e.closePath():J$n(e,r,u,i);let t=!!r.pathSegment(e,c,{move:f,reverse:!0});p=f&&t,p||J$n(e,r,l,i)}e.closePath(),e.fill(p?`evenodd`:`nonzero`),e.restore()}}function q$n(e,t,n){let{top:r,bottom:i}=t.chart.chartArea,{property:a,start:o,end:s}=n||{};a===`x`&&(e.beginPath(),e.rect(o,r,s-o,i-r),e.clip())}function J$n(e,t,n,r){let i=t.interpolate(n,r);i&&e.lineTo(i.x,i.y)}var Y$n={id:`filler`,afterDatasetsUpdate(e,t,n){let r=(e.data.datasets||[]).length,i=[],a,o,s,c;for(o=0;o<r;++o)a=e.getDatasetMeta(o),s=a.dataset,c=null,s&&s.options&&s instanceof V9&&(c={visible:e.isDatasetVisible(o),index:o,fill:O$n(s,o,r),chart:e,axis:a.controller.options.indexAxis,scale:a.vScale,line:s}),a.$filler=c,i.push(c);for(o=0;o<r;++o)c=i[o],!(!c||c.fill===!1)&&(c.fill=D$n(i,o,n.propagate))},beforeDraw(e,t,n){let r=n.drawTime===`beforeDraw`,i=e.getSortedVisibleDatasetMetas(),a=e.chartArea;for(let t=i.length-1;t>=0;--t){let n=i[t].$filler;n&&(n.line.updateControlPoints(a,n.axis),r&&n.fill&&U$n(e.ctx,n,a))}},beforeDatasetsDraw(e,t,n){if(n.drawTime!==`beforeDatasetsDraw`)return;let r=e.getSortedVisibleDatasetMetas();for(let t=r.length-1;t>=0;--t){let n=r[t].$filler;E$n(n)&&U$n(e.ctx,n,e.chartArea)}},beforeDatasetDraw(e,t,n){let r=t.meta.$filler;!E$n(r)||n.drawTime!==`beforeDatasetDraw`||U$n(e.ctx,r,e.chartArea)},defaults:{propagate:!0,drawTime:`beforeDatasetDraw`}},X$n=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}},Z$n=(e,t)=>e!==null&&t!==null&&e.datasetIndex===t.datasetIndex&&e.index===t.index,Q$n=class extends j9{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){let e=this.options.labels||{},t=x7(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){let{options:e,ctx:t}=this;if(!e.display){this.width=this.height=0;return}let n=e.labels,r=o9(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=X$n(n,i),c,l;t.font=r.string,this.isHorizontal()?(c=this.maxWidth,l=this._fitRows(a,i,o,s)+10):(l=this.maxHeight,c=this._fitCols(a,r,o,s)+10),this.width=Math.min(c,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){let{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.lineWidths=[0],l=r+o,u=e;i.textAlign=`left`,i.textBaseline=`middle`;let d=-1,f=-l;return this.legendItems.forEach((e,p)=>{let m=n+t/2+i.measureText(e.text).width;(p===0||c[c.length-1]+m+2*o>a)&&(u+=l,c[c.length-(p>0?0:1)]=0,f+=l,d++),s[p]={left:0,top:f,row:d,width:m,height:r},c[c.length-1]+=m+o}),u}_fitCols(e,t,n,r){let{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],c=this.columnSizes=[],l=a-e,u=o,d=0,f=0,p=0,m=0;return this.legendItems.forEach((e,a)=>{let{itemWidth:h,itemHeight:g}=$$n(n,t,i,e,r);a>0&&f+g+2*o>l&&(u+=d+o,c.push({width:d,height:f}),p+=d+o,m++,d=f=0),s[a]={left:p,top:f,col:m,width:h,height:g},d=Math.max(d,h),f+=g+o}),u+=d,c.push({width:d,height:f}),u}adjustHitBoxes(){if(!this.options.display)return;let e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:r},rtl:i}}=this,a=v9(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=W7(n,this.left+r,this.right-this.lineWidths[i]);for(let s of t)i!==s.row&&(i=s.row,o=W7(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=W7(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(let s of t)s.col!==i&&(i=s.col,o=W7(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return this.options.position===`top`||this.options.position===`bottom`}draw(){if(this.options.display){let e=this.ctx;e9(e,this),this._draw(),t9(e)}}_draw(){let{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=X7.color,s=v9(e.rtl,this.left,this.width),c=o9(a.font),{padding:l}=a,u=c.size,d=u/2,f;this.drawTitle(),r.textAlign=s.textAlign(`left`),r.textBaseline=`middle`,r.lineWidth=.5,r.font=c.string;let{boxWidth:p,boxHeight:m,itemHeight:h}=X$n(a,u),g=function(e,t,n){if(isNaN(p)||p<=0||isNaN(m)||m<0)return;r.save();let i=b7(n.lineWidth,1);if(r.fillStyle=b7(n.fillStyle,o),r.lineCap=b7(n.lineCap,`butt`),r.lineDashOffset=b7(n.lineDashOffset,0),r.lineJoin=b7(n.lineJoin,`miter`),r.lineWidth=i,r.strokeStyle=b7(n.strokeStyle,o),r.setLineDash(b7(n.lineDash,[])),a.usePointStyle)oYn(r,{radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},s.xPlus(e,p/2),t+d,a.pointStyleWidth&&p);else{let a=t+Math.max((u-m)/2,0),o=s.leftForLtr(e,p),c=i9(n.borderRadius);r.beginPath(),Object.values(c).some(e=>e!==0)?r9(r,{x:o,y:a,w:p,h:m,radius:c}):r.rect(o,a,p,m),r.fill(),i!==0&&r.stroke()}r.restore()},_=function(e,t,n){n9(r,n.text,e,t+h/2,c,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})},v=this.isHorizontal(),y=this._computeTitleHeight();f=v?{x:W7(i,this.left+l,this.right-n[0]),y:this.top+l+y,line:0}:{x:this.left+l,y:W7(i,this.top+y+l,this.bottom-t[0].height),line:0},oXn(this.ctx,e.textDirection);let b=h+l;this.legendItems.forEach((o,u)=>{r.strokeStyle=o.fontColor,r.fillStyle=o.fontColor;let m=r.measureText(o.text).width,h=s.textAlign(o.textAlign||=a.textAlign),x=p+d+m,S=f.x,C=f.y;if(s.setWidth(this.width),v?u>0&&S+x+l>this.right&&(C=f.y+=b,f.line++,S=f.x=W7(i,this.left+l,this.right-n[f.line])):u>0&&C+b>this.bottom&&(S=f.x=S+t[f.line].width+l,f.line++,C=f.y=W7(i,this.top+y+l,this.bottom-t[f.line].height)),g(s.x(S),C,o),S=IJn(h,S+p+d,v?S+x:this.right,e.rtl),_(s.x(S),C,o),v)f.x+=x+l;else if(typeof o.text!=`string`){let e=c.lineHeight;f.y+=n1n(o,e)+l}else f.y+=b}),sXn(this.ctx,e.textDirection)}drawTitle(){let e=this.options,t=e.title,n=o9(t.font),r=a9(t.padding);if(!t.display)return;let i=v9(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,c=r.top+s,l,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+c,u=W7(e.align,u,this.right-d);else{let t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);l=c+W7(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}let f=W7(o,u,u+d);a.textAlign=i.textAlign(FJn(o)),a.textBaseline=`middle`,a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,n9(a,t.text,f,l,n)}_computeTitleHeight(){let e=this.options.title,t=o9(e.font),n=a9(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(H7(e,this.left,this.right)&&H7(t,this.top,this.bottom)){for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(r=i[n],H7(e,r.left,r.left+r.width)&&H7(t,r.top,r.top+r.height))return this.legendItems[n]}return null}handleEvent(e){let t=this.options;if(!r1n(e.type,t))return;let n=this._getLegendItemAt(e.x,e.y);if(e.type===`mousemove`||e.type===`mouseout`){let r=this._hoveredItem,i=Z$n(r,n);r&&!i&&x7(t.onLeave,[e,r,this],this),this._hoveredItem=n,n&&!i&&x7(t.onHover,[e,n,this],this)}else n&&x7(t.onClick,[e,n,this],this)}};function $$n(e,t,n,r,i){return{itemWidth:e1n(r,e,t,n),itemHeight:t1n(i,r,t.lineHeight)}}function e1n(e,t,n,r){let i=e.text;return i&&typeof i!=`string`&&(i=i.reduce((e,t)=>e.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}function t1n(e,t,n){let r=e;return typeof t.text!=`string`&&(r=n1n(t,n)),r}function n1n(e,t){return t*(e.text?e.text.length:0)}function r1n(e,t){return!!((e===`mousemove`||e===`mouseout`)&&(t.onHover||t.onLeave)||t.onClick&&(e===`click`||e===`mouseup`))}var i1n={id:`legend`,_element:Q$n,start(e,t,n){let r=e.legend=new Q$n({ctx:e.ctx,options:n,chart:e});D9.configure(e,r,n),D9.addBox(e,r)},stop(e){D9.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){let r=e.legend;D9.configure(e,r,n),r.options=n},afterUpdate(e){let t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:`top`,align:`center`,fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){let r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){let t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{let c=e.controller.getStyle(n?0:void 0),l=a9(c.borderWidth);return{text:t[e.index].label,fillStyle:c.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:c.borderCapStyle,lineDash:c.borderDash,lineDashOffset:c.borderDashOffset,lineJoin:c.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:c.borderColor,pointStyle:r||c.pointStyle,rotation:c.rotation,textAlign:i||c.textAlign,borderRadius:o&&(s||c.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:`center`,text:``}},descriptors:{_scriptable:e=>!e.startsWith(`on`),labels:{_scriptable:e=>![`generateLabels`,`filter`,`sort`].includes(e)}}},a1n=class extends j9{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){let n=this.options;if(this.left=0,this.top=0,!n.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=t;let r=g7(n.text)?n.text.length:1;this._padding=a9(n.padding);let i=r*o9(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){let e=this.options.position;return e===`top`||e===`bottom`}_drawArgs(e){let{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align,s=0,c,l,u;return this.isHorizontal()?(l=W7(o,n,i),u=t+e,c=i-n):(a.position===`left`?(l=n+e,u=W7(o,r,t),s=A7*-.5):(l=i-e,u=W7(o,t,r),s=A7*.5),c=r-t),{titleX:l,titleY:u,maxWidth:c,rotation:s}}draw(){let e=this.ctx,t=this.options;if(!t.display)return;let n=o9(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);n9(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:FJn(t.align),textBaseline:`middle`,translation:[i,a]})}};function o1n(e,t){let n=new a1n({ctx:e.ctx,options:t,chart:e});D9.configure(e,n,t),D9.addBox(e,n),e.titleBlock=n}var s1n={id:`title`,_element:a1n,start(e,t,n){o1n(e,n)},stop(e){let t=e.titleBlock;D9.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){let r=e.titleBlock;D9.configure(e,r,n),r.options=n},defaults:{align:`center`,display:!1,font:{weight:`bold`},fullSize:!0,padding:10,position:`top`,text:``,weight:2e3},defaultRoutes:{color:`color`},descriptors:{_scriptable:!0,_indexable:!1}},U9={average(e){if(!e.length)return!1;let t,n,r=0,i=0,a=0;for(t=0,n=e.length;t<n;++t){let n=e[t].element;if(n&&n.hasValue()){let e=n.tooltipPosition();r+=e.x,i+=e.y,++a}}return{x:r/a,y:i/a}},nearest(e,t){if(!e.length)return!1;let n=t.x,r=t.y,i=1/0,a,o,s;for(a=0,o=e.length;a<o;++a){let n=e[a].element;if(n&&n.hasValue()){let e=xJn(t,n.getCenterPoint());e<i&&(i=e,s=n)}}if(s){let e=s.tooltipPosition();n=e.x,r=e.y}return{x:n,y:r}}};function W9(e,t){return t&&(g7(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function G9(e){return(typeof e==`string`||e instanceof String)&&e.indexOf(`
|
|
641
641
|
`)>-1?e.split(`
|
|
642
|
-
`):e}function c1n(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function l1n(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=o9(t.bodyFont),l=o9(t.titleFont),u=o9(t.footerFont),d=a.length,f=i.length,p=r.length,m=a9(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,S7(e.title,y),n.font=c.string,S7(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,S7(r,e=>{S7(e.before,y),S7(e.lines,y),S7(e.after,y)}),v=0,n.font=u.string,S7(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function u1n(e,t){let{y:n,height:r}=t;return n<r/2?`top`:n>e.height-r/2?`bottom`:`center`}function d1n(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function f1n(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),d1n(l,e,t,n)&&(l=`center`),l}function p1n(e,t,n){let r=n.yAlign||t.yAlign||u1n(e,n);return{xAlign:n.xAlign||t.xAlign||f1n(e,t,n,r),yAlign:r}}function m1n(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function h1n(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:t===`bottom`?r-=i+n:r-=i/2,r}function g1n(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=i9(o),m=m1n(t,s),h=h1n(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:V7(m,0,r.width-t.width),y:V7(h,0,r.height-t.height)}}function K9(e,t,n){let r=a9(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function _1n(e){return W9([],G9(e))}function v1n(e,t,n){return c9(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function y1n(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var b1n={beforeTitle:m7,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return``},afterTitle:m7,beforeBody:m7,beforeLabel:m7,label(e){if(this&&this.options&&this.options.mode===`dataset`)return e.label+`: `+e.formattedValue||e.formattedValue;let t=e.dataset.label||``;t&&(t+=`: `);let n=e.formattedValue;return h7(n)||(t+=n),t},labelColor(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:m7,afterBody:m7,beforeFooter:m7,footer:m7,afterFooter:m7};function q9(e,t,n,r){let i=e[t].call(n,r);return i===void 0?b1n[t].call(n,r):i}var x1n=class extends j9{static positioners=U9;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let e=this._cachedAnimations;if(e)return e;let t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,i=new CXn(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||=v1n(this.chart.getContext(),this,this._tooltipItems)}getTitle(e,t){let{callbacks:n}=t,r=q9(n,`beforeTitle`,this,e),i=q9(n,`title`,this,e),a=q9(n,`afterTitle`,this,e),o=[];return o=W9(o,G9(r)),o=W9(o,G9(i)),o=W9(o,G9(a)),o}getBeforeBody(e,t){return _1n(q9(t.callbacks,`beforeBody`,this,e))}getBody(e,t){let{callbacks:n}=t,r=[];return S7(e,e=>{let t={before:[],lines:[],after:[]},i=y1n(n,e);W9(t.before,G9(q9(i,`beforeLabel`,this,e))),W9(t.lines,q9(i,`label`,this,e)),W9(t.after,G9(q9(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return _1n(q9(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=q9(n,`beforeFooter`,this,e),i=q9(n,`footer`,this,e),a=q9(n,`afterFooter`,this,e),o=[];return o=W9(o,G9(r)),o=W9(o,G9(i)),o=W9(o,G9(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;s<c;++s)o.push(c1n(this.chart,t[s]));return e.filter&&(o=o.filter((t,r,i)=>e.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),S7(o,t=>{let n=y1n(e.callbacks,t);r.push(q9(n,`labelColor`,this,t)),i.push(q9(n,`labelPointStyle`,this,t)),a.push(q9(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=U9[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=l1n(this,n),o=Object.assign({},e,t),s=p1n(this.chart,n,o),c=g1n(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=i9(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=v9(n.rtl,this.x,this.width);for(e.x=K9(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=o9(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;s<i;++s)t.fillText(r[s],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+o,s+1===i&&(e.y+=n.titleMarginBottom-o)}}_drawColorBox(e,t,n,r,i){let a=this.labelColors[n],o=this.labelPointStyles[n],{boxHeight:s,boxWidth:c}=i,l=o9(i.bodyFont),u=K9(this,`left`,i),d=r.x(u),f=s<l.lineHeight?(l.lineHeight-s)/2:0,p=t.y+f;if(i.usePointStyle){let t={radius:Math.min(c,s)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},n=r.leftForLtr(d,c)+c/2,l=p+s/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,aYn(e,t,n,l),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,aYn(e,t,n,l)}else{e.lineWidth=_7(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;let t=r.leftForLtr(d,c),n=r.leftForLtr(r.xPlus(d,1),c-2),o=i9(a.borderRadius);Object.values(o).some(e=>e!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,r9(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),r9(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=o9(n.bodyFont),d=u.lineHeight,f=0,p=v9(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=K9(this,h,n),t.fillStyle=n.bodyColor,S7(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y<x;++y){for(g=r[y],_=this.labelTextColors[y],t.fillStyle=_,S7(g.before,m),v=g.lines,o&&v.length&&(this._drawColorBox(t,e,y,p,n),d=Math.max(u.lineHeight,s)),b=0,S=v.length;b<S;++b)m(v[b]),d=u.lineHeight;S7(g.after,m)}f=0,d=u.lineHeight,S7(this.afterBody,m),e.y-=i}drawFooter(e,t,n){let r=this.footer,i=r.length,a,o;if(i){let s=v9(n.rtl,this.x,this.width);for(e.x=K9(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline=`middle`,a=o9(n.footerFont),t.fillStyle=n.footerColor,t.font=a.string,o=0;o<i;++o)t.fillText(r[o],s.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+n.footerSpacing}}drawBackground(e,t,n,r){let{xAlign:i,yAlign:a}=this,{x:o,y:s}=e,{width:c,height:l}=n,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=i9(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(o+u,s),a===`top`&&this.drawCaret(e,t,n,r),t.lineTo(o+c-d,s),t.quadraticCurveTo(o+c,s,o+c,s+d),a===`center`&&i===`right`&&this.drawCaret(e,t,n,r),t.lineTo(o+c,s+l-p),t.quadraticCurveTo(o+c,s+l,o+c-p,s+l),a===`bottom`&&this.drawCaret(e,t,n,r),t.lineTo(o+f,s+l),t.quadraticCurveTo(o,s+l,o,s+l-f),a===`center`&&i===`left`&&this.drawCaret(e,t,n,r),t.lineTo(o,s+u),t.quadraticCurveTo(o,s,o+u,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=U9[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=l1n(this,e),o=Object.assign({},n,this._size),s=p1n(t,e,o),c=g1n(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=a9(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),oXn(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),sXn(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!C7(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!C7(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t;let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=U9[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},S1n={id:`tooltip`,_element:x1n,positioners:U9,afterInit(e,t,n){n&&(e.tooltip=new x1n({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:b1n},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]},C1n=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function w1n(e,t,n,r){let i=e.indexOf(t);return i===-1?C1n(e,t,n,r):i===e.lastIndexOf(t)?i:n}var T1n=(e,t)=>e===null?null:V7(Math.round(e),0,t);function E1n(e){let t=this.getLabels();return e>=0&&e<t.length?t[e]:e}var D1n=class extends P9{static id=`category`;static defaults={ticks:{callback:E1n}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){let t=this._addedLabels;if(t.length){let e=this.getLabels();for(let{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(h7(e))return null;let n=this.getLabels();return t=isFinite(t)&&n[t]===e?t:w1n(n,e,b7(t,e),this._addedLabels),T1n(t,n.length-1)}determineDataLimits(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),{min:n,max:r}=this.getMinMax(!0);this.options.bounds===`ticks`&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){let e=this.min,t=this.max,n=this.options.offset,r=[],i=this.getLabels();i=e===0&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)r.push({value:n});return r}getLabelForValue(e){return E1n.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!=`number`&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function O1n(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!h7(a),_=!h7(o),v=!h7(c),y=(h-m)/(u+1),b=mJn((h-m)/p/f)*f,x,S,C,w;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];w=Math.ceil(h/b)-Math.floor(m/b),w>p&&(b=mJn(w*b/p/f)*f),h7(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,C=Math.ceil(h/b)*b):(S=m,C=h),g&&_&&i&&gJn((o-a)/i,b/1e3)?(w=Math.round(Math.min((o-a)/b,l)),b=(o-a)/w,S=a,C=o):v?(S=g?a:S,C=_?o:C,w=c-1,b=(C-S)/w):(w=(C-S)/b,w=L7(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let T=Math.max(yJn(b),yJn(S));x=10**(h7(s)?T:s),S=Math.round(S*x)/x,C=Math.round(C*x)/x;let E=0;for(g&&(d&&S!==a?(n.push({value:a}),S<a&&E++,L7(Math.round((S+E*b)*x)/x,a,k1n(a,y,e))&&E++):S<a&&E++);E<w;++E){let e=Math.round((S+E*b)*x)/x;if(_&&e>o)break;n.push({value:e})}return _&&d&&C!==o?n.length&&L7(n[n.length-1].value,o,k1n(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||C===o)&&n.push({value:C}),n}function k1n(e,t,{horizontal:n,minRotation:r}){let i=z7(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var J9=class extends P9{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return h7(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=I7(r),t=I7(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=O1n({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&_Jn(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return XJn(e,this.chart.options.locale,this.options.ticks.format)}},A1n=class extends J9{static id=`linear`;static defaults={ticks:{callback:q7.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=v7(e)?e:0,this.max=v7(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=z7(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},Y9=e=>Math.floor(F7(e)),X9=(e,t)=>10**(Y9(e)+t);function j1n(e){return e/10**Y9(e)==1}function M1n(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function N1n(e,t){let n=Y9(t-e);for(;M1n(e,t,n)>10;)n++;for(;M1n(e,t,n)<10;)n--;return Math.min(n,Y9(e))}function P1n(e,{min:t,max:n}){t=y7(e.min,t);let r=[],i=Y9(t),a=N1n(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=y7(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f<n;)r.push({value:f,major:j1n(f),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=y7(e.max,f);return r.push({value:p,major:j1n(p),significand:d}),r}(class extends P9{static id=`logarithmic`;static defaults={ticks:{callback:q7.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=J9.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return v7(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=v7(e)?Math.max(0,e):null,this.max=v7(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!v7(this._userMin)&&(this.min=e===X9(this.min,0)?X9(this.min,-1):X9(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(X9(n,-1)),a(X9(r,1)))),n<=0&&i(X9(r,-1)),r<=0&&a(X9(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=P1n({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&_Jn(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:XJn(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=F7(e),this._valueRange=F7(this.max)-F7(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(F7(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}});function F1n(e){let t=e.ticks;if(t.display&&e.display){let e=a9(t.backdropPadding);return b7(t.font&&t.font.size,X7.font.size)+e.height}return 0}function I1n(e,t,n){return n=g7(n)?n:[n],{w:rYn(e,t.string,n),h:n.length*t.lineHeight}}function L1n(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n,end:t}:{start:t,end:t+n}}function R1n(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?A7/a:0;for(let c=0;c<a;c++){let a=o.setContext(e.getPointLabelContext(c));i[c]=a.padding;let l=e.getPointPosition(c,e.drawingArea+i[c],s),u=o9(a.font),d=I1n(e.ctx,u,e._pointLabels[c]);r[c]=d;let f=B7(e.getIndexAngle(c)+s),p=Math.round(vJn(f));z1n(n,t,f,L1n(p,l.x,d.w,0,180),L1n(p,l.y,d.h,90,270))}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=H1n(e,r,i)}function z1n(e,t,n,r,i){let a=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n)),s=0,c=0;r.start<t.l?(s=(t.l-r.start)/a,e.l=Math.min(e.l,t.l-s)):r.end>t.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.start<t.t?(c=(t.t-i.start)/o,e.t=Math.min(e.t,t.t-c)):i.end>t.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function B1n(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(vJn(B7(c.angle+N7))),u=G1n(c.y,s.h,l),d=U1n(l),f=W1n(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function V1n(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!($7({x:n,y:r},t)||$7({x:n,y:a},t)||$7({x:i,y:r},t)||$7({x:i,y:a},t))}function H1n(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:F1n(a)/2,additionalAngle:o?A7/i:0},l;for(let a=0;a<i;a++){c.padding=n[a],c.size=t[a];let i=B1n(e,a,c);r.push(i),s===`auto`&&(i.visible=V1n(i,l),i.visible&&(l=i))}return r}function U1n(e){return e===0||e===180?`center`:e<180?`left`:`right`}function W1n(e,t,n){return n===`right`?e-=t:n===`center`&&(e-=t/2),e}function G1n(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function K1n(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!h7(s)){let n=i9(t.borderRadius),c=a9(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),r9(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function q1n(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));K1n(n,a,t);let o=o9(a.font),{x:s,y:c,textAlign:l}=t;n9(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function J1n(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,j7);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a<r;a++)n=e.getPointPosition(a,t),i.lineTo(n.x,n.y)}}function Y1n(e,t,n,r,i){let a=e.ctx,o=t.circular,{color:s,lineWidth:c}=t;!o&&!r||!s||!c||n<0||(a.save(),a.strokeStyle=s,a.lineWidth=c,a.setLineDash(i.dash),a.lineDashOffset=i.dashOffset,a.beginPath(),J1n(e,n,o,r),a.closePath(),a.stroke(),a.restore())}function X1n(e,t,n){return c9(e,{label:n,index:t,type:`pointLabel`})}(class extends J9{static id=`radialLinear`;static defaults={display:!0,animate:!0,position:`chartArea`,angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:q7.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":`borderColor`,"pointLabels.color":`color`,"ticks.color":`color`};static descriptors={angleLines:{_fallback:`grid`}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let e=this._padding=a9(F1n(this.options)/2),t=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(t,n)/2)}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!1);this.min=v7(e)&&!isNaN(e)?e:0,this.max=v7(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/F1n(this.options))}generateTickLabels(e){J9.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((e,t)=>{let n=x7(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?R1n(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=j7/(this._pointLabels.length||1),n=this.options.startAngle||0;return B7(e*t+z7(n))}getDistanceFromCenterForValue(e){if(h7(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(h7(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e<t.length){let n=t[e];return X1n(this.getContext(),e,n)}}getPointPosition(e,t,n=0){let r=this.getIndexAngle(e)-N7+n;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){let{left:t,top:n,right:r,bottom:i}=this._pointLabelItems[e];return{left:t,top:n,right:r,bottom:i}}drawBackground(){let{backgroundColor:e,grid:{circular:t}}=this.options;if(e){let n=this.ctx;n.save(),n.beginPath(),J1n(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),n.closePath(),n.fillStyle=e,n.fill(),n.restore()}}drawGrid(){let e=this.ctx,t=this.options,{angleLines:n,grid:r,border:i}=t,a=this._pointLabels.length,o,s,c;if(t.pointLabels.display&&q1n(this,a),r.display&&this.ticks.forEach((e,t)=>{if(t!==0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);Y1n(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;!a||!i||(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=o9(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=a9(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}n9(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}});var Z9={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Q9=Object.keys(Z9);function Z1n(e,t){return e-t}function Q1n(e,t){if(h7(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),v7(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(R7(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function $1n(e,t,n,r){let i=Q9.length;for(let a=Q9.indexOf(e);a<i-1;++a){let e=Z9[Q9[a]],i=e.steps?e.steps:2**53-1;if(e.common&&Math.ceil((n-t)/(i*e.size))<=r)return Q9[a]}return Q9[i-1]}function e0n(e,t,n,r,i){for(let a=Q9.length-1;a>=Q9.indexOf(n);a--){let n=Q9[a];if(Z9[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return Q9[n?Q9.indexOf(n):0]}function t0n(e){for(let t=Q9.indexOf(e)+1,n=Q9.length;t<n;++t)if(Z9[Q9[t]].common)return Q9[t]}function n0n(e,t,n){if(!n)e[t]=!0;else if(n.length){let{lo:r,hi:i}=TJn(n,t),a=n[r]>=t?n[r]:n[i];e[a]=!0}}function r0n(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function i0n(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o<a;++o)s=t[o],i[s]=o,r.push({value:s,major:!1});return a===0||!n?r:r0n(e,r,i,n)}var a0n=class extends P9{static id=`time`;static defaults={bounds:`data`,adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:`millisecond`,displayFormats:{}},ticks:{source:`auto`,callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit=`day`,this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){let n=e.time||={},r=this._adapter=new cZn._date(e.adapters.date);r.init(t),E7(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return e===void 0?null:Q1n(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let e=this.options,t=this._adapter,n=e.time.unit||`day`,{min:r,max:i,minDefined:a,maxDefined:o}=this.getUserBounds();function s(e){!a&&!isNaN(e.min)&&(r=Math.min(r,e.min)),!o&&!isNaN(e.max)&&(i=Math.max(i,e.max))}(!a||!o)&&(s(this._getLabelBounds()),(e.bounds!==`ticks`||e.ticks.source!==`labels`)&&s(this.getMinMax(!1))),r=v7(r)&&!isNaN(r)?r:+t.startOf(Date.now(),n),i=v7(i)&&!isNaN(i)?i:+t.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){let e=this.getLabelTimestamps(),t=1/0,n=-1/0;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}buildTicks(){let e=this.options,t=e.time,n=e.ticks,r=n.source===`labels`?this.getLabelTimestamps():this._generate();e.bounds===`ticks`&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);let i=this.min,a=this.max,o=DJn(r,i,a);return this._unit=t.unit||(n.autoSkip?$1n(t.minUnit,this.min,this.max,this._getLabelCapacity(i)):e0n(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit===`year`?void 0:t0n(this._unit),this.initOffsets(r),e.reverse&&o.reverse(),i0n(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=V7(t,0,a),n=V7(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||$1n(i.minUnit,t,n,this._getLabelCapacity(t)),o=b7(r.ticks.stepSize,1),s=a===`week`?i.isoWeekday:!1,c=R7(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d<n;d=+e.add(d,o,a),f++)n0n(l,d,p);return(d===n||r.bounds===`ticks`||f===1)&&n0n(l,d,p),Object.keys(l).sort(Z1n).map(e=>+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return x7(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t<n;++t)r=e[t],r.label=this._tickFormatFunction(r.value,t,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){let t=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+n)*t.factor)}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){let t=this.options.ticks,n=this.ctx.measureText(e).width,r=z7(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),a=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:n*i+o*a,h:n*a+o*i}}_getLabelCapacity(e){let t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,i=this._tickFormatFunction(e,0,i0n(this,[e],this._majorUnit),r),a=this._getLabelSize(i),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return o>0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t<n;++t)e=e.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){let e=this._cache.labels||[],t,n;if(e.length)return e;let r=this.getLabels();for(t=0,n=r.length;t<n;++t)e.push(Q1n(this,r[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return jJn(e.sort(Z1n))}};function $9(e,t,n){let r=0,i=e.length-1,a,o,s,c;n?(t>=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=U7(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=U7(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}(class extends a0n{static id=`timeseries`;static defaults=a0n.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=$9(t,this.min),this._tableRange=$9(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a<o;++a)c=e[a],c>=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;a<o;++a)l=r[a+1],s=r[a-1],c=r[a],Math.round((l+s)/2)!==c&&i.push({time:c,pos:a/(o-1)});return i}_generate(){let e=this.min,t=this.max,n=super.getDataTimestamps();return(!n.includes(e)||!n.length)&&n.splice(0,0,e),(!n.includes(t)||n.length===1)&&n.push(t),n.sort((e,t)=>e-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return($9(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return $9(this._table,n*this._tableRange+this._minPos,!0)}});export{cDn as $,rDt as $a,V_e as $c,W as $d,m as $f,kGt as $i,wfe as $l,V0 as $n,t4e as $o,R7t as $r,fbe as $s,wfn as $t,Cse as $u,wjn as A,vG as Aa,Hve as Ac,qee as Ad,Qt as Af,TXt as Ai,Lge as Al,rpn as An,v_t as Ao,grn as Ar,JUe as As,iwn as At,uce as Au,KOn as B,VEt as Ba,ive as Bc,_i as Bd,I as Bf,XGt as Bi,_pe as Bl,Gfn as Bn,ast as Bo,Rnn as Br,zbe as Bs,Yyn as Bt,nce as Bu,VBn as C,tjt as Ca,Qve as Cc,Na as Cd,z as Cf,oZt as Ci,Wge as Cl,Gdn as Cn,Wxt as Co,Ecn as Cr,TKe as Cs,NSn as Ct,ace as Cu,$jn as D,cOt as Da,Gve as Dc,Y as Dd,rn as Df,IXt as Di,Bge as Dl,ipn as Dn,_bt as Do,G1 as Dr,tWe as Ds,GCn as Dt,Fc as Du,ZPn as E,mOt as Ea,Kve as Ec,q as Ed,Jt as Ef,HXt as Ei,Vge as El,$0 as En,_xt as Eo,vln as Er,jWe as Es,RCn as Et,lce as Eu,gjn as F,dG as Fa,dve as Fc,Do as Fd,ge as Ff,kY as Fi,yme as Fl,Zfn as Fn,sR as Fo,m$ as Fr,Fke as Fs,a3 as Ft,oce as Fu,vOn as G,lDt as Ga,Z_e as Gc,Xa as Gd,A as Gf,KJ as Gi,zfe as Gl,Hdn as Gn,aot as Go,fnn as Gr,Obe as Gs,I_n as Gt,Woe as Gu,LOn as H,PEt as Ha,eve as Hc,fa as Hd,We as Hf,YJ as Hi,mpe as Hl,Jfn as Hn,hot as Ho,Enn as Hr,Fbe as Hs,j4 as Ht,Ece as Hu,kAn as I,SDt as Ia,cve as Ic,sa as Id,ye as If,lY as Ii,vme as Il,Xfn as In,eR as Io,s$ as Ir,Pke as Is,$4 as It,gce as Iu,sOn as J,cDt as Ja,J_e as Jc,Za as Jd,re as Jf,OJ as Ji,Ffe as Jl,sfn as Jn,f4e as Jo,enn as Jr,Cbe as Js,bfn as Jt,pse as Ju,_On as K,IEt as Ka,X_e as Kc,ei as Kd,fe as Kf,cKt as Ki,Lfe as Kl,hpn as Kn,iot as Ko,unn as Kr,Dbe as Ks,xpn as Kt,qoe as Ku,xAn as L,xDt as La,sve as Lc,ha as Ld,M as Lf,PKt as Li,ad as Ll,Kfn as Ln,cst as Lo,e$ as Lr,UCe as Ls,u3 as Lt,xce as Lu,bjn as M,_G as Ma,_ve as Mc,X as Md,E as Mf,OYt as Mi,Fge as Ml,Hfn as Mn,yR as Mo,d$ as Mr,GUe as Ms,ISn as Mt,qse as Mu,yjn as N,gG as Na,gve as Nc,Wr as Nd,k as Nf,hYt as Ni,Pge as Nl,Ufn as Nn,_R as No,ZQ as Nr,Bh as Ns,LSn as Nt,yce as Nu,Yjn as O,oOt as Oa,Wve as Oc,K as Od,nn as Of,FXt as Oi,zge as Ol,zfn as On,Jvt as Oo,Lcn as Or,$Ue as Os,hCn as Ot,dce as Ou,vjn as P,fG as Pa,hve as Pc,U as Pd,O as Pf,aYt as Pi,jge as Pl,apn as Pn,Ist as Po,r$ as Pr,Ike as Ps,BSn as Pt,bce as Pu,nOn as Q,ZEt as Qa,H_e as Qc,ai as Qd,p as Qf,iGt as Qi,Tfe as Ql,kdn as Qn,e4e as Qo,WZ as Qr,pbe as Qs,Cfn as Qt,xse as Qu,$On as R,KEt as Ra,ove as Rc,br as Rd,l as Rf,CGt as Ri,ype as Rl,$fn as Rn,ust as Ro,PQ as Rr,Zf as Rs,o3 as Rt,Sce as Ru,fVn as S,ejt as Sa,$ve as Sc,go as Sd,Vt as Sf,sZt as Si,Gge as Sl,Wdn as Sn,Gxt as So,Sln as Sr,jqe as Ss,b3 as St,ice as Su,aFn as T,hOt as Ta,Jve as Tc,J as Td,Zt as Tf,YXt as Ti,Hge as Tl,_pn as Tn,Hxt as To,L1 as Tr,tKe as Ts,twn as Tt,cce as Tu,EOn as U,HEt as Ua,$_e as Uc,or as Ud,Ke as Uf,JGt as Ui,Lu as Ul,mpn as Un,yL as Uo,Tnn as Ur,Mbe as Us,N_n as Ut,Dce as Uu,GOn as V,bDt as Va,tve as Vc,vi as Vd,pe as Vf,fKt as Vi,hpe as Vl,Yfn as Vn,got as Vo,Lnn as Vr,Rbe as Vs,jyn as Vt,wce as Vu,bOn as W,eDt as Wa,Q_e as Wc,Ka as Wd,ae as Wf,VJ as Wi,Bfe as Wl,Kdn as Wn,oot as Wo,dnn as Wr,kbe as Ws,F_n as Wt,zce as Wu,iOn as X,GEt as Xa,K_e as Xc,G as Xd,qe as Xf,BGt as Xi,Mfe as Xl,j0 as Xn,b2e as Xo,qtn as Xr,_be as Xs,tpn as Xt,vse as Xu,aOn as Y,JEt as Ya,q_e as Yc,Ya as Yd,ie as Yf,HJ as Yi,Pfe as Yl,mdn as Yn,p4e as Yo,Jtn as Yr,bbe as Ys,xfn as Yt,hse as Yu,rOn as Z,REt as Za,G_e as Zc,vr as Zd,o as Zf,BJ as Zi,Efe as Zl,F0 as Zn,f_ as Zo,Gtn as Zr,gbe as Zs,epn as Zt,Ase as Zu,GGn as _,rK as _a,uye as _c,ws as _d,Wt as _f,PZt as _i,t_e as _l,afn as _n,nTt as _o,F1 as _r,oJe as _s,sTn as _t,Pc as _u,sZn as a,UJ as aa,abe as ac,Ose as ad,Oi as af,Ken as ai,j_e as al,Efn as an,hW as ao,H0 as ar,eQe as as,BTn as at,gl as au,CUn as b,njt as ba,iye as bc,ks as bd,pt as bf,xZt as bi,Yge as bl,Dpn as bn,KSt as bo,_cn as br,kqe as bs,Swn as bt,Yse as bu,u$n as c,qIt as ca,nbe as cc,koe as cd,Io as cf,jQ as ci,T_e as cl,Afn as cn,jTt as co,Wun as cr,XXe as cs,gEn as ct,fl as cu,s1n as d,gK as da,Bye as dc,Ns as dd,V as df,o4t as di,b_e as dl,upn as dn,WTt as do,rdn as dr,_Ye as ds,mEn as dt,Mse as du,UGt as ea,dbe as ec,mse as ed,ti as ef,VZ as ei,B_e as el,Nfn as en,LEt as eo,u as ep,Sun as er,g4e as es,UEn as et,Eu as eu,S1n as f,iq as fa,Mye as fc,hre as fd,gr as ff,BX as fi,y_e as fl,dpn as fn,gTt as fo,edn as fr,UJe as fs,kTn as ft,jse as fu,ZGn as g,aK as ga,fye as gc,qo as gd,qt as gf,zZt as gi,n_e as gl,ifn as gn,rTt as go,O$ as gr,jJe as gs,gTn as gt,Hse as gu,pqn as h,oK as ha,mye as hc,es as hd,ft as hf,BZt as hi,l_e as hl,ppn as hn,iTt as ho,Wln as hr,NJe as hs,yTn as ht,Bse as hu,YQn as i,AJ as ia,obe as ic,Ese as id,Ir as if,wQ as ii,N_e as il,Pfn as in,qEt as io,be as ip,U0 as ir,pQe as is,SEn as it,jue as iu,Cjn as j,ZDt as ja,vve as jc,la as jd,B as jf,IYt as ji,Ige as jl,npn as jn,Bst as jo,XQ as jr,WUe as js,WCn as jt,_ce as ju,Jjn as k,bG as ka,Uve as kc,oi as kd,$t as kf,kXt as ki,Rge as kl,Bfn as kn,__t as ko,o$ as kr,ZUe as ks,Z4 as kt,mce as ku,Y$n as l,vq as la,$ye as lc,ps as ld,H as lf,w4t as li,C_e as ll,spn as ln,UTt as lo,vdn as lr,ZXe as ls,pEn as lt,Kle as lu,mqn as m,lMt as ma,Dye as mc,Qte as md,dt as mf,UZt as mi,h_e as ml,fpn as mn,oTt as mo,$ as mr,MJe as ms,C3 as mt,Vse as mu,y$n as n,TGt as na,lbe as nc,gse as nd,ni as nf,Itn as ni,I_e as nl,Dfn as nn,WEt as no,a as np,$un as nr,E0e as ns,IEn as nt,pu as nu,V9 as o,RJ as oa,ibe as oc,Uoe as od,mi as of,aQ as oi,k_e as ol,Lfn as on,mW as oo,q0 as or,BZe as os,WTn as ot,Gle as ou,vqn as p,CK as pa,jye as pc,Ms as pd,ote as pf,U$t as pi,__e as pl,Spn as pn,sTt as po,g0 as pr,WJe as ps,wTn as pt,Ise as pu,cOn as q,sDt as qa,Y_e as qc,qa as qd,Ge as qf,WJ as qi,Ife as ql,ofn as qn,a4e as qo,tnn as qr,wbe as qs,bpn as qt,fse as qu,D1n as r,PGt as ra,cbe as rc,Tse as rd,hi as rf,OQ as ri,F_e as rl,Ffn as rn,$Et as ro,st as rp,fdn as rr,g0e as rs,zEn as rt,fu as ru,A1n as s,ZUt as sa,rbe as sc,yoe as sd,Rr as sf,AQ as si,D_e as sl,jfn as sn,GTt as so,z0 as sr,AZe as ss,xEn as st,Hle as su,oZn as t,QWt as ta,ube as tc,wse as td,ri as tf,Htn as ti,R_e as tl,Mfn as tn,nDt as to,d as tp,ndn as tr,h4e as ts,REn as tt,Tu as tu,i1n as u,nq as ua,Xye as uc,xs as ud,xr as uf,S4t as ui,x_e as ul,cpn as un,vTt as uo,M0 as ur,EYe as us,$Tn as ut,ece as uu,EUn as v,qjt as va,lye as vc,gs as vd,Xt as vf,MZt as vi,e_e as vl,vfn as vn,bwt as vo,Q$ as vr,sJe as vs,bTn as vt,Use as vu,YFn as w,gkt as wa,Zve as wc,Z as wd,Bt as wf,aZt as wi,Uge as wl,vpn as wn,Uxt as wo,Ycn as wr,_Ke as ws,mCn as wt,sce as wu,CVn as x,MG as xa,eye as xc,_o as xd,zt as xf,$Y as xi,qge as xl,wpn as xn,GSt as xo,Ncn as xr,Aqe as xs,v3 as xt,rce as xu,DUn as y,Njt as ya,oye as yc,As as yd,Yt as yf,jZt as yi,Xge as yl,Opn as yn,JSt as yo,lcn as yr,cJe as ys,vTn as yt,Wse as yu,XOn as z,XEt as za,ave as zc,yr as zd,ut as zf,rKt as zi,vpe as zl,Qfn as zn,vot as zo,f$ as zr,Bbe as zs,MSn as zt,Cce as zu};
|
|
642
|
+
`):e}function c1n(e,t){let{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function l1n(e,t){let n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,c=o9(t.bodyFont),l=o9(t.titleFont),u=o9(t.footerFont),d=a.length,f=i.length,p=r.length,m=a9(t.padding),h=m.height,g=0,_=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);if(_+=e.beforeBody.length+e.afterBody.length,d&&(h+=d*l.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),_){let e=t.displayColors?Math.max(s,c.lineHeight):c.lineHeight;h+=p*e+(_-p)*c.lineHeight+(_-1)*t.bodySpacing}f&&(h+=t.footerMarginTop+f*u.lineHeight+(f-1)*t.footerSpacing);let v=0,y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=l.string,S7(e.title,y),n.font=c.string,S7(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?o+2+t.boxPadding:0,S7(r,e=>{S7(e.before,y),S7(e.lines,y),S7(e.after,y)}),v=0,n.font=u.string,S7(e.footer,y),n.restore(),g+=m.width,{width:g,height:h}}function u1n(e,t){let{y:n,height:r}=t;return n<r/2?`top`:n>e.height-r/2?`bottom`:`center`}function d1n(e,t,n,r){let{x:i,width:a}=r,o=n.caretSize+n.caretPadding;if(e===`left`&&i+a+o>t.width||e===`right`&&i-a-o<0)return!0}function f1n(e,t,n,r){let{x:i,width:a}=n,{width:o,chartArea:{left:s,right:c}}=e,l=`center`;return r===`center`?l=i<=(s+c)/2?`left`:`right`:i<=a/2?l=`left`:i>=o-a/2&&(l=`right`),d1n(l,e,t,n)&&(l=`center`),l}function p1n(e,t,n){let r=n.yAlign||t.yAlign||u1n(e,n);return{xAlign:n.xAlign||t.xAlign||f1n(e,t,n,r),yAlign:r}}function m1n(e,t){let{x:n,width:r}=e;return t===`right`?n-=r:t===`center`&&(n-=r/2),n}function h1n(e,t,n){let{y:r,height:i}=e;return t===`top`?r+=n:t===`bottom`?r-=i+n:r-=i/2,r}function g1n(e,t,n,r){let{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:c}=n,l=i+a,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=i9(o),m=m1n(t,s),h=h1n(t,c,l);return c===`center`?s===`left`?m+=l:s===`right`&&(m-=l):s===`left`?m-=Math.max(u,f)+i:s===`right`&&(m+=Math.max(d,p)+i),{x:V7(m,0,r.width-t.width),y:V7(h,0,r.height-t.height)}}function K9(e,t,n){let r=a9(n.padding);return t===`center`?e.x+e.width/2:t===`right`?e.x+e.width-r.right:e.x+r.left}function _1n(e){return W9([],G9(e))}function v1n(e,t,n){return c9(e,{tooltip:t,tooltipItems:n,type:`tooltip`})}function y1n(e,t){let n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var b1n={beforeTitle:m7,title(e){if(e.length>0){let t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode===`dataset`)return t.dataset.label||``;if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return``},afterTitle:m7,beforeBody:m7,beforeLabel:m7,label(e){if(this&&this.options&&this.options.mode===`dataset`)return e.label+`: `+e.formattedValue||e.formattedValue;let t=e.dataset.label||``;t&&(t+=`: `);let n=e.formattedValue;return h7(n)||(t+=n),t},labelColor(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){let t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:m7,afterBody:m7,beforeFooter:m7,footer:m7,afterFooter:m7};function q9(e,t,n,r){let i=e[t].call(n,r);return i===void 0?b1n[t].call(n,r):i}var x1n=class extends j9{static positioners=U9;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let e=this._cachedAnimations;if(e)return e;let t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,i=new CXn(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||=v1n(this.chart.getContext(),this,this._tooltipItems)}getTitle(e,t){let{callbacks:n}=t,r=q9(n,`beforeTitle`,this,e),i=q9(n,`title`,this,e),a=q9(n,`afterTitle`,this,e),o=[];return o=W9(o,G9(r)),o=W9(o,G9(i)),o=W9(o,G9(a)),o}getBeforeBody(e,t){return _1n(q9(t.callbacks,`beforeBody`,this,e))}getBody(e,t){let{callbacks:n}=t,r=[];return S7(e,e=>{let t={before:[],lines:[],after:[]},i=y1n(n,e);W9(t.before,G9(q9(i,`beforeLabel`,this,e))),W9(t.lines,q9(i,`label`,this,e)),W9(t.after,G9(q9(i,`afterLabel`,this,e))),r.push(t)}),r}getAfterBody(e,t){return _1n(q9(t.callbacks,`afterBody`,this,e))}getFooter(e,t){let{callbacks:n}=t,r=q9(n,`beforeFooter`,this,e),i=q9(n,`footer`,this,e),a=q9(n,`afterFooter`,this,e),o=[];return o=W9(o,G9(r)),o=W9(o,G9(i)),o=W9(o,G9(a)),o}_createItems(e){let t=this._active,n=this.chart.data,r=[],i=[],a=[],o=[],s,c;for(s=0,c=t.length;s<c;++s)o.push(c1n(this.chart,t[s]));return e.filter&&(o=o.filter((t,r,i)=>e.filter(t,r,i,n))),e.itemSort&&(o=o.sort((t,r)=>e.itemSort(t,r,n))),S7(o,t=>{let n=y1n(e.callbacks,t);r.push(q9(n,`labelColor`,this,t)),i.push(q9(n,`labelPointStyle`,this,t)),a.push(q9(n,`labelTextColor`,this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=o,o}update(e,t){let n=this.options.setContext(this.getContext()),r=this._active,i,a=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{let e=U9[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);let t=this._size=l1n(this,n),o=Object.assign({},e,t),s=p1n(this.chart,n,o),c=g1n(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:c.x,y:c.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){let i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){let{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:c,bottomLeft:l,bottomRight:u}=i9(o),{x:d,y:f}=e,{width:p,height:m}=t,h,g,_,v,y,b;return i===`center`?(y=f+m/2,r===`left`?(h=d,g=h-a,v=y+a,b=y-a):(h=d+p,g=h+a,v=y-a,b=y+a),_=h):(g=r===`left`?d+Math.max(s,l)+a:r===`right`?d+p-Math.max(c,u)-a:this.caretX,i===`top`?(v=f,y=v-a,h=g-a,_=g+a):(v=f+m,y=v+a,h=g+a,_=g-a),b=v),{x1:h,x2:g,x3:_,y1:v,y2:y,y3:b}}drawTitle(e,t,n){let r=this.title,i=r.length,a,o,s;if(i){let c=v9(n.rtl,this.x,this.width);for(e.x=K9(this,n.titleAlign,n),t.textAlign=c.textAlign(n.titleAlign),t.textBaseline=`middle`,a=o9(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;s<i;++s)t.fillText(r[s],c.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+o,s+1===i&&(e.y+=n.titleMarginBottom-o)}}_drawColorBox(e,t,n,r,i){let a=this.labelColors[n],o=this.labelPointStyles[n],{boxHeight:s,boxWidth:c}=i,l=o9(i.bodyFont),u=K9(this,`left`,i),d=r.x(u),f=s<l.lineHeight?(l.lineHeight-s)/2:0,p=t.y+f;if(i.usePointStyle){let t={radius:Math.min(c,s)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},n=r.leftForLtr(d,c)+c/2,l=p+s/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,aYn(e,t,n,l),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,aYn(e,t,n,l)}else{e.lineWidth=_7(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;let t=r.leftForLtr(d,c),n=r.leftForLtr(r.xPlus(d,1),c-2),o=i9(a.borderRadius);Object.values(o).some(e=>e!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,r9(e,{x:t,y:p,w:c,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),r9(e,{x:n,y:p+1,w:c-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,p,c,s),e.strokeRect(t,p,c,s),e.fillStyle=a.backgroundColor,e.fillRect(n,p+1,c-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){let{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:c,boxPadding:l}=n,u=o9(n.bodyFont),d=u.lineHeight,f=0,p=v9(n.rtl,this.x,this.width),m=function(n){t.fillText(n,p.x(e.x+f),e.y+d/2),e.y+=d+i},h=p.textAlign(a),g,_,v,y,b,x,S;for(t.textAlign=a,t.textBaseline=`middle`,t.font=u.string,e.x=K9(this,h,n),t.fillStyle=n.bodyColor,S7(this.beforeBody,m),f=o&&h!==`right`?a===`center`?c/2+l:c+2+l:0,y=0,x=r.length;y<x;++y){for(g=r[y],_=this.labelTextColors[y],t.fillStyle=_,S7(g.before,m),v=g.lines,o&&v.length&&(this._drawColorBox(t,e,y,p,n),d=Math.max(u.lineHeight,s)),b=0,S=v.length;b<S;++b)m(v[b]),d=u.lineHeight;S7(g.after,m)}f=0,d=u.lineHeight,S7(this.afterBody,m),e.y-=i}drawFooter(e,t,n){let r=this.footer,i=r.length,a,o;if(i){let s=v9(n.rtl,this.x,this.width);for(e.x=K9(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline=`middle`,a=o9(n.footerFont),t.fillStyle=n.footerColor,t.font=a.string,o=0;o<i;++o)t.fillText(r[o],s.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+n.footerSpacing}}drawBackground(e,t,n,r){let{xAlign:i,yAlign:a}=this,{x:o,y:s}=e,{width:c,height:l}=n,{topLeft:u,topRight:d,bottomLeft:f,bottomRight:p}=i9(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(o+u,s),a===`top`&&this.drawCaret(e,t,n,r),t.lineTo(o+c-d,s),t.quadraticCurveTo(o+c,s,o+c,s+d),a===`center`&&i===`right`&&this.drawCaret(e,t,n,r),t.lineTo(o+c,s+l-p),t.quadraticCurveTo(o+c,s+l,o+c-p,s+l),a===`bottom`&&this.drawCaret(e,t,n,r),t.lineTo(o+f,s+l),t.quadraticCurveTo(o,s+l,o,s+l-f),a===`center`&&i===`left`&&this.drawCaret(e,t,n,r),t.lineTo(o,s+u),t.quadraticCurveTo(o,s,o+u,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){let t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){let n=U9[e.position].call(this,this._active,this._eventPosition);if(!n)return;let a=this._size=l1n(this,e),o=Object.assign({},n,this._size),s=p1n(t,e,o),c=g1n(e,o,s,t);(r._to!==c.x||i._to!==c.y)&&(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,c))}}_willRender(){return!!this.opacity}draw(e){let t=this.options.setContext(this.getContext()),n=this.opacity;if(!n)return;this._updateAnimationTarget(t);let r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;let a=a9(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),oXn(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),sXn(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){let n=this._active,r=e.map(({datasetIndex:e,index:t})=>{let n=this.chart.getDatasetMeta(e);if(!n)throw Error(`Cannot find a dataset at index `+e);return{datasetIndex:e,element:n.data[t],index:t}}),i=!C7(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!C7(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){let i=this.options;if(e.type===`mouseout`)return[];if(!r)return t;let a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){let{caretX:n,caretY:r,options:i}=this,a=U9[i.position].call(this,e,t);return a!==!1&&(n!==a.x||r!==a.y)}},S1n={id:`tooltip`,_element:x1n,positioners:U9,afterInit(e,t,n){n&&(e.tooltip=new x1n({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){let t=e.tooltip;if(t&&t._willRender()){let n={tooltip:t};if(e.notifyPlugins(`beforeTooltipDraw`,{...n,cancelable:!0})===!1)return;t.draw(e.ctx),e.notifyPlugins(`afterTooltipDraw`,n)}},afterEvent(e,t){if(e.tooltip){let n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:`average`,backgroundColor:`rgba(0,0,0,0.8)`,titleColor:`#fff`,titleFont:{weight:`bold`},titleSpacing:2,titleMarginBottom:6,titleAlign:`left`,bodyColor:`#fff`,bodySpacing:2,bodyFont:{},bodyAlign:`left`,footerColor:`#fff`,footerSpacing:2,footerMarginTop:6,footerFont:{weight:`bold`},footerAlign:`left`,padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:`#fff`,displayColors:!0,boxPadding:0,borderColor:`rgba(0,0,0,0)`,borderWidth:0,animation:{duration:400,easing:`easeOutQuart`},animations:{numbers:{type:`number`,properties:[`x`,`y`,`width`,`height`,`caretX`,`caretY`]},opacity:{easing:`linear`,duration:200}},callbacks:b1n},defaultRoutes:{bodyFont:`font`,footerFont:`font`,titleFont:`font`},descriptors:{_scriptable:e=>e!==`filter`&&e!==`itemSort`&&e!==`external`,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:`animation`}},additionalOptionScopes:[`interaction`]},C1n=(e,t,n,r)=>(typeof t==`string`?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function w1n(e,t,n,r){let i=e.indexOf(t);return i===-1?C1n(e,t,n,r):i===e.lastIndexOf(t)?i:n}var T1n=(e,t)=>e===null?null:V7(Math.round(e),0,t);function E1n(e){let t=this.getLabels();return e>=0&&e<t.length?t[e]:e}var D1n=class extends P9{static id=`category`;static defaults={ticks:{callback:E1n}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){let t=this._addedLabels;if(t.length){let e=this.getLabels();for(let{index:n,label:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(h7(e))return null;let n=this.getLabels();return t=isFinite(t)&&n[t]===e?t:w1n(n,e,b7(t,e),this._addedLabels),T1n(t,n.length-1)}determineDataLimits(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),{min:n,max:r}=this.getMinMax(!0);this.options.bounds===`ticks`&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){let e=this.min,t=this.max,n=this.options.offset,r=[],i=this.getLabels();i=e===0&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)r.push({value:n});return r}getLabelForValue(e){return E1n.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!=`number`&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){let t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}};function O1n(e,t){let n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:c,maxTicks:l,maxDigits:u,includeBounds:d}=e,f=i||1,p=l-1,{min:m,max:h}=t,g=!h7(a),_=!h7(o),v=!h7(c),y=(h-m)/(u+1),b=mJn((h-m)/p/f)*f,x,S,C,w;if(b<1e-14&&!g&&!_)return[{value:m},{value:h}];w=Math.ceil(h/b)-Math.floor(m/b),w>p&&(b=mJn(w*b/p/f)*f),h7(s)||(x=10**s,b=Math.ceil(b*x)/x),r===`ticks`?(S=Math.floor(m/b)*b,C=Math.ceil(h/b)*b):(S=m,C=h),g&&_&&i&&gJn((o-a)/i,b/1e3)?(w=Math.round(Math.min((o-a)/b,l)),b=(o-a)/w,S=a,C=o):v?(S=g?a:S,C=_?o:C,w=c-1,b=(C-S)/w):(w=(C-S)/b,w=L7(w,Math.round(w),b/1e3)?Math.round(w):Math.ceil(w));let T=Math.max(yJn(b),yJn(S));x=10**(h7(s)?T:s),S=Math.round(S*x)/x,C=Math.round(C*x)/x;let E=0;for(g&&(d&&S!==a?(n.push({value:a}),S<a&&E++,L7(Math.round((S+E*b)*x)/x,a,k1n(a,y,e))&&E++):S<a&&E++);E<w;++E){let e=Math.round((S+E*b)*x)/x;if(_&&e>o)break;n.push({value:e})}return _&&d&&C!==o?n.length&&L7(n[n.length-1].value,o,k1n(o,y,e))?n[n.length-1].value=o:n.push({value:o}):(!_||C===o)&&n.push({value:C}),n}function k1n(e,t,{horizontal:n,minRotation:r}){let i=z7(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(``+e).length;return Math.min(t/a,o)}var J9=class extends P9{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return h7(e)||(typeof e==`number`||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){let{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds(),{min:r,max:i}=this,a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){let e=I7(r),t=I7(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=i===0?1:Math.abs(i*.05);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){let{maxTicksLimit:e,stepSize:t}=this.options.ticks,n;return t?(n=Math.ceil(this.max/t)-Math.floor(this.min/t)+1,n>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${t} would result generating up to ${n} ticks. Limiting to 1000.`),n=1e3)):(n=this.computeTickLimit(),e||=11),e&&(n=Math.min(e,n)),n}computeTickLimit(){return 1/0}buildTicks(){let e=this.options,t=e.ticks,n=this.getTickLimit();n=Math.max(2,n);let r=O1n({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:t.includeBounds!==!1},this._range||this);return e.bounds===`ticks`&&_Jn(r,this,`value`),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){let e=this.ticks,t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){let r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return XJn(e,this.chart.options.locale,this.options.ticks.format)}},A1n=class extends J9{static id=`linear`;static defaults={ticks:{callback:q7.formatters.numeric}};determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=v7(e)?e:0,this.max=v7(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){let e=this.isHorizontal(),t=e?this.width:this.height,n=z7(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}},Y9=e=>Math.floor(F7(e)),X9=(e,t)=>10**(Y9(e)+t);function j1n(e){return e/10**Y9(e)==1}function M1n(e,t,n){let r=10**n,i=Math.floor(e/r);return Math.ceil(t/r)-i}function N1n(e,t){let n=Y9(t-e);for(;M1n(e,t,n)>10;)n++;for(;M1n(e,t,n)<10;)n--;return Math.min(n,Y9(e))}function P1n(e,{min:t,max:n}){t=y7(e.min,t);let r=[],i=Y9(t),a=N1n(t,n),o=a<0?10**Math.abs(a):1,s=10**a,c=i>a?10**i:0,l=Math.round((t-c)*o)/o,u=Math.floor((t-c)/s/10)*s*10,d=Math.floor((l-u)/10**a),f=y7(e.min,Math.round((c+u+d*10**a)*o)/o);for(;f<n;)r.push({value:f,major:j1n(f),significand:d}),d>=10?d=d<15?15:20:d++,d>=20&&(a++,d=2,o=a>=0?1:o),f=Math.round((c+u+d*10**a)*o)/o;let p=y7(e.max,f);return r.push({value:p,major:j1n(p),significand:d}),r}(class extends P9{static id=`logarithmic`;static defaults={ticks:{callback:q7.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){let n=J9.prototype.parse.apply(this,[e,t]);if(n===0){this._zero=!0;return}return v7(n)&&n>0?n:null}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!0);this.min=v7(e)?Math.max(0,e):null,this.max=v7(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!v7(this._userMin)&&(this.min=e===X9(this.min,0)?X9(this.min,-1):X9(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:e,maxDefined:t}=this.getUserBounds(),n=this.min,r=this.max,i=t=>n=e?n:t,a=e=>r=t?r:e;n===r&&(n<=0?(i(1),a(10)):(i(X9(n,-1)),a(X9(r,1)))),n<=0&&i(X9(r,-1)),r<=0&&a(X9(n,1)),this.min=n,this.max=r}buildTicks(){let e=this.options,t=P1n({min:this._userMin,max:this._userMax},this);return e.bounds===`ticks`&&_Jn(t,this,`value`),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return e===void 0?`0`:XJn(e,this.chart.options.locale,this.options.ticks.format)}configure(){let e=this.min;super.configure(),this._startValue=F7(e),this._valueRange=F7(this.max)-F7(e)}getPixelForValue(e){return(e===void 0||e===0)&&(e=this.min),e===null||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(F7(e)-this._startValue)/this._valueRange)}getValueForPixel(e){let t=this.getDecimalForPixel(e);return 10**(this._startValue+t*this._valueRange)}});function F1n(e){let t=e.ticks;if(t.display&&e.display){let e=a9(t.backdropPadding);return b7(t.font&&t.font.size,X7.font.size)+e.height}return 0}function I1n(e,t,n){return n=g7(n)?n:[n],{w:rYn(e,t.string,n),h:n.length*t.lineHeight}}function L1n(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n,end:t}:{start:t,end:t+n}}function R1n(e){let t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],a=e._pointLabels.length,o=e.options.pointLabels,s=o.centerPointLabels?A7/a:0;for(let c=0;c<a;c++){let a=o.setContext(e.getPointLabelContext(c));i[c]=a.padding;let l=e.getPointPosition(c,e.drawingArea+i[c],s),u=o9(a.font),d=I1n(e.ctx,u,e._pointLabels[c]);r[c]=d;let f=B7(e.getIndexAngle(c)+s),p=Math.round(vJn(f));z1n(n,t,f,L1n(p,l.x,d.w,0,180),L1n(p,l.y,d.h,90,270))}e.setCenterPoint(t.l-n.l,n.r-t.r,t.t-n.t,n.b-t.b),e._pointLabelItems=H1n(e,r,i)}function z1n(e,t,n,r,i){let a=Math.abs(Math.sin(n)),o=Math.abs(Math.cos(n)),s=0,c=0;r.start<t.l?(s=(t.l-r.start)/a,e.l=Math.min(e.l,t.l-s)):r.end>t.r&&(s=(r.end-t.r)/a,e.r=Math.max(e.r,t.r+s)),i.start<t.t?(c=(t.t-i.start)/o,e.t=Math.min(e.t,t.t-c)):i.end>t.b&&(c=(i.end-t.b)/o,e.b=Math.max(e.b,t.b+c))}function B1n(e,t,n){let r=e.drawingArea,{extra:i,additionalAngle:a,padding:o,size:s}=n,c=e.getPointPosition(t,r+i+o,a),l=Math.round(vJn(B7(c.angle+N7))),u=G1n(c.y,s.h,l),d=U1n(l),f=W1n(c.x,s.w,d);return{visible:!0,x:c.x,y:u,textAlign:d,left:f,top:u,right:f+s.w,bottom:u+s.h}}function V1n(e,t){if(!t)return!0;let{left:n,top:r,right:i,bottom:a}=e;return!($7({x:n,y:r},t)||$7({x:n,y:a},t)||$7({x:i,y:r},t)||$7({x:i,y:a},t))}function H1n(e,t,n){let r=[],i=e._pointLabels.length,a=e.options,{centerPointLabels:o,display:s}=a.pointLabels,c={extra:F1n(a)/2,additionalAngle:o?A7/i:0},l;for(let a=0;a<i;a++){c.padding=n[a],c.size=t[a];let i=B1n(e,a,c);r.push(i),s===`auto`&&(i.visible=V1n(i,l),i.visible&&(l=i))}return r}function U1n(e){return e===0||e===180?`center`:e<180?`left`:`right`}function W1n(e,t,n){return n===`right`?e-=t:n===`center`&&(e-=t/2),e}function G1n(e,t,n){return n===90||n===270?e-=t/2:(n>270||n<90)&&(e-=t),e}function K1n(e,t,n){let{left:r,top:i,right:a,bottom:o}=n,{backdropColor:s}=t;if(!h7(s)){let n=i9(t.borderRadius),c=a9(t.backdropPadding);e.fillStyle=s;let l=r-c.left,u=i-c.top,d=a-r+c.width,f=o-i+c.height;Object.values(n).some(e=>e!==0)?(e.beginPath(),r9(e,{x:l,y:u,w:d,h:f,radius:n}),e.fill()):e.fillRect(l,u,d,f)}}function q1n(e,t){let{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){let t=e._pointLabelItems[i];if(!t.visible)continue;let a=r.setContext(e.getPointLabelContext(i));K1n(n,a,t);let o=o9(a.font),{x:s,y:c,textAlign:l}=t;n9(n,e._pointLabels[i],s,c+o.lineHeight/2,o,{color:a.color,textAlign:l,textBaseline:`middle`})}}function J1n(e,t,n,r){let{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,j7);else{let n=e.getPointPosition(0,t);i.moveTo(n.x,n.y);for(let a=1;a<r;a++)n=e.getPointPosition(a,t),i.lineTo(n.x,n.y)}}function Y1n(e,t,n,r,i){let a=e.ctx,o=t.circular,{color:s,lineWidth:c}=t;!o&&!r||!s||!c||n<0||(a.save(),a.strokeStyle=s,a.lineWidth=c,a.setLineDash(i.dash),a.lineDashOffset=i.dashOffset,a.beginPath(),J1n(e,n,o,r),a.closePath(),a.stroke(),a.restore())}function X1n(e,t,n){return c9(e,{label:n,index:t,type:`pointLabel`})}(class extends J9{static id=`radialLinear`;static defaults={display:!0,animate:!0,position:`chartArea`,angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:q7.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":`borderColor`,"pointLabels.color":`color`,"ticks.color":`color`};static descriptors={angleLines:{_fallback:`grid`}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let e=this._padding=a9(F1n(this.options)/2),t=this.width=this.maxWidth-e.width,n=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+n/2+e.top),this.drawingArea=Math.floor(Math.min(t,n)/2)}determineDataLimits(){let{min:e,max:t}=this.getMinMax(!1);this.min=v7(e)&&!isNaN(e)?e:0,this.max=v7(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/F1n(this.options))}generateTickLabels(e){J9.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map((e,t)=>{let n=x7(this.options.pointLabels.callback,[e,t],this);return n||n===0?n:``}).filter((e,t)=>this.chart.getDataVisibility(t))}fit(){let e=this.options;e.display&&e.pointLabels.display?R1n(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,n,r){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,n,r))}getIndexAngle(e){let t=j7/(this._pointLabels.length||1),n=this.options.startAngle||0;return B7(e*t+z7(n))}getDistanceFromCenterForValue(e){if(h7(e))return NaN;let t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(h7(e))return NaN;let t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){let t=this._pointLabels||[];if(e>=0&&e<t.length){let n=t[e];return X1n(this.getContext(),e,n)}}getPointPosition(e,t,n=0){let r=this.getIndexAngle(e)-N7+n;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}getPointPositionForValue(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}getBasePosition(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}getPointLabelPosition(e){let{left:t,top:n,right:r,bottom:i}=this._pointLabelItems[e];return{left:t,top:n,right:r,bottom:i}}drawBackground(){let{backgroundColor:e,grid:{circular:t}}=this.options;if(e){let n=this.ctx;n.save(),n.beginPath(),J1n(this,this.getDistanceFromCenterForValue(this._endValue),t,this._pointLabels.length),n.closePath(),n.fillStyle=e,n.fill(),n.restore()}}drawGrid(){let e=this.ctx,t=this.options,{angleLines:n,grid:r,border:i}=t,a=this._pointLabels.length,o,s,c;if(t.pointLabels.display&&q1n(this,a),r.display&&this.ticks.forEach((e,t)=>{if(t!==0){s=this.getDistanceFromCenterForValue(e.value);let n=this.getContext(t),o=r.setContext(n),c=i.setContext(n);Y1n(this,o,s,a,c)}}),n.display){for(e.save(),o=a-1;o>=0;o--){let r=n.setContext(this.getPointLabelContext(o)),{color:i,lineWidth:a}=r;!a||!i||(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(r.borderDash),e.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),c=this.getPointPosition(o,s),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(c.x,c.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){let e=this.ctx,t=this.options,n=t.ticks;if(!n.display)return;let r=this.getIndexAngle(0),i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(r),e.textAlign=`center`,e.textBaseline=`middle`,this.ticks.forEach((r,o)=>{if(o===0&&!t.reverse)return;let s=n.setContext(this.getContext(o)),c=o9(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[o].value),s.showLabelBackdrop){e.font=c.string,a=e.measureText(r.label).width,e.fillStyle=s.backdropColor;let t=a9(s.backdropPadding);e.fillRect(-a/2-t.left,-i-c.size/2-t.top,a+t.width,c.size+t.height)}n9(e,r.label,0,-i,c,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),e.restore()}drawTitle(){}});var Z9={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Q9=Object.keys(Z9);function Z1n(e,t){return e-t}function Q1n(e,t){if(h7(t))return null;let n=e._adapter,{parser:r,round:i,isoWeekday:a}=e._parseOpts,o=t;return typeof r==`function`&&(o=r(o)),v7(o)||(o=typeof r==`string`?n.parse(o,r):n.parse(o)),o===null?null:(i&&(o=i===`week`&&(R7(a)||a===!0)?n.startOf(o,`isoWeek`,a):n.startOf(o,i)),+o)}function $1n(e,t,n,r){let i=Q9.length;for(let a=Q9.indexOf(e);a<i-1;++a){let e=Z9[Q9[a]],i=e.steps?e.steps:2**53-1;if(e.common&&Math.ceil((n-t)/(i*e.size))<=r)return Q9[a]}return Q9[i-1]}function e0n(e,t,n,r,i){for(let a=Q9.length-1;a>=Q9.indexOf(n);a--){let n=Q9[a];if(Z9[n].common&&e._adapter.diff(i,r,n)>=t-1)return n}return Q9[n?Q9.indexOf(n):0]}function t0n(e){for(let t=Q9.indexOf(e)+1,n=Q9.length;t<n;++t)if(Z9[Q9[t]].common)return Q9[t]}function n0n(e,t,n){if(!n)e[t]=!0;else if(n.length){let{lo:r,hi:i}=TJn(n,t),a=n[r]>=t?n[r]:n[i];e[a]=!0}}function r0n(e,t,n,r){let i=e._adapter,a=+i.startOf(t[0].value,r),o=t[t.length-1].value,s,c;for(s=a;s<=o;s=+i.add(s,1,r))c=n[s],c>=0&&(t[c].major=!0);return t}function i0n(e,t,n){let r=[],i={},a=t.length,o,s;for(o=0;o<a;++o)s=t[o],i[s]=o,r.push({value:s,major:!1});return a===0||!n?r:r0n(e,r,i,n)}var a0n=class extends P9{static id=`time`;static defaults={bounds:`data`,adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:`millisecond`,displayFormats:{}},ticks:{source:`auto`,callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit=`day`,this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){let n=e.time||={},r=this._adapter=new cZn._date(e.adapters.date);r.init(t),E7(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return e===void 0?null:Q1n(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let e=this.options,t=this._adapter,n=e.time.unit||`day`,{min:r,max:i,minDefined:a,maxDefined:o}=this.getUserBounds();function s(e){!a&&!isNaN(e.min)&&(r=Math.min(r,e.min)),!o&&!isNaN(e.max)&&(i=Math.max(i,e.max))}(!a||!o)&&(s(this._getLabelBounds()),(e.bounds!==`ticks`||e.ticks.source!==`labels`)&&s(this.getMinMax(!1))),r=v7(r)&&!isNaN(r)?r:+t.startOf(Date.now(),n),i=v7(i)&&!isNaN(i)?i:+t.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){let e=this.getLabelTimestamps(),t=1/0,n=-1/0;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}buildTicks(){let e=this.options,t=e.time,n=e.ticks,r=n.source===`labels`?this.getLabelTimestamps():this._generate();e.bounds===`ticks`&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);let i=this.min,a=this.max,o=DJn(r,i,a);return this._unit=t.unit||(n.autoSkip?$1n(t.minUnit,this.min,this.max,this._getLabelCapacity(i)):e0n(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=!n.major.enabled||this._unit===`year`?void 0:t0n(this._unit),this.initOffsets(r),e.reverse&&o.reverse(),i0n(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let t=0,n=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),t=e.length===1?1-r:(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),n=e.length===1?i:(i-this.getDecimalForValue(e[e.length-2]))/2);let a=e.length<3?.5:.25;t=V7(t,0,a),n=V7(n,0,a),this._offsets={start:t,end:n,factor:1/(t+1+n)}}_generate(){let e=this._adapter,t=this.min,n=this.max,r=this.options,i=r.time,a=i.unit||$1n(i.minUnit,t,n,this._getLabelCapacity(t)),o=b7(r.ticks.stepSize,1),s=a===`week`?i.isoWeekday:!1,c=R7(s)||s===!0,l={},u=t,d,f;if(c&&(u=+e.startOf(u,`isoWeek`,s)),u=+e.startOf(u,c?`day`:a),e.diff(n,t,a)>1e5*o)throw Error(t+` and `+n+` are too far apart with stepSize of `+o+` `+a);let p=r.ticks.source===`data`&&this.getDataTimestamps();for(d=u,f=0;d<n;d=+e.add(d,o,a),f++)n0n(l,d,p);return(d===n||r.bounds===`ticks`||f===1)&&n0n(l,d,p),Object.keys(l).sort(Z1n).map(e=>+e)}getLabelForValue(e){let t=this._adapter,n=this.options.time;return n.tooltipFormat?t.format(e,n.tooltipFormat):t.format(e,n.displayFormats.datetime)}format(e,t){let n=this.options.time.displayFormats,r=this._unit,i=t||n[r];return this._adapter.format(e,i)}_tickFormatFunction(e,t,n,r){let i=this.options,a=i.ticks.callback;if(a)return x7(a,[e,t,n],this);let o=i.time.displayFormats,s=this._unit,c=this._majorUnit,l=s&&o[s],u=c&&o[c],d=n[t],f=c&&u&&d&&d.major;return this._adapter.format(e,r||(f?u:l))}generateTickLabels(e){let t,n,r;for(t=0,n=e.length;t<n;++t)r=e[t],r.label=this._tickFormatFunction(r.value,t,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){let t=this._offsets,n=this.getDecimalForValue(e);return this.getPixelForDecimal((t.start+n)*t.factor)}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return this.min+n*(this.max-this.min)}_getLabelSize(e){let t=this.options.ticks,n=this.ctx.measureText(e).width,r=z7(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),a=Math.sin(r),o=this._resolveTickFontOptions(0).size;return{w:n*i+o*a,h:n*a+o*i}}_getLabelCapacity(e){let t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,i=this._tickFormatFunction(e,0,i0n(this,[e],this._majorUnit),r),a=this._getLabelSize(i),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h)-1;return o>0?o:1}getDataTimestamps(){let e=this._cache.data||[],t,n;if(e.length)return e;let r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,n=r.length;t<n;++t)e=e.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){let e=this._cache.labels||[],t,n;if(e.length)return e;let r=this.getLabels();for(t=0,n=r.length;t<n;++t)e.push(Q1n(this,r[t]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return jJn(e.sort(Z1n))}};function $9(e,t,n){let r=0,i=e.length-1,a,o,s,c;n?(t>=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=U7(e,`pos`,t)),{pos:a,time:s}=e[r],{pos:o,time:c}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=U7(e,`time`,t)),{time:a,pos:s}=e[r],{time:o,pos:c}=e[i]);let l=o-a;return l?s+(c-s)*(t-a)/l:s}(class extends a0n{static id=`timeseries`;static defaults=a0n.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=$9(t,this.min),this._tableRange=$9(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){let{min:t,max:n}=this,r=[],i=[],a,o,s,c,l;for(a=0,o=e.length;a<o;++a)c=e[a],c>=t&&c<=n&&r.push(c);if(r.length<2)return[{time:t,pos:0},{time:n,pos:1}];for(a=0,o=r.length;a<o;++a)l=r[a+1],s=r[a-1],c=r[a],Math.round((l+s)/2)!==c&&i.push({time:c,pos:a/(o-1)});return i}_generate(){let e=this.min,t=this.max,n=super.getDataTimestamps();return(!n.includes(e)||!n.length)&&n.splice(0,0,e),(!n.includes(t)||n.length===1)&&n.push(t),n.sort((e,t)=>e-t)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;let t=this.getDataTimestamps(),n=this.getLabelTimestamps();return e=t.length&&n.length?this.normalize(t.concat(n)):t.length?t:n,e=this._cache.all=e,e}getDecimalForValue(e){return($9(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){let t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end;return $9(this._table,n*this._tableRange+this._minPos,!0)}});export{cDn as $,ZEt as $a,H_e as $c,ai as $d,p as $f,kGt as $i,Tfe as $l,V0 as $n,e4e as $o,R7t as $r,pbe as $s,wfn as $t,xse as $u,wjn as A,bG as Aa,Uve as Ac,oi as Ad,$t as Af,TXt as Ai,Rge as Al,rpn as An,__t as Ao,grn as Ar,ZUe as As,iwn as At,mce as Au,KOn as B,XEt as Ba,ave as Bc,yr as Bd,ut as Bf,XGt as Bi,vpe as Bl,Gfn as Bn,vot as Bo,Rnn as Br,Bbe as Bs,Yyn as Bt,Cce as Bu,VBn as C,ejt as Ca,$ve as Cc,go as Cd,Vt as Cf,oZt as Ci,Gge as Cl,Gdn as Cn,Gxt as Co,Ecn as Cr,jqe as Cs,NSn as Ct,ice as Cu,$jn as D,mOt as Da,Kve as Dc,q as Dd,Jt as Df,IXt as Di,Vge as Dl,ipn as Dn,_xt as Do,G1 as Dr,jWe as Ds,GCn as Dt,lce as Du,ZPn as E,hOt as Ea,Jve as Ec,J as Ed,Zt as Ef,HXt as Ei,Hge as El,$0 as En,Hxt as Eo,vln as Er,tKe as Es,RCn as Et,cce as Eu,gjn as F,fG as Fa,hve as Fc,U as Fd,O as Ff,kY as Fi,jge as Fl,Zfn as Fn,Ist as Fo,m$ as Fr,Ike as Fs,a3 as Ft,bce as Fu,vOn as G,eDt as Ga,Q_e as Gc,Ka as Gd,ae as Gf,KJ as Gi,Bfe as Gl,Hdn as Gn,oot as Go,fnn as Gr,kbe as Gs,I_n as Gt,zce as Gu,LOn as H,bDt as Ha,tve as Hc,vi as Hd,pe as Hf,YJ as Hi,hpe as Hl,Jfn as Hn,got as Ho,Enn as Hr,Rbe as Hs,j4 as Ht,wce as Hu,kAn as I,dG as Ia,dve as Ic,Do as Id,ge as If,lY as Ii,yme as Il,Xfn as In,sR as Io,s$ as Ir,Fke as Is,$4 as It,oce as Iu,sOn as J,sDt as Ja,Y_e as Jc,qa as Jd,Ge as Jf,OJ as Ji,Ife as Jl,sfn as Jn,a4e as Jo,enn as Jr,wbe as Js,bfn as Jt,fse as Ju,_On as K,lDt as Ka,Z_e as Kc,Xa as Kd,A as Kf,cKt as Ki,zfe as Kl,hpn as Kn,aot as Ko,unn as Kr,Obe as Ks,xpn as Kt,Woe as Ku,xAn as L,SDt as La,cve as Lc,sa as Ld,ye as Lf,PKt as Li,vme as Ll,Kfn as Ln,eR as Lo,e$ as Lr,Pke as Ls,u3 as Lt,gce as Lu,bjn as M,ZDt as Ma,vve as Mc,la as Md,B as Mf,OYt as Mi,Ige as Ml,Hfn as Mn,Bst as Mo,d$ as Mr,WUe as Ms,ISn as Mt,_ce as Mu,yjn as N,_G as Na,_ve as Nc,X as Nd,E as Nf,hYt as Ni,Fge as Nl,Ufn as Nn,yR as No,ZQ as Nr,GUe as Ns,LSn as Nt,qse as Nu,Yjn as O,cOt as Oa,Gve as Oc,Y as Od,rn as Of,FXt as Oi,Bge as Ol,zfn as On,_bt as Oo,Lcn as Or,tWe as Os,hCn as Ot,Fc as Ou,vjn as P,gG as Pa,gve as Pc,Wr as Pd,k as Pf,aYt as Pi,Pge as Pl,apn as Pn,_R as Po,r$ as Pr,Bh as Ps,BSn as Pt,yce as Pu,nOn as Q,REt as Qa,G_e as Qc,vr as Qd,o as Qf,iGt as Qi,Efe as Ql,kdn as Qn,f_ as Qo,WZ as Qr,gbe as Qs,Cfn as Qt,Ase as Qu,$On as R,xDt as Ra,sve as Rc,ha as Rd,M as Rf,CGt as Ri,ad as Rl,$fn as Rn,cst as Ro,PQ as Rr,UCe as Rs,o3 as Rt,xce as Ru,fVn as S,MG as Sa,eye as Sc,_o as Sd,zt as Sf,sZt as Si,qge as Sl,Wdn as Sn,GSt as So,Sln as Sr,Aqe as Ss,b3 as St,rce as Su,aFn as T,gkt as Ta,Zve as Tc,Z as Td,Bt as Tf,YXt as Ti,Uge as Tl,_pn as Tn,Uxt as To,L1 as Tr,_Ke as Ts,twn as Tt,sce as Tu,EOn as U,PEt as Ua,eve as Uc,fa as Ud,We as Uf,JGt as Ui,mpe as Ul,mpn as Un,hot as Uo,Tnn as Ur,Fbe as Us,N_n as Ut,Ece as Uu,GOn as V,VEt as Va,ive as Vc,_i as Vd,I as Vf,fKt as Vi,_pe as Vl,Yfn as Vn,ast as Vo,Lnn as Vr,zbe as Vs,jyn as Vt,nce as Vu,bOn as W,HEt as Wa,$_e as Wc,or as Wd,Ke as Wf,VJ as Wi,Lu as Wl,Kdn as Wn,yL as Wo,dnn as Wr,Mbe as Ws,F_n as Wt,Dce as Wu,iOn as X,JEt as Xa,q_e as Xc,Ya as Xd,ie as Xf,BGt as Xi,Pfe as Xl,j0 as Xn,p4e as Xo,qtn as Xr,bbe as Xs,tpn as Xt,hse as Xu,aOn as Y,cDt as Ya,J_e as Yc,Za as Yd,re as Yf,HJ as Yi,Ffe as Yl,mdn as Yn,f4e as Yo,Jtn as Yr,Cbe as Ys,xfn as Yt,pse as Yu,rOn as Z,GEt as Za,K_e as Zc,G as Zd,qe as Zf,BJ as Zi,Mfe as Zl,F0 as Zn,b2e as Zo,Gtn as Zr,_be as Zs,epn as Zt,vse as Zu,GGn as _,aK as _a,fye as _c,qo as _d,qt as _f,PZt as _i,n_e as _l,afn as _n,rTt as _o,F1 as _r,jJe as _s,sTn as _t,Hse as _u,sZn as a,AJ as aa,obe as ac,Ese as ad,Ir as af,Ken as ai,N_e as al,Efn as an,qEt as ao,be as ap,H0 as ar,pQe as as,BTn as at,jue as au,CUn as b,Njt as ba,oye as bc,As as bd,Yt as bf,xZt as bi,Xge as bl,Dpn as bn,JSt as bo,_cn as br,cJe as bs,Swn as bt,Wse as bu,u$n as c,ZUt as ca,rbe as cc,yoe as cd,Rr as cf,jQ as ci,D_e as cl,Afn as cn,GTt as co,Wun as cr,AZe as cs,gEn as ct,Hle as cu,s1n as d,nq as da,Xye as dc,xs as dd,xr as df,o4t as di,x_e as dl,upn as dn,vTt as do,rdn as dr,EYe as ds,mEn as dt,ece as du,UGt as ea,fbe as ec,Cse as ed,W as ef,VZ as ei,V_e as el,Nfn as en,rDt as eo,m as ep,Sun as er,t4e as es,UEn as et,wfe as eu,S1n as f,gK as fa,Bye as fc,Ns as fd,V as ff,BX as fi,b_e as fl,dpn as fn,WTt as fo,edn as fr,_Ye as fs,kTn as ft,Mse as fu,ZGn as g,oK as ga,mye as gc,es as gd,ft as gf,zZt as gi,l_e as gl,ifn as gn,iTt as go,O$ as gr,NJe as gs,gTn as gt,Bse as gu,pqn as h,lMt as ha,Dye as hc,Qte as hd,dt as hf,BZt as hi,h_e as hl,ppn as hn,oTt as ho,Wln as hr,MJe as hs,yTn as ht,Vse as hu,YQn as i,PGt as ia,cbe as ic,Tse as id,hi as if,wQ as ii,F_e as il,Pfn as in,$Et as io,st as ip,U0 as ir,g0e as is,SEn as it,fu as iu,Cjn as j,vG as ja,Hve as jc,qee as jd,Qt as jf,IYt as ji,Lge as jl,npn as jn,v_t as jo,XQ as jr,JUe as js,WCn as jt,uce as ju,Jjn as k,oOt as ka,Wve as kc,K as kd,nn as kf,kXt as ki,zge as kl,Bfn as kn,Jvt as ko,o$ as kr,$Ue as ks,Z4 as kt,dce as ku,Y$n as l,qIt as la,nbe as lc,koe as ld,Io as lf,w4t as li,T_e as ll,spn as ln,jTt as lo,vdn as lr,XXe as ls,pEn as lt,fl as lu,mqn as m,CK as ma,jye as mc,Ms as md,ote as mf,UZt as mi,__e as ml,fpn as mn,sTt as mo,$ as mr,WJe as ms,C3 as mt,Ise as mu,y$n as n,QWt as na,ube as nc,wse as nd,ri as nf,Itn as ni,R_e as nl,Dfn as nn,nDt as no,d as np,$un as nr,h4e as ns,IEn as nt,Tu as nu,V9 as o,UJ as oa,abe as oc,Ose as od,Oi as of,aQ as oi,j_e as ol,Lfn as on,hW as oo,q0 as or,eQe as os,WTn as ot,gl as ou,vqn as p,iq as pa,Mye as pc,hre as pd,gr as pf,U$t as pi,y_e as pl,Spn as pn,gTt as po,g0 as pr,UJe as ps,wTn as pt,jse as pu,cOn as q,IEt as qa,X_e as qc,ei as qd,fe as qf,WJ as qi,Lfe as ql,ofn as qn,iot as qo,tnn as qr,Dbe as qs,bpn as qt,qoe as qu,D1n as r,TGt as ra,lbe as rc,gse as rd,ni as rf,OQ as ri,I_e as rl,Ffn as rn,WEt as ro,a as rp,fdn as rr,E0e as rs,zEn as rt,pu as ru,A1n as s,RJ as sa,ibe as sc,Uoe as sd,mi as sf,AQ as si,k_e as sl,jfn as sn,mW as so,z0 as sr,BZe as ss,xEn as st,Gle as su,oZn as t,DGt as ta,dbe as tc,mse as td,ti as tf,Htn as ti,B_e as tl,Mfn as tn,LEt as to,u as tp,ndn as tr,g4e as ts,REn as tt,Eu as tu,i1n as u,vq as ua,$ye as uc,ps as ud,H as uf,S4t as ui,C_e as ul,cpn as un,UTt as uo,M0 as ur,ZXe as us,$Tn as ut,Kle as uu,EUn as v,rK as va,uye as vc,ws as vd,Wt as vf,MZt as vi,t_e as vl,vfn as vn,nTt as vo,Q$ as vr,oJe as vs,bTn as vt,Pc as vu,YFn as w,tjt as wa,Qve as wc,Na as wd,z as wf,aZt as wi,Wge as wl,vpn as wn,Wxt as wo,Ycn as wr,TKe as ws,mCn as wt,ace as wu,CVn as x,njt as xa,iye as xc,ks as xd,pt as xf,$Y as xi,Yge as xl,wpn as xn,KSt as xo,Ncn as xr,kqe as xs,v3 as xt,Yse as xu,DUn as y,qjt as ya,lye as yc,gs as yd,Xt as yf,jZt as yi,e_e as yl,Opn as yn,bwt as yo,lcn as yr,sJe as ys,vTn as yt,Use as yu,XOn as z,KEt as za,ove as zc,br as zd,l as zf,rKt as zi,ype as zl,Qfn as zn,ust as zo,f$ as zr,Zf as zs,MSn as zt,Sce as zu};
|