drizzle-cube 0.4.42 → 0.4.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/adapters/compiler-CA6iopu7.cjs +198 -0
- package/dist/adapters/{mcp-transport-tB5a7Het.js → compiler-O3T1u7jl.js} +1172 -1779
- package/dist/adapters/express/index.cjs +2 -2
- package/dist/adapters/express/index.js +27 -26
- package/dist/adapters/fastify/index.cjs +2 -2
- package/dist/adapters/fastify/index.js +26 -25
- package/dist/adapters/{google-Dgo9-Kb5.cjs → google-BOAwi9Ib.cjs} +1 -1
- package/dist/adapters/{google-CT4kgmBf.js → google-CBfBGU4F.js} +1 -1
- package/dist/adapters/{handler-dHHEEbG9.cjs → handler-BO2nq6IS.cjs} +2 -2
- package/dist/adapters/{handler-fto6TSVn.js → handler-CjVc3ytc.js} +4 -4
- package/dist/adapters/hono/index.cjs +2 -2
- package/dist/adapters/hono/index.js +30 -29
- package/dist/adapters/mcp-tools.cjs +1 -0
- package/dist/adapters/mcp-tools.d.ts +128 -0
- package/dist/adapters/mcp-tools.js +69 -0
- package/dist/adapters/mcp-transport--zhJJHJc.js +370 -0
- package/dist/adapters/mcp-transport-MOoCDu2M.cjs +58 -0
- package/dist/adapters/mcp-transport.d.ts +44 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +23 -22
- package/dist/{server/openai-DKpZPCay.cjs → adapters/openai-4JP2B6pB.cjs} +1 -1
- package/dist/adapters/{openai-Ckpe7iU7.js → openai-BAnEZgKZ.js} +1 -1
- package/dist/adapters/{openai-Bc8qwEKW.cjs → openai-C4BD8xnN.cjs} +1 -1
- package/dist/adapters/{openai-DxeVtl8X.js → openai-CaSQEduB.js} +1 -1
- package/dist/adapters/{utils-_2o905Fi.js → utils-C7Nrw9Wb.js} +7 -3
- package/dist/adapters/{utils-2MwxiQ2o.cjs → utils-tNZ6Cvzw.cjs} +1 -1
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.js +1 -1
- package/dist/client/charts.js +12 -12
- package/dist/client/chunks/{DashboardEditModal-4zzjtZRR.js → DashboardEditModal-BTdV528l.js} +1421 -1396
- package/dist/client/chunks/DashboardEditModal-BTdV528l.js.map +1 -0
- package/dist/client/chunks/{FieldSearchModal-trURu9Sa.js → FieldSearchModal-D75vy4Wb.js} +4 -4
- package/dist/client/chunks/{FieldSearchModal-trURu9Sa.js.map → FieldSearchModal-D75vy4Wb.js.map} +1 -1
- package/dist/client/chunks/KpiDelta-Bk8bzKYM.js +2 -0
- package/dist/client/chunks/KpiNumber-CKF-8e_T.js +2 -0
- package/dist/client/chunks/KpiText-Iz1vIvu_.js +2 -0
- package/dist/client/chunks/{RetentionCombinedChart-B1hUYaXt.js → RetentionCombinedChart-DIhK5pD8.js} +3 -3
- package/dist/client/chunks/{RetentionCombinedChart-B1hUYaXt.js.map → RetentionCombinedChart-DIhK5pD8.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-Dn2ocjVf.js → RetentionHeatmap-CyREolyP.js} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-Dn2ocjVf.js.map → RetentionHeatmap-CyREolyP.js.map} +1 -1
- package/dist/client/chunks/SchemaVisualization-B1GUT-FM.js +2 -0
- package/dist/client/chunks/SchemaVisualizationLazy-DymwT34e.js +2 -0
- package/dist/client/chunks/{analysis-builder-B7XSIMkr.js → analysis-builder-C1CJ0c7L.js} +52 -52
- package/dist/client/chunks/{analysis-builder-B7XSIMkr.js.map → analysis-builder-C1CJ0c7L.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-shared-DaqtrLxd.js → analysis-builder-shared-rkjJfWLT.js} +9 -9
- package/dist/client/chunks/{analysis-builder-shared-DaqtrLxd.js.map → analysis-builder-shared-rkjJfWLT.js.map} +1 -1
- package/dist/client/chunks/{chart-activity-grid-wR2Twpo7.js → chart-activity-grid-DLktOINm.js} +2 -2
- package/dist/client/chunks/{chart-activity-grid-wR2Twpo7.js.map → chart-activity-grid-DLktOINm.js.map} +1 -1
- package/dist/client/chunks/{chart-area-e9ysnatQ.js → chart-area-BwYaflNk.js} +3 -3
- package/dist/client/chunks/{chart-area-e9ysnatQ.js.map → chart-area-BwYaflNk.js.map} +1 -1
- package/dist/client/chunks/{chart-bar-CPt67rLR.js → chart-bar-BiENfFgE.js} +4 -4
- package/dist/client/chunks/{chart-bar-CPt67rLR.js.map → chart-bar-BiENfFgE.js.map} +1 -1
- package/dist/client/chunks/{chart-box-plot-Dp_nqQen.js → chart-box-plot-BJF1tBXC.js} +3 -3
- package/dist/client/chunks/{chart-box-plot-Dp_nqQen.js.map → chart-box-plot-BJF1tBXC.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-CYQ8loeS.js → chart-bubble-DQQhGVDJ.js} +3 -3
- package/dist/client/chunks/{chart-bubble-CYQ8loeS.js.map → chart-bubble-DQQhGVDJ.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-DTeSf7C5.js → chart-candlestick-C2UuXbLe.js} +3 -3
- package/dist/client/chunks/{chart-candlestick-DTeSf7C5.js.map → chart-candlestick-C2UuXbLe.js.map} +1 -1
- package/dist/client/chunks/{chart-config-activity-grid-BSWS08cI.js → chart-config-activity-grid-DJOU3TEz.js} +2 -2
- package/dist/client/chunks/{chart-config-activity-grid-BSWS08cI.js.map → chart-config-activity-grid-DJOU3TEz.js.map} +1 -1
- package/dist/client/chunks/{chart-config-area-DKwgcHp4.js → chart-config-area-CWnWVT6a.js} +2 -2
- package/dist/client/chunks/{chart-config-area-DKwgcHp4.js.map → chart-config-area-CWnWVT6a.js.map} +1 -1
- package/dist/client/chunks/{chart-config-bar-deTjEhap.js → chart-config-bar-C-7Dr1Ho.js} +2 -2
- package/dist/client/chunks/{chart-config-bar-deTjEhap.js.map → chart-config-bar-C-7Dr1Ho.js.map} +1 -1
- package/dist/client/chunks/{chart-config-box-plot-DU4iWk3V.js → chart-config-box-plot-mVOwmLdu.js} +2 -2
- package/dist/client/chunks/{chart-config-box-plot-DU4iWk3V.js.map → chart-config-box-plot-mVOwmLdu.js.map} +1 -1
- package/dist/client/chunks/{chart-config-bubble-B8FSHSW-.js → chart-config-bubble-BPE2CeiD.js} +2 -2
- package/dist/client/chunks/{chart-config-bubble-B8FSHSW-.js.map → chart-config-bubble-BPE2CeiD.js.map} +1 -1
- package/dist/client/chunks/{chart-config-candlestick-BGfyWFft.js → chart-config-candlestick-BSB9DRy2.js} +2 -2
- package/dist/client/chunks/{chart-config-candlestick-BGfyWFft.js.map → chart-config-candlestick-BSB9DRy2.js.map} +1 -1
- package/dist/client/chunks/{chart-config-data-table-DKRcGa8t.js → chart-config-data-table-Bhdx5Hem.js} +2 -2
- package/dist/client/chunks/{chart-config-data-table-DKRcGa8t.js.map → chart-config-data-table-Bhdx5Hem.js.map} +1 -1
- package/dist/client/chunks/{chart-config-funnel-Bt4iGFo_.js → chart-config-funnel-Cl-v-bm1.js} +2 -2
- package/dist/client/chunks/{chart-config-funnel-Bt4iGFo_.js.map → chart-config-funnel-Cl-v-bm1.js.map} +1 -1
- package/dist/client/chunks/{chart-config-gauge-Bk4Jjp3W.js → chart-config-gauge-CdrUTJMJ.js} +2 -2
- package/dist/client/chunks/{chart-config-gauge-Bk4Jjp3W.js.map → chart-config-gauge-CdrUTJMJ.js.map} +1 -1
- package/dist/client/chunks/{chart-config-heat-map-CkHsqkrY.js → chart-config-heat-map-DGE3NzoF.js} +2 -2
- package/dist/client/chunks/{chart-config-heat-map-CkHsqkrY.js.map → chart-config-heat-map-DGE3NzoF.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-delta-CkUX98JV.js → chart-config-kpi-delta-DMrQerUW.js} +2 -2
- package/dist/client/chunks/{chart-config-kpi-delta-CkUX98JV.js.map → chart-config-kpi-delta-DMrQerUW.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-number-DcxyiUgs.js → chart-config-kpi-number-DCytCytn.js} +2 -2
- package/dist/client/chunks/{chart-config-kpi-number-DcxyiUgs.js.map → chart-config-kpi-number-DCytCytn.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-text-DI4mj8CN.js → chart-config-kpi-text-KdKQUvHo.js} +2 -2
- package/dist/client/chunks/{chart-config-kpi-text-DI4mj8CN.js.map → chart-config-kpi-text-KdKQUvHo.js.map} +1 -1
- package/dist/client/chunks/{chart-config-line--j7-dLue.js → chart-config-line-Bl9VDAdz.js} +2 -2
- package/dist/client/chunks/{chart-config-line--j7-dLue.js.map → chart-config-line-Bl9VDAdz.js.map} +1 -1
- package/dist/client/chunks/{chart-config-markdown-DUjvVjV4.js → chart-config-markdown-BX26b94i.js} +2 -2
- package/dist/client/chunks/{chart-config-markdown-DUjvVjV4.js.map → chart-config-markdown-BX26b94i.js.map} +1 -1
- package/dist/client/chunks/{chart-config-measure-profile-B9FKBNGc.js → chart-config-measure-profile-DwtRhEFh.js} +2 -2
- package/dist/client/chunks/{chart-config-measure-profile-B9FKBNGc.js.map → chart-config-measure-profile-DwtRhEFh.js.map} +1 -1
- package/dist/client/chunks/{chart-config-pie-yU4jipl9.js → chart-config-pie-BzBcqPMJ.js} +2 -2
- package/dist/client/chunks/{chart-config-pie-yU4jipl9.js.map → chart-config-pie-BzBcqPMJ.js.map} +1 -1
- package/dist/client/chunks/{chart-config-radar-R9Fkc8wL.js → chart-config-radar-6ZOgt__z.js} +2 -2
- package/dist/client/chunks/{chart-config-radar-R9Fkc8wL.js.map → chart-config-radar-6ZOgt__z.js.map} +1 -1
- package/dist/client/chunks/{chart-config-radial-bar-DeoXfpIp.js → chart-config-radial-bar-Df6Eta7N.js} +2 -2
- package/dist/client/chunks/{chart-config-radial-bar-DeoXfpIp.js.map → chart-config-radial-bar-Df6Eta7N.js.map} +1 -1
- package/dist/client/chunks/{chart-config-sankey-CXEsxo6s.js → chart-config-sankey-DgqKBFvN.js} +2 -2
- package/dist/client/chunks/{chart-config-sankey-CXEsxo6s.js.map → chart-config-sankey-DgqKBFvN.js.map} +1 -1
- package/dist/client/chunks/{chart-config-scatter-MVUFupub.js → chart-config-scatter-D5nVLDvi.js} +2 -2
- package/dist/client/chunks/{chart-config-scatter-MVUFupub.js.map → chart-config-scatter-D5nVLDvi.js.map} +1 -1
- package/dist/client/chunks/{chart-config-sunburst-Z_gqIY5u.js → chart-config-sunburst-Ca3FX9nW.js} +2 -2
- package/dist/client/chunks/{chart-config-sunburst-Z_gqIY5u.js.map → chart-config-sunburst-Ca3FX9nW.js.map} +1 -1
- package/dist/client/chunks/{chart-config-tree-map-BD-xAeIy.js → chart-config-tree-map-Bjy4QNa3.js} +2 -2
- package/dist/client/chunks/{chart-config-tree-map-BD-xAeIy.js.map → chart-config-tree-map-Bjy4QNa3.js.map} +1 -1
- package/dist/client/chunks/{chart-config-waterfall-CHwVkXZc.js → chart-config-waterfall-C5K2eqR7.js} +2 -2
- package/dist/client/chunks/{chart-config-waterfall-CHwVkXZc.js.map → chart-config-waterfall-C5K2eqR7.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-BZ7StNWv.js → chart-data-table-2iCsn0CF.js} +1099 -933
- package/dist/client/chunks/chart-data-table-2iCsn0CF.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-C9JRW79j.js → chart-funnel-poyOf7-e.js} +3 -3
- package/dist/client/chunks/{chart-funnel-C9JRW79j.js.map → chart-funnel-poyOf7-e.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-_Xdgk_qI.js → chart-gauge-D5J4gRky.js} +3 -3
- package/dist/client/chunks/{chart-gauge-_Xdgk_qI.js.map → chart-gauge-D5J4gRky.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map-BOMQeUDL.js → chart-heat-map-BAMVhLGG.js} +3 -3
- package/dist/client/chunks/{chart-heat-map-BOMQeUDL.js.map → chart-heat-map-BAMVhLGG.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-C2tdpWki.js → chart-kpi-delta-KQjUIeal.js} +71 -73
- package/dist/client/chunks/{chart-kpi-delta-C2tdpWki.js.map → chart-kpi-delta-KQjUIeal.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-BUNKM7yg.js → chart-kpi-number-CsQgV_x3.js} +62 -63
- package/dist/client/chunks/{chart-kpi-number-BUNKM7yg.js.map → chart-kpi-number-CsQgV_x3.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-COF8iN0K.js → chart-kpi-text-BR0IyeUU.js} +26 -27
- package/dist/client/chunks/{chart-kpi-text-COF8iN0K.js.map → chart-kpi-text-BR0IyeUU.js.map} +1 -1
- package/dist/client/chunks/{chart-line-D3SEwXDS.js → chart-line-B5_WntY5.js} +4 -4
- package/dist/client/chunks/{chart-line-D3SEwXDS.js.map → chart-line-B5_WntY5.js.map} +1 -1
- package/dist/client/chunks/{chart-markdown-DMekYkKz.js → chart-markdown-B6bENbel.js} +2 -2
- package/dist/client/chunks/{chart-markdown-DMekYkKz.js.map → chart-markdown-B6bENbel.js.map} +1 -1
- package/dist/client/chunks/{chart-measure-profile-BPhI1Z9s.js → chart-measure-profile-yWk-obNb.js} +4 -4
- package/dist/client/chunks/{chart-measure-profile-BPhI1Z9s.js.map → chart-measure-profile-yWk-obNb.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-COl3Rmdk.js → chart-pie-BodrUoHv.js} +4 -4
- package/dist/client/chunks/{chart-pie-COl3Rmdk.js.map → chart-pie-BodrUoHv.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-BKZXylBB.js → chart-radar-gG3zfLud.js} +4 -4
- package/dist/client/chunks/{chart-radar-BKZXylBB.js.map → chart-radar-gG3zfLud.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-CMfC7SPd.js → chart-radial-bar-C2IPCV8c.js} +4 -4
- package/dist/client/chunks/{chart-radial-bar-CMfC7SPd.js.map → chart-radial-bar-C2IPCV8c.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-8nRYnupt.js → chart-sankey-BOyxfG1Q.js} +3 -3
- package/dist/client/chunks/{chart-sankey-8nRYnupt.js.map → chart-sankey-BOyxfG1Q.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-xQMa3dUt.js → chart-scatter-B8OwlsAX.js} +4 -4
- package/dist/client/chunks/{chart-scatter-xQMa3dUt.js.map → chart-scatter-B8OwlsAX.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-BGhJ4fui.js → chart-sunburst-D9lGEOCc.js} +4 -4
- package/dist/client/chunks/{chart-sunburst-BGhJ4fui.js.map → chart-sunburst-D9lGEOCc.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-Cn1pmrAw.js → chart-tree-map-DZaKy9he.js} +4 -4
- package/dist/client/chunks/{chart-tree-map-Cn1pmrAw.js.map → chart-tree-map-DZaKy9he.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-C2nVN4pn.js → chart-waterfall-BCdUx4DC.js} +4 -4
- package/dist/client/chunks/{chart-waterfall-C2nVN4pn.js.map → chart-waterfall-BCdUx4DC.js.map} +1 -1
- package/dist/client/chunks/{charts-core-Cy3rHADX.js → charts-core-C5Yokk-x.js} +2 -2
- package/dist/client/chunks/{charts-core-Cy3rHADX.js.map → charts-core-C5Yokk-x.js.map} +1 -1
- package/dist/client/chunks/{core-BdWfCZ3y.js → core-DcfMGTVa.js} +2 -2
- package/dist/client/chunks/{core-BdWfCZ3y.js.map → core-DcfMGTVa.js.map} +1 -1
- package/dist/client/chunks/{dist-BWPE2m_X.js → dist-eZurnOde.js} +1 -1
- package/dist/client/chunks/{dist-BWPE2m_X.js.map → dist-eZurnOde.js.map} +1 -1
- package/dist/client/chunks/exceljs.min-CcjgM-qg.js +31986 -0
- package/dist/client/chunks/exceljs.min-CcjgM-qg.js.map +1 -0
- package/dist/client/chunks/{javascript-O1RIRkZr.js → javascript-DFvvCuoP.js} +1 -1
- package/dist/client/chunks/{javascript-O1RIRkZr.js.map → javascript-DFvvCuoP.js.map} +1 -1
- package/dist/client/chunks/{json-C5bX2tt1.js → json-BBm9TlrA.js} +1 -1
- package/dist/client/chunks/{json-C5bX2tt1.js.map → json-BBm9TlrA.js.map} +1 -1
- package/dist/client/chunks/{rolldown-runtime-lc2dmIiU.js → rolldown-runtime-CCl2IeXn.js} +5 -2
- package/dist/client/chunks/{schema-visualization-DVdfx6N8.js → schema-visualization-t1KiOORo.js} +261 -265
- package/dist/client/chunks/{schema-visualization-DVdfx6N8.js.map → schema-visualization-t1KiOORo.js.map} +1 -1
- package/dist/client/chunks/{sql-D2qikO5q.js → sql-k0GA6oZ_.js} +1 -1
- package/dist/client/chunks/{sql-D2qikO5q.js.map → sql-k0GA6oZ_.js.map} +1 -1
- package/dist/client/chunks/{syntaxHighlighting-BYYWYmjr.js → syntaxHighlighting-CnDujqwg.js} +2 -2
- package/dist/client/chunks/{syntaxHighlighting-BYYWYmjr.js.map → syntaxHighlighting-CnDujqwg.js.map} +1 -1
- package/dist/client/chunks/{useDebounce-Bel8J05v.js → useDebounce-CKqkM42n.js} +11 -14
- package/dist/client/chunks/{useDebounce-Bel8J05v.js.map → useDebounce-CKqkM42n.js.map} +1 -1
- package/dist/client/chunks/{useExplainAI-CxdzY2N0.js → useExplainAI-DBIfYwz-.js} +12 -12
- package/dist/client/chunks/{useExplainAI-CxdzY2N0.js.map → useExplainAI-DBIfYwz-.js.map} +1 -1
- package/dist/client/chunks/{utils-CMkS7h9x.js → utils--qCr8Yn5.js} +2 -2
- package/dist/client/chunks/utils--qCr8Yn5.js.map +1 -0
- package/dist/client/chunks/{vendor-BoWEubRu.js → vendor-BRlsCGnK.js} +46 -46
- package/dist/client/chunks/{vendor-BoWEubRu.js.map → vendor-BRlsCGnK.js.map} +1 -1
- package/dist/client/components.js +3 -3
- package/dist/client/hooks.js +3 -3
- package/dist/client/icons/types.d.ts +1 -0
- package/dist/client/icons.js +1 -1
- package/dist/client/index.d.ts +2 -1
- package/dist/client/index.js +168 -168
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers.js +1 -1
- package/dist/client/schema.js +1 -1
- package/dist/client/types.d.ts +6 -0
- package/dist/client/utils/exportXlsx.d.ts +20 -0
- package/dist/client/utils/index.d.ts +1 -0
- package/dist/client/utils.js +7 -7
- package/dist/client-bundle-stats.html +1 -1
- package/dist/server/index.cjs +2 -2
- package/dist/server/index.js +8 -4
- package/dist/server/{openai-DqCEogm0.js → openai-CqZg6zYL.js} +1 -1
- package/dist/server/{openai-0HbLlZq6.cjs → openai-D9Zjuby1.cjs} +1 -1
- package/dist/{adapters/openai-C96O8M75.cjs → server/openai-DmuEbFd6.cjs} +1 -1
- package/dist/server/{openai-DnGeU9PT.js → openai-rwauPzCT.js} +1 -1
- package/package.json +11 -1
- package/dist/adapters/mcp-transport-ro4OL4BW.cjs +0 -255
- package/dist/client/chunks/DashboardEditModal-4zzjtZRR.js.map +0 -1
- package/dist/client/chunks/chart-data-table-BZ7StNWv.js.map +0 -1
- package/dist/client/chunks/utils-CMkS7h9x.js.map +0 -1
- /package/dist/adapters/{anthropic-BIva8k1r.cjs → anthropic-Cto4Jxqt.cjs} +0 -0
- /package/dist/adapters/{anthropic-B_rg0BhK.js → anthropic-DpEbCVvF.js} +0 -0
- /package/dist/adapters/{dist-Boc63-1q.cjs → dist-BnyV9wfA.cjs} +0 -0
- /package/dist/adapters/{dist-De5fzUEM.js → dist-DjVh2RFz.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as
|
|
3
|
-
import { n as
|
|
4
|
-
import { n as
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as
|
|
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
|
|
1
|
+
import { i as e, n as t } from "./rolldown-runtime-CCl2IeXn.js";
|
|
2
|
+
import { A as n, k as r, x as i, y as a } from "./chart-activity-grid-DLktOINm.js";
|
|
3
|
+
import { n as o } from "./chart-config-bar-C-7Dr1Ho.js";
|
|
4
|
+
import { n as s } from "./chart-config-line-Bl9VDAdz.js";
|
|
5
|
+
import { n as c } from "./chart-config-area-CWnWVT6a.js";
|
|
6
|
+
import { n as l } from "./chart-config-pie-BzBcqPMJ.js";
|
|
7
|
+
import { n as u } from "./chart-config-scatter-D5nVLDvi.js";
|
|
8
|
+
import { n as d } from "./chart-config-bubble-BPE2CeiD.js";
|
|
9
|
+
import { n as f } from "./chart-config-radar-6ZOgt__z.js";
|
|
10
|
+
import { n as p } from "./chart-config-radial-bar-Df6Eta7N.js";
|
|
11
|
+
import { n as m } from "./chart-config-tree-map-Bjy4QNa3.js";
|
|
12
|
+
import { n as h } from "./chart-config-data-table-Bhdx5Hem.js";
|
|
13
|
+
import { n as g } from "./chart-config-activity-grid-DJOU3TEz.js";
|
|
14
|
+
import { n as _ } from "./chart-config-kpi-number-DCytCytn.js";
|
|
15
|
+
import { n as v } from "./chart-config-kpi-delta-DMrQerUW.js";
|
|
16
|
+
import { n as ee } from "./chart-config-kpi-text-KdKQUvHo.js";
|
|
17
|
+
import { n as y } from "./chart-config-markdown-BX26b94i.js";
|
|
18
|
+
import { n as b } from "./chart-config-funnel-Cl-v-bm1.js";
|
|
19
|
+
import { n as te } from "./chart-config-sankey-DgqKBFvN.js";
|
|
20
|
+
import { n as ne } from "./chart-config-sunburst-Ca3FX9nW.js";
|
|
21
|
+
import { n as re } from "./chart-config-heat-map-DGE3NzoF.js";
|
|
22
|
+
import { n as ie } from "./chart-config-box-plot-mVOwmLdu.js";
|
|
23
|
+
import { n as ae } from "./chart-config-waterfall-C5K2eqR7.js";
|
|
24
|
+
import { n as oe } from "./chart-config-candlestick-BSB9DRy2.js";
|
|
25
|
+
import { n as se } from "./chart-config-measure-profile-DwtRhEFh.js";
|
|
26
|
+
import { n as ce } from "./chart-config-gauge-CdrUTJMJ.js";
|
|
27
27
|
import * as x from "react";
|
|
28
|
-
import
|
|
29
|
-
import { jsx as
|
|
28
|
+
import le, { Suspense as ue, createContext as de, createElement as fe, forwardRef as pe, lazy as me, useCallback as S, useContext as he, useEffect as C, useMemo as w, useRef as ge, useState as T } from "react";
|
|
29
|
+
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
30
30
|
//#region node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
31
|
-
var
|
|
31
|
+
var O = class {
|
|
32
32
|
constructor() {
|
|
33
33
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
34
34
|
}
|
|
@@ -42,7 +42,7 @@ var D = class {
|
|
|
42
42
|
}
|
|
43
43
|
onSubscribe() {}
|
|
44
44
|
onUnsubscribe() {}
|
|
45
|
-
}, _e = new class extends
|
|
45
|
+
}, _e = new class extends O {
|
|
46
46
|
#e;
|
|
47
47
|
#t;
|
|
48
48
|
#n;
|
|
@@ -84,7 +84,7 @@ var D = class {
|
|
|
84
84
|
clearTimeout: (e) => clearTimeout(e),
|
|
85
85
|
setInterval: (e, t) => setInterval(e, t),
|
|
86
86
|
clearInterval: (e) => clearInterval(e)
|
|
87
|
-
},
|
|
87
|
+
}, k = new class {
|
|
88
88
|
#e = ve;
|
|
89
89
|
#t = !1;
|
|
90
90
|
setTimeoutProvider(e) {
|
|
@@ -112,7 +112,7 @@ function ye(e) {
|
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
114
114
|
var be = typeof window > "u" || "Deno" in globalThis;
|
|
115
|
-
function
|
|
115
|
+
function A() {}
|
|
116
116
|
function xe(e, t) {
|
|
117
117
|
return typeof e == "function" ? e(t) : e;
|
|
118
118
|
}
|
|
@@ -122,10 +122,10 @@ function Se(e) {
|
|
|
122
122
|
function Ce(e, t) {
|
|
123
123
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function j(e, t) {
|
|
126
126
|
return typeof e == "function" ? e(t) : e;
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function M(e, t) {
|
|
129
129
|
return typeof e == "function" ? e(t) : e;
|
|
130
130
|
}
|
|
131
131
|
function we(e, t) {
|
|
@@ -133,7 +133,7 @@ function we(e, t) {
|
|
|
133
133
|
if (o) {
|
|
134
134
|
if (r) {
|
|
135
135
|
if (t.queryHash !== Ee(o, t.options)) return !1;
|
|
136
|
-
} else if (!
|
|
136
|
+
} else if (!P(t.queryKey, o)) return !1;
|
|
137
137
|
}
|
|
138
138
|
if (n !== "all") {
|
|
139
139
|
let e = t.isActive();
|
|
@@ -146,26 +146,26 @@ function Te(e, t) {
|
|
|
146
146
|
if (a) {
|
|
147
147
|
if (!t.options.mutationKey) return !1;
|
|
148
148
|
if (n) {
|
|
149
|
-
if (
|
|
150
|
-
} else if (!
|
|
149
|
+
if (N(t.options.mutationKey) !== N(a)) return !1;
|
|
150
|
+
} else if (!P(t.options.mutationKey, a)) return !1;
|
|
151
151
|
}
|
|
152
152
|
return !(r && t.state.status !== r || i && !i(t));
|
|
153
153
|
}
|
|
154
154
|
function Ee(e, t) {
|
|
155
|
-
return (t?.queryKeyHashFn ||
|
|
155
|
+
return (t?.queryKeyHashFn || N)(e);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
158
|
-
return JSON.stringify(e, (e, t) =>
|
|
157
|
+
function N(e) {
|
|
158
|
+
return JSON.stringify(e, (e, t) => Ae(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) =>
|
|
160
|
+
function P(e, t) {
|
|
161
|
+
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => P(e[n], t[n])) : !1;
|
|
162
162
|
}
|
|
163
163
|
var De = Object.prototype.hasOwnProperty;
|
|
164
164
|
function Oe(e, t, n = 0) {
|
|
165
165
|
if (e === t) return e;
|
|
166
166
|
if (n > 500) return t;
|
|
167
|
-
let r =
|
|
168
|
-
if (!r && !(
|
|
167
|
+
let r = ke(e) && ke(t);
|
|
168
|
+
if (!r && !(Ae(e) && Ae(t))) return t;
|
|
169
169
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
170
170
|
for (let l = 0; l < o; l++) {
|
|
171
171
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
@@ -182,30 +182,30 @@ function Oe(e, t, n = 0) {
|
|
|
182
182
|
}
|
|
183
183
|
return i === o && c === i ? e : s;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function F(e, t) {
|
|
186
186
|
if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
187
187
|
for (let n in e) if (e[n] !== t[n]) return !1;
|
|
188
188
|
return !0;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function ke(e) {
|
|
191
191
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
if (!
|
|
193
|
+
function Ae(e) {
|
|
194
|
+
if (!je(e)) return !1;
|
|
195
195
|
let t = e.constructor;
|
|
196
196
|
if (t === void 0) return !0;
|
|
197
197
|
let n = t.prototype;
|
|
198
|
-
return !(!
|
|
198
|
+
return !(!je(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function je(e) {
|
|
201
201
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Me(e) {
|
|
204
204
|
return new Promise((t) => {
|
|
205
|
-
|
|
205
|
+
k.setTimeout(t, e);
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Ne(e, t, n) {
|
|
209
209
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
210
210
|
if (n.structuralSharing !== !1) {
|
|
211
211
|
if (process.env.NODE_ENV !== "production") try {
|
|
@@ -217,22 +217,22 @@ function Pe(e, t, n) {
|
|
|
217
217
|
}
|
|
218
218
|
return t;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Pe(e, t, n = 0) {
|
|
221
221
|
let r = [...e, t];
|
|
222
222
|
return n && r.length > n ? r.slice(1) : r;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Fe(e, t, n = 0) {
|
|
225
225
|
let r = [t, ...e];
|
|
226
226
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
227
227
|
}
|
|
228
|
-
var
|
|
229
|
-
function
|
|
230
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
228
|
+
var I = /* @__PURE__ */ Symbol();
|
|
229
|
+
function Ie(e, t) {
|
|
230
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === I && 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 === I ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function Le(e, t) {
|
|
233
233
|
return typeof e == "function" ? e(...t) : !!e;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Re(e, t, n) {
|
|
236
236
|
let r = !1, i;
|
|
237
237
|
return Object.defineProperty(e, "signal", {
|
|
238
238
|
enumerable: !0,
|
|
@@ -241,7 +241,7 @@ function Be(e, t, n) {
|
|
|
241
241
|
}
|
|
242
242
|
//#endregion
|
|
243
243
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
244
|
-
var
|
|
244
|
+
var L = /* @__PURE__ */ (() => {
|
|
245
245
|
let e = () => be;
|
|
246
246
|
return {
|
|
247
247
|
isServer() {
|
|
@@ -254,7 +254,7 @@ var P = /* @__PURE__ */ (() => {
|
|
|
254
254
|
})();
|
|
255
255
|
//#endregion
|
|
256
256
|
//#region node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
257
|
-
function
|
|
257
|
+
function ze() {
|
|
258
258
|
let e, t, n = new Promise((n, r) => {
|
|
259
259
|
e = n, t = r;
|
|
260
260
|
});
|
|
@@ -276,13 +276,13 @@ function Ve() {
|
|
|
276
276
|
}
|
|
277
277
|
//#endregion
|
|
278
278
|
//#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
279
|
-
var
|
|
280
|
-
function
|
|
279
|
+
var Be = ye;
|
|
280
|
+
function Ve() {
|
|
281
281
|
let e = [], t = 0, n = (e) => {
|
|
282
282
|
e();
|
|
283
283
|
}, r = (e) => {
|
|
284
284
|
e();
|
|
285
|
-
}, i =
|
|
285
|
+
}, i = Be, a = (r) => {
|
|
286
286
|
t ? e.push(r) : i(() => {
|
|
287
287
|
n(r);
|
|
288
288
|
});
|
|
@@ -324,7 +324,7 @@ function Ue() {
|
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
-
var
|
|
327
|
+
var R = Ve(), z = new class extends O {
|
|
328
328
|
#e = !0;
|
|
329
329
|
#t;
|
|
330
330
|
#n;
|
|
@@ -358,28 +358,28 @@ var F = Ue(), I = new class extends D {
|
|
|
358
358
|
}();
|
|
359
359
|
//#endregion
|
|
360
360
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
361
|
-
function
|
|
361
|
+
function He(e) {
|
|
362
362
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
363
363
|
}
|
|
364
|
-
function
|
|
365
|
-
return (e ?? "online") === "online" ?
|
|
364
|
+
function Ue(e) {
|
|
365
|
+
return (e ?? "online") === "online" ? z.isOnline() : !0;
|
|
366
366
|
}
|
|
367
|
-
var
|
|
367
|
+
var We = class extends Error {
|
|
368
368
|
constructor(e) {
|
|
369
369
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
|
-
function
|
|
373
|
-
let t = !1, n = 0, r, i =
|
|
372
|
+
function Ge(e) {
|
|
373
|
+
let t = !1, n = 0, r, i = ze(), a = () => i.status !== "pending", o = (t) => {
|
|
374
374
|
if (!a()) {
|
|
375
|
-
let n = new
|
|
375
|
+
let n = new We(t);
|
|
376
376
|
f(n), e.onCancel?.(n);
|
|
377
377
|
}
|
|
378
378
|
}, s = () => {
|
|
379
379
|
t = !0;
|
|
380
380
|
}, c = () => {
|
|
381
381
|
t = !1;
|
|
382
|
-
}, l = () => _e.isFocused() && (e.networkMode === "always" ||
|
|
382
|
+
}, l = () => _e.isFocused() && (e.networkMode === "always" || z.isOnline()) && e.canRun(), u = () => Ue(e.networkMode) && e.canRun(), d = (e) => {
|
|
383
383
|
a() || (r?.(), i.resolve(e));
|
|
384
384
|
}, f = (e) => {
|
|
385
385
|
a() || (r?.(), i.reject(e));
|
|
@@ -399,12 +399,12 @@ function qe(e) {
|
|
|
399
399
|
}
|
|
400
400
|
Promise.resolve(r).then(d).catch((r) => {
|
|
401
401
|
if (a()) return;
|
|
402
|
-
let i = e.retry ?? (
|
|
402
|
+
let i = e.retry ?? (L.isServer() ? 0 : 3), o = e.retryDelay ?? He, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
403
403
|
if (t || !c) {
|
|
404
404
|
f(r);
|
|
405
405
|
return;
|
|
406
406
|
}
|
|
407
|
-
n++, e.onFail?.(n, r),
|
|
407
|
+
n++, e.onFail?.(n, r), Me(s).then(() => l() ? void 0 : p()).then(() => {
|
|
408
408
|
t ? f(r) : m();
|
|
409
409
|
});
|
|
410
410
|
});
|
|
@@ -422,23 +422,23 @@ function qe(e) {
|
|
|
422
422
|
}
|
|
423
423
|
//#endregion
|
|
424
424
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
425
|
-
var
|
|
425
|
+
var Ke = class {
|
|
426
426
|
#e;
|
|
427
427
|
destroy() {
|
|
428
428
|
this.clearGcTimeout();
|
|
429
429
|
}
|
|
430
430
|
scheduleGc() {
|
|
431
|
-
this.clearGcTimeout(), Se(this.gcTime) && (this.#e =
|
|
431
|
+
this.clearGcTimeout(), Se(this.gcTime) && (this.#e = k.setTimeout(() => {
|
|
432
432
|
this.optionalRemove();
|
|
433
433
|
}, this.gcTime));
|
|
434
434
|
}
|
|
435
435
|
updateGcTime(e) {
|
|
436
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
436
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (L.isServer() ? Infinity : 300 * 1e3));
|
|
437
437
|
}
|
|
438
438
|
clearGcTimeout() {
|
|
439
|
-
this.#e &&= (
|
|
439
|
+
this.#e &&= (k.clearTimeout(this.#e), void 0);
|
|
440
440
|
}
|
|
441
|
-
},
|
|
441
|
+
}, qe = class extends Ke {
|
|
442
442
|
#e;
|
|
443
443
|
#t;
|
|
444
444
|
#n;
|
|
@@ -447,7 +447,7 @@ var Je = class {
|
|
|
447
447
|
#a;
|
|
448
448
|
#o;
|
|
449
449
|
constructor(e) {
|
|
450
|
-
super(), this.#o = !1, this.#a = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#r = e.client, this.#n = this.#r.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e =
|
|
450
|
+
super(), this.#o = !1, this.#a = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#r = e.client, this.#n = this.#r.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#e = Xe(this.options), this.state = e.state ?? this.#e, this.scheduleGc();
|
|
451
451
|
}
|
|
452
452
|
get meta() {
|
|
453
453
|
return this.options.meta;
|
|
@@ -460,15 +460,15 @@ var Je = class {
|
|
|
460
460
|
...this.#a,
|
|
461
461
|
...e
|
|
462
462
|
}, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
463
|
-
let e =
|
|
464
|
-
e.data !== void 0 && (this.setState(
|
|
463
|
+
let e = Xe(this.options);
|
|
464
|
+
e.data !== void 0 && (this.setState(Ye(e.data, e.dataUpdatedAt)), this.#e = e);
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
optionalRemove() {
|
|
468
468
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#n.remove(this);
|
|
469
469
|
}
|
|
470
470
|
setData(e, t) {
|
|
471
|
-
let n =
|
|
471
|
+
let n = Ne(this.state.data, e, this.options);
|
|
472
472
|
return this.#c({
|
|
473
473
|
data: n,
|
|
474
474
|
type: "success",
|
|
@@ -485,7 +485,7 @@ var Je = class {
|
|
|
485
485
|
}
|
|
486
486
|
cancel(e) {
|
|
487
487
|
let t = this.#i?.promise;
|
|
488
|
-
return this.#i?.cancel(e), t ? t.then(
|
|
488
|
+
return this.#i?.cancel(e), t ? t.then(A).catch(A) : Promise.resolve();
|
|
489
489
|
}
|
|
490
490
|
destroy() {
|
|
491
491
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -497,16 +497,16 @@ var Je = class {
|
|
|
497
497
|
this.destroy(), this.setState(this.resetState);
|
|
498
498
|
}
|
|
499
499
|
isActive() {
|
|
500
|
-
return this.observers.some((e) =>
|
|
500
|
+
return this.observers.some((e) => M(e.options.enabled, this) !== !1);
|
|
501
501
|
}
|
|
502
502
|
isDisabled() {
|
|
503
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
503
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === I || !this.isFetched();
|
|
504
504
|
}
|
|
505
505
|
isFetched() {
|
|
506
506
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
507
507
|
}
|
|
508
508
|
isStatic() {
|
|
509
|
-
return this.getObserversCount() > 0 ? this.observers.some((e) =>
|
|
509
|
+
return this.getObserversCount() > 0 ? this.observers.some((e) => j(e.options.staleTime, this) === "static") : !1;
|
|
510
510
|
}
|
|
511
511
|
isStale() {
|
|
512
512
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
@@ -559,7 +559,7 @@ var Je = class {
|
|
|
559
559
|
get: () => (this.#o = !0, n.signal)
|
|
560
560
|
});
|
|
561
561
|
}, i = () => {
|
|
562
|
-
let e =
|
|
562
|
+
let e = Ie(this.options, t), n = (() => {
|
|
563
563
|
let e = {
|
|
564
564
|
client: this.#r,
|
|
565
565
|
queryKey: this.queryKey,
|
|
@@ -582,11 +582,11 @@ var Je = class {
|
|
|
582
582
|
this.options.behavior?.onFetch(a, this), this.#t = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({
|
|
583
583
|
type: "fetch",
|
|
584
584
|
meta: a.fetchOptions?.meta
|
|
585
|
-
}), this.#i =
|
|
585
|
+
}), this.#i = Ge({
|
|
586
586
|
initialPromise: t?.initialPromise,
|
|
587
587
|
fn: a.fetchFn,
|
|
588
588
|
onCancel: (e) => {
|
|
589
|
-
e instanceof
|
|
589
|
+
e instanceof We && e.revert && this.setState({
|
|
590
590
|
...this.#t,
|
|
591
591
|
fetchStatus: "idle"
|
|
592
592
|
}), n.abort();
|
|
@@ -614,7 +614,7 @@ var Je = class {
|
|
|
614
614
|
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`);
|
|
615
615
|
return this.setData(e), this.#n.config.onSuccess?.(e, this), this.#n.config.onSettled?.(e, this.state.error, this), e;
|
|
616
616
|
} catch (e) {
|
|
617
|
-
if (e instanceof
|
|
617
|
+
if (e instanceof We) {
|
|
618
618
|
if (e.silent) return this.#i.promise;
|
|
619
619
|
if (e.revert) {
|
|
620
620
|
if (this.state.data === void 0) throw e;
|
|
@@ -647,13 +647,13 @@ var Je = class {
|
|
|
647
647
|
};
|
|
648
648
|
case "fetch": return {
|
|
649
649
|
...t,
|
|
650
|
-
...
|
|
650
|
+
...Je(t.data, this.options),
|
|
651
651
|
fetchMeta: e.meta ?? null
|
|
652
652
|
};
|
|
653
653
|
case "success":
|
|
654
654
|
let n = {
|
|
655
655
|
...t,
|
|
656
|
-
...
|
|
656
|
+
...Ye(e.data, e.dataUpdatedAt),
|
|
657
657
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
658
658
|
...!e.manual && {
|
|
659
659
|
fetchStatus: "idle",
|
|
@@ -684,7 +684,7 @@ var Je = class {
|
|
|
684
684
|
...e.state
|
|
685
685
|
};
|
|
686
686
|
}
|
|
687
|
-
})(this.state),
|
|
687
|
+
})(this.state), R.batch(() => {
|
|
688
688
|
this.observers.forEach((e) => {
|
|
689
689
|
e.onQueryUpdate();
|
|
690
690
|
}), this.#n.notify({
|
|
@@ -695,18 +695,18 @@ var Je = class {
|
|
|
695
695
|
});
|
|
696
696
|
}
|
|
697
697
|
};
|
|
698
|
-
function
|
|
698
|
+
function Je(e, t) {
|
|
699
699
|
return {
|
|
700
700
|
fetchFailureCount: 0,
|
|
701
701
|
fetchFailureReason: null,
|
|
702
|
-
fetchStatus:
|
|
702
|
+
fetchStatus: Ue(t.networkMode) ? "fetching" : "paused",
|
|
703
703
|
...e === void 0 && {
|
|
704
704
|
error: null,
|
|
705
705
|
status: "pending"
|
|
706
706
|
}
|
|
707
707
|
};
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Ye(e, t) {
|
|
710
710
|
return {
|
|
711
711
|
data: e,
|
|
712
712
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -715,7 +715,7 @@ function Ze(e, t) {
|
|
|
715
715
|
status: "success"
|
|
716
716
|
};
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function Xe(e) {
|
|
719
719
|
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;
|
|
720
720
|
return {
|
|
721
721
|
data: t,
|
|
@@ -734,9 +734,9 @@ function Qe(e) {
|
|
|
734
734
|
}
|
|
735
735
|
//#endregion
|
|
736
736
|
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
737
|
-
var
|
|
737
|
+
var Ze = class extends O {
|
|
738
738
|
constructor(e, t) {
|
|
739
|
-
super(), this.options = t, this.#e = e, this.#s = null, this.#o =
|
|
739
|
+
super(), this.options = t, this.#e = e, this.#s = null, this.#o = ze(), this.bindMethods(), this.setOptions(t);
|
|
740
740
|
}
|
|
741
741
|
#e;
|
|
742
742
|
#t = void 0;
|
|
@@ -757,36 +757,36 @@ var $e = class extends D {
|
|
|
757
757
|
this.refetch = this.refetch.bind(this);
|
|
758
758
|
}
|
|
759
759
|
onSubscribe() {
|
|
760
|
-
this.listeners.size === 1 && (this.#t.addObserver(this),
|
|
760
|
+
this.listeners.size === 1 && (this.#t.addObserver(this), $e(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
|
|
761
761
|
}
|
|
762
762
|
onUnsubscribe() {
|
|
763
763
|
this.hasListeners() || this.destroy();
|
|
764
764
|
}
|
|
765
765
|
shouldFetchOnReconnect() {
|
|
766
|
-
return
|
|
766
|
+
return et(this.#t, this.options, this.options.refetchOnReconnect);
|
|
767
767
|
}
|
|
768
768
|
shouldFetchOnWindowFocus() {
|
|
769
|
-
return
|
|
769
|
+
return et(this.#t, this.options, this.options.refetchOnWindowFocus);
|
|
770
770
|
}
|
|
771
771
|
destroy() {
|
|
772
772
|
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
|
|
773
773
|
}
|
|
774
774
|
setOptions(e) {
|
|
775
775
|
let t = this.options, n = this.#t;
|
|
776
|
-
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof
|
|
777
|
-
this.#S(), this.#t.setOptions(this.options), t._defaulted && !
|
|
776
|
+
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");
|
|
777
|
+
this.#S(), this.#t.setOptions(this.options), t._defaulted && !F(this.options, t) && this.#e.getQueryCache().notify({
|
|
778
778
|
type: "observerOptionsUpdated",
|
|
779
779
|
query: this.#t,
|
|
780
780
|
observer: this
|
|
781
781
|
});
|
|
782
782
|
let r = this.hasListeners();
|
|
783
|
-
r &&
|
|
783
|
+
r && tt(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || j(this.options.staleTime, this.#t) !== j(t.staleTime, this.#t)) && this.#g();
|
|
784
784
|
let i = this.#_();
|
|
785
|
-
r && (this.#t !== n ||
|
|
785
|
+
r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
|
|
786
786
|
}
|
|
787
787
|
getOptimisticResult(e) {
|
|
788
788
|
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
|
|
789
|
-
return
|
|
789
|
+
return rt(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
|
|
790
790
|
}
|
|
791
791
|
getCurrentResult() {
|
|
792
792
|
return this.#r;
|
|
@@ -816,14 +816,14 @@ var $e = class extends D {
|
|
|
816
816
|
#h(e) {
|
|
817
817
|
this.#S();
|
|
818
818
|
let t = this.#t.fetch(this.options, e);
|
|
819
|
-
return e?.throwOnError || (t = t.catch(
|
|
819
|
+
return e?.throwOnError || (t = t.catch(A)), t;
|
|
820
820
|
}
|
|
821
821
|
#g() {
|
|
822
822
|
this.#b();
|
|
823
|
-
let e =
|
|
824
|
-
if (
|
|
823
|
+
let e = j(this.options.staleTime, this.#t);
|
|
824
|
+
if (L.isServer() || this.#r.isStale || !Se(e)) return;
|
|
825
825
|
let t = Ce(this.#r.dataUpdatedAt, e) + 1;
|
|
826
|
-
this.#d =
|
|
826
|
+
this.#d = k.setTimeout(() => {
|
|
827
827
|
this.#r.isStale || this.updateResult();
|
|
828
828
|
}, t);
|
|
829
829
|
}
|
|
@@ -831,7 +831,7 @@ var $e = class extends D {
|
|
|
831
831
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
|
|
832
832
|
}
|
|
833
833
|
#v(e) {
|
|
834
|
-
this.#x(), this.#p = e, !(
|
|
834
|
+
this.#x(), this.#p = e, !(L.isServer() || M(this.options.enabled, this.#t) === !1 || !Se(this.#p) || this.#p === 0) && (this.#f = k.setInterval(() => {
|
|
835
835
|
(this.options.refetchIntervalInBackground || _e.isFocused()) && this.#h();
|
|
836
836
|
}, this.#p));
|
|
837
837
|
}
|
|
@@ -839,18 +839,18 @@ var $e = class extends D {
|
|
|
839
839
|
this.#g(), this.#v(this.#_());
|
|
840
840
|
}
|
|
841
841
|
#b() {
|
|
842
|
-
this.#d &&= (
|
|
842
|
+
this.#d &&= (k.clearTimeout(this.#d), void 0);
|
|
843
843
|
}
|
|
844
844
|
#x() {
|
|
845
|
-
this.#f &&= (
|
|
845
|
+
this.#f &&= (k.clearInterval(this.#f), void 0);
|
|
846
846
|
}
|
|
847
847
|
createResult(e, t) {
|
|
848
848
|
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;
|
|
849
849
|
if (t._optimisticResults) {
|
|
850
|
-
let i = this.hasListeners(), a = !i &&
|
|
850
|
+
let i = this.hasListeners(), a = !i && $e(e, t), o = i && tt(e, n, t, r);
|
|
851
851
|
(a || o) && (l = {
|
|
852
852
|
...l,
|
|
853
|
-
...
|
|
853
|
+
...Je(c.data, e.options)
|
|
854
854
|
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
|
|
855
855
|
}
|
|
856
856
|
let { error: f, errorUpdatedAt: p, status: m } = l;
|
|
@@ -858,11 +858,11 @@ var $e = class extends D {
|
|
|
858
858
|
let h = !1;
|
|
859
859
|
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
|
|
860
860
|
let e;
|
|
861
|
-
i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d =
|
|
861
|
+
i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#u?.state.data, this.#u) : t.placeholderData, e !== void 0 && (m = "success", d = Ne(i?.data, e, t), u = !0);
|
|
862
862
|
}
|
|
863
863
|
if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
|
|
864
864
|
else try {
|
|
865
|
-
this.#c = t.select, d = t.select(d), d =
|
|
865
|
+
this.#c = t.select, d = t.select(d), d = Ne(i?.data, d, t), this.#l = d, this.#s = null;
|
|
866
866
|
} catch (e) {
|
|
867
867
|
this.#s = e;
|
|
868
868
|
}
|
|
@@ -890,16 +890,16 @@ var $e = class extends D {
|
|
|
890
890
|
isPaused: l.fetchStatus === "paused",
|
|
891
891
|
isPlaceholderData: u,
|
|
892
892
|
isRefetchError: v && y,
|
|
893
|
-
isStale:
|
|
893
|
+
isStale: nt(e, t),
|
|
894
894
|
refetch: this.refetch,
|
|
895
895
|
promise: this.#o,
|
|
896
|
-
isEnabled:
|
|
896
|
+
isEnabled: M(t.enabled, e) !== !1
|
|
897
897
|
};
|
|
898
898
|
if (this.options.experimental_prefetchInRender) {
|
|
899
899
|
let t = b.data !== void 0, r = b.status === "error" && !t, i = (e) => {
|
|
900
900
|
r ? e.reject(b.error) : t && e.resolve(b.data);
|
|
901
901
|
}, a = () => {
|
|
902
|
-
i(this.#o = b.promise =
|
|
902
|
+
i(this.#o = b.promise = ze());
|
|
903
903
|
}, o = this.#o;
|
|
904
904
|
switch (o.status) {
|
|
905
905
|
case "pending":
|
|
@@ -917,7 +917,7 @@ var $e = class extends D {
|
|
|
917
917
|
}
|
|
918
918
|
updateResult() {
|
|
919
919
|
let e = this.#r, t = this.createResult(this.#t, this.options);
|
|
920
|
-
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !
|
|
920
|
+
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !F(t, e) && (this.#r = t, this.#C({ listeners: (() => {
|
|
921
921
|
if (!e) return !0;
|
|
922
922
|
let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
|
|
923
923
|
if (n === "all" || !n && !this.#m.size) return !0;
|
|
@@ -938,7 +938,7 @@ var $e = class extends D {
|
|
|
938
938
|
this.updateResult(), this.hasListeners() && this.#y();
|
|
939
939
|
}
|
|
940
940
|
#C(e) {
|
|
941
|
-
|
|
941
|
+
R.batch(() => {
|
|
942
942
|
e.listeners && this.listeners.forEach((e) => {
|
|
943
943
|
e(this.#r);
|
|
944
944
|
}), this.#e.getQueryCache().notify({
|
|
@@ -948,39 +948,39 @@ var $e = class extends D {
|
|
|
948
948
|
});
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
|
-
function
|
|
952
|
-
return
|
|
951
|
+
function Qe(e, t) {
|
|
952
|
+
return M(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
953
953
|
}
|
|
954
|
-
function
|
|
955
|
-
return
|
|
954
|
+
function $e(e, t) {
|
|
955
|
+
return Qe(e, t) || e.state.data !== void 0 && et(e, t, t.refetchOnMount);
|
|
956
956
|
}
|
|
957
|
-
function
|
|
958
|
-
if (
|
|
957
|
+
function et(e, t, n) {
|
|
958
|
+
if (M(t.enabled, e) !== !1 && j(t.staleTime, e) !== "static") {
|
|
959
959
|
let r = typeof n == "function" ? n(e) : n;
|
|
960
|
-
return r === "always" || r !== !1 &&
|
|
960
|
+
return r === "always" || r !== !1 && nt(e, t);
|
|
961
961
|
}
|
|
962
962
|
return !1;
|
|
963
963
|
}
|
|
964
|
-
function
|
|
965
|
-
return (e !== t ||
|
|
964
|
+
function tt(e, t, n, r) {
|
|
965
|
+
return (e !== t || M(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && nt(e, n);
|
|
966
966
|
}
|
|
967
|
-
function
|
|
968
|
-
return
|
|
967
|
+
function nt(e, t) {
|
|
968
|
+
return M(t.enabled, e) !== !1 && e.isStaleByTime(j(t.staleTime, e));
|
|
969
969
|
}
|
|
970
|
-
function
|
|
971
|
-
return !
|
|
970
|
+
function rt(e, t) {
|
|
971
|
+
return !F(e.getCurrentResult(), t);
|
|
972
972
|
}
|
|
973
973
|
//#endregion
|
|
974
974
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
975
|
-
function
|
|
975
|
+
function it(e) {
|
|
976
976
|
return { onFetch: (t, n) => {
|
|
977
977
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
978
978
|
pages: [],
|
|
979
979
|
pageParams: []
|
|
980
980
|
}, c = 0, l = async () => {
|
|
981
981
|
let n = !1, l = (e) => {
|
|
982
|
-
|
|
983
|
-
}, u =
|
|
982
|
+
Re(e, () => t.signal, () => n = !0);
|
|
983
|
+
}, u = Ie(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
984
984
|
if (n) return Promise.reject();
|
|
985
985
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
986
986
|
let a = await u((() => {
|
|
@@ -992,14 +992,14 @@ function ot(e) {
|
|
|
992
992
|
meta: t.options.meta
|
|
993
993
|
};
|
|
994
994
|
return l(e), e;
|
|
995
|
-
})()), { maxPages: o } = t.options, s = i ?
|
|
995
|
+
})()), { maxPages: o } = t.options, s = i ? Fe : Pe;
|
|
996
996
|
return {
|
|
997
997
|
pages: s(e.pages, a, o),
|
|
998
998
|
pageParams: s(e.pageParams, r, o)
|
|
999
999
|
};
|
|
1000
1000
|
};
|
|
1001
1001
|
if (i && a.length) {
|
|
1002
|
-
let e = i === "backward", t = e ?
|
|
1002
|
+
let e = i === "backward", t = e ? ot : at, n = {
|
|
1003
1003
|
pages: a,
|
|
1004
1004
|
pageParams: o
|
|
1005
1005
|
};
|
|
@@ -1007,7 +1007,7 @@ function ot(e) {
|
|
|
1007
1007
|
} else {
|
|
1008
1008
|
let t = e ?? a.length;
|
|
1009
1009
|
do {
|
|
1010
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
1010
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : at(r, s);
|
|
1011
1011
|
if (c > 0 && e == null) break;
|
|
1012
1012
|
s = await d(s, e), c++;
|
|
1013
1013
|
} while (c < t);
|
|
@@ -1022,22 +1022,22 @@ function ot(e) {
|
|
|
1022
1022
|
}, n) : t.fetchFn = l;
|
|
1023
1023
|
} };
|
|
1024
1024
|
}
|
|
1025
|
-
function
|
|
1025
|
+
function at(e, { pages: t, pageParams: n }) {
|
|
1026
1026
|
let r = t.length - 1;
|
|
1027
1027
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
1028
1028
|
}
|
|
1029
|
-
function
|
|
1029
|
+
function ot(e, { pages: t, pageParams: n }) {
|
|
1030
1030
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
1031
1031
|
}
|
|
1032
1032
|
//#endregion
|
|
1033
1033
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1034
|
-
var
|
|
1034
|
+
var st = class extends Ke {
|
|
1035
1035
|
#e;
|
|
1036
1036
|
#t;
|
|
1037
1037
|
#n;
|
|
1038
1038
|
#r;
|
|
1039
1039
|
constructor(e) {
|
|
1040
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
1040
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || ct(), this.setOptions(e.options), this.scheduleGc();
|
|
1041
1041
|
}
|
|
1042
1042
|
setOptions(e) {
|
|
1043
1043
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -1073,7 +1073,7 @@ var lt = class extends Je {
|
|
|
1073
1073
|
meta: this.options.meta,
|
|
1074
1074
|
mutationKey: this.options.mutationKey
|
|
1075
1075
|
};
|
|
1076
|
-
this.#r =
|
|
1076
|
+
this.#r = Ge({
|
|
1077
1077
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
1078
1078
|
onFail: (e, t) => {
|
|
1079
1079
|
this.#i({
|
|
@@ -1189,7 +1189,7 @@ var lt = class extends Je {
|
|
|
1189
1189
|
status: "error"
|
|
1190
1190
|
};
|
|
1191
1191
|
}
|
|
1192
|
-
})(this.state),
|
|
1192
|
+
})(this.state), R.batch(() => {
|
|
1193
1193
|
this.#t.forEach((t) => {
|
|
1194
1194
|
t.onMutationUpdate(e);
|
|
1195
1195
|
}), this.#n.notify({
|
|
@@ -1200,7 +1200,7 @@ var lt = class extends Je {
|
|
|
1200
1200
|
});
|
|
1201
1201
|
}
|
|
1202
1202
|
};
|
|
1203
|
-
function
|
|
1203
|
+
function ct() {
|
|
1204
1204
|
return {
|
|
1205
1205
|
context: void 0,
|
|
1206
1206
|
data: void 0,
|
|
@@ -1215,7 +1215,7 @@ function ut() {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
//#endregion
|
|
1217
1217
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1218
|
-
var
|
|
1218
|
+
var lt = class extends O {
|
|
1219
1219
|
constructor(e = {}) {
|
|
1220
1220
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
1221
1221
|
}
|
|
@@ -1223,7 +1223,7 @@ var dt = class extends D {
|
|
|
1223
1223
|
#t;
|
|
1224
1224
|
#n;
|
|
1225
1225
|
build(e, t, n) {
|
|
1226
|
-
let r = new
|
|
1226
|
+
let r = new st({
|
|
1227
1227
|
client: e,
|
|
1228
1228
|
mutationCache: this,
|
|
1229
1229
|
mutationId: ++this.#n,
|
|
@@ -1234,7 +1234,7 @@ var dt = class extends D {
|
|
|
1234
1234
|
}
|
|
1235
1235
|
add(e) {
|
|
1236
1236
|
this.#e.add(e);
|
|
1237
|
-
let t =
|
|
1237
|
+
let t = ut(e);
|
|
1238
1238
|
if (typeof t == "string") {
|
|
1239
1239
|
let n = this.#t.get(t);
|
|
1240
1240
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -1246,7 +1246,7 @@ var dt = class extends D {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
remove(e) {
|
|
1248
1248
|
if (this.#e.delete(e)) {
|
|
1249
|
-
let t =
|
|
1249
|
+
let t = ut(e);
|
|
1250
1250
|
if (typeof t == "string") {
|
|
1251
1251
|
let n = this.#t.get(t);
|
|
1252
1252
|
if (n) if (n.length > 1) {
|
|
@@ -1261,18 +1261,18 @@ var dt = class extends D {
|
|
|
1261
1261
|
});
|
|
1262
1262
|
}
|
|
1263
1263
|
canRun(e) {
|
|
1264
|
-
let t =
|
|
1264
|
+
let t = ut(e);
|
|
1265
1265
|
if (typeof t == "string") {
|
|
1266
1266
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1267
1267
|
return !n || n === e;
|
|
1268
1268
|
} else return !0;
|
|
1269
1269
|
}
|
|
1270
1270
|
runNext(e) {
|
|
1271
|
-
let t =
|
|
1271
|
+
let t = ut(e);
|
|
1272
1272
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1273
1273
|
}
|
|
1274
1274
|
clear() {
|
|
1275
|
-
|
|
1275
|
+
R.batch(() => {
|
|
1276
1276
|
this.#e.forEach((e) => {
|
|
1277
1277
|
this.notify({
|
|
1278
1278
|
type: "removed",
|
|
@@ -1295,7 +1295,7 @@ var dt = class extends D {
|
|
|
1295
1295
|
return this.getAll().filter((t) => Te(e, t));
|
|
1296
1296
|
}
|
|
1297
1297
|
notify(e) {
|
|
1298
|
-
|
|
1298
|
+
R.batch(() => {
|
|
1299
1299
|
this.listeners.forEach((t) => {
|
|
1300
1300
|
t(e);
|
|
1301
1301
|
});
|
|
@@ -1303,22 +1303,22 @@ var dt = class extends D {
|
|
|
1303
1303
|
}
|
|
1304
1304
|
resumePausedMutations() {
|
|
1305
1305
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1306
|
-
return
|
|
1306
|
+
return R.batch(() => Promise.all(e.map((e) => e.continue().catch(A))));
|
|
1307
1307
|
}
|
|
1308
1308
|
};
|
|
1309
|
-
function
|
|
1309
|
+
function ut(e) {
|
|
1310
1310
|
return e.options.scope?.id;
|
|
1311
1311
|
}
|
|
1312
1312
|
//#endregion
|
|
1313
1313
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1314
|
-
var
|
|
1314
|
+
var dt = class extends O {
|
|
1315
1315
|
constructor(e = {}) {
|
|
1316
1316
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1317
1317
|
}
|
|
1318
1318
|
#e;
|
|
1319
1319
|
build(e, t, n) {
|
|
1320
1320
|
let r = t.queryKey, i = t.queryHash ?? Ee(r, t), a = this.get(i);
|
|
1321
|
-
return a || (a = new
|
|
1321
|
+
return a || (a = new qe({
|
|
1322
1322
|
client: e,
|
|
1323
1323
|
queryKey: r,
|
|
1324
1324
|
queryHash: i,
|
|
@@ -1341,7 +1341,7 @@ var ft = class extends D {
|
|
|
1341
1341
|
}));
|
|
1342
1342
|
}
|
|
1343
1343
|
clear() {
|
|
1344
|
-
|
|
1344
|
+
R.batch(() => {
|
|
1345
1345
|
this.getAll().forEach((e) => {
|
|
1346
1346
|
this.remove(e);
|
|
1347
1347
|
});
|
|
@@ -1365,27 +1365,27 @@ var ft = class extends D {
|
|
|
1365
1365
|
return Object.keys(e).length > 0 ? t.filter((t) => we(e, t)) : t;
|
|
1366
1366
|
}
|
|
1367
1367
|
notify(e) {
|
|
1368
|
-
|
|
1368
|
+
R.batch(() => {
|
|
1369
1369
|
this.listeners.forEach((t) => {
|
|
1370
1370
|
t(e);
|
|
1371
1371
|
});
|
|
1372
1372
|
});
|
|
1373
1373
|
}
|
|
1374
1374
|
onFocus() {
|
|
1375
|
-
|
|
1375
|
+
R.batch(() => {
|
|
1376
1376
|
this.getAll().forEach((e) => {
|
|
1377
1377
|
e.onFocus();
|
|
1378
1378
|
});
|
|
1379
1379
|
});
|
|
1380
1380
|
}
|
|
1381
1381
|
onOnline() {
|
|
1382
|
-
|
|
1382
|
+
R.batch(() => {
|
|
1383
1383
|
this.getAll().forEach((e) => {
|
|
1384
1384
|
e.onOnline();
|
|
1385
1385
|
});
|
|
1386
1386
|
});
|
|
1387
1387
|
}
|
|
1388
|
-
},
|
|
1388
|
+
}, ft = class {
|
|
1389
1389
|
#e;
|
|
1390
1390
|
#t;
|
|
1391
1391
|
#n;
|
|
@@ -1395,12 +1395,12 @@ var ft = class extends D {
|
|
|
1395
1395
|
#o;
|
|
1396
1396
|
#s;
|
|
1397
1397
|
constructor(e = {}) {
|
|
1398
|
-
this.#e = e.queryCache || new
|
|
1398
|
+
this.#e = e.queryCache || new dt(), this.#t = e.mutationCache || new lt(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1399
1399
|
}
|
|
1400
1400
|
mount() {
|
|
1401
1401
|
this.#a++, this.#a === 1 && (this.#o = _e.subscribe(async (e) => {
|
|
1402
1402
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1403
|
-
}), this.#s =
|
|
1403
|
+
}), this.#s = z.subscribe(async (e) => {
|
|
1404
1404
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1405
1405
|
}));
|
|
1406
1406
|
}
|
|
@@ -1425,7 +1425,7 @@ var ft = class extends D {
|
|
|
1425
1425
|
}
|
|
1426
1426
|
ensureQueryData(e) {
|
|
1427
1427
|
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
|
|
1428
|
-
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(
|
|
1428
|
+
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(j(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
|
|
1429
1429
|
}
|
|
1430
1430
|
getQueriesData(e) {
|
|
1431
1431
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
@@ -1438,7 +1438,7 @@ var ft = class extends D {
|
|
|
1438
1438
|
});
|
|
1439
1439
|
}
|
|
1440
1440
|
setQueriesData(e, t, n) {
|
|
1441
|
-
return
|
|
1441
|
+
return R.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
|
|
1442
1442
|
}
|
|
1443
1443
|
getQueryState(e) {
|
|
1444
1444
|
let t = this.defaultQueryOptions({ queryKey: e });
|
|
@@ -1446,7 +1446,7 @@ var ft = class extends D {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
removeQueries(e) {
|
|
1448
1448
|
let t = this.#e;
|
|
1449
|
-
|
|
1449
|
+
R.batch(() => {
|
|
1450
1450
|
t.findAll(e).forEach((e) => {
|
|
1451
1451
|
t.remove(e);
|
|
1452
1452
|
});
|
|
@@ -1454,7 +1454,7 @@ var ft = class extends D {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
resetQueries(e, t) {
|
|
1456
1456
|
let n = this.#e;
|
|
1457
|
-
return
|
|
1457
|
+
return R.batch(() => (n.findAll(e).forEach((e) => {
|
|
1458
1458
|
e.reset();
|
|
1459
1459
|
}), this.refetchQueries({
|
|
1460
1460
|
type: "active",
|
|
@@ -1465,11 +1465,11 @@ var ft = class extends D {
|
|
|
1465
1465
|
let n = {
|
|
1466
1466
|
revert: !0,
|
|
1467
1467
|
...t
|
|
1468
|
-
}, r =
|
|
1469
|
-
return Promise.all(r).then(
|
|
1468
|
+
}, r = R.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1469
|
+
return Promise.all(r).then(A).catch(A);
|
|
1470
1470
|
}
|
|
1471
1471
|
invalidateQueries(e, t = {}) {
|
|
1472
|
-
return
|
|
1472
|
+
return R.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
1473
1473
|
e.invalidate();
|
|
1474
1474
|
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
|
|
1475
1475
|
...e,
|
|
@@ -1480,32 +1480,32 @@ var ft = class extends D {
|
|
|
1480
1480
|
let n = {
|
|
1481
1481
|
...t,
|
|
1482
1482
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1483
|
-
}, r =
|
|
1483
|
+
}, r = R.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1484
1484
|
let t = e.fetch(void 0, n);
|
|
1485
|
-
return n.throwOnError || (t = t.catch(
|
|
1485
|
+
return n.throwOnError || (t = t.catch(A)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1486
1486
|
}));
|
|
1487
|
-
return Promise.all(r).then(
|
|
1487
|
+
return Promise.all(r).then(A);
|
|
1488
1488
|
}
|
|
1489
1489
|
fetchQuery(e) {
|
|
1490
1490
|
let t = this.defaultQueryOptions(e);
|
|
1491
1491
|
t.retry === void 0 && (t.retry = !1);
|
|
1492
1492
|
let n = this.#e.build(this, t);
|
|
1493
|
-
return n.isStaleByTime(
|
|
1493
|
+
return n.isStaleByTime(j(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
|
|
1494
1494
|
}
|
|
1495
1495
|
prefetchQuery(e) {
|
|
1496
|
-
return this.fetchQuery(e).then(
|
|
1496
|
+
return this.fetchQuery(e).then(A).catch(A);
|
|
1497
1497
|
}
|
|
1498
1498
|
fetchInfiniteQuery(e) {
|
|
1499
|
-
return e.behavior =
|
|
1499
|
+
return e.behavior = it(e.pages), this.fetchQuery(e);
|
|
1500
1500
|
}
|
|
1501
1501
|
prefetchInfiniteQuery(e) {
|
|
1502
|
-
return this.fetchInfiniteQuery(e).then(
|
|
1502
|
+
return this.fetchInfiniteQuery(e).then(A).catch(A);
|
|
1503
1503
|
}
|
|
1504
1504
|
ensureInfiniteQueryData(e) {
|
|
1505
|
-
return e.behavior =
|
|
1505
|
+
return e.behavior = it(e.pages), this.ensureQueryData(e);
|
|
1506
1506
|
}
|
|
1507
1507
|
resumePausedMutations() {
|
|
1508
|
-
return
|
|
1508
|
+
return z.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1509
1509
|
}
|
|
1510
1510
|
getQueryCache() {
|
|
1511
1511
|
return this.#e;
|
|
@@ -1520,7 +1520,7 @@ var ft = class extends D {
|
|
|
1520
1520
|
this.#n = e;
|
|
1521
1521
|
}
|
|
1522
1522
|
setQueryDefaults(e, t) {
|
|
1523
|
-
this.#r.set(
|
|
1523
|
+
this.#r.set(N(e), {
|
|
1524
1524
|
queryKey: e,
|
|
1525
1525
|
defaultOptions: t
|
|
1526
1526
|
});
|
|
@@ -1528,11 +1528,11 @@ var ft = class extends D {
|
|
|
1528
1528
|
getQueryDefaults(e) {
|
|
1529
1529
|
let t = [...this.#r.values()], n = {};
|
|
1530
1530
|
return t.forEach((t) => {
|
|
1531
|
-
|
|
1531
|
+
P(e, t.queryKey) && Object.assign(n, t.defaultOptions);
|
|
1532
1532
|
}), n;
|
|
1533
1533
|
}
|
|
1534
1534
|
setMutationDefaults(e, t) {
|
|
1535
|
-
this.#i.set(
|
|
1535
|
+
this.#i.set(N(e), {
|
|
1536
1536
|
mutationKey: e,
|
|
1537
1537
|
defaultOptions: t
|
|
1538
1538
|
});
|
|
@@ -1540,7 +1540,7 @@ var ft = class extends D {
|
|
|
1540
1540
|
getMutationDefaults(e) {
|
|
1541
1541
|
let t = [...this.#i.values()], n = {};
|
|
1542
1542
|
return t.forEach((t) => {
|
|
1543
|
-
|
|
1543
|
+
P(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
|
|
1544
1544
|
}), n;
|
|
1545
1545
|
}
|
|
1546
1546
|
defaultQueryOptions(e) {
|
|
@@ -1551,7 +1551,7 @@ var ft = class extends D {
|
|
|
1551
1551
|
...e,
|
|
1552
1552
|
_defaulted: !0
|
|
1553
1553
|
};
|
|
1554
|
-
return t.queryHash ||= Ee(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 ===
|
|
1554
|
+
return t.queryHash ||= Ee(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 === I && (t.enabled = !1), t;
|
|
1555
1555
|
}
|
|
1556
1556
|
defaultMutationOptions(e) {
|
|
1557
1557
|
return e?._defaulted ? e : {
|
|
@@ -1564,20 +1564,20 @@ var ft = class extends D {
|
|
|
1564
1564
|
clear() {
|
|
1565
1565
|
this.#e.clear(), this.#t.clear();
|
|
1566
1566
|
}
|
|
1567
|
-
},
|
|
1568
|
-
let t = x.useContext(
|
|
1567
|
+
}, pt = x.createContext(void 0), mt = (e) => {
|
|
1568
|
+
let t = x.useContext(pt);
|
|
1569
1569
|
if (e) return e;
|
|
1570
1570
|
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1571
1571
|
return t;
|
|
1572
|
-
},
|
|
1572
|
+
}, ht = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
|
|
1573
1573
|
e.unmount();
|
|
1574
|
-
}), [e]), /* @__PURE__ */
|
|
1574
|
+
}), [e]), /* @__PURE__ */ E(pt.Provider, {
|
|
1575
1575
|
value: e,
|
|
1576
1576
|
children: t
|
|
1577
|
-
})),
|
|
1577
|
+
})), gt = x.createContext(!1), _t = () => x.useContext(gt);
|
|
1578
1578
|
//#endregion
|
|
1579
1579
|
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
1580
|
-
function
|
|
1580
|
+
function vt() {
|
|
1581
1581
|
let e = !1;
|
|
1582
1582
|
return {
|
|
1583
1583
|
clearReset: () => {
|
|
@@ -1589,55 +1589,55 @@ function yt() {
|
|
|
1589
1589
|
isReset: () => e
|
|
1590
1590
|
};
|
|
1591
1591
|
}
|
|
1592
|
-
var
|
|
1593
|
-
let r = n?.state.error && typeof e.throwOnError == "function" ?
|
|
1592
|
+
var yt = x.createContext(vt()), bt = () => x.useContext(yt), xt = (e, t, n) => {
|
|
1593
|
+
let r = n?.state.error && typeof e.throwOnError == "function" ? Le(e.throwOnError, [n.state.error, n]) : e.throwOnError;
|
|
1594
1594
|
(e.suspense || e.experimental_prefetchInRender || r) && (t.isReset() || (e.retryOnMount = !1));
|
|
1595
|
-
},
|
|
1595
|
+
}, St = (e) => {
|
|
1596
1596
|
x.useEffect(() => {
|
|
1597
1597
|
e.clearReset();
|
|
1598
1598
|
}, [e]);
|
|
1599
|
-
},
|
|
1599
|
+
}, Ct = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Le(n, [e.error, r])), wt = (e) => {
|
|
1600
1600
|
if (e.suspense) {
|
|
1601
1601
|
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
|
|
1602
1602
|
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
|
|
1603
1603
|
}
|
|
1604
|
-
},
|
|
1604
|
+
}, Tt = (e, t) => e.isLoading && e.isFetching && !t, Et = (e, t) => e?.suspense && t.isPending, Dt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
1605
1605
|
n.clearReset();
|
|
1606
1606
|
});
|
|
1607
1607
|
//#endregion
|
|
1608
1608
|
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1609
|
-
function
|
|
1609
|
+
function Ot(e, t, n) {
|
|
1610
1610
|
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");
|
|
1611
|
-
let r =
|
|
1611
|
+
let r = _t(), i = bt(), a = mt(n), o = a.defaultQueryOptions(e);
|
|
1612
1612
|
a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);
|
|
1613
1613
|
let s = a.getQueryCache().get(o.queryHash);
|
|
1614
|
-
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`)), o._optimisticResults = r ? "isRestoring" : "optimistic",
|
|
1614
|
+
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`)), o._optimisticResults = r ? "isRestoring" : "optimistic", wt(o), xt(o, i, s), St(i);
|
|
1615
1615
|
let c = !a.getQueryCache().get(o.queryHash), [l] = x.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && e.subscribed !== !1;
|
|
1616
1616
|
if (x.useSyncExternalStore(x.useCallback((e) => {
|
|
1617
|
-
let t = d ? l.subscribe(
|
|
1617
|
+
let t = d ? l.subscribe(R.batchCalls(e)) : A;
|
|
1618
1618
|
return l.updateResult(), t;
|
|
1619
1619
|
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), x.useEffect(() => {
|
|
1620
1620
|
l.setOptions(o);
|
|
1621
|
-
}, [o, l]),
|
|
1622
|
-
if (
|
|
1621
|
+
}, [o, l]), Et(o, u)) throw Dt(o, l, i);
|
|
1622
|
+
if (Ct({
|
|
1623
1623
|
result: u,
|
|
1624
1624
|
errorResetBoundary: i,
|
|
1625
1625
|
throwOnError: o.throwOnError,
|
|
1626
1626
|
query: s,
|
|
1627
1627
|
suspense: o.suspense
|
|
1628
1628
|
})) throw u.error;
|
|
1629
|
-
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, u), o.experimental_prefetchInRender && !
|
|
1629
|
+
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, u), o.experimental_prefetchInRender && !L.isServer() && Tt(u, r) && (c ? Dt(o, l, i) : s?.promise)?.catch(A).finally(() => {
|
|
1630
1630
|
l.updateResult();
|
|
1631
1631
|
}), o.notifyOnChangeProps ? u : l.trackResult(u);
|
|
1632
1632
|
}
|
|
1633
1633
|
//#endregion
|
|
1634
1634
|
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1635
|
-
function
|
|
1636
|
-
return
|
|
1635
|
+
function kt(e, t) {
|
|
1636
|
+
return Ot(e, Ze, t);
|
|
1637
1637
|
}
|
|
1638
1638
|
//#endregion
|
|
1639
1639
|
//#region src/client/client/CubeClient.ts
|
|
1640
|
-
var
|
|
1640
|
+
var At = class {
|
|
1641
1641
|
apiUrl;
|
|
1642
1642
|
headers;
|
|
1643
1643
|
credentials;
|
|
@@ -1668,7 +1668,7 @@ var jt = class {
|
|
|
1668
1668
|
} catch {}
|
|
1669
1669
|
throw Error(e);
|
|
1670
1670
|
}
|
|
1671
|
-
return new
|
|
1671
|
+
return new jt(await a.json());
|
|
1672
1672
|
}
|
|
1673
1673
|
async meta() {
|
|
1674
1674
|
let e = `${this.apiUrl}/meta`, t = await fetch(e, {
|
|
@@ -1758,14 +1758,14 @@ var jt = class {
|
|
|
1758
1758
|
throw Error(e);
|
|
1759
1759
|
}
|
|
1760
1760
|
return (await i.json()).results.map((e) => !e.success && e.error ? {
|
|
1761
|
-
...new
|
|
1761
|
+
...new jt({
|
|
1762
1762
|
data: [],
|
|
1763
1763
|
annotation: {}
|
|
1764
1764
|
}),
|
|
1765
1765
|
error: e.error
|
|
1766
|
-
} : new
|
|
1766
|
+
} : new jt(e));
|
|
1767
1767
|
}
|
|
1768
|
-
},
|
|
1768
|
+
}, jt = class {
|
|
1769
1769
|
loadResponse;
|
|
1770
1770
|
constructor(e) {
|
|
1771
1771
|
this.loadResponse = e;
|
|
@@ -1786,12 +1786,12 @@ var jt = class {
|
|
|
1786
1786
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
|
|
1787
1787
|
}
|
|
1788
1788
|
};
|
|
1789
|
-
function
|
|
1790
|
-
return new
|
|
1789
|
+
function Mt(e, t = {}) {
|
|
1790
|
+
return new At(e, t);
|
|
1791
1791
|
}
|
|
1792
1792
|
//#endregion
|
|
1793
1793
|
//#region src/client/client/BatchCoordinator.ts
|
|
1794
|
-
var
|
|
1794
|
+
var Nt = class {
|
|
1795
1795
|
queue = [];
|
|
1796
1796
|
flushScheduled = !1;
|
|
1797
1797
|
batchExecutor;
|
|
@@ -1834,25 +1834,25 @@ var Pt = class {
|
|
|
1834
1834
|
clear() {
|
|
1835
1835
|
this.queue = [], this.flushScheduled = !1;
|
|
1836
1836
|
}
|
|
1837
|
-
},
|
|
1838
|
-
function
|
|
1839
|
-
let o =
|
|
1837
|
+
}, Pt = de(null);
|
|
1838
|
+
function Ft({ apiOptions: e, token: t, options: n = {}, enableBatching: r = !0, batchDelayMs: i = 50, children: a }) {
|
|
1839
|
+
let o = w(() => ({
|
|
1840
1840
|
apiOptions: e,
|
|
1841
1841
|
token: t
|
|
1842
|
-
}), [e, t]), [s, c] =
|
|
1843
|
-
|
|
1842
|
+
}), [e, t]), [s, c] = T(null);
|
|
1843
|
+
C(() => {
|
|
1844
1844
|
c(null);
|
|
1845
1845
|
}, [o]);
|
|
1846
|
-
let l = s ?? o, u =
|
|
1846
|
+
let l = s ?? o, u = w(() => Mt(l.token, l.apiOptions), [l.apiOptions, l.token]), d = w(() => r ? new Nt((e) => u.batchLoad(e), i) : null, [
|
|
1847
1847
|
r,
|
|
1848
1848
|
u,
|
|
1849
1849
|
i
|
|
1850
|
-
]), f =
|
|
1850
|
+
]), f = S((e, t) => {
|
|
1851
1851
|
c({
|
|
1852
1852
|
apiOptions: e,
|
|
1853
1853
|
token: t
|
|
1854
1854
|
});
|
|
1855
|
-
}, []), p =
|
|
1855
|
+
}, []), p = w(() => ({
|
|
1856
1856
|
cubeApi: u,
|
|
1857
1857
|
options: n,
|
|
1858
1858
|
apiOptions: l.apiOptions,
|
|
@@ -1867,20 +1867,20 @@ function It({ apiOptions: e, token: t, options: n = {}, enableBatching: r = !0,
|
|
|
1867
1867
|
d,
|
|
1868
1868
|
r
|
|
1869
1869
|
]);
|
|
1870
|
-
return /* @__PURE__ */
|
|
1870
|
+
return /* @__PURE__ */ E(Pt.Provider, {
|
|
1871
1871
|
value: p,
|
|
1872
1872
|
children: a
|
|
1873
1873
|
});
|
|
1874
1874
|
}
|
|
1875
|
-
function
|
|
1876
|
-
let e = he(
|
|
1875
|
+
function It() {
|
|
1876
|
+
let e = he(Pt);
|
|
1877
1877
|
if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
|
|
1878
1878
|
return e;
|
|
1879
1879
|
}
|
|
1880
1880
|
//#endregion
|
|
1881
1881
|
//#region src/client/hooks/queries/useCubeMetaQuery.ts
|
|
1882
|
-
var
|
|
1883
|
-
function
|
|
1882
|
+
var Lt = ["cube", "meta"];
|
|
1883
|
+
function Rt(e) {
|
|
1884
1884
|
let t = {};
|
|
1885
1885
|
return e.cubes.forEach((e) => {
|
|
1886
1886
|
e.measures.forEach((e) => {
|
|
@@ -1892,14 +1892,14 @@ function zt(e) {
|
|
|
1892
1892
|
});
|
|
1893
1893
|
}), t;
|
|
1894
1894
|
}
|
|
1895
|
-
function
|
|
1896
|
-
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } =
|
|
1897
|
-
queryKey:
|
|
1895
|
+
function zt(e = {}) {
|
|
1896
|
+
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = It(), i = mt(), a = kt({
|
|
1897
|
+
queryKey: Lt,
|
|
1898
1898
|
queryFn: async () => {
|
|
1899
1899
|
let e = await r.meta();
|
|
1900
1900
|
return {
|
|
1901
1901
|
meta: e,
|
|
1902
|
-
labelMap:
|
|
1902
|
+
labelMap: Rt(e)
|
|
1903
1903
|
};
|
|
1904
1904
|
},
|
|
1905
1905
|
enabled: t,
|
|
@@ -1913,14 +1913,14 @@ function Bt(e = {}) {
|
|
|
1913
1913
|
isFetching: a.isFetching,
|
|
1914
1914
|
error: a.error,
|
|
1915
1915
|
refetch: () => {
|
|
1916
|
-
i.invalidateQueries({ queryKey:
|
|
1916
|
+
i.invalidateQueries({ queryKey: Lt });
|
|
1917
1917
|
},
|
|
1918
1918
|
getFieldLabel: (e) => s[e] || e
|
|
1919
1919
|
};
|
|
1920
1920
|
}
|
|
1921
1921
|
//#endregion
|
|
1922
1922
|
//#region src/client/utils/thumbnail.ts
|
|
1923
|
-
var
|
|
1923
|
+
var Bt = null, Vt = !1;
|
|
1924
1924
|
function Ht(e, t, n, r, i) {
|
|
1925
1925
|
return new Promise((a, o) => {
|
|
1926
1926
|
let s = new Image();
|
|
@@ -1938,22 +1938,22 @@ function Ht(e, t, n, r, i) {
|
|
|
1938
1938
|
}, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
|
|
1939
1939
|
});
|
|
1940
1940
|
}
|
|
1941
|
-
async function
|
|
1942
|
-
if (Vt) return
|
|
1941
|
+
async function B() {
|
|
1942
|
+
if (Vt) return Bt;
|
|
1943
1943
|
try {
|
|
1944
|
-
return
|
|
1944
|
+
return Bt = await import("./dist-eZurnOde.js"), Vt = !0, Bt;
|
|
1945
1945
|
} catch {
|
|
1946
|
-
return Vt = !0,
|
|
1946
|
+
return Vt = !0, Bt = null, null;
|
|
1947
1947
|
}
|
|
1948
1948
|
}
|
|
1949
1949
|
function Ut(e) {
|
|
1950
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ ||
|
|
1950
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || B().then((e) => {
|
|
1951
1951
|
!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);
|
|
1952
1952
|
}));
|
|
1953
1953
|
}
|
|
1954
1954
|
async function Wt(e, t) {
|
|
1955
1955
|
if (typeof window > "u" || !e.current) return null;
|
|
1956
|
-
let n = await
|
|
1956
|
+
let n = await B();
|
|
1957
1957
|
if (!n) return null;
|
|
1958
1958
|
try {
|
|
1959
1959
|
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = Jt(s);
|
|
@@ -1966,10 +1966,10 @@ async function Wt(e, t) {
|
|
|
1966
1966
|
}
|
|
1967
1967
|
}
|
|
1968
1968
|
async function Gt(e) {
|
|
1969
|
-
return !e?.enabled || typeof window > "u" ? !1 : await
|
|
1969
|
+
return !e?.enabled || typeof window > "u" ? !1 : await B() !== null;
|
|
1970
1970
|
}
|
|
1971
1971
|
async function Kt() {
|
|
1972
|
-
return typeof window > "u" || !await
|
|
1972
|
+
return typeof window > "u" || !await B() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
|
|
1973
1973
|
}
|
|
1974
1974
|
function qt(e) {
|
|
1975
1975
|
if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
|
|
@@ -1987,7 +1987,7 @@ function Jt(e) {
|
|
|
1987
1987
|
}
|
|
1988
1988
|
async function Yt(e) {
|
|
1989
1989
|
try {
|
|
1990
|
-
let t = await
|
|
1990
|
+
let t = await B();
|
|
1991
1991
|
if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
|
|
1992
1992
|
let n = Jt(e), r = await t.domToPng(e, {
|
|
1993
1993
|
scale: 2,
|
|
@@ -1999,8 +1999,163 @@ async function Yt(e) {
|
|
|
1999
1999
|
}
|
|
2000
2000
|
}
|
|
2001
2001
|
//#endregion
|
|
2002
|
+
//#region src/client/utils/exportXlsx.ts
|
|
2003
|
+
var Xt = null, Zt = !1, Qt = {
|
|
2004
|
+
headerBg: "FF3B82F6",
|
|
2005
|
+
headerText: "FFFFFFFF",
|
|
2006
|
+
borderColor: "FFE5E7EB"
|
|
2007
|
+
};
|
|
2008
|
+
function $t(e) {
|
|
2009
|
+
if (!e) return null;
|
|
2010
|
+
let t = e.trim();
|
|
2011
|
+
if (t.startsWith("#")) {
|
|
2012
|
+
let e = t.slice(1);
|
|
2013
|
+
return e.length === 3 ? `FF${e.split("").map((e) => e + e).join("").toUpperCase()}` : e.length === 6 ? `FF${e.toUpperCase()}` : e.length === 8 ? `${e.slice(6, 8)}${e.slice(0, 6)}`.toUpperCase() : null;
|
|
2014
|
+
}
|
|
2015
|
+
let n = t.match(/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*([\d.]+)\s*)?\)/);
|
|
2016
|
+
if (n) {
|
|
2017
|
+
let e = parseInt(n[1]).toString(16).padStart(2, "0"), t = parseInt(n[2]).toString(16).padStart(2, "0"), r = parseInt(n[3]).toString(16).padStart(2, "0");
|
|
2018
|
+
return `${n[4] === void 0 ? "FF" : Math.round(parseFloat(n[4]) * 255).toString(16).padStart(2, "0")}${e}${t}${r}`.toUpperCase();
|
|
2019
|
+
}
|
|
2020
|
+
return null;
|
|
2021
|
+
}
|
|
2022
|
+
function en() {
|
|
2023
|
+
if (typeof document > "u") return Qt;
|
|
2024
|
+
let e = getComputedStyle(document.documentElement), t = e.getPropertyValue("--dc-primary").trim(), n = e.getPropertyValue("--dc-primary-content").trim(), r = e.getPropertyValue("--dc-border").trim();
|
|
2025
|
+
return {
|
|
2026
|
+
headerBg: $t(t) ?? Qt.headerBg,
|
|
2027
|
+
headerText: $t(n) ?? Qt.headerText,
|
|
2028
|
+
borderColor: $t(r) ?? Qt.borderColor
|
|
2029
|
+
};
|
|
2030
|
+
}
|
|
2031
|
+
function tn(e) {
|
|
2032
|
+
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);
|
|
2033
|
+
}
|
|
2034
|
+
function nn(e, t) {
|
|
2035
|
+
e.height = 18, e.eachCell((e) => {
|
|
2036
|
+
e.font = {
|
|
2037
|
+
bold: !0,
|
|
2038
|
+
color: { argb: t.headerText }
|
|
2039
|
+
}, e.fill = {
|
|
2040
|
+
type: "pattern",
|
|
2041
|
+
pattern: "solid",
|
|
2042
|
+
fgColor: { argb: t.headerBg }
|
|
2043
|
+
}, e.alignment = {
|
|
2044
|
+
vertical: "middle",
|
|
2045
|
+
horizontal: "center",
|
|
2046
|
+
wrapText: !0
|
|
2047
|
+
};
|
|
2048
|
+
});
|
|
2049
|
+
}
|
|
2050
|
+
function rn(e, t) {
|
|
2051
|
+
e.eachRow((e) => {
|
|
2052
|
+
e.eachCell((e) => {
|
|
2053
|
+
e.border = {
|
|
2054
|
+
top: {
|
|
2055
|
+
style: "thin",
|
|
2056
|
+
color: { argb: t.borderColor }
|
|
2057
|
+
},
|
|
2058
|
+
left: {
|
|
2059
|
+
style: "thin",
|
|
2060
|
+
color: { argb: t.borderColor }
|
|
2061
|
+
},
|
|
2062
|
+
bottom: {
|
|
2063
|
+
style: "thin",
|
|
2064
|
+
color: { argb: t.borderColor }
|
|
2065
|
+
},
|
|
2066
|
+
right: {
|
|
2067
|
+
style: "thin",
|
|
2068
|
+
color: { argb: t.borderColor }
|
|
2069
|
+
}
|
|
2070
|
+
}, e.alignment = {
|
|
2071
|
+
vertical: "top",
|
|
2072
|
+
wrapText: !0
|
|
2073
|
+
};
|
|
2074
|
+
});
|
|
2075
|
+
});
|
|
2076
|
+
}
|
|
2077
|
+
function an(e, t = []) {
|
|
2078
|
+
e.columns?.forEach((e, n) => {
|
|
2079
|
+
let r = t[n] ?? 10;
|
|
2080
|
+
e.eachCell?.({ includeEmpty: !0 }, (e) => {
|
|
2081
|
+
let t = String(e.value ?? "").length;
|
|
2082
|
+
t > r && (r = t);
|
|
2083
|
+
}), e.width = Math.min(Math.max(r + 2, t[n] ?? 10), 70);
|
|
2084
|
+
});
|
|
2085
|
+
}
|
|
2086
|
+
function on(e, t, n, r) {
|
|
2087
|
+
let i = e.addWorksheet(t);
|
|
2088
|
+
if (n.length === 0) {
|
|
2089
|
+
i.addRow(["No data available"]), an(i, [32]);
|
|
2090
|
+
return;
|
|
2091
|
+
}
|
|
2092
|
+
let a = Object.keys(n[0]);
|
|
2093
|
+
nn(i.addRow(a), r);
|
|
2094
|
+
for (let e of n) i.addRow(a.map((t) => tn(e[t])));
|
|
2095
|
+
i.views = [{
|
|
2096
|
+
state: "frozen",
|
|
2097
|
+
ySplit: 1
|
|
2098
|
+
}], i.autoFilter = {
|
|
2099
|
+
from: {
|
|
2100
|
+
row: 1,
|
|
2101
|
+
column: 1
|
|
2102
|
+
},
|
|
2103
|
+
to: {
|
|
2104
|
+
row: 1,
|
|
2105
|
+
column: a.length
|
|
2106
|
+
}
|
|
2107
|
+
}, rn(i, r), an(i);
|
|
2108
|
+
}
|
|
2109
|
+
function sn(e) {
|
|
2110
|
+
return e.replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").toLowerCase();
|
|
2111
|
+
}
|
|
2112
|
+
function cn(e, t) {
|
|
2113
|
+
let n = sn(e), r = /* @__PURE__ */ new Date();
|
|
2114
|
+
return `${n}-${`${r.getFullYear()}${String(r.getMonth() + 1).padStart(2, "0")}${String(r.getDate()).padStart(2, "0")}`}-${crypto.randomUUID().slice(0, 4).toUpperCase()}.${t}`;
|
|
2115
|
+
}
|
|
2116
|
+
async function ln() {
|
|
2117
|
+
if (Zt) return Xt;
|
|
2118
|
+
try {
|
|
2119
|
+
return Xt = await import("./exceljs.min-CcjgM-qg.js").then((t) => /* @__PURE__ */ e(t.default, 1)), Zt = !0, Xt;
|
|
2120
|
+
} catch {
|
|
2121
|
+
return Zt = !0, Xt = null, null;
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2124
|
+
async function un() {
|
|
2125
|
+
return typeof window > "u" ? !1 : await ln() !== null;
|
|
2126
|
+
}
|
|
2127
|
+
function dn(e) {
|
|
2128
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ || ln().then((e) => {
|
|
2129
|
+
!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);
|
|
2130
|
+
}));
|
|
2131
|
+
}
|
|
2132
|
+
function fn(e) {
|
|
2133
|
+
return !!e && typeof e == "object" && "nodes" in e && "links" in e && Array.isArray(e.nodes) && Array.isArray(e.links);
|
|
2134
|
+
}
|
|
2135
|
+
function pn(e) {
|
|
2136
|
+
return !!e && typeof e == "object" && "rows" in e && "periods" in e && Array.isArray(e.rows) && Array.isArray(e.periods);
|
|
2137
|
+
}
|
|
2138
|
+
function mn(e, t) {
|
|
2139
|
+
let n = new Blob([e], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), r = URL.createObjectURL(n), i = document.createElement("a");
|
|
2140
|
+
i.href = r, i.download = t, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(r);
|
|
2141
|
+
}
|
|
2142
|
+
async function hn(e, t) {
|
|
2143
|
+
let n = await ln();
|
|
2144
|
+
if (!n) return console.warn("[drizzle-cube] Cannot export: exceljs not available"), !1;
|
|
2145
|
+
try {
|
|
2146
|
+
let r = new n.Workbook(), i = en(), { data: a } = t;
|
|
2147
|
+
if (fn(a)) on(r, "Nodes", a.nodes, i), on(r, "Links", a.links, i);
|
|
2148
|
+
else if (pn(a)) on(r, e, a.rows, i);
|
|
2149
|
+
else if (Array.isArray(a)) on(r, e, a, i);
|
|
2150
|
+
else return console.warn("[drizzle-cube] Cannot export: unrecognized data format"), !1;
|
|
2151
|
+
return mn(await r.xlsx.writeBuffer(), cn(e || "export", "xlsx")), !0;
|
|
2152
|
+
} catch (e) {
|
|
2153
|
+
return console.error("[drizzle-cube] Failed to export XLSX:", e), !1;
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
//#endregion
|
|
2002
2157
|
//#region src/client/providers/CubeFeaturesProvider.tsx
|
|
2003
|
-
var
|
|
2158
|
+
var gn = de(null), _n = {
|
|
2004
2159
|
enableAI: !0,
|
|
2005
2160
|
aiEndpoint: "/api/ai/generate",
|
|
2006
2161
|
showSchemaDiagram: !1,
|
|
@@ -2008,20 +2163,22 @@ var Xt = ue(null), Zt = {
|
|
|
2008
2163
|
editToolbar: "both",
|
|
2009
2164
|
floatingToolbarPosition: "right"
|
|
2010
2165
|
};
|
|
2011
|
-
function
|
|
2012
|
-
let [r, i] =
|
|
2013
|
-
...
|
|
2166
|
+
function vn({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
|
|
2167
|
+
let [r, i] = T(() => ({
|
|
2168
|
+
..._n,
|
|
2014
2169
|
...e
|
|
2015
2170
|
}));
|
|
2016
|
-
|
|
2171
|
+
C(() => {
|
|
2017
2172
|
Ut(r.thumbnail);
|
|
2018
|
-
}, [r.thumbnail])
|
|
2019
|
-
|
|
2173
|
+
}, [r.thumbnail]), C(() => {
|
|
2174
|
+
dn(r.xlsExport);
|
|
2175
|
+
}, [r.xlsExport]);
|
|
2176
|
+
let a = S((e) => {
|
|
2020
2177
|
i((t) => ({
|
|
2021
2178
|
...t,
|
|
2022
2179
|
...e
|
|
2023
2180
|
}));
|
|
2024
|
-
}, []), o =
|
|
2181
|
+
}, []), o = w(() => ({
|
|
2025
2182
|
features: r,
|
|
2026
2183
|
dashboardModes: t,
|
|
2027
2184
|
updateFeatures: a
|
|
@@ -2030,22 +2187,22 @@ function Qt({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
|
|
|
2030
2187
|
t,
|
|
2031
2188
|
a
|
|
2032
2189
|
]);
|
|
2033
|
-
return /* @__PURE__ */
|
|
2190
|
+
return /* @__PURE__ */ E(gn.Provider, {
|
|
2034
2191
|
value: o,
|
|
2035
2192
|
children: n
|
|
2036
2193
|
});
|
|
2037
2194
|
}
|
|
2038
|
-
var
|
|
2039
|
-
features:
|
|
2195
|
+
var yn = {
|
|
2196
|
+
features: _n,
|
|
2040
2197
|
dashboardModes: ["rows", "grid"],
|
|
2041
2198
|
updateFeatures: () => {}
|
|
2042
2199
|
};
|
|
2043
|
-
function
|
|
2044
|
-
return he(
|
|
2200
|
+
function bn() {
|
|
2201
|
+
return he(gn) ?? yn;
|
|
2045
2202
|
}
|
|
2046
2203
|
//#endregion
|
|
2047
2204
|
//#region node_modules/@iconify/react/dist/iconify.js
|
|
2048
|
-
function
|
|
2205
|
+
function xn(e, t) {
|
|
2049
2206
|
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
2050
2207
|
function a(e) {
|
|
2051
2208
|
if (n[e]) return i[e] = [];
|
|
@@ -2058,82 +2215,82 @@ function tn(e, t) {
|
|
|
2058
2215
|
}
|
|
2059
2216
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
2060
2217
|
}
|
|
2061
|
-
var
|
|
2218
|
+
var Sn = Object.freeze({
|
|
2062
2219
|
left: 0,
|
|
2063
2220
|
top: 0,
|
|
2064
2221
|
width: 16,
|
|
2065
2222
|
height: 16
|
|
2066
|
-
}),
|
|
2223
|
+
}), Cn = Object.freeze({
|
|
2067
2224
|
rotate: 0,
|
|
2068
2225
|
vFlip: !1,
|
|
2069
2226
|
hFlip: !1
|
|
2070
|
-
}),
|
|
2071
|
-
...
|
|
2072
|
-
...
|
|
2073
|
-
}),
|
|
2074
|
-
...
|
|
2227
|
+
}), wn = Object.freeze({
|
|
2228
|
+
...Sn,
|
|
2229
|
+
...Cn
|
|
2230
|
+
}), Tn = Object.freeze({
|
|
2231
|
+
...wn,
|
|
2075
2232
|
body: "",
|
|
2076
2233
|
hidden: !1
|
|
2077
2234
|
});
|
|
2078
|
-
function
|
|
2235
|
+
function En(e, t) {
|
|
2079
2236
|
let n = {};
|
|
2080
2237
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
2081
2238
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2082
2239
|
return r && (n.rotate = r), n;
|
|
2083
2240
|
}
|
|
2084
|
-
function
|
|
2085
|
-
let n =
|
|
2086
|
-
for (let r in
|
|
2241
|
+
function Dn(e, t) {
|
|
2242
|
+
let n = En(e, t);
|
|
2243
|
+
for (let r in Tn) r in Cn ? r in e && !(r in n) && (n[r] = Cn[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
2087
2244
|
return n;
|
|
2088
2245
|
}
|
|
2089
|
-
function
|
|
2246
|
+
function On(e, t, n) {
|
|
2090
2247
|
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
2091
2248
|
function o(e) {
|
|
2092
|
-
a =
|
|
2249
|
+
a = Dn(r[e] || i[e], a);
|
|
2093
2250
|
}
|
|
2094
|
-
return o(t), n.forEach(o),
|
|
2251
|
+
return o(t), n.forEach(o), Dn(e, a);
|
|
2095
2252
|
}
|
|
2096
|
-
function
|
|
2253
|
+
function kn(e, t) {
|
|
2097
2254
|
let n = [];
|
|
2098
2255
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
2099
2256
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
2100
2257
|
t(e, null), n.push(e);
|
|
2101
2258
|
});
|
|
2102
|
-
let r =
|
|
2259
|
+
let r = xn(e);
|
|
2103
2260
|
for (let i in r) {
|
|
2104
2261
|
let a = r[i];
|
|
2105
|
-
a && (t(i,
|
|
2262
|
+
a && (t(i, On(e, i, a)), n.push(i));
|
|
2106
2263
|
}
|
|
2107
2264
|
return n;
|
|
2108
2265
|
}
|
|
2109
|
-
var
|
|
2266
|
+
var An = {
|
|
2110
2267
|
provider: "",
|
|
2111
2268
|
aliases: {},
|
|
2112
2269
|
not_found: {},
|
|
2113
|
-
...
|
|
2270
|
+
...Sn
|
|
2114
2271
|
};
|
|
2115
|
-
function
|
|
2272
|
+
function jn(e, t) {
|
|
2116
2273
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
2117
2274
|
return !0;
|
|
2118
2275
|
}
|
|
2119
|
-
function
|
|
2276
|
+
function Mn(e) {
|
|
2120
2277
|
if (typeof e != "object" || !e) return null;
|
|
2121
2278
|
let t = e;
|
|
2122
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
2279
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !jn(e, An)) return null;
|
|
2123
2280
|
let n = t.icons;
|
|
2124
2281
|
for (let e in n) {
|
|
2125
2282
|
let t = n[e];
|
|
2126
|
-
if (!e || typeof t.body != "string" || !
|
|
2283
|
+
if (!e || typeof t.body != "string" || !jn(t, Tn)) return null;
|
|
2127
2284
|
}
|
|
2128
2285
|
let r = t.aliases || Object.create(null);
|
|
2129
2286
|
for (let e in r) {
|
|
2130
2287
|
let t = r[e], i = t.parent;
|
|
2131
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !
|
|
2288
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !jn(t, Tn)) return null;
|
|
2132
2289
|
}
|
|
2133
2290
|
return t;
|
|
2134
2291
|
}
|
|
2135
|
-
var
|
|
2136
|
-
function
|
|
2292
|
+
var Nn = Object.create(null);
|
|
2293
|
+
function Pn(e, t) {
|
|
2137
2294
|
return {
|
|
2138
2295
|
provider: e,
|
|
2139
2296
|
prefix: t,
|
|
@@ -2141,22 +2298,22 @@ function hn(e, t) {
|
|
|
2141
2298
|
missing: /* @__PURE__ */ new Set()
|
|
2142
2299
|
};
|
|
2143
2300
|
}
|
|
2144
|
-
function
|
|
2145
|
-
let n =
|
|
2146
|
-
return n[t] || (n[t] =
|
|
2301
|
+
function V(e, t) {
|
|
2302
|
+
let n = Nn[e] || (Nn[e] = Object.create(null));
|
|
2303
|
+
return n[t] || (n[t] = Pn(e, t));
|
|
2147
2304
|
}
|
|
2148
|
-
function
|
|
2149
|
-
return
|
|
2305
|
+
function Fn(e, t) {
|
|
2306
|
+
return Mn(t) ? kn(t, (t, n) => {
|
|
2150
2307
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
2151
2308
|
}) : [];
|
|
2152
2309
|
}
|
|
2153
|
-
function
|
|
2310
|
+
function In(e, t, n) {
|
|
2154
2311
|
try {
|
|
2155
2312
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
2156
2313
|
} catch {}
|
|
2157
2314
|
return !1;
|
|
2158
2315
|
}
|
|
2159
|
-
var
|
|
2316
|
+
var Ln = /^[a-z0-9]+(-[a-z0-9]+)*$/, Rn = (e, t, n, r = "") => {
|
|
2160
2317
|
let i = e.split(":");
|
|
2161
2318
|
if (e.slice(0, 1) === "@") {
|
|
2162
2319
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -2169,7 +2326,7 @@ var vn = /^[a-z0-9]+(-[a-z0-9]+)*$/, yn = (e, t, n, r = "") => {
|
|
|
2169
2326
|
prefix: n,
|
|
2170
2327
|
name: e
|
|
2171
2328
|
};
|
|
2172
|
-
return t && !
|
|
2329
|
+
return t && !zn(a) ? null : a;
|
|
2173
2330
|
}
|
|
2174
2331
|
let a = i[0], o = a.split("-");
|
|
2175
2332
|
if (o.length > 1) {
|
|
@@ -2178,7 +2335,7 @@ var vn = /^[a-z0-9]+(-[a-z0-9]+)*$/, yn = (e, t, n, r = "") => {
|
|
|
2178
2335
|
prefix: o.shift(),
|
|
2179
2336
|
name: o.join("-")
|
|
2180
2337
|
};
|
|
2181
|
-
return t && !
|
|
2338
|
+
return t && !zn(e) ? null : e;
|
|
2182
2339
|
}
|
|
2183
2340
|
if (n && r === "") {
|
|
2184
2341
|
let e = {
|
|
@@ -2186,54 +2343,54 @@ var vn = /^[a-z0-9]+(-[a-z0-9]+)*$/, yn = (e, t, n, r = "") => {
|
|
|
2186
2343
|
prefix: "",
|
|
2187
2344
|
name: a
|
|
2188
2345
|
};
|
|
2189
|
-
return t && !
|
|
2346
|
+
return t && !zn(e, n) ? null : e;
|
|
2190
2347
|
}
|
|
2191
2348
|
return null;
|
|
2192
|
-
},
|
|
2193
|
-
function
|
|
2194
|
-
return typeof e == "boolean" && (
|
|
2349
|
+
}, zn = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, H = !1;
|
|
2350
|
+
function Bn(e) {
|
|
2351
|
+
return typeof e == "boolean" && (H = e), H;
|
|
2195
2352
|
}
|
|
2196
|
-
function
|
|
2197
|
-
let t = typeof e == "string" ?
|
|
2353
|
+
function Vn(e) {
|
|
2354
|
+
let t = typeof e == "string" ? Rn(e, !0, H) : e;
|
|
2198
2355
|
if (t) {
|
|
2199
|
-
let e =
|
|
2356
|
+
let e = V(t.provider, t.prefix), n = t.name;
|
|
2200
2357
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
2201
2358
|
}
|
|
2202
2359
|
}
|
|
2203
|
-
function
|
|
2204
|
-
let n =
|
|
2360
|
+
function Hn(e, t) {
|
|
2361
|
+
let n = Rn(e, !0, H);
|
|
2205
2362
|
if (!n) return !1;
|
|
2206
|
-
let r =
|
|
2207
|
-
return t ?
|
|
2363
|
+
let r = V(n.provider, n.prefix);
|
|
2364
|
+
return t ? In(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
2208
2365
|
}
|
|
2209
|
-
function
|
|
2366
|
+
function Un(e, t) {
|
|
2210
2367
|
if (typeof e != "object") return !1;
|
|
2211
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
|
2368
|
+
if (typeof t != "string" && (t = e.provider || ""), H && !t && !e.prefix) {
|
|
2212
2369
|
let t = !1;
|
|
2213
|
-
return
|
|
2214
|
-
|
|
2370
|
+
return Mn(e) && (e.prefix = "", kn(e, (e, n) => {
|
|
2371
|
+
Hn(e, n) && (t = !0);
|
|
2215
2372
|
})), t;
|
|
2216
2373
|
}
|
|
2217
2374
|
let n = e.prefix;
|
|
2218
|
-
return
|
|
2375
|
+
return zn({
|
|
2219
2376
|
prefix: n,
|
|
2220
2377
|
name: "a"
|
|
2221
|
-
}) ? !!
|
|
2378
|
+
}) ? !!Fn(V(t, n), e) : !1;
|
|
2222
2379
|
}
|
|
2223
|
-
var
|
|
2380
|
+
var Wn = Object.freeze({
|
|
2224
2381
|
width: null,
|
|
2225
2382
|
height: null
|
|
2226
|
-
}),
|
|
2227
|
-
...
|
|
2228
|
-
...
|
|
2229
|
-
}),
|
|
2230
|
-
function
|
|
2383
|
+
}), Gn = Object.freeze({
|
|
2384
|
+
...Wn,
|
|
2385
|
+
...Cn
|
|
2386
|
+
}), Kn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, qn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2387
|
+
function Jn(e, t, n) {
|
|
2231
2388
|
if (t === 1) return e;
|
|
2232
2389
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
2233
2390
|
if (typeof e != "string") return e;
|
|
2234
|
-
let r = e.split(
|
|
2391
|
+
let r = e.split(Kn);
|
|
2235
2392
|
if (r === null || !r.length) return e;
|
|
2236
|
-
let i = [], a = r.shift(), o =
|
|
2393
|
+
let i = [], a = r.shift(), o = qn.test(a);
|
|
2237
2394
|
for (;;) {
|
|
2238
2395
|
if (o) {
|
|
2239
2396
|
let e = parseFloat(a);
|
|
@@ -2243,7 +2400,7 @@ function kn(e, t, n) {
|
|
|
2243
2400
|
o = !o;
|
|
2244
2401
|
}
|
|
2245
2402
|
}
|
|
2246
|
-
function
|
|
2403
|
+
function Yn(e, t = "defs") {
|
|
2247
2404
|
let n = "", r = e.indexOf("<" + t);
|
|
2248
2405
|
for (; r >= 0;) {
|
|
2249
2406
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -2257,20 +2414,20 @@ function An(e, t = "defs") {
|
|
|
2257
2414
|
content: e
|
|
2258
2415
|
};
|
|
2259
2416
|
}
|
|
2260
|
-
function
|
|
2417
|
+
function Xn(e, t) {
|
|
2261
2418
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2262
2419
|
}
|
|
2263
|
-
function
|
|
2264
|
-
let r =
|
|
2265
|
-
return
|
|
2420
|
+
function Zn(e, t, n) {
|
|
2421
|
+
let r = Yn(e);
|
|
2422
|
+
return Xn(r.defs, t + r.content + n);
|
|
2266
2423
|
}
|
|
2267
|
-
var
|
|
2268
|
-
function
|
|
2424
|
+
var Qn = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2425
|
+
function $n(e, t) {
|
|
2269
2426
|
let n = {
|
|
2270
|
-
...
|
|
2427
|
+
...wn,
|
|
2271
2428
|
...e
|
|
2272
2429
|
}, r = {
|
|
2273
|
-
...
|
|
2430
|
+
...Gn,
|
|
2274
2431
|
...t
|
|
2275
2432
|
}, i = {
|
|
2276
2433
|
left: n.left,
|
|
@@ -2293,12 +2450,12 @@ function Pn(e, t) {
|
|
|
2293
2450
|
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
2294
2451
|
break;
|
|
2295
2452
|
}
|
|
2296
|
-
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 =
|
|
2453
|
+
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 = Zn(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
2297
2454
|
});
|
|
2298
2455
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
2299
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
2456
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = Jn(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? Jn(u, l / c) : s === "auto" ? l : s);
|
|
2300
2457
|
let f = {}, p = (e, t) => {
|
|
2301
|
-
|
|
2458
|
+
Qn(t) || (f[e] = t.toString());
|
|
2302
2459
|
};
|
|
2303
2460
|
p("width", u), p("height", d);
|
|
2304
2461
|
let m = [
|
|
@@ -2313,25 +2470,25 @@ function Pn(e, t) {
|
|
|
2313
2470
|
body: a
|
|
2314
2471
|
};
|
|
2315
2472
|
}
|
|
2316
|
-
var
|
|
2317
|
-
function
|
|
2473
|
+
var er = /\sid="(\S+)"/g, tr = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), nr = 0;
|
|
2474
|
+
function rr(e, t = tr) {
|
|
2318
2475
|
let n = [], r;
|
|
2319
|
-
for (; r =
|
|
2476
|
+
for (; r = er.exec(e);) n.push(r[1]);
|
|
2320
2477
|
if (!n.length) return e;
|
|
2321
2478
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2322
2479
|
return n.forEach((n) => {
|
|
2323
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
2480
|
+
let r = typeof t == "function" ? t(n) : t + (nr++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2324
2481
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
2325
2482
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
2326
2483
|
}
|
|
2327
|
-
var
|
|
2328
|
-
function
|
|
2329
|
-
|
|
2484
|
+
var ir = Object.create(null);
|
|
2485
|
+
function ar(e, t) {
|
|
2486
|
+
ir[e] = t;
|
|
2330
2487
|
}
|
|
2331
|
-
function
|
|
2332
|
-
return
|
|
2488
|
+
function or(e) {
|
|
2489
|
+
return ir[e] || ir[""];
|
|
2333
2490
|
}
|
|
2334
|
-
function
|
|
2491
|
+
function sr(e) {
|
|
2335
2492
|
let t;
|
|
2336
2493
|
if (typeof e.resources == "string") t = [e.resources];
|
|
2337
2494
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -2346,23 +2503,23 @@ function Hn(e) {
|
|
|
2346
2503
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
2347
2504
|
};
|
|
2348
2505
|
}
|
|
2349
|
-
for (var
|
|
2350
|
-
|
|
2351
|
-
function
|
|
2352
|
-
let n =
|
|
2353
|
-
return n === null ? !1 : (
|
|
2506
|
+
for (var cr = Object.create(null), lr = ["https://api.simplesvg.com", "https://api.unisvg.com"], ur = []; lr.length > 0;) ur.push(lr.length === 1 || Math.random() > .5 ? lr.shift() : lr.pop());
|
|
2507
|
+
cr[""] = sr({ resources: ["https://api.iconify.design"].concat(ur) });
|
|
2508
|
+
function dr(e, t) {
|
|
2509
|
+
let n = sr(t);
|
|
2510
|
+
return n === null ? !1 : (cr[e] = n, !0);
|
|
2354
2511
|
}
|
|
2355
|
-
function
|
|
2356
|
-
return
|
|
2512
|
+
function fr(e) {
|
|
2513
|
+
return cr[e];
|
|
2357
2514
|
}
|
|
2358
|
-
var
|
|
2515
|
+
var pr = (() => {
|
|
2359
2516
|
let e;
|
|
2360
2517
|
try {
|
|
2361
2518
|
if (e = fetch, typeof e == "function") return e;
|
|
2362
2519
|
} catch {}
|
|
2363
2520
|
})();
|
|
2364
|
-
function
|
|
2365
|
-
let n =
|
|
2521
|
+
function mr(e, t) {
|
|
2522
|
+
let n = fr(e);
|
|
2366
2523
|
if (!n) return 0;
|
|
2367
2524
|
let r;
|
|
2368
2525
|
if (!n.maxURL) r = 0;
|
|
@@ -2376,11 +2533,11 @@ function Yn(e, t) {
|
|
|
2376
2533
|
}
|
|
2377
2534
|
return r;
|
|
2378
2535
|
}
|
|
2379
|
-
function
|
|
2536
|
+
function hr(e) {
|
|
2380
2537
|
return e === 404;
|
|
2381
2538
|
}
|
|
2382
|
-
var
|
|
2383
|
-
let r = [], i =
|
|
2539
|
+
var gr = (e, t, n) => {
|
|
2540
|
+
let r = [], i = mr(e, t), a = "icons", o = {
|
|
2384
2541
|
type: a,
|
|
2385
2542
|
provider: e,
|
|
2386
2543
|
prefix: t,
|
|
@@ -2395,21 +2552,21 @@ var Zn = (e, t, n) => {
|
|
|
2395
2552
|
}, s = n.length), o.icons.push(n);
|
|
2396
2553
|
}), r.push(o), r;
|
|
2397
2554
|
};
|
|
2398
|
-
function
|
|
2555
|
+
function _r(e) {
|
|
2399
2556
|
if (typeof e == "string") {
|
|
2400
|
-
let t =
|
|
2557
|
+
let t = fr(e);
|
|
2401
2558
|
if (t) return t.path;
|
|
2402
2559
|
}
|
|
2403
2560
|
return "/";
|
|
2404
2561
|
}
|
|
2405
|
-
var
|
|
2406
|
-
prepare:
|
|
2562
|
+
var vr = {
|
|
2563
|
+
prepare: gr,
|
|
2407
2564
|
send: (e, t, n) => {
|
|
2408
|
-
if (!
|
|
2565
|
+
if (!pr) {
|
|
2409
2566
|
n("abort", 424);
|
|
2410
2567
|
return;
|
|
2411
2568
|
}
|
|
2412
|
-
let r =
|
|
2569
|
+
let r = _r(t.provider);
|
|
2413
2570
|
switch (t.type) {
|
|
2414
2571
|
case "icons": {
|
|
2415
2572
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -2426,11 +2583,11 @@ var $n = {
|
|
|
2426
2583
|
return;
|
|
2427
2584
|
}
|
|
2428
2585
|
let i = 503;
|
|
2429
|
-
|
|
2586
|
+
pr(e + r).then((e) => {
|
|
2430
2587
|
let t = e.status;
|
|
2431
2588
|
if (t !== 200) {
|
|
2432
2589
|
setTimeout(() => {
|
|
2433
|
-
n(
|
|
2590
|
+
n(hr(t) ? "abort" : "next", t);
|
|
2434
2591
|
});
|
|
2435
2592
|
return;
|
|
2436
2593
|
}
|
|
@@ -2450,13 +2607,13 @@ var $n = {
|
|
|
2450
2607
|
});
|
|
2451
2608
|
}
|
|
2452
2609
|
};
|
|
2453
|
-
function
|
|
2610
|
+
function yr(e, t) {
|
|
2454
2611
|
e.forEach((e) => {
|
|
2455
2612
|
let n = e.loaderCallbacks;
|
|
2456
2613
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
2457
2614
|
});
|
|
2458
2615
|
}
|
|
2459
|
-
function
|
|
2616
|
+
function br(e) {
|
|
2460
2617
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
2461
2618
|
e.pendingCallbacksFlag = !1;
|
|
2462
2619
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -2479,13 +2636,13 @@ function tr(e) {
|
|
|
2479
2636
|
});
|
|
2480
2637
|
else return n = !0, !0;
|
|
2481
2638
|
return !1;
|
|
2482
|
-
}), a.pending.length !== o && (n ||
|
|
2639
|
+
}), a.pending.length !== o && (n || yr([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
2483
2640
|
});
|
|
2484
2641
|
}));
|
|
2485
2642
|
}
|
|
2486
|
-
var
|
|
2487
|
-
function
|
|
2488
|
-
let r =
|
|
2643
|
+
var xr = 0;
|
|
2644
|
+
function Sr(e, t, n) {
|
|
2645
|
+
let r = xr++, i = yr.bind(null, n, r);
|
|
2489
2646
|
if (!t.pending.length) return i;
|
|
2490
2647
|
let a = {
|
|
2491
2648
|
id: r,
|
|
@@ -2497,7 +2654,7 @@ function rr(e, t, n) {
|
|
|
2497
2654
|
(e.loaderCallbacks ||= []).push(a);
|
|
2498
2655
|
}), i;
|
|
2499
2656
|
}
|
|
2500
|
-
function
|
|
2657
|
+
function Cr(e) {
|
|
2501
2658
|
let t = {
|
|
2502
2659
|
loaded: [],
|
|
2503
2660
|
missing: [],
|
|
@@ -2512,7 +2669,7 @@ function ir(e) {
|
|
|
2512
2669
|
return e.forEach((e) => {
|
|
2513
2670
|
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
2514
2671
|
r = e;
|
|
2515
|
-
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] =
|
|
2672
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = V(i, a)), l;
|
|
2516
2673
|
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending, l.push({
|
|
2517
2674
|
provider: i,
|
|
2518
2675
|
prefix: a,
|
|
@@ -2520,14 +2677,14 @@ function ir(e) {
|
|
|
2520
2677
|
});
|
|
2521
2678
|
}), t;
|
|
2522
2679
|
}
|
|
2523
|
-
function
|
|
2680
|
+
function wr(e, t = !0, n = !1) {
|
|
2524
2681
|
let r = [];
|
|
2525
2682
|
return e.forEach((e) => {
|
|
2526
|
-
let i = typeof e == "string" ?
|
|
2683
|
+
let i = typeof e == "string" ? Rn(e, t, n) : e;
|
|
2527
2684
|
i && r.push(i);
|
|
2528
2685
|
}), r;
|
|
2529
2686
|
}
|
|
2530
|
-
var
|
|
2687
|
+
var Tr = {
|
|
2531
2688
|
resources: [],
|
|
2532
2689
|
index: 0,
|
|
2533
2690
|
timeout: 2e3,
|
|
@@ -2535,7 +2692,7 @@ var or = {
|
|
|
2535
2692
|
random: !1,
|
|
2536
2693
|
dataAfterTimeout: !1
|
|
2537
2694
|
};
|
|
2538
|
-
function
|
|
2695
|
+
function Er(e, t, n, r) {
|
|
2539
2696
|
let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
|
|
2540
2697
|
if (e.random) {
|
|
2541
2698
|
let t = e.resources.slice(0);
|
|
@@ -2629,16 +2786,16 @@ function sr(e, t, n, r) {
|
|
|
2629
2786
|
}
|
|
2630
2787
|
return setTimeout(y), g;
|
|
2631
2788
|
}
|
|
2632
|
-
function
|
|
2789
|
+
function Dr(e) {
|
|
2633
2790
|
let t = {
|
|
2634
|
-
...
|
|
2791
|
+
...Tr,
|
|
2635
2792
|
...e
|
|
2636
2793
|
}, n = [];
|
|
2637
2794
|
function r() {
|
|
2638
2795
|
n = n.filter((e) => e().status === "pending");
|
|
2639
2796
|
}
|
|
2640
2797
|
function i(e, i, a) {
|
|
2641
|
-
let o =
|
|
2798
|
+
let o = Er(t, e, i, (e, t) => {
|
|
2642
2799
|
r(), a && a(e, t);
|
|
2643
2800
|
});
|
|
2644
2801
|
return n.push(o), o;
|
|
@@ -2656,53 +2813,53 @@ function cr(e) {
|
|
|
2656
2813
|
cleanup: r
|
|
2657
2814
|
};
|
|
2658
2815
|
}
|
|
2659
|
-
function
|
|
2660
|
-
var
|
|
2661
|
-
function
|
|
2662
|
-
if (!
|
|
2663
|
-
let t =
|
|
2816
|
+
function Or() {}
|
|
2817
|
+
var kr = Object.create(null);
|
|
2818
|
+
function Ar(e) {
|
|
2819
|
+
if (!kr[e]) {
|
|
2820
|
+
let t = fr(e);
|
|
2664
2821
|
if (!t) return;
|
|
2665
|
-
|
|
2822
|
+
kr[e] = {
|
|
2666
2823
|
config: t,
|
|
2667
|
-
redundancy:
|
|
2824
|
+
redundancy: Dr(t)
|
|
2668
2825
|
};
|
|
2669
2826
|
}
|
|
2670
|
-
return
|
|
2827
|
+
return kr[e];
|
|
2671
2828
|
}
|
|
2672
|
-
function
|
|
2829
|
+
function jr(e, t, n) {
|
|
2673
2830
|
let r, i;
|
|
2674
2831
|
if (typeof e == "string") {
|
|
2675
|
-
let t =
|
|
2676
|
-
if (!t) return n(void 0, 424),
|
|
2832
|
+
let t = or(e);
|
|
2833
|
+
if (!t) return n(void 0, 424), Or;
|
|
2677
2834
|
i = t.send;
|
|
2678
|
-
let a =
|
|
2835
|
+
let a = Ar(e);
|
|
2679
2836
|
a && (r = a.redundancy);
|
|
2680
2837
|
} else {
|
|
2681
|
-
let t =
|
|
2838
|
+
let t = sr(e);
|
|
2682
2839
|
if (t) {
|
|
2683
|
-
r =
|
|
2684
|
-
let n =
|
|
2840
|
+
r = Dr(t);
|
|
2841
|
+
let n = or(e.resources ? e.resources[0] : "");
|
|
2685
2842
|
n && (i = n.send);
|
|
2686
2843
|
}
|
|
2687
2844
|
}
|
|
2688
|
-
return !r || !i ? (n(void 0, 424),
|
|
2845
|
+
return !r || !i ? (n(void 0, 424), Or) : r.query(t, i, n)().abort;
|
|
2689
2846
|
}
|
|
2690
|
-
function
|
|
2691
|
-
function
|
|
2847
|
+
function Mr() {}
|
|
2848
|
+
function Nr(e) {
|
|
2692
2849
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
2693
|
-
e.iconsLoaderFlag = !1,
|
|
2850
|
+
e.iconsLoaderFlag = !1, br(e);
|
|
2694
2851
|
}));
|
|
2695
2852
|
}
|
|
2696
|
-
function
|
|
2853
|
+
function Pr(e) {
|
|
2697
2854
|
let t = [], n = [];
|
|
2698
2855
|
return e.forEach((e) => {
|
|
2699
|
-
(e.match(
|
|
2856
|
+
(e.match(Ln) ? t : n).push(e);
|
|
2700
2857
|
}), {
|
|
2701
2858
|
valid: t,
|
|
2702
2859
|
invalid: n
|
|
2703
2860
|
};
|
|
2704
2861
|
}
|
|
2705
|
-
function
|
|
2862
|
+
function U(e, t, n) {
|
|
2706
2863
|
function r() {
|
|
2707
2864
|
let n = e.pendingIcons;
|
|
2708
2865
|
t.forEach((t) => {
|
|
@@ -2710,38 +2867,38 @@ function H(e, t, n) {
|
|
|
2710
2867
|
});
|
|
2711
2868
|
}
|
|
2712
2869
|
if (n && typeof n == "object") try {
|
|
2713
|
-
if (!
|
|
2870
|
+
if (!Fn(e, n).length) {
|
|
2714
2871
|
r();
|
|
2715
2872
|
return;
|
|
2716
2873
|
}
|
|
2717
2874
|
} catch (e) {
|
|
2718
2875
|
console.error(e);
|
|
2719
2876
|
}
|
|
2720
|
-
r(),
|
|
2877
|
+
r(), Nr(e);
|
|
2721
2878
|
}
|
|
2722
|
-
function
|
|
2879
|
+
function Fr(e, t) {
|
|
2723
2880
|
e instanceof Promise ? e.then((e) => {
|
|
2724
2881
|
t(e);
|
|
2725
2882
|
}).catch(() => {
|
|
2726
2883
|
t(null);
|
|
2727
2884
|
}) : t(e);
|
|
2728
2885
|
}
|
|
2729
|
-
function
|
|
2886
|
+
function Ir(e, t) {
|
|
2730
2887
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
2731
2888
|
e.iconsQueueFlag = !1;
|
|
2732
2889
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
2733
2890
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
2734
2891
|
let i = e.loadIcon;
|
|
2735
2892
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
2736
|
-
|
|
2737
|
-
|
|
2893
|
+
Fr(e.loadIcons(r, n, t), (t) => {
|
|
2894
|
+
U(e, r, t);
|
|
2738
2895
|
});
|
|
2739
2896
|
return;
|
|
2740
2897
|
}
|
|
2741
2898
|
if (i) {
|
|
2742
2899
|
r.forEach((r) => {
|
|
2743
|
-
|
|
2744
|
-
|
|
2900
|
+
Fr(i(r, n, t), (t) => {
|
|
2901
|
+
U(e, [r], t ? {
|
|
2745
2902
|
prefix: n,
|
|
2746
2903
|
icons: { [r]: t }
|
|
2747
2904
|
} : null);
|
|
@@ -2749,26 +2906,26 @@ function _r(e, t) {
|
|
|
2749
2906
|
});
|
|
2750
2907
|
return;
|
|
2751
2908
|
}
|
|
2752
|
-
let { valid: a, invalid: o } =
|
|
2753
|
-
if (o.length &&
|
|
2754
|
-
let s = n.match(
|
|
2909
|
+
let { valid: a, invalid: o } = Pr(r);
|
|
2910
|
+
if (o.length && U(e, o, null), !a.length) return;
|
|
2911
|
+
let s = n.match(Ln) ? or(t) : null;
|
|
2755
2912
|
if (!s) {
|
|
2756
|
-
|
|
2913
|
+
U(e, a, null);
|
|
2757
2914
|
return;
|
|
2758
2915
|
}
|
|
2759
2916
|
s.prepare(t, n, a).forEach((n) => {
|
|
2760
|
-
|
|
2761
|
-
|
|
2917
|
+
jr(t, n, (t) => {
|
|
2918
|
+
U(e, n.icons, t);
|
|
2762
2919
|
});
|
|
2763
2920
|
});
|
|
2764
2921
|
}));
|
|
2765
2922
|
}
|
|
2766
|
-
var
|
|
2767
|
-
let n =
|
|
2923
|
+
var Lr = (e, t) => {
|
|
2924
|
+
let n = Cr(wr(e, !0, Bn()));
|
|
2768
2925
|
if (!n.pending.length) {
|
|
2769
2926
|
let e = !0;
|
|
2770
2927
|
return t && setTimeout(() => {
|
|
2771
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
2928
|
+
e && t(n.loaded, n.missing, n.pending, Mr);
|
|
2772
2929
|
}), () => {
|
|
2773
2930
|
e = !1;
|
|
2774
2931
|
};
|
|
@@ -2777,28 +2934,28 @@ var vr = (e, t) => {
|
|
|
2777
2934
|
return n.pending.forEach((e) => {
|
|
2778
2935
|
let { provider: t, prefix: n } = e;
|
|
2779
2936
|
if (n === o && t === a) return;
|
|
2780
|
-
a = t, o = n, i.push(
|
|
2937
|
+
a = t, o = n, i.push(V(t, n));
|
|
2781
2938
|
let s = r[t] || (r[t] = Object.create(null));
|
|
2782
2939
|
s[n] || (s[n] = []);
|
|
2783
2940
|
}), n.pending.forEach((e) => {
|
|
2784
|
-
let { provider: t, prefix: n, name: i } = e, a =
|
|
2941
|
+
let { provider: t, prefix: n, name: i } = e, a = V(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
2785
2942
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
2786
2943
|
}), i.forEach((e) => {
|
|
2787
2944
|
let t = r[e.provider][e.prefix];
|
|
2788
|
-
t.length &&
|
|
2789
|
-
}), t ?
|
|
2945
|
+
t.length && Ir(e, t);
|
|
2946
|
+
}), t ? Sr(t, n, i) : Mr;
|
|
2790
2947
|
};
|
|
2791
|
-
function
|
|
2948
|
+
function Rr(e, t) {
|
|
2792
2949
|
let n = { ...e };
|
|
2793
2950
|
for (let e in t) {
|
|
2794
2951
|
let r = t[e], i = typeof r;
|
|
2795
|
-
e in
|
|
2952
|
+
e in Wn ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
2796
2953
|
}
|
|
2797
2954
|
return n;
|
|
2798
2955
|
}
|
|
2799
|
-
var
|
|
2800
|
-
function
|
|
2801
|
-
t.split(
|
|
2956
|
+
var zr = /[\s,]+/;
|
|
2957
|
+
function Br(e, t) {
|
|
2958
|
+
t.split(zr).forEach((t) => {
|
|
2802
2959
|
switch (t.trim()) {
|
|
2803
2960
|
case "horizontal":
|
|
2804
2961
|
e.hFlip = !0;
|
|
@@ -2809,7 +2966,7 @@ function xr(e, t) {
|
|
|
2809
2966
|
}
|
|
2810
2967
|
});
|
|
2811
2968
|
}
|
|
2812
|
-
function
|
|
2969
|
+
function Vr(e, t = 0) {
|
|
2813
2970
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
2814
2971
|
function r(e) {
|
|
2815
2972
|
for (; e < 0;) e += 4;
|
|
@@ -2833,63 +2990,63 @@ function Sr(e, t = 0) {
|
|
|
2833
2990
|
}
|
|
2834
2991
|
return t;
|
|
2835
2992
|
}
|
|
2836
|
-
function
|
|
2993
|
+
function Hr(e, t) {
|
|
2837
2994
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
2838
2995
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
2839
2996
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
2840
2997
|
}
|
|
2841
|
-
function
|
|
2998
|
+
function Ur(e) {
|
|
2842
2999
|
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
2843
3000
|
}
|
|
2844
|
-
function
|
|
2845
|
-
return "data:image/svg+xml," +
|
|
3001
|
+
function Wr(e) {
|
|
3002
|
+
return "data:image/svg+xml," + Ur(e);
|
|
2846
3003
|
}
|
|
2847
|
-
function
|
|
2848
|
-
return "url(\"" +
|
|
3004
|
+
function Gr(e) {
|
|
3005
|
+
return "url(\"" + Wr(e) + "\")";
|
|
2849
3006
|
}
|
|
2850
|
-
var
|
|
2851
|
-
function
|
|
3007
|
+
var W;
|
|
3008
|
+
function Kr() {
|
|
2852
3009
|
try {
|
|
2853
|
-
|
|
3010
|
+
W = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
|
|
2854
3011
|
} catch {
|
|
2855
|
-
|
|
3012
|
+
W = null;
|
|
2856
3013
|
}
|
|
2857
3014
|
}
|
|
2858
|
-
function
|
|
2859
|
-
return
|
|
3015
|
+
function qr(e) {
|
|
3016
|
+
return W === void 0 && Kr(), W ? W.createHTML(e) : e;
|
|
2860
3017
|
}
|
|
2861
|
-
var
|
|
2862
|
-
...
|
|
3018
|
+
var Jr = {
|
|
3019
|
+
...Gn,
|
|
2863
3020
|
inline: !1
|
|
2864
|
-
},
|
|
3021
|
+
}, Yr = {
|
|
2865
3022
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2866
3023
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2867
3024
|
"aria-hidden": !0,
|
|
2868
3025
|
role: "img"
|
|
2869
|
-
},
|
|
3026
|
+
}, Xr = { display: "inline-block" }, Zr = { backgroundColor: "currentColor" }, Qr = { backgroundColor: "transparent" }, $r = {
|
|
2870
3027
|
Image: "var(--svg)",
|
|
2871
3028
|
Repeat: "no-repeat",
|
|
2872
3029
|
Size: "100% 100%"
|
|
2873
|
-
},
|
|
2874
|
-
WebkitMask:
|
|
2875
|
-
mask:
|
|
2876
|
-
background:
|
|
3030
|
+
}, ei = {
|
|
3031
|
+
WebkitMask: Zr,
|
|
3032
|
+
mask: Zr,
|
|
3033
|
+
background: Qr
|
|
2877
3034
|
};
|
|
2878
|
-
for (let e in
|
|
2879
|
-
let t =
|
|
2880
|
-
for (let n in
|
|
3035
|
+
for (let e in ei) {
|
|
3036
|
+
let t = ei[e];
|
|
3037
|
+
for (let n in $r) t[e + n] = $r[n];
|
|
2881
3038
|
}
|
|
2882
|
-
var
|
|
2883
|
-
...
|
|
3039
|
+
var ti = {
|
|
3040
|
+
...Jr,
|
|
2884
3041
|
inline: !0
|
|
2885
3042
|
};
|
|
2886
|
-
function
|
|
3043
|
+
function ni(e) {
|
|
2887
3044
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
2888
3045
|
}
|
|
2889
|
-
var
|
|
2890
|
-
let r = t.inline ?
|
|
3046
|
+
var ri = (e, t, n) => {
|
|
3047
|
+
let r = t.inline ? ti : Jr, i = Rr(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? Yr : {} };
|
|
2891
3048
|
if (n) {
|
|
2892
|
-
let e =
|
|
3049
|
+
let e = Rn(n, !1, !0);
|
|
2893
3050
|
if (e) {
|
|
2894
3051
|
let t = ["iconify"];
|
|
2895
3052
|
for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
|
|
@@ -2918,13 +3075,13 @@ var Rr = (e, t, n) => {
|
|
|
2918
3075
|
i[e] = n === !0 || n === "true" || n === 1;
|
|
2919
3076
|
break;
|
|
2920
3077
|
case "flip":
|
|
2921
|
-
typeof n == "string" &&
|
|
3078
|
+
typeof n == "string" && Br(i, n);
|
|
2922
3079
|
break;
|
|
2923
3080
|
case "color":
|
|
2924
3081
|
o.color = n;
|
|
2925
3082
|
break;
|
|
2926
3083
|
case "rotate":
|
|
2927
|
-
typeof n == "string" ? i[e] =
|
|
3084
|
+
typeof n == "string" ? i[e] = Vr(n) : typeof n == "number" && (i[e] = n);
|
|
2928
3085
|
break;
|
|
2929
3086
|
case "ariaHidden":
|
|
2930
3087
|
case "aria-hidden":
|
|
@@ -2933,37 +3090,37 @@ var Rr = (e, t, n) => {
|
|
|
2933
3090
|
default: r[e] === void 0 && (c[e] = n);
|
|
2934
3091
|
}
|
|
2935
3092
|
}
|
|
2936
|
-
let l =
|
|
3093
|
+
let l = $n(e, i), u = l.attributes;
|
|
2937
3094
|
if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
2938
3095
|
c.style = {
|
|
2939
3096
|
...o,
|
|
2940
3097
|
...s
|
|
2941
3098
|
}, Object.assign(c, u);
|
|
2942
3099
|
let e = 0, n = t.id;
|
|
2943
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html:
|
|
3100
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: qr(rr(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, fe("svg", c);
|
|
2944
3101
|
}
|
|
2945
|
-
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h =
|
|
3102
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = Hr(d, {
|
|
2946
3103
|
...u,
|
|
2947
3104
|
width: f + "",
|
|
2948
3105
|
height: p + ""
|
|
2949
3106
|
});
|
|
2950
3107
|
return c.style = {
|
|
2951
3108
|
...o,
|
|
2952
|
-
"--svg":
|
|
2953
|
-
width:
|
|
2954
|
-
height:
|
|
2955
|
-
...
|
|
2956
|
-
...m ?
|
|
3109
|
+
"--svg": Gr(h),
|
|
3110
|
+
width: ni(u.width),
|
|
3111
|
+
height: ni(u.height),
|
|
3112
|
+
...Xr,
|
|
3113
|
+
...m ? Zr : Qr,
|
|
2957
3114
|
...s
|
|
2958
|
-
},
|
|
3115
|
+
}, fe("span", c);
|
|
2959
3116
|
};
|
|
2960
|
-
if (
|
|
3117
|
+
if (Bn(!0), ar("", vr), typeof document < "u" && typeof window < "u") {
|
|
2961
3118
|
let e = window;
|
|
2962
3119
|
if (e.IconifyPreload !== void 0) {
|
|
2963
3120
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
2964
3121
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
2965
3122
|
try {
|
|
2966
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
3123
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Un(e)) && console.error(n);
|
|
2967
3124
|
} catch {
|
|
2968
3125
|
console.error(n);
|
|
2969
3126
|
}
|
|
@@ -2976,15 +3133,15 @@ if (xn(!0), Bn("", $n), typeof document < "u" && typeof window < "u") {
|
|
|
2976
3133
|
try {
|
|
2977
3134
|
let r = t[e];
|
|
2978
3135
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
2979
|
-
|
|
3136
|
+
dr(e, r) || console.error(n);
|
|
2980
3137
|
} catch {
|
|
2981
3138
|
console.error(n);
|
|
2982
3139
|
}
|
|
2983
3140
|
}
|
|
2984
3141
|
}
|
|
2985
3142
|
}
|
|
2986
|
-
function
|
|
2987
|
-
let [t, n] =
|
|
3143
|
+
function ii(e) {
|
|
3144
|
+
let [t, n] = T(!!e.ssr), [r, i] = T({});
|
|
2988
3145
|
function a(t) {
|
|
2989
3146
|
if (t) {
|
|
2990
3147
|
let t = e.icon;
|
|
@@ -2992,7 +3149,7 @@ function zr(e) {
|
|
|
2992
3149
|
name: "",
|
|
2993
3150
|
data: t
|
|
2994
3151
|
};
|
|
2995
|
-
let n =
|
|
3152
|
+
let n = Vn(t);
|
|
2996
3153
|
if (n) return {
|
|
2997
3154
|
name: t,
|
|
2998
3155
|
data: n
|
|
@@ -3000,7 +3157,7 @@ function zr(e) {
|
|
|
3000
3157
|
}
|
|
3001
3158
|
return { name: "" };
|
|
3002
3159
|
}
|
|
3003
|
-
let [o, s] =
|
|
3160
|
+
let [o, s] = T(a(!!e.ssr));
|
|
3004
3161
|
function c() {
|
|
3005
3162
|
let e = r.callback;
|
|
3006
3163
|
e && (e(), i({}));
|
|
@@ -3018,473 +3175,478 @@ function zr(e) {
|
|
|
3018
3175
|
});
|
|
3019
3176
|
return;
|
|
3020
3177
|
}
|
|
3021
|
-
let r =
|
|
3178
|
+
let r = Vn(n);
|
|
3022
3179
|
l({
|
|
3023
3180
|
name: n,
|
|
3024
3181
|
data: r
|
|
3025
|
-
}) && (r === void 0 ? i({ callback:
|
|
3182
|
+
}) && (r === void 0 ? i({ callback: Lr([n], u) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
|
|
3026
3183
|
}
|
|
3027
|
-
|
|
3184
|
+
C(() => (n(!0), c), []), C(() => {
|
|
3028
3185
|
t && u();
|
|
3029
3186
|
}, [e.icon, t]);
|
|
3030
3187
|
let { name: d, data: f } = o;
|
|
3031
|
-
return f ?
|
|
3032
|
-
...
|
|
3188
|
+
return f ? ri({
|
|
3189
|
+
...wn,
|
|
3033
3190
|
...f
|
|
3034
|
-
}, e, d) : e.children ? e.children : e.fallback ? e.fallback :
|
|
3191
|
+
}, e, d) : e.children ? e.children : e.fallback ? e.fallback : fe("span", {});
|
|
3035
3192
|
}
|
|
3036
|
-
var
|
|
3193
|
+
var ai = pe((e, t) => ii({
|
|
3037
3194
|
...e,
|
|
3038
3195
|
_ref: t
|
|
3039
3196
|
}));
|
|
3040
|
-
|
|
3197
|
+
pe((e, t) => ii({
|
|
3041
3198
|
inline: !0,
|
|
3042
3199
|
...e,
|
|
3043
3200
|
_ref: t
|
|
3044
3201
|
}));
|
|
3045
3202
|
//#endregion
|
|
3046
3203
|
//#region node_modules/@iconify-icons/heroicons-outline/x-mark.js
|
|
3047
|
-
var
|
|
3204
|
+
var oi = {
|
|
3048
3205
|
width: 24,
|
|
3049
3206
|
height: 24,
|
|
3050
3207
|
hidden: !0,
|
|
3051
3208
|
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\"/>"
|
|
3052
|
-
},
|
|
3209
|
+
}, si = {
|
|
3053
3210
|
width: 24,
|
|
3054
3211
|
height: 24,
|
|
3055
3212
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
|
|
3056
|
-
},
|
|
3213
|
+
}, ci = {
|
|
3057
3214
|
width: 24,
|
|
3058
3215
|
height: 24,
|
|
3059
3216
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 1 1 3.536 3.536L6.5 21.036H3v-3.572L16.732 3.732Z\"/>"
|
|
3060
|
-
},
|
|
3217
|
+
}, li = {
|
|
3061
3218
|
width: 24,
|
|
3062
3219
|
height: 24,
|
|
3063
3220
|
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\"/>"
|
|
3064
|
-
},
|
|
3221
|
+
}, ui = {
|
|
3065
3222
|
width: 24,
|
|
3066
3223
|
height: 24,
|
|
3067
3224
|
hidden: !0,
|
|
3068
3225
|
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\"/>"
|
|
3069
|
-
},
|
|
3226
|
+
}, di = {
|
|
3070
3227
|
width: 24,
|
|
3071
3228
|
height: 24,
|
|
3072
3229
|
hidden: !0,
|
|
3073
3230
|
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\"/>"
|
|
3074
|
-
},
|
|
3231
|
+
}, fi = {
|
|
3075
3232
|
width: 24,
|
|
3076
3233
|
height: 24,
|
|
3077
3234
|
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\"/>"
|
|
3078
|
-
},
|
|
3235
|
+
}, pi = {
|
|
3079
3236
|
width: 24,
|
|
3080
3237
|
height: 24,
|
|
3081
3238
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37c.996.608 2.296.07 2.572-1.065Z\"/><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
|
|
3082
|
-
},
|
|
3239
|
+
}, mi = {
|
|
3083
3240
|
width: 24,
|
|
3084
3241
|
height: 24,
|
|
3085
3242
|
hidden: !0,
|
|
3086
3243
|
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\"/>"
|
|
3087
|
-
},
|
|
3244
|
+
}, hi = {
|
|
3088
3245
|
width: 24,
|
|
3089
3246
|
height: 24,
|
|
3090
3247
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 1 1 0-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 1 0 5.367-2.684a3 3 0 0 0-5.367 2.684Zm0 9.316a3 3 0 1 0 5.368 2.684a3 3 0 0 0-5.368-2.684Z\"/>"
|
|
3091
|
-
},
|
|
3248
|
+
}, gi = {
|
|
3092
3249
|
width: 24,
|
|
3093
3250
|
height: 24,
|
|
3094
3251
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
|
|
3095
|
-
},
|
|
3252
|
+
}, _i = {
|
|
3096
3253
|
width: 24,
|
|
3097
3254
|
height: 24,
|
|
3098
3255
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
|
|
3099
|
-
},
|
|
3256
|
+
}, vi = {
|
|
3100
3257
|
width: 24,
|
|
3101
3258
|
height: 24,
|
|
3102
3259
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
|
|
3103
|
-
},
|
|
3260
|
+
}, yi = {
|
|
3104
3261
|
width: 24,
|
|
3105
3262
|
height: 24,
|
|
3106
3263
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
|
|
3107
|
-
},
|
|
3264
|
+
}, bi = {
|
|
3108
3265
|
width: 24,
|
|
3109
3266
|
height: 24,
|
|
3110
3267
|
hidden: !0,
|
|
3111
3268
|
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\"/>"
|
|
3112
|
-
},
|
|
3269
|
+
}, xi = {
|
|
3113
3270
|
width: 24,
|
|
3114
3271
|
height: 24,
|
|
3115
3272
|
hidden: !0,
|
|
3116
3273
|
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\"/>"
|
|
3117
|
-
},
|
|
3274
|
+
}, Si = {
|
|
3118
3275
|
width: 24,
|
|
3119
3276
|
height: 24,
|
|
3120
3277
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 12l2 2l4-4m6 2a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
|
|
3121
|
-
},
|
|
3278
|
+
}, Ci = {
|
|
3122
3279
|
width: 24,
|
|
3123
3280
|
height: 24,
|
|
3124
3281
|
hidden: !0,
|
|
3125
3282
|
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\"/>"
|
|
3126
|
-
},
|
|
3283
|
+
}, wi = {
|
|
3127
3284
|
width: 24,
|
|
3128
3285
|
height: 24,
|
|
3129
3286
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4m0 4h.01M21 12a9 9 0 1 1-18 0a9 9 0 0 1 18 0Z\"/>"
|
|
3130
|
-
},
|
|
3287
|
+
}, Ti = {
|
|
3131
3288
|
width: 24,
|
|
3132
3289
|
height: 24,
|
|
3133
3290
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3Z\"/>"
|
|
3134
|
-
},
|
|
3291
|
+
}, Ei = {
|
|
3135
3292
|
width: 24,
|
|
3136
3293
|
height: 24,
|
|
3137
3294
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/><path d=\"M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7c-4.477 0-8.268-2.943-9.542-7Z\"/></g>"
|
|
3138
|
-
},
|
|
3295
|
+
}, Di = {
|
|
3139
3296
|
width: 24,
|
|
3140
3297
|
height: 24,
|
|
3141
3298
|
hidden: !0,
|
|
3142
3299
|
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\"/>"
|
|
3143
|
-
},
|
|
3300
|
+
}, Oi = {
|
|
3144
3301
|
width: 24,
|
|
3145
3302
|
height: 24,
|
|
3146
3303
|
hidden: !0,
|
|
3147
3304
|
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\"/>"
|
|
3148
|
-
},
|
|
3305
|
+
}, ki = {
|
|
3149
3306
|
width: 24,
|
|
3150
3307
|
height: 24,
|
|
3151
3308
|
hidden: !0,
|
|
3152
3309
|
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\"/>"
|
|
3153
|
-
},
|
|
3310
|
+
}, Ai = {
|
|
3154
3311
|
width: 24,
|
|
3155
3312
|
height: 24,
|
|
3156
3313
|
hidden: !0,
|
|
3157
3314
|
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\"/>"
|
|
3158
|
-
},
|
|
3315
|
+
}, ji = {
|
|
3159
3316
|
width: 24,
|
|
3160
3317
|
height: 24,
|
|
3161
3318
|
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\"/>"
|
|
3162
|
-
},
|
|
3319
|
+
}, Mi = {
|
|
3163
3320
|
width: 24,
|
|
3164
3321
|
height: 24,
|
|
3165
3322
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
|
|
3166
|
-
},
|
|
3323
|
+
}, Ni = {
|
|
3167
3324
|
width: 24,
|
|
3168
3325
|
height: 24,
|
|
3169
3326
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 1 1-8 0a4 4 0 0 1 8 0Z\"/>"
|
|
3170
|
-
},
|
|
3327
|
+
}, Pi = {
|
|
3171
3328
|
width: 24,
|
|
3172
3329
|
height: 24,
|
|
3173
3330
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.354 15.354A9 9 0 0 1 8.646 3.646A9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646Z\"/>"
|
|
3174
|
-
},
|
|
3331
|
+
}, Fi = {
|
|
3175
3332
|
width: 24,
|
|
3176
3333
|
height: 24,
|
|
3177
3334
|
hidden: !0,
|
|
3178
3335
|
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\"/>"
|
|
3179
|
-
},
|
|
3336
|
+
}, Ii = {
|
|
3180
3337
|
width: 24,
|
|
3181
3338
|
height: 24,
|
|
3182
3339
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z\"/>"
|
|
3183
|
-
},
|
|
3340
|
+
}, Li = {
|
|
3184
3341
|
width: 24,
|
|
3185
3342
|
height: 24,
|
|
3186
3343
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253\"/>"
|
|
3187
|
-
},
|
|
3344
|
+
}, Ri = {
|
|
3188
3345
|
width: 24,
|
|
3189
3346
|
height: 24,
|
|
3190
3347
|
hidden: !0,
|
|
3191
3348
|
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\"/>"
|
|
3192
|
-
},
|
|
3349
|
+
}, zi = {
|
|
3193
3350
|
width: 24,
|
|
3194
3351
|
height: 24,
|
|
3195
3352
|
hidden: !0,
|
|
3196
3353
|
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\"/>"
|
|
3197
|
-
},
|
|
3354
|
+
}, Bi = {
|
|
3198
3355
|
width: 24,
|
|
3199
3356
|
height: 24,
|
|
3200
3357
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M3 9a2 2 0 0 1 2-2h.93a2 2 0 0 0 1.664-.89l.812-1.22A2 2 0 0 1 10.07 4h3.86a2 2 0 0 1 1.664.89l.812 1.22A2 2 0 0 0 18.07 7H19a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9Z\"/><path d=\"M15 13a3 3 0 1 1-6 0a3 3 0 0 1 6 0Z\"/></g>"
|
|
3201
|
-
},
|
|
3358
|
+
}, Vi = {
|
|
3359
|
+
width: 24,
|
|
3360
|
+
height: 24,
|
|
3361
|
+
hidden: !0,
|
|
3362
|
+
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\"/>"
|
|
3363
|
+
}, Hi = {
|
|
3202
3364
|
width: 20,
|
|
3203
3365
|
height: 20,
|
|
3204
3366
|
hidden: !0,
|
|
3205
3367
|
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\"/>"
|
|
3206
|
-
},
|
|
3368
|
+
}, Ui = {
|
|
3207
3369
|
width: 20,
|
|
3208
3370
|
height: 20,
|
|
3209
3371
|
hidden: !0,
|
|
3210
3372
|
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\"/>"
|
|
3211
|
-
},
|
|
3373
|
+
}, Wi = {
|
|
3212
3374
|
width: 20,
|
|
3213
3375
|
height: 20,
|
|
3214
3376
|
body: "<path fill=\"currentColor\" d=\"M2 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-5Zm6-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V7Zm6-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V4Z\"/>"
|
|
3215
|
-
},
|
|
3377
|
+
}, Gi = {
|
|
3216
3378
|
width: 20,
|
|
3217
3379
|
height: 20,
|
|
3218
3380
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M17.707 9.293a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7A.997.997 0 0 1 2 10V5a3 3 0 0 1 3-3h5c.256 0 .512.098.707.293l7 7ZM5 6a1 1 0 1 0 0-2a1 1 0 0 0 0 2Z\" clip-rule=\"evenodd\"/>"
|
|
3219
|
-
},
|
|
3381
|
+
}, Ki = {
|
|
3220
3382
|
width: 20,
|
|
3221
3383
|
height: 20,
|
|
3222
3384
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M6 2a1 1 0 0 0-1 1v1H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1V3a1 1 0 1 0-2 0v1H7V3a1 1 0 0 0-1-1Zm0 5a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2H6Z\" clip-rule=\"evenodd\"/>"
|
|
3223
|
-
},
|
|
3385
|
+
}, qi = {
|
|
3224
3386
|
width: 20,
|
|
3225
3387
|
height: 20,
|
|
3226
3388
|
hidden: !0,
|
|
3227
3389
|
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\"/>"
|
|
3228
|
-
},
|
|
3390
|
+
}, Ji = {
|
|
3229
3391
|
width: 20,
|
|
3230
3392
|
height: 20,
|
|
3231
3393
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16ZM9.555 7.168A1 1 0 0 0 8 8v4a1 1 0 0 0 1.555.832l3-2a1 1 0 0 0 0-1.664l-3-2Z\" clip-rule=\"evenodd\"/>"
|
|
3232
|
-
},
|
|
3394
|
+
}, Yi = {
|
|
3233
3395
|
width: 20,
|
|
3234
3396
|
height: 20,
|
|
3235
3397
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0Z\" clip-rule=\"evenodd\"/>"
|
|
3236
|
-
},
|
|
3398
|
+
}, Xi = {
|
|
3237
3399
|
width: 20,
|
|
3238
3400
|
height: 20,
|
|
3239
3401
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 2a1 1 0 0 1 1 1v1.323l3.954 1.582l1.599-.8a1 1 0 0 1 .894 1.79l-1.233.616l1.738 5.42a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 15 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.715-5.349L11 6.477V16h2a1 1 0 1 1 0 2H7a1 1 0 1 1 0-2h2V6.477L6.237 7.582l1.715 5.349a1 1 0 0 1-.285 1.05A3.989 3.989 0 0 1 5 15a3.989 3.989 0 0 1-2.667-1.019a1 1 0 0 1-.285-1.05l1.738-5.42l-1.233-.617a1 1 0 0 1 .894-1.788l1.599.799L9 4.323V3a1 1 0 0 1 1-1Zm-5 8.274l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L5 10.274Zm10 0l-.818 2.552c.25.112.526.174.818.174c.292 0 .569-.062.818-.174L15 10.274Z\" clip-rule=\"evenodd\"/>"
|
|
3240
|
-
},
|
|
3402
|
+
}, Zi = {
|
|
3241
3403
|
width: 20,
|
|
3242
3404
|
height: 20,
|
|
3243
3405
|
hidden: !0,
|
|
3244
3406
|
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\"/>"
|
|
3245
|
-
},
|
|
3407
|
+
}, Qi = {
|
|
3246
3408
|
width: 20,
|
|
3247
3409
|
height: 20,
|
|
3248
3410
|
hidden: !0,
|
|
3249
3411
|
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\"/>"
|
|
3250
|
-
},
|
|
3412
|
+
}, $i = {
|
|
3251
3413
|
width: 20,
|
|
3252
3414
|
height: 20,
|
|
3253
3415
|
hidden: !0,
|
|
3254
3416
|
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\"/>"
|
|
3255
|
-
},
|
|
3417
|
+
}, ea = {
|
|
3256
3418
|
width: 20,
|
|
3257
3419
|
height: 20,
|
|
3258
3420
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M7 2a1 1 0 0 0-.707 1.707L7 4.414v3.758a1 1 0 0 1-.293.707l-4 4C.817 14.769 2.156 18 4.828 18h10.343c2.673 0 4.012-3.231 2.122-5.121l-4-4A1 1 0 0 1 13 8.172V4.414l.707-.707A1 1 0 0 0 13 2H7Zm2 6.172V4h2v4.172a3 3 0 0 0 .879 2.12l1.027 1.028a4 4 0 0 0-2.171.102l-.47.156a4 4 0 0 1-2.53 0l-.563-.187a1.993 1.993 0 0 0-.114-.035l1.063-1.063A3 3 0 0 0 9 8.172Z\" clip-rule=\"evenodd\"/>"
|
|
3259
|
-
},
|
|
3421
|
+
}, ta = {
|
|
3260
3422
|
width: 20,
|
|
3261
3423
|
height: 20,
|
|
3262
3424
|
hidden: !0,
|
|
3263
3425
|
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\"/>"
|
|
3264
|
-
},
|
|
3426
|
+
}, na = {
|
|
3265
3427
|
width: 20,
|
|
3266
3428
|
height: 20,
|
|
3267
3429
|
body: "<g fill=\"currentColor\" fill-rule=\"evenodd\" clip-rule=\"evenodd\"><path d=\"M6.625 2.655A9 9 0 0 1 19 11a1 1 0 1 1-2 0a7 7 0 0 0-9.625-6.492a1 1 0 1 1-.75-1.853ZM4.662 4.959A1 1 0 0 1 4.75 6.37A6.97 6.97 0 0 0 3 11a1 1 0 1 1-2 0a8.97 8.97 0 0 1 2.25-5.953a1 1 0 0 1 1.412-.088Z\"/><path d=\"M5 11a5 5 0 1 1 10 0a1 1 0 1 1-2 0a3 3 0 1 0-6 0c0 1.677-.345 3.276-.968 4.729a1 1 0 1 1-1.838-.789A9.964 9.964 0 0 0 5 11Zm8.921 2.012a1 1 0 0 1 .831 1.145a19.86 19.86 0 0 1-.545 2.436a1 1 0 1 1-1.92-.558c.207-.713.371-1.445.49-2.192a1 1 0 0 1 1.144-.83Z\"/><path d=\"M10 10a1 1 0 0 1 1 1c0 2.236-.46 4.368-1.29 6.304a1 1 0 0 1-1.838-.789A13.952 13.952 0 0 0 9 11a1 1 0 0 1 1-1Z\"/></g>"
|
|
3268
|
-
},
|
|
3430
|
+
}, ra = {
|
|
3269
3431
|
width: 20,
|
|
3270
3432
|
height: 20,
|
|
3271
3433
|
hidden: !0,
|
|
3272
3434
|
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\"/>"
|
|
3273
|
-
},
|
|
3435
|
+
}, ia = {
|
|
3274
3436
|
width: 20,
|
|
3275
3437
|
height: 20,
|
|
3276
3438
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M10 18a8 8 0 1 0 0-16a8 8 0 0 0 0 16Zm1-11a1 1 0 1 0-2 0v2H7a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V7Z\" clip-rule=\"evenodd\"/>"
|
|
3277
|
-
},
|
|
3439
|
+
}, aa = {
|
|
3278
3440
|
width: 20,
|
|
3279
3441
|
height: 20,
|
|
3280
3442
|
body: "<path fill=\"currentColor\" fill-rule=\"evenodd\" d=\"M9.243 3.03a1 1 0 0 1 .727 1.213L9.53 6h2.94l.56-2.243a1 1 0 1 1 1.94.486L14.53 6H17a1 1 0 1 1 0 2h-2.97l-1 4H15a1 1 0 1 1 0 2h-2.47l-.56 2.242a1 1 0 1 1-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 1 1-1.94-.485L5.47 14H3a1 1 0 1 1 0-2h2.97l1-4H5a1 1 0 1 1 0-2h2.47l.56-2.243a1 1 0 0 1 1.213-.727ZM9.03 8l-1 4h2.938l1-4H9.031Z\" clip-rule=\"evenodd\"/>"
|
|
3281
|
-
},
|
|
3443
|
+
}, oa = {
|
|
3282
3444
|
width: 24,
|
|
3283
3445
|
height: 24,
|
|
3284
3446
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14\"/>"
|
|
3285
|
-
},
|
|
3447
|
+
}, sa = {
|
|
3286
3448
|
width: 24,
|
|
3287
3449
|
height: 24,
|
|
3288
3450
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
|
|
3289
|
-
},
|
|
3451
|
+
}, ca = {
|
|
3290
3452
|
width: 24,
|
|
3291
3453
|
height: 24,
|
|
3292
3454
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4\"/>"
|
|
3293
|
-
},
|
|
3455
|
+
}, la = {
|
|
3294
3456
|
width: 24,
|
|
3295
3457
|
height: 24,
|
|
3296
3458
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8\"/><path d=\"M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5\"/></g>"
|
|
3297
|
-
},
|
|
3459
|
+
}, ua = {
|
|
3298
3460
|
width: 24,
|
|
3299
3461
|
height: 24,
|
|
3300
3462
|
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>"
|
|
3301
|
-
},
|
|
3463
|
+
}, da = {
|
|
3302
3464
|
width: 24,
|
|
3303
3465
|
height: 24,
|
|
3304
3466
|
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\"/>"
|
|
3305
|
-
},
|
|
3467
|
+
}, fa = {
|
|
3306
3468
|
width: 24,
|
|
3307
3469
|
height: 24,
|
|
3308
3470
|
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>"
|
|
3309
|
-
},
|
|
3471
|
+
}, pa = {
|
|
3310
3472
|
width: 24,
|
|
3311
3473
|
height: 24,
|
|
3312
3474
|
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>"
|
|
3313
|
-
},
|
|
3475
|
+
}, ma = {
|
|
3314
3476
|
width: 24,
|
|
3315
3477
|
height: 24,
|
|
3316
3478
|
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\"/>"
|
|
3317
|
-
},
|
|
3479
|
+
}, ha = {
|
|
3318
3480
|
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>",
|
|
3319
3481
|
width: 24,
|
|
3320
3482
|
height: 24
|
|
3321
|
-
},
|
|
3483
|
+
}, ga = {
|
|
3322
3484
|
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>",
|
|
3323
3485
|
width: 24,
|
|
3324
3486
|
height: 24
|
|
3325
|
-
},
|
|
3487
|
+
}, _a = {
|
|
3326
3488
|
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>",
|
|
3327
3489
|
width: 24,
|
|
3328
3490
|
height: 24
|
|
3329
|
-
},
|
|
3491
|
+
}, va = {
|
|
3330
3492
|
width: 24,
|
|
3331
3493
|
height: 24,
|
|
3332
3494
|
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>"
|
|
3333
|
-
},
|
|
3495
|
+
}, ya = {
|
|
3334
3496
|
width: 24,
|
|
3335
3497
|
height: 24,
|
|
3336
3498
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18\"/>"
|
|
3337
|
-
},
|
|
3499
|
+
}, ba = {
|
|
3338
3500
|
width: 24,
|
|
3339
3501
|
height: 24,
|
|
3340
3502
|
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>"
|
|
3341
|
-
},
|
|
3503
|
+
}, xa = {
|
|
3342
3504
|
width: 24,
|
|
3343
3505
|
height: 24,
|
|
3344
3506
|
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\"/>"
|
|
3345
|
-
},
|
|
3507
|
+
}, Sa = {
|
|
3346
3508
|
width: 24,
|
|
3347
3509
|
height: 24,
|
|
3348
3510
|
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>"
|
|
3349
|
-
},
|
|
3511
|
+
}, Ca = {
|
|
3350
3512
|
width: 24,
|
|
3351
3513
|
height: 24,
|
|
3352
3514
|
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\"/>"
|
|
3353
|
-
},
|
|
3515
|
+
}, wa = {
|
|
3354
3516
|
width: 24,
|
|
3355
3517
|
height: 24,
|
|
3356
3518
|
body: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M14 3v4a1 1 0 0 0 1 1h4\"/><path d=\"M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2zM9 9h1m-1 4h6m-6 4h6\"/></g>"
|
|
3357
|
-
},
|
|
3519
|
+
}, Ta = {
|
|
3358
3520
|
width: 24,
|
|
3359
3521
|
height: 24,
|
|
3360
3522
|
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>"
|
|
3361
|
-
},
|
|
3523
|
+
}, Ea = {
|
|
3362
3524
|
close: {
|
|
3363
|
-
icon:
|
|
3525
|
+
icon: oi,
|
|
3364
3526
|
category: "action"
|
|
3365
3527
|
},
|
|
3366
3528
|
add: {
|
|
3367
|
-
icon:
|
|
3529
|
+
icon: si,
|
|
3368
3530
|
category: "action"
|
|
3369
3531
|
},
|
|
3370
3532
|
edit: {
|
|
3371
|
-
icon:
|
|
3533
|
+
icon: ci,
|
|
3372
3534
|
category: "action"
|
|
3373
3535
|
},
|
|
3374
3536
|
delete: {
|
|
3375
|
-
icon:
|
|
3537
|
+
icon: li,
|
|
3376
3538
|
category: "action"
|
|
3377
3539
|
},
|
|
3378
3540
|
refresh: {
|
|
3379
|
-
icon:
|
|
3541
|
+
icon: ui,
|
|
3380
3542
|
category: "action"
|
|
3381
3543
|
},
|
|
3382
3544
|
copy: {
|
|
3383
|
-
icon:
|
|
3545
|
+
icon: di,
|
|
3384
3546
|
category: "action"
|
|
3385
3547
|
},
|
|
3386
3548
|
duplicate: {
|
|
3387
|
-
icon:
|
|
3549
|
+
icon: fi,
|
|
3388
3550
|
category: "action"
|
|
3389
3551
|
},
|
|
3390
3552
|
settings: {
|
|
3391
|
-
icon:
|
|
3553
|
+
icon: pi,
|
|
3392
3554
|
category: "action"
|
|
3393
3555
|
},
|
|
3394
3556
|
filter: {
|
|
3395
|
-
icon:
|
|
3557
|
+
icon: mi,
|
|
3396
3558
|
category: "action"
|
|
3397
3559
|
},
|
|
3398
3560
|
share: {
|
|
3399
|
-
icon:
|
|
3561
|
+
icon: hi,
|
|
3400
3562
|
category: "action"
|
|
3401
3563
|
},
|
|
3402
3564
|
expand: {
|
|
3403
|
-
icon:
|
|
3565
|
+
icon: _i,
|
|
3404
3566
|
category: "action"
|
|
3405
3567
|
},
|
|
3406
3568
|
collapse: {
|
|
3407
|
-
icon:
|
|
3569
|
+
icon: gi,
|
|
3408
3570
|
category: "action"
|
|
3409
3571
|
},
|
|
3410
3572
|
search: {
|
|
3411
|
-
icon:
|
|
3573
|
+
icon: bi,
|
|
3412
3574
|
category: "action"
|
|
3413
3575
|
},
|
|
3414
3576
|
menu: {
|
|
3415
|
-
icon:
|
|
3577
|
+
icon: xi,
|
|
3416
3578
|
category: "action"
|
|
3417
3579
|
},
|
|
3418
3580
|
run: {
|
|
3419
|
-
icon:
|
|
3581
|
+
icon: Ji,
|
|
3420
3582
|
category: "action"
|
|
3421
3583
|
},
|
|
3422
3584
|
check: {
|
|
3423
|
-
icon:
|
|
3585
|
+
icon: Yi,
|
|
3424
3586
|
category: "action"
|
|
3425
3587
|
},
|
|
3426
3588
|
link: {
|
|
3427
|
-
icon:
|
|
3589
|
+
icon: ji,
|
|
3428
3590
|
category: "action"
|
|
3429
3591
|
},
|
|
3430
3592
|
eye: {
|
|
3431
|
-
icon:
|
|
3593
|
+
icon: Ei,
|
|
3432
3594
|
category: "action"
|
|
3433
3595
|
},
|
|
3434
3596
|
eyeOff: {
|
|
3435
|
-
icon:
|
|
3597
|
+
icon: Di,
|
|
3436
3598
|
category: "action"
|
|
3437
3599
|
},
|
|
3438
3600
|
adjustments: {
|
|
3439
|
-
icon:
|
|
3601
|
+
icon: Oi,
|
|
3440
3602
|
category: "action"
|
|
3441
3603
|
},
|
|
3442
3604
|
desktop: {
|
|
3443
|
-
icon:
|
|
3605
|
+
icon: ki,
|
|
3444
3606
|
category: "action"
|
|
3445
3607
|
},
|
|
3446
3608
|
table: {
|
|
3447
|
-
icon:
|
|
3609
|
+
icon: Ai,
|
|
3448
3610
|
category: "action"
|
|
3449
3611
|
},
|
|
3450
3612
|
sun: {
|
|
3451
|
-
icon:
|
|
3613
|
+
icon: Ni,
|
|
3452
3614
|
category: "action"
|
|
3453
3615
|
},
|
|
3454
3616
|
moon: {
|
|
3455
|
-
icon:
|
|
3617
|
+
icon: Pi,
|
|
3456
3618
|
category: "action"
|
|
3457
3619
|
},
|
|
3458
3620
|
ellipsisHorizontal: {
|
|
3459
|
-
icon:
|
|
3621
|
+
icon: Fi,
|
|
3460
3622
|
category: "action"
|
|
3461
3623
|
},
|
|
3462
3624
|
documentText: {
|
|
3463
|
-
icon:
|
|
3625
|
+
icon: Ii,
|
|
3464
3626
|
category: "action"
|
|
3465
3627
|
},
|
|
3466
3628
|
bookOpen: {
|
|
3467
|
-
icon:
|
|
3629
|
+
icon: Li,
|
|
3468
3630
|
category: "action"
|
|
3469
3631
|
},
|
|
3470
3632
|
codeBracket: {
|
|
3471
|
-
icon:
|
|
3633
|
+
icon: Ri,
|
|
3472
3634
|
category: "action"
|
|
3473
3635
|
},
|
|
3474
3636
|
swatch: {
|
|
3475
|
-
icon:
|
|
3637
|
+
icon: zi,
|
|
3476
3638
|
category: "action"
|
|
3477
3639
|
},
|
|
3478
3640
|
camera: {
|
|
3479
|
-
icon:
|
|
3641
|
+
icon: Bi,
|
|
3480
3642
|
category: "action"
|
|
3481
3643
|
},
|
|
3482
3644
|
thumbUp: {
|
|
3483
|
-
icon:
|
|
3645
|
+
icon: Hi,
|
|
3484
3646
|
category: "action"
|
|
3485
3647
|
},
|
|
3486
3648
|
thumbDown: {
|
|
3487
|
-
icon:
|
|
3649
|
+
icon: Ui,
|
|
3488
3650
|
category: "action"
|
|
3489
3651
|
},
|
|
3490
3652
|
schemaGraph: {
|
|
@@ -3503,92 +3665,96 @@ var Vr = {
|
|
|
3503
3665
|
},
|
|
3504
3666
|
category: "action"
|
|
3505
3667
|
},
|
|
3668
|
+
download: {
|
|
3669
|
+
icon: Vi,
|
|
3670
|
+
category: "action"
|
|
3671
|
+
},
|
|
3506
3672
|
measure: {
|
|
3507
|
-
icon:
|
|
3673
|
+
icon: Wi,
|
|
3508
3674
|
category: "field"
|
|
3509
3675
|
},
|
|
3510
3676
|
dimension: {
|
|
3511
|
-
icon:
|
|
3677
|
+
icon: Gi,
|
|
3512
3678
|
category: "field"
|
|
3513
3679
|
},
|
|
3514
3680
|
timeDimension: {
|
|
3515
|
-
icon:
|
|
3681
|
+
icon: Ki,
|
|
3516
3682
|
category: "field"
|
|
3517
3683
|
},
|
|
3518
3684
|
segment: {
|
|
3519
|
-
icon:
|
|
3685
|
+
icon: qi,
|
|
3520
3686
|
category: "field"
|
|
3521
3687
|
},
|
|
3522
3688
|
chartBar: {
|
|
3523
|
-
icon:
|
|
3689
|
+
icon: oa,
|
|
3524
3690
|
category: "chart"
|
|
3525
3691
|
},
|
|
3526
3692
|
chartLine: {
|
|
3527
|
-
icon:
|
|
3693
|
+
icon: sa,
|
|
3528
3694
|
category: "chart"
|
|
3529
3695
|
},
|
|
3530
3696
|
chartArea: {
|
|
3531
|
-
icon:
|
|
3697
|
+
icon: ca,
|
|
3532
3698
|
category: "chart"
|
|
3533
3699
|
},
|
|
3534
3700
|
chartPie: {
|
|
3535
|
-
icon:
|
|
3701
|
+
icon: la,
|
|
3536
3702
|
category: "chart"
|
|
3537
3703
|
},
|
|
3538
3704
|
chartScatter: {
|
|
3539
|
-
icon:
|
|
3705
|
+
icon: ua,
|
|
3540
3706
|
category: "chart"
|
|
3541
3707
|
},
|
|
3542
3708
|
chartBubble: {
|
|
3543
|
-
icon:
|
|
3709
|
+
icon: da,
|
|
3544
3710
|
category: "chart"
|
|
3545
3711
|
},
|
|
3546
3712
|
chartRadar: {
|
|
3547
|
-
icon:
|
|
3713
|
+
icon: fa,
|
|
3548
3714
|
category: "chart"
|
|
3549
3715
|
},
|
|
3550
3716
|
chartRadialBar: {
|
|
3551
|
-
icon:
|
|
3717
|
+
icon: pa,
|
|
3552
3718
|
category: "chart"
|
|
3553
3719
|
},
|
|
3554
3720
|
chartTreemap: {
|
|
3555
|
-
icon:
|
|
3721
|
+
icon: ma,
|
|
3556
3722
|
category: "chart"
|
|
3557
3723
|
},
|
|
3558
3724
|
chartTable: {
|
|
3559
|
-
icon:
|
|
3725
|
+
icon: ya,
|
|
3560
3726
|
category: "chart"
|
|
3561
3727
|
},
|
|
3562
3728
|
chartActivityGrid: {
|
|
3563
|
-
icon:
|
|
3729
|
+
icon: ba,
|
|
3564
3730
|
category: "chart"
|
|
3565
3731
|
},
|
|
3566
3732
|
chartKpiNumber: {
|
|
3567
|
-
icon:
|
|
3733
|
+
icon: xa,
|
|
3568
3734
|
category: "chart"
|
|
3569
3735
|
},
|
|
3570
3736
|
chartKpiDelta: {
|
|
3571
|
-
icon:
|
|
3737
|
+
icon: Sa,
|
|
3572
3738
|
category: "chart"
|
|
3573
3739
|
},
|
|
3574
3740
|
chartKpiText: {
|
|
3575
|
-
icon:
|
|
3741
|
+
icon: Ca,
|
|
3576
3742
|
category: "chart"
|
|
3577
3743
|
},
|
|
3578
3744
|
chartMarkdown: {
|
|
3579
|
-
icon:
|
|
3745
|
+
icon: wa,
|
|
3580
3746
|
category: "chart"
|
|
3581
3747
|
},
|
|
3582
3748
|
chartFunnel: {
|
|
3583
|
-
icon:
|
|
3749
|
+
icon: ga,
|
|
3584
3750
|
category: "chart"
|
|
3585
3751
|
},
|
|
3586
3752
|
chartSankey: {
|
|
3587
|
-
icon:
|
|
3753
|
+
icon: ha,
|
|
3588
3754
|
category: "chart"
|
|
3589
3755
|
},
|
|
3590
3756
|
chartSunburst: {
|
|
3591
|
-
icon:
|
|
3757
|
+
icon: va,
|
|
3592
3758
|
category: "chart"
|
|
3593
3759
|
},
|
|
3594
3760
|
chartHeatmap: {
|
|
@@ -3600,87 +3766,87 @@ var Vr = {
|
|
|
3600
3766
|
category: "chart"
|
|
3601
3767
|
},
|
|
3602
3768
|
chartRetention: {
|
|
3603
|
-
icon:
|
|
3769
|
+
icon: _a,
|
|
3604
3770
|
category: "chart"
|
|
3605
3771
|
},
|
|
3606
3772
|
measureCount: {
|
|
3607
|
-
icon:
|
|
3773
|
+
icon: ta,
|
|
3608
3774
|
category: "measure"
|
|
3609
3775
|
},
|
|
3610
3776
|
measureCountDistinct: {
|
|
3611
|
-
icon:
|
|
3777
|
+
icon: na,
|
|
3612
3778
|
category: "measure"
|
|
3613
3779
|
},
|
|
3614
3780
|
measureCountDistinctApprox: {
|
|
3615
|
-
icon:
|
|
3781
|
+
icon: ra,
|
|
3616
3782
|
category: "measure"
|
|
3617
3783
|
},
|
|
3618
3784
|
measureSum: {
|
|
3619
|
-
icon:
|
|
3785
|
+
icon: ia,
|
|
3620
3786
|
category: "measure"
|
|
3621
3787
|
},
|
|
3622
3788
|
measureAvg: {
|
|
3623
|
-
icon:
|
|
3789
|
+
icon: Xi,
|
|
3624
3790
|
category: "measure"
|
|
3625
3791
|
},
|
|
3626
3792
|
measureMin: {
|
|
3627
|
-
icon:
|
|
3793
|
+
icon: Zi,
|
|
3628
3794
|
category: "measure"
|
|
3629
3795
|
},
|
|
3630
3796
|
measureMax: {
|
|
3631
|
-
icon:
|
|
3797
|
+
icon: Qi,
|
|
3632
3798
|
category: "measure"
|
|
3633
3799
|
},
|
|
3634
3800
|
measureRunningTotal: {
|
|
3635
|
-
icon:
|
|
3801
|
+
icon: $i,
|
|
3636
3802
|
category: "measure"
|
|
3637
3803
|
},
|
|
3638
3804
|
measureCalculated: {
|
|
3639
|
-
icon:
|
|
3805
|
+
icon: ea,
|
|
3640
3806
|
category: "measure"
|
|
3641
3807
|
},
|
|
3642
3808
|
measureNumber: {
|
|
3643
|
-
icon:
|
|
3809
|
+
icon: aa,
|
|
3644
3810
|
category: "measure"
|
|
3645
3811
|
},
|
|
3646
3812
|
success: {
|
|
3647
|
-
icon:
|
|
3813
|
+
icon: Si,
|
|
3648
3814
|
category: "state"
|
|
3649
3815
|
},
|
|
3650
3816
|
warning: {
|
|
3651
|
-
icon:
|
|
3817
|
+
icon: Ci,
|
|
3652
3818
|
category: "state"
|
|
3653
3819
|
},
|
|
3654
3820
|
error: {
|
|
3655
|
-
icon:
|
|
3821
|
+
icon: wi,
|
|
3656
3822
|
category: "state"
|
|
3657
3823
|
},
|
|
3658
3824
|
info: {
|
|
3659
|
-
icon:
|
|
3825
|
+
icon: Ta,
|
|
3660
3826
|
category: "state"
|
|
3661
3827
|
},
|
|
3662
3828
|
loading: {
|
|
3663
|
-
icon:
|
|
3829
|
+
icon: ui,
|
|
3664
3830
|
category: "state"
|
|
3665
3831
|
},
|
|
3666
3832
|
sparkles: {
|
|
3667
|
-
icon:
|
|
3833
|
+
icon: Ti,
|
|
3668
3834
|
category: "state"
|
|
3669
3835
|
},
|
|
3670
3836
|
chevronUp: {
|
|
3671
|
-
icon:
|
|
3837
|
+
icon: gi,
|
|
3672
3838
|
category: "navigation"
|
|
3673
3839
|
},
|
|
3674
3840
|
chevronDown: {
|
|
3675
|
-
icon:
|
|
3841
|
+
icon: _i,
|
|
3676
3842
|
category: "navigation"
|
|
3677
3843
|
},
|
|
3678
3844
|
chevronLeft: {
|
|
3679
|
-
icon:
|
|
3845
|
+
icon: vi,
|
|
3680
3846
|
category: "navigation"
|
|
3681
3847
|
},
|
|
3682
3848
|
chevronRight: {
|
|
3683
|
-
icon:
|
|
3849
|
+
icon: yi,
|
|
3684
3850
|
category: "navigation"
|
|
3685
3851
|
},
|
|
3686
3852
|
chevronUpDown: {
|
|
@@ -3692,82 +3858,82 @@ var Vr = {
|
|
|
3692
3858
|
category: "navigation"
|
|
3693
3859
|
},
|
|
3694
3860
|
arrowUp: {
|
|
3695
|
-
icon:
|
|
3861
|
+
icon: Qi,
|
|
3696
3862
|
category: "navigation"
|
|
3697
3863
|
},
|
|
3698
3864
|
arrowDown: {
|
|
3699
|
-
icon:
|
|
3865
|
+
icon: Zi,
|
|
3700
3866
|
category: "navigation"
|
|
3701
3867
|
},
|
|
3702
3868
|
arrowRight: {
|
|
3703
|
-
icon:
|
|
3869
|
+
icon: Mi,
|
|
3704
3870
|
category: "navigation"
|
|
3705
3871
|
},
|
|
3706
3872
|
arrowPath: {
|
|
3707
|
-
icon:
|
|
3873
|
+
icon: ui,
|
|
3708
3874
|
category: "navigation"
|
|
3709
3875
|
}
|
|
3710
|
-
},
|
|
3711
|
-
function
|
|
3712
|
-
|
|
3876
|
+
}, G = { ...Ea }, Da = null;
|
|
3877
|
+
function Oa(e) {
|
|
3878
|
+
Da = e;
|
|
3713
3879
|
}
|
|
3714
|
-
var
|
|
3715
|
-
function
|
|
3716
|
-
return
|
|
3880
|
+
var K = /* @__PURE__ */ new Map();
|
|
3881
|
+
function ka() {
|
|
3882
|
+
return G;
|
|
3717
3883
|
}
|
|
3718
|
-
function
|
|
3719
|
-
let t =
|
|
3884
|
+
function q(e) {
|
|
3885
|
+
let t = K.get(e);
|
|
3720
3886
|
if (t) return t;
|
|
3721
|
-
let n =
|
|
3722
|
-
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */
|
|
3723
|
-
icon:
|
|
3887
|
+
let n = G[e];
|
|
3888
|
+
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ E(ai, {
|
|
3889
|
+
icon: G.info.icon,
|
|
3724
3890
|
className: e,
|
|
3725
3891
|
...t
|
|
3726
3892
|
});
|
|
3727
|
-
let r = ({ className: e, ...t }) => /* @__PURE__ */
|
|
3893
|
+
let r = ({ className: e, ...t }) => /* @__PURE__ */ E(ai, {
|
|
3728
3894
|
icon: n.icon,
|
|
3729
3895
|
className: e,
|
|
3730
3896
|
...t
|
|
3731
3897
|
});
|
|
3732
|
-
return
|
|
3898
|
+
return K.set(e, r), r;
|
|
3733
3899
|
}
|
|
3734
|
-
function
|
|
3735
|
-
return
|
|
3900
|
+
function Aa(e) {
|
|
3901
|
+
return G[e]?.icon ?? G.info.icon;
|
|
3736
3902
|
}
|
|
3737
|
-
function
|
|
3738
|
-
|
|
3739
|
-
...
|
|
3903
|
+
function ja(e, t) {
|
|
3904
|
+
G[e] && (G[e] = {
|
|
3905
|
+
...G[e],
|
|
3740
3906
|
icon: t
|
|
3741
|
-
},
|
|
3907
|
+
}, K.delete(e));
|
|
3742
3908
|
}
|
|
3743
|
-
function
|
|
3744
|
-
for (let [t, n] of Object.entries(e)) if (n && t in
|
|
3909
|
+
function Ma(e) {
|
|
3910
|
+
for (let [t, n] of Object.entries(e)) if (n && t in G) {
|
|
3745
3911
|
let e = t;
|
|
3746
|
-
if ("body" in n)
|
|
3747
|
-
...
|
|
3912
|
+
if ("body" in n) G[e] = {
|
|
3913
|
+
...G[e],
|
|
3748
3914
|
icon: n
|
|
3749
3915
|
};
|
|
3750
3916
|
else {
|
|
3751
3917
|
let t = n;
|
|
3752
|
-
|
|
3753
|
-
...
|
|
3918
|
+
G[e] = {
|
|
3919
|
+
...G[e],
|
|
3754
3920
|
...t,
|
|
3755
|
-
icon: t.icon ??
|
|
3921
|
+
icon: t.icon ?? G[e].icon
|
|
3756
3922
|
};
|
|
3757
3923
|
}
|
|
3758
|
-
|
|
3924
|
+
K.delete(e);
|
|
3759
3925
|
}
|
|
3760
3926
|
}
|
|
3761
|
-
function
|
|
3762
|
-
|
|
3927
|
+
function Na() {
|
|
3928
|
+
G = { ...Ea }, K.clear();
|
|
3763
3929
|
}
|
|
3764
|
-
function
|
|
3930
|
+
function Pa(e) {
|
|
3765
3931
|
let t = {};
|
|
3766
|
-
for (let [n, r] of Object.entries(
|
|
3932
|
+
for (let [n, r] of Object.entries(G)) r.category === e && (t[n] = q(n));
|
|
3767
3933
|
return t;
|
|
3768
3934
|
}
|
|
3769
|
-
function
|
|
3770
|
-
return
|
|
3935
|
+
function Fa(e) {
|
|
3936
|
+
return q({
|
|
3771
3937
|
count: "measureCount",
|
|
3772
3938
|
countDistinct: "measureCountDistinct",
|
|
3773
3939
|
countDistinctApprox: "measureCountDistinctApprox",
|
|
@@ -3780,7 +3946,7 @@ function ha(e) {
|
|
|
3780
3946
|
number: "measureNumber"
|
|
3781
3947
|
}[e || ""] || "measureCount");
|
|
3782
3948
|
}
|
|
3783
|
-
function
|
|
3949
|
+
function Ia(e) {
|
|
3784
3950
|
let t = {
|
|
3785
3951
|
bar: "chartBar",
|
|
3786
3952
|
line: "chartLine",
|
|
@@ -3802,15 +3968,15 @@ function ga(e) {
|
|
|
3802
3968
|
sunburst: "chartSunburst",
|
|
3803
3969
|
heatmap: "chartHeatmap"
|
|
3804
3970
|
}[e];
|
|
3805
|
-
if (t) return
|
|
3806
|
-
if (
|
|
3807
|
-
let t =
|
|
3971
|
+
if (t) return q(t);
|
|
3972
|
+
if (Da) {
|
|
3973
|
+
let t = Da(e);
|
|
3808
3974
|
if (t) return t;
|
|
3809
3975
|
}
|
|
3810
|
-
return
|
|
3976
|
+
return q("chartBar");
|
|
3811
3977
|
}
|
|
3812
|
-
function
|
|
3813
|
-
return
|
|
3978
|
+
function La(e) {
|
|
3979
|
+
return q({
|
|
3814
3980
|
measure: "measure",
|
|
3815
3981
|
dimension: "dimension",
|
|
3816
3982
|
timeDimension: "timeDimension",
|
|
@@ -3820,8 +3986,8 @@ function _a(e) {
|
|
|
3820
3986
|
}
|
|
3821
3987
|
//#endregion
|
|
3822
3988
|
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
3823
|
-
function
|
|
3824
|
-
return /* @__PURE__ */
|
|
3989
|
+
function Ra({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
3990
|
+
return /* @__PURE__ */ D("div", {
|
|
3825
3991
|
className: "dc-missing-dependency-fallback",
|
|
3826
3992
|
style: {
|
|
3827
3993
|
height: typeof r == "number" ? `${r}px` : r,
|
|
@@ -3837,14 +4003,14 @@ function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
3837
4003
|
backgroundColor: "var(--dc-surface, #f9fafb)"
|
|
3838
4004
|
},
|
|
3839
4005
|
children: [
|
|
3840
|
-
/* @__PURE__ */
|
|
4006
|
+
/* @__PURE__ */ E("div", {
|
|
3841
4007
|
style: {
|
|
3842
4008
|
fontSize: "2.5rem",
|
|
3843
4009
|
marginBottom: "1rem"
|
|
3844
4010
|
},
|
|
3845
4011
|
children: "📦"
|
|
3846
4012
|
}),
|
|
3847
|
-
/* @__PURE__ */
|
|
4013
|
+
/* @__PURE__ */ E("h3", {
|
|
3848
4014
|
style: {
|
|
3849
4015
|
fontSize: "1.125rem",
|
|
3850
4016
|
fontWeight: 600,
|
|
@@ -3853,7 +4019,7 @@ function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
3853
4019
|
},
|
|
3854
4020
|
children: "Missing Dependency"
|
|
3855
4021
|
}),
|
|
3856
|
-
/* @__PURE__ */
|
|
4022
|
+
/* @__PURE__ */ D("p", {
|
|
3857
4023
|
style: {
|
|
3858
4024
|
fontSize: "0.875rem",
|
|
3859
4025
|
color: "var(--dc-text-secondary, #6b7280)",
|
|
@@ -3862,7 +4028,7 @@ function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
3862
4028
|
},
|
|
3863
4029
|
children: [
|
|
3864
4030
|
"The ",
|
|
3865
|
-
/* @__PURE__ */
|
|
4031
|
+
/* @__PURE__ */ E("code", {
|
|
3866
4032
|
style: {
|
|
3867
4033
|
padding: "0.125rem 0.375rem",
|
|
3868
4034
|
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
@@ -3873,7 +4039,7 @@ function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
3873
4039
|
children: e
|
|
3874
4040
|
}),
|
|
3875
4041
|
" chart requires the ",
|
|
3876
|
-
/* @__PURE__ */
|
|
4042
|
+
/* @__PURE__ */ E("code", {
|
|
3877
4043
|
style: {
|
|
3878
4044
|
padding: "0.125rem 0.375rem",
|
|
3879
4045
|
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
@@ -3886,7 +4052,7 @@ function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
3886
4052
|
" package."
|
|
3887
4053
|
]
|
|
3888
4054
|
}),
|
|
3889
|
-
/* @__PURE__ */
|
|
4055
|
+
/* @__PURE__ */ D("div", {
|
|
3890
4056
|
style: {
|
|
3891
4057
|
backgroundColor: "var(--dc-surface-secondary, #f3f4f6)",
|
|
3892
4058
|
borderRadius: "0.5rem",
|
|
@@ -3895,7 +4061,7 @@ function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
3895
4061
|
fontSize: "0.875rem",
|
|
3896
4062
|
color: "var(--dc-text, #111827)"
|
|
3897
4063
|
},
|
|
3898
|
-
children: [/* @__PURE__ */
|
|
4064
|
+
children: [/* @__PURE__ */ E("span", {
|
|
3899
4065
|
style: {
|
|
3900
4066
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
3901
4067
|
userSelect: "none"
|
|
@@ -3903,7 +4069,7 @@ function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
3903
4069
|
children: "$ "
|
|
3904
4070
|
}), n]
|
|
3905
4071
|
}),
|
|
3906
|
-
/* @__PURE__ */
|
|
4072
|
+
/* @__PURE__ */ E("p", {
|
|
3907
4073
|
style: {
|
|
3908
4074
|
fontSize: "0.75rem",
|
|
3909
4075
|
color: "var(--dc-text-muted, #9ca3af)",
|
|
@@ -3916,7 +4082,7 @@ function va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
3916
4082
|
}
|
|
3917
4083
|
//#endregion
|
|
3918
4084
|
//#region src/client/charts/ChartLoader.tsx
|
|
3919
|
-
var
|
|
4085
|
+
var J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Set(), za = {
|
|
3920
4086
|
bar: {
|
|
3921
4087
|
packageName: "recharts",
|
|
3922
4088
|
installCommand: "npm install recharts"
|
|
@@ -3981,42 +4147,42 @@ var q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Set(), ya = {
|
|
|
3981
4147
|
packageName: "d3-shape",
|
|
3982
4148
|
installCommand: "npm install d3-shape"
|
|
3983
4149
|
}
|
|
3984
|
-
},
|
|
3985
|
-
bar: () => import("./chart-bar-
|
|
3986
|
-
line: () => import("./chart-line-
|
|
3987
|
-
area: () => import("./chart-area-
|
|
3988
|
-
pie: () => import("./chart-pie-
|
|
3989
|
-
scatter: () => import("./chart-scatter-
|
|
3990
|
-
radar: () => import("./chart-radar-
|
|
3991
|
-
radialBar: () => import("./chart-radial-bar-
|
|
3992
|
-
treemap: () => import("./chart-tree-map-
|
|
3993
|
-
bubble: () => import("./chart-bubble-
|
|
3994
|
-
table: () => Promise.resolve().then(() =>
|
|
3995
|
-
activityGrid: () => import("./chart-activity-grid-
|
|
3996
|
-
kpiNumber: () => import("./
|
|
3997
|
-
kpiDelta: () => import("./
|
|
3998
|
-
kpiText: () => import("./
|
|
3999
|
-
markdown: () => import("./chart-markdown-
|
|
4000
|
-
funnel: () => import("./chart-funnel-
|
|
4001
|
-
sankey: () => import("./chart-sankey-
|
|
4002
|
-
sunburst: () => import("./chart-sunburst-
|
|
4003
|
-
heatmap: () => import("./chart-heat-map-
|
|
4004
|
-
retentionHeatmap: () => import("./RetentionHeatmap-
|
|
4005
|
-
retentionCombined: () => import("./RetentionCombinedChart-
|
|
4006
|
-
boxPlot: () => import("./chart-box-plot-
|
|
4007
|
-
waterfall: () => import("./chart-waterfall-
|
|
4008
|
-
candlestick: () => import("./chart-candlestick-
|
|
4009
|
-
measureProfile: () => import("./chart-measure-profile-
|
|
4010
|
-
gauge: () => import("./chart-gauge-
|
|
4011
|
-
},
|
|
4012
|
-
function
|
|
4013
|
-
let t = ({ height: t }) => /* @__PURE__ */
|
|
4150
|
+
}, Ba = {
|
|
4151
|
+
bar: () => import("./chart-bar-BiENfFgE.js").then((e) => e.n),
|
|
4152
|
+
line: () => import("./chart-line-B5_WntY5.js").then((e) => e.n),
|
|
4153
|
+
area: () => import("./chart-area-BwYaflNk.js").then((e) => e.n),
|
|
4154
|
+
pie: () => import("./chart-pie-BodrUoHv.js").then((e) => e.n),
|
|
4155
|
+
scatter: () => import("./chart-scatter-B8OwlsAX.js").then((e) => e.n),
|
|
4156
|
+
radar: () => import("./chart-radar-gG3zfLud.js").then((e) => e.n),
|
|
4157
|
+
radialBar: () => import("./chart-radial-bar-C2IPCV8c.js").then((e) => e.n),
|
|
4158
|
+
treemap: () => import("./chart-tree-map-DZaKy9he.js").then((e) => e.n),
|
|
4159
|
+
bubble: () => import("./chart-bubble-DQQhGVDJ.js").then((e) => e.t),
|
|
4160
|
+
table: () => Promise.resolve().then(() => Po),
|
|
4161
|
+
activityGrid: () => import("./chart-activity-grid-DLktOINm.js").then((e) => e.t),
|
|
4162
|
+
kpiNumber: () => import("./KpiNumber-CKF-8e_T.js"),
|
|
4163
|
+
kpiDelta: () => import("./KpiDelta-Bk8bzKYM.js"),
|
|
4164
|
+
kpiText: () => import("./KpiText-Iz1vIvu_.js"),
|
|
4165
|
+
markdown: () => import("./chart-markdown-B6bENbel.js").then((e) => e.n),
|
|
4166
|
+
funnel: () => import("./chart-funnel-poyOf7-e.js").then((e) => e.n),
|
|
4167
|
+
sankey: () => import("./chart-sankey-BOyxfG1Q.js").then((e) => e.t),
|
|
4168
|
+
sunburst: () => import("./chart-sunburst-D9lGEOCc.js").then((e) => e.t),
|
|
4169
|
+
heatmap: () => import("./chart-heat-map-BAMVhLGG.js").then((e) => e.t),
|
|
4170
|
+
retentionHeatmap: () => import("./RetentionHeatmap-CyREolyP.js"),
|
|
4171
|
+
retentionCombined: () => import("./RetentionCombinedChart-DIhK5pD8.js"),
|
|
4172
|
+
boxPlot: () => import("./chart-box-plot-BJF1tBXC.js").then((e) => e.t),
|
|
4173
|
+
waterfall: () => import("./chart-waterfall-BCdUx4DC.js").then((e) => e.t),
|
|
4174
|
+
candlestick: () => import("./chart-candlestick-C2UuXbLe.js").then((e) => e.t),
|
|
4175
|
+
measureProfile: () => import("./chart-measure-profile-yWk-obNb.js").then((e) => e.t),
|
|
4176
|
+
gauge: () => import("./chart-gauge-D5J4gRky.js").then((e) => e.t)
|
|
4177
|
+
}, X = /* @__PURE__ */ new Map();
|
|
4178
|
+
function Va(e) {
|
|
4179
|
+
let t = ({ height: t }) => /* @__PURE__ */ D("div", {
|
|
4014
4180
|
className: "dc:flex dc:flex-col dc:items-center dc:justify-center dc:w-full dc:gap-2",
|
|
4015
4181
|
style: { height: typeof t == "number" ? `${t}px` : t || "200px" },
|
|
4016
|
-
children: [/* @__PURE__ */
|
|
4182
|
+
children: [/* @__PURE__ */ E("div", {
|
|
4017
4183
|
className: "dc:text-sm dc:font-semibold text-dc-text-muted",
|
|
4018
4184
|
children: "Unknown chart type"
|
|
4019
|
-
}), /* @__PURE__ */
|
|
4185
|
+
}), /* @__PURE__ */ D("div", {
|
|
4020
4186
|
className: "dc:text-xs text-dc-text-muted",
|
|
4021
4187
|
children: [
|
|
4022
4188
|
"“",
|
|
@@ -4027,8 +4193,8 @@ function xa(e) {
|
|
|
4027
4193
|
});
|
|
4028
4194
|
return t.displayName = `UnknownChart_${e}`, t;
|
|
4029
4195
|
}
|
|
4030
|
-
function
|
|
4031
|
-
let t =
|
|
4196
|
+
function Ha(e) {
|
|
4197
|
+
let t = za[e], n = ({ height: n }) => /* @__PURE__ */ E(Ra, {
|
|
4032
4198
|
chartType: e,
|
|
4033
4199
|
packageName: t?.packageName || "unknown",
|
|
4034
4200
|
installCommand: t?.installCommand || "npm install [package-name]",
|
|
@@ -4036,78 +4202,78 @@ function Sa(e) {
|
|
|
4036
4202
|
});
|
|
4037
4203
|
return n.displayName = `${e}Fallback`, n;
|
|
4038
4204
|
}
|
|
4039
|
-
function
|
|
4205
|
+
function Ua(e, t) {
|
|
4040
4206
|
return async () => {
|
|
4041
4207
|
try {
|
|
4042
4208
|
return await t();
|
|
4043
4209
|
} catch (t) {
|
|
4044
|
-
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t),
|
|
4210
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), Y.add(e), { default: Ha(e) };
|
|
4045
4211
|
}
|
|
4046
4212
|
};
|
|
4047
4213
|
}
|
|
4048
|
-
function
|
|
4049
|
-
let t =
|
|
4214
|
+
function Wa(e) {
|
|
4215
|
+
let t = X.get(e);
|
|
4050
4216
|
if (t) return t;
|
|
4051
|
-
if (
|
|
4052
|
-
let n =
|
|
4217
|
+
if (J.has(e)) return J.get(e);
|
|
4218
|
+
let n = Ba[e];
|
|
4053
4219
|
if (n) {
|
|
4054
|
-
let t =
|
|
4055
|
-
return
|
|
4220
|
+
let t = Ua(e, n);
|
|
4221
|
+
return J.set(e, me(t)), J.get(e);
|
|
4056
4222
|
}
|
|
4057
|
-
return
|
|
4223
|
+
return me(() => Promise.resolve({ default: Va(e) }));
|
|
4058
4224
|
}
|
|
4059
|
-
function
|
|
4060
|
-
return e in
|
|
4225
|
+
function Ga(e) {
|
|
4226
|
+
return e in Ba || X.has(e);
|
|
4061
4227
|
}
|
|
4062
|
-
function
|
|
4063
|
-
return /* @__PURE__ */
|
|
4228
|
+
function Ka({ height: e }) {
|
|
4229
|
+
return /* @__PURE__ */ E("div", {
|
|
4064
4230
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4065
4231
|
style: { height: typeof e == "number" ? `${e}px` : e || "200px" },
|
|
4066
|
-
children: /* @__PURE__ */
|
|
4232
|
+
children: /* @__PURE__ */ E("div", { className: "dc:animate-pulse bg-dc-surface-secondary dc:rounded dc:w-full dc:h-full dc:min-h-[100px]" })
|
|
4067
4233
|
});
|
|
4068
4234
|
}
|
|
4069
|
-
function
|
|
4070
|
-
let i =
|
|
4071
|
-
return /* @__PURE__ */
|
|
4072
|
-
fallback: t ?? /* @__PURE__ */
|
|
4073
|
-
children: /* @__PURE__ */
|
|
4235
|
+
function qa({ chartType: e, fallback: t, height: n, ...r }) {
|
|
4236
|
+
let i = Wa(e);
|
|
4237
|
+
return /* @__PURE__ */ E(ue, {
|
|
4238
|
+
fallback: t ?? /* @__PURE__ */ E(Ka, { height: n }),
|
|
4239
|
+
children: /* @__PURE__ */ E(i, {
|
|
4074
4240
|
height: n,
|
|
4075
4241
|
...r
|
|
4076
4242
|
})
|
|
4077
4243
|
});
|
|
4078
4244
|
}
|
|
4079
|
-
function
|
|
4080
|
-
let t =
|
|
4245
|
+
function Ja(e) {
|
|
4246
|
+
let t = Ba[e];
|
|
4081
4247
|
t && t();
|
|
4082
4248
|
}
|
|
4083
|
-
function
|
|
4084
|
-
e.forEach(
|
|
4249
|
+
function Ya(e) {
|
|
4250
|
+
e.forEach(Ja);
|
|
4085
4251
|
}
|
|
4086
|
-
function
|
|
4087
|
-
let e = Object.keys(
|
|
4252
|
+
function Xa() {
|
|
4253
|
+
let e = Object.keys(Ba), t = Array.from(X.keys());
|
|
4088
4254
|
return [...new Set([...e, ...t])];
|
|
4089
4255
|
}
|
|
4090
|
-
function
|
|
4091
|
-
return !
|
|
4256
|
+
function Za(e) {
|
|
4257
|
+
return !Y.has(e);
|
|
4092
4258
|
}
|
|
4093
|
-
function
|
|
4094
|
-
return Array.from(
|
|
4259
|
+
function Qa() {
|
|
4260
|
+
return Array.from(Y);
|
|
4095
4261
|
}
|
|
4096
|
-
function
|
|
4097
|
-
if (
|
|
4098
|
-
let t = r ?
|
|
4099
|
-
|
|
4262
|
+
function $a(e, t, n, r) {
|
|
4263
|
+
if (J.delete(e), Y.delete(e), n) {
|
|
4264
|
+
let t = r ? Ua(e, n) : n;
|
|
4265
|
+
X.set(e, me(t));
|
|
4100
4266
|
} else if (t) {
|
|
4101
4267
|
let n = t;
|
|
4102
|
-
|
|
4268
|
+
X.set(e, me(() => Promise.resolve({ default: n })));
|
|
4103
4269
|
}
|
|
4104
4270
|
}
|
|
4105
|
-
function
|
|
4106
|
-
|
|
4271
|
+
function eo(e) {
|
|
4272
|
+
X.delete(e), J.delete(e), Y.delete(e);
|
|
4107
4273
|
}
|
|
4108
4274
|
//#endregion
|
|
4109
4275
|
//#region src/client/charts/chartConfigs.ts
|
|
4110
|
-
var
|
|
4276
|
+
var to = {
|
|
4111
4277
|
dropZones: [
|
|
4112
4278
|
{
|
|
4113
4279
|
key: "xAxis",
|
|
@@ -4139,34 +4305,34 @@ var X = {
|
|
|
4139
4305
|
"showGrid",
|
|
4140
4306
|
"showTooltip"
|
|
4141
4307
|
]
|
|
4142
|
-
},
|
|
4143
|
-
bar: () => import("./chart-config-bar-
|
|
4144
|
-
line: () => import("./chart-config-line
|
|
4145
|
-
area: () => import("./chart-config-area-
|
|
4146
|
-
pie: () => import("./chart-config-pie-
|
|
4147
|
-
scatter: () => import("./chart-config-scatter-
|
|
4148
|
-
radar: () => import("./chart-config-radar-
|
|
4149
|
-
radialBar: () => import("./chart-config-radial-bar-
|
|
4150
|
-
treemap: () => import("./chart-config-tree-map-
|
|
4151
|
-
bubble: () => import("./chart-config-bubble-
|
|
4152
|
-
table: () => import("./chart-config-data-table-
|
|
4153
|
-
activityGrid: () => import("./chart-config-activity-grid-
|
|
4154
|
-
kpiNumber: () => import("./chart-config-kpi-number-
|
|
4155
|
-
kpiDelta: () => import("./chart-config-kpi-delta-
|
|
4156
|
-
kpiText: () => import("./chart-config-kpi-text-
|
|
4157
|
-
markdown: () => import("./chart-config-markdown-
|
|
4158
|
-
funnel: () => import("./chart-config-funnel-
|
|
4159
|
-
sankey: () => import("./chart-config-sankey-
|
|
4160
|
-
sunburst: () => import("./chart-config-sunburst-
|
|
4161
|
-
heatmap: () => import("./chart-config-heat-map-
|
|
4162
|
-
retentionHeatmap: () => Promise.resolve().then(() =>
|
|
4163
|
-
retentionCombined: () => Promise.resolve().then(() =>
|
|
4164
|
-
boxPlot: () => import("./chart-config-box-plot-
|
|
4165
|
-
waterfall: () => import("./chart-config-waterfall-
|
|
4166
|
-
candlestick: () => import("./chart-config-candlestick-
|
|
4167
|
-
measureProfile: () => import("./chart-config-measure-profile-
|
|
4168
|
-
gauge: () => import("./chart-config-gauge-
|
|
4169
|
-
},
|
|
4308
|
+
}, no = {
|
|
4309
|
+
bar: () => import("./chart-config-bar-C-7Dr1Ho.js").then((e) => e.t),
|
|
4310
|
+
line: () => import("./chart-config-line-Bl9VDAdz.js").then((e) => e.t),
|
|
4311
|
+
area: () => import("./chart-config-area-CWnWVT6a.js").then((e) => e.t),
|
|
4312
|
+
pie: () => import("./chart-config-pie-BzBcqPMJ.js").then((e) => e.t),
|
|
4313
|
+
scatter: () => import("./chart-config-scatter-D5nVLDvi.js").then((e) => e.t),
|
|
4314
|
+
radar: () => import("./chart-config-radar-6ZOgt__z.js").then((e) => e.t),
|
|
4315
|
+
radialBar: () => import("./chart-config-radial-bar-Df6Eta7N.js").then((e) => e.t),
|
|
4316
|
+
treemap: () => import("./chart-config-tree-map-Bjy4QNa3.js").then((e) => e.t),
|
|
4317
|
+
bubble: () => import("./chart-config-bubble-BPE2CeiD.js").then((e) => e.t),
|
|
4318
|
+
table: () => import("./chart-config-data-table-Bhdx5Hem.js").then((e) => e.t),
|
|
4319
|
+
activityGrid: () => import("./chart-config-activity-grid-DJOU3TEz.js").then((e) => e.t),
|
|
4320
|
+
kpiNumber: () => import("./chart-config-kpi-number-DCytCytn.js").then((e) => e.t),
|
|
4321
|
+
kpiDelta: () => import("./chart-config-kpi-delta-DMrQerUW.js").then((e) => e.t),
|
|
4322
|
+
kpiText: () => import("./chart-config-kpi-text-KdKQUvHo.js").then((e) => e.t),
|
|
4323
|
+
markdown: () => import("./chart-config-markdown-BX26b94i.js").then((e) => e.t),
|
|
4324
|
+
funnel: () => import("./chart-config-funnel-Cl-v-bm1.js").then((e) => e.t),
|
|
4325
|
+
sankey: () => import("./chart-config-sankey-DgqKBFvN.js").then((e) => e.t),
|
|
4326
|
+
sunburst: () => import("./chart-config-sunburst-Ca3FX9nW.js").then((e) => e.t),
|
|
4327
|
+
heatmap: () => import("./chart-config-heat-map-DGE3NzoF.js").then((e) => e.t),
|
|
4328
|
+
retentionHeatmap: () => Promise.resolve().then(() => go),
|
|
4329
|
+
retentionCombined: () => Promise.resolve().then(() => vo),
|
|
4330
|
+
boxPlot: () => import("./chart-config-box-plot-mVOwmLdu.js").then((e) => e.t),
|
|
4331
|
+
waterfall: () => import("./chart-config-waterfall-C5K2eqR7.js").then((e) => e.t),
|
|
4332
|
+
candlestick: () => import("./chart-config-candlestick-BSB9DRy2.js").then((e) => e.t),
|
|
4333
|
+
measureProfile: () => import("./chart-config-measure-profile-DwtRhEFh.js").then((e) => e.t),
|
|
4334
|
+
gauge: () => import("./chart-config-gauge-CdrUTJMJ.js").then((e) => e.t)
|
|
4335
|
+
}, ro = {
|
|
4170
4336
|
bar: "barChartConfig",
|
|
4171
4337
|
line: "lineChartConfig",
|
|
4172
4338
|
area: "areaChartConfig",
|
|
@@ -4194,36 +4360,36 @@ var X = {
|
|
|
4194
4360
|
measureProfile: "measureProfileChartConfig",
|
|
4195
4361
|
gauge: "gaugeChartConfig"
|
|
4196
4362
|
}, Z = /* @__PURE__ */ new Map();
|
|
4197
|
-
async function
|
|
4363
|
+
async function io(e) {
|
|
4198
4364
|
if (Z.has(e)) return Z.get(e);
|
|
4199
|
-
let t =
|
|
4365
|
+
let t = no[e];
|
|
4200
4366
|
if (!t) return null;
|
|
4201
4367
|
try {
|
|
4202
|
-
let n = (await t())[
|
|
4368
|
+
let n = (await t())[ro[e]];
|
|
4203
4369
|
return n ? (Z.set(e, n), n) : null;
|
|
4204
4370
|
} catch (t) {
|
|
4205
4371
|
return console.error(`Failed to load config for chart type: ${e}`, t), null;
|
|
4206
4372
|
}
|
|
4207
4373
|
}
|
|
4208
|
-
function
|
|
4209
|
-
return Z.get(e) ||
|
|
4374
|
+
function ao(e) {
|
|
4375
|
+
return Z.get(e) || to;
|
|
4210
4376
|
}
|
|
4211
|
-
function
|
|
4377
|
+
function oo(e) {
|
|
4212
4378
|
return Z.has(e);
|
|
4213
4379
|
}
|
|
4214
|
-
function
|
|
4215
|
-
let [t, n] =
|
|
4216
|
-
return
|
|
4380
|
+
function so(e) {
|
|
4381
|
+
let [t, n] = T(e ? ao(e) : to), [r, i] = T(!1), [a, o] = T(!1);
|
|
4382
|
+
return C(() => {
|
|
4217
4383
|
if (!e) {
|
|
4218
|
-
n(
|
|
4384
|
+
n(to), o(!1);
|
|
4219
4385
|
return;
|
|
4220
4386
|
}
|
|
4221
4387
|
if (Z.has(e)) {
|
|
4222
4388
|
n(Z.get(e)), o(!0);
|
|
4223
4389
|
return;
|
|
4224
4390
|
}
|
|
4225
|
-
i(!0),
|
|
4226
|
-
e ? (n(e), o(!0)) : (n(
|
|
4391
|
+
i(!0), io(e).then((e) => {
|
|
4392
|
+
e ? (n(e), o(!0)) : (n(to), o(!0));
|
|
4227
4393
|
}).finally(() => i(!1));
|
|
4228
4394
|
}, [e]), {
|
|
4229
4395
|
config: t,
|
|
@@ -4231,15 +4397,15 @@ function Ba(e) {
|
|
|
4231
4397
|
loaded: a
|
|
4232
4398
|
};
|
|
4233
4399
|
}
|
|
4234
|
-
async function
|
|
4235
|
-
Z.has(e) || await
|
|
4400
|
+
async function co(e) {
|
|
4401
|
+
Z.has(e) || await io(e);
|
|
4236
4402
|
}
|
|
4237
|
-
async function
|
|
4238
|
-
await Promise.all(e.map(
|
|
4403
|
+
async function lo(e) {
|
|
4404
|
+
await Promise.all(e.map(co));
|
|
4239
4405
|
}
|
|
4240
|
-
async function
|
|
4241
|
-
let e = Object.keys(
|
|
4242
|
-
await Promise.all(e.map(
|
|
4406
|
+
async function uo() {
|
|
4407
|
+
let e = Object.keys(no);
|
|
4408
|
+
await Promise.all(e.map(io));
|
|
4243
4409
|
let t = {};
|
|
4244
4410
|
for (let n of e) {
|
|
4245
4411
|
let e = Z.get(n);
|
|
@@ -4247,43 +4413,43 @@ async function Ua() {
|
|
|
4247
4413
|
}
|
|
4248
4414
|
return t;
|
|
4249
4415
|
}
|
|
4250
|
-
function
|
|
4416
|
+
function fo() {
|
|
4251
4417
|
Z.clear();
|
|
4252
4418
|
}
|
|
4253
|
-
function
|
|
4419
|
+
function po(e, t) {
|
|
4254
4420
|
Z.set(e, t);
|
|
4255
4421
|
}
|
|
4256
|
-
function
|
|
4422
|
+
function mo(e) {
|
|
4257
4423
|
Z.delete(e);
|
|
4258
4424
|
}
|
|
4259
4425
|
//#endregion
|
|
4260
4426
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
4261
|
-
function
|
|
4262
|
-
let { meta: t, labelMap:
|
|
4427
|
+
function ho({ children: e }) {
|
|
4428
|
+
let { meta: t, labelMap: n, isLoading: i, error: a, refetch: o, getFieldLabel: s } = zt(), c = a ? a instanceof Error ? a.message : String(a) : null, l = S(() => {
|
|
4263
4429
|
o();
|
|
4264
|
-
}, [o]), u =
|
|
4430
|
+
}, [o]), u = S((e) => s(e), [s]), d = w(() => ({
|
|
4265
4431
|
meta: t,
|
|
4266
|
-
labelMap:
|
|
4432
|
+
labelMap: n,
|
|
4267
4433
|
metaLoading: i,
|
|
4268
4434
|
metaError: c,
|
|
4269
4435
|
getFieldLabel: u,
|
|
4270
4436
|
refetchMeta: l
|
|
4271
4437
|
}), [
|
|
4272
4438
|
t,
|
|
4273
|
-
|
|
4439
|
+
n,
|
|
4274
4440
|
i,
|
|
4275
4441
|
c,
|
|
4276
4442
|
u,
|
|
4277
4443
|
l
|
|
4278
4444
|
]);
|
|
4279
|
-
return /* @__PURE__ */
|
|
4445
|
+
return /* @__PURE__ */ E(r.Provider, {
|
|
4280
4446
|
value: d,
|
|
4281
4447
|
children: e
|
|
4282
4448
|
});
|
|
4283
4449
|
}
|
|
4284
4450
|
//#endregion
|
|
4285
4451
|
//#region src/client/components/charts/RetentionHeatmap.config.ts
|
|
4286
|
-
var
|
|
4452
|
+
var go = /* @__PURE__ */ t({ retentionHeatmapConfig: () => _o }), _o = {
|
|
4287
4453
|
label: "Retention Matrix",
|
|
4288
4454
|
dropZones: [],
|
|
4289
4455
|
displayOptionsConfig: [{
|
|
@@ -4301,7 +4467,7 @@ var Ja = /* @__PURE__ */ e({ retentionHeatmapConfig: () => Ya }), Ya = {
|
|
|
4301
4467
|
}],
|
|
4302
4468
|
description: "Cohort retention matrix visualization",
|
|
4303
4469
|
useCase: "Visualize user retention over time by cohort"
|
|
4304
|
-
},
|
|
4470
|
+
}, vo = /* @__PURE__ */ t({ retentionCombinedConfig: () => yo }), yo = {
|
|
4305
4471
|
label: "Retention Chart",
|
|
4306
4472
|
dropZones: [],
|
|
4307
4473
|
displayOptionsConfig: [
|
|
@@ -4351,37 +4517,37 @@ var Ja = /* @__PURE__ */ e({ retentionHeatmapConfig: () => Ya }), Ya = {
|
|
|
4351
4517
|
description: "Combined retention visualization with line chart and heatmap modes",
|
|
4352
4518
|
useCase: "Visualize user retention over time with optional breakdown segmentation"
|
|
4353
4519
|
}, Q = {
|
|
4354
|
-
bar:
|
|
4355
|
-
line:
|
|
4356
|
-
area:
|
|
4357
|
-
pie:
|
|
4358
|
-
scatter:
|
|
4359
|
-
bubble:
|
|
4360
|
-
radar:
|
|
4361
|
-
radialBar:
|
|
4362
|
-
treemap:
|
|
4363
|
-
table:
|
|
4364
|
-
activityGrid:
|
|
4365
|
-
kpiNumber:
|
|
4366
|
-
kpiDelta:
|
|
4367
|
-
kpiText:
|
|
4368
|
-
markdown:
|
|
4369
|
-
funnel:
|
|
4370
|
-
sankey:
|
|
4371
|
-
sunburst:
|
|
4372
|
-
heatmap:
|
|
4373
|
-
retentionHeatmap:
|
|
4374
|
-
retentionCombined:
|
|
4375
|
-
boxPlot:
|
|
4376
|
-
waterfall:
|
|
4377
|
-
candlestick:
|
|
4378
|
-
measureProfile:
|
|
4379
|
-
gauge:
|
|
4520
|
+
bar: o,
|
|
4521
|
+
line: s,
|
|
4522
|
+
area: c,
|
|
4523
|
+
pie: l,
|
|
4524
|
+
scatter: u,
|
|
4525
|
+
bubble: d,
|
|
4526
|
+
radar: f,
|
|
4527
|
+
radialBar: p,
|
|
4528
|
+
treemap: m,
|
|
4529
|
+
table: h,
|
|
4530
|
+
activityGrid: g,
|
|
4531
|
+
kpiNumber: _,
|
|
4532
|
+
kpiDelta: v,
|
|
4533
|
+
kpiText: ee,
|
|
4534
|
+
markdown: y,
|
|
4535
|
+
funnel: b,
|
|
4536
|
+
sankey: te,
|
|
4537
|
+
sunburst: ne,
|
|
4538
|
+
heatmap: re,
|
|
4539
|
+
retentionHeatmap: _o,
|
|
4540
|
+
retentionCombined: yo,
|
|
4541
|
+
boxPlot: ie,
|
|
4542
|
+
waterfall: ae,
|
|
4543
|
+
candlestick: oe,
|
|
4544
|
+
measureProfile: se,
|
|
4545
|
+
gauge: ce
|
|
4380
4546
|
};
|
|
4381
|
-
function
|
|
4547
|
+
function bo(e, t) {
|
|
4382
4548
|
Q[e] = t;
|
|
4383
4549
|
}
|
|
4384
|
-
function
|
|
4550
|
+
function xo(e) {
|
|
4385
4551
|
delete Q[e];
|
|
4386
4552
|
}
|
|
4387
4553
|
var $ = new class {
|
|
@@ -4395,13 +4561,13 @@ var $ = new class {
|
|
|
4395
4561
|
...e.config,
|
|
4396
4562
|
label: e.config.label || e.label
|
|
4397
4563
|
};
|
|
4398
|
-
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),
|
|
4564
|
+
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), bo(e.type, t), po(e.type, t), $a(e.type, e.component, e.lazyComponent, e.dependencies), e.icon && this.iconMap.set(e.type, e.icon), this.bump();
|
|
4399
4565
|
}
|
|
4400
4566
|
unregister(e) {
|
|
4401
4567
|
if (!this.customCharts.has(e)) return;
|
|
4402
4568
|
this.customCharts.delete(e), this.iconMap.delete(e);
|
|
4403
4569
|
let t = this.builtInBackups.get(e);
|
|
4404
|
-
t ? (
|
|
4570
|
+
t ? (bo(e, t), po(e, t), this.builtInBackups.delete(e)) : (xo(e), mo(e)), eo(e), this.bump();
|
|
4405
4571
|
}
|
|
4406
4572
|
getIcon(e) {
|
|
4407
4573
|
return this.iconMap.get(e);
|
|
@@ -4421,19 +4587,19 @@ var $ = new class {
|
|
|
4421
4587
|
for (let e of this.listeners) e();
|
|
4422
4588
|
}
|
|
4423
4589
|
}();
|
|
4424
|
-
|
|
4590
|
+
Oa((e) => $.getIcon(e));
|
|
4425
4591
|
//#endregion
|
|
4426
4592
|
//#region src/client/providers/CubeProvider.tsx
|
|
4427
|
-
var
|
|
4593
|
+
var So = { apiUrl: "/cubejs-api/v1" }, Co = () => new ft({ defaultOptions: { queries: {
|
|
4428
4594
|
staleTime: 300 * 1e3,
|
|
4429
4595
|
gcTime: 900 * 1e3,
|
|
4430
4596
|
retry: 3,
|
|
4431
4597
|
refetchOnWindowFocus: !1
|
|
4432
4598
|
} } });
|
|
4433
|
-
|
|
4434
|
-
function
|
|
4435
|
-
let [d] =
|
|
4436
|
-
return
|
|
4599
|
+
Co();
|
|
4600
|
+
function wo({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dashboardModes: a, enableBatching: o, batchDelayMs: s, queryClient: c, customCharts: l, children: u }) {
|
|
4601
|
+
let [d] = T(() => Co()), f = c ?? d, p = ge([]);
|
|
4602
|
+
return C(() => {
|
|
4437
4603
|
if (!l || l.length === 0) {
|
|
4438
4604
|
for (let e of p.current) $.unregister(e);
|
|
4439
4605
|
p.current = [];
|
|
@@ -4446,15 +4612,15 @@ function no({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
|
|
|
4446
4612
|
for (let e of p.current) $.unregister(e);
|
|
4447
4613
|
p.current = [];
|
|
4448
4614
|
};
|
|
4449
|
-
}, [l]), /* @__PURE__ */
|
|
4615
|
+
}, [l]), /* @__PURE__ */ E(ht, {
|
|
4450
4616
|
client: f,
|
|
4451
|
-
children: /* @__PURE__ */
|
|
4452
|
-
apiOptions: t ||
|
|
4617
|
+
children: /* @__PURE__ */ E(Ft, {
|
|
4618
|
+
apiOptions: t || So,
|
|
4453
4619
|
token: n,
|
|
4454
4620
|
options: r,
|
|
4455
4621
|
enableBatching: o,
|
|
4456
4622
|
batchDelayMs: s,
|
|
4457
|
-
children: /* @__PURE__ */
|
|
4623
|
+
children: /* @__PURE__ */ E(ho, { children: /* @__PURE__ */ E(vn, {
|
|
4458
4624
|
features: i,
|
|
4459
4625
|
dashboardModes: a,
|
|
4460
4626
|
children: u
|
|
@@ -4462,29 +4628,29 @@ function no({ cubeApi: e, apiOptions: t, token: n, options: r, features: i, dash
|
|
|
4462
4628
|
})
|
|
4463
4629
|
});
|
|
4464
4630
|
}
|
|
4465
|
-
function
|
|
4466
|
-
let e =
|
|
4467
|
-
return
|
|
4631
|
+
function To() {
|
|
4632
|
+
let e = It(), t = n(), r = bn();
|
|
4633
|
+
return w(() => ({
|
|
4468
4634
|
...e,
|
|
4469
|
-
...
|
|
4635
|
+
...t,
|
|
4470
4636
|
features: r.features,
|
|
4471
4637
|
dashboardModes: r.dashboardModes
|
|
4472
4638
|
}), [
|
|
4473
4639
|
e,
|
|
4474
|
-
|
|
4640
|
+
t,
|
|
4475
4641
|
r
|
|
4476
4642
|
]);
|
|
4477
4643
|
}
|
|
4478
4644
|
//#endregion
|
|
4479
4645
|
//#region src/client/utils/pivotUtils.ts
|
|
4480
|
-
function
|
|
4646
|
+
function Eo(e) {
|
|
4481
4647
|
if (!e) return [];
|
|
4482
4648
|
let t = [];
|
|
4483
4649
|
return e.dimensions && t.push(...e.dimensions), e.timeDimensions && e.timeDimensions.forEach((e) => {
|
|
4484
4650
|
t.includes(e.dimension) || t.push(e.dimension);
|
|
4485
4651
|
}), e.measures && t.push(...e.measures), t;
|
|
4486
4652
|
}
|
|
4487
|
-
function
|
|
4653
|
+
function Do(e, t) {
|
|
4488
4654
|
if (!e?.timeDimensions?.length) return null;
|
|
4489
4655
|
let n = e.timeDimensions.find((e) => e.granularity);
|
|
4490
4656
|
if (!n?.granularity || !e.measures?.length) return null;
|
|
@@ -4501,17 +4667,17 @@ function ao(e, t) {
|
|
|
4501
4667
|
measures: i
|
|
4502
4668
|
};
|
|
4503
4669
|
}
|
|
4504
|
-
function
|
|
4505
|
-
let
|
|
4670
|
+
function Oo(e, t, n) {
|
|
4671
|
+
let r = /* @__PURE__ */ new Set();
|
|
4506
4672
|
return e.forEach((e) => {
|
|
4507
4673
|
let a = e[t];
|
|
4508
4674
|
if (a != null) {
|
|
4509
|
-
let e =
|
|
4510
|
-
|
|
4675
|
+
let e = i(a, n);
|
|
4676
|
+
r.add(e);
|
|
4511
4677
|
}
|
|
4512
|
-
}), Array.from(
|
|
4678
|
+
}), Array.from(r).sort();
|
|
4513
4679
|
}
|
|
4514
|
-
function
|
|
4680
|
+
function ko(e, t, n) {
|
|
4515
4681
|
let r = [];
|
|
4516
4682
|
return e.measures.length > 1 && r.push({
|
|
4517
4683
|
key: "__measure__",
|
|
@@ -4532,20 +4698,20 @@ function so(e, t, n) {
|
|
|
4532
4698
|
});
|
|
4533
4699
|
}), r;
|
|
4534
4700
|
}
|
|
4535
|
-
function
|
|
4701
|
+
function Ao(e, t) {
|
|
4536
4702
|
let n = /* @__PURE__ */ new Map();
|
|
4537
4703
|
return e.forEach((e) => {
|
|
4538
|
-
let
|
|
4539
|
-
n.has(
|
|
4704
|
+
let r = t.dimensions.length > 0 ? t.dimensions.map((t) => String(e[t] ?? "")).join("|") : "__all__";
|
|
4705
|
+
n.has(r) || n.set(r, /* @__PURE__ */ new Map());
|
|
4540
4706
|
let a = e[t.timeDimension];
|
|
4541
4707
|
if (a != null) {
|
|
4542
|
-
let o =
|
|
4543
|
-
n.get(
|
|
4708
|
+
let o = i(a, t.granularity);
|
|
4709
|
+
n.get(r).set(o, e);
|
|
4544
4710
|
}
|
|
4545
4711
|
}), n;
|
|
4546
4712
|
}
|
|
4547
|
-
function
|
|
4548
|
-
let i =
|
|
4713
|
+
function jo(e, t, n, r) {
|
|
4714
|
+
let i = Ao(e, t), a = Array.from(i.keys()), o = [], s = t.measures.length, c = a.length;
|
|
4549
4715
|
return t.measures.forEach((e) => {
|
|
4550
4716
|
a.forEach((a, l) => {
|
|
4551
4717
|
let u = i.get(a), d = s > 1 ? `${e}|${a}` : a, f = {}, p = a === "__all__" ? [] : a.split("|");
|
|
@@ -4565,20 +4731,20 @@ function lo(e, t, n, r) {
|
|
|
4565
4731
|
});
|
|
4566
4732
|
}), o;
|
|
4567
4733
|
}
|
|
4568
|
-
function
|
|
4734
|
+
function Mo(e, t, n, r) {
|
|
4569
4735
|
if (!e || e.length === 0) return {
|
|
4570
4736
|
isPivoted: !0,
|
|
4571
4737
|
columns: [],
|
|
4572
4738
|
rows: []
|
|
4573
4739
|
};
|
|
4574
|
-
let i =
|
|
4740
|
+
let i = Oo(e, t.timeDimension, t.granularity);
|
|
4575
4741
|
return {
|
|
4576
4742
|
isPivoted: !0,
|
|
4577
|
-
columns:
|
|
4578
|
-
rows:
|
|
4743
|
+
columns: ko(t, i, n),
|
|
4744
|
+
rows: jo(e, t, i, n)
|
|
4579
4745
|
};
|
|
4580
4746
|
}
|
|
4581
|
-
function
|
|
4747
|
+
function No(e, t) {
|
|
4582
4748
|
if (t?.cubes) for (let n of t.cubes) {
|
|
4583
4749
|
let t = n.measures.find((t) => t.name === e);
|
|
4584
4750
|
if (t) return t.type;
|
|
@@ -4586,70 +4752,70 @@ function fo(e, t) {
|
|
|
4586
4752
|
}
|
|
4587
4753
|
//#endregion
|
|
4588
4754
|
//#region src/client/components/charts/DataTable.tsx
|
|
4589
|
-
var
|
|
4590
|
-
let { getFieldLabel: o, meta: s } =
|
|
4755
|
+
var Po = /* @__PURE__ */ t({ default: () => Fo }), Fo = le.memo(function({ data: e, chartConfig: t, displayConfig: r = {}, queryObject: i, height: a = 300 }) {
|
|
4756
|
+
let { getFieldLabel: o, meta: s } = n(), c = w(() => Do(i, t?.xAxis), [i, t?.xAxis]), l = r?.pivotTimeDimension !== !1, u = w(() => !c || !l ? null : Mo(e, c, o, s), [
|
|
4591
4757
|
e,
|
|
4592
4758
|
c,
|
|
4593
4759
|
l,
|
|
4594
4760
|
o,
|
|
4595
4761
|
s
|
|
4596
4762
|
]);
|
|
4597
|
-
return !e || e.length === 0 ? /* @__PURE__ */
|
|
4763
|
+
return !e || e.length === 0 ? /* @__PURE__ */ E("div", {
|
|
4598
4764
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4599
4765
|
style: { height: a },
|
|
4600
|
-
children: /* @__PURE__ */
|
|
4766
|
+
children: /* @__PURE__ */ D("div", {
|
|
4601
4767
|
className: "dc:text-center text-dc-text-muted",
|
|
4602
|
-
children: [/* @__PURE__ */
|
|
4768
|
+
children: [/* @__PURE__ */ E("div", {
|
|
4603
4769
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4604
4770
|
children: "No data available"
|
|
4605
|
-
}), /* @__PURE__ */
|
|
4771
|
+
}), /* @__PURE__ */ E("div", {
|
|
4606
4772
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4607
4773
|
children: "No data to display in table"
|
|
4608
4774
|
})]
|
|
4609
4775
|
})
|
|
4610
|
-
}) : u?.isPivoted && u.columns.length > 0 ? /* @__PURE__ */
|
|
4776
|
+
}) : u?.isPivoted && u.columns.length > 0 ? /* @__PURE__ */ E(Io, {
|
|
4611
4777
|
pivotedData: u,
|
|
4612
4778
|
height: a,
|
|
4613
4779
|
meta: s,
|
|
4614
4780
|
leftYAxisFormat: r?.leftYAxisFormat
|
|
4615
|
-
}) : /* @__PURE__ */
|
|
4781
|
+
}) : /* @__PURE__ */ E(zo, {
|
|
4616
4782
|
data: e,
|
|
4617
|
-
chartConfig:
|
|
4783
|
+
chartConfig: t,
|
|
4618
4784
|
queryObject: i,
|
|
4619
4785
|
height: a,
|
|
4620
4786
|
getFieldLabel: o,
|
|
4621
4787
|
leftYAxisFormat: r?.leftYAxisFormat
|
|
4622
4788
|
});
|
|
4623
4789
|
});
|
|
4624
|
-
function
|
|
4790
|
+
function Io({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
4625
4791
|
let { columns: i, rows: a } = e;
|
|
4626
|
-
return i.length === 0 || a.length === 0 ? /* @__PURE__ */
|
|
4792
|
+
return i.length === 0 || a.length === 0 ? /* @__PURE__ */ E("div", {
|
|
4627
4793
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4628
4794
|
style: { height: t },
|
|
4629
|
-
children: /* @__PURE__ */
|
|
4795
|
+
children: /* @__PURE__ */ D("div", {
|
|
4630
4796
|
className: "dc:text-center text-dc-text-muted",
|
|
4631
|
-
children: [/* @__PURE__ */
|
|
4797
|
+
children: [/* @__PURE__ */ E("div", {
|
|
4632
4798
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4633
4799
|
children: "No data available"
|
|
4634
|
-
}), /* @__PURE__ */
|
|
4800
|
+
}), /* @__PURE__ */ E("div", {
|
|
4635
4801
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4636
4802
|
children: "No data to display in table"
|
|
4637
4803
|
})]
|
|
4638
4804
|
})
|
|
4639
|
-
}) : /* @__PURE__ */
|
|
4805
|
+
}) : /* @__PURE__ */ E("div", {
|
|
4640
4806
|
className: "dc:w-full dc:overflow-auto",
|
|
4641
4807
|
style: { height: t },
|
|
4642
|
-
children: /* @__PURE__ */
|
|
4808
|
+
children: /* @__PURE__ */ D("table", {
|
|
4643
4809
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4644
|
-
children: [/* @__PURE__ */
|
|
4810
|
+
children: [/* @__PURE__ */ E("thead", {
|
|
4645
4811
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4646
|
-
children: /* @__PURE__ */
|
|
4812
|
+
children: /* @__PURE__ */ E("tr", { children: i.map((e) => /* @__PURE__ */ E("th", {
|
|
4647
4813
|
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"}`,
|
|
4648
4814
|
children: e.label
|
|
4649
4815
|
}, e.key)) })
|
|
4650
|
-
}), /* @__PURE__ */
|
|
4816
|
+
}), /* @__PURE__ */ E("tbody", {
|
|
4651
4817
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4652
|
-
children: a.map((e) => /* @__PURE__ */
|
|
4818
|
+
children: a.map((e) => /* @__PURE__ */ E(Lo, {
|
|
4653
4819
|
row: e,
|
|
4654
4820
|
columns: i,
|
|
4655
4821
|
meta: n,
|
|
@@ -4659,36 +4825,36 @@ function ho({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
4659
4825
|
})
|
|
4660
4826
|
});
|
|
4661
4827
|
}
|
|
4662
|
-
function
|
|
4663
|
-
let i =
|
|
4664
|
-
return /* @__PURE__ */
|
|
4828
|
+
function Lo({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
4829
|
+
let i = Fa(No(e.measureField, n));
|
|
4830
|
+
return /* @__PURE__ */ E("tr", {
|
|
4665
4831
|
className: "hover:bg-dc-surface-secondary",
|
|
4666
4832
|
children: t.map((t) => {
|
|
4667
4833
|
let n = e.values[t.key];
|
|
4668
|
-
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */
|
|
4834
|
+
return t.isMeasureColumn ? e.isFirstInGroup === !1 ? null : /* @__PURE__ */ E("td", {
|
|
4669
4835
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text dc:align-top",
|
|
4670
4836
|
rowSpan: e.dimensionRowSpan,
|
|
4671
|
-
children: /* @__PURE__ */
|
|
4837
|
+
children: /* @__PURE__ */ D("div", {
|
|
4672
4838
|
className: "dc:flex dc:items-center",
|
|
4673
|
-
children: [/* @__PURE__ */
|
|
4839
|
+
children: [/* @__PURE__ */ E(i, { className: "dc:w-3.5 dc:h-3.5 dc:mr-1.5 text-dc-text-muted dc:shrink-0" }), /* @__PURE__ */ E("span", { children: n })]
|
|
4674
4840
|
})
|
|
4675
|
-
}, t.key) : t.isTimeColumn ? /* @__PURE__ */
|
|
4841
|
+
}, t.key) : t.isTimeColumn ? /* @__PURE__ */ E("td", {
|
|
4676
4842
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm dc:text-right text-dc-text",
|
|
4677
|
-
children:
|
|
4678
|
-
}, t.key) : /* @__PURE__ */
|
|
4843
|
+
children: Ro(n, r)
|
|
4844
|
+
}, t.key) : /* @__PURE__ */ E("td", {
|
|
4679
4845
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4680
|
-
children:
|
|
4846
|
+
children: Ro(n)
|
|
4681
4847
|
}, t.key);
|
|
4682
4848
|
})
|
|
4683
4849
|
});
|
|
4684
4850
|
}
|
|
4685
|
-
function
|
|
4686
|
-
return e == null ? "-" : typeof e == "number" ? t ?
|
|
4851
|
+
function Ro(e, t) {
|
|
4852
|
+
return e == null ? "-" : typeof e == "number" ? t ? a(e, t) : Number.isInteger(e) ? e.toLocaleString() : parseFloat(e.toFixed(2)).toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4687
4853
|
}
|
|
4688
|
-
function
|
|
4689
|
-
let o = Object.keys(e[0] || {}), s =
|
|
4854
|
+
function zo({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel: i, leftYAxisFormat: a }) {
|
|
4855
|
+
let o = Object.keys(e[0] || {}), s = w(() => {
|
|
4690
4856
|
if (t?.xAxis && t.xAxis.length > 0) return t.xAxis.filter((e) => o.includes(e));
|
|
4691
|
-
let e =
|
|
4857
|
+
let e = Eo(n);
|
|
4692
4858
|
if (e.length > 0) {
|
|
4693
4859
|
let t = e.filter((e) => o.includes(e)), n = o.filter((e) => !t.includes(e));
|
|
4694
4860
|
return [...t, ...n];
|
|
@@ -4699,47 +4865,47 @@ function vo({ data: e, chartConfig: t, queryObject: n, height: r, getFieldLabel:
|
|
|
4699
4865
|
n,
|
|
4700
4866
|
o
|
|
4701
4867
|
]);
|
|
4702
|
-
return s.length === 0 ? /* @__PURE__ */
|
|
4868
|
+
return s.length === 0 ? /* @__PURE__ */ E("div", {
|
|
4703
4869
|
className: "dc:flex dc:items-center dc:justify-center dc:w-full",
|
|
4704
4870
|
style: { height: r },
|
|
4705
|
-
children: /* @__PURE__ */
|
|
4871
|
+
children: /* @__PURE__ */ D("div", {
|
|
4706
4872
|
className: "dc:text-center text-dc-text-muted",
|
|
4707
|
-
children: [/* @__PURE__ */
|
|
4873
|
+
children: [/* @__PURE__ */ E("div", {
|
|
4708
4874
|
className: "dc:text-sm dc:font-semibold dc:mb-1",
|
|
4709
4875
|
children: "No columns available"
|
|
4710
|
-
}), /* @__PURE__ */
|
|
4876
|
+
}), /* @__PURE__ */ E("div", {
|
|
4711
4877
|
className: "dc:text-xs text-dc-text-secondary",
|
|
4712
4878
|
children: "Data structure is invalid"
|
|
4713
4879
|
})]
|
|
4714
4880
|
})
|
|
4715
|
-
}) : /* @__PURE__ */
|
|
4881
|
+
}) : /* @__PURE__ */ E("div", {
|
|
4716
4882
|
className: "dc:w-full dc:overflow-auto",
|
|
4717
4883
|
style: { height: r },
|
|
4718
|
-
children: /* @__PURE__ */
|
|
4884
|
+
children: /* @__PURE__ */ D("table", {
|
|
4719
4885
|
className: "dc:min-w-full dc:divide-y border-dc-border",
|
|
4720
|
-
children: [/* @__PURE__ */
|
|
4886
|
+
children: [/* @__PURE__ */ E("thead", {
|
|
4721
4887
|
className: "bg-dc-surface-secondary dc:sticky dc:top-0",
|
|
4722
|
-
children: /* @__PURE__ */
|
|
4888
|
+
children: /* @__PURE__ */ E("tr", { children: s.map((e) => /* @__PURE__ */ E("th", {
|
|
4723
4889
|
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",
|
|
4724
4890
|
children: i(e)
|
|
4725
4891
|
}, e)) })
|
|
4726
|
-
}), /* @__PURE__ */
|
|
4892
|
+
}), /* @__PURE__ */ E("tbody", {
|
|
4727
4893
|
className: "bg-dc-surface dc:divide-y border-dc-border",
|
|
4728
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
4894
|
+
children: e.map((e, t) => /* @__PURE__ */ E("tr", {
|
|
4729
4895
|
className: "hover:bg-dc-surface-secondary",
|
|
4730
|
-
children: s.map((t) => /* @__PURE__ */
|
|
4896
|
+
children: s.map((t) => /* @__PURE__ */ E("td", {
|
|
4731
4897
|
className: "dc:px-3 dc:py-2 dc:whitespace-nowrap dc:text-sm text-dc-text",
|
|
4732
|
-
children:
|
|
4898
|
+
children: Bo(e[t], a)
|
|
4733
4899
|
}, t))
|
|
4734
4900
|
}, t))
|
|
4735
4901
|
})]
|
|
4736
4902
|
})
|
|
4737
4903
|
});
|
|
4738
4904
|
}
|
|
4739
|
-
function
|
|
4740
|
-
return e == null ? "" : typeof e == "number" ? t ?
|
|
4905
|
+
function Bo(e, t) {
|
|
4906
|
+
return e == null ? "" : typeof e == "number" ? t ? a(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4741
4907
|
}
|
|
4742
4908
|
//#endregion
|
|
4743
|
-
export {
|
|
4909
|
+
export { Mt as $, q as A, ai as B, Qa as C, Ya as D, Ja as E, Ma as F, Wt as G, hn as H, Na as I, Gt as J, Yt as K, ja as L, ka as M, Pa as N, Ia as O, Fa as P, At as Q, Ea as R, Xa as S, Ga as T, un as U, bn as V, dn as W, zt as X, Ut as Y, It as Z, uo as _, Le as _t, Do as a, Ct as at, so as b, To as c, _t as ct, vo as d, Ze as dt, kt as et, go as f, R as ft, oo as g, F as gt, ao as h, Oe as ht, Eo as i, xt as it, Aa as j, La as k, $ as l, mt as lt, io as m, A as mt, Po as n, Dt as nt, Mo as o, St as ot, fo as p, N as pt, Kt as q, No as r, Et as rt, wo as s, bt as st, Fo as t, wt as tt, Q as u, ct as ut, co as v, O as vt, Za as w, qa as x, lo as y, Ta as z };
|
|
4744
4910
|
|
|
4745
|
-
//# sourceMappingURL=chart-data-table-
|
|
4911
|
+
//# sourceMappingURL=chart-data-table-2iCsn0CF.js.map
|