drizzle-cube 0.5.5 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{server/dist-DxegvyZF.cjs → adapters/dist-BOdf-GQO.cjs} +1 -1
- package/dist/adapters/express/index.cjs +1 -1
- package/dist/adapters/express/index.js +4 -4
- package/dist/adapters/fastify/index.cjs +2 -2
- package/dist/adapters/fastify/index.js +4 -4
- package/dist/adapters/{google-CT4kgmBf.js → google-CFYljAOF.js} +1 -1
- package/dist/adapters/{google-Dgo9-Kb5.cjs → google-DUlXeeDA.cjs} +1 -1
- package/dist/adapters/{handler-C1Qs8JMY.cjs → handler-C63rJUUK.cjs} +3 -3
- package/dist/adapters/{handler-CoaNnZyf.js → handler-Dz1F4iwf.js} +7 -4
- package/dist/adapters/hono/index.cjs +1 -1
- package/dist/adapters/hono/index.js +4 -4
- package/dist/adapters/{locale-CTuvUGBs.cjs → locale-CTNwPVZI.cjs} +6 -6
- package/dist/adapters/{locale-wMBdZ3Ks.js → locale-gU_d1Wja.js} +19 -2
- package/dist/adapters/mcp-tools.cjs +1 -1
- package/dist/adapters/mcp-tools.js +2 -2
- package/dist/adapters/mcp-transport-C4J4SAcn.cjs +40 -0
- package/dist/adapters/mcp-transport-CVUiifEc.js +579 -0
- package/dist/adapters/nextjs/index.cjs +1 -1
- package/dist/adapters/nextjs/index.js +4 -4
- package/dist/adapters/{openai-BjLV_Wjx.cjs → openai-6wrBvAnv.cjs} +1 -1
- package/dist/adapters/openai-BDwb2u7y.cjs +17 -0
- package/dist/{server/openai-CLWSwD-D.js → adapters/openai-DiVskd89.js} +1 -1
- package/dist/{server/openai-zpXlGbbF.js → adapters/openai-y7GhJNdn.js} +2062 -928
- package/dist/adapters/{utils-CIRA5_JO.cjs → utils-CkEkU8Bo.cjs} +4 -4
- package/dist/adapters/{utils-hC7Z8V39.js → utils-DosuoabY.js} +33 -19
- package/dist/adapters/utils.cjs +1 -1
- package/dist/adapters/utils.js +1 -1
- package/dist/client/charts.js +13 -13
- package/dist/client/chunks/{DashboardEditModal-DayTXEH0.js → DashboardEditModal-6KRE36mm.js} +6232 -3454
- package/dist/client/chunks/DashboardEditModal-6KRE36mm.js.map +1 -0
- package/dist/client/chunks/{RetentionCombinedChart-D3dRmoos.js → RetentionCombinedChart-CCpu0C-s.js} +4 -4
- package/dist/client/chunks/{RetentionCombinedChart-D3dRmoos.js.map → RetentionCombinedChart-CCpu0C-s.js.map} +1 -1
- package/dist/client/chunks/{RetentionHeatmap-DHPnn0qH.js → RetentionHeatmap-B24PiIfr.js} +3 -3
- package/dist/client/chunks/{RetentionHeatmap-DHPnn0qH.js.map → RetentionHeatmap-B24PiIfr.js.map} +1 -1
- package/dist/client/chunks/{af-ZA-BtTNqvHF.js → af-ZA-BTaChuqI.js} +3 -1
- package/dist/client/chunks/af-ZA-BTaChuqI.js.map +1 -0
- package/dist/client/chunks/{analysis-builder-shared-6BRZcEnu.js → analysis-builder-shared-x576-O5p.js} +289 -289
- package/dist/client/chunks/{analysis-builder-shared-6BRZcEnu.js.map → analysis-builder-shared-x576-O5p.js.map} +1 -1
- package/dist/client/chunks/{analysis-builder-lcGl099d.js → analysis-builder-zd48FVJO.js} +244 -244
- package/dist/client/chunks/{analysis-builder-lcGl099d.js.map → analysis-builder-zd48FVJO.js.map} +1 -1
- package/dist/client/chunks/{chart-activity-grid-BnY-jaoa.js → chart-activity-grid-CiHrLH6Y.js} +8 -6
- package/dist/client/chunks/chart-activity-grid-CiHrLH6Y.js.map +1 -0
- package/dist/client/chunks/{chart-area-G3OvLLK4.js → chart-area-CXFK-Grv.js} +39 -38
- package/dist/client/chunks/chart-area-CXFK-Grv.js.map +1 -0
- package/dist/client/chunks/{chart-bar-MLIWiLrc.js → chart-bar-DKXfLoGG.js} +53 -52
- package/dist/client/chunks/chart-bar-DKXfLoGG.js.map +1 -0
- package/dist/client/chunks/{chart-box-plot-c2XqKTWq.js → chart-box-plot-Bu9hy-17.js} +3 -3
- package/dist/client/chunks/{chart-box-plot-c2XqKTWq.js.map → chart-box-plot-Bu9hy-17.js.map} +1 -1
- package/dist/client/chunks/{chart-bubble-CAGvnYb1.js → chart-bubble-DGkTQlxM.js} +3 -3
- package/dist/client/chunks/{chart-bubble-CAGvnYb1.js.map → chart-bubble-DGkTQlxM.js.map} +1 -1
- package/dist/client/chunks/{chart-candlestick-oSPk-KQp.js → chart-candlestick-Dau5AF4E.js} +3 -3
- package/dist/client/chunks/{chart-candlestick-oSPk-KQp.js.map → chart-candlestick-Dau5AF4E.js.map} +1 -1
- package/dist/client/chunks/{chart-config-activity-grid-Dssynumw.js → chart-config-activity-grid-D_UX4NHC.js} +2 -2
- package/dist/client/chunks/{chart-config-activity-grid-Dssynumw.js.map → chart-config-activity-grid-D_UX4NHC.js.map} +1 -1
- package/dist/client/chunks/{chart-config-area-40fbx2Ah.js → chart-config-area-Bq_UsW3x.js} +3 -2
- package/dist/client/chunks/chart-config-area-Bq_UsW3x.js.map +1 -0
- package/dist/client/chunks/{chart-config-bar-CUWHwOPN.js → chart-config-bar-_JEGZnAu.js} +3 -2
- package/dist/client/chunks/chart-config-bar-_JEGZnAu.js.map +1 -0
- package/dist/client/chunks/{chart-config-box-plot-D3Y0ien3.js → chart-config-box-plot-DJ-dWWXA.js} +2 -2
- package/dist/client/chunks/{chart-config-box-plot-D3Y0ien3.js.map → chart-config-box-plot-DJ-dWWXA.js.map} +1 -1
- package/dist/client/chunks/{chart-config-bubble-BXSTKLn-.js → chart-config-bubble-gIoqVyjZ.js} +2 -2
- package/dist/client/chunks/{chart-config-bubble-BXSTKLn-.js.map → chart-config-bubble-gIoqVyjZ.js.map} +1 -1
- package/dist/client/chunks/{chart-config-candlestick-DEuD2Av0.js → chart-config-candlestick-N6DchAA3.js} +2 -2
- package/dist/client/chunks/{chart-config-candlestick-DEuD2Av0.js.map → chart-config-candlestick-N6DchAA3.js.map} +1 -1
- package/dist/client/chunks/{chart-config-data-table-BQXSn4b_.js → chart-config-data-table-d7VBY-y_.js} +2 -2
- package/dist/client/chunks/{chart-config-data-table-BQXSn4b_.js.map → chart-config-data-table-d7VBY-y_.js.map} +1 -1
- package/dist/client/chunks/{chart-config-funnel-BzEsHmjR.js → chart-config-funnel-DEYMcxsD.js} +2 -2
- package/dist/client/chunks/{chart-config-funnel-BzEsHmjR.js.map → chart-config-funnel-DEYMcxsD.js.map} +1 -1
- package/dist/client/chunks/{chart-config-gauge-CCva3FfA.js → chart-config-gauge-DSwC04l0.js} +2 -2
- package/dist/client/chunks/{chart-config-gauge-CCva3FfA.js.map → chart-config-gauge-DSwC04l0.js.map} +1 -1
- package/dist/client/chunks/{chart-config-heat-map-Db4Z8UUn.js → chart-config-heat-map-CfRnRNcw.js} +2 -2
- package/dist/client/chunks/{chart-config-heat-map-Db4Z8UUn.js.map → chart-config-heat-map-CfRnRNcw.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-delta-BfLf3iyi.js → chart-config-kpi-delta-D6BIkHL3.js} +2 -2
- package/dist/client/chunks/{chart-config-kpi-delta-BfLf3iyi.js.map → chart-config-kpi-delta-D6BIkHL3.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-number-DWKFc9PX.js → chart-config-kpi-number-Bx-V9a62.js} +2 -2
- package/dist/client/chunks/{chart-config-kpi-number-DWKFc9PX.js.map → chart-config-kpi-number-Bx-V9a62.js.map} +1 -1
- package/dist/client/chunks/{chart-config-kpi-text-Dr4OG6cY.js → chart-config-kpi-text-CcqC1u-8.js} +2 -2
- package/dist/client/chunks/{chart-config-kpi-text-Dr4OG6cY.js.map → chart-config-kpi-text-CcqC1u-8.js.map} +1 -1
- package/dist/client/chunks/{chart-config-line-DGYYdDw9.js → chart-config-line-Db3jDsWc.js} +3 -2
- package/dist/client/chunks/chart-config-line-Db3jDsWc.js.map +1 -0
- package/dist/client/chunks/{chart-config-markdown-C-_g_8te.js → chart-config-markdown-BtRIe8JN.js} +2 -2
- package/dist/client/chunks/{chart-config-markdown-C-_g_8te.js.map → chart-config-markdown-BtRIe8JN.js.map} +1 -1
- package/dist/client/chunks/{chart-config-measure-profile-sB3n_Azv.js → chart-config-measure-profile-DxRGa-zf.js} +2 -2
- package/dist/client/chunks/{chart-config-measure-profile-sB3n_Azv.js.map → chart-config-measure-profile-DxRGa-zf.js.map} +1 -1
- package/dist/client/chunks/{chart-config-pie-kte7OXa9.js → chart-config-pie-DD4SmRTF.js} +2 -2
- package/dist/client/chunks/{chart-config-pie-kte7OXa9.js.map → chart-config-pie-DD4SmRTF.js.map} +1 -1
- package/dist/client/chunks/{chart-config-radar-C9IxP5tc.js → chart-config-radar-CC2XAaGr.js} +2 -2
- package/dist/client/chunks/{chart-config-radar-C9IxP5tc.js.map → chart-config-radar-CC2XAaGr.js.map} +1 -1
- package/dist/client/chunks/{chart-config-radial-bar-C3WJ8Uhm.js → chart-config-radial-bar-DmxKx1R0.js} +2 -2
- package/dist/client/chunks/{chart-config-radial-bar-C3WJ8Uhm.js.map → chart-config-radial-bar-DmxKx1R0.js.map} +1 -1
- package/dist/client/chunks/{chart-config-sankey-DGAThN9i.js → chart-config-sankey-BTnWA7EW.js} +2 -2
- package/dist/client/chunks/{chart-config-sankey-DGAThN9i.js.map → chart-config-sankey-BTnWA7EW.js.map} +1 -1
- package/dist/client/chunks/{chart-config-scatter-BVN_29G5.js → chart-config-scatter-DSYTjwRb.js} +2 -2
- package/dist/client/chunks/{chart-config-scatter-BVN_29G5.js.map → chart-config-scatter-DSYTjwRb.js.map} +1 -1
- package/dist/client/chunks/{chart-config-sunburst-utejM2YS.js → chart-config-sunburst-Bwjtdf7X.js} +2 -2
- package/dist/client/chunks/{chart-config-sunburst-utejM2YS.js.map → chart-config-sunburst-Bwjtdf7X.js.map} +1 -1
- package/dist/client/chunks/{chart-config-tree-map-meeJEDi8.js → chart-config-tree-map-BI-oQStO.js} +2 -2
- package/dist/client/chunks/{chart-config-tree-map-meeJEDi8.js.map → chart-config-tree-map-BI-oQStO.js.map} +1 -1
- package/dist/client/chunks/{chart-config-waterfall-CaPeWZMl.js → chart-config-waterfall-DSnyixbI.js} +2 -2
- package/dist/client/chunks/{chart-config-waterfall-CaPeWZMl.js.map → chart-config-waterfall-DSnyixbI.js.map} +1 -1
- package/dist/client/chunks/{chart-data-table-BRXHT2H-.js → chart-data-table-Cm5jrpaw.js} +853 -843
- package/dist/client/chunks/chart-data-table-Cm5jrpaw.js.map +1 -0
- package/dist/client/chunks/{chart-funnel-aQ7G_CqU.js → chart-funnel-Eke8IPtG.js} +3 -3
- package/dist/client/chunks/{chart-funnel-aQ7G_CqU.js.map → chart-funnel-Eke8IPtG.js.map} +1 -1
- package/dist/client/chunks/{chart-gauge-DqbDKr9E.js → chart-gauge-DeRZNsyl.js} +3 -3
- package/dist/client/chunks/{chart-gauge-DqbDKr9E.js.map → chart-gauge-DeRZNsyl.js.map} +1 -1
- package/dist/client/chunks/{chart-heat-map--6QnhUM8.js → chart-heat-map-C86thSJ4.js} +3 -3
- package/dist/client/chunks/{chart-heat-map--6QnhUM8.js.map → chart-heat-map-C86thSJ4.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-delta-DOSpRjfs.js → chart-kpi-delta-CxOYD2f1.js} +74 -72
- package/dist/client/chunks/{chart-kpi-delta-DOSpRjfs.js.map → chart-kpi-delta-CxOYD2f1.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-number-BcMjeKm8.js → chart-kpi-number-C6gWz-x4.js} +65 -64
- package/dist/client/chunks/{chart-kpi-number-BcMjeKm8.js.map → chart-kpi-number-C6gWz-x4.js.map} +1 -1
- package/dist/client/chunks/{chart-kpi-text-BI9isc2i.js → chart-kpi-text-dDONrhS-.js} +27 -26
- package/dist/client/chunks/{chart-kpi-text-BI9isc2i.js.map → chart-kpi-text-dDONrhS-.js.map} +1 -1
- package/dist/client/chunks/{chart-line-C0IHQteu.js → chart-line-r4iWevKZ.js} +119 -118
- package/dist/client/chunks/chart-line-r4iWevKZ.js.map +1 -0
- package/dist/client/chunks/{chart-markdown-BmgSMqPg.js → chart-markdown-BPW-EAm9.js} +940 -943
- package/dist/client/chunks/chart-markdown-BPW-EAm9.js.map +1 -0
- package/dist/client/chunks/{chart-measure-profile-DEyLW1fd.js → chart-measure-profile-BI3kADCp.js} +4 -4
- package/dist/client/chunks/{chart-measure-profile-DEyLW1fd.js.map → chart-measure-profile-BI3kADCp.js.map} +1 -1
- package/dist/client/chunks/{chart-pie-DSIekr7p.js → chart-pie-yqH2YVEI.js} +4 -4
- package/dist/client/chunks/{chart-pie-DSIekr7p.js.map → chart-pie-yqH2YVEI.js.map} +1 -1
- package/dist/client/chunks/{chart-radar-SGl62hK8.js → chart-radar-B-_3v-rE.js} +4 -4
- package/dist/client/chunks/{chart-radar-SGl62hK8.js.map → chart-radar-B-_3v-rE.js.map} +1 -1
- package/dist/client/chunks/{chart-radial-bar-C42EykOa.js → chart-radial-bar-C0EgzfAF.js} +4 -4
- package/dist/client/chunks/{chart-radial-bar-C42EykOa.js.map → chart-radial-bar-C0EgzfAF.js.map} +1 -1
- package/dist/client/chunks/{chart-sankey-DguImp0W.js → chart-sankey-CFzjGvZX.js} +3 -3
- package/dist/client/chunks/{chart-sankey-DguImp0W.js.map → chart-sankey-CFzjGvZX.js.map} +1 -1
- package/dist/client/chunks/{chart-scatter-Doeox4OP.js → chart-scatter-DZPirzwX.js} +4 -4
- package/dist/client/chunks/{chart-scatter-Doeox4OP.js.map → chart-scatter-DZPirzwX.js.map} +1 -1
- package/dist/client/chunks/{chart-sunburst-F3tgCpL-.js → chart-sunburst-91Q2tzaB.js} +4 -4
- package/dist/client/chunks/{chart-sunburst-F3tgCpL-.js.map → chart-sunburst-91Q2tzaB.js.map} +1 -1
- package/dist/client/chunks/{chart-tree-map-DvuSCIc8.js → chart-tree-map-Bi4axCvh.js} +4 -4
- package/dist/client/chunks/{chart-tree-map-DvuSCIc8.js.map → chart-tree-map-Bi4axCvh.js.map} +1 -1
- package/dist/client/chunks/{chart-waterfall-Be5duXlO.js → chart-waterfall-DcHbbPaG.js} +4 -4
- package/dist/client/chunks/{chart-waterfall-Be5duXlO.js.map → chart-waterfall-DcHbbPaG.js.map} +1 -1
- package/dist/client/chunks/{charts-core-XlOwoP_r.js → charts-core-CrBDYN6N.js} +2 -2
- package/dist/client/chunks/{charts-core-XlOwoP_r.js.map → charts-core-CrBDYN6N.js.map} +1 -1
- package/dist/client/chunks/{core-Dk6z6kC0.js → core-DsAWNRRv.js} +87 -85
- package/dist/client/chunks/{core-Dk6z6kC0.js.map → core-DsAWNRRv.js.map} +1 -1
- package/dist/client/chunks/{dist-eZurnOde.js → dist-zPWyTBdU.js} +38 -32
- package/dist/client/chunks/dist-zPWyTBdU.js.map +1 -0
- package/dist/client/chunks/{en-US-5xPTdCXg.js → en-US-BE6VoG0o.js} +1 -1
- package/dist/client/chunks/{en-US-5xPTdCXg.js.map → en-US-BE6VoG0o.js.map} +1 -1
- package/dist/client/chunks/{exceljs.min-DaJsLlWM.js → exceljs.min-CIqBqwTW.js} +71 -45
- package/dist/client/chunks/{exceljs.min-DaJsLlWM.js.map → exceljs.min-CIqBqwTW.js.map} +1 -1
- package/dist/client/chunks/{javascript-DFvvCuoP.js → javascript-DFnKaHmQ.js} +3 -3
- package/dist/client/chunks/{javascript-DFvvCuoP.js.map → javascript-DFnKaHmQ.js.map} +1 -1
- package/dist/client/chunks/{json-BBm9TlrA.js → json-Cu6rbgWf.js} +1 -1
- package/dist/client/chunks/{json-BBm9TlrA.js.map → json-Cu6rbgWf.js.map} +1 -1
- package/dist/client/chunks/{nl-NL-BLDeSy_P.js → nl-NL-oyr2wENY.js} +3 -1
- package/dist/client/chunks/nl-NL-oyr2wENY.js.map +1 -0
- package/dist/client/chunks/{providers-DX3Vw5kc.js → providers-DwQCKdGW.js} +1 -1
- package/dist/client/chunks/{providers-DX3Vw5kc.js.map → providers-DwQCKdGW.js.map} +1 -1
- package/dist/client/chunks/{retention-YhT1Oohi.js → retention-ChW9jYdy.js} +1 -1
- package/dist/client/chunks/{retention-YhT1Oohi.js.map → retention-ChW9jYdy.js.map} +1 -1
- package/dist/client/chunks/{rolldown-runtime-CCl2IeXn.js → rolldown-runtime-CWhphoD1.js} +1 -1
- package/dist/client/chunks/{schema-visualization-CM5ikSWB.js → schema-visualization-BszcrmZX.js} +294 -290
- package/dist/client/chunks/{schema-visualization-CM5ikSWB.js.map → schema-visualization-BszcrmZX.js.map} +1 -1
- package/dist/client/chunks/{sql-k0GA6oZ_.js → sql-CmVzGP4w.js} +1 -1
- package/dist/client/chunks/{sql-k0GA6oZ_.js.map → sql-CmVzGP4w.js.map} +1 -1
- package/dist/client/chunks/{useDebounce-NEZQbfxN.js → useDirtyStateTracking-B5wCDJSj.js} +99 -37
- package/dist/client/chunks/useDirtyStateTracking-B5wCDJSj.js.map +1 -0
- package/dist/client/chunks/{useExplainAI-DivfI0dW.js → useExplainAI-CCeCYzDm.js} +19 -19
- package/dist/client/chunks/{useExplainAI-DivfI0dW.js.map → useExplainAI-CCeCYzDm.js.map} +1 -1
- package/dist/client/chunks/{useNotebookLayout-DKkMenhj.js → useNotebookLayout-Ck3Z3uzg.js} +2 -2
- package/dist/client/chunks/{useNotebookLayout-DKkMenhj.js.map → useNotebookLayout-Ck3Z3uzg.js.map} +1 -1
- package/dist/client/chunks/{utils-Ctl_cVNR.js → utils-kqa-JIMg.js} +40 -13
- package/dist/client/chunks/utils-kqa-JIMg.js.map +1 -0
- package/dist/client/chunks/{vendor-BcLQ6iVZ.js → vendor-0hJNlZXQ.js} +102 -97
- package/dist/client/chunks/vendor-0hJNlZXQ.js.map +1 -0
- package/dist/client/components/DashboardGrid.d.ts +3 -1
- package/dist/client/components/dashboard/DashboardContext.d.ts +113 -0
- package/dist/client/components/dashboard/DashboardCoordinator.d.ts +2 -0
- package/dist/client/components/dashboard/DashboardFilterBar.d.ts +8 -0
- package/dist/client/components/dashboard/DashboardGridSurface.d.ts +8 -0
- package/dist/client/components/dashboard/DashboardModals.d.ts +8 -0
- package/dist/client/components/dashboard/DashboardProvider.d.ts +2 -0
- package/dist/client/components/dashboard/DashboardToolbar.d.ts +11 -0
- package/dist/client/components/dashboard/dashboardGridUtils.d.ts +17 -0
- package/dist/client/components/dashboard/index.d.ts +13 -0
- package/dist/client/components.d.ts +2 -0
- package/dist/client/components.js +3 -4
- package/dist/client/hooks.js +5 -6
- package/dist/client/icons.js +2 -2
- package/dist/client/index.d.ts +2 -0
- package/dist/client/index.js +161 -163
- package/dist/client/index.js.map +1 -1
- package/dist/client/providers.js +3 -3
- package/dist/client/schema.js +1 -1
- package/dist/client/types.d.ts +1 -0
- package/dist/client/utils.js +6 -7
- package/dist/client-bundle-stats.html +1 -1
- package/dist/mcp-app/mcp-app.html +77 -51
- package/dist/{adapters/dist-Boc63-1q.cjs → server/dist-BOdf-GQO.cjs} +1 -1
- package/dist/server/{google-BXwMolCu.js → google-CFYljAOF.js} +1 -1
- package/dist/server/{google-DzQWXFwF.cjs → google-DUlXeeDA.cjs} +1 -1
- package/dist/server/index.cjs +9 -9
- package/dist/server/index.js +57 -23
- package/dist/server/{openai-BfiZU0rG.cjs → openai-6wrBvAnv.cjs} +1 -1
- package/dist/server/openai-BDwb2u7y.cjs +17 -0
- package/dist/{adapters/openai-DQawCWQb.js → server/openai-DiVskd89.js} +1 -1
- package/dist/{adapters/openai-CuUGrKaK.js → server/openai-y7GhJNdn.js} +2062 -928
- package/package.json +3 -3
- package/dist/adapters/mcp-transport-B_HoB1HQ.js +0 -579
- package/dist/adapters/mcp-transport-bQzyrBPI.cjs +0 -40
- package/dist/adapters/openai-Bgri5TJc.cjs +0 -16
- package/dist/client/chunks/DashboardEditModal-DayTXEH0.js.map +0 -1
- package/dist/client/chunks/FieldSearchModal-B7Mr8UNT.js +0 -2644
- package/dist/client/chunks/FieldSearchModal-B7Mr8UNT.js.map +0 -1
- package/dist/client/chunks/KpiDelta-C-hZ1x01.js +0 -2
- package/dist/client/chunks/KpiNumber-Beo8CK0a.js +0 -2
- package/dist/client/chunks/KpiText-ytYiRTRO.js +0 -2
- package/dist/client/chunks/SchemaVisualization-DbYZBTyi.js +0 -2
- package/dist/client/chunks/SchemaVisualizationLazy-BGo-1S3q.js +0 -2
- package/dist/client/chunks/af-ZA-BtTNqvHF.js.map +0 -1
- package/dist/client/chunks/chart-activity-grid-BnY-jaoa.js.map +0 -1
- package/dist/client/chunks/chart-area-G3OvLLK4.js.map +0 -1
- package/dist/client/chunks/chart-bar-MLIWiLrc.js.map +0 -1
- package/dist/client/chunks/chart-config-area-40fbx2Ah.js.map +0 -1
- package/dist/client/chunks/chart-config-bar-CUWHwOPN.js.map +0 -1
- package/dist/client/chunks/chart-config-line-DGYYdDw9.js.map +0 -1
- package/dist/client/chunks/chart-data-table-BRXHT2H-.js.map +0 -1
- package/dist/client/chunks/chart-line-C0IHQteu.js.map +0 -1
- package/dist/client/chunks/chart-markdown-BmgSMqPg.js.map +0 -1
- package/dist/client/chunks/dist-eZurnOde.js.map +0 -1
- package/dist/client/chunks/nl-NL-BLDeSy_P.js.map +0 -1
- package/dist/client/chunks/syntaxHighlighting-D8J6Yt9j.js +0 -30
- package/dist/client/chunks/syntaxHighlighting-D8J6Yt9j.js.map +0 -1
- package/dist/client/chunks/useDebounce-NEZQbfxN.js.map +0 -1
- package/dist/client/chunks/useDirtyStateTracking-KAjwj1Ht.js +0 -66
- package/dist/client/chunks/useDirtyStateTracking-KAjwj1Ht.js.map +0 -1
- package/dist/client/chunks/utils-Ctl_cVNR.js.map +0 -1
- package/dist/client/chunks/vendor-BcLQ6iVZ.js.map +0 -1
- package/dist/server/openai-BwsBio1K.cjs +0 -16
- /package/dist/adapters/{anthropic-B_rg0BhK.js → anthropic-CZh4hB-m.js} +0 -0
- /package/dist/adapters/{anthropic-BIva8k1r.cjs → anthropic-DG4r1LSm.cjs} +0 -0
- /package/dist/adapters/{dist-De5fzUEM.js → dist-CH3hwAUk.js} +0 -0
- /package/dist/server/{anthropic-BsNspi1r.js → anthropic-CZh4hB-m.js} +0 -0
- /package/dist/server/{anthropic-DsCEX6Fm.cjs → anthropic-DG4r1LSm.cjs} +0 -0
- /package/dist/server/{dist-CMWZC51B.js → dist-CH3hwAUk.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { i as e, n as t } from "./rolldown-runtime-
|
|
2
|
-
import { A as n,
|
|
3
|
-
import { n as l } from "./chart-config-bar-
|
|
4
|
-
import { n as u } from "./chart-config-line-
|
|
5
|
-
import { n as d } from "./chart-config-area-
|
|
6
|
-
import { n as f } from "./chart-config-pie-
|
|
7
|
-
import { n as p } from "./chart-config-scatter-
|
|
8
|
-
import { n as m } from "./chart-config-bubble-
|
|
9
|
-
import { n as h } from "./chart-config-radar-
|
|
10
|
-
import { n as g } from "./chart-config-radial-bar-
|
|
11
|
-
import { n as _ } from "./chart-config-tree-map-
|
|
12
|
-
import { n as v } from "./chart-config-data-table-
|
|
13
|
-
import { n as ee } from "./chart-config-activity-grid-
|
|
14
|
-
import { n as y } from "./chart-config-kpi-number-
|
|
15
|
-
import { n as b } from "./chart-config-kpi-delta-
|
|
16
|
-
import { n as te } from "./chart-config-kpi-text-
|
|
17
|
-
import { n as ne } from "./chart-config-markdown-
|
|
18
|
-
import { n as re } from "./chart-config-funnel-
|
|
19
|
-
import { n as ie } from "./chart-config-sankey-
|
|
20
|
-
import { n as ae } from "./chart-config-sunburst-
|
|
21
|
-
import { n as oe } from "./chart-config-heat-map-
|
|
22
|
-
import { n as se } from "./chart-config-box-plot-
|
|
23
|
-
import { n as ce } from "./chart-config-waterfall-
|
|
24
|
-
import { n as le } from "./chart-config-candlestick-
|
|
25
|
-
import { n as ue } from "./chart-config-measure-profile-
|
|
26
|
-
import { n as de } from "./chart-config-gauge-
|
|
1
|
+
import { i as e, n as t } from "./rolldown-runtime-CWhphoD1.js";
|
|
2
|
+
import { A as n, N as r, P as i, j as a, k as o, x as s, y as c } from "./chart-activity-grid-CiHrLH6Y.js";
|
|
3
|
+
import { n as l } from "./chart-config-bar-_JEGZnAu.js";
|
|
4
|
+
import { n as u } from "./chart-config-line-Db3jDsWc.js";
|
|
5
|
+
import { n as d } from "./chart-config-area-Bq_UsW3x.js";
|
|
6
|
+
import { n as f } from "./chart-config-pie-DD4SmRTF.js";
|
|
7
|
+
import { n as p } from "./chart-config-scatter-DSYTjwRb.js";
|
|
8
|
+
import { n as m } from "./chart-config-bubble-gIoqVyjZ.js";
|
|
9
|
+
import { n as h } from "./chart-config-radar-CC2XAaGr.js";
|
|
10
|
+
import { n as g } from "./chart-config-radial-bar-DmxKx1R0.js";
|
|
11
|
+
import { n as _ } from "./chart-config-tree-map-BI-oQStO.js";
|
|
12
|
+
import { n as v } from "./chart-config-data-table-d7VBY-y_.js";
|
|
13
|
+
import { n as ee } from "./chart-config-activity-grid-D_UX4NHC.js";
|
|
14
|
+
import { n as y } from "./chart-config-kpi-number-Bx-V9a62.js";
|
|
15
|
+
import { n as b } from "./chart-config-kpi-delta-D6BIkHL3.js";
|
|
16
|
+
import { n as te } from "./chart-config-kpi-text-CcqC1u-8.js";
|
|
17
|
+
import { n as ne } from "./chart-config-markdown-BtRIe8JN.js";
|
|
18
|
+
import { n as re } from "./chart-config-funnel-DEYMcxsD.js";
|
|
19
|
+
import { n as ie } from "./chart-config-sankey-BTnWA7EW.js";
|
|
20
|
+
import { n as ae } from "./chart-config-sunburst-Bwjtdf7X.js";
|
|
21
|
+
import { n as oe } from "./chart-config-heat-map-CfRnRNcw.js";
|
|
22
|
+
import { n as se } from "./chart-config-box-plot-DJ-dWWXA.js";
|
|
23
|
+
import { n as ce } from "./chart-config-waterfall-DSnyixbI.js";
|
|
24
|
+
import { n as le } from "./chart-config-candlestick-N6DchAA3.js";
|
|
25
|
+
import { n as ue } from "./chart-config-measure-profile-DxRGa-zf.js";
|
|
26
|
+
import { n as de } from "./chart-config-gauge-DSwC04l0.js";
|
|
27
27
|
import * as x from "react";
|
|
28
28
|
import fe, { Suspense as pe, createContext as me, createElement as he, forwardRef as ge, lazy as _e, useCallback as ve, useContext as ye, useEffect as S, useMemo as C, useRef as be, useState as w } from "react";
|
|
29
29
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
@@ -155,7 +155,7 @@ function Ae(e, t) {
|
|
|
155
155
|
return (t?.queryKeyHashFn || M)(e);
|
|
156
156
|
}
|
|
157
157
|
function M(e) {
|
|
158
|
-
return JSON.stringify(e, (e, t) =>
|
|
158
|
+
return JSON.stringify(e, (e, t) => Pe(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
159
159
|
}
|
|
160
160
|
function N(e, t) {
|
|
161
161
|
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => N(e[n], t[n])) : !1;
|
|
@@ -164,8 +164,8 @@ var je = Object.prototype.hasOwnProperty;
|
|
|
164
164
|
function Me(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 = Ne(e) && Ne(t);
|
|
168
|
+
if (!r && !(Pe(e) && Pe(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 Me(e, t, n = 0) {
|
|
|
182
182
|
}
|
|
183
183
|
return i === o && c === i ? e : s;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function P(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 Ne(e) {
|
|
191
191
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
if (!
|
|
193
|
+
function Pe(e) {
|
|
194
|
+
if (!Fe(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 !(!Fe(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Fe(e) {
|
|
201
201
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function Ie(e) {
|
|
204
204
|
return new Promise((t) => {
|
|
205
205
|
O.setTimeout(t, e);
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Le(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 Re(e, t, n) {
|
|
|
217
217
|
}
|
|
218
218
|
return t;
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Re(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 ze(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 Be = /* @__PURE__ */ Symbol();
|
|
229
|
+
function Ve(e, t) {
|
|
230
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === Be && 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 === Be ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function He(e, t) {
|
|
233
233
|
return typeof e == "function" ? e(...t) : !!e;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function Ue(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 We(e, t, n) {
|
|
|
241
241
|
}
|
|
242
242
|
//#endregion
|
|
243
243
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
244
|
-
var
|
|
244
|
+
var F = /* @__PURE__ */ (() => {
|
|
245
245
|
let e = () => we;
|
|
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 We() {
|
|
258
258
|
let e, t, n = new Promise((n, r) => {
|
|
259
259
|
e = n, t = r;
|
|
260
260
|
});
|
|
@@ -276,13 +276,13 @@ function Ge() {
|
|
|
276
276
|
}
|
|
277
277
|
//#endregion
|
|
278
278
|
//#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
279
|
-
var
|
|
280
|
-
function
|
|
279
|
+
var Ge = Ce;
|
|
280
|
+
function Ke() {
|
|
281
281
|
let e = [], t = 0, n = (e) => {
|
|
282
282
|
e();
|
|
283
283
|
}, r = (e) => {
|
|
284
284
|
e();
|
|
285
|
-
}, i =
|
|
285
|
+
}, i = Ge, a = (r) => {
|
|
286
286
|
t ? e.push(r) : i(() => {
|
|
287
287
|
n(r);
|
|
288
288
|
});
|
|
@@ -324,7 +324,7 @@ function qe() {
|
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
326
|
}
|
|
327
|
-
var
|
|
327
|
+
var I = Ke(), qe = new class extends D {
|
|
328
328
|
#e = !0;
|
|
329
329
|
#t;
|
|
330
330
|
#n;
|
|
@@ -362,7 +362,7 @@ function Je(e) {
|
|
|
362
362
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
363
363
|
}
|
|
364
364
|
function Ye(e) {
|
|
365
|
-
return (e ?? "online") === "online" ?
|
|
365
|
+
return (e ?? "online") === "online" ? qe.isOnline() : !0;
|
|
366
366
|
}
|
|
367
367
|
var Xe = class extends Error {
|
|
368
368
|
constructor(e) {
|
|
@@ -370,7 +370,7 @@ var Xe = class extends Error {
|
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
372
|
function Ze(e) {
|
|
373
|
-
let t = !1, n = 0, r, i =
|
|
373
|
+
let t = !1, n = 0, r, i = We(), a = () => i.status !== "pending", o = (t) => {
|
|
374
374
|
if (!a()) {
|
|
375
375
|
let n = new Xe(t);
|
|
376
376
|
f(n), e.onCancel?.(n);
|
|
@@ -379,7 +379,7 @@ function Ze(e) {
|
|
|
379
379
|
t = !0;
|
|
380
380
|
}, c = () => {
|
|
381
381
|
t = !1;
|
|
382
|
-
}, l = () => xe.isFocused() && (e.networkMode === "always" ||
|
|
382
|
+
}, l = () => xe.isFocused() && (e.networkMode === "always" || qe.isOnline()) && e.canRun(), u = () => Ye(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 Ze(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 ?? (F.isServer() ? 0 : 3), o = e.retryDelay ?? Je, 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), Ie(s).then(() => l() ? void 0 : p()).then(() => {
|
|
408
408
|
t ? f(r) : m();
|
|
409
409
|
});
|
|
410
410
|
});
|
|
@@ -433,12 +433,74 @@ var Qe = class {
|
|
|
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 ?? (F.isServer() ? Infinity : 300 * 1e3));
|
|
437
437
|
}
|
|
438
438
|
clearGcTimeout() {
|
|
439
439
|
this.#e !== void 0 && (O.clearTimeout(this.#e), this.#e = void 0);
|
|
440
440
|
}
|
|
441
|
-
}
|
|
441
|
+
};
|
|
442
|
+
//#endregion
|
|
443
|
+
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
444
|
+
function $e(e) {
|
|
445
|
+
return { onFetch: (t, n) => {
|
|
446
|
+
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
447
|
+
pages: [],
|
|
448
|
+
pageParams: []
|
|
449
|
+
}, c = 0, l = async () => {
|
|
450
|
+
let n = !1, l = (e) => {
|
|
451
|
+
Ue(e, () => t.signal, () => n = !0);
|
|
452
|
+
}, u = Ve(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
453
|
+
if (n) return Promise.reject(t.signal.reason);
|
|
454
|
+
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
455
|
+
let a = await u((() => {
|
|
456
|
+
let e = {
|
|
457
|
+
client: t.client,
|
|
458
|
+
queryKey: t.queryKey,
|
|
459
|
+
pageParam: r,
|
|
460
|
+
direction: i ? "backward" : "forward",
|
|
461
|
+
meta: t.options.meta
|
|
462
|
+
};
|
|
463
|
+
return l(e), e;
|
|
464
|
+
})()), { maxPages: o } = t.options, s = i ? ze : Re;
|
|
465
|
+
return {
|
|
466
|
+
pages: s(e.pages, a, o),
|
|
467
|
+
pageParams: s(e.pageParams, r, o)
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
if (i && a.length) {
|
|
471
|
+
let e = i === "backward", t = e ? tt : et, n = {
|
|
472
|
+
pages: a,
|
|
473
|
+
pageParams: o
|
|
474
|
+
};
|
|
475
|
+
s = await d(n, t(r, n), e);
|
|
476
|
+
} else {
|
|
477
|
+
let t = e ?? a.length;
|
|
478
|
+
do {
|
|
479
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : et(r, s);
|
|
480
|
+
if (c > 0 && e == null) break;
|
|
481
|
+
s = await d(s, e), c++;
|
|
482
|
+
} while (c < t);
|
|
483
|
+
}
|
|
484
|
+
return s;
|
|
485
|
+
};
|
|
486
|
+
t.options.persister ? t.fetchFn = () => t.options.persister?.(l, {
|
|
487
|
+
client: t.client,
|
|
488
|
+
queryKey: t.queryKey,
|
|
489
|
+
meta: t.options.meta,
|
|
490
|
+
signal: t.signal
|
|
491
|
+
}, n) : t.fetchFn = l;
|
|
492
|
+
} };
|
|
493
|
+
}
|
|
494
|
+
function et(e, { pages: t, pageParams: n }) {
|
|
495
|
+
let r = t.length - 1;
|
|
496
|
+
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
497
|
+
}
|
|
498
|
+
function tt(e, { pages: t, pageParams: n }) {
|
|
499
|
+
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
500
|
+
}
|
|
501
|
+
//#endregion
|
|
502
|
+
//#region node_modules/@tanstack/query-core/build/modern/query.js
|
|
503
|
+
var nt = class extends Qe {
|
|
442
504
|
#e;
|
|
443
505
|
#t;
|
|
444
506
|
#n;
|
|
@@ -446,52 +508,55 @@ var Qe = class {
|
|
|
446
508
|
#i;
|
|
447
509
|
#a;
|
|
448
510
|
#o;
|
|
511
|
+
#s;
|
|
449
512
|
constructor(e) {
|
|
450
|
-
super(), this.#
|
|
513
|
+
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = at(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
|
|
451
514
|
}
|
|
452
515
|
get meta() {
|
|
453
516
|
return this.options.meta;
|
|
454
517
|
}
|
|
518
|
+
get queryType() {
|
|
519
|
+
return this.#e;
|
|
520
|
+
}
|
|
455
521
|
get promise() {
|
|
456
|
-
return this.#
|
|
522
|
+
return this.#a?.promise;
|
|
457
523
|
}
|
|
458
524
|
setOptions(e) {
|
|
459
525
|
if (this.options = {
|
|
460
|
-
...this.#
|
|
526
|
+
...this.#o,
|
|
461
527
|
...e
|
|
462
|
-
}, this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
463
|
-
let e =
|
|
464
|
-
e.data !== void 0 && (this.setState(
|
|
528
|
+
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
529
|
+
let e = at(this.options);
|
|
530
|
+
e.data !== void 0 && (this.setState(it(e.data, e.dataUpdatedAt)), this.#t = e);
|
|
465
531
|
}
|
|
466
532
|
}
|
|
467
533
|
optionalRemove() {
|
|
468
|
-
!this.observers.length && this.state.fetchStatus === "idle" && this.#
|
|
534
|
+
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
|
469
535
|
}
|
|
470
536
|
setData(e, t) {
|
|
471
|
-
let n =
|
|
472
|
-
return this.#
|
|
537
|
+
let n = Le(this.state.data, e, this.options);
|
|
538
|
+
return this.#l({
|
|
473
539
|
data: n,
|
|
474
540
|
type: "success",
|
|
475
541
|
dataUpdatedAt: t?.updatedAt,
|
|
476
542
|
manual: t?.manual
|
|
477
543
|
}), n;
|
|
478
544
|
}
|
|
479
|
-
setState(e
|
|
480
|
-
this.#
|
|
545
|
+
setState(e) {
|
|
546
|
+
this.#l({
|
|
481
547
|
type: "setState",
|
|
482
|
-
state: e
|
|
483
|
-
setStateOptions: t
|
|
548
|
+
state: e
|
|
484
549
|
});
|
|
485
550
|
}
|
|
486
551
|
cancel(e) {
|
|
487
|
-
let t = this.#
|
|
488
|
-
return this.#
|
|
552
|
+
let t = this.#a?.promise;
|
|
553
|
+
return this.#a?.cancel(e), t ? t.then(k).catch(k) : Promise.resolve();
|
|
489
554
|
}
|
|
490
555
|
destroy() {
|
|
491
556
|
super.destroy(), this.cancel({ silent: !0 });
|
|
492
557
|
}
|
|
493
558
|
get resetState() {
|
|
494
|
-
return this.#
|
|
559
|
+
return this.#t;
|
|
495
560
|
}
|
|
496
561
|
reset() {
|
|
497
562
|
this.destroy(), this.setState(this.resetState);
|
|
@@ -500,7 +565,7 @@ var Qe = class {
|
|
|
500
565
|
return this.observers.some((e) => j(e.options.enabled, this) !== !1);
|
|
501
566
|
}
|
|
502
567
|
isDisabled() {
|
|
503
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
568
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Be || !this.isFetched();
|
|
504
569
|
}
|
|
505
570
|
isFetched() {
|
|
506
571
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
@@ -515,20 +580,20 @@ var Qe = class {
|
|
|
515
580
|
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !De(this.state.dataUpdatedAt, e);
|
|
516
581
|
}
|
|
517
582
|
onFocus() {
|
|
518
|
-
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#
|
|
583
|
+
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
519
584
|
}
|
|
520
585
|
onOnline() {
|
|
521
|
-
this.observers.find((e) => e.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#
|
|
586
|
+
this.observers.find((e) => e.shouldFetchOnReconnect())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
522
587
|
}
|
|
523
588
|
addObserver(e) {
|
|
524
|
-
this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), this.#
|
|
589
|
+
this.observers.includes(e) || (this.observers.push(e), this.clearGcTimeout(), this.#r.notify({
|
|
525
590
|
type: "observerAdded",
|
|
526
591
|
query: this,
|
|
527
592
|
observer: e
|
|
528
593
|
}));
|
|
529
594
|
}
|
|
530
595
|
removeObserver(e) {
|
|
531
|
-
this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#
|
|
596
|
+
this.observers.includes(e) && (this.observers = this.observers.filter((t) => t !== e), this.observers.length || (this.#a && (this.#s || this.#c() ? this.#a.cancel({ revert: !0 }) : this.#a.cancelRetry()), this.scheduleGc()), this.#r.notify({
|
|
532
597
|
type: "observerRemoved",
|
|
533
598
|
query: this,
|
|
534
599
|
observer: e
|
|
@@ -537,16 +602,16 @@ var Qe = class {
|
|
|
537
602
|
getObserversCount() {
|
|
538
603
|
return this.observers.length;
|
|
539
604
|
}
|
|
540
|
-
#
|
|
605
|
+
#c() {
|
|
541
606
|
return this.state.fetchStatus === "paused" && this.state.status === "pending";
|
|
542
607
|
}
|
|
543
608
|
invalidate() {
|
|
544
|
-
this.state.isInvalidated || this.#
|
|
609
|
+
this.state.isInvalidated || this.#l({ type: "invalidate" });
|
|
545
610
|
}
|
|
546
611
|
async fetch(e, t) {
|
|
547
|
-
if (this.state.fetchStatus !== "idle" && this.#
|
|
612
|
+
if (this.state.fetchStatus !== "idle" && this.#a?.status() !== "rejected") {
|
|
548
613
|
if (this.state.data !== void 0 && t?.cancelRefetch) this.cancel({ silent: !0 });
|
|
549
|
-
else if (this.#
|
|
614
|
+
else if (this.#a) return this.#a.continueRetry(), this.#a.promise;
|
|
550
615
|
}
|
|
551
616
|
if (e && this.setOptions(e), !this.options.queryFn) {
|
|
552
617
|
let e = this.observers.find((e) => e.options.queryFn);
|
|
@@ -556,53 +621,53 @@ var Qe = class {
|
|
|
556
621
|
let n = new AbortController(), r = (e) => {
|
|
557
622
|
Object.defineProperty(e, "signal", {
|
|
558
623
|
enumerable: !0,
|
|
559
|
-
get: () => (this.#
|
|
624
|
+
get: () => (this.#s = !0, n.signal)
|
|
560
625
|
});
|
|
561
626
|
}, i = () => {
|
|
562
|
-
let e =
|
|
627
|
+
let e = Ve(this.options, t), n = (() => {
|
|
563
628
|
let e = {
|
|
564
|
-
client: this.#
|
|
629
|
+
client: this.#i,
|
|
565
630
|
queryKey: this.queryKey,
|
|
566
631
|
meta: this.meta
|
|
567
632
|
};
|
|
568
633
|
return r(e), e;
|
|
569
634
|
})();
|
|
570
|
-
return this.#
|
|
635
|
+
return this.#s = !1, this.options.persister ? this.options.persister(e, n, this) : e(n);
|
|
571
636
|
}, a = (() => {
|
|
572
637
|
let e = {
|
|
573
638
|
fetchOptions: t,
|
|
574
639
|
options: this.options,
|
|
575
640
|
queryKey: this.queryKey,
|
|
576
|
-
client: this.#
|
|
641
|
+
client: this.#i,
|
|
577
642
|
state: this.state,
|
|
578
643
|
fetchFn: i
|
|
579
644
|
};
|
|
580
645
|
return r(e), e;
|
|
581
646
|
})();
|
|
582
|
-
this.options.behavior?.onFetch(a, this), this.#
|
|
647
|
+
(this.#e === "infinite" ? $e(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#l({
|
|
583
648
|
type: "fetch",
|
|
584
649
|
meta: a.fetchOptions?.meta
|
|
585
|
-
}), this.#
|
|
650
|
+
}), this.#a = Ze({
|
|
586
651
|
initialPromise: t?.initialPromise,
|
|
587
652
|
fn: a.fetchFn,
|
|
588
653
|
onCancel: (e) => {
|
|
589
654
|
e instanceof Xe && e.revert && this.setState({
|
|
590
|
-
...this.#
|
|
655
|
+
...this.#n,
|
|
591
656
|
fetchStatus: "idle"
|
|
592
657
|
}), n.abort();
|
|
593
658
|
},
|
|
594
659
|
onFail: (e, t) => {
|
|
595
|
-
this.#
|
|
660
|
+
this.#l({
|
|
596
661
|
type: "failed",
|
|
597
662
|
failureCount: e,
|
|
598
663
|
error: t
|
|
599
664
|
});
|
|
600
665
|
},
|
|
601
666
|
onPause: () => {
|
|
602
|
-
this.#
|
|
667
|
+
this.#l({ type: "pause" });
|
|
603
668
|
},
|
|
604
669
|
onContinue: () => {
|
|
605
|
-
this.#
|
|
670
|
+
this.#l({ type: "continue" });
|
|
606
671
|
},
|
|
607
672
|
retry: a.options.retry,
|
|
608
673
|
retryDelay: a.options.retryDelay,
|
|
@@ -610,27 +675,27 @@ var Qe = class {
|
|
|
610
675
|
canRun: () => !0
|
|
611
676
|
});
|
|
612
677
|
try {
|
|
613
|
-
let e = await this.#
|
|
678
|
+
let e = await this.#a.start();
|
|
614
679
|
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
|
-
return this.setData(e), this.#
|
|
680
|
+
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
|
|
616
681
|
} catch (e) {
|
|
617
682
|
if (e instanceof Xe) {
|
|
618
|
-
if (e.silent) return this.#
|
|
683
|
+
if (e.silent) return this.#a.promise;
|
|
619
684
|
if (e.revert) {
|
|
620
685
|
if (this.state.data === void 0) throw e;
|
|
621
686
|
return this.state.data;
|
|
622
687
|
}
|
|
623
688
|
}
|
|
624
|
-
throw this.#
|
|
689
|
+
throw this.#l({
|
|
625
690
|
type: "error",
|
|
626
691
|
error: e
|
|
627
|
-
}), this.#
|
|
692
|
+
}), this.#r.config.onError?.(e, this), this.#r.config.onSettled?.(this.state.data, e, this), e;
|
|
628
693
|
} finally {
|
|
629
694
|
this.scheduleGc();
|
|
630
695
|
}
|
|
631
696
|
}
|
|
632
|
-
#
|
|
633
|
-
|
|
697
|
+
#l(e) {
|
|
698
|
+
let t = (t) => {
|
|
634
699
|
switch (e.type) {
|
|
635
700
|
case "failed": return {
|
|
636
701
|
...t,
|
|
@@ -647,13 +712,13 @@ var Qe = class {
|
|
|
647
712
|
};
|
|
648
713
|
case "fetch": return {
|
|
649
714
|
...t,
|
|
650
|
-
...
|
|
715
|
+
...rt(t.data, this.options),
|
|
651
716
|
fetchMeta: e.meta ?? null
|
|
652
717
|
};
|
|
653
718
|
case "success":
|
|
654
719
|
let n = {
|
|
655
720
|
...t,
|
|
656
|
-
...
|
|
721
|
+
...it(e.data, e.dataUpdatedAt),
|
|
657
722
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
658
723
|
...!e.manual && {
|
|
659
724
|
fetchStatus: "idle",
|
|
@@ -661,7 +726,7 @@ var Qe = class {
|
|
|
661
726
|
fetchFailureReason: null
|
|
662
727
|
}
|
|
663
728
|
};
|
|
664
|
-
return this.#
|
|
729
|
+
return this.#n = e.manual ? n : void 0, n;
|
|
665
730
|
case "error":
|
|
666
731
|
let r = e.error;
|
|
667
732
|
return {
|
|
@@ -684,10 +749,11 @@ var Qe = class {
|
|
|
684
749
|
...e.state
|
|
685
750
|
};
|
|
686
751
|
}
|
|
687
|
-
}
|
|
752
|
+
};
|
|
753
|
+
this.state = t(this.state), I.batch(() => {
|
|
688
754
|
this.observers.forEach((e) => {
|
|
689
755
|
e.onQueryUpdate();
|
|
690
|
-
}), this.#
|
|
756
|
+
}), this.#r.notify({
|
|
691
757
|
query: this,
|
|
692
758
|
type: "updated",
|
|
693
759
|
action: e
|
|
@@ -695,7 +761,7 @@ var Qe = class {
|
|
|
695
761
|
});
|
|
696
762
|
}
|
|
697
763
|
};
|
|
698
|
-
function
|
|
764
|
+
function rt(e, t) {
|
|
699
765
|
return {
|
|
700
766
|
fetchFailureCount: 0,
|
|
701
767
|
fetchFailureReason: null,
|
|
@@ -706,7 +772,7 @@ function et(e, t) {
|
|
|
706
772
|
}
|
|
707
773
|
};
|
|
708
774
|
}
|
|
709
|
-
function
|
|
775
|
+
function it(e, t) {
|
|
710
776
|
return {
|
|
711
777
|
data: e,
|
|
712
778
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -715,7 +781,7 @@ function tt(e, t) {
|
|
|
715
781
|
status: "success"
|
|
716
782
|
};
|
|
717
783
|
}
|
|
718
|
-
function
|
|
784
|
+
function at(e) {
|
|
719
785
|
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
786
|
return {
|
|
721
787
|
data: t,
|
|
@@ -734,9 +800,9 @@ function nt(e) {
|
|
|
734
800
|
}
|
|
735
801
|
//#endregion
|
|
736
802
|
//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
737
|
-
var
|
|
803
|
+
var ot = class extends D {
|
|
738
804
|
constructor(e, t) {
|
|
739
|
-
super(), this.options = t, this.#e = e, this.#s = null, this.#o =
|
|
805
|
+
super(), this.options = t, this.#e = e, this.#s = null, this.#o = We(), this.bindMethods(), this.setOptions(t);
|
|
740
806
|
}
|
|
741
807
|
#e;
|
|
742
808
|
#t = void 0;
|
|
@@ -757,16 +823,16 @@ var rt = class extends D {
|
|
|
757
823
|
this.refetch = this.refetch.bind(this);
|
|
758
824
|
}
|
|
759
825
|
onSubscribe() {
|
|
760
|
-
this.listeners.size === 1 && (this.#t.addObserver(this),
|
|
826
|
+
this.listeners.size === 1 && (this.#t.addObserver(this), ct(this.#t, this.options) ? this.#h() : this.updateResult(), this.#y());
|
|
761
827
|
}
|
|
762
828
|
onUnsubscribe() {
|
|
763
829
|
this.hasListeners() || this.destroy();
|
|
764
830
|
}
|
|
765
831
|
shouldFetchOnReconnect() {
|
|
766
|
-
return
|
|
832
|
+
return lt(this.#t, this.options, this.options.refetchOnReconnect);
|
|
767
833
|
}
|
|
768
834
|
shouldFetchOnWindowFocus() {
|
|
769
|
-
return
|
|
835
|
+
return lt(this.#t, this.options, this.options.refetchOnWindowFocus);
|
|
770
836
|
}
|
|
771
837
|
destroy() {
|
|
772
838
|
this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);
|
|
@@ -774,19 +840,19 @@ var rt = class extends D {
|
|
|
774
840
|
setOptions(e) {
|
|
775
841
|
let t = this.options, n = this.#t;
|
|
776
842
|
if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof j(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 && !
|
|
843
|
+
this.#S(), this.#t.setOptions(this.options), t._defaulted && !P(this.options, t) && this.#e.getQueryCache().notify({
|
|
778
844
|
type: "observerOptionsUpdated",
|
|
779
845
|
query: this.#t,
|
|
780
846
|
observer: this
|
|
781
847
|
});
|
|
782
848
|
let r = this.hasListeners();
|
|
783
|
-
r &&
|
|
849
|
+
r && ut(this.#t, n, this.options, t) && this.#h(), this.updateResult(), r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || A(this.options.staleTime, this.#t) !== A(t.staleTime, this.#t)) && this.#g();
|
|
784
850
|
let i = this.#_();
|
|
785
851
|
r && (this.#t !== n || j(this.options.enabled, this.#t) !== j(t.enabled, this.#t) || i !== this.#p) && this.#v(i);
|
|
786
852
|
}
|
|
787
853
|
getOptimisticResult(e) {
|
|
788
854
|
let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);
|
|
789
|
-
return
|
|
855
|
+
return ft(this, n) && (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;
|
|
790
856
|
}
|
|
791
857
|
getCurrentResult() {
|
|
792
858
|
return this.#r;
|
|
@@ -821,7 +887,7 @@ var rt = class extends D {
|
|
|
821
887
|
#g() {
|
|
822
888
|
this.#b();
|
|
823
889
|
let e = A(this.options.staleTime, this.#t);
|
|
824
|
-
if (
|
|
890
|
+
if (F.isServer() || this.#r.isStale || !Ee(e)) return;
|
|
825
891
|
let t = De(this.#r.dataUpdatedAt, e) + 1;
|
|
826
892
|
this.#d = O.setTimeout(() => {
|
|
827
893
|
this.#r.isStale || this.updateResult();
|
|
@@ -831,7 +897,7 @@ var rt = class extends D {
|
|
|
831
897
|
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;
|
|
832
898
|
}
|
|
833
899
|
#v(e) {
|
|
834
|
-
this.#x(), this.#p = e, !(
|
|
900
|
+
this.#x(), this.#p = e, !(F.isServer() || j(this.options.enabled, this.#t) === !1 || !Ee(this.#p) || this.#p === 0) && (this.#f = O.setInterval(() => {
|
|
835
901
|
(this.options.refetchIntervalInBackground || xe.isFocused()) && this.#h();
|
|
836
902
|
}, this.#p));
|
|
837
903
|
}
|
|
@@ -847,10 +913,10 @@ var rt = class extends D {
|
|
|
847
913
|
createResult(e, t) {
|
|
848
914
|
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
915
|
if (t._optimisticResults) {
|
|
850
|
-
let i = this.hasListeners(), a = !i &&
|
|
916
|
+
let i = this.hasListeners(), a = !i && ct(e, t), o = i && ut(e, n, t, r);
|
|
851
917
|
(a || o) && (l = {
|
|
852
918
|
...l,
|
|
853
|
-
...
|
|
919
|
+
...rt(c.data, e.options)
|
|
854
920
|
}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");
|
|
855
921
|
}
|
|
856
922
|
let { error: f, errorUpdatedAt: p, status: m } = l;
|
|
@@ -858,11 +924,11 @@ var rt = class extends D {
|
|
|
858
924
|
let h = !1;
|
|
859
925
|
if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {
|
|
860
926
|
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 =
|
|
927
|
+
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 = Le(i?.data, e, t), u = !0);
|
|
862
928
|
}
|
|
863
929
|
if (t.select && d !== void 0 && !h) if (i && d === a?.data && t.select === this.#c) d = this.#l;
|
|
864
930
|
else try {
|
|
865
|
-
this.#c = t.select, d = t.select(d), d =
|
|
931
|
+
this.#c = t.select, d = t.select(d), d = Le(i?.data, d, t), this.#l = d, this.#s = null;
|
|
866
932
|
} catch (e) {
|
|
867
933
|
this.#s = e;
|
|
868
934
|
}
|
|
@@ -890,7 +956,7 @@ var rt = class extends D {
|
|
|
890
956
|
isPaused: l.fetchStatus === "paused",
|
|
891
957
|
isPlaceholderData: u,
|
|
892
958
|
isRefetchError: v && y,
|
|
893
|
-
isStale:
|
|
959
|
+
isStale: dt(e, t),
|
|
894
960
|
refetch: this.refetch,
|
|
895
961
|
promise: this.#o,
|
|
896
962
|
isEnabled: j(t.enabled, e) !== !1
|
|
@@ -899,7 +965,7 @@ var rt = class extends D {
|
|
|
899
965
|
let t = b.data !== void 0, r = b.status === "error" && !t, i = (e) => {
|
|
900
966
|
r ? e.reject(b.error) : t && e.resolve(b.data);
|
|
901
967
|
}, a = () => {
|
|
902
|
-
i(this.#o = b.promise =
|
|
968
|
+
i(this.#o = b.promise = We());
|
|
903
969
|
}, o = this.#o;
|
|
904
970
|
switch (o.status) {
|
|
905
971
|
case "pending":
|
|
@@ -917,7 +983,7 @@ var rt = class extends D {
|
|
|
917
983
|
}
|
|
918
984
|
updateResult() {
|
|
919
985
|
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), !
|
|
986
|
+
this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#u = this.#t), !P(t, e) && (this.#r = t, this.#C({ listeners: (() => {
|
|
921
987
|
if (!e) return !0;
|
|
922
988
|
let { notifyOnChangeProps: t } = this.options, n = typeof t == "function" ? t() : t;
|
|
923
989
|
if (n === "all" || !n && !this.#m.size) return !0;
|
|
@@ -938,7 +1004,7 @@ var rt = class extends D {
|
|
|
938
1004
|
this.updateResult(), this.hasListeners() && this.#y();
|
|
939
1005
|
}
|
|
940
1006
|
#C(e) {
|
|
941
|
-
|
|
1007
|
+
I.batch(() => {
|
|
942
1008
|
e.listeners && this.listeners.forEach((e) => {
|
|
943
1009
|
e(this.#r);
|
|
944
1010
|
}), this.#e.getQueryCache().notify({
|
|
@@ -948,86 +1014,27 @@ var rt = class extends D {
|
|
|
948
1014
|
});
|
|
949
1015
|
}
|
|
950
1016
|
};
|
|
951
|
-
function
|
|
952
|
-
return j(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
1017
|
+
function st(e, t) {
|
|
1018
|
+
return j(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && j(t.retryOnMount, e) === !1);
|
|
953
1019
|
}
|
|
954
|
-
function
|
|
955
|
-
return
|
|
1020
|
+
function ct(e, t) {
|
|
1021
|
+
return st(e, t) || e.state.data !== void 0 && lt(e, t, t.refetchOnMount);
|
|
956
1022
|
}
|
|
957
|
-
function
|
|
1023
|
+
function lt(e, t, n) {
|
|
958
1024
|
if (j(t.enabled, e) !== !1 && A(t.staleTime, e) !== "static") {
|
|
959
1025
|
let r = typeof n == "function" ? n(e) : n;
|
|
960
|
-
return r === "always" || r !== !1 &&
|
|
1026
|
+
return r === "always" || r !== !1 && dt(e, t);
|
|
961
1027
|
}
|
|
962
1028
|
return !1;
|
|
963
1029
|
}
|
|
964
|
-
function
|
|
965
|
-
return (e !== t || j(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") &&
|
|
1030
|
+
function ut(e, t, n, r) {
|
|
1031
|
+
return (e !== t || j(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && dt(e, n);
|
|
966
1032
|
}
|
|
967
|
-
function
|
|
1033
|
+
function dt(e, t) {
|
|
968
1034
|
return j(t.enabled, e) !== !1 && e.isStaleByTime(A(t.staleTime, e));
|
|
969
1035
|
}
|
|
970
|
-
function
|
|
971
|
-
return !
|
|
972
|
-
}
|
|
973
|
-
//#endregion
|
|
974
|
-
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
975
|
-
function ut(e) {
|
|
976
|
-
return { onFetch: (t, n) => {
|
|
977
|
-
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
978
|
-
pages: [],
|
|
979
|
-
pageParams: []
|
|
980
|
-
}, c = 0, l = async () => {
|
|
981
|
-
let n = !1, l = (e) => {
|
|
982
|
-
We(e, () => t.signal, () => n = !0);
|
|
983
|
-
}, u = He(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
984
|
-
if (n) return Promise.reject();
|
|
985
|
-
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
986
|
-
let a = await u((() => {
|
|
987
|
-
let e = {
|
|
988
|
-
client: t.client,
|
|
989
|
-
queryKey: t.queryKey,
|
|
990
|
-
pageParam: r,
|
|
991
|
-
direction: i ? "backward" : "forward",
|
|
992
|
-
meta: t.options.meta
|
|
993
|
-
};
|
|
994
|
-
return l(e), e;
|
|
995
|
-
})()), { maxPages: o } = t.options, s = i ? Be : ze;
|
|
996
|
-
return {
|
|
997
|
-
pages: s(e.pages, a, o),
|
|
998
|
-
pageParams: s(e.pageParams, r, o)
|
|
999
|
-
};
|
|
1000
|
-
};
|
|
1001
|
-
if (i && a.length) {
|
|
1002
|
-
let e = i === "backward", t = e ? ft : dt, n = {
|
|
1003
|
-
pages: a,
|
|
1004
|
-
pageParams: o
|
|
1005
|
-
};
|
|
1006
|
-
s = await d(n, t(r, n), e);
|
|
1007
|
-
} else {
|
|
1008
|
-
let t = e ?? a.length;
|
|
1009
|
-
do {
|
|
1010
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam : dt(r, s);
|
|
1011
|
-
if (c > 0 && e == null) break;
|
|
1012
|
-
s = await d(s, e), c++;
|
|
1013
|
-
} while (c < t);
|
|
1014
|
-
}
|
|
1015
|
-
return s;
|
|
1016
|
-
};
|
|
1017
|
-
t.options.persister ? t.fetchFn = () => t.options.persister?.(l, {
|
|
1018
|
-
client: t.client,
|
|
1019
|
-
queryKey: t.queryKey,
|
|
1020
|
-
meta: t.options.meta,
|
|
1021
|
-
signal: t.signal
|
|
1022
|
-
}, n) : t.fetchFn = l;
|
|
1023
|
-
} };
|
|
1024
|
-
}
|
|
1025
|
-
function dt(e, { pages: t, pageParams: n }) {
|
|
1026
|
-
let r = t.length - 1;
|
|
1027
|
-
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
1028
|
-
}
|
|
1029
|
-
function ft(e, { pages: t, pageParams: n }) {
|
|
1030
|
-
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
1036
|
+
function ft(e, t) {
|
|
1037
|
+
return !P(e.getCurrentResult(), t);
|
|
1031
1038
|
}
|
|
1032
1039
|
//#endregion
|
|
1033
1040
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
@@ -1143,7 +1150,7 @@ var pt = class extends Qe {
|
|
|
1143
1150
|
}
|
|
1144
1151
|
}
|
|
1145
1152
|
#i(e) {
|
|
1146
|
-
|
|
1153
|
+
let t = (t) => {
|
|
1147
1154
|
switch (e.type) {
|
|
1148
1155
|
case "failed": return {
|
|
1149
1156
|
...t,
|
|
@@ -1189,7 +1196,8 @@ var pt = class extends Qe {
|
|
|
1189
1196
|
status: "error"
|
|
1190
1197
|
};
|
|
1191
1198
|
}
|
|
1192
|
-
}
|
|
1199
|
+
};
|
|
1200
|
+
this.state = t(this.state), I.batch(() => {
|
|
1193
1201
|
this.#t.forEach((t) => {
|
|
1194
1202
|
t.onMutationUpdate(e);
|
|
1195
1203
|
}), this.#n.notify({
|
|
@@ -1234,7 +1242,7 @@ var ht = class extends D {
|
|
|
1234
1242
|
}
|
|
1235
1243
|
add(e) {
|
|
1236
1244
|
this.#e.add(e);
|
|
1237
|
-
let t =
|
|
1245
|
+
let t = gt(e);
|
|
1238
1246
|
if (typeof t == "string") {
|
|
1239
1247
|
let n = this.#t.get(t);
|
|
1240
1248
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -1246,7 +1254,7 @@ var ht = class extends D {
|
|
|
1246
1254
|
}
|
|
1247
1255
|
remove(e) {
|
|
1248
1256
|
if (this.#e.delete(e)) {
|
|
1249
|
-
let t =
|
|
1257
|
+
let t = gt(e);
|
|
1250
1258
|
if (typeof t == "string") {
|
|
1251
1259
|
let n = this.#t.get(t);
|
|
1252
1260
|
if (n) if (n.length > 1) {
|
|
@@ -1261,18 +1269,18 @@ var ht = class extends D {
|
|
|
1261
1269
|
});
|
|
1262
1270
|
}
|
|
1263
1271
|
canRun(e) {
|
|
1264
|
-
let t =
|
|
1272
|
+
let t = gt(e);
|
|
1265
1273
|
if (typeof t == "string") {
|
|
1266
1274
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1267
1275
|
return !n || n === e;
|
|
1268
1276
|
} else return !0;
|
|
1269
1277
|
}
|
|
1270
1278
|
runNext(e) {
|
|
1271
|
-
let t =
|
|
1279
|
+
let t = gt(e);
|
|
1272
1280
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1273
1281
|
}
|
|
1274
1282
|
clear() {
|
|
1275
|
-
|
|
1283
|
+
I.batch(() => {
|
|
1276
1284
|
this.#e.forEach((e) => {
|
|
1277
1285
|
this.notify({
|
|
1278
1286
|
type: "removed",
|
|
@@ -1295,7 +1303,7 @@ var ht = class extends D {
|
|
|
1295
1303
|
return this.getAll().filter((t) => ke(e, t));
|
|
1296
1304
|
}
|
|
1297
1305
|
notify(e) {
|
|
1298
|
-
|
|
1306
|
+
I.batch(() => {
|
|
1299
1307
|
this.listeners.forEach((t) => {
|
|
1300
1308
|
t(e);
|
|
1301
1309
|
});
|
|
@@ -1303,22 +1311,22 @@ var ht = class extends D {
|
|
|
1303
1311
|
}
|
|
1304
1312
|
resumePausedMutations() {
|
|
1305
1313
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1306
|
-
return
|
|
1314
|
+
return I.batch(() => Promise.all(e.map((e) => e.continue().catch(k))));
|
|
1307
1315
|
}
|
|
1308
1316
|
};
|
|
1309
|
-
function
|
|
1317
|
+
function gt(e) {
|
|
1310
1318
|
return e.options.scope?.id;
|
|
1311
1319
|
}
|
|
1312
1320
|
//#endregion
|
|
1313
1321
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1314
|
-
var
|
|
1322
|
+
var _t = class extends D {
|
|
1315
1323
|
constructor(e = {}) {
|
|
1316
1324
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1317
1325
|
}
|
|
1318
1326
|
#e;
|
|
1319
1327
|
build(e, t, n) {
|
|
1320
1328
|
let r = t.queryKey, i = t.queryHash ?? Ae(r, t), a = this.get(i);
|
|
1321
|
-
return a || (a = new
|
|
1329
|
+
return a || (a = new nt({
|
|
1322
1330
|
client: e,
|
|
1323
1331
|
queryKey: r,
|
|
1324
1332
|
queryHash: i,
|
|
@@ -1341,7 +1349,7 @@ var gt = class extends D {
|
|
|
1341
1349
|
}));
|
|
1342
1350
|
}
|
|
1343
1351
|
clear() {
|
|
1344
|
-
|
|
1352
|
+
I.batch(() => {
|
|
1345
1353
|
this.getAll().forEach((e) => {
|
|
1346
1354
|
this.remove(e);
|
|
1347
1355
|
});
|
|
@@ -1365,27 +1373,27 @@ var gt = class extends D {
|
|
|
1365
1373
|
return Object.keys(e).length > 0 ? t.filter((t) => Oe(e, t)) : t;
|
|
1366
1374
|
}
|
|
1367
1375
|
notify(e) {
|
|
1368
|
-
|
|
1376
|
+
I.batch(() => {
|
|
1369
1377
|
this.listeners.forEach((t) => {
|
|
1370
1378
|
t(e);
|
|
1371
1379
|
});
|
|
1372
1380
|
});
|
|
1373
1381
|
}
|
|
1374
1382
|
onFocus() {
|
|
1375
|
-
|
|
1383
|
+
I.batch(() => {
|
|
1376
1384
|
this.getAll().forEach((e) => {
|
|
1377
1385
|
e.onFocus();
|
|
1378
1386
|
});
|
|
1379
1387
|
});
|
|
1380
1388
|
}
|
|
1381
1389
|
onOnline() {
|
|
1382
|
-
|
|
1390
|
+
I.batch(() => {
|
|
1383
1391
|
this.getAll().forEach((e) => {
|
|
1384
1392
|
e.onOnline();
|
|
1385
1393
|
});
|
|
1386
1394
|
});
|
|
1387
1395
|
}
|
|
1388
|
-
},
|
|
1396
|
+
}, vt = class {
|
|
1389
1397
|
#e;
|
|
1390
1398
|
#t;
|
|
1391
1399
|
#n;
|
|
@@ -1395,12 +1403,12 @@ var gt = class extends D {
|
|
|
1395
1403
|
#o;
|
|
1396
1404
|
#s;
|
|
1397
1405
|
constructor(e = {}) {
|
|
1398
|
-
this.#e = e.queryCache || new
|
|
1406
|
+
this.#e = e.queryCache || new _t(), this.#t = e.mutationCache || new ht(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1399
1407
|
}
|
|
1400
1408
|
mount() {
|
|
1401
1409
|
this.#a++, this.#a === 1 && (this.#o = xe.subscribe(async (e) => {
|
|
1402
1410
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1403
|
-
}), this.#s =
|
|
1411
|
+
}), this.#s = qe.subscribe(async (e) => {
|
|
1404
1412
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
1405
1413
|
}));
|
|
1406
1414
|
}
|
|
@@ -1438,7 +1446,7 @@ var gt = class extends D {
|
|
|
1438
1446
|
});
|
|
1439
1447
|
}
|
|
1440
1448
|
setQueriesData(e, t, n) {
|
|
1441
|
-
return
|
|
1449
|
+
return I.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));
|
|
1442
1450
|
}
|
|
1443
1451
|
getQueryState(e) {
|
|
1444
1452
|
let t = this.defaultQueryOptions({ queryKey: e });
|
|
@@ -1446,7 +1454,7 @@ var gt = class extends D {
|
|
|
1446
1454
|
}
|
|
1447
1455
|
removeQueries(e) {
|
|
1448
1456
|
let t = this.#e;
|
|
1449
|
-
|
|
1457
|
+
I.batch(() => {
|
|
1450
1458
|
t.findAll(e).forEach((e) => {
|
|
1451
1459
|
t.remove(e);
|
|
1452
1460
|
});
|
|
@@ -1454,7 +1462,7 @@ var gt = class extends D {
|
|
|
1454
1462
|
}
|
|
1455
1463
|
resetQueries(e, t) {
|
|
1456
1464
|
let n = this.#e;
|
|
1457
|
-
return
|
|
1465
|
+
return I.batch(() => (n.findAll(e).forEach((e) => {
|
|
1458
1466
|
e.reset();
|
|
1459
1467
|
}), this.refetchQueries({
|
|
1460
1468
|
type: "active",
|
|
@@ -1465,11 +1473,11 @@ var gt = class extends D {
|
|
|
1465
1473
|
let n = {
|
|
1466
1474
|
revert: !0,
|
|
1467
1475
|
...t
|
|
1468
|
-
}, r =
|
|
1476
|
+
}, r = I.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1469
1477
|
return Promise.all(r).then(k).catch(k);
|
|
1470
1478
|
}
|
|
1471
1479
|
invalidateQueries(e, t = {}) {
|
|
1472
|
-
return
|
|
1480
|
+
return I.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
1473
1481
|
e.invalidate();
|
|
1474
1482
|
}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({
|
|
1475
1483
|
...e,
|
|
@@ -1480,7 +1488,7 @@ var gt = class extends D {
|
|
|
1480
1488
|
let n = {
|
|
1481
1489
|
...t,
|
|
1482
1490
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1483
|
-
}, r =
|
|
1491
|
+
}, r = I.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1484
1492
|
let t = e.fetch(void 0, n);
|
|
1485
1493
|
return n.throwOnError || (t = t.catch(k)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1486
1494
|
}));
|
|
@@ -1496,16 +1504,16 @@ var gt = class extends D {
|
|
|
1496
1504
|
return this.fetchQuery(e).then(k).catch(k);
|
|
1497
1505
|
}
|
|
1498
1506
|
fetchInfiniteQuery(e) {
|
|
1499
|
-
return e.
|
|
1507
|
+
return e._type = "infinite", this.fetchQuery(e);
|
|
1500
1508
|
}
|
|
1501
1509
|
prefetchInfiniteQuery(e) {
|
|
1502
1510
|
return this.fetchInfiniteQuery(e).then(k).catch(k);
|
|
1503
1511
|
}
|
|
1504
1512
|
ensureInfiniteQueryData(e) {
|
|
1505
|
-
return e.
|
|
1513
|
+
return e._type = "infinite", this.ensureQueryData(e);
|
|
1506
1514
|
}
|
|
1507
1515
|
resumePausedMutations() {
|
|
1508
|
-
return
|
|
1516
|
+
return qe.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();
|
|
1509
1517
|
}
|
|
1510
1518
|
getQueryCache() {
|
|
1511
1519
|
return this.#e;
|
|
@@ -1551,7 +1559,7 @@ var gt = class extends D {
|
|
|
1551
1559
|
...e,
|
|
1552
1560
|
_defaulted: !0
|
|
1553
1561
|
};
|
|
1554
|
-
return t.queryHash ||= Ae(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 ===
|
|
1562
|
+
return t.queryHash ||= Ae(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 === Be && (t.enabled = !1), t;
|
|
1555
1563
|
}
|
|
1556
1564
|
defaultMutationOptions(e) {
|
|
1557
1565
|
return e?._defaulted ? e : {
|
|
@@ -1564,20 +1572,20 @@ var gt = class extends D {
|
|
|
1564
1572
|
clear() {
|
|
1565
1573
|
this.#e.clear(), this.#t.clear();
|
|
1566
1574
|
}
|
|
1567
|
-
},
|
|
1568
|
-
let t = x.useContext(
|
|
1575
|
+
}, yt = x.createContext(void 0), bt = (e) => {
|
|
1576
|
+
let t = x.useContext(yt);
|
|
1569
1577
|
if (e) return e;
|
|
1570
1578
|
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
|
|
1571
1579
|
return t;
|
|
1572
|
-
},
|
|
1580
|
+
}, xt = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {
|
|
1573
1581
|
e.unmount();
|
|
1574
|
-
}), [e]), /* @__PURE__ */ T(
|
|
1582
|
+
}), [e]), /* @__PURE__ */ T(yt.Provider, {
|
|
1575
1583
|
value: e,
|
|
1576
1584
|
children: t
|
|
1577
|
-
})),
|
|
1585
|
+
})), St = x.createContext(!1), Ct = () => x.useContext(St);
|
|
1578
1586
|
//#endregion
|
|
1579
1587
|
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
1580
|
-
function
|
|
1588
|
+
function wt() {
|
|
1581
1589
|
let e = !1;
|
|
1582
1590
|
return {
|
|
1583
1591
|
clearReset: () => {
|
|
@@ -1589,55 +1597,57 @@ function Ct() {
|
|
|
1589
1597
|
isReset: () => e
|
|
1590
1598
|
};
|
|
1591
1599
|
}
|
|
1592
|
-
var
|
|
1593
|
-
let r = n?.state.error && typeof e.throwOnError == "function" ?
|
|
1600
|
+
var Tt = x.createContext(wt()), Et = () => x.useContext(Tt), Dt = (e, t, n) => {
|
|
1601
|
+
let r = n?.state.error && typeof e.throwOnError == "function" ? He(e.throwOnError, [n.state.error, n]) : e.throwOnError;
|
|
1594
1602
|
(e.suspense || e.experimental_prefetchInRender || r) && (t.isReset() || (e.retryOnMount = !1));
|
|
1595
|
-
},
|
|
1603
|
+
}, Ot = (e) => {
|
|
1596
1604
|
x.useEffect(() => {
|
|
1597
1605
|
e.clearReset();
|
|
1598
1606
|
}, [e]);
|
|
1599
|
-
},
|
|
1607
|
+
}, kt = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || He(n, [e.error, r])), At = (e) => {
|
|
1600
1608
|
if (e.suspense) {
|
|
1601
1609
|
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
|
|
1602
1610
|
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
|
|
1603
1611
|
}
|
|
1604
|
-
},
|
|
1612
|
+
}, jt = (e, t) => e.isLoading && e.isFetching && !t, Mt = (e, t) => e?.suspense && t.isPending, Nt = (e, t, n) => t.fetchOptimistic(e).catch(() => {
|
|
1605
1613
|
n.clearReset();
|
|
1606
1614
|
});
|
|
1607
1615
|
//#endregion
|
|
1608
1616
|
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1609
|
-
function
|
|
1617
|
+
function Pt(e, t, n) {
|
|
1610
1618
|
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 =
|
|
1619
|
+
let r = Ct(), i = Et(), a = bt(n), o = a.defaultQueryOptions(e);
|
|
1612
1620
|
a.getDefaultOptions().queries?._experimental_beforeQuery?.(o);
|
|
1613
1621
|
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`))
|
|
1615
|
-
let c =
|
|
1622
|
+
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`));
|
|
1623
|
+
let c = e.subscribed !== !1;
|
|
1624
|
+
o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, At(o), Dt(o, i, s), Ot(i);
|
|
1625
|
+
let l = !a.getQueryCache().get(o.queryHash), [u] = x.useState(() => new t(a, o)), d = u.getOptimisticResult(o), f = !r && c;
|
|
1616
1626
|
if (x.useSyncExternalStore(x.useCallback((e) => {
|
|
1617
|
-
let t =
|
|
1618
|
-
return
|
|
1619
|
-
}, [
|
|
1620
|
-
|
|
1621
|
-
}, [o,
|
|
1622
|
-
if (
|
|
1623
|
-
result:
|
|
1627
|
+
let t = f ? u.subscribe(I.batchCalls(e)) : k;
|
|
1628
|
+
return u.updateResult(), t;
|
|
1629
|
+
}, [u, f]), () => u.getCurrentResult(), () => u.getCurrentResult()), x.useEffect(() => {
|
|
1630
|
+
u.setOptions(o);
|
|
1631
|
+
}, [o, u]), Mt(o, d)) throw Nt(o, u, i);
|
|
1632
|
+
if (kt({
|
|
1633
|
+
result: d,
|
|
1624
1634
|
errorResetBoundary: i,
|
|
1625
1635
|
throwOnError: o.throwOnError,
|
|
1626
1636
|
query: s,
|
|
1627
1637
|
suspense: o.suspense
|
|
1628
|
-
})) throw
|
|
1629
|
-
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o,
|
|
1630
|
-
|
|
1631
|
-
}), o.notifyOnChangeProps ?
|
|
1638
|
+
})) throw d.error;
|
|
1639
|
+
return a.getDefaultOptions().queries?._experimental_afterQuery?.(o, d), o.experimental_prefetchInRender && !F.isServer() && jt(d, r) && (l ? Nt(o, u, i) : s?.promise)?.catch(k).finally(() => {
|
|
1640
|
+
u.updateResult();
|
|
1641
|
+
}), o.notifyOnChangeProps ? d : u.trackResult(d);
|
|
1632
1642
|
}
|
|
1633
1643
|
//#endregion
|
|
1634
1644
|
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1635
|
-
function
|
|
1636
|
-
return
|
|
1645
|
+
function Ft(e, t) {
|
|
1646
|
+
return Pt(e, ot, t);
|
|
1637
1647
|
}
|
|
1638
1648
|
//#endregion
|
|
1639
1649
|
//#region src/client/client/CubeClient.ts
|
|
1640
|
-
var
|
|
1650
|
+
var It = class {
|
|
1641
1651
|
apiUrl;
|
|
1642
1652
|
headers;
|
|
1643
1653
|
credentials;
|
|
@@ -1648,17 +1658,17 @@ var Ft = class {
|
|
|
1648
1658
|
}, this.credentials = t.credentials ?? "include", e && (this.headers.Authorization = e);
|
|
1649
1659
|
}
|
|
1650
1660
|
async load(e, t) {
|
|
1651
|
-
let n = JSON.stringify(e), r = `${this.apiUrl}/load?query=${
|
|
1652
|
-
t?.bustCache && (
|
|
1653
|
-
let
|
|
1661
|
+
let n = JSON.stringify(e), r = encodeURIComponent(n), i = `${this.apiUrl}/load?query=${r}`, a = { ...Object.fromEntries(Object.entries(this.headers).filter(([e]) => e !== "Content-Type")) };
|
|
1662
|
+
t?.bustCache && (a["X-Cache-Control"] = "no-cache");
|
|
1663
|
+
let o = await fetch(i, {
|
|
1654
1664
|
method: "GET",
|
|
1655
|
-
headers:
|
|
1665
|
+
headers: a,
|
|
1656
1666
|
credentials: this.credentials
|
|
1657
1667
|
});
|
|
1658
|
-
if (!
|
|
1659
|
-
let e = `Cube query failed: ${
|
|
1668
|
+
if (!o.ok) {
|
|
1669
|
+
let e = `Cube query failed: ${o.status}`;
|
|
1660
1670
|
try {
|
|
1661
|
-
let t = await
|
|
1671
|
+
let t = await o.text();
|
|
1662
1672
|
try {
|
|
1663
1673
|
let n = JSON.parse(t);
|
|
1664
1674
|
n.error ? e = n.error : e += ` ${t}`;
|
|
@@ -1668,7 +1678,7 @@ var Ft = class {
|
|
|
1668
1678
|
} catch {}
|
|
1669
1679
|
throw Error(e);
|
|
1670
1680
|
}
|
|
1671
|
-
return new
|
|
1681
|
+
return new Lt(await o.json());
|
|
1672
1682
|
}
|
|
1673
1683
|
async meta() {
|
|
1674
1684
|
let e = `${this.apiUrl}/meta`, t = await fetch(e, {
|
|
@@ -1758,14 +1768,14 @@ var Ft = class {
|
|
|
1758
1768
|
throw Error(e);
|
|
1759
1769
|
}
|
|
1760
1770
|
return (await i.json()).results.map((e) => !e.success && e.error ? {
|
|
1761
|
-
...new
|
|
1771
|
+
...new Lt({
|
|
1762
1772
|
data: [],
|
|
1763
1773
|
annotation: {}
|
|
1764
1774
|
}),
|
|
1765
1775
|
error: e.error
|
|
1766
|
-
} : new
|
|
1776
|
+
} : new Lt(e));
|
|
1767
1777
|
}
|
|
1768
|
-
},
|
|
1778
|
+
}, Lt = class {
|
|
1769
1779
|
loadResponse;
|
|
1770
1780
|
constructor(e) {
|
|
1771
1781
|
this.loadResponse = e;
|
|
@@ -1786,12 +1796,12 @@ var Ft = class {
|
|
|
1786
1796
|
return this.loadResponse.results && this.loadResponse.results[0] ? this.loadResponse.results[0].cache : this.loadResponse.cache;
|
|
1787
1797
|
}
|
|
1788
1798
|
};
|
|
1789
|
-
function
|
|
1790
|
-
return new
|
|
1799
|
+
function Rt(e, t = {}) {
|
|
1800
|
+
return new It(e, t);
|
|
1791
1801
|
}
|
|
1792
1802
|
//#endregion
|
|
1793
1803
|
//#region src/client/client/BatchCoordinator.ts
|
|
1794
|
-
var
|
|
1804
|
+
var zt = class {
|
|
1795
1805
|
queue = [];
|
|
1796
1806
|
flushScheduled = !1;
|
|
1797
1807
|
batchExecutor;
|
|
@@ -1834,8 +1844,8 @@ var Rt = class {
|
|
|
1834
1844
|
clear() {
|
|
1835
1845
|
this.queue = [], this.flushScheduled = !1;
|
|
1836
1846
|
}
|
|
1837
|
-
},
|
|
1838
|
-
function
|
|
1847
|
+
}, Bt = me(null);
|
|
1848
|
+
function Vt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatching: i = !0, batchDelayMs: a = 50, children: o }) {
|
|
1839
1849
|
let s = C(() => ({
|
|
1840
1850
|
apiOptions: e,
|
|
1841
1851
|
token: t
|
|
@@ -1849,7 +1859,7 @@ function Bt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
|
|
|
1849
1859
|
...u.apiOptions.headers ?? {},
|
|
1850
1860
|
"X-DC-Locale": r
|
|
1851
1861
|
}
|
|
1852
|
-
} : u.apiOptions, [u.apiOptions, r]), f = C(() =>
|
|
1862
|
+
} : u.apiOptions, [u.apiOptions, r]), f = C(() => Rt(u.token, d), [d, u.token]), p = C(() => i ? new zt((e) => f.batchLoad(e), a) : null, [
|
|
1853
1863
|
i,
|
|
1854
1864
|
f,
|
|
1855
1865
|
a
|
|
@@ -1873,20 +1883,20 @@ function Bt({ apiOptions: e, token: t, options: n = {}, locale: r, enableBatchin
|
|
|
1873
1883
|
p,
|
|
1874
1884
|
i
|
|
1875
1885
|
]);
|
|
1876
|
-
return /* @__PURE__ */ T(
|
|
1886
|
+
return /* @__PURE__ */ T(Bt.Provider, {
|
|
1877
1887
|
value: h,
|
|
1878
1888
|
children: o
|
|
1879
1889
|
});
|
|
1880
1890
|
}
|
|
1881
|
-
function
|
|
1882
|
-
let e = ye(
|
|
1891
|
+
function Ht() {
|
|
1892
|
+
let e = ye(Bt);
|
|
1883
1893
|
if (!e) throw Error("useCubeApi must be used within CubeApiProvider");
|
|
1884
1894
|
return e;
|
|
1885
1895
|
}
|
|
1886
1896
|
//#endregion
|
|
1887
1897
|
//#region src/client/hooks/queries/useCubeMetaQuery.ts
|
|
1888
|
-
var
|
|
1889
|
-
function
|
|
1898
|
+
var Ut = ["cube", "meta"];
|
|
1899
|
+
function Wt(e) {
|
|
1890
1900
|
let t = {};
|
|
1891
1901
|
return e.cubes.forEach((e) => {
|
|
1892
1902
|
e.measures.forEach((e) => {
|
|
@@ -1898,14 +1908,14 @@ function Ut(e) {
|
|
|
1898
1908
|
});
|
|
1899
1909
|
}), t;
|
|
1900
1910
|
}
|
|
1901
|
-
function
|
|
1902
|
-
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } =
|
|
1903
|
-
queryKey:
|
|
1911
|
+
function Gt(e = {}) {
|
|
1912
|
+
let { enabled: t = !0, staleTime: n = 300 * 1e3 } = e, { cubeApi: r } = Ht(), i = bt(), a = Ft({
|
|
1913
|
+
queryKey: Ut,
|
|
1904
1914
|
queryFn: async () => {
|
|
1905
1915
|
let e = await r.meta();
|
|
1906
1916
|
return {
|
|
1907
1917
|
meta: e,
|
|
1908
|
-
labelMap:
|
|
1918
|
+
labelMap: Wt(e)
|
|
1909
1919
|
};
|
|
1910
1920
|
},
|
|
1911
1921
|
enabled: t,
|
|
@@ -1919,15 +1929,15 @@ function Wt(e = {}) {
|
|
|
1919
1929
|
isFetching: a.isFetching,
|
|
1920
1930
|
error: a.error,
|
|
1921
1931
|
refetch: () => {
|
|
1922
|
-
i.invalidateQueries({ queryKey:
|
|
1932
|
+
i.invalidateQueries({ queryKey: Ut });
|
|
1923
1933
|
},
|
|
1924
1934
|
getFieldLabel: (e) => s[e] || e
|
|
1925
1935
|
};
|
|
1926
1936
|
}
|
|
1927
1937
|
//#endregion
|
|
1928
1938
|
//#region src/client/utils/thumbnail.ts
|
|
1929
|
-
var
|
|
1930
|
-
function
|
|
1939
|
+
var Kt = null, qt = !1;
|
|
1940
|
+
function Jt(e, t, n, r, i) {
|
|
1931
1941
|
return new Promise((a, o) => {
|
|
1932
1942
|
let s = new Image();
|
|
1933
1943
|
s.onload = () => {
|
|
@@ -1944,26 +1954,26 @@ function Kt(e, t, n, r, i) {
|
|
|
1944
1954
|
}, s.onerror = () => o(/* @__PURE__ */ Error("Failed to load image for resizing")), s.src = e;
|
|
1945
1955
|
});
|
|
1946
1956
|
}
|
|
1947
|
-
async function
|
|
1948
|
-
if (
|
|
1957
|
+
async function L() {
|
|
1958
|
+
if (qt) return Kt;
|
|
1949
1959
|
try {
|
|
1950
|
-
return
|
|
1960
|
+
return Kt = await import("./dist-zPWyTBdU.js"), qt = !0, Kt;
|
|
1951
1961
|
} catch {
|
|
1952
|
-
return
|
|
1962
|
+
return qt = !0, Kt = null, null;
|
|
1953
1963
|
}
|
|
1954
1964
|
}
|
|
1955
|
-
function
|
|
1956
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ ||
|
|
1965
|
+
function Yt(e) {
|
|
1966
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_thumbnail_warning__ || L().then((e) => {
|
|
1957
1967
|
!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);
|
|
1958
1968
|
}));
|
|
1959
1969
|
}
|
|
1960
|
-
async function
|
|
1970
|
+
async function Xt(e, t) {
|
|
1961
1971
|
if (typeof window > "u" || !e.current) return null;
|
|
1962
|
-
let n = await
|
|
1972
|
+
let n = await L();
|
|
1963
1973
|
if (!n) return null;
|
|
1964
1974
|
try {
|
|
1965
|
-
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c =
|
|
1966
|
-
return await
|
|
1975
|
+
let r = t.width ?? 1600, i = t.height ?? 1200, a = t.format ?? "png", o = t.quality ?? .95, s = e.current, c = en(s);
|
|
1976
|
+
return await Jt(await n.domToPng(s, {
|
|
1967
1977
|
scale: 2,
|
|
1968
1978
|
backgroundColor: c
|
|
1969
1979
|
}), r, i, a, o);
|
|
@@ -1971,31 +1981,31 @@ async function Jt(e, t) {
|
|
|
1971
1981
|
return console.error("[drizzle-cube] Failed to capture thumbnail:", e), null;
|
|
1972
1982
|
}
|
|
1973
1983
|
}
|
|
1974
|
-
async function
|
|
1975
|
-
return !e?.enabled || typeof window > "u" ? !1 : await
|
|
1984
|
+
async function Zt(e) {
|
|
1985
|
+
return !e?.enabled || typeof window > "u" ? !1 : await L() !== null;
|
|
1976
1986
|
}
|
|
1977
|
-
async function
|
|
1978
|
-
return typeof window > "u" || !await
|
|
1987
|
+
async function Qt() {
|
|
1988
|
+
return typeof window > "u" || !await L() ? !1 : typeof ClipboardItem < "u" && typeof navigator?.clipboard?.write == "function";
|
|
1979
1989
|
}
|
|
1980
|
-
function
|
|
1990
|
+
function $t(e) {
|
|
1981
1991
|
if (!e || e === "transparent" || e === "rgba(0, 0, 0, 0)") return !0;
|
|
1982
1992
|
let t = e.match(/rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*([\d.]+)\s*\)/);
|
|
1983
1993
|
return !!(t && parseFloat(t[1]) === 0);
|
|
1984
1994
|
}
|
|
1985
|
-
function
|
|
1995
|
+
function en(e) {
|
|
1986
1996
|
let t = e;
|
|
1987
1997
|
for (; t;) {
|
|
1988
1998
|
let e = getComputedStyle(t).backgroundColor;
|
|
1989
|
-
if (
|
|
1999
|
+
if (!$t(e)) return e;
|
|
1990
2000
|
t = t.parentElement;
|
|
1991
2001
|
}
|
|
1992
2002
|
return getComputedStyle(document.documentElement).getPropertyValue("--dc-surface").trim() || "#ffffff";
|
|
1993
2003
|
}
|
|
1994
|
-
async function
|
|
2004
|
+
async function tn(e) {
|
|
1995
2005
|
try {
|
|
1996
|
-
let t = await
|
|
2006
|
+
let t = await L();
|
|
1997
2007
|
if (!t) return console.warn("[drizzle-cube] Cannot copy portlet: modern-screenshot not available"), !1;
|
|
1998
|
-
let n =
|
|
2008
|
+
let n = en(e), r = await t.domToPng(e, {
|
|
1999
2009
|
scale: 2,
|
|
2000
2010
|
backgroundColor: n
|
|
2001
2011
|
}), i = await (await fetch(r)).blob();
|
|
@@ -2006,12 +2016,12 @@ async function $t(e) {
|
|
|
2006
2016
|
}
|
|
2007
2017
|
//#endregion
|
|
2008
2018
|
//#region src/client/utils/exportXlsx.ts
|
|
2009
|
-
var
|
|
2019
|
+
var nn = null, rn = !1, an = {
|
|
2010
2020
|
headerBg: "FF3B82F6",
|
|
2011
2021
|
headerText: "FFFFFFFF",
|
|
2012
2022
|
borderColor: "FFE5E7EB"
|
|
2013
2023
|
};
|
|
2014
|
-
function
|
|
2024
|
+
function on(e) {
|
|
2015
2025
|
if (!e) return null;
|
|
2016
2026
|
let t = e.trim();
|
|
2017
2027
|
if (t.startsWith("#")) {
|
|
@@ -2025,19 +2035,19 @@ function nn(e) {
|
|
|
2025
2035
|
}
|
|
2026
2036
|
return null;
|
|
2027
2037
|
}
|
|
2028
|
-
function
|
|
2029
|
-
if (typeof document > "u") return
|
|
2038
|
+
function sn() {
|
|
2039
|
+
if (typeof document > "u") return an;
|
|
2030
2040
|
let e = getComputedStyle(document.documentElement), t = e.getPropertyValue("--dc-primary").trim(), n = e.getPropertyValue("--dc-primary-content").trim(), r = e.getPropertyValue("--dc-border").trim();
|
|
2031
2041
|
return {
|
|
2032
|
-
headerBg:
|
|
2033
|
-
headerText:
|
|
2034
|
-
borderColor:
|
|
2042
|
+
headerBg: on(t) ?? an.headerBg,
|
|
2043
|
+
headerText: on(n) ?? an.headerText,
|
|
2044
|
+
borderColor: on(r) ?? an.borderColor
|
|
2035
2045
|
};
|
|
2036
2046
|
}
|
|
2037
|
-
function
|
|
2047
|
+
function cn(e) {
|
|
2038
2048
|
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);
|
|
2039
2049
|
}
|
|
2040
|
-
function
|
|
2050
|
+
function ln(e, t) {
|
|
2041
2051
|
e.height = 18, e.eachCell((e) => {
|
|
2042
2052
|
e.font = {
|
|
2043
2053
|
bold: !0,
|
|
@@ -2053,7 +2063,7 @@ function on(e, t) {
|
|
|
2053
2063
|
};
|
|
2054
2064
|
});
|
|
2055
2065
|
}
|
|
2056
|
-
function
|
|
2066
|
+
function un(e, t) {
|
|
2057
2067
|
e.eachRow((e) => {
|
|
2058
2068
|
e.eachCell((e) => {
|
|
2059
2069
|
e.border = {
|
|
@@ -2080,7 +2090,7 @@ function sn(e, t) {
|
|
|
2080
2090
|
});
|
|
2081
2091
|
});
|
|
2082
2092
|
}
|
|
2083
|
-
function
|
|
2093
|
+
function dn(e, t = []) {
|
|
2084
2094
|
e.columns?.forEach((e, n) => {
|
|
2085
2095
|
let r = t[n] ?? 10;
|
|
2086
2096
|
e.eachCell?.({ includeEmpty: !0 }, (e) => {
|
|
@@ -2089,15 +2099,15 @@ function cn(e, t = []) {
|
|
|
2089
2099
|
}), e.width = Math.min(Math.max(r + 2, t[n] ?? 10), 70);
|
|
2090
2100
|
});
|
|
2091
2101
|
}
|
|
2092
|
-
function
|
|
2102
|
+
function fn(e, t, n, r) {
|
|
2093
2103
|
let i = e.addWorksheet(t);
|
|
2094
2104
|
if (n.length === 0) {
|
|
2095
|
-
i.addRow(["No data available"]),
|
|
2105
|
+
i.addRow(["No data available"]), dn(i, [32]);
|
|
2096
2106
|
return;
|
|
2097
2107
|
}
|
|
2098
2108
|
let a = Object.keys(n[0]);
|
|
2099
|
-
|
|
2100
|
-
for (let e of n) i.addRow(a.map((t) =>
|
|
2109
|
+
ln(i.addRow(a), r);
|
|
2110
|
+
for (let e of n) i.addRow(a.map((t) => cn(e[t])));
|
|
2101
2111
|
i.views = [{
|
|
2102
2112
|
state: "frozen",
|
|
2103
2113
|
ySplit: 1
|
|
@@ -2110,58 +2120,58 @@ function ln(e, t, n, r) {
|
|
|
2110
2120
|
row: 1,
|
|
2111
2121
|
column: a.length
|
|
2112
2122
|
}
|
|
2113
|
-
},
|
|
2123
|
+
}, un(i, r), dn(i);
|
|
2114
2124
|
}
|
|
2115
|
-
function
|
|
2125
|
+
function pn(e) {
|
|
2116
2126
|
return e.replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").toLowerCase();
|
|
2117
2127
|
}
|
|
2118
|
-
function
|
|
2119
|
-
let n =
|
|
2128
|
+
function mn(e, t) {
|
|
2129
|
+
let n = pn(e), r = /* @__PURE__ */ new Date();
|
|
2120
2130
|
return `${n}-${`${r.getFullYear()}${String(r.getMonth() + 1).padStart(2, "0")}${String(r.getDate()).padStart(2, "0")}`}-${crypto.randomUUID().slice(0, 4).toUpperCase()}.${t}`;
|
|
2121
2131
|
}
|
|
2122
|
-
async function
|
|
2123
|
-
if (
|
|
2132
|
+
async function hn() {
|
|
2133
|
+
if (rn) return nn;
|
|
2124
2134
|
try {
|
|
2125
|
-
return
|
|
2135
|
+
return nn = await import("./exceljs.min-CIqBqwTW.js").then((t) => /* @__PURE__ */ e(t.default, 1)), rn = !0, nn;
|
|
2126
2136
|
} catch {
|
|
2127
|
-
return
|
|
2137
|
+
return rn = !0, nn = null, null;
|
|
2128
2138
|
}
|
|
2129
2139
|
}
|
|
2130
|
-
async function
|
|
2131
|
-
return typeof window > "u" ? !1 : await
|
|
2140
|
+
async function gn() {
|
|
2141
|
+
return typeof window > "u" ? !1 : await hn() !== null;
|
|
2132
2142
|
}
|
|
2133
|
-
function
|
|
2134
|
-
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ ||
|
|
2143
|
+
function _n(e) {
|
|
2144
|
+
typeof window > "u" || e?.enabled && (window.__drizzle_cube_xls_export_warning__ || hn().then((e) => {
|
|
2135
2145
|
!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);
|
|
2136
2146
|
}));
|
|
2137
2147
|
}
|
|
2138
|
-
function
|
|
2148
|
+
function vn(e) {
|
|
2139
2149
|
return !!e && typeof e == "object" && "nodes" in e && "links" in e && Array.isArray(e.nodes) && Array.isArray(e.links);
|
|
2140
2150
|
}
|
|
2141
|
-
function
|
|
2151
|
+
function yn(e) {
|
|
2142
2152
|
return !!e && typeof e == "object" && "rows" in e && "periods" in e && Array.isArray(e.rows) && Array.isArray(e.periods);
|
|
2143
2153
|
}
|
|
2144
|
-
function
|
|
2154
|
+
function bn(e, t) {
|
|
2145
2155
|
let n = new Blob([e], { type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" }), r = URL.createObjectURL(n), i = document.createElement("a");
|
|
2146
2156
|
i.href = r, i.download = t, document.body.appendChild(i), i.click(), document.body.removeChild(i), URL.revokeObjectURL(r);
|
|
2147
2157
|
}
|
|
2148
|
-
async function
|
|
2149
|
-
let n = await
|
|
2158
|
+
async function xn(e, t) {
|
|
2159
|
+
let n = await hn();
|
|
2150
2160
|
if (!n) return console.warn("[drizzle-cube] Cannot export: exceljs not available"), !1;
|
|
2151
2161
|
try {
|
|
2152
|
-
let r = new n.Workbook(), i =
|
|
2153
|
-
if (
|
|
2154
|
-
else if (
|
|
2155
|
-
else if (Array.isArray(a))
|
|
2162
|
+
let r = new n.Workbook(), i = sn(), { data: a } = t;
|
|
2163
|
+
if (vn(a)) fn(r, "Nodes", a.nodes, i), fn(r, "Links", a.links, i);
|
|
2164
|
+
else if (yn(a)) fn(r, e, a.rows, i);
|
|
2165
|
+
else if (Array.isArray(a)) fn(r, e, a, i);
|
|
2156
2166
|
else return console.warn("[drizzle-cube] Cannot export: unrecognized data format"), !1;
|
|
2157
|
-
return
|
|
2167
|
+
return bn(await r.xlsx.writeBuffer(), mn(e || "export", "xlsx")), !0;
|
|
2158
2168
|
} catch (e) {
|
|
2159
2169
|
return console.error("[drizzle-cube] Failed to export XLSX:", e), !1;
|
|
2160
2170
|
}
|
|
2161
2171
|
}
|
|
2162
2172
|
//#endregion
|
|
2163
2173
|
//#region src/client/providers/CubeFeaturesProvider.tsx
|
|
2164
|
-
var
|
|
2174
|
+
var Sn = me(null), Cn = {
|
|
2165
2175
|
enableAI: !0,
|
|
2166
2176
|
aiEndpoint: "/api/ai/generate",
|
|
2167
2177
|
showSchemaDiagram: !1,
|
|
@@ -2169,15 +2179,15 @@ var yn = me(null), bn = {
|
|
|
2169
2179
|
editToolbar: "both",
|
|
2170
2180
|
floatingToolbarPosition: "right"
|
|
2171
2181
|
};
|
|
2172
|
-
function
|
|
2182
|
+
function wn({ features: e, dashboardModes: t = ["rows", "grid"], children: n }) {
|
|
2173
2183
|
let [r, i] = w(() => ({
|
|
2174
|
-
...
|
|
2184
|
+
...Cn,
|
|
2175
2185
|
...e
|
|
2176
2186
|
}));
|
|
2177
2187
|
S(() => {
|
|
2178
|
-
|
|
2188
|
+
Yt(r.thumbnail);
|
|
2179
2189
|
}, [r.thumbnail]), S(() => {
|
|
2180
|
-
|
|
2190
|
+
_n(r.xlsExport);
|
|
2181
2191
|
}, [r.xlsExport]);
|
|
2182
2192
|
let a = ve((e) => {
|
|
2183
2193
|
i((t) => ({
|
|
@@ -2193,22 +2203,22 @@ function xn({ features: e, dashboardModes: t = ["rows", "grid"], children: n })
|
|
|
2193
2203
|
t,
|
|
2194
2204
|
a
|
|
2195
2205
|
]);
|
|
2196
|
-
return /* @__PURE__ */ T(
|
|
2206
|
+
return /* @__PURE__ */ T(Sn.Provider, {
|
|
2197
2207
|
value: o,
|
|
2198
2208
|
children: n
|
|
2199
2209
|
});
|
|
2200
2210
|
}
|
|
2201
|
-
var
|
|
2202
|
-
features:
|
|
2211
|
+
var Tn = {
|
|
2212
|
+
features: Cn,
|
|
2203
2213
|
dashboardModes: ["rows", "grid"],
|
|
2204
2214
|
updateFeatures: () => {}
|
|
2205
2215
|
};
|
|
2206
|
-
function
|
|
2207
|
-
return ye(
|
|
2216
|
+
function En() {
|
|
2217
|
+
return ye(Sn) ?? Tn;
|
|
2208
2218
|
}
|
|
2209
2219
|
//#endregion
|
|
2210
2220
|
//#region node_modules/@iconify/react/dist/iconify.js
|
|
2211
|
-
function
|
|
2221
|
+
function Dn(e, t) {
|
|
2212
2222
|
let n = e.icons, r = e.aliases || Object.create(null), i = Object.create(null);
|
|
2213
2223
|
function a(e) {
|
|
2214
2224
|
if (n[e]) return i[e] = [];
|
|
@@ -2221,82 +2231,82 @@ function wn(e, t) {
|
|
|
2221
2231
|
}
|
|
2222
2232
|
return Object.keys(n).concat(Object.keys(r)).forEach(a), i;
|
|
2223
2233
|
}
|
|
2224
|
-
var
|
|
2234
|
+
var On = Object.freeze({
|
|
2225
2235
|
left: 0,
|
|
2226
2236
|
top: 0,
|
|
2227
2237
|
width: 16,
|
|
2228
2238
|
height: 16
|
|
2229
|
-
}),
|
|
2239
|
+
}), kn = Object.freeze({
|
|
2230
2240
|
rotate: 0,
|
|
2231
2241
|
vFlip: !1,
|
|
2232
2242
|
hFlip: !1
|
|
2233
|
-
}),
|
|
2234
|
-
...
|
|
2235
|
-
...
|
|
2236
|
-
}),
|
|
2237
|
-
...
|
|
2243
|
+
}), An = Object.freeze({
|
|
2244
|
+
...On,
|
|
2245
|
+
...kn
|
|
2246
|
+
}), jn = Object.freeze({
|
|
2247
|
+
...An,
|
|
2238
2248
|
body: "",
|
|
2239
2249
|
hidden: !1
|
|
2240
2250
|
});
|
|
2241
|
-
function
|
|
2251
|
+
function Mn(e, t) {
|
|
2242
2252
|
let n = {};
|
|
2243
2253
|
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
|
|
2244
2254
|
let r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
|
|
2245
2255
|
return r && (n.rotate = r), n;
|
|
2246
2256
|
}
|
|
2247
|
-
function
|
|
2248
|
-
let n =
|
|
2249
|
-
for (let r in
|
|
2257
|
+
function Nn(e, t) {
|
|
2258
|
+
let n = Mn(e, t);
|
|
2259
|
+
for (let r in jn) r in kn ? r in e && !(r in n) && (n[r] = kn[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
|
|
2250
2260
|
return n;
|
|
2251
2261
|
}
|
|
2252
|
-
function
|
|
2262
|
+
function Pn(e, t, n) {
|
|
2253
2263
|
let r = e.icons, i = e.aliases || Object.create(null), a = {};
|
|
2254
2264
|
function o(e) {
|
|
2255
|
-
a =
|
|
2265
|
+
a = Nn(r[e] || i[e], a);
|
|
2256
2266
|
}
|
|
2257
|
-
return o(t), n.forEach(o),
|
|
2267
|
+
return o(t), n.forEach(o), Nn(e, a);
|
|
2258
2268
|
}
|
|
2259
|
-
function
|
|
2269
|
+
function Fn(e, t) {
|
|
2260
2270
|
let n = [];
|
|
2261
2271
|
if (typeof e != "object" || typeof e.icons != "object") return n;
|
|
2262
2272
|
e.not_found instanceof Array && e.not_found.forEach((e) => {
|
|
2263
2273
|
t(e, null), n.push(e);
|
|
2264
2274
|
});
|
|
2265
|
-
let r =
|
|
2275
|
+
let r = Dn(e);
|
|
2266
2276
|
for (let i in r) {
|
|
2267
2277
|
let a = r[i];
|
|
2268
|
-
a && (t(i,
|
|
2278
|
+
a && (t(i, Pn(e, i, a)), n.push(i));
|
|
2269
2279
|
}
|
|
2270
2280
|
return n;
|
|
2271
2281
|
}
|
|
2272
|
-
var
|
|
2282
|
+
var In = {
|
|
2273
2283
|
provider: "",
|
|
2274
2284
|
aliases: {},
|
|
2275
2285
|
not_found: {},
|
|
2276
|
-
...
|
|
2286
|
+
...On
|
|
2277
2287
|
};
|
|
2278
|
-
function
|
|
2288
|
+
function Ln(e, t) {
|
|
2279
2289
|
for (let n in t) if (n in e && typeof e[n] != typeof t[n]) return !1;
|
|
2280
2290
|
return !0;
|
|
2281
2291
|
}
|
|
2282
|
-
function
|
|
2292
|
+
function Rn(e) {
|
|
2283
2293
|
if (typeof e != "object" || !e) return null;
|
|
2284
2294
|
let t = e;
|
|
2285
|
-
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !
|
|
2295
|
+
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !Ln(e, In)) return null;
|
|
2286
2296
|
let n = t.icons;
|
|
2287
2297
|
for (let e in n) {
|
|
2288
2298
|
let t = n[e];
|
|
2289
|
-
if (!e || typeof t.body != "string" || !
|
|
2299
|
+
if (!e || typeof t.body != "string" || !Ln(t, jn)) return null;
|
|
2290
2300
|
}
|
|
2291
2301
|
let r = t.aliases || Object.create(null);
|
|
2292
2302
|
for (let e in r) {
|
|
2293
2303
|
let t = r[e], i = t.parent;
|
|
2294
|
-
if (!e || typeof i != "string" || !n[i] && !r[i] || !
|
|
2304
|
+
if (!e || typeof i != "string" || !n[i] && !r[i] || !Ln(t, jn)) return null;
|
|
2295
2305
|
}
|
|
2296
2306
|
return t;
|
|
2297
2307
|
}
|
|
2298
|
-
var
|
|
2299
|
-
function
|
|
2308
|
+
var zn = Object.create(null);
|
|
2309
|
+
function Bn(e, t) {
|
|
2300
2310
|
return {
|
|
2301
2311
|
provider: e,
|
|
2302
2312
|
prefix: t,
|
|
@@ -2304,22 +2314,22 @@ function Ln(e, t) {
|
|
|
2304
2314
|
missing: /* @__PURE__ */ new Set()
|
|
2305
2315
|
};
|
|
2306
2316
|
}
|
|
2307
|
-
function
|
|
2308
|
-
let n =
|
|
2309
|
-
return n[t] || (n[t] =
|
|
2317
|
+
function R(e, t) {
|
|
2318
|
+
let n = zn[e] || (zn[e] = Object.create(null));
|
|
2319
|
+
return n[t] || (n[t] = Bn(e, t));
|
|
2310
2320
|
}
|
|
2311
|
-
function
|
|
2312
|
-
return
|
|
2321
|
+
function Vn(e, t) {
|
|
2322
|
+
return Rn(t) ? Fn(t, (t, n) => {
|
|
2313
2323
|
n ? e.icons[t] = n : e.missing.add(t);
|
|
2314
2324
|
}) : [];
|
|
2315
2325
|
}
|
|
2316
|
-
function
|
|
2326
|
+
function Hn(e, t, n) {
|
|
2317
2327
|
try {
|
|
2318
2328
|
if (typeof n.body == "string") return e.icons[t] = { ...n }, !0;
|
|
2319
2329
|
} catch {}
|
|
2320
2330
|
return !1;
|
|
2321
2331
|
}
|
|
2322
|
-
var
|
|
2332
|
+
var Un = /^[a-z0-9]+(-[a-z0-9]+)*$/, Wn = (e, t, n, r = "") => {
|
|
2323
2333
|
let i = e.split(":");
|
|
2324
2334
|
if (e.slice(0, 1) === "@") {
|
|
2325
2335
|
if (i.length < 2 || i.length > 3) return null;
|
|
@@ -2332,7 +2342,7 @@ var Bn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vn = (e, t, n, r = "") => {
|
|
|
2332
2342
|
prefix: n,
|
|
2333
2343
|
name: e
|
|
2334
2344
|
};
|
|
2335
|
-
return t && !
|
|
2345
|
+
return t && !z(a) ? null : a;
|
|
2336
2346
|
}
|
|
2337
2347
|
let a = i[0], o = a.split("-");
|
|
2338
2348
|
if (o.length > 1) {
|
|
@@ -2341,7 +2351,7 @@ var Bn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vn = (e, t, n, r = "") => {
|
|
|
2341
2351
|
prefix: o.shift(),
|
|
2342
2352
|
name: o.join("-")
|
|
2343
2353
|
};
|
|
2344
|
-
return t && !
|
|
2354
|
+
return t && !z(e) ? null : e;
|
|
2345
2355
|
}
|
|
2346
2356
|
if (n && r === "") {
|
|
2347
2357
|
let e = {
|
|
@@ -2349,54 +2359,54 @@ var Bn = /^[a-z0-9]+(-[a-z0-9]+)*$/, Vn = (e, t, n, r = "") => {
|
|
|
2349
2359
|
prefix: "",
|
|
2350
2360
|
name: a
|
|
2351
2361
|
};
|
|
2352
|
-
return t && !
|
|
2362
|
+
return t && !z(e, n) ? null : e;
|
|
2353
2363
|
}
|
|
2354
2364
|
return null;
|
|
2355
|
-
},
|
|
2356
|
-
function
|
|
2357
|
-
return typeof e == "boolean" && (
|
|
2365
|
+
}, z = (e, t) => e ? !!((t && e.prefix === "" || e.prefix) && e.name) : !1, B = !1;
|
|
2366
|
+
function Gn(e) {
|
|
2367
|
+
return typeof e == "boolean" && (B = e), B;
|
|
2358
2368
|
}
|
|
2359
|
-
function
|
|
2360
|
-
let t = typeof e == "string" ?
|
|
2369
|
+
function Kn(e) {
|
|
2370
|
+
let t = typeof e == "string" ? Wn(e, !0, B) : e;
|
|
2361
2371
|
if (t) {
|
|
2362
|
-
let e =
|
|
2372
|
+
let e = R(t.provider, t.prefix), n = t.name;
|
|
2363
2373
|
return e.icons[n] || (e.missing.has(n) ? null : void 0);
|
|
2364
2374
|
}
|
|
2365
2375
|
}
|
|
2366
|
-
function
|
|
2367
|
-
let n =
|
|
2376
|
+
function qn(e, t) {
|
|
2377
|
+
let n = Wn(e, !0, B);
|
|
2368
2378
|
if (!n) return !1;
|
|
2369
|
-
let r =
|
|
2370
|
-
return t ?
|
|
2379
|
+
let r = R(n.provider, n.prefix);
|
|
2380
|
+
return t ? Hn(r, n.name, t) : (r.missing.add(n.name), !0);
|
|
2371
2381
|
}
|
|
2372
|
-
function
|
|
2382
|
+
function Jn(e, t) {
|
|
2373
2383
|
if (typeof e != "object") return !1;
|
|
2374
|
-
if (typeof t != "string" && (t = e.provider || ""),
|
|
2384
|
+
if (typeof t != "string" && (t = e.provider || ""), B && !t && !e.prefix) {
|
|
2375
2385
|
let t = !1;
|
|
2376
|
-
return
|
|
2377
|
-
|
|
2386
|
+
return Rn(e) && (e.prefix = "", Fn(e, (e, n) => {
|
|
2387
|
+
qn(e, n) && (t = !0);
|
|
2378
2388
|
})), t;
|
|
2379
2389
|
}
|
|
2380
2390
|
let n = e.prefix;
|
|
2381
|
-
return
|
|
2391
|
+
return z({
|
|
2382
2392
|
prefix: n,
|
|
2383
2393
|
name: "a"
|
|
2384
|
-
}) ? !!
|
|
2394
|
+
}) ? !!Vn(R(t, n), e) : !1;
|
|
2385
2395
|
}
|
|
2386
|
-
var
|
|
2396
|
+
var Yn = Object.freeze({
|
|
2387
2397
|
width: null,
|
|
2388
2398
|
height: null
|
|
2389
|
-
}),
|
|
2390
|
-
...
|
|
2391
|
-
...
|
|
2392
|
-
}),
|
|
2393
|
-
function
|
|
2399
|
+
}), Xn = Object.freeze({
|
|
2400
|
+
...Yn,
|
|
2401
|
+
...kn
|
|
2402
|
+
}), Zn = /(-?[0-9.]*[0-9]+[0-9.]*)/g, Qn = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
2403
|
+
function $n(e, t, n) {
|
|
2394
2404
|
if (t === 1) return e;
|
|
2395
2405
|
if (n ||= 100, typeof e == "number") return Math.ceil(e * t * n) / n;
|
|
2396
2406
|
if (typeof e != "string") return e;
|
|
2397
|
-
let r = e.split(
|
|
2407
|
+
let r = e.split(Zn);
|
|
2398
2408
|
if (r === null || !r.length) return e;
|
|
2399
|
-
let i = [], a = r.shift(), o =
|
|
2409
|
+
let i = [], a = r.shift(), o = Qn.test(a);
|
|
2400
2410
|
for (;;) {
|
|
2401
2411
|
if (o) {
|
|
2402
2412
|
let e = parseFloat(a);
|
|
@@ -2406,7 +2416,7 @@ function Zn(e, t, n) {
|
|
|
2406
2416
|
o = !o;
|
|
2407
2417
|
}
|
|
2408
2418
|
}
|
|
2409
|
-
function
|
|
2419
|
+
function er(e, t = "defs") {
|
|
2410
2420
|
let n = "", r = e.indexOf("<" + t);
|
|
2411
2421
|
for (; r >= 0;) {
|
|
2412
2422
|
let i = e.indexOf(">", r), a = e.indexOf("</" + t);
|
|
@@ -2420,20 +2430,20 @@ function Qn(e, t = "defs") {
|
|
|
2420
2430
|
content: e
|
|
2421
2431
|
};
|
|
2422
2432
|
}
|
|
2423
|
-
function
|
|
2433
|
+
function tr(e, t) {
|
|
2424
2434
|
return e ? "<defs>" + e + "</defs>" + t : t;
|
|
2425
2435
|
}
|
|
2426
|
-
function
|
|
2427
|
-
let r =
|
|
2428
|
-
return
|
|
2436
|
+
function nr(e, t, n) {
|
|
2437
|
+
let r = er(e);
|
|
2438
|
+
return tr(r.defs, t + r.content + n);
|
|
2429
2439
|
}
|
|
2430
|
-
var
|
|
2431
|
-
function
|
|
2440
|
+
var rr = (e) => e === "unset" || e === "undefined" || e === "none";
|
|
2441
|
+
function ir(e, t) {
|
|
2432
2442
|
let n = {
|
|
2433
|
-
...
|
|
2443
|
+
...An,
|
|
2434
2444
|
...e
|
|
2435
2445
|
}, r = {
|
|
2436
|
-
...
|
|
2446
|
+
...Xn,
|
|
2437
2447
|
...t
|
|
2438
2448
|
}, i = {
|
|
2439
2449
|
left: n.left,
|
|
@@ -2456,12 +2466,12 @@ function nr(e, t) {
|
|
|
2456
2466
|
s = i.width / 2 + i.left, t.unshift("rotate(-90 " + s.toString() + " " + s.toString() + ")");
|
|
2457
2467
|
break;
|
|
2458
2468
|
}
|
|
2459
|
-
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 =
|
|
2469
|
+
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 = nr(a, "<g transform=\"" + t.join(" ") + "\">", "</g>"));
|
|
2460
2470
|
});
|
|
2461
2471
|
let o = r.width, s = r.height, c = i.width, l = i.height, u, d;
|
|
2462
|
-
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u =
|
|
2472
|
+
o === null ? (d = s === null ? "1em" : s === "auto" ? l : s, u = $n(d, c / l)) : (u = o === "auto" ? c : o, d = s === null ? $n(u, l / c) : s === "auto" ? l : s);
|
|
2463
2473
|
let f = {}, p = (e, t) => {
|
|
2464
|
-
|
|
2474
|
+
rr(t) || (f[e] = t.toString());
|
|
2465
2475
|
};
|
|
2466
2476
|
p("width", u), p("height", d);
|
|
2467
2477
|
let m = [
|
|
@@ -2476,25 +2486,25 @@ function nr(e, t) {
|
|
|
2476
2486
|
body: a
|
|
2477
2487
|
};
|
|
2478
2488
|
}
|
|
2479
|
-
var
|
|
2480
|
-
function
|
|
2489
|
+
var ar = /\sid="(\S+)"/g, or = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16), sr = 0;
|
|
2490
|
+
function cr(e, t = or) {
|
|
2481
2491
|
let n = [], r;
|
|
2482
|
-
for (; r =
|
|
2492
|
+
for (; r = ar.exec(e);) n.push(r[1]);
|
|
2483
2493
|
if (!n.length) return e;
|
|
2484
2494
|
let i = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
|
|
2485
2495
|
return n.forEach((n) => {
|
|
2486
|
-
let r = typeof t == "function" ? t(n) : t + (
|
|
2496
|
+
let r = typeof t == "function" ? t(n) : t + (sr++).toString(), a = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
2487
2497
|
e = e.replace(RegExp("([#;\"])(" + a + ")([\")]|\\.[a-z])", "g"), "$1" + r + i + "$3");
|
|
2488
2498
|
}), e = e.replace(new RegExp(i, "g"), ""), e;
|
|
2489
2499
|
}
|
|
2490
|
-
var
|
|
2491
|
-
function
|
|
2492
|
-
|
|
2500
|
+
var lr = Object.create(null);
|
|
2501
|
+
function ur(e, t) {
|
|
2502
|
+
lr[e] = t;
|
|
2493
2503
|
}
|
|
2494
|
-
function
|
|
2495
|
-
return
|
|
2504
|
+
function dr(e) {
|
|
2505
|
+
return lr[e] || lr[""];
|
|
2496
2506
|
}
|
|
2497
|
-
function
|
|
2507
|
+
function fr(e) {
|
|
2498
2508
|
let t;
|
|
2499
2509
|
if (typeof e.resources == "string") t = [e.resources];
|
|
2500
2510
|
else if (t = e.resources, !(t instanceof Array) || !t.length) return null;
|
|
@@ -2509,23 +2519,23 @@ function ur(e) {
|
|
|
2509
2519
|
dataAfterTimeout: e.dataAfterTimeout !== !1
|
|
2510
2520
|
};
|
|
2511
2521
|
}
|
|
2512
|
-
for (var
|
|
2513
|
-
|
|
2514
|
-
function
|
|
2515
|
-
let n =
|
|
2516
|
-
return n === null ? !1 : (
|
|
2522
|
+
for (var pr = Object.create(null), V = ["https://api.simplesvg.com", "https://api.unisvg.com"], mr = []; V.length > 0;) mr.push(V.length === 1 || Math.random() > .5 ? V.shift() : V.pop());
|
|
2523
|
+
pr[""] = fr({ resources: ["https://api.iconify.design"].concat(mr) });
|
|
2524
|
+
function hr(e, t) {
|
|
2525
|
+
let n = fr(t);
|
|
2526
|
+
return n === null ? !1 : (pr[e] = n, !0);
|
|
2517
2527
|
}
|
|
2518
|
-
function
|
|
2519
|
-
return
|
|
2528
|
+
function gr(e) {
|
|
2529
|
+
return pr[e];
|
|
2520
2530
|
}
|
|
2521
|
-
var
|
|
2531
|
+
var _r = (() => {
|
|
2522
2532
|
let e;
|
|
2523
2533
|
try {
|
|
2524
2534
|
if (e = fetch, typeof e == "function") return e;
|
|
2525
2535
|
} catch {}
|
|
2526
2536
|
})();
|
|
2527
|
-
function
|
|
2528
|
-
let n =
|
|
2537
|
+
function vr(e, t) {
|
|
2538
|
+
let n = gr(e);
|
|
2529
2539
|
if (!n) return 0;
|
|
2530
2540
|
let r;
|
|
2531
2541
|
if (!n.maxURL) r = 0;
|
|
@@ -2539,11 +2549,11 @@ function _r(e, t) {
|
|
|
2539
2549
|
}
|
|
2540
2550
|
return r;
|
|
2541
2551
|
}
|
|
2542
|
-
function
|
|
2552
|
+
function yr(e) {
|
|
2543
2553
|
return e === 404;
|
|
2544
2554
|
}
|
|
2545
|
-
var
|
|
2546
|
-
let r = [], i =
|
|
2555
|
+
var br = (e, t, n) => {
|
|
2556
|
+
let r = [], i = vr(e, t), a = "icons", o = {
|
|
2547
2557
|
type: a,
|
|
2548
2558
|
provider: e,
|
|
2549
2559
|
prefix: t,
|
|
@@ -2558,21 +2568,21 @@ var yr = (e, t, n) => {
|
|
|
2558
2568
|
}, s = n.length), o.icons.push(n);
|
|
2559
2569
|
}), r.push(o), r;
|
|
2560
2570
|
};
|
|
2561
|
-
function
|
|
2571
|
+
function xr(e) {
|
|
2562
2572
|
if (typeof e == "string") {
|
|
2563
|
-
let t =
|
|
2573
|
+
let t = gr(e);
|
|
2564
2574
|
if (t) return t.path;
|
|
2565
2575
|
}
|
|
2566
2576
|
return "/";
|
|
2567
2577
|
}
|
|
2568
|
-
var
|
|
2569
|
-
prepare:
|
|
2578
|
+
var Sr = {
|
|
2579
|
+
prepare: br,
|
|
2570
2580
|
send: (e, t, n) => {
|
|
2571
|
-
if (!
|
|
2581
|
+
if (!_r) {
|
|
2572
2582
|
n("abort", 424);
|
|
2573
2583
|
return;
|
|
2574
2584
|
}
|
|
2575
|
-
let r =
|
|
2585
|
+
let r = xr(t.provider);
|
|
2576
2586
|
switch (t.type) {
|
|
2577
2587
|
case "icons": {
|
|
2578
2588
|
let e = t.prefix, n = t.icons.join(","), i = new URLSearchParams({ icons: n });
|
|
@@ -2589,11 +2599,11 @@ var xr = {
|
|
|
2589
2599
|
return;
|
|
2590
2600
|
}
|
|
2591
2601
|
let i = 503;
|
|
2592
|
-
|
|
2602
|
+
_r(e + r).then((e) => {
|
|
2593
2603
|
let t = e.status;
|
|
2594
2604
|
if (t !== 200) {
|
|
2595
2605
|
setTimeout(() => {
|
|
2596
|
-
n(
|
|
2606
|
+
n(yr(t) ? "abort" : "next", t);
|
|
2597
2607
|
});
|
|
2598
2608
|
return;
|
|
2599
2609
|
}
|
|
@@ -2613,13 +2623,13 @@ var xr = {
|
|
|
2613
2623
|
});
|
|
2614
2624
|
}
|
|
2615
2625
|
};
|
|
2616
|
-
function
|
|
2626
|
+
function Cr(e, t) {
|
|
2617
2627
|
e.forEach((e) => {
|
|
2618
2628
|
let n = e.loaderCallbacks;
|
|
2619
2629
|
n && (e.loaderCallbacks = n.filter((e) => e.id !== t));
|
|
2620
2630
|
});
|
|
2621
2631
|
}
|
|
2622
|
-
function
|
|
2632
|
+
function wr(e) {
|
|
2623
2633
|
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
2624
2634
|
e.pendingCallbacksFlag = !1;
|
|
2625
2635
|
let t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
|
|
@@ -2642,13 +2652,13 @@ function Cr(e) {
|
|
|
2642
2652
|
});
|
|
2643
2653
|
else return n = !0, !0;
|
|
2644
2654
|
return !1;
|
|
2645
|
-
}), a.pending.length !== o && (n ||
|
|
2655
|
+
}), a.pending.length !== o && (n || Cr([e], t.id), t.callback(a.loaded.slice(0), a.missing.slice(0), a.pending.slice(0), t.abort));
|
|
2646
2656
|
});
|
|
2647
2657
|
}));
|
|
2648
2658
|
}
|
|
2649
|
-
var
|
|
2650
|
-
function
|
|
2651
|
-
let r =
|
|
2659
|
+
var Tr = 0;
|
|
2660
|
+
function Er(e, t, n) {
|
|
2661
|
+
let r = Tr++, i = Cr.bind(null, n, r);
|
|
2652
2662
|
if (!t.pending.length) return i;
|
|
2653
2663
|
let a = {
|
|
2654
2664
|
id: r,
|
|
@@ -2660,7 +2670,7 @@ function Tr(e, t, n) {
|
|
|
2660
2670
|
(e.loaderCallbacks ||= []).push(a);
|
|
2661
2671
|
}), i;
|
|
2662
2672
|
}
|
|
2663
|
-
function
|
|
2673
|
+
function Dr(e) {
|
|
2664
2674
|
let t = {
|
|
2665
2675
|
loaded: [],
|
|
2666
2676
|
missing: [],
|
|
@@ -2675,7 +2685,7 @@ function Er(e) {
|
|
|
2675
2685
|
return e.forEach((e) => {
|
|
2676
2686
|
if (r.name === e.name && r.prefix === e.prefix && r.provider === e.provider) return;
|
|
2677
2687
|
r = e;
|
|
2678
|
-
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] =
|
|
2688
|
+
let i = e.provider, a = e.prefix, o = e.name, s = n[i] || (n[i] = Object.create(null)), c = s[a] || (s[a] = R(i, a)), l;
|
|
2679
2689
|
l = o in c.icons ? t.loaded : a === "" || c.missing.has(o) ? t.missing : t.pending, l.push({
|
|
2680
2690
|
provider: i,
|
|
2681
2691
|
prefix: a,
|
|
@@ -2683,14 +2693,14 @@ function Er(e) {
|
|
|
2683
2693
|
});
|
|
2684
2694
|
}), t;
|
|
2685
2695
|
}
|
|
2686
|
-
function
|
|
2696
|
+
function Or(e, t = !0, n = !1) {
|
|
2687
2697
|
let r = [];
|
|
2688
2698
|
return e.forEach((e) => {
|
|
2689
|
-
let i = typeof e == "string" ?
|
|
2699
|
+
let i = typeof e == "string" ? Wn(e, t, n) : e;
|
|
2690
2700
|
i && r.push(i);
|
|
2691
2701
|
}), r;
|
|
2692
2702
|
}
|
|
2693
|
-
var
|
|
2703
|
+
var kr = {
|
|
2694
2704
|
resources: [],
|
|
2695
2705
|
index: 0,
|
|
2696
2706
|
timeout: 2e3,
|
|
@@ -2698,7 +2708,7 @@ var Or = {
|
|
|
2698
2708
|
random: !1,
|
|
2699
2709
|
dataAfterTimeout: !1
|
|
2700
2710
|
};
|
|
2701
|
-
function
|
|
2711
|
+
function Ar(e, t, n, r) {
|
|
2702
2712
|
let i = e.random ? Math.floor(Math.random() * e.resources.length) : e.index, a;
|
|
2703
2713
|
if (e.random) {
|
|
2704
2714
|
let t = e.resources.slice(0);
|
|
@@ -2792,16 +2802,16 @@ function kr(e, t, n, r) {
|
|
|
2792
2802
|
}
|
|
2793
2803
|
return setTimeout(y), g;
|
|
2794
2804
|
}
|
|
2795
|
-
function
|
|
2805
|
+
function jr(e) {
|
|
2796
2806
|
let t = {
|
|
2797
|
-
...
|
|
2807
|
+
...kr,
|
|
2798
2808
|
...e
|
|
2799
2809
|
}, n = [];
|
|
2800
2810
|
function r() {
|
|
2801
2811
|
n = n.filter((e) => e().status === "pending");
|
|
2802
2812
|
}
|
|
2803
2813
|
function i(e, i, a) {
|
|
2804
|
-
let o =
|
|
2814
|
+
let o = Ar(t, e, i, (e, t) => {
|
|
2805
2815
|
r(), a && a(e, t);
|
|
2806
2816
|
});
|
|
2807
2817
|
return n.push(o), o;
|
|
@@ -2819,53 +2829,53 @@ function Ar(e) {
|
|
|
2819
2829
|
cleanup: r
|
|
2820
2830
|
};
|
|
2821
2831
|
}
|
|
2822
|
-
function
|
|
2823
|
-
var
|
|
2824
|
-
function
|
|
2825
|
-
if (!
|
|
2826
|
-
let t =
|
|
2832
|
+
function Mr() {}
|
|
2833
|
+
var Nr = Object.create(null);
|
|
2834
|
+
function Pr(e) {
|
|
2835
|
+
if (!Nr[e]) {
|
|
2836
|
+
let t = gr(e);
|
|
2827
2837
|
if (!t) return;
|
|
2828
|
-
|
|
2838
|
+
Nr[e] = {
|
|
2829
2839
|
config: t,
|
|
2830
|
-
redundancy:
|
|
2840
|
+
redundancy: jr(t)
|
|
2831
2841
|
};
|
|
2832
2842
|
}
|
|
2833
|
-
return
|
|
2843
|
+
return Nr[e];
|
|
2834
2844
|
}
|
|
2835
|
-
function
|
|
2845
|
+
function Fr(e, t, n) {
|
|
2836
2846
|
let r, i;
|
|
2837
2847
|
if (typeof e == "string") {
|
|
2838
|
-
let t =
|
|
2839
|
-
if (!t) return n(void 0, 424),
|
|
2848
|
+
let t = dr(e);
|
|
2849
|
+
if (!t) return n(void 0, 424), Mr;
|
|
2840
2850
|
i = t.send;
|
|
2841
|
-
let a =
|
|
2851
|
+
let a = Pr(e);
|
|
2842
2852
|
a && (r = a.redundancy);
|
|
2843
2853
|
} else {
|
|
2844
|
-
let t =
|
|
2854
|
+
let t = fr(e);
|
|
2845
2855
|
if (t) {
|
|
2846
|
-
r =
|
|
2847
|
-
let n =
|
|
2856
|
+
r = jr(t);
|
|
2857
|
+
let n = dr(e.resources ? e.resources[0] : "");
|
|
2848
2858
|
n && (i = n.send);
|
|
2849
2859
|
}
|
|
2850
2860
|
}
|
|
2851
|
-
return !r || !i ? (n(void 0, 424),
|
|
2861
|
+
return !r || !i ? (n(void 0, 424), Mr) : r.query(t, i, n)().abort;
|
|
2852
2862
|
}
|
|
2853
|
-
function
|
|
2854
|
-
function
|
|
2863
|
+
function Ir() {}
|
|
2864
|
+
function Lr(e) {
|
|
2855
2865
|
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
|
|
2856
|
-
e.iconsLoaderFlag = !1,
|
|
2866
|
+
e.iconsLoaderFlag = !1, wr(e);
|
|
2857
2867
|
}));
|
|
2858
2868
|
}
|
|
2859
|
-
function
|
|
2869
|
+
function Rr(e) {
|
|
2860
2870
|
let t = [], n = [];
|
|
2861
2871
|
return e.forEach((e) => {
|
|
2862
|
-
(e.match(
|
|
2872
|
+
(e.match(Un) ? t : n).push(e);
|
|
2863
2873
|
}), {
|
|
2864
2874
|
valid: t,
|
|
2865
2875
|
invalid: n
|
|
2866
2876
|
};
|
|
2867
2877
|
}
|
|
2868
|
-
function
|
|
2878
|
+
function H(e, t, n) {
|
|
2869
2879
|
function r() {
|
|
2870
2880
|
let n = e.pendingIcons;
|
|
2871
2881
|
t.forEach((t) => {
|
|
@@ -2873,38 +2883,38 @@ function U(e, t, n) {
|
|
|
2873
2883
|
});
|
|
2874
2884
|
}
|
|
2875
2885
|
if (n && typeof n == "object") try {
|
|
2876
|
-
if (!
|
|
2886
|
+
if (!Vn(e, n).length) {
|
|
2877
2887
|
r();
|
|
2878
2888
|
return;
|
|
2879
2889
|
}
|
|
2880
2890
|
} catch (e) {
|
|
2881
2891
|
console.error(e);
|
|
2882
2892
|
}
|
|
2883
|
-
r(),
|
|
2893
|
+
r(), Lr(e);
|
|
2884
2894
|
}
|
|
2885
|
-
function
|
|
2895
|
+
function zr(e, t) {
|
|
2886
2896
|
e instanceof Promise ? e.then((e) => {
|
|
2887
2897
|
t(e);
|
|
2888
2898
|
}).catch(() => {
|
|
2889
2899
|
t(null);
|
|
2890
2900
|
}) : t(e);
|
|
2891
2901
|
}
|
|
2892
|
-
function
|
|
2902
|
+
function Br(e, t) {
|
|
2893
2903
|
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
|
|
2894
2904
|
e.iconsQueueFlag = !1;
|
|
2895
2905
|
let { provider: t, prefix: n } = e, r = e.iconsToLoad;
|
|
2896
2906
|
if (delete e.iconsToLoad, !r || !r.length) return;
|
|
2897
2907
|
let i = e.loadIcon;
|
|
2898
2908
|
if (e.loadIcons && (r.length > 1 || !i)) {
|
|
2899
|
-
|
|
2900
|
-
|
|
2909
|
+
zr(e.loadIcons(r, n, t), (t) => {
|
|
2910
|
+
H(e, r, t);
|
|
2901
2911
|
});
|
|
2902
2912
|
return;
|
|
2903
2913
|
}
|
|
2904
2914
|
if (i) {
|
|
2905
2915
|
r.forEach((r) => {
|
|
2906
|
-
|
|
2907
|
-
|
|
2916
|
+
zr(i(r, n, t), (t) => {
|
|
2917
|
+
H(e, [r], t ? {
|
|
2908
2918
|
prefix: n,
|
|
2909
2919
|
icons: { [r]: t }
|
|
2910
2920
|
} : null);
|
|
@@ -2912,26 +2922,26 @@ function zr(e, t) {
|
|
|
2912
2922
|
});
|
|
2913
2923
|
return;
|
|
2914
2924
|
}
|
|
2915
|
-
let { valid: a, invalid: o } =
|
|
2916
|
-
if (o.length &&
|
|
2917
|
-
let s = n.match(
|
|
2925
|
+
let { valid: a, invalid: o } = Rr(r);
|
|
2926
|
+
if (o.length && H(e, o, null), !a.length) return;
|
|
2927
|
+
let s = n.match(Un) ? dr(t) : null;
|
|
2918
2928
|
if (!s) {
|
|
2919
|
-
|
|
2929
|
+
H(e, a, null);
|
|
2920
2930
|
return;
|
|
2921
2931
|
}
|
|
2922
2932
|
s.prepare(t, n, a).forEach((n) => {
|
|
2923
|
-
|
|
2924
|
-
|
|
2933
|
+
Fr(t, n, (t) => {
|
|
2934
|
+
H(e, n.icons, t);
|
|
2925
2935
|
});
|
|
2926
2936
|
});
|
|
2927
2937
|
}));
|
|
2928
2938
|
}
|
|
2929
|
-
var
|
|
2930
|
-
let n =
|
|
2939
|
+
var Vr = (e, t) => {
|
|
2940
|
+
let n = Dr(Or(e, !0, Gn()));
|
|
2931
2941
|
if (!n.pending.length) {
|
|
2932
2942
|
let e = !0;
|
|
2933
2943
|
return t && setTimeout(() => {
|
|
2934
|
-
e && t(n.loaded, n.missing, n.pending,
|
|
2944
|
+
e && t(n.loaded, n.missing, n.pending, Ir);
|
|
2935
2945
|
}), () => {
|
|
2936
2946
|
e = !1;
|
|
2937
2947
|
};
|
|
@@ -2940,28 +2950,28 @@ var Br = (e, t) => {
|
|
|
2940
2950
|
return n.pending.forEach((e) => {
|
|
2941
2951
|
let { provider: t, prefix: n } = e;
|
|
2942
2952
|
if (n === o && t === a) return;
|
|
2943
|
-
a = t, o = n, i.push(
|
|
2953
|
+
a = t, o = n, i.push(R(t, n));
|
|
2944
2954
|
let s = r[t] || (r[t] = Object.create(null));
|
|
2945
2955
|
s[n] || (s[n] = []);
|
|
2946
2956
|
}), n.pending.forEach((e) => {
|
|
2947
|
-
let { provider: t, prefix: n, name: i } = e, a =
|
|
2957
|
+
let { provider: t, prefix: n, name: i } = e, a = R(t, n), o = a.pendingIcons ||= /* @__PURE__ */ new Set();
|
|
2948
2958
|
o.has(i) || (o.add(i), r[t][n].push(i));
|
|
2949
2959
|
}), i.forEach((e) => {
|
|
2950
2960
|
let t = r[e.provider][e.prefix];
|
|
2951
|
-
t.length &&
|
|
2952
|
-
}), t ?
|
|
2961
|
+
t.length && Br(e, t);
|
|
2962
|
+
}), t ? Er(t, n, i) : Ir;
|
|
2953
2963
|
};
|
|
2954
|
-
function
|
|
2964
|
+
function Hr(e, t) {
|
|
2955
2965
|
let n = { ...e };
|
|
2956
2966
|
for (let e in t) {
|
|
2957
2967
|
let r = t[e], i = typeof r;
|
|
2958
|
-
e in
|
|
2968
|
+
e in Yn ? (r === null || r && (i === "string" || i === "number")) && (n[e] = r) : i === typeof n[e] && (n[e] = e === "rotate" ? r % 4 : r);
|
|
2959
2969
|
}
|
|
2960
2970
|
return n;
|
|
2961
2971
|
}
|
|
2962
|
-
var
|
|
2963
|
-
function
|
|
2964
|
-
t.split(
|
|
2972
|
+
var Ur = /[\s,]+/;
|
|
2973
|
+
function Wr(e, t) {
|
|
2974
|
+
t.split(Ur).forEach((t) => {
|
|
2965
2975
|
switch (t.trim()) {
|
|
2966
2976
|
case "horizontal":
|
|
2967
2977
|
e.hFlip = !0;
|
|
@@ -2972,7 +2982,7 @@ function Ur(e, t) {
|
|
|
2972
2982
|
}
|
|
2973
2983
|
});
|
|
2974
2984
|
}
|
|
2975
|
-
function
|
|
2985
|
+
function Gr(e, t = 0) {
|
|
2976
2986
|
let n = e.replace(/^-?[0-9.]*/, "");
|
|
2977
2987
|
function r(e) {
|
|
2978
2988
|
for (; e < 0;) e += 4;
|
|
@@ -2996,63 +3006,63 @@ function Wr(e, t = 0) {
|
|
|
2996
3006
|
}
|
|
2997
3007
|
return t;
|
|
2998
3008
|
}
|
|
2999
|
-
function
|
|
3009
|
+
function Kr(e, t) {
|
|
3000
3010
|
let n = e.indexOf("xlink:") === -1 ? "" : " xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
|
|
3001
3011
|
for (let e in t) n += " " + e + "=\"" + t[e] + "\"";
|
|
3002
3012
|
return "<svg xmlns=\"http://www.w3.org/2000/svg\"" + n + ">" + e + "</svg>";
|
|
3003
3013
|
}
|
|
3004
|
-
function Kr(e) {
|
|
3005
|
-
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
3006
|
-
}
|
|
3007
3014
|
function qr(e) {
|
|
3008
|
-
return "
|
|
3015
|
+
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
|
|
3009
3016
|
}
|
|
3010
3017
|
function Jr(e) {
|
|
3011
|
-
return "
|
|
3018
|
+
return "data:image/svg+xml," + qr(e);
|
|
3012
3019
|
}
|
|
3013
|
-
|
|
3014
|
-
|
|
3020
|
+
function Yr(e) {
|
|
3021
|
+
return "url(\"" + Jr(e) + "\")";
|
|
3022
|
+
}
|
|
3023
|
+
var U;
|
|
3024
|
+
function Xr() {
|
|
3015
3025
|
try {
|
|
3016
|
-
|
|
3026
|
+
U = window.trustedTypes.createPolicy("iconify", { createHTML: (e) => e });
|
|
3017
3027
|
} catch {
|
|
3018
|
-
|
|
3028
|
+
U = null;
|
|
3019
3029
|
}
|
|
3020
3030
|
}
|
|
3021
|
-
function
|
|
3022
|
-
return
|
|
3031
|
+
function Zr(e) {
|
|
3032
|
+
return U === void 0 && Xr(), U ? U.createHTML(e) : e;
|
|
3023
3033
|
}
|
|
3024
|
-
var
|
|
3025
|
-
...
|
|
3034
|
+
var Qr = {
|
|
3035
|
+
...Xn,
|
|
3026
3036
|
inline: !1
|
|
3027
|
-
},
|
|
3037
|
+
}, $r = {
|
|
3028
3038
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3029
3039
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
3030
3040
|
"aria-hidden": !0,
|
|
3031
3041
|
role: "img"
|
|
3032
|
-
},
|
|
3042
|
+
}, ei = { display: "inline-block" }, ti = { backgroundColor: "currentColor" }, ni = { backgroundColor: "transparent" }, ri = {
|
|
3033
3043
|
Image: "var(--svg)",
|
|
3034
3044
|
Repeat: "no-repeat",
|
|
3035
3045
|
Size: "100% 100%"
|
|
3036
|
-
},
|
|
3037
|
-
WebkitMask:
|
|
3038
|
-
mask:
|
|
3039
|
-
background:
|
|
3046
|
+
}, ii = {
|
|
3047
|
+
WebkitMask: ti,
|
|
3048
|
+
mask: ti,
|
|
3049
|
+
background: ni
|
|
3040
3050
|
};
|
|
3041
|
-
for (let e in
|
|
3042
|
-
let t =
|
|
3043
|
-
for (let n in
|
|
3051
|
+
for (let e in ii) {
|
|
3052
|
+
let t = ii[e];
|
|
3053
|
+
for (let n in ri) t[e + n] = ri[n];
|
|
3044
3054
|
}
|
|
3045
|
-
var
|
|
3046
|
-
...
|
|
3055
|
+
var ai = {
|
|
3056
|
+
...Qr,
|
|
3047
3057
|
inline: !0
|
|
3048
3058
|
};
|
|
3049
|
-
function
|
|
3059
|
+
function oi(e) {
|
|
3050
3060
|
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
|
|
3051
3061
|
}
|
|
3052
|
-
var
|
|
3053
|
-
let r = t.inline ?
|
|
3062
|
+
var si = (e, t, n) => {
|
|
3063
|
+
let r = t.inline ? ai : Qr, i = Hr(r, t), a = t.mode || "svg", o = {}, s = t.style || {}, c = { ...a === "svg" ? $r : {} };
|
|
3054
3064
|
if (n) {
|
|
3055
|
-
let e =
|
|
3065
|
+
let e = Wn(n, !1, !0);
|
|
3056
3066
|
if (e) {
|
|
3057
3067
|
let t = ["iconify"];
|
|
3058
3068
|
for (let n of ["provider", "prefix"]) e[n] && t.push("iconify--" + e[n]);
|
|
@@ -3081,13 +3091,13 @@ var oi = (e, t, n) => {
|
|
|
3081
3091
|
i[e] = n === !0 || n === "true" || n === 1;
|
|
3082
3092
|
break;
|
|
3083
3093
|
case "flip":
|
|
3084
|
-
typeof n == "string" &&
|
|
3094
|
+
typeof n == "string" && Wr(i, n);
|
|
3085
3095
|
break;
|
|
3086
3096
|
case "color":
|
|
3087
3097
|
o.color = n;
|
|
3088
3098
|
break;
|
|
3089
3099
|
case "rotate":
|
|
3090
|
-
typeof n == "string" ? i[e] =
|
|
3100
|
+
typeof n == "string" ? i[e] = Gr(n) : typeof n == "number" && (i[e] = n);
|
|
3091
3101
|
break;
|
|
3092
3102
|
case "ariaHidden":
|
|
3093
3103
|
case "aria-hidden":
|
|
@@ -3096,37 +3106,37 @@ var oi = (e, t, n) => {
|
|
|
3096
3106
|
default: r[e] === void 0 && (c[e] = n);
|
|
3097
3107
|
}
|
|
3098
3108
|
}
|
|
3099
|
-
let l =
|
|
3109
|
+
let l = ir(e, i), u = l.attributes;
|
|
3100
3110
|
if (i.inline && (o.verticalAlign = "-0.125em"), a === "svg") {
|
|
3101
3111
|
c.style = {
|
|
3102
3112
|
...o,
|
|
3103
3113
|
...s
|
|
3104
3114
|
}, Object.assign(c, u);
|
|
3105
3115
|
let e = 0, n = t.id;
|
|
3106
|
-
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html:
|
|
3116
|
+
return typeof n == "string" && (n = n.replace(/-/g, "_")), c.dangerouslySetInnerHTML = { __html: Zr(cr(l.body, n ? () => n + "ID" + e++ : "iconifyReact")) }, he("svg", c);
|
|
3107
3117
|
}
|
|
3108
|
-
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h =
|
|
3118
|
+
let { body: d, width: f, height: p } = e, m = a === "mask" || (a === "bg" ? !1 : d.indexOf("currentColor") !== -1), h = Kr(d, {
|
|
3109
3119
|
...u,
|
|
3110
3120
|
width: f + "",
|
|
3111
3121
|
height: p + ""
|
|
3112
3122
|
});
|
|
3113
3123
|
return c.style = {
|
|
3114
3124
|
...o,
|
|
3115
|
-
"--svg":
|
|
3116
|
-
width:
|
|
3117
|
-
height:
|
|
3118
|
-
|
|
3119
|
-
...m ?
|
|
3125
|
+
"--svg": Yr(h),
|
|
3126
|
+
width: oi(u.width),
|
|
3127
|
+
height: oi(u.height),
|
|
3128
|
+
...ei,
|
|
3129
|
+
...m ? ti : ni,
|
|
3120
3130
|
...s
|
|
3121
3131
|
}, he("span", c);
|
|
3122
3132
|
};
|
|
3123
|
-
if (
|
|
3133
|
+
if (Gn(!0), ur("", Sr), typeof document < "u" && typeof window < "u") {
|
|
3124
3134
|
let e = window;
|
|
3125
3135
|
if (e.IconifyPreload !== void 0) {
|
|
3126
3136
|
let t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
|
|
3127
3137
|
typeof t == "object" && t && (t instanceof Array ? t : [t]).forEach((e) => {
|
|
3128
3138
|
try {
|
|
3129
|
-
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !
|
|
3139
|
+
(typeof e != "object" || !e || e instanceof Array || typeof e.icons != "object" || typeof e.prefix != "string" || !Jn(e)) && console.error(n);
|
|
3130
3140
|
} catch {
|
|
3131
3141
|
console.error(n);
|
|
3132
3142
|
}
|
|
@@ -3139,14 +3149,14 @@ if (Un(!0), cr("", xr), typeof document < "u" && typeof window < "u") {
|
|
|
3139
3149
|
try {
|
|
3140
3150
|
let r = t[e];
|
|
3141
3151
|
if (typeof r != "object" || !r || r.resources === void 0) continue;
|
|
3142
|
-
|
|
3152
|
+
hr(e, r) || console.error(n);
|
|
3143
3153
|
} catch {
|
|
3144
3154
|
console.error(n);
|
|
3145
3155
|
}
|
|
3146
3156
|
}
|
|
3147
3157
|
}
|
|
3148
3158
|
}
|
|
3149
|
-
function
|
|
3159
|
+
function ci(e) {
|
|
3150
3160
|
let [t, n] = w(!!e.ssr), [r, i] = w({});
|
|
3151
3161
|
function a(t) {
|
|
3152
3162
|
if (t) {
|
|
@@ -3155,7 +3165,7 @@ function si(e) {
|
|
|
3155
3165
|
name: "",
|
|
3156
3166
|
data: t
|
|
3157
3167
|
};
|
|
3158
|
-
let n =
|
|
3168
|
+
let n = Kn(t);
|
|
3159
3169
|
if (n) return {
|
|
3160
3170
|
name: t,
|
|
3161
3171
|
data: n
|
|
@@ -3181,478 +3191,478 @@ function si(e) {
|
|
|
3181
3191
|
});
|
|
3182
3192
|
return;
|
|
3183
3193
|
}
|
|
3184
|
-
let r =
|
|
3194
|
+
let r = Kn(n);
|
|
3185
3195
|
l({
|
|
3186
3196
|
name: n,
|
|
3187
3197
|
data: r
|
|
3188
|
-
}) && (r === void 0 ? i({ callback:
|
|
3198
|
+
}) && (r === void 0 ? i({ callback: Vr([n], u) }) : r && ((t = e.onLoad) == null || t.call(e, n)));
|
|
3189
3199
|
}
|
|
3190
3200
|
S(() => (n(!0), c), []), S(() => {
|
|
3191
3201
|
t && u();
|
|
3192
3202
|
}, [e.icon, t]);
|
|
3193
3203
|
let { name: d, data: f } = o;
|
|
3194
|
-
return f ?
|
|
3195
|
-
...
|
|
3204
|
+
return f ? si({
|
|
3205
|
+
...An,
|
|
3196
3206
|
...f
|
|
3197
3207
|
}, e, d) : e.children ? e.children : e.fallback ? e.fallback : he("span", {});
|
|
3198
3208
|
}
|
|
3199
|
-
var
|
|
3209
|
+
var li = ge((e, t) => ci({
|
|
3200
3210
|
...e,
|
|
3201
3211
|
_ref: t
|
|
3202
3212
|
}));
|
|
3203
|
-
ge((e, t) =>
|
|
3213
|
+
ge((e, t) => ci({
|
|
3204
3214
|
inline: !0,
|
|
3205
3215
|
...e,
|
|
3206
3216
|
_ref: t
|
|
3207
3217
|
}));
|
|
3208
3218
|
//#endregion
|
|
3209
3219
|
//#region node_modules/@iconify-icons/heroicons-outline/x-mark.js
|
|
3210
|
-
var
|
|
3220
|
+
var ui = {
|
|
3211
3221
|
width: 24,
|
|
3212
3222
|
height: 24,
|
|
3213
3223
|
hidden: !0,
|
|
3214
3224
|
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\"/>"
|
|
3215
|
-
},
|
|
3225
|
+
}, di = {
|
|
3216
3226
|
width: 24,
|
|
3217
3227
|
height: 24,
|
|
3218
3228
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 4v16m8-8H4\"/>"
|
|
3219
|
-
},
|
|
3229
|
+
}, fi = {
|
|
3220
3230
|
width: 24,
|
|
3221
3231
|
height: 24,
|
|
3222
3232
|
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\"/>"
|
|
3223
|
-
},
|
|
3233
|
+
}, pi = {
|
|
3224
3234
|
width: 24,
|
|
3225
3235
|
height: 24,
|
|
3226
3236
|
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\"/>"
|
|
3227
|
-
},
|
|
3237
|
+
}, mi = {
|
|
3228
3238
|
width: 24,
|
|
3229
3239
|
height: 24,
|
|
3230
3240
|
hidden: !0,
|
|
3231
3241
|
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\"/>"
|
|
3232
|
-
},
|
|
3242
|
+
}, hi = {
|
|
3233
3243
|
width: 24,
|
|
3234
3244
|
height: 24,
|
|
3235
3245
|
hidden: !0,
|
|
3236
3246
|
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\"/>"
|
|
3237
|
-
},
|
|
3247
|
+
}, gi = {
|
|
3238
3248
|
width: 24,
|
|
3239
3249
|
height: 24,
|
|
3240
3250
|
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\"/>"
|
|
3241
|
-
},
|
|
3251
|
+
}, _i = {
|
|
3242
3252
|
width: 24,
|
|
3243
3253
|
height: 24,
|
|
3244
3254
|
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>"
|
|
3245
|
-
},
|
|
3255
|
+
}, vi = {
|
|
3246
3256
|
width: 24,
|
|
3247
3257
|
height: 24,
|
|
3248
3258
|
hidden: !0,
|
|
3249
3259
|
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\"/>"
|
|
3250
|
-
},
|
|
3260
|
+
}, yi = {
|
|
3251
3261
|
width: 24,
|
|
3252
3262
|
height: 24,
|
|
3253
3263
|
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\"/>"
|
|
3254
|
-
},
|
|
3264
|
+
}, bi = {
|
|
3255
3265
|
width: 24,
|
|
3256
3266
|
height: 24,
|
|
3257
3267
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m5 15l7-7l7 7\"/>"
|
|
3258
|
-
},
|
|
3268
|
+
}, xi = {
|
|
3259
3269
|
width: 24,
|
|
3260
3270
|
height: 24,
|
|
3261
3271
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m19 9l-7 7l-7-7\"/>"
|
|
3262
|
-
},
|
|
3272
|
+
}, Si = {
|
|
3263
3273
|
width: 24,
|
|
3264
3274
|
height: 24,
|
|
3265
3275
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m15 19l-7-7l7-7\"/>"
|
|
3266
|
-
},
|
|
3276
|
+
}, Ci = {
|
|
3267
3277
|
width: 24,
|
|
3268
3278
|
height: 24,
|
|
3269
3279
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 5l7 7l-7 7\"/>"
|
|
3270
|
-
},
|
|
3280
|
+
}, wi = {
|
|
3271
3281
|
width: 24,
|
|
3272
3282
|
height: 24,
|
|
3273
3283
|
hidden: !0,
|
|
3274
3284
|
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\"/>"
|
|
3275
|
-
},
|
|
3285
|
+
}, Ti = {
|
|
3276
3286
|
width: 24,
|
|
3277
3287
|
height: 24,
|
|
3278
3288
|
hidden: !0,
|
|
3279
3289
|
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\"/>"
|
|
3280
|
-
},
|
|
3290
|
+
}, Ei = {
|
|
3281
3291
|
width: 24,
|
|
3282
3292
|
height: 24,
|
|
3283
3293
|
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\"/>"
|
|
3284
|
-
},
|
|
3294
|
+
}, Di = {
|
|
3285
3295
|
width: 24,
|
|
3286
3296
|
height: 24,
|
|
3287
3297
|
hidden: !0,
|
|
3288
3298
|
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\"/>"
|
|
3289
|
-
},
|
|
3299
|
+
}, Oi = {
|
|
3290
3300
|
width: 24,
|
|
3291
3301
|
height: 24,
|
|
3292
3302
|
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\"/>"
|
|
3293
|
-
},
|
|
3303
|
+
}, ki = {
|
|
3294
3304
|
width: 24,
|
|
3295
3305
|
height: 24,
|
|
3296
3306
|
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\"/>"
|
|
3297
|
-
},
|
|
3307
|
+
}, Ai = {
|
|
3298
3308
|
width: 24,
|
|
3299
3309
|
height: 24,
|
|
3300
3310
|
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>"
|
|
3301
|
-
},
|
|
3311
|
+
}, ji = {
|
|
3302
3312
|
width: 24,
|
|
3303
3313
|
height: 24,
|
|
3304
3314
|
hidden: !0,
|
|
3305
3315
|
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\"/>"
|
|
3306
|
-
},
|
|
3316
|
+
}, Mi = {
|
|
3307
3317
|
width: 24,
|
|
3308
3318
|
height: 24,
|
|
3309
3319
|
hidden: !0,
|
|
3310
3320
|
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\"/>"
|
|
3311
|
-
},
|
|
3321
|
+
}, Ni = {
|
|
3312
3322
|
width: 24,
|
|
3313
3323
|
height: 24,
|
|
3314
3324
|
hidden: !0,
|
|
3315
3325
|
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\"/>"
|
|
3316
|
-
},
|
|
3326
|
+
}, Pi = {
|
|
3317
3327
|
width: 24,
|
|
3318
3328
|
height: 24,
|
|
3319
3329
|
hidden: !0,
|
|
3320
3330
|
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\"/>"
|
|
3321
|
-
},
|
|
3331
|
+
}, Fi = {
|
|
3322
3332
|
width: 24,
|
|
3323
3333
|
height: 24,
|
|
3324
3334
|
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\"/>"
|
|
3325
|
-
},
|
|
3335
|
+
}, Ii = {
|
|
3326
3336
|
width: 24,
|
|
3327
3337
|
height: 24,
|
|
3328
3338
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 5l7 7m0 0l-7 7m7-7H3\"/>"
|
|
3329
|
-
},
|
|
3339
|
+
}, Li = {
|
|
3330
3340
|
width: 24,
|
|
3331
3341
|
height: 24,
|
|
3332
3342
|
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\"/>"
|
|
3333
|
-
},
|
|
3343
|
+
}, Ri = {
|
|
3334
3344
|
width: 24,
|
|
3335
3345
|
height: 24,
|
|
3336
3346
|
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\"/>"
|
|
3337
|
-
},
|
|
3347
|
+
}, zi = {
|
|
3338
3348
|
width: 24,
|
|
3339
3349
|
height: 24,
|
|
3340
3350
|
hidden: !0,
|
|
3341
3351
|
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\"/>"
|
|
3342
|
-
},
|
|
3352
|
+
}, Bi = {
|
|
3343
3353
|
width: 24,
|
|
3344
3354
|
height: 24,
|
|
3345
3355
|
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\"/>"
|
|
3346
|
-
},
|
|
3356
|
+
}, Vi = {
|
|
3347
3357
|
width: 24,
|
|
3348
3358
|
height: 24,
|
|
3349
3359
|
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\"/>"
|
|
3350
|
-
},
|
|
3360
|
+
}, Hi = {
|
|
3351
3361
|
width: 24,
|
|
3352
3362
|
height: 24,
|
|
3353
3363
|
hidden: !0,
|
|
3354
3364
|
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\"/>"
|
|
3355
|
-
},
|
|
3365
|
+
}, Ui = {
|
|
3356
3366
|
width: 24,
|
|
3357
3367
|
height: 24,
|
|
3358
3368
|
hidden: !0,
|
|
3359
3369
|
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\"/>"
|
|
3360
|
-
},
|
|
3370
|
+
}, Wi = {
|
|
3361
3371
|
width: 24,
|
|
3362
3372
|
height: 24,
|
|
3363
3373
|
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>"
|
|
3364
|
-
},
|
|
3374
|
+
}, Gi = {
|
|
3365
3375
|
width: 24,
|
|
3366
3376
|
height: 24,
|
|
3367
3377
|
hidden: !0,
|
|
3368
3378
|
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\"/>"
|
|
3369
|
-
},
|
|
3379
|
+
}, Ki = {
|
|
3370
3380
|
width: 20,
|
|
3371
3381
|
height: 20,
|
|
3372
3382
|
hidden: !0,
|
|
3373
3383
|
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\"/>"
|
|
3374
|
-
},
|
|
3384
|
+
}, qi = {
|
|
3375
3385
|
width: 20,
|
|
3376
3386
|
height: 20,
|
|
3377
3387
|
hidden: !0,
|
|
3378
3388
|
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\"/>"
|
|
3379
|
-
},
|
|
3389
|
+
}, Ji = {
|
|
3380
3390
|
width: 20,
|
|
3381
3391
|
height: 20,
|
|
3382
3392
|
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\"/>"
|
|
3383
|
-
},
|
|
3393
|
+
}, Yi = {
|
|
3384
3394
|
width: 20,
|
|
3385
3395
|
height: 20,
|
|
3386
3396
|
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\"/>"
|
|
3387
|
-
},
|
|
3397
|
+
}, Xi = {
|
|
3388
3398
|
width: 20,
|
|
3389
3399
|
height: 20,
|
|
3390
3400
|
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\"/>"
|
|
3391
|
-
},
|
|
3401
|
+
}, Zi = {
|
|
3392
3402
|
width: 20,
|
|
3393
3403
|
height: 20,
|
|
3394
3404
|
hidden: !0,
|
|
3395
3405
|
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\"/>"
|
|
3396
|
-
},
|
|
3406
|
+
}, Qi = {
|
|
3397
3407
|
width: 20,
|
|
3398
3408
|
height: 20,
|
|
3399
3409
|
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\"/>"
|
|
3400
|
-
},
|
|
3410
|
+
}, $i = {
|
|
3401
3411
|
width: 20,
|
|
3402
3412
|
height: 20,
|
|
3403
3413
|
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\"/>"
|
|
3404
|
-
},
|
|
3414
|
+
}, ea = {
|
|
3405
3415
|
width: 20,
|
|
3406
3416
|
height: 20,
|
|
3407
3417
|
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\"/>"
|
|
3408
|
-
},
|
|
3418
|
+
}, ta = {
|
|
3409
3419
|
width: 20,
|
|
3410
3420
|
height: 20,
|
|
3411
3421
|
hidden: !0,
|
|
3412
3422
|
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\"/>"
|
|
3413
|
-
},
|
|
3423
|
+
}, na = {
|
|
3414
3424
|
width: 20,
|
|
3415
3425
|
height: 20,
|
|
3416
3426
|
hidden: !0,
|
|
3417
3427
|
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\"/>"
|
|
3418
|
-
},
|
|
3428
|
+
}, ra = {
|
|
3419
3429
|
width: 20,
|
|
3420
3430
|
height: 20,
|
|
3421
3431
|
hidden: !0,
|
|
3422
3432
|
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\"/>"
|
|
3423
|
-
},
|
|
3433
|
+
}, ia = {
|
|
3424
3434
|
width: 20,
|
|
3425
3435
|
height: 20,
|
|
3426
3436
|
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\"/>"
|
|
3427
|
-
},
|
|
3437
|
+
}, aa = {
|
|
3428
3438
|
width: 20,
|
|
3429
3439
|
height: 20,
|
|
3430
3440
|
hidden: !0,
|
|
3431
3441
|
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\"/>"
|
|
3432
|
-
},
|
|
3442
|
+
}, oa = {
|
|
3433
3443
|
width: 20,
|
|
3434
3444
|
height: 20,
|
|
3435
3445
|
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>"
|
|
3436
|
-
},
|
|
3446
|
+
}, sa = {
|
|
3437
3447
|
width: 20,
|
|
3438
3448
|
height: 20,
|
|
3439
3449
|
hidden: !0,
|
|
3440
3450
|
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\"/>"
|
|
3441
|
-
},
|
|
3451
|
+
}, ca = {
|
|
3442
3452
|
width: 20,
|
|
3443
3453
|
height: 20,
|
|
3444
3454
|
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\"/>"
|
|
3445
|
-
},
|
|
3455
|
+
}, la = {
|
|
3446
3456
|
width: 20,
|
|
3447
3457
|
height: 20,
|
|
3448
3458
|
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\"/>"
|
|
3449
|
-
},
|
|
3459
|
+
}, ua = {
|
|
3450
3460
|
width: 24,
|
|
3451
3461
|
height: 24,
|
|
3452
3462
|
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\"/>"
|
|
3453
|
-
},
|
|
3463
|
+
}, da = {
|
|
3454
3464
|
width: 24,
|
|
3455
3465
|
height: 24,
|
|
3456
3466
|
body: "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 19h16M4 15l4-6l4 2l4-5l4 4\"/>"
|
|
3457
|
-
},
|
|
3467
|
+
}, fa = {
|
|
3458
3468
|
width: 24,
|
|
3459
3469
|
height: 24,
|
|
3460
3470
|
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\"/>"
|
|
3461
|
-
},
|
|
3471
|
+
}, pa = {
|
|
3462
3472
|
width: 24,
|
|
3463
3473
|
height: 24,
|
|
3464
3474
|
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>"
|
|
3465
|
-
},
|
|
3475
|
+
}, ma = {
|
|
3466
3476
|
width: 24,
|
|
3467
3477
|
height: 24,
|
|
3468
3478
|
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>"
|
|
3469
|
-
},
|
|
3479
|
+
}, ha = {
|
|
3470
3480
|
width: 24,
|
|
3471
3481
|
height: 24,
|
|
3472
3482
|
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\"/>"
|
|
3473
|
-
},
|
|
3483
|
+
}, ga = {
|
|
3474
3484
|
width: 24,
|
|
3475
3485
|
height: 24,
|
|
3476
3486
|
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>"
|
|
3477
|
-
},
|
|
3487
|
+
}, _a = {
|
|
3478
3488
|
width: 24,
|
|
3479
3489
|
height: 24,
|
|
3480
3490
|
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>"
|
|
3481
|
-
},
|
|
3491
|
+
}, va = {
|
|
3482
3492
|
width: 24,
|
|
3483
3493
|
height: 24,
|
|
3484
3494
|
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\"/>"
|
|
3485
|
-
},
|
|
3495
|
+
}, ya = {
|
|
3486
3496
|
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>",
|
|
3487
3497
|
width: 24,
|
|
3488
3498
|
height: 24
|
|
3489
|
-
},
|
|
3499
|
+
}, ba = {
|
|
3490
3500
|
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>",
|
|
3491
3501
|
width: 24,
|
|
3492
3502
|
height: 24
|
|
3493
|
-
},
|
|
3503
|
+
}, xa = {
|
|
3494
3504
|
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>",
|
|
3495
3505
|
width: 24,
|
|
3496
3506
|
height: 24
|
|
3497
|
-
},
|
|
3507
|
+
}, Sa = {
|
|
3498
3508
|
width: 24,
|
|
3499
3509
|
height: 24,
|
|
3500
3510
|
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>"
|
|
3501
|
-
},
|
|
3511
|
+
}, Ca = {
|
|
3502
3512
|
width: 24,
|
|
3503
3513
|
height: 24,
|
|
3504
3514
|
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\"/>"
|
|
3505
|
-
},
|
|
3515
|
+
}, wa = {
|
|
3506
3516
|
width: 24,
|
|
3507
3517
|
height: 24,
|
|
3508
3518
|
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>"
|
|
3509
|
-
},
|
|
3519
|
+
}, Ta = {
|
|
3510
3520
|
width: 24,
|
|
3511
3521
|
height: 24,
|
|
3512
3522
|
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\"/>"
|
|
3513
|
-
},
|
|
3523
|
+
}, Ea = {
|
|
3514
3524
|
width: 24,
|
|
3515
3525
|
height: 24,
|
|
3516
3526
|
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>"
|
|
3517
|
-
},
|
|
3527
|
+
}, Da = {
|
|
3518
3528
|
width: 24,
|
|
3519
3529
|
height: 24,
|
|
3520
3530
|
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\"/>"
|
|
3521
|
-
},
|
|
3531
|
+
}, Oa = {
|
|
3522
3532
|
width: 24,
|
|
3523
3533
|
height: 24,
|
|
3524
3534
|
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>"
|
|
3525
|
-
},
|
|
3535
|
+
}, ka = {
|
|
3526
3536
|
width: 24,
|
|
3527
3537
|
height: 24,
|
|
3528
3538
|
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>"
|
|
3529
|
-
},
|
|
3539
|
+
}, Aa = {
|
|
3530
3540
|
close: {
|
|
3531
|
-
icon:
|
|
3541
|
+
icon: ui,
|
|
3532
3542
|
category: "action"
|
|
3533
3543
|
},
|
|
3534
3544
|
add: {
|
|
3535
|
-
icon:
|
|
3545
|
+
icon: di,
|
|
3536
3546
|
category: "action"
|
|
3537
3547
|
},
|
|
3538
3548
|
edit: {
|
|
3539
|
-
icon:
|
|
3549
|
+
icon: fi,
|
|
3540
3550
|
category: "action"
|
|
3541
3551
|
},
|
|
3542
3552
|
delete: {
|
|
3543
|
-
icon:
|
|
3553
|
+
icon: pi,
|
|
3544
3554
|
category: "action"
|
|
3545
3555
|
},
|
|
3546
3556
|
refresh: {
|
|
3547
|
-
icon:
|
|
3557
|
+
icon: mi,
|
|
3548
3558
|
category: "action"
|
|
3549
3559
|
},
|
|
3550
3560
|
copy: {
|
|
3551
|
-
icon:
|
|
3561
|
+
icon: hi,
|
|
3552
3562
|
category: "action"
|
|
3553
3563
|
},
|
|
3554
3564
|
duplicate: {
|
|
3555
|
-
icon:
|
|
3565
|
+
icon: gi,
|
|
3556
3566
|
category: "action"
|
|
3557
3567
|
},
|
|
3558
3568
|
settings: {
|
|
3559
|
-
icon:
|
|
3569
|
+
icon: _i,
|
|
3560
3570
|
category: "action"
|
|
3561
3571
|
},
|
|
3562
3572
|
filter: {
|
|
3563
|
-
icon:
|
|
3573
|
+
icon: vi,
|
|
3564
3574
|
category: "action"
|
|
3565
3575
|
},
|
|
3566
3576
|
share: {
|
|
3567
|
-
icon:
|
|
3577
|
+
icon: yi,
|
|
3568
3578
|
category: "action"
|
|
3569
3579
|
},
|
|
3570
3580
|
expand: {
|
|
3571
|
-
icon:
|
|
3581
|
+
icon: xi,
|
|
3572
3582
|
category: "action"
|
|
3573
3583
|
},
|
|
3574
3584
|
collapse: {
|
|
3575
|
-
icon:
|
|
3585
|
+
icon: bi,
|
|
3576
3586
|
category: "action"
|
|
3577
3587
|
},
|
|
3578
3588
|
search: {
|
|
3579
|
-
icon:
|
|
3589
|
+
icon: wi,
|
|
3580
3590
|
category: "action"
|
|
3581
3591
|
},
|
|
3582
3592
|
menu: {
|
|
3583
|
-
icon:
|
|
3593
|
+
icon: Ti,
|
|
3584
3594
|
category: "action"
|
|
3585
3595
|
},
|
|
3586
3596
|
run: {
|
|
3587
|
-
icon:
|
|
3597
|
+
icon: Qi,
|
|
3588
3598
|
category: "action"
|
|
3589
3599
|
},
|
|
3590
3600
|
check: {
|
|
3591
|
-
icon:
|
|
3601
|
+
icon: $i,
|
|
3592
3602
|
category: "action"
|
|
3593
3603
|
},
|
|
3594
3604
|
link: {
|
|
3595
|
-
icon:
|
|
3605
|
+
icon: Fi,
|
|
3596
3606
|
category: "action"
|
|
3597
3607
|
},
|
|
3598
3608
|
eye: {
|
|
3599
|
-
icon:
|
|
3609
|
+
icon: Ai,
|
|
3600
3610
|
category: "action"
|
|
3601
3611
|
},
|
|
3602
3612
|
eyeOff: {
|
|
3603
|
-
icon:
|
|
3613
|
+
icon: ji,
|
|
3604
3614
|
category: "action"
|
|
3605
3615
|
},
|
|
3606
3616
|
adjustments: {
|
|
3607
|
-
icon:
|
|
3617
|
+
icon: Mi,
|
|
3608
3618
|
category: "action"
|
|
3609
3619
|
},
|
|
3610
3620
|
desktop: {
|
|
3611
|
-
icon:
|
|
3621
|
+
icon: Ni,
|
|
3612
3622
|
category: "action"
|
|
3613
3623
|
},
|
|
3614
3624
|
table: {
|
|
3615
|
-
icon:
|
|
3625
|
+
icon: Pi,
|
|
3616
3626
|
category: "action"
|
|
3617
3627
|
},
|
|
3618
3628
|
sun: {
|
|
3619
|
-
icon:
|
|
3629
|
+
icon: Li,
|
|
3620
3630
|
category: "action"
|
|
3621
3631
|
},
|
|
3622
3632
|
moon: {
|
|
3623
|
-
icon:
|
|
3633
|
+
icon: Ri,
|
|
3624
3634
|
category: "action"
|
|
3625
3635
|
},
|
|
3626
3636
|
ellipsisHorizontal: {
|
|
3627
|
-
icon:
|
|
3637
|
+
icon: zi,
|
|
3628
3638
|
category: "action"
|
|
3629
3639
|
},
|
|
3630
3640
|
documentText: {
|
|
3631
|
-
icon:
|
|
3641
|
+
icon: Bi,
|
|
3632
3642
|
category: "action"
|
|
3633
3643
|
},
|
|
3634
3644
|
bookOpen: {
|
|
3635
|
-
icon:
|
|
3645
|
+
icon: Vi,
|
|
3636
3646
|
category: "action"
|
|
3637
3647
|
},
|
|
3638
3648
|
codeBracket: {
|
|
3639
|
-
icon:
|
|
3649
|
+
icon: Hi,
|
|
3640
3650
|
category: "action"
|
|
3641
3651
|
},
|
|
3642
3652
|
swatch: {
|
|
3643
|
-
icon:
|
|
3653
|
+
icon: Ui,
|
|
3644
3654
|
category: "action"
|
|
3645
3655
|
},
|
|
3646
3656
|
camera: {
|
|
3647
|
-
icon:
|
|
3657
|
+
icon: Wi,
|
|
3648
3658
|
category: "action"
|
|
3649
3659
|
},
|
|
3650
3660
|
thumbUp: {
|
|
3651
|
-
icon:
|
|
3661
|
+
icon: Ki,
|
|
3652
3662
|
category: "action"
|
|
3653
3663
|
},
|
|
3654
3664
|
thumbDown: {
|
|
3655
|
-
icon:
|
|
3665
|
+
icon: qi,
|
|
3656
3666
|
category: "action"
|
|
3657
3667
|
},
|
|
3658
3668
|
schemaGraph: {
|
|
@@ -3672,95 +3682,95 @@ var li = {
|
|
|
3672
3682
|
category: "action"
|
|
3673
3683
|
},
|
|
3674
3684
|
download: {
|
|
3675
|
-
icon:
|
|
3685
|
+
icon: Gi,
|
|
3676
3686
|
category: "action"
|
|
3677
3687
|
},
|
|
3678
3688
|
measure: {
|
|
3679
|
-
icon:
|
|
3689
|
+
icon: Ji,
|
|
3680
3690
|
category: "field"
|
|
3681
3691
|
},
|
|
3682
3692
|
dimension: {
|
|
3683
|
-
icon:
|
|
3693
|
+
icon: Yi,
|
|
3684
3694
|
category: "field"
|
|
3685
3695
|
},
|
|
3686
3696
|
timeDimension: {
|
|
3687
|
-
icon:
|
|
3697
|
+
icon: Xi,
|
|
3688
3698
|
category: "field"
|
|
3689
3699
|
},
|
|
3690
3700
|
segment: {
|
|
3691
|
-
icon:
|
|
3701
|
+
icon: Zi,
|
|
3692
3702
|
category: "field"
|
|
3693
3703
|
},
|
|
3694
3704
|
chartBar: {
|
|
3695
|
-
icon:
|
|
3705
|
+
icon: ua,
|
|
3696
3706
|
category: "chart"
|
|
3697
3707
|
},
|
|
3698
3708
|
chartLine: {
|
|
3699
|
-
icon:
|
|
3709
|
+
icon: da,
|
|
3700
3710
|
category: "chart"
|
|
3701
3711
|
},
|
|
3702
3712
|
chartArea: {
|
|
3703
|
-
icon:
|
|
3713
|
+
icon: fa,
|
|
3704
3714
|
category: "chart"
|
|
3705
3715
|
},
|
|
3706
3716
|
chartPie: {
|
|
3707
|
-
icon:
|
|
3717
|
+
icon: pa,
|
|
3708
3718
|
category: "chart"
|
|
3709
3719
|
},
|
|
3710
3720
|
chartScatter: {
|
|
3711
|
-
icon:
|
|
3721
|
+
icon: ma,
|
|
3712
3722
|
category: "chart"
|
|
3713
3723
|
},
|
|
3714
3724
|
chartBubble: {
|
|
3715
|
-
icon:
|
|
3725
|
+
icon: ha,
|
|
3716
3726
|
category: "chart"
|
|
3717
3727
|
},
|
|
3718
3728
|
chartRadar: {
|
|
3719
|
-
icon:
|
|
3729
|
+
icon: ga,
|
|
3720
3730
|
category: "chart"
|
|
3721
3731
|
},
|
|
3722
3732
|
chartRadialBar: {
|
|
3723
|
-
icon:
|
|
3733
|
+
icon: _a,
|
|
3724
3734
|
category: "chart"
|
|
3725
3735
|
},
|
|
3726
3736
|
chartTreemap: {
|
|
3727
|
-
icon:
|
|
3737
|
+
icon: va,
|
|
3728
3738
|
category: "chart"
|
|
3729
3739
|
},
|
|
3730
3740
|
chartTable: {
|
|
3731
|
-
icon:
|
|
3741
|
+
icon: Ca,
|
|
3732
3742
|
category: "chart"
|
|
3733
3743
|
},
|
|
3734
3744
|
chartActivityGrid: {
|
|
3735
|
-
icon:
|
|
3745
|
+
icon: wa,
|
|
3736
3746
|
category: "chart"
|
|
3737
3747
|
},
|
|
3738
3748
|
chartKpiNumber: {
|
|
3739
|
-
icon:
|
|
3749
|
+
icon: Ta,
|
|
3740
3750
|
category: "chart"
|
|
3741
3751
|
},
|
|
3742
3752
|
chartKpiDelta: {
|
|
3743
|
-
icon:
|
|
3753
|
+
icon: Ea,
|
|
3744
3754
|
category: "chart"
|
|
3745
3755
|
},
|
|
3746
3756
|
chartKpiText: {
|
|
3747
|
-
icon:
|
|
3757
|
+
icon: Da,
|
|
3748
3758
|
category: "chart"
|
|
3749
3759
|
},
|
|
3750
3760
|
chartMarkdown: {
|
|
3751
|
-
icon:
|
|
3761
|
+
icon: Oa,
|
|
3752
3762
|
category: "chart"
|
|
3753
3763
|
},
|
|
3754
3764
|
chartFunnel: {
|
|
3755
|
-
icon:
|
|
3765
|
+
icon: ba,
|
|
3756
3766
|
category: "chart"
|
|
3757
3767
|
},
|
|
3758
3768
|
chartSankey: {
|
|
3759
|
-
icon:
|
|
3769
|
+
icon: ya,
|
|
3760
3770
|
category: "chart"
|
|
3761
3771
|
},
|
|
3762
3772
|
chartSunburst: {
|
|
3763
|
-
icon:
|
|
3773
|
+
icon: Sa,
|
|
3764
3774
|
category: "chart"
|
|
3765
3775
|
},
|
|
3766
3776
|
chartHeatmap: {
|
|
@@ -3772,87 +3782,87 @@ var li = {
|
|
|
3772
3782
|
category: "chart"
|
|
3773
3783
|
},
|
|
3774
3784
|
chartRetention: {
|
|
3775
|
-
icon:
|
|
3785
|
+
icon: xa,
|
|
3776
3786
|
category: "chart"
|
|
3777
3787
|
},
|
|
3778
3788
|
measureCount: {
|
|
3779
|
-
icon:
|
|
3789
|
+
icon: aa,
|
|
3780
3790
|
category: "measure"
|
|
3781
3791
|
},
|
|
3782
3792
|
measureCountDistinct: {
|
|
3783
|
-
icon:
|
|
3793
|
+
icon: oa,
|
|
3784
3794
|
category: "measure"
|
|
3785
3795
|
},
|
|
3786
3796
|
measureCountDistinctApprox: {
|
|
3787
|
-
icon:
|
|
3797
|
+
icon: sa,
|
|
3788
3798
|
category: "measure"
|
|
3789
3799
|
},
|
|
3790
3800
|
measureSum: {
|
|
3791
|
-
icon:
|
|
3801
|
+
icon: ca,
|
|
3792
3802
|
category: "measure"
|
|
3793
3803
|
},
|
|
3794
3804
|
measureAvg: {
|
|
3795
|
-
icon:
|
|
3805
|
+
icon: ea,
|
|
3796
3806
|
category: "measure"
|
|
3797
3807
|
},
|
|
3798
3808
|
measureMin: {
|
|
3799
|
-
icon:
|
|
3809
|
+
icon: ta,
|
|
3800
3810
|
category: "measure"
|
|
3801
3811
|
},
|
|
3802
3812
|
measureMax: {
|
|
3803
|
-
icon:
|
|
3813
|
+
icon: na,
|
|
3804
3814
|
category: "measure"
|
|
3805
3815
|
},
|
|
3806
3816
|
measureRunningTotal: {
|
|
3807
|
-
icon:
|
|
3817
|
+
icon: ra,
|
|
3808
3818
|
category: "measure"
|
|
3809
3819
|
},
|
|
3810
3820
|
measureCalculated: {
|
|
3811
|
-
icon:
|
|
3821
|
+
icon: ia,
|
|
3812
3822
|
category: "measure"
|
|
3813
3823
|
},
|
|
3814
3824
|
measureNumber: {
|
|
3815
|
-
icon:
|
|
3825
|
+
icon: la,
|
|
3816
3826
|
category: "measure"
|
|
3817
3827
|
},
|
|
3818
3828
|
success: {
|
|
3819
|
-
icon:
|
|
3829
|
+
icon: Ei,
|
|
3820
3830
|
category: "state"
|
|
3821
3831
|
},
|
|
3822
3832
|
warning: {
|
|
3823
|
-
icon:
|
|
3833
|
+
icon: Di,
|
|
3824
3834
|
category: "state"
|
|
3825
3835
|
},
|
|
3826
3836
|
error: {
|
|
3827
|
-
icon:
|
|
3837
|
+
icon: Oi,
|
|
3828
3838
|
category: "state"
|
|
3829
3839
|
},
|
|
3830
3840
|
info: {
|
|
3831
|
-
icon:
|
|
3841
|
+
icon: ka,
|
|
3832
3842
|
category: "state"
|
|
3833
3843
|
},
|
|
3834
3844
|
loading: {
|
|
3835
|
-
icon:
|
|
3845
|
+
icon: mi,
|
|
3836
3846
|
category: "state"
|
|
3837
3847
|
},
|
|
3838
3848
|
sparkles: {
|
|
3839
|
-
icon:
|
|
3849
|
+
icon: ki,
|
|
3840
3850
|
category: "state"
|
|
3841
3851
|
},
|
|
3842
3852
|
chevronUp: {
|
|
3843
|
-
icon:
|
|
3853
|
+
icon: bi,
|
|
3844
3854
|
category: "navigation"
|
|
3845
3855
|
},
|
|
3846
3856
|
chevronDown: {
|
|
3847
|
-
icon:
|
|
3857
|
+
icon: xi,
|
|
3848
3858
|
category: "navigation"
|
|
3849
3859
|
},
|
|
3850
3860
|
chevronLeft: {
|
|
3851
|
-
icon:
|
|
3861
|
+
icon: Si,
|
|
3852
3862
|
category: "navigation"
|
|
3853
3863
|
},
|
|
3854
3864
|
chevronRight: {
|
|
3855
|
-
icon:
|
|
3865
|
+
icon: Ci,
|
|
3856
3866
|
category: "navigation"
|
|
3857
3867
|
},
|
|
3858
3868
|
chevronUpDown: {
|
|
@@ -3864,82 +3874,82 @@ var li = {
|
|
|
3864
3874
|
category: "navigation"
|
|
3865
3875
|
},
|
|
3866
3876
|
arrowUp: {
|
|
3867
|
-
icon:
|
|
3877
|
+
icon: na,
|
|
3868
3878
|
category: "navigation"
|
|
3869
3879
|
},
|
|
3870
3880
|
arrowDown: {
|
|
3871
|
-
icon:
|
|
3881
|
+
icon: ta,
|
|
3872
3882
|
category: "navigation"
|
|
3873
3883
|
},
|
|
3874
3884
|
arrowRight: {
|
|
3875
|
-
icon:
|
|
3885
|
+
icon: Ii,
|
|
3876
3886
|
category: "navigation"
|
|
3877
3887
|
},
|
|
3878
3888
|
arrowPath: {
|
|
3879
|
-
icon:
|
|
3889
|
+
icon: mi,
|
|
3880
3890
|
category: "navigation"
|
|
3881
3891
|
}
|
|
3882
|
-
},
|
|
3883
|
-
function
|
|
3884
|
-
|
|
3892
|
+
}, W = { ...Aa }, ja = null;
|
|
3893
|
+
function Ma(e) {
|
|
3894
|
+
ja = e;
|
|
3885
3895
|
}
|
|
3886
|
-
var
|
|
3887
|
-
function
|
|
3888
|
-
return
|
|
3896
|
+
var G = /* @__PURE__ */ new Map();
|
|
3897
|
+
function Na() {
|
|
3898
|
+
return W;
|
|
3889
3899
|
}
|
|
3890
|
-
function
|
|
3891
|
-
let t =
|
|
3900
|
+
function K(e) {
|
|
3901
|
+
let t = G.get(e);
|
|
3892
3902
|
if (t) return t;
|
|
3893
|
-
let n =
|
|
3894
|
-
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(
|
|
3895
|
-
icon:
|
|
3903
|
+
let n = W[e];
|
|
3904
|
+
if (!n) return console.warn(`Icon "${e}" not found in registry, using fallback`), ({ className: e, ...t }) => /* @__PURE__ */ T(li, {
|
|
3905
|
+
icon: W.info.icon,
|
|
3896
3906
|
className: e,
|
|
3897
3907
|
...t
|
|
3898
3908
|
});
|
|
3899
|
-
let r = ({ className: e, ...t }) => /* @__PURE__ */ T(
|
|
3909
|
+
let r = ({ className: e, ...t }) => /* @__PURE__ */ T(li, {
|
|
3900
3910
|
icon: n.icon,
|
|
3901
3911
|
className: e,
|
|
3902
3912
|
...t
|
|
3903
3913
|
});
|
|
3904
|
-
return
|
|
3914
|
+
return G.set(e, r), r;
|
|
3905
3915
|
}
|
|
3906
|
-
function
|
|
3907
|
-
return
|
|
3916
|
+
function Pa(e) {
|
|
3917
|
+
return W[e]?.icon ?? W.info.icon;
|
|
3908
3918
|
}
|
|
3909
|
-
function
|
|
3910
|
-
|
|
3911
|
-
...
|
|
3919
|
+
function Fa(e, t) {
|
|
3920
|
+
W[e] && (W[e] = {
|
|
3921
|
+
...W[e],
|
|
3912
3922
|
icon: t
|
|
3913
|
-
},
|
|
3923
|
+
}, G.delete(e));
|
|
3914
3924
|
}
|
|
3915
|
-
function
|
|
3916
|
-
for (let [t, n] of Object.entries(e)) if (n && t in
|
|
3925
|
+
function Ia(e) {
|
|
3926
|
+
for (let [t, n] of Object.entries(e)) if (n && t in W) {
|
|
3917
3927
|
let e = t;
|
|
3918
|
-
if ("body" in n)
|
|
3919
|
-
...
|
|
3928
|
+
if ("body" in n) W[e] = {
|
|
3929
|
+
...W[e],
|
|
3920
3930
|
icon: n
|
|
3921
3931
|
};
|
|
3922
3932
|
else {
|
|
3923
3933
|
let t = n;
|
|
3924
|
-
|
|
3925
|
-
...
|
|
3934
|
+
W[e] = {
|
|
3935
|
+
...W[e],
|
|
3926
3936
|
...t,
|
|
3927
|
-
icon: t.icon ??
|
|
3937
|
+
icon: t.icon ?? W[e].icon
|
|
3928
3938
|
};
|
|
3929
3939
|
}
|
|
3930
|
-
|
|
3940
|
+
G.delete(e);
|
|
3931
3941
|
}
|
|
3932
3942
|
}
|
|
3933
|
-
function
|
|
3934
|
-
|
|
3943
|
+
function La() {
|
|
3944
|
+
W = { ...Aa }, G.clear();
|
|
3935
3945
|
}
|
|
3936
|
-
function
|
|
3946
|
+
function Ra(e) {
|
|
3937
3947
|
let t = {};
|
|
3938
|
-
for (let [n, r] of Object.entries(
|
|
3948
|
+
for (let [n, r] of Object.entries(W)) r.category === e && (t[n] = K(n));
|
|
3939
3949
|
return t;
|
|
3940
3950
|
}
|
|
3941
|
-
function
|
|
3942
|
-
return
|
|
3951
|
+
function za(e) {
|
|
3952
|
+
return K({
|
|
3943
3953
|
count: "measureCount",
|
|
3944
3954
|
countDistinct: "measureCountDistinct",
|
|
3945
3955
|
countDistinctApprox: "measureCountDistinctApprox",
|
|
@@ -3952,7 +3962,7 @@ function Ra(e) {
|
|
|
3952
3962
|
number: "measureNumber"
|
|
3953
3963
|
}[e || ""] || "measureCount");
|
|
3954
3964
|
}
|
|
3955
|
-
function
|
|
3965
|
+
function Ba(e) {
|
|
3956
3966
|
let t = {
|
|
3957
3967
|
bar: "chartBar",
|
|
3958
3968
|
line: "chartLine",
|
|
@@ -3974,15 +3984,15 @@ function za(e) {
|
|
|
3974
3984
|
sunburst: "chartSunburst",
|
|
3975
3985
|
heatmap: "chartHeatmap"
|
|
3976
3986
|
}[e];
|
|
3977
|
-
if (t) return
|
|
3978
|
-
if (
|
|
3979
|
-
let t =
|
|
3987
|
+
if (t) return K(t);
|
|
3988
|
+
if (ja) {
|
|
3989
|
+
let t = ja(e);
|
|
3980
3990
|
if (t) return t;
|
|
3981
3991
|
}
|
|
3982
|
-
return
|
|
3992
|
+
return K("chartBar");
|
|
3983
3993
|
}
|
|
3984
|
-
function
|
|
3985
|
-
return
|
|
3994
|
+
function Va(e) {
|
|
3995
|
+
return K({
|
|
3986
3996
|
measure: "measure",
|
|
3987
3997
|
dimension: "dimension",
|
|
3988
3998
|
timeDimension: "timeDimension",
|
|
@@ -3992,7 +4002,7 @@ function Ba(e) {
|
|
|
3992
4002
|
}
|
|
3993
4003
|
//#endregion
|
|
3994
4004
|
//#region src/client/components/charts/MissingDependencyFallback.tsx
|
|
3995
|
-
function
|
|
4005
|
+
function Ha({ chartType: e, packageName: t, installCommand: n, height: r = 200 }) {
|
|
3996
4006
|
let { t: i } = o();
|
|
3997
4007
|
return /* @__PURE__ */ E("div", {
|
|
3998
4008
|
className: "dc-missing-dependency-fallback",
|
|
@@ -4068,7 +4078,7 @@ function Va({ chartType: e, packageName: t, installCommand: n, height: r = 200 }
|
|
|
4068
4078
|
}
|
|
4069
4079
|
//#endregion
|
|
4070
4080
|
//#region src/client/charts/ChartLoader.tsx
|
|
4071
|
-
var
|
|
4081
|
+
var q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Set(), Ua = {
|
|
4072
4082
|
bar: {
|
|
4073
4083
|
packageName: "recharts",
|
|
4074
4084
|
installCommand: "npm install recharts"
|
|
@@ -4133,33 +4143,33 @@ var J = /* @__PURE__ */ new Map(), Y = /* @__PURE__ */ new Set(), Ha = {
|
|
|
4133
4143
|
packageName: "d3-shape",
|
|
4134
4144
|
installCommand: "npm install d3-shape"
|
|
4135
4145
|
}
|
|
4136
|
-
},
|
|
4137
|
-
bar: () => import("./chart-bar-
|
|
4138
|
-
line: () => import("./chart-line-
|
|
4139
|
-
area: () => import("./chart-area-
|
|
4140
|
-
pie: () => import("./chart-pie-
|
|
4141
|
-
scatter: () => import("./chart-scatter-
|
|
4142
|
-
radar: () => import("./chart-radar-
|
|
4143
|
-
radialBar: () => import("./chart-radial-bar-
|
|
4144
|
-
treemap: () => import("./chart-tree-map-
|
|
4145
|
-
bubble: () => import("./chart-bubble-
|
|
4146
|
+
}, Y = {
|
|
4147
|
+
bar: () => import("./chart-bar-DKXfLoGG.js").then((e) => e.n),
|
|
4148
|
+
line: () => import("./chart-line-r4iWevKZ.js").then((e) => e.n),
|
|
4149
|
+
area: () => import("./chart-area-CXFK-Grv.js").then((e) => e.n),
|
|
4150
|
+
pie: () => import("./chart-pie-yqH2YVEI.js").then((e) => e.n),
|
|
4151
|
+
scatter: () => import("./chart-scatter-DZPirzwX.js").then((e) => e.n),
|
|
4152
|
+
radar: () => import("./chart-radar-B-_3v-rE.js").then((e) => e.n),
|
|
4153
|
+
radialBar: () => import("./chart-radial-bar-C0EgzfAF.js").then((e) => e.n),
|
|
4154
|
+
treemap: () => import("./chart-tree-map-Bi4axCvh.js").then((e) => e.n),
|
|
4155
|
+
bubble: () => import("./chart-bubble-DGkTQlxM.js").then((e) => e.t),
|
|
4146
4156
|
table: () => Promise.resolve().then(() => Lo),
|
|
4147
|
-
activityGrid: () => import("./chart-activity-grid-
|
|
4148
|
-
kpiNumber: () => import("./
|
|
4149
|
-
kpiDelta: () => import("./
|
|
4150
|
-
kpiText: () => import("./
|
|
4151
|
-
markdown: () => import("./chart-markdown-
|
|
4152
|
-
funnel: () => import("./chart-funnel-
|
|
4153
|
-
sankey: () => import("./chart-sankey-
|
|
4154
|
-
sunburst: () => import("./chart-sunburst-
|
|
4155
|
-
heatmap: () => import("./chart-heat-map
|
|
4156
|
-
retentionHeatmap: () => import("./RetentionHeatmap-
|
|
4157
|
-
retentionCombined: () => import("./RetentionCombinedChart-
|
|
4158
|
-
boxPlot: () => import("./chart-box-plot-
|
|
4159
|
-
waterfall: () => import("./chart-waterfall-
|
|
4160
|
-
candlestick: () => import("./chart-candlestick-
|
|
4161
|
-
measureProfile: () => import("./chart-measure-profile-
|
|
4162
|
-
gauge: () => import("./chart-gauge-
|
|
4157
|
+
activityGrid: () => import("./chart-activity-grid-CiHrLH6Y.js").then((e) => e.t),
|
|
4158
|
+
kpiNumber: () => import("./chart-kpi-number-C6gWz-x4.js").then((e) => e.t),
|
|
4159
|
+
kpiDelta: () => import("./chart-kpi-delta-CxOYD2f1.js").then((e) => e.t),
|
|
4160
|
+
kpiText: () => import("./chart-kpi-text-dDONrhS-.js").then((e) => e.t),
|
|
4161
|
+
markdown: () => import("./chart-markdown-BPW-EAm9.js").then((e) => e.n),
|
|
4162
|
+
funnel: () => import("./chart-funnel-Eke8IPtG.js").then((e) => e.n),
|
|
4163
|
+
sankey: () => import("./chart-sankey-CFzjGvZX.js").then((e) => e.t),
|
|
4164
|
+
sunburst: () => import("./chart-sunburst-91Q2tzaB.js").then((e) => e.t),
|
|
4165
|
+
heatmap: () => import("./chart-heat-map-C86thSJ4.js").then((e) => e.t),
|
|
4166
|
+
retentionHeatmap: () => import("./RetentionHeatmap-B24PiIfr.js"),
|
|
4167
|
+
retentionCombined: () => import("./RetentionCombinedChart-CCpu0C-s.js"),
|
|
4168
|
+
boxPlot: () => import("./chart-box-plot-Bu9hy-17.js").then((e) => e.t),
|
|
4169
|
+
waterfall: () => import("./chart-waterfall-DcHbbPaG.js").then((e) => e.t),
|
|
4170
|
+
candlestick: () => import("./chart-candlestick-Dau5AF4E.js").then((e) => e.t),
|
|
4171
|
+
measureProfile: () => import("./chart-measure-profile-BI3kADCp.js").then((e) => e.t),
|
|
4172
|
+
gauge: () => import("./chart-gauge-DeRZNsyl.js").then((e) => e.t)
|
|
4163
4173
|
}, X = /* @__PURE__ */ new Map();
|
|
4164
4174
|
function Wa(e) {
|
|
4165
4175
|
let t = ({ height: t }) => {
|
|
@@ -4183,7 +4193,7 @@ function Wa(e) {
|
|
|
4183
4193
|
return t.displayName = `UnknownChart_${e}`, t;
|
|
4184
4194
|
}
|
|
4185
4195
|
function Ga(e) {
|
|
4186
|
-
let t =
|
|
4196
|
+
let t = Ua[e], n = ({ height: n }) => /* @__PURE__ */ T(Ha, {
|
|
4187
4197
|
chartType: e,
|
|
4188
4198
|
packageName: t?.packageName || "unknown",
|
|
4189
4199
|
installCommand: t?.installCommand || "npm install [package-name]",
|
|
@@ -4196,23 +4206,23 @@ function Ka(e, t) {
|
|
|
4196
4206
|
try {
|
|
4197
4207
|
return await t();
|
|
4198
4208
|
} catch (t) {
|
|
4199
|
-
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t),
|
|
4209
|
+
return console.warn(`[drizzle-cube] Failed to load ${e} chart:`, t instanceof Error ? t.message : t), J.add(e), { default: Ga(e) };
|
|
4200
4210
|
}
|
|
4201
4211
|
};
|
|
4202
4212
|
}
|
|
4203
4213
|
function qa(e) {
|
|
4204
4214
|
let t = X.get(e);
|
|
4205
4215
|
if (t) return t;
|
|
4206
|
-
if (
|
|
4207
|
-
let n =
|
|
4216
|
+
if (q.has(e)) return q.get(e);
|
|
4217
|
+
let n = Y[e];
|
|
4208
4218
|
if (n) {
|
|
4209
4219
|
let t = Ka(e, n);
|
|
4210
|
-
return
|
|
4220
|
+
return q.set(e, _e(t)), q.get(e);
|
|
4211
4221
|
}
|
|
4212
4222
|
return _e(() => Promise.resolve({ default: Wa(e) }));
|
|
4213
4223
|
}
|
|
4214
4224
|
function Ja(e) {
|
|
4215
|
-
return e in
|
|
4225
|
+
return e in Y || X.has(e);
|
|
4216
4226
|
}
|
|
4217
4227
|
function Ya({ height: e }) {
|
|
4218
4228
|
return /* @__PURE__ */ T("div", {
|
|
@@ -4232,24 +4242,24 @@ function Xa({ chartType: e, fallback: t, height: n, ...r }) {
|
|
|
4232
4242
|
});
|
|
4233
4243
|
}
|
|
4234
4244
|
function Za(e) {
|
|
4235
|
-
let t =
|
|
4245
|
+
let t = Y[e];
|
|
4236
4246
|
t && t();
|
|
4237
4247
|
}
|
|
4238
4248
|
function Qa(e) {
|
|
4239
4249
|
e.forEach(Za);
|
|
4240
4250
|
}
|
|
4241
4251
|
function $a() {
|
|
4242
|
-
let e = Object.keys(
|
|
4252
|
+
let e = Object.keys(Y), t = Array.from(X.keys());
|
|
4243
4253
|
return [...new Set([...e, ...t])];
|
|
4244
4254
|
}
|
|
4245
4255
|
function eo(e) {
|
|
4246
|
-
return !
|
|
4256
|
+
return !J.has(e);
|
|
4247
4257
|
}
|
|
4248
4258
|
function to() {
|
|
4249
|
-
return Array.from(
|
|
4259
|
+
return Array.from(J);
|
|
4250
4260
|
}
|
|
4251
4261
|
function no(e, t, n, r) {
|
|
4252
|
-
if (
|
|
4262
|
+
if (q.delete(e), J.delete(e), n) {
|
|
4253
4263
|
let t = r ? Ka(e, n) : n;
|
|
4254
4264
|
X.set(e, _e(t));
|
|
4255
4265
|
} else if (t) {
|
|
@@ -4258,7 +4268,7 @@ function no(e, t, n, r) {
|
|
|
4258
4268
|
}
|
|
4259
4269
|
}
|
|
4260
4270
|
function ro(e) {
|
|
4261
|
-
X.delete(e),
|
|
4271
|
+
X.delete(e), q.delete(e), J.delete(e);
|
|
4262
4272
|
}
|
|
4263
4273
|
//#endregion
|
|
4264
4274
|
//#region src/client/charts/chartConfigs.ts
|
|
@@ -4295,32 +4305,32 @@ var io = {
|
|
|
4295
4305
|
"showTooltip"
|
|
4296
4306
|
]
|
|
4297
4307
|
}, ao = {
|
|
4298
|
-
bar: () => import("./chart-config-bar-
|
|
4299
|
-
line: () => import("./chart-config-line-
|
|
4300
|
-
area: () => import("./chart-config-area-
|
|
4301
|
-
pie: () => import("./chart-config-pie-
|
|
4302
|
-
scatter: () => import("./chart-config-scatter-
|
|
4303
|
-
radar: () => import("./chart-config-radar-
|
|
4304
|
-
radialBar: () => import("./chart-config-radial-bar-
|
|
4305
|
-
treemap: () => import("./chart-config-tree-map-
|
|
4306
|
-
bubble: () => import("./chart-config-bubble-
|
|
4307
|
-
table: () => import("./chart-config-data-table-
|
|
4308
|
-
activityGrid: () => import("./chart-config-activity-grid-
|
|
4309
|
-
kpiNumber: () => import("./chart-config-kpi-number-
|
|
4310
|
-
kpiDelta: () => import("./chart-config-kpi-delta-
|
|
4311
|
-
kpiText: () => import("./chart-config-kpi-text-
|
|
4312
|
-
markdown: () => import("./chart-config-markdown-
|
|
4313
|
-
funnel: () => import("./chart-config-funnel-
|
|
4314
|
-
sankey: () => import("./chart-config-sankey-
|
|
4315
|
-
sunburst: () => import("./chart-config-sunburst-
|
|
4316
|
-
heatmap: () => import("./chart-config-heat-map-
|
|
4308
|
+
bar: () => import("./chart-config-bar-_JEGZnAu.js").then((e) => e.t),
|
|
4309
|
+
line: () => import("./chart-config-line-Db3jDsWc.js").then((e) => e.t),
|
|
4310
|
+
area: () => import("./chart-config-area-Bq_UsW3x.js").then((e) => e.t),
|
|
4311
|
+
pie: () => import("./chart-config-pie-DD4SmRTF.js").then((e) => e.t),
|
|
4312
|
+
scatter: () => import("./chart-config-scatter-DSYTjwRb.js").then((e) => e.t),
|
|
4313
|
+
radar: () => import("./chart-config-radar-CC2XAaGr.js").then((e) => e.t),
|
|
4314
|
+
radialBar: () => import("./chart-config-radial-bar-DmxKx1R0.js").then((e) => e.t),
|
|
4315
|
+
treemap: () => import("./chart-config-tree-map-BI-oQStO.js").then((e) => e.t),
|
|
4316
|
+
bubble: () => import("./chart-config-bubble-gIoqVyjZ.js").then((e) => e.t),
|
|
4317
|
+
table: () => import("./chart-config-data-table-d7VBY-y_.js").then((e) => e.t),
|
|
4318
|
+
activityGrid: () => import("./chart-config-activity-grid-D_UX4NHC.js").then((e) => e.t),
|
|
4319
|
+
kpiNumber: () => import("./chart-config-kpi-number-Bx-V9a62.js").then((e) => e.t),
|
|
4320
|
+
kpiDelta: () => import("./chart-config-kpi-delta-D6BIkHL3.js").then((e) => e.t),
|
|
4321
|
+
kpiText: () => import("./chart-config-kpi-text-CcqC1u-8.js").then((e) => e.t),
|
|
4322
|
+
markdown: () => import("./chart-config-markdown-BtRIe8JN.js").then((e) => e.t),
|
|
4323
|
+
funnel: () => import("./chart-config-funnel-DEYMcxsD.js").then((e) => e.t),
|
|
4324
|
+
sankey: () => import("./chart-config-sankey-BTnWA7EW.js").then((e) => e.t),
|
|
4325
|
+
sunburst: () => import("./chart-config-sunburst-Bwjtdf7X.js").then((e) => e.t),
|
|
4326
|
+
heatmap: () => import("./chart-config-heat-map-CfRnRNcw.js").then((e) => e.t),
|
|
4317
4327
|
retentionHeatmap: () => Promise.resolve().then(() => yo),
|
|
4318
4328
|
retentionCombined: () => Promise.resolve().then(() => xo),
|
|
4319
|
-
boxPlot: () => import("./chart-config-box-plot-
|
|
4320
|
-
waterfall: () => import("./chart-config-waterfall-
|
|
4321
|
-
candlestick: () => import("./chart-config-candlestick-
|
|
4322
|
-
measureProfile: () => import("./chart-config-measure-profile-
|
|
4323
|
-
gauge: () => import("./chart-config-gauge-
|
|
4329
|
+
boxPlot: () => import("./chart-config-box-plot-DJ-dWWXA.js").then((e) => e.t),
|
|
4330
|
+
waterfall: () => import("./chart-config-waterfall-DSnyixbI.js").then((e) => e.t),
|
|
4331
|
+
candlestick: () => import("./chart-config-candlestick-N6DchAA3.js").then((e) => e.t),
|
|
4332
|
+
measureProfile: () => import("./chart-config-measure-profile-DxRGa-zf.js").then((e) => e.t),
|
|
4333
|
+
gauge: () => import("./chart-config-gauge-DSwC04l0.js").then((e) => e.t)
|
|
4324
4334
|
}, oo = {
|
|
4325
4335
|
bar: "barChartConfig",
|
|
4326
4336
|
line: "lineChartConfig",
|
|
@@ -4414,24 +4424,24 @@ function _o(e) {
|
|
|
4414
4424
|
//#endregion
|
|
4415
4425
|
//#region src/client/providers/CubeMetaProvider.tsx
|
|
4416
4426
|
function vo({ children: e }) {
|
|
4417
|
-
let { meta: t, labelMap: n, isLoading:
|
|
4427
|
+
let { meta: t, labelMap: n, isLoading: i, error: a, refetch: o, getFieldLabel: s } = Gt(), c = a ? a instanceof Error ? a.message : String(a) : null, l = ve(() => {
|
|
4418
4428
|
o();
|
|
4419
4429
|
}, [o]), u = ve((e) => s(e), [s]), d = C(() => ({
|
|
4420
4430
|
meta: t,
|
|
4421
4431
|
labelMap: n,
|
|
4422
|
-
metaLoading:
|
|
4432
|
+
metaLoading: i,
|
|
4423
4433
|
metaError: c,
|
|
4424
4434
|
getFieldLabel: u,
|
|
4425
4435
|
refetchMeta: l
|
|
4426
4436
|
}), [
|
|
4427
4437
|
t,
|
|
4428
4438
|
n,
|
|
4429
|
-
|
|
4439
|
+
i,
|
|
4430
4440
|
c,
|
|
4431
4441
|
u,
|
|
4432
4442
|
l
|
|
4433
4443
|
]);
|
|
4434
|
-
return /* @__PURE__ */ T(
|
|
4444
|
+
return /* @__PURE__ */ T(r.Provider, {
|
|
4435
4445
|
value: d,
|
|
4436
4446
|
children: e
|
|
4437
4447
|
});
|
|
@@ -4576,10 +4586,10 @@ var $ = new class {
|
|
|
4576
4586
|
for (let e of this.listeners) e();
|
|
4577
4587
|
}
|
|
4578
4588
|
}();
|
|
4579
|
-
|
|
4589
|
+
Ma((e) => $.getIcon(e));
|
|
4580
4590
|
//#endregion
|
|
4581
4591
|
//#region src/client/providers/CubeProvider.tsx
|
|
4582
|
-
var To = { apiUrl: "/cubejs-api/v1" }, Eo = () => new
|
|
4592
|
+
var To = { apiUrl: "/cubejs-api/v1" }, Eo = () => new vt({ defaultOptions: { queries: {
|
|
4583
4593
|
staleTime: 300 * 1e3,
|
|
4584
4594
|
gcTime: 900 * 1e3,
|
|
4585
4595
|
retry: 3,
|
|
@@ -4607,16 +4617,16 @@ function Do({ cubeApi: e, apiOptions: t, token: r, options: i, features: o, dash
|
|
|
4607
4617
|
}, [d]), /* @__PURE__ */ T(n, {
|
|
4608
4618
|
locale: f,
|
|
4609
4619
|
translations: p,
|
|
4610
|
-
children: /* @__PURE__ */ T(
|
|
4620
|
+
children: /* @__PURE__ */ T(xt, {
|
|
4611
4621
|
client: _,
|
|
4612
|
-
children: /* @__PURE__ */ T(
|
|
4622
|
+
children: /* @__PURE__ */ T(Vt, {
|
|
4613
4623
|
apiOptions: t || To,
|
|
4614
4624
|
token: r,
|
|
4615
4625
|
options: i,
|
|
4616
4626
|
locale: f,
|
|
4617
4627
|
enableBatching: c,
|
|
4618
4628
|
batchDelayMs: l,
|
|
4619
|
-
children: /* @__PURE__ */ T(vo, { children: /* @__PURE__ */ T(
|
|
4629
|
+
children: /* @__PURE__ */ T(vo, { children: /* @__PURE__ */ T(wn, {
|
|
4620
4630
|
features: o,
|
|
4621
4631
|
dashboardModes: s,
|
|
4622
4632
|
children: h
|
|
@@ -4626,7 +4636,7 @@ function Do({ cubeApi: e, apiOptions: t, token: r, options: i, features: o, dash
|
|
|
4626
4636
|
});
|
|
4627
4637
|
}
|
|
4628
4638
|
function Oo() {
|
|
4629
|
-
let e =
|
|
4639
|
+
let e = Ht(), t = i(), n = En();
|
|
4630
4640
|
return C(() => ({
|
|
4631
4641
|
...e,
|
|
4632
4642
|
...t,
|
|
@@ -4749,8 +4759,8 @@ function Io(e, t) {
|
|
|
4749
4759
|
}
|
|
4750
4760
|
//#endregion
|
|
4751
4761
|
//#region src/client/components/charts/DataTable.tsx
|
|
4752
|
-
var Lo = /* @__PURE__ */ t({ default: () => Ro }), Ro = fe.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject:
|
|
4753
|
-
let { t: s } = o(), { getFieldLabel: c, meta: l } =
|
|
4762
|
+
var Lo = /* @__PURE__ */ t({ default: () => Ro }), Ro = fe.memo(function({ data: e, chartConfig: t, displayConfig: n = {}, queryObject: r, height: a = 300 }) {
|
|
4763
|
+
let { t: s } = o(), { getFieldLabel: c, meta: l } = i(), u = C(() => Ao(r, t?.xAxis), [r, t?.xAxis]), d = n?.pivotTimeDimension !== !1, f = C(() => !u || !d ? null : Fo(e, u, c, l), [
|
|
4754
4764
|
e,
|
|
4755
4765
|
u,
|
|
4756
4766
|
d,
|
|
@@ -4778,7 +4788,7 @@ var Lo = /* @__PURE__ */ t({ default: () => Ro }), Ro = fe.memo(function({ data:
|
|
|
4778
4788
|
}) : /* @__PURE__ */ T(Ho, {
|
|
4779
4789
|
data: e,
|
|
4780
4790
|
chartConfig: t,
|
|
4781
|
-
queryObject:
|
|
4791
|
+
queryObject: r,
|
|
4782
4792
|
height: a,
|
|
4783
4793
|
getFieldLabel: c,
|
|
4784
4794
|
leftYAxisFormat: n?.leftYAxisFormat
|
|
@@ -4823,7 +4833,7 @@ function zo({ pivotedData: e, height: t, meta: n, leftYAxisFormat: r }) {
|
|
|
4823
4833
|
});
|
|
4824
4834
|
}
|
|
4825
4835
|
function Bo({ row: e, columns: t, meta: n, leftYAxisFormat: r }) {
|
|
4826
|
-
let i =
|
|
4836
|
+
let i = za(Io(e.measureField, n));
|
|
4827
4837
|
return /* @__PURE__ */ T("tr", {
|
|
4828
4838
|
className: "hover:bg-dc-surface-secondary",
|
|
4829
4839
|
children: t.map((t) => {
|
|
@@ -4903,6 +4913,6 @@ function Uo(e, t) {
|
|
|
4903
4913
|
return e == null ? "" : typeof e == "number" ? t ? c(e, t) : e.toLocaleString() : typeof e == "boolean" ? e ? "Yes" : "No" : String(e);
|
|
4904
4914
|
}
|
|
4905
4915
|
//#endregion
|
|
4906
|
-
export {
|
|
4916
|
+
export { Nt as $, Ra as A, gn as B, Za as C, K as D, Va as E, Aa as F, Zt as G, Xt as H, ka as I, Ht as J, Yt as K, li as L, Ia as M, La as N, Pa as O, Fa as P, At as Q, En as R, Ja as S, Ba as T, tn as U, _n as V, Qt as W, Rt as X, It as Y, Ft as Z, uo as _, Fo as a, Ct as at, to as b, $ as c, ot as ct, so as d, k as dt, Mt as et, co as f, Me as ft, po as g, fo as h, D as ht, Ao as i, Et as it, za as j, Na as k, Q as l, I as lt, mo as m, He as mt, Io as n, kt as nt, Do as o, bt as ot, lo as p, P as pt, Gt as q, ko as r, Ot as rt, Oo as s, mt as st, Ro as t, Dt as tt, ho as u, M as ut, Xa as v, Qa as w, eo as x, $a as y, xn as z };
|
|
4907
4917
|
|
|
4908
|
-
//# sourceMappingURL=chart-data-table-
|
|
4918
|
+
//# sourceMappingURL=chart-data-table-Cm5jrpaw.js.map
|