drizzle-cube 0.8.0 → 0.8.2
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-Bc7mPqcf.cjs +1 -0
- package/dist/adapters/ActivityGridChart.config-Dd2YDeaM.js +2 -0
- package/dist/adapters/AreaChart.config-BqNusnpg.js +2 -0
- package/dist/adapters/AreaChart.config-dI84V34B.cjs +1 -0
- package/dist/adapters/BarChart.config-B9MQjgLJ.cjs +1 -0
- package/dist/adapters/BarChart.config-Cq_qcxBA.js +2 -0
- package/dist/adapters/BoxPlotChart.config-XmtRN2xq.cjs +1 -0
- package/dist/adapters/BoxPlotChart.config-Zc-JGV-W.js +2 -0
- package/dist/adapters/BubbleChart.config-CU_18uxb.js +2 -0
- package/dist/adapters/BubbleChart.config-CbhOzA6-.cjs +1 -0
- package/dist/adapters/CandlestickChart.config-Bwo3uaa-.js +2 -0
- package/dist/adapters/CandlestickChart.config-CmRBlWFv.cjs +1 -0
- package/dist/adapters/DataTable.config-7JNSj6qQ.js +2 -0
- package/dist/adapters/DataTable.config-DNxm1sYk.cjs +1 -0
- package/dist/adapters/DotStripChart.config-B7Dl-T1h.js +2 -0
- package/dist/adapters/DotStripChart.config-Co4g1fpZ.cjs +1 -0
- package/dist/adapters/FunnelChart.config-D1TpuGtL.cjs +1 -0
- package/dist/adapters/FunnelChart.config-vuZScOHQ.js +2 -0
- package/dist/adapters/GaugeChart.config-BMgUHKhC.cjs +1 -0
- package/dist/adapters/GaugeChart.config-zdpFydo6.js +2 -0
- package/dist/adapters/HeatMapChart.config-4XMab1zq.js +2 -0
- package/dist/adapters/HeatMapChart.config-C-Ns6QBq.cjs +1 -0
- package/dist/adapters/KpiDelta.config-BGdqsHcc.js +2 -0
- package/dist/adapters/KpiDelta.config-DuNxrGIi.cjs +1 -0
- package/dist/adapters/KpiNumber.config-CkPWpcSz.js +2 -0
- package/dist/adapters/KpiNumber.config-DMGmuA3i.cjs +1 -0
- package/dist/adapters/KpiText.config-Bvtuv8vE.js +2 -0
- package/dist/adapters/KpiText.config-DOMLO16U.cjs +1 -0
- package/dist/adapters/LineChart.config-CJmTSmZ1.js +2 -0
- package/dist/adapters/LineChart.config-CrkGu0aa.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-BgY5Xc97.cjs +1 -0
- package/dist/adapters/MarkdownChart.config-Cm6G4Yuh.js +2 -0
- package/dist/adapters/MeasureProfileChart.config-BYwDo_ox.cjs +1 -0
- package/dist/adapters/MeasureProfileChart.config-Dt7npubZ.js +2 -0
- package/dist/adapters/PieChart.config-BRbPctBN.cjs +1 -0
- package/dist/adapters/PieChart.config-HZofeody.js +2 -0
- package/dist/adapters/ProportionBarChart.config-B_rTtGZr.cjs +1 -0
- package/dist/adapters/ProportionBarChart.config-ChCSoM0L.js +2 -0
- package/dist/adapters/RadarChart.config-B9OdMEib.js +2 -0
- package/dist/adapters/RadarChart.config-BOgPD2Kz.cjs +1 -0
- package/dist/adapters/RadialBarChart.config-CeP7jEbq.js +2 -0
- package/dist/adapters/RadialBarChart.config-sivA1Jmo.cjs +1 -0
- package/dist/adapters/RecordsTable.config-BInSgo-G.js +2 -0
- package/dist/adapters/RecordsTable.config-CVmxLdjz.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-8ry7gh6X.cjs +1 -0
- package/dist/adapters/RetentionCombinedChart.config-Bxtxnlcf.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-DCtOD8dO.js +2 -0
- package/dist/adapters/RetentionHeatmap.config-i-LgmmIT.cjs +1 -0
- package/dist/adapters/SankeyChart.config-DfpeHfNT.cjs +1 -0
- package/dist/adapters/SankeyChart.config-hfM0ACm1.js +2 -0
- package/dist/adapters/ScatterChart.config-BD2vfOZ6.js +2 -0
- package/dist/adapters/ScatterChart.config-CdpvRueF.cjs +1 -0
- package/dist/adapters/SunburstChart.config-Boyt88L_.cjs +1 -0
- package/dist/adapters/SunburstChart.config-BvrofzMv.js +2 -0
- package/dist/adapters/TreeMapChart.config-DBrqwtqT.js +2 -0
- package/dist/adapters/TreeMapChart.config-KcRLlZAG.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-CuCGaIl5.cjs +1 -0
- package/dist/adapters/WaterfallChart.config-DZ8H0V2L.js +2 -0
- package/dist/adapters/{compiler-CQJ5GOwF.js → compiler-BFLAXV7W.js} +1160 -1861
- package/dist/adapters/compiler-DG6dLFQU.cjs +166 -0
- package/dist/adapters/core/index.cjs +1 -1
- package/dist/adapters/core/index.js +1 -1
- package/dist/adapters/{core-DgTGXxDu.cjs → core-CrJu6vJY.cjs} +1 -1
- package/dist/adapters/{core-DXkuSUBg.js → core-l3KMTu9u.js} +3 -3
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +5 -5
- package/dist/adapters/fastify/index.cjs +1 -1
- package/dist/adapters/fastify/index.js +23 -23
- package/dist/{server/google-eKAc20al.js → adapters/google-DRY7jnOh.js} +46 -28
- package/dist/adapters/{google-BhvizbFR.cjs → google-PsZzwedr.cjs} +2 -2
- package/dist/adapters/handler-CRGZ8gd2.cjs +25 -0
- package/dist/adapters/{handler-CphYSZRh.js → handler-DESp4wPg.js} +454 -237
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +4 -4
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +2 -2
- package/dist/adapters/mcp-transport-BqdBHmXL.js +730 -0
- package/dist/adapters/mcp-transport-D8xZJLPD.cjs +42 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +5 -5
- package/dist/adapters/{openai-CBrN4nxl.js → openai-BJyU4kvE.js} +3 -3
- package/dist/adapters/{openai-CSzWluuv.cjs → openai-DH9MtcLA.cjs} +1 -1
- package/dist/adapters/{openai-D-VMcPao.js → openai-DK_KWiI7.js} +1 -1
- package/dist/adapters/{openai-CI9vGKSf.cjs → openai-GO3M7Hwi.cjs} +2 -2
- package/dist/adapters/{utils-DkmShl5f.js → utils-BhlkVCzZ.js} +1985 -1122
- package/dist/adapters/utils-C1JpSDOX.cjs +128 -0
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.d.ts +17 -3
- package/dist/adapters/utils.js +1 -1
- package/dist/cjs/adapters/utils.d.ts +17 -3
- package/dist/cjs/client/charts/chartConfigRegistry.d.ts +7 -0
- package/dist/cjs/client/charts/chartConfigs.d.ts +17 -1
- package/dist/cjs/client/client/CubeClient.d.ts +11 -1
- package/dist/cjs/client/components/AnalysisBuilder/AnalysisDisplayConfigPanel.d.ts +4 -2
- package/dist/cjs/client/components/AnalysisBuilder/ColumnFormatsEditor.d.ts +10 -0
- package/dist/cjs/client/components/AnalysisBuilder/DisplayOptionControl.d.ts +3 -2
- package/dist/cjs/client/components/AnalysisBuilder/utils/queryUtils.d.ts +7 -1
- package/dist/cjs/client/components/analyticsPortlet/PortletChart.d.ts +2 -1
- package/dist/cjs/client/components/analyticsPortlet/PortletChartView.d.ts +4 -1
- package/dist/cjs/client/components/analyticsPortlet/usePortletDeadMembers.d.ts +24 -0
- package/dist/cjs/client/components/analyticsPortlet/usePortletPagination.d.ts +21 -0
- package/dist/cjs/client/components/charts/DotStripChart.config.d.ts +15 -0
- package/dist/cjs/client/components/charts/DotStripChart.d.ts +4 -0
- package/dist/cjs/client/components/charts/DotStripChart.helpers.d.ts +91 -0
- package/dist/cjs/client/components/charts/RecordsTable.config.d.ts +10 -0
- package/dist/cjs/client/components/charts/RecordsTable.d.ts +4 -0
- package/dist/cjs/client/components/charts/recordsTableHooks.d.ts +68 -0
- package/dist/cjs/client/icons/types.d.ts +2 -0
- package/dist/cjs/client/index.d.ts +2 -2
- package/dist/cjs/client/types.d.ts +97 -1
- package/dist/cjs/client/utils/recordsTableUtils.d.ts +71 -0
- package/dist/cjs/client/utils/rowLinkUtils.d.ts +35 -0
- package/dist/cjs/server/agent/chart-validation.d.ts +1 -1
- package/dist/cjs/server/ai/chart-schema.d.ts +117 -0
- package/dist/cjs/server/ai/discovery-helpers.d.ts +14 -0
- package/dist/cjs/server/ai/discovery.d.ts +6 -0
- package/dist/cjs/server/ai/query-schema.d.ts +1 -1
- package/dist/cjs/server/attribute-dimensions.d.ts +11 -8
- package/dist/cjs/server/builders/group-by-builder.d.ts +15 -0
- package/dist/cjs/server/compiler.d.ts +3 -4
- package/dist/cjs/server/executor.d.ts +15 -0
- package/dist/cjs/server/index.d.ts +2 -0
- package/dist/cjs/server/query-handlers.d.ts +1 -0
- package/dist/cjs/server/query-validator.d.ts +36 -4
- package/dist/cjs/server/types/core.d.ts +5 -0
- package/dist/cjs/server/types/cube.d.ts +12 -0
- package/dist/cjs/server/types/query.d.ts +8 -0
- package/dist/cli/index.cjs +134 -52
- package/dist/client/charts/chartConfigRegistry.d.ts +7 -0
- package/dist/client/charts/chartConfigs.d.ts +17 -1
- package/dist/client/charts.js +13 -13
- package/dist/client/chunks/{DashboardEditModal-9An5EDAz.js → DashboardEditModal-BliiIHcI.js} +1653 -1188
- package/dist/client/chunks/DashboardEditModal-BliiIHcI.js.map +1 -0
- package/dist/client/chunks/DotStripChart-ChwsVeRU.js +408 -0
- package/dist/client/chunks/DotStripChart-ChwsVeRU.js.map +1 -0
- package/dist/client/chunks/{ProportionBarChart-BVcbGY2C.js → ProportionBarChart-D-Qt9nkF.js} +3 -3
- package/dist/client/chunks/{ProportionBarChart-BVcbGY2C.js.map → ProportionBarChart-D-Qt9nkF.js.map} +1 -1
- package/dist/client/chunks/RecordsTable-aG-QYXOH.js +556 -0
- package/dist/client/chunks/RecordsTable-aG-QYXOH.js.map +1 -0
- package/dist/client/chunks/{RetentionCombinedChart-D68Rvdi-.js → RetentionCombinedChart-BRZ9w7ah.js} +3 -3
- package/dist/client/chunks/{RetentionCombinedChart-D68Rvdi-.js.map → RetentionCombinedChart-BRZ9w7ah.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-CE7BAjrB.js → RetentionHeatmap-LkTt89pK.js} +2 -2
- package/dist/client/chunks/{RetentionHeatmap-CE7BAjrB.js.map → RetentionHeatmap-LkTt89pK.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-D1pYvvwc.js → analysis-builder-C0gJ3kDD.js} +169 -168
- package/dist/client/chunks/{analysis-builder-D1pYvvwc.js.map → analysis-builder-C0gJ3kDD.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-shared-BQvwUc6z.js → analysis-builder-shared-dqcpl_WL.js} +965 -954
- package/dist/client/chunks/analysis-builder-shared-dqcpl_WL.js.map +1 -0
- package/dist/client/chunks/{chart-activity-grid-DvD_4wJz.js → chart-activity-grid-CJzxC18G.js} +175 -84
- package/dist/client/chunks/chart-activity-grid-CJzxC18G.js.map +1 -0
- package/dist/client/chunks/{chart-area-DPp3hSOK.js → chart-area-C66dgy84.js} +21 -21
- package/dist/client/chunks/{chart-area-DPp3hSOK.js.map → chart-area-C66dgy84.js.map} +1 -1
- package/dist/client/chunks/{chart-bar-Od3pOyZ0.js → chart-bar-D9kiSOCT.js} +5 -5
- package/dist/client/chunks/{chart-bar-Od3pOyZ0.js.map → chart-bar-D9kiSOCT.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-l0iFn2n2.js → chart-box-plot-FsLIMisc.js} +2 -2
- package/dist/client/chunks/{chart-box-plot-l0iFn2n2.js.map → chart-box-plot-FsLIMisc.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-Dl0RcP8N.js → chart-bubble-BzyvrqKs.js} +2 -2
- package/dist/client/chunks/{chart-bubble-Dl0RcP8N.js.map → chart-bubble-BzyvrqKs.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-DZMqbscF.js → chart-candlestick-6lD35bLw.js} +2 -2
- package/dist/client/chunks/{chart-candlestick-DZMqbscF.js.map → chart-candlestick-6lD35bLw.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-DgiNBOWf.js → chart-data-table-Cou9qOab.js} +1222 -1029
- package/dist/client/chunks/chart-data-table-Cou9qOab.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-YLZlyN1X.js → chart-funnel-B0775aaT.js} +2 -2
- package/dist/client/chunks/{chart-funnel-YLZlyN1X.js.map → chart-funnel-B0775aaT.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-BsqE2wwF.js → chart-gauge-pf-2E8w9.js} +3 -3
- package/dist/client/chunks/{chart-gauge-BsqE2wwF.js.map → chart-gauge-pf-2E8w9.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-BsND8RM_.js → chart-heat-map-EzVGe6fl.js} +3 -3
- package/dist/client/chunks/{chart-heat-map-BsND8RM_.js.map → chart-heat-map-EzVGe6fl.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-m0azuva-.js → chart-kpi-delta-lfskDdx4.js} +3 -3
- package/dist/client/chunks/{chart-kpi-delta-m0azuva-.js.map → chart-kpi-delta-lfskDdx4.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-6JS15SqF.js → chart-kpi-number-BnsofbTf.js} +5 -5
- package/dist/client/chunks/{chart-kpi-number-6JS15SqF.js.map → chart-kpi-number-BnsofbTf.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-BqX8p8Jn.js → chart-kpi-text-U5EdmdkV.js} +3 -3
- package/dist/client/chunks/{chart-kpi-text-BqX8p8Jn.js.map → chart-kpi-text-U5EdmdkV.js.map} +1 -1
- package/dist/client/chunks/{chart-line-NCmpxBfE.js → chart-line-IwXqPY80.js} +3 -3
- package/dist/client/chunks/{chart-line-NCmpxBfE.js.map → chart-line-IwXqPY80.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-ZOobqiiX.js → chart-markdown-yxN_xBP9.js} +2 -2
- package/dist/client/chunks/{chart-markdown-ZOobqiiX.js.map → chart-markdown-yxN_xBP9.js.map} +1 -1
- package/dist/client/chunks/{chart-measure-profile-CBAZaicJ.js → chart-measure-profile-Bs4vhBJQ.js} +3 -3
- package/dist/client/chunks/{chart-measure-profile-CBAZaicJ.js.map → chart-measure-profile-Bs4vhBJQ.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-ChrasEI8.js → chart-pie-LDJfDXfX.js} +15 -15
- package/dist/client/chunks/{chart-pie-ChrasEI8.js.map → chart-pie-LDJfDXfX.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-CxSVF7yL.js → chart-radar-BZY6TP9m.js} +13 -13
- package/dist/client/chunks/{chart-radar-CxSVF7yL.js.map → chart-radar-BZY6TP9m.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar--SN0Wph0.js → chart-radial-bar-aga05X7h.js} +3 -3
- package/dist/client/chunks/{chart-radial-bar--SN0Wph0.js.map → chart-radial-bar-aga05X7h.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-CDOSGg9r.js → chart-sankey-MRCoWFd4.js} +2 -2
- package/dist/client/chunks/{chart-sankey-CDOSGg9r.js.map → chart-sankey-MRCoWFd4.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-DgcEF-kI.js → chart-scatter-DP-nn9hH.js} +3 -3
- package/dist/client/chunks/{chart-scatter-DgcEF-kI.js.map → chart-scatter-DP-nn9hH.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-MB-jlGBm.js → chart-sunburst-DE4EX7zi.js} +3 -3
- package/dist/client/chunks/{chart-sunburst-MB-jlGBm.js.map → chart-sunburst-DE4EX7zi.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-DeDXveVd.js → chart-tree-map-C3O6uQcP.js} +3 -3
- package/dist/client/chunks/{chart-tree-map-DeDXveVd.js.map → chart-tree-map-C3O6uQcP.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-ur4vkO1j.js → chart-waterfall-DU2Fg_7P.js} +3 -3
- package/dist/client/chunks/{chart-waterfall-ur4vkO1j.js.map → chart-waterfall-DU2Fg_7P.js.map} +1 -1
- package/dist/client/chunks/charts-core-DnirPG1F.js +190 -0
- package/dist/client/chunks/charts-core-DnirPG1F.js.map +1 -0
- package/dist/client/chunks/charts-loader-tCSbqT7H.js +87 -0
- package/dist/client/chunks/charts-loader-tCSbqT7H.js.map +1 -0
- package/dist/client/chunks/{en-US-BE6VoG0o.js → en-US-HP6FHuNy.js} +3 -1
- package/dist/client/chunks/{en-US-BE6VoG0o.js.map → en-US-HP6FHuNy.js.map} +1 -1
- package/dist/client/chunks/{nl-NL-CMXHDBr0.js → nl-NL-B9VnaVAm.js} +89 -1
- package/dist/client/chunks/nl-NL-B9VnaVAm.js.map +1 -0
- package/dist/client/chunks/{schema-visualization-BEbFtUIL.js → schema-visualization-o1zzuMQy.js} +3 -3
- package/dist/client/chunks/{schema-visualization-BEbFtUIL.js.map → schema-visualization-o1zzuMQy.js.map} +1 -1
- package/dist/client/chunks/{useDirtyStateTracking-CSDg96Rw.js → useDirtyStateTracking-DTYbmRBn.js} +15 -15
- package/dist/client/chunks/{useDirtyStateTracking-CSDg96Rw.js.map → useDirtyStateTracking-DTYbmRBn.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-BnkoZ-zS.js → useExplainAI-MuC9jBn-.js} +16 -16
- package/dist/client/chunks/{useExplainAI-BnkoZ-zS.js.map → useExplainAI-MuC9jBn-.js.map} +1 -1
- package/dist/client/chunks/{vendor-BmJDaduD.js → vendor-XQT9APIq.js} +49 -49
- package/dist/client/chunks/{vendor-BmJDaduD.js.map → vendor-XQT9APIq.js.map} +1 -1
- package/dist/client/client/CubeClient.d.ts +11 -1
- package/dist/client/components/AnalysisBuilder/AnalysisDisplayConfigPanel.d.ts +4 -2
- package/dist/client/components/AnalysisBuilder/ColumnFormatsEditor.d.ts +10 -0
- package/dist/client/components/AnalysisBuilder/DisplayOptionControl.d.ts +3 -2
- package/dist/client/components/AnalysisBuilder/utils/queryUtils.d.ts +7 -1
- package/dist/client/components/analyticsPortlet/PortletChart.d.ts +2 -1
- package/dist/client/components/analyticsPortlet/PortletChartView.d.ts +4 -1
- package/dist/client/components/analyticsPortlet/usePortletDeadMembers.d.ts +24 -0
- package/dist/client/components/analyticsPortlet/usePortletPagination.d.ts +21 -0
- package/dist/client/components/charts/DotStripChart.config.d.ts +15 -0
- package/dist/client/components/charts/DotStripChart.d.ts +4 -0
- package/dist/client/components/charts/DotStripChart.helpers.d.ts +91 -0
- package/dist/client/components/charts/RecordsTable.config.d.ts +10 -0
- package/dist/client/components/charts/RecordsTable.d.ts +4 -0
- package/dist/client/components/charts/recordsTableHooks.d.ts +68 -0
- package/dist/client/components.js +1 -1
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons/types.d.ts +2 -0
- package/dist/client/icons.js +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +213 -213
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/styles.css +1 -1
- package/dist/client/types.d.ts +97 -1
- package/dist/client/utils/recordsTableUtils.d.ts +71 -0
- package/dist/client/utils/rowLinkUtils.d.ts +35 -0
- package/dist/client/utils.js +14 -14
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +101 -101
- package/dist/server/agent/chart-validation.d.ts +1 -1
- package/dist/server/ai/chart-schema.d.ts +117 -0
- package/dist/server/ai/discovery-helpers.d.ts +14 -0
- package/dist/server/ai/discovery.d.ts +6 -0
- package/dist/server/ai/query-schema.d.ts +1 -1
- package/dist/server/attribute-dimensions.d.ts +11 -8
- package/dist/server/builders/group-by-builder.d.ts +15 -0
- package/dist/server/compiler.d.ts +3 -4
- package/dist/server/executor.d.ts +15 -0
- package/dist/{adapters/google-eKAc20al.js → server/google-DRY7jnOh.js} +46 -28
- package/dist/server/{google-BhvizbFR.cjs → google-PsZzwedr.cjs} +2 -2
- package/dist/server/index.cjs +34 -34
- package/dist/server/index.d.ts +2 -0
- package/dist/server/index.js +1913 -1445
- package/dist/server/query-handlers.d.ts +1 -0
- package/dist/server/query-validator.d.ts +36 -4
- package/dist/server/types/core.d.ts +5 -0
- package/dist/server/types/cube.d.ts +12 -0
- package/dist/server/types/query.d.ts +8 -0
- package/package.json +1 -1
- package/dist/adapters/ActivityGridChart.config-BQhBE_Mr.js +0 -2
- package/dist/adapters/ActivityGridChart.config-C3tSuOGV.cjs +0 -1
- package/dist/adapters/AreaChart.config-3cme8HyQ.js +0 -2
- package/dist/adapters/AreaChart.config-BSxrT52Z.cjs +0 -1
- package/dist/adapters/BarChart.config-BKS8IecE.cjs +0 -1
- package/dist/adapters/BarChart.config-lt_7PdIi.js +0 -2
- package/dist/adapters/BoxPlotChart.config-B7qvRnrF.cjs +0 -1
- package/dist/adapters/BoxPlotChart.config-Dv6ECj2j.js +0 -2
- package/dist/adapters/BubbleChart.config-BrIH7OAy.cjs +0 -1
- package/dist/adapters/BubbleChart.config-Fhotb7Pg.js +0 -2
- package/dist/adapters/CandlestickChart.config-CWH41FmF.cjs +0 -1
- package/dist/adapters/CandlestickChart.config-RPtXuxsX.js +0 -2
- package/dist/adapters/DataTable.config-71L0GzlT.js +0 -2
- package/dist/adapters/DataTable.config-BsOMQq3J.cjs +0 -1
- package/dist/adapters/FunnelChart.config-Cqte9C04.cjs +0 -1
- package/dist/adapters/FunnelChart.config-DJtwWeNz.js +0 -2
- package/dist/adapters/GaugeChart.config-WkwZ9VdS.cjs +0 -1
- package/dist/adapters/GaugeChart.config-vpVQlP5B.js +0 -2
- package/dist/adapters/HeatMapChart.config-DcmkDl07.cjs +0 -1
- package/dist/adapters/HeatMapChart.config-DsmMgGxJ.js +0 -2
- package/dist/adapters/KpiDelta.config-DVy561BH.js +0 -2
- package/dist/adapters/KpiDelta.config-dpqwLHNE.cjs +0 -1
- package/dist/adapters/KpiNumber.config-927l8nq8.js +0 -2
- package/dist/adapters/KpiNumber.config-BqFBMfPf.cjs +0 -1
- package/dist/adapters/KpiText.config-C-fZXuHq.cjs +0 -1
- package/dist/adapters/KpiText.config-CWoXuhMA.js +0 -2
- package/dist/adapters/LineChart.config-DTp7pqOY.js +0 -2
- package/dist/adapters/LineChart.config-DUGvSjcH.cjs +0 -1
- package/dist/adapters/MarkdownChart.config-23Dmv2Ty.cjs +0 -1
- package/dist/adapters/MarkdownChart.config-Cb2TnS0I.js +0 -2
- package/dist/adapters/MeasureProfileChart.config-B2qbWdhy.cjs +0 -1
- package/dist/adapters/MeasureProfileChart.config-CvBCeI5b.js +0 -2
- package/dist/adapters/PieChart.config-BzJb13QA.js +0 -2
- package/dist/adapters/PieChart.config-plCn5Ehr.cjs +0 -1
- package/dist/adapters/ProportionBarChart.config-1r-_moBH.cjs +0 -1
- package/dist/adapters/ProportionBarChart.config-CN6TtHTp.js +0 -2
- package/dist/adapters/RadarChart.config-BYhdj9M7.js +0 -2
- package/dist/adapters/RadarChart.config-CeUMP-1g.cjs +0 -1
- package/dist/adapters/RadialBarChart.config-B88yXNsq.cjs +0 -1
- package/dist/adapters/RadialBarChart.config-ZMK9HMoh.js +0 -2
- package/dist/adapters/RetentionCombinedChart.config-B5yvgUHM.cjs +0 -1
- package/dist/adapters/RetentionCombinedChart.config-Dd-YMdK8.js +0 -2
- package/dist/adapters/RetentionHeatmap.config-BYzDleoV.cjs +0 -1
- package/dist/adapters/RetentionHeatmap.config-Dvj7yTB0.js +0 -2
- package/dist/adapters/SankeyChart.config-CPFRmgFb.cjs +0 -1
- package/dist/adapters/SankeyChart.config-ClgqXM1N.js +0 -2
- package/dist/adapters/ScatterChart.config-CvJiqPa5.cjs +0 -1
- package/dist/adapters/ScatterChart.config-DLZ3rYMq.js +0 -2
- package/dist/adapters/SunburstChart.config-C_1V5hoQ.cjs +0 -1
- package/dist/adapters/SunburstChart.config-FNU75NCg.js +0 -2
- package/dist/adapters/TreeMapChart.config-CprZk_YF.js +0 -2
- package/dist/adapters/TreeMapChart.config-DNwd0ge9.cjs +0 -1
- package/dist/adapters/WaterfallChart.config-BBhcN_Fh.cjs +0 -1
- package/dist/adapters/WaterfallChart.config-H7s6SSV3.js +0 -2
- package/dist/adapters/compiler-BaLO10VN.cjs +0 -166
- package/dist/adapters/handler-DrRT6c14.cjs +0 -25
- package/dist/adapters/mcp-transport-BGkSz-ZT.cjs +0 -40
- package/dist/adapters/mcp-transport-fJud19xz.js +0 -606
- package/dist/adapters/utils-BY0-KFyI.cjs +0 -128
- package/dist/client/chunks/DashboardEditModal-9An5EDAz.js.map +0 -1
- package/dist/client/chunks/analysis-builder-shared-BQvwUc6z.js.map +0 -1
- package/dist/client/chunks/chart-activity-grid-DvD_4wJz.js.map +0 -1
- package/dist/client/chunks/chart-data-table-DgiNBOWf.js.map +0 -1
- package/dist/client/chunks/charts-core-BAH5pkSB.js +0 -215
- package/dist/client/chunks/charts-core-BAH5pkSB.js.map +0 -1
- package/dist/client/chunks/charts-loader-eToV8je7.js +0 -85
- package/dist/client/chunks/charts-loader-eToV8je7.js.map +0 -1
- package/dist/client/chunks/nl-NL-CMXHDBr0.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 { n, o as r, s as i } from "./chart-config-area-DsrZCIwF.js";
|
|
3
|
-
import {
|
|
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-CJzxC18G.js";
|
|
4
4
|
import { n as f } from "./chart-config-bar-BixSs43E.js";
|
|
5
5
|
import { n as p } from "./chart-config-line-CBF9Px9b.js";
|
|
6
6
|
import { n as m } from "./chart-config-pie-DZLa6Eqm.js";
|
|
@@ -8,27 +8,27 @@ 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-DR6vHHyd.js";
|
|
10
10
|
import { n as v } from "./chart-config-radial-bar-DVFou4fB.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
|
|
29
|
-
import { jsx as
|
|
11
|
+
import { n as ee } from "./chart-config-tree-map-Uhise6Bx.js";
|
|
12
|
+
import { n as y } from "./chart-config-data-table-CrGyS7aJ.js";
|
|
13
|
+
import { n as te } from "./chart-config-activity-grid-C4vXGQNu.js";
|
|
14
|
+
import { n as ne } from "./chart-config-kpi-number-DCcnANWC.js";
|
|
15
|
+
import { n as re } from "./chart-config-kpi-delta-Cl7k6jTj.js";
|
|
16
|
+
import { n as ie } from "./chart-config-kpi-text-DnnxvOSA.js";
|
|
17
|
+
import { n as ae } from "./chart-config-markdown-C5kBQOjP.js";
|
|
18
|
+
import { n as oe } from "./chart-config-funnel-DMLLKtPF.js";
|
|
19
|
+
import { n as se } from "./chart-config-sankey-De8E0C1A.js";
|
|
20
|
+
import { n as ce } from "./chart-config-sunburst-B4NUYHMH.js";
|
|
21
|
+
import { n as le } from "./chart-config-heat-map-CJF65SyL.js";
|
|
22
|
+
import { n as ue } from "./chart-config-box-plot-DMuJZqkr.js";
|
|
23
|
+
import { n as de } from "./chart-config-waterfall-DlQb_PLh.js";
|
|
24
|
+
import { n as fe } from "./chart-config-candlestick-QwQwJB_-.js";
|
|
25
|
+
import { n as pe } from "./chart-config-measure-profile-CRSRIpKh.js";
|
|
26
|
+
import { n as me } from "./chart-config-gauge-CJktdjox.js";
|
|
27
|
+
import * as b from "react";
|
|
28
|
+
import he, { createContext as ge, createElement as _e, forwardRef as ve, lazy as ye, useCallback as be, useContext as xe, useEffect as x, useMemo as S, useRef as Se, useState as C } from "react";
|
|
29
|
+
import { jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
30
30
|
//#region src/client/charts/chartConfigs.ts
|
|
31
|
-
var
|
|
31
|
+
var Ce = {
|
|
32
32
|
dropZones: [
|
|
33
33
|
{
|
|
34
34
|
key: "xAxis",
|
|
@@ -60,17 +60,17 @@ var Se = {
|
|
|
60
60
|
"showGrid",
|
|
61
61
|
"showTooltip"
|
|
62
62
|
]
|
|
63
|
-
},
|
|
63
|
+
}, E = {
|
|
64
64
|
packageName: "recharts",
|
|
65
65
|
installCommand: "npm install recharts"
|
|
66
|
-
},
|
|
66
|
+
}, D = {
|
|
67
67
|
bar: {
|
|
68
68
|
label: "chart.bar.label",
|
|
69
69
|
icon: "chartBar",
|
|
70
70
|
description: "chart.bar.description",
|
|
71
71
|
useCase: "chart.bar.useCase",
|
|
72
72
|
isAvailable: i,
|
|
73
|
-
dependencies:
|
|
73
|
+
dependencies: E,
|
|
74
74
|
config: async () => (await import("./chart-config-bar-BixSs43E.js").then((e) => e.t)).barChartConfig
|
|
75
75
|
},
|
|
76
76
|
line: {
|
|
@@ -79,7 +79,7 @@ var Se = {
|
|
|
79
79
|
description: "chart.line.description",
|
|
80
80
|
useCase: "chart.line.useCase",
|
|
81
81
|
isAvailable: i,
|
|
82
|
-
dependencies:
|
|
82
|
+
dependencies: E,
|
|
83
83
|
config: async () => (await import("./chart-config-line-CBF9Px9b.js").then((e) => e.t)).lineChartConfig
|
|
84
84
|
},
|
|
85
85
|
area: {
|
|
@@ -88,7 +88,7 @@ var Se = {
|
|
|
88
88
|
description: "chart.area.description",
|
|
89
89
|
useCase: "chart.area.useCase",
|
|
90
90
|
isAvailable: i,
|
|
91
|
-
dependencies:
|
|
91
|
+
dependencies: E,
|
|
92
92
|
config: async () => (await import("./chart-config-area-DsrZCIwF.js").then((e) => e.t)).areaChartConfig
|
|
93
93
|
},
|
|
94
94
|
pie: {
|
|
@@ -97,7 +97,7 @@ var Se = {
|
|
|
97
97
|
description: "chart.pie.description",
|
|
98
98
|
useCase: "chart.pie.useCase",
|
|
99
99
|
isAvailable: i,
|
|
100
|
-
dependencies:
|
|
100
|
+
dependencies: E,
|
|
101
101
|
config: async () => (await import("./chart-config-pie-DZLa6Eqm.js").then((e) => e.t)).pieChartConfig
|
|
102
102
|
},
|
|
103
103
|
scatter: {
|
|
@@ -112,7 +112,7 @@ var Se = {
|
|
|
112
112
|
available: !1,
|
|
113
113
|
reason: "chart.availability.scatter"
|
|
114
114
|
} : { available: !0 },
|
|
115
|
-
dependencies:
|
|
115
|
+
dependencies: E,
|
|
116
116
|
config: async () => (await import("./chart-config-scatter-CWA89oX4.js").then((e) => e.t)).scatterChartConfig
|
|
117
117
|
},
|
|
118
118
|
bubble: {
|
|
@@ -127,7 +127,7 @@ var Se = {
|
|
|
127
127
|
available: !1,
|
|
128
128
|
reason: "chart.availability.bubble"
|
|
129
129
|
} : { available: !0 },
|
|
130
|
-
dependencies:
|
|
130
|
+
dependencies: E,
|
|
131
131
|
config: async () => (await import("./chart-config-bubble-1IyZinH0.js").then((e) => e.t)).bubbleChartConfig
|
|
132
132
|
},
|
|
133
133
|
radar: {
|
|
@@ -136,7 +136,7 @@ var Se = {
|
|
|
136
136
|
description: "chart.radar.description",
|
|
137
137
|
useCase: "chart.radar.useCase",
|
|
138
138
|
isAvailable: i,
|
|
139
|
-
dependencies:
|
|
139
|
+
dependencies: E,
|
|
140
140
|
config: async () => (await import("./chart-config-radar-DR6vHHyd.js").then((e) => e.t)).radarChartConfig
|
|
141
141
|
},
|
|
142
142
|
radialBar: {
|
|
@@ -145,7 +145,7 @@ var Se = {
|
|
|
145
145
|
description: "chart.radialBar.description",
|
|
146
146
|
useCase: "chart.radialBar.useCase",
|
|
147
147
|
isAvailable: i,
|
|
148
|
-
dependencies:
|
|
148
|
+
dependencies: E,
|
|
149
149
|
config: async () => (await import("./chart-config-radial-bar-DVFou4fB.js").then((e) => e.t)).radialBarChartConfig
|
|
150
150
|
},
|
|
151
151
|
treemap: {
|
|
@@ -154,7 +154,7 @@ var Se = {
|
|
|
154
154
|
description: "chart.treemap.description",
|
|
155
155
|
useCase: "chart.treemap.useCase",
|
|
156
156
|
isAvailable: i,
|
|
157
|
-
dependencies:
|
|
157
|
+
dependencies: E,
|
|
158
158
|
config: async () => (await import("./chart-config-tree-map-Uhise6Bx.js").then((e) => e.t)).treemapChartConfig
|
|
159
159
|
},
|
|
160
160
|
table: {
|
|
@@ -164,6 +164,13 @@ var Se = {
|
|
|
164
164
|
useCase: "chart.table.useCase",
|
|
165
165
|
config: async () => (await import("./chart-config-data-table-CrGyS7aJ.js").then((e) => e.t)).dataTableConfig
|
|
166
166
|
},
|
|
167
|
+
recordsTable: {
|
|
168
|
+
label: "chart.recordsTable.label",
|
|
169
|
+
icon: "chartRecordsTable",
|
|
170
|
+
description: "chart.recordsTable.description",
|
|
171
|
+
useCase: "chart.recordsTable.useCase",
|
|
172
|
+
config: async () => (await Promise.resolve().then(() => ho)).recordsTableConfig
|
|
173
|
+
},
|
|
167
174
|
activityGrid: {
|
|
168
175
|
label: "chart.activityGrid.label",
|
|
169
176
|
icon: "chartActivityGrid",
|
|
@@ -214,7 +221,7 @@ var Se = {
|
|
|
214
221
|
icon: "chartFunnel",
|
|
215
222
|
description: "chart.funnel.description",
|
|
216
223
|
useCase: "chart.funnel.useCase",
|
|
217
|
-
dependencies:
|
|
224
|
+
dependencies: E,
|
|
218
225
|
config: async () => (await import("./chart-config-funnel-DMLLKtPF.js").then((e) => e.t)).funnelChartConfig
|
|
219
226
|
},
|
|
220
227
|
sankey: {
|
|
@@ -222,7 +229,7 @@ var Se = {
|
|
|
222
229
|
icon: "chartSankey",
|
|
223
230
|
description: "chart.sankey.description",
|
|
224
231
|
useCase: "chart.sankey.useCase",
|
|
225
|
-
dependencies:
|
|
232
|
+
dependencies: E,
|
|
226
233
|
config: async () => (await import("./chart-config-sankey-De8E0C1A.js").then((e) => e.t)).sankeyChartConfig
|
|
227
234
|
},
|
|
228
235
|
sunburst: {
|
|
@@ -230,7 +237,7 @@ var Se = {
|
|
|
230
237
|
icon: "chartSunburst",
|
|
231
238
|
description: "chart.sunburst.description",
|
|
232
239
|
useCase: "chart.sunburst.useCase",
|
|
233
|
-
dependencies:
|
|
240
|
+
dependencies: E,
|
|
234
241
|
config: async () => (await import("./chart-config-sunburst-B4NUYHMH.js").then((e) => e.t)).sunburstChartConfig
|
|
235
242
|
},
|
|
236
243
|
heatmap: {
|
|
@@ -256,14 +263,14 @@ var Se = {
|
|
|
256
263
|
icon: "chartRetention",
|
|
257
264
|
description: "chart.retentionHeatmap.description",
|
|
258
265
|
useCase: "chart.retentionHeatmap.useCase",
|
|
259
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
266
|
+
config: async () => (await Promise.resolve().then(() => _o)).retentionHeatmapConfig
|
|
260
267
|
},
|
|
261
268
|
retentionCombined: {
|
|
262
269
|
label: "chart.retentionCombined.label",
|
|
263
270
|
icon: "chartRetention",
|
|
264
271
|
description: "chart.retentionCombined.description",
|
|
265
272
|
useCase: "chart.retentionCombined.useCase",
|
|
266
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
273
|
+
config: async () => (await Promise.resolve().then(() => yo)).retentionCombinedConfig
|
|
267
274
|
},
|
|
268
275
|
boxPlot: {
|
|
269
276
|
label: "chart.boxPlot.label",
|
|
@@ -273,13 +280,21 @@ var Se = {
|
|
|
273
280
|
isAvailable: i,
|
|
274
281
|
config: async () => (await import("./chart-config-box-plot-DMuJZqkr.js").then((e) => e.t)).boxPlotChartConfig
|
|
275
282
|
},
|
|
283
|
+
dotStrip: {
|
|
284
|
+
label: "chart.dotStrip.label",
|
|
285
|
+
icon: "chartDotStrip",
|
|
286
|
+
description: "chart.dotStrip.description",
|
|
287
|
+
useCase: "chart.dotStrip.useCase",
|
|
288
|
+
isAvailable: i,
|
|
289
|
+
config: async () => (await Promise.resolve().then(() => xo)).dotStripChartConfig
|
|
290
|
+
},
|
|
276
291
|
waterfall: {
|
|
277
292
|
label: "chart.waterfall.label",
|
|
278
293
|
icon: "chartWaterfall",
|
|
279
294
|
description: "chart.waterfall.description",
|
|
280
295
|
useCase: "chart.waterfall.useCase",
|
|
281
296
|
isAvailable: i,
|
|
282
|
-
dependencies:
|
|
297
|
+
dependencies: E,
|
|
283
298
|
config: async () => (await import("./chart-config-waterfall-DlQb_PLh.js").then((e) => e.t)).waterfallChartConfig
|
|
284
299
|
},
|
|
285
300
|
candlestick: {
|
|
@@ -305,7 +320,7 @@ var Se = {
|
|
|
305
320
|
available: !1,
|
|
306
321
|
reason: "chart.availability.requiresTwoMeasures"
|
|
307
322
|
} : { available: !0 },
|
|
308
|
-
dependencies:
|
|
323
|
+
dependencies: E,
|
|
309
324
|
config: async () => (await import("./chart-config-measure-profile-CRSRIpKh.js").then((e) => e.t)).measureProfileChartConfig
|
|
310
325
|
},
|
|
311
326
|
proportionBar: {
|
|
@@ -314,7 +329,7 @@ var Se = {
|
|
|
314
329
|
description: "chart.proportionBar.description",
|
|
315
330
|
useCase: "chart.proportionBar.useCase",
|
|
316
331
|
isAvailable: i,
|
|
317
|
-
config: async () => (await Promise.resolve().then(() =>
|
|
332
|
+
config: async () => (await Promise.resolve().then(() => Co)).proportionBarChartConfig
|
|
318
333
|
},
|
|
319
334
|
gauge: {
|
|
320
335
|
label: "chart.gauge.label",
|
|
@@ -328,20 +343,20 @@ var Se = {
|
|
|
328
343
|
},
|
|
329
344
|
config: async () => (await import("./chart-config-gauge-CJktdjox.js").then((e) => e.t)).gaugeChartConfig
|
|
330
345
|
}
|
|
331
|
-
},
|
|
332
|
-
function
|
|
333
|
-
return
|
|
334
|
-
}
|
|
335
|
-
function we(e, t) {
|
|
336
|
-
k.set(e, t);
|
|
346
|
+
}, O = /* @__PURE__ */ new Map();
|
|
347
|
+
function we(e) {
|
|
348
|
+
return O.get(e) ?? D[e];
|
|
337
349
|
}
|
|
338
|
-
function Te(e) {
|
|
339
|
-
|
|
350
|
+
function Te(e, t) {
|
|
351
|
+
O.set(e, t);
|
|
340
352
|
}
|
|
341
353
|
function Ee(e) {
|
|
342
|
-
|
|
354
|
+
O.delete(e);
|
|
343
355
|
}
|
|
344
|
-
function De(e
|
|
356
|
+
function De(e) {
|
|
357
|
+
return O.get(e);
|
|
358
|
+
}
|
|
359
|
+
function Oe(e, t) {
|
|
345
360
|
return {
|
|
346
361
|
...t,
|
|
347
362
|
label: e.label,
|
|
@@ -352,41 +367,41 @@ function De(e, t) {
|
|
|
352
367
|
}
|
|
353
368
|
//#endregion
|
|
354
369
|
//#region src/client/charts/lazyChartConfigRegistry.ts
|
|
355
|
-
var
|
|
356
|
-
async function
|
|
357
|
-
if (
|
|
358
|
-
let t =
|
|
370
|
+
var k = /* @__PURE__ */ new Map();
|
|
371
|
+
async function ke(e) {
|
|
372
|
+
if (k.has(e)) return k.get(e);
|
|
373
|
+
let t = we(e);
|
|
359
374
|
if (!t) return null;
|
|
360
375
|
try {
|
|
361
376
|
let n = await t.config();
|
|
362
377
|
if (n) {
|
|
363
|
-
let r =
|
|
364
|
-
return
|
|
378
|
+
let r = Oe(t, n);
|
|
379
|
+
return k.set(e, r), r;
|
|
365
380
|
}
|
|
366
381
|
return null;
|
|
367
382
|
} catch (t) {
|
|
368
383
|
return console.error(`Failed to load config for chart type: ${e}`, t), null;
|
|
369
384
|
}
|
|
370
385
|
}
|
|
371
|
-
function ke(e) {
|
|
372
|
-
return A.get(e) || Se;
|
|
373
|
-
}
|
|
374
386
|
function Ae(e) {
|
|
375
|
-
return
|
|
387
|
+
return k.get(e) || Ce;
|
|
376
388
|
}
|
|
377
389
|
function je(e) {
|
|
378
|
-
|
|
379
|
-
|
|
390
|
+
return k.has(e);
|
|
391
|
+
}
|
|
392
|
+
function Me(e) {
|
|
393
|
+
let [t, n] = C(e ? Ae(e) : Ce), [r, i] = C(!1), [a, o] = C(!1);
|
|
394
|
+
return x(() => {
|
|
380
395
|
if (!e) {
|
|
381
|
-
n(
|
|
396
|
+
n(Ce), o(!1);
|
|
382
397
|
return;
|
|
383
398
|
}
|
|
384
|
-
if (
|
|
385
|
-
n(
|
|
399
|
+
if (k.has(e)) {
|
|
400
|
+
n(k.get(e)), o(!0);
|
|
386
401
|
return;
|
|
387
402
|
}
|
|
388
|
-
i(!0),
|
|
389
|
-
e ? (n(e), o(!0)) : (n(
|
|
403
|
+
i(!0), ke(e).then((e) => {
|
|
404
|
+
e ? (n(e), o(!0)) : (n(Ce), o(!0));
|
|
390
405
|
}).finally(() => i(!1));
|
|
391
406
|
}, [e]), {
|
|
392
407
|
config: t,
|
|
@@ -394,50 +409,50 @@ function je(e) {
|
|
|
394
409
|
loaded: a
|
|
395
410
|
};
|
|
396
411
|
}
|
|
397
|
-
async function Me(e) {
|
|
398
|
-
A.has(e) || await Oe(e);
|
|
399
|
-
}
|
|
400
412
|
async function Ne(e) {
|
|
401
|
-
await
|
|
413
|
+
k.has(e) || await ke(e);
|
|
402
414
|
}
|
|
403
|
-
async function Pe() {
|
|
404
|
-
|
|
405
|
-
|
|
415
|
+
async function Pe(e) {
|
|
416
|
+
await Promise.all(e.map(Ne));
|
|
417
|
+
}
|
|
418
|
+
async function Fe() {
|
|
419
|
+
let e = Object.keys(D);
|
|
420
|
+
await Promise.all(e.map(ke));
|
|
406
421
|
let t = {};
|
|
407
422
|
for (let n of e) {
|
|
408
|
-
let e =
|
|
423
|
+
let e = k.get(n);
|
|
409
424
|
e && (t[n] = e);
|
|
410
425
|
}
|
|
411
426
|
return t;
|
|
412
427
|
}
|
|
413
|
-
function
|
|
414
|
-
|
|
428
|
+
function Ie() {
|
|
429
|
+
k.clear();
|
|
415
430
|
}
|
|
416
|
-
function
|
|
417
|
-
|
|
431
|
+
function Le(e, t) {
|
|
432
|
+
k.set(e, t);
|
|
418
433
|
}
|
|
419
|
-
function
|
|
420
|
-
|
|
434
|
+
function Re(e) {
|
|
435
|
+
k.delete(e);
|
|
421
436
|
}
|
|
422
437
|
//#endregion
|
|
423
438
|
//#region node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
424
|
-
var
|
|
425
|
-
let t =
|
|
439
|
+
var ze = b.createContext(void 0), Be = (e) => {
|
|
440
|
+
let t = b.useContext(ze);
|
|
426
441
|
if (e) return e;
|
|
427
442
|
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
|
|
428
443
|
return t;
|
|
429
|
-
},
|
|
444
|
+
}, Ve = ({ client: e, children: t }) => (b.useEffect(() => (e.mount(), () => {
|
|
430
445
|
e.unmount();
|
|
431
|
-
}), [e]), /* @__PURE__ */
|
|
446
|
+
}), [e]), /* @__PURE__ */ w(ze.Provider, {
|
|
432
447
|
value: e,
|
|
433
448
|
children: t
|
|
434
|
-
})),
|
|
449
|
+
})), He = {
|
|
435
450
|
setTimeout: (e, t) => setTimeout(e, t),
|
|
436
451
|
clearTimeout: (e) => clearTimeout(e),
|
|
437
452
|
setInterval: (e, t) => setInterval(e, t),
|
|
438
453
|
clearInterval: (e) => clearInterval(e)
|
|
439
|
-
},
|
|
440
|
-
#e =
|
|
454
|
+
}, A = new class {
|
|
455
|
+
#e = He;
|
|
441
456
|
#t = !1;
|
|
442
457
|
setTimeoutProvider(e) {
|
|
443
458
|
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.", {
|
|
@@ -458,31 +473,31 @@ var Re = x.createContext(void 0), ze = (e) => {
|
|
|
458
473
|
this.#e.clearInterval(e);
|
|
459
474
|
}
|
|
460
475
|
}();
|
|
461
|
-
function
|
|
476
|
+
function Ue(e) {
|
|
462
477
|
setTimeout(e, 0);
|
|
463
478
|
}
|
|
464
479
|
//#endregion
|
|
465
480
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
466
|
-
var
|
|
467
|
-
function
|
|
468
|
-
function
|
|
481
|
+
var We = typeof window > "u" || "Deno" in globalThis;
|
|
482
|
+
function j() {}
|
|
483
|
+
function Ge(e, t) {
|
|
469
484
|
return typeof e == "function" ? e(t) : e;
|
|
470
485
|
}
|
|
471
|
-
function
|
|
486
|
+
function Ke(e) {
|
|
472
487
|
return typeof e == "number" && e >= 0 && e !== Infinity;
|
|
473
488
|
}
|
|
474
|
-
function
|
|
489
|
+
function qe(e, t) {
|
|
475
490
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
476
491
|
}
|
|
477
|
-
function
|
|
492
|
+
function M(e, t) {
|
|
478
493
|
return typeof e == "function" ? e(t) : e;
|
|
479
494
|
}
|
|
480
|
-
function
|
|
495
|
+
function Je(e, t) {
|
|
481
496
|
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
|
|
482
497
|
if (o) {
|
|
483
498
|
if (r) {
|
|
484
|
-
if (t.queryHash !==
|
|
485
|
-
} else if (!
|
|
499
|
+
if (t.queryHash !== Xe(o, t.options)) return !1;
|
|
500
|
+
} else if (!P(t.queryKey, o)) return !1;
|
|
486
501
|
}
|
|
487
502
|
if (n !== "all") {
|
|
488
503
|
let e = t.isActive();
|
|
@@ -490,109 +505,109 @@ function qe(e, t) {
|
|
|
490
505
|
}
|
|
491
506
|
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
|
|
492
507
|
}
|
|
493
|
-
function
|
|
508
|
+
function Ye(e, t) {
|
|
494
509
|
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
|
|
495
510
|
if (a) {
|
|
496
511
|
if (!t.options.mutationKey) return !1;
|
|
497
512
|
if (n) {
|
|
498
|
-
if (
|
|
499
|
-
} else if (!
|
|
513
|
+
if (N(t.options.mutationKey) !== N(a)) return !1;
|
|
514
|
+
} else if (!P(t.options.mutationKey, a)) return !1;
|
|
500
515
|
}
|
|
501
516
|
return !(r && t.state.status !== r || i && !i(t));
|
|
502
517
|
}
|
|
503
|
-
function
|
|
504
|
-
return (t?.queryKeyHashFn ||
|
|
518
|
+
function Xe(e, t) {
|
|
519
|
+
return (t?.queryKeyHashFn || N)(e);
|
|
505
520
|
}
|
|
506
|
-
function
|
|
507
|
-
return JSON.stringify(e, (e, t) =>
|
|
521
|
+
function N(e) {
|
|
522
|
+
return JSON.stringify(e, (e, t) => tt(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
508
523
|
}
|
|
509
|
-
function
|
|
524
|
+
function P(e, t) {
|
|
510
525
|
if (e === t) return !0;
|
|
511
526
|
if (typeof e != typeof t) return !1;
|
|
512
527
|
if (e && t && typeof e == "object" && typeof t == "object") {
|
|
513
528
|
if (Array.isArray(e) && Array.isArray(t)) {
|
|
514
|
-
for (let n = 0; n < t.length; n++) if (!
|
|
529
|
+
for (let n = 0; n < t.length; n++) if (!P(e[n], t[n])) return !1;
|
|
515
530
|
return !0;
|
|
516
531
|
}
|
|
517
532
|
let n = Object.keys(t);
|
|
518
|
-
for (let r of n) if (!
|
|
533
|
+
for (let r of n) if (!P(e[r], t[r])) return !1;
|
|
519
534
|
return !0;
|
|
520
535
|
}
|
|
521
536
|
return !1;
|
|
522
537
|
}
|
|
523
|
-
var
|
|
524
|
-
function
|
|
538
|
+
var Ze = Object.prototype.hasOwnProperty;
|
|
539
|
+
function Qe(e, t, n = 0) {
|
|
525
540
|
if (e === t) return e;
|
|
526
541
|
if (n > 500) return t;
|
|
527
|
-
let r =
|
|
528
|
-
if (!r && !(
|
|
542
|
+
let r = et(e) && et(t);
|
|
543
|
+
if (!r && !(tt(e) && tt(t))) return t;
|
|
529
544
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
530
545
|
for (let l = 0; l < o; l++) {
|
|
531
546
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
532
547
|
if (u === d) {
|
|
533
|
-
s[o] = u, (r ? l < i :
|
|
548
|
+
s[o] = u, (r ? l < i : Ze.call(e, o)) && c++;
|
|
534
549
|
continue;
|
|
535
550
|
}
|
|
536
551
|
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
|
|
537
552
|
s[o] = d;
|
|
538
553
|
continue;
|
|
539
554
|
}
|
|
540
|
-
let f =
|
|
555
|
+
let f = Qe(u, d, n + 1);
|
|
541
556
|
s[o] = f, f === u && c++;
|
|
542
557
|
}
|
|
543
558
|
return i === o && c === i ? e : s;
|
|
544
559
|
}
|
|
545
|
-
function
|
|
560
|
+
function $e(e, t) {
|
|
546
561
|
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
547
562
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
548
563
|
return !0;
|
|
549
564
|
}
|
|
550
|
-
function
|
|
565
|
+
function et(e) {
|
|
551
566
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
552
567
|
}
|
|
553
|
-
function
|
|
554
|
-
if (
|
|
568
|
+
function tt(e) {
|
|
569
|
+
if (!nt(e)) return !1;
|
|
555
570
|
let t = e.constructor;
|
|
556
571
|
if (t === void 0) return !0;
|
|
557
572
|
let n = t.prototype;
|
|
558
|
-
return !(
|
|
573
|
+
return !(!nt(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
559
574
|
}
|
|
560
|
-
function
|
|
575
|
+
function nt(e) {
|
|
561
576
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
562
577
|
}
|
|
563
|
-
function
|
|
578
|
+
function rt(e) {
|
|
564
579
|
return new Promise((t) => {
|
|
565
|
-
|
|
580
|
+
A.setTimeout(t, e);
|
|
566
581
|
});
|
|
567
582
|
}
|
|
568
|
-
function
|
|
583
|
+
function it(e, t, n) {
|
|
569
584
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
570
585
|
if (n.structuralSharing !== !1) {
|
|
571
586
|
if (process.env.NODE_ENV !== "production") try {
|
|
572
|
-
return
|
|
587
|
+
return Qe(e, t);
|
|
573
588
|
} catch (e) {
|
|
574
589
|
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;
|
|
575
590
|
}
|
|
576
|
-
return
|
|
591
|
+
return Qe(e, t);
|
|
577
592
|
}
|
|
578
593
|
return t;
|
|
579
594
|
}
|
|
580
|
-
function
|
|
595
|
+
function at(e, t, n = 0) {
|
|
581
596
|
let r = [...e, t];
|
|
582
597
|
return n && r.length > n ? r.slice(1) : r;
|
|
583
598
|
}
|
|
584
|
-
function
|
|
599
|
+
function ot(e, t, n = 0) {
|
|
585
600
|
let r = [t, ...e];
|
|
586
601
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
587
602
|
}
|
|
588
|
-
var
|
|
589
|
-
function
|
|
590
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
603
|
+
var st = Symbol();
|
|
604
|
+
function ct(e, t) {
|
|
605
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === st && 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 === st ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
591
606
|
}
|
|
592
|
-
function
|
|
607
|
+
function lt(e, t) {
|
|
593
608
|
return typeof e == "function" ? e(...t) : !!e;
|
|
594
609
|
}
|
|
595
|
-
function
|
|
610
|
+
function ut(e, t, n) {
|
|
596
611
|
let r = !1, i;
|
|
597
612
|
return Object.defineProperty(e, "signal", {
|
|
598
613
|
enumerable: !0,
|
|
@@ -601,7 +616,7 @@ function ot(e, t, n) {
|
|
|
601
616
|
}
|
|
602
617
|
//#endregion
|
|
603
618
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
604
|
-
var
|
|
619
|
+
var dt = () => We, ft = () => dt(), F = class {
|
|
605
620
|
constructor() {
|
|
606
621
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
607
622
|
}
|
|
@@ -615,7 +630,7 @@ var st = () => Ue, ct = () => st(), z = class {
|
|
|
615
630
|
}
|
|
616
631
|
onSubscribe() {}
|
|
617
632
|
onUnsubscribe() {}
|
|
618
|
-
},
|
|
633
|
+
}, pt = new class extends F {
|
|
619
634
|
#e;
|
|
620
635
|
#t;
|
|
621
636
|
#n;
|
|
@@ -652,13 +667,13 @@ var st = () => Ue, ct = () => st(), z = class {
|
|
|
652
667
|
isFocused() {
|
|
653
668
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
654
669
|
}
|
|
655
|
-
}(),
|
|
656
|
-
function
|
|
670
|
+
}(), mt = Ue;
|
|
671
|
+
function ht() {
|
|
657
672
|
let e = [], t = 0, n = (e) => {
|
|
658
673
|
e();
|
|
659
674
|
}, r = (e) => {
|
|
660
675
|
e();
|
|
661
|
-
}, i =
|
|
676
|
+
}, i = mt, a = (r) => {
|
|
662
677
|
t ? e.push(r) : i(() => {
|
|
663
678
|
n(r);
|
|
664
679
|
});
|
|
@@ -700,7 +715,7 @@ function dt() {
|
|
|
700
715
|
}
|
|
701
716
|
};
|
|
702
717
|
}
|
|
703
|
-
var
|
|
718
|
+
var I = ht(), gt = new class extends F {
|
|
704
719
|
#e = !0;
|
|
705
720
|
#t;
|
|
706
721
|
#n;
|
|
@@ -734,32 +749,32 @@ var B = dt(), V = new class extends z {
|
|
|
734
749
|
}();
|
|
735
750
|
//#endregion
|
|
736
751
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
737
|
-
function
|
|
752
|
+
function _t(e) {
|
|
738
753
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
739
754
|
}
|
|
740
|
-
function
|
|
741
|
-
return (e ?? "online") !== "online" ||
|
|
755
|
+
function vt(e) {
|
|
756
|
+
return (e ?? "online") !== "online" || gt.isOnline();
|
|
742
757
|
}
|
|
743
|
-
var
|
|
758
|
+
var yt = class extends Error {
|
|
744
759
|
constructor(e) {
|
|
745
760
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
746
761
|
}
|
|
747
762
|
};
|
|
748
|
-
function
|
|
763
|
+
function bt(e) {
|
|
749
764
|
let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {
|
|
750
765
|
a = e, o = t;
|
|
751
766
|
});
|
|
752
|
-
s.catch(
|
|
767
|
+
s.catch(j);
|
|
753
768
|
let c = () => i !== "pending", l = (t) => {
|
|
754
769
|
if (!c()) {
|
|
755
|
-
let n = new
|
|
770
|
+
let n = new yt(t);
|
|
756
771
|
h(n), e.onCancel?.(n);
|
|
757
772
|
}
|
|
758
773
|
}, u = () => {
|
|
759
774
|
t = !0;
|
|
760
775
|
}, d = () => {
|
|
761
776
|
t = !1;
|
|
762
|
-
}, f = () =>
|
|
777
|
+
}, f = () => pt.isFocused() && (e.networkMode === "always" || gt.isOnline()) && e.canRun(), p = () => vt(e.networkMode) && e.canRun(), m = (e) => {
|
|
763
778
|
c() || (r?.(), i = "resolved", a(e));
|
|
764
779
|
}, h = (e) => {
|
|
765
780
|
c() || (r?.(), i = "rejected", o(e));
|
|
@@ -779,12 +794,12 @@ function ht(e) {
|
|
|
779
794
|
}
|
|
780
795
|
Promise.resolve(r).then(m).catch((r) => {
|
|
781
796
|
if (c()) return;
|
|
782
|
-
let i = e.retry ?? (
|
|
797
|
+
let i = e.retry ?? (ft() ? 0 : 3), a = e.retryDelay ?? _t, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
783
798
|
if (t || !s) {
|
|
784
799
|
h(r);
|
|
785
800
|
return;
|
|
786
801
|
}
|
|
787
|
-
n++, e.onFail?.(n, r),
|
|
802
|
+
n++, e.onFail?.(n, r), rt(o).then(() => f() ? void 0 : g()).then(() => {
|
|
788
803
|
t ? h(r) : _();
|
|
789
804
|
});
|
|
790
805
|
});
|
|
@@ -802,34 +817,34 @@ function ht(e) {
|
|
|
802
817
|
}
|
|
803
818
|
//#endregion
|
|
804
819
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
805
|
-
var
|
|
820
|
+
var xt = class {
|
|
806
821
|
#e;
|
|
807
822
|
destroy() {
|
|
808
823
|
this.clearGcTimeout();
|
|
809
824
|
}
|
|
810
825
|
scheduleGc() {
|
|
811
|
-
this.clearGcTimeout(),
|
|
826
|
+
this.clearGcTimeout(), Ke(this.gcTime) && (this.#e = A.setTimeout(() => {
|
|
812
827
|
this.optionalRemove();
|
|
813
828
|
}, this.gcTime));
|
|
814
829
|
}
|
|
815
830
|
updateGcTime(e) {
|
|
816
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
831
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (ft() ? Infinity : 3e5));
|
|
817
832
|
}
|
|
818
833
|
clearGcTimeout() {
|
|
819
|
-
this.#e !== void 0 && (
|
|
834
|
+
this.#e !== void 0 && (A.clearTimeout(this.#e), this.#e = void 0);
|
|
820
835
|
}
|
|
821
836
|
};
|
|
822
837
|
//#endregion
|
|
823
838
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
824
|
-
function
|
|
839
|
+
function St(e) {
|
|
825
840
|
return { onFetch: (t, n) => {
|
|
826
841
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
827
842
|
pages: [],
|
|
828
843
|
pageParams: []
|
|
829
844
|
}, c = 0, l = async () => {
|
|
830
845
|
let n = !1, l = (e) => {
|
|
831
|
-
|
|
832
|
-
}, u =
|
|
846
|
+
ut(e, () => t.signal, () => n = !0);
|
|
847
|
+
}, u = ct(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
833
848
|
if (n) return Promise.reject(t.signal.reason);
|
|
834
849
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
835
850
|
let a = (() => {
|
|
@@ -841,14 +856,14 @@ function _t(e) {
|
|
|
841
856
|
meta: t.options.meta
|
|
842
857
|
};
|
|
843
858
|
return l(e), e;
|
|
844
|
-
})(), o = await u(a), { maxPages: s } = t.options, c = i ?
|
|
859
|
+
})(), o = await u(a), { maxPages: s } = t.options, c = i ? ot : at;
|
|
845
860
|
return {
|
|
846
861
|
pages: c(e.pages, o, s),
|
|
847
862
|
pageParams: c(e.pageParams, r, s)
|
|
848
863
|
};
|
|
849
864
|
};
|
|
850
865
|
if (i && a.length) {
|
|
851
|
-
let e = i === "backward", t = e ?
|
|
866
|
+
let e = i === "backward", t = e ? wt : Ct, n = {
|
|
852
867
|
pages: a,
|
|
853
868
|
pageParams: o
|
|
854
869
|
};
|
|
@@ -856,7 +871,7 @@ function _t(e) {
|
|
|
856
871
|
} else {
|
|
857
872
|
let t = e ?? a.length;
|
|
858
873
|
do {
|
|
859
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
874
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : Ct(r, s);
|
|
860
875
|
if (c > 0 && e == null) break;
|
|
861
876
|
s = await d(s, e), c++;
|
|
862
877
|
} while (c < t);
|
|
@@ -871,16 +886,16 @@ function _t(e) {
|
|
|
871
886
|
}, n) : l;
|
|
872
887
|
} };
|
|
873
888
|
}
|
|
874
|
-
function
|
|
889
|
+
function Ct(e, { pages: t, pageParams: n }) {
|
|
875
890
|
let r = t.length - 1;
|
|
876
891
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
877
892
|
}
|
|
878
|
-
function
|
|
893
|
+
function wt(e, { pages: t, pageParams: n }) {
|
|
879
894
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
880
895
|
}
|
|
881
896
|
//#endregion
|
|
882
897
|
//#region node_modules/@tanstack/query-core/build/modern/query.js
|
|
883
|
-
var
|
|
898
|
+
var Tt = class extends xt {
|
|
884
899
|
#e;
|
|
885
900
|
#t;
|
|
886
901
|
#n;
|
|
@@ -890,7 +905,7 @@ var bt = class extends gt {
|
|
|
890
905
|
#o;
|
|
891
906
|
#s;
|
|
892
907
|
constructor(e) {
|
|
893
|
-
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 =
|
|
908
|
+
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 = Ot(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
|
|
894
909
|
}
|
|
895
910
|
get meta() {
|
|
896
911
|
return this.options.meta;
|
|
@@ -906,15 +921,15 @@ var bt = class extends gt {
|
|
|
906
921
|
...this.#o,
|
|
907
922
|
...e
|
|
908
923
|
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
909
|
-
let e =
|
|
910
|
-
e.data !== void 0 && (this.setState(
|
|
924
|
+
let e = Ot(this.options);
|
|
925
|
+
e.data !== void 0 && (this.setState(Dt(e.data, e.dataUpdatedAt)), this.#t = e);
|
|
911
926
|
}
|
|
912
927
|
}
|
|
913
928
|
optionalRemove() {
|
|
914
929
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
|
915
930
|
}
|
|
916
931
|
setData(e, t) {
|
|
917
|
-
let n =
|
|
932
|
+
let n = it(this.state.data, e, this.options);
|
|
918
933
|
return this.#c({
|
|
919
934
|
data: n,
|
|
920
935
|
type: "success",
|
|
@@ -930,7 +945,7 @@ var bt = class extends gt {
|
|
|
930
945
|
}
|
|
931
946
|
cancel(e) {
|
|
932
947
|
let t = this.#a?.promise;
|
|
933
|
-
return this.#a?.cancel(e), t ? t.then(
|
|
948
|
+
return this.#a?.cancel(e), t ? t.then(j).catch(j) : Promise.resolve();
|
|
934
949
|
}
|
|
935
950
|
destroy() {
|
|
936
951
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -942,22 +957,22 @@ var bt = class extends gt {
|
|
|
942
957
|
this.destroy(), this.setState(this.resetState);
|
|
943
958
|
}
|
|
944
959
|
isActive() {
|
|
945
|
-
return this.observers.some((e) =>
|
|
960
|
+
return this.observers.some((e) => M(e.options.enabled, this) !== !1);
|
|
946
961
|
}
|
|
947
962
|
isDisabled() {
|
|
948
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
963
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === st || !this.isFetched();
|
|
949
964
|
}
|
|
950
965
|
isFetched() {
|
|
951
966
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
952
967
|
}
|
|
953
968
|
isStatic() {
|
|
954
|
-
return this.getObserversCount() > 0 && this.observers.some((e) =>
|
|
969
|
+
return this.getObserversCount() > 0 && this.observers.some((e) => M(e.options.staleTime, this) === "static");
|
|
955
970
|
}
|
|
956
971
|
isStale() {
|
|
957
972
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
958
973
|
}
|
|
959
974
|
isStaleByTime(e = 0) {
|
|
960
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
975
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !qe(this.state.dataUpdatedAt, e);
|
|
961
976
|
}
|
|
962
977
|
onFocus() {
|
|
963
978
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
@@ -1002,7 +1017,7 @@ var bt = class extends gt {
|
|
|
1002
1017
|
get: () => (this.#s = !0, n.signal)
|
|
1003
1018
|
});
|
|
1004
1019
|
}, i = () => {
|
|
1005
|
-
let e =
|
|
1020
|
+
let e = ct(this.options, t), n = (() => {
|
|
1006
1021
|
let e = {
|
|
1007
1022
|
client: this.#i,
|
|
1008
1023
|
queryKey: this.queryKey,
|
|
@@ -1022,15 +1037,15 @@ var bt = class extends gt {
|
|
|
1022
1037
|
};
|
|
1023
1038
|
return r(e), e;
|
|
1024
1039
|
})();
|
|
1025
|
-
(this.#e === "infinite" ?
|
|
1040
|
+
(this.#e === "infinite" ? St(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({
|
|
1026
1041
|
type: "fetch",
|
|
1027
1042
|
meta: a.fetchOptions?.meta
|
|
1028
1043
|
});
|
|
1029
|
-
let o = this.#a =
|
|
1044
|
+
let o = this.#a = bt({
|
|
1030
1045
|
initialPromise: t?.initialPromise,
|
|
1031
1046
|
fn: a.fetchFn,
|
|
1032
1047
|
onCancel: (e) => {
|
|
1033
|
-
e instanceof
|
|
1048
|
+
e instanceof yt && e.revert && this.setState({
|
|
1034
1049
|
...this.#n,
|
|
1035
1050
|
fetchStatus: "idle"
|
|
1036
1051
|
}), n.abort();
|
|
@@ -1058,7 +1073,7 @@ var bt = class extends gt {
|
|
|
1058
1073
|
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`);
|
|
1059
1074
|
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
|
|
1060
1075
|
} catch (e) {
|
|
1061
|
-
if (e instanceof
|
|
1076
|
+
if (e instanceof yt) {
|
|
1062
1077
|
if (e.silent) return this.#a.promise;
|
|
1063
1078
|
if (e.revert) {
|
|
1064
1079
|
if (this.state.data === void 0) throw e;
|
|
@@ -1091,13 +1106,13 @@ var bt = class extends gt {
|
|
|
1091
1106
|
};
|
|
1092
1107
|
case "fetch": return {
|
|
1093
1108
|
...t,
|
|
1094
|
-
...
|
|
1109
|
+
...Et(t.data, this.options),
|
|
1095
1110
|
fetchMeta: e.meta ?? null
|
|
1096
1111
|
};
|
|
1097
1112
|
case "success":
|
|
1098
1113
|
let n = {
|
|
1099
1114
|
...t,
|
|
1100
|
-
...
|
|
1115
|
+
...Dt(e.data, e.dataUpdatedAt),
|
|
1101
1116
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
1102
1117
|
...!e.manual && {
|
|
1103
1118
|
fetchStatus: "idle",
|
|
@@ -1129,7 +1144,7 @@ var bt = class extends gt {
|
|
|
1129
1144
|
};
|
|
1130
1145
|
}
|
|
1131
1146
|
};
|
|
1132
|
-
this.state = t(this.state),
|
|
1147
|
+
this.state = t(this.state), I.batch(() => {
|
|
1133
1148
|
this.observers.slice().forEach((e) => {
|
|
1134
1149
|
e.onQueryUpdate();
|
|
1135
1150
|
}), this.#r.notify({
|
|
@@ -1140,18 +1155,18 @@ var bt = class extends gt {
|
|
|
1140
1155
|
});
|
|
1141
1156
|
}
|
|
1142
1157
|
};
|
|
1143
|
-
function
|
|
1158
|
+
function Et(e, t) {
|
|
1144
1159
|
return {
|
|
1145
1160
|
fetchFailureCount: 0,
|
|
1146
1161
|
fetchFailureReason: null,
|
|
1147
|
-
fetchStatus:
|
|
1162
|
+
fetchStatus: vt(t.networkMode) ? "fetching" : "paused",
|
|
1148
1163
|
...e === void 0 && {
|
|
1149
1164
|
error: null,
|
|
1150
1165
|
status: "pending"
|
|
1151
1166
|
}
|
|
1152
1167
|
};
|
|
1153
1168
|
}
|
|
1154
|
-
function
|
|
1169
|
+
function Dt(e, t) {
|
|
1155
1170
|
return {
|
|
1156
1171
|
data: e,
|
|
1157
1172
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -1160,7 +1175,7 @@ function St(e, t) {
|
|
|
1160
1175
|
status: "success"
|
|
1161
1176
|
};
|
|
1162
1177
|
}
|
|
1163
|
-
function
|
|
1178
|
+
function Ot(e) {
|
|
1164
1179
|
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;
|
|
1165
1180
|
return {
|
|
1166
1181
|
data: t,
|
|
@@ -1179,7 +1194,7 @@ function Ct(e) {
|
|
|
1179
1194
|
}
|
|
1180
1195
|
//#endregion
|
|
1181
1196
|
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
1182
|
-
var
|
|
1197
|
+
var kt = class extends F {
|
|
1183
1198
|
#e;
|
|
1184
1199
|
#t = void 0;
|
|
1185
1200
|
#n = void 0;
|
|
@@ -1201,36 +1216,36 @@ var wt = class extends z {
|
|
|
1201
1216
|
this.refetch = this.refetch.bind(this);
|
|
1202
1217
|
}
|
|
1203
1218
|
onSubscribe() {
|
|
1204
|
-
this.listeners.size === 1 && (this.#t.addObserver(this),
|
|
1219
|
+
this.listeners.size === 1 && (this.#t.addObserver(this), jt(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());
|
|
1205
1220
|
}
|
|
1206
1221
|
onUnsubscribe() {
|
|
1207
1222
|
this.hasListeners() || this.destroy();
|
|
1208
1223
|
}
|
|
1209
1224
|
shouldFetchOnReconnect() {
|
|
1210
|
-
return
|
|
1225
|
+
return Mt(this.#t, this.options, this.options.refetchOnReconnect);
|
|
1211
1226
|
}
|
|
1212
1227
|
shouldFetchOnWindowFocus() {
|
|
1213
|
-
return
|
|
1228
|
+
return Mt(this.#t, this.options, this.options.refetchOnWindowFocus);
|
|
1214
1229
|
}
|
|
1215
1230
|
destroy() {
|
|
1216
1231
|
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
|
|
1217
1232
|
}
|
|
1218
1233
|
setOptions(e) {
|
|
1219
1234
|
let t = this.options, n = this.#t;
|
|
1220
|
-
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof
|
|
1221
|
-
this.#S(), this.#t.setOptions(this.options), t._defaulted &&
|
|
1235
|
+
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");
|
|
1236
|
+
this.#S(), this.#t.setOptions(this.options), t._defaulted && !$e(this.options, t) && this.#e.getQueryCache().notify({
|
|
1222
1237
|
type: "observerOptionsUpdated",
|
|
1223
1238
|
query: this.#t,
|
|
1224
1239
|
observer: this
|
|
1225
1240
|
});
|
|
1226
1241
|
let r = this.hasListeners();
|
|
1227
|
-
r &&
|
|
1242
|
+
r && Nt(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();
|
|
1228
1243
|
let i = this.#_();
|
|
1229
|
-
r && (this.#t !== n ||
|
|
1244
|
+
r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || i !== this.#f) && this.#v(i);
|
|
1230
1245
|
}
|
|
1231
1246
|
getOptimisticResult(e) {
|
|
1232
1247
|
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
|
|
1233
|
-
return
|
|
1248
|
+
return $e(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
|
|
1234
1249
|
}
|
|
1235
1250
|
getCurrentResult() {
|
|
1236
1251
|
return this.#r;
|
|
@@ -1269,17 +1284,17 @@ var wt = class extends z {
|
|
|
1269
1284
|
#m(e) {
|
|
1270
1285
|
this.#S();
|
|
1271
1286
|
let t = this.#t.fetch(this.options, e);
|
|
1272
|
-
return e?.throwOnError || (t = t.catch(
|
|
1287
|
+
return e?.throwOnError || (t = t.catch(j)), t;
|
|
1273
1288
|
}
|
|
1274
1289
|
#h(e) {
|
|
1275
|
-
return !
|
|
1290
|
+
return !ft() && M(this.options.enabled, this.#t) !== !1 && Ke(e);
|
|
1276
1291
|
}
|
|
1277
1292
|
#g() {
|
|
1278
1293
|
this.#b();
|
|
1279
|
-
let e =
|
|
1294
|
+
let e = M(this.options.staleTime, this.#t);
|
|
1280
1295
|
if (this.#r.isStale || !this.#h(e)) return;
|
|
1281
|
-
let t =
|
|
1282
|
-
this.#u =
|
|
1296
|
+
let t = qe(this.#r.dataUpdatedAt, e) + 1;
|
|
1297
|
+
this.#u = A.setTimeout(() => {
|
|
1283
1298
|
this.#r.isStale || this.updateResult();
|
|
1284
1299
|
}, t);
|
|
1285
1300
|
}
|
|
@@ -1287,26 +1302,26 @@ var wt = class extends z {
|
|
|
1287
1302
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
|
|
1288
1303
|
}
|
|
1289
1304
|
#v(e) {
|
|
1290
|
-
this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d =
|
|
1291
|
-
(this.options.refetchIntervalInBackground ||
|
|
1305
|
+
this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = A.setInterval(() => {
|
|
1306
|
+
(this.options.refetchIntervalInBackground || pt.isFocused()) && this.#m();
|
|
1292
1307
|
}, this.#f));
|
|
1293
1308
|
}
|
|
1294
1309
|
#y() {
|
|
1295
1310
|
this.#g(), this.#v(this.#_());
|
|
1296
1311
|
}
|
|
1297
1312
|
#b() {
|
|
1298
|
-
this.#u !== void 0 && (
|
|
1313
|
+
this.#u !== void 0 && (A.clearTimeout(this.#u), this.#u = void 0);
|
|
1299
1314
|
}
|
|
1300
1315
|
#x() {
|
|
1301
|
-
this.#d !== void 0 && (
|
|
1316
|
+
this.#d !== void 0 && (A.clearInterval(this.#d), this.#d = void 0);
|
|
1302
1317
|
}
|
|
1303
1318
|
createResult(e, t) {
|
|
1304
1319
|
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;
|
|
1305
1320
|
if (t._optimisticResults) {
|
|
1306
|
-
let i = this.hasListeners(), a = !i &&
|
|
1321
|
+
let i = this.hasListeners(), a = !i && jt(e, t), o = i && Nt(e, n, t, r);
|
|
1307
1322
|
(a || o) && (l = {
|
|
1308
1323
|
...l,
|
|
1309
|
-
...
|
|
1324
|
+
...Et(c.data, e.options)
|
|
1310
1325
|
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
|
|
1311
1326
|
}
|
|
1312
1327
|
let { error: f, errorUpdatedAt: p, status: m } = l;
|
|
@@ -1314,26 +1329,26 @@ var wt = class extends z {
|
|
|
1314
1329
|
let h = !1;
|
|
1315
1330
|
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
|
|
1316
1331
|
let e;
|
|
1317
|
-
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 =
|
|
1332
|
+
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 = it(i?.data, e, t), u = !0);
|
|
1318
1333
|
}
|
|
1319
1334
|
if (t.select && d !== void 0 && !h) {
|
|
1320
1335
|
if (i && d === a?.data && t.select === this.#s) d = this.#c;
|
|
1321
1336
|
else try {
|
|
1322
|
-
this.#s = t.select, d = t.select(d), d =
|
|
1337
|
+
this.#s = t.select, d = t.select(d), d = it(i?.data, d, t), this.#c = d, this.#o = null;
|
|
1323
1338
|
} catch (e) {
|
|
1324
1339
|
this.#o = e;
|
|
1325
1340
|
}
|
|
1326
1341
|
} else d === void 0 && (this.#o = null);
|
|
1327
1342
|
this.#o && (f = this.#o, d = this.#c, p = Date.now(), m = "error", u = !1);
|
|
1328
|
-
let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error",
|
|
1343
|
+
let g = l.fetchStatus === "fetching", _ = m === "pending", v = m === "error", ee = _ && g, y = d !== void 0;
|
|
1329
1344
|
return {
|
|
1330
1345
|
status: m,
|
|
1331
1346
|
fetchStatus: l.fetchStatus,
|
|
1332
1347
|
isPending: _,
|
|
1333
1348
|
isSuccess: m === "success",
|
|
1334
1349
|
isError: v,
|
|
1335
|
-
isInitialLoading:
|
|
1336
|
-
isLoading:
|
|
1350
|
+
isInitialLoading: ee,
|
|
1351
|
+
isLoading: ee,
|
|
1337
1352
|
data: d,
|
|
1338
1353
|
dataUpdatedAt: l.dataUpdatedAt,
|
|
1339
1354
|
error: f,
|
|
@@ -1345,18 +1360,18 @@ var wt = class extends z {
|
|
|
1345
1360
|
isFetchedAfterMount: l.dataUpdateCount > s.dataUpdateCount || l.errorUpdateCount > s.errorUpdateCount,
|
|
1346
1361
|
isFetching: g,
|
|
1347
1362
|
isRefetching: g && !_,
|
|
1348
|
-
isLoadingError: v && !
|
|
1363
|
+
isLoadingError: v && !y,
|
|
1349
1364
|
isPaused: l.fetchStatus === "paused",
|
|
1350
1365
|
isPlaceholderData: u,
|
|
1351
|
-
isRefetchError: v &&
|
|
1352
|
-
isStale:
|
|
1366
|
+
isRefetchError: v && y,
|
|
1367
|
+
isStale: Pt(e, t),
|
|
1353
1368
|
refetch: this.refetch,
|
|
1354
|
-
isEnabled:
|
|
1369
|
+
isEnabled: M(t.enabled, e) !== !1
|
|
1355
1370
|
};
|
|
1356
1371
|
}
|
|
1357
1372
|
updateResult() {
|
|
1358
1373
|
let e = this.#r, t = this.createResult(this.#t, this.options);
|
|
1359
|
-
if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t),
|
|
1374
|
+
if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), $e(t, e)) return;
|
|
1360
1375
|
this.#r = t;
|
|
1361
1376
|
let n = (() => {
|
|
1362
1377
|
if (!e) return !0;
|
|
@@ -1368,7 +1383,7 @@ var wt = class extends z {
|
|
|
1368
1383
|
return this.#r[n] !== e[n] && r.has(n);
|
|
1369
1384
|
});
|
|
1370
1385
|
})();
|
|
1371
|
-
|
|
1386
|
+
I.batch(() => {
|
|
1372
1387
|
n && this.listeners.forEach((e) => {
|
|
1373
1388
|
e(this.#r);
|
|
1374
1389
|
}), this.#e.getQueryCache().notify({
|
|
@@ -1387,34 +1402,34 @@ var wt = class extends z {
|
|
|
1387
1402
|
this.updateResult(), this.hasListeners() && this.#y();
|
|
1388
1403
|
}
|
|
1389
1404
|
};
|
|
1390
|
-
function
|
|
1391
|
-
return
|
|
1405
|
+
function At(e, t) {
|
|
1406
|
+
return M(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || M(t.retryOnMount, e) !== !1);
|
|
1392
1407
|
}
|
|
1393
|
-
function
|
|
1394
|
-
return
|
|
1408
|
+
function jt(e, t) {
|
|
1409
|
+
return At(e, t) || e.state.data !== void 0 && Mt(e, t, t.refetchOnMount);
|
|
1395
1410
|
}
|
|
1396
|
-
function
|
|
1397
|
-
if (
|
|
1411
|
+
function Mt(e, t, n) {
|
|
1412
|
+
if (M(t.enabled, e) !== !1 && M(t.staleTime, e) !== "static") {
|
|
1398
1413
|
let r = typeof n == "function" ? n(e) : n;
|
|
1399
|
-
return r === "always" || r !== !1 &&
|
|
1414
|
+
return r === "always" || r !== !1 && Pt(e, t);
|
|
1400
1415
|
}
|
|
1401
1416
|
return !1;
|
|
1402
1417
|
}
|
|
1403
|
-
function
|
|
1404
|
-
return (e !== t ||
|
|
1418
|
+
function Nt(e, t, n, r) {
|
|
1419
|
+
return (e !== t || M(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Pt(e, n);
|
|
1405
1420
|
}
|
|
1406
|
-
function
|
|
1407
|
-
return
|
|
1421
|
+
function Pt(e, t) {
|
|
1422
|
+
return M(t.enabled, e) !== !1 && e.isStaleByTime(M(t.staleTime, e));
|
|
1408
1423
|
}
|
|
1409
1424
|
//#endregion
|
|
1410
1425
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1411
|
-
var
|
|
1426
|
+
var Ft = class extends xt {
|
|
1412
1427
|
#e;
|
|
1413
1428
|
#t;
|
|
1414
1429
|
#n;
|
|
1415
1430
|
#r;
|
|
1416
1431
|
constructor(e) {
|
|
1417
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
1432
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || It(), this.setOptions(e.options), this.scheduleGc();
|
|
1418
1433
|
}
|
|
1419
1434
|
setOptions(e) {
|
|
1420
1435
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -1449,7 +1464,7 @@ var At = class extends gt {
|
|
|
1449
1464
|
client: this.#e,
|
|
1450
1465
|
meta: this.options.meta,
|
|
1451
1466
|
mutationKey: this.options.mutationKey
|
|
1452
|
-
}, r = this.#r =
|
|
1467
|
+
}, r = this.#r = bt({
|
|
1453
1468
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
1454
1469
|
onFail: (e, t) => {
|
|
1455
1470
|
this.#i({
|
|
@@ -1565,7 +1580,7 @@ var At = class extends gt {
|
|
|
1565
1580
|
};
|
|
1566
1581
|
}
|
|
1567
1582
|
};
|
|
1568
|
-
this.state = t(this.state),
|
|
1583
|
+
this.state = t(this.state), I.batch(() => {
|
|
1569
1584
|
this.#t.forEach((t) => {
|
|
1570
1585
|
t.onMutationUpdate(e);
|
|
1571
1586
|
}), this.#n.notify({
|
|
@@ -1576,7 +1591,7 @@ var At = class extends gt {
|
|
|
1576
1591
|
});
|
|
1577
1592
|
}
|
|
1578
1593
|
};
|
|
1579
|
-
function
|
|
1594
|
+
function It() {
|
|
1580
1595
|
return {
|
|
1581
1596
|
context: void 0,
|
|
1582
1597
|
data: void 0,
|
|
@@ -1591,7 +1606,7 @@ function jt() {
|
|
|
1591
1606
|
}
|
|
1592
1607
|
//#endregion
|
|
1593
1608
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1594
|
-
var
|
|
1609
|
+
var Lt = class extends F {
|
|
1595
1610
|
#e;
|
|
1596
1611
|
#t;
|
|
1597
1612
|
#n;
|
|
@@ -1599,7 +1614,7 @@ var Mt = class extends z {
|
|
|
1599
1614
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
1600
1615
|
}
|
|
1601
1616
|
build(e, t, n) {
|
|
1602
|
-
let r = new
|
|
1617
|
+
let r = new Ft({
|
|
1603
1618
|
client: e,
|
|
1604
1619
|
mutationCache: this,
|
|
1605
1620
|
mutationId: ++this.#n,
|
|
@@ -1610,7 +1625,7 @@ var Mt = class extends z {
|
|
|
1610
1625
|
}
|
|
1611
1626
|
add(e) {
|
|
1612
1627
|
this.#e.add(e);
|
|
1613
|
-
let t =
|
|
1628
|
+
let t = Rt(e);
|
|
1614
1629
|
if (typeof t == "string") {
|
|
1615
1630
|
let n = this.#t.get(t);
|
|
1616
1631
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -1622,7 +1637,7 @@ var Mt = class extends z {
|
|
|
1622
1637
|
}
|
|
1623
1638
|
remove(e) {
|
|
1624
1639
|
if (this.#e.delete(e)) {
|
|
1625
|
-
let t =
|
|
1640
|
+
let t = Rt(e);
|
|
1626
1641
|
if (typeof t == "string") {
|
|
1627
1642
|
let n = this.#t.get(t);
|
|
1628
1643
|
if (n) {
|
|
@@ -1639,7 +1654,7 @@ var Mt = class extends z {
|
|
|
1639
1654
|
});
|
|
1640
1655
|
}
|
|
1641
1656
|
canRun(e) {
|
|
1642
|
-
let t =
|
|
1657
|
+
let t = Rt(e);
|
|
1643
1658
|
if (typeof t == "string") {
|
|
1644
1659
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1645
1660
|
return !n || n === e;
|
|
@@ -1647,11 +1662,11 @@ var Mt = class extends z {
|
|
|
1647
1662
|
return !0;
|
|
1648
1663
|
}
|
|
1649
1664
|
runNext(e) {
|
|
1650
|
-
let t =
|
|
1665
|
+
let t = Rt(e);
|
|
1651
1666
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1652
1667
|
}
|
|
1653
1668
|
clear() {
|
|
1654
|
-
|
|
1669
|
+
I.batch(() => {
|
|
1655
1670
|
this.#e.forEach((e) => {
|
|
1656
1671
|
this.notify({
|
|
1657
1672
|
type: "removed",
|
|
@@ -1668,13 +1683,13 @@ var Mt = class extends z {
|
|
|
1668
1683
|
exact: !0,
|
|
1669
1684
|
...e
|
|
1670
1685
|
};
|
|
1671
|
-
return this.getAll().find((e) =>
|
|
1686
|
+
return this.getAll().find((e) => Ye(t, e));
|
|
1672
1687
|
}
|
|
1673
1688
|
findAll(e = {}) {
|
|
1674
|
-
return this.getAll().filter((t) =>
|
|
1689
|
+
return this.getAll().filter((t) => Ye(e, t));
|
|
1675
1690
|
}
|
|
1676
1691
|
notify(e) {
|
|
1677
|
-
|
|
1692
|
+
I.batch(() => {
|
|
1678
1693
|
this.listeners.forEach((t) => {
|
|
1679
1694
|
t(e);
|
|
1680
1695
|
});
|
|
@@ -1682,22 +1697,22 @@ var Mt = class extends z {
|
|
|
1682
1697
|
}
|
|
1683
1698
|
resumePausedMutations() {
|
|
1684
1699
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1685
|
-
return
|
|
1700
|
+
return I.batch(() => Promise.all(e.map((e) => e.continue().catch(j))));
|
|
1686
1701
|
}
|
|
1687
1702
|
};
|
|
1688
|
-
function
|
|
1703
|
+
function Rt(e) {
|
|
1689
1704
|
return e.options.scope?.id;
|
|
1690
1705
|
}
|
|
1691
1706
|
//#endregion
|
|
1692
1707
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1693
|
-
var
|
|
1708
|
+
var zt = class extends F {
|
|
1694
1709
|
#e;
|
|
1695
1710
|
constructor(e = {}) {
|
|
1696
1711
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1697
1712
|
}
|
|
1698
1713
|
build(e, t, n) {
|
|
1699
|
-
let r = t.queryKey, i = t.queryHash ??
|
|
1700
|
-
return a || (a = new
|
|
1714
|
+
let r = t.queryKey, i = t.queryHash ?? Xe(r, t), a = this.get(i);
|
|
1715
|
+
return a || (a = new Tt({
|
|
1701
1716
|
client: e,
|
|
1702
1717
|
queryKey: r,
|
|
1703
1718
|
queryHash: i,
|
|
@@ -1720,7 +1735,7 @@ var Nt = class extends z {
|
|
|
1720
1735
|
}));
|
|
1721
1736
|
}
|
|
1722
1737
|
clear() {
|
|
1723
|
-
|
|
1738
|
+
I.batch(() => {
|
|
1724
1739
|
this.getAll().forEach((e) => {
|
|
1725
1740
|
this.remove(e);
|
|
1726
1741
|
});
|
|
@@ -1737,34 +1752,34 @@ var Nt = class extends z {
|
|
|
1737
1752
|
exact: !0,
|
|
1738
1753
|
...e
|
|
1739
1754
|
};
|
|
1740
|
-
return this.getAll().find((e) =>
|
|
1755
|
+
return this.getAll().find((e) => Je(t, e));
|
|
1741
1756
|
}
|
|
1742
1757
|
findAll(e = {}) {
|
|
1743
1758
|
let t = this.getAll();
|
|
1744
|
-
return Object.keys(e).length > 0 ? t.filter((t) =>
|
|
1759
|
+
return Object.keys(e).length > 0 ? t.filter((t) => Je(e, t)) : t;
|
|
1745
1760
|
}
|
|
1746
1761
|
notify(e) {
|
|
1747
|
-
|
|
1762
|
+
I.batch(() => {
|
|
1748
1763
|
this.listeners.forEach((t) => {
|
|
1749
1764
|
t(e);
|
|
1750
1765
|
});
|
|
1751
1766
|
});
|
|
1752
1767
|
}
|
|
1753
1768
|
onFocus() {
|
|
1754
|
-
|
|
1769
|
+
I.batch(() => {
|
|
1755
1770
|
this.getAll().forEach((e) => {
|
|
1756
1771
|
e.onFocus();
|
|
1757
1772
|
});
|
|
1758
1773
|
});
|
|
1759
1774
|
}
|
|
1760
1775
|
onOnline() {
|
|
1761
|
-
|
|
1776
|
+
I.batch(() => {
|
|
1762
1777
|
this.getAll().forEach((e) => {
|
|
1763
1778
|
e.onOnline();
|
|
1764
1779
|
});
|
|
1765
1780
|
});
|
|
1766
1781
|
}
|
|
1767
|
-
},
|
|
1782
|
+
}, Bt = class {
|
|
1768
1783
|
#e;
|
|
1769
1784
|
#t;
|
|
1770
1785
|
#n;
|
|
@@ -1774,12 +1789,12 @@ var Nt = class extends z {
|
|
|
1774
1789
|
#o;
|
|
1775
1790
|
#s;
|
|
1776
1791
|
constructor(e = {}) {
|
|
1777
|
-
this.#e = e.queryCache || new
|
|
1792
|
+
this.#e = e.queryCache || new zt(), this.#t = e.mutationCache || new Lt(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1778
1793
|
}
|
|
1779
1794
|
mount() {
|
|
1780
|
-
this.#a++, this.#a === 1 && (this.#o =
|
|
1795
|
+
this.#a++, this.#a === 1 && (this.#o = pt.subscribe(async (e) => {
|
|
1781
1796
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1782
|
-
}), this.#s =
|
|
1797
|
+
}), this.#s = gt.subscribe(async (e) => {
|
|
1783
1798
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1784
1799
|
}));
|
|
1785
1800
|
}
|
|
@@ -1804,20 +1819,20 @@ var Nt = class extends z {
|
|
|
1804
1819
|
}
|
|
1805
1820
|
ensureQueryData(e) {
|
|
1806
1821
|
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
|
|
1807
|
-
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(
|
|
1822
|
+
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(M(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
|
|
1808
1823
|
}
|
|
1809
1824
|
getQueriesData(e) {
|
|
1810
1825
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
1811
1826
|
}
|
|
1812
1827
|
setQueryData(e, t, n) {
|
|
1813
|
-
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a =
|
|
1828
|
+
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = Ge(t, i);
|
|
1814
1829
|
if (a !== void 0) return this.#e.build(this, r).setData(a, {
|
|
1815
1830
|
...n,
|
|
1816
1831
|
manual: !0
|
|
1817
1832
|
});
|
|
1818
1833
|
}
|
|
1819
1834
|
setQueriesData(e, t, n) {
|
|
1820
|
-
return
|
|
1835
|
+
return I.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
|
|
1821
1836
|
}
|
|
1822
1837
|
getQueryState(e) {
|
|
1823
1838
|
let t = this.defaultQueryOptions({ queryKey: e });
|
|
@@ -1825,7 +1840,7 @@ var Nt = class extends z {
|
|
|
1825
1840
|
}
|
|
1826
1841
|
removeQueries(e) {
|
|
1827
1842
|
let t = this.#e;
|
|
1828
|
-
|
|
1843
|
+
I.batch(() => {
|
|
1829
1844
|
t.findAll(e).forEach((e) => {
|
|
1830
1845
|
t.remove(e);
|
|
1831
1846
|
});
|
|
@@ -1833,7 +1848,7 @@ var Nt = class extends z {
|
|
|
1833
1848
|
}
|
|
1834
1849
|
resetQueries(e, t) {
|
|
1835
1850
|
let n = this.#e;
|
|
1836
|
-
return
|
|
1851
|
+
return I.batch(() => {
|
|
1837
1852
|
let r = n.findAll(e), i = new Set(r);
|
|
1838
1853
|
return r.forEach((e) => {
|
|
1839
1854
|
e.reset();
|
|
@@ -1847,11 +1862,11 @@ var Nt = class extends z {
|
|
|
1847
1862
|
let n = {
|
|
1848
1863
|
revert: !0,
|
|
1849
1864
|
...t
|
|
1850
|
-
}, r =
|
|
1851
|
-
return Promise.all(r).then(
|
|
1865
|
+
}, r = I.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1866
|
+
return Promise.all(r).then(j).catch(j);
|
|
1852
1867
|
}
|
|
1853
1868
|
invalidateQueries(e, t = {}) {
|
|
1854
|
-
return
|
|
1869
|
+
return I.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
1855
1870
|
e.invalidate();
|
|
1856
1871
|
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
|
|
1857
1872
|
...e,
|
|
@@ -1862,26 +1877,26 @@ var Nt = class extends z {
|
|
|
1862
1877
|
let n = {
|
|
1863
1878
|
...t,
|
|
1864
1879
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1865
|
-
}, r =
|
|
1880
|
+
}, r = I.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1866
1881
|
let t = e.fetch(void 0, n);
|
|
1867
|
-
return n.throwOnError || (t = t.catch(
|
|
1882
|
+
return n.throwOnError || (t = t.catch(j)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1868
1883
|
}));
|
|
1869
|
-
return Promise.all(r).then(
|
|
1884
|
+
return Promise.all(r).then(j);
|
|
1870
1885
|
}
|
|
1871
1886
|
async query(e) {
|
|
1872
1887
|
let t = this.defaultQueryOptions(e);
|
|
1873
1888
|
t.retry === void 0 && (t.retry = !1);
|
|
1874
|
-
let n = this.#e.build(this, t), r = n.isStaleByTime(
|
|
1889
|
+
let n = this.#e.build(this, t), r = n.isStaleByTime(M(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;
|
|
1875
1890
|
return i ? i(r) : r;
|
|
1876
1891
|
}
|
|
1877
1892
|
fetchQuery(e) {
|
|
1878
1893
|
let t = this.defaultQueryOptions(e);
|
|
1879
1894
|
t.retry === void 0 && (t.retry = !1);
|
|
1880
1895
|
let n = this.#e.build(this, t);
|
|
1881
|
-
return n.isStaleByTime(
|
|
1896
|
+
return n.isStaleByTime(M(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
|
|
1882
1897
|
}
|
|
1883
1898
|
prefetchQuery(e) {
|
|
1884
|
-
return this.fetchQuery(e).then(
|
|
1899
|
+
return this.fetchQuery(e).then(j).catch(j);
|
|
1885
1900
|
}
|
|
1886
1901
|
infiniteQuery(e) {
|
|
1887
1902
|
return e._type = "infinite", this.query(e);
|
|
@@ -1890,13 +1905,13 @@ var Nt = class extends z {
|
|
|
1890
1905
|
return e._type = "infinite", this.fetchQuery(e);
|
|
1891
1906
|
}
|
|
1892
1907
|
prefetchInfiniteQuery(e) {
|
|
1893
|
-
return this.fetchInfiniteQuery(e).then(
|
|
1908
|
+
return this.fetchInfiniteQuery(e).then(j).catch(j);
|
|
1894
1909
|
}
|
|
1895
1910
|
ensureInfiniteQueryData(e) {
|
|
1896
1911
|
return e._type = "infinite", this.ensureQueryData(e);
|
|
1897
1912
|
}
|
|
1898
1913
|
resumePausedMutations() {
|
|
1899
|
-
return
|
|
1914
|
+
return gt.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1900
1915
|
}
|
|
1901
1916
|
getQueryCache() {
|
|
1902
1917
|
return this.#e;
|
|
@@ -1911,7 +1926,7 @@ var Nt = class extends z {
|
|
|
1911
1926
|
this.#n = e;
|
|
1912
1927
|
}
|
|
1913
1928
|
setQueryDefaults(e, t) {
|
|
1914
|
-
this.#r.set(
|
|
1929
|
+
this.#r.set(N(e), {
|
|
1915
1930
|
queryKey: e,
|
|
1916
1931
|
defaultOptions: t
|
|
1917
1932
|
});
|
|
@@ -1919,11 +1934,11 @@ var Nt = class extends z {
|
|
|
1919
1934
|
getQueryDefaults(e) {
|
|
1920
1935
|
let t = [...this.#r.values()], n = {};
|
|
1921
1936
|
return t.forEach((t) => {
|
|
1922
|
-
|
|
1937
|
+
P(e, t.queryKey) && Object.assign(n, t.defaultOptions);
|
|
1923
1938
|
}), n;
|
|
1924
1939
|
}
|
|
1925
1940
|
setMutationDefaults(e, t) {
|
|
1926
|
-
this.#i.set(
|
|
1941
|
+
this.#i.set(N(e), {
|
|
1927
1942
|
mutationKey: e,
|
|
1928
1943
|
defaultOptions: t
|
|
1929
1944
|
});
|
|
@@ -1931,7 +1946,7 @@ var Nt = class extends z {
|
|
|
1931
1946
|
getMutationDefaults(e) {
|
|
1932
1947
|
let t = [...this.#i.values()], n = {};
|
|
1933
1948
|
return t.forEach((t) => {
|
|
1934
|
-
|
|
1949
|
+
P(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
|
|
1935
1950
|
}), n;
|
|
1936
1951
|
}
|
|
1937
1952
|
defaultQueryOptions(e) {
|
|
@@ -1942,7 +1957,7 @@ var Nt = class extends z {
|
|
|
1942
1957
|
...e,
|
|
1943
1958
|
_defaulted: !0
|
|
1944
1959
|
};
|
|
1945
|
-
return t.queryHash ||=
|
|
1960
|
+
return t.queryHash ||= Xe(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 === st && (t.enabled = !1), t;
|
|
1946
1961
|
}
|
|
1947
1962
|
defaultMutationOptions(e) {
|
|
1948
1963
|
return e?._defaulted ? e : {
|
|
@@ -1955,10 +1970,10 @@ var Nt = class extends z {
|
|
|
1955
1970
|
clear() {
|
|
1956
1971
|
this.#e.clear(), this.#t.clear();
|
|
1957
1972
|
}
|
|
1958
|
-
},
|
|
1973
|
+
}, Vt = b.createContext(!1), Ht = () => b.useContext(Vt);
|
|
1959
1974
|
//#endregion
|
|
1960
1975
|
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
1961
|
-
function
|
|
1976
|
+
function Ut() {
|
|
1962
1977
|
let e = !1;
|
|
1963
1978
|
return {
|
|
1964
1979
|
clearReset: () => {
|
|
@@ -1970,37 +1985,37 @@ function Lt() {
|
|
|
1970
1985
|
isReset: () => e
|
|
1971
1986
|
};
|
|
1972
1987
|
}
|
|
1973
|
-
var
|
|
1974
|
-
let r = n?.state.error && typeof e.throwOnError == "function" ?
|
|
1988
|
+
var Wt = b.createContext(Ut()), Gt = () => b.useContext(Wt), Kt = (e, t, n) => {
|
|
1989
|
+
let r = n?.state.error && typeof e.throwOnError == "function" ? lt(e.throwOnError, [n.state.error, n]) : e.throwOnError;
|
|
1975
1990
|
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
|
|
1976
|
-
},
|
|
1977
|
-
|
|
1991
|
+
}, qt = (e) => {
|
|
1992
|
+
b.useEffect(() => {
|
|
1978
1993
|
e.clearReset();
|
|
1979
1994
|
}, [e]);
|
|
1980
|
-
},
|
|
1995
|
+
}, Jt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || lt(n, [e.error, r])), Yt = (e) => {
|
|
1981
1996
|
if (e.suspense) {
|
|
1982
1997
|
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
|
|
1983
1998
|
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
|
|
1984
1999
|
}
|
|
1985
|
-
},
|
|
2000
|
+
}, Xt = (e, t) => e?.suspense && t.isPending, Zt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
1986
2001
|
n.clearReset();
|
|
1987
2002
|
});
|
|
1988
2003
|
//#endregion
|
|
1989
2004
|
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1990
|
-
function
|
|
2005
|
+
function Qt(e, t, n) {
|
|
1991
2006
|
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");
|
|
1992
|
-
let r =
|
|
2007
|
+
let r = Ht(), i = Gt(), a = Be(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash);
|
|
1993
2008
|
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`));
|
|
1994
2009
|
let c = e.subscribed !== !1;
|
|
1995
|
-
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0,
|
|
1996
|
-
let [l] =
|
|
1997
|
-
if (
|
|
1998
|
-
let t = d ? l.subscribe(
|
|
2010
|
+
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, Yt(o), Kt(o, i, s), qt(i);
|
|
2011
|
+
let [l] = b.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
|
|
2012
|
+
if (b.useSyncExternalStore(b.useCallback((e) => {
|
|
2013
|
+
let t = d ? l.subscribe(I.batchCalls(e)) : j;
|
|
1999
2014
|
return l.updateResult(), t;
|
|
2000
|
-
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()),
|
|
2015
|
+
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), b.useEffect(() => {
|
|
2001
2016
|
l.setOptions(o);
|
|
2002
|
-
}, [o, l]),
|
|
2003
|
-
if (
|
|
2017
|
+
}, [o, l]), Xt(o, u)) throw Zt(o, l, i);
|
|
2018
|
+
if (Jt({
|
|
2004
2019
|
result: u,
|
|
2005
2020
|
errorResetBoundary: i,
|
|
2006
2021
|
throwOnError: o.throwOnError,
|
|
@@ -2011,12 +2026,32 @@ function Kt(e, t, n) {
|
|
|
2011
2026
|
}
|
|
2012
2027
|
//#endregion
|
|
2013
2028
|
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
2014
|
-
function
|
|
2015
|
-
return
|
|
2029
|
+
function $t(e, t) {
|
|
2030
|
+
return Qt(e, kt, t);
|
|
2016
2031
|
}
|
|
2017
2032
|
//#endregion
|
|
2018
2033
|
//#region src/client/client/CubeClient.ts
|
|
2019
|
-
var
|
|
2034
|
+
var en = class extends Error {
|
|
2035
|
+
status;
|
|
2036
|
+
issues;
|
|
2037
|
+
constructor(e, t, n) {
|
|
2038
|
+
super(e), this.name = "CubeQueryError", this.status = t, this.issues = n;
|
|
2039
|
+
}
|
|
2040
|
+
};
|
|
2041
|
+
async function L(e, t) {
|
|
2042
|
+
let n = `${t}: ${e.status}`, r;
|
|
2043
|
+
try {
|
|
2044
|
+
let t = await e.text();
|
|
2045
|
+
try {
|
|
2046
|
+
let e = JSON.parse(t);
|
|
2047
|
+
n = e.error ? e.error : `${n} ${t}`, Array.isArray(e.issues) && (r = e.issues);
|
|
2048
|
+
} catch {
|
|
2049
|
+
n += ` ${t}`;
|
|
2050
|
+
}
|
|
2051
|
+
} catch {}
|
|
2052
|
+
return new en(n, e.status, r);
|
|
2053
|
+
}
|
|
2054
|
+
var tn = class {
|
|
2020
2055
|
apiUrl;
|
|
2021
2056
|
headers;
|
|
2022
2057
|
credentials;
|
|
@@ -2034,20 +2069,8 @@ var Jt = class {
|
|
|
2034
2069
|
headers: a,
|
|
2035
2070
|
credentials: this.credentials
|
|
2036
2071
|
});
|
|
2037
|
-
if (!o.ok)
|
|
2038
|
-
|
|
2039
|
-
try {
|
|
2040
|
-
let t = await o.text();
|
|
2041
|
-
try {
|
|
2042
|
-
let n = JSON.parse(t);
|
|
2043
|
-
n.error ? e = n.error : e += ` ${t}`;
|
|
2044
|
-
} catch {
|
|
2045
|
-
e += ` ${t}`;
|
|
2046
|
-
}
|
|
2047
|
-
} catch {}
|
|
2048
|
-
throw Error(e);
|
|
2049
|
-
}
|
|
2050
|
-
return new Yt(await o.json());
|
|
2072
|
+
if (!o.ok) throw await L(o, "Cube query failed");
|
|
2073
|
+
return new nn(await o.json());
|
|
2051
2074
|
}
|
|
2052
2075
|
async meta() {
|
|
2053
2076
|
let e = `${this.apiUrl}/meta`, t = await fetch(e, {
|
|
@@ -2055,7 +2078,7 @@ var Jt = class {
|
|
|
2055
2078
|
headers: this.headers,
|
|
2056
2079
|
credentials: this.credentials
|
|
2057
2080
|
});
|
|
2058
|
-
if (!t.ok) throw
|
|
2081
|
+
if (!t.ok) throw await L(t, "Failed to fetch meta");
|
|
2059
2082
|
return t.json();
|
|
2060
2083
|
}
|
|
2061
2084
|
async sql(e) {
|
|
@@ -2064,7 +2087,7 @@ var Jt = class {
|
|
|
2064
2087
|
headers: { ...Object.fromEntries(Object.entries(this.headers).filter(([e]) => e !== "Content-Type")) },
|
|
2065
2088
|
credentials: this.credentials
|
|
2066
2089
|
});
|
|
2067
|
-
if (!r.ok) throw
|
|
2090
|
+
if (!r.ok) throw await L(r, "SQL generation failed");
|
|
2068
2091
|
return r.json();
|
|
2069
2092
|
}
|
|
2070
2093
|
async dryRun(e) {
|
|
@@ -2074,19 +2097,7 @@ var Jt = class {
|
|
|
2074
2097
|
credentials: this.credentials,
|
|
2075
2098
|
body: JSON.stringify({ query: e })
|
|
2076
2099
|
});
|
|
2077
|
-
if (!n.ok)
|
|
2078
|
-
let e = `Dry run failed: ${n.status}`;
|
|
2079
|
-
try {
|
|
2080
|
-
let t = await n.text();
|
|
2081
|
-
try {
|
|
2082
|
-
let n = JSON.parse(t);
|
|
2083
|
-
n.error ? e = n.error : e += ` ${t}`;
|
|
2084
|
-
} catch {
|
|
2085
|
-
e += ` ${t}`;
|
|
2086
|
-
}
|
|
2087
|
-
} catch {}
|
|
2088
|
-
throw Error(e);
|
|
2089
|
-
}
|
|
2100
|
+
if (!n.ok) throw await L(n, "Dry run failed");
|
|
2090
2101
|
return n.json();
|
|
2091
2102
|
}
|
|
2092
2103
|
async explain(e, t) {
|
|
@@ -2099,19 +2110,7 @@ var Jt = class {
|
|
|
2099
2110
|
options: t
|
|
2100
2111
|
})
|
|
2101
2112
|
});
|
|
2102
|
-
if (!r.ok)
|
|
2103
|
-
let e = `Explain failed: ${r.status}`;
|
|
2104
|
-
try {
|
|
2105
|
-
let t = await r.text();
|
|
2106
|
-
try {
|
|
2107
|
-
let n = JSON.parse(t);
|
|
2108
|
-
n.error ? e = n.error : e += ` ${t}`;
|
|
2109
|
-
} catch {
|
|
2110
|
-
e += ` ${t}`;
|
|
2111
|
-
}
|
|
2112
|
-
} catch {}
|
|
2113
|
-
throw Error(e);
|
|
2114
|
-
}
|
|
2113
|
+
if (!r.ok) throw await L(r, "Explain failed");
|
|
2115
2114
|
return r.json();
|
|
2116
2115
|
}
|
|
2117
2116
|
async batchLoad(e, t) {
|
|
@@ -2123,28 +2122,16 @@ var Jt = class {
|
|
|
2123
2122
|
credentials: this.credentials,
|
|
2124
2123
|
body: JSON.stringify({ queries: e })
|
|
2125
2124
|
});
|
|
2126
|
-
if (!i.ok)
|
|
2127
|
-
let e = `Batch query failed: ${i.status}`;
|
|
2128
|
-
try {
|
|
2129
|
-
let t = await i.text();
|
|
2130
|
-
try {
|
|
2131
|
-
let n = JSON.parse(t);
|
|
2132
|
-
n.error ? e = n.error : e += ` ${t}`;
|
|
2133
|
-
} catch {
|
|
2134
|
-
e += ` ${t}`;
|
|
2135
|
-
}
|
|
2136
|
-
} catch {}
|
|
2137
|
-
throw Error(e);
|
|
2138
|
-
}
|
|
2125
|
+
if (!i.ok) throw await L(i, "Batch query failed");
|
|
2139
2126
|
return (await i.json()).results.map((e) => !e.success && e.error ? {
|
|
2140
|
-
...new
|
|
2127
|
+
...new nn({
|
|
2141
2128
|
data: [],
|
|
2142
2129
|
annotation: {}
|
|
2143
2130
|
}),
|
|
2144
2131
|
error: e.error
|
|
2145
|
-
} : new
|
|
2132
|
+
} : new nn(e));
|
|
2146
2133
|
}
|
|
2147
|
-
},
|
|
2134
|
+
}, nn = class {
|
|
2148
2135
|
loadResponse;
|
|
2149
2136
|
constructor(e) {
|
|
2150
2137
|
this.loadResponse = e;
|
|
@@ -2161,16 +2148,19 @@ var Jt = class {
|
|
|
2161
2148
|
annotation() {
|
|
2162
2149
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].annotation || {} : this.loadResponse.annotation || {};
|
|
2163
2150
|
}
|
|
2151
|
+
totalCount() {
|
|
2152
|
+
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].total : this.loadResponse.total;
|
|
2153
|
+
}
|
|
2164
2154
|
cacheInfo() {
|
|
2165
2155
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
|
|
2166
2156
|
}
|
|
2167
2157
|
};
|
|
2168
|
-
function
|
|
2169
|
-
return new
|
|
2158
|
+
function rn(e, t = {}) {
|
|
2159
|
+
return new tn(e, t);
|
|
2170
2160
|
}
|
|
2171
2161
|
//#endregion
|
|
2172
2162
|
//#region src/client/client/BatchCoordinator.ts
|
|
2173
|
-
var
|
|
2163
|
+
var an = class {
|
|
2174
2164
|
queue = [];
|
|
2175
2165
|
flushScheduled = !1;
|
|
2176
2166
|
batchExecutor;
|
|
@@ -2199,7 +2189,10 @@ var Zt = class {
|
|
|
2199
2189
|
let t = e.map((e) => e.query), n = await this.batchExecutor(t);
|
|
2200
2190
|
e.forEach((e, t) => {
|
|
2201
2191
|
let r = n[t];
|
|
2202
|
-
r && "error" in r && r.error
|
|
2192
|
+
if (r && "error" in r && r.error) {
|
|
2193
|
+
let t = r.issues;
|
|
2194
|
+
e.reject(new en(r.error, 400, t));
|
|
2195
|
+
} else e.resolve(r);
|
|
2203
2196
|
});
|
|
2204
2197
|
} catch (t) {
|
|
2205
2198
|
e.forEach((e) => {
|
|
@@ -2213,31 +2206,31 @@ var Zt = class {
|
|
|
2213
2206
|
clear() {
|
|
2214
2207
|
this.queue = [], this.flushScheduled = !1;
|
|
2215
2208
|
}
|
|
2216
|
-
},
|
|
2217
|
-
function
|
|
2218
|
-
let s =
|
|
2209
|
+
}, on = ge(null);
|
|
2210
|
+
function sn({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatching: i = !0, batchDelayMs: a = 50, children: o }) {
|
|
2211
|
+
let s = S(() => ({
|
|
2219
2212
|
apiOptions: e,
|
|
2220
2213
|
token: t
|
|
2221
|
-
}), [e, t]), [c, l] =
|
|
2222
|
-
|
|
2214
|
+
}), [e, t]), [c, l] = C(null);
|
|
2215
|
+
x(() => {
|
|
2223
2216
|
l(null);
|
|
2224
2217
|
}, [s]);
|
|
2225
|
-
let u = c ?? s, d =
|
|
2218
|
+
let u = c ?? s, d = S(() => r ? {
|
|
2226
2219
|
...u.apiOptions,
|
|
2227
2220
|
headers: {
|
|
2228
2221
|
...u.apiOptions.headers ?? {},
|
|
2229
2222
|
"X-DC-Locale": r
|
|
2230
2223
|
}
|
|
2231
|
-
} : u.apiOptions, [u.apiOptions, r]), f =
|
|
2224
|
+
} : u.apiOptions, [u.apiOptions, r]), f = S(() => rn(u.token, d), [d, u.token]), p = S(() => i ? new an((e) => f.batchLoad(e), a) : null, [
|
|
2232
2225
|
i,
|
|
2233
2226
|
f,
|
|
2234
2227
|
a
|
|
2235
|
-
]), m =
|
|
2228
|
+
]), m = be((e, t) => {
|
|
2236
2229
|
l({
|
|
2237
2230
|
apiOptions: e,
|
|
2238
2231
|
token: t
|
|
2239
2232
|
});
|
|
2240
|
-
}, []), h =
|
|
2233
|
+
}, []), h = S(() => ({
|
|
2241
2234
|
cubeApi: f,
|
|
2242
2235
|
options: n,
|
|
2243
2236
|
apiOptions: d,
|
|
@@ -2252,20 +2245,20 @@ function $t({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
|
|
|
2252
2245
|
p,
|
|
2253
2246
|
i
|
|
2254
2247
|
]);
|
|
2255
|
-
return /* @__PURE__ */
|
|
2248
|
+
return /* @__PURE__ */ w(on.Provider, {
|
|
2256
2249
|
value: h,
|
|
2257
2250
|
children: o
|
|
2258
2251
|
});
|
|
2259
2252
|
}
|
|
2260
|
-
function
|
|
2261
|
-
let e =
|
|
2253
|
+
function cn() {
|
|
2254
|
+
let e = xe(on);
|
|
2262
2255
|
if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
|
|
2263
2256
|
return e;
|
|
2264
2257
|
}
|
|
2265
2258
|
//#endregion
|
|
2266
2259
|
//#region src/client/hooks/queries/useCubeMetaQuery.ts
|
|
2267
|
-
var
|
|
2268
|
-
function
|
|
2260
|
+
var ln = ["cube", "meta"];
|
|
2261
|
+
function un(e) {
|
|
2269
2262
|
let t = {};
|
|
2270
2263
|
return e.cubes.forEach((e) => {
|
|
2271
2264
|
e.measures.forEach((e) => {
|
|
@@ -2277,14 +2270,14 @@ function nn(e) {
|
|
|
2277
2270
|
});
|
|
2278
2271
|
}), t;
|
|
2279
2272
|
}
|
|
2280
|
-
function
|
|
2281
|
-
let { enabled: t = !0, staleTime: n = 3e5 } = e, { cubeApi: r } =
|
|
2282
|
-
queryKey:
|
|
2273
|
+
function dn(e = {}) {
|
|
2274
|
+
let { enabled: t = !0, staleTime: n = 3e5 } = e, { cubeApi: r } = cn(), i = Be(), a = $t({
|
|
2275
|
+
queryKey: ln,
|
|
2283
2276
|
queryFn: async () => {
|
|
2284
2277
|
let e = await r.meta();
|
|
2285
2278
|
return {
|
|
2286
2279
|
meta: e,
|
|
2287
|
-
labelMap:
|
|
2280
|
+
labelMap: un(e)
|
|
2288
2281
|
};
|
|
2289
2282
|
},
|
|
2290
2283
|
enabled: t,
|
|
@@ -2298,15 +2291,15 @@ function rn(e = {}) {
|
|
|
2298
2291
|
isFetching: a.isFetching,
|
|
2299
2292
|
error: a.error,
|
|
2300
2293
|
refetch: () => {
|
|
2301
|
-
i.invalidateQueries({ queryKey:
|
|
2294
|
+
i.invalidateQueries({ queryKey: ln });
|
|
2302
2295
|
},
|
|
2303
2296
|
getFieldLabel: (e) => s[e] || e
|
|
2304
2297
|
};
|
|
2305
2298
|
}
|
|
2306
2299
|
//#endregion
|
|
2307
2300
|
//#region src/client/utils/thumbnail.ts
|
|
2308
|
-
var
|
|
2309
|
-
function
|
|
2301
|
+
var fn = null, pn = !1;
|
|
2302
|
+
function mn(e, t, n, r, i) {
|
|
2310
2303
|
return new Promise((a, o) => {
|
|
2311
2304
|
let s = new Image();
|
|
2312
2305
|
s.onload = () => {
|
|
@@ -2323,26 +2316,26 @@ function on(e, t, n, r, i) {
|
|
|
2323
2316
|
}, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
|
|
2324
2317
|
});
|
|
2325
2318
|
}
|
|
2326
|
-
async function
|
|
2327
|
-
if (
|
|
2319
|
+
async function R() {
|
|
2320
|
+
if (pn) return fn;
|
|
2328
2321
|
try {
|
|
2329
|
-
return
|
|
2322
|
+
return fn = await import("./dist-BPmPx7kz.js"), pn = !0, fn;
|
|
2330
2323
|
} catch {
|
|
2331
|
-
return
|
|
2324
|
+
return pn = !0, fn = null, null;
|
|
2332
2325
|
}
|
|
2333
2326
|
}
|
|
2334
|
-
function
|
|
2335
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ ||
|
|
2327
|
+
function hn(e) {
|
|
2328
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || R().then((e) => {
|
|
2336
2329
|
!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);
|
|
2337
2330
|
}));
|
|
2338
2331
|
}
|
|
2339
|
-
async function
|
|
2332
|
+
async function gn(e, t) {
|
|
2340
2333
|
if (typeof window > "u" || !e.current) return null;
|
|
2341
|
-
let n = await
|
|
2334
|
+
let n = await R();
|
|
2342
2335
|
if (!n) return null;
|
|
2343
2336
|
try {
|
|
2344
|
-
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c =
|
|
2345
|
-
return await
|
|
2337
|
+
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = bn(s);
|
|
2338
|
+
return await mn(await n.domToPng(s, {
|
|
2346
2339
|
scale: 2,
|
|
2347
2340
|
backgroundColor: c
|
|
2348
2341
|
}), r, i, a, o);
|
|
@@ -2350,31 +2343,31 @@ async function cn(e, t) {
|
|
|
2350
2343
|
return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
|
|
2351
2344
|
}
|
|
2352
2345
|
}
|
|
2353
|
-
async function
|
|
2354
|
-
return !e?.enabled || typeof window > "u" ? !1 : await
|
|
2346
|
+
async function _n(e) {
|
|
2347
|
+
return !e?.enabled || typeof window > "u" ? !1 : await R() !== null;
|
|
2355
2348
|
}
|
|
2356
|
-
async function
|
|
2357
|
-
return typeof window > "u" || !await
|
|
2349
|
+
async function vn() {
|
|
2350
|
+
return typeof window > "u" || !await R() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
|
|
2358
2351
|
}
|
|
2359
|
-
function
|
|
2352
|
+
function yn(e) {
|
|
2360
2353
|
if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
|
|
2361
2354
|
let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
|
|
2362
2355
|
return !!(t && parseFloat(t[1]) === 0);
|
|
2363
2356
|
}
|
|
2364
|
-
function
|
|
2357
|
+
function bn(e) {
|
|
2365
2358
|
let t = e;
|
|
2366
2359
|
for (; t;) {
|
|
2367
2360
|
let e = getComputedStyle(t).backgroundColor;
|
|
2368
|
-
if (!
|
|
2361
|
+
if (!yn(e)) return e;
|
|
2369
2362
|
t = t.parentElement;
|
|
2370
2363
|
}
|
|
2371
2364
|
return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
|
|
2372
2365
|
}
|
|
2373
|
-
async function
|
|
2366
|
+
async function xn(e) {
|
|
2374
2367
|
try {
|
|
2375
|
-
let t = await
|
|
2368
|
+
let t = await R();
|
|
2376
2369
|
if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
|
|
2377
|
-
let n =
|
|
2370
|
+
let n = bn(e), r = await t.domToPng(e, {
|
|
2378
2371
|
scale: 2,
|
|
2379
2372
|
backgroundColor: n
|
|
2380
2373
|
}), i = await (await fetch(r)).blob();
|
|
@@ -2385,12 +2378,12 @@ async function pn(e) {
|
|
|
2385
2378
|
}
|
|
2386
2379
|
//#endregion
|
|
2387
2380
|
//#region src/client/utils/exportXlsx.ts
|
|
2388
|
-
var
|
|
2381
|
+
var z = null, Sn = !1, B = {
|
|
2389
2382
|
headerBg: "FF3B82F6",
|
|
2390
2383
|
headerText: "FFFFFFFF",
|
|
2391
2384
|
borderColor: "FFE5E7EB"
|
|
2392
2385
|
};
|
|
2393
|
-
function
|
|
2386
|
+
function Cn(e) {
|
|
2394
2387
|
if (!e) return null;
|
|
2395
2388
|
let t = e.trim();
|
|
2396
2389
|
if (t.startsWith("#")) {
|
|
@@ -2404,19 +2397,19 @@ function _n(e) {
|
|
|
2404
2397
|
}
|
|
2405
2398
|
return null;
|
|
2406
2399
|
}
|
|
2407
|
-
function
|
|
2408
|
-
if (typeof document > "u") return
|
|
2400
|
+
function wn() {
|
|
2401
|
+
if (typeof document > "u") return B;
|
|
2409
2402
|
let e = getComputedStyle(document.documentElement), t = e.getPropertyValue("--dc-primary").trim(), n = e.getPropertyValue("--dc-primary-content").trim(), r = e.getPropertyValue("--dc-border").trim();
|
|
2410
2403
|
return {
|
|
2411
|
-
headerBg:
|
|
2412
|
-
headerText:
|
|
2413
|
-
borderColor:
|
|
2404
|
+
headerBg: Cn(t) ?? B.headerBg,
|
|
2405
|
+
headerText: Cn(n) ?? B.headerText,
|
|
2406
|
+
borderColor: Cn(r) ?? B.borderColor
|
|
2414
2407
|
};
|
|
2415
2408
|
}
|
|
2416
|
-
function
|
|
2409
|
+
function Tn(e) {
|
|
2417
2410
|
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);
|
|
2418
2411
|
}
|
|
2419
|
-
function
|
|
2412
|
+
function En(e, t) {
|
|
2420
2413
|
e.height = 18, e.eachCell((e) => {
|
|
2421
2414
|
e.font = {
|
|
2422
2415
|
bold: !0,
|
|
@@ -2432,7 +2425,7 @@ function bn(e, t) {
|
|
|
2432
2425
|
};
|
|
2433
2426
|
});
|
|
2434
2427
|
}
|
|
2435
|
-
function
|
|
2428
|
+
function Dn(e, t) {
|
|
2436
2429
|
e.eachRow((e) => {
|
|
2437
2430
|
e.eachCell((e) => {
|
|
2438
2431
|
e.border = {
|
|
@@ -2459,7 +2452,7 @@ function xn(e, t) {
|
|
|
2459
2452
|
});
|
|
2460
2453
|
});
|
|
2461
2454
|
}
|
|
2462
|
-
function
|
|
2455
|
+
function On(e, t = []) {
|
|
2463
2456
|
e.columns?.forEach((e, n) => {
|
|
2464
2457
|
let r = t[n] ?? 10;
|
|
2465
2458
|
e.eachCell?.({ includeEmpty: !0 }, (e) => {
|
|
@@ -2468,15 +2461,15 @@ function Sn(e, t = []) {
|
|
|
2468
2461
|
}), e.width = Math.min(Math.max(r + 2, t[n] ?? 10), 70);
|
|
2469
2462
|
});
|
|
2470
2463
|
}
|
|
2471
|
-
function
|
|
2464
|
+
function V(e, t, n, r) {
|
|
2472
2465
|
let i = e.addWorksheet(t);
|
|
2473
2466
|
if (n.length === 0) {
|
|
2474
|
-
i.addRow(["No data available"]),
|
|
2467
|
+
i.addRow(["No data available"]), On(i, [32]);
|
|
2475
2468
|
return;
|
|
2476
2469
|
}
|
|
2477
2470
|
let a = Object.keys(n[0]);
|
|
2478
|
-
|
|
2479
|
-
for (let e of n) i.addRow(a.map((t) =>
|
|
2471
|
+
En(i.addRow(a), r);
|
|
2472
|
+
for (let e of n) i.addRow(a.map((t) => Tn(e[t])));
|
|
2480
2473
|
i.views = [{
|
|
2481
2474
|
state: "frozen",
|
|
2482
2475
|
ySplit: 1
|
|
@@ -2489,58 +2482,58 @@ function Cn(e, t, n, r) {
|
|
|
2489
2482
|
row: 1,
|
|
2490
2483
|
column: a.length
|
|
2491
2484
|
}
|
|
2492
|
-
},
|
|
2485
|
+
}, Dn(i, r), On(i);
|
|
2493
2486
|
}
|
|
2494
|
-
function
|
|
2487
|
+
function kn(e) {
|
|
2495
2488
|
return e.replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").toLowerCase();
|
|
2496
2489
|
}
|
|
2497
|
-
function
|
|
2498
|
-
let n =
|
|
2490
|
+
function An(e, t) {
|
|
2491
|
+
let n = kn(e), r = /* @__PURE__ */ new Date();
|
|
2499
2492
|
return `${n}-${`${r.getFullYear()}${String(r.getMonth() + 1).padStart(2, "0")}${String(r.getDate()).padStart(2, "0")}`}-${crypto.randomUUID().slice(0, 4).toUpperCase()}.${t}`;
|
|
2500
2493
|
}
|
|
2501
|
-
async function
|
|
2502
|
-
if (
|
|
2494
|
+
async function jn() {
|
|
2495
|
+
if (Sn) return z;
|
|
2503
2496
|
try {
|
|
2504
|
-
return
|
|
2497
|
+
return z = await import("./exceljs.min-CiByP8VQ.js").then((t) => /* @__PURE__ */ e(t.default, 1)), Sn = !0, z;
|
|
2505
2498
|
} catch {
|
|
2506
|
-
return
|
|
2499
|
+
return Sn = !0, z = null, null;
|
|
2507
2500
|
}
|
|
2508
2501
|
}
|
|
2509
|
-
async function
|
|
2510
|
-
return typeof window > "u" ? !1 : await
|
|
2502
|
+
async function Mn() {
|
|
2503
|
+
return typeof window > "u" ? !1 : await jn() !== null;
|
|
2511
2504
|
}
|
|
2512
|
-
function
|
|
2513
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ ||
|
|
2505
|
+
function Nn(e) {
|
|
2506
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ || jn().then((e) => {
|
|
2514
2507
|
!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);
|
|
2515
2508
|
}));
|
|
2516
2509
|
}
|
|
2517
|
-
function
|
|
2510
|
+
function Pn(e) {
|
|
2518
2511
|
return !!e && typeof e == "object" && "nodes" in e && "links" in e && Array.isArray(e.nodes) && Array.isArray(e.links);
|
|
2519
2512
|
}
|
|
2520
|
-
function
|
|
2513
|
+
function Fn(e) {
|
|
2521
2514
|
return !!e && typeof e == "object" && "rows" in e && "periods" in e && Array.isArray(e.rows) && Array.isArray(e.periods);
|
|
2522
2515
|
}
|
|
2523
|
-
function
|
|
2516
|
+
function In(e, t) {
|
|
2524
2517
|
let n = new Blob([e], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), r = URL.createObjectURL(n), i = document.createElement("a");
|
|
2525
2518
|
i.href = r, i.download = t, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(r);
|
|
2526
2519
|
}
|
|
2527
|
-
async function
|
|
2528
|
-
let n = await
|
|
2520
|
+
async function Ln(e, t) {
|
|
2521
|
+
let n = await jn();
|
|
2529
2522
|
if (!n) return console.warn("[drizzle-cube] Cannot export: exceljs not available"), !1;
|
|
2530
2523
|
try {
|
|
2531
|
-
let r = new n.Workbook(), i =
|
|
2532
|
-
if (
|
|
2533
|
-
else if (
|
|
2534
|
-
else if (Array.isArray(a))
|
|
2524
|
+
let r = new n.Workbook(), i = wn(), { data: a } = t;
|
|
2525
|
+
if (Pn(a)) V(r, "Nodes", a.nodes, i), V(r, "Links", a.links, i);
|
|
2526
|
+
else if (Fn(a)) V(r, e, a.rows, i);
|
|
2527
|
+
else if (Array.isArray(a)) V(r, e, a, i);
|
|
2535
2528
|
else return console.warn("[drizzle-cube] Cannot export: unrecognized data format"), !1;
|
|
2536
|
-
return
|
|
2529
|
+
return In(await r.xlsx.writeBuffer(), An(e || "export", "xlsx")), !0;
|
|
2537
2530
|
} catch (e) {
|
|
2538
2531
|
return console.error("[drizzle-cube] Failed to export XLSX:", e), !1;
|
|
2539
2532
|
}
|
|
2540
2533
|
}
|
|
2541
2534
|
//#endregion
|
|
2542
2535
|
//#region src/client/providers/CubeFeaturesProvider.tsx
|
|
2543
|
-
var
|
|
2536
|
+
var Rn = ge(null), zn = {
|
|
2544
2537
|
enableAI: !0,
|
|
2545
2538
|
aiEndpoint: "/api/ai/generate",
|
|
2546
2539
|
showSchemaDiagram: !1,
|
|
@@ -2548,22 +2541,22 @@ var Nn = he(null), Pn = {
|
|
|
2548
2541
|
editToolbar: "both",
|
|
2549
2542
|
floatingToolbarPosition: "right"
|
|
2550
2543
|
};
|
|
2551
|
-
function
|
|
2552
|
-
let [r, i] =
|
|
2553
|
-
...
|
|
2544
|
+
function Bn({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
|
|
2545
|
+
let [r, i] = C(() => ({
|
|
2546
|
+
...zn,
|
|
2554
2547
|
...e
|
|
2555
2548
|
}));
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
}, [r.thumbnail]),
|
|
2559
|
-
|
|
2549
|
+
x(() => {
|
|
2550
|
+
hn(r.thumbnail);
|
|
2551
|
+
}, [r.thumbnail]), x(() => {
|
|
2552
|
+
Nn(r.xlsExport);
|
|
2560
2553
|
}, [r.xlsExport]);
|
|
2561
|
-
let a =
|
|
2554
|
+
let a = be((e) => {
|
|
2562
2555
|
i((t) => ({
|
|
2563
2556
|
...t,
|
|
2564
2557
|
...e
|
|
2565
2558
|
}));
|
|
2566
|
-
}, []), o =
|
|
2559
|
+
}, []), o = S(() => ({
|
|
2567
2560
|
features: r,
|
|
2568
2561
|
dashboardModes: t,
|
|
2569
2562
|
updateFeatures: a
|
|
@@ -2572,22 +2565,22 @@ function Fn({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
|
|
|
2572
2565
|
t,
|
|
2573
2566
|
a
|
|
2574
2567
|
]);
|
|
2575
|
-
return /* @__PURE__ */
|
|
2568
|
+
return /* @__PURE__ */ w(Rn.Provider, {
|
|
2576
2569
|
value: o,
|
|
2577
2570
|
children: n
|
|
2578
2571
|
});
|
|
2579
2572
|
}
|
|
2580
|
-
var
|
|
2581
|
-
features:
|
|
2573
|
+
var Vn = {
|
|
2574
|
+
features: zn,
|
|
2582
2575
|
dashboardModes: ["rows", "grid"],
|
|
2583
2576
|
updateFeatures: () => {}
|
|
2584
2577
|
};
|
|
2585
|
-
function
|
|
2586
|
-
return
|
|
2578
|
+
function Hn() {
|
|
2579
|
+
return xe(Rn) ?? Vn;
|
|
2587
2580
|
}
|
|
2588
2581
|
//#endregion
|
|
2589
2582
|
//#region node_modules/@iconify/react/dist/iconify.js
|
|
2590
|
-
function
|
|
2583
|
+
function Un(e, t) {
|
|
2591
2584
|
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
2592
2585
|
function a(e) {
|
|
2593
2586
|
if (n[e]) return i[e] = [];
|
|
@@ -2600,82 +2593,82 @@ function Rn(e, t) {
|
|
|
2600
2593
|
}
|
|
2601
2594
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
2602
2595
|
}
|
|
2603
|
-
var
|
|
2596
|
+
var Wn = Object.freeze({
|
|
2604
2597
|
left: 0,
|
|
2605
2598
|
top: 0,
|
|
2606
2599
|
width: 16,
|
|
2607
2600
|
height: 16
|
|
2608
|
-
}),
|
|
2601
|
+
}), H = Object.freeze({
|
|
2609
2602
|
rotate: 0,
|
|
2610
2603
|
vFlip: !1,
|
|
2611
2604
|
hFlip: !1
|
|
2612
|
-
}),
|
|
2613
|
-
...
|
|
2614
|
-
...
|
|
2615
|
-
}),
|
|
2616
|
-
...
|
|
2605
|
+
}), Gn = Object.freeze({
|
|
2606
|
+
...Wn,
|
|
2607
|
+
...H
|
|
2608
|
+
}), Kn = Object.freeze({
|
|
2609
|
+
...Gn,
|
|
2617
2610
|
body: "",
|
|
2618
2611
|
hidden: !1
|
|
2619
2612
|
});
|
|
2620
|
-
function
|
|
2613
|
+
function qn(e, t) {
|
|
2621
2614
|
let n = {};
|
|
2622
2615
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
2623
2616
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2624
2617
|
return r && (n.rotate = r), n;
|
|
2625
2618
|
}
|
|
2626
|
-
function
|
|
2627
|
-
let n =
|
|
2628
|
-
for (let r in
|
|
2619
|
+
function Jn(e, t) {
|
|
2620
|
+
let n = qn(e, t);
|
|
2621
|
+
for (let r in Kn) r in H ? r in e && !(r in n) && (n[r] = H[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
2629
2622
|
return n;
|
|
2630
2623
|
}
|
|
2631
|
-
function
|
|
2624
|
+
function Yn(e, t, n) {
|
|
2632
2625
|
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
2633
2626
|
function o(e) {
|
|
2634
|
-
a =
|
|
2627
|
+
a = Jn(r[e] || i[e], a);
|
|
2635
2628
|
}
|
|
2636
|
-
return o(t), n.forEach(o),
|
|
2629
|
+
return o(t), n.forEach(o), Jn(e, a);
|
|
2637
2630
|
}
|
|
2638
|
-
function
|
|
2631
|
+
function Xn(e, t) {
|
|
2639
2632
|
let n = [];
|
|
2640
2633
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
2641
2634
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
2642
2635
|
t(e, null), n.push(e);
|
|
2643
2636
|
});
|
|
2644
|
-
let r =
|
|
2637
|
+
let r = Un(e);
|
|
2645
2638
|
for (let i in r) {
|
|
2646
2639
|
let a = r[i];
|
|
2647
|
-
a && (t(i,
|
|
2640
|
+
a && (t(i, Yn(e, i, a)), n.push(i));
|
|
2648
2641
|
}
|
|
2649
2642
|
return n;
|
|
2650
2643
|
}
|
|
2651
|
-
var
|
|
2644
|
+
var Zn = {
|
|
2652
2645
|
provider: "",
|
|
2653
2646
|
aliases: {},
|
|
2654
2647
|
not_found: {},
|
|
2655
|
-
...
|
|
2648
|
+
...Wn
|
|
2656
2649
|
};
|
|
2657
|
-
function
|
|
2650
|
+
function Qn(e, t) {
|
|
2658
2651
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
2659
2652
|
return !0;
|
|
2660
2653
|
}
|
|
2661
|
-
function
|
|
2654
|
+
function $n(e) {
|
|
2662
2655
|
if (typeof e != "object" || !e) return null;
|
|
2663
2656
|
let t = e;
|
|
2664
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
2657
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Qn(e, Zn)) return null;
|
|
2665
2658
|
let n = t.icons;
|
|
2666
2659
|
for (let e in n) {
|
|
2667
2660
|
let t = n[e];
|
|
2668
|
-
if (!e || typeof t.body != "string" || !
|
|
2661
|
+
if (!e || typeof t.body != "string" || !Qn(t, Kn)) return null;
|
|
2669
2662
|
}
|
|
2670
2663
|
let r = t.aliases || Object.create(null);
|
|
2671
2664
|
for (let e in r) {
|
|
2672
2665
|
let t = r[e], i = t.parent;
|
|
2673
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !
|
|
2666
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !Qn(t, Kn)) return null;
|
|
2674
2667
|
}
|
|
2675
2668
|
return t;
|
|
2676
2669
|
}
|
|
2677
|
-
var
|
|
2678
|
-
function
|
|
2670
|
+
var er = Object.create(null);
|
|
2671
|
+
function tr(e, t) {
|
|
2679
2672
|
return {
|
|
2680
2673
|
provider: e,
|
|
2681
2674
|
prefix: t,
|
|
@@ -2683,22 +2676,22 @@ function Zn(e, t) {
|
|
|
2683
2676
|
missing: /* @__PURE__ */ new Set()
|
|
2684
2677
|
};
|
|
2685
2678
|
}
|
|
2686
|
-
function
|
|
2687
|
-
let n =
|
|
2688
|
-
return n[t] || (n[t] =
|
|
2679
|
+
function U(e, t) {
|
|
2680
|
+
let n = er[e] || (er[e] = Object.create(null));
|
|
2681
|
+
return n[t] || (n[t] = tr(e, t));
|
|
2689
2682
|
}
|
|
2690
|
-
function
|
|
2691
|
-
return
|
|
2683
|
+
function nr(e, t) {
|
|
2684
|
+
return $n(t) ? Xn(t, (t, n) => {
|
|
2692
2685
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
2693
2686
|
}) : [];
|
|
2694
2687
|
}
|
|
2695
|
-
function
|
|
2688
|
+
function rr(e, t, n) {
|
|
2696
2689
|
try {
|
|
2697
2690
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
2698
2691
|
} catch {}
|
|
2699
2692
|
return !1;
|
|
2700
2693
|
}
|
|
2701
|
-
var
|
|
2694
|
+
var ir = /^[a-z0-9]+(-[a-z0-9]+)*$/, W = (e, t, n, r = "") => {
|
|
2702
2695
|
let i = e.split(":");
|
|
2703
2696
|
if (e.slice(0, 1) === "@") {
|
|
2704
2697
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -2711,7 +2704,7 @@ var er = /^[a-z0-9]+(-[a-z0-9]+)*$/, tr = (e, t, n, r = "") => {
|
|
|
2711
2704
|
prefix: n,
|
|
2712
2705
|
name: e
|
|
2713
2706
|
};
|
|
2714
|
-
return t && !
|
|
2707
|
+
return t && !ar(a) ? null : a;
|
|
2715
2708
|
}
|
|
2716
2709
|
let a = i[0], o = a.split("-");
|
|
2717
2710
|
if (o.length > 1) {
|
|
@@ -2720,7 +2713,7 @@ var er = /^[a-z0-9]+(-[a-z0-9]+)*$/, tr = (e, t, n, r = "") => {
|
|
|
2720
2713
|
prefix: o.shift(),
|
|
2721
2714
|
name: o.join("-")
|
|
2722
2715
|
};
|
|
2723
|
-
return t && !
|
|
2716
|
+
return t && !ar(e) ? null : e;
|
|
2724
2717
|
}
|
|
2725
2718
|
if (n && r === "") {
|
|
2726
2719
|
let e = {
|
|
@@ -2728,54 +2721,54 @@ var er = /^[a-z0-9]+(-[a-z0-9]+)*$/, tr = (e, t, n, r = "") => {
|
|
|
2728
2721
|
prefix: "",
|
|
2729
2722
|
name: a
|
|
2730
2723
|
};
|
|
2731
|
-
return t && !
|
|
2724
|
+
return t && !ar(e, n) ? null : e;
|
|
2732
2725
|
}
|
|
2733
2726
|
return null;
|
|
2734
|
-
},
|
|
2735
|
-
function
|
|
2736
|
-
return typeof e == "boolean" && (
|
|
2727
|
+
}, ar = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, G = !1;
|
|
2728
|
+
function or(e) {
|
|
2729
|
+
return typeof e == "boolean" && (G = e), G;
|
|
2737
2730
|
}
|
|
2738
|
-
function
|
|
2739
|
-
let t = typeof e == "string" ?
|
|
2731
|
+
function sr(e) {
|
|
2732
|
+
let t = typeof e == "string" ? W(e, !0, G) : e;
|
|
2740
2733
|
if (t) {
|
|
2741
|
-
let e =
|
|
2734
|
+
let e = U(t.provider, t.prefix), n = t.name;
|
|
2742
2735
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
2743
2736
|
}
|
|
2744
2737
|
}
|
|
2745
|
-
function
|
|
2746
|
-
let n =
|
|
2738
|
+
function cr(e, t) {
|
|
2739
|
+
let n = W(e, !0, G);
|
|
2747
2740
|
if (!n) return !1;
|
|
2748
|
-
let r =
|
|
2749
|
-
return t ?
|
|
2741
|
+
let r = U(n.provider, n.prefix);
|
|
2742
|
+
return t ? rr(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
2750
2743
|
}
|
|
2751
|
-
function
|
|
2744
|
+
function lr(e, t) {
|
|
2752
2745
|
if (typeof e != "object") return !1;
|
|
2753
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
|
2746
|
+
if (typeof t != "string" && (t = e.provider || ""), G && !t && !e.prefix) {
|
|
2754
2747
|
let t = !1;
|
|
2755
|
-
return
|
|
2756
|
-
|
|
2748
|
+
return $n(e) && (e.prefix = "", Xn(e, (e, n) => {
|
|
2749
|
+
cr(e, n) && (t = !0);
|
|
2757
2750
|
})), t;
|
|
2758
2751
|
}
|
|
2759
2752
|
let n = e.prefix;
|
|
2760
|
-
return
|
|
2753
|
+
return ar({
|
|
2761
2754
|
prefix: n,
|
|
2762
2755
|
name: "a"
|
|
2763
|
-
}) ? !!
|
|
2756
|
+
}) ? !!nr(U(t, n), e) : !1;
|
|
2764
2757
|
}
|
|
2765
|
-
var
|
|
2758
|
+
var ur = Object.freeze({
|
|
2766
2759
|
width: null,
|
|
2767
2760
|
height: null
|
|
2768
|
-
}),
|
|
2769
|
-
...
|
|
2770
|
-
...
|
|
2771
|
-
}),
|
|
2772
|
-
function
|
|
2761
|
+
}), dr = Object.freeze({
|
|
2762
|
+
...ur,
|
|
2763
|
+
...H
|
|
2764
|
+
}), fr = /(-?[0-9.]*[0-9]+[0-9.]*)/g, pr = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2765
|
+
function mr(e, t, n) {
|
|
2773
2766
|
if (t === 1) return e;
|
|
2774
2767
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
2775
2768
|
if (typeof e != "string") return e;
|
|
2776
|
-
let r = e.split(
|
|
2769
|
+
let r = e.split(fr);
|
|
2777
2770
|
if (r === null || !r.length) return e;
|
|
2778
|
-
let i = [], a = r.shift(), o =
|
|
2771
|
+
let i = [], a = r.shift(), o = pr.test(a);
|
|
2779
2772
|
for (;;) {
|
|
2780
2773
|
if (o) {
|
|
2781
2774
|
let e = parseFloat(a);
|
|
@@ -2785,7 +2778,7 @@ function dr(e, t, n) {
|
|
|
2785
2778
|
o = !o;
|
|
2786
2779
|
}
|
|
2787
2780
|
}
|
|
2788
|
-
function
|
|
2781
|
+
function hr(e, t = "defs") {
|
|
2789
2782
|
let n = "", r = e.indexOf("<" + t);
|
|
2790
2783
|
for (; r >= 0;) {
|
|
2791
2784
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -2799,20 +2792,20 @@ function fr(e, t = "defs") {
|
|
|
2799
2792
|
content: e
|
|
2800
2793
|
};
|
|
2801
2794
|
}
|
|
2802
|
-
function
|
|
2795
|
+
function gr(e, t) {
|
|
2803
2796
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2804
2797
|
}
|
|
2805
|
-
function
|
|
2806
|
-
let r =
|
|
2807
|
-
return
|
|
2798
|
+
function _r(e, t, n) {
|
|
2799
|
+
let r = hr(e);
|
|
2800
|
+
return gr(r.defs, t + r.content + n);
|
|
2808
2801
|
}
|
|
2809
|
-
var
|
|
2810
|
-
function
|
|
2802
|
+
var vr = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2803
|
+
function yr(e, t) {
|
|
2811
2804
|
let n = {
|
|
2812
|
-
...
|
|
2805
|
+
...Gn,
|
|
2813
2806
|
...e
|
|
2814
2807
|
}, r = {
|
|
2815
|
-
...
|
|
2808
|
+
...dr,
|
|
2816
2809
|
...t
|
|
2817
2810
|
}, i = {
|
|
2818
2811
|
left: n.left,
|
|
@@ -2833,12 +2826,12 @@ function gr(e, t) {
|
|
|
2833
2826
|
break;
|
|
2834
2827
|
case 3: s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
2835
2828
|
}
|
|
2836
|
-
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 =
|
|
2829
|
+
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 = _r(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
2837
2830
|
});
|
|
2838
2831
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
2839
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
2832
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = mr(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? mr(u, l / c) : s === "auto" ? l : s);
|
|
2840
2833
|
let f = {}, p = (e, t) => {
|
|
2841
|
-
|
|
2834
|
+
vr(t) || (f[e] = t.toString());
|
|
2842
2835
|
};
|
|
2843
2836
|
p("width", u), p("height", d);
|
|
2844
2837
|
let m = [
|
|
@@ -2853,25 +2846,25 @@ function gr(e, t) {
|
|
|
2853
2846
|
body: a
|
|
2854
2847
|
};
|
|
2855
2848
|
}
|
|
2856
|
-
var
|
|
2857
|
-
function
|
|
2849
|
+
var br = /\sid="(\S+)"/g, xr = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), Sr = 0;
|
|
2850
|
+
function Cr(e, t = xr) {
|
|
2858
2851
|
let n = [], r;
|
|
2859
|
-
for (; r =
|
|
2852
|
+
for (; r = br.exec(e);) n.push(r[1]);
|
|
2860
2853
|
if (!n.length) return e;
|
|
2861
2854
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2862
2855
|
return n.forEach((n) => {
|
|
2863
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
2856
|
+
let r = typeof t == "function" ? t(n) : t + (Sr++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2864
2857
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
2865
2858
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
2866
2859
|
}
|
|
2867
|
-
var
|
|
2868
|
-
function
|
|
2869
|
-
|
|
2860
|
+
var wr = Object.create(null);
|
|
2861
|
+
function Tr(e, t) {
|
|
2862
|
+
wr[e] = t;
|
|
2870
2863
|
}
|
|
2871
|
-
function
|
|
2872
|
-
return
|
|
2864
|
+
function Er(e) {
|
|
2865
|
+
return wr[e] || wr[""];
|
|
2873
2866
|
}
|
|
2874
|
-
function
|
|
2867
|
+
function Dr(e) {
|
|
2875
2868
|
let t;
|
|
2876
2869
|
if (typeof e.resources == "string") t = [e.resources];
|
|
2877
2870
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -2886,23 +2879,23 @@ function wr(e) {
|
|
|
2886
2879
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
2887
2880
|
};
|
|
2888
2881
|
}
|
|
2889
|
-
for (var
|
|
2890
|
-
|
|
2891
|
-
function
|
|
2892
|
-
let n =
|
|
2893
|
-
return n !== null && (
|
|
2882
|
+
for (var Or = Object.create(null), kr = ["https://api.simplesvg.com", "https://api.unisvg.com"], Ar = []; kr.length > 0;) Ar.push(kr.length === 1 || Math.random() > .5 ? kr.shift() : kr.pop());
|
|
2883
|
+
Or[""] = Dr({ resources: ["https://api.iconify.design"].concat(Ar) });
|
|
2884
|
+
function jr(e, t) {
|
|
2885
|
+
let n = Dr(t);
|
|
2886
|
+
return n !== null && (Or[e] = n, !0);
|
|
2894
2887
|
}
|
|
2895
|
-
function
|
|
2896
|
-
return
|
|
2888
|
+
function Mr(e) {
|
|
2889
|
+
return Or[e];
|
|
2897
2890
|
}
|
|
2898
|
-
var
|
|
2891
|
+
var Nr = (() => {
|
|
2899
2892
|
let e;
|
|
2900
2893
|
try {
|
|
2901
2894
|
if (e = fetch, typeof e == "function") return e;
|
|
2902
2895
|
} catch {}
|
|
2903
2896
|
})();
|
|
2904
|
-
function
|
|
2905
|
-
let n =
|
|
2897
|
+
function Pr(e, t) {
|
|
2898
|
+
let n = Mr(e);
|
|
2906
2899
|
if (!n) return 0;
|
|
2907
2900
|
let r;
|
|
2908
2901
|
if (!n.maxURL) r = 0;
|
|
@@ -2916,11 +2909,11 @@ function jr(e, t) {
|
|
|
2916
2909
|
}
|
|
2917
2910
|
return r;
|
|
2918
2911
|
}
|
|
2919
|
-
function
|
|
2912
|
+
function Fr(e) {
|
|
2920
2913
|
return e === 404;
|
|
2921
2914
|
}
|
|
2922
|
-
var
|
|
2923
|
-
let r = [], i =
|
|
2915
|
+
var Ir = (e, t, n) => {
|
|
2916
|
+
let r = [], i = Pr(e, t), a = "icons", o = {
|
|
2924
2917
|
type: a,
|
|
2925
2918
|
provider: e,
|
|
2926
2919
|
prefix: t,
|
|
@@ -2935,21 +2928,21 @@ var Nr = (e, t, n) => {
|
|
|
2935
2928
|
}, s = n.length), o.icons.push(n);
|
|
2936
2929
|
}), r.push(o), r;
|
|
2937
2930
|
};
|
|
2938
|
-
function
|
|
2931
|
+
function Lr(e) {
|
|
2939
2932
|
if (typeof e == "string") {
|
|
2940
|
-
let t =
|
|
2933
|
+
let t = Mr(e);
|
|
2941
2934
|
if (t) return t.path;
|
|
2942
2935
|
}
|
|
2943
2936
|
return "/";
|
|
2944
2937
|
}
|
|
2945
|
-
var
|
|
2946
|
-
prepare:
|
|
2938
|
+
var Rr = {
|
|
2939
|
+
prepare: Ir,
|
|
2947
2940
|
send: (e, t, n) => {
|
|
2948
|
-
if (!
|
|
2941
|
+
if (!Nr) {
|
|
2949
2942
|
n("abort", 424);
|
|
2950
2943
|
return;
|
|
2951
2944
|
}
|
|
2952
|
-
let r =
|
|
2945
|
+
let r = Lr(t.provider);
|
|
2953
2946
|
switch (t.type) {
|
|
2954
2947
|
case "icons": {
|
|
2955
2948
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -2966,11 +2959,11 @@ var Fr = {
|
|
|
2966
2959
|
return;
|
|
2967
2960
|
}
|
|
2968
2961
|
let i = 503;
|
|
2969
|
-
|
|
2962
|
+
Nr(e + r).then((e) => {
|
|
2970
2963
|
let t = e.status;
|
|
2971
2964
|
if (t !== 200) {
|
|
2972
2965
|
setTimeout(() => {
|
|
2973
|
-
n(
|
|
2966
|
+
n(Fr(t) ? "abort" : "next", t);
|
|
2974
2967
|
});
|
|
2975
2968
|
return;
|
|
2976
2969
|
}
|
|
@@ -2990,13 +2983,13 @@ var Fr = {
|
|
|
2990
2983
|
});
|
|
2991
2984
|
}
|
|
2992
2985
|
};
|
|
2993
|
-
function
|
|
2986
|
+
function zr(e, t) {
|
|
2994
2987
|
e.forEach((e) => {
|
|
2995
2988
|
let n = e.loaderCallbacks;
|
|
2996
2989
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
2997
2990
|
});
|
|
2998
2991
|
}
|
|
2999
|
-
function
|
|
2992
|
+
function Br(e) {
|
|
3000
2993
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
3001
2994
|
e.pendingCallbacksFlag = !1;
|
|
3002
2995
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -3019,13 +3012,13 @@ function Lr(e) {
|
|
|
3019
3012
|
});
|
|
3020
3013
|
else return n = !0, !0;
|
|
3021
3014
|
return !1;
|
|
3022
|
-
}), a.pending.length !== o && (n ||
|
|
3015
|
+
}), a.pending.length !== o && (n || zr([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
3023
3016
|
});
|
|
3024
3017
|
}));
|
|
3025
3018
|
}
|
|
3026
|
-
var
|
|
3027
|
-
function
|
|
3028
|
-
let r =
|
|
3019
|
+
var Vr = 0;
|
|
3020
|
+
function Hr(e, t, n) {
|
|
3021
|
+
let r = Vr++, i = zr.bind(null, n, r);
|
|
3029
3022
|
if (!t.pending.length) return i;
|
|
3030
3023
|
let a = {
|
|
3031
3024
|
id: r,
|
|
@@ -3037,7 +3030,7 @@ function zr(e, t, n) {
|
|
|
3037
3030
|
(e.loaderCallbacks ||= []).push(a);
|
|
3038
3031
|
}), i;
|
|
3039
3032
|
}
|
|
3040
|
-
function
|
|
3033
|
+
function Ur(e) {
|
|
3041
3034
|
let t = {
|
|
3042
3035
|
loaded: [],
|
|
3043
3036
|
missing: [],
|
|
@@ -3052,7 +3045,7 @@ function Br(e) {
|
|
|
3052
3045
|
return e.forEach((e) => {
|
|
3053
3046
|
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
3054
3047
|
r = e;
|
|
3055
|
-
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] =
|
|
3048
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = U(i, a)), l;
|
|
3056
3049
|
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending, l.push({
|
|
3057
3050
|
provider: i,
|
|
3058
3051
|
prefix: a,
|
|
@@ -3060,14 +3053,14 @@ function Br(e) {
|
|
|
3060
3053
|
});
|
|
3061
3054
|
}), t;
|
|
3062
3055
|
}
|
|
3063
|
-
function
|
|
3056
|
+
function Wr(e, t = !0, n = !1) {
|
|
3064
3057
|
let r = [];
|
|
3065
3058
|
return e.forEach((e) => {
|
|
3066
|
-
let i = typeof e == "string" ?
|
|
3059
|
+
let i = typeof e == "string" ? W(e, t, n) : e;
|
|
3067
3060
|
i && r.push(i);
|
|
3068
3061
|
}), r;
|
|
3069
3062
|
}
|
|
3070
|
-
var
|
|
3063
|
+
var Gr = {
|
|
3071
3064
|
resources: [],
|
|
3072
3065
|
index: 0,
|
|
3073
3066
|
timeout: 2e3,
|
|
@@ -3075,7 +3068,7 @@ var Hr = {
|
|
|
3075
3068
|
random: !1,
|
|
3076
3069
|
dataAfterTimeout: !1
|
|
3077
3070
|
};
|
|
3078
|
-
function
|
|
3071
|
+
function Kr(e, t, n, r) {
|
|
3079
3072
|
let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
|
|
3080
3073
|
if (e.random) {
|
|
3081
3074
|
let t = e.resources.slice(0);
|
|
@@ -3119,7 +3112,7 @@ function Ur(e, t, n, r) {
|
|
|
3119
3112
|
e.status === "pending" && (e.status = "aborted");
|
|
3120
3113
|
}), d = [];
|
|
3121
3114
|
}
|
|
3122
|
-
function
|
|
3115
|
+
function ee(t, n, r) {
|
|
3123
3116
|
let i = n !== "success";
|
|
3124
3117
|
switch (d = d.filter((e) => e !== t), s) {
|
|
3125
3118
|
case "pending": break;
|
|
@@ -3133,7 +3126,7 @@ function Ur(e, t, n, r) {
|
|
|
3133
3126
|
return;
|
|
3134
3127
|
}
|
|
3135
3128
|
if (i) {
|
|
3136
|
-
l = r, d.length || (a.length ?
|
|
3129
|
+
l = r, d.length || (a.length ? y() : _());
|
|
3137
3130
|
return;
|
|
3138
3131
|
}
|
|
3139
3132
|
if (p(), v(), !e.random) {
|
|
@@ -3144,7 +3137,7 @@ function Ur(e, t, n, r) {
|
|
|
3144
3137
|
e(r);
|
|
3145
3138
|
});
|
|
3146
3139
|
}
|
|
3147
|
-
function
|
|
3140
|
+
function y() {
|
|
3148
3141
|
if (s !== "pending") return;
|
|
3149
3142
|
p();
|
|
3150
3143
|
let r = a.shift();
|
|
@@ -3162,23 +3155,23 @@ function Ur(e, t, n, r) {
|
|
|
3162
3155
|
status: "pending",
|
|
3163
3156
|
resource: r,
|
|
3164
3157
|
callback: (e, t) => {
|
|
3165
|
-
|
|
3158
|
+
ee(i, e, t);
|
|
3166
3159
|
}
|
|
3167
3160
|
};
|
|
3168
|
-
d.push(i), c++, u = setTimeout(
|
|
3161
|
+
d.push(i), c++, u = setTimeout(y, e.rotate), n(r, t, i.callback);
|
|
3169
3162
|
}
|
|
3170
|
-
return setTimeout(
|
|
3163
|
+
return setTimeout(y), g;
|
|
3171
3164
|
}
|
|
3172
|
-
function
|
|
3165
|
+
function qr(e) {
|
|
3173
3166
|
let t = {
|
|
3174
|
-
...
|
|
3167
|
+
...Gr,
|
|
3175
3168
|
...e
|
|
3176
3169
|
}, n = [];
|
|
3177
3170
|
function r() {
|
|
3178
3171
|
n = n.filter((e) => e().status === "pending");
|
|
3179
3172
|
}
|
|
3180
3173
|
function i(e, i, a) {
|
|
3181
|
-
let o =
|
|
3174
|
+
let o = Kr(t, e, i, (e, t) => {
|
|
3182
3175
|
r(), a && a(e, t);
|
|
3183
3176
|
});
|
|
3184
3177
|
return n.push(o), o;
|
|
@@ -3196,53 +3189,53 @@ function Wr(e) {
|
|
|
3196
3189
|
cleanup: r
|
|
3197
3190
|
};
|
|
3198
3191
|
}
|
|
3199
|
-
function
|
|
3200
|
-
var
|
|
3201
|
-
function
|
|
3202
|
-
if (!
|
|
3203
|
-
let t =
|
|
3192
|
+
function Jr() {}
|
|
3193
|
+
var Yr = Object.create(null);
|
|
3194
|
+
function Xr(e) {
|
|
3195
|
+
if (!Yr[e]) {
|
|
3196
|
+
let t = Mr(e);
|
|
3204
3197
|
if (!t) return;
|
|
3205
|
-
|
|
3198
|
+
Yr[e] = {
|
|
3206
3199
|
config: t,
|
|
3207
|
-
redundancy:
|
|
3200
|
+
redundancy: qr(t)
|
|
3208
3201
|
};
|
|
3209
3202
|
}
|
|
3210
|
-
return
|
|
3203
|
+
return Yr[e];
|
|
3211
3204
|
}
|
|
3212
|
-
function
|
|
3205
|
+
function Zr(e, t, n) {
|
|
3213
3206
|
let r, i;
|
|
3214
3207
|
if (typeof e == "string") {
|
|
3215
|
-
let t =
|
|
3216
|
-
if (!t) return n(void 0, 424),
|
|
3208
|
+
let t = Er(e);
|
|
3209
|
+
if (!t) return n(void 0, 424), Jr;
|
|
3217
3210
|
i = t.send;
|
|
3218
|
-
let a =
|
|
3211
|
+
let a = Xr(e);
|
|
3219
3212
|
a && (r = a.redundancy);
|
|
3220
3213
|
} else {
|
|
3221
|
-
let t =
|
|
3214
|
+
let t = Dr(e);
|
|
3222
3215
|
if (t) {
|
|
3223
|
-
r =
|
|
3224
|
-
let n =
|
|
3216
|
+
r = qr(t);
|
|
3217
|
+
let n = Er(e.resources ? e.resources[0] : "");
|
|
3225
3218
|
n && (i = n.send);
|
|
3226
3219
|
}
|
|
3227
3220
|
}
|
|
3228
|
-
return !r || !i ? (n(void 0, 424),
|
|
3221
|
+
return !r || !i ? (n(void 0, 424), Jr) : r.query(t, i, n)().abort;
|
|
3229
3222
|
}
|
|
3230
|
-
function
|
|
3231
|
-
function
|
|
3223
|
+
function Qr() {}
|
|
3224
|
+
function $r(e) {
|
|
3232
3225
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
3233
|
-
e.iconsLoaderFlag = !1,
|
|
3226
|
+
e.iconsLoaderFlag = !1, Br(e);
|
|
3234
3227
|
}));
|
|
3235
3228
|
}
|
|
3236
|
-
function
|
|
3229
|
+
function ei(e) {
|
|
3237
3230
|
let t = [], n = [];
|
|
3238
3231
|
return e.forEach((e) => {
|
|
3239
|
-
(e.match(
|
|
3232
|
+
(e.match(ir) ? t : n).push(e);
|
|
3240
3233
|
}), {
|
|
3241
3234
|
valid: t,
|
|
3242
3235
|
invalid: n
|
|
3243
3236
|
};
|
|
3244
3237
|
}
|
|
3245
|
-
function
|
|
3238
|
+
function K(e, t, n) {
|
|
3246
3239
|
function r() {
|
|
3247
3240
|
let n = e.pendingIcons;
|
|
3248
3241
|
t.forEach((t) => {
|
|
@@ -3250,38 +3243,38 @@ function q(e, t, n) {
|
|
|
3250
3243
|
});
|
|
3251
3244
|
}
|
|
3252
3245
|
if (n && typeof n == "object") try {
|
|
3253
|
-
if (!
|
|
3246
|
+
if (!nr(e, n).length) {
|
|
3254
3247
|
r();
|
|
3255
3248
|
return;
|
|
3256
3249
|
}
|
|
3257
3250
|
} catch (e) {
|
|
3258
3251
|
console.error(e);
|
|
3259
3252
|
}
|
|
3260
|
-
r(),
|
|
3253
|
+
r(), $r(e);
|
|
3261
3254
|
}
|
|
3262
|
-
function
|
|
3255
|
+
function ti(e, t) {
|
|
3263
3256
|
e instanceof Promise ? e.then((e) => {
|
|
3264
3257
|
t(e);
|
|
3265
3258
|
}).catch(() => {
|
|
3266
3259
|
t(null);
|
|
3267
3260
|
}) : t(e);
|
|
3268
3261
|
}
|
|
3269
|
-
function
|
|
3262
|
+
function ni(e, t) {
|
|
3270
3263
|
e.iconsToLoad = e.iconsToLoad ? e.iconsToLoad.concat(t).sort() : t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
3271
3264
|
e.iconsQueueFlag = !1;
|
|
3272
3265
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
3273
3266
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
3274
3267
|
let i = e.loadIcon;
|
|
3275
3268
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
3276
|
-
|
|
3277
|
-
|
|
3269
|
+
ti(e.loadIcons(r, n, t), (t) => {
|
|
3270
|
+
K(e, r, t);
|
|
3278
3271
|
});
|
|
3279
3272
|
return;
|
|
3280
3273
|
}
|
|
3281
3274
|
if (i) {
|
|
3282
3275
|
r.forEach((r) => {
|
|
3283
|
-
|
|
3284
|
-
|
|
3276
|
+
ti(i(r, n, t), (t) => {
|
|
3277
|
+
K(e, [r], t ? {
|
|
3285
3278
|
prefix: n,
|
|
3286
3279
|
icons: { [r]: t }
|
|
3287
3280
|
} : null);
|
|
@@ -3289,26 +3282,26 @@ function $r(e, t) {
|
|
|
3289
3282
|
});
|
|
3290
3283
|
return;
|
|
3291
3284
|
}
|
|
3292
|
-
let { valid: a, invalid: o } =
|
|
3293
|
-
if (o.length &&
|
|
3294
|
-
let s = n.match(
|
|
3285
|
+
let { valid: a, invalid: o } = ei(r);
|
|
3286
|
+
if (o.length && K(e, o, null), !a.length) return;
|
|
3287
|
+
let s = n.match(ir) ? Er(t) : null;
|
|
3295
3288
|
if (!s) {
|
|
3296
|
-
|
|
3289
|
+
K(e, a, null);
|
|
3297
3290
|
return;
|
|
3298
3291
|
}
|
|
3299
3292
|
s.prepare(t, n, a).forEach((n) => {
|
|
3300
|
-
|
|
3301
|
-
|
|
3293
|
+
Zr(t, n, (t) => {
|
|
3294
|
+
K(e, n.icons, t);
|
|
3302
3295
|
});
|
|
3303
3296
|
});
|
|
3304
3297
|
}));
|
|
3305
3298
|
}
|
|
3306
|
-
var
|
|
3307
|
-
let n =
|
|
3299
|
+
var ri = (e, t) => {
|
|
3300
|
+
let n = Ur(Wr(e, !0, or()));
|
|
3308
3301
|
if (!n.pending.length) {
|
|
3309
3302
|
let e = !0;
|
|
3310
3303
|
return t && setTimeout(() => {
|
|
3311
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
3304
|
+
e && t(n.loaded, n.missing, n.pending, Qr);
|
|
3312
3305
|
}), () => {
|
|
3313
3306
|
e = !1;
|
|
3314
3307
|
};
|
|
@@ -3317,28 +3310,28 @@ var ei = (e, t) => {
|
|
|
3317
3310
|
return n.pending.forEach((e) => {
|
|
3318
3311
|
let { provider: t, prefix: n } = e;
|
|
3319
3312
|
if (n === o && t === a) return;
|
|
3320
|
-
a = t, o = n, i.push(
|
|
3313
|
+
a = t, o = n, i.push(U(t, n));
|
|
3321
3314
|
let s = r[t] || (r[t] = Object.create(null));
|
|
3322
3315
|
s[n] || (s[n] = []);
|
|
3323
3316
|
}), n.pending.forEach((e) => {
|
|
3324
|
-
let { provider: t, prefix: n, name: i } = e, a =
|
|
3317
|
+
let { provider: t, prefix: n, name: i } = e, a = U(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
3325
3318
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
3326
3319
|
}), i.forEach((e) => {
|
|
3327
3320
|
let t = r[e.provider][e.prefix];
|
|
3328
|
-
t.length &&
|
|
3329
|
-
}), t ?
|
|
3321
|
+
t.length && ni(e, t);
|
|
3322
|
+
}), t ? Hr(t, n, i) : Qr;
|
|
3330
3323
|
};
|
|
3331
|
-
function
|
|
3324
|
+
function ii(e, t) {
|
|
3332
3325
|
let n = { ...e };
|
|
3333
3326
|
for (let e in t) {
|
|
3334
3327
|
let r = t[e], i = typeof r;
|
|
3335
|
-
e in
|
|
3328
|
+
e in ur ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
3336
3329
|
}
|
|
3337
3330
|
return n;
|
|
3338
3331
|
}
|
|
3339
|
-
var
|
|
3340
|
-
function
|
|
3341
|
-
t.split(
|
|
3332
|
+
var ai = /[\s,]+/;
|
|
3333
|
+
function oi(e, t) {
|
|
3334
|
+
t.split(ai).forEach((t) => {
|
|
3342
3335
|
switch (t.trim()) {
|
|
3343
3336
|
case "horizontal":
|
|
3344
3337
|
e.hFlip = !0;
|
|
@@ -3347,7 +3340,7 @@ function ri(e, t) {
|
|
|
3347
3340
|
}
|
|
3348
3341
|
});
|
|
3349
3342
|
}
|
|
3350
|
-
function
|
|
3343
|
+
function si(e, t = 0) {
|
|
3351
3344
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
3352
3345
|
function r(e) {
|
|
3353
3346
|
for (; e < 0;) e += 4;
|
|
@@ -3372,63 +3365,63 @@ function ii(e, t = 0) {
|
|
|
3372
3365
|
}
|
|
3373
3366
|
return t;
|
|
3374
3367
|
}
|
|
3375
|
-
function
|
|
3368
|
+
function ci(e, t) {
|
|
3376
3369
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
3377
3370
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
3378
3371
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
3379
3372
|
}
|
|
3380
|
-
function
|
|
3373
|
+
function li(e) {
|
|
3381
3374
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
3382
3375
|
}
|
|
3383
|
-
function
|
|
3384
|
-
return "data:image/svg+xml," +
|
|
3376
|
+
function ui(e) {
|
|
3377
|
+
return "data:image/svg+xml," + li(e);
|
|
3385
3378
|
}
|
|
3386
|
-
function
|
|
3387
|
-
return "url(\"" +
|
|
3379
|
+
function di(e) {
|
|
3380
|
+
return "url(\"" + ui(e) + "\")";
|
|
3388
3381
|
}
|
|
3389
|
-
var
|
|
3390
|
-
function
|
|
3382
|
+
var q;
|
|
3383
|
+
function fi() {
|
|
3391
3384
|
try {
|
|
3392
|
-
|
|
3385
|
+
q = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
|
|
3393
3386
|
} catch {
|
|
3394
|
-
|
|
3387
|
+
q = null;
|
|
3395
3388
|
}
|
|
3396
3389
|
}
|
|
3397
|
-
function
|
|
3398
|
-
return
|
|
3390
|
+
function pi(e) {
|
|
3391
|
+
return q === void 0 && fi(), q ? q.createHTML(e) : e;
|
|
3399
3392
|
}
|
|
3400
|
-
var
|
|
3401
|
-
...
|
|
3393
|
+
var mi = {
|
|
3394
|
+
...dr,
|
|
3402
3395
|
inline: !1
|
|
3403
|
-
},
|
|
3396
|
+
}, hi = {
|
|
3404
3397
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3405
3398
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
3406
3399
|
"aria-hidden": !0,
|
|
3407
3400
|
role: "img"
|
|
3408
|
-
},
|
|
3401
|
+
}, gi = { display: "inline-block" }, _i = { backgroundColor: "currentColor" }, vi = { backgroundColor: "transparent" }, yi = {
|
|
3409
3402
|
Image: "var(--svg)",
|
|
3410
3403
|
Repeat: "no-repeat",
|
|
3411
3404
|
Size: "100% 100%"
|
|
3412
|
-
},
|
|
3413
|
-
WebkitMask:
|
|
3414
|
-
mask:
|
|
3415
|
-
background:
|
|
3405
|
+
}, bi = {
|
|
3406
|
+
WebkitMask: _i,
|
|
3407
|
+
mask: _i,
|
|
3408
|
+
background: vi
|
|
3416
3409
|
};
|
|
3417
|
-
for (let e in
|
|
3418
|
-
let t =
|
|
3419
|
-
for (let n in
|
|
3410
|
+
for (let e in bi) {
|
|
3411
|
+
let t = bi[e];
|
|
3412
|
+
for (let n in yi) t[e + n] = yi[n];
|
|
3420
3413
|
}
|
|
3421
|
-
var
|
|
3422
|
-
...
|
|
3414
|
+
var xi = {
|
|
3415
|
+
...mi,
|
|
3423
3416
|
inline: !0
|
|
3424
3417
|
};
|
|
3425
|
-
function
|
|
3418
|
+
function Si(e) {
|
|
3426
3419
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
3427
3420
|
}
|
|
3428
|
-
var
|
|
3429
|
-
let r = t.inline ?
|
|
3421
|
+
var Ci = (e, t, n) => {
|
|
3422
|
+
let r = t.inline ? xi : mi, i = ii(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? hi : {} };
|
|
3430
3423
|
if (n) {
|
|
3431
|
-
let e =
|
|
3424
|
+
let e = W(n, !1, !0);
|
|
3432
3425
|
if (e) {
|
|
3433
3426
|
let t = ["iconify"];
|
|
3434
3427
|
for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
|
|
@@ -3457,13 +3450,13 @@ var bi = (e, t, n) => {
|
|
|
3457
3450
|
i[e] = n === !0 || n === "true" || n === 1;
|
|
3458
3451
|
break;
|
|
3459
3452
|
case "flip":
|
|
3460
|
-
typeof n == "string" &&
|
|
3453
|
+
typeof n == "string" && oi(i, n);
|
|
3461
3454
|
break;
|
|
3462
3455
|
case "color":
|
|
3463
3456
|
o.color = n;
|
|
3464
3457
|
break;
|
|
3465
3458
|
case "rotate":
|
|
3466
|
-
typeof n == "string" ? i[e] =
|
|
3459
|
+
typeof n == "string" ? i[e] = si(n) : typeof n == "number" && (i[e] = n);
|
|
3467
3460
|
break;
|
|
3468
3461
|
case "ariaHidden":
|
|
3469
3462
|
case "aria-hidden":
|
|
@@ -3472,37 +3465,37 @@ var bi = (e, t, n) => {
|
|
|
3472
3465
|
default: r[e] === void 0 && (c[e] = n);
|
|
3473
3466
|
}
|
|
3474
3467
|
}
|
|
3475
|
-
let l =
|
|
3468
|
+
let l = yr(e, i), u = l.attributes;
|
|
3476
3469
|
if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
3477
3470
|
c.style = {
|
|
3478
3471
|
...o,
|
|
3479
3472
|
...s
|
|
3480
3473
|
}, Object.assign(c, u);
|
|
3481
3474
|
let e = 0, n = t.id;
|
|
3482
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html:
|
|
3475
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: pi(Cr(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, _e("svg", c);
|
|
3483
3476
|
}
|
|
3484
|
-
let { body: d, width: f, height: p } = e, m = a === "mask" || a !== "bg" && d.indexOf("currentColor") !== -1, h =
|
|
3477
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || a !== "bg" && d.indexOf("currentColor") !== -1, h = ci(d, {
|
|
3485
3478
|
...u,
|
|
3486
3479
|
width: f + "",
|
|
3487
3480
|
height: p + ""
|
|
3488
3481
|
});
|
|
3489
3482
|
return c.style = {
|
|
3490
3483
|
...o,
|
|
3491
|
-
"--svg":
|
|
3492
|
-
width:
|
|
3493
|
-
height:
|
|
3494
|
-
...
|
|
3495
|
-
...m ?
|
|
3484
|
+
"--svg": di(h),
|
|
3485
|
+
width: Si(u.width),
|
|
3486
|
+
height: Si(u.height),
|
|
3487
|
+
...gi,
|
|
3488
|
+
...m ? _i : vi,
|
|
3496
3489
|
...s
|
|
3497
|
-
},
|
|
3490
|
+
}, _e("span", c);
|
|
3498
3491
|
};
|
|
3499
|
-
if (
|
|
3492
|
+
if (or(!0), Tr("", Rr), typeof document < "u" && typeof window < "u") {
|
|
3500
3493
|
let e = window;
|
|
3501
3494
|
if (e.IconifyPreload !== void 0) {
|
|
3502
3495
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
3503
3496
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
3504
3497
|
try {
|
|
3505
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
3498
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !lr(e)) && console.error(n);
|
|
3506
3499
|
} catch {
|
|
3507
3500
|
console.error(n);
|
|
3508
3501
|
}
|
|
@@ -3515,15 +3508,15 @@ if (rr(!0), Sr("", Fr), typeof document < "u" && typeof window < "u") {
|
|
|
3515
3508
|
try {
|
|
3516
3509
|
let r = t[e];
|
|
3517
3510
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
3518
|
-
|
|
3511
|
+
jr(e, r) || console.error(n);
|
|
3519
3512
|
} catch {
|
|
3520
3513
|
console.error(n);
|
|
3521
3514
|
}
|
|
3522
3515
|
}
|
|
3523
3516
|
}
|
|
3524
3517
|
}
|
|
3525
|
-
function
|
|
3526
|
-
let [t, n] =
|
|
3518
|
+
function wi(e) {
|
|
3519
|
+
let [t, n] = C(!!e.ssr), [r, i] = C({});
|
|
3527
3520
|
function a(t) {
|
|
3528
3521
|
if (t) {
|
|
3529
3522
|
let t = e.icon;
|
|
@@ -3531,7 +3524,7 @@ function xi(e) {
|
|
|
3531
3524
|
name: "",
|
|
3532
3525
|
data: t
|
|
3533
3526
|
};
|
|
3534
|
-
let n =
|
|
3527
|
+
let n = sr(t);
|
|
3535
3528
|
if (n) return {
|
|
3536
3529
|
name: t,
|
|
3537
3530
|
data: n
|
|
@@ -3539,7 +3532,7 @@ function xi(e) {
|
|
|
3539
3532
|
}
|
|
3540
3533
|
return { name: "" };
|
|
3541
3534
|
}
|
|
3542
|
-
let [o, s] =
|
|
3535
|
+
let [o, s] = C(a(!!e.ssr));
|
|
3543
3536
|
function c() {
|
|
3544
3537
|
let e = r.callback;
|
|
3545
3538
|
e && (e(), i({}));
|
|
@@ -3557,487 +3550,495 @@ function xi(e) {
|
|
|
3557
3550
|
});
|
|
3558
3551
|
return;
|
|
3559
3552
|
}
|
|
3560
|
-
let r =
|
|
3553
|
+
let r = sr(n);
|
|
3561
3554
|
if (l({
|
|
3562
3555
|
name: n,
|
|
3563
3556
|
data: r
|
|
3564
3557
|
})) {
|
|
3565
3558
|
if (r === void 0) {
|
|
3566
|
-
let e =
|
|
3559
|
+
let e = ri([n], u);
|
|
3567
3560
|
i({ callback: e });
|
|
3568
3561
|
} else r && ((t = e.onLoad) == null || t.call(e, n));
|
|
3569
3562
|
}
|
|
3570
3563
|
}
|
|
3571
|
-
|
|
3564
|
+
x(() => (n(!0), c), []), x(() => {
|
|
3572
3565
|
t && u();
|
|
3573
3566
|
}, [e.icon, t]);
|
|
3574
3567
|
let { name: d, data: f } = o;
|
|
3575
|
-
return f ?
|
|
3576
|
-
...
|
|
3568
|
+
return f ? Ci({
|
|
3569
|
+
...Gn,
|
|
3577
3570
|
...f
|
|
3578
|
-
}, e, d) : e.children ? e.children : e.fallback ? e.fallback :
|
|
3571
|
+
}, e, d) : e.children ? e.children : e.fallback ? e.fallback : _e("span", {});
|
|
3579
3572
|
}
|
|
3580
|
-
var
|
|
3573
|
+
var Ti = ve((e, t) => wi({
|
|
3581
3574
|
...e,
|
|
3582
3575
|
_ref: t
|
|
3583
3576
|
}));
|
|
3584
|
-
|
|
3577
|
+
ve((e, t) => wi({
|
|
3585
3578
|
inline: !0,
|
|
3586
3579
|
...e,
|
|
3587
3580
|
_ref: t
|
|
3588
3581
|
}));
|
|
3589
3582
|
//#endregion
|
|
3590
3583
|
//#region node_modules/@iconify-icons/heroicons-outline/data/x/x-mark.js
|
|
3591
|
-
var
|
|
3584
|
+
var Ei = {
|
|
3592
3585
|
width: 24,
|
|
3593
3586
|
height: 24,
|
|
3594
3587
|
hidden: !0,
|
|
3595
3588
|
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\"/>"
|
|
3596
|
-
},
|
|
3589
|
+
}, Di = {
|
|
3597
3590
|
width: 24,
|
|
3598
3591
|
height: 24,
|
|
3599
3592
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
|
|
3600
|
-
},
|
|
3593
|
+
}, Oi = {
|
|
3601
3594
|
width: 24,
|
|
3602
3595
|
height: 24,
|
|
3603
3596
|
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\"/>"
|
|
3604
|
-
},
|
|
3597
|
+
}, ki = {
|
|
3605
3598
|
width: 24,
|
|
3606
3599
|
height: 24,
|
|
3607
3600
|
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\"/>"
|
|
3608
|
-
},
|
|
3601
|
+
}, Ai = {
|
|
3609
3602
|
width: 24,
|
|
3610
3603
|
height: 24,
|
|
3611
3604
|
hidden: !0,
|
|
3612
3605
|
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\"/>"
|
|
3613
|
-
},
|
|
3606
|
+
}, ji = {
|
|
3614
3607
|
width: 24,
|
|
3615
3608
|
height: 24,
|
|
3616
3609
|
hidden: !0,
|
|
3617
3610
|
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\"/>"
|
|
3618
|
-
},
|
|
3611
|
+
}, Mi = {
|
|
3619
3612
|
width: 24,
|
|
3620
3613
|
height: 24,
|
|
3621
3614
|
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\"/>"
|
|
3622
|
-
},
|
|
3615
|
+
}, Ni = {
|
|
3623
3616
|
width: 24,
|
|
3624
3617
|
height: 24,
|
|
3625
3618
|
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>"
|
|
3626
|
-
},
|
|
3619
|
+
}, Pi = {
|
|
3627
3620
|
width: 24,
|
|
3628
3621
|
height: 24,
|
|
3629
3622
|
hidden: !0,
|
|
3630
3623
|
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\"/>"
|
|
3631
|
-
},
|
|
3624
|
+
}, Fi = {
|
|
3632
3625
|
width: 24,
|
|
3633
3626
|
height: 24,
|
|
3634
3627
|
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\"/>"
|
|
3635
|
-
},
|
|
3628
|
+
}, Ii = {
|
|
3636
3629
|
width: 24,
|
|
3637
3630
|
height: 24,
|
|
3638
3631
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
|
|
3639
|
-
},
|
|
3632
|
+
}, Li = {
|
|
3640
3633
|
width: 24,
|
|
3641
3634
|
height: 24,
|
|
3642
3635
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
|
|
3643
|
-
},
|
|
3636
|
+
}, Ri = {
|
|
3644
3637
|
width: 24,
|
|
3645
3638
|
height: 24,
|
|
3646
3639
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
|
|
3647
|
-
},
|
|
3640
|
+
}, zi = {
|
|
3648
3641
|
width: 24,
|
|
3649
3642
|
height: 24,
|
|
3650
3643
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
|
|
3651
|
-
},
|
|
3644
|
+
}, Bi = {
|
|
3652
3645
|
width: 24,
|
|
3653
3646
|
height: 24,
|
|
3654
3647
|
hidden: !0,
|
|
3655
3648
|
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\"/>"
|
|
3656
|
-
},
|
|
3649
|
+
}, Vi = {
|
|
3657
3650
|
width: 24,
|
|
3658
3651
|
height: 24,
|
|
3659
3652
|
hidden: !0,
|
|
3660
3653
|
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\"/>"
|
|
3661
|
-
},
|
|
3654
|
+
}, Hi = {
|
|
3662
3655
|
width: 24,
|
|
3663
3656
|
height: 24,
|
|
3664
3657
|
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\"/>"
|
|
3665
|
-
},
|
|
3658
|
+
}, Ui = {
|
|
3666
3659
|
width: 24,
|
|
3667
3660
|
height: 24,
|
|
3668
3661
|
hidden: !0,
|
|
3669
3662
|
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\"/>"
|
|
3670
|
-
},
|
|
3663
|
+
}, Wi = {
|
|
3671
3664
|
width: 24,
|
|
3672
3665
|
height: 24,
|
|
3673
3666
|
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\"/>"
|
|
3674
|
-
},
|
|
3667
|
+
}, Gi = {
|
|
3675
3668
|
width: 24,
|
|
3676
3669
|
height: 24,
|
|
3677
3670
|
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\"/>"
|
|
3678
|
-
},
|
|
3671
|
+
}, Ki = {
|
|
3679
3672
|
width: 24,
|
|
3680
3673
|
height: 24,
|
|
3681
3674
|
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>"
|
|
3682
|
-
},
|
|
3675
|
+
}, qi = {
|
|
3683
3676
|
width: 24,
|
|
3684
3677
|
height: 24,
|
|
3685
3678
|
hidden: !0,
|
|
3686
3679
|
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\"/>"
|
|
3687
|
-
},
|
|
3680
|
+
}, Ji = {
|
|
3688
3681
|
width: 24,
|
|
3689
3682
|
height: 24,
|
|
3690
3683
|
hidden: !0,
|
|
3691
3684
|
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\"/>"
|
|
3692
|
-
},
|
|
3685
|
+
}, Yi = {
|
|
3693
3686
|
width: 24,
|
|
3694
3687
|
height: 24,
|
|
3695
3688
|
hidden: !0,
|
|
3696
3689
|
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\"/>"
|
|
3697
|
-
},
|
|
3690
|
+
}, Xi = {
|
|
3698
3691
|
width: 24,
|
|
3699
3692
|
height: 24,
|
|
3700
3693
|
hidden: !0,
|
|
3701
3694
|
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\"/>"
|
|
3702
|
-
},
|
|
3695
|
+
}, Zi = {
|
|
3703
3696
|
width: 24,
|
|
3704
3697
|
height: 24,
|
|
3705
3698
|
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\"/>"
|
|
3706
|
-
},
|
|
3699
|
+
}, Qi = {
|
|
3707
3700
|
width: 24,
|
|
3708
3701
|
height: 24,
|
|
3709
3702
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
|
|
3710
|
-
},
|
|
3703
|
+
}, $i = {
|
|
3711
3704
|
width: 24,
|
|
3712
3705
|
height: 24,
|
|
3713
3706
|
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\"/>"
|
|
3714
|
-
},
|
|
3707
|
+
}, ea = {
|
|
3715
3708
|
width: 24,
|
|
3716
3709
|
height: 24,
|
|
3717
3710
|
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\"/>"
|
|
3718
|
-
},
|
|
3711
|
+
}, ta = {
|
|
3719
3712
|
width: 24,
|
|
3720
3713
|
height: 24,
|
|
3721
3714
|
hidden: !0,
|
|
3722
3715
|
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\"/>"
|
|
3723
|
-
},
|
|
3716
|
+
}, na = {
|
|
3724
3717
|
width: 24,
|
|
3725
3718
|
height: 24,
|
|
3726
3719
|
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\"/>"
|
|
3727
|
-
},
|
|
3720
|
+
}, ra = {
|
|
3728
3721
|
width: 24,
|
|
3729
3722
|
height: 24,
|
|
3730
3723
|
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\"/>"
|
|
3731
|
-
},
|
|
3724
|
+
}, ia = {
|
|
3732
3725
|
width: 24,
|
|
3733
3726
|
height: 24,
|
|
3734
3727
|
hidden: !0,
|
|
3735
3728
|
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\"/>"
|
|
3736
|
-
},
|
|
3729
|
+
}, aa = {
|
|
3737
3730
|
width: 24,
|
|
3738
3731
|
height: 24,
|
|
3739
3732
|
hidden: !0,
|
|
3740
3733
|
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\"/>"
|
|
3741
|
-
},
|
|
3734
|
+
}, oa = {
|
|
3742
3735
|
width: 24,
|
|
3743
3736
|
height: 24,
|
|
3744
3737
|
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>"
|
|
3745
|
-
},
|
|
3738
|
+
}, sa = {
|
|
3746
3739
|
width: 24,
|
|
3747
3740
|
height: 24,
|
|
3748
3741
|
hidden: !0,
|
|
3749
3742
|
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\"/>"
|
|
3750
|
-
},
|
|
3743
|
+
}, ca = {
|
|
3751
3744
|
width: 20,
|
|
3752
3745
|
height: 20,
|
|
3753
3746
|
hidden: !0,
|
|
3754
3747
|
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\"/>"
|
|
3755
|
-
},
|
|
3748
|
+
}, la = {
|
|
3756
3749
|
width: 20,
|
|
3757
3750
|
height: 20,
|
|
3758
3751
|
hidden: !0,
|
|
3759
3752
|
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\"/>"
|
|
3760
|
-
},
|
|
3753
|
+
}, ua = {
|
|
3761
3754
|
width: 20,
|
|
3762
3755
|
height: 20,
|
|
3763
3756
|
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\"/>"
|
|
3764
|
-
},
|
|
3757
|
+
}, da = {
|
|
3765
3758
|
width: 20,
|
|
3766
3759
|
height: 20,
|
|
3767
3760
|
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\"/>"
|
|
3768
|
-
},
|
|
3761
|
+
}, fa = {
|
|
3769
3762
|
width: 20,
|
|
3770
3763
|
height: 20,
|
|
3771
3764
|
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\"/>"
|
|
3772
|
-
},
|
|
3765
|
+
}, pa = {
|
|
3773
3766
|
width: 20,
|
|
3774
3767
|
height: 20,
|
|
3775
3768
|
hidden: !0,
|
|
3776
3769
|
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\"/>"
|
|
3777
|
-
},
|
|
3770
|
+
}, ma = {
|
|
3778
3771
|
width: 20,
|
|
3779
3772
|
height: 20,
|
|
3780
3773
|
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\"/>"
|
|
3781
|
-
},
|
|
3774
|
+
}, ha = {
|
|
3782
3775
|
width: 20,
|
|
3783
3776
|
height: 20,
|
|
3784
3777
|
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\"/>"
|
|
3785
|
-
},
|
|
3778
|
+
}, ga = {
|
|
3786
3779
|
width: 20,
|
|
3787
3780
|
height: 20,
|
|
3788
3781
|
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\"/>"
|
|
3789
|
-
},
|
|
3782
|
+
}, _a = {
|
|
3790
3783
|
width: 20,
|
|
3791
3784
|
height: 20,
|
|
3792
3785
|
hidden: !0,
|
|
3793
3786
|
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\"/>"
|
|
3794
|
-
},
|
|
3787
|
+
}, va = {
|
|
3795
3788
|
width: 20,
|
|
3796
3789
|
height: 20,
|
|
3797
3790
|
hidden: !0,
|
|
3798
3791
|
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\"/>"
|
|
3799
|
-
},
|
|
3792
|
+
}, ya = {
|
|
3800
3793
|
width: 20,
|
|
3801
3794
|
height: 20,
|
|
3802
3795
|
hidden: !0,
|
|
3803
3796
|
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\"/>"
|
|
3804
|
-
},
|
|
3797
|
+
}, ba = {
|
|
3805
3798
|
width: 20,
|
|
3806
3799
|
height: 20,
|
|
3807
3800
|
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\"/>"
|
|
3808
|
-
},
|
|
3801
|
+
}, xa = {
|
|
3809
3802
|
width: 20,
|
|
3810
3803
|
height: 20,
|
|
3811
3804
|
hidden: !0,
|
|
3812
3805
|
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\"/>"
|
|
3813
|
-
},
|
|
3806
|
+
}, Sa = {
|
|
3814
3807
|
width: 20,
|
|
3815
3808
|
height: 20,
|
|
3816
3809
|
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>"
|
|
3817
|
-
},
|
|
3810
|
+
}, Ca = {
|
|
3818
3811
|
width: 20,
|
|
3819
3812
|
height: 20,
|
|
3820
3813
|
hidden: !0,
|
|
3821
3814
|
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\"/>"
|
|
3822
|
-
},
|
|
3815
|
+
}, wa = {
|
|
3823
3816
|
width: 20,
|
|
3824
3817
|
height: 20,
|
|
3825
3818
|
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\"/>"
|
|
3826
|
-
},
|
|
3819
|
+
}, Ta = {
|
|
3827
3820
|
width: 20,
|
|
3828
3821
|
height: 20,
|
|
3829
3822
|
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\"/>"
|
|
3830
|
-
},
|
|
3823
|
+
}, Ea = {
|
|
3831
3824
|
width: 24,
|
|
3832
3825
|
height: 24,
|
|
3833
3826
|
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\"/>"
|
|
3834
|
-
},
|
|
3827
|
+
}, Da = {
|
|
3835
3828
|
width: 24,
|
|
3836
3829
|
height: 24,
|
|
3837
3830
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
|
|
3838
|
-
},
|
|
3831
|
+
}, Oa = {
|
|
3839
3832
|
width: 24,
|
|
3840
3833
|
height: 24,
|
|
3841
3834
|
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\"/>"
|
|
3842
|
-
},
|
|
3835
|
+
}, ka = {
|
|
3843
3836
|
width: 24,
|
|
3844
3837
|
height: 24,
|
|
3845
3838
|
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>"
|
|
3846
|
-
},
|
|
3839
|
+
}, Aa = {
|
|
3847
3840
|
width: 24,
|
|
3848
3841
|
height: 24,
|
|
3849
3842
|
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>"
|
|
3850
|
-
},
|
|
3843
|
+
}, ja = {
|
|
3844
|
+
width: 24,
|
|
3845
|
+
height: 24,
|
|
3846
|
+
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\"/>"
|
|
3847
|
+
}, Ma = {
|
|
3851
3848
|
width: 24,
|
|
3852
3849
|
height: 24,
|
|
3853
3850
|
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\"/>"
|
|
3854
|
-
},
|
|
3851
|
+
}, Na = {
|
|
3855
3852
|
width: 24,
|
|
3856
3853
|
height: 24,
|
|
3857
3854
|
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>"
|
|
3858
|
-
},
|
|
3855
|
+
}, Pa = {
|
|
3859
3856
|
width: 24,
|
|
3860
3857
|
height: 24,
|
|
3861
3858
|
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>"
|
|
3862
|
-
},
|
|
3859
|
+
}, Fa = {
|
|
3863
3860
|
width: 24,
|
|
3864
3861
|
height: 24,
|
|
3865
3862
|
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\"/>"
|
|
3866
|
-
},
|
|
3863
|
+
}, Ia = {
|
|
3864
|
+
width: 24,
|
|
3865
|
+
height: 24,
|
|
3866
|
+
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\"/>"
|
|
3867
|
+
}, La = {
|
|
3867
3868
|
width: 24,
|
|
3868
3869
|
height: 24,
|
|
3869
3870
|
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\"/>"
|
|
3870
|
-
},
|
|
3871
|
+
}, Ra = {
|
|
3871
3872
|
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>",
|
|
3872
3873
|
width: 24,
|
|
3873
3874
|
height: 24
|
|
3874
|
-
},
|
|
3875
|
+
}, za = {
|
|
3875
3876
|
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>",
|
|
3876
3877
|
width: 24,
|
|
3877
3878
|
height: 24
|
|
3878
|
-
},
|
|
3879
|
+
}, Ba = {
|
|
3879
3880
|
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>",
|
|
3880
3881
|
width: 24,
|
|
3881
3882
|
height: 24
|
|
3882
|
-
},
|
|
3883
|
+
}, Va = {
|
|
3883
3884
|
width: 24,
|
|
3884
3885
|
height: 24,
|
|
3885
3886
|
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>"
|
|
3886
|
-
},
|
|
3887
|
+
}, Ha = {
|
|
3887
3888
|
width: 24,
|
|
3888
3889
|
height: 24,
|
|
3889
3890
|
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\"/>"
|
|
3890
|
-
},
|
|
3891
|
+
}, Ua = {
|
|
3891
3892
|
width: 24,
|
|
3892
3893
|
height: 24,
|
|
3893
3894
|
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>"
|
|
3894
|
-
},
|
|
3895
|
+
}, Wa = {
|
|
3895
3896
|
width: 24,
|
|
3896
3897
|
height: 24,
|
|
3897
3898
|
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\"/>"
|
|
3898
|
-
},
|
|
3899
|
+
}, Ga = {
|
|
3899
3900
|
width: 24,
|
|
3900
3901
|
height: 24,
|
|
3901
3902
|
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>"
|
|
3902
|
-
},
|
|
3903
|
+
}, Ka = {
|
|
3903
3904
|
width: 24,
|
|
3904
3905
|
height: 24,
|
|
3905
3906
|
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\"/>"
|
|
3906
|
-
},
|
|
3907
|
+
}, qa = {
|
|
3907
3908
|
width: 24,
|
|
3908
3909
|
height: 24,
|
|
3909
3910
|
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>"
|
|
3910
|
-
},
|
|
3911
|
+
}, Ja = {
|
|
3911
3912
|
width: 24,
|
|
3912
3913
|
height: 24,
|
|
3913
3914
|
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>"
|
|
3914
|
-
},
|
|
3915
|
+
}, Ya = {
|
|
3915
3916
|
close: {
|
|
3916
|
-
icon:
|
|
3917
|
+
icon: Ei,
|
|
3917
3918
|
category: "action"
|
|
3918
3919
|
},
|
|
3919
3920
|
add: {
|
|
3920
|
-
icon:
|
|
3921
|
+
icon: Di,
|
|
3921
3922
|
category: "action"
|
|
3922
3923
|
},
|
|
3923
3924
|
edit: {
|
|
3924
|
-
icon:
|
|
3925
|
+
icon: Oi,
|
|
3925
3926
|
category: "action"
|
|
3926
3927
|
},
|
|
3927
3928
|
delete: {
|
|
3928
|
-
icon:
|
|
3929
|
+
icon: ki,
|
|
3929
3930
|
category: "action"
|
|
3930
3931
|
},
|
|
3931
3932
|
refresh: {
|
|
3932
|
-
icon:
|
|
3933
|
+
icon: Ai,
|
|
3933
3934
|
category: "action"
|
|
3934
3935
|
},
|
|
3935
3936
|
copy: {
|
|
3936
|
-
icon:
|
|
3937
|
+
icon: ji,
|
|
3937
3938
|
category: "action"
|
|
3938
3939
|
},
|
|
3939
3940
|
duplicate: {
|
|
3940
|
-
icon:
|
|
3941
|
+
icon: Mi,
|
|
3941
3942
|
category: "action"
|
|
3942
3943
|
},
|
|
3943
3944
|
settings: {
|
|
3944
|
-
icon:
|
|
3945
|
+
icon: Ni,
|
|
3945
3946
|
category: "action"
|
|
3946
3947
|
},
|
|
3947
3948
|
filter: {
|
|
3948
|
-
icon:
|
|
3949
|
+
icon: Pi,
|
|
3949
3950
|
category: "action"
|
|
3950
3951
|
},
|
|
3951
3952
|
share: {
|
|
3952
|
-
icon:
|
|
3953
|
+
icon: Fi,
|
|
3953
3954
|
category: "action"
|
|
3954
3955
|
},
|
|
3955
3956
|
expand: {
|
|
3956
|
-
icon:
|
|
3957
|
+
icon: Li,
|
|
3957
3958
|
category: "action"
|
|
3958
3959
|
},
|
|
3959
3960
|
collapse: {
|
|
3960
|
-
icon:
|
|
3961
|
+
icon: Ii,
|
|
3961
3962
|
category: "action"
|
|
3962
3963
|
},
|
|
3963
3964
|
search: {
|
|
3964
|
-
icon:
|
|
3965
|
+
icon: Bi,
|
|
3965
3966
|
category: "action"
|
|
3966
3967
|
},
|
|
3967
3968
|
menu: {
|
|
3968
|
-
icon:
|
|
3969
|
+
icon: Vi,
|
|
3969
3970
|
category: "action"
|
|
3970
3971
|
},
|
|
3971
3972
|
run: {
|
|
3972
|
-
icon:
|
|
3973
|
+
icon: ma,
|
|
3973
3974
|
category: "action"
|
|
3974
3975
|
},
|
|
3975
3976
|
check: {
|
|
3976
|
-
icon:
|
|
3977
|
+
icon: ha,
|
|
3977
3978
|
category: "action"
|
|
3978
3979
|
},
|
|
3979
3980
|
link: {
|
|
3980
|
-
icon:
|
|
3981
|
+
icon: Zi,
|
|
3981
3982
|
category: "action"
|
|
3982
3983
|
},
|
|
3983
3984
|
eye: {
|
|
3984
|
-
icon:
|
|
3985
|
+
icon: Ki,
|
|
3985
3986
|
category: "action"
|
|
3986
3987
|
},
|
|
3987
3988
|
eyeOff: {
|
|
3988
|
-
icon:
|
|
3989
|
+
icon: qi,
|
|
3989
3990
|
category: "action"
|
|
3990
3991
|
},
|
|
3991
3992
|
adjustments: {
|
|
3992
|
-
icon:
|
|
3993
|
+
icon: Ji,
|
|
3993
3994
|
category: "action"
|
|
3994
3995
|
},
|
|
3995
3996
|
desktop: {
|
|
3996
|
-
icon:
|
|
3997
|
+
icon: Yi,
|
|
3997
3998
|
category: "action"
|
|
3998
3999
|
},
|
|
3999
4000
|
table: {
|
|
4000
|
-
icon:
|
|
4001
|
+
icon: Xi,
|
|
4001
4002
|
category: "action"
|
|
4002
4003
|
},
|
|
4003
4004
|
sun: {
|
|
4004
|
-
icon:
|
|
4005
|
+
icon: $i,
|
|
4005
4006
|
category: "action"
|
|
4006
4007
|
},
|
|
4007
4008
|
moon: {
|
|
4008
|
-
icon:
|
|
4009
|
+
icon: ea,
|
|
4009
4010
|
category: "action"
|
|
4010
4011
|
},
|
|
4011
4012
|
ellipsisHorizontal: {
|
|
4012
|
-
icon:
|
|
4013
|
+
icon: ta,
|
|
4013
4014
|
category: "action"
|
|
4014
4015
|
},
|
|
4015
4016
|
documentText: {
|
|
4016
|
-
icon:
|
|
4017
|
+
icon: na,
|
|
4017
4018
|
category: "action"
|
|
4018
4019
|
},
|
|
4019
4020
|
bookOpen: {
|
|
4020
|
-
icon:
|
|
4021
|
+
icon: ra,
|
|
4021
4022
|
category: "action"
|
|
4022
4023
|
},
|
|
4023
4024
|
codeBracket: {
|
|
4024
|
-
icon:
|
|
4025
|
+
icon: ia,
|
|
4025
4026
|
category: "action"
|
|
4026
4027
|
},
|
|
4027
4028
|
swatch: {
|
|
4028
|
-
icon:
|
|
4029
|
+
icon: aa,
|
|
4029
4030
|
category: "action"
|
|
4030
4031
|
},
|
|
4031
4032
|
camera: {
|
|
4032
|
-
icon:
|
|
4033
|
+
icon: oa,
|
|
4033
4034
|
category: "action"
|
|
4034
4035
|
},
|
|
4035
4036
|
thumbUp: {
|
|
4036
|
-
icon:
|
|
4037
|
+
icon: ca,
|
|
4037
4038
|
category: "action"
|
|
4038
4039
|
},
|
|
4039
4040
|
thumbDown: {
|
|
4040
|
-
icon:
|
|
4041
|
+
icon: la,
|
|
4041
4042
|
category: "action"
|
|
4042
4043
|
},
|
|
4043
4044
|
schemaGraph: {
|
|
@@ -4057,95 +4058,99 @@ var Ci = {
|
|
|
4057
4058
|
category: "action"
|
|
4058
4059
|
},
|
|
4059
4060
|
download: {
|
|
4060
|
-
icon:
|
|
4061
|
+
icon: sa,
|
|
4061
4062
|
category: "action"
|
|
4062
4063
|
},
|
|
4063
4064
|
measure: {
|
|
4064
|
-
icon:
|
|
4065
|
+
icon: ua,
|
|
4065
4066
|
category: "field"
|
|
4066
4067
|
},
|
|
4067
4068
|
dimension: {
|
|
4068
|
-
icon:
|
|
4069
|
+
icon: da,
|
|
4069
4070
|
category: "field"
|
|
4070
4071
|
},
|
|
4071
4072
|
timeDimension: {
|
|
4072
|
-
icon:
|
|
4073
|
+
icon: fa,
|
|
4073
4074
|
category: "field"
|
|
4074
4075
|
},
|
|
4075
4076
|
segment: {
|
|
4076
|
-
icon:
|
|
4077
|
+
icon: pa,
|
|
4077
4078
|
category: "field"
|
|
4078
4079
|
},
|
|
4079
4080
|
chartBar: {
|
|
4080
|
-
icon:
|
|
4081
|
+
icon: Ea,
|
|
4081
4082
|
category: "chart"
|
|
4082
4083
|
},
|
|
4083
4084
|
chartLine: {
|
|
4084
|
-
icon:
|
|
4085
|
+
icon: Da,
|
|
4085
4086
|
category: "chart"
|
|
4086
4087
|
},
|
|
4087
4088
|
chartArea: {
|
|
4088
|
-
icon:
|
|
4089
|
+
icon: Oa,
|
|
4089
4090
|
category: "chart"
|
|
4090
4091
|
},
|
|
4091
4092
|
chartPie: {
|
|
4092
|
-
icon:
|
|
4093
|
+
icon: ka,
|
|
4093
4094
|
category: "chart"
|
|
4094
4095
|
},
|
|
4095
4096
|
chartScatter: {
|
|
4096
|
-
icon:
|
|
4097
|
+
icon: Aa,
|
|
4097
4098
|
category: "chart"
|
|
4098
4099
|
},
|
|
4099
4100
|
chartBubble: {
|
|
4100
|
-
icon:
|
|
4101
|
+
icon: Ma,
|
|
4101
4102
|
category: "chart"
|
|
4102
4103
|
},
|
|
4103
4104
|
chartRadar: {
|
|
4104
|
-
icon:
|
|
4105
|
+
icon: Na,
|
|
4105
4106
|
category: "chart"
|
|
4106
4107
|
},
|
|
4107
4108
|
chartRadialBar: {
|
|
4108
|
-
icon:
|
|
4109
|
+
icon: Pa,
|
|
4109
4110
|
category: "chart"
|
|
4110
4111
|
},
|
|
4111
4112
|
chartTreemap: {
|
|
4112
|
-
icon:
|
|
4113
|
+
icon: Fa,
|
|
4113
4114
|
category: "chart"
|
|
4114
4115
|
},
|
|
4115
4116
|
chartTable: {
|
|
4116
|
-
icon:
|
|
4117
|
+
icon: Ha,
|
|
4118
|
+
category: "chart"
|
|
4119
|
+
},
|
|
4120
|
+
chartRecordsTable: {
|
|
4121
|
+
icon: Ia,
|
|
4117
4122
|
category: "chart"
|
|
4118
4123
|
},
|
|
4119
4124
|
chartActivityGrid: {
|
|
4120
|
-
icon:
|
|
4125
|
+
icon: Ua,
|
|
4121
4126
|
category: "chart"
|
|
4122
4127
|
},
|
|
4123
4128
|
chartKpiNumber: {
|
|
4124
|
-
icon:
|
|
4129
|
+
icon: Wa,
|
|
4125
4130
|
category: "chart"
|
|
4126
4131
|
},
|
|
4127
4132
|
chartKpiDelta: {
|
|
4128
|
-
icon:
|
|
4133
|
+
icon: Ga,
|
|
4129
4134
|
category: "chart"
|
|
4130
4135
|
},
|
|
4131
4136
|
chartKpiText: {
|
|
4132
|
-
icon:
|
|
4137
|
+
icon: Ka,
|
|
4133
4138
|
category: "chart"
|
|
4134
4139
|
},
|
|
4135
4140
|
chartMarkdown: {
|
|
4136
|
-
icon:
|
|
4141
|
+
icon: qa,
|
|
4137
4142
|
category: "chart"
|
|
4138
4143
|
},
|
|
4139
4144
|
chartFunnel: {
|
|
4140
|
-
icon:
|
|
4145
|
+
icon: za,
|
|
4141
4146
|
category: "chart"
|
|
4142
4147
|
},
|
|
4143
4148
|
chartSankey: {
|
|
4144
|
-
icon:
|
|
4149
|
+
icon: Ra,
|
|
4145
4150
|
category: "chart"
|
|
4146
4151
|
},
|
|
4147
4152
|
chartSunburst: {
|
|
4148
|
-
icon:
|
|
4153
|
+
icon: Va,
|
|
4149
4154
|
category: "chart"
|
|
4150
4155
|
},
|
|
4151
4156
|
chartHeatmap: {
|
|
@@ -4157,7 +4162,7 @@ var Ci = {
|
|
|
4157
4162
|
category: "chart"
|
|
4158
4163
|
},
|
|
4159
4164
|
chartRetention: {
|
|
4160
|
-
icon:
|
|
4165
|
+
icon: Ba,
|
|
4161
4166
|
category: "chart"
|
|
4162
4167
|
},
|
|
4163
4168
|
chartBoxPlot: {
|
|
@@ -4168,6 +4173,10 @@ var Ci = {
|
|
|
4168
4173
|
},
|
|
4169
4174
|
category: "chart"
|
|
4170
4175
|
},
|
|
4176
|
+
chartDotStrip: {
|
|
4177
|
+
icon: ja,
|
|
4178
|
+
category: "chart"
|
|
4179
|
+
},
|
|
4171
4180
|
chartWaterfall: {
|
|
4172
4181
|
icon: {
|
|
4173
4182
|
width: 24,
|
|
@@ -4193,7 +4202,7 @@ var Ci = {
|
|
|
4193
4202
|
category: "chart"
|
|
4194
4203
|
},
|
|
4195
4204
|
chartProportionBar: {
|
|
4196
|
-
icon:
|
|
4205
|
+
icon: La,
|
|
4197
4206
|
category: "chart"
|
|
4198
4207
|
},
|
|
4199
4208
|
chartGauge: {
|
|
@@ -4205,83 +4214,83 @@ var Ci = {
|
|
|
4205
4214
|
category: "chart"
|
|
4206
4215
|
},
|
|
4207
4216
|
measureCount: {
|
|
4208
|
-
icon:
|
|
4217
|
+
icon: xa,
|
|
4209
4218
|
category: "measure"
|
|
4210
4219
|
},
|
|
4211
4220
|
measureCountDistinct: {
|
|
4212
|
-
icon:
|
|
4221
|
+
icon: Sa,
|
|
4213
4222
|
category: "measure"
|
|
4214
4223
|
},
|
|
4215
4224
|
measureCountDistinctApprox: {
|
|
4216
|
-
icon:
|
|
4225
|
+
icon: Ca,
|
|
4217
4226
|
category: "measure"
|
|
4218
4227
|
},
|
|
4219
4228
|
measureSum: {
|
|
4220
|
-
icon:
|
|
4229
|
+
icon: wa,
|
|
4221
4230
|
category: "measure"
|
|
4222
4231
|
},
|
|
4223
4232
|
measureAvg: {
|
|
4224
|
-
icon:
|
|
4233
|
+
icon: ga,
|
|
4225
4234
|
category: "measure"
|
|
4226
4235
|
},
|
|
4227
4236
|
measureMin: {
|
|
4228
|
-
icon:
|
|
4237
|
+
icon: _a,
|
|
4229
4238
|
category: "measure"
|
|
4230
4239
|
},
|
|
4231
4240
|
measureMax: {
|
|
4232
|
-
icon:
|
|
4241
|
+
icon: va,
|
|
4233
4242
|
category: "measure"
|
|
4234
4243
|
},
|
|
4235
4244
|
measureRunningTotal: {
|
|
4236
|
-
icon:
|
|
4245
|
+
icon: ya,
|
|
4237
4246
|
category: "measure"
|
|
4238
4247
|
},
|
|
4239
4248
|
measureCalculated: {
|
|
4240
|
-
icon:
|
|
4249
|
+
icon: ba,
|
|
4241
4250
|
category: "measure"
|
|
4242
4251
|
},
|
|
4243
4252
|
measureNumber: {
|
|
4244
|
-
icon:
|
|
4253
|
+
icon: Ta,
|
|
4245
4254
|
category: "measure"
|
|
4246
4255
|
},
|
|
4247
4256
|
success: {
|
|
4248
|
-
icon:
|
|
4257
|
+
icon: Hi,
|
|
4249
4258
|
category: "state"
|
|
4250
4259
|
},
|
|
4251
4260
|
warning: {
|
|
4252
|
-
icon:
|
|
4261
|
+
icon: Ui,
|
|
4253
4262
|
category: "state"
|
|
4254
4263
|
},
|
|
4255
4264
|
error: {
|
|
4256
|
-
icon:
|
|
4265
|
+
icon: Wi,
|
|
4257
4266
|
category: "state"
|
|
4258
4267
|
},
|
|
4259
4268
|
info: {
|
|
4260
|
-
icon:
|
|
4269
|
+
icon: Ja,
|
|
4261
4270
|
category: "state"
|
|
4262
4271
|
},
|
|
4263
4272
|
loading: {
|
|
4264
|
-
icon:
|
|
4273
|
+
icon: Ai,
|
|
4265
4274
|
category: "state"
|
|
4266
4275
|
},
|
|
4267
4276
|
sparkles: {
|
|
4268
|
-
icon:
|
|
4277
|
+
icon: Gi,
|
|
4269
4278
|
category: "state"
|
|
4270
4279
|
},
|
|
4271
4280
|
chevronUp: {
|
|
4272
|
-
icon:
|
|
4281
|
+
icon: Ii,
|
|
4273
4282
|
category: "navigation"
|
|
4274
4283
|
},
|
|
4275
4284
|
chevronDown: {
|
|
4276
|
-
icon:
|
|
4285
|
+
icon: Li,
|
|
4277
4286
|
category: "navigation"
|
|
4278
4287
|
},
|
|
4279
4288
|
chevronLeft: {
|
|
4280
|
-
icon:
|
|
4289
|
+
icon: Ri,
|
|
4281
4290
|
category: "navigation"
|
|
4282
4291
|
},
|
|
4283
4292
|
chevronRight: {
|
|
4284
|
-
icon:
|
|
4293
|
+
icon: zi,
|
|
4285
4294
|
category: "navigation"
|
|
4286
4295
|
},
|
|
4287
4296
|
chevronUpDown: {
|
|
@@ -4293,78 +4302,78 @@ var Ci = {
|
|
|
4293
4302
|
category: "navigation"
|
|
4294
4303
|
},
|
|
4295
4304
|
arrowUp: {
|
|
4296
|
-
icon:
|
|
4305
|
+
icon: va,
|
|
4297
4306
|
category: "navigation"
|
|
4298
4307
|
},
|
|
4299
4308
|
arrowDown: {
|
|
4300
|
-
icon:
|
|
4309
|
+
icon: _a,
|
|
4301
4310
|
category: "navigation"
|
|
4302
4311
|
},
|
|
4303
4312
|
arrowRight: {
|
|
4304
|
-
icon:
|
|
4313
|
+
icon: Qi,
|
|
4305
4314
|
category: "navigation"
|
|
4306
4315
|
},
|
|
4307
4316
|
arrowPath: {
|
|
4308
|
-
icon:
|
|
4317
|
+
icon: Ai,
|
|
4309
4318
|
category: "navigation"
|
|
4310
4319
|
}
|
|
4311
|
-
},
|
|
4312
|
-
function
|
|
4313
|
-
return
|
|
4320
|
+
}, J = { ...Ya }, Y = /* @__PURE__ */ new Map();
|
|
4321
|
+
function Xa() {
|
|
4322
|
+
return J;
|
|
4314
4323
|
}
|
|
4315
|
-
function
|
|
4316
|
-
let t =
|
|
4324
|
+
function X(e) {
|
|
4325
|
+
let t = Y.get(e);
|
|
4317
4326
|
if (t) return t;
|
|
4318
|
-
let n =
|
|
4319
|
-
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */
|
|
4320
|
-
icon:
|
|
4327
|
+
let n = J[e];
|
|
4328
|
+
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ w(Ti, {
|
|
4329
|
+
icon: J.info.icon,
|
|
4321
4330
|
className: e,
|
|
4322
4331
|
...t
|
|
4323
4332
|
});
|
|
4324
|
-
let r = ({ className: e, ...t }) => /* @__PURE__ */
|
|
4333
|
+
let r = ({ className: e, ...t }) => /* @__PURE__ */ w(Ti, {
|
|
4325
4334
|
icon: n.icon,
|
|
4326
4335
|
className: e,
|
|
4327
4336
|
...t
|
|
4328
4337
|
});
|
|
4329
|
-
return
|
|
4338
|
+
return Y.set(e, r), r;
|
|
4330
4339
|
}
|
|
4331
|
-
function
|
|
4332
|
-
return
|
|
4340
|
+
function Za(e) {
|
|
4341
|
+
return J[e]?.icon ?? J.info.icon;
|
|
4333
4342
|
}
|
|
4334
|
-
function
|
|
4335
|
-
|
|
4336
|
-
...
|
|
4343
|
+
function Qa(e, t) {
|
|
4344
|
+
J[e] && (J[e] = {
|
|
4345
|
+
...J[e],
|
|
4337
4346
|
icon: t
|
|
4338
|
-
},
|
|
4347
|
+
}, Y.delete(e));
|
|
4339
4348
|
}
|
|
4340
|
-
function
|
|
4341
|
-
for (let [t, n] of Object.entries(e)) if (n && t in
|
|
4349
|
+
function $a(e) {
|
|
4350
|
+
for (let [t, n] of Object.entries(e)) if (n && t in J) {
|
|
4342
4351
|
let e = t;
|
|
4343
|
-
if ("body" in n)
|
|
4344
|
-
...
|
|
4352
|
+
if ("body" in n) J[e] = {
|
|
4353
|
+
...J[e],
|
|
4345
4354
|
icon: n
|
|
4346
4355
|
};
|
|
4347
4356
|
else {
|
|
4348
4357
|
let t = n;
|
|
4349
|
-
|
|
4350
|
-
...
|
|
4358
|
+
J[e] = {
|
|
4359
|
+
...J[e],
|
|
4351
4360
|
...t,
|
|
4352
|
-
icon: t.icon ??
|
|
4361
|
+
icon: t.icon ?? J[e].icon
|
|
4353
4362
|
};
|
|
4354
4363
|
}
|
|
4355
|
-
|
|
4364
|
+
Y.delete(e);
|
|
4356
4365
|
}
|
|
4357
4366
|
}
|
|
4358
|
-
function
|
|
4359
|
-
|
|
4367
|
+
function eo() {
|
|
4368
|
+
J = { ...Ya }, Y.clear();
|
|
4360
4369
|
}
|
|
4361
|
-
function
|
|
4370
|
+
function to(e) {
|
|
4362
4371
|
let t = {};
|
|
4363
|
-
for (let [n, r] of Object.entries(
|
|
4372
|
+
for (let [n, r] of Object.entries(J)) r.category === e && (t[n] = X(n));
|
|
4364
4373
|
return t;
|
|
4365
4374
|
}
|
|
4366
|
-
function
|
|
4367
|
-
return
|
|
4375
|
+
function no(e) {
|
|
4376
|
+
return X({
|
|
4368
4377
|
count: "measureCount",
|
|
4369
4378
|
countDistinct: "measureCountDistinct",
|
|
4370
4379
|
countDistinctApprox: "measureCountDistinctApprox",
|
|
@@ -4377,12 +4386,12 @@ function Za(e) {
|
|
|
4377
4386
|
number: "measureNumber"
|
|
4378
4387
|
}[e || ""] || "measureCount");
|
|
4379
4388
|
}
|
|
4380
|
-
function
|
|
4381
|
-
let t =
|
|
4382
|
-
return t ? typeof t == "string" ?
|
|
4389
|
+
function ro(e) {
|
|
4390
|
+
let t = we(e)?.icon;
|
|
4391
|
+
return t ? typeof t == "string" ? X(t) : t : X("chartBar");
|
|
4383
4392
|
}
|
|
4384
|
-
function
|
|
4385
|
-
return
|
|
4393
|
+
function io(e) {
|
|
4394
|
+
return X({
|
|
4386
4395
|
measure: "measure",
|
|
4387
4396
|
dimension: "dimension",
|
|
4388
4397
|
timeDimension: "timeDimension",
|
|
@@ -4392,9 +4401,9 @@ function $a(e) {
|
|
|
4392
4401
|
}
|
|
4393
4402
|
//#endregion
|
|
4394
4403
|
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
4395
|
-
function
|
|
4396
|
-
let { t: i } =
|
|
4397
|
-
return /* @__PURE__ */
|
|
4404
|
+
function ao({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
4405
|
+
let { t: i } = s();
|
|
4406
|
+
return /* @__PURE__ */ T("div", {
|
|
4398
4407
|
className: "dc-missing-dependency-fallback",
|
|
4399
4408
|
style: {
|
|
4400
4409
|
height: typeof r == "number" ? `${r}px` : r,
|
|
@@ -4410,14 +4419,14 @@ function eo({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4410
4419
|
backgroundColor: "var(--dc-surface, #f9fafb)"
|
|
4411
4420
|
},
|
|
4412
4421
|
children: [
|
|
4413
|
-
/* @__PURE__ */
|
|
4422
|
+
/* @__PURE__ */ w("div", {
|
|
4414
4423
|
style: {
|
|
4415
4424
|
fontSize: "2.5rem",
|
|
4416
4425
|
marginBottom: "1rem"
|
|
4417
4426
|
},
|
|
4418
4427
|
children: "📦"
|
|
4419
4428
|
}),
|
|
4420
|
-
/* @__PURE__ */
|
|
4429
|
+
/* @__PURE__ */ w("h3", {
|
|
4421
4430
|
style: {
|
|
4422
4431
|
fontSize: "1.125rem",
|
|
4423
4432
|
fontWeight: 600,
|
|
@@ -4426,7 +4435,7 @@ function eo({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4426
4435
|
},
|
|
4427
4436
|
children: i("chart.runtime.missingDep.title")
|
|
4428
4437
|
}),
|
|
4429
|
-
/* @__PURE__ */
|
|
4438
|
+
/* @__PURE__ */ w("p", {
|
|
4430
4439
|
style: {
|
|
4431
4440
|
fontSize: "0.875rem",
|
|
4432
4441
|
color: "var(--dc-text-secondary, #6b7280)",
|
|
@@ -4438,7 +4447,7 @@ function eo({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4438
4447
|
packageName: t
|
|
4439
4448
|
})
|
|
4440
4449
|
}),
|
|
4441
|
-
/* @__PURE__ */
|
|
4450
|
+
/* @__PURE__ */ T("div", {
|
|
4442
4451
|
style: {
|
|
4443
4452
|
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
4444
4453
|
borderRadius: "0.5rem",
|
|
@@ -4447,7 +4456,7 @@ function eo({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4447
4456
|
fontSize: "0.875rem",
|
|
4448
4457
|
color: "var(--dc-text, #111827)"
|
|
4449
4458
|
},
|
|
4450
|
-
children: [/* @__PURE__ */
|
|
4459
|
+
children: [/* @__PURE__ */ w("span", {
|
|
4451
4460
|
style: {
|
|
4452
4461
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
4453
4462
|
userSelect: "none"
|
|
@@ -4455,7 +4464,7 @@ function eo({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4455
4464
|
children: "$ "
|
|
4456
4465
|
}), n]
|
|
4457
4466
|
}),
|
|
4458
|
-
/* @__PURE__ */
|
|
4467
|
+
/* @__PURE__ */ w("p", {
|
|
4459
4468
|
style: {
|
|
4460
4469
|
fontSize: "0.75rem",
|
|
4461
4470
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
@@ -4468,17 +4477,17 @@ function eo({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4468
4477
|
}
|
|
4469
4478
|
//#endregion
|
|
4470
4479
|
//#region src/client/charts/chartComponentRegistry.tsx
|
|
4471
|
-
var
|
|
4472
|
-
function
|
|
4480
|
+
var oo = /* @__PURE__ */ new Map(), Z = /* @__PURE__ */ new Set(), so = /* @__PURE__ */ new Map();
|
|
4481
|
+
function co(e) {
|
|
4473
4482
|
let t = ({ height: t }) => {
|
|
4474
|
-
let { t: n } =
|
|
4475
|
-
return /* @__PURE__ */
|
|
4483
|
+
let { t: n } = s();
|
|
4484
|
+
return /* @__PURE__ */ T("div", {
|
|
4476
4485
|
className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:gap-2",
|
|
4477
4486
|
style: { height: typeof t == "number" ? `${t}px` : t || "200px" },
|
|
4478
|
-
children: [/* @__PURE__ */
|
|
4487
|
+
children: [/* @__PURE__ */ w("div", {
|
|
4479
4488
|
className: "dc:text-sm dc:font-semibold text-dc-text-muted",
|
|
4480
4489
|
children: n("chart.runtime.unknownChartType")
|
|
4481
|
-
}), /* @__PURE__ */
|
|
4490
|
+
}), /* @__PURE__ */ T("div", {
|
|
4482
4491
|
className: "dc:text-xs text-dc-text-muted",
|
|
4483
4492
|
children: [
|
|
4484
4493
|
"“",
|
|
@@ -4490,8 +4499,8 @@ function io(e) {
|
|
|
4490
4499
|
};
|
|
4491
4500
|
return t.displayName = `UnknownChart_${e}`, t;
|
|
4492
4501
|
}
|
|
4493
|
-
function
|
|
4494
|
-
let t =
|
|
4502
|
+
function lo(e) {
|
|
4503
|
+
let t = we(e)?.dependencies, n = ({ height: n }) => /* @__PURE__ */ w(ao, {
|
|
4495
4504
|
chartType: e,
|
|
4496
4505
|
packageName: t?.packageName || "unknown",
|
|
4497
4506
|
installCommand: t?.installCommand || "npm install [package-name]",
|
|
@@ -4499,55 +4508,118 @@ function ao(e) {
|
|
|
4499
4508
|
});
|
|
4500
4509
|
return n.displayName = `${e}Fallback`, n;
|
|
4501
4510
|
}
|
|
4502
|
-
function
|
|
4511
|
+
function uo(e, t) {
|
|
4503
4512
|
return async () => {
|
|
4504
4513
|
try {
|
|
4505
4514
|
return await t();
|
|
4506
4515
|
} catch (t) {
|
|
4507
|
-
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t),
|
|
4516
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Z.add(e), { default: lo(e) };
|
|
4508
4517
|
}
|
|
4509
4518
|
};
|
|
4510
4519
|
}
|
|
4511
|
-
function
|
|
4512
|
-
if (
|
|
4513
|
-
let t = r ?
|
|
4514
|
-
|
|
4520
|
+
function fo(e, t, n, r) {
|
|
4521
|
+
if (oo.delete(e), Z.delete(e), n) {
|
|
4522
|
+
let t = r ? uo(e, n) : n;
|
|
4523
|
+
so.set(e, ye(t));
|
|
4515
4524
|
} else if (t) {
|
|
4516
4525
|
let n = t;
|
|
4517
|
-
|
|
4526
|
+
so.set(e, ye(() => Promise.resolve({ default: n })));
|
|
4518
4527
|
}
|
|
4519
4528
|
}
|
|
4520
|
-
function
|
|
4521
|
-
|
|
4529
|
+
function po(e) {
|
|
4530
|
+
so.delete(e), oo.delete(e), Z.delete(e);
|
|
4522
4531
|
}
|
|
4523
4532
|
//#endregion
|
|
4524
4533
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
4525
|
-
function
|
|
4526
|
-
let { meta: t, labelMap: n, isLoading: r, error: i, refetch: a, getFieldLabel: o } =
|
|
4534
|
+
function mo({ children: e }) {
|
|
4535
|
+
let { meta: t, labelMap: n, isLoading: r, error: i, refetch: a, getFieldLabel: o } = dn(), s = i ? i instanceof Error ? i.message : String(i) : null, c = be(() => {
|
|
4527
4536
|
a();
|
|
4528
|
-
}, [a]),
|
|
4537
|
+
}, [a]), l = be((e) => o(e), [o]), u = S(() => ({
|
|
4529
4538
|
meta: t,
|
|
4530
4539
|
labelMap: n,
|
|
4531
4540
|
metaLoading: r,
|
|
4532
4541
|
metaError: s,
|
|
4533
|
-
getFieldLabel:
|
|
4542
|
+
getFieldLabel: l,
|
|
4534
4543
|
refetchMeta: c
|
|
4535
4544
|
}), [
|
|
4536
4545
|
t,
|
|
4537
4546
|
n,
|
|
4538
4547
|
r,
|
|
4539
4548
|
s,
|
|
4540
|
-
|
|
4549
|
+
l,
|
|
4541
4550
|
c
|
|
4542
4551
|
]);
|
|
4543
|
-
return /* @__PURE__ */
|
|
4544
|
-
value:
|
|
4552
|
+
return /* @__PURE__ */ w(d.Provider, {
|
|
4553
|
+
value: u,
|
|
4545
4554
|
children: e
|
|
4546
4555
|
});
|
|
4547
4556
|
}
|
|
4548
4557
|
//#endregion
|
|
4549
|
-
//#region src/client/components/charts/
|
|
4550
|
-
var
|
|
4558
|
+
//#region src/client/components/charts/RecordsTable.config.ts
|
|
4559
|
+
var ho = /* @__PURE__ */ t({ recordsTableConfig: () => go }), go = {
|
|
4560
|
+
dropZones: [{
|
|
4561
|
+
key: "columns",
|
|
4562
|
+
label: "chart.recordsTable.dropZone.columns.label",
|
|
4563
|
+
description: "chart.recordsTable.dropZone.columns.description",
|
|
4564
|
+
mandatory: !1,
|
|
4565
|
+
acceptTypes: [
|
|
4566
|
+
"dimension",
|
|
4567
|
+
"timeDimension",
|
|
4568
|
+
"measure"
|
|
4569
|
+
],
|
|
4570
|
+
emptyText: "chart.recordsTable.dropZone.columns.empty"
|
|
4571
|
+
}, {
|
|
4572
|
+
key: "hiddenColumns",
|
|
4573
|
+
label: "chart.recordsTable.dropZone.hiddenColumns.label",
|
|
4574
|
+
description: "chart.recordsTable.dropZone.hiddenColumns.description",
|
|
4575
|
+
mandatory: !1,
|
|
4576
|
+
acceptTypes: [
|
|
4577
|
+
"dimension",
|
|
4578
|
+
"timeDimension",
|
|
4579
|
+
"measure"
|
|
4580
|
+
],
|
|
4581
|
+
emptyText: "chart.recordsTable.dropZone.hiddenColumns.empty",
|
|
4582
|
+
excludeFromInference: !0
|
|
4583
|
+
}],
|
|
4584
|
+
displayOptions: ["hideHeader"],
|
|
4585
|
+
displayOptionsConfig: [
|
|
4586
|
+
{
|
|
4587
|
+
key: "columnFormats",
|
|
4588
|
+
label: "chart.recordsTable.option.columnFormats.label",
|
|
4589
|
+
type: "columnFormats",
|
|
4590
|
+
description: "chart.recordsTable.option.columnFormats.description"
|
|
4591
|
+
},
|
|
4592
|
+
{
|
|
4593
|
+
key: "rowLink",
|
|
4594
|
+
label: "chart.recordsTable.option.rowLink.label",
|
|
4595
|
+
type: "rowLink",
|
|
4596
|
+
description: "chart.recordsTable.option.rowLink.description"
|
|
4597
|
+
},
|
|
4598
|
+
{
|
|
4599
|
+
key: "pageSize",
|
|
4600
|
+
label: "chart.recordsTable.option.pageSize.label",
|
|
4601
|
+
type: "select",
|
|
4602
|
+
defaultValue: 25,
|
|
4603
|
+
description: "chart.recordsTable.option.pageSize.description",
|
|
4604
|
+
options: [
|
|
4605
|
+
{
|
|
4606
|
+
value: 25,
|
|
4607
|
+
label: "chart.recordsTable.option.pageSize.option.25"
|
|
4608
|
+
},
|
|
4609
|
+
{
|
|
4610
|
+
value: 50,
|
|
4611
|
+
label: "chart.recordsTable.option.pageSize.option.50"
|
|
4612
|
+
},
|
|
4613
|
+
{
|
|
4614
|
+
value: 100,
|
|
4615
|
+
label: "chart.recordsTable.option.pageSize.option.100"
|
|
4616
|
+
}
|
|
4617
|
+
]
|
|
4618
|
+
}
|
|
4619
|
+
],
|
|
4620
|
+
clickableElements: { row: !0 },
|
|
4621
|
+
recordGrain: !0
|
|
4622
|
+
}, _o = /* @__PURE__ */ t({ retentionHeatmapConfig: () => vo }), vo = {
|
|
4551
4623
|
dropZones: [],
|
|
4552
4624
|
displayOptionsConfig: [{
|
|
4553
4625
|
key: "showLegend",
|
|
@@ -4562,7 +4634,7 @@ var uo = /* @__PURE__ */ t({ retentionHeatmapConfig: () => fo }), fo = {
|
|
|
4562
4634
|
defaultValue: !0,
|
|
4563
4635
|
description: "chart.option.showTooltip.description"
|
|
4564
4636
|
}]
|
|
4565
|
-
},
|
|
4637
|
+
}, yo = /* @__PURE__ */ t({ retentionCombinedConfig: () => bo }), bo = {
|
|
4566
4638
|
dropZones: [],
|
|
4567
4639
|
displayOptionsConfig: [
|
|
4568
4640
|
{
|
|
@@ -4608,7 +4680,118 @@ var uo = /* @__PURE__ */ t({ retentionHeatmapConfig: () => fo }), fo = {
|
|
|
4608
4680
|
description: "chart.option.showTooltip.description"
|
|
4609
4681
|
}
|
|
4610
4682
|
]
|
|
4611
|
-
},
|
|
4683
|
+
}, xo = /* @__PURE__ */ t({ dotStripChartConfig: () => So }), So = {
|
|
4684
|
+
displayOptions: [
|
|
4685
|
+
"showGrid",
|
|
4686
|
+
"showTooltip",
|
|
4687
|
+
"hideHeader"
|
|
4688
|
+
],
|
|
4689
|
+
dropZones: [
|
|
4690
|
+
{
|
|
4691
|
+
key: "xAxis",
|
|
4692
|
+
label: "chart.dotStrip.dropZone.xAxis.label",
|
|
4693
|
+
description: "chart.dotStrip.dropZone.xAxis.description",
|
|
4694
|
+
mandatory: !0,
|
|
4695
|
+
maxItems: 1,
|
|
4696
|
+
acceptTypes: ["dimension", "timeDimension"],
|
|
4697
|
+
emptyText: "chart.dotStrip.dropZone.xAxis.empty"
|
|
4698
|
+
},
|
|
4699
|
+
{
|
|
4700
|
+
key: "yAxis",
|
|
4701
|
+
label: "chart.dotStrip.dropZone.yAxis.label",
|
|
4702
|
+
description: "chart.dotStrip.dropZone.yAxis.description",
|
|
4703
|
+
mandatory: !0,
|
|
4704
|
+
maxItems: 1,
|
|
4705
|
+
acceptTypes: ["measure"],
|
|
4706
|
+
emptyText: "chart.dotStrip.dropZone.yAxis.empty"
|
|
4707
|
+
},
|
|
4708
|
+
{
|
|
4709
|
+
key: "series",
|
|
4710
|
+
label: "chart.dotStrip.dropZone.series.label",
|
|
4711
|
+
description: "chart.dotStrip.dropZone.series.description",
|
|
4712
|
+
mandatory: !1,
|
|
4713
|
+
maxItems: 1,
|
|
4714
|
+
acceptTypes: ["dimension"],
|
|
4715
|
+
emptyText: "chart.dotStrip.dropZone.series.empty"
|
|
4716
|
+
}
|
|
4717
|
+
],
|
|
4718
|
+
clickableElements: { point: !0 },
|
|
4719
|
+
displayOptionsConfig: [
|
|
4720
|
+
{
|
|
4721
|
+
key: "showMedianMarker",
|
|
4722
|
+
label: "chart.option.showMedianMarker.label",
|
|
4723
|
+
type: "boolean",
|
|
4724
|
+
defaultValue: !0,
|
|
4725
|
+
description: "chart.option.showMedianMarker.description"
|
|
4726
|
+
},
|
|
4727
|
+
{
|
|
4728
|
+
key: "showBandStats",
|
|
4729
|
+
label: "chart.option.showBandStats.label",
|
|
4730
|
+
type: "boolean",
|
|
4731
|
+
defaultValue: !0,
|
|
4732
|
+
description: "chart.option.showBandStats.description"
|
|
4733
|
+
},
|
|
4734
|
+
{
|
|
4735
|
+
key: "showExtremeLabels",
|
|
4736
|
+
label: "chart.option.showExtremeLabels.label",
|
|
4737
|
+
type: "boolean",
|
|
4738
|
+
defaultValue: !1,
|
|
4739
|
+
description: "chart.option.showExtremeLabels.description"
|
|
4740
|
+
},
|
|
4741
|
+
{
|
|
4742
|
+
key: "dotSize",
|
|
4743
|
+
label: "chart.option.dotSize.label",
|
|
4744
|
+
type: "select",
|
|
4745
|
+
defaultValue: "medium",
|
|
4746
|
+
options: [
|
|
4747
|
+
{
|
|
4748
|
+
value: "small",
|
|
4749
|
+
label: "chart.option.dotSize.small"
|
|
4750
|
+
},
|
|
4751
|
+
{
|
|
4752
|
+
value: "medium",
|
|
4753
|
+
label: "chart.option.dotSize.medium"
|
|
4754
|
+
},
|
|
4755
|
+
{
|
|
4756
|
+
value: "large",
|
|
4757
|
+
label: "chart.option.dotSize.large"
|
|
4758
|
+
}
|
|
4759
|
+
],
|
|
4760
|
+
description: "chart.option.dotSize.description"
|
|
4761
|
+
},
|
|
4762
|
+
{
|
|
4763
|
+
key: "bandSort",
|
|
4764
|
+
label: "chart.option.bandSort.label",
|
|
4765
|
+
type: "select",
|
|
4766
|
+
defaultValue: "none",
|
|
4767
|
+
options: [
|
|
4768
|
+
{
|
|
4769
|
+
value: "none",
|
|
4770
|
+
label: "chart.option.bandSort.none"
|
|
4771
|
+
},
|
|
4772
|
+
{
|
|
4773
|
+
value: "valueDesc",
|
|
4774
|
+
label: "chart.option.bandSort.valueDesc"
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
value: "valueAsc",
|
|
4778
|
+
label: "chart.option.bandSort.valueAsc"
|
|
4779
|
+
},
|
|
4780
|
+
{
|
|
4781
|
+
value: "count",
|
|
4782
|
+
label: "chart.option.bandSort.count"
|
|
4783
|
+
}
|
|
4784
|
+
],
|
|
4785
|
+
description: "chart.option.bandSort.description"
|
|
4786
|
+
},
|
|
4787
|
+
{
|
|
4788
|
+
key: "xAxisFormat",
|
|
4789
|
+
label: "chart.option.xAxisFormat.label",
|
|
4790
|
+
type: "axisFormat",
|
|
4791
|
+
description: "chart.option.xAxisFormat.description"
|
|
4792
|
+
}
|
|
4793
|
+
]
|
|
4794
|
+
}, Co = /* @__PURE__ */ t({ proportionBarChartConfig: () => wo }), wo = {
|
|
4612
4795
|
dropZones: [{
|
|
4613
4796
|
key: "xAxis",
|
|
4614
4797
|
label: "chart.configText.category",
|
|
@@ -4666,7 +4849,7 @@ var uo = /* @__PURE__ */ t({ retentionHeatmapConfig: () => fo }), fo = {
|
|
|
4666
4849
|
isValid: !1,
|
|
4667
4850
|
message: "chart.proportionBar.validation.measureRequired"
|
|
4668
4851
|
} : { isValid: !0 }
|
|
4669
|
-
},
|
|
4852
|
+
}, To = {
|
|
4670
4853
|
bar: f,
|
|
4671
4854
|
line: p,
|
|
4672
4855
|
area: n,
|
|
@@ -4675,35 +4858,40 @@ var uo = /* @__PURE__ */ t({ retentionHeatmapConfig: () => fo }), fo = {
|
|
|
4675
4858
|
bubble: g,
|
|
4676
4859
|
radar: _,
|
|
4677
4860
|
radialBar: v,
|
|
4678
|
-
treemap:
|
|
4679
|
-
table:
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4861
|
+
treemap: ee,
|
|
4862
|
+
table: y,
|
|
4863
|
+
recordsTable: go,
|
|
4864
|
+
activityGrid: te,
|
|
4865
|
+
kpiNumber: ne,
|
|
4866
|
+
kpiDelta: re,
|
|
4867
|
+
kpiText: ie,
|
|
4868
|
+
markdown: ae,
|
|
4869
|
+
funnel: oe,
|
|
4870
|
+
sankey: se,
|
|
4871
|
+
sunburst: ce,
|
|
4872
|
+
heatmap: le,
|
|
4873
|
+
retentionHeatmap: vo,
|
|
4874
|
+
retentionCombined: bo,
|
|
4875
|
+
boxPlot: ue,
|
|
4876
|
+
dotStrip: So,
|
|
4877
|
+
waterfall: de,
|
|
4878
|
+
candlestick: fe,
|
|
4879
|
+
measureProfile: pe,
|
|
4880
|
+
proportionBar: wo,
|
|
4881
|
+
gauge: me
|
|
4882
|
+
}, Q = Object.fromEntries(Object.keys(D).map((e) => [e, Oe(D[e], To[e])]));
|
|
4883
|
+
function Eo(e) {
|
|
4884
|
+
return Q[e]?.recordGrain === !0;
|
|
4885
|
+
}
|
|
4886
|
+
function Do(e, t) {
|
|
4699
4887
|
Q[e] = t;
|
|
4700
4888
|
}
|
|
4701
|
-
function
|
|
4889
|
+
function Oo(e) {
|
|
4702
4890
|
delete Q[e];
|
|
4703
4891
|
}
|
|
4704
4892
|
//#endregion
|
|
4705
4893
|
//#region src/client/charts/chartPlugin.ts
|
|
4706
|
-
function
|
|
4894
|
+
function ko(e, t) {
|
|
4707
4895
|
return {
|
|
4708
4896
|
label: t.label ?? e.label,
|
|
4709
4897
|
icon: e.icon ?? "chartBar",
|
|
@@ -4724,16 +4912,16 @@ var $ = new class {
|
|
|
4724
4912
|
...e.config,
|
|
4725
4913
|
label: e.config.label || e.label
|
|
4726
4914
|
};
|
|
4727
|
-
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),
|
|
4915
|
+
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), Te(e.type, ko(e, t)), Do(e.type, t), Le(e.type, t), fo(e.type, e.component, e.lazyComponent, e.dependencies), this.bump();
|
|
4728
4916
|
}
|
|
4729
4917
|
unregister(e) {
|
|
4730
4918
|
if (!this.customCharts.has(e)) return;
|
|
4731
|
-
this.customCharts.delete(e),
|
|
4919
|
+
this.customCharts.delete(e), Ee(e);
|
|
4732
4920
|
let t = this.builtInBackups.get(e);
|
|
4733
|
-
t ? (
|
|
4921
|
+
t ? (Do(e, t), Le(e, t), this.builtInBackups.delete(e)) : (Oo(e), Re(e)), po(e), this.bump();
|
|
4734
4922
|
}
|
|
4735
4923
|
getIcon(e) {
|
|
4736
|
-
let t =
|
|
4924
|
+
let t = De(e)?.icon;
|
|
4737
4925
|
return t && typeof t != "string" ? t : void 0;
|
|
4738
4926
|
}
|
|
4739
4927
|
getCustomTypes() {
|
|
@@ -4750,19 +4938,24 @@ var $ = new class {
|
|
|
4750
4938
|
this.version++;
|
|
4751
4939
|
for (let e of this.listeners) e();
|
|
4752
4940
|
}
|
|
4753
|
-
}(),
|
|
4941
|
+
}(), Ao = { apiUrl: "/cubejs-api/v1" }, jo = 3;
|
|
4942
|
+
function Mo(e) {
|
|
4943
|
+
let t = e?.status;
|
|
4944
|
+
return typeof t == "number" && t >= 400 && t < 500;
|
|
4945
|
+
}
|
|
4946
|
+
var No = () => new Bt({ defaultOptions: { queries: {
|
|
4754
4947
|
staleTime: 3e5,
|
|
4755
4948
|
gcTime: 9e5,
|
|
4756
|
-
retry:
|
|
4949
|
+
retry: (e, t) => !Mo(t) && e < jo,
|
|
4757
4950
|
refetchOnWindowFocus: !1
|
|
4758
4951
|
} } });
|
|
4759
|
-
|
|
4760
|
-
function
|
|
4761
|
-
|
|
4762
|
-
|
|
4952
|
+
No();
|
|
4953
|
+
function Po({ 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 }) {
|
|
4954
|
+
x(() => {
|
|
4955
|
+
l(!!m);
|
|
4763
4956
|
}, [m]);
|
|
4764
|
-
let [g] =
|
|
4765
|
-
return
|
|
4957
|
+
let [g] = C(() => No()), _ = u ?? g, v = Se([]);
|
|
4958
|
+
return x(() => {
|
|
4766
4959
|
if (!d || d.length === 0) {
|
|
4767
4960
|
for (let e of v.current) $.unregister(e);
|
|
4768
4961
|
v.current = [];
|
|
@@ -4775,19 +4968,19 @@ function Co({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
|
|
|
4775
4968
|
for (let e of v.current) $.unregister(e);
|
|
4776
4969
|
v.current = [];
|
|
4777
4970
|
};
|
|
4778
|
-
}, [d]), /* @__PURE__ */
|
|
4971
|
+
}, [d]), /* @__PURE__ */ w(c, {
|
|
4779
4972
|
locale: f,
|
|
4780
4973
|
translations: p,
|
|
4781
|
-
children: /* @__PURE__ */
|
|
4974
|
+
children: /* @__PURE__ */ w(Ve, {
|
|
4782
4975
|
client: _,
|
|
4783
|
-
children: /* @__PURE__ */
|
|
4784
|
-
apiOptions: t ||
|
|
4976
|
+
children: /* @__PURE__ */ w(sn, {
|
|
4977
|
+
apiOptions: t || Ao,
|
|
4785
4978
|
token: n,
|
|
4786
4979
|
options: r,
|
|
4787
4980
|
locale: f,
|
|
4788
|
-
enableBatching:
|
|
4789
|
-
batchDelayMs:
|
|
4790
|
-
children: /* @__PURE__ */
|
|
4981
|
+
enableBatching: o,
|
|
4982
|
+
batchDelayMs: s,
|
|
4983
|
+
children: /* @__PURE__ */ w(mo, { children: /* @__PURE__ */ w(Bn, {
|
|
4791
4984
|
features: i,
|
|
4792
4985
|
dashboardModes: a,
|
|
4793
4986
|
children: h
|
|
@@ -4796,9 +4989,9 @@ function Co({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
|
|
|
4796
4989
|
})
|
|
4797
4990
|
});
|
|
4798
4991
|
}
|
|
4799
|
-
function
|
|
4800
|
-
let e =
|
|
4801
|
-
return
|
|
4992
|
+
function Fo() {
|
|
4993
|
+
let e = cn(), t = a(), n = Hn();
|
|
4994
|
+
return S(() => ({
|
|
4802
4995
|
...e,
|
|
4803
4996
|
...t,
|
|
4804
4997
|
features: n.features,
|
|
@@ -4811,14 +5004,14 @@ function wo() {
|
|
|
4811
5004
|
}
|
|
4812
5005
|
//#endregion
|
|
4813
5006
|
//#region src/client/utils/pivotUtils.ts
|
|
4814
|
-
function
|
|
5007
|
+
function Io(e) {
|
|
4815
5008
|
if (!e) return [];
|
|
4816
5009
|
let t = [];
|
|
4817
5010
|
return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
|
|
4818
5011
|
t.includes(e.dimension) || t.push(e.dimension);
|
|
4819
5012
|
}), e.measures && t.push(...e.measures), t;
|
|
4820
5013
|
}
|
|
4821
|
-
function
|
|
5014
|
+
function Lo(e, t) {
|
|
4822
5015
|
if (!e?.timeDimensions?.length) return null;
|
|
4823
5016
|
let n = e.timeDimensions.find((e) => e.granularity);
|
|
4824
5017
|
if (!n?.granularity || !e.measures?.length) return null;
|
|
@@ -4835,17 +5028,17 @@ function Eo(e, t) {
|
|
|
4835
5028
|
measures: i
|
|
4836
5029
|
};
|
|
4837
5030
|
}
|
|
4838
|
-
function
|
|
5031
|
+
function Ro(e, t, n) {
|
|
4839
5032
|
let r = /* @__PURE__ */ new Set();
|
|
4840
5033
|
return e.forEach((e) => {
|
|
4841
5034
|
let i = e[t];
|
|
4842
5035
|
if (i != null) {
|
|
4843
|
-
let e =
|
|
5036
|
+
let e = o(i, n);
|
|
4844
5037
|
r.add(e);
|
|
4845
5038
|
}
|
|
4846
5039
|
}), Array.from(r).sort();
|
|
4847
5040
|
}
|
|
4848
|
-
function
|
|
5041
|
+
function zo(e, t, n) {
|
|
4849
5042
|
let r = [];
|
|
4850
5043
|
return e.measures.length > 1 && r.push({
|
|
4851
5044
|
key: "__measure__",
|
|
@@ -4866,20 +5059,20 @@ function Oo(e, t, n) {
|
|
|
4866
5059
|
});
|
|
4867
5060
|
}), r;
|
|
4868
5061
|
}
|
|
4869
|
-
function
|
|
5062
|
+
function Bo(e, t) {
|
|
4870
5063
|
let n = /* @__PURE__ */ new Map();
|
|
4871
5064
|
return e.forEach((e) => {
|
|
4872
5065
|
let r = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
|
|
4873
5066
|
n.has(r) || n.set(r, /* @__PURE__ */ new Map());
|
|
4874
5067
|
let i = e[t.timeDimension];
|
|
4875
5068
|
if (i != null) {
|
|
4876
|
-
let
|
|
4877
|
-
n.get(r).set(
|
|
5069
|
+
let a = o(i, t.granularity);
|
|
5070
|
+
n.get(r).set(a, e);
|
|
4878
5071
|
}
|
|
4879
5072
|
}), n;
|
|
4880
5073
|
}
|
|
4881
|
-
function
|
|
4882
|
-
let i =
|
|
5074
|
+
function Vo(e, t, n, r) {
|
|
5075
|
+
let i = Bo(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
|
|
4883
5076
|
return t.measures.forEach((e) => {
|
|
4884
5077
|
a.forEach((a, l) => {
|
|
4885
5078
|
let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
|
|
@@ -4900,20 +5093,20 @@ function Ao(e, t, n, r) {
|
|
|
4900
5093
|
});
|
|
4901
5094
|
}), o;
|
|
4902
5095
|
}
|
|
4903
|
-
function
|
|
5096
|
+
function Ho(e, t, n, r) {
|
|
4904
5097
|
if (!e || e.length === 0) return {
|
|
4905
5098
|
isPivoted: !0,
|
|
4906
5099
|
columns: [],
|
|
4907
5100
|
rows: []
|
|
4908
5101
|
};
|
|
4909
|
-
let i =
|
|
5102
|
+
let i = Ro(e, t.timeDimension, t.granularity);
|
|
4910
5103
|
return {
|
|
4911
5104
|
isPivoted: !0,
|
|
4912
|
-
columns:
|
|
4913
|
-
rows:
|
|
5105
|
+
columns: zo(t, i, n),
|
|
5106
|
+
rows: Vo(e, t, i, n)
|
|
4914
5107
|
};
|
|
4915
5108
|
}
|
|
4916
|
-
function
|
|
5109
|
+
function Uo(e, t) {
|
|
4917
5110
|
if (t?.cubes) for (let n of t.cubes) {
|
|
4918
5111
|
let t = n.measures.find((t) => t.name === e);
|
|
4919
5112
|
if (t) return t.type;
|
|
@@ -4921,70 +5114,70 @@ function Mo(e, t) {
|
|
|
4921
5114
|
}
|
|
4922
5115
|
//#endregion
|
|
4923
5116
|
//#region src/client/components/charts/DataTable.tsx
|
|
4924
|
-
var
|
|
4925
|
-
let { t:
|
|
5117
|
+
var Wo = /* @__PURE__ */ t({ default: () => Go }), Go = he.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: r, height: i = 300 }) {
|
|
5118
|
+
let { t: o } = s(), { getFieldLabel: c, meta: l } = a(), u = S(() => Lo(r, t?.xAxis), [r, t?.xAxis]), d = n?.pivotTimeDimension !== !1, f = S(() => !u || !d ? null : Ho(e, u, c, l), [
|
|
4926
5119
|
e,
|
|
4927
|
-
l,
|
|
4928
5120
|
u,
|
|
4929
|
-
|
|
4930
|
-
|
|
5121
|
+
d,
|
|
5122
|
+
c,
|
|
5123
|
+
l
|
|
4931
5124
|
]);
|
|
4932
|
-
return !e || e.length === 0 ? /* @__PURE__ */
|
|
5125
|
+
return !e || e.length === 0 ? /* @__PURE__ */ w("div", {
|
|
4933
5126
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4934
5127
|
style: { height: i },
|
|
4935
|
-
children: /* @__PURE__ */
|
|
5128
|
+
children: /* @__PURE__ */ T("div", {
|
|
4936
5129
|
className: "dc:text-center text-dc-text-muted",
|
|
4937
|
-
children: [/* @__PURE__ */
|
|
5130
|
+
children: [/* @__PURE__ */ w("div", {
|
|
4938
5131
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4939
|
-
children:
|
|
4940
|
-
}), /* @__PURE__ */
|
|
5132
|
+
children: o("chart.runtime.noData")
|
|
5133
|
+
}), /* @__PURE__ */ w("div", {
|
|
4941
5134
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4942
|
-
children:
|
|
5135
|
+
children: o("chart.runtime.noDataHint.table")
|
|
4943
5136
|
})]
|
|
4944
5137
|
})
|
|
4945
|
-
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */
|
|
5138
|
+
}) : f?.isPivoted && f.columns.length > 0 ? /* @__PURE__ */ w(Ko, {
|
|
4946
5139
|
pivotedData: f,
|
|
4947
5140
|
height: i,
|
|
4948
|
-
meta:
|
|
5141
|
+
meta: l,
|
|
4949
5142
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
4950
|
-
}) : /* @__PURE__ */
|
|
5143
|
+
}) : /* @__PURE__ */ w(Yo, {
|
|
4951
5144
|
data: e,
|
|
4952
5145
|
chartConfig: t,
|
|
4953
5146
|
queryObject: r,
|
|
4954
5147
|
height: i,
|
|
4955
|
-
getFieldLabel:
|
|
5148
|
+
getFieldLabel: c,
|
|
4956
5149
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
4957
5150
|
});
|
|
4958
5151
|
});
|
|
4959
|
-
function
|
|
4960
|
-
let { t: i } =
|
|
4961
|
-
return a.length === 0 || o.length === 0 ? /* @__PURE__ */
|
|
5152
|
+
function Ko({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
5153
|
+
let { t: i } = s(), { columns: a, rows: o } = e;
|
|
5154
|
+
return a.length === 0 || o.length === 0 ? /* @__PURE__ */ w("div", {
|
|
4962
5155
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4963
5156
|
style: { height: t },
|
|
4964
|
-
children: /* @__PURE__ */
|
|
5157
|
+
children: /* @__PURE__ */ T("div", {
|
|
4965
5158
|
className: "dc:text-center text-dc-text-muted",
|
|
4966
|
-
children: [/* @__PURE__ */
|
|
5159
|
+
children: [/* @__PURE__ */ w("div", {
|
|
4967
5160
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4968
5161
|
children: i("chart.runtime.noData")
|
|
4969
|
-
}), /* @__PURE__ */
|
|
5162
|
+
}), /* @__PURE__ */ w("div", {
|
|
4970
5163
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4971
5164
|
children: i("chart.runtime.noDataHint.table")
|
|
4972
5165
|
})]
|
|
4973
5166
|
})
|
|
4974
|
-
}) : /* @__PURE__ */
|
|
5167
|
+
}) : /* @__PURE__ */ w("div", {
|
|
4975
5168
|
className: "dc:w-full dc:overflow-auto",
|
|
4976
5169
|
style: { height: t },
|
|
4977
|
-
children: /* @__PURE__ */
|
|
5170
|
+
children: /* @__PURE__ */ T("table", {
|
|
4978
5171
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4979
|
-
children: [/* @__PURE__ */
|
|
5172
|
+
children: [/* @__PURE__ */ w("thead", {
|
|
4980
5173
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4981
|
-
children: /* @__PURE__ */
|
|
5174
|
+
children: /* @__PURE__ */ w("tr", { children: a.map((e) => /* @__PURE__ */ w("th", {
|
|
4982
5175
|
className: `dc:px-3 dc:py-2 dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider dc:whitespace-nowrap ${e.isTimeColumn ? "dc:text-right" : "dc:text-left"}`,
|
|
4983
5176
|
children: e.label
|
|
4984
5177
|
}, e.key)) })
|
|
4985
|
-
}), /* @__PURE__ */
|
|
5178
|
+
}), /* @__PURE__ */ w("tbody", {
|
|
4986
5179
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4987
|
-
children: o.map((e) => /* @__PURE__ */
|
|
5180
|
+
children: o.map((e) => /* @__PURE__ */ w(qo, {
|
|
4988
5181
|
row: e,
|
|
4989
5182
|
columns: a,
|
|
4990
5183
|
meta: n,
|
|
@@ -4994,87 +5187,87 @@ function Fo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
4994
5187
|
})
|
|
4995
5188
|
});
|
|
4996
5189
|
}
|
|
4997
|
-
function
|
|
4998
|
-
let i =
|
|
4999
|
-
return /* @__PURE__ */
|
|
5190
|
+
function qo({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
5191
|
+
let i = no(Uo(e.measureField, n));
|
|
5192
|
+
return /* @__PURE__ */ w("tr", {
|
|
5000
5193
|
className: "hover:bg-dc-surface-secondary",
|
|
5001
5194
|
children: t.map((t) => {
|
|
5002
5195
|
let n = e.values[t.key];
|
|
5003
|
-
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */
|
|
5196
|
+
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */ w("td", {
|
|
5004
5197
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top",
|
|
5005
5198
|
rowSpan: e.dimensionRowSpan,
|
|
5006
|
-
children: /* @__PURE__ */
|
|
5199
|
+
children: /* @__PURE__ */ T("div", {
|
|
5007
5200
|
className: "dc:flex dc:items-center",
|
|
5008
|
-
children: [/* @__PURE__ */
|
|
5201
|
+
children: [/* @__PURE__ */ w(i, { className: "dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0" }), /* @__PURE__ */ w("span", { children: n })]
|
|
5009
5202
|
})
|
|
5010
|
-
}, t.key) : t.isTimeColumn ? /* @__PURE__ */
|
|
5203
|
+
}, t.key) : t.isTimeColumn ? /* @__PURE__ */ w("td", {
|
|
5011
5204
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
|
|
5012
|
-
children:
|
|
5013
|
-
}, t.key) : /* @__PURE__ */
|
|
5205
|
+
children: Jo(n, r)
|
|
5206
|
+
}, t.key) : /* @__PURE__ */ w("td", {
|
|
5014
5207
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
5015
|
-
children:
|
|
5208
|
+
children: Jo(n)
|
|
5016
5209
|
}, t.key);
|
|
5017
5210
|
})
|
|
5018
5211
|
});
|
|
5019
5212
|
}
|
|
5020
|
-
function
|
|
5213
|
+
function Jo(e, t) {
|
|
5021
5214
|
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);
|
|
5022
5215
|
}
|
|
5023
|
-
function
|
|
5024
|
-
let { t: o } =
|
|
5025
|
-
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) =>
|
|
5026
|
-
let e =
|
|
5216
|
+
function Yo({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
|
|
5217
|
+
let { t: o } = s(), c = Object.keys(e[0] || {}), l = S(() => {
|
|
5218
|
+
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => c.includes(e));
|
|
5219
|
+
let e = Io(n);
|
|
5027
5220
|
if (e.length > 0) {
|
|
5028
|
-
let t = e.filter((e) =>
|
|
5221
|
+
let t = e.filter((e) => c.includes(e)), n = c.filter((e) => !t.includes(e));
|
|
5029
5222
|
return [...t, ...n];
|
|
5030
5223
|
}
|
|
5031
|
-
return
|
|
5224
|
+
return c;
|
|
5032
5225
|
}, [
|
|
5033
5226
|
t?.xAxis,
|
|
5034
5227
|
n,
|
|
5035
|
-
|
|
5228
|
+
c
|
|
5036
5229
|
]);
|
|
5037
|
-
return l.length === 0 ? /* @__PURE__ */
|
|
5230
|
+
return l.length === 0 ? /* @__PURE__ */ w("div", {
|
|
5038
5231
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
5039
5232
|
style: { height: r },
|
|
5040
|
-
children: /* @__PURE__ */
|
|
5233
|
+
children: /* @__PURE__ */ T("div", {
|
|
5041
5234
|
className: "dc:text-center text-dc-text-muted",
|
|
5042
|
-
children: [/* @__PURE__ */
|
|
5235
|
+
children: [/* @__PURE__ */ w("div", {
|
|
5043
5236
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
5044
5237
|
children: "No columns available"
|
|
5045
|
-
}), /* @__PURE__ */
|
|
5238
|
+
}), /* @__PURE__ */ w("div", {
|
|
5046
5239
|
className: "dc:text-xs text-dc-text-secondary",
|
|
5047
5240
|
children: o("chart.runtime.table.invalidStructure")
|
|
5048
5241
|
})]
|
|
5049
5242
|
})
|
|
5050
|
-
}) : /* @__PURE__ */
|
|
5243
|
+
}) : /* @__PURE__ */ w("div", {
|
|
5051
5244
|
className: "dc:w-full dc:overflow-auto",
|
|
5052
5245
|
style: { height: r },
|
|
5053
|
-
children: /* @__PURE__ */
|
|
5246
|
+
children: /* @__PURE__ */ T("table", {
|
|
5054
5247
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
5055
|
-
children: [/* @__PURE__ */
|
|
5248
|
+
children: [/* @__PURE__ */ w("thead", {
|
|
5056
5249
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
5057
|
-
children: /* @__PURE__ */
|
|
5250
|
+
children: /* @__PURE__ */ w("tr", { children: l.map((e) => /* @__PURE__ */ w("th", {
|
|
5058
5251
|
className: "dc:px-3 dc:py-2 dc:text-left dc:text-xs dc:font-medium text-dc-text-muted dc:uppercase dc:tracking-wider",
|
|
5059
5252
|
children: i(e)
|
|
5060
5253
|
}, e)) })
|
|
5061
|
-
}), /* @__PURE__ */
|
|
5254
|
+
}), /* @__PURE__ */ w("tbody", {
|
|
5062
5255
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
5063
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
5256
|
+
children: e.map((e, t) => /* @__PURE__ */ w("tr", {
|
|
5064
5257
|
className: "hover:bg-dc-surface-secondary",
|
|
5065
|
-
children: l.map((t) => /* @__PURE__ */
|
|
5258
|
+
children: l.map((t) => /* @__PURE__ */ w("td", {
|
|
5066
5259
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
5067
|
-
children:
|
|
5260
|
+
children: Xo(e[t], a)
|
|
5068
5261
|
}, t))
|
|
5069
5262
|
}, t))
|
|
5070
5263
|
})]
|
|
5071
5264
|
})
|
|
5072
5265
|
});
|
|
5073
5266
|
}
|
|
5074
|
-
function
|
|
5267
|
+
function Xo(e, t) {
|
|
5075
5268
|
return e == null ? "" : typeof e == "number" ? t ? u(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
5076
5269
|
}
|
|
5077
5270
|
//#endregion
|
|
5078
|
-
export {
|
|
5271
|
+
export { It as $, Hn as A, cn as B, no as C, Ya as D, Qa as E, xn as F, Yt as G, en as H, vn as I, Kt as J, Zt as K, _n as L, Mn as M, Nn as N, Ja as O, gn as P, Ht as Q, hn as R, to as S, eo as T, rn as U, tn as V, $t as W, qt as X, Jt as Y, Gt as Z, ro as _, Lo as a, Qe as at, Za as b, Fo as c, Be as ct, Eo as d, Ae as dt, kt as et, oo as f, je as ft, Z as g, Me as gt, so as h, Pe as ht, Io as i, j as it, Ln as j, Ti as k, $ as l, Ie as lt, co as m, Ne as mt, Wo as n, F as nt, Ho as o, $e as ot, uo as p, Fe as pt, Xt as q, Uo as r, N as rt, Po as s, lt as st, Go as t, I as tt, Q as u, ke as ut, io as v, $a as w, Xa as x, X as y, dn as z };
|
|
5079
5272
|
|
|
5080
|
-
//# sourceMappingURL=chart-data-table-
|
|
5273
|
+
//# sourceMappingURL=chart-data-table-Cou9qOab.js.map
|