drizzle-cube 0.5.8 → 0.6.0
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/README.md +2 -0
- package/dist/adapters/adapters/hono/agent-handler.d.ts +9 -0
- package/dist/adapters/adapters/hono/mcp-handler.d.ts +37 -0
- package/dist/adapters/adapters/mcp-tools-handlers.d.ts +18 -0
- package/dist/adapters/adapters/nextjs/mcp-handler.d.ts +36 -0
- package/dist/adapters/adapters/utils.d.ts +6 -81
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +50 -50
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +78 -78
- package/dist/adapters/google-BOnRIN1w.cjs +2 -0
- package/dist/adapters/{google-CFYljAOF.js → google-CvKM9yVM.js} +83 -71
- package/dist/adapters/{handler-Cx8QYLk6.js → handler-CfgE0JSL.js} +499 -576
- package/dist/adapters/handler-Cn0dOctE.cjs +25 -0
- package/dist/adapters/hono/index.cjs +2 -2
- package/dist/adapters/hono/index.js +205 -175
- package/dist/adapters/locale-DDvZDFVn.js +8114 -0
- package/dist/adapters/locale-ZLUUNUxr.cjs +166 -0
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +49 -38
- package/dist/adapters/mcp-transport-Chiaj4ll.cjs +40 -0
- package/dist/adapters/mcp-transport-H96VG3WY.js +591 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +190 -197
- package/dist/adapters/{openai-BZdAA7Ji.js → openai-cDlFSTk6.js} +60 -58
- package/dist/adapters/openai-vXvLni8v.cjs +1 -0
- package/dist/adapters/{utils-D9JPLmfl.js → utils-BPWZsX7k.js} +1271 -1218
- package/dist/adapters/utils-_whV4fXL.cjs +128 -0
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.js +2 -2
- package/dist/client/charts/ChartLoader.d.ts +2 -16
- package/dist/client/charts/chartComponentRegistry.d.ts +46 -0
- package/dist/client/charts/chartConfigHelpers.d.ts +38 -0
- package/dist/client/charts.js +14 -13
- package/dist/client/chunks/{DashboardEditModal-CjCIAT-J.js → DashboardEditModal-okVfH8ZK.js} +5296 -4544
- package/dist/client/chunks/DashboardEditModal-okVfH8ZK.js.map +1 -0
- package/dist/client/chunks/{RetentionCombinedChart-BPkfcTa8.js → RetentionCombinedChart-BgbDhsPz.js} +10 -10
- package/dist/client/chunks/{RetentionCombinedChart-BPkfcTa8.js.map → RetentionCombinedChart-BgbDhsPz.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-DGzLzr7h.js → RetentionHeatmap-DjXZaTPq.js} +5 -5
- package/dist/client/chunks/{RetentionHeatmap-DGzLzr7h.js.map → RetentionHeatmap-DjXZaTPq.js.map} +1 -1
- package/dist/client/chunks/analysis-builder-DB88FojM.js +5674 -0
- package/dist/client/chunks/analysis-builder-DB88FojM.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-CYVwSPqt.js → analysis-builder-shared-BVK4TYfR.js} +1578 -1292
- package/dist/client/chunks/analysis-builder-shared-BVK4TYfR.js.map +1 -0
- package/dist/client/chunks/{chart-activity-grid-DmruKPab.js → chart-activity-grid-DX0SJbxs.js} +635 -492
- package/dist/client/chunks/chart-activity-grid-DX0SJbxs.js.map +1 -0
- package/dist/client/chunks/chart-area-of01_62R.js +775 -0
- package/dist/client/chunks/chart-area-of01_62R.js.map +1 -0
- package/dist/client/chunks/chart-bar-BqelQE_I.js +194 -0
- package/dist/client/chunks/chart-bar-BqelQE_I.js.map +1 -0
- package/dist/client/chunks/{chart-box-plot-DYKfyOI8.js → chart-box-plot-kkBixZ27.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-DYKfyOI8.js.map → chart-box-plot-kkBixZ27.js.map} +1 -1
- package/dist/client/chunks/chart-bubble-B2he1--4.js +221 -0
- package/dist/client/chunks/chart-bubble-B2he1--4.js.map +1 -0
- package/dist/client/chunks/{chart-candlestick-Dwc92Mrj.js → chart-candlestick-DZp19Tzh.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-Dwc92Mrj.js.map → chart-candlestick-DZp19Tzh.js.map} +1 -1
- package/dist/client/chunks/chart-config-area-BNigHUy8.js +124 -0
- package/dist/client/chunks/chart-config-area-BNigHUy8.js.map +1 -0
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js +54 -0
- package/dist/client/chunks/chart-config-bar-DSO_LRTx.js.map +1 -0
- package/dist/client/chunks/{chart-config-box-plot-DJ-dWWXA.js → chart-config-box-plot-oW8axV2q.js} +5 -10
- package/dist/client/chunks/chart-config-box-plot-oW8axV2q.js.map +1 -0
- package/dist/client/chunks/{chart-config-gauge-DSwC04l0.js → chart-config-gauge-Dq-_H9UN.js} +5 -7
- package/dist/client/chunks/chart-config-gauge-Dq-_H9UN.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-delta-D6BIkHL3.js → chart-config-kpi-delta-DSQbvqu_.js} +5 -10
- package/dist/client/chunks/chart-config-kpi-delta-DSQbvqu_.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-number-Bx-V9a62.js → chart-config-kpi-number-EFSWY1We.js} +5 -7
- package/dist/client/chunks/chart-config-kpi-number-EFSWY1We.js.map +1 -0
- package/dist/client/chunks/{chart-config-kpi-text-CcqC1u-8.js → chart-config-kpi-text-KM3V5X2u.js} +5 -7
- package/dist/client/chunks/chart-config-kpi-text-KM3V5X2u.js.map +1 -0
- package/dist/client/chunks/{chart-config-line-Db3jDsWc.js → chart-config-line-D6jG8PCH.js} +9 -36
- package/dist/client/chunks/chart-config-line-D6jG8PCH.js.map +1 -0
- package/dist/client/chunks/{chart-config-pie-DD4SmRTF.js → chart-config-pie-BhzW-fdn.js} +6 -16
- package/dist/client/chunks/chart-config-pie-BhzW-fdn.js.map +1 -0
- package/dist/client/chunks/{chart-config-radar-CC2XAaGr.js → chart-config-radar-D7REP1q_.js} +6 -16
- package/dist/client/chunks/chart-config-radar-D7REP1q_.js.map +1 -0
- package/dist/client/chunks/{chart-config-radial-bar-DmxKx1R0.js → chart-config-radial-bar-Byx6qOPU.js} +6 -16
- package/dist/client/chunks/chart-config-radial-bar-Byx6qOPU.js.map +1 -0
- package/dist/client/chunks/{chart-config-tree-map-BI-oQStO.js → chart-config-tree-map-DVrvf3yQ.js} +6 -16
- package/dist/client/chunks/chart-config-tree-map-DVrvf3yQ.js.map +1 -0
- package/dist/client/chunks/{chart-config-waterfall-DSnyixbI.js → chart-config-waterfall-DmFeQdIk.js} +5 -10
- package/dist/client/chunks/chart-config-waterfall-DmFeQdIk.js.map +1 -0
- package/dist/client/chunks/{chart-data-table-BO4sXsim.js → chart-data-table-CKauQXme.js} +1046 -1121
- package/dist/client/chunks/chart-data-table-CKauQXme.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-DnWRsmnS.js → chart-funnel-CToKSBaL.js} +184 -222
- package/dist/client/chunks/chart-funnel-CToKSBaL.js.map +1 -0
- package/dist/client/chunks/chart-gauge-DTVezSk7.js +403 -0
- package/dist/client/chunks/chart-gauge-DTVezSk7.js.map +1 -0
- package/dist/client/chunks/chart-heat-map-DTuUl0BR.js +236 -0
- package/dist/client/chunks/chart-heat-map-DTuUl0BR.js.map +1 -0
- package/dist/client/chunks/chart-kpi-delta-Dn-jjO-2.js +408 -0
- package/dist/client/chunks/chart-kpi-delta-Dn-jjO-2.js.map +1 -0
- package/dist/client/chunks/chart-kpi-number-P_WBiO5S.js +244 -0
- package/dist/client/chunks/chart-kpi-number-P_WBiO5S.js.map +1 -0
- package/dist/client/chunks/chart-kpi-text-C-Y4eb5H.js +185 -0
- package/dist/client/chunks/chart-kpi-text-C-Y4eb5H.js.map +1 -0
- package/dist/client/chunks/chart-line-DKgrQA6c.js +101 -0
- package/dist/client/chunks/chart-line-DKgrQA6c.js.map +1 -0
- package/dist/client/chunks/{chart-markdown-dgUetjyM.js → chart-markdown-CV75S_zL.js} +2 -2
- package/dist/client/chunks/{chart-markdown-dgUetjyM.js.map → chart-markdown-CV75S_zL.js.map} +1 -1
- package/dist/client/chunks/{chart-measure-profile-ClfpLs4q.js → chart-measure-profile-Ket8fJyf.js} +7 -7
- package/dist/client/chunks/{chart-measure-profile-ClfpLs4q.js.map → chart-measure-profile-Ket8fJyf.js.map} +1 -1
- package/dist/client/chunks/chart-pie-ByieAX5H.js +119 -0
- package/dist/client/chunks/chart-pie-ByieAX5H.js.map +1 -0
- package/dist/client/chunks/chart-radar-CiSwHWp4.js +138 -0
- package/dist/client/chunks/chart-radar-CiSwHWp4.js.map +1 -0
- package/dist/client/chunks/chart-radial-bar-BF6Mhl6f.js +122 -0
- package/dist/client/chunks/chart-radial-bar-BF6Mhl6f.js.map +1 -0
- package/dist/client/chunks/{chart-sankey-M3XpO_ah.js → chart-sankey-DjrvKw6K.js} +36 -39
- package/dist/client/chunks/{chart-sankey-M3XpO_ah.js.map → chart-sankey-DjrvKw6K.js.map} +1 -1
- package/dist/client/chunks/chart-scatter-Dd9WFqnS.js +258 -0
- package/dist/client/chunks/chart-scatter-Dd9WFqnS.js.map +1 -0
- package/dist/client/chunks/{chart-sunburst-A_u6lqlS.js → chart-sunburst-leGpuDj7.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-A_u6lqlS.js.map → chart-sunburst-leGpuDj7.js.map} +1 -1
- package/dist/client/chunks/chart-tree-map-Ceq5sLZA.js +323 -0
- package/dist/client/chunks/chart-tree-map-Ceq5sLZA.js.map +1 -0
- package/dist/client/chunks/{chart-waterfall-BuhMoagf.js → chart-waterfall-DyvQReN5.js} +7 -7
- package/dist/client/chunks/{chart-waterfall-BuhMoagf.js.map → chart-waterfall-DyvQReN5.js.map} +1 -1
- package/dist/client/chunks/{charts-core-jRtb0S2M.js → charts-core-DaXSt1Dd.js} +2 -2
- package/dist/client/chunks/{charts-core-jRtb0S2M.js.map → charts-core-DaXSt1Dd.js.map} +1 -1
- package/dist/client/chunks/charts-loader-DdTeCeNo.js +84 -0
- package/dist/client/chunks/charts-loader-DdTeCeNo.js.map +1 -0
- package/dist/client/chunks/{nl-NL-CpVs7ox3.js → nl-NL-2zTAWTej.js} +2 -1
- package/dist/client/chunks/{nl-NL-CpVs7ox3.js.map → nl-NL-2zTAWTej.js.map} +1 -1
- package/dist/client/chunks/retention-ChW9jYdy.js.map +1 -1
- package/dist/client/chunks/{schema-visualization-DE09kQE3.js → schema-visualization-Cb_E9_Gd.js} +12 -12
- package/dist/client/chunks/{schema-visualization-DE09kQE3.js.map → schema-visualization-Cb_E9_Gd.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-CoeQbprt.js → useDirtyStateTracking-MbpxH_v6.js} +95 -84
- package/dist/client/chunks/useDirtyStateTracking-MbpxH_v6.js.map +1 -0
- package/dist/client/chunks/{useExplainAI-DlnXWdmz.js → useExplainAI-evnZkjCY.js} +14 -14
- package/dist/client/chunks/{useExplainAI-DlnXWdmz.js.map → useExplainAI-evnZkjCY.js.map} +1 -1
- package/dist/client/chunks/{utils-CTKNaXS8.js → utils-3P6z1vz5.js} +2 -2
- package/dist/client/chunks/{utils-CTKNaXS8.js.map → utils-3P6z1vz5.js.map} +1 -1
- package/dist/client/chunks/{vendor-CPIYyeuD.js → vendor-DSpR0IW6.js} +43 -43
- package/dist/client/chunks/{vendor-CPIYyeuD.js.map → vendor-DSpR0IW6.js.map} +1 -1
- package/dist/client/components/AgenticNotebook/agentChatParts.d.ts +34 -0
- package/dist/client/components/AgenticNotebook/chatMessageParts.d.ts +39 -0
- package/dist/client/components/AgenticNotebook/useAgentChatController.d.ts +25 -0
- package/dist/client/components/AgenticNotebook/useNotebookAutosave.d.ts +12 -0
- package/dist/client/components/AnalysisBuilder/AnalysisQueryPanelParts.d.ts +64 -0
- package/dist/client/components/AnalysisBuilder/AnalysisResultsHeader.d.ts +67 -0
- package/dist/client/components/AnalysisBuilder/BreakdownComparisonToggle.d.ts +13 -0
- package/dist/client/components/AnalysisBuilder/BreakdownRow.d.ts +26 -0
- package/dist/client/components/AnalysisBuilder/DisplayOptionControl.d.ts +10 -0
- package/dist/client/components/AnalysisBuilder/ExecutionPlanPanelParts.d.ts +22 -0
- package/dist/client/components/AnalysisBuilder/FieldSearchResults.d.ts +16 -0
- package/dist/client/components/AnalysisBuilder/FilterValueInput.d.ts +63 -0
- package/dist/client/components/AnalysisBuilder/FlowDepthControls.d.ts +10 -0
- package/dist/client/components/AnalysisBuilder/FlowVisualizationPicker.d.ts +7 -0
- package/dist/client/components/AnalysisBuilder/LegacyBooleanOptions.d.ts +8 -0
- package/dist/client/components/AnalysisBuilder/MetricRow.d.ts +23 -0
- package/dist/client/components/AnalysisBuilder/SortToggleButton.d.ts +13 -0
- package/dist/client/components/AnalysisBuilder/StringArrayInput.d.ts +17 -0
- package/dist/client/components/AnalysisBuilder/filterConfigModalUtils.d.ts +30 -0
- package/dist/client/components/AnalysisBuilder/hooks/useAnalysisBuilderImperativeHandle.d.ts +13 -0
- package/dist/client/components/AnalysisBuilder/hooks/useDragReorder.d.ts +25 -0
- package/dist/client/components/AnalysisBuilder/hooks/useFieldSearchKeyboard.d.ts +11 -0
- package/dist/client/components/AnalysisBuilder/utils/axisConfigUtils.d.ts +23 -0
- package/dist/client/components/AnalysisBuilder/utils/executionPlanMarkdown.d.ts +8 -0
- package/dist/client/components/AnalysisBuilder/utils/fieldUtils.d.ts +5 -0
- package/dist/client/components/AnalysisBuilder/utils/resultsPanelDerive.d.ts +68 -0
- package/dist/client/components/AnalysisBuilder/utils/shareStateUtils.d.ts +68 -0
- package/dist/client/components/AnalysisBuilder/utils/sortUtils.d.ts +7 -0
- package/dist/client/components/DashboardFilters/CompactFilterBarParts.d.ts +26 -0
- package/dist/client/components/DashboardFilters/DashboardFilterConfigModalParts.d.ts +27 -0
- package/dist/client/components/DashboardFilters/DashboardFilterValueInput.d.ts +39 -0
- package/dist/client/components/DashboardFilters/dashboardFilterConfigModalUtils.d.ts +21 -0
- package/dist/client/components/DashboardFilters/useCompactFilterBar.d.ts +19 -0
- package/dist/client/components/DashboardFilters/useDashboardFilterConfigModal.d.ts +69 -0
- package/dist/client/components/DashboardFilters/useDateRangeState.d.ts +19 -0
- package/dist/client/components/DashboardFilters/useFilterDropdowns.d.ts +21 -0
- package/dist/client/components/DashboardFilters/useFilterValueFetch.d.ts +23 -0
- package/dist/client/components/DashboardPortletCard.d.ts +2 -57
- package/dist/client/components/analyticsPortlet/PortletChart.d.ts +31 -0
- package/dist/client/components/analyticsPortlet/PortletChartView.d.ts +35 -0
- package/dist/client/components/analyticsPortlet/PortletStates.d.ts +65 -0
- package/dist/client/components/analyticsPortlet/parsePortletQuery.d.ts +22 -0
- package/dist/client/components/analyticsPortlet/portletRenderState.d.ts +31 -0
- package/dist/client/components/analyticsPortlet/usePortletDebugData.d.ts +37 -0
- package/dist/client/components/analyticsPortlet/usePortletDrillState.d.ts +17 -0
- package/dist/client/components/analyticsPortlet/usePortletQueryResults.d.ts +37 -0
- package/dist/client/components/charts/ActivityGridChart.helpers.d.ts +33 -0
- package/dist/client/components/charts/ActivityGridChart.render.d.ts +31 -0
- package/dist/client/components/charts/AxisFormatControls.d.ts +3 -1
- package/dist/client/components/charts/BarChart.helpers.d.ts +23 -0
- package/dist/client/components/charts/BarSeries.d.ts +29 -0
- package/dist/client/components/charts/BubbleChart.helpers.d.ts +43 -0
- package/dist/client/components/charts/BubbleChart.render.d.ts +21 -0
- package/dist/client/components/charts/ChartStates.d.ts +38 -0
- package/dist/client/components/charts/FunnelChart.helpers.d.ts +25 -0
- package/dist/client/components/charts/FunnelViews.d.ts +16 -0
- package/dist/client/components/charts/HeatMapCanvas.d.ts +25 -0
- package/dist/client/components/charts/HeatMapChart.helpers.d.ts +64 -0
- package/dist/client/components/charts/KpiDelta.helpers.d.ts +20 -0
- package/dist/client/components/charts/KpiNumber.helpers.d.ts +30 -0
- package/dist/client/components/charts/KpiStates.d.ts +19 -0
- package/dist/client/components/charts/ScatterChart.helpers.d.ts +43 -0
- package/dist/client/components/charts/ScatterSeries.d.ts +17 -0
- package/dist/client/components/charts/ScatterTooltip.d.ts +21 -0
- package/dist/client/components/charts/TreeMapChart.helpers.d.ts +37 -0
- package/dist/client/components/charts/TreeMapContent.d.ts +24 -0
- package/dist/client/components/charts/TreeMapLegend.d.ts +13 -0
- package/dist/client/components/charts/cartesianChartHelpers.d.ts +126 -0
- package/dist/client/components/charts/chartAxisResolution.d.ts +32 -0
- package/dist/client/components/charts/chartScaffolding.d.ts +77 -0
- package/dist/client/components/charts/gaugeChartHelpers.d.ts +36 -0
- package/dist/client/components/charts/kpiTextHelpers.d.ts +46 -0
- package/dist/client/components/charts/radarChartHelpers.d.ts +14 -0
- package/dist/client/components/charts/radialBarChartHelpers.d.ts +22 -0
- package/dist/client/components/charts/useChartDimensions.d.ts +20 -0
- package/dist/client/components/charts/useKpiDimensions.d.ts +30 -0
- package/dist/client/components/dashboard/DashboardEditBar.d.ts +5 -0
- package/dist/client/components/dashboard/LayoutModeToggle.d.ts +10 -0
- package/dist/client/components/dashboardPortletCard/FilterFieldChip.d.ts +12 -0
- package/dist/client/components/dashboardPortletCard/PortletCardHeader.d.ts +43 -0
- package/dist/client/components/dashboardPortletCard/cardStyles.d.ts +33 -0
- package/dist/client/components/dashboardPortletCard/filterField.d.ts +12 -0
- package/dist/client/components/dashboardPortletCard/propsEqual.d.ts +55 -0
- package/dist/client/components/dashboardPortletCard/usePortletCardActions.d.ts +16 -0
- package/dist/client/components/portletAnalysisModal/saveValidation.d.ts +8 -0
- package/dist/client/components/shared/dateRangeUtils.d.ts +40 -0
- package/dist/client/components/shared/filterDisplayUtils.d.ts +10 -0
- package/dist/client/components/shared/filterItem/FilterDateRangeSelector.d.ts +17 -0
- package/dist/client/components/shared/filterItem/FilterFieldDropdown.d.ts +16 -0
- package/dist/client/components/shared/filterItem/dateRangeSync.d.ts +14 -0
- package/dist/client/components/shared/filterItem/fieldVisuals.d.ts +5 -0
- package/dist/client/components/shared/filterValueSelector/FilterValueInputs.d.ts +55 -0
- package/dist/client/components/shared/filterValueSelector/useFilterValueSelectorState.d.ts +25 -0
- package/dist/client/components/shared/queryFieldUtils.d.ts +21 -0
- package/dist/client/components/shared/utils.d.ts +4 -43
- package/dist/client/components.js +3 -3
- package/dist/client/hooks/agentChatStream.d.ts +39 -0
- package/dist/client/hooks/analysisQueryExecutionModes.d.ts +133 -0
- package/dist/client/hooks/drillNavigation.d.ts +25 -0
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons.js +2 -2
- package/dist/client/index.js +816 -669
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers.js +3 -3
- package/dist/client/schema.js +1 -1
- package/dist/client/shared/chartConfigBuilders.d.ts +18 -0
- package/dist/client/shared/components/QueryAnalysisPanel.sections.d.ts +41 -0
- package/dist/client/shared/queryTransforms.d.ts +20 -0
- package/dist/client/shared/utils.d.ts +2 -4
- package/dist/client/stores/optionsToAnalysisConfig.d.ts +17 -0
- package/dist/client/styles.css +1 -1
- package/dist/client/utils/axisValueFormatting.d.ts +32 -0
- package/dist/client/utils/timeValueFormatting.d.ts +32 -0
- package/dist/client/utils.js +6 -6
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +55 -55
- package/dist/server/google-BOnRIN1w.cjs +2 -0
- package/dist/server/{google-CFYljAOF.js → google-CvKM9yVM.js} +83 -71
- package/dist/server/index.cjs +179 -211
- package/dist/server/index.js +6330 -6458
- package/dist/server/{openai-BZdAA7Ji.js → openai-cDlFSTk6.js} +60 -58
- package/dist/server/openai-vXvLni8v.cjs +1 -0
- package/dist/server/server/adapters/base-adapter.d.ts +80 -35
- package/dist/server/server/adapters/databend-adapter.d.ts +8 -59
- package/dist/server/server/adapters/duckdb-adapter.d.ts +5 -59
- package/dist/server/server/adapters/mysql-adapter.d.ts +13 -70
- package/dist/server/server/adapters/postgres-adapter.d.ts +1 -65
- package/dist/server/server/adapters/snowflake-adapter.d.ts +5 -68
- package/dist/server/server/adapters/sqlite-adapter.d.ts +12 -32
- package/dist/server/server/adapters/window-function-builder.d.ts +11 -0
- package/dist/server/server/agent/chart-validation.d.ts +0 -5
- package/dist/server/server/agent/handler-steps.d.ts +37 -0
- package/dist/server/server/ai/discovery-helpers.d.ts +29 -0
- package/dist/server/server/ai/discovery.d.ts +4 -0
- package/dist/server/server/ai/suggestion-helpers.d.ts +33 -0
- package/dist/server/server/ai/suggestion.d.ts +0 -3
- package/dist/server/server/ai/validation-helpers.d.ts +21 -0
- package/dist/server/server/ai/validation.d.ts +0 -3
- package/dist/server/server/builders/analysis-utils.d.ts +106 -0
- package/dist/server/server/builders/cte-builder.d.ts +46 -0
- package/dist/server/server/builders/date-time-builder.d.ts +5 -0
- package/dist/server/server/builders/date-time-helpers.d.ts +34 -0
- package/dist/server/server/builders/filter-builder.d.ts +2 -0
- package/dist/server/server/builders/filter-operators.d.ts +23 -0
- package/dist/server/server/builders/flow-query-builder.d.ts +46 -19
- package/dist/server/server/builders/funnel-query-builder.d.ts +16 -5
- package/dist/server/server/builders/group-by-builder.d.ts +11 -0
- package/dist/server/server/builders/measure-builder.d.ts +43 -0
- package/dist/server/server/builders/retention-query-builder.d.ts +12 -14
- package/dist/server/server/cache-utils.d.ts +25 -5
- package/dist/server/server/compiler-metadata.d.ts +11 -0
- package/dist/server/server/compiler.d.ts +8 -14
- package/dist/server/server/cube-utils.d.ts +29 -4
- package/dist/server/server/execution/annotation-builder.d.ts +12 -0
- package/dist/server/server/execution/filter-cache-preloader.d.ts +19 -0
- package/dist/server/server/execution/mode-router.d.ts +25 -0
- package/dist/server/server/execution/query-result-cache.d.ts +21 -0
- package/dist/server/server/execution/result-post-processor.d.ts +10 -0
- package/dist/server/server/executor.d.ts +33 -30
- package/dist/server/server/executors/explain-utils.d.ts +28 -0
- package/dist/server/server/explain/explain-tree.d.ts +20 -0
- package/dist/server/server/filter-cache.d.ts +2 -2
- package/dist/server/server/gap-filler.d.ts +6 -0
- package/dist/server/server/index.d.ts +3 -1
- package/dist/server/server/logical-plan/cte-planner-helpers.d.ts +37 -0
- package/dist/server/server/logical-plan/cte-planner.d.ts +104 -0
- package/dist/server/server/logical-plan/filter-propagation.d.ts +44 -0
- package/dist/server/server/logical-plan/index.d.ts +6 -1
- package/dist/server/server/logical-plan/join-planner.d.ts +27 -0
- package/dist/server/server/logical-plan/logical-planner.d.ts +7 -200
- package/dist/server/server/logical-plan/optimiser.d.ts +3 -1
- package/dist/server/server/logical-plan/plan-analysis-reporter.d.ts +59 -0
- package/dist/server/server/logical-plan/planner-utils.d.ts +20 -0
- package/dist/server/server/logical-plan/types.d.ts +17 -9
- package/dist/server/server/measure-classification.d.ts +40 -0
- package/dist/server/server/physical-plan/drizzle-plan-builder.d.ts +21 -21
- package/dist/server/server/physical-plan/drizzle-sql-builder.d.ts +11 -0
- package/dist/server/server/physical-plan/processors/index.d.ts +2 -0
- package/dist/server/server/physical-plan/processors/keys-dedup-processor.d.ts +13 -0
- package/dist/server/server/physical-plan/processors/multi-fact-processor.d.ts +13 -0
- package/dist/server/server/physical-plan/processors/shared.d.ts +5 -0
- package/dist/server/server/query-handlers.d.ts +79 -0
- package/dist/server/server/query-modes.d.ts +28 -0
- package/dist/server/server/query-validator.d.ts +9 -0
- package/dist/server/server/resolvers/calculated-measure-resolver.d.ts +5 -0
- package/dist/server/server/resolvers/join-path-resolver.d.ts +6 -0
- package/dist/server/server/sql-format.d.ts +11 -0
- package/dist/server/server/types/cube.d.ts +18 -4
- package/dist/server/server/types/flow.d.ts +6 -5
- package/dist/server/server/types/index.d.ts +1 -1
- package/dist/server/server/types/validation.d.ts +14 -0
- package/package.json +11 -4
- package/dist/adapters/google-DUlXeeDA.cjs +0 -2
- package/dist/adapters/handler-CzbCuS6_.cjs +0 -25
- package/dist/adapters/locale-BPB7flIG.js +0 -8249
- package/dist/adapters/locale-tIMrNcCr.cjs +0 -198
- package/dist/adapters/mcp-transport-C2QzXm6h.cjs +0 -40
- package/dist/adapters/mcp-transport-D0B3S1tB.js +0 -579
- package/dist/adapters/openai-D_U4V0kT.cjs +0 -1
- package/dist/adapters/utils-KV37IBIv.cjs +0 -128
- package/dist/client/chunks/DashboardEditModal-CjCIAT-J.js.map +0 -1
- package/dist/client/chunks/analysis-builder-MuMIzoRq.js +0 -5367
- package/dist/client/chunks/analysis-builder-MuMIzoRq.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-CYVwSPqt.js.map +0 -1
- package/dist/client/chunks/chart-activity-grid-DmruKPab.js.map +0 -1
- package/dist/client/chunks/chart-area-DHCPM4Em.js +0 -450
- package/dist/client/chunks/chart-area-DHCPM4Em.js.map +0 -1
- package/dist/client/chunks/chart-bar-KddciGDv.js +0 -271
- package/dist/client/chunks/chart-bar-KddciGDv.js.map +0 -1
- package/dist/client/chunks/chart-bubble-CfqiB538.js +0 -273
- package/dist/client/chunks/chart-bubble-CfqiB538.js.map +0 -1
- package/dist/client/chunks/chart-config-area-Bq_UsW3x.js +0 -101
- package/dist/client/chunks/chart-config-area-Bq_UsW3x.js.map +0 -1
- package/dist/client/chunks/chart-config-bar-_JEGZnAu.js +0 -95
- package/dist/client/chunks/chart-config-bar-_JEGZnAu.js.map +0 -1
- package/dist/client/chunks/chart-config-box-plot-DJ-dWWXA.js.map +0 -1
- package/dist/client/chunks/chart-config-gauge-DSwC04l0.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-delta-D6BIkHL3.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-number-Bx-V9a62.js.map +0 -1
- package/dist/client/chunks/chart-config-kpi-text-CcqC1u-8.js.map +0 -1
- package/dist/client/chunks/chart-config-line-Db3jDsWc.js.map +0 -1
- package/dist/client/chunks/chart-config-pie-DD4SmRTF.js.map +0 -1
- package/dist/client/chunks/chart-config-radar-CC2XAaGr.js.map +0 -1
- package/dist/client/chunks/chart-config-radial-bar-DmxKx1R0.js.map +0 -1
- package/dist/client/chunks/chart-config-tree-map-BI-oQStO.js.map +0 -1
- package/dist/client/chunks/chart-config-waterfall-DSnyixbI.js.map +0 -1
- package/dist/client/chunks/chart-data-table-BO4sXsim.js.map +0 -1
- package/dist/client/chunks/chart-funnel-DnWRsmnS.js.map +0 -1
- package/dist/client/chunks/chart-gauge-CgMeqeGb.js +0 -424
- package/dist/client/chunks/chart-gauge-CgMeqeGb.js.map +0 -1
- package/dist/client/chunks/chart-heat-map-DcGm9SWK.js +0 -231
- package/dist/client/chunks/chart-heat-map-DcGm9SWK.js.map +0 -1
- package/dist/client/chunks/chart-kpi-delta-C2wKPqCb.js +0 -343
- package/dist/client/chunks/chart-kpi-delta-C2wKPqCb.js.map +0 -1
- package/dist/client/chunks/chart-kpi-number-gWYF44ol.js +0 -322
- package/dist/client/chunks/chart-kpi-number-gWYF44ol.js.map +0 -1
- package/dist/client/chunks/chart-kpi-text-DIYtJtk4.js +0 -149
- package/dist/client/chunks/chart-kpi-text-DIYtJtk4.js.map +0 -1
- package/dist/client/chunks/chart-line-9BEGN5Ti.js +0 -433
- package/dist/client/chunks/chart-line-9BEGN5Ti.js.map +0 -1
- package/dist/client/chunks/chart-pie-BjAIhyOi.js +0 -172
- package/dist/client/chunks/chart-pie-BjAIhyOi.js.map +0 -1
- package/dist/client/chunks/chart-radar-Dgkcl2bN.js +0 -154
- package/dist/client/chunks/chart-radar-Dgkcl2bN.js.map +0 -1
- package/dist/client/chunks/chart-radial-bar-DdWJjAhK.js +0 -148
- package/dist/client/chunks/chart-radial-bar-DdWJjAhK.js.map +0 -1
- package/dist/client/chunks/chart-scatter-DaHYP_OL.js +0 -255
- package/dist/client/chunks/chart-scatter-DaHYP_OL.js.map +0 -1
- package/dist/client/chunks/chart-tree-map-uiwUU4nb.js +0 -298
- package/dist/client/chunks/chart-tree-map-uiwUU4nb.js.map +0 -1
- package/dist/client/chunks/useDirtyStateTracking-CoeQbprt.js.map +0 -1
- package/dist/server/google-DUlXeeDA.cjs +0 -2
- package/dist/server/openai-D_U4V0kT.cjs +0 -1
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
import { b as e, f as t, m as n, p as r, s as i, x as a, y as o } from "./utils-BPWZsX7k.js";
|
|
2
|
+
//#region src/mcp-app/generated-html.ts
|
|
3
|
+
var s = "<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>Drizzle Cube Visualization</title>\n <script type=\"module\" crossorigin>var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=(e=>typeof require<`u`?require:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof require<`u`?require:e)[t]}):e)(function(e){if(typeof require<`u`)return require.apply(this,arguments);throw Error('Calling `require` for \"'+e+\"\\\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.\")});(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel=\"modulepreload\"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var f=s((e=>{var t=Symbol.for(`react.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.provider`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.iterator;function p(e){return typeof e!=`object`||!e?null:(e=f&&e[f]||e[`@@iterator`],typeof e==`function`?e:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,g={};function _(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`setState(...): takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function v(){}v.prototype=_.prototype;function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}var b=y.prototype=new v;b.constructor=y,h(b,_.prototype),b.isPureReactComponent=!0;var x=Array.isArray,S=Object.prototype.hasOwnProperty,C={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function T(e,n,r){var i,a={},o=null,s=null;if(n!=null)for(i in n.ref!==void 0&&(s=n.ref),n.key!==void 0&&(o=``+n.key),n)S.call(n,i)&&!w.hasOwnProperty(i)&&(a[i]=n[i]);var c=arguments.length-2;if(c===1)a.children=r;else if(1<c){for(var l=Array(c),u=0;u<c;u++)l[u]=arguments[u+2];a.children=l}if(e&&e.defaultProps)for(i in c=e.defaultProps,c)a[i]===void 0&&(a[i]=c[i]);return{$$typeof:t,type:e,key:o,ref:s,props:a,_owner:C.current}}function E(e,n){return{$$typeof:t,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function O(e){var t={\"=\":`=0`,\":\":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var k=/\\/+/g;function ee(e,t){return typeof e==`object`&&e&&e.key!=null?O(``+e.key):t.toString(36)}function te(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0}}if(c)return c=e,o=o(c),e=a===``?`.`+ee(c,0):a,x(o)?(i=``,e!=null&&(i=e.replace(k,`$&/`)+`/`),te(o,r,i,``,function(e){return e})):o!=null&&(D(o)&&(o=E(o,i+(!o.key||c&&c.key===o.key?``:(``+o.key).replace(k,`$&/`)+`/`)+e)),r.push(o)),1;if(c=0,a=a===``?`.`:a+`:`,x(e))for(var l=0;l<e.length;l++){s=e[l];var u=a+ee(s,l);c+=te(s,r,i,u,o)}else if(u=p(e),typeof u==`function`)for(e=u.call(e),l=0;!(s=e.next()).done;)s=s.value,u=a+ee(s,l++),c+=te(s,r,i,u,o);else if(s===`object`)throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`);return c}function ne(e,t,n){if(e==null)return e;var r=[],i=0;return te(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function A(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var re={current:null},j={transition:null},ie={ReactCurrentDispatcher:re,ReactCurrentBatchConfig:j,ReactCurrentOwner:C};function ae(){throw Error(`act(...) is not supported in production builds of React.`)}e.Children={map:ne,forEach:function(e,t,n){ne(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ne(e,function(){t++}),t},toArray:function(e){return ne(e,function(e){return e})||[]},only:function(e){if(!D(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}},e.Component=_,e.Fragment=r,e.Profiler=a,e.PureComponent=y,e.StrictMode=i,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,e.act=ae,e.cloneElement=function(e,n,r){if(e==null)throw Error(`React.cloneElement(...): The argument must be a React element, but you passed `+e+`.`);var i=h({},e.props),a=e.key,o=e.ref,s=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,s=C.current),n.key!==void 0&&(a=``+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(l in n)S.call(n,l)&&!w.hasOwnProperty(l)&&(i[l]=n[l]===void 0&&c!==void 0?c[l]:n[l])}var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){c=Array(l);for(var u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}return{$$typeof:t,type:e.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:o,_context:e},e.Consumer=e},e.createElement=T,e.createFactory=function(e){var t=T.bind(null,e);return t.type=e,t},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=D,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:A}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},e.unstable_act=ae,e.useCallback=function(e,t){return re.current.useCallback(e,t)},e.useContext=function(e){return re.current.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e){return re.current.useDeferredValue(e)},e.useEffect=function(e,t){return re.current.useEffect(e,t)},e.useId=function(){return re.current.useId()},e.useImperativeHandle=function(e,t,n){return re.current.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return re.current.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return re.current.useLayoutEffect(e,t)},e.useMemo=function(e,t){return re.current.useMemo(e,t)},e.useReducer=function(e,t,n){return re.current.useReducer(e,t,n)},e.useRef=function(e){return re.current.useRef(e)},e.useState=function(e){return re.current.useState(e)},e.useSyncExternalStore=function(e,t,n){return re.current.useSyncExternalStore(e,t,n)},e.useTransition=function(){return re.current.useTransition()},e.version=`18.3.1`})),p=s(((e,t)=>{t.exports=f()})),m=s((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=typeof setTimeout==`function`?setTimeout:null,_=typeof clearTimeout==`function`?clearTimeout:null,v=typeof setImmediate<`u`?setImmediate:null;typeof navigator<`u`&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function b(e){if(h=!1,y(e),!m)if(n(c)!==null)m=!0,ne(x);else{var t=n(l);t!==null&&A(b,t.startTime-e)}}function x(t,i){m=!1,h&&(h=!1,_(w),w=-1),p=!0;var a=f;try{for(y(i),d=n(c);d!==null&&(!(d.expirationTime>i)||t&&!D());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=i);i=e.unstable_now(),typeof s==`function`?d.callback=s:d===n(c)&&r(c),y(i)}else r(c);d=n(c)}if(d!==null)var u=!0;else{var g=n(l);g!==null&&A(b,g.startTime-i),u=!1}return u}finally{d=null,f=a,p=!1}}var S=!1,C=null,w=-1,T=5,E=-1;function D(){return!(e.unstable_now()-E<T)}function O(){if(C!==null){var t=e.unstable_now();E=t;var n=!0;try{n=C(!0,t)}finally{n?k():(S=!1,C=null)}}else S=!1}var k;if(typeof v==`function`)k=function(){v(O)};else if(typeof MessageChannel<`u`){var ee=new MessageChannel,te=ee.port2;ee.port1.onmessage=O,k=function(){te.postMessage(null)}}else k=function(){g(O,0)};function ne(e){C=e,S||(S=!0,k())}function A(t,n){w=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){m||p||(m=!0,ne(x))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):T=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(_(w),w=-1):h=!0,A(b,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,ne(x))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),h=s(((e,t)=>{t.exports=m()})),g=s((e=>{var t=p(),n=h();function r(e){for(var t=`https://reactjs.org/docs/error-decoder.html?invariant=`+e,n=1;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n]);return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}var i=new Set,a={};function o(e,t){s(e,t),s(e+`Capture`,t)}function s(e,t){for(a[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),l=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,d={},f={};function m(e){return l.call(f,e)?!0:l.call(d,e)?!1:u.test(e)?f[e]=!0:(d[e]=!0,!1)}function g(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case`function`:case`symbol`:return!0;case`boolean`:return r?!1:n===null?(e=e.toLowerCase().slice(0,5),e!==`data-`&&e!==`aria-`):!n.acceptsBooleans;default:return!1}}function _(e,t,n,r){if(t==null||g(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function v(e,t,n,r,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var y={};`children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style`.split(` `).forEach(function(e){y[e]=new v(e,0,!1,e,null,!1,!1)}),[[`acceptCharset`,`accept-charset`],[`className`,`class`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`]].forEach(function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)}),[`contentEditable`,`draggable`,`spellCheck`,`value`].forEach(function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)}),[`autoReverse`,`externalResourcesRequired`,`focusable`,`preserveAlpha`].forEach(function(e){y[e]=new v(e,2,!1,e,null,!1,!1)}),`allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope`.split(` `).forEach(function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)}),[`checked`,`multiple`,`muted`,`selected`].forEach(function(e){y[e]=new v(e,3,!0,e,null,!1,!1)}),[`capture`,`download`].forEach(function(e){y[e]=new v(e,4,!1,e,null,!1,!1)}),[`cols`,`rows`,`size`,`span`].forEach(function(e){y[e]=new v(e,6,!1,e,null,!1,!1)}),[`rowSpan`,`start`].forEach(function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var b=/[\\-:]([a-z])/g;function x(e){return e[1].toUpperCase()}`accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,null,!1,!1)}),`xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type`.split(` `).forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/1999/xlink`,!1,!1)}),[`xml:base`,`xml:lang`,`xml:space`].forEach(function(e){var t=e.replace(b,x);y[t]=new v(t,1,!1,e,`http://www.w3.org/XML/1998/namespace`,!1,!1)}),[`tabIndex`,`crossOrigin`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)}),y.xlinkHref=new v(`xlinkHref`,1,!1,`xlink:href`,`http://www.w3.org/1999/xlink`,!0,!1),[`src`,`href`,`action`,`formAction`].forEach(function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function S(e,t,n,r){var i=y.hasOwnProperty(t)?y[t]:null;(i===null?r||!(2<t.length)||t[0]!==`o`&&t[0]!==`O`||t[1]!==`n`&&t[1]!==`N`:i.type!==0)&&(_(t,n,i,r)&&(n=null),r||i===null?m(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,``+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:``:n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&!0===n?``:``+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var C=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for(`react.element`),T=Symbol.for(`react.portal`),E=Symbol.for(`react.fragment`),D=Symbol.for(`react.strict_mode`),O=Symbol.for(`react.profiler`),k=Symbol.for(`react.provider`),ee=Symbol.for(`react.context`),te=Symbol.for(`react.forward_ref`),ne=Symbol.for(`react.suspense`),A=Symbol.for(`react.suspense_list`),re=Symbol.for(`react.memo`),j=Symbol.for(`react.lazy`),ie=Symbol.for(`react.offscreen`),ae=Symbol.iterator;function oe(e){return typeof e!=`object`||!e?null:(e=ae&&e[ae]||e[`@@iterator`],typeof e==`function`?e:null)}var se=Object.assign,ce;function M(e){if(ce===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\\n( *(at )?)/);ce=t&&t[1]||``}return`\n`+ce+e}var le=!1;function ue(e,t){if(!e||le)return``;le=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&typeof t.stack==`string`){for(var i=t.stack.split(`\n`),a=r.stack.split(`\n`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var c=`\n`+i[o].replace(` at new `,` at `);return e.displayName&&c.includes(`<anonymous>`)&&(c=c.replace(`<anonymous>`,e.displayName)),c}while(1<=o&&0<=s);break}}}finally{le=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:``)?M(e):``}function de(e){switch(e.tag){case 5:return M(e.type);case 16:return M(`Lazy`);case 13:return M(`Suspense`);case 19:return M(`SuspenseList`);case 0:case 2:case 15:return e=ue(e.type,!1),e;case 11:return e=ue(e.type.render,!1),e;case 1:return e=ue(e.type,!0),e;default:return``}}function fe(e){if(e==null)return null;if(typeof e==`function`)return e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case E:return`Fragment`;case T:return`Portal`;case O:return`Profiler`;case D:return`StrictMode`;case ne:return`Suspense`;case A:return`SuspenseList`}if(typeof e==`object`)switch(e.$$typeof){case ee:return(e.displayName||`Context`)+`.Consumer`;case k:return(e._context.displayName||`Context`)+`.Provider`;case te:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case re:return t=e.displayName||null,t===null?fe(e.type)||`Memo`:t;case j:t=e._payload,e=e._init;try{return fe(e(t))}catch{}}return null}function pe(e){var t=e.type;switch(e.tag){case 24:return`Cache`;case 9:return(t.displayName||`Context`)+`.Consumer`;case 10:return(t._context.displayName||`Context`)+`.Provider`;case 18:return`DehydratedFragment`;case 11:return e=t.render,e=e.displayName||e.name||``,t.displayName||(e===``?`ForwardRef`:`ForwardRef(`+e+`)`);case 7:return`Fragment`;case 5:return t;case 4:return`Portal`;case 3:return`Root`;case 6:return`Text`;case 16:return fe(t);case 8:return t===D?`StrictMode`:`Mode`;case 22:return`Offscreen`;case 12:return`Profiler`;case 21:return`Scope`;case 13:return`Suspense`;case 19:return`SuspenseList`;case 25:return`TracingMarker`;case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t==`function`)return t.displayName||t.name||null;if(typeof t==`string`)return t}return null}function me(e){switch(typeof e){case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function he(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function ge(e){var t=he(e)?`checked`:`value`,n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=``+e[t];if(!e.hasOwnProperty(t)&&n!==void 0&&typeof n.get==`function`&&typeof n.set==`function`){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _e(e){e._valueTracker||=ge(e)}function ve(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=he(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function ye(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}function be(e,t){var n=t.checked;return se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xe(e,t){var n=t.defaultValue==null?``:t.defaultValue,r=t.checked==null?t.defaultChecked:t.checked;n=me(t.value==null?n:t.value),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type===`checkbox`||t.type===`radio`?t.checked!=null:t.value!=null}}function Se(e,t){t=t.checked,t!=null&&S(e,`checked`,t,!1)}function Ce(e,t){Se(e,t);var n=me(t.value),r=t.type;if(n!=null)r===`number`?(n===0&&e.value===``||e.value!=n)&&(e.value=``+n):e.value!==``+n&&(e.value=``+n);else if(r===`submit`||r===`reset`){e.removeAttribute(`value`);return}t.hasOwnProperty(`value`)?we(e,t.type,n):t.hasOwnProperty(`defaultValue`)&&we(e,t.type,me(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function N(e,t,n){if(t.hasOwnProperty(`value`)||t.hasOwnProperty(`defaultValue`)){var r=t.type;if(!(r!==`submit`&&r!==`reset`||t.value!==void 0&&t.value!==null))return;t=``+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==``&&(e.name=``),e.defaultChecked=!!e._wrapperState.initialChecked,n!==``&&(e.name=n)}function we(e,t,n){(t!==`number`||ye(e.ownerDocument)!==e)&&(n==null?e.defaultValue=``+e._wrapperState.initialValue:e.defaultValue!==``+n&&(e.defaultValue=``+n))}var P=Array.isArray;function Te(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+me(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ee(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(r(91));return se({},t,{value:void 0,defaultValue:void 0,children:``+e._wrapperState.initialValue})}function De(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(r(92));if(P(n)){if(1<n.length)throw Error(r(93));n=n[0]}t=n}t??=``,n=t}e._wrapperState={initialValue:me(n)}}function Oe(e,t){var n=me(t.value),r=me(t.defaultValue);n!=null&&(n=``+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=``+r)}function ke(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==``&&t!==null&&(e.value=t)}function Ae(e){switch(e){case`svg`:return`http://www.w3.org/2000/svg`;case`math`:return`http://www.w3.org/1998/Math/MathML`;default:return`http://www.w3.org/1999/xhtml`}}function je(e,t){return e==null||e===`http://www.w3.org/1999/xhtml`?Ae(t):e===`http://www.w3.org/2000/svg`&&t===`foreignObject`?`http://www.w3.org/1999/xhtml`:e}var Me,Ne=function(e){return typeof MSApp<`u`&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!==`http://www.w3.org/2000/svg`||`innerHTML`in e)e.innerHTML=t;else{for(Me||=document.createElement(`div`),Me.innerHTML=`<svg>`+t.valueOf().toString()+`</svg>`,t=Me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ie=[`Webkit`,`ms`,`Moz`,`O`];Object.keys(Fe).forEach(function(e){Ie.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fe[t]=Fe[e]})});function Le(e,t,n){return t==null||typeof t==`boolean`||t===``?``:n||typeof t!=`number`||t===0||Fe.hasOwnProperty(e)&&Fe[e]?(``+t).trim():t+`px`}function Re(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf(`--`)===0,i=Le(n,t[n],r);n===`float`&&(n=`cssFloat`),r?e.setProperty(n,i):e[n]=i}}var ze=se({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F(e,t){if(t){if(ze[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(r(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(r(60));if(typeof t.dangerouslySetInnerHTML!=`object`||!(`__html`in t.dangerouslySetInnerHTML))throw Error(r(61))}if(t.style!=null&&typeof t.style!=`object`)throw Error(r(62))}}function Be(e,t){if(e.indexOf(`-`)===-1)return typeof t.is==`string`;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Ve=null;function He(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ue=null,We=null,Ge=null;function Ke(e){if(e=Gi(e)){if(typeof Ue!=`function`)throw Error(r(280));var t=e.stateNode;t&&(t=qi(t),Ue(e.stateNode,e.type,t))}}function qe(e){We?Ge?Ge.push(e):Ge=[e]:We=e}function Je(){if(We){var e=We,t=Ge;if(Ge=We=null,Ke(e),t)for(e=0;e<t.length;e++)Ke(t[e])}}function Ye(e,t){return e(t)}function Xe(){}var Ze=!1;function Qe(e,t,n){if(Ze)return e(t,n);Ze=!0;try{return Ye(e,t,n)}finally{Ze=!1,(We!==null||Ge!==null)&&(Xe(),Je())}}function $e(e,t){var n=e.stateNode;if(n===null)return null;var i=qi(n);if(i===null)return null;n=i[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(i=!i.disabled)||(e=e.type,i=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!i;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(r(231,t,typeof n));return n}var et=!1;if(c)try{var tt={};Object.defineProperty(tt,\"passive\",{get:function(){et=!0}}),window.addEventListener(`test`,tt,tt),window.removeEventListener(`test`,tt,tt)}catch{et=!1}function nt(e,t,n,r,i,a,o,s,c){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var I=!1,rt=null,it=!1,at=null,ot={onError:function(e){I=!0,rt=e}};function st(e,t,n,r,i,a,o,s,c){I=!1,rt=null,nt.apply(ot,arguments)}function ct(e,t,n,i,a,o,s,c,l){if(st.apply(this,arguments),I){if(I){var u=rt;I=!1,rt=null}else throw Error(r(198));it||(it=!0,at=u)}}function lt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ut(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function dt(e){if(lt(e)!==e)throw Error(r(188))}function ft(e){var t=e.alternate;if(!t){if(t=lt(e),t===null)throw Error(r(188));return t===e?e:null}for(var n=e,i=t;;){var a=n.return;if(a===null)break;var o=a.alternate;if(o===null){if(i=a.return,i!==null){n=i;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return dt(a),e;if(o===i)return dt(a),t;o=o.sibling}throw Error(r(188))}if(n.return!==i.return)n=a,i=o;else{for(var s=!1,c=a.child;c;){if(c===n){s=!0,n=a,i=o;break}if(c===i){s=!0,i=a,n=o;break}c=c.sibling}if(!s){for(c=o.child;c;){if(c===n){s=!0,n=o,i=a;break}if(c===i){s=!0,i=o,n=a;break}c=c.sibling}if(!s)throw Error(r(189))}}if(n.alternate!==i)throw Error(r(190))}if(n.tag!==3)throw Error(r(188));return n.stateNode.current===n?e:t}function pt(e){return e=ft(e),e===null?null:mt(e)}function mt(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=mt(e);if(t!==null)return t;e=e.sibling}return null}var ht=n.unstable_scheduleCallback,gt=n.unstable_cancelCallback,_t=n.unstable_shouldYield,vt=n.unstable_requestPaint,yt=n.unstable_now,bt=n.unstable_getCurrentPriorityLevel,xt=n.unstable_ImmediatePriority,St=n.unstable_UserBlockingPriority,Ct=n.unstable_NormalPriority,wt=n.unstable_LowPriority,Tt=n.unstable_IdlePriority,Et=null,Dt=null;function Ot(e){if(Dt&&typeof Dt.onCommitFiberRoot==`function`)try{Dt.onCommitFiberRoot(Et,e,void 0,(e.current.flags&128)==128)}catch{}}var kt=Math.clz32?Math.clz32:Mt,At=Math.log,jt=Math.LN2;function Mt(e){return e>>>=0,e===0?32:31-(At(e)/jt|0)|0}var Nt=64,Pt=4194304;function Ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function It(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~i;s===0?(a&=o,a!==0&&(r=Ft(a))):r=Ft(s)}else o=n&~i,o===0?a!==0&&(r=Ft(a)):r=Ft(o);if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,a=t&-t,i>=a||i===16&&a&4194240))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-kt(t),i=1<<n,r|=e[n],t&=~i;return r}function Lt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Rt(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-kt(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=Lt(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}}function zt(e){return e=e.pendingLanes&-1073741825,e===0?e&1073741824?1073741824:0:e}function Bt(){var e=Nt;return Nt<<=1,!(Nt&4194240)&&(Nt=64),e}function Vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ht(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-kt(t),e[t]=n}function Ut(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-kt(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}function Wt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-kt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var Gt=0;function Kt(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var qt,Jt,Yt,Xt,Zt,Qt=!1,$t=[],en=null,tn=null,nn=null,rn=new Map,an=new Map,on=[],sn=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit`.split(` `);function cn(e,t){switch(e){case`focusin`:case`focusout`:en=null;break;case`dragenter`:case`dragleave`:tn=null;break;case`mouseover`:case`mouseout`:nn=null;break;case`pointerover`:case`pointerout`:rn.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:an.delete(t.pointerId)}}function ln(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=Gi(t),t!==null&&Jt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function un(e,t,n,r,i){switch(t){case`focusin`:return en=ln(en,e,t,n,r,i),!0;case`dragenter`:return tn=ln(tn,e,t,n,r,i),!0;case`mouseover`:return nn=ln(nn,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return rn.set(a,ln(rn.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,an.set(a,ln(an.get(a)||null,e,t,n,r,i)),!0}return!1}function dn(e){var t=Wi(e.target);if(t!==null){var n=lt(t);if(n!==null){if(t=n.tag,t===13){if(t=ut(n),t!==null){e.blockedOn=t,Zt(e.priority,function(){Yt(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Cn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ve=r,n.target.dispatchEvent(r),Ve=null}else return t=Gi(n),t!==null&&Jt(t),e.blockedOn=n,!1;t.shift()}return!0}function pn(e,t,n){fn(e)&&n.delete(t)}function mn(){Qt=!1,en!==null&&fn(en)&&(en=null),tn!==null&&fn(tn)&&(tn=null),nn!==null&&fn(nn)&&(nn=null),rn.forEach(pn),an.forEach(pn)}function hn(e,t){e.blockedOn===t&&(e.blockedOn=null,Qt||(Qt=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,mn)))}function gn(e){function t(t){return hn(t,e)}if(0<$t.length){hn($t[0],e);for(var n=1;n<$t.length;n++){var r=$t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(en!==null&&hn(en,e),tn!==null&&hn(tn,e),nn!==null&&hn(nn,e),rn.forEach(t),an.forEach(t),n=0;n<on.length;n++)r=on[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<on.length&&(n=on[0],n.blockedOn===null);)dn(n),n.blockedOn===null&&on.shift()}var _n=C.ReactCurrentBatchConfig,vn=!0;function yn(e,t,n,r){var i=Gt,a=_n.transition;_n.transition=null;try{Gt=1,xn(e,t,n,r)}finally{Gt=i,_n.transition=a}}function bn(e,t,n,r){var i=Gt,a=_n.transition;_n.transition=null;try{Gt=4,xn(e,t,n,r)}finally{Gt=i,_n.transition=a}}function xn(e,t,n,r){if(vn){var i=Cn(e,t,n,r);if(i===null)gi(e,t,r,Sn,n),cn(e,r);else if(un(i,e,t,n,r))r.stopPropagation();else if(cn(e,r),t&4&&-1<sn.indexOf(e)){for(;i!==null;){var a=Gi(i);if(a!==null&&qt(a),a=Cn(e,t,n,r),a===null&&gi(e,t,r,Sn,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else gi(e,t,r,null,n)}}var Sn=null;function Cn(e,t,n,r){if(Sn=null,e=He(r),e=Wi(e),e!==null)if(t=lt(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ut(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Sn=e,null}function wn(e){switch(e){case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 1;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`toggle`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 4;case`message`:switch(bt()){case xt:return 1;case St:return 4;case Ct:case wt:return 16;case Tt:return 536870912;default:return 16}default:return 16}}var Tn=null,En=null,Dn=null;function On(){if(Dn)return Dn;var e,t=En,n=t.length,r,i=`value`in Tn?Tn.value:Tn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return Dn=i.slice(e,1<r?1-r:void 0)}function kn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function An(){return!0}function jn(){return!1}function Mn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?An:jn,this.isPropagationStopped=jn,this}return se(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=An)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=An)},persist:function(){},isPersistent:An}),t}var Nn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pn=Mn(Nn),Fn=se({},Nn,{view:0,detail:0}),In=Mn(Fn),Ln,Rn,zn,Bn=se({},Fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zn,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==zn&&(zn&&e.type===`mousemove`?(Ln=e.screenX-zn.screenX,Rn=e.screenY-zn.screenY):Rn=Ln=0,zn=e),Ln)},movementY:function(e){return`movementY`in e?e.movementY:Rn}}),Vn=Mn(Bn),Hn=Mn(se({},Bn,{dataTransfer:0})),Un=Mn(se({},Fn,{relatedTarget:0})),Wn=Mn(se({},Nn,{animationName:0,elapsedTime:0,pseudoElement:0})),Gn=Mn(se({},Nn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Kn=Mn(se({},Nn,{data:0})),qn={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Jn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F5`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},Yn={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function Xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Yn[e])?!!t[e]:!1}function Zn(){return Xn}var Qn=Mn(se({},Fn,{key:function(e){if(e.key){var t=qn[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=kn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Jn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zn,charCode:function(e){return e.type===`keypress`?kn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?kn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),$n=Mn(se({},Bn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),er=Mn(se({},Fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zn})),tr=Mn(se({},Nn,{propertyName:0,elapsedTime:0,pseudoElement:0})),nr=Mn(se({},Bn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),rr=[9,13,27,32],ir=c&&`CompositionEvent`in window,ar=null;c&&`documentMode`in document&&(ar=document.documentMode);var or=c&&`TextEvent`in window&&!ar,sr=c&&(!ir||ar&&8<ar&&11>=ar),cr=` `,lr=!1;function ur(e,t){switch(e){case`keyup`:return rr.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function dr(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var fr=!1;function pr(e,t){switch(e){case`compositionend`:return dr(t);case`keypress`:return t.which===32?(lr=!0,cr):null;case`textInput`:return e=t.data,e===cr&&lr?null:e;default:return null}}function mr(e,t){if(fr)return e===`compositionend`||!ir&&ur(e,t)?(e=On(),Dn=En=Tn=null,fr=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return sr&&t.locale!==`ko`?null:t.data;default:return null}}var hr={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!hr[e.type]:t===`textarea`}function _r(e,t,n,r){qe(r),t=vi(t,`onChange`),0<t.length&&(n=new Pn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var vr=null,yr=null;function br(e){ui(e,0)}function xr(e){if(ve(Ki(e)))return e}function Sr(e,t){if(e===`change`)return t}var Cr=!1;if(c){var wr;if(c){var Tr=`oninput`in document;if(!Tr){var Er=document.createElement(`div`);Er.setAttribute(`oninput`,`return;`),Tr=typeof Er.oninput==`function`}wr=Tr}else wr=!1;Cr=wr&&(!document.documentMode||9<document.documentMode)}function Dr(){vr&&(vr.detachEvent(`onpropertychange`,Or),yr=vr=null)}function Or(e){if(e.propertyName===`value`&&xr(yr)){var t=[];_r(t,yr,e,He(e)),Qe(br,t)}}function kr(e,t,n){e===`focusin`?(Dr(),vr=t,yr=n,vr.attachEvent(`onpropertychange`,Or)):e===`focusout`&&Dr()}function Ar(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return xr(yr)}function jr(e,t){if(e===`click`)return xr(t)}function Mr(e,t){if(e===`input`||e===`change`)return xr(t)}function Nr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var Pr=typeof Object.is==`function`?Object.is:Nr;function Fr(e,t){if(Pr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!l.call(t,i)||!Pr(e[i],t[i]))return!1}return!0}function Ir(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lr(e,t){var n=Ir(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=Ir(n)}}function Rr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Rr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function zr(){for(var e=window,t=ye();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=ye(e.document)}return t}function Br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}function Vr(e){var t=zr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Rr(n.ownerDocument.documentElement,n)){if(r!==null&&Br(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),`selectionStart`in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=r.end===void 0?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=Lr(n,a);var o=Lr(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus==`function`&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Hr=c&&`documentMode`in document&&11>=document.documentMode,Ur=null,Wr=null,Gr=null,Kr=!1;function qr(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Kr||Ur==null||Ur!==ye(r)||(r=Ur,`selectionStart`in r&&Br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Gr&&Fr(Gr,r)||(Gr=r,r=vi(Wr,`onSelect`),0<r.length&&(t=new Pn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Ur)))}function Jr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var L={animationend:Jr(`Animation`,`AnimationEnd`),animationiteration:Jr(`Animation`,`AnimationIteration`),animationstart:Jr(`Animation`,`AnimationStart`),transitionend:Jr(`Transition`,`TransitionEnd`)},Yr={},Xr={};c&&(Xr=document.createElement(`div`).style,`AnimationEvent`in window||(delete L.animationend.animation,delete L.animationiteration.animation,delete L.animationstart.animation),`TransitionEvent`in window||delete L.transitionend.transition);function Zr(e){if(Yr[e])return Yr[e];if(!L[e])return e;var t=L[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xr)return Yr[e]=t[n];return e}var Qr=Zr(`animationend`),$r=Zr(`animationiteration`),ei=Zr(`animationstart`),ti=Zr(`transitionend`),ni=new Map,ri=`abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);function ii(e,t){ni.set(e,t),o(t,[e])}for(var ai=0;ai<ri.length;ai++){var oi=ri[ai];ii(oi.toLowerCase(),`on`+(oi[0].toUpperCase()+oi.slice(1)))}ii(Qr,`onAnimationEnd`),ii($r,`onAnimationIteration`),ii(ei,`onAnimationStart`),ii(`dblclick`,`onDoubleClick`),ii(`focusin`,`onFocus`),ii(`focusout`,`onBlur`),ii(ti,`onTransitionEnd`),s(`onMouseEnter`,[`mouseout`,`mouseover`]),s(`onMouseLeave`,[`mouseout`,`mouseover`]),s(`onPointerEnter`,[`pointerout`,`pointerover`]),s(`onPointerLeave`,[`pointerout`,`pointerover`]),o(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),o(`onSelect`,`focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange`.split(` `)),o(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),o(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),o(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var si=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),ci=new Set(`cancel close invalid load scroll toggle`.split(` `).concat(si));function li(e,t,n){var r=e.type||`unknown-event`;e.currentTarget=n,ct(r,t,void 0,e),e.currentTarget=null}function ui(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;li(i,s,l),a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;li(i,s,l),a=c}}}if(it)throw e=at,it=!1,at=null,e}function di(e,t){var n=t[Vi];n===void 0&&(n=t[Vi]=new Set);var r=e+`__bubble`;n.has(r)||(hi(t,e,2,!1),n.add(r))}function fi(e,t,n){var r=0;t&&(r|=4),hi(n,e,r,t)}var pi=`_reactListening`+Math.random().toString(36).slice(2);function mi(e){if(!e[pi]){e[pi]=!0,i.forEach(function(t){t!==`selectionchange`&&(ci.has(t)||fi(t,!1,e),fi(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[pi]||(t[pi]=!0,fi(`selectionchange`,!1,t))}}function hi(e,t,n,r){switch(wn(t)){case 1:var i=yn;break;case 4:i=bn;break;default:i=xn}n=i.bind(null,t,n,e),i=void 0,!et||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function gi(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var s=r.stateNode.containerInfo;if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var c=o.tag;if((c===3||c===4)&&(c=o.stateNode.containerInfo,c===i||c.nodeType===8&&c.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Wi(s),o===null)return;if(c=o.tag,c===5||c===6){r=a=o;continue a}s=s.parentNode}}r=r.return}Qe(function(){var r=a,i=He(n),o=[];a:{var s=ni.get(e);if(s!==void 0){var c=Pn,l=e;switch(e){case`keypress`:if(kn(n)===0)break a;case`keydown`:case`keyup`:c=Qn;break;case`focusin`:l=`focus`,c=Un;break;case`focusout`:l=`blur`,c=Un;break;case`beforeblur`:case`afterblur`:c=Un;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:c=Vn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:c=Hn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:c=er;break;case Qr:case $r:case ei:c=Wn;break;case ti:c=tr;break;case`scroll`:c=In;break;case`wheel`:c=nr;break;case`copy`:case`cut`:case`paste`:c=Gn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:c=$n}var u=(t&4)!=0,d=!u&&e===`scroll`,f=u?s===null?null:s+`Capture`:s;u=[];for(var p=r,m;p!==null;){m=p;var h=m.stateNode;if(m.tag===5&&h!==null&&(m=h,f!==null&&(h=$e(p,f),h!=null&&u.push(_i(p,h,m)))),d)break;p=p.return}0<u.length&&(s=new c(s,l,null,n,i),o.push({event:s,listeners:u}))}}if(!(t&7)){a:{if(s=e===`mouseover`||e===`pointerover`,c=e===`mouseout`||e===`pointerout`,s&&n!==Ve&&(l=n.relatedTarget||n.fromElement)&&(Wi(l)||l[Bi]))break a;if((c||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,c?(l=n.relatedTarget||n.toElement,c=r,l=l?Wi(l):null,l!==null&&(d=lt(l),l!==d||l.tag!==5&&l.tag!==6)&&(l=null)):(c=null,l=r),c!==l)){if(u=Vn,h=`onMouseLeave`,f=`onMouseEnter`,p=`mouse`,(e===`pointerout`||e===`pointerover`)&&(u=$n,h=`onPointerLeave`,f=`onPointerEnter`,p=`pointer`),d=c==null?s:Ki(c),m=l==null?s:Ki(l),s=new u(h,p+`leave`,c,n,i),s.target=d,s.relatedTarget=m,h=null,Wi(i)===r&&(u=new u(f,p+`enter`,l,n,i),u.target=m,u.relatedTarget=d,h=u),d=h,c&&l)b:{for(u=c,f=l,p=0,m=u;m;m=yi(m))p++;for(m=0,h=f;h;h=yi(h))m++;for(;0<p-m;)u=yi(u),p--;for(;0<m-p;)f=yi(f),m--;for(;p--;){if(u===f||f!==null&&u===f.alternate)break b;u=yi(u),f=yi(f)}u=null}else u=null;c!==null&&bi(o,s,c,u,!1),l!==null&&d!==null&&bi(o,d,l,u,!0)}}a:{if(s=r?Ki(r):window,c=s.nodeName&&s.nodeName.toLowerCase(),c===`select`||c===`input`&&s.type===`file`)var g=Sr;else if(gr(s))if(Cr)g=Mr;else{g=Ar;var _=kr}else (c=s.nodeName)&&c.toLowerCase()===`input`&&(s.type===`checkbox`||s.type===`radio`)&&(g=jr);if(g&&=g(e,r)){_r(o,g,n,i);break a}_&&_(e,s,r),e===`focusout`&&(_=s._wrapperState)&&_.controlled&&s.type===`number`&&we(s,`number`,s.value)}switch(_=r?Ki(r):window,e){case`focusin`:(gr(_)||_.contentEditable===`true`)&&(Ur=_,Wr=r,Gr=null);break;case`focusout`:Gr=Wr=Ur=null;break;case`mousedown`:Kr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Kr=!1,qr(o,n,i);break;case`selectionchange`:if(Hr)break;case`keydown`:case`keyup`:qr(o,n,i)}var v;if(ir)b:{switch(e){case`compositionstart`:var y=`onCompositionStart`;break b;case`compositionend`:y=`onCompositionEnd`;break b;case`compositionupdate`:y=`onCompositionUpdate`;break b}y=void 0}else fr?ur(e,n)&&(y=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(y=`onCompositionStart`);y&&(sr&&n.locale!==`ko`&&(fr||y!==`onCompositionStart`?y===`onCompositionEnd`&&fr&&(v=On()):(Tn=i,En=`value`in Tn?Tn.value:Tn.textContent,fr=!0)),_=vi(r,y),0<_.length&&(y=new Kn(y,e,null,n,i),o.push({event:y,listeners:_}),v?y.data=v:(v=dr(n),v!==null&&(y.data=v)))),(v=or?pr(e,n):mr(e,n))&&(r=vi(r,`onBeforeInput`),0<r.length&&(i=new Kn(`onBeforeInput`,`beforeinput`,null,n,i),o.push({event:i,listeners:r}),i.data=v))}ui(o,t)})}function _i(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vi(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=$e(e,n),a!=null&&r.unshift(_i(e,a,i)),a=$e(e,t),a!=null&&r.push(_i(e,a,i))),e=e.return}return r}function yi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function bi(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(c!==null&&c===r)break;s.tag===5&&l!==null&&(s=l,i?(c=$e(n,a),c!=null&&o.unshift(_i(n,c,s))):i||(c=$e(n,a),c!=null&&o.push(_i(n,c,s)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var xi=/\\r\\n?/g,Si=/\\u0000|\\uFFFD/g;function Ci(e){return(typeof e==`string`?e:``+e).replace(xi,`\n`).replace(Si,``)}function wi(e,t,n){if(t=Ci(t),Ci(e)!==t&&n)throw Error(r(425))}function Ti(){}var Ei=null,Di=null;function Oi(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ki=typeof setTimeout==`function`?setTimeout:void 0,Ai=typeof clearTimeout==`function`?clearTimeout:void 0,ji=typeof Promise==`function`?Promise:void 0,Mi=typeof queueMicrotask==`function`?queueMicrotask:ji===void 0?ki:function(e){return ji.resolve(null).then(e).catch(Ni)};function Ni(e){setTimeout(function(){throw e})}function Pi(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`){if(r===0){e.removeChild(i),gn(t);return}r--}else n!==`$`&&n!==`$?`&&n!==`$!`||r++;n=i}while(n);gn(t)}function Fi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`)break;if(t===`/$`)return null}}return e}function Ii(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`){if(t===0)return e;t--}else n===`/$`&&t++}e=e.previousSibling}return null}var Li=Math.random().toString(36).slice(2),Ri=`__reactFiber$`+Li,zi=`__reactProps$`+Li,Bi=`__reactContainer$`+Li,Vi=`__reactEvents$`+Li,Hi=`__reactListeners$`+Li,Ui=`__reactHandles$`+Li;function Wi(e){var t=e[Ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bi]||n[Ri]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ii(e);e!==null;){if(n=e[Ri])return n;e=Ii(e)}return t}e=n,n=e.parentNode}return null}function Gi(e){return e=e[Ri]||e[Bi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ki(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(r(33))}function qi(e){return e[zi]||null}var Ji=[],Yi=-1;function Xi(e){return{current:e}}function Zi(e){0>Yi||(e.current=Ji[Yi],Ji[Yi]=null,Yi--)}function Qi(e,t){Yi++,Ji[Yi]=e.current,e.current=t}var $i={},ea=Xi($i),ta=Xi(!1),na=$i;function ra(e,t){var n=e.type.contextTypes;if(!n)return $i;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in n)i[a]=t[a];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ia(e){return e=e.childContextTypes,e!=null}function aa(){Zi(ta),Zi(ea)}function oa(e,t,n){if(ea.current!==$i)throw Error(r(168));Qi(ea,t),Qi(ta,n)}function sa(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=`function`)return n;for(var a in i=i.getChildContext(),i)if(!(a in t))throw Error(r(108,pe(e)||`Unknown`,a));return se({},n,i)}function ca(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||$i,na=ea.current,Qi(ea,e),Qi(ta,ta.current),!0}function la(e,t,n){var i=e.stateNode;if(!i)throw Error(r(169));n?(e=sa(e,t,na),i.__reactInternalMemoizedMergedChildContext=e,Zi(ta),Zi(ea),Qi(ea,e)):Zi(ta),Qi(ta,n)}var ua=null,da=!1,fa=!1;function pa(e){ua===null?ua=[e]:ua.push(e)}function ma(e){da=!0,pa(e)}function ha(){if(!fa&&ua!==null){fa=!0;var e=0,t=Gt;try{var n=ua;for(Gt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ua=null,da=!1}catch(t){throw ua!==null&&(ua=ua.slice(e+1)),ht(xt,ha),t}finally{Gt=t,fa=!1}}return null}var ga=[],_a=0,va=null,ya=0,ba=[],xa=0,Sa=null,Ca=1,wa=``;function Ta(e,t){ga[_a++]=ya,ga[_a++]=va,va=e,ya=t}function Ea(e,t,n){ba[xa++]=Ca,ba[xa++]=wa,ba[xa++]=Sa,Sa=e;var r=Ca;e=wa;var i=32-kt(r)-1;r&=~(1<<i),n+=1;var a=32-kt(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Ca=1<<32-kt(t)+i|n<<i|r,wa=a+e}else Ca=1<<a|n<<i|r,wa=e}function Da(e){e.return!==null&&(Ta(e,1),Ea(e,1,0))}function Oa(e){for(;e===va;)va=ga[--_a],ga[_a]=null,ya=ga[--_a],ga[_a]=null;for(;e===Sa;)Sa=ba[--xa],ba[xa]=null,wa=ba[--xa],ba[xa]=null,Ca=ba[--xa],ba[xa]=null}var ka=null,Aa=null,ja=!1,Ma=null;function Na(e,t){var n=su(5,null,null,0);n.elementType=`DELETED`,n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Pa(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t===null?!1:(e.stateNode=t,ka=e,Aa=Fi(t.firstChild),!0);case 6:return t=e.pendingProps===``||t.nodeType!==3?null:t,t===null?!1:(e.stateNode=t,ka=e,Aa=null,!0);case 13:return t=t.nodeType===8?t:null,t===null?!1:(n=Sa===null?null:{id:Ca,overflow:wa},e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=su(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ka=e,Aa=null,!0);default:return!1}}function Fa(e){return(e.mode&1)!=0&&(e.flags&128)==0}function Ia(e){if(ja){var t=Aa;if(t){var n=t;if(!Pa(e,t)){if(Fa(e))throw Error(r(418));t=Fi(n.nextSibling);var i=ka;t&&Pa(e,t)?Na(i,n):(e.flags=e.flags&-4097|2,ja=!1,ka=e)}}else{if(Fa(e))throw Error(r(418));e.flags=e.flags&-4097|2,ja=!1,ka=e}}}function La(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ka=e}function Ra(e){if(e!==ka)return!1;if(!ja)return La(e),ja=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!==`head`&&t!==`body`&&!Oi(e.type,e.memoizedProps)),t&&=Aa){if(Fa(e))throw za(),Error(r(418));for(;t;)Na(e,t),t=Fi(t.nextSibling)}if(La(e),e.tag===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(r(317));a:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`){if(t===0){Aa=Fi(e.nextSibling);break a}t--}else n!==`$`&&n!==`$!`&&n!==`$?`||t++}e=e.nextSibling}Aa=null}}else Aa=ka?Fi(e.stateNode.nextSibling):null;return!0}function za(){for(var e=Aa;e;)e=Fi(e.nextSibling)}function Ba(){Aa=ka=null,ja=!1}function Va(e){Ma===null?Ma=[e]:Ma.push(e)}var Ha=C.ReactCurrentBatchConfig;function Ua(e,t,n){if(e=n.ref,e!==null&&typeof e!=`function`&&typeof e!=`object`){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(r(309));var i=n.stateNode}if(!i)throw Error(r(147,e));var a=i,o=``+e;return t!==null&&t.ref!==null&&typeof t.ref==`function`&&t.ref._stringRef===o?t.ref:(t=function(e){var t=a.refs;e===null?delete t[o]:t[o]=e},t._stringRef=o,t)}if(typeof e!=`string`)throw Error(r(284));if(!n._owner)throw Error(r(290,e))}return e}function Wa(e,t){throw e=Object.prototype.toString.call(t),Error(r(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e))}function Ga(e){var t=e._init;return t(e._payload)}function Ka(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function i(e,t){for(e=new Map;t!==null;)t.key===null?e.set(t.index,t):e.set(t.key,t),t=t.sibling;return e}function a(e,t){return e=uu(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=2,n):(r=r.index,r<n?(t.flags|=2,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=2),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=mu(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===E?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===j&&Ga(i)===t.type)?(r=a(t,n.props),r.ref=Ua(e,t,n),r.return=e,r):(r=du(n.type,n.key,n.props,null,e.mode,r),r.ref=Ua(e,t,n),r.return=e,r)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=hu(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=fu(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`)return t=mu(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case w:return n=du(t.type,t.key,t.props,null,e.mode,n),n.ref=Ua(e,null,t),n.return=e,n;case T:return t=hu(t,e.mode,n),t.return=e,t;case j:var r=t._init;return f(e,r(t._payload),n)}if(P(t)||oe(t))return t=fu(t,e.mode,n,null),t.return=e,t;Wa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case w:return n.key===i?l(e,t,n,r):null;case T:return n.key===i?u(e,t,n,r):null;case j:return i=n._init,p(e,t,i(n._payload),r)}if(P(n)||oe(n))return i===null?d(e,t,n,r,null):null;Wa(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case w:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case T:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case j:var a=r._init;return m(e,t,n,a(r._payload),i)}if(P(r)||oe(r))return e=e.get(n)||null,d(t,e,r,i,null);Wa(t,r)}return null}function h(r,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(r,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(r,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(r,d),ja&&Ta(r,h),l;if(d===null){for(;h<s.length;h++)d=f(r,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return ja&&Ta(r,h),l}for(d=i(r,d);h<s.length;h++)g=m(d,r,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(r,e)}),ja&&Ta(r,h),l}function g(a,s,c,l){var u=oe(c);if(typeof u!=`function`)throw Error(r(150));if(c=u.call(c),c==null)throw Error(r(151));for(var d=u=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),ja&&Ta(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return ja&&Ta(a,g),u}for(h=i(a,h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),ja&&Ta(a,g),u}function _(e,r,i,o){if(typeof i==`object`&&i&&i.type===E&&i.key===null&&(i=i.props.children),typeof i==`object`&&i){switch(i.$$typeof){case w:a:{for(var c=i.key,l=r;l!==null;){if(l.key===c){if(c=i.type,c===E){if(l.tag===7){n(e,l.sibling),r=a(l,i.props.children),r.return=e,e=r;break a}}else if(l.elementType===c||typeof c==`object`&&c&&c.$$typeof===j&&Ga(c)===l.type){n(e,l.sibling),r=a(l,i.props),r.ref=Ua(e,l,i),r.return=e,e=r;break a}n(e,l);break}else t(e,l);l=l.sibling}i.type===E?(r=fu(i.props.children,e.mode,o,i.key),r.return=e,e=r):(o=du(i.type,i.key,i.props,null,e.mode,o),o.ref=Ua(e,r,i),o.return=e,e=o)}return s(e);case T:a:{for(l=i.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=a(r,i.children||[]),r.return=e,e=r;break a}else{n(e,r);break}else t(e,r);r=r.sibling}r=hu(i,e.mode,o),r.return=e,e=r}return s(e);case j:return l=i._init,_(e,r,l(i._payload),o)}if(P(i))return h(e,r,i,o);if(oe(i))return g(e,r,i,o);Wa(e,i)}return typeof i==`string`&&i!==``||typeof i==`number`?(i=``+i,r!==null&&r.tag===6?(n(e,r.sibling),r=a(r,i),r.return=e,e=r):(n(e,r),r=mu(i,e.mode,o),r.return=e,e=r),s(e)):n(e,r)}return _}var qa=Ka(!0),Ja=Ka(!1),Ya=Xi(null),Xa=null,Za=null,Qa=null;function $a(){Qa=Za=Xa=null}function eo(e){var t=Ya.current;Zi(Ya),e._currentValue=t}function to(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function no(e,t){Xa=e,Qa=Za=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ks=!0),e.firstContext=null)}function ro(e){var t=e._currentValue;if(Qa!==e)if(e={context:e,memoizedValue:t,next:null},Za===null){if(Xa===null)throw Error(r(308));Za=e,Xa.dependencies={lanes:0,firstContext:e}}else Za=Za.next=e;return t}var io=null;function ao(e){io===null?io=[e]:io.push(e)}function oo(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ao(t)):(n.next=i.next,i.next=n),t.interleaved=n,so(e,r)}function so(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var co=!1;function lo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function uo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function fo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function po(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,tl&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,so(e,n)}return i=r.interleaved,i===null?(t.next=t,ao(r)):(t.next=i.next,i.next=t),r.interleaved=t,so(e,n)}function mo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194240)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Wt(e,n)}}function ho(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function go(e,t,n,r){var i=e.updateQueue;co=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane,p=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});a:{var m=e,h=s;switch(f=t,p=n,h.tag){case 1:if(m=h.payload,typeof m==`function`){d=m.call(p,d,f);break a}d=m;break a;case 3:m.flags=m.flags&-65537|128;case 0:if(m=h.payload,f=typeof m==`function`?m.call(p,d,f):m,f==null)break a;d=se({},d,f);break a;case 2:co=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(1);if(u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);ll|=o,e.lanes=o,e.memoizedState=d}}function _o(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var i=e[t],a=i.callback;if(a!==null){if(i.callback=null,i=n,typeof a!=`function`)throw Error(r(191,a));a.call(i)}}}var vo={},yo=Xi(vo),bo=Xi(vo),xo=Xi(vo);function So(e){if(e===vo)throw Error(r(174));return e}function Co(e,t){switch(Qi(xo,t),Qi(bo,e),Qi(yo,vo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:je(null,``);break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=je(t,e)}Zi(yo),Qi(yo,t)}function wo(){Zi(yo),Zi(bo),Zi(xo)}function To(e){So(xo.current);var t=So(yo.current),n=je(t,e.type);t!==n&&(Qi(bo,e),Qi(yo,n))}function Eo(e){bo.current===e&&(Zi(yo),Zi(bo))}var Do=Xi(0);function Oo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===`$?`||n.data===`$!`))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ko=[];function Ao(){for(var e=0;e<ko.length;e++)ko[e]._workInProgressVersionPrimary=null;ko.length=0}var jo=C.ReactCurrentDispatcher,Mo=C.ReactCurrentBatchConfig,No=0,Po=null,Fo=null,Io=null,Lo=!1,Ro=!1,zo=0,Bo=0;function Vo(){throw Error(r(321))}function Ho(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Pr(e[n],t[n]))return!1;return!0}function Uo(e,t,n,i,a,o){if(No=o,Po=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jo.current=e===null||e.memoizedState===null?Es:Ds,e=n(i,a),Ro){o=0;do{if(Ro=!1,zo=0,25<=o)throw Error(r(301));o+=1,Io=Fo=null,t.updateQueue=null,jo.current=Os,e=n(i,a)}while(Ro)}if(jo.current=Ts,t=Fo!==null&&Fo.next!==null,No=0,Io=Fo=Po=null,Lo=!1,t)throw Error(r(300));return e}function Wo(){var e=zo!==0;return zo=0,e}function Go(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Io===null?Po.memoizedState=Io=e:Io=Io.next=e,Io}function Ko(){if(Fo===null){var e=Po.alternate;e=e===null?null:e.memoizedState}else e=Fo.next;var t=Io===null?Po.memoizedState:Io.next;if(t!==null)Io=t,Fo=e;else{if(e===null)throw Error(r(310));Fo=e,e={memoizedState:Fo.memoizedState,baseState:Fo.baseState,baseQueue:Fo.baseQueue,queue:Fo.queue,next:null},Io===null?Po.memoizedState=Io=e:Io=Io.next=e}return Io}function qo(e,t){return typeof t==`function`?t(e):t}function Jo(e){var t=Ko(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=Fo,a=i.baseQueue,o=n.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}i.baseQueue=a=o,n.pending=null}if(a!==null){o=a.next,i=i.baseState;var c=s=null,l=null,u=o;do{var d=u.lane;if((No&d)===d)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),i=u.hasEagerState?u.eagerState:e(i,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(c=l=f,s=i):l=l.next=f,Po.lanes|=d,ll|=d}u=u.next}while(u!==null&&u!==o);l===null?s=i:l.next=c,Pr(i,t.memoizedState)||(Ks=!0),t.memoizedState=i,t.baseState=s,t.baseQueue=l,n.lastRenderedState=i}if(e=n.interleaved,e!==null){a=e;do o=a.lane,Po.lanes|=o,ll|=o,a=a.next;while(a!==e)}else a===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Yo(e){var t=Ko(),n=t.queue;if(n===null)throw Error(r(311));n.lastRenderedReducer=e;var i=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);Pr(o,t.memoizedState)||(Ks=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function Xo(){}function Zo(e,t){var n=Po,i=Ko(),a=t(),o=!Pr(i.memoizedState,a);if(o&&(i.memoizedState=a,Ks=!0),i=i.queue,ls(es.bind(null,n,i,e),[e]),i.getSnapshot!==t||o||Io!==null&&Io.memoizedState.tag&1){if(n.flags|=2048,is(9,$o.bind(null,n,i,a,t),void 0,null),nl===null)throw Error(r(349));No&30||Qo(n,t,a)}return a}function Qo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Po.updateQueue,t===null?(t={lastEffect:null,stores:null},Po.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function $o(e,t,n,r){t.value=n,t.getSnapshot=r,ts(t)&&ns(e)}function es(e,t,n){return n(function(){ts(t)&&ns(e)})}function ts(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Pr(e,n)}catch{return!0}}function ns(e){var t=so(e,1);t!==null&&kl(t,e,1,-1)}function rs(e){var t=Go();return typeof e==`function`&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:qo,lastRenderedState:e},t.queue=e,e=e.dispatch=xs.bind(null,Po,e),[t.memoizedState,e]}function is(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Po.updateQueue,t===null?(t={lastEffect:null,stores:null},Po.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function as(){return Ko().memoizedState}function os(e,t,n,r){var i=Go();Po.flags|=e,i.memoizedState=is(1|t,n,void 0,r===void 0?null:r)}function ss(e,t,n,r){var i=Ko();r=r===void 0?null:r;var a=void 0;if(Fo!==null){var o=Fo.memoizedState;if(a=o.destroy,r!==null&&Ho(r,o.deps)){i.memoizedState=is(t,n,a,r);return}}Po.flags|=e,i.memoizedState=is(1|t,n,a,r)}function cs(e,t){return os(8390656,8,e,t)}function ls(e,t){return ss(2048,8,e,t)}function us(e,t){return ss(4,2,e,t)}function ds(e,t){return ss(4,4,e,t)}function fs(e,t){if(typeof t==`function`)return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ps(e,t,n){return n=n==null?null:n.concat([e]),ss(4,4,fs.bind(null,t,e),n)}function ms(){}function hs(e,t){var n=Ko();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ho(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function gs(e,t){var n=Ko();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Ho(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _s(e,t,n){return No&21?(Pr(n,t)||(n=Bt(),Po.lanes|=n,ll|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ks=!0),e.memoizedState=n)}function vs(e,t){var n=Gt;Gt=n!==0&&4>n?n:4,e(!0);var r=Mo.transition;Mo.transition={};try{e(!1),t()}finally{Gt=n,Mo.transition=r}}function ys(){return Ko().memoizedState}function bs(e,t,n){var r=Ol(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ss(e))Cs(t,n);else if(n=oo(e,t,n,r),n!==null){var i=Dl();kl(n,e,r,i),ws(n,t,r)}}function xs(e,t,n){var r=Ol(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ss(e))Cs(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,Pr(s,o)){var c=t.interleaved;c===null?(i.next=i,ao(t)):(i.next=c.next,c.next=i),t.interleaved=i;return}}catch{}n=oo(e,t,i,r),n!==null&&(i=Dl(),kl(n,e,r,i),ws(n,t,r))}}function Ss(e){var t=e.alternate;return e===Po||t!==null&&t===Po}function Cs(e,t){Ro=Lo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ws(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Wt(e,n)}}var Ts={readContext:ro,useCallback:Vo,useContext:Vo,useEffect:Vo,useImperativeHandle:Vo,useInsertionEffect:Vo,useLayoutEffect:Vo,useMemo:Vo,useReducer:Vo,useRef:Vo,useState:Vo,useDebugValue:Vo,useDeferredValue:Vo,useTransition:Vo,useMutableSource:Vo,useSyncExternalStore:Vo,useId:Vo,unstable_isNewReconciler:!1},Es={readContext:ro,useCallback:function(e,t){return Go().memoizedState=[e,t===void 0?null:t],e},useContext:ro,useEffect:cs,useImperativeHandle:function(e,t,n){return n=n==null?null:n.concat([e]),os(4194308,4,fs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return os(4194308,4,e,t)},useInsertionEffect:function(e,t){return os(4,2,e,t)},useMemo:function(e,t){var n=Go();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Go();return t=n===void 0?t:n(t),r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=bs.bind(null,Po,e),[r.memoizedState,e]},useRef:function(e){var t=Go();return e={current:e},t.memoizedState=e},useState:rs,useDebugValue:ms,useDeferredValue:function(e){return Go().memoizedState=e},useTransition:function(){var e=rs(!1),t=e[0];return e=vs.bind(null,e[1]),Go().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=Po,a=Go();if(ja){if(n===void 0)throw Error(r(407));n=n()}else{if(n=t(),nl===null)throw Error(r(349));No&30||Qo(i,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,cs(es.bind(null,i,o,e),[e]),i.flags|=2048,is(9,$o.bind(null,i,o,n,t),void 0,null),n},useId:function(){var e=Go(),t=nl.identifierPrefix;if(ja){var n=wa,r=Ca;n=(r&~(1<<32-kt(r)-1)).toString(32)+n,t=`:`+t+`R`+n,n=zo++,0<n&&(t+=`H`+n.toString(32)),t+=`:`}else n=Bo++,t=`:`+t+`r`+n.toString(32)+`:`;return e.memoizedState=t},unstable_isNewReconciler:!1},Ds={readContext:ro,useCallback:hs,useContext:ro,useEffect:ls,useImperativeHandle:ps,useInsertionEffect:us,useLayoutEffect:ds,useMemo:gs,useReducer:Jo,useRef:as,useState:function(){return Jo(qo)},useDebugValue:ms,useDeferredValue:function(e){return _s(Ko(),Fo.memoizedState,e)},useTransition:function(){return[Jo(qo)[0],Ko().memoizedState]},useMutableSource:Xo,useSyncExternalStore:Zo,useId:ys,unstable_isNewReconciler:!1},Os={readContext:ro,useCallback:hs,useContext:ro,useEffect:ls,useImperativeHandle:ps,useInsertionEffect:us,useLayoutEffect:ds,useMemo:gs,useReducer:Yo,useRef:as,useState:function(){return Yo(qo)},useDebugValue:ms,useDeferredValue:function(e){var t=Ko();return Fo===null?t.memoizedState=e:_s(t,Fo.memoizedState,e)},useTransition:function(){return[Yo(qo)[0],Ko().memoizedState]},useMutableSource:Xo,useSyncExternalStore:Zo,useId:ys,unstable_isNewReconciler:!1};function ks(e,t){if(e&&e.defaultProps){for(var n in t=se({},t),e=e.defaultProps,e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function As(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:se({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var js={isMounted:function(e){return(e=e._reactInternals)?lt(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Dl(),i=Ol(e),a=fo(r,i);a.payload=t,n!=null&&(a.callback=n),t=po(e,a,i),t!==null&&(kl(t,e,i,r),mo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Dl(),i=Ol(e),a=fo(r,i);a.tag=1,a.payload=t,n!=null&&(a.callback=n),t=po(e,a,i),t!==null&&(kl(t,e,i,r),mo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Dl(),r=Ol(e),i=fo(n,r);i.tag=2,t!=null&&(i.callback=t),t=po(e,i,r),t!==null&&(kl(t,e,r,n),mo(t,e,r))}};function Ms(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!Fr(n,r)||!Fr(i,a):!0}function Ns(e,t,n){var r=!1,i=$i,a=t.contextType;return typeof a==`object`&&a?a=ro(a):(i=ia(t)?na:ea.current,r=t.contextTypes,a=(r=r!=null)?ra(e,i):$i),t=new t(n,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=js,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function Ps(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&js.enqueueReplaceState(t,t.state,null)}function Fs(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},lo(e);var a=t.contextType;typeof a==`object`&&a?i.context=ro(a):(a=ia(t)?na:ea.current,i.context=ra(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a==`function`&&(As(e,t,a,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps==`function`||typeof i.getSnapshotBeforeUpdate==`function`||typeof i.UNSAFE_componentWillMount!=`function`&&typeof i.componentWillMount!=`function`||(t=i.state,typeof i.componentWillMount==`function`&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount==`function`&&i.UNSAFE_componentWillMount(),t!==i.state&&js.enqueueReplaceState(i,i.state,null),go(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount==`function`&&(e.flags|=4194308)}function Is(e,t){try{var n=``,r=t;do n+=de(r),r=r.return;while(r);var i=n}catch(e){i=`\nError generating stack: `+e.message+`\n`+e.stack}return{value:e,source:t,stack:i,digest:null}}function Ls(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Rs(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var zs=typeof WeakMap==`function`?WeakMap:Map;function Bs(e,t,n){n=fo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){_l||(_l=!0,vl=r),Rs(e,t)},n}function Vs(e,t,n){n=fo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r==`function`){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Rs(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch==`function`&&(n.callback=function(){Rs(e,t),typeof r!=`function`&&(yl===null?yl=new Set([this]):yl.add(this));var n=t.stack;this.componentDidCatch(t.value,{componentStack:n===null?``:n})}),n}function Hs(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new zs;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=eu.bind(null,e,t,n),t.then(e,e))}function Us(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t===null?!0:t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Ws(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=fo(-1,1),t.tag=2,po(n,t,1))),n.lanes|=1),e)}var Gs=C.ReactCurrentOwner,Ks=!1;function qs(e,t,n,r){t.child=e===null?Ja(t,null,n,r):qa(t,e.child,n,r)}function Js(e,t,n,r,i){n=n.render;var a=t.ref;return no(t,i),r=Uo(e,t,n,r,a,i),n=Wo(),e!==null&&!Ks?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,mc(e,t,i)):(ja&&n&&Da(t),t.flags|=1,qs(e,t,r,i),t.child)}function Ys(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!cu(a)&&a.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=a,Xs(e,t,a,r,i)):(e=du(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,(e.lanes&i)===0){var o=a.memoizedProps;if(n=n.compare,n=n===null?Fr:n,n(o,r)&&e.ref===t.ref)return mc(e,t,i)}return t.flags|=1,e=uu(a,r),e.ref=t.ref,e.return=t,t.child=e}function Xs(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(Fr(a,r)&&e.ref===t.ref)if(Ks=!1,t.pendingProps=r=a,(e.lanes&i)!==0)e.flags&131072&&(Ks=!0);else return t.lanes=e.lanes,mc(e,t,i)}return $s(e,t,n,r,i)}function Zs(e,t,n){var r=t.pendingProps,i=r.children,a=e===null?null:e.memoizedState;if(r.mode===`hidden`)if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Qi(ol,al),al|=n;else{if(!(n&1073741824))return e=a===null?n:a.baseLanes|n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Qi(ol,al),al|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=a===null?n:a.baseLanes,Qi(ol,al),al|=r}else a===null?r=n:(r=a.baseLanes|n,t.memoizedState=null),Qi(ol,al),al|=r;return qs(e,t,i,n),t.child}function Qs(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function $s(e,t,n,r,i){var a=ia(n)?na:ea.current;return a=ra(t,a),no(t,i),n=Uo(e,t,n,r,a,i),r=Wo(),e!==null&&!Ks?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,mc(e,t,i)):(ja&&r&&Da(t),t.flags|=1,qs(e,t,n,i),t.child)}function ec(e,t,n,r,i){if(ia(n)){var a=!0;ca(t)}else a=!1;if(no(t,i),t.stateNode===null)pc(e,t),Ns(t,n,r),Fs(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var c=o.context,l=n.contextType;typeof l==`object`&&l?l=ro(l):(l=ia(n)?na:ea.current,l=ra(t,l));var u=n.getDerivedStateFromProps,d=typeof u==`function`||typeof o.getSnapshotBeforeUpdate==`function`;d||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==r||c!==l)&&Ps(t,o,r,l),co=!1;var f=t.memoizedState;o.state=f,go(t,r,o,i),c=t.memoizedState,s!==r||f!==c||ta.current||co?(typeof u==`function`&&(As(t,n,u,r),c=t.memoizedState),(s=co||Ms(t,n,s,r,f,c,l))?(d||typeof o.UNSAFE_componentWillMount!=`function`&&typeof o.componentWillMount!=`function`||(typeof o.componentWillMount==`function`&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount==`function`&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount==`function`&&(t.flags|=4194308)):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=l,r=s):(typeof o.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,uo(e,t),s=t.memoizedProps,l=t.type===t.elementType?s:ks(t.type,s),o.props=l,d=t.pendingProps,f=o.context,c=n.contextType,typeof c==`object`&&c?c=ro(c):(c=ia(n)?na:ea.current,c=ra(t,c));var p=n.getDerivedStateFromProps;(u=typeof p==`function`||typeof o.getSnapshotBeforeUpdate==`function`)||typeof o.UNSAFE_componentWillReceiveProps!=`function`&&typeof o.componentWillReceiveProps!=`function`||(s!==d||f!==c)&&Ps(t,o,r,c),co=!1,f=t.memoizedState,o.state=f,go(t,r,o,i);var m=t.memoizedState;s!==d||f!==m||ta.current||co?(typeof p==`function`&&(As(t,n,p,r),m=t.memoizedState),(l=co||Ms(t,n,l,r,f,m,c)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!=`function`&&typeof o.componentWillUpdate!=`function`||(typeof o.componentWillUpdate==`function`&&o.componentWillUpdate(r,m,c),typeof o.UNSAFE_componentWillUpdate==`function`&&o.UNSAFE_componentWillUpdate(r,m,c)),typeof o.componentDidUpdate==`function`&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=c,r=l):(typeof o.componentDidUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!=`function`||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return tc(e,t,n,r,a,i)}function tc(e,t,n,r,i,a){Qs(e,t);var o=(t.flags&128)!=0;if(!r&&!o)return i&&la(t,n,!1),mc(e,t,a);r=t.stateNode,Gs.current=t;var s=o&&typeof n.getDerivedStateFromError!=`function`?null:r.render();return t.flags|=1,e!==null&&o?(t.child=qa(t,e.child,null,a),t.child=qa(t,null,s,a)):qs(e,t,s,a),t.memoizedState=r.state,i&&la(t,n,!0),t.child}function nc(e){var t=e.stateNode;t.pendingContext?oa(e,t.pendingContext,t.pendingContext!==t.context):t.context&&oa(e,t.context,!1),Co(e,t.containerInfo)}function rc(e,t,n,r,i){return Ba(),Va(i),t.flags|=256,qs(e,t,n,r),t.child}var ic={dehydrated:null,treeContext:null,retryLane:0};function ac(e){return{baseLanes:e,cachePool:null,transitions:null}}function oc(e,t,n){var r=t.pendingProps,i=Do.current,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!=0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Qi(Do,i&1),e===null)return Ia(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data===`$!`?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,a?(r=t.mode,a=t.child,o={mode:`hidden`,children:o},!(r&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=pu(o,r,0,null),e=fu(e,r,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=ac(n),t.memoizedState=ic,e):sc(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return lc(e,t,o,r,s,i,n);if(a){a=r.fallback,o=t.mode,i=e.child,s=i.sibling;var c={mode:`hidden`,children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=uu(i,c),r.subtreeFlags=i.subtreeFlags&14680064),s===null?(a=fu(a,o,n,null),a.flags|=2):a=uu(s,a),a.return=t,r.return=t,r.sibling=a,t.child=r,r=a,a=t.child,o=e.child.memoizedState,o=o===null?ac(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~n,t.memoizedState=ic,r}return a=e.child,e=a.sibling,r=uu(a,{mode:`visible`,children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function sc(e,t){return t=pu({mode:`visible`,children:t},e.mode,0,null),t.return=e,e.child=t}function cc(e,t,n,r){return r!==null&&Va(r),qa(t,e.child,null,n),e=sc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lc(e,t,n,i,a,o,s){if(n)return t.flags&256?(t.flags&=-257,i=Ls(Error(r(422))),cc(e,t,s,i)):t.memoizedState===null?(o=i.fallback,a=t.mode,i=pu({mode:`visible`,children:i.children},a,0,null),o=fu(o,a,s,null),o.flags|=2,i.return=t,o.return=t,i.sibling=o,t.child=i,t.mode&1&&qa(t,e.child,null,s),t.child.memoizedState=ac(s),t.memoizedState=ic,o):(t.child=e.child,t.flags|=128,null);if(!(t.mode&1))return cc(e,t,s,null);if(a.data===`$!`){if(i=a.nextSibling&&a.nextSibling.dataset,i)var c=i.dgst;return i=c,o=Error(r(419)),i=Ls(o,i,void 0),cc(e,t,s,i)}if(c=(s&e.childLanes)!==0,Ks||c){if(i=nl,i!==null){switch(s&-s){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}a=(a&(i.suspendedLanes|s))===0?a:0,a!==0&&a!==o.retryLane&&(o.retryLane=a,so(e,a),kl(i,e,a,-1))}return Ul(),i=Ls(Error(r(421))),cc(e,t,s,i)}return a.data===`$?`?(t.flags|=128,t.child=e.child,t=nu.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,Aa=Fi(a.nextSibling),ka=t,ja=!0,Ma=null,e!==null&&(ba[xa++]=Ca,ba[xa++]=wa,ba[xa++]=Sa,Ca=e.id,wa=e.overflow,Sa=t),t=sc(t,i.children),t.flags|=4096,t)}function uc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),to(e.return,t,n)}function dc(e,t,n,r,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function fc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(qs(e,t,r.children,n),r=Do.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&uc(e,n,t);else if(e.tag===19)uc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Qi(Do,r),!(t.mode&1))t.memoizedState=null;else switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Oo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),dc(t,!1,i,n,a);break;case`backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Oo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}dc(t,!0,n,null,a);break;case`together`:dc(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function pc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function mc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ll|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,n=uu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=uu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function hc(e,t,n){switch(t.tag){case 3:nc(t),Ba();break;case 5:To(t);break;case 1:ia(t.type)&&ca(t);break;case 4:Co(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Qi(Ya,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Qi(Do,Do.current&1),e=mc(e,t,n),e===null?null:e.sibling):oc(e,t,n):(Qi(Do,Do.current&1),t.flags|=128,null);Qi(Do,Do.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return fc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Qi(Do,Do.current),r)break;return null;case 22:case 23:return t.lanes=0,Zs(e,t,n)}return mc(e,t,n)}var gc=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},_c=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,So(yo.current);var o=null;switch(n){case`input`:i=be(e,i),r=be(e,r),o=[];break;case`select`:i=se({},i,{value:void 0}),r=se({},r,{value:void 0}),o=[];break;case`textarea`:i=Ee(e,i),r=Ee(e,r),o=[];break;default:typeof i.onClick!=`function`&&typeof r.onClick==`function`&&(e.onclick=Ti)}F(n,r);var s;for(u in n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u===`style`){var c=i[u];for(s in c)c.hasOwnProperty(s)&&(n||={},n[s]=``)}else u!==`dangerouslySetInnerHTML`&&u!==`children`&&u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&u!==`autoFocus`&&(a.hasOwnProperty(u)?o||=[]:(o||=[]).push(u,null));for(u in r){var l=r[u];if(c=i?.[u],r.hasOwnProperty(u)&&l!==c&&(l!=null||c!=null))if(u===`style`)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||={},n[s]=``);for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||={},n[s]=l[s])}else n||(o||=[],o.push(u,n)),n=l;else u===`dangerouslySetInnerHTML`?(l=l?l.__html:void 0,c=c?c.__html:void 0,l!=null&&c!==l&&(o||=[]).push(u,l)):u===`children`?typeof l!=`string`&&typeof l!=`number`||(o||=[]).push(u,``+l):u!==`suppressContentEditableWarning`&&u!==`suppressHydrationWarning`&&(a.hasOwnProperty(u)?(l!=null&&u===`onScroll`&&di(`scroll`,e),o||c===l||(o=[])):(o||=[]).push(u,l))}n&&(o||=[]).push(`style`,n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},vc=function(e,t,n,r){n!==r&&(t.flags|=4)};function yc(e,t){if(!ja)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function bc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function xc(e,t,n){var i=t.pendingProps;switch(Oa(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return bc(t),null;case 1:return ia(t.type)&&aa(),bc(t),null;case 3:return i=t.stateNode,wo(),Zi(ta),Zi(ea),Ao(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ra(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ma!==null&&(Nl(Ma),Ma=null))),bc(t),null;case 5:Eo(t);var o=So(xo.current);if(n=t.type,e!==null&&t.stateNode!=null)_c(e,t,n,i,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!i){if(t.stateNode===null)throw Error(r(166));return bc(t),null}if(e=So(yo.current),Ra(t)){i=t.stateNode,n=t.type;var s=t.memoizedProps;switch(i[Ri]=t,i[zi]=s,e=(t.mode&1)!=0,n){case`dialog`:di(`cancel`,i),di(`close`,i);break;case`iframe`:case`object`:case`embed`:di(`load`,i);break;case`video`:case`audio`:for(o=0;o<si.length;o++)di(si[o],i);break;case`source`:di(`error`,i);break;case`img`:case`image`:case`link`:di(`error`,i),di(`load`,i);break;case`details`:di(`toggle`,i);break;case`input`:xe(i,s),di(`invalid`,i);break;case`select`:i._wrapperState={wasMultiple:!!s.multiple},di(`invalid`,i);break;case`textarea`:De(i,s),di(`invalid`,i)}for(var c in F(n,s),o=null,s)if(s.hasOwnProperty(c)){var l=s[c];c===`children`?typeof l==`string`?i.textContent!==l&&(!0!==s.suppressHydrationWarning&&wi(i.textContent,l,e),o=[`children`,l]):typeof l==`number`&&i.textContent!==``+l&&(!0!==s.suppressHydrationWarning&&wi(i.textContent,l,e),o=[`children`,``+l]):a.hasOwnProperty(c)&&l!=null&&c===`onScroll`&&di(`scroll`,i)}switch(n){case`input`:_e(i),N(i,s,!0);break;case`textarea`:_e(i),ke(i);break;case`select`:case`option`:break;default:typeof s.onClick==`function`&&(i.onclick=Ti)}i=o,t.updateQueue=i,i!==null&&(t.flags|=4)}else{c=o.nodeType===9?o:o.ownerDocument,e===`http://www.w3.org/1999/xhtml`&&(e=Ae(n)),e===`http://www.w3.org/1999/xhtml`?n===`script`?(e=c.createElement(`div`),e.innerHTML=`<script><\\/script>`,e=e.removeChild(e.firstChild)):typeof i.is==`string`?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===`select`&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[Ri]=t,e[zi]=i,gc(e,t,!1,!1),t.stateNode=e;a:{switch(c=Be(n,i),n){case`dialog`:di(`cancel`,e),di(`close`,e),o=i;break;case`iframe`:case`object`:case`embed`:di(`load`,e),o=i;break;case`video`:case`audio`:for(o=0;o<si.length;o++)di(si[o],e);o=i;break;case`source`:di(`error`,e),o=i;break;case`img`:case`image`:case`link`:di(`error`,e),di(`load`,e),o=i;break;case`details`:di(`toggle`,e),o=i;break;case`input`:xe(e,i),o=be(e,i),di(`invalid`,e);break;case`option`:o=i;break;case`select`:e._wrapperState={wasMultiple:!!i.multiple},o=se({},i,{value:void 0}),di(`invalid`,e);break;case`textarea`:De(e,i),o=Ee(e,i),di(`invalid`,e);break;default:o=i}for(s in F(n,o),l=o,l)if(l.hasOwnProperty(s)){var u=l[s];s===`style`?Re(e,u):s===`dangerouslySetInnerHTML`?(u=u?u.__html:void 0,u!=null&&Ne(e,u)):s===`children`?typeof u==`string`?(n!==`textarea`||u!==``)&&Pe(e,u):typeof u==`number`&&Pe(e,``+u):s!==`suppressContentEditableWarning`&&s!==`suppressHydrationWarning`&&s!==`autoFocus`&&(a.hasOwnProperty(s)?u!=null&&s===`onScroll`&&di(`scroll`,e):u!=null&&S(e,s,u,c))}switch(n){case`input`:_e(e),N(e,i,!1);break;case`textarea`:_e(e),ke(e);break;case`option`:i.value!=null&&e.setAttribute(`value`,``+me(i.value));break;case`select`:e.multiple=!!i.multiple,s=i.value,s==null?i.defaultValue!=null&&Te(e,!!i.multiple,i.defaultValue,!0):Te(e,!!i.multiple,s,!1);break;default:typeof o.onClick==`function`&&(e.onclick=Ti)}switch(n){case`button`:case`input`:case`select`:case`textarea`:i=!!i.autoFocus;break a;case`img`:i=!0;break a;default:i=!1}}i&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return bc(t),null;case 6:if(e&&t.stateNode!=null)vc(e,t,e.memoizedProps,i);else{if(typeof i!=`string`&&t.stateNode===null)throw Error(r(166));if(n=So(xo.current),So(yo.current),Ra(t)){if(i=t.stateNode,n=t.memoizedProps,i[Ri]=t,(s=i.nodeValue!==n)&&(e=ka,e!==null))switch(e.tag){case 3:wi(i.nodeValue,n,(e.mode&1)!=0);break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&wi(i.nodeValue,n,(e.mode&1)!=0)}s&&(t.flags|=4)}else i=(n.nodeType===9?n:n.ownerDocument).createTextNode(i),i[Ri]=t,t.stateNode=i}return bc(t),null;case 13:if(Zi(Do),i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ja&&Aa!==null&&t.mode&1&&!(t.flags&128))za(),Ba(),t.flags|=98560,s=!1;else if(s=Ra(t),i!==null&&i.dehydrated!==null){if(e===null){if(!s)throw Error(r(318));if(s=t.memoizedState,s=s===null?null:s.dehydrated,!s)throw Error(r(317));s[Ri]=t}else Ba(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;bc(t),s=!1}else Ma!==null&&(Nl(Ma),Ma=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(i=i!==null,i!==(e!==null&&e.memoizedState!==null)&&i&&(t.child.flags|=8192,t.mode&1&&(e===null||Do.current&1?sl===0&&(sl=3):Ul())),t.updateQueue!==null&&(t.flags|=4),bc(t),null);case 4:return wo(),e===null&&mi(t.stateNode.containerInfo),bc(t),null;case 10:return eo(t.type._context),bc(t),null;case 17:return ia(t.type)&&aa(),bc(t),null;case 19:if(Zi(Do),s=t.memoizedState,s===null)return bc(t),null;if(i=(t.flags&128)!=0,c=s.rendering,c===null)if(i)yc(s,!1);else{if(sl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(c=Oo(e),c!==null){for(t.flags|=128,yc(s,!1),i=c.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),t.subtreeFlags=0,i=n,n=t.child;n!==null;)s=n,e=i,s.flags&=14680066,c=s.alternate,c===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Qi(Do,Do.current&1|2),t.child}e=e.sibling}s.tail!==null&&yt()>hl&&(t.flags|=128,i=!0,yc(s,!1),t.lanes=4194304)}else{if(!i)if(e=Oo(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),yc(s,!0),s.tail===null&&s.tailMode===`hidden`&&!c.alternate&&!ja)return bc(t),null}else 2*yt()-s.renderingStartTime>hl&&n!==1073741824&&(t.flags|=128,i=!0,yc(s,!1),t.lanes=4194304);s.isBackwards?(c.sibling=t.child,t.child=c):(n=s.last,n===null?t.child=c:n.sibling=c,s.last=c)}return s.tail===null?(bc(t),null):(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=yt(),t.sibling=null,n=Do.current,Qi(Do,i?n&1|2:n&1),t);case 22:case 23:return zl(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?al&1073741824&&(bc(t),t.subtreeFlags&6&&(t.flags|=8192)):bc(t),null;case 24:return null;case 25:return null}throw Error(r(156,t.tag))}function Sc(e,t){switch(Oa(t),t.tag){case 1:return ia(t.type)&&aa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return wo(),Zi(ta),Zi(ea),Ao(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Eo(t),null;case 13:if(Zi(Do),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));Ba()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Zi(Do),null;case 4:return wo(),null;case 10:return eo(t.type._context),null;case 22:case 23:return zl(),null;case 24:return null;default:return null}}var Cc=!1,wc=!1,Tc=typeof WeakSet==`function`?WeakSet:Set,R=null;function Ec(e,t){var n=e.ref;if(n!==null)if(typeof n==`function`)try{n(null)}catch(n){$l(e,t,n)}else n.current=null}function Dc(e,t,n){try{n()}catch(n){$l(e,t,n)}}var Oc=!1;function kc(e,t){if(Ei=vn,e=zr(),Br(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var a=i.anchorOffset,o=i.focusNode;i=i.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||i!==0&&f.nodeType!==3||(l=s+i),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===i&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Di={focusedElem:e,selectionRange:n},vn=!1,R=t;R!==null;)if(t=R,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var g=h.memoizedProps,_=h.memoizedState,v=t.stateNode;v.__reactInternalSnapshotBeforeUpdate=v.getSnapshotBeforeUpdate(t.elementType===t.type?g:ks(t.type,g),_)}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent=``:y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(e){$l(t,t.return,e)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return h=Oc,Oc=!1,h}function Ac(e,t,n){var r=t.updateQueue;if(r=r===null?null:r.lastEffect,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&Dc(t,n,a)}i=i.next}while(i!==r)}}function jc(e,t){if(t=t.updateQueue,t=t===null?null:t.lastEffect,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Mc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==`function`?t(e):t.current=e}}function Nc(e){var t=e.alternate;t!==null&&(e.alternate=null,Nc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ri],delete t[zi],delete t[Vi],delete t[Hi],delete t[Ui])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pc(e){return e.tag===5||e.tag===3||e.tag===4}function Fc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Pc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ic(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ti));else if(r!==4&&(e=e.child,e!==null))for(Ic(e,t,n),e=e.sibling;e!==null;)Ic(e,t,n),e=e.sibling}function Lc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Lc(e,t,n),e=e.sibling;e!==null;)Lc(e,t,n),e=e.sibling}var Rc=null,zc=!1;function Bc(e,t,n){for(n=n.child;n!==null;)Vc(e,t,n),n=n.sibling}function Vc(e,t,n){if(Dt&&typeof Dt.onCommitFiberUnmount==`function`)try{Dt.onCommitFiberUnmount(Et,n)}catch{}switch(n.tag){case 5:wc||Ec(n,t);case 6:var r=Rc,i=zc;Rc=null,Bc(e,t,n),Rc=r,zc=i,Rc!==null&&(zc?(e=Rc,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Rc.removeChild(n.stateNode));break;case 18:Rc!==null&&(zc?(e=Rc,n=n.stateNode,e.nodeType===8?Pi(e.parentNode,n):e.nodeType===1&&Pi(e,n),gn(e)):Pi(Rc,n.stateNode));break;case 4:r=Rc,i=zc,Rc=n.stateNode.containerInfo,zc=!0,Bc(e,t,n),Rc=r,zc=i;break;case 0:case 11:case 14:case 15:if(!wc&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&Dc(n,t,o),i=i.next}while(i!==r)}Bc(e,t,n);break;case 1:if(!wc&&(Ec(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){$l(n,t,e)}Bc(e,t,n);break;case 21:Bc(e,t,n);break;case 22:n.mode&1?(wc=(r=wc)||n.memoizedState!==null,Bc(e,t,n),wc=r):Bc(e,t,n);break;default:Bc(e,t,n)}}function Hc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Tc),t.forEach(function(t){var r=ru.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function Uc(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var a=n[i];try{var o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 5:Rc=c.stateNode,zc=!1;break a;case 3:Rc=c.stateNode.containerInfo,zc=!0;break a;case 4:Rc=c.stateNode.containerInfo,zc=!0;break a}c=c.return}if(Rc===null)throw Error(r(160));Vc(o,s,a),Rc=null,zc=!1;var l=a.alternate;l!==null&&(l.return=null),a.return=null}catch(e){$l(a,t,e)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Wc(t,e),t=t.sibling}function Wc(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Uc(t,e),Gc(e),i&4){try{Ac(3,e,e.return),jc(3,e)}catch(t){$l(e,e.return,t)}try{Ac(5,e,e.return)}catch(t){$l(e,e.return,t)}}break;case 1:Uc(t,e),Gc(e),i&512&&n!==null&&Ec(n,n.return);break;case 5:if(Uc(t,e),Gc(e),i&512&&n!==null&&Ec(n,n.return),e.flags&32){var a=e.stateNode;try{Pe(a,``)}catch(t){$l(e,e.return,t)}}if(i&4&&(a=e.stateNode,a!=null)){var o=e.memoizedProps,s=n===null?o:n.memoizedProps,c=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{c===`input`&&o.type===`radio`&&o.name!=null&&Se(a,o),Be(c,s);var u=Be(c,o);for(s=0;s<l.length;s+=2){var d=l[s],f=l[s+1];d===`style`?Re(a,f):d===`dangerouslySetInnerHTML`?Ne(a,f):d===`children`?Pe(a,f):S(a,d,f,u)}switch(c){case`input`:Ce(a,o);break;case`textarea`:Oe(a,o);break;case`select`:var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!o.multiple;var m=o.value;m==null?p!==!!o.multiple&&(o.defaultValue==null?Te(a,!!o.multiple,o.multiple?[]:``,!1):Te(a,!!o.multiple,o.defaultValue,!0)):Te(a,!!o.multiple,m,!1)}a[zi]=o}catch(t){$l(e,e.return,t)}}break;case 6:if(Uc(t,e),Gc(e),i&4){if(e.stateNode===null)throw Error(r(162));a=e.stateNode,o=e.memoizedProps;try{a.nodeValue=o}catch(t){$l(e,e.return,t)}}break;case 3:if(Uc(t,e),Gc(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{gn(t.containerInfo)}catch(t){$l(e,e.return,t)}break;case 4:Uc(t,e),Gc(e);break;case 13:Uc(t,e),Gc(e),a=e.child,a.flags&8192&&(o=a.memoizedState!==null,a.stateNode.isHidden=o,!o||a.alternate!==null&&a.alternate.memoizedState!==null||(ml=yt())),i&4&&Hc(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(wc=(u=wc)||d,Uc(t,e),wc=u):Uc(t,e),Gc(e),i&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(R=e,d=e.child;d!==null;){for(f=R=d;R!==null;){switch(p=R,m=p.child,p.tag){case 0:case 11:case 14:case 15:Ac(4,p,p.return);break;case 1:Ec(p,p.return);var h=p.stateNode;if(typeof h.componentWillUnmount==`function`){i=p,n=p.return;try{t=i,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){$l(i,n,e)}}break;case 5:Ec(p,p.return);break;case 22:if(p.memoizedState!==null){Yc(f);continue}}m===null?Yc(f):(m.return=p,R=m)}d=d.sibling}a:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{a=f.stateNode,u?(o=a.style,typeof o.setProperty==`function`?o.setProperty(`display`,`none`,`important`):o.display=`none`):(c=f.stateNode,l=f.memoizedProps.style,s=l!=null&&l.hasOwnProperty(`display`)?l.display:null,c.style.display=Le(`display`,s))}catch(t){$l(e,e.return,t)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?``:f.memoizedProps}catch(t){$l(e,e.return,t)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break a;for(;f.sibling===null;){if(f.return===null||f.return===e)break a;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Uc(t,e),Gc(e),i&4&&Hc(e);break;case 21:break;default:Uc(t,e),Gc(e)}}function Gc(e){var t=e.flags;if(t&2){try{a:{for(var n=e.return;n!==null;){if(Pc(n)){var i=n;break a}n=n.return}throw Error(r(160))}switch(i.tag){case 5:var a=i.stateNode;i.flags&32&&(Pe(a,``),i.flags&=-33),Lc(e,Fc(e),a);break;case 3:case 4:var o=i.stateNode.containerInfo;Ic(e,Fc(e),o);break;default:throw Error(r(161))}}catch(t){$l(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Kc(e,t,n){R=e,qc(e,t,n)}function qc(e,t,n){for(var r=(e.mode&1)!=0;R!==null;){var i=R,a=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Cc;if(!o){var s=i.alternate,c=s!==null&&s.memoizedState!==null||wc;s=Cc;var l=wc;if(Cc=o,(wc=c)&&!l)for(R=i;R!==null;)o=R,c=o.child,o.tag===22&&o.memoizedState!==null||c===null?Xc(i):(c.return=o,R=c);for(;a!==null;)R=a,qc(a,t,n),a=a.sibling;R=i,Cc=s,wc=l}Jc(e,t,n)}else i.subtreeFlags&8772&&a!==null?(a.return=i,R=a):Jc(e,t,n)}}function Jc(e){for(;R!==null;){var t=R;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:wc||jc(5,t);break;case 1:var i=t.stateNode;if(t.flags&4&&!wc)if(n===null)i.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:ks(t.type,n.memoizedProps);i.componentDidUpdate(a,n.memoizedState,i.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&_o(t,o,i);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}_o(t,s,n)}break;case 5:var c=t.stateNode;if(n===null&&t.flags&4){n=c;var l=t.memoizedProps;switch(t.type){case`button`:case`input`:case`select`:case`textarea`:l.autoFocus&&n.focus();break;case`img`:l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&gn(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}wc||t.flags&512&&Mc(t)}catch(e){$l(t,t.return,e)}}if(t===e){R=null;break}if(n=t.sibling,n!==null){n.return=t.return,R=n;break}R=t.return}}function Yc(e){for(;R!==null;){var t=R;if(t===e){R=null;break}var n=t.sibling;if(n!==null){n.return=t.return,R=n;break}R=t.return}}function Xc(e){for(;R!==null;){var t=R;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{jc(4,t)}catch(e){$l(t,n,e)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount==`function`){var i=t.return;try{r.componentDidMount()}catch(e){$l(t,i,e)}}var a=t.return;try{Mc(t)}catch(e){$l(t,a,e)}break;case 5:var o=t.return;try{Mc(t)}catch(e){$l(t,o,e)}}}catch(e){$l(t,t.return,e)}if(t===e){R=null;break}var s=t.sibling;if(s!==null){s.return=t.return,R=s;break}R=t.return}}var Zc=Math.ceil,Qc=C.ReactCurrentDispatcher,$c=C.ReactCurrentOwner,el=C.ReactCurrentBatchConfig,tl=0,nl=null,rl=null,il=0,al=0,ol=Xi(0),sl=0,cl=null,ll=0,ul=0,dl=0,fl=null,pl=null,ml=0,hl=1/0,gl=null,_l=!1,vl=null,yl=null,bl=!1,xl=null,Sl=0,Cl=0,wl=null,Tl=-1,El=0;function Dl(){return tl&6?yt():Tl===-1?Tl=yt():Tl}function Ol(e){return e.mode&1?tl&2&&il!==0?il&-il:Ha.transition===null?(e=Gt,e===0?(e=window.event,e=e===void 0?16:wn(e.type),e):e):(El===0&&(El=Bt()),El):1}function kl(e,t,n,i){if(50<Cl)throw Cl=0,wl=null,Error(r(185));Ht(e,n,i),(!(tl&2)||e!==nl)&&(e===nl&&(!(tl&2)&&(ul|=n),sl===4&&Fl(e,il)),Al(e,i),n===1&&tl===0&&!(t.mode&1)&&(hl=yt()+500,da&&ha()))}function Al(e,t){var n=e.callbackNode;Rt(e,t);var r=It(e,e===nl?il:0);if(r===0)n!==null&>(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&>(n),t===1)e.tag===0?ma(Il.bind(null,e)):pa(Il.bind(null,e)),Mi(function(){!(tl&6)&&ha()}),n=null;else{switch(Kt(r)){case 1:n=xt;break;case 4:n=St;break;case 16:n=Ct;break;case 536870912:n=Tt;break;default:n=Ct}n=au(n,jl.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function jl(e,t){if(Tl=-1,El=0,tl&6)throw Error(r(327));var n=e.callbackNode;if(Zl()&&e.callbackNode!==n)return null;var i=It(e,e===nl?il:0);if(i===0)return null;if(i&30||(i&e.expiredLanes)!==0||t)t=Wl(e,i);else{t=i;var a=tl;tl|=2;var o=Hl();(nl!==e||il!==t)&&(gl=null,hl=yt()+500,Bl(e,t));do try{Kl();break}catch(t){Vl(e,t)}while(1);$a(),Qc.current=o,tl=a,rl===null?(nl=null,il=0,t=sl):t=0}if(t!==0){if(t===2&&(a=zt(e),a!==0&&(i=a,t=Ml(e,a))),t===1)throw n=cl,Bl(e,0),Fl(e,i),Al(e,yt()),n;if(t===6)Fl(e,i);else{if(a=e.current.alternate,!(i&30)&&!Pl(a)&&(t=Wl(e,i),t===2&&(o=zt(e),o!==0&&(i=o,t=Ml(e,o))),t===1))throw n=cl,Bl(e,0),Fl(e,i),Al(e,yt()),n;switch(e.finishedWork=a,e.finishedLanes=i,t){case 0:case 1:throw Error(r(345));case 2:Yl(e,pl,gl);break;case 3:if(Fl(e,i),(i&130023424)===i&&(t=ml+500-yt(),10<t)){if(It(e,0)!==0)break;if(a=e.suspendedLanes,(a&i)!==i){Dl(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ki(Yl.bind(null,e,pl,gl),t);break}Yl(e,pl,gl);break;case 4:if(Fl(e,i),(i&4194240)===i)break;for(t=e.eventTimes,a=-1;0<i;){var s=31-kt(i);o=1<<s,s=t[s],s>a&&(a=s),i&=~o}if(i=a,i=yt()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Zc(i/1960))-i,10<i){e.timeoutHandle=ki(Yl.bind(null,e,pl,gl),i);break}Yl(e,pl,gl);break;case 5:Yl(e,pl,gl);break;default:throw Error(r(329))}}}return Al(e,yt()),e.callbackNode===n?jl.bind(null,e):null}function Ml(e,t){var n=fl;return e.current.memoizedState.isDehydrated&&(Bl(e,t).flags|=256),e=Wl(e,t),e!==2&&(t=pl,pl=n,t!==null&&Nl(t)),e}function Nl(e){pl===null?pl=e:pl.push.apply(pl,e)}function Pl(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!Pr(a(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Fl(e,t){for(t&=~dl,t&=~ul,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-kt(t),r=1<<n;e[n]=-1,t&=~r}}function Il(e){if(tl&6)throw Error(r(327));Zl();var t=It(e,0);if(!(t&1))return Al(e,yt()),null;var n=Wl(e,t);if(e.tag!==0&&n===2){var i=zt(e);i!==0&&(t=i,n=Ml(e,i))}if(n===1)throw n=cl,Bl(e,0),Fl(e,t),Al(e,yt()),n;if(n===6)throw Error(r(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Yl(e,pl,gl),Al(e,yt()),null}function Ll(e,t){var n=tl;tl|=1;try{return e(t)}finally{tl=n,tl===0&&(hl=yt()+500,da&&ha())}}function Rl(e){xl!==null&&xl.tag===0&&!(tl&6)&&Zl();var t=tl;tl|=1;var n=el.transition,r=Gt;try{if(el.transition=null,Gt=1,e)return e()}finally{Gt=r,el.transition=n,tl=t,!(tl&6)&&ha()}}function zl(){al=ol.current,Zi(ol)}function Bl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Ai(n)),rl!==null)for(n=rl.return;n!==null;){var r=n;switch(Oa(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&aa();break;case 3:wo(),Zi(ta),Zi(ea),Ao();break;case 5:Eo(r);break;case 4:wo();break;case 13:Zi(Do);break;case 19:Zi(Do);break;case 10:eo(r.type._context);break;case 22:case 23:zl()}n=n.return}if(nl=e,rl=e=uu(e.current,null),il=al=t,sl=0,cl=null,dl=ul=ll=0,pl=fl=null,io!==null){for(t=0;t<io.length;t++)if(n=io[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,a=n.pending;if(a!==null){var o=a.next;a.next=i,r.next=o}n.pending=r}io=null}return e}function Vl(e,t){do{var n=rl;try{if($a(),jo.current=Ts,Lo){for(var i=Po.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}Lo=!1}if(No=0,Io=Fo=Po=null,Ro=!1,zo=0,$c.current=null,n===null||n.return===null){sl=1,cl=t,rl=null;break}a:{var o=e,s=n.return,c=n,l=t;if(t=il,c.flags|=32768,typeof l==`object`&&l&&typeof l.then==`function`){var u=l,d=c,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=Us(s);if(m!==null){m.flags&=-257,Ws(m,s,c,o,t),m.mode&1&&Hs(o,u,t),t=m,l=u;var h=t.updateQueue;if(h===null){var g=new Set;g.add(l),t.updateQueue=g}else h.add(l);break a}else{if(!(t&1)){Hs(o,u,t),Ul();break a}l=Error(r(426))}}else if(ja&&c.mode&1){var _=Us(s);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Ws(_,s,c,o,t),Va(Is(l,c));break a}}o=l=Is(l,c),sl!==4&&(sl=2),fl===null?fl=[o]:fl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var v=Bs(o,l,t);ho(o,v);break a;case 1:c=l;var y=o.type,b=o.stateNode;if(!(o.flags&128)&&(typeof y.getDerivedStateFromError==`function`||b!==null&&typeof b.componentDidCatch==`function`&&(yl===null||!yl.has(b)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Vs(o,c,t);ho(o,x);break a}}o=o.return}while(o!==null)}Jl(n)}catch(e){t=e,rl===n&&n!==null&&(rl=n=n.return);continue}break}while(1)}function Hl(){var e=Qc.current;return Qc.current=Ts,e===null?Ts:e}function Ul(){(sl===0||sl===3||sl===2)&&(sl=4),nl===null||!(ll&268435455)&&!(ul&268435455)||Fl(nl,il)}function Wl(e,t){var n=tl;tl|=2;var i=Hl();(nl!==e||il!==t)&&(gl=null,Bl(e,t));do try{Gl();break}catch(t){Vl(e,t)}while(1);if($a(),tl=n,Qc.current=i,rl!==null)throw Error(r(261));return nl=null,il=0,sl}function Gl(){for(;rl!==null;)ql(rl)}function Kl(){for(;rl!==null&&!_t();)ql(rl)}function ql(e){var t=iu(e.alternate,e,al);e.memoizedProps=e.pendingProps,t===null?Jl(e):rl=t,$c.current=null}function Jl(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Sc(n,t),n!==null){n.flags&=32767,rl=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{sl=6,rl=null;return}}else if(n=xc(n,t,al),n!==null){rl=n;return}if(t=t.sibling,t!==null){rl=t;return}rl=t=e}while(t!==null);sl===0&&(sl=5)}function Yl(e,t,n){var r=Gt,i=el.transition;try{el.transition=null,Gt=1,Xl(e,t,n,r)}finally{el.transition=i,Gt=r}return null}function Xl(e,t,n,i){do Zl();while(xl!==null);if(tl&6)throw Error(r(327));n=e.finishedWork;var a=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Ut(e,o),e===nl&&(rl=nl=null,il=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||bl||(bl=!0,au(Ct,function(){return Zl(),null})),o=(n.flags&15990)!=0,n.subtreeFlags&15990||o){o=el.transition,el.transition=null;var s=Gt;Gt=1;var c=tl;tl|=4,$c.current=null,kc(e,n),Wc(n,e),Vr(Di),vn=!!Ei,Di=Ei=null,e.current=n,Kc(n,e,a),vt(),tl=c,Gt=s,el.transition=o}else e.current=n;if(bl&&(bl=!1,xl=e,Sl=a),o=e.pendingLanes,o===0&&(yl=null),Ot(n.stateNode,i),Al(e,yt()),t!==null)for(i=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],i(a.value,{componentStack:a.stack,digest:a.digest});if(_l)throw _l=!1,e=vl,vl=null,e;return Sl&1&&e.tag!==0&&Zl(),o=e.pendingLanes,o&1?e===wl?Cl++:(Cl=0,wl=e):Cl=0,ha(),null}function Zl(){if(xl!==null){var e=Kt(Sl),t=el.transition,n=Gt;try{if(el.transition=null,Gt=16>e?16:e,xl===null)var i=!1;else{if(e=xl,xl=null,Sl=0,tl&6)throw Error(r(331));var a=tl;for(tl|=4,R=e.current;R!==null;){var o=R,s=o.child;if(R.flags&16){var c=o.deletions;if(c!==null){for(var l=0;l<c.length;l++){var u=c[l];for(R=u;R!==null;){var d=R;switch(d.tag){case 0:case 11:case 15:Ac(8,d,o)}var f=d.child;if(f!==null)f.return=d,R=f;else for(;R!==null;){d=R;var p=d.sibling,m=d.return;if(Nc(d),d===u){R=null;break}if(p!==null){p.return=m,R=p;break}R=m}}}var h=o.alternate;if(h!==null){var g=h.child;if(g!==null){h.child=null;do{var _=g.sibling;g.sibling=null,g=_}while(g!==null)}}R=o}}if(o.subtreeFlags&2064&&s!==null)s.return=o,R=s;else b:for(;R!==null;){if(o=R,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Ac(9,o,o.return)}var v=o.sibling;if(v!==null){v.return=o.return,R=v;break b}R=o.return}}var y=e.current;for(R=y;R!==null;){s=R;var b=s.child;if(s.subtreeFlags&2064&&b!==null)b.return=s,R=b;else b:for(s=y;R!==null;){if(c=R,c.flags&2048)try{switch(c.tag){case 0:case 11:case 15:jc(9,c)}}catch(e){$l(c,c.return,e)}if(c===s){R=null;break b}var x=c.sibling;if(x!==null){x.return=c.return,R=x;break b}R=c.return}}if(tl=a,ha(),Dt&&typeof Dt.onPostCommitFiberRoot==`function`)try{Dt.onPostCommitFiberRoot(Et,e)}catch{}i=!0}return i}finally{Gt=n,el.transition=t}}return!1}function Ql(e,t,n){t=Is(n,t),t=Bs(e,t,1),e=po(e,t,1),t=Dl(),e!==null&&(Ht(e,1,t),Al(e,t))}function $l(e,t,n){if(e.tag===3)Ql(e,e,n);else for(;t!==null;){if(t.tag===3){Ql(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(yl===null||!yl.has(r))){e=Is(n,e),e=Vs(t,e,1),t=po(t,e,1),e=Dl(),t!==null&&(Ht(t,1,e),Al(t,e));break}}t=t.return}}function eu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Dl(),e.pingedLanes|=e.suspendedLanes&n,nl===e&&(il&n)===n&&(sl===4||sl===3&&(il&130023424)===il&&500>yt()-ml?Bl(e,0):dl|=n),Al(e,t)}function tu(e,t){t===0&&(e.mode&1?(t=Pt,Pt<<=1,!(Pt&130023424)&&(Pt=4194304)):t=1);var n=Dl();e=so(e,t),e!==null&&(Ht(e,t,n),Al(e,n))}function nu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),tu(e,n)}function ru(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(r(314))}i!==null&&i.delete(t),tu(e,n)}var iu=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ta.current)Ks=!0;else{if((e.lanes&n)===0&&!(t.flags&128))return Ks=!1,hc(e,t,n);Ks=!!(e.flags&131072)}else Ks=!1,ja&&t.flags&1048576&&Ea(t,ya,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;pc(e,t),e=t.pendingProps;var a=ra(t,ea.current);no(t,n),a=Uo(null,t,i,e,a,n);var o=Wo();return t.flags|=1,typeof a==`object`&&a&&typeof a.render==`function`&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ia(i)?(o=!0,ca(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,lo(t),a.updater=js,t.stateNode=a,a._reactInternals=t,Fs(t,i,e,n),t=tc(null,t,i,!0,o,n)):(t.tag=0,ja&&o&&Da(t),qs(null,t,a,n),t=t.child),t;case 16:i=t.elementType;a:{switch(pc(e,t),e=t.pendingProps,a=i._init,i=a(i._payload),t.type=i,a=t.tag=lu(i),e=ks(i,e),a){case 0:t=$s(null,t,i,e,n);break a;case 1:t=ec(null,t,i,e,n);break a;case 11:t=Js(null,t,i,e,n);break a;case 14:t=Ys(null,t,i,ks(i.type,e),n);break a}throw Error(r(306,i,``))}return t;case 0:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),$s(e,t,i,a,n);case 1:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),ec(e,t,i,a,n);case 3:a:{if(nc(t),e===null)throw Error(r(387));i=t.pendingProps,o=t.memoizedState,a=o.element,uo(e,t),go(t,i,null,n);var s=t.memoizedState;if(i=s.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Is(Error(r(423)),t),t=rc(e,t,i,n,a);break a}else if(i!==a){a=Is(Error(r(424)),t),t=rc(e,t,i,n,a);break a}else for(Aa=Fi(t.stateNode.containerInfo.firstChild),ka=t,ja=!0,Ma=null,n=Ja(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ba(),i===a){t=mc(e,t,n);break a}qs(e,t,i,n)}t=t.child}return t;case 5:return To(t),e===null&&Ia(t),i=t.type,a=t.pendingProps,o=e===null?null:e.memoizedProps,s=a.children,Oi(i,a)?s=null:o!==null&&Oi(i,o)&&(t.flags|=32),Qs(e,t),qs(e,t,s,n),t.child;case 6:return e===null&&Ia(t),null;case 13:return oc(e,t,n);case 4:return Co(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=qa(t,null,i,n):qs(e,t,i,n),t.child;case 11:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),Js(e,t,i,a,n);case 7:return qs(e,t,t.pendingProps,n),t.child;case 8:return qs(e,t,t.pendingProps.children,n),t.child;case 12:return qs(e,t,t.pendingProps.children,n),t.child;case 10:a:{if(i=t.type._context,a=t.pendingProps,o=t.memoizedProps,s=a.value,Qi(Ya,i._currentValue),i._currentValue=s,o!==null)if(Pr(o.value,s)){if(o.children===a.children&&!ta.current){t=mc(e,t,n);break a}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){s=o.child;for(var l=c.firstContext;l!==null;){if(l.context===i){if(o.tag===1){l=fo(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),to(o.return,n,t),c.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===t.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(r(341));s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),to(s,n,t),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===t){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}qs(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,i=t.pendingProps.children,no(t,n),a=ro(a),i=i(a),t.flags|=1,qs(e,t,i,n),t.child;case 14:return i=t.type,a=ks(i,t.pendingProps),a=ks(i.type,a),Ys(e,t,i,a,n);case 15:return Xs(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,a=t.pendingProps,a=t.elementType===i?a:ks(i,a),pc(e,t),t.tag=1,ia(i)?(e=!0,ca(t)):e=!1,no(t,n),Ns(t,i,a),Fs(t,i,a,n),tc(null,t,i,!0,e,n);case 19:return fc(e,t,n);case 22:return Zs(e,t,n)}throw Error(r(156,t.tag))};function au(e,t){return ht(e,t)}function ou(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function su(e,t,n,r){return new ou(e,t,n,r)}function cu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function lu(e){if(typeof e==`function`)return+!!cu(e);if(e!=null){if(e=e.$$typeof,e===te)return 11;if(e===re)return 14}return 2}function uu(e,t){var n=e.alternate;return n===null?(n=su(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function du(e,t,n,i,a,o){var s=2;if(i=e,typeof e==`function`)cu(e)&&(s=1);else if(typeof e==`string`)s=5;else a:switch(e){case E:return fu(n.children,a,o,t);case D:s=8,a|=8;break;case O:return e=su(12,n,t,a|2),e.elementType=O,e.lanes=o,e;case ne:return e=su(13,n,t,a),e.elementType=ne,e.lanes=o,e;case A:return e=su(19,n,t,a),e.elementType=A,e.lanes=o,e;case ie:return pu(n,a,o,t);default:if(typeof e==`object`&&e)switch(e.$$typeof){case k:s=10;break a;case ee:s=9;break a;case te:s=11;break a;case re:s=14;break a;case j:s=16,i=null;break a}throw Error(r(130,e==null?e:typeof e,``))}return t=su(s,n,t,a),t.elementType=e,t.type=i,t.lanes=o,t}function fu(e,t,n,r){return e=su(7,e,r,t),e.lanes=n,e}function pu(e,t,n,r){return e=su(22,e,r,t),e.elementType=ie,e.lanes=n,e.stateNode={isHidden:!1},e}function mu(e,t,n){return e=su(6,e,null,t),e.lanes=n,e}function hu(e,t,n){return t=su(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gu(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function _u(e,t,n,r,i,a,o,s,c){return e=new gu(e,t,n,s,c),t===1?(t=1,!0===a&&(t|=8)):t=0,a=su(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lo(a),e}function vu(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:T,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}function yu(e){if(!e)return $i;e=e._reactInternals;a:{if(lt(e)!==e||e.tag!==1)throw Error(r(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break a;case 1:if(ia(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break a}}t=t.return}while(t!==null);throw Error(r(171))}if(e.tag===1){var n=e.type;if(ia(n))return sa(e,n,t)}return t}function bu(e,t,n,r,i,a,o,s,c){return e=_u(n,r,!0,e,i,a,o,s,c),e.context=yu(null),n=e.current,r=Dl(),i=Ol(n),a=fo(r,i),a.callback=t??null,po(n,a,i),e.current.lanes=i,Ht(e,i,r),Al(e,r),e}function xu(e,t,n,r){var i=t.current,a=Dl(),o=Ol(i);return n=yu(n),t.context===null?t.context=n:t.pendingContext=n,t=fo(a,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=po(i,t,o),e!==null&&(kl(e,i,o,a),mo(e,i,o)),o}function Su(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Cu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function wu(e,t){Cu(e,t),(e=e.alternate)&&Cu(e,t)}function Tu(){return null}var Eu=typeof reportError==`function`?reportError:function(e){console.error(e)};function Du(e){this._internalRoot=e}Ou.prototype.render=Du.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));xu(e,t,null,null)},Ou.prototype.unmount=Du.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Rl(function(){xu(null,e,null,null)}),t[Bi]=null}};function Ou(e){this._internalRoot=e}Ou.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<on.length&&t!==0&&t<on[n].priority;n++);on.splice(n,0,e),n===0&&dn(e)}};function ku(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Au(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==` react-mount-point-unstable `))}function ju(){}function Mu(e,t,n,r,i){if(i){if(typeof r==`function`){var a=r;r=function(){var e=Su(o);a.call(e)}}var o=bu(t,r,e,0,null,!1,!1,``,ju);return e._reactRootContainer=o,e[Bi]=o.current,mi(e.nodeType===8?e.parentNode:e),Rl(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r==`function`){var s=r;r=function(){var e=Su(c);s.call(e)}}var c=_u(e,0,!1,null,null,!1,!1,``,ju);return e._reactRootContainer=c,e[Bi]=c.current,mi(e.nodeType===8?e.parentNode:e),Rl(function(){xu(t,c,n,r)}),c}function Nu(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if(typeof i==`function`){var s=i;i=function(){var e=Su(o);s.call(e)}}xu(t,o,e,i)}else o=Mu(n,t,e,i,r);return Su(o)}qt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ft(t.pendingLanes);n!==0&&(Wt(t,n|1),Al(t,yt()),!(tl&6)&&(hl=yt()+500,ha()))}break;case 13:Rl(function(){var t=so(e,1);t!==null&&kl(t,e,1,Dl())}),wu(e,1)}},Jt=function(e){if(e.tag===13){var t=so(e,134217728);t!==null&&kl(t,e,134217728,Dl()),wu(e,134217728)}},Yt=function(e){if(e.tag===13){var t=Ol(e),n=so(e,t);n!==null&&kl(n,e,t,Dl()),wu(e,t)}},Xt=function(){return Gt},Zt=function(e,t){var n=Gt;try{return Gt=e,t()}finally{Gt=n}},Ue=function(e,t,n){switch(t){case`input`:if(Ce(e,n),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name=`+JSON.stringify(``+t)+`][type=\"radio\"]`),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var a=qi(i);if(!a)throw Error(r(90));ve(i),Ce(i,a)}}}break;case`textarea`:Oe(e,n);break;case`select`:t=n.value,t!=null&&Te(e,!!n.multiple,t,!1)}},Ye=Ll,Xe=Rl;var Pu={usingClientEntryPoint:!1,Events:[Gi,Ki,qi,qe,Je,Ll]},Fu={findFiberByHostInstance:Wi,bundleType:0,version:`18.3.1`,rendererPackageName:`react-dom`},Iu={bundleType:Fu.bundleType,version:Fu.version,rendererPackageName:Fu.rendererPackageName,rendererConfig:Fu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=pt(e),e===null?null:e.stateNode},findFiberByHostInstance:Fu.findFiberByHostInstance||Tu,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:`18.3.1-next-f1338f8080-20240426`};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Lu.isDisabled&&Lu.supportsFiber)try{Et=Lu.inject(Iu),Dt=Lu}catch{}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pu,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ku(t))throw Error(r(200));return vu(e,t,null,n)},e.createRoot=function(e,t){if(!ku(e))throw Error(r(299));var n=!1,i=``,a=Eu;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=_u(e,1,!1,null,null,n,!1,i,a),e[Bi]=t.current,mi(e.nodeType===8?e.parentNode:e),new Du(t)},e.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(r(188)):(e=Object.keys(e).join(`,`),Error(r(268,e)));return e=pt(t),e=e===null?null:e.stateNode,e},e.flushSync=function(e){return Rl(e)},e.hydrate=function(e,t,n){if(!Au(t))throw Error(r(200));return Nu(null,e,t,!0,n)},e.hydrateRoot=function(e,t,n){if(!ku(e))throw Error(r(405));var i=n!=null&&n.hydratedSources||null,a=!1,o=``,s=Eu;if(n!=null&&(!0===n.unstable_strictMode&&(a=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=bu(t,null,e,1,n??null,a,!1,o,s),e[Bi]=t.current,mi(e),i)for(e=0;e<i.length;e++)n=i[e],a=n._getVersion,a=a(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Ou(t)},e.render=function(e,t,n){if(!Au(t))throw Error(r(200));return Nu(null,e,t,!1,n)},e.unmountComponentAtNode=function(e){if(!Au(e))throw Error(r(40));return e._reactRootContainer?(Rl(function(){Nu(null,null,e,!1,function(){e._reactRootContainer=null,e[Bi]=null})}),!0):!1},e.unstable_batchedUpdates=Ll,e.unstable_renderSubtreeIntoContainer=function(e,t,n,i){if(!Au(n))throw Error(r(200));if(e==null||e._reactInternals===void 0)throw Error(r(38));return Nu(e,t,n,!1,i)},e.version=`18.3.1-next-f1338f8080-20240426`})),_=s(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=s((e=>{var t=_();e.createRoot=t.createRoot,e.hydrateRoot=t.hydrateRoot}));function y(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,\"_zod\",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,\"name\",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,\"init\",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,\"name\",{value:e}),o}function b(e){return e&&Object.assign(E,e),E}var x,S,C,w,T,E,D=o((()=>{S=Object.freeze({status:`aborted`}),C=Symbol(`zod_brand`),w=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},T=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},(x=globalThis).__zod_globalConfig??(x.__zod_globalConfig={}),E=globalThis.__zod_globalConfig})),O=c({BIGINT_FORMAT_RANGES:()=>tt,Class:()=>nt,NUMBER_FORMAT_RANGES:()=>et,aborted:()=>Ne,allowsEval:()=>Xe,assert:()=>A,assertEqual:()=>k,assertIs:()=>te,assertNever:()=>ne,assertNotEqual:()=>ee,assignProp:()=>ue,base64ToUint8Array:()=>He,base64urlToUint8Array:()=>We,cached:()=>ae,captureStackTrace:()=>Ye,cleanEnum:()=>Ve,cleanRegex:()=>se,clone:()=>Ce,cloneDef:()=>fe,createTransparentProxy:()=>we,defineLazy:()=>M,esc:()=>ge,escapeRegex:()=>Se,explicitlyAborted:()=>Pe,extend:()=>Oe,finalizeIssue:()=>Le,floatSafeRemainder:()=>ce,getElementAtPath:()=>pe,getEnumValues:()=>re,getLengthableOrigin:()=>ze,getParsedType:()=>Ze,getSizableOrigin:()=>Re,hexToUint8Array:()=>Ke,isObject:()=>ve,isPlainObject:()=>ye,issue:()=>Be,joinValues:()=>j,jsonStringifyReplacer:()=>ie,merge:()=>Ae,mergeDefs:()=>de,normalizeParams:()=>N,nullish:()=>oe,numKeys:()=>xe,objectClone:()=>le,omit:()=>De,optionalKeys:()=>Te,parsedType:()=>F,partial:()=>je,pick:()=>Ee,prefixIssues:()=>Fe,primitiveTypes:()=>$e,promiseAllObject:()=>me,propertyKeyTypes:()=>Qe,randomString:()=>he,required:()=>Me,safeExtend:()=>ke,shallowClone:()=>be,slugify:()=>_e,stringifyPrimitive:()=>P,uint8ArrayToBase64:()=>Ue,uint8ArrayToBase64url:()=>Ge,uint8ArrayToHex:()=>qe,unwrapMessage:()=>Ie});function k(e){return e}function ee(e){return e}function te(e){}function ne(e){throw Error(`Unexpected value in exhaustive check`)}function A(e){}function re(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function j(e,t=`|`){return e.map(e=>P(e)).join(t)}function ie(e,t){return typeof t==`bigint`?t.toString():t}function ae(e){return{get value(){{let t=e();return Object.defineProperty(this,\"value\",{value:t}),t}throw Error(`cached value already set`)}}}function oe(e){return e==null}function se(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function ce(e,t){let n=e/t,r=Math.round(n),i=2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function M(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Je)return r===void 0&&(r=Je,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function le(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function ue(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function de(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function fe(e){return de(e._zod.def)}function pe(e,t){return t?t.reduce((e,t)=>e?.[t],e):e}function me(e){let t=Object.keys(e),n=t.map(t=>e[t]);return Promise.all(n).then(e=>{let n={};for(let r=0;r<t.length;r++)n[t[r]]=e[r];return n})}function he(e=10){let t=``;for(let n=0;n<e;n++)t+=`abcdefghijklmnopqrstuvwxyz`[Math.floor(Math.random()*26)];return t}function ge(e){return JSON.stringify(e)}function _e(e){return e.toLowerCase().trim().replace(/[^\\w\\s-]/g,``).replace(/[\\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}function ve(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function ye(e){if(ve(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(ve(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function be(e){return ye(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function xe(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}function Se(e){return e.replace(/[.*+?^${}()|[\\]\\\\]/g,`\\\\$&`)}function Ce(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function N(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error(\"Cannot specify both `message` and `error` params\");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function we(e){let t;return new Proxy({},{get(n,r,i){return t??=e(),Reflect.get(t,r,i)},set(n,r,i,a){return t??=e(),Reflect.set(t,r,i,a)},has(n,r){return t??=e(),Reflect.has(t,r)},deleteProperty(n,r){return t??=e(),Reflect.deleteProperty(t,r)},ownKeys(n){return t??=e(),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,r){return t??=e(),Reflect.getOwnPropertyDescriptor(t,r)},defineProperty(n,r,i){return t??=e(),Reflect.defineProperty(t,r,i)}})}function P(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`\"${e}\"`:`${e}`}function Te(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}function Ee(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return Ce(e,de(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: \"${r}\"`);t[r]&&(e[r]=n.shape[r])}return ue(this,`shape`,e),e},checks:[]}))}function De(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return Ce(e,de(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: \"${e}\"`);t[e]&&delete r[e]}return ue(this,`shape`,r),r},checks:[]}))}function Oe(e,t){if(!ye(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error(\"Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.\")}return Ce(e,de(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ue(this,`shape`,n),n}}))}function ke(e,t){if(!ye(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Ce(e,de(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ue(this,`shape`,n),n}}))}function Ae(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return Ce(e,de(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return ue(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function je(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return Ce(t,de(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: \"${t}\"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return ue(this,`shape`,i),i},checks:[]}))}function Me(e,t,n){return Ce(t,de(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: \"${t}\"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return ue(this,`shape`,i),i}}))}function Ne(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Pe(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Fe(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Ie(e){return typeof e==`string`?e:e?.message}function Le(e,t,n){let r=e.message?e.message:Ie(e.inst?._zod.def?.error?.(e))??Ie(t?.error?.(e))??Ie(n.customError?.(e))??Ie(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function Re(e){return e instanceof Set?`set`:e instanceof Map?`map`:e instanceof File?`file`:`unknown`}function ze(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function F(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function Be(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function Ve(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function He(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}function Ue(e){let t=``;for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function We(e){let t=e.replace(/-/g,`+`).replace(/_/g,`/`);return He(t+`=`.repeat((4-t.length%4)%4))}function Ge(e){return Ue(e).replace(/\\+/g,`-`).replace(/\\//g,`_`).replace(/=/g,``)}function Ke(e){let t=e.replace(/^0x/,``);if(t.length%2!=0)throw Error(`Invalid hex string length`);let n=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2)n[e/2]=Number.parseInt(t.slice(e,e+2),16);return n}function qe(e){return Array.from(e).map(e=>e.toString(16).padStart(2,`0`)).join(``)}var Je,Ye,Xe,Ze,Qe,$e,et,tt,nt,I=o((()=>{D(),Je=Symbol(`evaluating`),Ye=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{},Xe=ae(()=>{if(E.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}}),Ze=e=>{let t=typeof e;switch(t){case`undefined`:return`undefined`;case`string`:return`string`;case`number`:return Number.isNaN(e)?`nan`:`number`;case`boolean`:return`boolean`;case`function`:return`function`;case`bigint`:return`bigint`;case`symbol`:return`symbol`;case`object`:return Array.isArray(e)?`array`:e===null?`null`:e.then&&typeof e.then==`function`&&e.catch&&typeof e.catch==`function`?`promise`:typeof Map<`u`&&e instanceof Map?`map`:typeof Set<`u`&&e instanceof Set?`set`:typeof Date<`u`&&e instanceof Date?`date`:typeof File<`u`&&e instanceof File?`file`:`object`;default:throw Error(`Unknown data type: ${t}`)}},Qe=new Set([`string`,`number`,`symbol`]),$e=new Set([`string`,`number`,`bigint`,`boolean`,`symbol`,`undefined`]),et={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},tt={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]},nt=class{constructor(...e){}}}));function rt(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function it(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i];i===e.length-1?(r[n]=r[n]||{_errors:[]},r[n]._errors.push(t(a))):r[n]=r[n]||{_errors:[]},r=r[n],i++}}}};return r(e),n}function at(e,t=e=>e.message){let n={errors:[]},r=(e,i=[])=>{var a,o;for(let s of e.issues)if(s.code===`invalid_union`&&s.errors.length)s.errors.map(e=>r({issues:e},[...i,...s.path]));else if(s.code===`invalid_key`)r({issues:s.issues},[...i,...s.path]);else if(s.code===`invalid_element`)r({issues:s.issues},[...i,...s.path]);else{let e=[...i,...s.path];if(e.length===0){n.errors.push(t(s));continue}let r=n,c=0;for(;c<e.length;){let n=e[c],i=c===e.length-1;typeof n==`string`?(r.properties??={},(a=r.properties)[n]??(a[n]={errors:[]}),r=r.properties[n]):(r.items??=[],(o=r.items)[n]??(o[n]={errors:[]}),r=r.items[n]),i&&r.errors.push(t(s)),c++}}};return r(e),n}function ot(e){let t=[],n=e.map(e=>typeof e==`object`?e.key:e);for(let e of n)typeof e==`number`?t.push(`[${e}]`):typeof e==`symbol`?t.push(`[${JSON.stringify(String(e))}]`):/[^\\w$]/.test(e)?t.push(`[${JSON.stringify(e)}]`):(t.length&&t.push(`.`),t.push(e));return t.join(``)}function st(e){let t=[],n=[...e.issues].sort((e,t)=>(e.path??[]).length-(t.path??[]).length);for(let e of n)t.push(`✖ ${e.message}`),e.path?.length&&t.push(` → at ${ot(e.path)}`);return t.join(`\n`)}var ct,lt,ut,dt=o((()=>{D(),I(),ct=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,\"_zod\",{value:e._zod,enumerable:!1}),Object.defineProperty(e,\"issues\",{value:t,enumerable:!1}),e.message=JSON.stringify(t,ie,2),Object.defineProperty(e,\"toString\",{value:()=>e.message,enumerable:!1})},lt=y(`$ZodError`,ct),ut=y(`$ZodError`,ct,{Parent:Error})})),ft,pt,mt,ht,gt,_t,vt,yt,bt,xt,St,Ct,wt,Tt,Et,Dt,Ot,kt,At,jt,Mt,Nt,Pt,Ft,It=o((()=>{D(),dt(),I(),ft=e=>(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new w;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Le(e,a,b())));throw Ye(t,i?.callee),t}return o.value},pt=ft(ut),mt=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Le(e,a,b())));throw Ye(t,i?.callee),t}return o.value},ht=mt(ut),gt=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new w;return a.issues.length?{success:!1,error:new(e??lt)(a.issues.map(e=>Le(e,i,b())))}:{success:!0,data:a.value}},_t=gt(ut),vt=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>Le(e,i,b())))}:{success:!0,data:a.value}},yt=vt(ut),bt=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return ft(e)(t,n,i)},xt=bt(ut),St=e=>(t,n,r)=>ft(e)(t,n,r),Ct=St(ut),wt=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return mt(e)(t,n,i)},Tt=wt(ut),Et=e=>async(t,n,r)=>mt(e)(t,n,r),Dt=Et(ut),Ot=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return gt(e)(t,n,i)},kt=Ot(ut),At=e=>(t,n,r)=>gt(e)(t,n,r),jt=At(ut),Mt=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return vt(e)(t,n,i)},Nt=Mt(ut),Pt=e=>async(t,n,r)=>vt(e)(t,n,r),Ft=Pt(ut)})),Lt=c({base64:()=>gn,base64url:()=>_n,bigint:()=>Tn,boolean:()=>On,browserEmail:()=>ln,cidrv4:()=>mn,cidrv6:()=>hn,cuid:()=>Wt,cuid2:()=>Gt,date:()=>Cn,datetime:()=>Vt,domain:()=>yn,duration:()=>Xt,e164:()=>xn,email:()=>rn,emoji:()=>Rt,extendedDuration:()=>Zt,guid:()=>Qt,hex:()=>Nn,hostname:()=>vn,html5Email:()=>an,httpProtocol:()=>bn,idnEmail:()=>cn,integer:()=>En,ipv4:()=>dn,ipv6:()=>fn,ksuid:()=>Jt,lowercase:()=>jn,mac:()=>pn,md5_base64:()=>Fn,md5_base64url:()=>In,md5_hex:()=>Pn,nanoid:()=>Yt,null:()=>kn,number:()=>Dn,rfc5322Email:()=>on,sha1_base64:()=>Rn,sha1_base64url:()=>zn,sha1_hex:()=>Ln,sha256_base64:()=>Vn,sha256_base64url:()=>Hn,sha256_hex:()=>Bn,sha384_base64:()=>Wn,sha384_base64url:()=>Gn,sha384_hex:()=>Un,sha512_base64:()=>qn,sha512_base64url:()=>Jn,sha512_hex:()=>Kn,string:()=>wn,time:()=>Bt,ulid:()=>Kt,undefined:()=>An,unicodeEmail:()=>sn,uppercase:()=>Mn,uuid:()=>$t,uuid4:()=>en,uuid6:()=>tn,uuid7:()=>nn,xid:()=>qt});function Rt(){return new RegExp(un,`u`)}function zt(e){let t=`(?:[01]\\\\d|2[0-3]):[0-5]\\\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\\\d`:`${t}:[0-5]\\\\d\\\\.\\\\d{${e.precision}}`:`${t}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function Bt(e){return RegExp(`^${zt(e)}$`)}function Vt(e){let t=zt({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${Sn}T(?:${r})$`)}function Ht(e,t){return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Ut(e){return RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var Wt,Gt,Kt,qt,Jt,Yt,Xt,Zt,Qt,$t,en,tn,nn,rn,an,on,sn,cn,ln,un,dn,fn,pn,mn,hn,gn,_n,vn,yn,bn,xn,Sn,Cn,wn,Tn,En,Dn,On,kn,An,jn,Mn,Nn,Pn,Fn,In,Ln,Rn,zn,Bn,Vn,Hn,Un,Wn,Gn,Kn,qn,Jn,Yn=o((()=>{I(),Wt=/^[cC][0-9a-z]{6,}$/,Gt=/^[0-9a-z]+$/,Kt=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,qt=/^[0-9a-vA-V]{20}$/,Jt=/^[A-Za-z0-9]{27}$/,Yt=/^[a-zA-Z0-9_-]{21}$/,Xt=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,Zt=/^[-+]?P(?!$)(?:(?:[-+]?\\d+Y)|(?:[-+]?\\d+[.,]\\d+Y$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:(?:[-+]?\\d+W)|(?:[-+]?\\d+[.,]\\d+W$))?(?:(?:[-+]?\\d+D)|(?:[-+]?\\d+[.,]\\d+D$))?(?:T(?=[\\d+-])(?:(?:[-+]?\\d+H)|(?:[-+]?\\d+[.,]\\d+H$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:[-+]?\\d+(?:[.,]\\d+)?S)?)??$/,Qt=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,$t=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,en=$t(4),tn=$t(6),nn=$t(7),rn=/^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,an=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,on=/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/,sn=/^[^\\s@\"]{1,64}@[^\\s@]{1,255}$/u,cn=sn,ln=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,un=`^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$`,dn=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,fn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,pn=e=>{let t=Se(e??`:`);return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},mn=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/([0-9]|[1-2][0-9]|3[0-2])$/,hn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,gn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,_n=/^[A-Za-z0-9_-]*$/,vn=/^(?=.{1,253}\\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\\.?$/,yn=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$/,bn=/^https?$/,xn=/^\\+[1-9]\\d{6,14}$/,Sn=`(?:(?:\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\\\d|30)|(?:02)-(?:0[1-9]|1\\\\d|2[0-8])))`,Cn=RegExp(`^${Sn}$`),wn=e=>{let t=e?`[\\\\s\\\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\\\s\\\\S]*`;return RegExp(`^${t}$`)},Tn=/^-?\\d+n?$/,En=/^-?\\d+$/,Dn=/^-?\\d+(?:\\.\\d+)?$/,On=/^(?:true|false)$/i,kn=/^null$/i,An=/^undefined$/i,jn=/^[^A-Z]*$/,Mn=/^[^a-z]*$/,Nn=/^[0-9a-fA-F]*$/,Pn=/^[0-9a-fA-F]{32}$/,Fn=Ht(22,`==`),In=Ut(22),Ln=/^[0-9a-fA-F]{40}$/,Rn=Ht(27,`=`),zn=Ut(27),Bn=/^[0-9a-fA-F]{64}$/,Vn=Ht(43,`=`),Hn=Ut(43),Un=/^[0-9a-fA-F]{96}$/,Wn=Ht(64,``),Gn=Ut(64),Kn=/^[0-9a-fA-F]{128}$/,qn=Ht(86,`==`),Jn=Ut(86)}));function Xn(e,t,n){e.issues.length&&t.issues.push(...Fe(n,e.issues))}var Zn,Qn,$n,er,tr,nr,rr,ir,ar,or,sr,cr,lr,ur,dr,fr,pr,mr,hr,gr,_r,vr,yr,br=o((()=>{D(),Yn(),I(),Zn=y(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Qn={number:`number`,bigint:`bigint`,object:`date`},$n=y(`$ZodCheckLessThan`,(e,t)=>{Zn.init(e,t);let n=Qn[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),er=y(`$ZodCheckGreaterThan`,(e,t)=>{Zn.init(e,t);let n=Qn[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),tr=y(`$ZodCheckMultipleOf`,(e,t)=>{Zn.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):ce(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),nr=y(`$ZodCheckNumberFormat`,(e,t)=>{Zn.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=et[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=En)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),rr=y(`$ZodCheckBigIntFormat`,(e,t)=>{Zn.init(e,t);let[n,r]=tt[t.format];e._zod.onattach.push(e=>{let i=e._zod.bag;i.format=t.format,i.minimum=n,i.maximum=r}),e._zod.check=i=>{let a=i.value;a<n&&i.issues.push({origin:`bigint`,input:a,code:`too_small`,minimum:n,inclusive:!0,inst:e,continue:!t.abort}),a>r&&i.issues.push({origin:`bigint`,input:a,code:`too_big`,maximum:r,inclusive:!0,inst:e,continue:!t.abort})}}),ir=y(`$ZodCheckMaxSize`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;r.size<=t.maximum||n.issues.push({origin:Re(r),code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ar=y(`$ZodCheckMinSize`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;r.size>=t.minimum||n.issues.push({origin:Re(r),code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),or=y(`$ZodCheckSizeEquals`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.size!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=n=>{let r=n.value,i=r.size;if(i===t.size)return;let a=i>t.size;n.issues.push({origin:Re(r),...a?{code:`too_big`,maximum:t.size}:{code:`too_small`,minimum:t.size},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),sr=y(`$ZodCheckMaxLength`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=ze(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),cr=y(`$ZodCheckMinLength`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=ze(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),lr=y(`$ZodCheckLengthEquals`,(e,t)=>{var n;Zn.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!oe(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=ze(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),ur=y(`$ZodCheckStringFormat`,(e,t)=>{var n,r;Zn.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),dr=y(`$ZodCheckRegex`,(e,t)=>{ur.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),fr=y(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=jn,ur.init(e,t)}),pr=y(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Mn,ur.init(e,t)}),mr=y(`$ZodCheckIncludes`,(e,t)=>{Zn.init(e,t);let n=Se(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),hr=y(`$ZodCheckStartsWith`,(e,t)=>{Zn.init(e,t);let n=RegExp(`^${Se(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),gr=y(`$ZodCheckEndsWith`,(e,t)=>{Zn.init(e,t);let n=RegExp(`.*${Se(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),_r=y(`$ZodCheckProperty`,(e,t)=>{Zn.init(e,t),e._zod.check=e=>{let n=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(n instanceof Promise)return n.then(n=>Xn(n,e,t.property));Xn(n,e,t.property)}}),vr=y(`$ZodCheckMimeType`,(e,t)=>{Zn.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=r=>{n.has(r.value.type)||r.issues.push({code:`invalid_value`,values:t.mime,input:r.value.type,inst:e,continue:!t.abort})}}),yr=y(`$ZodCheckOverwrite`,(e,t)=>{Zn.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}})})),xr,Sr=o((()=>{xr=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`\n`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`\n`))}}})),Cr,wr=o((()=>{Cr={major:4,minor:4,patch:3}}));function Tr(e){if(e===``)return!0;if(/\\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}function Er(e){if(!_n.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return Tr(t.padEnd(Math.ceil(t.length/4)*4,`=`))}function Dr(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}function Or(e,t,n){e.issues.length&&t.issues.push(...Fe(n,e.issues)),t.value[n]=e.value}function kr(e,t,n,r,i,a){let o=n in r;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...Fe(n,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function Ar(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key \"${n}\": expected a Zod schema`);let n=Te(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function jr(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optin===`optional`,d=c.optout===`optional`;for(let i in t){if(i===`__proto__`||s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>kr(e,n,i,t,u,d))):kr(a,n,i,t,u,d)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}function Mr(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Ne(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Le(e,r,b())))}),t)}function Nr(e,t,n,r){let i=e.filter(e=>e.issues.length===0);return i.length===1?(t.value=i[0].value,t):(i.length===0?t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Le(e,r,b())))}):t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:[],inclusive:!1}),t)}function Pr(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(ye(e)&&ye(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Pr(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=Pr(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Fr(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),Ne(e))return e;let o=Pr(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}function Ir(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!==`optional`)return n+1;return 0}function Lr(e,t,n){e.issues.length&&t.issues.push(...Fe(n,e.issues)),t.value[n]=e.value}function Rr(e,t,n,r,i){for(let a=0;a<n.length;a++){let n=e[a],o=a<r.length;if(n.issues.length){if(!o&&a>=i){t.value.length=a;break}t.issues.push(...Fe(a,n.issues))}t.value[a]=n.value}for(let e=t.value.length-1;e>=r.length&&n[e]._zod.optout===`optional`&&t.value[e]===void 0;e--)t.value.length=e;return t}function zr(e,t,n,r,i,a,o){e.issues.length&&(Qe.has(typeof r)?n.issues.push(...Fe(r,e.issues)):n.issues.push({code:`invalid_key`,origin:`map`,input:i,inst:a,issues:e.issues.map(e=>Le(e,o,b()))})),t.issues.length&&(Qe.has(typeof r)?n.issues.push(...Fe(r,t.issues)):n.issues.push({origin:`map`,code:`invalid_element`,input:i,inst:a,key:r,issues:t.issues.map(e=>Le(e,o,b()))})),n.value.set(e.value,t.value)}function Br(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}function Vr(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}function Hr(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}function Ur(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function Wr(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}function Gr(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||`forward`)===`forward`){let r=t.transform(e.value,e);return r instanceof Promise?r.then(r=>Kr(e,r,t.out,n)):Kr(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(r=>Kr(e,r,t.in,n)):Kr(e,r,t.in,n)}}function Kr(e,t,n,r){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},r)}function qr(e){return e.value=Object.freeze(e.value),e}function Jr(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Be(e))}}var L,Yr,Xr,Zr,Qr,$r,ei,ti,ni,ri,ii,ai,oi,si,ci,li,ui,di,fi,pi,mi,hi,gi,_i,vi,yi,bi,xi,Si,Ci,wi,Ti,Ei,Di,Oi,ki,Ai,ji,Mi,Ni,Pi,Fi,Ii,Li,Ri,zi,Bi,Vi,Hi,Ui,Wi,Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa,oa,sa,ca,la,ua,da,fa,pa,ma=o((()=>{br(),D(),Sr(),It(),Yn(),I(),wr(),L=y(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Cr;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=Ne(e),i;for(let a of t){if(a._zod.def.when){if(Pe(e)||!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new w;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=Ne(e,t))});else{if(e.issues.length===t)continue;r||=Ne(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(Ne(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new w;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new w;return o.then(e=>t(e,r,a))}return t(o,r,a)}}M(e,`~standard`,()=>({validate:t=>{try{let n=_t(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return yt(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),Yr=y(`$ZodString`,(e,t)=>{L.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??wn(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),Xr=y(`$ZodStringFormat`,(e,t)=>{ur.init(e,t),Yr.init(e,t)}),Zr=y(`$ZodGUID`,(e,t)=>{t.pattern??=Qt,Xr.init(e,t)}),Qr=y(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: \"${t.version}\"`);t.pattern??=$t(e)}else t.pattern??=$t();Xr.init(e,t)}),$r=y(`$ZodEmail`,(e,t)=>{t.pattern??=rn,Xr.init(e,t)}),ei=y(`$ZodURL`,(e,t)=>{Xr.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===bn.source&&!/^https?:\\/\\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),ti=y(`$ZodEmoji`,(e,t)=>{t.pattern??=Rt(),Xr.init(e,t)}),ni=y(`$ZodNanoID`,(e,t)=>{t.pattern??=Yt,Xr.init(e,t)}),ri=y(`$ZodCUID`,(e,t)=>{t.pattern??=Wt,Xr.init(e,t)}),ii=y(`$ZodCUID2`,(e,t)=>{t.pattern??=Gt,Xr.init(e,t)}),ai=y(`$ZodULID`,(e,t)=>{t.pattern??=Kt,Xr.init(e,t)}),oi=y(`$ZodXID`,(e,t)=>{t.pattern??=qt,Xr.init(e,t)}),si=y(`$ZodKSUID`,(e,t)=>{t.pattern??=Jt,Xr.init(e,t)}),ci=y(`$ZodISODateTime`,(e,t)=>{t.pattern??=Vt(t),Xr.init(e,t)}),li=y(`$ZodISODate`,(e,t)=>{t.pattern??=Cn,Xr.init(e,t)}),ui=y(`$ZodISOTime`,(e,t)=>{t.pattern??=Bt(t),Xr.init(e,t)}),di=y(`$ZodISODuration`,(e,t)=>{t.pattern??=Xt,Xr.init(e,t)}),fi=y(`$ZodIPv4`,(e,t)=>{t.pattern??=dn,Xr.init(e,t),e._zod.bag.format=`ipv4`}),pi=y(`$ZodIPv6`,(e,t)=>{t.pattern??=fn,Xr.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),mi=y(`$ZodMAC`,(e,t)=>{t.pattern??=pn(t.delimiter),Xr.init(e,t),e._zod.bag.format=`mac`}),hi=y(`$ZodCIDRv4`,(e,t)=>{t.pattern??=mn,Xr.init(e,t)}),gi=y(`$ZodCIDRv6`,(e,t)=>{t.pattern??=hn,Xr.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}}),_i=y(`$ZodBase64`,(e,t)=>{t.pattern??=gn,Xr.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{Tr(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),vi=y(`$ZodBase64URL`,(e,t)=>{t.pattern??=_n,Xr.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{Er(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),yi=y(`$ZodE164`,(e,t)=>{t.pattern??=xn,Xr.init(e,t)}),bi=y(`$ZodJWT`,(e,t)=>{Xr.init(e,t),e._zod.check=n=>{Dr(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),xi=y(`$ZodCustomStringFormat`,(e,t)=>{Xr.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:`invalid_format`,format:t.format,input:n.value,inst:e,continue:!t.abort})}}),Si=y(`$ZodNumber`,(e,t)=>{L.init(e,t),e._zod.pattern=e._zod.bag.pattern??Dn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),Ci=y(`$ZodNumberFormat`,(e,t)=>{nr.init(e,t),Si.init(e,t)}),wi=y(`$ZodBoolean`,(e,t)=>{L.init(e,t),e._zod.pattern=On,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),Ti=y(`$ZodBigInt`,(e,t)=>{L.init(e,t),e._zod.pattern=Tn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value==`bigint`||n.issues.push({expected:`bigint`,code:`invalid_type`,input:n.value,inst:e}),n}}),Ei=y(`$ZodBigIntFormat`,(e,t)=>{rr.init(e,t),Ti.init(e,t)}),Di=y(`$ZodSymbol`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return typeof r==`symbol`||t.issues.push({expected:`symbol`,code:`invalid_type`,input:r,inst:e}),t}}),Oi=y(`$ZodUndefined`,(e,t)=>{L.init(e,t),e._zod.pattern=An,e._zod.values=new Set([void 0]),e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`undefined`,code:`invalid_type`,input:r,inst:e}),t}}),ki=y(`$ZodNull`,(e,t)=>{L.init(e,t),e._zod.pattern=kn,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),Ai=y(`$ZodAny`,(e,t)=>{L.init(e,t),e._zod.parse=e=>e}),ji=y(`$ZodUnknown`,(e,t)=>{L.init(e,t),e._zod.parse=e=>e}),Mi=y(`$ZodNever`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)}),Ni=y(`$ZodVoid`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r===void 0||t.issues.push({expected:`void`,code:`invalid_type`,input:r,inst:e}),t}}),Pi=y(`$ZodDate`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let i=n.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||n.issues.push({expected:`date`,code:`invalid_type`,input:i,...a?{received:`Invalid Date`}:{},inst:e}),n}}),Fi=y(`$ZodArray`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>Or(t,n,e))):Or(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}}),Ii=y(`$ZodObject`,(e,t)=>{if(L.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,\"shape\",{get:()=>{let n={...e};return Object.defineProperty(t,\"shape\",{value:n}),n}})}let n=ae(()=>Ar(t));M(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=ve,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optin===`optional`,i=n._zod.optout===`optional`,a=n._zod.run({value:s[e],issues:[]},o);a instanceof Promise?c.push(a.then(n=>kr(n,t,e,s,r,i))):kr(a,t,e,s,r,i)}return i?jr(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Li=y(`$ZodObjectJIT`,(e,t)=>{Ii.init(e,t);let n=e._zod.parse,r=ae(()=>Ar(t)),i=e=>{let t=new xr([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=ge(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=ge(r),s=e[r],c=s?._zod?.optin===`optional`,l=s?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),c&&l?t.write(`\n if (${n}.issues.length) {\n if (${o} in input) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${o}, ...iss.path] : [${o}]\n })));\n }\n }\n \n if (${n}.value === undefined) {\n if (${o} in input) {\n newResult[${o}] = undefined;\n }\n } else {\n newResult[${o}] = ${n}.value;\n }\n \n `):c?t.write(`\n if (${n}.issues.length) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${o}, ...iss.path] : [${o}]\n })));\n }\n \n if (${n}.value === undefined) {\n if (${o} in input) {\n newResult[${o}] = undefined;\n }\n } else {\n newResult[${o}] = ${n}.value;\n }\n \n `):t.write(`\n const ${n}_present = ${o} in input;\n if (${n}.issues.length) {\n payload.issues = payload.issues.concat(${n}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${o}, ...iss.path] : [${o}]\n })));\n }\n if (!${n}_present && !${n}.issues.length) {\n payload.issues.push({\n code: \"invalid_type\",\n expected: \"nonoptional\",\n input: undefined,\n path: [${o}]\n });\n }\n\n if (${n}_present) {\n if (${n}.value === undefined) {\n newResult[${o}] = undefined;\n } else {\n newResult[${o}] = ${n}.value;\n }\n }\n\n `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=ve,s=!E.jitless,c=s&&Xe.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?jr([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}}),Ri=y(`$ZodUnion`,(e,t)=>{L.init(e,t),M(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),M(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),M(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),M(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>se(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>Mr(t,r,e,i)):Mr(o,r,e,i)}}),zi=y(`$ZodXor`,(e,t)=>{Ri.init(e,t),t.inclusive=!1;let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);t instanceof Promise?(o.push(t),a=!0):o.push(t)}return a?Promise.all(o).then(t=>Nr(t,r,e,i)):Nr(o,r,e,i)}}),Bi=y(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,Ri.init(e,t);let n=e._zod.parse;M(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index \"${t.options.indexOf(n)}\"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=ae(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index \"${t.options.indexOf(r)}\"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value \"${String(t)}\"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!ve(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()),input:o,path:[t.discriminator],inst:e}),i)}}),Vi=y(`$ZodIntersection`,(e,t)=>{L.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Fr(e,t,n)):Fr(e,i,a)}}),Hi=y(`$ZodTuple`,(e,t)=>{L.init(e,t);let n=t.items;e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:`tuple`,code:`invalid_type`}),r;r.value=[];let o=[],s=Ir(n,`optin`),c=Ir(n,`optout`);if(!t.rest){if(a.length<s)return r.issues.push({code:`too_small`,minimum:s,inclusive:!0,input:a,inst:e,origin:`array`}),r;a.length>n.length&&r.issues.push({code:`too_big`,maximum:n.length,inclusive:!0,input:a,inst:e,origin:`array`})}let l=Array(n.length);for(let e=0;e<n.length;e++){let t=n[e]._zod.run({value:a[e],issues:[]},i);t instanceof Promise?o.push(t.then(t=>{l[e]=t})):l[e]=t}if(t.rest){let e=n.length-1,s=a.slice(n.length);for(let n of s){e++;let a=t.rest._zod.run({value:n,issues:[]},i);a instanceof Promise?o.push(a.then(t=>Lr(t,r,e))):Lr(a,r,e)}}return o.length?Promise.all(o).then(()=>Rr(l,r,n,a,c)):Rr(l,r,n,a,c)}}),Ui=y(`$ZodRecord`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!ye(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let c of o)if(typeof c==`string`||typeof c==`number`||typeof c==`symbol`){s.add(typeof c==`number`?c.toString():c);let o=t.keyType._zod.run({value:c,issues:[]},r);if(o instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(o.issues.length){n.issues.push({code:`invalid_key`,origin:`record`,issues:o.issues.map(e=>Le(e,r,b())),input:c,path:[c],inst:e});continue}let l=o.value,u=t.valueType._zod.run({value:i[c],issues:[]},r);u instanceof Promise?a.push(u.then(e=>{e.issues.length&&n.issues.push(...Fe(c,e.issues)),n.value[l]=e.value})):(u.issues.length&&n.issues.push(...Fe(c,u.issues)),n.value[l]=u.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`||!Object.prototype.propertyIsEnumerable.call(i,o))continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&Dn.test(o)&&s.issues.length){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>Le(e,r,b())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...Fe(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...Fe(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),Wi=y(`$ZodMap`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:`map`,code:`invalid_type`,input:i,inst:e}),n;let a=[];n.value=new Map;for(let[o,s]of i){let c=t.keyType._zod.run({value:o,issues:[]},r),l=t.valueType._zod.run({value:s,issues:[]},r);c instanceof Promise||l instanceof Promise?a.push(Promise.all([c,l]).then(([t,a])=>{zr(t,a,n,o,i,e,r)})):zr(c,l,n,o,i,e,r)}return a.length?Promise.all(a).then(()=>n):n}}),Gi=y(`$ZodSet`,(e,t)=>{L.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:`set`,code:`invalid_type`}),n;let a=[];n.value=new Set;for(let e of i){let i=t.valueType._zod.run({value:e,issues:[]},r);i instanceof Promise?a.push(i.then(e=>Br(e,n))):Br(i,n)}return a.length?Promise.all(a).then(()=>n):n}}),Ki=y(`$ZodEnum`,(e,t)=>{L.init(e,t);let n=re(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Qe.has(typeof e)).map(e=>typeof e==`string`?Se(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),qi=y(`$ZodLiteral`,(e,t)=>{if(L.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?Se(e):e?Se(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Ji=y(`$ZodFile`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>{let r=t.value;return r instanceof File||t.issues.push({expected:`file`,code:`invalid_type`,input:r,inst:e}),t}}),Yi=y(`$ZodTransform`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new T(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n.fallback=!0,n));if(i instanceof Promise)throw new w;return n.value=i,n.fallback=!0,n}}),Xi=y(`$ZodOptional`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,M(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),M(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${se(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>Vr(e,r)):Vr(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),Zi=y(`$ZodExactOptional`,(e,t)=>{Xi.init(e,t),M(e._zod,`values`,()=>t.innerType._zod.values),M(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Qi=y(`$ZodNullable`,(e,t)=>{L.init(e,t),M(e._zod,`optin`,()=>t.innerType._zod.optin),M(e._zod,`optout`,()=>t.innerType._zod.optout),M(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${se(e.source)}|null)$`):void 0}),M(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),$i=y(`$ZodDefault`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,M(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Hr(e,t)):Hr(r,t)}}),ea=y(`$ZodPrefault`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,M(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),ta=y(`$ZodNonOptional`,(e,t)=>{L.init(e,t),M(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>Ur(t,e)):Ur(i,e)}}),na=y(`$ZodSuccess`,(e,t)=>{L.init(e,t),e._zod.parse=(e,n)=>{if(n.direction===`backward`)throw new T(`ZodSuccess`);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>(e.value=t.issues.length===0,e)):(e.value=r.issues.length===0,e)}}),ra=y(`$ZodCatch`,(e,t)=>{L.init(e,t),e._zod.optin=`optional`,M(e._zod,`optout`,()=>t.innerType._zod.optout),M(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Le(e,n,b()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Le(e,n,b()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),ia=y(`$ZodNaN`,(e,t)=>{L.init(e,t),e._zod.parse=(t,n)=>((typeof t.value!=`number`||!Number.isNaN(t.value))&&t.issues.push({input:t.value,inst:e,expected:`nan`,code:`invalid_type`}),t)}),aa=y(`$ZodPipe`,(e,t)=>{L.init(e,t),M(e._zod,`values`,()=>t.in._zod.values),M(e._zod,`optin`,()=>t.in._zod.optin),M(e._zod,`optout`,()=>t.out._zod.optout),M(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Wr(e,t.in,n)):Wr(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Wr(e,t.out,n)):Wr(r,t.out,n)}}),oa=y(`$ZodCodec`,(e,t)=>{L.init(e,t),M(e._zod,`values`,()=>t.in._zod.values),M(e._zod,`optin`,()=>t.in._zod.optin),M(e._zod,`optout`,()=>t.out._zod.optout),M(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if((n.direction||`forward`)===`forward`){let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Gr(e,t,n)):Gr(r,t,n)}else{let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Gr(e,t,n)):Gr(r,t,n)}}}),sa=y(`$ZodPreprocess`,(e,t)=>{aa.init(e,t)}),ca=y(`$ZodReadonly`,(e,t)=>{L.init(e,t),M(e._zod,`propValues`,()=>t.innerType._zod.propValues),M(e._zod,`values`,()=>t.innerType._zod.values),M(e._zod,`optin`,()=>t.innerType?._zod?.optin),M(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(qr):qr(r)}}),la=y(`$ZodTemplateLiteral`,(e,t)=>{L.init(e,t);let n=[];for(let e of t.parts)if(typeof e==`object`&&e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let r=+!!t.startsWith(`^`),i=t.endsWith(`$`)?t.length-1:t.length;n.push(t.slice(r,i))}else if(e===null||$e.has(typeof e))n.push(Se(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${n.join(``)}$`),e._zod.parse=(n,r)=>typeof n.value==`string`?(e._zod.pattern.lastIndex=0,e._zod.pattern.test(n.value)||n.issues.push({input:n.value,inst:e,code:`invalid_format`,format:t.format??`template_literal`,pattern:e._zod.pattern.source}),n):(n.issues.push({input:n.value,inst:e,expected:`string`,code:`invalid_type`}),n)}),ua=y(`$ZodFunction`,(e,t)=>(L.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if(typeof t!=`function`)throw Error(`implement() must be called with a function`);return function(...n){let r=e._def.input?pt(e._def.input,n):n,i=Reflect.apply(t,this,r);return e._def.output?pt(e._def.output,i):i}},e.implementAsync=t=>{if(typeof t!=`function`)throw Error(`implementAsync() must be called with a function`);return async function(...n){let r=e._def.input?await ht(e._def.input,n):n,i=await Reflect.apply(t,this,r);return e._def.output?await ht(e._def.output,i):i}},e._zod.parse=(t,n)=>typeof t.value==`function`?(e._def.output&&e._def.output._zod.def.type===`promise`?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t):(t.issues.push({code:`invalid_type`,expected:`function`,input:t.value,inst:e}),t),e.input=(...t)=>{let n=e.constructor;return Array.isArray(t[0])?new n({type:`function`,input:new Hi({type:`tuple`,items:t[0],rest:t[1]}),output:e._def.output}):new n({type:`function`,input:t[0],output:e._def.output})},e.output=t=>{let n=e.constructor;return new n({type:`function`,input:e._def.input,output:t})},e)),da=y(`$ZodPromise`,(e,t)=>{L.init(e,t),e._zod.parse=(e,n)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},n))}),fa=y(`$ZodLazy`,(e,t)=>{L.init(e,t),M(e._zod,`innerType`,()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),M(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),M(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),M(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),M(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),pa=y(`$ZodCustom`,(e,t)=>{Zn.init(e,t),L.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>Jr(t,n,r,e));Jr(i,n,r,e)}})}));function ha(){return{localeError:ga()}}var ga,_a=o((()=>{I(),ga=()=>{let e={string:{unit:`حرف`,verb:`أن يحوي`},file:{unit:`بايت`,verb:`أن يحوي`},array:{unit:`عنصر`,verb:`أن يحوي`},set:{unit:`عنصر`,verb:`أن يحوي`}};function t(t){return e[t]??null}let n={regex:`مدخل`,email:`بريد إلكتروني`,url:`رابط`,emoji:`إيموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاريخ ووقت بمعيار ISO`,date:`تاريخ بمعيار ISO`,time:`وقت بمعيار ISO`,duration:`مدة بمعيار ISO`,ipv4:`عنوان IPv4`,ipv6:`عنوان IPv6`,cidrv4:`مدى عناوين بصيغة IPv4`,cidrv6:`مدى عناوين بصيغة IPv6`,base64:`نَص بترميز base64-encoded`,base64url:`نَص بترميز base64url-encoded`,json_string:`نَص على هيئة JSON`,e164:`رقم هاتف بمعيار E.164`,jwt:`JWT`,template_literal:`مدخل`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${e.expected}، ولكن تم إدخال ${i}`:`مدخلات غير مقبولة: يفترض إدخال ${t}، ولكن تم إدخال ${i}`}case`invalid_value`:return e.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${P(e.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?` أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()} ${r.unit??`عنصر`}`:`أكبر من اللازم: يفترض أن تكون ${e.origin??`القيمة`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()} ${r.unit}`:`أصغر من اللازم: يفترض لـ ${e.origin} أن يكون ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`نَص غير مقبول: يجب أن يبدأ بـ \"${e.prefix}\"`:t.format===`ends_with`?`نَص غير مقبول: يجب أن ينتهي بـ \"${t.suffix}\"`:t.format===`includes`?`نَص غير مقبول: يجب أن يتضمَّن \"${t.includes}\"`:t.format===`regex`?`نَص غير مقبول: يجب أن يطابق النمط ${t.pattern}`:`${n[t.format]??e.format} غير مقبول`}case`not_multiple_of`:return`رقم غير مقبول: يجب أن يكون من مضاعفات ${e.divisor}`;case`unrecognized_keys`:return`معرف${e.keys.length>1?`ات`:``} غريب${e.keys.length>1?`ة`:``}: ${j(e.keys,`، `)}`;case`invalid_key`:return`معرف غير مقبول في ${e.origin}`;case`invalid_union`:return`مدخل غير مقبول`;case`invalid_element`:return`مدخل غير مقبول في ${e.origin}`;default:return`مدخل غير مقبول`}}}}));function va(){return{localeError:ya()}}var ya,ba=o((()=>{I(),ya=()=>{let e={string:{unit:`simvol`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`element`,verb:`olmalıdır`},set:{unit:`element`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Yanlış dəyər: gözlənilən instanceof ${e.expected}, daxil olan ${i}`:`Yanlış dəyər: gözlənilən ${t}, daxil olan ${i}`}case`invalid_value`:return e.values.length===1?`Yanlış dəyər: gözlənilən ${P(e.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()} ${r.unit??`element`}`:`Çox böyük: gözlənilən ${e.origin??`dəyər`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çox kiçik: gözlənilən ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Yanlış mətn: \"${t.prefix}\" ilə başlamalıdır`:t.format===`ends_with`?`Yanlış mətn: \"${t.suffix}\" ilə bitməlidir`:t.format===`includes`?`Yanlış mətn: \"${t.includes}\" daxil olmalıdır`:t.format===`regex`?`Yanlış mətn: ${t.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${n[t.format]??e.format}`}case`not_multiple_of`:return`Yanlış ədəd: ${e.divisor} ilə bölünə bilən olmalıdır`;case`unrecognized_keys`:return`Tanınmayan açar${e.keys.length>1?`lar`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} daxilində yanlış açar`;case`invalid_union`:return`Yanlış dəyər`;case`invalid_element`:return`${e.origin} daxilində yanlış dəyər`;default:return`Yanlış dəyər`}}}}));function xa(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}function Sa(){return{localeError:Ca()}}var Ca,wa=o((()=>{I(),Ca=()=>{let e={string:{unit:{one:`сімвал`,few:`сімвалы`,many:`сімвалаў`},verb:`мець`},array:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},set:{unit:{one:`элемент`,few:`элементы`,many:`элементаў`},verb:`мець`},file:{unit:{one:`байт`,few:`байты`,many:`байтаў`},verb:`мець`}};function t(t){return e[t]??null}let n={regex:`увод`,email:`email адрас`,url:`URL`,emoji:`эмодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата і час`,date:`ISO дата`,time:`ISO час`,duration:`ISO працягласць`,ipv4:`IPv4 адрас`,ipv6:`IPv6 адрас`,cidrv4:`IPv4 дыяпазон`,cidrv6:`IPv6 дыяпазон`,base64:`радок у фармаце base64`,base64url:`радок у фармаце base64url`,json_string:`JSON радок`,e164:`нумар E.164`,jwt:`JWT`,template_literal:`увод`},r={nan:`NaN`,number:`лік`,array:`масіў`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Няправільны ўвод: чакаўся instanceof ${e.expected}, атрымана ${i}`:`Няправільны ўвод: чакаўся ${t}, атрымана ${i}`}case`invalid_value`:return e.values.length===1?`Няправільны ўвод: чакалася ${P(e.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=xa(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна ${r.verb} ${n}${e.maximum.toString()} ${t}`}return`Занадта вялікі: чакалася, што ${e.origin??`значэнне`} павінна быць ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=xa(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Занадта малы: чакалася, што ${e.origin} павінна ${r.verb} ${n}${e.minimum.toString()} ${t}`}return`Занадта малы: чакалася, што ${e.origin} павінна быць ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Няправільны радок: павінен пачынацца з \"${t.prefix}\"`:t.format===`ends_with`?`Няправільны радок: павінен заканчвацца на \"${t.suffix}\"`:t.format===`includes`?`Няправільны радок: павінен змяшчаць \"${t.includes}\"`:t.format===`regex`?`Няправільны радок: павінен адпавядаць шаблону ${t.pattern}`:`Няправільны ${n[t.format]??e.format}`}case`not_multiple_of`:return`Няправільны лік: павінен быць кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспазнаны ${e.keys.length>1?`ключы`:`ключ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Няправільны ключ у ${e.origin}`;case`invalid_union`:return`Няправільны ўвод`;case`invalid_element`:return`Няправільнае значэнне ў ${e.origin}`;default:return`Няправільны ўвод`}}}}));function Ta(){return{localeError:Ea()}}var Ea,Da=o((()=>{I(),Ea=()=>{let e={string:{unit:`символа`,verb:`да съдържа`},file:{unit:`байта`,verb:`да съдържа`},array:{unit:`елемента`,verb:`да съдържа`},set:{unit:`елемента`,verb:`да съдържа`}};function t(t){return e[t]??null}let n={regex:`вход`,email:`имейл адрес`,url:`URL`,emoji:`емоджи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO време`,date:`ISO дата`,time:`ISO време`,duration:`ISO продължителност`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`base64-кодиран низ`,base64url:`base64url-кодиран низ`,json_string:`JSON низ`,e164:`E.164 номер`,jwt:`JWT`,template_literal:`вход`},r={nan:`NaN`,number:`число`,array:`масив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Невалиден вход: очакван instanceof ${e.expected}, получен ${i}`:`Невалиден вход: очакван ${t}, получен ${i}`}case`invalid_value`:return e.values.length===1?`Невалиден вход: очакван ${P(e.values[0])}`:`Невалидна опция: очаквано едно от ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Твърде голямо: очаква се ${e.origin??`стойност`} да съдържа ${n}${e.maximum.toString()} ${r.unit??`елемента`}`:`Твърде голямо: очаква се ${e.origin??`стойност`} да бъде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Твърде малко: очаква се ${e.origin} да съдържа ${n}${e.minimum.toString()} ${r.unit}`:`Твърде малко: очаква се ${e.origin} да бъде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;if(t.format===`starts_with`)return`Невалиден низ: трябва да започва с \"${t.prefix}\"`;if(t.format===`ends_with`)return`Невалиден низ: трябва да завършва с \"${t.suffix}\"`;if(t.format===`includes`)return`Невалиден низ: трябва да включва \"${t.includes}\"`;if(t.format===`regex`)return`Невалиден низ: трябва да съвпада с ${t.pattern}`;let r=`Невалиден`;return t.format===`emoji`&&(r=`Невалидно`),t.format===`datetime`&&(r=`Невалидно`),t.format===`date`&&(r=`Невалидна`),t.format===`time`&&(r=`Невалидно`),t.format===`duration`&&(r=`Невалидна`),`${r} ${n[t.format]??e.format}`}case`not_multiple_of`:return`Невалидно число: трябва да бъде кратно на ${e.divisor}`;case`unrecognized_keys`:return`Неразпознат${e.keys.length>1?`и`:``} ключ${e.keys.length>1?`ове`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Невалиден ключ в ${e.origin}`;case`invalid_union`:return`Невалиден вход`;case`invalid_element`:return`Невалидна стойност в ${e.origin}`;default:return`Невалиден вход`}}}}));function Oa(){return{localeError:ka()}}var ka,Aa=o((()=>{I(),ka=()=>{let e={string:{unit:`caràcters`,verb:`contenir`},file:{unit:`bytes`,verb:`contenir`},array:{unit:`elements`,verb:`contenir`},set:{unit:`elements`,verb:`contenir`}};function t(t){return e[t]??null}let n={regex:`entrada`,email:`adreça electrònica`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data i hora ISO`,date:`data ISO`,time:`hora ISO`,duration:`durada ISO`,ipv4:`adreça IPv4`,ipv6:`adreça IPv6`,cidrv4:`rang IPv4`,cidrv6:`rang IPv6`,base64:`cadena codificada en base64`,base64url:`cadena codificada en base64url`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipus invàlid: s'esperava instanceof ${e.expected}, s'ha rebut ${i}`:`Tipus invàlid: s'esperava ${t}, s'ha rebut ${i}`}case`invalid_value`:return e.values.length===1?`Valor invàlid: s'esperava ${P(e.values[0])}`:`Opció invàlida: s'esperava una de ${j(e.values,` o `)}`;case`too_big`:{let n=e.inclusive?`com a màxim`:`menys de`,r=t(e.origin);return r?`Massa gran: s'esperava que ${e.origin??`el valor`} contingués ${n} ${e.maximum.toString()} ${r.unit??`elements`}`:`Massa gran: s'esperava que ${e.origin??`el valor`} fos ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`com a mínim`:`més de`,r=t(e.origin);return r?`Massa petit: s'esperava que ${e.origin} contingués ${n} ${e.minimum.toString()} ${r.unit}`:`Massa petit: s'esperava que ${e.origin} fos ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Format invàlid: ha de començar amb \"${t.prefix}\"`:t.format===`ends_with`?`Format invàlid: ha d'acabar amb \"${t.suffix}\"`:t.format===`includes`?`Format invàlid: ha d'incloure \"${t.includes}\"`:t.format===`regex`?`Format invàlid: ha de coincidir amb el patró ${t.pattern}`:`Format invàlid per a ${n[t.format]??e.format}`}case`not_multiple_of`:return`Número invàlid: ha de ser múltiple de ${e.divisor}`;case`unrecognized_keys`:return`Clau${e.keys.length>1?`s`:``} no reconeguda${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Clau invàlida a ${e.origin}`;case`invalid_union`:return`Entrada invàlida`;case`invalid_element`:return`Element invàlid a ${e.origin}`;default:return`Entrada invàlida`}}}}));function ja(){return{localeError:Ma()}}var Ma,Na=o((()=>{I(),Ma=()=>{let e={string:{unit:`znaků`,verb:`mít`},file:{unit:`bajtů`,verb:`mít`},array:{unit:`prvků`,verb:`mít`},set:{unit:`prvků`,verb:`mít`}};function t(t){return e[t]??null}let n={regex:`regulární výraz`,email:`e-mailová adresa`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`datum a čas ve formátu ISO`,date:`datum ve formátu ISO`,time:`čas ve formátu ISO`,duration:`doba trvání ISO`,ipv4:`IPv4 adresa`,ipv6:`IPv6 adresa`,cidrv4:`rozsah IPv4`,cidrv6:`rozsah IPv6`,base64:`řetězec zakódovaný ve formátu base64`,base64url:`řetězec zakódovaný ve formátu base64url`,json_string:`řetězec ve formátu JSON`,e164:`číslo E.164`,jwt:`JWT`,template_literal:`vstup`},r={nan:`NaN`,number:`číslo`,string:`řetězec`,function:`funkce`,array:`pole`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neplatný vstup: očekáváno instanceof ${e.expected}, obdrženo ${i}`:`Neplatný vstup: očekáváno ${t}, obdrženo ${i}`}case`invalid_value`:return e.values.length===1?`Neplatný vstup: očekáváno ${P(e.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Hodnota je příliš velká: ${e.origin??`hodnota`} musí mít ${n}${e.maximum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš velká: ${e.origin??`hodnota`} musí být ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Hodnota je příliš malá: ${e.origin??`hodnota`} musí mít ${n}${e.minimum.toString()} ${r.unit??`prvků`}`:`Hodnota je příliš malá: ${e.origin??`hodnota`} musí být ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neplatný řetězec: musí začínat na \"${t.prefix}\"`:t.format===`ends_with`?`Neplatný řetězec: musí končit na \"${t.suffix}\"`:t.format===`includes`?`Neplatný řetězec: musí obsahovat \"${t.includes}\"`:t.format===`regex`?`Neplatný řetězec: musí odpovídat vzoru ${t.pattern}`:`Neplatný formát ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neplatné číslo: musí být násobkem ${e.divisor}`;case`unrecognized_keys`:return`Neznámé klíče: ${j(e.keys,`, `)}`;case`invalid_key`:return`Neplatný klíč v ${e.origin}`;case`invalid_union`:return`Neplatný vstup`;case`invalid_element`:return`Neplatná hodnota v ${e.origin}`;default:return`Neplatný vstup`}}}}));function Pa(){return{localeError:Fa()}}var Fa,Ia=o((()=>{I(),Fa=()=>{let e={string:{unit:`tegn`,verb:`havde`},file:{unit:`bytes`,verb:`havde`},array:{unit:`elementer`,verb:`indeholdt`},set:{unit:`elementer`,verb:`indeholdt`}};function t(t){return e[t]??null}let n={regex:`input`,email:`e-mailadresse`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dato- og klokkeslæt`,date:`ISO-dato`,time:`ISO-klokkeslæt`,duration:`ISO-varighed`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodet streng`,base64url:`base64url-kodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,string:`streng`,number:`tal`,boolean:`boolean`,array:`liste`,object:`objekt`,set:`sæt`,file:`fil`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldigt input: forventede instanceof ${e.expected}, fik ${i}`:`Ugyldigt input: forventede ${t}, fik ${i}`}case`invalid_value`:return e.values.length===1?`Ugyldig værdi: forventede ${P(e.values[0])}`:`Ugyldigt valg: forventede en af følgende ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`For stor: forventede ${a??`value`} ${i.verb} ${n} ${e.maximum.toString()} ${i.unit??`elementer`}`:`For stor: forventede ${a??`value`} havde ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`For lille: forventede ${a} ${i.verb} ${n} ${e.minimum.toString()} ${i.unit}`:`For lille: forventede ${a} havde ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: skal starte med \"${t.prefix}\"`:t.format===`ends_with`?`Ugyldig streng: skal ende med \"${t.suffix}\"`:t.format===`includes`?`Ugyldig streng: skal indeholde \"${t.includes}\"`:t.format===`regex`?`Ugyldig streng: skal matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldigt tal: skal være deleligt med ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukendte nøgler`:`Ukendt nøgle`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøgle i ${e.origin}`;case`invalid_union`:return`Ugyldigt input: matcher ingen af de tilladte typer`;case`invalid_element`:return`Ugyldig værdi i ${e.origin}`;default:return`Ugyldigt input`}}}}));function La(){return{localeError:Ra()}}var Ra,za=o((()=>{I(),Ra=()=>{let e={string:{unit:`Zeichen`,verb:`zu haben`},file:{unit:`Bytes`,verb:`zu haben`},array:{unit:`Elemente`,verb:`zu haben`},set:{unit:`Elemente`,verb:`zu haben`}};function t(t){return e[t]??null}let n={regex:`Eingabe`,email:`E-Mail-Adresse`,url:`URL`,emoji:`Emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-Datum und -Uhrzeit`,date:`ISO-Datum`,time:`ISO-Uhrzeit`,duration:`ISO-Dauer`,ipv4:`IPv4-Adresse`,ipv6:`IPv6-Adresse`,cidrv4:`IPv4-Bereich`,cidrv6:`IPv6-Bereich`,base64:`Base64-codierter String`,base64url:`Base64-URL-codierter String`,json_string:`JSON-String`,e164:`E.164-Nummer`,jwt:`JWT`,template_literal:`Eingabe`},r={nan:`NaN`,number:`Zahl`,array:`Array`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ungültige Eingabe: erwartet instanceof ${e.expected}, erhalten ${i}`:`Ungültige Eingabe: erwartet ${t}, erhalten ${i}`}case`invalid_value`:return e.values.length===1?`Ungültige Eingabe: erwartet ${P(e.values[0])}`:`Ungültige Option: erwartet eine von ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ${r.unit??`Elemente`} hat`:`Zu groß: erwartet, dass ${e.origin??`Wert`} ${n}${e.maximum.toString()} ist`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ${r.unit} hat`:`Zu klein: erwartet, dass ${e.origin} ${n}${e.minimum.toString()} ist`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ungültiger String: muss mit \"${t.prefix}\" beginnen`:t.format===`ends_with`?`Ungültiger String: muss mit \"${t.suffix}\" enden`:t.format===`includes`?`Ungültiger String: muss \"${t.includes}\" enthalten`:t.format===`regex`?`Ungültiger String: muss dem Muster ${t.pattern} entsprechen`:`Ungültig: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ungültige Zahl: muss ein Vielfaches von ${e.divisor} sein`;case`unrecognized_keys`:return`${e.keys.length>1?`Unbekannte Schlüssel`:`Unbekannter Schlüssel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ungültiger Schlüssel in ${e.origin}`;case`invalid_union`:return`Ungültige Eingabe`;case`invalid_element`:return`Ungültiger Wert in ${e.origin}`;default:return`Ungültige Eingabe`}}}}));function Ba(){return{localeError:Va()}}var Va,Ha=o((()=>{I(),Va=()=>{let e={string:{unit:`χαρακτήρες`,verb:`να έχει`},file:{unit:`bytes`,verb:`να έχει`},array:{unit:`στοιχεία`,verb:`να έχει`},set:{unit:`στοιχεία`,verb:`να έχει`},map:{unit:`καταχωρήσεις`,verb:`να έχει`}};function t(t){return e[t]??null}let n={regex:`είσοδος`,email:`διεύθυνση email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO ημερομηνία και ώρα`,date:`ISO ημερομηνία`,time:`ISO ώρα`,duration:`ISO διάρκεια`,ipv4:`διεύθυνση IPv4`,ipv6:`διεύθυνση IPv6`,mac:`διεύθυνση MAC`,cidrv4:`εύρος IPv4`,cidrv6:`εύρος IPv6`,base64:`συμβολοσειρά κωδικοποιημένη σε base64`,base64url:`συμβολοσειρά κωδικοποιημένη σε base64url`,json_string:`συμβολοσειρά JSON`,e164:`αριθμός E.164`,jwt:`JWT`,template_literal:`είσοδος`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return typeof e.expected==`string`&&/^[A-Z]/.test(e.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${e.expected}, λήφθηκε ${i}`:`Μη έγκυρη είσοδος: αναμενόταν ${t}, λήφθηκε ${i}`}case`invalid_value`:return e.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${P(e.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Πολύ μεγάλο: αναμενόταν ${e.origin??`τιμή`} να έχει ${n}${e.maximum.toString()} ${r.unit??`στοιχεία`}`:`Πολύ μεγάλο: αναμενόταν ${e.origin??`τιμή`} να είναι ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Πολύ μικρό: αναμενόταν ${e.origin} να έχει ${n}${e.minimum.toString()} ${r.unit}`:`Πολύ μικρό: αναμενόταν ${e.origin} να είναι ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με \"${t.prefix}\"`:t.format===`ends_with`?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με \"${t.suffix}\"`:t.format===`includes`?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει \"${t.includes}\"`:t.format===`regex`?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${t.pattern}`:`Μη έγκυρο: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${e.divisor}`;case`unrecognized_keys`:return`Άγνωστ${e.keys.length>1?`α`:`ο`} κλειδ${e.keys.length>1?`ιά`:`ί`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Μη έγκυρο κλειδί στο ${e.origin}`;case`invalid_union`:return`Μη έγκυρη είσοδος`;case`invalid_element`:return`Μη έγκυρη τιμή στο ${e.origin}`;default:return`Μη έγκυρη είσοδος`}}}}));function Ua(){return{localeError:Wa()}}var Wa,Ga=o((()=>{I(),Wa=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input);return`Invalid input: expected ${t}, received ${r[n]??n}`}case`invalid_value`:return e.values.length===1?`Invalid input: expected ${P(e.values[0])}`:`Invalid option: expected one of ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with \"${t.prefix}\"`:t.format===`ends_with`?`Invalid string: must end with \"${t.suffix}\"`:t.format===`includes`?`Invalid string: must include \"${t.includes}\"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(e=>`'${e}'`).join(` | `)}`:`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}}}));function Ka(){return{localeError:qa()}}var qa,Ja=o((()=>{I(),qa=()=>{let e={string:{unit:`karaktrojn`,verb:`havi`},file:{unit:`bajtojn`,verb:`havi`},array:{unit:`elementojn`,verb:`havi`},set:{unit:`elementojn`,verb:`havi`}};function t(t){return e[t]??null}let n={regex:`enigo`,email:`retadreso`,url:`URL`,emoji:`emoĝio`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-datotempo`,date:`ISO-dato`,time:`ISO-tempo`,duration:`ISO-daŭro`,ipv4:`IPv4-adreso`,ipv6:`IPv6-adreso`,cidrv4:`IPv4-rango`,cidrv6:`IPv6-rango`,base64:`64-ume kodita karaktraro`,base64url:`URL-64-ume kodita karaktraro`,json_string:`JSON-karaktraro`,e164:`E.164-nombro`,jwt:`JWT`,template_literal:`enigo`},r={nan:`NaN`,number:`nombro`,array:`tabelo`,null:`senvalora`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nevalida enigo: atendiĝis instanceof ${e.expected}, riceviĝis ${i}`:`Nevalida enigo: atendiĝis ${t}, riceviĝis ${i}`}case`invalid_value`:return e.values.length===1?`Nevalida enigo: atendiĝis ${P(e.values[0])}`:`Nevalida opcio: atendiĝis unu el ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()} ${r.unit??`elementojn`}`:`Tro granda: atendiĝis ke ${e.origin??`valoro`} havu ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Tro malgranda: atendiĝis ke ${e.origin} havu ${n}${e.minimum.toString()} ${r.unit}`:`Tro malgranda: atendiĝis ke ${e.origin} estu ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nevalida karaktraro: devas komenciĝi per \"${t.prefix}\"`:t.format===`ends_with`?`Nevalida karaktraro: devas finiĝi per \"${t.suffix}\"`:t.format===`includes`?`Nevalida karaktraro: devas inkluzivi \"${t.includes}\"`:t.format===`regex`?`Nevalida karaktraro: devas kongrui kun la modelo ${t.pattern}`:`Nevalida ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nevalida nombro: devas esti oblo de ${e.divisor}`;case`unrecognized_keys`:return`Nekonata${e.keys.length>1?`j`:``} ŝlosilo${e.keys.length>1?`j`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Nevalida ŝlosilo en ${e.origin}`;case`invalid_union`:return`Nevalida enigo`;case`invalid_element`:return`Nevalida valoro en ${e.origin}`;default:return`Nevalida enigo`}}}}));function Ya(){return{localeError:Xa()}}var Xa,Za=o((()=>{I(),Xa=()=>{let e={string:{unit:`caracteres`,verb:`tener`},file:{unit:`bytes`,verb:`tener`},array:{unit:`elementos`,verb:`tener`},set:{unit:`elementos`,verb:`tener`}};function t(t){return e[t]??null}let n={regex:`entrada`,email:`dirección de correo electrónico`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`fecha y hora ISO`,date:`fecha ISO`,time:`hora ISO`,duration:`duración ISO`,ipv4:`dirección IPv4`,ipv6:`dirección IPv6`,cidrv4:`rango IPv4`,cidrv6:`rango IPv6`,base64:`cadena codificada en base64`,base64url:`URL codificada en base64`,json_string:`cadena JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`,string:`texto`,number:`número`,boolean:`booleano`,array:`arreglo`,object:`objeto`,set:`conjunto`,file:`archivo`,date:`fecha`,bigint:`número grande`,symbol:`símbolo`,undefined:`indefinido`,null:`nulo`,function:`función`,map:`mapa`,record:`registro`,tuple:`tupla`,enum:`enumeración`,union:`unión`,literal:`literal`,promise:`promesa`,void:`vacío`,never:`nunca`,unknown:`desconocido`,any:`cualquiera`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrada inválida: se esperaba instanceof ${e.expected}, recibido ${i}`:`Entrada inválida: se esperaba ${t}, recibido ${i}`}case`invalid_value`:return e.values.length===1?`Entrada inválida: se esperaba ${P(e.values[0])}`:`Opción inválida: se esperaba una de ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado grande: se esperaba que ${a??`valor`} tuviera ${n}${e.maximum.toString()} ${i.unit??`elementos`}`:`Demasiado grande: se esperaba que ${a??`valor`} fuera ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Demasiado pequeño: se esperaba que ${a} tuviera ${n}${e.minimum.toString()} ${i.unit}`:`Demasiado pequeño: se esperaba que ${a} fuera ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Cadena inválida: debe comenzar con \"${t.prefix}\"`:t.format===`ends_with`?`Cadena inválida: debe terminar en \"${t.suffix}\"`:t.format===`includes`?`Cadena inválida: debe incluir \"${t.includes}\"`:t.format===`regex`?`Cadena inválida: debe coincidir con el patrón ${t.pattern}`:`Inválido ${n[t.format]??e.format}`}case`not_multiple_of`:return`Número inválido: debe ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Llave${e.keys.length>1?`s`:``} desconocida${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Llave inválida en ${r[e.origin]??e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido en ${r[e.origin]??e.origin}`;default:return`Entrada inválida`}}}}));function Qa(){return{localeError:$a()}}var $a,eo=o((()=>{I(),$a=()=>{let e={string:{unit:`کاراکتر`,verb:`داشته باشد`},file:{unit:`بایت`,verb:`داشته باشد`},array:{unit:`آیتم`,verb:`داشته باشد`},set:{unit:`آیتم`,verb:`داشته باشد`}};function t(t){return e[t]??null}let n={regex:`ورودی`,email:`آدرس ایمیل`,url:`URL`,emoji:`ایموجی`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`تاریخ و زمان ایزو`,date:`تاریخ ایزو`,time:`زمان ایزو`,duration:`مدت زمان ایزو`,ipv4:`IPv4 آدرس`,ipv6:`IPv6 آدرس`,cidrv4:`IPv4 دامنه`,cidrv6:`IPv6 دامنه`,base64:`base64-encoded رشته`,base64url:`base64url-encoded رشته`,json_string:`JSON رشته`,e164:`E.164 عدد`,jwt:`JWT`,template_literal:`ورودی`},r={nan:`NaN`,number:`عدد`,array:`آرایه`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ورودی نامعتبر: میبایست instanceof ${e.expected} میبود، ${i} دریافت شد`:`ورودی نامعتبر: میبایست ${t} میبود، ${i} دریافت شد`}case`invalid_value`:return e.values.length===1?`ورودی نامعتبر: میبایست ${P(e.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${j(e.values,`|`)} میبود`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصر`} باشد`:`خیلی بزرگ: ${e.origin??`مقدار`} باید ${n}${e.maximum.toString()} باشد`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} باشد`:`خیلی کوچک: ${e.origin} باید ${n}${e.minimum.toString()} باشد`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`رشته نامعتبر: باید با \"${t.prefix}\" شروع شود`:t.format===`ends_with`?`رشته نامعتبر: باید با \"${t.suffix}\" تمام شود`:t.format===`includes`?`رشته نامعتبر: باید شامل \"${t.includes}\" باشد`:t.format===`regex`?`رشته نامعتبر: باید با الگوی ${t.pattern} مطابقت داشته باشد`:`${n[t.format]??e.format} نامعتبر`}case`not_multiple_of`:return`عدد نامعتبر: باید مضرب ${e.divisor} باشد`;case`unrecognized_keys`:return`کلید${e.keys.length>1?`های`:``} ناشناس: ${j(e.keys,`, `)}`;case`invalid_key`:return`کلید ناشناس در ${e.origin}`;case`invalid_union`:return`ورودی نامعتبر`;case`invalid_element`:return`مقدار نامعتبر در ${e.origin}`;default:return`ورودی نامعتبر`}}}}));function to(){return{localeError:no()}}var no,ro=o((()=>{I(),no=()=>{let e={string:{unit:`merkkiä`,subject:`merkkijonon`},file:{unit:`tavua`,subject:`tiedoston`},array:{unit:`alkiota`,subject:`listan`},set:{unit:`alkiota`,subject:`joukon`},number:{unit:``,subject:`luvun`},bigint:{unit:``,subject:`suuren kokonaisluvun`},int:{unit:``,subject:`kokonaisluvun`},date:{unit:``,subject:`päivämäärän`}};function t(t){return e[t]??null}let n={regex:`säännöllinen lauseke`,email:`sähköpostiosoite`,url:`URL-osoite`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-aikaleima`,date:`ISO-päivämäärä`,time:`ISO-aika`,duration:`ISO-kesto`,ipv4:`IPv4-osoite`,ipv6:`IPv6-osoite`,cidrv4:`IPv4-alue`,cidrv6:`IPv6-alue`,base64:`base64-koodattu merkkijono`,base64url:`base64url-koodattu merkkijono`,json_string:`JSON-merkkijono`,e164:`E.164-luku`,jwt:`JWT`,template_literal:`templaattimerkkijono`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Virheellinen tyyppi: odotettiin instanceof ${e.expected}, oli ${i}`:`Virheellinen tyyppi: odotettiin ${t}, oli ${i}`}case`invalid_value`:return e.values.length===1?`Virheellinen syöte: täytyy olla ${P(e.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Liian suuri: ${r.subject} täytyy olla ${n}${e.maximum.toString()} ${r.unit}`.trim():`Liian suuri: arvon täytyy olla ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Liian pieni: ${r.subject} täytyy olla ${n}${e.minimum.toString()} ${r.unit}`.trim():`Liian pieni: arvon täytyy olla ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Virheellinen syöte: täytyy alkaa \"${t.prefix}\"`:t.format===`ends_with`?`Virheellinen syöte: täytyy loppua \"${t.suffix}\"`:t.format===`includes`?`Virheellinen syöte: täytyy sisältää \"${t.includes}\"`:t.format===`regex`?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${t.pattern}`:`Virheellinen ${n[t.format]??e.format}`}case`not_multiple_of`:return`Virheellinen luku: täytyy olla luvun ${e.divisor} monikerta`;case`unrecognized_keys`:return`${e.keys.length>1?`Tuntemattomat avaimet`:`Tuntematon avain`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Virheellinen avain tietueessa`;case`invalid_union`:return`Virheellinen unioni`;case`invalid_element`:return`Virheellinen arvo joukossa`;default:return`Virheellinen syöte`}}}}));function io(){return{localeError:ao()}}var ao,oo=o((()=>{I(),ao=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n={regex:`entrée`,email:`adresse e-mail`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`date et heure ISO`,date:`date ISO`,time:`heure ISO`,duration:`durée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`},r={string:`chaîne`,number:`nombre`,int:`entier`,boolean:`booléen`,bigint:`grand entier`,symbol:`symbole`,undefined:`indéfini`,null:`null`,never:`jamais`,void:`vide`,date:`date`,array:`tableau`,object:`objet`,tuple:`tuple`,record:`enregistrement`,map:`carte`,set:`ensemble`,file:`fichier`,nonoptional:`non-optionnel`,nan:`NaN`,function:`fonction`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : instanceof ${e.expected} attendu, ${i} reçu`:`Entrée invalide : ${t} attendu, ${i} reçu`}case`invalid_value`:return e.values.length===1?`Entrée invalide : ${P(e.values[0])} attendu`:`Option invalide : une valeur parmi ${j(e.values,`|`)} attendue`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin);return i?`Trop grand : ${r[e.origin]??`valeur`} doit ${i.verb} ${n}${e.maximum.toString()} ${i.unit??`élément(s)`}`:`Trop grand : ${r[e.origin]??`valeur`} doit être ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin);return i?`Trop petit : ${r[e.origin]??`valeur`} doit ${i.verb} ${n}${e.minimum.toString()} ${i.unit}`:`Trop petit : ${r[e.origin]??`valeur`} doit être ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par \"${t.prefix}\"`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par \"${t.suffix}\"`:t.format===`includes`?`Chaîne invalide : doit inclure \"${t.includes}\"`:t.format===`regex`?`Chaîne invalide : doit correspondre au modèle ${t.pattern}`:`${n[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${j(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}}}));function so(){return{localeError:co()}}var co,lo=o((()=>{I(),co=()=>{let e={string:{unit:`caractères`,verb:`avoir`},file:{unit:`octets`,verb:`avoir`},array:{unit:`éléments`,verb:`avoir`},set:{unit:`éléments`,verb:`avoir`}};function t(t){return e[t]??null}let n={regex:`entrée`,email:`adresse courriel`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`date-heure ISO`,date:`date ISO`,time:`heure ISO`,duration:`durée ISO`,ipv4:`adresse IPv4`,ipv6:`adresse IPv6`,cidrv4:`plage IPv4`,cidrv6:`plage IPv6`,base64:`chaîne encodée en base64`,base64url:`chaîne encodée en base64url`,json_string:`chaîne JSON`,e164:`numéro E.164`,jwt:`JWT`,template_literal:`entrée`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Entrée invalide : attendu instanceof ${e.expected}, reçu ${i}`:`Entrée invalide : attendu ${t}, reçu ${i}`}case`invalid_value`:return e.values.length===1?`Entrée invalide : attendu ${P(e.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`≤`:`<`,r=t(e.origin);return r?`Trop grand : attendu que ${e.origin??`la valeur`} ait ${n}${e.maximum.toString()} ${r.unit}`:`Trop grand : attendu que ${e.origin??`la valeur`} soit ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`≥`:`>`,r=t(e.origin);return r?`Trop petit : attendu que ${e.origin} ait ${n}${e.minimum.toString()} ${r.unit}`:`Trop petit : attendu que ${e.origin} soit ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chaîne invalide : doit commencer par \"${t.prefix}\"`:t.format===`ends_with`?`Chaîne invalide : doit se terminer par \"${t.suffix}\"`:t.format===`includes`?`Chaîne invalide : doit inclure \"${t.includes}\"`:t.format===`regex`?`Chaîne invalide : doit correspondre au motif ${t.pattern}`:`${n[t.format]??e.format} invalide`}case`not_multiple_of`:return`Nombre invalide : doit être un multiple de ${e.divisor}`;case`unrecognized_keys`:return`Clé${e.keys.length>1?`s`:``} non reconnue${e.keys.length>1?`s`:``} : ${j(e.keys,`, `)}`;case`invalid_key`:return`Clé invalide dans ${e.origin}`;case`invalid_union`:return`Entrée invalide`;case`invalid_element`:return`Valeur invalide dans ${e.origin}`;default:return`Entrée invalide`}}}}));function uo(){return{localeError:fo()}}var fo,po=o((()=>{I(),fo=()=>{let e={string:{label:`מחרוזת`,gender:`f`},number:{label:`מספר`,gender:`m`},boolean:{label:`ערך בוליאני`,gender:`m`},bigint:{label:`BigInt`,gender:`m`},date:{label:`תאריך`,gender:`m`},array:{label:`מערך`,gender:`m`},object:{label:`אובייקט`,gender:`m`},null:{label:`ערך ריק (null)`,gender:`m`},undefined:{label:`ערך לא מוגדר (undefined)`,gender:`m`},symbol:{label:`סימבול (Symbol)`,gender:`m`},function:{label:`פונקציה`,gender:`f`},map:{label:`מפה (Map)`,gender:`f`},set:{label:`קבוצה (Set)`,gender:`f`},file:{label:`קובץ`,gender:`m`},promise:{label:`Promise`,gender:`m`},NaN:{label:`NaN`,gender:`m`},unknown:{label:`ערך לא ידוע`,gender:`m`},value:{label:`ערך`,gender:`m`}},t={string:{unit:`תווים`,shortLabel:`קצר`,longLabel:`ארוך`},file:{unit:`בייטים`,shortLabel:`קטן`,longLabel:`גדול`},array:{unit:`פריטים`,shortLabel:`קטן`,longLabel:`גדול`},set:{unit:`פריטים`,shortLabel:`קטן`,longLabel:`גדול`},number:{unit:``,shortLabel:`קטן`,longLabel:`גדול`}},n=t=>t?e[t]:void 0,r=t=>{let r=n(t);return r?r.label:t??e.unknown.label},i=e=>`ה${r(e)}`,a=e=>(n(e)?.gender??`m`)===`f`?`צריכה להיות`:`צריך להיות`,o=e=>e?t[e]??null:null,s={regex:{label:`קלט`,gender:`m`},email:{label:`כתובת אימייל`,gender:`f`},url:{label:`כתובת רשת`,gender:`f`},emoji:{label:`אימוג'י`,gender:`m`},uuid:{label:`UUID`,gender:`m`},nanoid:{label:`nanoid`,gender:`m`},guid:{label:`GUID`,gender:`m`},cuid:{label:`cuid`,gender:`m`},cuid2:{label:`cuid2`,gender:`m`},ulid:{label:`ULID`,gender:`m`},xid:{label:`XID`,gender:`m`},ksuid:{label:`KSUID`,gender:`m`},datetime:{label:`תאריך וזמן ISO`,gender:`m`},date:{label:`תאריך ISO`,gender:`m`},time:{label:`זמן ISO`,gender:`m`},duration:{label:`משך זמן ISO`,gender:`m`},ipv4:{label:`כתובת IPv4`,gender:`f`},ipv6:{label:`כתובת IPv6`,gender:`f`},cidrv4:{label:`טווח IPv4`,gender:`m`},cidrv6:{label:`טווח IPv6`,gender:`m`},base64:{label:`מחרוזת בבסיס 64`,gender:`f`},base64url:{label:`מחרוזת בבסיס 64 לכתובות רשת`,gender:`f`},json_string:{label:`מחרוזת JSON`,gender:`f`},e164:{label:`מספר E.164`,gender:`m`},jwt:{label:`JWT`,gender:`m`},ends_with:{label:`קלט`,gender:`m`},includes:{label:`קלט`,gender:`m`},lowercase:{label:`קלט`,gender:`m`},starts_with:{label:`קלט`,gender:`m`},uppercase:{label:`קלט`,gender:`m`}},c={nan:`NaN`};return t=>{switch(t.code){case`invalid_type`:{let n=t.expected,i=c[n??``]??r(n),a=F(t.input),o=c[a]??e[a]?.label??a;return/^[A-Z]/.test(t.expected)?`קלט לא תקין: צריך להיות instanceof ${t.expected}, התקבל ${o}`:`קלט לא תקין: צריך להיות ${i}, התקבל ${o}`}case`invalid_value`:{if(t.values.length===1)return`ערך לא תקין: הערך חייב להיות ${P(t.values[0])}`;let e=t.values.map(e=>P(e));if(t.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${e[0]} או ${e[1]}`;let n=e[e.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${e.slice(0,-1).join(`, `)} או ${n}`}case`too_big`:{let e=o(t.origin),n=i(t.origin??`value`);if(t.origin===`string`)return`${e?.longLabel??`ארוך`} מדי: ${n} צריכה להכיל ${t.maximum.toString()} ${e?.unit??``} ${t.inclusive?`או פחות`:`לכל היותר`}`.trim();if(t.origin===`number`)return`גדול מדי: ${n} צריך להיות ${t.inclusive?`קטן או שווה ל-${t.maximum}`:`קטן מ-${t.maximum}`}`;if(t.origin===`array`||t.origin===`set`)return`גדול מדי: ${n} ${t.origin===`set`?`צריכה`:`צריך`} להכיל ${t.inclusive?`${t.maximum} ${e?.unit??``} או פחות`:`פחות מ-${t.maximum} ${e?.unit??``}`}`.trim();let r=t.inclusive?`<=`:`<`,s=a(t.origin??`value`);return e?.unit?`${e.longLabel} מדי: ${n} ${s} ${r}${t.maximum.toString()} ${e.unit}`:`${e?.longLabel??`גדול`} מדי: ${n} ${s} ${r}${t.maximum.toString()}`}case`too_small`:{let e=o(t.origin),n=i(t.origin??`value`);if(t.origin===`string`)return`${e?.shortLabel??`קצר`} מדי: ${n} צריכה להכיל ${t.minimum.toString()} ${e?.unit??``} ${t.inclusive?`או יותר`:`לפחות`}`.trim();if(t.origin===`number`)return`קטן מדי: ${n} צריך להיות ${t.inclusive?`גדול או שווה ל-${t.minimum}`:`גדול מ-${t.minimum}`}`;if(t.origin===`array`||t.origin===`set`){let r=t.origin===`set`?`צריכה`:`צריך`;return t.minimum===1&&t.inclusive?`קטן מדי: ${n} ${r} להכיל ${t.origin,`לפחות פריט אחד`}`:`קטן מדי: ${n} ${r} להכיל ${t.inclusive?`${t.minimum} ${e?.unit??``} או יותר`:`יותר מ-${t.minimum} ${e?.unit??``}`}`.trim()}let r=t.inclusive?`>=`:`>`,s=a(t.origin??`value`);return e?.unit?`${e.shortLabel} מדי: ${n} ${s} ${r}${t.minimum.toString()} ${e.unit}`:`${e?.shortLabel??`קטן`} מדי: ${n} ${s} ${r}${t.minimum.toString()}`}case`invalid_format`:{let e=t;if(e.format===`starts_with`)return`המחרוזת חייבת להתחיל ב \"${e.prefix}\"`;if(e.format===`ends_with`)return`המחרוזת חייבת להסתיים ב \"${e.suffix}\"`;if(e.format===`includes`)return`המחרוזת חייבת לכלול \"${e.includes}\"`;if(e.format===`regex`)return`המחרוזת חייבת להתאים לתבנית ${e.pattern}`;let n=s[e.format];return`${n?.label??e.format} לא ${(n?.gender??`m`)===`f`?`תקינה`:`תקין`}`}case`not_multiple_of`:return`מספר לא תקין: חייב להיות מכפלה של ${t.divisor}`;case`unrecognized_keys`:return`מפתח${t.keys.length>1?`ות`:``} לא מזוה${t.keys.length>1?`ים`:`ה`}: ${j(t.keys,`, `)}`;case`invalid_key`:return`שדה לא תקין באובייקט`;case`invalid_union`:return`קלט לא תקין`;case`invalid_element`:return`ערך לא תקין ב${i(t.origin??`array`)}`;default:return`קלט לא תקין`}}}}));function mo(){return{localeError:ho()}}var ho,go=o((()=>{I(),ho=()=>{let e={string:{unit:`znakova`,verb:`imati`},file:{unit:`bajtova`,verb:`imati`},array:{unit:`stavki`,verb:`imati`},set:{unit:`stavki`,verb:`imati`}};function t(t){return e[t]??null}let n={regex:`unos`,email:`email adresa`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum i vrijeme`,date:`ISO datum`,time:`ISO vrijeme`,duration:`ISO trajanje`,ipv4:`IPv4 adresa`,ipv6:`IPv6 adresa`,cidrv4:`IPv4 raspon`,cidrv6:`IPv6 raspon`,base64:`base64 kodirani tekst`,base64url:`base64url kodirani tekst`,json_string:`JSON tekst`,e164:`E.164 broj`,jwt:`JWT`,template_literal:`unos`},r={nan:`NaN`,string:`tekst`,number:`broj`,boolean:`boolean`,array:`niz`,object:`objekt`,set:`skup`,file:`datoteka`,date:`datum`,bigint:`bigint`,symbol:`simbol`,undefined:`undefined`,null:`null`,function:`funkcija`,map:`mapa`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neispravan unos: očekuje se instanceof ${e.expected}, a primljeno je ${i}`:`Neispravan unos: očekuje se ${t}, a primljeno je ${i}`}case`invalid_value`:return e.values.length===1?`Neispravna vrijednost: očekivano ${P(e.values[0])}`:`Neispravna opcija: očekivano jedno od ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Preveliko: očekivano da ${a??`vrijednost`} ima ${n}${e.maximum.toString()} ${i.unit??`elemenata`}`:`Preveliko: očekivano da ${a??`vrijednost`} bude ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,i=t(e.origin),a=r[e.origin]??e.origin;return i?`Premalo: očekivano da ${a} ima ${n}${e.minimum.toString()} ${i.unit}`:`Premalo: očekivano da ${a} bude ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neispravan tekst: mora započinjati s \"${t.prefix}\"`:t.format===`ends_with`?`Neispravan tekst: mora završavati s \"${t.suffix}\"`:t.format===`includes`?`Neispravan tekst: mora sadržavati \"${t.includes}\"`:t.format===`regex`?`Neispravan tekst: mora odgovarati uzorku ${t.pattern}`:`Neispravna ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neispravan broj: mora biti višekratnik od ${e.divisor}`;case`unrecognized_keys`:return`Neprepoznat${e.keys.length>1?`i ključevi`:` ključ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Neispravan ključ u ${r[e.origin]??e.origin}`;case`invalid_union`:return`Neispravan unos`;case`invalid_element`:return`Neispravna vrijednost u ${r[e.origin]??e.origin}`;default:return`Neispravan unos`}}}}));function _o(){return{localeError:vo()}}var vo,yo=o((()=>{I(),vo=()=>{let e={string:{unit:`karakter`,verb:`legyen`},file:{unit:`byte`,verb:`legyen`},array:{unit:`elem`,verb:`legyen`},set:{unit:`elem`,verb:`legyen`}};function t(t){return e[t]??null}let n={regex:`bemenet`,email:`email cím`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO időbélyeg`,date:`ISO dátum`,time:`ISO idő`,duration:`ISO időintervallum`,ipv4:`IPv4 cím`,ipv6:`IPv6 cím`,cidrv4:`IPv4 tartomány`,cidrv6:`IPv6 tartomány`,base64:`base64-kódolt string`,base64url:`base64url-kódolt string`,json_string:`JSON string`,e164:`E.164 szám`,jwt:`JWT`,template_literal:`bemenet`},r={nan:`NaN`,number:`szám`,array:`tömb`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Érvénytelen bemenet: a várt érték instanceof ${e.expected}, a kapott érték ${i}`:`Érvénytelen bemenet: a várt érték ${t}, a kapott érték ${i}`}case`invalid_value`:return e.values.length===1?`Érvénytelen bemenet: a várt érték ${P(e.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Túl nagy: ${e.origin??`érték`} mérete túl nagy ${n}${e.maximum.toString()} ${r.unit??`elem`}`:`Túl nagy: a bemeneti érték ${e.origin??`érték`} túl nagy: ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Túl kicsi: a bemeneti érték ${e.origin} mérete túl kicsi ${n}${e.minimum.toString()} ${r.unit}`:`Túl kicsi: a bemeneti érték ${e.origin} túl kicsi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Érvénytelen string: \"${t.prefix}\" értékkel kell kezdődnie`:t.format===`ends_with`?`Érvénytelen string: \"${t.suffix}\" értékkel kell végződnie`:t.format===`includes`?`Érvénytelen string: \"${t.includes}\" értéket kell tartalmaznia`:t.format===`regex`?`Érvénytelen string: ${t.pattern} mintának kell megfelelnie`:`Érvénytelen ${n[t.format]??e.format}`}case`not_multiple_of`:return`Érvénytelen szám: ${e.divisor} többszörösének kell lennie`;case`unrecognized_keys`:return`Ismeretlen kulcs${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Érvénytelen kulcs ${e.origin}`;case`invalid_union`:return`Érvénytelen bemenet`;case`invalid_element`:return`Érvénytelen érték: ${e.origin}`;default:return`Érvénytelen bemenet`}}}}));function bo(e,t,n){return Math.abs(e)===1?t:n}function xo(e){if(!e)return``;let t=[`ա`,`ե`,`ը`,`ի`,`ո`,`ու`,`օ`],n=e[e.length-1];return e+(t.includes(n)?`ն`:`ը`)}function So(){return{localeError:Co()}}var Co,wo=o((()=>{I(),Co=()=>{let e={string:{unit:{one:`նշան`,many:`նշաններ`},verb:`ունենալ`},file:{unit:{one:`բայթ`,many:`բայթեր`},verb:`ունենալ`},array:{unit:{one:`տարր`,many:`տարրեր`},verb:`ունենալ`},set:{unit:{one:`տարր`,many:`տարրեր`},verb:`ունենալ`}};function t(t){return e[t]??null}let n={regex:`մուտք`,email:`էլ. հասցե`,url:`URL`,emoji:`էմոջի`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO ամսաթիվ և ժամ`,date:`ISO ամսաթիվ`,time:`ISO ժամ`,duration:`ISO տևողություն`,ipv4:`IPv4 հասցե`,ipv6:`IPv6 հասցե`,cidrv4:`IPv4 միջակայք`,cidrv6:`IPv6 միջակայք`,base64:`base64 ձևաչափով տող`,base64url:`base64url ձևաչափով տող`,json_string:`JSON տող`,e164:`E.164 համար`,jwt:`JWT`,template_literal:`մուտք`},r={nan:`NaN`,number:`թիվ`,array:`զանգված`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${e.expected}, ստացվել է ${i}`:`Սխալ մուտքագրում․ սպասվում էր ${t}, ստացվել է ${i}`}case`invalid_value`:return e.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${P(e.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=bo(Number(e.maximum),r.unit.one,r.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${xo(e.origin??`արժեք`)} կունենա ${n}${e.maximum.toString()} ${t}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${xo(e.origin??`արժեք`)} լինի ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=bo(Number(e.minimum),r.unit.one,r.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${xo(e.origin)} կունենա ${n}${e.minimum.toString()} ${t}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${xo(e.origin)} լինի ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Սխալ տող․ պետք է սկսվի \"${t.prefix}\"-ով`:t.format===`ends_with`?`Սխալ տող․ պետք է ավարտվի \"${t.suffix}\"-ով`:t.format===`includes`?`Սխալ տող․ պետք է պարունակի \"${t.includes}\"`:t.format===`regex`?`Սխալ տող․ պետք է համապատասխանի ${t.pattern} ձևաչափին`:`Սխալ ${n[t.format]??e.format}`}case`not_multiple_of`:return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${e.divisor}-ի`;case`unrecognized_keys`:return`Չճանաչված բանալի${e.keys.length>1?`ներ`:``}. ${j(e.keys,`, `)}`;case`invalid_key`:return`Սխալ բանալի ${xo(e.origin)}-ում`;case`invalid_union`:return`Սխալ մուտքագրում`;case`invalid_element`:return`Սխալ արժեք ${xo(e.origin)}-ում`;default:return`Սխալ մուտքագրում`}}}}));function To(){return{localeError:Eo()}}var Eo,Do=o((()=>{I(),Eo=()=>{let e={string:{unit:`karakter`,verb:`memiliki`},file:{unit:`byte`,verb:`memiliki`},array:{unit:`item`,verb:`memiliki`},set:{unit:`item`,verb:`memiliki`}};function t(t){return e[t]??null}let n={regex:`input`,email:`alamat email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`tanggal dan waktu format ISO`,date:`tanggal format ISO`,time:`jam format ISO`,duration:`durasi format ISO`,ipv4:`alamat IPv4`,ipv6:`alamat IPv6`,cidrv4:`rentang alamat IPv4`,cidrv6:`rentang alamat IPv6`,base64:`string dengan enkode base64`,base64url:`string dengan enkode base64url`,json_string:`string JSON`,e164:`angka E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak valid: diharapkan instanceof ${e.expected}, diterima ${i}`:`Input tidak valid: diharapkan ${t}, diterima ${i}`}case`invalid_value`:return e.values.length===1?`Input tidak valid: diharapkan ${P(e.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: diharapkan ${e.origin??`value`} memiliki ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: diharapkan ${e.origin??`value`} menjadi ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: diharapkan ${e.origin} memiliki ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: diharapkan ${e.origin} menjadi ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak valid: harus dimulai dengan \"${t.prefix}\"`:t.format===`ends_with`?`String tidak valid: harus berakhir dengan \"${t.suffix}\"`:t.format===`includes`?`String tidak valid: harus menyertakan \"${t.includes}\"`:t.format===`regex`?`String tidak valid: harus sesuai pola ${t.pattern}`:`${n[t.format]??e.format} tidak valid`}case`not_multiple_of`:return`Angka tidak valid: harus kelipatan dari ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali ${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak valid di ${e.origin}`;case`invalid_union`:return`Input tidak valid`;case`invalid_element`:return`Nilai tidak valid di ${e.origin}`;default:return`Input tidak valid`}}}}));function Oo(){return{localeError:ko()}}var ko,Ao=o((()=>{I(),ko=()=>{let e={string:{unit:`stafi`,verb:`að hafa`},file:{unit:`bæti`,verb:`að hafa`},array:{unit:`hluti`,verb:`að hafa`},set:{unit:`hluti`,verb:`að hafa`}};function t(t){return e[t]??null}let n={regex:`gildi`,email:`netfang`,url:`vefslóð`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dagsetning og tími`,date:`ISO dagsetning`,time:`ISO tími`,duration:`ISO tímalengd`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded strengur`,base64url:`base64url-encoded strengur`,json_string:`JSON strengur`,e164:`E.164 tölugildi`,jwt:`JWT`,template_literal:`gildi`},r={nan:`NaN`,number:`númer`,array:`fylki`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Rangt gildi: Þú slóst inn ${i} þar sem á að vera instanceof ${e.expected}`:`Rangt gildi: Þú slóst inn ${i} þar sem á að vera ${t}`}case`invalid_value`:return e.values.length===1?`Rangt gildi: gert ráð fyrir ${P(e.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} hafi ${n}${e.maximum.toString()} ${r.unit??`hluti`}`:`Of stórt: gert er ráð fyrir að ${e.origin??`gildi`} sé ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Of lítið: gert er ráð fyrir að ${e.origin} hafi ${n}${e.minimum.toString()} ${r.unit}`:`Of lítið: gert er ráð fyrir að ${e.origin} sé ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ógildur strengur: verður að byrja á \"${t.prefix}\"`:t.format===`ends_with`?`Ógildur strengur: verður að enda á \"${t.suffix}\"`:t.format===`includes`?`Ógildur strengur: verður að innihalda \"${t.includes}\"`:t.format===`regex`?`Ógildur strengur: verður að fylgja mynstri ${t.pattern}`:`Rangt ${n[t.format]??e.format}`}case`not_multiple_of`:return`Röng tala: verður að vera margfeldi af ${e.divisor}`;case`unrecognized_keys`:return`Óþekkt ${e.keys.length>1?`ir lyklar`:`ur lykill`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Rangur lykill í ${e.origin}`;case`invalid_union`:return`Rangt gildi`;case`invalid_element`:return`Rangt gildi í ${e.origin}`;default:return`Rangt gildi`}}}}));function jo(){return{localeError:Mo()}}var Mo,No=o((()=>{I(),Mo=()=>{let e={string:{unit:`caratteri`,verb:`avere`},file:{unit:`byte`,verb:`avere`},array:{unit:`elementi`,verb:`avere`},set:{unit:`elementi`,verb:`avere`}};function t(t){return e[t]??null}let n={regex:`input`,email:`indirizzo email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data e ora ISO`,date:`data ISO`,time:`ora ISO`,duration:`durata ISO`,ipv4:`indirizzo IPv4`,ipv6:`indirizzo IPv6`,cidrv4:`intervallo IPv4`,cidrv6:`intervallo IPv6`,base64:`stringa codificata in base64`,base64url:`URL codificata in base64`,json_string:`stringa JSON`,e164:`numero E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`numero`,array:`vettore`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input non valido: atteso instanceof ${e.expected}, ricevuto ${i}`:`Input non valido: atteso ${t}, ricevuto ${i}`}case`invalid_value`:return e.values.length===1?`Input non valido: atteso ${P(e.values[0])}`:`Opzione non valida: atteso uno tra ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Troppo grande: ${e.origin??`valore`} deve avere ${n}${e.maximum.toString()} ${r.unit??`elementi`}`:`Troppo grande: ${e.origin??`valore`} deve essere ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Troppo piccolo: ${e.origin} deve avere ${n}${e.minimum.toString()} ${r.unit}`:`Troppo piccolo: ${e.origin} deve essere ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Stringa non valida: deve iniziare con \"${t.prefix}\"`:t.format===`ends_with`?`Stringa non valida: deve terminare con \"${t.suffix}\"`:t.format===`includes`?`Stringa non valida: deve includere \"${t.includes}\"`:t.format===`regex`?`Stringa non valida: deve corrispondere al pattern ${t.pattern}`:`Input non valido: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Numero non valido: deve essere un multiplo di ${e.divisor}`;case`unrecognized_keys`:return`Chiav${e.keys.length>1?`i`:`e`} non riconosciut${e.keys.length>1?`e`:`a`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Chiave non valida in ${e.origin}`;case`invalid_union`:return`Input non valido`;case`invalid_element`:return`Valore non valido in ${e.origin}`;default:return`Input non valido`}}}}));function Po(){return{localeError:Fo()}}var Fo,Io=o((()=>{I(),Fo=()=>{let e={string:{unit:`文字`,verb:`である`},file:{unit:`バイト`,verb:`である`},array:{unit:`要素`,verb:`である`},set:{unit:`要素`,verb:`である`}};function t(t){return e[t]??null}let n={regex:`入力値`,email:`メールアドレス`,url:`URL`,emoji:`絵文字`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日時`,date:`ISO日付`,time:`ISO時刻`,duration:`ISO期間`,ipv4:`IPv4アドレス`,ipv6:`IPv6アドレス`,cidrv4:`IPv4範囲`,cidrv6:`IPv6範囲`,base64:`base64エンコード文字列`,base64url:`base64urlエンコード文字列`,json_string:`JSON文字列`,e164:`E.164番号`,jwt:`JWT`,template_literal:`入力値`},r={nan:`NaN`,number:`数値`,array:`配列`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無効な入力: instanceof ${e.expected}が期待されましたが、${i}が入力されました`:`無効な入力: ${t}が期待されましたが、${i}が入力されました`}case`invalid_value`:return e.values.length===1?`無効な入力: ${P(e.values[0])}が期待されました`:`無効な選択: ${j(e.values,`、`)}のいずれかである必要があります`;case`too_big`:{let n=e.inclusive?`以下である`:`より小さい`,r=t(e.origin);return r?`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${r.unit??`要素`}${n}必要があります`:`大きすぎる値: ${e.origin??`値`}は${e.maximum.toString()}${n}必要があります`}case`too_small`:{let n=e.inclusive?`以上である`:`より大きい`,r=t(e.origin);return r?`小さすぎる値: ${e.origin}は${e.minimum.toString()}${r.unit}${n}必要があります`:`小さすぎる値: ${e.origin}は${e.minimum.toString()}${n}必要があります`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無効な文字列: \"${t.prefix}\"で始まる必要があります`:t.format===`ends_with`?`無効な文字列: \"${t.suffix}\"で終わる必要があります`:t.format===`includes`?`無効な文字列: \"${t.includes}\"を含む必要があります`:t.format===`regex`?`無効な文字列: パターン${t.pattern}に一致する必要があります`:`無効な${n[t.format]??e.format}`}case`not_multiple_of`:return`無効な数値: ${e.divisor}の倍数である必要があります`;case`unrecognized_keys`:return`認識されていないキー${e.keys.length>1?`群`:``}: ${j(e.keys,`、`)}`;case`invalid_key`:return`${e.origin}内の無効なキー`;case`invalid_union`:return`無効な入力`;case`invalid_element`:return`${e.origin}内の無効な値`;default:return`無効な入力`}}}}));function Lo(){return{localeError:Ro()}}var Ro,zo=o((()=>{I(),Ro=()=>{let e={string:{unit:`სიმბოლო`,verb:`უნდა შეიცავდეს`},file:{unit:`ბაიტი`,verb:`უნდა შეიცავდეს`},array:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`},set:{unit:`ელემენტი`,verb:`უნდა შეიცავდეს`}};function t(t){return e[t]??null}let n={regex:`შეყვანა`,email:`ელ-ფოსტის მისამართი`,url:`URL`,emoji:`ემოჯი`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`თარიღი-დრო`,date:`თარიღი`,time:`დრო`,duration:`ხანგრძლივობა`,ipv4:`IPv4 მისამართი`,ipv6:`IPv6 მისამართი`,cidrv4:`IPv4 დიაპაზონი`,cidrv6:`IPv6 დიაპაზონი`,base64:`base64-კოდირებული ველი`,base64url:`base64url-კოდირებული ველი`,json_string:`JSON ველი`,e164:`E.164 ნომერი`,jwt:`JWT`,template_literal:`შეყვანა`},r={nan:`NaN`,number:`რიცხვი`,string:`ველი`,boolean:`ბულეანი`,function:`ფუნქცია`,array:`მასივი`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${e.expected}, მიღებული ${i}`:`არასწორი შეყვანა: მოსალოდნელი ${t}, მიღებული ${i}`}case`invalid_value`:return e.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${P(e.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${j(e.values,`|`)}-დან`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${e.origin??`მნიშვნელობა`} იყოს ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ზედმეტად პატარა: მოსალოდნელი ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${e.origin} იყოს ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`არასწორი ველი: უნდა იწყებოდეს \"${t.prefix}\"-ით`:t.format===`ends_with`?`არასწორი ველი: უნდა მთავრდებოდეს \"${t.suffix}\"-ით`:t.format===`includes`?`არასწორი ველი: უნდა შეიცავდეს \"${t.includes}\"-ს`:t.format===`regex`?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${t.pattern}`:`არასწორი ${n[t.format]??e.format}`}case`not_multiple_of`:return`არასწორი რიცხვი: უნდა იყოს ${e.divisor}-ის ჯერადი`;case`unrecognized_keys`:return`უცნობი გასაღებ${e.keys.length>1?`ები`:`ი`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`არასწორი გასაღები ${e.origin}-ში`;case`invalid_union`:return`არასწორი შეყვანა`;case`invalid_element`:return`არასწორი მნიშვნელობა ${e.origin}-ში`;default:return`არასწორი შეყვანა`}}}}));function Bo(){return{localeError:Vo()}}var Vo,Ho=o((()=>{I(),Vo=()=>{let e={string:{unit:`តួអក្សរ`,verb:`គួរមាន`},file:{unit:`បៃ`,verb:`គួរមាន`},array:{unit:`ធាតុ`,verb:`គួរមាន`},set:{unit:`ធាតុ`,verb:`គួរមាន`}};function t(t){return e[t]??null}let n={regex:`ទិន្នន័យបញ្ចូល`,email:`អាសយដ្ឋានអ៊ីមែល`,url:`URL`,emoji:`សញ្ញាអារម្មណ៍`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`កាលបរិច្ឆេទ និងម៉ោង ISO`,date:`កាលបរិច្ឆេទ ISO`,time:`ម៉ោង ISO`,duration:`រយៈពេល ISO`,ipv4:`អាសយដ្ឋាន IPv4`,ipv6:`អាសយដ្ឋាន IPv6`,cidrv4:`ដែនអាសយដ្ឋាន IPv4`,cidrv6:`ដែនអាសយដ្ឋាន IPv6`,base64:`ខ្សែអក្សរអ៊ិកូដ base64`,base64url:`ខ្សែអក្សរអ៊ិកូដ base64url`,json_string:`ខ្សែអក្សរ JSON`,e164:`លេខ E.164`,jwt:`JWT`,template_literal:`ទិន្នន័យបញ្ចូល`},r={nan:`NaN`,number:`លេខ`,array:`អារេ (Array)`,null:`គ្មានតម្លៃ (null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${e.expected} ប៉ុន្តែទទួលបាន ${i}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${t} ប៉ុន្តែទទួលបាន ${i}`}case`invalid_value`:return e.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${P(e.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()} ${r.unit??`ធាតុ`}`:`ធំពេក៖ ត្រូវការ ${e.origin??`តម្លៃ`} ${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()} ${r.unit}`:`តូចពេក៖ ត្រូវការ ${e.origin} ${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ \"${t.prefix}\"`:t.format===`ends_with`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ \"${t.suffix}\"`:t.format===`includes`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន \"${t.includes}\"`:t.format===`regex`?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${t.pattern}`:`មិនត្រឹមត្រូវ៖ ${n[t.format]??e.format}`}case`not_multiple_of`:return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${e.divisor}`;case`unrecognized_keys`:return`រកឃើញសោមិនស្គាល់៖ ${j(e.keys,`, `)}`;case`invalid_key`:return`សោមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;case`invalid_union`:return`ទិន្នន័យមិនត្រឹមត្រូវ`;case`invalid_element`:return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${e.origin}`;default:return`ទិន្នន័យមិនត្រឹមត្រូវ`}}}}));function Uo(){return Bo()}var Wo=o((()=>{Ho()}));function Go(){return{localeError:Ko()}}var Ko,qo=o((()=>{I(),Ko=()=>{let e={string:{unit:`문자`,verb:`to have`},file:{unit:`바이트`,verb:`to have`},array:{unit:`개`,verb:`to have`},set:{unit:`개`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`입력`,email:`이메일 주소`,url:`URL`,emoji:`이모지`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 날짜시간`,date:`ISO 날짜`,time:`ISO 시간`,duration:`ISO 기간`,ipv4:`IPv4 주소`,ipv6:`IPv6 주소`,cidrv4:`IPv4 범위`,cidrv6:`IPv6 범위`,base64:`base64 인코딩 문자열`,base64url:`base64url 인코딩 문자열`,json_string:`JSON 문자열`,e164:`E.164 번호`,jwt:`JWT`,template_literal:`입력`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`잘못된 입력: 예상 타입은 instanceof ${e.expected}, 받은 타입은 ${i}입니다`:`잘못된 입력: 예상 타입은 ${t}, 받은 타입은 ${i}입니다`}case`invalid_value`:return e.values.length===1?`잘못된 입력: 값은 ${P(e.values[0])} 이어야 합니다`:`잘못된 옵션: ${j(e.values,`또는 `)} 중 하나여야 합니다`;case`too_big`:{let n=e.inclusive?`이하`:`미만`,r=n===`미만`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 큽니다: ${e.maximum.toString()} ${n}${r}`}case`too_small`:{let n=e.inclusive?`이상`:`초과`,r=n===`이상`?`이어야 합니다`:`여야 합니다`,i=t(e.origin),a=i?.unit??`요소`;return i?`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()}${a} ${n}${r}`:`${e.origin??`값`}이 너무 작습니다: ${e.minimum.toString()} ${n}${r}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`잘못된 문자열: \"${t.prefix}\"(으)로 시작해야 합니다`:t.format===`ends_with`?`잘못된 문자열: \"${t.suffix}\"(으)로 끝나야 합니다`:t.format===`includes`?`잘못된 문자열: \"${t.includes}\"을(를) 포함해야 합니다`:t.format===`regex`?`잘못된 문자열: 정규식 ${t.pattern} 패턴과 일치해야 합니다`:`잘못된 ${n[t.format]??e.format}`}case`not_multiple_of`:return`잘못된 숫자: ${e.divisor}의 배수여야 합니다`;case`unrecognized_keys`:return`인식할 수 없는 키: ${j(e.keys,`, `)}`;case`invalid_key`:return`잘못된 키: ${e.origin}`;case`invalid_union`:return`잘못된 입력`;case`invalid_element`:return`잘못된 값: ${e.origin}`;default:return`잘못된 입력`}}}}));function Jo(e){let t=Math.abs(e),n=t%10,r=t%100;return r>=11&&r<=19||n===0?`many`:n===1?`one`:`few`}function Yo(){return{localeError:Zo()}}var Xo,Zo,Qo=o((()=>{I(),Xo=e=>e.charAt(0).toUpperCase()+e.slice(1),Zo=()=>{let e={string:{unit:{one:`simbolis`,few:`simboliai`,many:`simbolių`},verb:{smaller:{inclusive:`turi būti ne ilgesnė kaip`,notInclusive:`turi būti trumpesnė kaip`},bigger:{inclusive:`turi būti ne trumpesnė kaip`,notInclusive:`turi būti ilgesnė kaip`}}},file:{unit:{one:`baitas`,few:`baitai`,many:`baitų`},verb:{smaller:{inclusive:`turi būti ne didesnis kaip`,notInclusive:`turi būti mažesnis kaip`},bigger:{inclusive:`turi būti ne mažesnis kaip`,notInclusive:`turi būti didesnis kaip`}}},array:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}},set:{unit:{one:`elementą`,few:`elementus`,many:`elementų`},verb:{smaller:{inclusive:`turi turėti ne daugiau kaip`,notInclusive:`turi turėti mažiau kaip`},bigger:{inclusive:`turi turėti ne mažiau kaip`,notInclusive:`turi turėti daugiau kaip`}}}};function t(t,n,r,i){let a=e[t]??null;return a===null?a:{unit:a.unit[n],verb:a.verb[i][r?`inclusive`:`notInclusive`]}}let n={regex:`įvestis`,email:`el. pašto adresas`,url:`URL`,emoji:`jaustukas`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO data ir laikas`,date:`ISO data`,time:`ISO laikas`,duration:`ISO trukmė`,ipv4:`IPv4 adresas`,ipv6:`IPv6 adresas`,cidrv4:`IPv4 tinklo prefiksas (CIDR)`,cidrv6:`IPv6 tinklo prefiksas (CIDR)`,base64:`base64 užkoduota eilutė`,base64url:`base64url užkoduota eilutė`,json_string:`JSON eilutė`,e164:`E.164 numeris`,jwt:`JWT`,template_literal:`įvestis`},r={nan:`NaN`,number:`skaičius`,bigint:`sveikasis skaičius`,string:`eilutė`,boolean:`loginė reikšmė`,undefined:`neapibrėžta reikšmė`,function:`funkcija`,symbol:`simbolis`,array:`masyvas`,object:`objektas`,null:`nulinė reikšmė`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Gautas tipas ${i}, o tikėtasi - instanceof ${e.expected}`:`Gautas tipas ${i}, o tikėtasi - ${t}`}case`invalid_value`:return e.values.length===1?`Privalo būti ${P(e.values[0])}`:`Privalo būti vienas iš ${j(e.values,`|`)} pasirinkimų`;case`too_big`:{let n=r[e.origin]??e.origin,i=t(e.origin,Jo(Number(e.maximum)),e.inclusive??!1,`smaller`);if(i?.verb)return`${Xo(n??e.origin??`reikšmė`)} ${i.verb} ${e.maximum.toString()} ${i.unit??`elementų`}`;let a=e.inclusive?`ne didesnis kaip`:`mažesnis kaip`;return`${Xo(n??e.origin??`reikšmė`)} turi būti ${a} ${e.maximum.toString()} ${i?.unit}`}case`too_small`:{let n=r[e.origin]??e.origin,i=t(e.origin,Jo(Number(e.minimum)),e.inclusive??!1,`bigger`);if(i?.verb)return`${Xo(n??e.origin??`reikšmė`)} ${i.verb} ${e.minimum.toString()} ${i.unit??`elementų`}`;let a=e.inclusive?`ne mažesnis kaip`:`didesnis kaip`;return`${Xo(n??e.origin??`reikšmė`)} turi būti ${a} ${e.minimum.toString()} ${i?.unit}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Eilutė privalo prasidėti \"${t.prefix}\"`:t.format===`ends_with`?`Eilutė privalo pasibaigti \"${t.suffix}\"`:t.format===`includes`?`Eilutė privalo įtraukti \"${t.includes}\"`:t.format===`regex`?`Eilutė privalo atitikti ${t.pattern}`:`Neteisingas ${n[t.format]??e.format}`}case`not_multiple_of`:return`Skaičius privalo būti ${e.divisor} kartotinis.`;case`unrecognized_keys`:return`Neatpažint${e.keys.length>1?`i`:`as`} rakt${e.keys.length>1?`ai`:`as`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Rastas klaidingas raktas`;case`invalid_union`:return`Klaidinga įvestis`;case`invalid_element`:return`${Xo(r[e.origin]??e.origin??e.origin??`reikšmė`)} turi klaidingą įvestį`;default:return`Klaidinga įvestis`}}}}));function $o(){return{localeError:es()}}var es,ts=o((()=>{I(),es=()=>{let e={string:{unit:`знаци`,verb:`да имаат`},file:{unit:`бајти`,verb:`да имаат`},array:{unit:`ставки`,verb:`да имаат`},set:{unit:`ставки`,verb:`да имаат`}};function t(t){return e[t]??null}let n={regex:`внес`,email:`адреса на е-пошта`,url:`URL`,emoji:`емоџи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO датум и време`,date:`ISO датум`,time:`ISO време`,duration:`ISO времетраење`,ipv4:`IPv4 адреса`,ipv6:`IPv6 адреса`,cidrv4:`IPv4 опсег`,cidrv6:`IPv6 опсег`,base64:`base64-енкодирана низа`,base64url:`base64url-енкодирана низа`,json_string:`JSON низа`,e164:`E.164 број`,jwt:`JWT`,template_literal:`внес`},r={nan:`NaN`,number:`број`,array:`низа`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Грешен внес: се очекува instanceof ${e.expected}, примено ${i}`:`Грешен внес: се очекува ${t}, примено ${i}`}case`invalid_value`:return e.values.length===1?`Invalid input: expected ${P(e.values[0])}`:`Грешана опција: се очекува една ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Премногу голем: се очекува ${e.origin??`вредноста`} да има ${n}${e.maximum.toString()} ${r.unit??`елементи`}`:`Премногу голем: се очекува ${e.origin??`вредноста`} да биде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Премногу мал: се очекува ${e.origin} да има ${n}${e.minimum.toString()} ${r.unit}`:`Премногу мал: се очекува ${e.origin} да биде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неважечка низа: мора да започнува со \"${t.prefix}\"`:t.format===`ends_with`?`Неважечка низа: мора да завршува со \"${t.suffix}\"`:t.format===`includes`?`Неважечка низа: мора да вклучува \"${t.includes}\"`:t.format===`regex`?`Неважечка низа: мора да одгоара на патернот ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Грешен број: мора да биде делив со ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Непрепознаени клучеви`:`Непрепознаен клуч`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Грешен клуч во ${e.origin}`;case`invalid_union`:return`Грешен внес`;case`invalid_element`:return`Грешна вредност во ${e.origin}`;default:return`Грешен внес`}}}}));function ns(){return{localeError:rs()}}var rs,is=o((()=>{I(),rs=()=>{let e={string:{unit:`aksara`,verb:`mempunyai`},file:{unit:`bait`,verb:`mempunyai`},array:{unit:`elemen`,verb:`mempunyai`},set:{unit:`elemen`,verb:`mempunyai`}};function t(t){return e[t]??null}let n={regex:`input`,email:`alamat e-mel`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`tarikh masa ISO`,date:`tarikh ISO`,time:`masa ISO`,duration:`tempoh ISO`,ipv4:`alamat IPv4`,ipv6:`alamat IPv6`,cidrv4:`julat IPv4`,cidrv6:`julat IPv6`,base64:`string dikodkan base64`,base64url:`string dikodkan base64url`,json_string:`string JSON`,e164:`nombor E.164`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`nombor`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Input tidak sah: dijangka instanceof ${e.expected}, diterima ${i}`:`Input tidak sah: dijangka ${t}, diterima ${i}`}case`invalid_value`:return e.values.length===1?`Input tidak sah: dijangka ${P(e.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Terlalu besar: dijangka ${e.origin??`nilai`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`elemen`}`:`Terlalu besar: dijangka ${e.origin??`nilai`} adalah ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Terlalu kecil: dijangka ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Terlalu kecil: dijangka ${e.origin} adalah ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`String tidak sah: mesti bermula dengan \"${t.prefix}\"`:t.format===`ends_with`?`String tidak sah: mesti berakhir dengan \"${t.suffix}\"`:t.format===`includes`?`String tidak sah: mesti mengandungi \"${t.includes}\"`:t.format===`regex`?`String tidak sah: mesti sepadan dengan corak ${t.pattern}`:`${n[t.format]??e.format} tidak sah`}case`not_multiple_of`:return`Nombor tidak sah: perlu gandaan ${e.divisor}`;case`unrecognized_keys`:return`Kunci tidak dikenali: ${j(e.keys,`, `)}`;case`invalid_key`:return`Kunci tidak sah dalam ${e.origin}`;case`invalid_union`:return`Input tidak sah`;case`invalid_element`:return`Nilai tidak sah dalam ${e.origin}`;default:return`Input tidak sah`}}}}));function as(){return{localeError:os()}}var os,ss=o((()=>{I(),os=()=>{let e={string:{unit:`tekens`,verb:`heeft`},file:{unit:`bytes`,verb:`heeft`},array:{unit:`elementen`,verb:`heeft`},set:{unit:`elementen`,verb:`heeft`}};function t(t){return e[t]??null}let n={regex:`invoer`,email:`emailadres`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum en tijd`,date:`ISO datum`,time:`ISO tijd`,duration:`ISO duur`,ipv4:`IPv4-adres`,ipv6:`IPv6-adres`,cidrv4:`IPv4-bereik`,cidrv6:`IPv6-bereik`,base64:`base64-gecodeerde tekst`,base64url:`base64 URL-gecodeerde tekst`,json_string:`JSON string`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`invoer`},r={nan:`NaN`,number:`getal`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ongeldige invoer: verwacht instanceof ${e.expected}, ontving ${i}`:`Ongeldige invoer: verwacht ${t}, ontving ${i}`}case`invalid_value`:return e.values.length===1?`Ongeldige invoer: verwacht ${P(e.values[0])}`:`Ongeldige optie: verwacht één van ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin),i=e.origin===`date`?`laat`:e.origin===`string`?`lang`:`groot`;return r?`Te ${i}: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} ${r.unit??`elementen`} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin??`waarde`} ${n}${e.maximum.toString()} is`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin),i=e.origin===`date`?`vroeg`:e.origin===`string`?`kort`:`klein`;return r?`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Te ${i}: verwacht dat ${e.origin} ${n}${e.minimum.toString()} is`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ongeldige tekst: moet met \"${t.prefix}\" beginnen`:t.format===`ends_with`?`Ongeldige tekst: moet op \"${t.suffix}\" eindigen`:t.format===`includes`?`Ongeldige tekst: moet \"${t.includes}\" bevatten`:t.format===`regex`?`Ongeldige tekst: moet overeenkomen met patroon ${t.pattern}`:`Ongeldig: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ongeldig getal: moet een veelvoud van ${e.divisor} zijn`;case`unrecognized_keys`:return`Onbekende key${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ongeldige key in ${e.origin}`;case`invalid_union`:return`Ongeldige invoer`;case`invalid_element`:return`Ongeldige waarde in ${e.origin}`;default:return`Ongeldige invoer`}}}}));function cs(){return{localeError:ls()}}var ls,us=o((()=>{I(),ls=()=>{let e={string:{unit:`tegn`,verb:`å ha`},file:{unit:`bytes`,verb:`å ha`},array:{unit:`elementer`,verb:`å inneholde`},set:{unit:`elementer`,verb:`å inneholde`}};function t(t){return e[t]??null}let n={regex:`input`,email:`e-postadresse`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO dato- og klokkeslett`,date:`ISO-dato`,time:`ISO-klokkeslett`,duration:`ISO-varighet`,ipv4:`IPv4-område`,ipv6:`IPv6-område`,cidrv4:`IPv4-spekter`,cidrv6:`IPv6-spekter`,base64:`base64-enkodet streng`,base64url:`base64url-enkodet streng`,json_string:`JSON-streng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`tall`,array:`liste`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ugyldig input: forventet instanceof ${e.expected}, fikk ${i}`:`Ugyldig input: forventet ${t}, fikk ${i}`}case`invalid_value`:return e.values.length===1?`Ugyldig verdi: forventet ${P(e.values[0])}`:`Ugyldig valg: forventet en av ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()} ${r.unit??`elementer`}`:`For stor(t): forventet ${e.origin??`value`} til å ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()} ${r.unit}`:`For lite(n): forventet ${e.origin} til å ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ugyldig streng: må starte med \"${t.prefix}\"`:t.format===`ends_with`?`Ugyldig streng: må ende med \"${t.suffix}\"`:t.format===`includes`?`Ugyldig streng: må inneholde \"${t.includes}\"`:t.format===`regex`?`Ugyldig streng: må matche mønsteret ${t.pattern}`:`Ugyldig ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ugyldig tall: må være et multiplum av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Ukjente nøkler`:`Ukjent nøkkel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ugyldig nøkkel i ${e.origin}`;case`invalid_union`:return`Ugyldig input`;case`invalid_element`:return`Ugyldig verdi i ${e.origin}`;default:return`Ugyldig input`}}}}));function ds(){return{localeError:fs()}}var fs,ps=o((()=>{I(),fs=()=>{let e={string:{unit:`harf`,verb:`olmalıdır`},file:{unit:`bayt`,verb:`olmalıdır`},array:{unit:`unsur`,verb:`olmalıdır`},set:{unit:`unsur`,verb:`olmalıdır`}};function t(t){return e[t]??null}let n={regex:`giren`,email:`epostagâh`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO hengâmı`,date:`ISO tarihi`,time:`ISO zamanı`,duration:`ISO müddeti`,ipv4:`IPv4 nişânı`,ipv6:`IPv6 nişânı`,cidrv4:`IPv4 menzili`,cidrv6:`IPv6 menzili`,base64:`base64-şifreli metin`,base64url:`base64url-şifreli metin`,json_string:`JSON metin`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`giren`},r={nan:`NaN`,number:`numara`,array:`saf`,null:`gayb`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Fâsit giren: umulan instanceof ${e.expected}, alınan ${i}`:`Fâsit giren: umulan ${t}, alınan ${i}`}case`invalid_value`:return e.values.length===1?`Fâsit giren: umulan ${P(e.values[0])}`:`Fâsit tercih: mûteberler ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} ${r.unit??`elements`} sahip olmalıydı.`:`Fazla büyük: ${e.origin??`value`}, ${n}${e.maximum.toString()} olmalıydı.`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} ${r.unit} sahip olmalıydı.`:`Fazla küçük: ${e.origin}, ${n}${e.minimum.toString()} olmalıydı.`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Fâsit metin: \"${t.prefix}\" ile başlamalı.`:t.format===`ends_with`?`Fâsit metin: \"${t.suffix}\" ile bitmeli.`:t.format===`includes`?`Fâsit metin: \"${t.includes}\" ihtivâ etmeli.`:t.format===`regex`?`Fâsit metin: ${t.pattern} nakşına uymalı.`:`Fâsit ${n[t.format]??e.format}`}case`not_multiple_of`:return`Fâsit sayı: ${e.divisor} katı olmalıydı.`;case`unrecognized_keys`:return`Tanınmayan anahtar ${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} için tanınmayan anahtar var.`;case`invalid_union`:return`Giren tanınamadı.`;case`invalid_element`:return`${e.origin} için tanınmayan kıymet var.`;default:return`Kıymet tanınamadı.`}}}}));function ms(){return{localeError:hs()}}var hs,gs=o((()=>{I(),hs=()=>{let e={string:{unit:`توکي`,verb:`ولري`},file:{unit:`بایټس`,verb:`ولري`},array:{unit:`توکي`,verb:`ولري`},set:{unit:`توکي`,verb:`ولري`}};function t(t){return e[t]??null}let n={regex:`ورودي`,email:`بریښنالیک`,url:`یو آر ال`,emoji:`ایموجي`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`نیټه او وخت`,date:`نېټه`,time:`وخت`,duration:`موده`,ipv4:`د IPv4 پته`,ipv6:`د IPv6 پته`,cidrv4:`د IPv4 ساحه`,cidrv6:`د IPv6 ساحه`,base64:`base64-encoded متن`,base64url:`base64url-encoded متن`,json_string:`JSON متن`,e164:`د E.164 شمېره`,jwt:`JWT`,template_literal:`ورودي`},r={nan:`NaN`,number:`عدد`,array:`ارې`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ناسم ورودي: باید instanceof ${e.expected} وای, مګر ${i} ترلاسه شو`:`ناسم ورودي: باید ${t} وای, مګر ${i} ترلاسه شو`}case`invalid_value`:return e.values.length===1?`ناسم ورودي: باید ${P(e.values[0])} وای`:`ناسم انتخاب: باید یو له ${j(e.values,`|`)} څخه وای`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} ${r.unit??`عنصرونه`} ولري`:`ډیر لوی: ${e.origin??`ارزښت`} باید ${n}${e.maximum.toString()} وي`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} ${r.unit} ولري`:`ډیر کوچنی: ${e.origin} باید ${n}${e.minimum.toString()} وي`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`ناسم متن: باید د \"${t.prefix}\" سره پیل شي`:t.format===`ends_with`?`ناسم متن: باید د \"${t.suffix}\" سره پای ته ورسيږي`:t.format===`includes`?`ناسم متن: باید \"${t.includes}\" ولري`:t.format===`regex`?`ناسم متن: باید د ${t.pattern} سره مطابقت ولري`:`${n[t.format]??e.format} ناسم دی`}case`not_multiple_of`:return`ناسم عدد: باید د ${e.divisor} مضرب وي`;case`unrecognized_keys`:return`ناسم ${e.keys.length>1?`کلیډونه`:`کلیډ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`ناسم کلیډ په ${e.origin} کې`;case`invalid_union`:return`ناسمه ورودي`;case`invalid_element`:return`ناسم عنصر په ${e.origin} کې`;default:return`ناسمه ورودي`}}}}));function _s(){return{localeError:vs()}}var vs,ys=o((()=>{I(),vs=()=>{let e={string:{unit:`znaków`,verb:`mieć`},file:{unit:`bajtów`,verb:`mieć`},array:{unit:`elementów`,verb:`mieć`},set:{unit:`elementów`,verb:`mieć`}};function t(t){return e[t]??null}let n={regex:`wyrażenie`,email:`adres email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data i godzina w formacie ISO`,date:`data w formacie ISO`,time:`godzina w formacie ISO`,duration:`czas trwania ISO`,ipv4:`adres IPv4`,ipv6:`adres IPv6`,cidrv4:`zakres IPv4`,cidrv6:`zakres IPv6`,base64:`ciąg znaków zakodowany w formacie base64`,base64url:`ciąg znaków zakodowany w formacie base64url`,json_string:`ciąg znaków w formacie JSON`,e164:`liczba E.164`,jwt:`JWT`,template_literal:`wejście`},r={nan:`NaN`,number:`liczba`,array:`tablica`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${e.expected}, otrzymano ${i}`:`Nieprawidłowe dane wejściowe: oczekiwano ${t}, otrzymano ${i}`}case`invalid_value`:return e.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${P(e.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Za duża wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.maximum.toString()} ${r.unit??`elementów`}`:`Zbyt duż(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Za mała wartość: oczekiwano, że ${e.origin??`wartość`} będzie mieć ${n}${e.minimum.toString()} ${r.unit??`elementów`}`:`Zbyt mał(y/a/e): oczekiwano, że ${e.origin??`wartość`} będzie wynosić ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Nieprawidłowy ciąg znaków: musi zaczynać się od \"${t.prefix}\"`:t.format===`ends_with`?`Nieprawidłowy ciąg znaków: musi kończyć się na \"${t.suffix}\"`:t.format===`includes`?`Nieprawidłowy ciąg znaków: musi zawierać \"${t.includes}\"`:t.format===`regex`?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${t.pattern}`:`Nieprawidłow(y/a/e) ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nieprawidłowa liczba: musi być wielokrotnością ${e.divisor}`;case`unrecognized_keys`:return`Nierozpoznane klucze${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Nieprawidłowy klucz w ${e.origin}`;case`invalid_union`:return`Nieprawidłowe dane wejściowe`;case`invalid_element`:return`Nieprawidłowa wartość w ${e.origin}`;default:return`Nieprawidłowe dane wejściowe`}}}}));function bs(){return{localeError:xs()}}var xs,Ss=o((()=>{I(),xs=()=>{let e={string:{unit:`caracteres`,verb:`ter`},file:{unit:`bytes`,verb:`ter`},array:{unit:`itens`,verb:`ter`},set:{unit:`itens`,verb:`ter`}};function t(t){return e[t]??null}let n={regex:`padrão`,email:`endereço de e-mail`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`data e hora ISO`,date:`data ISO`,time:`hora ISO`,duration:`duração ISO`,ipv4:`endereço IPv4`,ipv6:`endereço IPv6`,cidrv4:`faixa de IPv4`,cidrv6:`faixa de IPv6`,base64:`texto codificado em base64`,base64url:`URL codificada em base64`,json_string:`texto JSON`,e164:`número E.164`,jwt:`JWT`,template_literal:`entrada`},r={nan:`NaN`,number:`número`,null:`nulo`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Tipo inválido: esperado instanceof ${e.expected}, recebido ${i}`:`Tipo inválido: esperado ${t}, recebido ${i}`}case`invalid_value`:return e.values.length===1?`Entrada inválida: esperado ${P(e.values[0])}`:`Opção inválida: esperada uma das ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Muito grande: esperado que ${e.origin??`valor`} tivesse ${n}${e.maximum.toString()} ${r.unit??`elementos`}`:`Muito grande: esperado que ${e.origin??`valor`} fosse ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Muito pequeno: esperado que ${e.origin} tivesse ${n}${e.minimum.toString()} ${r.unit}`:`Muito pequeno: esperado que ${e.origin} fosse ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Texto inválido: deve começar com \"${t.prefix}\"`:t.format===`ends_with`?`Texto inválido: deve terminar com \"${t.suffix}\"`:t.format===`includes`?`Texto inválido: deve incluir \"${t.includes}\"`:t.format===`regex`?`Texto inválido: deve corresponder ao padrão ${t.pattern}`:`${n[t.format]??e.format} inválido`}case`not_multiple_of`:return`Número inválido: deve ser múltiplo de ${e.divisor}`;case`unrecognized_keys`:return`Chave${e.keys.length>1?`s`:``} desconhecida${e.keys.length>1?`s`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Chave inválida em ${e.origin}`;case`invalid_union`:return`Entrada inválida`;case`invalid_element`:return`Valor inválido em ${e.origin}`;default:return`Campo inválido`}}}}));function Cs(){return{localeError:ws()}}var ws,Ts=o((()=>{I(),ws=()=>{let e={string:{unit:`caractere`,verb:`să aibă`},file:{unit:`octeți`,verb:`să aibă`},array:{unit:`elemente`,verb:`să aibă`},set:{unit:`elemente`,verb:`să aibă`},map:{unit:`intrări`,verb:`să aibă`}};function t(t){return e[t]??null}let n={regex:`intrare`,email:`adresă de email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`dată și oră ISO`,date:`dată ISO`,time:`oră ISO`,duration:`durată ISO`,ipv4:`adresă IPv4`,ipv6:`adresă IPv6`,mac:`adresă MAC`,cidrv4:`interval IPv4`,cidrv6:`interval IPv6`,base64:`șir codat base64`,base64url:`șir codat base64url`,json_string:`șir JSON`,e164:`număr E.164`,jwt:`JWT`,template_literal:`intrare`},r={nan:`NaN`,string:`șir`,number:`număr`,boolean:`boolean`,function:`funcție`,array:`matrice`,object:`obiect`,undefined:`nedefinit`,symbol:`simbol`,bigint:`număr mare`,void:`void`,never:`never`,map:`hartă`,set:`set`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input);return`Intrare invalidă: așteptat ${t}, primit ${r[n]??n}`}case`invalid_value`:return e.values.length===1?`Intrare invalidă: așteptat ${P(e.values[0])}`:`Opțiune invalidă: așteptat una dintre ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Prea mare: așteptat ca ${e.origin??`valoarea`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`elemente`}`:`Prea mare: așteptat ca ${e.origin??`valoarea`} să fie ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Prea mic: așteptat ca ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Prea mic: așteptat ca ${e.origin} să fie ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Șir invalid: trebuie să înceapă cu \"${t.prefix}\"`:t.format===`ends_with`?`Șir invalid: trebuie să se termine cu \"${t.suffix}\"`:t.format===`includes`?`Șir invalid: trebuie să includă \"${t.includes}\"`:t.format===`regex`?`Șir invalid: trebuie să se potrivească cu modelul ${t.pattern}`:`Format invalid: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Număr invalid: trebuie să fie multiplu de ${e.divisor}`;case`unrecognized_keys`:return`Chei nerecunoscute: ${j(e.keys,`, `)}`;case`invalid_key`:return`Cheie invalidă în ${e.origin}`;case`invalid_union`:return`Intrare invalidă`;case`invalid_element`:return`Valoare invalidă în ${e.origin}`;default:return`Intrare invalidă`}}}}));function Es(e,t,n,r){let i=Math.abs(e),a=i%10,o=i%100;return o>=11&&o<=19?r:a===1?t:a>=2&&a<=4?n:r}function Ds(){return{localeError:Os()}}var Os,ks=o((()=>{I(),Os=()=>{let e={string:{unit:{one:`символ`,few:`символа`,many:`символов`},verb:`иметь`},file:{unit:{one:`байт`,few:`байта`,many:`байт`},verb:`иметь`},array:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`},set:{unit:{one:`элемент`,few:`элемента`,many:`элементов`},verb:`иметь`}};function t(t){return e[t]??null}let n={regex:`ввод`,email:`email адрес`,url:`URL`,emoji:`эмодзи`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO дата и время`,date:`ISO дата`,time:`ISO время`,duration:`ISO длительность`,ipv4:`IPv4 адрес`,ipv6:`IPv6 адрес`,cidrv4:`IPv4 диапазон`,cidrv6:`IPv6 диапазон`,base64:`строка в формате base64`,base64url:`строка в формате base64url`,json_string:`JSON строка`,e164:`номер E.164`,jwt:`JWT`,template_literal:`ввод`},r={nan:`NaN`,number:`число`,array:`массив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неверный ввод: ожидалось instanceof ${e.expected}, получено ${i}`:`Неверный ввод: ожидалось ${t}, получено ${i}`}case`invalid_value`:return e.values.length===1?`Неверный ввод: ожидалось ${P(e.values[0])}`:`Неверный вариант: ожидалось одно из ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);if(r){let t=Es(Number(e.maximum),r.unit.one,r.unit.few,r.unit.many);return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет иметь ${n}${e.maximum.toString()} ${t}`}return`Слишком большое значение: ожидалось, что ${e.origin??`значение`} будет ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);if(r){let t=Es(Number(e.minimum),r.unit.one,r.unit.few,r.unit.many);return`Слишком маленькое значение: ожидалось, что ${e.origin} будет иметь ${n}${e.minimum.toString()} ${t}`}return`Слишком маленькое значение: ожидалось, что ${e.origin} будет ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неверная строка: должна начинаться с \"${t.prefix}\"`:t.format===`ends_with`?`Неверная строка: должна заканчиваться на \"${t.suffix}\"`:t.format===`includes`?`Неверная строка: должна содержать \"${t.includes}\"`:t.format===`regex`?`Неверная строка: должна соответствовать шаблону ${t.pattern}`:`Неверный ${n[t.format]??e.format}`}case`not_multiple_of`:return`Неверное число: должно быть кратным ${e.divisor}`;case`unrecognized_keys`:return`Нераспознанн${e.keys.length>1?`ые`:`ый`} ключ${e.keys.length>1?`и`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Неверный ключ в ${e.origin}`;case`invalid_union`:return`Неверные входные данные`;case`invalid_element`:return`Неверное значение в ${e.origin}`;default:return`Неверные входные данные`}}}}));function As(){return{localeError:js()}}var js,Ms=o((()=>{I(),js=()=>{let e={string:{unit:`znakov`,verb:`imeti`},file:{unit:`bajtov`,verb:`imeti`},array:{unit:`elementov`,verb:`imeti`},set:{unit:`elementov`,verb:`imeti`}};function t(t){return e[t]??null}let n={regex:`vnos`,email:`e-poštni naslov`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datum in čas`,date:`ISO datum`,time:`ISO čas`,duration:`ISO trajanje`,ipv4:`IPv4 naslov`,ipv6:`IPv6 naslov`,cidrv4:`obseg IPv4`,cidrv6:`obseg IPv6`,base64:`base64 kodiran niz`,base64url:`base64url kodiran niz`,json_string:`JSON niz`,e164:`E.164 številka`,jwt:`JWT`,template_literal:`vnos`},r={nan:`NaN`,number:`število`,array:`tabela`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Neveljaven vnos: pričakovano instanceof ${e.expected}, prejeto ${i}`:`Neveljaven vnos: pričakovano ${t}, prejeto ${i}`}case`invalid_value`:return e.values.length===1?`Neveljaven vnos: pričakovano ${P(e.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} imelo ${n}${e.maximum.toString()} ${r.unit??`elementov`}`:`Preveliko: pričakovano, da bo ${e.origin??`vrednost`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Premajhno: pričakovano, da bo ${e.origin} imelo ${n}${e.minimum.toString()} ${r.unit}`:`Premajhno: pričakovano, da bo ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Neveljaven niz: mora se začeti z \"${t.prefix}\"`:t.format===`ends_with`?`Neveljaven niz: mora se končati z \"${t.suffix}\"`:t.format===`includes`?`Neveljaven niz: mora vsebovati \"${t.includes}\"`:t.format===`regex`?`Neveljaven niz: mora ustrezati vzorcu ${t.pattern}`:`Neveljaven ${n[t.format]??e.format}`}case`not_multiple_of`:return`Neveljavno število: mora biti večkratnik ${e.divisor}`;case`unrecognized_keys`:return`Neprepoznan${e.keys.length>1?`i ključi`:` ključ`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Neveljaven ključ v ${e.origin}`;case`invalid_union`:return`Neveljaven vnos`;case`invalid_element`:return`Neveljavna vrednost v ${e.origin}`;default:return`Neveljaven vnos`}}}}));function Ns(){return{localeError:Ps()}}var Ps,Fs=o((()=>{I(),Ps=()=>{let e={string:{unit:`tecken`,verb:`att ha`},file:{unit:`bytes`,verb:`att ha`},array:{unit:`objekt`,verb:`att innehålla`},set:{unit:`objekt`,verb:`att innehålla`}};function t(t){return e[t]??null}let n={regex:`reguljärt uttryck`,email:`e-postadress`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO-datum och tid`,date:`ISO-datum`,time:`ISO-tid`,duration:`ISO-varaktighet`,ipv4:`IPv4-intervall`,ipv6:`IPv6-intervall`,cidrv4:`IPv4-spektrum`,cidrv6:`IPv6-spektrum`,base64:`base64-kodad sträng`,base64url:`base64url-kodad sträng`,json_string:`JSON-sträng`,e164:`E.164-nummer`,jwt:`JWT`,template_literal:`mall-literal`},r={nan:`NaN`,number:`antal`,array:`lista`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ogiltig inmatning: förväntat instanceof ${e.expected}, fick ${i}`:`Ogiltig inmatning: förväntat ${t}, fick ${i}`}case`invalid_value`:return e.values.length===1?`Ogiltig inmatning: förväntat ${P(e.values[0])}`:`Ogiltigt val: förväntade en av ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`För stor(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()} ${r.unit??`element`}`:`För stor(t): förväntat ${e.origin??`värdet`} att ha ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()} ${r.unit}`:`För lite(t): förväntade ${e.origin??`värdet`} att ha ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ogiltig sträng: måste börja med \"${t.prefix}\"`:t.format===`ends_with`?`Ogiltig sträng: måste sluta med \"${t.suffix}\"`:t.format===`includes`?`Ogiltig sträng: måste innehålla \"${t.includes}\"`:t.format===`regex`?`Ogiltig sträng: måste matcha mönstret \"${t.pattern}\"`:`Ogiltig(t) ${n[t.format]??e.format}`}case`not_multiple_of`:return`Ogiltigt tal: måste vara en multipel av ${e.divisor}`;case`unrecognized_keys`:return`${e.keys.length>1?`Okända nycklar`:`Okänd nyckel`}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Ogiltig nyckel i ${e.origin??`värdet`}`;case`invalid_union`:return`Ogiltig input`;case`invalid_element`:return`Ogiltigt värde i ${e.origin??`värdet`}`;default:return`Ogiltig input`}}}}));function Is(){return{localeError:Ls()}}var Ls,Rs=o((()=>{I(),Ls=()=>{let e={string:{unit:`எழுத்துக்கள்`,verb:`கொண்டிருக்க வேண்டும்`},file:{unit:`பைட்டுகள்`,verb:`கொண்டிருக்க வேண்டும்`},array:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`},set:{unit:`உறுப்புகள்`,verb:`கொண்டிருக்க வேண்டும்`}};function t(t){return e[t]??null}let n={regex:`உள்ளீடு`,email:`மின்னஞ்சல் முகவரி`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO தேதி நேரம்`,date:`ISO தேதி`,time:`ISO நேரம்`,duration:`ISO கால அளவு`,ipv4:`IPv4 முகவரி`,ipv6:`IPv6 முகவரி`,cidrv4:`IPv4 வரம்பு`,cidrv6:`IPv6 வரம்பு`,base64:`base64-encoded சரம்`,base64url:`base64url-encoded சரம்`,json_string:`JSON சரம்`,e164:`E.164 எண்`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`,number:`எண்`,array:`அணி`,null:`வெறுமை`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${e.expected}, பெறப்பட்டது ${i}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${t}, பெறப்பட்டது ${i}`}case`invalid_value`:return e.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${P(e.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${j(e.values,`|`)} இல் ஒன்று`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ${r.unit??`உறுப்புகள்`} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${e.origin??`மதிப்பு`} ${n}${e.maximum.toString()} ஆக இருக்க வேண்டும்`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${e.origin} ${n}${e.minimum.toString()} ஆக இருக்க வேண்டும்`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`தவறான சரம்: \"${t.prefix}\" இல் தொடங்க வேண்டும்`:t.format===`ends_with`?`தவறான சரம்: \"${t.suffix}\" இல் முடிவடைய வேண்டும்`:t.format===`includes`?`தவறான சரம்: \"${t.includes}\" ஐ உள்ளடக்க வேண்டும்`:t.format===`regex`?`தவறான சரம்: ${t.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${n[t.format]??e.format}`}case`not_multiple_of`:return`தவறான எண்: ${e.divisor} இன் பலமாக இருக்க வேண்டும்`;case`unrecognized_keys`:return`அடையாளம் தெரியாத விசை${e.keys.length>1?`கள்`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} இல் தவறான விசை`;case`invalid_union`:return`தவறான உள்ளீடு`;case`invalid_element`:return`${e.origin} இல் தவறான மதிப்பு`;default:return`தவறான உள்ளீடு`}}}}));function zs(){return{localeError:Bs()}}var Bs,Vs=o((()=>{I(),Bs=()=>{let e={string:{unit:`ตัวอักษร`,verb:`ควรมี`},file:{unit:`ไบต์`,verb:`ควรมี`},array:{unit:`รายการ`,verb:`ควรมี`},set:{unit:`รายการ`,verb:`ควรมี`}};function t(t){return e[t]??null}let n={regex:`ข้อมูลที่ป้อน`,email:`ที่อยู่อีเมล`,url:`URL`,emoji:`อิโมจิ`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`วันที่เวลาแบบ ISO`,date:`วันที่แบบ ISO`,time:`เวลาแบบ ISO`,duration:`ช่วงเวลาแบบ ISO`,ipv4:`ที่อยู่ IPv4`,ipv6:`ที่อยู่ IPv6`,cidrv4:`ช่วง IP แบบ IPv4`,cidrv6:`ช่วง IP แบบ IPv6`,base64:`ข้อความแบบ Base64`,base64url:`ข้อความแบบ Base64 สำหรับ URL`,json_string:`ข้อความแบบ JSON`,e164:`เบอร์โทรศัพท์ระหว่างประเทศ (E.164)`,jwt:`โทเคน JWT`,template_literal:`ข้อมูลที่ป้อน`},r={nan:`NaN`,number:`ตัวเลข`,array:`อาร์เรย์ (Array)`,null:`ไม่มีค่า (null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${e.expected} แต่ได้รับ ${i}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${t} แต่ได้รับ ${i}`}case`invalid_value`:return e.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${P(e.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`ไม่เกิน`:`น้อยกว่า`,r=t(e.origin);return r?`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()} ${r.unit??`รายการ`}`:`เกินกำหนด: ${e.origin??`ค่า`} ควรมี${n} ${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`อย่างน้อย`:`มากกว่า`,r=t(e.origin);return r?`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()} ${r.unit}`:`น้อยกว่ากำหนด: ${e.origin} ควรมี${n} ${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย \"${t.prefix}\"`:t.format===`ends_with`?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย \"${t.suffix}\"`:t.format===`includes`?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี \"${t.includes}\" อยู่ในข้อความ`:t.format===`regex`?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${t.pattern}`:`รูปแบบไม่ถูกต้อง: ${n[t.format]??e.format}`}case`not_multiple_of`:return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${e.divisor} ได้ลงตัว`;case`unrecognized_keys`:return`พบคีย์ที่ไม่รู้จัก: ${j(e.keys,`, `)}`;case`invalid_key`:return`คีย์ไม่ถูกต้องใน ${e.origin}`;case`invalid_union`:return`ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้`;case`invalid_element`:return`ข้อมูลไม่ถูกต้องใน ${e.origin}`;default:return`ข้อมูลไม่ถูกต้อง`}}}}));function Hs(){return{localeError:Us()}}var Us,Ws=o((()=>{I(),Us=()=>{let e={string:{unit:`karakter`,verb:`olmalı`},file:{unit:`bayt`,verb:`olmalı`},array:{unit:`öğe`,verb:`olmalı`},set:{unit:`öğe`,verb:`olmalı`}};function t(t){return e[t]??null}let n={regex:`girdi`,email:`e-posta adresi`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO tarih ve saat`,date:`ISO tarih`,time:`ISO saat`,duration:`ISO süre`,ipv4:`IPv4 adresi`,ipv6:`IPv6 adresi`,cidrv4:`IPv4 aralığı`,cidrv6:`IPv6 aralığı`,base64:`base64 ile şifrelenmiş metin`,base64url:`base64url ile şifrelenmiş metin`,json_string:`JSON dizesi`,e164:`E.164 sayısı`,jwt:`JWT`,template_literal:`Şablon dizesi`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Geçersiz değer: beklenen instanceof ${e.expected}, alınan ${i}`:`Geçersiz değer: beklenen ${t}, alınan ${i}`}case`invalid_value`:return e.values.length===1?`Geçersiz değer: beklenen ${P(e.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()} ${r.unit??`öğe`}`:`Çok büyük: beklenen ${e.origin??`değer`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`Çok küçük: beklenen ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Geçersiz metin: \"${t.prefix}\" ile başlamalı`:t.format===`ends_with`?`Geçersiz metin: \"${t.suffix}\" ile bitmeli`:t.format===`includes`?`Geçersiz metin: \"${t.includes}\" içermeli`:t.format===`regex`?`Geçersiz metin: ${t.pattern} desenine uymalı`:`Geçersiz ${n[t.format]??e.format}`}case`not_multiple_of`:return`Geçersiz sayı: ${e.divisor} ile tam bölünebilmeli`;case`unrecognized_keys`:return`Tanınmayan anahtar${e.keys.length>1?`lar`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} içinde geçersiz anahtar`;case`invalid_union`:return`Geçersiz değer`;case`invalid_element`:return`${e.origin} içinde geçersiz değer`;default:return`Geçersiz değer`}}}}));function Gs(){return{localeError:Ks()}}var Ks,qs=o((()=>{I(),Ks=()=>{let e={string:{unit:`символів`,verb:`матиме`},file:{unit:`байтів`,verb:`матиме`},array:{unit:`елементів`,verb:`матиме`},set:{unit:`елементів`,verb:`матиме`}};function t(t){return e[t]??null}let n={regex:`вхідні дані`,email:`адреса електронної пошти`,url:`URL`,emoji:`емодзі`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`дата та час ISO`,date:`дата ISO`,time:`час ISO`,duration:`тривалість ISO`,ipv4:`адреса IPv4`,ipv6:`адреса IPv6`,cidrv4:`діапазон IPv4`,cidrv6:`діапазон IPv6`,base64:`рядок у кодуванні base64`,base64url:`рядок у кодуванні base64url`,json_string:`рядок JSON`,e164:`номер E.164`,jwt:`JWT`,template_literal:`вхідні дані`},r={nan:`NaN`,number:`число`,array:`масив`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Неправильні вхідні дані: очікується instanceof ${e.expected}, отримано ${i}`:`Неправильні вхідні дані: очікується ${t}, отримано ${i}`}case`invalid_value`:return e.values.length===1?`Неправильні вхідні дані: очікується ${P(e.values[0])}`:`Неправильна опція: очікується одне з ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Занадто велике: очікується, що ${e.origin??`значення`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`елементів`}`:`Занадто велике: очікується, що ${e.origin??`значення`} буде ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Занадто мале: очікується, що ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Занадто мале: очікується, що ${e.origin} буде ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Неправильний рядок: повинен починатися з \"${t.prefix}\"`:t.format===`ends_with`?`Неправильний рядок: повинен закінчуватися на \"${t.suffix}\"`:t.format===`includes`?`Неправильний рядок: повинен містити \"${t.includes}\"`:t.format===`regex`?`Неправильний рядок: повинен відповідати шаблону ${t.pattern}`:`Неправильний ${n[t.format]??e.format}`}case`not_multiple_of`:return`Неправильне число: повинно бути кратним ${e.divisor}`;case`unrecognized_keys`:return`Нерозпізнаний ключ${e.keys.length>1?`і`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`Неправильний ключ у ${e.origin}`;case`invalid_union`:return`Неправильні вхідні дані`;case`invalid_element`:return`Неправильне значення у ${e.origin}`;default:return`Неправильні вхідні дані`}}}}));function Js(){return Gs()}var Ys=o((()=>{qs()}));function Xs(){return{localeError:Zs()}}var Zs,Qs=o((()=>{I(),Zs=()=>{let e={string:{unit:`حروف`,verb:`ہونا`},file:{unit:`بائٹس`,verb:`ہونا`},array:{unit:`آئٹمز`,verb:`ہونا`},set:{unit:`آئٹمز`,verb:`ہونا`}};function t(t){return e[t]??null}let n={regex:`ان پٹ`,email:`ای میل ایڈریس`,url:`یو آر ایل`,emoji:`ایموجی`,uuid:`یو یو آئی ڈی`,uuidv4:`یو یو آئی ڈی وی 4`,uuidv6:`یو یو آئی ڈی وی 6`,nanoid:`نینو آئی ڈی`,guid:`جی یو آئی ڈی`,cuid:`سی یو آئی ڈی`,cuid2:`سی یو آئی ڈی 2`,ulid:`یو ایل آئی ڈی`,xid:`ایکس آئی ڈی`,ksuid:`کے ایس یو آئی ڈی`,datetime:`آئی ایس او ڈیٹ ٹائم`,date:`آئی ایس او تاریخ`,time:`آئی ایس او وقت`,duration:`آئی ایس او مدت`,ipv4:`آئی پی وی 4 ایڈریس`,ipv6:`آئی پی وی 6 ایڈریس`,cidrv4:`آئی پی وی 4 رینج`,cidrv6:`آئی پی وی 6 رینج`,base64:`بیس 64 ان کوڈڈ سٹرنگ`,base64url:`بیس 64 یو آر ایل ان کوڈڈ سٹرنگ`,json_string:`جے ایس او این سٹرنگ`,e164:`ای 164 نمبر`,jwt:`جے ڈبلیو ٹی`,template_literal:`ان پٹ`},r={nan:`NaN`,number:`نمبر`,array:`آرے`,null:`نل`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`غلط ان پٹ: instanceof ${e.expected} متوقع تھا، ${i} موصول ہوا`:`غلط ان پٹ: ${t} متوقع تھا، ${i} موصول ہوا`}case`invalid_value`:return e.values.length===1?`غلط ان پٹ: ${P(e.values[0])} متوقع تھا`:`غلط آپشن: ${j(e.values,`|`)} میں سے ایک متوقع تھا`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`بہت بڑا: ${e.origin??`ویلیو`} کے ${n}${e.maximum.toString()} ${r.unit??`عناصر`} ہونے متوقع تھے`:`بہت بڑا: ${e.origin??`ویلیو`} کا ${n}${e.maximum.toString()} ہونا متوقع تھا`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`بہت چھوٹا: ${e.origin} کے ${n}${e.minimum.toString()} ${r.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${e.origin} کا ${n}${e.minimum.toString()} ہونا متوقع تھا`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`غلط سٹرنگ: \"${t.prefix}\" سے شروع ہونا چاہیے`:t.format===`ends_with`?`غلط سٹرنگ: \"${t.suffix}\" پر ختم ہونا چاہیے`:t.format===`includes`?`غلط سٹرنگ: \"${t.includes}\" شامل ہونا چاہیے`:t.format===`regex`?`غلط سٹرنگ: پیٹرن ${t.pattern} سے میچ ہونا چاہیے`:`غلط ${n[t.format]??e.format}`}case`not_multiple_of`:return`غلط نمبر: ${e.divisor} کا مضاعف ہونا چاہیے`;case`unrecognized_keys`:return`غیر تسلیم شدہ کی${e.keys.length>1?`ز`:``}: ${j(e.keys,`، `)}`;case`invalid_key`:return`${e.origin} میں غلط کی`;case`invalid_union`:return`غلط ان پٹ`;case`invalid_element`:return`${e.origin} میں غلط ویلیو`;default:return`غلط ان پٹ`}}}}));function $s(){return{localeError:ec()}}var ec,tc=o((()=>{I(),ec=()=>{let e={string:{unit:`belgi`,verb:`bo‘lishi kerak`},file:{unit:`bayt`,verb:`bo‘lishi kerak`},array:{unit:`element`,verb:`bo‘lishi kerak`},set:{unit:`element`,verb:`bo‘lishi kerak`},map:{unit:`yozuv`,verb:`bo‘lishi kerak`}};function t(t){return e[t]??null}let n={regex:`kirish`,email:`elektron pochta manzili`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO sana va vaqti`,date:`ISO sana`,time:`ISO vaqt`,duration:`ISO davomiylik`,ipv4:`IPv4 manzil`,ipv6:`IPv6 manzil`,mac:`MAC manzil`,cidrv4:`IPv4 diapazon`,cidrv6:`IPv6 diapazon`,base64:`base64 kodlangan satr`,base64url:`base64url kodlangan satr`,json_string:`JSON satr`,e164:`E.164 raqam`,jwt:`JWT`,template_literal:`kirish`},r={nan:`NaN`,number:`raqam`,array:`massiv`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${e.expected}, qabul qilingan ${i}`:`Noto‘g‘ri kirish: kutilgan ${t}, qabul qilingan ${i}`}case`invalid_value`:return e.values.length===1?`Noto‘g‘ri kirish: kutilgan ${P(e.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Juda katta: kutilgan ${e.origin??`qiymat`} ${n}${e.maximum.toString()} ${r.unit} ${r.verb}`:`Juda katta: kutilgan ${e.origin??`qiymat`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()} ${r.unit} ${r.verb}`:`Juda kichik: kutilgan ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Noto‘g‘ri satr: \"${t.prefix}\" bilan boshlanishi kerak`:t.format===`ends_with`?`Noto‘g‘ri satr: \"${t.suffix}\" bilan tugashi kerak`:t.format===`includes`?`Noto‘g‘ri satr: \"${t.includes}\" ni o‘z ichiga olishi kerak`:t.format===`regex`?`Noto‘g‘ri satr: ${t.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${n[t.format]??e.format}`}case`not_multiple_of`:return`Noto‘g‘ri raqam: ${e.divisor} ning karralisi bo‘lishi kerak`;case`unrecognized_keys`:return`Noma’lum kalit${e.keys.length>1?`lar`:``}: ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} dagi kalit noto‘g‘ri`;case`invalid_union`:return`Noto‘g‘ri kirish`;case`invalid_element`:return`${e.origin} da noto‘g‘ri qiymat`;default:return`Noto‘g‘ri kirish`}}}}));function nc(){return{localeError:rc()}}var rc,ic=o((()=>{I(),rc=()=>{let e={string:{unit:`ký tự`,verb:`có`},file:{unit:`byte`,verb:`có`},array:{unit:`phần tử`,verb:`có`},set:{unit:`phần tử`,verb:`có`}};function t(t){return e[t]??null}let n={regex:`đầu vào`,email:`địa chỉ email`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ngày giờ ISO`,date:`ngày ISO`,time:`giờ ISO`,duration:`khoảng thời gian ISO`,ipv4:`địa chỉ IPv4`,ipv6:`địa chỉ IPv6`,cidrv4:`dải IPv4`,cidrv6:`dải IPv6`,base64:`chuỗi mã hóa base64`,base64url:`chuỗi mã hóa base64url`,json_string:`chuỗi JSON`,e164:`số E.164`,jwt:`JWT`,template_literal:`đầu vào`},r={nan:`NaN`,number:`số`,array:`mảng`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${e.expected}, nhận được ${i}`:`Đầu vào không hợp lệ: mong đợi ${t}, nhận được ${i}`}case`invalid_value`:return e.values.length===1?`Đầu vào không hợp lệ: mong đợi ${P(e.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Quá lớn: mong đợi ${e.origin??`giá trị`} ${r.verb} ${n}${e.maximum.toString()} ${r.unit??`phần tử`}`:`Quá lớn: mong đợi ${e.origin??`giá trị`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Quá nhỏ: mong đợi ${e.origin} ${r.verb} ${n}${e.minimum.toString()} ${r.unit}`:`Quá nhỏ: mong đợi ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Chuỗi không hợp lệ: phải bắt đầu bằng \"${t.prefix}\"`:t.format===`ends_with`?`Chuỗi không hợp lệ: phải kết thúc bằng \"${t.suffix}\"`:t.format===`includes`?`Chuỗi không hợp lệ: phải bao gồm \"${t.includes}\"`:t.format===`regex`?`Chuỗi không hợp lệ: phải khớp với mẫu ${t.pattern}`:`${n[t.format]??e.format} không hợp lệ`}case`not_multiple_of`:return`Số không hợp lệ: phải là bội số của ${e.divisor}`;case`unrecognized_keys`:return`Khóa không được nhận dạng: ${j(e.keys,`, `)}`;case`invalid_key`:return`Khóa không hợp lệ trong ${e.origin}`;case`invalid_union`:return`Đầu vào không hợp lệ`;case`invalid_element`:return`Giá trị không hợp lệ trong ${e.origin}`;default:return`Đầu vào không hợp lệ`}}}}));function ac(){return{localeError:oc()}}var oc,sc=o((()=>{I(),oc=()=>{let e={string:{unit:`字符`,verb:`包含`},file:{unit:`字节`,verb:`包含`},array:{unit:`项`,verb:`包含`},set:{unit:`项`,verb:`包含`}};function t(t){return e[t]??null}let n={regex:`输入`,email:`电子邮件`,url:`URL`,emoji:`表情符号`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO日期时间`,date:`ISO日期`,time:`ISO时间`,duration:`ISO时长`,ipv4:`IPv4地址`,ipv6:`IPv6地址`,cidrv4:`IPv4网段`,cidrv6:`IPv6网段`,base64:`base64编码字符串`,base64url:`base64url编码字符串`,json_string:`JSON字符串`,e164:`E.164号码`,jwt:`JWT`,template_literal:`输入`},r={nan:`NaN`,number:`数字`,array:`数组`,null:`空值(null)`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`无效输入:期望 instanceof ${e.expected},实际接收 ${i}`:`无效输入:期望 ${t},实际接收 ${i}`}case`invalid_value`:return e.values.length===1?`无效输入:期望 ${P(e.values[0])}`:`无效选项:期望以下之一 ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`数值过大:期望 ${e.origin??`值`} ${n}${e.maximum.toString()} ${r.unit??`个元素`}`:`数值过大:期望 ${e.origin??`值`} ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()} ${r.unit}`:`数值过小:期望 ${e.origin} ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`无效字符串:必须以 \"${t.prefix}\" 开头`:t.format===`ends_with`?`无效字符串:必须以 \"${t.suffix}\" 结尾`:t.format===`includes`?`无效字符串:必须包含 \"${t.includes}\"`:t.format===`regex`?`无效字符串:必须满足正则表达式 ${t.pattern}`:`无效${n[t.format]??e.format}`}case`not_multiple_of`:return`无效数字:必须是 ${e.divisor} 的倍数`;case`unrecognized_keys`:return`出现未知的键(key): ${j(e.keys,`, `)}`;case`invalid_key`:return`${e.origin} 中的键(key)无效`;case`invalid_union`:return`无效输入`;case`invalid_element`:return`${e.origin} 中包含无效值(value)`;default:return`无效输入`}}}}));function cc(){return{localeError:lc()}}var lc,uc=o((()=>{I(),lc=()=>{let e={string:{unit:`字元`,verb:`擁有`},file:{unit:`位元組`,verb:`擁有`},array:{unit:`項目`,verb:`擁有`},set:{unit:`項目`,verb:`擁有`}};function t(t){return e[t]??null}let n={regex:`輸入`,email:`郵件地址`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO 日期時間`,date:`ISO 日期`,time:`ISO 時間`,duration:`ISO 期間`,ipv4:`IPv4 位址`,ipv6:`IPv6 位址`,cidrv4:`IPv4 範圍`,cidrv6:`IPv6 範圍`,base64:`base64 編碼字串`,base64url:`base64url 編碼字串`,json_string:`JSON 字串`,e164:`E.164 數值`,jwt:`JWT`,template_literal:`輸入`},r={nan:`NaN`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`無效的輸入值:預期為 instanceof ${e.expected},但收到 ${i}`:`無效的輸入值:預期為 ${t},但收到 ${i}`}case`invalid_value`:return e.values.length===1?`無效的輸入值:預期為 ${P(e.values[0])}`:`無效的選項:預期為以下其中之一 ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`數值過大:預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()} ${r.unit??`個元素`}`:`數值過大:預期 ${e.origin??`值`} 應為 ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()} ${r.unit}`:`數值過小:預期 ${e.origin} 應為 ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`無效的字串:必須以 \"${t.prefix}\" 開頭`:t.format===`ends_with`?`無效的字串:必須以 \"${t.suffix}\" 結尾`:t.format===`includes`?`無效的字串:必須包含 \"${t.includes}\"`:t.format===`regex`?`無效的字串:必須符合格式 ${t.pattern}`:`無效的 ${n[t.format]??e.format}`}case`not_multiple_of`:return`無效的數字:必須為 ${e.divisor} 的倍數`;case`unrecognized_keys`:return`無法識別的鍵值${e.keys.length>1?`們`:``}:${j(e.keys,`、`)}`;case`invalid_key`:return`${e.origin} 中有無效的鍵值`;case`invalid_union`:return`無效的輸入值`;case`invalid_element`:return`${e.origin} 中有無效的值`;default:return`無效的輸入值`}}}}));function dc(){return{localeError:fc()}}var fc,pc=o((()=>{I(),fc=()=>{let e={string:{unit:`àmi`,verb:`ní`},file:{unit:`bytes`,verb:`ní`},array:{unit:`nkan`,verb:`ní`},set:{unit:`nkan`,verb:`ní`}};function t(t){return e[t]??null}let n={regex:`ẹ̀rọ ìbáwọlé`,email:`àdírẹ́sì ìmẹ́lì`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`àkókò ISO`,date:`ọjọ́ ISO`,time:`àkókò ISO`,duration:`àkókò tó pé ISO`,ipv4:`àdírẹ́sì IPv4`,ipv6:`àdírẹ́sì IPv6`,cidrv4:`àgbègbè IPv4`,cidrv6:`àgbègbè IPv6`,base64:`ọ̀rọ̀ tí a kọ́ ní base64`,base64url:`ọ̀rọ̀ base64url`,json_string:`ọ̀rọ̀ JSON`,e164:`nọ́mbà E.164`,jwt:`JWT`,template_literal:`ẹ̀rọ ìbáwọlé`},r={nan:`NaN`,number:`nọ́mbà`,array:`akopọ`};return e=>{switch(e.code){case`invalid_type`:{let t=r[e.expected]??e.expected,n=F(e.input),i=r[n]??n;return/^[A-Z]/.test(e.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${e.expected}, àmọ̀ a rí ${i}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${t}, àmọ̀ a rí ${i}`}case`invalid_value`:return e.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${P(e.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${j(e.values,`|`)}`;case`too_big`:{let n=e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Tó pọ̀ jù: a ní láti jẹ́ pé ${e.origin??`iye`} ${r.verb} ${n}${e.maximum} ${r.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${n}${e.maximum}`}case`too_small`:{let n=e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Kéré ju: a ní láti jẹ́ pé ${e.origin} ${r.verb} ${n}${e.minimum} ${r.unit}`:`Kéré ju: a ní láti jẹ́ ${n}${e.minimum}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú \"${t.prefix}\"`:t.format===`ends_with`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú \"${t.suffix}\"`:t.format===`includes`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní \"${t.includes}\"`:t.format===`regex`?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${t.pattern}`:`Aṣìṣe: ${n[t.format]??e.format}`}case`not_multiple_of`:return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${e.divisor}`;case`unrecognized_keys`:return`Bọtìnì àìmọ̀: ${j(e.keys,`, `)}`;case`invalid_key`:return`Bọtìnì aṣìṣe nínú ${e.origin}`;case`invalid_union`:return`Ìbáwọlé aṣìṣe`;case`invalid_element`:return`Iye aṣìṣe nínú ${e.origin}`;default:return`Ìbáwọlé aṣìṣe`}}}})),mc=c({ar:()=>ha,az:()=>va,be:()=>Sa,bg:()=>Ta,ca:()=>Oa,cs:()=>ja,da:()=>Pa,de:()=>La,el:()=>Ba,en:()=>Ua,eo:()=>Ka,es:()=>Ya,fa:()=>Qa,fi:()=>to,fr:()=>io,frCA:()=>so,he:()=>uo,hr:()=>mo,hu:()=>_o,hy:()=>So,id:()=>To,is:()=>Oo,it:()=>jo,ja:()=>Po,ka:()=>Lo,kh:()=>Uo,km:()=>Bo,ko:()=>Go,lt:()=>Yo,mk:()=>$o,ms:()=>ns,nl:()=>as,no:()=>cs,ota:()=>ds,pl:()=>_s,ps:()=>ms,pt:()=>bs,ro:()=>Cs,ru:()=>Ds,sl:()=>As,sv:()=>Ns,ta:()=>Is,th:()=>zs,tr:()=>Hs,ua:()=>Js,uk:()=>Gs,ur:()=>Xs,uz:()=>$s,vi:()=>nc,yo:()=>dc,zhCN:()=>ac,zhTW:()=>cc}),hc=o((()=>{_a(),ba(),wa(),Da(),Aa(),Na(),Ia(),za(),Ha(),Ga(),Ja(),Za(),eo(),ro(),oo(),lo(),po(),go(),yo(),wo(),Do(),Ao(),No(),Io(),zo(),Wo(),Ho(),qo(),Qo(),ts(),is(),ss(),us(),ps(),gs(),ys(),Ss(),Ts(),ks(),Ms(),Fs(),Rs(),Vs(),Ws(),Ys(),qs(),Qs(),tc(),ic(),sc(),uc(),pc()}));function gc(){return new bc}var _c,vc,yc,bc,xc,Sc=o((()=>{vc=Symbol(`ZodOutput`),yc=Symbol(`ZodInput`),bc=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}},(_c=globalThis).__zod_globalRegistry??(_c.__zod_globalRegistry=gc()),xc=globalThis.__zod_globalRegistry}));function Cc(e,t){return new e({type:`string`,...N(t)})}function wc(e,t){return new e({type:`string`,coerce:!0,...N(t)})}function Tc(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...N(t)})}function R(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...N(t)})}function Ec(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...N(t)})}function Dc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...N(t)})}function Oc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...N(t)})}function kc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...N(t)})}function Ac(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...N(t)})}function jc(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...N(t)})}function Mc(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...N(t)})}function Nc(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...N(t)})}function Pc(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...N(t)})}function Fc(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...N(t)})}function Ic(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...N(t)})}function Lc(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...N(t)})}function Rc(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...N(t)})}function zc(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...N(t)})}function Bc(e,t){return new e({type:`string`,format:`mac`,check:`string_format`,abort:!1,...N(t)})}function Vc(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...N(t)})}function Hc(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...N(t)})}function Uc(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...N(t)})}function Wc(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...N(t)})}function Gc(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...N(t)})}function Kc(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...N(t)})}function qc(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...N(t)})}function Jc(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...N(t)})}function Yc(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...N(t)})}function Xc(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...N(t)})}function Zc(e,t){return new e({type:`number`,checks:[],...N(t)})}function Qc(e,t){return new e({type:`number`,coerce:!0,checks:[],...N(t)})}function $c(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...N(t)})}function el(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float32`,...N(t)})}function tl(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`float64`,...N(t)})}function nl(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`int32`,...N(t)})}function rl(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`uint32`,...N(t)})}function il(e,t){return new e({type:`boolean`,...N(t)})}function al(e,t){return new e({type:`boolean`,coerce:!0,...N(t)})}function ol(e,t){return new e({type:`bigint`,...N(t)})}function sl(e,t){return new e({type:`bigint`,coerce:!0,...N(t)})}function cl(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`int64`,...N(t)})}function ll(e,t){return new e({type:`bigint`,check:`bigint_format`,abort:!1,format:`uint64`,...N(t)})}function ul(e,t){return new e({type:`symbol`,...N(t)})}function dl(e,t){return new e({type:`undefined`,...N(t)})}function fl(e,t){return new e({type:`null`,...N(t)})}function pl(e){return new e({type:`any`})}function ml(e){return new e({type:`unknown`})}function hl(e,t){return new e({type:`never`,...N(t)})}function gl(e,t){return new e({type:`void`,...N(t)})}function _l(e,t){return new e({type:`date`,...N(t)})}function vl(e,t){return new e({type:`date`,coerce:!0,...N(t)})}function yl(e,t){return new e({type:`nan`,...N(t)})}function bl(e,t){return new $n({check:`less_than`,...N(t),value:e,inclusive:!1})}function xl(e,t){return new $n({check:`less_than`,...N(t),value:e,inclusive:!0})}function Sl(e,t){return new er({check:`greater_than`,...N(t),value:e,inclusive:!1})}function Cl(e,t){return new er({check:`greater_than`,...N(t),value:e,inclusive:!0})}function wl(e){return Sl(0,e)}function Tl(e){return bl(0,e)}function El(e){return xl(0,e)}function Dl(e){return Cl(0,e)}function Ol(e,t){return new tr({check:`multiple_of`,...N(t),value:e})}function kl(e,t){return new ir({check:`max_size`,...N(t),maximum:e})}function Al(e,t){return new ar({check:`min_size`,...N(t),minimum:e})}function jl(e,t){return new or({check:`size_equals`,...N(t),size:e})}function Ml(e,t){return new sr({check:`max_length`,...N(t),maximum:e})}function Nl(e,t){return new cr({check:`min_length`,...N(t),minimum:e})}function Pl(e,t){return new lr({check:`length_equals`,...N(t),length:e})}function Fl(e,t){return new dr({check:`string_format`,format:`regex`,...N(t),pattern:e})}function Il(e){return new fr({check:`string_format`,format:`lowercase`,...N(e)})}function Ll(e){return new pr({check:`string_format`,format:`uppercase`,...N(e)})}function Rl(e,t){return new mr({check:`string_format`,format:`includes`,...N(t),includes:e})}function zl(e,t){return new hr({check:`string_format`,format:`starts_with`,...N(t),prefix:e})}function Bl(e,t){return new gr({check:`string_format`,format:`ends_with`,...N(t),suffix:e})}function Vl(e,t,n){return new _r({check:`property`,property:e,schema:t,...N(n)})}function Hl(e,t){return new vr({check:`mime_type`,mime:e,...N(t)})}function Ul(e){return new yr({check:`overwrite`,tx:e})}function Wl(e){return Ul(t=>t.normalize(e))}function Gl(){return Ul(e=>e.trim())}function Kl(){return Ul(e=>e.toLowerCase())}function ql(){return Ul(e=>e.toUpperCase())}function Jl(){return Ul(e=>_e(e))}function Yl(e,t,n){return new e({type:`array`,element:t,...N(n)})}function Xl(e,t,n){return new e({type:`union`,options:t,...N(n)})}function Zl(e,t,n){return new e({type:`union`,options:t,inclusive:!1,...N(n)})}function Ql(e,t,n,r){return new e({type:`union`,options:n,discriminator:t,...N(r)})}function $l(e,t,n){return new e({type:`intersection`,left:t,right:n})}function eu(e,t,n,r){let i=n instanceof L;return new e({type:`tuple`,items:t,rest:i?n:null,...N(i?r:n)})}function tu(e,t,n,r){return new e({type:`record`,keyType:t,valueType:n,...N(r)})}function nu(e,t,n,r){return new e({type:`map`,keyType:t,valueType:n,...N(r)})}function ru(e,t,n){return new e({type:`set`,valueType:t,...N(n)})}function iu(e,t,n){return new e({type:`enum`,entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...N(n)})}function au(e,t,n){return new e({type:`enum`,entries:t,...N(n)})}function ou(e,t,n){return new e({type:`literal`,values:Array.isArray(t)?t:[t],...N(n)})}function su(e,t){return new e({type:`file`,...N(t)})}function cu(e,t){return new e({type:`transform`,transform:t})}function lu(e,t){return new e({type:`optional`,innerType:t})}function uu(e,t){return new e({type:`nullable`,innerType:t})}function du(e,t,n){return new e({type:`default`,innerType:t,get defaultValue(){return typeof n==`function`?n():be(n)}})}function fu(e,t,n){return new e({type:`nonoptional`,innerType:t,...N(n)})}function pu(e,t){return new e({type:`success`,innerType:t})}function mu(e,t,n){return new e({type:`catch`,innerType:t,catchValue:typeof n==`function`?n:()=>n})}function hu(e,t,n){return new e({type:`pipe`,in:t,out:n})}function gu(e,t){return new e({type:`readonly`,innerType:t})}function _u(e,t,n){return new e({type:`template_literal`,parts:t,...N(n)})}function vu(e,t){return new e({type:`lazy`,getter:t})}function yu(e,t){return new e({type:`promise`,innerType:t})}function bu(e,t,n){let r=N(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function xu(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...N(n)})}function Su(e,t){let n=Cu(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(Be(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(Be(r))}},e(t.value,t)),t);return n}function Cu(e,t){let n=new Zn({check:`custom`,...N(t)});return n._zod.check=e,n}function wu(e){let t=new Zn({check:`describe`});return t._zod.onattach=[t=>{let n=xc.get(t)??{};xc.add(t,{...n,description:e})}],t._zod.check=()=>{},t}function Tu(e){let t=new Zn({check:`meta`});return t._zod.onattach=[t=>{let n=xc.get(t)??{};xc.add(t,{...n,...e})}],t._zod.check=()=>{},t}function Eu(e,t){let n=N(t),r=n.truthy??[`true`,`1`,`yes`,`on`,`y`,`enabled`],i=n.falsy??[`false`,`0`,`no`,`off`,`n`,`disabled`];n.case!==`sensitive`&&(r=r.map(e=>typeof e==`string`?e.toLowerCase():e),i=i.map(e=>typeof e==`string`?e.toLowerCase():e));let a=new Set(r),o=new Set(i),s=e.Codec??oa,c=e.Boolean??wi,l=new s({type:`pipe`,in:new(e.String??Yr)({type:`string`,error:n.error}),out:new c({type:`boolean`,error:n.error}),transform:((e,t)=>{let r=e;return n.case!==`sensitive`&&(r=r.toLowerCase()),a.has(r)?!0:o.has(r)?!1:(t.issues.push({code:`invalid_value`,expected:`stringbool`,values:[...a,...o],input:t.value,inst:l,continue:!1}),{})}),reverseTransform:((e,t)=>e===!0?r[0]||`true`:i[0]||`false`),error:n.error});return l}function Du(e,t,n,r={}){let i=N(r),a={...N(r),check:`string_format`,type:`string`,format:t,fn:typeof n==`function`?n:e=>n.test(e),...i};return n instanceof RegExp&&(a.pattern=n),new e(a)}var Ou,ku=o((()=>{br(),Sc(),ma(),I(),Ou={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6}}));function Au(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??xc,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function ju(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,ju(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&Pu(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function Mu(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id \"${n}\" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>\n\nSet the \\`cycles\\` parameter to \\`\"ref\"\\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function Nu(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref&&n.def)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error(\"Schema is missing an `id` property\");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,\"~standard\",{value:{...t[`~standard`],jsonSchema:{input:Iu(t,`input`,e.processors),output:Iu(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function Pu(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return Pu(r.element,n);if(r.type===`set`)return Pu(r.valueType,n);if(r.type===`lazy`)return Pu(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type===\"default\"||r.type===`prefault`)return Pu(r.innerType,n);if(r.type===`intersection`)return Pu(r.left,n)||Pu(r.right,n);if(r.type===`record`||r.type===`map`)return Pu(r.keyType,n)||Pu(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:Pu(r.in,n)||Pu(r.out,n);if(r.type===`object`){for(let e in r.shape)if(Pu(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(Pu(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(Pu(e,n))return!0;return!!(r.rest&&Pu(r.rest,n))}return!1}var Fu,Iu,Lu=o((()=>{Sc(),Fu=(e,t={})=>n=>{let r=Au({...n,processors:t});return ju(e,r),Mu(r,e),Nu(r,e)},Iu=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=Au({...i??{},target:a,io:t,processors:n});return ju(e,o),Mu(o,e),Nu(o,e)}}));function Ru(e,t){if(`_idmap`in e){let n=e,r=Au({...t,processors:Td}),i={};for(let e of n._idmap.entries()){let[t,n]=e;ju(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;Mu(r,n),a[t]=Nu(r,n)}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=Au({...t,processors:Td});return ju(e,n),Mu(n,e),Nu(n,e)}var zu,Bu,Vu,Hu,Uu,Wu,Gu,Ku,qu,Ju,Yu,Xu,Zu,Qu,$u,ed,td,nd,rd,id,ad,od,sd,cd,ld,ud,dd,fd,pd,md,hd,gd,_d,vd,yd,bd,xd,Sd,Cd,wd,Td,Ed=o((()=>{Lu(),I(),zu={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},Bu=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=zu[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},Vu=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`;let d=typeof u==`number`&&u>=(a??-1/0),f=typeof l==`number`&&l<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;d?p?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l:typeof o==`number`&&(i.maximum=o),typeof c==`number`&&(i.multipleOf=c)},Hu=(e,t,n,r)=>{n.type=`boolean`},Uu=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`)},Wu=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`)},Gu=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},Ku=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},qu=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},Ju=(e,t,n,r)=>{n.not={}},Yu=(e,t,n,r)=>{},Xu=(e,t,n,r)=>{},Zu=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},Qu=(e,t,n,r)=>{let i=e._zod.def,a=re(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},$u=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error(\"Literal `undefined` cannot be represented in JSON Schema\")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},ed=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`)},td=(e,t,n,r)=>{let i=n,a=e._zod.pattern;if(!a)throw Error(`Pattern not found in template literal`);i.type=`string`,i.pattern=a.source},nd=(e,t,n,r)=>{let i=n,a={type:`string`,format:`binary`,contentEncoding:`binary`},{minimum:o,maximum:s,mime:c}=e._zod.bag;o!==void 0&&(a.minLength=o),s!==void 0&&(a.maxLength=s),c?c.length===1?(a.contentMediaType=c[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=c.map(e=>({contentMediaType:e}))):Object.assign(i,a)},rd=(e,t,n,r)=>{n.type=`boolean`},id=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},ad=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},od=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},sd=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`)},cd=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`)},ld=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=ju(a.element,t,{...r,path:[...r.path,`items`]})},ud=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=ju(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=ju(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},dd=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>ju(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},fd=(e,t,n,r)=>{let i=e._zod.def,a=ju(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=ju(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},pd=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>ju(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?ju(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},md=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=ju(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else (t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=ju(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=ju(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},hd=(e,t,n,r)=>{let i=e._zod.def,a=ju(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},gd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},_d=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},vd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},yd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},bd=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;ju(o,t,r);let s=t.seen.get(e);s.ref=o},xd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Sd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Cd=(e,t,n,r)=>{let i=e._zod.def;ju(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},wd=(e,t,n,r)=>{let i=e._zod.innerType;ju(i,t,r);let a=t.seen.get(e);a.ref=i},Td={string:Bu,number:Vu,boolean:Hu,bigint:Uu,symbol:Wu,null:Gu,undefined:Ku,void:qu,never:Ju,any:Yu,unknown:Xu,date:Zu,enum:Qu,literal:$u,nan:ed,template_literal:td,file:nd,success:rd,custom:id,function:ad,transform:od,map:sd,set:cd,array:ld,object:ud,union:dd,intersection:fd,tuple:pd,record:md,nullable:hd,nonoptional:gd,default:_d,prefault:vd,catch:yd,pipe:bd,readonly:xd,promise:Sd,optional:Cd,lazy:wd}})),Dd,Od=o((()=>{Ed(),Lu(),Dd=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??`draft-2020-12`;t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),this.ctx=Au({processors:Td,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return ju(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),Mu(this.ctx,e);let{\"~standard\":n,...r}=Nu(this.ctx,e);return r}}})),kd=c({}),Ad=o((()=>{})),jd=c({$ZodAny:()=>Ai,$ZodArray:()=>Fi,$ZodAsyncError:()=>w,$ZodBase64:()=>_i,$ZodBase64URL:()=>vi,$ZodBigInt:()=>Ti,$ZodBigIntFormat:()=>Ei,$ZodBoolean:()=>wi,$ZodCIDRv4:()=>hi,$ZodCIDRv6:()=>gi,$ZodCUID:()=>ri,$ZodCUID2:()=>ii,$ZodCatch:()=>ra,$ZodCheck:()=>Zn,$ZodCheckBigIntFormat:()=>rr,$ZodCheckEndsWith:()=>gr,$ZodCheckGreaterThan:()=>er,$ZodCheckIncludes:()=>mr,$ZodCheckLengthEquals:()=>lr,$ZodCheckLessThan:()=>$n,$ZodCheckLowerCase:()=>fr,$ZodCheckMaxLength:()=>sr,$ZodCheckMaxSize:()=>ir,$ZodCheckMimeType:()=>vr,$ZodCheckMinLength:()=>cr,$ZodCheckMinSize:()=>ar,$ZodCheckMultipleOf:()=>tr,$ZodCheckNumberFormat:()=>nr,$ZodCheckOverwrite:()=>yr,$ZodCheckProperty:()=>_r,$ZodCheckRegex:()=>dr,$ZodCheckSizeEquals:()=>or,$ZodCheckStartsWith:()=>hr,$ZodCheckStringFormat:()=>ur,$ZodCheckUpperCase:()=>pr,$ZodCodec:()=>oa,$ZodCustom:()=>pa,$ZodCustomStringFormat:()=>xi,$ZodDate:()=>Pi,$ZodDefault:()=>$i,$ZodDiscriminatedUnion:()=>Bi,$ZodE164:()=>yi,$ZodEmail:()=>$r,$ZodEmoji:()=>ti,$ZodEncodeError:()=>T,$ZodEnum:()=>Ki,$ZodError:()=>lt,$ZodExactOptional:()=>Zi,$ZodFile:()=>Ji,$ZodFunction:()=>ua,$ZodGUID:()=>Zr,$ZodIPv4:()=>fi,$ZodIPv6:()=>pi,$ZodISODate:()=>li,$ZodISODateTime:()=>ci,$ZodISODuration:()=>di,$ZodISOTime:()=>ui,$ZodIntersection:()=>Vi,$ZodJWT:()=>bi,$ZodKSUID:()=>si,$ZodLazy:()=>fa,$ZodLiteral:()=>qi,$ZodMAC:()=>mi,$ZodMap:()=>Wi,$ZodNaN:()=>ia,$ZodNanoID:()=>ni,$ZodNever:()=>Mi,$ZodNonOptional:()=>ta,$ZodNull:()=>ki,$ZodNullable:()=>Qi,$ZodNumber:()=>Si,$ZodNumberFormat:()=>Ci,$ZodObject:()=>Ii,$ZodObjectJIT:()=>Li,$ZodOptional:()=>Xi,$ZodPipe:()=>aa,$ZodPrefault:()=>ea,$ZodPreprocess:()=>sa,$ZodPromise:()=>da,$ZodReadonly:()=>ca,$ZodRealError:()=>ut,$ZodRecord:()=>Ui,$ZodRegistry:()=>bc,$ZodSet:()=>Gi,$ZodString:()=>Yr,$ZodStringFormat:()=>Xr,$ZodSuccess:()=>na,$ZodSymbol:()=>Di,$ZodTemplateLiteral:()=>la,$ZodTransform:()=>Yi,$ZodTuple:()=>Hi,$ZodType:()=>L,$ZodULID:()=>ai,$ZodURL:()=>ei,$ZodUUID:()=>Qr,$ZodUndefined:()=>Oi,$ZodUnion:()=>Ri,$ZodUnknown:()=>ji,$ZodVoid:()=>Ni,$ZodXID:()=>oi,$ZodXor:()=>zi,$brand:()=>C,$constructor:()=>y,$input:()=>yc,$output:()=>vc,Doc:()=>xr,JSONSchema:()=>kd,JSONSchemaGenerator:()=>Dd,NEVER:()=>S,TimePrecision:()=>Ou,_any:()=>pl,_array:()=>Yl,_base64:()=>Uc,_base64url:()=>Wc,_bigint:()=>ol,_boolean:()=>il,_catch:()=>mu,_check:()=>Cu,_cidrv4:()=>Vc,_cidrv6:()=>Hc,_coercedBigint:()=>sl,_coercedBoolean:()=>al,_coercedDate:()=>vl,_coercedNumber:()=>Qc,_coercedString:()=>wc,_cuid:()=>Nc,_cuid2:()=>Pc,_custom:()=>bu,_date:()=>_l,_decode:()=>St,_decodeAsync:()=>Et,_default:()=>du,_discriminatedUnion:()=>Ql,_e164:()=>Gc,_email:()=>Tc,_emoji:()=>jc,_encode:()=>bt,_encodeAsync:()=>wt,_endsWith:()=>Bl,_enum:()=>iu,_file:()=>su,_float32:()=>el,_float64:()=>tl,_gt:()=>Sl,_gte:()=>Cl,_guid:()=>R,_includes:()=>Rl,_int:()=>$c,_int32:()=>nl,_int64:()=>cl,_intersection:()=>$l,_ipv4:()=>Rc,_ipv6:()=>zc,_isoDate:()=>Jc,_isoDateTime:()=>qc,_isoDuration:()=>Xc,_isoTime:()=>Yc,_jwt:()=>Kc,_ksuid:()=>Lc,_lazy:()=>vu,_length:()=>Pl,_literal:()=>ou,_lowercase:()=>Il,_lt:()=>bl,_lte:()=>xl,_mac:()=>Bc,_map:()=>nu,_max:()=>xl,_maxLength:()=>Ml,_maxSize:()=>kl,_mime:()=>Hl,_min:()=>Cl,_minLength:()=>Nl,_minSize:()=>Al,_multipleOf:()=>Ol,_nan:()=>yl,_nanoid:()=>Mc,_nativeEnum:()=>au,_negative:()=>Tl,_never:()=>hl,_nonnegative:()=>Dl,_nonoptional:()=>fu,_nonpositive:()=>El,_normalize:()=>Wl,_null:()=>fl,_nullable:()=>uu,_number:()=>Zc,_optional:()=>lu,_overwrite:()=>Ul,_parse:()=>ft,_parseAsync:()=>mt,_pipe:()=>hu,_positive:()=>wl,_promise:()=>yu,_property:()=>Vl,_readonly:()=>gu,_record:()=>tu,_refine:()=>xu,_regex:()=>Fl,_safeDecode:()=>At,_safeDecodeAsync:()=>Pt,_safeEncode:()=>Ot,_safeEncodeAsync:()=>Mt,_safeParse:()=>gt,_safeParseAsync:()=>vt,_set:()=>ru,_size:()=>jl,_slugify:()=>Jl,_startsWith:()=>zl,_string:()=>Cc,_stringFormat:()=>Du,_stringbool:()=>Eu,_success:()=>pu,_superRefine:()=>Su,_symbol:()=>ul,_templateLiteral:()=>_u,_toLowerCase:()=>Kl,_toUpperCase:()=>ql,_transform:()=>cu,_trim:()=>Gl,_tuple:()=>eu,_uint32:()=>rl,_uint64:()=>ll,_ulid:()=>Fc,_undefined:()=>dl,_union:()=>Xl,_unknown:()=>ml,_uppercase:()=>Ll,_url:()=>Ac,_uuid:()=>Ec,_uuidv4:()=>Dc,_uuidv6:()=>Oc,_uuidv7:()=>kc,_void:()=>gl,_xid:()=>Ic,_xor:()=>Zl,clone:()=>Ce,config:()=>b,createStandardJSONSchemaMethod:()=>Iu,createToJSONSchemaMethod:()=>Fu,decode:()=>Ct,decodeAsync:()=>Dt,describe:()=>wu,encode:()=>xt,encodeAsync:()=>Tt,extractDefs:()=>Mu,finalize:()=>Nu,flattenError:()=>rt,formatError:()=>it,globalConfig:()=>E,globalRegistry:()=>xc,initializeContext:()=>Au,isValidBase64:()=>Tr,isValidBase64URL:()=>Er,isValidJWT:()=>Dr,locales:()=>mc,meta:()=>Tu,parse:()=>pt,parseAsync:()=>ht,prettifyError:()=>st,process:()=>ju,regexes:()=>Lt,registry:()=>gc,safeDecode:()=>jt,safeDecodeAsync:()=>Ft,safeEncode:()=>kt,safeEncodeAsync:()=>Nt,safeParse:()=>_t,safeParseAsync:()=>yt,toDotPath:()=>ot,toJSONSchema:()=>Ru,treeifyError:()=>at,util:()=>O,version:()=>Cr}),Md=o((()=>{D(),It(),dt(),ma(),br(),wr(),I(),Yn(),hc(),Sc(),Sr(),ku(),Lu(),Ed(),Od(),Ad()})),z=u(p(),1),eee=v();ku(),I(),Yn(),D(),It(),Ed(),dt(),hc(),Md(),Sc();function Nd(e){return!!e._zod}function Pd(e,t){return Nd(e)?_t(e,t):e.safeParse(t)}function Fd(e){if(!e)return;let t;if(t=Nd(e)?e._zod?.def?.shape:e.shape,t){if(typeof t==`function`)try{return t()}catch{return}return t}}function Id(e){if(Nd(e)){let t=e._zod?.def;if(t){if(t.value!==void 0)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}}let t=e._def;if(t){if(t.value!==void 0)return t.value;if(Array.isArray(t.values)&&t.values.length>0)return t.values[0]}let n=e.value;if(n!==void 0)return n}var Ld=c({endsWith:()=>Bl,gt:()=>Sl,gte:()=>Cl,includes:()=>Rl,length:()=>Pl,lowercase:()=>Il,lt:()=>bl,lte:()=>xl,maxLength:()=>Ml,maxSize:()=>kl,mime:()=>Hl,minLength:()=>Nl,minSize:()=>Al,multipleOf:()=>Ol,negative:()=>Tl,nonnegative:()=>Dl,nonpositive:()=>El,normalize:()=>Wl,overwrite:()=>Ul,positive:()=>wl,property:()=>Vl,regex:()=>Fl,size:()=>jl,slugify:()=>Jl,startsWith:()=>zl,toLowerCase:()=>Kl,toUpperCase:()=>ql,trim:()=>Gl,uppercase:()=>Ll}),Rd=o((()=>{Md()})),zd=c({ZodISODate:()=>Gd,ZodISODateTime:()=>Wd,ZodISODuration:()=>qd,ZodISOTime:()=>Kd,date:()=>Vd,datetime:()=>Bd,duration:()=>Ud,time:()=>Hd});function Bd(e){return qc(Wd,e)}function Vd(e){return Jc(Gd,e)}function Hd(e){return Yc(Kd,e)}function Ud(e){return Xc(qd,e)}var Wd,Gd,Kd,qd,Jd=o((()=>{Md(),ph(),Wd=y(`ZodISODateTime`,(e,t)=>{ci.init(e,t),Zp.init(e,t)}),Gd=y(`ZodISODate`,(e,t)=>{li.init(e,t),Zp.init(e,t)}),Kd=y(`ZodISOTime`,(e,t)=>{ui.init(e,t),Zp.init(e,t)}),qd=y(`ZodISODuration`,(e,t)=>{di.init(e,t),Zp.init(e,t)})})),Yd,Xd,Zd,Qd=o((()=>{Md(),I(),Yd=(e,t)=>{lt.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>it(e,t)},flatten:{value:t=>rt(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,ie,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,ie,2)}},isEmpty:{get(){return e.issues.length===0}}})},Xd=y(`ZodError`,Yd),Zd=y(`ZodError`,Yd,{Parent:Error})})),$d,ef,tf,nf,rf,af,of,sf,cf,lf,uf,df,ff=o((()=>{Md(),Qd(),$d=ft(Zd),ef=mt(Zd),tf=gt(Zd),nf=vt(Zd),rf=bt(Zd),af=St(Zd),of=wt(Zd),sf=Et(Zd),cf=Ot(Zd),lf=At(Zd),uf=Mt(Zd),df=Pt(Zd)})),pf=c({ZodAny:()=>Dm,ZodArray:()=>Mm,ZodBase64:()=>mm,ZodBase64URL:()=>hm,ZodBigInt:()=>Sm,ZodBigIntFormat:()=>Cm,ZodBoolean:()=>xm,ZodCIDRv4:()=>fm,ZodCIDRv6:()=>pm,ZodCUID:()=>im,ZodCUID2:()=>am,ZodCatch:()=>$m,ZodCodec:()=>nh,ZodCustom:()=>lh,ZodCustomStringFormat:()=>vm,ZodDate:()=>jm,ZodDefault:()=>Ym,ZodDiscriminatedUnion:()=>Im,ZodE164:()=>gm,ZodEmail:()=>Qp,ZodEmoji:()=>nm,ZodEnum:()=>Hm,ZodExactOptional:()=>qm,ZodFile:()=>Wm,ZodFunction:()=>ch,ZodGUID:()=>$p,ZodIPv4:()=>lm,ZodIPv6:()=>dm,ZodIntersection:()=>Lm,ZodJWT:()=>_m,ZodKSUID:()=>cm,ZodLazy:()=>oh,ZodLiteral:()=>Um,ZodMAC:()=>um,ZodMap:()=>Bm,ZodNaN:()=>eh,ZodNanoID:()=>rm,ZodNever:()=>km,ZodNonOptional:()=>Zm,ZodNull:()=>Em,ZodNullable:()=>Jm,ZodNumber:()=>ym,ZodNumberFormat:()=>bm,ZodObject:()=>Nm,ZodOptional:()=>Km,ZodPipe:()=>th,ZodPrefault:()=>Xm,ZodPreprocess:()=>rh,ZodPromise:()=>sh,ZodReadonly:()=>ih,ZodRecord:()=>zm,ZodSet:()=>Vm,ZodString:()=>Xp,ZodStringFormat:()=>Zp,ZodSuccess:()=>Qm,ZodSymbol:()=>wm,ZodTemplateLiteral:()=>ah,ZodTransform:()=>Gm,ZodTuple:()=>Rm,ZodType:()=>Jp,ZodULID:()=>om,ZodURL:()=>tm,ZodUUID:()=>em,ZodUndefined:()=>Tm,ZodUnion:()=>Pm,ZodUnknown:()=>Om,ZodVoid:()=>Am,ZodXID:()=>sm,ZodXor:()=>Fm,_ZodString:()=>Yp,_default:()=>Ep,_function:()=>zp,any:()=>tp,array:()=>H,base64:()=>Ff,base64url:()=>If,bigint:()=>Yf,boolean:()=>Jf,catch:()=>Ap,check:()=>Bp,cidrv4:()=>Nf,cidrv6:()=>Pf,codec:()=>Np,cuid:()=>Tf,cuid2:()=>Ef,custom:()=>Vp,date:()=>ap,describe:()=>uh,discriminatedUnion:()=>up,e164:()=>Lf,email:()=>hf,emoji:()=>Cf,enum:()=>vp,exactOptional:()=>Cp,file:()=>bp,float32:()=>Wf,float64:()=>Gf,function:()=>zp,guid:()=>gf,hash:()=>Hf,hex:()=>Vf,hostname:()=>Bf,httpUrl:()=>Sf,instanceof:()=>Wp,int:()=>Uf,int32:()=>Kf,int64:()=>Xf,intersection:()=>dp,invertCodec:()=>Pp,ipv4:()=>Af,ipv6:()=>Mf,json:()=>Gp,jwt:()=>Rf,keyof:()=>op,ksuid:()=>kf,lazy:()=>Lp,literal:()=>G,looseObject:()=>cp,looseRecord:()=>hp,mac:()=>jf,map:()=>gp,meta:()=>dh,nan:()=>jp,nanoid:()=>wf,nativeEnum:()=>yp,never:()=>rp,nonoptional:()=>Op,null:()=>ep,nullable:()=>wp,nullish:()=>Tp,number:()=>V,object:()=>U,optional:()=>Sp,partialRecord:()=>mp,pipe:()=>Mp,prefault:()=>Dp,preprocess:()=>Kp,promise:()=>Rp,readonly:()=>Fp,record:()=>pp,refine:()=>Hp,set:()=>_p,strictObject:()=>sp,string:()=>B,stringFormat:()=>zf,stringbool:()=>fh,success:()=>kp,superRefine:()=>Up,symbol:()=>Qf,templateLiteral:()=>Ip,transform:()=>xp,tuple:()=>fp,uint32:()=>qf,uint64:()=>Zf,ulid:()=>Df,undefined:()=>$f,union:()=>W,unknown:()=>np,url:()=>xf,uuid:()=>_f,uuidv4:()=>vf,uuidv6:()=>yf,uuidv7:()=>bf,void:()=>ip,xid:()=>Of,xor:()=>lp});function mf(e,t,n){let r=Object.getPrototypeOf(e),i=qp.get(r);if(i||(i=new Set,qp.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}function B(e){return Cc(Xp,e)}function hf(e){return Tc(Qp,e)}function gf(e){return R($p,e)}function _f(e){return Ec(em,e)}function vf(e){return Dc(em,e)}function yf(e){return Oc(em,e)}function bf(e){return kc(em,e)}function xf(e){return Ac(tm,e)}function Sf(e){return Ac(tm,{protocol:bn,hostname:yn,...N(e)})}function Cf(e){return jc(nm,e)}function wf(e){return Mc(rm,e)}function Tf(e){return Nc(im,e)}function Ef(e){return Pc(am,e)}function Df(e){return Fc(om,e)}function Of(e){return Ic(sm,e)}function kf(e){return Lc(cm,e)}function Af(e){return Rc(lm,e)}function jf(e){return Bc(um,e)}function Mf(e){return zc(dm,e)}function Nf(e){return Vc(fm,e)}function Pf(e){return Hc(pm,e)}function Ff(e){return Uc(mm,e)}function If(e){return Wc(hm,e)}function Lf(e){return Gc(gm,e)}function Rf(e){return Kc(_m,e)}function zf(e,t,n={}){return Du(vm,e,t,n)}function Bf(e){return Du(vm,`hostname`,vn,e)}function Vf(e){return Du(vm,`hex`,Nn,e)}function Hf(e,t){let n=`${e}_${t?.enc??`hex`}`,r=Lt[n];if(!r)throw Error(`Unrecognized hash format: ${n}`);return Du(vm,n,r,t)}function V(e){return Zc(ym,e)}function Uf(e){return $c(bm,e)}function Wf(e){return el(bm,e)}function Gf(e){return tl(bm,e)}function Kf(e){return nl(bm,e)}function qf(e){return rl(bm,e)}function Jf(e){return il(xm,e)}function Yf(e){return ol(Sm,e)}function Xf(e){return cl(Cm,e)}function Zf(e){return ll(Cm,e)}function Qf(e){return ul(wm,e)}function $f(e){return dl(Tm,e)}function ep(e){return fl(Em,e)}function tp(){return pl(Dm)}function np(){return ml(Om)}function rp(e){return hl(km,e)}function ip(e){return gl(Am,e)}function ap(e){return _l(jm,e)}function H(e,t){return Yl(Mm,e,t)}function op(e){let t=e._zod.def.shape;return vp(Object.keys(t))}function U(e,t){return new Nm({type:`object`,shape:e??{},...N(t)})}function sp(e,t){return new Nm({type:`object`,shape:e,catchall:rp(),...N(t)})}function cp(e,t){return new Nm({type:`object`,shape:e,catchall:np(),...N(t)})}function W(e,t){return new Pm({type:`union`,options:e,...N(t)})}function lp(e,t){return new Fm({type:`union`,options:e,inclusive:!1,...N(t)})}function up(e,t,n){return new Im({type:`union`,options:t,discriminator:e,...N(n)})}function dp(e,t){return new Lm({type:`intersection`,left:e,right:t})}function fp(e,t,n){let r=t instanceof L;return new Rm({type:`tuple`,items:e,rest:r?t:null,...N(r?n:t)})}function pp(e,t,n){return!t||!t._zod?new zm({type:`record`,keyType:B(),valueType:e,...N(t)}):new zm({type:`record`,keyType:e,valueType:t,...N(n)})}function mp(e,t,n){let r=Ce(e);return r._zod.values=void 0,new zm({type:`record`,keyType:r,valueType:t,...N(n)})}function hp(e,t,n){return new zm({type:`record`,keyType:e,valueType:t,mode:`loose`,...N(n)})}function gp(e,t,n){return new Bm({type:`map`,keyType:e,valueType:t,...N(n)})}function _p(e,t){return new Vm({type:`set`,valueType:e,...N(t)})}function vp(e,t){return new Hm({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...N(t)})}function yp(e,t){return new Hm({type:`enum`,entries:e,...N(t)})}function G(e,t){return new Um({type:`literal`,values:Array.isArray(e)?e:[e],...N(t)})}function bp(e){return su(Wm,e)}function xp(e){return new Gm({type:`transform`,transform:e})}function Sp(e){return new Km({type:`optional`,innerType:e})}function Cp(e){return new qm({type:`optional`,innerType:e})}function wp(e){return new Jm({type:`nullable`,innerType:e})}function Tp(e){return Sp(wp(e))}function Ep(e,t){return new Ym({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():be(t)}})}function Dp(e,t){return new Xm({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():be(t)}})}function Op(e,t){return new Zm({type:`nonoptional`,innerType:e,...N(t)})}function kp(e){return new Qm({type:`success`,innerType:e})}function Ap(e,t){return new $m({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}function jp(e){return yl(eh,e)}function Mp(e,t){return new th({type:`pipe`,in:e,out:t})}function Np(e,t,n){return new nh({type:`pipe`,in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function Pp(e){let t=e._zod.def;return new nh({type:`pipe`,in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}function Fp(e){return new ih({type:`readonly`,innerType:e})}function Ip(e,t){return new ah({type:`template_literal`,parts:e,...N(t)})}function Lp(e){return new oh({type:`lazy`,getter:e})}function Rp(e){return new sh({type:`promise`,innerType:e})}function zp(e){return new ch({type:`function`,input:Array.isArray(e?.input)?fp(e?.input):e?.input??H(np()),output:e?.output??np()})}function Bp(e){let t=new Zn({check:`custom`});return t._zod.check=e,t}function Vp(e,t){return bu(lh,e??(()=>!0),t)}function Hp(e,t={}){return xu(lh,e,t)}function Up(e,t){return Su(e,t)}function Wp(e,t={}){let n=new lh({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...N(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}function Gp(e){let t=Lp(()=>W([B(e),V(),Jf(),ep(),H(t),pp(B(),t)]));return t}function Kp(e,t){return new rh({type:`pipe`,in:xp(e),out:t})}var qp,Jp,Yp,Xp,Zp,Qp,$p,em,tm,nm,rm,im,am,om,sm,cm,lm,um,dm,fm,pm,mm,hm,gm,_m,vm,ym,bm,xm,Sm,Cm,wm,Tm,Em,Dm,Om,km,Am,jm,Mm,Nm,Pm,Fm,Im,Lm,Rm,zm,Bm,Vm,Hm,Um,Wm,Gm,Km,qm,Jm,Ym,Xm,Zm,Qm,$m,eh,th,nh,rh,ih,ah,oh,sh,ch,lh,uh,dh,fh,ph=o((()=>{Md(),Ed(),Lu(),Rd(),Jd(),ff(),qp=new WeakMap,Jp=y(`ZodType`,(e,t)=>(L.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:Iu(e,`input`),output:Iu(e,`output`)}}),e.toJSONSchema=Fu(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,\"_def\",{value:t}),e.parse=(t,n)=>$d(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>tf(e,t,n),e.parseAsync=async(t,n)=>ef(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>nf(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>rf(e,t,n),e.decode=(t,n)=>af(e,t,n),e.encodeAsync=async(t,n)=>of(e,t,n),e.decodeAsync=async(t,n)=>sf(e,t,n),e.safeEncode=(t,n)=>cf(e,t,n),e.safeDecode=(t,n)=>lf(e,t,n),e.safeEncodeAsync=async(t,n)=>uf(e,t,n),e.safeDecodeAsync=async(t,n)=>df(e,t,n),mf(e,`ZodType`,{check(...e){let t=this.def;return this.clone(de(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Ce(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Hp(e,t))},superRefine(e,t){return this.check(Up(e,t))},overwrite(e){return this.check(Ul(e))},optional(){return Sp(this)},exactOptional(){return Cp(this)},nullable(){return wp(this)},nullish(){return Sp(wp(this))},nonoptional(e){return Op(this,e)},array(){return H(this)},or(e){return W([this,e])},and(e){return dp(this,e)},transform(e){return Mp(this,xp(e))},default(e){return Ep(this,e)},prefault(e){return Dp(this,e)},catch(e){return Ap(this,e)},pipe(e){return Mp(this,e)},readonly(){return Fp(this)},describe(e){let t=this.clone();return xc.add(t,{description:e}),t},meta(...e){if(e.length===0)return xc.get(this);let t=this.clone();return xc.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,\"description\",{get(){return xc.get(e)?.description},configurable:!0}),e)),Yp=y(`_ZodString`,(e,t)=>{Yr.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Bu(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,mf(e,`_ZodString`,{regex(...e){return this.check(Fl(...e))},includes(...e){return this.check(Rl(...e))},startsWith(...e){return this.check(zl(...e))},endsWith(...e){return this.check(Bl(...e))},min(...e){return this.check(Nl(...e))},max(...e){return this.check(Ml(...e))},length(...e){return this.check(Pl(...e))},nonempty(...e){return this.check(Nl(1,...e))},lowercase(e){return this.check(Il(e))},uppercase(e){return this.check(Ll(e))},trim(){return this.check(Gl())},normalize(...e){return this.check(Wl(...e))},toLowerCase(){return this.check(Kl())},toUpperCase(){return this.check(ql())},slugify(){return this.check(Jl())}})}),Xp=y(`ZodString`,(e,t)=>{Yr.init(e,t),Yp.init(e,t),e.email=t=>e.check(Tc(Qp,t)),e.url=t=>e.check(Ac(tm,t)),e.jwt=t=>e.check(Kc(_m,t)),e.emoji=t=>e.check(jc(nm,t)),e.guid=t=>e.check(R($p,t)),e.uuid=t=>e.check(Ec(em,t)),e.uuidv4=t=>e.check(Dc(em,t)),e.uuidv6=t=>e.check(Oc(em,t)),e.uuidv7=t=>e.check(kc(em,t)),e.nanoid=t=>e.check(Mc(rm,t)),e.guid=t=>e.check(R($p,t)),e.cuid=t=>e.check(Nc(im,t)),e.cuid2=t=>e.check(Pc(am,t)),e.ulid=t=>e.check(Fc(om,t)),e.base64=t=>e.check(Uc(mm,t)),e.base64url=t=>e.check(Wc(hm,t)),e.xid=t=>e.check(Ic(sm,t)),e.ksuid=t=>e.check(Lc(cm,t)),e.ipv4=t=>e.check(Rc(lm,t)),e.ipv6=t=>e.check(zc(dm,t)),e.cidrv4=t=>e.check(Vc(fm,t)),e.cidrv6=t=>e.check(Hc(pm,t)),e.e164=t=>e.check(Gc(gm,t)),e.datetime=t=>e.check(Bd(t)),e.date=t=>e.check(Vd(t)),e.time=t=>e.check(Hd(t)),e.duration=t=>e.check(Ud(t))}),Zp=y(`ZodStringFormat`,(e,t)=>{Xr.init(e,t),Yp.init(e,t)}),Qp=y(`ZodEmail`,(e,t)=>{$r.init(e,t),Zp.init(e,t)}),$p=y(`ZodGUID`,(e,t)=>{Zr.init(e,t),Zp.init(e,t)}),em=y(`ZodUUID`,(e,t)=>{Qr.init(e,t),Zp.init(e,t)}),tm=y(`ZodURL`,(e,t)=>{ei.init(e,t),Zp.init(e,t)}),nm=y(`ZodEmoji`,(e,t)=>{ti.init(e,t),Zp.init(e,t)}),rm=y(`ZodNanoID`,(e,t)=>{ni.init(e,t),Zp.init(e,t)}),im=y(`ZodCUID`,(e,t)=>{ri.init(e,t),Zp.init(e,t)}),am=y(`ZodCUID2`,(e,t)=>{ii.init(e,t),Zp.init(e,t)}),om=y(`ZodULID`,(e,t)=>{ai.init(e,t),Zp.init(e,t)}),sm=y(`ZodXID`,(e,t)=>{oi.init(e,t),Zp.init(e,t)}),cm=y(`ZodKSUID`,(e,t)=>{si.init(e,t),Zp.init(e,t)}),lm=y(`ZodIPv4`,(e,t)=>{fi.init(e,t),Zp.init(e,t)}),um=y(`ZodMAC`,(e,t)=>{mi.init(e,t),Zp.init(e,t)}),dm=y(`ZodIPv6`,(e,t)=>{pi.init(e,t),Zp.init(e,t)}),fm=y(`ZodCIDRv4`,(e,t)=>{hi.init(e,t),Zp.init(e,t)}),pm=y(`ZodCIDRv6`,(e,t)=>{gi.init(e,t),Zp.init(e,t)}),mm=y(`ZodBase64`,(e,t)=>{_i.init(e,t),Zp.init(e,t)}),hm=y(`ZodBase64URL`,(e,t)=>{vi.init(e,t),Zp.init(e,t)}),gm=y(`ZodE164`,(e,t)=>{yi.init(e,t),Zp.init(e,t)}),_m=y(`ZodJWT`,(e,t)=>{bi.init(e,t),Zp.init(e,t)}),vm=y(`ZodCustomStringFormat`,(e,t)=>{xi.init(e,t),Zp.init(e,t)}),ym=y(`ZodNumber`,(e,t)=>{Si.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vu(e,t,n,r),mf(e,`ZodNumber`,{gt(e,t){return this.check(Sl(e,t))},gte(e,t){return this.check(Cl(e,t))},min(e,t){return this.check(Cl(e,t))},lt(e,t){return this.check(bl(e,t))},lte(e,t){return this.check(xl(e,t))},max(e,t){return this.check(xl(e,t))},int(e){return this.check(Uf(e))},safe(e){return this.check(Uf(e))},positive(e){return this.check(Sl(0,e))},nonnegative(e){return this.check(Cl(0,e))},negative(e){return this.check(bl(0,e))},nonpositive(e){return this.check(xl(0,e))},multipleOf(e,t){return this.check(Ol(e,t))},step(e,t){return this.check(Ol(e,t))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null}),bm=y(`ZodNumberFormat`,(e,t)=>{Ci.init(e,t),ym.init(e,t)}),xm=y(`ZodBoolean`,(e,t)=>{wi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Hu(e,t,n,r)}),Sm=y(`ZodBigInt`,(e,t)=>{Ti.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Uu(e,t,n,r),e.gte=(t,n)=>e.check(Cl(t,n)),e.min=(t,n)=>e.check(Cl(t,n)),e.gt=(t,n)=>e.check(Sl(t,n)),e.gte=(t,n)=>e.check(Cl(t,n)),e.min=(t,n)=>e.check(Cl(t,n)),e.lt=(t,n)=>e.check(bl(t,n)),e.lte=(t,n)=>e.check(xl(t,n)),e.max=(t,n)=>e.check(xl(t,n)),e.positive=t=>e.check(Sl(BigInt(0),t)),e.negative=t=>e.check(bl(BigInt(0),t)),e.nonpositive=t=>e.check(xl(BigInt(0),t)),e.nonnegative=t=>e.check(Cl(BigInt(0),t)),e.multipleOf=(t,n)=>e.check(Ol(t,n));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null}),Cm=y(`ZodBigIntFormat`,(e,t)=>{Ei.init(e,t),Sm.init(e,t)}),wm=y(`ZodSymbol`,(e,t)=>{Di.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Wu(e,t,n,r)}),Tm=y(`ZodUndefined`,(e,t)=>{Oi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ku(e,t,n,r)}),Em=y(`ZodNull`,(e,t)=>{ki.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gu(e,t,n,r)}),Dm=y(`ZodAny`,(e,t)=>{Ai.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Yu(e,t,n,r)}),Om=y(`ZodUnknown`,(e,t)=>{ji.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xu(e,t,n,r)}),km=y(`ZodNever`,(e,t)=>{Mi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ju(e,t,n,r)}),Am=y(`ZodVoid`,(e,t)=>{Ni.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>qu(e,t,n,r)}),jm=y(`ZodDate`,(e,t)=>{Pi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zu(e,t,n,r),e.min=(t,n)=>e.check(Cl(t,n)),e.max=(t,n)=>e.check(xl(t,n));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null}),Mm=y(`ZodArray`,(e,t)=>{Fi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ld(e,t,n,r),e.element=t.element,mf(e,`ZodArray`,{min(e,t){return this.check(Nl(e,t))},nonempty(e){return this.check(Nl(1,e))},max(e,t){return this.check(Ml(e,t))},length(e,t){return this.check(Pl(e,t))},unwrap(){return this.element}})}),Nm=y(`ZodObject`,(e,t)=>{Li.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ud(e,t,n,r),M(e,`shape`,()=>t.shape),mf(e,`ZodObject`,{keyof(){return vp(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:np()})},loose(){return this.clone({...this._zod.def,catchall:np()})},strict(){return this.clone({...this._zod.def,catchall:rp()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return Oe(this,e)},safeExtend(e){return ke(this,e)},merge(e){return Ae(this,e)},pick(e){return Ee(this,e)},omit(e){return De(this,e)},partial(...e){return je(Km,this,e[0])},required(...e){return Me(Zm,this,e[0])}})}),Pm=y(`ZodUnion`,(e,t)=>{Ri.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dd(e,t,n,r),e.options=t.options}),Fm=y(`ZodXor`,(e,t)=>{Pm.init(e,t),zi.init(e,t),e._zod.processJSONSchema=(t,n,r)=>dd(e,t,n,r),e.options=t.options}),Im=y(`ZodDiscriminatedUnion`,(e,t)=>{Pm.init(e,t),Bi.init(e,t)}),Lm=y(`ZodIntersection`,(e,t)=>{Vi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>fd(e,t,n,r)}),Rm=y(`ZodTuple`,(e,t)=>{Hi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>pd(e,t,n,r),e.rest=t=>e.clone({...e._zod.def,rest:t})}),zm=y(`ZodRecord`,(e,t)=>{Ui.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>md(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType}),Bm=y(`ZodMap`,(e,t)=>{Wi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>sd(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(Al(...t)),e.nonempty=t=>e.check(Al(1,t)),e.max=(...t)=>e.check(kl(...t)),e.size=(...t)=>e.check(jl(...t))}),Vm=y(`ZodSet`,(e,t)=>{Gi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>cd(e,t,n,r),e.min=(...t)=>e.check(Al(...t)),e.nonempty=t=>e.check(Al(1,t)),e.max=(...t)=>e.check(kl(...t)),e.size=(...t)=>e.check(jl(...t))}),Hm=y(`ZodEnum`,(e,t)=>{Ki.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qu(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Hm({...t,checks:[],...N(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Hm({...t,checks:[],...N(r),entries:i})}}),Um=y(`ZodLiteral`,(e,t)=>{qi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$u(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,\"value\",{get(){if(t.values.length>1)throw Error(\"This schema contains multiple valid literal values. Use `.values` instead.\");return t.values[0]}})}),Wm=y(`ZodFile`,(e,t)=>{Ji.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>nd(e,t,n,r),e.min=(t,n)=>e.check(Al(t,n)),e.max=(t,n)=>e.check(kl(t,n)),e.mime=(t,n)=>e.check(Hl(Array.isArray(t)?t:[t],n))}),Gm=y(`ZodTransform`,(e,t)=>{Yi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>od(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new T(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Be(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(Be(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}}),Km=y(`ZodOptional`,(e,t)=>{Xi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),qm=y(`ZodExactOptional`,(e,t)=>{Zi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Jm=y(`ZodNullable`,(e,t)=>{Qi.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>hd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Ym=y(`ZodDefault`,(e,t)=>{$i.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_d(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),Xm=y(`ZodPrefault`,(e,t)=>{ea.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Zm=y(`ZodNonOptional`,(e,t)=>{ta.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>gd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),Qm=y(`ZodSuccess`,(e,t)=>{na.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>rd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),$m=y(`ZodCatch`,(e,t)=>{ra.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),eh=y(`ZodNaN`,(e,t)=>{ia.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ed(e,t,n,r)}),th=y(`ZodPipe`,(e,t)=>{aa.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bd(e,t,n,r),e.in=t.in,e.out=t.out}),nh=y(`ZodCodec`,(e,t)=>{th.init(e,t),oa.init(e,t)}),rh=y(`ZodPreprocess`,(e,t)=>{th.init(e,t),sa.init(e,t)}),ih=y(`ZodReadonly`,(e,t)=>{ca.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),ah=y(`ZodTemplateLiteral`,(e,t)=>{la.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>td(e,t,n,r)}),oh=y(`ZodLazy`,(e,t)=>{fa.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wd(e,t,n,r),e.unwrap=()=>e._zod.def.getter()}),sh=y(`ZodPromise`,(e,t)=>{da.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sd(e,t,n,r),e.unwrap=()=>e._zod.def.innerType}),ch=y(`ZodFunction`,(e,t)=>{ua.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ad(e,t,n,r)}),lh=y(`ZodCustom`,(e,t)=>{pa.init(e,t),Jp.init(e,t),e._zod.processJSONSchema=(t,n,r)=>id(e,t,n,r)}),uh=wu,dh=Tu,fh=(...e)=>Eu({Codec:nh,Boolean:xm,String:Xp},...e)}));function mh(e){b({customError:e})}function hh(){return b().customError}var gh,_h,vh=o((()=>{Md(),gh={invalid_type:`invalid_type`,too_big:`too_big`,too_small:`too_small`,invalid_format:`invalid_format`,not_multiple_of:`not_multiple_of`,unrecognized_keys:`unrecognized_keys`,invalid_union:`invalid_union`,invalid_key:`invalid_key`,invalid_element:`invalid_element`,invalid_value:`invalid_value`,custom:`custom`},_h||={}}));function yh(e,t){let n=e.$schema;return n===`https://json-schema.org/draft/2020-12/schema`?`draft-2020-12`:n===`http://json-schema.org/draft-07/schema#`?`draft-7`:n===`http://json-schema.org/draft-04/schema#`?`draft-4`:t??`draft-2020-12`}function bh(e,t){if(!e.startsWith(`#`))throw Error(`External $ref is not supported, only local refs (#/...) are allowed`);let n=e.slice(1).split(`/`).filter(Boolean);if(n.length===0)return t.rootSchema;let r=t.version===`draft-2020-12`?`$defs`:`definitions`;if(n[0]===r){let r=n[1];if(!r||!t.defs[r])throw Error(`Reference not found: ${e}`);return t.defs[r]}throw Error(`Reference not found: ${e}`)}function xh(e,t){if(e.not!==void 0){if(typeof e.not==`object`&&Object.keys(e.not).length===0)return K.never();throw Error(`not is not supported in Zod (except { not: {} } for never)`)}if(e.unevaluatedItems!==void 0)throw Error(`unevaluatedItems is not supported`);if(e.unevaluatedProperties!==void 0)throw Error(`unevaluatedProperties is not supported`);if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw Error(`Conditional schemas (if/then/else) are not supported`);if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw Error(`dependentSchemas and dependentRequired are not supported`);if(e.$ref){let n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return K.lazy(()=>{if(!t.refs.has(n))throw Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);let r=Sh(bh(n,t),t);return t.refs.set(n,r),t.processing.delete(n),r}if(e.enum!==void 0){let n=e.enum;if(t.version===`openapi-3.0`&&e.nullable===!0&&n.length===1&&n[0]===null)return K.null();if(n.length===0)return K.never();if(n.length===1)return K.literal(n[0]);if(n.every(e=>typeof e==`string`))return K.enum(n);let r=n.map(e=>K.literal(e));return r.length<2?r[0]:K.union([r[0],r[1],...r.slice(2)])}if(e.const!==void 0)return K.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(n=>xh({...e,type:n},t));return r.length===0?K.never():r.length===1?r[0]:K.union(r)}if(!n)return K.any();let r;switch(n){case`string`:{let t=K.string();if(e.format){let n=e.format;n===`email`?t=t.check(K.email()):n===`uri`||n===`uri-reference`?t=t.check(K.url()):n===`uuid`||n===`guid`?t=t.check(K.uuid()):n===`date-time`?t=t.check(K.iso.datetime()):n===`date`?t=t.check(K.iso.date()):n===`time`?t=t.check(K.iso.time()):n===`duration`?t=t.check(K.iso.duration()):n===`ipv4`?t=t.check(K.ipv4()):n===`ipv6`?t=t.check(K.ipv6()):n===`mac`?t=t.check(K.mac()):n===`cidr`?t=t.check(K.cidrv4()):n===`cidr-v6`?t=t.check(K.cidrv6()):n===`base64`?t=t.check(K.base64()):n===`base64url`?t=t.check(K.base64url()):n===`e164`?t=t.check(K.e164()):n===`jwt`?t=t.check(K.jwt()):n===`emoji`?t=t.check(K.emoji()):n===`nanoid`?t=t.check(K.nanoid()):n===`cuid`?t=t.check(K.cuid()):n===`cuid2`?t=t.check(K.cuid2()):n===`ulid`?t=t.check(K.ulid()):n===`xid`?t=t.check(K.xid()):n===`ksuid`&&(t=t.check(K.ksuid()))}typeof e.minLength==`number`&&(t=t.min(e.minLength)),typeof e.maxLength==`number`&&(t=t.max(e.maxLength)),e.pattern&&(t=t.regex(new RegExp(e.pattern))),r=t;break}case`number`:case`integer`:{let t=n===`integer`?K.number().int():K.number();typeof e.minimum==`number`&&(t=t.min(e.minimum)),typeof e.maximum==`number`&&(t=t.max(e.maximum)),typeof e.exclusiveMinimum==`number`?t=t.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum==`number`&&(t=t.gt(e.minimum)),typeof e.exclusiveMaximum==`number`?t=t.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum==`number`&&(t=t.lt(e.maximum)),typeof e.multipleOf==`number`&&(t=t.multipleOf(e.multipleOf)),r=t;break}case`boolean`:r=K.boolean();break;case`null`:r=K.null();break;case`object`:{let n={},i=e.properties||{},a=new Set(e.required||[]);for(let[e,r]of Object.entries(i)){let i=Sh(r,t);n[e]=a.has(e)?i:i.optional()}if(e.propertyNames){let i=Sh(e.propertyNames,t),a=e.additionalProperties&&typeof e.additionalProperties==`object`?Sh(e.additionalProperties,t):K.any();if(Object.keys(n).length===0){r=K.record(i,a);break}let o=K.object(n).passthrough(),s=K.looseRecord(i,a);r=K.intersection(o,s);break}if(e.patternProperties){let i=e.patternProperties,a=Object.keys(i),o=[];for(let e of a){let n=Sh(i[e],t),r=K.string().regex(new RegExp(e));o.push(K.looseRecord(r,n))}let s=[];if(Object.keys(n).length>0&&s.push(K.object(n).passthrough()),s.push(...o),s.length===0)r=K.object({}).passthrough();else if(s.length===1)r=s[0];else{let e=K.intersection(s[0],s[1]);for(let t=2;t<s.length;t++)e=K.intersection(e,s[t]);r=e}break}let o=K.object(n);r=e.additionalProperties===!1?o.strict():typeof e.additionalProperties==`object`?o.catchall(Sh(e.additionalProperties,t)):o.passthrough();break}case`array`:{let n=e.prefixItems,i=e.items;if(n&&Array.isArray(n)){let a=n.map(e=>Sh(e,t)),o=i&&typeof i==`object`&&!Array.isArray(i)?Sh(i,t):void 0;r=o?K.tuple(a).rest(o):K.tuple(a),typeof e.minItems==`number`&&(r=r.check(K.minLength(e.minItems))),typeof e.maxItems==`number`&&(r=r.check(K.maxLength(e.maxItems)))}else if(Array.isArray(i)){let n=i.map(e=>Sh(e,t)),a=e.additionalItems&&typeof e.additionalItems==`object`?Sh(e.additionalItems,t):void 0;r=a?K.tuple(n).rest(a):K.tuple(n),typeof e.minItems==`number`&&(r=r.check(K.minLength(e.minItems))),typeof e.maxItems==`number`&&(r=r.check(K.maxLength(e.maxItems)))}else if(i!==void 0){let n=Sh(i,t),a=K.array(n);typeof e.minItems==`number`&&(a=a.min(e.minItems)),typeof e.maxItems==`number`&&(a=a.max(e.maxItems)),r=a}else r=K.array(K.any());break}default:throw Error(`Unsupported type: ${n}`)}return r}function Sh(e,t){if(typeof e==`boolean`)return e?K.any():K.never();let n=xh(e,t),r=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let i=e.anyOf.map(e=>Sh(e,t)),a=K.union(i);n=r?K.intersection(n,a):a}if(e.oneOf&&Array.isArray(e.oneOf)){let i=e.oneOf.map(e=>Sh(e,t)),a=K.xor(i);n=r?K.intersection(n,a):a}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=r?n:K.any();else{let i=r?n:Sh(e.allOf[0],t),a=+!r;for(let n=a;n<e.allOf.length;n++)i=K.intersection(i,Sh(e.allOf[n],t));n=i}e.nullable===!0&&t.version===`openapi-3.0`&&(n=K.nullable(n)),e.readOnly===!0&&(n=K.readonly(n)),e.default!==void 0&&(n=n.default(e.default));let i={};for(let t of[`$id`,`id`,`$comment`,`$anchor`,`$vocabulary`,`$dynamicRef`,`$dynamicAnchor`])t in e&&(i[t]=e[t]);for(let t of[`contentEncoding`,`contentMediaType`,`contentSchema`])t in e&&(i[t]=e[t]);for(let t of Object.keys(e))wh.has(t)||(i[t]=e[t]);return Object.keys(i).length>0&&t.registry.add(n,i),e.description&&(n=n.describe(e.description)),n}function Ch(e,t){if(typeof e==`boolean`)return e?K.any():K.never();let n;try{n=JSON.parse(JSON.stringify(e))}catch{throw Error(`fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas`)}let r={version:yh(n,t?.defaultTarget),defs:n.$defs||n.definitions||{},refs:new Map,processing:new Set,rootSchema:n,registry:t?.registry??xc};return Sh(n,r)}var K,wh,tee=o((()=>{Sc(),Rd(),Jd(),ph(),K={...pf,...Ld,iso:zd},wh=new Set(`$schema.$ref.$defs.definitions.$id.id.$comment.$anchor.$vocabulary.$dynamicRef.$dynamicAnchor.type.enum.const.anyOf.oneOf.allOf.not.properties.required.additionalProperties.patternProperties.propertyNames.minProperties.maxProperties.items.prefixItems.additionalItems.minItems.maxItems.uniqueItems.contains.minContains.maxContains.minLength.maxLength.pattern.format.minimum.maximum.exclusiveMinimum.exclusiveMaximum.multipleOf.description.default.contentEncoding.contentMediaType.contentSchema.unevaluatedItems.unevaluatedProperties.if.then.else.dependentSchemas.dependentRequired.nullable.readOnly`.split(`.`))})),Th=c({bigint:()=>aee,boolean:()=>iee,date:()=>oee,number:()=>ree,string:()=>nee});function nee(e){return wc(Xp,e)}function ree(e){return Qc(ym,e)}function iee(e){return al(xm,e)}function aee(e){return sl(Sm,e)}function oee(e){return vl(jm,e)}var see=o((()=>{Md(),ph()})),Eh=c({$brand:()=>C,$input:()=>yc,$output:()=>vc,NEVER:()=>S,TimePrecision:()=>Ou,ZodAny:()=>Dm,ZodArray:()=>Mm,ZodBase64:()=>mm,ZodBase64URL:()=>hm,ZodBigInt:()=>Sm,ZodBigIntFormat:()=>Cm,ZodBoolean:()=>xm,ZodCIDRv4:()=>fm,ZodCIDRv6:()=>pm,ZodCUID:()=>im,ZodCUID2:()=>am,ZodCatch:()=>$m,ZodCodec:()=>nh,ZodCustom:()=>lh,ZodCustomStringFormat:()=>vm,ZodDate:()=>jm,ZodDefault:()=>Ym,ZodDiscriminatedUnion:()=>Im,ZodE164:()=>gm,ZodEmail:()=>Qp,ZodEmoji:()=>nm,ZodEnum:()=>Hm,ZodError:()=>Xd,ZodExactOptional:()=>qm,ZodFile:()=>Wm,ZodFirstPartyTypeKind:()=>_h,ZodFunction:()=>ch,ZodGUID:()=>$p,ZodIPv4:()=>lm,ZodIPv6:()=>dm,ZodISODate:()=>Gd,ZodISODateTime:()=>Wd,ZodISODuration:()=>qd,ZodISOTime:()=>Kd,ZodIntersection:()=>Lm,ZodIssueCode:()=>gh,ZodJWT:()=>_m,ZodKSUID:()=>cm,ZodLazy:()=>oh,ZodLiteral:()=>Um,ZodMAC:()=>um,ZodMap:()=>Bm,ZodNaN:()=>eh,ZodNanoID:()=>rm,ZodNever:()=>km,ZodNonOptional:()=>Zm,ZodNull:()=>Em,ZodNullable:()=>Jm,ZodNumber:()=>ym,ZodNumberFormat:()=>bm,ZodObject:()=>Nm,ZodOptional:()=>Km,ZodPipe:()=>th,ZodPrefault:()=>Xm,ZodPreprocess:()=>rh,ZodPromise:()=>sh,ZodReadonly:()=>ih,ZodRealError:()=>Zd,ZodRecord:()=>zm,ZodSet:()=>Vm,ZodString:()=>Xp,ZodStringFormat:()=>Zp,ZodSuccess:()=>Qm,ZodSymbol:()=>wm,ZodTemplateLiteral:()=>ah,ZodTransform:()=>Gm,ZodTuple:()=>Rm,ZodType:()=>Jp,ZodULID:()=>om,ZodURL:()=>tm,ZodUUID:()=>em,ZodUndefined:()=>Tm,ZodUnion:()=>Pm,ZodUnknown:()=>Om,ZodVoid:()=>Am,ZodXID:()=>sm,ZodXor:()=>Fm,_ZodString:()=>Yp,_default:()=>Ep,_function:()=>zp,any:()=>tp,array:()=>H,base64:()=>Ff,base64url:()=>If,bigint:()=>Yf,boolean:()=>Jf,catch:()=>Ap,check:()=>Bp,cidrv4:()=>Nf,cidrv6:()=>Pf,clone:()=>Ce,codec:()=>Np,coerce:()=>Th,config:()=>b,core:()=>jd,cuid:()=>Tf,cuid2:()=>Ef,custom:()=>Vp,date:()=>ap,decode:()=>af,decodeAsync:()=>sf,describe:()=>uh,discriminatedUnion:()=>up,e164:()=>Lf,email:()=>hf,emoji:()=>Cf,encode:()=>rf,encodeAsync:()=>of,endsWith:()=>Bl,enum:()=>vp,exactOptional:()=>Cp,file:()=>bp,flattenError:()=>rt,float32:()=>Wf,float64:()=>Gf,formatError:()=>it,fromJSONSchema:()=>Ch,function:()=>zp,getErrorMap:()=>hh,globalRegistry:()=>xc,gt:()=>Sl,gte:()=>Cl,guid:()=>gf,hash:()=>Hf,hex:()=>Vf,hostname:()=>Bf,httpUrl:()=>Sf,includes:()=>Rl,instanceof:()=>Wp,int:()=>Uf,int32:()=>Kf,int64:()=>Xf,intersection:()=>dp,invertCodec:()=>Pp,ipv4:()=>Af,ipv6:()=>Mf,iso:()=>zd,json:()=>Gp,jwt:()=>Rf,keyof:()=>op,ksuid:()=>kf,lazy:()=>Lp,length:()=>Pl,literal:()=>G,locales:()=>mc,looseObject:()=>cp,looseRecord:()=>hp,lowercase:()=>Il,lt:()=>bl,lte:()=>xl,mac:()=>jf,map:()=>gp,maxLength:()=>Ml,maxSize:()=>kl,meta:()=>dh,mime:()=>Hl,minLength:()=>Nl,minSize:()=>Al,multipleOf:()=>Ol,nan:()=>jp,nanoid:()=>wf,nativeEnum:()=>yp,negative:()=>Tl,never:()=>rp,nonnegative:()=>Dl,nonoptional:()=>Op,nonpositive:()=>El,normalize:()=>Wl,null:()=>ep,nullable:()=>wp,nullish:()=>Tp,number:()=>V,object:()=>U,optional:()=>Sp,overwrite:()=>Ul,parse:()=>$d,parseAsync:()=>ef,partialRecord:()=>mp,pipe:()=>Mp,positive:()=>wl,prefault:()=>Dp,preprocess:()=>Kp,prettifyError:()=>st,promise:()=>Rp,property:()=>Vl,readonly:()=>Fp,record:()=>pp,refine:()=>Hp,regex:()=>Fl,regexes:()=>Lt,registry:()=>gc,safeDecode:()=>lf,safeDecodeAsync:()=>df,safeEncode:()=>cf,safeEncodeAsync:()=>uf,safeParse:()=>tf,safeParseAsync:()=>nf,set:()=>_p,setErrorMap:()=>mh,size:()=>jl,slugify:()=>Jl,startsWith:()=>zl,strictObject:()=>sp,string:()=>B,stringFormat:()=>zf,stringbool:()=>fh,success:()=>kp,superRefine:()=>Up,symbol:()=>Qf,templateLiteral:()=>Ip,toJSONSchema:()=>Ru,toLowerCase:()=>Kl,toUpperCase:()=>ql,transform:()=>xp,treeifyError:()=>at,trim:()=>Gl,tuple:()=>fp,uint32:()=>qf,uint64:()=>Zf,ulid:()=>Df,undefined:()=>$f,union:()=>W,unknown:()=>np,uppercase:()=>Ll,url:()=>xf,util:()=>O,uuid:()=>_f,uuidv4:()=>vf,uuidv6:()=>yf,uuidv7:()=>bf,void:()=>ip,xid:()=>Of,xor:()=>lp}),Dh=o((()=>{Md(),ph(),Rd(),Qd(),ff(),vh(),Ga(),Ed(),tee(),hc(),Jd(),see(),b(Ua())})),Oh,kh=o((()=>{Dh(),Dh(),Oh=Eh})),Ah=c({$brand:()=>C,$input:()=>yc,$output:()=>vc,NEVER:()=>S,TimePrecision:()=>Ou,ZodAny:()=>Dm,ZodArray:()=>Mm,ZodBase64:()=>mm,ZodBase64URL:()=>hm,ZodBigInt:()=>Sm,ZodBigIntFormat:()=>Cm,ZodBoolean:()=>xm,ZodCIDRv4:()=>fm,ZodCIDRv6:()=>pm,ZodCUID:()=>im,ZodCUID2:()=>am,ZodCatch:()=>$m,ZodCodec:()=>nh,ZodCustom:()=>lh,ZodCustomStringFormat:()=>vm,ZodDate:()=>jm,ZodDefault:()=>Ym,ZodDiscriminatedUnion:()=>Im,ZodE164:()=>gm,ZodEmail:()=>Qp,ZodEmoji:()=>nm,ZodEnum:()=>Hm,ZodError:()=>Xd,ZodExactOptional:()=>qm,ZodFile:()=>Wm,ZodFirstPartyTypeKind:()=>_h,ZodFunction:()=>ch,ZodGUID:()=>$p,ZodIPv4:()=>lm,ZodIPv6:()=>dm,ZodISODate:()=>Gd,ZodISODateTime:()=>Wd,ZodISODuration:()=>qd,ZodISOTime:()=>Kd,ZodIntersection:()=>Lm,ZodIssueCode:()=>gh,ZodJWT:()=>_m,ZodKSUID:()=>cm,ZodLazy:()=>oh,ZodLiteral:()=>Um,ZodMAC:()=>um,ZodMap:()=>Bm,ZodNaN:()=>eh,ZodNanoID:()=>rm,ZodNever:()=>km,ZodNonOptional:()=>Zm,ZodNull:()=>Em,ZodNullable:()=>Jm,ZodNumber:()=>ym,ZodNumberFormat:()=>bm,ZodObject:()=>Nm,ZodOptional:()=>Km,ZodPipe:()=>th,ZodPrefault:()=>Xm,ZodPreprocess:()=>rh,ZodPromise:()=>sh,ZodReadonly:()=>ih,ZodRealError:()=>Zd,ZodRecord:()=>zm,ZodSet:()=>Vm,ZodString:()=>Xp,ZodStringFormat:()=>Zp,ZodSuccess:()=>Qm,ZodSymbol:()=>wm,ZodTemplateLiteral:()=>ah,ZodTransform:()=>Gm,ZodTuple:()=>Rm,ZodType:()=>Jp,ZodULID:()=>om,ZodURL:()=>tm,ZodUUID:()=>em,ZodUndefined:()=>Tm,ZodUnion:()=>Pm,ZodUnknown:()=>Om,ZodVoid:()=>Am,ZodXID:()=>sm,ZodXor:()=>Fm,_ZodString:()=>Yp,_default:()=>Ep,_function:()=>zp,any:()=>tp,array:()=>H,base64:()=>Ff,base64url:()=>If,bigint:()=>Yf,boolean:()=>Jf,catch:()=>Ap,check:()=>Bp,cidrv4:()=>Nf,cidrv6:()=>Pf,clone:()=>Ce,codec:()=>Np,coerce:()=>Th,config:()=>b,core:()=>jd,cuid:()=>Tf,cuid2:()=>Ef,custom:()=>Vp,date:()=>ap,decode:()=>af,decodeAsync:()=>sf,default:()=>jh,describe:()=>uh,discriminatedUnion:()=>up,e164:()=>Lf,email:()=>hf,emoji:()=>Cf,encode:()=>rf,encodeAsync:()=>of,endsWith:()=>Bl,enum:()=>vp,exactOptional:()=>Cp,file:()=>bp,flattenError:()=>rt,float32:()=>Wf,float64:()=>Gf,formatError:()=>it,fromJSONSchema:()=>Ch,function:()=>zp,getErrorMap:()=>hh,globalRegistry:()=>xc,gt:()=>Sl,gte:()=>Cl,guid:()=>gf,hash:()=>Hf,hex:()=>Vf,hostname:()=>Bf,httpUrl:()=>Sf,includes:()=>Rl,instanceof:()=>Wp,int:()=>Uf,int32:()=>Kf,int64:()=>Xf,intersection:()=>dp,invertCodec:()=>Pp,ipv4:()=>Af,ipv6:()=>Mf,iso:()=>zd,json:()=>Gp,jwt:()=>Rf,keyof:()=>op,ksuid:()=>kf,lazy:()=>Lp,length:()=>Pl,literal:()=>G,locales:()=>mc,looseObject:()=>cp,looseRecord:()=>hp,lowercase:()=>Il,lt:()=>bl,lte:()=>xl,mac:()=>jf,map:()=>gp,maxLength:()=>Ml,maxSize:()=>kl,meta:()=>dh,mime:()=>Hl,minLength:()=>Nl,minSize:()=>Al,multipleOf:()=>Ol,nan:()=>jp,nanoid:()=>wf,nativeEnum:()=>yp,negative:()=>Tl,never:()=>rp,nonnegative:()=>Dl,nonoptional:()=>Op,nonpositive:()=>El,normalize:()=>Wl,null:()=>ep,nullable:()=>wp,nullish:()=>Tp,number:()=>V,object:()=>U,optional:()=>Sp,overwrite:()=>Ul,parse:()=>$d,parseAsync:()=>ef,partialRecord:()=>mp,pipe:()=>Mp,positive:()=>wl,prefault:()=>Dp,preprocess:()=>Kp,prettifyError:()=>st,promise:()=>Rp,property:()=>Vl,readonly:()=>Fp,record:()=>pp,refine:()=>Hp,regex:()=>Fl,regexes:()=>Lt,registry:()=>gc,safeDecode:()=>lf,safeDecodeAsync:()=>df,safeEncode:()=>cf,safeEncodeAsync:()=>uf,safeParse:()=>tf,safeParseAsync:()=>nf,set:()=>_p,setErrorMap:()=>mh,size:()=>jl,slugify:()=>Jl,startsWith:()=>zl,strictObject:()=>sp,string:()=>B,stringFormat:()=>zf,stringbool:()=>fh,success:()=>kp,superRefine:()=>Up,symbol:()=>Qf,templateLiteral:()=>Ip,toJSONSchema:()=>Ru,toLowerCase:()=>Kl,toUpperCase:()=>ql,transform:()=>xp,treeifyError:()=>at,trim:()=>Gl,tuple:()=>fp,uint32:()=>qf,uint64:()=>Zf,ulid:()=>Df,undefined:()=>$f,union:()=>W,unknown:()=>np,uppercase:()=>Ll,url:()=>xf,util:()=>O,uuid:()=>_f,uuidv4:()=>vf,uuidv6:()=>yf,uuidv7:()=>bf,void:()=>ip,xid:()=>Of,xor:()=>lp,z:()=>Eh}),jh,Mh=o((()=>{kh(),kh(),jh=Oh}));Mh();var Nh=`io.modelcontextprotocol/related-task`,Ph=Vp(e=>e!==null&&(typeof e==`object`||typeof e==`function`)),Fh=W([B(),V().int()]),Ih=B();cp({ttl:V().optional(),pollInterval:V().optional()});var Lh=U({ttl:V().optional()}),Rh=U({taskId:B()}),zh=cp({progressToken:Fh.optional(),[Nh]:Rh.optional()}),Bh=U({_meta:zh.optional()}),Vh=Bh.extend({task:Lh.optional()}),cee=e=>Vh.safeParse(e).success,Hh=U({method:B(),params:Bh.loose().optional()}),Uh=U({_meta:zh.optional()}),Wh=U({method:B(),params:Uh.loose().optional()}),Gh=cp({_meta:zh.optional()}),Kh=W([B(),V().int()]),qh=U({jsonrpc:G(`2.0`),id:Kh,...Hh.shape}).strict(),Jh=e=>qh.safeParse(e).success,Yh=U({jsonrpc:G(`2.0`),...Wh.shape}).strict(),Xh=e=>Yh.safeParse(e).success,Zh=U({jsonrpc:G(`2.0`),id:Kh,result:Gh}).strict(),Qh=e=>Zh.safeParse(e).success,$h;(function(e){e[e.ConnectionClosed=-32e3]=`ConnectionClosed`,e[e.RequestTimeout=-32001]=`RequestTimeout`,e[e.ParseError=-32700]=`ParseError`,e[e.InvalidRequest=-32600]=`InvalidRequest`,e[e.MethodNotFound=-32601]=`MethodNotFound`,e[e.InvalidParams=-32602]=`InvalidParams`,e[e.InternalError=-32603]=`InternalError`,e[e.UrlElicitationRequired=-32042]=`UrlElicitationRequired`})($h||={});var eg=U({jsonrpc:G(`2.0`),id:Kh.optional(),error:U({code:V().int(),message:B(),data:np().optional()})}).strict(),tg=e=>eg.safeParse(e).success,ng=W([qh,Yh,Zh,eg]);W([Zh,eg]);var rg=Gh.strict(),ig=Uh.extend({requestId:Kh.optional(),reason:B().optional()}),ag=Wh.extend({method:G(`notifications/cancelled`),params:ig}),og=U({icons:H(U({src:B(),mimeType:B().optional(),sizes:H(B()).optional(),theme:vp([`light`,`dark`]).optional()})).optional()}),sg=U({name:B(),title:B().optional()}),cg=sg.extend({...sg.shape,...og.shape,version:B(),websiteUrl:B().optional(),description:B().optional()}),lg=Kp(e=>e&&typeof e==`object`&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,dp(U({form:dp(U({applyDefaults:Jf().optional()}),pp(B(),np())).optional(),url:Ph.optional()}),pp(B(),np()).optional())),ug=cp({list:Ph.optional(),cancel:Ph.optional(),requests:cp({sampling:cp({createMessage:Ph.optional()}).optional(),elicitation:cp({create:Ph.optional()}).optional()}).optional()}),dg=cp({list:Ph.optional(),cancel:Ph.optional(),requests:cp({tools:cp({call:Ph.optional()}).optional()}).optional()}),fg=U({experimental:pp(B(),Ph).optional(),sampling:U({context:Ph.optional(),tools:Ph.optional()}).optional(),elicitation:lg.optional(),roots:U({listChanged:Jf().optional()}).optional(),tasks:ug.optional(),extensions:pp(B(),Ph).optional()}),pg=Bh.extend({protocolVersion:B(),capabilities:fg,clientInfo:cg}),mg=Hh.extend({method:G(`initialize`),params:pg}),hg=U({experimental:pp(B(),Ph).optional(),logging:Ph.optional(),completions:Ph.optional(),prompts:U({listChanged:Jf().optional()}).optional(),resources:U({subscribe:Jf().optional(),listChanged:Jf().optional()}).optional(),tools:U({listChanged:Jf().optional()}).optional(),tasks:dg.optional(),extensions:pp(B(),Ph).optional()}),gg=Gh.extend({protocolVersion:B(),capabilities:hg,serverInfo:cg,instructions:B().optional()}),_g=Wh.extend({method:G(`notifications/initialized`),params:Uh.optional()}),vg=Hh.extend({method:G(`ping`),params:Bh.optional()}),yg=U({progress:V(),total:Sp(V()),message:Sp(B())}),lee=U({...Uh.shape,...yg.shape,progressToken:Fh}),bg=Wh.extend({method:G(`notifications/progress`),params:lee}),uee=Bh.extend({cursor:Ih.optional()}),xg=Hh.extend({params:uee.optional()}),Sg=Gh.extend({nextCursor:Ih.optional()}),dee=vp([`working`,`input_required`,`completed`,`failed`,`cancelled`]),Cg=U({taskId:B(),status:dee,ttl:W([V(),ep()]),createdAt:B(),lastUpdatedAt:B(),pollInterval:Sp(V()),statusMessage:Sp(B())}),wg=Gh.extend({task:Cg}),fee=Uh.merge(Cg),Tg=Wh.extend({method:G(`notifications/tasks/status`),params:fee}),Eg=Hh.extend({method:G(`tasks/get`),params:Bh.extend({taskId:B()})}),Dg=Gh.merge(Cg),Og=Hh.extend({method:G(`tasks/result`),params:Bh.extend({taskId:B()})});Gh.loose();var kg=xg.extend({method:G(`tasks/list`)}),Ag=Sg.extend({tasks:H(Cg)}),jg=Hh.extend({method:G(`tasks/cancel`),params:Bh.extend({taskId:B()})}),Mg=Gh.merge(Cg),Ng=U({uri:B(),mimeType:Sp(B()),_meta:pp(B(),np()).optional()}),Pg=Ng.extend({text:B()}),Fg=B().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:`Invalid Base64 string`}),Ig=Ng.extend({blob:Fg}),Lg=vp([`user`,`assistant`]),Rg=U({audience:H(Lg).optional(),priority:V().min(0).max(1).optional(),lastModified:Bd({offset:!0}).optional()}),zg=U({...sg.shape,...og.shape,uri:B(),description:Sp(B()),mimeType:Sp(B()),size:Sp(V()),annotations:Rg.optional(),_meta:Sp(cp({}))}),Bg=U({...sg.shape,...og.shape,uriTemplate:B(),description:Sp(B()),mimeType:Sp(B()),annotations:Rg.optional(),_meta:Sp(cp({}))}),Vg=xg.extend({method:G(`resources/list`)}),Hg=Sg.extend({resources:H(zg)}),Ug=xg.extend({method:G(`resources/templates/list`)}),Wg=Sg.extend({resourceTemplates:H(Bg)}),Gg=Bh.extend({uri:B()}),Kg=Gg,qg=Hh.extend({method:G(`resources/read`),params:Kg}),Jg=Gh.extend({contents:H(W([Pg,Ig]))}),Yg=Wh.extend({method:G(`notifications/resources/list_changed`),params:Uh.optional()}),Xg=Gg,Zg=Hh.extend({method:G(`resources/subscribe`),params:Xg}),Qg=Gg,$g=Hh.extend({method:G(`resources/unsubscribe`),params:Qg}),e_=Uh.extend({uri:B()}),t_=Wh.extend({method:G(`notifications/resources/updated`),params:e_}),n_=U({name:B(),description:Sp(B()),required:Sp(Jf())}),r_=U({...sg.shape,...og.shape,description:Sp(B()),arguments:Sp(H(n_)),_meta:Sp(cp({}))}),i_=xg.extend({method:G(`prompts/list`)}),a_=Sg.extend({prompts:H(r_)}),o_=Bh.extend({name:B(),arguments:pp(B(),B()).optional()}),s_=Hh.extend({method:G(`prompts/get`),params:o_}),c_=U({type:G(`text`),text:B(),annotations:Rg.optional(),_meta:pp(B(),np()).optional()}),l_=U({type:G(`image`),data:Fg,mimeType:B(),annotations:Rg.optional(),_meta:pp(B(),np()).optional()}),u_=U({type:G(`audio`),data:Fg,mimeType:B(),annotations:Rg.optional(),_meta:pp(B(),np()).optional()}),d_=U({type:G(`tool_use`),name:B(),id:B(),input:pp(B(),np()),_meta:pp(B(),np()).optional()}),f_=U({type:G(`resource`),resource:W([Pg,Ig]),annotations:Rg.optional(),_meta:pp(B(),np()).optional()}),p_=zg.extend({type:G(`resource_link`)}),m_=W([c_,l_,u_,p_,f_]),h_=U({role:Lg,content:m_}),g_=Gh.extend({description:B().optional(),messages:H(h_)}),__=Wh.extend({method:G(`notifications/prompts/list_changed`),params:Uh.optional()}),v_=U({title:B().optional(),readOnlyHint:Jf().optional(),destructiveHint:Jf().optional(),idempotentHint:Jf().optional(),openWorldHint:Jf().optional()}),y_=U({taskSupport:vp([`required`,`optional`,`forbidden`]).optional()}),b_=U({...sg.shape,...og.shape,description:B().optional(),inputSchema:U({type:G(`object`),properties:pp(B(),Ph).optional(),required:H(B()).optional()}).catchall(np()),outputSchema:U({type:G(`object`),properties:pp(B(),Ph).optional(),required:H(B()).optional()}).catchall(np()).optional(),annotations:v_.optional(),execution:y_.optional(),_meta:pp(B(),np()).optional()}),x_=xg.extend({method:G(`tools/list`)}),S_=Sg.extend({tools:H(b_)}),C_=Gh.extend({content:H(m_).default([]),structuredContent:pp(B(),np()).optional(),isError:Jf().optional()});C_.or(Gh.extend({toolResult:np()}));var w_=Vh.extend({name:B(),arguments:pp(B(),np()).optional()}),T_=Hh.extend({method:G(`tools/call`),params:w_}),E_=Wh.extend({method:G(`notifications/tools/list_changed`),params:Uh.optional()});U({autoRefresh:Jf().default(!0),debounceMs:V().int().nonnegative().default(300)});var D_=vp([`debug`,`info`,`notice`,`warning`,`error`,`critical`,`alert`,`emergency`]),O_=Bh.extend({level:D_}),k_=Hh.extend({method:G(`logging/setLevel`),params:O_}),A_=Uh.extend({level:D_,logger:B().optional(),data:np()}),j_=Wh.extend({method:G(`notifications/message`),params:A_}),M_=U({hints:H(U({name:B().optional()})).optional(),costPriority:V().min(0).max(1).optional(),speedPriority:V().min(0).max(1).optional(),intelligencePriority:V().min(0).max(1).optional()}),N_=U({mode:vp([`auto`,`required`,`none`]).optional()}),P_=U({type:G(`tool_result`),toolUseId:B().describe(`The unique identifier for the corresponding tool call.`),content:H(m_).default([]),structuredContent:U({}).loose().optional(),isError:Jf().optional(),_meta:pp(B(),np()).optional()}),F_=up(`type`,[c_,l_,u_]),I_=up(`type`,[c_,l_,u_,d_,P_]),L_=U({role:Lg,content:W([I_,H(I_)]),_meta:pp(B(),np()).optional()}),R_=Vh.extend({messages:H(L_),modelPreferences:M_.optional(),systemPrompt:B().optional(),includeContext:vp([`none`,`thisServer`,`allServers`]).optional(),temperature:V().optional(),maxTokens:V().int(),stopSequences:H(B()).optional(),metadata:Ph.optional(),tools:H(b_).optional(),toolChoice:N_.optional()}),z_=Hh.extend({method:G(`sampling/createMessage`),params:R_}),B_=Gh.extend({model:B(),stopReason:Sp(vp([`endTurn`,`stopSequence`,`maxTokens`]).or(B())),role:Lg,content:F_}),V_=Gh.extend({model:B(),stopReason:Sp(vp([`endTurn`,`stopSequence`,`maxTokens`,`toolUse`]).or(B())),role:Lg,content:W([I_,H(I_)])}),H_=U({type:G(`boolean`),title:B().optional(),description:B().optional(),default:Jf().optional()}),U_=U({type:G(`string`),title:B().optional(),description:B().optional(),minLength:V().optional(),maxLength:V().optional(),format:vp([`email`,`uri`,`date`,`date-time`]).optional(),default:B().optional()}),W_=U({type:vp([`number`,`integer`]),title:B().optional(),description:B().optional(),minimum:V().optional(),maximum:V().optional(),default:V().optional()}),G_=U({type:G(`string`),title:B().optional(),description:B().optional(),enum:H(B()),default:B().optional()}),K_=U({type:G(`string`),title:B().optional(),description:B().optional(),oneOf:H(U({const:B(),title:B()})),default:B().optional()}),q_=W([W([U({type:G(`string`),title:B().optional(),description:B().optional(),enum:H(B()),enumNames:H(B()).optional(),default:B().optional()}),W([G_,K_]),W([U({type:G(`array`),title:B().optional(),description:B().optional(),minItems:V().optional(),maxItems:V().optional(),items:U({type:G(`string`),enum:H(B())}),default:H(B()).optional()}),U({type:G(`array`),title:B().optional(),description:B().optional(),minItems:V().optional(),maxItems:V().optional(),items:U({anyOf:H(U({const:B(),title:B()}))}),default:H(B()).optional()})])]),H_,U_,W_]),J_=W([Vh.extend({mode:G(`form`).optional(),message:B(),requestedSchema:U({type:G(`object`),properties:pp(B(),q_),required:H(B()).optional()})}),Vh.extend({mode:G(`url`),message:B(),elicitationId:B(),url:B().url()})]),Y_=Hh.extend({method:G(`elicitation/create`),params:J_}),X_=Uh.extend({elicitationId:B()}),Z_=Wh.extend({method:G(`notifications/elicitation/complete`),params:X_}),Q_=Gh.extend({action:vp([`accept`,`decline`,`cancel`]),content:Kp(e=>e===null?void 0:e,pp(B(),W([B(),V(),Jf(),H(B())])).optional())}),$_=U({type:G(`ref/resource`),uri:B()}),ev=U({type:G(`ref/prompt`),name:B()}),tv=Bh.extend({ref:W([ev,$_]),argument:U({name:B(),value:B()}),context:U({arguments:pp(B(),B()).optional()}).optional()}),nv=Hh.extend({method:G(`completion/complete`),params:tv}),rv=Gh.extend({completion:cp({values:H(B()).max(100),total:Sp(V().int()),hasMore:Sp(Jf())})}),iv=U({uri:B().startsWith(`file://`),name:B().optional(),_meta:pp(B(),np()).optional()}),av=Hh.extend({method:G(`roots/list`),params:Bh.optional()}),pee=Gh.extend({roots:H(iv)}),mee=Wh.extend({method:G(`notifications/roots/list_changed`),params:Uh.optional()});W([vg,mg,nv,k_,s_,i_,Vg,Ug,qg,Zg,$g,T_,x_,Eg,Og,kg,jg]),W([ag,bg,_g,mee,Tg]),W([rg,B_,V_,Q_,pee,Dg,Ag,wg]),W([vg,z_,Y_,av,Eg,Og,kg,jg]),W([ag,bg,j_,t_,Yg,E_,__,Tg,Z_]),W([rg,gg,rv,g_,a_,Hg,Wg,Jg,C_,S_,Dg,Ag,wg]);var ov=class e extends Error{constructor(e,t,n){super(`MCP error ${e}: ${t}`),this.code=e,this.data=n,this.name=`McpError`}static fromError(t,n,r){if(t===$h.UrlElicitationRequired&&r){let e=r;if(e.elicitations)return new hee(e.elicitations,n)}return new e(t,n,r)}},hee=class extends ov{constructor(e,t=`URL elicitation${e.length>1?`s`:``} required`){super($h.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}};function sv(e){return e===`completed`||e===`failed`||e===`cancelled`}function cv(e){let t=Fd(e)?.method;if(!t)throw Error(`Schema is missing a method literal`);let n=Id(t);if(typeof n!=`string`)throw Error(`Schema method literal must be a string`);return n}function lv(e,t){let n=Pd(e,t);if(!n.success)throw n.error;return n.data}var gee=class{constructor(e){this._options=e,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(ag,e=>{this._oncancel(e)}),this.setNotificationHandler(bg,e=>{this._onprogress(e)}),this.setRequestHandler(vg,e=>({})),this._taskStore=e?.taskStore,this._taskMessageQueue=e?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(Eg,async(e,t)=>{let n=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!n)throw new ov($h.InvalidParams,`Failed to retrieve task: Task not found`);return{...n}}),this.setRequestHandler(Og,async(e,t)=>{let n=async()=>{let r=e.params.taskId;if(this._taskMessageQueue){let e;for(;e=await this._taskMessageQueue.dequeue(r,t.sessionId);){if(e.type===`response`||e.type===`error`){let t=e.message,n=t.id,r=this._requestResolvers.get(n);if(r)if(this._requestResolvers.delete(n),e.type===`response`)r(t);else{let e=t;r(new ov(e.error.code,e.error.message,e.error.data))}else{let t=e.type===`response`?`Response`:`Error`;this._onerror(Error(`${t} handler missing for request ${n}`))}continue}await this._transport?.send(e.message,{relatedRequestId:t.requestId})}}let i=await this._taskStore.getTask(r,t.sessionId);if(!i)throw new ov($h.InvalidParams,`Task not found: ${r}`);if(!sv(i.status))return await this._waitForTaskUpdate(r,t.signal),await n();if(sv(i.status)){let e=await this._taskStore.getTaskResult(r,t.sessionId);return this._clearTaskQueue(r),{...e,_meta:{...e._meta,[Nh]:{taskId:r}}}}return await n()};return await n()}),this.setRequestHandler(kg,async(e,t)=>{try{let{tasks:n,nextCursor:r}=await this._taskStore.listTasks(e.params?.cursor,t.sessionId);return{tasks:n,nextCursor:r,_meta:{}}}catch(e){throw new ov($h.InvalidParams,`Failed to list tasks: ${e instanceof Error?e.message:String(e)}`)}}),this.setRequestHandler(jg,async(e,t)=>{try{let n=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!n)throw new ov($h.InvalidParams,`Task not found: ${e.params.taskId}`);if(sv(n.status))throw new ov($h.InvalidParams,`Cannot cancel task in terminal status: ${n.status}`);await this._taskStore.updateTaskStatus(e.params.taskId,`cancelled`,`Client cancelled task execution.`,t.sessionId),this._clearTaskQueue(e.params.taskId);let r=await this._taskStore.getTask(e.params.taskId,t.sessionId);if(!r)throw new ov($h.InvalidParams,`Task not found after cancellation: ${e.params.taskId}`);return{_meta:{},...r}}catch(e){throw e instanceof ov?e:new ov($h.InvalidRequest,`Failed to cancel task: ${e instanceof Error?e.message:String(e)}`)}}))}async _oncancel(e){e.params.requestId&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,n,r,i=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(r,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:i,onTimeout:r})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),ov.fromError($h.RequestTimeout,`Maximum total timeout exceeded`,{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){if(this._transport)throw Error(`Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.`);this._transport=e;let t=this.transport?.onclose;this._transport.onclose=()=>{t?.(),this._onclose()};let n=this.transport?.onerror;this._transport.onerror=e=>{n?.(e),this._onerror(e)};let r=this._transport?.onmessage;this._transport.onmessage=(e,t)=>{r?.(e,t),Qh(e)||tg(e)?this._onresponse(e):Jh(e)?this._onrequest(e,t):Xh(e)?this._onnotification(e):this._onerror(Error(`Unknown message type: ${JSON.stringify(e)}`))},await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(let e of this._timeoutInfo.values())clearTimeout(e.timeoutId);this._timeoutInfo.clear();for(let e of this._requestHandlerAbortControllers.values())e.abort();this._requestHandlerAbortControllers.clear();let t=ov.fromError($h.ConnectionClosed,`Connection closed`);this._transport=void 0,this.onclose?.();for(let n of e.values())n(t)}_onerror(e){this.onerror?.(e)}_onnotification(e){let t=this._notificationHandlers.get(e.method)??this.fallbackNotificationHandler;t!==void 0&&Promise.resolve().then(()=>t(e)).catch(e=>this._onerror(Error(`Uncaught error in notification handler: ${e}`)))}_onrequest(e,t){let n=this._requestHandlers.get(e.method)??this.fallbackRequestHandler,r=this._transport,i=e.params?._meta?.[Nh]?.taskId;if(n===void 0){let t={jsonrpc:`2.0`,id:e.id,error:{code:$h.MethodNotFound,message:`Method not found`}};i&&this._taskMessageQueue?this._enqueueTaskMessage(i,{type:`error`,message:t,timestamp:Date.now()},r?.sessionId).catch(e=>this._onerror(Error(`Failed to enqueue error response: ${e}`))):r?.send(t).catch(e=>this._onerror(Error(`Failed to send an error response: ${e}`)));return}let a=new AbortController;this._requestHandlerAbortControllers.set(e.id,a);let o=cee(e.params)?e.params.task:void 0,s=this._taskStore?this.requestTaskStore(e,r?.sessionId):void 0,c={signal:a.signal,sessionId:r?.sessionId,_meta:e.params?._meta,sendNotification:async t=>{if(a.signal.aborted)return;let n={relatedRequestId:e.id};i&&(n.relatedTask={taskId:i}),await this.notification(t,n)},sendRequest:async(t,n,r)=>{if(a.signal.aborted)throw new ov($h.ConnectionClosed,`Request was cancelled`);let o={...r,relatedRequestId:e.id};i&&!o.relatedTask&&(o.relatedTask={taskId:i});let c=o.relatedTask?.taskId??i;return c&&s&&await s.updateTaskStatus(c,`input_required`),await this.request(t,n,o)},authInfo:t?.authInfo,requestId:e.id,requestInfo:t?.requestInfo,taskId:i,taskStore:s,taskRequestedTtl:o?.ttl,closeSSEStream:t?.closeSSEStream,closeStandaloneSSEStream:t?.closeStandaloneSSEStream};Promise.resolve().then(()=>{o&&this.assertTaskHandlerCapability(e.method)}).then(()=>n(e,c)).then(async t=>{if(a.signal.aborted)return;let n={result:t,jsonrpc:`2.0`,id:e.id};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:`response`,message:n,timestamp:Date.now()},r?.sessionId):await r?.send(n)},async t=>{if(a.signal.aborted)return;let n={jsonrpc:`2.0`,id:e.id,error:{code:Number.isSafeInteger(t.code)?t.code:$h.InternalError,message:t.message??`Internal error`,...t.data!==void 0&&{data:t.data}}};i&&this._taskMessageQueue?await this._enqueueTaskMessage(i,{type:`error`,message:n,timestamp:Date.now()},r?.sessionId):await r?.send(n)}).catch(e=>this._onerror(Error(`Failed to send response: ${e}`))).finally(()=>{this._requestHandlerAbortControllers.get(e.id)===a&&this._requestHandlerAbortControllers.delete(e.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,r=Number(t),i=this._progressHandlers.get(r);if(!i){this._onerror(Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let a=this._responseHandlers.get(r),o=this._timeoutInfo.get(r);if(o&&a&&o.resetTimeoutOnProgress)try{this._resetTimeout(r)}catch(e){this._responseHandlers.delete(r),this._progressHandlers.delete(r),this._cleanupTimeout(r),a(e);return}i(n)}_onresponse(e){let t=Number(e.id),n=this._requestResolvers.get(t);if(n){this._requestResolvers.delete(t),Qh(e)?n(e):n(new ov(e.error.code,e.error.message,e.error.data));return}let r=this._responseHandlers.get(t);if(r===void 0){this._onerror(Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t);let i=!1;if(Qh(e)&&e.result&&typeof e.result==`object`){let n=e.result;if(n.task&&typeof n.task==`object`){let e=n.task;typeof e.taskId==`string`&&(i=!0,this._taskProgressTokens.set(e.taskId,t))}}i||this._progressHandlers.delete(t),Qh(e)?r(e):r(ov.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(e,t,n){let{task:r}=n??{};if(!r){try{yield{type:`result`,result:await this.request(e,t,n)}}catch(e){yield{type:`error`,error:e instanceof ov?e:new ov($h.InternalError,String(e))}}return}let i;try{let r=await this.request(e,wg,n);if(r.task)i=r.task.taskId,yield{type:`taskCreated`,task:r.task};else throw new ov($h.InternalError,`Task creation did not return a task`);for(;;){let e=await this.getTask({taskId:i},n);if(yield{type:`taskStatus`,task:e},sv(e.status)){e.status===`completed`?yield{type:`result`,result:await this.getTaskResult({taskId:i},t,n)}:e.status===`failed`?yield{type:`error`,error:new ov($h.InternalError,`Task ${i} failed`)}:e.status===`cancelled`&&(yield{type:`error`,error:new ov($h.InternalError,`Task ${i} was cancelled`)});return}if(e.status===`input_required`){yield{type:`result`,result:await this.getTaskResult({taskId:i},t,n)};return}let r=e.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(e=>setTimeout(e,r)),n?.signal?.throwIfAborted()}}catch(e){yield{type:`error`,error:e instanceof ov?e:new ov($h.InternalError,String(e))}}}request(e,t,n){let{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a,task:o,relatedTask:s}=n??{};return new Promise((c,l)=>{let u=e=>{l(e)};if(!this._transport){u(Error(`Not connected`));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(e.method),o&&this.assertTaskCapability(e.method)}catch(e){u(e);return}n?.signal?.throwIfAborted();let d=this._requestMessageId++,f={...e,jsonrpc:`2.0`,id:d};n?.onprogress&&(this._progressHandlers.set(d,n.onprogress),f.params={...e.params,_meta:{...e.params?._meta||{},progressToken:d}}),o&&(f.params={...f.params,task:o}),s&&(f.params={...f.params,_meta:{...f.params?._meta||{},[Nh]:s}});let p=e=>{this._responseHandlers.delete(d),this._progressHandlers.delete(d),this._cleanupTimeout(d),this._transport?.send({jsonrpc:`2.0`,method:`notifications/cancelled`,params:{requestId:d,reason:String(e)}},{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(e=>this._onerror(Error(`Failed to send cancellation: ${e}`))),l(e instanceof ov?e:new ov($h.RequestTimeout,String(e)))};this._responseHandlers.set(d,e=>{if(!n?.signal?.aborted){if(e instanceof Error)return l(e);try{let n=Pd(t,e.result);n.success?c(n.data):l(n.error)}catch(e){l(e)}}}),n?.signal?.addEventListener(`abort`,()=>{p(n?.signal?.reason)});let m=n?.timeout??6e4;this._setupTimeout(d,m,n?.maxTotalTimeout,()=>p(ov.fromError($h.RequestTimeout,`Request timed out`,{timeout:m})),n?.resetTimeoutOnProgress??!1);let h=s?.taskId;h?(this._requestResolvers.set(d,e=>{let t=this._responseHandlers.get(d);t?t(e):this._onerror(Error(`Response handler missing for side-channeled request ${d}`))}),this._enqueueTaskMessage(h,{type:`request`,message:f,timestamp:Date.now()}).catch(e=>{this._cleanupTimeout(d),l(e)})):this._transport.send(f,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(e=>{this._cleanupTimeout(d),l(e)})})}async getTask(e,t){return this.request({method:`tasks/get`,params:e},Dg,t)}async getTaskResult(e,t,n){return this.request({method:`tasks/result`,params:e},t,n)}async listTasks(e,t){return this.request({method:`tasks/list`,params:e},Ag,t)}async cancelTask(e,t){return this.request({method:`tasks/cancel`,params:e},Mg,t)}async notification(e,t){if(!this._transport)throw Error(`Not connected`);this.assertNotificationCapability(e.method);let n=t?.relatedTask?.taskId;if(n){let r={...e,jsonrpc:`2.0`,params:{...e.params,_meta:{...e.params?._meta||{},[Nh]:t.relatedTask}}};await this._enqueueTaskMessage(n,{type:`notification`,message:r,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(e.method)&&!e.params&&!t?.relatedRequestId&&!t?.relatedTask){if(this._pendingDebouncedNotifications.has(e.method))return;this._pendingDebouncedNotifications.add(e.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(e.method),!this._transport)return;let n={...e,jsonrpc:`2.0`};t?.relatedTask&&(n={...n,params:{...n.params,_meta:{...n.params?._meta||{},[Nh]:t.relatedTask}}}),this._transport?.send(n,t).catch(e=>this._onerror(e))});return}let r={...e,jsonrpc:`2.0`};t?.relatedTask&&(r={...r,params:{...r.params,_meta:{...r.params?._meta||{},[Nh]:t.relatedTask}}}),await this._transport.send(r,t)}setRequestHandler(e,t){let n=cv(e);this.assertRequestHandlerCapability(n),this._requestHandlers.set(n,(n,r)=>{let i=lv(e,n);return Promise.resolve(t(i,r))})}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t){let n=cv(e);this._notificationHandlers.set(n,n=>{let r=lv(e,n);return Promise.resolve(t(r))})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}_cleanupTaskProgressHandler(e){let t=this._taskProgressTokens.get(e);t!==void 0&&(this._progressHandlers.delete(t),this._taskProgressTokens.delete(e))}async _enqueueTaskMessage(e,t,n){if(!this._taskStore||!this._taskMessageQueue)throw Error(`Cannot enqueue task message: taskStore and taskMessageQueue are not configured`);let r=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(e,t,n,r)}async _clearTaskQueue(e,t){if(this._taskMessageQueue){let n=await this._taskMessageQueue.dequeueAll(e,t);for(let t of n)if(t.type===`request`&&Jh(t.message)){let n=t.message.id,r=this._requestResolvers.get(n);r?(r(new ov($h.InternalError,`Task cancelled or completed`)),this._requestResolvers.delete(n)):this._onerror(Error(`Resolver missing for request ${n} during task ${e} cleanup`))}}}async _waitForTaskUpdate(e,t){let n=this._options?.defaultTaskPollInterval??1e3;try{let t=await this._taskStore?.getTask(e);t?.pollInterval&&(n=t.pollInterval)}catch{}return new Promise((e,r)=>{if(t.aborted){r(new ov($h.InvalidRequest,`Request cancelled`));return}let i=setTimeout(e,n);t.addEventListener(`abort`,()=>{clearTimeout(i),r(new ov($h.InvalidRequest,`Request cancelled`))},{once:!0})})}requestTaskStore(e,t){let n=this._taskStore;if(!n)throw Error(`No task store configured`);return{createTask:async r=>{if(!e)throw Error(`No request provided`);return await n.createTask(r,e.id,{method:e.method,params:e.params},t)},getTask:async e=>{let r=await n.getTask(e,t);if(!r)throw new ov($h.InvalidParams,`Failed to retrieve task: Task not found`);return r},storeTaskResult:async(e,r,i)=>{await n.storeTaskResult(e,r,i,t);let a=await n.getTask(e,t);if(a){let t=Tg.parse({method:`notifications/tasks/status`,params:a});await this.notification(t),sv(a.status)&&this._cleanupTaskProgressHandler(e)}},getTaskResult:e=>n.getTaskResult(e,t),updateTaskStatus:async(e,r,i)=>{let a=await n.getTask(e,t);if(!a)throw new ov($h.InvalidParams,`Task \"${e}\" not found - it may have been cleaned up`);if(sv(a.status))throw new ov($h.InvalidParams,`Cannot update task \"${e}\" from terminal status \"${a.status}\" to \"${r}\". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await n.updateTaskStatus(e,r,i,t);let o=await n.getTask(e,t);if(o){let t=Tg.parse({method:`notifications/tasks/status`,params:o});await this.notification(t),sv(o.status)&&this._cleanupTaskProgressHandler(e)}},listTasks:e=>n.listTasks(e,t)}}};function uv(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function _ee(e,t){let n={...e};for(let e in t){let r=e,i=t[r];if(i===void 0)continue;let a=n[r];uv(a)&&uv(i)?n[r]={...a,...i}:n[r]=i}return n}var vee=`modulepreload`,yee=function(e,t){return new URL(e,t).href},dv={},fv=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=yee(t,n),t in dv)return;dv[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel=\"stylesheet\"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href=\"${t}\"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:vee,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};Mh(),(e=>typeof d<`u`?d:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof d<`u`?d:e)[t]}):e)(function(e){if(typeof d<`u`)return d.apply(this,arguments);throw Error(`Dynamic require of \"`+e+`\" is not supported`)});var bee=class extends gee{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(e,t){}_ensureEventSlot(e){let t=this._eventSlots.get(e);if(!t){let n=this.eventSchemas[e];if(!n)throw Error(`Unknown event: ${String(e)}`);t={listeners:[]},this._eventSlots.set(e,t);let r=n.shape.method.value;this._registeredMethods.add(r);let i=t;super.setNotificationHandler(n,t=>{let n=t.params;this.onEventDispatch(e,n),i.onHandler?.(n);for(let e of[...i.listeners])e(n)})}return t}setEventHandler(e,t){let n=this._ensureEventSlot(e);n.onHandler&&t&&console.warn(`[MCP Apps] on${String(e)} handler replaced. Use addEventListener(\"${String(e)}\", …) to add multiple listeners without replacing.`),n.onHandler=t}getEventHandler(e){return this._eventSlots.get(e)?.onHandler}addEventListener(e,t){this._ensureEventSlot(e).listeners.push(t)}removeEventListener(e,t){let n=this._eventSlots.get(e);if(!n)return;let r=n.listeners.indexOf(t);r!==-1&&n.listeners.splice(r,1)}setRequestHandler=(e,t)=>{this._assertMethodNotRegistered(e,`setRequestHandler`),super.setRequestHandler(e,t)};setNotificationHandler=(e,t)=>{this._assertMethodNotRegistered(e,`setNotificationHandler`),super.setNotificationHandler(e,t)};warnIfRequestHandlerReplaced(e,t,n){t&&n&&console.warn(`[MCP Apps] ${e} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(e,t)=>{let n=e.shape.method.value;this._registeredMethods.add(n),super.setRequestHandler(e,t)};_assertMethodNotRegistered(e,t){let n=e.shape.method.value;if(this._registeredMethods.has(n))throw Error(`Handler for \"${n}\" already registered (via ${t}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(n)}},xee=`2026-01-26`,pv=class{eventTarget;eventSource;messageListener;constructor(e=window.parent,t){this.eventTarget=e,this.eventSource=t,this.messageListener=e=>{if(t&&e.source!==this.eventSource){console.debug(`Ignoring message from unknown source`,e);return}let n=ng.safeParse(e.data);n.success?(console.debug(`Parsed message`,n.data),this.onmessage?.(n.data)):e.data?.jsonrpc===`2.0`?(console.error(`Failed to parse message`,n.error.message,e),this.onerror?.(Error(`Invalid JSON-RPC message received: `+n.error.message))):console.debug(`Ignoring non-JSON-RPC message`,n.error.message,e)}}async start(){window.addEventListener(`message`,this.messageListener)}async send(e,t){e.method!==`ui/notifications/tool-input-partial`&&console.debug(`Sending message`,e),this.eventTarget.postMessage(e,`*`)}async close(){window.removeEventListener(`message`,this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},See=W([G(`light`),G(`dark`)]).describe(`Color theme preference for the host environment.`),mv=W([G(`inline`),G(`fullscreen`),G(`pip`)]).describe(`Display mode for UI presentation.`),Cee=pp(W([G(`--color-background-primary`),G(`--color-background-secondary`),G(`--color-background-tertiary`),G(`--color-background-inverse`),G(`--color-background-ghost`),G(`--color-background-info`),G(`--color-background-danger`),G(`--color-background-success`),G(`--color-background-warning`),G(`--color-background-disabled`),G(`--color-text-primary`),G(`--color-text-secondary`),G(`--color-text-tertiary`),G(`--color-text-inverse`),G(`--color-text-ghost`),G(`--color-text-info`),G(`--color-text-danger`),G(`--color-text-success`),G(`--color-text-warning`),G(`--color-text-disabled`),G(`--color-border-primary`),G(`--color-border-secondary`),G(`--color-border-tertiary`),G(`--color-border-inverse`),G(`--color-border-ghost`),G(`--color-border-info`),G(`--color-border-danger`),G(`--color-border-success`),G(`--color-border-warning`),G(`--color-border-disabled`),G(`--color-ring-primary`),G(`--color-ring-secondary`),G(`--color-ring-inverse`),G(`--color-ring-info`),G(`--color-ring-danger`),G(`--color-ring-success`),G(`--color-ring-warning`),G(`--font-sans`),G(`--font-mono`),G(`--font-weight-normal`),G(`--font-weight-medium`),G(`--font-weight-semibold`),G(`--font-weight-bold`),G(`--font-text-xs-size`),G(`--font-text-sm-size`),G(`--font-text-md-size`),G(`--font-text-lg-size`),G(`--font-heading-xs-size`),G(`--font-heading-sm-size`),G(`--font-heading-md-size`),G(`--font-heading-lg-size`),G(`--font-heading-xl-size`),G(`--font-heading-2xl-size`),G(`--font-heading-3xl-size`),G(`--font-text-xs-line-height`),G(`--font-text-sm-line-height`),G(`--font-text-md-line-height`),G(`--font-text-lg-line-height`),G(`--font-heading-xs-line-height`),G(`--font-heading-sm-line-height`),G(`--font-heading-md-line-height`),G(`--font-heading-lg-line-height`),G(`--font-heading-xl-line-height`),G(`--font-heading-2xl-line-height`),G(`--font-heading-3xl-line-height`),G(`--border-radius-xs`),G(`--border-radius-sm`),G(`--border-radius-md`),G(`--border-radius-lg`),G(`--border-radius-xl`),G(`--border-radius-full`),G(`--border-width-regular`),G(`--shadow-hairline`),G(`--shadow-sm`),G(`--shadow-md`),G(`--shadow-lg`)]).describe(`CSS variable keys available to MCP apps for theming.`).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),W([B(),$f()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`);U({method:G(`ui/open-link`),params:U({url:B().describe(`URL to open in the host's browser`)})});var wee=U({isError:Jf().optional().describe(`True if the host failed to open the URL (e.g., due to security policy).`)}).passthrough(),Tee=U({isError:Jf().optional().describe(`True if the download failed (e.g., user cancelled or host denied).`)}).passthrough(),Eee=U({isError:Jf().optional().describe(`True if the host rejected or failed to deliver the message.`)}).passthrough();U({method:G(`ui/notifications/sandbox-proxy-ready`),params:U({})});var hv=U({connectDomains:H(B()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted → no network connections (secure default)`),resourceDomains:H(B()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted → no network resources (secure default)\"),frameDomains:H(B()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:H(B()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)\")}),gv=U({camera:U({}).optional().describe(`Request camera access.\n\nMaps to Permission Policy \\`camera\\` feature.`),microphone:U({}).optional().describe(`Request microphone access.\n\nMaps to Permission Policy \\`microphone\\` feature.`),geolocation:U({}).optional().describe(`Request geolocation access.\n\nMaps to Permission Policy \\`geolocation\\` feature.`),clipboardWrite:U({}).optional().describe(`Request clipboard write access.\n\nMaps to Permission Policy \\`clipboard-write\\` feature.`)});U({method:G(`ui/notifications/size-changed`),params:U({width:V().optional().describe(`New width in pixels.`),height:V().optional().describe(`New height in pixels.`)})});var Dee=U({method:G(`ui/notifications/tool-input`),params:U({arguments:pp(B(),np().describe(`Complete tool call arguments as key-value pairs.`)).optional().describe(`Complete tool call arguments as key-value pairs.`)})}),Oee=U({method:G(`ui/notifications/tool-input-partial`),params:U({arguments:pp(B(),np().describe(`Partial tool call arguments (incomplete, may change).`)).optional().describe(`Partial tool call arguments (incomplete, may change).`)})}),kee=U({method:G(`ui/notifications/tool-cancelled`),params:U({reason:B().optional().describe(`Optional reason for the cancellation (e.g., \"user action\", \"timeout\").`)})}),Aee=U({fonts:B().optional()}),jee=U({variables:Cee.optional().describe(`CSS variables for theming the app.`),css:Aee.optional().describe(`CSS blocks that apps can inject.`)}),Mee=U({method:G(`ui/resource-teardown`),params:U({})});pp(B(),np());var _v=U({text:U({}).optional().describe(`Host supports text content blocks.`),image:U({}).optional().describe(`Host supports image content blocks.`),audio:U({}).optional().describe(`Host supports audio content blocks.`),resource:U({}).optional().describe(`Host supports resource content blocks.`),resourceLink:U({}).optional().describe(`Host supports resource link content blocks.`),structuredContent:U({}).optional().describe(`Host supports structured content.`)});U({method:G(`ui/notifications/request-teardown`),params:U({}).optional()});var Nee=U({experimental:U({}).optional().describe(`Experimental features (structure TBD).`),openLinks:U({}).optional().describe(`Host supports opening external URLs.`),downloadFile:U({}).optional().describe(`Host supports file downloads via ui/download-file.`),serverTools:U({listChanged:Jf().optional().describe(`Host supports tools/list_changed notifications.`)}).optional().describe(`Host can proxy tool calls to the MCP server.`),serverResources:U({listChanged:Jf().optional().describe(`Host supports resources/list_changed notifications.`)}).optional().describe(`Host can proxy resource reads to the MCP server.`),logging:U({}).optional().describe(`Host accepts log messages.`),sandbox:U({permissions:gv.optional().describe(`Permissions granted by the host (camera, microphone, geolocation).`),csp:hv.optional().describe(`CSP domains approved by the host.`)}).optional().describe(`Sandbox configuration applied by the host.`),updateModelContext:_v.optional().describe(`Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.`),message:_v.optional().describe(`Host supports receiving content messages (ui/message) from the view.`),sampling:U({tools:U({}).optional().describe(\"Host supports tool use via `tools` and `toolChoice` parameters.\")}).optional().describe(\"Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.\")}),Pee=U({experimental:U({}).optional().describe(`Experimental features (structure TBD).`),tools:U({listChanged:Jf().optional().describe(`App supports tools/list_changed notifications.`)}).optional().describe(`App exposes MCP-style tools that the host can call.`),availableDisplayModes:H(mv).optional().describe(`Display modes the app supports.`)});U({method:G(`ui/notifications/initialized`),params:U({}).optional()}),U({csp:hv.optional().describe(`Content Security Policy configuration for UI resources.`),permissions:gv.optional().describe(`Sandbox permissions requested by the UI resource.`),domain:B().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:Jf().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),U({method:G(`ui/request-display-mode`),params:U({mode:mv.describe(`The display mode being requested.`)})});var Fee=U({mode:mv.describe(`The display mode that was actually set. May differ from requested if not supported.`)}).passthrough(),Iee=W([G(`model`),G(`app`)]).describe(`Tool visibility scope - who can access the tool.`);U({resourceUri:B().optional(),visibility:H(Iee).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`),csp:rp().optional(),permissions:rp().optional()}),U({mimeTypes:H(B()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),U({method:G(`ui/download-file`),params:U({contents:H(W([f_,p_])).describe(`Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.`)})}),U({method:G(`ui/message`),params:U({role:G(`user`).describe(`Message role, currently only \"user\" is supported.`),content:H(m_).describe(`Message content blocks (text, image, etc.).`)})}),U({method:G(`ui/notifications/sandbox-resource-ready`),params:U({html:B().describe(`HTML content to load into the inner iframe.`),sandbox:B().optional().describe(`Optional override for the inner iframe's sandbox attribute.`),csp:hv.optional().describe(`CSP configuration from resource metadata.`),permissions:gv.optional().describe(`Sandbox permissions from resource metadata.`)})});var Lee=U({method:G(`ui/notifications/tool-result`),params:C_.describe(`Standard MCP tool execution result.`)}),vv=U({toolInfo:U({id:Kh.optional().describe(`JSON-RPC id of the tools/call request.`),tool:b_.describe(`Tool definition including name, inputSchema, etc.`)}).optional().describe(`Metadata of the tool call that instantiated this App.`),theme:See.optional().describe(`Current color theme preference.`),styles:jee.optional().describe(`Style configuration for theming the app.`),displayMode:mv.optional().describe(`How the UI is currently displayed.`),availableDisplayModes:H(mv).optional().describe(`Display modes the host supports.`),containerDimensions:W([U({height:V().describe(`Fixed container height in pixels.`)}),U({maxHeight:W([V(),$f()]).optional().describe(`Maximum container height in pixels.`)})]).and(W([U({width:V().describe(`Fixed container width in pixels.`)}),U({maxWidth:W([V(),$f()]).optional().describe(`Maximum container width in pixels.`)})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:B().optional().describe(`User's language and region preference in BCP 47 format.`),timeZone:B().optional().describe(`User's timezone in IANA format.`),userAgent:B().optional().describe(`Host application identifier.`),platform:W([G(`web`),G(`desktop`),G(`mobile`)]).optional().describe(`Platform type for responsive design decisions.`),deviceCapabilities:U({touch:Jf().optional().describe(`Whether the device supports touch input.`),hover:Jf().optional().describe(`Whether the device supports hover interactions.`)}).optional().describe(`Device input capabilities.`),safeAreaInsets:U({top:V().describe(`Top safe area inset in pixels.`),right:V().describe(`Right safe area inset in pixels.`),bottom:V().describe(`Bottom safe area inset in pixels.`),left:V().describe(`Left safe area inset in pixels.`)}).optional().describe(`Mobile safe area boundaries in pixels.`)}).passthrough(),Ree=U({method:G(`ui/notifications/host-context-changed`),params:vv.describe(`Partial context update containing only changed fields.`)});U({method:G(`ui/update-model-context`),params:U({content:H(m_).optional().describe(`Context content blocks (text, image, etc.).`),structuredContent:pp(B(),np().describe(`Structured content for machine-readable context data.`)).optional().describe(`Structured content for machine-readable context data.`)})}),U({method:G(`ui/initialize`),params:U({appInfo:cg.describe(`App identification (name and version).`),appCapabilities:Pee.describe(`Features and capabilities this app provides.`),protocolVersion:B().describe(`Protocol version this app supports.`)})});var zee=U({protocolVersion:B().describe(`Negotiated protocol version string (e.g., \"2025-11-21\").`),hostInfo:cg.describe(`Host application identification and version.`),hostCapabilities:Nee.describe(`Features and capabilities provided by the host.`),hostContext:vv.describe(`Rich context about the host environment.`)}).passthrough(),Bee={target:`draft-2020-12`};async function yv(e,t){let n=e[`~standard`];if(n.jsonSchema)return n.jsonSchema[t](Bee);if(n.vendor===`zod`){let{z:n}=await fv(async()=>{let{z:e}=await Promise.resolve().then(()=>(Mh(),Ah));return{z:e}},void 0,import.meta.url);return n.toJSONSchema(e,{io:t})}throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function bv(e,t,n=``){let r=await e[`~standard`].validate(t);if(r.issues){let e=r.issues.map(e=>{let t=e.path?.map(e=>typeof e==`object`?e.key:e).join(`.`);return t?`${t}: ${e.message}`:e.message}).join(`; `);throw Error(n+e)}return r.value}var xv=class e extends bee{_appInfo;_capabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_assertInitialized(e){if(this._initializedSent)return;let t=`[ext-apps] App.${e}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(t);console.warn(`${t}. This will throw in a future release.`)}eventSchemas={toolinput:Dee,toolinputpartial:Oee,toolresult:Lee,toolcancelled:kee,hostcontextchanged:Ree};static ONE_SHOT_EVENTS=new Set([`toolinput`,`toolinputpartial`,`toolresult`,`toolcancelled`]);_everHadListener=new Set;_assertHandlerTiming(t){if(!e.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let n=`[ext-apps] \"${String(t)}\" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(n);console.warn(n)}setEventHandler(e,t){t&&this._assertHandlerTiming(e),super.setEventHandler(e,t)}addEventListener(e,t){this._assertHandlerTiming(e),super.addEventListener(e,t)}onEventDispatch(e,t){e===`hostcontextchanged`&&(this._hostContext={...this._hostContext,...t})}constructor(e,t={},n={autoResize:!0}){super(n),this._appInfo=e,this._capabilities=t,this.options=n,n.allowUnsafeEval||b({jitless:!0}),this.setRequestHandler(vg,e=>(console.log(`Received ping:`,e.params),{})),this.setEventHandler(`hostcontextchanged`,void 0)}registerCapabilities(e){if(this.transport)throw Error(`Cannot register capabilities after transport is established`);this._capabilities=_ee(this._capabilities,e)}registerTool(e,t,n){if(this._registeredTools[e])throw Error(`Tool ${e} is already registered`);let r=this,i=()=>{r._initializedSent&&r._capabilities.tools?.listChanged&&r.sendToolListChanged()},a=t.inputSchema!==void 0,o={title:t.title,description:t.description,inputSchema:t.inputSchema,outputSchema:t.outputSchema,annotations:t.annotations,_meta:t._meta,enabled:!0,enable(){this.enabled=!0,i()},disable(){this.enabled=!1,i()},update(e){Object.assign(this,e),i()},remove(){r._registeredTools[e]===o&&(delete r._registeredTools[e],i())},handler:async(t,r)=>{if(!o.enabled)throw Error(`Tool ${e} is disabled`);let i;if(a){let a=o.inputSchema;i=await n(a?await bv(a,t??{},`Invalid input for tool ${e}: `):t??{},r)}else i=await n(r);return o.outputSchema&&!i.isError&&(i.structuredContent=await bv(o.outputSchema,i.structuredContent,`Invalid output for tool ${e}: `)),i}};return this._registeredTools[e]=o,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),i(),o}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(e,t)=>{let n=this._registeredTools[e.name];if(!n)throw Error(`Tool ${e.name} not found`);return n.handler(e.arguments,t)},this.onlisttools=async(e,t)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([e,t])=>t.enabled).map(async([e,t])=>{let n={name:e,title:t.title,description:t.description,inputSchema:t.inputSchema?await yv(t.inputSchema,`input`):{type:`object`,properties:{}}};return t.outputSchema&&(n.outputSchema=await yv(t.outputSchema,`output`)),t.annotations&&(n.annotations=t.annotations),t._meta&&(n._meta=t._meta),n}))}))}async sendToolListChanged(e={}){this._assertInitialized(`sendToolListChanged`),await this.notification({method:`notifications/tools/list_changed`,params:e})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler(`toolinput`)}set ontoolinput(e){this.setEventHandler(`toolinput`,e)}get ontoolinputpartial(){return this.getEventHandler(`toolinputpartial`)}set ontoolinputpartial(e){this.setEventHandler(`toolinputpartial`,e)}get ontoolresult(){return this.getEventHandler(`toolresult`)}set ontoolresult(e){this.setEventHandler(`toolresult`,e)}get ontoolcancelled(){return this.getEventHandler(`toolcancelled`)}set ontoolcancelled(e){this.setEventHandler(`toolcancelled`,e)}get onhostcontextchanged(){return this.getEventHandler(`hostcontextchanged`)}set onhostcontextchanged(e){this.setEventHandler(`hostcontextchanged`,e)}_onteardown;get onteardown(){return this._onteardown}set onteardown(e){this.warnIfRequestHandlerReplaced(`onteardown`,this._onteardown,e),this._onteardown=e,this.replaceRequestHandler(Mee,(e,t)=>{if(!this._onteardown)throw Error(`No onteardown handler set`);return this._onteardown(e.params,t)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(e){this.warnIfRequestHandlerReplaced(`oncalltool`,this._oncalltool,e),this._oncalltool=e,this.replaceRequestHandler(T_,(e,t)=>{if(!this._oncalltool)throw Error(`No oncalltool handler set`);return this._oncalltool(e.params,t)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(e){this.warnIfRequestHandlerReplaced(`onlisttools`,this._onlisttools,e),this._onlisttools=e,this.replaceRequestHandler(x_,(e,t)=>{if(!this._onlisttools)throw Error(`No onlisttools handler set`);return this._onlisttools(e.params,t)})}assertCapabilityForMethod(e){switch(e){case`sampling/createMessage`:if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${e})`);break}}assertRequestHandlerCapability(e){switch(e){case`tools/call`:case`tools/list`:if(!this._capabilities.tools)throw Error(`Client does not support tool capability (required for ${e})`);return;case`ping`:case`ui/resource-teardown`:return;default:throw Error(`No handler for method ${e} registered`)}}assertNotificationCapability(e){}assertTaskCapability(e){throw Error(`Tasks are not supported in MCP Apps`)}assertTaskHandlerCapability(e){throw Error(`Task handlers are not supported in MCP Apps`)}async callServerTool(e,t){if(this._assertInitialized(`callServerTool`),typeof e==`string`)throw Error(`callServerTool() expects an object as its first argument, but received a string (\"${e}\"). Did you mean: callServerTool({ name: \"${e}\", arguments: { ... } })?`);return await this.request({method:`tools/call`,params:e},C_,{onprogress:()=>{},resetTimeoutOnProgress:!0,...t})}async readServerResource(e,t){return this._assertInitialized(`readServerResource`),await this.request({method:`resources/read`,params:e},Jg,t)}async listServerResources(e,t){return this._assertInitialized(`listServerResources`),await this.request({method:`resources/list`,params:e},Hg,t)}async createSamplingMessage(e,t){this._assertInitialized(`createSamplingMessage`);let n=e.tools?V_:B_;return await this.request({method:`sampling/createMessage`,params:e},n,t)}sendMessage(e,t){return this._assertInitialized(`sendMessage`),this.request({method:`ui/message`,params:e},Eee,t)}sendLog(e){return this.notification({method:`notifications/message`,params:e})}updateModelContext(e,t){return this._assertInitialized(`updateModelContext`),this.request({method:`ui/update-model-context`,params:e},rg,t)}openLink(e,t){return this._assertInitialized(`openLink`),this.request({method:`ui/open-link`,params:e},wee,t)}sendOpenLink=this.openLink;downloadFile(e,t){return this._assertInitialized(`downloadFile`),this.request({method:`ui/download-file`,params:e},Tee,t)}requestTeardown(e={}){return this.notification({method:`ui/notifications/request-teardown`,params:e})}requestDisplayMode(e,t){return this._assertInitialized(`requestDisplayMode`),this.request({method:`ui/request-display-mode`,params:e},Fee,t)}sendSizeChanged(e){return this.notification({method:`ui/notifications/size-changed`,params:e})}setupSizeChangedNotifications(){let e=!1,t=0,n=0,r=()=>{e||(e=!0,requestAnimationFrame(()=>{e=!1;let r=document.documentElement,i=r.style.height;r.style.height=`max-content`;let a=Math.ceil(r.getBoundingClientRect().height);r.style.height=i;let o=Math.ceil(window.innerWidth);(o!==t||a!==n)&&(t=o,n=a,this.sendSizeChanged({width:o,height:a}))}))};r();let i=new ResizeObserver(r);return i.observe(document.documentElement),i.observe(document.body),()=>i.disconnect()}async connect(e=new pv(window.parent,window.parent),t){if(this.transport)throw Error(`App is already connected. Call close() before connecting again.`);this._initializedSent=!1,await super.connect(e);try{let e=await this.request({method:`ui/initialize`,params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:xee}},zee,t);if(e===void 0)throw Error(`Server sent invalid initialize result: ${e}`);this._hostCapabilities=e.hostCapabilities,this._hostInfo=e.hostInfo,this._hostContext=e.hostContext,await this.notification({method:`ui/notifications/initialized`}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(e){throw this.close(),e}}};function Sv({appInfo:e,capabilities:t,onAppCreated:n,autoResize:r=!0,strict:i}){let[a,o]=(0,z.useState)(null),[s,c]=(0,z.useState)(!1),[l,u]=(0,z.useState)(null);return(0,z.useEffect)(()=>{let a=!0,s;async function l(){try{let l=new pv(window.parent,window.parent);if(s=new xv(e,t,{autoResize:r,strict:i}),n?.(s),await s.connect(l),!a){s.close();return}o(s),c(!0),u(null)}catch(e){a&&(o(null),c(!1),u(e instanceof Error?e:Error(`Failed to connect`)))}}return l(),()=>{a=!1,s?.close()}},[]),{app:a,isConnected:s,error:l}}var Cv=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})},wv=c({default:()=>Tv}),Tv,Ev=o((()=>{Tv={\"analysis.modes.query.label\":`Query`,\"analysis.modes.query.description\":`Standard analysis (single or multi-query)`,\"analysis.modes.funnel.label\":`Funnel`,\"analysis.modes.funnel.description\":`Sequential conversion analysis`,\"analysis.modes.flow.label\":`Flow`,\"analysis.modes.flow.description\":`Bidirectional path analysis with Sankey visualisation`,\"analysis.modes.retention.label\":`Retention`,\"analysis.modes.retention.description\":`Cohort-based retention analysis over time periods`,\"analysis.ai.title\":`AI Query Generator`,\"analysis.ai.generating\":`Generating...`,\"analysis.ai.placeholder\":`Describe your query in natural language... (e.g., 'Show total sales by month for the last year')`,\"analysis.ai.shortcutHint\":`Press Enter to generate, Shift+Enter for new line`,\"analysis.ai.successMessage\":`Query generated and loaded! Check the results below, then click Accept to keep or Cancel to revert.`,\"analysis.ai.button.accept\":`Accept`,\"analysis.ai.button.cancel\":`Cancel`,\"analysis.ai.button.close\":`Close`,\"analysis.ai.button.generate\":`Generate`,\"analysis.ai.button.generating\":`Generating...`,\"analysis.sections.metrics\":`Metrics`,\"analysis.sections.breakdown\":`Breakdown`,\"analysis.sections.dimensions\":`Dimensions`,\"analysis.sections.filters\":`Filter`,\"analysis.sections.limit\":`Limit`,\"analysis.tabs.query\":`Query`,\"analysis.tabs.chart\":`Chart`,\"analysis.tabs.chartTitle\":`Chart configuration`,\"analysis.tabs.display\":`Display`,\"analysis.tabs.displayTitle\":`Display options`,\"analysis.multiQuery.removeQuery\":`Remove query`,\"analysis.multiQuery.addQuery\":`Add new query`,\"analysis.multiQuery.addAnother\":`Add another query`,\"analysis.multiQuery.mergeExplanation\":`In merge mode, dimensions are shared from Q1.`,\"analysis.multiQuery.switchToSeparate\":`Switch to separate series`,\"analysis.mergeStrategy.concat\":`Separate series`,\"analysis.mergeStrategy.merge\":`Merge by dimension`,\"analysis.mergeStrategy.funnel\":`Funnel`,\"analysis.placeholders.addMetrics\":`Add metrics to generate SQL`,\"analysis.placeholders.hoverField\":`Hover over a field to see details`,\"analysis.placeholders.noData\":`No data available`,\"common.actions.accept\":`Accept`,\"common.actions.cancel\":`Cancel`,\"common.actions.delete\":`Delete`,\"common.actions.close\":`Close`,\"common.actions.edit\":`Edit`,\"common.actions.save\":`Save`,\"common.actions.copy\":`Copy`,\"common.actions.duplicate\":`Duplicate`,\"common.actions.refresh\":`Refresh`,\"common.actions.confirm\":`Confirm`,\"common.actions.add\":`Add`,\"common.actions.clear\":`Clear`,\"common.actions.select\":`Select`,\"common.actions.navigate\":`Navigate`,\"common.actions.share\":`Share`,\"common.loading\":`Loading...`,\"common.modal.processing\":`Processing...`,\"common.modal.dashboardName\":`Dashboard Name`,\"common.modal.deleteConfirmation\":`Are you sure? This action cannot be undone.`,\"common.sorting.ascending\":`Sorted ascending (click for descending)`,\"common.sorting.descending\":`Sorted descending (click to remove)`,\"common.sorting.none\":`Click to sort ascending`,\"fieldTypes.count\":`Count`,\"fieldTypes.countDistinct\":`Count Distinct`,\"fieldTypes.countDistinctApprox\":`Count Distinct (Approx)`,\"fieldTypes.sum\":`Sum`,\"fieldTypes.avg\":`Average`,\"fieldTypes.min\":`Minimum`,\"fieldTypes.max\":`Maximum`,\"fieldTypes.runningTotal\":`Running Total`,\"fieldTypes.number\":`Number`,\"fieldTypes.string\":`Text`,\"fieldTypes.boolean\":`Boolean`,\"fieldTypes.time\":`Time Dimension`,\"fieldTypes.geo\":`Geographic`,\"fieldTypes.dimension\":`Dimension`,\"fieldPanel.emptyState\":`Hover over a field to see details`,\"fieldPanel.usageHint\":`Press Enter or click to add this field to your query.`,\"fieldPanel.labels.type\":`Type`,\"fieldPanel.labels.cube\":`Cube`,\"fieldPanel.labels.category\":`Category`,\"fieldCategory.measure\":`Measure`,\"fieldCategory.timeDimension\":`Time Dimension`,\"fieldCategory.dimension\":`Dimension`,\"fieldSearch.placeholder.metrics\":`Search metrics...`,\"fieldSearch.placeholder.filter\":`Search fields to filter...`,\"fieldSearch.placeholder.dimensions\":`Search dimensions...`,\"fieldSearch.modal.title.metrics\":`Select a Metric`,\"fieldSearch.modal.title.filter\":`Select a Field to Filter`,\"fieldSearch.modal.title.dimensions\":`Select a Dimension`,\"fieldSearch.filter.allCubes\":`All Cubes`,\"fieldSearch.categories.all\":`All`,\"fieldSearch.empty.heading\":`No fields found`,\"fieldSearch.empty.noMatchMetrics\":`No metrics match \"{searchTerm}\"`,\"fieldSearch.empty.noMatchDimensions\":`No dimensions match \"{searchTerm}\"`,\"fieldSearch.empty.noMetrics\":`No metrics available`,\"fieldSearch.empty.noDimensions\":`No dimensions available`,\"fieldSearch.section.recents\":`Recents`,\"fieldSearch.footer.metricsAvailable\":`metrics available`,\"fieldSearch.footer.fieldsAvailable\":`fields available`,\"fieldSearch.footer.dimensionsAvailable\":`dimensions available`,\"fieldSearch.shortcut.navigate\":`Navigate`,\"fieldSearch.shortcut.keyEnter\":`Enter`,\"fieldSearch.shortcut.keyShift\":`Shift`,\"fieldSearch.shortcut.keyEsc\":`Esc`,\"fieldSearch.shortcut.plusClick\":`+Click`,\"fieldSearch.shortcut.select\":`Select`,\"fieldSearch.shortcut.multiSelect\":`Multi-select`,\"fieldSearch.shortcut.close\":`Close`,\"filter.group.condition\":`condition`,\"filter.group.conditions\":`conditions`,\"filter.group.addFilter\":`Add Filter`,\"filter.group.addAndGroup\":`Add AND Group`,\"filter.group.addOrGroup\":`Add OR Group`,\"filter.group.removeGroup\":`Remove group`,\"filter.group.empty\":`No conditions in this group`,\"filter.group.addFilterLink\":`Add a filter`,\"filter.modal.title\":`Edit Filter`,\"filter.modal.fieldLabel\":`Field`,\"filter.modal.operatorLabel\":`Operator`,\"filter.modal.valueLabel\":`Value`,\"filter.modal.selectRange\":`Select range`,\"filter.modal.noValueRequired\":`No value required`,\"filter.modal.dateTo\":`to`,\"filter.modal.min\":`Min`,\"filter.modal.to\":`to`,\"filter.modal.max\":`Max`,\"filter.modal.enterNumber\":`Enter number`,\"filter.modal.loading\":`Loading...`,\"filter.modal.selectValue\":`Select value...`,\"filter.modal.search\":`Search...`,\"filter.modal.errorPrefix\":`Error: `,\"filter.modal.noValues\":`No values found`,\"filter.modal.multiSelectHint\":`Hold Shift to select multiple values`,\"filter.modal.enterValue\":`Enter value...`,\"filter.removeButton.title\":`Remove filter`,\"filter.section.clearAll\":`Clear all`,\"filter.section.dropHint\":`Drop to add filter`,\"filter.section.empty\":`No filters applied`,\"filter.valueDisplay.empty\":`(empty)`,\"filter.valueDisplay.more\":`more`,\"filter.operator.equals.label\":`equals`,\"filter.operator.equals.description\":`Exact match`,\"filter.operator.notEquals.label\":`not equals`,\"filter.operator.notEquals.description\":`Does not match`,\"filter.operator.contains.label\":`contains`,\"filter.operator.contains.description\":`Contains text (case insensitive)`,\"filter.operator.notContains.label\":`not contains`,\"filter.operator.notContains.description\":`Does not contain text`,\"filter.operator.startsWith.label\":`starts with`,\"filter.operator.startsWith.description\":`Starts with text`,\"filter.operator.notStartsWith.label\":`not starts with`,\"filter.operator.notStartsWith.description\":`Does not start with text`,\"filter.operator.endsWith.label\":`ends with`,\"filter.operator.endsWith.description\":`Ends with text`,\"filter.operator.notEndsWith.label\":`not ends with`,\"filter.operator.notEndsWith.description\":`Does not end with text`,\"filter.operator.like.label\":`like`,\"filter.operator.like.description\":`SQL LIKE pattern matching (case sensitive)`,\"filter.operator.notLike.label\":`not like`,\"filter.operator.notLike.description\":`SQL NOT LIKE pattern matching (case sensitive)`,\"filter.operator.ilike.label\":`ilike`,\"filter.operator.ilike.description\":`SQL ILIKE pattern matching (case insensitive)`,\"filter.operator.gt.label\":`greater than`,\"filter.operator.gt.description\":`Greater than value`,\"filter.operator.gte.label\":`greater than or equal`,\"filter.operator.gte.description\":`Greater than or equal to value`,\"filter.operator.lt.label\":`less than`,\"filter.operator.lt.description\":`Less than value`,\"filter.operator.lte.label\":`less than or equal`,\"filter.operator.lte.description\":`Less than or equal to value`,\"filter.operator.between.label\":`between`,\"filter.operator.between.description\":`Between two values (inclusive)`,\"filter.operator.notBetween.label\":`not between`,\"filter.operator.notBetween.description\":`Not between two values`,\"filter.operator.in.label\":`in`,\"filter.operator.in.description\":`Matches any of the provided values`,\"filter.operator.notIn.label\":`not in`,\"filter.operator.notIn.description\":`Does not match any of the provided values`,\"filter.operator.set.label\":`is set`,\"filter.operator.set.description\":`Is not null/empty`,\"filter.operator.notSet.label\":`is not set`,\"filter.operator.notSet.description\":`Is null/empty`,\"filter.operator.isEmpty.label\":`is empty`,\"filter.operator.isEmpty.description\":`Is empty string or null`,\"filter.operator.isNotEmpty.label\":`is not empty`,\"filter.operator.isNotEmpty.description\":`Is not empty string and not null`,\"filter.operator.inDateRange.label\":`in date range`,\"filter.operator.inDateRange.description\":`Between two dates`,\"filter.operator.beforeDate.label\":`before date`,\"filter.operator.beforeDate.description\":`Before specified date`,\"filter.operator.afterDate.label\":`after date`,\"filter.operator.afterDate.description\":`After specified date`,\"filter.operator.regex.label\":`matches regex`,\"filter.operator.regex.description\":`Matches regular expression pattern`,\"filter.operator.notRegex.label\":`not matches regex`,\"filter.operator.notRegex.description\":`Does not match regular expression pattern`,\"filter.operator.arrayContains.label\":`array contains all`,\"filter.operator.arrayContains.description\":`Array field contains all specified values (PostgreSQL only)`,\"filter.operator.arrayOverlaps.label\":`array contains any`,\"filter.operator.arrayOverlaps.description\":`Array field contains any of the specified values (PostgreSQL only)`,\"filter.operator.arrayContained.label\":`array values in`,\"filter.operator.arrayContained.description\":`All array field values are within specified values (PostgreSQL only)`,\"dateRange.custom\":`Custom`,\"dateRange.today\":`Today`,\"dateRange.yesterday\":`Yesterday`,\"dateRange.thisWeek\":`This week`,\"dateRange.thisMonth\":`This month`,\"dateRange.thisQuarter\":`This quarter`,\"dateRange.thisYear\":`This year`,\"dateRange.last7Days\":`Last 7 days`,\"dateRange.last30Days\":`Last 30 days`,\"dateRange.lastNDays\":`Last N days`,\"dateRange.lastWeek\":`Last week`,\"dateRange.lastNWeeks\":`Last N weeks`,\"dateRange.lastMonth\":`Last month`,\"dateRange.last12Months\":`Last 12 months`,\"dateRange.lastNMonths\":`Last N months`,\"dateRange.lastQuarter\":`Last quarter`,\"dateRange.lastNQuarters\":`Last N quarters`,\"dateRange.lastYear\":`Last year`,\"dateRange.lastNYears\":`Last N years`,\"timeGranularity.hour\":`Hour`,\"timeGranularity.day\":`Day`,\"timeGranularity.week\":`Week`,\"timeGranularity.month\":`Month`,\"timeGranularity.quarter\":`Quarter`,\"timeGranularity.year\":`Year`,\"query.limit.label\":`Limit`,\"query.limit.clear\":`Clear`,\"chart.bar.label\":`Bar Chart`,\"chart.bar.description\":`Compare values across categories`,\"chart.bar.useCase\":`Best for comparing discrete categories, showing rankings, or displaying changes over time`,\"chart.line.label\":`Line Chart`,\"chart.line.description\":`Show trends and changes over time`,\"chart.line.useCase\":`Best for continuous data, trends, time series, and showing relationships between multiple series`,\"chart.area.label\":`Area Chart`,\"chart.area.description\":`Emphasise magnitude of change over time`,\"chart.area.useCase\":`Best for showing cumulative totals, volume changes, or stacked comparisons over time`,\"chart.pie.label\":`Pie Chart`,\"chart.pie.description\":`Show proportions of a whole`,\"chart.pie.useCase\":`Best for showing percentage distribution or composition of a total (limit to 5-7 slices)`,\"chart.scatter.label\":`Scatter Plot`,\"chart.scatter.description\":`Reveal correlations between variables`,\"chart.scatter.useCase\":`Best for identifying patterns, correlations, outliers, and relationships between two measures`,\"chart.bubble.label\":`Bubble Chart`,\"chart.bubble.description\":`Compare three dimensions of data`,\"chart.bubble.useCase\":`Best for showing relationships between three variables (X, Y, and size), market analysis`,\"chart.radar.label\":`Radar Chart`,\"chart.radar.description\":`Compare multiple metrics across categories`,\"chart.radar.useCase\":`Best for multivariate comparisons, performance metrics, strengths/weaknesses analysis`,\"chart.radialBar.label\":`Radial Bar Chart`,\"chart.radialBar.description\":`Circular progress and KPI visualisation`,\"chart.radialBar.useCase\":`Best for showing progress toward goals, KPIs, or comparing percentages in a compact form`,\"chart.treemap.label\":`TreeMap`,\"chart.treemap.description\":`Visualise hierarchical data with nested rectangles`,\"chart.treemap.useCase\":`Best for showing part-to-whole relationships in hierarchical data, disk usage, budget allocation`,\"chart.table.label\":`Data Table`,\"chart.table.description\":`Display detailed tabular data`,\"chart.table.useCase\":`Best for precise values, detailed analysis, sortable/filterable data exploration`,\"chart.activityGrid.label\":`Activity Grid`,\"chart.activityGrid.description\":`GitHub-style activity grid showing temporal patterns across different time scales`,\"chart.activityGrid.useCase\":`Best for visualising activity patterns over time. Supports hour (3hr blocks × days), day (days × weeks), week (weeks × months), month (months × quarters), and quarter (quarters × years) granularities`,\"chart.kpiNumber.label\":`KPI Number`,\"chart.kpiNumber.description\":`Display key performance indicators as large numbers`,\"chart.kpiNumber.useCase\":`Perfect for showing important metrics like revenue, user count, or other key business metrics in a prominent, easy-to-read format`,\"chart.kpiDelta.label\":`KPI Delta`,\"chart.kpiDelta.description\":`Display change between latest and previous values with trend indicators`,\"chart.kpiDelta.useCase\":`Perfect for showing performance changes over time, such as revenue growth, user acquisition changes, or other metrics where the trend and delta are more important than the absolute value`,\"chart.kpiText.label\":`KPI Text`,\"chart.kpiText.description\":`Display key performance indicators as customisable text`,\"chart.kpiText.useCase\":`Perfect for showing metrics with custom formatting, combining multiple values, or displaying contextual KPI information using templates`,\"chart.markdown.label\":`Markdown`,\"chart.markdown.description\":`Display custom markdown content with formatting`,\"chart.markdown.useCase\":`Perfect for adding documentation, notes, section headers, instructions, or formatted text to dashboards`,\"chart.funnel.label\":`Funnel Chart`,\"chart.funnel.description\":`Show conversion through sequential steps`,\"chart.funnel.useCase\":`Best for visualising user journey funnels, sales pipelines, or multi-step processes`,\"chart.sankey.label\":`Sankey Chart`,\"chart.sankey.description\":`Show flow between states or steps`,\"chart.sankey.useCase\":`Best for visualising user journey flows, path analysis, or state transitions`,\"chart.sunburst.label\":`Sunburst Chart`,\"chart.sunburst.description\":`Show hierarchical flow as radial rings`,\"chart.sunburst.useCase\":`Best for visualising forward paths from a starting event in a compact radial layout`,\"chart.heatmap.label\":`Heatmap`,\"chart.heatmap.description\":`Visualise intensity across two dimensions`,\"chart.heatmap.useCase\":`Best for showing patterns in matrix data like correlations, schedules, or category comparisons`,\"chart.retentionHeatmap.label\":`Retention Matrix`,\"chart.retentionHeatmap.description\":`Cohort retention matrix visualisation`,\"chart.retentionHeatmap.useCase\":`Visualise user retention over time by cohort`,\"chart.retentionCombined.label\":`Retention Chart`,\"chart.retentionCombined.description\":`Combined retention visualisation with line chart and heatmap modes`,\"chart.retentionCombined.useCase\":`Visualise user retention over time with optional breakdown segmentation`,\"chart.boxPlot.label\":`Box Plot`,\"chart.boxPlot.description\":`Show statistical distribution (median, IQR, whiskers) across categories`,\"chart.boxPlot.useCase\":`Best for P&L spread per symbol, trade size distribution, latency distribution across platforms`,\"chart.waterfall.label\":`Waterfall Chart`,\"chart.waterfall.description\":`Show cumulative effect of sequential positive and negative values`,\"chart.waterfall.useCase\":`Best for P&L decomposition, cash flow analysis, budget variance, or any sequential contribution breakdown`,\"chart.candlestick.label\":`Candlestick Chart`,\"chart.candlestick.description\":`Financial candlestick chart showing open/close body and high/low wicks`,\"chart.candlestick.useCase\":`Best for EOD quotes (bid/ask spread per date/symbol), markout distribution bands, or OHLC price data`,\"chart.measureProfile.label\":`Measure Profile`,\"chart.measureProfile.description\":`Plot N measures as sequential X-axis points to visualise a profile or shape across intervals`,\"chart.measureProfile.useCase\":`Best for markout interval analysis (e.g. avgMinus2m → avgAtEvent → avgPlus2h), metric profiles, or any pattern across ordered measures`,\"chart.gauge.label\":`Gauge Chart`,\"chart.gauge.description\":`Half-circle arc gauge for a single KPI value versus a maximum target`,\"chart.gauge.useCase\":`Best for high-water marks vs equity, margin utilisation, or any single value progress toward a goal`,\"chart.config.chartType\":`Chart Type`,\"chart.config.loading\":`Loading chart configuration...`,\"chart.config.axisConfig\":`Chart Configuration`,\"chart.config.unassigned\":`Unassigned Fields`,\"chart.config.unassignedHint\":`Drag fields to chart axes above`,\"chart.config.noFields\":`Add metrics and breakdowns in the Query tab to configure chart axes`,\"chart.dropZone.xAxis.label\":`X-Axis (Categories)`,\"chart.dropZone.xAxis.description\":`Dimensions and time dimensions for grouping`,\"chart.dropZone.xAxis.empty\":`Drop dimensions & time dimensions here`,\"chart.dropZone.yAxis.label\":`Y-Axis (Values)`,\"chart.dropZone.yAxis.description\":`Measures for values or dimensions for series`,\"chart.dropZone.yAxis.empty\":`Drop measures or dimensions here`,\"chart.dropZone.series.label\":`Series (Split into Multiple Series)`,\"chart.dropZone.series.description\":`Dimensions to create separate data series`,\"chart.dropZone.series.empty\":`Drop dimensions here to split data into series`,\"chart.dropZone.maxReached\":`Maximum items reached`,\"chart.dropZone.default.empty\":`Drop fields here`,\"chart.bar.dropZone.xAxis.empty\":`Drop dimensions & time dimensions here`,\"chart.bar.dropZone.yAxis.empty\":`Drop measures here`,\"chart.bar.dropZone.series.empty\":`Drop dimensions here to split data into series`,\"chart.line.dropZone.xAxis.empty\":`Drop time dimensions or dimensions here`,\"chart.line.dropZone.yAxis.empty\":`Drop measures here`,\"chart.line.dropZone.series.empty\":`Drop dimensions here for multiple lines`,\"chart.area.dropZone.xAxis.empty\":`Drop time dimensions or dimensions here`,\"chart.area.dropZone.yAxis.empty\":`Drop measures here`,\"chart.area.dropZone.series.empty\":`Drop dimensions here for stacked areas`,\"chart.pie.dropZone.xAxis.empty\":`Drop a dimension for categories`,\"chart.pie.dropZone.yAxis.empty\":`Drop a measure for values`,\"chart.scatter.dropZone.xAxis.empty\":`Drop a field for X-axis`,\"chart.scatter.dropZone.yAxis.empty\":`Drop a measure for Y-axis`,\"chart.scatter.dropZone.series.empty\":`Drop a dimension to colour points`,\"chart.bubble.dropZone.xAxis.empty\":`Drop a field for X-axis position`,\"chart.bubble.dropZone.yAxis.empty\":`Drop a measure for Y-axis position`,\"chart.bubble.dropZone.sizeField.empty\":`Drop a measure for bubble size`,\"chart.bubble.dropZone.series.empty\":`Drop a dimension for bubble labels`,\"chart.bubble.dropZone.colorField.empty\":`Drop a field for bubble colour (optional)`,\"chart.radar.dropZone.xAxis.empty\":`Drop dimensions for radar axes`,\"chart.radar.dropZone.yAxis.empty\":`Drop measures for values`,\"chart.radar.dropZone.series.empty\":`Drop dimensions for multiple shapes`,\"chart.radialBar.dropZone.xAxis.empty\":`Drop dimensions for categories`,\"chart.radialBar.dropZone.yAxis.empty\":`Drop a measure for values`,\"chart.treemap.dropZone.xAxis.empty\":`Drop dimensions for categories`,\"chart.treemap.dropZone.yAxis.empty\":`Drop a measure for size`,\"chart.treemap.dropZone.series.empty\":`Drop a dimension for colour grouping`,\"chart.table.dropZone.xAxis.empty\":`Drop fields to display as columns (or leave empty for all)`,\"chart.activityGrid.dropZone.dateField.empty\":`Drop a time dimension (granularity affects grid structure)`,\"chart.activityGrid.dropZone.valueField.empty\":`Drop a measure for activity intensity`,\"chart.kpiNumber.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.kpiDelta.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.kpiDelta.dropZone.xAxis.empty\":`Drop a dimension for ordering`,\"chart.kpiText.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.funnel.dropZone.xAxis.empty\":`Steps defined in funnel config`,\"chart.funnel.dropZone.yAxis.empty\":`Counts calculated from funnel execution`,\"chart.sankey.dropZone.xAxis.empty\":`Auto-populated from flow config`,\"chart.sankey.dropZone.yAxis.empty\":`Calculated from flow execution`,\"chart.sunburst.dropZone.xAxis.empty\":`Auto-populated from flow config`,\"chart.sunburst.dropZone.yAxis.empty\":`Calculated from flow execution`,\"chart.heatmap.dropZone.xAxis.empty\":`Drop one dimension here`,\"chart.heatmap.dropZone.yAxis.empty\":`Drop one dimension here`,\"chart.heatmap.dropZone.valueField.empty\":`Drop one measure here`,\"chart.boxPlot.dropZone.xAxis.empty\":`Drop a dimension here`,\"chart.boxPlot.dropZone.yAxis.empty\":`Drop 1, 3, or 5 measures here`,\"chart.waterfall.dropZone.xAxis.empty\":`Drop a dimension here`,\"chart.waterfall.dropZone.yAxis.empty\":`Drop a measure here`,\"chart.candlestick.dropZone.xAxis.empty\":`Drop a time or dimension here`,\"chart.candlestick.dropZone.yAxis.empty\":`Drop 2+ measures here`,\"chart.measureProfile.dropZone.yAxis.empty\":`Drop 2+ measures here (displayed left → right)`,\"chart.measureProfile.dropZone.series.empty\":`Drop a dimension here to create multiple lines`,\"chart.gauge.dropZone.yAxis.empty\":`Drop 1 measure here (optional 2nd for dynamic max)`,\"chart.activityGrid.validation.timeDimensionRequired\":`Time dimension is required for activity grid`,\"chart.activityGrid.validation.measureRequired\":`Activity measure is required for intensity mapping`,\"chart.kpiDelta.validation.measureRequired\":`A measure is required for KPI Delta charts`,\"chart.heatmap.validation.xAxisRequired\":`X-axis dimension required`,\"chart.heatmap.validation.yAxisRequired\":`Y-axis dimension required`,\"chart.heatmap.validation.valueRequired\":`Value measure required`,\"chart.option.stacking.label\":`Stacking`,\"chart.option.stacking.none\":`None`,\"chart.option.stacking.stacked\":`Stacked`,\"chart.option.stacking.percent\":`Stacked 100%`,\"chart.option.stacking.description\":`How to stack multiple series`,\"chart.option.target.label\":`Target Values`,\"chart.option.target.description\":`Single value or comma-separated values to spread across X-axis`,\"chart.option.connectNulls.label\":`Connect Nulls`,\"chart.option.connectNulls.description\":`Draw continuous line through missing data points`,\"chart.option.showAllXLabels.label\":`Show All X Labels`,\"chart.option.showAllXLabels.description\":`Display every label on the X-axis instead of auto-hiding overlapping labels`,\"chart.option.leftYAxisFormat.label\":`Left Y-Axis Format`,\"chart.option.leftYAxisFormat.description\":`Number formatting for left Y-axis`,\"chart.option.rightYAxisFormat.label\":`Right Y-Axis Format`,\"chart.option.rightYAxisFormat.description\":`Number formatting for right Y-axis`,\"chart.option.xAxisFormat.label\":`X-Axis Format`,\"chart.option.xAxisFormat.description\":`Number formatting for X-axis`,\"chart.option.yAxisFormat.label\":`Y-Axis Format`,\"chart.option.yAxisFormat.description\":`Number formatting for Y-axis`,\"chart.option.valueFormat.label\":`Value Format`,\"chart.option.valueFormat.description\":`Number formatting for values`,\"chart.option.innerRadius.label\":`Inner Radius`,\"chart.option.innerRadius.description\":`Hollow centre size (0% = solid pie, higher = donut style)`,\"chart.option.showLabels.label\":`Show Cell Values`,\"chart.option.showLabels.description\":`Display values inside each cell`,\"chart.option.cellShape.label\":`Cell Shape`,\"chart.option.cellShape.rectangle\":`Rectangle`,\"chart.option.cellShape.circle\":`Circle`,\"chart.option.funnelStyle.label\":`Funnel Style`,\"chart.option.funnelStyle.bars\":`Bars`,\"chart.option.funnelStyle.funnel\":`Funnel`,\"chart.option.funnelOrientation.label\":`Orientation`,\"chart.option.funnelOrientation.horizontal\":`Horizontal`,\"chart.option.funnelOrientation.vertical\":`Vertical`,\"chart.option.hideSummaryFooter.label\":`Hide Summary Footer`,\"chart.option.hideSummaryFooter.description\":`Hide the summary footer showing steps count and overall conversion`,\"chart.option.showConversion.label\":`Show Conversion Rate`,\"chart.option.showConversion.description\":`Display step-to-step conversion percentage`,\"chart.option.showAvgTime.label\":`Show Avg Time`,\"chart.option.showAvgTime.description\":`Display average time to convert`,\"chart.option.showMedianTime.label\":`Show Median Time`,\"chart.option.showMedianTime.description\":`Display median time to convert`,\"chart.option.showP90Time.label\":`Show P90 Time`,\"chart.option.showP90Time.description\":`Display 90th percentile time to convert`,\"chart.option.linkOpacity.label\":`Link Opacity`,\"chart.option.linkOpacity.light\":`Light`,\"chart.option.linkOpacity.medium\":`Medium`,\"chart.option.linkOpacity.dark\":`Dark`,\"chart.option.showNodeLabels.label\":`Show Node Labels`,\"chart.option.showNodeLabels.description\":`Display labels on flow nodes`,\"chart.option.prefix.label\":`Prefix`,\"chart.option.prefix.description\":`Text to display before the number`,\"chart.option.suffix.label\":`Suffix`,\"chart.option.suffix.description\":`Text to display after the number`,\"chart.option.decimals.label\":`Decimal Places`,\"chart.option.decimals.description\":`Number of decimal places to display`,\"chart.option.showHistogram.label\":`Show Variance Histogram`,\"chart.option.showHistogram.description\":`Display historical variance chart below the delta`,\"chart.option.useLastCompletePeriod.label\":`Use Last Complete Period`,\"chart.option.useLastCompletePeriod.description\":`Exclude current incomplete period from calculation (e.g., partial week/month)`,\"chart.option.skipLastPeriod.label\":`Skip Last Period`,\"chart.option.skipLastPeriod.description\":`Always exclude the last period regardless of completeness`,\"chart.option.retentionDisplayMode.label\":`Display Mode`,\"chart.option.retentionDisplayMode.lineChart\":`Line Chart`,\"chart.option.retentionDisplayMode.heatmapTable\":`Heatmap Table`,\"chart.option.retentionDisplayMode.combined\":`Combined`,\"chart.option.showLegend.label\":`Show Legend`,\"chart.option.showLegend.description\":`Show the legend`,\"chart.option.showGrid.label\":`Show Grid`,\"chart.option.showGrid.description\":`Show grid lines on the chart`,\"chart.option.showTooltip.label\":`Show Tooltip`,\"chart.option.showTooltip.description\":`Show tooltip on hover with detailed stats`,\"chart.option.priorPeriodStyle.label\":`Prior Period Line Style`,\"chart.option.priorPeriodStyle.dashed\":`Dashed`,\"chart.option.priorPeriodStyle.dotted\":`Dotted`,\"chart.option.priorPeriodStyle.solid\":`Solid`,\"chart.option.priorPeriodStyle.description\":`Line style for prior period in comparison mode`,\"chart.option.priorPeriodOpacity.label\":`Prior Period Opacity`,\"chart.option.priorPeriodOpacity.description\":`Opacity for prior period lines (0.1 to 1)`,\"chart.option.showTotal.label\":`Show Total Bar`,\"chart.option.showTotal.description\":`Append a final bar showing the running total`,\"chart.option.showConnectorLine.label\":`Show Connector Line`,\"chart.option.showConnectorLine.description\":`Draw a dashed step-line connecting bar tops`,\"chart.option.showDataLabels.label\":`Show Data Labels`,\"chart.option.showDataLabels.description\":`Display the value at each data point`,\"chart.option.showReferenceLineAtZero.label\":`Show Zero Reference Line`,\"chart.option.showReferenceLineAtZero.description\":`Draw a dashed line at Y = 0`,\"chart.option.lineType.label\":`Line Interpolation`,\"chart.option.lineType.smooth\":`Smooth (monotone)`,\"chart.option.lineType.linear\":`Linear`,\"chart.option.lineType.step\":`Step`,\"chart.option.lineType.description\":`How data points are connected`,\"chart.option.rangeMode.label\":`Chart Mode`,\"chart.option.rangeMode.ohlc\":`OHLC (open, close, high, low)`,\"chart.option.rangeMode.range\":`Range (high, low / bid, ask)`,\"chart.option.rangeMode.description\":`OHLC: 4 measures. Range: 2 measures (high + low).`,\"chart.option.bullColor.label\":`Bullish Colour`,\"chart.option.bullColor.description\":`Candle colour when close ≥ open`,\"chart.option.bearColor.label\":`Bearish Colour`,\"chart.option.bearColor.description\":`Candle colour when close < open`,\"chart.option.showWicks.label\":`Show Wicks`,\"chart.option.showWicks.description\":`Draw high/low wicks above and below the body`,\"chart.option.minValue.label\":`Minimum Value`,\"chart.option.minValue.description\":`Lower bound of the gauge arc (default 0)`,\"chart.option.maxValue.label\":`Maximum Value (static)`,\"chart.option.maxValue.description\":`Upper bound of the gauge. Leave empty to use yAxis[1] or default 100`,\"chart.option.showCentreLabel.label\":`Show Centre Label`,\"chart.option.showCentreLabel.description\":`Display current value and field name in the centre of the gauge`,\"chart.option.showPercentage.label\":`Show as Percentage`,\"chart.option.showPercentage.description\":`Display value as % of max instead of raw number`,\"chart.option.fitToWidth.label\":`Fit to Width`,\"chart.option.fitToWidth.description\":`Automatically size blocks to fill portlet width and height while maintaining aspect ratio`,\"chart.option.fontSize.label\":`Font Size`,\"chart.option.fontSize.small\":`Small`,\"chart.option.fontSize.medium\":`Medium`,\"chart.option.fontSize.large\":`Large`,\"chart.option.alignment.label\":`Text Alignment`,\"chart.option.alignment.left\":`Left`,\"chart.option.alignment.center\":`Center`,\"chart.option.alignment.right\":`Right`,\"chart.option.hideHeader.label\":`Hide Header`,\"chart.option.hideHeader.description\":`Hide the portlet header bar (title and action buttons)`,\"chart.option.transparentBackground.label\":`Transparent Background`,\"chart.option.transparentBackground.description\":`Remove card background, border, and shadow for seamless integration as section headers`,\"chart.option.autoHeight.label\":`Auto Height`,\"chart.option.autoHeight.description\":`In row and mobile layouts, size to markdown content instead of fixed row height`,\"chart.option.accentBorder.label\":`Accent Border`,\"chart.option.accentBorder.none\":`None`,\"chart.option.accentBorder.left\":`Left`,\"chart.option.accentBorder.top\":`Top`,\"chart.option.accentBorder.bottom\":`Bottom`,\"chart.option.accentBorder.description\":`Add an accent-coloured border on one side of the content`,\"chart.configText.20_percent\":`20%`,\"chart.configText.40_percent\":`40%`,\"chart.configText.60_percent\":`60%`,\"chart.configText.80_percent\":`80%`,\"chart.configText.accent_color\":`Accent Color`,\"chart.configText.activity_measure\":`Activity Measure`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`Add 2 or more measures — they become the X-axis categories in the order listed`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`Add an accent-colored border on one side of the content`,\"chart.configText.all_fields_to_display_as_columns\":`All fields to display as columns`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`Array of {value (0–1 fraction), color} bands shown as outer arc markers`,\"chart.configText.axes_categories\":`Axes (Categories)`,\"chart.configText.bubble_colour\":`Bubble Colour`,\"chart.configText.bubble_labels\":`Bubble Labels`,\"chart.configText.bubble_radius\":`Bubble Radius`,\"chart.configText.categories\":`Categories`,\"chart.configText.choose_how_to_visualize_retention_data\":`Choose how to visualize retention data`,\"chart.configText.color_bubbles_by_this_field_optional\":`Color bubbles by this field (optional)`,\"chart.configText.color_for_negative_changes_decreases\":`Color for negative changes (decreases)`,\"chart.configText.color_for_positive_changes_increases\":`Color for positive changes (increases)`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`Color from the dashboard palette for headers, bullets, and links`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`Color from the dashboard palette for the KPI value text`,\"chart.configText.color_groups\":`Color Groups`,\"chart.configText.columns\":`Columns`,\"chart.configText.columns_x_axis\":`Columns (X-Axis)`,\"chart.configText.count_at_each_step_auto_calculated\":`Count at each step (auto-calculated)`,\"chart.configText.count_of_entities_following_each_path\":`Count of entities following each path`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`Current value to display on the gauge (e.g. current equity, margin used)`,\"chart.configText.dimension_for_column_categories\":`Dimension for column categories`,\"chart.configText.dimension_for_ordering_data_typically_time\":`Dimension for ordering data (typically time)`,\"chart.configText.dimension_for_pie_slices\":`Dimension for pie slices`,\"chart.configText.dimension_for_row_categories\":`Dimension for row categories`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`Dimension labels for each bar segment (e.g. symbol, transaction type)`,\"chart.configText.dimension_optional\":`Dimension (optional)`,\"chart.configText.dimension_to_color_points_by_category\":`Dimension to color points by category`,\"chart.configText.dimension_to_color_rectangles_by_category\":`Dimension to color rectangles by category`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`Dimension to group boxes by (e.g. symbol, platform)`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`Dimension to split data into separate profile lines (e.g. symbol, platform)`,\"chart.configText.dimensions_for_radar_axes\":`Dimensions for radar axes`,\"chart.configText.dimensions_for_radial_segments\":`Dimensions for radial segments`,\"chart.configText.dimensions_for_treemap_rectangles\":`Dimensions for treemap rectangles`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`Dimensions to create multiple radar shapes`,\"chart.configText.dimensions_to_create_separate_lines\":`Dimensions to create separate lines`,\"chart.configText.dimensions_to_create_stacked_areas\":`Dimensions to create stacked areas`,\"chart.configText.display_the_value_above_each_bar_segment\":`Display the value above each bar segment`,\"chart.configText.display_value_at_each_data_point\":`Display value at each data point`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`Drop 1 measure for auto mode, 3 for avg/stddev/median mode, or 5 for min/q1/median/q3/max mode`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`Drop 2–4 measures in order: open, close, high, low (OHLC mode). For range mode drop 2: high, low.`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`Enter markdown text. Supports headers (#), bold (**text**), italic (*text*), links ([text](url)), lists (- item), and horizontal rules (---).`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`Event dimension that categorizes flow nodes`,\"chart.configText.event_type\":`Event Type`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`Exclude current incomplete period from aggregation (e.g., partial week/month)`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`Exclude current incomplete period from delta calculation (e.g., partial week/month)`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`Field to use for bubble labels and identification`,\"chart.configText.flow_count\":`Flow Count`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`Hide the statistics footer below the chart`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`Hollow center size (0% = solid pie, higher = donut style)`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`Horizontal alignment of the markdown content`,\"chart.configText.horizontal_axis_position\":`Horizontal axis position`,\"chart.configText.how_to_stack_multiple_area_series\":`How to stack multiple area series`,\"chart.configText.how_to_stack_multiple_bar_series\":`How to stack multiple bar series`,\"chart.configText.markdown_content\":`Markdown Content`,\"chart.configText.measure_for_rectangle_sizes\":`Measure for rectangle sizes`,\"chart.configText.measure_for_slice_sizes\":`Measure for slice sizes`,\"chart.configText.measure_for_y_position\":`Measure for Y position`,\"chart.configText.measure_or_dimension_for_x_position\":`Measure or dimension for X position`,\"chart.configText.measure_that_determines_cell_color\":`Measure that determines cell color`,\"chart.configText.measure_to_display_as_kpi_number\":`Measure to display as KPI number`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`Measure to display in the KPI text template`,\"chart.configText.measure_to_track_changes_for\":`Measure to track changes for`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`Measure used for activity intensity (color coding)`,\"chart.configText.measures_for_area_values\":`Measures for area values`,\"chart.configText.measures_for_bar_heights\":`Measures for bar heights`,\"chart.configText.measures_for_line_values\":`Measures for line values`,\"chart.configText.measures_for_radar_values\":`Measures for radar values`,\"chart.configText.measures_for_radial_bar_lengths\":`Measures for radial bar lengths`,\"chart.configText.measures_x_axis_order\":`Measures (X-Axis Order)`,\"chart.configText.negative_change_color\":`Negative Change Color`,\"chart.configText.none_pie\":`None (Pie)`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`Number formatting for cell values and legend`,\"chart.configText.number_formatting_for_numeric_values\":`Number formatting for numeric values`,\"chart.configText.number_formatting_for_size_values\":`Number formatting for size values`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`Number formatting for the displayed value and axis labels`,\"chart.configText.number_formatting_for_the_price_axis\":`Number formatting for the price axis`,\"chart.configText.number_formatting_for_the_value_axis\":`Number formatting for the value axis`,\"chart.configText.number_formatting_for_the_y_axis\":`Number formatting for the Y-axis`,\"chart.configText.number_formatting_for_x_axis_labels\":`Number formatting for X-axis labels`,\"chart.configText.number_formatting_for_y_axis_and_values\":`Number formatting for Y-axis and values`,\"chart.configText.number_formatting_for_y_axis_labels\":`Number formatting for Y-axis labels`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`Number of decimal places to display for numeric values`,\"chart.configText.ohlc_measures_open_close_high_low\":`OHLC Measures (open, close, high, low)`,\"chart.configText.opacity_of_flow_links\":`Opacity of flow links`,\"chart.configText.overall_text_size_for_the_markdown_content\":`Overall text size for the markdown content`,\"chart.configText.positive_change_color\":`Positive Change Color`,\"chart.configText.rows_y_axis\":`Rows (Y-Axis)`,\"chart.configText.series_color_groups\":`Series (Color Groups)`,\"chart.configText.series_multiple_lines\":`Series (Multiple Lines)`,\"chart.configText.series_multiple_shapes\":`Series (Multiple Shapes)`,\"chart.configText.series_split_into_multiple_lines\":`Series (Split into Multiple Lines)`,\"chart.configText.series_stack_areas\":`Series (Stack Areas)`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`Show series legend (only visible with a Series dimension)`,\"chart.configText.show_the_color_intensity_legend\":`Show the color intensity legend`,\"chart.configText.show_the_legend_for_breakdown_segments\":`Show the legend for breakdown segments`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`Single measure whose values are summed cumulatively`,\"chart.configText.size\":`Size`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`Size of bubbles based on this measure`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`Size of the center hole (0 for full circle)`,\"chart.configText.step_count\":`Step Count`,\"chart.configText.step_name\":`Step Name`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`Step names (auto-populated from funnel steps)`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`Target value to compare against (first value used if multiple provided)`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"Template for displaying the text. Use ${value} to insert the measure value.\",\"chart.configText.text_template\":`Text Template`,\"chart.configText.threshold_bands\":`Threshold Bands`,\"chart.configText.time_dimension\":`Time Dimension`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`Time dimension or category for each candle (e.g. date, symbol)`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`Time dimensions or dimensions for X-axis`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`Time field that determines grid structure (granularity affects layout)`,\"chart.configText.value\":`Value`,\"chart.configText.value_color\":`Value Color`,\"chart.configText.value_color_intensity\":`Value (Color Intensity)`,\"chart.configText.value_measure\":`Value Measure`,\"chart.configText.values\":`Values`,\"chart.configText.vertical_axis_position\":`Vertical axis position`,\"chart.configText.visualization_style\":`Visualization style`,\"chart.configText.x_axis_groups\":`X-Axis (Groups)`,\"chart.configText.x_axis_time_categories\":`X-Axis (Time/Categories)`,\"chart.configText.x_axis_time_category\":`X-Axis (Time / Category)`,\"chart.configText.y_axis\":`Y-Axis`,\"chart.configText.y_axis_measures\":`Y-Axis (Measures)`,\"chart.configText.y_axis_value\":`Y-Axis (Value)`,\"display.loading\":`Loading display options...`,\"display.noOptions\":`No display options available for this chart type.`,\"display.heading\":`Display Options`,\"results.loading.title\":`Executing Query...`,\"results.loading.subtitle\":`Running your query against the cube API`,\"results.error.title\":`Query Execution Failed`,\"results.error.subtitle\":`There was an error executing your query. Please check the query and try again.`,\"results.waiting.title\":`Preparing Query...`,\"results.waiting.subtitle\":`Your query will execute shortly`,\"results.needsRefresh.title\":`Ready to Execute`,\"results.needsRefresh.subtitle\":`Click refresh to run your query`,\"results.needsRefresh.runButton\":`Run Query`,\"results.empty.query\":`Add metrics or breakdowns from the panel on the right to see results`,\"results.empty.retention\":`Select a cube and configure retention settings to see results`,\"results.empty.funnel\":`Add funnel steps to see conversion analysis`,\"results.empty.flow\":`Configure flow analysis to see user journey paths`,\"results.empty.title\":`No Results Yet`,\"results.ai.button\":`Analyse with AI`,\"results.noData.title\":`Query Successful`,\"results.noData.subtitle\":`No data returned from the query`,\"results.chart.noData\":`No data to display`,\"results.chart.noDataHint\":`Run a query to see chart visualisation`,\"results.chart.unsupported\":`Unsupported chart type`,\"results.refreshing\":`Refreshing results...`,\"results.header.rows\":`rows`,\"results.header.row\":`row`,\"results.header.stale\":`Results may be outdated`,\"results.header.failed\":`Query failed`,\"results.header.executing\":`Executing...`,\"results.header.noResults\":`No results`,\"results.view.chart\":`Chart`,\"results.view.merged\":`Merged`,\"results.warning.largeDataset\":`Large dataset:`,\"results.warning.configChanged\":`Query configuration changed. Results may be outdated.`,\"results.warning.refreshNow\":`Refresh Now`,\"results.share.copied\":`Copied!`,\"results.share.noChart\":`(no chart)`,\"server.errors.dbNotConfigured\":`Database executor not configured`,\"server.errors.cubeNotFound\":`Cube '{cubeName}' not found`,\"server.errors.noCubesInQuery\":`No cubes found in query`,\"server.errors.dbAdapterRequired\":`DatabaseExecutor must have a databaseAdapter property`,\"server.errors.rlsRequiresTransactions\":`rlsSetup requires a database driver that supports transactions (db.transaction)`,\"server.errors.queryExecutionFailed\":`Query execution failed: {message}`,\"server.errors.queryExecutionUnknown\":`Query execution failed: Unknown error`,\"server.errors.noCompareDateRange\":`No compareDateRange found in query`,\"server.errors.compareDateRangeInvalid\":`compareDateRange requires at least 2 periods`,\"server.errors.funnelValidationFailed\":`Funnel validation failed: {errors}`,\"server.errors.flowValidationFailed\":`Flow validation failed: {errors}`,\"server.errors.retentionValidationFailed\":`Retention validation failed: {errors}`,\"server.errors.cubeRefUnresolved\":`{cubeName}.joins.{joinName}: target cube '{targetCube}' is not registered`,\"server.errors.unresolvedCubeRefs\":`Unresolved cube references:\n{details}`,\"server.errors.calculatedMeasureValidation\":`Calculated measure validation failed for cube '{cubeName}':\n{details}`,\"server.errors.queryValidationFailed\":`Query validation failed: {errors}`,\"server.errors.queryContainsMultipleModes\":`Query contains multiple query modes: {modes}`,\"server.errors.primaryCubeNotFound\":`Primary cube '{cubeName}' not found`,\"server.errors.noJoinPath\":`No join path found from '{fromCube}' to '{toCube}'`,\"server.errors.cubeNotFoundForMeasure\":`Cube '{cubeName}' not found for measure '{measure}'`,\"server.errors.cubeNotFoundForDimension\":`Cube '{cubeName}' not found for dimension '{dimension}'`,\"server.errors.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' not found for time dimension '{timeDimension}'`,\"server.errors.invalidFunnelConfig\":`Query does not contain a valid funnel configuration`,\"server.errors.invalidFlowConfig\":`Query does not contain a valid flow configuration`,\"server.errors.invalidRetentionConfig\":`Query does not contain a valid retention configuration`,\"server.errors.llmInitFailed\":`Failed to initialize LLM provider`,\"server.validation.ai.bindingKeyRequired.flow\":`flow.bindingKey is required`,\"server.validation.ai.bindingKeyRequired.funnel\":`funnel.bindingKey is required`,\"server.validation.ai.bindingKeyRequired.retention\":`retention.bindingKey is required`,\"server.validation.ai.cubeNotFoundInFilter\":`Cube '{cubeName}' not found in filter`,\"server.validation.ai.cubeNotFoundWithAvailable\":`Cube '{cubeName}' not found`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`Cube '{cubeName}' not found`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`Dimension '{dimensionName}' not found on cube '{cubeName}'`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`Dimension '{dimensionName}' not found on cube '{cubeName}'`,\"server.validation.ai.dimensionNotTimeType\":`Dimension '{dimension}' is not a time type (it's '{type}')`,\"server.validation.ai.emptyQuery\":`Query must have at least one measure or dimension`,\"server.validation.ai.eventDimensionRequired\":`flow.eventDimension is required`,\"server.validation.ai.filterFieldNotFound\":`Filter field '{fieldName}' not found on cube '{cubeName}'`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`Filter field '{fieldName}' not found on cube '{cubeName}'`,\"server.validation.ai.funnelRequiresSteps\":`funnel requires at least 2 steps`,\"server.validation.ai.funnelStepsRequired\":`funnel.steps array is required`,\"server.validation.ai.granularityNotSpecified\":`retention.granularity not specified`,\"server.validation.ai.invalidDimensionFormat\":`Invalid dimension format: '{dimension}'. Expected 'CubeName.dimensionName'`,\"server.validation.ai.invalidFilterMemberFormat\":`Invalid filter member format: '{member}'`,\"server.validation.ai.invalidMeasureFormat\":`Invalid measure format: '{measure}'. Expected 'CubeName.measureName'`,\"server.validation.ai.measureNotFoundWithAvailable\":`Measure '{measureName}' not found on cube '{cubeName}'`,\"server.validation.ai.measureNotFoundWithSuggestion\":`Measure '{measureName}' not found on cube '{cubeName}'`,\"server.validation.ai.performanceManyDimensions\":`Query has {count} dimensions, which may produce many rows`,\"server.validation.ai.performanceManyMeasures\":`Query has {count} measures, which may impact performance`,\"server.validation.ai.periodsNotSpecified\":`retention.periods not specified`,\"server.validation.ai.retentionTimeDimensionRequired\":`retention.timeDimension is required`,\"server.validation.ai.stepMissingName\":`Step {step} is missing a name`,\"server.validation.ai.stepsBothMissing\":`Neither stepsBefore nor stepsAfter specified`,\"server.validation.ai.suggestAddDimensionFilters\":`Consider adding filters or reducing dimensions`,\"server.validation.ai.suggestAddStepNames\":`Add descriptive names to funnel steps`,\"server.validation.ai.suggestSetSteps\":`Set stepsBefore and/or stepsAfter to see event sequences`,\"server.validation.ai.suggestSpecifyGranularity\":`Specify granularity: \"day\", \"week\", or \"month\"`,\"server.validation.ai.suggestSpecifyPeriods\":`Specify number of periods to analyze`,\"server.validation.ai.suggestSplitQueries\":`Consider splitting into multiple queries`,\"server.validation.ai.suggestUseTimeDimension\":`Use a dimension with type \"time\" for timeDimensions`,\"server.validation.ai.timeDimensionRequired.flow\":`flow.timeDimension is required`,\"server.validation.ai.timeDimensionRequired.funnel\":`funnel.timeDimension is required`,\"server.validation.chart.barNeedsDimension\":`Bar charts need an xAxis dimension for category labels. Add a dimension to the query or use \"table\" chart type instead.`,\"server.validation.chart.barXAxisRequired\":`chartConfig.xAxis is required for bar charts. Put a dimension in xAxis so bars have category labels.`,\"server.validation.chart.dropZoneRequired\":`chartConfig.{key} is required for {chartType} chart ({label}). Accepts: {acceptDesc}.`,\"server.validation.chart.seriesDuplicatesXAxis\":`chartConfig.series must not contain the same field as xAxis (found: {duplicates}). The series field is only for splitting into grouped/stacked sub-series by a DIFFERENT dimension. Remove the duplicate from series.`,\"server.validation.flow.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.flow.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.flow.eventDimCubeNotFound\":`Event dimension cube not found: {cubeName}`,\"server.validation.flow.eventDimNotFound\":`Event dimension not found: {dimName} in cube {cubeName}`,\"server.validation.flow.eventDimRequired\":`Event dimension is required for flow analysis`,\"server.validation.flow.highStepDepthWarning\":`High step depth (4-5) may impact query performance on large datasets`,\"server.validation.flow.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidEventDimFormat\":`Invalid event dimension format: {eventDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidJoinStrategy\":`Invalid joinStrategy: {joinStrategy}`,\"server.validation.flow.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.lateralNotSupported\":`Lateral joins are not supported on this database`,\"server.validation.flow.lateralNotSupportedExec\":`Lateral joins with CTE references are not supported on this database`,\"server.validation.flow.sqliteNotSupported\":`Flow queries are not supported on SQLite. Use PostgreSQL or MySQL for flow analysis.`,\"server.validation.flow.startingStepFilterRequired\":`Starting step must have at least one filter`,\"server.validation.flow.startingStepNameMissing\":`Starting step has no name - using default`,\"server.validation.flow.startingStepRequired\":`Starting step is required for flow analysis`,\"server.validation.flow.stepsBeforeRange\":`stepsBefore must be between 0 and 5, got: {value}`,\"server.validation.flow.stepsAfterRange\":`stepsAfter must be between 0 and 5, got: {value}`,\"server.validation.flow.timeDimCubeNotFound\":`Time dimension cube not found: {cubeName}`,\"server.validation.flow.timeDimNotFound\":`Time dimension not found: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.funnel.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.funnel.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.minSteps\":`Funnel must have at least 2 steps`,\"server.validation.funnel.stepCubeNotFound\":`Step {step} cube not found: {cube}`,\"server.validation.funnel.stepFilterCubeNotFound\":`Step {step} filter cube not found: {cubeName}`,\"server.validation.funnel.stepFilterIsMeasure\":`Step {step} filter '{member}' is a measure. Funnel step filters only support dimensions, not measures.`,\"server.validation.funnel.stepFilterMemberNotFound\":`Step {step} filter member not found: {field} in cube {cubeName}`,\"server.validation.funnel.stepFilterNoJoinPath\":`Step {step} filter '{member}' requires a join from '{stepCube}' but no join path was found. Define a join relationship between these cubes.`,\"server.validation.funnel.stepMustHaveName\":`Step {step} must have a name`,\"server.validation.funnel.stepTimeToConvertFormat\":`Step {step} timeToConvert must be ISO 8601 duration format: {value}`,\"server.validation.funnel.timeDimCubeNotFound\":`Time dimension cube not found: {cubeName}`,\"server.validation.funnel.timeDimNotFound\":`Time dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyCubeNotFound\":`Binding key cube not found: {cubeName}`,\"server.validation.retention.bindingKeyDimNotFound\":`Binding key dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`Binding key mapping cube not found: {cubeName}`,\"server.validation.retention.breakdownDimCubeNotFound\":`Breakdown dimension cube not found: {cubeName}`,\"server.validation.retention.breakdownDimNotFound\":`Breakdown dimension not found: {dimName} in cube {cubeName}`,\"server.validation.retention.cubeNotFound\":`Cube not found: {cubeName}`,\"server.validation.retention.dateRangeEndRequired\":`Date range end is required`,\"server.validation.retention.dateRangeInvalidEnd\":`Invalid date range end format`,\"server.validation.retention.dateRangeInvalidStart\":`Invalid date range start format`,\"server.validation.retention.dateRangeRequired\":`Date range is required`,\"server.validation.retention.dateRangeStartBeforeEnd\":`Date range start must be before or equal to end`,\"server.validation.retention.dateRangeStartRequired\":`Date range start is required`,\"server.validation.retention.engineNotSupported\":`Retention queries are not supported on {engine}. Use PostgreSQL or DuckDB for retention analysis.`,\"server.validation.retention.invalidBindingKeyFormat\":`Invalid binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidBreakdownDimFormat\":`Invalid breakdown dimension format: {dimension}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidGranularity\":`Invalid granularity: {granularity}`,\"server.validation.retention.invalidRetentionType\":`Invalid retention type: {retentionType}`,\"server.validation.retention.invalidTimeDimFormat\":`Invalid time dimension format: {timeDimension}`,\"server.validation.retention.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.validation.retention.periodsMax\":`Periods cannot exceed 52 (performance limit)`,\"server.validation.retention.periodsMin\":`Periods must be at least 1`,\"server.validation.retention.timeDimNotFound\":`Time dimension not found: {dimName}`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`Calculated measure '{cubeName}.{fieldName}' must have calculatedSql property`,\"server.validation.calculatedMeasure.invalidSyntax\":`Invalid calculatedSql syntax in '{cubeName}.{fieldName}': {errors}`,\"server.validation.calculatedMeasure.circularDependency\":`Circular dependency detected in calculated measures: {cycle}`,\"server.validation.query.multipleQueryModes\":`Query contains multiple query modes: {modes}`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`Funnel binding key cube not found: {cubeName}`,\"server.validation.query.flowBindingKeyCubeNotFound\":`Flow binding key cube not found: {cubeName}`,\"server.validation.query.retentionCubeNotFound\":`Retention cube not found: {cubeName}`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`Retention binding key cube not found: {cubeName}`,\"server.validation.query.retentionBreakdownCubeNotFound\":`Retention breakdown cube not found: {cubeName}`,\"server.validation.query.invalidMeasureFormat\":`Invalid measure format: {measure}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForMeasure\":`Cube '{cubeName}' not found (referenced in measure '{measure}')`,\"server.validation.query.measureNotFound\":`Measure '{fieldName}' not found on cube '{cubeName}'{hint}`,\"server.validation.query.invalidDimensionFormat\":`Invalid dimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForDimension\":`Cube '{cubeName}' not found (referenced in dimension '{dimension}')`,\"server.validation.query.dimensionNotFound\":`Dimension '{fieldName}' not found on cube '{cubeName}'{hint}`,\"server.validation.query.invalidTimeDimensionFormat\":`Invalid timeDimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' not found (referenced in timeDimension '{dimension}')`,\"server.validation.query.timeDimensionNotFound\":`TimeDimension '{fieldName}' not found on cube '{cubeName}' (must be a dimension with time type)`,\"server.validation.query.mustReferenceAtLeastOneCube\":`Query must reference at least one cube through measures, dimensions, or filters`,\"server.validation.query.ungroupedRequiresDimension\":`Ungrouped queries require at least one dimension or time dimension`,\"server.validation.query.ungroupedIncompatibleFunnel\":`Ungrouped queries are incompatible with funnel analysis`,\"server.validation.query.ungroupedIncompatibleFlow\":`Ungrouped queries are incompatible with flow analysis`,\"server.validation.query.ungroupedIncompatibleRetention\":`Ungrouped queries are incompatible with retention analysis`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`Ungrouped queries are incompatible with compareDateRange`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`Ungrouped queries are incompatible with fillMissingDates`,\"server.validation.query.filterMustHaveMember\":`Filter must have a member field`,\"server.validation.query.invalidFilterMemberFormat\":`Invalid filter member format: {member}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForFilter\":`Cube '{cubeName}' not found (referenced in filter '{member}')`,\"server.validation.query.filterFieldNotFound\":`Filter field '{fieldName}' not found on cube '{cubeName}' (must be a dimension or measure){hint}`,\"server.errors.funnel.cubeNotFoundForStep\":`Cube not found for step: {cube}`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`Cube not found for binding key: {bindingKey}`,\"server.errors.funnel.cannotResolveCubeForStep\":`Cannot resolve cube for step - multi-cube funnel requires cube specification in each step`,\"server.errors.funnel.bindingKeyDimNotFound\":`Binding key dimension not found: {bindingKey}`,\"server.errors.funnel.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`Binding key dimension not found: {dimension}`,\"server.errors.funnel.timeDimNotFound\":`Time dimension not found: {timeDimension}`,\"server.errors.funnel.noTimeDimMapping\":`No time dimension mapping found for cube: {cubeName}`,\"server.errors.funnel.timeDimMappingNotFound\":`Time dimension not found: {dimension}`,\"server.errors.flow.cannotResolveCube\":`Cannot resolve cube for flow query`,\"server.errors.flow.cubeNotFound\":`Cube not found: {cubeName}`,\"server.errors.flow.bindingKeyDimNotFound\":`Binding key dimension not found: {bindingKey}`,\"server.errors.flow.noBindingKeyMapping\":`No binding key mapping found for cube: {cubeName}`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`Binding key dimension not found: {dimension}`,\"server.errors.flow.timeDimNotFound\":`Time dimension not found: {timeDimension}`,\"server.errors.flow.noTimeDimMapping\":`No time dimension mapping found for cube: {cubeName}`,\"server.errors.flow.timeDimMappingNotFound\":`Time dimension not found: {dimension}`,\"server.errors.flow.eventDimNotFound\":`Event dimension not found: {eventDimension}`,\"server.validation.template.emptyReference\":`Empty member reference {} found in template`,\"server.validation.template.invalidMemberReference\":`Invalid member reference {ref}: must start with letter or underscore, and contain only letters, numbers, underscores, and dots`,\"server.validation.template.multipleDots\":`Invalid member reference {ref}: only one dot allowed (Cube.measure format)`,\"server.validation.template.nestedBraces\":`Nested braces are not allowed in member references`,\"server.validation.template.substituteTargetCubeNotFound\":`Cannot substitute {ref}: cube '{cubeName}' not found`,\"server.validation.template.substituteMeasureNotResolved\":`Cannot substitute {ref}: measure '{measureName}' not resolved yet. Ensure measures are resolved in dependency order.`,\"server.validation.template.unmatchedClosingBrace\":`Unmatched closing brace at position {position}`,\"server.validation.template.unmatchedOpeningBrace\":`Unmatched opening brace in template`,\"notebook.aiAssistant\":`AI Assistant`,\"notebook.saveAsDashboard\":`Save as Dashboard`,\"notebook.saveAsDashboardTitle\":`Save notebook as a dashboard`,\"notebook.clearTitle\":`Clear notebook and chat`,\"notebook.feedbackThanks\":`Thanks for your feedback!`,\"notebook.feedbackQuestion\":`Was this helpful?`,\"notebook.feedbackYes\":`Yes`,\"notebook.feedbackNo\":`No`,\"notebook.thinking\":`Thinking...`,\"notebook.emptyState.title\":`Data Analysis Assistant`,\"notebook.emptyState.description\":`Ask me about your data and I'll create visualizations and insights.`,\"notebook.emptyState.example1\":`\"Show me employee productivity trends\"`,\"notebook.emptyState.example2\":`\"What are the top departments by headcount?\"`,\"notebook.emptyState.example3\":`\"Compare revenue across product categories\"`,\"notebook.saveAsDashboardPrompt\":`Save the current notebook as a dashboard with a professional layout, section headers, and appropriate filters.`,\"notebook.chatInput.placeholder\":`Ask about your data...`,\"notebook.chatInput.stop\":`Stop`,\"notebook.chatInput.continue\":`Continue`,\"notebook.chatInput.send\":`Send`,\"notebook.canvas.emptyTitle\":`Your notebook is empty`,\"notebook.canvas.emptyDescription\":`Ask the AI assistant a question about your data. Charts and insights will appear here as the assistant analyzes your data.`,\"notebook.canvas.editVisualization\":`Edit Visualization`,\"notebook.canvas.update\":`Update`,\"notebook.collapsed.noBlocks\":`No blocks`,\"notebook.collapsed.expandNotebook\":`Expand notebook`,\"notebook.collapsed.expandChat\":`Expand AI chat`,\"notebook.collapsed.aiChat\":`AI Chat`,\"notebook.collapsed.markdown\":`Markdown`,\"schema.loading\":`Loading cube schema...`,\"schema.error\":`Failed to load cube schema`,\"schema.noCubes\":`No cubes found`,\"schema.noCubesHint\":`Register some cubes to see the relationship diagram`,\"schema.computingLayout\":`Computing layout...`,\"schema.searchPlaceholder\":`Search cubes and fields...`,\"schema.autoLayout\":`Auto Layout`,\"schema.missingDeps.title\":`Schema Visualization requires additional packages`,\"schema.missingDeps.description\":`Install the required dependencies to enable the interactive schema diagram:`,\"schema.loadingVisualization\":`Loading schema visualization...`,\"schema.measures\":`Measures ({count})`,\"schema.timeDimensions\":`Time Dimensions ({count})`,\"schema.dimensions\":`Dimensions ({count})`,\"schema.cubeInfo\":`Cube info`,\"dataBrowser.selectCube\":`Select a cube`,\"dataBrowser.selectCubeHint\":`Choose a cube from the sidebar to browse its data`,\"dataBrowser.loadingData\":`Loading data...`,\"dataBrowser.noData\":`No data`,\"dataBrowser.noRows\":`No rows returned for this query`,\"dataBrowser.toolbar.filters\":`Filters`,\"dataBrowser.toolbar.columns\":`Columns`,\"dataBrowser.toolbar.rows\":`{count} rows`,\"dataBrowser.sidebar.cubes\":`Cubes`,\"dataBrowser.sidebar.searchPlaceholder\":`Search...`,\"dataBrowser.sidebar.noCubes\":`No cubes found`,\"queryAnalysis.summary\":`Query Summary`,\"queryAnalysis.summary.type\":`Type`,\"queryAnalysis.summary.cubes\":`Cubes`,\"queryAnalysis.summary.joins\":`Joins`,\"queryAnalysis.summary.ctes\":`CTEs`,\"queryAnalysis.summary.strategy\":`Strategy`,\"queryAnalysis.primaryCube\":`Primary Cube (FROM table)`,\"queryAnalysis.primaryCube.showCandidates\":`Show candidates ({count})`,\"queryAnalysis.primaryCube.reachable\":`reachable`,\"queryAnalysis.primaryCube.cannotReachAll\":`cannot reach all`,\"queryAnalysis.joinPaths\":`Join Paths`,\"queryAnalysis.joinPaths.steps\":`{count} step`,\"queryAnalysis.joinPaths.stepsPlural\":`{count} steps`,\"queryAnalysis.joinPaths.noPath\":`No path`,\"queryAnalysis.joinPaths.selection\":`Selection:`,\"queryAnalysis.joinPaths.pathCandidates\":`Path scoring candidates ({count})`,\"queryAnalysis.joinPaths.visitedCubes\":`Cubes visited during search ({count})`,\"queryAnalysis.preAggregations\":`Pre-Aggregation CTEs`,\"queryAnalysis.preAggregations.measures\":`Measures:`,\"queryAnalysis.preAggregations.joinKeys\":`Join keys:`,\"queryAnalysis.warnings\":`Warnings`,\"queryAnalysis.cubesInvolved\":`Cubes involved:`,\"common.actions.copied\":`Copied`,\"common.actions.copyToClipboard\":`Copy to clipboard`,\"chart.availability.requiresMeasure\":`Requires at least 1 measure`,\"chart.availability.requiresTwoMeasures\":`Requires at least 2 measures`,\"chart.availability.requiresDimension\":`Requires at least 1 dimension`,\"chart.availability.requiresTwoDimensions\":`Requires at least 2 dimensions`,\"chart.availability.requiresTimeDimension\":`Requires a time dimension`,\"chart.availability.scatter\":`Requires 2 measures, or 1 measure plus 1 dimension`,\"chart.availability.bubble\":`Requires at least 2 measures and 1 dimension`,\"chart.runtime.noData\":`No data available`,\"chart.runtime.noDataHint.bar\":`No data points to display in bar chart`,\"chart.runtime.noDataHint.line\":`No data points to display in line chart`,\"chart.runtime.noDataHint.area\":`No data points to display in area chart`,\"chart.runtime.noDataHint.pie\":`No data points to display in pie chart`,\"chart.runtime.noDataHint.scatter\":`No data points to display in scatter chart`,\"chart.runtime.noDataHint.radar\":`No data points to display in radar chart`,\"chart.runtime.noDataHint.radialBar\":`No data points to display in radial bar chart`,\"chart.runtime.noDataHint.treemap\":`No data points to display in treemap chart`,\"chart.runtime.noDataHint.bubble\":`No data points to display in bubble chart`,\"chart.runtime.noDataHint.boxPlot\":`No data points to display in box plot chart`,\"chart.runtime.noDataHint.waterfall\":`No data points to display in waterfall chart`,\"chart.runtime.noDataHint.candlestick\":`No data points to display in candlestick chart`,\"chart.runtime.noDataHint.gauge\":`No data points to display in gauge chart`,\"chart.runtime.noDataHint.measureProfile\":`No data points to display in measure profile chart`,\"chart.runtime.noDataHint.activityGrid\":`No data points to display in activity grid`,\"chart.runtime.noDataHint.heatmap\":`Run a query to see heatmap visualization`,\"chart.runtime.noDataHint.table\":`No data to display in table`,\"chart.runtime.noDataHint.kpi\":`No data points to display`,\"chart.runtime.noDataHint.funnel\":`Configure a funnel with at least 2 steps and a binding key`,\"chart.runtime.noDataHint.flow\":`Configure a flow analysis with a starting step and event dimension`,\"chart.runtime.noDataHint.retention\":`Configure retention analysis to see results`,\"chart.runtime.noValidData\":`No valid data`,\"chart.runtime.noValidDataHint.bar\":`No valid data points for bar chart after transformation`,\"chart.runtime.noValidDataHint.line\":`No valid data points for line chart after transformation`,\"chart.runtime.noValidDataHint.area\":`No valid data points for area chart after transformation`,\"chart.runtime.noValidDataHint.scatter\":`No valid data points for scatter chart after transformation`,\"chart.runtime.noValidDataHint.radar\":`No valid data points for radar chart after transformation`,\"chart.runtime.noValidDataHint.radialBar\":`No valid data points for radial bar chart after transformation`,\"chart.runtime.noValidDataHint.treemap\":`No valid data points for treemap chart after transformation`,\"chart.runtime.noValidDataHint.pie\":`No data points to display in pie chart`,\"chart.runtime.noValidDataHint.pieFiltered\":`Filtered out {count} data points (zero or invalid values)`,\"chart.runtime.noValidDataHint.boxPlot\":`Could not compute box plot statistics from the provided data`,\"chart.runtime.noValidDataHint.gauge\":`Gauge value is not a valid number`,\"chart.runtime.noValidDataHint.kpiText\":`All values are null or invalid`,\"chart.runtime.configError\":`Configuration Error`,\"chart.runtime.configErrorHint.axisInvalid\":`Invalid or missing chart axis configuration`,\"chart.runtime.configErrorHint.axisFields\":`Missing required X-axis or Y-axis fields`,\"chart.runtime.configErrorHint.pieAxis\":`chartConfig.x/y or chartConfig.xAxis/yAxis required for pie chart`,\"chart.runtime.configErrorHint.radarNumeric\":`No numeric fields found for radar chart values`,\"chart.runtime.configErrorHint.radialBarNumeric\":`No numeric field found for radial bar chart values`,\"chart.runtime.configErrorHint.treemapNumeric\":`No numeric field found for treemap chart size`,\"chart.runtime.configErrorHint.noMeasure\":`No measure field configured`,\"chart.runtime.configErrorHint.noMeasures\":`No measure fields configured`,\"chart.runtime.configErrorHint.bubbleRequired\":`Bubble chart requires xAxis, yAxis, series, and sizeField dimensions`,\"chart.runtime.configErrorHint.bubbleOptional\":`Optional: colorField for bubble coloring`,\"chart.runtime.configErrorHint.activityGridRequired\":`Activity grid requires a time dimension and a measure`,\"chart.runtime.chartError\":`{chartType} Error`,\"chart.runtime.unknownError\":`Unknown rendering error`,\"chart.runtime.checkConfig\":`Check the data and configuration`,\"chart.runtime.unableToRender\":`Unable to render retention data`,\"chart.runtime.dataFormatIncorrect\":`Data format may be incorrect`,\"chart.runtime.measuringDimensions\":`Measuring chart dimensions...`,\"chart.runtime.unableToDisplay\":`Unable to display chart`,\"chart.runtime.responsiveContainerError\":`Failed to create responsive container`,\"chart.runtime.noDataToDisplay\":`No data to display`,\"chart.runtime.table.invalidStructure\":`Data structure is invalid`,\"chart.runtime.heatmapNoResults\":`The query returned no results for the heatmap`,\"chart.runtime.heatmapConfigRequired\":`Configuration required`,\"chart.runtime.heatmapXRequired\":`X-axis dimension required. `,\"chart.runtime.heatmapYRequired\":`Y-axis dimension required. `,\"chart.runtime.heatmapValueRequired\":`Value measure required.`,\"chart.runtime.heatmapTruncated\":`Data truncated to {maxRows}x{maxCols} cells (original: {originalRows}x{originalCols}). Add filters to reduce dimensions.`,\"chart.runtime.activityGridGranularityTooHigh\":`Granularity Too High`,\"chart.runtime.activityGridGranularityHint\":`Activity grids work best with hour, day, week, month, or quarter granularity`,\"chart.runtime.activityGridGranularityAction\":`Please choose a lower granularity for your time dimension`,\"chart.runtime.activityGridConfigRequired\":`Configuration Required`,\"chart.runtime.retention.cohort\":`Cohort`,\"chart.runtime.retention.segment\":`Segment`,\"chart.runtime.retention.users\":`Users`,\"chart.runtime.retention.cohortSize\":`Cohort Size: {count}`,\"chart.runtime.retention.retained\":`Retained: {count}`,\"chart.runtime.retention.rate\":`Rate: {rate}`,\"chart.runtime.retention.retentionPercent\":`Retention %`,\"chart.runtime.retention.periodLabel\":`{cohort} - Period {period}`,\"chart.runtime.retention.noData\":`No data`,\"chart.runtime.retention.total\":`Total`,\"chart.runtime.retention.retention\":`Retention`,\"chart.runtime.funnel.noData\":`No funnel data`,\"chart.runtime.funnel.steps\":`steps`,\"chart.runtime.funnel.overall\":`Overall:`,\"chart.runtime.funnel.completed\":`{completed} / {total} completed`,\"chart.runtime.flow.noData\":`No flow data`,\"chart.runtime.flow.events\":`events`,\"chart.runtime.flow.eventsAfter\":`events (after)`,\"chart.runtime.flow.paths\":`Paths:`,\"chart.runtime.flow.startingEntities\":`starting entities`,\"chart.runtime.flow.entities\":`entities`,\"chart.runtime.kpiDelta.insufficientData\":`Insufficient Data`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`Delta calculation requires at least 2 data points`,\"chart.runtime.kpiDelta.currentPoints\":`Current data points: {count}`,\"chart.runtime.kpiDelta.noVariance\":`No variance data`,\"chart.runtime.kpiNumber.noData\":`No data`,\"chart.runtime.markdown.noContent\":`No content`,\"chart.runtime.markdown.addContent\":`Add markdown content in the chart configuration`,\"chart.runtime.axisFormat.label\":`Label`,\"chart.runtime.axisFormat.autoLabel\":`Auto-generated label`,\"chart.runtime.axisFormat.unit\":`Unit`,\"chart.runtime.axisFormat.custom\":`Custom`,\"chart.runtime.axisFormat.prefix\":`Prefix`,\"chart.runtime.axisFormat.prefixExample\":`e.g., $`,\"chart.runtime.axisFormat.suffix\":`Suffix`,\"chart.runtime.axisFormat.suffixExample\":`e.g., units`,\"chart.runtime.axisFormat.abbreviation\":`Abbreviation`,\"chart.runtime.axisFormat.yes\":`Yes`,\"chart.runtime.axisFormat.no\":`No`,\"chart.runtime.axisFormat.decimals\":`Decimals`,\"chart.runtime.axisFormat.preview\":`Preview`,\"chart.runtime.axisFormat.leftYAxis\":`Left Y-Axis`,\"chart.runtime.axisFormat.rightYAxis\":`Right Y-Axis`,\"chart.runtime.axisFormat.xAxis\":`X-Axis`,\"chart.runtime.missingDep.title\":`Missing Dependency`,\"chart.runtime.missingDep.description\":`The {chartType} chart requires the {packageName} package.`,\"chart.runtime.missingDep.restartHint\":`After installing, restart your development server.`,\"chart.runtime.unknownChartType\":`Unknown chart type`,\"chart.runtime.unknownChartTypeHint\":`\"{chartType}\" is not registered`,\"chart.runtime.boxPlot.truncated\":`Data truncated to {max} groups (original: {total})`,\"chart.runtime.candlestick.truncated\":`Showing first {max} candles (total: {total})`,\"chart.runtime.bar.hiddenPoints\":`{count} data point(s) with no values hidden`,\"chart.runtime.waterfall.increase\":`Increase`,\"chart.runtime.waterfall.decrease\":`Decrease`,\"chart.runtime.waterfall.total\":`Total`,\"chart.runtime.tooltip.noData\":`No data`,\"chart.runtime.tooltip.targetValue\":`Target Value`,\"results.toolbar.refreshing\":`Refreshing`,\"results.toolbar.refresh\":`Refresh`,\"results.toolbar.refreshTitle\":`Refresh data (Shift+click to bypass cache)`,\"results.toolbar.refreshingTitle\":`Refreshing...`,\"results.toolbar.cacheBustTitle\":`Click to refresh and bypass cache`,\"results.toolbar.clear\":`Clear`,\"results.toolbar.clearFunnel\":`Clear funnel`,\"results.toolbar.clearQuery\":`Clear all query data`,\"results.toolbar.aiClose\":`Close AI assistant`,\"results.toolbar.aiOpen\":`Analyse with AI`,\"results.toolbar.shareTitle\":`Share this analysis`,\"results.toolbar.shareCopied\":`Link copied!`,\"results.toolbar.schemaHide\":`Hide schema diagram`,\"results.toolbar.schemaShow\":`Show schema diagram`,\"results.toolbar.debugHide\":`Hide debug info`,\"results.toolbar.debugShow\":`Show debug info`,\"results.toolbar.chartView\":`Chart view`,\"results.toolbar.chartDisabled\":`Add metrics to enable chart view`,\"results.toolbar.tableView\":`Table view`,\"results.toolbar.mergedTableView\":`Merged table view`,\"results.view.table\":`Table`,\"results.warning.filterHint\":`Consider adding filters to improve performance.`,\"results.debug.query\":`Query:`,\"results.debug.queryAnalysis\":`Query Analysis`,\"results.debug.copyMarkdownTitle\":`Copy query, analysis, and SQL as markdown`,\"results.debug.copyAsMarkdown\":`Copy as Markdown`,\"results.debug.analysisError\":`Analysis unavailable due to error`,\"results.debug.analysisEmpty\":`Add metrics to see analysis`,\"results.debug.cubeQuery\":`Cube Query`,\"results.debug.cubeQueryExecuted\":`Executed Query (with funnel filters)`,\"results.debug.funnelFilterHint\":`This query includes an IN filter with binding key values from the previous step`,\"results.debug.noQuery\":`No query`,\"results.debug.serverResponse\":`Server Response`,\"results.debug.noResults\":`No results yet`,\"results.debug.chartConfig\":`Chart Config`,\"results.debug.displayConfig\":`Display Config`,\"results.debug.generatedSql\":`Generated SQL`,\"results.debug.loadingSql\":`Loading SQL...`,\"results.debug.executionError\":`Execution Error`,\"results.confirm.clearFunnel\":`Clear Funnel`,\"results.confirm.clearQuery\":`Clear Query`,\"results.confirm.clearFunnelMessage\":`Are you sure you want to clear this funnel? This action cannot be undone.`,\"results.confirm.clearQueryMessage\":`Are you sure you want to clear this query? This action cannot be undone.`,\"results.table.noData\":`No data to display`,\"results.table.noDataHint\":`Run a query to see table data`,\"results.flow.noData\":`No flow data to display`,\"results.flow.noDataHint\":`Configure flow analysis to see results`,\"results.flow.nodes\":`Nodes ({count})`,\"results.flow.transitions\":`Transitions ({count})`,\"results.flow.layer\":`Layer`,\"results.flow.name\":`Name`,\"results.flow.count\":`Count`,\"results.flow.from\":`From`,\"results.flow.to\":`To`,\"results.debug.funnel.label\":`Funnel Query`,\"results.debug.funnel.steps\":`{count} steps`,\"results.debug.funnel.serverQuery\":`Funnel Server Query`,\"results.debug.funnel.noQuery\":`No funnel query configured`,\"results.debug.funnel.sqlPlaceholder\":`Configure funnel binding key to generate SQL`,\"results.debug.funnel.stepsTitle\":`Funnel Steps`,\"results.debug.flow.label\":`Flow Query`,\"results.debug.flow.badge\":`{before} before, {after} after`,\"results.debug.flow.serverQuery\":`Flow Server Query`,\"results.debug.flow.noQuery\":`No flow query configured`,\"results.debug.flow.sqlPlaceholder\":`Configure flow to generate SQL`,\"results.debug.flow.configTitle\":`Flow Configuration`,\"results.debug.flow.startingStep\":`Starting Step:`,\"results.debug.flow.eventDimension\":`Event Dimension:`,\"results.debug.flow.stepsBefore\":`Steps Before:`,\"results.debug.flow.stepsAfter\":`Steps After:`,\"results.debug.flow.notSet\":`Not set`,\"results.debug.flow.responseTitle\":`Server Response (Sankey Data)`,\"results.debug.retention.label\":`Retention Query`,\"results.debug.retention.badge\":`{segments} segment(s), {users} users`,\"results.debug.retention.serverQuery\":`Retention Server Query`,\"results.debug.retention.configIncomplete\":`Configuration Incomplete`,\"results.debug.retention.configHint\":`Configure the retention analysis settings to generate a query.`,\"results.debug.retention.sqlPlaceholder\":`Configure retention to generate SQL`,\"results.debug.retention.configTitle\":`Retention Configuration`,\"results.debug.retention.summaryTitle\":`Retention Summary`,\"results.debug.retention.retentionType\":`Retention Type:`,\"results.debug.retention.periods\":`Periods:`,\"results.debug.retention.granularity\":`Granularity:`,\"results.debug.retention.segments\":`Segments:`,\"results.debug.retention.avgPeriod1\":`Avg Period 1:`,\"results.debug.retention.maxPeriod1\":`Max Period 1:`,\"results.debug.retention.minPeriod1\":`Min Period 1:`,\"results.debug.standard.sqlPlaceholder\":`Add metrics to generate SQL`,\"flow.tabs.flow\":`Flow`,\"flow.tabs.display\":`Display`,\"flow.tabs.displayUnavailable\":`Display options not available`,\"flow.tabs.displayTitle\":`Display options`,\"flow.visualization.title\":`Visualization`,\"flow.visualization.description\":`Choose how to visualize the flow data. This affects how data is aggregated.`,\"flow.visualization.sankey\":`Sankey`,\"flow.visualization.sankeyHint\":`Paths can converge`,\"flow.visualization.sunburst\":`Sunburst`,\"flow.visualization.sunburstHint\":`Unique paths only`,\"flow.startingStep.title\":`Starting Step`,\"flow.startingStep.description\":`Define the anchor event from which paths will be explored in both directions.`,\"flow.startingStep.filterLabel\":`Filter Conditions`,\"flow.depth.title\":`Exploration Depth`,\"flow.depth.descriptionSankey\":`How many steps to explore before and after the starting step.`,\"flow.depth.descriptionSunburst\":`How many steps to explore after the starting step.`,\"flow.depth.stepsBefore\":`Steps Before`,\"flow.depth.stepsBeforeNA\":`(N/A)`,\"flow.depth.stepsAfter\":`Steps After`,\"flow.depth.performanceWarning\":`High step depth (4-5) may impact query performance on large datasets.`,\"flow.joinStrategy.title\":`Join Strategy`,\"flow.joinStrategy.description\":`Control how before/after steps are fetched. Switch to window if lateral is slower on your DB.`,\"flow.joinStrategy.auto\":`Auto (prefer lateral if available)`,\"flow.joinStrategy.lateral\":`Lateral (index seeks)`,\"flow.joinStrategy.window\":`Window (ROW_NUMBER)`,\"retention.tabs.retention\":`Retention`,\"retention.tabs.display\":`Display`,\"retention.tabs.displayUnavailable\":`Display options not available`,\"retention.tabs.displayTitle\":`Display options`,\"retention.dateRange.title\":`Date Range`,\"retention.dateRange.description\":`Select the date range for cohort entry. Users who first appear within this range will be analyzed.`,\"retention.dateRange.label\":`Date Range`,\"retention.dateRange.selectRange\":`Select date range`,\"retention.dateRange.customRange\":`Custom Range`,\"retention.dateRange.applyCustom\":`Apply Custom Range`,\"retention.cohortFilter.title\":`Cohort Filter`,\"retention.cohortFilter.description\":`Define who enters the cohort. Users whose first event matches these filters within the date range are included.`,\"retention.returnFilter.title\":`Return Filter`,\"retention.returnFilter.description\":`Define what counts as a return. Events matching these filters in subsequent periods count as retention.`,\"retention.breakdown.title\":`Breakdown`,\"retention.breakdown.description\":`Optionally segment retention by dimensions (e.g., country, plan type).`,\"retention.settings.title\":`Settings`,\"retention.settings.description\":`Configure how retention is calculated and displayed.`,\"retention.settings.granularityLabel\":`Period Granularity`,\"retention.settings.periodsLabel\":`Number of Periods ({min}-{max})`,\"retention.settings.periodsWarning\":`High period count may impact query performance.`,\"retention.settings.retentionTypeLabel\":`Retention Type`,\"debug.explainPlan\":`Explain Plan`,\"debug.explainRunning\":`Running...`,\"debug.explainIncludeTiming\":`Include timing`,\"debug.explainRunningAnalyze\":`Running EXPLAIN ANALYZE...`,\"debug.explainRunningBasic\":`Running EXPLAIN...`,\"debug.explainError\":`Explain Error:`,\"debug.sequentialScans\":`Sequential Scans Detected`,\"debug.indexesUsed\":`{count} Index Used`,\"debug.indexesUsedPlural\":`{count} Indexes Used`,\"debug.executionTime\":`Execution: {time}ms`,\"debug.planningTime\":`Planning: {time}ms`,\"debug.cost\":`Cost: {cost}`,\"debug.indexes\":`Indexes:`,\"debug.executionPlanTitle\":`Execution Plan ({database})`,\"debug.aiAnalyzing\":`Analyzing...`,\"debug.aiAnalysis\":`AI Analysis`,\"debug.aiAnalysisError\":`AI Analysis Error:`,\"explainAI.title\":`AI Performance Analysis`,\"explainAI.assessment.good\":`Good`,\"explainAI.assessment.warning\":`Warning`,\"explainAI.assessment.critical\":`Critical`,\"explainAI.summary\":`Summary`,\"explainAI.queryAnalysis\":`Query Analysis`,\"explainAI.issuesFound\":`Issues Found ({count})`,\"explainAI.recommendations\":`Recommendations ({count})`,\"explainAI.noRecommendations\":`No specific recommendations. The query appears to be well-optimized.`,\"explainAI.expectedImpact\":`Expected impact:`,\"explainAI.addToCube\":`Add to {cubeName} cube:`,\"explainAI.modelLabel\":`Model:`,\"explainAI.usingUserKey\":`(using your API key)`,\"explainAI.copied\":`Copied!`,\"explainAI.copy\":`Copy`,\"explainAI.type.index\":`INDEX`,\"explainAI.type.table\":`TABLE`,\"explainAI.type.cube\":`CUBE`,\"explainAI.type.general\":`TIP`,\"errorBoundary.modeError\":`Mode Error`,\"errorBoundary.modeErrorDescription\":`There was a problem with the {mode} mode. This might be due to invalid configuration data.`,\"errorBoundary.showDetails\":`Show error details`,\"errorBoundary.unknownError\":`Unknown error`,\"errorBoundary.tryAgain\":`Try Again`,\"errorBoundary.switchToQuery\":`Switch to Query Mode`,\"funnel.tabs.steps\":`Steps`,\"funnel.tabs.display\":`Display`,\"funnel.tabs.displayUnavailable\":`Display options not available`,\"funnel.tabs.displayTitle\":`Display options`,\"funnel.steps.title\":`Funnel Steps`,\"funnel.steps.emptyMessage\":`No steps defined. Add at least 2 steps to create a funnel.`,\"funnel.steps.addFirst\":`Add First Step`,\"funnel.steps.addStep\":`Add Step`,\"funnel.steps.validationHint\":`Add at least one more step to create a valid funnel`,\"funnel.step.removeTitle\":`Remove step`,\"funnel.step.editNameTitle\":`Click to edit name`,\"funnel.step.placeholder\":`Step name`,\"funnel.step.timeWindow\":`Time Window`,\"funnel.step.timeWindowHelp\":`Max time from previous step to qualify`,\"funnel.step.filters\":`{count} filter`,\"funnel.step.filtersPlural\":`{count} filters`,\"funnel.step.within\":`within {time}`,\"funnel.step.noFilters\":`No filters configured`,\"funnel.config.configuration\":`Configuration`,\"funnel.config.cube\":`Cube`,\"funnel.config.cubeHelp\":`Select a cube configured for funnel analysis`,\"funnel.config.cubePlaceholder\":`Select event stream cube`,\"funnel.config.bindingKey\":`Binding Key`,\"funnel.config.bindingKeyHelp\":`Entity that connects steps (e.g., user ID, order ID)`,\"funnel.config.bindingKeyPlaceholder\":`Select binding key`,\"funnel.config.selectCubeFirst\":`Select cube first`,\"funnel.config.timeDimension\":`Time Dimension`,\"funnel.config.timeDimensionHelp\":`Timestamp field for step ordering`,\"funnel.config.timeDimensionPlaceholder\":`Select time dimension`,\"funnel.config.noMatchingFields\":`No matching fields found`,\"funnel.bindingKey.searchPlaceholder\":`Search dimensions...`,\"funnel.bindingKey.noMatching\":`No matching dimensions found`,\"funnel.bindingKey.helpText\":`Select a dimension that identifies entities across funnel steps (e.g., user ID, order ID)`,\"funnel.bindingKey.clearTitle\":`Clear binding key`,\"flow.config.configuration\":`Configuration`,\"flow.config.cube\":`Cube`,\"flow.config.cubeHelp\":`Select a cube configured for flow analysis`,\"flow.config.cubePlaceholder\":`Select event stream cube`,\"flow.config.bindingKey\":`Binding Key`,\"flow.config.bindingKeyHelp\":`Entity that links events together (e.g., user ID)`,\"flow.config.bindingKeyPlaceholder\":`Select binding key`,\"flow.config.selectCubeFirst\":`Select cube first`,\"flow.config.timeDimension\":`Time Dimension`,\"flow.config.timeDimensionHelp\":`Timestamp field for event ordering`,\"flow.config.timeDimensionPlaceholder\":`Select time dimension`,\"flow.config.eventDimension\":`Event Dimension`,\"flow.config.eventDimensionHelp\":`Dimension that categorizes events (node labels in Sankey)`,\"flow.config.eventDimensionPlaceholder\":`Select event dimension`,\"flow.config.noMatchingFields\":`No matching fields found`,\"retention.config.configuration\":`Configuration`,\"retention.config.cube\":`Cube`,\"retention.config.cubeHelp\":`Select the cube containing your user events`,\"retention.config.cubePlaceholder\":`Select cube`,\"retention.config.bindingKey\":`Binding Key`,\"retention.config.bindingKeyHelp\":`Dimension that identifies entities across events (e.g., user ID, customer ID)`,\"retention.config.bindingKeyPlaceholder\":`Select user identifier`,\"retention.config.selectCubeFirst\":`Select cube first`,\"retention.config.timestamp\":`Timestamp`,\"retention.config.timestampHelp\":`Timestamp field for cohort entry and activity`,\"retention.config.timestampPlaceholder\":`Select timestamp`,\"retention.config.noMatchingFields\":`No matching fields found`,\"retention.config.searchPlaceholder\":`Search...`,\"display.showLegend\":`Show Legend`,\"display.showGrid\":`Show Grid`,\"display.showTooltip\":`Show Tooltip`,\"display.stacked\":`Stacked`,\"display.hideHeader\":`Hide Header`,\"fieldSearch.aria.closeDialog\":`Close dialog`,\"fieldSearch.aria.filterByCube\":`Filter by cube`,\"fieldSearch.aria.cubeCategories\":`Cube categories`,\"fieldSearch.aria.availableFields\":`Available fields`,\"chart.dropZone.required\":`This field is required`,\"common.actions.apply\":`Apply`,\"common.actions.done\":`Done`,\"common.actions.update\":`Update`,\"common.actions.retry\":`Retry`,\"common.actions.exit\":`Exit`,\"common.actions.selectAll\":`Select All`,\"common.saving\":`Saving...`,\"common.labels.title\":`Title`,\"dashboardFilter.editFilter\":`Edit Filter`,\"dashboardFilter.filterLabel\":`Filter Label`,\"dashboardFilter.enterFilterLabel\":`Enter filter label`,\"dashboardFilter.universalTimeFilter\":`Universal Time Filter`,\"dashboardFilter.universalTimeDescription\":`This filter applies to all time dimensions in mapped portlets. Users can select the date range when viewing the dashboard.`,\"dashboardFilter.field\":`Field`,\"dashboardFilter.showDashboardFields\":`Show dashboard fields only`,\"dashboardFilter.showAllFields\":`Show all fields`,\"dashboardFilter.dashboard\":`Dashboard`,\"dashboardFilter.all\":`All`,\"dashboardFilter.clickToSelectField\":`Click to select a field`,\"dashboardFilter.operator\":`Operator`,\"dashboardFilter.defaultValue\":`Default Value`,\"dashboardFilter.deleteFilter\":`Delete Filter`,\"dashboardFilter.noValueRequired\":`No value required`,\"dashboardFilter.to\":`to`,\"dashboardFilter.selectValue\":`Select value...`,\"dashboardFilter.search\":`Search...`,\"dashboardFilter.errorPrefix\":`Error: `,\"dashboardFilter.noValuesFound\":`No values found`,\"dashboardFilter.enterValue\":`Enter value...`,\"dashboardFilter.enterNumber\":`Enter number`,\"dashboardFilter.min\":`Min`,\"dashboardFilter.max\":`Max`,\"dashboardFilter.filterLabelRequired\":`Filter label is required`,\"dashboardFilter.selectFieldRequired\":`Please select a field for the filter`,\"dashboardFilter.notSet\":`(not set)`,\"dashboardFilter.clickToConfigure\":`Click to configure`,\"dashboardFilter.customDate.startDate\":`Start Date`,\"dashboardFilter.customDate.endDate\":`End Date`,\"dashboardFilter.customDate.sinceDate\":`Since Date`,\"dashboardFilter.customDate.fromSelectedToToday\":`From selected date to today`,\"dashboardFilter.customDate.number\":`Number`,\"dashboardFilter.customDate.unit\":`Unit`,\"dashboardFilter.customDate.lastNPreview\":`Last {number} {unit}`,\"dashboardFilter.editMode.filters\":`Filters`,\"dashboardFilter.editMode.noFilters\":`No filters configured. Click \"Add\" to create one.`,\"dashboardFilter.editMode.dateRange\":`Date Range`,\"dashboardFilter.editMode.filter\":`Filter`,\"dashboardFilter.editMode.editFilter\":`Edit filter`,\"dashboardFilter.editMode.removeFilter\":`Remove filter`,\"dashboardFilter.filterValue.editValue\":`Edit value`,\"dashboardFilter.readOnly.filters\":`Filters`,\"filter.shared.fieldsInQuery\":`Fields in Query ({count})`,\"filter.shared.allAvailableFields\":`All Available Fields ({count})`,\"filter.shared.noFieldsMatch\":`No fields found matching \"{searchTerm}\"`,\"filter.shared.searchFields\":`Search fields...`,\"filter.shared.selectField\":`Select field...`,\"filter.shared.schemaNotLoaded\":`Schema not loaded`,\"filter.shared.group.addFilter\":`Add Filter`,\"filter.shared.group.addAndGroup\":`Add AND Group`,\"filter.shared.group.addOrGroup\":`Add OR Group`,\"filter.shared.group.addCondition\":`Add condition`,\"filter.shared.group.noConditions\":`No conditions in this group.`,\"filter.shared.group.addFilterLink\":`Add a filter`,\"filter.shared.builder.filters\":`Filters ({count})`,\"filter.shared.builder.clearAll\":`Clear all`,\"filter.shared.builder.addFilter\":`Add Filter`,\"filter.shared.dateRange.title\":`Date Ranges ({count})`,\"filter.shared.dateRange.clearAll\":`Clear all`,\"filter.shared.dateRange.addDateRange\":`Add Date Range`,\"filter.shared.dateRange.allHaveDateRanges\":`All time dimensions already have date ranges`,\"filter.shared.valueSelector.noValueRequired\":`No value required`,\"filter.shared.valueSelector.to\":`to`,\"filter.shared.valueSelector.min\":`Min`,\"filter.shared.valueSelector.max\":`Max`,\"filter.shared.valueSelector.enterNumber\":`Enter number`,\"filter.shared.valueSelector.loadingValues\":`Loading values...`,\"filter.shared.valueSelector.selectValue\":`Select value...`,\"filter.shared.valueSelector.searchValues\":`Search values...`,\"filter.shared.valueSelector.searching\":`Searching...`,\"filter.shared.valueSelector.errorLoading\":`Error loading values: {error}`,\"filter.shared.valueSelector.noMatchingValues\":`No matching values`,\"filter.shared.valueSelector.noValuesAvailable\":`No values available`,\"filter.shared.valueSelector.enterValue\":`Enter {type} value`,\"dashboard.noPortlets\":`No Portlets`,\"dashboard.noPortletsDescription\":`Add your first portlet to start visualizing your data`,\"dashboard.addText\":`Add Text`,\"dashboard.addPortlet\":`Add Portlet`,\"dashboard.finishEditing\":`Finish Editing`,\"dashboard.edit\":`Edit`,\"dashboard.grid\":`Grid`,\"dashboard.rows\":`Rows`,\"dashboard.desktopRequired\":`Desktop view required for editing`,\"dashboard.editModeHint\":`Drag • Resize • Auto-save`,\"dashboard.filterSelectionMode\":`Filter Selection Mode - Click portlets to toggle '{filterLabel}'`,\"dashboard.filterSelectionEscHint\":`• Press Enter or Esc to save`,\"dashboard.filterFieldChipHint\":`Click to change which field this filter applies to for this portlet`,\"dashboard.editPortlet\":`Edit Portlet`,\"dashboard.addNewPortlet\":`Add New Portlet`,\"dashboard.updatePortlet\":`Update Portlet`,\"dashboard.deletePortlet\":`Delete Portlet`,\"dashboard.deletePortletConfirm\":`Are you sure you want to delete`,\"dashboard.deletePortletSuffix\":`? This action cannot be undone.`,\"dashboard.thisPortlet\":`this portlet`,\"dashboard.editModal.dashboardName\":`Dashboard Name`,\"dashboard.editModal.enterDashboardName\":`Enter dashboard name...`,\"dashboard.editModal.descriptionOptional\":`Description (optional)`,\"dashboard.editModal.enterDescription\":`Enter description...`,\"portlet.configRequired\":`Configuration Required`,\"portlet.configRequiredHint\":`Please configure this chart`,\"portlet.queryError\":`Query Error`,\"portlet.queryWithFilters\":`Query (with filters applied)`,\"portlet.chartConfig\":`Chart Config`,\"portlet.noDataAvailable\":`No data available`,\"portlet.noDataDrilled\":`No data points to display for the current filter`,\"portlet.invalidQuery\":`Invalid query or no results`,\"portlet.unsupportedChartType\":`Unsupported chart type`,\"portlet.unableToRender\":`Unable to render chart`,\"portlet.enterTitle\":`Enter portlet title...`,\"portlet.enterPortletTitle\":`Please enter a title for the portlet.`,\"portlet.configureQuery\":`Please configure a query before saving.`,\"portlet.configureFlow\":`Please configure the flow analysis (binding key, time dimension, event dimension, and starting step filter).`,\"portlet.configureRetention\":`Please configure the retention analysis (binding key, time dimension, and date range).`,\"portlet.configureFunnel\":`Please add at least two funnel steps.`,\"portlet.addMetricOrBreakdown\":`Please add at least one metric or breakdown to your query.`,\"portlet.filterConfig.title\":`Configure Dashboard Filters`,\"portlet.filterConfig.subtitle\":`Choose which dashboard filters apply to \"{portletTitle}\"`,\"portlet.filterConfig.noFilters\":`No dashboard filters available`,\"portlet.filterConfig.noFiltersHint\":`Add filters at the dashboard level first`,\"portlet.filterConfig.availableFilters\":`Available Filters`,\"portlet.filterConfig.selectedCount\":`{selected} of {total} selected`,\"portlet.filterConfig.applied\":`Applied`,\"portlet.filterConfig.noValue\":`no value`,\"portlet.filterConfig.complexFilter\":`Complex filter`,\"portlet.filterConfig.groupFilter\":`{type} group with {count} filter`,\"portlet.filterConfig.groupFilterPlural\":`{type} group with {count} filters`,\"portlet.filterConfig.applyFilters\":`Apply Filters`,\"portlet.filterConfig.applyToField\":`Apply to field`,\"portlet.filterConfig.applyToFieldDefault\":`Default ({field})`,\"portlet.filterConfig.mappedTo\":`Mapped to {field}`,\"portlet.filterConfig.mappedFieldMissing\":`The mapped field \"{field}\" is no longer available in the schema`,\"textPortlet.editText\":`Edit Text`,\"textPortlet.addText\":`Add Text`,\"textPortlet.markdownContent\":`Markdown Content`,\"textPortlet.markdownHint\":`Supports headers (#), bold (**text**), italic (*text*), links ([text](url)), lists (- item), and horizontal rules (---).`,\"textPortlet.preview\":`Preview`,\"debug.title\":`Chart Debug Information`,\"debug.chartType\":`Chart Type`,\"debug.fieldAnalysis\":`Field Analysis`,\"debug.chartConfig\":`Chart Config`,\"debug.displayConfig\":`Display Config`,\"debug.queryObject\":`Query Object`,\"debug.dataSample\":`Data Sample (first 3 rows)`,\"debug.cacheStatus\":`Cache Status`,\"debug.cacheHit\":`Cache Hit`,\"debug.cachedAt\":`Cached At:`,\"debug.ttl\":`TTL:`,\"debug.ttlRemaining\":`TTL Remaining:`,\"debug.freshQuery\":`Fresh Query`,\"debug.notFromCache\":`Result not served from cache`,\"debug.escToClose\":`Press`,\"debug.escKey\":`ESC`,\"debug.toClose\":`to close`,\"debug.tooltip\":`Debug chart configuration`,\"error.unableToRender\":`Unable to render chart`,\"error.unableToRenderNamed\":`Unable to render {title}`,\"error.renderDescription\":`There was an error rendering this chart component. The error details are shown below.`,\"error.errorLabel\":`Error:`,\"error.typeLabel\":`Type:`,\"error.portletConfig\":`Portlet Configuration`,\"error.cubeQuery\":`Cube Query`,\"error.componentStack\":`Component Stack`,\"error.tryAgain\":`Try Again`,\"drill.back\":`Back`,\"drill.goBackOneLevel\":`Go back one level`,\"drill.returnToTop\":`Return to top level`,\"drill.navigateTo\":`Navigate to {label}`,\"drill.empty\":`(empty)`,\"analyticsPage.title\":`Analytics Page - Coming in Phase 4`,\"dataHistogram.average\":`Average of {count} values`,\"dataHistogram.valuesInRange\":`{count} values in this range`,\"mcp.status.connecting\":`Connecting...`,\"mcp.status.loading\":`Loading...`,\"mcp.status.waiting\":`Waiting for query results...`,\"mcp.error.connectionLabel\":`Connection error:`,\"mcp.error.errorLabel\":`Error:`,\"mcp.error.noTextContent\":`No text content in result`,\"mcp.error.invalidResultFormat\":`Invalid result format: missing data array`,\"mcp.error.parseFailed\":`Failed to parse result: {message}`,\"mcp.error.queryFailed\":`Query failed: {message}`,\"mcp.footer.rows\":`{count} row`,\"mcp.footer.rowsPlural\":`{count} rows`,\"mcp.footer.measures\":`{count} measure`,\"mcp.footer.measuresPlural\":`{count} measures`,\"mcp.footer.dimensions\":`{count} dimension`,\"mcp.footer.dimensionsPlural\":`{count} dimensions`}})),Dv=c({default:()=>Ov}),Ov,kv=o((()=>{Ov={\"analysis.modes.query.label\":`crwdns2661:0crwdne2661:0`,\"analysis.modes.query.description\":`crwdns2663:0crwdne2663:0`,\"analysis.modes.funnel.label\":`crwdns2665:0crwdne2665:0`,\"analysis.modes.funnel.description\":`crwdns2667:0crwdne2667:0`,\"analysis.modes.flow.label\":`crwdns2669:0crwdne2669:0`,\"analysis.modes.flow.description\":`crwdns2671:0crwdne2671:0`,\"analysis.modes.retention.label\":`crwdns2673:0crwdne2673:0`,\"analysis.modes.retention.description\":`crwdns2675:0crwdne2675:0`,\"analysis.ai.title\":`crwdns2677:0crwdne2677:0`,\"analysis.ai.generating\":`crwdns2679:0crwdne2679:0`,\"analysis.ai.placeholder\":`crwdns2681:0crwdne2681:0`,\"analysis.ai.shortcutHint\":`crwdns2683:0crwdne2683:0`,\"analysis.ai.successMessage\":`crwdns2685:0crwdne2685:0`,\"analysis.ai.button.accept\":`crwdns2687:0crwdne2687:0`,\"analysis.ai.button.cancel\":`crwdns2689:0crwdne2689:0`,\"analysis.ai.button.close\":`crwdns2691:0crwdne2691:0`,\"analysis.ai.button.generate\":`crwdns2693:0crwdne2693:0`,\"analysis.ai.button.generating\":`crwdns2695:0crwdne2695:0`,\"analysis.sections.metrics\":`crwdns2697:0crwdne2697:0`,\"analysis.sections.breakdown\":`crwdns2699:0crwdne2699:0`,\"analysis.sections.dimensions\":`crwdns2701:0crwdne2701:0`,\"analysis.sections.filters\":`crwdns2703:0crwdne2703:0`,\"analysis.sections.limit\":`crwdns2705:0crwdne2705:0`,\"analysis.tabs.query\":`crwdns2707:0crwdne2707:0`,\"analysis.tabs.chart\":`crwdns2709:0crwdne2709:0`,\"analysis.tabs.chartTitle\":`crwdns2711:0crwdne2711:0`,\"analysis.tabs.display\":`crwdns2715:0crwdne2715:0`,\"analysis.tabs.displayTitle\":`crwdns2717:0crwdne2717:0`,\"analysis.multiQuery.removeQuery\":`crwdns2721:0crwdne2721:0`,\"analysis.multiQuery.addQuery\":`crwdns2723:0crwdne2723:0`,\"analysis.multiQuery.addAnother\":`crwdns2725:0crwdne2725:0`,\"analysis.multiQuery.mergeExplanation\":`crwdns2727:0crwdne2727:0`,\"analysis.multiQuery.switchToSeparate\":`crwdns2729:0crwdne2729:0`,\"analysis.mergeStrategy.concat\":`crwdns2731:0crwdne2731:0`,\"analysis.mergeStrategy.merge\":`crwdns2733:0crwdne2733:0`,\"analysis.mergeStrategy.funnel\":`crwdns2735:0crwdne2735:0`,\"analysis.placeholders.addMetrics\":`crwdns2737:0crwdne2737:0`,\"analysis.placeholders.hoverField\":`crwdns2739:0crwdne2739:0`,\"analysis.placeholders.noData\":`crwdns2741:0crwdne2741:0`,\"common.actions.accept\":`crwdns2743:0crwdne2743:0`,\"common.actions.cancel\":`crwdns2745:0crwdne2745:0`,\"common.actions.delete\":`crwdns2747:0crwdne2747:0`,\"common.actions.close\":`crwdns2749:0crwdne2749:0`,\"common.actions.edit\":`crwdns2751:0crwdne2751:0`,\"common.actions.save\":`crwdns2753:0crwdne2753:0`,\"common.actions.copy\":`crwdns2755:0crwdne2755:0`,\"common.actions.duplicate\":`crwdns2757:0crwdne2757:0`,\"common.actions.refresh\":`crwdns2759:0crwdne2759:0`,\"common.actions.confirm\":`crwdns2761:0crwdne2761:0`,\"common.actions.add\":`crwdns2763:0crwdne2763:0`,\"common.actions.clear\":`crwdns2765:0crwdne2765:0`,\"common.actions.select\":`crwdns2767:0crwdne2767:0`,\"common.actions.navigate\":`crwdns2769:0crwdne2769:0`,\"common.actions.share\":`crwdns2771:0crwdne2771:0`,\"common.loading\":`crwdns2773:0crwdne2773:0`,\"common.modal.processing\":`crwdns2775:0crwdne2775:0`,\"common.modal.dashboardName\":`crwdns2777:0crwdne2777:0`,\"common.modal.deleteConfirmation\":`crwdns2779:0crwdne2779:0`,\"common.sorting.ascending\":`crwdns2781:0crwdne2781:0`,\"common.sorting.descending\":`crwdns2783:0crwdne2783:0`,\"common.sorting.none\":`crwdns2785:0crwdne2785:0`,\"fieldTypes.count\":`crwdns2787:0crwdne2787:0`,\"fieldTypes.countDistinct\":`crwdns2789:0crwdne2789:0`,\"fieldTypes.countDistinctApprox\":`crwdns2791:0crwdne2791:0`,\"fieldTypes.sum\":`crwdns2793:0crwdne2793:0`,\"fieldTypes.avg\":`crwdns2795:0crwdne2795:0`,\"fieldTypes.min\":`crwdns2797:0crwdne2797:0`,\"fieldTypes.max\":`crwdns2799:0crwdne2799:0`,\"fieldTypes.runningTotal\":`crwdns2801:0crwdne2801:0`,\"fieldTypes.number\":`crwdns2803:0crwdne2803:0`,\"fieldTypes.string\":`crwdns2805:0crwdne2805:0`,\"fieldTypes.boolean\":`crwdns2807:0crwdne2807:0`,\"fieldTypes.time\":`crwdns2809:0crwdne2809:0`,\"fieldTypes.geo\":`crwdns2811:0crwdne2811:0`,\"fieldTypes.dimension\":`crwdns2813:0crwdne2813:0`,\"fieldPanel.emptyState\":`crwdns2815:0crwdne2815:0`,\"fieldPanel.usageHint\":`crwdns2817:0crwdne2817:0`,\"fieldPanel.labels.type\":`crwdns2819:0crwdne2819:0`,\"fieldPanel.labels.cube\":`crwdns2821:0crwdne2821:0`,\"fieldPanel.labels.category\":`crwdns2823:0crwdne2823:0`,\"fieldCategory.measure\":`crwdns2825:0crwdne2825:0`,\"fieldCategory.timeDimension\":`crwdns2827:0crwdne2827:0`,\"fieldCategory.dimension\":`crwdns2829:0crwdne2829:0`,\"fieldSearch.placeholder.metrics\":`crwdns2831:0crwdne2831:0`,\"fieldSearch.placeholder.filter\":`crwdns2833:0crwdne2833:0`,\"fieldSearch.placeholder.dimensions\":`crwdns2835:0crwdne2835:0`,\"fieldSearch.modal.title.metrics\":`crwdns2837:0crwdne2837:0`,\"fieldSearch.modal.title.filter\":`crwdns2839:0crwdne2839:0`,\"fieldSearch.modal.title.dimensions\":`crwdns2841:0crwdne2841:0`,\"fieldSearch.filter.allCubes\":`crwdns2843:0crwdne2843:0`,\"fieldSearch.categories.all\":`crwdns2845:0crwdne2845:0`,\"fieldSearch.empty.heading\":`crwdns2847:0crwdne2847:0`,\"fieldSearch.empty.noMatchMetrics\":`crwdns2849:0{searchTerm}crwdne2849:0`,\"fieldSearch.empty.noMatchDimensions\":`crwdns2851:0{searchTerm}crwdne2851:0`,\"fieldSearch.empty.noMetrics\":`crwdns2853:0crwdne2853:0`,\"fieldSearch.empty.noDimensions\":`crwdns2855:0crwdne2855:0`,\"fieldSearch.section.recents\":`crwdns2857:0crwdne2857:0`,\"fieldSearch.footer.metricsAvailable\":`crwdns2859:0crwdne2859:0`,\"fieldSearch.footer.fieldsAvailable\":`crwdns2861:0crwdne2861:0`,\"fieldSearch.footer.dimensionsAvailable\":`crwdns2863:0crwdne2863:0`,\"fieldSearch.shortcut.navigate\":`crwdns2865:0crwdne2865:0`,\"fieldSearch.shortcut.keyEnter\":`crwdns3991:0crwdne3991:0`,\"fieldSearch.shortcut.keyShift\":`crwdns3993:0crwdne3993:0`,\"fieldSearch.shortcut.keyEsc\":`crwdns3995:0crwdne3995:0`,\"fieldSearch.shortcut.plusClick\":`crwdns3997:0crwdne3997:0`,\"fieldSearch.shortcut.select\":`crwdns2867:0crwdne2867:0`,\"fieldSearch.shortcut.multiSelect\":`crwdns2869:0crwdne2869:0`,\"fieldSearch.shortcut.close\":`crwdns2871:0crwdne2871:0`,\"filter.group.condition\":`crwdns2873:0crwdne2873:0`,\"filter.group.conditions\":`crwdns2875:0crwdne2875:0`,\"filter.group.addFilter\":`crwdns2877:0crwdne2877:0`,\"filter.group.addAndGroup\":`crwdns2879:0crwdne2879:0`,\"filter.group.addOrGroup\":`crwdns2881:0crwdne2881:0`,\"filter.group.removeGroup\":`crwdns2883:0crwdne2883:0`,\"filter.group.empty\":`crwdns2885:0crwdne2885:0`,\"filter.group.addFilterLink\":`crwdns2887:0crwdne2887:0`,\"filter.modal.title\":`crwdns2889:0crwdne2889:0`,\"filter.modal.fieldLabel\":`crwdns2891:0crwdne2891:0`,\"filter.modal.operatorLabel\":`crwdns2893:0crwdne2893:0`,\"filter.modal.valueLabel\":`crwdns2895:0crwdne2895:0`,\"filter.modal.selectRange\":`crwdns2897:0crwdne2897:0`,\"filter.modal.noValueRequired\":`crwdns2899:0crwdne2899:0`,\"filter.modal.dateTo\":`crwdns2901:0crwdne2901:0`,\"filter.modal.min\":`crwdns2903:0crwdne2903:0`,\"filter.modal.to\":`crwdns2905:0crwdne2905:0`,\"filter.modal.max\":`crwdns2907:0crwdne2907:0`,\"filter.modal.enterNumber\":`crwdns2909:0crwdne2909:0`,\"filter.modal.loading\":`crwdns2911:0crwdne2911:0`,\"filter.modal.selectValue\":`crwdns2913:0crwdne2913:0`,\"filter.modal.search\":`crwdns2915:0crwdne2915:0`,\"filter.modal.errorPrefix\":`crwdns2917:0crwdne2917:0`,\"filter.modal.noValues\":`crwdns2919:0crwdne2919:0`,\"filter.modal.multiSelectHint\":`crwdns2921:0crwdne2921:0`,\"filter.modal.enterValue\":`crwdns2923:0crwdne2923:0`,\"filter.removeButton.title\":`crwdns2925:0crwdne2925:0`,\"filter.section.clearAll\":`crwdns2927:0crwdne2927:0`,\"filter.section.dropHint\":`crwdns2929:0crwdne2929:0`,\"filter.section.empty\":`crwdns2931:0crwdne2931:0`,\"filter.valueDisplay.empty\":`crwdns2933:0crwdne2933:0`,\"filter.valueDisplay.more\":`crwdns2935:0crwdne2935:0`,\"filter.operator.equals.label\":`crwdns2937:0crwdne2937:0`,\"filter.operator.equals.description\":`crwdns2939:0crwdne2939:0`,\"filter.operator.notEquals.label\":`crwdns2941:0crwdne2941:0`,\"filter.operator.notEquals.description\":`crwdns2943:0crwdne2943:0`,\"filter.operator.contains.label\":`crwdns2945:0crwdne2945:0`,\"filter.operator.contains.description\":`crwdns2947:0crwdne2947:0`,\"filter.operator.notContains.label\":`crwdns2949:0crwdne2949:0`,\"filter.operator.notContains.description\":`crwdns2951:0crwdne2951:0`,\"filter.operator.startsWith.label\":`crwdns2953:0crwdne2953:0`,\"filter.operator.startsWith.description\":`crwdns2955:0crwdne2955:0`,\"filter.operator.notStartsWith.label\":`crwdns2957:0crwdne2957:0`,\"filter.operator.notStartsWith.description\":`crwdns2959:0crwdne2959:0`,\"filter.operator.endsWith.label\":`crwdns2961:0crwdne2961:0`,\"filter.operator.endsWith.description\":`crwdns2963:0crwdne2963:0`,\"filter.operator.notEndsWith.label\":`crwdns2965:0crwdne2965:0`,\"filter.operator.notEndsWith.description\":`crwdns2967:0crwdne2967:0`,\"filter.operator.like.label\":`crwdns2969:0crwdne2969:0`,\"filter.operator.like.description\":`crwdns2971:0crwdne2971:0`,\"filter.operator.notLike.label\":`crwdns2973:0crwdne2973:0`,\"filter.operator.notLike.description\":`crwdns2975:0crwdne2975:0`,\"filter.operator.ilike.label\":`crwdns2977:0crwdne2977:0`,\"filter.operator.ilike.description\":`crwdns2979:0crwdne2979:0`,\"filter.operator.gt.label\":`crwdns2981:0crwdne2981:0`,\"filter.operator.gt.description\":`crwdns2983:0crwdne2983:0`,\"filter.operator.gte.label\":`crwdns2985:0crwdne2985:0`,\"filter.operator.gte.description\":`crwdns2987:0crwdne2987:0`,\"filter.operator.lt.label\":`crwdns2989:0crwdne2989:0`,\"filter.operator.lt.description\":`crwdns2991:0crwdne2991:0`,\"filter.operator.lte.label\":`crwdns2993:0crwdne2993:0`,\"filter.operator.lte.description\":`crwdns2995:0crwdne2995:0`,\"filter.operator.between.label\":`crwdns2997:0crwdne2997:0`,\"filter.operator.between.description\":`crwdns2999:0crwdne2999:0`,\"filter.operator.notBetween.label\":`crwdns3001:0crwdne3001:0`,\"filter.operator.notBetween.description\":`crwdns3003:0crwdne3003:0`,\"filter.operator.in.label\":`crwdns3005:0crwdne3005:0`,\"filter.operator.in.description\":`crwdns3007:0crwdne3007:0`,\"filter.operator.notIn.label\":`crwdns3009:0crwdne3009:0`,\"filter.operator.notIn.description\":`crwdns3011:0crwdne3011:0`,\"filter.operator.set.label\":`crwdns3013:0crwdne3013:0`,\"filter.operator.set.description\":`crwdns3015:0crwdne3015:0`,\"filter.operator.notSet.label\":`crwdns3017:0crwdne3017:0`,\"filter.operator.notSet.description\":`crwdns3019:0crwdne3019:0`,\"filter.operator.isEmpty.label\":`crwdns3021:0crwdne3021:0`,\"filter.operator.isEmpty.description\":`crwdns3023:0crwdne3023:0`,\"filter.operator.isNotEmpty.label\":`crwdns3025:0crwdne3025:0`,\"filter.operator.isNotEmpty.description\":`crwdns3027:0crwdne3027:0`,\"filter.operator.inDateRange.label\":`crwdns3029:0crwdne3029:0`,\"filter.operator.inDateRange.description\":`crwdns3031:0crwdne3031:0`,\"filter.operator.beforeDate.label\":`crwdns3033:0crwdne3033:0`,\"filter.operator.beforeDate.description\":`crwdns3035:0crwdne3035:0`,\"filter.operator.afterDate.label\":`crwdns3037:0crwdne3037:0`,\"filter.operator.afterDate.description\":`crwdns3039:0crwdne3039:0`,\"filter.operator.regex.label\":`crwdns3041:0crwdne3041:0`,\"filter.operator.regex.description\":`crwdns3043:0crwdne3043:0`,\"filter.operator.notRegex.label\":`crwdns3045:0crwdne3045:0`,\"filter.operator.notRegex.description\":`crwdns3047:0crwdne3047:0`,\"filter.operator.arrayContains.label\":`crwdns3049:0crwdne3049:0`,\"filter.operator.arrayContains.description\":`crwdns3051:0crwdne3051:0`,\"filter.operator.arrayOverlaps.label\":`crwdns3053:0crwdne3053:0`,\"filter.operator.arrayOverlaps.description\":`crwdns3055:0crwdne3055:0`,\"filter.operator.arrayContained.label\":`crwdns3057:0crwdne3057:0`,\"filter.operator.arrayContained.description\":`crwdns3059:0crwdne3059:0`,\"dateRange.custom\":`crwdns3061:0crwdne3061:0`,\"dateRange.today\":`crwdns3063:0crwdne3063:0`,\"dateRange.yesterday\":`crwdns3065:0crwdne3065:0`,\"dateRange.thisWeek\":`crwdns3067:0crwdne3067:0`,\"dateRange.thisMonth\":`crwdns3069:0crwdne3069:0`,\"dateRange.thisQuarter\":`crwdns3071:0crwdne3071:0`,\"dateRange.thisYear\":`crwdns3073:0crwdne3073:0`,\"dateRange.last7Days\":`crwdns3075:0crwdne3075:0`,\"dateRange.last30Days\":`crwdns3077:0crwdne3077:0`,\"dateRange.lastNDays\":`crwdns3079:0crwdne3079:0`,\"dateRange.lastWeek\":`crwdns3081:0crwdne3081:0`,\"dateRange.lastNWeeks\":`crwdns3083:0crwdne3083:0`,\"dateRange.lastMonth\":`crwdns3085:0crwdne3085:0`,\"dateRange.last12Months\":`crwdns3087:0crwdne3087:0`,\"dateRange.lastNMonths\":`crwdns3089:0crwdne3089:0`,\"dateRange.lastQuarter\":`crwdns3091:0crwdne3091:0`,\"dateRange.lastNQuarters\":`crwdns3093:0crwdne3093:0`,\"dateRange.lastYear\":`crwdns3095:0crwdne3095:0`,\"dateRange.lastNYears\":`crwdns3097:0crwdne3097:0`,\"timeGranularity.hour\":`crwdns3099:0crwdne3099:0`,\"timeGranularity.day\":`crwdns3101:0crwdne3101:0`,\"timeGranularity.week\":`crwdns3103:0crwdne3103:0`,\"timeGranularity.month\":`crwdns3105:0crwdne3105:0`,\"timeGranularity.quarter\":`crwdns3107:0crwdne3107:0`,\"timeGranularity.year\":`crwdns3109:0crwdne3109:0`,\"query.limit.label\":`crwdns3111:0crwdne3111:0`,\"query.limit.clear\":`crwdns3113:0crwdne3113:0`,\"chart.bar.label\":`crwdns3115:0crwdne3115:0`,\"chart.bar.description\":`crwdns3117:0crwdne3117:0`,\"chart.bar.useCase\":`crwdns3119:0crwdne3119:0`,\"chart.line.label\":`crwdns3121:0crwdne3121:0`,\"chart.line.description\":`crwdns3123:0crwdne3123:0`,\"chart.line.useCase\":`crwdns3125:0crwdne3125:0`,\"chart.area.label\":`crwdns3127:0crwdne3127:0`,\"chart.area.description\":`crwdns3129:0crwdne3129:0`,\"chart.area.useCase\":`crwdns3131:0crwdne3131:0`,\"chart.pie.label\":`crwdns3133:0crwdne3133:0`,\"chart.pie.description\":`crwdns3135:0crwdne3135:0`,\"chart.pie.useCase\":`crwdns3137:0crwdne3137:0`,\"chart.scatter.label\":`crwdns3139:0crwdne3139:0`,\"chart.scatter.description\":`crwdns3141:0crwdne3141:0`,\"chart.scatter.useCase\":`crwdns3143:0crwdne3143:0`,\"chart.bubble.label\":`crwdns3145:0crwdne3145:0`,\"chart.bubble.description\":`crwdns3147:0crwdne3147:0`,\"chart.bubble.useCase\":`crwdns3149:0crwdne3149:0`,\"chart.radar.label\":`crwdns3151:0crwdne3151:0`,\"chart.radar.description\":`crwdns3153:0crwdne3153:0`,\"chart.radar.useCase\":`crwdns3155:0crwdne3155:0`,\"chart.radialBar.label\":`crwdns3157:0crwdne3157:0`,\"chart.radialBar.description\":`crwdns3159:0crwdne3159:0`,\"chart.radialBar.useCase\":`crwdns3161:0crwdne3161:0`,\"chart.treemap.label\":`crwdns3163:0crwdne3163:0`,\"chart.treemap.description\":`crwdns3165:0crwdne3165:0`,\"chart.treemap.useCase\":`crwdns3167:0crwdne3167:0`,\"chart.table.label\":`crwdns3169:0crwdne3169:0`,\"chart.table.description\":`crwdns3171:0crwdne3171:0`,\"chart.table.useCase\":`crwdns3173:0crwdne3173:0`,\"chart.activityGrid.label\":`crwdns3175:0crwdne3175:0`,\"chart.activityGrid.description\":`crwdns3177:0crwdne3177:0`,\"chart.activityGrid.useCase\":`crwdns3179:0crwdne3179:0`,\"chart.kpiNumber.label\":`crwdns3181:0crwdne3181:0`,\"chart.kpiNumber.description\":`crwdns3183:0crwdne3183:0`,\"chart.kpiNumber.useCase\":`crwdns3185:0crwdne3185:0`,\"chart.kpiDelta.label\":`crwdns3187:0crwdne3187:0`,\"chart.kpiDelta.description\":`crwdns3189:0crwdne3189:0`,\"chart.kpiDelta.useCase\":`crwdns3191:0crwdne3191:0`,\"chart.kpiText.label\":`crwdns3193:0crwdne3193:0`,\"chart.kpiText.description\":`crwdns3195:0crwdne3195:0`,\"chart.kpiText.useCase\":`crwdns3197:0crwdne3197:0`,\"chart.markdown.label\":`crwdns3199:0crwdne3199:0`,\"chart.markdown.description\":`crwdns3201:0crwdne3201:0`,\"chart.markdown.useCase\":`crwdns3203:0crwdne3203:0`,\"chart.funnel.label\":`crwdns3205:0crwdne3205:0`,\"chart.funnel.description\":`crwdns3207:0crwdne3207:0`,\"chart.funnel.useCase\":`crwdns3209:0crwdne3209:0`,\"chart.sankey.label\":`crwdns3211:0crwdne3211:0`,\"chart.sankey.description\":`crwdns3213:0crwdne3213:0`,\"chart.sankey.useCase\":`crwdns3215:0crwdne3215:0`,\"chart.sunburst.label\":`crwdns3217:0crwdne3217:0`,\"chart.sunburst.description\":`crwdns3219:0crwdne3219:0`,\"chart.sunburst.useCase\":`crwdns3221:0crwdne3221:0`,\"chart.heatmap.label\":`crwdns3223:0crwdne3223:0`,\"chart.heatmap.description\":`crwdns3225:0crwdne3225:0`,\"chart.heatmap.useCase\":`crwdns3227:0crwdne3227:0`,\"chart.retentionHeatmap.label\":`crwdns3229:0crwdne3229:0`,\"chart.retentionHeatmap.description\":`crwdns3231:0crwdne3231:0`,\"chart.retentionHeatmap.useCase\":`crwdns3233:0crwdne3233:0`,\"chart.retentionCombined.label\":`crwdns3235:0crwdne3235:0`,\"chart.retentionCombined.description\":`crwdns3237:0crwdne3237:0`,\"chart.retentionCombined.useCase\":`crwdns3239:0crwdne3239:0`,\"chart.boxPlot.label\":`crwdns3241:0crwdne3241:0`,\"chart.boxPlot.description\":`crwdns3243:0crwdne3243:0`,\"chart.boxPlot.useCase\":`crwdns3245:0crwdne3245:0`,\"chart.waterfall.label\":`crwdns3247:0crwdne3247:0`,\"chart.waterfall.description\":`crwdns3249:0crwdne3249:0`,\"chart.waterfall.useCase\":`crwdns3251:0crwdne3251:0`,\"chart.candlestick.label\":`crwdns3253:0crwdne3253:0`,\"chart.candlestick.description\":`crwdns3255:0crwdne3255:0`,\"chart.candlestick.useCase\":`crwdns3257:0crwdne3257:0`,\"chart.measureProfile.label\":`crwdns3259:0crwdne3259:0`,\"chart.measureProfile.description\":`crwdns3261:0crwdne3261:0`,\"chart.measureProfile.useCase\":`crwdns3263:0crwdne3263:0`,\"chart.gauge.label\":`crwdns3265:0crwdne3265:0`,\"chart.gauge.description\":`crwdns3267:0crwdne3267:0`,\"chart.gauge.useCase\":`crwdns3269:0crwdne3269:0`,\"chart.config.chartType\":`crwdns3271:0crwdne3271:0`,\"chart.config.loading\":`crwdns3273:0crwdne3273:0`,\"chart.config.axisConfig\":`crwdns3275:0crwdne3275:0`,\"chart.config.unassigned\":`crwdns3277:0crwdne3277:0`,\"chart.config.unassignedHint\":`crwdns3279:0crwdne3279:0`,\"chart.config.noFields\":`crwdns3281:0crwdne3281:0`,\"chart.dropZone.xAxis.label\":`crwdns3283:0crwdne3283:0`,\"chart.dropZone.xAxis.description\":`crwdns3285:0crwdne3285:0`,\"chart.dropZone.xAxis.empty\":`crwdns3287:0crwdne3287:0`,\"chart.dropZone.yAxis.label\":`crwdns3289:0crwdne3289:0`,\"chart.dropZone.yAxis.description\":`crwdns3291:0crwdne3291:0`,\"chart.dropZone.yAxis.empty\":`crwdns3293:0crwdne3293:0`,\"chart.dropZone.series.label\":`crwdns3295:0crwdne3295:0`,\"chart.dropZone.series.description\":`crwdns3297:0crwdne3297:0`,\"chart.dropZone.series.empty\":`crwdns3299:0crwdne3299:0`,\"chart.option.stacking.label\":`crwdns3301:0crwdne3301:0`,\"chart.option.stacking.none\":`crwdns3303:0crwdne3303:0`,\"chart.option.stacking.stacked\":`crwdns3305:0crwdne3305:0`,\"chart.option.stacking.percent\":`crwdns3307:0crwdne3307:0`,\"chart.option.stacking.description\":`crwdns3309:0crwdne3309:0`,\"chart.option.target.label\":`crwdns3311:0crwdne3311:0`,\"chart.option.target.description\":`crwdns3313:0crwdne3313:0`,\"chart.option.connectNulls.label\":`crwdns3315:0crwdne3315:0`,\"chart.option.connectNulls.description\":`crwdns3317:0crwdne3317:0`,\"chart.option.showAllXLabels.label\":`Wys Alle X-etikette`,\"chart.option.showAllXLabels.description\":`Wys elke etiket op die X-as in plaas van oorvleuelende etikette outomaties te verberg`,\"chart.option.leftYAxisFormat.label\":`crwdns3319:0crwdne3319:0`,\"chart.option.leftYAxisFormat.description\":`crwdns3321:0crwdne3321:0`,\"chart.option.rightYAxisFormat.label\":`crwdns3323:0crwdne3323:0`,\"chart.option.rightYAxisFormat.description\":`crwdns3325:0crwdne3325:0`,\"chart.option.xAxisFormat.label\":`crwdns3327:0crwdne3327:0`,\"chart.option.xAxisFormat.description\":`crwdns3329:0crwdne3329:0`,\"chart.option.yAxisFormat.label\":`crwdns3331:0crwdne3331:0`,\"chart.option.yAxisFormat.description\":`crwdns3333:0crwdne3333:0`,\"chart.option.valueFormat.label\":`crwdns3335:0crwdne3335:0`,\"chart.option.valueFormat.description\":`crwdns3337:0crwdne3337:0`,\"chart.option.innerRadius.label\":`crwdns3339:0crwdne3339:0`,\"chart.option.innerRadius.description\":`crwdns3341:0crwdne3341:0`,\"chart.option.showLabels.label\":`crwdns3343:0crwdne3343:0`,\"chart.option.showLabels.description\":`crwdns3345:0crwdne3345:0`,\"chart.option.cellShape.label\":`crwdns3347:0crwdne3347:0`,\"chart.option.cellShape.rectangle\":`crwdns3349:0crwdne3349:0`,\"chart.option.cellShape.circle\":`crwdns3351:0crwdne3351:0`,\"chart.option.funnelStyle.label\":`crwdns3353:0crwdne3353:0`,\"chart.option.funnelStyle.bars\":`crwdns3355:0crwdne3355:0`,\"chart.option.funnelStyle.funnel\":`crwdns3357:0crwdne3357:0`,\"chart.option.funnelOrientation.label\":`crwdns3359:0crwdne3359:0`,\"chart.option.funnelOrientation.horizontal\":`crwdns3361:0crwdne3361:0`,\"chart.option.funnelOrientation.vertical\":`crwdns3363:0crwdne3363:0`,\"chart.option.hideSummaryFooter.label\":`crwdns3365:0crwdne3365:0`,\"chart.option.hideSummaryFooter.description\":`crwdns3367:0crwdne3367:0`,\"chart.option.showConversion.label\":`crwdns3369:0crwdne3369:0`,\"chart.option.showConversion.description\":`crwdns3371:0crwdne3371:0`,\"chart.option.showAvgTime.label\":`crwdns3373:0crwdne3373:0`,\"chart.option.showAvgTime.description\":`crwdns3375:0crwdne3375:0`,\"chart.option.showMedianTime.label\":`crwdns3377:0crwdne3377:0`,\"chart.option.showMedianTime.description\":`crwdns3379:0crwdne3379:0`,\"chart.option.showP90Time.label\":`crwdns3381:0crwdne3381:0`,\"chart.option.showP90Time.description\":`crwdns3383:0crwdne3383:0`,\"chart.option.linkOpacity.label\":`crwdns3385:0crwdne3385:0`,\"chart.option.linkOpacity.light\":`crwdns3387:0crwdne3387:0`,\"chart.option.linkOpacity.medium\":`crwdns3389:0crwdne3389:0`,\"chart.option.linkOpacity.dark\":`crwdns3391:0crwdne3391:0`,\"chart.option.showNodeLabels.label\":`crwdns3393:0crwdne3393:0`,\"chart.option.showNodeLabels.description\":`crwdns3395:0crwdne3395:0`,\"chart.option.prefix.label\":`crwdns3397:0crwdne3397:0`,\"chart.option.prefix.description\":`crwdns3399:0crwdne3399:0`,\"chart.option.suffix.label\":`crwdns3401:0crwdne3401:0`,\"chart.option.suffix.description\":`crwdns3403:0crwdne3403:0`,\"chart.option.decimals.label\":`crwdns3405:0crwdne3405:0`,\"chart.option.decimals.description\":`crwdns3407:0crwdne3407:0`,\"chart.option.showHistogram.label\":`crwdns3409:0crwdne3409:0`,\"chart.option.showHistogram.description\":`crwdns3411:0crwdne3411:0`,\"chart.option.useLastCompletePeriod.label\":`crwdns3413:0crwdne3413:0`,\"chart.option.useLastCompletePeriod.description\":`crwdns3415:0crwdne3415:0`,\"chart.option.skipLastPeriod.label\":`crwdns3417:0crwdne3417:0`,\"chart.option.skipLastPeriod.description\":`crwdns3419:0crwdne3419:0`,\"chart.option.retentionDisplayMode.label\":`crwdns3421:0crwdne3421:0`,\"chart.option.retentionDisplayMode.lineChart\":`crwdns3423:0crwdne3423:0`,\"chart.option.retentionDisplayMode.heatmapTable\":`crwdns3425:0crwdne3425:0`,\"chart.option.retentionDisplayMode.combined\":`crwdns3427:0crwdne3427:0`,\"chart.option.showLegend.label\":`crwdns3429:0crwdne3429:0`,\"chart.option.showLegend.description\":`crwdns3431:0crwdne3431:0`,\"chart.option.showGrid.label\":`crwdns3433:0crwdne3433:0`,\"chart.option.showGrid.description\":`crwdns3435:0crwdne3435:0`,\"chart.option.showTooltip.label\":`crwdns3437:0crwdne3437:0`,\"chart.option.showTooltip.description\":`crwdns3439:0crwdne3439:0`,\"chart.option.priorPeriodStyle.label\":`crwdns3441:0crwdne3441:0`,\"chart.option.priorPeriodStyle.dashed\":`crwdns3443:0crwdne3443:0`,\"chart.option.priorPeriodStyle.dotted\":`crwdns3445:0crwdne3445:0`,\"chart.option.priorPeriodStyle.solid\":`crwdns3447:0crwdne3447:0`,\"chart.option.priorPeriodStyle.description\":`crwdns3449:0crwdne3449:0`,\"chart.option.priorPeriodOpacity.label\":`crwdns3451:0crwdne3451:0`,\"chart.option.priorPeriodOpacity.description\":`crwdns3453:0crwdne3453:0`,\"chart.option.showTotal.label\":`crwdns3455:0crwdne3455:0`,\"chart.option.showTotal.description\":`crwdns3457:0crwdne3457:0`,\"chart.option.showConnectorLine.label\":`crwdns3459:0crwdne3459:0`,\"chart.option.showConnectorLine.description\":`crwdns3461:0crwdne3461:0`,\"chart.option.showDataLabels.label\":`crwdns3463:0crwdne3463:0`,\"chart.option.showDataLabels.description\":`crwdns3465:0crwdne3465:0`,\"chart.option.showReferenceLineAtZero.label\":`crwdns3467:0crwdne3467:0`,\"chart.option.showReferenceLineAtZero.description\":`crwdns3469:0crwdne3469:0`,\"chart.option.lineType.label\":`crwdns3471:0crwdne3471:0`,\"chart.option.lineType.smooth\":`crwdns3473:0crwdne3473:0`,\"chart.option.lineType.linear\":`crwdns3475:0crwdne3475:0`,\"chart.option.lineType.step\":`crwdns3477:0crwdne3477:0`,\"chart.option.lineType.description\":`crwdns3479:0crwdne3479:0`,\"chart.option.rangeMode.label\":`crwdns3481:0crwdne3481:0`,\"chart.option.rangeMode.ohlc\":`crwdns3483:0crwdne3483:0`,\"chart.option.rangeMode.range\":`crwdns3485:0crwdne3485:0`,\"chart.option.rangeMode.description\":`crwdns3487:0crwdne3487:0`,\"chart.option.bullColor.label\":`crwdns3489:0crwdne3489:0`,\"chart.option.bullColor.description\":`crwdns3491:0crwdne3491:0`,\"chart.option.bearColor.label\":`crwdns3493:0crwdne3493:0`,\"chart.option.bearColor.description\":`crwdns3495:0crwdne3495:0`,\"chart.option.showWicks.label\":`crwdns3497:0crwdne3497:0`,\"chart.option.showWicks.description\":`crwdns3499:0crwdne3499:0`,\"chart.option.minValue.label\":`crwdns3501:0crwdne3501:0`,\"chart.option.minValue.description\":`crwdns3503:0crwdne3503:0`,\"chart.option.maxValue.label\":`crwdns3505:0crwdne3505:0`,\"chart.option.maxValue.description\":`crwdns3507:0crwdne3507:0`,\"chart.option.showCentreLabel.label\":`crwdns3509:0crwdne3509:0`,\"chart.option.showCentreLabel.description\":`crwdns3511:0crwdne3511:0`,\"chart.option.showPercentage.label\":`crwdns3513:0crwdne3513:0`,\"chart.option.showPercentage.description\":`crwdns3515:0crwdne3515:0`,\"chart.option.fitToWidth.label\":`crwdns3517:0crwdne3517:0`,\"chart.option.fitToWidth.description\":`crwdns3519:0crwdne3519:0`,\"chart.option.fontSize.label\":`crwdns3521:0crwdne3521:0`,\"chart.option.fontSize.small\":`crwdns3523:0crwdne3523:0`,\"chart.option.fontSize.medium\":`crwdns3525:0crwdne3525:0`,\"chart.option.fontSize.large\":`crwdns3527:0crwdne3527:0`,\"chart.option.alignment.label\":`crwdns3529:0crwdne3529:0`,\"chart.option.alignment.left\":`crwdns3531:0crwdne3531:0`,\"chart.option.alignment.center\":`crwdns3533:0crwdne3533:0`,\"chart.option.alignment.right\":`crwdns3535:0crwdne3535:0`,\"chart.option.hideHeader.label\":`crwdns3537:0crwdne3537:0`,\"chart.option.hideHeader.description\":`crwdns3539:0crwdne3539:0`,\"chart.option.transparentBackground.label\":`crwdns3541:0crwdne3541:0`,\"chart.option.transparentBackground.description\":`crwdns3543:0crwdne3543:0`,\"chart.option.autoHeight.label\":`crwdns3545:0crwdne3545:0`,\"chart.option.autoHeight.description\":`crwdns3547:0crwdne3547:0`,\"chart.option.accentBorder.label\":`crwdns3549:0crwdne3549:0`,\"chart.option.accentBorder.none\":`crwdns3551:0crwdne3551:0`,\"chart.option.accentBorder.left\":`crwdns3553:0crwdne3553:0`,\"chart.option.accentBorder.top\":`crwdns3555:0crwdne3555:0`,\"chart.option.accentBorder.bottom\":`crwdns3557:0crwdne3557:0`,\"chart.option.accentBorder.description\":`crwdns3559:0crwdne3559:0`,\"chart.configText.20_percent\":`crwdns5247:0crwdne5247:0`,\"chart.configText.40_percent\":`crwdns5249:0crwdne5249:0`,\"chart.configText.60_percent\":`crwdns5251:0crwdne5251:0`,\"chart.configText.80_percent\":`crwdns5253:0crwdne5253:0`,\"chart.configText.accent_color\":`crwdns5255:0crwdne5255:0`,\"chart.configText.activity_measure\":`crwdns5257:0crwdne5257:0`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`crwdns5259:0crwdne5259:0`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`crwdns5261:0crwdne5261:0`,\"chart.configText.all_fields_to_display_as_columns\":`crwdns5263:0crwdne5263:0`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`crwdns5265:0crwdne5265:0`,\"chart.configText.axes_categories\":`crwdns5267:0crwdne5267:0`,\"chart.configText.bubble_colour\":`crwdns5269:0crwdne5269:0`,\"chart.configText.bubble_labels\":`crwdns5271:0crwdne5271:0`,\"chart.configText.bubble_radius\":`crwdns5273:0crwdne5273:0`,\"chart.configText.categories\":`crwdns5275:0crwdne5275:0`,\"chart.configText.choose_how_to_visualize_retention_data\":`crwdns5277:0crwdne5277:0`,\"chart.configText.color_bubbles_by_this_field_optional\":`crwdns5279:0crwdne5279:0`,\"chart.configText.color_for_negative_changes_decreases\":`crwdns5281:0crwdne5281:0`,\"chart.configText.color_for_positive_changes_increases\":`crwdns5283:0crwdne5283:0`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`crwdns5285:0crwdne5285:0`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`crwdns5287:0crwdne5287:0`,\"chart.configText.color_groups\":`crwdns5289:0crwdne5289:0`,\"chart.configText.columns\":`crwdns5291:0crwdne5291:0`,\"chart.configText.columns_x_axis\":`crwdns5293:0crwdne5293:0`,\"chart.configText.count_at_each_step_auto_calculated\":`crwdns5295:0crwdne5295:0`,\"chart.configText.count_of_entities_following_each_path\":`crwdns5297:0crwdne5297:0`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`crwdns5299:0crwdne5299:0`,\"chart.configText.dimension_for_column_categories\":`crwdns5301:0crwdne5301:0`,\"chart.configText.dimension_for_ordering_data_typically_time\":`crwdns5303:0crwdne5303:0`,\"chart.configText.dimension_for_pie_slices\":`crwdns5305:0crwdne5305:0`,\"chart.configText.dimension_for_row_categories\":`crwdns5307:0crwdne5307:0`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`crwdns5309:0crwdne5309:0`,\"chart.configText.dimension_optional\":`crwdns5311:0crwdne5311:0`,\"chart.configText.dimension_to_color_points_by_category\":`crwdns5313:0crwdne5313:0`,\"chart.configText.dimension_to_color_rectangles_by_category\":`crwdns5315:0crwdne5315:0`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`crwdns5317:0crwdne5317:0`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`crwdns5319:0crwdne5319:0`,\"chart.configText.dimensions_for_radar_axes\":`crwdns5321:0crwdne5321:0`,\"chart.configText.dimensions_for_radial_segments\":`crwdns5323:0crwdne5323:0`,\"chart.configText.dimensions_for_treemap_rectangles\":`crwdns5325:0crwdne5325:0`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`crwdns5327:0crwdne5327:0`,\"chart.configText.dimensions_to_create_separate_lines\":`crwdns5329:0crwdne5329:0`,\"chart.configText.dimensions_to_create_stacked_areas\":`crwdns5331:0crwdne5331:0`,\"chart.configText.display_the_value_above_each_bar_segment\":`crwdns5333:0crwdne5333:0`,\"chart.configText.display_value_at_each_data_point\":`crwdns5335:0crwdne5335:0`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`crwdns5337:0crwdne5337:0`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`crwdns5339:0crwdne5339:0`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`crwdns5341:0urlcrwdne5341:0`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`crwdns5343:0crwdne5343:0`,\"chart.configText.event_type\":`crwdns5345:0crwdne5345:0`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`crwdns5347:0crwdne5347:0`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`crwdns5349:0crwdne5349:0`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`crwdns5351:0crwdne5351:0`,\"chart.configText.flow_count\":`crwdns5353:0crwdne5353:0`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`crwdns5355:0crwdne5355:0`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`crwdns5357:0crwdne5357:0`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`crwdns5359:0crwdne5359:0`,\"chart.configText.horizontal_axis_position\":`crwdns5361:0crwdne5361:0`,\"chart.configText.how_to_stack_multiple_area_series\":`crwdns5363:0crwdne5363:0`,\"chart.configText.how_to_stack_multiple_bar_series\":`crwdns5365:0crwdne5365:0`,\"chart.configText.markdown_content\":`crwdns5367:0crwdne5367:0`,\"chart.configText.measure_for_rectangle_sizes\":`crwdns5369:0crwdne5369:0`,\"chart.configText.measure_for_slice_sizes\":`crwdns5371:0crwdne5371:0`,\"chart.configText.measure_for_y_position\":`crwdns5373:0crwdne5373:0`,\"chart.configText.measure_or_dimension_for_x_position\":`crwdns5375:0crwdne5375:0`,\"chart.configText.measure_that_determines_cell_color\":`crwdns5377:0crwdne5377:0`,\"chart.configText.measure_to_display_as_kpi_number\":`crwdns5379:0crwdne5379:0`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`crwdns5381:0crwdne5381:0`,\"chart.configText.measure_to_track_changes_for\":`crwdns5383:0crwdne5383:0`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`crwdns5385:0crwdne5385:0`,\"chart.configText.measures_for_area_values\":`crwdns5387:0crwdne5387:0`,\"chart.configText.measures_for_bar_heights\":`crwdns5389:0crwdne5389:0`,\"chart.configText.measures_for_line_values\":`crwdns5391:0crwdne5391:0`,\"chart.configText.measures_for_radar_values\":`crwdns5393:0crwdne5393:0`,\"chart.configText.measures_for_radial_bar_lengths\":`crwdns5395:0crwdne5395:0`,\"chart.configText.measures_x_axis_order\":`crwdns5397:0crwdne5397:0`,\"chart.configText.negative_change_color\":`crwdns5399:0crwdne5399:0`,\"chart.configText.none_pie\":`crwdns5401:0crwdne5401:0`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`crwdns5403:0crwdne5403:0`,\"chart.configText.number_formatting_for_numeric_values\":`crwdns5405:0crwdne5405:0`,\"chart.configText.number_formatting_for_size_values\":`crwdns5407:0crwdne5407:0`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`crwdns5409:0crwdne5409:0`,\"chart.configText.number_formatting_for_the_price_axis\":`crwdns5411:0crwdne5411:0`,\"chart.configText.number_formatting_for_the_value_axis\":`crwdns5413:0crwdne5413:0`,\"chart.configText.number_formatting_for_the_y_axis\":`crwdns5415:0crwdne5415:0`,\"chart.configText.number_formatting_for_x_axis_labels\":`crwdns5417:0crwdne5417:0`,\"chart.configText.number_formatting_for_y_axis_and_values\":`crwdns5419:0crwdne5419:0`,\"chart.configText.number_formatting_for_y_axis_labels\":`crwdns5421:0crwdne5421:0`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`crwdns5423:0crwdne5423:0`,\"chart.configText.ohlc_measures_open_close_high_low\":`crwdns5425:0crwdne5425:0`,\"chart.configText.opacity_of_flow_links\":`crwdns5427:0crwdne5427:0`,\"chart.configText.overall_text_size_for_the_markdown_content\":`crwdns5429:0crwdne5429:0`,\"chart.configText.positive_change_color\":`crwdns5431:0crwdne5431:0`,\"chart.configText.rows_y_axis\":`crwdns5433:0crwdne5433:0`,\"chart.configText.series_color_groups\":`crwdns5435:0crwdne5435:0`,\"chart.configText.series_multiple_lines\":`crwdns5437:0crwdne5437:0`,\"chart.configText.series_multiple_shapes\":`crwdns5439:0crwdne5439:0`,\"chart.configText.series_split_into_multiple_lines\":`crwdns5441:0crwdne5441:0`,\"chart.configText.series_stack_areas\":`crwdns5443:0crwdne5443:0`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`crwdns5445:0crwdne5445:0`,\"chart.configText.show_the_color_intensity_legend\":`crwdns5447:0crwdne5447:0`,\"chart.configText.show_the_legend_for_breakdown_segments\":`crwdns5449:0crwdne5449:0`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`crwdns5451:0crwdne5451:0`,\"chart.configText.size\":`crwdns5453:0crwdne5453:0`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`crwdns5455:0crwdne5455:0`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`crwdns5457:0crwdne5457:0`,\"chart.configText.step_count\":`crwdns5459:0crwdne5459:0`,\"chart.configText.step_name\":`crwdns5461:0crwdne5461:0`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`crwdns5463:0crwdne5463:0`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`crwdns5465:0crwdne5465:0`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"crwdns5467:0${value}crwdne5467:0\",\"chart.configText.text_template\":`crwdns5469:0crwdne5469:0`,\"chart.configText.threshold_bands\":`crwdns5471:0crwdne5471:0`,\"chart.configText.time_dimension\":`crwdns5473:0crwdne5473:0`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`crwdns5475:0crwdne5475:0`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`crwdns5477:0crwdne5477:0`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`crwdns5479:0crwdne5479:0`,\"chart.configText.value\":`crwdns5481:0crwdne5481:0`,\"chart.configText.value_color\":`crwdns5483:0crwdne5483:0`,\"chart.configText.value_color_intensity\":`crwdns5485:0crwdne5485:0`,\"chart.configText.value_measure\":`crwdns5487:0crwdne5487:0`,\"chart.configText.values\":`crwdns5489:0crwdne5489:0`,\"chart.configText.vertical_axis_position\":`crwdns5491:0crwdne5491:0`,\"chart.configText.visualization_style\":`crwdns5493:0crwdne5493:0`,\"chart.configText.x_axis_groups\":`crwdns5495:0crwdne5495:0`,\"chart.configText.x_axis_time_categories\":`crwdns5497:0crwdne5497:0`,\"chart.configText.x_axis_time_category\":`crwdns5499:0crwdne5499:0`,\"chart.configText.y_axis\":`crwdns5501:0crwdne5501:0`,\"chart.configText.y_axis_measures\":`crwdns5503:0crwdne5503:0`,\"chart.configText.y_axis_value\":`crwdns5505:0crwdne5505:0`,\"display.loading\":`crwdns3561:0crwdne3561:0`,\"display.noOptions\":`crwdns3563:0crwdne3563:0`,\"display.heading\":`crwdns3565:0crwdne3565:0`,\"results.loading.title\":`crwdns3567:0crwdne3567:0`,\"results.loading.subtitle\":`crwdns3569:0crwdne3569:0`,\"results.error.title\":`crwdns3571:0crwdne3571:0`,\"results.error.subtitle\":`crwdns3573:0crwdne3573:0`,\"results.waiting.title\":`crwdns3575:0crwdne3575:0`,\"results.waiting.subtitle\":`crwdns3577:0crwdne3577:0`,\"results.needsRefresh.title\":`crwdns3579:0crwdne3579:0`,\"results.needsRefresh.subtitle\":`crwdns3581:0crwdne3581:0`,\"results.needsRefresh.runButton\":`crwdns3583:0crwdne3583:0`,\"results.empty.query\":`crwdns3585:0crwdne3585:0`,\"results.empty.retention\":`crwdns3587:0crwdne3587:0`,\"results.empty.funnel\":`crwdns3589:0crwdne3589:0`,\"results.empty.flow\":`crwdns3591:0crwdne3591:0`,\"results.empty.title\":`crwdns3593:0crwdne3593:0`,\"results.ai.button\":`crwdns3595:0crwdne3595:0`,\"results.noData.title\":`crwdns3597:0crwdne3597:0`,\"results.noData.subtitle\":`crwdns3599:0crwdne3599:0`,\"results.chart.noData\":`crwdns3601:0crwdne3601:0`,\"results.chart.noDataHint\":`crwdns3603:0crwdne3603:0`,\"results.chart.unsupported\":`crwdns3605:0crwdne3605:0`,\"results.refreshing\":`crwdns3607:0crwdne3607:0`,\"results.header.rows\":`crwdns3609:0crwdne3609:0`,\"results.header.row\":`crwdns3611:0crwdne3611:0`,\"results.header.stale\":`crwdns3613:0crwdne3613:0`,\"results.header.failed\":`crwdns3615:0crwdne3615:0`,\"results.header.executing\":`crwdns3617:0crwdne3617:0`,\"results.header.noResults\":`crwdns3619:0crwdne3619:0`,\"results.view.chart\":`crwdns3621:0crwdne3621:0`,\"results.view.merged\":`crwdns3623:0crwdne3623:0`,\"results.warning.largeDataset\":`crwdns3625:0crwdne3625:0`,\"results.warning.configChanged\":`crwdns3627:0crwdne3627:0`,\"results.warning.refreshNow\":`crwdns3629:0crwdne3629:0`,\"results.share.copied\":`crwdns3631:0crwdne3631:0`,\"results.share.noChart\":`crwdns3633:0crwdne3633:0`,\"server.errors.dbNotConfigured\":`crwdns3635:0crwdne3635:0`,\"server.errors.cubeNotFound\":`crwdns3637:0{cubeName}crwdne3637:0`,\"server.errors.noCubesInQuery\":`crwdns3639:0crwdne3639:0`,\"server.errors.dbAdapterRequired\":`crwdns3641:0crwdne3641:0`,\"server.errors.rlsRequiresTransactions\":`crwdns3643:0crwdne3643:0`,\"server.errors.queryExecutionFailed\":`crwdns3645:0{message}crwdne3645:0`,\"server.errors.queryExecutionUnknown\":`crwdns3647:0crwdne3647:0`,\"server.errors.noCompareDateRange\":`crwdns3649:0crwdne3649:0`,\"server.errors.compareDateRangeInvalid\":`crwdns3651:0crwdne3651:0`,\"server.errors.funnelValidationFailed\":`crwdns3653:0{errors}crwdne3653:0`,\"server.errors.flowValidationFailed\":`crwdns3655:0{errors}crwdne3655:0`,\"server.errors.retentionValidationFailed\":`crwdns3657:0{errors}crwdne3657:0`,\"server.errors.cubeRefUnresolved\":`crwdns3659:0{cubeName}crwdnd3659:0{joinName}crwdnd3659:0{targetCube}crwdne3659:0`,\"server.errors.unresolvedCubeRefs\":`crwdns3661:0{details}crwdne3661:0`,\"server.errors.calculatedMeasureValidation\":`crwdns3663:0{cubeName}crwdnd3663:0{details}crwdne3663:0`,\"server.errors.queryValidationFailed\":`crwdns3665:0{errors}crwdne3665:0`,\"server.errors.queryContainsMultipleModes\":`crwdns3667:0{modes}crwdne3667:0`,\"server.errors.primaryCubeNotFound\":`crwdns3669:0{cubeName}crwdne3669:0`,\"server.errors.noJoinPath\":`crwdns3671:0{fromCube}crwdnd3671:0{toCube}crwdne3671:0`,\"server.errors.cubeNotFoundForMeasure\":`crwdns3673:0{cubeName}crwdnd3673:0{measure}crwdne3673:0`,\"server.errors.cubeNotFoundForDimension\":`crwdns3675:0{cubeName}crwdnd3675:0{dimension}crwdne3675:0`,\"server.errors.cubeNotFoundForTimeDimension\":`crwdns3677:0{cubeName}crwdnd3677:0{timeDimension}crwdne3677:0`,\"server.errors.invalidFunnelConfig\":`crwdns3679:0crwdne3679:0`,\"server.errors.invalidFlowConfig\":`crwdns3681:0crwdne3681:0`,\"server.errors.invalidRetentionConfig\":`crwdns3683:0crwdne3683:0`,\"server.errors.llmInitFailed\":`crwdns3685:0crwdne3685:0`,\"server.validation.ai.bindingKeyRequired.flow\":`crwdns3687:0crwdne3687:0`,\"server.validation.ai.bindingKeyRequired.funnel\":`crwdns3689:0crwdne3689:0`,\"server.validation.ai.bindingKeyRequired.retention\":`crwdns3691:0crwdne3691:0`,\"server.validation.ai.cubeNotFoundInFilter\":`crwdns3693:0{cubeName}crwdne3693:0`,\"server.validation.ai.cubeNotFoundWithAvailable\":`crwdns3695:0{cubeName}crwdne3695:0`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`crwdns3697:0{cubeName}crwdne3697:0`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`crwdns3699:0{dimensionName}crwdnd3699:0{cubeName}crwdne3699:0`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`crwdns3701:0{dimensionName}crwdnd3701:0{cubeName}crwdne3701:0`,\"server.validation.ai.dimensionNotTimeType\":`crwdns3703:0{dimension}crwdnd3703:0{type}crwdne3703:0`,\"server.validation.ai.emptyQuery\":`crwdns3705:0crwdne3705:0`,\"server.validation.ai.eventDimensionRequired\":`crwdns3707:0crwdne3707:0`,\"server.validation.ai.filterFieldNotFound\":`crwdns3709:0{fieldName}crwdnd3709:0{cubeName}crwdne3709:0`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`crwdns3711:0{fieldName}crwdnd3711:0{cubeName}crwdne3711:0`,\"server.validation.ai.funnelRequiresSteps\":`crwdns3713:0crwdne3713:0`,\"server.validation.ai.funnelStepsRequired\":`crwdns3715:0crwdne3715:0`,\"server.validation.ai.granularityNotSpecified\":`crwdns3717:0crwdne3717:0`,\"server.validation.ai.invalidDimensionFormat\":`crwdns3719:0{dimension}crwdne3719:0`,\"server.validation.ai.invalidFilterMemberFormat\":`crwdns3721:0{member}crwdne3721:0`,\"server.validation.ai.invalidMeasureFormat\":`crwdns3723:0{measure}crwdne3723:0`,\"server.validation.ai.measureNotFoundWithAvailable\":`crwdns3725:0{measureName}crwdnd3725:0{cubeName}crwdne3725:0`,\"server.validation.ai.measureNotFoundWithSuggestion\":`crwdns3727:0{measureName}crwdnd3727:0{cubeName}crwdne3727:0`,\"server.validation.ai.performanceManyDimensions\":`crwdns3729:0{count}crwdne3729:0`,\"server.validation.ai.performanceManyMeasures\":`crwdns3731:0{count}crwdne3731:0`,\"server.validation.ai.periodsNotSpecified\":`crwdns3733:0crwdne3733:0`,\"server.validation.ai.retentionTimeDimensionRequired\":`crwdns3735:0crwdne3735:0`,\"server.validation.ai.stepMissingName\":`crwdns3737:0{step}crwdne3737:0`,\"server.validation.ai.stepsBothMissing\":`crwdns3739:0crwdne3739:0`,\"server.validation.ai.suggestAddDimensionFilters\":`crwdns3741:0crwdne3741:0`,\"server.validation.ai.suggestAddStepNames\":`crwdns3743:0crwdne3743:0`,\"server.validation.ai.suggestSetSteps\":`crwdns3745:0crwdne3745:0`,\"server.validation.ai.suggestSpecifyGranularity\":`crwdns3747:0crwdne3747:0`,\"server.validation.ai.suggestSpecifyPeriods\":`crwdns3749:0crwdne3749:0`,\"server.validation.ai.suggestSplitQueries\":`crwdns3751:0crwdne3751:0`,\"server.validation.ai.suggestUseTimeDimension\":`crwdns3753:0crwdne3753:0`,\"server.validation.ai.timeDimensionRequired.flow\":`crwdns3755:0crwdne3755:0`,\"server.validation.ai.timeDimensionRequired.funnel\":`crwdns3757:0crwdne3757:0`,\"server.validation.chart.barNeedsDimension\":`crwdns3759:0crwdne3759:0`,\"server.validation.chart.barXAxisRequired\":`crwdns3761:0crwdne3761:0`,\"server.validation.chart.dropZoneRequired\":`crwdns3763:0{key}crwdnd3763:0{chartType}crwdnd3763:0{label}crwdnd3763:0{acceptDesc}crwdne3763:0`,\"server.validation.chart.seriesDuplicatesXAxis\":`crwdns3765:0{duplicates}crwdne3765:0`,\"server.validation.flow.bindingKeyCubeNotFound\":`crwdns3767:0{cubeName}crwdne3767:0`,\"server.validation.flow.bindingKeyDimNotFound\":`crwdns3769:0{dimName}crwdnd3769:0{cubeName}crwdne3769:0`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`crwdns3771:0{cubeName}crwdne3771:0`,\"server.validation.flow.eventDimCubeNotFound\":`crwdns3773:0{cubeName}crwdne3773:0`,\"server.validation.flow.eventDimNotFound\":`crwdns3775:0{dimName}crwdnd3775:0{cubeName}crwdne3775:0`,\"server.validation.flow.eventDimRequired\":`crwdns3777:0crwdne3777:0`,\"server.validation.flow.highStepDepthWarning\":`crwdns3779:0crwdne3779:0`,\"server.validation.flow.invalidBindingKeyFormat\":`crwdns3781:0{bindingKey}crwdne3781:0`,\"server.validation.flow.invalidEventDimFormat\":`crwdns3783:0{eventDimension}crwdne3783:0`,\"server.validation.flow.invalidJoinStrategy\":`crwdns3785:0{joinStrategy}crwdne3785:0`,\"server.validation.flow.invalidTimeDimFormat\":`crwdns3787:0{timeDimension}crwdne3787:0`,\"server.validation.flow.lateralNotSupported\":`crwdns3789:0crwdne3789:0`,\"server.validation.flow.lateralNotSupportedExec\":`crwdns3791:0crwdne3791:0`,\"server.validation.flow.sqliteNotSupported\":`crwdns3793:0crwdne3793:0`,\"server.validation.flow.startingStepFilterRequired\":`crwdns3795:0crwdne3795:0`,\"server.validation.flow.startingStepNameMissing\":`crwdns3797:0crwdne3797:0`,\"server.validation.flow.startingStepRequired\":`crwdns3799:0crwdne3799:0`,\"server.validation.flow.stepsBeforeRange\":`crwdns3801:0{value}crwdne3801:0`,\"server.validation.flow.stepsAfterRange\":`crwdns3803:0{value}crwdne3803:0`,\"server.validation.flow.timeDimCubeNotFound\":`crwdns3805:0{cubeName}crwdne3805:0`,\"server.validation.flow.timeDimNotFound\":`crwdns3807:0{dimName}crwdnd3807:0{cubeName}crwdne3807:0`,\"server.validation.funnel.bindingKeyCubeNotFound\":`crwdns3809:0{cubeName}crwdne3809:0`,\"server.validation.funnel.bindingKeyDimNotFound\":`crwdns3811:0{dimName}crwdnd3811:0{cubeName}crwdne3811:0`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`crwdns3813:0{cubeName}crwdne3813:0`,\"server.validation.funnel.invalidBindingKeyFormat\":`crwdns3815:0{bindingKey}crwdne3815:0`,\"server.validation.funnel.invalidTimeDimFormat\":`crwdns3817:0{timeDimension}crwdne3817:0`,\"server.validation.funnel.minSteps\":`crwdns3819:0crwdne3819:0`,\"server.validation.funnel.stepCubeNotFound\":`crwdns3821:0{step}crwdnd3821:0{cube}crwdne3821:0`,\"server.validation.funnel.stepFilterCubeNotFound\":`crwdns3823:0{step}crwdnd3823:0{cubeName}crwdne3823:0`,\"server.validation.funnel.stepFilterIsMeasure\":`crwdns3825:0{step}crwdnd3825:0{member}crwdne3825:0`,\"server.validation.funnel.stepFilterMemberNotFound\":`crwdns3827:0{step}crwdnd3827:0{field}crwdnd3827:0{cubeName}crwdne3827:0`,\"server.validation.funnel.stepFilterNoJoinPath\":`crwdns3829:0{step}crwdnd3829:0{member}crwdnd3829:0{stepCube}crwdne3829:0`,\"server.validation.funnel.stepMustHaveName\":`crwdns3831:0{step}crwdne3831:0`,\"server.validation.funnel.stepTimeToConvertFormat\":`crwdns3833:0{step}crwdnd3833:0{value}crwdne3833:0`,\"server.validation.funnel.timeDimCubeNotFound\":`crwdns3835:0{cubeName}crwdne3835:0`,\"server.validation.funnel.timeDimNotFound\":`crwdns3837:0{dimName}crwdnd3837:0{cubeName}crwdne3837:0`,\"server.validation.retention.bindingKeyCubeNotFound\":`crwdns3839:0{cubeName}crwdne3839:0`,\"server.validation.retention.bindingKeyDimNotFound\":`crwdns3841:0{dimName}crwdnd3841:0{cubeName}crwdne3841:0`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`crwdns3843:0{cubeName}crwdne3843:0`,\"server.validation.retention.breakdownDimCubeNotFound\":`crwdns3845:0{cubeName}crwdne3845:0`,\"server.validation.retention.breakdownDimNotFound\":`crwdns3847:0{dimName}crwdnd3847:0{cubeName}crwdne3847:0`,\"server.validation.retention.cubeNotFound\":`crwdns3849:0{cubeName}crwdne3849:0`,\"server.validation.retention.dateRangeEndRequired\":`crwdns3851:0crwdne3851:0`,\"server.validation.retention.dateRangeInvalidEnd\":`crwdns3853:0crwdne3853:0`,\"server.validation.retention.dateRangeInvalidStart\":`crwdns3855:0crwdne3855:0`,\"server.validation.retention.dateRangeRequired\":`crwdns3857:0crwdne3857:0`,\"server.validation.retention.dateRangeStartBeforeEnd\":`crwdns3859:0crwdne3859:0`,\"server.validation.retention.dateRangeStartRequired\":`crwdns3861:0crwdne3861:0`,\"server.validation.retention.invalidBindingKeyFormat\":`crwdns3863:0{bindingKey}crwdne3863:0`,\"server.validation.retention.invalidBreakdownDimFormat\":`crwdns3865:0{dimension}crwdne3865:0`,\"server.validation.retention.invalidGranularity\":`crwdns3867:0{granularity}crwdne3867:0`,\"server.validation.retention.invalidRetentionType\":`crwdns3869:0{retentionType}crwdne3869:0`,\"server.validation.retention.invalidTimeDimFormat\":`crwdns3871:0{timeDimension}crwdne3871:0`,\"server.validation.retention.noBindingKeyMapping\":`crwdns3873:0{cubeName}crwdne3873:0`,\"server.validation.retention.periodsMax\":`crwdns3875:0crwdne3875:0`,\"server.validation.retention.periodsMin\":`crwdns3877:0crwdne3877:0`,\"server.validation.retention.timeDimNotFound\":`crwdns3879:0{dimName}crwdne3879:0`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`crwdns3881:0{cubeName}crwdnd3881:0{fieldName}crwdne3881:0`,\"server.validation.calculatedMeasure.invalidSyntax\":`crwdns3883:0{cubeName}crwdnd3883:0{fieldName}crwdnd3883:0{errors}crwdne3883:0`,\"server.validation.calculatedMeasure.circularDependency\":`crwdns3885:0{cycle}crwdne3885:0`,\"server.validation.query.multipleQueryModes\":`crwdns3887:0{modes}crwdne3887:0`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`crwdns3889:0{cubeName}crwdne3889:0`,\"server.validation.query.flowBindingKeyCubeNotFound\":`crwdns3891:0{cubeName}crwdne3891:0`,\"server.validation.query.retentionCubeNotFound\":`crwdns3893:0{cubeName}crwdne3893:0`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`crwdns3895:0{cubeName}crwdne3895:0`,\"server.validation.query.retentionBreakdownCubeNotFound\":`crwdns3897:0{cubeName}crwdne3897:0`,\"server.validation.query.invalidMeasureFormat\":`crwdns3899:0{measure}crwdne3899:0`,\"server.validation.query.cubeNotFoundForMeasure\":`crwdns3901:0{cubeName}crwdnd3901:0{measure}crwdne3901:0`,\"server.validation.query.measureNotFound\":`crwdns3903:0{fieldName}crwdnd3903:0{cubeName}crwdnd3903:0{hint}crwdne3903:0`,\"server.validation.query.invalidDimensionFormat\":`crwdns3905:0{dimension}crwdne3905:0`,\"server.validation.query.cubeNotFoundForDimension\":`crwdns3907:0{cubeName}crwdnd3907:0{dimension}crwdne3907:0`,\"server.validation.query.dimensionNotFound\":`crwdns3909:0{fieldName}crwdnd3909:0{cubeName}crwdnd3909:0{hint}crwdne3909:0`,\"server.validation.query.invalidTimeDimensionFormat\":`crwdns3911:0{dimension}crwdne3911:0`,\"server.validation.query.cubeNotFoundForTimeDimension\":`crwdns3913:0{cubeName}crwdnd3913:0{dimension}crwdne3913:0`,\"server.validation.query.timeDimensionNotFound\":`crwdns3915:0{fieldName}crwdnd3915:0{cubeName}crwdne3915:0`,\"server.validation.query.mustReferenceAtLeastOneCube\":`crwdns3917:0crwdne3917:0`,\"server.validation.query.ungroupedRequiresDimension\":`crwdns3919:0crwdne3919:0`,\"server.validation.query.ungroupedIncompatibleFunnel\":`crwdns3921:0crwdne3921:0`,\"server.validation.query.ungroupedIncompatibleFlow\":`crwdns3923:0crwdne3923:0`,\"server.validation.query.ungroupedIncompatibleRetention\":`crwdns3925:0crwdne3925:0`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`crwdns3927:0crwdne3927:0`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`crwdns3929:0crwdne3929:0`,\"server.validation.query.filterMustHaveMember\":`crwdns3931:0crwdne3931:0`,\"server.validation.query.invalidFilterMemberFormat\":`crwdns3933:0{member}crwdne3933:0`,\"server.validation.query.cubeNotFoundForFilter\":`crwdns3935:0{cubeName}crwdnd3935:0{member}crwdne3935:0`,\"server.validation.query.filterFieldNotFound\":`crwdns3937:0{fieldName}crwdnd3937:0{cubeName}crwdnd3937:0{hint}crwdne3937:0`,\"server.errors.funnel.cubeNotFoundForStep\":`crwdns3939:0{cube}crwdne3939:0`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`crwdns3941:0{bindingKey}crwdne3941:0`,\"server.errors.funnel.cannotResolveCubeForStep\":`crwdns3943:0crwdne3943:0`,\"server.errors.funnel.bindingKeyDimNotFound\":`crwdns3945:0{bindingKey}crwdne3945:0`,\"server.errors.funnel.noBindingKeyMapping\":`crwdns3947:0{cubeName}crwdne3947:0`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`crwdns3949:0{dimension}crwdne3949:0`,\"server.errors.funnel.timeDimNotFound\":`crwdns3951:0{timeDimension}crwdne3951:0`,\"server.errors.funnel.noTimeDimMapping\":`crwdns3953:0{cubeName}crwdne3953:0`,\"server.errors.funnel.timeDimMappingNotFound\":`crwdns3955:0{dimension}crwdne3955:0`,\"server.errors.flow.cannotResolveCube\":`crwdns3957:0crwdne3957:0`,\"server.errors.flow.cubeNotFound\":`crwdns3959:0{cubeName}crwdne3959:0`,\"server.errors.flow.bindingKeyDimNotFound\":`crwdns3961:0{bindingKey}crwdne3961:0`,\"server.errors.flow.noBindingKeyMapping\":`crwdns3963:0{cubeName}crwdne3963:0`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`crwdns3965:0{dimension}crwdne3965:0`,\"server.errors.flow.timeDimNotFound\":`crwdns3967:0{timeDimension}crwdne3967:0`,\"server.errors.flow.noTimeDimMapping\":`crwdns3969:0{cubeName}crwdne3969:0`,\"server.errors.flow.timeDimMappingNotFound\":`crwdns3971:0{dimension}crwdne3971:0`,\"server.errors.flow.eventDimNotFound\":`crwdns3973:0{eventDimension}crwdne3973:0`,\"server.validation.template.emptyReference\":`crwdns3975:0crwdne3975:0`,\"server.validation.template.invalidMemberReference\":`crwdns3977:0{ref}crwdne3977:0`,\"server.validation.template.multipleDots\":`crwdns3979:0{ref}crwdne3979:0`,\"server.validation.template.nestedBraces\":`crwdns3981:0crwdne3981:0`,\"server.validation.template.substituteTargetCubeNotFound\":`crwdns3983:0{ref}crwdnd3983:0{cubeName}crwdne3983:0`,\"server.validation.template.substituteMeasureNotResolved\":`crwdns3985:0{ref}crwdnd3985:0{measureName}crwdne3985:0`,\"server.validation.template.unmatchedClosingBrace\":`crwdns3987:0{position}crwdne3987:0`,\"server.validation.template.unmatchedOpeningBrace\":`crwdns3989:0crwdne3989:0`,\"notebook.aiAssistant\":`crwdns3999:0crwdne3999:0`,\"notebook.saveAsDashboard\":`crwdns4001:0crwdne4001:0`,\"notebook.saveAsDashboardTitle\":`crwdns4003:0crwdne4003:0`,\"notebook.clearTitle\":`crwdns4005:0crwdne4005:0`,\"notebook.feedbackThanks\":`crwdns4007:0crwdne4007:0`,\"notebook.feedbackQuestion\":`crwdns4009:0crwdne4009:0`,\"notebook.feedbackYes\":`crwdns4011:0crwdne4011:0`,\"notebook.feedbackNo\":`crwdns4013:0crwdne4013:0`,\"notebook.thinking\":`crwdns4015:0crwdne4015:0`,\"notebook.emptyState.title\":`crwdns4017:0crwdne4017:0`,\"notebook.emptyState.description\":`crwdns4019:0crwdne4019:0`,\"notebook.emptyState.example1\":`crwdns4021:0crwdne4021:0`,\"notebook.emptyState.example2\":`crwdns4023:0crwdne4023:0`,\"notebook.emptyState.example3\":`crwdns4025:0crwdne4025:0`,\"notebook.saveAsDashboardPrompt\":`crwdns4027:0crwdne4027:0`,\"notebook.chatInput.placeholder\":`crwdns4029:0crwdne4029:0`,\"notebook.chatInput.stop\":`crwdns4031:0crwdne4031:0`,\"notebook.chatInput.continue\":`crwdns4033:0crwdne4033:0`,\"notebook.chatInput.send\":`crwdns4035:0crwdne4035:0`,\"notebook.canvas.emptyTitle\":`crwdns4037:0crwdne4037:0`,\"notebook.canvas.emptyDescription\":`crwdns4039:0crwdne4039:0`,\"notebook.canvas.editVisualization\":`crwdns4041:0crwdne4041:0`,\"notebook.canvas.update\":`crwdns4043:0crwdne4043:0`,\"notebook.collapsed.noBlocks\":`crwdns4045:0crwdne4045:0`,\"notebook.collapsed.expandNotebook\":`crwdns4047:0crwdne4047:0`,\"notebook.collapsed.expandChat\":`crwdns4049:0crwdne4049:0`,\"notebook.collapsed.aiChat\":`crwdns4051:0crwdne4051:0`,\"notebook.collapsed.markdown\":`crwdns4053:0crwdne4053:0`,\"schema.loading\":`crwdns4055:0crwdne4055:0`,\"schema.error\":`crwdns4057:0crwdne4057:0`,\"schema.noCubes\":`crwdns4059:0crwdne4059:0`,\"schema.noCubesHint\":`crwdns4061:0crwdne4061:0`,\"schema.computingLayout\":`crwdns4063:0crwdne4063:0`,\"schema.searchPlaceholder\":`crwdns4065:0crwdne4065:0`,\"schema.autoLayout\":`crwdns4067:0crwdne4067:0`,\"schema.missingDeps.title\":`crwdns4069:0crwdne4069:0`,\"schema.missingDeps.description\":`crwdns4071:0crwdne4071:0`,\"schema.loadingVisualization\":`crwdns4073:0crwdne4073:0`,\"schema.measures\":`crwdns4075:0{count}crwdne4075:0`,\"schema.timeDimensions\":`crwdns4077:0{count}crwdne4077:0`,\"schema.dimensions\":`crwdns4079:0{count}crwdne4079:0`,\"schema.cubeInfo\":`crwdns4081:0crwdne4081:0`,\"dataBrowser.selectCube\":`crwdns4083:0crwdne4083:0`,\"dataBrowser.selectCubeHint\":`crwdns4085:0crwdne4085:0`,\"dataBrowser.loadingData\":`crwdns4087:0crwdne4087:0`,\"dataBrowser.noData\":`crwdns4089:0crwdne4089:0`,\"dataBrowser.noRows\":`crwdns4091:0crwdne4091:0`,\"dataBrowser.toolbar.filters\":`crwdns4093:0crwdne4093:0`,\"dataBrowser.toolbar.columns\":`crwdns4095:0crwdne4095:0`,\"dataBrowser.toolbar.rows\":`crwdns4097:0{count}crwdne4097:0`,\"dataBrowser.sidebar.cubes\":`crwdns4099:0crwdne4099:0`,\"dataBrowser.sidebar.searchPlaceholder\":`crwdns4101:0crwdne4101:0`,\"dataBrowser.sidebar.noCubes\":`crwdns4103:0crwdne4103:0`,\"queryAnalysis.summary\":`crwdns4105:0crwdne4105:0`,\"queryAnalysis.summary.type\":`crwdns4107:0crwdne4107:0`,\"queryAnalysis.summary.cubes\":`crwdns4109:0crwdne4109:0`,\"queryAnalysis.summary.joins\":`crwdns4111:0crwdne4111:0`,\"queryAnalysis.summary.ctes\":`crwdns4113:0crwdne4113:0`,\"queryAnalysis.summary.strategy\":`crwdns4115:0crwdne4115:0`,\"queryAnalysis.primaryCube\":`crwdns4117:0crwdne4117:0`,\"queryAnalysis.primaryCube.showCandidates\":`crwdns4119:0{count}crwdne4119:0`,\"queryAnalysis.primaryCube.reachable\":`crwdns4121:0crwdne4121:0`,\"queryAnalysis.primaryCube.cannotReachAll\":`crwdns4123:0crwdne4123:0`,\"queryAnalysis.joinPaths\":`crwdns4125:0crwdne4125:0`,\"queryAnalysis.joinPaths.steps\":`crwdns4127:0{count}crwdne4127:0`,\"queryAnalysis.joinPaths.stepsPlural\":`crwdns4129:0{count}crwdne4129:0`,\"queryAnalysis.joinPaths.noPath\":`crwdns4131:0crwdne4131:0`,\"queryAnalysis.joinPaths.selection\":`crwdns4133:0crwdne4133:0`,\"queryAnalysis.joinPaths.pathCandidates\":`crwdns4135:0{count}crwdne4135:0`,\"queryAnalysis.joinPaths.visitedCubes\":`crwdns4137:0{count}crwdne4137:0`,\"queryAnalysis.preAggregations\":`crwdns4139:0crwdne4139:0`,\"queryAnalysis.preAggregations.measures\":`crwdns4141:0crwdne4141:0`,\"queryAnalysis.preAggregations.joinKeys\":`crwdns4143:0crwdne4143:0`,\"queryAnalysis.warnings\":`crwdns4145:0crwdne4145:0`,\"queryAnalysis.cubesInvolved\":`crwdns4147:0crwdne4147:0`,\"common.actions.copied\":`crwdns4149:0crwdne4149:0`,\"common.actions.copyToClipboard\":`crwdns4151:0crwdne4151:0`,\"chart.availability.requiresMeasure\":`Requires at least 1 measure`,\"chart.availability.requiresTwoMeasures\":`Requires at least 2 measures`,\"chart.availability.requiresDimension\":`Requires at least 1 dimension`,\"chart.availability.requiresTwoDimensions\":`Requires at least 2 dimensions`,\"chart.availability.requiresTimeDimension\":`Requires a time dimension`,\"chart.availability.scatter\":`Requires 2 measures, or 1 measure plus 1 dimension`,\"chart.availability.bubble\":`Requires at least 2 measures and 1 dimension`,\"chart.runtime.noData\":`crwdns4153:0crwdne4153:0`,\"chart.runtime.noDataHint.bar\":`crwdns4155:0crwdne4155:0`,\"chart.runtime.noDataHint.line\":`crwdns4157:0crwdne4157:0`,\"chart.runtime.noDataHint.area\":`crwdns4159:0crwdne4159:0`,\"chart.runtime.noDataHint.pie\":`crwdns4161:0crwdne4161:0`,\"chart.runtime.noDataHint.scatter\":`crwdns4163:0crwdne4163:0`,\"chart.runtime.noDataHint.radar\":`crwdns4165:0crwdne4165:0`,\"chart.runtime.noDataHint.radialBar\":`crwdns4167:0crwdne4167:0`,\"chart.runtime.noDataHint.treemap\":`crwdns4169:0crwdne4169:0`,\"chart.runtime.noDataHint.bubble\":`crwdns4171:0crwdne4171:0`,\"chart.runtime.noDataHint.boxPlot\":`crwdns4173:0crwdne4173:0`,\"chart.runtime.noDataHint.waterfall\":`crwdns4175:0crwdne4175:0`,\"chart.runtime.noDataHint.candlestick\":`crwdns4177:0crwdne4177:0`,\"chart.runtime.noDataHint.gauge\":`crwdns4179:0crwdne4179:0`,\"chart.runtime.noDataHint.measureProfile\":`crwdns4181:0crwdne4181:0`,\"chart.runtime.noDataHint.activityGrid\":`crwdns4183:0crwdne4183:0`,\"chart.runtime.noDataHint.heatmap\":`crwdns4185:0crwdne4185:0`,\"chart.runtime.noDataHint.table\":`crwdns4187:0crwdne4187:0`,\"chart.runtime.noDataHint.kpi\":`crwdns4189:0crwdne4189:0`,\"chart.runtime.noDataHint.funnel\":`crwdns4191:0crwdne4191:0`,\"chart.runtime.noDataHint.flow\":`crwdns4193:0crwdne4193:0`,\"chart.runtime.noDataHint.retention\":`crwdns4195:0crwdne4195:0`,\"chart.runtime.noValidData\":`crwdns4197:0crwdne4197:0`,\"chart.runtime.noValidDataHint.bar\":`crwdns4199:0crwdne4199:0`,\"chart.runtime.noValidDataHint.line\":`crwdns4201:0crwdne4201:0`,\"chart.runtime.noValidDataHint.area\":`crwdns4203:0crwdne4203:0`,\"chart.runtime.noValidDataHint.scatter\":`crwdns4205:0crwdne4205:0`,\"chart.runtime.noValidDataHint.radar\":`crwdns4207:0crwdne4207:0`,\"chart.runtime.noValidDataHint.radialBar\":`crwdns4209:0crwdne4209:0`,\"chart.runtime.noValidDataHint.treemap\":`crwdns4211:0crwdne4211:0`,\"chart.runtime.noValidDataHint.pie\":`crwdns4213:0crwdne4213:0`,\"chart.runtime.noValidDataHint.pieFiltered\":`crwdns4215:0{count}crwdne4215:0`,\"chart.runtime.noValidDataHint.boxPlot\":`crwdns4217:0crwdne4217:0`,\"chart.runtime.noValidDataHint.gauge\":`crwdns4219:0crwdne4219:0`,\"chart.runtime.noValidDataHint.kpiText\":`crwdns4221:0crwdne4221:0`,\"chart.runtime.configError\":`crwdns4223:0crwdne4223:0`,\"chart.runtime.configErrorHint.axisInvalid\":`crwdns4225:0crwdne4225:0`,\"chart.runtime.configErrorHint.axisFields\":`crwdns4227:0crwdne4227:0`,\"chart.runtime.configErrorHint.pieAxis\":`crwdns4229:0crwdne4229:0`,\"chart.runtime.configErrorHint.radarNumeric\":`crwdns4231:0crwdne4231:0`,\"chart.runtime.configErrorHint.radialBarNumeric\":`crwdns4233:0crwdne4233:0`,\"chart.runtime.configErrorHint.treemapNumeric\":`crwdns4235:0crwdne4235:0`,\"chart.runtime.configErrorHint.noMeasure\":`crwdns4237:0crwdne4237:0`,\"chart.runtime.configErrorHint.noMeasures\":`crwdns4239:0crwdne4239:0`,\"chart.runtime.configErrorHint.bubbleRequired\":`crwdns4241:0crwdne4241:0`,\"chart.runtime.configErrorHint.bubbleOptional\":`crwdns4243:0crwdne4243:0`,\"chart.runtime.configErrorHint.activityGridRequired\":`crwdns4245:0crwdne4245:0`,\"chart.runtime.chartError\":`crwdns4247:0{chartType}crwdne4247:0`,\"chart.runtime.unknownError\":`crwdns4249:0crwdne4249:0`,\"chart.runtime.checkConfig\":`crwdns4251:0crwdne4251:0`,\"chart.runtime.unableToRender\":`crwdns4253:0crwdne4253:0`,\"chart.runtime.dataFormatIncorrect\":`crwdns4255:0crwdne4255:0`,\"chart.runtime.measuringDimensions\":`crwdns4257:0crwdne4257:0`,\"chart.runtime.unableToDisplay\":`crwdns4259:0crwdne4259:0`,\"chart.runtime.responsiveContainerError\":`crwdns4261:0crwdne4261:0`,\"chart.runtime.noDataToDisplay\":`crwdns4263:0crwdne4263:0`,\"chart.runtime.table.invalidStructure\":`crwdns4265:0crwdne4265:0`,\"chart.runtime.heatmapNoResults\":`crwdns4267:0crwdne4267:0`,\"chart.runtime.heatmapConfigRequired\":`crwdns4269:0crwdne4269:0`,\"chart.runtime.heatmapXRequired\":`crwdns4271:0crwdne4271:0`,\"chart.runtime.heatmapYRequired\":`crwdns4273:0crwdne4273:0`,\"chart.runtime.heatmapValueRequired\":`crwdns4275:0crwdne4275:0`,\"chart.runtime.heatmapTruncated\":`crwdns4277:0{maxRows}crwdnd4277:0{maxCols}crwdnd4277:0{originalRows}crwdnd4277:0{originalCols}crwdne4277:0`,\"chart.runtime.activityGridGranularityTooHigh\":`crwdns4279:0crwdne4279:0`,\"chart.runtime.activityGridGranularityHint\":`crwdns4281:0crwdne4281:0`,\"chart.runtime.activityGridGranularityAction\":`crwdns4283:0crwdne4283:0`,\"chart.runtime.activityGridConfigRequired\":`crwdns4285:0crwdne4285:0`,\"chart.runtime.retention.cohort\":`crwdns4287:0crwdne4287:0`,\"chart.runtime.retention.segment\":`crwdns4289:0crwdne4289:0`,\"chart.runtime.retention.users\":`crwdns4291:0crwdne4291:0`,\"chart.runtime.retention.cohortSize\":`crwdns4293:0{count}crwdne4293:0`,\"chart.runtime.retention.retained\":`crwdns4295:0{count}crwdne4295:0`,\"chart.runtime.retention.rate\":`crwdns4297:0{rate}crwdne4297:0`,\"chart.runtime.retention.retentionPercent\":`crwdns4299:0crwdne4299:0`,\"chart.runtime.retention.periodLabel\":`crwdns4301:0{cohort}crwdnd4301:0{period}crwdne4301:0`,\"chart.runtime.retention.noData\":`crwdns4303:0crwdne4303:0`,\"chart.runtime.retention.total\":`crwdns4305:0crwdne4305:0`,\"chart.runtime.retention.retention\":`crwdns4307:0crwdne4307:0`,\"chart.runtime.funnel.noData\":`crwdns4309:0crwdne4309:0`,\"chart.runtime.funnel.steps\":`crwdns4311:0crwdne4311:0`,\"chart.runtime.funnel.overall\":`crwdns4313:0crwdne4313:0`,\"chart.runtime.funnel.completed\":`crwdns4315:0{completed}crwdnd4315:0{total}crwdne4315:0`,\"chart.runtime.flow.noData\":`crwdns4317:0crwdne4317:0`,\"chart.runtime.flow.events\":`crwdns4319:0crwdne4319:0`,\"chart.runtime.flow.eventsAfter\":`crwdns4321:0crwdne4321:0`,\"chart.runtime.flow.paths\":`crwdns4323:0crwdne4323:0`,\"chart.runtime.flow.startingEntities\":`crwdns4325:0crwdne4325:0`,\"chart.runtime.flow.entities\":`crwdns4327:0crwdne4327:0`,\"chart.runtime.kpiDelta.insufficientData\":`crwdns4329:0crwdne4329:0`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`crwdns4331:0crwdne4331:0`,\"chart.runtime.kpiDelta.currentPoints\":`crwdns4333:0{count}crwdne4333:0`,\"chart.runtime.kpiDelta.noVariance\":`crwdns4335:0crwdne4335:0`,\"chart.runtime.kpiNumber.noData\":`crwdns4337:0crwdne4337:0`,\"chart.runtime.markdown.noContent\":`crwdns4339:0crwdne4339:0`,\"chart.runtime.markdown.addContent\":`crwdns4341:0crwdne4341:0`,\"chart.runtime.axisFormat.label\":`crwdns4343:0crwdne4343:0`,\"chart.runtime.axisFormat.autoLabel\":`crwdns4345:0crwdne4345:0`,\"chart.runtime.axisFormat.unit\":`crwdns4347:0crwdne4347:0`,\"chart.runtime.axisFormat.custom\":`crwdns4349:0crwdne4349:0`,\"chart.runtime.axisFormat.prefix\":`crwdns4351:0crwdne4351:0`,\"chart.runtime.axisFormat.prefixExample\":`crwdns4353:0crwdne4353:0`,\"chart.runtime.axisFormat.suffix\":`crwdns4355:0crwdne4355:0`,\"chart.runtime.axisFormat.suffixExample\":`crwdns4357:0crwdne4357:0`,\"chart.runtime.axisFormat.abbreviation\":`crwdns4359:0crwdne4359:0`,\"chart.runtime.axisFormat.yes\":`crwdns4361:0crwdne4361:0`,\"chart.runtime.axisFormat.no\":`crwdns4363:0crwdne4363:0`,\"chart.runtime.axisFormat.decimals\":`crwdns4365:0crwdne4365:0`,\"chart.runtime.axisFormat.preview\":`crwdns4367:0crwdne4367:0`,\"chart.runtime.axisFormat.leftYAxis\":`crwdns4369:0crwdne4369:0`,\"chart.runtime.axisFormat.rightYAxis\":`crwdns4371:0crwdne4371:0`,\"chart.runtime.axisFormat.xAxis\":`crwdns4373:0crwdne4373:0`,\"chart.runtime.missingDep.title\":`crwdns4375:0crwdne4375:0`,\"chart.runtime.missingDep.description\":`crwdns4377:0{chartType}crwdnd4377:0{packageName}crwdne4377:0`,\"chart.runtime.missingDep.restartHint\":`crwdns4379:0crwdne4379:0`,\"chart.runtime.unknownChartType\":`crwdns4381:0crwdne4381:0`,\"chart.runtime.unknownChartTypeHint\":`crwdns4383:0{chartType}crwdne4383:0`,\"chart.runtime.boxPlot.truncated\":`crwdns4385:0{max}crwdnd4385:0{total}crwdne4385:0`,\"chart.runtime.candlestick.truncated\":`crwdns4387:0{max}crwdnd4387:0{total}crwdne4387:0`,\"chart.runtime.bar.hiddenPoints\":`crwdns4389:0{count}crwdne4389:0`,\"chart.runtime.waterfall.increase\":`crwdns4391:0crwdne4391:0`,\"chart.runtime.waterfall.decrease\":`crwdns4393:0crwdne4393:0`,\"chart.runtime.waterfall.total\":`crwdns4395:0crwdne4395:0`,\"chart.runtime.tooltip.noData\":`crwdns4397:0crwdne4397:0`,\"chart.runtime.tooltip.targetValue\":`crwdns4399:0crwdne4399:0`,\"results.toolbar.refreshing\":`crwdns4401:0crwdne4401:0`,\"results.toolbar.refresh\":`crwdns4403:0crwdne4403:0`,\"results.toolbar.refreshTitle\":`crwdns4405:0crwdne4405:0`,\"results.toolbar.refreshingTitle\":`crwdns4407:0crwdne4407:0`,\"results.toolbar.cacheBustTitle\":`crwdns4409:0crwdne4409:0`,\"results.toolbar.clear\":`crwdns4411:0crwdne4411:0`,\"results.toolbar.clearFunnel\":`crwdns4413:0crwdne4413:0`,\"results.toolbar.clearQuery\":`crwdns4415:0crwdne4415:0`,\"results.toolbar.aiClose\":`crwdns4417:0crwdne4417:0`,\"results.toolbar.aiOpen\":`crwdns4419:0crwdne4419:0`,\"results.toolbar.shareTitle\":`crwdns4421:0crwdne4421:0`,\"results.toolbar.shareCopied\":`crwdns4423:0crwdne4423:0`,\"results.toolbar.schemaHide\":`crwdns4425:0crwdne4425:0`,\"results.toolbar.schemaShow\":`crwdns4427:0crwdne4427:0`,\"results.toolbar.debugHide\":`crwdns4429:0crwdne4429:0`,\"results.toolbar.debugShow\":`crwdns4431:0crwdne4431:0`,\"results.toolbar.chartView\":`crwdns4433:0crwdne4433:0`,\"results.toolbar.chartDisabled\":`crwdns4435:0crwdne4435:0`,\"results.toolbar.tableView\":`crwdns4437:0crwdne4437:0`,\"results.toolbar.mergedTableView\":`crwdns4439:0crwdne4439:0`,\"results.view.table\":`crwdns4441:0crwdne4441:0`,\"results.warning.filterHint\":`crwdns4443:0crwdne4443:0`,\"results.debug.query\":`crwdns4445:0crwdne4445:0`,\"results.debug.queryAnalysis\":`crwdns4447:0crwdne4447:0`,\"results.debug.copyMarkdownTitle\":`crwdns4449:0crwdne4449:0`,\"results.debug.copyAsMarkdown\":`crwdns4451:0crwdne4451:0`,\"results.debug.analysisError\":`crwdns4453:0crwdne4453:0`,\"results.debug.analysisEmpty\":`crwdns4455:0crwdne4455:0`,\"results.debug.cubeQuery\":`crwdns4457:0crwdne4457:0`,\"results.debug.cubeQueryExecuted\":`crwdns4459:0crwdne4459:0`,\"results.debug.funnelFilterHint\":`crwdns4461:0crwdne4461:0`,\"results.debug.noQuery\":`crwdns4463:0crwdne4463:0`,\"results.debug.serverResponse\":`crwdns4465:0crwdne4465:0`,\"results.debug.noResults\":`crwdns4467:0crwdne4467:0`,\"results.debug.chartConfig\":`crwdns4469:0crwdne4469:0`,\"results.debug.displayConfig\":`crwdns4471:0crwdne4471:0`,\"results.debug.generatedSql\":`crwdns4473:0crwdne4473:0`,\"results.debug.loadingSql\":`crwdns4475:0crwdne4475:0`,\"results.debug.executionError\":`crwdns4477:0crwdne4477:0`,\"results.confirm.clearFunnel\":`crwdns4479:0crwdne4479:0`,\"results.confirm.clearQuery\":`crwdns4481:0crwdne4481:0`,\"results.confirm.clearFunnelMessage\":`crwdns4483:0crwdne4483:0`,\"results.confirm.clearQueryMessage\":`crwdns4485:0crwdne4485:0`,\"results.table.noData\":`crwdns4487:0crwdne4487:0`,\"results.table.noDataHint\":`crwdns4489:0crwdne4489:0`,\"results.flow.noData\":`crwdns4491:0crwdne4491:0`,\"results.flow.noDataHint\":`crwdns4493:0crwdne4493:0`,\"results.flow.nodes\":`crwdns4495:0{count}crwdne4495:0`,\"results.flow.transitions\":`crwdns4497:0{count}crwdne4497:0`,\"results.flow.layer\":`crwdns4499:0crwdne4499:0`,\"results.flow.name\":`crwdns4501:0crwdne4501:0`,\"results.flow.count\":`crwdns4503:0crwdne4503:0`,\"results.flow.from\":`crwdns4505:0crwdne4505:0`,\"results.flow.to\":`crwdns4507:0crwdne4507:0`,\"results.debug.funnel.label\":`crwdns4509:0crwdne4509:0`,\"results.debug.funnel.steps\":`crwdns4511:0{count}crwdne4511:0`,\"results.debug.funnel.serverQuery\":`crwdns4513:0crwdne4513:0`,\"results.debug.funnel.noQuery\":`crwdns4515:0crwdne4515:0`,\"results.debug.funnel.sqlPlaceholder\":`crwdns4517:0crwdne4517:0`,\"results.debug.funnel.stepsTitle\":`crwdns4519:0crwdne4519:0`,\"results.debug.flow.label\":`crwdns4521:0crwdne4521:0`,\"results.debug.flow.badge\":`crwdns4523:0{before}crwdnd4523:0{after}crwdne4523:0`,\"results.debug.flow.serverQuery\":`crwdns4525:0crwdne4525:0`,\"results.debug.flow.noQuery\":`crwdns4527:0crwdne4527:0`,\"results.debug.flow.sqlPlaceholder\":`crwdns4529:0crwdne4529:0`,\"results.debug.flow.configTitle\":`crwdns4531:0crwdne4531:0`,\"results.debug.flow.startingStep\":`crwdns4533:0crwdne4533:0`,\"results.debug.flow.eventDimension\":`crwdns4535:0crwdne4535:0`,\"results.debug.flow.stepsBefore\":`crwdns4537:0crwdne4537:0`,\"results.debug.flow.stepsAfter\":`crwdns4539:0crwdne4539:0`,\"results.debug.flow.notSet\":`crwdns4541:0crwdne4541:0`,\"results.debug.flow.responseTitle\":`crwdns4543:0crwdne4543:0`,\"results.debug.retention.label\":`crwdns4545:0crwdne4545:0`,\"results.debug.retention.badge\":`crwdns4547:0{segments}crwdnd4547:0{users}crwdne4547:0`,\"results.debug.retention.serverQuery\":`crwdns4549:0crwdne4549:0`,\"results.debug.retention.configIncomplete\":`crwdns4551:0crwdne4551:0`,\"results.debug.retention.configHint\":`crwdns4553:0crwdne4553:0`,\"results.debug.retention.sqlPlaceholder\":`crwdns4555:0crwdne4555:0`,\"results.debug.retention.configTitle\":`crwdns4557:0crwdne4557:0`,\"results.debug.retention.summaryTitle\":`crwdns4559:0crwdne4559:0`,\"results.debug.retention.retentionType\":`crwdns4561:0crwdne4561:0`,\"results.debug.retention.periods\":`crwdns4563:0crwdne4563:0`,\"results.debug.retention.granularity\":`crwdns4565:0crwdne4565:0`,\"results.debug.retention.segments\":`crwdns4567:0crwdne4567:0`,\"results.debug.retention.avgPeriod1\":`crwdns4569:0crwdne4569:0`,\"results.debug.retention.maxPeriod1\":`crwdns4571:0crwdne4571:0`,\"results.debug.retention.minPeriod1\":`crwdns4573:0crwdne4573:0`,\"results.debug.standard.sqlPlaceholder\":`crwdns4575:0crwdne4575:0`,\"flow.tabs.flow\":`crwdns4577:0crwdne4577:0`,\"flow.tabs.display\":`crwdns4579:0crwdne4579:0`,\"flow.tabs.displayUnavailable\":`crwdns4581:0crwdne4581:0`,\"flow.tabs.displayTitle\":`crwdns4583:0crwdne4583:0`,\"flow.visualization.title\":`crwdns4585:0crwdne4585:0`,\"flow.visualization.description\":`crwdns4587:0crwdne4587:0`,\"flow.visualization.sankey\":`crwdns4589:0crwdne4589:0`,\"flow.visualization.sankeyHint\":`crwdns4591:0crwdne4591:0`,\"flow.visualization.sunburst\":`crwdns4593:0crwdne4593:0`,\"flow.visualization.sunburstHint\":`crwdns4595:0crwdne4595:0`,\"flow.startingStep.title\":`crwdns4597:0crwdne4597:0`,\"flow.startingStep.description\":`crwdns4599:0crwdne4599:0`,\"flow.startingStep.filterLabel\":`crwdns4601:0crwdne4601:0`,\"flow.depth.title\":`crwdns4603:0crwdne4603:0`,\"flow.depth.descriptionSankey\":`crwdns4605:0crwdne4605:0`,\"flow.depth.descriptionSunburst\":`crwdns4607:0crwdne4607:0`,\"flow.depth.stepsBefore\":`crwdns4609:0crwdne4609:0`,\"flow.depth.stepsBeforeNA\":`crwdns4611:0crwdne4611:0`,\"flow.depth.stepsAfter\":`crwdns4613:0crwdne4613:0`,\"flow.depth.performanceWarning\":`crwdns4615:0crwdne4615:0`,\"flow.joinStrategy.title\":`crwdns4617:0crwdne4617:0`,\"flow.joinStrategy.description\":`crwdns4619:0crwdne4619:0`,\"flow.joinStrategy.auto\":`crwdns4621:0crwdne4621:0`,\"flow.joinStrategy.lateral\":`crwdns4623:0crwdne4623:0`,\"flow.joinStrategy.window\":`crwdns4625:0crwdne4625:0`,\"retention.tabs.retention\":`crwdns4627:0crwdne4627:0`,\"retention.tabs.display\":`crwdns4629:0crwdne4629:0`,\"retention.tabs.displayUnavailable\":`crwdns4631:0crwdne4631:0`,\"retention.tabs.displayTitle\":`crwdns4633:0crwdne4633:0`,\"retention.dateRange.title\":`crwdns4635:0crwdne4635:0`,\"retention.dateRange.description\":`crwdns4637:0crwdne4637:0`,\"retention.dateRange.label\":`crwdns4639:0crwdne4639:0`,\"retention.dateRange.selectRange\":`crwdns4641:0crwdne4641:0`,\"retention.dateRange.customRange\":`crwdns4643:0crwdne4643:0`,\"retention.dateRange.applyCustom\":`crwdns4645:0crwdne4645:0`,\"retention.cohortFilter.title\":`crwdns4647:0crwdne4647:0`,\"retention.cohortFilter.description\":`crwdns4649:0crwdne4649:0`,\"retention.returnFilter.title\":`crwdns4651:0crwdne4651:0`,\"retention.returnFilter.description\":`crwdns4653:0crwdne4653:0`,\"retention.breakdown.title\":`crwdns4655:0crwdne4655:0`,\"retention.breakdown.description\":`crwdns4657:0crwdne4657:0`,\"retention.settings.title\":`crwdns4659:0crwdne4659:0`,\"retention.settings.description\":`crwdns4661:0crwdne4661:0`,\"retention.settings.granularityLabel\":`crwdns4663:0crwdne4663:0`,\"retention.settings.periodsLabel\":`crwdns4665:0{min}crwdnd4665:0{max}crwdne4665:0`,\"retention.settings.periodsWarning\":`crwdns4667:0crwdne4667:0`,\"retention.settings.retentionTypeLabel\":`crwdns4669:0crwdne4669:0`,\"debug.explainPlan\":`crwdns4671:0crwdne4671:0`,\"debug.explainRunning\":`crwdns4673:0crwdne4673:0`,\"debug.explainIncludeTiming\":`crwdns4675:0crwdne4675:0`,\"debug.explainRunningAnalyze\":`crwdns4677:0crwdne4677:0`,\"debug.explainRunningBasic\":`crwdns4679:0crwdne4679:0`,\"debug.explainError\":`crwdns4681:0crwdne4681:0`,\"debug.sequentialScans\":`crwdns4683:0crwdne4683:0`,\"debug.indexesUsed\":`crwdns4685:0{count}crwdne4685:0`,\"debug.indexesUsedPlural\":`crwdns4687:0{count}crwdne4687:0`,\"debug.executionTime\":`crwdns4689:0{time}crwdne4689:0`,\"debug.planningTime\":`crwdns4691:0{time}crwdne4691:0`,\"debug.cost\":`crwdns4693:0{cost}crwdne4693:0`,\"debug.indexes\":`crwdns4695:0crwdne4695:0`,\"debug.executionPlanTitle\":`crwdns4697:0{database}crwdne4697:0`,\"debug.aiAnalyzing\":`crwdns4699:0crwdne4699:0`,\"debug.aiAnalysis\":`crwdns4701:0crwdne4701:0`,\"debug.aiAnalysisError\":`crwdns4703:0crwdne4703:0`,\"explainAI.title\":`crwdns4705:0crwdne4705:0`,\"explainAI.assessment.good\":`crwdns4707:0crwdne4707:0`,\"explainAI.assessment.warning\":`crwdns4709:0crwdne4709:0`,\"explainAI.assessment.critical\":`crwdns4711:0crwdne4711:0`,\"explainAI.summary\":`crwdns4713:0crwdne4713:0`,\"explainAI.queryAnalysis\":`crwdns4715:0crwdne4715:0`,\"explainAI.issuesFound\":`crwdns4717:0{count}crwdne4717:0`,\"explainAI.recommendations\":`crwdns4719:0{count}crwdne4719:0`,\"explainAI.noRecommendations\":`crwdns4721:0crwdne4721:0`,\"explainAI.expectedImpact\":`crwdns4723:0crwdne4723:0`,\"explainAI.addToCube\":`crwdns4725:0{cubeName}crwdne4725:0`,\"explainAI.modelLabel\":`crwdns4727:0crwdne4727:0`,\"explainAI.usingUserKey\":`crwdns4729:0crwdne4729:0`,\"explainAI.copied\":`crwdns4731:0crwdne4731:0`,\"explainAI.copy\":`crwdns4733:0crwdne4733:0`,\"explainAI.type.index\":`crwdns4735:0crwdne4735:0`,\"explainAI.type.table\":`crwdns4737:0crwdne4737:0`,\"explainAI.type.cube\":`crwdns4739:0crwdne4739:0`,\"explainAI.type.general\":`crwdns4741:0crwdne4741:0`,\"errorBoundary.modeError\":`crwdns4743:0crwdne4743:0`,\"errorBoundary.modeErrorDescription\":`crwdns4745:0{mode}crwdne4745:0`,\"errorBoundary.showDetails\":`crwdns4747:0crwdne4747:0`,\"errorBoundary.unknownError\":`crwdns4749:0crwdne4749:0`,\"errorBoundary.tryAgain\":`crwdns4751:0crwdne4751:0`,\"errorBoundary.switchToQuery\":`crwdns4753:0crwdne4753:0`,\"funnel.tabs.steps\":`crwdns4755:0crwdne4755:0`,\"funnel.tabs.display\":`crwdns4757:0crwdne4757:0`,\"funnel.tabs.displayUnavailable\":`crwdns4759:0crwdne4759:0`,\"funnel.tabs.displayTitle\":`crwdns4761:0crwdne4761:0`,\"funnel.steps.title\":`crwdns4763:0crwdne4763:0`,\"funnel.steps.emptyMessage\":`crwdns4765:0crwdne4765:0`,\"funnel.steps.addFirst\":`crwdns4767:0crwdne4767:0`,\"funnel.steps.addStep\":`crwdns4769:0crwdne4769:0`,\"funnel.steps.validationHint\":`crwdns4771:0crwdne4771:0`,\"funnel.step.removeTitle\":`crwdns4773:0crwdne4773:0`,\"funnel.step.editNameTitle\":`crwdns4775:0crwdne4775:0`,\"funnel.step.placeholder\":`crwdns4777:0crwdne4777:0`,\"funnel.step.timeWindow\":`crwdns4779:0crwdne4779:0`,\"funnel.step.timeWindowHelp\":`crwdns4781:0crwdne4781:0`,\"funnel.step.filters\":`crwdns4783:0{count}crwdne4783:0`,\"funnel.step.filtersPlural\":`crwdns4785:0{count}crwdne4785:0`,\"funnel.step.within\":`crwdns4787:0{time}crwdne4787:0`,\"funnel.step.noFilters\":`crwdns4789:0crwdne4789:0`,\"funnel.config.configuration\":`crwdns4791:0crwdne4791:0`,\"funnel.config.cube\":`crwdns4793:0crwdne4793:0`,\"funnel.config.cubeHelp\":`crwdns4795:0crwdne4795:0`,\"funnel.config.cubePlaceholder\":`crwdns4797:0crwdne4797:0`,\"funnel.config.bindingKey\":`crwdns4799:0crwdne4799:0`,\"funnel.config.bindingKeyHelp\":`crwdns4801:0crwdne4801:0`,\"funnel.config.bindingKeyPlaceholder\":`crwdns4803:0crwdne4803:0`,\"funnel.config.selectCubeFirst\":`crwdns4805:0crwdne4805:0`,\"funnel.config.timeDimension\":`crwdns4807:0crwdne4807:0`,\"funnel.config.timeDimensionHelp\":`crwdns4809:0crwdne4809:0`,\"funnel.config.timeDimensionPlaceholder\":`crwdns4811:0crwdne4811:0`,\"funnel.config.noMatchingFields\":`crwdns4813:0crwdne4813:0`,\"funnel.bindingKey.searchPlaceholder\":`crwdns4815:0crwdne4815:0`,\"funnel.bindingKey.noMatching\":`crwdns4817:0crwdne4817:0`,\"funnel.bindingKey.helpText\":`crwdns4819:0crwdne4819:0`,\"funnel.bindingKey.clearTitle\":`crwdns4821:0crwdne4821:0`,\"flow.config.configuration\":`crwdns4823:0crwdne4823:0`,\"flow.config.cube\":`crwdns4825:0crwdne4825:0`,\"flow.config.cubeHelp\":`crwdns4827:0crwdne4827:0`,\"flow.config.cubePlaceholder\":`crwdns4829:0crwdne4829:0`,\"flow.config.bindingKey\":`crwdns4831:0crwdne4831:0`,\"flow.config.bindingKeyHelp\":`crwdns4833:0crwdne4833:0`,\"flow.config.bindingKeyPlaceholder\":`crwdns4835:0crwdne4835:0`,\"flow.config.selectCubeFirst\":`crwdns4837:0crwdne4837:0`,\"flow.config.timeDimension\":`crwdns4839:0crwdne4839:0`,\"flow.config.timeDimensionHelp\":`crwdns4841:0crwdne4841:0`,\"flow.config.timeDimensionPlaceholder\":`crwdns4843:0crwdne4843:0`,\"flow.config.eventDimension\":`crwdns4845:0crwdne4845:0`,\"flow.config.eventDimensionHelp\":`crwdns4847:0crwdne4847:0`,\"flow.config.eventDimensionPlaceholder\":`crwdns4849:0crwdne4849:0`,\"flow.config.noMatchingFields\":`crwdns4851:0crwdne4851:0`,\"retention.config.configuration\":`crwdns4853:0crwdne4853:0`,\"retention.config.cube\":`crwdns4855:0crwdne4855:0`,\"retention.config.cubeHelp\":`crwdns4857:0crwdne4857:0`,\"retention.config.cubePlaceholder\":`crwdns4859:0crwdne4859:0`,\"retention.config.bindingKey\":`crwdns4861:0crwdne4861:0`,\"retention.config.bindingKeyHelp\":`crwdns4863:0crwdne4863:0`,\"retention.config.bindingKeyPlaceholder\":`crwdns4865:0crwdne4865:0`,\"retention.config.selectCubeFirst\":`crwdns4867:0crwdne4867:0`,\"retention.config.timestamp\":`crwdns4869:0crwdne4869:0`,\"retention.config.timestampHelp\":`crwdns4871:0crwdne4871:0`,\"retention.config.timestampPlaceholder\":`crwdns4873:0crwdne4873:0`,\"retention.config.noMatchingFields\":`crwdns4875:0crwdne4875:0`,\"retention.config.searchPlaceholder\":`crwdns4877:0crwdne4877:0`,\"display.showLegend\":`crwdns4879:0crwdne4879:0`,\"display.showGrid\":`crwdns4881:0crwdne4881:0`,\"display.showTooltip\":`crwdns4883:0crwdne4883:0`,\"display.stacked\":`crwdns4885:0crwdne4885:0`,\"display.hideHeader\":`crwdns4887:0crwdne4887:0`,\"fieldSearch.aria.closeDialog\":`crwdns4889:0crwdne4889:0`,\"fieldSearch.aria.filterByCube\":`crwdns4891:0crwdne4891:0`,\"fieldSearch.aria.cubeCategories\":`crwdns4893:0crwdne4893:0`,\"fieldSearch.aria.availableFields\":`crwdns4895:0crwdne4895:0`,\"chart.dropZone.required\":`crwdns4897:0crwdne4897:0`,\"common.actions.apply\":`crwdns4899:0crwdne4899:0`,\"common.actions.done\":`crwdns4901:0crwdne4901:0`,\"common.actions.update\":`crwdns4903:0crwdne4903:0`,\"common.actions.retry\":`crwdns4905:0crwdne4905:0`,\"common.actions.exit\":`crwdns4907:0crwdne4907:0`,\"common.actions.selectAll\":`crwdns4909:0crwdne4909:0`,\"common.saving\":`crwdns4911:0crwdne4911:0`,\"common.labels.title\":`crwdns4913:0crwdne4913:0`,\"dashboardFilter.editFilter\":`crwdns4915:0crwdne4915:0`,\"dashboardFilter.filterLabel\":`crwdns4917:0crwdne4917:0`,\"dashboardFilter.enterFilterLabel\":`crwdns4919:0crwdne4919:0`,\"dashboardFilter.universalTimeFilter\":`crwdns4921:0crwdne4921:0`,\"dashboardFilter.universalTimeDescription\":`crwdns4923:0crwdne4923:0`,\"dashboardFilter.field\":`crwdns4925:0crwdne4925:0`,\"dashboardFilter.showDashboardFields\":`crwdns4927:0crwdne4927:0`,\"dashboardFilter.showAllFields\":`crwdns4929:0crwdne4929:0`,\"dashboardFilter.dashboard\":`crwdns4931:0crwdne4931:0`,\"dashboardFilter.all\":`crwdns4933:0crwdne4933:0`,\"dashboardFilter.clickToSelectField\":`crwdns4935:0crwdne4935:0`,\"dashboardFilter.operator\":`crwdns4937:0crwdne4937:0`,\"dashboardFilter.defaultValue\":`crwdns4939:0crwdne4939:0`,\"dashboardFilter.deleteFilter\":`crwdns4941:0crwdne4941:0`,\"dashboardFilter.noValueRequired\":`crwdns4943:0crwdne4943:0`,\"dashboardFilter.to\":`crwdns4945:0crwdne4945:0`,\"dashboardFilter.selectValue\":`crwdns4947:0crwdne4947:0`,\"dashboardFilter.search\":`crwdns4949:0crwdne4949:0`,\"dashboardFilter.errorPrefix\":`crwdns4951:0crwdne4951:0`,\"dashboardFilter.noValuesFound\":`crwdns4953:0crwdne4953:0`,\"dashboardFilter.enterValue\":`crwdns4955:0crwdne4955:0`,\"dashboardFilter.enterNumber\":`crwdns4957:0crwdne4957:0`,\"dashboardFilter.min\":`crwdns4959:0crwdne4959:0`,\"dashboardFilter.max\":`crwdns4961:0crwdne4961:0`,\"dashboardFilter.filterLabelRequired\":`crwdns4963:0crwdne4963:0`,\"dashboardFilter.selectFieldRequired\":`crwdns4965:0crwdne4965:0`,\"dashboardFilter.notSet\":`crwdns4967:0crwdne4967:0`,\"dashboardFilter.clickToConfigure\":`crwdns4969:0crwdne4969:0`,\"dashboardFilter.customDate.startDate\":`crwdns4971:0crwdne4971:0`,\"dashboardFilter.customDate.endDate\":`crwdns4973:0crwdne4973:0`,\"dashboardFilter.customDate.sinceDate\":`crwdns4975:0crwdne4975:0`,\"dashboardFilter.customDate.fromSelectedToToday\":`crwdns4977:0crwdne4977:0`,\"dashboardFilter.customDate.number\":`crwdns4979:0crwdne4979:0`,\"dashboardFilter.customDate.unit\":`crwdns4981:0crwdne4981:0`,\"dashboardFilter.customDate.lastNPreview\":`crwdns4983:0{number}crwdnd4983:0{unit}crwdne4983:0`,\"dashboardFilter.editMode.filters\":`crwdns4985:0crwdne4985:0`,\"dashboardFilter.editMode.noFilters\":`crwdns4987:0crwdne4987:0`,\"dashboardFilter.editMode.dateRange\":`crwdns4989:0crwdne4989:0`,\"dashboardFilter.editMode.filter\":`crwdns4991:0crwdne4991:0`,\"dashboardFilter.editMode.editFilter\":`crwdns4993:0crwdne4993:0`,\"dashboardFilter.editMode.removeFilter\":`crwdns4995:0crwdne4995:0`,\"dashboardFilter.filterValue.editValue\":`crwdns4997:0crwdne4997:0`,\"dashboardFilter.readOnly.filters\":`crwdns4999:0crwdne4999:0`,\"filter.shared.fieldsInQuery\":`crwdns5001:0{count}crwdne5001:0`,\"filter.shared.allAvailableFields\":`crwdns5003:0{count}crwdne5003:0`,\"filter.shared.noFieldsMatch\":`crwdns5005:0{searchTerm}crwdne5005:0`,\"filter.shared.searchFields\":`crwdns5007:0crwdne5007:0`,\"filter.shared.selectField\":`crwdns5009:0crwdne5009:0`,\"filter.shared.schemaNotLoaded\":`crwdns5011:0crwdne5011:0`,\"filter.shared.group.addFilter\":`crwdns5013:0crwdne5013:0`,\"filter.shared.group.addAndGroup\":`crwdns5015:0crwdne5015:0`,\"filter.shared.group.addOrGroup\":`crwdns5017:0crwdne5017:0`,\"filter.shared.group.addCondition\":`crwdns5019:0crwdne5019:0`,\"filter.shared.group.noConditions\":`crwdns5021:0crwdne5021:0`,\"filter.shared.group.addFilterLink\":`crwdns5023:0crwdne5023:0`,\"filter.shared.builder.filters\":`crwdns5025:0{count}crwdne5025:0`,\"filter.shared.builder.clearAll\":`crwdns5027:0crwdne5027:0`,\"filter.shared.builder.addFilter\":`crwdns5029:0crwdne5029:0`,\"filter.shared.dateRange.title\":`crwdns5031:0{count}crwdne5031:0`,\"filter.shared.dateRange.clearAll\":`crwdns5033:0crwdne5033:0`,\"filter.shared.dateRange.addDateRange\":`crwdns5035:0crwdne5035:0`,\"filter.shared.dateRange.allHaveDateRanges\":`crwdns5037:0crwdne5037:0`,\"filter.shared.valueSelector.noValueRequired\":`crwdns5039:0crwdne5039:0`,\"filter.shared.valueSelector.to\":`crwdns5041:0crwdne5041:0`,\"filter.shared.valueSelector.min\":`crwdns5043:0crwdne5043:0`,\"filter.shared.valueSelector.max\":`crwdns5045:0crwdne5045:0`,\"filter.shared.valueSelector.enterNumber\":`crwdns5047:0crwdne5047:0`,\"filter.shared.valueSelector.loadingValues\":`crwdns5049:0crwdne5049:0`,\"filter.shared.valueSelector.selectValue\":`crwdns5051:0crwdne5051:0`,\"filter.shared.valueSelector.searchValues\":`crwdns5053:0crwdne5053:0`,\"filter.shared.valueSelector.searching\":`crwdns5055:0crwdne5055:0`,\"filter.shared.valueSelector.errorLoading\":`crwdns5057:0{error}crwdne5057:0`,\"filter.shared.valueSelector.noMatchingValues\":`crwdns5059:0crwdne5059:0`,\"filter.shared.valueSelector.noValuesAvailable\":`crwdns5061:0crwdne5061:0`,\"filter.shared.valueSelector.enterValue\":`crwdns5063:0{type}crwdne5063:0`,\"dashboard.noPortlets\":`crwdns5065:0crwdne5065:0`,\"dashboard.noPortletsDescription\":`crwdns5067:0crwdne5067:0`,\"dashboard.addText\":`crwdns5069:0crwdne5069:0`,\"dashboard.addPortlet\":`crwdns5071:0crwdne5071:0`,\"dashboard.finishEditing\":`crwdns5073:0crwdne5073:0`,\"dashboard.edit\":`crwdns5075:0crwdne5075:0`,\"dashboard.grid\":`crwdns5077:0crwdne5077:0`,\"dashboard.rows\":`crwdns5079:0crwdne5079:0`,\"dashboard.desktopRequired\":`crwdns5081:0crwdne5081:0`,\"dashboard.editModeHint\":`crwdns5083:0crwdne5083:0`,\"dashboard.filterSelectionMode\":`crwdns5085:0{filterLabel}crwdne5085:0`,\"dashboard.filterSelectionEscHint\":`crwdns5087:0crwdne5087:0`,\"dashboard.editPortlet\":`crwdns5089:0crwdne5089:0`,\"dashboard.addNewPortlet\":`crwdns5091:0crwdne5091:0`,\"dashboard.updatePortlet\":`crwdns5093:0crwdne5093:0`,\"dashboard.deletePortlet\":`crwdns5095:0crwdne5095:0`,\"dashboard.deletePortletConfirm\":`crwdns5097:0crwdne5097:0`,\"dashboard.deletePortletSuffix\":`crwdns5099:0crwdne5099:0`,\"dashboard.thisPortlet\":`crwdns5101:0crwdne5101:0`,\"dashboard.editModal.dashboardName\":`crwdns5103:0crwdne5103:0`,\"dashboard.editModal.enterDashboardName\":`crwdns5105:0crwdne5105:0`,\"dashboard.editModal.descriptionOptional\":`crwdns5107:0crwdne5107:0`,\"dashboard.editModal.enterDescription\":`crwdns5109:0crwdne5109:0`,\"portlet.configRequired\":`crwdns5111:0crwdne5111:0`,\"portlet.configRequiredHint\":`crwdns5113:0crwdne5113:0`,\"portlet.queryError\":`crwdns5115:0crwdne5115:0`,\"portlet.queryWithFilters\":`crwdns5117:0crwdne5117:0`,\"portlet.chartConfig\":`crwdns5119:0crwdne5119:0`,\"portlet.noDataAvailable\":`crwdns5121:0crwdne5121:0`,\"portlet.noDataDrilled\":`crwdns5123:0crwdne5123:0`,\"portlet.invalidQuery\":`crwdns5125:0crwdne5125:0`,\"portlet.unsupportedChartType\":`crwdns5127:0crwdne5127:0`,\"portlet.unableToRender\":`crwdns5129:0crwdne5129:0`,\"portlet.enterTitle\":`crwdns5131:0crwdne5131:0`,\"portlet.enterPortletTitle\":`crwdns5133:0crwdne5133:0`,\"portlet.configureQuery\":`crwdns5135:0crwdne5135:0`,\"portlet.configureFlow\":`crwdns5137:0crwdne5137:0`,\"portlet.configureRetention\":`crwdns5139:0crwdne5139:0`,\"portlet.configureFunnel\":`crwdns5141:0crwdne5141:0`,\"portlet.addMetricOrBreakdown\":`crwdns5143:0crwdne5143:0`,\"portlet.filterConfig.title\":`crwdns5145:0crwdne5145:0`,\"portlet.filterConfig.subtitle\":`crwdns5147:0{portletTitle}crwdne5147:0`,\"portlet.filterConfig.noFilters\":`crwdns5149:0crwdne5149:0`,\"portlet.filterConfig.noFiltersHint\":`crwdns5151:0crwdne5151:0`,\"portlet.filterConfig.availableFilters\":`crwdns5153:0crwdne5153:0`,\"portlet.filterConfig.selectedCount\":`crwdns5155:0{selected}crwdnd5155:0{total}crwdne5155:0`,\"portlet.filterConfig.applied\":`crwdns5157:0crwdne5157:0`,\"portlet.filterConfig.noValue\":`crwdns5159:0crwdne5159:0`,\"portlet.filterConfig.complexFilter\":`crwdns5161:0crwdne5161:0`,\"portlet.filterConfig.groupFilter\":`crwdns5163:0{type}crwdnd5163:0{count}crwdne5163:0`,\"portlet.filterConfig.groupFilterPlural\":`crwdns5165:0{type}crwdnd5165:0{count}crwdne5165:0`,\"portlet.filterConfig.applyFilters\":`crwdns5167:0crwdne5167:0`,\"textPortlet.editText\":`crwdns5169:0crwdne5169:0`,\"textPortlet.addText\":`crwdns5171:0crwdne5171:0`,\"textPortlet.markdownContent\":`crwdns5173:0crwdne5173:0`,\"textPortlet.markdownHint\":`crwdns5175:0urlcrwdne5175:0`,\"textPortlet.preview\":`crwdns5177:0crwdne5177:0`,\"debug.title\":`crwdns5179:0crwdne5179:0`,\"debug.chartType\":`crwdns5181:0crwdne5181:0`,\"debug.fieldAnalysis\":`crwdns5183:0crwdne5183:0`,\"debug.chartConfig\":`crwdns5185:0crwdne5185:0`,\"debug.displayConfig\":`crwdns5187:0crwdne5187:0`,\"debug.queryObject\":`crwdns5189:0crwdne5189:0`,\"debug.dataSample\":`crwdns5191:0crwdne5191:0`,\"debug.cacheStatus\":`crwdns5193:0crwdne5193:0`,\"debug.cacheHit\":`crwdns5195:0crwdne5195:0`,\"debug.cachedAt\":`crwdns5197:0crwdne5197:0`,\"debug.ttl\":`crwdns5199:0crwdne5199:0`,\"debug.ttlRemaining\":`crwdns5201:0crwdne5201:0`,\"debug.freshQuery\":`crwdns5203:0crwdne5203:0`,\"debug.notFromCache\":`crwdns5205:0crwdne5205:0`,\"debug.escToClose\":`crwdns5207:0crwdne5207:0`,\"debug.escKey\":`crwdns5209:0crwdne5209:0`,\"debug.toClose\":`crwdns5211:0crwdne5211:0`,\"debug.tooltip\":`crwdns5213:0crwdne5213:0`,\"error.unableToRender\":`crwdns5215:0crwdne5215:0`,\"error.unableToRenderNamed\":`crwdns5217:0{title}crwdne5217:0`,\"error.renderDescription\":`crwdns5219:0crwdne5219:0`,\"error.errorLabel\":`crwdns5221:0crwdne5221:0`,\"error.typeLabel\":`crwdns5223:0crwdne5223:0`,\"error.portletConfig\":`crwdns5225:0crwdne5225:0`,\"error.cubeQuery\":`crwdns5227:0crwdne5227:0`,\"error.componentStack\":`crwdns5229:0crwdne5229:0`,\"error.tryAgain\":`crwdns5231:0crwdne5231:0`,\"drill.back\":`crwdns5233:0crwdne5233:0`,\"drill.goBackOneLevel\":`crwdns5235:0crwdne5235:0`,\"drill.returnToTop\":`crwdns5237:0crwdne5237:0`,\"drill.navigateTo\":`crwdns5239:0{label}crwdne5239:0`,\"drill.empty\":`crwdns5241:0crwdne5241:0`,\"analyticsPage.title\":`crwdns5243:0crwdne5243:0`,\"dataHistogram.average\":`crwdns5507:0{count}crwdne5507:0`,\"dataHistogram.valuesInRange\":`crwdns5245:0{count}crwdne5245:0`}})),Av=c({default:()=>jv}),jv,Mv=o((()=>{jv={\"analysis.modes.flow.description\":`Bidirectional path analysis with Sankey visualization`,\"chart.area.description\":`Emphasize magnitude of change over time`,\"chart.radialBar.description\":`Circular progress and KPI visualization`,\"chart.treemap.description\":`Visualize hierarchical data with nested rectangles`,\"chart.activityGrid.description\":`GitHub-style activity grid showing temporal patterns across different time scales`,\"chart.activityGrid.useCase\":`Best for visualizing activity patterns over time. Supports hour (3hr blocks × days), day (days × weeks), week (weeks × months), month (months × quarters), and quarter (quarters × years) granularities`,\"chart.kpiText.description\":`Display key performance indicators as customizable text`,\"chart.funnel.useCase\":`Best for visualizing user journey funnels, sales pipelines, or multi-step processes`,\"chart.sankey.useCase\":`Best for visualizing user journey flows, path analysis, or state transitions`,\"chart.sunburst.useCase\":`Best for visualizing forward paths from a starting event in a compact radial layout`,\"chart.heatmap.description\":`Visualize intensity across two dimensions`,\"chart.retentionHeatmap.description\":`Cohort retention matrix visualization`,\"chart.retentionHeatmap.useCase\":`Visualize user retention over time by cohort`,\"chart.retentionCombined.description\":`Combined retention visualization with line chart and heatmap modes`,\"chart.retentionCombined.useCase\":`Visualize user retention over time with optional breakdown segmentation`,\"chart.measureProfile.description\":`Plot N measures as sequential X-axis points to visualize a profile or shape across intervals`,\"chart.gauge.useCase\":`Best for high-water marks vs equity, margin utilization, or any single value progress toward a goal`,\"chart.option.innerRadius.description\":`Hollow center size (0% = solid pie, higher = donut style)`,\"chart.option.bullColor.label\":`Bullish Color`,\"chart.option.bullColor.description\":`Candle color when close ≥ open`,\"chart.option.bearColor.label\":`Bearish Color`,\"chart.option.bearColor.description\":`Candle color when close < open`,\"chart.option.showCentreLabel.label\":`Show Center Label`,\"chart.option.showCentreLabel.description\":`Display current value and field name in the center of the gauge`,\"chart.option.accentBorder.description\":`Add an accent-colored border on one side of the content`,\"chart.scatter.dropZone.series.empty\":`Drop a dimension to color points`,\"chart.bubble.dropZone.colorField.empty\":`Drop a field for bubble color (optional)`,\"chart.treemap.dropZone.series.empty\":`Drop a dimension for color grouping`}})),Nv=c({default:()=>Pv}),Pv,Fv=o((()=>{Pv={\"analysis.modes.query.label\":`Zoekopdracht`,\"analysis.modes.query.description\":`Standard analyse (enkele of meerdere-query)`,\"analysis.modes.funnel.label\":`Trechter`,\"analysis.modes.funnel.description\":`Sequential conversion analyse`,\"analysis.modes.flow.label\":`Stroom`,\"analysis.modes.flow.description\":`Bidirectional pad analyse met Sankey visualisatie`,\"analysis.modes.retention.label\":`Retentie`,\"analysis.modes.retention.description\":`Cohortgebaseerde retentieanalyse over tijdsperioden`,\"analysis.ai.title\":`AI-querygenerator`,\"analysis.ai.generating\":`Genereren...`,\"analysis.ai.placeholder\":`Beschrijf je query in natuurlijke taal... (bijv. 'Toon totale verkoop per maand voor het afgelopen jaar')`,\"analysis.ai.shortcutHint\":`Druk op Enter om te genereren, Shift+Enter voor een nieuwe regel`,\"analysis.ai.successMessage\":`Query gegenereerd en geladen! Controleer de resultaten hieronder en klik op Accepteren om te behouden of Annuleren om terug te draaien.`,\"analysis.ai.button.accept\":`Accepteren`,\"analysis.ai.button.cancel\":`Annuleren`,\"analysis.ai.button.close\":`Sluiten`,\"analysis.ai.button.generate\":`Genereren`,\"analysis.ai.button.generating\":`Genereren...`,\"analysis.sections.metrics\":`Metrieken`,\"analysis.sections.breakdown\":`Opsplitsing`,\"analysis.sections.dimensions\":`Dimensies`,\"analysis.sections.filters\":`Filter`,\"analysis.sections.limit\":`Limiet`,\"analysis.tabs.query\":`Zoekopdracht`,\"analysis.tabs.chart\":`Grafiek`,\"analysis.tabs.chartTitle\":`Grafiek configuratie`,\"analysis.tabs.display\":`Weergave`,\"analysis.tabs.displayTitle\":`Weergave options`,\"analysis.multiQuery.removeQuery\":`Verwijderen query`,\"analysis.multiQuery.addQuery\":`Voeg new query`,\"analysis.multiQuery.addAnother\":`Voeg another query`,\"analysis.multiQuery.mergeExplanation\":`In samenvoegen modus, dimensies zijn shared van Q1.`,\"analysis.multiQuery.switchToSeparate\":`Schakel naar aparte reeksen`,\"analysis.mergeStrategy.concat\":`Apart reeksen`,\"analysis.mergeStrategy.merge\":`Samenvoegen op dimensie`,\"analysis.mergeStrategy.funnel\":`Trechter`,\"analysis.placeholders.addMetrics\":`Voeg metingen toe om SQL te genereren`,\"analysis.placeholders.hoverField\":`Beweeg over een veld om details te zien`,\"analysis.placeholders.noData\":`Geen gegevens beschikbaar`,\"common.actions.accept\":`Accepteren`,\"common.actions.cancel\":`Annuleren`,\"common.actions.delete\":`Verwijderen`,\"common.actions.close\":`Sluiten`,\"common.actions.edit\":`Bewerken`,\"common.actions.save\":`Opslaan`,\"common.actions.copy\":`Kopiëren`,\"common.actions.duplicate\":`Dupliceren`,\"common.actions.refresh\":`Vernieuwen`,\"common.actions.confirm\":`Bevestigen`,\"common.actions.add\":`Voeg`,\"common.actions.clear\":`Wissen`,\"common.actions.select\":`Selecteer`,\"common.actions.navigate\":`Navigeer`,\"common.actions.share\":`Delen`,\"common.loading\":`Laden...`,\"common.modal.processing\":`Verwerken...`,\"common.modal.dashboardName\":`Dashboard Naam`,\"common.modal.deleteConfirmation\":`Weet je het zeker? Deze actie kan niet ongedaan worden gemaakt.`,\"common.sorting.ascending\":`Oplopend gesorteerd (klik voor aflopend)`,\"common.sorting.descending\":`Aflopend gesorteerd (klik om te verwijderen)`,\"common.sorting.none\":`Klik om oplopend te sorteren`,\"fieldTypes.count\":`Aantal`,\"fieldTypes.countDistinct\":`Aantal Distinct`,\"fieldTypes.countDistinctApprox\":`Aantal Distinct (Approx)`,\"fieldTypes.sum\":`Som`,\"fieldTypes.avg\":`Gemiddelde`,\"fieldTypes.min\":`Minimum`,\"fieldTypes.max\":`Maximum`,\"fieldTypes.runningTotal\":`Uitvoeren Totaal`,\"fieldTypes.number\":`Nummer`,\"fieldTypes.string\":`Tekst`,\"fieldTypes.boolean\":`Boolean`,\"fieldTypes.time\":`Tijd Dimensie`,\"fieldTypes.geo\":`Geografisch`,\"fieldTypes.dimension\":`Dimensie`,\"fieldPanel.emptyState\":`Beweeg over een veld om details te zien`,\"fieldPanel.usageHint\":`Druk op Enter of klik om dit veld aan je query toe te voegen.`,\"fieldPanel.labels.type\":`Type`,\"fieldPanel.labels.cube\":`Cube`,\"fieldPanel.labels.category\":`Categorie`,\"fieldCategory.measure\":`Meting`,\"fieldCategory.timeDimension\":`Tijd Dimensie`,\"fieldCategory.dimension\":`Dimensie`,\"fieldSearch.placeholder.metrics\":`Zoeken metingen...`,\"fieldSearch.placeholder.filter\":`Zoeken velden naar filter...`,\"fieldSearch.placeholder.dimensions\":`Zoeken dimensies...`,\"fieldSearch.modal.title.metrics\":`Selecteer a Metric`,\"fieldSearch.modal.title.filter\":`Selecteer a Veld naar Filter`,\"fieldSearch.modal.title.dimensions\":`Selecteer a Dimensie`,\"fieldSearch.filter.allCubes\":`Alle Cubes`,\"fieldSearch.categories.all\":`Alle`,\"fieldSearch.empty.heading\":`Geen velden gevonden`,\"fieldSearch.empty.noMatchMetrics\":`Geen metingen match \"{searchTerm}\"`,\"fieldSearch.empty.noMatchDimensions\":`Geen dimensies match \"{searchTerm}\"`,\"fieldSearch.empty.noMetrics\":`Geen metingen beschikbaar`,\"fieldSearch.empty.noDimensions\":`Geen dimensies beschikbaar`,\"fieldSearch.section.recents\":`Recent`,\"fieldSearch.footer.metricsAvailable\":`metrieken beschikbaar`,\"fieldSearch.footer.fieldsAvailable\":`velden beschikbaar`,\"fieldSearch.footer.dimensionsAvailable\":`dimensies beschikbaar`,\"fieldSearch.shortcut.navigate\":`Navigeer`,\"fieldSearch.shortcut.keyEnter\":`Enter`,\"fieldSearch.shortcut.keyShift\":`Shift`,\"fieldSearch.shortcut.keyEsc\":`Esc`,\"fieldSearch.shortcut.plusClick\":`+Klik`,\"fieldSearch.shortcut.select\":`Selecteer`,\"fieldSearch.shortcut.multiSelect\":`Meerdere-selecteer`,\"fieldSearch.shortcut.close\":`Sluiten`,\"filter.group.condition\":`voorwaarde`,\"filter.group.conditions\":`voorwaarden`,\"filter.group.addFilter\":`Voeg Filter`,\"filter.group.addAndGroup\":`Voeg EN Groep`,\"filter.group.addOrGroup\":`Voeg OF Groep`,\"filter.group.removeGroup\":`Verwijderen groep`,\"filter.group.empty\":`Geen conditions in deze groep`,\"filter.group.addFilterLink\":`Voeg a filter`,\"filter.modal.title\":`Bewerken Filter`,\"filter.modal.fieldLabel\":`Veld`,\"filter.modal.operatorLabel\":`Operator`,\"filter.modal.valueLabel\":`Waarde`,\"filter.modal.selectRange\":`Selecteer range`,\"filter.modal.noValueRequired\":`Geen waarde vereist`,\"filter.modal.dateTo\":`naar`,\"filter.modal.min\":`Min`,\"filter.modal.to\":`naar`,\"filter.modal.max\":`Max`,\"filter.modal.enterNumber\":`Enter nummer`,\"filter.modal.loading\":`Laden...`,\"filter.modal.selectValue\":`Selecteer waarde...`,\"filter.modal.search\":`Zoeken...`,\"filter.modal.errorPrefix\":`Fout:`,\"filter.modal.noValues\":`Geen waarden gevonden`,\"filter.modal.multiSelectHint\":`Houd Shift ingedrukt om meerdere waarden te selecteren`,\"filter.modal.enterValue\":`Enter waarde...`,\"filter.removeButton.title\":`Verwijderen filter`,\"filter.section.clearAll\":`Wissen alle`,\"filter.section.dropHint\":`Sleep hierheen om filter toe te voegen`,\"filter.section.empty\":`Geen filters toegepast`,\"filter.valueDisplay.empty\":`(leeg)`,\"filter.valueDisplay.more\":`meer`,\"filter.operator.equals.label\":`gelijk aan`,\"filter.operator.equals.description\":`Exacte overeenkomst`,\"filter.operator.notEquals.label\":`niet gelijk aan`,\"filter.operator.notEquals.description\":`Komt niet overeen`,\"filter.operator.contains.label\":`bevat`,\"filter.operator.contains.description\":`Bevat tekst (hoofdletterongevoelig)`,\"filter.operator.notContains.label\":`niet bevat`,\"filter.operator.notContains.description\":`Bevat geen tekst`,\"filter.operator.startsWith.label\":`begint met`,\"filter.operator.startsWith.description\":`Begint met tekst`,\"filter.operator.notStartsWith.label\":`niet begint met`,\"filter.operator.notStartsWith.description\":`Begint niet met tekst`,\"filter.operator.endsWith.label\":`eindigt met`,\"filter.operator.endsWith.description\":`Eindigt met tekst`,\"filter.operator.notEndsWith.label\":`niet eindigt met`,\"filter.operator.notEndsWith.description\":`Eindigt niet met tekst`,\"filter.operator.like.label\":`like`,\"filter.operator.like.description\":`SQL LIKE pattern overeenkomstige (hoofdletter gevoelig)`,\"filter.operator.notLike.label\":`niet like`,\"filter.operator.notLike.description\":`SQL NIET LIKE pattern overeenkomstige (hoofdletter gevoelig)`,\"filter.operator.ilike.label\":`ilike`,\"filter.operator.ilike.description\":`SQL ILIKE pattern overeenkomstige (hoofdletter ongevoelig)`,\"filter.operator.gt.label\":`groter dan`,\"filter.operator.gt.description\":`Groter dan waarde`,\"filter.operator.gte.label\":`groter dan van gelijk`,\"filter.operator.gte.description\":`Groter dan van gelijk naar waarde`,\"filter.operator.lt.label\":`kleiner dan`,\"filter.operator.lt.description\":`Kleiner dan waarde`,\"filter.operator.lte.label\":`kleiner dan van gelijk`,\"filter.operator.lte.description\":`Kleiner dan van gelijk naar waarde`,\"filter.operator.between.label\":`tussen`,\"filter.operator.between.description\":`Tussen twee waarden (inclusive)`,\"filter.operator.notBetween.label\":`niet tussen`,\"filter.operator.notBetween.description\":`Niet tussen twee waarden`,\"filter.operator.in.label\":`in`,\"filter.operator.in.description\":`Komt overeen elke van de opgegeven waarden`,\"filter.operator.notIn.label\":`niet in`,\"filter.operator.notIn.description\":`Komt niet overeen elke van de opgegeven waarden`,\"filter.operator.set.label\":`is set`,\"filter.operator.set.description\":`Is niet nul/leeg`,\"filter.operator.notSet.label\":`is niet set`,\"filter.operator.notSet.description\":`Is nul/leeg`,\"filter.operator.isEmpty.label\":`is leeg`,\"filter.operator.isEmpty.description\":`Is leeg tekenreeks van nul`,\"filter.operator.isNotEmpty.label\":`is niet leeg`,\"filter.operator.isNotEmpty.description\":`Is niet leeg tekenreeks en niet nul`,\"filter.operator.inDateRange.label\":`in datum bereik`,\"filter.operator.inDateRange.description\":`Tussen twee dates`,\"filter.operator.beforeDate.label\":`voor datum`,\"filter.operator.beforeDate.description\":`Voor opgegeven datum`,\"filter.operator.afterDate.label\":`na datum`,\"filter.operator.afterDate.description\":`Na opgegeven datum`,\"filter.operator.regex.label\":`komt overeen regex`,\"filter.operator.regex.description\":`Komt overeen reguliere expressie pattern`,\"filter.operator.notRegex.label\":`niet komt overeen regex`,\"filter.operator.notRegex.description\":`Komt niet overeen reguliere expressie pattern`,\"filter.operator.arrayContains.label\":`array bevat alle`,\"filter.operator.arrayContains.description\":`Array veld bevat alle opgegeven waarden (PostgreSQL alleen)`,\"filter.operator.arrayOverlaps.label\":`array bevat elke`,\"filter.operator.arrayOverlaps.description\":`Array veld bevat elke van de opgegeven waarden (PostgreSQL alleen)`,\"filter.operator.arrayContained.label\":`array waarden in`,\"filter.operator.arrayContained.description\":`Alle array veld waarden vallen binnen specified waarden (PostgreSQL only)`,\"dateRange.custom\":`Aangepast`,\"dateRange.today\":`Vandaag`,\"dateRange.yesterday\":`Gisteren`,\"dateRange.thisWeek\":`Deze week`,\"dateRange.thisMonth\":`Deze maand`,\"dateRange.thisQuarter\":`Deze quarter`,\"dateRange.thisYear\":`Deze jaar`,\"dateRange.last7Days\":`Laatste 7 days`,\"dateRange.last30Days\":`Laatste 30 days`,\"dateRange.lastNDays\":`Laatste N days`,\"dateRange.lastWeek\":`Laatste week`,\"dateRange.lastNWeeks\":`Laatste N weeks`,\"dateRange.lastMonth\":`Laatste month`,\"dateRange.last12Months\":`Laatste 12 months`,\"dateRange.lastNMonths\":`Laatste N months`,\"dateRange.lastQuarter\":`Laatste quarter`,\"dateRange.lastNQuarters\":`Laatste N quarters`,\"dateRange.lastYear\":`Laatste jaar`,\"dateRange.lastNYears\":`Laatste N years`,\"timeGranularity.hour\":`Uur`,\"timeGranularity.day\":`Dag`,\"timeGranularity.week\":`Week`,\"timeGranularity.month\":`Maand`,\"timeGranularity.quarter\":`Kwartaal`,\"timeGranularity.year\":`Jaar`,\"query.limit.label\":`Limiet`,\"query.limit.clear\":`Wissen`,\"chart.bar.label\":`Staaf Grafiek`,\"chart.bar.description\":`Vergelijk waarden over categorieën`,\"chart.bar.useCase\":`Beste voor het vergelijken van discrete categorieën, het tonen van ranglijsten of het weergeven van wijzigingen in de tijd`,\"chart.line.label\":`Lijn Grafiek`,\"chart.line.description\":`Toon trends en wijzigingen in de tijd`,\"chart.line.useCase\":`Beste voor doorlopende gegevens, trends, time reeksen, en toont relationships tussen multiple reeksen`,\"chart.area.label\":`Area Grafiek`,\"chart.area.description\":`Benadruk de omvang van veranderingen in de tijd`,\"chart.area.useCase\":`Beste voor het tonen van cumulatieve totalen, volumewijzigingen of gestapelde vergelijkingen in de tijd`,\"chart.pie.label\":`Taart Grafiek`,\"chart.pie.description\":`Toon proportions of a whole`,\"chart.pie.useCase\":`Beste voor toont percentage distribution of composition of a totaal (limit naar 5-7 slices)`,\"chart.scatter.label\":`Spreiding Plot`,\"chart.scatter.description\":`Reveal correlations tussen variables`,\"chart.scatter.useCase\":`Beste voor identifying patterns, correlations, outliers, en relationships tussen two metingen`,\"chart.bubble.label\":`Bubble Grafiek`,\"chart.bubble.description\":`Vergelijk three dimensies of gegevens`,\"chart.bubble.useCase\":`Beste voor toont relationships tussen three variables (X, Y, en size), market analyse`,\"chart.radar.label\":`Radar Grafiek`,\"chart.radar.description\":`Vergelijk meerdere metingen over categorieën`,\"chart.radar.useCase\":`Beste voor multivariate comparisons, prestatie metingen, strengths/weaknesses analyse`,\"chart.radialBar.label\":`Radial Staaf Grafiek`,\"chart.radialBar.description\":`Circular voortgang en KPI visualisatie`,\"chart.radialBar.useCase\":`Beste voor toont voortgang toward doelen, KPIs, of comparing percentages in a compact form`,\"chart.treemap.label\":`Boomkaart`,\"chart.treemap.description\":`Visualise hierarchical gegevens met nested rectangles`,\"chart.treemap.useCase\":`Beste voor toont part-naar-whole relationships in hierarchical gegevens, disk usage, budget allocation`,\"chart.table.label\":`Gegevens Tabel`,\"chart.table.description\":`Weergave gedetailleerde tabular gegevens`,\"chart.table.useCase\":`Beste voor precise waarden, gedetailleerde analyse, sortable/filterable gegevens exploration`,\"chart.activityGrid.label\":`Activiteit Raster`,\"chart.activityGrid.description\":`GitHub-stijl activiteitenraster dat temporele patronen over verschillende tijdschalen toont`,\"chart.activityGrid.useCase\":`Beste voor het visualiseren van activiteitspatronen in de tijd. Ondersteunt uur (3-uursblokken × dagen), dag (dagen × weken), week (weken × maanden), maand (maanden × kwartalen) en kwartaal (kwartalen × jaren) granulariteit`,\"chart.kpiNumber.label\":`KPI Nummer`,\"chart.kpiNumber.description\":`Weergave key prestatie indicators as large numbers`,\"chart.kpiNumber.useCase\":`Perfect voor toont belangrijk metrieken like omzet, gebruiker aantal, van andere sleutel business metrieken in een prominent, easy-naar-read format`,\"chart.kpiDelta.label\":`KPI-delta`,\"chart.kpiDelta.description\":`Weergave change tussen latest en previous waarden met trend indicators`,\"chart.kpiDelta.useCase\":`Ideaal voor het tonen van prestatieveranderingen in de tijd, zoals omzetgroei, wijzigingen in gebruikersacquisitie en andere metrieken waarbij trend en delta belangrijker zijn dan de absolute waarde`,\"chart.kpiText.label\":`KPI Tekst`,\"chart.kpiText.description\":`Weergave key prestatie indicators as customisable text`,\"chart.kpiText.useCase\":`Perfect voor toont metrieken met custom formatting, combining meerdere waarden, van displaying contextual KPI information met templates`,\"chart.markdown.label\":`Markdown`,\"chart.markdown.description\":`Weergave custom markdown content met formatting`,\"chart.markdown.useCase\":`Perfect voor adding documentation, notes, section kopteksten, instructions, van formatted tekst naar dashboards`,\"chart.funnel.label\":`Funnel Grafiek`,\"chart.funnel.description\":`Toon conversion through sequential stappen`,\"chart.funnel.useCase\":`Beste voor visualiseren user journey funnels, verkoop pipelines, of meerdere-stap processes`,\"chart.sankey.label\":`Sankey Grafiek`,\"chart.sankey.description\":`Toon flow tussen states of stappen`,\"chart.sankey.useCase\":`Beste voor visualiseren user journey flows, pad analyse, of state transitions`,\"chart.sunburst.label\":`Sunburst Grafiek`,\"chart.sunburst.description\":`Toon hierarchical flow as radial rings`,\"chart.sunburst.useCase\":`Beste voor visualiseren forward paden van a startende gebeurtenis in a compact radial layout`,\"chart.heatmap.label\":`Heatmap`,\"chart.heatmap.description\":`Visualiseer intensiteit over twee dimensies`,\"chart.heatmap.useCase\":`Beste voor toont patterns in matrix gegevens like correlations, schedules, of categorie comparisons`,\"chart.retentionHeatmap.label\":`Retentie Matrix`,\"chart.retentionHeatmap.description\":`Cohort retentie matrix visualisatie`,\"chart.retentionHeatmap.useCase\":`Visualiseer gebruikersretentie in de tijd per cohort`,\"chart.retentionCombined.label\":`Retentie Grafiek`,\"chart.retentionCombined.description\":`Combined retentie visualisatie met lijngrafiek en heatmap modes`,\"chart.retentionCombined.useCase\":`Visualiseer gebruikersretentie in de tijd met optionele segmentatie naar uitsplitsing`,\"chart.boxPlot.label\":`Boxplot`,\"chart.boxPlot.description\":`Toon statistische verdeling (mediaan, IQR, whiskers) over categorieën`,\"chart.boxPlot.useCase\":`Beste voor P&L-spreiding per symbool, verdeling van handelsgrootte en latentieverdeling over platforms`,\"chart.waterfall.label\":`Waterfall Grafiek`,\"chart.waterfall.description\":`Toon cumulative effect of sequential positive en negative waarden`,\"chart.waterfall.useCase\":`Beste voor P&L decomposition, cash flow analyse, budget variance, of elke sequential contribution breakdown`,\"chart.candlestick.label\":`Candlestick Grafiek`,\"chart.candlestick.description\":`Financial candlestick grafiek toont openen/sluiten body en hoog/laag wicks`,\"chart.candlestick.useCase\":`Beste voor EOD quotes (bid/ask spread per date/symbol), markout distribution bands, of OHLC price gegevens`,\"chart.measureProfile.label\":`Meting Profile`,\"chart.measureProfile.description\":`Plot N metingen als opeenvolgende X-aspunten om een profiel of vorm over intervallen te visualiseren`,\"chart.measureProfile.useCase\":`Beste voor markout-intervalanalyse (bijv. avgMinus2m → avgAtEvent → avgPlus2h), metricprofielen of elk patroon over geordende metingen`,\"chart.gauge.label\":`Gauge Grafiek`,\"chart.gauge.description\":`Half-circle arc meter voor een enkele KPI waarde versus een maximum target`,\"chart.gauge.useCase\":`Beste voor hoogwatermerken vs equity, margin utilisation, of elke enkele waarde voortgang toward a doel`,\"chart.config.chartType\":`Grafiek Type`,\"chart.config.loading\":`Laden grafiek configuratie...`,\"chart.config.axisConfig\":`Grafiek Configuration`,\"chart.config.unassigned\":`Unassigned Velden`,\"chart.config.unassignedHint\":`Drag velden naar grafiek axes above`,\"chart.config.noFields\":`Voeg metingen en uitsplitsingen toe in het tabblad Query om grafiekassen te configureren`,\"chart.dropZone.xAxis.label\":`X-As (Categorieën)`,\"chart.dropZone.xAxis.description\":`Dimensies en time dimensies voor grouping`,\"chart.dropZone.xAxis.empty\":`Sleep dimensies & tijd dimensies hier`,\"chart.dropZone.yAxis.label\":`Y-As (Waarden)`,\"chart.dropZone.yAxis.description\":`Metingen voor waarden of dimensies voor reeksen`,\"chart.dropZone.yAxis.empty\":`Sleep metingen van dimensies hier`,\"chart.dropZone.series.label\":`Reeks (Splits naar Multiple Reeks)`,\"chart.dropZone.series.description\":`Dimensies naar create separate gegevens reeksen`,\"chart.dropZone.series.empty\":`Sleep dimensies hier naar splits gegevens naar reeksen`,\"chart.dropZone.maxReached\":`Maximaal aantal items bereikt`,\"chart.dropZone.default.empty\":`Sleep velden hierheen`,\"chart.bar.dropZone.xAxis.empty\":`Sleep dimensies & tijdsdimensies hierheen`,\"chart.bar.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.bar.dropZone.series.empty\":`Sleep dimensies hierheen om gegevens in reeksen te splitsen`,\"chart.line.dropZone.xAxis.empty\":`Sleep tijdsdimensies of dimensies hierheen`,\"chart.line.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.line.dropZone.series.empty\":`Sleep dimensies hierheen voor meerdere lijnen`,\"chart.area.dropZone.xAxis.empty\":`Sleep tijdsdimensies of dimensies hierheen`,\"chart.area.dropZone.yAxis.empty\":`Sleep metingen hierheen`,\"chart.area.dropZone.series.empty\":`Sleep dimensies hierheen voor gestapelde gebieden`,\"chart.pie.dropZone.xAxis.empty\":`Sleep een dimensie voor categorieën`,\"chart.pie.dropZone.yAxis.empty\":`Sleep een meting voor waarden`,\"chart.scatter.dropZone.xAxis.empty\":`Sleep een veld voor X-as`,\"chart.scatter.dropZone.yAxis.empty\":`Sleep een meting voor Y-as`,\"chart.scatter.dropZone.series.empty\":`Sleep een dimensie om punten te kleuren`,\"chart.bubble.dropZone.xAxis.empty\":`Sleep een veld voor X-aspositie`,\"chart.bubble.dropZone.yAxis.empty\":`Sleep een meting voor Y-aspositie`,\"chart.bubble.dropZone.sizeField.empty\":`Sleep een meting voor bellengrootte`,\"chart.bubble.dropZone.series.empty\":`Sleep een dimensie voor bellenlabels`,\"chart.bubble.dropZone.colorField.empty\":`Sleep een veld voor bellenkleur (optioneel)`,\"chart.radar.dropZone.xAxis.empty\":`Sleep dimensies voor radarassen`,\"chart.radar.dropZone.yAxis.empty\":`Sleep metingen voor waarden`,\"chart.radar.dropZone.series.empty\":`Sleep dimensies voor meerdere vormen`,\"chart.radialBar.dropZone.xAxis.empty\":`Sleep dimensies voor categorieën`,\"chart.radialBar.dropZone.yAxis.empty\":`Sleep een meting voor waarden`,\"chart.treemap.dropZone.xAxis.empty\":`Sleep dimensies voor categorieën`,\"chart.treemap.dropZone.yAxis.empty\":`Sleep een meting voor grootte`,\"chart.treemap.dropZone.series.empty\":`Sleep een dimensie voor kleurgroepering`,\"chart.table.dropZone.xAxis.empty\":`Sleep velden om als kolommen weer te geven (of laat leeg voor alles)`,\"chart.activityGrid.dropZone.dateField.empty\":`Sleep een tijdsdimensie (granulariteit beïnvloedt rasterstructuur)`,\"chart.activityGrid.dropZone.valueField.empty\":`Sleep een meting voor activiteitsintensiteit`,\"chart.kpiNumber.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.kpiDelta.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.kpiDelta.dropZone.xAxis.empty\":`Sleep een dimensie voor ordening`,\"chart.kpiText.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.funnel.dropZone.xAxis.empty\":`Stappen gedefinieerd in trechterconfig`,\"chart.funnel.dropZone.yAxis.empty\":`Tellingen berekend uit trechteruitvoering`,\"chart.sankey.dropZone.xAxis.empty\":`Automatisch ingevuld vanuit stroomconfig`,\"chart.sankey.dropZone.yAxis.empty\":`Berekend vanuit stroomuitvoering`,\"chart.sunburst.dropZone.xAxis.empty\":`Automatisch ingevuld vanuit stroomconfig`,\"chart.sunburst.dropZone.yAxis.empty\":`Berekend vanuit stroomuitvoering`,\"chart.heatmap.dropZone.xAxis.empty\":`Sleep één dimensie hierheen`,\"chart.heatmap.dropZone.yAxis.empty\":`Sleep één dimensie hierheen`,\"chart.heatmap.dropZone.valueField.empty\":`Sleep één meting hierheen`,\"chart.boxPlot.dropZone.xAxis.empty\":`Sleep een dimensie hierheen`,\"chart.boxPlot.dropZone.yAxis.empty\":`Sleep 1, 3 of 5 metingen hierheen`,\"chart.waterfall.dropZone.xAxis.empty\":`Sleep een dimensie hierheen`,\"chart.waterfall.dropZone.yAxis.empty\":`Sleep een meting hierheen`,\"chart.candlestick.dropZone.xAxis.empty\":`Sleep een tijd- of dimensie hierheen`,\"chart.candlestick.dropZone.yAxis.empty\":`Sleep 2+ metingen hierheen`,\"chart.measureProfile.dropZone.yAxis.empty\":`Sleep 2+ metingen hierheen (weergegeven links → rechts)`,\"chart.measureProfile.dropZone.series.empty\":`Sleep een dimensie hierheen om meerdere lijnen te maken`,\"chart.gauge.dropZone.yAxis.empty\":`Sleep 1 meting hierheen (optioneel 2e voor dynamisch max)`,\"chart.activityGrid.validation.timeDimensionRequired\":`Tijdsdimensie is vereist voor activiteitsraster`,\"chart.activityGrid.validation.measureRequired\":`Activiteitsmeting is vereist voor intensiteitstoewijzing`,\"chart.kpiDelta.validation.measureRequired\":`Een meting is vereist voor KPI Delta-grafieken`,\"chart.heatmap.validation.xAxisRequired\":`X-as dimensie vereist`,\"chart.heatmap.validation.yAxisRequired\":`Y-as dimensie vereist`,\"chart.heatmap.validation.valueRequired\":`Waardemeting vereist`,\"chart.option.stacking.label\":`Stapeling`,\"chart.option.stacking.none\":`Geen`,\"chart.option.stacking.stacked\":`Gestapeld`,\"chart.option.stacking.percent\":`Gestapeld 100%`,\"chart.option.stacking.description\":`Hoe naar stack meerdere reeksen`,\"chart.option.target.label\":`Doelwaardes`,\"chart.option.target.description\":`Enkele waarde of door komma's gescheiden waarden om over de X-as te spreiden`,\"chart.option.connectNulls.label\":`Verbind null-waarden`,\"chart.option.connectNulls.description\":`Tekenen doorlopende regel through ontbrekend gegevens punten`,\"chart.option.showAllXLabels.label\":`Toon alle X-labels`,\"chart.option.showAllXLabels.description\":`Toon elk label op de X-as in plaats van overlappende labels automatisch te verbergen`,\"chart.option.leftYAxisFormat.label\":`Left Y-As Format`,\"chart.option.leftYAxisFormat.description\":`Nummer formatting voor left Y-axis`,\"chart.option.rightYAxisFormat.label\":`Right Y-As Format`,\"chart.option.rightYAxisFormat.description\":`Nummer formatting voor right Y-axis`,\"chart.option.xAxisFormat.label\":`X-As Format`,\"chart.option.xAxisFormat.description\":`Nummer formatting voor X-axis`,\"chart.option.yAxisFormat.label\":`Y-As Format`,\"chart.option.yAxisFormat.description\":`Nummer formatting voor Y-axis`,\"chart.option.valueFormat.label\":`Waarde Format`,\"chart.option.valueFormat.description\":`Nummer formatting voor waarden`,\"chart.option.innerRadius.label\":`Binnenradius`,\"chart.option.innerRadius.description\":`Hollow centre grootte (0% = solid pie, higher = donut style)`,\"chart.option.showLabels.label\":`Toon Cell Waarden`,\"chart.option.showLabels.description\":`Weergave waarden inside each cell`,\"chart.option.cellShape.label\":`Celvorm`,\"chart.option.cellShape.rectangle\":`Rechthoek`,\"chart.option.cellShape.circle\":`Cirkel`,\"chart.option.funnelStyle.label\":`Trechterstijl`,\"chart.option.funnelStyle.bars\":`Balken`,\"chart.option.funnelStyle.funnel\":`Trechter`,\"chart.option.funnelOrientation.label\":`Oriëntatie`,\"chart.option.funnelOrientation.horizontal\":`Horizontaal`,\"chart.option.funnelOrientation.vertical\":`Verticaal`,\"chart.option.hideSummaryFooter.label\":`Verbergen Samenvatting Footer`,\"chart.option.hideSummaryFooter.description\":`Verberg de samenvattingsfooter die het aantal stappen en de totale conversie toont`,\"chart.option.showConversion.label\":`Toon Conversion Rate`,\"chart.option.showConversion.description\":`Weergave stap-naar-stap conversion percentage`,\"chart.option.showAvgTime.label\":`Toon Avg Tijd`,\"chart.option.showAvgTime.description\":`Weergave average time naar convert`,\"chart.option.showMedianTime.label\":`Toon Median Tijd`,\"chart.option.showMedianTime.description\":`Weergave median time naar convert`,\"chart.option.showP90Time.label\":`Toon P90 Tijd`,\"chart.option.showP90Time.description\":`Weergave 90th percentile time naar convert`,\"chart.option.linkOpacity.label\":`Link-opaciteit`,\"chart.option.linkOpacity.light\":`Licht`,\"chart.option.linkOpacity.medium\":`Gemiddeld`,\"chart.option.linkOpacity.dark\":`Donker`,\"chart.option.showNodeLabels.label\":`Toon Node Labels`,\"chart.option.showNodeLabels.description\":`Weergave labels on flow nodes`,\"chart.option.prefix.label\":`Voorvoegsel`,\"chart.option.prefix.description\":`Tekst om vóór het getal weer te geven`,\"chart.option.suffix.label\":`Achtervoegsel`,\"chart.option.suffix.description\":`Tekst om na het getal weer te geven`,\"chart.option.decimals.label\":`Aantal decimalen`,\"chart.option.decimals.description\":`Nummer of decimal places naar weergeven`,\"chart.option.showHistogram.label\":`Toon Variance Histogram`,\"chart.option.showHistogram.description\":`Toon historische variantiegrafiek onder de delta`,\"chart.option.useLastCompletePeriod.label\":`Gebruik Laatste Voltooid Periode`,\"chart.option.useLastCompletePeriod.description\":`Exclude current incomplete periode van calculation (e.g., partial week/maand)`,\"chart.option.skipLastPeriod.label\":`Skip Laatste Periode`,\"chart.option.skipLastPeriod.description\":`Always exclude de laatste periode regardless van completeness`,\"chart.option.retentionDisplayMode.label\":`Weergave Mode`,\"chart.option.retentionDisplayMode.lineChart\":`Lijn Grafiek`,\"chart.option.retentionDisplayMode.heatmapTable\":`Heatmap Tabel`,\"chart.option.retentionDisplayMode.combined\":`Gecombineerd`,\"chart.option.showLegend.label\":`Toon Legenda`,\"chart.option.showLegend.description\":`Toon de legenda`,\"chart.option.showGrid.label\":`Toon Grid`,\"chart.option.showGrid.description\":`Toon rasterlijnen op de grafiek`,\"chart.option.showTooltip.label\":`Toon Tooltip`,\"chart.option.showTooltip.description\":`Toon tooltip on zweef met gedetailleerde stats`,\"chart.option.priorPeriodStyle.label\":`Prior Periode Lijn Style`,\"chart.option.priorPeriodStyle.dashed\":`Gestreept`,\"chart.option.priorPeriodStyle.dotted\":`Gestippeld`,\"chart.option.priorPeriodStyle.solid\":`Vol`,\"chart.option.priorPeriodStyle.description\":`Lijn style voor prior period in comparison mode`,\"chart.option.priorPeriodOpacity.label\":`Prior Periode Opacity`,\"chart.option.priorPeriodOpacity.description\":`Opacity voor prior periode lines (0.1 naar 1)`,\"chart.option.showTotal.label\":`Toon Totaal Staaf`,\"chart.option.showTotal.description\":`Append een final staaf toont de draaiend totaal`,\"chart.option.showConnectorLine.label\":`Toon Connector Lijn`,\"chart.option.showConnectorLine.description\":`Tekenen een dashed stap-regel connecting staaf tops`,\"chart.option.showDataLabels.label\":`Toon Gegevens Labels`,\"chart.option.showDataLabels.description\":`Toon de waarde bij elk datapunt`,\"chart.option.showReferenceLineAtZero.label\":`Toon Zero Reference Lijn`,\"chart.option.showReferenceLineAtZero.description\":`Tekenen een dashed regel bij Y = 0`,\"chart.option.lineType.label\":`Lijn Interpolation`,\"chart.option.lineType.smooth\":`Vloeiend (monotoon)`,\"chart.option.lineType.linear\":`Lineair`,\"chart.option.lineType.step\":`Stap`,\"chart.option.lineType.description\":`Hoe gegevens punten zijn connected`,\"chart.option.rangeMode.label\":`Grafiek Mode`,\"chart.option.rangeMode.ohlc\":`OHLC (openen, sluiten, hoog, laag)`,\"chart.option.rangeMode.range\":`Bereik (hoog, laag / bid, ask)`,\"chart.option.rangeMode.description\":`OHLC: 4 metingen. Bereik: 2 metingen (hoog + laag).`,\"chart.option.bullColor.label\":`Bullish Kleur`,\"chart.option.bullColor.description\":`Candle kleur when sluiten ≥ openen`,\"chart.option.bearColor.label\":`Bearish Kleur`,\"chart.option.bearColor.description\":`Candle kleur when sluiten < openen`,\"chart.option.showWicks.label\":`Toon Wicks`,\"chart.option.showWicks.description\":`Tekenen hoog/laag wicks above en onder de body`,\"chart.option.minValue.label\":`Minimum Waarde`,\"chart.option.minValue.description\":`Lower bound van de meter arc (standaard 0)`,\"chart.option.maxValue.label\":`Maximum Waarde (static)`,\"chart.option.maxValue.description\":`Upper bound van de meter. Leave leeg naar use yAxis[1] van standaard 100`,\"chart.option.showCentreLabel.label\":`Toon Centre Label`,\"chart.option.showCentreLabel.description\":`Toon huidige waarde en veldnaam in het midden van de gauge`,\"chart.option.showPercentage.label\":`Toon as Percentage`,\"chart.option.showPercentage.description\":`Weergave waarde as % of max instead of raw number`,\"chart.option.fitToWidth.label\":`Fit naar Width`,\"chart.option.fitToWidth.description\":`Automatically grootte blocks naar fill portlet width en hoogte while maintaining aspect ratio`,\"chart.option.fontSize.label\":`Font Grootte`,\"chart.option.fontSize.small\":`Klein`,\"chart.option.fontSize.medium\":`Gemiddeld`,\"chart.option.fontSize.large\":`Groot`,\"chart.option.alignment.label\":`Tekst Alignment`,\"chart.option.alignment.left\":`Links`,\"chart.option.alignment.center\":`Midden`,\"chart.option.alignment.right\":`Rechts`,\"chart.option.hideHeader.label\":`Verbergen Header`,\"chart.option.hideHeader.description\":`Verberg de portlet-headerbalk (titel en actieknoppen)`,\"chart.option.transparentBackground.label\":`Transparante achtergrond`,\"chart.option.transparentBackground.description\":`Verwijderen card background, border, en shadow voor seamless integration as section headers`,\"chart.option.autoHeight.label\":`Automatisch Hoogte`,\"chart.option.autoHeight.description\":`In rij en mobile layouts, grootte naar markdown content instead van fixed rij hoogte`,\"chart.option.accentBorder.label\":`Accentrand`,\"chart.option.accentBorder.none\":`Geen`,\"chart.option.accentBorder.left\":`Links`,\"chart.option.accentBorder.top\":`Boven`,\"chart.option.accentBorder.bottom\":`Onderkant`,\"chart.option.accentBorder.description\":`Voeg een accentkleurige rand toe aan één zijde van de inhoud`,\"chart.configText.20_percent\":`20%`,\"chart.configText.40_percent\":`40%`,\"chart.configText.60_percent\":`60%`,\"chart.configText.80_percent\":`80%`,\"chart.configText.accent_color\":`Accentkleur`,\"chart.configText.activity_measure\":`Activiteitsmeetwaarde`,\"chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li\":`Voeg 2 of meer meetwaarden toe — ze worden de X-as-categorieen in de opgegeven volgorde`,\"chart.configText.add_an_accent_colored_border_on_one_side_of_the_content\":`Voeg een accentgekleurde rand toe aan een zijde van de inhoud`,\"chart.configText.all_fields_to_display_as_columns\":`Alle velden om als kolommen weer te geven`,\"chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers\":`Array van {value (0-1 fractie), color}-banden, getoond als markeringen op de buitenste boog`,\"chart.configText.axes_categories\":`Assen (Categorieen)`,\"chart.configText.bubble_colour\":`Bubbelkleur`,\"chart.configText.bubble_labels\":`Bubbellabels`,\"chart.configText.bubble_radius\":`Bubbelstraal`,\"chart.configText.categories\":`Categorieen`,\"chart.configText.choose_how_to_visualize_retention_data\":`Kies hoe retentiedata wordt gevisualiseerd`,\"chart.configText.color_bubbles_by_this_field_optional\":`Kleur bubbels op basis van dit veld (optioneel)`,\"chart.configText.color_for_negative_changes_decreases\":`Kleur voor negatieve veranderingen (dalingen)`,\"chart.configText.color_for_positive_changes_increases\":`Kleur voor positieve veranderingen (stijgingen)`,\"chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links\":`Kleur uit het dashboardpalet voor koppen, opsommingstekens en links`,\"chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text\":`Kleur uit het dashboardpalet voor de KPI-waardetekst`,\"chart.configText.color_groups\":`Kleurgroepen`,\"chart.configText.columns\":`Kolommen`,\"chart.configText.columns_x_axis\":`Kolommen (X-as)`,\"chart.configText.count_at_each_step_auto_calculated\":`Aantal per stap (automatisch berekend)`,\"chart.configText.count_of_entities_following_each_path\":`Aantal entiteiten dat elk pad volgt`,\"chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used\":`Huidige waarde om op de meter te tonen (bijv. huidige equity, gebruikte marge)`,\"chart.configText.dimension_for_column_categories\":`Dimensie voor kolomcategorieen`,\"chart.configText.dimension_for_ordering_data_typically_time\":`Dimensie voor het ordenen van data (meestal tijd)`,\"chart.configText.dimension_for_pie_slices\":`Dimensie voor taartsegmenten`,\"chart.configText.dimension_for_row_categories\":`Dimensie voor rijcategorieen`,\"chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type\":`Dimensielabels voor elk staafsegment (bijv. symbool, transactietype)`,\"chart.configText.dimension_optional\":`Dimensie (optioneel)`,\"chart.configText.dimension_to_color_points_by_category\":`Dimensie om punten per categorie te kleuren`,\"chart.configText.dimension_to_color_rectangles_by_category\":`Dimensie om rechthoeken per categorie te kleuren`,\"chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform\":`Dimensie om boxen op te groeperen (bijv. symbool, platform)`,\"chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform\":`Dimensie om data op te splitsen in aparte profiellijnen (bijv. symbool, platform)`,\"chart.configText.dimensions_for_radar_axes\":`Dimensies voor radarassen`,\"chart.configText.dimensions_for_radial_segments\":`Dimensies voor radiale segmenten`,\"chart.configText.dimensions_for_treemap_rectangles\":`Dimensies voor treemap-rechthoeken`,\"chart.configText.dimensions_to_create_multiple_radar_shapes\":`Dimensies om meerdere radarvormen te maken`,\"chart.configText.dimensions_to_create_separate_lines\":`Dimensies om afzonderlijke lijnen te maken`,\"chart.configText.dimensions_to_create_stacked_areas\":`Dimensies om gestapelde gebieden te maken`,\"chart.configText.display_the_value_above_each_bar_segment\":`Toon de waarde boven elk staafsegment`,\"chart.configText.display_value_at_each_data_point\":`Toon de waarde bij elk datapunt`,\"chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q\":`Sleep 1 meetwaarde voor automatische modus, 3 voor avg/stddev/mediaanmodus, of 5 voor min/q1/mediaan/q3/max-modus`,\"chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_\":`Sleep 2-4 meetwaarden in deze volgorde: open, close, high, low (OHLC-modus). Sleep voor bereikmodus 2: high, low.`,\"chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur\":`Voer markdowntekst in. Ondersteunt koppen (#), vet (**tekst**), cursief (*tekst*), links ([tekst](url)), lijsten (- item) en horizontale lijnen (---).`,\"chart.configText.event_dimension_that_categorizes_flow_nodes\":`Eventdimensie die flowknooppunten categoriseert`,\"chart.configText.event_type\":`Eventtype`,\"chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont\":`Sluit de huidige onvolledige periode uit van aggregatie (bijv. gedeeltelijke week/maand)`,\"chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee\":`Sluit de huidige onvolledige periode uit van deltaberekening (bijv. gedeeltelijke week/maand)`,\"chart.configText.field_to_use_for_bubble_labels_and_identification\":`Veld voor bubbellabels en identificatie`,\"chart.configText.flow_count\":`Flowaantal`,\"chart.configText.hide_the_statistics_footer_below_the_chart\":`Verberg de statistiekfooter onder de grafiek`,\"chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style\":`Grootte van het holle midden (0% = volle taart, hoger = donutstijl)`,\"chart.configText.horizontal_alignment_of_the_markdown_content\":`Horizontale uitlijning van de markdowninhoud`,\"chart.configText.horizontal_axis_position\":`Horizontale aspositie`,\"chart.configText.how_to_stack_multiple_area_series\":`Hoe meerdere gebiedsreeksen te stapelen`,\"chart.configText.how_to_stack_multiple_bar_series\":`Hoe meerdere staafreeksen te stapelen`,\"chart.configText.markdown_content\":`Markdowninhoud`,\"chart.configText.measure_for_rectangle_sizes\":`Meetwaarde voor rechthoekgroottes`,\"chart.configText.measure_for_slice_sizes\":`Meetwaarde voor segmentgroottes`,\"chart.configText.measure_for_y_position\":`Meetwaarde voor Y-positie`,\"chart.configText.measure_or_dimension_for_x_position\":`Meetwaarde of dimensie voor X-positie`,\"chart.configText.measure_that_determines_cell_color\":`Meetwaarde die de celkleur bepaalt`,\"chart.configText.measure_to_display_as_kpi_number\":`Meetwaarde om als KPI-getal te tonen`,\"chart.configText.measure_to_display_in_the_kpi_text_template\":`Meetwaarde om in de KPI-tekstsjabloon te tonen`,\"chart.configText.measure_to_track_changes_for\":`Meetwaarde om veranderingen voor te volgen`,\"chart.configText.measure_used_for_activity_intensity_color_coding\":`Meetwaarde voor activiteitsintensiteit (kleurcodering)`,\"chart.configText.measures_for_area_values\":`Meetwaarden voor gebiedswaarden`,\"chart.configText.measures_for_bar_heights\":`Meetwaarden voor staafhoogtes`,\"chart.configText.measures_for_line_values\":`Meetwaarden voor lijnwaarden`,\"chart.configText.measures_for_radar_values\":`Meetwaarden voor radarwaarden`,\"chart.configText.measures_for_radial_bar_lengths\":`Meetwaarden voor lengtes van radiale staven`,\"chart.configText.measures_x_axis_order\":`Meetwaarden (X-asvolgorde)`,\"chart.configText.negative_change_color\":`Kleur bij negatieve verandering`,\"chart.configText.none_pie\":`Geen (Taart)`,\"chart.configText.number_formatting_for_cell_values_and_legend\":`Getalopmaak voor celwaarden en legenda`,\"chart.configText.number_formatting_for_numeric_values\":`Getalopmaak voor numerieke waarden`,\"chart.configText.number_formatting_for_size_values\":`Getalopmaak voor groottewaarden`,\"chart.configText.number_formatting_for_the_displayed_value_and_axis_labels\":`Getalopmaak voor de getoonde waarde en aslabels`,\"chart.configText.number_formatting_for_the_price_axis\":`Getalopmaak voor de prijsas`,\"chart.configText.number_formatting_for_the_value_axis\":`Getalopmaak voor de waarde-as`,\"chart.configText.number_formatting_for_the_y_axis\":`Getalopmaak voor de Y-as`,\"chart.configText.number_formatting_for_x_axis_labels\":`Getalopmaak voor X-aslabels`,\"chart.configText.number_formatting_for_y_axis_and_values\":`Getalopmaak voor Y-as en waarden`,\"chart.configText.number_formatting_for_y_axis_labels\":`Getalopmaak voor Y-aslabels`,\"chart.configText.number_of_decimal_places_to_display_for_numeric_values\":`Aantal decimalen om te tonen voor numerieke waarden`,\"chart.configText.ohlc_measures_open_close_high_low\":`OHLC-meetwaarden (open, close, high, low)`,\"chart.configText.opacity_of_flow_links\":`Dekking van flowlinks`,\"chart.configText.overall_text_size_for_the_markdown_content\":`Algemene tekstgrootte voor de markdowninhoud`,\"chart.configText.positive_change_color\":`Kleur bij positieve verandering`,\"chart.configText.rows_y_axis\":`Rijen (Y-as)`,\"chart.configText.series_color_groups\":`Reeksen (Kleurgroepen)`,\"chart.configText.series_multiple_lines\":`Reeksen (Meerdere lijnen)`,\"chart.configText.series_multiple_shapes\":`Reeksen (Meerdere vormen)`,\"chart.configText.series_split_into_multiple_lines\":`Reeksen (Opgesplitst in meerdere lijnen)`,\"chart.configText.series_stack_areas\":`Reeksen (Gebieden stapelen)`,\"chart.configText.show_series_legend_only_visible_with_a_series_dimension\":`Toon reekslegenda (alleen zichtbaar met een reeksdimensie)`,\"chart.configText.show_the_color_intensity_legend\":`Toon de legenda voor kleurintensiteit`,\"chart.configText.show_the_legend_for_breakdown_segments\":`Toon de legenda voor segmenten in uitsplitsing`,\"chart.configText.single_measure_whose_values_are_summed_cumulatively\":`Enkele meetwaarde waarvan de waarden cumulatief worden opgeteld`,\"chart.configText.size\":`Grootte`,\"chart.configText.size_of_bubbles_based_on_this_measure\":`Grootte van bubbels op basis van deze meetwaarde`,\"chart.configText.size_of_the_center_hole_0_for_full_circle\":`Grootte van het middengat (0 voor volledige cirkel)`,\"chart.configText.step_count\":`Stapaantal`,\"chart.configText.step_name\":`Stapnaam`,\"chart.configText.step_names_auto_populated_from_funnel_steps\":`Stapnamen (automatisch ingevuld vanuit funnelstappen)`,\"chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided\":`Doelwaarde om mee te vergelijken (eerste waarde wordt gebruikt als er meerdere zijn opgegeven)`,\"chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value\":\"Sjabloon voor het tonen van tekst. Gebruik ${value} om de meetwaarde in te voegen.\",\"chart.configText.text_template\":`Tekstsjabloon`,\"chart.configText.threshold_bands\":`Drempelbanden`,\"chart.configText.time_dimension\":`Tijddimensie`,\"chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol\":`Tijddimensie of categorie voor elke candle (bijv. datum, symbool)`,\"chart.configText.time_dimensions_or_dimensions_for_x_axis\":`Tijddimensies of dimensies voor de X-as`,\"chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout\":`Tijdveld dat de roosterstructuur bepaalt (granulariteit beinvloedt de layout)`,\"chart.configText.value\":`Waarde`,\"chart.configText.value_color\":`Waardekleur`,\"chart.configText.value_color_intensity\":`Waarde (Kleurintensiteit)`,\"chart.configText.value_measure\":`Waardemeetwaarde`,\"chart.configText.values\":`Waarden`,\"chart.configText.vertical_axis_position\":`Verticale aspositie`,\"chart.configText.visualization_style\":`Visualisatiestijl`,\"chart.configText.x_axis_groups\":`X-as (Groepen)`,\"chart.configText.x_axis_time_categories\":`X-as (Tijd/Categorieen)`,\"chart.configText.x_axis_time_category\":`X-as (Tijd / Categorie)`,\"chart.configText.y_axis\":`Y-as`,\"chart.configText.y_axis_measures\":`Y-as (Meetwaarden)`,\"chart.configText.y_axis_value\":`Y-as (Waarde)`,\"display.loading\":`Laden weergeven options...`,\"display.noOptions\":`Geen weergeven options beschikbaar voor deze grafiek type.`,\"display.heading\":`Weergave Opties`,\"results.loading.title\":`Query uitvoeren...`,\"results.loading.subtitle\":`Je query wordt uitgevoerd tegen de Cube API`,\"results.error.title\":`Query Uitvoering Mislukt`,\"results.error.subtitle\":`Er is een fout opgetreden bij het uitvoeren van je query. Controleer de query en probeer het opnieuw.`,\"results.waiting.title\":`Query voorbereiden...`,\"results.waiting.subtitle\":`Je query wordt zo uitgevoerd`,\"results.needsRefresh.title\":`Ready naar Execute`,\"results.needsRefresh.subtitle\":`Klik op vernieuwen om je query uit te voeren`,\"results.needsRefresh.runButton\":`Uitvoeren Query`,\"results.empty.query\":`Voeg metingen of uitsplitsingen toe vanuit het paneel rechts om resultaten te zien`,\"results.empty.retention\":`Selecteer een cube en configureer retentie-instellingen om resultaten te zien`,\"results.empty.funnel\":`Voeg funnelstappen toe om conversieanalyse te zien`,\"results.empty.flow\":`Configureer flowanalyse om gebruikerspaden te zien`,\"results.empty.title\":`Geen Resultaten Yet`,\"results.ai.button\":`Analyse met AI`,\"results.noData.title\":`Query geslaagd`,\"results.noData.subtitle\":`Geen gegevens geretourneerd door de query`,\"results.chart.noData\":`Geen gegevens om weer te geven`,\"results.chart.noDataHint\":`Voer een query uit om grafiekvisualisatie te zien`,\"results.chart.unsupported\":`Unsupported grafiek type`,\"results.refreshing\":`Vernieuwen resultaten...`,\"results.header.rows\":`rijen`,\"results.header.row\":`rij`,\"results.header.stale\":`Resultaten may be outdated`,\"results.header.failed\":`Query mislukt`,\"results.header.executing\":`Uitvoeren...`,\"results.header.noResults\":`Geen results`,\"results.view.chart\":`Grafiek`,\"results.view.merged\":`Samengevoegd`,\"results.warning.largeDataset\":`Groot dataset:`,\"results.warning.configChanged\":`Query configuratie changed. Resultaten may be outdated.`,\"results.warning.refreshNow\":`Vernieuwen Now`,\"results.share.copied\":`Gekopieerd!`,\"results.share.noChart\":`(geen grafiek)`,\"server.errors.dbNotConfigured\":`Database-executor is niet geconfigureerd`,\"server.errors.cubeNotFound\":`Cube '{cubeName}' niet gevonden`,\"server.errors.noCubesInQuery\":`Geen cubes gevonden in query`,\"server.errors.dbAdapterRequired\":`DatabaseExecutor moet hebben een databaseAdapter property`,\"server.errors.rlsRequiresTransactions\":`rlsSetup vereist een database driver dat ondersteunt transactions (db.transaction)`,\"server.errors.queryExecutionFailed\":`Query uitvoering mislukt: {message}`,\"server.errors.queryExecutionUnknown\":`Query-uitvoering mislukt: onbekende fout`,\"server.errors.noCompareDateRange\":`Geen compareDateRange gevonden in query`,\"server.errors.compareDateRangeInvalid\":`compareDateRange vereist bij minimaal 2 periodes`,\"server.errors.funnelValidationFailed\":`Funnel validatie mislukt: {errors}`,\"server.errors.flowValidationFailed\":`Flow validatie mislukt: {errors}`,\"server.errors.retentionValidationFailed\":`Retentie validatie mislukt: {errors}`,\"server.errors.cubeRefUnresolved\":`{cubeName}.joins.{joinName}: target cube '{targetCube}' is niet registered`,\"server.errors.unresolvedCubeRefs\":`Unresolved cube verwijzingen:\n{details}`,\"server.errors.calculatedMeasureValidation\":`Berekend meting validatie mislukt voor cube '{cubeName}':\n{details}`,\"server.errors.queryValidationFailed\":`Query validatie mislukt: {errors}`,\"server.errors.queryContainsMultipleModes\":`Query bevat meerdere query modes: {modes}`,\"server.errors.primaryCubeNotFound\":`Primary cube '{cubeName}' niet gevonden`,\"server.errors.noJoinPath\":`Geen join pad gevonden van '{fromCube}' naar '{toCube}'`,\"server.errors.cubeNotFoundForMeasure\":`Cube '{cubeName}' niet gevonden voor meting '{measure}'`,\"server.errors.cubeNotFoundForDimension\":`Cube '{cubeName}' niet gevonden voor dimensie '{dimension}'`,\"server.errors.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' niet gevonden voor tijd dimensie '{timeDimension}'`,\"server.errors.invalidFunnelConfig\":`Query is niet contain a valid funnel configuratie`,\"server.errors.invalidFlowConfig\":`Query is niet contain a valid flow configuratie`,\"server.errors.invalidRetentionConfig\":`Query is niet contain a valid retentie configuratie`,\"server.errors.llmInitFailed\":`Mislukt naar initialize LLM provider`,\"server.validation.ai.bindingKeyRequired.flow\":`flow.bindingKey is vereist`,\"server.validation.ai.bindingKeyRequired.funnel\":`funnel.bindingKey is vereist`,\"server.validation.ai.bindingKeyRequired.retention\":`retentie.bindingKey is vereist`,\"server.validation.ai.cubeNotFoundInFilter\":`Cube '{cubeName}' niet gevonden in filter`,\"server.validation.ai.cubeNotFoundWithAvailable\":`Cube '{cubeName}' niet gevonden`,\"server.validation.ai.cubeNotFoundWithSuggestion\":`Cube '{cubeName}' niet gevonden`,\"server.validation.ai.dimensionNotFoundWithAvailable\":`Dimensie '{dimensionName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.dimensionNotFoundWithSuggestion\":`Dimensie '{dimensionName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.dimensionNotTimeType\":`Dimensie '{dimension}' is not a time type (it's '{type}')`,\"server.validation.ai.emptyQuery\":`Query moet hebben bij minimaal één meting van dimensie`,\"server.validation.ai.eventDimensionRequired\":`flow.eventDimension is vereist`,\"server.validation.ai.filterFieldNotFound\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}'`,\"server.validation.ai.filterFieldNotFoundWithSuggestion\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}'`,\"server.validation.ai.funnelRequiresSteps\":`funnel vereist bij minimaal 2 stappen`,\"server.validation.ai.funnelStepsRequired\":`funnel.stappen array is vereist`,\"server.validation.ai.granularityNotSpecified\":`retentie.granularity not specified`,\"server.validation.ai.invalidDimensionFormat\":`Ongeldig dimensie format: '{dimension}'. Expected 'CubeName.dimensionName'`,\"server.validation.ai.invalidFilterMemberFormat\":`Ongeldig filter member format: '{member}'`,\"server.validation.ai.invalidMeasureFormat\":`Ongeldig meting format: '{measure}'. Expected 'CubeName.measureName'`,\"server.validation.ai.measureNotFoundWithAvailable\":`Meting '{measureName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.measureNotFoundWithSuggestion\":`Meting '{measureName}' not gevonden on cube '{cubeName}'`,\"server.validation.ai.performanceManyDimensions\":`Query heeft {count} dimensies, welke kan produce veel rijen`,\"server.validation.ai.performanceManyMeasures\":`Query heeft {count} metingen, welke kan impact prestatie`,\"server.validation.ai.periodsNotSpecified\":`retentie.periods not specified`,\"server.validation.ai.retentionTimeDimensionRequired\":`retentie.timeDimension is vereist`,\"server.validation.ai.stepMissingName\":`Stap {step} is ontbrekend a name`,\"server.validation.ai.stepsBothMissing\":`Neither stepsBefore nor stepsAfter opgegeven`,\"server.validation.ai.suggestAddDimensionFilters\":`Overweeg adding filters van reducing dimensies`,\"server.validation.ai.suggestAddStepNames\":`Voeg descriptive names naar funnel stappen`,\"server.validation.ai.suggestSetSteps\":`Set stepsBefore en/van stepsAfter naar zien gebeurtenis sequences`,\"server.validation.ai.suggestSpecifyGranularity\":`Specify granularity: \"day\", \"week\", van \"maand\"`,\"server.validation.ai.suggestSpecifyPeriods\":`Specify nummer van periodes naar analyze`,\"server.validation.ai.suggestSplitQueries\":`Overweeg splitting naar meerdere queries`,\"server.validation.ai.suggestUseTimeDimension\":`Gebruik a dimensie met type \"time\" voor timeDimensions`,\"server.validation.ai.timeDimensionRequired.flow\":`flow.timeDimension is vereist`,\"server.validation.ai.timeDimensionRequired.funnel\":`funnel.timeDimension is vereist`,\"server.validation.chart.barNeedsDimension\":`Staafgrafieken hebben een xAxis-dimensie nodig voor categorielabels. Voeg een dimensie toe aan de query of gebruik in plaats daarvan het grafiektype \"table\".`,\"server.validation.chart.barXAxisRequired\":`chartConfig.xAxis is vereist voor staaf grafieken. Put een dimensie in xAxis so bars hebben categorie labels.`,\"server.validation.chart.dropZoneRequired\":`chartConfig.{key} is vereist voor {chartType} grafiek ({label}). Accepts: {acceptDesc}.`,\"server.validation.chart.seriesDuplicatesXAxis\":`chartConfig.series mag niet hetzelfde veld bevatten als xAxis (gevonden: {duplicates}). Het series-veld is alleen bedoeld om te splitsen in gegroepeerde/gestapelde subseries met een ANDERE dimensie. Verwijder het duplicaat uit series.`,\"server.validation.flow.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.flow.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.flow.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.flow.eventDimCubeNotFound\":`Gebeurtenis dimensie cube not gevonden: {cubeName}`,\"server.validation.flow.eventDimNotFound\":`Gebeurtenis dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.flow.eventDimRequired\":`Gebeurtenis dimensie is vereist voor flow analyse`,\"server.validation.flow.highStepDepthWarning\":`Hoog stap depth (4-5) kan impact query prestatie op groot datasets`,\"server.validation.flow.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidEventDimFormat\":`Ongeldig gebeurtenis dimensie format: {eventDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.invalidJoinStrategy\":`Ongeldig joinStrategy: {joinStrategy}`,\"server.validation.flow.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.flow.lateralNotSupported\":`Lateral joins zijn niet supported op deze database`,\"server.validation.flow.lateralNotSupportedExec\":`Lateral joins met CTE verwijzingen zijn niet supported op deze database`,\"server.validation.flow.sqliteNotSupported\":`Flow queries zijn niet supported on SQLite. Gebruik PostgreSQL of MySQL voor flow analyse.`,\"server.validation.flow.startingStepFilterRequired\":`Startende stap moet hebben bij minimaal één filter`,\"server.validation.flow.startingStepNameMissing\":`Startende stap heeft geen naam - met standaard`,\"server.validation.flow.startingStepRequired\":`Startende stap is vereist voor flow analyse`,\"server.validation.flow.stepsBeforeRange\":`stepsBefore moet zijn tussen 0 en 5, got: {value}`,\"server.validation.flow.stepsAfterRange\":`stepsAfter moet zijn tussen 0 en 5, got: {value}`,\"server.validation.flow.timeDimCubeNotFound\":`Tijd dimensie cube not gevonden: {cubeName}`,\"server.validation.flow.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.funnel.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.funnel.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.funnel.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}. Expected 'CubeName.dimensionName'`,\"server.validation.funnel.minSteps\":`Funnel moet hebben bij minimaal 2 stappen`,\"server.validation.funnel.stepCubeNotFound\":`Stap {step} cube not gevonden: {cube}`,\"server.validation.funnel.stepFilterCubeNotFound\":`Stap {step} filter cube not gevonden: {cubeName}`,\"server.validation.funnel.stepFilterIsMeasure\":`Stap {step} filter '{member}' is a meting. Funnel stap filters only support dimensies, not metingen.`,\"server.validation.funnel.stepFilterMemberNotFound\":`Stap {step} filter member not gevonden: {field} in cube {cubeName}`,\"server.validation.funnel.stepFilterNoJoinPath\":`Stap {step} filter '{member}' requires a join van '{stepCube}' but no join pad was gevonden. Define a join relationship tussen these cubes.`,\"server.validation.funnel.stepMustHaveName\":`Stap {step} moet have a name`,\"server.validation.funnel.stepTimeToConvertFormat\":`Stap {step} timeToConvert moet be ISO 8601 duration format: {value}`,\"server.validation.funnel.timeDimCubeNotFound\":`Tijd dimensie cube not gevonden: {cubeName}`,\"server.validation.funnel.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyCubeNotFound\":`Koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.retention.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.bindingKeyMappingCubeNotFound\":`Koppeling sleutel mapping cube niet gevonden: {cubeName}`,\"server.validation.retention.breakdownDimCubeNotFound\":`Opsplitsing dimensie cube niet gevonden: {cubeName}`,\"server.validation.retention.breakdownDimNotFound\":`Opsplitsing dimensie niet gevonden: {dimName} in cube {cubeName}`,\"server.validation.retention.cubeNotFound\":`Cube niet gevonden: {cubeName}`,\"server.validation.retention.dateRangeEndRequired\":`Datum range end is vereist`,\"server.validation.retention.dateRangeInvalidEnd\":`Ongeldig date range end format`,\"server.validation.retention.dateRangeInvalidStart\":`Ongeldig date range start format`,\"server.validation.retention.dateRangeRequired\":`Datum range is vereist`,\"server.validation.retention.dateRangeStartBeforeEnd\":`Datum range start moet be voor of equal naar end`,\"server.validation.retention.dateRangeStartRequired\":`Datum range start is vereist`,\"server.validation.retention.engineNotSupported\":`Retentie queries worden niet ondersteund op {engine}. Gebruik PostgreSQL of DuckDB voor retentie analyse.`,\"server.validation.retention.invalidBindingKeyFormat\":`Ongeldig binding key format: {bindingKey}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidBreakdownDimFormat\":`Ongeldig breakdown dimensie format: {dimension}. Expected 'CubeName.dimensionName'`,\"server.validation.retention.invalidGranularity\":`Ongeldig granularity: {granularity}`,\"server.validation.retention.invalidRetentionType\":`Ongeldig retentie type: {retentionType}`,\"server.validation.retention.invalidTimeDimFormat\":`Ongeldig time dimensie format: {timeDimension}`,\"server.validation.retention.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.validation.retention.periodsMax\":`Periodes kan niet exceed 52 (prestatie limiet)`,\"server.validation.retention.periodsMin\":`Periodes moet zijn bij minimaal 1`,\"server.validation.retention.timeDimNotFound\":`Tijd dimensie not gevonden: {dimName}`,\"server.validation.calculatedMeasure.mustHaveCalculatedSql\":`Berekend meting '{cubeName}.{fieldName}' moet hebben calculatedSql property`,\"server.validation.calculatedMeasure.invalidSyntax\":`Ongeldig calculatedSql syntax in '{cubeName}.{fieldName}': {errors}`,\"server.validation.calculatedMeasure.circularDependency\":`Circular dependency detected in berekend metingen: {cycle}`,\"server.validation.query.multipleQueryModes\":`Query bevat meerdere query modes: {modes}`,\"server.validation.query.funnelBindingKeyCubeNotFound\":`Funnel koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.flowBindingKeyCubeNotFound\":`Flow koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.retentionCubeNotFound\":`Retentie cube niet gevonden: {cubeName}`,\"server.validation.query.retentionBindingKeyCubeNotFound\":`Retentie koppeling sleutel cube niet gevonden: {cubeName}`,\"server.validation.query.retentionBreakdownCubeNotFound\":`Retentie opsplitsing cube niet gevonden: {cubeName}`,\"server.validation.query.invalidMeasureFormat\":`Ongeldig meting format: {measure}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForMeasure\":`Cube '{cubeName}' niet gevonden (referenced in meting '{measure}')`,\"server.validation.query.measureNotFound\":`Meting '{fieldName}' not gevonden on cube '{cubeName}'{hint}`,\"server.validation.query.invalidDimensionFormat\":`Ongeldig dimensie format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForDimension\":`Cube '{cubeName}' niet gevonden (referenced in dimensie '{dimension}')`,\"server.validation.query.dimensionNotFound\":`Dimensie '{fieldName}' not gevonden on cube '{cubeName}'{hint}`,\"server.validation.query.invalidTimeDimensionFormat\":`Ongeldig timeDimension format: {dimension}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForTimeDimension\":`Cube '{cubeName}' niet gevonden (referenced in timeDimension '{dimension}')`,\"server.validation.query.timeDimensionNotFound\":`TimeDimension '{fieldName}' niet gevonden op cube '{cubeName}' (moet zijn een dimensie met tijd type)`,\"server.validation.query.mustReferenceAtLeastOneCube\":`Query moet reference bij minimaal één cube through metingen, dimensies, van filters`,\"server.validation.query.ungroupedRequiresDimension\":`Ongegroepeerd queries require bij minimaal één dimensie van tijd dimensie`,\"server.validation.query.ungroupedIncompatibleFunnel\":`Ungrouped queries are incompatible met funnel analyse`,\"server.validation.query.ungroupedIncompatibleFlow\":`Ungrouped queries are incompatible met flow analyse`,\"server.validation.query.ungroupedIncompatibleRetention\":`Ungrouped queries are incompatible met retentie analyse`,\"server.validation.query.ungroupedIncompatibleCompareDateRange\":`Ongegroepeerd queries zijn incompatible met compareDateRange`,\"server.validation.query.ungroupedIncompatibleFillMissingDates\":`Ongroepeerde queries zijn niet compatibel met fillMissingDates`,\"server.validation.query.filterMustHaveMember\":`Filter moet hebben een lid veld`,\"server.validation.query.invalidFilterMemberFormat\":`Ongeldig filter member format: {member}. Expected format: 'CubeName.fieldName'`,\"server.validation.query.cubeNotFoundForFilter\":`Cube '{cubeName}' niet gevonden (referenced in filter '{member}')`,\"server.validation.query.filterFieldNotFound\":`Filter veld '{fieldName}' niet gevonden op cube '{cubeName}' (moet zijn een dimensie van meting){hint}`,\"server.errors.funnel.cubeNotFoundForStep\":`Cube niet gevonden voor stap: {cube}`,\"server.errors.funnel.cubeNotFoundForBindingKey\":`Cube niet gevonden voor koppeling sleutel: {bindingKey}`,\"server.errors.funnel.cannotResolveCubeForStep\":`Kan niet resolve cube voor stap - meerdere-cube funnel vereist cube specification in each stap`,\"server.errors.funnel.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {bindingKey}`,\"server.errors.funnel.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.errors.funnel.bindingKeyMappingDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimension}`,\"server.errors.funnel.timeDimNotFound\":`Tijd dimensie not gevonden: {timeDimension}`,\"server.errors.funnel.noTimeDimMapping\":`Geen time dimensie mapping gevonden voor cube: {cubeName}`,\"server.errors.funnel.timeDimMappingNotFound\":`Tijd dimensie not gevonden: {dimension}`,\"server.errors.flow.cannotResolveCube\":`Kan niet resolve cube voor flow query`,\"server.errors.flow.cubeNotFound\":`Cube niet gevonden: {cubeName}`,\"server.errors.flow.bindingKeyDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {bindingKey}`,\"server.errors.flow.noBindingKeyMapping\":`Geen binding key mapping gevonden voor cube: {cubeName}`,\"server.errors.flow.bindingKeyMappingDimNotFound\":`Koppeling sleutel dimensie niet gevonden: {dimension}`,\"server.errors.flow.timeDimNotFound\":`Tijd dimensie not gevonden: {timeDimension}`,\"server.errors.flow.noTimeDimMapping\":`Geen time dimensie mapping gevonden voor cube: {cubeName}`,\"server.errors.flow.timeDimMappingNotFound\":`Tijd dimensie not gevonden: {dimension}`,\"server.errors.flow.eventDimNotFound\":`Gebeurtenis dimensie not gevonden: {eventDimension}`,\"server.validation.template.emptyReference\":`Leeg lid reference {} gevonden in template`,\"server.validation.template.invalidMemberReference\":`Ongeldig member reference {ref}: moet start met letter of underscore, en contain only letters, numbers, underscores, en dots`,\"server.validation.template.multipleDots\":`Ongeldig member reference {ref}: only one dot allowed (Cube.meting format)`,\"server.validation.template.nestedBraces\":`Nested braces zijn niet allowed in lid verwijzingen`,\"server.validation.template.substituteTargetCubeNotFound\":`Kan niet substitute {ref}: cube '{cubeName}' niet gevonden`,\"server.validation.template.substituteMeasureNotResolved\":`Kan niet substitute {ref}: meting '{measureName}' niet resolved yet. Ensure metingen zijn resolved in dependency order.`,\"server.validation.template.unmatchedClosingBrace\":`Unmatched closing brace bij position {position}`,\"server.validation.template.unmatchedOpeningBrace\":`Ongepaarde openingsaccolade in sjabloon`,\"notebook.aiAssistant\":`AI-assistent`,\"notebook.saveAsDashboard\":`Opslaan as Dashboard`,\"notebook.saveAsDashboardTitle\":`Opslaan notebook as a dashboard`,\"notebook.clearTitle\":`Wissen notebook en chat`,\"notebook.feedbackThanks\":`Thanks voor je feedback!`,\"notebook.feedbackQuestion\":`Was deze helpful?`,\"notebook.feedbackYes\":`Ja`,\"notebook.feedbackNo\":`Nee`,\"notebook.thinking\":`Denken...`,\"notebook.emptyState.title\":`Gegevens Analyse Assistant`,\"notebook.emptyState.description\":`Ask me about je gegevens en I'll create visualisaties en insights.`,\"notebook.emptyState.example1\":`\"Toon me employee productivity trends\"`,\"notebook.emptyState.example2\":`\"What zijn de boven departments op headcount?\"`,\"notebook.emptyState.example3\":`\"Vergelijk omzet per productcategorie\"`,\"notebook.saveAsDashboardPrompt\":`Sla het huidige notebook op als dashboard met een professionele lay-out, sectiekoppen en passende filters.`,\"notebook.chatInput.placeholder\":`Ask about je gegevens...`,\"notebook.chatInput.stop\":`Stoppen`,\"notebook.chatInput.continue\":`Doorgaan`,\"notebook.chatInput.send\":`Verzenden`,\"notebook.canvas.emptyTitle\":`Je notebook is leeg`,\"notebook.canvas.emptyDescription\":`Stel de AI-assistent een vraag over je gegevens. Grafieken en inzichten verschijnen hier terwijl de assistent je gegevens analyseert.`,\"notebook.canvas.editVisualization\":`Bewerken Visualization`,\"notebook.canvas.update\":`Bijwerken`,\"notebook.collapsed.noBlocks\":`Geen blocks`,\"notebook.collapsed.expandNotebook\":`Notitieblok uitklappen`,\"notebook.collapsed.expandChat\":`AI-chat uitklappen`,\"notebook.collapsed.aiChat\":`AI-chat`,\"notebook.collapsed.markdown\":`Markdown`,\"schema.loading\":`Laden cube schema...`,\"schema.error\":`Mislukt naar load cube schema`,\"schema.noCubes\":`Geen cubes gevonden`,\"schema.noCubesHint\":`Register some kubussen naar zien de relationship diagram`,\"schema.computingLayout\":`Layout berekenen...`,\"schema.searchPlaceholder\":`Zoeken cubes en velden...`,\"schema.autoLayout\":`Automatisch Layout`,\"schema.missingDeps.title\":`Schema Visualization vereist additional packages`,\"schema.missingDeps.description\":`Install de vereist dependencies naar enable de interactive schema diagram:`,\"schema.loadingVisualization\":`Laden schema visualisatie...`,\"schema.measures\":`Metingen ({count})`,\"schema.timeDimensions\":`Tijd Dimensies ({count})`,\"schema.dimensions\":`Dimensies ({count})`,\"schema.cubeInfo\":`Cube-info`,\"dataBrowser.selectCube\":`Selecteer a cube`,\"dataBrowser.selectCubeHint\":`Kies een cube uit de zijbalk om de gegevens te bekijken`,\"dataBrowser.loadingData\":`Laden gegevens...`,\"dataBrowser.noData\":`Geen gegevens`,\"dataBrowser.noRows\":`Geen rijen geretourneerd voor deze query`,\"dataBrowser.toolbar.filters\":`Filters`,\"dataBrowser.toolbar.columns\":`Kolommen`,\"dataBrowser.toolbar.rows\":`{count} rijen`,\"dataBrowser.sidebar.cubes\":`Kubussen`,\"dataBrowser.sidebar.searchPlaceholder\":`Zoeken...`,\"dataBrowser.sidebar.noCubes\":`Geen cubes gevonden`,\"queryAnalysis.summary\":`Query Samenvatting`,\"queryAnalysis.summary.type\":`Type`,\"queryAnalysis.summary.cubes\":`Kubussen`,\"queryAnalysis.summary.joins\":`Joins`,\"queryAnalysis.summary.ctes\":`CTE's`,\"queryAnalysis.summary.strategy\":`Strategie`,\"queryAnalysis.primaryCube\":`Primary Cube (VAN tabel)`,\"queryAnalysis.primaryCube.showCandidates\":`Toon candidates ({count})`,\"queryAnalysis.primaryCube.reachable\":`bereikbaar`,\"queryAnalysis.primaryCube.cannotReachAll\":`kan niet reach alle`,\"queryAnalysis.joinPaths\":`Join Paden`,\"queryAnalysis.joinPaths.steps\":`{count} stap`,\"queryAnalysis.joinPaths.stepsPlural\":`{count} stappen`,\"queryAnalysis.joinPaths.noPath\":`Geen pad`,\"queryAnalysis.joinPaths.selection\":`Selectie:`,\"queryAnalysis.joinPaths.pathCandidates\":`Pad scoring candidates ({count})`,\"queryAnalysis.joinPaths.visitedCubes\":`Kubussen visited during search ({count})`,\"queryAnalysis.preAggregations\":`Pre-aggregatie-CTE's`,\"queryAnalysis.preAggregations.measures\":`Metingen:`,\"queryAnalysis.preAggregations.joinKeys\":`Join-sleutels:`,\"queryAnalysis.warnings\":`Waarschuwingen`,\"queryAnalysis.cubesInvolved\":`Kubussen involved:`,\"common.actions.copied\":`Gekopieerd`,\"common.actions.copyToClipboard\":`Kopiëren naar clipboard`,\"chart.availability.requiresMeasure\":`Vereist ten minste 1 meting`,\"chart.availability.requiresTwoMeasures\":`Vereist ten minste 2 metingen`,\"chart.availability.requiresDimension\":`Vereist ten minste 1 dimensie`,\"chart.availability.requiresTwoDimensions\":`Vereist ten minste 2 dimensies`,\"chart.availability.requiresTimeDimension\":`Vereist een tijdsdimensie`,\"chart.availability.scatter\":`Vereist 2 metingen, of 1 meting plus 1 dimensie`,\"chart.availability.bubble\":`Vereist ten minste 2 metingen en 1 dimensie`,\"chart.runtime.noData\":`Geen gegevens beschikbaar`,\"chart.runtime.noDataHint.bar\":`Geen datapunten om weer te geven in staafgrafiek`,\"chart.runtime.noDataHint.line\":`Geen datapunten om weer te geven in lijngrafiek`,\"chart.runtime.noDataHint.area\":`Geen datapunten om weer te geven in vlakgrafiek`,\"chart.runtime.noDataHint.pie\":`Geen datapunten om weer te geven in cirkeldiagram`,\"chart.runtime.noDataHint.scatter\":`Geen datapunten om weer te geven in spreidingsdiagram`,\"chart.runtime.noDataHint.radar\":`Geen datapunten om weer te geven in radardiagram`,\"chart.runtime.noDataHint.radialBar\":`Geen datapunten om weer te geven in radial staafgrafiek`,\"chart.runtime.noDataHint.treemap\":`Geen datapunten om weer te geven in boomkaart`,\"chart.runtime.noDataHint.bubble\":`Geen datapunten om weer te geven in bellendiagram`,\"chart.runtime.noDataHint.boxPlot\":`Geen datapunten om weer te geven in boxplot`,\"chart.runtime.noDataHint.waterfall\":`Geen datapunten om weer te geven in watervalgrafiek`,\"chart.runtime.noDataHint.candlestick\":`Geen datapunten om weer te geven in candlestickgrafiek`,\"chart.runtime.noDataHint.gauge\":`Geen datapunten om weer te geven in meterdiagram`,\"chart.runtime.noDataHint.measureProfile\":`Geen datapunten om weer te geven in meetprofielgrafiek`,\"chart.runtime.noDataHint.activityGrid\":`Geen datapunten om weer te geven in activiteitenraster`,\"chart.runtime.noDataHint.heatmap\":`Voer een query uit om de heatmap-visualisatie te zien`,\"chart.runtime.noDataHint.table\":`Geen gegevens naar weergeven in tabel`,\"chart.runtime.noDataHint.kpi\":`Geen gegevens points naar weergeven`,\"chart.runtime.noDataHint.funnel\":`Configureer een funnel met minimaal 2 stappen en een koppelingssleutel`,\"chart.runtime.noDataHint.flow\":`Configureer een flowanalyse met een startstap en eventdimensie`,\"chart.runtime.noDataHint.retention\":`Configureer retentieanalyse om resultaten te zien`,\"chart.runtime.noValidData\":`Geen geldige gegevens`,\"chart.runtime.noValidDataHint.bar\":`Geen geldige datapunten voor staafgrafiek na transformatie`,\"chart.runtime.noValidDataHint.line\":`Geen geldige datapunten voor lijngrafiek na transformatie`,\"chart.runtime.noValidDataHint.area\":`Geen geldige datapunten voor vlakgrafiek na transformatie`,\"chart.runtime.noValidDataHint.scatter\":`Geen geldige datapunten voor spreidingsdiagram na transformatie`,\"chart.runtime.noValidDataHint.radar\":`Geen geldige datapunten voor radardiagram na transformatie`,\"chart.runtime.noValidDataHint.radialBar\":`Geen geldige datapunten voor radial staafgrafiek na transformatie`,\"chart.runtime.noValidDataHint.treemap\":`Geen geldige datapunten voor boomkaart na transformatie`,\"chart.runtime.noValidDataHint.pie\":`Geen datapunten om weer te geven in cirkeldiagram`,\"chart.runtime.noValidDataHint.pieFiltered\":`Uitgefilterd {count} gegevens punten (zero van ongeldig waarden)`,\"chart.runtime.noValidDataHint.boxPlot\":`Kon boxplotstatistieken niet berekenen uit de opgegeven gegevens`,\"chart.runtime.noValidDataHint.gauge\":`Gauge-waarde is geen geldig getal`,\"chart.runtime.noValidDataHint.kpiText\":`Alle waarden are null of ongeldig`,\"chart.runtime.configError\":`Configuratiefout`,\"chart.runtime.configErrorHint.axisInvalid\":`Ongeldige of ontbrekende grafiek-asconfiguratie`,\"chart.runtime.configErrorHint.axisFields\":`Vereiste velden voor X-as of Y-as ontbreken`,\"chart.runtime.configErrorHint.pieAxis\":`chartConfig.x/y of chartConfig.xAxis/yAxis is vereist voor cirkeldiagram`,\"chart.runtime.configErrorHint.radarNumeric\":`Geen numerieke velden gevonden voor radardiagramwaarden`,\"chart.runtime.configErrorHint.radialBarNumeric\":`Geen numeriek veld gevonden voor radial-bar-grafiekwaarden`,\"chart.runtime.configErrorHint.treemapNumeric\":`Geen numeriek veld gevonden voor treemapgrootte`,\"chart.runtime.configErrorHint.noMeasure\":`Geen metingveld geconfigureerd`,\"chart.runtime.configErrorHint.noMeasures\":`Geen metingvelden geconfigureerd`,\"chart.runtime.configErrorHint.bubbleRequired\":`Bellendiagram vereist xAxis-, yAxis-, reeksen- en sizeField-dimensies`,\"chart.runtime.configErrorHint.bubbleOptional\":`Optioneel: colorField voor bubble-kleuring`,\"chart.runtime.configErrorHint.activityGridRequired\":`Activiteitsraster vereist een tijdsdimensie en een meting`,\"chart.runtime.chartError\":`{chartType} Fout`,\"chart.runtime.unknownError\":`Onbekende renderfout`,\"chart.runtime.checkConfig\":`Controleer de gegevens en configuratie`,\"chart.runtime.unableToRender\":`Kan retentiegegevens niet renderen`,\"chart.runtime.dataFormatIncorrect\":`Gegevensindeling kan onjuist zijn`,\"chart.runtime.measuringDimensions\":`Grafiekafmetingen worden gemeten...`,\"chart.runtime.unableToDisplay\":`Kan grafiek niet weergeven`,\"chart.runtime.responsiveContainerError\":`Maken van responsieve container mislukt`,\"chart.runtime.noDataToDisplay\":`Geen gegevens om weer te geven`,\"chart.runtime.table.invalidStructure\":`Gegevens structure is ongeldig`,\"chart.runtime.heatmapNoResults\":`De query retourneerde geen resultaten voor de heatmap`,\"chart.runtime.heatmapConfigRequired\":`Configuratie vereist`,\"chart.runtime.heatmapXRequired\":`X-asdimensie vereist.`,\"chart.runtime.heatmapYRequired\":`Y-asdimensie vereist.`,\"chart.runtime.heatmapValueRequired\":`Waarde-meting vereist.`,\"chart.runtime.heatmapTruncated\":`Gegevens ingekort tot {maxRows}x{maxCols} cellen (origineel: {originalRows}x{originalCols}). Voeg filters toe om dimensies te verkleinen.`,\"chart.runtime.activityGridGranularityTooHigh\":`Granulariteit te hoog`,\"chart.runtime.activityGridGranularityHint\":`Activiteitsrasters werken het best met uur-, dag-, week-, maand- of kwartaalgranulariteit`,\"chart.runtime.activityGridGranularityAction\":`Kies een lagere granulariteit voor je tijdsdimensie`,\"chart.runtime.activityGridConfigRequired\":`Configuratie vereist`,\"chart.runtime.retention.cohort\":`Cohort`,\"chart.runtime.retention.segment\":`Segment`,\"chart.runtime.retention.users\":`Gebruikers`,\"chart.runtime.retention.cohortSize\":`Cohortgrootte: {count}`,\"chart.runtime.retention.retained\":`Behouden: {count}`,\"chart.runtime.retention.rate\":`Percentage: {rate}`,\"chart.runtime.retention.retentionPercent\":`Retentie %`,\"chart.runtime.retention.periodLabel\":`{cohort} - Periode {period}`,\"chart.runtime.retention.noData\":`Geen gegevens`,\"chart.runtime.retention.total\":`Totaal`,\"chart.runtime.retention.retention\":`Retentie`,\"chart.runtime.funnel.noData\":`Geen funnelgegevens`,\"chart.runtime.funnel.steps\":`stappen`,\"chart.runtime.funnel.overall\":`Totaal:`,\"chart.runtime.funnel.completed\":`{completed} / {total} voltooid`,\"chart.runtime.flow.noData\":`Geen flowgegevens`,\"chart.runtime.flow.events\":`gebeurtenissen`,\"chart.runtime.flow.eventsAfter\":`gebeurtenissen (na)`,\"chart.runtime.flow.paths\":`Paden:`,\"chart.runtime.flow.startingEntities\":`startende entiteiten`,\"chart.runtime.flow.entities\":`entiteiten`,\"chart.runtime.kpiDelta.insufficientData\":`Onvoldoende gegevens`,\"chart.runtime.kpiDelta.requiresTwoPoints\":`Delta calculation vereist bij minimaal 2 gegevens punten`,\"chart.runtime.kpiDelta.currentPoints\":`Huidige gegevens points: {count}`,\"chart.runtime.kpiDelta.noVariance\":`Geen variance gegevens`,\"chart.runtime.kpiNumber.noData\":`Geen gegevens`,\"chart.runtime.markdown.noContent\":`Geen inhoud`,\"chart.runtime.markdown.addContent\":`Voeg markdown-inhoud toe in de grafiekconfiguratie`,\"chart.runtime.axisFormat.label\":`Label`,\"chart.runtime.axisFormat.autoLabel\":`Automatisch-gegenereerd label`,\"chart.runtime.axisFormat.unit\":`Eenheid`,\"chart.runtime.axisFormat.custom\":`Aangepast`,\"chart.runtime.axisFormat.prefix\":`Voorvoegsel`,\"chart.runtime.axisFormat.prefixExample\":`bijv., $`,\"chart.runtime.axisFormat.suffix\":`Achtervoegsel`,\"chart.runtime.axisFormat.suffixExample\":`bijv., eenheden`,\"chart.runtime.axisFormat.abbreviation\":`Afkorting`,\"chart.runtime.axisFormat.yes\":`Ja`,\"chart.runtime.axisFormat.no\":`Nee`,\"chart.runtime.axisFormat.decimals\":`Decimalen`,\"chart.runtime.axisFormat.preview\":`Voorbeeld`,\"chart.runtime.axisFormat.leftYAxis\":`Left Y-As`,\"chart.runtime.axisFormat.rightYAxis\":`Right Y-As`,\"chart.runtime.axisFormat.xAxis\":`X-As`,\"chart.runtime.missingDep.title\":`Ontbrekende afhankelijkheid`,\"chart.runtime.missingDep.description\":`De {chartType} grafiek vereist de {packageName} package.`,\"chart.runtime.missingDep.restartHint\":`Start na installatie je ontwikkelserver opnieuw.`,\"chart.runtime.unknownChartType\":`Onbekend grafiektype`,\"chart.runtime.unknownChartTypeHint\":`\"{chartType}\" is niet registered`,\"chart.runtime.boxPlot.truncated\":`Gegevens ingekort tot {max} groepen (origineel: {total})`,\"chart.runtime.candlestick.truncated\":`Toont de eerste {max} candles (totaal: {total})`,\"chart.runtime.bar.hiddenPoints\":`{count} gegevens punt(en) met geen waarden hidden`,\"chart.runtime.waterfall.increase\":`Toename`,\"chart.runtime.waterfall.decrease\":`Afname`,\"chart.runtime.waterfall.total\":`Totaal`,\"chart.runtime.tooltip.noData\":`Geen gegevens`,\"chart.runtime.tooltip.targetValue\":`Doelwaarde`,\"results.toolbar.refreshing\":`Vernieuwen`,\"results.toolbar.refresh\":`Vernieuwen`,\"results.toolbar.refreshTitle\":`Vernieuwen gegevens (Shift+klik naar bypass cache)`,\"results.toolbar.refreshingTitle\":`Vernieuwen...`,\"results.toolbar.cacheBustTitle\":`Klik naar vernieuw en bypass cache`,\"results.toolbar.clear\":`Wissen`,\"results.toolbar.clearFunnel\":`Wissen funnel`,\"results.toolbar.clearQuery\":`Wissen alle query gegevens`,\"results.toolbar.aiClose\":`Sluiten AI assistant`,\"results.toolbar.aiOpen\":`Analyse met AI`,\"results.toolbar.shareTitle\":`Share deze analyse`,\"results.toolbar.shareCopied\":`Link gekopieerd!`,\"results.toolbar.schemaHide\":`Verbergen schema diagram`,\"results.toolbar.schemaShow\":`Toon schema diagram`,\"results.toolbar.debugHide\":`Verbergen debug info`,\"results.toolbar.debugShow\":`Toon debug info`,\"results.toolbar.chartView\":`Grafiek view`,\"results.toolbar.chartDisabled\":`Voeg metingen naar enable grafiek view`,\"results.toolbar.tableView\":`Tabel view`,\"results.toolbar.mergedTableView\":`Merged tabel view`,\"results.view.table\":`Tabel`,\"results.warning.filterHint\":`Overweeg adding filters naar improve prestatie.`,\"results.debug.query\":`Query:`,\"results.debug.queryAnalysis\":`Query Analyse`,\"results.debug.copyMarkdownTitle\":`Kopieer query, analyse, en SQL as markdown`,\"results.debug.copyAsMarkdown\":`Kopiëren as Markdown`,\"results.debug.analysisError\":`Analyse unavailable due naar fout`,\"results.debug.analysisEmpty\":`Voeg metingen toe om analyse te zien`,\"results.debug.cubeQuery\":`Cube-query`,\"results.debug.cubeQueryExecuted\":`Executed Query (met funnel filters)`,\"results.debug.funnelFilterHint\":`Deze query includes an IN filter met koppeling sleutel waarden van de previous stap`,\"results.debug.noQuery\":`Geen query`,\"results.debug.serverResponse\":`Serverantwoord`,\"results.debug.noResults\":`Geen results yet`,\"results.debug.chartConfig\":`Grafiek Configuratie`,\"results.debug.displayConfig\":`Weergave Configuratie`,\"results.debug.generatedSql\":`Gegenereerd SQL`,\"results.debug.loadingSql\":`Laden SQL...`,\"results.debug.executionError\":`Execution Fout`,\"results.confirm.clearFunnel\":`Wissen Funnel`,\"results.confirm.clearQuery\":`Wissen Query`,\"results.confirm.clearFunnelMessage\":`Zijn je sure je want naar clear deze funnel? Deze action kan niet be undone.`,\"results.confirm.clearQueryMessage\":`Zijn je sure je want naar clear deze query? Deze action kan niet be undone.`,\"results.table.noData\":`Geen gegevens om weer te geven`,\"results.table.noDataHint\":`Voer een query uit om tabelgegevens te zien`,\"results.flow.noData\":`Geen flow gegevens naar weergeven`,\"results.flow.noDataHint\":`Configureer flowanalyse om resultaten te zien`,\"results.flow.nodes\":`Knooppunten ({count})`,\"results.flow.transitions\":`Overgangen ({count})`,\"results.flow.layer\":`Laag`,\"results.flow.name\":`Naam`,\"results.flow.count\":`Aantal`,\"results.flow.from\":`Van`,\"results.flow.to\":`Naar`,\"results.debug.funnel.label\":`Trechter-query`,\"results.debug.funnel.steps\":`{count} stappen`,\"results.debug.funnel.serverQuery\":`Trechter-serverquery`,\"results.debug.funnel.noQuery\":`Geen funnelquery geconfigureerd`,\"results.debug.funnel.sqlPlaceholder\":`Configureer funnel-koppelingssleutel om SQL te genereren`,\"results.debug.funnel.stepsTitle\":`Funnel Stappen`,\"results.debug.flow.label\":`Flow-query`,\"results.debug.flow.badge\":`{before} voor, {after} na`,\"results.debug.flow.serverQuery\":`Flow-serverquery`,\"results.debug.flow.noQuery\":`Geen flowquery geconfigureerd`,\"results.debug.flow.sqlPlaceholder\":`Configureer flow om SQL te genereren`,\"results.debug.flow.configTitle\":`Flow Configuratie`,\"results.debug.flow.startingStep\":`Startende Stap:`,\"results.debug.flow.eventDimension\":`Gebeurtenis Dimensie:`,\"results.debug.flow.stepsBefore\":`Stappen Voor:`,\"results.debug.flow.stepsAfter\":`Stappen Na:`,\"results.debug.flow.notSet\":`Niet set`,\"results.debug.flow.responseTitle\":`Server Response (Sankey Gegevens)`,\"results.debug.retention.label\":`Retentie Query`,\"results.debug.retention.badge\":`{segments} segment(en), {users} gebruikers`,\"results.debug.retention.serverQuery\":`Retentie Server Query`,\"results.debug.retention.configIncomplete\":`Configuratie Incomplete`,\"results.debug.retention.configHint\":`Configureer de retentieanalyse-instellingen om een query te genereren.`,\"results.debug.retention.sqlPlaceholder\":`Configureer retentie om SQL te genereren`,\"results.debug.retention.configTitle\":`Retentie Configuratie`,\"results.debug.retention.summaryTitle\":`Retentie Samenvatting`,\"results.debug.retention.retentionType\":`Retentie Type:`,\"results.debug.retention.periods\":`Periodes:`,\"results.debug.retention.granularity\":`Granulariteit:`,\"results.debug.retention.segments\":`Segmenten:`,\"results.debug.retention.avgPeriod1\":`Avg Periode 1:`,\"results.debug.retention.maxPeriod1\":`Max Periode 1:`,\"results.debug.retention.minPeriod1\":`Min Periode 1:`,\"results.debug.standard.sqlPlaceholder\":`Voeg metingen toe om SQL te genereren`,\"flow.tabs.flow\":`Stroom`,\"flow.tabs.display\":`Weergave`,\"flow.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"flow.tabs.displayTitle\":`Weergave options`,\"flow.visualization.title\":`Visualisatie`,\"flow.visualization.description\":`Kies hoe je de flowgegevens wilt visualiseren. Dit bepaalt hoe gegevens worden geaggregeerd.`,\"flow.visualization.sankey\":`Sankey`,\"flow.visualization.sankeyHint\":`Paden can converge`,\"flow.visualization.sunburst\":`Sunburst`,\"flow.visualization.sunburstHint\":`Unique paden alleen`,\"flow.startingStep.title\":`Startende Stap`,\"flow.startingStep.description\":`Define de anchor gebeurtenis van welke paden will zijn explored in both directions.`,\"flow.startingStep.filterLabel\":`Filter Voorwaarden`,\"flow.depth.title\":`Verkenningsdiepte`,\"flow.depth.descriptionSankey\":`Hoe veel stappen naar explore voor en na de startende stap.`,\"flow.depth.descriptionSunburst\":`Hoe veel stappen naar explore na de startende stap.`,\"flow.depth.stepsBefore\":`Stappen Voor`,\"flow.depth.stepsBeforeNA\":`(N/EEN)`,\"flow.depth.stepsAfter\":`Stappen Na`,\"flow.depth.performanceWarning\":`Hoog stap depth (4-5) kan impact query prestatie op groot datasets.`,\"flow.joinStrategy.title\":`Join-strategie`,\"flow.joinStrategy.description\":`Control hoe voor/na stappen zijn fetched. Schakel naar window if lateral is slower op je DB.`,\"flow.joinStrategy.auto\":`Automatisch (prefer lateral if beschikbaar)`,\"flow.joinStrategy.lateral\":`Lateraal (index-zoekacties)`,\"flow.joinStrategy.window\":`Venster (ROW_NUMBER)`,\"retention.tabs.retention\":`Retentie`,\"retention.tabs.display\":`Weergave`,\"retention.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"retention.tabs.displayTitle\":`Weergave options`,\"retention.dateRange.title\":`Datum Range`,\"retention.dateRange.description\":`Selecteer het datumbereik voor cohort-instroom. Gebruikers die voor het eerst binnen dit bereik verschijnen worden geanalyseerd.`,\"retention.dateRange.label\":`Datum Range`,\"retention.dateRange.selectRange\":`Selecteer date range`,\"retention.dateRange.customRange\":`Aangepast Range`,\"retention.dateRange.applyCustom\":`Toepassen Aangepast Range`,\"retention.cohortFilter.title\":`Cohortfilter`,\"retention.cohortFilter.description\":`Bepaal wie tot het cohort behoort. Gebruikers waarvan de eerste gebeurtenis binnen het datumbereik aan deze filters voldoet, worden opgenomen.`,\"retention.returnFilter.title\":`Terugkeerfilter`,\"retention.returnFilter.description\":`Define what counts as a return. Gebeurtenissen matching these filters in subsequent periods count as retentie.`,\"retention.breakdown.title\":`Opsplitsing`,\"retention.breakdown.description\":`Optionally segment retentie by dimensies (e.g., country, plan type).`,\"retention.settings.title\":`Instellingen`,\"retention.settings.description\":`Configureer hoe retentie wordt berekend en weergegeven.`,\"retention.settings.granularityLabel\":`Periode Granularity`,\"retention.settings.periodsLabel\":`Nummer of Periods ({min}-{max})`,\"retention.settings.periodsWarning\":`Hoog periode aantal kan impact query prestatie.`,\"retention.settings.retentionTypeLabel\":`Retentie Type`,\"debug.explainPlan\":`Uitleggen Plan`,\"debug.explainRunning\":`Draaiend...`,\"debug.explainIncludeTiming\":`Inclusief timing`,\"debug.explainRunningAnalyze\":`Draaiend UITLEGGEN ANALYZE...`,\"debug.explainRunningBasic\":`Draaiend UITLEGGEN...`,\"debug.explainError\":`Explain Fout:`,\"debug.sequentialScans\":`Sequentiële scans gedetecteerd`,\"debug.indexesUsed\":`{count} index gebruikt`,\"debug.indexesUsedPlural\":`{count} indexen gebruikt`,\"debug.executionTime\":`Uitvoering: {time}ms`,\"debug.planningTime\":`Planning: {time} ms`,\"debug.cost\":`Kosten: {cost}`,\"debug.indexes\":`Indexen:`,\"debug.executionPlanTitle\":`Uitvoering Plan ({database})`,\"debug.aiAnalyzing\":`Analyseren...`,\"debug.aiAnalysis\":`AI Analyse`,\"debug.aiAnalysisError\":`AI Analyse Fout:`,\"explainAI.title\":`AI Performance Analyse`,\"explainAI.assessment.good\":`Goed`,\"explainAI.assessment.warning\":`Waarschuwing`,\"explainAI.assessment.critical\":`Kritiek`,\"explainAI.summary\":`Samenvatting`,\"explainAI.queryAnalysis\":`Query Analyse`,\"explainAI.issuesFound\":`Issues Gevonden ({count})`,\"explainAI.recommendations\":`Aanbevelingen ({count})`,\"explainAI.noRecommendations\":`Geen specifieke aanbevelingen. De query lijkt goed geoptimaliseerd.`,\"explainAI.expectedImpact\":`Verwachte impact:`,\"explainAI.addToCube\":`Voeg naar {cubeName} cube:`,\"explainAI.modelLabel\":`Model:`,\"explainAI.usingUserKey\":`(met je API sleutel)`,\"explainAI.copied\":`Gekopieerd!`,\"explainAI.copy\":`Kopiëren`,\"explainAI.type.index\":`INDEX`,\"explainAI.type.table\":`TABEL`,\"explainAI.type.cube\":`CUBE`,\"explainAI.type.general\":`TIP`,\"errorBoundary.modeError\":`Mode Fout`,\"errorBoundary.modeErrorDescription\":`Er is een probleem opgetreden met de modus {mode}. Dit kan komen door ongeldige configuratiegegevens.`,\"errorBoundary.showDetails\":`Toon fout details`,\"errorBoundary.unknownError\":`Onbekend fout`,\"errorBoundary.tryAgain\":`Opnieuw proberen`,\"errorBoundary.switchToQuery\":`Schakel naar Query Modus`,\"funnel.tabs.steps\":`Stappen`,\"funnel.tabs.display\":`Weergave`,\"funnel.tabs.displayUnavailable\":`Weergave options not beschikbaar`,\"funnel.tabs.displayTitle\":`Weergave options`,\"funnel.steps.title\":`Funnel Stappen`,\"funnel.steps.emptyMessage\":`Geen stappen defined. Voeg at least 2 stappen naar create a funnel.`,\"funnel.steps.addFirst\":`Voeg First Stap`,\"funnel.steps.addStep\":`Voeg Stap`,\"funnel.steps.validationHint\":`Voeg at least one more stap naar create a valid funnel`,\"funnel.step.removeTitle\":`Verwijderen stap`,\"funnel.step.editNameTitle\":`Klik naar edit naam`,\"funnel.step.placeholder\":`Stap name`,\"funnel.step.timeWindow\":`Tijd Window`,\"funnel.step.timeWindowHelp\":`Max tijd van previous stap naar qualify`,\"funnel.step.filters\":`{count} filter`,\"funnel.step.filtersPlural\":`{count} filters`,\"funnel.step.within\":`binnen {time}`,\"funnel.step.noFilters\":`Geen filters geconfigureerd`,\"funnel.config.configuration\":`Configuratie`,\"funnel.config.cube\":`Cube`,\"funnel.config.cubeHelp\":`Selecteer een cube die is geconfigureerd voor funnelanalyse`,\"funnel.config.cubePlaceholder\":`Selecteer gebeurtenis stream cube`,\"funnel.config.bindingKey\":`Koppeling Sleutel`,\"funnel.config.bindingKeyHelp\":`Entity dat connects stappen (e.g., gebruiker ID, order ID)`,\"funnel.config.bindingKeyPlaceholder\":`Selecteer binding key`,\"funnel.config.selectCubeFirst\":`Selecteer cube first`,\"funnel.config.timeDimension\":`Tijd Dimensie`,\"funnel.config.timeDimensionHelp\":`Tijdstempel veld voor stap ordering`,\"funnel.config.timeDimensionPlaceholder\":`Selecteer time dimensie`,\"funnel.config.noMatchingFields\":`Geen matching velden gevonden`,\"funnel.bindingKey.searchPlaceholder\":`Zoeken dimensies...`,\"funnel.bindingKey.noMatching\":`Geen matching dimensies gevonden`,\"funnel.bindingKey.helpText\":`Selecteer een dimensie die entiteiten over funnelstappen identificeert (bijv. gebruikers-ID, order-ID)`,\"funnel.bindingKey.clearTitle\":`Wissen binding key`,\"flow.config.configuration\":`Configuratie`,\"flow.config.cube\":`Cube`,\"flow.config.cubeHelp\":`Selecteer een cube die is geconfigureerd voor flowanalyse`,\"flow.config.cubePlaceholder\":`Selecteer gebeurtenis stream cube`,\"flow.config.bindingKey\":`Koppeling Sleutel`,\"flow.config.bindingKeyHelp\":`Entity dat links gebeurtenissen together (e.g., gebruiker ID)`,\"flow.config.bindingKeyPlaceholder\":`Selecteer binding key`,\"flow.config.selectCubeFirst\":`Selecteer cube first`,\"flow.config.timeDimension\":`Tijd Dimensie`,\"flow.config.timeDimensionHelp\":`Tijdstempel veld voor gebeurtenis ordering`,\"flow.config.timeDimensionPlaceholder\":`Selecteer time dimensie`,\"flow.config.eventDimension\":`Gebeurtenis Dimensie`,\"flow.config.eventDimensionHelp\":`Dimensie dat categorizes gebeurtenissen (node labels in Sankey)`,\"flow.config.eventDimensionPlaceholder\":`Selecteer gebeurtenis dimensie`,\"flow.config.noMatchingFields\":`Geen matching velden gevonden`,\"retention.config.configuration\":`Configuratie`,\"retention.config.cube\":`Cube`,\"retention.config.cubeHelp\":`Selecteer de cube met je gebruikersgebeurtenissen`,\"retention.config.cubePlaceholder\":`Selecteer cube`,\"retention.config.bindingKey\":`Koppeling Sleutel`,\"retention.config.bindingKeyHelp\":`Dimensie die entiteiten over gebeurtenissen identificeert (bijv. gebruikers-ID, klant-ID)`,\"retention.config.bindingKeyPlaceholder\":`Selecteer user identifier`,\"retention.config.selectCubeFirst\":`Selecteer cube first`,\"retention.config.timestamp\":`Tijdstempel`,\"retention.config.timestampHelp\":`Tijdstempel veld voor cohort entry en activiteit`,\"retention.config.timestampPlaceholder\":`Selecteer timestamp`,\"retention.config.noMatchingFields\":`Geen matching velden gevonden`,\"retention.config.searchPlaceholder\":`Zoeken...`,\"display.showLegend\":`Toon Legenda`,\"display.showGrid\":`Toon Grid`,\"display.showTooltip\":`Toon Tooltip`,\"display.stacked\":`Gestapeld`,\"display.hideHeader\":`Verbergen Header`,\"fieldSearch.aria.closeDialog\":`Sluiten dialog`,\"fieldSearch.aria.filterByCube\":`Filter op cube`,\"fieldSearch.aria.cubeCategories\":`Cube-categorieën`,\"fieldSearch.aria.availableFields\":`Beschikbaar velden`,\"chart.dropZone.required\":`Deze veld is vereist`,\"common.actions.apply\":`Toepassen`,\"common.actions.done\":`Klaar`,\"common.actions.update\":`Bijwerken`,\"common.actions.retry\":`Opnieuw proberen`,\"common.actions.exit\":`Afsluiten`,\"common.actions.selectAll\":`Selecteer Alle`,\"common.saving\":`Opslaan...`,\"common.labels.title\":`Titel`,\"dashboardFilter.editFilter\":`Bewerken Filter`,\"dashboardFilter.filterLabel\":`Filterlabel`,\"dashboardFilter.enterFilterLabel\":`Enter filter label`,\"dashboardFilter.universalTimeFilter\":`Universal Tijd Filter`,\"dashboardFilter.universalTimeDescription\":`Dit filter wordt toegepast op alle tijdsdimensies in gekoppelde portlets. Gebruikers kunnen het datumbereik kiezen bij het bekijken van het dashboard.`,\"dashboardFilter.field\":`Veld`,\"dashboardFilter.showDashboardFields\":`Toon dashboard velden only`,\"dashboardFilter.showAllFields\":`Toon alle velden`,\"dashboardFilter.dashboard\":`Dashboard`,\"dashboardFilter.all\":`Alle`,\"dashboardFilter.clickToSelectField\":`Klik naar selecteer een veld`,\"dashboardFilter.operator\":`Operator`,\"dashboardFilter.defaultValue\":`Standaard Waarde`,\"dashboardFilter.deleteFilter\":`Verwijderen Filter`,\"dashboardFilter.noValueRequired\":`Geen waarde vereist`,\"dashboardFilter.to\":`naar`,\"dashboardFilter.selectValue\":`Selecteer waarde...`,\"dashboardFilter.search\":`Zoeken...`,\"dashboardFilter.errorPrefix\":`Fout:`,\"dashboardFilter.noValuesFound\":`Geen waarden gevonden`,\"dashboardFilter.enterValue\":`Enter waarde...`,\"dashboardFilter.enterNumber\":`Enter nummer`,\"dashboardFilter.min\":`Min`,\"dashboardFilter.max\":`Max`,\"dashboardFilter.filterLabelRequired\":`Filter label is vereist`,\"dashboardFilter.selectFieldRequired\":`Selecteer een veld voor het filter`,\"dashboardFilter.notSet\":`(niet set)`,\"dashboardFilter.clickToConfigure\":`Klik om te configureren`,\"dashboardFilter.customDate.startDate\":`Start Datum`,\"dashboardFilter.customDate.endDate\":`End Datum`,\"dashboardFilter.customDate.sinceDate\":`Since Datum`,\"dashboardFilter.customDate.fromSelectedToToday\":`Van selected date naar today`,\"dashboardFilter.customDate.number\":`Nummer`,\"dashboardFilter.customDate.unit\":`Eenheid`,\"dashboardFilter.customDate.lastNPreview\":`Laatste {number} {unit}`,\"dashboardFilter.editMode.filters\":`Filters`,\"dashboardFilter.editMode.noFilters\":`Geen filters geconfigureerd. Klik op \"Voeg toe\" om er één te maken.`,\"dashboardFilter.editMode.dateRange\":`Datum Range`,\"dashboardFilter.editMode.filter\":`Filter`,\"dashboardFilter.editMode.editFilter\":`Bewerken filter`,\"dashboardFilter.editMode.removeFilter\":`Verwijderen filter`,\"dashboardFilter.filterValue.editValue\":`Bewerken waarde`,\"dashboardFilter.readOnly.filters\":`Filters`,\"filter.shared.fieldsInQuery\":`Velden in Query ({count})`,\"filter.shared.allAvailableFields\":`Alle Beschikbaar Velden ({count})`,\"filter.shared.noFieldsMatch\":`Geen velden gevonden matching \"{searchTerm}\"`,\"filter.shared.searchFields\":`Zoeken velden...`,\"filter.shared.selectField\":`Selecteer veld...`,\"filter.shared.schemaNotLoaded\":`Schema niet geladen`,\"filter.shared.group.addFilter\":`Voeg Filter`,\"filter.shared.group.addAndGroup\":`Voeg EN Groep`,\"filter.shared.group.addOrGroup\":`Voeg OF Groep`,\"filter.shared.group.addCondition\":`Voeg condition`,\"filter.shared.group.noConditions\":`Geen conditions in deze groep.`,\"filter.shared.group.addFilterLink\":`Voeg a filter`,\"filter.shared.builder.filters\":`Filters ({count})`,\"filter.shared.builder.clearAll\":`Wissen alle`,\"filter.shared.builder.addFilter\":`Voeg Filter`,\"filter.shared.dateRange.title\":`Datum Ranges ({count})`,\"filter.shared.dateRange.clearAll\":`Wissen alle`,\"filter.shared.dateRange.addDateRange\":`Voeg Datum Range`,\"filter.shared.dateRange.allHaveDateRanges\":`Alle time dimensies already have date ranges`,\"filter.shared.valueSelector.noValueRequired\":`Geen waarde vereist`,\"filter.shared.valueSelector.to\":`naar`,\"filter.shared.valueSelector.min\":`Min`,\"filter.shared.valueSelector.max\":`Max`,\"filter.shared.valueSelector.enterNumber\":`Enter nummer`,\"filter.shared.valueSelector.loadingValues\":`Laden waarden...`,\"filter.shared.valueSelector.selectValue\":`Selecteer waarde...`,\"filter.shared.valueSelector.searchValues\":`Zoeken waarden...`,\"filter.shared.valueSelector.searching\":`Searching...`,\"filter.shared.valueSelector.errorLoading\":`Fout laden waarden: {error}`,\"filter.shared.valueSelector.noMatchingValues\":`Geen matching waarden`,\"filter.shared.valueSelector.noValuesAvailable\":`Geen waarden beschikbaar`,\"filter.shared.valueSelector.enterValue\":`Enter {type} waarde`,\"dashboard.noPortlets\":`Geen Portlets`,\"dashboard.noPortletsDescription\":`Voeg je first portlet naar start visualizing je gegevens`,\"dashboard.addText\":`Voeg Tekst`,\"dashboard.addPortlet\":`Voeg Portlet`,\"dashboard.finishEditing\":`Finish Editing`,\"dashboard.edit\":`Bewerken`,\"dashboard.grid\":`Raster`,\"dashboard.rows\":`Rijen`,\"dashboard.desktopRequired\":`Desktop view vereist voor editing`,\"dashboard.editModeHint\":`Drag • Resize • Automatisch-save`,\"dashboard.filterSelectionMode\":`Filter Selection Modus - Klik portlets naar toggle '{filterLabel}'`,\"dashboard.filterSelectionEscHint\":`• Druk op Enter of Esc om op te slaan`,\"dashboard.filterFieldChipHint\":`Klik om te wijzigen op welk veld dit filter wordt toegepast voor deze portlet`,\"dashboard.editPortlet\":`Bewerken Portlet`,\"dashboard.addNewPortlet\":`Voeg Nieuw Portlet`,\"dashboard.updatePortlet\":`Bijwerken Portlet`,\"dashboard.deletePortlet\":`Verwijderen Portlet`,\"dashboard.deletePortletConfirm\":`Zijn je sure je want naar verwijder`,\"dashboard.deletePortletSuffix\":`? Deze action kan niet zijn undone.`,\"dashboard.thisPortlet\":`deze portlet`,\"dashboard.editModal.dashboardName\":`Dashboard Naam`,\"dashboard.editModal.enterDashboardName\":`Enter dashboard naam...`,\"dashboard.editModal.descriptionOptional\":`Beschrijving (optional)`,\"dashboard.editModal.enterDescription\":`Enter description...`,\"portlet.configRequired\":`Configuratie vereist`,\"portlet.configRequiredHint\":`Configureer deze grafiek`,\"portlet.queryError\":`Query Fout`,\"portlet.queryWithFilters\":`Query (met filters toegepast)`,\"portlet.chartConfig\":`Grafiek Configuratie`,\"portlet.noDataAvailable\":`Geen gegevens beschikbaar`,\"portlet.noDataDrilled\":`Geen datapunten om weer te geven voor het huidige filter`,\"portlet.invalidQuery\":`Ongeldig query of no results`,\"portlet.unsupportedChartType\":`Unsupported grafiek type`,\"portlet.unableToRender\":`Kan niet renderen grafiek`,\"portlet.enterTitle\":`Enter portlet title...`,\"portlet.enterPortletTitle\":`Voer een titel in voor de portlet.`,\"portlet.configureQuery\":`Configureer een query voordat je opslaat.`,\"portlet.configureFlow\":`Configureer de flowanalyse (binding key, tijdsdimensie, gebeurtenisdimensie en startstapfilter).`,\"portlet.configureRetention\":`Configureer de retentieanalyse (binding key, tijdsdimensie en datumbereik).`,\"portlet.configureFunnel\":`Alstublieft add at least two funnel stappen.`,\"portlet.addMetricOrBreakdown\":`Alstublieft add at least one metric of breakdown naar je query.`,\"portlet.filterConfig.title\":`Configureer dashboardfilters`,\"portlet.filterConfig.subtitle\":`Kies which dashboard filters apply naar \"{portletTitle}\"`,\"portlet.filterConfig.noFilters\":`Geen dashboard filters beschikbaar`,\"portlet.filterConfig.noFiltersHint\":`Voeg eerst filters toe op dashboardniveau`,\"portlet.filterConfig.availableFilters\":`Beschikbaar Filters`,\"portlet.filterConfig.selectedCount\":`{selected} van {total} selected`,\"portlet.filterConfig.applied\":`Toegepast`,\"portlet.filterConfig.noValue\":`geen waarde`,\"portlet.filterConfig.complexFilter\":`Complex filter`,\"portlet.filterConfig.groupFilter\":`{type} groep met {count} filter`,\"portlet.filterConfig.groupFilterPlural\":`{type} groep met {count} filters`,\"portlet.filterConfig.applyFilters\":`Toepassen Filters`,\"portlet.filterConfig.applyToField\":`Toepassen op veld`,\"portlet.filterConfig.applyToFieldDefault\":`Standaard ({field})`,\"portlet.filterConfig.mappedTo\":`Gekoppeld aan {field}`,\"portlet.filterConfig.mappedFieldMissing\":`Het gekoppelde veld \"{field}\" is niet meer beschikbaar in het schema`,\"textPortlet.editText\":`Bewerken Tekst`,\"textPortlet.addText\":`Voeg Tekst`,\"textPortlet.markdownContent\":`Markdown Content`,\"textPortlet.markdownHint\":`Ondersteunt kopteksten (#), bold (**tekst**), italic (*tekst*), links ([tekst](url)), lists (- item), en horizontal rules (---).`,\"textPortlet.preview\":`Voorbeeld`,\"debug.title\":`Grafiek Debug Information`,\"debug.chartType\":`Grafiek Type`,\"debug.fieldAnalysis\":`Veld Analyse`,\"debug.chartConfig\":`Grafiek Configuratie`,\"debug.displayConfig\":`Weergave Configuratie`,\"debug.queryObject\":`Query-object`,\"debug.dataSample\":`Gegevens Sample (first 3 rijen)`,\"debug.cacheStatus\":`Cachestatus`,\"debug.cacheHit\":`Cache-hit`,\"debug.cachedAt\":`Cached Bij:`,\"debug.ttl\":`TTL:`,\"debug.ttlRemaining\":`Resterende TTL:`,\"debug.freshQuery\":`Nieuwe query`,\"debug.notFromCache\":`Resultaat not served van cache`,\"debug.escToClose\":`Druk`,\"debug.escKey\":`ESC`,\"debug.toClose\":`naar sluiten`,\"debug.tooltip\":`Debug grafiek configuratie`,\"error.unableToRender\":`Kan niet renderen grafiek`,\"error.unableToRenderNamed\":`Kan niet renderen {title}`,\"error.renderDescription\":`There was an fout rendering deze grafiek component. De fout details zijn shown onder.`,\"error.errorLabel\":`Fout:`,\"error.typeLabel\":`Type:`,\"error.portletConfig\":`Portlet Configuratie`,\"error.cubeQuery\":`Cube-query`,\"error.componentStack\":`Componentstack`,\"error.tryAgain\":`Opnieuw proberen`,\"drill.back\":`Terug`,\"drill.goBackOneLevel\":`Go back één level`,\"drill.returnToTop\":`Return naar boven level`,\"drill.navigateTo\":`Navigeer naar {label}`,\"drill.empty\":`(leeg)`,\"analyticsPage.title\":`Analysepagina - Komt in fase 4`,\"dataHistogram.average\":`Gemiddelde van {count} waarden`,\"dataHistogram.valuesInRange\":`{count} waarden in deze bereik`,\"mcp.status.connecting\":`Verbinden...`,\"mcp.status.loading\":`Laden...`,\"mcp.status.waiting\":`Wachten op queryresultaten...`,\"mcp.error.connectionLabel\":`Verbindingsfout:`,\"mcp.error.errorLabel\":`Fout:`,\"mcp.error.noTextContent\":`Geen tekstinhoud in resultaat`,\"mcp.error.invalidResultFormat\":`Ongeldig resultaatformaat: data-array ontbreekt`,\"mcp.error.parseFailed\":`Kon resultaat niet verwerken: {message}`,\"mcp.error.queryFailed\":`Query mislukt: {message}`,\"mcp.footer.rows\":`{count} rij`,\"mcp.footer.rowsPlural\":`{count} rijen`,\"mcp.footer.measures\":`{count} metriek`,\"mcp.footer.measuresPlural\":`{count} metrieken`,\"mcp.footer.dimensions\":`{count} dimensie`,\"mcp.footer.dimensionsPlural\":`{count} dimensies`}}));Ev();var Iv=`en-GB`,Lv=Tv,Rv=!1;function zv(e,t){let n=Lv[e];return n?t?n.replace(/\\{(\\w+)\\}/g,(e,n)=>{let r=t[n];return r===void 0?`{${n}}`:String(r)}):n:(Rv&&typeof console<`u`&&console.warn(`[drizzle-cube i18n] Missing translation key: \"${e}\"`),e)}async function Bv(e){if(e===`nl`&&(e=`nl-NL`),e===`en-GB`||e===`en`){Iv=`en-GB`,Lv=Tv;return}try{let t=await Cv(Object.assign({\"./locales/af-ZA.json\":()=>fv(()=>Promise.resolve().then(()=>(kv(),Dv)),void 0,import.meta.url),\"./locales/en-US.json\":()=>fv(()=>Promise.resolve().then(()=>(Mv(),Av)),void 0,import.meta.url),\"./locales/en.json\":()=>fv(()=>Promise.resolve().then(()=>(Ev(),wv)),void 0,import.meta.url),\"./locales/nl-NL.json\":()=>fv(()=>Promise.resolve().then(()=>(Fv(),Nv)),void 0,import.meta.url)}),`./locales/${e}.json`,3);Iv=e,Lv={...Tv,...t.default}}catch{typeof console<`u`&&console.warn(`[drizzle-cube] Failed to load locale \"${e}\", falling back to en-GB`),Iv=`en-GB`,Lv=Tv}}function Vv(e,t){Iv=e,Lv={...Tv,...t}}function Hv(){return Iv}function Uv(){return Lv}var Wv=s((e=>{var t=p(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),q=s(((e,t)=>{t.exports=Wv()}))(),Gv=(0,z.createContext)({t:zv,locale:`en-GB`});function Kv({locale:e=`en-GB`,translations:t,children:n}){let[r,i]=(0,z.useState)(!1),[a,o]=(0,z.useState)(Hv());(0,z.useEffect)(()=>{let n=!1;return(async()=>{await Bv(e),t&&!n&&Vv(e,{...Uv(),...t}),n||(o(Hv()),i(!0))})(),()=>{n=!0}},[e,t]);let s={t:zv,locale:r?a:e};return(0,q.jsx)(Gv.Provider,{value:s,children:n})}function qv(e){let{t,locale:n}=(0,z.useContext)(Gv);return{t:(0,z.useCallback)((n,r)=>t(e?`${e}.${n}`:n,r),[t,e]),locale:n}}function Jv(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Jv(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function J(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Jv(e))&&(r&&(r+=` `),r+=t);return r}var Yv=`dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture`.split(`.`);function Xv(e){return typeof e==`string`?Yv.includes(e):!1}var Zv=new Set(`aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle`.split(`.`));function Qv(e){return typeof e==`string`?Zv.has(e):!1}function $v(e){return typeof e==`string`&&e.startsWith(`data-`)}function ey(e){if(typeof e!=`object`||!e)return{};var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Qv(n)||$v(n))&&(t[n]=e[n]);return t}function ty(e){if(e==null)return null;if((0,z.isValidElement)(e)&&typeof e.props==`object`&&e.props!==null){var t=e.props;return ey(t)}return typeof e==`object`&&!Array.isArray(e)?ey(e):null}function ny(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(Qv(n)||$v(n)||Xv(n))&&(t[n]=e[n]);return t}function ry(e){return e==null?null:(0,z.isValidElement)(e)?ny(e.props):typeof e==`object`&&!Array.isArray(e)?ny(e):null}var iy=[`children`,`width`,`height`,`viewBox`,`className`,`style`,`title`,`desc`];function ay(){return ay=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ay.apply(null,arguments)}function oy(e,t){if(e==null)return{};var n,r,i=sy(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function sy(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var cy=(0,z.forwardRef)((e,t)=>{var{children:n,width:r,height:i,viewBox:a,className:o,style:s,title:c,desc:l}=e,u=oy(e,iy),d=a||{width:r,height:i,x:0,y:0},f=J(`recharts-surface`,o);return z.createElement(`svg`,ay({},ny(u),{className:f,width:r,height:i,style:s,viewBox:`${d.x} ${d.y} ${d.width} ${d.height}`,ref:t}),z.createElement(`title`,null,c),z.createElement(`desc`,null,l),n)}),ly=[`children`,`className`];function uy(){return uy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uy.apply(null,arguments)}function dy(e,t){if(e==null)return{};var n,r,i=fy(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function fy(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Y=z.forwardRef((e,t)=>{var{children:n,className:r}=e,i=dy(e,ly),a=J(`recharts-layer`,r);return z.createElement(`g`,uy({className:a},ny(i),{ref:t}),n)}),py=(0,z.createContext)(null),my=()=>(0,z.useContext)(py);function hy(e){return function(){return e}}var gy=Math.abs,_y=Math.atan2,vy=Math.cos,yy=Math.max,by=Math.min,xy=Math.sin,Sy=Math.sqrt,Cy=Math.PI,wy=Cy/2,Ty=2*Cy;function Ey(e){return e>1?0:e<-1?Cy:Math.acos(e)}function Dy(e){return e>=1?wy:e<=-1?-wy:Math.asin(e)}var Oy=Math.PI,ky=2*Oy,Ay=1e-6,jy=ky-Ay;function My(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function Ny(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return My;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var Py=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?My:Ny(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e=+e,t=+t,n=+n,r=+r,i=+i,i<0)throw Error(`negative radius: ${i}`);let a=this._x1,o=this._y1,s=n-e,c=r-t,l=a-e,u=o-t,d=l*l+u*u;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(d>Ay)if(!(Math.abs(u*s-c*l)>Ay)||!i)this._append`L${this._x1=e},${this._y1=t}`;else{let f=n-a,p=r-o,m=s*s+c*c,h=f*f+p*p,g=Math.sqrt(m),_=Math.sqrt(d),v=i*Math.tan((Oy-Math.acos((m+d-h)/(2*g*_)))/2),y=v/_,b=v/g;Math.abs(y-1)>Ay&&this._append`L${e+y*l},${t+y*u}`,this._append`A${i},${i},0,0,${+(u*f>l*p)},${this._x1=e+b*s},${this._y1=t+b*c}`}}arc(e,t,n,r,i,a){if(e=+e,t=+t,n=+n,a=!!a,n<0)throw Error(`negative radius: ${n}`);let o=n*Math.cos(r),s=n*Math.sin(r),c=e+o,l=t+s,u=1^a,d=a?r-i:i-r;this._x1===null?this._append`M${c},${l}`:(Math.abs(this._x1-c)>Ay||Math.abs(this._y1-l)>Ay)&&this._append`L${c},${l}`,n&&(d<0&&(d=d%ky+ky),d>jy?this._append`A${n},${n},0,1,${u},${e-o},${t-s}A${n},${n},0,1,${u},${this._x1=c},${this._y1=l}`:d>Ay&&this._append`A${n},${n},0,${+(d>=Oy)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function Fy(){return new Py}Fy.prototype=Py.prototype;function Iy(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new Py(t)}function Ly(e){return e.innerRadius}function Ry(e){return e.outerRadius}function zy(e){return e.startAngle}function By(e){return e.endAngle}function Vy(e){return e&&e.padAngle}function Hy(e,t,n,r,i,a,o,s){var c=n-e,l=r-t,u=o-i,d=s-a,f=d*c-u*l;if(!(f*f<1e-12))return f=(u*(t-a)-d*(e-i))/f,[e+f*c,t+f*l]}function Uy(e,t,n,r,i,a,o){var s=e-n,c=t-r,l=(o?a:-a)/Sy(s*s+c*c),u=l*c,d=-l*s,f=e+u,p=t+d,m=n+u,h=r+d,g=(f+m)/2,_=(p+h)/2,v=m-f,y=h-p,b=v*v+y*y,x=i-a,S=f*h-m*p,C=(y<0?-1:1)*Sy(yy(0,x*x*b-S*S)),w=(S*y-v*C)/b,T=(-S*v-y*C)/b,E=(S*y+v*C)/b,D=(-S*v+y*C)/b,O=w-g,k=T-_,ee=E-g,te=D-_;return O*O+k*k>ee*ee+te*te&&(w=E,T=D),{cx:w,cy:T,x01:-u,y01:-d,x11:w*(i/x-1),y11:T*(i/x-1)}}function Wy(){var e=Ly,t=Ry,n=hy(0),r=null,i=zy,a=By,o=Vy,s=null,c=Iy(l);function l(){var l,u,d=+e.apply(this,arguments),f=+t.apply(this,arguments),p=i.apply(this,arguments)-wy,m=a.apply(this,arguments)-wy,h=gy(m-p),g=m>p;if(s||=l=c(),f<d&&(u=f,f=d,d=u),!(f>1e-12))s.moveTo(0,0);else if(h>Ty-1e-12)s.moveTo(f*vy(p),f*xy(p)),s.arc(0,0,f,p,m,!g),d>1e-12&&(s.moveTo(d*vy(m),d*xy(m)),s.arc(0,0,d,m,p,g));else{var _=p,v=m,y=p,b=m,x=h,S=h,C=o.apply(this,arguments)/2,w=C>1e-12&&(r?+r.apply(this,arguments):Sy(d*d+f*f)),T=by(gy(f-d)/2,+n.apply(this,arguments)),E=T,D=T,O,k;if(w>1e-12){var ee=Dy(w/d*xy(C)),te=Dy(w/f*xy(C));(x-=ee*2)>1e-12?(ee*=g?1:-1,y+=ee,b-=ee):(x=0,y=b=(p+m)/2),(S-=te*2)>1e-12?(te*=g?1:-1,_+=te,v-=te):(S=0,_=v=(p+m)/2)}var ne=f*vy(_),A=f*xy(_),re=d*vy(b),j=d*xy(b);if(T>1e-12){var ie=f*vy(v),ae=f*xy(v),oe=d*vy(y),se=d*xy(y),ce;if(h<Cy)if(ce=Hy(ne,A,oe,se,ie,ae,re,j)){var M=ne-ce[0],le=A-ce[1],ue=ie-ce[0],de=ae-ce[1],fe=1/xy(Ey((M*ue+le*de)/(Sy(M*M+le*le)*Sy(ue*ue+de*de)))/2),pe=Sy(ce[0]*ce[0]+ce[1]*ce[1]);E=by(T,(d-pe)/(fe-1)),D=by(T,(f-pe)/(fe+1))}else E=D=0}S>1e-12?D>1e-12?(O=Uy(oe,se,ne,A,f,D,g),k=Uy(ie,ae,re,j,f,D,g),s.moveTo(O.cx+O.x01,O.cy+O.y01),D<T?s.arc(O.cx,O.cy,D,_y(O.y01,O.x01),_y(k.y01,k.x01),!g):(s.arc(O.cx,O.cy,D,_y(O.y01,O.x01),_y(O.y11,O.x11),!g),s.arc(0,0,f,_y(O.cy+O.y11,O.cx+O.x11),_y(k.cy+k.y11,k.cx+k.x11),!g),s.arc(k.cx,k.cy,D,_y(k.y11,k.x11),_y(k.y01,k.x01),!g))):(s.moveTo(ne,A),s.arc(0,0,f,_,v,!g)):s.moveTo(ne,A),!(d>1e-12)||!(x>1e-12)?s.lineTo(re,j):E>1e-12?(O=Uy(re,j,ie,ae,d,-E,g),k=Uy(ne,A,oe,se,d,-E,g),s.lineTo(O.cx+O.x01,O.cy+O.y01),E<T?s.arc(O.cx,O.cy,E,_y(O.y01,O.x01),_y(k.y01,k.x01),!g):(s.arc(O.cx,O.cy,E,_y(O.y01,O.x01),_y(O.y11,O.x11),!g),s.arc(0,0,d,_y(O.cy+O.y11,O.cx+O.x11),_y(k.cy+k.y11,k.cx+k.x11),g),s.arc(k.cx,k.cy,E,_y(k.y11,k.x11),_y(k.y01,k.x01),!g))):s.arc(0,0,d,b,y,g)}if(s.closePath(),l)return s=null,l+``||null}return l.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-Cy/2;return[vy(r)*n,xy(r)*n]},l.innerRadius=function(t){return arguments.length?(e=typeof t==`function`?t:hy(+t),l):e},l.outerRadius=function(e){return arguments.length?(t=typeof e==`function`?e:hy(+e),l):t},l.cornerRadius=function(e){return arguments.length?(n=typeof e==`function`?e:hy(+e),l):n},l.padRadius=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:hy(+e),l):r},l.startAngle=function(e){return arguments.length?(i=typeof e==`function`?e:hy(+e),l):i},l.endAngle=function(e){return arguments.length?(a=typeof e==`function`?e:hy(+e),l):a},l.padAngle=function(e){return arguments.length?(o=typeof e==`function`?e:hy(+e),l):o},l.context=function(e){return arguments.length?(s=e??null,l):s},l}Array.prototype.slice;function Gy(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function Ky(e){this._context=e}Ky.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function qy(e){return new Ky(e)}function Jy(e){return e[0]}function Yy(e){return e[1]}function Xy(e,t){var n=hy(!0),r=null,i=qy,a=null,o=Iy(s);e=typeof e==`function`?e:e===void 0?Jy:hy(e),t=typeof t==`function`?t:t===void 0?Yy:hy(t);function s(s){var c,l=(s=Gy(s)).length,u,d=!1,f;for(r??(a=i(f=o())),c=0;c<=l;++c)!(c<l&&n(u=s[c],c,s))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+e(u,c,s),+t(u,c,s));if(f)return a=null,f+``||null}return s.x=function(t){return arguments.length?(e=typeof t==`function`?t:hy(+t),s):e},s.y=function(e){return arguments.length?(t=typeof e==`function`?e:hy(+e),s):t},s.defined=function(e){return arguments.length?(n=typeof e==`function`?e:hy(!!e),s):n},s.curve=function(e){return arguments.length?(i=e,r!=null&&(a=i(r)),s):i},s.context=function(e){return arguments.length?(e==null?r=a=null:a=i(r=e),s):r},s}function Zy(e,t,n){var r=null,i=hy(!0),a=null,o=qy,s=null,c=Iy(l);e=typeof e==`function`?e:e===void 0?Jy:hy(+e),t=typeof t==`function`?t:hy(t===void 0?0:+t),n=typeof n==`function`?n:n===void 0?Yy:hy(+n);function l(l){var u,d,f,p=(l=Gy(l)).length,m,h=!1,g,_=Array(p),v=Array(p);for(a??(s=o(g=c())),u=0;u<=p;++u){if(!(u<p&&i(m=l[u],u,l))===h)if(h=!h)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(_[f],v[f]);s.lineEnd(),s.areaEnd()}h&&(_[u]=+e(m,u,l),v[u]=+t(m,u,l),s.point(r?+r(m,u,l):_[u],n?+n(m,u,l):v[u]))}if(g)return s=null,g+``||null}function u(){return Xy().defined(i).curve(o).context(a)}return l.x=function(t){return arguments.length?(e=typeof t==`function`?t:hy(+t),r=null,l):e},l.x0=function(t){return arguments.length?(e=typeof t==`function`?t:hy(+t),l):e},l.x1=function(e){return arguments.length?(r=e==null?null:typeof e==`function`?e:hy(+e),l):r},l.y=function(e){return arguments.length?(t=typeof e==`function`?e:hy(+e),n=null,l):t},l.y0=function(e){return arguments.length?(t=typeof e==`function`?e:hy(+e),l):t},l.y1=function(e){return arguments.length?(n=e==null?null:typeof e==`function`?e:hy(+e),l):n},l.lineX0=l.lineY0=function(){return u().x(e).y(t)},l.lineY1=function(){return u().x(e).y(n)},l.lineX1=function(){return u().x(r).y(t)},l.defined=function(e){return arguments.length?(i=typeof e==`function`?e:hy(!!e),l):i},l.curve=function(e){return arguments.length?(o=e,a!=null&&(s=o(a)),l):o},l.context=function(e){return arguments.length?(e==null?a=s=null:s=o(a=e),l):a},l}var Qy=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t);break}this._x0=e,this._y0=t}};function $y(e){return new Qy(e,!0)}function eb(e){return new Qy(e,!1)}var tb={draw(e,t){let n=Sy(t/Cy);e.moveTo(n,0),e.arc(0,0,n,0,Ty)}},nb={draw(e,t){let n=Sy(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},rb=Sy(1/3),ib=rb*2,ab={draw(e,t){let n=Sy(t/ib),r=n*rb;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},ob={draw(e,t){let n=Sy(t),r=-n/2;e.rect(r,r,n,n)}},sb=.8908130915292852,cb=xy(Cy/10)/xy(7*Cy/10),lb=xy(Ty/10)*cb,ub=-vy(Ty/10)*cb,db={draw(e,t){let n=Sy(t*sb),r=lb*n,i=ub*n;e.moveTo(0,-n),e.lineTo(r,i);for(let t=1;t<5;++t){let a=Ty*t/5,o=vy(a),s=xy(a);e.lineTo(s*n,-o*n),e.lineTo(o*r-s*i,s*r+o*i)}e.closePath()}},fb=Sy(3),pb={draw(e,t){let n=-Sy(t/(fb*3));e.moveTo(0,n*2),e.lineTo(-fb*n,-n),e.lineTo(fb*n,-n),e.closePath()}},mb=-.5,hb=Sy(3)/2,gb=1/Sy(12),_b=(gb/2+1)*3,vb={draw(e,t){let n=Sy(t/_b),r=n/2,i=n*gb,a=r,o=n*gb+n,s=-a,c=o;e.moveTo(r,i),e.lineTo(a,o),e.lineTo(s,c),e.lineTo(mb*r-hb*i,hb*r+mb*i),e.lineTo(mb*a-hb*o,hb*a+mb*o),e.lineTo(mb*s-hb*c,hb*s+mb*c),e.lineTo(mb*r+hb*i,mb*i-hb*r),e.lineTo(mb*a+hb*o,mb*o-hb*a),e.lineTo(mb*s+hb*c,mb*c-hb*s),e.closePath()}};function yb(e,t){let n=null,r=Iy(i);e=typeof e==`function`?e:hy(e||tb),t=typeof t==`function`?t:hy(t===void 0?64:+t);function i(){let i;if(n||=i=r(),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+``||null}return i.type=function(t){return arguments.length?(e=typeof t==`function`?t:hy(t),i):e},i.size=function(e){return arguments.length?(t=typeof e==`function`?e:hy(+e),i):t},i.context=function(e){return arguments.length?(n=e??null,i):n},i}function bb(){}function xb(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function Sb(e){this._context=e}Sb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xb(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xb(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Cb(e){return new Sb(e)}function wb(e){this._context=e}wb.prototype={areaStart:bb,areaEnd:bb,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:xb(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Tb(e){return new wb(e)}function Eb(e){this._context=e}Eb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xb(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function Db(e){return new Eb(e)}function Ob(e){this._context=e}Ob.prototype={areaStart:bb,areaEnd:bb,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function kb(e){return new Ob(e)}function Ab(e){return e<0?-1:1}function jb(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(Ab(a)+Ab(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Mb(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Nb(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function Pb(e){this._context=e}Pb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Nb(this,this._t0,Mb(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Nb(this,Mb(this,n=jb(this,e,t)),n);break;default:Nb(this,this._t0,n=jb(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function Fb(e){this._context=new Ib(e)}(Fb.prototype=Object.create(Pb.prototype)).point=function(e,t){Pb.prototype.point.call(this,t,e)};function Ib(e){this._context=e}Ib.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function Lb(e){return new Pb(e)}function Rb(e){return new Fb(e)}function zb(e){this._context=e}zb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=Bb(e),i=Bb(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Bb(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Vb(e){return new zb(e)}function Hb(e,t){this._context=e,this._t=t}Hb.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}this._x=e,this._y=t}};function Ub(e){return new Hb(e,.5)}function Wb(e){return new Hb(e,0)}function Gb(e){return new Hb(e,1)}function Kb(e,t){if((o=e.length)>1)for(var n=1,r,i,a=e[t[0]],o,s=a.length;n<o;++n)for(i=a,a=e[t[n]],r=0;r<s;++r)a[r][1]+=a[r][0]=isNaN(i[r][1])?i[r][0]:i[r][1]}function qb(e){for(var t=e.length,n=Array(t);--t>=0;)n[t]=t;return n}function Jb(e,t){return e[t]}function Yb(e){let t=[];return t.key=e,t}function Xb(){var e=hy([]),t=qb,n=Kb,r=Jb;function i(i){var a=Array.from(e.apply(this,arguments),Yb),o,s=a.length,c=-1,l;for(let e of i)for(o=0,++c;o<s;++o)(a[o][c]=[0,+r(e,a[o].key,c,i)]).data=e;for(o=0,l=Gy(t(a));o<s;++o)a[l[o]].index=o;return n(a,l),a}return i.keys=function(t){return arguments.length?(e=typeof t==`function`?t:hy(Array.from(t)),i):e},i.value=function(e){return arguments.length?(r=typeof e==`function`?e:hy(+e),i):r},i.order=function(e){return arguments.length?(t=e==null?qb:typeof e==`function`?e:hy(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(n=e??Kb,i):n},i}function Zb(e,t){if((r=e.length)>0){for(var n,r,i=0,a=e[0].length,o;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Kb(e,t)}}function Qb(e,t){if((i=e.length)>0){for(var n=0,r=e[t[0]],i,a=r.length;n<a;++n){for(var o=0,s=0;o<i;++o)s+=e[o][n][1]||0;r[n][1]+=r[n][0]=-s/2}Kb(e,t)}}function $b(e,t){if(!(!((o=e.length)>0)||!((a=(i=e[t[0]]).length)>0))){for(var n=0,r=1,i,a,o;r<a;++r){for(var s=0,c=0,l=0;s<o;++s){for(var u=e[t[s]],d=u[r][1]||0,f=(d-(u[r-1][1]||0))/2,p=0;p<s;++p){var m=e[t[p]],h=m[r][1]||0,g=m[r-1][1]||0;f+=h-g}c+=d,l+=f*d}i[r-1][1]+=i[r-1][0]=n,c&&(n-=l/c)}i[r-1][1]+=i[r-1][0]=n,Kb(e,t)}}var ex=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e===`__proto__`}e.isUnsafeProperty=t})),tx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){switch(typeof e){case`number`:case`symbol`:return!1;case`string`:return e.includes(`.`)||e.includes(`[`)||e.includes(`]`)}}e.isDeepKey=t})),nx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`string`||typeof e==`symbol`?e:Object.is(e?.valueOf?.(),-0)?`-0`:String(e)}e.toKey=t})),rx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){if(e==null)return``;if(typeof e==`string`)return e;if(Array.isArray(e))return e.map(t).join(`,`);let n=String(e);return n===`0`&&Object.is(Number(e),-0)?`-0`:n}e.toString=t})),ix=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=rx(),n=nx();function r(e){if(Array.isArray(e))return e.map(n.toKey);if(typeof e==`symbol`)return[e];e=t.toString(e);let r=[],i=e.length;if(i===0)return r;let a=0,o=``,s=``,c=!1;for(e.charCodeAt(0)===46&&(r.push(``),a++);a<i;){let t=e[a];s?t===`\\\\`&&a+1<i?(a++,o+=e[a]):t===s?s=``:o+=t:c?t===`\"`||t===`'`?s=t:t===`]`?(c=!1,r.push(o),o=``):o+=t:t===`[`?(c=!0,o&&=(r.push(o),``)):t===`.`?o&&=(r.push(o),``):o+=t,a++}return o&&r.push(o),r}e.toPath=r})),ax=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ex(),n=tx(),r=nx(),i=ix();function a(e,s,c){if(e==null)return c;switch(typeof s){case`string`:{if(t.isUnsafeProperty(s))return c;let r=e[s];return r===void 0?n.isDeepKey(s)?a(e,i.toPath(s),c):c:r}case`number`:case`symbol`:{typeof s==`number`&&(s=r.toKey(s));let t=e[s];return t===void 0?c:t}default:{if(Array.isArray(s))return o(e,s,c);if(s=Object.is(s?.valueOf(),-0)?`-0`:String(s),t.isUnsafeProperty(s))return c;let n=e[s];return n===void 0?c:n}}}function o(e,n,r){if(n.length===0)return r;let i=e;for(let e=0;e<n.length;e++){if(i==null||t.isUnsafeProperty(n[e]))return r;i=i[n[e]]}return i===void 0?r:i}e.get=a})),Vee=s(((e,t)=>{t.exports=ax().get})),ox=4;function sx(e){var t=10**(arguments.length>1&&arguments[1]!==void 0?arguments[1]:ox),n=Math.round(e*t)/t;return Object.is(n,-0)?0:n}function cx(e){var t=[...arguments].slice(1);return e.reduce((e,n,r)=>{var i=t[r-1];return typeof i==`string`?e+i+n:i===void 0?e+n:e+sx(i)+n},``)}var lx=u(Vee()),ux=e=>e===0?0:e>0?1:-1,dx=e=>typeof e==`number`&&e!=+e,fx=e=>typeof e==`string`&&e.indexOf(`%`)===e.length-1,X=e=>(typeof e==`number`||e instanceof Number)&&!dx(e),px=e=>X(e)||typeof e==`string`,Hee=0,mx=e=>{var t=++Hee;return`${e||``}${t}`},hx=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!X(e)&&typeof e!=`string`)return n;var i;if(fx(e)){if(t==null)return n;var a=e.indexOf(`%`);i=t*parseFloat(e.slice(0,a))/100}else i=+e;return dx(i)&&(i=n),r&&t!=null&&i>t&&(i=t),i},gx=e=>{if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++)if(!n[String(e[r])])n[String(e[r])]=!0;else return!0;return!1};function Z(e,t,n){return X(e)&&X(t)?sx(e+n*(t-e)):t}function _x(e,t,n){if(!(!e||!e.length))return e.find(e=>e&&(typeof t==`function`?t(e):(0,lx.default)(e,t))===n)}var Uee=e=>{for(var t=e.length,n=0,r=0,i=0,a=0,o=1/0,s=-1/0,c=0,l=0,u=0;u<t;u++)c=e[u]?.cx||0,l=e[u]?.cy||0,n+=c,r+=l,i+=c*l,a+=c*c,o=Math.min(o,c),s=Math.max(s,c);var d=t*a===n*n?0:(t*i-n*r)/(t*a-n*n);return{xmin:o,xmax:s,a:d,b:(r-d*n)/t}},vx=e=>e==null,yx=e=>vx(e)?e:`${e.charAt(0).toUpperCase()}${e.slice(1)}`;function bx(e){return e!=null}function xx(){}var Wee=[`type`,`size`,`sizeType`];function Sx(){return Sx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sx.apply(null,arguments)}function Cx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wx(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Cx(Object(n),!0).forEach(function(t){Gee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Gee(e,t,n){return(t=Kee(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kee(e){var t=qee(e,`string`);return typeof t==`symbol`?t:t+``}function qee(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Jee(e,t){if(e==null)return{};var n,r,i=Yee(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Yee(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Tx={symbolCircle:tb,symbolCross:nb,symbolDiamond:ab,symbolSquare:ob,symbolStar:db,symbolTriangle:pb,symbolWye:vb},Xee=Math.PI/180,Zee=e=>Tx[`symbol${yx(e)}`]||tb,Qee=(e,t,n)=>{if(t===`area`)return e;switch(n){case`cross`:return 5*e*e/9;case`diamond`:return .5*e*e/Math.sqrt(3);case`square`:return e*e;case`star`:var r=18*Xee;return 1.25*e*e*(Math.tan(r)-Math.tan(r*2)*Math.tan(r)**2);case`triangle`:return Math.sqrt(3)*e*e/4;case`wye`:return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}},$ee=(e,t)=>{Tx[`symbol${yx(e)}`]=t},Ex=e=>{var{type:t=`circle`,size:n=64,sizeType:r=`area`}=e,i=wx(wx({},Jee(e,Wee)),{},{type:t,size:n,sizeType:r}),a=`circle`;typeof t==`string`&&(a=t);var o=()=>{var e=Zee(a),t=yb().type(e).size(Qee(n,r,a))();if(t!==null)return t},{className:s,cx:c,cy:l}=i,u=ny(i);return X(c)&&X(l)&&X(n)?z.createElement(`path`,Sx({},u,{className:J(`recharts-symbols`,s),transform:`translate(${c}, ${l})`,d:o()})):null};Ex.registerSymbol=$ee;var Dx=e=>`radius`in e&&`startAngle`in e&&`endAngle`in e,Ox=(e,t)=>{if(!e||typeof e==`function`||typeof e==`boolean`)return null;var n=e;if((0,z.isValidElement)(e)&&(n=e.props),typeof n!=`object`&&typeof n!=`function`)return null;var r={};return Object.keys(n).forEach(e=>{Xv(e)&&typeof n[e]==`function`&&(r[e]=t||(t=>n[e](n,t)))}),r},ete=(e,t,n)=>r=>(e(t,n,r),null),kx=(e,t,n)=>{if(e===null||typeof e!=`object`&&typeof e!=`function`)return null;var r=null;return Object.keys(e).forEach(i=>{var a=e[i];Xv(i)&&typeof a==`function`&&(r||={},r[i]=ete(a,t,n))}),r},tte=e=>Array.isArray(e)&&e.length>0;function Ax(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nte(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Ax(Object(n),!0).forEach(function(t){rte(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ax(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rte(e,t,n){return(t=ite(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ite(e){var t=ate(e,`string`);return typeof t==`symbol`?t:t+``}function ate(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function jx(e,t){var n=nte({},e),r=t;return Object.keys(t).reduce((e,t)=>(e[t]===void 0&&r[t]!==void 0&&(e[t]=r[t]),e),n)}function Mx(){return Mx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mx.apply(null,arguments)}function Nx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Px(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Nx(Object(n),!0).forEach(function(t){ote(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ote(e,t,n){return(t=ste(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ste(e){var t=cte(e,`string`);return typeof t==`symbol`?t:t+``}function cte(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Fx=32,lte={align:`center`,iconSize:14,inactiveColor:`#ccc`,layout:`horizontal`,verticalAlign:`middle`,labelStyle:{}};function ute(e){if(typeof e==`object`&&e&&`strokeDasharray`in e)return String(e.strokeDasharray)}function dte(e){var{data:t,iconType:n,inactiveColor:r}=e,i=Fx/2,a=Fx/6,o=Fx/3,s=t.inactive?r:t.color,c=n??t.type;if(c===`none`)return null;if(c===`plainline`)return z.createElement(`line`,{strokeWidth:4,fill:`none`,stroke:s,strokeDasharray:ute(t.payload),x1:0,y1:i,x2:Fx,y2:i,className:`recharts-legend-icon`});if(c===`line`)return z.createElement(`path`,{strokeWidth:4,fill:`none`,stroke:s,d:`M0,${i}h${o}\n A${a},${a},0,1,1,${2*o},${i}\n H${Fx}M${2*o},${i}\n A${a},${a},0,1,1,${o},${i}`,className:`recharts-legend-icon`});if(c===`rect`)return z.createElement(`path`,{stroke:`none`,fill:s,d:`M0,${Fx/8}h${Fx}v${Fx*3/4}h${-Fx}z`,className:`recharts-legend-icon`});if(z.isValidElement(t.legendIcon)){var l=Px({},t);return delete l.legendIcon,z.cloneElement(t.legendIcon,l)}return z.createElement(Ex,{fill:s,cx:i,cy:i,size:Fx,sizeType:`diameter`,type:c})}function fte(e){var{payload:t,iconSize:n,layout:r,formatter:i,inactiveColor:a,iconType:o,labelStyle:s}=e,c={x:0,y:0,width:Fx,height:Fx},l={display:r===`horizontal`?`inline-block`:`block`,marginRight:10},u={display:`inline-block`,verticalAlign:`middle`,marginRight:4};return t.map((t,r)=>{var d=t.formatter||i,f=J({\"recharts-legend-item\":!0,[`legend-item-${r}`]:!0,inactive:t.inactive});if(t.type===`none`)return null;var p=typeof s==`object`?Px({},s):{};p.color=t.inactive?a:p.color||t.color;var m=d?d(t.value,t,r):t.value;return z.createElement(`li`,Mx({className:f,style:l,key:`legend-item-${r}`},kx(e,t,r)),z.createElement(cy,{width:n,height:n,viewBox:c,style:u,\"aria-label\":`${t.value} legend icon`},z.createElement(dte,{data:t,iconType:o,inactiveColor:a})),z.createElement(`span`,{className:`recharts-legend-item-text`,style:p},m))})}var pte=e=>{var t=jx(e,lte),{payload:n,layout:r,align:i}=t;if(!n||!n.length)return null;var a={padding:0,margin:0,textAlign:r===`horizontal`?i:`left`};return z.createElement(`ul`,{className:`recharts-default-legend`,style:a},z.createElement(fte,Mx({},t,{payload:n})))},mte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){let n=new Map;for(let r=0;r<e.length;r++){let i=e[r],a=t(i,r,e);n.has(a)||n.set(a,i)}return Array.from(n.values())}e.uniqBy=t})),hte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){return function(...n){return e.apply(this,n.slice(0,t))}}e.ary=t})),Ix=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e}e.identity=t})),gte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Number.isSafeInteger(e)&&e>=0}e.isLength=t})),Lx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=gte();function n(e){return e!=null&&typeof e!=`function`&&t.isLength(e.length)}e.isArrayLike=n})),_te=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`object`&&!!e}e.isObjectLike=t})),vte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Lx(),n=_te();function r(e){return n.isObjectLike(e)&&t.isArrayLike(e)}e.isArrayLikeObject=r})),yte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ax();function n(e){return function(n){return t.get(n,e)}}e.property=n})),Rx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e!==null&&(typeof e==`object`||typeof e==`function`)}e.isObject=t})),zx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null||typeof e!=`object`&&typeof e!=`function`}e.isPrimitive=t})),Bx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}e.isEqualsSameValueZero=t})),bte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Rx(),n=zx(),r=Bx();function i(e,t,n){return typeof n==`function`?a(e,t,function e(t,r,i,o,s,c){let l=n(t,r,i,o,s,c);return l===void 0?a(t,r,e,c):!!l},new Map):i(e,t,()=>void 0)}function a(e,n,i,s){if(n===e)return!0;switch(typeof n){case`object`:return o(e,n,i,s);case`function`:return Object.keys(n).length>0?a(e,{...n},i,s):r.isEqualsSameValueZero(e,n);default:return t.isObject(e)?typeof n==`string`?n===``:!0:r.isEqualsSameValueZero(e,n)}}function o(e,t,r,i){if(t==null)return!0;if(Array.isArray(t))return c(e,t,r,i);if(t instanceof Map)return s(e,t,r,i);if(t instanceof Set)return l(e,t,r,i);let a=Object.keys(t);if(e==null||n.isPrimitive(e))return a.length===0;if(a.length===0)return!0;if(i?.has(t))return i.get(t)===e;i?.set(t,e);try{for(let o=0;o<a.length;o++){let s=a[o];if(!n.isPrimitive(e)&&!(s in e)||t[s]===void 0&&e[s]!==void 0||t[s]===null&&e[s]!==null||!r(e[s],t[s],s,e,t,i))return!1}return!0}finally{i?.delete(t)}}function s(e,t,n,r){if(t.size===0)return!0;if(!(e instanceof Map))return!1;for(let[i,a]of t.entries())if(n(e.get(i),a,i,e,t,r)===!1)return!1;return!0}function c(e,t,n,r){if(t.length===0)return!0;if(!Array.isArray(e))return!1;let i=new Set;for(let a=0;a<t.length;a++){let o=t[a],s=!1;for(let c=0;c<e.length;c++){if(i.has(c))continue;let l=e[c],u=!1;if(n(l,o,a,e,t,r)&&(u=!0),u){i.add(c),s=!0;break}}if(!s)return!1}return!0}function l(e,t,n,r){return t.size===0?!0:e instanceof Set?c([...e],[...t],n,r):!1}e.isMatchWith=i,e.isSetMatch=l})),Vx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=bte();function n(e,n){return t.isMatchWith(e,n,()=>void 0)}e.isMatch=n})),Hx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}e.getSymbols=t})),Ux=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}e.getTag=t})),Wx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`}),e.argumentsTag=`[object Arguments]`,e.arrayBufferTag=`[object ArrayBuffer]`,e.arrayTag=`[object Array]`,e.bigInt64ArrayTag=`[object BigInt64Array]`,e.bigUint64ArrayTag=`[object BigUint64Array]`,e.booleanTag=`[object Boolean]`,e.dataViewTag=`[object DataView]`,e.dateTag=`[object Date]`,e.errorTag=`[object Error]`,e.float32ArrayTag=`[object Float32Array]`,e.float64ArrayTag=`[object Float64Array]`,e.functionTag=`[object Function]`,e.int16ArrayTag=`[object Int16Array]`,e.int32ArrayTag=`[object Int32Array]`,e.int8ArrayTag=`[object Int8Array]`,e.mapTag=`[object Map]`,e.numberTag=`[object Number]`,e.objectTag=`[object Object]`,e.regexpTag=`[object RegExp]`,e.setTag=`[object Set]`,e.stringTag=`[object String]`,e.symbolTag=`[object Symbol]`,e.uint16ArrayTag=`[object Uint16Array]`,e.uint32ArrayTag=`[object Uint32Array]`,e.uint8ArrayTag=`[object Uint8Array]`,e.uint8ClampedArrayTag=`[object Uint8ClampedArray]`})),Gx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}e.isTypedArray=t})),Kx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Hx(),n=Ux(),r=Wx(),i=zx(),a=Gx();function o(e,t){return s(e,void 0,e,new Map,t)}function s(e,t,n,r=new Map,o=void 0){let u=o?.(e,t,n,r);if(u!==void 0)return u;if(i.isPrimitive(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=s(e[i],i,n,r,o);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[i,a]of e)t.set(i,s(a,i,n,r,o));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let i of e)t.add(s(i,void 0,n,r,o));return t}if(typeof Buffer<`u`&&Buffer.isBuffer(e))return e.subarray();if(a.isTypedArray(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let i=0;i<e.length;i++)t[i]=s(e[i],i,n,r,o);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),c(t,e,n,r,o),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),c(t,e,n,r,o),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof Error){let t=new e.constructor;return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,c(t,e,n,r,o),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),c(t,e,n,r,o),t}if(typeof e==`object`&&l(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),c(t,e,n,r,o),t}return e}function c(e,n,r=e,i,a){let o=[...Object.keys(n),...t.getSymbols(n)];for(let t=0;t<o.length;t++){let c=o[t],l=Object.getOwnPropertyDescriptor(e,c);(l==null||l.writable)&&(e[c]=s(n[c],c,r,i,a))}}function l(e){switch(n.getTag(e)){case r.argumentsTag:case r.arrayTag:case r.arrayBufferTag:case r.dataViewTag:case r.booleanTag:case r.dateTag:case r.float32ArrayTag:case r.float64ArrayTag:case r.int8ArrayTag:case r.int16ArrayTag:case r.int32ArrayTag:case r.mapTag:case r.numberTag:case r.objectTag:case r.regexpTag:case r.setTag:case r.stringTag:case r.symbolTag:case r.uint8ArrayTag:case r.uint8ClampedArrayTag:case r.uint16ArrayTag:case r.uint32ArrayTag:return!0;default:return!1}}e.cloneDeepWith=o,e.cloneDeepWithImpl=s,e.copyProperties=c})),xte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Kx();function n(e){return t.cloneDeepWithImpl(e,void 0,e,new Map,void 0)}e.cloneDeep=n})),Ste=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Vx(),n=xte();function r(e){return e=n.cloneDeep(e),n=>t.isMatch(n,e)}e.matches=r})),qx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Kx(),n=Ux(),r=Wx();function i(e,i){return t.cloneDeepWith(e,(a,o,s,c)=>{let l=i?.(a,o,s,c);if(l!==void 0)return l;if(typeof e==`object`){if(n.getTag(e)===r.objectTag&&typeof e.constructor!=`function`){let n={};return c.set(e,n),t.copyProperties(n,e,s,c),n}switch(Object.prototype.toString.call(e)){case r.numberTag:case r.stringTag:case r.booleanTag:{let n=new e.constructor(e?.valueOf());return t.copyProperties(n,e),n}case r.argumentsTag:{let n={};return t.copyProperties(n,e),n.length=e.length,n[Symbol.iterator]=e[Symbol.iterator],n}default:return}}})}e.cloneDeepWith=i})),Cte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=qx();function n(e){return t.cloneDeepWith(e)}e.cloneDeep=n})),Jx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=/^(?:0|[1-9]\\d*)$/;function n(e,n=2**53-1){switch(typeof e){case`number`:return Number.isInteger(e)&&e>=0&&e<n;case`symbol`:return!1;case`string`:return t.test(e)}}e.isIndex=n})),Yx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Ux();function n(e){return typeof e==`object`&&!!e&&t.getTag(e)===`[object Arguments]`}e.isArguments=n})),Xx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=tx(),n=Jx(),r=Yx(),i=ix();function a(e,a){let o;if(o=Array.isArray(a)?a:typeof a==`string`&&t.isDeepKey(a)&&e?.[a]==null?i.toPath(a):[a],o.length===0)return!1;let s=e;for(let e=0;e<o.length;e++){let t=o[e];if((s==null||!Object.hasOwn(s,t))&&!((Array.isArray(s)||r.isArguments(s))&&n.isIndex(t)&&t<s.length))return!1;s=s[t]}return!0}e.has=a})),Zx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Vx(),n=nx(),r=Cte(),i=ax(),a=Xx();function o(e,o){switch(typeof e){case`object`:Object.is(e?.valueOf(),-0)&&(e=`-0`);break;case`number`:e=n.toKey(e);break}return o=r.cloneDeep(o),function(n){let r=i.get(n,e);return r===void 0?a.has(n,e):o===void 0?r===void 0:t.isMatch(r,o)}}e.matchesProperty=o})),Qx=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Ix(),n=yte(),r=Ste(),i=Zx();function a(e){if(e==null)return t.identity;switch(typeof e){case`function`:return e;case`object`:return Array.isArray(e)&&e.length===2?i.matchesProperty(e[0],e[1]):r.matches(e);case`string`:case`symbol`:case`number`:return n.property(e)}}e.iteratee=a})),$x=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=mte(),n=hte(),r=Ix(),i=vte(),a=Qx();function o(e,o=r.identity){return i.isArrayLikeObject(e)?t.uniqBy(Array.from(e),n.ary(a.iteratee(o),1)):[]}e.uniqBy=o})),eS=u(s(((e,t)=>{t.exports=$x().uniqBy}))());function tS(e,t,n){return t===!0?(0,eS.default)(e,n):typeof t==`function`?(0,eS.default)(e,t):e}var nS=s((e=>{var t=p();function n(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var r=typeof Object.is==`function`?Object.is:n,i=t.useState,a=t.useEffect,o=t.useLayoutEffect,s=t.useDebugValue;function c(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),c=r[0].inst,u=r[1];return o(function(){c.value=n,c.getSnapshot=t,l(c)&&u({inst:c})},[e,n,t]),a(function(){return l(c)&&u({inst:c}),e(function(){l(c)&&u({inst:c})})},[e]),s(n),n}function l(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!r(e,n)}catch{return!0}}function u(e,t){return t()}var d=typeof window>`u`||window.document===void 0||window.document.createElement===void 0?u:c;e.useSyncExternalStore=t.useSyncExternalStore===void 0?d:t.useSyncExternalStore})),rS=s(((e,t)=>{t.exports=nS()})),iS=s((e=>{var t=p(),n=rS();function r(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var i=typeof Object.is==`function`?Object.is:r,a=n.useSyncExternalStore,o=t.useRef,s=t.useEffect,c=t.useMemo,l=t.useDebugValue;e.useSyncExternalStoreWithSelector=function(e,t,n,r,u){var d=o(null);if(d.current===null){var f={hasValue:!1,value:null};d.current=f}else f=d.current;d=c(function(){function e(e){if(!a){if(a=!0,o=e,e=r(e),u!==void 0&&f.hasValue){var t=f.value;if(u(t,e))return s=t}return s=e}if(t=s,i(o,e))return t;var n=r(e);return u!==void 0&&u(t,n)?(o=e,t):(o=e,s=n)}var a=!1,o,s,c=n===void 0?null:n;return[function(){return e(t())},c===null?void 0:function(){return e(c())}]},[t,n,r,u]);var p=a(e,d[0],d[1]);return s(function(){f.hasValue=!0,f.value=p},[p]),l(p),p}})),aS=s(((e,t)=>{t.exports=iS()})),oS=(0,z.createContext)(null),sS=aS(),cS=e=>e,lS=()=>{var e=(0,z.useContext)(oS);return e?e.store.dispatch:cS},uS=()=>{},dS=()=>uS,fS=(e,t)=>e===t;function Q(e){var t=(0,z.useContext)(oS),n=(0,z.useMemo)(()=>t?t=>{if(t!=null)return e(t)}:uS,[t,e]);return(0,sS.useSyncExternalStoreWithSelector)(t?t.subscription.addNestedSub:dS,t?t.store.getState:uS,t?t.store.getState:uS,n,fS)}function pS(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!=`function`)throw TypeError(t)}function mS(e,t=`expected an object, instead received ${typeof e}`){if(typeof e!=`object`)throw TypeError(t)}function hS(e,t=`expected all items to be functions, instead received the following types: `){if(!e.every(e=>typeof e==`function`)){let n=e.map(e=>typeof e==`function`?`function ${e.name||`unnamed`}()`:typeof e).join(`, `);throw TypeError(`${t}[${n}]`)}}var gS=e=>Array.isArray(e)?e:[e];function _S(e){let t=Array.isArray(e[0])?e[0]:e;return hS(t,`createSelector expects all input-selectors to be functions, but received the following types: `),t}function vS(e,t){let n=[],{length:r}=e;for(let i=0;i<r;i++)n.push(e[i].apply(null,t));return n}var yS=class{constructor(e){this.value=e}deref(){return this.value}},bS=typeof WeakRef<`u`?WeakRef:yS,xS=0,SS=1;function CS(){return{s:xS,v:void 0,o:null,p:null}}function wS(e,t={}){let n=CS(),{resultEqualityCheck:r}=t,i,a=0;function o(){let t=n,{length:o}=arguments;for(let e=0,n=o;e<n;e++){let n=arguments[e];if(typeof n==`function`||typeof n==`object`&&n){let e=t.o;e===null&&(t.o=e=new WeakMap);let r=e.get(n);r===void 0?(t=CS(),e.set(n,t)):t=r}else{let e=t.p;e===null&&(t.p=e=new Map);let r=e.get(n);r===void 0?(t=CS(),e.set(n,t)):t=r}}let s=t,c;if(t.s===SS)c=t.v;else if(c=e.apply(null,arguments),a++,r){let e=i?.deref?.()??i;e!=null&&r(e,c)&&(c=e,a!==0&&a--),i=typeof c==`object`&&c||typeof c==`function`?new bS(c):c}return s.s=SS,s.v=c,c}return o.clearCache=()=>{n=CS(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function TS(e,...t){let n=typeof e==`function`?{memoize:e,memoizeOptions:t}:e,r=(...e)=>{let t=0,r=0,i,a={},o=e.pop();typeof o==`object`&&(a=o,o=e.pop()),pS(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:c=[],argsMemoize:l=wS,argsMemoizeOptions:u=[],devModeChecks:d={}}={...n,...a},f=gS(c),p=gS(u),m=_S(e),h=s(function(){return t++,o.apply(null,arguments)},...f),g=l(function(){r++;let e=vS(m,arguments);return i=h.apply(null,e),i},...p);return Object.assign(g,{resultFunc:o,memoizedResultFunc:h,dependencies:m,dependencyRecomputations:()=>r,resetDependencyRecomputations:()=>{r=0},lastResult:()=>i,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:s,argsMemoize:l})};return Object.assign(r,{withTypes:()=>r}),r}var $=TS(wS),ES=Object.assign((e,t=$)=>{mS(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let n=Object.keys(e);return t(n.map(t=>e[t]),(...e)=>e.reduce((e,t,r)=>(e[n[r]]=t,e),{}))},{withTypes:()=>ES}),DS=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`?1:e===null?2:e===void 0?3:e===e?0:4}e.compareValues=(e,n,r)=>{if(e!==n){let i=t(e),a=t(n);if(i===a&&i===0){if(e<n)return r===`desc`?1:-1;if(e>n)return r===`desc`?-1:1}return r===`desc`?a-i:i-a}return 0}})),OS=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof e==`symbol`||e instanceof Symbol}e.isSymbol=t})),kS=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=OS(),n=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,r=/^\\w*$/;function i(e,i){return Array.isArray(e)?!1:typeof e==`number`||typeof e==`boolean`||e==null||t.isSymbol(e)?!0:typeof e==`string`&&(r.test(e)||!n.test(e))||i!=null&&Object.hasOwn(i,e)}e.isKey=i})),AS=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=DS(),n=kS(),r=ix();function i(e,i,a,o){if(e==null)return[];a=o?void 0:a,Array.isArray(e)||(e=Object.values(e)),Array.isArray(i)||(i=i==null?[null]:[i]),i.length===0&&(i=[null]),Array.isArray(a)||(a=a==null?[]:[a]),a=a.map(e=>String(e));let s=(e,t)=>{let n=e;for(let e=0;e<t.length&&n!=null;++e)n=n[t[e]];return n},c=(e,t)=>t==null||e==null?t:typeof e==`object`&&`key`in e?Object.hasOwn(t,e.key)?t[e.key]:s(t,e.path):typeof e==`function`?e(t):Array.isArray(e)?s(t,e):typeof t==`object`?t[e]:t,l=i.map(e=>(Array.isArray(e)&&e.length===1&&(e=e[0]),e==null||typeof e==`function`||Array.isArray(e)||n.isKey(e)?e:{key:e,path:r.toPath(e)}));return e.map(e=>({original:e,criteria:l.map(t=>c(t,e))})).slice().sort((e,n)=>{for(let r=0;r<l.length;r++){let i=t.compareValues(e.criteria[r],n.criteria[r],a[r]);if(i!==0)return i}return 0}).map(e=>e.original)}e.orderBy=i})),jS=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t=1){let n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a<e.length;a++){let o=e[a];Array.isArray(o)&&t<r?i(o,t+1):n.push(o)}};return i(e,0),n}e.flatten=t})),MS=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Jx(),n=Lx(),r=Rx(),i=Bx();function a(e,a,o){return r.isObject(o)&&(typeof a==`number`&&n.isArrayLike(o)&&t.isIndex(a)&&a<o.length||typeof a==`string`&&a in o)?i.isEqualsSameValueZero(o[a],e):!1}e.isIterateeCall=a})),NS=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=AS(),n=jS(),r=MS();function i(e,...i){let a=i.length;return a>1&&r.isIterateeCall(e,i[0],i[1])?i=[]:a>2&&r.isIterateeCall(i[0],i[1],i[2])&&(i=[i[0]]),t.orderBy(e,n.flatten(i),[`asc`])}e.sortBy=i})),PS=u(s(((e,t)=>{t.exports=NS().sortBy}))()),FS=e=>e.legend.settings,IS=e=>e.legend.size,LS=$([e=>e.legend.payload,FS],(e,t)=>{var{itemSorter:n}=t,r=e.flat(1);return n?(0,PS.default)(r,n):r});function RS(){return Q(LS)}var zS=1;function BS(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],[t,n]=(0,z.useState)({height:0,left:0,top:0,width:0});return[t,(0,z.useCallback)(e=>{if(e!=null){var r=e.getBoundingClientRect(),i={height:r.height,left:r.left,top:r.top,width:r.width};(Math.abs(i.height-t.height)>zS||Math.abs(i.left-t.left)>zS||Math.abs(i.top-t.top)>zS||Math.abs(i.width-t.width)>zS)&&n({height:i.height,left:i.left,top:i.top,width:i.width})}},[t.width,t.height,t.top,t.left,...e])]}function VS(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var HS=typeof Symbol==`function`&&Symbol.observable||`@@observable`,US=()=>Math.random().toString(36).substring(7).split(``).join(`.`),WS={INIT:`@@redux/INIT${US()}`,REPLACE:`@@redux/REPLACE${US()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${US()}`};function GS(e){if(typeof e!=`object`||!e)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function KS(e,t,n){if(typeof e!=`function`)throw Error(VS(2));if(typeof t==`function`&&typeof n==`function`||typeof n==`function`&&typeof arguments[3]==`function`)throw Error(VS(0));if(typeof t==`function`&&n===void 0&&(n=t,t=void 0),n!==void 0){if(typeof n!=`function`)throw Error(VS(1));return n(KS)(e,t)}let r=e,i=t,a=new Map,o=a,s=0,c=!1;function l(){o===a&&(o=new Map,a.forEach((e,t)=>{o.set(t,e)}))}function u(){if(c)throw Error(VS(3));return i}function d(e){if(typeof e!=`function`)throw Error(VS(4));if(c)throw Error(VS(5));let t=!0;l();let n=s++;return o.set(n,e),function(){if(t){if(c)throw Error(VS(6));t=!1,l(),o.delete(n),a=null}}}function f(e){if(!GS(e))throw Error(VS(7));if(e.type===void 0)throw Error(VS(8));if(typeof e.type!=`string`)throw Error(VS(17));if(c)throw Error(VS(9));try{c=!0,i=r(i,e)}finally{c=!1}return(a=o).forEach(e=>{e()}),e}function p(e){if(typeof e!=`function`)throw Error(VS(10));r=e,f({type:WS.REPLACE})}function m(){let e=d;return{subscribe(t){if(typeof t!=`object`||!t)throw Error(VS(11));function n(){let e=t;e.next&&e.next(u())}return n(),{unsubscribe:e(n)}},[HS](){return this}}}return f({type:WS.INIT}),{dispatch:f,subscribe:d,getState:u,replaceReducer:p,[HS]:m}}function qS(e){Object.keys(e).forEach(t=>{let n=e[t];if(n(void 0,{type:WS.INIT})===void 0)throw Error(VS(12));if(n(void 0,{type:WS.PROBE_UNKNOWN_ACTION()})===void 0)throw Error(VS(13))})}function JS(e){let t=Object.keys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof e[i]==`function`&&(n[i]=e[i])}let r=Object.keys(n),i;try{qS(n)}catch(e){i=e}return function(e={},t){if(i)throw i;let a=!1,o={};for(let i=0;i<r.length;i++){let s=r[i],c=n[s],l=e[s],u=c(l,t);if(u===void 0)throw t&&t.type,Error(VS(14));o[s]=u,a||=u!==l}return a||=r.length!==Object.keys(e).length,a?o:e}}function YS(...e){return e.length===0?e=>e:e.length===1?e[0]:e.reduce((e,t)=>(...n)=>e(t(...n)))}function XS(...e){return t=>(n,r)=>{let i=t(n,r),a=()=>{throw Error(VS(15))},o={getState:i.getState,dispatch:(e,...t)=>a(e,...t)};return a=YS(...e.map(e=>e(o)))(i.dispatch),{...i,dispatch:a}}}function ZS(e){return GS(e)&&`type`in e&&typeof e.type==`string`}var QS=Symbol.for(`immer-nothing`),$S=Symbol.for(`immer-draftable`),eC=Symbol.for(`immer-state`);function tC(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var nC=Object,rC=nC.getPrototypeOf,iC=`constructor`,aC=`prototype`,oC=`configurable`,sC=`enumerable`,cC=`writable`,lC=`value`,uC=e=>!!e&&!!e[eC];function dC(e){return e?mC(e)||xC(e)||!!e[$S]||!!e[iC]?.[$S]||SC(e)||CC(e):!1}var fC=nC[aC][iC].toString(),pC=new WeakMap;function mC(e){if(!e||!wC(e))return!1;let t=rC(e);if(t===null||t===nC[aC])return!0;let n=nC.hasOwnProperty.call(t,iC)&&t[iC];if(n===Object)return!0;if(!TC(n))return!1;let r=pC.get(n);return r===void 0&&(r=Function.toString.call(n),pC.set(n,r)),r===fC}function hC(e,t,n=!0){gC(e)===0?(n?Reflect.ownKeys(e):nC.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function gC(e){let t=e[eC];return t?t.type_:xC(e)?1:SC(e)?2:CC(e)?3:0}var _C=(e,t,n=gC(e))=>n===2?e.has(t):nC[aC].hasOwnProperty.call(e,t),vC=(e,t,n=gC(e))=>n===2?e.get(t):e[t],yC=(e,t,n,r=gC(e))=>{r===2?e.set(t,n):r===3?e.add(n):e[t]=n};function bC(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var xC=Array.isArray,SC=e=>e instanceof Map,CC=e=>e instanceof Set,wC=e=>typeof e==`object`,TC=e=>typeof e==`function`,EC=e=>typeof e==`boolean`;function DC(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var OC=e=>e.copy_||e.base_,kC=e=>e.modified_?e.copy_:e.base_;function AC(e,t){if(SC(e))return new Map(e);if(CC(e))return new Set(e);if(xC(e))return Array[aC].slice.call(e);let n=mC(e);if(t===!0||t===`class_only`&&!n){let t=nC.getOwnPropertyDescriptors(e);delete t[eC];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a[cC]===!1&&(a[cC]=!0,a[oC]=!0),(a.get||a.set)&&(t[i]={[oC]:!0,[cC]:!0,[sC]:a[sC],[lC]:e[i]})}return nC.create(rC(e),t)}else{let t=rC(e);if(t!==null&&n)return{...e};let r=nC.create(t);return nC.assign(r,e)}}function jC(e,t=!1){return PC(e)||uC(e)||!dC(e)?e:(gC(e)>1&&nC.defineProperties(e,{set:NC,add:NC,clear:NC,delete:NC}),nC.freeze(e),t&&hC(e,(e,t)=>{jC(t,!0)},!1),e)}function MC(){tC(2)}var NC={[lC]:MC};function PC(e){return e===null||!wC(e)?!0:nC.isFrozen(e)}var FC=`MapSet`,IC=`Patches`,LC=`ArrayMethods`,RC={};function zC(e){let t=RC[e];return t||tC(0,e),t}var BC=e=>!!RC[e],VC,HC=()=>VC,UC=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:BC(FC)?zC(FC):void 0,arrayMethodsPlugin_:BC(LC)?zC(LC):void 0});function WC(e,t){t&&(e.patchPlugin_=zC(IC),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function GC(e){KC(e),e.drafts_.forEach(JC),e.drafts_=null}function KC(e){e===VC&&(VC=e.parent_)}var qC=e=>VC=UC(VC,e);function JC(e){let t=e[eC];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function YC(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(e!==void 0&&e!==n){n[eC].modified_&&(GC(t),tC(4)),dC(e)&&(e=XC(t,e));let{patchPlugin_:r}=t;r&&r.generateReplacementPatches_(n[eC].base_,e,t)}else e=XC(t,n);return ZC(t,e,!0),GC(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===QS?void 0:e}function XC(e,t){if(PC(t))return t;let n=t[eC];if(!n)return aw(t,e.handledSet_,e);if(!$C(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);rw(n,e)}return n.copy_}function ZC(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&jC(t,n)}function QC(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var $C=(e,t)=>e.scope_===t,ew=[];function tw(e,t,n,r){let i=OC(e),a=e.type_;if(r!==void 0&&vC(i,r,a)===t){yC(i,r,n,a);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;hC(i,(e,n)=>{if(uC(n)){let r=t.get(n)||[];r.push(e),t.set(n,r)}})}let o=e.draftLocations_.get(t)??ew;for(let e of o)yC(i,e,n,a)}function nw(e,t,n){e.callbacks_.push(function(r){let i=t;if(!i||!$C(i,r))return;r.mapSetPlugin_?.fixSetContents(i);let a=kC(i);tw(e,i.draft_??i,a,n),rw(i,r)})}function rw(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let r=n.getPath(e);r&&n.generatePatches_(e,r,t)}QC(e)}}function iw(e,t,n){let{scope_:r}=e;if(uC(n)){let i=n[eC];$C(i,r)&&i.callbacks_.push(function(){pw(e),tw(e,n,kC(i),t)})}else dC(n)&&e.callbacks_.push(function(){let i=OC(e);e.type_===3?i.has(n)&&aw(n,r.handledSet_,r):vC(i,t,e.type_)===n&&r.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&aw(vC(e.copy_,t,e.type_),r.handledSet_,r)})}function aw(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||uC(e)||t.has(e)||!dC(e)||PC(e)?e:(t.add(e),hC(e,(r,i)=>{if(uC(i)){let t=i[eC];$C(t,n)&&(yC(e,r,kC(t),e.type_),QC(t))}else dC(i)&&aw(i,t,n)}),e)}function ow(e,t){let n=xC(e),r={type_:+!!n,scope_:t?t.scope_:HC(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=r,a=sw;n&&(i=[r],a=cw);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,[s,r]}var sw={get(e,t){if(t===eC)return e;let n=e.scope_.arrayMethodsPlugin_,r=e.type_===1&&typeof t==`string`;if(r&&n?.isArrayOperationMethod(t))return n.createMethodInterceptor(e,t);let i=OC(e);if(!_C(i,t,e.type_))return uw(e,i,t);let a=i[t];if(e.finalized_||!dC(a)||r&&e.operationMethod&&n?.isMutatingArrayMethod(e.operationMethod)&&DC(t))return a;if(a===lw(e.base_,t)){pw(e);let n=e.type_===1?+t:t,r=hw(e.scope_,a,e,n);return e.copy_[n]=r}return a},has(e,t){return t in OC(e)},ownKeys(e){return Reflect.ownKeys(OC(e))},set(e,t,n){let r=dw(OC(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=lw(OC(e),t),i=r?.[eC];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if(bC(n,r)&&(n!==void 0||_C(e.base_,t,e.type_)))return!0;pw(e),fw(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_.set(t,!0),iw(e,t,n),!0)},deleteProperty(e,t){return pw(e),lw(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),fw(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=OC(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{[cC]:!0,[oC]:e.type_!==1||t!==`length`,[sC]:r[sC],[lC]:n[t]}},defineProperty(){tC(11)},getPrototypeOf(e){return rC(e.base_)},setPrototypeOf(){tC(12)}},cw={};for(let e in sw){let t=sw[e];cw[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}cw.deleteProperty=function(e,t){return cw.set.call(this,e,t,void 0)},cw.set=function(e,t,n){return sw.set.call(this,e[0],t,n,e[0])};function lw(e,t){let n=e[eC];return(n?OC(n):e)[t]}function uw(e,t,n){let r=dw(t,n);return r?lC in r?r[lC]:r.get?.call(e.draft_):void 0}function dw(e,t){if(!(t in e))return;let n=rC(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=rC(n)}}function fw(e){e.modified_||(e.modified_=!0,e.parent_&&fw(e.parent_))}function pw(e){e.copy_||=(e.assigned_=new Map,AC(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var mw=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{if(TC(e)&&!TC(t)){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}TC(t)||tC(6),n!==void 0&&!TC(n)&&tC(7);let r;if(dC(e)){let i=qC(this),a=hw(i,e,void 0),o=!0;try{r=t(a),o=!1}finally{o?GC(i):KC(i)}return WC(i,n),YC(r,i)}else if(!e||!wC(e)){if(r=t(e),r===void 0&&(r=e),r===QS&&(r=void 0),this.autoFreeze_&&jC(r,!0),n){let t=[],i=[];zC(IC).generateReplacementPatches_(e,r,{patches_:t,inversePatches_:i}),n(t,i)}return r}else tC(1,e)},this.produceWithPatches=(e,t)=>{if(TC(e))return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},EC(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),EC(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),EC(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){dC(e)||tC(8),uC(e)&&(e=gw(e));let t=qC(this),n=hw(t,e,void 0);return n[eC].isManual_=!0,KC(t),n}finishDraft(e,t){let n=e&&e[eC];(!n||!n.isManual_)&&tC(9);let{scope_:r}=n;return WC(r,t),YC(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=zC(IC).applyPatches_;return uC(e)?r(e,t):this.produce(e,e=>r(e,t))}};function hw(e,t,n,r){let[i,a]=SC(t)?zC(FC).proxyMap_(t,n):CC(t)?zC(FC).proxySet_(t,n):ow(t,n);return(n?.scope_??HC()).drafts_.push(i),a.callbacks_=n?.callbacks_??[],a.key_=r,n&&r!==void 0?nw(n,a,r):a.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:t}=e;a.modified_&&t&&t.generatePatches_(a,[],e)}),i}function gw(e){return uC(e)||tC(10,e),_w(e)}function _w(e){if(!dC(e)||PC(e))return e;let t=e[eC],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=AC(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=AC(e,!0);return hC(n,(e,t)=>{yC(n,e,_w(t))},r),t&&(t.finalized_=!1),n}var vw=new mw().produce;function yw(e){return({dispatch:t,getState:n})=>r=>i=>typeof i==`function`?i(t,n,e):r(i)}var bw=yw(),xw=yw,Sw=typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]==`object`?YS:YS.apply(null,arguments)};typeof window<`u`&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Cw(e,t){function n(...n){if(t){let r=t(...n);if(!r)throw Error(jT(0));return{type:e,payload:r.payload,...`meta`in r&&{meta:r.meta},...`error`in r&&{error:r.error}}}return{type:e,payload:n[0]}}return n.toString=()=>`${e}`,n.type=e,n.match=t=>ZS(t)&&t.type===e,n}var ww=class e extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}static get[Symbol.species](){return e}concat(...e){return super.concat.apply(this,e)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new e(...t[0].concat(this)):new e(...t.concat(this))}};function Tw(e){return dC(e)?vw(e,()=>{}):e}function Ew(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}function Dw(e){return typeof e==`boolean`}var Ow=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:r=!0,actionCreatorCheck:i=!0}=e??{},a=new ww;return t&&(Dw(t)?a.push(bw):a.push(xw(t.extraArgument))),a},kw=`RTK_autoBatch`,Aw=()=>e=>({payload:e,meta:{[kw]:!0}}),jw=e=>t=>{setTimeout(t,e)},Mw=(e={type:`raf`})=>t=>(...n)=>{let r=t(...n),i=!0,a=!1,o=!1,s=new Set,c=e.type===`tick`?queueMicrotask:e.type===`raf`?typeof window<`u`&&window.requestAnimationFrame?window.requestAnimationFrame:jw(10):e.type===`callback`?e.queueNotification:jw(e.timeout),l=()=>{o=!1,a&&(a=!1,s.forEach(e=>e()))};return Object.assign({},r,{subscribe(e){let t=r.subscribe(()=>i&&e());return s.add(e),()=>{t(),s.delete(e)}},dispatch(e){try{return i=!e?.meta?.[kw],a=!i,a&&(o||(o=!0,c(l))),r.dispatch(e)}finally{i=!0}}})},Nw=e=>function(t){let{autoBatch:n=!0}=t??{},r=new ww(e);return n&&r.push(Mw(typeof n==`object`?n:void 0)),r};function Pw(e){let t=Ow(),{reducer:n=void 0,middleware:r,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:o=void 0,enhancers:s=void 0}=e||{},c;if(typeof n==`function`)c=n;else if(GS(n))c=JS(n);else throw Error(jT(1));let l;l=typeof r==`function`?r(t):t();let u=YS;i&&(u=Sw({trace:!1,...typeof i==`object`&&i}));let d=Nw(XS(...l)),f=typeof s==`function`?s(d):d(),p=u(...f);return KS(c,o,p)}function Fw(e){let t={},n=[],r,i={addCase(e,n){let r=typeof e==`string`?e:e.type;if(!r)throw Error(jT(28));if(r in t)throw Error(jT(29));return t[r]=n,i},addAsyncThunk(e,r){return r.pending&&(t[e.pending.type]=r.pending),r.rejected&&(t[e.rejected.type]=r.rejected),r.fulfilled&&(t[e.fulfilled.type]=r.fulfilled),r.settled&&n.push({matcher:e.settled,reducer:r.settled}),i},addMatcher(e,t){return n.push({matcher:e,reducer:t}),i},addDefaultCase(e){return r=e,i}};return e(i),[t,n,r]}function Iw(e){return typeof e==`function`}function Lw(e,t){let[n,r,i]=Fw(t),a;if(Iw(e))a=()=>Tw(e());else{let t=Tw(e);a=()=>t}function o(e=a(),t){let o=[n[t.type],...r.filter(({matcher:e})=>e(t)).map(({reducer:e})=>e)];return o.filter(e=>!!e).length===0&&(o=[i]),o.reduce((e,n)=>{if(n)if(uC(e)){let r=n(e,t);return r===void 0?e:r}else if(dC(e))return vw(e,e=>n(e,t));else{let r=n(e,t);if(r===void 0){if(e===null)return e;throw Error(`A case reducer on a non-draftable value must not return undefined`)}return r}return e},e)}return o.getInitialState=a,o}var Rw=`ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW`,zw=(e=21)=>{let t=``,n=e;for(;n--;)t+=Rw[Math.random()*64|0];return t},Bw=Symbol.for(`rtk-slice-createasyncthunk`);function Vw(e,t){return`${e}/${t}`}function Hw({creators:e}={}){let t=e?.asyncThunk?.[Bw];return function(e){let{name:n,reducerPath:r=n}=e;if(!n)throw Error(jT(11));let i=(typeof e.reducers==`function`?e.reducers(Gw()):e.reducers)||{},a=Object.keys(i),o={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},s={addCase(e,t){let n=typeof e==`string`?e:e.type;if(!n)throw Error(jT(12));if(n in o.sliceCaseReducersByType)throw Error(jT(13));return o.sliceCaseReducersByType[n]=t,s},addMatcher(e,t){return o.sliceMatchers.push({matcher:e,reducer:t}),s},exposeAction(e,t){return o.actionCreators[e]=t,s},exposeCaseReducer(e,t){return o.sliceCaseReducersByName[e]=t,s}};a.forEach(r=>{let a=i[r],o={reducerName:r,type:Vw(n,r),createNotation:typeof e.reducers==`function`};qw(a)?Yw(o,a,s,t):Kw(o,a,s)});function c(){let[t={},n=[],r=void 0]=typeof e.extraReducers==`function`?Fw(e.extraReducers):[e.extraReducers],i={...t,...o.sliceCaseReducersByType};return Lw(e.initialState,e=>{for(let t in i)e.addCase(t,i[t]);for(let t of o.sliceMatchers)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);r&&e.addDefaultCase(r)})}let l=e=>e,u=new Map,d=new WeakMap,f;function p(e,t){return f||=c(),f(e,t)}function m(){return f||=c(),f.getInitialState()}function h(t,n=!1){function r(e){let i=e[t];return i===void 0&&n&&(i=Ew(d,r,m)),i}function i(t=l){return Ew(Ew(u,n,()=>new WeakMap),t,()=>{let r={};for(let[i,a]of Object.entries(e.selectors??{}))r[i]=Uw(a,t,()=>Ew(d,t,m),n);return r})}return{reducerPath:t,getSelectors:i,get selectors(){return i(r)},selectSlice:r}}let g={name:n,reducer:p,actions:o.actionCreators,caseReducers:o.sliceCaseReducersByName,getInitialState:m,...h(r),injectInto(e,{reducerPath:t,...n}={}){let i=t??r;return e.inject({reducerPath:i,reducer:p},n),{...g,...h(i,!0)}}};return g}}function Uw(e,t,n,r){function i(i,...a){let o=t(i);return o===void 0&&r&&(o=n()),e(o,...a)}return i.unwrapped=e,i}var Ww=Hw();function Gw(){function e(e,t){return{_reducerDefinitionType:`asyncThunk`,payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer(e){return Object.assign({[e.name](...t){return e(...t)}}[e.name],{_reducerDefinitionType:`reducer`})},preparedReducer(e,t){return{_reducerDefinitionType:`reducerWithPrepare`,prepare:e,reducer:t}},asyncThunk:e}}function Kw({type:e,reducerName:t,createNotation:n},r,i){let a,o;if(`reducer`in r){if(n&&!Jw(r))throw Error(jT(17));a=r.reducer,o=r.prepare}else a=r;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,o?Cw(e,o):Cw(e))}function qw(e){return e._reducerDefinitionType===`asyncThunk`}function Jw(e){return e._reducerDefinitionType===`reducerWithPrepare`}function Yw({type:e,reducerName:t},n,r,i){if(!i)throw Error(jT(18));let{payloadCreator:a,fulfilled:o,pending:s,rejected:c,settled:l,options:u}=n,d=i(e,a,u);r.exposeAction(t,d),o&&r.addCase(d.fulfilled,o),s&&r.addCase(d.pending,s),c&&r.addCase(d.rejected,c),l&&r.addMatcher(d.settled,l),r.exposeCaseReducer(t,{fulfilled:o||Xw,pending:s||Xw,rejected:c||Xw,settled:l||Xw})}function Xw(){}var Zw=`task`,Qw=`listener`,$w=`completed`,eT=`cancelled`,tT=`task-${eT}`,nT=`task-${$w}`,rT=`${Qw}-${eT}`,iT=`${Qw}-${$w}`,aT=class{constructor(e){this.code=e,this.message=`${Zw} ${eT} (reason: ${e})`}name=`TaskAbortError`;message},oT=(e,t)=>{if(typeof e!=`function`)throw TypeError(jT(32))},sT=()=>{},cT=(e,t=sT)=>(e.catch(t),e),lT=(e,t)=>(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)),uT=e=>{if(e.aborted)throw new aT(e.reason)};function dT(e,t){let n=sT;return new Promise((r,i)=>{let a=()=>i(new aT(e.reason));if(e.aborted){a();return}n=lT(e,a),t.finally(()=>n()).then(r,i)}).finally(()=>{n=sT})}var fT=async(e,t)=>{try{return await Promise.resolve(),{status:`ok`,value:await e()}}catch(e){return{status:e instanceof aT?`cancelled`:`rejected`,error:e}}finally{t?.()}},pT=e=>t=>cT(dT(e,t).then(t=>(uT(e),t))),mT=e=>{let t=pT(e);return e=>t(new Promise(t=>setTimeout(t,e)))},{assign:hT}=Object,gT={},_T=`listenerMiddleware`,vT=(e,t)=>{let n=t=>lT(e,()=>t.abort(e.reason));return(r,i)=>{oT(r,`taskExecutor`);let a=new AbortController;n(a);let o=fT(async()=>{uT(e),uT(a.signal);let t=await r({pause:pT(a.signal),delay:mT(a.signal),signal:a.signal});return uT(a.signal),t},()=>a.abort(nT));return i?.autoJoin&&t.push(o.catch(sT)),{result:pT(e)(o),cancel(){a.abort(tT)}}}},yT=(e,t)=>{let n=async(n,r)=>{uT(t);let i=()=>{},a=[new Promise((t,r)=>{let a=e({predicate:n,effect:(e,n)=>{n.unsubscribe(),t([e,n.getState(),n.getOriginalState()])}});i=()=>{a(),r()}})];r!=null&&a.push(new Promise(e=>setTimeout(e,r,null)));try{let e=await dT(t,Promise.race(a));return uT(t),e}finally{i()}};return(e,t)=>cT(n(e,t))},bT=e=>{let{type:t,actionCreator:n,matcher:r,predicate:i,effect:a}=e;if(t)i=Cw(t).match;else if(n)t=n.type,i=n.match;else if(r)i=r;else if(!i)throw Error(jT(21));return oT(a,`options.listener`),{predicate:i,type:t,effect:a}},xT=hT(e=>{let{type:t,predicate:n,effect:r}=bT(e);return{id:zw(),effect:r,type:t,predicate:n,pending:new Set,unsubscribe:()=>{throw Error(jT(22))}}},{withTypes:()=>xT}),ST=(e,t)=>{let{type:n,effect:r,predicate:i}=bT(t);return Array.from(e.values()).find(e=>(typeof n==`string`?e.type===n:e.predicate===i)&&e.effect===r)},CT=e=>{e.pending.forEach(e=>{e.abort(rT)})},wT=(e,t)=>()=>{for(let e of t.keys())CT(e);e.clear()},TT=(e,t,n)=>{try{e(t,n)}catch(e){setTimeout(()=>{throw e},0)}},ET=hT(Cw(`${_T}/add`),{withTypes:()=>ET}),DT=Cw(`${_T}/removeAll`),OT=hT(Cw(`${_T}/remove`),{withTypes:()=>OT}),kT=(...e)=>{console.error(`${_T}/error`,...e)},AT=(e={})=>{let t=new Map,n=new Map,r=e=>{let t=n.get(e)??0;n.set(e,t+1)},i=e=>{let t=n.get(e)??1;t===1?n.delete(e):n.set(e,t-1)},{extra:a,onError:o=kT}=e;oT(o,`onError`);let s=e=>(e.unsubscribe=()=>t.delete(e.id),t.set(e.id,e),t=>{e.unsubscribe(),t?.cancelActive&&CT(e)}),c=e=>s(ST(t,e)??xT(e));hT(c,{withTypes:()=>c});let l=e=>{let n=ST(t,e);return n&&(n.unsubscribe(),e.cancelActive&&CT(n)),!!n};hT(l,{withTypes:()=>l});let u=async(e,n,s,l)=>{let u=new AbortController,d=yT(c,u.signal),f=[];try{e.pending.add(u),r(e),await Promise.resolve(e.effect(n,hT({},s,{getOriginalState:l,condition:(e,t)=>d(e,t).then(Boolean),take:d,delay:mT(u.signal),pause:pT(u.signal),extra:a,signal:u.signal,fork:vT(u.signal,f),unsubscribe:e.unsubscribe,subscribe:()=>{t.set(e.id,e)},cancelActiveListeners:()=>{e.pending.forEach((e,t,n)=>{e!==u&&(e.abort(rT),n.delete(e))})},cancel:()=>{u.abort(rT),e.pending.delete(u)},throwIfCancelled:()=>{uT(u.signal)}})))}catch(e){e instanceof aT||TT(o,e,{raisedBy:`effect`})}finally{await Promise.all(f),u.abort(iT),i(e),e.pending.delete(u)}},d=wT(t,n);return{middleware:e=>n=>r=>{if(!ZS(r))return n(r);if(ET.match(r))return c(r.payload);if(DT.match(r)){d();return}if(OT.match(r))return l(r.payload);let i=e.getState(),a=()=>{if(i===gT)throw Error(jT(23));return i},s;try{if(s=n(r),t.size>0){let n=e.getState(),s=Array.from(t.values());for(let t of s){let s=!1;try{s=t.predicate(r,n,i)}catch(e){s=!1,TT(o,e,{raisedBy:`predicate`})}s&&u(t,r,e,a)}}}finally{i=gT}return s},startListening:c,stopListening:l,clearListeners:d}};function jT(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var MT=Ww({name:`chartLayout`,initialState:{layoutType:`horizontal`,width:0,height:0,margin:{top:5,right:5,bottom:5,left:5},scale:1},reducers:{setLayout(e,t){e.layoutType=t.payload},setChartSize(e,t){e.width=t.payload.width,e.height=t.payload.height},setMargin(e,t){e.margin.top=t.payload.top??0,e.margin.right=t.payload.right??0,e.margin.bottom=t.payload.bottom??0,e.margin.left=t.payload.left??0},setScale(e,t){e.scale=t.payload}}}),{setMargin:NT,setLayout:PT,setChartSize:FT,setScale:IT}=MT.actions,LT=MT.reducer;function RT(e,t,n){return Array.isArray(e)&&e&&t+n!==0?e.slice(t,n+1):e}function zT(e){return Number.isFinite(e)}function BT(e){return typeof e==`number`&&e>0&&Number.isFinite(e)}function VT(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function HT(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?VT(Object(n),!0).forEach(function(t){UT(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VT(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function UT(e,t,n){return(t=WT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WT(e){var t=GT(e,`string`);return typeof t==`symbol`?t:t+``}function GT(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function KT(e,t,n){return vx(e)||vx(t)?n:px(t)?(0,lx.default)(e,t,n):typeof t==`function`?t(e):n}var qT=(e,t,n)=>{if(t&&n){var{width:r,height:i}=n,{align:a,verticalAlign:o,layout:s}=t;if((s===`vertical`||s===`horizontal`&&o===`middle`)&&a!==`center`&&X(e[a]))return HT(HT({},e),{},{[a]:e[a]+(r||0)});if((s===`horizontal`||s===`vertical`&&a===`center`)&&o!==`middle`&&X(e[o]))return HT(HT({},e),{},{[o]:e[o]+(i||0)})}return e},JT=(e,t)=>e===`horizontal`&&t===`xAxis`||e===`vertical`&&t===`yAxis`||e===`centric`&&t===`angleAxis`||e===`radial`&&t===`radiusAxis`,YT=(e,t,n,r)=>{if(r)return e.map(e=>e.coordinate);var i,a,o=e.map(e=>(e.coordinate===t&&(i=!0),e.coordinate===n&&(a=!0),e.coordinate));return i||o.push(t),a||o.push(n),o},XT=(e,t,n)=>{if(!e)return null;var{duplicateDomain:r,type:i,range:a,scale:o,realScaleType:s,isCategorical:c,categoricalDomain:l,tickCount:u,ticks:d,niceTicks:f,axisType:p}=e;if(!o)return null;var m=s===`scaleBand`&&o.bandwidth?o.bandwidth()/2:2,h=(t||n)&&i===`category`&&o.bandwidth?o.bandwidth()/m:0;return h=p===`angleAxis`&&a&&a.length>=2?ux(a[0]-a[1])*2*h:h,t&&(d||f)?(d||f||[]).map((e,t)=>{var n=r?r.indexOf(e):e,i=o.map(n);return zT(i)?{coordinate:i+h,value:e,offset:h,index:t}:null}).filter(bx):c&&l?l.map((e,t)=>{var n=o.map(e);return zT(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(bx):o.ticks&&!n&&u!=null?o.ticks(u).map((e,t)=>{var n=o.map(e);return zT(n)?{coordinate:n+h,value:e,index:t,offset:h}:null}).filter(bx):o.domain().map((e,t)=>{var n=o.map(e);return zT(n)?{coordinate:n+h,value:r?r[e]:e,index:t,offset:h}:null}).filter(bx)},ZT=(e,t)=>{if(!t||t.length!==2||!X(t[0])||!X(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!X(e[0])||e[0]<n)&&(i[0]=n),(!X(e[1])||e[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i},QT={sign:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0,o=0;o<t;++o){var s=e[o]?.[r];if(s!=null){var c=s[1],l=s[0],u=dx(c)?l:c;u>=0?(s[0]=i,i+=u,s[1]=i):(s[0]=a,a+=u,s[1]=a)}}}},expand:Zb,none:Kb,silhouette:Qb,wiggle:$b,positive:e=>{var t=e.length;if(!(t<=0)){var n=e[0]?.length;if(!(n==null||n<=0))for(var r=0;r<n;++r)for(var i=0,a=0;a<t;++a){var o=e[a]?.[r];if(o!=null){var s=dx(o[1])?o[0]:o[1];s>=0?(o[0]=i,i+=s,o[1]=i):(o[0]=0,o[1]=0)}}}}},$T=(e,t,n)=>{var r=QT[n]??Kb,i=Xb().keys(t).value((e,t)=>Number(KT(e,t,0))).order(qb).offset(r)(e);return i.forEach((n,r)=>{n.forEach((n,i)=>{var a=KT(e[i],t[r],0);Array.isArray(a)&&a.length===2&&X(a[0])&&X(a[1])&&(n[0]=a[0],n[1]=a[1])})}),i};function eE(e){return e==null?void 0:String(e)}function tE(e){var{axis:t,ticks:n,bandSize:r,entry:i,index:a,dataKey:o}=e;if(t.type===`category`){if(!t.allowDuplicatedCategory&&t.dataKey&&!vx(i[t.dataKey])){var s=_x(n,`value`,i[t.dataKey]);if(s)return s.coordinate+r/2}return n!=null&&n[a]?n[a].coordinate+r/2:null}var c=KT(i,vx(o)?t.dataKey:o),l=t.scale.map(c);return X(l)?l:null}var nE=e=>{var{axis:t,ticks:n,offset:r,bandSize:i,entry:a,index:o}=e;if(t.type===`category`)return n[o]?n[o].coordinate+r:null;var s=KT(a,t.dataKey,t.scale.domain()[o]);if(vx(s))return null;var c=t.scale.map(s);return X(c)?c-i/2+r:null},rE=e=>{var{numericAxis:t}=e,n=t.scale.domain();if(t.type===`number`){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]},iE=e=>{var t=e.flat(2).filter(X);return[Math.min(...t),Math.max(...t)]},aE=e=>[e[0]===1/0?0:e[0],e[1]===-1/0?0:e[1]],oE=(e,t,n)=>{if(e!=null)return aE(Object.keys(e).reduce((r,i)=>{var a=e[i];if(!a)return r;var{stackedData:o}=a,s=o.reduce((e,r)=>{var i=iE(RT(r,t,n));return!zT(i[0])||!zT(i[1])?e:[Math.min(e[0],i[0]),Math.max(e[1],i[1])]},[1/0,-1/0]);return[Math.min(s[0],r[0]),Math.max(s[1],r[1])]},[1/0,-1/0]))},sE=/^dataMin[\\s]*-[\\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,cE=/^dataMax[\\s]*\\+[\\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,lE=(e,t,n)=>{if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var i=(0,PS.default)(t,e=>e.coordinate),a=1/0,o=1,s=i.length;o<s;o++){var c=i[o],l=i[o-1];a=Math.min((c?.coordinate||0)-(l?.coordinate||0),a)}return a===1/0?0:a}return n?void 0:0};function uE(e){var{tooltipEntrySettings:t,dataKey:n,payload:r,value:i,name:a}=e;return HT(HT({},t),{},{dataKey:n,payload:r,value:i,name:a})}function dE(e,t){if(e)return String(e);if(typeof t==`string`)return t}var fE=(e,t)=>{if(t===`horizontal`)return e.relativeX;if(t===`vertical`)return e.relativeY},pE=(e,t)=>t===`centric`?e.angle:e.radius,mE=e=>e.layout.width,hE=e=>e.layout.height,gE=e=>e.layout.scale,_E=e=>e.layout.margin,vE=$(e=>e.cartesianAxis.xAxis,e=>Object.values(e)),yE=$(e=>e.cartesianAxis.yAxis,e=>Object.values(e)),bE=[`#1890FF`,`#66B5FF`,`#41D9C7`,`#2FC25B`,`#6EDB8F`,`#9AE65C`,`#FACC14`,`#E6965C`,`#57AD71`,`#223273`,`#738AE6`,`#7564CC`,`#8543E0`,`#A877ED`,`#5C8EE6`,`#13C2C2`,`#70E0E0`,`#5CA3E6`,`#3436C7`,`#8082FF`,`#DD81E6`,`#F04864`,`#FA7D92`,`#D598D9`],xE=`data-recharts-item-index`,SE=`data-recharts-item-id`;function CE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?CE(Object(n),!0).forEach(function(t){wte(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wte(e,t,n){return(t=Tte(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tte(e){var t=Ete(e,`string`);return typeof t==`symbol`?t:t+``}function Ete(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Dte=e=>e.brush.height;function Ote(e){return yE(e).reduce((e,t)=>t.orientation===`left`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function kte(e){return yE(e).reduce((e,t)=>t.orientation===`right`&&!t.mirror&&!t.hide?e+(typeof t.width==`number`?t.width:60):e,0)}function Ate(e){return vE(e).reduce((e,t)=>t.orientation===`top`&&!t.mirror&&!t.hide?e+t.height:e,0)}function jte(e){return vE(e).reduce((e,t)=>t.orientation===`bottom`&&!t.mirror&&!t.hide?e+t.height:e,0)}var TE=$([mE,hE,_E,Dte,Ote,kte,Ate,jte,FS,IS],(e,t,n,r,i,a,o,s,c,l)=>{var u={left:(n.left||0)+i,right:(n.right||0)+a},d=wE(wE({},{top:(n.top||0)+o,bottom:(n.bottom||0)+s}),u),f=d.bottom;d.bottom+=r,d=qT(d,c,l);var p=e-d.left-d.right,m=t-d.top-d.bottom;return wE(wE({brushBottom:f},d),{},{width:Math.max(p,0),height:Math.max(m,0)})}),Mte=$(TE,e=>({x:e.left,y:e.top,width:e.width,height:e.height})),EE=$(mE,hE,(e,t)=>({x:0,y:0,width:e,height:t})),Nte=(0,z.createContext)(null),DE=()=>(0,z.useContext)(Nte)!=null,OE=e=>e.brush,kE=$([OE,TE,_E],(e,t,n)=>({height:e.height,x:X(e.x)?e.x:t.left,y:X(e.y)?e.y:t.top+t.height+t.brushBottom-(n?.bottom||0),width:X(e.width)?e.width:t.width})),Pte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t,{signal:n,edges:r}={}){let i,a=null,o=r!=null&&r.includes(`leading`),s=r==null||r.includes(`trailing`),c=()=>{a!==null&&(e.apply(i,a),i=void 0,a=null)},l=()=>{s&&c(),p()},u=null,d=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,l()},t)},f=()=>{u!==null&&(clearTimeout(u),u=null)},p=()=>{f(),i=void 0,a=null},m=()=>{c()},h=function(...e){if(n?.aborted)return;i=this,a=e;let t=u==null;d(),o&&t&&c()};return h.schedule=d,h.cancel=p,h.flush=m,n?.addEventListener(`abort`,p,{once:!0}),h}e.debounce=t})),Fte=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Pte();function n(e,n=0,r={}){typeof r!=`object`&&(r={});let{leading:i=!1,trailing:a=!0,maxWait:o}=r,s=[,,];i&&(s[0]=`leading`),a&&(s[1]=`trailing`);let c,l=null,u=t.debounce(function(...t){c=e.apply(this,t),l=null},n,{edges:s}),d=function(...t){return o!=null&&(l===null&&(l=Date.now()),Date.now()-l>=o)?(c=e.apply(this,t),l=Date.now(),u.cancel(),u.schedule(),c):(u.apply(this,t),c)};return d.cancel=u.cancel,d.flush=()=>(u.flush(),c),d}e.debounce=n})),Ite=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Fte();function n(e,n=0,r={}){let{leading:i=!0,trailing:a=!0}=r;return t.debounce(e,n,{leading:i,maxWait:n,trailing:a})}e.throttle=n})),Lte=s(((e,t)=>{t.exports=Ite().throttle})),Rte=!0,AE=function(e,t){var n=[...arguments].slice(2);if(Rte&&typeof console<`u`&&console.warn&&(t===void 0&&console.warn(`LogUtils requires an error message argument`),!e))if(t===void 0)console.warn(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var r=0;console.warn(t.replace(/%s/g,()=>n[r++]))}},jE={width:`100%`,height:`100%`,debounce:0,minWidth:0,initialDimension:{width:-1,height:-1}},ME=(e,t,n)=>{var{width:r=jE.width,height:i=jE.height,aspect:a,maxHeight:o}=n,s=fx(r)?e:Number(r),c=fx(i)?t:Number(i);return a&&a>0&&(s?c=s/a:c&&(s=c*a),o&&c!=null&&c>o&&(c=o)),{calculatedWidth:s,calculatedHeight:c}},zte={width:0,height:0,overflow:`visible`},Bte={width:0,overflowX:`visible`},Vte={height:0,overflowY:`visible`},Hte={},Ute=e=>{var{width:t,height:n}=e,r=fx(t),i=fx(n);return r&&i?zte:r?Bte:i?Vte:Hte};function Wte(e){var{width:t,height:n,aspect:r}=e,i=t,a=n;return i===void 0&&a===void 0?(i=jE.width,a=jE.height):i===void 0?i=r&&r>0?void 0:jE.width:a===void 0&&(a=r&&r>0?void 0:jE.height),{width:i,height:a}}var Gte=u(Lte());function NE(){return NE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},NE.apply(null,arguments)}function PE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function FE(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?PE(Object(n),!0).forEach(function(t){Kte(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Kte(e,t,n){return(t=qte(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qte(e){var t=Jte(e,`string`);return typeof t==`symbol`?t:t+``}function Jte(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var IE=(0,z.createContext)(jE.initialDimension);function Yte(e){return BT(e.width)&&BT(e.height)}function LE(e){var{children:t,width:n,height:r}=e,i=(0,z.useMemo)(()=>({width:n,height:r}),[n,r]);return Yte(i)?z.createElement(IE.Provider,{value:i},t):null}var RE=()=>(0,z.useContext)(IE),Xte=(0,z.forwardRef)((e,t)=>{var{aspect:n,initialDimension:r=jE.initialDimension,width:i,height:a,minWidth:o=jE.minWidth,minHeight:s,maxHeight:c,children:l,debounce:u=jE.debounce,id:d,className:f,onResize:p,style:m={}}=e,h=(0,z.useRef)(null),g=(0,z.useRef)();g.current=p,(0,z.useImperativeHandle)(t,()=>h.current);var[_,v]=(0,z.useState)({containerWidth:r.width,containerHeight:r.height}),y=(0,z.useCallback)((e,t)=>{v(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]);(0,z.useEffect)(()=>{if(h.current==null||typeof ResizeObserver>`u`)return xx;var e=e=>{var t,n=e[0];if(n!=null){var{width:r,height:i}=n.contentRect;y(r,i),(t=g.current)==null||t.call(g,r,i)}};u>0&&(e=(0,Gte.default)(e,u,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),{width:n,height:r}=h.current.getBoundingClientRect();return y(n,r),t.observe(h.current),()=>{t.disconnect()}},[y,u]);var{containerWidth:b,containerHeight:x}=_;AE(!n||n>0,`The aspect(%s) must be greater than zero.`,n);var{calculatedWidth:S,calculatedHeight:C}=ME(b,x,{width:i,height:a,aspect:n,maxHeight:c});return AE(S!=null&&S>0||C!=null&&C>0,`The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.`,S,C,i,a,o,s,n),z.createElement(`div`,{id:d?`${d}`:void 0,className:J(`recharts-responsive-container`,f),style:FE(FE({},m),{},{width:i,height:a,minWidth:o,minHeight:s,maxHeight:c}),ref:h},z.createElement(`div`,{style:Ute({width:i,height:a})},z.createElement(LE,{width:S,height:C},l)))}),zE=(0,z.forwardRef)((e,t)=>{var n=RE();if(BT(n.width)&&BT(n.height))return e.children;var{width:r,height:i}=Wte({width:e.width,height:e.height,aspect:e.aspect}),{calculatedWidth:a,calculatedHeight:o}=ME(void 0,void 0,{width:r,height:i,aspect:e.aspect,maxHeight:e.maxHeight});return X(a)&&X(o)?z.createElement(LE,{width:a,height:o},e.children):z.createElement(Xte,NE({},e,{width:r,height:i,ref:t}))});function BE(e){if(e)return{x:e.x,y:e.y,upperWidth:`upperWidth`in e?e.upperWidth:e.width,lowerWidth:`lowerWidth`in e?e.lowerWidth:e.width,width:e.width,height:e.height}}var VE=()=>{var e=DE(),t=Q(Mte),n=Q(kE),r=Q(OE)?.padding;return!e||!n||!r?t:{width:n.width-r.left-r.right,height:n.height-r.top-r.bottom,x:r.left,y:r.top}},Zte={top:0,bottom:0,left:0,right:0,width:0,height:0,brushBottom:0},HE=()=>Q(TE)??Zte,UE=()=>Q(mE),WE=()=>Q(hE),Qte=()=>Q(e=>e.layout.margin),GE=e=>e.layout.layoutType,KE=()=>Q(GE),qE=()=>{var e=KE();if(e===`horizontal`||e===`vertical`)return e},JE=e=>{var t=e.layout.layoutType;if(t===`centric`||t===`radial`)return t},YE=()=>Q(JE),$te=()=>KE()!==void 0,XE=e=>{var t=lS(),n=DE(),{width:r,height:i}=e,a=RE(),o=r,s=i;return a&&(o=a.width>0?a.width:r,s=a.height>0?a.height:i),(0,z.useEffect)(()=>{!n&&BT(o)&&BT(s)&&t(FT({width:o,height:s}))},[t,n,o,s]),null},ene=e=>{var{margin:t}=e,n=lS();return(0,z.useEffect)(()=>{n(NT(t))},[n,t]),null},ZE=Symbol.for(`immer-nothing`),QE=Symbol.for(`immer-draftable`),$E=Symbol.for(`immer-state`);function eD(e,...t){throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var tD=Object.getPrototypeOf;function nD(e){return!!e&&!!e[$E]}function rD(e){return e?aD(e)||Array.isArray(e)||!!e[QE]||!!e.constructor?.[QE]||uD(e)||dD(e):!1}var tne=Object.prototype.constructor.toString(),iD=new WeakMap;function aD(e){if(!e||typeof e!=`object`)return!1;let t=Object.getPrototypeOf(e);if(t===null||t===Object.prototype)return!0;let n=Object.hasOwnProperty.call(t,`constructor`)&&t.constructor;if(n===Object)return!0;if(typeof n!=`function`)return!1;let r=iD.get(n);return r===void 0&&(r=Function.toString.call(n),iD.set(n,r)),r===tne}function oD(e,t,n=!0){sD(e)===0?(n?Reflect.ownKeys(e):Object.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function sD(e){let t=e[$E];return t?t.type_:Array.isArray(e)?1:uD(e)?2:dD(e)?3:0}function cD(e,t){return sD(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function lD(e,t,n){let r=sD(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function nne(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function uD(e){return e instanceof Map}function dD(e){return e instanceof Set}function fD(e){return e.copy_||e.base_}function pD(e,t){if(uD(e))return new Map(e);if(dD(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);let n=aD(e);if(t===!0||t===`class_only`&&!n){let t=Object.getOwnPropertyDescriptors(e);delete t[$E];let n=Reflect.ownKeys(t);for(let r=0;r<n.length;r++){let i=n[r],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(tD(e),t)}else{let t=tD(e);return t!==null&&n?{...e}:Object.assign(Object.create(t),e)}}function mD(e,t=!1){return gD(e)||nD(e)||!rD(e)?e:(sD(e)>1&&Object.defineProperties(e,{set:hD,add:hD,clear:hD,delete:hD}),Object.freeze(e),t&&Object.values(e).forEach(e=>mD(e,!0)),e)}function rne(){eD(2)}var hD={value:rne};function gD(e){return typeof e!=`object`||!e?!0:Object.isFrozen(e)}var ine={};function _D(e){let t=ine[e];return t||eD(0,e),t}var vD;function yD(){return vD}function ane(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function bD(e,t){t&&(_D(`Patches`),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function xD(e){SD(e),e.drafts_.forEach(one),e.drafts_=null}function SD(e){e===vD&&(vD=e.parent_)}function CD(e){return vD=ane(vD,e)}function one(e){let t=e[$E];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function wD(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];return e!==void 0&&e!==n?(n[$E].modified_&&(xD(t),eD(4)),rD(e)&&(e=TD(t,e),t.parent_||DD(t,e)),t.patches_&&_D(`Patches`).generateReplacementPatches_(n[$E].base_,e,t.patches_,t.inversePatches_)):e=TD(t,n,[]),xD(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e===ZE?void 0:e}function TD(e,t,n){if(gD(t))return t;let r=e.immer_.shouldUseStrictIteration(),i=t[$E];if(!i)return oD(t,(r,a)=>ED(e,i,t,r,a,n),r),t;if(i.scope_!==e)return t;if(!i.modified_)return DD(e,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let t=i.copy_,a=t,o=!1;i.type_===3&&(a=new Set(t),t.clear(),o=!0),oD(a,(r,a)=>ED(e,i,t,r,a,n,o),r),DD(e,t,!1),n&&e.patches_&&_D(`Patches`).generatePatches_(i,n,e.patches_,e.inversePatches_)}return i.copy_}function ED(e,t,n,r,i,a,o){if(i==null||typeof i!=`object`&&!o)return;let s=gD(i);if(!(s&&!o)){if(nD(i)){let o=TD(e,i,a&&t&&t.type_!==3&&!cD(t.assigned_,r)?a.concat(r):void 0);if(lD(n,r,o),nD(o))e.canAutoFreeze_=!1;else return}else o&&n.add(i);if(rD(i)&&!s){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||t&&t.base_&&t.base_[r]===i&&s)return;TD(e,i),(!t||!t.scope_.parent_)&&typeof r!=`symbol`&&(uD(n)?n.has(r):Object.prototype.propertyIsEnumerable.call(n,r))&&DD(e,i)}}}function DD(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&mD(t,n)}function sne(e,t){let n=Array.isArray(e),r={type_:+!!n,scope_:t?t.scope_:yD(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},i=r,a=OD;n&&(i=[r],a=kD);let{revoke:o,proxy:s}=Proxy.revocable(i,a);return r.draft_=s,r.revoke_=o,s}var OD={get(e,t){if(t===$E)return e;let n=fD(e);if(!cD(n,t))return cne(e,n,t);let r=n[t];return e.finalized_||!rD(r)?r:r===AD(e.base_,t)?(ND(e),e.copy_[t]=PD(r,e)):r},has(e,t){return t in fD(e)},ownKeys(e){return Reflect.ownKeys(fD(e))},set(e,t,n){let r=jD(fD(e),t);if(r?.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){let r=AD(fD(e),t),i=r?.[$E];if(i&&i.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(nne(n,r)&&(n!==void 0||cD(e.base_,t)))return!0;ND(e),MD(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])?!0:(e.copy_[t]=n,e.assigned_[t]=!0,!0)},deleteProperty(e,t){return AD(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,ND(e),MD(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let n=fD(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!==`length`,enumerable:r.enumerable,value:n[t]}},defineProperty(){eD(11)},getPrototypeOf(e){return tD(e.base_)},setPrototypeOf(){eD(12)}},kD={};oD(OD,(e,t)=>{kD[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),kD.deleteProperty=function(e,t){return kD.set.call(this,e,t,void 0)},kD.set=function(e,t,n){return OD.set.call(this,e[0],t,n,e[0])};function AD(e,t){let n=e[$E];return(n?fD(n):e)[t]}function cne(e,t,n){let r=jD(t,n);return r?`value`in r?r.value:r.get?.call(e.draft_):void 0}function jD(e,t){if(!(t in e))return;let n=tD(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=tD(n)}}function MD(e){e.modified_||(e.modified_=!0,e.parent_&&MD(e.parent_))}function ND(e){e.copy_||=pD(e.base_,e.scope_.immer_.useStrictShallowCopy_)}var lne=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!0,this.produce=(e,t,n)=>{if(typeof e==`function`&&typeof t!=`function`){let n=t;t=e;let r=this;return function(e=n,...i){return r.produce(e,e=>t.call(this,e,...i))}}typeof t!=`function`&&eD(6),n!==void 0&&typeof n!=`function`&&eD(7);let r;if(rD(e)){let i=CD(this),a=PD(e,void 0),o=!0;try{r=t(a),o=!1}finally{o?xD(i):SD(i)}return bD(i,n),wD(r,i)}else if(!e||typeof e!=`object`){if(r=t(e),r===void 0&&(r=e),r===ZE&&(r=void 0),this.autoFreeze_&&mD(r,!0),n){let t=[],i=[];_D(`Patches`).generateReplacementPatches_(e,r,t,i),n(t,i)}return r}else eD(1,e)},this.produceWithPatches=(e,t)=>{if(typeof e==`function`)return(t,...n)=>this.produceWithPatches(t,t=>e(t,...n));let n,r;return[this.produce(e,t,(e,t)=>{n=e,r=t}),n,r]},typeof e?.autoFreeze==`boolean`&&this.setAutoFreeze(e.autoFreeze),typeof e?.useStrictShallowCopy==`boolean`&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),typeof e?.useStrictIteration==`boolean`&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){rD(e)||eD(8),nD(e)&&(e=une(e));let t=CD(this),n=PD(e,void 0);return n[$E].isManual_=!0,SD(t),n}finishDraft(e,t){let n=e&&e[$E];(!n||!n.isManual_)&&eD(9);let{scope_:r}=n;return bD(r,t),wD(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let r=t[n];if(r.path.length===0&&r.op===`replace`){e=r.value;break}}n>-1&&(t=t.slice(n+1));let r=_D(`Patches`).applyPatches_;return nD(e)?r(e,t):this.produce(e,e=>r(e,t))}};function PD(e,t){let n=uD(e)?_D(`MapSet`).proxyMap_(e,t):dD(e)?_D(`MapSet`).proxySet_(e,t):sne(e,t);return(t?t.scope_:yD()).drafts_.push(n),n}function une(e){return nD(e)||eD(10,e),FD(e)}function FD(e){if(!rD(e)||gD(e))return e;let t=e[$E],n,r=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=pD(e,t.scope_.immer_.useStrictShallowCopy_),r=t.scope_.immer_.shouldUseStrictIteration()}else n=pD(e,!0);return oD(n,(e,t)=>{lD(n,e,FD(t))},r),t&&(t.finalized_=!1),n}new lne().produce;function ID(e){return e}var LD=Ww({name:`legend`,initialState:{settings:{layout:`horizontal`,align:`center`,verticalAlign:`middle`,itemSorter:`value`},size:{width:0,height:0},payload:[]},reducers:{setLegendSize(e,t){e.size.width=t.payload.width,e.size.height=t.payload.height},setLegendSettings(e,t){e.settings.align=t.payload.align,e.settings.layout=t.payload.layout,e.settings.verticalAlign=t.payload.verticalAlign,e.settings.itemSorter=t.payload.itemSorter},addLegendPayload:{reducer(e,t){e.payload.push(ID(t.payload))},prepare:Aw()},replaceLegendPayload:{reducer(e,t){var{prev:n,next:r}=t.payload,i=gw(e).payload.indexOf(ID(n));i>-1&&(e.payload[i]=ID(r))},prepare:Aw()},removeLegendPayload:{reducer(e,t){var n=gw(e).payload.indexOf(ID(t.payload));n>-1&&e.payload.splice(n,1)},prepare:Aw()}}}),{setLegendSize:RD,setLegendSettings:dne,addLegendPayload:zD,replaceLegendPayload:BD,removeLegendPayload:VD}=LD.actions,fne=LD.reducer,pne=s((e=>{var t=p();t.useSyncExternalStore,t.useRef,t.useEffect,t.useMemo,t.useDebugValue}));s(((e,t)=>{t.exports=pne()}))();function mne(e){e()}function hne(){let e=null,t=null;return{clear(){e=null,t=null},notify(){mne(()=>{let t=e;for(;t;)t.callback(),t=t.next})},get(){let t=[],n=e;for(;n;)t.push(n),n=n.next;return t},subscribe(n){let r=!0,i=t={callback:n,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!r||e===null||(r=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var HD={notify(){},get:()=>[]};function gne(e,t){let n,r=HD,i=0,a=!1;function o(e){u();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),d())}}function s(){r.notify()}function c(){m.onStateChange&&m.onStateChange()}function l(){return a}function u(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),r=hne())}function d(){i--,n&&i===0&&(n(),n=void 0,r.clear(),r=HD)}function f(){a||(a=!0,u())}function p(){a&&(a=!1,d())}let m={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:f,tryUnsubscribe:p,getListeners:()=>r};return m}var _ne=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0,vne=typeof navigator<`u`&&navigator.product===`ReactNative`,yne=_ne||vne?z.useLayoutEffect:z.useEffect;function UD(e,t){return e===t?e!==0||t!==0||1/e==1/t:e!==e&&t!==t}function bne(e,t){if(UD(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r=0;r<n.length;r++)if(!Object.prototype.hasOwnProperty.call(t,n[r])||!UD(e[n[r]],t[n[r]]))return!1;return!0}var xne=Symbol.for(`react-redux-context`),Sne=typeof globalThis<`u`?globalThis:{};function Cne(){if(!z.createContext)return{};let e=Sne[xne]??=new Map,t=e.get(z.createContext);return t||(t=z.createContext(null),e.set(z.createContext,t)),t}var wne=Cne();function Tne(e){let{children:t,context:n,serverState:r,store:i}=e,a=z.useMemo(()=>({store:i,subscription:gne(i),getServerState:r?()=>r:void 0}),[i,r]),o=z.useMemo(()=>i.getState(),[i]);yne(()=>{let{subscription:e}=a;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),o!==i.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[a,o]);let s=n||wne;return z.createElement(s.Provider,{value:a},t)}var Ene=Tne,Dne=new Set([`axisLine`,`tickLine`,`activeBar`,`activeDot`,`activeLabel`,`activeShape`,`allowEscapeViewBox`,`background`,`cursor`,`dot`,`label`,`line`,`margin`,`padding`,`position`,`shape`,`style`,`tick`,`wrapperStyle`,`radius`,`throttledEvents`]);function One(e,t){return e==null&&t==null?!0:typeof e==`number`&&typeof t==`number`?e===t||e!==e&&t!==t:e===t}function WD(e,t){for(var n of new Set([...Object.keys(e),...Object.keys(t)]))if(Dne.has(n)){if(e[n]==null&&t[n]==null)continue;if(!bne(e[n],t[n]))return!1}else if(!One(e[n],t[n]))return!1;return!0}var GD=_(),kne=[`contextPayload`];function KD(){return KD=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},KD.apply(null,arguments)}function qD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function JD(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?qD(Object(n),!0).forEach(function(t){YD(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qD(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function YD(e,t,n){return(t=XD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function XD(e){var t=ZD(e,`string`);return typeof t==`symbol`?t:t+``}function ZD(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function QD(e,t){if(e==null)return{};var n,r,i=$D(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $D(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function eO(e){return e.value}function tO(e){var{contextPayload:t}=e,n=QD(e,kne),r=tS(t,e.payloadUniqBy,eO),i=JD(JD({},n),{},{payload:r});return z.isValidElement(e.content)?z.cloneElement(e.content,i):typeof e.content==`function`?z.createElement(e.content,i):z.createElement(pte,i)}function nO(e,t,n,r,i,a){var{layout:o,align:s,verticalAlign:c}=t,l,u;return(!e||(e.left===void 0||e.left===null)&&(e.right===void 0||e.right===null))&&(l=s===`center`&&o===`vertical`?{left:((r||0)-a.width)/2}:s===`right`?{right:n&&n.right||0}:{left:n&&n.left||0}),(!e||(e.top===void 0||e.top===null)&&(e.bottom===void 0||e.bottom===null))&&(u=c===`middle`?{top:((i||0)-a.height)/2}:c===`bottom`?{bottom:n&&n.bottom||0}:{top:n&&n.top||0}),JD(JD({},l),u)}function rO(e){var t=lS();return(0,z.useEffect)(()=>{t(dne(e))},[t,e]),null}function iO(e){var t=lS();return(0,z.useEffect)(()=>(t(RD(e)),()=>{t(RD({width:0,height:0}))}),[t,e]),null}function aO(e,t,n,r){return e===`vertical`&&t!=null?{height:t}:e===`horizontal`?{width:n||r}:null}var oO={align:`center`,iconSize:14,inactiveColor:`#ccc`,itemSorter:`value`,layout:`horizontal`,verticalAlign:`bottom`};function sO(e){var t=jx(e,oO),n=RS(),r=my(),i=Qte(),{width:a,height:o,wrapperStyle:s,portal:c}=t,[l,u]=BS([n]),d=UE(),f=WE();if(d==null||f==null)return null;var p=d-(i?.left||0)-(i?.right||0),m=aO(t.layout,o,a,p),h=c?s:JD(JD({position:`absolute`,width:m?.width||a||`auto`,height:m?.height||o||`auto`},nO(s,t,i,d,f,l)),s),g=c??r;return g==null||n==null?null:(0,GD.createPortal)(z.createElement(`div`,{className:`recharts-legend-wrapper`,style:h,ref:u},z.createElement(rO,{layout:t.layout,align:t.align,verticalAlign:t.verticalAlign,itemSorter:t.itemSorter}),!c&&z.createElement(iO,{width:l.width,height:l.height}),z.createElement(tO,KD({},t,m,{margin:i,chartWidth:d,chartHeight:f,contextPayload:n}))),g)}var cO=z.memo(sO,WD);cO.displayName=`Legend`;function lO(){return lO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lO.apply(null,arguments)}function uO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?uO(Object(n),!0).forEach(function(t){fO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fO(e,t,n){return(t=pO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pO(e){var t=mO(e,`string`);return typeof t==`symbol`?t:t+``}function mO(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function hO(e){return Array.isArray(e)&&px(e[0])&&px(e[1])?e.join(` ~ `):e}var gO={separator:` : `,contentStyle:{margin:0,padding:10,backgroundColor:`#fff`,border:`1px solid #ccc`,whiteSpace:`nowrap`},itemStyle:{display:`block`,paddingTop:4,paddingBottom:4,color:`#000`},labelStyle:{},accessibilityLayer:!1};function _O(e,t){return t==null?e:(0,PS.default)(e,t)}var vO=e=>{var{separator:t=gO.separator,contentStyle:n,itemStyle:r,labelStyle:i=gO.labelStyle,payload:a,formatter:o,itemSorter:s,wrapperClassName:c,labelClassName:l,label:u,labelFormatter:d,accessibilityLayer:f=gO.accessibilityLayer}=e,p=()=>{if(a&&a.length){var e={padding:0,margin:0},n=_O(a,s).map((e,n)=>{if(!e||e.type===`none`)return null;var i=e.formatter||o||hO,{value:s,name:c}=e,l=s,u=c;if(i){var d=i(s,c,e,n,a);if(Array.isArray(d))[l,u]=d;else if(d!=null)l=d;else return null}var f=dO(dO({},gO.itemStyle),{},{color:e.color||gO.itemStyle.color},r);return z.createElement(`li`,{className:`recharts-tooltip-item`,key:`tooltip-item-${n}`,style:f},px(u)?z.createElement(`span`,{className:`recharts-tooltip-item-name`},u):null,px(u)?z.createElement(`span`,{className:`recharts-tooltip-item-separator`},t):null,z.createElement(`span`,{className:`recharts-tooltip-item-value`},l),z.createElement(`span`,{className:`recharts-tooltip-item-unit`},e.unit||``))});return z.createElement(`ul`,{className:`recharts-tooltip-item-list`,style:e},n)}return null},m=dO(dO({},gO.contentStyle),n),h=dO({margin:0},i),g=!vx(u),_=g?u:``,v=J(`recharts-default-tooltip`,c),y=J(`recharts-tooltip-label`,l);g&&d&&a!=null&&(_=d(u,a));var b=f?{role:`status`,\"aria-live\":`assertive`}:{};return z.createElement(`div`,lO({className:v,style:m},b),z.createElement(`p`,{className:y,style:h},z.isValidElement(_)?_:`${_}`),p())},yO=`recharts-tooltip-wrapper`,bO={visibility:`hidden`};function xO(e){var{coordinate:t,translateX:n,translateY:r}=e;return J(yO,{[`${yO}-right`]:X(n)&&t&&X(t.x)&&n>=t.x,[`${yO}-left`]:X(n)&&t&&X(t.x)&&n<t.x,[`${yO}-bottom`]:X(r)&&t&&X(t.y)&&r>=t.y,[`${yO}-top`]:X(r)&&t&&X(t.y)&&r<t.y})}function SO(e){var{allowEscapeViewBox:t,coordinate:n,key:r,offset:i,position:a,reverseDirection:o,tooltipDimension:s,viewBox:c,viewBoxDimension:l}=e;if(a&&X(a[r]))return a[r];var u=n[r]-s-(i>0?i:0),d=n[r]+i;if(t[r])return o[r]?u:d;var f=c[r];return f==null?0:o[r]?Math.max(u<f?d:u,f):l==null?0:d+s>f+l?Math.max(u,f):Math.max(d,f)}function CO(e){var{translateX:t,translateY:n,useTranslate3d:r}=e;return{transform:r?`translate3d(${t}px, ${n}px, 0)`:`translate(${t}px, ${n}px)`}}function wO(e){var{allowEscapeViewBox:t,coordinate:n,offsetTop:r,offsetLeft:i,position:a,reverseDirection:o,tooltipBox:s,useTranslate3d:c,viewBox:l}=e,u,d,f;return s.height>0&&s.width>0&&n?(d=SO({allowEscapeViewBox:t,coordinate:n,key:`x`,offset:i,position:a,reverseDirection:o,tooltipDimension:s.width,viewBox:l,viewBoxDimension:l.width}),f=SO({allowEscapeViewBox:t,coordinate:n,key:`y`,offset:r,position:a,reverseDirection:o,tooltipDimension:s.height,viewBox:l,viewBoxDimension:l.height}),u=CO({translateX:d,translateY:f,useTranslate3d:c})):u=bO,{cssProperties:u,cssClasses:xO({translateX:d,translateY:f,coordinate:n})}}var TO={devToolsEnabled:!0,isSsr:!(typeof window<`u`&&window.document&&window.document.createElement&&window.setTimeout)};function EO(){var[e,t]=(0,z.useState)(()=>TO.isSsr||!window.matchMedia?!1:window.matchMedia(`(prefers-reduced-motion: reduce)`).matches);return(0,z.useEffect)(()=>{if(window.matchMedia){var e=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=()=>{t(e.matches)};return e.addEventListener(`change`,n),()=>{e.removeEventListener(`change`,n)}}},[]),e}function DO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function OO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?DO(Object(n),!0).forEach(function(t){kO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kO(e,t,n){return(t=AO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AO(e){var t=jO(e,`string`);return typeof t==`symbol`?t:t+``}function jO(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function MO(e){if(!(e.prefersReducedMotion&&e.isAnimationActive===`auto`)&&e.isAnimationActive&&e.active)return`transform ${e.animationDuration}ms ${e.animationEasing}`}function NO(e){var t=EO(),[n,r]=z.useState(()=>({dismissed:!1,dismissedAtCoordinate:{x:0,y:0}}));z.useEffect(()=>{var t=t=>{t.key===`Escape`&&r({dismissed:!0,dismissedAtCoordinate:{x:e.coordinate?.x??0,y:e.coordinate?.y??0}})};return document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`keydown`,t)}},[e.coordinate?.x,e.coordinate?.y]),n.dismissed&&((e.coordinate?.x??0)!==n.dismissedAtCoordinate.x||(e.coordinate?.y??0)!==n.dismissedAtCoordinate.y)&&r(OO(OO({},n),{},{dismissed:!1}));var{cssClasses:i,cssProperties:a}=wO({allowEscapeViewBox:e.allowEscapeViewBox,coordinate:e.coordinate,offsetLeft:typeof e.offset==`number`?e.offset:e.offset.x,offsetTop:typeof e.offset==`number`?e.offset:e.offset.y,position:e.position,reverseDirection:e.reverseDirection,tooltipBox:{height:e.lastBoundingBox.height,width:e.lastBoundingBox.width},useTranslate3d:e.useTranslate3d,viewBox:e.viewBox}),o=OO(OO({},e.hasPortalFromProps?{}:OO(OO({transition:MO({prefersReducedMotion:t,isAnimationActive:e.isAnimationActive,active:e.active,animationDuration:e.animationDuration,animationEasing:e.animationEasing})},a),{},{pointerEvents:`none`,position:`absolute`,top:0,left:0})),{},{visibility:!n.dismissed&&e.active&&e.hasPayload?`visible`:`hidden`},e.wrapperStyle);return z.createElement(`div`,{xmlns:`http://www.w3.org/1999/xhtml`,tabIndex:-1,className:i,style:o,ref:e.innerRef},e.children)}var PO=z.memo(NO),FO=()=>Q(e=>e.rootProps.accessibilityLayer)??!0;function IO(){return IO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IO.apply(null,arguments)}function LO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function RO(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?LO(Object(n),!0).forEach(function(t){zO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zO(e,t,n){return(t=BO(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function BO(e){var t=VO(e,`string`);return typeof t==`symbol`?t:t+``}function VO(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var HO={curveBasisClosed:Tb,curveBasisOpen:Db,curveBasis:Cb,curveBumpX:$y,curveBumpY:eb,curveLinearClosed:kb,curveLinear:qy,curveMonotoneX:Lb,curveMonotoneY:Rb,curveNatural:Vb,curveStep:Ub,curveStepAfter:Gb,curveStepBefore:Wb},UO=e=>zT(e.x)&&zT(e.y),WO=e=>e.base!=null&&UO(e.base)&&UO(e),GO=e=>e.x,KO=e=>e.y,qO=(e,t)=>{if(typeof e==`function`)return e;var n=`curve${yx(e)}`;if((n===`curveMonotone`||n===`curveBump`)&&t){var r=HO[`${n}${t===`vertical`?`Y`:`X`}`];if(r)return r}return HO[n]||qy},JO={connectNulls:!1,type:`linear`},YO=e=>{var{type:t=JO.type,points:n=[],baseLine:r,layout:i,connectNulls:a=JO.connectNulls}=e,o=qO(t,i),s=a?n.filter(UO):n;if(Array.isArray(r)){var c,l=n.map((e,t)=>RO(RO({},e),{},{base:r[t]}));return c=i===`vertical`?Zy().y(KO).x1(GO).x0(e=>e.base.x):Zy().x(GO).y1(KO).y0(e=>e.base.y),c.defined(WO).curve(o)(a?l.filter(WO):l)}return(i===`vertical`&&X(r)?Zy().y(KO).x1(GO).x0(r):X(r)?Zy().x(GO).y1(KO).y0(r):Xy().x(GO).y(KO)).defined(UO).curve(o)(s)},XO=e=>{var{className:t,points:n,path:r,pathRef:i}=e,a=KE();if((!n||!n.length)&&!r)return null;var o={type:e.type,points:e.points,baseLine:e.baseLine,layout:e.layout||a,connectNulls:e.connectNulls},s=n&&n.length?YO(o):r;return z.createElement(`path`,IO({},ey(e),Ox(e),{className:J(`recharts-curve`,t),d:s===null?void 0:s,ref:i}))},ZO=[`x`,`y`,`top`,`left`,`width`,`height`,`className`];function QO(){return QO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},QO.apply(null,arguments)}function $O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ek(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$O(Object(n),!0).forEach(function(t){tk(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tk(e,t,n){return(t=nk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nk(e){var t=rk(e,`string`);return typeof t==`symbol`?t:t+``}function rk(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ik(e,t){if(e==null)return{};var n,r,i=ak(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ak(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var ok=(e,t,n,r,i,a)=>`M${e},${i}v${r}M${a},${t}h${n}`,sk=e=>{var{x:t=0,y:n=0,top:r=0,left:i=0,width:a=0,height:o=0,className:s}=e,c=ik(e,ZO),l=ek({x:t,y:n,top:r,left:i,width:a,height:o},c);return!X(t)||!X(n)||!X(a)||!X(o)||!X(r)||!X(i)?null:z.createElement(`path`,QO({},ny(l),{className:J(`recharts-cross`,s),d:ok(t,n,a,o,r,i)}))};function ck(e,t,n,r){var i=r/2;return{stroke:`none`,fill:`#ccc`,x:e===`horizontal`?t.x-i:n.left+.5,y:e===`horizontal`?n.top+.5:t.y-i,width:e===`horizontal`?r:n.width-1,height:e===`horizontal`?n.height-1:r}}function lk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?lk(Object(n),!0).forEach(function(t){dk(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dk(e,t,n){return(t=fk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fk(e){var t=pk(e,`string`);return typeof t==`symbol`?t:t+``}function pk(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var mk=e=>e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`),hk=(e,t,n)=>e.map(e=>`${mk(e)} ${t}ms ${n}`).join(`,`),gk=(e,t)=>[Object.keys(e),Object.keys(t)].reduce((e,t)=>e.filter(e=>t.includes(e))),_k=(e,t)=>Object.keys(t).reduce((n,r)=>uk(uk({},n),{},{[r]:e(r,t[r])}),{});function vk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yk(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?vk(Object(n),!0).forEach(function(t){bk(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bk(e,t,n){return(t=xk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xk(e){var t=Sk(e,`string`);return typeof t==`symbol`?t:t+``}function Sk(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Ck=(e,t,n)=>e+(t-e)*n,wk=e=>{var{from:t,to:n}=e;return t!==n},Tk=(e,t,n)=>{var r=_k((t,n)=>{if(wk(n)){var[r,i]=e(n.from,n.to,n.velocity);return yk(yk({},n),{},{from:r,velocity:i})}return n},t);return n<1?_k((e,t)=>wk(t)&&r[e]!=null?yk(yk({},t),{},{velocity:Ck(t.velocity,r[e].velocity,n),from:Ck(t.from,r[e].from,n)}):t,t):Tk(e,r,n-1)};function Ek(e,t,n,r,i,a){var o,s=r.reduce((n,r)=>yk(yk({},n),{},{[r]:{from:e[r],velocity:0,to:t[r]}}),{}),c=()=>_k((e,t)=>t.from,s),l=()=>!Object.values(s).filter(wk).length,u=null,d=r=>{o||=r;var f=(r-o)/n.dt;s=Tk(n,s,f),i(yk(yk(yk({},e),t),c())),o=r,l()||(u=a.setTimeout(d))};return()=>(u=a.setTimeout(d),()=>{var e;(e=u)==null||e()})}function Dk(e,t,n,r,i,a,o){var s=null,c=i.reduce((n,r)=>{var i=e[r],a=t[r];return i==null||a==null?n:yk(yk({},n),{},{[r]:[i,a]})},{}),l,u=i=>{l||=i;var d=(i-l)/r,f=_k((e,t)=>Ck(...t,n(d)),c);if(a(yk(yk(yk({},e),t),f)),d<1)s=o.setTimeout(u);else{var p=_k((e,t)=>Ck(...t,n(1)),c);a(yk(yk(yk({},e),t),p))}};return()=>(s=o.setTimeout(u),()=>{var e;(e=s)==null||e()})}var Ok=(e,t,n,r,i,a)=>{var o=gk(e,t);return n==null?()=>(i(yk(yk({},e),t)),()=>{}):n.isStepper===!0?Ek(e,t,n,o,i,a):Dk(e,t,n,r,o,i,a)},kk=(e,t)=>[0,3*e,3*t-6*e,3*e-3*t+1],Ak=(e,t)=>e.map((e,n)=>e*t**n).reduce((e,t)=>e+t),jk=(e,t)=>n=>Ak(kk(e,t),n),Mk=(e,t)=>n=>Ak([...kk(e,t).map((e,t)=>e*t).slice(1),0],n),Nk=e=>{var t,n=e.split(`(`);if(n.length!==2||n[0]!==`cubic-bezier`)return null;var r=(t=n[1])==null||(t=t.split(`)`)[0])==null?void 0:t.split(`,`);if(r==null||r.length!==4)return null;var i=r.map(e=>parseFloat(e));return[i[0],i[1],i[2],i[3]]},Pk=function(){var e=[...arguments];if(e.length===1)switch(e[0]){case`linear`:return[0,0,1,1];case`ease`:return[.25,.1,.25,1];case`ease-in`:return[.42,0,1,1];case`ease-out`:return[.42,0,.58,1];case`ease-in-out`:return[0,0,.58,1];default:var t=Nk(e[0]);if(t)return t}return e.length===4?e:[0,0,1,1]},Fk=(e,t,n,r)=>{var i=jk(e,n),a=jk(t,r),o=Mk(e,n),s=e=>e>1?1:e<0?0:e,c=e=>{for(var t=e>1?1:e,n=t,r=0;r<8;++r){var c=i(n)-t,l=o(n);if(Math.abs(c-t)<1e-4||l<1e-4)return a(n);n=s(n-c/l)}return a(n)};return c.isStepper=!1,c},Ik=function(){return Fk(...Pk(...arguments))},Lk=function(){var{stiff:e=100,damping:t=8,dt:n=17}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=(r,i,a)=>{var o=a+(-(r-i)*e-a*t)*n/1e3,s=a*n/1e3+r;return Math.abs(s-i)<1e-4&&Math.abs(o)<1e-4?[i,0]:[s,o]};return r.isStepper=!0,r.dt=n,r},Rk=e=>{if(typeof e==`string`)switch(e){case`ease`:case`ease-in-out`:case`ease-out`:case`ease-in`:case`linear`:return Ik(e);case`spring`:return Lk();default:if(e.split(`(`)[0]===`cubic-bezier`)return Ik(e)}return typeof e==`function`?e:null};function zk(e){var t,n=()=>null,r=!1,i=null,a=o=>{if(!r){if(Array.isArray(o)){if(!o.length)return;var[s,...c]=o;if(typeof s==`number`){i=e.setTimeout(a.bind(null,c),s);return}a(s),i=e.setTimeout(a.bind(null,c));return}typeof o==`string`&&(t=o,n(t)),typeof o==`object`&&(t=o,n(t)),typeof o==`function`&&o()}};return{stop:()=>{r=!0},start:e=>{r=!1,i&&=(i(),null),a(e)},subscribe:e=>(n=e,()=>{n=()=>null}),getTimeoutController:()=>e}}var Bk=class{setTimeout(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=performance.now(),r=null,i=a=>{a-n>=t?e(a):typeof requestAnimationFrame==`function`&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>{r!=null&&cancelAnimationFrame(r)}}};function Vk(){return zk(new Bk)}var Hk=(0,z.createContext)(Vk);function Uk(e,t){var n=(0,z.useContext)(Hk);return(0,z.useMemo)(()=>t??n(e),[e,t,n])}var Wk={begin:0,duration:1e3,easing:`ease`,isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}},Gk={t:0},Kk={t:1};function qk(e){var t=jx(e,Wk),{isActive:n,canBegin:r,duration:i,easing:a,begin:o,onAnimationEnd:s,onAnimationStart:c,children:l}=t,u=EO(),d=n===`auto`?!TO.isSsr&&!u:n,f=Uk(t.animationId,t.animationManager),[p,m]=(0,z.useState)(d?Gk:Kk),h=(0,z.useRef)(null);return(0,z.useEffect)(()=>{d||m(Kk)},[d]),(0,z.useEffect)(()=>{if(!d||!r)return xx;var e=Ok(Gk,Kk,Rk(a),i,m,f.getTimeoutController());return f.start([c,o,()=>{h.current=e()},i,s]),()=>{f.stop(),h.current&&h.current(),s()}},[d,r,i,a,o,c,s,f]),l(p.t)}function Jk(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`animation-`,n=(0,z.useRef)(mx(t)),r=(0,z.useRef)(e);return r.current!==e&&(n.current=mx(t),r.current=e),n.current}var Yk=[`radius`],Xk=[`radius`],Zk,Qk,$k,eA,tA,nA,rA,iA,aA,oA;function sA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function cA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?sA(Object(n),!0).forEach(function(t){lA(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lA(e,t,n){return(t=uA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uA(e){var t=dA(e,`string`);return typeof t==`symbol`?t:t+``}function dA(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function fA(){return fA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fA.apply(null,arguments)}function pA(e,t){if(e==null)return{};var n,r,i=mA(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function mA(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function hA(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var gA=(e,t,n,r,i)=>{var a=sx(n),o=sx(r),s=Math.min(Math.abs(a)/2,Math.abs(o)/2),c=o>=0?1:-1,l=a>=0?1:-1,u=+(o>=0&&a>=0||o<0&&a<0),d;if(s>0&&Array.isArray(i)){for(var f=[0,0,0,0],p=0,m=4;p<m;p++){var h=i[p]??0;f[p]=h>s?s:h}d=cx(Zk||=hA([`M`,`,`,``]),e,t+c*f[0]),f[0]>0&&(d+=cx(Qk||=hA([`A `,`,`,`,0,0,`,`,`,`,`,``]),f[0],f[0],u,e+l*f[0],t)),d+=cx($k||=hA([`L `,`,`,``]),e+n-l*f[1],t),f[1]>0&&(d+=cx(eA||=hA([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[1],f[1],u,e+n,t+c*f[1])),d+=cx(tA||=hA([`L `,`,`,``]),e+n,t+r-c*f[2]),f[2]>0&&(d+=cx(nA||=hA([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[2],f[2],u,e+n-l*f[2],t+r)),d+=cx(rA||=hA([`L `,`,`,``]),e+l*f[3],t+r),f[3]>0&&(d+=cx(iA||=hA([`A `,`,`,`,0,0,`,`,\n `,`,`,``]),f[3],f[3],u,e,t+r-c*f[3])),d+=`Z`}else if(s>0&&i===+i&&i>0){var g=Math.min(s,i);d=cx(aA||=hA(`M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z`.split(`.`)),e,t+c*g,g,g,u,e+l*g,t,e+n-l*g,t,g,g,u,e+n,t+c*g,e+n,t+r-c*g,g,g,u,e+n-l*g,t+r,e+l*g,t+r,g,g,u,e,t+r-c*g)}else d=cx(oA||=hA([`M `,`,`,` h `,` v `,` h `,` Z`]),e,t,n,r,-n);return d},_A={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},vA=e=>{var t=jx(e,_A),n=(0,z.useRef)(null),[r,i]=(0,z.useState)(-1);(0,z.useEffect)(()=>{if(n.current&&n.current.getTotalLength)try{var e=n.current.getTotalLength();e&&i(e)}catch{}},[]);var{x:a,y:o,width:s,height:c,radius:l,className:u}=t,{animationEasing:d,animationDuration:f,animationBegin:p,isAnimationActive:m,isUpdateAnimationActive:h}=t,g=(0,z.useRef)(s),_=(0,z.useRef)(c),v=(0,z.useRef)(a),y=(0,z.useRef)(o),b=Jk((0,z.useMemo)(()=>({x:a,y:o,width:s,height:c,radius:l}),[a,o,s,c,l]),`rectangle-`);if(a!==+a||o!==+o||s!==+s||c!==+c||s===0||c===0)return null;var x=J(`recharts-rectangle`,u);if(!h){var S=ny(t),{radius:C}=S,w=pA(S,Yk);return z.createElement(`path`,fA({},w,{x:sx(a),y:sx(o),width:sx(s),height:sx(c),radius:typeof l==`number`?l:void 0,className:x,d:gA(a,o,s,c,l)}))}var T=g.current,E=_.current,D=v.current,O=y.current,k=`0px ${r===-1?1:r}px`,ee=`${r}px ${r}px`,te=hk([`strokeDasharray`],f,typeof d==`string`?d:_A.animationEasing);return z.createElement(qk,{animationId:b,key:b,canBegin:r>0,duration:f,easing:d,isActive:h,begin:p},e=>{var r=Z(T,s,e),i=Z(E,c,e),u=Z(D,a,e),d=Z(O,o,e);n.current&&(g.current=r,_.current=i,v.current=u,y.current=d);var f=m?e>0?{transition:te,strokeDasharray:ee}:{strokeDasharray:k}:{strokeDasharray:ee},p=ny(t),{radius:h}=p,b=pA(p,Xk);return z.createElement(`path`,fA({},b,{radius:typeof l==`number`?l:void 0,className:x,d:gA(u,d,r,i,l),ref:n,style:cA(cA({},f),t.style)}))})};function yA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yA(Object(n),!0).forEach(function(t){xA(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yA(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xA(e,t,n){return(t=SA(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SA(e){var t=CA(e,`string`);return typeof t==`symbol`?t:t+``}function CA(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var wA=Math.PI/180,TA=e=>e*Math.PI/180,EA=e=>e*180/Math.PI,DA=(e,t,n,r)=>({x:e+Math.cos(-wA*r)*n,y:t+Math.sin(-wA*r)*n}),OA=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{top:0,right:0,bottom:0,left:0,width:0,height:0,brushBottom:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},kA=(e,t)=>{var{x:n,y:r}=e,{x:i,y:a}=t;return Math.sqrt((n-i)**2+(r-a)**2)},AA=(e,t)=>{var{x:n,y:r}=e,{cx:i,cy:a}=t,o=kA({x:n,y:r},{x:i,y:a});if(o<=0)return{radius:o,angle:0};var s=(n-i)/o,c=Math.acos(s);return r>a&&(c=2*Math.PI-c),{radius:o,angle:EA(c),angleInRadian:c}},jA=e=>{var{startAngle:t,endAngle:n}=e,r=Math.floor(t/360),i=Math.floor(n/360),a=Math.min(r,i);return{startAngle:t-a*360,endAngle:n-a*360}},MA=(e,t)=>{var{startAngle:n,endAngle:r}=t,i=Math.floor(n/360),a=Math.floor(r/360);return e+Math.min(i,a)*360},NA=(e,t)=>{var{relativeX:n,relativeY:r}=e,{radius:i,angle:a}=AA({x:n,y:r},t),{innerRadius:o,outerRadius:s}=t;if(i<o||i>s||i===0)return null;var{startAngle:c,endAngle:l}=jA(t),u=a,d;if(c<=l){for(;u>l;)u-=360;for(;u<c;)u+=360;d=u>=c&&u<=l}else{for(;u>c;)u-=360;for(;u<l;)u+=360;d=u>=l&&u<=c}return d?bA(bA({},t),{},{radius:i,angle:MA(u,t)}):null};function PA(e){var{cx:t,cy:n,radius:r,startAngle:i,endAngle:a}=e;return{points:[DA(t,n,r,i),DA(t,n,r,a)],cx:t,cy:n,radius:r,startAngle:i,endAngle:a}}var FA,IA,LA,RA,zA,BA,VA;function HA(){return HA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},HA.apply(null,arguments)}function UA(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var WA=(e,t)=>ux(t-e)*Math.min(Math.abs(t-e),359.999),GA=e=>{var{cx:t,cy:n,radius:r,angle:i,sign:a,isExternal:o,cornerRadius:s,cornerIsExternal:c}=e,l=s*(o?1:-1)+r,u=Math.asin(s/l)/wA,d=c?i:i+a*u,f=DA(t,n,l,d),p=DA(t,n,r,d),m=c?i-a*u:i;return{center:f,circleTangency:p,lineTangency:DA(t,n,l*Math.cos(u*wA),m),theta:u}},KA=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o}=e,s=WA(a,o),c=a+s,l=DA(t,n,i,a),u=DA(t,n,i,c),d=cx(FA||=UA([`M `,`,`,`\n A `,`,`,`,0,\n `,`,`,`,\n `,`,`,`\n `]),l.x,l.y,i,i,+(Math.abs(s)>180),+(a>c),u.x,u.y);if(r>0){var f=DA(t,n,r,a),p=DA(t,n,r,c);d+=cx(IA||=UA([`L `,`,`,`\n A `,`,`,`,0,\n `,`,`,`,\n `,`,`,` Z`]),p.x,p.y,r,r,+(Math.abs(s)>180),+(a<=c),f.x,f.y)}else d+=cx(LA||=UA([`L `,`,`,` Z`]),t,n);return d},qA=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,cornerRadius:a,forceCornerRadius:o,cornerIsExternal:s,startAngle:c,endAngle:l}=e,u=ux(l-c),{circleTangency:d,lineTangency:f,theta:p}=GA({cx:t,cy:n,radius:i,angle:c,sign:u,cornerRadius:a,cornerIsExternal:s}),{circleTangency:m,lineTangency:h,theta:g}=GA({cx:t,cy:n,radius:i,angle:l,sign:-u,cornerRadius:a,cornerIsExternal:s}),_=s?Math.abs(c-l):Math.abs(c-l)-p-g;if(_<0)return o?cx(RA||=UA([`M `,`,`,`\n a`,`,`,`,0,0,1,`,`,0\n a`,`,`,`,0,0,1,`,`,0\n `]),f.x,f.y,a,a,a*2,a,a,-a*2):KA({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:c,endAngle:l});var v=cx(zA||=UA([`M `,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n A`,`,`,`,0,`,`,`,`,`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n `]),f.x,f.y,a,a,+(u<0),d.x,d.y,i,i,+(_>180),+(u<0),m.x,m.y,a,a,+(u<0),h.x,h.y);if(r>0){var{circleTangency:y,lineTangency:b,theta:x}=GA({cx:t,cy:n,radius:r,angle:c,sign:u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),{circleTangency:S,lineTangency:C,theta:w}=GA({cx:t,cy:n,radius:r,angle:l,sign:-u,isExternal:!0,cornerRadius:a,cornerIsExternal:s}),T=s?Math.abs(c-l):Math.abs(c-l)-x-w;if(T<0&&a===0)return`${v}L${t},${n}Z`;v+=cx(BA||=UA([`L`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`\n A`,`,`,`,0,`,`,`,`,`,`,`,`\n A`,`,`,`,0,0,`,`,`,`,`,`Z`]),C.x,C.y,a,a,+(u<0),S.x,S.y,r,r,+(T>180),+(u>0),y.x,y.y,a,a,+(u<0),b.x,b.y)}else v+=cx(VA||=UA([`L`,`,`,`Z`]),t,n);return v},JA={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},YA=e=>{var t=jx(e,JA),{cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:o,forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u,className:d}=t;if(a<i||l===u)return null;var f=J(`recharts-sector`,d),p=a-i,m=hx(o,p,0,!0),h=m>0&&Math.abs(l-u)<360?qA({cx:n,cy:r,innerRadius:i,outerRadius:a,cornerRadius:Math.min(m,p/2),forceCornerRadius:s,cornerIsExternal:c,startAngle:l,endAngle:u}):KA({cx:n,cy:r,innerRadius:i,outerRadius:a,startAngle:l,endAngle:u});return z.createElement(`path`,HA({},ny(t),{className:f,d:h}))};function XA(e,t,n){if(e===`horizontal`)return[{x:t.x,y:n.top},{x:t.x,y:n.top+n.height}];if(e===`vertical`)return[{x:n.left,y:t.y},{x:n.left+n.width,y:t.y}];if(Dx(t)){if(e===`centric`){var{cx:r,cy:i,innerRadius:a,outerRadius:o,angle:s}=t,c=DA(r,i,a,s),l=DA(r,i,o,s);return[{x:c.x,y:c.y},{x:l.x,y:l.y}]}return PA(t)}}var ZA=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=OS();function n(e){return t.isSymbol(e)?NaN:Number(e)}e.toNumber=n})),QA=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ZA();function n(e){return e?(e=t.toNumber(e),e===1/0||e===-1/0?(e<0?-1:1)*Number.MAX_VALUE:e===e?e:0):e===0?e:0}e.toFinite=n})),$A=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=MS(),n=QA();function r(e,r,i){i&&typeof i!=`number`&&t.isIterateeCall(e,r,i)&&(r=i=void 0),e=n.toFinite(e),r===void 0?(r=e,e=0):r=n.toFinite(r),i=i===void 0?e<r?1:-1:n.toFinite(i);let a=Math.max(Math.ceil((r-e)/(i||1)),0),o=Array(a);for(let t=0;t<a;t++)o[t]=e,e+=i;return o}e.range=r})),ej=s(((e,t)=>{t.exports=$A().range})),tj=e=>e.chartData,nj=$([tj],e=>{var t=e.chartData==null?0:e.chartData.length-1;return{chartData:e.chartData,computedData:e.computedData,dataEndIndex:t,dataStartIndex:0}}),rj=(e,t,n,r)=>r?nj(e):tj(e),ij=(e,t,n)=>n?nj(e):tj(e),aj=$([rj],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)}),oj=$([nj],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)}),sj=$([tj],e=>{var{chartData:t,dataStartIndex:n,dataEndIndex:r}=e;return t==null?[]:t.slice(n,r+1)});function cj(e){if(Array.isArray(e)&&e.length===2){var[t,n]=e;if(zT(t)&&zT(n))return!0}return!1}function lj(e,t,n){return n?e:[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}function uj(e,t){if(t&&typeof e!=`function`&&Array.isArray(e)&&e.length===2){var[n,r]=e,i,a;if(zT(n))i=n;else if(typeof n==`function`)return;if(zT(r))a=r;else if(typeof r==`function`)return;var o=[i,a];if(cj(o))return o}}function dj(e,t,n){if(!(!n&&t==null)){if(typeof e==`function`&&t!=null)try{var r=e(t,n);if(cj(r))return lj(r,t,n)}catch{}if(Array.isArray(e)&&e.length===2){var[i,a]=e,o,s;if(i===`auto`)t!=null&&(o=Math.min(...t));else if(X(i))o=i;else if(typeof i==`function`)try{t!=null&&(o=i(t?.[0]))}catch{}else if(typeof i==`string`&&sE.test(i)){var c=sE.exec(i);if(c==null||c[1]==null||t==null)o=void 0;else{var l=+c[1];o=t[0]-l}}else o=t?.[0];if(a===`auto`)t!=null&&(s=Math.max(...t));else if(X(a))s=a;else if(typeof a==`function`)try{t!=null&&(s=a(t?.[1]))}catch{}else if(typeof a==`string`&&cE.test(a)){var u=cE.exec(a);if(u==null||u[1]==null||t==null)s=void 0;else{var d=+u[1];s=t[1]+d}}else s=t?.[1];var f=[o,s];if(cj(f))return t==null?f:lj(f,t,n)}}}var fj=u(s(((e,t)=>{(function(e){var n=1e9,r={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:`2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286`},i=!0,a=`[DecimalError] `,o=a+`Invalid argument: `,s=a+`Exponent out of range: `,c=Math.floor,l=Math.pow,u=/^(\\d+(\\.\\d*)?|\\.\\d+)(e[+-]?\\d+)?$/i,d,f=1e7,p=7,m=9007199254740991,h=c(m/p),g={};g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&=1,e},g.comparedTo=g.cmp=function(e){var t,n,r,i,a=this;if(e=new a.constructor(e),a.s!==e.s)return a.s||-e.s;if(a.e!==e.e)return a.e>e.e^a.s<0?1:-1;for(r=a.d.length,i=e.d.length,t=0,n=r<i?r:i;t<n;++t)if(a.d[t]!==e.d[t])return a.d[t]>e.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*p;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(e){return b(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this,n=t.constructor;return D(b(t,new n(e),0,1),n.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return this.s===0},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,n=this,r=n.constructor,o=r.precision,s=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(d))throw Error(a+`NaN`);if(n.s<1)throw Error(a+(n.s?`NaN`:`-Infinity`));return n.eq(d)?new r(0):(i=!1,t=b(T(n,s),T(e,s),s),i=!0,D(t,o))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?O(t,e):_(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(a+`NaN`);return n.s?(i=!1,t=b(n,e,0,1).times(e),i=!0,n.minus(t)):D(new r(n),o)},g.naturalExponential=g.exp=function(){return x(this)},g.naturalLogarithm=g.ln=function(){return T(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_(t,e):O(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,i=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(o+e);if(t=S(i)+1,r=i.d.length-1,n=r*p+1,r=i.d[r],r){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,o,s,l,u=this,d=u.constructor;if(u.s<1){if(!u.s)return new d(0);throw Error(a+`NaN`)}for(e=S(u),i=!1,o=Math.sqrt(+u),o==0||o==1/0?(t=y(u.d),(t.length+e)%2==0&&(t+=`0`),o=Math.sqrt(t),e=c((e+1)/2)-(e<0||e%2),o==1/0?t=`5e`+e:(t=o.toExponential(),t=t.slice(0,t.indexOf(`e`)+1)+e),r=new d(t)):r=new d(o.toString()),n=d.precision,o=l=n+3;;)if(s=r,r=s.plus(b(u,s,l+2)).times(.5),y(s.d).slice(0,l)===(t=y(r.d)).slice(0,l)){if(t=t.slice(l-3,l+1),o==l&&t==`4999`){if(D(s,n+1,0),s.times(s).eq(u)){r=s;break}}else if(t!=`9999`)break;l+=4}return i=!0,D(r,n)},g.times=g.mul=function(e){var t,n,r,a,o,s,c,l,u,d=this,p=d.constructor,m=d.d,h=(e=new p(e)).d;if(!d.s||!e.s)return new p(0);for(e.s*=d.s,n=d.e+e.e,l=m.length,u=h.length,l<u&&(o=m,m=h,h=o,s=l,l=u,u=s),o=[],s=l+u,r=s;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,a=l+r;a>r;)c=o[a]+h[r]*m[a-r-1]+t,o[a--]=c%f|0,t=c/f|0;o[a]=(o[a]+t)%f|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=n,i?D(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,i=r.constructor;return r=new i(r),e===void 0?r:(v(e,0,n),t===void 0?t=i.rounding:v(t,0,8),D(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,i=this,a=i.constructor;return e===void 0?r=k(i,!0):(v(e,0,n),t===void 0?t=a.rounding:v(t,0,8),i=D(new a(i),e+1,t),r=k(i,!0,e+1)),r},g.toFixed=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?k(a):(v(e,0,n),t===void 0?t=o.rounding:v(t,0,8),i=D(new o(a),e+S(a)+1,t),r=k(i.abs(),!1,e+S(i)+1),a.isneg()&&!a.isZero()?`-`+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return D(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,n,r,o,s,l,u=this,f=u.constructor,h=12,g=+(e=new f(e));if(!e.s)return new f(d);if(u=new f(u),!u.s){if(e.s<1)throw Error(a+`Infinity`);return u}if(u.eq(d))return u;if(r=f.precision,e.eq(d))return D(u,r);if(t=e.e,n=e.d.length-1,l=t>=n,s=u.s,!l){if(s<0)throw Error(a+`NaN`)}else if((n=g<0?-g:g)<=m){for(o=new f(d),t=Math.ceil(r/p+4),i=!1;n%2&&(o=o.times(u),ee(o.d,t)),n=c(n/2),n!==0;)u=u.times(u),ee(u.d,t);return i=!0,e.s<0?new f(d).div(o):D(o,r)}return s=s<0&&e.d[Math.max(t,n)]&1?-1:1,u.s=1,i=!1,o=e.times(T(u,r+h)),i=!0,o=x(o),o.s=s,o},g.toPrecision=function(e,t){var r,i,a=this,o=a.constructor;return e===void 0?(r=S(a),i=k(a,r<=o.toExpNeg||r>=o.toExpPos)):(v(e,1,n),t===void 0?t=o.rounding:v(t,0,8),a=D(new o(a),e,t),r=S(a),i=k(a,e<=r||r<=o.toExpNeg,e)),i},g.toSignificantDigits=g.tosd=function(e,t){var r=this,i=r.constructor;return e===void 0?(e=i.precision,t=i.rounding):(v(e,1,n),t===void 0?t=i.rounding:v(t,0,8)),D(new i(r),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),n=e.constructor;return k(e,t<=n.toExpNeg||t>=n.toExpPos)};function _(e,t){var n,r,a,o,s,c,l,u,d=e.constructor,m=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),i?D(t,m):t;if(l=e.d,u=t.d,s=e.e,a=t.e,l=l.slice(),o=s-a,o){for(o<0?(r=l,o=-o,c=u.length):(r=u,a=s,c=l.length),s=Math.ceil(m/p),c=s>c?s+1:c+1,o>c&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for(c=l.length,o=u.length,c-o<0&&(o=c,r=u,u=l,l=r),n=0;o;)n=(l[--o]=l[o]+u[o]+n)/f|0,l[o]%=f;for(n&&(l.unshift(n),++a),c=l.length;l[--c]==0;)l.pop();return t.d=l,t.e=a,i?D(t,m):t}function v(e,t,n){if(e!==~~e||e<t||e>n)throw Error(o+e)}function y(e){var t,n,r,i=e.length-1,a=``,o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)r=e[t]+``,n=p-r.length,n&&(a+=w(n)),a+=r;o=e[t],r=o+``,n=p-r.length,n&&(a+=w(n))}else if(o===0)return`0`;for(;o%10==0;)o/=10;return a+o}var b=(function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%f|0,r=n/f|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=+(e[n]<t[n]),e[n]=r*f+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,o,s){var c,l,u,d,m,h,g,_,v,y,b,x,C,w,T,E,O,k,ee=r.constructor,te=r.s==i.s?1:-1,ne=r.d,A=i.d;if(!r.s)return new ee(r);if(!i.s)throw Error(a+`Division by zero`);for(l=r.e-i.e,O=A.length,T=ne.length,g=new ee(te),_=g.d=[],u=0;A[u]==(ne[u]||0);)++u;if(A[u]>(ne[u]||0)&&--l,x=o==null?o=ee.precision:s?o+(S(r)-S(i))+1:o,x<0)return new ee(0);if(x=x/p+2|0,u=0,O==1)for(d=0,A=A[0],x++;(u<T||d)&&x--;u++)C=d*f+(ne[u]||0),_[u]=C/A|0,d=C%A|0;else{for(d=f/(A[0]+1)|0,d>1&&(A=e(A,d),ne=e(ne,d),O=A.length,T=ne.length),w=O,v=ne.slice(0,O),y=v.length;y<O;)v[y++]=0;k=A.slice(),k.unshift(0),E=A[0],A[1]>=f/2&&++E;do d=0,c=t(A,v,O,y),c<0?(b=v[0],O!=y&&(b=b*f+(v[1]||0)),d=b/E|0,d>1?(d>=f&&(d=f-1),m=e(A,d),h=m.length,y=v.length,c=t(m,v,h,y),c==1&&(d--,n(m,O<h?k:A,h))):(d==0&&(c=d=1),m=A.slice()),h=m.length,h<y&&m.unshift(0),n(v,m,y),c==-1&&(y=v.length,c=t(A,v,O,y),c<1&&(d++,n(v,O<y?k:A,y))),y=v.length):c===0&&(d++,v=[0]),_[u++]=d,c&&v[0]?v[y++]=ne[w]||0:(v=[ne[w]],y=1);while((w++<T||v[0]!==void 0)&&x--)}return _[0]||_.shift(),g.e=l,D(g,s?o+S(g)+1:o)}})();function x(e,t){var n,r,a,o,c,u,f=0,p=0,m=e.constructor,h=m.precision;if(S(e)>16)throw Error(s+S(e));if(!e.s)return new m(d);for(t==null?(i=!1,u=h):u=t,c=new m(.03125);e.abs().gte(.1);)e=e.times(c),p+=5;for(r=Math.log(l(2,p))/Math.LN10*2+5|0,u+=r,n=a=o=new m(d),m.precision=u;;){if(a=D(a.times(e),u),n=n.times(++f),c=o.plus(b(a,n,u)),y(c.d).slice(0,u)===y(o.d).slice(0,u)){for(;p--;)o=D(o.times(o),u);return m.precision=h,t==null?(i=!0,D(o,h)):o}o=c}}function S(e){for(var t=e.e*p,n=e.d[0];n>=10;n/=10)t++;return t}function C(e,t,n){if(t>e.LN10.sd())throw i=!0,n&&(e.precision=n),Error(a+`LN10 precision limit exceeded`);return D(new e(e.LN10),t)}function w(e){for(var t=``;e--;)t+=`0`;return t}function T(e,t){var n,r,o,s,c,l,u,f,p,m=1,h=10,g=e,_=g.d,v=g.constructor,x=v.precision;if(g.s<1)throw Error(a+(g.s?`NaN`:`-Infinity`));if(g.eq(d))return new v(0);if(t==null?(i=!1,f=x):f=t,g.eq(10))return t??(i=!0),C(v,f);if(f+=h,v.precision=f,n=y(_),r=n.charAt(0),s=S(g),Math.abs(s)<0x5543df729c000){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)g=g.times(e),n=y(g.d),r=n.charAt(0),m++;s=S(g),r>1?(g=new v(`0.`+n),s++):g=new v(r+`.`+n.slice(1))}else return u=C(v,f+2,x).times(s+``),g=T(new v(r+`.`+n.slice(1)),f-h).plus(u),v.precision=x,t==null?(i=!0,D(g,x)):g;for(l=c=g=b(g.minus(d),g.plus(d),f),p=D(g.times(g),f),o=3;;){if(c=D(c.times(p),f),u=l.plus(b(c,new v(o),f)),y(u.d).slice(0,f)===y(l.d).slice(0,f))return l=l.times(2),s!==0&&(l=l.plus(C(v,f+2,x).times(s+``))),l=b(l,new v(m),f),v.precision=x,t==null?(i=!0,D(l,x)):l;l=u,o+=2}}function E(e,t){var n,r,a;for((n=t.indexOf(`.`))>-1&&(t=t.replace(`.`,``)),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(a=t.length;t.charCodeAt(a-1)===48;)--a;if(t=t.slice(r,a),t){if(a-=r,n=n-r-1,e.e=c(n/p),e.d=[],r=(n+1)%p,n<0&&(r+=p),r<a){for(r&&e.d.push(+t.slice(0,r)),a-=p;r<a;)e.d.push(+t.slice(r,r+=p));t=t.slice(r),r=p-t.length}else r-=a;for(;r--;)t+=`0`;if(e.d.push(+t),i&&(e.e>h||e.e<-h))throw Error(s+n)}else e.s=0,e.e=0,e.d=[0];return e}function D(e,t,n){var r,a,o,u,d,m,g,_,v=e.d;for(u=1,o=v[0];o>=10;o/=10)u++;if(r=t-u,r<0)r+=p,a=t,g=v[_=0];else{if(_=Math.ceil((r+1)/p),o=v.length,_>=o)return e;for(g=o=v[_],u=1;o>=10;o/=10)u++;r%=p,a=r-p+u}if(n!==void 0&&(o=l(10,u-a-1),d=g/o%10|0,m=t<0||v[_+1]!==void 0||g%o,m=n<4?(d||m)&&(n==0||n==(e.s<0?3:2)):d>5||d==5&&(n==4||m||n==6&&(r>0?a>0?g/l(10,u-a):0:v[_-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return m?(o=S(e),v.length=1,t=t-o-1,v[0]=l(10,(p-t%p)%p),e.e=c(-t/p)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(r==0?(v.length=_,o=1,_--):(v.length=_+1,o=l(10,p-r),v[_]=a>0?(g/l(10,u-a)%l(10,a)|0)*o:0),m)for(;;)if(_==0){(v[0]+=o)==f&&(v[0]=1,++e.e);break}else{if(v[_]+=o,v[_]!=f)break;v[_--]=0,o=1}for(r=v.length;v[--r]===0;)v.pop();if(i&&(e.e>h||e.e<-h))throw Error(s+S(e));return e}function O(e,t){var n,r,a,o,s,c,l,u,d,m,h=e.constructor,g=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),i?D(t,g):t;if(l=e.d,m=t.d,r=t.e,u=e.e,l=l.slice(),s=u-r,s){for(d=s<0,d?(n=l,s=-s,c=m.length):(n=m,r=u,c=l.length),a=Math.max(Math.ceil(g/p),c)+2,s>a&&(s=a,n.length=1),n.reverse(),a=s;a--;)n.push(0);n.reverse()}else{for(a=l.length,c=m.length,d=a<c,d&&(c=a),a=0;a<c;a++)if(l[a]!=m[a]){d=l[a]<m[a];break}s=0}for(d&&(n=l,l=m,m=n,t.s=-t.s),c=l.length,a=m.length-c;a>0;--a)l[c++]=0;for(a=m.length;a>s;){if(l[--a]<m[a]){for(o=a;o&&l[--o]===0;)l[o]=f-1;--l[o],l[a]+=f}l[a]-=m[a]}for(;l[--c]===0;)l.pop();for(;l[0]===0;l.shift())--r;return l[0]?(t.d=l,t.e=r,i?D(t,g):t):new h(0)}function k(e,t,n){var r,i=S(e),a=y(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+`.`+a.slice(1)+w(r):o>1&&(a=a.charAt(0)+`.`+a.slice(1)),a=a+(i<0?`e`:`e+`)+i):i<0?(a=`0.`+w(-i-1)+a,n&&(r=n-o)>0&&(a+=w(r))):i>=o?(a+=w(i+1-o),n&&(r=n-i-1)>0&&(a=a+`.`+w(r))):((r=i+1)<o&&(a=a.slice(0,r)+`.`+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+=`.`),a+=w(r))),e.s<0?`-`+a:a}function ee(e,t){if(e.length>t)return e.length=t,!0}function te(e){var t,n,r;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i){t.s=e.s,t.e=e.e,t.d=(e=e.d)?e.slice():e;return}if(typeof e==`number`){if(e*0!=0)throw Error(o+e);if(e>0)t.s=1;else if(e<0)e=-e,t.s=-1;else{t.s=0,t.e=0,t.d=[0];return}if(e===~~e&&e<1e7){t.e=0,t.d=[e];return}return E(t,e.toString())}else if(typeof e!=`string`)throw Error(o+e);if(e.charCodeAt(0)===45?(e=e.slice(1),t.s=-1):t.s=1,u.test(e))E(t,e);else throw Error(o+e)}if(i.prototype=g,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=te,i.config=i.set=ne,e===void 0&&(e={}),e)for(r=[`precision`,`rounding`,`toExpNeg`,`toExpPos`,`LN10`],t=0;t<r.length;)e.hasOwnProperty(n=r[t++])||(e[n]=this[n]);return i.config(e),i}function ne(e){if(!e||typeof e!=`object`)throw Error(a+`Object expected`);var t,r,i,s=[`precision`,1,n,`rounding`,0,8,`toExpNeg`,-1/0,0,`toExpPos`,0,1/0];for(t=0;t<s.length;t+=3)if((i=e[r=s[t]])!==void 0)if(c(i)===i&&i>=s[t+1]&&i<=s[t+2])this[r]=i;else throw Error(o+r+`: `+i);if((i=e[r=`LN10`])!==void 0)if(i==Math.LN10)this[r]=new this(i);else throw Error(o+r+`: `+i);return this}r=te(r),r.default=r.Decimal=r,d=new r(1),typeof define==`function`&&define.amd?define(function(){return r}):t!==void 0&&t.exports?t.exports=r:(e||=typeof self<`u`&&self&&self.self==self?self:Function(`return this`)(),e.Decimal=r)})(e)}))());function pj(e){return e===0?1:Math.floor(new fj.default(e).abs().log(10).toNumber())+1}function mj(e,t,n){for(var r=new fj.default(e),i=0,a=[];r.lt(t)&&i<1e5;)a.push(r.toNumber()),r=r.add(n),i++;return a}var hj=e=>{var[t,n]=e,[r,i]=[t,n];return t>n&&([r,i]=[n,t]),[r,i]},gj=(e,t,n)=>{if(e.lte(0))return new fj.default(0);var r=pj(e.toNumber()),i=new fj.default(10).pow(r),a=e.div(i),o=r===1?.1:.05,s=new fj.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);return t?new fj.default(s.toNumber()):new fj.default(Math.ceil(s.toNumber()))},_j=(e,t,n)=>{if(e.lte(0))return new fj.default(0);var r=[1,2,2.5,5],i=e.toNumber(),a=Math.floor(new fj.default(i).abs().log(10).toNumber()),o=new fj.default(10).pow(a),s=e.div(o).toNumber(),c=r.findIndex(e=>e>=s-1e-10);if(c===-1&&(o=o.mul(10),c=0),c+=n,c>=r.length){var l=Math.floor(c/r.length);c%=r.length,o=o.mul(new fj.default(10).pow(l))}var u=new fj.default(r[c]??1).mul(o);return t?u:new fj.default(Math.ceil(u.toNumber()))},vj=(e,t,n)=>{var r=new fj.default(1),i=new fj.default(e);if(!i.isint()&&n){var a=Math.abs(e);a<1?(r=new fj.default(10).pow(pj(e)-1),i=new fj.default(Math.floor(i.div(r).toNumber())).mul(r)):a>1&&(i=new fj.default(Math.floor(e)))}else e===0?i=new fj.default(Math.floor((t-1)/2)):n||(i=new fj.default(Math.floor(e)));for(var o=Math.floor((t-1)/2),s=[],c=0;c<t;c++)s.push(i.add(new fj.default(c-o).mul(r)).toNumber());return s},yj=function(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:gj;if(!Number.isFinite((t-e)/(n-1)))return{step:new fj.default(0),tickMin:new fj.default(0),tickMax:new fj.default(0)};var o=a(new fj.default(t).sub(e).div(n-1),r,i),s;e<=0&&t>=0?s=new fj.default(0):(s=new fj.default(e).add(t).div(2),s=s.sub(new fj.default(s).mod(o)));var c=Math.ceil(s.sub(e).div(o).toNumber()),l=Math.ceil(new fj.default(t).sub(s).div(o).toNumber()),u=c+l+1;return u>n?yj(e,t,n,r,i+1,a):(u<n&&(l=t>0?l+(n-u):l,c=t>0?c:c+(n-u)),{step:o,tickMin:s.sub(new fj.default(c).mul(o)),tickMax:s.add(new fj.default(l).mul(o))})},bj=function(e){var[t,n]=e,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,o=Math.max(r,2),[s,c]=hj([t,n]);if(s===-1/0||c===1/0){var l=c===1/0?[s,...Array(r-1).fill(1/0)]:[...Array(r-1).fill(-1/0),c];return t>n?l.reverse():l}if(s===c)return vj(s,r,i);var{step:u,tickMin:d,tickMax:f}=yj(s,c,o,i,0,a===`snap125`?_j:gj),p=mj(d,f.add(new fj.default(.1).mul(u)),u);return t>n?p.reverse():p},xj=function(e,t){var[n,r]=e,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:`auto`,[o,s]=hj([n,r]);if(o===-1/0||s===1/0)return[n,r];if(o===s)return[o];var c=a===`snap125`?_j:gj,l=Math.max(t,2),u=c(new fj.default(s).sub(o).div(l-1),i,0),d=[...mj(new fj.default(o),new fj.default(s),u),s];return i===!1&&(d=d.map(e=>Math.round(e))),n>r?d.reverse():d},Sj=e=>e.rootProps.maxBarSize,Cj=e=>e.rootProps.barGap,wj=e=>e.rootProps.barCategoryGap,Tj=e=>e.rootProps.barSize,Ej=e=>e.rootProps.stackOffset,Dj=e=>e.rootProps.reverseStackOrder,Oj=e=>e.options.chartName,kj=e=>e.rootProps.syncId,Aj=e=>e.rootProps.syncMethod,jj=e=>e.options.eventEmitter,Mj=e=>e.rootProps.baseValue,Nj={grid:-100,barBackground:-50,area:100,cursorRectangle:200,bar:300,line:400,axis:500,scatter:600,activeBar:1e3,cursorLine:1100,activeDot:1200,label:2e3},Pj={allowDecimals:!1,allowDuplicatedCategory:!0,allowDataOverflow:!1,angle:0,angleAxisId:0,axisLine:!0,axisLineType:`polygon`,cx:0,cy:0,hide:!1,includeHidden:!1,label:!1,niceTicks:`auto`,orientation:`outer`,reversed:!1,scale:`auto`,tick:!0,tickLine:!0,tickSize:8,type:`auto`,zIndex:Nj.axis},Fj={allowDataOverflow:!1,allowDecimals:!1,allowDuplicatedCategory:!0,angle:0,axisLine:!0,includeHidden:!1,hide:!1,niceTicks:`auto`,label:!1,orientation:`right`,radiusAxisId:0,reversed:!1,scale:`auto`,stroke:`#ccc`,tick:!0,tickCount:5,tickLine:!0,type:`auto`,zIndex:Nj.axis},Ij=(e,t)=>{if(!(!e||!t))return e!=null&&e.reversed?[t[1],t[0]]:t};function Lj(e,t,n){if(n!==`auto`)return n;if(e!=null)return JT(e,t)?`category`:`number`}function Rj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zj(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Rj(Object(n),!0).forEach(function(t){Bj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bj(e,t,n){return(t=Vj(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vj(e){var t=Hj(e,`string`);return typeof t==`symbol`?t:t+``}function Hj(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Uj={allowDataOverflow:Pj.allowDataOverflow,allowDecimals:Pj.allowDecimals,allowDuplicatedCategory:!1,dataKey:void 0,domain:void 0,id:Pj.angleAxisId,includeHidden:!1,name:void 0,reversed:Pj.reversed,scale:Pj.scale,tick:Pj.tick,tickCount:void 0,ticks:void 0,type:Pj.type,unit:void 0,niceTicks:`auto`},Wj={allowDataOverflow:Fj.allowDataOverflow,allowDecimals:Fj.allowDecimals,allowDuplicatedCategory:Fj.allowDuplicatedCategory,dataKey:void 0,domain:void 0,id:Fj.radiusAxisId,includeHidden:Fj.includeHidden,name:void 0,reversed:Fj.reversed,scale:Fj.scale,tick:Fj.tick,tickCount:Fj.tickCount,ticks:void 0,type:Fj.type,unit:void 0,niceTicks:`auto`},Gj=$([(e,t)=>{if(t!=null)return e.polarAxis.angleAxis[t]},JE],(e,t)=>{if(e!=null)return e;var n=Lj(t,`angleAxis`,Uj.type)??`category`;return zj(zj({},Uj),{},{type:n})}),Kj=$([(e,t)=>e.polarAxis.radiusAxis[t],JE],(e,t)=>{if(e!=null)return e;var n=Lj(t,`radiusAxis`,Wj.type)??`category`;return zj(zj({},Wj),{},{type:n})}),qj=e=>e.polarOptions,Jj=$([mE,hE,TE],OA),Yj=$([qj,Jj],(e,t)=>{if(e!=null)return hx(e.innerRadius,t,0)}),Xj=$([qj,Jj],(e,t)=>{if(e!=null)return hx(e.outerRadius,t,t*.8)}),Zj=$([qj],e=>{if(e==null)return[0,0];var{startAngle:t,endAngle:n}=e;return[t,n]}),Qj=$([Gj,Zj],Ij),$j=$([Jj,Yj,Xj],(e,t,n)=>{if(!(e==null||t==null||n==null))return[t,n]}),eM=$([Kj,$j],Ij),tM=$([GE,qj,Yj,Xj,mE,hE],(e,t,n,r,i,a)=>{if(!(e!==`centric`&&e!==`radial`||t==null||n==null||r==null)){var{cx:o,cy:s,startAngle:c,endAngle:l}=t;return{cx:hx(o,i,i/2),cy:hx(s,a,a/2),innerRadius:n,outerRadius:r,startAngle:c,endAngle:l,clockWise:!1}}}),nM=(e,t)=>t,rM=(e,t,n)=>n;function iM(e){return e?.id}function aM(e,t,n){var{chartData:r=[]}=t,{allowDuplicatedCategory:i,dataKey:a}=n,o=new Map;return e.forEach(e=>{var t=e.data??r;if(!(t==null||t.length===0)){var n=iM(e);t.forEach((t,r)=>{var s=a==null||i?r:String(KT(t,a,null)),c=KT(t,e.dataKey,0),l=o.has(s)?o.get(s):{};Object.assign(l,{[n]:c}),o.set(s,l)})}}),Array.from(o.values())}function oM(e){return`stackId`in e&&e.stackId!=null&&e.dataKey!=null}var sM=(e,t)=>e===t?!0:e==null||t==null?!1:e[0]===t[0]&&e[1]===t[1];function cM(e,t){return Array.isArray(e)&&Array.isArray(t)&&e.length===0&&t.length===0?!0:e===t}function lM(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return!1}var uM=e=>{var t=GE(e);return t===`horizontal`?`xAxis`:t===`vertical`?`yAxis`:t===`centric`?`angleAxis`:`radiusAxis`},dM=e=>e.tooltip.settings.axisId;function fM(e){if(e!=null){var t=e.ticks,n=e.bandwidth,r=e.range(),i=[Math.min(...r),Math.max(...r)];return{domain:()=>e.domain(),range:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(()=>i),rangeMin:()=>i[0],rangeMax:()=>i[1],isInRange(e){var t=i[0],n=i[1];return t<=n?e>=t&&e<=n:e>=n&&e<=t},bandwidth:n?()=>n.call(e):void 0,ticks:t?n=>t.call(e,n):void 0,map:(t,n)=>{var r=e(t);if(r!=null){if(e.bandwidth&&n!=null&&n.position){var i=e.bandwidth();switch(n.position){case`middle`:r+=i/2;break;case`end`:r+=i;break;default:break}}return r}}}}}var pM=(e,t)=>{if(t!=null)switch(e){case`linear`:if(!cj(t)){for(var n,r,i=0;i<t.length;i++){var a=t[i];zT(a)&&((n===void 0||a<n)&&(n=a),(r===void 0||a>r)&&(r=a))}return n!==void 0&&r!==void 0?[n,r]:void 0}return t;default:return t}};function mM(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function hM(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function gM(e){let t,n,r;e.length===2?(t=e===mM||e===hM?e:_M,n=e,r=e):(t=mM,n=(t,n)=>mM(e(t),n),r=(t,n)=>e(t)-n);function i(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<0?i=t+1:a=t}while(i<a)}return i}function a(e,r,i=0,a=e.length){if(i<a){if(t(r,r)!==0)return a;do{let t=i+a>>>1;n(e[t],r)<=0?i=t+1:a=t}while(i<a)}return i}function o(e,t,n=0,a=e.length){let o=i(e,t,n,a-1);return o>n&&r(e[o-1],t)>-r(e[o],t)?o-1:o}return{left:i,center:o,right:a}}function _M(){return 0}function vM(e){return e===null?NaN:+e}function*yM(e,t){if(t===void 0)for(let t of e)t!=null&&(t=+t)>=t&&(yield t);else{let n=-1;for(let r of e)(r=t(r,++n,e))!=null&&(r=+r)>=r&&(yield r)}}var bM=gM(mM),xM=bM.right;bM.left,gM(vM).center;function SM(e,t){let n,r;if(t===void 0)for(let t of e)t!=null&&(n===void 0?t>=t&&(n=r=t):(n>t&&(n=t),r<t&&(r=t)));else{let i=-1;for(let a of e)(a=t(a,++i,e))!=null&&(n===void 0?a>=a&&(n=r=a):(n>a&&(n=a),r<a&&(r=a)))}return[n,r]}var CM=class extends Map{constructor(e,t=DM){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(wM(this,e))}has(e){return super.has(wM(this,e))}set(e,t){return super.set(TM(this,e),t)}delete(e){return super.delete(EM(this,e))}};function wM({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function TM({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function EM({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function DM(e){return typeof e==`object`&&e?e.valueOf():e}function OM(e=mM){if(e===mM)return kM;if(typeof e!=`function`)throw TypeError(`compare is not a function`);return(t,n)=>{let r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function kM(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(e<t?-1:+(e>t))}var AM=Math.sqrt(50),jM=Math.sqrt(10),MM=Math.sqrt(2);function NM(e,t,n){let r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),a=r/10**i,o=a>=AM?10:a>=jM?5:a>=MM?2:1,s,c,l;return i<0?(l=10**-i/o,s=Math.round(e*l),c=Math.round(t*l),s/l<e&&++s,c/l>t&&--c,l=-l):(l=10**i*o,s=Math.round(e/l),c=Math.round(t/l),s*l<e&&++s,c*l>t&&--c),c<s&&.5<=n&&n<2?NM(e,t,n*2):[s,c,l]}function PM(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];let r=t<e,[i,a,o]=r?NM(t,e,n):NM(e,t,n);if(!(a>=i))return[];let s=a-i+1,c=Array(s);if(r)if(o<0)for(let e=0;e<s;++e)c[e]=(a-e)/-o;else for(let e=0;e<s;++e)c[e]=(a-e)*o;else if(o<0)for(let e=0;e<s;++e)c[e]=(i+e)/-o;else for(let e=0;e<s;++e)c[e]=(i+e)*o;return c}function FM(e,t,n){return t=+t,e=+e,n=+n,NM(e,t,n)[2]}function IM(e,t,n){t=+t,e=+e,n=+n;let r=t<e,i=r?FM(t,e,n):FM(e,t,n);return(r?-1:1)*(i<0?1/-i:i)}function LM(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function RM(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function zM(e,t,n=0,r=1/0,i){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(i=i===void 0?kM:OM(i);r>n;){if(r-n>600){let a=r-n+1,o=t-n+1,s=Math.log(a),c=.5*Math.exp(2*s/3),l=.5*Math.sqrt(s*c*(a-c)/a)*(o-a/2<0?-1:1),u=Math.max(n,Math.floor(t-o*c/a+l)),d=Math.min(r,Math.floor(t+(a-o)*c/a+l));zM(e,t,u,d,i)}let a=e[t],o=n,s=r;for(BM(e,n,t),i(e[r],a)>0&&BM(e,n,r);o<s;){for(BM(e,o,s),++o,--s;i(e[o],a)<0;)++o;for(;i(e[s],a)>0;)--s}i(e[n],a)===0?BM(e,n,s):(++s,BM(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function BM(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function VM(e,t,n){if(e=Float64Array.from(yM(e,n)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return RM(e);if(t>=1)return LM(e);var r,i=(r-1)*t,a=Math.floor(i),o=LM(zM(e,a).subarray(0,a+1));return o+(RM(e.subarray(a+1))-o)*(i-a)}}function HM(e,t,n=vM){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,i=(r-1)*t,a=Math.floor(i),o=+n(e[a],a,e);return o+(+n(e[a+1],a+1,e)-o)*(i-a)}}function UM(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function WM(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function GM(e,t){switch(arguments.length){case 0:break;case 1:typeof e==`function`?this.interpolator(e):this.range(e);break;default:this.domain(e),typeof t==`function`?this.interpolator(t):this.range(t);break}return this}var KM=Symbol(`implicit`);function qM(){var e=new CM,t=[],n=[],r=KM;function i(i){let a=e.get(i);if(a===void 0){if(r!==KM)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new CM;for(let r of n)e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return qM(t,n).unknown(r)},WM.apply(i,arguments),i}function JM(){var e=qM().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=UM(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return JM(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},WM.apply(d(),arguments)}function YM(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return YM(t())},e}function XM(){return YM(JM.apply(null,arguments).paddingInner(1))}function ZM(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function QM(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function $M(){}var eN=.7,tN=1/eN,nN=`\\\\s*([+-]?\\\\d+)\\\\s*`,rN=`\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*`,iN=`\\\\s*([+-]?(?:\\\\d*\\\\.)?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*`,aN=/^#([0-9a-f]{3,8})$/,oN=RegExp(`^rgb\\\\(${nN},${nN},${nN}\\\\)$`),sN=RegExp(`^rgb\\\\(${iN},${iN},${iN}\\\\)$`),cN=RegExp(`^rgba\\\\(${nN},${nN},${nN},${rN}\\\\)$`),lN=RegExp(`^rgba\\\\(${iN},${iN},${iN},${rN}\\\\)$`),uN=RegExp(`^hsl\\\\(${rN},${iN},${iN}\\\\)$`),dN=RegExp(`^hsla\\\\(${rN},${iN},${iN},${rN}\\\\)$`),fN={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};ZM($M,_N,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:pN,formatHex:pN,formatHex8:mN,formatHsl:hN,formatRgb:gN,toString:gN});function pN(){return this.rgb().formatHex()}function mN(){return this.rgb().formatHex8()}function hN(){return AN(this).formatHsl()}function gN(){return this.rgb().formatRgb()}function _N(e){var t,n;return e=(e+``).trim().toLowerCase(),(t=aN.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?vN(t):n===3?new SN(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?yN(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?yN(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=oN.exec(e))?new SN(t[1],t[2],t[3],1):(t=sN.exec(e))?new SN(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=cN.exec(e))?yN(t[1],t[2],t[3],t[4]):(t=lN.exec(e))?yN(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=uN.exec(e))?kN(t[1],t[2]/100,t[3]/100,1):(t=dN.exec(e))?kN(t[1],t[2]/100,t[3]/100,t[4]):fN.hasOwnProperty(e)?vN(fN[e]):e===`transparent`?new SN(NaN,NaN,NaN,0):null}function vN(e){return new SN(e>>16&255,e>>8&255,e&255,1)}function yN(e,t,n,r){return r<=0&&(e=t=n=NaN),new SN(e,t,n,r)}function bN(e){return e instanceof $M||(e=_N(e)),e?(e=e.rgb(),new SN(e.r,e.g,e.b,e.opacity)):new SN}function xN(e,t,n,r){return arguments.length===1?bN(e):new SN(e,t,n,r??1)}function SN(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}ZM(SN,xN,QM($M,{brighter(e){return e=e==null?tN:tN**+e,new SN(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?eN:eN**+e,new SN(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new SN(DN(this.r),DN(this.g),DN(this.b),EN(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:CN,formatHex:CN,formatHex8:wN,formatRgb:TN,toString:TN}));function CN(){return`#${ON(this.r)}${ON(this.g)}${ON(this.b)}`}function wN(){return`#${ON(this.r)}${ON(this.g)}${ON(this.b)}${ON((isNaN(this.opacity)?1:this.opacity)*255)}`}function TN(){let e=EN(this.opacity);return`${e===1?`rgb(`:`rgba(`}${DN(this.r)}, ${DN(this.g)}, ${DN(this.b)}${e===1?`)`:`, ${e})`}`}function EN(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function DN(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ON(e){return e=DN(e),(e<16?`0`:``)+e.toString(16)}function kN(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new MN(e,t,n,r)}function AN(e){if(e instanceof MN)return new MN(e.h,e.s,e.l,e.opacity);if(e instanceof $M||(e=_N(e)),!e)return new MN;if(e instanceof MN)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,s=a-i,c=(a+i)/2;return s?(o=t===a?(n-r)/s+(n<r)*6:n===a?(r-t)/s+2:(t-n)/s+4,s/=c<.5?a+i:2-a-i,o*=60):s=c>0&&c<1?0:o,new MN(o,s,c,e.opacity)}function jN(e,t,n,r){return arguments.length===1?AN(e):new MN(e,t,n,r??1)}function MN(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}ZM(MN,jN,QM($M,{brighter(e){return e=e==null?tN:tN**+e,new MN(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?eN:eN**+e,new MN(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new SN(FN(e>=240?e-240:e+120,i,r),FN(e,i,r),FN(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new MN(NN(this.h),PN(this.s),PN(this.l),EN(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=EN(this.opacity);return`${e===1?`hsl(`:`hsla(`}${NN(this.h)}, ${PN(this.s)*100}%, ${PN(this.l)*100}%${e===1?`)`:`, ${e})`}`}}));function NN(e){return e=(e||0)%360,e<0?e+360:e}function PN(e){return Math.max(0,Math.min(1,e||0))}function FN(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}var IN=e=>()=>e;function LN(e,t){return function(n){return e+n*t}}function RN(e,t,n){return e**=+n,t=t**+n-e,n=1/n,function(r){return(e+r*t)**+n}}function zN(e){return(e=+e)==1?BN:function(t,n){return n-t?RN(t,n,e):IN(isNaN(t)?n:t)}}function BN(e,t){var n=t-e;return n?LN(e,n):IN(isNaN(e)?t:e)}var VN=(function e(t){var n=zN(t);function r(e,t){var r=n((e=xN(e)).r,(t=xN(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=BN(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+``}}return r.gamma=e,r})(1);function HN(e,t){t||=[];var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(a){for(i=0;i<n;++i)r[i]=e[i]*(1-a)+t[i]*a;return r}}function UN(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function WN(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,i=Array(r),a=Array(n),o;for(o=0;o<r;++o)i[o]=$N(e[o],t[o]);for(;o<n;++o)a[o]=t[o];return function(e){for(o=0;o<r;++o)a[o]=i[o](e);return a}}function GN(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function KN(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function qN(e,t){var n={},r={},i;for(i in(typeof e!=`object`||!e)&&(e={}),(typeof t!=`object`||!t)&&(t={}),t)i in e?n[i]=$N(e[i],t[i]):r[i]=t[i];return function(e){for(i in n)r[i]=n[i](e);return r}}var JN=/[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,YN=new RegExp(JN.source,`g`);function XN(e){return function(){return e}}function ZN(e){return function(t){return e(t)+``}}function QN(e,t){var n=JN.lastIndex=YN.lastIndex=0,r,i,a,o=-1,s=[],c=[];for(e+=``,t+=``;(r=JN.exec(e))&&(i=YN.exec(t));)(a=i.index)>n&&(a=t.slice(n,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:KN(r,i)})),n=YN.lastIndex;return n<t.length&&(a=t.slice(n),s[o]?s[o]+=a:s[++o]=a),s.length<2?c[0]?ZN(c[0].x):XN(t):(t=c.length,function(e){for(var n=0,r;n<t;++n)s[(r=c[n]).i]=r.x(e);return s.join(``)})}function $N(e,t){var n=typeof t,r;return t==null||n===`boolean`?IN(t):(n===`number`?KN:n===`string`?(r=_N(t))?(t=r,VN):QN:t instanceof _N?VN:t instanceof Date?GN:UN(t)?HN:Array.isArray(t)?WN:typeof t.valueOf!=`function`&&typeof t.toString!=`function`||isNaN(t)?qN:KN)(e,t)}function eP(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var tP=180/Math.PI,nP={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function rP(e,t,n,r,i,a){var o,s,c;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(c=e*n+t*r)&&(n-=e*c,r-=t*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),e*r<t*n&&(e=-e,t=-t,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*tP,skewX:Math.atan(c)*tP,scaleX:o,scaleY:s}}var iP;function aP(e){let t=new(typeof DOMMatrix==`function`?DOMMatrix:WebKitCSSMatrix)(e+``);return t.isIdentity?nP:rP(t.a,t.b,t.c,t.d,t.e,t.f)}function oP(e){return e==null||(iP||=document.createElementNS(`http://www.w3.org/2000/svg`,`g`),iP.setAttribute(`transform`,e),!(e=iP.transform.baseVal.consolidate()))?nP:(e=e.matrix,rP(e.a,e.b,e.c,e.d,e.e,e.f))}function sP(e,t,n,r){function i(e){return e.length?e.pop()+` `:``}function a(e,r,i,a,o,s){if(e!==i||r!==a){var c=o.push(`translate(`,null,t,null,n);s.push({i:c-4,x:KN(e,i)},{i:c-2,x:KN(r,a)})}else (i||a)&&o.push(`translate(`+i+t+a+n)}function o(e,t,n,a){e===t?t&&n.push(i(n)+`rotate(`+t+r):(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+`rotate(`,null,r)-2,x:KN(e,t)}))}function s(e,t,n,a){e===t?t&&n.push(i(n)+`skewX(`+t+r):a.push({i:n.push(i(n)+`skewX(`,null,r)-2,x:KN(e,t)})}function c(e,t,n,r,a,o){if(e!==n||t!==r){var s=a.push(i(a)+`scale(`,null,`,`,null,`)`);o.push({i:s-4,x:KN(e,n)},{i:s-2,x:KN(t,r)})}else (n!==1||r!==1)&&a.push(i(a)+`scale(`+n+`,`+r+`)`)}return function(t,n){var r=[],i=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,i),o(t.rotate,n.rotate,r,i),s(t.skewX,n.skewX,r,i),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,i),t=n=null,function(e){for(var t=-1,n=i.length,a;++t<n;)r[(a=i[t]).i]=a.x(e);return r.join(``)}}}var cP=sP(aP,`px, `,`px)`,`deg)`),lP=sP(oP,`, `,`)`,`)`);function uP(e,t){t===void 0&&(t=e,e=$N);for(var n=0,r=t.length-1,i=t[0],a=Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return a[t](e-t)}}function dP(e){return function(){return e}}function fP(e){return+e}var pP=[0,1];function mP(e){return e}function hP(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:dP(isNaN(t)?NaN:.5)}function gP(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}function _P(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=hP(i,r),a=n(o,a)):(r=hP(r,i),a=n(a,o)),function(e){return a(r(e))}}function vP(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=hP(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=xM(e,t,1,r)-1;return a[n](i[n](t))}}function yP(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function bP(){var e=pP,t=pP,n=$N,r,i,a,o=mP,s,c,l;function u(){var n=Math.min(e.length,t.length);return o!==mP&&(o=gP(e[0],e[n-1])),s=n>2?vP:_P,c=l=null,d}function d(i){return i==null||isNaN(i=+i)?a:(c||=s(e.map(r),t,n))(r(o(i)))}return d.invert=function(n){return o(i((l||=s(t,e.map(r),KN))(n)))},d.domain=function(t){return arguments.length?(e=Array.from(t,fP),u()):e.slice()},d.range=function(e){return arguments.length?(t=Array.from(e),u()):t.slice()},d.rangeRound=function(e){return t=Array.from(e),n=eP,u()},d.clamp=function(e){return arguments.length?(o=e?!0:mP,u()):o!==mP},d.interpolate=function(e){return arguments.length?(n=e,u()):n},d.unknown=function(e){return arguments.length?(a=e,d):a},function(e,t){return r=e,i=t,u()}}function xP(){return bP()(mP,mP)}function SP(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function CP(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function wP(e){return e=CP(Math.abs(e)),e?e[1]:NaN}function TP(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function EP(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var DP=/^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;function OP(e){if(!(t=DP.exec(e)))throw Error(`invalid format: `+e);var t;return new kP({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}OP.prototype=kP.prototype;function kP(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}kP.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function AP(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var jP;function MP(e,t){var n=CP(e,t);if(!n)return e+``;var r=n[0],i=n[1],a=i-(jP=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=r.length;return a===o?r:a>o?r+Array(a-o+1).join(`0`):a>0?r.slice(0,a)+`.`+r.slice(a):`0.`+Array(1-a).join(`0`)+CP(e,Math.max(0,t+a-1))[0]}function NP(e,t){var n=CP(e,t);if(!n)return e+``;var r=n[0],i=n[1];return i<0?`0.`+Array(-i).join(`0`)+r:r.length>i+1?r.slice(0,i+1)+`.`+r.slice(i+1):r+Array(i-r.length+2).join(`0`)}var PP={\"%\":function(e,t){return(e*100).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+``},d:SP,e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return NP(e*100,t)},r:NP,s:MP,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function FP(e){return e}var IP=Array.prototype.map,LP=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function RP(e){var t=e.grouping===void 0||e.thousands===void 0?FP:TP(IP.call(e.grouping,Number),e.thousands+``),n=e.currency===void 0?``:e.currency[0]+``,r=e.currency===void 0?``:e.currency[1]+``,i=e.decimal===void 0?`.`:e.decimal+``,a=e.numerals===void 0?FP:EP(IP.call(e.numerals,String)),o=e.percent===void 0?`%`:e.percent+``,s=e.minus===void 0?`-`:e.minus+``,c=e.nan===void 0?`NaN`:e.nan+``;function l(e){e=OP(e);var l=e.fill,u=e.align,d=e.sign,f=e.symbol,p=e.zero,m=e.width,h=e.comma,g=e.precision,_=e.trim,v=e.type;v===`n`?(h=!0,v=`g`):PP[v]||(g===void 0&&(g=12),_=!0,v=`g`),(p||l===`0`&&u===`=`)&&(p=!0,l=`0`,u=`=`);var y=f===`$`?n:f===`#`&&/[boxX]/.test(v)?`0`+v.toLowerCase():``,b=f===`$`?r:/[%p]/.test(v)?o:``,x=PP[v],S=/[defgprs%]/.test(v);g=g===void 0?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g));function C(e){var n=y,r=b,o,f,C;if(v===`c`)r=x(e)+r,e=``;else{e=+e;var w=e<0||1/e<0;if(e=isNaN(e)?c:x(Math.abs(e),g),_&&(e=AP(e)),w&&+e==0&&d!==`+`&&(w=!1),n=(w?d===`(`?d:s:d===`-`||d===`(`?``:d)+n,r=(v===`s`?LP[8+jP/3]:``)+r+(w&&d===`(`?`)`:``),S){for(o=-1,f=e.length;++o<f;)if(C=e.charCodeAt(o),48>C||C>57){r=(C===46?i+e.slice(o+1):e.slice(o))+r,e=e.slice(0,o);break}}}h&&!p&&(e=t(e,1/0));var T=n.length+e.length+r.length,E=T<m?Array(m-T+1).join(l):``;switch(h&&p&&(e=t(E+e,E.length?m-r.length:1/0),E=``),u){case`<`:e=n+e+r+E;break;case`=`:e=n+E+e+r;break;case`^`:e=E.slice(0,T=E.length>>1)+n+e+r+E.slice(T);break;default:e=E+n+e+r;break}return a(e)}return C.toString=function(){return e+``},C}function u(e,t){var n=l((e=OP(e),e.type=`f`,e)),r=Math.max(-8,Math.min(8,Math.floor(wP(t)/3)))*3,i=10**-r,a=LP[8+r/3];return function(e){return n(i*e)+a}}return{format:l,formatPrefix:u}}var zP,BP,VP;HP({decimal:`.`,thousands:`,`,grouping:[3],currency:[`$`,``],minus:`-`});function HP(e){return zP=RP(e),BP=zP.format,VP=zP.formatPrefix,zP}function UP(e){return Math.max(0,-wP(Math.abs(e)))}function WP(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(wP(t)/3)))*3-wP(Math.abs(e)))}function GP(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,wP(t)-wP(e))+1}function KP(e,t,n,r){var i=IM(e,t,n),a;switch(r=OP(r??`,f`),r.type){case`s`:var o=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=WP(i,o))&&(r.precision=a),VP(r,o);case``:case`e`:case`g`:case`p`:case`r`:r.precision==null&&!isNaN(a=GP(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type===`e`));break;case`f`:case`%`:r.precision==null&&!isNaN(a=UP(i))&&(r.precision=a-(r.type===`%`)*2);break}return BP(r)}function qP(e){var t=e.domain;return e.ticks=function(e){var n=t();return PM(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return KP(r[0],r[r.length-1],e??10,n)},e.nice=function(n){n??=10;var r=t(),i=0,a=r.length-1,o=r[i],s=r[a],c,l,u=10;for(s<o&&(l=o,o=s,s=l,l=i,i=a,a=l);u-- >0;){if(l=FM(o,s,n),l===c)return r[i]=o,r[a]=s,t(r);if(l>0)o=Math.floor(o/l)*l,s=Math.ceil(s/l)*l;else if(l<0)o=Math.ceil(o*l)/l,s=Math.floor(s*l)/l;else break;c=l}return e},e}function JP(){var e=xP();return e.copy=function(){return yP(e,JP())},WM.apply(e,arguments),qP(e)}function YP(e){var t;function n(e){return e==null||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,fP),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return YP(e).unknown(t)},e=arguments.length?Array.from(e,fP):[0,1],qP(n)}function XP(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}function ZP(e){return Math.log(e)}function QP(e){return Math.exp(e)}function $P(e){return-Math.log(-e)}function eF(e){return-Math.exp(-e)}function tF(e){return isFinite(e)?+(`1e`+e):e<0?0:e}function nF(e){return e===10?tF:e===Math.E?Math.exp:t=>e**+t}function rF(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function iF(e){return(t,n)=>-e(-t,n)}function aF(e){let t=e(ZP,QP),n=t.domain,r=10,i,a;function o(){return i=rF(r),a=nF(r),n()[0]<0?(i=iF(i),a=iF(a),e($P,eF)):e(ZP,QP),t}return t.base=function(e){return arguments.length?(r=+e,o()):r},t.domain=function(e){return arguments.length?(n(e),o()):n()},t.ticks=e=>{let t=n(),o=t[0],s=t[t.length-1],c=s<o;c&&([o,s]=[s,o]);let l=i(o),u=i(s),d,f,p=e==null?10:+e,m=[];if(!(r%1)&&u-l<p){if(l=Math.floor(l),u=Math.ceil(u),o>0){for(;l<=u;++l)for(d=1;d<r;++d)if(f=l<0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}}else for(;l<=u;++l)for(d=r-1;d>=1;--d)if(f=l>0?d/a(-l):d*a(l),!(f<o)){if(f>s)break;m.push(f)}m.length*2<p&&(m=PM(o,s,p))}else m=PM(l,u,Math.min(u-l,p)).map(a);return c?m.reverse():m},t.tickFormat=(e,n)=>{if(e??=10,n??=r===10?`s`:`,`,typeof n!=`function`&&(!(r%1)&&(n=OP(n)).precision==null&&(n.trim=!0),n=BP(n)),e===1/0)return n;let o=Math.max(1,r*e/t.ticks().length);return e=>{let t=e/a(Math.round(i(e)));return t*r<r-.5&&(t*=r),t<=o?n(e):``}},t.nice=()=>n(XP(n(),{floor:e=>a(Math.floor(i(e))),ceil:e=>a(Math.ceil(i(e)))})),t}function oF(){let e=aF(bP()).domain([1,10]);return e.copy=()=>yP(e,oF()).base(e.base()),WM.apply(e,arguments),e}function sF(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function cF(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function lF(e){var t=1,n=e(sF(t),cF(t));return n.constant=function(n){return arguments.length?e(sF(t=+n),cF(t)):t},qP(n)}function uF(){var e=lF(bP());return e.copy=function(){return yP(e,uF()).constant(e.constant())},WM.apply(e,arguments)}function dF(e){return function(t){return t<0?-((-t)**+e):t**+e}}function fF(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function pF(e){return e<0?-e*e:e*e}function mF(e){var t=e(mP,mP),n=1;function r(){return n===1?e(mP,mP):n===.5?e(fF,pF):e(dF(n),dF(1/n))}return t.exponent=function(e){return arguments.length?(n=+e,r()):n},qP(t)}function hF(){var e=mF(bP());return e.copy=function(){return yP(e,hF()).exponent(e.exponent())},WM.apply(e,arguments),e}function gF(){return hF.apply(null,arguments).exponent(.5)}function _F(e){return Math.sign(e)*e*e}function vF(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function yF(){var e=xP(),t=[0,1],n=!1,r;function i(t){var i=vF(e(t));return isNaN(i)?r:n?Math.round(i):i}return i.invert=function(t){return e.invert(_F(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(n){return arguments.length?(e.range((t=Array.from(n,fP)).map(_F)),i):t.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return yF(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},WM.apply(i,arguments),qP(i)}function bF(){var e=[],t=[],n=[],r;function i(){var r=0,i=Math.max(1,t.length);for(n=Array(i-1);++r<i;)n[r-1]=HM(e,r/i);return a}function a(e){return e==null||isNaN(e=+e)?r:t[xM(n,e)]}return a.invertExtent=function(r){var i=t.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:e[0],i<n.length?n[i]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(mM),i()},a.range=function(e){return arguments.length?(t=Array.from(e),i()):t.slice()},a.unknown=function(e){return arguments.length?(r=e,a):r},a.quantiles=function(){return n.slice()},a.copy=function(){return bF().domain(e).range(t).unknown(r)},WM.apply(a,arguments)}function xF(){var e=0,t=1,n=1,r=[.5],i=[0,1],a;function o(e){return e!=null&&e<=e?i[xM(r,e,0,n)]:a}function s(){var i=-1;for(r=Array(n);++i<n;)r[i]=((i+1)*t-(i-n)*e)/(n+1);return o}return o.domain=function(n){return arguments.length?([e,t]=n,e=+e,t=+t,s()):[e,t]},o.range=function(e){return arguments.length?(n=(i=Array.from(e)).length-1,s()):i.slice()},o.invertExtent=function(a){var o=i.indexOf(a);return o<0?[NaN,NaN]:o<1?[e,r[0]]:o>=n?[r[n-1],t]:[r[o-1],r[o]]},o.unknown=function(e){return arguments.length&&(a=e),o},o.thresholds=function(){return r.slice()},o.copy=function(){return xF().domain([e,t]).range(i).unknown(a)},WM.apply(qP(o),arguments)}function SF(){var e=[.5],t=[0,1],n,r=1;function i(i){return i!=null&&i<=i?t[xM(e,i,0,r)]:n}return i.domain=function(n){return arguments.length?(e=Array.from(n),r=Math.min(e.length,t.length-1),i):e.slice()},i.range=function(n){return arguments.length?(t=Array.from(n),r=Math.min(e.length,t.length-1),i):t.slice()},i.invertExtent=function(n){var r=t.indexOf(n);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return SF().domain(e).range(t).unknown(n)},WM.apply(i,arguments)}var CF=new Date,wF=new Date;function TF(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),n==null?1:Math.floor(n)),e),i.range=(n,r,a)=>{let o=[];if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;let s;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>TF(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(CF.setTime(+t),wF.setTime(+r),e(CF),e(wF),Math.floor(n(CF,wF))),i.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?t=>r(t)%e===0:t=>i.count(0,t)%e===0):i)),i}var EF=TF(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);EF.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?TF(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):EF),EF.range;var DF=1e3,OF=DF*60,kF=OF*60,AF=kF*24,jF=AF*7,MF=AF*30,NF=AF*365,PF=TF(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*DF)},(e,t)=>(t-e)/DF,e=>e.getUTCSeconds());PF.range;var FF=TF(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*DF)},(e,t)=>{e.setTime(+e+t*OF)},(e,t)=>(t-e)/OF,e=>e.getMinutes());FF.range;var IF=TF(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*OF)},(e,t)=>(t-e)/OF,e=>e.getUTCMinutes());IF.range;var LF=TF(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*DF-e.getMinutes()*OF)},(e,t)=>{e.setTime(+e+t*kF)},(e,t)=>(t-e)/kF,e=>e.getHours());LF.range;var RF=TF(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*kF)},(e,t)=>(t-e)/kF,e=>e.getUTCHours());RF.range;var zF=TF(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*OF)/AF,e=>e.getDate()-1);zF.range;var BF=TF(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/AF,e=>e.getUTCDate()-1);BF.range;var VF=TF(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/AF,e=>Math.floor(e/AF));VF.range;function HF(e){return TF(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+t*7)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*OF)/jF)}var UF=HF(0),WF=HF(1),GF=HF(2),KF=HF(3),qF=HF(4),JF=HF(5),Ane=HF(6);UF.range,WF.range,GF.range,KF.range,qF.range,JF.range,Ane.range;function YF(e){return TF(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t*7)},(e,t)=>(t-e)/jF)}var XF=YF(0),jne=YF(1),Mne=YF(2),Nne=YF(3),Pne=YF(4),Fne=YF(5),Ine=YF(6);XF.range,jne.range,Mne.range,Nne.range,Pne.range,Fne.range,Ine.range;var ZF=TF(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ZF.range;var QF=TF(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());QF.range;var $F=TF(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());$F.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:TF(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}),$F.range;var eI=TF(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());eI.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:TF(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}),eI.range;function tI(e,t,n,r,i,a){let o=[[PF,1,DF],[PF,5,5*DF],[PF,15,15*DF],[PF,30,30*DF],[a,1,OF],[a,5,5*OF],[a,15,15*OF],[a,30,30*OF],[i,1,kF],[i,3,3*kF],[i,6,6*kF],[i,12,12*kF],[r,1,AF],[r,2,2*AF],[n,1,jF],[t,1,MF],[t,3,3*MF],[e,1,NF]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:c(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function c(t,n,r){let i=Math.abs(n-t)/r,a=gM(([,,e])=>e).right(o,i);if(a===o.length)return e.every(IM(t/NF,n/NF,r));if(a===0)return EF.every(Math.max(IM(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,c]}var[Lne,Rne]=tI(eI,QF,XF,VF,RF,IF),[zne,Bne]=tI($F,ZF,UF,zF,LF,FF),nI=new Date,rI=new Date;function iI(e,t,n,r){function i(t){return e(t=arguments.length===0?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),n==null?1:Math.floor(n)),e},i.range=function(n,r,a){var o=[],s;if(n=i.ceil(n),a=a==null?1:Math.floor(a),!(n<r)||!(a>0))return o;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=function(n){return iI(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(i.count=function(t,r){return nI.setTime(+t),rI.setTime(+r),e(nI),e(rI),Math.floor(n(nI,rI))},i.every=function(e){return e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?i.filter(r?function(t){return r(t)%e===0}:function(t){return i.count(0,t)%e===0}):i}),i}var aI=6e4,oI=864e5,sI=6048e5,cI=iI(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*aI)/oI},function(e){return e.getDate()-1});cI.range;function lI(e){return iI(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t*7)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*aI)/sI})}var uI=lI(0),dI=lI(1),Vne=lI(2),Hne=lI(3),fI=lI(4),Une=lI(5),Wne=lI(6);uI.range,dI.range,Vne.range,Hne.range,fI.range,Une.range,Wne.range;var pI=iI(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});pI.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:iI(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)})},pI.range;var mI=iI(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/oI},function(e){return e.getUTCDate()-1});mI.range;function hI(e){return iI(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t*7)},function(e,t){return(t-e)/sI})}var gI=hI(0),_I=hI(1),Gne=hI(2),Kne=hI(3),vI=hI(4),qne=hI(5),Jne=hI(6);gI.range,_I.range,Gne.range,Kne.range,vI.range,qne.range,Jne.range;var yI=iI(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});yI.every=function(e){return!isFinite(e=Math.floor(e))||!(e>0)?null:iI(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})},yI.range;function bI(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function xI(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function SI(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function Yne(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=EI(i),u=DI(i),d=EI(a),f=DI(a),p=EI(o),m=DI(o),h=EI(s),g=DI(s),_=EI(c),v=DI(c),y={a:A,A:re,b:j,B:ie,c:null,d:MI,e:MI,f:vre,g:Ore,G:Are,H:hre,I:gre,j:_re,L:NI,m:yre,M:bre,p:ae,q:oe,Q:zI,s:BI,S:xre,u:Sre,U:Cre,V:wre,w:Tre,W:Ere,x:null,X:null,y:Dre,Y:kre,Z:jre,\"%\":RI},b={a:se,A:ce,b:M,B:le,c:null,d:FI,e:FI,f:Fre,g:Gre,G:qre,H:Mre,I:Nre,j:Pre,L:II,m:Ire,M:Lre,p:ue,q:de,Q:zI,s:BI,S:Rre,u:zre,U:Bre,V:Vre,w:Hre,W:Ure,x:null,X:null,y:Wre,Y:Kre,Z:Jre,\"%\":RI},x={a:E,A:D,b:O,B:k,c:ee,d:AI,e:AI,f:dre,g:kI,G:OI,H:jI,I:jI,j:sre,L:ure,m:ore,M:cre,p:T,q:are,Q:pre,s:mre,S:lre,u:ere,U:tre,V:nre,w:$ne,W:rre,x:te,X:ne,y:kI,Y:OI,Z:ire,\"%\":fre};y.x=S(n,y),y.X=S(r,y),y.c=S(t,y),b.x=S(n,b),b.X=S(r,b),b.c=S(t,b);function S(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=CI[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function C(e,t){return function(n){var r=SI(1900,void 0,1),i=w(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=xI(SI(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?_I.ceil(a):_I(a),a=mI.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=bI(SI(r.y,0,1)),o=a.getDay(),a=o>4||o===0?dI.ceil(a):dI(a),a=cI.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else (`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?xI(SI(r.y,0,1)).getUTCDay():bI(SI(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,xI(r)):bI(r)}}function w(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=x[s in CI?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function T(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1}function E(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=m.get(r[0].toLowerCase()),n+r[0].length):-1}function D(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1}function O(e,t,n){var r=_.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function k(e,t,n){var r=h.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1}function ee(e,n,r){return w(e,t,n,r)}function te(e,t,r){return w(e,n,t,r)}function ne(e,t,n){return w(e,r,t,n)}function A(e){return o[e.getDay()]}function re(e){return a[e.getDay()]}function j(e){return c[e.getMonth()]}function ie(e){return s[e.getMonth()]}function ae(e){return i[+(e.getHours()>=12)]}function oe(e){return 1+~~(e.getMonth()/3)}function se(e){return o[e.getUTCDay()]}function ce(e){return a[e.getUTCDay()]}function M(e){return c[e.getUTCMonth()]}function le(e){return s[e.getUTCMonth()]}function ue(e){return i[+(e.getUTCHours()>=12)]}function de(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=S(e+=``,y);return t.toString=function(){return e},t},parse:function(e){var t=C(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=S(e+=``,b);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e+=``,!0);return t.toString=function(){return e},t}}}var CI={\"-\":``,_:` `,0:`0`},wI=/^\\s*\\d+/,Xne=/^%/,Zne=/[\\\\^$*+?|[\\]().{}]/g;function TI(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function Qne(e){return e.replace(Zne,`\\\\$&`)}function EI(e){return RegExp(`^(?:`+e.map(Qne).join(`|`)+`)`,`i`)}function DI(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function $ne(e,t,n){var r=wI.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function ere(e,t,n){var r=wI.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function tre(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function nre(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function rre(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function OI(e,t,n){var r=wI.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function kI(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ire(e,t,n){var r=/^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function are(e,t,n){var r=wI.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function ore(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function AI(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function sre(e,t,n){var r=wI.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function jI(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function cre(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function lre(e,t,n){var r=wI.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ure(e,t,n){var r=wI.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function dre(e,t,n){var r=wI.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function fre(e,t,n){var r=Xne.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function pre(e,t,n){var r=wI.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function mre(e,t,n){var r=wI.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function MI(e,t){return TI(e.getDate(),t,2)}function hre(e,t){return TI(e.getHours(),t,2)}function gre(e,t){return TI(e.getHours()%12||12,t,2)}function _re(e,t){return TI(1+cI.count(pI(e),e),t,3)}function NI(e,t){return TI(e.getMilliseconds(),t,3)}function vre(e,t){return NI(e,t)+`000`}function yre(e,t){return TI(e.getMonth()+1,t,2)}function bre(e,t){return TI(e.getMinutes(),t,2)}function xre(e,t){return TI(e.getSeconds(),t,2)}function Sre(e){var t=e.getDay();return t===0?7:t}function Cre(e,t){return TI(uI.count(pI(e)-1,e),t,2)}function PI(e){var t=e.getDay();return t>=4||t===0?fI(e):fI.ceil(e)}function wre(e,t){return e=PI(e),TI(fI.count(pI(e),e)+(pI(e).getDay()===4),t,2)}function Tre(e){return e.getDay()}function Ere(e,t){return TI(dI.count(pI(e)-1,e),t,2)}function Dre(e,t){return TI(e.getFullYear()%100,t,2)}function Ore(e,t){return e=PI(e),TI(e.getFullYear()%100,t,2)}function kre(e,t){return TI(e.getFullYear()%1e4,t,4)}function Are(e,t){var n=e.getDay();return e=n>=4||n===0?fI(e):fI.ceil(e),TI(e.getFullYear()%1e4,t,4)}function jre(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+TI(t/60|0,`0`,2)+TI(t%60,`0`,2)}function FI(e,t){return TI(e.getUTCDate(),t,2)}function Mre(e,t){return TI(e.getUTCHours(),t,2)}function Nre(e,t){return TI(e.getUTCHours()%12||12,t,2)}function Pre(e,t){return TI(1+mI.count(yI(e),e),t,3)}function II(e,t){return TI(e.getUTCMilliseconds(),t,3)}function Fre(e,t){return II(e,t)+`000`}function Ire(e,t){return TI(e.getUTCMonth()+1,t,2)}function Lre(e,t){return TI(e.getUTCMinutes(),t,2)}function Rre(e,t){return TI(e.getUTCSeconds(),t,2)}function zre(e){var t=e.getUTCDay();return t===0?7:t}function Bre(e,t){return TI(gI.count(yI(e)-1,e),t,2)}function LI(e){var t=e.getUTCDay();return t>=4||t===0?vI(e):vI.ceil(e)}function Vre(e,t){return e=LI(e),TI(vI.count(yI(e),e)+(yI(e).getUTCDay()===4),t,2)}function Hre(e){return e.getUTCDay()}function Ure(e,t){return TI(_I.count(yI(e)-1,e),t,2)}function Wre(e,t){return TI(e.getUTCFullYear()%100,t,2)}function Gre(e,t){return e=LI(e),TI(e.getUTCFullYear()%100,t,2)}function Kre(e,t){return TI(e.getUTCFullYear()%1e4,t,4)}function qre(e,t){var n=e.getUTCDay();return e=n>=4||n===0?vI(e):vI.ceil(e),TI(e.getUTCFullYear()%1e4,t,4)}function Jre(){return`+0000`}function RI(){return`%`}function zI(e){return+e}function BI(e){return Math.floor(e/1e3)}var VI,HI,UI;Yre({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function Yre(e){return VI=Yne(e),HI=VI.format,VI.parse,UI=VI.utcFormat,VI.utcParse,VI}function Xre(e){return new Date(e)}function Zre(e){return e instanceof Date?+e:+new Date(+e)}function WI(e,t,n,r,i,a,o,s,c,l){var u=xP(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),v=l(`%b %d`),y=l(`%B`),b=l(`%Y`);function x(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:v:n(e)<e?y:b)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,Zre)):f().map(Xre)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?x:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(XP(n,e)):u},u.copy=function(){return yP(u,WI(e,t,n,r,i,a,o,s,c,l))},u}function Qre(){return WM.apply(WI(zne,Bne,$F,ZF,UF,zF,LF,FF,PF,HI).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function $re(){return WM.apply(WI(Lne,Rne,eI,QF,XF,BF,RF,IF,PF,UI).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function GI(){var e=0,t=1,n,r,i,a,o=mP,s=!1,c;function l(e){return e==null||isNaN(e=+e)?c:o(i===0?.5:(e=(a(e)-n)*i,s?Math.max(0,Math.min(1,e)):e))}l.domain=function(o){return arguments.length?([e,t]=o,n=a(e=+e),r=a(t=+t),i=n===r?0:1/(r-n),l):[e,t]},l.clamp=function(e){return arguments.length?(s=!!e,l):s},l.interpolator=function(e){return arguments.length?(o=e,l):o};function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,o=e(n,r),l):[o(0),o(1)]}}return l.range=u($N),l.rangeRound=u(eP),l.unknown=function(e){return arguments.length?(c=e,l):c},function(o){return a=o,n=o(e),r=o(t),i=n===r?0:1/(r-n),l}}function KI(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function qI(){var e=qP(GI()(mP));return e.copy=function(){return KI(e,qI())},GM.apply(e,arguments)}function JI(){var e=aF(GI()).domain([1,10]);return e.copy=function(){return KI(e,JI()).base(e.base())},GM.apply(e,arguments)}function YI(){var e=lF(GI());return e.copy=function(){return KI(e,YI()).constant(e.constant())},GM.apply(e,arguments)}function XI(){var e=mF(GI());return e.copy=function(){return KI(e,XI()).exponent(e.exponent())},GM.apply(e,arguments)}function eie(){return XI.apply(null,arguments).exponent(.5)}function ZI(){var e=[],t=mP;function n(n){if(n!=null&&!isNaN(n=+n))return t((xM(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)n!=null&&!isNaN(n=+n)&&e.push(n);return e.sort(mM),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((n,r)=>t(r/(e.length-1)))},n.quantiles=function(t){return Array.from({length:t+1},(n,r)=>VM(e,r/t))},n.copy=function(){return ZI(t).domain(e)},GM.apply(n,arguments)}function QI(){var e=0,t=.5,n=1,r=1,i,a,o,s,c,l=mP,u,d=!1,f;function p(e){return isNaN(e=+e)?f:(e=.5+((e=+u(e))-a)*(r*e<r*a?s:c),l(d?Math.max(0,Math.min(1,e)):e))}p.domain=function(l){return arguments.length?([e,t,n]=l,i=u(e=+e),a=u(t=+t),o=u(n=+n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p):[e,t,n]},p.clamp=function(e){return arguments.length?(d=!!e,p):d},p.interpolator=function(e){return arguments.length?(l=e,p):l};function m(e){return function(t){var n,r,i;return arguments.length?([n,r,i]=t,l=uP(e,[n,r,i]),p):[l(0),l(.5),l(1)]}}return p.range=m($N),p.rangeRound=m(eP),p.unknown=function(e){return arguments.length?(f=e,p):f},function(l){return u=l,i=l(e),a=l(t),o=l(n),s=i===a?0:.5/(a-i),c=a===o?0:.5/(o-a),r=a<i?-1:1,p}}function $I(){var e=qP(QI()(mP));return e.copy=function(){return KI(e,$I())},GM.apply(e,arguments)}function eL(){var e=aF(QI()).domain([.1,1,10]);return e.copy=function(){return KI(e,eL()).base(e.base())},GM.apply(e,arguments)}function tL(){var e=lF(QI());return e.copy=function(){return KI(e,tL()).constant(e.constant())},GM.apply(e,arguments)}function nL(){var e=mF(QI());return e.copy=function(){return KI(e,nL()).exponent(e.exponent())},GM.apply(e,arguments)}function tie(){return nL.apply(null,arguments).exponent(.5)}var rL=c({scaleBand:()=>JM,scaleDiverging:()=>$I,scaleDivergingLog:()=>eL,scaleDivergingPow:()=>nL,scaleDivergingSqrt:()=>tie,scaleDivergingSymlog:()=>tL,scaleIdentity:()=>YP,scaleImplicit:()=>KM,scaleLinear:()=>JP,scaleLog:()=>oF,scaleOrdinal:()=>qM,scalePoint:()=>XM,scalePow:()=>hF,scaleQuantile:()=>bF,scaleQuantize:()=>xF,scaleRadial:()=>yF,scaleSequential:()=>qI,scaleSequentialLog:()=>JI,scaleSequentialPow:()=>XI,scaleSequentialQuantile:()=>ZI,scaleSequentialSqrt:()=>eie,scaleSequentialSymlog:()=>YI,scaleSqrt:()=>gF,scaleSymlog:()=>uF,scaleThreshold:()=>SF,scaleTime:()=>Qre,scaleUtc:()=>$re,tickFormat:()=>KP});function nie(e){var t=rL;if(e in t&&typeof t[e]==`function`)return t[e]();var n=`scale${yx(e)}`;if(n in t&&typeof t[n]==`function`)return t[n]()}function iL(e,t,n){if(typeof e==`function`)return e.copy().domain(t).range(n);if(e!=null){var r=nie(e);if(r!=null)return r.domain(t).range(n),r}}function aL(e,t,n,r){if(!(n==null||r==null))return typeof e.scale==`function`?iL(e.scale,n,r):iL(t,n,r)}function rie(e){return`scale${yx(e)}`}function iie(e){return rie(e)in rL}var oL=(e,t,n)=>{if(e!=null){var{scale:r,type:i}=e;if(r===`auto`)return i===`category`&&n&&(n.indexOf(`LineChart`)>=0||n.indexOf(`AreaChart`)>=0||n.indexOf(`ComposedChart`)>=0&&!t)?`point`:i===`category`?`band`:`linear`;if(typeof r==`string`)return iie(r)?r:`point`}};function aie(e,t){for(var n=0,r=e.length,i=e[0]<e[e.length-1];n<r;){var a=Math.floor((n+r)/2);(i?e[a]<t:e[a]>t)?n=a+1:r=a}return n}function sL(e,t){if(e){var n=t??e.domain(),r=n.map(t=>e(t)??0),i=e.range();if(!(n.length===0||i.length<2))return e=>{var t=aie(r,e);if(t<=0)return n[0];if(t>=n.length)return n[n.length-1];var i=r[t-1]??0,a=r[t]??0;return Math.abs(e-i)<=Math.abs(e-a)?n[t-1]:n[t]}}}function oie(e){if(e!=null)return`invert`in e&&typeof e.invert==`function`?e.invert.bind(e):sL(e,void 0)}var cL=u(ej());function lL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?lL(Object(n),!0).forEach(function(t){sie(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sie(e,t,n){return(t=cie(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cie(e){var t=lie(e,`string`);return typeof t==`symbol`?t:t+``}function lie(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var dL=[0,`auto`],fL={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:void 0,height:30,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`bottom`,padding:{left:0,right:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`category`,unit:void 0,niceTicks:`auto`},pL=(e,t)=>e.cartesianAxis.xAxis[t],mL=(e,t)=>pL(e,t)??fL,hL={allowDataOverflow:!1,allowDecimals:!0,allowDuplicatedCategory:!0,angle:0,dataKey:void 0,domain:dL,hide:!0,id:0,includeHidden:!1,interval:`preserveEnd`,minTickGap:5,mirror:!1,name:void 0,orientation:`left`,padding:{top:0,bottom:0},reversed:!1,scale:`auto`,tick:!0,tickCount:5,tickFormatter:void 0,ticks:void 0,type:`number`,unit:void 0,niceTicks:`auto`,width:60},gL=(e,t)=>e.cartesianAxis.yAxis[t],_L=(e,t)=>gL(e,t)??hL,vL={domain:[0,`auto`],includeHidden:!1,reversed:!1,allowDataOverflow:!1,allowDuplicatedCategory:!1,dataKey:void 0,id:0,name:``,range:[64,64],scale:`auto`,type:`number`,unit:``},yL=(e,t)=>e.cartesianAxis.zAxis[t]??vL,bL=(e,t,n)=>{switch(t){case`xAxis`:return mL(e,n);case`yAxis`:return _L(e,n);case`zAxis`:return yL(e,n);case`angleAxis`:return Gj(e,n);case`radiusAxis`:return Kj(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},uie=(e,t,n)=>{switch(t){case`xAxis`:return mL(e,n);case`yAxis`:return _L(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},xL=(e,t,n)=>{switch(t){case`xAxis`:return mL(e,n);case`yAxis`:return _L(e,n);case`angleAxis`:return Gj(e,n);case`radiusAxis`:return Kj(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},SL=e=>e.graphicalItems.cartesianItems.some(e=>e.type===`bar`)||e.graphicalItems.polarItems.some(e=>e.type===`radialBar`);function CL(e,t){return n=>{switch(e){case`xAxis`:return`xAxisId`in n&&n.xAxisId===t;case`yAxis`:return`yAxisId`in n&&n.yAxisId===t;case`zAxis`:return`zAxisId`in n&&n.zAxisId===t;case`angleAxis`:return`angleAxisId`in n&&n.angleAxisId===t;case`radiusAxis`:return`radiusAxisId`in n&&n.radiusAxisId===t;default:return!1}}}var wL=e=>e.graphicalItems.cartesianItems,die=$([nM,rM],CL),TL=(e,t,n)=>e.filter(n).filter(e=>t?.includeHidden===!0?!0:!e.hide),EL=$([wL,bL,die],TL,{memoizeOptions:{resultEqualityCheck:cM}}),DL=$([EL],e=>e.filter(e=>e.type===`area`||e.type===`bar`).filter(oM)),OL=e=>e.filter(e=>!(`stackId`in e)||e.stackId===void 0),fie=$([EL],OL),kL=e=>e.map(e=>e.data).filter(Boolean).flat(1),pie=$([EL],e=>e.some(e=>!e.data)),AL=$([EL],kL,{memoizeOptions:{resultEqualityCheck:cM}}),jL=(e,t)=>{var{chartData:n=[],dataStartIndex:r,dataEndIndex:i}=t;return e.length>0?e:n.slice(r,i+1)},ML=$([AL,rj],jL),NL=(e,t,n)=>t?.dataKey==null?n.length>0?n.map(e=>e.dataKey).flatMap(t=>e.map(e=>({value:KT(e,t)}))):e.map(e=>({value:e})):e.map(e=>({value:KT(e,t.dataKey)})),PL=(e,t,n,r,i,a)=>{var{chartData:o=[],dataStartIndex:s,dataEndIndex:c}=r,l=NL(e,t,n);return i&&t?.dataKey!=null&&a.length>0?[...o.slice(s,c+1).map(e=>({value:KT(e,t.dataKey)})).filter(e=>e.value!=null),...l]:l},FL=$([ML,bL,EL,rj,pie,AL],PL);function IL(e){if(px(e)||e instanceof Date){var t=Number(e);if(zT(t))return t}}function LL(e){if(Array.isArray(e)){var t=[IL(e[0]),IL(e[1])];return cj(t)?t:void 0}var n=IL(e);if(n!=null)return[n,n]}function RL(e){return e.map(IL).filter(bx)}function mie(e,t){var n=IL(e),r=IL(t);return n==null&&r==null?0:n==null?-1:r==null?1:n-r}var hie=$([FL],e=>e?.map(e=>e.value).sort(mie));function zL(e,t){switch(e){case`xAxis`:return t.direction===`x`;case`yAxis`:return t.direction===`y`;default:return!1}}function gie(e,t,n){if(!n||!n.length)return[];var r;if(typeof t==`number`&&!dx(t))r=t;else if(Array.isArray(t)){var i=RL(t);i.length>0&&(r=Math.max(...i))}return r==null?[]:RL(n.flatMap(t=>{var n=KT(e,t.dataKey),i,a;if(Array.isArray(n)?[i,a]=n:i=a=n,!(!zT(i)||!zT(a)))return[r-i,r+a]}))}var BL=e=>xL(e,uM(e),dM(e)),VL=$([BL],e=>e?.dataKey),_ie=$([DL,rj,BL],aM),HL=(e,t,n,r)=>{var i=t.reduce((e,t)=>{if(t.stackId==null)return e;var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},{});return Object.fromEntries(Object.entries(i).map(t=>{var[i,a]=t,o=r?[...a].reverse():a;return[i,{stackedData:$T(e,o.map(iM),n),graphicalItems:o}]}))},UL=$([_ie,DL,Ej,Dj],HL),WL=(e,t,n,r)=>{var{dataStartIndex:i,dataEndIndex:a}=t;if(r==null&&n!==`zAxis`){var o=oE(e,i,a);if(!(o!=null&&o[0]===0&&o[1]===0))return o}},vie=$([bL],e=>e.allowDataOverflow),GL=e=>{if(e==null||!(`domain`in e))return dL;if(e.domain!=null)return e.domain;if(`ticks`in e&&e.ticks!=null){if(e.type===`number`){var t=RL(e.ticks);return[Math.min(...t),Math.max(...t)]}if(e.type===`category`)return e.ticks.map(String)}return e?.domain??dL},KL=$([bL],GL),qL=$([KL,vie],uj),yie=$([UL,tj,nM,qL],WL,{memoizeOptions:{resultEqualityCheck:sM}}),JL=e=>e.errorBars,bie=(e,t,n)=>e.flatMap(e=>t[e.id]).filter(Boolean).filter(e=>zL(n,e)),YL=function(){var e=[...arguments].filter(Boolean);if(e.length!==0){var t=e.flat();return[Math.min(...t),Math.max(...t)]}},XL=function(e,t,n,r,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:[],o,s;if(n.length>0&&n.forEach(e=>{var n=e.data==null?a:[...e.data],c=r[e.id]?.filter(e=>zL(i,e));n.forEach(n=>{var r=KT(n,t.dataKey??e.dataKey),i=gie(n,r,c);if(i.length>=2){var a=Math.min(...i),l=Math.max(...i);(o==null||a<o)&&(o=a),(s==null||l>s)&&(s=l)}var u=LL(r);u!=null&&(o=o==null?u[0]:Math.min(o,u[0]),s=s==null?u[1]:Math.max(s,u[1]))})}),t?.dataKey!=null&&n.length===0&&e.forEach(e=>{var n=LL(KT(e,t.dataKey));n!=null&&(o=o==null?n[0]:Math.min(o,n[0]),s=s==null?n[1]:Math.max(s,n[1]))}),zT(o)&&zT(s))return[o,s]},xie=$([ML,bL,fie,JL,nM,aj],XL,{memoizeOptions:{resultEqualityCheck:sM}});function Sie(e){var{value:t}=e;if(px(t)||t instanceof Date)return t}var Cie=(e,t,n)=>{var r=e.map(Sie).filter(e=>e!=null);return n&&(t.dataKey==null||t.allowDuplicatedCategory&&gx(r))?(0,cL.default)(0,e.length):t.allowDuplicatedCategory?r:Array.from(new Set(r))},ZL=e=>e.referenceElements.dots,QL=(e,t,n)=>e.filter(e=>e.ifOverflow===`extendDomain`).filter(e=>t===`xAxis`?e.xAxisId===n:e.yAxisId===n),wie=$([ZL,nM,rM],QL),$L=e=>e.referenceElements.areas,Tie=$([$L,nM,rM],QL),eR=e=>e.referenceElements.lines,Eie=$([eR,nM,rM],QL),tR=(e,t)=>{if(e!=null){var n=RL(e.map(e=>t===`xAxis`?e.x:e.y));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},Die=$(wie,nM,tR),nR=(e,t)=>{if(e!=null){var n=RL(e.flatMap(e=>[t===`xAxis`?e.x1:e.y1,t===`xAxis`?e.x2:e.y2]));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},Oie=$([Tie,nM],nR);function kie(e){if(e.x!=null)return RL([e.x]);var t=e.segment?.map(e=>e.x);return t==null||t.length===0?[]:RL(t)}function Aie(e){if(e.y!=null)return RL([e.y]);var t=e.segment?.map(e=>e.y);return t==null||t.length===0?[]:RL(t)}var rR=(e,t)=>{if(e!=null){var n=e.flatMap(e=>t===`xAxis`?kie(e):Aie(e));if(n.length!==0)return[Math.min(...n),Math.max(...n)]}},jie=$(Die,$([Eie,nM],rR),Oie,(e,t,n)=>YL(e,n,t)),iR=(e,t,n,r,i,a,o,s)=>n??dj(t,o===`vertical`&&s===`xAxis`||o===`horizontal`&&s===`yAxis`?YL(r,a,i):YL(a,i),e.allowDataOverflow),Mie=$([bL,KL,qL,yie,xie,jie,GE,nM],iR,{memoizeOptions:{resultEqualityCheck:sM}}),Nie=[0,1],aR=(e,t,n,r,i,a,o)=>{if(!((e==null||n==null||n.length===0)&&o===void 0)){var{dataKey:s,type:c}=e,l=JT(t,a);return l&&s==null?(0,cL.default)(0,n?.length??0):c===`category`?Cie(r,e,l):i===`expand`&&!l?Nie:o}},oR=$([bL,GE,ML,FL,Ej,nM,Mie],aR),sR=$([bL,SL,Oj],oL),cR=(e,t,n)=>{var{niceTicks:r}=t;if(r!==`none`){var i=GL(t),a=Array.isArray(i)&&(i[0]===`auto`||i[1]===`auto`);if((r===`snap125`||r===`adaptive`)&&t!=null&&t.tickCount&&cj(e)){if(a)return bj(e,t.tickCount,t.allowDecimals,r);if(t.type===`number`)return xj(e,t.tickCount,t.allowDecimals,r)}if(r===`auto`&&n===`linear`&&t!=null&&t.tickCount){if(a&&cj(e))return bj(e,t.tickCount,t.allowDecimals,`adaptive`);if(t.type===`number`&&cj(e))return xj(e,t.tickCount,t.allowDecimals,`adaptive`)}}},lR=$([oR,xL,sR],cR),uR=(e,t,n,r)=>{if(r!==`angleAxis`&&e?.type===`number`&&cj(t)&&Array.isArray(n)&&n.length>0){var i=t[0],a=n[0]??0,o=t[1],s=n[n.length-1]??0;return[Math.min(i,a),Math.max(o,s)]}return t},Pie=$([bL,oR,lR,nM],uR),dR=$($(FL,bL,(e,t)=>{if(!(!t||t.type!==`number`)){var n=1/0,r=Array.from(RL(e.map(e=>e.value))).sort((e,t)=>e-t),i=r[0],a=r[r.length-1];if(i==null||a==null)return 1/0;var o=a-i;if(o===0)return 1/0;for(var s=0;s<r.length-1;s++){var c=r[s],l=r[s+1];if(!(c==null||l==null)){var u=l-c;n=Math.min(n,u)}}return n/o}}),GE,wj,TE,(e,t,n,r,i)=>i,(e,t,n,r,i)=>{if(!zT(e))return 0;var a=t===`vertical`?r.height:r.width;if(i===`gap`)return e*a/2;if(i===`no-gap`){var o=hx(n,e*a),s=e*a/2;return s-o-(s-o)/a*o}return 0}),Fie=(e,t,n)=>{var r=mL(e,t);return r==null||typeof r.padding!=`string`?0:dR(e,`xAxis`,t,n,r.padding)},Iie=(e,t,n)=>{var r=_L(e,t);return r==null||typeof r.padding!=`string`?0:dR(e,`yAxis`,t,n,r.padding)},Lie=$(mL,Fie,(e,t)=>{if(e==null)return{left:0,right:0};var{padding:n}=e;return typeof n==`string`?{left:t,right:t}:{left:(n.left??0)+t,right:(n.right??0)+t}}),Rie=$(_L,Iie,(e,t)=>{if(e==null)return{top:0,bottom:0};var{padding:n}=e;return typeof n==`string`?{top:t,bottom:t}:{top:(n.top??0)+t,bottom:(n.bottom??0)+t}}),zie=$([TE,Lie,kE,OE,(e,t,n)=>n],(e,t,n,r,i)=>{var{padding:a}=r;return i?[a.left,n.width-a.right]:[e.left+t.left,e.left+e.width-t.right]}),Bie=$([TE,GE,Rie,kE,OE,(e,t,n)=>n],(e,t,n,r,i,a)=>{var{padding:o}=i;return a?[r.height-o.bottom,o.top]:t===`horizontal`?[e.top+e.height-n.bottom,e.top+n.top]:[e.top+n.top,e.top+e.height-n.bottom]}),fR=(e,t,n,r)=>{switch(t){case`xAxis`:return zie(e,n,r);case`yAxis`:return Bie(e,n,r);case`zAxis`:return yL(e,n)?.range;case`angleAxis`:return Zj(e);case`radiusAxis`:return $j(e,n);default:return}},pR=$([bL,fR],Ij),mR=$([bL,sR,$([sR,Pie],pM),pR],aL),hR=(e,t,n,r)=>{if(!(n==null||n.dataKey==null)){var{type:i,scale:a}=n;if(JT(e,r)&&(i===`number`||a!==`auto`))return t.map(e=>e.value)}},gR=$([GE,FL,xL,nM],hR),_R=$([mR],fM);$([mR],oie),$([mR,hie],sL),$([EL,JL,nM],bie);function vR(e,t){return e.id<t.id?-1:+(e.id>t.id)}var yR=(e,t)=>t,bR=(e,t,n)=>n,Vie=$(vE,yR,bR,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(vR)),Hie=$(yE,yR,bR,(e,t,n)=>e.filter(e=>e.orientation===t).filter(e=>e.mirror===n).sort(vR)),xR=(e,t)=>({width:e.width,height:t.height}),Uie=(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height}),SR=$(TE,mL,xR),Wie=(e,t,n)=>{switch(t){case`top`:return e.top;case`bottom`:return n-e.bottom;default:return 0}},Gie=(e,t,n)=>{switch(t){case`left`:return e.left;case`right`:return n-e.right;default:return 0}},Kie=$(hE,TE,Vie,yR,bR,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=xR(t,n);o??=Wie(t,r,e);var c=r===`top`&&!i||r===`bottom`&&i;a[n.id]=o-Number(c)*s.height,o+=(c?-1:1)*s.height}),a}),qie=$(mE,TE,Hie,yR,bR,(e,t,n,r,i)=>{var a={},o;return n.forEach(n=>{var s=Uie(t,n);o??=Gie(t,r,e);var c=r===`left`&&!i||r===`right`&&i;a[n.id]=o-Number(c)*s.width,o+=(c?-1:1)*s.width}),a}),Jie=$([TE,mL,(e,t)=>{var n=mL(e,t);if(n!=null)return Kie(e,n.orientation,n.mirror)},(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:e.left,y:0}:{x:e.left,y:i}}}),Yie=$([TE,_L,(e,t)=>{var n=_L(e,t);if(n!=null)return qie(e,n.orientation,n.mirror)},(e,t)=>t],(e,t,n,r)=>{if(t!=null){var i=n?.[r];return i==null?{x:0,y:e.top}:{x:i,y:e.top}}}),CR=$(TE,_L,(e,t)=>({width:typeof t.width==`number`?t.width:60,height:e.height})),wR=(e,t,n)=>{switch(t){case`xAxis`:return SR(e,n).width;case`yAxis`:return CR(e,n).height;default:return}},TR=(e,t,n,r)=>{if(n!=null){var{allowDuplicatedCategory:i,type:a,dataKey:o}=n,s=JT(e,r),c=t.map(e=>e.value),l=c.filter(e=>e!=null);if(o&&s&&a===`category`&&i&&gx(l))return c}},ER=$([GE,FL,bL,nM],TR),DR=$([GE,uie,sR,_R,ER,gR,fR,lR,nM],(e,t,n,r,i,a,o,s,c)=>{if(t!=null){var l=JT(e,c);return{angle:t.angle,interval:t.interval,minTickGap:t.minTickGap,orientation:t.orientation,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,axisType:c,categoricalDomain:a,duplicateDomain:i,isCategorical:l,niceTicks:s,range:o,realScaleType:n,scale:r}}}),OR=(e,t,n,r,i,a,o,s,c)=>{if(!(t==null||r==null)){var l=JT(e,c),{type:u,ticks:d,tickCount:f}=t,p=n===`scaleBand`&&typeof r.bandwidth==`function`?r.bandwidth()/2:2,m=u===`category`&&r.bandwidth?r.bandwidth()/p:0;m=c===`angleAxis`&&a!=null&&a.length>=2?ux(a[0]-a[1])*2*m:m;var h=d||i;return h?h.map((e,t)=>{var n=o?o.indexOf(e):e,i=r.map(n);return zT(i)?{index:t,coordinate:i+m,value:e,offset:m}:null}).filter(bx):l&&s?s.map((e,t)=>{var n=r.map(e);return zT(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(bx):r.ticks?r.ticks(f).map((e,t)=>{var n=r.map(e);return zT(n)?{coordinate:n+m,value:e,index:t,offset:m}:null}).filter(bx):r.domain().map((e,t)=>{var n=r.map(e);return zT(n)?{coordinate:n+m,value:o?o[e]:e,index:t,offset:m}:null}).filter(bx)}},kR=$([GE,xL,sR,_R,lR,fR,ER,gR,nM],OR),AR=(e,t,n,r,i,a,o)=>{if(!(t==null||n==null||r==null||r[0]===r[1])){var s=JT(e,o),{tickCount:c}=t,l=0;return l=o===`angleAxis`&&r?.length>=2?ux(r[0]-r[1])*2*l:l,s&&a?a.map((e,t)=>{var r=n.map(e);return zT(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(bx):n.ticks?n.ticks(c).map((e,t)=>{var r=n.map(e);return zT(r)?{coordinate:r+l,value:e,index:t,offset:l}:null}).filter(bx):n.domain().map((e,t)=>{var r=n.map(e);return zT(r)?{coordinate:r+l,value:i?i[e]:e,index:t,offset:l}:null}).filter(bx)}},jR=$([GE,xL,_R,fR,ER,gR,nM],AR),MR=$(bL,_R,(e,t)=>{if(!(e==null||t==null))return uL(uL({},e),{},{scale:t})}),NR=$((e,t,n)=>yL(e,n),$([$([bL,sR,oR,pR],aL)],fM),(e,t)=>{if(!(e==null||t==null))return uL(uL({},e),{},{scale:t})}),PR=$([GE,vE,yE],(e,t,n)=>{switch(e){case`horizontal`:return t.some(e=>e.reversed)?`right-to-left`:`left-to-right`;case`vertical`:return n.some(e=>e.reversed)?`bottom-to-top`:`top-to-bottom`;case`centric`:case`radial`:return`left-to-right`;default:return}});$([(e,t,n)=>e.renderedTicks[t]?.[n]],e=>{if(!(!e||e.length===0))return t=>{var n=1/0,r=e[0];for(var i of e){var a=Math.abs(i.coordinate-t);a<n&&(n=a,r=i)}return r?.value}});var FR=e=>e.options.defaultTooltipEventType,IR=e=>e.options.validateTooltipEventTypes;function LR(e,t,n){if(e==null)return t;var r=e?`axis`:`item`;return n==null?t:n.includes(r)?r:t}function RR(e,t){return LR(t,FR(e),IR(e))}function zR(e){return Q(t=>RR(t,e))}var BR=(e,t)=>{var n,r=Number(t);if(!(dx(r)||t==null))return r>=0?e==null||(n=e[r])==null?void 0:n.value:void 0},VR=e=>e.tooltip.settings,HR={active:!1,index:null,dataKey:void 0,graphicalItemId:void 0,coordinate:void 0},UR=Ww({name:`tooltip`,initialState:{itemInteraction:{click:HR,hover:HR},axisInteraction:{click:HR,hover:HR},keyboardInteraction:HR,syncInteraction:{active:!1,index:null,dataKey:void 0,label:void 0,coordinate:void 0,sourceViewBox:void 0,graphicalItemId:void 0},tooltipItemPayloads:[],settings:{shared:void 0,trigger:`hover`,axisId:0,active:!1,defaultIndex:void 0}},reducers:{addTooltipEntrySettings:{reducer(e,t){e.tooltipItemPayloads.push(ID(t.payload))},prepare:Aw()},replaceTooltipEntrySettings:{reducer(e,t){var{prev:n,next:r}=t.payload,i=gw(e).tooltipItemPayloads.indexOf(ID(n));i>-1&&(e.tooltipItemPayloads[i]=ID(r))},prepare:Aw()},removeTooltipEntrySettings:{reducer(e,t){var n=gw(e).tooltipItemPayloads.indexOf(ID(t.payload));n>-1&&e.tooltipItemPayloads.splice(n,1)},prepare:Aw()},setTooltipSettingsState(e,t){e.settings=t.payload},setActiveMouseOverItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.itemInteraction.hover.active=!0,e.itemInteraction.hover.index=t.payload.activeIndex,e.itemInteraction.hover.dataKey=t.payload.activeDataKey,e.itemInteraction.hover.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.hover.coordinate=t.payload.activeCoordinate},mouseLeaveChart(e){e.itemInteraction.hover.active=!1,e.axisInteraction.hover.active=!1},mouseLeaveItem(e){e.itemInteraction.hover.active=!1},setActiveClickItemIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.itemInteraction.click.active=!0,e.keyboardInteraction.active=!1,e.itemInteraction.click.index=t.payload.activeIndex,e.itemInteraction.click.dataKey=t.payload.activeDataKey,e.itemInteraction.click.graphicalItemId=t.payload.activeGraphicalItemId,e.itemInteraction.click.coordinate=t.payload.activeCoordinate},setMouseOverAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.axisInteraction.hover.active=!0,e.keyboardInteraction.active=!1,e.axisInteraction.hover.index=t.payload.activeIndex,e.axisInteraction.hover.dataKey=t.payload.activeDataKey,e.axisInteraction.hover.coordinate=t.payload.activeCoordinate},setMouseClickAxisIndex(e,t){e.syncInteraction.active=!1,e.syncInteraction.sourceViewBox=void 0,e.keyboardInteraction.active=!1,e.axisInteraction.click.active=!0,e.axisInteraction.click.index=t.payload.activeIndex,e.axisInteraction.click.dataKey=t.payload.activeDataKey,e.axisInteraction.click.coordinate=t.payload.activeCoordinate},setSyncInteraction(e,t){e.syncInteraction=t.payload},setKeyboardInteraction(e,t){e.keyboardInteraction.active=t.payload.active,e.keyboardInteraction.index=t.payload.activeIndex,e.keyboardInteraction.coordinate=t.payload.activeCoordinate}}}),{addTooltipEntrySettings:WR,replaceTooltipEntrySettings:GR,removeTooltipEntrySettings:KR,setTooltipSettingsState:qR,setActiveMouseOverItemIndex:JR,mouseLeaveItem:YR,mouseLeaveChart:XR,setActiveClickItemIndex:ZR,setMouseOverAxisIndex:QR,setMouseClickAxisIndex:$R,setSyncInteraction:ez,setKeyboardInteraction:tz}=UR.actions,nz=UR.reducer;function rz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function iz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?rz(Object(n),!0).forEach(function(t){az(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function az(e,t,n){return(t=oz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oz(e){var t=sz(e,`string`);return typeof t==`symbol`?t:t+``}function sz(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function cz(e,t,n){return t===`axis`?n===`click`?e.axisInteraction.click:e.axisInteraction.hover:n===`click`?e.itemInteraction.click:e.itemInteraction.hover}function lz(e){return e.index!=null}var uz=(e,t,n,r)=>{if(t==null)return HR;var i=cz(e,t,n);if(i==null)return HR;if(i.active)return i;if(e.keyboardInteraction.active)return e.keyboardInteraction;if(e.syncInteraction.active&&e.syncInteraction.index!=null)return e.syncInteraction;var a=e.settings.active===!0;if(lz(i)){if(a)return iz(iz({},i),{},{active:!0})}else if(r!=null)return{active:!0,coordinate:void 0,dataKey:void 0,index:r,graphicalItemId:void 0};return iz(iz({},HR),{},{coordinate:i.coordinate})};function dz(e){if(typeof e==`number`)return Number.isFinite(e)?e:void 0;if(e instanceof Date){var t=e.valueOf();return Number.isFinite(t)?t:void 0}var n=Number(e);return Number.isFinite(n)?n:void 0}function fz(e,t){var n=dz(e),r=t[0],i=t[1];return n===void 0?!1:n>=Math.min(r,i)&&n<=Math.max(r,i)}function pz(e,t,n){if(n==null||t==null)return!0;var r=KT(e,t);return r==null||!cj(n)?!0:fz(r,n)}var mz=(e,t,n,r)=>{var i=e?.index;if(i==null)return null;var a=Number(i);if(!zT(a))return i;var o=0,s=1/0;t.length>0&&(s=t.length-1);var c=Math.max(o,Math.min(a,s)),l=t[c];return l==null||pz(l,n,r)?String(c):null},hz=(e,t,n,r,i,a,o)=>{if(a!=null){var s=o[0]?.getPosition(a);if(s!=null)return s;var c=i?.[Number(a)];if(c)switch(n){case`horizontal`:return{x:c.coordinate,y:(r.top+t)/2};default:return{x:(r.left+e)/2,y:c.coordinate}}}},gz=(e,t,n,r)=>{if(t===`axis`)return e.tooltipItemPayloads;if(e.tooltipItemPayloads.length===0)return[];var i=n===`hover`?e.itemInteraction.hover.graphicalItemId:e.itemInteraction.click.graphicalItemId;if(e.syncInteraction.active&&i==null)return e.tooltipItemPayloads;if(i==null&&(r!=null||e.keyboardInteraction.active)){var a=e.tooltipItemPayloads[0];return a==null?[]:[a]}return e.tooltipItemPayloads.filter(e=>e.settings?.graphicalItemId===i)},_z=e=>e.options.tooltipPayloadSearcher,vz=e=>e.tooltip;function yz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function bz(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?yz(Object(n),!0).forEach(function(t){xz(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xz(e,t,n){return(t=Sz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sz(e){var t=Cz(e,`string`);return typeof t==`symbol`?t:t+``}function Cz(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function wz(e){if(typeof e==`string`||typeof e==`number`)return e}function Tz(e){if(typeof e==`string`||typeof e==`number`||typeof e==`boolean`)return e}function Ez(e){if(typeof e==`string`||typeof e==`number`)return e;if(typeof e==`function`)return t=>e(t)}function Dz(e){if(typeof e==`string`)return e}function Oz(e){if(!(typeof e!=`object`||!e))return{name:`name`in e?wz(e.name):void 0,unit:`unit`in e?Tz(e.unit):void 0,dataKey:`dataKey`in e?Ez(e.dataKey):void 0,payload:`payload`in e?e.payload:void 0,color:`color`in e?Dz(e.color):void 0,fill:`fill`in e?Dz(e.fill):void 0}}function kz(e,t){return e??t}var Az=(e,t,n,r,i,a,o)=>{if(!(t==null||a==null)){var{chartData:s,computedData:c,dataStartIndex:l,dataEndIndex:u}=n;return e.reduce((e,n)=>{var{dataDefinedOnItem:d,settings:f}=n,p=kz(d,s),m=Array.isArray(p)?RT(p,l,u):p,h=f?.dataKey??r,g=f?.nameKey,_=r&&Array.isArray(m)&&!Array.isArray(m[0])&&o===`axis`?_x(m,r,i):a(m,t,c,g);return Array.isArray(_)?_.forEach(t=>{var n=Oz(t),r=n?.name,i=n?.dataKey,a=n?.payload,o=bz(bz({},f),{},{name:r,unit:n?.unit,color:n?.color??f?.color,fill:n?.fill??f?.fill});e.push(uE({tooltipEntrySettings:o,dataKey:i,payload:a,value:KT(a,i),name:r==null?void 0:String(r)}))}):e.push(uE({tooltipEntrySettings:f,dataKey:h,payload:_,value:KT(_,h),name:KT(_,g)??f?.name})),e},[])}},jz=$([BL,SL,Oj],oL),Mz=$([$([e=>e.graphicalItems.cartesianItems,e=>e.graphicalItems.polarItems],(e,t)=>[...e,...t]),BL,$([uM,dM],CL)],TL,{memoizeOptions:{resultEqualityCheck:cM}}),Nz=$([Mz],e=>e.filter(oM)),Pz=$([Mz],kL,{memoizeOptions:{resultEqualityCheck:cM}}),Fz=$([Mz],e=>e.some(e=>!e.data)),Iz=$([Pz,tj],jL),Lz=$([Nz,tj,BL],aM),Rz=$([Iz,BL,Mz,tj,Fz,Pz],PL),zz=$([BL],GL),Bz=$([zz,$([BL],e=>e.allowDataOverflow)],uj),Vz=$([$([Lz,$([Mz],e=>e.filter(oM)),Ej,Dj],HL),tj,uM,Bz],WL),Hz=$([Iz,BL,$([Mz],OL),JL,uM,sj],XL,{memoizeOptions:{resultEqualityCheck:sM}}),Uz=$([$([ZL,uM,dM],QL),uM],tR),Wz=$([$([$L,uM,dM],QL),uM],nR),Gz=$([BL,GE,Iz,Rz,Ej,uM,$([BL,zz,Bz,Vz,Hz,$([Uz,$([$([eR,uM,dM],QL),uM],rR),Wz],YL),GE,uM],iR)],aR),Kz=$([BL,Gz,$([Gz,BL,jz],cR),uM],uR),qz=e=>fR(e,uM(e),dM(e),!1),Jz=$([BL,qz],Ij),Yz=$([$([BL,jz,Kz,Jz],aL)],fM),Xz=$([GE,BL,jz,Yz,qz,$([GE,Rz,BL,uM],TR),$([GE,Rz,BL,uM],hR),uM],(e,t,n,r,i,a,o,s)=>{if(t){var{type:c}=t,l=JT(e,s);if(r){var u=n===`scaleBand`&&r.bandwidth?r.bandwidth()/2:2,d=c===`category`&&r.bandwidth?r.bandwidth()/u:0;return d=s===`angleAxis`&&i!=null&&i?.length>=2?ux(i[0]-i[1])*2*d:d,l&&o?o.map((e,t)=>{var n=r.map(e);return zT(n)?{coordinate:n+d,value:e,index:t,offset:d}:null}).filter(bx):r.domain().map((e,t)=>{var n=r.map(e);return zT(n)?{coordinate:n+d,value:a?a[e]:e,index:t,offset:d}:null}).filter(bx)}}}),Zz=$([FR,IR,VR],(e,t,n)=>LR(n.shared,e,t)),Qz=e=>e.tooltip.settings.trigger,$z=e=>e.tooltip.settings.defaultIndex,eB=$([vz,Zz,Qz,$z],uz),tB=$([eB,Iz,VL,Gz],mz),nB=$([Xz,tB],BR),rB=$([eB],e=>{if(e)return e.dataKey}),iB=$([eB],e=>{if(e)return e.graphicalItemId}),aB=$([vz,Zz,Qz,$z],gz),oB=$([eB,$([mE,hE,GE,TE,Xz,$z,aB],hz)],(e,t)=>e!=null&&e.coordinate?e.coordinate:t),sB=$([eB],e=>e?.active??!1),cB=$([$([aB,tB,tj,VL,nB,_z,Zz],Az)],e=>{if(e!=null){var t=e.map(e=>e.payload).filter(e=>e!=null);return Array.from(new Set(t))}});function lB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?lB(Object(n),!0).forEach(function(t){dB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dB(e,t,n){return(t=fB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fB(e){var t=pB(e,`string`);return typeof t==`symbol`?t:t+``}function pB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var mB=()=>Q(BL),hB=()=>{var e=mB(),t=Q(Xz),n=Q(Yz);return lE(!e||!n?void 0:uB(uB({},e),{},{scale:n}),t)};function gB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _B(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?gB(Object(n),!0).forEach(function(t){vB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vB(e,t,n){return(t=yB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yB(e){var t=bB(e,`string`);return typeof t==`symbol`?t:t+``}function bB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var xB=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`horizontal`)return{x:i.coordinate,y:r.relativeY};if(e===`vertical`)return{x:r.relativeX,y:i.coordinate}}return{x:0,y:0}},SB=(e,t,n,r)=>{var i=t.find(e=>e&&e.index===n);if(i){if(e===`centric`){var a=i.coordinate,{radius:o}=r;return _B(_B(_B({},r),DA(r.cx,r.cy,o,a)),{},{angle:a,radius:o})}var s=i.coordinate,{angle:c}=r;return _B(_B(_B({},r),DA(r.cx,r.cy,s,c)),{},{angle:c,radius:s})}return{angle:0,clockWise:!1,cx:0,cy:0,endAngle:0,innerRadius:0,outerRadius:0,radius:0,startAngle:0,x:0,y:0}};function CB(e,t){var{relativeX:n,relativeY:r}=e;return n>=t.left&&n<=t.left+t.width&&r>=t.top&&r<=t.top+t.height}var wB=(e,t,n,r,i)=>{var a=t?.length??0;if(a<=1||e==null)return 0;if(r===`angleAxis`&&i!=null&&Math.abs(Math.abs(i[1]-i[0])-360)<=1e-6)for(var o=0;o<a;o++){var s=o>0?n[o-1]?.coordinate:n[a-1]?.coordinate,c=n[o]?.coordinate,l=o>=a-1?n[0]?.coordinate:n[o+1]?.coordinate,u=void 0;if(!(s==null||c==null||l==null))if(ux(c-s)!==ux(l-c)){var d=[];if(ux(l-c)===ux(i[1]-i[0])){u=l;var f=c+i[1]-i[0];d[0]=Math.min(f,(f+s)/2),d[1]=Math.max(f,(f+s)/2)}else{u=s;var p=l+i[1]-i[0];d[0]=Math.min(c,(p+c)/2),d[1]=Math.max(c,(p+c)/2)}var m=[Math.min(c,(u+c)/2),Math.max(c,(u+c)/2)];if(e>m[0]&&e<=m[1]||e>=d[0]&&e<=d[1])return n[o]?.index}else{var h=Math.min(s,l),g=Math.max(s,l);if(e>(h+c)/2&&e<=(g+c)/2)return n[o]?.index}}else if(t)for(var _=0;_<a;_++){var v=t[_];if(v!=null){var y=t[_+1],b=t[_-1];if(_===0&&y!=null&&e<=(v.coordinate+y.coordinate)/2||_===a-1&&b!=null&&e>(v.coordinate+b.coordinate)/2||_>0&&_<a-1&&b!=null&&y!=null&&e>(v.coordinate+b.coordinate)/2&&e<=(v.coordinate+y.coordinate)/2)return v.index}}return-1},TB=()=>Q(Oj),EB=(e,t)=>t,DB=(e,t,n)=>n,OB=(e,t,n,r)=>r,kB=$(Xz,e=>(0,PS.default)(e,e=>e.coordinate)),AB=$([vz,EB,DB,OB],uz),jB=$([AB,Iz,VL,Gz],mz),MB=(e,t,n)=>{if(t!=null){var r=vz(e);return t===`axis`?n===`hover`?r.axisInteraction.hover.dataKey:r.axisInteraction.click.dataKey:n===`hover`?r.itemInteraction.hover.dataKey:r.itemInteraction.click.dataKey}},NB=$([vz,EB,DB,OB],gz),PB=$([mE,hE,GE,TE,Xz,OB,NB],hz),FB=$([AB,PB],(e,t)=>e.coordinate??t),IB=$([Xz,jB],BR),LB=$([NB,jB,tj,VL,IB,_z,EB],Az),RB=$([AB,jB],(e,t)=>({isActive:e.active&&t!=null,activeIndex:t})),zB=(e,t,n,r,i,a,o)=>{if(!(!e||!n||!r||!i)&&CB(e,o)){var s=wB(fE(e,t),a,i,n,r),c=xB(t,i,s,e);return{activeIndex:String(s),activeCoordinate:c}}},BB=(e,t,n,r,i,a,o)=>{if(!(!e||!r||!i||!a||!n)){var s=NA(e,n);if(s){var c=wB(pE(s,t),o,a,r,i),l=SB(t,a,c,s);return{activeIndex:String(c),activeCoordinate:l}}}},VB=(e,t,n,r,i,a,o,s)=>{if(!(!e||!t||!r||!i||!a))return t===`horizontal`||t===`vertical`?zB(e,t,r,i,a,o,s):BB(e,t,n,r,i,a,o)},HB=$(e=>e.zIndex.zIndexMap,(e,t)=>t,(e,t,n)=>n,(e,t,n)=>{if(t!=null){var r=e[t];if(r!=null)return n?r.panoramaElement:r.element}}),UB=$(e=>e.zIndex.zIndexMap,e=>{var t=Object.keys(e).map(e=>parseInt(e,10)).concat(Object.values(Nj));return Array.from(new Set(t)).sort((e,t)=>e-t)},{memoizeOptions:{resultEqualityCheck:lM}});function WB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function GB(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?WB(Object(n),!0).forEach(function(t){KB(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function KB(e,t,n){return(t=qB(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qB(e){var t=JB(e,`string`);return typeof t==`symbol`?t:t+``}function JB(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var YB={zIndexMap:Object.values(Nj).reduce((e,t)=>GB(GB({},e),{},{[t]:{element:void 0,panoramaElement:void 0,consumers:0}}),{})},XB=new Set(Object.values(Nj));function ZB(e){return XB.has(e)}var QB=Ww({name:`zIndex`,initialState:YB,reducers:{registerZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]?e.zIndexMap[n].consumers+=1:e.zIndexMap[n]={consumers:1,element:void 0,panoramaElement:void 0}},prepare:Aw()},unregisterZIndexPortal:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(--e.zIndexMap[n].consumers,e.zIndexMap[n].consumers<=0&&!ZB(n)&&delete e.zIndexMap[n])},prepare:Aw()},registerZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n,element:r,isPanorama:i}=t.payload;e.zIndexMap[n]?i?e.zIndexMap[n].panoramaElement=ID(r):e.zIndexMap[n].element=ID(r):e.zIndexMap[n]={consumers:0,element:i?void 0:ID(r),panoramaElement:i?ID(r):void 0}},prepare:Aw()},unregisterZIndexPortalElement:{reducer:(e,t)=>{var{zIndex:n}=t.payload;e.zIndexMap[n]&&(t.payload.isPanorama?e.zIndexMap[n].panoramaElement=void 0:e.zIndexMap[n].element=void 0)},prepare:Aw()}}}),{registerZIndexPortal:$B,unregisterZIndexPortal:eV,registerZIndexPortalElement:tV,unregisterZIndexPortalElement:nV}=QB.actions,rV=QB.reducer;function iV(e){var{zIndex:t,children:n}=e,r=$te()&&t!==void 0&&t!==0,i=DE(),a=(0,z.useRef)(void 0),o=(0,z.useRef)(new Set),s=lS(),c=Q(e=>HB(e,t,i));if((0,z.useLayoutEffect)(()=>{if(!r){var e=o.current;e.forEach(e=>{s(eV({zIndex:e}))}),e.clear(),a.current=void 0;return}if(o.current.has(t)||(s($B({zIndex:t})),o.current.add(t)),c){a.current=c;var n=o.current;n.forEach(e=>{e!==t&&(s(eV({zIndex:e})),n.delete(e))})}},[s,t,r,c]),(0,z.useLayoutEffect)(()=>{var e=o.current;return()=>{e.forEach(e=>{s(eV({zIndex:e}))}),e.clear()}},[s]),!r)return n;var l=c??a.current;return l?(0,GD.createPortal)(n,l):null}function aV(){return aV=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},aV.apply(null,arguments)}function oV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?oV(Object(n),!0).forEach(function(t){cV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cV(e,t,n){return(t=lV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lV(e){var t=uV(e,`string`);return typeof t==`symbol`?t:t+``}function uV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function dV(e){var{cursor:t,cursorComp:n,cursorProps:r}=e;return(0,z.isValidElement)(t)?(0,z.cloneElement)(t,r):(0,z.createElement)(n,r)}function fV(e){var{coordinate:t,payload:n,index:r,offset:i,tooltipAxisBandSize:a,layout:o,cursor:s,tooltipEventType:c,chartName:l}=e,u=t,d=n,f=r;if(!s||!u||l!==`ScatterChart`&&c!==`axis`)return null;var p,m,h;if(l===`ScatterChart`)p=u,m=sk,h=Nj.cursorLine;else if(l===`BarChart`)p=ck(o,u,i,a),m=vA,h=Nj.cursorRectangle;else if(o===`radial`&&Dx(u)){var{cx:g,cy:_,radius:v,startAngle:y,endAngle:b}=PA(u);p={cx:g,cy:_,startAngle:y,endAngle:b,innerRadius:v,outerRadius:v},m=YA,h=Nj.cursorLine}else p={points:XA(o,u,i)},m=XO,h=Nj.cursorLine;var x=typeof s==`object`&&`className`in s?s.className:void 0,S=sV(sV(sV(sV({stroke:`#ccc`,pointerEvents:`none`},i),p),ty(s)),{},{payload:d,payloadIndex:f,className:J(`recharts-tooltip-cursor`,x)});return z.createElement(iV,{zIndex:e.zIndex??h},z.createElement(dV,{cursor:s,cursorComp:m,cursorProps:S}))}function pV(e){var t=hB(),n=HE(),r=KE(),i=TB();return t==null||n==null||r==null||i==null?null:z.createElement(fV,aV({},e,{offset:n,layout:r,tooltipAxisBandSize:t,chartName:i}))}var mV=(0,z.createContext)(null),hV=()=>(0,z.useContext)(mV),gV=u(s(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=`~`;function i(){}Object.create&&(i.prototype=Object.create(null),new i().__proto__||(r=!1));function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,n,i,o){if(typeof n!=`function`)throw TypeError(`The listener must be a function`);var s=new a(n,i||e,o),c=r?r+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function s(e,t){--e._eventsCount===0?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}c.prototype.eventNames=function(){var e=[],t,i;if(this._eventsCount===0)return e;for(i in t=this._events)n.call(t,i)&&e.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(t)):e},c.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var i=0,a=n.length,o=Array(a);i<a;i++)o[i]=n[i].fn;return o},c.prototype.listenerCount=function(e){var t=r?r+e:e,n=this._events[t];return n?n.fn?1:n.length:0},c.prototype.emit=function(e,t,n,i,a,o){var s=r?r+e:e;if(!this._events[s])return!1;var c=this._events[s],l=arguments.length,u,d;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),l){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,a),!0;case 6:return c.fn.call(c.context,t,n,i,a,o),!0}for(d=1,u=Array(l-1);d<l;d++)u[d-1]=arguments[d];c.fn.apply(c.context,u)}else{var f=c.length,p;for(d=0;d<f;d++)switch(c[d].once&&this.removeListener(e,c[d].fn,void 0,!0),l){case 1:c[d].fn.call(c[d].context);break;case 2:c[d].fn.call(c[d].context,t);break;case 3:c[d].fn.call(c[d].context,t,n);break;case 4:c[d].fn.call(c[d].context,t,n,i);break;default:if(!u)for(p=1,u=Array(l-1);p<l;p++)u[p-1]=arguments[p];c[d].fn.apply(c[d].context,u)}}return!0},c.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},c.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},c.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return s(this,a),this;var o=this._events[a];if(o.fn)o.fn===t&&(!i||o.once)&&(!n||o.context===n)&&s(this,a);else{for(var c=0,l=[],u=o.length;c<u;c++)(o[c].fn!==t||i&&!o[c].once||n&&o[c].context!==n)&&l.push(o[c]);l.length?this._events[a]=l.length===1?l[0]:l:s(this,a)}return this},c.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&s(this,t)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=r,c.EventEmitter=c,t!==void 0&&(t.exports=c)}))(),1).default,_V=new gV,vV=`recharts.syncEvent.tooltip`,yV=`recharts.syncEvent.brush`,bV=(e,t)=>{if(t&&Array.isArray(e)){var n=Number.parseInt(t,10);if(!dx(n))return e[n]}},xV=Ww({name:`options`,initialState:{chartName:``,tooltipPayloadSearcher:()=>void 0,eventEmitter:void 0,defaultTooltipEventType:`axis`},reducers:{createEventEmitter:e=>{e.eventEmitter??=Symbol(`rechartsEventEmitter`)}}}),SV=xV.reducer,{createEventEmitter:CV}=xV.actions;function wV(e){return e.tooltip.syncInteraction}var TV=Ww({name:`chartData`,initialState:{chartData:void 0,computedData:void 0,dataStartIndex:0,dataEndIndex:0},reducers:{setChartData(e,t){if(e.chartData=ID(t.payload),t.payload==null){e.dataStartIndex=0,e.dataEndIndex=0;return}t.payload.length>0&&e.dataEndIndex!==t.payload.length-1&&(e.dataEndIndex=t.payload.length-1)},setComputedData(e,t){e.computedData=t.payload},setDataStartEndIndexes(e,t){var{startIndex:n,endIndex:r}=t.payload;n!=null&&(e.dataStartIndex=n),r!=null&&(e.dataEndIndex=r)}}}),{setChartData:EV,setDataStartEndIndexes:DV,setComputedData:Xie}=TV.actions,OV=TV.reducer,kV=[`x`,`y`];function AV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function jV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?AV(Object(n),!0).forEach(function(t){MV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):AV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function MV(e,t,n){return(t=NV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NV(e){var t=PV(e,`string`);return typeof t==`symbol`?t:t+``}function PV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function FV(e,t){if(e==null)return{};var n,r,i=IV(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function IV(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function LV(){var e=Q(kj),t=Q(jj),n=lS(),r=Q(Aj),i=Q(Xz),a=KE(),o=VE();(0,z.useEffect)(()=>{if(e==null)return xx;var s=(s,c,l)=>{if(t!==l&&e===s){if(c.payload.active===!1){n(ez({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(r===`index`){var u;if(o&&c!=null&&(u=c.payload)!=null&&u.coordinate&&c.payload.sourceViewBox){var d=c.payload.coordinate,{x:f,y:p}=d,m=FV(d,kV),{x:h,y:g,width:_,height:v}=c.payload.sourceViewBox,y=jV(jV({},m),{},{x:o.x+(_?(f-h)/_:0)*o.width,y:o.y+(v?(p-g)/v:0)*o.height});n(jV(jV({},c),{},{payload:jV(jV({},c.payload),{},{coordinate:y})}))}else n(c);return}if(i!=null){var b;typeof r==`function`?b=i[r(i,{activeTooltipIndex:c.payload.index==null?void 0:Number(c.payload.index),isTooltipActive:c.payload.active,activeIndex:c.payload.index==null?void 0:Number(c.payload.index),activeLabel:c.payload.label,activeDataKey:c.payload.dataKey,activeCoordinate:c.payload.coordinate})]:r===`value`&&(b=i.find(e=>String(e.value)===c.payload.label));var{coordinate:x}=c.payload;if(x==null||o==null){n(ez({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:void 0,graphicalItemId:void 0}));return}if(b==null){n(ez({active:!1,coordinate:void 0,dataKey:void 0,index:null,label:void 0,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:void 0}));return}var{x:S,y:C}=x,w=Math.min(S,o.x+o.width),T=Math.min(C,o.y+o.height),E={x:a===`horizontal`?b.coordinate:w,y:a===`horizontal`?T:b.coordinate};n(ez({active:c.payload.active,coordinate:E,dataKey:c.payload.dataKey,index:String(b.index),label:c.payload.label,sourceViewBox:c.payload.sourceViewBox,graphicalItemId:c.payload.graphicalItemId}))}}};return _V.on(vV,s),()=>{_V.off(vV,s)}},[Q(e=>e.rootProps.className),n,t,e,r,i,a,o])}function RV(){var e=Q(kj),t=Q(jj),n=lS();(0,z.useEffect)(()=>{if(e==null)return xx;var r=(r,i,a)=>{t!==a&&e===r&&n(DV(i))};return _V.on(yV,r),()=>{_V.off(yV,r)}},[n,t,e])}function zV(){var e=lS();(0,z.useEffect)(()=>{e(CV())},[e]),LV(),RV()}function BV(e,t,n,r,i,a){var o=Q(n=>MB(n,e,t)),s=Q(iB),c=Q(jj),l=Q(kj),u=Q(Aj),d=Q(wV)?.sourceViewBox!=null,f=VE();(0,z.useEffect)(()=>{if(!d&&l!=null&&c!=null){var e=ez({active:a,coordinate:n,dataKey:o,index:i,label:typeof r==`number`?String(r):r,sourceViewBox:f,graphicalItemId:s});_V.emit(vV,l,e,c)}},[d,n,o,s,i,r,c,l,u,a,f])}function VV(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function HV(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?VV(Object(n),!0).forEach(function(t){UV(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VV(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function UV(e,t,n){return(t=WV(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WV(e){var t=GV(e,`string`);return typeof t==`symbol`?t:t+``}function GV(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function KV(e){return e.dataKey}function qV(e,t){return z.isValidElement(e)?z.cloneElement(e,t):typeof e==`function`?z.createElement(e,t):z.createElement(vO,t)}var JV=[],YV={allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:`ease`,axisId:0,contentStyle:{},cursor:!0,filterNull:!0,includeHidden:!1,isAnimationActive:`auto`,itemSorter:`name`,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:` : `,trigger:`hover`,useTranslate3d:!1,wrapperStyle:{}};function XV(e){var t=jx(e,YV),{active:n,allowEscapeViewBox:r,animationDuration:i,animationEasing:a,content:o,filterNull:s,isAnimationActive:c,offset:l,payloadUniqBy:u,position:d,reverseDirection:f,useTranslate3d:p,wrapperStyle:m,cursor:h,shared:g,trigger:_,defaultIndex:v,portal:y,axisId:b}=t,x=lS(),S=typeof v==`number`?String(v):v;(0,z.useEffect)(()=>{x(qR({shared:g,trigger:_,axisId:b,active:n,defaultIndex:S}))},[x,g,_,b,n,S]);var C=VE(),w=FO(),T=zR(g),{activeIndex:E,isActive:D}=Q(e=>RB(e,T,_,S))??{},O=Q(e=>LB(e,T,_,S)),k=Q(e=>IB(e,T,_,S)),ee=Q(e=>FB(e,T,_,S)),te=O,ne=hV(),A=n??D??!1,[re,j]=BS([te,A]),ie=T===`axis`?k:void 0;BV(T,_,ee,ie,E,A);var ae=y??ne;if(ae==null||C==null||T==null)return null;var oe=te??JV;A||(oe=JV),s&&oe.length&&(oe=tS(oe.filter(e=>e.value!=null&&(e.hide!==!0||t.includeHidden)),u,KV));var se=oe.length>0,ce=HV(HV({},t),{},{payload:oe,label:ie,active:A,activeIndex:E,coordinate:ee,accessibilityLayer:w}),M=z.createElement(PO,{allowEscapeViewBox:r,animationDuration:i,animationEasing:a,isAnimationActive:c,active:A,coordinate:ee,hasPayload:se,offset:l,position:d,reverseDirection:f,useTranslate3d:p,viewBox:C,wrapperStyle:m,lastBoundingBox:re,innerRef:j,hasPortalFromProps:!!y},qV(o,ce));return z.createElement(z.Fragment,null,(0,GD.createPortal)(M,ae),A&&z.createElement(pV,{cursor:h,tooltipEventType:T,coordinate:ee,payload:oe,index:E}))}var ZV=e=>null;ZV.displayName=`Cell`;function QV(e,t,n){return(t=$V(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $V(e){var t=eH(e,`string`);return typeof t==`symbol`?t:t+``}function eH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var tH=class{constructor(e){QV(this,`cache`,new Map),this.maxSize=e}get(e){var t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){if(this.cache.has(e))this.cache.delete(e);else if(this.cache.size>=this.maxSize){var n=this.cache.keys().next().value;n!=null&&this.cache.delete(n)}this.cache.set(e,t)}clear(){this.cache.clear()}size(){return this.cache.size}};function nH(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function rH(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?nH(Object(n),!0).forEach(function(t){iH(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nH(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iH(e,t,n){return(t=aH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function aH(e){var t=oH(e,`string`);return typeof t==`symbol`?t:t+``}function oH(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var sH=rH({},{cacheSize:2e3,enableCache:!0}),cH=new tH(sH.cacheSize),lH={position:`absolute`,top:`-20000px`,left:0,padding:0,margin:0,border:`none`,whiteSpace:`pre`},uH=`recharts_measurement_span`;function dH(e,t){return`${e}|${t.fontSize||``}|${t.fontFamily||``}|${t.fontWeight||``}|${t.fontStyle||``}|${t.letterSpacing||``}|${t.textTransform||``}`}var fH=(e,t)=>{try{var n=document.getElementById(uH);n||(n=document.createElement(`span`),n.setAttribute(`id`,uH),n.setAttribute(`aria-hidden`,`true`),document.body.appendChild(n)),Object.assign(n.style,lH,t),n.textContent=`${e}`;var r=n.getBoundingClientRect();return{width:r.width,height:r.height}}catch{return{width:0,height:0}}},pH=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e==null||TO.isSsr)return{width:0,height:0};if(!sH.enableCache)return fH(e,t);var n=dH(e,t),r=cH.get(n);if(r)return r;var i=fH(e,t);return cH.set(n,i),i},mH;function hH(e,t,n){return(t=gH(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gH(e){var t=_H(e,`string`);return typeof t==`symbol`?t:t+``}function _H(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var vH=/(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)([*/])(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)/,yH=/(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)([+-])(-?\\d+(?:\\.\\d+)?[a-zA-Z%]*)/,bH=/^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/,xH=/(-?\\d+(?:\\.\\d+)?)([a-zA-Z%]+)?/,SH={cm:96/2.54,mm:96/25.4,pt:96/72,pc:96/6,in:96,Q:96/(2.54*40),px:1},CH=[`cm`,`mm`,`pt`,`pc`,`in`,`Q`,`px`];function wH(e){return CH.includes(e)}var TH=`NaN`;function EH(e,t){return e*SH[t]}var DH=class e{static parse(t){var[,n,r]=xH.exec(t)??[];return n==null?e.NaN:new e(parseFloat(n),r??``)}constructor(e,t){this.num=e,this.unit=t,this.num=e,this.unit=t,dx(e)&&(this.unit=``),t!==``&&!bH.test(t)&&(this.num=NaN,this.unit=``),wH(t)&&(this.num=EH(e,t),this.unit=`px`)}add(t){return this.unit===t.unit?new e(this.num+t.num,this.unit):new e(NaN,``)}subtract(t){return this.unit===t.unit?new e(this.num-t.num,this.unit):new e(NaN,``)}multiply(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num*t.num,this.unit||t.unit)}divide(t){return this.unit!==``&&t.unit!==``&&this.unit!==t.unit?new e(NaN,``):new e(this.num/t.num,this.unit||t.unit)}toString(){return`${this.num}${this.unit}`}isNaN(){return dx(this.num)}};mH=DH,hH(DH,`NaN`,new mH(NaN,``));function OH(e){if(e==null||e.includes(TH))return TH;for(var t=e;t.includes(`*`)||t.includes(`/`);){var[,n,r,i]=vH.exec(t)??[],a=DH.parse(n??``),o=DH.parse(i??``),s=r===`*`?a.multiply(o):a.divide(o);if(s.isNaN())return TH;t=t.replace(vH,s.toString())}for(;t.includes(`+`)||/.-\\d+(?:\\.\\d+)?/.test(t);){var[,c,l,u]=yH.exec(t)??[],d=DH.parse(c??``),f=DH.parse(u??``),p=l===`+`?d.add(f):d.subtract(f);if(p.isNaN())return TH;t=t.replace(yH,p.toString())}return t}var kH=/\\(([^()]*)\\)/;function AH(e){for(var t=e,n;(n=kH.exec(t))!=null;){var[,r]=n;t=t.replace(kH,OH(r))}return t}function jH(e){var t=e.replace(/\\s+/g,``);return t=AH(t),t=OH(t),t}function MH(e){try{return jH(e)}catch{return TH}}function NH(e){var t=MH(e.slice(5,-1));return t===TH?``:t}var PH=[`x`,`y`,`lineHeight`,`capHeight`,`fill`,`scaleToFit`,`textAnchor`,`verticalAnchor`],FH=[`dx`,`dy`,`angle`,`className`,`breakAll`];function IH(){return IH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IH.apply(null,arguments)}function LH(e,t){if(e==null)return{};var n,r,i=RH(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function RH(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var zH=/[ \\f\\n\\r\\t\\v\\u2028\\u2029]+/,BH=e=>{var{children:t,breakAll:n,style:r}=e;try{var i=[];return vx(t)||(i=n?t.toString().split(``):t.toString().split(zH)),{wordsWithComputedWidth:i.map(e=>({word:e,width:pH(e,r).width})),spaceWidth:n?0:pH(`\\xA0`,r).width}}catch{return null}};function VH(e){return e===`start`||e===`middle`||e===`end`||e===`inherit`}function HH(e){return vx(e)||typeof e==`string`||typeof e==`number`||typeof e==`boolean`}var UH=(e,t,n,r)=>e.reduce((e,i)=>{var{word:a,width:o}=i,s=e[e.length-1];if(s&&o!=null&&(t==null||r||s.width+o+n<Number(t)))s.words.push(a),s.width+=o+n;else{var c={words:[a],width:o};e.push(c)}return e},[]),WH=e=>e.reduce((e,t)=>e.width>t.width?e:t),GH=`…`,KH=(e,t,n,r,i,a,o,s)=>{var c=BH({breakAll:n,style:r,children:e.slice(0,t)+GH});if(!c)return[!1,[]];var l=UH(c.wordsWithComputedWidth,a,o,s);return[l.length>i||WH(l).width>Number(a),l]},qH=(e,t,n,r,i)=>{var{maxLines:a,children:o,style:s,breakAll:c}=e,l=X(a),u=String(o),d=UH(t,r,n,i);if(!l||i||!(d.length>a||WH(d).width>Number(r)))return d;for(var f=0,p=u.length-1,m=0,h;f<=p&&m<=u.length-1;){var g=Math.floor((f+p)/2),[_,v]=KH(u,g-1,c,s,a,r,n,i),[y]=KH(u,g,c,s,a,r,n,i);if(!_&&!y&&(f=g+1),_&&y&&(p=g-1),!_&&y){h=v;break}m++}return h||d},JH=e=>[{words:vx(e)?[]:e.toString().split(zH),width:void 0}],YH=e=>{var{width:t,scaleToFit:n,children:r,style:i,breakAll:a,maxLines:o}=e;if((t||n)&&!TO.isSsr){var s,c,l=BH({breakAll:a,children:r,style:i});if(l){var{wordsWithComputedWidth:u,spaceWidth:d}=l;s=u,c=d}else return JH(r);return qH({breakAll:a,children:r,maxLines:o,style:i},s,c,t,!!n)}return JH(r)},XH=`#808080`,ZH={angle:0,breakAll:!1,capHeight:`0.71em`,fill:XH,lineHeight:`1em`,scaleToFit:!1,textAnchor:`start`,verticalAnchor:`end`,x:0,y:0},QH=(0,z.forwardRef)((e,t)=>{var n=jx(e,ZH),{x:r,y:i,lineHeight:a,capHeight:o,fill:s,scaleToFit:c,textAnchor:l,verticalAnchor:u}=n,d=LH(n,PH),f=(0,z.useMemo)(()=>YH({breakAll:d.breakAll,children:d.children,maxLines:d.maxLines,scaleToFit:c,style:d.style,width:d.width}),[d.breakAll,d.children,d.maxLines,c,d.style,d.width]),{dx:p,dy:m,angle:h,className:g,breakAll:_}=d,v=LH(d,FH);if(!px(r)||!px(i)||f.length===0)return null;var y=Number(r)+(X(p)?p:0),b=Number(i)+(X(m)?m:0);if(!zT(y)||!zT(b))return null;var x;switch(u){case`start`:x=NH(`calc(${o})`);break;case`middle`:x=NH(`calc(${(f.length-1)/2} * -${a} + (${o} / 2))`);break;default:x=NH(`calc(${f.length-1} * -${a})`);break}var S=[],C=f[0];if(c&&C!=null){var w=C.width,{width:T}=d;S.push(`scale(${X(T)&&X(w)?T/w:1})`)}return h&&S.push(`rotate(${h}, ${y}, ${b})`),S.length&&(v.transform=S.join(` `)),z.createElement(`text`,IH({},ny(v),{ref:t,x:y,y:b,className:J(`recharts-text`,g),textAnchor:l,fill:s.includes(`url`)?XH:s}),f.map((e,t)=>{var n=e.words.join(_?``:` `);return z.createElement(`tspan`,{x:y,dy:t===0?x:a,key:`${n}-${t}`},n)}))});QH.displayName=`Text`;function $H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$H(Object(n),!0).forEach(function(t){tU(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$H(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tU(e,t,n){return(t=nU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nU(e){var t=rU(e,`string`);return typeof t==`symbol`?t:t+``}function rU(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var iU=e=>{var{viewBox:t,position:n,offset:r=0,parentViewBox:i,clamp:a}=e,{x:o,y:s,height:c,upperWidth:l,lowerWidth:u}=BE(t),d=o,f=o+(l-u)/2,p=(d+f)/2,m=(l+u)/2,h=d+l/2,g=c>=0?1:-1,_=g*r,v=g>0?`end`:`start`,y=g>0?`start`:`end`,b=l>=0?1:-1,x=b*r,S=b>0?`end`:`start`,C=b>0?`start`:`end`,w=i;if(n===`top`){var T={x:d+l/2,y:s-_,horizontalAnchor:`middle`,verticalAnchor:v};return a&&w&&(T.height=Math.max(s-w.y,0),T.width=l),T}if(n===`bottom`){var E={x:f+u/2,y:s+c+_,horizontalAnchor:`middle`,verticalAnchor:y};return a&&w&&(E.height=Math.max(w.y+w.height-(s+c),0),E.width=u),E}if(n===`left`){var D={x:p-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`};return a&&w&&(D.width=Math.max(D.x-w.x,0),D.height=c),D}if(n===`right`){var O={x:p+m+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`};return a&&w&&(O.width=Math.max(w.x+w.width-O.x,0),O.height=c),O}var k=a&&w?{width:m,height:c}:{};return n===`insideLeft`?eU({x:p+x,y:s+c/2,horizontalAnchor:C,verticalAnchor:`middle`},k):n===`insideRight`?eU({x:p+m-x,y:s+c/2,horizontalAnchor:S,verticalAnchor:`middle`},k):n===`insideTop`?eU({x:d+l/2,y:s+_,horizontalAnchor:`middle`,verticalAnchor:y},k):n===`insideBottom`?eU({x:f+u/2,y:s+c-_,horizontalAnchor:`middle`,verticalAnchor:v},k):n===`insideTopLeft`?eU({x:d+x,y:s+_,horizontalAnchor:C,verticalAnchor:y},k):n===`insideTopRight`?eU({x:d+l-x,y:s+_,horizontalAnchor:S,verticalAnchor:y},k):n===`insideBottomLeft`?eU({x:f+x,y:s+c-_,horizontalAnchor:C,verticalAnchor:v},k):n===`insideBottomRight`?eU({x:f+u-x,y:s+c-_,horizontalAnchor:S,verticalAnchor:v},k):n&&typeof n==`object`&&(X(n.x)||fx(n.x))&&(X(n.y)||fx(n.y))?eU({x:o+hx(n.x,m),y:s+hx(n.y,c),horizontalAnchor:`end`,verticalAnchor:`end`},k):eU({x:h,y:s+c/2,horizontalAnchor:`middle`,verticalAnchor:`middle`},k)},aU=[`labelRef`],oU=[`content`];function sU(e,t){if(e==null)return{};var n,r,i=cU(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function cU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function lU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uU(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?lU(Object(n),!0).forEach(function(t){dU(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dU(e,t,n){return(t=fU(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fU(e){var t=pU(e,`string`);return typeof t==`symbol`?t:t+``}function pU(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function mU(){return mU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mU.apply(null,arguments)}var hU=(0,z.createContext)(null),gU=e=>{var{x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o,children:s}=e,c=(0,z.useMemo)(()=>({x:t,y:n,upperWidth:r,lowerWidth:i,width:a,height:o}),[t,n,r,i,a,o]);return z.createElement(hU.Provider,{value:c},s)},_U=()=>{var e=(0,z.useContext)(hU),t=VE();return e||(t?BE(t):void 0)},vU=(0,z.createContext)(null),yU=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o,clockWise:s,children:c}=e,l=(0,z.useMemo)(()=>({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:a,endAngle:o,clockWise:s}),[t,n,r,i,a,o,s]);return z.createElement(vU.Provider,{value:l},c)},bU=()=>{var e=(0,z.useContext)(vU),t=Q(tM);return e||t},xU=e=>{var{value:t,formatter:n}=e,r=vx(e.children)?t:e.children;return typeof n==`function`?n(r):r},SU=e=>e!=null&&typeof e==`function`,CU=(e,t)=>ux(t-e)*Math.min(Math.abs(t-e),360),wU=(e,t,n,r,i)=>{var{offset:a,className:o}=e,{cx:s,cy:c,innerRadius:l,outerRadius:u,startAngle:d,endAngle:f,clockWise:p}=i,m=(l+u)/2,h=CU(d,f),g=h>=0?1:-1,_,v;switch(t){case`insideStart`:_=d+g*a,v=p;break;case`insideEnd`:_=f-g*a,v=!p;break;case`end`:_=f+g*a,v=p;break;default:throw Error(`Unsupported position ${t}`)}v=h<=0?v:!v;var y=DA(s,c,m,_),b=DA(s,c,m,_+(v?1:-1)*359),x=`M${y.x},${y.y}\n A${m},${m},0,1,${+!v},\n ${b.x},${b.y}`,S=vx(e.id)?mx(`recharts-radial-line-`):e.id;return z.createElement(`text`,mU({},r,{dominantBaseline:`central`,className:J(`recharts-radial-bar-label`,o)}),z.createElement(`defs`,null,z.createElement(`path`,{id:S,d:x})),z.createElement(`textPath`,{xlinkHref:`#${S}`},n))},TU=(e,t,n)=>{var{cx:r,cy:i,innerRadius:a,outerRadius:o,startAngle:s,endAngle:c}=e,l=(s+c)/2;if(n===`outside`){var{x:u,y:d}=DA(r,i,o+t,l);return{x:u,y:d,textAnchor:u>=r?`start`:`end`,verticalAnchor:`middle`}}if(n===`center`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`middle`};if(n===`centerTop`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`start`};if(n===`centerBottom`)return{x:r,y:i,textAnchor:`middle`,verticalAnchor:`end`};var{x:f,y:p}=DA(r,i,(a+o)/2,l);return{x:f,y:p,textAnchor:`middle`,verticalAnchor:`middle`}},EU=e=>e!=null&&`cx`in e&&X(e.cx),DU={angle:0,offset:5,zIndex:Nj.label,position:`middle`,textBreakAll:!1};function OU(e){if(!EU(e))return e;var{cx:t,cy:n,outerRadius:r}=e,i=r*2;return{x:t-r,y:n-r,width:i,upperWidth:i,lowerWidth:i,height:i}}function kU(e){var t=jx(e,DU),{viewBox:n,parentViewBox:r,position:i,value:a,children:o,content:s,className:c=``,textBreakAll:l,labelRef:u}=t,d=bU(),f=_U(),p=n==null?i===`center`?f:d??f:EU(n)?n:BE(n),m,h,g=OU(p);if(!p||vx(a)&&vx(o)&&!(0,z.isValidElement)(s)&&typeof s!=`function`)return null;var _=uU(uU({},t),{},{viewBox:p});if((0,z.isValidElement)(s)){var{labelRef:v}=_;return(0,z.cloneElement)(s,sU(_,aU))}if(typeof s==`function`){var{content:y}=_;if(m=(0,z.createElement)(s,sU(_,oU)),(0,z.isValidElement)(m))return m}else m=xU(t);var b=ny(t);if(EU(p)){if(i===`insideStart`||i===`insideEnd`||i===`end`)return wU(t,i,m,b,p);h=TU(p,t.offset,t.position)}else{if(!g)return null;var x=iU({viewBox:g,position:i,offset:t.offset,parentViewBox:EU(r)?void 0:r,clamp:!0});h=uU(uU({x:x.x,y:x.y,textAnchor:x.horizontalAnchor,verticalAnchor:x.verticalAnchor},x.width===void 0?{}:{width:x.width}),x.height===void 0?{}:{height:x.height})}return z.createElement(iV,{zIndex:t.zIndex},z.createElement(QH,mU({ref:u,className:J(`recharts-label`,c)},b,h,{textAnchor:VH(b.textAnchor)?b.textAnchor:h.textAnchor,breakAll:l}),m))}kU.displayName=`Label`;var AU=(e,t,n)=>{if(!e)return null;var r={viewBox:t,labelRef:n};return e===!0?z.createElement(kU,mU({key:`label-implicit`},r)):px(e)?z.createElement(kU,mU({key:`label-implicit`,value:e},r)):(0,z.isValidElement)(e)?e.type===kU?(0,z.cloneElement)(e,uU({key:`label-implicit`},r)):z.createElement(kU,mU({key:`label-implicit`,content:e},r)):SU(e)?z.createElement(kU,mU({key:`label-implicit`,content:e},r)):e&&typeof e==`object`?z.createElement(kU,mU({},e,{key:`label-implicit`},r)):null};function jU(e){var{label:t,labelRef:n}=e;return AU(t,_U(),n)||null}function MU(e){var{label:t}=e;return AU(t,bU())||null}var NU=[`valueAccessor`],PU=[`dataKey`,`clockWise`,`id`,`textBreakAll`,`zIndex`];function FU(){return FU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},FU.apply(null,arguments)}function IU(e,t){if(e==null)return{};var n,r,i=LU(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function LU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var RU=e=>{var t=Array.isArray(e.value)?e.value[e.value.length-1]:e.value;if(HH(t))return t},zU=(0,z.createContext)(void 0),BU=zU.Provider,VU=(0,z.createContext)(void 0),HU=VU.Provider;function UU(){return(0,z.useContext)(zU)}function WU(){return(0,z.useContext)(VU)}function GU(e){var{valueAccessor:t=RU}=e,n=IU(e,NU),{dataKey:r,clockWise:i,id:a,textBreakAll:o,zIndex:s}=n,c=IU(n,PU),l=UU(),u=WU(),d=l||u;return!d||!d.length?null:z.createElement(iV,{zIndex:s??Nj.label},z.createElement(Y,{className:`recharts-label-list`},d.map((e,i)=>{var s=vx(r)?t(e,i):KT(e.payload,r),l=vx(a)?{}:{id:`${a}-${i}`};return z.createElement(kU,FU({key:`label-${i}`},ny(e),c,l,{fill:n.fill??e.fill,parentViewBox:e.parentViewBox,value:s,textBreakAll:o,viewBox:e.viewBox,index:i,zIndex:0}))})))}GU.displayName=`LabelList`;function KU(e){var{label:t}=e;return t?t===!0?z.createElement(GU,{key:`labelList-implicit`}):z.isValidElement(t)||SU(t)?z.createElement(GU,{key:`labelList-implicit`,content:t}):typeof t==`object`?z.createElement(GU,FU({key:`labelList-implicit`},t,{type:String(t.type)})):null:null}var qU=[`points`,`className`,`baseLinePoints`,`connectNulls`],JU;function YU(){return YU=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YU.apply(null,arguments)}function XU(e,t){if(e==null)return{};var n,r,i=ZU(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ZU(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function QU(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var $U=e=>e!=null&&e.x===+e.x&&e.y===+e.y,eW=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[[]];e.forEach(e=>{var n=t[t.length-1];$U(e)?n&&n.push(e):n&&n.length>0&&t.push([])});var n=e[0],r=t[t.length-1];$U(n)&&r&&r.push(n);var i=t[t.length-1];return i&&i.length<=0&&(t=t.slice(0,-1)),t},tW=(e,t)=>{var n=eW(e);t&&(n=[n.reduce((e,t)=>[...e,...t],[])]);var r=n.map(e=>e.reduce((e,t,n)=>cx(JU||=QU([``,``,``,`,`,``]),e,n===0?`M`:`L`,t.x,t.y),``)).join(``);return n.length===1?`${r}Z`:r},nW=(e,t,n)=>{var r=tW(e,n);return`${r.slice(-1)===`Z`?r.slice(0,-1):r}L${tW(Array.from(t).reverse(),n).slice(1)}`},rW=e=>{var{points:t,className:n,baseLinePoints:r,connectNulls:i}=e,a=XU(e,qU);if(!t||!t.length)return null;var o=J(`recharts-polygon`,n);if(r&&r.length){var s=a.stroke&&a.stroke!==`none`,c=nW(t,r,i);return z.createElement(`g`,{className:o},z.createElement(`path`,YU({},ny(a),{fill:c.slice(-1)===`Z`?a.fill:`none`,stroke:`none`,d:c})),s?z.createElement(`path`,YU({},ny(a),{fill:`none`,d:tW(t,i)})):null,s?z.createElement(`path`,YU({},ny(a),{fill:`none`,d:tW(r,i)})):null)}var l=tW(t,i);return z.createElement(`path`,YU({},ny(a),{fill:l.slice(-1)===`Z`?a.fill:`none`,className:o,d:l}))};function iW(){return iW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},iW.apply(null,arguments)}var aW=e=>{var{cx:t,cy:n,r,className:i}=e,a=J(`recharts-dot`,i);return X(t)&&X(n)&&X(r)?z.createElement(`circle`,iW({},ey(e),Ox(e),{className:a,cx:t,cy:n,r})):null},oW=e=>e.graphicalItems.polarItems,sW=$([oW,bL,$([nM,rM],CL)],TL),cW=$([$([sW],kL),nj],jL),lW=$([cW,bL,sW],NL);$([cW,bL,sW],(e,t,n)=>n.length>0?e.flatMap(e=>n.flatMap(n=>({value:KT(e,t.dataKey??n.dataKey),errorDomain:[]}))).filter(Boolean):t?.dataKey==null?e.map(e=>({value:e,errorDomain:[]})):e.map(e=>({value:KT(e,t.dataKey),errorDomain:[]})));var uW=()=>void 0,dW=$([bL,GE,cW,lW,Ej,nM,$([bL,KL,qL,uW,$([cW,bL,sW,JL,nM,oj],XL),uW,GE,nM],iR)],aR),fW=$([dW,xL,sR],cR),pW=$([sR,$([bL,dW,fW,nM],uR)],pM),mW=(e,t,n)=>{switch(t){case`angleAxis`:return Gj(e,n);case`radiusAxis`:return Kj(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},hW=(e,t,n)=>{switch(t){case`angleAxis`:return Qj(e,n);case`radiusAxis`:return eM(e,n);default:throw Error(`Unexpected axis type: ${t}`)}},gW=$([$([mW,sR,pW,hW],aL)],fM),_W=$([GE,lW,xL,nM],hR),vW=$([GE,mW,sR,gW,fW,hW,ER,_W,nM],OR),yW=$([vW],e=>{if(e){var t=new Map;return e.forEach(e=>{var n=(e.coordinate+360)%360;t.has(n)||t.set(n,e)}),Array.from(t.values())}}),bW=$([GE,mW,gW,hW,ER,_W,nM],AR),xW=$([(e,t)=>vW(e,`angleAxis`,t,!1)],e=>{if(e)return e.map(e=>e.coordinate)}),SW=$([(e,t)=>vW(e,`radiusAxis`,t,!1)],e=>{if(e)return e.map(e=>e.coordinate)}),CW=[`gridType`,`radialLines`,`angleAxisId`,`radiusAxisId`,`cx`,`cy`,`innerRadius`,`outerRadius`,`polarAngles`,`polarRadius`,`zIndex`];function wW(e,t){if(e==null)return{};var n,r,i=TW(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function TW(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function EW(){return EW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},EW.apply(null,arguments)}function DW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function OW(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?DW(Object(n),!0).forEach(function(t){kW(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DW(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kW(e,t,n){return(t=AW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function AW(e){var t=jW(e,`string`);return typeof t==`symbol`?t:t+``}function jW(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var MW=(e,t,n,r)=>{var i=``;return r.forEach((r,a)=>{var o=DA(t,n,e,r);a?i+=`L ${o.x},${o.y}`:i+=`M ${o.x},${o.y}`}),i+=`Z`,i},NW=e=>{var{cx:t,cy:n,innerRadius:r,outerRadius:i,polarAngles:a,radialLines:o}=e;if(!a||!a.length||!o)return null;var s=OW({},ey(e));return z.createElement(`g`,{className:`recharts-polar-grid-angle`},a.map(e=>{var a=DA(t,n,r,e),o=DA(t,n,i,e);return z.createElement(`line`,EW({key:`line-${e}`},s,{x1:a.x,y1:a.y,x2:o.x,y2:o.y}))}))},PW=e=>{var{cx:t,cy:n,radius:r}=e,i=OW({},ey(e));return z.createElement(`circle`,EW({},i,{className:J(`recharts-polar-grid-concentric-circle`,e.className),cx:t,cy:n,r}))},FW=e=>{var{radius:t}=e,n=OW({},ey(e));return z.createElement(`path`,EW({},n,{className:J(`recharts-polar-grid-concentric-polygon`,e.className),d:MW(t,e.cx,e.cy,e.polarAngles)}))},IW=e=>{var{polarRadius:t,gridType:n}=e;if(!t||!t.length)return null;var r=Math.max(...t),i=e.fill&&e.fill!==`none`;return z.createElement(`g`,{className:`recharts-polar-grid-concentric`},i&&n===`circle`&&z.createElement(PW,EW({},e,{radius:r})),i&&n!==`circle`&&z.createElement(FW,EW({},e,{radius:r})),t.map((t,r)=>{var i=r;return n===`circle`?z.createElement(PW,EW({key:i},e,{fill:`none`,radius:t})):z.createElement(FW,EW({key:i},e,{fill:`none`,radius:t}))}))},LW={angleAxisId:0,radiusAxisId:0,gridType:`polygon`,radialLines:!0,zIndex:Nj.grid,stroke:`#ccc`,strokeWidth:1,fill:`none`},RW=e=>{var t=jx(e,LW),{gridType:n,radialLines:r,angleAxisId:i,radiusAxisId:a,cx:o,cy:s,innerRadius:c,outerRadius:l,polarAngles:u,polarRadius:d,zIndex:f}=t,p=wW(t,CW),m=Q(tM),h=Q(e=>xW(e,i)),g=Q(e=>SW(e,a)),_=Array.isArray(u)?u:h,v=Array.isArray(d)?d:g;if(_==null||v==null)return null;var y=OW({cx:m?.cx??o??0,cy:m?.cy??s??0,innerRadius:m?.innerRadius??c??0,outerRadius:m?.outerRadius??l??0,polarAngles:_,polarRadius:v,zIndex:f},p),{outerRadius:b}=y;return b<=0?null:z.createElement(iV,{zIndex:y.zIndex},z.createElement(`g`,{className:`recharts-polar-grid`},z.createElement(IW,EW({gridType:n,radialLines:r},y,{polarAngles:_,polarRadius:v})),z.createElement(NW,EW({gridType:n,radialLines:r},y,{polarAngles:_,polarRadius:v}))))};RW.displayName=`PolarGrid`;var zW=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){if(e.length===0)return;let n=e[0],r=t(n,0,e);for(let i=1;i<e.length;i++){let a=e[i],o=t(a,i,e);o>r&&(r=o,n=a)}return n}e.maxBy=t})),BW=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=zW(),n=Ix(),r=Qx();function i(e,i){if(e!=null)return t.maxBy(Array.from(e),r.iteratee(i??n.identity))}e.maxBy=i})),VW=s(((e,t)=>{t.exports=BW().maxBy})),HW=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e,t){if(e.length===0)return;let n=e[0],r=t(n,0,e);for(let i=1;i<e.length;i++){let a=e[i],o=t(a,i,e);o<r&&(r=o,n=a)}return n}e.minBy=t})),UW=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=HW(),n=Ix(),r=Qx();function i(e,i){if(e!=null)return t.minBy(Array.from(e),r.iteratee(i??n.identity))}e.minBy=i})),WW=s(((e,t)=>{t.exports=UW().minBy})),GW=Ww({name:`polarAxis`,initialState:{radiusAxis:{},angleAxis:{}},reducers:{addRadiusAxis(e,t){e.radiusAxis[t.payload.id]=ID(t.payload)},removeRadiusAxis(e,t){delete e.radiusAxis[t.payload.id]},addAngleAxis(e,t){e.angleAxis[t.payload.id]=ID(t.payload)},removeAngleAxis(e,t){delete e.angleAxis[t.payload.id]}}}),{addRadiusAxis:KW,removeRadiusAxis:qW,addAngleAxis:JW,removeAngleAxis:YW}=GW.actions,XW=GW.reducer;function ZW(e){return e&&typeof e==`object`&&`className`in e&&typeof e.className==`string`?e.className:``}var QW=u(VW()),$W=u(WW()),eG=[`type`],tG=[`cx`,`cy`,`angle`,`axisLine`],nG=[`angle`,`tickFormatter`,`stroke`,`tick`];function rG(){return rG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rG.apply(null,arguments)}function iG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function aG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?iG(Object(n),!0).forEach(function(t){oG(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oG(e,t,n){return(t=sG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sG(e){var t=cG(e,`string`);return typeof t==`symbol`?t:t+``}function cG(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function lG(e,t){if(e==null)return{};var n,r,i=uG(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function uG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var dG=`radiusAxis`;function fG(e){var t=lS(),n=YE(),r=(0,z.useMemo)(()=>{var{type:t}=e,r=lG(e,eG),i=Lj(n,`radiusAxis`,t);if(i!=null)return aG(aG({},r),{},{type:i})},[e,n]);return(0,z.useEffect)(()=>r==null?xx:(t(KW(r)),()=>{t(qW(r))}),[t,r]),null}var pG=(e,t,n,r)=>{var{coordinate:i}=e;return DA(n,r,i,t)},mG=e=>{var t;switch(e){case`left`:t=`end`;break;case`right`:t=`start`;break;default:t=`middle`;break}return t},hG=(e,t,n,r)=>{var i=(0,QW.default)(r,e=>e.coordinate||0);return{cx:t,cy:n,startAngle:e,endAngle:e,innerRadius:(0,$W.default)(r,e=>e.coordinate||0)?.coordinate||0,outerRadius:i?.coordinate||0,clockWise:!1}},gG=(e,t)=>{var{cx:n,cy:r,angle:i,axisLine:a}=e,o=lG(e,tG),s=t.reduce((e,t)=>[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)],[1/0,-1/0]),c=DA(n,r,s[0],i),l=DA(n,r,s[1],i),u=aG(aG(aG({},ey(o)),{},{fill:`none`},ey(a)),{},{x1:c.x,y1:c.y,x2:l.x,y2:l.y});return z.createElement(`line`,rG({className:`recharts-polar-radius-axis-line`},u))},_G=(e,t,n)=>z.isValidElement(e)?z.cloneElement(e,t):typeof e==`function`?e(t):z.createElement(QH,rG({},t,{className:`recharts-polar-radius-axis-tick-value`}),n),vG=(e,t)=>{var{angle:n,tickFormatter:r,stroke:i,tick:a}=e,o=lG(e,nG),s=mG(e.orientation),c=ey(o),l=ty(a),u=t.map((t,o)=>{var u=pG(t,e.angle,e.cx,e.cy),d=aG(aG(aG(aG({textAnchor:s,transform:`rotate(${90-n}, ${u.x}, ${u.y})`},c),{},{stroke:`none`,fill:i},l),{},{index:o},u),{},{payload:t});return z.createElement(Y,rG({className:J(`recharts-polar-radius-axis-tick`,ZW(a)),key:`tick-${t.coordinate}`},kx(e,t,o)),_G(a,d,r?r(t.value,o):t.value))});return z.createElement(Y,{className:`recharts-polar-radius-axis-ticks`},u)},yG=e=>{var{radiusAxisId:t}=e,n=Q(tM),r=Q(e=>gW(e,`radiusAxis`,t)),i=Q(e=>vW(e,`radiusAxis`,t,!1));if(n==null||!i||!i.length||r==null)return null;var a=aG(aG({},e),{},{scale:r},n),{tick:o,axisLine:s}=a;return z.createElement(iV,{zIndex:a.zIndex},z.createElement(Y,{className:J(`recharts-polar-radius-axis`,dG,a.className)},s&&gG(a,i),o&&vG(a,i),z.createElement(yU,hG(a.angle,a.cx,a.cy,i),z.createElement(MU,{label:a.label}),a.children)))};function bG(e){var t=jx(e,Fj);return z.createElement(z.Fragment,null,z.createElement(fG,{domain:t.domain,id:t.radiusAxisId,scale:t.scale,type:t.type,dataKey:t.dataKey,unit:void 0,name:t.name,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDataOverflow:t.allowDataOverflow,reversed:t.reversed,includeHidden:t.includeHidden,allowDecimals:t.allowDecimals,niceTicks:t.niceTicks??`auto`,ticks:t.ticks,tickCount:t.tickCount,tick:t.tick}),z.createElement(yG,t))}bG.displayName=`PolarRadiusAxis`;var xG=[`children`,`type`],SG=[`ref`];function CG(){return CG=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},CG.apply(null,arguments)}function wG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?wG(Object(n),!0).forEach(function(t){EG(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function EG(e,t,n){return(t=DG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DG(e){var t=OG(e,`string`);return typeof t==`symbol`?t:t+``}function OG(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function kG(e,t){if(e==null)return{};var n,r,i=AG(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function AG(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var jG=1e-5,MG=Math.cos(TA(45)),NG=`angleAxis`;function PG(e){var t=lS(),n=YE(),r=(0,z.useMemo)(()=>{var{children:t,type:r}=e,i=kG(e,xG),a=Lj(n,`angleAxis`,r);if(a!=null)return TG(TG({},i),{},{type:a})},[e,n]),i=r===Q(e=>Gj(e,r?.id));return(0,z.useEffect)(()=>r==null?xx:(t(JW(r)),()=>{t(YW(r))}),[t,r]),i?e.children:null}var FG=(e,t)=>{var{cx:n,cy:r,radius:i,orientation:a,tickSize:o}=t,s=o||8,c=DA(n,r,i,e.coordinate),l=DA(n,r,i+(a===`inner`?-1:1)*s,e.coordinate);return{x1:c.x,y1:c.y,x2:l.x,y2:l.y}},IG=(e,t)=>{var n=Math.cos(TA(-e.coordinate));return n>jG?t===`outer`?`start`:`end`:n<-jG?t===`outer`?`end`:`start`:`middle`},LG=e=>{var t=Math.cos(TA(-e.coordinate)),n=Math.sin(TA(-e.coordinate));return Math.abs(t)<=MG?n>0?`start`:`end`:`middle`},RG=e=>{var{cx:t,cy:n,radius:r,axisLineType:i,axisLine:a,ticks:o}=e;if(!a)return null;var s=TG(TG({},ey(e)),{},{fill:`none`},ey(a));if(i===`circle`)return z.createElement(aW,CG({className:`recharts-polar-angle-axis-line`},s,{cx:t,cy:n,r}));var c=o.map(e=>DA(t,n,r,e.coordinate));return z.createElement(rW,CG({className:`recharts-polar-angle-axis-line`},s,{points:c}))},zG=e=>{var{tick:t,tickProps:n,value:r}=e;return t?z.isValidElement(t)?z.cloneElement(t,n):typeof t==`function`?t(n):z.createElement(QH,CG({},n,{className:`recharts-polar-angle-axis-tick-value`}),r):null},BG=e=>{var{tick:t,tickLine:n,tickFormatter:r,stroke:i,ticks:a}=e,o=ey(e),{ref:s}=o,c=kG(o,SG),l=ty(t),u=TG(TG({},c),{},{fill:`none`},ey(n)),d=a.map((a,o)=>{var s=FG(a,e),d=IG(a,e.orientation),f=LG(a),p=TG(TG(TG({},c),{},{textAnchor:d,verticalAnchor:f,stroke:`none`,fill:i},l),{},{index:o,payload:a,x:s.x2,y:s.y2});return z.createElement(Y,CG({className:J(`recharts-polar-angle-axis-tick`,ZW(t)),key:`tick-${a.coordinate}`},kx(e,a,o)),n&&z.createElement(`line`,CG({className:`recharts-polar-angle-axis-tick-line`},u,s)),z.createElement(zG,{tick:t,tickProps:p,value:r?r(a.value,o):a.value}))});return z.createElement(Y,{className:`recharts-polar-angle-axis-ticks`},d)},VG=e=>{var{angleAxisId:t}=e,n=Q(tM),r=Q(e=>gW(e,`angleAxis`,t)),i=DE(),a=Q(e=>yW(e,`angleAxis`,t,i));if(n==null||!a||!a.length||r==null)return null;var o=TG(TG(TG({},e),{},{scale:r},n),{},{radius:n.outerRadius,ticks:a});return z.createElement(iV,{zIndex:o.zIndex},z.createElement(Y,{className:J(`recharts-polar-angle-axis`,NG,o.className)},z.createElement(RG,o),z.createElement(BG,o)))};function HG(e){var t=jx(e,Pj);return z.createElement(PG,{id:t.angleAxisId,scale:t.scale,type:t.type,dataKey:t.dataKey,unit:void 0,name:t.name,allowDuplicatedCategory:!1,allowDataOverflow:!1,reversed:t.reversed,includeHidden:!1,allowDecimals:t.allowDecimals,tickCount:t.tickCount,niceTicks:t.niceTicks??`auto`,ticks:t.ticks,tick:t.tick,domain:t.domain},z.createElement(VG,t))}HG.displayName=`PolarAngleAxis`;function UG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function WG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?UG(Object(n),!0).forEach(function(t){GG(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UG(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function GG(e,t,n){return(t=KG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KG(e){var t=qG(e,`string`);return typeof t==`symbol`?t:t+``}function qG(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var JG=$([oW,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`pie`).find(e=>e.id===t)),YG=[],XG=(e,t,n)=>n?.length===0?YG:n,ZG=$([nj,JG,XG],(e,t,n)=>{var{chartData:r}=e;if(t!=null){var i=t?.data!=null&&t.data.length>0?t.data:r;if((!i||!i.length)&&n!=null&&(i=n.map(e=>WG(WG({},t.presentationProps),e.props))),i!=null)return i}}),QG=$([ZG,JG,XG],(e,t,n)=>{if(!(e==null||t==null))return e.map((e,r)=>{var i,a=KT(e,t.nameKey,t.name),o=n!=null&&(i=n[r])!=null&&(i=i.props)!=null&&i.fill?n[r].props.fill:typeof e==`object`&&e&&`fill`in e?e.fill:t.fill;return{value:dE(a,t.dataKey),color:o,payload:e,type:t.legendType}})}),$G=$([ZG,JG,XG,TE],(e,t,n,r)=>{if(!(t==null||e==null))return kq({offset:r,pieSettings:t,displayedData:e,cells:n})}),eK=s((e=>{var t=60103,n=60106,r=60107,i=60108,a=60114,o=60109,s=60110,c=60112,l=60113,u=60120,d=60115,f=60116;if(typeof Symbol==`function`&&Symbol.for){var p=Symbol.for;t=p(`react.element`),n=p(`react.portal`),r=p(`react.fragment`),i=p(`react.strict_mode`),a=p(`react.profiler`),o=p(`react.provider`),s=p(`react.context`),c=p(`react.forward_ref`),l=p(`react.suspense`),u=p(`react.suspense_list`),d=p(`react.memo`),f=p(`react.lazy`),p(`react.block`),p(`react.server.block`),p(`react.fundamental`),p(`react.debug_trace_mode`),p(`react.legacy_hidden`)}function m(e){if(typeof e==`object`&&e){var p=e.$$typeof;switch(p){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:case o:return e;default:return p}}case n:return p}}}e.isFragment=function(e){return m(e)===r}})),tK=s(((e,t)=>{t.exports=eK()}))(),nK=e=>typeof e==`string`?e:e?e.displayName||e.name||`Component`:``,rK=null,iK=null,aK=e=>{if(e===rK&&Array.isArray(iK))return iK;var t=[];return z.Children.forEach(e,e=>{vx(e)||((0,tK.isFragment)(e)?t=t.concat(aK(e.props.children)):t.push(e))}),iK=t,rK=e,t};function oK(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map(e=>nK(e)):[nK(t)],aK(e).forEach(e=>{var t=(0,lx.default)(e,`type.displayName`)||(0,lx.default)(e,`type.name`);t&&r.indexOf(t)!==-1&&n.push(e)}),n}var sK=e=>e&&typeof e==`object`&&`clipDot`in e?!!e.clipDot:!0,cK=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}e.isPlainObject=t})),lK=s(((e,t)=>{t.exports=cK().isPlainObject})),uK,dK,fK,pK,mK;function hK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hK(Object(n),!0).forEach(function(t){_K(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hK(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _K(e,t,n){return(t=vK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vK(e){var t=yK(e,`string`);return typeof t==`symbol`?t:t+``}function yK(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function bK(){return bK=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bK.apply(null,arguments)}function xK(e,t){return t||=e.slice(0),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var SK=(e,t,n,r,i)=>{var a=n-r,o=cx(uK||=xK([`M `,`,`,``]),e,t);return o+=cx(dK||=xK([`L `,`,`,``]),e+n,t),o+=cx(fK||=xK([`L `,`,`,``]),e+n-a/2,t+i),o+=cx(pK||=xK([`L `,`,`,``]),e+n-a/2-r,t+i),o+=cx(mK||=xK([`L `,`,`,` Z`]),e,t),o},CK={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:`ease`},wK=e=>{var t=jx(e,CK),{x:n,y:r,upperWidth:i,lowerWidth:a,height:o,className:s}=t,{animationEasing:c,animationDuration:l,animationBegin:u,isUpdateAnimationActive:d}=t,f=(0,z.useRef)(null),[p,m]=(0,z.useState)(-1),h=(0,z.useRef)(i),g=(0,z.useRef)(a),_=(0,z.useRef)(o),v=(0,z.useRef)(n),y=(0,z.useRef)(r),b=Jk(e,`trapezoid-`);if((0,z.useEffect)(()=>{if(f.current&&f.current.getTotalLength)try{var e=f.current.getTotalLength();e&&m(e)}catch{}},[]),n!==+n||r!==+r||i!==+i||a!==+a||o!==+o||i===0&&a===0||o===0)return null;var x=J(`recharts-trapezoid`,s);if(!d)return z.createElement(`g`,null,z.createElement(`path`,bK({},ny(t),{className:x,d:SK(n,r,i,a,o)})));var S=h.current,C=g.current,w=_.current,T=v.current,E=y.current,D=`0px ${p===-1?1:p}px`,O=`${p}px ${p}px`,k=hk([`strokeDasharray`],l,c);return z.createElement(qk,{animationId:b,key:b,canBegin:p>0,duration:l,easing:c,isActive:d,begin:u},e=>{var s=Z(S,i,e),c=Z(C,a,e),l=Z(w,o,e),u=Z(T,n,e),d=Z(E,r,e);f.current&&(h.current=s,g.current=c,_.current=l,v.current=u,y.current=d);var p=e>0?{transition:k,strokeDasharray:O}:{strokeDasharray:D};return z.createElement(`path`,bK({},ny(t),{className:x,d:SK(u,d,s,c,l),ref:f,style:gK(gK({},p),t.style)}))})},TK=u(lK()),EK=[`option`,`shapeType`,`activeClassName`,`inActiveClassName`];function DK(e,t){if(e==null)return{};var n,r,i=OK(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function OK(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function kK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function AK(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?kK(Object(n),!0).forEach(function(t){jK(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kK(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function jK(e,t,n){return(t=MK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function MK(e){var t=NK(e,`string`);return typeof t==`symbol`?t:t+``}function NK(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function PK(e,t){return AK(AK({},t),e)}function FK(e,t){return e===`symbols`}function IK(e){var{shapeType:t,elementProps:n}=e;switch(t){case`rectangle`:return z.createElement(vA,n);case`trapezoid`:return z.createElement(wK,n);case`sector`:return z.createElement(YA,n);case`symbols`:if(FK(t,n))return z.createElement(Ex,n);break;case`curve`:return z.createElement(XO,n);default:return null}}function LK(e){return(0,z.isValidElement)(e)?e.props:e}function RK(e){var{option:t,shapeType:n,activeClassName:r=`recharts-active-shape`,inActiveClassName:i=`recharts-shape`}=e,a=DK(e,EK),o;if((0,z.isValidElement)(t))o=(0,z.cloneElement)(t,AK(AK({},a),LK(t)));else if(typeof t==`function`)o=t(a,a.index);else if((0,TK.default)(t)&&typeof t!=`boolean`){var s=PK(t,a);o=z.createElement(IK,{shapeType:n,elementProps:s})}else{var c=a;o=z.createElement(IK,{shapeType:n,elementProps:c})}return a.isActive?z.createElement(Y,{className:r},o):z.createElement(Y,{className:i},o)}var zK=(e,t,n)=>{var r=lS();return(i,a)=>o=>{e?.(i,a,o),r(JR({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:n}))}},BK=e=>{var t=lS();return(n,r)=>i=>{e?.(n,r,i),t(YR())}},VK=(e,t,n)=>{var r=lS();return(i,a)=>o=>{e?.(i,a,o),r(ZR({activeIndex:String(a),activeDataKey:t,activeCoordinate:i.tooltipPosition,activeGraphicalItemId:n}))}};function HK(e){var{tooltipEntrySettings:t}=e,n=lS(),r=DE(),i=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{r||(i.current===null?n(WR(t)):i.current!==t&&n(GR({prev:i.current,next:t})),i.current=t)},[t,n,r]),(0,z.useLayoutEffect)(()=>()=>{i.current&&=(n(KR(i.current)),null)},[n]),null}function UK(e){var{legendPayload:t}=e,n=lS(),r=DE(),i=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{r||(i.current===null?n(zD(t)):i.current!==t&&n(BD({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,z.useLayoutEffect)(()=>()=>{i.current&&=(n(VD(i.current)),null)},[n]),null}function WK(e){var{legendPayload:t}=e,n=lS(),r=Q(GE),i=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{r!==`centric`&&r!==`radial`||(i.current===null?n(zD(t)):i.current!==t&&n(BD({prev:i.current,next:t})),i.current=t)},[n,r,t]),(0,z.useLayoutEffect)(()=>()=>{i.current&&=(n(VD(i.current)),null)},[n]),null}var GK=z.useId??(()=>{var[e]=z.useState(()=>mx(`uid-`));return e});function KK(e,t){var n=GK();return t||(e?`${e}-${n}`:n)}var qK=(0,z.createContext)(void 0),JK=e=>{var{id:t,type:n,children:r}=e,i=KK(`recharts-${n}`,t);return z.createElement(qK.Provider,{value:i},r(i))},YK=Ww({name:`graphicalItems`,initialState:{cartesianItems:[],polarItems:[]},reducers:{addCartesianGraphicalItem:{reducer(e,t){e.cartesianItems.push(ID(t.payload))},prepare:Aw()},replaceCartesianGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=gw(e).cartesianItems.indexOf(ID(n));i>-1&&(e.cartesianItems[i]=ID(r))},prepare:Aw()},removeCartesianGraphicalItem:{reducer(e,t){var n=gw(e).cartesianItems.indexOf(ID(t.payload));n>-1&&e.cartesianItems.splice(n,1)},prepare:Aw()},addPolarGraphicalItem:{reducer(e,t){e.polarItems.push(ID(t.payload))},prepare:Aw()},removePolarGraphicalItem:{reducer(e,t){var n=gw(e).polarItems.indexOf(ID(t.payload));n>-1&&e.polarItems.splice(n,1)},prepare:Aw()},replacePolarGraphicalItem:{reducer(e,t){var{prev:n,next:r}=t.payload,i=gw(e).polarItems.indexOf(ID(n));i>-1&&(e.polarItems[i]=ID(r))},prepare:Aw()}}}),{addCartesianGraphicalItem:XK,replaceCartesianGraphicalItem:ZK,removeCartesianGraphicalItem:QK,addPolarGraphicalItem:$K,removePolarGraphicalItem:eq,replacePolarGraphicalItem:tq}=YK.actions,nq=YK.reducer,rq=(0,z.memo)(e=>{var t=lS(),n=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{n.current===null?t(XK(e)):n.current!==e&&t(ZK({prev:n.current,next:e})),n.current=e},[t,e]),(0,z.useLayoutEffect)(()=>()=>{n.current&&=(t(QK(n.current)),null)},[t]),null}),iq=(0,z.memo)(e=>{var t=lS(),n=(0,z.useRef)(null);return(0,z.useLayoutEffect)(()=>{n.current===null?t($K(e)):n.current!==e&&t(tq({prev:n.current,next:e})),n.current=e},[t,e]),(0,z.useLayoutEffect)(()=>()=>{n.current&&=(t(eq(n.current)),null)},[t]),null}),aq=[`key`],oq=[`onMouseEnter`,`onClick`,`onMouseLeave`],sq=[`id`],cq=[`id`];function lq(){return lq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lq.apply(null,arguments)}function uq(e,t){if(e==null)return{};var n,r,i=dq(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function dq(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function fq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function pq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?fq(Object(n),!0).forEach(function(t){mq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mq(e,t,n){return(t=hq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hq(e){var t=gq(e,`string`);return typeof t==`symbol`?t:t+``}function gq(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function _q(e){var t=(0,z.useMemo)(()=>oK(e.children,ZV),[e.children]),n=Q(n=>QG(n,e.id,t));return n==null?null:z.createElement(WK,{legendPayload:n})}function vq(e){if(!(e==null||typeof e==`boolean`||typeof e==`function`)){if(z.isValidElement(e)){var t=e.props?.fill;return typeof t==`string`?t:void 0}var{fill:n}=e;return typeof n==`string`?n:void 0}}var yq=z.memo(e=>{var{dataKey:t,nameKey:n,sectors:r,stroke:i,strokeWidth:a,fill:o,name:s,hide:c,tooltipType:l,id:u,activeShape:d}=e,f=vq(d),p={dataDefinedOnItem:r.map(e=>{var t=e.tooltipPayload;return f==null||t==null?t:t.map(e=>pq(pq({},e),{},{color:f,fill:f}))}),getPosition:e=>r[Number(e)]?.tooltipPosition,settings:{stroke:i,strokeWidth:a,fill:o,dataKey:t,nameKey:n,name:dE(s,t),hide:c,type:l,color:o,unit:``,graphicalItemId:u}};return z.createElement(HK,{tooltipEntrySettings:p})}),bq=(e,t)=>e>t?`start`:e<t?`end`:`middle`,xq=(e,t,n)=>hx(typeof t==`function`?t(e):t,n,n*.8),Sq=(e,t,n)=>{var{top:r,left:i,width:a,height:o}=t,s=OA(a,o);return{cx:i+hx(e.cx,a,a/2),cy:r+hx(e.cy,o,o/2),innerRadius:hx(e.innerRadius,s,0),outerRadius:xq(n,e.outerRadius,s),maxRadius:e.maxRadius||Math.sqrt(a*a+o*o)/2}},Cq=(e,t)=>ux(t-e)*Math.min(Math.abs(t-e),360),wq=(e,t)=>{if(z.isValidElement(e))return z.cloneElement(e,t);if(typeof e==`function`)return e(t);var n=J(`recharts-pie-label-line`,typeof e==`boolean`?``:e.className),{key:r}=t,i=uq(t,aq);return z.createElement(XO,lq({},i,{type:`linear`,className:n}))},Tq=(e,t,n)=>{if(z.isValidElement(e))return z.cloneElement(e,t);var r=n;if(typeof e==`function`&&(r=e(t),z.isValidElement(r)))return r;var i=J(`recharts-pie-label-text`,ZW(e));return z.createElement(QH,lq({},t,{alignmentBaseline:`middle`,className:i}),r)};function Eq(e){var{sectors:t,props:n,showLabels:r}=e,{label:i,labelLine:a,dataKey:o}=n;if(!r||!i||!t)return null;var s=ey(n),c=ty(i),l=ty(a),u=typeof i==`object`&&`offsetRadius`in i&&typeof i.offsetRadius==`number`&&i.offsetRadius||20,d=t.map((e,t)=>{var n=(e.startAngle+e.endAngle)/2,r=DA(e.cx,e.cy,e.outerRadius+u,n),d=pq(pq(pq(pq({},s),e),{},{stroke:`none`},c),{},{index:t,textAnchor:bq(r.x,e.cx)},r),f=pq(pq(pq(pq({},s),e),{},{fill:`none`,stroke:e.fill},l),{},{index:t,points:[DA(e.cx,e.cy,e.outerRadius,n),r],key:`line`});return z.createElement(iV,{zIndex:Nj.label,key:`label-${e.startAngle}-${e.endAngle}-${e.midAngle}-${t}`},z.createElement(Y,null,a&&wq(a,f),Tq(i,d,KT(e,o))))});return z.createElement(Y,{className:`recharts-pie-labels`},d)}function Dq(e){var{sectors:t,props:n,showLabels:r}=e,{label:i}=n;return typeof i==`object`&&i&&`position`in i?z.createElement(KU,{label:i}):z.createElement(Eq,{sectors:t,props:n,showLabels:r})}function Oq(e){var{sectors:t,activeShape:n,inactiveShape:r,allOtherPieProps:i,shape:a,id:o}=e,s=Q(tB),c=Q(rB),l=Q(iB),{onMouseEnter:u,onClick:d,onMouseLeave:f}=i,p=uq(i,oq),m=zK(u,i.dataKey,o),h=BK(f),g=VK(d,i.dataKey,o);return t==null||t.length===0?null:z.createElement(z.Fragment,null,t.map((e,u)=>{if(e?.startAngle===0&&e?.endAngle===0&&t.length!==1)return null;var d=l==null||l===o,f=String(u)===s&&(c==null||i.dataKey===c)&&d,_=n&&f?n:s?r:null,v=pq(pq({},e),{},{stroke:e.stroke,tabIndex:-1,[xE]:u,[SE]:o});return z.createElement(Y,lq({key:`sector-${e?.startAngle}-${e?.endAngle}-${e.midAngle}-${u}`,tabIndex:-1,className:`recharts-pie-sector`},kx(p,e,u),{onMouseEnter:m(e,u),onMouseLeave:h(e,u),onClick:g(e,u)}),z.createElement(RK,lq({option:a??_,index:u,shapeType:`sector`,isActive:f},v)))}))}function kq(e){var{pieSettings:t,displayedData:n,cells:r,offset:i}=e,{cornerRadius:a,startAngle:o,endAngle:s,dataKey:c,nameKey:l,tooltipType:u}=t,d=Math.abs(t.minAngle),f=Cq(o,s),p=Math.abs(f),m=n.length<=1?0:t.paddingAngle??0,h=n.filter(e=>KT(e,c,0)!==0).length,g=(p>=360?h:h-1)*m,_=n.reduce((e,t)=>{var n=KT(t,c,0);return e+(X(n)?n:0)},0),v=d>0&&_>0&&n.some(e=>{var t=KT(e,c,0),n=(X(t)?t:0)/_;return t!==0&&n*p<d})?d:0,y=p-h*v-g,b;if(_>0){var x;b=n.map((e,n)=>{var s=KT(e,c,0),d=KT(e,l,n),p=Sq(t,i,e),h=(X(s)?s:0)/_,g,b=pq(pq({},e),r&&r[n]&&r[n].props),S=b!=null&&`fill`in b&&typeof b.fill==`string`?b.fill:t.fill;g=n?x.endAngle+ux(f)*m*(s===0?0:1):o;var C=g+ux(f)*((s===0?0:v)+h*y),w=(g+C)/2,T=(p.innerRadius+p.outerRadius)/2,E=[{name:d,value:s,payload:b,dataKey:c,type:u,color:S,fill:S,graphicalItemId:t.id}],D=DA(p.cx,p.cy,T,w);return x=pq(pq(pq(pq({},t.presentationProps),{},{percent:h,cornerRadius:typeof a==`string`?parseFloat(a):a,name:d,tooltipPayload:E,midAngle:w,middleRadius:T,tooltipPosition:D},b),p),{},{value:s,dataKey:c,startAngle:g,endAngle:C,payload:b,paddingAngle:s===0?0:ux(f)*m}),x})}return b}function Aq(e){var{showLabels:t,sectors:n,children:r}=e,i=(0,z.useMemo)(()=>!t||!n?[]:n.map(e=>({value:e.value,payload:e.payload,clockWise:!1,parentViewBox:void 0,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill})),[n,t]);return z.createElement(HU,{value:t?i:void 0},r)}function jq(e){var{props:t,previousSectorsRef:n,id:r}=e,{sectors:i,isAnimationActive:a,animationBegin:o,animationDuration:s,animationEasing:c,activeShape:l,inactiveShape:u,onAnimationStart:d,onAnimationEnd:f}=t,p=Jk(t,`recharts-pie-`),m=n.current,[h,g]=(0,z.useState)(!1),_=(0,z.useCallback)(()=>{typeof f==`function`&&f(),g(!1)},[f]),v=(0,z.useCallback)(()=>{typeof d==`function`&&d(),g(!0)},[d]);return z.createElement(Aq,{showLabels:!h,sectors:i},z.createElement(qk,{animationId:p,begin:o,duration:s,isActive:a,easing:c,onAnimationStart:v,onAnimationEnd:_,key:p},e=>{var a=[],o=(i&&i[0])?.startAngle??0;return i?.forEach((t,n)=>{var r=m&&m[n],i=n>0?(0,lx.default)(t,`paddingAngle`,0):0;if(r){var s=Z(r.endAngle-r.startAngle,t.endAngle-t.startAngle,e),c=pq(pq({},t),{},{startAngle:o+i,endAngle:o+s+i});a.push(c),o=c.endAngle}else{var{endAngle:l,startAngle:u}=t,d=Z(0,l-u,e),f=pq(pq({},t),{},{startAngle:o+i,endAngle:o+d+i});a.push(f),o=f.endAngle}}),n.current=a,z.createElement(Y,null,z.createElement(Oq,{sectors:a,activeShape:l,inactiveShape:u,allOtherPieProps:t,shape:t.shape,id:r}))}),z.createElement(Dq,{showLabels:!h,sectors:i,props:t}),t.children)}var Mq={animationBegin:400,animationDuration:1500,animationEasing:`ease`,cx:`50%`,cy:`50%`,dataKey:`value`,endAngle:360,fill:`#808080`,hide:!1,innerRadius:0,isAnimationActive:`auto`,label:!1,labelLine:!0,legendType:`rect`,minAngle:0,nameKey:`name`,outerRadius:`80%`,paddingAngle:0,rootTabIndex:0,startAngle:0,stroke:`#fff`,zIndex:Nj.area};function Nq(e){var{id:t}=e,n=uq(e,sq),{hide:r,className:i,rootTabIndex:a}=e,o=(0,z.useMemo)(()=>oK(e.children,ZV),[e.children]),s=Q(e=>$G(e,t,o)),c=(0,z.useRef)(null),l=J(`recharts-pie`,i);return r||s==null?(c.current=null,z.createElement(Y,{tabIndex:a,className:l})):z.createElement(iV,{zIndex:e.zIndex},z.createElement(yq,{dataKey:e.dataKey,nameKey:e.nameKey,sectors:s,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:t,activeShape:e.activeShape}),z.createElement(Y,{tabIndex:a,className:l},z.createElement(jq,{props:pq(pq({},n),{},{sectors:s}),previousSectorsRef:c,id:t})))}function Pq(e){var t=jx(e,Mq),{id:n}=t,r=uq(t,cq),i=ey(r);return z.createElement(JK,{id:n,type:`pie`},e=>z.createElement(z.Fragment,null,z.createElement(iq,{type:`pie`,id:e,data:r.data,dataKey:r.dataKey,hide:r.hide,angleAxisId:0,radiusAxisId:0,name:r.name,nameKey:r.nameKey,tooltipType:r.tooltipType,legendType:r.legendType,fill:r.fill,cx:r.cx,cy:r.cy,startAngle:r.startAngle,endAngle:r.endAngle,paddingAngle:r.paddingAngle,minAngle:r.minAngle,innerRadius:r.innerRadius,outerRadius:r.outerRadius,cornerRadius:r.cornerRadius,presentationProps:i,maxRadius:t.maxRadius}),z.createElement(_q,lq({},r,{id:e})),z.createElement(Nq,lq({},r,{id:e}))))}var Fq=Pq;Fq.displayName=`Pie`;var Iq=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return e[e.length-1]}e.last=t})),Lq=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return Array.isArray(e)?e:Array.from(e)}e.toArray=t})),Rq=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Iq(),n=Lq(),r=Lx();function i(e){if(r.isArrayLike(e))return t.last(n.toArray(e))}e.last=i})),zq=s(((e,t)=>{t.exports=Rq().last})),Bq=[`points`];function Vq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Hq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Vq(Object(n),!0).forEach(function(t){Uq(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Uq(e,t,n){return(t=Wq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Wq(e){var t=Gq(e,`string`);return typeof t==`symbol`?t:t+``}function Gq(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Kq(){return Kq=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kq.apply(null,arguments)}function qq(e,t){if(e==null)return{};var n,r,i=Jq(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Jq(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Yq(e){var{option:t,dotProps:n,className:r}=e;if((0,z.isValidElement)(t))return(0,z.cloneElement)(t,n);if(typeof t==`function`)return t(n);var i=J(r,typeof t==`boolean`?``:t.className),a=n??{},{points:o}=a,s=qq(a,Bq);return z.createElement(aW,Kq({},s,{className:i}))}function Xq(e,t){return e==null?!1:t?!0:e.length===1}function Zq(e){var{points:t,dot:n,className:r,dotClassName:i,dataKey:a,baseProps:o,needClip:s,clipPathId:c,zIndex:l=Nj.scatter}=e;if(!Xq(t,n))return null;var u=sK(n),d=ry(n),f=t.map((e,r)=>{var s=Hq(Hq(Hq({r:3},o),d),{},{index:r,cx:e.x??void 0,cy:e.y??void 0,dataKey:a,value:e.value,payload:e.payload,points:t});return z.createElement(Yq,{key:`dot-${r}`,option:n,dotProps:s,className:i})}),p={};return s&&c!=null&&(p.clipPath=`url(#clipPath-${u?``:`dots-`}${c})`),z.createElement(iV,{zIndex:l},z.createElement(Y,Kq({className:r},p),f))}function Qq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function $q(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Qq(Object(n),!0).forEach(function(t){eJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eJ(e,t,n){return(t=tJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tJ(e){var t=nJ(e,`string`);return typeof t==`symbol`?t:t+``}function nJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var rJ=Ww({name:`cartesianAxis`,initialState:{xAxis:{},yAxis:{},zAxis:{}},reducers:{addXAxis:{reducer(e,t){e.xAxis[t.payload.id]=ID(t.payload)},prepare:Aw()},replaceXAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.xAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.xAxis[n.id],e.xAxis[r.id]=ID(r))},prepare:Aw()},removeXAxis:{reducer(e,t){delete e.xAxis[t.payload.id]},prepare:Aw()},addYAxis:{reducer(e,t){e.yAxis[t.payload.id]=ID(t.payload)},prepare:Aw()},replaceYAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.yAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.yAxis[n.id],e.yAxis[r.id]=ID(r))},prepare:Aw()},removeYAxis:{reducer(e,t){delete e.yAxis[t.payload.id]},prepare:Aw()},addZAxis:{reducer(e,t){e.zAxis[t.payload.id]=ID(t.payload)},prepare:Aw()},replaceZAxis:{reducer(e,t){var{prev:n,next:r}=t.payload;e.zAxis[n.id]!==void 0&&(n.id!==r.id&&delete e.zAxis[n.id],e.zAxis[r.id]=ID(r))},prepare:Aw()},removeZAxis:{reducer(e,t){delete e.zAxis[t.payload.id]},prepare:Aw()},updateYAxisWidth(e,t){var{id:n,width:r}=t.payload,i=e.yAxis[n];if(i){var a=i.widthHistory||[];if(a.length===3&&a[0]===a[2]&&r===a[1]&&r!==i.width&&Math.abs(r-(a[0]??0))<=1)return;var o=[...a,r].slice(-3);e.yAxis[n]=$q($q({},i),{},{width:r,widthHistory:o})}}}}),{addXAxis:iJ,replaceXAxis:aJ,removeXAxis:oJ,addYAxis:sJ,replaceYAxis:cJ,removeYAxis:lJ,addZAxis:Zie,replaceZAxis:Qie,removeZAxis:$ie,updateYAxisWidth:uJ}=rJ.actions,dJ=rJ.reducer,fJ=$([$([TE],e=>({top:e.top,bottom:e.bottom,left:e.left,right:e.right})),mE,hE],(e,t,n)=>{if(!(!e||t==null||n==null))return{x:e.left,y:e.top,width:Math.max(0,t-e.left-e.right),height:Math.max(0,n-e.top-e.bottom)}}),pJ=()=>Q(fJ),mJ=()=>Q(cB);function hJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?hJ(Object(n),!0).forEach(function(t){_J(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _J(e,t,n){return(t=vJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vJ(e){var t=yJ(e,`string`);return typeof t==`symbol`?t:t+``}function yJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var bJ=e=>{var{point:t,childIndex:n,mainColor:r,activeDot:i,dataKey:a,clipPath:o}=e;if(i===!1||t.x==null||t.y==null)return null;var s=gJ(gJ(gJ({},{index:n,dataKey:a,cx:t.x,cy:t.y,r:4,fill:r??`none`,strokeWidth:2,stroke:`#fff`,payload:t.payload,value:t.value}),ty(i)),Ox(i)),c=(0,z.isValidElement)(i)?(0,z.cloneElement)(i,s):typeof i==`function`?i(s):z.createElement(aW,s);return z.createElement(Y,{className:`recharts-active-dot`,clipPath:o},c)};function xJ(e){var{points:t,mainColor:n,activeDot:r,itemDataKey:i,clipPath:a,zIndex:o=Nj.activeDot}=e,s=Q(tB),c=mJ();if(t==null||c==null)return null;var l=t.find(e=>c.includes(e.payload));return vx(l)?null:z.createElement(iV,{zIndex:o},z.createElement(bJ,{point:l,childIndex:Number(s),mainColor:n,dataKey:i,activeDot:r,clipPath:a}))}function SJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function CJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?SJ(Object(n),!0).forEach(function(t){wJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wJ(e,t,n){return(t=TJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TJ(e){var t=EJ(e,`string`);return typeof t==`symbol`?t:t+``}function EJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var DJ=(e,t)=>gW(e,`radiusAxis`,t),OJ=$([DJ],e=>{if(e!=null)return{scale:e}}),kJ=$([Kj,DJ],(e,t)=>{if(!(e==null||t==null))return CJ(CJ({},e),{},{scale:t})}),AJ=(e,t,n,r)=>vW(e,`radiusAxis`,t,r),jJ=(e,t,n)=>Gj(e,n),MJ=(e,t,n)=>gW(e,`angleAxis`,n),NJ=$([jJ,MJ],(e,t)=>{if(!(e==null||t==null))return CJ(CJ({},e),{},{scale:t})}),PJ=(e,t,n,r)=>vW(e,`angleAxis`,n,r),FJ=$([jJ,MJ,tM],(e,t,n)=>{if(!(n==null||t==null))return{scale:t,type:e.type,dataKey:e.dataKey,cx:n.cx,cy:n.cy}}),IJ=(e,t,n,r,i)=>i,LJ=$([GE,kJ,AJ,NJ,PJ],(e,t,n,r,i)=>JT(e,`radiusAxis`)?lE(t,n,!1):lE(r,i,!1)),RJ=$([OJ,FJ,nj,$([oW,IJ],(e,t)=>{if(e!=null)return e.find(e=>e.type===`radar`&&t===e.id)?.dataKey}),LJ],(e,t,n,r,i)=>{var{chartData:a,dataStartIndex:o,dataEndIndex:s}=n;if(!(e==null||t==null||a==null||i==null||r==null))return $J({radiusAxis:e,angleAxis:t,displayedData:a.slice(o,s+1),dataKey:r,bandSize:i})}),zJ=u(zq()),BJ=[`id`];function VJ(){return VJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},VJ.apply(null,arguments)}function HJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function UJ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?HJ(Object(n),!0).forEach(function(t){WJ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function WJ(e,t,n){return(t=GJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GJ(e){var t=KJ(e,`string`);return typeof t==`symbol`?t:t+``}function KJ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function qJ(e,t){if(e==null)return{};var n,r,i=JJ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function JJ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function YJ(e,t){return e&&e!==`none`?e:t}var XJ=e=>{var{dataKey:t,name:n,stroke:r,fill:i,legendType:a,hide:o}=e;return[{inactive:o,dataKey:t,type:a,color:YJ(r,i),value:dE(n,t),payload:e}]},ZJ=z.memo(e=>{var{dataKey:t,stroke:n,strokeWidth:r,fill:i,name:a,hide:o,tooltipType:s,id:c}=e,l={dataDefinedOnItem:void 0,getPosition:xx,settings:{stroke:n,strokeWidth:r,fill:i,nameKey:void 0,dataKey:t,name:dE(a,t),hide:o,type:s,color:YJ(n,i),unit:``,graphicalItemId:c}};return z.createElement(HK,{tooltipEntrySettings:l})});function QJ(e){var{points:t,props:n}=e,{dot:r,dataKey:i}=n,{id:a}=n,o=ey(qJ(n,BJ));return z.createElement(Zq,{points:t,dot:r,className:`recharts-radar-dots`,dotClassName:`recharts-radar-dot`,dataKey:i,baseProps:o})}function $J(e){var{radiusAxis:t,angleAxis:n,displayedData:r,dataKey:i,bandSize:a}=e,{cx:o,cy:s}=n,c=!1,l=[],u=n.type===`number`?0:a??0;r.forEach((e,r)=>{var a=KT(e,n.dataKey,r),d=KT(e,i),f=(n.scale.map(a)??0)+u,p=Array.isArray(d)?(0,zJ.default)(d):d,m=vx(p)?0:t.scale.map(p)??0;Array.isArray(d)&&d.length>=2&&(c=!0),l.push(UJ(UJ({},DA(o,s,m,f)),{},{name:a,value:d,cx:o,cy:s,radius:m,angle:f,payload:e}))});var d=[];return c&&l.forEach(e=>{if(Array.isArray(e.value)){var n=e.value[0],r=vx(n)?0:t.scale.map(n)??0;d.push(UJ(UJ({},e),{},{radius:r},DA(o,s,r,e.angle)))}else d.push(e)}),{points:l,isRange:c,baseLinePoints:d}}function eY(e){var{showLabels:t,points:n,children:r}=e,i=n.map(e=>{var t={x:e.x,y:e.y,width:0,lowerWidth:0,upperWidth:0,height:0};return UJ(UJ({},t),{},{value:e.value??``,payload:e.payload,parentViewBox:void 0,viewBox:t,fill:void 0})});return z.createElement(BU,{value:t?i:void 0},r)}function tY(e){var{points:t,baseLinePoints:n,props:r}=e;if(t==null)return null;var{shape:i,isRange:a,connectNulls:o}=r,s=z.isValidElement(i)?z.cloneElement(i,UJ(UJ({},r),{},{points:t})):typeof i==`function`?i(UJ(UJ({},r),{},{points:t})):z.createElement(rW,VJ({},ny(r),{onMouseEnter:e=>{var{onMouseEnter:t}=r;t&&t(r,e)},onMouseLeave:e=>{var{onMouseLeave:t}=r;t&&t(r,e)},points:t,baseLinePoints:a?n:void 0,connectNulls:o}));return z.createElement(Y,{className:`recharts-radar-polygon`},s,z.createElement(QJ,{props:r,points:t}))}var nY=(e,t,n)=>(r,i)=>{var a=e&&e[Math.floor(i*t)];return a?UJ(UJ({},r),{},{x:Z(a.x,r.x,n),y:Z(a.y,r.y,n)}):UJ(UJ({},r),{},{x:Z(r.cx,r.x,n),y:Z(r.cy,r.y,n)})};function rY(e){var{props:t,previousPointsRef:n,previousBaseLinePointsRef:r}=e,{points:i,baseLinePoints:a,isAnimationActive:o,animationBegin:s,animationDuration:c,animationEasing:l,onAnimationEnd:u,onAnimationStart:d}=t,f=n.current,p=r.current,m=f?f.length/i.length:1,h=p?p.length/a.length:1,g=Jk(t,`recharts-radar-`),[_,v]=(0,z.useState)(!1),y=!_,b=(0,z.useCallback)(()=>{typeof u==`function`&&u(),v(!1)},[u]),x=(0,z.useCallback)(()=>{typeof d==`function`&&d(),v(!0)},[d]);return z.createElement(eY,{showLabels:y,points:i},z.createElement(qk,{animationId:g,begin:s,duration:c,isActive:o,easing:l,key:`radar-${g}`,onAnimationEnd:b,onAnimationStart:x},e=>{var o=e===1?i:i.map(nY(f,m,e)),s=e===1?a:a?.map(nY(p,h,e));return e>0&&(n.current=o,r.current=s),z.createElement(tY,{points:o,baseLinePoints:s,props:t})}),z.createElement(KU,{label:t.label}),t.children)}function iY(e){var t=(0,z.useRef)(void 0),n=(0,z.useRef)(void 0);return z.createElement(rY,{props:e,previousPointsRef:t,previousBaseLinePointsRef:n})}var aY={activeDot:!0,angleAxisId:0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,dot:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,radiusAxisId:0,zIndex:Nj.area};function oY(e){var{hide:t,className:n,points:r}=e;if(t)return null;var i=J(`recharts-radar`,n);return z.createElement(iV,{zIndex:e.zIndex},z.createElement(Y,{className:i},z.createElement(iY,e)),z.createElement(xJ,{points:r,mainColor:YJ(e.stroke,e.fill),itemDataKey:e.dataKey,activeDot:e.activeDot}))}function sY(e){var t=DE(),n=Q(n=>RJ(n,e.radiusAxisId,e.angleAxisId,t,e.id));return n?.points==null?null:z.createElement(oY,VJ({},e,{points:n?.points,baseLinePoints:n?.baseLinePoints,isRange:n?.isRange}))}function cY(e){var t=jx(e,aY);return z.createElement(JK,{id:t.id,type:`radar`},e=>z.createElement(z.Fragment,null,z.createElement(iq,{type:`radar`,id:e,data:void 0,dataKey:t.dataKey,hide:t.hide,angleAxisId:t.angleAxisId,radiusAxisId:t.radiusAxisId}),z.createElement(WK,{legendPayload:XJ(t)}),z.createElement(ZJ,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,tooltipType:t.tooltipType,id:e}),z.createElement(sY,VJ({},t,{id:e}))))}cY.displayName=`Radar`;function lY(){return lY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lY.apply(null,arguments)}function uY(e){return typeof e==`string`?parseInt(e,10):e}function dY(e){return z.createElement(RK,lY({shapeType:`sector`},e))}var fY=(e,t,n)=>{var r=n??e;if(!vx(r))return hx(r,t,0)},pY=(e,t,n)=>{var r={},i=e.filter(oM),a=e.filter(e=>e.stackId==null),o=i.reduce((e,t)=>{var n=e[t.stackId];return n??=[],n.push(t),e[t.stackId]=n,e},r),s=Object.entries(o).map(e=>{var[r,i]=e;return{stackId:r,dataKeys:i.map(e=>e.dataKey),barSize:fY(t,n,i[0]?.barSize)}}),c=a.map(e=>({stackId:void 0,dataKeys:[e.dataKey].filter(e=>e!=null),barSize:fY(t,n,e.barSize)}));return[...s,...c]};function mY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?mY(Object(n),!0).forEach(function(t){gY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gY(e,t,n){return(t=_Y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _Y(e){var t=vY(e,`string`);return typeof t==`symbol`?t:t+``}function vY(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function yY(e,t,n,r,i){var a=r.length;if(!(a<1)){var o=hx(e,n,0,!0),s,c=[];if(zT(r[0]?.barSize)){var l=!1,u=n/a,d=r.reduce((e,t)=>e+(t.barSize||0),0);d+=(a-1)*o,d>=n&&(d-=(a-1)*o,o=0),d>=n&&u>0&&(l=!0,u*=.9,d=a*u);var f={offset:((n-d)/2>>0)-o,size:0};s=r.reduce((e,t)=>{var n={stackId:t.stackId,dataKeys:t.dataKeys,position:{offset:f.offset+f.size+o,size:l?u:t.barSize??0}},r=[...e,n];return f=n.position,r},c)}else{var p=hx(t,n,0,!0);n-2*p-(a-1)*o<=0&&(o=0);var m=(n-2*p-(a-1)*o)/a;m>1&&(m>>=0);var h=zT(i)?Math.min(m,i):m;s=r.reduce((e,t,n)=>[...e,{stackId:t.stackId,dataKeys:t.dataKeys,position:{offset:p+(m+o)*n+(m-h)/2,size:h}}],c)}return s}}var bY=(e,t,n,r,i,a,o)=>{var s=vx(o)?t:o,c=yY(n,r,i===a?a:i,e,s);return i!==a&&c!=null&&(c=c.map(e=>hY(hY({},e),{},{position:hY(hY({},e.position),{},{offset:e.position.offset-i/2})}))),c},xY=(e,t)=>{var n=iM(t);if(!(!e||n==null||t==null)){var{stackId:r}=t;if(r!=null){var i=e[r];if(i){var{stackedData:a}=i;if(a)return a.find(e=>e.key===n)}}}},SY=(e,t)=>{if(!(e==null||t==null)){var n=e.find(e=>e.stackId===t.stackId&&t.dataKey!=null&&e.dataKeys.includes(t.dataKey));if(n!=null)return n.position}};function CY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function wY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?CY(Object(n),!0).forEach(function(t){TY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function TY(e,t,n){return(t=EY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function EY(e){var t=DY(e,`string`);return typeof t==`symbol`?t:t+``}function DY(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var OY=$([(e,t)=>Kj(e,t),(e,t)=>gW(e,`radiusAxis`,t)],(e,t)=>{if(!(e==null||t==null))return wY(wY({},e),{},{scale:t})}),kY=(e,t)=>bW(e,`radiusAxis`,t,!1),AY=$([(e,t,n)=>Gj(e,n),(e,t,n)=>gW(e,`angleAxis`,n)],(e,t)=>{if(!(e==null||t==null))return wY(wY({},e),{},{scale:t})}),jY=(e,t,n)=>vW(e,`angleAxis`,n,!1),MY=$([oW,(e,t,n,r)=>r],(e,t)=>{if(e.some(e=>e.type===`radialBar`&&t.dataKey===e.dataKey&&t.stackId===e.stackId))return t}),NY=$([GE,OY,kY,AY,jY],(e,t,n,r,i)=>JT(e,`radiusAxis`)?lE(t,n,!1):lE(r,i,!1)),PY=$([AY,OY,GE],(e,t,n)=>{var r=n===`radial`?e:t;if(!(r==null||r.scale==null))return rE({numericAxis:r})}),FY=(e,t,n,r,i)=>i,IY=(e,t,n,r,i)=>n,LY=(e,t,n,r,i)=>t,RY=(e,t,n,r,i)=>r.maxBarSize,zY=e=>e.type===`radialBar`,BY=$([$([$([$([GE,oW,IY,LY],(e,t,n,r)=>t.filter(t=>e===`centric`?t.angleAxisId===n:t.radiusAxisId===r).filter(e=>e.hide===!1).filter(zY)),Tj,()=>void 0],pY),Sj,Cj,wj,$([GE,Sj,AY,jY,OY,kY,RY],(e,t,n,r,i,a,o)=>{var s=vx(o)?t:o;return e===`centric`?lE(n,r,!0)??s??0:lE(i,a,!0)??s??0}),NY,RY],bY),MY],SY),VY=$([sW],e=>e.filter(zY).filter(oM)),HY=$([$([VY,nj,BL],aM),VY,Ej,Dj],HL),UY=$([AY,jY,OY,kY,tj,MY,NY,GE,PY,tM,FY,BY,$([(e,t,n)=>GE(e)===`centric`?HY(e,`radiusAxis`,t):HY(e,`angleAxis`,n),MY],xY)],(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{var{chartData:p,dataStartIndex:m,dataEndIndex:h}=i;if(a==null||n==null||e==null||p==null||o==null||d==null||s!==`centric`&&s!==`radial`||r==null||l==null)return[];var{dataKey:g,minPointSize:_}=a,{cx:v,cy:y,startAngle:b,endAngle:x}=l;return pX({angleAxis:e,angleAxisTicks:t,bandSize:o,baseValue:c,cells:u,cx:v,cy:y,dataKey:g,dataStartIndex:m,displayedData:p.slice(m,h+1),endAngle:x,layout:s,minPointSize:_,pos:d,radiusAxis:n,radiusAxisTicks:r,stackedData:f,stackedDomain:f?(s===`centric`?n:e).scale.domain():null,startAngle:b})}),WY=$([nj,(e,t)=>t],(e,t)=>{var{chartData:n,dataStartIndex:r,dataEndIndex:i}=e;if(n==null)return[];var a=n.slice(r,i+1);return a.length===0?[]:a.map(e=>({type:t,value:e.name,color:e.fill,payload:e}))});function GY(e,t){return e&&typeof e==`object`&&`zIndex`in e&&typeof e.zIndex==`number`&&zT(e.zIndex)?e.zIndex:t}var KY=[`shape`,`activeShape`,`cornerRadius`,`id`],qY=[`onMouseEnter`,`onClick`,`onMouseLeave`],JY=[`value`,`background`];function YY(){return YY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YY.apply(null,arguments)}function XY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ZY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?XY(Object(n),!0).forEach(function(t){QY(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XY(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function QY(e,t,n){return(t=$Y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $Y(e){var t=eX(e,`string`);return typeof t==`symbol`?t:t+``}function eX(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function tX(e,t){if(e==null)return{};var n,r,i=nX(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function nX(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var rX=[];function iX(e){var{showLabels:t,sectors:n,children:r}=e,i=n.map(e=>({value:e.value,payload:e.payload,parentViewBox:void 0,clockWise:!1,viewBox:{cx:e.cx,cy:e.cy,innerRadius:e.innerRadius,outerRadius:e.outerRadius,startAngle:e.startAngle,endAngle:e.endAngle,clockWise:!1},fill:e.fill}));return z.createElement(HU,{value:t?i:void 0},r)}function aX(e){var{sectors:t,allOtherRadialBarProps:n,showLabels:r}=e,{shape:i,activeShape:a,cornerRadius:o,id:s}=n,c=tX(n,KY),l=ey(c),u=Q(tB),{onMouseEnter:d,onClick:f,onMouseLeave:p}=n,m=tX(n,qY),h=zK(d,n.dataKey,s),g=BK(p),_=VK(f,n.dataKey,s);return t==null?null:z.createElement(iX,{showLabels:r,sectors:t},t.map((e,t)=>{var n=!!(a&&u===String(t)),r=h(e,t),s=g(e,t),d=_(e,t),f=ZY(ZY(ZY(ZY({},l),{},{cornerRadius:uY(o)},e),kx(m,e,t)),{},{onMouseEnter:r,onMouseLeave:s,onClick:d,className:`recharts-radial-bar-sector ${e.className}`,forceCornerRadius:c.forceCornerRadius,cornerIsExternal:c.cornerIsExternal,isActive:n,option:n?a:i,index:t});return n?z.createElement(iV,{zIndex:Nj.activeBar,key:`sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`},z.createElement(dY,f)):z.createElement(dY,YY({key:`sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`},f))}),z.createElement(KU,{label:n.label}),n.children)}function oX(e){var{props:t,previousSectorsRef:n}=e,{sectors:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s,onAnimationEnd:c,onAnimationStart:l}=t,u=Jk(t,`recharts-radialbar-`),d=n.current,[f,p]=(0,z.useState)(!1),m=(0,z.useCallback)(()=>{typeof c==`function`&&c(),p(!1)},[c]),h=(0,z.useCallback)(()=>{typeof l==`function`&&l(),p(!0)},[l]);return z.createElement(qk,{animationId:u,begin:a,duration:o,isActive:i,easing:s,onAnimationStart:h,onAnimationEnd:m,key:u},e=>{var i=e===1?r:(r??rX).map((t,n)=>{var r=d&&d[n];if(r)return ZY(ZY({},t),{},{startAngle:Z(r.startAngle,t.startAngle,e),endAngle:Z(r.endAngle,t.endAngle,e)});var{endAngle:i,startAngle:a}=t;return ZY(ZY({},t),{},{endAngle:Z(a,i,e)})});return e>0&&(n.current=i??null),z.createElement(aX,{sectors:i??rX,allOtherRadialBarProps:t,showLabels:!f})})}function sX(e){var t=(0,z.useRef)(null);return z.createElement(oX,{props:e,previousSectorsRef:t})}function cX(e){var t=Q(t=>WY(t,e.legendType));return z.createElement(WK,{legendPayload:t??[]})}var lX=z.memo(e=>{var{dataKey:t,sectors:n,stroke:r,strokeWidth:i,name:a,hide:o,fill:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:n,getPosition:xx,settings:{graphicalItemId:l,stroke:r,strokeWidth:i,fill:s,nameKey:void 0,dataKey:t,name:dE(a,t),hide:o,type:c,color:s,unit:``}};return z.createElement(HK,{tooltipEntrySettings:u})}),uX=class extends z.PureComponent{renderBackground(e){if(e==null)return null;var{cornerRadius:t}=this.props,n=ty(this.props.background);return z.createElement(iV,{zIndex:GY(this.props.background,Nj.barBackground)},e.map((e,r)=>{var{value:i,background:a}=e,o=tX(e,JY);if(!a)return null;var s=ZY(ZY(ZY(ZY(ZY({cornerRadius:uY(t)},o),{},{fill:`#eee`},a),n),kx(this.props,e,r)),{},{index:r,className:J(`recharts-radial-bar-background-sector`,String(n?.className)),option:a,isActive:!1});return z.createElement(dY,YY({key:`background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}`},s))}))}render(){var{hide:e,sectors:t,className:n,background:r}=this.props;if(e)return null;var i=J(`recharts-area`,n);return z.createElement(iV,{zIndex:this.props.zIndex},z.createElement(Y,{className:i},r&&z.createElement(Y,{className:`recharts-radial-bar-background`},this.renderBackground(t)),z.createElement(Y,{className:`recharts-radial-bar-sectors`},z.createElement(sX,this.props))))}};function dX(e){var t=z.useMemo(()=>oK(e.children,ZV),[e.children]),n=z.useMemo(()=>({data:void 0,hide:!1,id:e.id,dataKey:e.dataKey,minPointSize:e.minPointSize,stackId:eE(e.stackId),maxBarSize:e.maxBarSize,barSize:e.barSize,type:`radialBar`,angleAxisId:e.angleAxisId,radiusAxisId:e.radiusAxisId}),[e.id,e.dataKey,e.minPointSize,e.stackId,e.maxBarSize,e.barSize,e.angleAxisId,e.radiusAxisId]),r=Q(r=>UY(r,e.radiusAxisId,e.angleAxisId,n,t))??rX;return z.createElement(z.Fragment,null,z.createElement(lX,{dataKey:e.dataKey,sectors:r,stroke:e.stroke,strokeWidth:e.strokeWidth,name:e.name,hide:e.hide,fill:e.fill,tooltipType:e.tooltipType,id:e.id}),z.createElement(uX,YY({},e,{sectors:r})))}var fX={angleAxisId:0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,background:!1,cornerIsExternal:!1,cornerRadius:0,forceCornerRadius:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,minPointSize:0,radiusAxisId:0,zIndex:Nj.bar};function pX(e){var{displayedData:t,stackedData:n,dataStartIndex:r,stackedDomain:i,dataKey:a,baseValue:o,layout:s,radiusAxis:c,radiusAxisTicks:l,bandSize:u,pos:d,angleAxis:f,minPointSize:p,cx:m,cy:h,angleAxisTicks:g,cells:_,startAngle:v,endAngle:y}=e;return g==null||l==null?rX:(t??[]).map((e,t)=>{var b,x,S,C,w,T;if(n?b=ZT(n[r+t],i):(b=KT(e,a),Array.isArray(b)||(b=[o,b])),s===`radial`){if(C=f.scale.map(b[0])??v,w=f.scale.map(b[1])??y,x=nE({axis:c,ticks:l,bandSize:u,offset:d.offset,entry:e,index:t}),x!=null&&w!=null&&C!=null){S=x+d.size;var E=w-C;if(Math.abs(p)>0&&Math.abs(E)<Math.abs(p)){var D=ux(E||p)*(Math.abs(p)-Math.abs(E));w+=D}T={background:{cx:m,cy:h,innerRadius:x,outerRadius:S,startAngle:v,endAngle:y}}}}else if(x=c.scale.map(b[0]),S=c.scale.map(b[1]),C=nE({axis:f,ticks:g,bandSize:u,offset:d.offset,entry:e,index:t}),x!=null&&S!=null&&C!=null){w=C+d.size;var O=S-x;if(Math.abs(p)>0&&Math.abs(O)<Math.abs(p)){var k=ux(O||p)*(Math.abs(p)-Math.abs(O));S+=k}}return ZY(ZY(ZY({},e),T),{},{payload:e,value:n?b:b[1],cx:m,cy:h,innerRadius:x,outerRadius:S,startAngle:C,endAngle:w},_&&_[t]&&_[t].props)})}function mX(e){var t=jx(e,fX);return z.createElement(JK,{id:t.id,type:`radialBar`},e=>z.createElement(z.Fragment,null,z.createElement(iq,{type:`radialBar`,id:e,data:void 0,dataKey:t.dataKey,hide:t.hide??fX.hide,angleAxisId:t.angleAxisId??fX.angleAxisId,radiusAxisId:t.radiusAxisId??fX.radiusAxisId,stackId:eE(t.stackId),barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize}),z.createElement(cX,t),z.createElement(dX,YY({},t,{id:e}))))}mX.displayName=`RadialBar`;var hX=e=>{var{chartData:t}=e,n=lS(),r=DE();return(0,z.useEffect)(()=>r?()=>{}:(n(EV(t)),()=>{n(EV(void 0))}),[t,n,r]),null},gX={x:0,y:0,width:0,height:0,padding:{top:0,right:0,bottom:0,left:0}},_X=Ww({name:`brush`,initialState:gX,reducers:{setBrushSettings(e,t){return t.payload==null?gX:t.payload}}}),{setBrushSettings:eae}=_X.actions,vX=_X.reducer,yX=(e,t)=>{var{x:n,y:r}=e,{x:i,y:a}=t;return{x:Math.min(n,i),y:Math.min(r,a),width:Math.abs(i-n),height:Math.abs(a-r)}},bX=e=>{var{x1:t,y1:n,x2:r,y2:i}=e;return yX({x:t,y:n},{x:r,y:i})};function xX(e){return(e%180+180)%180}var SX=function(e){var{width:t,height:n}=e,r=xX(arguments.length>1&&arguments[1]!==void 0?arguments[1]:0)*Math.PI/180,i=Math.atan(n/t),a=r>i&&r<Math.PI-i?n/Math.sin(r):t/Math.cos(r);return Math.abs(a)},CX=Ww({name:`referenceElements`,initialState:{dots:[],areas:[],lines:[]},reducers:{addDot:(e,t)=>{e.dots.push(t.payload)},removeDot:(e,t)=>{var n=gw(e).dots.findIndex(e=>e===t.payload);n!==-1&&e.dots.splice(n,1)},addArea:(e,t)=>{e.areas.push(t.payload)},removeArea:(e,t)=>{var n=gw(e).areas.findIndex(e=>e===t.payload);n!==-1&&e.areas.splice(n,1)},addLine:(e,t)=>{e.lines.push(ID(t.payload))},removeLine:(e,t)=>{var n=gw(e).lines.findIndex(e=>e===t.payload);n!==-1&&e.lines.splice(n,1)}}}),{addDot:tae,removeDot:nae,addArea:rae,removeArea:iae,addLine:wX,removeLine:TX}=CX.actions,EX=CX.reducer,DX=(0,z.createContext)(void 0),OX=e=>{var{children:t}=e,[n]=(0,z.useState)(`${mx(`recharts`)}-clip`),r=pJ();if(r==null)return null;var{x:i,y:a,width:o,height:s}=r;return z.createElement(DX.Provider,{value:n},z.createElement(`defs`,null,z.createElement(`clipPath`,{id:n},z.createElement(`rect`,{x:i,y:a,height:s,width:o}))),t)},kX=()=>(0,z.useContext)(DX),AX=class{constructor(e){var{x:t,y:n}=e;this.xAxisScale=t,this.yAxisScale=n}map(e,t){var{position:n}=t;return{x:this.xAxisScale.map(e.x,{position:n})??0,y:this.yAxisScale.map(e.y,{position:n})??0}}mapWithFallback(e,t){var{position:n,fallback:r}=t,i=r===`rangeMin`?this.yAxisScale.rangeMin():r===`rangeMax`?this.yAxisScale.rangeMax():0,a=r===`rangeMin`?this.xAxisScale.rangeMin():r===`rangeMax`?this.xAxisScale.rangeMax():0;return{x:this.xAxisScale.map(e.x,{position:n})??a,y:this.yAxisScale.map(e.y,{position:n})??i}}isInRange(e){var{x:t,y:n}=e,r=t==null||this.xAxisScale.isInRange(t),i=n==null||this.yAxisScale.isInRange(n);return r&&i}};function jX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function MX(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?jX(Object(n),!0).forEach(function(t){NX(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jX(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function NX(e,t,n){return(t=PX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PX(e){var t=FX(e,`string`);return typeof t==`symbol`?t:t+``}function FX(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function IX(){return IX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},IX.apply(null,arguments)}var LX=(e,t)=>{var n;if(z.isValidElement(e))n=z.cloneElement(e,t);else if(typeof e==`function`)n=e(t);else{if(!zT(t.x1)||!zT(t.y1)||!zT(t.x2)||!zT(t.y2))return null;n=z.createElement(`line`,IX({},t,{className:`recharts-reference-line-line`}))}return n},RX=(e,t,n,r,i,a)=>{var{x:o,width:s}=a,c=i.map(e,{position:n});if(!zT(c)||t===`discard`&&!i.isInRange(c))return null;var l=[{x:o+s,y:c},{x:o,y:c}];return r===`left`?l.reverse():l},zX=(e,t,n,r,i,a)=>{var{y:o,height:s}=a,c=i.map(e,{position:n});if(!zT(c)||t===`discard`&&!i.isInRange(c))return null;var l=[{x:c,y:o+s},{x:c,y:o}];return r===`top`?l.reverse():l},BX=(e,t,n,r)=>{var i=[r.mapWithFallback(e[0],{position:n,fallback:`rangeMin`}),r.mapWithFallback(e[1],{position:n,fallback:`rangeMax`})];return t===`discard`&&i.some(e=>!r.isInRange(e))?null:i},VX=(e,t,n,r,i,a,o)=>{var{x:s,y:c,segment:l,ifOverflow:u}=o,d=px(s);return px(c)?RX(c,u,r,a,t,n):d?zX(s,u,r,i,e,n):l!=null&&l.length===2?BX(l,u,r,new AX({x:e,y:t})):null};function HX(e){var t=lS();return(0,z.useEffect)(()=>(t(wX(e)),()=>{t(TX(e))})),null}function UX(e){var{xAxisId:t,yAxisId:n,shape:r,className:i,ifOverflow:a}=e,o=DE(),s=kX(),c=Q(e=>mL(e,t)),l=Q(e=>_L(e,n)),u=Q(e=>_R(e,`xAxis`,t,o)),d=Q(e=>_R(e,`yAxis`,n,o)),f=VE();if(!s||!f||c==null||l==null||u==null||d==null)return null;var p=VX(u,d,f,e.position,c.orientation,l.orientation,e);if(!p)return null;var m=p[0],h=p[1];if(m==null||h==null)return null;var{x:g,y:_}=m,{x:v,y}=h,b=MX(MX({clipPath:a===`hidden`?`url(#${s})`:void 0},ny(e)),{},{x1:g,y1:_,x2:v,y2:y}),x=bX({x1:g,y1:_,x2:v,y2:y});return z.createElement(iV,{zIndex:e.zIndex},z.createElement(Y,{className:J(`recharts-reference-line`,i)},LX(r,b),z.createElement(gU,IX({},x,{lowerWidth:x.width,upperWidth:x.width}),z.createElement(jU,{label:e.label}),e.children)))}var WX={ifOverflow:`discard`,xAxisId:0,yAxisId:0,fill:`none`,label:!1,stroke:`#ccc`,fillOpacity:1,strokeWidth:1,position:`middle`,zIndex:Nj.line};function GX(e){var t=jx(e,WX);return z.createElement(z.Fragment,null,z.createElement(HX,{yAxisId:t.yAxisId,xAxisId:t.xAxisId,ifOverflow:t.ifOverflow,x:t.x,y:t.y,segment:t.segment}),z.createElement(UX,t))}GX.displayName=`ReferenceLine`;function KX(e,t){if(t<1)return[];if(t===1)return e;for(var n=[],r=0;r<e.length;r+=t){var i=e[r];i!==void 0&&n.push(i)}return n}function qX(e,t,n){return SX({width:e.width+t.width,height:e.height+t.height},n)}function JX(e,t,n){var r=n===`width`,{x:i,y:a,width:o,height:s}=e;return t===1?{start:r?i:a,end:r?i+o:a+s}:{start:r?i+o:a+s,end:r?i:a}}function YX(e,t,n,r,i){if(e*t<e*r||e*t>e*i)return!1;var a=n();return e*(t-e*a/2-r)>=0&&e*(t+e*a/2-i)<=0}function XX(e,t){return KX(e,t+1)}function ZX(e,t,n,r,i){for(var a=(r||[]).slice(),{start:o,end:s}=t,c=0,l=1,u=o,d=function(){var t=r?.[c];if(t===void 0)return{v:KX(r,l)};var a=c,d,f=()=>(d===void 0&&(d=n(t,a)),d),p=t.coordinate,m=c===0||YX(e,p,f,u,s);m||(c=0,u=o,l+=1),m&&(u=p+e*(f()/2+i),c+=l)},f;l<=a.length;)if(f=d(),f)return f.v;return[]}function QX(e,t,n,r,i){var a=(r||[]).slice().length;if(a===0)return[];for(var{start:o,end:s}=t,c=1;c<=a;c++){for(var l=(a-1)%c,u=o,d=!0,f=function(){var t=r[m];if(t==null)return 0;var a=m,o,c=()=>(o===void 0&&(o=n(t,a)),o),f=t.coordinate,p=m===l||YX(e,f,c,u,s);if(!p)return d=!1,1;p&&(u=f+e*(c()/2+i))},p,m=l;m<a&&(p=f(),!(p!==0&&p===1));m+=c);if(d){for(var h=[],g=l;g<a;g+=c){var _=r[g];_!=null&&h.push(_)}return h}}return[]}function $X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function eZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?$X(Object(n),!0).forEach(function(t){tZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$X(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tZ(e,t,n){return(t=nZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nZ(e){var t=rZ(e,`string`);return typeof t==`symbol`?t:t+``}function rZ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function iZ(e,t,n,r,i){for(var a=(r||[]).slice(),o=a.length,{start:s}=t,{end:c}=t,l=function(t){var r=a[t];if(r==null)return 1;var l=r,u,d=()=>(u===void 0&&(u=n(r,t)),u);if(t===o-1){var f=e*(l.coordinate+e*d()/2-c);a[t]=l=eZ(eZ({},l),{},{tickCoord:f>0?l.coordinate-f*e:l.coordinate})}else a[t]=l=eZ(eZ({},l),{},{tickCoord:l.coordinate});l.tickCoord!=null&&YX(e,l.tickCoord,d,s,c)&&(c=l.tickCoord-e*(d()/2+i),a[t]=eZ(eZ({},l),{},{isShow:!0}))},u=o-1;u>=0;u--)if(l(u))continue;return a}function aZ(e,t,n,r,i,a){var o=(r||[]).slice(),s=o.length,{start:c,end:l}=t;if(a){var u=r[s-1];if(u!=null){var d=n(u,s-1),f=e*(u.coordinate+e*d/2-l);o[s-1]=u=eZ(eZ({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate}),u.tickCoord!=null&&YX(e,u.tickCoord,()=>d,c,l)&&(l=u.tickCoord-e*(d/2+i),o[s-1]=eZ(eZ({},u),{},{isShow:!0}))}}for(var p=a?s-1:s,m=function(t){var r=o[t];if(r==null)return 1;var a=r,s,u=()=>(s===void 0&&(s=n(r,t)),s);if(t===0){var d=e*(a.coordinate-e*u()/2-c);o[t]=a=eZ(eZ({},a),{},{tickCoord:d<0?a.coordinate-d*e:a.coordinate})}else o[t]=a=eZ(eZ({},a),{},{tickCoord:a.coordinate});a.tickCoord!=null&&YX(e,a.tickCoord,u,c,l)&&(c=a.tickCoord+e*(u()/2+i),o[t]=eZ(eZ({},a),{},{isShow:!0}))},h=0;h<p;h++)if(m(h))continue;return o}function oZ(e,t,n){var{tick:r,ticks:i,viewBox:a,minTickGap:o,orientation:s,interval:c,tickFormatter:l,unit:u,angle:d}=e;if(!i||!i.length||!r)return[];if(X(c)||TO.isSsr)return XX(i,X(c)?c:0)??[];var f=[],p=s===`top`||s===`bottom`?`width`:`height`,m=u&&p===`width`?pH(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},h=(e,r)=>{var i=typeof l==`function`?l(e.value,r):e.value;return p===`width`?qX(pH(i,{fontSize:t,letterSpacing:n}),m,d):pH(i,{fontSize:t,letterSpacing:n})[p]},g=i[0],_=i[1],v=i.length>=2&&g!=null&&_!=null?ux(_.coordinate-g.coordinate):1,y=JX(a,v,p);return c===`equidistantPreserveStart`?ZX(v,y,h,i,o):c===`equidistantPreserveEnd`?QX(v,y,h,i,o):(f=c===`preserveStart`||c===`preserveStartEnd`?aZ(v,y,h,i,o,c===`preserveStartEnd`):iZ(v,y,h,i,o),f.filter(e=>e.isShow))}var sZ=e=>{var{ticks:t,label:n,labelGapWithTick:r=5,tickSize:i=0,tickMargin:a=0}=e,o=0;if(t){Array.from(t).forEach(e=>{if(e){var t=e.getBoundingClientRect();t.width>o&&(o=t.width)}});var s=n?n.getBoundingClientRect().width:0,c=i+a,l=o+c+s+(n?r:0);return Math.round(l)}return 0},cZ=Ww({name:`renderedTicks`,initialState:{xAxis:{},yAxis:{}},reducers:{setRenderedTicks:(e,t)=>{var{axisType:n,axisId:r,ticks:i}=t.payload;e[n][r]=ID(i)},removeRenderedTicks:(e,t)=>{var{axisType:n,axisId:r}=t.payload;delete e[n][r]}}}),{setRenderedTicks:lZ,removeRenderedTicks:uZ}=cZ.actions,dZ=cZ.reducer,fZ=[`axisLine`,`width`,`height`,`className`,`hide`,`ticks`,`axisType`,`axisId`];function pZ(e,t){if(e==null)return{};var n,r,i=mZ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function mZ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function hZ(){return hZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hZ.apply(null,arguments)}function gZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?gZ(Object(n),!0).forEach(function(t){vZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vZ(e,t,n){return(t=yZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yZ(e){var t=bZ(e,`string`);return typeof t==`symbol`?t:t+``}function bZ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var xZ={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:`bottom`,ticks:[],stroke:`#666`,tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:`preserveEnd`,zIndex:Nj.axis};function SZ(e){var{x:t,y:n,width:r,height:i,orientation:a,mirror:o,axisLine:s,otherSvgProps:c}=e;if(!s)return null;var l=_Z(_Z(_Z({},c),ey(s)),{},{fill:`none`});if(a===`top`||a===`bottom`){var u=+(a===`top`&&!o||a===`bottom`&&o);l=_Z(_Z({},l),{},{x1:t,y1:n+u*i,x2:t+r,y2:n+u*i})}else{var d=+(a===`left`&&!o||a===`right`&&o);l=_Z(_Z({},l),{},{x1:t+d*r,y1:n,x2:t+d*r,y2:n+i})}return z.createElement(`line`,hZ({},l,{className:J(`recharts-cartesian-axis-line`,(0,lx.default)(s,`className`))}))}function CZ(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h=s?-1:1,g=e.tickSize||o,_=X(e.tickCoord)?e.tickCoord:e.coordinate;switch(a){case`top`:l=u=e.coordinate,f=n+ +!s*i,d=f-h*g,m=d-h*c,p=_;break;case`left`:d=f=e.coordinate,u=t+ +!s*r,l=u-h*g,p=l-h*c,m=_;break;case`right`:d=f=e.coordinate,u=t+ +s*r,l=u+h*g,p=l+h*c,m=_;break;default:l=u=e.coordinate,f=n+ +s*i,d=f+h*g,m=d+h*c,p=_;break}return{line:{x1:l,y1:d,x2:u,y2:f},tick:{x:p,y:m}}}function wZ(e,t){switch(e){case`left`:return t?`start`:`end`;case`right`:return t?`end`:`start`;default:return`middle`}}function TZ(e,t){switch(e){case`left`:case`right`:return`middle`;case`top`:return t?`start`:`end`;default:return t?`end`:`start`}}function EZ(e){var{option:t,tickProps:n,value:r}=e,i,a=J(n.className,`recharts-cartesian-axis-tick-value`);if(z.isValidElement(t))i=z.cloneElement(t,_Z(_Z({},n),{},{className:a}));else if(typeof t==`function`)i=t(_Z(_Z({},n),{},{className:a}));else{var o=`recharts-cartesian-axis-tick-value`;typeof t!=`boolean`&&(o=J(o,ZW(t))),i=z.createElement(QH,hZ({},n,{className:o}),r)}return i}function DZ(e){var{ticks:t,axisType:n,axisId:r}=e,i=lS();return(0,z.useEffect)(()=>r==null||n==null?xx:(i(lZ({ticks:t.map(e=>({value:e.value,coordinate:e.coordinate,offset:e.offset,index:e.index})),axisId:r,axisType:n})),()=>{i(uZ({axisId:r,axisType:n}))}),[i,t,r,n]),null}var OZ=(0,z.forwardRef)((e,t)=>{var{ticks:n=[],tick:r,tickLine:i,stroke:a,tickFormatter:o,unit:s,padding:c,tickTextProps:l,orientation:u,mirror:d,x:f,y:p,width:m,height:h,tickSize:g,tickMargin:_,fontSize:v,letterSpacing:y,getTicksConfig:b,events:x,axisType:S,axisId:C}=e,w=oZ(_Z(_Z({},b),{},{ticks:n}),v,y),T=ey(b),E=ty(r),D=VH(T.textAnchor)?T.textAnchor:wZ(u,d),O=TZ(u,d),k={};typeof i==`object`&&(k=i);var ee=_Z(_Z({},T),{},{fill:`none`},k),te=w.map(e=>_Z({entry:e},CZ(e,f,p,m,h,u,g,d,_))),ne=te.map(e=>{var{entry:t,line:n}=e;return z.createElement(Y,{className:`recharts-cartesian-axis-tick`,key:`tick-${t.value}-${t.coordinate}-${t.tickCoord}`},i&&z.createElement(`line`,hZ({},ee,n,{className:J(`recharts-cartesian-axis-tick-line`,(0,lx.default)(i,`className`))})))}),A=te.map((e,t)=>{var{entry:n,tick:i}=e,u=_Z(_Z({},_Z(_Z(_Z(_Z({verticalAnchor:O},T),{},{textAnchor:D,stroke:`none`,fill:a},i),{},{index:t,payload:n,visibleTicksCount:w.length,tickFormatter:o,padding:c},l),{},{angle:l?.angle??T.angle??0})),E);return z.createElement(Y,hZ({className:`recharts-cartesian-axis-tick-label`,key:`tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`},kx(x,n,t)),r&&z.createElement(EZ,{option:r,tickProps:u,value:`${typeof o==`function`?o(n.value,t):n.value}${s||``}`}))});return z.createElement(`g`,{className:`recharts-cartesian-axis-ticks recharts-${S}-ticks`},z.createElement(DZ,{ticks:w,axisId:C,axisType:S}),A.length>0&&z.createElement(iV,{zIndex:Nj.label},z.createElement(`g`,{className:`recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,ref:t},A)),ne.length>0&&z.createElement(`g`,{className:`recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines`},ne))}),kZ=(0,z.forwardRef)((e,t)=>{var{axisLine:n,width:r,height:i,className:a,hide:o,ticks:s,axisType:c,axisId:l}=e,u=pZ(e,fZ),[d,f]=(0,z.useState)(``),[p,m]=(0,z.useState)(``),h=(0,z.useRef)(null);(0,z.useImperativeHandle)(t,()=>({getCalculatedWidth:()=>sZ({ticks:h.current,label:e.labelRef?.current,labelGapWithTick:5,tickSize:e.tickSize,tickMargin:e.tickMargin})}));var g=(0,z.useCallback)(e=>{if(e){var t=e.getElementsByClassName(`recharts-cartesian-axis-tick-value`);h.current=t;var n=t[0];if(n){var r=window.getComputedStyle(n),i=r.fontSize,a=r.letterSpacing;(i!==d||a!==p)&&(f(i),m(a))}}},[d,p]);return o||r!=null&&r<=0||i!=null&&i<=0?null:z.createElement(iV,{zIndex:e.zIndex},z.createElement(Y,{className:J(`recharts-cartesian-axis`,a)},z.createElement(SZ,{x:e.x,y:e.y,width:r,height:i,orientation:e.orientation,mirror:e.mirror,axisLine:n,otherSvgProps:ey(e)}),z.createElement(OZ,{ref:g,axisType:c,events:u,fontSize:d,getTicksConfig:e,height:e.height,letterSpacing:p,mirror:e.mirror,orientation:e.orientation,padding:e.padding,stroke:e.stroke,tick:e.tick,tickFormatter:e.tickFormatter,tickLine:e.tickLine,tickMargin:e.tickMargin,tickSize:e.tickSize,tickTextProps:e.tickTextProps,ticks:s,unit:e.unit,width:e.width,x:e.x,y:e.y,axisId:l}),z.createElement(gU,{x:e.x,y:e.y,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width},z.createElement(jU,{label:e.label,labelRef:e.labelRef}),e.children)))}),AZ=z.forwardRef((e,t)=>{var n=jx(e,xZ);return z.createElement(kZ,hZ({},n,{ref:t}))});AZ.displayName=`CartesianAxis`;var jZ=[`x1`,`y1`,`x2`,`y2`,`key`],MZ=[`offset`],NZ=[`xAxisId`,`yAxisId`],PZ=[`xAxisId`,`yAxisId`];function FZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function IZ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?FZ(Object(n),!0).forEach(function(t){LZ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FZ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function LZ(e,t,n){return(t=RZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RZ(e){var t=zZ(e,`string`);return typeof t==`symbol`?t:t+``}function zZ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function BZ(){return BZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},BZ.apply(null,arguments)}function VZ(e,t){if(e==null)return{};var n,r,i=HZ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function HZ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var UZ=e=>{var{fill:t}=e;if(!t||t===`none`)return null;var{fillOpacity:n,x:r,y:i,width:a,height:o,ry:s}=e;return z.createElement(`rect`,{x:r,y:i,ry:s,width:a,height:o,stroke:`none`,fill:t,fillOpacity:n,className:`recharts-cartesian-grid-bg`})};function WZ(e){var{option:t,lineItemProps:n}=e,r;if(z.isValidElement(t))r=z.cloneElement(t,n);else if(typeof t==`function`)r=t(n);else{var{x1:i,y1:a,x2:o,y2:s,key:c}=n,l=ey(VZ(n,jZ))??{},{offset:u}=l,d=VZ(l,MZ);r=z.createElement(`line`,BZ({},d,{x1:i,y1:a,x2:o,y2:s,fill:`none`,key:c}))}return r}function GZ(e){var{x:t,width:n,horizontal:r=!0,horizontalPoints:i}=e;if(!r||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=VZ(e,NZ),c=i.map((e,i)=>{var a=IZ(IZ({},s),{},{x1:t,y1:e,x2:t+n,y2:e,key:`line-${i}`,index:i});return z.createElement(WZ,{key:`line-${i}`,option:r,lineItemProps:a})});return z.createElement(`g`,{className:`recharts-cartesian-grid-horizontal`},c)}function KZ(e){var{y:t,height:n,vertical:r=!0,verticalPoints:i}=e;if(!r||!i||!i.length)return null;var{xAxisId:a,yAxisId:o}=e,s=VZ(e,PZ),c=i.map((e,i)=>{var a=IZ(IZ({},s),{},{x1:e,y1:t,x2:e,y2:t+n,key:`line-${i}`,index:i});return z.createElement(WZ,{option:r,lineItemProps:a,key:`line-${i}`})});return z.createElement(`g`,{className:`recharts-cartesian-grid-vertical`},c)}function qZ(e){var{horizontalFill:t,fillOpacity:n,x:r,y:i,width:a,height:o,horizontalPoints:s,horizontal:c=!0}=e;if(!c||!t||!t.length||s==null)return null;var l=s.map(e=>Math.round(e+i-i)).sort((e,t)=>e-t);i!==l[0]&&l.unshift(0);var u=l.map((e,s)=>{var c=l[s+1],u=c==null?i+o-e:c-e;if(u<=0)return null;var d=s%t.length;return z.createElement(`rect`,{key:`react-${s}`,y:e,x:r,height:u,width:a,stroke:`none`,fill:t[d],fillOpacity:n,className:`recharts-cartesian-grid-bg`})});return z.createElement(`g`,{className:`recharts-cartesian-gridstripes-horizontal`},u)}function JZ(e){var{vertical:t=!0,verticalFill:n,fillOpacity:r,x:i,y:a,width:o,height:s,verticalPoints:c}=e;if(!t||!n||!n.length)return null;var l=c.map(e=>Math.round(e+i-i)).sort((e,t)=>e-t);i!==l[0]&&l.unshift(0);var u=l.map((e,t)=>{var c=l[t+1],u=c==null?i+o-e:c-e;if(u<=0)return null;var d=t%n.length;return z.createElement(`rect`,{key:`react-${t}`,x:e,y:a,width:u,height:s,stroke:`none`,fill:n[d],fillOpacity:r,className:`recharts-cartesian-grid-bg`})});return z.createElement(`g`,{className:`recharts-cartesian-gridstripes-vertical`},u)}var YZ=(e,t)=>{var{xAxis:n,width:r,height:i,offset:a}=e;return YT(oZ(IZ(IZ(IZ({},xZ),n),{},{ticks:XT(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.left,a.left+a.width,t)},XZ=(e,t)=>{var{yAxis:n,width:r,height:i,offset:a}=e;return YT(oZ(IZ(IZ(IZ({},xZ),n),{},{ticks:XT(n,!0),viewBox:{x:0,y:0,width:r,height:i}})),a.top,a.top+a.height,t)},ZZ={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:`#ccc`,fill:`none`,verticalFill:[],horizontalFill:[],xAxisId:0,yAxisId:0,syncWithTicks:!1,zIndex:Nj.grid};function QZ(e){var t=UE(),n=WE(),r=HE(),i=IZ(IZ({},jx(e,ZZ)),{},{x:X(e.x)?e.x:r.left,y:X(e.y)?e.y:r.top,width:X(e.width)?e.width:r.width,height:X(e.height)?e.height:r.height}),{xAxisId:a,yAxisId:o,x:s,y:c,width:l,height:u,syncWithTicks:d,horizontalValues:f,verticalValues:p}=i,m=DE(),h=Q(e=>DR(e,`xAxis`,a,m)),g=Q(e=>DR(e,`yAxis`,o,m));if(!BT(l)||!BT(u)||!X(s)||!X(c))return null;var _=i.verticalCoordinatesGenerator||YZ,v=i.horizontalCoordinatesGenerator||XZ,{horizontalPoints:y,verticalPoints:b}=i;if((!y||!y.length)&&typeof v==`function`){var x=f&&f.length,S=v({yAxis:g?IZ(IZ({},g),{},{ticks:x?f:g.ticks}):void 0,width:t??l,height:n??u,offset:r},x?!0:d);AE(Array.isArray(S),`horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`),Array.isArray(S)&&(y=S)}if((!b||!b.length)&&typeof _==`function`){var C=p&&p.length,w=_({xAxis:h?IZ(IZ({},h),{},{ticks:C?p:h.ticks}):void 0,width:t??l,height:n??u,offset:r},C?!0:d);AE(Array.isArray(w),`verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`),Array.isArray(w)&&(b=w)}return z.createElement(iV,{zIndex:i.zIndex},z.createElement(`g`,{className:`recharts-cartesian-grid`},z.createElement(UZ,{fill:i.fill,fillOpacity:i.fillOpacity,x:i.x,y:i.y,width:i.width,height:i.height,ry:i.ry}),z.createElement(qZ,BZ({},i,{horizontalPoints:y})),z.createElement(JZ,BZ({},i,{verticalPoints:b})),z.createElement(GZ,BZ({},i,{offset:r,horizontalPoints:y,xAxis:h,yAxis:g})),z.createElement(KZ,BZ({},i,{offset:r,verticalPoints:b,xAxis:h,yAxis:g}))))}QZ.displayName=`CartesianGrid`;var $Z=Ww({name:`errorBars`,initialState:{},reducers:{addErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]||(e[n]=[]),e[n].push(r)},replaceErrorBar:(e,t)=>{var{itemId:n,prev:r,next:i}=t.payload;e[n]&&(e[n]=e[n].map(e=>e.dataKey===r.dataKey&&e.direction===r.direction?i:e))},removeErrorBar:(e,t)=>{var{itemId:n,errorBar:r}=t.payload;e[n]&&(e[n]=e[n].filter(e=>e.dataKey!==r.dataKey||e.direction!==r.direction))}}}),{addErrorBar:aae,replaceErrorBar:oae,removeErrorBar:sae}=$Z.actions,eQ=$Z.reducer,tQ=[`children`];function nQ(e,t){if(e==null)return{};var n,r,i=rQ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function rQ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var iQ=(0,z.createContext)({data:[],xAxisId:`xAxis-0`,yAxisId:`yAxis-0`,dataPointFormatter:()=>({x:0,y:0,value:0}),errorBarOffset:0});function aQ(e){var{children:t}=e,n=nQ(e,tQ);return z.createElement(iQ.Provider,{value:n},t)}function oQ(e,t){var n=Q(t=>mL(t,e)),r=Q(e=>_L(e,t)),i=n?.allowDataOverflow??fL.allowDataOverflow,a=r?.allowDataOverflow??hL.allowDataOverflow;return{needClip:i||a,needClipX:i,needClipY:a}}function sQ(e){var{xAxisId:t,yAxisId:n,clipPathId:r}=e,i=pJ(),{needClipX:a,needClipY:o,needClip:s}=oQ(t,n);if(!s||!i)return null;var{x:c,y:l,width:u,height:d}=i;return z.createElement(`clipPath`,{id:`clipPath-${r}`},z.createElement(`rect`,{x:a?c:c-u/2,y:o?l:l-d/2,width:a?u:u*2,height:o?d:d*2}))}var cQ=(e,t,n,r)=>MR(e,`xAxis`,t,r),lQ=(e,t,n,r)=>jR(e,`xAxis`,t,r),uQ=(e,t,n,r)=>MR(e,`yAxis`,n,r),dQ=(e,t,n,r)=>jR(e,`yAxis`,n,r),fQ=$([GE,cQ,uQ,lQ,dQ],(e,t,n,r,i)=>JT(e,`xAxis`)?lE(t,r,!1):lE(n,i,!1)),pQ=(e,t,n,r,i)=>i;function mQ(e){return e.type===`line`}var hQ=$([GE,cQ,uQ,lQ,dQ,$([wL,pQ],(e,t)=>e.filter(mQ).find(e=>e.id===t)),fQ,rj],(e,t,n,r,i,a,o,s)=>{var{chartData:c,dataStartIndex:l,dataEndIndex:u}=s;if(!(a==null||t==null||n==null||r==null||i==null||r.length===0||i.length===0||o==null||e!==`horizontal`&&e!==`vertical`)){var{dataKey:d,data:f}=a,p=f!=null&&f.length>0?f:c?.slice(l,u+1);if(p!=null)return UQ({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:i,dataKey:d,bandSize:o,displayedData:p})}});function gQ(e){var t=ty(e),n=3,r=2;if(t!=null){var{r:i,strokeWidth:a}=t,o=Number(i),s=Number(a);return(Number.isNaN(o)||o<0)&&(o=n),(Number.isNaN(s)||s<0)&&(s=r),{r:o,strokeWidth:s}}return{r:n,strokeWidth:r}}var _Q=[`id`],vQ=[`type`,`layout`,`connectNulls`,`needClip`,`shape`],yQ=[`activeDot`,`animateNewValues`,`animationBegin`,`animationDuration`,`animationEasing`,`connectNulls`,`dot`,`hide`,`isAnimationActive`,`label`,`legendType`,`xAxisId`,`yAxisId`,`id`];function bQ(){return bQ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bQ.apply(null,arguments)}function xQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SQ(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?xQ(Object(n),!0).forEach(function(t){CQ(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xQ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function CQ(e,t,n){return(t=wQ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wQ(e){var t=TQ(e,`string`);return typeof t==`symbol`?t:t+``}function TQ(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function EQ(e,t){if(e==null)return{};var n,r,i=DQ(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function DQ(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var OQ=e=>{var{dataKey:t,name:n,stroke:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:dE(n,t),payload:e}]},kQ=z.memo(e=>{var{dataKey:t,data:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,unit:c,tooltipType:l,id:u}=e,d={dataDefinedOnItem:n,getPosition:xx,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:dE(o,t),hide:s,type:l,color:r,unit:c,graphicalItemId:u}};return z.createElement(HK,{tooltipEntrySettings:d})}),AQ=(e,t)=>`${t}px ${e}px`;function jQ(e,t){for(var n=e.length%2==0?e:[...e,0],r=[],i=0;i<t;++i)r.push(...n);return r}var MQ=(e,t,n)=>{var r=n.reduce((e,t)=>e+t,0);if(!r)return AQ(t,e);for(var i=Math.floor(e/r),a=e%r,o=[],s=0,c=0;s<n.length;c+=(l=n[s])??0,++s){var l,u=n[s];if(u!=null&&c+u>a){o=[...n.slice(0,s),a-c];break}}var d=o.length%2==0?[0,t]:[t];return[...jQ(n,i),...o,...d].map(e=>`${e}px`).join(`, `)};function NQ(e){var{clipPathId:t,points:n,props:r}=e,{dot:i,dataKey:a,needClip:o}=r,{id:s}=r,c=ey(EQ(r,_Q));return z.createElement(Zq,{points:n,dot:i,className:`recharts-line-dots`,dotClassName:`recharts-line-dot`,dataKey:a,baseProps:c,needClip:o,clipPathId:t})}function PQ(e){var{showLabels:t,children:n,points:r}=e,i=(0,z.useMemo)(()=>r?.map(e=>{var t={x:e.x??0,y:e.y??0,width:0,lowerWidth:0,upperWidth:0,height:0};return SQ(SQ({},t),{},{value:e.value,payload:e.payload,viewBox:t,parentViewBox:void 0,fill:void 0})}),[r]);return z.createElement(BU,{value:t?i:void 0},n)}function FQ(e){var{clipPathId:t,pathRef:n,points:r,strokeDasharray:i,props:a}=e,{type:o,layout:s,connectNulls:c,needClip:l,shape:u}=a,d=SQ(SQ({},ny(EQ(a,vQ))),{},{fill:`none`,className:`recharts-line-curve`,clipPath:l?`url(#clipPath-${t})`:void 0,points:r,type:o,layout:s,connectNulls:c,strokeDasharray:i??a.strokeDasharray});return z.createElement(z.Fragment,null,r?.length>1&&z.createElement(RK,bQ({shapeType:`curve`,option:u},d,{pathRef:n})),z.createElement(NQ,{points:r,clipPathId:t,props:a}))}function IQ(e){try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch{return 0}}function LQ(e){var{clipPathId:t,props:n,pathRef:r,previousPointsRef:i,longestAnimatedLengthRef:a}=e,{points:o,strokeDasharray:s,isAnimationActive:c,animationBegin:l,animationDuration:u,animationEasing:d,animateNewValues:f,width:p,height:m,onAnimationEnd:h,onAnimationStart:g}=n,_=i.current,v=Jk(o,`recharts-line-`),y=(0,z.useRef)(v),[b,x]=(0,z.useState)(!1),S=!b,C=(0,z.useCallback)(()=>{typeof h==`function`&&h(),x(!1)},[h]),w=(0,z.useCallback)(()=>{typeof g==`function`&&g(),x(!0)},[g]),T=IQ(r.current),E=(0,z.useRef)(0);y.current!==v&&(E.current=a.current,y.current=v);var D=E.current;return z.createElement(PQ,{points:o,showLabels:S},n.children,z.createElement(qk,{animationId:v,begin:l,duration:u,isActive:c,easing:d,onAnimationEnd:C,onAnimationStart:w,key:v},e=>{var l=Z(D,T+D,e),u=Math.min(l,T),d=c?s?MQ(u,T,`${s}`.split(/[,\\s]+/gim).map(e=>parseFloat(e))):AQ(T,u):s==null?void 0:String(s);if(e>0&&T>0&&(i.current=o,a.current=Math.max(a.current,u)),_){var h=_.length/o.length,g=e===1?o:o.map((t,n)=>{var r=Math.floor(n*h);if(_[r]){var i=_[r];return SQ(SQ({},t),{},{x:Z(i.x,t.x,e),y:Z(i.y,t.y,e)})}return f?SQ(SQ({},t),{},{x:Z(p*2,t.x,e),y:Z(m/2,t.y,e)}):SQ(SQ({},t),{},{x:t.x,y:t.y})});return i.current=g,z.createElement(FQ,{props:n,points:g,clipPathId:t,pathRef:r,strokeDasharray:d})}return z.createElement(FQ,{props:n,points:o,clipPathId:t,pathRef:r,strokeDasharray:d})}),z.createElement(KU,{label:n.label}))}function RQ(e){var{clipPathId:t,props:n}=e,r=(0,z.useRef)(null),i=(0,z.useRef)(0),a=(0,z.useRef)(null);return z.createElement(LQ,{props:n,clipPathId:t,previousPointsRef:r,longestAnimatedLengthRef:i,pathRef:a})}var zQ=(e,t)=>({x:e.x??void 0,y:e.y??void 0,value:e.value,errorVal:KT(e.payload,t)}),BQ=class extends z.Component{render(){var{hide:e,dot:t,points:n,className:r,xAxisId:i,yAxisId:a,top:o,left:s,width:c,height:l,id:u,needClip:d,zIndex:f}=this.props;if(e)return null;var p=J(`recharts-line`,r),m=u,{r:h,strokeWidth:g}=gQ(t),_=sK(t),v=h*2+g,y=d?`url(#clipPath-${_?``:`dots-`}${m})`:void 0;return z.createElement(iV,{zIndex:f},z.createElement(Y,{className:p},d&&z.createElement(`defs`,null,z.createElement(sQ,{clipPathId:m,xAxisId:i,yAxisId:a}),!_&&z.createElement(`clipPath`,{id:`clipPath-dots-${m}`},z.createElement(`rect`,{x:s-v/2,y:o-v/2,width:c+v,height:l+v}))),z.createElement(aQ,{xAxisId:i,yAxisId:a,data:n,dataPointFormatter:zQ,errorBarOffset:0},z.createElement(RQ,{props:this.props,clipPathId:m}))),z.createElement(xJ,{activeDot:this.props.activeDot,points:n,mainColor:this.props.stroke,itemDataKey:this.props.dataKey,clipPath:y}))}},VQ={activeDot:!0,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,connectNulls:!1,dot:!0,fill:`#fff`,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,xAxisId:0,yAxisId:0,zIndex:Nj.line,type:`linear`};function HQ(e){var t=jx(e,VQ),{activeDot:n,animateNewValues:r,animationBegin:i,animationDuration:a,animationEasing:o,connectNulls:s,dot:c,hide:l,isAnimationActive:u,label:d,legendType:f,xAxisId:p,yAxisId:m,id:h}=t,g=EQ(t,yQ),{needClip:_}=oQ(p,m),v=pJ(),y=KE(),b=DE(),x=Q(e=>hQ(e,p,m,b,h));if(y!==`horizontal`&&y!==`vertical`||x==null||v==null)return null;var{height:S,width:C,x:w,y:T}=v;return z.createElement(BQ,bQ({},g,{id:h,connectNulls:s,dot:c,activeDot:n,animateNewValues:r,animationBegin:i,animationDuration:a,animationEasing:o,isAnimationActive:u,hide:l,label:d,legendType:f,xAxisId:p,yAxisId:m,points:x,layout:y,height:S,width:C,left:w,top:T,needClip:_}))}function UQ(e){var{layout:t,xAxis:n,yAxis:r,xAxisTicks:i,yAxisTicks:a,dataKey:o,bandSize:s,displayedData:c}=e;return c.map((e,c)=>{var l=KT(e,o);if(t===`horizontal`)return{x:tE({axis:n,ticks:i,bandSize:s,entry:e,index:c}),y:(vx(l)?null:r.scale.map(l))??null,value:l,payload:e};var u=vx(l)?null:n.scale.map(l),d=tE({axis:r,ticks:a,bandSize:s,entry:e,index:c});return u==null||d==null?null:{x:u,y:d,value:l,payload:e}}).filter(Boolean)}function WQ(e){var t=jx(e,VQ),n=DE();return z.createElement(JK,{id:t.id,type:`line`},e=>z.createElement(z.Fragment,null,z.createElement(UK,{legendPayload:OQ(t)}),z.createElement(kQ,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),z.createElement(rq,{type:`line`,id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,hide:t.hide,isPanorama:n}),z.createElement(HQ,bQ({},t,{id:e}))))}var GQ=z.memo(WQ,WD);GQ.displayName=`Line`;function KQ(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.xAxisId??0}function qQ(e,t){return e.graphicalItems.cartesianItems.find(e=>e.id===t)?.yAxisId??0}var JQ=(e,t,n)=>MR(e,`xAxis`,KQ(e,t),n),YQ=(e,t,n)=>jR(e,`xAxis`,KQ(e,t),n),XQ=(e,t,n)=>MR(e,`yAxis`,qQ(e,t),n),ZQ=(e,t,n)=>jR(e,`yAxis`,qQ(e,t),n),QQ=$([GE,JQ,XQ,YQ,ZQ],(e,t,n,r,i)=>JT(e,`xAxis`)?lE(t,r,!1):lE(n,i,!1)),$Q=$([wL,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`area`).find(e=>e.id===t)),e$=e=>JT(GE(e),`xAxis`)?`yAxis`:`xAxis`,t$=(e,t)=>e$(e)===`yAxis`?qQ(e,t):KQ(e,t),n$=$([GE,JQ,XQ,YQ,ZQ,$([$Q,(e,t,n)=>UL(e,e$(e),t$(e,t),n)],(e,t)=>{if(!(e==null||t==null)){var{stackId:n}=e,r=iM(e);if(!(n==null||r==null)){var i=(t[n]?.stackedData)?.find(e=>e.key===r);if(i!=null)return i.map(e=>[e[0],e[1]])}}}),ij,QQ,$Q,Mj],(e,t,n,r,i,a,o,s,c,l)=>{var{chartData:u,dataStartIndex:d,dataEndIndex:f}=o;if(!(c==null||e!==`horizontal`&&e!==`vertical`||t==null||n==null||r==null||i==null||r.length===0||i.length===0||s==null)){var{data:p}=c,m=p&&p.length>0?p:u?.slice(d,f+1);if(m!=null)return O$({layout:e,xAxis:t,yAxis:n,xAxisTicks:r,yAxisTicks:i,dataStartIndex:d,areaSettings:c,stackedData:a,displayedData:m,chartBaseValue:l,bandSize:s})}}),r$=[`id`],i$=[`activeDot`,`animationBegin`,`animationDuration`,`animationEasing`,`connectNulls`,`dot`,`fill`,`fillOpacity`,`hide`,`isAnimationActive`,`legendType`,`stroke`,`xAxisId`,`yAxisId`];function a$(){return a$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a$.apply(null,arguments)}function o$(e,t){if(e==null)return{};var n,r,i=s$(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s$(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function c$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l$(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?c$(Object(n),!0).forEach(function(t){u$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c$(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u$(e,t,n){return(t=d$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d$(e){var t=f$(e,`string`);return typeof t==`symbol`?t:t+``}function f$(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function p$(e,t){return e&&e!==`none`?e:t}var m$=e=>{var{dataKey:t,name:n,stroke:r,fill:i,legendType:a,hide:o}=e;return[{inactive:o,dataKey:t,type:a,color:p$(r,i),value:dE(n,t),payload:e}]},h$=z.memo(e=>{var{dataKey:t,data:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,unit:c,tooltipType:l,id:u}=e,d={dataDefinedOnItem:n,getPosition:xx,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,nameKey:void 0,name:dE(o,t),hide:s,type:l,color:p$(r,a),unit:c,graphicalItemId:u}};return z.createElement(HK,{tooltipEntrySettings:d})});function g$(e){var{clipPathId:t,points:n,props:r}=e,{needClip:i,dot:a,dataKey:o}=r,s=ey(r);return z.createElement(Zq,{points:n,dot:a,className:`recharts-area-dots`,dotClassName:`recharts-area-dot`,dataKey:o,baseProps:s,needClip:i,clipPathId:t})}function _$(e){var{showLabels:t,children:n,points:r}=e,i=r.map(e=>{var t={x:e.x??0,y:e.y??0,width:0,lowerWidth:0,upperWidth:0,height:0};return l$(l$({},t),{},{value:e.value,payload:e.payload,parentViewBox:void 0,viewBox:t,fill:void 0})});return z.createElement(BU,{value:t?i:void 0},n)}function v$(e){var{points:t,baseLine:n,needClip:r,clipPathId:i,props:a}=e,{layout:o,type:s,stroke:c,connectNulls:l,isRange:u}=a,{id:d}=a,f=o$(a,r$),p=ey(f),m=ny(f);return z.createElement(z.Fragment,null,t?.length>1&&z.createElement(Y,{clipPath:r?`url(#clipPath-${i})`:void 0},z.createElement(XO,a$({},m,{id:d,points:t,connectNulls:l,type:s,baseLine:n,layout:o,stroke:`none`,className:`recharts-area-area`})),c!==`none`&&z.createElement(XO,a$({},p,{className:`recharts-area-curve`,layout:o,type:s,connectNulls:l,fill:`none`,points:t})),c!==`none`&&u&&Array.isArray(n)&&z.createElement(XO,a$({},p,{className:`recharts-area-curve`,layout:o,type:s,connectNulls:l,fill:`none`,points:n}))),z.createElement(g$,{points:t,props:f,clipPathId:i}))}function y$(e){var{alpha:t,baseLine:n,points:r,strokeWidth:i}=e,a=r[0]?.y,o=r[r.length-1]?.y;if(!zT(a)||!zT(o))return null;var s=t*Math.abs(a-o),c=Math.max(...r.map(e=>e.x||0));return X(n)?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max(...n.map(e=>e.x||0),c)),X(c)?z.createElement(`rect`,{x:0,y:a<o?a:a-s,width:c+(i?parseInt(`${i}`,10):1),height:Math.floor(s)}):null}function b$(e){var{alpha:t,baseLine:n,points:r,strokeWidth:i}=e,a=r[0]?.x,o=r[r.length-1]?.x;if(!zT(a)||!zT(o))return null;var s=t*Math.abs(a-o),c=Math.max(...r.map(e=>e.y||0));return X(n)?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max(...n.map(e=>e.y||0),c)),X(c)?z.createElement(`rect`,{x:a<o?a:a-s,y:0,width:s,height:Math.floor(c+(i?parseInt(`${i}`,10):1))}):null}function x$(e){var{alpha:t,layout:n,points:r,baseLine:i,strokeWidth:a}=e;return n===`vertical`?z.createElement(y$,{alpha:t,points:r,baseLine:i,strokeWidth:a}):z.createElement(b$,{alpha:t,points:r,baseLine:i,strokeWidth:a})}function S$(e){var{needClip:t,clipPathId:n,props:r,previousPointsRef:i,previousBaselineRef:a}=e,{points:o,baseLine:s,isAnimationActive:c,animationBegin:l,animationDuration:u,animationEasing:d,onAnimationStart:f,onAnimationEnd:p}=r,m=Jk((0,z.useMemo)(()=>({points:o,baseLine:s}),[o,s]),`recharts-area-`),h=qE(),[g,_]=(0,z.useState)(!1),v=!g,y=(0,z.useCallback)(()=>{typeof p==`function`&&p(),_(!1)},[p]),b=(0,z.useCallback)(()=>{typeof f==`function`&&f(),_(!0)},[f]);if(h==null)return null;var x=i.current,S=a.current;return z.createElement(_$,{showLabels:v,points:o},r.children,z.createElement(qk,{animationId:m,begin:l,duration:u,isActive:c,easing:d,onAnimationEnd:y,onAnimationStart:b,key:m},e=>{if(x){var l=x.length/o.length,u=e===1?o:o.map((t,n)=>{var r=Math.floor(n*l);if(x[r]){var i=x[r];return l$(l$({},t),{},{x:Z(i.x,t.x,e),y:Z(i.y,t.y,e)})}return t}),d=X(s)?Z(S,s,e):vx(s)||dx(s)?Z(S,0,e):s.map((t,n)=>{var r=Math.floor(n*l);if(Array.isArray(S)&&S[r]){var i=S[r];return l$(l$({},t),{},{x:Z(i.x,t.x,e),y:Z(i.y,t.y,e)})}return t});return e>0&&(i.current=u,a.current=d),z.createElement(v$,{points:u,baseLine:d,needClip:t,clipPathId:n,props:r})}return e>0&&(i.current=o,a.current=s),z.createElement(Y,null,c&&z.createElement(`defs`,null,z.createElement(`clipPath`,{id:`animationClipPath-${n}`},z.createElement(x$,{alpha:e,points:o,baseLine:s,layout:h,strokeWidth:r.strokeWidth}))),z.createElement(Y,{clipPath:`url(#animationClipPath-${n})`},z.createElement(v$,{points:o,baseLine:s,needClip:t,clipPathId:n,props:r})))}),z.createElement(KU,{label:r.label}))}function C$(e){var{needClip:t,clipPathId:n,props:r}=e,i=(0,z.useRef)(null),a=(0,z.useRef)();return z.createElement(S$,{needClip:t,clipPathId:n,props:r,previousPointsRef:i,previousBaselineRef:a})}var w$=class extends z.PureComponent{render(){var{hide:e,dot:t,points:n,className:r,top:i,left:a,needClip:o,xAxisId:s,yAxisId:c,width:l,height:u,id:d,baseLine:f,zIndex:p}=this.props;if(e)return null;var m=J(`recharts-area`,r),h=d,{r:g,strokeWidth:_}=gQ(t),v=sK(t),y=g*2+_,b=o?`url(#clipPath-${v?``:`dots-`}${h})`:void 0;return z.createElement(iV,{zIndex:p},z.createElement(Y,{className:m},o&&z.createElement(`defs`,null,z.createElement(sQ,{clipPathId:h,xAxisId:s,yAxisId:c}),!v&&z.createElement(`clipPath`,{id:`clipPath-dots-${h}`},z.createElement(`rect`,{x:a-y/2,y:i-y/2,width:l+y,height:u+y}))),z.createElement(C$,{needClip:o,clipPathId:h,props:this.props})),z.createElement(xJ,{points:n,mainColor:p$(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:b}),this.props.isRange&&Array.isArray(f)&&z.createElement(xJ,{points:f,mainColor:p$(this.props.stroke,this.props.fill),itemDataKey:this.props.dataKey,activeDot:this.props.activeDot,clipPath:b}))}},T$={activeDot:!0,animationBegin:0,animationDuration:1500,animationEasing:`ease`,connectNulls:!1,dot:!1,fill:`#3182bd`,fillOpacity:.6,hide:!1,isAnimationActive:`auto`,legendType:`line`,stroke:`#3182bd`,strokeWidth:1,type:`linear`,label:!1,xAxisId:0,yAxisId:0,zIndex:Nj.area};function E$(e){var{activeDot:t,animationBegin:n,animationDuration:r,animationEasing:i,connectNulls:a,dot:o,fill:s,fillOpacity:c,hide:l,isAnimationActive:u,legendType:d,stroke:f,xAxisId:p,yAxisId:m}=e,h=o$(e,i$),g=KE(),_=TB(),{needClip:v}=oQ(p,m),y=DE(),{points:b,isRange:x,baseLine:S}=Q(t=>n$(t,e.id,y))??{},C=pJ();if(g!==`horizontal`&&g!==`vertical`||C==null||_!==`AreaChart`&&_!==`ComposedChart`)return null;var{height:w,width:T,x:E,y:D}=C;return!b||!b.length?null:z.createElement(w$,a$({},h,{activeDot:t,animationBegin:n,animationDuration:r,animationEasing:i,baseLine:S,connectNulls:a,dot:o,fill:s,fillOpacity:c,height:w,hide:l,layout:g,isAnimationActive:u,isRange:x,legendType:d,needClip:v,points:b,stroke:f,width:T,left:E,top:D,xAxisId:p,yAxisId:m}))}var D$=(e,t,n,r,i)=>{var a=n??t;if(X(a))return a;var o=e===`horizontal`?i:r,s=o.scale.domain();if(o.type===`number`){var c=Math.max(s[0],s[1]),l=Math.min(s[0],s[1]);return a===`dataMin`?l:a===`dataMax`||c<0?c:Math.max(Math.min(s[0],s[1]),0)}return a===`dataMin`?s[0]:a===`dataMax`?s[1]:s[0]};function O$(e){var{areaSettings:{connectNulls:t,baseValue:n,dataKey:r},stackedData:i,layout:a,chartBaseValue:o,xAxis:s,yAxis:c,displayedData:l,dataStartIndex:u,xAxisTicks:d,yAxisTicks:f,bandSize:p}=e,m=i&&i.length,h=D$(a,o,n,s,c),g=a===`horizontal`,_=!1,v=l.map((e,n)=>{var a;if(m)a=i[u+n];else{var o=KT(e,r);Array.isArray(o)?(a=o,_=!0):a=[h,o]}var l=a?.[1]??null,v=l==null||m&&!t&&KT(e,r)==null;return g?{x:tE({axis:s,ticks:d,bandSize:p,entry:e,index:n}),y:v?null:c.scale.map(l)??null,value:a,payload:e}:{x:v?null:s.scale.map(l)??null,y:tE({axis:c,ticks:f,bandSize:p,entry:e,index:n}),value:a,payload:e}});return{points:v,baseLine:(m||_?v.map(e=>{var t=Array.isArray(e.value)?e.value[0]:null;return g?{x:e.x,y:t!=null&&e.y!=null?c.scale.map(t)??null:null,payload:e.payload}:{x:t==null?null:s.scale.map(t)??null,y:e.y,payload:e.payload}}):g?c.scale.map(h):s.scale.map(h))??0,isRange:_}}function k$(e){var t=jx(e,T$),n=DE();return z.createElement(JK,{id:t.id,type:`area`},e=>z.createElement(z.Fragment,null,z.createElement(UK,{legendPayload:m$(t)}),z.createElement(h$,{dataKey:t.dataKey,data:t.data,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),z.createElement(rq,{type:`area`,id:e,data:t.data,dataKey:t.dataKey,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,stackId:eE(t.stackId),hide:t.hide,barSize:void 0,baseValue:t.baseValue,isPanorama:n,connectNulls:t.connectNulls}),z.createElement(E$,a$({},t,{id:e}))))}var A$=z.memo(k$,WD);A$.displayName=`Area`;var j$=!0,M$=`Invariant failed`;function N$(e,t){if(!e){if(j$)throw Error(M$);var n=typeof t==`function`?t():t,r=n?`${M$}: ${n}`:M$;throw Error(r)}}function P$(){return P$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P$.apply(null,arguments)}function F$(e){return z.createElement(RK,P$({shapeType:`rectangle`,activeClassName:`recharts-active-bar`,inActiveClassName:`recharts-inactive-bar`},e))}var I$=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return(n,r)=>{if(X(e))return e;var i=X(n)||vx(n);return i?e(n,r):(!i&&N$(!1,`minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`),t)}},L$=(e,t,n)=>n,R$=$([wL,(e,t)=>t],(e,t)=>e.filter(e=>e.type===`bar`).find(e=>e.id===t)),z$=$([R$],e=>e?.maxBarSize),B$=(e,t,n,r)=>r,V$=$([GE,wL,KQ,qQ,L$],(e,t,n,r,i)=>t.filter(t=>e===`horizontal`?t.xAxisId===n:t.yAxisId===r).filter(e=>e.isPanorama===i).filter(e=>e.hide===!1).filter(e=>e.type===`bar`)),H$=(e,t,n)=>{var r=GE(e),i=KQ(e,t),a=qQ(e,t);if(!(i==null||a==null))return r===`horizontal`?UL(e,`yAxis`,a,n):UL(e,`xAxis`,i,n)},U$=$([V$,Tj,(e,t)=>{var n=GE(e),r=KQ(e,t),i=qQ(e,t);if(!(r==null||i==null))return n===`horizontal`?wR(e,`xAxis`,r):wR(e,`yAxis`,i)}],pY),W$=(e,t,n)=>{var r=R$(e,t);if(r==null)return 0;var i=KQ(e,t),a=qQ(e,t);if(i==null||a==null)return 0;var o=GE(e),s=Sj(e),{maxBarSize:c}=r,l=vx(c)?s:c,u,d;return o===`horizontal`?(u=MR(e,`xAxis`,i,n),d=jR(e,`xAxis`,i,n)):(u=MR(e,`yAxis`,a,n),d=jR(e,`yAxis`,a,n)),lE(u,d,!0)??l??0},G$=(e,t,n)=>{var r=GE(e),i=KQ(e,t),a=qQ(e,t);if(!(i==null||a==null)){var o,s;return r===`horizontal`?(o=MR(e,`xAxis`,i,n),s=jR(e,`xAxis`,i,n)):(o=MR(e,`yAxis`,a,n),s=jR(e,`yAxis`,a,n)),lE(o,s)}},K$=$([TE,EE,(e,t,n)=>{var r=KQ(e,t);if(r!=null)return MR(e,`xAxis`,r,n)},(e,t,n)=>{var r=qQ(e,t);if(r!=null)return MR(e,`yAxis`,r,n)},(e,t,n)=>{var r=KQ(e,t);if(r!=null)return jR(e,`xAxis`,r,n)},(e,t,n)=>{var r=qQ(e,t);if(r!=null)return jR(e,`yAxis`,r,n)},$([$([U$,Sj,Cj,wj,W$,G$,z$],bY),R$],SY),GE,ij,G$,$([H$,R$],xY),R$,B$],(e,t,n,r,i,a,o,s,c,l,u,d,f)=>{var{chartData:p,dataStartIndex:m,dataEndIndex:h}=c;if(!(d==null||o==null||t==null||s!==`horizontal`&&s!==`vertical`||n==null||r==null||i==null||a==null||l==null)){var{data:g}=d,_=g!=null&&g.length>0?g:p?.slice(m,h+1);if(_!=null)return O1({layout:s,barSettings:d,pos:o,parentViewBox:t,bandSize:l,xAxis:n,yAxis:r,xAxisTicks:i,yAxisTicks:a,stackedData:u,displayedData:_,offset:e,cells:f,dataStartIndex:m})}}),q$=[`index`];function J$(){return J$=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J$.apply(null,arguments)}function Y$(e,t){if(e==null)return{};var n,r,i=X$(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function X$(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var Z$=(0,z.createContext)(void 0),Q$=e=>{var t=(0,z.useContext)(Z$);if(t!=null)return t.stackId;if(e!=null)return eE(e)},$$=(e,t)=>`recharts-bar-stack-clip-path-${e}-${t}`,e1=e=>{var t=(0,z.useContext)(Z$);if(t!=null){var{stackId:n}=t;return`url(#${$$(n,e)})`}},t1=e=>{var{index:t}=e,n=Y$(e,q$),r=e1(t);return z.createElement(Y,J$({className:`recharts-bar-stack-layer`,clipPath:r},n))},n1=[`onMouseEnter`,`onMouseLeave`,`onClick`],r1=[`value`,`background`,`tooltipPosition`],i1=[`id`],a1=[`onMouseEnter`,`onClick`,`onMouseLeave`];function o1(){return o1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o1.apply(null,arguments)}function s1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?s1(Object(n),!0).forEach(function(t){l1(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s1(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function l1(e,t,n){return(t=u1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u1(e){var t=d1(e,`string`);return typeof t==`symbol`?t:t+``}function d1(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function f1(e,t){if(e==null)return{};var n,r,i=p1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var m1=e=>{var{dataKey:t,name:n,fill:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:dE(n,t),payload:e}]},h1=z.memo(e=>{var{dataKey:t,stroke:n,strokeWidth:r,fill:i,name:a,hide:o,unit:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:void 0,getPosition:xx,settings:{stroke:n,strokeWidth:r,fill:i,dataKey:t,nameKey:void 0,name:dE(a,t),hide:o,type:c,color:i,unit:s,graphicalItemId:l}};return z.createElement(HK,{tooltipEntrySettings:u})});function g1(e){var t=Q(tB),{data:n,dataKey:r,background:i,allOtherBarProps:a}=e,{onMouseEnter:o,onMouseLeave:s,onClick:c}=a,l=f1(a,n1),u=zK(o,r,a.id),d=BK(s),f=VK(c,r,a.id);if(!i||n==null)return null;var p=ty(i);return z.createElement(iV,{zIndex:GY(i,Nj.barBackground)},n.map((e,n)=>{var{value:a,background:o,tooltipPosition:s}=e,c=f1(e,r1);if(!o)return null;var m=u(e,n),h=d(e,n),g=f(e,n),_=c1(c1(c1(c1(c1({option:i,isActive:String(n)===t},c),{},{fill:`#eee`},o),p),kx(l,e,n)),{},{onMouseEnter:m,onMouseLeave:h,onClick:g,dataKey:r,index:n,className:`recharts-bar-background-rectangle`});return z.createElement(F$,o1({key:`background-bar-${n}`},_))}))}function _1(e){var{showLabels:t,children:n,rects:r}=e,i=r?.map(e=>{var t={x:e.x,y:e.y,width:e.width,lowerWidth:e.width,upperWidth:e.width,height:e.height};return c1(c1({},t),{},{value:e.value,payload:e.payload,parentViewBox:e.parentViewBox,viewBox:t,fill:e.fill})});return z.createElement(BU,{value:t?i:void 0},n)}function v1(e){var{shape:t,activeBar:n,baseProps:r,entry:i,index:a,dataKey:o}=e,s=Q(tB),c=Q(rB),l=n&&String(i.originalDataIndex)===s&&(c==null||o===c),[u,d]=(0,z.useState)(!1),[f,p]=(0,z.useState)(!1);(0,z.useEffect)(()=>{var e;return l?(d(!0),e=requestAnimationFrame(()=>{p(!0)})):p(!1),()=>{cancelAnimationFrame(e)}},[l]);var m=(0,z.useCallback)(()=>{l||d(!1)},[l]),h=l&&f,g=l||u,_=l?n===!0?t:n:t,v=z.createElement(F$,o1({},r,{name:String(r.name)},i,{isActive:h,option:_,index:a,dataKey:o,onTransitionEnd:m}));return g?z.createElement(iV,{zIndex:Nj.activeBar},z.createElement(t1,{index:i.originalDataIndex},v)):v}function y1(e){var{shape:t,baseProps:n,entry:r,index:i,dataKey:a}=e;return z.createElement(F$,o1({},n,{name:String(n.name)},r,{isActive:!1,option:t,index:i,dataKey:a}))}function b1(e){var{data:t,props:n}=e,r=ey(n)??{},{id:i}=r,a=f1(r,i1),{shape:o,dataKey:s,activeBar:c}=n,{onMouseEnter:l,onClick:u,onMouseLeave:d}=n,f=f1(n,a1),p=zK(l,s,i),m=BK(d),h=VK(u,s,i);return t?z.createElement(z.Fragment,null,t.map((e,t)=>z.createElement(t1,o1({index:e.originalDataIndex,key:`rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,className:`recharts-bar-rectangle`},kx(f,e,t),{onMouseEnter:p(e,t),onMouseLeave:m(e,t),onClick:h(e,t)}),c?z.createElement(v1,{shape:o,activeBar:c,baseProps:a,entry:e,index:t,dataKey:s}):z.createElement(y1,{shape:o,baseProps:a,entry:e,index:t,dataKey:s})))):null}function x1(e){var{props:t,previousRectanglesRef:n}=e,{data:r,layout:i,isAnimationActive:a,animationBegin:o,animationDuration:s,animationEasing:c,onAnimationEnd:l,onAnimationStart:u}=t,d=n.current,f=Jk(t,`recharts-bar-`),[p,m]=(0,z.useState)(!1),h=!p,g=(0,z.useCallback)(()=>{typeof l==`function`&&l(),m(!1)},[l]),_=(0,z.useCallback)(()=>{typeof u==`function`&&u(),m(!0)},[u]);return z.createElement(_1,{showLabels:h,rects:r},z.createElement(qk,{animationId:f,begin:o,duration:s,isActive:a,easing:c,onAnimationEnd:g,onAnimationStart:_,key:f},e=>{var a=e===1?r:r?.map((t,n)=>{var r=d&&d[n];if(r)return c1(c1({},t),{},{x:Z(r.x,t.x,e),y:Z(r.y,t.y,e),width:Z(r.width,t.width,e),height:Z(r.height,t.height,e)});if(i===`horizontal`){var a=Z(0,t.height,e),o=Z(t.stackedBarStart,t.y,e);return c1(c1({},t),{},{y:o,height:a})}var s=Z(0,t.width,e),c=Z(t.stackedBarStart,t.x,e);return c1(c1({},t),{},{width:s,x:c})});return e>0&&(n.current=a??null),a==null?null:z.createElement(Y,null,z.createElement(b1,{props:t,data:a}))}),z.createElement(KU,{label:t.label}),t.children)}function S1(e){var t=(0,z.useRef)(null);return z.createElement(x1,{previousRectanglesRef:t,props:e})}var C1=0,w1=(e,t)=>{var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:KT(e,t)}},T1=class extends z.PureComponent{render(){var{hide:e,data:t,dataKey:n,className:r,xAxisId:i,yAxisId:a,needClip:o,background:s,id:c}=this.props;if(e||t==null)return null;var l=J(`recharts-bar`,r),u=c;return z.createElement(Y,{className:l,id:c},o&&z.createElement(`defs`,null,z.createElement(sQ,{clipPathId:u,xAxisId:i,yAxisId:a})),z.createElement(Y,{className:`recharts-bar-rectangles`,clipPath:o?`url(#clipPath-${u})`:void 0},z.createElement(g1,{data:t,dataKey:n,background:s,allOtherBarProps:this.props}),z.createElement(S1,this.props)))}},E1={activeBar:!1,animationBegin:0,animationDuration:400,animationEasing:`ease`,background:!1,hide:!1,isAnimationActive:`auto`,label:!1,legendType:`rect`,minPointSize:C1,xAxisId:0,yAxisId:0,zIndex:Nj.bar};function D1(e){var{xAxisId:t,yAxisId:n,hide:r,legendType:i,minPointSize:a,activeBar:o,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u}=e,{needClip:d}=oQ(t,n),f=KE(),p=DE(),m=oK(e.children,ZV),h=Q(t=>K$(t,e.id,p,m));if(f!==`vertical`&&f!==`horizontal`)return null;var g,_=h?.[0];return g=_==null||_.height==null||_.width==null?0:f===`vertical`?_.height/2:_.width/2,z.createElement(aQ,{xAxisId:t,yAxisId:n,data:h,dataPointFormatter:w1,errorBarOffset:g},z.createElement(T1,o1({},e,{layout:f,needClip:d,data:h,xAxisId:t,yAxisId:n,hide:r,legendType:i,minPointSize:a,activeBar:o,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:u})))}function O1(e){var{layout:t,barSettings:{dataKey:n,minPointSize:r,hasCustomShape:i},pos:a,bandSize:o,xAxis:s,yAxis:c,xAxisTicks:l,yAxisTicks:u,stackedData:d,displayedData:f,offset:p,cells:m,parentViewBox:h,dataStartIndex:g}=e,_=t===`horizontal`?c:s,v=d?_.scale.domain():null,y=rE({numericAxis:_}),b=_.scale.map(y);return f.map((e,f)=>{var _,x,S,C,w,T;if(d){var E=d[f+g];if(E==null)return null;_=ZT(E,v)}else _=KT(e,n),Array.isArray(_)||(_=[y,_]);var D=I$(r,C1)(_[1],f);if(t===`horizontal`){var O=c.scale.map(_[0]),k=c.scale.map(_[1]);if(O==null||k==null)return null;x=nE({axis:s,ticks:l,bandSize:o,offset:a.offset,entry:e,index:f}),S=k??O??void 0,C=a.size;var ee=O-k;if(w=dx(ee)?0:ee,T={x,y:p.top,width:C,height:p.height},Math.abs(D)>0&&Math.abs(w)<Math.abs(D)){var te=ux(w||D)*(Math.abs(D)-Math.abs(w));S-=te,w+=te}}else{var ne=s.scale.map(_[0]),A=s.scale.map(_[1]);if(ne==null||A==null)return null;if(x=ne,S=nE({axis:c,ticks:u,bandSize:o,offset:a.offset,entry:e,index:f}),C=A-ne,w=a.size,T={x:p.left,y:S,width:p.width,height:w},Math.abs(D)>0&&Math.abs(C)<Math.abs(D)){var re=ux(C||D)*(Math.abs(D)-Math.abs(C));C+=re}}return x==null||S==null||C==null||w==null||!i&&(C===0||w===0)?null:c1(c1({},e),{},{stackedBarStart:b,x,y:S,width:C,height:w,value:d?_:_[1],payload:e,background:T,tooltipPosition:{x:x+C/2,y:S+w/2},parentViewBox:h,originalDataIndex:f},m&&m[f]&&m[f].props)}).filter(Boolean)}function k1(e){var t=jx(e,E1),n=Q$(t.stackId),r=DE();return z.createElement(JK,{id:t.id,type:`bar`},e=>z.createElement(z.Fragment,null,z.createElement(UK,{legendPayload:m1(t)}),z.createElement(h1,{dataKey:t.dataKey,stroke:t.stroke,strokeWidth:t.strokeWidth,fill:t.fill,name:t.name,hide:t.hide,unit:t.unit,tooltipType:t.tooltipType,id:e}),z.createElement(rq,{type:`bar`,id:e,data:void 0,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:0,dataKey:t.dataKey,stackId:n,hide:t.hide,barSize:t.barSize,minPointSize:t.minPointSize,maxBarSize:t.maxBarSize,isPanorama:r,hasCustomShape:t.shape!=null}),z.createElement(iV,{zIndex:t.zIndex},z.createElement(D1,o1({},t,{id:e})))))}var A1=z.memo(k1,WD);A1.displayName=`Bar`;var j1=[`option`,`isActive`];function M1(){return M1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M1.apply(null,arguments)}function N1(e,t){if(e==null)return{};var n,r,i=P1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function P1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function F1(e){var{option:t,isActive:n}=e,r=N1(e,j1);return typeof t==`string`?z.createElement(RK,M1({option:z.createElement(Ex,M1({type:t},r)),isActive:n,shapeType:`symbols`},r)):z.createElement(RK,M1({option:t,isActive:n,shapeType:`symbols`},r))}var I1=$([(e,t,n,r,i,a,o)=>rj(e,void 0,void 0,o),(e,t,n,r,i,a,o)=>MR(e,`xAxis`,t,o),(e,t,n,r,i,a,o)=>jR(e,`xAxis`,t,o),(e,t,n,r,i,a,o)=>MR(e,`yAxis`,n,o),(e,t,n,r,i,a,o)=>jR(e,`yAxis`,n,o),(e,t,n,r)=>NR(e,`zAxis`,r,!1),$([wL,(e,t,n,r,i)=>i],(e,t)=>e.filter(e=>e.type===`scatter`).find(e=>e.id===t)),(e,t,n,r,i,a)=>a],(e,t,n,r,i,a,o,s)=>{var{chartData:c,dataStartIndex:l,dataEndIndex:u}=e;if(o!=null){var d=o?.data!=null&&o.data.length>0?o.data:c?.slice(l,u+1);if(!(d==null||t==null||r==null||n==null||i==null||n?.length===0||i?.length===0))return e0({displayedData:d,xAxis:t,yAxis:r,zAxis:a,scatterSettings:o,xAxisTicks:n,yAxisTicks:i,cells:s})}}),L1=[`id`],R1=[`onMouseEnter`,`onClick`,`onMouseLeave`],z1=[`animationBegin`,`animationDuration`,`animationEasing`,`hide`,`isAnimationActive`,`legendType`,`lineJointType`,`lineType`,`shape`,`xAxisId`,`yAxisId`,`zAxisId`];function B1(e,t){if(e==null)return{};var n,r,i=V1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function V1(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function H1(){return H1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},H1.apply(null,arguments)}function U1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function W1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?U1(Object(n),!0).forEach(function(t){G1(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U1(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function G1(e,t,n){return(t=K1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function K1(e){var t=q1(e,`string`);return typeof t==`symbol`?t:t+``}function q1(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var J1=e=>{var{dataKey:t,name:n,fill:r,legendType:i,hide:a}=e;return[{inactive:a,dataKey:t,type:i,color:r,value:dE(n,t),payload:e}]},Y1=z.memo(e=>{var{dataKey:t,points:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,tooltipType:c,id:l}=e,u={dataDefinedOnItem:n?.map(e=>e.tooltipPayload),getPosition:e=>{var t;return n==null||(t=n[Number(e)])==null?void 0:t.tooltipPosition},settings:{stroke:r,strokeWidth:i,fill:a,nameKey:void 0,dataKey:t,name:dE(o,t),hide:s,type:c,color:a,unit:``,graphicalItemId:l}};return z.createElement(HK,{tooltipEntrySettings:u})});function X1(e){var{points:t,props:n}=e,{line:r,lineType:i,lineJointType:a}=n;if(!r)return null;var o=ey(n),s=ty(r),c,l;if(i===`joint`)c=t.map(e=>({x:e.cx??null,y:e.cy??null}));else if(i===`fitting`){var{xmin:u,xmax:d,a:f,b:p}=Uee(t),m=e=>f*e+p;c=[{x:u,y:m(u)},{x:d,y:m(d)}]}var h=W1(W1(W1({},o),{},{fill:`none`,stroke:o&&o.fill},s),{},{points:c});return l=z.isValidElement(r)?z.cloneElement(r,h):typeof r==`function`?r(h):z.createElement(XO,H1({},h,{type:a})),z.createElement(Y,{className:`recharts-scatter-line`,key:`recharts-scatter-line`},l)}function Z1(e){var{showLabels:t,points:n,children:r}=e,i=VE(),a=(0,z.useMemo)(()=>n?.map(e=>{var t={x:e.x??0,y:e.y??0,width:e.width,height:e.height,lowerWidth:e.width,upperWidth:e.width};return W1(W1({},t),{},{value:void 0,payload:e.payload,viewBox:t,parentViewBox:i,fill:void 0})}),[i,n]);return z.createElement(BU,{value:t?a:void 0},r)}function Q1(e){var{points:t,allOtherScatterProps:n}=e,{shape:r,activeShape:i,dataKey:a}=n,{id:o}=n,s=B1(n,L1),c=Q(tB),{onMouseEnter:l,onClick:u,onMouseLeave:d}=n,f=B1(n,R1),p=zK(l,a,o),m=BK(d),h=VK(u,a,o);if(!tte(t))return null;var g=ey(s);return z.createElement(z.Fragment,null,z.createElement(X1,{points:t,props:s}),t.map((e,t)=>{var n=i!=null&&i!==!1,a=n&&c===String(t),s=n&&a?i:r,l=W1(W1(W1({},g),e),{},{index:t,[SE]:String(o)});return z.createElement(iV,{key:`symbol-${e?.cx}-${e?.cy}-${e?.size}-${t}`,zIndex:a?Nj.activeDot:void 0},z.createElement(Y,H1({className:`recharts-scatter-symbol`},kx(f,e,t),{onMouseEnter:p(e,t),onMouseLeave:m(e,t),onClick:h(e,t)}),z.createElement(F1,H1({option:s,isActive:a},l))))}))}function $1(e){var{previousPointsRef:t,props:n}=e,{points:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s}=n,c=t.current,l=Jk(n,`recharts-scatter-`),[u,d]=(0,z.useState)(!1),f=(0,z.useCallback)(()=>{d(!1)},[]),p=(0,z.useCallback)(()=>{d(!0)},[]),m=!u;return z.createElement(Z1,{showLabels:m,points:r},n.children,z.createElement(qk,{animationId:l,begin:a,duration:o,isActive:i,easing:s,onAnimationEnd:f,onAnimationStart:p,key:l},e=>{var i=e===1?r:r?.map((t,n)=>{var r=c&&c[n];return r?W1(W1({},t),{},{cx:t.cx==null?void 0:Z(r.cx,t.cx,e),cy:t.cy==null?void 0:Z(r.cy,t.cy,e),size:Z(r.size,t.size,e)}):W1(W1({},t),{},{size:Z(0,t.size,e)})});return e>0&&(t.current=i),z.createElement(Y,null,z.createElement(Q1,{points:i,allOtherScatterProps:n,showLabels:m}))}),z.createElement(KU,{label:n.label}))}function e0(e){var{displayedData:t,xAxis:n,yAxis:r,zAxis:i,scatterSettings:a,xAxisTicks:o,yAxisTicks:s,cells:c}=e,l=vx(n.dataKey)?a.dataKey:n.dataKey,u=vx(r.dataKey)?a.dataKey:r.dataKey,d=i&&i.dataKey,f=i?i.range:vL.range,p=f&&f[0],m=n.scale.bandwidth?n.scale.bandwidth():0,h=r.scale.bandwidth?r.scale.bandwidth():0;return t.map((e,t)=>{var f=KT(e,l),g=KT(e,u),_=!vx(d)&&KT(e,d)||`-`,v=[{name:vx(n.dataKey)?a.name:n.name||String(n.dataKey),unit:n.unit||``,value:f,payload:e,dataKey:l,type:a.tooltipType,graphicalItemId:a.id},{name:vx(r.dataKey)?a.name:r.name||String(r.dataKey),unit:r.unit||``,value:g,payload:e,dataKey:u,type:a.tooltipType,graphicalItemId:a.id}];_!==`-`&&i!=null&&v.push({name:i.name||i.dataKey,unit:i.unit||``,value:_,payload:e,dataKey:d,type:a.tooltipType,graphicalItemId:a.id});var y=tE({axis:n,ticks:o,bandSize:m,entry:e,index:t,dataKey:l}),b=tE({axis:r,ticks:s,bandSize:h,entry:e,index:t,dataKey:u}),x=_!==`-`&&i!=null?i.scale.map(_):p,S=x==null?0:Math.sqrt(Math.max(x,0)/Math.PI);return W1(W1({},e),{},{cx:y,cy:b,x:y==null?void 0:y-S,y:b==null?void 0:b-S,width:2*S,height:2*S,size:x,node:{x:f,y:g,z:_},tooltipPayload:v,tooltipPosition:{x:y,y:b},payload:e},c&&c[t]&&c[t].props)})}var t0=(e,t,n)=>({x:e.cx,y:e.cy,value:Number(n===`x`?e.node.x:e.node.y),errorVal:KT(e,t)});function n0(e){var{hide:t,points:n,className:r,needClip:i,xAxisId:a,yAxisId:o,id:s}=e,c=(0,z.useRef)(null);if(t)return null;var l=J(`recharts-scatter`,r),u=s;return z.createElement(iV,{zIndex:e.zIndex},z.createElement(Y,{className:l,clipPath:i?`url(#clipPath-${u})`:void 0,id:s},i&&z.createElement(`defs`,null,z.createElement(sQ,{clipPathId:u,xAxisId:a,yAxisId:o})),z.createElement(aQ,{xAxisId:a,yAxisId:o,data:n,dataPointFormatter:t0,errorBarOffset:0},z.createElement(Y,{key:`recharts-scatter-symbols`},z.createElement($1,{props:e,previousPointsRef:c})))))}var r0={xAxisId:0,yAxisId:0,zAxisId:0,label:!1,line:!1,legendType:`circle`,lineType:`joint`,lineJointType:`linear`,shape:`circle`,hide:!1,isAnimationActive:`auto`,animationBegin:0,animationDuration:400,animationEasing:`linear`,zIndex:Nj.scatter};function i0(e){var t=jx(e,r0),{animationBegin:n,animationDuration:r,animationEasing:i,hide:a,isAnimationActive:o,legendType:s,lineJointType:c,lineType:l,shape:u,xAxisId:d,yAxisId:f,zAxisId:p}=t,m=B1(t,z1),{needClip:h}=oQ(d,f),g=(0,z.useMemo)(()=>oK(e.children,ZV),[e.children]),_=DE(),v=Q(t=>I1(t,d,f,p,e.id,g,_));return h==null||v==null?null:z.createElement(z.Fragment,null,z.createElement(Y1,{dataKey:e.dataKey,points:v,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,id:e.id}),z.createElement(n0,H1({},m,{xAxisId:d,yAxisId:f,zAxisId:p,lineType:l,lineJointType:c,legendType:s,shape:u,hide:a,isAnimationActive:o,animationBegin:n,animationDuration:r,animationEasing:i,points:v,needClip:h})))}function a0(e){var t=jx(e,r0),n=DE();return z.createElement(JK,{id:t.id,type:`scatter`},e=>z.createElement(z.Fragment,null,z.createElement(UK,{legendPayload:J1(t)}),z.createElement(rq,{type:`scatter`,id:e,data:t.data,xAxisId:t.xAxisId,yAxisId:t.yAxisId,zAxisId:t.zAxisId,dataKey:t.dataKey,hide:t.hide,name:t.name,tooltipType:t.tooltipType,isPanorama:n}),z.createElement(i0,H1({},t,{id:e}))))}var o0=z.memo(a0,WD);o0.displayName=`Scatter`;var s0=[`domain`,`range`],c0=[`domain`,`range`];function l0(e,t){if(e==null)return{};var n,r,i=u0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u0(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function d0(e,t){return e===t?!0:Array.isArray(e)&&e.length===2&&Array.isArray(t)&&t.length===2?e[0]===t[0]&&e[1]===t[1]:!1}function f0(e,t){if(e===t)return!0;var{domain:n,range:r}=e,i=l0(e,s0),{domain:a,range:o}=t,s=l0(t,c0);return!d0(n,a)||!d0(r,o)?!1:WD(i,s)}var p0=[`type`],m0=[`dangerouslySetInnerHTML`,`ticks`,`scale`],h0=[`id`,`scale`];function g0(){return g0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g0.apply(null,arguments)}function _0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?_0(Object(n),!0).forEach(function(t){y0(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_0(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y0(e,t,n){return(t=b0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b0(e){var t=x0(e,`string`);return typeof t==`symbol`?t:t+``}function x0(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function S0(e,t){if(e==null)return{};var n,r,i=C0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function C0(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function w0(e){var t=lS(),n=(0,z.useRef)(null),r=qE(),{type:i}=e,a=S0(e,p0),o=Lj(r,`xAxis`,i),s=(0,z.useMemo)(()=>{if(o!=null)return v0(v0({},a),{},{type:o})},[a,o]);return(0,z.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(iJ(s)):n.current!==s&&t(aJ({prev:n.current,next:s})),n.current=s)},[s,t]),(0,z.useLayoutEffect)(()=>()=>{n.current&&=(t(oJ(n.current)),null)},[t]),null}var T0=e=>{var{xAxisId:t,className:n}=e,r=Q(EE),i=DE(),a=`xAxis`,o=Q(e=>kR(e,a,t,i)),s=Q(e=>SR(e,t)),c=Q(e=>Jie(e,t)),l=Q(e=>pL(e,t));if(s==null||c==null||l==null)return null;var{dangerouslySetInnerHTML:u,ticks:d,scale:f}=e,p=S0(e,m0),{id:m,scale:h}=l,g=S0(l,h0);return z.createElement(AZ,g0({},p,g,{x:c.x,y:c.y,width:s.width,height:s.height,className:J(`recharts-${a} ${a}`,n),viewBox:r,ticks:o,axisType:a,axisId:t}))},E0={allowDataOverflow:fL.allowDataOverflow,allowDecimals:fL.allowDecimals,allowDuplicatedCategory:fL.allowDuplicatedCategory,angle:fL.angle,axisLine:xZ.axisLine,height:fL.height,hide:!1,includeHidden:fL.includeHidden,interval:fL.interval,label:!1,minTickGap:fL.minTickGap,mirror:fL.mirror,orientation:fL.orientation,padding:fL.padding,reversed:fL.reversed,scale:fL.scale,tick:fL.tick,tickCount:fL.tickCount,tickLine:xZ.tickLine,tickSize:xZ.tickSize,type:fL.type,niceTicks:fL.niceTicks,xAxisId:0},D0=z.memo(e=>{var t=jx(e,E0);return z.createElement(z.Fragment,null,z.createElement(w0,{allowDataOverflow:t.allowDataOverflow,allowDecimals:t.allowDecimals,allowDuplicatedCategory:t.allowDuplicatedCategory,angle:t.angle,dataKey:t.dataKey,domain:t.domain,height:t.height,hide:t.hide,id:t.xAxisId,includeHidden:t.includeHidden,interval:t.interval,minTickGap:t.minTickGap,mirror:t.mirror,name:t.name,orientation:t.orientation,padding:t.padding,reversed:t.reversed,scale:t.scale,tick:t.tick,tickCount:t.tickCount,tickFormatter:t.tickFormatter,ticks:t.ticks,type:t.type,unit:t.unit,niceTicks:t.niceTicks}),z.createElement(T0,t))},f0);D0.displayName=`XAxis`;var O0=[`type`],k0=[`dangerouslySetInnerHTML`,`ticks`,`scale`],A0=[`id`,`scale`];function j0(){return j0=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j0.apply(null,arguments)}function M0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function N0(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?M0(Object(n),!0).forEach(function(t){P0(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M0(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function P0(e,t,n){return(t=F0(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F0(e){var t=I0(e,`string`);return typeof t==`symbol`?t:t+``}function I0(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function L0(e,t){if(e==null)return{};var n,r,i=R0(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function R0(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function z0(e){var t=lS(),n=(0,z.useRef)(null),r=qE(),{type:i}=e,a=L0(e,O0),o=Lj(r,`yAxis`,i),s=(0,z.useMemo)(()=>{if(o!=null)return N0(N0({},a),{},{type:o})},[o,a]);return(0,z.useLayoutEffect)(()=>{s!=null&&(n.current===null?t(sJ(s)):n.current!==s&&t(cJ({prev:n.current,next:s})),n.current=s)},[s,t]),(0,z.useLayoutEffect)(()=>()=>{n.current&&=(t(lJ(n.current)),null)},[t]),null}function B0(e){var{yAxisId:t,className:n,width:r,label:i}=e,a=(0,z.useRef)(null),o=(0,z.useRef)(null),s=Q(EE),c=DE(),l=lS(),u=`yAxis`,d=Q(e=>CR(e,t)),f=Q(e=>Yie(e,t)),p=Q(e=>kR(e,u,t,c)),m=Q(e=>gL(e,t));if((0,z.useLayoutEffect)(()=>{if(!(r!==`auto`||!d||SU(i)||(0,z.isValidElement)(i)||m==null)){var e=a.current;if(e){var n=e.getCalculatedWidth();Math.round(d.width)!==Math.round(n)&&l(uJ({id:t,width:n}))}}},[p,d,l,i,t,r,m]),d==null||f==null||m==null)return null;var{dangerouslySetInnerHTML:h,ticks:g,scale:_}=e,v=L0(e,k0),{id:y,scale:b}=m,x=L0(m,A0);return z.createElement(AZ,j0({},v,x,{ref:a,labelRef:o,x:f.x,y:f.y,tickTextProps:r===`auto`?{width:void 0}:{width:r},width:d.width,height:d.height,className:J(`recharts-${u} ${u}`,n),viewBox:s,ticks:p,axisType:u,axisId:t}))}var V0={allowDataOverflow:hL.allowDataOverflow,allowDecimals:hL.allowDecimals,allowDuplicatedCategory:hL.allowDuplicatedCategory,angle:hL.angle,axisLine:xZ.axisLine,hide:!1,includeHidden:hL.includeHidden,interval:hL.interval,label:!1,minTickGap:hL.minTickGap,mirror:hL.mirror,orientation:hL.orientation,padding:hL.padding,reversed:hL.reversed,scale:hL.scale,tick:hL.tick,tickCount:hL.tickCount,tickLine:xZ.tickLine,tickSize:xZ.tickSize,type:hL.type,niceTicks:hL.niceTicks,width:hL.width,yAxisId:0},H0=z.memo(e=>{var t=jx(e,V0);return z.createElement(z.Fragment,null,z.createElement(z0,{interval:t.interval,id:t.yAxisId,scale:t.scale,type:t.type,domain:t.domain,allowDataOverflow:t.allowDataOverflow,dataKey:t.dataKey,allowDuplicatedCategory:t.allowDuplicatedCategory,allowDecimals:t.allowDecimals,tickCount:t.tickCount,padding:t.padding,includeHidden:t.includeHidden,reversed:t.reversed,ticks:t.ticks,width:t.width,orientation:t.orientation,mirror:t.mirror,hide:t.hide,unit:t.unit,name:t.name,angle:t.angle,minTickGap:t.minTickGap,tick:t.tick,tickFormatter:t.tickFormatter,niceTicks:t.niceTicks}),z.createElement(B0,t))},f0);H0.displayName=`YAxis`;var U0={begin:0,duration:1e3,easing:`ease`,isActive:!0,canBegin:!0,onAnimationEnd:()=>{},onAnimationStart:()=>{}};function W0(e){var t=jx(e,U0),{animationId:n,from:r,to:i,attributeName:a,isActive:o,canBegin:s,duration:c,easing:l,begin:u,onAnimationEnd:d,onAnimationStart:f,children:p}=t,m=EO(),h=o===`auto`?!TO.isSsr&&!m:o,g=Uk(n+a,t.animationManager),[_,v]=(0,z.useState)(()=>h?r:i),y=(0,z.useRef)(!1),b=(0,z.useCallback)(()=>{v(r),f()},[r,f]);return(0,z.useEffect)(()=>{if(!h||!s)return xx;y.current=!0;var e=g.subscribe(v);return g.start([b,u,i,c,d]),()=>{g.stop(),e&&e(),d()}},[h,s,c,l,u,b,d,g,i,r]),h?s&&y.current?p({transition:hk([a],c,l),[a]:_}):p({[a]:r}):p({[a]:i})}var G0=$([(e,t)=>t,GE,tM,uM,Jz,Xz,kB,TE],VB);function K0(e){return`getBBox`in e.currentTarget&&typeof e.currentTarget.getBBox==`function`}function q0(e){var t=e.currentTarget.getBoundingClientRect(),n,r;if(K0(e)){var i=e.currentTarget.getBBox();n=i.width>0?t.width/i.width:1,r=i.height>0?t.height/i.height:1}else{var a=e.currentTarget;n=a.offsetWidth>0?t.width/a.offsetWidth:1,r=a.offsetHeight>0?t.height/a.offsetHeight:1}var o=(e,i)=>({relativeX:Math.round((e-t.left)/n),relativeY:Math.round((i-t.top)/r)});return`touches`in e?Array.from(e.touches).map(e=>o(e.clientX,e.clientY)):o(e.clientX,e.clientY)}var J0=Cw(`mouseClick`),Y0=AT();Y0.startListening({actionCreator:J0,effect:(e,t)=>{var n=e.payload,r=G0(t.getState(),q0(n));r?.activeIndex!=null&&t.dispatch($R({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}});var X0=Cw(`mouseMove`),Z0=AT(),Q0=null,$0=null,e2=null;Z0.startListening({actionCreator:X0,effect:(e,t)=>{var n=e.payload,{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i?.includes(`mousemove`);Q0!==null&&(cancelAnimationFrame(Q0),Q0=null),$0!==null&&(typeof r!=`number`||!a)&&(clearTimeout($0),$0=null),e2=q0(n);var o=()=>{var e=t.getState(),n=RR(e,e.tooltip.settings.shared);if(!e2){Q0=null,$0=null;return}if(n===`axis`){var r=G0(e,e2);r?.activeIndex==null?t.dispatch(XR()):t.dispatch(QR({activeIndex:r.activeIndex,activeDataKey:void 0,activeCoordinate:r.activeCoordinate}))}Q0=null,$0=null};if(!a){o();return}r===`raf`?Q0=requestAnimationFrame(o):typeof r==`number`&&$0===null&&($0=setTimeout(o,r))}});function t2(e,t){return t instanceof HTMLElement?`HTMLElement <${t.tagName} class=\"${t.className}\">`:t===window?`global.window`:e===`children`&&typeof t==`object`&&t?`<<CHILDREN>>`:t}var n2={accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,barSize:void 0,className:void 0,maxBarSize:void 0,stackOffset:`none`,syncId:void 0,syncMethod:`index`,baseValue:void 0,reverseStackOrder:!1},r2=Ww({name:`rootProps`,initialState:n2,reducers:{updateOptions:(e,t)=>{e.accessibilityLayer=t.payload.accessibilityLayer,e.barCategoryGap=t.payload.barCategoryGap,e.barGap=t.payload.barGap??n2.barGap,e.barSize=t.payload.barSize,e.maxBarSize=t.payload.maxBarSize,e.stackOffset=t.payload.stackOffset,e.syncId=t.payload.syncId,e.syncMethod=t.payload.syncMethod,e.className=t.payload.className,e.baseValue=t.payload.baseValue,e.reverseStackOrder=t.payload.reverseStackOrder}}}),i2=r2.reducer,{updateOptions:a2}=r2.actions,o2=Ww({name:`polarOptions`,initialState:null,reducers:{updatePolarOptions:(e,t)=>e===null?t.payload:(e.startAngle=t.payload.startAngle,e.endAngle=t.payload.endAngle,e.cx=t.payload.cx,e.cy=t.payload.cy,e.innerRadius=t.payload.innerRadius,e.outerRadius=t.payload.outerRadius,e)}}),{updatePolarOptions:s2}=o2.actions,c2=o2.reducer,l2=Cw(`keyDown`),u2=Cw(`focus`),d2=Cw(`blur`),f2=AT(),p2=null,m2=null,h2=null;f2.startListening({actionCreator:l2,effect:(e,t)=>{h2=e.payload,p2!==null&&(cancelAnimationFrame(p2),p2=null);var{throttleDelay:n,throttledEvents:r}=t.getState().eventSettings,i=r===`all`||r.includes(`keydown`);m2!==null&&(typeof n!=`number`||!i)&&(clearTimeout(m2),m2=null);var a=()=>{try{var e=t.getState();if(e.rootProps.accessibilityLayer===!1)return;var{keyboardInteraction:n}=e.tooltip,r=h2;if(r!==`ArrowRight`&&r!==`ArrowLeft`&&r!==`Enter`)return;var i=mz(n,Iz(e),VL(e),Gz(e)),a=i==null?-1:Number(i),o=!Number.isFinite(a)||a<0,s=Xz(e),c=Iz(e),l=RR(e,e.tooltip.settings.shared);if(r===`Enter`){if(o)return;var u=PB(e,l,`hover`,String(n.index));t.dispatch(tz({active:!n.active,activeIndex:n.index,activeCoordinate:u}));return}var d=PR(e)===`left-to-right`?1:-1,f=r===`ArrowRight`?1:-1,p;if(o){var m=VL(e),h=Gz(e),g=f*d,_=e=>({active:!1,index:String(e),dataKey:void 0,graphicalItemId:void 0,coordinate:void 0});if(p=-1,g>0){for(var v=0;v<c.length;v++)if(mz(_(v),c,m,h)!=null){p=v;break}}else for(var y=c.length-1;y>=0;y--)if(mz(_(y),c,m,h)!=null){p=y;break}if(p<0)return}else{p=a+f*d;var b=s?.length||c.length;if(b===0||p>=b||p<0)return}var x=PB(e,l,`hover`,String(p));t.dispatch(tz({active:!0,activeIndex:p.toString(),activeCoordinate:x}))}finally{p2=null,m2=null}};if(!i){a();return}n===`raf`?p2=requestAnimationFrame(a):typeof n==`number`&&m2===null&&(a(),h2=null,m2=setTimeout(()=>{h2?a():(m2=null,p2=null)},n))}}),f2.startListening({actionCreator:u2,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;if(!r.active&&r.index==null){var i=`0`,a=PB(n,RR(n,n.tooltip.settings.shared),`hover`,String(i));t.dispatch(tz({active:!0,activeIndex:i,activeCoordinate:a}))}}}}),f2.startListening({actionCreator:d2,effect:(e,t)=>{var n=t.getState();if(n.rootProps.accessibilityLayer!==!1){var{keyboardInteraction:r}=n.tooltip;r.active&&t.dispatch(tz({active:!1,activeIndex:r.index,activeCoordinate:r.coordinate}))}}});function g2(e){e.persist();var{currentTarget:t}=e;return new Proxy(e,{get:(e,n)=>{if(n===`currentTarget`)return t;var r=Reflect.get(e,n);return typeof r==`function`?r.bind(e):r}})}var _2=Cw(`externalEvent`),v2=AT(),y2=new Map,b2=new Map,x2=new Map;v2.startListening({actionCreator:_2,effect:(e,t)=>{var{handler:n,reactEvent:r}=e.payload;if(n!=null){var i=r.type,a=g2(r);x2.set(i,{handler:n,reactEvent:a});var o=y2.get(i);o!==void 0&&(cancelAnimationFrame(o),y2.delete(i));var{throttleDelay:s,throttledEvents:c}=t.getState().eventSettings,l=c,u=l===`all`||l?.includes(i),d=b2.get(i);d!==void 0&&(typeof s!=`number`||!u)&&(clearTimeout(d),b2.delete(i));var f=()=>{var e=x2.get(i);try{if(!e)return;var{handler:n,reactEvent:r}=e,a=t.getState(),o={activeCoordinate:oB(a),activeDataKey:rB(a),activeIndex:tB(a),activeLabel:nB(a),activeTooltipIndex:tB(a),isTooltipActive:sB(a)};n&&n(o,r)}finally{y2.delete(i),b2.delete(i),x2.delete(i)}};if(!u){f();return}if(s===`raf`){var p=requestAnimationFrame(f);y2.set(i,p)}else if(typeof s==`number`){if(!b2.has(i)){f();var m=setTimeout(f,s);b2.set(i,m)}}else f()}}});var S2=$([$([vz],e=>e.tooltipItemPayloads),(e,t)=>t,(e,t,n)=>n],(e,t,n)=>{if(t!=null){var r=e.find(e=>e.settings.graphicalItemId===n);if(r!=null){var{getPosition:i}=r;if(i!=null)return i(t)}}}),C2=Cw(`touchMove`),w2=AT(),T2=null,E2=null,D2=null,O2=null;w2.startListening({actionCreator:C2,effect:(e,t)=>{var n=e.payload;if(!(n.touches==null||n.touches.length===0)){O2=g2(n);var{throttleDelay:r,throttledEvents:i}=t.getState().eventSettings,a=i===`all`||i.includes(`touchmove`);T2!==null&&(cancelAnimationFrame(T2),T2=null),E2!==null&&(typeof r!=`number`||!a)&&(clearTimeout(E2),E2=null),D2=Array.from(n.touches).map(e=>q0({clientX:e.clientX,clientY:e.clientY,currentTarget:n.currentTarget}));var o=()=>{if(O2!=null){var e=t.getState(),n=RR(e,e.tooltip.settings.shared);if(n===`axis`){var r=D2?.[0];if(r==null){T2=null,E2=null;return}var i=G0(e,r);i?.activeIndex!=null&&t.dispatch(QR({activeIndex:i.activeIndex,activeDataKey:void 0,activeCoordinate:i.activeCoordinate}))}else if(n===`item`){var a=O2.touches[0];if(document.elementFromPoint==null||a==null)return;var o=document.elementFromPoint(a.clientX,a.clientY);if(!o||!o.getAttribute)return;var s=o.getAttribute(xE),c=o.getAttribute(`data-recharts-item-id`)??void 0,l=Mz(e).find(e=>e.id===c);if(s==null||l==null||c==null)return;var{dataKey:u}=l,d=S2(e,s,c);t.dispatch(JR({activeDataKey:u,activeIndex:s,activeCoordinate:d,activeGraphicalItemId:c}))}T2=null,E2=null}};if(!a){o();return}r===`raf`?T2=requestAnimationFrame(o):typeof r==`number`&&E2===null&&(o(),O2=null,E2=setTimeout(()=>{O2?o():(E2=null,T2=null)},r))}}});var k2={throttleDelay:`raf`,throttledEvents:[`mousemove`,`touchmove`,`pointermove`,`scroll`,`wheel`]},A2=Ww({name:`eventSettings`,initialState:k2,reducers:{setEventSettings:(e,t)=>{t.payload.throttleDelay!=null&&(e.throttleDelay=t.payload.throttleDelay),t.payload.throttledEvents!=null&&(e.throttledEvents=ID(t.payload.throttledEvents))}}}),{setEventSettings:j2}=A2.actions,M2=A2.reducer,N2=JS({brush:vX,cartesianAxis:dJ,chartData:OV,errorBars:eQ,eventSettings:M2,graphicalItems:nq,layout:LT,legend:fne,options:SV,polarAxis:XW,polarOptions:c2,referenceElements:EX,renderedTicks:dZ,rootProps:i2,tooltip:nz,zIndex:rV}),P2=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:`Chart`;return Pw({reducer:N2,preloadedState:e,middleware:e=>e({serializableCheck:!1,immutableCheck:![`commonjs`,`es6`,`production`].includes(`es6`)}).concat([Y0.middleware,Z0.middleware,f2.middleware,v2.middleware,w2.middleware]),enhancers:e=>{var t=e;return typeof e==`function`&&(t=e()),t.concat(Mw({type:`raf`}))},devTools:TO.devToolsEnabled&&{serialize:{replacer:t2},name:`recharts-${t}`}})};function F2(e){var{preloadedState:t,children:n,reduxStoreName:r}=e,i=DE(),a=(0,z.useRef)(null);if(i)return n;a.current??=P2(t,r);var o=oS;return z.createElement(Ene,{context:o,store:a.current},n)}function I2(e){var{layout:t,margin:n}=e,r=lS(),i=DE();return(0,z.useEffect)(()=>{i||(r(PT(t)),r(NT(n)))},[r,i,t,n]),null}var L2=(0,z.memo)(I2,WD);function R2(e){var t=lS();return(0,z.useEffect)(()=>{t(a2(e))},[t,e]),null}var z2=(0,z.memo)(e=>{var t=lS();return(0,z.useEffect)(()=>{t(j2(e))},[t,e]),null},WD);function B2(e){var{zIndex:t,isPanorama:n}=e,r=(0,z.useRef)(null),i=lS();return(0,z.useLayoutEffect)(()=>(r.current&&i(tV({zIndex:t,element:r.current,isPanorama:n})),()=>{i(nV({zIndex:t,isPanorama:n}))}),[i,t,n]),z.createElement(`g`,{tabIndex:-1,ref:r,className:`recharts-zIndex-layer_${t}`})}function V2(e){var{children:t,isPanorama:n}=e,r=Q(UB);if(!r||r.length===0)return t;var i=r.filter(e=>e<0),a=r.filter(e=>e>0);return z.createElement(z.Fragment,null,i.map(e=>z.createElement(B2,{key:e,zIndex:e,isPanorama:n})),t,a.map(e=>z.createElement(B2,{key:e,zIndex:e,isPanorama:n})))}var H2=[`children`];function U2(e,t){if(e==null)return{};var n,r,i=W2(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function W2(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function G2(){return G2=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G2.apply(null,arguments)}var K2={width:`100%`,height:`100%`,display:`block`},q2=(0,z.forwardRef)((e,t)=>{var n=UE(),r=WE(),i=FO();if(!BT(n)||!BT(r))return null;var{children:a,otherAttributes:o,title:s,desc:c}=e,l,u;return o!=null&&(l=typeof o.tabIndex==`number`?o.tabIndex:i?0:void 0,u=typeof o.role==`string`?o.role:i?`application`:void 0),z.createElement(cy,G2({},o,{title:s,desc:c,role:u,tabIndex:l,width:n,height:r,style:K2,ref:t}),a)}),J2=e=>{var{children:t}=e,n=Q(kE);if(!n)return null;var{width:r,height:i,y:a,x:o}=n;return z.createElement(cy,{width:r,height:i,x:o,y:a},t)},Y2=(0,z.forwardRef)((e,t)=>{var{children:n}=e,r=U2(e,H2);return DE()?z.createElement(J2,null,z.createElement(V2,{isPanorama:!0},n)):z.createElement(q2,G2({ref:t},r),z.createElement(V2,{isPanorama:!1},n))});function X2(){var e=lS(),[t,n]=(0,z.useState)(null),r=Q(gE);return(0,z.useEffect)(()=>{if(t!=null){var n=t.getBoundingClientRect().width/t.offsetWidth;zT(n)&&n!==r&&e(IT(n))}},[t,e,r]),n}function Z2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Q2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Z2(Object(n),!0).forEach(function(t){$2(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z2(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $2(e,t,n){return(t=e4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function e4(e){var t=t4(e,`string`);return typeof t==`symbol`?t:t+``}function t4(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function n4(){return n4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n4.apply(null,arguments)}var r4=()=>(zV(),null);function i4(e){if(typeof e==`number`)return e;if(typeof e==`string`){var t=parseFloat(e);if(!Number.isNaN(t))return t}return 0}var a4=(0,z.forwardRef)((e,t)=>{var n=(0,z.useRef)(null),[r,i]=(0,z.useState)({containerWidth:i4(e.style?.width),containerHeight:i4(e.style?.height)}),a=(0,z.useCallback)((e,t)=>{i(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),o=(0,z.useCallback)(e=>{if(typeof t==`function`&&t(e),n.current!=null&&(n.current.disconnect(),n.current=null),e!=null&&typeof ResizeObserver<`u`){var{width:r,height:i}=e.getBoundingClientRect();a(r,i);var o=new ResizeObserver(e=>{var t=e[0];if(t!=null){var{width:n,height:r}=t.contentRect;a(n,r)}});o.observe(e),n.current=o}},[t,a]);return(0,z.useEffect)(()=>()=>{n.current?.disconnect()},[a]),z.createElement(z.Fragment,null,z.createElement(XE,{width:r.containerWidth,height:r.containerHeight}),z.createElement(`div`,n4({ref:o},e)))}),o4=(0,z.forwardRef)((e,t)=>{var{width:n,height:r}=e,[i,a]=(0,z.useState)({containerWidth:i4(n),containerHeight:i4(r)}),o=(0,z.useCallback)((e,t)=>{a(n=>{var r=Math.round(e),i=Math.round(t);return n.containerWidth===r&&n.containerHeight===i?n:{containerWidth:r,containerHeight:i}})},[]),s=(0,z.useCallback)(e=>{if(typeof t==`function`&&t(e),e!=null){var{width:n,height:r}=e.getBoundingClientRect();o(n,r)}},[t,o]);return z.createElement(z.Fragment,null,z.createElement(XE,{width:i.containerWidth,height:i.containerHeight}),z.createElement(`div`,n4({ref:s},e)))}),s4=(0,z.forwardRef)((e,t)=>{var{width:n,height:r}=e;return z.createElement(z.Fragment,null,z.createElement(XE,{width:n,height:r}),z.createElement(`div`,n4({ref:t},e)))}),c4=(0,z.forwardRef)((e,t)=>{var{width:n,height:r}=e;return typeof n==`string`||typeof r==`string`?z.createElement(o4,n4({},e,{ref:t})):typeof n==`number`&&typeof r==`number`?z.createElement(s4,n4({},e,{width:n,height:r,ref:t})):z.createElement(z.Fragment,null,z.createElement(XE,{width:n,height:r}),z.createElement(`div`,n4({ref:t},e)))});function l4(e){return e?a4:c4}var u4=(0,z.forwardRef)((e,t)=>{var{children:n,className:r,height:i,onClick:a,onContextMenu:o,onDoubleClick:s,onMouseDown:c,onMouseEnter:l,onMouseLeave:u,onMouseMove:d,onMouseUp:f,onTouchEnd:p,onTouchMove:m,onTouchStart:h,style:g,width:_,responsive:v,dispatchTouchEvents:y=!0}=e,b=(0,z.useRef)(null),x=lS(),[S,C]=(0,z.useState)(null),[w,T]=(0,z.useState)(null),E=X2(),D=RE(),O=D?.width>0?D.width:_,k=D?.height>0?D.height:i,ee=(0,z.useCallback)(e=>{E(e),typeof t==`function`&&t(e),C(e),T(e),e!=null&&(b.current=e)},[E,t,C,T]),te=(0,z.useCallback)(e=>{x(J0(e)),x(_2({handler:a,reactEvent:e}))},[x,a]),ne=(0,z.useCallback)(e=>{x(X0(e)),x(_2({handler:l,reactEvent:e}))},[x,l]),A=(0,z.useCallback)(e=>{x(XR()),x(_2({handler:u,reactEvent:e}))},[x,u]),re=(0,z.useCallback)(e=>{x(X0(e)),x(_2({handler:d,reactEvent:e}))},[x,d]),j=(0,z.useCallback)(()=>{x(u2())},[x]),ie=(0,z.useCallback)(()=>{x(d2())},[x]),ae=(0,z.useCallback)(e=>{x(l2(e.key))},[x]),oe=(0,z.useCallback)(e=>{x(_2({handler:o,reactEvent:e}))},[x,o]),se=(0,z.useCallback)(e=>{x(_2({handler:s,reactEvent:e}))},[x,s]),ce=(0,z.useCallback)(e=>{x(_2({handler:c,reactEvent:e}))},[x,c]),M=(0,z.useCallback)(e=>{x(_2({handler:f,reactEvent:e}))},[x,f]),le=(0,z.useCallback)(e=>{x(_2({handler:h,reactEvent:e}))},[x,h]),ue=(0,z.useCallback)(e=>{y&&x(C2(e)),x(_2({handler:m,reactEvent:e}))},[x,y,m]),de=(0,z.useCallback)(e=>{x(_2({handler:p,reactEvent:e}))},[x,p]),fe=l4(v);return z.createElement(mV.Provider,{value:S},z.createElement(py.Provider,{value:w},z.createElement(fe,{width:O??g?.width,height:k??g?.height,className:J(`recharts-wrapper`,r),style:Q2({position:`relative`,cursor:`default`,width:O,height:k},g),onClick:te,onContextMenu:oe,onDoubleClick:se,onFocus:j,onBlur:ie,onKeyDown:ae,onMouseDown:ce,onMouseEnter:ne,onMouseLeave:A,onMouseMove:re,onMouseUp:M,onTouchEnd:de,onTouchMove:ue,onTouchStart:le,ref:ee},z.createElement(r4,null),n)))}),d4=[`width`,`height`,`responsive`,`children`,`className`,`style`,`compact`,`title`,`desc`];function f4(e,t){if(e==null)return{};var n,r,i=p4(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p4(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}var m4=(0,z.forwardRef)((e,t)=>{var{width:n,height:r,responsive:i,children:a,className:o,style:s,compact:c,title:l,desc:u}=e,d=ey(f4(e,d4));return c?z.createElement(z.Fragment,null,z.createElement(XE,{width:n,height:r}),z.createElement(Y2,{otherAttributes:d,title:l,desc:u},a)):z.createElement(u4,{className:o,style:s,width:n,height:r,responsive:i??!1,onClick:e.onClick,onMouseLeave:e.onMouseLeave,onMouseEnter:e.onMouseEnter,onMouseMove:e.onMouseMove,onMouseDown:e.onMouseDown,onMouseUp:e.onMouseUp,onContextMenu:e.onContextMenu,onDoubleClick:e.onDoubleClick,onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd},z.createElement(Y2,{otherAttributes:d,title:l,desc:u,ref:t},z.createElement(OX,null,a)))});function h4(){return h4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h4.apply(null,arguments)}function g4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?g4(Object(n),!0).forEach(function(t){v4(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v4(e,t,n){return(t=y4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y4(e){var t=b4(e,`string`);return typeof t==`symbol`?t:t+``}function b4(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var x4=_4({accessibilityLayer:!0,barCategoryGap:`10%`,barGap:4,layout:`horizontal`,margin:{top:5,right:5,bottom:5,left:5},responsive:!1,reverseStackOrder:!1,stackOffset:`none`,syncMethod:`index`},k2),S4=(0,z.forwardRef)(function(e,t){var n=jx(e.categoricalChartProps,x4),{chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,categoricalChartProps:s}=e,c={chartName:r,defaultTooltipEventType:i,validateTooltipEventTypes:a,tooltipPayloadSearcher:o,eventEmitter:void 0};return z.createElement(F2,{preloadedState:{options:c},reduxStoreName:s.id??r},z.createElement(hX,{chartData:s.data}),z.createElement(L2,{layout:n.layout,margin:n.margin}),z.createElement(z2,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),z.createElement(R2,{baseValue:n.baseValue,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),z.createElement(m4,h4({},n,{ref:t})))}),C4=[`axis`],w4=(0,z.forwardRef)((e,t)=>z.createElement(S4,{chartName:`LineChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:C4,tooltipPayloadSearcher:bV,categoricalChartProps:e,ref:t}));function T4(e){var t=lS();return(0,z.useEffect)(()=>{t(s2(e))},[t,e]),null}var E4=[`layout`];function D4(){return D4=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},D4.apply(null,arguments)}function O4(e,t){if(e==null)return{};var n,r,i=k4(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function k4(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function A4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function j4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?A4(Object(n),!0).forEach(function(t){M4(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function M4(e,t,n){return(t=N4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N4(e){var t=P4(e,`string`);return typeof t==`symbol`?t:t+``}function P4(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var F4=j4({accessibilityLayer:!0,stackOffset:`none`,barCategoryGap:`10%`,barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:`index`,layout:`radial`,responsive:!1,cx:`50%`,cy:`50%`,innerRadius:0,outerRadius:`80%`},k2),I4=(0,z.forwardRef)(function(e,t){var n=jx(e.categoricalChartProps,F4),{layout:r}=n,i=O4(n,E4),{chartName:a,defaultTooltipEventType:o,validateTooltipEventTypes:s,tooltipPayloadSearcher:c}=e,l={chartName:a,defaultTooltipEventType:o,validateTooltipEventTypes:s,tooltipPayloadSearcher:c,eventEmitter:void 0};return z.createElement(F2,{preloadedState:{options:l},reduxStoreName:n.id??a},z.createElement(hX,{chartData:n.data}),z.createElement(L2,{layout:r,margin:n.margin}),z.createElement(z2,{throttleDelay:n.throttleDelay,throttledEvents:n.throttledEvents}),z.createElement(R2,{baseValue:void 0,accessibilityLayer:n.accessibilityLayer,barCategoryGap:n.barCategoryGap,maxBarSize:n.maxBarSize,stackOffset:n.stackOffset,barGap:n.barGap,barSize:n.barSize,syncId:n.syncId,syncMethod:n.syncMethod,className:n.className,reverseStackOrder:n.reverseStackOrder}),z.createElement(T4,{cx:n.cx,cy:n.cy,startAngle:n.startAngle,endAngle:n.endAngle,innerRadius:n.innerRadius,outerRadius:n.outerRadius}),z.createElement(m4,D4({},i,{ref:t})))});function L4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function R4(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?L4(Object(n),!0).forEach(function(t){z4(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L4(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function z4(e,t,n){return(t=B4(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B4(e){var t=V4(e,`string`);return typeof t==`symbol`?t:t+``}function V4(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var H4=[`item`],U4=R4(R4({},F4),{},{layout:`centric`,startAngle:0,endAngle:360}),W4=(0,z.forwardRef)((e,t)=>{var n=jx(e,U4);return z.createElement(I4,{chartName:`PieChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:H4,tooltipPayloadSearcher:bV,categoricalChartProps:n,ref:t})}),G4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){return typeof Buffer<`u`&&Buffer.isBuffer(e)}e.isBuffer=t})),K4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});function t(e){let t=e?.constructor;return e===(typeof t==`function`?t.prototype:Object.prototype)}e.isPrototype=t})),q4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Gx();function n(e){return t.isTypedArray(e)}e.isTypedArray=n})),J4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=QA();function n(e){let n=t.toFinite(e),r=n%1;return r?n-r:n}e.toInteger=n})),Y4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=J4();function n(e,n){if(e=t.toInteger(e),e<1||!Number.isSafeInteger(e))return[];let r=Array(e);for(let t=0;t<e;t++)r[t]=typeof n==`function`?n(t):t;return r}e.times=n})),X4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=G4(),n=K4(),r=Lx(),i=q4(),a=Y4();function o(e){if(e==null)return[];switch(typeof e){case`object`:case`function`:return r.isArrayLike(e)?l(e):n.isPrototype(e)?c(e):s(e);default:return s(Object(e))}}function s(e){let t=[];for(let n in e)t.push(n);return t}function c(e){return s(e).filter(e=>e!==`constructor`)}function l(e){let n=a.times(e.length,e=>`${e}`),r=new Set(n);t.isBuffer(e)&&(r.add(`offset`),r.add(`parent`)),i.isTypedArray(e)&&(r.add(`buffer`),r.add(`byteLength`),r.add(`byteOffset`));let o=s(e).filter(e=>!r.has(e));return Array.isArray(e)?[...n,...o]:[...n.filter(t=>Object.hasOwn(e,t)),...o]}e.keysIn=o})),Z4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=ax(),n=ex(),r=tx(),i=nx(),a=ix();function o(e,t){if(e==null)return!0;switch(typeof t){case`symbol`:case`number`:case`object`:if(Array.isArray(t))return s(e,t);if(typeof t==`number`?t=i.toKey(t):typeof t==`object`&&(t=Object.is(t?.valueOf(),-0)?`-0`:String(t)),n.isUnsafeProperty(t))return!1;if(e?.[t]===void 0)return!0;try{return delete e[t],!0}catch{return!1}case`string`:if(e?.[t]===void 0&&r.isDeepKey(t))return s(e,a.toPath(t));if(n.isUnsafeProperty(t))return!1;try{return delete e[t],!0}catch{return!1}}}function s(e,r){let i=r.length===1?e:t.get(e,r.slice(0,-1)),a=r[r.length-1];if(i?.[a]===void 0)return!0;if(n.isUnsafeProperty(a))return!1;try{return delete i[a],!0}catch{return!1}}e.unset=o})),Q4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Hx();function n(e){let n=[];for(;e;)n.push(...t.getSymbols(e)),e=Object.getPrototypeOf(e);return n}e.getSymbolsIn=n})),$4=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=Lx();function n(e,n=1){let r=[],i=Math.floor(n);if(!t.isArrayLike(e))return r;let a=(e,t)=>{for(let n=0;n<e.length;n++){let o=e[n];t<i&&(Array.isArray(o)||o?.[Symbol.isConcatSpreadable]||typeof o==`object`&&o&&Object.prototype.toString.call(o)===`[object Arguments]`)?a(Array.isArray(o)?o:Array.from(o),t+1):r.push(o)}};return a(Array.from(e),0),r}e.flatten=n})),e3=s((e=>{Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var t=qx(),n=X4(),r=Z4(),i=Q4(),a=tx(),o=$4(),s=cK();function c(e,...t){if(e==null)return{};t=o.flatten(t);let n=l(e,t);for(let e=0;e<t.length;e++){let i=t[e];switch(typeof i){case`object`:Array.isArray(i)||(i=Array.from(i));for(let e=0;e<i.length;e++){let t=i[e];r.unset(n,t)}break;case`string`:case`symbol`:case`number`:r.unset(n,i);break}}return n}function l(e,t){return t.some(e=>Array.isArray(e)||a.isDeepKey(e))?d(e):u(e)}function u(e){let t={},r=[...n.keysIn(e),...i.getSymbolsIn(e)];for(let n=0;n<r.length;n++){let i=r[n];t[i]=e[i]}return t}function d(e){let r={},a=[...n.keysIn(e),...i.getSymbolsIn(e)];for(let n=0;n<a.length;n++){let i=a[n];r[i]=t.cloneDeepWith(e[i],e=>{if(!s.isPlainObject(e))return e})}return r}e.omit=c})),t3=u(s(((e,t)=>{t.exports=e3().omit}))()),n3=[`width`,`height`,`className`,`style`,`children`,`type`];function r3(e,t){if(e==null)return{};var n,r,i=i3(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function i3(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function a3(){return a3=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a3.apply(null,arguments)}function o3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function s3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?o3(Object(n),!0).forEach(function(t){c3(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o3(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c3(e,t,n){return(t=l3(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l3(e){var t=u3(e,`string`);return typeof t==`symbol`?t:t+``}function u3(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var d3=`value`;function f3(e){return typeof e==`object`&&!!e&&`x`in e&&`y`in e&&`width`in e&&`height`in e&&typeof e.x==`number`&&typeof e.y==`number`&&typeof e.width==`number`&&typeof e.height==`number`}var p3=(e,t)=>{if(!(!e||!t))return(0,lx.default)(e,t)},m3=function(e){return`${arguments.length>1&&arguments[1]!==void 0?arguments[1]:``}children[${e}]`},h3={chartName:`Treemap`,defaultTooltipEventType:`item`,validateTooltipEventTypes:[`item`],tooltipPayloadSearcher:p3,eventEmitter:void 0},g3=e=>{var{depth:t,node:n,index:r,dataKey:i,nameKey:a,nestedActiveTooltipIndex:o}=e,s=t===0?``:m3(r,o),{children:c}=n,l=t+1,u=c&&c.length?c.map((e,t)=>g3({depth:l,node:e,index:t,dataKey:i,nameKey:a,nestedActiveTooltipIndex:s})):null,d;if(u&&u.length)d=u.reduce((e,t)=>e+t.value,0);else{var f=n[i],p=typeof f==`number`?f:0;d=dx(p)||p<=0?0:p}return s3(s3({},n),{},{children:u,name:KT(n,a,``),[d3]:d,depth:t,index:r,tooltipIndex:s})},_3=e=>({x:e.x,y:e.y,width:e.width,height:e.height}),v3=(e,t)=>{var n=t<0?0:t;return e.map(e=>{var t=e[d3]*n;return s3(s3({},e),{},{area:dx(t)||t<=0?0:t})})},y3=(e,t,n)=>{var r=t*t,i=e.area*e.area,{min:a,max:o}=e.reduce((e,t)=>({min:Math.min(e.min,t.area),max:Math.max(e.max,t.area)}),{min:1/0,max:0});return i?Math.max(r*o*n/i,i/(r*a*n)):1/0},b3=(e,t,n,r)=>{var i=t?Math.round(e.area/t):0;(r||i>n.height)&&(i=n.height);for(var a=n.x,o,s=0,c=e.length;s<c;s++)o=e[s],o!=null&&(o.x=a,o.y=n.y,o.height=i,o.width=Math.min(i?Math.round(o.area/i):0,n.x+n.width-a),a+=o.width);return o!=null&&(o.width+=n.x+n.width-a),s3(s3({},n),{},{y:n.y+i,height:n.height-i})},x3=(e,t,n,r)=>{var i=t?Math.round(e.area/t):0;(r||i>n.width)&&(i=n.width);for(var a=n.y,o,s=0,c=e.length;s<c;s++)o=e[s],o!=null&&(o.x=n.x,o.y=a,o.width=i,o.height=Math.min(i?Math.round(o.area/i):0,n.y+n.height-a),a+=o.height);return o&&(o.height+=n.y+n.height-a),s3(s3({},n),{},{x:n.x+i,width:n.width-i})},S3=(e,t,n,r)=>t===n.width?b3(e,t,n,r):x3(e,t,n,r),C3=(e,t)=>{var{children:n}=e;if(n&&n.length){var r=_3(e),i=[],a=1/0,o,s,c=Math.min(r.width,r.height),l=v3(n,r.width*r.height/e[d3]),u=l.slice();for(i.area=0;u.length>0;)[o]=u,o!=null&&(i.push(o),i.area+=o.area,s=y3(i,c,t),s<=a?(u.shift(),a=s):(i.area-=i.pop()?.area??0,r=S3(i,c,r,!1),c=Math.min(r.width,r.height),i.length=i.area=0,a=1/0));return i.length&&=(r=S3(i,c,r,!0),i.area=0),s3(s3({},e),{},{children:l.map(e=>C3(e,t))})}return e},w3=s3({aspectRatio:.5*(1+Math.sqrt(5)),dataKey:`value`,nameKey:`name`,type:`flat`,isAnimationActive:`auto`,isUpdateAnimationActive:`auto`,animationBegin:0,animationDuration:1500,animationEasing:`linear`},k2),T3={isAnimationFinished:!1,formatRoot:null,currentRoot:void 0,nestIndex:[],prevAspectRatio:w3.aspectRatio,prevDataKey:w3.dataKey};function E3(e){var{content:t,nodeProps:n,type:r,colorPanel:i,onMouseEnter:a,onMouseLeave:o,onClick:s}=e;if(z.isValidElement(t))return z.createElement(Y,{onMouseEnter:a,onMouseLeave:o,onClick:s},z.cloneElement(t,n));if(typeof t==`function`)return z.createElement(Y,{onMouseEnter:a,onMouseLeave:o,onClick:s},t(n));var{x:c,y:l,width:u,height:d,index:f}=n,p=null;u>10&&d>10&&n.children&&r===`nest`&&(p=z.createElement(rW,{points:[{x:c+2,y:l+d/2},{x:c+6,y:l+d/2+3},{x:c+2,y:l+d/2+6}]}));var m=null,h=pH(n.name);u>20&&d>20&&h.width<u&&h.height<d&&(m=z.createElement(`text`,{x:c+8,y:l+d/2+7,fontSize:14},n.name));var g=i||bE;return z.createElement(`g`,null,z.createElement(vA,a3({fill:n.depth<2?g[f%g.length]:`rgba(255,255,255,0)`,stroke:`#fff`},(0,t3.default)(n,[`children`]),{onMouseEnter:a,onMouseLeave:o,onClick:s,\"data-recharts-item-index\":n.tooltipIndex})),p,m)}function D3(e){var t=lS(),n={x:e.nodeProps.x+e.nodeProps.width/2,y:e.nodeProps.y+e.nodeProps.height/2};return z.createElement(E3,a3({},e,{onMouseEnter:()=>{t(JR({activeIndex:e.nodeProps.tooltipIndex,activeDataKey:e.dataKey,activeCoordinate:n,activeGraphicalItemId:e.id}))},onMouseLeave:()=>{},onClick:()=>{t(ZR({activeIndex:e.nodeProps.tooltipIndex,activeDataKey:e.dataKey,activeCoordinate:n,activeGraphicalItemId:e.id}))}}))}var O3=z.memo(e=>{var{dataKey:t,nameKey:n,stroke:r,fill:i,currentRoot:a,id:o}=e,s={dataDefinedOnItem:a,getPosition:xx,settings:{stroke:r,strokeWidth:void 0,fill:i,dataKey:t,nameKey:n,name:void 0,hide:!1,type:void 0,color:i,unit:``,graphicalItemId:o}};return z.createElement(HK,{tooltipEntrySettings:s})}),k3={top:0,right:0,bottom:0,left:0};function A3(e){var{content:t,nodeProps:n,isLeaf:r,treemapProps:i,onNestClick:a}=e,{id:o,isAnimationActive:s,animationBegin:c,animationDuration:l,animationEasing:u,isUpdateAnimationActive:d,type:f,colorPanel:p,dataKey:m,onAnimationStart:h,onAnimationEnd:g,onMouseEnter:_,onClick:v,onMouseLeave:y}=i,{width:b,height:x,x:S,y:C}=n,w=-S-b,T=0,E=e=>{(r||f===`nest`)&&typeof _==`function`&&_(n,e)},D=e=>{(r||f===`nest`)&&typeof y==`function`&&y(n,e)},O=()=>{f===`nest`&&a(n),(r||f===`nest`)&&typeof v==`function`&&v(n)},k=(0,z.useCallback)(()=>{typeof g==`function`&&g()},[g]),ee=(0,z.useCallback)(()=>{typeof h==`function`&&h()},[h]);return z.createElement(W0,{animationId:`treemap-${n.tooltipIndex}`,from:`translate(${w}px, ${T}px)`,to:`translate(0, 0)`,attributeName:`transform`,begin:c,easing:u,isActive:s,duration:l,onAnimationStart:ee,onAnimationEnd:k},e=>z.createElement(Y,{onMouseEnter:E,onMouseLeave:D,onClick:O,style:s3(s3({},e),{},{transformOrigin:`${S} ${C}`})},z.createElement(D3,{id:o,content:t,dataKey:m,nodeProps:s3(s3({},n),{},{isAnimationActive:s,isUpdateAnimationActive:!d,width:b,height:x,x:S,y:C}),type:f,colorPanel:p})))}var j3=class extends z.PureComponent{constructor(){super(...arguments),c3(this,`state`,s3({},T3)),c3(this,`handleClick`,e=>{var{onClick:t,type:n}=this.props;if(n===`nest`&&e.children){var{width:r,height:i,dataKey:a,nameKey:o,aspectRatio:s}=this.props,c=g3({depth:0,node:s3(s3({},e),{},{x:0,y:0,width:r,height:i}),index:0,dataKey:a,nameKey:o,nestedActiveTooltipIndex:e.tooltipIndex}),l=C3(c,s),{nestIndex:u}=this.state;u.push(e),this.setState({formatRoot:l,currentRoot:c,nestIndex:u})}t&&t(e)}),c3(this,`handleTouchMove`,e=>{var t=e.touches[0];if(t!=null){var n=document.elementFromPoint(t.clientX,t.clientY);if(!(!n||!n.getAttribute||this.state.formatRoot==null)){var r=n.getAttribute(`data-recharts-item-index`),i=p3(this.state.formatRoot,r);if(f3(i)){var{dataKey:a,dispatch:o}=this.props;o(JR({activeIndex:r,activeDataKey:a,activeCoordinate:{x:i.x+i.width/2,y:i.y+i.height/2},activeGraphicalItemId:this.props.id}))}}}})}static getDerivedStateFromProps(e,t){if(e.data!==t.prevData||e.type!==t.prevType||e.width!==t.prevWidth||e.height!==t.prevHeight||e.dataKey!==t.prevDataKey||e.aspectRatio!==t.prevAspectRatio){var n=g3({depth:0,node:{children:e.data,x:0,y:0,width:e.width,height:e.height},index:0,dataKey:e.dataKey,nameKey:e.nameKey}),r=C3(n,e.aspectRatio);return s3(s3({},t),{},{formatRoot:r,currentRoot:n,nestIndex:[n],prevAspectRatio:e.aspectRatio,prevData:e.data,prevWidth:e.width,prevHeight:e.height,prevDataKey:e.dataKey,prevType:e.type})}return null}handleNestIndex(e,t){var{nestIndex:n}=this.state,{width:r,height:i,dataKey:a,nameKey:o,aspectRatio:s}=this.props,c=C3(g3({depth:0,node:s3(s3({},e),{},{x:0,y:0,width:r,height:i}),index:0,dataKey:a,nameKey:o,nestedActiveTooltipIndex:e.tooltipIndex}),s);n=n.slice(0,t+1),this.setState({formatRoot:c,currentRoot:e,nestIndex:n})}renderNode(e,t){var{content:n,type:r}=this.props,i=s3(s3(s3({},ey(this.props)),t),{},{root:e}),a=!t.children||!t.children.length,{currentRoot:o}=this.state;return!(o?.children||[]).filter(e=>e.depth===t.depth&&e.name===t.name).length&&e.depth&&r===`nest`?null:z.createElement(Y,{key:`recharts-treemap-node-${i.x}-${i.y}-${i.name}`,className:`recharts-treemap-depth-${t.depth}`},z.createElement(A3,{isLeaf:a,content:n,nodeProps:i,treemapProps:this.props,onNestClick:this.handleClick}),t.children&&t.children.length?t.children.map(e=>this.renderNode(t,e)):null)}renderAllNodes(){var{formatRoot:e}=this.state;return e?this.renderNode(e,e):null}renderNestIndex(){var{nameKey:e,nestIndexContent:t}=this.props,{nestIndex:n}=this.state;return z.createElement(`div`,{className:`recharts-treemap-nest-index-wrapper`,style:{marginTop:`8px`,textAlign:`center`}},n.map((n,r)=>{var i=(0,lx.default)(n,e,`root`),a=typeof i==`string`?i:`root`,o;return z.isValidElement(t)&&(o=z.cloneElement(t,n,r)),o=typeof t==`function`?t(n,r):a,z.createElement(`div`,{onClick:this.handleNestIndex.bind(this,n,r),key:`nest-index-${mx()}`,className:`recharts-treemap-nest-index-box`,style:{cursor:`pointer`,display:`inline-block`,padding:`0 7px`,background:`#000`,color:`#fff`,marginRight:`3px`}},o)}))}render(){var e=this.props,{width:t,height:n,className:r,style:i,children:a,type:o}=e,s=ey(r3(e,n3));return z.createElement(z.Fragment,null,z.createElement(O3,{dataKey:this.props.dataKey,nameKey:this.props.nameKey,stroke:this.props.stroke,fill:this.props.fill,currentRoot:this.state.currentRoot,id:this.props.id}),z.createElement(cy,a3({},s,{width:t,height:o===`nest`?n-30:n,onTouchMove:this.handleTouchMove}),this.renderAllNodes(),a),o===`nest`&&this.renderNestIndex())}};c3(j3,`displayName`,`Treemap`);function M3(e){var t=lS(),n=UE(),r=WE();if(!BT(n)||!BT(r))return null;var{id:i}=e;return z.createElement(JK,{id:i,type:`treemap`},i=>z.createElement(j3,a3({},e,{id:i,width:n,height:r,dispatch:t})))}function N3(e){var t=jx(e,w3),{className:n,style:r,width:i,height:a,throttleDelay:o,throttledEvents:s}=t,[c,l]=(0,z.useState)(null);return z.createElement(F2,{preloadedState:{options:h3},reduxStoreName:t.className??`Treemap`},z.createElement(ene,{margin:k3}),z.createElement(z2,{throttleDelay:o,throttledEvents:s}),z.createElement(u4,{dispatchTouchEvents:!1,className:n,style:r,width:i,height:a,responsive:!1,ref:e=>{c==null&&e!=null&&l(e)},onMouseEnter:void 0,onMouseLeave:void 0,onClick:void 0,onMouseMove:void 0,onMouseDown:void 0,onMouseUp:void 0,onContextMenu:void 0,onDoubleClick:void 0,onTouchStart:void 0,onTouchMove:void 0,onTouchEnd:void 0},z.createElement(mV.Provider,{value:c},z.createElement(M3,t))))}function P3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function F3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?P3(Object(n),!0).forEach(function(t){I3(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P3(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function I3(e,t,n){return(t=L3(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function L3(e){var t=R3(e,`string`);return typeof t==`symbol`?t:t+``}function R3(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var z3=[`axis`],B3=F3(F3({},F4),{},{layout:`centric`,startAngle:90,endAngle:-270}),V3=(0,z.forwardRef)((e,t)=>{var n=jx(e,B3);return z.createElement(I4,{chartName:`RadarChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:z3,tooltipPayloadSearcher:bV,categoricalChartProps:n,ref:t})}),H3=[`item`],U3=(0,z.forwardRef)((e,t)=>z.createElement(S4,{chartName:`ScatterChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:H3,tooltipPayloadSearcher:bV,categoricalChartProps:e,ref:t}));function W3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function G3(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?W3(Object(n),!0).forEach(function(t){K3(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W3(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function K3(e,t,n){return(t=q3(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q3(e){var t=J3(e,`string`);return typeof t==`symbol`?t:t+``}function J3(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var Y3=[`axis`,`item`],X3=G3(G3({},F4),{},{layout:`radial`,startAngle:0,endAngle:360}),Z3=(0,z.forwardRef)((e,t)=>{var n=jx(e,X3);return z.createElement(I4,{chartName:`RadialBarChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:Y3,tooltipPayloadSearcher:bV,categoricalChartProps:n,ref:t})}),Q3=[`axis`],$3=(0,z.forwardRef)((e,t)=>z.createElement(S4,{chartName:`ComposedChart`,defaultTooltipEventType:`axis`,validateTooltipEventTypes:Q3,tooltipPayloadSearcher:bV,categoricalChartProps:e,ref:t}));function e6(){return e6=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e6.apply(null,arguments)}function t6(e){return z.createElement(RK,e6({shapeType:`trapezoid`},e))}function n6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?n6(Object(n),!0).forEach(function(t){i6(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):n6(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function i6(e,t,n){return(t=cae(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cae(e){var t=lae(e,`string`);return typeof t==`symbol`?t:t+``}function lae(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var uae=$([TE,(e,t)=>t,nj],(e,t,n)=>{var{data:r,dataKey:i,nameKey:a,tooltipType:o,lastShapeType:s,reversed:c,customWidth:l,cells:u,presentationProps:d,id:f}=t,{chartData:p}=n,m;if(r!=null&&r.length>0?m=r:p!=null&&p.length>0&&(m=p),m&&m.length)m=m.map((e,t)=>r6(r6(r6({payload:e},d),e),u&&u[t]&&u[t].props));else if(u&&u.length)m=u.map(e=>r6(r6({},d),e.props));else return[];return Dae({dataKey:i,nameKey:a,displayedData:m,tooltipType:o,lastShapeType:s,reversed:c,offset:e,customWidth:l,graphicalItemId:f})}),dae=[`onMouseEnter`,`onClick`,`onMouseLeave`,`shape`,`activeShape`],fae=[`id`],pae=[`stroke`,`fill`,`legendType`,`hide`,`isAnimationActive`,`animationBegin`,`animationDuration`,`animationEasing`,`nameKey`,`lastShapeType`,`id`],mae=[`id`];function a6(){return a6=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a6.apply(null,arguments)}function o6(e,t){if(e==null)return{};var n,r,i=hae(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function hae(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function s6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c6(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?s6(Object(n),!0).forEach(function(t){gae(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s6(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gae(e,t,n){return(t=_ae(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _ae(e){var t=vae(e,`string`);return typeof t==`symbol`?t:t+``}function vae(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var yae=z.memo(e=>{var{dataKey:t,nameKey:n,stroke:r,strokeWidth:i,fill:a,name:o,hide:s,tooltipType:c,data:l,trapezoids:u,id:d}=e,f={dataDefinedOnItem:l,getPosition:e=>u[Number(e)]?.tooltipPosition,settings:{stroke:r,strokeWidth:i,fill:a,dataKey:t,name:o,nameKey:n,hide:s,type:c,color:a,unit:``,graphicalItemId:d}};return z.createElement(HK,{tooltipEntrySettings:f})});function bae(e){var{showLabels:t,trapezoids:n,children:r}=e,i=(0,z.useMemo)(()=>{if(t)return n?.map(e=>{var t=e.labelViewBox;return c6(c6({},t),{},{value:e.name,payload:e.payload,parentViewBox:e.parentViewBox,viewBox:t,fill:e.fill})})},[t,n]);return z.createElement(BU,{value:i},r)}function xae(e){var{trapezoids:t,allOtherFunnelProps:n}=e,r=Q(e=>jB(e,`item`,e.tooltip.settings.trigger,void 0)),{onMouseEnter:i,onClick:a,onMouseLeave:o,shape:s,activeShape:c}=n,l=o6(n,dae),u=zK(i,n.dataKey,n.id),d=BK(o),f=VK(a,n.dataKey,n.id);return z.createElement(z.Fragment,null,t.map((e,t)=>{var n=!!c&&r===String(t),i=n?c:s,a=c6(c6({},e),{},{option:i,isActive:n,stroke:e.stroke}),{id:o}=a,p=o6(a,fae);return z.createElement(Y,a6({key:`trapezoid-${e?.x}-${e?.y}-${e?.name}-${e?.value}`,className:`recharts-funnel-trapezoid`},kx(l,e,t),{onMouseEnter:u(e,t),onMouseLeave:d(e,t),onClick:f(e,t)}),z.createElement(t6,p))}))}function Sae(e){var{previousTrapezoidsRef:t,props:n}=e,{trapezoids:r,isAnimationActive:i,animationBegin:a,animationDuration:o,animationEasing:s,onAnimationEnd:c,onAnimationStart:l}=n,u=t.current,[d,f]=(0,z.useState)(!1),p=!d,m=Jk(r,`recharts-funnel-`),h=(0,z.useCallback)(()=>{typeof c==`function`&&c(),f(!1)},[c]),g=(0,z.useCallback)(()=>{typeof l==`function`&&l(),f(!0)},[l]);return z.createElement(bae,{showLabels:p,trapezoids:r},z.createElement(qk,{animationId:m,begin:a,duration:o,isActive:i,easing:s,key:m,onAnimationStart:g,onAnimationEnd:h},e=>{var i=e===1?r:r.map((t,n)=>{var r=u&&u[n];return r?c6(c6({},t),{},{x:Z(r.x,t.x,e),y:Z(r.y,t.y,e),upperWidth:Z(r.upperWidth,t.upperWidth,e),lowerWidth:Z(r.lowerWidth,t.lowerWidth,e),height:Z(r.height,t.height,e)}):c6(c6({},t),{},{x:Z(t.x+t.upperWidth/2,t.x,e),y:Z(t.y+t.height/2,t.y,e),upperWidth:Z(0,t.upperWidth,e),lowerWidth:Z(0,t.lowerWidth,e),height:Z(0,t.height,e)})});return e>0&&(t.current=i),z.createElement(Y,null,z.createElement(xae,{trapezoids:i,allOtherFunnelProps:n}))}),z.createElement(KU,{label:n.label}),n.children)}function Cae(e){var t=(0,z.useRef)(void 0);return z.createElement(Sae,{props:e,previousTrapezoidsRef:t})}var wae=(e,t)=>{var{width:n,height:r,left:i,top:a}=t;return{realWidth:hx(e,n,n),realHeight:r,offsetX:i,offsetY:a}},Tae={animationBegin:400,animationDuration:1500,animationEasing:`ease`,fill:`#808080`,hide:!1,isAnimationActive:`auto`,lastShapeType:`triangle`,legendType:`rect`,nameKey:`name`,reversed:!1,stroke:`#fff`};function Eae(e){var t=pJ(),{stroke:n,fill:r,legendType:i,hide:a,isAnimationActive:o,animationBegin:s,animationDuration:c,animationEasing:l,nameKey:u,lastShapeType:d,id:f}=e,p=o6(e,pae),m=ey(e),h=oK(e.children,ZV),g=(0,z.useMemo)(()=>({dataKey:e.dataKey,nameKey:u,data:e.data,tooltipType:e.tooltipType,lastShapeType:d,reversed:e.reversed,customWidth:e.width,cells:h,presentationProps:m,id:f}),[e.dataKey,u,e.data,e.tooltipType,d,e.reversed,e.width,h,m,f]),_=Q(e=>uae(e,g));if(a||!_||!_.length||!t)return null;var{height:v,width:y}=t,b=J(`recharts-trapezoids`,e.className);return z.createElement(z.Fragment,null,z.createElement(yae,{dataKey:e.dataKey,nameKey:e.nameKey,stroke:e.stroke,strokeWidth:e.strokeWidth,fill:e.fill,name:e.name,hide:e.hide,tooltipType:e.tooltipType,data:e.data,trapezoids:_,id:f}),z.createElement(Y,{className:b},z.createElement(Cae,a6({},p,{id:f,stroke:n,fill:r,nameKey:u,lastShapeType:d,animationBegin:s,animationDuration:c,animationEasing:l,isAnimationActive:o,hide:a,legendType:i,height:v,width:y,trapezoids:_}))))}function Dae(e){var{dataKey:t,nameKey:n,displayedData:r,tooltipType:i,lastShapeType:a,reversed:o,offset:s,customWidth:c,graphicalItemId:l}=e,{realHeight:u,realWidth:d,offsetX:f,offsetY:p}=wae(c,s),m=r.map(e=>{var n=KT(e,t,0);return typeof n==`number`?n:0}),h=Math.max.apply(null,m),g=r.length,_=u/g,v={x:s.left,y:s.top,width:s.width,height:s.height},y=r.map((e,o)=>{var s=KT(e,t,0),c=String(KT(e,n,o)),u=s,m;if(o!==g-1){var y=KT(r[o+1],t,0);if(typeof y==`number`)m=y;else if(Array.isArray(y)){var[b,x]=y;typeof b==`number`&&(u=b),typeof x==`number`&&(m=x)}}else if(s instanceof Array&&s.length===2){var[S,C]=s;typeof S==`number`&&(u=S),typeof C==`number`&&(m=C)}else m=a===`rectangle`?u:0;var w=(h-u)*d/(2*h)+f,T=_*o+p,E=u/h*d,D=m/h*d,O=[{name:c,value:u,payload:e,dataKey:t,type:i,graphicalItemId:l}],k={x:w+E/2,y:T+_/2},ee={x:w,y:T,upperWidth:E,lowerWidth:D,width:Math.max(E,D),height:_};return c6(c6(c6({},ee),{},{name:c,val:u,tooltipPayload:O,tooltipPosition:k},typeof e==`object`&&e?(0,t3.default)(e,[`width`]):{}),{},{payload:e,parentViewBox:v,labelViewBox:ee})});return o&&(y=y.map((e,t)=>{var n={x:e.x-(e.lowerWidth-e.upperWidth)/2,y:e.y-t*_+(g-1-t)*_,upperWidth:e.lowerWidth,lowerWidth:e.upperWidth,width:Math.max(e.lowerWidth,e.upperWidth),height:_};return c6(c6(c6({},e),n),{},{tooltipPosition:c6(c6({},e.tooltipPosition),{},{y:e.y-t*_+(g-1-t)*_+_/2}),labelViewBox:n})})),y}function Oae(e){var t=jx(e,Tae),{id:n}=t,r=o6(t,mae);return z.createElement(JK,{id:n,type:`funnel`},e=>z.createElement(Eae,a6({},r,{id:e})))}var l6=Oae;l6.displayName=`Funnel`;var kae=[`item`],Aae=(0,z.forwardRef)((e,t)=>z.createElement(S4,{chartName:`FunnelChart`,defaultTooltipEventType:`item`,validateTooltipEventTypes:kae,tooltipPayloadSearcher:bV,categoricalChartProps:e,ref:t})),jae={xs:`dc:h-3 dc:w-3`,sm:`dc:h-6 dc:w-6`,md:`dc:h-8 dc:w-8`,lg:`dc:h-12 dc:w-12`};function u6({size:e=`md`,className:t=``}){return(0,q.jsx)(`div`,{className:`dc:animate-spin dc:rounded-full dc:border-b-2 ${jae[e]} ${t}`,style:{borderBottomColor:`var(--dc-primary)`},role:`status`,\"aria-label\":`Loading`})}function d6({children:e,height:t=`100%`}){let{t:n}=qv(),r=(0,z.useRef)(null),[i,a]=(0,z.useState)(!1),[o,s]=(0,z.useState)({width:0,height:0}),c=(0,z.useRef)({width:0,height:0}),l=(0,z.useRef)(!1),u=(0,z.useRef)(null),d=(0,z.useRef)(null);(0,z.useLayoutEffect)(()=>{let e=!0,t=null,n=()=>{if(d.current=null,!e)return;let t=u.current;if(u.current=null,!t)return;let n=Math.round(t.width),r=Math.round(t.height);if(n<=0||r<=0)return;let i=c.current.width!==n||c.current.height!==r,o=!l.current;!i&&!o||(c.current={width:n,height:r},l.current=!0,(0,z.startTransition)(()=>{i&&s({width:n,height:r}),o&&a(!0)}))},i=(e,t)=>{u.current={width:e,height:t},d.current===null&&(d.current=requestAnimationFrame(n))};return t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&i(e,n)}}),r.current&&(t.observe(r.current),(()=>{if(!e||!r.current)return;let t=r.current.getBoundingClientRect(),n=Math.max(r.current.clientWidth,t.width),a=Math.max(r.current.clientHeight,t.height);n>0&&a>0&&i(n,a)})()),()=>{e=!1,d.current!==null&&(cancelAnimationFrame(d.current),d.current=null),t?.disconnect()}},[]);try{return t===`100%`?(0,q.jsx)(`div`,{ref:r,className:`dc:w-full dc:h-full dc:flex-1 dc:flex dc:flex-col dc:relative`,style:{minHeight:`250px`,minWidth:`100px`,overflow:`hidden`,userSelect:`none`},children:i&&o.width>0&&o.height>0?(0,q.jsx)(zE,{width:o.width,height:o.height-16,debounce:100,style:{marginTop:`16px`},children:e}):(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,children:(0,q.jsx)(u6,{size:`sm`})})}):(0,q.jsx)(`div`,{ref:r,className:`dc:w-full dc:flex dc:flex-col dc:relative`,style:{height:typeof t==`number`?`${t}px`:t,width:`100%`,minHeight:`200px`,minWidth:`100px`,userSelect:`none`,overflow:`hidden`},children:i&&o.width>0&&o.height>0?(0,q.jsx)(zE,{width:o.width,height:o.height-16,debounce:100,style:{marginTop:`16px`},children:e}):(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,children:(0,q.jsx)(u6,{size:`sm`})})})}catch(e){return(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4 dc:text-center dc:border dc:border-dashed dc:rounded-lg`,style:{height:t,borderColor:`var(--dc-border)`,backgroundColor:`var(--dc-surface)`},children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1 text-dc-text-muted`,children:n(`chart.runtime.unableToDisplay`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:e instanceof Error?e.message:`Failed to create responsive container`})]})}}function Mae(e){return{US:`USD`,CA:`CAD`,GB:`GBP`,UK:`GBP`,AU:`AUD`,NZ:`NZD`,EU:`EUR`,DE:`EUR`,FR:`EUR`,IT:`EUR`,ES:`EUR`,NL:`EUR`,BE:`EUR`,AT:`EUR`,IE:`EUR`,PT:`EUR`,FI:`EUR`,JP:`JPY`,CN:`CNY`,KR:`KRW`,IN:`INR`,BR:`BRL`,MX:`MXN`,CH:`CHF`,SE:`SEK`,NO:`NOK`,DK:`DKK`,PL:`PLN`,RU:`RUB`,ZA:`ZAR`,SG:`SGD`,HK:`HKD`,TW:`TWD`,TH:`THB`,MY:`MYR`,PH:`PHP`,ID:`IDR`,VN:`VND`,AE:`AED`,SA:`SAR`,IL:`ILS`,TR:`TRY`}[e.split(`-`)[1]?.toUpperCase()]||`USD`}function Nae(e,t){if(!t)return{displayValue:e,abbreviationSuffix:``};let n=Math.abs(e);return n>=1e9?{displayValue:e/1e9,abbreviationSuffix:`B`}:n>=1e6?{displayValue:e/1e6,abbreviationSuffix:`M`}:n>=1e3?{displayValue:e/1e3,abbreviationSuffix:`K`}:{displayValue:e,abbreviationSuffix:``}}function Pae(e){let{displayValue:t,abbreviate:n,abbreviationSuffix:r,decimals:i,locale:a}=e,o=Mae(a);if(n&&r){let e=new Intl.NumberFormat(a,{style:`currency`,currency:o,minimumFractionDigits:i,maximumFractionDigits:i}).format(t),n=new Intl.NumberFormat(a,{style:`currency`,currency:o}).formatToParts(t);return n[n.length-1]?.type===`currency`?e.replace(/(\\s*[^\\d\\s]+)$/,r+`$1`):e+r}return new Intl.NumberFormat(a,{style:`currency`,currency:o,minimumFractionDigits:i,maximumFractionDigits:i}).format(t)}function Fae(e){let{displayValue:t,abbreviate:n,abbreviationSuffix:r,decimals:i,locale:a}=e,o=Math.abs(t)<=1&&!n?t*100:t;return new Intl.NumberFormat(a,{minimumFractionDigits:i,maximumFractionDigits:i}).format(o)+r+`%`}function Iae(e){let{displayValue:t,abbreviationSuffix:n,decimals:r,locale:i,config:a}=e,o=a.customPrefix||``,s=a.customSuffix||``;return o+new Intl.NumberFormat(i,{minimumFractionDigits:r,maximumFractionDigits:r}).format(t)+n+s}function f6(e){let{displayValue:t,abbreviationSuffix:n,decimals:r,locale:i}=e;return new Intl.NumberFormat(i,{minimumFractionDigits:r,maximumFractionDigits:r}).format(t)+n}var Lae={currency:Pae,percent:Fae,custom:Iae,number:f6};function Rae(e){return((e.config.unit?Lae[e.config.unit]:void 0)||f6)(e)}function zae(e){if(!e.match(/^\\d{4}-\\d{2}-\\d{2}[T ]\\d{2}:\\d{2}:\\d{2}/))return null;let t=e;e.includes(` `)&&(t=e.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!t.endsWith(`Z`)&&!t.includes(`+`)&&(t+=`Z`);let n=new Date(t);return isNaN(n.getTime())?null:{date:n,year:n.getUTCFullYear(),month:String(n.getUTCMonth()+1).padStart(2,`0`),day:String(n.getUTCDate()).padStart(2,`0`),hours:n.getUTCHours(),minutes:n.getUTCMinutes()}}function Bae(e,t){let{date:n,year:r,month:i,day:a,hours:o,minutes:s}=e;switch(t.toLowerCase()){case`year`:return`${r}`;case`quarter`:return`${r}-Q${Math.floor(n.getUTCMonth()/3)+1}`;case`month`:return`${r}-${i}`;case`week`:return`${r}-${i}-${a}`;case`day`:return`${r}-${i}-${a}`;case`hour`:return`${r}-${i}-${a} ${String(o).padStart(2,`0`)}:00`;case`minute`:return`${r}-${i}-${a} ${String(o).padStart(2,`0`)}:${String(s).padStart(2,`0`)}`;default:return null}}function Vae(e){let{date:t,year:n,month:r,day:i,hours:a,minutes:o}=e,s=t.getUTCSeconds(),c=t.getUTCMilliseconds(),l=a===0&&o===0&&s===0&&c===0;return i===`01`&&l?r===`01`||r===`04`||r===`07`||r===`10`?`${n}-Q${Math.floor(t.getUTCMonth()/3)+1}`:`${n}-${r}`:l?`${n}-${r}-${i}`:o===0&&s===0&&c===0?`${n}-${r}-${i} ${String(a).padStart(2,`0`)}:00`:`${n}-${r}-${i} ${String(a).padStart(2,`0`)}:${String(o).padStart(2,`0`)}`}function p6(e){return e!=null&&!isNaN(Number(e))}function m6(e){if(e==null)return null;let t=typeof e==`string`?parseFloat(e):Number(e);return isNaN(t)?null:t}function h6(e){if(e==null)return`No data`;let t=typeof e==`number`?e:parseFloat(e);return isNaN(t)?String(e):Number.isInteger(t)?t.toLocaleString():parseFloat(t.toFixed(2)).toLocaleString()}function g6(e,t,n){if(e==null)return`No data`;let r=typeof e==`number`?e:parseFloat(String(e));if(isNaN(r))return String(e);if(!isFinite(r))return r>0?`∞`:`-∞`;let i=n||(typeof navigator<`u`?navigator.language:`en-US`);if(!t)return h6(e);let{abbreviate:a=!0,decimals:o}=t,{displayValue:s,abbreviationSuffix:c}=Nae(r,a);return Rae({displayValue:s,abbreviate:a,abbreviationSuffix:c,decimals:o===void 0?Number.isInteger(s)?0:2:o,locale:i,config:t})}function _6(e,t){if(!e)return`Unknown`;let n=String(e),r=zae(n);if(!r)return n;if(t){let e=Bae(r,t);if(e!==null)return e}return Vae(r)}function v6(e,t){try{if(e?.timeDimensions){let n=e.timeDimensions.find(e=>t===e.dimension||t.startsWith(e.dimension.replace(`.`,`_`))||t===`${e.dimension}_${e.granularity}`);if(n?.granularity)return n.granularity}let n=t.match(/_([a-z]+)$/);if(n){let e=n[1];if([`year`,`quarter`,`month`,`week`,`day`,`hour`,`minute`,`second`].includes(e))return e}return}catch{return}}function Hae(e,t,n,r,i=e=>e){if(!e||e.length===0)return[];let a=v6(r,t);return e.map(e=>{let r={name:_6(e[t],a)||e[t]||`Unknown`};return n.forEach(t=>{let n=i(t);n===`__proto__`||n===`constructor`||n===`prototype`||(r[n]=m6(e[t]))}),r})}function y6(e,t,n,r,i,a=e=>e){if(!e||e.length===0)return{data:[],seriesKeys:[],hasDimensions:!1};let o=r||{},s=[...o.dimensions||[],...o.timeDimensions?.map(e=>e.dimension)||[]],c=o.measures||[],l=n.filter(e=>c.includes(e)),u=(i||[]).filter(e=>s.includes(e));if(u.length>0){let n={};return e.forEach(e=>{let i=v6(r,t),o=_6(e[t],i)||e[t]||`Unknown`;o===`__proto__`||o===`constructor`||o===`prototype`||(n[o]||(n[o]={name:String(o)}),l.forEach(t=>{let r=a(t);if(r===`__proto__`||r===`constructor`||r===`prototype`)return;let i=m6(e[t]);if(i!==null){let e=n[o][r];n[o][r]=e==null?i:e+i}else r in n[o]||(n[o][r]=null)}),u.forEach(t=>{let r=e[t];if(r!=null){let t=String(r),i=l[0]||c.find(e=>e.includes(`totalCost`)||e.includes(`count`)||e.includes(`sum`))||c[0];if(i){if(t===`__proto__`||t===`constructor`||t===`prototype`)return;let r=m6(e[i]);if(r!==null){let e=n[o][t];n[o][t]=e==null?r:e+r}else t in n[o]||(n[o][t]=null)}}}))}),{data:Object.values(n),seriesKeys:Array.from(new Set(e.flatMap(e=>u.map(t=>{let n=e[t];return n==null?null:String(n)}).filter(e=>e!==null)))),hasDimensions:!0}}return{data:Hae(e,t,n,r,a),seriesKeys:n.map(e=>a(e)),hasDimensions:!1}}var Uae=(e,t)=>e==null?[`No data`,t]:[h6(e),t];function b6({formatter:e,labelFormatter:t}){return(0,q.jsx)(XV,{formatter:e||Uae,labelFormatter:t,contentStyle:{backgroundColor:`white`,border:`1px solid #e5e7eb`,borderRadius:`0.5rem`,fontSize:`0.875rem`,color:`#1f2937`,boxShadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)`,padding:`8px 12px`}})}var x6=({x:e=0,y:t=0,payload:n,tickFormatter:r,index:i=0})=>{if(!n)return null;let a=r?r(n.value,i):String(n.value);return(0,q.jsx)(`g`,{transform:`translate(${e},${t})`,children:(0,q.jsx)(`text`,{x:0,y:0,dy:16,textAnchor:`end`,fill:`currentColor`,fontSize:12,transform:`rotate(-45)`,children:a})})};function S6({height:e,hint:t,titleKey:n=`chart.runtime.noData`}){let{t:r}=qv();return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:e},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:r(n)}),t!=null&&(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:t})]})})}function C6({height:e,hint:t}){let{t:n}=qv();return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:e},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:n(`chart.runtime.configError`)}),t!=null&&(0,q.jsx)(`div`,{className:`dc:text-xs`,children:t})]})})}function w6({height:e,chartType:t,error:n}){let{t:r}=qv();return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:e},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:r(`chart.runtime.chartError`,{chartType:t})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:n instanceof Error?n.message:r(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:r(`chart.runtime.checkConfig`)})]})})}function T6(e){let t,n=[],r=[],i=null;return e?.xAxis&&e?.yAxis?(t=Array.isArray(e.xAxis)?e.xAxis[0]:e.xAxis,n=Array.isArray(e.yAxis)?e.yAxis:[e.yAxis],r=e.series||[]):e?.x&&e?.y?(t=e.x,n=Array.isArray(e.y)?e.y:[e.y]):i=`axisInvalid`,!i&&(!t||n.length===0)&&(i=`axisFields`),{xAxisField:t,yAxisFields:n,seriesFields:r,errorCode:i}}var E6=[`#3b82f6`,`#10b981`,`#f59e0b`,`#ef4444`,`#8b5cf6`,`#f97316`,`#06b6d4`,`#84cc16`],D6=[`#440154`,`#414487`,`#2a788e`,`#22a884`,`#7ad151`,`#fde725`],Wae=`#10b981`,O6={top:5,right:30,left:20,bottom:5};function k6(e){if(!e||typeof e!=`string`)return[];let t=e.trim();if(!t)return[];try{let e=t.split(`,`).map(e=>e.trim()).filter(e=>e!==``).map(e=>{let t=parseFloat(e);if(isNaN(t))throw Error(`Invalid numeric value: ${e}`);return t});return e.length>0?e:[]}catch(e){return console.warn(`Failed to parse target values:`,e),[]}}function Gae(e,t){if(e.length===0||t<=0)return[];if(e.length===1)return Array(t).fill(e[0]);let n=[],r=Math.floor(t/e.length),i=t%e.length,a=0;for(let t=0;t<e.length;t++){let o=r+ +(t<i);for(let r=0;r<o;r++)n[a++]=e[t]}return n}function Kae(e,t){return t===0?e===0?0:e>0?100:-100:(e-t)/t*100}function qae(e,t=1){return`${e>=0?`+`:``}${e.toFixed(t)}%`}function A6(e,t){return{hasRightAxis:e.some(e=>t[e]===`right`),leftAxisFields:e.filter(e=>(t[e]||`left`)===`left`),rightAxisFields:e.filter(e=>t[e]===`right`)}}function j6(e){return{...O6,left:40,right:e?40:20}}function M6(e,t){let n=Gae(k6(t||``),e.length);return{spreadTargets:n,enhancedChartData:n.length>0?e.map((e,t)=>({...e,__target:n[t]||null})):e}}function N6({hasRightAxis:e,leftAxisFields:t,rightAxisFields:n},r,i,a,o=!1){return(0,q.jsxs)(z.Fragment,{children:[(0,q.jsx)(H0,{yAxisId:`left`,orientation:`left`,tick:{fontSize:12},tickFormatter:o?e=>`${(e*100).toFixed(0)}%`:i?e=>g6(e,i):void 0,domain:o?[0,1]:void 0,label:o?void 0:t.length>0?{value:i?.label||r(t[0]),angle:-90,position:`left`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0}),e&&(0,q.jsx)(H0,{yAxisId:`right`,orientation:`right`,tick:{fontSize:12},tickFormatter:a?e=>g6(e,a):void 0,label:n.length>0?{value:a?.label||r(n[0]),angle:90,position:`right`,style:{textAnchor:`middle`,fontSize:`12px`}}:void 0})]})}function P6(e){return e.length===0?null:(0,q.jsxs)(z.Fragment,{children:[(0,q.jsx)(GQ,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,stroke:`#ffffff`,strokeWidth:2,dot:!1,activeDot:!1,connectNulls:!1}),(0,q.jsx)(GQ,{type:`monotone`,dataKey:`__target`,yAxisId:`left`,name:`Target`,stroke:`#8B5CF6`,strokeWidth:2,strokeDasharray:`2 3`,dot:!1,activeDot:!1,connectNulls:!1})]})}function F6({leftYAxisFormat:e,rightYAxisFormat:t,yAxisAssignment:n,resolveField:r,isPercentStack:i=!1}){return(a,o)=>{if(a==null)return[`No data`,o];if(o===`Target`)return[g6(a,e),`Target Value`];if(i&&typeof a==`number`)return[`${(a*100).toFixed(1)}%`,o];let s=r(o);return[g6(a,(s&&n[s]===`right`?`right`:`left`)==`right`?t:e),o]}}function I6({show:e,iconType:t,paddingTop:n,onHover:r,onLeave:i}){return e?(0,q.jsx)(cO,{wrapperStyle:{fontSize:`12px`,paddingTop:`${n}px`},iconType:t,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>r(String(e.dataKey||``)),onMouseLeave:i}):null}function Jae(e){let t=e?.stackType??(e?.stacked?`normal`:`none`);return{shouldStack:t!==`none`,isPercentStack:t===`percent`}}function Yae(e,t){if(e.length===0||t.length===0)return{chartData:[],skippedCount:0};let n=e.filter(e=>t.some(t=>p6(e[t])));return{chartData:n,skippedCount:e.length-n.length}}function Xae(e,t,n){let r=e.length===1&&t.some(t=>{let n=t[e[0]];return typeof n==`number`&&n<0});return{usePositiveNegativeColoring:r,useColorByCategory:e.length===1&&!r&&!n&&t.length>1}}function L6(e,t){return e?e===t?1:.3:1}function Zae({seriesKey:e,index:t,originalField:n,axisId:r,stackId:i,chartData:a,enhancedChartData:o,colorPalette:s,hoveredLegend:c,usePositiveNegativeColoring:l,useColorByCategory:u,drillEnabled:d,onDataPointClick:f}){let p=l?Wae:s?.colors&&s.colors[t%s.colors.length]||E6[t%E6.length];return(0,q.jsxs)(A1,{dataKey:e,yAxisId:r,stackId:i,fill:p,fillOpacity:L6(c,e),cursor:d?`pointer`:void 0,onClick:(t,r,i)=>{f&&d&&t&&f({dataPoint:o[r]||t,clickedField:n||e,xValue:t.name,position:{x:i.clientX,y:i.clientY},nativeEvent:i})},children:[l&&a.map((t,n)=>{let r=t[e];return(0,q.jsx)(ZV,{fill:typeof r==`number`&&r<0?`#ef4444`:`#10b981`,fillOpacity:L6(c,e)},`cell-${n}`)}),u&&a.map((t,n)=>{let r=s?.colors||E6;return(0,q.jsx)(ZV,{fill:r[n%r.length],fillOpacity:L6(c,e)},`cat-${n}`)})]})}var R6=(0,z.createContext)(null);function Qae(){let e=(0,z.useContext)(R6);if(!e)throw Error(`useCubeMeta must be used within CubeMetaProvider`);return e}function z6(){let e=(0,z.useContext)(R6);if(!e)throw Error(`useCubeFieldLabel must be used within CubeProvider`);return(0,z.useMemo)(()=>e.getFieldLabel,[e.getFieldLabel])}var $ae=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=qv(),[l,u]=(0,z.useState)(null),d=z6(),{shouldStack:f,isPercentStack:p}=Jae(n),m={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0},h=n?.showAllXLabels??!0,g=n?.leftYAxisFormat,_=n?.rightYAxisFormat,{xAxisField:v,yAxisFields:y,seriesFields:b,errorCode:x}=(0,z.useMemo)(()=>T6(t),[t]),{data:S,seriesKeys:C}=(0,z.useMemo)(()=>x||!e||e.length===0||!v?{data:[],seriesKeys:[]}:y6(e,v,y,r,b,d),[e,v,y,r,b,d,x]),w=(0,z.useMemo)(()=>t?.yAxisAssignment||{},[t?.yAxisAssignment]),T=(0,z.useMemo)(()=>{let e={};return y.forEach(t=>{let n=d(t);e[n]=t}),e},[y,d]),E=A6(y,w),{hasRightAxis:D}=E,{chartData:O,skippedCount:k}=(0,z.useMemo)(()=>Yae(S,C),[S,C]);try{if(!e||e.length===0)return(0,q.jsx)(S6,{height:i,hint:c(`chart.runtime.noDataHint.bar`)});if(x)return(0,q.jsx)(C6,{height:i,hint:c(`chart.runtime.configErrorHint.${x}`)});let t=f&&!D,r=p&&!D,v=r?`expand`:void 0,{usePositiveNegativeColoring:y,useColorByCategory:S}=Xae(C,O,b.length),ee=m.showLegend,te=j6(D),{spreadTargets:ne,enhancedChartData:A}=M6(O,n?.target);return!O||O.length===0?(0,q.jsx)(S6,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for bar chart after transformation`}):(0,q.jsxs)(`div`,{className:`dc:relative dc:w-full`,style:{height:i},children:[(0,q.jsx)(d6,{height:k>0?`calc(100% - 20px)`:`100%`,children:(0,q.jsxs)($3,{data:A,margin:te,stackOffset:v,accessibilityLayer:!1,children:[m.showGrid&&(0,q.jsx)(QZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(D0,{dataKey:`name`,type:`category`,tick:(0,q.jsx)(x6,{}),height:60,interval:h?0:void 0}),N6(E,d,g,_,r),m.showTooltip&&(0,q.jsx)(b6,{formatter:F6({leftYAxisFormat:g,rightYAxisFormat:_,yAxisAssignment:w,resolveField:e=>T[e],isPercentStack:r})}),I6({show:ee,iconType:`rect`,paddingTop:25,onHover:u,onLeave:()=>u(null)}),C.map((e,n)=>{let r=T[e];return(0,q.jsx)(Zae,{seriesKey:e,index:n,originalField:r,axisId:r&&w[r]===`right`?`right`:`left`,stackId:t?`stack`:void 0,chartData:O,enhancedChartData:A,colorPalette:a,hoveredLegend:l,usePositiveNegativeColoring:y,useColorByCategory:S,drillEnabled:s,onDataPointClick:o},e)}),P6(ne)]})}),k>0&&(0,q.jsxs)(`div`,{className:`dc:text-xs text-dc-text-muted dc:text-center dc:mt-1`,children:[k,` data point`,k===1?``:`s`,` with no values hidden`]})]})}catch(e){return(0,q.jsx)(w6,{height:i,chartType:`Bar Chart`,error:e})}});function B6(e){return e.length>0&&`__periodIndex`in e[0]}function V6(e){if(!B6(e))return[];let t=new Set;for(let n of e)n.__period&&t.add(n.__period);return Array.from(t)}function eoe(e){if(!B6(e))return[];let t=new Set;for(let n of e)typeof n.__periodIndex==`number`&&t.add(n.__periodIndex);return Array.from(t).sort((e,t)=>e-t)}function H6(e,t){return t===0?`Current`:`Prior`}function toe(e,t,n){if(e.length===0)return[];let r=[`__period`,`__periodIndex`,`__periodDayIndex`],i=e[0],a=[];for(let e of Object.keys(i))!t.includes(e)&&e!==n&&!r.includes(e)&&a.push(e);return a}function noe(e,t){let n=new Map;for(let e of t)n.set(e,new Set);for(let r of e)for(let e of t)r[e]!==void 0&&r[e]!==null&&n.get(e).add(r[e]);return n}function roe(e,t,n,r){if(!B6(e))return{data:e,seriesKeys:t,xAxisKey:n};let i=V6(e),a=eoe(e),o=toe(e,t,n),s=o.length>0,c=s?noe(e,o):null;return{data:aoe(e,t,n,{dimensionFields:o,hasDimensions:s,periodLabels:i,getFieldLabel:r}),seriesKeys:ooe(t,i,a,{dimensionFields:o,uniqueDimensionValues:c,getFieldLabel:r}),xAxisKey:`__periodDayIndex`}}function ioe(e,t,n){return t.length===0?``:t.map(t=>{let r=e[t];return n?n(String(r)):String(r)}).join(` / `)}function aoe(e,t,n,r){let{dimensionFields:i,hasDimensions:a,periodLabels:o,getFieldLabel:s}=r,c=new Map;for(let r of e){let e=r.__periodDayIndex,l=r.__periodIndex;c.has(e)||c.set(e,{__periodDayIndex:e,__displayDate:l===0?r[n]:void 0});let u=c.get(e);!u.__displayDate&&r[n]&&(u.__displayDate=r[n]);let d=a?ioe(r,i,s):``,f=H6(o[l]||``,l);for(let e of t){let t=s?s(e):e,n=d?`${d} - ${t} (${f})`:`${t} (${f})`;u[n]=r[e]}}return Array.from(c.values()).sort((e,t)=>e.__periodDayIndex-t.__periodDayIndex)}function ooe(e,t,n,r){let{dimensionFields:i,uniqueDimensionValues:a,getFieldLabel:o}=r,s=[],c=a?soe(i,a,o):[``];for(let r of c)for(let i of e){let e=o?o(i):i;for(let i=0;i<n.length;i++){let n=H6(t[i]||``,i);s.push(r?`${r} - ${e} (${n})`:`${e} (${n})`)}}return s}function soe(e,t,n){if(e.length===0)return[];if(e.length===1){let r=e[0];return Array.from(t.get(r)||[]).map(e=>n?n(String(e)):String(e))}let r=[],i=e.map(e=>Array.from(t.get(e)||[]));function a(e,t){if(e===i.length){let e=t.map(e=>n?n(String(e)):String(e));r.push(e.join(` / `));return}for(let n of i[e])a(e+1,[...t,n])}return a(0,[]),r}function coe(e,t){if(t.length<2)return!1;for(let n=1;n<t.length;n++){let r=H6(t[n],n);if(e.includes(`(${r})`))return!0}return e.includes(`(Prior`)}function loe(e=`dashed`){switch(e){case`solid`:return;case`dashed`:return`5 5`;case`dotted`:return`2 2`;default:return`5 5`}}function U6({props:e,color:t,drillEnabled:n,originalField:r,seriesKey:i,onDataPointClick:a,renderPlain:o}){let{cx:s,cy:c,payload:l,key:u}=e;if(s===void 0||c===void 0)return null;let d=e=>{e.stopPropagation(),e.preventDefault(),a&&a({dataPoint:l,clickedField:r||i,xValue:l.name,position:{x:e.clientX,y:e.clientY},nativeEvent:e})};return n&&a?(0,q.jsxs)(`g`,{children:[(0,q.jsx)(`circle`,{cx:s,cy:c,r:6,fill:`var(--dc-surface)`,style:{pointerEvents:`none`}}),(0,q.jsx)(`circle`,{cx:s,cy:c,r:4,fill:`var(--dc-surface)`,stroke:t,strokeWidth:2,cursor:`pointer`,onClick:e=>{d(e)}})]},u):o?(0,q.jsx)(`circle`,{cx:s,cy:c,r:3,fill:t},u):null}function W6(e,t,n,r){return e?_6(e,v6(t,n)):`Period ${r+1}`}function uoe(e,t,n,r){if(e)return(e,i)=>{let a=t[i];return W6(a?.__displayDate,n,r,Number(e))}}function doe(e,t,n){if(e)return(e,r)=>W6((r&&r.length>0?r[0]?.payload:void 0)?.__displayDate,t,n,Number(e))}function foe(e,t){let n=e?.stackType??(e?.stacked?`normal`:`none`),r=n!==`none`&&!t,i=n===`percent`&&!t;return{effectiveShouldStack:r,effectiveIsPercentStack:i,stackOffset:i?`expand`:void 0}}function G6(e,t){let n={};return e.forEach(e=>{n[t(e)]=e}),n}function poe(e){return t=>{if(e[t])return e[t];if(t.length>1e3)return;let n=t.replace(/\\s*\\((Current|Prior)\\)$/,``).split(` - `);return e[n[n.length-1]]}}function K6(e,t){let n=e?.colors;return n&&n[t%n.length]||E6[t%E6.length]}function moe(e,t,n){let{colorPalette:r,resolveField:i,yAxisAssignment:a,hoveredLegend:o,connectNulls:s,drillEnabled:c,onDataPointClick:l,hasComparisonData:u,periodLabels:d=[],priorPeriodStyle:f=`dashed`,priorPeriodOpacity:p=.5}=n,m=i(e),h=m&&a[m]===`right`?`right`:`left`,g=!!u&&coe(e,d),_=g?loe(f):void 0,v=g?p:1,y=K6(r,t),b=v;return o&&(b=o===e?1:.3),(0,q.jsx)(GQ,{type:`monotone`,dataKey:e,yAxisId:h,stroke:y,strokeWidth:g?1.5:2,strokeDasharray:_,dot:g?!1:t=>U6({props:t,color:y,drillEnabled:c,originalField:m,seriesKey:e,onDataPointClick:l,renderPlain:!0}),activeDot:!1,strokeOpacity:b,connectNulls:s},e)}function hoe(e){return e.seriesKeys.map((t,n)=>moe(t,n,e))}function goe(e,t,n){let{colorPalette:r,seriesKeyToField:i,yAxisAssignment:a,hoveredLegend:o,connectNulls:s,shouldStack:c,drillEnabled:l,onDataPointClick:u}=n,d=i[e],f=d&&a[d]===`right`?`right`:`left`,p=K6(r,t),m=.3,h=1;if(o){let t=o===e;m=t?.6:.1,h=t?1:.3}return(0,q.jsx)(A$,{type:`monotone`,dataKey:e,yAxisId:f,stackId:c?`stack`:void 0,stroke:p,fill:p,fillOpacity:m,strokeWidth:2,strokeOpacity:h,connectNulls:s,dot:t=>U6({props:t,color:p,drillEnabled:l,originalField:d,seriesKey:e,onDataPointClick:u,renderPlain:!1}),activeDot:!1},e)}function _oe(e){return e.seriesKeys.map((t,n)=>goe(t,n,e))}function voe(e){let{data:t,xAxisField:n,yAxisFields:r,seriesFields:i,queryObject:a,getFieldLabel:o}=e,s=B6(t);if(s){let e=roe(t,r,n,o);return{chartData:e.data,seriesKeys:e.seriesKeys,effectiveXAxisKey:`__periodDayIndex`,hasComparisonData:s,periodLabels:V6(t)}}let c=y6(t,n,r,a,i,o);return{chartData:c.data,seriesKeys:c.seriesKeys,effectiveXAxisKey:`name`,hasComparisonData:s,periodLabels:[]}}var yoe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=qv(),[l,u]=(0,z.useState)(null),d=z6(),{xAxisField:f,yAxisFields:p,seriesFields:m,errorCode:h}=(0,z.useMemo)(()=>T6(t),[t]),g=(0,z.useMemo)(()=>t?.yAxisAssignment||{},[t?.yAxisAssignment]),_=(0,z.useMemo)(()=>G6(p,d),[p,d]);try{let t={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0,connectNulls:n?.connectNulls??!1},v=n?.showAllXLabels??!0,y=n?.leftYAxisFormat,b=n?.rightYAxisFormat;if(!e||e.length===0)return(0,q.jsx)(S6,{height:i,hint:c(`chart.runtime.noDataHint.line`)});if(h)return(0,q.jsx)(C6,{height:i,hint:c(`chart.runtime.configErrorHint.${h}`)});let x=f,S=n?.priorPeriodStyle||`dashed`,C=n?.priorPeriodOpacity??.5,{chartData:w,seriesKeys:T,effectiveXAxisKey:E,hasComparisonData:D,periodLabels:O}=voe({data:e,xAxisField:x,yAxisFields:p,seriesFields:m,queryObject:r,getFieldLabel:d}),k=poe(_),ee=A6(p,g),{hasRightAxis:te}=ee,ne=t.showLegend,A=j6(te),{spreadTargets:re,enhancedChartData:j}=M6(w,n?.target);return!w||w.length===0?(0,q.jsx)(S6,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for line chart after transformation`}):(0,q.jsx)(d6,{height:i,children:(0,q.jsxs)(w4,{data:j,margin:A,accessibilityLayer:!1,children:[t.showGrid&&(0,q.jsx)(QZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(D0,{dataKey:E,type:`category`,tick:(0,q.jsx)(x6,{tickFormatter:uoe(D,w,r,x)}),height:60,interval:v?0:void 0}),N6(ee,d,y,b),t.showTooltip&&(0,q.jsx)(b6,{formatter:F6({leftYAxisFormat:y,rightYAxisFormat:b,yAxisAssignment:g,resolveField:k}),labelFormatter:doe(D,r,x)}),I6({show:ne,iconType:`line`,paddingTop:25,onHover:u,onLeave:()=>u(null)}),hoe({seriesKeys:T,colorPalette:a,resolveField:k,yAxisAssignment:g,hoveredLegend:l,connectNulls:t.connectNulls,drillEnabled:s,onDataPointClick:o,hasComparisonData:D,periodLabels:O,priorPeriodStyle:S,priorPeriodOpacity:C}),P6(re)]})})}catch(e){return(0,q.jsx)(w6,{height:i,chartType:`Line Chart`,error:e})}}),boe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=qv(),[l,u]=(0,z.useState)(null),d=z6(),{xAxisField:f,yAxisFields:p,seriesFields:m,errorCode:h}=(0,z.useMemo)(()=>T6(t),[t]),g=(0,z.useMemo)(()=>t?.yAxisAssignment||{},[t?.yAxisAssignment]),{data:_,seriesKeys:v}=(0,z.useMemo)(()=>h||!e||e.length===0||!f?{data:[],seriesKeys:[]}:y6(e,f,p,r,m,d),[e,f,p,r,m,d,h]);try{let t={showLegend:n?.showLegend??!0,showGrid:n?.showGrid??!0,showTooltip:n?.showTooltip??!0,connectNulls:n?.connectNulls??!1},r=n?.showAllXLabels??!0,f=n?.leftYAxisFormat,m=n?.rightYAxisFormat;if(!e||e.length===0)return(0,q.jsx)(S6,{height:i,hint:c(`chart.runtime.noDataHint.area`)});if(h)return(0,q.jsx)(C6,{height:i,hint:c(`chart.runtime.configErrorHint.${h}`)});let y=G6(p,d),b=A6(p,g),{hasRightAxis:x}=b,{effectiveShouldStack:S,effectiveIsPercentStack:C,stackOffset:w}=foe(n,x),T=t.showLegend,E=j6(x),{spreadTargets:D,enhancedChartData:O}=M6(_,n?.target);return!_||_.length===0?(0,q.jsx)(S6,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for area chart after transformation`}):(0,q.jsx)(d6,{height:i,children:(0,q.jsxs)($3,{data:O,margin:E,stackOffset:w,accessibilityLayer:!1,children:[t.showGrid&&(0,q.jsx)(QZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(D0,{dataKey:`name`,type:`category`,tick:(0,q.jsx)(x6,{}),height:60,interval:r?0:void 0}),N6(b,d,f,m,C),t.showTooltip&&(0,q.jsx)(b6,{formatter:F6({leftYAxisFormat:f,rightYAxisFormat:m,yAxisAssignment:g,resolveField:e=>y[e],isPercentStack:C})}),I6({show:T,iconType:`rect`,paddingTop:10,onHover:u,onLeave:()=>u(null)}),_oe({seriesKeys:v,colorPalette:a,seriesKeyToField:y,yAxisAssignment:g,hoveredLegend:l,connectNulls:t.connectNulls,shouldStack:S,drillEnabled:s,onDataPointClick:o}),P6(D)]})})}catch(e){return(0,q.jsx)(w6,{height:i,chartType:`Area Chart`,error:e})}});function xoe(e,t,n,r,i,a){let o;if(r.length>0){let{data:s}=y6(e,t,n,i,r,a);if(o=[],s.length>0){let e=s[0];Object.keys(e).forEach(t=>{t!==`name`&&typeof e[t]==`number`&&o.push({name:String(t),value:e[t]})})}}else{let r=v6(i,t);o=e.map(e=>{let i=_6(e[t],r)||String(e[t])||`Unknown`;return typeof e[t]==`boolean`?i=e[t]?`Active`:`Inactive`:(i===`true`||i===`false`)&&(i=i===`true`?`Active`:`Inactive`),{name:i,value:typeof e[n[0]]==`string`?parseFloat(e[n[0]]):e[n[0]]||0}})}let s=o.length;return o=o.filter(e=>e.value!=null&&!isNaN(e.value)&&e.value!==0&&e.value>0),{pieData:o,originalLength:s}}var Soe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=qv(),[l,u]=(0,z.useState)(null),d=z6(),{xAxisField:f,yAxisFields:p,seriesFields:m,errorCode:h}=(0,z.useMemo)(()=>T6(t),[t]);try{let t={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,leftYAxisFormat:n?.leftYAxisFormat,innerRadius:n?.innerRadius||`0%`};if(!e||e.length===0)return(0,q.jsx)(S6,{height:i,hint:c(`chart.runtime.noDataHint.pie`)});if(h)return(0,q.jsx)(C6,{height:i,hint:c(h===`axisInvalid`?`chart.runtime.configErrorHint.pieAxis`:`chart.runtime.configErrorHint.axisFields`)});let{pieData:g,originalLength:_}=xoe(e,f,p,m,r,d);return g.length===0?(0,q.jsx)(S6,{height:i,titleKey:`chart.runtime.noValidData`,hint:_>0?`Filtered out ${_} data points (zero or invalid values)`:`No data points to display in pie chart`}):(0,q.jsx)(d6,{height:i,children:(0,q.jsxs)(W4,{accessibilityLayer:!1,children:[(0,q.jsx)(Fq,{data:g,cx:`50%`,cy:`50%`,innerRadius:t.innerRadius===`0%`?void 0:t.innerRadius,outerRadius:`70%`,dataKey:`value`,label:t.showLegend?void 0:({name:e,percent:t})=>`${e} ${((t||0)*100).toFixed(0)}%`,cursor:s?`pointer`:void 0,onClick:(e,t,n)=>{o&&s&&e&&o({dataPoint:e,clickedField:p[0],xValue:e.name,position:{x:n.clientX,y:n.clientY},nativeEvent:n})},children:g.map((e,t)=>(0,q.jsx)(ZV,{fill:a?.colors&&a.colors[t%a.colors.length]||E6[t%E6.length],fillOpacity:l?l===g[t].name?1:.3:1},`cell-${t}`))}),t.showTooltip&&(0,q.jsx)(b6,{formatter:t.leftYAxisFormat?(e,n)=>[g6(e,t.leftYAxisFormat),n]:void 0}),t.showLegend&&(0,q.jsx)(cO,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>u(String(e.value||``)),onMouseLeave:()=>u(null)})]})})}catch(e){return(0,q.jsx)(w6,{height:i,chartType:`Pie Chart`,error:e})}}),Coe=20;function woe(e,t){let n=e?.showLegend??!0,r=t.length>1&&t.length<=Coe;return{showLegend:n&&r,showGrid:e?.showGrid??!0,showTooltip:e?.showTooltip??!0,hasSeries:r,xAxisFormat:e?.xAxisFormat,yAxisFormat:e?.leftYAxisFormat,chartMargins:{...O6,left:40}}}function Toe(e){let t,n,r=[];if(e?.xAxis&&e?.yAxis){t=Array.isArray(e.xAxis)?e.xAxis[0]:e.xAxis,n=Array.isArray(e.yAxis)?e.yAxis[0]:e.yAxis;let i=e.series;r=i?Array.isArray(i)?i:[i]:[]}else if(e?.x&&e?.y)t=e.x,n=Array.isArray(e.y)?e.y[0]:e.y;else return{xAxisField:``,yAxisField:``,seriesFields:[],errorCode:`axisInvalid`};return!t||!n?{xAxisField:``,yAxisField:``,seriesFields:[],errorCode:`axisFields`}:{xAxisField:t,yAxisField:n,seriesFields:r}}function q6(e,t,n){let r={};return t.forEach(t=>{if(e[t]){let i=v6(n,t);r[t]=_6(e[t],i)}}),r}function J6(e,t,n){let r=_6(e[t],n)||e[t];return typeof r==`string`?parseFloat(r):r}function Eoe(e,t,n,r,i,a){let o=v6(a,t);if(r.length>0){let s=r[0],c={};return e.forEach(e=>{let r=String(e[s]||`Default`);c[r]||(c[r]=[]);let l=J6(e,t,o),u=m6(e[n]);p6(l)&&u!==null&&c[r].push({x:l,y:u,name:r,timeValues:q6(e,i,a),originalItem:e})}),{scatterData:Object.keys(c).flatMap(e=>c[e]),seriesGroups:c}}return{scatterData:e.map(e=>{let r=J6(e,t,o),s=m6(e[n]);return{x:r,y:s,name:`Point`,timeValues:q6(e,i,a),originalItem:e,isValid:p6(r)&&s!==null}}).filter(e=>e.isValid).map(({isValid:e,...t})=>t),seriesGroups:{}}}function Doe({active:e,payload:t,xAxisField:n,yAxisField:r,xAxisFormat:i,yAxisFormat:a,getFieldLabel:o}){if(!e||!t||t.length===0)return null;let s=t[0]?.payload;return s?(0,q.jsxs)(`div`,{style:{backgroundColor:`white`,border:`1px solid #e5e7eb`,borderRadius:`0.5rem`,fontSize:`0.875rem`,color:`#1f2937`,boxShadow:`0 4px 6px -1px rgba(0, 0, 0, 0.1)`,padding:`8px 12px`},children:[(0,q.jsx)(`div`,{style:{fontWeight:600,marginBottom:`4px`},children:s.name}),s.timeValues&&Object.keys(s.timeValues).length>0&&(0,q.jsx)(`div`,{style:{marginBottom:`4px`,color:`#6b7280`},children:Object.entries(s.timeValues).map(([e,t])=>(0,q.jsxs)(`div`,{children:[o(e),`: `,t]},e))}),(0,q.jsxs)(`div`,{children:[i?.label||o(n),`: `,g6(s.x,i)]}),(0,q.jsxs)(`div`,{children:[a?.label||o(r),`: `,g6(s.y,a)]})]}):null}function Ooe(e,t){return e?.colors&&e.colors[t%e.colors.length]||E6[t%E6.length]}function koe({hasSeries:e,seriesKeys:t,seriesGroups:n,scatterData:r,colorPalette:i,hoveredLegend:a}){return e?(0,q.jsx)(q.Fragment,{children:t.map((e,t)=>(0,q.jsx)(o0,{name:e,data:n[e],fill:Ooe(i,t),fillOpacity:a?a===e?1:.3:1},e))}):(0,q.jsx)(o0,{name:`Data`,data:r,fill:i?.colors&&i.colors[0]||E6[0]})}var Aoe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=qv(),[s,c]=(0,z.useState)(null),l=z6();try{if(!e||e.length===0)return(0,q.jsx)(S6,{height:i,hint:o(`chart.runtime.noDataHint.scatter`)});let{xAxisField:u,yAxisField:d,seriesFields:f,errorCode:p}=Toe(t);if(p)return(0,q.jsx)(C6,{height:i,hint:o(`chart.runtime.configErrorHint.${p}`)});let{scatterData:m,seriesGroups:h}=Eoe(e,u,d,f,(r?.timeDimensions||[]).map(e=>e.dimension),r);if(!m||m.length===0)return(0,q.jsx)(S6,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for scatter chart after transformation`});let g=Object.keys(h),{showLegend:_,showGrid:v,showTooltip:y,hasSeries:b,xAxisFormat:x,yAxisFormat:S,chartMargins:C}=woe(n,g);return(0,q.jsx)(d6,{height:i,children:(0,q.jsxs)(U3,{margin:C,accessibilityLayer:!1,children:[v&&(0,q.jsx)(QZ,{strokeDasharray:`3 3`}),(0,q.jsx)(D0,{type:`number`,dataKey:`x`,name:x?.label||l(u),tick:{fontSize:12},tickFormatter:x?e=>g6(e,x):void 0}),(0,q.jsx)(H0,{type:`number`,dataKey:`y`,name:S?.label||l(d),tick:{fontSize:12},tickFormatter:S?e=>g6(e,S):void 0,label:{value:S?.label||l(d),angle:-90,position:`left`,style:{textAnchor:`middle`,fontSize:`12px`}}}),y&&(0,q.jsx)(XV,{cursor:{strokeDasharray:`3 3`},content:({active:e,payload:t})=>(0,q.jsx)(Doe,{active:e,payload:t,xAxisField:u,yAxisField:d,xAxisFormat:x,yAxisFormat:S,getFieldLabel:l})}),_&&(0,q.jsx)(cO,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.dataKey||``)),onMouseLeave:()=>c(null)}),(0,q.jsx)(koe,{hasSeries:b,seriesKeys:g,seriesGroups:h,scatterData:m,colorPalette:a,hoveredLegend:s})]})})}catch(e){return(0,q.jsx)(w6,{height:i,chartType:`Scatter Chart`,error:e})}});function joe(e){return e}var Y6=1,X6=2,Z6=3,Q6=4,$6=1e-6;function Moe(e){return`translate(`+e+`,0)`}function Noe(e){return`translate(0,`+e+`)`}function Poe(e){return t=>+e(t)}function Foe(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function Ioe(){return!this.__axis}function e8(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,l=e===Y6||e===Q6?-1:1,u=e===Q6||e===X6?`x`:`y`,d=e===Y6||e===Z6?Moe:Noe;function f(f){var p=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):joe),h=Math.max(a,0)+s,g=t.range(),_=+g[0]+c,v=+g[g.length-1]+c,y=(t.bandwidth?Foe:Poe)(t.copy(),c),b=f.selection?f.selection():f,x=b.selectAll(`.domain`).data([null]),S=b.selectAll(`.tick`).data(p,t).order(),C=S.exit(),w=S.enter().append(`g`).attr(`class`,`tick`),T=S.select(`line`),E=S.select(`text`);x=x.merge(x.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),S=S.merge(w),T=T.merge(w.append(`line`).attr(`stroke`,`currentColor`).attr(u+`2`,l*a)),E=E.merge(w.append(`text`).attr(`fill`,`currentColor`).attr(u,l*h).attr(`dy`,e===Y6?`0em`:e===Z6?`0.71em`:`0.32em`)),f!==b&&(x=x.transition(f),S=S.transition(f),T=T.transition(f),E=E.transition(f),C=C.transition(f).attr(`opacity`,$6).attr(`transform`,function(e){return isFinite(e=y(e))?d(e+c):this.getAttribute(`transform`)}),w.attr(`opacity`,$6).attr(`transform`,function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+c)})),C.remove(),x.attr(`d`,e===Q6||e===X6?o?`M`+l*o+`,`+_+`H`+c+`V`+v+`H`+l*o:`M`+c+`,`+_+`V`+v:o?`M`+_+`,`+l*o+`V`+c+`H`+v+`V`+l*o:`M`+_+`,`+c+`H`+v),S.attr(`opacity`,1).attr(`transform`,function(e){return d(y(e)+c)}),T.attr(u+`2`,l*a),E.attr(u,l*h).text(m),b.filter(Ioe).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===X6?`start`:e===Q6?`end`:`middle`),b.each(function(){this.__axis=y})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(c=+e,f):c},f}function t8(e){return e8(Z6,e)}function n8(e){return e8(Q6,e)}var Loe={value:()=>{}};function r8(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+``)||r in n||/[\\s.]/.test(r))throw Error(`illegal type: `+r);n[r]=[]}return new i8(n)}function i8(e){this._=e}function Roe(e,t){return e.trim().split(/^|\\s+/).map(function(e){var n=``,r=e.indexOf(`.`);if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw Error(`unknown type: `+e);return{type:e,name:n}})}i8.prototype=r8.prototype={constructor:i8,on:function(e,t){var n=this._,r=Roe(e+``,n),i,a=-1,o=r.length;if(arguments.length<2){for(;++a<o;)if((i=(e=r[a]).type)&&(i=zoe(n[i],e.name)))return i;return}if(t!=null&&typeof t!=`function`)throw Error(`invalid callback: `+t);for(;++a<o;)if(i=(e=r[a]).type)n[i]=a8(n[i],e.name,t);else if(t==null)for(i in n)n[i]=a8(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new i8(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=Array(i),r=0,i,a;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(a=this._[e],r=0,i=a.length;r<i;++r)a[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error(`unknown type: `+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};function zoe(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function a8(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=Loe,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var o8={svg:`http://www.w3.org/2000/svg`,xhtml:`http://www.w3.org/1999/xhtml`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`};function s8(e){var t=e+=``,n=t.indexOf(`:`);return n>=0&&(t=e.slice(0,n))!==`xmlns`&&(e=e.slice(n+1)),o8.hasOwnProperty(t)?{space:o8[t],local:e}:e}function Boe(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===`http://www.w3.org/1999/xhtml`&&t.documentElement.namespaceURI===`http://www.w3.org/1999/xhtml`?t.createElement(e):t.createElementNS(n,e)}}function Voe(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function c8(e){var t=s8(e);return(t.local?Voe:Boe)(t)}function Hoe(){}function l8(e){return e==null?Hoe:function(){return this.querySelector(e)}}function Uoe(e){typeof e!=`function`&&(e=l8(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=Array(o),c,l,u=0;u<o;++u)(c=a[u])&&(l=e.call(c,c.__data__,u,a))&&(`__data__`in c&&(l.__data__=c.__data__),s[u]=l);return new w8(r,this._parents)}function Woe(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function Goe(){return[]}function u8(e){return e==null?Goe:function(){return this.querySelectorAll(e)}}function Koe(e){return function(){return Woe(e.apply(this,arguments))}}function qoe(e){e=typeof e==`function`?Koe(e):u8(e);for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o=t[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&(r.push(e.call(c,c.__data__,l,o)),i.push(c));return new w8(r,i)}function d8(e){return function(){return this.matches(e)}}function f8(e){return function(t){return t.matches(e)}}var Joe=Array.prototype.find;function Yoe(e){return function(){return Joe.call(this.children,e)}}function Xoe(){return this.firstElementChild}function Zoe(e){return this.select(e==null?Xoe:Yoe(typeof e==`function`?e:f8(e)))}var Qoe=Array.prototype.filter;function $oe(){return Array.from(this.children)}function ese(e){return function(){return Qoe.call(this.children,e)}}function tse(e){return this.selectAll(e==null?$oe:ese(typeof e==`function`?e:f8(e)))}function nse(e){typeof e!=`function`&&(e=d8(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new w8(r,this._parents)}function p8(e){return Array(e.length)}function rse(){return new w8(this._enter||this._groups.map(p8),this._parents)}function m8(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}m8.prototype={constructor:m8,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function ise(e){return function(){return e}}function ase(e,t,n,r,i,a){for(var o=0,s,c=t.length,l=a.length;o<l;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new m8(e,a[o]);for(;o<c;++o)(s=t[o])&&(i[o]=s)}function ose(e,t,n,r,i,a,o){var s,c,l=new Map,u=t.length,d=a.length,f=Array(u),p;for(s=0;s<u;++s)(c=t[s])&&(f[s]=p=o.call(c,c.__data__,s,t)+``,l.has(p)?i[s]=c:l.set(p,c));for(s=0;s<d;++s)p=o.call(e,a[s],s,a)+``,(c=l.get(p))?(r[s]=c,c.__data__=a[s],l.delete(p)):n[s]=new m8(e,a[s]);for(s=0;s<u;++s)(c=t[s])&&l.get(f[s])===c&&(i[s]=c)}function sse(e){return e.__data__}function cse(e,t){if(!arguments.length)return Array.from(this,sse);var n=t?ose:ase,r=this._parents,i=this._groups;typeof e!=`function`&&(e=ise(e));for(var a=i.length,o=Array(a),s=Array(a),c=Array(a),l=0;l<a;++l){var u=r[l],d=i[l],f=d.length,p=lse(e.call(u,u&&u.__data__,l,r)),m=p.length,h=s[l]=Array(m),g=o[l]=Array(m);n(u,d,h,g,c[l]=Array(f),p,t);for(var _=0,v=0,y,b;_<m;++_)if(y=h[_]){for(_>=v&&(v=_+1);!(b=g[v])&&++v<m;);y._next=b||null}}return o=new w8(o,r),o._enter=s,o._exit=c,o}function lse(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}function use(){return new w8(this._exit||this._groups.map(p8),this._parents)}function dse(e,t,n){var r=this.enter(),i=this,a=this.exit();return typeof e==`function`?(r=e(r),r&&=r.selection()):r=r.append(e+``),t!=null&&(i=t(i),i&&=i.selection()),n==null?a.remove():n(a),r&&i?r.merge(i).order():i}function fse(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,o=Math.min(i,a),s=Array(i),c=0;c<o;++c)for(var l=n[c],u=r[c],d=l.length,f=s[c]=Array(d),p,m=0;m<d;++m)(p=l[m]||u[m])&&(f[m]=p);for(;c<i;++c)s[c]=n[c];return new w8(s,this._parents)}function pse(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,a=r[i],o;--i>=0;)(o=r[i])&&(a&&o.compareDocumentPosition(a)^4&&a.parentNode.insertBefore(o,a),a=o);return this}function mse(e){e||=hse;function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var o=n[a],s=o.length,c=i[a]=Array(s),l,u=0;u<s;++u)(l=o[u])&&(c[u]=l);c.sort(t)}return new w8(i,this._parents).order()}function hse(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function gse(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function _se(){return Array.from(this)}function vse(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null}function yse(){let e=0;for(let t of this)++e;return e}function bse(){return!this.node()}function xse(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],a=0,o=i.length,s;a<o;++a)(s=i[a])&&e.call(s,s.__data__,a,i);return this}function Sse(e){return function(){this.removeAttribute(e)}}function Cse(e){return function(){this.removeAttributeNS(e.space,e.local)}}function wse(e,t){return function(){this.setAttribute(e,t)}}function Tse(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Ese(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Dse(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Ose(e,t){var n=s8(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?Cse:Sse:typeof t==`function`?n.local?Dse:Ese:n.local?Tse:wse)(n,t))}function h8(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function kse(e){return function(){this.style.removeProperty(e)}}function Ase(e,t,n){return function(){this.style.setProperty(e,t,n)}}function jse(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function Mse(e,t,n){return arguments.length>1?this.each((t==null?kse:typeof t==`function`?jse:Ase)(e,t,n??``)):g8(this.node(),e)}function g8(e,t){return e.style.getPropertyValue(t)||h8(e).getComputedStyle(e,null).getPropertyValue(t)}function Nse(e){return function(){delete this[e]}}function Pse(e,t){return function(){this[e]=t}}function Fse(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function Ise(e,t){return arguments.length>1?this.each((t==null?Nse:typeof t==`function`?Fse:Pse)(e,t)):this.node()[e]}function _8(e){return e.trim().split(/^|\\s+/)}function v8(e){return e.classList||new y8(e)}function y8(e){this._node=e,this._names=_8(e.getAttribute(`class`)||``)}y8.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute(`class`,this._names.join(` `)))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute(`class`,this._names.join(` `)))},contains:function(e){return this._names.indexOf(e)>=0}};function b8(e,t){for(var n=v8(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function x8(e,t){for(var n=v8(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function Lse(e){return function(){b8(this,e)}}function Rse(e){return function(){x8(this,e)}}function zse(e,t){return function(){(t.apply(this,arguments)?b8:x8)(this,e)}}function Bse(e,t){var n=_8(e+``);if(arguments.length<2){for(var r=v8(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t==`function`?zse:t?Lse:Rse)(n,t))}function Vse(){this.textContent=``}function Hse(e){return function(){this.textContent=e}}function Use(e){return function(){var t=e.apply(this,arguments);this.textContent=t??``}}function Wse(e){return arguments.length?this.each(e==null?Vse:(typeof e==`function`?Use:Hse)(e)):this.node().textContent}function Gse(){this.innerHTML=``}function Kse(e){return function(){this.innerHTML=e}}function qse(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??``}}function Jse(e){return arguments.length?this.each(e==null?Gse:(typeof e==`function`?qse:Kse)(e)):this.node().innerHTML}function Yse(){this.nextSibling&&this.parentNode.appendChild(this)}function Xse(){return this.each(Yse)}function Zse(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Qse(){return this.each(Zse)}function $se(e){var t=typeof e==`function`?e:c8(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function ece(){return null}function tce(e,t){var n=typeof e==`function`?e:c8(e),r=t==null?ece:typeof t==`function`?t:l8(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function nce(){var e=this.parentNode;e&&e.removeChild(this)}function rce(){return this.each(nce)}function ice(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function ace(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function oce(e){return this.select(e?ace:ice)}function sce(e){return arguments.length?this.property(`__data__`,e):this.node().__data__}function cce(e){return function(t){e.call(this,t,this.__data__)}}function lce(e){return e.trim().split(/^|\\s+/).map(function(e){var t=``,n=e.indexOf(`.`);return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function uce(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,a;n<i;++n)a=t[n],(!e.type||a.type===e.type)&&a.name===e.name?this.removeEventListener(a.type,a.listener,a.options):t[++r]=a;++r?t.length=r:delete this.__on}}}function dce(e,t,n){return function(){var r=this.__on,i,a=cce(t);if(r){for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),i.value=t;return}}this.addEventListener(e.type,a,n),i={type:e.type,name:e.name,value:t,listener:a,options:n},r?r.push(i):this.__on=[i]}}function fce(e,t,n){var r=lce(e+``),i,a=r.length,o;if(arguments.length<2){var s=this.node().__on;if(s){for(var c=0,l=s.length,u;c<l;++c)for(i=0,u=s[c];i<a;++i)if((o=r[i]).type===u.type&&o.name===u.name)return u.value}return}for(s=t?dce:uce,i=0;i<a;++i)this.each(s(r[i],t,n));return this}function S8(e,t,n){var r=h8(e),i=r.CustomEvent;typeof i==`function`?i=new i(t,n):(i=r.document.createEvent(`Event`),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function pce(e,t){return function(){return S8(this,e,t)}}function mce(e,t){return function(){return S8(this,e,t.apply(this,arguments))}}function hce(e,t){return this.each((typeof t==`function`?mce:pce)(e,t))}function*gce(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length,o;i<a;++i)(o=r[i])&&(yield o)}var C8=[null];function w8(e,t){this._groups=e,this._parents=t}function T8(){return new w8([[document.documentElement]],C8)}function _ce(){return this}w8.prototype=T8.prototype={constructor:w8,select:Uoe,selectAll:qoe,selectChild:Zoe,selectChildren:tse,filter:nse,data:cse,enter:rse,exit:use,join:dse,merge:fse,selection:_ce,order:pse,sort:mse,call:gse,nodes:_se,node:vse,size:yse,empty:bse,each:xse,attr:Ose,style:Mse,property:Ise,classed:Bse,text:Wse,html:Jse,raise:Xse,lower:Qse,append:$se,insert:tce,remove:rce,clone:oce,datum:sce,on:fce,dispatch:hce,[Symbol.iterator]:gce};function E8(e){return typeof e==`string`?new w8([[document.querySelector(e)]],[document.documentElement]):new w8([[e]],C8)}var D8=0,O8=0,k8=0,A8=1e3,j8,M8,N8=0,P8=0,F8=0,I8=typeof performance==`object`&&performance.now?performance:Date,L8=typeof window==`object`&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function R8(){return P8||=(L8(vce),I8.now()+F8)}function vce(){P8=0}function z8(){this._call=this._time=this._next=null}z8.prototype=B8.prototype={constructor:z8,restart:function(e,t,n){if(typeof e!=`function`)throw TypeError(`callback is not a function`);n=(n==null?R8():+n)+(t==null?0:+t),!this._next&&M8!==this&&(M8?M8._next=this:j8=this,M8=this),this._call=e,this._time=n,H8()},stop:function(){this._call&&(this._call=null,this._time=1/0,H8())}};function B8(e,t,n){var r=new z8;return r.restart(e,t,n),r}function yce(){R8(),++D8;for(var e=j8,t;e;)(t=P8-e._time)>=0&&e._call.call(void 0,t),e=e._next;--D8}function V8(){P8=(N8=I8.now())+F8,D8=O8=0;try{yce()}finally{D8=0,xce(),P8=0}}function bce(){var e=I8.now(),t=e-N8;t>A8&&(F8-=t,N8=e)}function xce(){for(var e,t=j8,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:j8=n);M8=e,H8(r)}function H8(e){D8||(O8&&=clearTimeout(O8),e-P8>24?(e<1/0&&(O8=setTimeout(V8,e-I8.now()-F8)),k8&&=clearInterval(k8)):(k8||=(N8=I8.now(),setInterval(bce,A8)),D8=1,L8(V8)))}function U8(e,t,n){var r=new z8;return t=t==null?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}var Sce=r8(`start`,`end`,`cancel`,`interrupt`),Cce=[];function W8(e,t,n,r,i,a){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;wce(e,n,{name:t,index:r,group:i,on:Sce,tween:Cce,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function G8(e,t){var n=q8(e,t);if(n.state>0)throw Error(`too late; already scheduled`);return n}function K8(e,t){var n=q8(e,t);if(n.state>3)throw Error(`too late; already running`);return n}function q8(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error(`transition not found`);return n}function wce(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=B8(a,0,n.time);function a(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(a){var l,u,d,f;if(n.state!==1)return c();for(l in r)if(f=r[l],f.name===n.name){if(f.state===3)return U8(o);f.state===4?(f.state=6,f.timer.stop(),f.on.call(`interrupt`,e,e.__data__,f.index,f.group),delete r[l]):+l<t&&(f.state=6,f.timer.stop(),f.on.call(`cancel`,e,e.__data__,f.index,f.group),delete r[l])}if(U8(function(){n.state===3&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(a))}),n.state=2,n.on.call(`start`,e,e.__data__,n.index,n.group),n.state===2){for(n.state=3,i=Array(d=n.tween.length),l=0,u=-1;l<d;++l)(f=n.tween[l].value.call(e,e.__data__,n.index,n.group))&&(i[++u]=f);i.length=u+1}}function s(t){for(var r=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(c),n.state=5,1),a=-1,o=i.length;++a<o;)i[a].call(e,r);n.state===5&&(n.on.call(`end`,e,e.__data__,n.index,n.group),c())}function c(){for(var i in n.state=6,n.timer.stop(),delete r[t],r)return;delete e.__transition}}function Tce(e,t){var n=e.__transition,r,i,a=!0,o;if(n){for(o in t=t==null?null:t+``,n){if((r=n[o]).name!==t){a=!1;continue}i=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?`interrupt`:`cancel`,e,e.__data__,r.index,r.group),delete n[o]}a&&delete e.__transition}}function Ece(e){return this.each(function(){Tce(this,e)})}function Dce(e,t){var n,r;return function(){var i=K8(this,e),a=i.tween;if(a!==n){r=n=a;for(var o=0,s=r.length;o<s;++o)if(r[o].name===t){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function Oce(e,t,n){var r,i;if(typeof n!=`function`)throw Error();return function(){var a=K8(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var s={name:t,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===t){i[c]=s;break}c===l&&i.push(s)}a.tween=i}}function kce(e,t){var n=this._id;if(e+=``,arguments.length<2){for(var r=q8(this.node(),n).tween,i=0,a=r.length,o;i<a;++i)if((o=r[i]).name===e)return o.value;return null}return this.each((t==null?Dce:Oce)(n,e,t))}function J8(e,t,n){var r=e._id;return e.each(function(){var e=K8(this,r);(e.value||={})[t]=n.apply(this,arguments)}),function(e){return q8(e,r).value[t]}}function Y8(e,t){var n;return(typeof t==`number`?KN:t instanceof _N?VN:(n=_N(t))?(t=n,VN):QN)(e,t)}function Ace(e){return function(){this.removeAttribute(e)}}function jce(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Mce(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttribute(e);return o===i?null:o===r?a:a=t(r=o,n)}}function Nce(e,t,n){var r,i=n+``,a;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?a:a=t(r=o,n)}}function Pce(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttribute(e):(o=this.getAttribute(e),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Fce(e,t,n){var r,i,a;return function(){var o,s=n(this),c;return s==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),c=s+``,o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s)))}}function Ice(e,t){var n=s8(e),r=n===`transform`?lP:Y8;return this.attrTween(e,typeof t==`function`?(n.local?Fce:Pce)(n,r,J8(this,`attr.`+e,t)):t==null?(n.local?jce:Ace)(n):(n.local?Nce:Mce)(n,r,t))}function Lce(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function Rce(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function zce(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Rce(e,i)),n}return i._value=t,i}function Bce(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&Lce(e,i)),n}return i._value=t,i}function Vce(e,t){var n=`attr.`+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!=`function`)throw Error();var r=s8(e);return this.tween(n,(r.local?zce:Bce)(r,t))}function Hce(e,t){return function(){G8(this,e).delay=+t.apply(this,arguments)}}function Uce(e,t){return t=+t,function(){G8(this,e).delay=t}}function Wce(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Hce:Uce)(t,e)):q8(this.node(),t).delay}function Gce(e,t){return function(){K8(this,e).duration=+t.apply(this,arguments)}}function Kce(e,t){return t=+t,function(){K8(this,e).duration=t}}function qce(e){var t=this._id;return arguments.length?this.each((typeof e==`function`?Gce:Kce)(t,e)):q8(this.node(),t).duration}function Jce(e,t){if(typeof t!=`function`)throw Error();return function(){K8(this,e).ease=t}}function Yce(e){var t=this._id;return arguments.length?this.each(Jce(t,e)):q8(this.node(),t).ease}function Xce(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!=`function`)throw Error();K8(this,e).ease=n}}function Zce(e){if(typeof e!=`function`)throw Error();return this.each(Xce(this._id,e))}function Qce(e){typeof e!=`function`&&(e=d8(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a=t[i],o=a.length,s=r[i]=[],c,l=0;l<o;++l)(c=a[l])&&e.call(c,c.__data__,l,a)&&s.push(c);return new Z8(r,this._parents,this._name,this._id)}function $ce(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=Array(r),s=0;s<a;++s)for(var c=t[s],l=n[s],u=c.length,d=o[s]=Array(u),f,p=0;p<u;++p)(f=c[p]||l[p])&&(d[p]=f);for(;s<r;++s)o[s]=t[s];return new Z8(o,this._parents,this._name,this._id)}function ele(e){return(e+``).trim().split(/^|\\s+/).every(function(e){var t=e.indexOf(`.`);return t>=0&&(e=e.slice(0,t)),!e||e===`start`})}function tle(e,t,n){var r,i,a=ele(t)?G8:K8;return function(){var o=a(this,e),s=o.on;s!==r&&(i=(r=s).copy()).on(t,n),o.on=i}}function nle(e,t){var n=this._id;return arguments.length<2?q8(this.node(),n).on.on(e):this.each(tle(n,e,t))}function rle(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function ile(){return this.on(`end.remove`,rle(this._id))}function ale(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=l8(e));for(var r=this._groups,i=r.length,a=Array(i),o=0;o<i;++o)for(var s=r[o],c=s.length,l=a[o]=Array(c),u,d,f=0;f<c;++f)(u=s[f])&&(d=e.call(u,u.__data__,f,s))&&(`__data__`in u&&(d.__data__=u.__data__),l[f]=d,W8(l[f],t,n,f,l,q8(u,n)));return new Z8(a,this._parents,t,n)}function ole(e){var t=this._name,n=this._id;typeof e!=`function`&&(e=u8(e));for(var r=this._groups,i=r.length,a=[],o=[],s=0;s<i;++s)for(var c=r[s],l=c.length,u,d=0;d<l;++d)if(u=c[d]){for(var f=e.call(u,u.__data__,d,c),p,m=q8(u,n),h=0,g=f.length;h<g;++h)(p=f[h])&&W8(p,t,n,h,f,m);a.push(f),o.push(u)}return new Z8(a,o,t,n)}var sle=T8.prototype.constructor;function cle(){return new sle(this._groups,this._parents)}function lle(e,t){var n,r,i;return function(){var a=g8(this,e),o=(this.style.removeProperty(e),g8(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}function X8(e){return function(){this.style.removeProperty(e)}}function ule(e,t,n){var r,i=n+``,a;return function(){var o=g8(this,e);return o===i?null:o===r?a:a=t(r=o,n)}}function dle(e,t,n){var r,i,a;return function(){var o=g8(this,e),s=n(this),c=s+``;return s??(c=s=(this.style.removeProperty(e),g8(this,e))),o===c?null:o===r&&c===i?a:(i=c,a=t(r=o,s))}}function fle(e,t){var n,r,i,a=`style.`+t,o=`end.`+a,s;return function(){var c=K8(this,e),l=c.on,u=c.value[a]==null?s||=X8(t):void 0;(l!==n||i!==u)&&(r=(n=l).copy()).on(o,i=u),c.on=r}}function ple(e,t,n){var r=(e+=``)==`transform`?cP:Y8;return t==null?this.styleTween(e,lle(e,r)).on(`end.style.`+e,X8(e)):typeof t==`function`?this.styleTween(e,dle(e,r,J8(this,`style.`+e,t))).each(fle(this._id,e)):this.styleTween(e,ule(e,r,t),n).on(`end.style.`+e,null)}function mle(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function hle(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&mle(e,a,n)),r}return a._value=t,a}function gle(e,t,n){var r=`style.`+(e+=``);if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!=`function`)throw Error();return this.tween(r,hle(e,t,n??``))}function _le(e){return function(){this.textContent=e}}function vle(e){return function(){var t=e(this);this.textContent=t??``}}function yle(e){return this.tween(`text`,typeof e==`function`?vle(J8(this,`text`,e)):_le(e==null?``:e+``))}function ble(e){return function(t){this.textContent=e.call(this,t)}}function xle(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&ble(r)),t}return r._value=e,r}function Sle(e){var t=`text`;if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!=`function`)throw Error();return this.tween(t,xle(e))}function Cle(){for(var e=this._name,t=this._id,n=Q8(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)if(c=o[l]){var u=q8(c,t);W8(c,e,n,l,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Z8(r,this._parents,e,n)}function wle(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,o){var s={value:o},c={value:function(){--i===0&&a()}};n.each(function(){var n=K8(this,r),i=n.on;i!==e&&(t=(e=i).copy(),t._.cancel.push(s),t._.interrupt.push(s),t._.end.push(c)),n.on=t}),i===0&&a()})}var Tle=0;function Z8(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Ele(e){return T8().transition(e)}function Q8(){return++Tle}var $8=T8.prototype;Z8.prototype=Ele.prototype={constructor:Z8,select:ale,selectAll:ole,selectChild:$8.selectChild,selectChildren:$8.selectChildren,filter:Qce,merge:$ce,selection:cle,transition:Cle,call:$8.call,nodes:$8.nodes,node:$8.node,size:$8.size,empty:$8.empty,each:$8.each,on:nle,attr:Ice,attrTween:Vce,style:ple,styleTween:gle,text:yle,textTween:Sle,remove:ile,tween:kce,delay:Wce,duration:qce,ease:Yce,easeVarying:Zce,end:wle,[Symbol.iterator]:$8[Symbol.iterator]};function Dle(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var Ole={time:null,delay:0,duration:250,ease:Dle};function kle(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}function Ale(e){var t,n;e instanceof Z8?(t=e._id,e=e._name):(t=Q8(),(n=Ole).time=R8(),e=e==null?null:e+``);for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o=r[a],s=o.length,c,l=0;l<s;++l)(c=o[l])&&W8(c,e,t,l,o,n||kle(c,t));return new Z8(r,this._parents,e,t)}T8.prototype.interrupt=Ece,T8.prototype.transition=Ale;var{abs:jle,max:Mle,min:Nle}=Math;[`w`,`e`].map(e5),[`n`,`s`].map(e5),[`n`,`w`,`e`,`s`,`nw`,`ne`,`sw`,`se`].map(e5);function e5(e){return{type:e}}function t5(e,t,n){this.k=e,this.x=t,this.y=n}t5.prototype={constructor:t5,scale:function(e){return e===1?this:new t5(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new t5(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return`translate(`+this.x+`,`+this.y+`) scale(`+this.k+`)`}};var Ple=new t5(1,0,0);Fle.prototype=t5.prototype;function Fle(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Ple;return e.__zoom}function n5(e){return e?Array.isArray(e)?e[0]:e:``}function r5(e){return typeof e==`string`?parseFloat(e):e||0}function i5(e){return typeof e==`string`?parseFloat(e):e}function Ile(e,t,n,r){let i=n5(t.xAxis),a=n5(t.yAxis),o=Array.isArray(t.series)?t.series[0]:t.series,s=v6(n,i),c=e=>_6(e[i],s)||String(e[i])||`Unknown`;if(!o)return{treemapData:e.map((e,t)=>({name:c(e),size:r5(e[a]),fill:r?.colors&&r.colors[t%r.colors.length]||E6[t%E6.length]})),isNumericSeries:!1,seriesField:o};let l=e.map(e=>i5(e[o])).filter(e=>!isNaN(e)),u=l.length===e.length&&l.every(e=>typeof e==`number`);if(u){let t=xF().domain([Math.min(...l),Math.max(...l)]).range(D6);return{treemapData:e.map(e=>({name:c(e),size:r5(e[a]),fill:t(i5(e[o])),series:String(e[o])})),isNumericSeries:u,seriesField:o}}let d=[...new Set(e.map(e=>String(e[o])))],f=qM().domain(d).range(r?.colors||E6);return{treemapData:e.map(e=>({name:c(e),size:r5(e[a]),fill:f(String(e[o])),series:String(e[o])})),isNumericSeries:u,seriesField:o}}function Lle(e){return typeof e==`boolean`?e?`Active`:`Inactive`:e===`true`||e===`false`?e===`true`?`Active`:`Inactive`:String(e)}function Rle(e,t){let n=e[0],r=Object.keys(n),i=r.find(e=>typeof n[e]==`string`||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`label`)||e.toLowerCase().includes(`category`))||r[0],a=r.find(e=>e.toLowerCase().includes(`size`))||r.find(e=>typeof n[e]==`number`&&e!==i)||r[1];return a?{treemapData:e.map((e,n)=>({name:Lle(e[i]),size:r5(e[a]),fill:t?.colors&&t.colors[n%t.colors.length]||E6[n%E6.length]})),isNumericSeries:!1,seriesField:void 0}:null}function zle(e,t,n,r){let i=t?.xAxis&&t?.yAxis?Ile(e,t,n,r):Rle(e,r);return i?{...i,treemapData:i.treemapData.filter(e=>e.size!=null&&e.size>0)}:null}function a5(e,t){let n=e.map(e=>i5(e[t]));return{min:Math.min(...n),max:Math.max(...n)}}function o5(e,t){return t?g6(e,t):e.toFixed(2)}function Ble(e,t,n,r,i,a){if(!n||!r)return[];if(i){let{min:t,max:n}=a5(e,r);return D6.map((e,r)=>{let i=r/(D6.length-1);return{value:o5(t+(n-t)*i,a),type:`rect`,color:e}})}let o=[...new Set(t.map(e=>e.series).filter(Boolean))];return o.length>1?o.map((e,t)=>({value:e,type:`rect`,color:E6[t%E6.length]})):[]}function Vle(e,t){return!t||typeof e==`string`&&e.includes(`%`)?e:typeof e==`number`?e+60:`calc(${e} + 60px)`}function Hle(e,t){return e===null?.8:e===t?1:.6}function Ule(e,t){return t?g6(e,t):typeof e==`number`?e.toLocaleString():String(e)}function Wle({treemapData:e,colorPalette:t,hoveredIndex:n,setHoveredIndex:r,leftYAxisFormat:i,drillEnabled:a,onDataPointClick:o,queryObject:s,chartConfig:c}){return function(l){let{x:u,y:d,width:f,height:p,index:m,name:h,size:g}=l;return f<20||p<20?null:(0,q.jsxs)(`g`,{children:[(0,q.jsx)(`rect`,{x:u,y:d,width:f,height:p,style:{fill:e[m]?.fill||t?.colors&&t.colors[m%t.colors.length]||E6[m%E6.length],fillOpacity:Hle(n,m),stroke:`#fff`,strokeWidth:2,cursor:a?`pointer`:`default`,pointerEvents:`all`},onMouseEnter:()=>r(m),onMouseLeave:()=>r(null),onClick:a&&o?t=>{t.stopPropagation();let n=e[m];n&&o&&o({dataPoint:n,clickedField:s?.measures?.[0]||c?.yAxis?.[0]||``,xValue:h,position:{x:t.clientX,y:t.clientY},nativeEvent:t})}:void 0}),(0,q.jsx)(`foreignObject`,{x:u,y:d,width:f,height:p,style:{pointerEvents:`none`,overflow:`visible`},children:(0,q.jsxs)(`div`,{style:{width:`100%`,height:`100%`,display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,padding:`4px`,boxSizing:`border-box`,color:`#ffffff`,textShadow:`0 1px 2px rgba(0,0,0,0.8)`,fontFamily:`system-ui, -apple-system, sans-serif`,overflow:`hidden`},children:[f>40&&p>30&&(0,q.jsx)(`div`,{style:{fontSize:`${Math.max(10,Math.min(f/8,p/8,16))}px`,fontWeight:`600`,textAlign:`center`,lineHeight:`1.2`,marginBottom:f>60&&p>45?`4px`:`0`,wordBreak:`break-word`,hyphens:`auto`},children:h}),f>60&&p>45&&(0,q.jsx)(`div`,{style:{fontSize:`${Math.max(8,Math.min(f/10,p/10,14))}px`,textAlign:`center`,opacity:.9},children:Ule(g,i)})]})})]})}}function Gle({seriesLabel:e,data:t,seriesField:n,leftYAxisFormat:r}){let{min:i,max:a}=a5(t,n);return(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-xs dc:font-semibold text-dc-text-primary dc:mb-2`,children:e}),(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-2`,children:[(0,q.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:o5(i,r)}),(0,q.jsx)(`div`,{className:`dc:h-4 dc:rounded-sm`,style:{width:`200px`,background:`linear-gradient(to right, ${D6.join(`, `)})`}}),(0,q.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:o5(a,r)})]})]})}function Kle({legendPayload:e}){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-wrap dc:justify-center dc:gap-4`,children:e.map((e,t)=>(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-2`,children:[(0,q.jsx)(`div`,{className:`dc:w-3 dc:h-3 rounded-xs`,style:{backgroundColor:e.color}}),(0,q.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:e.value})]},t))})}function qle({isNumericSeries:e,seriesField:t,seriesLabel:n,legendPayload:r,data:i,leftYAxisFormat:a}){return(0,q.jsx)(`div`,{className:`dc:flex dc:justify-center dc:items-center dc:mt-4 dc:pb-2`,children:e&&t?(0,q.jsx)(Gle,{seriesLabel:n,data:i,seriesField:t,leftYAxisFormat:a}):(0,q.jsx)(Kle,{legendPayload:r})})}var Jle=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=qv(),[l,u]=(0,z.useState)(null),d=z6();try{let f={showTooltip:n?.showTooltip??!0,showLegend:n?.showLegend??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,q.jsx)(S6,{height:i,hint:c(`chart.runtime.noDataHint.treemap`)});let p=zle(e,t,r,a);if(!p)return(0,q.jsx)(C6,{height:i,hint:c(`chart.runtime.configErrorHint.treemapNumeric`)});let{treemapData:m,isNumericSeries:h,seriesField:g}=p;if(m.length===0)return(0,q.jsx)(S6,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for treemap chart after transformation`});let _=Wle({treemapData:m,colorPalette:a,hoveredIndex:l,setHoveredIndex:u,leftYAxisFormat:f.leftYAxisFormat,drillEnabled:s,onDataPointClick:o,queryObject:r,chartConfig:t}),v=Ble(e,m,f.showLegend,g,h,f.leftYAxisFormat),y=f.showLegend&&v.length>0;return(0,q.jsxs)(`div`,{className:`dc:w-full`,style:{height:Vle(i,y)},children:[(0,q.jsx)(d6,{height:y?`calc(100% - 50px)`:`100%`,children:(0,q.jsx)(N3,{data:m,dataKey:`size`,aspectRatio:4/3,stroke:`#fff`,content:(0,q.jsx)(_,{}),children:f.showTooltip&&(0,q.jsx)(b6,{formatter:f.leftYAxisFormat?(e,t)=>[g6(e,f.leftYAxisFormat),t]:void 0})})}),y&&(0,q.jsx)(qle,{isNumericSeries:h,seriesField:g,seriesLabel:g?d(g):``,legendPayload:v,data:e,leftYAxisFormat:f.leftYAxisFormat})]})}catch(e){return(0,q.jsx)(w6,{height:i,chartType:`TreeMap Chart`,error:e})}});function Yle(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var s5=Object.freeze({left:0,top:0,width:16,height:16}),c5=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),l5=Object.freeze({...s5,...c5}),u5=Object.freeze({...l5,body:``,hidden:!1});function Xle(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function d5(e,t){let n=Xle(e,t);for(let r in u5)r in c5?r in e&&!(r in n)&&(n[r]=c5[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Zle(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=d5(r[e]||i[e],a)}return o(t),n.forEach(o),d5(e,a)}function f5(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=Yle(e);for(let i in r){let a=r[i];a&&(t(i,Zle(e,i,a)),n.push(i))}return n}var Qle={provider:``,aliases:{},not_found:{},...s5};function p5(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function m5(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!p5(e,Qle))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!p5(t,u5))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!p5(t,u5))return null}return t}var h5=Object.create(null);function $le(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function g5(e,t){let n=h5[e]||(h5[e]=Object.create(null));return n[t]||(n[t]=$le(e,t))}function _5(e,t){return m5(t)?f5(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function eue(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var v5=/^[a-z0-9]+(-[a-z0-9]+)*$/,y5=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!b5(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!b5(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!b5(e,n)?null:e}return null},b5=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1,x5=!1;function S5(e){return typeof e==`boolean`&&(x5=e),x5}function C5(e){let t=typeof e==`string`?y5(e,!0,x5):e;if(t){let e=g5(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function tue(e,t){let n=y5(e,!0,x5);if(!n)return!1;let r=g5(n.provider,n.prefix);return t?eue(r,n.name,t):(r.missing.add(n.name),!0)}function nue(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),x5&&!t&&!e.prefix){let t=!1;return m5(e)&&(e.prefix=``,f5(e,(e,n)=>{tue(e,n)&&(t=!0)})),t}let n=e.prefix;return b5({prefix:n,name:`a`})?!!_5(g5(t,n),e):!1}var w5=Object.freeze({width:null,height:null}),T5=Object.freeze({...w5,...c5}),rue=/(-?[0-9.]*[0-9]+[0-9.]*)/g,iue=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function E5(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(rue);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=iue.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function aue(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function oue(e,t){return e?`<defs>`+e+`</defs>`+t:t}function sue(e,t,n){let r=aue(e);return oue(r.defs,t+r.content+n)}var cue=e=>e===`unset`||e===`undefined`||e===`none`;function lue(e,t){let n={...l5,...e},r={...T5,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=sue(a,`<g transform=\"`+t.join(` `)+`\">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=E5(d,c/l)):(u=o===`auto`?c:o,d=s===null?E5(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{cue(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var uue=/\\sid=\"(\\S+)\"/g,due=`IconifyId`+Date.now().toString(16)+(Math.random()*16777216|0).toString(16),fue=0;function pue(e,t=due){let n=[],r;for(;r=uue.exec(e);)n.push(r[1]);if(!n.length)return e;let i=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(n=>{let r=typeof t==`function`?t(n):t+(fue++).toString(),a=n.replace(/[.*+?^${}()|[\\]\\\\]/g,`\\\\$&`);e=e.replace(RegExp(`([#;\"])(`+a+`)([\")]|\\\\.[a-z])`,`g`),`$1`+r+i+`$3`)}),e=e.replace(new RegExp(i,`g`),``),e}var D5=Object.create(null);function mue(e,t){D5[e]=t}function O5(e){return D5[e]||D5[``]}function k5(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var A5=Object.create(null),j5=[`https://api.simplesvg.com`,`https://api.unisvg.com`],M5=[];j5.length>0;)j5.length===1||Math.random()>.5?M5.push(j5.shift()):M5.push(j5.pop());A5[``]=k5({resources:[`https://api.iconify.design`].concat(M5)});function hue(e,t){let n=k5(t);return n===null?!1:(A5[e]=n,!0)}function N5(e){return A5[e]}var P5=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function gue(e,t){let n=N5(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function _ue(e){return e===404}var vue=(e,t,n)=>{let r=[],i=gue(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function yue(e){if(typeof e==`string`){let t=N5(e);if(t)return t.path}return`/`}var bue={prepare:vue,send:(e,t,n)=>{if(!P5){n(`abort`,424);return}let r=yue(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;P5(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(_ue(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function F5(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function xue(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||F5([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var Sue=0;function Cue(e,t,n){let r=Sue++,i=F5.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function wue(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=g5(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function Tue(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?y5(e,t,n):e;i&&r.push(i)}),r}var Eue={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Due(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?x():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function I5(e){let t={...Eue,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=Due(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function L5(){}var R5=Object.create(null);function Oue(e){if(!R5[e]){let t=N5(e);if(!t)return;R5[e]={config:t,redundancy:I5(t)}}return R5[e]}function kue(e,t,n){let r,i;if(typeof e==`string`){let t=O5(e);if(!t)return n(void 0,424),L5;i=t.send;let a=Oue(e);a&&(r=a.redundancy)}else{let t=k5(e);if(t){r=I5(t);let n=O5(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),L5):r.query(t,i,n)().abort}function z5(){}function Aue(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,xue(e)}))}function jue(e){let t=[],n=[];return e.forEach(e=>{(e.match(v5)?t:n).push(e)}),{valid:t,invalid:n}}function B5(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!_5(e,n).length){r();return}}catch(e){console.error(e)}r(),Aue(e)}function V5(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function Mue(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){V5(e.loadIcons(r,n,t),t=>{B5(e,r,t)});return}if(i){r.forEach(r=>{V5(i(r,n,t),t=>{B5(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=jue(r);if(o.length&&B5(e,o,null),!a.length)return;let s=n.match(v5)?O5(t):null;if(!s){B5(e,a,null);return}s.prepare(t,n,a).forEach(n=>{kue(t,n,t=>{B5(e,n.icons,t)})})}))}var Nue=(e,t)=>{let n=wue(Tue(e,!0,S5()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,z5)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(g5(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=g5(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&Mue(e,t)}),t?Cue(t,n,i):z5};function Pue(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in w5?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var Fue=/[\\s,]+/;function Iue(e,t){t.split(Fue).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0;break}})}function Lue(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}else if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function Rue(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink=\"http://www.w3.org/1999/xlink\"`;for(let e in t)n+=` `+e+`=\"`+t[e]+`\"`;return`<svg xmlns=\"http://www.w3.org/2000/svg\"`+n+`>`+e+`</svg>`}function zue(e){return e.replace(/\"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\\s+/g,` `)}function Bue(e){return`data:image/svg+xml,`+zue(e)}function Vue(e){return`url(\"`+Bue(e)+`\")`}var H5;function Hue(){try{H5=window.trustedTypes.createPolicy(`iconify`,{createHTML:e=>e})}catch{H5=null}}function Uue(e){return H5===void 0&&Hue(),H5?H5.createHTML(e):e}var U5={...T5,inline:!1},Wue={xmlns:`http://www.w3.org/2000/svg`,xmlnsXlink:`http://www.w3.org/1999/xlink`,\"aria-hidden\":!0,role:`img`},Gue={display:`inline-block`},W5={backgroundColor:`currentColor`},G5={backgroundColor:`transparent`},K5={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},q5={WebkitMask:W5,mask:W5,background:G5};for(let e in q5){let t=q5[e];for(let n in K5)t[e+n]=K5[n]}var Kue={...U5,inline:!0};function J5(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var que=(e,t,n)=>{let r=t.inline?Kue:U5,i=Pue(r,t),a=t.mode||`svg`,o={},s=t.style||{},c={...a===`svg`?Wue:{}};if(n){let e=y5(n,!1,!0);if(e){let t=[`iconify`];for(let n of[`provider`,`prefix`])e[n]&&t.push(`iconify--`+e[n]);c.className=t.join(` `)}}for(let e in t){let n=t[e];if(n!==void 0)switch(e){case`icon`:case`style`:case`children`:case`onLoad`:case`mode`:case`ssr`:case`fallback`:break;case`_ref`:c.ref=n;break;case`className`:c[e]=(c[e]?c[e]+` `:``)+n;break;case`inline`:case`hFlip`:case`vFlip`:i[e]=n===!0||n===`true`||n===1;break;case`flip`:typeof n==`string`&&Iue(i,n);break;case`color`:o.color=n;break;case`rotate`:typeof n==`string`?i[e]=Lue(n):typeof n==`number`&&(i[e]=n);break;case`ariaHidden`:case`aria-hidden`:n!==!0&&n!==`true`&&delete c[`aria-hidden`];break;default:r[e]===void 0&&(c[e]=n)}}let l=lue(e,i),u=l.attributes;if(i.inline&&(o.verticalAlign=`-0.125em`),a===`svg`){c.style={...o,...s},Object.assign(c,u);let e=0,n=t.id;return typeof n==`string`&&(n=n.replace(/-/g,`_`)),c.dangerouslySetInnerHTML={__html:Uue(pue(l.body,n?()=>n+`ID`+ e++:`iconifyReact`))},(0,z.createElement)(`svg`,c)}let{body:d,width:f,height:p}=e,m=a===`mask`||(a===`bg`?!1:d.indexOf(`currentColor`)!==-1),h=Rue(d,{...u,width:f+``,height:p+``});return c.style={...o,\"--svg\":Vue(h),width:J5(u.width),height:J5(u.height),...Gue,...m?W5:G5,...s},(0,z.createElement)(`span`,c)};if(S5(!0),mue(``,bue),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!nue(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;hue(e,r)||console.error(n)}catch{console.error(n)}}}}function Y5(e){let[t,n]=(0,z.useState)(!!e.ssr),[r,i]=(0,z.useState)({});function a(t){if(t){let t=e.icon;if(typeof t==`object`)return{name:``,data:t};let n=C5(t);if(n)return{name:t,data:n}}return{name:``}}let[o,s]=(0,z.useState)(a(!!e.ssr));function c(){let e=r.callback;e&&(e(),i({}))}function l(e){if(JSON.stringify(o)!==JSON.stringify(e))return c(),s(e),!0}function u(){var t;let n=e.icon;if(typeof n==`object`){l({name:``,data:n});return}let r=C5(n);l({name:n,data:r})&&(r===void 0?i({callback:Nue([n],u)}):r&&((t=e.onLoad)==null||t.call(e,n)))}(0,z.useEffect)(()=>(n(!0),c),[]),(0,z.useEffect)(()=>{t&&u()},[e.icon,t]);let{name:d,data:f}=o;return f?que({...l5,...f},e,d):e.children?e.children:e.fallback?e.fallback:(0,z.createElement)(`span`,{})}var X5=(0,z.forwardRef)((e,t)=>Y5({...e,_ref:t}));(0,z.forwardRef)((e,t)=>Y5({inline:!0,...e,_ref:t}));var Z5={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 12a9 9 0 1 0 18 0a9 9 0 0 0-18 0m9-3h.01\"/><path d=\"M11 12h1v4h1\"/></g>`};function Jue(e,t,n,r){let i=Array(r).fill(0),a=n-t;e.forEach(e=>{if(a===0)i[Math.floor(r/2)]++;else{let n=Math.floor((e-t)/a*(r-1));n=Math.max(0,Math.min(r-1,n)),i[n]++}});let o=Math.max(...i),s=e.reduce((e,t)=>e+t,0)/e.length;return{buckets:i,range:a,maxBucketCount:o,average:s,averagePosition:a===0?50:(s-t)/a*100}}function Q5({position:e,clamp:t=!1,color:n,zIndex:r,title:i}){return(0,q.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:bottom-0 dc:pointer-events-none`,style:{left:`${t?Math.max(0,Math.min(100,e)):e}%`,transform:`translateX(-50%)`,width:`2px`,backgroundColor:n,opacity:.8,zIndex:r},title:i,children:(0,q.jsx)(`div`,{className:`dc:absolute dc:-top-1`,style:{left:`50%`,transform:`translateX(-50%)`,width:`0`,height:`0`,borderLeft:`4px solid transparent`,borderRight:`4px solid transparent`,borderTop:`6px solid ${n}`}})})}function $5({values:e,min:t,max:n,color:r=`#1f2937`,bucketCount:i=12,height:a=32,formatValue:o=e=>e.toString(),width:s,showAverageIndicator:c=!0,targetValue:l}){let{t:u}=qv(),{buckets:d,range:f,maxBucketCount:p,average:m,averagePosition:h}=Jue(e,t,n,i),g=l!==void 0&&f>0?(l-t)/f*100:null,_={width:s?`${s}px`:`200px`,minWidth:`200px`};return(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center`,children:[(0,q.jsxs)(`div`,{className:`dc:relative dc:flex dc:items-end dc:justify-center dc:space-x-0.5`,style:{height:`${a}px`,..._},children:[d.map((e,t)=>{let n=p>0?e/p:0,i=.1;return(0,q.jsx)(`div`,{className:`dc:flex-1 dc:rounded-t-sm dc:transition-all dc:duration-300 dc:ease-out`,style:{height:`${(e>0?Math.max(i,n):i)*a}px`,backgroundColor:r,opacity:e>0?.7+n*.3:.2},title:`${e} values in this range`},t)}),c&&(0,q.jsx)(Q5,{position:h,color:`#ef4444`,zIndex:10,title:`Average: ${o(m)}`}),g!==null&&l!==void 0&&(0,q.jsx)(Q5,{position:g,clamp:!0,color:`#10b981`,zIndex:11,title:`Target: ${o(l)}`})]}),(0,q.jsxs)(`div`,{className:`dc:flex dc:justify-between dc:mt-2 dc:text-xs text-dc-text-muted`,style:_,children:[(0,q.jsx)(`span`,{children:o(t)}),(0,q.jsx)(`span`,{children:o(n)})]}),(0,q.jsx)(`div`,{className:`dc:text-center dc:mt-1 dc:text-xs text-dc-text-muted`,children:u(`dataHistogram.average`,{count:e.length})})]})}function Yue(e,t){let n=new Date(e);switch(t.toLowerCase()){case`day`:n.setHours(23,59,59,999);break;case`week`:{let e=6-n.getDay();n.setDate(n.getDate()+e),n.setHours(23,59,59,999);break}case`month`:n.setMonth(n.getMonth()+1,0),n.setHours(23,59,59,999);break;case`quarter`:{let e=n.getMonth(),t=Math.floor(e/3)*3+2;n.setMonth(t+1,0),n.setHours(23,59,59,999);break}case`year`:n.setMonth(11,31),n.setHours(23,59,59,999);break;default:n.setHours(23,59,59,999)}return n}function Xue(e,t,n){if(!e||!t||!n)return!0;let r=e[t];if(!r)return!0;let i=new Date(r);return isNaN(i.getTime())?!0:Yue(i,n)<=new Date}function Zue(e,t){if(!e?.timeDimensions||e.timeDimensions.length===0)return null;if(t){let n=e.timeDimensions.find(e=>e.dimension===t||e.dimension?.includes(t)||t?.includes(e.dimension));if(n?.granularity)return n.granularity}return e.timeDimensions[0]?.granularity||null}function e7(e,t,n,r,i=!1){let a={filteredData:e,excludedIncompletePeriod:!1,skippedLastPeriod:!1,granularity:null};if(e.length<2)return a;let o=Zue(n,t);if(i)return{filteredData:e.slice(0,-1),excludedIncompletePeriod:!1,skippedLastPeriod:!0,granularity:o};if(!r||!t||!n?.timeDimensions||n.timeDimensions.length===0)return{...a,granularity:o};if(!o)return a;let s=e[e.length-1];return Xue(s,t,o)?{...a,granularity:o}:{filteredData:e.slice(0,-1),excludedIncompletePeriod:!0,skippedLastPeriod:!1,granularity:o}}function Que(e){return e?typeof e==`string`?[e]:Array.isArray(e)?e:[]:[]}function $ue(e,t){if(!e||e.length===0)return[];let n=[...e];return t?n.sort((e,n)=>{let r=e[t],i=n[t];return r<i?-1:+(r>i)}):n}function ede(e,t){return!t||e.length===0?[]:e.map(e=>{if(e[t]!==void 0)return e[t];let n=Object.keys(e).filter(t=>typeof e[t]==`number`&&!isNaN(e[t]));if(n.length>0)return e[n[0]]}).filter(e=>e!=null&&!isNaN(Number(e))).map(e=>Number(e))}function tde(e){return e.length===0?{avg:0,min:0,max:0}:{avg:e.reduce((e,t)=>e+t,0)/e.length,min:Math.min(...e),max:Math.max(...e)}}function t7(e,t){if(t.formatValue)return t.formatValue(e);if(e==null)return`—`;let n=t.decimals??0,r=t.prefix??``,i;return i=Math.abs(e)>=1e9?(e/1e9).toFixed(n)+`B`:Math.abs(e)>=1e6?(e/1e6).toFixed(n)+`M`:Math.abs(e)>=1e3?(e/1e3).toFixed(n)+`K`:e.toFixed(n),r+i}function n7(e,t){return e&&e.length>1?e:t}function nde(e,t){return e!==void 0&&t&&e>=0&&e<t.length?t[e]:t?.[0]||`#1f2937`}function rde(e,t,n,r){return e===null?`#6B7280`:e>=0?r?.[t??1]||`#10B981`:r?.[n??7]||`#EF4444`}function r7({widthDivisor:e,heightDivisor:t,minFontSize:n,maxFontSize:r,measureWidth:i,deps:a}){let[o,s]=(0,z.useState)(32),[c,l]=(0,z.useState)(250),u=(0,z.useRef)(null),d=(0,z.useRef)(null);return(0,z.useEffect)(()=>{let a=()=>{if(!u.current)return;let a=u.current.getBoundingClientRect(),o=a.width,c=a.height;if(o<=0||c<=0)return;let f=o/e,p=c/t;s(Math.max(n,Math.min(Math.min(f,p),r))),setTimeout(()=>{if(d.current){let e=d.current.getBoundingClientRect().width;l(i(e,o))}},10)},o=setTimeout(a,50),c=new ResizeObserver(()=>{setTimeout(a,10)});return u.current&&c.observe(u.current),()=>{clearTimeout(o),c.disconnect()}},a),{containerRef:u,valueRef:d,fontSize:o,textWidth:c}}var ide={muted:{},danger:{backgroundColor:`var(--dc-danger-bg)`,color:`var(--dc-danger)`,borderColor:`var(--dc-danger-border)`},warning:{backgroundColor:`var(--dc-warning-bg)`,color:`var(--dc-warning)`,borderColor:`var(--dc-warning-border)`}};function i7(e){return{height:e===`100%`?`100%`:e,minHeight:e===`100%`?`200px`:void 0}}function a7({height:e,title:t,hint:n,variant:r=`muted`,children:i}){return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{...i7(e),...ide[r]},children:(0,q.jsxs)(`div`,{className:`dc:text-center${r===`muted`?` text-dc-text-muted`:``}`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:t}),n!=null&&(0,q.jsx)(`div`,{className:`dc:text-xs${r===`muted`?` text-dc-text-secondary`:``}`,children:n}),i]})})}var ade=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=qv(),s=z6(),c=(0,z.useMemo)(()=>Que(t?.yAxis),[t?.yAxis]),l=c[0]||``,u=r?.timeDimensions?.[0]?.dimension||void 0,d=(0,z.useMemo)(()=>$ue(e,u),[e,u]),{useLastCompletePeriod:f=!0,skipLastPeriod:p=!1}=n,{filteredData:m,excludedIncompletePeriod:h,skippedLastPeriod:g,granularity:_}=(0,z.useMemo)(()=>d.length===0?{filteredData:[],excludedIncompletePeriod:!1,skippedLastPeriod:!1,granularity:void 0}:e7(d,u,r,f,p),[d,u,r,f,p]),v=m,y=(0,z.useMemo)(()=>ede(v,l),[v,l]),{avg:b,min:x,max:S}=(0,z.useMemo)(()=>tde(y),[y]),C=(0,z.useCallback)(e=>t7(e,n),[n]),w=y.length===1?y[0]:b,T=y.length>1,E=(0,z.useMemo)(()=>nde(n.valueColorIndex,a?.colors),[n.valueColorIndex,a?.colors]),D=(0,z.useMemo)(()=>k6(n?.target||``),[n?.target]),O=D.length>0?D[0]:null,k=O!==null&&y.length>0?Kae(w,O):null,ee=(0,z.useMemo)(()=>rde(k,n.positiveColorIndex,n.negativeColorIndex,a?.colors),[k,n.positiveColorIndex,n.negativeColorIndex,a?.colors]),{containerRef:te,valueRef:ne,fontSize:A,textWidth:re}=r7({widthDivisor:5,heightDivisor:4,minFontSize:24,maxFontSize:120,measureWidth:(e,t)=>Math.max(e,Math.min(t*.6,300)),deps:[e,t]});return!e||e.length===0?(0,q.jsx)(a7,{height:i,title:o(`chart.runtime.noData`),hint:o(`chart.runtime.noDataHint.kpi`)}):c.length===0?(0,q.jsx)(a7,{height:i,variant:`danger`,title:o(`chart.runtime.configError`),hint:o(`chart.runtime.configErrorHint.noMeasures`)}):y.length===0?(0,q.jsxs)(`div`,{ref:te,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:i7(i),children:[(0,q.jsx)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-3`,style:{fontSize:`14px`,lineHeight:`1.2`},children:s(l)}),(0,q.jsx)(`div`,{className:`dc:font-bold dc:leading-none text-dc-text-muted`,style:{fontSize:`${A}px`},children:`—`}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted dc:mt-2`,children:`No data`})]}):(0,q.jsxs)(`div`,{ref:te,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:i7(i),children:[(0,q.jsxs)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-3 dc:flex dc:items-center dc:justify-center dc:gap-1`,style:{fontSize:`14px`,lineHeight:`1.2`},children:[(0,q.jsx)(`span`,{children:n7(s(l),l)}),(h||g)&&(0,q.jsx)(`span`,{title:g?`Excludes last ${_||`period`}`:`Excludes current incomplete ${_}`,className:`dc:cursor-help`,children:(0,q.jsx)(X5,{icon:Z5,className:`dc:w-4 dc:h-4 text-dc-text-muted dc:opacity-70`})})]}),(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:gap-4 dc:mb-3`,children:[(0,q.jsx)(`div`,{ref:ne,className:`dc:font-bold dc:leading-none`,style:{fontSize:`${A}px`,color:E},children:C(w)}),O!==null&&k!==null&&(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-start`,children:[(0,q.jsx)(`div`,{className:`dc:font-semibold`,style:{fontSize:`${Math.max(12,A*.3)}px`,color:ee,lineHeight:`1.2`},children:qae(k,1)}),(0,q.jsxs)(`div`,{className:`text-dc-text-muted dc:text-xs`,style:{opacity:.7,fontSize:`${Math.max(10,A*.2)}px`},children:[`vs `,C(O)]})]})]}),n.suffix&&!n.formatValue&&(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:text-center`,style:{fontSize:`14px`,lineHeight:`1.2`,opacity:.8},children:n.suffix}),T&&(0,q.jsx)(`div`,{className:`dc:mt-4`,children:(0,q.jsx)($5,{values:y,min:x,max:S,color:E,formatValue:C,height:24,width:re,targetValue:O||void 0})})]})});function o7(e){return e?Array.isArray(e)?e:[e]:[]}function ode(e,t){let n=[...e];return t?n.sort((e,n)=>{let r=e[t],i=n[t];return r<i?-1:+(r>i)}):n}function sde(e,t){return e.map(e=>e[t]).filter(e=>e!=null&&!isNaN(Number(e))).map(e=>Number(e))}function cde(e){let t=e[e.length-1],n=e[e.length-2],r=t-n;return{lastValue:t,absoluteChange:r,percentageChange:n===0?0:r/Math.abs(n)*100,isPositiveChange:r>=0}}function s7(e,t,n){return e!==void 0&&t&&e>=0&&e<t.length?t[e]:n}function lde({values:e,lastValue:t,positiveColor:n,negativeColor:r,formatValue:i,width:a,height:o}){let s=Math.max(10,Math.floor(a/10)),c=e.length>s?e.slice(-s):e,l=c.map(e=>e-t),u=Math.min(...l,0),d=Math.max(...l,0);if(Math.max(Math.abs(u),Math.abs(d))===0||l.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center bg-dc-bg-secondary dc:rounded-sm dc:border border-dc-border`,style:{width:`${a}px`,height:`${o}px`},children:(0,q.jsx)(`span`,{className:`dc:text-xs text-dc-text-muted`,children:`No variance data`})});let f=a-(c.length-1)*2,p=Math.max(4,f/c.length),m=d-u,h=m>0?d/m*100:50;return(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:space-x-2`,children:[(0,q.jsxs)(`div`,{className:`dc:relative`,style:{width:`${a}px`,height:`${o}px`},children:[(0,q.jsx)(`div`,{className:`dc:absolute dc:left-0 dc:right-0`,style:{height:`1px`,top:`${h}%`,backgroundColor:`var(--dc-border)`,zIndex:1}}),l.map((e,t)=>{let a=Math.abs(e)/m,s=Math.max(2,a*(o-4)),l=e>=0,u=t===c.length-1,d=l?n:r;return(0,q.jsx)(`div`,{className:`dc:absolute rounded-xs`,style:{left:`${t*(p+2)}px`,width:`${p}px`,height:`${s}px`,backgroundColor:d,opacity:u?1:.6,...l?{bottom:`${100-h}%`}:{top:`${h}%`},zIndex:2},title:`${i(c[t])}: ${e>=0?`+`:``}${i(e)} vs current`},t)})]}),(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:justify-between dc:text-xs text-dc-text-muted`,style:{height:`${o}px`},children:[(0,q.jsxs)(`span`,{children:[`+`,i(d)]}),(0,q.jsxs)(`span`,{children:[``,i(u)]})]})]})}var ude=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=qv(),s=z6(),{containerRef:c,valueRef:l,fontSize:u,textWidth:d}=r7({widthDivisor:4,heightDivisor:4,minFontSize:28,maxFontSize:140,measureWidth:(e,t)=>{let n=t-100,r=Math.max(e,Math.min(n,t*.7));return Math.max(100,r)},deps:[e,t]});if(!e||e.length===0)return(0,q.jsx)(a7,{height:i,title:o(`chart.runtime.noData`),hint:`No data points to display`});let f=o7(t?.yAxis),p=o7(t?.xAxis);if(f.length===0)return(0,q.jsx)(a7,{height:i,variant:`danger`,title:o(`chart.runtime.configError`),hint:o(`chart.runtime.configErrorHint.noMeasure`)});let m=f[0],h=p[0],g=ode(e,h),{useLastCompletePeriod:_=!0,skipLastPeriod:v=!1}=n,{filteredData:y,excludedIncompletePeriod:b,skippedLastPeriod:x,granularity:S}=e7(g,h,r,_,v),C=sde(y,m);if(C.length<2)return(0,q.jsx)(a7,{height:i,variant:`warning`,title:o(`chart.runtime.kpiDelta.insufficientData`),hint:o(`chart.runtime.kpiDelta.requiresTwoPoints`),children:(0,q.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.kpiDelta.currentPoints`,{count:C.length})})});let{lastValue:w,absoluteChange:T,percentageChange:E,isPositiveChange:D}=cde(C),O=e=>t7(e,n),k=s7(n.positiveColorIndex,a?.colors,`#10b981`),ee=s7(n.negativeColorIndex,a?.colors,`#ef4444`),te=D?k:ee;return(0,q.jsxs)(`div`,{ref:c,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:i7(i),children:[(0,q.jsxs)(`div`,{className:`text-dc-text-secondary dc:font-bold dc:text-center dc:mb-2 dc:flex dc:items-center dc:justify-center dc:gap-1`,style:{fontSize:`14px`,lineHeight:`1.2`},children:[(0,q.jsx)(`span`,{children:n7(s(m),m)}),(b||x)&&(0,q.jsx)(`span`,{title:x?`Excludes last ${S||`period`}`:`Excludes current incomplete ${S}`,className:`dc:cursor-help`,children:(0,q.jsx)(X5,{icon:Z5,className:`dc:w-4 dc:h-4 text-dc-text-muted dc:opacity-70`})})]}),(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:space-x-4 dc:mb-2`,children:[(0,q.jsx)(`div`,{ref:l,className:`dc:font-bold dc:leading-none`,style:{fontSize:`${u}px`,color:`var(--dc-text)`},children:O(w)}),(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:space-x-1`,children:[(0,q.jsx)(`div`,{className:`dc:font-bold`,style:{color:te,fontSize:`${u*.35}px`},children:D?`▲`:`▼`}),(0,q.jsxs)(`div`,{className:`dc:text-left`,children:[(0,q.jsxs)(`div`,{className:`dc:font-bold dc:leading-tight`,style:{fontSize:`${u*.35}px`,color:te},children:[D?`+`:``,O(T)]}),(0,q.jsxs)(`div`,{className:`dc:font-semibold dc:leading-tight`,style:{fontSize:`${u*.28}px`,color:te,opacity:.8},children:[D?`+`:``,E.toFixed(1),`%`]})]})]})]}),n.suffix&&!n.formatValue&&(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:text-center dc:mb-3`,style:{fontSize:`14px`,lineHeight:`1.2`,opacity:.8},children:n.suffix}),n.showHistogram!==!1&&C.length>2&&(0,q.jsx)(`div`,{className:`dc:mt-2 dc:w-full dc:flex dc:justify-center dc:overflow-hidden`,children:(0,q.jsx)(lde,{values:C,lastValue:w,positiveColor:k,negativeColor:ee,formatValue:O,width:d,height:64})})]})});function dde(e){return e?typeof e==`string`?[e]:Array.isArray(e)?e:[]:[]}function fde(e,t){return e.map(e=>{if(e[t]!==void 0)return e[t];let n=Object.keys(e);if(n.length>0)return e[n[0]]}).filter(e=>e!=null)}function pde(e){let t=e.map(e=>Number(e)).filter(e=>!isNaN(e));return t.length>0?e.length===1?{mainValue:e[0],min:null,max:null,showStats:!1}:{mainValue:t.reduce((e,t)=>e+t,0)/t.length,min:Math.min(...t),max:Math.max(...t),showStats:!0}:{mainValue:e.length===1?e[0]:e.join(`, `),min:null,max:null,showStats:!1}}function mde(e,t){if(t.formatValue)return t.formatValue(e);if(e==null)return`—`;let n=t.decimals??2,r=Math.abs(e);return r>=1e9?(e/1e9).toFixed(n)+`B`:r>=1e6?(e/1e6).toFixed(n)+`M`:r>=1e3?(e/1e3).toFixed(n)+`K`:e.toFixed(n)}function hde(e,t){let{value:n,valueField:r,fieldLabel:i,min:a,max:o,count:s,formatNumber:c}=t;try{let t={value:typeof n==`number`?c(n):String(n),rawValue:n,field:r,fieldLabel:i,min:a===null?``:c(a),max:o===null?``:c(o),count:s};return e.replace(/\\$\\{(\\w+)\\}/g,(e,n)=>n in t?String(t[n]):e)}catch{return String(n)}}function gde(e,t){return e!==void 0&&t?.colors&&e>=0&&e<t.colors.length?t.colors[e]:t?.colors?.[0]||`#1f2937`}var _de=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i}){let{t:a}=qv(),[o,s]=(0,z.useState)(28),[c,l]=(0,z.useState)(0),u=(0,z.useRef)(null),d=(0,z.useRef)(null),f=z6();if((0,z.useEffect)(()=>{let e=()=>{if(u.current){let e=u.current.getBoundingClientRect(),t=e.width,n=e.height;if(t>0&&n>0){let e=t/8,r=n/5;s(Math.max(18,Math.min(Math.min(e,r),80)))}}d.current&&l(d.current.getBoundingClientRect().width)},t=setTimeout(e,100),n=new ResizeObserver(()=>{clearTimeout(t),setTimeout(e,50)});return u.current&&n.observe(u.current),()=>{clearTimeout(t),n.disconnect()}},[e,t]),!e||e.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:a(`chart.runtime.noDataHint.kpi`)})]})});let p=dde(t?.yAxis);if(p.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0,backgroundColor:`var(--dc-danger-bg)`,color:`var(--dc-danger)`,borderColor:`var(--dc-danger-border)`},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:a(`chart.runtime.configErrorHint.noMeasures`)})]})});let m=p[0],h=fde(e,m);if(h.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full dc:h-full`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0,backgroundColor:`var(--dc-warning-bg)`,color:`var(--dc-warning)`,borderColor:`var(--dc-warning-border)`},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noValidData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:a(`chart.runtime.noValidDataHint.kpiText`)})]})});let{mainValue:g,min:_,max:v,showStats:y}=pde(h),b=e=>mde(e,{formatValue:n.formatValue,decimals:n.decimals}),x=hde(n.template||\"${fieldLabel}: ${value}\",{value:g,valueField:m,fieldLabel:f(m),min:_,max:v,count:h.length,formatNumber:b}),S=gde(n.valueColorIndex,i);return(0,q.jsxs)(`div`,{ref:u,className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:h-full dc:p-4`,style:{height:r===`100%`?`100%`:r,minHeight:r===`100%`?`200px`:void 0},children:[(0,q.jsx)(`div`,{ref:d,className:`dc:font-bold dc:leading-tight dc:text-center`,style:{fontSize:`${o}px`,color:S},children:x}),y&&_!==null&&v!==null&&(0,q.jsx)(`div`,{className:`dc:mt-4`,children:(0,q.jsx)($5,{values:h,min:_,max:v,color:S,formatValue:b,height:24,width:c||200})})]})});function c7({measureCount:e,dimensionCount:t}){return e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:t<1?{available:!1,reason:`chart.availability.requiresDimension`}:{available:!0}}function l7({measureCount:e}){return e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:{available:!0}}function u7(e=`chart.option.valueFormat.description`){return{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:e}}function d7(e){return{key:`stackType`,label:`chart.option.stacking.label`,type:`select`,defaultValue:`none`,options:[{value:`none`,label:`chart.option.accentBorder.none`},{value:`normal`,label:`chart.option.stacking.stacked`},{value:`percent`,label:`chart.option.stacking.percent`}],description:e}}var f7,p7,m7,h7,g7=o((()=>{f7={key:`target`,label:`chart.option.target.label`,type:`string`,placeholder:`e.g., 100 or 50,75 for spread`,description:`chart.option.target.description`},p7={key:`connectNulls`,label:`chart.option.connectNulls.label`,type:`boolean`,defaultValue:!1,description:`chart.option.connectNulls.description`},m7={key:`leftYAxisFormat`,label:`chart.option.leftYAxisFormat.label`,type:`axisFormat`,description:`chart.option.leftYAxisFormat.description`},h7={key:`rightYAxisFormat`,label:`chart.option.rightYAxisFormat.label`,type:`axisFormat`,description:`chart.option.rightYAxisFormat.description`}})),_7,vde=o((()=>{g7(),_7={label:`chart.bar.label`,description:`chart.bar.description`,useCase:`chart.bar.useCase`,clickableElements:{bar:!0},isAvailable:c7,dropZones:[{key:`xAxis`,label:`chart.dropZone.xAxis.label`,description:`chart.dropZone.xAxis.description`,mandatory:!1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.bar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_bar_heights`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.bar.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.dropZone.series.label`,description:`chart.dropZone.series.description`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.bar.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`showAllXLabels`,`hideHeader`],displayOptionsConfig:[d7(`chart.configText.how_to_stack_multiple_bar_series`),f7,m7,h7]}})),v7,yde=o((()=>{g7(),v7={label:`chart.line.label`,description:`chart.line.description`,useCase:`chart.line.useCase`,clickableElements:{point:!0},isAvailable:c7,dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_categories`,description:`chart.configText.time_dimensions_or_dimensions_for_x_axis`,mandatory:!0,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.line.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_line_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.line.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.configText.series_multiple_lines`,description:`chart.configText.dimensions_to_create_separate_lines`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.line.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`showAllXLabels`,`hideHeader`],displayOptionsConfig:[p7,f7,{key:`priorPeriodStyle`,label:`chart.option.priorPeriodStyle.label`,type:`select`,defaultValue:`dashed`,options:[{value:`dashed`,label:`chart.option.priorPeriodStyle.dashed`},{value:`dotted`,label:`chart.option.priorPeriodStyle.dotted`},{value:`solid`,label:`chart.option.priorPeriodStyle.solid`}],description:`chart.option.priorPeriodStyle.description`},{key:`priorPeriodOpacity`,label:`chart.option.priorPeriodOpacity.label`,type:`number`,defaultValue:.5,min:.1,max:1,step:.1,description:`chart.option.priorPeriodOpacity.description`},m7,h7]}})),y7,bde=o((()=>{g7(),y7={label:`chart.area.label`,description:`chart.area.description`,useCase:`chart.area.useCase`,isAvailable:c7,dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_categories`,description:`chart.configText.time_dimensions_or_dimensions_for_x_axis`,mandatory:!0,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.area.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.dropZone.yAxis.label`,description:`chart.configText.measures_for_area_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.area.dropZone.yAxis.empty`,enableDualAxis:!0},{key:`series`,label:`chart.configText.series_stack_areas`,description:`chart.configText.dimensions_to_create_stacked_areas`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.area.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`showAllXLabels`,`hideHeader`],displayOptionsConfig:[d7(`chart.configText.how_to_stack_multiple_area_series`),p7,f7,m7,h7]}})),b7,xde=o((()=>{g7(),b7={label:`chart.pie.label`,description:`chart.pie.description`,useCase:`chart.pie.useCase`,clickableElements:{slice:!0},isAvailable:c7,dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimension_for_pie_slices`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.pie.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measure_for_slice_sizes`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.pie.dropZone.yAxis.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`innerRadius`,label:`chart.option.innerRadius.label`,type:`select`,description:`chart.configText.hollow_center_size_0_percent_solid_pie_higher_donut_style`,defaultValue:`0%`,options:[{value:`0%`,label:`chart.configText.none_pie`},{value:`20%`,label:`chart.configText.20_percent`},{value:`40%`,label:`chart.configText.40_percent`},{value:`60%`,label:`chart.configText.60_percent`},{value:`80%`,label:`chart.configText.80_percent`}]},u7()]}})),x7,Sde=o((()=>{x7={label:`chart.scatter.label`,description:`chart.scatter.description`,useCase:`chart.scatter.useCase`,isAvailable:({measureCount:e,dimensionCount:t})=>e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:e<2&&t<1?{available:!1,reason:`chart.availability.scatter`}:{available:!0},dropZones:[{key:`xAxis`,label:`chart.runtime.axisFormat.xAxis`,description:`chart.configText.measure_or_dimension_for_x_position`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.scatter.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis`,description:`chart.configText.measure_for_y_position`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.scatter.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_color_groups`,description:`chart.configText.dimension_to_color_points_by_category`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.scatter.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.option.xAxisFormat.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.option.yAxisFormat.description`}]}})),S7,Cde=o((()=>{S7={label:`chart.bubble.label`,description:`chart.bubble.description`,useCase:`chart.bubble.useCase`,isAvailable:({measureCount:e,dimensionCount:t})=>e<2?{available:!1,reason:`chart.availability.requiresTwoMeasures`}:t<1?{available:!1,reason:`chart.availability.bubble`}:{available:!0},dropZones:[{key:`xAxis`,label:`chart.runtime.axisFormat.xAxis`,description:`chart.configText.horizontal_axis_position`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.bubble.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis`,description:`chart.configText.vertical_axis_position`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.bubble.dropZone.yAxis.empty`},{key:`sizeField`,label:`chart.configText.bubble_radius`,description:`chart.configText.size_of_bubbles_based_on_this_measure`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.bubble.dropZone.sizeField.empty`},{key:`series`,label:`chart.configText.bubble_labels`,description:`chart.configText.field_to_use_for_bubble_labels_and_identification`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.bubble.dropZone.series.empty`},{key:`colorField`,label:`chart.configText.bubble_colour`,description:`chart.configText.color_bubbles_by_this_field_optional`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`,`measure`],emptyText:`chart.bubble.dropZone.colorField.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`minBubbleSize`,`maxBubbleSize`,`bubbleOpacity`,`hideHeader`],displayOptionsConfig:[{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.option.xAxisFormat.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_y_axis_and_values`}]}})),C7,wde=o((()=>{g7(),C7={label:`chart.radar.label`,description:`chart.radar.description`,useCase:`chart.radar.useCase`,isAvailable:c7,dropZones:[{key:`xAxis`,label:`chart.configText.axes_categories`,description:`chart.configText.dimensions_for_radar_axes`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.radar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measures_for_radar_values`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.radar.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_multiple_shapes`,description:`chart.configText.dimensions_to_create_multiple_radar_shapes`,mandatory:!1,acceptTypes:[`dimension`],emptyText:`chart.radar.dropZone.series.empty`}],displayOptions:[`showLegend`,`showGrid`,`showTooltip`,`hideHeader`],displayOptionsConfig:[u7()]}})),w7,Tde=o((()=>{g7(),w7={label:`chart.radialBar.label`,description:`chart.radialBar.description`,useCase:`chart.radialBar.useCase`,isAvailable:c7,dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimensions_for_radial_segments`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.radialBar.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.values`,description:`chart.configText.measures_for_radial_bar_lengths`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.radialBar.dropZone.yAxis.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[u7()]}})),T7,Ede=o((()=>{g7(),T7={label:`chart.treemap.label`,description:`chart.treemap.description`,useCase:`chart.treemap.useCase`,isAvailable:c7,dropZones:[{key:`xAxis`,label:`chart.configText.categories`,description:`chart.configText.dimensions_for_treemap_rectangles`,mandatory:!0,acceptTypes:[`dimension`],emptyText:`chart.treemap.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.size`,description:`chart.configText.measure_for_rectangle_sizes`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.treemap.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.color_groups`,description:`chart.configText.dimension_to_color_rectangles_by_category`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.treemap.dropZone.series.empty`}],displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],displayOptionsConfig:[u7(`chart.configText.number_formatting_for_size_values`)],clickableElements:{cell:!0}}})),E7,Dde=o((()=>{E7={label:`chart.table.label`,description:`chart.table.description`,useCase:`chart.table.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.columns`,description:`chart.configText.all_fields_to_display_as_columns`,mandatory:!1,acceptTypes:[`dimension`,`timeDimension`,`measure`],emptyText:`chart.table.dropZone.xAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_numeric_values`}]}})),D7,Ode=o((()=>{D7={label:`chart.activityGrid.label`,description:`chart.activityGrid.description`,useCase:`chart.activityGrid.useCase`,isAvailable:({measureCount:e,timeDimensionCount:t})=>e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:t<1?{available:!1,reason:`chart.availability.requiresTimeDimension`}:{available:!0},dropZones:[{key:`dateField`,label:`chart.configText.time_dimension`,description:`chart.configText.time_field_that_determines_grid_structure_granularity_affects_layout`,mandatory:!0,maxItems:1,acceptTypes:[`timeDimension`],emptyText:`chart.activityGrid.dropZone.dateField.empty`},{key:`valueField`,label:`chart.configText.activity_measure`,description:`chart.configText.measure_used_for_activity_intensity_color_coding`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.activityGrid.dropZone.valueField.empty`}],displayOptions:[`showLabels`,`showTooltip`,`hideHeader`],displayOptionsConfig:[{key:`fitToWidth`,label:`chart.option.fitToWidth.label`,type:`boolean`,defaultValue:!1,description:`chart.option.fitToWidth.description`}],validate:e=>{let{dateField:t,valueField:n}=e;return!t||Array.isArray(t)&&t.length===0?{isValid:!1,message:`chart.activityGrid.validation.timeDimensionRequired`}:!n||Array.isArray(n)&&n.length===0?{isValid:!1,message:`chart.activityGrid.validation.measureRequired`}:{isValid:!0}},clickableElements:{cell:!0}}})),O7,kde=o((()=>{g7(),O7={label:`chart.kpiNumber.label`,description:`chart.kpiNumber.description`,useCase:`chart.kpiNumber.useCase`,isAvailable:l7,dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_display_as_kpi_number`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiNumber.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`target`,label:`chart.runtime.tooltip.targetValue`,type:`string`,placeholder:`e.g., 100`,description:`chart.configText.target_value_to_compare_against_first_value_used_if_multiple_provided`},{key:`prefix`,label:`chart.option.prefix.label`,type:`string`,placeholder:`e.g., $, €, #`,description:`chart.option.prefix.description`},{key:`suffix`,label:`chart.option.suffix.label`,type:`string`,placeholder:`e.g., %, units, items`,description:`chart.option.suffix.description`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:0,min:0,max:10,step:1,description:`chart.option.decimals.description`},{key:`valueColorIndex`,label:`chart.configText.value_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text`},{key:`useLastCompletePeriod`,label:`chart.option.useLastCompletePeriod.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.exclude_current_incomplete_period_from_aggregation_e_g_partial_week_mont`},{key:`skipLastPeriod`,label:`chart.option.skipLastPeriod.label`,type:`boolean`,defaultValue:!1,description:`chart.option.skipLastPeriod.description`}],displayOptions:[`hideHeader`]}})),k7,Ade=o((()=>{g7(),k7={label:`chart.kpiDelta.label`,description:`chart.kpiDelta.description`,useCase:`chart.kpiDelta.useCase`,isAvailable:c7,dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_track_changes_for`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiDelta.dropZone.yAxis.empty`},{key:`xAxis`,label:`chart.configText.dimension_optional`,description:`chart.configText.dimension_for_ordering_data_typically_time`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.kpiDelta.dropZone.xAxis.empty`}],displayOptionsConfig:[{key:`prefix`,label:`chart.option.prefix.label`,type:`string`,placeholder:`e.g., $, €, #`,description:`chart.option.prefix.description`},{key:`suffix`,label:`chart.option.suffix.label`,type:`string`,placeholder:`e.g., %, units, items`,description:`chart.option.suffix.description`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:1,min:0,max:10,step:1,description:`chart.option.decimals.description`},{key:`positiveColorIndex`,label:`chart.configText.positive_change_color`,type:`paletteColor`,defaultValue:2,description:`chart.configText.color_for_positive_changes_increases`},{key:`negativeColorIndex`,label:`chart.configText.negative_change_color`,type:`paletteColor`,defaultValue:3,description:`chart.configText.color_for_negative_changes_decreases`},{key:`showHistogram`,label:`chart.option.showHistogram.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showHistogram.description`},{key:`useLastCompletePeriod`,label:`chart.option.useLastCompletePeriod.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.exclude_current_incomplete_period_from_delta_calculation_e_g_partial_wee`},{key:`skipLastPeriod`,label:`chart.option.skipLastPeriod.label`,type:`boolean`,defaultValue:!1,description:`chart.option.skipLastPeriod.description`}],displayOptions:[`hideHeader`],validate:e=>!e.yAxis||Array.isArray(e.yAxis)&&e.yAxis.length===0?{isValid:!1,message:`chart.kpiDelta.validation.measureRequired`}:{isValid:!0}}})),A7,jde=o((()=>{g7(),A7={label:`chart.kpiText.label`,description:`chart.kpiText.description`,useCase:`chart.kpiText.useCase`,isAvailable:l7,dropZones:[{key:`yAxis`,label:`chart.configText.value`,description:`chart.configText.measure_to_display_in_the_kpi_text_template`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.kpiText.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`template`,label:`chart.configText.text_template`,type:`string`,placeholder:\"e.g., Total Revenue: ${value}\",description:`chart.configText.template_for_displaying_the_text_use_value_to_insert_the_measure_value`},{key:`decimals`,label:`chart.option.decimals.label`,type:`number`,defaultValue:0,min:0,max:10,step:1,description:`chart.configText.number_of_decimal_places_to_display_for_numeric_values`},{key:`valueColorIndex`,label:`chart.configText.value_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_the_kpi_value_text`}],displayOptions:[`hideHeader`]}})),j7,Mde=o((()=>{j7={label:`chart.markdown.label`,description:`chart.markdown.description`,useCase:`chart.markdown.useCase`,skipQuery:!0,dropZones:[],displayOptionsConfig:[{key:`content`,label:`chart.configText.markdown_content`,type:`string`,placeholder:`# Welcome\n\nAdd your **markdown** content here:\n\n- Lists with bullets\n- [Links](https://example.com)\n- *Italic* and **bold** text\n\n---\n\nUse --- for horizontal rules.`,description:`chart.configText.enter_markdown_text_supports_headers_bold_text_italic_text_links_text_ur`},{key:`accentColorIndex`,label:`chart.configText.accent_color`,type:`paletteColor`,defaultValue:0,description:`chart.configText.color_from_the_dashboard_palette_for_headers_bullets_and_links`},{key:`fontSize`,label:`chart.option.fontSize.label`,type:`select`,defaultValue:`medium`,options:[{value:`small`,label:`chart.option.fontSize.small`},{value:`medium`,label:`chart.option.fontSize.medium`},{value:`large`,label:`chart.option.fontSize.large`}],description:`chart.configText.overall_text_size_for_the_markdown_content`},{key:`alignment`,label:`chart.option.alignment.label`,type:`select`,defaultValue:`left`,options:[{value:`left`,label:`chart.option.accentBorder.left`},{value:`center`,label:`chart.option.alignment.center`},{value:`right`,label:`chart.option.alignment.right`}],description:`chart.configText.horizontal_alignment_of_the_markdown_content`},{key:`hideHeader`,label:`chart.option.hideHeader.label`,type:`boolean`,defaultValue:!0,description:`chart.option.hideHeader.description`},{key:`transparentBackground`,label:`chart.option.transparentBackground.label`,type:`boolean`,defaultValue:!1,description:`chart.option.transparentBackground.description`},{key:`autoHeight`,label:`chart.option.autoHeight.label`,type:`boolean`,defaultValue:!0,description:`chart.option.autoHeight.description`},{key:`accentBorder`,label:`chart.option.accentBorder.label`,type:`select`,defaultValue:`none`,options:[{value:`none`,label:`chart.option.accentBorder.none`},{value:`left`,label:`chart.option.accentBorder.left`},{value:`top`,label:`chart.option.accentBorder.top`},{value:`bottom`,label:`chart.option.accentBorder.bottom`}],description:`chart.configText.add_an_accent_colored_border_on_one_side_of_the_content`}]}})),M7,Nde=o((()=>{M7={label:`chart.funnel.label`,description:`chart.funnel.description`,useCase:`chart.funnel.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.step_name`,description:`chart.configText.step_names_auto_populated_from_funnel_steps`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.funnel.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.step_count`,description:`chart.configText.count_at_each_step_auto_calculated`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.funnel.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`funnelStyle`,label:`chart.option.funnelStyle.label`,type:`buttonGroup`,defaultValue:`bars`,options:[{value:`bars`,label:`chart.option.funnelStyle.bars`},{value:`funnel`,label:`chart.option.funnelStyle.funnel`}],description:`chart.configText.visualization_style`},{key:`funnelOrientation`,label:`chart.option.funnelOrientation.label`,type:`buttonGroup`,defaultValue:`horizontal`,options:[{value:`horizontal`,label:`chart.option.funnelOrientation.horizontal`},{value:`vertical`,label:`chart.option.funnelOrientation.vertical`}]},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!1,description:`chart.option.hideSummaryFooter.description`},{key:`showFunnelConversion`,label:`chart.option.showConversion.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showConversion.description`},{key:`showFunnelAvgTime`,label:`chart.option.showAvgTime.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showAvgTime.description`},{key:`showFunnelMedianTime`,label:`chart.option.showMedianTime.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showMedianTime.description`},{key:`showFunnelP90Time`,label:`chart.option.showP90Time.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showP90Time.description`}]}})),N7,Pde=o((()=>{N7={label:`chart.sankey.label`,description:`chart.sankey.description`,useCase:`chart.sankey.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.event_type`,description:`chart.configText.event_dimension_that_categorizes_flow_nodes`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.sankey.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.flow_count`,description:`chart.configText.count_of_entities_following_each_path`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.sankey.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`linkOpacity`,label:`chart.option.linkOpacity.label`,type:`buttonGroup`,defaultValue:`0.5`,options:[{value:`0.3`,label:`chart.option.linkOpacity.light`},{value:`0.5`,label:`chart.option.fontSize.medium`},{value:`0.7`,label:`chart.option.linkOpacity.dark`}],description:`chart.configText.opacity_of_flow_links`},{key:`showNodeLabels`,label:`chart.option.showNodeLabels.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showNodeLabels.description`},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.hide_the_statistics_footer_below_the_chart`}]}})),P7,Fde=o((()=>{P7={label:`chart.sunburst.label`,description:`chart.sunburst.description`,useCase:`chart.sunburst.useCase`,dropZones:[{key:`xAxis`,label:`chart.configText.event_type`,description:`chart.configText.event_dimension_that_categorizes_flow_nodes`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.sunburst.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.flow_count`,description:`chart.configText.count_of_entities_following_each_path`,mandatory:!1,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.sunburst.dropZone.yAxis.empty`}],displayOptions:[`hideHeader`],displayOptionsConfig:[{key:`innerRadius`,label:`chart.option.innerRadius.label`,type:`number`,defaultValue:40,min:0,max:100,step:10,description:`chart.configText.size_of_the_center_hole_0_for_full_circle`},{key:`hideSummaryFooter`,label:`chart.option.hideSummaryFooter.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.hide_the_statistics_footer_below_the_chart`}]}})),F7,Ide=o((()=>{F7={label:`chart.heatmap.label`,description:`chart.heatmap.description`,useCase:`chart.heatmap.useCase`,isAvailable:({measureCount:e,dimensionCount:t})=>e<1?{available:!1,reason:`chart.availability.requiresMeasure`}:t<2?{available:!1,reason:`chart.availability.requiresTwoDimensions`}:{available:!0},dropZones:[{key:`xAxis`,label:`chart.configText.columns_x_axis`,description:`chart.configText.dimension_for_column_categories`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.heatmap.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.rows_y_axis`,description:`chart.configText.dimension_for_row_categories`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.heatmap.dropZone.yAxis.empty`},{key:`valueField`,label:`chart.configText.value_color_intensity`,description:`chart.configText.measure_that_determines_cell_color`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.heatmap.dropZone.valueField.empty`}],displayOptions:[`showLegend`,`showTooltip`],displayOptionsConfig:[{key:`showLabels`,label:`chart.option.showLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showLabels.description`},{key:`cellShape`,label:`chart.option.cellShape.label`,type:`select`,defaultValue:`rect`,options:[{value:`rect`,label:`chart.option.cellShape.rectangle`},{value:`circle`,label:`chart.option.cellShape.circle`}]},{key:`xAxisFormat`,label:`chart.option.xAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_x_axis_labels`},{key:`yAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_y_axis_labels`},{key:`valueFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_cell_values_and_legend`}],validate:e=>e.xAxis?.length?e.yAxis?.length?e.valueField?.length?{isValid:!0}:{isValid:!1,message:`chart.heatmap.validation.valueRequired`}:{isValid:!1,message:`chart.heatmap.validation.yAxisRequired`}:{isValid:!1,message:`chart.heatmap.validation.xAxisRequired`}}})),I7,Lde=o((()=>{I7={label:`chart.retentionHeatmap.label`,dropZones:[],displayOptionsConfig:[{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_the_color_intensity_legend`},{key:`showTooltip`,label:`chart.option.showTooltip.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTooltip.description`}],description:`chart.retentionHeatmap.description`,useCase:`chart.retentionHeatmap.useCase`}})),L7,Rde=o((()=>{L7={label:`chart.retentionCombined.label`,dropZones:[],displayOptionsConfig:[{key:`retentionDisplayMode`,label:`chart.option.retentionDisplayMode.label`,type:`select`,defaultValue:`line`,options:[{value:`line`,label:`chart.option.retentionDisplayMode.lineChart`},{value:`heatmap`,label:`chart.option.retentionDisplayMode.heatmapTable`},{value:`combined`,label:`chart.option.retentionDisplayMode.combined`}],description:`chart.configText.choose_how_to_visualize_retention_data`},{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_the_legend_for_breakdown_segments`},{key:`showGrid`,label:`chart.option.showGrid.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showGrid.description`},{key:`showTooltip`,label:`chart.option.showTooltip.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTooltip.description`}],description:`chart.retentionCombined.description`,useCase:`chart.retentionCombined.useCase`}})),R7,zde=o((()=>{g7(),R7={label:`chart.boxPlot.label`,description:`chart.boxPlot.description`,useCase:`chart.boxPlot.useCase`,isAvailable:c7,displayOptions:[`hideHeader`],dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_groups`,description:`chart.configText.dimension_to_group_boxes_by_e_g_symbol_platform`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.boxPlot.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis_measures`,description:`chart.configText.drop_1_measure_for_auto_mode_3_for_avg_stddev_median_mode_or_5_for_min_q`,mandatory:!0,maxItems:5,acceptTypes:[`measure`],emptyText:`chart.boxPlot.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_value_axis`}]}})),z7,Bde=o((()=>{g7(),z7={label:`chart.waterfall.label`,description:`chart.waterfall.description`,useCase:`chart.waterfall.useCase`,clickableElements:{bar:!0},isAvailable:c7,displayOptions:[`showTooltip`,`hideHeader`],dropZones:[{key:`xAxis`,label:`chart.dropZone.xAxis.label`,description:`chart.configText.dimension_labels_for_each_bar_segment_e_g_symbol_transaction_type`,mandatory:!0,maxItems:1,acceptTypes:[`dimension`,`timeDimension`],emptyText:`chart.waterfall.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.y_axis_value`,description:`chart.configText.single_measure_whose_values_are_summed_cumulatively`,mandatory:!0,maxItems:1,acceptTypes:[`measure`],emptyText:`chart.waterfall.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`showTotal`,label:`chart.option.showTotal.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showTotal.description`},{key:`showConnectorLine`,label:`chart.option.showConnectorLine.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showConnectorLine.description`},{key:`showDataLabels`,label:`chart.option.showDataLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.configText.display_the_value_above_each_bar_segment`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_y_axis`}]}})),B7,Vde=o((()=>{B7={label:`chart.candlestick.label`,description:`chart.candlestick.description`,useCase:`chart.candlestick.useCase`,clickableElements:{bar:!0},displayOptions:[`hideHeader`],isAvailable:({measureCount:e,dimensionCount:t})=>e<2?{available:!1,reason:`chart.availability.requiresTwoMeasures`}:t<1?{available:!1,reason:`chart.availability.requiresDimension`}:{available:!0},dropZones:[{key:`xAxis`,label:`chart.configText.x_axis_time_category`,description:`chart.configText.time_dimension_or_category_for_each_candle_e_g_date_symbol`,mandatory:!0,maxItems:1,acceptTypes:[`timeDimension`,`dimension`],emptyText:`chart.candlestick.dropZone.xAxis.empty`},{key:`yAxis`,label:`chart.configText.ohlc_measures_open_close_high_low`,description:`chart.configText.drop_2_4_measures_in_order_open_close_high_low_ohlc_mode_for_range_mode_`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.candlestick.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`rangeMode`,label:`chart.option.rangeMode.label`,type:`select`,defaultValue:`ohlc`,options:[{value:`ohlc`,label:`chart.option.rangeMode.ohlc`},{value:`range`,label:`chart.option.rangeMode.range`}],description:`chart.option.rangeMode.description`},{key:`bullColor`,label:`chart.option.bullColor.label`,type:`color`,defaultValue:`#22c55e`,description:`chart.option.bullColor.description`},{key:`bearColor`,label:`chart.option.bearColor.label`,type:`color`,defaultValue:`#ef4444`,description:`chart.option.bearColor.description`},{key:`showWicks`,label:`chart.option.showWicks.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showWicks.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_price_axis`}]}})),V7,H7=o((()=>{V7={label:`chart.measureProfile.label`,description:`chart.measureProfile.description`,useCase:`chart.measureProfile.useCase`,displayOptions:[`showLegend`,`showTooltip`,`hideHeader`],isAvailable:({measureCount:e})=>e<2?{available:!1,reason:`chart.availability.requiresTwoMeasures`}:{available:!0},dropZones:[{key:`yAxis`,label:`chart.configText.measures_x_axis_order`,description:`chart.configText.add_2_or_more_measures_they_become_the_x_axis_categories_in_the_order_li`,mandatory:!0,acceptTypes:[`measure`],emptyText:`chart.measureProfile.dropZone.yAxis.empty`},{key:`series`,label:`chart.configText.series_split_into_multiple_lines`,description:`chart.configText.dimension_to_split_data_into_separate_profile_lines_e_g_symbol_platform`,mandatory:!1,maxItems:1,acceptTypes:[`dimension`],emptyText:`chart.measureProfile.dropZone.series.empty`}],displayOptionsConfig:[{key:`showReferenceLineAtZero`,label:`chart.option.showReferenceLineAtZero.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showReferenceLineAtZero.description`},{key:`showDataLabels`,label:`chart.option.showDataLabels.label`,type:`boolean`,defaultValue:!1,description:`chart.configText.display_value_at_each_data_point`},{key:`showLegend`,label:`chart.option.showLegend.label`,type:`boolean`,defaultValue:!0,description:`chart.configText.show_series_legend_only_visible_with_a_series_dimension`},{key:`lineType`,label:`chart.option.lineType.label`,type:`select`,defaultValue:`monotone`,options:[{value:`monotone`,label:`chart.option.lineType.smooth`},{value:`linear`,label:`chart.option.lineType.linear`},{value:`step`,label:`chart.option.lineType.step`}],description:`chart.option.lineType.description`},{key:`leftYAxisFormat`,label:`chart.option.yAxisFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_y_axis`}]}})),U7,Hde=o((()=>{g7(),U7={label:`chart.gauge.label`,description:`chart.gauge.description`,useCase:`chart.gauge.useCase`,clickableElements:{},displayOptions:[`hideHeader`],isAvailable:l7,dropZones:[{key:`yAxis`,label:`chart.configText.value_measure`,description:`chart.configText.current_value_to_display_on_the_gauge_e_g_current_equity_margin_used`,mandatory:!0,maxItems:2,acceptTypes:[`measure`],emptyText:`chart.gauge.dropZone.yAxis.empty`}],displayOptionsConfig:[{key:`minValue`,label:`chart.option.minValue.label`,type:`number`,defaultValue:0,description:`chart.option.minValue.description`},{key:`maxValue`,label:`chart.option.maxValue.label`,type:`number`,description:`chart.option.maxValue.description`},{key:`thresholds`,label:`chart.configText.threshold_bands`,type:`string`,placeholder:`[{\"value\":0.33,\"color\":\"#22c55e\"},{\"value\":0.66,\"color\":\"#f59e0b\"},{\"value\":1,\"color\":\"#ef4444\"}]`,description:`chart.configText.array_of_value_0_1_fraction_color_bands_shown_as_outer_arc_markers`},{key:`showCenterLabel`,label:`chart.option.showCentreLabel.label`,type:`boolean`,defaultValue:!0,description:`chart.option.showCentreLabel.description`},{key:`showPercentage`,label:`chart.option.showPercentage.label`,type:`boolean`,defaultValue:!1,description:`chart.option.showPercentage.description`},{key:`leftYAxisFormat`,label:`chart.option.valueFormat.label`,type:`axisFormat`,description:`chart.configText.number_formatting_for_the_displayed_value_and_axis_labels`}]}}));vde(),yde(),bde(),xde(),Sde(),Cde(),wde(),Tde(),Ede(),Dde(),Ode(),kde(),Ade(),jde(),Mde(),Nde(),Pde(),Fde(),Ide(),Lde(),Rde(),zde(),Bde(),Vde(),H7(),Hde();var Ude={bar:_7,line:v7,area:y7,pie:b7,scatter:x7,bubble:S7,radar:C7,radialBar:w7,treemap:T7,table:E7,activityGrid:D7,kpiNumber:O7,kpiDelta:k7,kpiText:A7,markdown:j7,funnel:M7,sankey:N7,sunburst:P7,heatmap:F7,retentionHeatmap:I7,retentionCombined:L7,boxPlot:R7,waterfall:z7,candlestick:B7,measureProfile:V7,gauge:U7},Wde={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m4.5 19.5l15-15m-15 0l15 15\"/>`},Gde={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>`},Kde={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732Z\"/>`},qde={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 7l-.867 12.142A2 2 0 0 1 16.138 21H7.862a2 2 0 0 1-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v3M4 7h16\"/>`},W7={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.5 12c0-1.232.046-2.453.138-3.662a4.006 4.006 0 0 1 3.7-3.7a48.678 48.678 0 0 1 7.324 0a4.006 4.006 0 0 1 3.7 3.7c.017.22.032.441.046.662M4.5 12l-3-3m3 3l3-3m12 3c0 1.232-.046 2.453-.138 3.662a4.006 4.006 0 0 1-3.7 3.7a48.657 48.657 0 0 1-7.324 0a4.006 4.006 0 0 1-3.7-3.7c-.017-.22-.032-.441-.046-.662M19.5 12l-3 3m3-3l3 3\"/>`},Jde={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192c.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z\"/>`},Yde={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8 7v8a2 2 0 0 0 2 2h6M8 7V5a2 2 0 0 1 2-2h4.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V15a2 2 0 0 1-2 2h-2M8 7H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-2\"/>`},Xde={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c.996.608 2.296.07 2.572-1.065Z\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>`},Zde={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 3c2.755 0 5.455.232 8.083.678c.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z\"/>`},Qde={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 1 1 0-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 1 0 5.367-2.684a3 3 0 0 0-5.367 2.684Zm0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684Z\"/>`},G7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>`},K7={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>`},$de={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>`},efe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>`},tfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"m21 21l-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z\"/>`},nfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5\"/>`},rfe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12l2 2l4-4m6 2a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>`},ife={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M12 10.5v3.75m-9.303 3.376C1.83 19.126 2.914 21 4.645 21h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 4.88c-.866-1.501-3.032-1.501-3.898 0L2.697 17.626ZM12 17.25h.007v.008H12v-.008Z\"/>`},afe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4m0 4h.01M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>`},ofe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3Z\"/>`},sfe={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/><path d=\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7c-4.477 0-8.268-2.943-9.542-7Z\"/></g>`},cfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.98 8.223A10.477 10.477 0 0 0 1.934 12c1.292 4.338 5.31 7.5 10.066 7.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88\"/>`},lfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75\"/>`},ufe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25\"/>`},dfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.375 19.5h17.25m-17.25 0a1.125 1.125 0 0 1-1.125-1.125M3.375 19.5h7.5c.621 0 1.125-.504 1.125-1.125m-9.75 0V5.625m0 12.75v-1.5c0-.621.504-1.125 1.125-1.125m18.375 2.625V5.625m0 12.75c0 .621-.504 1.125-1.125 1.125m1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125m0 3.75h-7.5A1.125 1.125 0 0 1 12 18.375m9.75-12.75c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125m19.5 0v1.5c0 .621-.504 1.125-1.125 1.125M2.25 5.625v1.5c0 .621.504 1.125 1.125 1.125m0 0h17.25m-17.25 0h7.5c.621 0 1.125.504 1.125 1.125M3.375 8.25c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125m17.25-3.75h-7.5c-.621 0-1.125.504-1.125 1.125m8.625-1.125c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125M12 10.875v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 10.875c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125M13.125 12h7.5m-7.5 0c-.621 0-1.125.504-1.125 1.125M20.625 12c.621 0 1.125.504 1.125 1.125v1.5c0 .621-.504 1.125-1.125 1.125m-17.25 0h7.5M12 14.625v-1.5m0 1.5c0 .621-.504 1.125-1.125 1.125M12 14.625c0 .621.504 1.125 1.125 1.125m-2.25 0c.621 0 1.125.504 1.125 1.125m0 1.5v-1.5m0 0c0-.621.504-1.125 1.125-1.125m0 0h7.5\"/>`},ffe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13.828 10.172a4 4 0 0 0-5.656 0l-4 4a4 4 0 1 0 5.656 5.656l1.102-1.101m-.758-4.899a4 4 0 0 0 5.656 0l4-4a4 4 0 0 0-5.656-5.656l-1.1 1.1\"/>`},pfe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>`},mfe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0a4 4 0 0 1 8 0Z\"/>`},hfe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 0 1 8.646 3.646A9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646Z\"/>`},gfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M6.75 12a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Zm6 0a.75.75 0 1 1-1.5 0a.75.75 0 0 1 1.5 0Z\"/>`},_fe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z\"/>`},vfe={width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253\"/>`},yfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5\"/>`},bfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M4.098 19.902a3.75 3.75 0 0 0 5.304 0l6.401-6.402M6.75 21A3.75 3.75 0 0 1 3 17.25V4.125C3 3.504 3.504 3 4.125 3h5.25c.621 0 1.125.504 1.125 1.125v4.072M6.75 21a3.75 3.75 0 0 0 3.75-3.75V8.197M6.75 21h13.125c.621 0 1.125-.504 1.125-1.125v-5.25c0-.621-.504-1.125-1.125-1.125h-4.072M10.5 8.197l2.88-2.88a1.124 1.124 0 0 1 1.59 0l3.712 3.713c.44.44.44 1.152 0 1.59l-2.879 2.88M6.75 17.25h.008v.008H6.75v-.008Z\"/>`},xfe={width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 9a2 2 0 0 1 2-2h.93a2 2 0 0 0 1.664-.89l.812-1.22A2 2 0 0 1 10.07 4h3.86a2 2 0 0 1 1.664.89l.812 1.22A2 2 0 0 0 18.07 7H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>`},Sfe={width:24,height:24,hidden:!0,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3\"/>`},Cfe={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" d=\"M1 8.25a1.25 1.25 0 1 1 2.5 0v7.5a1.25 1.25 0 1 1-2.5 0v-7.5ZM11 3V1.7c0-.268.14-.526.395-.607A2 2 0 0 1 14 3c0 .995-.182 1.948-.514 2.826c-.204.54.166 1.174.744 1.174h2.52c1.243 0 2.261 1.01 2.146 2.247a23.864 23.864 0 0 1-1.341 5.974C17.153 16.323 16.072 17 14.9 17h-3.192a3 3 0 0 1-1.341-.317l-2.734-1.366A3 3 0 0 0 6.292 15H5V8h.963c.685 0 1.258-.483 1.612-1.068a4.011 4.011 0 0 1 2.166-1.73c.432-.143.853-.386 1.011-.814c.16-.432.248-.9.248-1.388Z\"/>`},wfe={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" d=\"M18.905 12.75a1.25 1.25 0 0 1-2.5 0v-7.5a1.25 1.25 0 1 1 2.5 0v7.5Zm-10 4.25v1.3c0 .268-.14.526-.395.607A2 2 0 0 1 5.905 17c0-.995.182-1.948.514-2.826c.204-.54-.166-1.174-.744-1.174h-2.52c-1.242 0-2.26-1.01-2.146-2.247c.193-2.08.652-4.082 1.341-5.974C2.752 3.678 3.833 3 5.005 3h3.192a3 3 0 0 1 1.342.317l2.733 1.366A3 3 0 0 0 13.613 5h1.292v7h-.963c-.684 0-1.258.482-1.612 1.068a4.012 4.012 0 0 1-2.165 1.73c-.433.143-.854.386-1.012.814c-.16.432-.248.9-.248 1.388Z\"/>`},Tfe={width:20,height:20,body:`<path fill=\"currentColor\" d=\"M2 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-5Zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7Zm6-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4Z\"/>`},Efe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.707 9.293a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7A.997.997 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293l7 7ZM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z\" clip-rule=\"evenodd\"/>`},Dfe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a1 1 0 0 0-1 1v1H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a1 1 0 1 0-2 0v1H7V3a1 1 0 0 0-1-1Zm0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H6Z\" clip-rule=\"evenodd\"/>`},Ofe={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2.5 3A1.5 1.5 0 0 0 1 4.5v4A1.5 1.5 0 0 0 2.5 10h6A1.5 1.5 0 0 0 10 8.5v-4A1.5 1.5 0 0 0 8.5 3h-6Zm11 2A1.5 1.5 0 0 0 12 6.5v7a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-7A1.5 1.5 0 0 0 17.5 5h-4Zm-10 7A1.5 1.5 0 0 0 2 13.5v2A1.5 1.5 0 0 0 3.5 17h6a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 9.5 12h-6Z\" clip-rule=\"evenodd\"/>`},kfe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664l-3-2Z\" clip-rule=\"evenodd\"/>`},Afe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/>`},jfe={width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 2a1 1 0 0 1 1 1v1.323l3.954 1.582l1.599-.8a1 1 0 0 1 .894 1.79l-1.233.616l1.738 5.42a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 15 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 5 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.738-5.42l-1.233-.617a1 1 0 0 1 .894-1.788l1.599.799L9 4.323V3a1 1 0 0 1 1-1Zm-5 8.274l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L5 10.274Zm10 0l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L15 10.274Z\" clip-rule=\"evenodd\"/>`},q7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm.75-11.25a.75.75 0 0 0-1.5 0v4.59L7.3 9.24a.75.75 0 0 0-1.1 1.02l3.25 3.5a.75.75 0 0 0 1.1 0l3.25-3.5a.75.75 0 1 0-1.1-1.02l-1.95 2.1V6.75Z\" clip-rule=\"evenodd\"/>`},J7={width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm-.75-4.75a.75.75 0 0 0 1.5 0V8.66l1.95 2.1a.75.75 0 1 0 1.1-1.02l-3.25-3.5a.75.75 0 0 0-1.1 0L6.2 9.74a.75.75 0 1 0 1.1 1.02l1.95-2.1v4.59Z\" clip-rule=\"evenodd\"/>`},Y7={close:{icon:Wde,category:`action`},add:{icon:Gde,category:`action`},edit:{icon:Kde,category:`action`},delete:{icon:qde,category:`action`},refresh:{icon:W7,category:`action`},copy:{icon:Jde,category:`action`},duplicate:{icon:Yde,category:`action`},settings:{icon:Xde,category:`action`},filter:{icon:Zde,category:`action`},share:{icon:Qde,category:`action`},expand:{icon:K7,category:`action`},collapse:{icon:G7,category:`action`},search:{icon:tfe,category:`action`},menu:{icon:nfe,category:`action`},run:{icon:kfe,category:`action`},check:{icon:Afe,category:`action`},link:{icon:ffe,category:`action`},eye:{icon:sfe,category:`action`},eyeOff:{icon:cfe,category:`action`},adjustments:{icon:lfe,category:`action`},desktop:{icon:ufe,category:`action`},table:{icon:dfe,category:`action`},sun:{icon:mfe,category:`action`},moon:{icon:hfe,category:`action`},ellipsisHorizontal:{icon:gfe,category:`action`},documentText:{icon:_fe,category:`action`},bookOpen:{icon:vfe,category:`action`},codeBracket:{icon:yfe,category:`action`},swatch:{icon:bfe,category:`action`},camera:{icon:xfe,category:`action`},thumbUp:{icon:Cfe,category:`action`},thumbDown:{icon:wfe,category:`action`},schemaGraph:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 20l-5.447-2.724A1 1 0 0 1 3 16.382V5.618a1 1 0 0 1 1.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0 0 21 18.382V7.618a1 1 0 0 0-.553-.894L15 4m0 13V4m0 0L9 7\"/>`},category:`action`},cube:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m20 7l-8-4l-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4\"/>`},category:`action`},download:{icon:Sfe,category:`action`},measure:{icon:Tfe,category:`field`},dimension:{icon:Efe,category:`field`},timeDimension:{icon:Dfe,category:`field`},segment:{icon:Ofe,category:`field`},chartBar:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14\"/>`},category:`chart`},chartLine:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>`},category:`chart`},chartArea:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4\"/>`},category:`chart`},chartPie:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8\"/><path d=\"M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5\"/></g>`},category:`chart`},chartScatter:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 3v18h18\"/><path d=\"M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2\"/></g>`},category:`chart`},chartBubble:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0\"/>`},category:`chart`},chartRadar:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m12 3l9.5 7L18 21H6L2.5 10z\"/><path d=\"m12 7.5l5.5 4L15 17H8.5l-2-5.5z\"/><path d=\"m2.5 10l9.5 3l9.5-3\"/><path d=\"M12 3v10l6 8M6 21l6-8\"/></g>`},category:`chart`},chartRadialBar:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0\"/><path d=\"M15.51 15.56A5 5 0 1 0 12 17\"/><path d=\"M18.832 17.86A9 9 0 1 0 12 21m0-9v9\"/></g>`},category:`chart`},chartTreemap:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4\"/>`},category:`chart`},chartTable:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18\"/>`},category:`chart`},chartActivityGrid:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M11.795 21H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4m-1 3v4h4\"/><path d=\"M14 18a4 4 0 1 0 8 0a4 4 0 1 0-8 0m1-15v4M7 3v4m-4 4h16\"/></g>`},category:`chart`},chartKpiNumber:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 17V7l7 10V7m4 10h5m-5-7a2.5 3 0 1 0 5 0a2.5 3 0 1 0-5 0\"/>`},category:`chart`},chartKpiDelta:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m3 17l6-6l4 4l8-8\"/><path d=\"M14 7h7v7\"/></g>`},category:`chart`},chartKpiText:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 20h3m7 0h7M6.9 15h6.9m-3.6-8.7L16 20M5 20l6-16h2l7 16\"/>`},category:`chart`},chartMarkdown:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 3v4a1 1 0 0 0 1 1h4\"/><path d=\"M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2zM9 9h1m-1 4h6m-6 4h6\"/></g>`},category:`chart`},chartFunnel:{icon:{body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"2\" y=\"3\" width=\"20\" height=\"4\" rx=\"1\"/>\n <rect x=\"4\" y=\"10\" width=\"16\" height=\"4\" rx=\"1\"/>\n <rect x=\"6\" y=\"17\" width=\"12\" height=\"4\" rx=\"1\"/>\n </g>`,width:24,height:24},category:`chart`},chartSankey:{icon:{body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <rect x=\"3\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"4\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"10.5\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <rect x=\"16\" y=\"17\" width=\"5\" height=\"3\" rx=\"0.75\"/>\n <path d=\"M8 5.5 C11 5.5, 13 5.5, 16 5.5\"/>\n <path d=\"M8 5.5 C10 5.5, 11 7, 12 9 C13 11, 14 12, 16 12\"/>\n <path d=\"M8 5.5 C10 5.5, 11 10, 12 14 C13 17, 14 18.5, 16 18.5\"/>\n </g>`,width:24,height:24},category:`chart`},chartSunburst:{icon:{width:24,height:24,body:`<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M8.848 14.667L5.5 17.5M12 3v5m4 4h5M3 12a9 9 0 1 0 18 0a9 9 0 1 0-18 0m11.219 3.328L17 19.5\"/><path d=\"M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0\"/></g>`},category:`chart`},chartHeatmap:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 6a2 2 0 1 0 4 0a2 2 0 1 0-4 0M4 12a2 2 0 1 0 4 0a2 2 0 1 0-4 0m0 6a2 2 0 1 0 4 0a2 2 0 1 0-4 0m12 0a2 2 0 1 0 4 0a2 2 0 1 0-4 0m-8 0h8m2 2v1m0-18v1M6 20v1m0-11V3m6 0v18m6-13v8M8 12h13m0-6h-1m-4 0H3m0 6h1m16 6h1M3 18h1m2-4v2\"/>`},category:`chart`},chartRetention:{icon:{body:`<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n \\x3C!-- Grid cells representing retention matrix -->\n <rect x=\"3\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"3\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"10\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"3\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"10\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n <rect x=\"17\" y=\"17\" width=\"4\" height=\"4\" rx=\"0.5\"/>\n </g>`,width:24,height:24},category:`chart`},measureCount:{icon:{width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M2 4.75A.75.75 0 0 1 2.75 4h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 4.75Zm0 10.5a.75.75 0 0 1 .75-.75h7.5a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1-.75-.75ZM2 10a.75.75 0 0 1 .75-.75h14.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 10Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureCountDistinct:{icon:{width:20,height:20,body:`<g fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6.625 2.655A9 9 0 0 1 19 11a1 1 0 1 1-2 0a7 7 0 0 0-9.625-6.492a1 1 0 1 1-.75-1.853ZM4.662 4.959A1 1 0 0 1 4.75 6.37A6.97 6.97 0 0 0 3 11a1 1 0 1 1-2 0a8.97 8.97 0 0 1 2.25-5.953a1 1 0 0 1 1.412-.088Z\"/><path d=\"M5 11a5 5 0 1 1 10 0a1 1 0 1 1-2 0a3 3 0 1 0-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 1 1-1.838-.789A9.964 9.964 0 0 0 5 11Zm8.921 2.012a1 1 0 0 1 .831 1.145a19.86 19.86 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 0 1 1.144-.83Z\"/><path d=\"M10 10a1 1 0 0 1 1 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 0 1-1.838-.789A13.952 13.952 0 0 0 9 11a1 1 0 0 1 1-1Z\"/></g>`},category:`measure`},measureCountDistinctApprox:{icon:{width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M4.25 2A2.25 2.25 0 0 0 2 4.25v11.5A2.25 2.25 0 0 0 4.25 18h11.5A2.25 2.25 0 0 0 18 15.75V4.25A2.25 2.25 0 0 0 15.75 2H4.25ZM15 5.75a.75.75 0 0 0-1.5 0v8.5a.75.75 0 0 0 1.5 0v-8.5Zm-8.5 6a.75.75 0 0 0-1.5 0v2.5a.75.75 0 0 0 1.5 0v-2.5ZM8.584 9a.75.75 0 0 1 .75.75v4.5a.75.75 0 0 1-1.5 0v-4.5a.75.75 0 0 1 .75-.75Zm3.58-1.25a.75.75 0 0 0-1.5 0v6.5a.75.75 0 0 0 1.5 0v-6.5Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureSum:{icon:{width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm1-11a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V7Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureAvg:{icon:jfe,category:`measure`},measureMin:{icon:q7,category:`measure`},measureMax:{icon:J7,category:`measure`},measureRunningTotal:{icon:{width:20,height:20,hidden:!0,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M12.577 4.878a.75.75 0 0 1 .919-.53l4.78 1.281a.75.75 0 0 1 .531.919l-1.281 4.78a.75.75 0 0 1-1.449-.387l.81-3.022a19.407 19.407 0 0 0-5.594 5.203a.75.75 0 0 1-1.139.093L7 10.06l-4.72 4.72a.75.75 0 0 1-1.06-1.061l5.25-5.25a.75.75 0 0 1 1.06 0l3.074 3.073a20.923 20.923 0 0 1 5.545-4.931l-3.042-.815a.75.75 0 0 1-.53-.919Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureCalculated:{icon:{width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2a1 1 0 0 0-.707 1.707L7 4.414v3.758a1 1 0 0 1-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0 1 13 8.172V4.414l.707-.707A1 1 0 0 0 13 2H7Zm2 6.172V4h2v4.172a3 3 0 0 0 .879 2.12l1.027 1.028a4 4 0 0 0-2.171.102l-.47.156a4 4 0 0 1-2.53 0l-.563-.187a1.993 1.993 0 0 0-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172Z\" clip-rule=\"evenodd\"/>`},category:`measure`},measureNumber:{icon:{width:20,height:20,body:`<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.243 3.03a1 1 0 0 1 .727 1.213L9.53 6h2.94l.56-2.243a1 1 0 1 1 1.94.486L14.53 6H17a1 1 0 1 1 0 2h-2.97l-1 4H15a1 1 0 1 1 0 2h-2.47l-.56 2.242a1 1 0 1 1-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 1 1-1.94-.485L5.47 14H3a1 1 0 1 1 0-2h2.97l1-4H5a1 1 0 1 1 0-2h2.47l.56-2.243a1 1 0 0 1 1.213-.727ZM9.03 8l-1 4h2.938l1-4H9.031Z\" clip-rule=\"evenodd\"/>`},category:`measure`},success:{icon:rfe,category:`state`},warning:{icon:ife,category:`state`},error:{icon:afe,category:`state`},info:{icon:Z5,category:`state`},loading:{icon:W7,category:`state`},sparkles:{icon:ofe,category:`state`},chevronUp:{icon:G7,category:`navigation`},chevronDown:{icon:K7,category:`navigation`},chevronLeft:{icon:$de,category:`navigation`},chevronRight:{icon:efe,category:`navigation`},chevronUpDown:{icon:{width:24,height:24,body:`<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m8 9l4-4l4 4m0 6l-4 4l-4-4\"/>`},category:`navigation`},arrowUp:{icon:J7,category:`navigation`},arrowDown:{icon:q7,category:`navigation`},arrowRight:{icon:pfe,category:`navigation`},arrowPath:{icon:W7,category:`navigation`}},X7=null,Z7=new Map;function Q7(e){let t=Z7.get(e);if(t)return t;let n=Y7[e];if(!n)return console.warn(`Icon \"${e}\" not found in registry, using fallback`),({className:e,...t})=>(0,q.jsx)(X5,{icon:Y7.info.icon,className:e,...t});let r=({className:e,...t})=>(0,q.jsx)(X5,{icon:n.icon,className:e,...t});return Z7.set(e,r),r}function Mfe(e){return Q7({count:`measureCount`,countDistinct:`measureCountDistinct`,countDistinctApprox:`measureCountDistinctApprox`,sum:`measureSum`,avg:`measureAvg`,min:`measureMin`,max:`measureMax`,runningTotal:`measureRunningTotal`,calculated:`measureCalculated`,number:`measureNumber`}[e||``]||`measureCount`)}function $7(e){let t={bar:`chartBar`,line:`chartLine`,area:`chartArea`,pie:`chartPie`,scatter:`chartScatter`,bubble:`chartBubble`,radar:`chartRadar`,radialBar:`chartRadialBar`,treemap:`chartTreemap`,table:`chartTable`,activityGrid:`chartActivityGrid`,kpiNumber:`chartKpiNumber`,kpiDelta:`chartKpiDelta`,kpiText:`chartKpiText`,markdown:`chartMarkdown`,funnel:`chartFunnel`,sankey:`chartSankey`,sunburst:`chartSunburst`,heatmap:`chartHeatmap`}[e];if(t)return Q7(t);if(X7){let t=X7(e);if(t)return t}return Q7(`chartBar`)}function Nfe(e){if(!e)return[];let t=[];return e.dimensions&&t.push(...e.dimensions),e.timeDimensions&&e.timeDimensions.forEach(e=>{t.includes(e.dimension)||t.push(e.dimension)}),e.measures&&t.push(...e.measures),t}function Pfe(e,t){if(!e?.timeDimensions?.length)return null;let n=e.timeDimensions.find(e=>e.granularity);if(!n?.granularity||!e.measures?.length)return null;let r,i;if(t&&t.length>0){r=t.filter(t=>!(t===n.dimension||e.measures?.includes(t)));let a=t.filter(t=>e.measures?.includes(t));i=a.length>0?a:e.measures}else r=e.dimensions||[],i=e.measures;return i.length===0?null:{timeDimension:n.dimension,granularity:n.granularity,dimensions:r,measures:i}}function Ffe(e,t,n){let r=new Set;return e.forEach(e=>{let i=e[t];if(i!=null){let e=_6(i,n);r.add(e)}}),Array.from(r).sort()}function Ife(e,t,n){let r=[];return e.measures.length>1&&r.push({key:`__measure__`,label:`Measure`,isTimeColumn:!1,isMeasureColumn:!0}),e.dimensions.forEach(e=>{r.push({key:e,label:n(e),isTimeColumn:!1})}),t.forEach(e=>{r.push({key:e,label:e,isTimeColumn:!0})}),r}function Lfe(e,t){let n=new Map;return e.forEach(e=>{let r=t.dimensions.length>0?t.dimensions.map(t=>String(e[t]??``)).join(`|`):`__all__`;n.has(r)||n.set(r,new Map);let i=e[t.timeDimension];if(i!=null){let a=_6(i,t.granularity);n.get(r).set(a,e)}}),n}function Rfe(e,t,n,r){let i=Lfe(e,t),a=Array.from(i.keys()),o=[],s=t.measures.length,c=a.length;return t.measures.forEach(e=>{a.forEach((a,l)=>{let u=i.get(a),d=s>1?`${e}|${a}`:a,f={},p=a===`__all__`?[]:a.split(`|`);t.dimensions.forEach((e,t)=>{f[e]=p[t]??``}),s>1&&(f.__measure__=r(e)),n.forEach(t=>{f[t]=u.get(t)?.[e]??null});let m=l===0,h=m&&s>1?c:void 0;o.push({id:d,measureField:e,values:f,isFirstInGroup:m,dimensionRowSpan:h})})}),o}function zfe(e,t,n,r){if(!e||e.length===0)return{isPivoted:!0,columns:[],rows:[]};let i=Ffe(e,t.timeDimension,t.granularity);return{isPivoted:!0,columns:Ife(t,i,n),rows:Rfe(e,t,i,n)}}function Bfe(e,t){if(t?.cubes)for(let n of t.cubes){let t=n.measures.find(t=>t.name===e);if(t)return t.type}}var e9=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=300}){let{t:a}=qv(),{getFieldLabel:o,meta:s}=Qae(),c=(0,z.useMemo)(()=>Pfe(r,t?.xAxis),[r,t?.xAxis]),l=n?.pivotTimeDimension!==!1,u=(0,z.useMemo)(()=>!c||!l?null:zfe(e,c,o,s),[e,c,l,o,s]);return!e||e.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:a(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:a(`chart.runtime.noDataHint.table`)})]})}):u?.isPivoted&&u.columns.length>0?(0,q.jsx)(Vfe,{pivotedData:u,height:i,meta:s,leftYAxisFormat:n?.leftYAxisFormat}):(0,q.jsx)(Ufe,{data:e,chartConfig:t,queryObject:r,height:i,getFieldLabel:o,leftYAxisFormat:n?.leftYAxisFormat})});function Vfe({pivotedData:e,height:t,meta:n,leftYAxisFormat:r}){let{t:i}=qv(),{columns:a,rows:o}=e;return a.length===0||o.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:t},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:i(`chart.runtime.noDataHint.table`)})]})}):(0,q.jsx)(`div`,{className:`dc:w-full dc:overflow-auto`,style:{height:t},children:(0,q.jsxs)(`table`,{className:`dc:min-w-full dc:divide-y border-dc-border`,children:[(0,q.jsx)(`thead`,{className:`bg-dc-surface-secondary dc:sticky dc:top-0`,children:(0,q.jsx)(`tr`,{children:a.map(e=>(0,q.jsx)(`th`,{className:`dc:px-3 dc:py-2 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider dc:whitespace-nowrap ${e.isTimeColumn?`dc:text-right`:`dc:text-left`}`,children:e.label},e.key))})}),(0,q.jsx)(`tbody`,{className:`bg-dc-surface dc:divide-y border-dc-border`,children:o.map(e=>(0,q.jsx)(Hfe,{row:e,columns:a,meta:n,leftYAxisFormat:r},e.id))})]})})}function Hfe({row:e,columns:t,meta:n,leftYAxisFormat:r}){let i=Mfe(Bfe(e.measureField,n));return(0,q.jsx)(`tr`,{className:`hover:bg-dc-surface-secondary`,children:t.map(t=>{let n=e.values[t.key];return t.isMeasureColumn?e.isFirstInGroup===!1?null:(0,q.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top`,rowSpan:e.dimensionRowSpan,children:(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center`,children:[(0,q.jsx)(i,{className:`dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0`}),(0,q.jsx)(`span`,{children:n})]})},t.key):t.isTimeColumn?(0,q.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text`,children:t9(n,r)},t.key):(0,q.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text`,children:t9(n)},t.key)})})}function t9(e,t){return e==null?`-`:typeof e==`number`?t?g6(e,t):Number.isInteger(e)?e.toLocaleString():parseFloat(e.toFixed(2)).toLocaleString():typeof e==`boolean`?e?`Yes`:`No`:String(e)}function Ufe({data:e,chartConfig:t,queryObject:n,height:r,getFieldLabel:i,leftYAxisFormat:a}){let{t:o}=qv(),s=Object.keys(e[0]||{}),c=(0,z.useMemo)(()=>{if(t?.xAxis&&t.xAxis.length>0)return t.xAxis.filter(e=>s.includes(e));let e=Nfe(n);if(e.length>0){let t=e.filter(e=>s.includes(e)),n=s.filter(e=>!t.includes(e));return[...t,...n]}return s},[t?.xAxis,n,s]);return c.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:`No columns available`}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.table.invalidStructure`)})]})}):(0,q.jsx)(`div`,{className:`dc:w-full dc:overflow-auto`,style:{height:r},children:(0,q.jsxs)(`table`,{className:`dc:min-w-full dc:divide-y border-dc-border`,children:[(0,q.jsx)(`thead`,{className:`bg-dc-surface-secondary dc:sticky dc:top-0`,children:(0,q.jsx)(`tr`,{children:c.map(e=>(0,q.jsx)(`th`,{className:`dc:px-3 dc:py-2 dc:text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider`,children:i(e)},e))})}),(0,q.jsx)(`tbody`,{className:`bg-dc-surface dc:divide-y border-dc-border`,children:e.map((e,t)=>(0,q.jsx)(`tr`,{className:`hover:bg-dc-surface-secondary`,children:c.map(t=>(0,q.jsx)(`td`,{className:`dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text`,children:Wfe(e[t],a)},t))},t))})]})})}function Wfe(e,t){return e==null?``:typeof e==`number`?t?g6(e,t):e.toLocaleString():typeof e==`boolean`?e?`Yes`:`No`:String(e)}function Gfe(e,t,n){let{data:r,seriesKeys:i}=y6(e,Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,Array.isArray(t.yAxis)?t.yAxis:[t.yAxis],n,t.series||[]);return{radarData:r,seriesKeys:i}}function n9(e){return typeof e==`string`?parseFloat(e):e||0}function Kfe(e,t){let n=e[0],r=Object.keys(n),i=r.find(e=>typeof n[e]==`string`||e.toLowerCase().includes(`subject`)||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`category`))||r[0],a=r.filter(e=>typeof n[e]==`number`&&e!==i);if(a.length===0)return{radarData:[],seriesKeys:[],noNumericFields:!0};if(i){let n=v6(t,i);return{radarData:e.map(e=>{let t={name:_6(e[i],n)||String(e[i])||`Unknown`};return a.forEach(n=>{let r=n.split(`.`).pop()||n;t[r]=n9(e[n])}),t}),seriesKeys:a.map(e=>e.split(`.`).pop()||e)}}return{radarData:e.map(e=>({name:String(e[r[0]]||`Unknown`),value:n9(e[a[0]])})),seriesKeys:[`value`]}}function qfe(e,t,n){return t?.xAxis&&t?.yAxis?Gfe(e,t,n):Kfe(e,n)}var Jfe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=qv(),[s,c]=(0,z.useState)(null);try{let l={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,showGrid:n?.showGrid??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,q.jsx)(S6,{height:i,hint:o(`chart.runtime.noDataHint.radar`)});let{radarData:u,seriesKeys:d,noNumericFields:f}=qfe(e,t,r);if(f)return(0,q.jsx)(C6,{height:i,hint:o(`chart.runtime.configErrorHint.radarNumeric`)});if(!u||u.length===0)return(0,q.jsx)(S6,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for radar chart after transformation`});let{leftYAxisFormat:p}=l;return(0,q.jsx)(d6,{height:i,children:(0,q.jsxs)(V3,{data:u,margin:{top:20,right:80,bottom:20,left:80},accessibilityLayer:!1,children:[l.showGrid&&(0,q.jsx)(RW,{}),(0,q.jsx)(HG,{dataKey:`name`,tick:{fontSize:12},className:`text-dc-text-muted`}),(0,q.jsx)(bG,{tick:{fontSize:10},className:`text-dc-text-muted`,tickFormatter:p?e=>g6(e,p):void 0}),l.showTooltip&&(0,q.jsx)(b6,{formatter:p?(e,t)=>[g6(e,p),t]:void 0}),l.showLegend&&d.length>1&&(0,q.jsx)(cO,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`rect`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.dataKey||``)),onMouseLeave:()=>c(null)}),d.map((e,t)=>{let n=a?.colors&&a.colors[t%a.colors.length]||E6[t%E6.length];return(0,q.jsx)(cY,{name:e,dataKey:e,stroke:n,fill:n,fillOpacity:s?s===e?.6:.1:.3,strokeOpacity:s?s===e?1:.3:1,strokeWidth:2},e)})]})})}catch(e){return(0,q.jsx)(w6,{height:i,chartType:`Radar Chart`,error:e})}});function r9(e,t){let n=e?.colors;return n&&n[t%n.length]||E6[t%E6.length]}function i9(e){return typeof e==`string`?parseFloat(e):e||0}function Yfe(e,t,n,r){let i=Array.isArray(t.xAxis)?t.xAxis[0]:t.xAxis,a=Array.isArray(t.yAxis)?t.yAxis[0]:t.yAxis,o=v6(n,i);return{radialData:e.map((e,t)=>({name:_6(e[i],o)||String(e[i])||`Unknown`,value:i9(e[a]),fill:r9(r,t)}))}}function Xfe(e){return typeof e==`boolean`?e?`Active`:`Inactive`:e===`true`||e===`false`?e===`true`?`Active`:`Inactive`:String(e)}function Zfe(e,t){let n=e[0],r=Object.keys(n),i=r.find(e=>typeof n[e]==`string`||e.toLowerCase().includes(`name`)||e.toLowerCase().includes(`label`)||e.toLowerCase().includes(`category`))||r[0],a=r.find(e=>typeof n[e]==`number`&&e!==i)||r[1];return a?{radialData:e.map((e,n)=>({name:Xfe(e[i]),value:i9(e[a]),fill:r9(t,n)}))}:{radialData:[],noValueField:!0}}function Qfe(e,t,n,r){let i=t?.xAxis&&t?.yAxis?Yfe(e,t,n,r):Zfe(e,r);return i.noValueField?i:{radialData:i.radialData.filter(e=>e.value!=null&&e.value!==0)}}var $fe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=qv(),[s,c]=(0,z.useState)(null);try{let l={showLegend:n?.showLegend??!0,showTooltip:n?.showTooltip??!0,leftYAxisFormat:n?.leftYAxisFormat};if(!e||e.length===0)return(0,q.jsx)(S6,{height:i,hint:o(`chart.runtime.noDataHint.radialBar`)});let{radialData:u,noValueField:d}=Qfe(e,t,r,a);if(d)return(0,q.jsx)(C6,{height:i,hint:o(`chart.runtime.configErrorHint.radialBarNumeric`)});if(u.length===0)return(0,q.jsx)(S6,{height:i,titleKey:`chart.runtime.noValidData`,hint:`No valid data points for radial bar chart after transformation`});let{leftYAxisFormat:f}=l;return(0,q.jsx)(d6,{height:i,children:(0,q.jsxs)(Z3,{data:u,innerRadius:`10%`,outerRadius:`80%`,margin:{top:20,right:30,bottom:20,left:30},accessibilityLayer:!1,children:[l.showTooltip&&(0,q.jsx)(b6,{formatter:f?(e,t)=>[g6(e,f),t]:void 0}),l.showLegend&&(0,q.jsx)(cO,{wrapperStyle:{fontSize:`12px`,paddingTop:`10px`},iconType:`circle`,iconSize:8,layout:`horizontal`,align:`center`,verticalAlign:`bottom`,onMouseEnter:e=>c(String(e.value||``)),onMouseLeave:()=>c(null)}),(0,q.jsx)(mX,{dataKey:`value`,cornerRadius:4,label:{position:`insideStart`,fill:`#fff`,fontSize:12,formatter:f?e=>g6(e,f):void 0},children:u.map((e,t)=>(0,q.jsx)(ZV,{fill:e.fill,fillOpacity:s?s===e.name?1:.3:1},`cell-${t}`))})]})})}catch(e){return(0,q.jsx)(w6,{height:i,chartType:`Radial Bar Chart`,error:e})}});function a9(){if(typeof window>`u`)return`light`;let e=localStorage.getItem(`theme`);if(e===`dark`||e===`neon`||e===`light`)return e;let t=document.documentElement.getAttribute(`data-theme`);return t===`dark`||t===`neon`?t:document.documentElement.classList.contains(`dark`)||document.body.classList.contains(`dark`)?`dark`:document.documentElement.classList.contains(`neon`)||document.body.classList.contains(`neon`)?`neon`:window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}function epe(e){typeof window>`u`||(document.documentElement.classList.remove(`dark`,`neon`),document.documentElement.setAttribute(`data-theme`,e),(e===`dark`||e===`neon`)&&document.documentElement.classList.add(e),localStorage.setItem(`theme`,e))}function o9(e){if(typeof window>`u`)return()=>{};let t=new MutationObserver(()=>{e(a9())});t.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`,`data-theme`]});let n=window.matchMedia(`(prefers-color-scheme: dark)`),r=()=>e(a9());return n.addEventListener(`change`,r),()=>{t.disconnect(),n.removeEventListener(`change`,r)}}var s9={listeners:new Set,subscribe(e){return this.listeners.add(e),()=>this.listeners.delete(e)},notify(){this.listeners.forEach(e=>e())}};o9(()=>{s9.notify()});function tpe(){return{theme:(0,z.useSyncExternalStore)(s9.subscribe.bind(s9),a9,a9),setTheme:(0,z.useCallback)(e=>{epe(e),s9.notify()},[])}}function c9(){let e=(0,z.useRef)(null),[t,n]=(0,z.useState)({width:0,height:0}),[r,i]=(0,z.useState)(!1);return(0,z.useLayoutEffect)(()=>{let t=0,r,a,o=()=>{if(e.current){let{width:t,height:r}=e.current.getBoundingClientRect();if(t>0&&r>0)return n({width:t,height:r}),i(!0),!0}return!1};if(!o()&&t<10){let e=()=>{!o()&&t<10&&(t++,a=setTimeout(()=>{r=requestAnimationFrame(e)},50*t))};r=requestAnimationFrame(e)}return()=>{r&&cancelAnimationFrame(r),a&&clearTimeout(a)}},[]),(0,z.useEffect)(()=>{let t=null,r=()=>{if(e.current){let{width:t,height:r}=e.current.getBoundingClientRect();t>0&&r>0&&(n({width:t,height:r}),i(e=>e||!0))}};return e.current&&(t=new ResizeObserver(()=>r()),t.observe(e.current),r()),window.addEventListener(`resize`,r),()=>{t&&t.disconnect(),window.removeEventListener(`resize`,r)}},[]),{containerRef:e,dimensions:t,dimensionsReady:r}}function npe(e){return{showLegend:e?.showLegend??!0,showGrid:e?.showGrid??!0,showTooltip:e?.showTooltip??!0,minBubbleSize:e?.minBubbleSize??5,maxBubbleSize:e?.maxBubbleSize??50,bubbleOpacity:e?.bubbleOpacity??.7,xAxisFormat:e?.xAxisFormat,leftYAxisFormat:e?.leftYAxisFormat}}function rpe(e){if(!e?.xAxis||!e?.yAxis||!e?.series)return null;let t=Array.isArray(e.xAxis)?e.xAxis[0]:e.xAxis,n=Array.isArray(e.yAxis)?e.yAxis[0]:e.yAxis,r=Array.isArray(e.series)?e.series[0]:e.series,i=(Array.isArray(e.sizeField)?e.sizeField[0]:e.sizeField)||n,a=Array.isArray(e.colorField)?e.colorField[0]:e.colorField;return!t||!n||!r||!i?null:{xAxisField:t,yAxisField:n,seriesField:r,sizeFieldName:i,colorFieldName:a}}function ipe(e,t,n){if(t&&e){let t=String(e),r;if(t.match(/^\\d{4}-\\d{2}-\\d{2}[T ]/)){let e=t;t.includes(` `)&&(e=t.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!e.endsWith(`Z`)&&!e.includes(`+`)&&(e+=`Z`),r=new Date(e)}else r=new Date(t);return{xNum:isNaN(r.getTime())?parseFloat(t):r.getTime(),xLabel:_6(e,n)}}let r=_6(e,n)||e;return{xNum:typeof r==`string`?parseFloat(r):r,xLabel:String(r)}}function ape(e,t,n){let{xAxisField:r,yAxisField:i,sizeFieldName:a,seriesField:o,colorFieldName:s}=t,c=v6(n,r),l=n?.timeDimensions?.some(e=>e.dimension===r)||!1;return e.map(e=>{let{xNum:t,xLabel:n}=ipe(e[r],l,c),u=m6(e[i]),d=m6(e[a]),f=e[o];return{x:t,xLabel:n,y:u,size:d===null?0:Math.abs(d),color:s?e[s]:f,series:f,label:`${f||`Unknown`}`,isValid:p6(t)&&u!==null&&d!==null&&d>0}}).filter(e=>e.isValid&&e.size>0).map(({isValid:e,...t})=>t)}function l9(e,t){return getComputedStyle(document.documentElement).getPropertyValue(e).trim()||t}function ope(e){return{textColor:e?l9(`--dc-text-muted`,`#cbd5e1`):l9(`--dc-text-secondary`,`#374151`),gridColor:e?l9(`--dc-border`,`#475569`):`#9ca3af`}}function spe(e,t,n){if(t&&e.length>0){let t=e.map(e=>typeof e.color==`string`?parseFloat(e.color):e.color).filter(e=>!isNaN(e)),r=t.length===e.length&&t.every(e=>typeof e==`number`);if(r)return{colorScale:xF().domain([Math.min(...t),Math.max(...t)]).range(n?.gradient||D6),isNumericColorField:r,uniqueColors:[]};let i=[...new Set(e.map(e=>String(e.color)))];return{colorScale:qM().domain(i).range(n?.colors||E6),isNumericColorField:r,uniqueColors:i}}return{colorScale:qM().domain([`default`]).range([E6[0]]),isNumericColorField:!1,uniqueColors:[]}}function cpe(e,t){let n=new Date(e);if(isNaN(n.getTime()))return String(e);let r=n.getUTCFullYear(),i=String(n.getUTCMonth()+1).padStart(2,`0`),a=String(n.getUTCDate()).padStart(2,`0`);switch(t?.toLowerCase()){case`year`:return String(r);case`quarter`:return`${r}-Q${Math.floor(n.getUTCMonth()/3)+1}`;case`month`:return`${r}-${i}`;case`week`:case`day`:return`${r}-${i}-${a}`;case`hour`:return`${i}-${a} ${String(n.getUTCHours()).padStart(2,`0`)}:00`;default:return`${r}-${i}`}}function lpe(e,t,n,r,i,a){let o=e=>{e.selectAll(`line`).style(`stroke`,a).style(`stroke-dasharray`,`3,3`).style(`opacity`,.3),e.select(`.domain`).style(`stroke`,`none`)};o(e.append(`g`).attr(`transform`,`translate(0,${i})`).call(t8(t).tickSize(-i).tickFormat(()=>``))),o(e.append(`g`).call(n8(n).tickSize(-r).tickFormat(()=>``)))}function upe(e,t,n,r,i,a,o,s){let{fields:c,options:l,queryObject:u,getFieldLabel:d}=e,f=u?.timeDimensions?.some(e=>e.dimension===c.xAxisField)||!1,p=u?.timeDimensions?.find(e=>e.dimension===c.xAxisField)?.granularity,m=t8(n);f?m.tickFormat(e=>cpe(e,p)):l.xAxisFormat&&m.tickFormat(e=>g6(e,l.xAxisFormat));let h=t.append(`g`).attr(`transform`,`translate(0,${a})`).call(m);h.selectAll(`text`).style(`fill`,o),h.selectAll(`line, path`).style(`stroke`,s),h.append(`text`).attr(`x`,i/2).attr(`y`,35).attr(`fill`,o).style(`text-anchor`,`middle`).style(`font-size`,`12px`).text(l.xAxisFormat?.label||d(c.xAxisField));let g=n8(r);l.leftYAxisFormat&&g.tickFormat(e=>g6(e,l.leftYAxisFormat));let _=t.append(`g`).call(g);_.selectAll(`text`).style(`fill`,o),_.selectAll(`line, path`).style(`stroke`,s),_.append(`text`).attr(`transform`,`rotate(-90)`).attr(`y`,-35).attr(`x`,-a/2).attr(`fill`,o).style(`text-anchor`,`middle`).style(`font-size`,`12px`).text(l.leftYAxisFormat?.label||d(c.yAxisField))}function dpe(){return E8(`body`).append(`div`).attr(`class`,`bubble-chart-tooltip`).style(`position`,`absolute`).style(`padding`,`8px`).style(`background`,`rgba(0, 0, 0, 0.8)`).style(`color`,`white`).style(`border-radius`,`4px`).style(`font-size`,`12px`).style(`pointer-events`,`none`).style(`opacity`,0).style(`z-index`,1e3)}function fpe(e,t){let{fields:n,options:r,getFieldLabel:i}=e,a=e=>r.leftYAxisFormat?g6(e,r.leftYAxisFormat):e;return[`<strong>${t.series||`Unknown`}</strong>`,`${i(n.xAxisField)}: ${t.xLabel||(r.xAxisFormat?g6(t.x,r.xAxisFormat):t.x)}`,`${i(n.yAxisField)}: ${a(t.y)}`,`${i(n.sizeFieldName)}: ${a(t.size)}`,n.colorFieldName&&t.color?`${i(n.colorFieldName)}: ${t.color}`:``].filter(Boolean).join(`<br>`)}function ppe(e,t,n,r){t.on(`mouseover`,function(t,i){E8(this).transition().duration(200).style(`opacity`,1).attr(`r`,r(i.size)*1.1),n.html(fpe(e,i)).style(`left`,t.pageX+10+`px`).style(`top`,t.pageY-10+`px`).transition().duration(200).style(`opacity`,1)}).on(`mousemove`,function(e){n.style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`)}).on(`mouseout`,function(t,i){E8(this).transition().duration(200).style(`opacity`,e.options.bubbleOpacity).attr(`r`,r(i.size)),n.transition().duration(200).style(`opacity`,0)})}function mpe(e,t,n,r,i,a){let{bubbleData:o,fields:s,options:c,colorPalette:l,getFieldLabel:u}=e,d=Math.min(...o.map(e=>e.color)),f=Math.max(...o.map(e=>e.color)),p=e=>c.leftYAxisFormat?g6(e,c.leftYAxisFormat):e.toFixed(2),m=n.append(`g`).attr(`class`,`color-legend`).attr(`transform`,`translate(${r/2-200/2}, ${i+60})`),h=t.append(`defs`).append(`linearGradient`).attr(`id`,`color-scale-gradient`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`),g=l?.gradient||D6;g.forEach((e,t)=>{h.append(`stop`).attr(`offset`,`${t/(g.length-1)*100}%`).attr(`stop-color`,e)}),m.append(`rect`).attr(`width`,200).attr(`height`,20).style(`fill`,`url(#color-scale-gradient)`).style(`stroke`,`#ccc`).style(`stroke-width`,1),m.append(`text`).attr(`x`,0).attr(`y`,35).attr(`text-anchor`,`start`).style(`font-size`,`11px`).style(`fill`,a).text(p(d)),m.append(`text`).attr(`x`,200).attr(`y`,35).attr(`text-anchor`,`end`).style(`font-size`,`11px`).style(`fill`,a).text(p(f)),m.append(`text`).attr(`x`,200/2).attr(`y`,-5).attr(`text-anchor`,`middle`).style(`font-size`,`12px`).style(`font-weight`,`bold`).style(`fill`,a).text(u(s.colorFieldName))}function hpe(e,t,n,r,i,a,o,s){let{fields:c,options:l}=e;if(a.length===0)return;let u=t.append(`g`).attr(`class`,`legend`).attr(`transform`,`translate(${n/2-a.length*80/2}, ${r+60})`).selectAll(`.legend-item`).data(a).enter().append(`g`).attr(`class`,`legend-item`).attr(`transform`,(e,t)=>`translate(${t*80}, 0)`).style(`cursor`,`pointer`);u.append(`circle`).attr(`cx`,5).attr(`cy`,5).attr(`r`,5).style(`fill`,e=>o(e)).style(`opacity`,l.bubbleOpacity),u.append(`text`).attr(`x`,15).attr(`y`,5).attr(`dy`,`.35em`).style(`font-size`,`11px`).style(`fill`,i).text(e=>String(e)),u.on(`mouseover`,function(e,t){s.transition().duration(200).style(`opacity`,e=>c.colorFieldName&&String(e.color)===t?1:.2)}).on(`mouseout`,function(){s.transition().duration(200).style(`opacity`,l.bubbleOpacity)})}function gpe(e){let{svgEl:t,bubbleData:n,fields:r,options:i,dimensions:a,colorPalette:o,isDark:s}=e;if(E8(t).selectAll(`*`).remove(),n.length===0)return;let c={...O6,left:O6.left+30,bottom:i.showLegend&&r.colorFieldName?100:40},l=a.width-c.left-c.right,u=a.height-c.top-c.bottom,d=E8(t).attr(`width`,a.width).attr(`height`,a.height),f=d.append(`g`).attr(`transform`,`translate(${c.left},${c.top})`),p=JP().domain(SM(n,e=>e.x)).range([0,l]).nice(),m=JP().domain(SM(n,e=>e.y)).range([u,0]).nice(),h=gF().domain([0,LM(n,e=>e.size)]).range([i.minBubbleSize,i.maxBubbleSize]),{colorScale:g,isNumericColorField:_,uniqueColors:v}=spe(n,r.colorFieldName,o),{textColor:y,gridColor:b}=ope(s);i.showGrid&&lpe(f,p,m,l,u,b),upe(e,f,p,m,l,u,y,b);let x=dpe(),S=f.selectAll(`.bubble`).data(n).enter().append(`circle`).attr(`class`,`bubble`).attr(`cx`,e=>p(e.x)).attr(`cy`,e=>m(e.y)).attr(`r`,e=>h(e.size)).style(`fill`,e=>r.colorFieldName&&e.color!==void 0?g(_?e.color:String(e.color)):E6[0]).style(`opacity`,i.bubbleOpacity).style(`stroke`,`#fff`).style(`stroke-width`,1).style(`cursor`,`pointer`);return i.showTooltip&&ppe(e,S,x,h),i.showLegend&&r.colorFieldName&&(_?mpe(e,d,f,l,u,y):hpe(e,f,l,u,y,v,g,S)),()=>{x.remove()}}var _pe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a}){let{t:o}=qv(),s=z.useRef(null),{containerRef:c,dimensions:l,dimensionsReady:u}=c9(),{theme:d}=tpe(),f=z6(),p=(0,z.useMemo)(()=>npe(n),[n]);return(0,z.useEffect)(()=>{if(!e||e.length===0||!s.current||!u||l.width===0)return;let n=rpe(t);if(!n)return;let i=ape(e,n,r);return gpe({svgEl:s.current,bubbleData:i,fields:n,options:p,dimensions:l,queryObject:r,colorPalette:a,isDark:d!==`light`,getFieldLabel:f})},[e,t,p,r,l,u,a,d,f]),!e||e.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.bubble`)})]})}):t?.xAxis&&t?.yAxis&&t?.series?(0,q.jsx)(`div`,{className:`dc:w-full dc:flex-1 dc:flex dc:flex-col dc:relative`,style:{height:i,minHeight:`250px`,overflow:`hidden`},children:(0,q.jsxs)(`div`,{ref:c,className:`dc:w-full dc:h-full dc:relative`,children:[(0,q.jsx)(`svg`,{ref:s,className:`dc:w-full dc:h-full`}),!u&&(0,q.jsx)(`div`,{className:`dc:absolute dc:inset-0 dc:flex dc:items-center dc:justify-center`,children:(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:text-sm`,children:o(`chart.runtime.measuringDimensions`)})})]})}):(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.activityGridConfigRequired`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:o(`chart.runtime.configErrorHint.bubbleRequired`)}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mt-1`,children:o(`chart.runtime.configErrorHint.bubbleOptional`)})]})})});function u9(e){if(e==null)return`-`;if(e<60)return`${Math.round(e)}s`;if(e<3600){let t=e/60;return t<10?`${t.toFixed(1)}m`:`${Math.round(t)}m`}if(e<86400){let t=e/3600;return t<10?`${t.toFixed(1)}h`:`${Math.round(t)}h`}let t=e/86400;return t<10?`${t.toFixed(1)}d`:`${Math.round(t)}d`}function vpe(e){if(!e||e.length===0)return!1;let t=e[0];return typeof t==`object`&&!!t&&`name`in t&&`value`in t&&`percentage`in t}function d9(e,t,n,r){let i=[];return t&&e.avgSecondsToConvert!=null&&i.push(`Avg: ${u9(e.avgSecondsToConvert)}`),n&&e.medianSecondsToConvert!=null&&i.push(`Med: ${u9(e.medianSecondsToConvert)}`),r&&e.p90SecondsToConvert!=null&&i.push(`P90: ${u9(e.p90SecondsToConvert)}`),i}function ype(e){return!e||e.length===0?[]:vpe(e)?e:e.map((e,t)=>{let n=e,r=Object.keys(n).find(e=>e.toLowerCase().includes(`step`)||e.toLowerCase().includes(`name`)||e===`__stepName`),i=r?String(n[r]):`Step ${t+1}`,a=Object.keys(n).find(e=>e.toLowerCase().includes(`count`)||e.toLowerCase().includes(`value`)||e===`__count`),o=a&&Number(n[a])||0,s=Object.keys(n).find(e=>e.toLowerCase().includes(`percent`)||e===`__percentage`),c=s&&Number(n[s])||0,l=Object.keys(n).find(e=>e.toLowerCase().includes(`conversion`)||e===`__conversionRate`);return{name:i,value:o,percentage:c,conversionRate:l&&Number(n[l])||null,stepIndex:t}})}function bpe(e){return{customStepLabels:e?.funnelStepLabels,isVertical:(e?.funnelOrientation||`horizontal`)===`vertical`,funnelStyle:e?.funnelStyle??`bars`,showConversion:e?.showFunnelConversion??!0,showAvgTime:e?.showFunnelAvgTime??e?.showFunnelTimeMetrics??!1,showMedianTime:e?.showFunnelMedianTime??!1,showP90Time:e?.showFunnelP90Time??!1,hideSummaryFooter:e?.hideSummaryFooter??!1}}function f9(e,t){return t[e%t.length]}function p9({funnelData:e,firstStepValue:t}){let{t:n}=qv(),r=e[e.length-1]?.value||0;return(0,q.jsx)(`div`,{className:`dc:flex-shrink-0 dc:px-4 dc:py-2 dc:border-t border-dc-border bg-dc-surface-secondary`,children:(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:justify-between dc:text-sm`,children:[(0,q.jsxs)(`div`,{className:`text-dc-text-muted`,children:[(0,q.jsx)(`span`,{className:`dc:font-medium`,children:e.length}),` steps`]}),(0,q.jsxs)(`div`,{className:`text-dc-text`,children:[(0,q.jsx)(`span`,{className:`text-dc-text-muted`,children:n(`chart.runtime.funnel.overall`)}),` `,(0,q.jsx)(`span`,{className:`dc:font-medium`,children:t>0?`${(r/t*100).toFixed(1)}%`:`0%`})]}),(0,q.jsxs)(`div`,{className:`text-dc-text-muted`,children:[r.toLocaleString()||0,` / `,t.toLocaleString(),` completed`]})]})})}function m9({stepConversionRate:e,arrow:t,showConversion:n,timeMetricsLines:r}){return e===null?(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:`—`}):(0,q.jsxs)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:[n&&(0,q.jsxs)(`span`,{children:[t,` `,e.toFixed(1),`%`]}),r.length>0&&(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:mt-0.5 dc:space-y-0.5`,children:r.map((e,t)=>(0,q.jsxs)(`div`,{children:[`⏱ `,e]},t))})]})}function xpe({funnelData:e,firstStepValue:t,paletteColors:n,options:r,height:i}){let a=r.isVertical?`horizontal`:`vertical`;return(0,q.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:i},children:[(0,q.jsx)(`div`,{className:`dc:flex-1`,children:(0,q.jsx)(zE,{width:`100%`,height:`100%`,children:(0,q.jsxs)(Aae,{layout:a,accessibilityLayer:!1,children:[(0,q.jsx)(XV,{formatter:e=>typeof e==`number`?e.toLocaleString():String(e),contentStyle:{backgroundColor:`var(--dc-surface)`,border:`1px solid var(--dc-border)`,borderRadius:`4px`}}),(0,q.jsxs)(l6,{dataKey:`value`,nameKey:`name`,data:e,isAnimationActive:!0,children:[e.map((e,t)=>(0,q.jsx)(ZV,{fill:f9(t,n)},`cell-${t}`)),(0,q.jsx)(GU,{position:`right`,dataKey:`name`,fill:`var(--dc-text)`,style:{fontSize:`12px`}}),(0,q.jsx)(GU,{position:`center`,dataKey:`percentage`,formatter:e=>typeof e==`number`?`${e.toFixed(1)}%`:String(e),fill:`#fff`,style:{fontSize:`11px`,fontWeight:500}})]})]})})}),!r.hideSummaryFooter&&(0,q.jsx)(p9,{funnelData:e,firstStepValue:t})]})}function Spe({funnelData:e,firstStepValue:t,paletteColors:n,options:r,height:i}){return(0,q.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:i},children:[(0,q.jsx)(`div`,{className:`dc:flex-1 dc:flex dc:items-end dc:justify-center dc:gap-4 dc:px-4 dc:py-3 dc:overflow-hidden`,children:e.map((i,a)=>{let o=t>0?i.value/t*100:0,s=a>0?e[a-1]:null,c=s&&s.value>0?i.value/s.value*100:null,l=r.customStepLabels?.[a]||i.name,u=d9(i,r.showAvgTime,r.showMedianTime,r.showP90Time),d=u.length;return(0,q.jsxs)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:gap-2 dc:flex-1 dc:max-w-32 dc:h-full`,children:[(0,q.jsx)(`div`,{className:`${d>0?d>1?`dc:min-h-16`:`dc:min-h-10`:`dc:h-5`} dc:flex-shrink-0 dc:text-center`,children:(0,q.jsx)(m9,{stepConversionRate:c,arrow:`→`,showConversion:r.showConversion,timeMetricsLines:u})}),(0,q.jsxs)(`div`,{className:`dc:flex-1 dc:w-full dc:relative dc:min-h-12`,children:[(0,q.jsx)(`div`,{className:`dc:absolute dc:inset-0 bg-dc-surface-secondary dc:rounded-sm`}),(0,q.jsx)(`div`,{className:`dc:absolute dc:bottom-0 dc:left-0 dc:right-0 dc:rounded-sm dc:transition-all dc:duration-300`,style:{height:`${Math.max(o,5)}%`,backgroundColor:f9(a,n)}}),(0,q.jsx)(`div`,{className:`dc:absolute dc:bottom-0 dc:left-0 dc:right-0 dc:flex dc:items-end dc:justify-center dc:pb-1 dc:pointer-events-none`,style:{height:`${Math.max(o,20)}%`},children:(0,q.jsxs)(`span`,{className:`dc:text-xs dc:font-medium text-white dc:drop-shadow-sm`,children:[i.percentage?.toFixed(1)??o.toFixed(1),`%`]})})]}),(0,q.jsxs)(`div`,{className:`dc:flex-shrink-0 dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-medium text-dc-text dc:truncate`,title:l,children:l}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:i.value.toLocaleString()})]})]},i.name)})}),!r.hideSummaryFooter&&(0,q.jsx)(p9,{funnelData:e,firstStepValue:t})]})}function Cpe({funnelData:e,firstStepValue:t,paletteColors:n,options:r,height:i}){return(0,q.jsxs)(`div`,{className:`dc:relative dc:w-full dc:h-full dc:flex dc:flex-col`,style:{height:i},children:[(0,q.jsx)(`div`,{className:`dc:flex-1 dc:flex dc:flex-col dc:justify-center dc:gap-2 dc:px-4 dc:py-3 dc:overflow-hidden`,children:e.map((i,a)=>{let o=t>0?i.value/t*100:0,s=a>0?e[a-1]:null,c=s&&s.value>0?i.value/s.value*100:null,l=r.customStepLabels?.[a]||i.name,u=d9(i,r.showAvgTime,r.showMedianTime,r.showP90Time),d=u.length;return(0,q.jsxs)(`div`,{className:`dc:flex dc:items-center dc:gap-3`,children:[(0,q.jsxs)(`div`,{className:`dc:w-24 dc:flex-shrink-0 dc:text-right`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-medium text-dc-text dc:truncate`,title:l,children:l}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:i.value.toLocaleString()})]}),(0,q.jsxs)(`div`,{className:`dc:flex-1 dc:relative`,children:[(0,q.jsx)(`div`,{className:`dc:w-full dc:h-8 bg-dc-surface-secondary dc:rounded-sm`}),(0,q.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:left-0 dc:h-8 dc:rounded-sm dc:transition-all dc:duration-300`,style:{width:`${Math.max(o,2)}%`,backgroundColor:f9(a,n)}}),(0,q.jsx)(`div`,{className:`dc:absolute dc:top-0 dc:left-0 dc:h-8 dc:flex dc:items-center dc:px-2 dc:pointer-events-none`,style:{width:`${Math.max(o,20)}%`},children:(0,q.jsxs)(`span`,{className:`dc:text-xs dc:font-medium text-white dc:drop-shadow-sm`,children:[i.percentage?.toFixed(1)??o.toFixed(1),`%`]})})]}),(0,q.jsx)(`div`,{className:`${d>0?d>1?`dc:w-36`:`dc:w-28`:`dc:w-16`} dc:flex-shrink-0 dc:text-left`,children:(0,q.jsx)(m9,{stepConversionRate:c,arrow:`↓`,showConversion:r.showConversion,timeMetricsLines:u})})]},i.name)})}),!r.hideSummaryFooter&&(0,q.jsx)(p9,{funnelData:e,firstStepValue:t})]})}var wpe=z.memo(function({data:e,height:t=`100%`,colorPalette:n,displayConfig:r}){let{t:i}=qv(),a=bpe(r),o=(0,z.useMemo)(()=>ype(e),[e]),s=o[0]?.value||0;if(!e||e.length===0||o.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:t},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:i(`chart.runtime.funnel.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:i(`chart.runtime.noDataHint.funnel`)})]})});let c={funnelData:o,firstStepValue:s,paletteColors:n?.colors||E6,options:a,height:t};return a.funnelStyle===`funnel`?(0,q.jsx)(xpe,{...c}):a.isVertical?(0,q.jsx)(Spe,{...c}):(0,q.jsx)(Cpe,{...c})}),h9=`#22c55e`,g9=`#ef4444`,_9=`#6366f1`,Tpe=`#94a3b8`;function Epe(e,t,n,r,i){let a=0,o=e.map((e,r)=>{let i=String(e[t]??`Row ${r+1}`),o=e[n],s=typeof o==`number`?o:parseFloat(String(o??``)),c=isNaN(s)?0:s,l=c<0,u=l?a+c:a,d={label:i,value:Math.abs(c),runningBase:u,isTotal:!1,isNegative:l,displayValue:c,originalIndex:r};return a+=c,d});if(r){let e=i(n)||`Total`;o.push({label:e,value:Math.abs(a),runningBase:a>=0?0:a,isTotal:!0,isNegative:a<0,displayValue:a,originalIndex:o.length})}return o}function Dpe(e){let{x:t=0,y:n=0,width:r=0,value:i=0,isNegative:a,displayValue:o}=e;if(o==null)return null;let s=Number(o),c=a||s<0?n+i+14:n-6;return(0,q.jsxs)(`text`,{x:t+r/2,y:c,fill:`currentColor`,textAnchor:`middle`,fontSize:11,children:[s>=0?`+`:``,s.toLocaleString()]})}var Ope=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,onDataPointClick:i,drillEnabled:a}){let{t:o}=qv(),s=z6(),c=n?.showTotal??!0,l=n?.showConnectorLine??!0,u=n?.showDataLabels??!1,d=n?.leftYAxisFormat,{xAxisField:f,yAxisField:p,configError:m}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.x,n=Array.isArray(t?.yAxis)?t.yAxis[0]:t?.y?.[0];return{xAxisField:e,yAxisField:n,configError:!e||!n?`Waterfall chart requires an X-axis dimension and a Y-axis measure`:null}},[t]),h=(0,z.useMemo)(()=>m||!e||e.length===0||!f||!p?[]:Epe(e,f,p,c,s),[e,f,p,c,s,m]),g=(0,z.useMemo)(()=>!l||h.length===0?[]:h.map(e=>{let t=e.isNegative?e.runningBase:e.runningBase+e.value;return{label:e.label,_connector:t}}),[h,l]),_=(0,z.useMemo)(()=>h.map((e,t)=>({...e,_connector:g[t]?._connector})),[h,g]);try{return!e||e.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.waterfall`)})]})}):m?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:m})]})}):(0,q.jsx)(`div`,{className:`dc:relative dc:w-full`,style:{height:r},children:(0,q.jsx)(d6,{height:`100%`,children:(0,q.jsxs)($3,{data:_,margin:{...O6,left:40},accessibilityLayer:!1,children:[(0,q.jsx)(QZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(D0,{dataKey:`label`,type:`category`,tick:(0,q.jsx)(x6,{}),height:60}),(0,q.jsx)(H0,{tick:{fontSize:12},tickFormatter:d?e=>g6(e,d):void 0}),(0,q.jsx)(b6,{formatter:(e,t,n)=>{if(t===`_connector`)return[``,``];let r=n?.payload;if(!r)return[e,t];let i=r.displayValue??e;return[d?g6(i,d):i?.toLocaleString?.()??i,r.isTotal?`Total`:r.isNegative?`Decrease`:`Increase`]},labelFormatter:e=>e}),(0,q.jsx)(cO,{wrapperStyle:{fontSize:`12px`,paddingTop:`8px`},payload:[{value:`Increase`,type:`rect`,color:h9},{value:`Decrease`,type:`rect`,color:g9},...c?[{value:`Total`,type:`rect`,color:_9}]:[]]}),(0,q.jsx)(A1,{dataKey:`runningBase`,stackId:`wf`,fill:`transparent`,legendType:`none`,isAnimationActive:!1}),(0,q.jsxs)(A1,{dataKey:`value`,stackId:`wf`,isAnimationActive:!1,cursor:a?`pointer`:void 0,onClick:(e,t,n)=>{i&&a&&e&&!e.isTotal&&i({dataPoint:e,clickedField:p,xValue:e.label,position:{x:n.clientX,y:n.clientY},nativeEvent:n})},children:[u&&(0,q.jsx)(GU,{dataKey:`displayValue`,content:e=>(0,q.jsx)(Dpe,{...e,runningBase:_[e.index]?.runningBase,isNegative:_[e.index]?.isNegative,displayValue:_[e.index]?.displayValue})}),_.map((e,t)=>(0,q.jsx)(ZV,{fill:e.isTotal?_9:e.isNegative?g9:h9},`cell-${t}`))]}),l&&(0,q.jsx)(GQ,{type:`stepAfter`,dataKey:`_connector`,stroke:Tpe,strokeWidth:1.5,strokeDasharray:`4 2`,dot:!1,activeDot:!1,legendType:`none`,isAnimationActive:!1})]})})})}catch(e){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Waterfall Chart`})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}}),v9=-Math.PI*.75,y9=Math.PI*.75,kpe=`#e2e8f0`,b9=`#6366f1`;function x9(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function S9(e,t,n){return Math.max(t,Math.min(n,e))}function C9(e,t,n){let r=n===t?1:n-t;return v9+S9((e-t)/r,0,1)*(y9-v9)}function Ape(e,t){let n=[...t].sort((e,t)=>e.value-t.value),r=b9;for(let t of n)e>=t.value&&(r=t.color);return r}function w9(e,t,n,r){return Wy()({innerRadius:e,outerRadius:t,startAngle:n,endAngle:r})??``}function jpe(e){return typeof e==`object`&&!!e&&typeof e.value==`number`&&typeof e.color==`string`}function Mpe(e){let t=null;if(Array.isArray(e))t=e;else if(typeof e==`string`&&e.trim())try{let n=JSON.parse(e);Array.isArray(n)&&(t=n)}catch(e){return console.warn(`GaugeChart: invalid threshold JSON`,e),[]}return t?t.filter(jpe):[]}function Npe(e){if(e.length===0)return[];let t=[...e].sort((e,t)=>e.value-t.value);return t.map((e,n)=>({color:e.color,start:n===0?v9:C9(t[n-1].value,0,1),end:C9(e.value,0,1)}))}function Ppe(e,t,n,r){let i=n===t?t+1:n,a=S9(e,t,i),o=(a-t)/(i-t),s=r.length>0?Ape(o,r):b9,c=C9(a,t,i);return{effectiveMax:i,clampedValue:a,fraction:o,fillColor:s,fillAngle:c,needleAngle:c}}function T9(e,t){return t?g6(e,t):e.toLocaleString()}function Fpe({angle:e,radius:t}){let n=t*.72,r=t*.06,i=Math.cos(e-Math.PI/2)*n,a=Math.sin(e-Math.PI/2)*n;return(0,q.jsxs)(`g`,{\"data-testid\":`gauge-needle`,children:[(0,q.jsx)(`circle`,{r,fill:`currentColor`,className:`text-dc-text-secondary`}),(0,q.jsx)(`line`,{x1:0,y1:0,x2:i,y2:a,stroke:`currentColor`,strokeWidth:3,strokeLinecap:`round`,className:`text-dc-text-secondary`})]})}var Ipe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`}){let{t:i}=qv(),a=z6(),o=(0,z.useRef)(null),[s,c]=(0,z.useState)({width:0,height:0});(0,z.useLayoutEffect)(()=>{let e=o.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&c({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&c({width:n.width,height:n.height}),()=>t.disconnect()},[]);let{valueField:l,maxField:u,configError:d}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.yAxis)?t.yAxis:[],n=e[0]??``,r=e[1]??``;return n?{valueField:n,maxField:r,configError:null}:{valueField:n,maxField:r,configError:`Gauge requires at least 1 measure in Y-Axis (current value)`}},[t]),f=(0,z.useMemo)(()=>Mpe(n?.thresholds),[n?.thresholds]),p=Npe(f);try{if(!e||e.length===0)return(0,q.jsx)(S6,{height:r,hint:i(`chart.runtime.noDataHint.gauge`)});if(d)return(0,q.jsx)(C6,{height:r,hint:d});let t=e[0],c=x9(t[l]);if(c===null)return(0,q.jsx)(S6,{height:r,titleKey:`chart.runtime.noValidData`,hint:i(`chart.runtime.noValidDataHint.gauge`)});let m=n?.minValue??0,h=u?x9(t[u]):null,{effectiveMax:g,fraction:_,fillColor:v,fillAngle:y,needleAngle:b}=Ppe(c,m,n?.maxValue??h??100,f),x=n?.showCenterLabel??!0,S=n?.showPercentage??!1,C=n?.leftYAxisFormat,w=s.width||300,T=typeof r==`number`?r:s.height||200,E=Math.min(w/2,T*.9)*.85,D=E,O=E*.6,k=w/2,ee=T*.7,te=w9(O,D,v9,y9),ne=w9(O,D,v9,y),A=S?`${(_*100).toFixed(1)}%`:T9(c,C),re=a(l);return(0,q.jsx)(`div`,{ref:o,className:`dc:relative dc:w-full`,style:{height:r},children:(0,q.jsx)(`svg`,{width:`100%`,height:`100%`,viewBox:`0 0 ${w} ${T}`,preserveAspectRatio:`xMidYMid meet`,\"data-testid\":`gauge-svg`,children:(0,q.jsxs)(`g`,{transform:`translate(${k}, ${ee})`,children:[(0,q.jsx)(`path`,{d:te,fill:kpe,\"data-testid\":`gauge-track`}),p.map((e,t)=>(0,q.jsx)(`path`,{d:w9(D+4,D+8,e.start,e.end),fill:e.color,\"data-testid\":`gauge-band-${t}`},t)),(0,q.jsx)(`path`,{d:ne,fill:v,\"data-testid\":`gauge-fill`,\"data-fraction\":_.toFixed(4)}),(0,q.jsx)(Fpe,{angle:b,radius:E}),x&&(0,q.jsxs)(`g`,{\"data-testid\":`gauge-label`,children:[(0,q.jsx)(`text`,{textAnchor:`middle`,dominantBaseline:`middle`,fontSize:E*.22,fontWeight:`bold`,fill:`currentColor`,dy:E*.12,\"data-testid\":`gauge-value-text`,children:A}),(0,q.jsx)(`text`,{textAnchor:`middle`,fontSize:E*.13,fill:`currentColor`,className:`text-dc-text-secondary`,dy:E*.34,children:re})]}),(0,q.jsx)(`text`,{x:Math.cos(v9-Math.PI/2)*(D+14),y:Math.sin(v9-Math.PI/2)*(D+14),textAnchor:`middle`,fontSize:E*.12,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`gauge-min-label`,children:T9(m,C)}),(0,q.jsx)(`text`,{x:Math.cos(y9-Math.PI/2)*(D+14),y:Math.sin(y9-Math.PI/2)*(D+14),textAnchor:`middle`,fontSize:E*.12,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`gauge-max-label`,children:T9(g,C)})]})})})}catch(e){return(0,q.jsx)(w6,{height:r,chartType:`Gauge Chart`,error:e})}}),E9=50;function D9(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function Lpe(e,t,n,r,i,a,o,s){let c=D9(e[t]),l=D9(e[n]),u=D9(e[r]),d=D9(e[i]),f=D9(e[a]);return c===null||l===null||u===null||d===null||f===null?null:{label:o,min:c,q1:l,median:u,q3:d,max:f,color:s}}function Rpe(e,t,n,r,i,a){let o=D9(e[t]),s=D9(e[n]),c=D9(e[r]);if(o===null||s===null||c===null)return null;let l=Math.abs(s);return{label:i,min:o-2*l,q1:o-l,median:c,q3:o+l,max:o+2*l,color:a}}function zpe({x:e,boxWidth:t,minY:n,q1Y:r,medianY:i,q3Y:a,maxY:o,color:s,label:c}){let l=t/2,u=e,d=t*.4;return(0,q.jsxs)(`g`,{\"data-testid\":`box-${c}`,children:[(0,q.jsx)(`line`,{x1:u,y1:n,x2:u,y2:o,stroke:s,strokeWidth:1.5}),(0,q.jsx)(`line`,{x1:u-d/2,y1:n,x2:u+d/2,y2:n,stroke:s,strokeWidth:1.5}),(0,q.jsx)(`line`,{x1:u-d/2,y1:o,x2:u+d/2,y2:o,stroke:s,strokeWidth:1.5}),(0,q.jsx)(`rect`,{x:u-l,y:Math.min(r,a),width:t,height:Math.abs(a-r)||2,fill:s,fillOpacity:.3,stroke:s,strokeWidth:1.5}),(0,q.jsx)(`line`,{x1:u-l,y1:i,x2:u+l,y2:i,stroke:s,strokeWidth:2.5,\"data-testid\":`median-${c}`})]})}function Bpe({scale:e,domainMin:t,domainMax:n,width:r,tickCount:i=5,format:a}){let o=(0,z.useMemo)(()=>{let e=n-t;if(e===0)return[t];let r=e/(i-1);return Array.from({length:i},(e,n)=>t+n*r)},[t,n,i]);return(0,q.jsxs)(`g`,{\"data-testid\":`y-axis`,children:[o.map((t,n)=>(0,q.jsxs)(`g`,{transform:`translate(0, ${e(t)})`,children:[(0,q.jsx)(`line`,{x1:0,x2:-6,stroke:`currentColor`,strokeWidth:1}),(0,q.jsx)(`text`,{x:-10,textAnchor:`end`,dominantBaseline:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,children:a?a(t):t.toLocaleString()}),(0,q.jsx)(`line`,{x1:0,x2:r,stroke:`currentColor`,strokeOpacity:.1,strokeWidth:1})]},n)),(0,q.jsx)(`line`,{y1:e(o[0]),y2:e(o[o.length-1]),stroke:`currentColor`,strokeWidth:1})]})}var Vpe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i,onDataPointClick:a,drillEnabled:o}){let{t:s}=qv(),c=(0,z.useRef)(null),[l,u]=(0,z.useState)({width:0,height:0});(0,z.useLayoutEffect)(()=>{let e=c.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&u({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&u({width:n.width,height:n.height}),()=>t.disconnect()},[]);let d=n?.leftYAxisFormat,{xField:f,mode:p,fields:m,configError:h}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.xAxis??t?.x,n=Array.isArray(t?.yAxis)?t.yAxis:[];return!e||n.length===0?{xField:e,mode:`none`,fields:{},configError:`BoxPlot requires an X-Axis dimension and at least one measure in Y-Axis`}:n.length>=5?{xField:e,mode:`5measure`,fields:{minField:n[0],q1Field:n[1],medianField:n[2],q3Field:n[3],maxField:n[4]},configError:null}:n.length>=3?{xField:e,mode:`3measure`,fields:{avgField:n[0],stddevField:n[1],medianField:n[2]},configError:null}:n.length===2?{xField:e,mode:`none`,fields:{},configError:`BoxPlot requires 1 measure (auto), 3 (avg/stddev/median), or 5 (min/q1/median/q3/max)`}:{xField:e,mode:`auto`,fields:{valueField:n[0]},configError:null}},[t]),g=(0,z.useMemo)(()=>{if(h||!e||e.length===0||p===`none`)return[];let t=e.slice(0,E9),n=i?.colors??E6,r=[];for(let e=0;e<t.length;e++){let i=t[e],a=f?String(i[f]??`Row ${e+1}`):`Row ${e+1}`,o=n[e%n.length],s=null;if(p===`5measure`)s=Lpe(i,m.minField,m.q1Field,m.medianField,m.q3Field,m.maxField,a,o);else if(p===`3measure`)s=Rpe(i,m.avgField,m.stddevField,m.medianField,a,o);else{let e=D9(i[m.valueField]);e!==null&&(s={label:a,min:e,q1:e,median:e,q3:e,max:e,color:o})}s&&r.push(s)}return r},[e,f,p,m,i,h]);if(!e||e.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:s(`chart.runtime.noDataHint.boxPlot`)})]})});if(h)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:h})]})});if(g.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.noValidData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:s(`chart.runtime.noValidDataHint.boxPlot`)})]})});try{let t={top:20,right:20,bottom:60,left:60},n=l.width||600,i=typeof r==`number`?r:l.height||400,u=Math.max(n-t.left-t.right,50),p=Math.max(i-t.top-t.bottom,50),m=g.flatMap(e=>[e.min,e.max]),h=Math.min(...m),_=Math.max(...m),v=(_-h)*.1||1,y=h-v,b=_+v,x=b-y,S=e=>x===0?p/2:p-(e-y)/x*p,C=u/g.length,w=Math.min(C*.6,40),T=e.length>E9;return(0,q.jsxs)(`div`,{ref:c,className:`dc:relative dc:w-full`,style:{height:r},children:[(0,q.jsx)(`svg`,{width:`100%`,height:T?`calc(100% - 20px)`:`100%`,viewBox:`0 0 ${n} ${typeof i==`number`?i:400}`,preserveAspectRatio:`none`,\"data-testid\":`boxplot-svg`,children:(0,q.jsxs)(`g`,{transform:`translate(${t.left}, ${t.top})`,children:[(0,q.jsx)(Bpe,{scale:S,domainMin:y,domainMax:b,width:u,tickCount:5,format:d?e=>g6(e,d):void 0}),g.map((e,t)=>{let n=C*t+C/2;return(0,q.jsxs)(`g`,{onClick:t=>{a&&o&&a({dataPoint:{...e},clickedField:f??``,xValue:e.label,position:{x:t.clientX,y:t.clientY},nativeEvent:t})},cursor:o?`pointer`:void 0,children:[(0,q.jsx)(`title`,{children:`${e.label}: min=${e.min}, Q1=${e.q1}, median=${e.median}, Q3=${e.q3}, max=${e.max}`}),(0,q.jsx)(zpe,{x:n,boxWidth:w,minY:S(e.min),q1Y:S(e.q1),medianY:S(e.median),q3Y:S(e.q3),maxY:S(e.max),color:e.color,label:e.label}),(0,q.jsx)(`text`,{x:n,y:p+20,textAnchor:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`x-label-${e.label}`,children:e.label})]},`${e.label}-${t}`)})]})}),T&&(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-warning dc:text-center dc:mt-1`,children:s(`chart.runtime.boxPlot.truncated`,{max:E9,total:e.length})})]})}catch(e){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:s(`chart.runtime.chartError`,{chartType:`Box Plot Chart`})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:s(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:s(`chart.runtime.checkConfig`)})]})})}}),Hpe=`#22c55e`,Upe=`#ef4444`,O9=`#94a3b8`,k9=200;function A9(e){if(e==null)return null;let t=typeof e==`number`?e:parseFloat(String(e));return isNaN(t)?null:t}function Wpe({x:e,candleWidth:t,openY:n,closeY:r,highY:i,lowY:a,isBullish:o,bullColor:s,bearColor:c,showWicks:l,label:u}){let d=o?s:c,f=Math.min(n,r),p=Math.max(n,r),m=Math.max(p-f,1),h=t/2;return(0,q.jsxs)(`g`,{\"data-testid\":`candle-${u}`,children:[(0,q.jsx)(`rect`,{x:e-h,y:f,width:t,height:m,fill:d,\"data-testid\":`candle-body-${u}`,\"data-bullish\":o}),l&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`line`,{x1:e,y1:i,x2:e,y2:f,stroke:O9,strokeWidth:1,\"data-testid\":`wick-high-${u}`}),(0,q.jsx)(`line`,{x1:e,y1:p,x2:e,y2:a,stroke:O9,strokeWidth:1,\"data-testid\":`wick-low-${u}`})]})]})}function Gpe({domainMin:e,domainMax:t,innerHeight:n,tickCount:r,format:i}){let a=(0,z.useMemo)(()=>{let n=(t-e)/(r-1);return Array.from({length:r},(t,r)=>e+r*n)},[e,t,r]),o=r=>n-(r-e)/(t-e)*n;return(0,q.jsxs)(`g`,{\"data-testid\":`y-axis`,children:[(0,q.jsx)(`line`,{y1:0,y2:n,stroke:`currentColor`,strokeWidth:1}),a.map((e,t)=>(0,q.jsxs)(`g`,{transform:`translate(0, ${o(e)})`,children:[(0,q.jsx)(`line`,{x1:0,x2:-6,stroke:`currentColor`,strokeWidth:1}),(0,q.jsx)(`text`,{x:-10,textAnchor:`end`,dominantBaseline:`middle`,fontSize:11,fill:`currentColor`,className:`text-dc-text-secondary`,children:i?i(e):e.toLocaleString()}),(0,q.jsx)(`line`,{x1:0,x2:`100%`,stroke:`currentColor`,strokeOpacity:.1,strokeWidth:1})]},t))]})}var Kpe=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,onDataPointClick:i,drillEnabled:a}){let{t:o}=qv(),s=(0,z.useRef)(null),[c,l]=(0,z.useState)({width:0,height:0});(0,z.useLayoutEffect)(()=>{let e=s.current;if(!e)return;let t=new ResizeObserver(e=>{for(let t of e){let{width:e,height:n}=t.contentRect;e>0&&n>0&&l({width:e,height:n})}});t.observe(e);let n=e.getBoundingClientRect();return n.width>0&&n.height>0&&l({width:n.width,height:n.height}),()=>t.disconnect()},[]);let u=n?.bullColor??Hpe,d=n?.bearColor??Upe,f=n?.showWicks??!0,p=n?.rangeMode??`ohlc`,m=n?.leftYAxisFormat,{xField:h,openField:g,closeField:_,highField:v,lowField:y,configError:b}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.xAxis)?t.xAxis[0]:t?.xAxis??t?.x,n=Array.isArray(t?.yAxis)?t.yAxis:[],r=n[0]??``,i=(p===`range`?n[0]:n[1])??``,a=(p===`range`?n[0]:n[2])??``,o=(p===`range`?n[1]:n[3])??``;return e?p===`range`&&(!a||!o)?{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`Range mode requires at least 2 measures (high, low) in Y-Axis`}:p===`ohlc`&&(!r||!i)?{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`OHLC mode requires at least 2 measures (open, close) in Y-Axis`}:{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:null}:{xField:e,openField:r,closeField:i,highField:a,lowField:o,configError:`Candlestick chart requires an X-Axis (time or category dimension)`}},[t,p]),x=(0,z.useMemo)(()=>{if(b||!e||e.length===0)return[];let t=e.slice(0,k9),n=[];for(let e=0;e<t.length;e++){let r=t[e],i=String(r[h]??`Bar ${e+1}`),a=A9(r[g]),o=A9(r[_]);if(a===null||o===null)continue;let s=a,c=o,l=v?A9(r[v])??Math.max(s,c):Math.max(s,c),u=y?A9(r[y])??Math.min(s,c):Math.min(s,c);p===`range`&&(s=u,c=l),n.push({label:i,open:s,close:c,high:Math.max(s,c,l),low:Math.min(s,c,u),isBullish:c>=s,originalIndex:e})}return n},[e,h,g,_,v,y,p,b]);try{if(!e||e.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.candlestick`)})]})});if(b)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:b})]})});let t={top:20,right:20,bottom:60,left:70},n=c.width||600,l=typeof r==`number`?r:c.height||400,p=Math.max(n-t.left-t.right,50),g=Math.max((typeof l==`number`?l:parseInt(String(l))||400)-t.top-t.bottom,50),_=x.flatMap(e=>[e.low,e.high]),v=Math.min(..._),y=Math.max(..._),S=(y-v)*.05||1,C=v-S,w=y+S,T=e=>g-(e-C)/(w-C)*g,E=p/x.length,D=Math.min(E*.7,20),O=e.length>k9;return(0,q.jsxs)(`div`,{ref:s,className:`dc:relative dc:w-full`,style:{height:r},children:[(0,q.jsx)(`svg`,{width:`100%`,height:O?`calc(100% - 20px)`:`100%`,viewBox:`0 0 ${n} ${typeof l==`number`?l:400}`,\"data-testid\":`candlestick-svg`,children:(0,q.jsxs)(`g`,{transform:`translate(${t.left}, ${t.top})`,children:[(0,q.jsx)(Gpe,{domainMin:C,domainMax:w,innerHeight:g,tickCount:5,format:m?e=>g6(e,m):void 0}),x.map((e,t)=>{let n=E*t+E/2;return(0,q.jsxs)(`g`,{onClick:t=>{i&&a&&i({dataPoint:{...e},clickedField:h??``,xValue:e.label,position:{x:t.clientX,y:t.clientY},nativeEvent:t})},cursor:a?`pointer`:void 0,children:[(0,q.jsx)(`title`,{children:`${e.label}: O=${e.open} H=${e.high} L=${e.low} C=${e.close}`}),(0,q.jsx)(Wpe,{x:n,candleWidth:D,openY:T(e.open),closeY:T(e.close),highY:T(e.high),lowY:T(e.low),isBullish:e.isBullish,bullColor:u,bearColor:d,showWicks:f,label:e.label}),(0,q.jsx)(`text`,{x:n,y:g+20,textAnchor:`middle`,fontSize:10,fill:`currentColor`,className:`text-dc-text-secondary`,\"data-testid\":`x-label-${e.label}`,children:e.label})]},e.label+t)})]})}),O&&(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-warning dc:text-center dc:mt-1`,children:o(`chart.runtime.candlestick.truncated`,{max:k9,total:e.length})})]})}catch(e){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Candlestick Chart`})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}}),j9=e=>Math.floor(e.getMonth()/3)+1,qpe=e=>e.getMonth()%3+1,Jpe=e=>Math.floor((e.getDate()-1)/7)+1,Ype=[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],M9=[`Q1`,`Q2`,`Q3`,`Q4`],N9=[`Month 1`,`Month 2`,`Month 3`],P9=[`Week 1`,`Week 2`,`Week 3`,`Week 4`,`Week 5`],F9=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],I9=[`00-03`,`03-06`,`06-09`,`09-12`,`12-15`,`15-18`,`18-21`,`21-00`];function Xpe(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=t.getUTCDay()||7;t.setUTCDate(t.getUTCDate()+4-n);let r=t.getUTCFullYear(),i=new Date(Date.UTC(r,0,1));return{year:r,week:Math.ceil(((t.getTime()-i.getTime())/864e5+1)/7)}}var Zpe={quarter:{extractX:e=>e.getFullYear(),extractY:e=>j9(e)-1,xLabels:[],yLabels:M9,xFormat:e=>`'${e.toString().slice(-2)}`,yFormat:e=>M9[e]||``,cellWidth:16,cellHeight:16},month:{extractX:e=>e.getFullYear()*10+j9(e),extractY:e=>qpe(e)-1,xLabels:[],yLabels:N9,xFormat:e=>`Q${e%10}`,yFormat:e=>N9[e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/10)},week:{extractX:e=>e.getFullYear()*100+(e.getMonth()+1),extractY:e=>Jpe(e)-1,xLabels:[],yLabels:P9,xFormat:e=>Ype[e%100-1]||``,yFormat:e=>P9[e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)},day:{extractX:e=>{let{year:t,week:n}=Xpe(e);return t*100+n},extractY:e=>e.getDay(),xLabels:[],yLabels:F9,xFormat:e=>`${e%100}`,yFormat:e=>F9[e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)},hour:{extractX:e=>e.getFullYear()*1e4+(e.getMonth()+1)*100+e.getDate(),extractY:e=>Math.floor(e.getHours()/3),xLabels:[],yLabels:I9,xFormat:e=>`${e%100}`,yFormat:e=>I9[e]||``,cellWidth:16,cellHeight:16,hasHierarchicalLabels:!0,getYearFromX:e=>Math.floor(e/100)}};function Qpe(e){return Zpe[e?.toLowerCase()]??null}function L9(e){if(e)return Array.isArray(e)?e[0]:e}function $pe(e,t){let n=e?.timeDimensions;if(!n||n.length===0)return`day`;let r=n.find(e=>e.dimension===t||e.dimension.includes(t));if(r&&r.granularity)return r.granularity;let i=n[0];return i&&i.granularity?i.granularity:`day`}function eme(e){if(typeof e==`string`){let t=e;return e.includes(` `)&&(t=e.replace(` `,`T`).replace(`+00`,`Z`).replace(/\\+\\d{2}:\\d{2}$/,`Z`)),!t.endsWith(`Z`)&&!t.includes(`+`)&&(t+=`Z`),new Date(t)}return new Date(e)}function tme(e,t,n,r,i){return e.map(e=>{let a=e[t],o=typeof e[n]==`string`?parseFloat(e[n]):e[n]||0,s=eme(a);return isNaN(s.getTime())?null:{x:r.extractX(s),y:r.extractY(s),value:o,date:s,label:_6(a,i)}}).filter(e=>e!==null)}var nme=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function rme(e){return{textColor:e?l9(`--dc-text-muted`,`#cbd5e1`):l9(`--dc-text-secondary`,`#374151`),lineColor:l9(`--dc-border`,`#e5e7eb`),emptyCellColor:e?l9(`--dc-bg-secondary`,`#1e293b`):l9(`--dc-bg-secondary`,`#f3f4f6`),cellStrokeColor:e?l9(`--dc-border`,`#334155`):l9(`--dc-bg`,`#ffffff`)}}function ime(e){let{gridData:t,gridMapping:n,dimensions:r,safeDisplayConfig:i}=e,a=LM(t,e=>e.y)||0,o=RM(t,e=>e.y)||0,s=[...new Set(t.map(e=>e.x))].sort((e,t)=>e-t),c=s.length*n.cellWidth+(s.length-1)*4,l=(a-o+1)*n.cellHeight+(a-o)*4,u={...O6,left:60,bottom:10,top:n.hasHierarchicalLabels?40:25,right:10},d=r.width-u.left-u.right,f=r.height-u.top-u.bottom,p=Math.min(d/c,f/l),m,h;i.fitToWidth?(m=n.cellWidth*p,h=n.cellHeight*p):(m=Math.max(16,Math.min(24,n.cellWidth*p)),h=Math.max(16,Math.min(24,n.cellHeight*p)),e.granularity===`week`&&m<16&&(m=16));let g=s.length*m+(s.length-1)*4,_=g>d?g+u.left+u.right:r.width;return{margin:u,finalCellWidth:m,finalCellHeight:h,completeXRange:s,minY:o,maxY:a,svgWidth:_}}function ame(){return E8(`body`).append(`div`).attr(`class`,`activity-grid-tooltip`).style(`position`,`absolute`).style(`padding`,`8px`).style(`background`,`rgba(0, 0, 0, 0.8)`).style(`color`,`white`).style(`border-radius`,`4px`).style(`font-size`,`12px`).style(`pointer-events`,`none`).style(`opacity`,0).style(`z-index`,1e3)}function ome(e,t,n,r,i){e.style(`cursor`,t.drillEnabled?`pointer`:`default`).on(`mouseover`,function(e){if(E8(this).style(`stroke`,`#000`).style(`stroke-width`,2),n){let i=[`<strong>${n.label}</strong>`,`${t.getFieldLabel(t.valueField)}: ${n.value}`].join(`<br>`);r.html(i).style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`).transition().duration(200).style(`opacity`,1)}}).on(`mousemove`,function(e){r.style(`left`,e.pageX+10+`px`).style(`top`,e.pageY-10+`px`)}).on(`mouseout`,function(){E8(this).style(`stroke`,i).style(`stroke-width`,1),r.transition().duration(200).style(`opacity`,0)})}function sme(e,t,n,r,i,a){let{gridData:o,valueField:s,dateField:c,drillEnabled:l,onDataPointClick:u,safeDisplayConfig:d}=e,{completeXRange:f,minY:p,maxY:m,finalCellWidth:h,finalCellHeight:g}=n,_=new Map;o.forEach(e=>_.set(`${e.x}-${e.y}`,e));let v=new Map;f.forEach((e,t)=>v.set(e,t));for(let n of f)for(let o=p;o<=m;o++){let f=_.get(`${n}-${o}`),m=v.get(n)||0,y=t.append(`rect`).attr(`x`,m*(h+4)).attr(`y`,(o-p)*(g+4)).attr(`width`,h).attr(`height`,g).attr(`rx`,2).attr(`ry`,2).style(`fill`,f?r(f.value):a.emptyCellColor).style(`stroke`,a.cellStrokeColor).style(`stroke-width`,1);d.showTooltip?ome(y,e,f,i,a.cellStrokeColor):l&&y.style(`cursor`,`pointer`),l&&u&&f&&y.on(`click`,function(e){u({dataPoint:{[s]:f.value,[c]:f.date},clickedField:s,xValue:f.label,position:{x:e.pageX,y:e.pageY},nativeEvent:e})})}}function cme(e){if(e>9999){let t=Math.floor(e/100);return`${nme[e%100-1]} '${t.toString().slice(-2)}`}return`'${e.toString().slice(-2)}`}function lme(e,t,n,r){let{gridMapping:i}=e,{completeXRange:a,finalCellWidth:o}=n,s=new Map;a.forEach((e,t)=>s.set(e,t));let c=new Map;for(let e of a){let t=i.getYearFromX(e);c.has(t)||c.set(t,[]),c.get(t).push(e)}for(let e of a){let n=s.get(e)||0;t.append(`text`).attr(`x`,n*(o+4)+o/2).attr(`y`,-8).attr(`text-anchor`,`middle`).style(`font-size`,`10px`).style(`fill`,r.textColor).text(i.xFormat(e))}for(let[e,n]of c){if(n.length===0)continue;let i=Math.min(...n.map(e=>s.get(e)||0)),a=Math.max(...n.map(e=>s.get(e)||0)),c=(i+a)/2;t.append(`text`).attr(`x`,c*(o+4)+o/2).attr(`y`,-25).attr(`text-anchor`,`middle`).style(`font-size`,`12px`).style(`font-weight`,`bold`).style(`fill`,r.textColor).text(cme(e)),n.length>1&&t.append(`line`).attr(`x1`,i*(o+4)).attr(`x2`,a*(o+4)+o).attr(`y1`,-20).attr(`y2`,-20).style(`stroke`,r.lineColor).style(`stroke-width`,1).style(`opacity`,.3)}}function ume(e,t,n,r){let{gridMapping:i}=e,{completeXRange:a,finalCellWidth:o}=n,s=Math.max(1,Math.floor(a.length/10));for(let e=0;e<a.length;e+=s)t.append(`text`).attr(`x`,e*(o+4)+o/2).attr(`y`,-8).attr(`text-anchor`,`middle`).style(`font-size`,`10px`).style(`fill`,r.textColor).text(i.xFormat(a[e]))}function dme(e,t,n,r){let{gridMapping:i}=e,{minY:a,maxY:o,finalCellHeight:s}=n;i.hasHierarchicalLabels&&i.getYearFromX?lme(e,t,n,r):ume(e,t,n,r);for(let e=a;e<=o;e++)t.append(`text`).attr(`x`,-8).attr(`y`,(e-a)*(s+4)+s/2).attr(`text-anchor`,`end`).attr(`dy`,`.35em`).style(`font-size`,`10px`).style(`fill`,r.textColor).text(i.yFormat(e))}function fme(e){let{svgEl:t,gridData:n,dimensions:r,colorPalette:i,isDark:a,safeDisplayConfig:o}=e;if(E8(t).selectAll(`*`).remove(),n.length===0)return;let s=ime(e),c=E8(t).attr(`width`,s.svgWidth).attr(`height`,r.height).append(`g`).attr(`transform`,`translate(${s.margin.left},${s.margin.top})`),l=n.map(e=>e.value),u=xF().domain([RM(l)||0,LM(l)||1]).range(i?.gradient||D6),d=rme(a),f=ame();return sme(e,c,s,u,f,d),o.showLabels&&dme(e,c,s,d),()=>{f.remove()}}var pme=z.memo(function({data:e,chartConfig:t,displayConfig:n={},queryObject:r,height:i=`100%`,colorPalette:a,onDataPointClick:o,drillEnabled:s}){let{t:c}=qv(),l=(0,z.useRef)(null),{containerRef:u,dimensions:d,dimensionsReady:f}=c9(),[p,m]=(0,z.useState)(`light`),h=z6();(0,z.useEffect)(()=>(m(a9()),o9(e=>m(e))),[]);let g=(0,z.useMemo)(()=>({showTooltip:n?.showTooltip??!0,showLabels:n?.showLabels??!0,fitToWidth:n?.fitToWidth??!1}),[n?.showTooltip,n?.showLabels,n?.fitToWidth]);if((0,z.useEffect)(()=>{if(!e||e.length===0||!l.current||!f||d.width===0||!t?.dateField||!t?.valueField)return;let n=L9(t.dateField),i=L9(t.valueField);if(!n||!i)return;let c=$pe(r,n),u=Qpe(c);if(!u)return;let m=tme(e,n,i,u,c);return fme({svgEl:l.current,gridData:m,gridMapping:u,granularity:c,dimensions:d,safeDisplayConfig:g,colorPalette:a,isDark:p!==`light`,valueField:i,dateField:n,getFieldLabel:h,drillEnabled:s,onDataPointClick:o})},[e,t,r,d,f,g,a,p,h,s,o]),!e||e.length===0)return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.noDataHint.activityGrid`)})]})});if(!(t?.dateField&&t?.valueField))return(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.activityGridConfigRequired`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.configErrorHint.activityGridRequired`)})]})});let _=L9(t.dateField);return(r?.timeDimensions?.find(e=>e.dimension===_||e.dimension.includes(_))?.granularity||`day`)?.toLowerCase()===`year`?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full`,style:{height:i},children:(0,q.jsxs)(`div`,{className:`dc:text-center text-dc-text-muted`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:c(`chart.runtime.activityGridGranularityTooHigh`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:c(`chart.runtime.activityGridGranularityHint`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary dc:mt-1`,children:c(`chart.runtime.activityGridGranularityAction`)})]})}):(0,q.jsx)(`div`,{className:`dc:w-full dc:flex dc:flex-col dc:relative`,style:{height:i,minHeight:`250px`,overflow:`hidden`,width:`100%`},children:(0,q.jsxs)(`div`,{ref:u,className:`dc:w-full dc:h-full dc:relative dc:overflow-x-auto`,style:{width:`100%`},children:[(0,q.jsx)(`svg`,{ref:l,className:`dc:h-full`}),!f&&(0,q.jsx)(`div`,{className:`dc:absolute dc:inset-0 dc:flex dc:items-center dc:justify-center`,children:(0,q.jsx)(`div`,{className:`text-dc-text-muted dc:text-sm`,children:c(`chart.runtime.measuringDimensions`)})})]})})});function mme(e,t,n,r){if(!e||e.length===0||t.length===0)return{profileData:[],seriesKeys:[]};if(n){let i=Array.from(new Set(e.map(e=>String(e[n]??`Unknown`))));return{profileData:t.map(t=>{let a={measureKey:t,measureLabel:r(t)};for(let r of i){let i=e.filter(e=>String(e[n]??`Unknown`)===r).map(e=>{let n=e[t];return typeof n==`number`?n:parseFloat(String(n??``))}).filter(e=>!isNaN(e));a[r]=i.length>0?i.reduce((e,t)=>e+t,0)/i.length:null}return a}),seriesKeys:i}}else{let n=`_value`;return{profileData:t.map(t=>{let i=e.map(e=>{let n=e[t];return typeof n==`number`?n:parseFloat(String(n??``))}).filter(e=>!isNaN(e));return{measureKey:t,measureLabel:r(t),[n]:i.length>0?i.reduce((e,t)=>e+t,0)/i.length:null}}),seriesKeys:[n]}}}var hme=z.memo(function({data:e,chartConfig:t,displayConfig:n={},height:r=`100%`,colorPalette:i,drillEnabled:a}){let{t:o}=qv(),s=z6(),c=n?.showReferenceLineAtZero??!0,l=n?.showDataLabels??!1,u=n?.lineType??`monotone`,d=n?.leftYAxisFormat,{yAxisFields:f,seriesField:p,configError:m}=(0,z.useMemo)(()=>{let e=Array.isArray(t?.yAxis)?t.yAxis:[];return{yAxisFields:e,seriesField:Array.isArray(t?.series)?t.series[0]:t?.series??void 0,configError:e.length<2?`Measure Profile chart requires at least 2 measures in Y-Axis`:null}},[t]),{profileData:h,seriesKeys:g}=(0,z.useMemo)(()=>m||!e||e.length===0?{profileData:[],seriesKeys:[]}:mme(e,f,p,s),[e,f,p,s,m]),_=(n?.showLegend??!0)&&g.length>1;try{return!e||e.length===0?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-text-muted`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.noData`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-secondary`,children:o(`chart.runtime.noDataHint.measureProfile`)})]})}):m?(0,q.jsx)(`div`,{className:`dc:flex dc:items-center dc:justify-center dc:w-full text-dc-warning`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.configError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs`,children:m})]})}):(0,q.jsx)(`div`,{className:`dc:relative dc:w-full`,style:{height:r},children:(0,q.jsx)(d6,{height:`100%`,children:(0,q.jsxs)(w4,{data:h,margin:{...O6,left:40},accessibilityLayer:!1,children:[(0,q.jsx)(QZ,{strokeDasharray:`3 3`,style:{pointerEvents:`none`}}),(0,q.jsx)(D0,{dataKey:`measureLabel`,type:`category`,tick:(0,q.jsx)(x6,{}),height:60}),(0,q.jsx)(H0,{tick:{fontSize:12},tickFormatter:d?e=>g6(e,d):void 0}),(0,q.jsx)(b6,{formatter:(e,t)=>e==null?[`No data`,t]:[d?g6(e,d):e?.toLocaleString?.()??e,t===`_value`?s(f[0]?.split(`.`)[0])||`Value`:t]}),c&&(0,q.jsx)(GX,{y:0,stroke:`var(--dc-border, #94a3b8)`,strokeDasharray:`4 2`}),_&&(0,q.jsx)(cO,{wrapperStyle:{fontSize:`12px`,paddingTop:`8px`}}),g.map((e,t)=>(0,q.jsx)(GQ,{type:u,dataKey:e,name:e===`_value`?s(f[0]?.split(`.`)[0])||`Value`:e,stroke:i?.colors&&i.colors[t%i.colors.length]||E6[t%E6.length],strokeWidth:2,dot:l?{r:4}:{r:3},activeDot:{r:5},label:l?{position:`top`,fontSize:10}:void 0,isAnimationActive:!1,cursor:a?`pointer`:void 0},e))]})})})}catch(e){return(0,q.jsx)(`div`,{className:`dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full text-dc-error dc:p-4`,style:{height:r},children:(0,q.jsxs)(`div`,{className:`dc:text-center`,children:[(0,q.jsx)(`div`,{className:`dc:text-sm dc:font-semibold dc:mb-1`,children:o(`chart.runtime.chartError`,{chartType:`Measure Profile Chart`})}),(0,q.jsx)(`div`,{className:`dc:text-xs dc:mb-2`,children:e instanceof Error?e.message:o(`chart.runtime.unknownError`)}),(0,q.jsx)(`div`,{className:`dc:text-xs text-dc-text-muted`,children:o(`chart.runtime.checkConfig`)})]})})}}),R9=()=>!0,z9=({hasMeasure:e})=>e,B9=({hasMeasure:e,hasDimension:t,hasTimeDim:n})=>e&&(t||n),V9=({hasMeasure:e,hasDimension:t})=>e&&t,H9=({hasMeasure:e,hasDimension:t,rowCount:n})=>e&&t&&n<=20,gme={table:R9,markdown:R9,kpiNumber:z9,kpiDelta:z9,kpiText:z9,gauge:z9,measureProfile:z9,bar:B9,line:B9,area:B9,waterfall:B9,boxPlot:B9,candlestick:B9,scatter:B9,bubble:B9,pie:H9,radialBar:H9,sunburst:H9,treemap:V9,funnel:V9,radar:V9,heatmap:V9,sankey:({hasMeasure:e,dimensionCount:t})=>e&&t>=2,activityGrid:({hasMeasure:e,hasTimeDim:t})=>e&&t};function _me(e,t){return(gme[e]??R9)(t)}function U9(e){return e.measures||[]}function W9(e){return e.dimensions||[]}function G9(e){return e.timeDimensions?.filter(e=>!!e.granularity).map(e=>e.dimension)||[]}function vme(e){return e.timeDimensions?.map(e=>e.dimension)||[]}function yme(e){let t=new Set;return e.filter(e=>!e||t.has(e)?!1:(t.add(e),!0))}function bme(e,t){let n=new Set(t),r=[];for(let t of e)if(!(!t||typeof t!=`object`))for(let e of Object.keys(t))n.has(e)||(n.add(e),r.push(e));return r}function xme(e,t){let n=yme([...W9(e),...vme(e),...U9(e)]);return[...n,...bme(t,n)]}function Sme(e){let t=U9(e),n=W9(e),r=G9(e),i=[],a=[];return r.length>0?i.push(r[0]):n.length>0&&(i.push(n[0]),a.push(...n.slice(1))),{xAxis:i,yAxis:[...t],series:a}}function Cme(e,t,n){let r=W9(t);return _me(e,{hasMeasure:U9(t).length>0,hasDimension:r.length>0,hasTimeDim:G9(t).length>0,dimensionCount:r.length,rowCount:n})}function wme(e,t){let n=U9(e),r=W9(e),i=G9(e),a=t.length;return n.length>=1&&r.length===0&&i.length===0&&a<=1?`kpiNumber`:i.length>0&&n.length>=1?`line`:r.length>0&&n.length>=1?a<=10&&n.length===1&&r.length===1?`pie`:a<=30?`bar`:`table`:`table`}function K9(e,t,n){return n===`table`?{chartType:n,xAxis:xme(e,t),yAxis:[],series:[]}:{chartType:n,...Sme(e)}}var Tme=[`bar`,`line`,`area`,`pie`,`scatter`,`treemap`,`kpiNumber`,`kpiDelta`,`kpiText`,`table`,`radar`,`radialBar`,`bubble`,`funnel`,`waterfall`,`gauge`,`boxPlot`,`candlestick`,`activityGrid`,`measureProfile`];function Eme({selected:e,query:t,rowCount:n,onSelect:r}){let[i,a]=(0,z.useState)(!1),{t:o}=qv(),s=e=>{let t=Ude[e]?.label;return t?o(t):e},c=$7(e),l=s(e);return(0,q.jsxs)(`div`,{style:{position:`relative`},children:[(0,q.jsxs)(`button`,{type:`button`,onClick:()=>a(!i),style:{display:`flex`,alignItems:`center`,gap:6,padding:`4px 10px`,fontSize:12,fontWeight:500,borderRadius:6,border:`1px solid var(--dc-border, #e2e8f0)`,background:`var(--dc-surface, #fff)`,color:`var(--dc-text, #1e293b)`,cursor:`pointer`},children:[(0,q.jsx)(c,{style:{width:14,height:14,color:`var(--dc-text-secondary, #64748b)`}}),(0,q.jsx)(`span`,{children:l}),(0,q.jsx)(`svg`,{width:`10`,height:`10`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,style:{marginLeft:2,color:`var(--dc-text-muted, #94a3b8)`,transform:i?`rotate(180deg)`:void 0,transition:`transform 0.15s`},children:(0,q.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:2,d:`M19 9l-7 7-7-7`})})]}),i&&(0,q.jsx)(`div`,{style:{position:`absolute`,right:0,zIndex:10,marginTop:4,minWidth:260,maxHeight:320,overflowY:`auto`,background:`var(--dc-surface, #fff)`,border:`1px solid var(--dc-border, #e2e8f0)`,borderRadius:8,boxShadow:`0 4px 12px rgba(0,0,0,0.1)`,padding:6},children:(0,q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:3},children:Tme.map(i=>{let o=Cme(i,t,n),c=i===e,l=$7(i),u=s(i);return(0,q.jsxs)(`button`,{type:`button`,onClick:()=>{o&&(r(i),a(!1))},disabled:!o,style:{display:`flex`,alignItems:`center`,gap:5,padding:`4px 8px`,fontSize:11,fontWeight:c?600:400,borderRadius:4,border:`1px solid`,borderColor:c?`var(--dc-primary, #3b82f6)`:`var(--dc-border, #e2e8f0)`,background:c?`var(--dc-surface-secondary, #f9fafb)`:`var(--dc-surface, #fff)`,color:o?c?`var(--dc-primary, #3b82f6)`:`var(--dc-text, #1e293b)`:`var(--dc-text-muted, #94a3b8)`,cursor:o?`pointer`:`not-allowed`,opacity:o?1:.5,textAlign:`left`},children:[(0,q.jsx)(l,{style:{width:14,height:14,flexShrink:0}}),(0,q.jsx)(`span`,{style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:u})]},i)})})})]})}function Dme(e){if(e&&typeof e==`object`&&`content`in e){let t=e.content.find(e=>e.type===`text`);return t?.text?JSON.parse(t.text):`noTextContent`}return e&&typeof e==`object`&&`data`in e?e:typeof e==`string`?JSON.parse(e):e}function Ome(e){if(e&&`results`in e&&Array.isArray(e.results)){let t=e.results[0];if(t)return{data:t.data||[],query:t.query||e.query,annotation:t.annotation}}return e}function kme(e){let t=Dme(e);if(t===`noTextContent`)return{ok:!1,error:`noTextContent`};let n=Ome(t);return!n?.data||!Array.isArray(n.data)?{ok:!1,error:`invalidResultFormat`}:{ok:!0,result:n}}Mh(),(e=>typeof d<`u`?d:typeof Proxy<`u`?new Proxy(e,{get:(e,t)=>(typeof d<`u`?d:e)[t]}):e)(function(e){if(typeof d<`u`)return d.apply(this,arguments);throw Error(`Dynamic require of \"`+e+`\" is not supported`)});var Ame=W([G(`light`),G(`dark`)]).describe(`Color theme preference for the host environment.`),q9=W([G(`inline`),G(`fullscreen`),G(`pip`)]).describe(`Display mode for UI presentation.`),jme=pp(W([G(`--color-background-primary`),G(`--color-background-secondary`),G(`--color-background-tertiary`),G(`--color-background-inverse`),G(`--color-background-ghost`),G(`--color-background-info`),G(`--color-background-danger`),G(`--color-background-success`),G(`--color-background-warning`),G(`--color-background-disabled`),G(`--color-text-primary`),G(`--color-text-secondary`),G(`--color-text-tertiary`),G(`--color-text-inverse`),G(`--color-text-ghost`),G(`--color-text-info`),G(`--color-text-danger`),G(`--color-text-success`),G(`--color-text-warning`),G(`--color-text-disabled`),G(`--color-border-primary`),G(`--color-border-secondary`),G(`--color-border-tertiary`),G(`--color-border-inverse`),G(`--color-border-ghost`),G(`--color-border-info`),G(`--color-border-danger`),G(`--color-border-success`),G(`--color-border-warning`),G(`--color-border-disabled`),G(`--color-ring-primary`),G(`--color-ring-secondary`),G(`--color-ring-inverse`),G(`--color-ring-info`),G(`--color-ring-danger`),G(`--color-ring-success`),G(`--color-ring-warning`),G(`--font-sans`),G(`--font-mono`),G(`--font-weight-normal`),G(`--font-weight-medium`),G(`--font-weight-semibold`),G(`--font-weight-bold`),G(`--font-text-xs-size`),G(`--font-text-sm-size`),G(`--font-text-md-size`),G(`--font-text-lg-size`),G(`--font-heading-xs-size`),G(`--font-heading-sm-size`),G(`--font-heading-md-size`),G(`--font-heading-lg-size`),G(`--font-heading-xl-size`),G(`--font-heading-2xl-size`),G(`--font-heading-3xl-size`),G(`--font-text-xs-line-height`),G(`--font-text-sm-line-height`),G(`--font-text-md-line-height`),G(`--font-text-lg-line-height`),G(`--font-heading-xs-line-height`),G(`--font-heading-sm-line-height`),G(`--font-heading-md-line-height`),G(`--font-heading-lg-line-height`),G(`--font-heading-xl-line-height`),G(`--font-heading-2xl-line-height`),G(`--font-heading-3xl-line-height`),G(`--border-radius-xs`),G(`--border-radius-sm`),G(`--border-radius-md`),G(`--border-radius-lg`),G(`--border-radius-xl`),G(`--border-radius-full`),G(`--border-width-regular`),G(`--shadow-hairline`),G(`--shadow-sm`),G(`--shadow-md`),G(`--shadow-lg`)]).describe(`CSS variable keys available to MCP apps for theming.`).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),W([B(),$f()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`);U({method:G(`ui/open-link`),params:U({url:B().describe(`URL to open in the host's browser`)})}),U({isError:Jf().optional().describe(`True if the host failed to open the URL (e.g., due to security policy).`)}).passthrough(),U({isError:Jf().optional().describe(`True if the download failed (e.g., user cancelled or host denied).`)}).passthrough(),U({isError:Jf().optional().describe(`True if the host rejected or failed to deliver the message.`)}).passthrough(),U({method:G(`ui/notifications/sandbox-proxy-ready`),params:U({})});var J9=U({connectDomains:H(B()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted → no network connections (secure default)`),resourceDomains:H(B()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted → no network resources (secure default)\"),frameDomains:H(B()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:H(B()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)\")}),Y9=U({camera:U({}).optional().describe(`Request camera access.\n\nMaps to Permission Policy \\`camera\\` feature.`),microphone:U({}).optional().describe(`Request microphone access.\n\nMaps to Permission Policy \\`microphone\\` feature.`),geolocation:U({}).optional().describe(`Request geolocation access.\n\nMaps to Permission Policy \\`geolocation\\` feature.`),clipboardWrite:U({}).optional().describe(`Request clipboard write access.\n\nMaps to Permission Policy \\`clipboard-write\\` feature.`)});U({method:G(`ui/notifications/size-changed`),params:U({width:V().optional().describe(`New width in pixels.`),height:V().optional().describe(`New height in pixels.`)})}),U({method:G(`ui/notifications/tool-input`),params:U({arguments:pp(B(),np().describe(`Complete tool call arguments as key-value pairs.`)).optional().describe(`Complete tool call arguments as key-value pairs.`)})}),U({method:G(`ui/notifications/tool-input-partial`),params:U({arguments:pp(B(),np().describe(`Partial tool call arguments (incomplete, may change).`)).optional().describe(`Partial tool call arguments (incomplete, may change).`)})}),U({method:G(`ui/notifications/tool-cancelled`),params:U({reason:B().optional().describe(`Optional reason for the cancellation (e.g., \"user action\", \"timeout\").`)})});var Mme=U({fonts:B().optional()}),Nme=U({variables:jme.optional().describe(`CSS variables for theming the app.`),css:Mme.optional().describe(`CSS blocks that apps can inject.`)});U({method:G(`ui/resource-teardown`),params:U({})}),pp(B(),np());var X9=U({text:U({}).optional().describe(`Host supports text content blocks.`),image:U({}).optional().describe(`Host supports image content blocks.`),audio:U({}).optional().describe(`Host supports audio content blocks.`),resource:U({}).optional().describe(`Host supports resource content blocks.`),resourceLink:U({}).optional().describe(`Host supports resource link content blocks.`),structuredContent:U({}).optional().describe(`Host supports structured content.`)});U({method:G(`ui/notifications/request-teardown`),params:U({}).optional()});var Pme=U({experimental:U({}).optional().describe(`Experimental features (structure TBD).`),openLinks:U({}).optional().describe(`Host supports opening external URLs.`),downloadFile:U({}).optional().describe(`Host supports file downloads via ui/download-file.`),serverTools:U({listChanged:Jf().optional().describe(`Host supports tools/list_changed notifications.`)}).optional().describe(`Host can proxy tool calls to the MCP server.`),serverResources:U({listChanged:Jf().optional().describe(`Host supports resources/list_changed notifications.`)}).optional().describe(`Host can proxy resource reads to the MCP server.`),logging:U({}).optional().describe(`Host accepts log messages.`),sandbox:U({permissions:Y9.optional().describe(`Permissions granted by the host (camera, microphone, geolocation).`),csp:J9.optional().describe(`CSP domains approved by the host.`)}).optional().describe(`Sandbox configuration applied by the host.`),updateModelContext:X9.optional().describe(`Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.`),message:X9.optional().describe(`Host supports receiving content messages (ui/message) from the view.`),sampling:U({tools:U({}).optional().describe(\"Host supports tool use via `tools` and `toolChoice` parameters.\")}).optional().describe(\"Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.\")}),Fme=U({experimental:U({}).optional().describe(`Experimental features (structure TBD).`),tools:U({listChanged:Jf().optional().describe(`App supports tools/list_changed notifications.`)}).optional().describe(`App exposes MCP-style tools that the host can call.`),availableDisplayModes:H(q9).optional().describe(`Display modes the app supports.`)});U({method:G(`ui/notifications/initialized`),params:U({}).optional()}),U({csp:J9.optional().describe(`Content Security Policy configuration for UI resources.`),permissions:Y9.optional().describe(`Sandbox permissions requested by the UI resource.`),domain:B().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:Jf().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),U({method:G(`ui/request-display-mode`),params:U({mode:q9.describe(`The display mode being requested.`)})}),U({mode:q9.describe(`The display mode that was actually set. May differ from requested if not supported.`)}).passthrough();var Ime=W([G(`model`),G(`app`)]).describe(`Tool visibility scope - who can access the tool.`);U({resourceUri:B().optional(),visibility:H(Ime).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`),csp:rp().optional(),permissions:rp().optional()}),U({mimeTypes:H(B()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),U({method:G(`ui/download-file`),params:U({contents:H(W([f_,p_])).describe(`Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.`)})}),U({method:G(`ui/message`),params:U({role:G(`user`).describe(`Message role, currently only \"user\" is supported.`),content:H(m_).describe(`Message content blocks (text, image, etc.).`)})}),U({method:G(`ui/notifications/sandbox-resource-ready`),params:U({html:B().describe(`HTML content to load into the inner iframe.`),sandbox:B().optional().describe(`Optional override for the inner iframe's sandbox attribute.`),csp:J9.optional().describe(`CSP configuration from resource metadata.`),permissions:Y9.optional().describe(`Sandbox permissions from resource metadata.`)})}),U({method:G(`ui/notifications/tool-result`),params:C_.describe(`Standard MCP tool execution result.`)});var Z9=U({toolInfo:U({id:Kh.optional().describe(`JSON-RPC id of the tools/call request.`),tool:b_.describe(`Tool definition including name, inputSchema, etc.`)}).optional().describe(`Metadata of the tool call that instantiated this App.`),theme:Ame.optional().describe(`Current color theme preference.`),styles:Nme.optional().describe(`Style configuration for theming the app.`),displayMode:q9.optional().describe(`How the UI is currently displayed.`),availableDisplayModes:H(q9).optional().describe(`Display modes the host supports.`),containerDimensions:W([U({height:V().describe(`Fixed container height in pixels.`)}),U({maxHeight:W([V(),$f()]).optional().describe(`Maximum container height in pixels.`)})]).and(W([U({width:V().describe(`Fixed container width in pixels.`)}),U({maxWidth:W([V(),$f()]).optional().describe(`Maximum container width in pixels.`)})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:B().optional().describe(`User's language and region preference in BCP 47 format.`),timeZone:B().optional().describe(`User's timezone in IANA format.`),userAgent:B().optional().describe(`Host application identifier.`),platform:W([G(`web`),G(`desktop`),G(`mobile`)]).optional().describe(`Platform type for responsive design decisions.`),deviceCapabilities:U({touch:Jf().optional().describe(`Whether the device supports touch input.`),hover:Jf().optional().describe(`Whether the device supports hover interactions.`)}).optional().describe(`Device input capabilities.`),safeAreaInsets:U({top:V().describe(`Top safe area inset in pixels.`),right:V().describe(`Right safe area inset in pixels.`),bottom:V().describe(`Bottom safe area inset in pixels.`),left:V().describe(`Left safe area inset in pixels.`)}).optional().describe(`Mobile safe area boundaries in pixels.`)}).passthrough();U({method:G(`ui/notifications/host-context-changed`),params:Z9.describe(`Partial context update containing only changed fields.`)}),U({method:G(`ui/update-model-context`),params:U({content:H(m_).optional().describe(`Context content blocks (text, image, etc.).`),structuredContent:pp(B(),np().describe(`Structured content for machine-readable context data.`)).optional().describe(`Structured content for machine-readable context data.`)})}),U({method:G(`ui/initialize`),params:U({appInfo:cg.describe(`App identification (name and version).`),appCapabilities:Fme.describe(`Features and capabilities this app provides.`),protocolVersion:B().describe(`Protocol version this app supports.`)})}),U({protocolVersion:B().describe(`Negotiated protocol version string (e.g., \"2025-11-21\").`),hostInfo:cg.describe(`Host application identification and version.`),hostCapabilities:Pme.describe(`Features and capabilities provided by the host.`),hostContext:Z9.describe(`Rich context about the host environment.`)}).passthrough();function Lme(e){let t=document.documentElement;t.setAttribute(`data-theme`,e),t.style.colorScheme=e}function Rme(e,t=document.documentElement){for(let[n,r]of Object.entries(e))r!==void 0&&t.style.setProperty(n,r)}function zme(e){if(document.getElementById(`__mcp-host-fonts`))return;let t=document.createElement(`style`);t.id=`__mcp-host-fonts`,t.textContent=e,document.head.appendChild(t)}var Bme={\"--color-background-primary\":`--dc-surface`,\"--color-background-secondary\":`--dc-surface-secondary`,\"--color-text-primary\":`--dc-text`,\"--color-text-secondary\":`--dc-text-secondary`,\"--color-text-tertiary\":`--dc-text-muted`,\"--color-border-primary\":`--dc-border`,\"--color-border-secondary\":`--dc-border`,\"--color-accent-primary\":`--dc-accent`,\"--color-accent-secondary\":`--dc-accent-hover`,\"--color-status-error\":`--dc-error`,\"--color-status-success\":`--dc-success`,\"--color-status-warning\":`--dc-warning`};function Vme(e){if(e.theme&&Lme(e.theme),e.styles?.variables&&(Rme(e.styles.variables),Hme()),e.styles?.css?.fonts&&zme(e.styles.css.fonts),e.safeAreaInsets){let{top:t,right:n,bottom:r,left:i}=e.safeAreaInsets;document.body.style.padding=`${t}px ${n}px ${r}px ${i}px`}}function Hme(){let e=document.documentElement,t=getComputedStyle(e);for(let[n,r]of Object.entries(Bme)){let i=t.getPropertyValue(n).trim();i&&e.style.setProperty(r,i)}}function Ume(){let e=document.documentElement;window.matchMedia(`(prefers-color-scheme: dark)`).matches?(e.style.setProperty(`--dc-surface`,`#1a1a2e`),e.style.setProperty(`--dc-surface-secondary`,`#16213e`),e.style.setProperty(`--dc-text`,`#e0e0e0`),e.style.setProperty(`--dc-text-secondary`,`#a0a0a0`),e.style.setProperty(`--dc-text-muted`,`#707070`),e.style.setProperty(`--dc-border`,`#2a2a4a`),e.style.setProperty(`--dc-accent`,`#6366f1`)):(e.style.setProperty(`--dc-surface`,`#ffffff`),e.style.setProperty(`--dc-surface-secondary`,`#f8fafc`),e.style.setProperty(`--dc-text`,`#1e293b`),e.style.setProperty(`--dc-text-secondary`,`#64748b`),e.style.setProperty(`--dc-text-muted`,`#94a3b8`),e.style.setProperty(`--dc-border`,`#e2e8f0`),e.style.setProperty(`--dc-accent`,`#6366f1`))}var Wme={bar:$ae,line:yoe,area:boe,pie:Soe,scatter:Aoe,treemap:Jle,kpiNumber:ade,kpiDelta:ude,kpiText:_de,table:e9,radar:Jfe,radialBar:$fe,bubble:_pe,funnel:wpe,waterfall:Ope,gauge:Ipe,boxPlot:Vpe,candlestick:Kpe,activityGrid:pme,measureProfile:hme};function Gme(e){let t={};for(let[n,r]of Object.entries(e?.measures||{}))t[n]=r.title||n.split(`.`)[1]||n;for(let[n,r]of Object.entries(e?.dimensions||{}))t[n]=r.title||n.split(`.`)[1]||n;for(let[n,r]of Object.entries(e?.timeDimensions||{}))t[n]=r.title||n.split(`.`)[1]||n;return t}function Q9(e,t){return t===1?e:`${e}Plural`}function Kme(e,t,n,r){let i=[e(Q9(`mcp.footer.rows`,t),{count:t})];return n>0&&i.push(e(Q9(`mcp.footer.measures`,n),{count:n})),r>0&&i.push(e(Q9(`mcp.footer.dimensions`,r),{count:r})),i.join(` | `)}function qme(e){let t=e.split(`.`);return(t.length>1?t[1]:t[0]).replace(/([A-Z])/g,` $1`).replace(/^./,e=>e.toUpperCase()).trim()}function Jme(e,t,n){let r={...t},i={},a=e.type===n;return a&&e.chartConfig&&(r={...r,...e.chartConfig}),e.displayConfig&&(i={...i,...e.displayConfig}),a&&e.xAxis&&(r.xAxis=[e.xAxis]),a&&e.yAxis&&(r.yAxis=e.yAxis),{chartConfig:r,displayConfig:i}}function Yme(){let[e,t]=(0,z.useState)(null),[n,r]=(0,z.useState)(`table`),[i,a]=(0,z.useState)({}),[o,s]=(0,z.useState)({}),[c,l]=(0,z.useState)(`auto`),[u,d]=(0,z.useState)(null),f=(0,z.useRef)(null),[p,m]=(0,z.useState)(null),[h,g]=(0,z.useState)(!1),[_,v]=(0,z.useState)(null),{t:y}=qv(),b=(0,z.useMemo)(()=>e?.annotation?Gme(e.annotation):{},[e?.annotation]),x=(0,z.useMemo)(()=>({meta:null,labelMap:b,metaLoading:!1,metaError:null,getFieldLabel:e=>b[e]||qme(e),refetchMeta:()=>{}}),[b]),S=(0,z.useCallback)((e,n)=>{try{let i=kme(e);if(!i.ok){m(i.error===`noTextContent`?y(`mcp.error.noTextContent`):y(`mcp.error.invalidResultFormat`));return}let o=i.result;t(o),m(null);let c=o.query||{},u=n||null,p=wme(c,o.data),h=u?.type||p,g=K9(c,o.data,h),_={xAxis:g.xAxis,yAxis:g.yAxis,series:g.series};if(f.current=u,d(u),u){let e=Jme(u,_,h);r(h),a(e.chartConfig),s(e.displayConfig),l(`hint`)}else r(g.chartType),a(_),s({}),l(`auto`)}catch(e){m(y(`mcp.error.parseFailed`,{message:e instanceof Error?e.message:String(e)}))}},[y]),{app:C,isConnected:w,error:T}=Sv({appInfo:{name:`Drizzle Cube Visualization`,version:`1.0.0`},capabilities:{},onAppCreated:e=>{v(e),e.ontoolinput=e=>{g(!0);let t=e?.arguments?.chart??null;f.current=t,t&&d(t);let n=e?.structuredContent;n&&(g(!1),S(n,t))},e.ontoolresult=e=>{g(!1),S(e,f.current)},e.onhostcontextchanged=e=>{Vme(e)}}});(0,z.useEffect)(()=>{Ume()},[]);let E=(0,z.useCallback)(t=>{if(!e)return;let n=K9(e.query||{},e.data||[],t);r(n.chartType),a({xAxis:n.xAxis,yAxis:n.yAxis,series:n.series}),s({}),l(`manual`)},[e]);if(T)return(0,q.jsxs)(`div`,{style:{padding:16,color:`var(--dc-error, #ef4444)`},children:[(0,q.jsx)(`strong`,{children:y(`mcp.error.connectionLabel`)}),` `,T.message]});if(p)return(0,q.jsxs)(`div`,{style:{padding:16,color:`var(--dc-error, #ef4444)`},children:[(0,q.jsx)(`strong`,{children:y(`mcp.error.errorLabel`)}),` `,p]});if(h||!w)return(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,padding:32,color:`var(--dc-text-secondary, #64748b)`},children:[(0,q.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,style:{animation:`spin 1s linear infinite`,marginRight:8},children:(0,q.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`,stroke:`currentColor`,strokeWidth:`3`,fill:`none`,strokeDasharray:`31.4 31.4`,strokeLinecap:`round`})}),y(w?`mcp.status.loading`:`mcp.status.connecting`),(0,q.jsx)(`style`,{children:`@keyframes spin { to { transform: rotate(360deg) } }`})]});if(!e)return(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`center`,padding:32,color:`var(--dc-text-muted, #94a3b8)`},children:y(`mcp.status.waiting`)});let D=e.query||{},O=Wme[n]||e9,k=u?.title&&c!==`auto`?u.title:null;return(0,q.jsx)(R6.Provider,{value:x,children:(0,q.jsxs)(`div`,{children:[(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:8},children:[k?(0,q.jsx)(`div`,{style:{fontSize:14,fontWeight:600,color:`var(--dc-text, #1e293b)`},children:k}):(0,q.jsx)(`div`,{}),(0,q.jsx)(Eme,{selected:n,query:D,rowCount:e.data.length,onSelect:E})]}),(0,q.jsx)(`div`,{style:{height:360,marginTop:8},children:(0,q.jsx)(O,{data:e.data,chartConfig:i,displayConfig:o,queryObject:D,height:360})}),(0,q.jsx)(`div`,{style:{marginTop:12,fontSize:11,color:`var(--dc-text-muted, #94a3b8)`},children:Kme(y,e.data.length,D.measures?.length??0,D.dimensions?.length??0)})]})})}function Xme(){let{defaultLocale:e=`en-GB`,detectBrowserLocale:t=!0}=typeof window<`u`&&window.__DRIZZLE_CUBE_MCP_APP_CONFIG__||{};return t&&typeof navigator<`u`&&navigator.language?navigator.language:e}var $9=typeof document<`u`?document.getElementById(`root`):null;$9&&(0,eee.createRoot)($9).render((0,q.jsx)(Kv,{locale:Xme(),children:(0,q.jsx)(Yme,{})}));<\/script>\n <style rel=\"stylesheet\" crossorigin>/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--dc-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--dc-color-black:#000;--dc-color-white:#fff;--dc-spacing:.25rem;--dc-container-xs:20rem;--dc-container-sm:24rem;--dc-container-md:28rem;--dc-container-lg:32rem;--dc-container-2xl:42rem;--dc-container-4xl:56rem;--dc-container-5xl:64rem;--dc-container-6xl:72rem;--dc-container-7xl:80rem;--dc-text-xs:.75rem;--dc-text-xs--line-height:calc(1 / .75);--dc-text-sm:.875rem;--dc-text-sm--line-height:calc(1.25 / .875);--dc-text-base:1rem;--dc-text-base--line-height:calc(1.5 / 1);--dc-text-lg:1.125rem;--dc-text-lg--line-height:calc(1.75 / 1.125);--dc-text-xl:1.25rem;--dc-text-xl--line-height:calc(1.75 / 1.25);--dc-text-2xl:1.5rem;--dc-text-2xl--line-height:calc(2 / 1.5);--dc-text-3xl:1.875rem;--dc-text-3xl--line-height:calc(2.25 / 1.875);--dc-text-4xl:2.25rem;--dc-text-4xl--line-height:calc(2.5 / 2.25);--dc-text-5xl:3rem;--dc-text-5xl--line-height:1;--dc-font-weight-normal:400;--dc-font-weight-medium:500;--dc-font-weight-semibold:600;--dc-font-weight-bold:700;--dc-tracking-normal:0em;--dc-tracking-wide:.025em;--dc-tracking-wider:.05em;--dc-leading-tight:1.25;--dc-leading-relaxed:1.625;--dc-radius-sm:.25rem;--dc-radius-md:.375rem;--dc-radius-lg:.5rem;--dc-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--dc-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--dc-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--dc-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--dc-shadow-2xl:0 25px 50px -12px #00000040;--dc-drop-shadow-sm:0 1px 2px #00000026;--dc-ease-out:cubic-bezier(0, 0, .2, 1);--dc-ease-in-out:cubic-bezier(.4, 0, .2, 1);--dc-animate-spin:spin 1s linear infinite;--dc-animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--dc-blur-md:12px;--dc-default-transition-duration:.15s;--dc-default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer base,components;@layer utilities{.dc\\:pointer-events-none{pointer-events:none}.dc\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dc\\:absolute{position:absolute}.dc\\:fixed{position:fixed}.dc\\:relative{position:relative}.dc\\:sticky{position:sticky}.dc\\:inset-0{inset:0}.dc\\:-top-0\\.5{top:calc(var(--dc-spacing) * -.5)}.dc\\:-top-1{top:calc(var(--dc-spacing) * -1)}.dc\\:-top-5{top:calc(var(--dc-spacing) * -5)}.dc\\:top-0{top:0}.dc\\:top-0\\.5{top:calc(var(--dc-spacing) * .5)}.dc\\:top-1{top:var(--dc-spacing)}.dc\\:top-1\\/2{top:50%}.dc\\:top-full{top:100%}.dc\\:-right-0\\.5{right:calc(var(--dc-spacing) * -.5)}.dc\\:right-0{right:0}.dc\\:right-0\\.5{right:calc(var(--dc-spacing) * .5)}.dc\\:right-1{right:var(--dc-spacing)}.dc\\:right-4{right:calc(var(--dc-spacing) * 4)}.dc\\:right-full{right:100%}.dc\\:bottom-0{bottom:0}.dc\\:bottom-2{bottom:calc(var(--dc-spacing) * 2)}.dc\\:left-0{left:0}.dc\\:left-1\\/2{left:50%}.dc\\:left-2{left:calc(var(--dc-spacing) * 2)}.dc\\:left-4{left:calc(var(--dc-spacing) * 4)}.dc\\:left-full{left:100%}.dc\\:z-10{z-index:10}.dc\\:z-20{z-index:20}.dc\\:z-30{z-index:30}.dc\\:z-40{z-index:40}.dc\\:z-50{z-index:50}.dc\\:z-\\[60\\]{z-index:60}.dc\\:float-right{float:right}.dc\\:m-0{margin:0}.dc\\:-mx-2{margin-inline:calc(var(--dc-spacing) * -2)}.dc\\:mx-1{margin-inline:var(--dc-spacing)}.dc\\:mx-4{margin-inline:calc(var(--dc-spacing) * 4)}.dc\\:mx-auto{margin-inline:auto}.dc\\:my-0\\.5{margin-block:calc(var(--dc-spacing) * .5)}.dc\\:my-1{margin-block:var(--dc-spacing)}.dc\\:my-2{margin-block:calc(var(--dc-spacing) * 2)}.dc\\:my-3{margin-block:calc(var(--dc-spacing) * 3)}.dc\\:my-4{margin-block:calc(var(--dc-spacing) * 4)}.dc\\:mt-0\\.5{margin-top:calc(var(--dc-spacing) * .5)}.dc\\:mt-1{margin-top:var(--dc-spacing)}.dc\\:mt-2{margin-top:calc(var(--dc-spacing) * 2)}.dc\\:mt-3{margin-top:calc(var(--dc-spacing) * 3)}.dc\\:mt-4{margin-top:calc(var(--dc-spacing) * 4)}.dc\\:mt-6{margin-top:calc(var(--dc-spacing) * 6)}.dc\\:-mr-2{margin-right:calc(var(--dc-spacing) * -2)}.dc\\:mr-0\\.5{margin-right:calc(var(--dc-spacing) * .5)}.dc\\:mr-1{margin-right:var(--dc-spacing)}.dc\\:mr-1\\.5{margin-right:calc(var(--dc-spacing) * 1.5)}.dc\\:mr-2{margin-right:calc(var(--dc-spacing) * 2)}.dc\\:mr-3{margin-right:calc(var(--dc-spacing) * 3)}.dc\\:mb-0{margin-bottom:0}.dc\\:mb-1{margin-bottom:var(--dc-spacing)}.dc\\:mb-1\\.5{margin-bottom:calc(var(--dc-spacing) * 1.5)}.dc\\:mb-2{margin-bottom:calc(var(--dc-spacing) * 2)}.dc\\:mb-3{margin-bottom:calc(var(--dc-spacing) * 3)}.dc\\:mb-4{margin-bottom:calc(var(--dc-spacing) * 4)}.dc\\:mb-16{margin-bottom:calc(var(--dc-spacing) * 16)}.dc\\:-ml-2{margin-left:calc(var(--dc-spacing) * -2)}.dc\\:ml-0\\.5{margin-left:calc(var(--dc-spacing) * .5)}.dc\\:ml-1{margin-left:var(--dc-spacing)}.dc\\:ml-1\\.5{margin-left:calc(var(--dc-spacing) * 1.5)}.dc\\:ml-2{margin-left:calc(var(--dc-spacing) * 2)}.dc\\:ml-4{margin-left:calc(var(--dc-spacing) * 4)}.dc\\:ml-5{margin-left:calc(var(--dc-spacing) * 5)}.dc\\:ml-6{margin-left:calc(var(--dc-spacing) * 6)}.dc\\:ml-auto{margin-left:auto}.dc\\:line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.dc\\:block{display:block}.dc\\:flex{display:flex}.dc\\:grid{display:grid}.dc\\:hidden{display:none}.dc\\:inline-block{display:inline-block}.dc\\:inline-flex{display:inline-flex}.dc\\:h-0\\.5{height:calc(var(--dc-spacing) * .5)}.dc\\:h-1\\.5{height:calc(var(--dc-spacing) * 1.5)}.dc\\:h-2{height:calc(var(--dc-spacing) * 2)}.dc\\:h-2\\.5{height:calc(var(--dc-spacing) * 2.5)}.dc\\:h-3{height:calc(var(--dc-spacing) * 3)}.dc\\:h-3\\.5{height:calc(var(--dc-spacing) * 3.5)}.dc\\:h-4{height:calc(var(--dc-spacing) * 4)}.dc\\:h-5{height:calc(var(--dc-spacing) * 5)}.dc\\:h-6{height:calc(var(--dc-spacing) * 6)}.dc\\:h-8{height:calc(var(--dc-spacing) * 8)}.dc\\:h-10{height:calc(var(--dc-spacing) * 10)}.dc\\:h-12{height:calc(var(--dc-spacing) * 12)}.dc\\:h-64{height:calc(var(--dc-spacing) * 64)}.dc\\:h-96{height:calc(var(--dc-spacing) * 96)}.dc\\:h-\\[60vh\\]{height:60vh}.dc\\:h-\\[90vh\\]{height:90vh}.dc\\:h-full{height:100%}.dc\\:h-px{height:1px}.dc\\:max-h-20{max-height:calc(var(--dc-spacing) * 20)}.dc\\:max-h-32{max-height:calc(var(--dc-spacing) * 32)}.dc\\:max-h-40{max-height:calc(var(--dc-spacing) * 40)}.dc\\:max-h-48{max-height:calc(var(--dc-spacing) * 48)}.dc\\:max-h-56{max-height:calc(var(--dc-spacing) * 56)}.dc\\:max-h-60{max-height:calc(var(--dc-spacing) * 60)}.dc\\:max-h-64{max-height:calc(var(--dc-spacing) * 64)}.dc\\:max-h-72{max-height:calc(var(--dc-spacing) * 72)}.dc\\:max-h-80{max-height:calc(var(--dc-spacing) * 80)}.dc\\:max-h-\\[40\\%\\]{max-height:40%}.dc\\:max-h-\\[80vh\\]{max-height:80vh}.dc\\:max-h-\\[85vh\\]{max-height:85vh}.dc\\:max-h-\\[90vh\\]{max-height:90vh}.dc\\:min-h-0{min-height:0}.dc\\:min-h-10{min-height:calc(var(--dc-spacing) * 10)}.dc\\:min-h-12{min-height:calc(var(--dc-spacing) * 12)}.dc\\:min-h-16{min-height:calc(var(--dc-spacing) * 16)}.dc\\:min-h-\\[30px\\]{min-height:30px}.dc\\:min-h-\\[48px\\]{min-height:48px}.dc\\:min-h-\\[50vh\\]{min-height:50vh}.dc\\:min-h-\\[100px\\]{min-height:100px}.dc\\:min-h-\\[200px\\]{min-height:200px}.dc\\:min-h-\\[400px\\]{min-height:400px}.dc\\:w-1{width:var(--dc-spacing)}.dc\\:w-1\\.5{width:calc(var(--dc-spacing) * 1.5)}.dc\\:w-2{width:calc(var(--dc-spacing) * 2)}.dc\\:w-2\\.5{width:calc(var(--dc-spacing) * 2.5)}.dc\\:w-3{width:calc(var(--dc-spacing) * 3)}.dc\\:w-3\\.5{width:calc(var(--dc-spacing) * 3.5)}.dc\\:w-4{width:calc(var(--dc-spacing) * 4)}.dc\\:w-5{width:calc(var(--dc-spacing) * 5)}.dc\\:w-6{width:calc(var(--dc-spacing) * 6)}.dc\\:w-8{width:calc(var(--dc-spacing) * 8)}.dc\\:w-10{width:calc(var(--dc-spacing) * 10)}.dc\\:w-12{width:calc(var(--dc-spacing) * 12)}.dc\\:w-16{width:calc(var(--dc-spacing) * 16)}.dc\\:w-20{width:calc(var(--dc-spacing) * 20)}.dc\\:w-24{width:calc(var(--dc-spacing) * 24)}.dc\\:w-28{width:calc(var(--dc-spacing) * 28)}.dc\\:w-36{width:calc(var(--dc-spacing) * 36)}.dc\\:w-48{width:calc(var(--dc-spacing) * 48)}.dc\\:w-52{width:calc(var(--dc-spacing) * 52)}.dc\\:w-60{width:calc(var(--dc-spacing) * 60)}.dc\\:w-72{width:calc(var(--dc-spacing) * 72)}.dc\\:w-\\[90vw\\]{width:90vw}.dc\\:w-\\[180px\\]{width:180px}.dc\\:w-\\[280px\\]{width:280px}.dc\\:w-full{width:100%}.dc\\:w-px{width:1px}.dc\\:max-w-2xl{max-width:var(--dc-container-2xl)}.dc\\:max-w-4xl{max-width:var(--dc-container-4xl)}.dc\\:max-w-5xl{max-width:var(--dc-container-5xl)}.dc\\:max-w-6xl{max-width:var(--dc-container-6xl)}.dc\\:max-w-7xl{max-width:var(--dc-container-7xl)}.dc\\:max-w-32{max-width:calc(var(--dc-spacing) * 32)}.dc\\:max-w-\\[85\\%\\]{max-width:85%}.dc\\:max-w-\\[90\\%\\]{max-width:90%}.dc\\:max-w-\\[100px\\]{max-width:100px}.dc\\:max-w-\\[150px\\]{max-width:150px}.dc\\:max-w-\\[200px\\]{max-width:200px}.dc\\:max-w-\\[280px\\]{max-width:280px}.dc\\:max-w-\\[320px\\]{max-width:320px}.dc\\:max-w-\\[1400px\\]{max-width:1400px}.dc\\:max-w-full{max-width:100%}.dc\\:max-w-lg{max-width:var(--dc-container-lg)}.dc\\:max-w-md{max-width:var(--dc-container-md)}.dc\\:max-w-none{max-width:none}.dc\\:max-w-sm{max-width:var(--dc-container-sm)}.dc\\:max-w-xs{max-width:var(--dc-container-xs)}.dc\\:min-w-0{min-width:0}.dc\\:min-w-\\[2rem\\]{min-width:2rem}.dc\\:min-w-\\[60px\\]{min-width:60px}.dc\\:min-w-\\[70px\\]{min-width:70px}.dc\\:min-w-\\[80px\\]{min-width:80px}.dc\\:min-w-\\[100px\\]{min-width:100px}.dc\\:min-w-\\[120px\\]{min-width:120px}.dc\\:min-w-\\[180px\\]{min-width:180px}.dc\\:min-w-\\[200px\\]{min-width:200px}.dc\\:min-w-\\[220px\\]{min-width:220px}.dc\\:min-w-\\[260px\\]{min-width:260px}.dc\\:min-w-\\[280px\\]{min-width:280px}.dc\\:min-w-full{min-width:100%}.dc\\:min-w-max{min-width:max-content}.dc\\:flex-1{flex:1}.dc\\:flex-shrink-0,.dc\\:shrink-0{flex-shrink:0}.dc\\:border-collapse{border-collapse:collapse}.dc\\:-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:-translate-x-16{--tw-translate-x:calc(var(--dc-spacing) * -16);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:translate-x-0{--tw-translate-x:0;translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:translate-x-16{--tw-translate-x:calc(var(--dc-spacing) * 16);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.dc\\:scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dc\\:rotate-180{rotate:180deg}.dc\\:transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dc\\:animate-pulse{animation:var(--dc-animate-pulse)}.dc\\:animate-spin{animation:var(--dc-animate-spin)}.dc\\:cursor-col-resize{cursor:col-resize}.dc\\:cursor-default{cursor:default}.dc\\:cursor-grab{cursor:grab}.dc\\:cursor-grabbing{cursor:grabbing}.dc\\:cursor-help{cursor:help}.dc\\:cursor-move{cursor:move}.dc\\:cursor-not-allowed{cursor:not-allowed}.dc\\:cursor-pointer{cursor:pointer}.dc\\:cursor-wait{cursor:wait}.dc\\:resize-none{resize:none}.dc\\:resize-y{resize:vertical}.dc\\:list-inside{list-style-position:inside}.dc\\:list-decimal{list-style-type:decimal}.dc\\:list-disc{list-style-type:disc}.dc\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.dc\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:flex-col{flex-direction:column}.dc\\:flex-wrap{flex-wrap:wrap}.dc\\:items-center{align-items:center}.dc\\:items-end{align-items:flex-end}.dc\\:items-start{align-items:flex-start}.dc\\:justify-between{justify-content:space-between}.dc\\:justify-center{justify-content:center}.dc\\:justify-end{justify-content:flex-end}.dc\\:justify-start{justify-content:flex-start}.dc\\:gap-0\\.5{gap:calc(var(--dc-spacing) * .5)}.dc\\:gap-1{gap:var(--dc-spacing)}.dc\\:gap-1\\.5{gap:calc(var(--dc-spacing) * 1.5)}.dc\\:gap-2{gap:calc(var(--dc-spacing) * 2)}.dc\\:gap-3{gap:calc(var(--dc-spacing) * 3)}.dc\\:gap-4{gap:calc(var(--dc-spacing) * 4)}.dc\\:gap-6{gap:calc(var(--dc-spacing) * 6)}:where(.dc\\:space-y-0\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--dc-spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--dc-spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--dc-spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--dc-spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.dc\\:space-x-0\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * .5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * .5) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(var(--dc-spacing) * var(--tw-space-x-reverse));margin-inline-end:calc(var(--dc-spacing) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-1\\.5>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 1.5) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 1.5) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:space-x-4>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--dc-spacing) * 4) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--dc-spacing) * 4) * calc(1 - var(--tw-space-x-reverse)))}:where(.dc\\:divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.dc\\:truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dc\\:overflow-auto{overflow:auto}.dc\\:overflow-hidden{overflow:hidden}.dc\\:overflow-visible{overflow:visible}.dc\\:overflow-x-auto{overflow-x:auto}.dc\\:overflow-y-auto{overflow-y:auto}.dc\\:overflow-y-hidden{overflow-y:hidden}.dc\\:rounded{border-radius:.25rem}.dc\\:rounded-full{border-radius:3.40282e38px}.dc\\:rounded-lg{border-radius:var(--dc-radius-lg)}.dc\\:rounded-md{border-radius:var(--dc-radius-md)}.dc\\:rounded-none{border-radius:0}.dc\\:rounded-sm{border-radius:var(--dc-radius-sm)}.dc\\:rounded-t-lg{border-top-left-radius:var(--dc-radius-lg);border-top-right-radius:var(--dc-radius-lg)}.dc\\:rounded-t-sm{border-top-left-radius:var(--dc-radius-sm);border-top-right-radius:var(--dc-radius-sm)}.dc\\:rounded-b-lg{border-bottom-right-radius:var(--dc-radius-lg);border-bottom-left-radius:var(--dc-radius-lg)}.dc\\:rounded-br-sm{border-bottom-right-radius:var(--dc-radius-sm)}.dc\\:rounded-bl-sm{border-bottom-left-radius:var(--dc-radius-sm)}.dc\\:border{border-style:var(--tw-border-style);border-width:1px}.dc\\:border-2{border-style:var(--tw-border-style);border-width:2px}.dc\\:border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.dc\\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.dc\\:border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.dc\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.dc\\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.dc\\:border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.dc\\:border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.dc\\:border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.dc\\:border-dashed{--tw-border-style:dashed;border-style:dashed}.dc\\:border-none{--tw-border-style:none;border-style:none}.dc\\:border-solid{--tw-border-style:solid;border-style:solid}.dc\\:border-current{border-color:currentColor}.dc\\:bg-black\\/50{background-color:var(--dc-color-black)}@supports (color:color-mix(in lab, red, red)){.dc\\:bg-black\\/50{background-color:color-mix(in oklab, var(--dc-color-black) 50%, transparent)}}.dc\\:bg-transparent{background-color:#0000}.dc\\:p-0\\.5{padding:calc(var(--dc-spacing) * .5)}.dc\\:p-1{padding:var(--dc-spacing)}.dc\\:p-1\\.5{padding:calc(var(--dc-spacing) * 1.5)}.dc\\:p-2{padding:calc(var(--dc-spacing) * 2)}.dc\\:p-3{padding:calc(var(--dc-spacing) * 3)}.dc\\:p-4{padding:calc(var(--dc-spacing) * 4)}.dc\\:p-6{padding:calc(var(--dc-spacing) * 6)}.dc\\:p-8{padding:calc(var(--dc-spacing) * 8)}.dc\\:px-1{padding-inline:var(--dc-spacing)}.dc\\:px-1\\.5{padding-inline:calc(var(--dc-spacing) * 1.5)}.dc\\:px-2{padding-inline:calc(var(--dc-spacing) * 2)}.dc\\:px-2\\.5{padding-inline:calc(var(--dc-spacing) * 2.5)}.dc\\:px-3{padding-inline:calc(var(--dc-spacing) * 3)}.dc\\:px-4{padding-inline:calc(var(--dc-spacing) * 4)}.dc\\:px-6{padding-inline:calc(var(--dc-spacing) * 6)}.dc\\:py-0\\.5{padding-block:calc(var(--dc-spacing) * .5)}.dc\\:py-1{padding-block:var(--dc-spacing)}.dc\\:py-1\\.5{padding-block:calc(var(--dc-spacing) * 1.5)}.dc\\:py-2{padding-block:calc(var(--dc-spacing) * 2)}.dc\\:py-2\\.5{padding-block:calc(var(--dc-spacing) * 2.5)}.dc\\:py-3{padding-block:calc(var(--dc-spacing) * 3)}.dc\\:py-4{padding-block:calc(var(--dc-spacing) * 4)}.dc\\:py-6{padding-block:calc(var(--dc-spacing) * 6)}.dc\\:py-8{padding-block:calc(var(--dc-spacing) * 8)}.dc\\:py-12{padding-block:calc(var(--dc-spacing) * 12)}.dc\\:pt-1{padding-top:var(--dc-spacing)}.dc\\:pt-2{padding-top:calc(var(--dc-spacing) * 2)}.dc\\:pt-3{padding-top:calc(var(--dc-spacing) * 3)}.dc\\:pt-4{padding-top:calc(var(--dc-spacing) * 4)}.dc\\:pt-6{padding-top:calc(var(--dc-spacing) * 6)}.dc\\:pr-1{padding-right:var(--dc-spacing)}.dc\\:pr-2{padding-right:calc(var(--dc-spacing) * 2)}.dc\\:pr-3{padding-right:calc(var(--dc-spacing) * 3)}.dc\\:pb-1{padding-bottom:var(--dc-spacing)}.dc\\:pb-2{padding-bottom:calc(var(--dc-spacing) * 2)}.dc\\:pb-3{padding-bottom:calc(var(--dc-spacing) * 3)}.dc\\:pb-4{padding-bottom:calc(var(--dc-spacing) * 4)}.dc\\:pb-24{padding-bottom:calc(var(--dc-spacing) * 24)}.dc\\:pl-2{padding-left:calc(var(--dc-spacing) * 2)}.dc\\:pl-3{padding-left:calc(var(--dc-spacing) * 3)}.dc\\:pl-7{padding-left:calc(var(--dc-spacing) * 7)}.dc\\:pl-8{padding-left:calc(var(--dc-spacing) * 8)}.dc\\:text-center{text-align:center}.dc\\:text-left{text-align:left}.dc\\:text-right{text-align:right}.dc\\:align-top{vertical-align:top}.dc\\:font-mono{font-family:var(--dc-font-mono)}.dc\\:text-2xl{font-size:var(--dc-text-2xl);line-height:var(--tw-leading,var(--dc-text-2xl--line-height))}.dc\\:text-3xl{font-size:var(--dc-text-3xl);line-height:var(--tw-leading,var(--dc-text-3xl--line-height))}.dc\\:text-4xl{font-size:var(--dc-text-4xl);line-height:var(--tw-leading,var(--dc-text-4xl--line-height))}.dc\\:text-5xl{font-size:var(--dc-text-5xl);line-height:var(--tw-leading,var(--dc-text-5xl--line-height))}.dc\\:text-base{font-size:var(--dc-text-base);line-height:var(--tw-leading,var(--dc-text-base--line-height))}.dc\\:text-lg{font-size:var(--dc-text-lg);line-height:var(--tw-leading,var(--dc-text-lg--line-height))}.dc\\:text-sm{font-size:var(--dc-text-sm);line-height:var(--tw-leading,var(--dc-text-sm--line-height))}.dc\\:text-xl{font-size:var(--dc-text-xl);line-height:var(--tw-leading,var(--dc-text-xl--line-height))}.dc\\:text-xs{font-size:var(--dc-text-xs);line-height:var(--tw-leading,var(--dc-text-xs--line-height))}.dc\\:text-\\[9px\\]{font-size:9px}.dc\\:text-\\[10px\\]{font-size:10px}.dc\\:text-\\[11px\\]{font-size:11px}.dc\\:leading-none{--tw-leading:1;line-height:1}.dc\\:leading-relaxed{--tw-leading:var(--dc-leading-relaxed);line-height:var(--dc-leading-relaxed)}.dc\\:leading-tight{--tw-leading:var(--dc-leading-tight);line-height:var(--dc-leading-tight)}.dc\\:font-bold{--tw-font-weight:var(--dc-font-weight-bold);font-weight:var(--dc-font-weight-bold)}.dc\\:font-medium{--tw-font-weight:var(--dc-font-weight-medium);font-weight:var(--dc-font-weight-medium)}.dc\\:font-normal{--tw-font-weight:var(--dc-font-weight-normal);font-weight:var(--dc-font-weight-normal)}.dc\\:font-semibold{--tw-font-weight:var(--dc-font-weight-semibold);font-weight:var(--dc-font-weight-semibold)}.dc\\:tracking-normal{--tw-tracking:var(--dc-tracking-normal);letter-spacing:var(--dc-tracking-normal)}.dc\\:tracking-wide{--tw-tracking:var(--dc-tracking-wide);letter-spacing:var(--dc-tracking-wide)}.dc\\:tracking-wider{--tw-tracking:var(--dc-tracking-wider);letter-spacing:var(--dc-tracking-wider)}.dc\\:break-words{overflow-wrap:break-word}.dc\\:text-ellipsis{text-overflow:ellipsis}.dc\\:whitespace-nowrap{white-space:nowrap}.dc\\:whitespace-pre-wrap{white-space:pre-wrap}.dc\\:text-white{color:var(--dc-color-white)}.dc\\:capitalize{text-transform:capitalize}.dc\\:normal-case{text-transform:none}.dc\\:uppercase{text-transform:uppercase}.dc\\:italic{font-style:italic}.dc\\:tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.dc\\:underline{text-decoration-line:underline}.dc\\:opacity-0{opacity:0}.dc\\:opacity-25{opacity:.25}.dc\\:opacity-30{opacity:.3}.dc\\:opacity-40{opacity:.4}.dc\\:opacity-50{opacity:.5}.dc\\:opacity-60{opacity:.6}.dc\\:opacity-70{opacity:.7}.dc\\:opacity-75{opacity:.75}.dc\\:opacity-80{opacity:.8}.dc\\:opacity-90{opacity:.9}.dc\\:opacity-100{opacity:1}.dc\\:shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--dc-drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dc\\:grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dc\\:backdrop-blur-md{--tw-backdrop-blur:blur(var(--dc-blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.dc\\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--dc-default-transition-timing-function));transition-duration:var(--tw-duration,var(--dc-default-transition-duration))}.dc\\:duration-150{--tw-duration:.15s;transition-duration:.15s}.dc\\:duration-200{--tw-duration:.2s;transition-duration:.2s}.dc\\:duration-300{--tw-duration:.3s;transition-duration:.3s}.dc\\:ease-in-out{--tw-ease:var(--dc-ease-in-out);transition-timing-function:var(--dc-ease-in-out)}.dc\\:ease-out{--tw-ease:var(--dc-ease-out);transition-timing-function:var(--dc-ease-out)}.dc\\:outline-none{--tw-outline-style:none;outline-style:none}.dc\\:select-none{-webkit-user-select:none;user-select:none}.dc\\:ring-inset{--tw-ring-inset:inset}@media (hover:hover){.dc\\:group-hover\\:opacity-100:is(:where(.dc\\:group):hover *){opacity:1}}.dc\\:first\\:rounded-l-sm:first-child{border-top-left-radius:var(--dc-radius-sm);border-bottom-left-radius:var(--dc-radius-sm)}.dc\\:last\\:mb-0:last-child{margin-bottom:0}.dc\\:last\\:rounded-r-sm:last-child{border-top-right-radius:var(--dc-radius-sm);border-bottom-right-radius:var(--dc-radius-sm)}.dc\\:last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}@media (hover:hover){.dc\\:hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dc\\:hover\\:underline:hover{text-decoration-line:underline}.dc\\:hover\\:opacity-60:hover{opacity:.6}.dc\\:hover\\:opacity-80:hover{opacity:.8}.dc\\:hover\\:opacity-90:hover{opacity:.9}.dc\\:hover\\:opacity-100:hover{opacity:1}.dc\\:hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.dc\\:focus\\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dc\\:focus\\:ring-current:focus{--tw-ring-color:currentcolor}.dc\\:focus\\:ring-offset-1:focus{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.dc\\:focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.dc\\:active\\:cursor-grabbing:active{cursor:grabbing}.dc\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.dc\\:disabled\\:opacity-30:disabled{opacity:.3}.dc\\:disabled\\:opacity-40:disabled{opacity:.4}.dc\\:disabled\\:opacity-50:disabled{opacity:.5}@media (width>=40rem){.dc\\:sm\\:inline{display:inline}.dc\\:sm\\:w-32{width:calc(var(--dc-spacing) * 32)}.dc\\:sm\\:w-40{width:calc(var(--dc-spacing) * 40)}.dc\\:sm\\:flex-initial{flex:0 auto}.dc\\:sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:sm\\:flex-row{flex-direction:row}.dc\\:sm\\:items-center{align-items:center}.dc\\:sm\\:justify-start{justify-content:flex-start}.dc\\:sm\\:opacity-0{opacity:0}@media (hover:hover){.dc\\:sm\\:group-hover\\:opacity-100:is(:where(.dc\\:group):hover *){opacity:1}}}@media (width>=48rem){.dc\\:md\\:block{display:block}.dc\\:md\\:flex{display:flex}.dc\\:md\\:hidden{display:none}.dc\\:md\\:h-\\[80vh\\]{height:80vh}.dc\\:md\\:h-\\[90vh\\]{height:90vh}.dc\\:md\\:max-h-\\[700px\\]{max-height:700px}.dc\\:md\\:w-80{width:calc(var(--dc-spacing) * 80)}.dc\\:md\\:w-\\[900px\\]{width:900px}.dc\\:md\\:w-\\[min\\(90vw\\,1400px\\)\\]{width:min(90vw,1400px)}.dc\\:md\\:max-w-\\[900px\\]{max-width:900px}.dc\\:md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:md\\:items-center{align-items:center}.dc\\:md\\:justify-center{justify-content:center}.dc\\:md\\:gap-3{gap:calc(var(--dc-spacing) * 3)}.dc\\:md\\:rounded-lg{border-radius:var(--dc-radius-lg)}.dc\\:md\\:px-4{padding-inline:calc(var(--dc-spacing) * 4)}.dc\\:md\\:px-6{padding-inline:calc(var(--dc-spacing) * 6)}.dc\\:md\\:py-3{padding-block:calc(var(--dc-spacing) * 3)}.dc\\:md\\:py-4{padding-block:calc(var(--dc-spacing) * 4)}.dc\\:md\\:pt-6{padding-top:calc(var(--dc-spacing) * 6)}.dc\\:md\\:pb-4{padding-bottom:calc(var(--dc-spacing) * 4)}}@media (width>=64rem){.dc\\:lg\\:col-span-2{grid-column:span 2/span 2}.dc\\:lg\\:flex{display:flex}.dc\\:lg\\:inline{display:inline}.dc\\:lg\\:h-\\[var\\(--dc-max-h\\)\\]{height:var(--dc-max-h)}.dc\\:lg\\:h-auto{height:auto}.dc\\:lg\\:h-full{height:100%}.dc\\:lg\\:max-h-\\[var\\(--dc-max-h\\)\\]{max-height:var(--dc-max-h)}.dc\\:lg\\:w-96{width:calc(var(--dc-spacing) * 96)}.dc\\:lg\\:flex-1{flex:1}.dc\\:lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dc\\:lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dc\\:lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.dc\\:lg\\:flex-row{flex-direction:row}.dc\\:lg\\:overflow-hidden{overflow:hidden}.dc\\:lg\\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.dc\\:lg\\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}.bg-dc-surface{background-color:var(--dc-surface)}.bg-dc-surface-secondary{background-color:var(--dc-surface-secondary)}.bg-dc-surface-tertiary{background-color:var(--dc-surface-tertiary)}.bg-dc-surface-hover{background-color:var(--dc-surface-hover)}.text-dc-text{color:var(--dc-text)}.text-dc-text-secondary{color:var(--dc-text-secondary)}.text-dc-text-muted{color:var(--dc-text-muted)}.text-dc-text-disabled{color:var(--dc-text-disabled)}.border-dc-border{border-color:var(--dc-border)}.border-dc-border-secondary{border-color:var(--dc-border-secondary)}.border-dc-border-hover{border-color:var(--dc-border-hover)}.bg-dc-primary{background-color:var(--dc-primary)}.bg-dc-primary-hover{background-color:var(--dc-primary-hover)}.text-dc-primary{color:var(--dc-primary)}.text-dc-primary-content{color:var(--dc-primary-content)}.border-dc-primary{border-color:var(--dc-primary)}.ring-dc-primary{--tw-ring-color:var(--dc-primary)}.bg-dc-success{background-color:var(--dc-success)}.bg-dc-success-bg{background-color:var(--dc-success-bg)}.text-dc-success{color:var(--dc-success)}.border-dc-success{border-color:var(--dc-success)}.border-dc-success-border{border-color:var(--dc-success-border)}.bg-dc-warning{background-color:var(--dc-warning)}.bg-dc-warning-bg{background-color:var(--dc-warning-bg)}.text-dc-warning{color:var(--dc-warning)}.border-dc-warning{border-color:var(--dc-warning)}.border-dc-warning-border{border-color:var(--dc-warning-border)}.bg-dc-error{background-color:var(--dc-error)}.bg-dc-error-bg{background-color:var(--dc-error-bg)}.text-dc-error{color:var(--dc-error)}.border-dc-error{border-color:var(--dc-error)}.border-dc-error-border{border-color:var(--dc-error-border)}.bg-dc-info{background-color:var(--dc-info)}.bg-dc-info-bg{background-color:var(--dc-info-bg)}.text-dc-info{color:var(--dc-info)}.border-dc-info{border-color:var(--dc-info)}.border-dc-info-border{border-color:var(--dc-info-border)}.bg-dc-danger{background-color:var(--dc-danger)}.bg-dc-danger-bg{background-color:var(--dc-danger-bg)}.bg-dc-danger-hover{background-color:var(--dc-danger-hover)}.text-dc-danger{color:var(--dc-danger)}.border-dc-danger{border-color:var(--dc-danger)}.bg-dc-accent{background-color:var(--dc-accent)}.bg-dc-accent-bg{background-color:var(--dc-accent-bg)}.bg-dc-accent-hover{background-color:var(--dc-accent-hover)}.text-dc-accent{color:var(--dc-accent)}.text-dc-accent-text{color:var(--dc-accent-text)}.border-dc-accent{border-color:var(--dc-accent)}.border-dc-accent-border{border-color:var(--dc-accent-border)}.ring-dc-accent{--tw-ring-color:var(--dc-accent)}.bg-dc-card-bg{background-color:var(--dc-card-bg)}.bg-dc-card-bg-hover{background-color:var(--dc-card-bg-hover)}.border-dc-card-border{border-color:var(--dc-card-border)}.border-dc-card-border-hover{border-color:var(--dc-card-border-hover)}.bg-dc-muted{background-color:var(--dc-muted)}.bg-dc-muted-bg{background-color:var(--dc-muted-bg)}.text-dc-muted{color:var(--dc-muted)}.border-dc-muted{border-color:var(--dc-muted)}.border-dc-muted-border{border-color:var(--dc-muted-border)}.bg-dc-dimension{background-color:var(--dc-dimension-bg)}.text-dc-dimension,.text-dc-dimension-text{color:var(--dc-dimension-text)}.border-dc-dimension{border-color:var(--dc-dimension-border)}.bg-dc-time-dimension{background-color:var(--dc-time-dimension-bg)}.text-dc-time-dimension,.text-dc-time-dimension-text{color:var(--dc-time-dimension-text)}.border-dc-time-dimension{border-color:var(--dc-time-dimension-border)}.bg-dc-measure{background-color:var(--dc-measure-bg)}.text-dc-measure,.text-dc-measure-text{color:var(--dc-measure-text)}.border-dc-measure{border-color:var(--dc-measure-border)}.bg-dc-filter{background-color:var(--dc-filter-bg)}.text-dc-filter,.text-dc-filter-text{color:var(--dc-filter-text)}.border-dc-filter{border-color:var(--dc-filter-border)}.hover\\:bg-dc-surface-hover:hover{background-color:var(--dc-surface-hover)}.hover\\:border-dc-border-hover:hover{border-color:var(--dc-border-hover)}.hover\\:bg-dc-primary-hover:hover{background-color:var(--dc-primary-hover)}.hover\\:bg-dc-danger-hover:hover{background-color:var(--dc-danger-hover)}.hover\\:bg-dc-accent-hover:hover{background-color:var(--dc-accent-hover)}.hover\\:border-dc-accent:hover{border-color:var(--dc-accent)}.hover\\:bg-dc-card-bg-hover:hover{background-color:var(--dc-card-bg-hover)}.hover\\:border-dc-card-border-hover:hover{border-color:var(--dc-card-border-hover)}.hover\\:text-dc-primary:hover{color:var(--dc-primary)}.hover\\:text-dc-accent:hover{color:var(--dc-accent)}.hover\\:text-dc-danger:hover{color:var(--dc-danger)}.focus\\:ring-dc-primary:focus{--tw-ring-color:var(--dc-primary)}.focus\\:ring-dc-accent:focus{--tw-ring-color:var(--dc-accent)}.focus\\:border-dc-primary:focus{border-color:var(--dc-primary)}.focus\\:border-dc-accent:focus{border-color:var(--dc-accent)}.placeholder-dc-text-muted::placeholder{color:var(--dc-text-muted)}.placeholder-dc-text-disabled::placeholder{color:var(--dc-text-disabled)}}:root{--dc-surface:#fff;--dc-surface-secondary:#f9fafb;--dc-surface-tertiary:#f3f4f6;--dc-surface-hover:#f3f4f6;--dc-text:#111827;--dc-text-secondary:#374151;--dc-text-muted:#6b7280;--dc-text-disabled:#9ca3af;--dc-border:#e5e7eb;--dc-border-secondary:#d1d5db;--dc-border-hover:#d1d5db;--dc-primary:#3b82f6;--dc-primary-hover:#2563eb;--dc-primary-content:#fff;--dc-success:#10b981;--dc-success-bg:#d1fae5;--dc-success-border:#6ee7b7;--dc-warning:#f59e0b;--dc-warning-bg:#fef3c7;--dc-warning-border:#fcd34d;--dc-error:#ef4444;--dc-error-bg:#fee2e2;--dc-error-border:#fca5a5;--dc-info:#3b82f6;--dc-info-bg:#dbeafe;--dc-info-border:#93c5fd;--dc-danger:#dc2626;--dc-danger-hover:#b91c1c;--dc-danger-bg:#fee2e2;--dc-dimension-bg:#bbf7d0;--dc-dimension-text:#15803d;--dc-dimension-border:#86efac;--dc-time-dimension-bg:#bfdbfe;--dc-time-dimension-text:#1d4ed8;--dc-time-dimension-border:#60a5fa;--dc-measure-bg:#fde68a;--dc-measure-text:#b45309;--dc-measure-border:#fbbf24;--dc-filter-bg:#e9d5ff;--dc-filter-text:#7c3aed;--dc-filter-border:#c084fc;--dc-overlay:#000000bf;--dc-overlay-light:#00000080;--dc-shadow-sm:0 1px 2px 0 #0000000d;--dc-shadow:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--dc-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--dc-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--dc-shadow-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--dc-shadow-2xl:0 25px 50px -12px #00000040;--dc-card-bg:#fff;--dc-card-bg-hover:#f9fafb;--dc-card-border:#e5e7eb;--dc-card-border-hover:#d1d5db;--dc-accent:#3b82f6;--dc-accent-hover:#2563eb;--dc-accent-bg:#eff6ff;--dc-accent-border:#93c5fd;--dc-accent-text:#fff;--dc-muted:#6b7280;--dc-muted-bg:#f3f4f6;--dc-muted-border:#e5e7eb;--dc-ai-gradient-start:#faf5ff;--dc-ai-gradient-end:#eef2ff}[data-theme=dark],.dark,html.dark{--dc-surface:#1e293b;--dc-surface-secondary:#334155;--dc-surface-tertiary:#475569;--dc-surface-hover:#475569;--dc-text:#f1f5f9;--dc-text-secondary:#e2e8f0;--dc-text-muted:#cbd5e1;--dc-text-disabled:#94a3b8;--dc-border:#475569;--dc-border-secondary:#64748b;--dc-border-hover:#64748b;--dc-primary:#60a5fa;--dc-primary-hover:#3b82f6;--dc-primary-content:#0c4a6e;--dc-success:#34d399;--dc-success-bg:#064e3b;--dc-success-border:#059669;--dc-warning:#fbbf24;--dc-warning-bg:#78350f;--dc-warning-border:#d97706;--dc-error:#f87171;--dc-error-bg:#7f1d1d;--dc-error-border:#dc2626;--dc-info:#60a5fa;--dc-info-bg:#1e3a8a;--dc-info-border:#2563eb;--dc-danger:#ef4444;--dc-danger-hover:#dc2626;--dc-danger-bg:#7f1d1d;--dc-dimension-bg:#22c55e66;--dc-dimension-text:#4ade80;--dc-dimension-border:#22c55e;--dc-time-dimension-bg:#3b82f666;--dc-time-dimension-text:#60a5fa;--dc-time-dimension-border:#3b82f6;--dc-measure-bg:#f59e0b66;--dc-measure-text:#fbbf24;--dc-measure-border:#f59e0b;--dc-filter-bg:#8b5cf666;--dc-filter-text:#c084fc;--dc-filter-border:#a855f7;--dc-overlay:#000000d9;--dc-overlay-light:#0009;--dc-shadow-sm:0 1px 2px 0 #0000004d;--dc-shadow:0 1px 3px 0 #0006, 0 1px 2px -1px #0006;--dc-shadow-md:0 4px 6px -1px #0006, 0 2px 4px -2px #0006;--dc-shadow-lg:0 10px 15px -3px #0006, 0 4px 6px -4px #0006;--dc-shadow-xl:0 20px 25px -5px #0006, 0 8px 10px -6px #0006;--dc-shadow-2xl:0 25px 50px -12px #00000080;--dc-card-bg:#1e293b;--dc-card-bg-hover:#334155;--dc-card-border:#475569;--dc-card-border-hover:#64748b;--dc-accent:#60a5fa;--dc-accent-hover:#3b82f6;--dc-accent-bg:#1e3a8a;--dc-accent-border:#2563eb;--dc-accent-text:#fff;--dc-muted:#94a3b8;--dc-muted-bg:#334155;--dc-muted-border:#475569;--dc-ai-gradient-start:#8b5cf626;--dc-ai-gradient-end:#6366f126}[data-theme=neon],html.neon{--dc-surface:#0a0118;--dc-surface-secondary:#1a0f2e;--dc-surface-tertiary:#2a1f3e;--dc-surface-hover:#3a2f4e;--dc-text:#fff;--dc-text-secondary:#e0e0ff;--dc-text-muted:#b0b0d0;--dc-text-disabled:#808090;--dc-border:#f0f;--dc-border-secondary:#0ff;--dc-border-hover:#0f0;--dc-primary:#0ff;--dc-primary-hover:#0cc;--dc-primary-content:#000;--dc-success:#0f0;--dc-success-bg:#00ff0026;--dc-success-border:#0f0;--dc-warning:#ff0;--dc-warning-bg:#ffff0026;--dc-warning-border:#ff0;--dc-error:#f06;--dc-error-bg:#ff006626;--dc-error-border:#f06;--dc-info:#0ff;--dc-info-bg:#00ffff26;--dc-info-border:#0ff;--dc-danger:#ff1493;--dc-danger-hover:#cc1077;--dc-danger-bg:#ff149326;--dc-dimension-bg:#00ff0059;--dc-dimension-text:#0f0;--dc-dimension-border:#0f0;--dc-time-dimension-bg:#00ffff59;--dc-time-dimension-text:#0ff;--dc-time-dimension-border:#0ff;--dc-measure-bg:#ff00ff59;--dc-measure-text:#f0f;--dc-measure-border:#f0f;--dc-filter-bg:#a855f759;--dc-filter-text:#a855f7;--dc-filter-border:#a855f7;--dc-overlay:#0a0118f2;--dc-overlay-light:#0a0118bf;--dc-shadow-sm:0 0 4px #ff00ff4d;--dc-shadow:0 0 8px #f0f6, 0 0 12px #0ff3;--dc-shadow-md:0 0 12px #ff00ff80, 0 0 20px #00ffff4d;--dc-shadow-lg:0 0 20px #f0f9, 0 0 30px #0ff6;--dc-shadow-xl:0 0 30px #ff00ffb3, 0 0 50px #00ffff80;--dc-shadow-2xl:0 0 50px #f0fc, 0 0 80px #0ff9;--dc-card-bg:#1a0f2e;--dc-card-bg-hover:#2a1f3e;--dc-card-border:#f0f;--dc-card-border-hover:#0ff;--dc-accent:#0ff;--dc-accent-hover:#0cc;--dc-accent-bg:#00ffff26;--dc-accent-border:#0ff;--dc-accent-text:#0a0118;--dc-muted:#b0b0d0;--dc-muted-bg:#2a1f3e;--dc-muted-border:#f0f;--dc-ai-gradient-start:#00ffff1a;--dc-ai-gradient-end:#ff00ff1a}@keyframes dc-msg-in{0%{opacity:0}to{opacity:1}}@keyframes dc-icon-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.2)}}@keyframes dc-strip-nudge{0%,to{width:48px}40%{width:72px}}.recharts-surface:focus,.recharts-wrapper:focus,.recharts-area:focus,.recharts-area-area:focus,.recharts-area-curve:focus,.recharts-line:focus,.recharts-line-curve:focus,.recharts-bar:focus,.recharts-pie:focus,.recharts-sector:focus,.recharts-layer:focus,.recharts-wrapper svg:focus,.recharts-wrapper g:focus,.recharts-wrapper path:focus,.recharts-wrapper rect:focus,.recharts-wrapper circle:focus{outline:none}.hljs{background-color:var(--dc-surface-secondary)!important;color:var(--dc-text)!important;padding:.5em!important}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-section,.hljs-link{color:var(--dc-primary)}.hljs-string,.hljs-attr{color:var(--dc-success)}.hljs-number{color:var(--dc-warning)}.hljs-comment,.hljs-quote{color:var(--dc-text-muted);font-style:italic}.hljs-title,.hljs-class .hljs-title,.hljs-function .hljs-title{color:var(--dc-accent)}.hljs-variable,.hljs-attribute,.hljs-property{color:var(--dc-text-secondary)}.hljs-built_in,.hljs-name{color:var(--dc-info)}.hljs-meta,.hljs-meta-keyword{color:var(--dc-muted)}.hljs-addition{color:var(--dc-success);background-color:var(--dc-success-bg)}.hljs-deletion{color:var(--dc-error);background-color:var(--dc-error-bg)}*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans,-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif);background:var(--dc-surface,#fff);color:var(--dc-text,#1e293b);-webkit-font-smoothing:antialiased;line-height:1.5}#root{min-height:100vh;padding:12px}.dc-mcp-table{border-collapse:collapse;width:100%;font-size:13px}.dc-mcp-table th{text-align:left;border-bottom:2px solid var(--dc-border,#e2e8f0);color:var(--dc-text-secondary,#64748b);text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;padding:6px 10px;font-size:11px;font-weight:600}.dc-mcp-table td{border-bottom:1px solid var(--dc-border,#e2e8f0);color:var(--dc-text,#1e293b);padding:5px 10px}.dc-mcp-table tr:last-child td{border-bottom:none}.dc-mcp-table tr:hover td{background:var(--dc-surface-secondary,#f8fafc)}.dc-mcp-table td.numeric{text-align:right;font-variant-numeric:tabular-nums}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-scale-x{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-y{syntax:\"*\";inherits:false;initial-value:1}@property --tw-scale-z{syntax:\"*\";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-backdrop-blur{syntax:\"*\";inherits:false}@property --tw-backdrop-brightness{syntax:\"*\";inherits:false}@property --tw-backdrop-contrast{syntax:\"*\";inherits:false}@property --tw-backdrop-grayscale{syntax:\"*\";inherits:false}@property --tw-backdrop-hue-rotate{syntax:\"*\";inherits:false}@property --tw-backdrop-invert{syntax:\"*\";inherits:false}@property --tw-backdrop-opacity{syntax:\"*\";inherits:false}@property --tw-backdrop-saturate{syntax:\"*\";inherits:false}@property --tw-backdrop-sepia{syntax:\"*\";inherits:false}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}\n/*$vite$:1*/</style>\n </head>\n <body>\n <div id=\"root\"></div>\n </body>\n</html>\n", c = "ui://drizzle-cube/visualization.html", l = "text/html;profile=mcp-app";
|
|
4
|
+
function u(e) {
|
|
5
|
+
if (!e) return s;
|
|
6
|
+
let t = `<script>window.__DRIZZLE_CUBE_MCP_APP_CONFIG__ = ${JSON.stringify({
|
|
7
|
+
defaultLocale: e.defaultLocale,
|
|
8
|
+
detectBrowserLocale: e.detectBrowserLocale
|
|
9
|
+
}).replace(/<\//g, "<\\/")}<\/script>`;
|
|
10
|
+
return s.replace("</head>", `${t}</head>`);
|
|
11
|
+
}
|
|
12
|
+
var d = [
|
|
13
|
+
"2025-11-25",
|
|
14
|
+
"2025-06-18",
|
|
15
|
+
"2025-03-26"
|
|
16
|
+
], f = "2025-11-25";
|
|
17
|
+
function p(e) {
|
|
18
|
+
let t = A(e["mcp-protocol-version"]) || "2025-11-25";
|
|
19
|
+
return {
|
|
20
|
+
ok: d.includes(t),
|
|
21
|
+
negotiated: d.includes(t) ? t : null,
|
|
22
|
+
supported: d
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function m(e) {
|
|
26
|
+
if (!e) return !1;
|
|
27
|
+
let t = e.split(",").map((e) => e.trim().toLowerCase()), n = t.includes("text/event-stream"), r = t.includes("application/json");
|
|
28
|
+
return n && !r;
|
|
29
|
+
}
|
|
30
|
+
var h = "mcp-session-id";
|
|
31
|
+
function g(e) {
|
|
32
|
+
if (!e) return !1;
|
|
33
|
+
let t = e.split(",").map((e) => e.trim().toLowerCase().split(";")[0]), n = t.some((e) => e === "application/json"), r = t.some((e) => e === "text/event-stream"), i = t.some((e) => e === "*/*");
|
|
34
|
+
return n && r || n || i;
|
|
35
|
+
}
|
|
36
|
+
function _(e, t = {}) {
|
|
37
|
+
let { allowMissingOrigin: n = !0, allowedOrigins: r } = t;
|
|
38
|
+
if (!e) return n ? { valid: !0 } : {
|
|
39
|
+
valid: !1,
|
|
40
|
+
reason: "Origin header is required"
|
|
41
|
+
};
|
|
42
|
+
if (!r || r.length === 0) return { valid: !0 };
|
|
43
|
+
let i;
|
|
44
|
+
try {
|
|
45
|
+
i = new URL(e);
|
|
46
|
+
} catch {
|
|
47
|
+
return {
|
|
48
|
+
valid: !1,
|
|
49
|
+
reason: "Invalid Origin header format"
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return r.map((e) => {
|
|
53
|
+
try {
|
|
54
|
+
return new URL(e).origin;
|
|
55
|
+
} catch {
|
|
56
|
+
return e;
|
|
57
|
+
}
|
|
58
|
+
}).includes(i.origin) ? { valid: !0 } : {
|
|
59
|
+
valid: !1,
|
|
60
|
+
reason: "Origin not in allowed list"
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function v(e) {
|
|
64
|
+
if (!e) return null;
|
|
65
|
+
let t = /^Bearer\s+(\S+)$/i.exec(e);
|
|
66
|
+
return t ? t[1] : null;
|
|
67
|
+
}
|
|
68
|
+
function y(e) {
|
|
69
|
+
return `Bearer resource_metadata="${e}"`;
|
|
70
|
+
}
|
|
71
|
+
function b(e, t, n) {
|
|
72
|
+
let r = [];
|
|
73
|
+
return t && r.push(`id: ${t}`), n && n > 0 && r.push(`retry: ${n}`), r.push("event: message"), r.push(`data: ${JSON.stringify(e)}`), r.push(""), r.join("\n");
|
|
74
|
+
}
|
|
75
|
+
function x(e, t, n, r) {
|
|
76
|
+
return {
|
|
77
|
+
jsonrpc: "2.0",
|
|
78
|
+
id: e ?? null,
|
|
79
|
+
error: {
|
|
80
|
+
code: t,
|
|
81
|
+
message: n,
|
|
82
|
+
...r === void 0 ? {} : { data: r }
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function S(e, t) {
|
|
87
|
+
return {
|
|
88
|
+
jsonrpc: "2.0",
|
|
89
|
+
id: e ?? null,
|
|
90
|
+
result: t
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
function C(e) {
|
|
94
|
+
if (!e || typeof e != "object") return null;
|
|
95
|
+
let t = e;
|
|
96
|
+
return t.jsonrpc !== "2.0" || typeof t.method != "string" ? null : {
|
|
97
|
+
jsonrpc: "2.0",
|
|
98
|
+
method: t.method,
|
|
99
|
+
id: t.id,
|
|
100
|
+
params: t.params
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function w(e, t) {
|
|
104
|
+
let n = e?.protocolVersion;
|
|
105
|
+
return {
|
|
106
|
+
protocolVersion: n && d.includes(n) ? n : f,
|
|
107
|
+
capabilities: {
|
|
108
|
+
tools: { listChanged: !1 },
|
|
109
|
+
resources: { listChanged: !1 },
|
|
110
|
+
prompts: { listChanged: !1 },
|
|
111
|
+
sampling: {}
|
|
112
|
+
},
|
|
113
|
+
sessionId: M(),
|
|
114
|
+
serverInfo: {
|
|
115
|
+
name: t.serverName,
|
|
116
|
+
version: typeof process < "u" ? process.env?.npm_package_version || "dev" : "worker"
|
|
117
|
+
},
|
|
118
|
+
instructions: t.instructions
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function T(e) {
|
|
122
|
+
return {
|
|
123
|
+
resources: e.resources.map(({ uri: e, name: t, description: n, mimeType: r }) => ({
|
|
124
|
+
uri: e,
|
|
125
|
+
name: t,
|
|
126
|
+
description: n,
|
|
127
|
+
mimeType: r
|
|
128
|
+
})),
|
|
129
|
+
nextCursor: ""
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
function E(e, t) {
|
|
133
|
+
let n = e?.uri, r = t.resources.find((e) => e.uri === n) || t.resources[0];
|
|
134
|
+
if (!r) throw k(-32602, "resource not found");
|
|
135
|
+
return { contents: [{
|
|
136
|
+
uri: r.uri,
|
|
137
|
+
mimeType: r.mimeType,
|
|
138
|
+
text: r.text
|
|
139
|
+
}] };
|
|
140
|
+
}
|
|
141
|
+
function D(e, t) {
|
|
142
|
+
let n = e?.name, r = t.prompts.find((e) => e.name === n) || t.prompts[0];
|
|
143
|
+
if (!r) throw k(-32602, "prompt not found");
|
|
144
|
+
return {
|
|
145
|
+
name: r.name,
|
|
146
|
+
description: r.description,
|
|
147
|
+
messages: r.messages
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
async function O(t, n, r) {
|
|
151
|
+
let { appEnabled: i, appConfig: a } = r, o = r.resources ?? R, s = {
|
|
152
|
+
appEnabled: i,
|
|
153
|
+
serverName: r.serverName ?? "drizzle-cube",
|
|
154
|
+
prompts: r.prompts ?? L,
|
|
155
|
+
resources: i ? [...o, ...I(a)] : o,
|
|
156
|
+
instructions: r.instructions ?? e()
|
|
157
|
+
};
|
|
158
|
+
switch (t) {
|
|
159
|
+
case "initialize": return w(n, s);
|
|
160
|
+
case "list_tools":
|
|
161
|
+
case "tools/list": return {
|
|
162
|
+
tools: N({ appEnabled: i }),
|
|
163
|
+
nextCursor: ""
|
|
164
|
+
};
|
|
165
|
+
case "call_tool":
|
|
166
|
+
case "tools/call": return P(n, r);
|
|
167
|
+
case "resources/list": return T(s);
|
|
168
|
+
case "resources/templates/list": return {
|
|
169
|
+
resourceTemplates: [],
|
|
170
|
+
nextCursor: ""
|
|
171
|
+
};
|
|
172
|
+
case "resources/read": return E(n, s);
|
|
173
|
+
case "prompts/list": return {
|
|
174
|
+
prompts: s.prompts.map(({ name: e, description: t }) => ({
|
|
175
|
+
name: e,
|
|
176
|
+
description: t
|
|
177
|
+
})),
|
|
178
|
+
nextCursor: ""
|
|
179
|
+
};
|
|
180
|
+
case "ping": return {};
|
|
181
|
+
case "notifications/initialized": return {};
|
|
182
|
+
case "prompts/get": return D(n, s);
|
|
183
|
+
default: throw k(-32601, `Unknown MCP method: ${t}`);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
function k(e, t, n) {
|
|
187
|
+
let r = Error(t);
|
|
188
|
+
return r.code = e, n !== void 0 && (r.data = n), r;
|
|
189
|
+
}
|
|
190
|
+
function A(e) {
|
|
191
|
+
return e ? Array.isArray(e) ? e[0] || null : e : null;
|
|
192
|
+
}
|
|
193
|
+
function j(e) {
|
|
194
|
+
return e.id === void 0 || e.id === null;
|
|
195
|
+
}
|
|
196
|
+
function M() {
|
|
197
|
+
return `evt-${i()}`;
|
|
198
|
+
}
|
|
199
|
+
function N(e) {
|
|
200
|
+
let t = [
|
|
201
|
+
{
|
|
202
|
+
name: "discover",
|
|
203
|
+
description: "MANDATORY FIRST CALL. You MUST call this before constructing any query — even if you think you know the schema.\n\nReturns:\n- 'cubes': matched cubes with measures, dimensions, joins, and metadata hints (eventStream for funnels, etc.)\n- 'queryLanguageReference': the COMPLETE TypeScript DSL for query construction. This is the source of truth for field naming, filter operators, time dimensions, and analysis modes (funnel/flow/retention). READ IT before building queries — do not guess syntax.\n- 'dateFilteringGuide': decision tree for date filtering vs time grouping. READ IT whenever the user mentions a time period — this is the #1 source of incorrect queries.\n\nThe 'joins' property on each cube shows relationships. You can include dimensions from ANY related cube in your query — the system auto-joins them.\n\nExample: If Productivity has a join to Employees, you can query:\n{ \"measures\": [\"Productivity.totalPullRequests\"], \"dimensions\": [\"Employees.name\"] }",
|
|
204
|
+
inputSchema: {
|
|
205
|
+
type: "object",
|
|
206
|
+
properties: {
|
|
207
|
+
topic: {
|
|
208
|
+
type: "string",
|
|
209
|
+
description: "Keyword to search (e.g., \"sales\", \"employees\")"
|
|
210
|
+
},
|
|
211
|
+
intent: {
|
|
212
|
+
type: "string",
|
|
213
|
+
description: "Natural language goal (e.g., \"analyze productivity trends\")"
|
|
214
|
+
},
|
|
215
|
+
limit: {
|
|
216
|
+
type: "number",
|
|
217
|
+
description: "Max results (default: 10)"
|
|
218
|
+
},
|
|
219
|
+
minScore: {
|
|
220
|
+
type: "number",
|
|
221
|
+
description: "Min relevance 0-1 (default: 0.1)"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: "validate",
|
|
228
|
+
description: "Validate a query and get auto-corrections for issues.\n\nChecks:\n- Field existence (measures, dimensions exist in schema)\n- Filter syntax and operators\n- Cross-cube join validity\n\nReturns corrected query if issues found, plus the generated SQL for debugging.",
|
|
229
|
+
inputSchema: {
|
|
230
|
+
type: "object",
|
|
231
|
+
required: ["query"],
|
|
232
|
+
properties: { query: {
|
|
233
|
+
type: "object",
|
|
234
|
+
description: "CubeQuery to validate"
|
|
235
|
+
} }
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
name: "load",
|
|
240
|
+
description: "Execute a semantic query and return aggregated results.\n\nPREREQUISITE: You MUST have called 'discover' first in this session. The discover response contains the 'queryLanguageReference' (full DSL) and 'dateFilteringGuide' you need to construct a correct query. If you have not yet called discover, call it NOW before calling load.\n\nSupports regular queries (measures/dimensions), funnel, flow, and retention analysis modes — see the queryLanguageReference returned by discover for the full DSL.\n\nKey rules (the queryLanguageReference is authoritative — these are reminders, not the full spec):\n- Fields are EXACTLY \"CubeName.fieldName\" (two parts, one dot). Copy verbatim from discover.\n- Cross-cube joins: include dimensions from related cubes (system auto-joins).\n- Aggregated totals over a period: use filters with inDateRange — NOT timeDimensions.\n- Time series (\"by month\", \"daily trend\"): use timeDimensions WITH granularity.\n- Top N: filters + order + limit.\n\nUse \"load\" for data retrieval. Use \"chart\" to visualise results with an interactive chart.",
|
|
241
|
+
inputSchema: {
|
|
242
|
+
type: "object",
|
|
243
|
+
required: ["query"],
|
|
244
|
+
properties: { query: {
|
|
245
|
+
type: "object",
|
|
246
|
+
description: "Semantic query object. Regular: { measures, dimensions, filters, timeDimensions, order, limit }. Funnel: { funnel: {...} }. Flow: { flow: {...} }. Retention: { retention: {...} }.",
|
|
247
|
+
properties: a
|
|
248
|
+
} }
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
];
|
|
252
|
+
if (e?.appEnabled) {
|
|
253
|
+
t.push({
|
|
254
|
+
name: "chart",
|
|
255
|
+
description: "Execute a semantic query and render an interactive chart visualization.\n\nSame query format as \"load\", but renders results in the MCP App chart UI.\nInclude a \"chart\" object to control the visualization.\n\nChart types: bar, line, area, pie, scatter, bubble, radar, treemap, kpiNumber, kpiDelta, table, heatmap, funnel, sankey, sunburst, waterfall, activityGrid, boxPlot\nGuidelines: single number -> kpiNumber, trend -> line/area, categories -> bar, part-of-whole -> pie, correlation -> scatter/bubble, distribution -> boxPlot",
|
|
256
|
+
inputSchema: {
|
|
257
|
+
type: "object",
|
|
258
|
+
required: ["query"],
|
|
259
|
+
properties: {
|
|
260
|
+
query: {
|
|
261
|
+
type: "object",
|
|
262
|
+
description: "Semantic query object. Same format as the load tool.",
|
|
263
|
+
properties: a
|
|
264
|
+
},
|
|
265
|
+
chart: {
|
|
266
|
+
type: "object",
|
|
267
|
+
description: "Chart configuration for the visualization. If omitted, chart type is auto-detected from query shape.",
|
|
268
|
+
properties: {
|
|
269
|
+
type: {
|
|
270
|
+
type: "string",
|
|
271
|
+
enum: [
|
|
272
|
+
"bar",
|
|
273
|
+
"line",
|
|
274
|
+
"area",
|
|
275
|
+
"pie",
|
|
276
|
+
"scatter",
|
|
277
|
+
"bubble",
|
|
278
|
+
"radar",
|
|
279
|
+
"radialBar",
|
|
280
|
+
"treemap",
|
|
281
|
+
"table",
|
|
282
|
+
"kpiNumber",
|
|
283
|
+
"kpiDelta",
|
|
284
|
+
"heatmap",
|
|
285
|
+
"boxPlot",
|
|
286
|
+
"funnel",
|
|
287
|
+
"sankey",
|
|
288
|
+
"sunburst",
|
|
289
|
+
"retentionHeatmap",
|
|
290
|
+
"retentionCombined",
|
|
291
|
+
"waterfall",
|
|
292
|
+
"activityGrid"
|
|
293
|
+
],
|
|
294
|
+
description: "Chart type to render"
|
|
295
|
+
},
|
|
296
|
+
title: {
|
|
297
|
+
type: "string",
|
|
298
|
+
description: "Chart title"
|
|
299
|
+
},
|
|
300
|
+
chartConfig: {
|
|
301
|
+
type: "object",
|
|
302
|
+
description: "Axis configuration — same schema as agent add_portlet chartConfig.",
|
|
303
|
+
properties: {
|
|
304
|
+
xAxis: {
|
|
305
|
+
type: "array",
|
|
306
|
+
items: { type: "string" },
|
|
307
|
+
description: "Dimension fields for X axis"
|
|
308
|
+
},
|
|
309
|
+
yAxis: {
|
|
310
|
+
type: "array",
|
|
311
|
+
items: { type: "string" },
|
|
312
|
+
description: "Measure fields for Y axis"
|
|
313
|
+
},
|
|
314
|
+
series: {
|
|
315
|
+
type: "array",
|
|
316
|
+
items: { type: "string" },
|
|
317
|
+
description: "Dimension for series splitting (grouped/stacked)"
|
|
318
|
+
},
|
|
319
|
+
yAxisAssignment: {
|
|
320
|
+
type: "object",
|
|
321
|
+
description: "Dual Y-axis: map measure fields to \"left\" or \"right\". Only bar/line/area with 2+ measures of different scales."
|
|
322
|
+
},
|
|
323
|
+
sizeField: {
|
|
324
|
+
type: "string",
|
|
325
|
+
description: "Bubble chart size field"
|
|
326
|
+
},
|
|
327
|
+
colorField: {
|
|
328
|
+
type: "string",
|
|
329
|
+
description: "Bubble chart color field"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
displayConfig: {
|
|
334
|
+
type: "object",
|
|
335
|
+
description: "Display options.",
|
|
336
|
+
properties: {
|
|
337
|
+
showLegend: { type: "boolean" },
|
|
338
|
+
showGrid: { type: "boolean" },
|
|
339
|
+
showTooltip: { type: "boolean" },
|
|
340
|
+
stacked: { type: "boolean" },
|
|
341
|
+
stackType: {
|
|
342
|
+
type: "string",
|
|
343
|
+
enum: [
|
|
344
|
+
"none",
|
|
345
|
+
"normal",
|
|
346
|
+
"percent"
|
|
347
|
+
]
|
|
348
|
+
},
|
|
349
|
+
orientation: {
|
|
350
|
+
type: "string",
|
|
351
|
+
enum: ["horizontal", "vertical"]
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
xAxis: {
|
|
356
|
+
type: "string",
|
|
357
|
+
description: "Deprecated: use chartConfig.xAxis"
|
|
358
|
+
},
|
|
359
|
+
yAxis: {
|
|
360
|
+
type: "array",
|
|
361
|
+
items: { type: "string" },
|
|
362
|
+
description: "Deprecated: use chartConfig.yAxis"
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
});
|
|
369
|
+
let e = t.find((e) => e.name === "chart");
|
|
370
|
+
e && (e._meta = { ui: { resourceUri: c } });
|
|
371
|
+
}
|
|
372
|
+
return t;
|
|
373
|
+
}
|
|
374
|
+
async function P(e, i) {
|
|
375
|
+
let { semanticLayer: a, extractSecurityContext: o, rawRequest: s, rawResponse: c } = i, l = e || {};
|
|
376
|
+
if (!l.name) throw k(-32602, "name is required for tools/call");
|
|
377
|
+
let u = l.arguments;
|
|
378
|
+
try {
|
|
379
|
+
switch (l.name) {
|
|
380
|
+
case "discover": return F(await r(a, u || {}));
|
|
381
|
+
case "validate": {
|
|
382
|
+
let e = u || {};
|
|
383
|
+
if (!e.query) throw k(-32602, "query is required");
|
|
384
|
+
let n;
|
|
385
|
+
try {
|
|
386
|
+
n = await o(s, c);
|
|
387
|
+
} catch {}
|
|
388
|
+
return F(await t(a, e, n));
|
|
389
|
+
}
|
|
390
|
+
case "load": {
|
|
391
|
+
let e = u || {};
|
|
392
|
+
if (!e.query) throw k(-32602, "query is required");
|
|
393
|
+
return F(await n(a, await o(s, c), e));
|
|
394
|
+
}
|
|
395
|
+
case "chart": {
|
|
396
|
+
let e = u || {};
|
|
397
|
+
if (!e.query) throw k(-32602, "query is required");
|
|
398
|
+
return F(await n(a, await o(s, c), e));
|
|
399
|
+
}
|
|
400
|
+
default: throw k(-32601, `Unknown tool: ${l.name}`);
|
|
401
|
+
}
|
|
402
|
+
} catch (e) {
|
|
403
|
+
if (e?.code === -32602 || e?.code === -32601) throw e;
|
|
404
|
+
let t = e instanceof Error ? e.message : String(e);
|
|
405
|
+
return {
|
|
406
|
+
content: [{
|
|
407
|
+
type: "text",
|
|
408
|
+
text: JSON.stringify({ error: t })
|
|
409
|
+
}],
|
|
410
|
+
isError: !0
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function F(e) {
|
|
415
|
+
return {
|
|
416
|
+
content: [{
|
|
417
|
+
type: "text",
|
|
418
|
+
text: typeof e == "string" ? e : JSON.stringify(e)
|
|
419
|
+
}],
|
|
420
|
+
isError: !1
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
function I(e) {
|
|
424
|
+
let t = u(e);
|
|
425
|
+
return t ? [{
|
|
426
|
+
uri: c,
|
|
427
|
+
name: "Drizzle Cube Visualization",
|
|
428
|
+
description: "Interactive chart visualization for query results",
|
|
429
|
+
mimeType: l,
|
|
430
|
+
text: t
|
|
431
|
+
}] : [];
|
|
432
|
+
}
|
|
433
|
+
var L = o(), R = [{
|
|
434
|
+
uri: "drizzle-cube://quickstart",
|
|
435
|
+
name: "Drizzle Cube MCP Quickstart",
|
|
436
|
+
description: "Minimal guide for using discover/validate/load",
|
|
437
|
+
mimeType: "text/markdown",
|
|
438
|
+
text: [
|
|
439
|
+
"# Drizzle Cube MCP Quickstart",
|
|
440
|
+
"",
|
|
441
|
+
"Tools:",
|
|
442
|
+
"- discover: { topic?, intent?, limit?, minScore? } -> cubes list",
|
|
443
|
+
"- validate: { query } -> corrected query + issues",
|
|
444
|
+
"- load: { query } -> data + annotation (text only)",
|
|
445
|
+
"- chart: { query, chart? } -> data + interactive chart visualization",
|
|
446
|
+
"",
|
|
447
|
+
"Recommended flow:",
|
|
448
|
+
"1) tools/call name=discover intent=\"<goal>\"",
|
|
449
|
+
"2) tools/call name=validate query=<draft> (optional)",
|
|
450
|
+
"3) tools/call name=load query=<validated> (data only) OR name=chart query=<validated> chart={type, ...} (with visualization)",
|
|
451
|
+
"",
|
|
452
|
+
"Query shapes supported:",
|
|
453
|
+
"- regular: { measures, dimensions, filters, timeDimensions, order, limit, offset, ungrouped }",
|
|
454
|
+
"- funnel: { funnel: { bindingKey, timeDimension, steps[], includeTimeMetrics?, globalTimeWindow? } }",
|
|
455
|
+
"- flow: { flow: { bindingKey, timeDimension, eventDimension, startingStep: { name, filter }, stepsBefore, stepsAfter } }",
|
|
456
|
+
"- retention: { retention: { timeDimension, bindingKey, dateRange: { start, end }, granularity, periods, retentionType } }",
|
|
457
|
+
"",
|
|
458
|
+
"Filter rules: flat arrays of { member, operator, values }. Use { and: [...] } or { or: [...] } for logical grouping."
|
|
459
|
+
].join("\n")
|
|
460
|
+
}, {
|
|
461
|
+
uri: "drizzle-cube://query-shapes",
|
|
462
|
+
name: "Query Shapes Reference",
|
|
463
|
+
description: "Detailed schema examples for regular, funnel, flow, and retention queries",
|
|
464
|
+
mimeType: "text/markdown",
|
|
465
|
+
text: [
|
|
466
|
+
"# Query Shapes",
|
|
467
|
+
"",
|
|
468
|
+
"## Regular query",
|
|
469
|
+
"```json",
|
|
470
|
+
"{",
|
|
471
|
+
" \"measures\": [\"Sales.count\"],",
|
|
472
|
+
" \"dimensions\": [\"Sales.channel\"],",
|
|
473
|
+
" \"filters\": [",
|
|
474
|
+
" { \"member\": \"Sales.status\", \"operator\": \"equals\", \"values\": [\"paid\"] },",
|
|
475
|
+
" { \"or\": [",
|
|
476
|
+
" { \"member\": \"Sales.region\", \"operator\": \"equals\", \"values\": [\"US\"] },",
|
|
477
|
+
" { \"member\": \"Sales.region\", \"operator\": \"equals\", \"values\": [\"EU\"] }",
|
|
478
|
+
" ]}",
|
|
479
|
+
" ],",
|
|
480
|
+
" \"timeDimensions\": [{ \"dimension\": \"Sales.createdAt\", \"dateRange\": \"last 30 days\", \"granularity\": \"day\" }],",
|
|
481
|
+
" \"order\": { \"Sales.createdAt\": \"asc\" },",
|
|
482
|
+
" \"limit\": 500",
|
|
483
|
+
"}",
|
|
484
|
+
"```",
|
|
485
|
+
"",
|
|
486
|
+
"## Funnel",
|
|
487
|
+
"```json",
|
|
488
|
+
"{",
|
|
489
|
+
" \"funnel\": {",
|
|
490
|
+
" \"bindingKey\": \"Events.userId\",",
|
|
491
|
+
" \"timeDimension\": \"Events.timestamp\",",
|
|
492
|
+
" \"steps\": [",
|
|
493
|
+
" {",
|
|
494
|
+
" \"name\": \"Signup\",",
|
|
495
|
+
" \"filter\": [",
|
|
496
|
+
" { \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"signup\"] },",
|
|
497
|
+
" { \"member\": \"Events.timestamp\", \"operator\": \"inDateRange\", \"values\": [\"last 6 months\"] }",
|
|
498
|
+
" ]",
|
|
499
|
+
" },",
|
|
500
|
+
" {",
|
|
501
|
+
" \"name\": \"Purchase\",",
|
|
502
|
+
" \"filter\": [{ \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"purchase\"] }],",
|
|
503
|
+
" \"timeToConvert\": \"P7D\"",
|
|
504
|
+
" }",
|
|
505
|
+
" ],",
|
|
506
|
+
" \"includeTimeMetrics\": true",
|
|
507
|
+
" }",
|
|
508
|
+
"}",
|
|
509
|
+
"```",
|
|
510
|
+
"",
|
|
511
|
+
"## Flow",
|
|
512
|
+
"```json",
|
|
513
|
+
"{",
|
|
514
|
+
" \"flow\": {",
|
|
515
|
+
" \"bindingKey\": \"Events.userId\",",
|
|
516
|
+
" \"timeDimension\": \"Events.timestamp\",",
|
|
517
|
+
" \"eventDimension\": \"Events.eventType\",",
|
|
518
|
+
" \"startingStep\": {",
|
|
519
|
+
" \"name\": \"Checkout\",",
|
|
520
|
+
" \"filter\": { \"member\": \"Events.eventType\", \"operator\": \"equals\", \"values\": [\"checkout\"] }",
|
|
521
|
+
" },",
|
|
522
|
+
" \"stepsBefore\": 2,",
|
|
523
|
+
" \"stepsAfter\": 3",
|
|
524
|
+
" }",
|
|
525
|
+
"}",
|
|
526
|
+
"```",
|
|
527
|
+
"",
|
|
528
|
+
"## Retention",
|
|
529
|
+
"```json",
|
|
530
|
+
"{",
|
|
531
|
+
" \"retention\": {",
|
|
532
|
+
" \"timeDimension\": \"Events.timestamp\",",
|
|
533
|
+
" \"bindingKey\": \"Events.userId\",",
|
|
534
|
+
" \"dateRange\": { \"start\": \"2024-01-01\", \"end\": \"2024-03-31\" },",
|
|
535
|
+
" \"granularity\": \"week\",",
|
|
536
|
+
" \"periods\": 8,",
|
|
537
|
+
" \"retentionType\": \"classic\",",
|
|
538
|
+
" \"breakdownDimensions\": [\"Events.country\"]",
|
|
539
|
+
" }",
|
|
540
|
+
"}",
|
|
541
|
+
"```",
|
|
542
|
+
"",
|
|
543
|
+
"### Filter operators",
|
|
544
|
+
"String: equals, notEquals, contains, notContains, startsWith, endsWith, like, ilike, regex",
|
|
545
|
+
"Numeric: gt, gte, lt, lte, between, notBetween",
|
|
546
|
+
"Set: in, notIn, set, notSet, isEmpty, isNotEmpty",
|
|
547
|
+
"Date: inDateRange, beforeDate, afterDate",
|
|
548
|
+
"",
|
|
549
|
+
"### Time handling",
|
|
550
|
+
"- Aggregated totals: use filters with inDateRange (NOT timeDimensions)",
|
|
551
|
+
"- Time series grouping: use timeDimensions with granularity",
|
|
552
|
+
"- Both can be combined: inDateRange filter + timeDimensions with granularity",
|
|
553
|
+
"- Period comparison: use compareDateRange in timeDimensions"
|
|
554
|
+
].join("\n")
|
|
555
|
+
}];
|
|
556
|
+
function z() {
|
|
557
|
+
return R;
|
|
558
|
+
}
|
|
559
|
+
function B() {
|
|
560
|
+
return L;
|
|
561
|
+
}
|
|
562
|
+
function V() {
|
|
563
|
+
return e();
|
|
564
|
+
}
|
|
565
|
+
function H(e) {
|
|
566
|
+
let t = B();
|
|
567
|
+
return typeof e == "function" ? e(t) : e ?? t;
|
|
568
|
+
}
|
|
569
|
+
function U(e) {
|
|
570
|
+
let t = z();
|
|
571
|
+
return typeof e == "function" ? e(t) : e ?? t;
|
|
572
|
+
}
|
|
573
|
+
function W(e) {
|
|
574
|
+
let t = V();
|
|
575
|
+
return typeof e == "function" ? e(t) : e ?? t;
|
|
576
|
+
}
|
|
577
|
+
function G(e) {
|
|
578
|
+
return {
|
|
579
|
+
uri: "drizzle-cube://schema",
|
|
580
|
+
name: "Cube Schema",
|
|
581
|
+
description: "Current cube metadata as JSON",
|
|
582
|
+
mimeType: "application/json",
|
|
583
|
+
text: JSON.stringify(e.getMetadata(), null, 2)
|
|
584
|
+
};
|
|
585
|
+
}
|
|
586
|
+
function K(e, t) {
|
|
587
|
+
let n = G(e);
|
|
588
|
+
return [...U(t).filter((e) => e.uri !== n.uri), n];
|
|
589
|
+
}
|
|
590
|
+
//#endregion
|
|
591
|
+
export { m as C, _ as S, M as _, S as a, b, y as c, B as d, z as f, C as g, p as h, x as i, O as l, j as m, c as n, K as o, u as p, h as r, N as s, l as t, v as u, W as v, g as x, H as y };
|