drizzle-cube 0.12.2 → 0.12.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/ActivityGridChart.config-D14_z5sv.js +1 -0
- package/dist/adapters/ActivityGridChart.config-ufhph9uT.cjs +1 -0
- package/dist/adapters/AreaChart.config-0WZQMQva.js +1 -0
- package/dist/adapters/AreaChart.config-D13ltksm.cjs +1 -0
- package/dist/adapters/BarChart.config-CKW_EixK.cjs +1 -0
- package/dist/adapters/BarChart.config-Dap2k5h9.js +1 -0
- package/dist/adapters/BoxPlotChart.config-BL9GycIS.js +1 -0
- package/dist/adapters/BoxPlotChart.config-D8ijk7P0.cjs +1 -0
- package/dist/adapters/BubbleChart.config-B5mdZpOU.js +1 -0
- package/dist/adapters/BubbleChart.config-D_F6Q5z3.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-DWebnARH.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-U_bjkKnh.js +1 -0
- package/dist/adapters/DataTable.config-CgONV9qM.cjs +1 -0
- package/dist/adapters/DataTable.config-Cuagfjxg.js +1 -0
- package/dist/adapters/DotStripChart.config-B5lxjWSO.js +1 -0
- package/dist/adapters/DotStripChart.config-fD9Mc6W1.cjs +1 -0
- package/dist/adapters/FunnelChart.config-BaE_hLT-.js +1 -0
- package/dist/adapters/FunnelChart.config-Cx7W7-R0.cjs +1 -0
- package/dist/adapters/GaugeChart.config-CgKuBQVo.cjs +1 -0
- package/dist/adapters/GaugeChart.config-ilNlLLj6.js +1 -0
- package/dist/adapters/HeatMapChart.config-Bbk6aa8K.js +1 -0
- package/dist/adapters/HeatMapChart.config-CURg_iiu.cjs +1 -0
- package/dist/adapters/KpiDelta.config-CuZ2C_6t.js +1 -0
- package/dist/adapters/KpiDelta.config-DRy870xF.cjs +1 -0
- package/dist/adapters/KpiNumber.config-BWowvaBG.cjs +1 -0
- package/dist/adapters/KpiNumber.config-h9VspPBo.js +1 -0
- package/dist/adapters/KpiText.config-CXouHoxx.js +1 -0
- package/dist/adapters/KpiText.config-dSbcOdVW.cjs +1 -0
- package/dist/adapters/LineChart.config-BrcTc3dO.cjs +1 -0
- package/dist/adapters/LineChart.config-DOZctkmK.js +1 -0
- package/dist/adapters/MarkdownChart.config-BduAIK5N.js +1 -0
- package/dist/adapters/MarkdownChart.config-CFnH92Fg.cjs +1 -0
- package/dist/adapters/MeasureProfileChart.config-BgdtMIbZ.js +1 -0
- package/dist/adapters/MeasureProfileChart.config-CUahwnse.cjs +1 -0
- package/dist/adapters/PieChart.config-Bwf8meCN.js +1 -0
- package/dist/adapters/PieChart.config-ClfJ6LyA.cjs +1 -0
- package/dist/adapters/ProportionBarChart.config-CKyen5fP.cjs +1 -0
- package/dist/adapters/ProportionBarChart.config-D7RADfKH.js +1 -0
- package/dist/adapters/RadarChart.config-CBR7pNrt.js +1 -0
- package/dist/adapters/RadarChart.config-DSLRklgx.cjs +1 -0
- package/dist/adapters/RadialBarChart.config-BTGjY6JD.js +1 -0
- package/dist/adapters/RadialBarChart.config-CPbimqdg.cjs +1 -0
- package/dist/adapters/RecordsTable.config-B1Z_3JTJ.js +1 -0
- package/dist/adapters/RecordsTable.config-C6QhLcZk.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-BkSezvSb.js +1 -0
- package/dist/adapters/RetentionCombinedChart.config-R1Eq-xRI.cjs +1 -0
- package/dist/adapters/RetentionHeatmap.config-BlUhtL5W.js +1 -0
- package/dist/adapters/RetentionHeatmap.config-DCIsToqo.cjs +1 -0
- package/dist/adapters/SankeyChart.config-Bt0F2A6e.js +1 -0
- package/dist/adapters/SankeyChart.config-_Z5ZrziF.cjs +1 -0
- package/dist/adapters/ScatterChart.config-BW0_kSo8.cjs +1 -0
- package/dist/adapters/ScatterChart.config-DCaM-v68.js +1 -0
- package/dist/adapters/SunburstChart.config-B8Q9pbbo.js +1 -0
- package/dist/adapters/SunburstChart.config-mhQZB6uc.cjs +1 -0
- package/dist/adapters/TreeMapChart.config-Ch--bdyv.js +1 -0
- package/dist/adapters/TreeMapChart.config-DaNlt1aC.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-CR49XWjE.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-qHaD0m4H.js +1 -0
- package/dist/adapters/core/cache-options.d.ts +4 -0
- package/dist/adapters/core/index.cjs +1 -1
- package/dist/adapters/core/index.js +1 -1
- package/dist/adapters/core-3nDM2f7O.cjs +1 -0
- package/dist/adapters/{core-pxHAXRX7.js → core-CD6SqK5q.js} +66 -58
- package/dist/adapters/{compiler-DEL18KHw.js → cors-headers-DYYDrG7S.js} +129 -110
- package/dist/adapters/{compiler-Cs1gQ8Tc.cjs → cors-headers-DxkPVNnZ.cjs} +4 -4
- package/dist/adapters/cors-headers.d.ts +19 -0
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +13 -13
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +13 -13
- package/dist/adapters/{handler-zbRXe0T7.js → handler-B_vsFWWm.js} +32 -32
- package/dist/adapters/{handler-BIntJx7r.cjs → handler-DSOaXFuV.cjs} +3 -3
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +12 -12
- package/dist/adapters/locale.d.ts +0 -1
- package/dist/adapters/mcp-app-html-DkiIh0rL.cjs +1 -0
- package/dist/adapters/mcp-app-html-DwnysAEL.js +5 -0
- package/dist/adapters/mcp-app-html.cjs +1 -1
- package/dist/adapters/mcp-app-html.js +1 -1
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +3 -3
- package/dist/adapters/{mcp-transport-D0sMYZAv.cjs → mcp-transport-7zszPPXk.cjs} +1 -1
- package/dist/adapters/{mcp-transport-Dt0OJUTC.js → mcp-transport-DVI1lCNM.js} +1 -1
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +20 -20
- package/dist/adapters/{openai-D-GSoFRS.js → openai-Bdnnw3Ok.js} +1 -1
- package/dist/adapters/{openai-fP9uuybp.cjs → openai-CE52anhW.cjs} +1 -1
- package/dist/adapters/{openai-yZ3KkIqz.js → openai-DA9yrRkA.js} +1 -1
- package/dist/adapters/{openai-BVi0RiSA.cjs → openai-JLaT_FPt.cjs} +1 -1
- package/dist/adapters/{utils-BTZoHYi5.js → utils-BtiRfbcX.js} +28 -2
- package/dist/adapters/utils-OLv25-nn.cjs +141 -0
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.d.ts +5 -10
- package/dist/adapters/utils.js +1 -1
- package/dist/cjs/adapters/core/cache-options.d.ts +4 -0
- package/dist/cjs/adapters/cors-headers.d.ts +19 -0
- package/dist/cjs/adapters/locale.d.ts +0 -1
- package/dist/cjs/adapters/utils.d.ts +5 -10
- package/dist/cjs/client/charts/lazyChartConfigRegistry.d.ts +2 -2
- package/dist/cjs/client/client/BatchCoordinator.d.ts +21 -6
- package/dist/cjs/client/client/CubeClient.d.ts +34 -8
- package/dist/cjs/client/client/maxAge.d.ts +84 -0
- package/dist/cjs/client/client/subscription.d.ts +30 -0
- package/dist/cjs/client/components/DashboardPortletCard.d.ts +1 -1
- package/dist/cjs/client/components/FloatingEditToolbar.d.ts +5 -1
- package/dist/cjs/client/components/MobileStackedLayout.d.ts +8 -2
- package/dist/cjs/client/components/PortletAnalysisModal.d.ts +4 -2
- package/dist/cjs/client/components/analyticsPortlet/usePortletDeadMembers.d.ts +4 -2
- package/dist/cjs/client/components/analyticsPortlet/usePortletQueryResults.d.ts +15 -5
- package/dist/cjs/client/components/analyticsPortlet/usePortletVisibility.d.ts +23 -0
- package/dist/cjs/client/components/dashboard/DashboardContext.d.ts +16 -3
- package/dist/cjs/client/components/dashboard/DashboardEditBar.d.ts +1 -1
- package/dist/cjs/client/components/dashboard/DashboardRefreshSelector.d.ts +12 -0
- package/dist/cjs/client/components/dashboard/DashboardToolbar.d.ts +2 -1
- package/dist/cjs/client/components/dashboard/RefreshPauseToggle.d.ts +8 -0
- package/dist/cjs/client/components/dashboardPortletCard/DataFreshnessIndicator.d.ts +19 -0
- package/dist/cjs/client/components/dashboardPortletCard/PortletCardHeader.d.ts +13 -3
- package/dist/cjs/client/components/dashboardPortletCard/PortletFloatingActions.d.ts +2 -3
- package/dist/cjs/client/components/dashboardPortletCard/propsEqual.d.ts +7 -4
- package/dist/cjs/client/components/portletAnalysisModal/RefreshSettings.d.ts +24 -0
- package/dist/cjs/client/hooks/dashboard/useDashboardController.d.ts +6 -10
- package/dist/cjs/client/hooks/dashboard/useDashboardRefreshTimer.d.ts +28 -0
- package/dist/cjs/client/hooks/queries/useCubeLoadQuery.d.ts +26 -6
- package/dist/cjs/client/hooks/queries/useFlowQuery.d.ts +6 -3
- package/dist/cjs/client/hooks/queries/useMultiCubeLoadQuery.d.ts +13 -4
- package/dist/cjs/client/hooks/queries/useRetentionQuery.d.ts +7 -4
- package/dist/cjs/client/hooks/queries/useShownRowsAge.d.ts +10 -0
- package/dist/cjs/client/hooks/useAnalysisBuilderHook.d.ts +2 -3
- package/dist/cjs/client/hooks/useAnalysisEffects.d.ts +2 -0
- package/dist/cjs/client/hooks/useAnalysisQuery.d.ts +2 -3
- package/dist/cjs/client/hooks/useDashboardHook.d.ts +7 -10
- package/dist/cjs/client/icons/types.d.ts +2 -0
- package/dist/cjs/client/index.d.ts +3 -1
- package/dist/cjs/client/shared/chartDefaults.d.ts +5 -3
- package/dist/cjs/client/stores/dashboardStore.d.ts +13 -0
- package/dist/cjs/client/types/funnel.d.ts +10 -4
- package/dist/cjs/client/types.d.ts +68 -3
- package/dist/cjs/client/utils/freshness.d.ts +37 -0
- package/dist/cjs/client/utils/multiQueryUtils.d.ts +23 -0
- package/dist/cjs/server/compiler.d.ts +2 -0
- package/dist/cjs/server/execution/query-result-cache.d.ts +8 -2
- package/dist/cjs/server/executor.d.ts +1 -0
- package/dist/cjs/server/physical-plan/processors/shared.d.ts +2 -0
- package/dist/cjs/server/types/core.d.ts +12 -1
- package/dist/cjs/server/types/cube.d.ts +7 -0
- package/dist/client/charts/lazyChartConfigRegistry.d.ts +2 -2
- package/dist/client/charts.js +13 -13
- package/dist/client/chunks/{DashboardEditModal-C7Nj2XvQ.js → DashboardEditModal-F2fGr29d.js} +2572 -2196
- package/dist/client/chunks/DashboardEditModal-F2fGr29d.js.map +1 -0
- package/dist/client/chunks/{DotStripChart-QEz91ja9.js → DotStripChart-CQaJwo8K.js} +3 -3
- package/dist/client/chunks/{DotStripChart-QEz91ja9.js.map → DotStripChart-CQaJwo8K.js.map} +1 -1
- package/dist/client/chunks/{ProportionBarChart-pb8nuT0D.js → ProportionBarChart-DiA5ZGeg.js} +3 -3
- package/dist/client/chunks/{ProportionBarChart-pb8nuT0D.js.map → ProportionBarChart-DiA5ZGeg.js.map} +1 -1
- package/dist/client/chunks/{RecordsTable-D8Lirq-E.js → RecordsTable-Bgqo-LjT.js} +166 -166
- package/dist/client/chunks/RecordsTable-Bgqo-LjT.js.map +1 -0
- package/dist/client/chunks/{RetentionCombinedChart-B9onTBMq.js → RetentionCombinedChart-BtMRtwlb.js} +3 -3
- package/dist/client/chunks/{RetentionCombinedChart-B9onTBMq.js.map → RetentionCombinedChart-BtMRtwlb.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-WN_NOsvA.js → RetentionHeatmap-ChTa35gp.js} +2 -2
- package/dist/client/chunks/{RetentionHeatmap-WN_NOsvA.js.map → RetentionHeatmap-ChTa35gp.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-CmnW9_92.js → analysis-builder-CnmkTZm2.js} +831 -845
- package/dist/client/chunks/analysis-builder-CnmkTZm2.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-W_lbhFRa.js → analysis-builder-shared-BsjxOL7r.js} +809 -803
- package/dist/client/chunks/analysis-builder-shared-BsjxOL7r.js.map +1 -0
- package/dist/client/chunks/{chart-activity-grid-CJXF0zeZ.js → chart-activity-grid-DeDPSs12.js} +27 -2
- package/dist/client/chunks/{chart-activity-grid-CJXF0zeZ.js.map → chart-activity-grid-DeDPSs12.js.map} +1 -1
- package/dist/client/chunks/{chart-area-DbcIg5Ql.js → chart-area-WyrVYze7.js} +2 -2
- package/dist/client/chunks/{chart-area-DbcIg5Ql.js.map → chart-area-WyrVYze7.js.map} +1 -1
- package/dist/client/chunks/{chart-bar-E_qVO7I9.js → chart-bar-wGHC1Hfo.js} +3 -3
- package/dist/client/chunks/{chart-bar-E_qVO7I9.js.map → chart-bar-wGHC1Hfo.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-CIwQZh9I.js → chart-box-plot-CW5GZHM9.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-CIwQZh9I.js.map → chart-box-plot-CW5GZHM9.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-BrMToSQW.js → chart-bubble-CKkVi7L2.js} +2 -2
- package/dist/client/chunks/{chart-bubble-BrMToSQW.js.map → chart-bubble-CKkVi7L2.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-C9FBo9mf.js → chart-candlestick-BPFeay7t.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-C9FBo9mf.js.map → chart-candlestick-BPFeay7t.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-vxJ9eDbC.js → chart-data-table-uJG1V-be.js} +1133 -854
- package/dist/client/chunks/chart-data-table-uJG1V-be.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-D11lxZ5_.js → chart-funnel-BtUexI1t.js} +2 -2
- package/dist/client/chunks/{chart-funnel-D11lxZ5_.js.map → chart-funnel-BtUexI1t.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-BQcgvynO.js → chart-gauge-BSrfZFsW.js} +3 -3
- package/dist/client/chunks/{chart-gauge-BQcgvynO.js.map → chart-gauge-BSrfZFsW.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-J2j5MNLJ.js → chart-heat-map-DtMtuFnw.js} +3 -3
- package/dist/client/chunks/{chart-heat-map-J2j5MNLJ.js.map → chart-heat-map-DtMtuFnw.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-BKEJT7mj.js → chart-kpi-delta-B0BkN_Q6.js} +3 -3
- package/dist/client/chunks/{chart-kpi-delta-BKEJT7mj.js.map → chart-kpi-delta-B0BkN_Q6.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-DCBXjFI-.js → chart-kpi-number-zlBkLesi.js} +5 -5
- package/dist/client/chunks/{chart-kpi-number-DCBXjFI-.js.map → chart-kpi-number-zlBkLesi.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-D_qFY84K.js → chart-kpi-text-BXXfkhz_.js} +3 -3
- package/dist/client/chunks/{chart-kpi-text-D_qFY84K.js.map → chart-kpi-text-BXXfkhz_.js.map} +1 -1
- package/dist/client/chunks/{chart-line-CS2ixl5U.js → chart-line-D_yFQDze.js} +3 -3
- package/dist/client/chunks/{chart-line-CS2ixl5U.js.map → chart-line-D_yFQDze.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-DKMZqwwH.js → chart-markdown-DaBTpRgf.js} +2 -2
- package/dist/client/chunks/{chart-markdown-DKMZqwwH.js.map → chart-markdown-DaBTpRgf.js.map} +1 -1
- package/dist/client/chunks/{chart-measure-profile-Cu-JZfYt.js → chart-measure-profile-DOHIm-QY.js} +3 -3
- package/dist/client/chunks/{chart-measure-profile-Cu-JZfYt.js.map → chart-measure-profile-DOHIm-QY.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-CNRjmYs5.js → chart-pie-DLrT81CL.js} +3 -3
- package/dist/client/chunks/{chart-pie-CNRjmYs5.js.map → chart-pie-DLrT81CL.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-BZbwDAIY.js → chart-radar-CcXG6k6o.js} +3 -3
- package/dist/client/chunks/{chart-radar-BZbwDAIY.js.map → chart-radar-CcXG6k6o.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-Dvd2DAnu.js → chart-radial-bar-DYn5FLrG.js} +3 -3
- package/dist/client/chunks/{chart-radial-bar-Dvd2DAnu.js.map → chart-radial-bar-DYn5FLrG.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-CxR3tqnR.js → chart-sankey-CWkctg-k.js} +2 -2
- package/dist/client/chunks/{chart-sankey-CxR3tqnR.js.map → chart-sankey-CWkctg-k.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-BqFOCOhW.js → chart-scatter-CCGL2IEP.js} +3 -3
- package/dist/client/chunks/{chart-scatter-BqFOCOhW.js.map → chart-scatter-CCGL2IEP.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-C6wdt55m.js → chart-sunburst-9sgiHFSO.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-C6wdt55m.js.map → chart-sunburst-9sgiHFSO.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-DE8-SZzY.js → chart-tree-map-DOWeXCn_.js} +3 -3
- package/dist/client/chunks/{chart-tree-map-DE8-SZzY.js.map → chart-tree-map-DOWeXCn_.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-DdIFbm8I.js → chart-waterfall-BS7x0dW-.js} +3 -3
- package/dist/client/chunks/{chart-waterfall-DdIFbm8I.js.map → chart-waterfall-BS7x0dW-.js.map} +1 -1
- package/dist/client/chunks/{charts-core-0qGDP3Zh.js → charts-core-DM-Eav_9.js} +2 -2
- package/dist/client/chunks/{charts-core-0qGDP3Zh.js.map → charts-core-DM-Eav_9.js.map} +1 -1
- package/dist/client/chunks/charts-loader-3N-LqjLk.js +87 -0
- package/dist/client/chunks/{charts-loader-CwTTQh7e.js.map → charts-loader-3N-LqjLk.js.map} +1 -1
- package/dist/client/chunks/{dashboardExport-Cy5OOMpb.js → dashboardExport-ZiT4DcDZ.js} +143 -121
- package/dist/client/chunks/dashboardExport-ZiT4DcDZ.js.map +1 -0
- package/dist/client/chunks/{gapFilling-DKBRHcQL.js → gapFilling-C-A4o8Cl.js} +2 -1
- package/dist/client/chunks/{gapFilling-DKBRHcQL.js.map → gapFilling-C-A4o8Cl.js.map} +1 -1
- package/dist/client/chunks/{nl-NL-Fi9_nOz7.js → nl-NL-CKfZudeP.js} +26 -1
- package/dist/client/chunks/{nl-NL-Fi9_nOz7.js.map → nl-NL-CKfZudeP.js.map} +1 -1
- package/dist/client/chunks/{schema-visualization-CcYQAUCS.js → schema-visualization-BO70spCF.js} +3 -3
- package/dist/client/chunks/{schema-visualization-CcYQAUCS.js.map → schema-visualization-BO70spCF.js.map} +1 -1
- package/dist/client/chunks/useDirtyStateTracking-OVW-JnrF.js +1086 -0
- package/dist/client/chunks/useDirtyStateTracking-OVW-JnrF.js.map +1 -0
- package/dist/client/chunks/{useExplainAI-2W12PFz_.js → useExplainAI-BrjlR24K.js} +25 -25
- package/dist/client/chunks/{useExplainAI-2W12PFz_.js.map → useExplainAI-BrjlR24K.js.map} +1 -1
- package/dist/client/chunks/{vendor-Bz0lKciG.js → vendor-Das3qwov.js} +188 -188
- package/dist/client/chunks/vendor-Das3qwov.js.map +1 -0
- package/dist/client/client/BatchCoordinator.d.ts +21 -6
- package/dist/client/client/CubeClient.d.ts +34 -8
- package/dist/client/client/maxAge.d.ts +84 -0
- package/dist/client/client/subscription.d.ts +30 -0
- package/dist/client/components/DashboardPortletCard.d.ts +1 -1
- package/dist/client/components/FloatingEditToolbar.d.ts +5 -1
- package/dist/client/components/MobileStackedLayout.d.ts +8 -2
- package/dist/client/components/PortletAnalysisModal.d.ts +4 -2
- package/dist/client/components/analyticsPortlet/usePortletDeadMembers.d.ts +4 -2
- package/dist/client/components/analyticsPortlet/usePortletQueryResults.d.ts +15 -5
- package/dist/client/components/analyticsPortlet/usePortletVisibility.d.ts +23 -0
- package/dist/client/components/dashboard/DashboardContext.d.ts +16 -3
- package/dist/client/components/dashboard/DashboardEditBar.d.ts +1 -1
- package/dist/client/components/dashboard/DashboardRefreshSelector.d.ts +12 -0
- package/dist/client/components/dashboard/DashboardToolbar.d.ts +2 -1
- package/dist/client/components/dashboard/RefreshPauseToggle.d.ts +8 -0
- package/dist/client/components/dashboardPortletCard/DataFreshnessIndicator.d.ts +19 -0
- package/dist/client/components/dashboardPortletCard/PortletCardHeader.d.ts +13 -3
- package/dist/client/components/dashboardPortletCard/PortletFloatingActions.d.ts +2 -3
- package/dist/client/components/dashboardPortletCard/propsEqual.d.ts +7 -4
- package/dist/client/components/portletAnalysisModal/RefreshSettings.d.ts +24 -0
- package/dist/client/components.js +1 -1
- package/dist/client/hooks/dashboard/useDashboardController.d.ts +6 -10
- package/dist/client/hooks/dashboard/useDashboardRefreshTimer.d.ts +28 -0
- package/dist/client/hooks/queries/useCubeLoadQuery.d.ts +26 -6
- package/dist/client/hooks/queries/useFlowQuery.d.ts +6 -3
- package/dist/client/hooks/queries/useMultiCubeLoadQuery.d.ts +13 -4
- package/dist/client/hooks/queries/useRetentionQuery.d.ts +7 -4
- package/dist/client/hooks/queries/useShownRowsAge.d.ts +10 -0
- package/dist/client/hooks/useAnalysisBuilderHook.d.ts +2 -3
- package/dist/client/hooks/useAnalysisEffects.d.ts +2 -0
- package/dist/client/hooks/useAnalysisQuery.d.ts +2 -3
- package/dist/client/hooks/useDashboardHook.d.ts +7 -10
- package/dist/client/hooks.js +4 -4
- package/dist/client/icons/types.d.ts +2 -0
- package/dist/client/icons.js +1 -1
- package/dist/client/index.d.ts +3 -1
- package/dist/client/index.js +265 -265
- 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/chartDefaults.d.ts +5 -3
- package/dist/client/stores/dashboardStore.d.ts +13 -0
- package/dist/client/types/funnel.d.ts +10 -4
- package/dist/client/types.d.ts +68 -3
- package/dist/client/utils/freshness.d.ts +37 -0
- package/dist/client/utils/multiQueryUtils.d.ts +23 -0
- package/dist/client/utils.js +6 -6
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +100 -100
- package/dist/server/compiler.d.ts +2 -0
- package/dist/server/execution/query-result-cache.d.ts +8 -2
- package/dist/server/executor.d.ts +1 -0
- package/dist/server/index.cjs +42 -42
- package/dist/server/index.js +1262 -1229
- package/dist/server/physical-plan/processors/shared.d.ts +2 -0
- package/dist/server/types/core.d.ts +12 -1
- package/dist/server/types/cube.d.ts +7 -0
- package/package.json +1 -1
- package/dist/adapters/ActivityGridChart.config-D39xezZk.cjs +0 -1
- package/dist/adapters/ActivityGridChart.config-Dda_6s0U.js +0 -1
- package/dist/adapters/AreaChart.config-C2jCU8Un.js +0 -1
- package/dist/adapters/AreaChart.config-OUEFGX8L.cjs +0 -1
- package/dist/adapters/BarChart.config-D98PTSf1.cjs +0 -1
- package/dist/adapters/BarChart.config-EU-BNwwQ.js +0 -1
- package/dist/adapters/BoxPlotChart.config-C31U6Xwc.cjs +0 -1
- package/dist/adapters/BoxPlotChart.config-CZ9PdgAR.js +0 -1
- package/dist/adapters/BubbleChart.config-bdvOX_OM.js +0 -1
- package/dist/adapters/BubbleChart.config-o1gkn-oi.cjs +0 -1
- package/dist/adapters/CandlestickChart.config-BJ2zddnS.cjs +0 -1
- package/dist/adapters/CandlestickChart.config-DVoQffTz.js +0 -1
- package/dist/adapters/DataTable.config-4jfKTU-P.cjs +0 -1
- package/dist/adapters/DataTable.config-CYymkiCj.js +0 -1
- package/dist/adapters/DotStripChart.config-CdEToyMR.js +0 -1
- package/dist/adapters/DotStripChart.config-CeGKfd2Y.cjs +0 -1
- package/dist/adapters/FunnelChart.config-C9xr0lB7.cjs +0 -1
- package/dist/adapters/FunnelChart.config-DgLsAd6X.js +0 -1
- package/dist/adapters/GaugeChart.config-Crpx_mOJ.cjs +0 -1
- package/dist/adapters/GaugeChart.config-DMGLtrtP.js +0 -1
- package/dist/adapters/HeatMapChart.config-Bag4iUrV.js +0 -1
- package/dist/adapters/HeatMapChart.config-DYlOsCXv.cjs +0 -1
- package/dist/adapters/KpiDelta.config-CpBbqTSe.js +0 -1
- package/dist/adapters/KpiDelta.config-Dz04ftLJ.cjs +0 -1
- package/dist/adapters/KpiNumber.config-B7hJ_9KD.js +0 -1
- package/dist/adapters/KpiNumber.config-B90sa19m.cjs +0 -1
- package/dist/adapters/KpiText.config-BkFneytA.cjs +0 -1
- package/dist/adapters/KpiText.config-De251rp3.js +0 -1
- package/dist/adapters/LineChart.config-BqhSrY3Y.cjs +0 -1
- package/dist/adapters/LineChart.config-So9LmBca.js +0 -1
- package/dist/adapters/MarkdownChart.config-Bb68uUv7.cjs +0 -1
- package/dist/adapters/MarkdownChart.config-CPrdMTKk.js +0 -1
- package/dist/adapters/MeasureProfileChart.config-D8ys_JcL.cjs +0 -1
- package/dist/adapters/MeasureProfileChart.config-DmtZaq33.js +0 -1
- package/dist/adapters/PieChart.config-DSCsXFyT.cjs +0 -1
- package/dist/adapters/PieChart.config-GnJP21n4.js +0 -1
- package/dist/adapters/ProportionBarChart.config-BpMvnSL2.js +0 -1
- package/dist/adapters/ProportionBarChart.config-L2KzFFNd.cjs +0 -1
- package/dist/adapters/RadarChart.config-BuoeQHzU.js +0 -1
- package/dist/adapters/RadarChart.config-s00FMtiV.cjs +0 -1
- package/dist/adapters/RadialBarChart.config-Csaj03QZ.cjs +0 -1
- package/dist/adapters/RadialBarChart.config-Cx5SaB02.js +0 -1
- package/dist/adapters/RecordsTable.config-Daba7GEf.cjs +0 -1
- package/dist/adapters/RecordsTable.config-DaeLGs-c.js +0 -1
- package/dist/adapters/RetentionCombinedChart.config-BC1bizXY.cjs +0 -1
- package/dist/adapters/RetentionCombinedChart.config-eOTeHUd-.js +0 -1
- package/dist/adapters/RetentionHeatmap.config-BW0tarnm.cjs +0 -1
- package/dist/adapters/RetentionHeatmap.config-C_ObG7BL.js +0 -1
- package/dist/adapters/SankeyChart.config-BvtX99Ub.js +0 -1
- package/dist/adapters/SankeyChart.config-D1vkom4z.cjs +0 -1
- package/dist/adapters/ScatterChart.config-OF3pLDki.cjs +0 -1
- package/dist/adapters/ScatterChart.config-gmIhEs9x.js +0 -1
- package/dist/adapters/SunburstChart.config-DVF_YC7z.cjs +0 -1
- package/dist/adapters/SunburstChart.config-IeVU95wF.js +0 -1
- package/dist/adapters/TreeMapChart.config-CZbNvSfx.js +0 -1
- package/dist/adapters/TreeMapChart.config-CzjOynvQ.cjs +0 -1
- package/dist/adapters/WaterfallChart.config-BCKwwg8W.cjs +0 -1
- package/dist/adapters/WaterfallChart.config-BQ-qNCQD.js +0 -1
- package/dist/adapters/core-Bpzlbfe4.cjs +0 -1
- package/dist/adapters/mcp-app-html-DjXsoT66.js +0 -5
- package/dist/adapters/mcp-app-html-s0EguZzT.cjs +0 -1
- package/dist/adapters/utils-DY4WUdbt.cjs +0 -141
- package/dist/client/chunks/DashboardEditModal-C7Nj2XvQ.js.map +0 -1
- package/dist/client/chunks/RecordsTable-D8Lirq-E.js.map +0 -1
- package/dist/client/chunks/analysis-builder-CmnW9_92.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-W_lbhFRa.js.map +0 -1
- package/dist/client/chunks/chart-data-table-vxJ9eDbC.js.map +0 -1
- package/dist/client/chunks/charts-loader-CwTTQh7e.js +0 -87
- package/dist/client/chunks/dashboardExport-Cy5OOMpb.js.map +0 -1
- package/dist/client/chunks/useDirtyStateTracking-C_pCRhRu.js +0 -1150
- package/dist/client/chunks/useDirtyStateTracking-C_pCRhRu.js.map +0 -1
- package/dist/client/chunks/vendor-Bz0lKciG.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e, n as t } from "./rolldown-runtime-DArdT4gl.js";
|
|
2
2
|
import { c as n, n as r, s as i } from "./chart-config-area-BnsRQ-MY.js";
|
|
3
|
-
import { B as a, E as o, F as s, I as c, L as l, w as u, z as d } from "./chart-activity-grid-
|
|
3
|
+
import { B as a, E as o, F as s, I as c, L as l, w as u, z as d } from "./chart-activity-grid-DeDPSs12.js";
|
|
4
4
|
import { n as f } from "./chart-config-bar-G2HJJBVV.js";
|
|
5
5
|
import { n as p } from "./chart-config-line-DLkRs1Zr.js";
|
|
6
6
|
import { n as m } from "./chart-config-pie-XrHim0C8.js";
|
|
@@ -8,30 +8,30 @@ import { n as h } from "./chart-config-scatter-CWA89oX4.js";
|
|
|
8
8
|
import { n as g } from "./chart-config-bubble-1IyZinH0.js";
|
|
9
9
|
import { n as _ } from "./chart-config-radar-xNS6Juqc.js";
|
|
10
10
|
import { n as v } from "./chart-config-radial-bar-ChUChsEe.js";
|
|
11
|
-
import { n as
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import { n as
|
|
16
|
-
import { n as
|
|
17
|
-
import { n as
|
|
18
|
-
import { n as
|
|
19
|
-
import { n as
|
|
20
|
-
import { n as
|
|
21
|
-
import { n as
|
|
22
|
-
import { n as
|
|
23
|
-
import { n as
|
|
24
|
-
import { n as
|
|
25
|
-
import { n as
|
|
26
|
-
import { n as
|
|
27
|
-
import * as
|
|
28
|
-
import
|
|
11
|
+
import { n as y } from "./chart-config-tree-map-CnrJ7OC1.js";
|
|
12
|
+
import { n as b } from "./chart-config-data-table-CrGyS7aJ.js";
|
|
13
|
+
import { n as ee } from "./chart-config-activity-grid-C4vXGQNu.js";
|
|
14
|
+
import { n as te } from "./chart-config-kpi-number-Dgc4gIYu.js";
|
|
15
|
+
import { n as ne } from "./chart-config-kpi-delta-BIAq1Ftg.js";
|
|
16
|
+
import { n as re } from "./chart-config-kpi-text-DnnxvOSA.js";
|
|
17
|
+
import { n as ie } from "./chart-config-markdown-CK8PAWUg.js";
|
|
18
|
+
import { n as ae } from "./chart-config-funnel-DMLLKtPF.js";
|
|
19
|
+
import { n as oe } from "./chart-config-sankey-De8E0C1A.js";
|
|
20
|
+
import { n as se } from "./chart-config-sunburst-B4NUYHMH.js";
|
|
21
|
+
import { n as ce } from "./chart-config-heat-map-CJF65SyL.js";
|
|
22
|
+
import { n as le } from "./chart-config-box-plot-DMuJZqkr.js";
|
|
23
|
+
import { n as ue } from "./chart-config-waterfall-DlQb_PLh.js";
|
|
24
|
+
import { n as de } from "./chart-config-candlestick-QwQwJB_-.js";
|
|
25
|
+
import { n as fe } from "./chart-config-measure-profile-CRSRIpKh.js";
|
|
26
|
+
import { n as pe } from "./chart-config-gauge-CJktdjox.js";
|
|
27
|
+
import * as x from "react";
|
|
28
|
+
import me, { createContext as he, createElement as ge, forwardRef as _e, lazy as ve, useCallback as ye, useContext as be, useEffect as S, useMemo as C, useRef as xe, useState as w, useSyncExternalStore as Se } from "react";
|
|
29
29
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
30
30
|
//#region src/client/charts/chartConfigs.ts
|
|
31
|
-
function
|
|
31
|
+
function Ce(e, t) {
|
|
32
32
|
return (e ?? []).filter((e) => (e.placement ?? "display") === t);
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var we = {
|
|
35
35
|
dropZones: [
|
|
36
36
|
{
|
|
37
37
|
key: "xAxis",
|
|
@@ -63,17 +63,17 @@ var D = {
|
|
|
63
63
|
"showGrid",
|
|
64
64
|
"showTooltip"
|
|
65
65
|
]
|
|
66
|
-
},
|
|
66
|
+
}, D = {
|
|
67
67
|
packageName: "recharts",
|
|
68
68
|
installCommand: "npm install recharts"
|
|
69
|
-
},
|
|
69
|
+
}, Te = {
|
|
70
70
|
bar: {
|
|
71
71
|
label: "chart.bar.label",
|
|
72
72
|
icon: "chartBar",
|
|
73
73
|
description: "chart.bar.description",
|
|
74
74
|
useCase: "chart.bar.useCase",
|
|
75
75
|
isAvailable: n,
|
|
76
|
-
dependencies:
|
|
76
|
+
dependencies: D,
|
|
77
77
|
config: async () => (await import("./chart-config-bar-G2HJJBVV.js").then((e) => e.t)).barChartConfig
|
|
78
78
|
},
|
|
79
79
|
line: {
|
|
@@ -82,7 +82,7 @@ var D = {
|
|
|
82
82
|
description: "chart.line.description",
|
|
83
83
|
useCase: "chart.line.useCase",
|
|
84
84
|
isAvailable: n,
|
|
85
|
-
dependencies:
|
|
85
|
+
dependencies: D,
|
|
86
86
|
config: async () => (await import("./chart-config-line-DLkRs1Zr.js").then((e) => e.t)).lineChartConfig
|
|
87
87
|
},
|
|
88
88
|
area: {
|
|
@@ -91,7 +91,7 @@ var D = {
|
|
|
91
91
|
description: "chart.area.description",
|
|
92
92
|
useCase: "chart.area.useCase",
|
|
93
93
|
isAvailable: n,
|
|
94
|
-
dependencies:
|
|
94
|
+
dependencies: D,
|
|
95
95
|
config: async () => (await import("./chart-config-area-BnsRQ-MY.js").then((e) => e.t)).areaChartConfig
|
|
96
96
|
},
|
|
97
97
|
pie: {
|
|
@@ -100,7 +100,7 @@ var D = {
|
|
|
100
100
|
description: "chart.pie.description",
|
|
101
101
|
useCase: "chart.pie.useCase",
|
|
102
102
|
isAvailable: n,
|
|
103
|
-
dependencies:
|
|
103
|
+
dependencies: D,
|
|
104
104
|
config: async () => (await import("./chart-config-pie-XrHim0C8.js").then((e) => e.t)).pieChartConfig
|
|
105
105
|
},
|
|
106
106
|
scatter: {
|
|
@@ -115,7 +115,7 @@ var D = {
|
|
|
115
115
|
available: !1,
|
|
116
116
|
reason: "chart.availability.scatter"
|
|
117
117
|
} : { available: !0 },
|
|
118
|
-
dependencies:
|
|
118
|
+
dependencies: D,
|
|
119
119
|
config: async () => (await import("./chart-config-scatter-CWA89oX4.js").then((e) => e.t)).scatterChartConfig
|
|
120
120
|
},
|
|
121
121
|
bubble: {
|
|
@@ -130,7 +130,7 @@ var D = {
|
|
|
130
130
|
available: !1,
|
|
131
131
|
reason: "chart.availability.bubble"
|
|
132
132
|
} : { available: !0 },
|
|
133
|
-
dependencies:
|
|
133
|
+
dependencies: D,
|
|
134
134
|
config: async () => (await import("./chart-config-bubble-1IyZinH0.js").then((e) => e.t)).bubbleChartConfig
|
|
135
135
|
},
|
|
136
136
|
radar: {
|
|
@@ -139,7 +139,7 @@ var D = {
|
|
|
139
139
|
description: "chart.radar.description",
|
|
140
140
|
useCase: "chart.radar.useCase",
|
|
141
141
|
isAvailable: n,
|
|
142
|
-
dependencies:
|
|
142
|
+
dependencies: D,
|
|
143
143
|
config: async () => (await import("./chart-config-radar-xNS6Juqc.js").then((e) => e.t)).radarChartConfig
|
|
144
144
|
},
|
|
145
145
|
radialBar: {
|
|
@@ -148,7 +148,7 @@ var D = {
|
|
|
148
148
|
description: "chart.radialBar.description",
|
|
149
149
|
useCase: "chart.radialBar.useCase",
|
|
150
150
|
isAvailable: n,
|
|
151
|
-
dependencies:
|
|
151
|
+
dependencies: D,
|
|
152
152
|
config: async () => (await import("./chart-config-radial-bar-ChUChsEe.js").then((e) => e.t)).radialBarChartConfig
|
|
153
153
|
},
|
|
154
154
|
treemap: {
|
|
@@ -157,7 +157,7 @@ var D = {
|
|
|
157
157
|
description: "chart.treemap.description",
|
|
158
158
|
useCase: "chart.treemap.useCase",
|
|
159
159
|
isAvailable: n,
|
|
160
|
-
dependencies:
|
|
160
|
+
dependencies: D,
|
|
161
161
|
config: async () => (await import("./chart-config-tree-map-CnrJ7OC1.js").then((e) => e.t)).treemapChartConfig
|
|
162
162
|
},
|
|
163
163
|
table: {
|
|
@@ -172,7 +172,7 @@ var D = {
|
|
|
172
172
|
icon: "chartRecordsTable",
|
|
173
173
|
description: "chart.recordsTable.description",
|
|
174
174
|
useCase: "chart.recordsTable.useCase",
|
|
175
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
175
|
+
config: async () => (await Promise.resolve().then(() => Qo)).recordsTableConfig
|
|
176
176
|
},
|
|
177
177
|
activityGrid: {
|
|
178
178
|
label: "chart.activityGrid.label",
|
|
@@ -224,7 +224,7 @@ var D = {
|
|
|
224
224
|
icon: "chartFunnel",
|
|
225
225
|
description: "chart.funnel.description",
|
|
226
226
|
useCase: "chart.funnel.useCase",
|
|
227
|
-
dependencies:
|
|
227
|
+
dependencies: D,
|
|
228
228
|
config: async () => (await import("./chart-config-funnel-DMLLKtPF.js").then((e) => e.t)).funnelChartConfig
|
|
229
229
|
},
|
|
230
230
|
sankey: {
|
|
@@ -232,7 +232,7 @@ var D = {
|
|
|
232
232
|
icon: "chartSankey",
|
|
233
233
|
description: "chart.sankey.description",
|
|
234
234
|
useCase: "chart.sankey.useCase",
|
|
235
|
-
dependencies:
|
|
235
|
+
dependencies: D,
|
|
236
236
|
config: async () => (await import("./chart-config-sankey-De8E0C1A.js").then((e) => e.t)).sankeyChartConfig
|
|
237
237
|
},
|
|
238
238
|
sunburst: {
|
|
@@ -240,7 +240,7 @@ var D = {
|
|
|
240
240
|
icon: "chartSunburst",
|
|
241
241
|
description: "chart.sunburst.description",
|
|
242
242
|
useCase: "chart.sunburst.useCase",
|
|
243
|
-
dependencies:
|
|
243
|
+
dependencies: D,
|
|
244
244
|
config: async () => (await import("./chart-config-sunburst-B4NUYHMH.js").then((e) => e.t)).sunburstChartConfig
|
|
245
245
|
},
|
|
246
246
|
heatmap: {
|
|
@@ -266,14 +266,14 @@ var D = {
|
|
|
266
266
|
icon: "chartRetention",
|
|
267
267
|
description: "chart.retentionHeatmap.description",
|
|
268
268
|
useCase: "chart.retentionHeatmap.useCase",
|
|
269
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
269
|
+
config: async () => (await Promise.resolve().then(() => es)).retentionHeatmapConfig
|
|
270
270
|
},
|
|
271
271
|
retentionCombined: {
|
|
272
272
|
label: "chart.retentionCombined.label",
|
|
273
273
|
icon: "chartRetention",
|
|
274
274
|
description: "chart.retentionCombined.description",
|
|
275
275
|
useCase: "chart.retentionCombined.useCase",
|
|
276
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
276
|
+
config: async () => (await Promise.resolve().then(() => ns)).retentionCombinedConfig
|
|
277
277
|
},
|
|
278
278
|
boxPlot: {
|
|
279
279
|
label: "chart.boxPlot.label",
|
|
@@ -289,7 +289,7 @@ var D = {
|
|
|
289
289
|
description: "chart.dotStrip.description",
|
|
290
290
|
useCase: "chart.dotStrip.useCase",
|
|
291
291
|
isAvailable: n,
|
|
292
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
292
|
+
config: async () => (await Promise.resolve().then(() => is)).dotStripChartConfig
|
|
293
293
|
},
|
|
294
294
|
waterfall: {
|
|
295
295
|
label: "chart.waterfall.label",
|
|
@@ -297,7 +297,7 @@ var D = {
|
|
|
297
297
|
description: "chart.waterfall.description",
|
|
298
298
|
useCase: "chart.waterfall.useCase",
|
|
299
299
|
isAvailable: n,
|
|
300
|
-
dependencies:
|
|
300
|
+
dependencies: D,
|
|
301
301
|
config: async () => (await import("./chart-config-waterfall-DlQb_PLh.js").then((e) => e.t)).waterfallChartConfig
|
|
302
302
|
},
|
|
303
303
|
candlestick: {
|
|
@@ -323,7 +323,7 @@ var D = {
|
|
|
323
323
|
available: !1,
|
|
324
324
|
reason: "chart.availability.requiresTwoMeasures"
|
|
325
325
|
} : { available: !0 },
|
|
326
|
-
dependencies:
|
|
326
|
+
dependencies: D,
|
|
327
327
|
config: async () => (await import("./chart-config-measure-profile-CRSRIpKh.js").then((e) => e.t)).measureProfileChartConfig
|
|
328
328
|
},
|
|
329
329
|
proportionBar: {
|
|
@@ -332,7 +332,7 @@ var D = {
|
|
|
332
332
|
description: "chart.proportionBar.description",
|
|
333
333
|
useCase: "chart.proportionBar.useCase",
|
|
334
334
|
isAvailable: n,
|
|
335
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
335
|
+
config: async () => (await Promise.resolve().then(() => os)).proportionBarChartConfig
|
|
336
336
|
},
|
|
337
337
|
gauge: {
|
|
338
338
|
label: "chart.gauge.label",
|
|
@@ -346,20 +346,20 @@ var D = {
|
|
|
346
346
|
},
|
|
347
347
|
config: async () => (await import("./chart-config-gauge-CJktdjox.js").then((e) => e.t)).gaugeChartConfig
|
|
348
348
|
}
|
|
349
|
-
},
|
|
350
|
-
function
|
|
351
|
-
return
|
|
349
|
+
}, Ee = /* @__PURE__ */ new Map();
|
|
350
|
+
function De(e) {
|
|
351
|
+
return Ee.get(e) ?? Te[e];
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
|
|
353
|
+
function Oe(e, t) {
|
|
354
|
+
Ee.set(e, t);
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
|
|
356
|
+
function ke(e) {
|
|
357
|
+
Ee.delete(e);
|
|
358
358
|
}
|
|
359
|
-
function
|
|
360
|
-
return
|
|
359
|
+
function Ae(e) {
|
|
360
|
+
return Ee.get(e);
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function je(e, t) {
|
|
363
363
|
return {
|
|
364
364
|
...t,
|
|
365
365
|
label: e.label,
|
|
@@ -370,84 +370,210 @@ function ke(e, t) {
|
|
|
370
370
|
}
|
|
371
371
|
//#endregion
|
|
372
372
|
//#region src/client/charts/lazyChartConfigRegistry.ts
|
|
373
|
-
var
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
373
|
+
var O = /* @__PURE__ */ new Map(), Me = 0, Ne = /* @__PURE__ */ new Set();
|
|
374
|
+
function Pe(e) {
|
|
375
|
+
return Ne.add(e), () => {
|
|
376
|
+
Ne.delete(e);
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
function Fe() {
|
|
380
|
+
return Me;
|
|
381
|
+
}
|
|
382
|
+
function Ie() {
|
|
383
|
+
Me++;
|
|
384
|
+
for (let e of Ne) e();
|
|
385
|
+
}
|
|
386
|
+
async function k(e) {
|
|
387
|
+
if (O.has(e)) return O.get(e);
|
|
388
|
+
let t = De(e);
|
|
377
389
|
if (!t) return null;
|
|
378
390
|
try {
|
|
379
391
|
let n = await t.config();
|
|
380
392
|
if (n) {
|
|
381
|
-
let r =
|
|
382
|
-
return
|
|
393
|
+
let r = je(t, n);
|
|
394
|
+
return O.set(e, r), r;
|
|
383
395
|
}
|
|
384
396
|
return null;
|
|
385
397
|
} catch (t) {
|
|
386
398
|
return console.error(`Failed to load config for chart type: ${e}`, t), null;
|
|
387
399
|
}
|
|
388
400
|
}
|
|
389
|
-
function
|
|
390
|
-
return
|
|
401
|
+
function Le(e) {
|
|
402
|
+
return O.get(e) || we;
|
|
391
403
|
}
|
|
392
|
-
function
|
|
393
|
-
return
|
|
404
|
+
function Re(e) {
|
|
405
|
+
return O.has(e);
|
|
394
406
|
}
|
|
395
|
-
function
|
|
396
|
-
let [t, n] = w(e ?
|
|
407
|
+
function ze(e) {
|
|
408
|
+
let [t, n] = w(e ? Le(e) : we), [r, i] = w(!1), [a, o] = w(!1), s = Se(Pe, Fe, Fe);
|
|
397
409
|
return S(() => {
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
410
|
+
if (!e) {
|
|
411
|
+
n(we), i(!1), o(!1);
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
if (O.has(e)) {
|
|
415
|
+
n(O.get(e)), i(!1), o(!0);
|
|
416
|
+
return;
|
|
417
|
+
}
|
|
418
|
+
let t = !1;
|
|
419
|
+
return i(!0), k(e).then((e) => {
|
|
420
|
+
t || (e ? (n(e), o(!0)) : (n(we), o(!0)));
|
|
421
|
+
}).finally(() => {
|
|
422
|
+
t || i(!1);
|
|
423
|
+
}), () => {
|
|
424
|
+
t = !0;
|
|
425
|
+
};
|
|
426
|
+
}, [e, s]), {
|
|
402
427
|
config: t,
|
|
403
428
|
loading: r,
|
|
404
429
|
loaded: a
|
|
405
430
|
};
|
|
406
431
|
}
|
|
407
|
-
async function
|
|
408
|
-
|
|
432
|
+
async function Be(e) {
|
|
433
|
+
O.has(e) || await k(e);
|
|
409
434
|
}
|
|
410
|
-
async function
|
|
411
|
-
await Promise.all(e.map(
|
|
435
|
+
async function Ve(e) {
|
|
436
|
+
await Promise.all(e.map(Be));
|
|
412
437
|
}
|
|
413
|
-
async function
|
|
414
|
-
let e = Object.keys(
|
|
415
|
-
await Promise.all(e.map(
|
|
438
|
+
async function He() {
|
|
439
|
+
let e = Object.keys(Te);
|
|
440
|
+
await Promise.all(e.map(k));
|
|
416
441
|
let t = {};
|
|
417
442
|
for (let n of e) {
|
|
418
|
-
let e =
|
|
443
|
+
let e = O.get(n);
|
|
419
444
|
e && (t[n] = e);
|
|
420
445
|
}
|
|
421
446
|
return t;
|
|
422
447
|
}
|
|
423
|
-
function
|
|
424
|
-
|
|
448
|
+
function Ue() {
|
|
449
|
+
O.clear();
|
|
425
450
|
}
|
|
426
|
-
function
|
|
427
|
-
|
|
451
|
+
function We(e, t) {
|
|
452
|
+
O.set(e, t), Ie();
|
|
428
453
|
}
|
|
429
|
-
function
|
|
430
|
-
|
|
454
|
+
function Ge(e) {
|
|
455
|
+
O.delete(e), Ie();
|
|
456
|
+
}
|
|
457
|
+
//#endregion
|
|
458
|
+
//#region src/client/utils/multiQueryUtils.ts
|
|
459
|
+
var Ke = /* @__PURE__ */ new Set(["__queryIndex", "__queryLabel"]);
|
|
460
|
+
function qe(e) {
|
|
461
|
+
let t = /* @__PURE__ */ new Set();
|
|
462
|
+
for (let n of e) if (typeof n == "object" && n) for (let e of Object.keys(n)) Ke.has(e) || t.add(e);
|
|
463
|
+
return Array.from(t);
|
|
464
|
+
}
|
|
465
|
+
function Je(e) {
|
|
466
|
+
if (e.length === 0) return;
|
|
467
|
+
if (e.length === 1) return e[0];
|
|
468
|
+
let t = Array.from(new Set(e.flatMap((e) => e?.measures ?? [])));
|
|
469
|
+
return {
|
|
470
|
+
...e[0],
|
|
471
|
+
measures: t
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
function Ye(e) {
|
|
475
|
+
return e.length > 0 && typeof e[0] == "object" && e[0] !== null && "__queryIndex" in e[0];
|
|
476
|
+
}
|
|
477
|
+
function Xe(e) {
|
|
478
|
+
if (!Ye(e)) return [];
|
|
479
|
+
let t = /* @__PURE__ */ new Set();
|
|
480
|
+
for (let n of e) {
|
|
481
|
+
let e = n.__queryLabel;
|
|
482
|
+
typeof e == "string" && t.add(e);
|
|
483
|
+
}
|
|
484
|
+
return Array.from(t);
|
|
485
|
+
}
|
|
486
|
+
function Ze(e) {
|
|
487
|
+
if (!Ye(e)) return [];
|
|
488
|
+
let t = /* @__PURE__ */ new Set();
|
|
489
|
+
for (let n of e) {
|
|
490
|
+
let e = n.__queryIndex;
|
|
491
|
+
typeof e == "number" && t.add(e);
|
|
492
|
+
}
|
|
493
|
+
return Array.from(t).sort((e, t) => e - t);
|
|
494
|
+
}
|
|
495
|
+
function Qe(e, t, n) {
|
|
496
|
+
let r = [];
|
|
497
|
+
return e.forEach((e, t) => {
|
|
498
|
+
let i = e.rawData(), a = n?.[t] || `Query ${t + 1}`;
|
|
499
|
+
i.forEach((e) => {
|
|
500
|
+
r.push({
|
|
501
|
+
...e,
|
|
502
|
+
__queryIndex: t,
|
|
503
|
+
__queryLabel: a
|
|
504
|
+
});
|
|
505
|
+
});
|
|
506
|
+
}), r;
|
|
507
|
+
}
|
|
508
|
+
function $e(e, t, n, r) {
|
|
509
|
+
let i = /* @__PURE__ */ new Map();
|
|
510
|
+
return e.forEach((e, r) => {
|
|
511
|
+
let a = e.rawData(), o = t[r].measures || [];
|
|
512
|
+
a.forEach((e) => {
|
|
513
|
+
let t = n.map((t) => String(e[t] ?? "")).join("|");
|
|
514
|
+
if (!i.has(t)) {
|
|
515
|
+
let r = {};
|
|
516
|
+
n.forEach((t) => {
|
|
517
|
+
r[t] = e[t];
|
|
518
|
+
}), i.set(t, r);
|
|
519
|
+
}
|
|
520
|
+
let a = i.get(t);
|
|
521
|
+
o.forEach((t) => {
|
|
522
|
+
t in a || (a[t] = e[t]);
|
|
523
|
+
}), r === 0 && Object.keys(e).forEach((t) => {
|
|
524
|
+
!n.includes(t) && !o.includes(t) && (t in a || (a[t] = e[t]));
|
|
525
|
+
});
|
|
526
|
+
});
|
|
527
|
+
}), Array.from(i.values()).sort((e, t) => String(e[n[0]] ?? "").localeCompare(String(t[n[0]] ?? "")));
|
|
528
|
+
}
|
|
529
|
+
function et(e, t, n, r, i) {
|
|
530
|
+
return e.length === 0 ? [] : e.length === 1 ? e[0].rawData() : n === "merge" && r && r.length > 0 ? $e(e, t, r, i) : Qe(e, t, i);
|
|
531
|
+
}
|
|
532
|
+
function tt(e, t) {
|
|
533
|
+
let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set();
|
|
534
|
+
return e.forEach((e) => {
|
|
535
|
+
e.measures?.forEach((e) => n.add(e)), e.dimensions?.forEach((e) => r.add(e)), e.timeDimensions?.forEach((e) => i.add(e.dimension));
|
|
536
|
+
}), {
|
|
537
|
+
measures: Array.from(n),
|
|
538
|
+
dimensions: Array.from(r),
|
|
539
|
+
timeDimensions: Array.from(i)
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
function nt(e, t) {
|
|
543
|
+
if (e.measures && e.measures.length > 0) {
|
|
544
|
+
let t = e.measures[0], n = t.split(".");
|
|
545
|
+
return n.length > 1 ? n[n.length - 1] : t;
|
|
546
|
+
}
|
|
547
|
+
return `Query ${t + 1}`;
|
|
548
|
+
}
|
|
549
|
+
function rt(e, t) {
|
|
550
|
+
let n = [];
|
|
551
|
+
return e.forEach((e, r) => {
|
|
552
|
+
[...e.dimensions || [], ...e.timeDimensions?.map((e) => e.dimension) || []].includes(t) || n.push(r);
|
|
553
|
+
}), {
|
|
554
|
+
isValid: n.length === 0,
|
|
555
|
+
missingInQueries: n
|
|
556
|
+
};
|
|
431
557
|
}
|
|
432
558
|
//#endregion
|
|
433
559
|
//#region node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
434
|
-
var
|
|
435
|
-
let t =
|
|
560
|
+
var it = x.createContext(void 0), at = (e) => {
|
|
561
|
+
let t = x.useContext(it);
|
|
436
562
|
if (e) return e;
|
|
437
563
|
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
|
|
438
564
|
return t;
|
|
439
|
-
},
|
|
565
|
+
}, ot = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
|
|
440
566
|
e.unmount();
|
|
441
|
-
}), [e]), /* @__PURE__ */ T(
|
|
567
|
+
}), [e]), /* @__PURE__ */ T(it.Provider, {
|
|
442
568
|
value: e,
|
|
443
569
|
children: t
|
|
444
|
-
})),
|
|
570
|
+
})), st = {
|
|
445
571
|
setTimeout: (e, t) => setTimeout(e, t),
|
|
446
572
|
clearTimeout: (e) => clearTimeout(e),
|
|
447
573
|
setInterval: (e, t) => setInterval(e, t),
|
|
448
574
|
clearInterval: (e) => clearInterval(e)
|
|
449
575
|
}, A = new class {
|
|
450
|
-
#e =
|
|
576
|
+
#e = st;
|
|
451
577
|
#t = !1;
|
|
452
578
|
setTimeoutProvider(e) {
|
|
453
579
|
process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.", {
|
|
@@ -468,30 +594,30 @@ var Be = b.createContext(void 0), Ve = (e) => {
|
|
|
468
594
|
this.#e.clearInterval(e);
|
|
469
595
|
}
|
|
470
596
|
}();
|
|
471
|
-
function
|
|
597
|
+
function ct(e) {
|
|
472
598
|
setTimeout(e, 0);
|
|
473
599
|
}
|
|
474
600
|
//#endregion
|
|
475
601
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
476
|
-
var
|
|
602
|
+
var lt = typeof window > "u" || "Deno" in globalThis;
|
|
477
603
|
function j() {}
|
|
478
|
-
function
|
|
604
|
+
function ut(e, t) {
|
|
479
605
|
return typeof e == "function" ? e(t) : e;
|
|
480
606
|
}
|
|
481
|
-
function
|
|
607
|
+
function dt(e) {
|
|
482
608
|
return typeof e == "number" && e >= 0 && e !== Infinity;
|
|
483
609
|
}
|
|
484
|
-
function
|
|
610
|
+
function ft(e, t) {
|
|
485
611
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
486
612
|
}
|
|
487
613
|
function M(e, t) {
|
|
488
614
|
return typeof e == "function" ? e(t) : e;
|
|
489
615
|
}
|
|
490
|
-
function
|
|
616
|
+
function pt(e, t) {
|
|
491
617
|
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
|
|
492
618
|
if (o) {
|
|
493
619
|
if (r) {
|
|
494
|
-
if (t.queryHash !==
|
|
620
|
+
if (t.queryHash !== ht(o, t.options)) return !1;
|
|
495
621
|
} else if (!P(t.queryKey, o)) return !1;
|
|
496
622
|
}
|
|
497
623
|
if (n !== "all") {
|
|
@@ -500,7 +626,7 @@ function Ye(e, t) {
|
|
|
500
626
|
}
|
|
501
627
|
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
|
|
502
628
|
}
|
|
503
|
-
function
|
|
629
|
+
function mt(e, t) {
|
|
504
630
|
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
|
|
505
631
|
if (a) {
|
|
506
632
|
if (!t.options.mutationKey) return !1;
|
|
@@ -510,11 +636,11 @@ function Xe(e, t) {
|
|
|
510
636
|
}
|
|
511
637
|
return !(r && t.state.status !== r || i && !i(t));
|
|
512
638
|
}
|
|
513
|
-
function
|
|
639
|
+
function ht(e, t) {
|
|
514
640
|
return (t?.queryKeyHashFn || N)(e);
|
|
515
641
|
}
|
|
516
642
|
function N(e) {
|
|
517
|
-
return JSON.stringify(e, (e, t) =>
|
|
643
|
+
return JSON.stringify(e, (e, t) => bt(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
518
644
|
}
|
|
519
645
|
function P(e, t) {
|
|
520
646
|
if (e === t) return !0;
|
|
@@ -531,80 +657,80 @@ function P(e, t) {
|
|
|
531
657
|
}
|
|
532
658
|
return !1;
|
|
533
659
|
}
|
|
534
|
-
var
|
|
535
|
-
function
|
|
660
|
+
var gt = Object.prototype.hasOwnProperty;
|
|
661
|
+
function _t(e, t, n = 0) {
|
|
536
662
|
if (e === t) return e;
|
|
537
663
|
if (n > 500) return t;
|
|
538
|
-
let r =
|
|
539
|
-
if (!r && !(
|
|
664
|
+
let r = yt(e) && yt(t);
|
|
665
|
+
if (!r && !(bt(e) && bt(t))) return t;
|
|
540
666
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
541
667
|
for (let l = 0; l < o; l++) {
|
|
542
668
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
543
669
|
if (u === d) {
|
|
544
|
-
s[o] = u, (r ? l < i :
|
|
670
|
+
s[o] = u, (r ? l < i : gt.call(e, o)) && c++;
|
|
545
671
|
continue;
|
|
546
672
|
}
|
|
547
673
|
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
|
|
548
674
|
s[o] = d;
|
|
549
675
|
continue;
|
|
550
676
|
}
|
|
551
|
-
let f =
|
|
677
|
+
let f = _t(u, d, n + 1);
|
|
552
678
|
s[o] = f, f === u && c++;
|
|
553
679
|
}
|
|
554
680
|
return i === o && c === i ? e : s;
|
|
555
681
|
}
|
|
556
|
-
function
|
|
682
|
+
function vt(e, t) {
|
|
557
683
|
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
558
684
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
559
685
|
return !0;
|
|
560
686
|
}
|
|
561
|
-
function
|
|
687
|
+
function yt(e) {
|
|
562
688
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
563
689
|
}
|
|
564
|
-
function
|
|
565
|
-
if (!
|
|
690
|
+
function bt(e) {
|
|
691
|
+
if (!xt(e)) return !1;
|
|
566
692
|
let t = Object.getPrototypeOf(e), n = t?.constructor;
|
|
567
693
|
if (n === void 0) return !0;
|
|
568
694
|
if (typeof n != "function") return !1;
|
|
569
695
|
let r = n.prototype;
|
|
570
|
-
return !(!
|
|
696
|
+
return !(!xt(r) || !r.hasOwnProperty("isPrototypeOf") || t !== Object.prototype);
|
|
571
697
|
}
|
|
572
|
-
function
|
|
698
|
+
function xt(e) {
|
|
573
699
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
574
700
|
}
|
|
575
|
-
function
|
|
701
|
+
function St(e) {
|
|
576
702
|
return new Promise((t) => {
|
|
577
703
|
A.setTimeout(t, e);
|
|
578
704
|
});
|
|
579
705
|
}
|
|
580
|
-
function
|
|
706
|
+
function Ct(e, t, n) {
|
|
581
707
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
582
708
|
if (n.structuralSharing !== !1) {
|
|
583
709
|
if (process.env.NODE_ENV !== "production") try {
|
|
584
|
-
return
|
|
710
|
+
return _t(e, t);
|
|
585
711
|
} catch (e) {
|
|
586
712
|
throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`), e;
|
|
587
713
|
}
|
|
588
|
-
return
|
|
714
|
+
return _t(e, t);
|
|
589
715
|
}
|
|
590
716
|
return t;
|
|
591
717
|
}
|
|
592
|
-
function
|
|
718
|
+
function wt(e, t, n = 0) {
|
|
593
719
|
let r = [...e, t];
|
|
594
720
|
return n && r.length > n ? r.slice(1) : r;
|
|
595
721
|
}
|
|
596
|
-
function
|
|
722
|
+
function Tt(e, t, n = 0) {
|
|
597
723
|
let r = [t, ...e];
|
|
598
724
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
599
725
|
}
|
|
600
726
|
var F = Symbol();
|
|
601
|
-
function
|
|
727
|
+
function Et(e, t) {
|
|
602
728
|
return process.env.NODE_ENV !== "production" && e.queryFn === F && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === F ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
603
729
|
}
|
|
604
|
-
function
|
|
730
|
+
function Dt(e, t) {
|
|
605
731
|
return typeof e == "function" ? e(...t) : !!e;
|
|
606
732
|
}
|
|
607
|
-
function
|
|
733
|
+
function Ot(e, t, n) {
|
|
608
734
|
let r = !1, i;
|
|
609
735
|
return Object.defineProperty(e, "signal", {
|
|
610
736
|
enumerable: !0,
|
|
@@ -613,7 +739,7 @@ function ut(e, t, n) {
|
|
|
613
739
|
}
|
|
614
740
|
//#endregion
|
|
615
741
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
616
|
-
var
|
|
742
|
+
var kt = () => lt, At = () => kt(), I = class {
|
|
617
743
|
constructor() {
|
|
618
744
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
619
745
|
}
|
|
@@ -627,7 +753,7 @@ var dt = () => Ge, ft = () => dt(), I = class {
|
|
|
627
753
|
}
|
|
628
754
|
onSubscribe() {}
|
|
629
755
|
onUnsubscribe() {}
|
|
630
|
-
},
|
|
756
|
+
}, jt = new class extends I {
|
|
631
757
|
#e;
|
|
632
758
|
#t;
|
|
633
759
|
#n;
|
|
@@ -664,13 +790,13 @@ var dt = () => Ge, ft = () => dt(), I = class {
|
|
|
664
790
|
isFocused() {
|
|
665
791
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
666
792
|
}
|
|
667
|
-
}(),
|
|
668
|
-
function
|
|
793
|
+
}(), Mt = ct;
|
|
794
|
+
function Nt() {
|
|
669
795
|
let e = [], t = 0, n = (e) => {
|
|
670
796
|
e();
|
|
671
797
|
}, r = (e) => {
|
|
672
798
|
e();
|
|
673
|
-
}, i =
|
|
799
|
+
}, i = Mt, a = (r) => {
|
|
674
800
|
t ? e.push(r) : i(() => {
|
|
675
801
|
n(r);
|
|
676
802
|
});
|
|
@@ -712,7 +838,7 @@ function ht() {
|
|
|
712
838
|
}
|
|
713
839
|
};
|
|
714
840
|
}
|
|
715
|
-
var L =
|
|
841
|
+
var L = Nt(), R = new class extends I {
|
|
716
842
|
#e = !0;
|
|
717
843
|
#t;
|
|
718
844
|
#n;
|
|
@@ -746,32 +872,32 @@ var L = ht(), gt = new class extends I {
|
|
|
746
872
|
}();
|
|
747
873
|
//#endregion
|
|
748
874
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
749
|
-
function
|
|
875
|
+
function Pt(e) {
|
|
750
876
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
751
877
|
}
|
|
752
|
-
function
|
|
753
|
-
return (e ?? "online") !== "online" ||
|
|
878
|
+
function Ft(e) {
|
|
879
|
+
return (e ?? "online") !== "online" || R.isOnline();
|
|
754
880
|
}
|
|
755
|
-
var
|
|
881
|
+
var It = class extends Error {
|
|
756
882
|
constructor(e) {
|
|
757
883
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
758
884
|
}
|
|
759
885
|
};
|
|
760
|
-
function
|
|
886
|
+
function Lt(e) {
|
|
761
887
|
let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {
|
|
762
888
|
a = e, o = t;
|
|
763
889
|
});
|
|
764
890
|
s.catch(j);
|
|
765
891
|
let c = () => i !== "pending", l = (t) => {
|
|
766
892
|
if (!c()) {
|
|
767
|
-
let n = new
|
|
893
|
+
let n = new It(t);
|
|
768
894
|
h(n), e.onCancel?.(n);
|
|
769
895
|
}
|
|
770
896
|
}, u = () => {
|
|
771
897
|
t = !0;
|
|
772
898
|
}, d = () => {
|
|
773
899
|
t = !1;
|
|
774
|
-
}, f = () =>
|
|
900
|
+
}, f = () => jt.isFocused() && (e.networkMode === "always" || R.isOnline()) && e.canRun(), p = () => Ft(e.networkMode) && e.canRun(), m = (e) => {
|
|
775
901
|
c() || (r?.(), i = "resolved", a(e));
|
|
776
902
|
}, h = (e) => {
|
|
777
903
|
c() || (r?.(), i = "rejected", o(e));
|
|
@@ -791,8 +917,8 @@ function bt(e) {
|
|
|
791
917
|
}
|
|
792
918
|
Promise.resolve(r).then(m).catch((r) => {
|
|
793
919
|
if (c()) return;
|
|
794
|
-
let i = e.retry ?? (
|
|
795
|
-
t || !s ? h(r) : (n++, e.onFail?.(n, r),
|
|
920
|
+
let i = e.retry ?? (At() ? 0 : 3), a = e.retryDelay ?? Pt, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
921
|
+
t || !s ? h(r) : (n++, e.onFail?.(n, r), St(o).then(() => f() ? void 0 : g()).then(() => {
|
|
796
922
|
t ? h(r) : _();
|
|
797
923
|
}));
|
|
798
924
|
});
|
|
@@ -810,18 +936,18 @@ function bt(e) {
|
|
|
810
936
|
}
|
|
811
937
|
//#endregion
|
|
812
938
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
813
|
-
var
|
|
939
|
+
var Rt = class {
|
|
814
940
|
#e;
|
|
815
941
|
destroy() {
|
|
816
942
|
this.clearGcTimeout();
|
|
817
943
|
}
|
|
818
944
|
scheduleGc() {
|
|
819
|
-
this.clearGcTimeout(),
|
|
945
|
+
this.clearGcTimeout(), dt(this.gcTime) && (this.#e = A.setTimeout(() => {
|
|
820
946
|
this.optionalRemove();
|
|
821
947
|
}, this.gcTime));
|
|
822
948
|
}
|
|
823
949
|
updateGcTime(e) {
|
|
824
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
950
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (At() ? Infinity : 3e5));
|
|
825
951
|
}
|
|
826
952
|
clearGcTimeout() {
|
|
827
953
|
this.#e !== void 0 && (A.clearTimeout(this.#e), this.#e = void 0);
|
|
@@ -829,15 +955,15 @@ var xt = class {
|
|
|
829
955
|
};
|
|
830
956
|
//#endregion
|
|
831
957
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
832
|
-
function
|
|
958
|
+
function zt(e) {
|
|
833
959
|
return { onFetch: (t, n) => {
|
|
834
960
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
835
961
|
pages: [],
|
|
836
962
|
pageParams: []
|
|
837
963
|
}, c = 0, l = async () => {
|
|
838
964
|
let n = !1, l = (e) => {
|
|
839
|
-
|
|
840
|
-
}, u =
|
|
965
|
+
Ot(e, () => t.signal, () => n = !0);
|
|
966
|
+
}, u = Et(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
841
967
|
if (n) return Promise.reject(t.signal.reason);
|
|
842
968
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
843
969
|
let a = (() => {
|
|
@@ -849,14 +975,14 @@ function St(e) {
|
|
|
849
975
|
meta: t.options.meta
|
|
850
976
|
};
|
|
851
977
|
return l(e), e;
|
|
852
|
-
})(), o = await u(a), { maxPages: s } = t.options, c = i ?
|
|
978
|
+
})(), o = await u(a), { maxPages: s } = t.options, c = i ? Tt : wt;
|
|
853
979
|
return {
|
|
854
980
|
pages: c(e.pages, o, s),
|
|
855
981
|
pageParams: c(e.pageParams, r, s)
|
|
856
982
|
};
|
|
857
983
|
};
|
|
858
984
|
if (i && a.length) {
|
|
859
|
-
let e = i === "backward", t = e ?
|
|
985
|
+
let e = i === "backward", t = e ? Vt : Bt, n = {
|
|
860
986
|
pages: a,
|
|
861
987
|
pageParams: o
|
|
862
988
|
};
|
|
@@ -864,7 +990,7 @@ function St(e) {
|
|
|
864
990
|
} else {
|
|
865
991
|
let t = e ?? a.length;
|
|
866
992
|
do {
|
|
867
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
993
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : Bt(r, s);
|
|
868
994
|
if (c > 0 && e == null) break;
|
|
869
995
|
s = await d(s, e), c++;
|
|
870
996
|
} while (c < t);
|
|
@@ -879,16 +1005,16 @@ function St(e) {
|
|
|
879
1005
|
}, n) : l;
|
|
880
1006
|
} };
|
|
881
1007
|
}
|
|
882
|
-
function
|
|
1008
|
+
function Bt(e, { pages: t, pageParams: n }) {
|
|
883
1009
|
let r = t.length - 1;
|
|
884
1010
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
885
1011
|
}
|
|
886
|
-
function
|
|
1012
|
+
function Vt(e, { pages: t, pageParams: n }) {
|
|
887
1013
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
888
1014
|
}
|
|
889
1015
|
//#endregion
|
|
890
1016
|
//#region node_modules/@tanstack/query-core/build/modern/query.js
|
|
891
|
-
var
|
|
1017
|
+
var Ht = class extends Rt {
|
|
892
1018
|
#e;
|
|
893
1019
|
#t;
|
|
894
1020
|
#n;
|
|
@@ -898,7 +1024,7 @@ var Tt = class extends xt {
|
|
|
898
1024
|
#o;
|
|
899
1025
|
#s;
|
|
900
1026
|
constructor(e) {
|
|
901
|
-
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t =
|
|
1027
|
+
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Gt(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
|
|
902
1028
|
}
|
|
903
1029
|
get meta() {
|
|
904
1030
|
return this.options.meta;
|
|
@@ -914,15 +1040,15 @@ var Tt = class extends xt {
|
|
|
914
1040
|
...this.#o,
|
|
915
1041
|
...e
|
|
916
1042
|
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
917
|
-
let e =
|
|
918
|
-
e.data !== void 0 && (this.setState(
|
|
1043
|
+
let e = Gt(this.options);
|
|
1044
|
+
e.data !== void 0 && (this.setState(Wt(e.data, e.dataUpdatedAt)), this.#t = e);
|
|
919
1045
|
}
|
|
920
1046
|
}
|
|
921
1047
|
optionalRemove() {
|
|
922
1048
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
|
923
1049
|
}
|
|
924
1050
|
setData(e, t) {
|
|
925
|
-
let n =
|
|
1051
|
+
let n = Ct(this.state.data, e, this.options);
|
|
926
1052
|
return this.#c({
|
|
927
1053
|
data: n,
|
|
928
1054
|
type: "success",
|
|
@@ -965,7 +1091,7 @@ var Tt = class extends xt {
|
|
|
965
1091
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
966
1092
|
}
|
|
967
1093
|
isStaleByTime(e = 0) {
|
|
968
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
1094
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ft(this.state.dataUpdatedAt, e);
|
|
969
1095
|
}
|
|
970
1096
|
onFocus() {
|
|
971
1097
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
@@ -1010,7 +1136,7 @@ var Tt = class extends xt {
|
|
|
1010
1136
|
get: () => (this.#s = !0, n.signal)
|
|
1011
1137
|
});
|
|
1012
1138
|
}, i = () => {
|
|
1013
|
-
let e =
|
|
1139
|
+
let e = Et(this.options, t), n = (() => {
|
|
1014
1140
|
let e = {
|
|
1015
1141
|
client: this.#i,
|
|
1016
1142
|
queryKey: this.queryKey,
|
|
@@ -1030,15 +1156,15 @@ var Tt = class extends xt {
|
|
|
1030
1156
|
};
|
|
1031
1157
|
return r(e), e;
|
|
1032
1158
|
})();
|
|
1033
|
-
(this.#e === "infinite" ?
|
|
1159
|
+
(this.#e === "infinite" ? zt(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
|
|
1034
1160
|
type: "fetch",
|
|
1035
1161
|
meta: a.fetchOptions?.meta
|
|
1036
1162
|
});
|
|
1037
|
-
let o = this.#a =
|
|
1163
|
+
let o = this.#a = Lt({
|
|
1038
1164
|
initialPromise: t?.initialPromise,
|
|
1039
1165
|
fn: a.fetchFn,
|
|
1040
1166
|
onCancel: (e) => {
|
|
1041
|
-
e instanceof
|
|
1167
|
+
e instanceof It && e.revert && this.setState({
|
|
1042
1168
|
...this.#n,
|
|
1043
1169
|
fetchStatus: "idle"
|
|
1044
1170
|
}), n.abort();
|
|
@@ -1066,7 +1192,7 @@ var Tt = class extends xt {
|
|
|
1066
1192
|
if (e === void 0) throw process.env.NODE_ENV !== "production" && console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`), Error(`${this.queryHash} data is undefined`);
|
|
1067
1193
|
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
|
|
1068
1194
|
} catch (e) {
|
|
1069
|
-
if (e instanceof
|
|
1195
|
+
if (e instanceof It) {
|
|
1070
1196
|
if (e.silent) return this.#a.promise;
|
|
1071
1197
|
if (e.revert) {
|
|
1072
1198
|
if (this.state.data === void 0) throw e;
|
|
@@ -1099,13 +1225,13 @@ var Tt = class extends xt {
|
|
|
1099
1225
|
};
|
|
1100
1226
|
case "fetch": return {
|
|
1101
1227
|
...t,
|
|
1102
|
-
...
|
|
1228
|
+
...Ut(t.data, this.options),
|
|
1103
1229
|
fetchMeta: e.meta ?? null
|
|
1104
1230
|
};
|
|
1105
1231
|
case "success":
|
|
1106
1232
|
let n = {
|
|
1107
1233
|
...t,
|
|
1108
|
-
...
|
|
1234
|
+
...Wt(e.data, e.dataUpdatedAt),
|
|
1109
1235
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
1110
1236
|
...!e.manual && {
|
|
1111
1237
|
fetchStatus: "idle",
|
|
@@ -1148,18 +1274,18 @@ var Tt = class extends xt {
|
|
|
1148
1274
|
});
|
|
1149
1275
|
}
|
|
1150
1276
|
};
|
|
1151
|
-
function
|
|
1277
|
+
function Ut(e, t) {
|
|
1152
1278
|
return {
|
|
1153
1279
|
fetchFailureCount: 0,
|
|
1154
1280
|
fetchFailureReason: null,
|
|
1155
|
-
fetchStatus:
|
|
1281
|
+
fetchStatus: Ft(t.networkMode) ? "fetching" : "paused",
|
|
1156
1282
|
...e === void 0 && {
|
|
1157
1283
|
error: null,
|
|
1158
1284
|
status: "pending"
|
|
1159
1285
|
}
|
|
1160
1286
|
};
|
|
1161
1287
|
}
|
|
1162
|
-
function
|
|
1288
|
+
function Wt(e, t) {
|
|
1163
1289
|
return {
|
|
1164
1290
|
data: e,
|
|
1165
1291
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -1168,7 +1294,7 @@ function Dt(e, t) {
|
|
|
1168
1294
|
status: "success"
|
|
1169
1295
|
};
|
|
1170
1296
|
}
|
|
1171
|
-
function
|
|
1297
|
+
function Gt(e) {
|
|
1172
1298
|
let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
|
1173
1299
|
return {
|
|
1174
1300
|
data: t,
|
|
@@ -1187,7 +1313,7 @@ function Ot(e) {
|
|
|
1187
1313
|
}
|
|
1188
1314
|
//#endregion
|
|
1189
1315
|
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
1190
|
-
var
|
|
1316
|
+
var Kt = class extends I {
|
|
1191
1317
|
#e;
|
|
1192
1318
|
#t = void 0;
|
|
1193
1319
|
#n = void 0;
|
|
@@ -1209,16 +1335,16 @@ var kt = class extends I {
|
|
|
1209
1335
|
this.refetch = this.refetch.bind(this);
|
|
1210
1336
|
}
|
|
1211
1337
|
onSubscribe() {
|
|
1212
|
-
this.listeners.size === 1 && (this.#t.addObserver(this),
|
|
1338
|
+
this.listeners.size === 1 && (this.#t.addObserver(this), Jt(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
|
|
1213
1339
|
}
|
|
1214
1340
|
onUnsubscribe() {
|
|
1215
1341
|
this.hasListeners() || this.destroy();
|
|
1216
1342
|
}
|
|
1217
1343
|
shouldFetchOnReconnect() {
|
|
1218
|
-
return
|
|
1344
|
+
return Yt(this.#t, this.options, this.options.refetchOnReconnect);
|
|
1219
1345
|
}
|
|
1220
1346
|
shouldFetchOnWindowFocus() {
|
|
1221
|
-
return
|
|
1347
|
+
return Yt(this.#t, this.options, this.options.refetchOnWindowFocus);
|
|
1222
1348
|
}
|
|
1223
1349
|
destroy() {
|
|
1224
1350
|
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
|
|
@@ -1226,19 +1352,19 @@ var kt = class extends I {
|
|
|
1226
1352
|
setOptions(e) {
|
|
1227
1353
|
let t = this.options, n = this.#t;
|
|
1228
1354
|
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof M(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");
|
|
1229
|
-
this.#S(), this.#t.setOptions(this.options), t._defaulted && !
|
|
1355
|
+
this.#S(), this.#t.setOptions(this.options), t._defaulted && !vt(this.options, t) && this.#e.getQueryCache().notify({
|
|
1230
1356
|
type: "observerOptionsUpdated",
|
|
1231
1357
|
query: this.#t,
|
|
1232
1358
|
observer: this
|
|
1233
1359
|
});
|
|
1234
1360
|
let r = this.hasListeners();
|
|
1235
|
-
r &&
|
|
1361
|
+
r && Xt(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || M(this.options.staleTime, this.#t) !== M(t.staleTime, this.#t)) && this.#g();
|
|
1236
1362
|
let i = this.#_();
|
|
1237
1363
|
r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || i !== this.#f) && this.#v(i);
|
|
1238
1364
|
}
|
|
1239
1365
|
getOptimisticResult(e) {
|
|
1240
1366
|
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
|
|
1241
|
-
return
|
|
1367
|
+
return vt(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
|
|
1242
1368
|
}
|
|
1243
1369
|
getCurrentResult() {
|
|
1244
1370
|
return this.#r;
|
|
@@ -1280,13 +1406,13 @@ var kt = class extends I {
|
|
|
1280
1406
|
return e?.throwOnError || (t = t.catch(j)), t;
|
|
1281
1407
|
}
|
|
1282
1408
|
#h(e) {
|
|
1283
|
-
return !
|
|
1409
|
+
return !At() && M(this.options.enabled, this.#t) !== !1 && dt(e);
|
|
1284
1410
|
}
|
|
1285
1411
|
#g() {
|
|
1286
1412
|
this.#b();
|
|
1287
1413
|
let e = M(this.options.staleTime, this.#t);
|
|
1288
1414
|
if (this.#r.isStale || !this.#h(e)) return;
|
|
1289
|
-
let t =
|
|
1415
|
+
let t = ft(this.#r.dataUpdatedAt, e) + 1;
|
|
1290
1416
|
this.#u = A.setTimeout(() => {
|
|
1291
1417
|
this.#r.isStale || this.updateResult();
|
|
1292
1418
|
}, t);
|
|
@@ -1296,7 +1422,7 @@ var kt = class extends I {
|
|
|
1296
1422
|
}
|
|
1297
1423
|
#v(e) {
|
|
1298
1424
|
this.#x(), this.#f = e, this.#f !== 0 && this.#h(this.#f) && (this.#d = A.setInterval(() => {
|
|
1299
|
-
(this.options.refetchIntervalInBackground ||
|
|
1425
|
+
(this.options.refetchIntervalInBackground || jt.isFocused()) && this.#m();
|
|
1300
1426
|
}, this.#f));
|
|
1301
1427
|
}
|
|
1302
1428
|
#y() {
|
|
@@ -1311,10 +1437,10 @@ var kt = class extends I {
|
|
|
1311
1437
|
createResult(e, t) {
|
|
1312
1438
|
let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;
|
|
1313
1439
|
if (t._optimisticResults) {
|
|
1314
|
-
let i = this.hasListeners(), a = !i &&
|
|
1440
|
+
let i = this.hasListeners(), a = !i && Jt(e, t), o = i && Xt(e, n, t, r);
|
|
1315
1441
|
(a || o) && (l = {
|
|
1316
1442
|
...l,
|
|
1317
|
-
...
|
|
1443
|
+
...Ut(c.data, e.options)
|
|
1318
1444
|
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
|
|
1319
1445
|
}
|
|
1320
1446
|
let { error: f, errorUpdatedAt: p, status: m } = l;
|
|
@@ -1322,26 +1448,26 @@ var kt = class extends I {
|
|
|
1322
1448
|
let h = !1;
|
|
1323
1449
|
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
|
|
1324
1450
|
let e;
|
|
1325
|
-
i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d =
|
|
1451
|
+
i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = Ct(i?.data, e, t), u = !0);
|
|
1326
1452
|
}
|
|
1327
1453
|
if (t.select && d !== void 0 && !h) {
|
|
1328
1454
|
if (i && d === a?.data && t.select === this.#s) d = this.#c;
|
|
1329
1455
|
else try {
|
|
1330
|
-
this.#s = t.select, d = t.select(d), d =
|
|
1456
|
+
this.#s = t.select, d = t.select(d), d = Ct(i?.data, d, t), this.#c = d, this.#o = null;
|
|
1331
1457
|
} catch (e) {
|
|
1332
1458
|
this.#o = e;
|
|
1333
1459
|
}
|
|
1334
1460
|
} else d === void 0 && (this.#o = null);
|
|
1335
1461
|
this.#o && (f = this.#o, d = this.#c, p = Date.now(), m = "error", u = !1);
|
|
1336
|
-
let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error",
|
|
1462
|
+
let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error", y = _ && g, b = d !== void 0;
|
|
1337
1463
|
return {
|
|
1338
1464
|
status: m,
|
|
1339
1465
|
fetchStatus: l.fetchStatus,
|
|
1340
1466
|
isPending: _,
|
|
1341
1467
|
isSuccess: m === "success",
|
|
1342
1468
|
isError: v,
|
|
1343
|
-
isInitialLoading:
|
|
1344
|
-
isLoading:
|
|
1469
|
+
isInitialLoading: y,
|
|
1470
|
+
isLoading: y,
|
|
1345
1471
|
data: d,
|
|
1346
1472
|
dataUpdatedAt: l.dataUpdatedAt,
|
|
1347
1473
|
error: f,
|
|
@@ -1353,18 +1479,18 @@ var kt = class extends I {
|
|
|
1353
1479
|
isFetchedAfterMount: l.dataUpdateCount > s.dataUpdateCount || l.errorUpdateCount > s.errorUpdateCount,
|
|
1354
1480
|
isFetching: g,
|
|
1355
1481
|
isRefetching: g && !_,
|
|
1356
|
-
isLoadingError: v && !
|
|
1482
|
+
isLoadingError: v && !b,
|
|
1357
1483
|
isPaused: l.fetchStatus === "paused",
|
|
1358
1484
|
isPlaceholderData: u,
|
|
1359
|
-
isRefetchError: v &&
|
|
1360
|
-
isStale:
|
|
1485
|
+
isRefetchError: v && b,
|
|
1486
|
+
isStale: Zt(e, t),
|
|
1361
1487
|
refetch: this.refetch,
|
|
1362
1488
|
isEnabled: M(t.enabled, e) !== !1
|
|
1363
1489
|
};
|
|
1364
1490
|
}
|
|
1365
1491
|
updateResult() {
|
|
1366
1492
|
let e = this.#r, t = this.createResult(this.#t, this.options);
|
|
1367
|
-
if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t),
|
|
1493
|
+
if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), vt(t, e)) return;
|
|
1368
1494
|
this.#r = t;
|
|
1369
1495
|
let n = (() => {
|
|
1370
1496
|
if (!e) return !0;
|
|
@@ -1395,34 +1521,34 @@ var kt = class extends I {
|
|
|
1395
1521
|
this.updateResult(), this.hasListeners() && this.#y();
|
|
1396
1522
|
}
|
|
1397
1523
|
};
|
|
1398
|
-
function
|
|
1524
|
+
function qt(e, t) {
|
|
1399
1525
|
return M(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || M(t.retryOnMount, e) !== !1);
|
|
1400
1526
|
}
|
|
1401
|
-
function
|
|
1402
|
-
return
|
|
1527
|
+
function Jt(e, t) {
|
|
1528
|
+
return qt(e, t) || e.state.data !== void 0 && Yt(e, t, t.refetchOnMount);
|
|
1403
1529
|
}
|
|
1404
|
-
function
|
|
1530
|
+
function Yt(e, t, n) {
|
|
1405
1531
|
if (M(t.enabled, e) !== !1 && M(t.staleTime, e) !== "static") {
|
|
1406
1532
|
let r = M(n, e);
|
|
1407
|
-
return r === "always" || r !== !1 &&
|
|
1533
|
+
return r === "always" || r !== !1 && Zt(e, t);
|
|
1408
1534
|
}
|
|
1409
1535
|
return !1;
|
|
1410
1536
|
}
|
|
1411
|
-
function
|
|
1412
|
-
return (e !== t || M(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") &&
|
|
1537
|
+
function Xt(e, t, n, r) {
|
|
1538
|
+
return (e !== t || M(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Zt(e, n);
|
|
1413
1539
|
}
|
|
1414
|
-
function
|
|
1540
|
+
function Zt(e, t) {
|
|
1415
1541
|
return M(t.enabled, e) !== !1 && e.isStaleByTime(M(t.staleTime, e));
|
|
1416
1542
|
}
|
|
1417
1543
|
//#endregion
|
|
1418
1544
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1419
|
-
var
|
|
1545
|
+
var Qt = class extends Rt {
|
|
1420
1546
|
#e;
|
|
1421
1547
|
#t;
|
|
1422
1548
|
#n;
|
|
1423
1549
|
#r;
|
|
1424
1550
|
constructor(e) {
|
|
1425
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
1551
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || $t(), this.setOptions(e.options), this.scheduleGc();
|
|
1426
1552
|
}
|
|
1427
1553
|
setOptions(e) {
|
|
1428
1554
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -1457,7 +1583,7 @@ var Ft = class extends xt {
|
|
|
1457
1583
|
client: this.#e,
|
|
1458
1584
|
meta: this.options.meta,
|
|
1459
1585
|
mutationKey: this.options.mutationKey
|
|
1460
|
-
}, r = this.#r =
|
|
1586
|
+
}, r = this.#r = Lt({
|
|
1461
1587
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
1462
1588
|
onFail: (e, t) => {
|
|
1463
1589
|
this.#i({
|
|
@@ -1584,7 +1710,7 @@ var Ft = class extends xt {
|
|
|
1584
1710
|
});
|
|
1585
1711
|
}
|
|
1586
1712
|
};
|
|
1587
|
-
function
|
|
1713
|
+
function $t() {
|
|
1588
1714
|
return {
|
|
1589
1715
|
context: void 0,
|
|
1590
1716
|
data: void 0,
|
|
@@ -1599,7 +1725,7 @@ function It() {
|
|
|
1599
1725
|
}
|
|
1600
1726
|
//#endregion
|
|
1601
1727
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1602
|
-
var
|
|
1728
|
+
var en = class extends I {
|
|
1603
1729
|
#e;
|
|
1604
1730
|
#t;
|
|
1605
1731
|
#n;
|
|
@@ -1607,7 +1733,7 @@ var Lt = class extends I {
|
|
|
1607
1733
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
1608
1734
|
}
|
|
1609
1735
|
build(e, t, n) {
|
|
1610
|
-
let r = new
|
|
1736
|
+
let r = new Qt({
|
|
1611
1737
|
client: e,
|
|
1612
1738
|
mutationCache: this,
|
|
1613
1739
|
mutationId: ++this.#n,
|
|
@@ -1618,7 +1744,7 @@ var Lt = class extends I {
|
|
|
1618
1744
|
}
|
|
1619
1745
|
add(e) {
|
|
1620
1746
|
this.#e.add(e);
|
|
1621
|
-
let t =
|
|
1747
|
+
let t = z(e);
|
|
1622
1748
|
if (typeof t == "string") {
|
|
1623
1749
|
let n = this.#t.get(t);
|
|
1624
1750
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -1630,7 +1756,7 @@ var Lt = class extends I {
|
|
|
1630
1756
|
}
|
|
1631
1757
|
remove(e) {
|
|
1632
1758
|
if (this.#e.delete(e)) {
|
|
1633
|
-
let t =
|
|
1759
|
+
let t = z(e);
|
|
1634
1760
|
if (typeof t == "string") {
|
|
1635
1761
|
let n = this.#t.get(t);
|
|
1636
1762
|
if (n) {
|
|
@@ -1647,7 +1773,7 @@ var Lt = class extends I {
|
|
|
1647
1773
|
});
|
|
1648
1774
|
}
|
|
1649
1775
|
canRun(e) {
|
|
1650
|
-
let t =
|
|
1776
|
+
let t = z(e);
|
|
1651
1777
|
if (typeof t == "string") {
|
|
1652
1778
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1653
1779
|
return !n || n === e;
|
|
@@ -1655,7 +1781,7 @@ var Lt = class extends I {
|
|
|
1655
1781
|
return !0;
|
|
1656
1782
|
}
|
|
1657
1783
|
runNext(e) {
|
|
1658
|
-
let t =
|
|
1784
|
+
let t = z(e);
|
|
1659
1785
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1660
1786
|
}
|
|
1661
1787
|
clear() {
|
|
@@ -1676,10 +1802,10 @@ var Lt = class extends I {
|
|
|
1676
1802
|
exact: !0,
|
|
1677
1803
|
...e
|
|
1678
1804
|
};
|
|
1679
|
-
return this.getAll().find((e) =>
|
|
1805
|
+
return this.getAll().find((e) => mt(t, e));
|
|
1680
1806
|
}
|
|
1681
1807
|
findAll(e = {}) {
|
|
1682
|
-
return this.getAll().filter((t) =>
|
|
1808
|
+
return this.getAll().filter((t) => mt(e, t));
|
|
1683
1809
|
}
|
|
1684
1810
|
notify(e) {
|
|
1685
1811
|
L.batch(() => {
|
|
@@ -1693,19 +1819,19 @@ var Lt = class extends I {
|
|
|
1693
1819
|
return L.batch(() => Promise.all(e.map((e) => e.continue().catch(j))));
|
|
1694
1820
|
}
|
|
1695
1821
|
};
|
|
1696
|
-
function
|
|
1822
|
+
function z(e) {
|
|
1697
1823
|
return e.options.scope?.id;
|
|
1698
1824
|
}
|
|
1699
1825
|
//#endregion
|
|
1700
1826
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1701
|
-
var
|
|
1827
|
+
var tn = class extends I {
|
|
1702
1828
|
#e;
|
|
1703
1829
|
constructor(e = {}) {
|
|
1704
1830
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1705
1831
|
}
|
|
1706
1832
|
build(e, t, n) {
|
|
1707
|
-
let r = t.queryKey, i = t.queryHash ??
|
|
1708
|
-
return a || (a = new
|
|
1833
|
+
let r = t.queryKey, i = t.queryHash ?? ht(r, t), a = this.get(i);
|
|
1834
|
+
return a || (a = new Ht({
|
|
1709
1835
|
client: e,
|
|
1710
1836
|
queryKey: r,
|
|
1711
1837
|
queryHash: i,
|
|
@@ -1744,11 +1870,11 @@ var zt = class extends I {
|
|
|
1744
1870
|
exact: !0,
|
|
1745
1871
|
...e
|
|
1746
1872
|
};
|
|
1747
|
-
return this.getAll().find((e) =>
|
|
1873
|
+
return this.getAll().find((e) => pt(t, e));
|
|
1748
1874
|
}
|
|
1749
1875
|
findAll(e = {}) {
|
|
1750
1876
|
let t = this.getAll();
|
|
1751
|
-
return Object.keys(e).length > 0 ? t.filter((t) =>
|
|
1877
|
+
return Object.keys(e).length > 0 ? t.filter((t) => pt(e, t)) : t;
|
|
1752
1878
|
}
|
|
1753
1879
|
notify(e) {
|
|
1754
1880
|
L.batch(() => {
|
|
@@ -1771,7 +1897,7 @@ var zt = class extends I {
|
|
|
1771
1897
|
});
|
|
1772
1898
|
});
|
|
1773
1899
|
}
|
|
1774
|
-
},
|
|
1900
|
+
}, nn = class {
|
|
1775
1901
|
#e;
|
|
1776
1902
|
#t;
|
|
1777
1903
|
#n;
|
|
@@ -1781,12 +1907,12 @@ var zt = class extends I {
|
|
|
1781
1907
|
#o;
|
|
1782
1908
|
#s;
|
|
1783
1909
|
constructor(e = {}) {
|
|
1784
|
-
this.#e = e.queryCache || new
|
|
1910
|
+
this.#e = e.queryCache || new tn(), this.#t = e.mutationCache || new en(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1785
1911
|
}
|
|
1786
1912
|
mount() {
|
|
1787
|
-
this.#a++, this.#a === 1 && (this.#o =
|
|
1913
|
+
this.#a++, this.#a === 1 && (this.#o = jt.subscribe(async (e) => {
|
|
1788
1914
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1789
|
-
}), this.#s =
|
|
1915
|
+
}), this.#s = R.subscribe(async (e) => {
|
|
1790
1916
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1791
1917
|
}));
|
|
1792
1918
|
}
|
|
@@ -1817,7 +1943,7 @@ var zt = class extends I {
|
|
|
1817
1943
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
1818
1944
|
}
|
|
1819
1945
|
setQueryData(e, t, n) {
|
|
1820
|
-
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a =
|
|
1946
|
+
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = ut(t, i);
|
|
1821
1947
|
if (a !== void 0) return this.#e.build(this, r).setData(a, {
|
|
1822
1948
|
...n,
|
|
1823
1949
|
manual: !0
|
|
@@ -1903,7 +2029,7 @@ var zt = class extends I {
|
|
|
1903
2029
|
return e._type = "infinite", this.ensureQueryData(e);
|
|
1904
2030
|
}
|
|
1905
2031
|
resumePausedMutations() {
|
|
1906
|
-
return
|
|
2032
|
+
return R.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1907
2033
|
}
|
|
1908
2034
|
getQueryCache() {
|
|
1909
2035
|
return this.#e;
|
|
@@ -1949,7 +2075,7 @@ var zt = class extends I {
|
|
|
1949
2075
|
...e,
|
|
1950
2076
|
_defaulted: !0
|
|
1951
2077
|
};
|
|
1952
|
-
return t.queryHash ||=
|
|
2078
|
+
return t.queryHash ||= ht(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === F && (t.enabled = !1), t;
|
|
1953
2079
|
}
|
|
1954
2080
|
defaultMutationOptions(e) {
|
|
1955
2081
|
return e?._defaulted ? e : {
|
|
@@ -1962,10 +2088,10 @@ var zt = class extends I {
|
|
|
1962
2088
|
clear() {
|
|
1963
2089
|
this.#e.clear(), this.#t.clear();
|
|
1964
2090
|
}
|
|
1965
|
-
},
|
|
2091
|
+
}, rn = x.createContext(!1), an = () => x.useContext(rn);
|
|
1966
2092
|
//#endregion
|
|
1967
2093
|
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
1968
|
-
function
|
|
2094
|
+
function on() {
|
|
1969
2095
|
let e = !1;
|
|
1970
2096
|
return {
|
|
1971
2097
|
clearReset: () => {
|
|
@@ -1977,37 +2103,37 @@ function Ut() {
|
|
|
1977
2103
|
isReset: () => e
|
|
1978
2104
|
};
|
|
1979
2105
|
}
|
|
1980
|
-
var
|
|
1981
|
-
let r = n?.state.error && typeof e.throwOnError == "function" ?
|
|
2106
|
+
var sn = x.createContext(on()), cn = () => x.useContext(sn), ln = (e, t, n) => {
|
|
2107
|
+
let r = n?.state.error && typeof e.throwOnError == "function" ? Dt(e.throwOnError, [n.state.error, n]) : e.throwOnError;
|
|
1982
2108
|
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
|
|
1983
|
-
},
|
|
1984
|
-
|
|
2109
|
+
}, un = (e) => {
|
|
2110
|
+
x.useEffect(() => {
|
|
1985
2111
|
e.clearReset();
|
|
1986
2112
|
}, [e]);
|
|
1987
|
-
},
|
|
2113
|
+
}, dn = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Dt(n, [e.error, r])), fn = (e) => {
|
|
1988
2114
|
if (e.suspense) {
|
|
1989
2115
|
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
|
|
1990
2116
|
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
|
|
1991
2117
|
}
|
|
1992
|
-
},
|
|
2118
|
+
}, pn = (e, t) => e?.suspense && t.isPending, mn = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
1993
2119
|
n.clearReset();
|
|
1994
2120
|
});
|
|
1995
2121
|
//#endregion
|
|
1996
2122
|
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1997
|
-
function
|
|
2123
|
+
function hn(e, t, n) {
|
|
1998
2124
|
if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e))) throw Error("Bad argument type. Starting with v5, only the \"Object\" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object");
|
|
1999
|
-
let r =
|
|
2125
|
+
let r = an(), i = cn(), a = at(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash);
|
|
2000
2126
|
process.env.NODE_ENV !== "production" && (o.queryFn || console.error(`[${o.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`));
|
|
2001
2127
|
let c = e.subscribed !== !1;
|
|
2002
|
-
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0,
|
|
2003
|
-
let [l] =
|
|
2004
|
-
if (
|
|
2128
|
+
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, fn(o), ln(o, i, s), un(i);
|
|
2129
|
+
let [l] = x.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
|
|
2130
|
+
if (x.useSyncExternalStore(x.useCallback((e) => {
|
|
2005
2131
|
let t = d ? l.subscribe(L.batchCalls(e)) : j;
|
|
2006
2132
|
return l.updateResult(), t;
|
|
2007
|
-
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()),
|
|
2133
|
+
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), x.useEffect(() => {
|
|
2008
2134
|
l.setOptions(o);
|
|
2009
|
-
}, [o, l]),
|
|
2010
|
-
if (
|
|
2135
|
+
}, [o, l]), pn(o, u)) throw mn(o, l, i);
|
|
2136
|
+
if (dn({
|
|
2011
2137
|
result: u,
|
|
2012
2138
|
errorResetBoundary: i,
|
|
2013
2139
|
throwOnError: o.throwOnError,
|
|
@@ -2018,19 +2144,102 @@ function Qt(e, t, n) {
|
|
|
2018
2144
|
}
|
|
2019
2145
|
//#endregion
|
|
2020
2146
|
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
2021
|
-
function
|
|
2022
|
-
return
|
|
2147
|
+
function gn(e, t) {
|
|
2148
|
+
return hn(e, Kt, t);
|
|
2149
|
+
}
|
|
2150
|
+
//#endregion
|
|
2151
|
+
//#region src/client/client/maxAge.ts
|
|
2152
|
+
function B(e) {
|
|
2153
|
+
if (e?.bustCache) return 0;
|
|
2154
|
+
let t = e?.maxAgeSeconds;
|
|
2155
|
+
if (!(t === void 0 || !Number.isFinite(t) || t < 0)) return Math.floor(t);
|
|
2156
|
+
}
|
|
2157
|
+
function _n(e) {
|
|
2158
|
+
return e === void 0 ? {} : e === 0 ? {
|
|
2159
|
+
"X-Cache-Max-Age": "0",
|
|
2160
|
+
"X-Cache-Control": "no-cache"
|
|
2161
|
+
} : { "X-Cache-Max-Age": String(e) };
|
|
2162
|
+
}
|
|
2163
|
+
function vn(e, t) {
|
|
2164
|
+
let n = B(t);
|
|
2165
|
+
if (n === void 0) return e;
|
|
2166
|
+
let r = B(e);
|
|
2167
|
+
return r !== void 0 && r <= n ? e : { maxAgeSeconds: n };
|
|
2168
|
+
}
|
|
2169
|
+
function yn(e, t) {
|
|
2170
|
+
return !e?.newerThanShown || t === void 0 ? e : vn(e, { maxAgeSeconds: Math.max(0, Math.ceil(t / 1e3) - 1) });
|
|
2171
|
+
}
|
|
2172
|
+
function bn() {
|
|
2173
|
+
let e;
|
|
2174
|
+
return {
|
|
2175
|
+
recordMaxAge(t, n) {
|
|
2176
|
+
let r = e;
|
|
2177
|
+
return e = vn(e, yn(t, n)), e !== r;
|
|
2178
|
+
},
|
|
2179
|
+
hasPendingMaxAge() {
|
|
2180
|
+
return e !== void 0;
|
|
2181
|
+
},
|
|
2182
|
+
async runFetch(t) {
|
|
2183
|
+
let n = e, r = await t(n);
|
|
2184
|
+
return e === n && (e = void 0), r;
|
|
2185
|
+
}
|
|
2186
|
+
};
|
|
2187
|
+
}
|
|
2188
|
+
function xn(e) {
|
|
2189
|
+
return e.refresh?.enabled === !0 && e.manualRefresh !== !0;
|
|
2190
|
+
}
|
|
2191
|
+
function Sn(e, t, n) {
|
|
2192
|
+
if (!xn(n)) return;
|
|
2193
|
+
let r = e?.intervalSeconds ?? t?.intervalSeconds;
|
|
2194
|
+
if (!(r === void 0 || !Number.isFinite(r) || r <= 0)) return {
|
|
2195
|
+
intervalSeconds: Math.max(Math.ceil(r), n.refresh?.minIntervalSeconds ?? 5),
|
|
2196
|
+
pauseWhenHidden: e?.pauseWhenHidden ?? t?.pauseWhenHidden ?? !1
|
|
2197
|
+
};
|
|
2198
|
+
}
|
|
2199
|
+
function Cn(e) {
|
|
2200
|
+
if (e) return e.cacheInfo?.()?.cachedAt ?? e.lastRefreshTime?.();
|
|
2201
|
+
}
|
|
2202
|
+
function wn(e) {
|
|
2203
|
+
let t = Date.parse(e?.lastRefreshTime?.() ?? ""), n = Date.parse(Cn(e) ?? "");
|
|
2204
|
+
if (Number.isFinite(t) && Number.isFinite(n)) return Math.max(0, t - n);
|
|
2205
|
+
}
|
|
2206
|
+
function Tn(e, t, n = Date.now()) {
|
|
2207
|
+
if (e !== void 0 && t !== 0) return e + Math.max(0, n - t);
|
|
2208
|
+
}
|
|
2209
|
+
function En(e, t, n) {
|
|
2210
|
+
if (!e || t === void 0) return !1;
|
|
2211
|
+
let r = Date.parse(e);
|
|
2212
|
+
return Number.isFinite(r) ? n - r > t * 2 * 1e3 : !1;
|
|
2213
|
+
}
|
|
2214
|
+
function Dn(e) {
|
|
2215
|
+
let t, n = Infinity;
|
|
2216
|
+
for (let r of e) {
|
|
2217
|
+
if (!r) continue;
|
|
2218
|
+
let e = Date.parse(r);
|
|
2219
|
+
Number.isFinite(e) && e < n && (t = r, n = e);
|
|
2220
|
+
}
|
|
2221
|
+
return t;
|
|
2222
|
+
}
|
|
2223
|
+
function On(e) {
|
|
2224
|
+
return e === void 0 || !Number.isFinite(e) ? 10 : Math.max(10, Math.ceil(e));
|
|
2225
|
+
}
|
|
2226
|
+
function kn(e, t) {
|
|
2227
|
+
let n = setInterval(() => t({
|
|
2228
|
+
maxAgeSeconds: e,
|
|
2229
|
+
newerThanShown: !0
|
|
2230
|
+
}), e * 1e3);
|
|
2231
|
+
return () => clearInterval(n);
|
|
2023
2232
|
}
|
|
2024
2233
|
//#endregion
|
|
2025
2234
|
//#region src/client/client/CubeClient.ts
|
|
2026
|
-
var
|
|
2235
|
+
var An = class extends Error {
|
|
2027
2236
|
status;
|
|
2028
2237
|
issues;
|
|
2029
2238
|
constructor(e, t, n) {
|
|
2030
2239
|
super(e), this.name = "CubeQueryError", this.status = t, this.issues = n;
|
|
2031
2240
|
}
|
|
2032
2241
|
};
|
|
2033
|
-
async function
|
|
2242
|
+
async function V(e, t) {
|
|
2034
2243
|
let n = `${t}: ${e.status}`, r;
|
|
2035
2244
|
try {
|
|
2036
2245
|
let t = await e.text();
|
|
@@ -2041,28 +2250,62 @@ async function R(e, t) {
|
|
|
2041
2250
|
n += ` ${t}`;
|
|
2042
2251
|
}
|
|
2043
2252
|
} catch {}
|
|
2044
|
-
return new
|
|
2253
|
+
return new An(n, e.status, r);
|
|
2045
2254
|
}
|
|
2046
|
-
var
|
|
2255
|
+
var jn = class {
|
|
2047
2256
|
apiUrl;
|
|
2048
2257
|
headers;
|
|
2049
2258
|
credentials;
|
|
2259
|
+
subscribeIntervalSeconds;
|
|
2050
2260
|
constructor(e, t = {}) {
|
|
2051
2261
|
this.apiUrl = t.apiUrl || "/cubejs-api/v1", this.headers = {
|
|
2052
2262
|
"Content-Type": "application/json",
|
|
2053
2263
|
...t.headers
|
|
2054
|
-
}, this.credentials = t.credentials ?? "include", e && (this.headers.Authorization = e);
|
|
2264
|
+
}, this.credentials = t.credentials ?? "include", this.subscribeIntervalSeconds = On(t.minSubscribeIntervalSeconds), e && (this.headers.Authorization = e);
|
|
2055
2265
|
}
|
|
2056
2266
|
async load(e, t) {
|
|
2057
|
-
let n = JSON.stringify(e), r = encodeURIComponent(n), i = `${this.apiUrl}/load?query=${r}`, a = {
|
|
2058
|
-
|
|
2059
|
-
|
|
2267
|
+
let n = JSON.stringify(e), r = encodeURIComponent(n), i = `${this.apiUrl}/load?query=${r}`, a = {
|
|
2268
|
+
...Object.fromEntries(Object.entries(this.headers).filter(([e]) => e !== "Content-Type")),
|
|
2269
|
+
..._n(B(t))
|
|
2270
|
+
}, o = await fetch(i, {
|
|
2060
2271
|
method: "GET",
|
|
2061
2272
|
headers: a,
|
|
2062
2273
|
credentials: this.credentials
|
|
2063
2274
|
});
|
|
2064
|
-
if (!o.ok) throw await
|
|
2065
|
-
return new
|
|
2275
|
+
if (!o.ok) throw await V(o, "Cube query failed");
|
|
2276
|
+
return new Mn(await o.json());
|
|
2277
|
+
}
|
|
2278
|
+
subscribe(e, t, n) {
|
|
2279
|
+
let r = !0, i = !1, a, o = async (t) => {
|
|
2280
|
+
if (i) return;
|
|
2281
|
+
i = !0;
|
|
2282
|
+
let o;
|
|
2283
|
+
try {
|
|
2284
|
+
let n = await this.load(e, yn(t, a && Tn(a.servedAgeMs, a.receivedAtMs)));
|
|
2285
|
+
a = {
|
|
2286
|
+
servedAgeMs: wn(n),
|
|
2287
|
+
receivedAtMs: Date.now()
|
|
2288
|
+
}, o = {
|
|
2289
|
+
error: null,
|
|
2290
|
+
resultSet: n
|
|
2291
|
+
};
|
|
2292
|
+
} catch (e) {
|
|
2293
|
+
o = {
|
|
2294
|
+
error: e instanceof Error ? e : Error(String(e)),
|
|
2295
|
+
resultSet: null
|
|
2296
|
+
};
|
|
2297
|
+
} finally {
|
|
2298
|
+
i = !1;
|
|
2299
|
+
}
|
|
2300
|
+
r && n(o.error, o.resultSet);
|
|
2301
|
+
};
|
|
2302
|
+
o(t ?? void 0);
|
|
2303
|
+
let s = kn(this.subscribeIntervalSeconds, (e) => {
|
|
2304
|
+
o(e);
|
|
2305
|
+
});
|
|
2306
|
+
return { unsubscribe: () => {
|
|
2307
|
+
r = !1, s();
|
|
2308
|
+
} };
|
|
2066
2309
|
}
|
|
2067
2310
|
async meta() {
|
|
2068
2311
|
let e = `${this.apiUrl}/meta`, t = await fetch(e, {
|
|
@@ -2070,7 +2313,7 @@ var tn = class {
|
|
|
2070
2313
|
headers: this.headers,
|
|
2071
2314
|
credentials: this.credentials
|
|
2072
2315
|
});
|
|
2073
|
-
if (!t.ok) throw await
|
|
2316
|
+
if (!t.ok) throw await V(t, "Failed to fetch meta");
|
|
2074
2317
|
return t.json();
|
|
2075
2318
|
}
|
|
2076
2319
|
async sql(e) {
|
|
@@ -2079,7 +2322,7 @@ var tn = class {
|
|
|
2079
2322
|
headers: { ...Object.fromEntries(Object.entries(this.headers).filter(([e]) => e !== "Content-Type")) },
|
|
2080
2323
|
credentials: this.credentials
|
|
2081
2324
|
});
|
|
2082
|
-
if (!r.ok) throw await
|
|
2325
|
+
if (!r.ok) throw await V(r, "SQL generation failed");
|
|
2083
2326
|
return r.json();
|
|
2084
2327
|
}
|
|
2085
2328
|
async dryRun(e) {
|
|
@@ -2089,7 +2332,7 @@ var tn = class {
|
|
|
2089
2332
|
credentials: this.credentials,
|
|
2090
2333
|
body: JSON.stringify({ query: e })
|
|
2091
2334
|
});
|
|
2092
|
-
if (!n.ok) throw await
|
|
2335
|
+
if (!n.ok) throw await V(n, "Dry run failed");
|
|
2093
2336
|
return n.json();
|
|
2094
2337
|
}
|
|
2095
2338
|
async explain(e, t) {
|
|
@@ -2102,28 +2345,30 @@ var tn = class {
|
|
|
2102
2345
|
options: t
|
|
2103
2346
|
})
|
|
2104
2347
|
});
|
|
2105
|
-
if (!r.ok) throw await
|
|
2348
|
+
if (!r.ok) throw await V(r, "Explain failed");
|
|
2106
2349
|
return r.json();
|
|
2107
2350
|
}
|
|
2108
2351
|
async batchLoad(e, t) {
|
|
2109
|
-
let n = `${this.apiUrl}/batch`, r = {
|
|
2110
|
-
|
|
2111
|
-
|
|
2352
|
+
let n = `${this.apiUrl}/batch`, r = {
|
|
2353
|
+
...this.headers,
|
|
2354
|
+
..._n(B(t))
|
|
2355
|
+
}, i = await fetch(n, {
|
|
2112
2356
|
method: "POST",
|
|
2113
2357
|
headers: r,
|
|
2114
2358
|
credentials: this.credentials,
|
|
2115
2359
|
body: JSON.stringify({ queries: e })
|
|
2116
2360
|
});
|
|
2117
|
-
if (!i.ok) throw await
|
|
2361
|
+
if (!i.ok) throw await V(i, "Batch query failed");
|
|
2118
2362
|
return (await i.json()).results.map((e) => !e.success && e.error ? {
|
|
2119
|
-
...new
|
|
2363
|
+
...new Mn({
|
|
2120
2364
|
data: [],
|
|
2121
2365
|
annotation: {}
|
|
2122
2366
|
}),
|
|
2123
|
-
error: e.error
|
|
2124
|
-
|
|
2367
|
+
error: e.error,
|
|
2368
|
+
issues: e.issues
|
|
2369
|
+
} : new Mn(e));
|
|
2125
2370
|
}
|
|
2126
|
-
},
|
|
2371
|
+
}, Mn = class {
|
|
2127
2372
|
loadResponse;
|
|
2128
2373
|
constructor(e) {
|
|
2129
2374
|
this.loadResponse = e;
|
|
@@ -2146,27 +2391,36 @@ var tn = class {
|
|
|
2146
2391
|
cacheInfo() {
|
|
2147
2392
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
|
|
2148
2393
|
}
|
|
2394
|
+
lastRefreshTime() {
|
|
2395
|
+
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].lastRefreshTime : this.loadResponse.lastRefreshTime;
|
|
2396
|
+
}
|
|
2149
2397
|
};
|
|
2150
|
-
function
|
|
2151
|
-
return new
|
|
2398
|
+
function Nn(e, t = {}) {
|
|
2399
|
+
return new jn(e, t);
|
|
2152
2400
|
}
|
|
2153
2401
|
//#endregion
|
|
2154
2402
|
//#region src/client/client/BatchCoordinator.ts
|
|
2155
|
-
var
|
|
2156
|
-
|
|
2403
|
+
var Pn = class {
|
|
2404
|
+
queues = /* @__PURE__ */ new Map();
|
|
2157
2405
|
flushScheduled = !1;
|
|
2158
2406
|
batchExecutor;
|
|
2159
2407
|
delayMs;
|
|
2160
2408
|
constructor(e, t = 50) {
|
|
2161
2409
|
this.batchExecutor = e, this.delayMs = t;
|
|
2162
2410
|
}
|
|
2163
|
-
register(e) {
|
|
2164
|
-
|
|
2165
|
-
|
|
2411
|
+
register(e, t) {
|
|
2412
|
+
let n = t?.maxAgeSeconds;
|
|
2413
|
+
return new Promise((t, r) => {
|
|
2414
|
+
let i = this.queues.get(n);
|
|
2415
|
+
i ? i.push({
|
|
2416
|
+
query: e,
|
|
2417
|
+
resolve: t,
|
|
2418
|
+
reject: r
|
|
2419
|
+
}) : this.queues.set(n, [{
|
|
2166
2420
|
query: e,
|
|
2167
2421
|
resolve: t,
|
|
2168
|
-
reject:
|
|
2169
|
-
}), this.flushScheduled || this.scheduleFlush();
|
|
2422
|
+
reject: r
|
|
2423
|
+
}]), this.flushScheduled || this.scheduleFlush();
|
|
2170
2424
|
});
|
|
2171
2425
|
}
|
|
2172
2426
|
scheduleFlush() {
|
|
@@ -2174,17 +2428,21 @@ var an = class {
|
|
|
2174
2428
|
this.flush();
|
|
2175
2429
|
}, this.delayMs);
|
|
2176
2430
|
}
|
|
2177
|
-
|
|
2431
|
+
flush() {
|
|
2178
2432
|
this.flushScheduled = !1;
|
|
2179
|
-
let e = this.
|
|
2180
|
-
|
|
2181
|
-
|
|
2433
|
+
let e = Array.from(this.queues.entries());
|
|
2434
|
+
this.queues = /* @__PURE__ */ new Map();
|
|
2435
|
+
for (let [t, n] of e) n.length > 0 && this.flushQueue(n, t);
|
|
2436
|
+
}
|
|
2437
|
+
async flushQueue(e, t) {
|
|
2438
|
+
try {
|
|
2439
|
+
let n = e.map((e) => e.query), r = t === void 0 ? await this.batchExecutor(n) : await this.batchExecutor(n, { maxAgeSeconds: t });
|
|
2182
2440
|
e.forEach((e, t) => {
|
|
2183
|
-
let
|
|
2184
|
-
if (
|
|
2185
|
-
let t =
|
|
2186
|
-
e.reject(new
|
|
2187
|
-
} else e.resolve(
|
|
2441
|
+
let n = r[t];
|
|
2442
|
+
if (n && "error" in n && n.error) {
|
|
2443
|
+
let t = n.issues;
|
|
2444
|
+
e.reject(new An(n.error, 400, t));
|
|
2445
|
+
} else e.resolve(n);
|
|
2188
2446
|
});
|
|
2189
2447
|
} catch (t) {
|
|
2190
2448
|
e.forEach((e) => {
|
|
@@ -2193,13 +2451,15 @@ var an = class {
|
|
|
2193
2451
|
}
|
|
2194
2452
|
}
|
|
2195
2453
|
getQueueSize() {
|
|
2196
|
-
|
|
2454
|
+
let e = 0;
|
|
2455
|
+
for (let t of this.queues.values()) e += t.length;
|
|
2456
|
+
return e;
|
|
2197
2457
|
}
|
|
2198
2458
|
clear() {
|
|
2199
|
-
this.
|
|
2459
|
+
this.queues = /* @__PURE__ */ new Map(), this.flushScheduled = !1;
|
|
2200
2460
|
}
|
|
2201
|
-
},
|
|
2202
|
-
function
|
|
2461
|
+
}, Fn = he(null);
|
|
2462
|
+
function In({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatching: i = !0, batchDelayMs: a = 50, children: o }) {
|
|
2203
2463
|
let s = C(() => ({
|
|
2204
2464
|
apiOptions: e,
|
|
2205
2465
|
token: t
|
|
@@ -2213,11 +2473,11 @@ function sn({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
|
|
|
2213
2473
|
...u.apiOptions.headers ?? {},
|
|
2214
2474
|
"X-DC-Locale": r
|
|
2215
2475
|
}
|
|
2216
|
-
} : u.apiOptions, [u.apiOptions, r]), f = C(() =>
|
|
2476
|
+
} : u.apiOptions, [u.apiOptions, r]), f = C(() => Nn(u.token, d), [d, u.token]), p = C(() => i ? new Pn((e, t) => f.batchLoad(e, t), a) : null, [
|
|
2217
2477
|
i,
|
|
2218
2478
|
f,
|
|
2219
2479
|
a
|
|
2220
|
-
]), m =
|
|
2480
|
+
]), m = ye((e, t) => {
|
|
2221
2481
|
l({
|
|
2222
2482
|
apiOptions: e,
|
|
2223
2483
|
token: t
|
|
@@ -2237,20 +2497,20 @@ function sn({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
|
|
|
2237
2497
|
p,
|
|
2238
2498
|
i
|
|
2239
2499
|
]);
|
|
2240
|
-
return /* @__PURE__ */ T(
|
|
2500
|
+
return /* @__PURE__ */ T(Fn.Provider, {
|
|
2241
2501
|
value: h,
|
|
2242
2502
|
children: o
|
|
2243
2503
|
});
|
|
2244
2504
|
}
|
|
2245
|
-
function
|
|
2246
|
-
let e = be(
|
|
2505
|
+
function Ln() {
|
|
2506
|
+
let e = be(Fn);
|
|
2247
2507
|
if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
|
|
2248
2508
|
return e;
|
|
2249
2509
|
}
|
|
2250
2510
|
//#endregion
|
|
2251
2511
|
//#region src/client/hooks/queries/useCubeMetaQuery.ts
|
|
2252
|
-
var
|
|
2253
|
-
function
|
|
2512
|
+
var Rn = ["cube", "meta"];
|
|
2513
|
+
function zn(e) {
|
|
2254
2514
|
let t = {};
|
|
2255
2515
|
return e.cubes.forEach((e) => {
|
|
2256
2516
|
e.measures.forEach((e) => {
|
|
@@ -2262,14 +2522,14 @@ function un(e) {
|
|
|
2262
2522
|
});
|
|
2263
2523
|
}), t;
|
|
2264
2524
|
}
|
|
2265
|
-
function
|
|
2266
|
-
let { enabled: t = !0, staleTime: n = 3e5 } = e, { cubeApi: r } =
|
|
2267
|
-
queryKey:
|
|
2525
|
+
function Bn(e = {}) {
|
|
2526
|
+
let { enabled: t = !0, staleTime: n = 3e5 } = e, { cubeApi: r } = Ln(), i = at(), a = gn({
|
|
2527
|
+
queryKey: Rn,
|
|
2268
2528
|
queryFn: async () => {
|
|
2269
2529
|
let e = await r.meta();
|
|
2270
2530
|
return {
|
|
2271
2531
|
meta: e,
|
|
2272
|
-
labelMap:
|
|
2532
|
+
labelMap: zn(e)
|
|
2273
2533
|
};
|
|
2274
2534
|
},
|
|
2275
2535
|
enabled: t,
|
|
@@ -2283,15 +2543,15 @@ function dn(e = {}) {
|
|
|
2283
2543
|
isFetching: a.isFetching,
|
|
2284
2544
|
error: a.error,
|
|
2285
2545
|
refetch: () => {
|
|
2286
|
-
i.invalidateQueries({ queryKey:
|
|
2546
|
+
i.invalidateQueries({ queryKey: Rn });
|
|
2287
2547
|
},
|
|
2288
2548
|
getFieldLabel: (e) => s[e] || e
|
|
2289
2549
|
};
|
|
2290
2550
|
}
|
|
2291
2551
|
//#endregion
|
|
2292
2552
|
//#region src/client/utils/thumbnail.ts
|
|
2293
|
-
var
|
|
2294
|
-
function
|
|
2553
|
+
var H = null, Vn = !1;
|
|
2554
|
+
function Hn(e, t, n, r, i) {
|
|
2295
2555
|
return new Promise((a, o) => {
|
|
2296
2556
|
let s = new Image();
|
|
2297
2557
|
s.onload = () => {
|
|
@@ -2308,26 +2568,26 @@ function mn(e, t, n, r, i) {
|
|
|
2308
2568
|
}, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
|
|
2309
2569
|
});
|
|
2310
2570
|
}
|
|
2311
|
-
async function
|
|
2312
|
-
if (
|
|
2571
|
+
async function U() {
|
|
2572
|
+
if (Vn) return H;
|
|
2313
2573
|
try {
|
|
2314
|
-
return
|
|
2574
|
+
return H = await import("./dist-DdbnHHGu.js"), Vn = !0, H;
|
|
2315
2575
|
} catch {
|
|
2316
|
-
return
|
|
2576
|
+
return Vn = !0, H = null, null;
|
|
2317
2577
|
}
|
|
2318
2578
|
}
|
|
2319
|
-
function
|
|
2320
|
-
typeof window < "u" && e?.enabled && (window.__drizzle_cube_thumbnail_warning__ ||
|
|
2579
|
+
function Un(e) {
|
|
2580
|
+
typeof window < "u" && e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || U().then((e) => {
|
|
2321
2581
|
!e && typeof process < "u" && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] Thumbnail feature enabled but modern-screenshot not installed. Run: npm install modern-screenshot"), window.__drizzle_cube_thumbnail_warning__ = !0);
|
|
2322
2582
|
}));
|
|
2323
2583
|
}
|
|
2324
|
-
async function
|
|
2584
|
+
async function Wn(e, t) {
|
|
2325
2585
|
if (typeof window > "u" || !e.current) return null;
|
|
2326
|
-
let n = await
|
|
2586
|
+
let n = await U();
|
|
2327
2587
|
if (!n) return null;
|
|
2328
2588
|
try {
|
|
2329
|
-
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c =
|
|
2330
|
-
return await
|
|
2589
|
+
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = Jn(s);
|
|
2590
|
+
return await Hn(await n.domToPng(s, {
|
|
2331
2591
|
scale: 2,
|
|
2332
2592
|
backgroundColor: c
|
|
2333
2593
|
}), r, i, a, o);
|
|
@@ -2335,31 +2595,31 @@ async function gn(e, t) {
|
|
|
2335
2595
|
return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
|
|
2336
2596
|
}
|
|
2337
2597
|
}
|
|
2338
|
-
async function
|
|
2339
|
-
return !e?.enabled || typeof window > "u" ? !1 : await
|
|
2598
|
+
async function Gn(e) {
|
|
2599
|
+
return !e?.enabled || typeof window > "u" ? !1 : await U() !== null;
|
|
2340
2600
|
}
|
|
2341
|
-
async function
|
|
2342
|
-
return typeof window > "u" || !await
|
|
2601
|
+
async function Kn() {
|
|
2602
|
+
return typeof window > "u" || !await U() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
|
|
2343
2603
|
}
|
|
2344
|
-
function
|
|
2604
|
+
function qn(e) {
|
|
2345
2605
|
if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
|
|
2346
2606
|
let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
|
|
2347
2607
|
return !!(t && parseFloat(t[1]) === 0);
|
|
2348
2608
|
}
|
|
2349
|
-
function
|
|
2609
|
+
function Jn(e) {
|
|
2350
2610
|
let t = e;
|
|
2351
2611
|
for (; t;) {
|
|
2352
2612
|
let e = getComputedStyle(t).backgroundColor;
|
|
2353
|
-
if (!
|
|
2613
|
+
if (!qn(e)) return e;
|
|
2354
2614
|
t = t.parentElement;
|
|
2355
2615
|
}
|
|
2356
2616
|
return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
|
|
2357
2617
|
}
|
|
2358
|
-
async function
|
|
2618
|
+
async function Yn(e) {
|
|
2359
2619
|
try {
|
|
2360
|
-
let t = await
|
|
2620
|
+
let t = await U();
|
|
2361
2621
|
if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
|
|
2362
|
-
let n =
|
|
2622
|
+
let n = Jn(e), r = await t.domToPng(e, {
|
|
2363
2623
|
scale: 2,
|
|
2364
2624
|
backgroundColor: n
|
|
2365
2625
|
}), i = await (await fetch(r)).blob();
|
|
@@ -2370,12 +2630,12 @@ async function xn(e) {
|
|
|
2370
2630
|
}
|
|
2371
2631
|
//#endregion
|
|
2372
2632
|
//#region src/client/utils/exportXlsx.ts
|
|
2373
|
-
var
|
|
2633
|
+
var Xn = null, Zn = !1, Qn = {
|
|
2374
2634
|
headerBg: "FF3B82F6",
|
|
2375
2635
|
headerText: "FFFFFFFF",
|
|
2376
2636
|
borderColor: "FFE5E7EB"
|
|
2377
2637
|
};
|
|
2378
|
-
function
|
|
2638
|
+
function $n(e) {
|
|
2379
2639
|
if (!e) return null;
|
|
2380
2640
|
let t = e.trim();
|
|
2381
2641
|
if (t.startsWith("#")) {
|
|
@@ -2389,19 +2649,19 @@ function wn(e) {
|
|
|
2389
2649
|
}
|
|
2390
2650
|
return null;
|
|
2391
2651
|
}
|
|
2392
|
-
function
|
|
2393
|
-
if (typeof document > "u") return
|
|
2652
|
+
function er() {
|
|
2653
|
+
if (typeof document > "u") return Qn;
|
|
2394
2654
|
let e = getComputedStyle(document.documentElement), t = e.getPropertyValue("--dc-primary").trim(), n = e.getPropertyValue("--dc-primary-content").trim(), r = e.getPropertyValue("--dc-border").trim();
|
|
2395
2655
|
return {
|
|
2396
|
-
headerBg:
|
|
2397
|
-
headerText:
|
|
2398
|
-
borderColor:
|
|
2656
|
+
headerBg: $n(t) ?? Qn.headerBg,
|
|
2657
|
+
headerText: $n(n) ?? Qn.headerText,
|
|
2658
|
+
borderColor: $n(r) ?? Qn.borderColor
|
|
2399
2659
|
};
|
|
2400
2660
|
}
|
|
2401
|
-
function
|
|
2661
|
+
function tr(e) {
|
|
2402
2662
|
return e == null ? null : e instanceof Date ? e : typeof e == "number" ? Number.isFinite(e) ? e : null : typeof e == "boolean" ? e : Array.isArray(e) ? e.map((e) => String(e)).join(", ") : typeof e == "object" ? JSON.stringify(e) : String(e);
|
|
2403
2663
|
}
|
|
2404
|
-
function
|
|
2664
|
+
function nr(e, t) {
|
|
2405
2665
|
e.height = 18, e.eachCell((e) => {
|
|
2406
2666
|
e.font = {
|
|
2407
2667
|
bold: !0,
|
|
@@ -2417,7 +2677,7 @@ function Dn(e, t) {
|
|
|
2417
2677
|
};
|
|
2418
2678
|
});
|
|
2419
2679
|
}
|
|
2420
|
-
function
|
|
2680
|
+
function rr(e, t) {
|
|
2421
2681
|
e.eachRow((e) => {
|
|
2422
2682
|
e.eachCell((e) => {
|
|
2423
2683
|
e.border = {
|
|
@@ -2444,7 +2704,7 @@ function On(e, t) {
|
|
|
2444
2704
|
});
|
|
2445
2705
|
});
|
|
2446
2706
|
}
|
|
2447
|
-
function
|
|
2707
|
+
function ir(e, t = []) {
|
|
2448
2708
|
e.columns?.forEach((e, n) => {
|
|
2449
2709
|
let r = t[n] ?? 10;
|
|
2450
2710
|
e.eachCell?.({ includeEmpty: !0 }, (e) => {
|
|
@@ -2453,15 +2713,15 @@ function kn(e, t = []) {
|
|
|
2453
2713
|
}), e.width = Math.min(Math.max(r + 2, t[n] ?? 10), 70);
|
|
2454
2714
|
});
|
|
2455
2715
|
}
|
|
2456
|
-
function
|
|
2716
|
+
function ar(e, t, n, r) {
|
|
2457
2717
|
let i = e.addWorksheet(t);
|
|
2458
2718
|
if (n.length === 0) {
|
|
2459
|
-
i.addRow(["No data available"]),
|
|
2719
|
+
i.addRow(["No data available"]), ir(i, [32]);
|
|
2460
2720
|
return;
|
|
2461
2721
|
}
|
|
2462
2722
|
let a = Object.keys(n[0]);
|
|
2463
|
-
|
|
2464
|
-
for (let e of n) i.addRow(a.map((t) =>
|
|
2723
|
+
nr(i.addRow(a), r);
|
|
2724
|
+
for (let e of n) i.addRow(a.map((t) => tr(e[t])));
|
|
2465
2725
|
i.views = [{
|
|
2466
2726
|
state: "frozen",
|
|
2467
2727
|
ySplit: 1
|
|
@@ -2474,58 +2734,58 @@ function V(e, t, n, r) {
|
|
|
2474
2734
|
row: 1,
|
|
2475
2735
|
column: a.length
|
|
2476
2736
|
}
|
|
2477
|
-
},
|
|
2737
|
+
}, rr(i, r), ir(i);
|
|
2478
2738
|
}
|
|
2479
|
-
function
|
|
2739
|
+
function or(e) {
|
|
2480
2740
|
return e.replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").toLowerCase();
|
|
2481
2741
|
}
|
|
2482
|
-
function
|
|
2483
|
-
let n =
|
|
2742
|
+
function sr(e, t) {
|
|
2743
|
+
let n = or(e), r = /* @__PURE__ */ new Date();
|
|
2484
2744
|
return `${n}-${`${r.getFullYear()}${String(r.getMonth() + 1).padStart(2, "0")}${String(r.getDate()).padStart(2, "0")}`}-${crypto.randomUUID().slice(0, 4).toUpperCase()}.${t}`;
|
|
2485
2745
|
}
|
|
2486
|
-
async function
|
|
2487
|
-
if (
|
|
2746
|
+
async function cr() {
|
|
2747
|
+
if (Zn) return Xn;
|
|
2488
2748
|
try {
|
|
2489
|
-
return
|
|
2749
|
+
return Xn = await import("./exceljs.min-BqhtpmKc.js").then((t) => /* @__PURE__ */ e(t.default, 1)), Zn = !0, Xn;
|
|
2490
2750
|
} catch {
|
|
2491
|
-
return
|
|
2751
|
+
return Zn = !0, Xn = null, null;
|
|
2492
2752
|
}
|
|
2493
2753
|
}
|
|
2494
|
-
async function
|
|
2495
|
-
return typeof window > "u" ? !1 : await
|
|
2754
|
+
async function lr() {
|
|
2755
|
+
return typeof window > "u" ? !1 : await cr() !== null;
|
|
2496
2756
|
}
|
|
2497
|
-
function
|
|
2498
|
-
typeof window < "u" && e?.enabled && (window.__drizzle_cube_xls_export_warning__ ||
|
|
2757
|
+
function ur(e) {
|
|
2758
|
+
typeof window < "u" && e?.enabled && (window.__drizzle_cube_xls_export_warning__ || cr().then((e) => {
|
|
2499
2759
|
!e && typeof process < "u" && process.env.NODE_ENV === "development" && (console.warn("[drizzle-cube] XLS export feature enabled but exceljs not installed. Run: npm install exceljs"), window.__drizzle_cube_xls_export_warning__ = !0);
|
|
2500
2760
|
}));
|
|
2501
2761
|
}
|
|
2502
|
-
function
|
|
2762
|
+
function dr(e) {
|
|
2503
2763
|
return !!e && typeof e == "object" && "nodes" in e && "links" in e && Array.isArray(e.nodes) && Array.isArray(e.links);
|
|
2504
2764
|
}
|
|
2505
|
-
function
|
|
2765
|
+
function fr(e) {
|
|
2506
2766
|
return !!e && typeof e == "object" && "rows" in e && "periods" in e && Array.isArray(e.rows) && Array.isArray(e.periods);
|
|
2507
2767
|
}
|
|
2508
|
-
function
|
|
2768
|
+
function pr(e, t) {
|
|
2509
2769
|
let n = new Blob([e], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), r = URL.createObjectURL(n), i = document.createElement("a");
|
|
2510
2770
|
i.href = r, i.download = t, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(r);
|
|
2511
2771
|
}
|
|
2512
|
-
async function
|
|
2513
|
-
let n = await
|
|
2772
|
+
async function mr(e, t) {
|
|
2773
|
+
let n = await cr();
|
|
2514
2774
|
if (!n) return console.warn("[drizzle-cube] Cannot export: exceljs not available"), !1;
|
|
2515
2775
|
try {
|
|
2516
|
-
let r = new n.Workbook(), i =
|
|
2517
|
-
if (
|
|
2518
|
-
else if (
|
|
2519
|
-
else if (Array.isArray(a))
|
|
2776
|
+
let r = new n.Workbook(), i = er(), { data: a } = t;
|
|
2777
|
+
if (dr(a)) ar(r, "Nodes", a.nodes, i), ar(r, "Links", a.links, i);
|
|
2778
|
+
else if (fr(a)) ar(r, e, a.rows, i);
|
|
2779
|
+
else if (Array.isArray(a)) ar(r, e, a, i);
|
|
2520
2780
|
else return console.warn("[drizzle-cube] Cannot export: unrecognized data format"), !1;
|
|
2521
|
-
return
|
|
2781
|
+
return pr(await r.xlsx.writeBuffer(), sr(e || "export", "xlsx")), !0;
|
|
2522
2782
|
} catch (e) {
|
|
2523
2783
|
return console.error("[drizzle-cube] Failed to export XLSX:", e), !1;
|
|
2524
2784
|
}
|
|
2525
2785
|
}
|
|
2526
2786
|
//#endregion
|
|
2527
2787
|
//#region src/client/providers/CubeFeaturesProvider.tsx
|
|
2528
|
-
var
|
|
2788
|
+
var hr = he(null), gr = {
|
|
2529
2789
|
enableAI: !0,
|
|
2530
2790
|
aiEndpoint: "/api/ai/generate",
|
|
2531
2791
|
showSchemaDiagram: !1,
|
|
@@ -2533,17 +2793,17 @@ var zn = ge(null), Bn = {
|
|
|
2533
2793
|
editToolbar: "both",
|
|
2534
2794
|
floatingToolbarPosition: "right"
|
|
2535
2795
|
};
|
|
2536
|
-
function
|
|
2796
|
+
function _r({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
|
|
2537
2797
|
let [r, i] = w(() => ({
|
|
2538
|
-
...
|
|
2798
|
+
...gr,
|
|
2539
2799
|
...e
|
|
2540
2800
|
}));
|
|
2541
2801
|
S(() => {
|
|
2542
|
-
|
|
2802
|
+
Un(r.thumbnail);
|
|
2543
2803
|
}, [r.thumbnail]), S(() => {
|
|
2544
|
-
|
|
2804
|
+
ur(r.xlsExport);
|
|
2545
2805
|
}, [r.xlsExport]);
|
|
2546
|
-
let a =
|
|
2806
|
+
let a = ye((e) => {
|
|
2547
2807
|
i((t) => ({
|
|
2548
2808
|
...t,
|
|
2549
2809
|
...e
|
|
@@ -2557,22 +2817,22 @@ function Vn({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
|
|
|
2557
2817
|
t,
|
|
2558
2818
|
a
|
|
2559
2819
|
]);
|
|
2560
|
-
return /* @__PURE__ */ T(
|
|
2820
|
+
return /* @__PURE__ */ T(hr.Provider, {
|
|
2561
2821
|
value: o,
|
|
2562
2822
|
children: n
|
|
2563
2823
|
});
|
|
2564
2824
|
}
|
|
2565
|
-
var
|
|
2566
|
-
features:
|
|
2825
|
+
var vr = {
|
|
2826
|
+
features: gr,
|
|
2567
2827
|
dashboardModes: ["rows", "grid"],
|
|
2568
2828
|
updateFeatures: () => {}
|
|
2569
2829
|
};
|
|
2570
|
-
function
|
|
2571
|
-
return be(
|
|
2830
|
+
function yr() {
|
|
2831
|
+
return be(hr) ?? vr;
|
|
2572
2832
|
}
|
|
2573
2833
|
//#endregion
|
|
2574
2834
|
//#region node_modules/@iconify/react/dist/iconify.js
|
|
2575
|
-
function
|
|
2835
|
+
function br(e, t) {
|
|
2576
2836
|
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
2577
2837
|
function a(e) {
|
|
2578
2838
|
if (n[e]) return i[e] = [];
|
|
@@ -2585,82 +2845,82 @@ function Wn(e, t) {
|
|
|
2585
2845
|
}
|
|
2586
2846
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
2587
2847
|
}
|
|
2588
|
-
var
|
|
2848
|
+
var xr = Object.freeze({
|
|
2589
2849
|
left: 0,
|
|
2590
2850
|
top: 0,
|
|
2591
2851
|
width: 16,
|
|
2592
2852
|
height: 16
|
|
2593
|
-
}),
|
|
2853
|
+
}), Sr = Object.freeze({
|
|
2594
2854
|
rotate: 0,
|
|
2595
2855
|
vFlip: !1,
|
|
2596
2856
|
hFlip: !1
|
|
2597
|
-
}),
|
|
2598
|
-
...
|
|
2599
|
-
...
|
|
2600
|
-
}),
|
|
2601
|
-
...
|
|
2857
|
+
}), Cr = Object.freeze({
|
|
2858
|
+
...xr,
|
|
2859
|
+
...Sr
|
|
2860
|
+
}), wr = Object.freeze({
|
|
2861
|
+
...Cr,
|
|
2602
2862
|
body: "",
|
|
2603
2863
|
hidden: !1
|
|
2604
2864
|
});
|
|
2605
|
-
function
|
|
2865
|
+
function Tr(e, t) {
|
|
2606
2866
|
let n = {};
|
|
2607
2867
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
2608
2868
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2609
2869
|
return r && (n.rotate = r), n;
|
|
2610
2870
|
}
|
|
2611
|
-
function
|
|
2612
|
-
let n =
|
|
2613
|
-
for (let r in
|
|
2871
|
+
function Er(e, t) {
|
|
2872
|
+
let n = Tr(e, t);
|
|
2873
|
+
for (let r in wr) r in Sr ? r in e && !(r in n) && (n[r] = Sr[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
2614
2874
|
return n;
|
|
2615
2875
|
}
|
|
2616
|
-
function
|
|
2876
|
+
function Dr(e, t, n) {
|
|
2617
2877
|
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
2618
2878
|
function o(e) {
|
|
2619
|
-
a =
|
|
2879
|
+
a = Er(r[e] || i[e], a);
|
|
2620
2880
|
}
|
|
2621
|
-
return o(t), n.forEach(o),
|
|
2881
|
+
return o(t), n.forEach(o), Er(e, a);
|
|
2622
2882
|
}
|
|
2623
|
-
function
|
|
2883
|
+
function Or(e, t) {
|
|
2624
2884
|
let n = [];
|
|
2625
2885
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
2626
2886
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
2627
2887
|
t(e, null), n.push(e);
|
|
2628
2888
|
});
|
|
2629
|
-
let r =
|
|
2889
|
+
let r = br(e);
|
|
2630
2890
|
for (let i in r) {
|
|
2631
2891
|
let a = r[i];
|
|
2632
|
-
a && (t(i,
|
|
2892
|
+
a && (t(i, Dr(e, i, a)), n.push(i));
|
|
2633
2893
|
}
|
|
2634
2894
|
return n;
|
|
2635
2895
|
}
|
|
2636
|
-
var
|
|
2896
|
+
var kr = {
|
|
2637
2897
|
provider: "",
|
|
2638
2898
|
aliases: {},
|
|
2639
2899
|
not_found: {},
|
|
2640
|
-
...
|
|
2900
|
+
...xr
|
|
2641
2901
|
};
|
|
2642
|
-
function
|
|
2902
|
+
function Ar(e, t) {
|
|
2643
2903
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
2644
2904
|
return !0;
|
|
2645
2905
|
}
|
|
2646
|
-
function
|
|
2906
|
+
function jr(e) {
|
|
2647
2907
|
if (typeof e != "object" || !e) return null;
|
|
2648
2908
|
let t = e;
|
|
2649
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" ||
|
|
2909
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ar(e, kr)) return null;
|
|
2650
2910
|
let n = t.icons;
|
|
2651
2911
|
for (let e in n) {
|
|
2652
2912
|
let t = n[e];
|
|
2653
|
-
if (!e || typeof t.body != "string" ||
|
|
2913
|
+
if (!e || typeof t.body != "string" || !Ar(t, wr)) return null;
|
|
2654
2914
|
}
|
|
2655
2915
|
let r = t.aliases || Object.create(null);
|
|
2656
2916
|
for (let e in r) {
|
|
2657
2917
|
let t = r[e], i = t.parent;
|
|
2658
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] ||
|
|
2918
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !Ar(t, wr)) return null;
|
|
2659
2919
|
}
|
|
2660
2920
|
return t;
|
|
2661
2921
|
}
|
|
2662
|
-
var
|
|
2663
|
-
function
|
|
2922
|
+
var Mr = Object.create(null);
|
|
2923
|
+
function Nr(e, t) {
|
|
2664
2924
|
return {
|
|
2665
2925
|
provider: e,
|
|
2666
2926
|
prefix: t,
|
|
@@ -2668,22 +2928,22 @@ function nr(e, t) {
|
|
|
2668
2928
|
missing: /* @__PURE__ */ new Set()
|
|
2669
2929
|
};
|
|
2670
2930
|
}
|
|
2671
|
-
function
|
|
2672
|
-
let n =
|
|
2673
|
-
return n[t] || (n[t] =
|
|
2931
|
+
function W(e, t) {
|
|
2932
|
+
let n = Mr[e] || (Mr[e] = Object.create(null));
|
|
2933
|
+
return n[t] || (n[t] = Nr(e, t));
|
|
2674
2934
|
}
|
|
2675
|
-
function
|
|
2676
|
-
return
|
|
2935
|
+
function Pr(e, t) {
|
|
2936
|
+
return jr(t) ? Or(t, (t, n) => {
|
|
2677
2937
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
2678
2938
|
}) : [];
|
|
2679
2939
|
}
|
|
2680
|
-
function
|
|
2940
|
+
function Fr(e, t, n) {
|
|
2681
2941
|
try {
|
|
2682
2942
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
2683
2943
|
} catch {}
|
|
2684
2944
|
return !1;
|
|
2685
2945
|
}
|
|
2686
|
-
var
|
|
2946
|
+
var Ir = /^[a-z0-9]+(-[a-z0-9]+)*$/, Lr = (e, t, n, r = "") => {
|
|
2687
2947
|
let i = e.split(":");
|
|
2688
2948
|
if (e.slice(0, 1) === "@") {
|
|
2689
2949
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -2696,7 +2956,7 @@ var ar = /^[a-z0-9]+(-[a-z0-9]+)*$/, W = (e, t, n, r = "") => {
|
|
|
2696
2956
|
prefix: n,
|
|
2697
2957
|
name: e
|
|
2698
2958
|
};
|
|
2699
|
-
return t && !
|
|
2959
|
+
return t && !Rr(a) ? null : a;
|
|
2700
2960
|
}
|
|
2701
2961
|
let a = i[0], o = a.split("-");
|
|
2702
2962
|
if (o.length > 1) {
|
|
@@ -2705,7 +2965,7 @@ var ar = /^[a-z0-9]+(-[a-z0-9]+)*$/, W = (e, t, n, r = "") => {
|
|
|
2705
2965
|
prefix: o.shift(),
|
|
2706
2966
|
name: o.join("-")
|
|
2707
2967
|
};
|
|
2708
|
-
return t && !
|
|
2968
|
+
return t && !Rr(e) ? null : e;
|
|
2709
2969
|
}
|
|
2710
2970
|
if (n && r === "") {
|
|
2711
2971
|
let e = {
|
|
@@ -2713,54 +2973,54 @@ var ar = /^[a-z0-9]+(-[a-z0-9]+)*$/, W = (e, t, n, r = "") => {
|
|
|
2713
2973
|
prefix: "",
|
|
2714
2974
|
name: a
|
|
2715
2975
|
};
|
|
2716
|
-
return t && !
|
|
2976
|
+
return t && !Rr(e, n) ? null : e;
|
|
2717
2977
|
}
|
|
2718
2978
|
return null;
|
|
2719
|
-
},
|
|
2720
|
-
function
|
|
2721
|
-
return typeof e == "boolean" && (
|
|
2979
|
+
}, Rr = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, G = !1;
|
|
2980
|
+
function zr(e) {
|
|
2981
|
+
return typeof e == "boolean" && (G = e), G;
|
|
2722
2982
|
}
|
|
2723
|
-
function
|
|
2724
|
-
let t = typeof e == "string" ?
|
|
2983
|
+
function Br(e) {
|
|
2984
|
+
let t = typeof e == "string" ? Lr(e, !0, G) : e;
|
|
2725
2985
|
if (t) {
|
|
2726
|
-
let e =
|
|
2986
|
+
let e = W(t.provider, t.prefix), n = t.name;
|
|
2727
2987
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
2728
2988
|
}
|
|
2729
2989
|
}
|
|
2730
|
-
function
|
|
2731
|
-
let n =
|
|
2990
|
+
function Vr(e, t) {
|
|
2991
|
+
let n = Lr(e, !0, G);
|
|
2732
2992
|
if (!n) return !1;
|
|
2733
|
-
let r =
|
|
2734
|
-
return t ?
|
|
2993
|
+
let r = W(n.provider, n.prefix);
|
|
2994
|
+
return t ? Fr(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
2735
2995
|
}
|
|
2736
|
-
function
|
|
2996
|
+
function Hr(e, t) {
|
|
2737
2997
|
if (typeof e != "object") return !1;
|
|
2738
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
|
2998
|
+
if (typeof t != "string" && (t = e.provider || ""), G && !t && !e.prefix) {
|
|
2739
2999
|
let t = !1;
|
|
2740
|
-
return
|
|
2741
|
-
|
|
3000
|
+
return jr(e) && (e.prefix = "", Or(e, (e, n) => {
|
|
3001
|
+
Vr(e, n) && (t = !0);
|
|
2742
3002
|
})), t;
|
|
2743
3003
|
}
|
|
2744
3004
|
let n = e.prefix;
|
|
2745
|
-
return
|
|
3005
|
+
return Rr({
|
|
2746
3006
|
prefix: n,
|
|
2747
3007
|
name: "a"
|
|
2748
|
-
}) ? !!
|
|
3008
|
+
}) ? !!Pr(W(t, n), e) : !1;
|
|
2749
3009
|
}
|
|
2750
|
-
var
|
|
3010
|
+
var Ur = Object.freeze({
|
|
2751
3011
|
width: null,
|
|
2752
3012
|
height: null
|
|
2753
|
-
}),
|
|
2754
|
-
...
|
|
2755
|
-
...
|
|
2756
|
-
}),
|
|
2757
|
-
function
|
|
3013
|
+
}), Wr = Object.freeze({
|
|
3014
|
+
...Ur,
|
|
3015
|
+
...Sr
|
|
3016
|
+
}), Gr = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Kr = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
3017
|
+
function qr(e, t, n) {
|
|
2758
3018
|
if (t === 1) return e;
|
|
2759
3019
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
2760
3020
|
if (typeof e != "string") return e;
|
|
2761
|
-
let r = e.split(
|
|
3021
|
+
let r = e.split(Gr);
|
|
2762
3022
|
if (r === null || !r.length) return e;
|
|
2763
|
-
let i = [], a = r.shift(), o =
|
|
3023
|
+
let i = [], a = r.shift(), o = Kr.test(a);
|
|
2764
3024
|
for (;;) {
|
|
2765
3025
|
if (o) {
|
|
2766
3026
|
let e = parseFloat(a);
|
|
@@ -2770,7 +3030,7 @@ function mr(e, t, n) {
|
|
|
2770
3030
|
o = !o;
|
|
2771
3031
|
}
|
|
2772
3032
|
}
|
|
2773
|
-
function
|
|
3033
|
+
function Jr(e, t = "defs") {
|
|
2774
3034
|
let n = "", r = e.indexOf("<" + t);
|
|
2775
3035
|
for (; r >= 0;) {
|
|
2776
3036
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -2784,20 +3044,20 @@ function hr(e, t = "defs") {
|
|
|
2784
3044
|
content: e
|
|
2785
3045
|
};
|
|
2786
3046
|
}
|
|
2787
|
-
function
|
|
3047
|
+
function Yr(e, t) {
|
|
2788
3048
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2789
3049
|
}
|
|
2790
|
-
function
|
|
2791
|
-
let r =
|
|
2792
|
-
return
|
|
3050
|
+
function Xr(e, t, n) {
|
|
3051
|
+
let r = Jr(e);
|
|
3052
|
+
return Yr(r.defs, t + r.content + n);
|
|
2793
3053
|
}
|
|
2794
|
-
var
|
|
2795
|
-
function
|
|
3054
|
+
var Zr = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
3055
|
+
function Qr(e, t) {
|
|
2796
3056
|
let n = {
|
|
2797
|
-
...
|
|
3057
|
+
...Cr,
|
|
2798
3058
|
...e
|
|
2799
3059
|
}, r = {
|
|
2800
|
-
...
|
|
3060
|
+
...Wr,
|
|
2801
3061
|
...t
|
|
2802
3062
|
}, i = {
|
|
2803
3063
|
left: n.left,
|
|
@@ -2818,12 +3078,12 @@ function yr(e, t) {
|
|
|
2818
3078
|
break;
|
|
2819
3079
|
case 3: s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
2820
3080
|
}
|
|
2821
|
-
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 =
|
|
3081
|
+
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 = Xr(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
2822
3082
|
});
|
|
2823
3083
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
2824
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
3084
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = qr(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? qr(u, l / c) : s === "auto" ? l : s);
|
|
2825
3085
|
let f = {}, p = (e, t) => {
|
|
2826
|
-
|
|
3086
|
+
Zr(t) || (f[e] = t.toString());
|
|
2827
3087
|
};
|
|
2828
3088
|
p("width", u), p("height", d);
|
|
2829
3089
|
let m = [
|
|
@@ -2838,25 +3098,25 @@ function yr(e, t) {
|
|
|
2838
3098
|
body: a
|
|
2839
3099
|
};
|
|
2840
3100
|
}
|
|
2841
|
-
var
|
|
2842
|
-
function
|
|
3101
|
+
var $r = /\sid="(\S+)"/g, ei = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), ti = 0;
|
|
3102
|
+
function ni(e, t = ei) {
|
|
2843
3103
|
let n = [], r;
|
|
2844
|
-
for (; r =
|
|
3104
|
+
for (; r = $r.exec(e);) n.push(r[1]);
|
|
2845
3105
|
if (!n.length) return e;
|
|
2846
3106
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2847
3107
|
return n.forEach((n) => {
|
|
2848
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
3108
|
+
let r = typeof t == "function" ? t(n) : t + (ti++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2849
3109
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
2850
3110
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
2851
3111
|
}
|
|
2852
|
-
var
|
|
2853
|
-
function
|
|
2854
|
-
|
|
3112
|
+
var ri = Object.create(null);
|
|
3113
|
+
function ii(e, t) {
|
|
3114
|
+
ri[e] = t;
|
|
2855
3115
|
}
|
|
2856
|
-
function
|
|
2857
|
-
return
|
|
3116
|
+
function ai(e) {
|
|
3117
|
+
return ri[e] || ri[""];
|
|
2858
3118
|
}
|
|
2859
|
-
function
|
|
3119
|
+
function oi(e) {
|
|
2860
3120
|
let t;
|
|
2861
3121
|
if (typeof e.resources == "string") t = [e.resources];
|
|
2862
3122
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -2871,23 +3131,23 @@ function Dr(e) {
|
|
|
2871
3131
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
2872
3132
|
};
|
|
2873
3133
|
}
|
|
2874
|
-
for (var
|
|
2875
|
-
|
|
2876
|
-
function
|
|
2877
|
-
let n =
|
|
2878
|
-
return n !== null && (
|
|
3134
|
+
for (var si = Object.create(null), K = ["https://api.simplesvg.com", "https://api.unisvg.com"], ci = []; K.length > 0;) ci.push(K.length === 1 || Math.random() > .5 ? K.shift() : K.pop());
|
|
3135
|
+
si[""] = oi({ resources: ["https://api.iconify.design"].concat(ci) });
|
|
3136
|
+
function li(e, t) {
|
|
3137
|
+
let n = oi(t);
|
|
3138
|
+
return n !== null && (si[e] = n, !0);
|
|
2879
3139
|
}
|
|
2880
|
-
function
|
|
2881
|
-
return
|
|
3140
|
+
function ui(e) {
|
|
3141
|
+
return si[e];
|
|
2882
3142
|
}
|
|
2883
|
-
var
|
|
3143
|
+
var di = (() => {
|
|
2884
3144
|
let e;
|
|
2885
3145
|
try {
|
|
2886
3146
|
if (e = fetch, typeof e == "function") return e;
|
|
2887
3147
|
} catch {}
|
|
2888
3148
|
})();
|
|
2889
|
-
function
|
|
2890
|
-
let n =
|
|
3149
|
+
function fi(e, t) {
|
|
3150
|
+
let n = ui(e);
|
|
2891
3151
|
if (!n) return 0;
|
|
2892
3152
|
let r;
|
|
2893
3153
|
if (!n.maxURL) r = 0;
|
|
@@ -2901,11 +3161,11 @@ function Pr(e, t) {
|
|
|
2901
3161
|
}
|
|
2902
3162
|
return r;
|
|
2903
3163
|
}
|
|
2904
|
-
function
|
|
3164
|
+
function pi(e) {
|
|
2905
3165
|
return e === 404;
|
|
2906
3166
|
}
|
|
2907
|
-
var
|
|
2908
|
-
let r = [], i =
|
|
3167
|
+
var mi = (e, t, n) => {
|
|
3168
|
+
let r = [], i = fi(e, t), a = "icons", o = {
|
|
2909
3169
|
type: a,
|
|
2910
3170
|
provider: e,
|
|
2911
3171
|
prefix: t,
|
|
@@ -2920,21 +3180,21 @@ var Ir = (e, t, n) => {
|
|
|
2920
3180
|
}, s = n.length), o.icons.push(n);
|
|
2921
3181
|
}), r.push(o), r;
|
|
2922
3182
|
};
|
|
2923
|
-
function
|
|
3183
|
+
function hi(e) {
|
|
2924
3184
|
if (typeof e == "string") {
|
|
2925
|
-
let t =
|
|
3185
|
+
let t = ui(e);
|
|
2926
3186
|
if (t) return t.path;
|
|
2927
3187
|
}
|
|
2928
3188
|
return "/";
|
|
2929
3189
|
}
|
|
2930
|
-
var
|
|
2931
|
-
prepare:
|
|
3190
|
+
var gi = {
|
|
3191
|
+
prepare: mi,
|
|
2932
3192
|
send: (e, t, n) => {
|
|
2933
|
-
if (!
|
|
3193
|
+
if (!di) {
|
|
2934
3194
|
n("abort", 424);
|
|
2935
3195
|
return;
|
|
2936
3196
|
}
|
|
2937
|
-
let r =
|
|
3197
|
+
let r = hi(t.provider);
|
|
2938
3198
|
switch (t.type) {
|
|
2939
3199
|
case "icons": {
|
|
2940
3200
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -2951,10 +3211,10 @@ var Rr = {
|
|
|
2951
3211
|
return;
|
|
2952
3212
|
}
|
|
2953
3213
|
let i = 503;
|
|
2954
|
-
|
|
3214
|
+
di(e + r).then((e) => {
|
|
2955
3215
|
let t = e.status;
|
|
2956
3216
|
if (t !== 200) setTimeout(() => {
|
|
2957
|
-
n(
|
|
3217
|
+
n(pi(t) ? "abort" : "next", t);
|
|
2958
3218
|
});
|
|
2959
3219
|
else return i = 501, e.json();
|
|
2960
3220
|
}).then((e) => {
|
|
@@ -2968,13 +3228,13 @@ var Rr = {
|
|
|
2968
3228
|
});
|
|
2969
3229
|
}
|
|
2970
3230
|
};
|
|
2971
|
-
function
|
|
3231
|
+
function _i(e, t) {
|
|
2972
3232
|
e.forEach((e) => {
|
|
2973
3233
|
let n = e.loaderCallbacks;
|
|
2974
3234
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
2975
3235
|
});
|
|
2976
3236
|
}
|
|
2977
|
-
function
|
|
3237
|
+
function vi(e) {
|
|
2978
3238
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
2979
3239
|
e.pendingCallbacksFlag = !1;
|
|
2980
3240
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -2997,13 +3257,13 @@ function Br(e) {
|
|
|
2997
3257
|
});
|
|
2998
3258
|
else return n = !0, !0;
|
|
2999
3259
|
return !1;
|
|
3000
|
-
}), a.pending.length !== o && (n ||
|
|
3260
|
+
}), a.pending.length !== o && (n || _i([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
3001
3261
|
});
|
|
3002
3262
|
}));
|
|
3003
3263
|
}
|
|
3004
|
-
var
|
|
3005
|
-
function
|
|
3006
|
-
let r =
|
|
3264
|
+
var yi = 0;
|
|
3265
|
+
function bi(e, t, n) {
|
|
3266
|
+
let r = yi++, i = _i.bind(null, n, r);
|
|
3007
3267
|
if (!t.pending.length) return i;
|
|
3008
3268
|
let a = {
|
|
3009
3269
|
id: r,
|
|
@@ -3015,7 +3275,7 @@ function Hr(e, t, n) {
|
|
|
3015
3275
|
(e.loaderCallbacks ||= []).push(a);
|
|
3016
3276
|
}), i;
|
|
3017
3277
|
}
|
|
3018
|
-
function
|
|
3278
|
+
function xi(e) {
|
|
3019
3279
|
let t = {
|
|
3020
3280
|
loaded: [],
|
|
3021
3281
|
missing: [],
|
|
@@ -3030,7 +3290,7 @@ function Ur(e) {
|
|
|
3030
3290
|
return e.forEach((e) => {
|
|
3031
3291
|
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
3032
3292
|
r = e;
|
|
3033
|
-
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] =
|
|
3293
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = W(i, a)), l;
|
|
3034
3294
|
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending, l.push({
|
|
3035
3295
|
provider: i,
|
|
3036
3296
|
prefix: a,
|
|
@@ -3038,14 +3298,14 @@ function Ur(e) {
|
|
|
3038
3298
|
});
|
|
3039
3299
|
}), t;
|
|
3040
3300
|
}
|
|
3041
|
-
function
|
|
3301
|
+
function Si(e, t = !0, n = !1) {
|
|
3042
3302
|
let r = [];
|
|
3043
3303
|
return e.forEach((e) => {
|
|
3044
|
-
let i = typeof e == "string" ?
|
|
3304
|
+
let i = typeof e == "string" ? Lr(e, t, n) : e;
|
|
3045
3305
|
i && r.push(i);
|
|
3046
3306
|
}), r;
|
|
3047
3307
|
}
|
|
3048
|
-
var
|
|
3308
|
+
var Ci = {
|
|
3049
3309
|
resources: [],
|
|
3050
3310
|
index: 0,
|
|
3051
3311
|
timeout: 2e3,
|
|
@@ -3053,7 +3313,7 @@ var Gr = {
|
|
|
3053
3313
|
random: !1,
|
|
3054
3314
|
dataAfterTimeout: !1
|
|
3055
3315
|
};
|
|
3056
|
-
function
|
|
3316
|
+
function wi(e, t, n, r) {
|
|
3057
3317
|
let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
|
|
3058
3318
|
if (e.random) {
|
|
3059
3319
|
let t = e.resources.slice(0);
|
|
@@ -3097,7 +3357,7 @@ function Kr(e, t, n, r) {
|
|
|
3097
3357
|
e.status === "pending" && (e.status = "aborted");
|
|
3098
3358
|
}), d = [];
|
|
3099
3359
|
}
|
|
3100
|
-
function
|
|
3360
|
+
function y(t, n, r) {
|
|
3101
3361
|
let i = n !== "success";
|
|
3102
3362
|
switch (d = d.filter((e) => e !== t), s) {
|
|
3103
3363
|
case "pending": break;
|
|
@@ -3107,7 +3367,7 @@ function Kr(e, t, n, r) {
|
|
|
3107
3367
|
default: return;
|
|
3108
3368
|
}
|
|
3109
3369
|
if (n === "abort") l = r, _();
|
|
3110
|
-
else if (i) l = r, d.length || (a.length ?
|
|
3370
|
+
else if (i) l = r, d.length || (a.length ? b() : _());
|
|
3111
3371
|
else {
|
|
3112
3372
|
if (p(), v(), !e.random) {
|
|
3113
3373
|
let n = e.resources.indexOf(t.resource);
|
|
@@ -3118,7 +3378,7 @@ function Kr(e, t, n, r) {
|
|
|
3118
3378
|
});
|
|
3119
3379
|
}
|
|
3120
3380
|
}
|
|
3121
|
-
function
|
|
3381
|
+
function b() {
|
|
3122
3382
|
if (s !== "pending") return;
|
|
3123
3383
|
p();
|
|
3124
3384
|
let r = a.shift();
|
|
@@ -3136,23 +3396,23 @@ function Kr(e, t, n, r) {
|
|
|
3136
3396
|
status: "pending",
|
|
3137
3397
|
resource: r,
|
|
3138
3398
|
callback: (e, t) => {
|
|
3139
|
-
|
|
3399
|
+
y(i, e, t);
|
|
3140
3400
|
}
|
|
3141
3401
|
};
|
|
3142
|
-
d.push(i), c++, u = setTimeout(
|
|
3402
|
+
d.push(i), c++, u = setTimeout(b, e.rotate), n(r, t, i.callback);
|
|
3143
3403
|
}
|
|
3144
|
-
return setTimeout(
|
|
3404
|
+
return setTimeout(b), g;
|
|
3145
3405
|
}
|
|
3146
|
-
function
|
|
3406
|
+
function Ti(e) {
|
|
3147
3407
|
let t = {
|
|
3148
|
-
...
|
|
3408
|
+
...Ci,
|
|
3149
3409
|
...e
|
|
3150
3410
|
}, n = [];
|
|
3151
3411
|
function r() {
|
|
3152
3412
|
n = n.filter((e) => e().status === "pending");
|
|
3153
3413
|
}
|
|
3154
3414
|
function i(e, i, a) {
|
|
3155
|
-
let o =
|
|
3415
|
+
let o = wi(t, e, i, (e, t) => {
|
|
3156
3416
|
r(), a && a(e, t);
|
|
3157
3417
|
});
|
|
3158
3418
|
return n.push(o), o;
|
|
@@ -3170,47 +3430,47 @@ function qr(e) {
|
|
|
3170
3430
|
cleanup: r
|
|
3171
3431
|
};
|
|
3172
3432
|
}
|
|
3173
|
-
function
|
|
3174
|
-
var
|
|
3175
|
-
function
|
|
3176
|
-
if (!
|
|
3177
|
-
let t =
|
|
3433
|
+
function Ei() {}
|
|
3434
|
+
var Di = Object.create(null);
|
|
3435
|
+
function Oi(e) {
|
|
3436
|
+
if (!Di[e]) {
|
|
3437
|
+
let t = ui(e);
|
|
3178
3438
|
if (!t) return;
|
|
3179
|
-
|
|
3439
|
+
Di[e] = {
|
|
3180
3440
|
config: t,
|
|
3181
|
-
redundancy:
|
|
3441
|
+
redundancy: Ti(t)
|
|
3182
3442
|
};
|
|
3183
3443
|
}
|
|
3184
|
-
return
|
|
3444
|
+
return Di[e];
|
|
3185
3445
|
}
|
|
3186
|
-
function
|
|
3446
|
+
function ki(e, t, n) {
|
|
3187
3447
|
let r, i;
|
|
3188
3448
|
if (typeof e == "string") {
|
|
3189
|
-
let t =
|
|
3190
|
-
if (!t) return n(void 0, 424),
|
|
3449
|
+
let t = ai(e);
|
|
3450
|
+
if (!t) return n(void 0, 424), Ei;
|
|
3191
3451
|
i = t.send;
|
|
3192
|
-
let a =
|
|
3452
|
+
let a = Oi(e);
|
|
3193
3453
|
a && (r = a.redundancy);
|
|
3194
3454
|
} else {
|
|
3195
|
-
let t =
|
|
3455
|
+
let t = oi(e);
|
|
3196
3456
|
if (t) {
|
|
3197
|
-
r =
|
|
3198
|
-
let n =
|
|
3457
|
+
r = Ti(t);
|
|
3458
|
+
let n = ai(e.resources ? e.resources[0] : "");
|
|
3199
3459
|
n && (i = n.send);
|
|
3200
3460
|
}
|
|
3201
3461
|
}
|
|
3202
|
-
return !r || !i ? (n(void 0, 424),
|
|
3462
|
+
return !r || !i ? (n(void 0, 424), Ei) : r.query(t, i, n)().abort;
|
|
3203
3463
|
}
|
|
3204
|
-
function
|
|
3205
|
-
function
|
|
3464
|
+
function Ai() {}
|
|
3465
|
+
function ji(e) {
|
|
3206
3466
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
3207
|
-
e.iconsLoaderFlag = !1,
|
|
3467
|
+
e.iconsLoaderFlag = !1, vi(e);
|
|
3208
3468
|
}));
|
|
3209
3469
|
}
|
|
3210
|
-
function
|
|
3470
|
+
function Mi(e) {
|
|
3211
3471
|
let t = [], n = [];
|
|
3212
3472
|
return e.forEach((e) => {
|
|
3213
|
-
(e.match(
|
|
3473
|
+
(e.match(Ir) ? t : n).push(e);
|
|
3214
3474
|
}), {
|
|
3215
3475
|
valid: t,
|
|
3216
3476
|
invalid: n
|
|
@@ -3224,37 +3484,37 @@ function q(e, t, n) {
|
|
|
3224
3484
|
});
|
|
3225
3485
|
}
|
|
3226
3486
|
if (n && typeof n == "object") try {
|
|
3227
|
-
if (!
|
|
3487
|
+
if (!Pr(e, n).length) {
|
|
3228
3488
|
r();
|
|
3229
3489
|
return;
|
|
3230
3490
|
}
|
|
3231
3491
|
} catch (e) {
|
|
3232
3492
|
console.error(e);
|
|
3233
3493
|
}
|
|
3234
|
-
r(),
|
|
3494
|
+
r(), ji(e);
|
|
3235
3495
|
}
|
|
3236
|
-
function
|
|
3496
|
+
function Ni(e, t) {
|
|
3237
3497
|
e instanceof Promise ? e.then((e) => {
|
|
3238
3498
|
t(e);
|
|
3239
3499
|
}).catch(() => {
|
|
3240
3500
|
t(null);
|
|
3241
3501
|
}) : t(e);
|
|
3242
3502
|
}
|
|
3243
|
-
function
|
|
3503
|
+
function Pi(e, t) {
|
|
3244
3504
|
e.iconsToLoad = e.iconsToLoad ? e.iconsToLoad.concat(t).sort() : t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
3245
3505
|
e.iconsQueueFlag = !1;
|
|
3246
3506
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
3247
3507
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
3248
3508
|
let i = e.loadIcon;
|
|
3249
3509
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
3250
|
-
|
|
3510
|
+
Ni(e.loadIcons(r, n, t), (t) => {
|
|
3251
3511
|
q(e, r, t);
|
|
3252
3512
|
});
|
|
3253
3513
|
return;
|
|
3254
3514
|
}
|
|
3255
3515
|
if (i) {
|
|
3256
3516
|
r.forEach((r) => {
|
|
3257
|
-
|
|
3517
|
+
Ni(i(r, n, t), (t) => {
|
|
3258
3518
|
q(e, [r], t ? {
|
|
3259
3519
|
prefix: n,
|
|
3260
3520
|
icons: { [r]: t }
|
|
@@ -3263,22 +3523,22 @@ function ni(e, t) {
|
|
|
3263
3523
|
});
|
|
3264
3524
|
return;
|
|
3265
3525
|
}
|
|
3266
|
-
let { valid: a, invalid: o } =
|
|
3526
|
+
let { valid: a, invalid: o } = Mi(r);
|
|
3267
3527
|
if (o.length && q(e, o, null), !a.length) return;
|
|
3268
|
-
let s = n.match(
|
|
3528
|
+
let s = n.match(Ir) ? ai(t) : null;
|
|
3269
3529
|
s ? s.prepare(t, n, a).forEach((n) => {
|
|
3270
|
-
|
|
3530
|
+
ki(t, n, (t) => {
|
|
3271
3531
|
q(e, n.icons, t);
|
|
3272
3532
|
});
|
|
3273
3533
|
}) : q(e, a, null);
|
|
3274
3534
|
}));
|
|
3275
3535
|
}
|
|
3276
|
-
var
|
|
3277
|
-
let n =
|
|
3536
|
+
var Fi = (e, t) => {
|
|
3537
|
+
let n = xi(Si(e, !0, zr()));
|
|
3278
3538
|
if (!n.pending.length) {
|
|
3279
3539
|
let e = !0;
|
|
3280
3540
|
return t && setTimeout(() => {
|
|
3281
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
3541
|
+
e && t(n.loaded, n.missing, n.pending, Ai);
|
|
3282
3542
|
}), () => {
|
|
3283
3543
|
e = !1;
|
|
3284
3544
|
};
|
|
@@ -3287,28 +3547,28 @@ var ri = (e, t) => {
|
|
|
3287
3547
|
return n.pending.forEach((e) => {
|
|
3288
3548
|
let { provider: t, prefix: n } = e;
|
|
3289
3549
|
if (n === o && t === a) return;
|
|
3290
|
-
a = t, o = n, i.push(
|
|
3550
|
+
a = t, o = n, i.push(W(t, n));
|
|
3291
3551
|
let s = r[t] || (r[t] = Object.create(null));
|
|
3292
3552
|
s[n] || (s[n] = []);
|
|
3293
3553
|
}), n.pending.forEach((e) => {
|
|
3294
|
-
let { provider: t, prefix: n, name: i } = e, a =
|
|
3554
|
+
let { provider: t, prefix: n, name: i } = e, a = W(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
3295
3555
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
3296
3556
|
}), i.forEach((e) => {
|
|
3297
3557
|
let t = r[e.provider][e.prefix];
|
|
3298
|
-
t.length &&
|
|
3299
|
-
}), t ?
|
|
3558
|
+
t.length && Pi(e, t);
|
|
3559
|
+
}), t ? bi(t, n, i) : Ai;
|
|
3300
3560
|
};
|
|
3301
|
-
function
|
|
3561
|
+
function Ii(e, t) {
|
|
3302
3562
|
let n = { ...e };
|
|
3303
3563
|
for (let e in t) {
|
|
3304
3564
|
let r = t[e], i = typeof r;
|
|
3305
|
-
e in
|
|
3565
|
+
e in Ur ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
3306
3566
|
}
|
|
3307
3567
|
return n;
|
|
3308
3568
|
}
|
|
3309
|
-
var
|
|
3310
|
-
function
|
|
3311
|
-
t.split(
|
|
3569
|
+
var Li = /[\s,]+/;
|
|
3570
|
+
function Ri(e, t) {
|
|
3571
|
+
t.split(Li).forEach((t) => {
|
|
3312
3572
|
switch (t.trim()) {
|
|
3313
3573
|
case "horizontal":
|
|
3314
3574
|
e.hFlip = !0;
|
|
@@ -3317,7 +3577,7 @@ function oi(e, t) {
|
|
|
3317
3577
|
}
|
|
3318
3578
|
});
|
|
3319
3579
|
}
|
|
3320
|
-
function
|
|
3580
|
+
function zi(e, t = 0) {
|
|
3321
3581
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
3322
3582
|
function r(e) {
|
|
3323
3583
|
for (; e < 0;) e += 4;
|
|
@@ -3342,63 +3602,63 @@ function si(e, t = 0) {
|
|
|
3342
3602
|
}
|
|
3343
3603
|
return t;
|
|
3344
3604
|
}
|
|
3345
|
-
function
|
|
3605
|
+
function Bi(e, t) {
|
|
3346
3606
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
3347
3607
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
3348
3608
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
3349
3609
|
}
|
|
3350
|
-
function
|
|
3610
|
+
function Vi(e) {
|
|
3351
3611
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
3352
3612
|
}
|
|
3353
|
-
function
|
|
3354
|
-
return "data:image/svg+xml," +
|
|
3613
|
+
function Hi(e) {
|
|
3614
|
+
return "data:image/svg+xml," + Vi(e);
|
|
3355
3615
|
}
|
|
3356
|
-
function
|
|
3357
|
-
return "url(\"" +
|
|
3616
|
+
function Ui(e) {
|
|
3617
|
+
return "url(\"" + Hi(e) + "\")";
|
|
3358
3618
|
}
|
|
3359
3619
|
var J;
|
|
3360
|
-
function
|
|
3620
|
+
function Wi() {
|
|
3361
3621
|
try {
|
|
3362
3622
|
J = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
|
|
3363
3623
|
} catch {
|
|
3364
3624
|
J = null;
|
|
3365
3625
|
}
|
|
3366
3626
|
}
|
|
3367
|
-
function
|
|
3368
|
-
return J === void 0 &&
|
|
3627
|
+
function Gi(e) {
|
|
3628
|
+
return J === void 0 && Wi(), J ? J.createHTML(e) : e;
|
|
3369
3629
|
}
|
|
3370
|
-
var
|
|
3371
|
-
...
|
|
3630
|
+
var Ki = {
|
|
3631
|
+
...Wr,
|
|
3372
3632
|
inline: !1
|
|
3373
|
-
},
|
|
3633
|
+
}, qi = {
|
|
3374
3634
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3375
3635
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
3376
3636
|
"aria-hidden": !0,
|
|
3377
3637
|
role: "img"
|
|
3378
|
-
},
|
|
3638
|
+
}, Ji = { display: "inline-block" }, Yi = { backgroundColor: "currentColor" }, Xi = { backgroundColor: "transparent" }, Zi = {
|
|
3379
3639
|
Image: "var(--svg)",
|
|
3380
3640
|
Repeat: "no-repeat",
|
|
3381
3641
|
Size: "100% 100%"
|
|
3382
|
-
},
|
|
3383
|
-
WebkitMask:
|
|
3384
|
-
mask:
|
|
3385
|
-
background:
|
|
3642
|
+
}, Qi = {
|
|
3643
|
+
WebkitMask: Yi,
|
|
3644
|
+
mask: Yi,
|
|
3645
|
+
background: Xi
|
|
3386
3646
|
};
|
|
3387
|
-
for (let e in
|
|
3388
|
-
let t =
|
|
3389
|
-
for (let n in
|
|
3647
|
+
for (let e in Qi) {
|
|
3648
|
+
let t = Qi[e];
|
|
3649
|
+
for (let n in Zi) t[e + n] = Zi[n];
|
|
3390
3650
|
}
|
|
3391
|
-
var
|
|
3392
|
-
...
|
|
3651
|
+
var $i = {
|
|
3652
|
+
...Ki,
|
|
3393
3653
|
inline: !0
|
|
3394
3654
|
};
|
|
3395
|
-
function
|
|
3655
|
+
function ea(e) {
|
|
3396
3656
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
3397
3657
|
}
|
|
3398
|
-
var
|
|
3399
|
-
let r = t.inline ?
|
|
3658
|
+
var ta = (e, t, n) => {
|
|
3659
|
+
let r = t.inline ? $i : Ki, i = Ii(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? qi : {} };
|
|
3400
3660
|
if (n) {
|
|
3401
|
-
let e =
|
|
3661
|
+
let e = Lr(n, !1, !0);
|
|
3402
3662
|
if (e) {
|
|
3403
3663
|
let t = ["iconify"];
|
|
3404
3664
|
for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
|
|
@@ -3427,13 +3687,13 @@ var Ci = (e, t, n) => {
|
|
|
3427
3687
|
i[e] = n === !0 || n === "true" || n === 1;
|
|
3428
3688
|
break;
|
|
3429
3689
|
case "flip":
|
|
3430
|
-
typeof n == "string" &&
|
|
3690
|
+
typeof n == "string" && Ri(i, n);
|
|
3431
3691
|
break;
|
|
3432
3692
|
case "color":
|
|
3433
3693
|
o.color = n;
|
|
3434
3694
|
break;
|
|
3435
3695
|
case "rotate":
|
|
3436
|
-
typeof n == "string" ? i[e] =
|
|
3696
|
+
typeof n == "string" ? i[e] = zi(n) : typeof n == "number" && (i[e] = n);
|
|
3437
3697
|
break;
|
|
3438
3698
|
case "ariaHidden":
|
|
3439
3699
|
case "aria-hidden":
|
|
@@ -3442,37 +3702,37 @@ var Ci = (e, t, n) => {
|
|
|
3442
3702
|
default: r[e] === void 0 && (c[e] = n);
|
|
3443
3703
|
}
|
|
3444
3704
|
}
|
|
3445
|
-
let l =
|
|
3705
|
+
let l = Qr(e, i), u = l.attributes;
|
|
3446
3706
|
if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
3447
3707
|
c.style = {
|
|
3448
3708
|
...o,
|
|
3449
3709
|
...s
|
|
3450
3710
|
}, Object.assign(c, u);
|
|
3451
3711
|
let e = 0, n = t.id;
|
|
3452
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html:
|
|
3712
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: Gi(ni(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, ge("svg", c);
|
|
3453
3713
|
}
|
|
3454
|
-
let { body: d, width: f, height: p } = e, m = a === "mask" || a !== "bg" && d.indexOf("currentColor") !== -1, h =
|
|
3714
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || a !== "bg" && d.indexOf("currentColor") !== -1, h = Bi(d, {
|
|
3455
3715
|
...u,
|
|
3456
3716
|
width: f + "",
|
|
3457
3717
|
height: p + ""
|
|
3458
3718
|
});
|
|
3459
3719
|
return c.style = {
|
|
3460
3720
|
...o,
|
|
3461
|
-
"--svg":
|
|
3462
|
-
width:
|
|
3463
|
-
height:
|
|
3464
|
-
...
|
|
3465
|
-
...m ?
|
|
3721
|
+
"--svg": Ui(h),
|
|
3722
|
+
width: ea(u.width),
|
|
3723
|
+
height: ea(u.height),
|
|
3724
|
+
...Ji,
|
|
3725
|
+
...m ? Yi : Xi,
|
|
3466
3726
|
...s
|
|
3467
|
-
},
|
|
3727
|
+
}, ge("span", c);
|
|
3468
3728
|
};
|
|
3469
|
-
if (
|
|
3729
|
+
if (zr(!0), ii("", gi), typeof document < "u" && typeof window < "u") {
|
|
3470
3730
|
let e = window;
|
|
3471
3731
|
if (e.IconifyPreload !== void 0) {
|
|
3472
3732
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
3473
3733
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
3474
3734
|
try {
|
|
3475
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
3735
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Hr(e)) && console.error(n);
|
|
3476
3736
|
} catch {
|
|
3477
3737
|
console.error(n);
|
|
3478
3738
|
}
|
|
@@ -3485,14 +3745,14 @@ if (or(!0), Tr("", Rr), typeof document < "u" && typeof window < "u") {
|
|
|
3485
3745
|
try {
|
|
3486
3746
|
let r = t[e];
|
|
3487
3747
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
3488
|
-
|
|
3748
|
+
li(e, r) || console.error(n);
|
|
3489
3749
|
} catch {
|
|
3490
3750
|
console.error(n);
|
|
3491
3751
|
}
|
|
3492
3752
|
}
|
|
3493
3753
|
}
|
|
3494
3754
|
}
|
|
3495
|
-
function
|
|
3755
|
+
function na(e) {
|
|
3496
3756
|
let [t, n] = w(!!e.ssr), [r, i] = w({});
|
|
3497
3757
|
function a(t) {
|
|
3498
3758
|
if (t) {
|
|
@@ -3501,7 +3761,7 @@ function wi(e) {
|
|
|
3501
3761
|
name: "",
|
|
3502
3762
|
data: t
|
|
3503
3763
|
};
|
|
3504
|
-
let n =
|
|
3764
|
+
let n = Br(t);
|
|
3505
3765
|
if (n) return {
|
|
3506
3766
|
name: t,
|
|
3507
3767
|
data: n
|
|
@@ -3527,13 +3787,13 @@ function wi(e) {
|
|
|
3527
3787
|
});
|
|
3528
3788
|
return;
|
|
3529
3789
|
}
|
|
3530
|
-
let r =
|
|
3790
|
+
let r = Br(n);
|
|
3531
3791
|
if (l({
|
|
3532
3792
|
name: n,
|
|
3533
3793
|
data: r
|
|
3534
3794
|
})) {
|
|
3535
3795
|
if (r === void 0) {
|
|
3536
|
-
let e =
|
|
3796
|
+
let e = Fi([n], u);
|
|
3537
3797
|
i({ callback: e });
|
|
3538
3798
|
} else r && ((t = e.onLoad) == null || t.call(e, n));
|
|
3539
3799
|
}
|
|
@@ -3542,494 +3802,502 @@ function wi(e) {
|
|
|
3542
3802
|
t && u();
|
|
3543
3803
|
}, [e.icon, t]);
|
|
3544
3804
|
let { name: d, data: f } = o;
|
|
3545
|
-
return f ?
|
|
3546
|
-
...
|
|
3805
|
+
return f ? ta({
|
|
3806
|
+
...Cr,
|
|
3547
3807
|
...f
|
|
3548
|
-
}, e, d) : e.children ? e.children : e.fallback ? e.fallback :
|
|
3808
|
+
}, e, d) : e.children ? e.children : e.fallback ? e.fallback : ge("span", {});
|
|
3549
3809
|
}
|
|
3550
|
-
var
|
|
3810
|
+
var ra = _e((e, t) => na({
|
|
3551
3811
|
...e,
|
|
3552
3812
|
_ref: t
|
|
3553
3813
|
}));
|
|
3554
|
-
|
|
3814
|
+
_e((e, t) => na({
|
|
3555
3815
|
inline: !0,
|
|
3556
3816
|
...e,
|
|
3557
3817
|
_ref: t
|
|
3558
3818
|
}));
|
|
3559
3819
|
//#endregion
|
|
3560
3820
|
//#region node_modules/@iconify-icons/heroicons-outline/data/x/x-mark.js
|
|
3561
|
-
var
|
|
3821
|
+
var ia = {
|
|
3562
3822
|
width: 24,
|
|
3563
3823
|
height: 24,
|
|
3564
3824
|
hidden: !0,
|
|
3565
3825
|
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\"/>"
|
|
3566
|
-
},
|
|
3826
|
+
}, aa = {
|
|
3567
3827
|
width: 24,
|
|
3568
3828
|
height: 24,
|
|
3569
3829
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
|
|
3570
|
-
},
|
|
3830
|
+
}, oa = {
|
|
3571
3831
|
width: 24,
|
|
3572
3832
|
height: 24,
|
|
3573
3833
|
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.572z\"/>"
|
|
3574
|
-
},
|
|
3834
|
+
}, sa = {
|
|
3575
3835
|
width: 24,
|
|
3576
3836
|
height: 24,
|
|
3577
3837
|
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\"/>"
|
|
3578
|
-
},
|
|
3838
|
+
}, ca = {
|
|
3579
3839
|
width: 24,
|
|
3580
3840
|
height: 24,
|
|
3581
3841
|
hidden: !0,
|
|
3582
3842
|
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\"/>"
|
|
3583
|
-
},
|
|
3843
|
+
}, la = {
|
|
3584
3844
|
width: 24,
|
|
3585
3845
|
height: 24,
|
|
3586
3846
|
hidden: !0,
|
|
3587
3847
|
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\"/>"
|
|
3588
|
-
},
|
|
3848
|
+
}, ua = {
|
|
3589
3849
|
width: 24,
|
|
3590
3850
|
height: 24,
|
|
3591
3851
|
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\"/>"
|
|
3592
|
-
},
|
|
3852
|
+
}, da = {
|
|
3593
3853
|
width: 24,
|
|
3594
3854
|
height: 24,
|
|
3595
3855
|
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.065\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0\"/></g>"
|
|
3596
|
-
},
|
|
3856
|
+
}, fa = {
|
|
3597
3857
|
width: 24,
|
|
3598
3858
|
height: 24,
|
|
3599
3859
|
hidden: !0,
|
|
3600
3860
|
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\"/>"
|
|
3601
|
-
},
|
|
3861
|
+
}, pa = {
|
|
3602
3862
|
width: 24,
|
|
3603
3863
|
height: 24,
|
|
3604
3864
|
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 12s-.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.684m0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684\"/>"
|
|
3605
|
-
},
|
|
3865
|
+
}, ma = {
|
|
3606
3866
|
width: 24,
|
|
3607
3867
|
height: 24,
|
|
3608
3868
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
|
|
3609
|
-
},
|
|
3869
|
+
}, ha = {
|
|
3610
3870
|
width: 24,
|
|
3611
3871
|
height: 24,
|
|
3612
3872
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
|
|
3613
|
-
},
|
|
3873
|
+
}, ga = {
|
|
3614
3874
|
width: 24,
|
|
3615
3875
|
height: 24,
|
|
3616
3876
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
|
|
3617
|
-
},
|
|
3877
|
+
}, _a = {
|
|
3618
3878
|
width: 24,
|
|
3619
3879
|
height: 24,
|
|
3620
3880
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
|
|
3621
|
-
},
|
|
3881
|
+
}, va = {
|
|
3622
3882
|
width: 24,
|
|
3623
3883
|
height: 24,
|
|
3624
3884
|
hidden: !0,
|
|
3625
3885
|
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\"/>"
|
|
3626
|
-
},
|
|
3886
|
+
}, ya = {
|
|
3627
3887
|
width: 24,
|
|
3628
3888
|
height: 24,
|
|
3629
3889
|
hidden: !0,
|
|
3630
3890
|
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\"/>"
|
|
3631
|
-
},
|
|
3891
|
+
}, ba = {
|
|
3632
3892
|
width: 24,
|
|
3633
3893
|
height: 24,
|
|
3634
3894
|
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 0\"/>"
|
|
3635
|
-
},
|
|
3895
|
+
}, xa = {
|
|
3636
3896
|
width: 24,
|
|
3637
3897
|
height: 24,
|
|
3638
3898
|
hidden: !0,
|
|
3639
3899
|
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\"/>"
|
|
3640
|
-
},
|
|
3900
|
+
}, Sa = {
|
|
3641
3901
|
width: 24,
|
|
3642
3902
|
height: 24,
|
|
3643
3903
|
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 0\"/>"
|
|
3644
|
-
},
|
|
3904
|
+
}, Ca = {
|
|
3645
3905
|
width: 24,
|
|
3646
3906
|
height: 24,
|
|
3647
3907
|
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.143z\"/>"
|
|
3648
|
-
},
|
|
3908
|
+
}, wa = {
|
|
3649
3909
|
width: 24,
|
|
3650
3910
|
height: 24,
|
|
3651
3911
|
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 0\"/><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 7s-8.268-2.943-9.542-7\"/></g>"
|
|
3652
|
-
},
|
|
3912
|
+
}, Ta = {
|
|
3653
3913
|
width: 24,
|
|
3654
3914
|
height: 24,
|
|
3655
3915
|
hidden: !0,
|
|
3656
3916
|
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\"/>"
|
|
3657
|
-
},
|
|
3917
|
+
}, Ea = {
|
|
3918
|
+
width: 24,
|
|
3919
|
+
height: 24,
|
|
3920
|
+
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 9v6m4-6v6m7-3a9 9 0 1 1-18 0a9 9 0 0 1 18 0\"/>"
|
|
3921
|
+
}, Da = {
|
|
3922
|
+
width: 24,
|
|
3923
|
+
height: 24,
|
|
3924
|
+
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"m14.752 11.168l-3.197-2.132A1 1 0 0 0 10 9.87v4.263a1 1 0 0 0 1.555.832l3.197-2.132a1 1 0 0 0 0-1.664\"/><path d=\"M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0\"/></g>"
|
|
3925
|
+
}, Oa = {
|
|
3658
3926
|
width: 24,
|
|
3659
3927
|
height: 24,
|
|
3660
3928
|
hidden: !0,
|
|
3661
3929
|
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\"/>"
|
|
3662
|
-
},
|
|
3930
|
+
}, ka = {
|
|
3663
3931
|
width: 24,
|
|
3664
3932
|
height: 24,
|
|
3665
3933
|
hidden: !0,
|
|
3666
3934
|
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\"/>"
|
|
3667
|
-
},
|
|
3935
|
+
}, Aa = {
|
|
3668
3936
|
width: 24,
|
|
3669
3937
|
height: 24,
|
|
3670
3938
|
hidden: !0,
|
|
3671
3939
|
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\"/>"
|
|
3672
|
-
},
|
|
3940
|
+
}, ja = {
|
|
3673
3941
|
width: 24,
|
|
3674
3942
|
height: 24,
|
|
3675
3943
|
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\"/>"
|
|
3676
|
-
},
|
|
3944
|
+
}, Ma = {
|
|
3677
3945
|
width: 24,
|
|
3678
3946
|
height: 24,
|
|
3679
3947
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
|
|
3680
|
-
},
|
|
3948
|
+
}, Na = {
|
|
3681
3949
|
width: 24,
|
|
3682
3950
|
height: 24,
|
|
3683
3951
|
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 0\"/>"
|
|
3684
|
-
},
|
|
3952
|
+
}, Pa = {
|
|
3685
3953
|
width: 24,
|
|
3686
3954
|
height: 24,
|
|
3687
3955
|
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 9 0 0 0 8.354-5.646\"/>"
|
|
3688
|
-
},
|
|
3956
|
+
}, Fa = {
|
|
3689
3957
|
width: 24,
|
|
3690
3958
|
height: 24,
|
|
3691
3959
|
hidden: !0,
|
|
3692
3960
|
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\"/>"
|
|
3693
|
-
},
|
|
3961
|
+
}, Ia = {
|
|
3694
3962
|
width: 24,
|
|
3695
3963
|
height: 24,
|
|
3696
3964
|
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 2\"/>"
|
|
3697
|
-
},
|
|
3965
|
+
}, La = {
|
|
3698
3966
|
width: 24,
|
|
3699
3967
|
height: 24,
|
|
3700
3968
|
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 18s-3.332.477-4.5 1.253\"/>"
|
|
3701
|
-
},
|
|
3969
|
+
}, Ra = {
|
|
3702
3970
|
width: 24,
|
|
3703
3971
|
height: 24,
|
|
3704
3972
|
hidden: !0,
|
|
3705
3973
|
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\"/>"
|
|
3706
|
-
},
|
|
3974
|
+
}, za = {
|
|
3707
3975
|
width: 24,
|
|
3708
3976
|
height: 24,
|
|
3709
3977
|
hidden: !0,
|
|
3710
3978
|
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\"/>"
|
|
3711
|
-
},
|
|
3979
|
+
}, Ba = {
|
|
3712
3980
|
width: 24,
|
|
3713
3981
|
height: 24,
|
|
3714
3982
|
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-2z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0\"/></g>"
|
|
3715
|
-
},
|
|
3983
|
+
}, Va = {
|
|
3716
3984
|
width: 24,
|
|
3717
3985
|
height: 24,
|
|
3718
3986
|
hidden: !0,
|
|
3719
3987
|
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\"/>"
|
|
3720
|
-
},
|
|
3988
|
+
}, Ha = {
|
|
3721
3989
|
width: 24,
|
|
3722
3990
|
height: 24,
|
|
3723
3991
|
hidden: !0,
|
|
3724
3992
|
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.5m-13.5-9L12 3m0 0l4.5 4.5M12 3v13.5\"/>"
|
|
3725
|
-
},
|
|
3993
|
+
}, Ua = {
|
|
3726
3994
|
width: 24,
|
|
3727
3995
|
height: 24,
|
|
3728
3996
|
hidden: !0,
|
|
3729
3997
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" d=\"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15\"/>"
|
|
3730
|
-
},
|
|
3998
|
+
}, Wa = {
|
|
3731
3999
|
width: 20,
|
|
3732
4000
|
height: 20,
|
|
3733
4001
|
hidden: !0,
|
|
3734
4002
|
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\"/>"
|
|
3735
|
-
},
|
|
4003
|
+
}, Ga = {
|
|
3736
4004
|
width: 20,
|
|
3737
4005
|
height: 20,
|
|
3738
4006
|
hidden: !0,
|
|
3739
4007
|
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\"/>"
|
|
3740
|
-
},
|
|
4008
|
+
}, Ka = {
|
|
3741
4009
|
width: 20,
|
|
3742
4010
|
height: 20,
|
|
3743
4011
|
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-1zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1zm6-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-1z\"/>"
|
|
3744
|
-
},
|
|
4012
|
+
}, qa = {
|
|
3745
4013
|
width: 20,
|
|
3746
4014
|
height: 20,
|
|
3747
4015
|
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-7A1 1 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293zM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2\" clip-rule=\"evenodd\"/>"
|
|
3748
|
-
},
|
|
4016
|
+
}, Ja = {
|
|
3749
4017
|
width: 20,
|
|
3750
4018
|
height: 20,
|
|
3751
4019
|
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-1m0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2z\" clip-rule=\"evenodd\"/>"
|
|
3752
|
-
},
|
|
4020
|
+
}, Ya = {
|
|
3753
4021
|
width: 20,
|
|
3754
4022
|
height: 20,
|
|
3755
4023
|
hidden: !0,
|
|
3756
4024
|
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\"/>"
|
|
3757
|
-
},
|
|
4025
|
+
}, Xa = {
|
|
3758
4026
|
width: 20,
|
|
3759
4027
|
height: 20,
|
|
3760
4028
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16M9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664z\" clip-rule=\"evenodd\"/>"
|
|
3761
|
-
},
|
|
4029
|
+
}, Za = {
|
|
3762
4030
|
width: 20,
|
|
3763
4031
|
height: 20,
|
|
3764
4032
|
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 0\" clip-rule=\"evenodd\"/>"
|
|
3765
|
-
},
|
|
4033
|
+
}, Qa = {
|
|
3766
4034
|
width: 20,
|
|
3767
4035
|
height: 20,
|
|
3768
4036
|
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.05A4 4 0 0 1 15 15a4 4 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.05A4 4 0 0 1 5 15a4 4 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-1m-5 8.275l-.818 2.55a2 2 0 0 0 1.636 0zm10 0l-.818 2.55a2 2 0 0 0 1.636 0z\" clip-rule=\"evenodd\"/>"
|
|
3769
|
-
},
|
|
4037
|
+
}, $a = {
|
|
3770
4038
|
width: 20,
|
|
3771
4039
|
height: 20,
|
|
3772
4040
|
hidden: !0,
|
|
3773
4041
|
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\"/>"
|
|
3774
|
-
},
|
|
4042
|
+
}, eo = {
|
|
3775
4043
|
width: 20,
|
|
3776
4044
|
height: 20,
|
|
3777
4045
|
hidden: !0,
|
|
3778
4046
|
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\"/>"
|
|
3779
|
-
},
|
|
4047
|
+
}, to = {
|
|
3780
4048
|
width: 20,
|
|
3781
4049
|
height: 20,
|
|
3782
4050
|
hidden: !0,
|
|
3783
4051
|
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\"/>"
|
|
3784
|
-
},
|
|
4052
|
+
}, no = {
|
|
3785
4053
|
width: 20,
|
|
3786
4054
|
height: 20,
|
|
3787
4055
|
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 2zm2 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-.187l-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172\" clip-rule=\"evenodd\"/>"
|
|
3788
|
-
},
|
|
4056
|
+
}, ro = {
|
|
3789
4057
|
width: 20,
|
|
3790
4058
|
height: 20,
|
|
3791
4059
|
hidden: !0,
|
|
3792
4060
|
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\"/>"
|
|
3793
|
-
},
|
|
4061
|
+
}, io = {
|
|
3794
4062
|
width: 20,
|
|
3795
4063
|
height: 20,
|
|
3796
4064
|
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.853M4.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-.088\"/><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-.789A10 10 0 0 0 5 11m8.921 2.012a1 1 0 0 1 .831 1.145a20 20 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558q.311-1.07.49-2.192a1 1 0 0 1 1.144-.83\"/><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.95 13.95 0 0 0 9 11a1 1 0 0 1 1-1\"/></g>"
|
|
3797
|
-
},
|
|
4065
|
+
}, ao = {
|
|
3798
4066
|
width: 20,
|
|
3799
4067
|
height: 20,
|
|
3800
4068
|
hidden: !0,
|
|
3801
4069
|
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\"/>"
|
|
3802
|
-
},
|
|
4070
|
+
}, oo = {
|
|
3803
4071
|
width: 20,
|
|
3804
4072
|
height: 20,
|
|
3805
4073
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16m1-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-2z\" clip-rule=\"evenodd\"/>"
|
|
3806
|
-
},
|
|
4074
|
+
}, so = {
|
|
3807
4075
|
width: 20,
|
|
3808
4076
|
height: 20,
|
|
3809
4077
|
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-.727M9.03 8l-1 4h2.938l1-4z\" clip-rule=\"evenodd\"/>"
|
|
3810
|
-
},
|
|
4078
|
+
}, co = {
|
|
3811
4079
|
width: 24,
|
|
3812
4080
|
height: 24,
|
|
3813
4081
|
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-1zm12-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-1zM9 5a1 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\"/>"
|
|
3814
|
-
},
|
|
4082
|
+
}, lo = {
|
|
3815
4083
|
width: 24,
|
|
3816
4084
|
height: 24,
|
|
3817
4085
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
|
|
3818
|
-
},
|
|
4086
|
+
}, uo = {
|
|
3819
4087
|
width: 24,
|
|
3820
4088
|
height: 24,
|
|
3821
4089
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5zm0-7l3-4l4 2l5-6l4 4\"/>"
|
|
3822
|
-
},
|
|
4090
|
+
}, fo = {
|
|
3823
4091
|
width: 24,
|
|
3824
4092
|
height: 24,
|
|
3825
4093
|
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-1z\"/></g>"
|
|
3826
|
-
},
|
|
4094
|
+
}, po = {
|
|
3827
4095
|
width: 24,
|
|
3828
4096
|
height: 24,
|
|
3829
4097
|
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>"
|
|
3830
|
-
},
|
|
4098
|
+
}, mo = {
|
|
3831
4099
|
width: 24,
|
|
3832
4100
|
height: 24,
|
|
3833
4101
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m11 8a2 2 0 1 0 4 0a2 2 0 1 0-4 0m1-9a3 3 0 1 0 6 0a3 3 0 1 0-6 0M3 18a3 3 0 1 0 6 0a3 3 0 1 0-6 0m6-1l5-1.5m-7.5-7l7.81 5.37M7 7l8-1\"/>"
|
|
3834
|
-
},
|
|
4102
|
+
}, ho = {
|
|
3835
4103
|
width: 24,
|
|
3836
4104
|
height: 24,
|
|
3837
4105
|
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\"/>"
|
|
3838
|
-
},
|
|
4106
|
+
}, go = {
|
|
3839
4107
|
width: 24,
|
|
3840
4108
|
height: 24,
|
|
3841
4109
|
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>"
|
|
3842
|
-
},
|
|
4110
|
+
}, _o = {
|
|
3843
4111
|
width: 24,
|
|
3844
4112
|
height: 24,
|
|
3845
4113
|
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>"
|
|
3846
|
-
},
|
|
4114
|
+
}, vo = {
|
|
3847
4115
|
width: 24,
|
|
3848
4116
|
height: 24,
|
|
3849
4117
|
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\"/>"
|
|
3850
|
-
},
|
|
4118
|
+
}, yo = {
|
|
3851
4119
|
width: 24,
|
|
3852
4120
|
height: 24,
|
|
3853
4121
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M13 5h8m-8 4h5m-5 6h8m-8 4h5M3 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm0 10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z\"/>"
|
|
3854
|
-
},
|
|
4122
|
+
}, bo = {
|
|
3855
4123
|
width: 24,
|
|
3856
4124
|
height: 24,
|
|
3857
4125
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 4h16M4 20h16M6 11a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2z\"/>"
|
|
3858
|
-
},
|
|
4126
|
+
}, xo = {
|
|
3859
4127
|
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>",
|
|
3860
4128
|
width: 24,
|
|
3861
4129
|
height: 24
|
|
3862
|
-
},
|
|
4130
|
+
}, So = {
|
|
3863
4131
|
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>",
|
|
3864
4132
|
width: 24,
|
|
3865
4133
|
height: 24
|
|
3866
|
-
},
|
|
4134
|
+
}, Co = {
|
|
3867
4135
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <!-- 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>",
|
|
3868
4136
|
width: 24,
|
|
3869
4137
|
height: 24
|
|
3870
|
-
},
|
|
4138
|
+
}, wo = {
|
|
3871
4139
|
width: 24,
|
|
3872
4140
|
height: 24,
|
|
3873
4141
|
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>"
|
|
3874
|
-
},
|
|
4142
|
+
}, To = {
|
|
3875
4143
|
width: 24,
|
|
3876
4144
|
height: 24,
|
|
3877
4145
|
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-2zm0 5h18M10 3v18\"/>"
|
|
3878
|
-
},
|
|
4146
|
+
}, Eo = {
|
|
3879
4147
|
width: 24,
|
|
3880
4148
|
height: 24,
|
|
3881
4149
|
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>"
|
|
3882
|
-
},
|
|
4150
|
+
}, Do = {
|
|
3883
4151
|
width: 24,
|
|
3884
4152
|
height: 24,
|
|
3885
4153
|
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\"/>"
|
|
3886
|
-
},
|
|
4154
|
+
}, Oo = {
|
|
3887
4155
|
width: 24,
|
|
3888
4156
|
height: 24,
|
|
3889
4157
|
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>"
|
|
3890
|
-
},
|
|
4158
|
+
}, ko = {
|
|
3891
4159
|
width: 24,
|
|
3892
4160
|
height: 24,
|
|
3893
4161
|
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\"/>"
|
|
3894
|
-
},
|
|
4162
|
+
}, Ao = {
|
|
3895
4163
|
width: 24,
|
|
3896
4164
|
height: 24,
|
|
3897
4165
|
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 2M9 9h1m-1 4h6m-6 4h6\"/></g>"
|
|
3898
|
-
},
|
|
4166
|
+
}, jo = {
|
|
3899
4167
|
width: 24,
|
|
3900
4168
|
height: 24,
|
|
3901
4169
|
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>"
|
|
3902
|
-
},
|
|
4170
|
+
}, Mo = {
|
|
3903
4171
|
close: {
|
|
3904
|
-
icon:
|
|
4172
|
+
icon: ia,
|
|
3905
4173
|
category: "action"
|
|
3906
4174
|
},
|
|
3907
4175
|
add: {
|
|
3908
|
-
icon:
|
|
4176
|
+
icon: aa,
|
|
3909
4177
|
category: "action"
|
|
3910
4178
|
},
|
|
3911
4179
|
edit: {
|
|
3912
|
-
icon:
|
|
4180
|
+
icon: oa,
|
|
3913
4181
|
category: "action"
|
|
3914
4182
|
},
|
|
3915
4183
|
delete: {
|
|
3916
|
-
icon:
|
|
4184
|
+
icon: sa,
|
|
3917
4185
|
category: "action"
|
|
3918
4186
|
},
|
|
3919
4187
|
refresh: {
|
|
3920
|
-
icon:
|
|
4188
|
+
icon: ca,
|
|
3921
4189
|
category: "action"
|
|
3922
4190
|
},
|
|
3923
4191
|
copy: {
|
|
3924
|
-
icon:
|
|
4192
|
+
icon: la,
|
|
3925
4193
|
category: "action"
|
|
3926
4194
|
},
|
|
3927
4195
|
duplicate: {
|
|
3928
|
-
icon:
|
|
4196
|
+
icon: ua,
|
|
3929
4197
|
category: "action"
|
|
3930
4198
|
},
|
|
3931
4199
|
settings: {
|
|
3932
|
-
icon:
|
|
4200
|
+
icon: da,
|
|
3933
4201
|
category: "action"
|
|
3934
4202
|
},
|
|
3935
4203
|
filter: {
|
|
3936
|
-
icon:
|
|
4204
|
+
icon: fa,
|
|
3937
4205
|
category: "action"
|
|
3938
4206
|
},
|
|
3939
4207
|
share: {
|
|
3940
|
-
icon:
|
|
4208
|
+
icon: pa,
|
|
3941
4209
|
category: "action"
|
|
3942
4210
|
},
|
|
3943
4211
|
expand: {
|
|
3944
|
-
icon:
|
|
4212
|
+
icon: ha,
|
|
3945
4213
|
category: "action"
|
|
3946
4214
|
},
|
|
3947
4215
|
collapse: {
|
|
3948
|
-
icon:
|
|
4216
|
+
icon: ma,
|
|
3949
4217
|
category: "action"
|
|
3950
4218
|
},
|
|
3951
4219
|
maximize: {
|
|
3952
|
-
icon:
|
|
4220
|
+
icon: Ua,
|
|
3953
4221
|
category: "action"
|
|
3954
4222
|
},
|
|
3955
4223
|
search: {
|
|
3956
|
-
icon:
|
|
4224
|
+
icon: va,
|
|
3957
4225
|
category: "action"
|
|
3958
4226
|
},
|
|
3959
4227
|
menu: {
|
|
3960
|
-
icon:
|
|
4228
|
+
icon: ya,
|
|
3961
4229
|
category: "action"
|
|
3962
4230
|
},
|
|
3963
4231
|
run: {
|
|
3964
|
-
icon:
|
|
4232
|
+
icon: Xa,
|
|
3965
4233
|
category: "action"
|
|
3966
4234
|
},
|
|
3967
4235
|
check: {
|
|
3968
|
-
icon:
|
|
4236
|
+
icon: Za,
|
|
3969
4237
|
category: "action"
|
|
3970
4238
|
},
|
|
3971
4239
|
link: {
|
|
3972
|
-
icon:
|
|
4240
|
+
icon: ja,
|
|
3973
4241
|
category: "action"
|
|
3974
4242
|
},
|
|
3975
4243
|
eye: {
|
|
3976
|
-
icon:
|
|
4244
|
+
icon: wa,
|
|
3977
4245
|
category: "action"
|
|
3978
4246
|
},
|
|
3979
4247
|
eyeOff: {
|
|
3980
|
-
icon:
|
|
4248
|
+
icon: Ta,
|
|
3981
4249
|
category: "action"
|
|
3982
4250
|
},
|
|
3983
4251
|
adjustments: {
|
|
3984
|
-
icon:
|
|
4252
|
+
icon: Oa,
|
|
3985
4253
|
category: "action"
|
|
3986
4254
|
},
|
|
3987
4255
|
desktop: {
|
|
3988
|
-
icon:
|
|
4256
|
+
icon: ka,
|
|
3989
4257
|
category: "action"
|
|
3990
4258
|
},
|
|
3991
4259
|
table: {
|
|
3992
|
-
icon:
|
|
4260
|
+
icon: Aa,
|
|
3993
4261
|
category: "action"
|
|
3994
4262
|
},
|
|
3995
4263
|
sun: {
|
|
3996
|
-
icon:
|
|
4264
|
+
icon: Na,
|
|
3997
4265
|
category: "action"
|
|
3998
4266
|
},
|
|
3999
4267
|
moon: {
|
|
4000
|
-
icon:
|
|
4268
|
+
icon: Pa,
|
|
4001
4269
|
category: "action"
|
|
4002
4270
|
},
|
|
4003
4271
|
ellipsisHorizontal: {
|
|
4004
|
-
icon:
|
|
4272
|
+
icon: Fa,
|
|
4005
4273
|
category: "action"
|
|
4006
4274
|
},
|
|
4007
4275
|
documentText: {
|
|
4008
|
-
icon:
|
|
4276
|
+
icon: Ia,
|
|
4009
4277
|
category: "action"
|
|
4010
4278
|
},
|
|
4011
4279
|
bookOpen: {
|
|
4012
|
-
icon:
|
|
4280
|
+
icon: La,
|
|
4013
4281
|
category: "action"
|
|
4014
4282
|
},
|
|
4015
4283
|
codeBracket: {
|
|
4016
|
-
icon:
|
|
4284
|
+
icon: Ra,
|
|
4017
4285
|
category: "action"
|
|
4018
4286
|
},
|
|
4019
4287
|
swatch: {
|
|
4020
|
-
icon:
|
|
4288
|
+
icon: za,
|
|
4021
4289
|
category: "action"
|
|
4022
4290
|
},
|
|
4023
4291
|
camera: {
|
|
4024
|
-
icon:
|
|
4292
|
+
icon: Ba,
|
|
4025
4293
|
category: "action"
|
|
4026
4294
|
},
|
|
4027
4295
|
thumbUp: {
|
|
4028
|
-
icon:
|
|
4296
|
+
icon: Wa,
|
|
4029
4297
|
category: "action"
|
|
4030
4298
|
},
|
|
4031
4299
|
thumbDown: {
|
|
4032
|
-
icon:
|
|
4300
|
+
icon: Ga,
|
|
4033
4301
|
category: "action"
|
|
4034
4302
|
},
|
|
4035
4303
|
schemaGraph: {
|
|
@@ -4049,103 +4317,111 @@ var Ei = {
|
|
|
4049
4317
|
category: "action"
|
|
4050
4318
|
},
|
|
4051
4319
|
download: {
|
|
4052
|
-
icon:
|
|
4320
|
+
icon: Va,
|
|
4053
4321
|
category: "action"
|
|
4054
4322
|
},
|
|
4055
4323
|
upload: {
|
|
4056
|
-
icon:
|
|
4324
|
+
icon: Ha,
|
|
4325
|
+
category: "action"
|
|
4326
|
+
},
|
|
4327
|
+
pause: {
|
|
4328
|
+
icon: Ea,
|
|
4329
|
+
category: "action"
|
|
4330
|
+
},
|
|
4331
|
+
play: {
|
|
4332
|
+
icon: Da,
|
|
4057
4333
|
category: "action"
|
|
4058
4334
|
},
|
|
4059
4335
|
measure: {
|
|
4060
|
-
icon:
|
|
4336
|
+
icon: Ka,
|
|
4061
4337
|
category: "field"
|
|
4062
4338
|
},
|
|
4063
4339
|
dimension: {
|
|
4064
|
-
icon:
|
|
4340
|
+
icon: qa,
|
|
4065
4341
|
category: "field"
|
|
4066
4342
|
},
|
|
4067
4343
|
timeDimension: {
|
|
4068
|
-
icon:
|
|
4344
|
+
icon: Ja,
|
|
4069
4345
|
category: "field"
|
|
4070
4346
|
},
|
|
4071
4347
|
segment: {
|
|
4072
|
-
icon:
|
|
4348
|
+
icon: Ya,
|
|
4073
4349
|
category: "field"
|
|
4074
4350
|
},
|
|
4075
4351
|
chartBar: {
|
|
4076
|
-
icon:
|
|
4352
|
+
icon: co,
|
|
4077
4353
|
category: "chart"
|
|
4078
4354
|
},
|
|
4079
4355
|
chartLine: {
|
|
4080
|
-
icon:
|
|
4356
|
+
icon: lo,
|
|
4081
4357
|
category: "chart"
|
|
4082
4358
|
},
|
|
4083
4359
|
chartArea: {
|
|
4084
|
-
icon:
|
|
4360
|
+
icon: uo,
|
|
4085
4361
|
category: "chart"
|
|
4086
4362
|
},
|
|
4087
4363
|
chartPie: {
|
|
4088
|
-
icon:
|
|
4364
|
+
icon: fo,
|
|
4089
4365
|
category: "chart"
|
|
4090
4366
|
},
|
|
4091
4367
|
chartScatter: {
|
|
4092
|
-
icon:
|
|
4368
|
+
icon: po,
|
|
4093
4369
|
category: "chart"
|
|
4094
4370
|
},
|
|
4095
4371
|
chartBubble: {
|
|
4096
|
-
icon:
|
|
4372
|
+
icon: ho,
|
|
4097
4373
|
category: "chart"
|
|
4098
4374
|
},
|
|
4099
4375
|
chartRadar: {
|
|
4100
|
-
icon:
|
|
4376
|
+
icon: go,
|
|
4101
4377
|
category: "chart"
|
|
4102
4378
|
},
|
|
4103
4379
|
chartRadialBar: {
|
|
4104
|
-
icon:
|
|
4380
|
+
icon: _o,
|
|
4105
4381
|
category: "chart"
|
|
4106
4382
|
},
|
|
4107
4383
|
chartTreemap: {
|
|
4108
|
-
icon:
|
|
4384
|
+
icon: vo,
|
|
4109
4385
|
category: "chart"
|
|
4110
4386
|
},
|
|
4111
4387
|
chartTable: {
|
|
4112
|
-
icon:
|
|
4388
|
+
icon: To,
|
|
4113
4389
|
category: "chart"
|
|
4114
4390
|
},
|
|
4115
4391
|
chartRecordsTable: {
|
|
4116
|
-
icon:
|
|
4392
|
+
icon: yo,
|
|
4117
4393
|
category: "chart"
|
|
4118
4394
|
},
|
|
4119
4395
|
chartActivityGrid: {
|
|
4120
|
-
icon:
|
|
4396
|
+
icon: Eo,
|
|
4121
4397
|
category: "chart"
|
|
4122
4398
|
},
|
|
4123
4399
|
chartKpiNumber: {
|
|
4124
|
-
icon:
|
|
4400
|
+
icon: Do,
|
|
4125
4401
|
category: "chart"
|
|
4126
4402
|
},
|
|
4127
4403
|
chartKpiDelta: {
|
|
4128
|
-
icon:
|
|
4404
|
+
icon: Oo,
|
|
4129
4405
|
category: "chart"
|
|
4130
4406
|
},
|
|
4131
4407
|
chartKpiText: {
|
|
4132
|
-
icon:
|
|
4408
|
+
icon: ko,
|
|
4133
4409
|
category: "chart"
|
|
4134
4410
|
},
|
|
4135
4411
|
chartMarkdown: {
|
|
4136
|
-
icon:
|
|
4412
|
+
icon: Ao,
|
|
4137
4413
|
category: "chart"
|
|
4138
4414
|
},
|
|
4139
4415
|
chartFunnel: {
|
|
4140
|
-
icon:
|
|
4416
|
+
icon: So,
|
|
4141
4417
|
category: "chart"
|
|
4142
4418
|
},
|
|
4143
4419
|
chartSankey: {
|
|
4144
|
-
icon:
|
|
4420
|
+
icon: xo,
|
|
4145
4421
|
category: "chart"
|
|
4146
4422
|
},
|
|
4147
4423
|
chartSunburst: {
|
|
4148
|
-
icon:
|
|
4424
|
+
icon: wo,
|
|
4149
4425
|
category: "chart"
|
|
4150
4426
|
},
|
|
4151
4427
|
chartHeatmap: {
|
|
@@ -4157,7 +4433,7 @@ var Ei = {
|
|
|
4157
4433
|
category: "chart"
|
|
4158
4434
|
},
|
|
4159
4435
|
chartRetention: {
|
|
4160
|
-
icon:
|
|
4436
|
+
icon: Co,
|
|
4161
4437
|
category: "chart"
|
|
4162
4438
|
},
|
|
4163
4439
|
chartBoxPlot: {
|
|
@@ -4169,7 +4445,7 @@ var Ei = {
|
|
|
4169
4445
|
category: "chart"
|
|
4170
4446
|
},
|
|
4171
4447
|
chartDotStrip: {
|
|
4172
|
-
icon:
|
|
4448
|
+
icon: mo,
|
|
4173
4449
|
category: "chart"
|
|
4174
4450
|
},
|
|
4175
4451
|
chartWaterfall: {
|
|
@@ -4197,7 +4473,7 @@ var Ei = {
|
|
|
4197
4473
|
category: "chart"
|
|
4198
4474
|
},
|
|
4199
4475
|
chartProportionBar: {
|
|
4200
|
-
icon:
|
|
4476
|
+
icon: bo,
|
|
4201
4477
|
category: "chart"
|
|
4202
4478
|
},
|
|
4203
4479
|
chartGauge: {
|
|
@@ -4209,83 +4485,83 @@ var Ei = {
|
|
|
4209
4485
|
category: "chart"
|
|
4210
4486
|
},
|
|
4211
4487
|
measureCount: {
|
|
4212
|
-
icon:
|
|
4488
|
+
icon: ro,
|
|
4213
4489
|
category: "measure"
|
|
4214
4490
|
},
|
|
4215
4491
|
measureCountDistinct: {
|
|
4216
|
-
icon:
|
|
4492
|
+
icon: io,
|
|
4217
4493
|
category: "measure"
|
|
4218
4494
|
},
|
|
4219
4495
|
measureCountDistinctApprox: {
|
|
4220
|
-
icon:
|
|
4496
|
+
icon: ao,
|
|
4221
4497
|
category: "measure"
|
|
4222
4498
|
},
|
|
4223
4499
|
measureSum: {
|
|
4224
|
-
icon:
|
|
4500
|
+
icon: oo,
|
|
4225
4501
|
category: "measure"
|
|
4226
4502
|
},
|
|
4227
4503
|
measureAvg: {
|
|
4228
|
-
icon:
|
|
4504
|
+
icon: Qa,
|
|
4229
4505
|
category: "measure"
|
|
4230
4506
|
},
|
|
4231
4507
|
measureMin: {
|
|
4232
|
-
icon:
|
|
4508
|
+
icon: $a,
|
|
4233
4509
|
category: "measure"
|
|
4234
4510
|
},
|
|
4235
4511
|
measureMax: {
|
|
4236
|
-
icon:
|
|
4512
|
+
icon: eo,
|
|
4237
4513
|
category: "measure"
|
|
4238
4514
|
},
|
|
4239
4515
|
measureRunningTotal: {
|
|
4240
|
-
icon:
|
|
4516
|
+
icon: to,
|
|
4241
4517
|
category: "measure"
|
|
4242
4518
|
},
|
|
4243
4519
|
measureCalculated: {
|
|
4244
|
-
icon:
|
|
4520
|
+
icon: no,
|
|
4245
4521
|
category: "measure"
|
|
4246
4522
|
},
|
|
4247
4523
|
measureNumber: {
|
|
4248
|
-
icon:
|
|
4524
|
+
icon: so,
|
|
4249
4525
|
category: "measure"
|
|
4250
4526
|
},
|
|
4251
4527
|
success: {
|
|
4252
|
-
icon:
|
|
4528
|
+
icon: ba,
|
|
4253
4529
|
category: "state"
|
|
4254
4530
|
},
|
|
4255
4531
|
warning: {
|
|
4256
|
-
icon:
|
|
4532
|
+
icon: xa,
|
|
4257
4533
|
category: "state"
|
|
4258
4534
|
},
|
|
4259
4535
|
error: {
|
|
4260
|
-
icon:
|
|
4536
|
+
icon: Sa,
|
|
4261
4537
|
category: "state"
|
|
4262
4538
|
},
|
|
4263
4539
|
info: {
|
|
4264
|
-
icon:
|
|
4540
|
+
icon: jo,
|
|
4265
4541
|
category: "state"
|
|
4266
4542
|
},
|
|
4267
4543
|
loading: {
|
|
4268
|
-
icon:
|
|
4544
|
+
icon: ca,
|
|
4269
4545
|
category: "state"
|
|
4270
4546
|
},
|
|
4271
4547
|
sparkles: {
|
|
4272
|
-
icon:
|
|
4548
|
+
icon: Ca,
|
|
4273
4549
|
category: "state"
|
|
4274
4550
|
},
|
|
4275
4551
|
chevronUp: {
|
|
4276
|
-
icon:
|
|
4552
|
+
icon: ma,
|
|
4277
4553
|
category: "navigation"
|
|
4278
4554
|
},
|
|
4279
4555
|
chevronDown: {
|
|
4280
|
-
icon:
|
|
4556
|
+
icon: ha,
|
|
4281
4557
|
category: "navigation"
|
|
4282
4558
|
},
|
|
4283
4559
|
chevronLeft: {
|
|
4284
|
-
icon:
|
|
4560
|
+
icon: ga,
|
|
4285
4561
|
category: "navigation"
|
|
4286
4562
|
},
|
|
4287
4563
|
chevronRight: {
|
|
4288
|
-
icon:
|
|
4564
|
+
icon: _a,
|
|
4289
4565
|
category: "navigation"
|
|
4290
4566
|
},
|
|
4291
4567
|
chevronUpDown: {
|
|
@@ -4297,51 +4573,51 @@ var Ei = {
|
|
|
4297
4573
|
category: "navigation"
|
|
4298
4574
|
},
|
|
4299
4575
|
arrowUp: {
|
|
4300
|
-
icon:
|
|
4576
|
+
icon: eo,
|
|
4301
4577
|
category: "navigation"
|
|
4302
4578
|
},
|
|
4303
4579
|
arrowDown: {
|
|
4304
|
-
icon:
|
|
4580
|
+
icon: $a,
|
|
4305
4581
|
category: "navigation"
|
|
4306
4582
|
},
|
|
4307
4583
|
arrowRight: {
|
|
4308
|
-
icon:
|
|
4584
|
+
icon: Ma,
|
|
4309
4585
|
category: "navigation"
|
|
4310
4586
|
},
|
|
4311
4587
|
arrowPath: {
|
|
4312
|
-
icon:
|
|
4588
|
+
icon: ca,
|
|
4313
4589
|
category: "navigation"
|
|
4314
4590
|
}
|
|
4315
|
-
}, Y = { ...
|
|
4316
|
-
function
|
|
4591
|
+
}, Y = { ...Mo }, X = /* @__PURE__ */ new Map();
|
|
4592
|
+
function No() {
|
|
4317
4593
|
return Y;
|
|
4318
4594
|
}
|
|
4319
4595
|
function Z(e) {
|
|
4320
4596
|
let t = X.get(e);
|
|
4321
4597
|
if (t) return t;
|
|
4322
4598
|
let n = Y[e];
|
|
4323
|
-
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(
|
|
4599
|
+
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(ra, {
|
|
4324
4600
|
icon: Y.info.icon,
|
|
4325
4601
|
className: e,
|
|
4326
4602
|
...t
|
|
4327
4603
|
});
|
|
4328
|
-
let r = ({ className: e, ...t }) => /* @__PURE__ */ T(
|
|
4604
|
+
let r = ({ className: e, ...t }) => /* @__PURE__ */ T(ra, {
|
|
4329
4605
|
icon: n.icon,
|
|
4330
4606
|
className: e,
|
|
4331
4607
|
...t
|
|
4332
4608
|
});
|
|
4333
4609
|
return X.set(e, r), r;
|
|
4334
4610
|
}
|
|
4335
|
-
function
|
|
4611
|
+
function Po(e) {
|
|
4336
4612
|
return Y[e]?.icon ?? Y.info.icon;
|
|
4337
4613
|
}
|
|
4338
|
-
function
|
|
4614
|
+
function Fo(e, t) {
|
|
4339
4615
|
Y[e] && (Y[e] = {
|
|
4340
4616
|
...Y[e],
|
|
4341
4617
|
icon: t
|
|
4342
4618
|
}, X.delete(e));
|
|
4343
4619
|
}
|
|
4344
|
-
function
|
|
4620
|
+
function Io(e) {
|
|
4345
4621
|
for (let [t, n] of Object.entries(e)) if (n && t in Y) {
|
|
4346
4622
|
let e = t;
|
|
4347
4623
|
if ("body" in n) Y[e] = {
|
|
@@ -4359,15 +4635,15 @@ function to(e) {
|
|
|
4359
4635
|
X.delete(e);
|
|
4360
4636
|
}
|
|
4361
4637
|
}
|
|
4362
|
-
function
|
|
4363
|
-
Y = { ...
|
|
4638
|
+
function Lo() {
|
|
4639
|
+
Y = { ...Mo }, X.clear();
|
|
4364
4640
|
}
|
|
4365
|
-
function
|
|
4641
|
+
function Ro(e) {
|
|
4366
4642
|
let t = {};
|
|
4367
4643
|
for (let [n, r] of Object.entries(Y)) r.category === e && (t[n] = Z(n));
|
|
4368
4644
|
return t;
|
|
4369
4645
|
}
|
|
4370
|
-
function
|
|
4646
|
+
function zo(e) {
|
|
4371
4647
|
return Z({
|
|
4372
4648
|
count: "measureCount",
|
|
4373
4649
|
countDistinct: "measureCountDistinct",
|
|
@@ -4381,11 +4657,11 @@ function io(e) {
|
|
|
4381
4657
|
number: "measureNumber"
|
|
4382
4658
|
}[e || ""] || "measureCount");
|
|
4383
4659
|
}
|
|
4384
|
-
function
|
|
4385
|
-
let t =
|
|
4660
|
+
function Bo(e) {
|
|
4661
|
+
let t = De(e)?.icon;
|
|
4386
4662
|
return t ? typeof t == "string" ? Z(t) : t : Z("chartBar");
|
|
4387
4663
|
}
|
|
4388
|
-
function
|
|
4664
|
+
function Vo(e) {
|
|
4389
4665
|
return Z({
|
|
4390
4666
|
measure: "measure",
|
|
4391
4667
|
dimension: "dimension",
|
|
@@ -4396,7 +4672,7 @@ function oo(e) {
|
|
|
4396
4672
|
}
|
|
4397
4673
|
//#endregion
|
|
4398
4674
|
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
4399
|
-
function
|
|
4675
|
+
function Ho({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
4400
4676
|
let { t: i } = s();
|
|
4401
4677
|
return /* @__PURE__ */ E("div", {
|
|
4402
4678
|
className: "dc-missing-dependency-fallback",
|
|
@@ -4472,8 +4748,8 @@ function so({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4472
4748
|
}
|
|
4473
4749
|
//#endregion
|
|
4474
4750
|
//#region src/client/charts/chartComponentRegistry.tsx
|
|
4475
|
-
var
|
|
4476
|
-
function
|
|
4751
|
+
var Uo = /* @__PURE__ */ new Map(), Wo = /* @__PURE__ */ new Set(), Go = /* @__PURE__ */ new Map();
|
|
4752
|
+
function Ko(e) {
|
|
4477
4753
|
let t = ({ height: t }) => {
|
|
4478
4754
|
let { t: n } = s();
|
|
4479
4755
|
return /* @__PURE__ */ E("div", {
|
|
@@ -4494,8 +4770,8 @@ function fo(e) {
|
|
|
4494
4770
|
};
|
|
4495
4771
|
return t.displayName = `UnknownChart_${e}`, t;
|
|
4496
4772
|
}
|
|
4497
|
-
function
|
|
4498
|
-
let t =
|
|
4773
|
+
function qo(e) {
|
|
4774
|
+
let t = De(e)?.dependencies, n = ({ height: n }) => /* @__PURE__ */ T(Ho, {
|
|
4499
4775
|
chartType: e,
|
|
4500
4776
|
packageName: t?.packageName || "unknown",
|
|
4501
4777
|
installCommand: t?.installCommand || "npm install [package-name]",
|
|
@@ -4503,33 +4779,33 @@ function po(e) {
|
|
|
4503
4779
|
});
|
|
4504
4780
|
return n.displayName = `${e}Fallback`, n;
|
|
4505
4781
|
}
|
|
4506
|
-
function
|
|
4782
|
+
function Jo(e, t) {
|
|
4507
4783
|
return async () => {
|
|
4508
4784
|
try {
|
|
4509
4785
|
return await t();
|
|
4510
4786
|
} catch (t) {
|
|
4511
|
-
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t),
|
|
4787
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Wo.add(e), { default: qo(e) };
|
|
4512
4788
|
}
|
|
4513
4789
|
};
|
|
4514
4790
|
}
|
|
4515
|
-
function
|
|
4516
|
-
if (
|
|
4517
|
-
let t = r ?
|
|
4518
|
-
|
|
4791
|
+
function Yo(e, t, n, r) {
|
|
4792
|
+
if (Uo.delete(e), Wo.delete(e), n) {
|
|
4793
|
+
let t = r ? Jo(e, n) : n;
|
|
4794
|
+
Go.set(e, ve(t));
|
|
4519
4795
|
} else if (t) {
|
|
4520
4796
|
let n = t;
|
|
4521
|
-
|
|
4797
|
+
Go.set(e, ve(() => Promise.resolve({ default: n })));
|
|
4522
4798
|
}
|
|
4523
4799
|
}
|
|
4524
|
-
function
|
|
4525
|
-
|
|
4800
|
+
function Xo(e) {
|
|
4801
|
+
Go.delete(e), Uo.delete(e), Wo.delete(e);
|
|
4526
4802
|
}
|
|
4527
4803
|
//#endregion
|
|
4528
4804
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
4529
|
-
function
|
|
4530
|
-
let { meta: t, labelMap: n, isLoading: r, error: i, refetch: a, getFieldLabel: o } =
|
|
4805
|
+
function Zo({ children: e }) {
|
|
4806
|
+
let { meta: t, labelMap: n, isLoading: r, error: i, refetch: a, getFieldLabel: o } = Bn(), s = i ? i instanceof Error ? i.message : String(i) : null, c = ye(() => {
|
|
4531
4807
|
a();
|
|
4532
|
-
}, [a]), l =
|
|
4808
|
+
}, [a]), l = ye((e) => o(e), [o]), u = C(() => ({
|
|
4533
4809
|
meta: t,
|
|
4534
4810
|
labelMap: n,
|
|
4535
4811
|
metaLoading: r,
|
|
@@ -4551,7 +4827,7 @@ function _o({ children: e }) {
|
|
|
4551
4827
|
}
|
|
4552
4828
|
//#endregion
|
|
4553
4829
|
//#region src/client/components/charts/RecordsTable.config.ts
|
|
4554
|
-
var
|
|
4830
|
+
var Qo = /* @__PURE__ */ t({ recordsTableConfig: () => $o }), $o = {
|
|
4555
4831
|
dropZones: [{
|
|
4556
4832
|
key: "columns",
|
|
4557
4833
|
label: "chart.recordsTable.dropZone.columns.label",
|
|
@@ -4615,7 +4891,7 @@ var vo = /* @__PURE__ */ t({ recordsTableConfig: () => yo }), yo = {
|
|
|
4615
4891
|
],
|
|
4616
4892
|
clickableElements: { row: !0 },
|
|
4617
4893
|
recordGrain: !0
|
|
4618
|
-
},
|
|
4894
|
+
}, es = /* @__PURE__ */ t({ retentionHeatmapConfig: () => ts }), ts = {
|
|
4619
4895
|
dropZones: [],
|
|
4620
4896
|
displayOptionsConfig: [{
|
|
4621
4897
|
key: "showLegend",
|
|
@@ -4630,7 +4906,7 @@ var vo = /* @__PURE__ */ t({ recordsTableConfig: () => yo }), yo = {
|
|
|
4630
4906
|
defaultValue: !0,
|
|
4631
4907
|
description: "chart.option.showTooltip.description"
|
|
4632
4908
|
}]
|
|
4633
|
-
},
|
|
4909
|
+
}, ns = /* @__PURE__ */ t({ retentionCombinedConfig: () => rs }), rs = {
|
|
4634
4910
|
dropZones: [],
|
|
4635
4911
|
displayOptionsConfig: [
|
|
4636
4912
|
{
|
|
@@ -4676,7 +4952,7 @@ var vo = /* @__PURE__ */ t({ recordsTableConfig: () => yo }), yo = {
|
|
|
4676
4952
|
description: "chart.option.showTooltip.description"
|
|
4677
4953
|
}
|
|
4678
4954
|
]
|
|
4679
|
-
},
|
|
4955
|
+
}, is = /* @__PURE__ */ t({ dotStripChartConfig: () => as }), as = {
|
|
4680
4956
|
displayOptions: [
|
|
4681
4957
|
"showGrid",
|
|
4682
4958
|
"showTooltip",
|
|
@@ -4787,7 +5063,7 @@ var vo = /* @__PURE__ */ t({ recordsTableConfig: () => yo }), yo = {
|
|
|
4787
5063
|
description: "chart.option.xAxisFormat.description"
|
|
4788
5064
|
}
|
|
4789
5065
|
]
|
|
4790
|
-
},
|
|
5066
|
+
}, os = /* @__PURE__ */ t({ proportionBarChartConfig: () => ss }), ss = {
|
|
4791
5067
|
dropZones: [{
|
|
4792
5068
|
key: "xAxis",
|
|
4793
5069
|
label: "chart.configText.category",
|
|
@@ -4845,7 +5121,7 @@ var vo = /* @__PURE__ */ t({ recordsTableConfig: () => yo }), yo = {
|
|
|
4845
5121
|
isValid: !1,
|
|
4846
5122
|
message: "chart.proportionBar.validation.measureRequired"
|
|
4847
5123
|
} : { isValid: !0 }
|
|
4848
|
-
},
|
|
5124
|
+
}, cs = {
|
|
4849
5125
|
bar: f,
|
|
4850
5126
|
line: p,
|
|
4851
5127
|
area: r,
|
|
@@ -4854,40 +5130,40 @@ var vo = /* @__PURE__ */ t({ recordsTableConfig: () => yo }), yo = {
|
|
|
4854
5130
|
bubble: g,
|
|
4855
5131
|
radar: _,
|
|
4856
5132
|
radialBar: v,
|
|
4857
|
-
treemap:
|
|
4858
|
-
table:
|
|
4859
|
-
recordsTable:
|
|
4860
|
-
activityGrid:
|
|
4861
|
-
kpiNumber:
|
|
4862
|
-
kpiDelta:
|
|
4863
|
-
kpiText:
|
|
4864
|
-
markdown:
|
|
4865
|
-
funnel:
|
|
4866
|
-
sankey:
|
|
4867
|
-
sunburst:
|
|
4868
|
-
heatmap:
|
|
4869
|
-
retentionHeatmap:
|
|
4870
|
-
retentionCombined:
|
|
4871
|
-
boxPlot:
|
|
4872
|
-
dotStrip:
|
|
4873
|
-
waterfall:
|
|
4874
|
-
candlestick:
|
|
4875
|
-
measureProfile:
|
|
4876
|
-
proportionBar:
|
|
4877
|
-
gauge:
|
|
4878
|
-
}, Q = Object.fromEntries(Object.keys(
|
|
4879
|
-
function
|
|
5133
|
+
treemap: y,
|
|
5134
|
+
table: b,
|
|
5135
|
+
recordsTable: $o,
|
|
5136
|
+
activityGrid: ee,
|
|
5137
|
+
kpiNumber: te,
|
|
5138
|
+
kpiDelta: ne,
|
|
5139
|
+
kpiText: re,
|
|
5140
|
+
markdown: ie,
|
|
5141
|
+
funnel: ae,
|
|
5142
|
+
sankey: oe,
|
|
5143
|
+
sunburst: se,
|
|
5144
|
+
heatmap: ce,
|
|
5145
|
+
retentionHeatmap: ts,
|
|
5146
|
+
retentionCombined: rs,
|
|
5147
|
+
boxPlot: le,
|
|
5148
|
+
dotStrip: as,
|
|
5149
|
+
waterfall: ue,
|
|
5150
|
+
candlestick: de,
|
|
5151
|
+
measureProfile: fe,
|
|
5152
|
+
proportionBar: ss,
|
|
5153
|
+
gauge: pe
|
|
5154
|
+
}, Q = Object.fromEntries(Object.keys(Te).map((e) => [e, je(Te[e], cs[e])]));
|
|
5155
|
+
function ls(e) {
|
|
4880
5156
|
return Q[e]?.recordGrain === !0;
|
|
4881
5157
|
}
|
|
4882
|
-
function
|
|
5158
|
+
function us(e, t) {
|
|
4883
5159
|
Q[e] = t;
|
|
4884
5160
|
}
|
|
4885
|
-
function
|
|
5161
|
+
function ds(e) {
|
|
4886
5162
|
delete Q[e];
|
|
4887
5163
|
}
|
|
4888
5164
|
//#endregion
|
|
4889
5165
|
//#region src/client/charts/chartPlugin.ts
|
|
4890
|
-
function
|
|
5166
|
+
function fs(e, t) {
|
|
4891
5167
|
return {
|
|
4892
5168
|
label: t.label ?? e.label,
|
|
4893
5169
|
icon: e.icon ?? "chartBar",
|
|
@@ -4908,16 +5184,16 @@ var $ = new class {
|
|
|
4908
5184
|
...e.config,
|
|
4909
5185
|
label: e.config.label || e.label
|
|
4910
5186
|
};
|
|
4911
|
-
Q[e.type] && !this.builtInBackups.has(e.type) && !this.customCharts.has(e.type) && this.builtInBackups.set(e.type, Q[e.type]), this.customCharts.set(e.type, e),
|
|
5187
|
+
Q[e.type] && !this.builtInBackups.has(e.type) && !this.customCharts.has(e.type) && this.builtInBackups.set(e.type, Q[e.type]), this.customCharts.set(e.type, e), Oe(e.type, fs(e, t)), us(e.type, t), We(e.type, t), Yo(e.type, e.component, e.lazyComponent, e.dependencies), this.bump();
|
|
4912
5188
|
}
|
|
4913
5189
|
unregister(e) {
|
|
4914
5190
|
if (!this.customCharts.has(e)) return;
|
|
4915
|
-
this.customCharts.delete(e),
|
|
5191
|
+
this.customCharts.delete(e), ke(e);
|
|
4916
5192
|
let t = this.builtInBackups.get(e);
|
|
4917
|
-
t ? (
|
|
5193
|
+
t ? (us(e, t), We(e, t), this.builtInBackups.delete(e)) : (ds(e), Ge(e)), Xo(e), this.bump();
|
|
4918
5194
|
}
|
|
4919
5195
|
getIcon(e) {
|
|
4920
|
-
let t =
|
|
5196
|
+
let t = Ae(e)?.icon;
|
|
4921
5197
|
return t && typeof t != "string" ? t : void 0;
|
|
4922
5198
|
}
|
|
4923
5199
|
getCustomTypes() {
|
|
@@ -4934,23 +5210,23 @@ var $ = new class {
|
|
|
4934
5210
|
this.version++;
|
|
4935
5211
|
for (let e of this.listeners) e();
|
|
4936
5212
|
}
|
|
4937
|
-
}(),
|
|
4938
|
-
function
|
|
5213
|
+
}(), ps = { apiUrl: "/cubejs-api/v1" }, ms = 3;
|
|
5214
|
+
function hs(e) {
|
|
4939
5215
|
let t = e?.status;
|
|
4940
5216
|
return typeof t == "number" && t >= 400 && t < 500;
|
|
4941
5217
|
}
|
|
4942
|
-
var
|
|
5218
|
+
var gs = () => new nn({ defaultOptions: { queries: {
|
|
4943
5219
|
staleTime: 3e5,
|
|
4944
5220
|
gcTime: 9e5,
|
|
4945
|
-
retry: (e, t) => !
|
|
5221
|
+
retry: (e, t) => !hs(t) && e < ms,
|
|
4946
5222
|
refetchOnWindowFocus: !1
|
|
4947
5223
|
} } });
|
|
4948
|
-
|
|
4949
|
-
function
|
|
5224
|
+
gs();
|
|
5225
|
+
function _s({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dashboardModes: a, enableBatching: o, batchDelayMs: s, queryClient: u, customCharts: d, locale: f, translations: p, debugI18n: m, children: h }) {
|
|
4950
5226
|
S(() => {
|
|
4951
5227
|
l(!!m);
|
|
4952
5228
|
}, [m]);
|
|
4953
|
-
let [g] = w(() =>
|
|
5229
|
+
let [g] = w(() => gs()), _ = u ?? g, v = xe([]);
|
|
4954
5230
|
return S(() => {
|
|
4955
5231
|
if (!d || d.length === 0) {
|
|
4956
5232
|
for (let e of v.current) $.unregister(e);
|
|
@@ -4967,16 +5243,16 @@ function Lo({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
|
|
|
4967
5243
|
}, [d]), /* @__PURE__ */ T(c, {
|
|
4968
5244
|
locale: f,
|
|
4969
5245
|
translations: p,
|
|
4970
|
-
children: /* @__PURE__ */ T(
|
|
5246
|
+
children: /* @__PURE__ */ T(ot, {
|
|
4971
5247
|
client: _,
|
|
4972
|
-
children: /* @__PURE__ */ T(
|
|
4973
|
-
apiOptions: t ||
|
|
5248
|
+
children: /* @__PURE__ */ T(In, {
|
|
5249
|
+
apiOptions: t || ps,
|
|
4974
5250
|
token: n,
|
|
4975
5251
|
options: r,
|
|
4976
5252
|
locale: f,
|
|
4977
5253
|
enableBatching: o,
|
|
4978
5254
|
batchDelayMs: s,
|
|
4979
|
-
children: /* @__PURE__ */ T(
|
|
5255
|
+
children: /* @__PURE__ */ T(Zo, { children: /* @__PURE__ */ T(_r, {
|
|
4980
5256
|
features: i,
|
|
4981
5257
|
dashboardModes: a,
|
|
4982
5258
|
children: h
|
|
@@ -4985,8 +5261,8 @@ function Lo({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
|
|
|
4985
5261
|
})
|
|
4986
5262
|
});
|
|
4987
5263
|
}
|
|
4988
|
-
function
|
|
4989
|
-
let e =
|
|
5264
|
+
function vs() {
|
|
5265
|
+
let e = Ln(), t = a(), n = yr();
|
|
4990
5266
|
return C(() => ({
|
|
4991
5267
|
...e,
|
|
4992
5268
|
...t,
|
|
@@ -5000,14 +5276,14 @@ function Ro() {
|
|
|
5000
5276
|
}
|
|
5001
5277
|
//#endregion
|
|
5002
5278
|
//#region src/client/utils/pivotUtils.ts
|
|
5003
|
-
function
|
|
5279
|
+
function ys(e) {
|
|
5004
5280
|
if (!e) return [];
|
|
5005
5281
|
let t = [];
|
|
5006
5282
|
return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
|
|
5007
5283
|
t.includes(e.dimension) || t.push(e.dimension);
|
|
5008
5284
|
}), e.measures && t.push(...e.measures), t;
|
|
5009
5285
|
}
|
|
5010
|
-
function
|
|
5286
|
+
function bs(e, t) {
|
|
5011
5287
|
if (!e?.timeDimensions?.length) return null;
|
|
5012
5288
|
let n = e.timeDimensions.find((e) => e.granularity);
|
|
5013
5289
|
if (!n?.granularity || !e.measures?.length) return null;
|
|
@@ -5024,7 +5300,7 @@ function Bo(e, t) {
|
|
|
5024
5300
|
measures: i
|
|
5025
5301
|
};
|
|
5026
5302
|
}
|
|
5027
|
-
function
|
|
5303
|
+
function xs(e, t, n) {
|
|
5028
5304
|
let r = /* @__PURE__ */ new Set();
|
|
5029
5305
|
return e.forEach((e) => {
|
|
5030
5306
|
let i = e[t];
|
|
@@ -5034,7 +5310,7 @@ function Vo(e, t, n) {
|
|
|
5034
5310
|
}
|
|
5035
5311
|
}), Array.from(r).sort();
|
|
5036
5312
|
}
|
|
5037
|
-
function
|
|
5313
|
+
function Ss(e, t, n) {
|
|
5038
5314
|
let r = [];
|
|
5039
5315
|
return e.measures.length > 1 && r.push({
|
|
5040
5316
|
key: "__measure__",
|
|
@@ -5055,20 +5331,23 @@ function Ho(e, t, n) {
|
|
|
5055
5331
|
});
|
|
5056
5332
|
}), r;
|
|
5057
5333
|
}
|
|
5058
|
-
function
|
|
5334
|
+
function Cs(e, t) {
|
|
5059
5335
|
let n = /* @__PURE__ */ new Map();
|
|
5060
5336
|
return e.forEach((e) => {
|
|
5061
5337
|
let r = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
|
|
5062
5338
|
n.has(r) || n.set(r, /* @__PURE__ */ new Map());
|
|
5063
5339
|
let i = e[t.timeDimension];
|
|
5064
5340
|
if (i != null) {
|
|
5065
|
-
let a = o(i, t.granularity);
|
|
5066
|
-
|
|
5341
|
+
let a = o(i, t.granularity), s = n.get(r), c = s.get(a);
|
|
5342
|
+
s.set(a, c ? {
|
|
5343
|
+
...c,
|
|
5344
|
+
...e
|
|
5345
|
+
} : e);
|
|
5067
5346
|
}
|
|
5068
5347
|
}), n;
|
|
5069
5348
|
}
|
|
5070
|
-
function
|
|
5071
|
-
let i =
|
|
5349
|
+
function ws(e, t, n, r) {
|
|
5350
|
+
let i = Cs(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
|
|
5072
5351
|
return t.measures.forEach((e) => {
|
|
5073
5352
|
a.forEach((a, l) => {
|
|
5074
5353
|
let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
|
|
@@ -5089,20 +5368,20 @@ function Wo(e, t, n, r) {
|
|
|
5089
5368
|
});
|
|
5090
5369
|
}), o;
|
|
5091
5370
|
}
|
|
5092
|
-
function
|
|
5371
|
+
function Ts(e, t, n, r) {
|
|
5093
5372
|
if (!e || e.length === 0) return {
|
|
5094
5373
|
isPivoted: !0,
|
|
5095
5374
|
columns: [],
|
|
5096
5375
|
rows: []
|
|
5097
5376
|
};
|
|
5098
|
-
let i =
|
|
5377
|
+
let i = xs(e, t.timeDimension, t.granularity);
|
|
5099
5378
|
return {
|
|
5100
5379
|
isPivoted: !0,
|
|
5101
|
-
columns:
|
|
5102
|
-
rows:
|
|
5380
|
+
columns: Ss(t, i, n),
|
|
5381
|
+
rows: ws(e, t, i, n)
|
|
5103
5382
|
};
|
|
5104
5383
|
}
|
|
5105
|
-
function
|
|
5384
|
+
function Es(e, t) {
|
|
5106
5385
|
if (t?.cubes) for (let n of t.cubes) {
|
|
5107
5386
|
let t = n.measures.find((t) => t.name === e);
|
|
5108
5387
|
if (t) return t.type;
|
|
@@ -5110,8 +5389,8 @@ function Ko(e, t) {
|
|
|
5110
5389
|
}
|
|
5111
5390
|
//#endregion
|
|
5112
5391
|
//#region src/client/components/charts/DataTable.tsx
|
|
5113
|
-
var
|
|
5114
|
-
let { t: o } = s(), { getFieldLabel: c, meta: l } = a(), u = C(() =>
|
|
5392
|
+
var Ds = /* @__PURE__ */ t({ default: () => Os }), Os = me.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: r, height: i = 300 }) {
|
|
5393
|
+
let { t: o } = s(), { getFieldLabel: c, meta: l } = a(), u = C(() => bs(r, t?.xAxis), [r, t?.xAxis]), d = n?.pivotTimeDimension !== !1, f = C(() => !u || !d ? null : Ts(e, u, c, l), [
|
|
5115
5394
|
e,
|
|
5116
5395
|
u,
|
|
5117
5396
|
d,
|
|
@@ -5131,12 +5410,12 @@ var qo = /* @__PURE__ */ t({ default: () => Jo }), Jo = he.memo(function({ data:
|
|
|
5131
5410
|
children: o("chart.runtime.noDataHint.table")
|
|
5132
5411
|
})]
|
|
5133
5412
|
})
|
|
5134
|
-
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */ T(
|
|
5413
|
+
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */ T(ks, {
|
|
5135
5414
|
pivotedData: f,
|
|
5136
5415
|
height: i,
|
|
5137
5416
|
meta: l,
|
|
5138
5417
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
5139
|
-
}) : /* @__PURE__ */ T(
|
|
5418
|
+
}) : /* @__PURE__ */ T(Ms, {
|
|
5140
5419
|
data: e,
|
|
5141
5420
|
chartConfig: t,
|
|
5142
5421
|
queryObject: r,
|
|
@@ -5145,7 +5424,7 @@ var qo = /* @__PURE__ */ t({ default: () => Jo }), Jo = he.memo(function({ data:
|
|
|
5145
5424
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
5146
5425
|
});
|
|
5147
5426
|
});
|
|
5148
|
-
function
|
|
5427
|
+
function ks({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
5149
5428
|
let { t: i } = s(), { columns: a, rows: o } = e;
|
|
5150
5429
|
return a.length === 0 || o.length === 0 ? /* @__PURE__ */ T("div", {
|
|
5151
5430
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
@@ -5173,7 +5452,7 @@ function Yo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
5173
5452
|
}, e.key)) })
|
|
5174
5453
|
}), /* @__PURE__ */ T("tbody", {
|
|
5175
5454
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
5176
|
-
children: o.map((e) => /* @__PURE__ */ T(
|
|
5455
|
+
children: o.map((e) => /* @__PURE__ */ T(As, {
|
|
5177
5456
|
row: e,
|
|
5178
5457
|
columns: a,
|
|
5179
5458
|
meta: n,
|
|
@@ -5183,8 +5462,8 @@ function Yo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
5183
5462
|
})
|
|
5184
5463
|
});
|
|
5185
5464
|
}
|
|
5186
|
-
function
|
|
5187
|
-
let i =
|
|
5465
|
+
function As({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
5466
|
+
let i = zo(Es(e.measureField, n));
|
|
5188
5467
|
return /* @__PURE__ */ T("tr", {
|
|
5189
5468
|
className: "hover:bg-dc-surface-secondary",
|
|
5190
5469
|
children: t.map((t) => {
|
|
@@ -5198,21 +5477,21 @@ function Xo({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
|
5198
5477
|
})
|
|
5199
5478
|
}, t.key) : t.isTimeColumn ? /* @__PURE__ */ T("td", {
|
|
5200
5479
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
|
|
5201
|
-
children:
|
|
5480
|
+
children: js(n, r)
|
|
5202
5481
|
}, t.key) : /* @__PURE__ */ T("td", {
|
|
5203
5482
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
5204
|
-
children:
|
|
5483
|
+
children: js(n)
|
|
5205
5484
|
}, t.key);
|
|
5206
5485
|
})
|
|
5207
5486
|
});
|
|
5208
5487
|
}
|
|
5209
|
-
function
|
|
5488
|
+
function js(e, t) {
|
|
5210
5489
|
return e == null ? "-" : typeof e == "number" ? t ? u(e, t) : Number.isInteger(e) ? e.toLocaleString() : parseFloat(e.toFixed(2)).toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
5211
5490
|
}
|
|
5212
|
-
function
|
|
5213
|
-
let { t: o } = s(), c =
|
|
5491
|
+
function Ms({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
|
|
5492
|
+
let { t: o } = s(), c = C(() => qe(e), [e]), l = C(() => {
|
|
5214
5493
|
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => c.includes(e));
|
|
5215
|
-
let e =
|
|
5494
|
+
let e = ys(n);
|
|
5216
5495
|
if (e.length > 0) {
|
|
5217
5496
|
let t = e.filter((e) => c.includes(e)), n = c.filter((e) => !t.includes(e));
|
|
5218
5497
|
return [...t, ...n];
|
|
@@ -5253,17 +5532,17 @@ function Qo({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel:
|
|
|
5253
5532
|
className: "hover:bg-dc-surface-secondary",
|
|
5254
5533
|
children: l.map((t) => /* @__PURE__ */ T("td", {
|
|
5255
5534
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
5256
|
-
children:
|
|
5535
|
+
children: Ns(e[t], a)
|
|
5257
5536
|
}, t))
|
|
5258
5537
|
}, t))
|
|
5259
5538
|
})]
|
|
5260
5539
|
})
|
|
5261
5540
|
});
|
|
5262
5541
|
}
|
|
5263
|
-
function
|
|
5542
|
+
function Ns(e, t) {
|
|
5264
5543
|
return e == null ? "" : typeof e == "number" ? t ? u(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
5265
5544
|
}
|
|
5266
5545
|
//#endregion
|
|
5267
|
-
export {
|
|
5546
|
+
export { bn as $, yr as A, rt as At, Ln as B, zo as C, qe as Ct, Mo as D, et as Dt, Fo as E, Ye as Et, Yn as F, He as Ft, kn as G, An as H, Kn as I, Be as It, Dn as J, En as K, Gn as L, Ve as Lt, lr as M, k as Mt, ur as N, Le as Nt, jo as O, $e as Ot, Wn as P, Re as Pt, Tn as Q, Un as R, ze as Rt, Ro as S, tt as St, Lo as T, Xe as Tt, Nn as U, jn as V, On as W, Cn as X, Sn as Y, wn as Z, Bo as _, vt as _t, bs as a, ln as at, Po as b, Je as bt, vs as c, cn as ct, ls as d, Kt as dt, B as et, Uo as f, L as ft, Wo as g, _t as gt, Go as h, j as ht, ys as i, pn as it, mr as j, Ue as jt, ra as k, Qe as kt, $ as l, an as lt, Ko as m, N as mt, Ds as n, fn as nt, Ts as o, dn as ot, Jo as p, I as pt, xn as q, Es as r, mn as rt, _s as s, un as st, Os as t, gn as tt, Q as u, $t as ut, Vo as v, Dt as vt, Io as w, Ze as wt, No as x, nt as xt, Z as y, at as yt, Bn as z, Ce as zt };
|
|
5268
5547
|
|
|
5269
|
-
//# sourceMappingURL=chart-data-table-
|
|
5548
|
+
//# sourceMappingURL=chart-data-table-uJG1V-be.js.map
|