@perses-dev/prometheus-plugin 0.50.2 → 0.51.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +183 -183
- package/README.md +41 -0
- package/__mf/css/async/2341.dacad691.css +1 -0
- package/__mf/css/async/5263.dacad691.css +1 -0
- package/__mf/css/async/6759.dacad691.css +1 -0
- package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
- package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
- package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
- package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
- package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
- package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
- package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
- package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
- package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
- package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
- package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
- package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
- package/__mf/js/622.f7592106.js +5 -0
- package/__mf/js/Prometheus.328aad7c.js +5 -0
- package/__mf/js/async/1465.3b5e12d5.js +1 -0
- package/__mf/js/async/1495.6c8b8071.js +1 -0
- package/__mf/js/async/1620.6376bd14.js +2 -0
- package/__mf/js/async/1620.6376bd14.js.LICENSE.txt +9 -0
- package/__mf/js/async/1864.df7c4beb.js +1 -0
- package/__mf/js/async/1950.704c331e.js +1 -0
- package/__mf/js/async/1964.95da06f6.js +2 -0
- package/__mf/js/async/1964.95da06f6.js.LICENSE.txt +9 -0
- package/__mf/js/async/1996.01084c88.js +2 -0
- package/__mf/js/async/1996.01084c88.js.LICENSE.txt +24 -0
- package/__mf/js/async/212.bd5d617a.js +1 -0
- package/__mf/js/async/2316.fec4907a.js +1 -0
- package/__mf/js/async/232.f3523a60.js +1 -0
- package/__mf/js/async/2569.daf868a6.js +10 -0
- package/__mf/js/async/2569.daf868a6.js.LICENSE.txt +27 -0
- package/__mf/js/async/2675.c3b73822.js +1 -0
- package/__mf/js/async/3224.23f0dccf.js +1 -0
- package/__mf/js/async/3355.a4dbcdb0.js +1 -0
- package/__mf/js/async/3436.97c926a4.js +1 -0
- package/__mf/js/async/3818.dde21d04.js +1 -0
- package/__mf/js/async/3871.6915e369.js +1 -0
- package/__mf/js/async/3960.129d5ef5.js +2 -0
- package/__mf/js/async/3960.129d5ef5.js.LICENSE.txt +8 -0
- package/__mf/js/async/4075.b77ca1c7.js +1 -0
- package/__mf/js/async/4238.8e4d29d5.js +1 -0
- package/__mf/js/async/4323.4266fd6a.js +1 -0
- package/__mf/js/async/4421.1bcc1637.js +1 -0
- package/__mf/js/async/4489.3361e7bc.js +29 -0
- package/__mf/js/async/4489.3361e7bc.js.LICENSE.txt +59 -0
- package/__mf/js/async/5214.027c4332.js +1 -0
- package/__mf/js/async/5345.8c2e4b4a.js +1 -0
- package/__mf/js/async/537.6911ea2e.js +1 -0
- package/__mf/js/async/5387.fd6e16d6.js +1 -0
- package/__mf/js/async/5654.ecb41aea.js +38 -0
- package/__mf/js/async/5724.6ee6ec51.js +1 -0
- package/__mf/js/async/5774.9b0b6be1.js +1 -0
- package/__mf/js/async/5790.2273e061.js +1 -0
- package/__mf/js/async/5913.9d30fd07.js +73 -0
- package/__mf/js/async/5913.9d30fd07.js.LICENSE.txt +19 -0
- package/__mf/js/async/5914.bd342d22.js +74 -0
- package/__mf/js/async/5981.40bed0d0.js +2 -0
- package/__mf/js/async/5981.40bed0d0.js.LICENSE.txt +8 -0
- package/__mf/js/async/6292.7b8efa78.js +1 -0
- package/__mf/js/async/6333.865a46e0.js +2 -0
- package/__mf/js/async/6333.865a46e0.js.LICENSE.txt +9 -0
- package/__mf/js/async/6377.ca974d89.js +2 -0
- package/__mf/js/async/6377.ca974d89.js.LICENSE.txt +32 -0
- package/__mf/js/async/6770.adb1c939.js +1 -0
- package/__mf/js/async/684.ca510333.js +1 -0
- package/__mf/js/async/694.f861d67c.js +1 -0
- package/__mf/js/async/7272.a763aa92.js +1 -0
- package/__mf/js/async/738.aca54e25.js +1 -0
- package/__mf/js/async/7740.0c5363fd.js +1 -0
- package/__mf/js/async/8265.b9e2c31e.js +1 -0
- package/__mf/js/async/8488.5237550f.js +1 -0
- package/__mf/js/async/8587.4891ea90.js +1 -0
- package/__mf/js/async/8610.8300df79.js +1 -0
- package/__mf/js/async/87.fdc843ac.js +1 -0
- package/__mf/js/async/8930.9fbbc975.js +1 -0
- package/__mf/js/async/8997.18901f45.js +28 -0
- package/__mf/js/async/9173.e8fbead5.js +2 -0
- package/__mf/js/async/9173.e8fbead5.js.LICENSE.txt +19 -0
- package/__mf/js/async/__federation_expose_PrometheusDatasource.f6f57299.js +1 -0
- package/__mf/js/async/__federation_expose_PrometheusExplorer.5fcf955a.js +1 -0
- package/__mf/js/async/__federation_expose_PrometheusLabelNamesVariable.86d0ad5a.js +1 -0
- package/__mf/js/async/__federation_expose_PrometheusLabelValuesVariable.b2893484.js +1 -0
- package/__mf/js/async/__federation_expose_PrometheusPromQLVariable.cd16f6e8.js +1 -0
- package/__mf/js/async/__federation_expose_PrometheusTimeSeriesQuery.eb9eefa6.js +1 -0
- package/__mf/js/main.154a5b65.js +1 -0
- package/lib/bootstrap.d.ts +2 -0
- package/lib/bootstrap.d.ts.map +1 -0
- package/lib/bootstrap.js +19 -0
- package/lib/bootstrap.js.map +1 -0
- package/lib/cjs/bootstrap.js +26 -0
- package/{dist → lib}/cjs/components/PromQLEditor.js +9 -7
- package/lib/cjs/components/TreeNode.js +492 -0
- package/{dist → lib}/cjs/components/promql/ast.js +21 -21
- package/lib/cjs/components/promql/functionSignatures.js +651 -0
- package/lib/cjs/components/promql/serialize.js +88 -0
- package/{dist → lib}/cjs/components/promql/utils.js +12 -1
- package/{dist/cjs/components/parse.js → lib/cjs/components/query.js} +37 -4
- package/lib/cjs/env.d.js +14 -0
- package/lib/cjs/explore/PrometheusExplorer.js +203 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/PrometheusMetricsFinder.js +268 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/display/MetricChip.js +61 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/display/list/MetricList.js +179 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/filter/FilterInputs.js +231 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/filter/FinderFilters.js +97 -0
- package/{dist/cjs/plugins/prometheus-time-series-query → lib/cjs/explore/PrometheusMetricsFinder}/index.js +1 -1
- package/lib/cjs/explore/PrometheusMetricsFinder/overview/MetricOverview.js +235 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/overview/tabs/JobTab.js +144 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/overview/tabs/OverviewTab.js +423 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/overview/tabs/SimilarTab.js +53 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/types.js +25 -0
- package/lib/cjs/explore/PrometheusMetricsFinder/utils.js +203 -0
- package/lib/cjs/explore/index.js +19 -0
- package/lib/cjs/getPluginModule.js +27 -0
- package/lib/cjs/index-federation.js +55 -0
- package/lib/cjs/index.js +28 -0
- package/{dist → lib}/cjs/model/api-types.js +1 -1
- package/{dist → lib}/cjs/model/prometheus-client.js +1 -1
- package/lib/cjs/plugins/PrometheusDatasourceEditor.js +109 -0
- package/lib/cjs/plugins/PrometheusLabelNamesVariable.js +34 -0
- package/lib/cjs/plugins/PrometheusLabelValuesVariable.js +38 -0
- package/lib/cjs/plugins/PrometheusPromQLVariable.js +42 -0
- package/lib/cjs/plugins/index.js +26 -0
- package/{dist → lib}/cjs/plugins/prometheus-datasource.js +9 -9
- package/{dist → lib}/cjs/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js +11 -9
- package/{dist → lib}/cjs/plugins/prometheus-time-series-query/get-time-series-data.js +51 -29
- package/lib/cjs/plugins/prometheus-time-series-query/index.js +35 -0
- package/{dist → lib}/cjs/plugins/prometheus-variables.js +25 -101
- package/{dist → lib}/cjs/plugins/variable.js +1 -2
- package/lib/cjs/setup-tests.js +19 -0
- package/{dist → lib}/cjs/utils/utils.js +1 -2
- package/lib/components/PromQLEditor.d.ts.map +1 -0
- package/{dist → lib}/components/PromQLEditor.js +9 -7
- package/lib/components/PromQLEditor.js.map +1 -0
- package/lib/components/TreeNode.d.ts +15 -0
- package/lib/components/TreeNode.d.ts.map +1 -0
- package/lib/components/TreeNode.js +479 -0
- package/lib/components/TreeNode.js.map +1 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js.map +1 -0
- package/lib/components/promql/ast.d.ts.map +1 -0
- package/{dist → lib}/components/promql/ast.js +21 -21
- package/lib/components/promql/ast.js.map +1 -0
- package/{dist → lib}/components/promql/format.d.ts +1 -1
- package/lib/components/promql/format.d.ts.map +1 -0
- package/lib/components/promql/format.js.map +1 -0
- package/lib/components/promql/functionSignatures.d.ts +3 -0
- package/lib/components/promql/functionSignatures.d.ts.map +1 -0
- package/lib/components/promql/functionSignatures.js +643 -0
- package/lib/components/promql/functionSignatures.js.map +1 -0
- package/lib/components/promql/serialize.d.ts +4 -0
- package/lib/components/promql/serialize.d.ts.map +1 -0
- package/lib/components/promql/serialize.js +80 -0
- package/lib/components/promql/serialize.js.map +1 -0
- package/{dist → lib}/components/promql/utils.d.ts +1 -0
- package/lib/components/promql/utils.d.ts.map +1 -0
- package/{dist → lib}/components/promql/utils.js +9 -1
- package/lib/components/promql/utils.js.map +1 -0
- package/lib/components/query.d.ts +6 -0
- package/lib/components/query.d.ts.map +1 -0
- package/{dist/components/parse.js → lib/components/query.js} +27 -2
- package/lib/components/query.js.map +1 -0
- package/lib/env.d.js +15 -0
- package/lib/env.d.js.map +1 -0
- package/lib/explore/PrometheusExplorer.d.ts +3 -0
- package/lib/explore/PrometheusExplorer.d.ts.map +1 -0
- package/lib/explore/PrometheusExplorer.js +190 -0
- package/lib/explore/PrometheusExplorer.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/PrometheusMetricsFinder.d.ts +31 -0
- package/lib/explore/PrometheusMetricsFinder/PrometheusMetricsFinder.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/PrometheusMetricsFinder.js +244 -0
- package/lib/explore/PrometheusMetricsFinder/PrometheusMetricsFinder.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/display/MetricChip.d.ts +4 -0
- package/lib/explore/PrometheusMetricsFinder/display/MetricChip.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/display/MetricChip.js +53 -0
- package/lib/explore/PrometheusMetricsFinder/display/MetricChip.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/display/list/MetricList.d.ts +27 -0
- package/lib/explore/PrometheusMetricsFinder/display/list/MetricList.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/display/list/MetricList.js +158 -0
- package/lib/explore/PrometheusMetricsFinder/display/list/MetricList.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/filter/FilterInputs.d.ts +23 -0
- package/lib/explore/PrometheusMetricsFinder/filter/FilterInputs.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/filter/FilterInputs.js +209 -0
- package/lib/explore/PrometheusMetricsFinder/filter/FilterInputs.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.d.ts +13 -0
- package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.js +84 -0
- package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/index.d.ts +2 -0
- package/lib/explore/PrometheusMetricsFinder/index.d.ts.map +1 -0
- package/{dist/model/api-types.js → lib/explore/PrometheusMetricsFinder/index.js} +2 -2
- package/lib/explore/PrometheusMetricsFinder/index.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/overview/MetricOverview.d.ts +23 -0
- package/lib/explore/PrometheusMetricsFinder/overview/MetricOverview.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/overview/MetricOverview.js +214 -0
- package/lib/explore/PrometheusMetricsFinder/overview/MetricOverview.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/JobTab.d.ts +28 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/JobTab.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/JobTab.js +125 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/JobTab.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/OverviewTab.d.ts +25 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/OverviewTab.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/OverviewTab.js +399 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/OverviewTab.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/SimilarTab.d.ts +12 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/SimilarTab.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/SimilarTab.js +45 -0
- package/lib/explore/PrometheusMetricsFinder/overview/tabs/SimilarTab.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/types.d.ts +22 -0
- package/lib/explore/PrometheusMetricsFinder/types.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/types.js +17 -0
- package/lib/explore/PrometheusMetricsFinder/types.js.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/utils.d.ts +22 -0
- package/lib/explore/PrometheusMetricsFinder/utils.d.ts.map +1 -0
- package/lib/explore/PrometheusMetricsFinder/utils.js +185 -0
- package/lib/explore/PrometheusMetricsFinder/utils.js.map +1 -0
- package/lib/explore/index.d.ts +3 -0
- package/lib/explore/index.d.ts.map +1 -0
- package/lib/explore/index.js +4 -0
- package/lib/explore/index.js.map +1 -0
- package/lib/getPluginModule.d.ts +6 -0
- package/lib/getPluginModule.d.ts.map +1 -0
- package/lib/getPluginModule.js +16 -0
- package/lib/getPluginModule.js.map +1 -0
- package/lib/index-federation.d.ts +1 -0
- package/lib/index-federation.d.ts.map +1 -0
- package/lib/index-federation.js +15 -0
- package/{dist/components/index.js.map → lib/index-federation.js.map} +1 -1
- package/lib/index.d.ts +6 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -0
- package/{dist → lib}/model/api-types.d.ts +18 -1
- package/lib/model/api-types.d.ts.map +1 -0
- package/{dist/plugins/prometheus-time-series-query/index.js → lib/model/api-types.js} +3 -3
- package/lib/model/api-types.js.map +1 -0
- package/lib/model/index.d.ts.map +1 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/parse-sample-values.d.ts.map +1 -0
- package/lib/model/parse-sample-values.js.map +1 -0
- package/lib/model/prometheus-client.d.ts.map +1 -0
- package/{dist → lib}/model/prometheus-client.js +1 -1
- package/lib/model/prometheus-client.js.map +1 -0
- package/lib/model/prometheus-selectors.d.ts.map +1 -0
- package/lib/model/prometheus-selectors.js.map +1 -0
- package/lib/model/time.d.ts.map +1 -0
- package/lib/model/time.js.map +1 -0
- package/lib/plugins/MatcherEditor.d.ts.map +1 -0
- package/lib/plugins/MatcherEditor.js.map +1 -0
- package/lib/plugins/PrometheusDatasourceEditor.d.ts.map +1 -0
- package/lib/plugins/PrometheusDatasourceEditor.js +96 -0
- package/lib/plugins/PrometheusDatasourceEditor.js.map +1 -0
- package/lib/plugins/PrometheusLabelNamesVariable.d.ts +4 -0
- package/lib/plugins/PrometheusLabelNamesVariable.d.ts.map +1 -0
- package/lib/plugins/PrometheusLabelNamesVariable.js +26 -0
- package/lib/plugins/PrometheusLabelNamesVariable.js.map +1 -0
- package/lib/plugins/PrometheusLabelValuesVariable.d.ts +4 -0
- package/lib/plugins/PrometheusLabelValuesVariable.d.ts.map +1 -0
- package/lib/plugins/PrometheusLabelValuesVariable.js +30 -0
- package/lib/plugins/PrometheusLabelValuesVariable.js.map +1 -0
- package/lib/plugins/PrometheusPromQLVariable.d.ts +4 -0
- package/lib/plugins/PrometheusPromQLVariable.d.ts.map +1 -0
- package/lib/plugins/PrometheusPromQLVariable.js +34 -0
- package/lib/plugins/PrometheusPromQLVariable.js.map +1 -0
- package/lib/plugins/index.d.ts +10 -0
- package/lib/plugins/index.d.ts.map +1 -0
- package/lib/plugins/index.js +11 -0
- package/lib/plugins/index.js.map +1 -0
- package/lib/plugins/prometheus-datasource.d.ts.map +1 -0
- package/{dist → lib}/plugins/prometheus-datasource.js +9 -9
- package/lib/plugins/prometheus-datasource.js.map +1 -0
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.d.ts.map +1 -0
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js.map +1 -0
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.d.ts.map +1 -0
- package/{dist → lib}/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js +9 -7
- package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js.map +1 -0
- package/lib/plugins/prometheus-time-series-query/get-time-series-data.d.ts.map +1 -0
- package/{dist → lib}/plugins/prometheus-time-series-query/get-time-series-data.js +51 -29
- package/lib/plugins/prometheus-time-series-query/get-time-series-data.js.map +1 -0
- package/lib/plugins/prometheus-time-series-query/index.d.ts +7 -0
- package/lib/plugins/prometheus-time-series-query/index.d.ts.map +1 -0
- package/lib/plugins/prometheus-time-series-query/index.js +20 -0
- package/lib/plugins/prometheus-time-series-query/index.js.map +1 -0
- package/lib/plugins/prometheus-time-series-query/query-editor-model.d.ts.map +1 -0
- package/lib/plugins/prometheus-time-series-query/query-editor-model.js.map +1 -0
- package/lib/plugins/prometheus-time-series-query/replace-prom-builtin-variables.d.ts.map +1 -0
- package/lib/plugins/prometheus-time-series-query/replace-prom-builtin-variables.js.map +1 -0
- package/lib/plugins/prometheus-time-series-query/time-series-query-model.d.ts.map +1 -0
- package/lib/plugins/prometheus-time-series-query/time-series-query-model.js.map +1 -0
- package/lib/plugins/prometheus-variables.d.ts +14 -0
- package/lib/plugins/prometheus-variables.d.ts.map +1 -0
- package/{dist → lib}/plugins/prometheus-variables.js +15 -98
- package/lib/plugins/prometheus-variables.js.map +1 -0
- package/lib/plugins/types.d.ts.map +1 -0
- package/lib/plugins/types.js.map +1 -0
- package/lib/plugins/variable.d.ts.map +1 -0
- package/{dist → lib}/plugins/variable.js +1 -2
- package/lib/plugins/variable.js.map +1 -0
- package/lib/setup-tests.d.ts +2 -0
- package/lib/setup-tests.d.ts.map +1 -0
- package/lib/setup-tests.js +17 -0
- package/{dist/utils/index.js.map → lib/setup-tests.js.map} +1 -1
- package/lib/test/setup-tests.d.ts.map +1 -0
- package/lib/test/setup-tests.js.map +1 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/utils.d.ts.map +1 -0
- package/{dist → lib}/utils/utils.js +1 -2
- package/lib/utils/utils.js.map +1 -0
- package/mf-manifest.json +898 -0
- package/mf-stats.json +1004 -0
- package/package.json +99 -38
- package/dist/cjs/components/TreeNode.js +0 -147
- package/dist/cjs/index.js +0 -61
- package/dist/cjs/plugins/PrometheusDatasourceEditor.js +0 -626
- package/dist/components/PromQLEditor.d.ts.map +0 -1
- package/dist/components/PromQLEditor.js.map +0 -1
- package/dist/components/TreeNode.d.ts +0 -10
- package/dist/components/TreeNode.d.ts.map +0 -1
- package/dist/components/TreeNode.js +0 -139
- package/dist/components/TreeNode.js.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/parse.d.ts +0 -5
- package/dist/components/parse.d.ts.map +0 -1
- package/dist/components/parse.js.map +0 -1
- package/dist/components/promql/ast.d.ts.map +0 -1
- package/dist/components/promql/ast.js.map +0 -1
- package/dist/components/promql/format.d.ts.map +0 -1
- package/dist/components/promql/format.js.map +0 -1
- package/dist/components/promql/utils.d.ts.map +0 -1
- package/dist/components/promql/utils.js.map +0 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -24
- package/dist/index.js.map +0 -1
- package/dist/model/api-types.d.ts.map +0 -1
- package/dist/model/api-types.js.map +0 -1
- package/dist/model/index.d.ts.map +0 -1
- package/dist/model/index.js.map +0 -1
- package/dist/model/parse-sample-values.d.ts.map +0 -1
- package/dist/model/parse-sample-values.js.map +0 -1
- package/dist/model/prometheus-client.d.ts.map +0 -1
- package/dist/model/prometheus-client.js.map +0 -1
- package/dist/model/prometheus-selectors.d.ts.map +0 -1
- package/dist/model/prometheus-selectors.js.map +0 -1
- package/dist/model/time.d.ts.map +0 -1
- package/dist/model/time.js.map +0 -1
- package/dist/plugins/MatcherEditor.d.ts.map +0 -1
- package/dist/plugins/MatcherEditor.js.map +0 -1
- package/dist/plugins/PrometheusDatasourceEditor.d.ts.map +0 -1
- package/dist/plugins/PrometheusDatasourceEditor.js +0 -572
- package/dist/plugins/PrometheusDatasourceEditor.js.map +0 -1
- package/dist/plugins/prometheus-datasource.d.ts.map +0 -1
- package/dist/plugins/prometheus-datasource.js.map +0 -1
- package/dist/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.d.ts.map +0 -1
- package/dist/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js.map +0 -1
- package/dist/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.d.ts.map +0 -1
- package/dist/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js.map +0 -1
- package/dist/plugins/prometheus-time-series-query/get-time-series-data.d.ts.map +0 -1
- package/dist/plugins/prometheus-time-series-query/get-time-series-data.js.map +0 -1
- package/dist/plugins/prometheus-time-series-query/index.d.ts +0 -2
- package/dist/plugins/prometheus-time-series-query/index.d.ts.map +0 -1
- package/dist/plugins/prometheus-time-series-query/index.js.map +0 -1
- package/dist/plugins/prometheus-time-series-query/query-editor-model.d.ts.map +0 -1
- package/dist/plugins/prometheus-time-series-query/query-editor-model.js.map +0 -1
- package/dist/plugins/prometheus-time-series-query/replace-prom-builtin-variables.d.ts.map +0 -1
- package/dist/plugins/prometheus-time-series-query/replace-prom-builtin-variables.js.map +0 -1
- package/dist/plugins/prometheus-time-series-query/time-series-query-model.d.ts.map +0 -1
- package/dist/plugins/prometheus-time-series-query/time-series-query-model.js.map +0 -1
- package/dist/plugins/prometheus-variables.d.ts +0 -6
- package/dist/plugins/prometheus-variables.d.ts.map +0 -1
- package/dist/plugins/prometheus-variables.js.map +0 -1
- package/dist/plugins/types.d.ts.map +0 -1
- package/dist/plugins/types.js.map +0 -1
- package/dist/plugins/variable.d.ts.map +0 -1
- package/dist/plugins/variable.js.map +0 -1
- package/dist/test/setup-tests.d.ts.map +0 -1
- package/dist/test/setup-tests.js.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/utils.d.ts.map +0 -1
- package/dist/utils/utils.js.map +0 -1
- package/plugin.json +0 -58
- /package/{dist → lib}/cjs/components/index.js +0 -0
- /package/{dist → lib}/cjs/components/promql/format.js +0 -0
- /package/{dist → lib}/cjs/model/index.js +0 -0
- /package/{dist → lib}/cjs/model/parse-sample-values.js +0 -0
- /package/{dist → lib}/cjs/model/prometheus-selectors.js +0 -0
- /package/{dist → lib}/cjs/model/time.js +0 -0
- /package/{dist → lib}/cjs/plugins/MatcherEditor.js +0 -0
- /package/{dist → lib}/cjs/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js +0 -0
- /package/{dist → lib}/cjs/plugins/prometheus-time-series-query/query-editor-model.js +0 -0
- /package/{dist → lib}/cjs/plugins/prometheus-time-series-query/replace-prom-builtin-variables.js +0 -0
- /package/{dist → lib}/cjs/plugins/prometheus-time-series-query/time-series-query-model.js +0 -0
- /package/{dist → lib}/cjs/plugins/types.js +0 -0
- /package/{dist → lib}/cjs/test/setup-tests.js +0 -0
- /package/{dist → lib}/cjs/utils/index.js +0 -0
- /package/{dist → lib}/components/PromQLEditor.d.ts +0 -0
- /package/{dist → lib}/components/index.d.ts +0 -0
- /package/{dist → lib}/components/index.js +0 -0
- /package/{dist → lib}/components/promql/ast.d.ts +0 -0
- /package/{dist → lib}/components/promql/format.js +0 -0
- /package/{dist → lib}/model/index.d.ts +0 -0
- /package/{dist → lib}/model/index.js +0 -0
- /package/{dist → lib}/model/parse-sample-values.d.ts +0 -0
- /package/{dist → lib}/model/parse-sample-values.js +0 -0
- /package/{dist → lib}/model/prometheus-client.d.ts +0 -0
- /package/{dist → lib}/model/prometheus-selectors.d.ts +0 -0
- /package/{dist → lib}/model/prometheus-selectors.js +0 -0
- /package/{dist → lib}/model/time.d.ts +0 -0
- /package/{dist → lib}/model/time.js +0 -0
- /package/{dist → lib}/plugins/MatcherEditor.d.ts +0 -0
- /package/{dist → lib}/plugins/MatcherEditor.js +0 -0
- /package/{dist → lib}/plugins/PrometheusDatasourceEditor.d.ts +0 -0
- /package/{dist → lib}/plugins/prometheus-datasource.d.ts +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.d.ts +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.d.ts +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/get-time-series-data.d.ts +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/query-editor-model.d.ts +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/query-editor-model.js +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/replace-prom-builtin-variables.d.ts +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/replace-prom-builtin-variables.js +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/time-series-query-model.d.ts +0 -0
- /package/{dist → lib}/plugins/prometheus-time-series-query/time-series-query-model.js +0 -0
- /package/{dist → lib}/plugins/types.d.ts +0 -0
- /package/{dist → lib}/plugins/types.js +0 -0
- /package/{dist → lib}/plugins/variable.d.ts +0 -0
- /package/{dist → lib}/test/setup-tests.d.ts +0 -0
- /package/{dist → lib}/test/setup-tests.js +0 -0
- /package/{dist → lib}/utils/index.d.ts +0 -0
- /package/{dist → lib}/utils/index.js +0 -0
- /package/{dist → lib}/utils/utils.d.ts +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* ZRender, a high performance 2d drawing library.
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2013, Baidu Inc.
|
|
5
|
+
* All rights reserved.
|
|
6
|
+
*
|
|
7
|
+
* LICENSE
|
|
8
|
+
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*! *****************************************************************************
|
|
12
|
+
Copyright (c) Microsoft Corporation.
|
|
13
|
+
|
|
14
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
15
|
+
purpose with or without fee is hereby granted.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
18
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
19
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
20
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
21
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
22
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
23
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
24
|
+
***************************************************************************** */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["212"],{35015:function(t,s,e){async function r(...t){let s=await e.g.fetch(...t);if(!1===s.ok){let t=s.headers.get("content-type");if(t?.includes("application/json")){let t=await s.json();if(t.error)throw new n(t.error,s.status);if(t.message)throw new n(t.message,s.status)}let e=await s.text();if(e)throw new n(e,s.status);throw new o(s)}return s}async function a(...t){let s=await r(...t);return await s.json()}e.d(s,{he:()=>r,rd:()=>a});class o extends Error{status;constructor(t){super(`${t.status} ${t.statusText}`),this.status=t.status,Object.setPrototypeOf(this,o.prototype)}}class n extends Error{status;constructor(t,s){super(t),this.status=s,Object.setPrototypeOf(this,n.prototype)}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["2316"],{52889:function(e,t,a){a.d(t,{Z:()=>S});var r=a(54538),o=a(90496),l=a(82267),n=a(16838),i=a(90247),c=a(24246);let s=(0,i.Z)((0,c.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var d=a(51183),p=a(51640),u=a(14544),m=a(12709),v=a(82319),b=a(90433),g=a(51751),h=a(44124),f=a(6749);function y(e){return(0,f.ZP)("MuiChip",e)}let $=(0,h.Z)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),C=e=>{let{classes:t,disabled:a,size:r,color:o,iconColor:n,onDelete:i,clickable:c,variant:s}=e,d={root:["root",s,a&&"disabled",`size${(0,p.Z)(r)}`,`color${(0,p.Z)(o)}`,c&&"clickable",c&&`clickableColor${(0,p.Z)(o)}`,i&&"deletable",i&&`deletableColor${(0,p.Z)(o)}`,`${s}${(0,p.Z)(o)}`],label:["label",`label${(0,p.Z)(r)}`],avatar:["avatar",`avatar${(0,p.Z)(r)}`,`avatarColor${(0,p.Z)(o)}`],icon:["icon",`icon${(0,p.Z)(r)}`,`iconColor${(0,p.Z)(n)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,p.Z)(r)}`,`deleteIconColor${(0,p.Z)(o)}`,`deleteIcon${(0,p.Z)(s)}Color${(0,p.Z)(o)}`]};return(0,l.Z)(d,y,t)},Z=(0,m.ZP)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e,{color:r,iconColor:o,clickable:l,onDelete:n,size:i,variant:c}=a;return[{[`& .${$.avatar}`]:t.avatar},{[`& .${$.avatar}`]:t[`avatar${(0,p.Z)(i)}`]},{[`& .${$.avatar}`]:t[`avatarColor${(0,p.Z)(r)}`]},{[`& .${$.icon}`]:t.icon},{[`& .${$.icon}`]:t[`icon${(0,p.Z)(i)}`]},{[`& .${$.icon}`]:t[`iconColor${(0,p.Z)(o)}`]},{[`& .${$.deleteIcon}`]:t.deleteIcon},{[`& .${$.deleteIcon}`]:t[`deleteIcon${(0,p.Z)(i)}`]},{[`& .${$.deleteIcon}`]:t[`deleteIconColor${(0,p.Z)(r)}`]},{[`& .${$.deleteIcon}`]:t[`deleteIcon${(0,p.Z)(c)}Color${(0,p.Z)(r)}`]},t.root,t[`size${(0,p.Z)(i)}`],t[`color${(0,p.Z)(r)}`],l&&t.clickable,l&&"default"!==r&&t[`clickableColor${(0,p.Z)(r)})`],n&&t.deletable,n&&"default"!==r&&t[`deletableColor${(0,p.Z)(r)}`],t[c],t[`${c}${(0,p.Z)(r)}`]]}})((0,v.Z)(({theme:e})=>{let t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${$.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${$.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${$.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${$.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${$.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${$.icon}`]:{marginLeft:5,marginRight:-6},[`& .${$.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,n.Fq)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,n.Fq)(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${$.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${$.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((0,b.Z)(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${$.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:(0,n.Fq)(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${$.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${$.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${$.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,n.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter((0,b.Z)(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${$.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,n.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${$.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,n.Fq)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((0,b.Z)(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${$.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${$.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${$.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${$.avatar}`]:{marginLeft:4},[`& .${$.avatarSmall}`]:{marginLeft:2},[`& .${$.icon}`]:{marginLeft:4},[`& .${$.iconSmall}`]:{marginLeft:2},[`& .${$.deleteIcon}`]:{marginRight:5},[`& .${$.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((0,b.Z)()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,n.Fq)(e.palette[t].main,.7)}`,[`&.${$.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,n.Fq)(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${$.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,n.Fq)(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${$.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,n.Fq)(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),x=(0,m.ZP)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:a}=e,{size:r}=a;return[t.label,t[`label${(0,p.Z)(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function k(e){return"Backspace"===e.key||"Delete"===e.key}let S=r.forwardRef(function(e,t){let a=(0,g.i)({props:e,name:"MuiChip"}),{avatar:l,className:n,clickable:i,color:p="default",component:m,deleteIcon:v,disabled:b=!1,icon:h,label:f,onClick:y,onDelete:$,onKeyDown:S,onKeyUp:P,size:I="medium",variant:R="filled",tabIndex:w,skipFocusWhenDisabled:O=!1,...M}=a,z=r.useRef(null),L=(0,d.Z)(z,t),F=e=>{e.stopPropagation(),$&&$(e)},V=!1!==i&&!!y||i,T=V||$?u.Z:m||"div",j={...a,component:T,disabled:b,size:I,color:p,iconColor:r.isValidElement(h)&&h.props.color||p,onDelete:!!$,clickable:V,variant:R},B=C(j),q=T===u.Z?{component:m||"div",focusVisibleClassName:B.focusVisible,...$&&{disableRipple:!0}}:{},N=null;$&&(N=v&&r.isValidElement(v)?r.cloneElement(v,{className:(0,o.Z)(v.props.className,B.deleteIcon),onClick:F}):(0,c.jsx)(s,{className:(0,o.Z)(B.deleteIcon),onClick:F}));let E=null;l&&r.isValidElement(l)&&(E=r.cloneElement(l,{className:(0,o.Z)(B.avatar,l.props.className)}));let D=null;return h&&r.isValidElement(h)&&(D=r.cloneElement(h,{className:(0,o.Z)(B.icon,h.props.className)})),(0,c.jsxs)(Z,{as:T,className:(0,o.Z)(B.root,n),disabled:!!V&&!!b||void 0,onClick:y,onKeyDown:e=>{e.currentTarget===e.target&&k(e)&&e.preventDefault(),S&&S(e)},onKeyUp:e=>{e.currentTarget===e.target&&$&&k(e)&&$(e),P&&P(e)},ref:L,tabIndex:O&&b?-1:w,ownerState:j,...q,...M,children:[E||D,(0,c.jsx)(x,{className:(0,o.Z)(B.label),ownerState:j,children:f}),N]})})},38062:function(e,t,a){a.d(t,{V:()=>l,Z:()=>n});var r=a(44124),o=a(6749);function l(e){return(0,o.ZP)("MuiDivider",e)}let n=(0,r.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},28797:function(e,t,a){a.d(t,{Z:()=>Z});var r=a(54538),o=a(90496),l=a(82267),n=a(36683),i=a(12709),c=a(82319),s=a(51751),d=a(52054),p=a(51640),u=a(44124),m=a(6749);function v(e){return(0,m.ZP)("MuiFormControlLabel",e)}let b=(0,u.Z)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var g=a(33567),h=a(16351),f=a(24246);let y=e=>{let{classes:t,disabled:a,labelPlacement:r,error:o,required:n}=e,i={root:["root",a&&"disabled",`labelPlacement${(0,p.Z)(r)}`,o&&"error",n&&"required"],label:["label",a&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,l.Z)(i,v,t)},$=(0,i.ZP)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[{[`& .${b.label}`]:t.label},t.root,t[`labelPlacement${(0,p.Z)(a.labelPlacement)}`]]}})((0,c.Z)(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${b.disabled}`]:{cursor:"default"},[`& .${b.label}`]:{[`&.${b.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]}))),C=(0,i.ZP)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,c.Z)(({theme:e})=>({[`&.${b.error}`]:{color:(e.vars||e).palette.error.main}}))),Z=r.forwardRef(function(e,t){let a=(0,s.i)({props:e,name:"MuiFormControlLabel"}),{checked:l,className:i,componentsProps:c={},control:p,disabled:u,disableTypography:m,inputRef:v,label:b,labelPlacement:Z="end",name:x,onChange:k,required:S,slots:P={},slotProps:I={},value:R,...w}=a,O=(0,n.Z)(),M=u??p.props.disabled??O?.disabled,z=S??p.props.required,L={disabled:M,required:z};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===p.props[e]&&void 0!==a[e]&&(L[e]=a[e])});let F=(0,g.Z)({props:a,muiFormControl:O,states:["error"]}),V={...a,disabled:M,labelPlacement:Z,required:z,error:F.error},T=y(V),j={slots:P,slotProps:{...c,...I}},[B,q]=(0,h.Z)("typography",{elementType:d.Z,externalForwardedProps:j,ownerState:V}),N=b;return null==N||N.type===d.Z||m||(N=(0,f.jsx)(B,{component:"span",...q,className:(0,o.Z)(T.label,q?.className),children:N})),(0,f.jsxs)($,{className:(0,o.Z)(T.root,i),ownerState:V,ref:t,...w,children:[r.cloneElement(p,L),z?(0,f.jsxs)("div",{children:[N,(0,f.jsxs)(C,{ownerState:V,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]}):N]})})},14662:function(e,t,a){a.d(t,{L:()=>l,Z:()=>n});var r=a(44124),o=a(6749);function l(e){return(0,o.ZP)("MuiListItemText",e)}let n=(0,r.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},10517:function(e,t,a){a.d(t,{Z:()=>S});var r=a(54538),o=a(90496),l=a(82267),n=a(16838),i=a(73037),c=a(12709),s=a(82319),d=a(51751),p=a(78849),u=a(14544),m=a(16758),v=a(51183),b=a(38062),g=a(44124);let h=(0,g.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);var f=a(14662),y=a(6749);function $(e){return(0,y.ZP)("MuiMenuItem",e)}let C=(0,g.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var Z=a(24246);let x=e=>{let{disabled:t,dense:a,divider:r,disableGutters:o,selected:n,classes:i}=e,c=(0,l.Z)({root:["root",a&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",n&&"selected"]},$,i);return{...i,...c}},k=(0,c.ZP)(u.Z,{shouldForwardProp:e=>(0,i.Z)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.dense&&t.dense,a.divider&&t.divider,!a.disableGutters&&t.gutters]}})((0,s.Z)(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${C.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,n.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${C.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,n.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${C.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,n.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,n.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${C.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${C.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${b.Z.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${b.Z.inset}`]:{marginLeft:52},[`& .${f.Z.root}`]:{marginTop:0,marginBottom:0},[`& .${f.Z.inset}`]:{paddingLeft:36},[`& .${h.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${h.root} svg`]:{fontSize:"1.25rem"}}}]}))),S=r.forwardRef(function(e,t){let a;let l=(0,d.i)({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:i="li",dense:c=!1,divider:s=!1,disableGutters:u=!1,focusVisibleClassName:b,role:g="menuitem",tabIndex:h,className:f,...y}=l,$=r.useContext(p.Z),C=r.useMemo(()=>({dense:c||$.dense||!1,disableGutters:u}),[$.dense,c,u]),S=r.useRef(null);(0,m.Z)(()=>{n&&S.current&&S.current.focus()},[n]);let P={...l,dense:C.dense,divider:s,disableGutters:u},I=x(l),R=(0,v.Z)(S,t);return l.disabled||(a=void 0!==h?h:-1),(0,Z.jsx)(p.Z.Provider,{value:C,children:(0,Z.jsx)(k,{ref:R,role:g,tabIndex:a,component:i,focusVisibleClassName:(0,o.Z)(I.focusVisible,b),className:(0,o.Z)(I.root,f),...y,ownerState:P,classes:I})})})},99140:function(e,t,a){a.d(t,{Z:()=>y});var r=a(54538),o=a(82267),l=a(51640),n=a(73037),i=a(12709),c=a(18817),s=a(36683),d=a(14544),p=a(44124),u=a(6749);function m(e){return(0,u.ZP)("PrivateSwitchBase",e)}(0,p.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var v=a(16351),b=a(24246);let g=e=>{let{classes:t,checked:a,disabled:r,edge:n}=e,i={root:["root",a&&"checked",r&&"disabled",n&&`edge${(0,l.Z)(n)}`],input:["input"]};return(0,o.Z)(i,m,t)},h=(0,i.ZP)(d.Z)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),f=(0,i.ZP)("input",{shouldForwardProp:n.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),y=r.forwardRef(function(e,t){let{autoFocus:a,checked:r,checkedIcon:o,defaultChecked:l,disabled:n,disableFocusRipple:i=!1,edge:d=!1,icon:p,id:u,inputProps:m,inputRef:y,name:$,onBlur:C,onChange:Z,onFocus:x,readOnly:k,required:S=!1,tabIndex:P,type:I,value:R,slots:w={},slotProps:O={},...M}=e,[z,L]=(0,c.Z)({controlled:r,default:!!l,name:"SwitchBase",state:"checked"}),F=(0,s.Z)(),V=e=>{x&&x(e),F&&F.onFocus&&F.onFocus(e)},T=e=>{C&&C(e),F&&F.onBlur&&F.onBlur(e)},j=e=>{if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked;L(t),Z&&Z(e,t)},B=n;F&&void 0===B&&(B=F.disabled);let q="checkbox"===I||"radio"===I,N={...e,checked:z,disabled:B,disableFocusRipple:i,edge:d},E=g(N),D={slots:w,slotProps:{input:m,...O}},[H,W]=(0,v.Z)("root",{ref:t,elementType:h,className:E.root,shouldForwardComponentProp:!0,externalForwardedProps:{...D,component:"span",...M},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),V(t)},onBlur:t=>{e.onBlur?.(t),T(t)}}),ownerState:N,additionalProps:{centerRipple:!0,focusRipple:!i,disabled:B,role:void 0,tabIndex:null}}),[A,G]=(0,v.Z)("input",{ref:y,elementType:f,className:E.input,externalForwardedProps:D,getSlotProps:e=>({onChange:t=>{e.onChange?.(t),j(t)}}),ownerState:N,additionalProps:{autoFocus:a,checked:r,defaultChecked:l,disabled:B,id:q?u:void 0,name:$,readOnly:k,required:S,tabIndex:P,type:I,..."checkbox"===I&&void 0===R?{}:{value:R}}});return(0,b.jsxs)(H,{...W,children:[(0,b.jsx)(A,{...G}),z?o:p]})})},23049:function(e,t,a){a.d(t,{Z:()=>l}),a(54538);var r=a(90247),o=a(24246);let l=(0,r.Z)((0,o.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},33755:function(e,t,a){t.default=void 0;var r,o=(r=a(30265))&&r.__esModule?r:{default:r};t.default=(0,o.default)("M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z","Plus")},75276:function(e,t,a){a.r(t),a.d(t,{default:()=>l});var r=a(54538);function o(e,t,a){return e[t]?e[t][0]?e[t][0][a]:e[t][a]:"contentBoxSize"===t?e.contentRect["inlineSize"===a?"width":"height"]:void 0}function l(e){void 0===e&&(e={});var t,a,l,n,i,c,s=e.onResize,d=(0,r.useRef)(void 0);d.current=s;var p=e.round||Math.round,u=(0,r.useRef)(),m=(0,r.useState)({width:void 0,height:void 0}),v=m[0],b=m[1],g=(0,r.useRef)(!1);(0,r.useEffect)(function(){return g.current=!1,function(){g.current=!0}},[]);var h=(0,r.useRef)({width:void 0,height:void 0}),f=(t=(0,r.useCallback)(function(t){return u.current&&u.current.box===e.box&&u.current.round===p||(u.current={box:e.box,round:p,instance:new ResizeObserver(function(t){var a=t[0],r="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",l=o(a,r,"inlineSize"),n=o(a,r,"blockSize"),i=l?p(l):void 0,c=n?p(n):void 0;if(h.current.width!==i||h.current.height!==c){var s={width:i,height:c};h.current.width=i,h.current.height=c,d.current?d.current(s):g.current||b(s)}})}),u.current.instance.observe(t,{box:e.box}),function(){u.current&&u.current.instance.unobserve(t)}},[e.box,p]),a=e.ref,l=(0,r.useRef)(null),(n=(0,r.useRef)(null)).current=a,i=(0,r.useRef)(null),(0,r.useEffect)(function(){c()}),c=(0,r.useCallback)(function(){var e=i.current,a=n.current,r=e||(a?a instanceof Element?a:a.current:null);(!l.current||l.current.element!==r||l.current.subscriber!==t)&&(l.current&&l.current.cleanup&&l.current.cleanup(),l.current={element:r,subscriber:t,cleanup:r?t(r):void 0})},[t]),(0,r.useEffect)(function(){return function(){l.current&&l.current.cleanup&&(l.current.cleanup(),l.current=null)}},[]),(0,r.useCallback)(function(e){i.current=e,c()},[c]));return(0,r.useMemo)(function(){return{ref:f,width:v.width,height:v.height}},[f,v.width,v.height])}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["232"],{40150:function(t,e,s){s.r(e),s.d(e,{useIsRestoring:()=>tv,dataTagErrorSymbol:()=>tc,QueryClientProvider:()=>tm,matchQuery:()=>c,useSuspenseQuery:()=>tU,QueryClientContext:()=>tp,IsRestoringProvider:()=>tg,Mutation:()=>K,usePrefetchInfiniteQuery:()=>tL,replaceEqualDeep:()=>y,useSuspenseQueries:()=>tK,defaultShouldDehydrateQuery:()=>ti,notifyManager:()=>T,useInfiniteQuery:()=>tX,matchMutation:()=>l,unsetMarker:()=>tl,MutationObserver:()=>te,useMutationState:()=>tJ,defaultShouldDehydrateMutation:()=>tr,Query:()=>A,dataTagSymbol:()=>th,HydrationBoundary:()=>tz,onlineManager:()=>P,useQueries:()=>tT,hydrate:()=>tu,skipToken:()=>S,experimental_streamedQuery:()=>to,dehydrate:()=>ta,QueryCache:()=>j,QueryClient:()=>B,CancelledError:()=>F,isCancelledError:()=>x,usePrefetchQuery:()=>tH,QueryObserver:()=>W,focusManager:()=>q,keepPreviousData:()=>R,useQueryErrorResetBoundary:()=>tC,useMutation:()=>tV,useSuspenseInfiniteQuery:()=>tj,useIsFetching:()=>tB,QueryErrorResetBoundary:()=>tQ,hashKey:()=>f,infiniteQueryOptions:()=>tG,useIsMutating:()=>tW,useQueryClient:()=>ty,InfiniteQueryObserver:()=>tt,useQuery:()=>tA,isServer:()=>i,MutationCache:()=>L,QueriesObserver:()=>Z,queryOptions:()=>t_});var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},i="undefined"==typeof window||"Deno"in globalThis;function n(){}function a(t){return"number"==typeof t&&t>=0&&t!==1/0}function u(t,e){return Math.max(t+(e||0)-Date.now(),0)}function o(t,e){return"function"==typeof t?t(e):t}function h(t,e){return"function"==typeof t?t(e):t}function c(t,e){let{type:s="all",exact:r,fetchStatus:i,predicate:n,queryKey:a,stale:u}=t;if(a){if(r){if(e.queryHash!==d(a,e.options))return!1}else if(!p(e.queryKey,a))return!1}if("all"!==s){let t=e.isActive();if("active"===s&&!t||"inactive"===s&&t)return!1}return("boolean"!=typeof u||e.isStale()===u)&&(!i||i===e.state.fetchStatus)&&(!n||!!n(e))}function l(t,e){let{exact:s,status:r,predicate:i,mutationKey:n}=t;if(n){if(!e.options.mutationKey)return!1;if(s){if(f(e.options.mutationKey)!==f(n))return!1}else if(!p(e.options.mutationKey,n))return!1}return(!r||e.state.status===r)&&(!i||!!i(e))}function d(t,e){return(e?.queryKeyHashFn||f)(t)}function f(t){return JSON.stringify(t,(t,e)=>v(e)?Object.keys(e).sort().reduce((t,s)=>(t[s]=e[s],t),{}):e)}function p(t,e){return t===e||typeof t==typeof e&&!!t&&!!e&&"object"==typeof t&&"object"==typeof e&&!Object.keys(e).some(s=>!p(t[s],e[s]))}function y(t,e){if(t===e)return t;let s=b(t)&&b(e);if(s||v(t)&&v(e)){let r=s?t:Object.keys(t),i=r.length,n=s?e:Object.keys(e),a=n.length,u=s?[]:{},o=0;for(let i=0;i<a;i++){let a=s?i:n[i];(!s&&r.includes(a)||s)&&void 0===t[a]&&void 0===e[a]?(u[a]=void 0,o++):(u[a]=y(t[a],e[a]),u[a]===t[a]&&void 0!==t[a]&&o++)}return i===a&&o===i?t:u}return e}function m(t,e){if(!e||Object.keys(t).length!==Object.keys(e).length)return!1;for(let s in t)if(t[s]!==e[s])return!1;return!0}function b(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function v(t){if(!g(t))return!1;let e=t.constructor;if(void 0===e)return!0;let s=e.prototype;return!!(g(s)&&s.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(t)===Object.prototype}function g(t){return"[object Object]"===Object.prototype.toString.call(t)}function O(t,e,s){return"function"==typeof s.structuralSharing?s.structuralSharing(t,e):!1!==s.structuralSharing?y(t,e):e}function R(t){return t}function C(t,e,s=0){let r=[...t,e];return s&&r.length>s?r.slice(1):r}function Q(t,e,s=0){let r=[e,...t];return s&&r.length>s?r.slice(0,-1):r}var S=Symbol();function w(t,e){return!t.queryFn&&e?.initialPromise?()=>e.initialPromise:t.queryFn&&t.queryFn!==S?t.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${t.queryHash}'`))}var q=new class extends r{#t;#e;#s;constructor(){super(),this.#s=t=>{if(!i&&window.addEventListener){let e=()=>t();return window.addEventListener("visibilitychange",e,!1),()=>{window.removeEventListener("visibilitychange",e)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#s=t,this.#e?.(),this.#e=t(t=>{"boolean"==typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.#t!==t&&(this.#t=t,this.onFocus())}onFocus(){let t=this.isFocused();this.listeners.forEach(e=>{e(t)})}isFocused(){return"boolean"==typeof this.#t?this.#t:globalThis.document?.visibilityState!=="hidden"}},P=new class extends r{#r=!0;#e;#s;constructor(){super(),this.#s=t=>{if(!i&&window.addEventListener){let e=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",e,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#e||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(t){this.#s=t,this.#e?.(),this.#e=t(this.setOnline.bind(this))}setOnline(t){this.#r!==t&&(this.#r=t,this.listeners.forEach(e=>{e(t)}))}isOnline(){return this.#r}};function E(){let t,e;let s=new Promise((s,r)=>{t=s,e=r});function r(t){Object.assign(s,t),delete s.resolve,delete s.reject}return s.status="pending",s.catch(()=>{}),s.resolve=e=>{r({status:"fulfilled",value:e}),t(e)},s.reject=t=>{r({status:"rejected",reason:t}),e(t)},s}function M(t){return Math.min(1e3*2**t,3e4)}function D(t){return(t??"online")!=="online"||P.isOnline()}var F=class extends Error{constructor(t){super("CancelledError"),this.revert=t?.revert,this.silent=t?.silent}};function x(t){return t instanceof F}function I(t){let e,s=!1,r=0,n=!1,a=E(),u=()=>q.isFocused()&&("always"===t.networkMode||P.isOnline())&&t.canRun(),o=()=>D(t.networkMode)&&t.canRun(),h=s=>{n||(n=!0,t.onSuccess?.(s),e?.(),a.resolve(s))},c=s=>{n||(n=!0,t.onError?.(s),e?.(),a.reject(s))},l=()=>new Promise(s=>{e=t=>{(n||u())&&s(t)},t.onPause?.()}).then(()=>{e=void 0,n||t.onContinue?.()}),d=()=>{let e;if(n)return;let a=0===r?t.initialPromise:void 0;try{e=a??t.fn()}catch(t){e=Promise.reject(t)}Promise.resolve(e).then(h).catch(e=>{if(n)return;let a=t.retry??3*!i,o=t.retryDelay??M,h="function"==typeof o?o(r,e):o,f=!0===a||"number"==typeof a&&r<a||"function"==typeof a&&a(r,e);if(s||!f){c(e);return}r++,t.onFail?.(r,e),new Promise(t=>{setTimeout(t,h)}).then(()=>u()?void 0:l()).then(()=>{s?c(e):d()})})};return{promise:a,cancel:e=>{n||(c(new F(e)),t.abort?.())},continue:()=>(e?.(),a),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:o,start:()=>(o()?d():l().then(d),a)}}var T=function(){let t=[],e=0,s=t=>{t()},r=t=>{t()},i=t=>setTimeout(t,0),n=r=>{e?t.push(r):i(()=>{s(r)})},a=()=>{let e=t;t=[],e.length&&i(()=>{r(()=>{e.forEach(t=>{s(t)})})})};return{batch:t=>{let s;e++;try{s=t()}finally{--e||a()}return s},batchCalls:t=>(...e)=>{n(()=>{t(...e)})},schedule:n,setNotifyFunction:t=>{s=t},setBatchNotifyFunction:t=>{r=t},setScheduler:t=>{i=t}}}(),k=class{#i;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),a(this.gcTime)&&(this.#i=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(i?1/0:3e5))}clearGcTimeout(){this.#i&&(clearTimeout(this.#i),this.#i=void 0)}},A=class extends k{#n;#a;#u;#o;#h;#c;#l;constructor(t){super(),this.#l=!1,this.#c=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.#o=t.client,this.#u=this.#o.getQueryCache(),this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.#n=function(t){let e="function"==typeof t.initialData?t.initialData():t.initialData,s=void 0!==e,r=s?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=t.state??this.#n,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#h?.promise}setOptions(t){this.options={...this.#c,...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#u.remove(this)}setData(t,e){let s=O(this.state.data,t,this.options);return this.#d({data:s,type:"success",dataUpdatedAt:e?.updatedAt,manual:e?.manual}),s}setState(t,e){this.#d({type:"setState",state:t,setStateOptions:e})}cancel(t){let e=this.#h?.promise;return this.#h?.cancel(t),e?e.then(n).catch(n):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#n)}isActive(){return this.observers.some(t=>!1!==h(t.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===S||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):void 0===this.state.data)}isStaleByTime(t=0){return this.state.isInvalidated||void 0===this.state.data||!u(this.state.dataUpdatedAt,t)}onFocus(){let t=this.observers.find(t=>t.shouldFetchOnWindowFocus());t?.refetch({cancelRefetch:!1}),this.#h?.continue()}onOnline(){let t=this.observers.find(t=>t.shouldFetchOnReconnect());t?.refetch({cancelRefetch:!1}),this.#h?.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.#u.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.#h&&(this.#l?this.#h.cancel({revert:!0}):this.#h.cancelRetry()),this.scheduleGc()),this.#u.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#d({type:"invalidate"})}fetch(t,e){if("idle"!==this.state.fetchStatus){if(void 0!==this.state.data&&e?.cancelRefetch)this.cancel({silent:!0});else if(this.#h)return this.#h.continueRetry(),this.#h.promise}if(t&&this.setOptions(t),!this.options.queryFn){let t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}let s=new AbortController,r=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(this.#l=!0,s.signal)})},i={fetchOptions:e,options:this.options,queryKey:this.queryKey,client:this.#o,state:this.state,fetchFn:()=>{let t=w(this.options,e),s={client:this.#o,queryKey:this.queryKey,meta:this.meta};return(r(s),this.#l=!1,this.options.persister)?this.options.persister(t,s,this):t(s)}};r(i),this.options.behavior?.onFetch(i,this),this.#a=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==i.fetchOptions?.meta)&&this.#d({type:"fetch",meta:i.fetchOptions?.meta});let n=t=>{x(t)&&t.silent||this.#d({type:"error",error:t}),x(t)||(this.#u.config.onError?.(t,this),this.#u.config.onSettled?.(this.state.data,t,this)),this.scheduleGc()};return this.#h=I({initialPromise:e?.initialPromise,fn:i.fetchFn,abort:s.abort.bind(s),onSuccess:t=>{if(void 0===t){n(Error(`${this.queryHash} data is undefined`));return}try{this.setData(t)}catch(t){n(t);return}this.#u.config.onSuccess?.(t,this),this.#u.config.onSettled?.(t,this.state.error,this),this.scheduleGc()},onError:n,onFail:(t,e)=>{this.#d({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:i.options.retry,retryDelay:i.options.retryDelay,networkMode:i.options.networkMode,canRun:()=>!0}),this.#h.start()}#d(t){this.state=(e=>{switch(t.type){case"failed":return{...e,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...e,fetchStatus:"paused"};case"continue":return{...e,fetchStatus:"fetching"};case"fetch":return{...e,...U(e.data,this.options),fetchMeta:t.meta??null};case"success":return{...e,data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let s=t.error;if(x(s)&&s.revert&&this.#a)return{...this.#a,fetchStatus:"idle"};return{...e,error:s,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...e,isInvalidated:!0};case"setState":return{...e,...t.state}}})(this.state),T.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate()}),this.#u.notify({query:this,type:"updated",action:t})})}};function U(t,e){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:D(e.networkMode)?"fetching":"paused",...void 0===t&&{error:null,status:"pending"}}}var j=class extends r{constructor(t={}){super(),this.config=t,this.#f=new Map}#f;build(t,e,s){let r=e.queryKey,i=e.queryHash??d(r,e),n=this.get(i);return n||(n=new A({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(e),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(n)),n}add(t){this.#f.has(t.queryHash)||(this.#f.set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){let e=this.#f.get(t.queryHash);e&&(t.destroy(),e===t&&this.#f.delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){T.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return this.#f.get(t)}getAll(){return[...this.#f.values()]}find(t){let e={exact:!0,...t};return this.getAll().find(t=>c(e,t))}findAll(t={}){let e=this.getAll();return Object.keys(t).length>0?e.filter(e=>c(t,e)):e}notify(t){T.batch(()=>{this.listeners.forEach(e=>{e(t)})})}onFocus(){T.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){T.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},K=class extends k{#p;#y;#h;constructor(t){super(),this.mutationId=t.mutationId,this.#y=t.mutationCache,this.#p=[],this.state=t.state||H(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#p.includes(t)||(this.#p.push(t),this.clearGcTimeout(),this.#y.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#p=this.#p.filter(e=>e!==t),this.scheduleGc(),this.#y.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#p.length||("pending"===this.state.status?this.scheduleGc():this.#y.remove(this))}continue(){return this.#h?.continue()??this.execute(this.state.variables)}async execute(t){this.#h=I({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#d({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#d({type:"pause"})},onContinue:()=>{this.#d({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#y.canRun(this)});let e="pending"===this.state.status,s=!this.#h.canStart();try{if(!e){this.#d({type:"pending",variables:t,isPaused:s}),await this.#y.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#d({type:"pending",context:e,variables:t,isPaused:s})}let r=await this.#h.start();return await this.#y.config.onSuccess?.(r,t,this.state.context,this),await this.options.onSuccess?.(r,t,this.state.context),await this.#y.config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,t,this.state.context),this.#d({type:"success",data:r}),r}catch(e){try{throw await this.#y.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#y.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#d({type:"error",error:e})}}finally{this.#y.runNext(this)}}#d(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),T.batch(()=>{this.#p.forEach(e=>{e.onMutationUpdate(t)}),this.#y.notify({mutation:this,type:"updated",action:t})})}};function H(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var L=class extends r{constructor(t={}){super(),this.config=t,this.#m=new Set,this.#b=new Map,this.#v=0}#m;#b;#v;build(t,e,s){let r=new K({mutationCache:this,mutationId:++this.#v,options:t.defaultMutationOptions(e),state:s});return this.add(r),r}add(t){this.#m.add(t);let e=_(t);if("string"==typeof e){let s=this.#b.get(e);s?s.push(t):this.#b.set(e,[t])}this.notify({type:"added",mutation:t})}remove(t){if(this.#m.delete(t)){let e=_(t);if("string"==typeof e){let s=this.#b.get(e);if(s){if(s.length>1){let e=s.indexOf(t);-1!==e&&s.splice(e,1)}else s[0]===t&&this.#b.delete(e)}}}this.notify({type:"removed",mutation:t})}canRun(t){let e=_(t);if("string"!=typeof e)return!0;{let s=this.#b.get(e),r=s?.find(t=>"pending"===t.state.status);return!r||r===t}}runNext(t){let e=_(t);if("string"!=typeof e)return Promise.resolve();{let s=this.#b.get(e)?.find(e=>e!==t&&e.state.isPaused);return s?.continue()??Promise.resolve()}}clear(){T.batch(()=>{this.#m.forEach(t=>{this.notify({type:"removed",mutation:t})}),this.#m.clear(),this.#b.clear()})}getAll(){return Array.from(this.#m)}find(t){let e={exact:!0,...t};return this.getAll().find(t=>l(e,t))}findAll(t={}){return this.getAll().filter(e=>l(t,e))}notify(t){T.batch(()=>{this.listeners.forEach(e=>{e(t)})})}resumePausedMutations(){let t=this.getAll().filter(t=>t.state.isPaused);return T.batch(()=>Promise.all(t.map(t=>t.continue().catch(n))))}};function _(t){return t.options.scope?.id}function G(t){return{onFetch:(e,s)=>{let r=e.options,i=e.fetchOptions?.meta?.fetchMore?.direction,n=e.state.data?.pages||[],a=e.state.data?.pageParams||[],u={pages:[],pageParams:[]},o=0,h=async()=>{let s=!1,h=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>(e.signal.aborted?s=!0:e.signal.addEventListener("abort",()=>{s=!0}),e.signal)})},c=w(e.options,e.fetchOptions),l=async(t,r,i)=>{if(s)return Promise.reject();if(null==r&&t.pages.length)return Promise.resolve(t);let n={client:e.client,queryKey:e.queryKey,pageParam:r,direction:i?"backward":"forward",meta:e.options.meta};h(n);let a=await c(n),{maxPages:u}=e.options,o=i?Q:C;return{pages:o(t.pages,a,u),pageParams:o(t.pageParams,r,u)}};if(i&&n.length){let t="backward"===i,e={pages:n,pageParams:a},s=(t?z:N)(r,e);u=await l(e,s,t)}else{let e=t??n.length;do{let t=0===o?a[0]??r.initialPageParam:N(r,u);if(o>0&&null==t)break;u=await l(u,t),o++}while(o<e)}return u};e.options.persister?e.fetchFn=()=>e.options.persister?.(h,{client:e.client,queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s):e.fetchFn=h}}}function N(t,{pages:e,pageParams:s}){let r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,s[r],s):void 0}function z(t,{pages:e,pageParams:s}){return e.length>0?t.getPreviousPageParam?.(e[0],e,s[0],s):void 0}var B=class{#g;#y;#c;#O;#R;#C;#Q;#S;constructor(t={}){this.#g=t.queryCache||new j,this.#y=t.mutationCache||new L,this.#c=t.defaultOptions||{},this.#O=new Map,this.#R=new Map,this.#C=0}mount(){this.#C++,1===this.#C&&(this.#Q=q.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#g.onFocus())}),this.#S=P.subscribe(async t=>{t&&(await this.resumePausedMutations(),this.#g.onOnline())}))}unmount(){this.#C--,0===this.#C&&(this.#Q?.(),this.#Q=void 0,this.#S?.(),this.#S=void 0)}isFetching(t){return this.#g.findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return this.#y.findAll({...t,status:"pending"}).length}getQueryData(t){let e=this.defaultQueryOptions({queryKey:t});return this.#g.get(e.queryHash)?.state.data}ensureQueryData(t){let e=this.defaultQueryOptions(t),s=this.#g.build(this,e),r=s.state.data;return void 0===r?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(o(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return this.#g.findAll(t).map(({queryKey:t,state:e})=>[t,e.data])}setQueryData(t,e,s){let r=this.defaultQueryOptions({queryKey:t}),i=this.#g.get(r.queryHash),n=i?.state.data,a="function"==typeof e?e(n):e;if(void 0!==a)return this.#g.build(this,r).setData(a,{...s,manual:!0})}setQueriesData(t,e,s){return T.batch(()=>this.#g.findAll(t).map(({queryKey:t})=>[t,this.setQueryData(t,e,s)]))}getQueryState(t){let e=this.defaultQueryOptions({queryKey:t});return this.#g.get(e.queryHash)?.state}removeQueries(t){let e=this.#g;T.batch(()=>{e.findAll(t).forEach(t=>{e.remove(t)})})}resetQueries(t,e){let s=this.#g;return T.batch(()=>(s.findAll(t).forEach(t=>{t.reset()}),this.refetchQueries({type:"active",...t},e)))}cancelQueries(t,e={}){let s={revert:!0,...e};return Promise.all(T.batch(()=>this.#g.findAll(t).map(t=>t.cancel(s)))).then(n).catch(n)}invalidateQueries(t,e={}){return T.batch(()=>(this.#g.findAll(t).forEach(t=>{t.invalidate()}),t?.refetchType==="none")?Promise.resolve():this.refetchQueries({...t,type:t?.refetchType??t?.type??"active"},e))}refetchQueries(t,e={}){let s={...e,cancelRefetch:e.cancelRefetch??!0};return Promise.all(T.batch(()=>this.#g.findAll(t).filter(t=>!t.isDisabled()).map(t=>{let e=t.fetch(void 0,s);return s.throwOnError||(e=e.catch(n)),"paused"===t.state.fetchStatus?Promise.resolve():e}))).then(n)}fetchQuery(t){let e=this.defaultQueryOptions(t);void 0===e.retry&&(e.retry=!1);let s=this.#g.build(this,e);return s.isStaleByTime(o(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(n).catch(n)}fetchInfiniteQuery(t){return t.behavior=G(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(n).catch(n)}ensureInfiniteQueryData(t){return t.behavior=G(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return P.isOnline()?this.#y.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#g}getMutationCache(){return this.#y}getDefaultOptions(){return this.#c}setDefaultOptions(t){this.#c=t}setQueryDefaults(t,e){this.#O.set(f(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){let e=[...this.#O.values()],s={};return e.forEach(e=>{p(t,e.queryKey)&&Object.assign(s,e.defaultOptions)}),s}setMutationDefaults(t,e){this.#R.set(f(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){let e=[...this.#R.values()],s={};return e.forEach(e=>{p(t,e.mutationKey)&&Object.assign(s,e.defaultOptions)}),s}defaultQueryOptions(t){if(t._defaulted)return t;let e={...this.#c.queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=d(e.queryKey,e)),void 0===e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),void 0===e.throwOnError&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===S&&(e.enabled=!1),e}defaultMutationOptions(t){return t?._defaulted?t:{...this.#c.mutations,...t?.mutationKey&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){this.#g.clear(),this.#y.clear()}},W=class extends r{constructor(t,e){super(),this.options=e,this.#o=t,this.#w=null,this.#q=E(),this.options.experimental_prefetchInRender||this.#q.reject(Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(e)}#o;#P=void 0;#E=void 0;#M=void 0;#D;#F;#q;#w;#x;#I;#T;#k;#A;#U;#j=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#P.addObserver(this),$(this.#P,this.options)?this.#K():this.updateResult(),this.#H())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return J(this.#P,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return J(this.#P,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#L(),this.#_(),this.#P.removeObserver(this)}setOptions(t,e){let s=this.options,r=this.#P;if(this.options=this.#o.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof h(this.options.enabled,this.#P))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#G(),this.#P.setOptions(this.options),s._defaulted&&!m(this.options,s)&&this.#o.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#P,observer:this});let i=this.hasListeners();i&&V(this.#P,r,this.options,s)&&this.#K(),this.updateResult(e),i&&(this.#P!==r||h(this.options.enabled,this.#P)!==h(s.enabled,this.#P)||o(this.options.staleTime,this.#P)!==o(s.staleTime,this.#P))&&this.#N();let n=this.#z();i&&(this.#P!==r||h(this.options.enabled,this.#P)!==h(s.enabled,this.#P)||n!==this.#U)&&this.#B(n)}getOptimisticResult(t){var e,s;let r=this.#o.getQueryCache().build(this.#o,t),i=this.createResult(r,t);return e=this,s=i,m(e.getCurrentResult(),s)||(this.#M=i,this.#F=this.options,this.#D=this.#P.state),i}getCurrentResult(){return this.#M}trackResult(t,e){let s={};return Object.keys(t).forEach(r=>{Object.defineProperty(s,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),e?.(r),t[r])})}),s}trackProp(t){this.#j.add(t)}getCurrentQuery(){return this.#P}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e=this.#o.defaultQueryOptions(t),s=this.#o.getQueryCache().build(this.#o,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#K({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#M))}#K(t){this.#G();let e=this.#P.fetch(this.options,t);return t?.throwOnError||(e=e.catch(n)),e}#N(){this.#L();let t=o(this.options.staleTime,this.#P);if(i||this.#M.isStale||!a(t))return;let e=u(this.#M.dataUpdatedAt,t);this.#k=setTimeout(()=>{this.#M.isStale||this.updateResult()},e+1)}#z(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#P):this.options.refetchInterval)??!1}#B(t){this.#_(),this.#U=t,!i&&!1!==h(this.options.enabled,this.#P)&&a(this.#U)&&0!==this.#U&&(this.#A=setInterval(()=>{(this.options.refetchIntervalInBackground||q.isFocused())&&this.#K()},this.#U))}#H(){this.#N(),this.#B(this.#z())}#L(){this.#k&&(clearTimeout(this.#k),this.#k=void 0)}#_(){this.#A&&(clearInterval(this.#A),this.#A=void 0)}createResult(t,e){let s;let r=this.#P,i=this.options,n=this.#M,a=this.#D,u=this.#F,o=t!==r?t.state:this.#E,{state:h}=t,c={...h},l=!1;if(e._optimisticResults){let s=this.hasListeners(),n=!s&&$(t,e),a=s&&V(t,r,e,i);(n||a)&&(c={...c,...U(h.data,t.options)}),"isRestoring"===e._optimisticResults&&(c.fetchStatus="idle")}let{error:d,errorUpdatedAt:f,status:p}=c;if(e.select&&void 0!==c.data){if(n&&c.data===a?.data&&e.select===this.#x)s=this.#I;else try{this.#x=e.select,s=e.select(c.data),s=O(n?.data,s,e),this.#I=s,this.#w=null}catch(t){this.#w=t}}else s=c.data;if(void 0!==e.placeholderData&&void 0===s&&"pending"===p){let t;if(n?.isPlaceholderData&&e.placeholderData===u?.placeholderData)t=n.data;else if(t="function"==typeof e.placeholderData?e.placeholderData(this.#T?.state.data,this.#T):e.placeholderData,e.select&&void 0!==t)try{t=e.select(t),this.#w=null}catch(t){this.#w=t}void 0!==t&&(p="success",s=O(n?.data,t,e),l=!0)}this.#w&&(d=this.#w,s=this.#I,f=Date.now(),p="error");let y="fetching"===c.fetchStatus,m="pending"===p,b="error"===p,v=m&&y,g=void 0!==s,R={status:p,fetchStatus:c.fetchStatus,isPending:m,isSuccess:"success"===p,isError:b,isInitialLoading:v,isLoading:v,data:s,dataUpdatedAt:c.dataUpdatedAt,error:d,errorUpdatedAt:f,failureCount:c.fetchFailureCount,failureReason:c.fetchFailureReason,errorUpdateCount:c.errorUpdateCount,isFetched:c.dataUpdateCount>0||c.errorUpdateCount>0,isFetchedAfterMount:c.dataUpdateCount>o.dataUpdateCount||c.errorUpdateCount>o.errorUpdateCount,isFetching:y,isRefetching:y&&!m,isLoadingError:b&&!g,isPaused:"paused"===c.fetchStatus,isPlaceholderData:l,isRefetchError:b&&g,isStale:X(t,e),refetch:this.refetch,promise:this.#q};if(this.options.experimental_prefetchInRender){let e=t=>{"error"===R.status?t.reject(R.error):void 0!==R.data&&t.resolve(R.data)},s=()=>{e(this.#q=R.promise=E())},i=this.#q;switch(i.status){case"pending":t.queryHash===r.queryHash&&e(i);break;case"fulfilled":("error"===R.status||R.data!==i.value)&&s();break;case"rejected":("error"!==R.status||R.error!==i.reason)&&s()}}return R}updateResult(t){let e=this.#M,s=this.createResult(this.#P,this.options);if(this.#D=this.#P.state,this.#F=this.options,void 0!==this.#D.data&&(this.#T=this.#P),m(s,e))return;this.#M=s;let r={};t?.listeners!==!1&&(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,s="function"==typeof t?t():t;if("all"===s||!s&&!this.#j.size)return!0;let r=new Set(s??this.#j);return this.options.throwOnError&&r.add("error"),Object.keys(this.#M).some(t=>this.#M[t]!==e[t]&&r.has(t))})()&&(r.listeners=!0),this.#W({...r,...t})}#G(){let t=this.#o.getQueryCache().build(this.#o,this.options);if(t===this.#P)return;let e=this.#P;this.#P=t,this.#E=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#H()}#W(t){T.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#M)}),this.#o.getQueryCache().notify({query:this.#P,type:"observerResultsUpdated"})})}};function $(t,e){return!1!==h(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==e.retryOnMount)||void 0!==t.state.data&&J(t,e,e.refetchOnMount)}function J(t,e,s){if(!1!==h(e.enabled,t)){let r="function"==typeof s?s(t):s;return"always"===r||!1!==r&&X(t,e)}return!1}function V(t,e,s,r){return(t!==e||!1===h(r.enabled,t))&&(!s.suspense||"error"!==t.state.status)&&X(t,s)}function X(t,e){return!1!==h(e.enabled,t)&&t.isStaleByTime(o(e.staleTime,t))}function Y(t,e){return t.filter(t=>!e.includes(t))}var Z=class extends r{#o;#$;#f;#J;#p;#V;#X;#Y;#Z=[];constructor(t,e,s){super(),this.#o=t,this.#J=s,this.#f=[],this.#p=[],this.#$=[],this.setQueries(e)}onSubscribe(){1===this.listeners.size&&this.#p.forEach(t=>{t.subscribe(e=>{this.#tt(t,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#p.forEach(t=>{t.destroy()})}setQueries(t,e,s){this.#f=t,this.#J=e,T.batch(()=>{let t=this.#p,e=this.#te(this.#f);this.#Z=e,e.forEach(t=>t.observer.setOptions(t.defaultedQueryOptions,s));let r=e.map(t=>t.observer),i=r.map(t=>t.getCurrentResult()),n=r.some((e,s)=>e!==t[s]);if(t.length!==r.length||n)this.#p=r,this.#$=i,this.hasListeners()&&(Y(t,r).forEach(t=>{t.destroy()}),Y(r,t).forEach(t=>{t.subscribe(e=>{this.#tt(t,e)})}),this.#W())})}getCurrentResult(){return this.#$}getQueries(){return this.#p.map(t=>t.getCurrentQuery())}getObservers(){return this.#p}getOptimisticResult(t,e){let s=this.#te(t),r=s.map(t=>t.observer.getOptimisticResult(t.defaultedQueryOptions));return[r,t=>this.#ts(t??r,e),()=>this.#tr(r,s)]}#tr(t,e){return e.map((s,r)=>{let i=t[r];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,t=>{e.forEach(e=>{e.observer.trackProp(t)})})})}#ts(t,e){return e?(this.#V&&this.#$===this.#Y&&e===this.#X||(this.#X=e,this.#Y=this.#$,this.#V=y(this.#V,e(t))),this.#V):t}#te(t){let e=new Map(this.#p.map(t=>[t.options.queryHash,t])),s=[];return t.forEach(t=>{let r=this.#o.defaultQueryOptions(t),i=e.get(r.queryHash);i?s.push({defaultedQueryOptions:r,observer:i}):s.push({defaultedQueryOptions:r,observer:new W(this.#o,r)})}),s}#tt(t,e){let s=this.#p.indexOf(t);-1!==s&&(this.#$=function(t,e,s){let r=t.slice(0);return r[e]=s,r}(this.#$,s,e),this.#W())}#W(){if(this.hasListeners()){let t=this.#V,e=this.#tr(this.#$,this.#Z);t!==this.#ts(e,this.#J?.combine)&&T.batch(()=>{this.listeners.forEach(t=>{t(this.#$)})})}}},tt=class extends W{constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions({...t,behavior:G()},e)}getOptimisticResult(t){return t.behavior=G(),super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){var s,r;let{state:i}=t,n=super.createResult(t,e),{isFetching:a,isRefetching:u,isError:o,isRefetchError:h}=n,c=i.fetchMeta?.fetchMore?.direction,l=o&&"forward"===c,d=a&&"forward"===c,f=o&&"backward"===c,p=a&&"backward"===c;return{...n,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(s=i.data)&&null!=N(e,s),hasPreviousPage:!!(r=i.data)&&!!e.getPreviousPageParam&&null!=z(e,r),isFetchNextPageError:l,isFetchingNextPage:d,isFetchPreviousPageError:f,isFetchingPreviousPage:p,isRefetchError:h&&!l&&!f,isRefetching:u&&!d&&!p}}},te=class extends r{#o;#M=void 0;#ti;#tn;constructor(t,e){super(),this.#o=t,this.setOptions(e),this.bindMethods(),this.#ta()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#o.defaultMutationOptions(t),m(this.options,e)||this.#o.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#ti,observer:this}),e?.mutationKey&&this.options.mutationKey&&f(e.mutationKey)!==f(this.options.mutationKey)?this.reset():this.#ti?.state.status==="pending"&&this.#ti.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#ti?.removeObserver(this)}onMutationUpdate(t){this.#ta(),this.#W(t)}getCurrentResult(){return this.#M}reset(){this.#ti?.removeObserver(this),this.#ti=void 0,this.#ta(),this.#W()}mutate(t,e){return this.#tn=e,this.#ti?.removeObserver(this),this.#ti=this.#o.getMutationCache().build(this.#o,this.options),this.#ti.addObserver(this),this.#ti.execute(t)}#ta(){let t=this.#ti?.state??H();this.#M={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#W(t){T.batch(()=>{if(this.#tn&&this.hasListeners()){let e=this.#M.variables,s=this.#M.context;t?.type==="success"?(this.#tn.onSuccess?.(t.data,e,s),this.#tn.onSettled?.(t.data,null,e,s)):t?.type==="error"&&(this.#tn.onError?.(t.error,e,s),this.#tn.onSettled?.(void 0,t.error,e,s))}this.listeners.forEach(t=>{t(this.#M)})})}};function ts(t){return t}function tr(t){return t.state.isPaused}function ti(t){return"success"===t.state.status}function tn(t){return!0}function ta(t,e={}){let s=e.shouldDehydrateMutation??t.getDefaultOptions().dehydrate?.shouldDehydrateMutation??tr,r=t.getMutationCache().getAll().flatMap(t=>s(t)?[{mutationKey:t.options.mutationKey,state:t.state,...t.options.scope&&{scope:t.options.scope},...t.meta&&{meta:t.meta}}]:[]),i=e.shouldDehydrateQuery??t.getDefaultOptions().dehydrate?.shouldDehydrateQuery??ti,n=e.shouldRedactErrors??t.getDefaultOptions().dehydrate?.shouldRedactErrors??tn,a=e.serializeData??t.getDefaultOptions().dehydrate?.serializeData??ts;return{mutations:r,queries:t.getQueryCache().getAll().flatMap(t=>i(t)?[{state:{...t.state,...void 0!==t.state.data&&{data:a(t.state.data)}},queryKey:t.queryKey,queryHash:t.queryHash,..."pending"===t.state.status&&{promise:t.promise?.then(a).catch(t=>n(t)?Promise.reject(Error("redacted")):Promise.reject(t))},...t.meta&&{meta:t.meta}}]:[])}}function tu(t,e,s){if("object"!=typeof e||null===e)return;let r=t.getMutationCache(),i=t.getQueryCache(),n=s?.defaultOptions?.deserializeData??t.getDefaultOptions().hydrate?.deserializeData??ts,a=e.mutations||[],u=e.queries||[];a.forEach(({state:e,...i})=>{r.build(t,{...t.getDefaultOptions().hydrate?.mutations,...s?.defaultOptions?.mutations,...i},e)}),u.forEach(({queryKey:e,state:r,queryHash:a,meta:u,promise:o})=>{let h=i.get(a),c=void 0===r.data?r.data:n(r.data);if(h){if(h.state.dataUpdatedAt<r.dataUpdatedAt){let{fetchStatus:t,...e}=r;h.setState({...e,data:c})}}else h=i.build(t,{...t.getDefaultOptions().hydrate?.queries,...s?.defaultOptions?.queries,queryKey:e,queryHash:a,meta:u},{...r,data:c,fetchStatus:"idle"});if(o){let t=Promise.resolve(o).then(n);h.fetch(void 0,{initialPromise:t})}})}function to({queryFn:t,refetchMode:e}){return async s=>{if("append"!==e){let t=s.client.getQueryCache().find({queryKey:s.queryKey,exact:!0});t&&void 0!==t.state.data&&t.setState({status:"pending",data:void 0,error:null,fetchStatus:"fetching"})}for await(let e of(await t(s))){if(s.signal.aborted)break;s.client.setQueryData(s.queryKey,(t=[])=>t.concat(e))}return s.client.getQueryData(s.queryKey)}}var th=Symbol("dataTagSymbol"),tc=Symbol("dataTagErrorSymbol"),tl=Symbol("unsetMarker"),td=s(54538),tf=s(24246),tp=td.createContext(void 0),ty=t=>{let e=td.useContext(tp);if(t)return t;if(!e)throw Error("No QueryClient set, use QueryClientProvider to set one");return e},tm=({client:t,children:e})=>(td.useEffect(()=>(t.mount(),()=>{t.unmount()}),[t]),(0,tf.jsx)(tp.Provider,{value:t,children:e})),tb=td.createContext(!1),tv=()=>td.useContext(tb),tg=tb.Provider;function tO(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var tR=td.createContext(tO()),tC=()=>td.useContext(tR),tQ=({children:t})=>{let[e]=td.useState(()=>tO());return(0,tf.jsx)(tR.Provider,{value:e,children:"function"==typeof t?t(e):t})};function tS(t,e){return"function"==typeof t?t(...e):!!t}function tw(){}var tq=(t,e)=>{(t.suspense||t.throwOnError||t.experimental_prefetchInRender)&&!e.isReset()&&(t.retryOnMount=!1)},tP=t=>{td.useEffect(()=>{t.clearReset()},[t])},tE=({result:t,errorResetBoundary:e,throwOnError:s,query:r,suspense:i})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(i&&void 0===t.data||tS(s,[t.error,r])),tM=(t,e)=>void 0===e.state.data,tD=t=>{let e=t.staleTime;t.suspense&&(t.staleTime="function"==typeof e?(...t)=>Math.max(e(...t),1e3):Math.max(e??1e3,1e3),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,1e3)))},tF=(t,e)=>t.isLoading&&t.isFetching&&!e,tx=(t,e)=>t?.suspense&&e.isPending,tI=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function tT({queries:t,...e},s){let r=ty(s),i=tv(),n=tC(),a=td.useMemo(()=>t.map(t=>{let e=r.defaultQueryOptions(t);return e._optimisticResults=i?"isRestoring":"optimistic",e}),[t,r,i]);a.forEach(t=>{tD(t),tq(t,n)}),tP(n);let[u]=td.useState(()=>new Z(r,a,e)),[o,h,c]=u.getOptimisticResult(a,e.combine),l=!i&&!1!==e.subscribed;td.useSyncExternalStore(td.useCallback(t=>l?u.subscribe(T.batchCalls(t)):tw,[u,l]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),td.useEffect(()=>{u.setQueries(a,e,{listeners:!1})},[a,e,u]);let d=o.some((t,e)=>tx(a[e],t))?o.flatMap((t,e)=>{let s=a[e];if(s){let e=new W(r,s);if(tx(s,t))return tI(s,e,n);tF(t,i)&&tI(s,e,n)}return[]}):[];if(d.length>0)throw Promise.all(d);let f=o.find((t,e)=>{let s=a[e];return s&&tE({result:t,errorResetBoundary:n,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash),suspense:s.suspense})});if(f?.error)throw f.error;return h(c())}function tk(t,e,s){let r=ty(s),n=tv(),a=tC(),u=r.defaultQueryOptions(t);r.getDefaultOptions().queries?._experimental_beforeQuery?.(u),u._optimisticResults=n?"isRestoring":"optimistic",tD(u),tq(u,a),tP(a);let o=!r.getQueryCache().get(u.queryHash),[h]=td.useState(()=>new e(r,u)),c=h.getOptimisticResult(u),l=!n&&!1!==t.subscribed;if(td.useSyncExternalStore(td.useCallback(t=>{let e=l?h.subscribe(T.batchCalls(t)):tw;return h.updateResult(),e},[h,l]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),td.useEffect(()=>{h.setOptions(u,{listeners:!1})},[u,h]),tx(u,c))throw tI(u,h,a);if(tE({result:c,errorResetBoundary:a,throwOnError:u.throwOnError,query:r.getQueryCache().get(u.queryHash),suspense:u.suspense}))throw c.error;if(r.getDefaultOptions().queries?._experimental_afterQuery?.(u,c),u.experimental_prefetchInRender&&!i&&tF(c,n)){let t=o?tI(u,h,a):r.getQueryCache().get(u.queryHash)?.promise;t?.catch(tw).finally(()=>{h.updateResult()})}return u.notifyOnChangeProps?c:h.trackResult(c)}function tA(t,e){return tk(t,W,e)}function tU(t,e){return tk({...t,enabled:!0,suspense:!0,throwOnError:tM,placeholderData:void 0},W,e)}function tj(t,e){return tk({...t,enabled:!0,suspense:!0,throwOnError:tM},tt,e)}function tK(t,e){return tT({...t,queries:t.queries.map(t=>({...t,suspense:!0,throwOnError:tM,enabled:!0,placeholderData:void 0}))},e)}function tH(t,e){let s=ty(e);s.getQueryState(t.queryKey)||s.prefetchQuery(t)}function tL(t,e){let s=ty(e);s.getQueryState(t.queryKey)||s.prefetchInfiniteQuery(t)}function t_(t){return t}function tG(t){return t}var tN=(t,e)=>"object"==typeof t&&null!==t&&e in t,tz=({children:t,options:e={},state:s,queryClient:r})=>{let i=ty(r),[n,a]=td.useState(),u=td.useRef(e);return u.current=e,td.useMemo(()=>{if(s){if("object"!=typeof s)return;let t=i.getQueryCache(),e=s.queries||[],r=[],o=[];for(let s of e){let e=t.get(s.queryHash);if(e){let t=s.state.dataUpdatedAt>e.state.dataUpdatedAt||tN(s.promise,"status")&&tN(e.promise,"status")&&s.promise.status!==e.promise.status,r=n?.find(t=>t.queryHash===s.queryHash);t&&(!r||s.state.dataUpdatedAt>r.state.dataUpdatedAt)&&o.push(s)}else r.push(s)}r.length>0&&tu(i,{queries:r},u.current),o.length>0&&a(t=>t?[...t,...o]:o)}},[i,n,s]),td.useEffect(()=>{n&&(tu(i,{queries:n},u.current),a(void 0))},[i,n]),t};function tB(t,e){let s=ty(e),r=s.getQueryCache();return td.useSyncExternalStore(td.useCallback(t=>r.subscribe(T.batchCalls(t)),[r]),()=>s.isFetching(t),()=>s.isFetching(t))}function tW(t,e){let s=ty(e);return tJ({filters:{...t,status:"pending"}},s).length}function t$(t,e){return t.findAll(e.filters).map(t=>e.select?e.select(t):t.state)}function tJ(t={},e){let s=ty(e).getMutationCache(),r=td.useRef(t),i=td.useRef(null);return i.current||(i.current=t$(s,t)),td.useEffect(()=>{r.current=t}),td.useSyncExternalStore(td.useCallback(t=>s.subscribe(()=>{let e=y(i.current,t$(s,r.current));i.current!==e&&(i.current=e,T.schedule(t))}),[s]),()=>i.current,()=>i.current)}function tV(t,e){let s=ty(e),[r]=td.useState(()=>new te(s,t));td.useEffect(()=>{r.setOptions(t)},[r,t]);let i=td.useSyncExternalStore(td.useCallback(t=>r.subscribe(T.batchCalls(t)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),n=td.useCallback((t,e)=>{r.mutate(t,e).catch(tw)},[r]);if(i.error&&tS(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:n,mutateAsync:i.mutate}}function tX(t,e){return tk(t,tt,e)}}}]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*! For license information please see 2569.daf868a6.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["2569"],{17960:function(e,t,r){r.d(t,{Z:()=>n});function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},42747:function(e,t,r){r.d(t,{O:()=>m});var n,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(17960),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,i.Z)(function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()}),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===o[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)n={name:o.name,styles:o.styles,next:n},o=o.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=d(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":c(a)&&(n+=u(i)+":"+f(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var l=0;l<a.length;l++)c(a[l])&&(n+=u(i)+":"+f(i,a[l])+";");else{var s=d(e,t,a);switch(i){case"animation":case"animationName":n+=u(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var i=n,a=r(e);return n=i,d(e,t,a)}}if(null==t)return r;var l=t[r];return void 0!==l?l:r}var p=/label:\s*([^\s;{]+)\s*(;|$)/g;function m(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,i=!0,a="";n=void 0;var l=e[0];null==l||void 0===l.raw?(i=!1,a+=d(r,t,l)):a+=l[0];for(var s=1;s<e.length;s++)a+=d(r,t,e[s]),i&&(a+=l[s]);p.lastIndex=0;for(var c="";null!==(o=p.exec(a));)c+="-"+o[1];return{name:function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(a)+c,styles:a,next:n}}},51751:function(e,t,r){r.d(t,{i:()=>a});var n=r(54538),o=r(16819);r(24246);let i=n.createContext(void 0);function a(e){return function({props:e,name:t}){return function(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let i=t.components[r];return i.defaultProps?(0,o.Z)(i.defaultProps,n):i.styleOverrides||i.variants?n:(0,o.Z)(i,n)}({props:e,name:t,theme:{components:n.useContext(i)}})}(e)}},28866:function(e,t,r){r.d(t,{Z:()=>b});var n=r(54538),o=r(90496),i=r(82267),a=r(16838),l=r(12709),s=r(94776),c=r(82319),u=r(51751),f=r(8505),d=r(44124),p=r(6749);function m(e){return(0,p.ZP)("MuiPaper",e)}(0,d.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var g=r(24246);let h=e=>{let{square:t,elevation:r,variant:n,classes:o}=e,a={root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]};return(0,i.Z)(a,m,o)},y=(0,l.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((0,c.Z)(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),b=n.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiPaper"}),n=(0,s.Z)(),{className:i,component:l="div",elevation:c=1,square:d=!1,variant:p="elevation",...m}=r,b={...r,component:l,elevation:c,square:d,variant:p},v=h(b);return(0,g.jsx)(y,{as:l,ownerState:b,className:(0,o.Z)(v.root,i),ref:t,...m,style:{..."elevation"===p&&{"--Paper-shadow":(n.vars||n).shadows[c],...n.vars&&{"--Paper-overlay":n.vars.overlays?.[c]},...!n.vars&&"dark"===n.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,a.Fq)("#fff",(0,f.Z)(c))}, ${(0,a.Fq)("#fff",(0,f.Z)(c))})`}},...m.style}})})},28730:function(e,t,r){r.d(t,{Z:()=>J});var n=r(62220),o=r(61170),i=r(16838);let a={black:"#000",white:"#fff"},l={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},s={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},c={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},u={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},f={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},d={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function m(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.white,default:a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let g=m();function h(){return{text:{primary:a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let y=h();function b(e,t,r,n){let o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,i.$n)(e.main,o):"dark"===t&&(e.dark=(0,i._j)(e.main,a)))}function v(e){let t;let{mode:r="light",contrastThreshold:v=3,tonalOffset:S=.2,...x}=e,k=e.primary||function(e="light"){return"dark"===e?{main:f["200"],light:f["50"],dark:f["400"]}:{main:f["700"],light:f["400"],dark:f["800"]}}(r),Z=e.secondary||function(e="light"){return"dark"===e?{main:s["200"],light:s["50"],dark:s["400"]}:{main:s["500"],light:s["300"],dark:s["700"]}}(r),w=e.error||function(e="light"){return"dark"===e?{main:c["500"],light:c["300"],dark:c["700"]}:{main:c["700"],light:c["400"],dark:c["800"]}}(r),C=e.info||function(e="light"){return"dark"===e?{main:d["400"],light:d["300"],dark:d["700"]}:{main:d["700"],light:d["500"],dark:d["900"]}}(r),A=e.success||function(e="light"){return"dark"===e?{main:p["400"],light:p["300"],dark:p["700"]}:{main:p["800"],light:p["500"],dark:p["900"]}}(r),$=e.warning||function(e="light"){return"dark"===e?{main:u["400"],light:u["300"],dark:u["700"]}:{main:"#ed6c02",light:u["500"],dark:u["900"]}}(r);function P(e){return(0,i.mi)(e,y.text.primary)>=v?y.text.primary:g.text.primary}let O=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw Error((0,n.Z)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw Error((0,n.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return b(e,"light",o,S),b(e,"dark",i,S),e.contrastText||(e.contrastText=P(e.main)),e};return"light"===r?t=m():"dark"===r&&(t=h()),(0,o.Z)({common:{...a},mode:r,primary:O({color:k,name:"primary"}),secondary:O({color:Z,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:w,name:"error"}),warning:O({color:$,name:"warning"}),info:O({color:C,name:"info"}),success:O({color:A,name:"success"}),grey:l,contrastThreshold:v,getContrastText:P,augmentColor:O,tonalOffset:S,...t},x)}var S=r(4715),x=r(82664);let k=(e,t,r,n=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])})},Z=(e,t,r)=>{!function e(n,o=[],i=[]){Object.entries(n).forEach(([n,a])=>{r&&(!r||r([...o,n]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...o,n],Array.isArray(a)?[...i,n]:i):t([...o,n],a,i))})}(e)},w=(e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function C(e,t){let{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Z(e,(e,t,l)=>{if(("string"==typeof t||"number"==typeof t)&&(!n||!n(e,t))){let n=`--${r?`${r}-`:""}${e.join("-")}`,s=w(e,t);Object.assign(o,{[n]:s}),k(i,e,`var(${n})`,l),k(a,e,`var(${n}, ${s})`,l)}},e=>"vars"===e[0]),{css:o,vars:i,varsWithDefaults:a}}let A=function(e,t={}){let{getSelector:r=function(t,r){let n=i;if("class"===i&&(n=".%s"),"data"===i&&(n="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(n=`[${i}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";let n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"},disableCssColorScheme:n,colorSchemeSelector:i}=t,{colorSchemes:a={},components:l,defaultColorScheme:s="light",...c}=e,{vars:u,css:f,varsWithDefaults:d}=C(c,t),p=d,m={},{[s]:g,...h}=a;if(Object.entries(h||{}).forEach(([e,r])=>{let{vars:n,css:i,varsWithDefaults:a}=C(r,t);p=(0,o.Z)(p,a),m[e]={css:i,vars:n}}),g){let{css:e,vars:r,varsWithDefaults:n}=C(g,t);p=(0,o.Z)(p,n),m[s]={css:e,vars:r}}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=(0,o.Z)(e,t)}),e},generateStyleSheets:()=>{let t=[],o=e.defaultColorScheme||"light";function i(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}i(r(void 0,{...f}),f);let{[o]:l,...s}=m;if(l){let{css:e}=l,t=a[o]?.palette?.mode,s=!n&&t?{colorScheme:t,...e}:{...e};i(r(o,{...s}),s)}return Object.entries(s).forEach(([e,{css:t}])=>{let o=a[e]?.palette?.mode,l=!n&&o?{colorScheme:o,...t}:{...t};i(r(e,{...l}),l)}),t}}};var $=r(40273),P=r(11652),O=r(6798);let B={textTransform:"uppercase"},T='"Roboto", "Helvetica", "Arial", sans-serif';function j(...e){return`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2),${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14),${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`}let I=["none",j(0,2,1,-1,0,1,1,0,0,1,3,0),j(0,3,1,-2,0,2,2,0,0,1,5,0),j(0,3,3,-2,0,3,4,0,0,1,8,0),j(0,2,4,-1,0,4,5,0,0,1,10,0),j(0,3,5,-1,0,5,8,0,0,1,14,0),j(0,3,5,-1,0,6,10,0,0,1,18,0),j(0,4,5,-2,0,7,10,1,0,2,16,1),j(0,5,5,-3,0,8,10,1,0,3,14,2),j(0,5,6,-3,0,9,12,1,0,3,16,2),j(0,6,6,-3,0,10,14,1,0,4,18,3),j(0,6,7,-4,0,11,15,1,0,4,20,3),j(0,7,8,-4,0,12,17,2,0,5,22,4),j(0,7,8,-4,0,13,19,2,0,5,24,4),j(0,7,9,-4,0,14,21,2,0,5,26,4),j(0,8,9,-5,0,15,22,2,0,6,28,5),j(0,8,10,-5,0,16,24,2,0,6,30,5),j(0,8,11,-5,0,17,26,2,0,6,32,5),j(0,9,11,-5,0,18,28,2,0,7,34,6),j(0,9,12,-6,0,19,29,2,0,7,36,6),j(0,10,13,-6,0,20,31,3,0,8,38,7),j(0,10,13,-6,0,21,33,3,0,8,40,7),j(0,10,14,-6,0,22,35,3,0,8,42,7),j(0,11,14,-7,0,23,36,3,0,9,44,8),j(0,11,15,-7,0,24,38,3,0,9,46,8)];var R=r(39508);let E={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function _(e={}){let t={...e};return!function e(t){let r=Object.entries(t);for(let n=0;n<r.length;n++){let[i,a]=r[n];!((0,o.P)(a)||void 0===a||"string"==typeof a||"boolean"==typeof a||"number"==typeof a||Array.isArray(a))||i.startsWith("unstable_")?delete t[i]:(0,o.P)(a)&&(t[i]={...a},e(t[i]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
3
|
+
|
|
4
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
5
|
+
|
|
6
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
7
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
8
|
+
|
|
9
|
+
export default theme;`}let z=function(e={},...t){var r;let{breakpoints:i,mixins:a={},spacing:l,palette:s={},transitions:c={},typography:u={},shape:f,...d}=e;if(e.vars&&void 0===e.generateThemeVars)throw Error((0,n.Z)(20));let p=v(s),m=(0,O.Z)(e),g=(0,o.Z)(m,{mixins:{toolbar:{minHeight:56,[(r=m.breakpoints).up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[r.up("sm")]:{minHeight:64}},...a},palette:p,shadows:I.slice(),typography:function(e,t){let{fontFamily:r=T,fontSize:n=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:u,pxToRem:f,...d}="function"==typeof t?t(e):t,p=n/14,m=f||(e=>`${e/c*p}rem`),g=(e,t,n,o,i)=>({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n,...r===T?{letterSpacing:`${Math.round(o/t*1e5)/1e5}em`}:{},...i,...u}),h={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(a,48,1.167,0),h4:g(a,34,1.235,.25),h5:g(a,24,1.334,0),h6:g(l,20,1.6,.15),subtitle1:g(a,16,1.75,.15),subtitle2:g(l,14,1.57,.1),body1:g(a,16,1.5,.15),body2:g(a,14,1.43,.15),button:g(l,14,1.75,.4,B),caption:g(a,12,1.66,.4),overline:g(a,12,2.66,1,B),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,o.Z)({htmlFontSize:c,pxToRem:m,fontFamily:r,fontSize:n,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s,...h},d,{clone:!1})}(p,u),transitions:(0,R.ZP)(c),zIndex:{...E}});return g=(0,o.Z)(g,d),(g=t.reduce((e,t)=>(0,o.Z)(e,t),g)).unstable_sxConfig={...$.Z,...d?.unstable_sxConfig},g.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},g.toRuntimeSource=_,g};var F=r(8505);let L=[...Array(25)].map((e,t)=>{if(0===t)return"none";let r=(0,F.Z)(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function M(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function N(e){return"dark"===e?L:[]}function q(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}let W=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],D=e=>(t,r)=>{let n=e.rootSelector||":root",o=e.colorSchemeSelector,i=o;if("class"===o&&(i=".%s"),"data"===o&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){let o={};return(W(e.cssVarPrefix).forEach(e=>{o[e]=r[e],delete r[e]}),"media"===i)?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:o}}:i?{[i.replace("%s",t)]:o,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...o}}}if(i&&"media"!==i)return`${n}, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function K(e,t,r){!e[t]&&r&&(e[t]=r)}function G(e){return"string"==typeof e&&e.startsWith("hsl")?(0,i.ve)(e):e}function V(e,t){`${t}Channel`in e||(e[`${t}Channel`]=(0,i.LR)(G(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
10
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}let H=e=>{try{return e()}catch(e){}},X=(e="mui")=>(function(e=""){return(t,...r)=>`var(--${e?`${e}-`:""}${t}${function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}(...r)})`})(e);function U(e,t,r,n){if(!t)return;t=!0===t?{}:t;let o="dark"===n?"dark":"light";if(!r){e[n]=function(e){let{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=v(t);return{palette:i,opacity:{...M(i.mode),...r},overlays:n||N(i.mode),...o}}({...t,palette:{mode:o,...t?.palette}});return}let{palette:i,...a}=z({...r,palette:{mode:o,...t?.palette}});return e[n]={...t,palette:i,opacity:{...M(o),...t?.opacity},overlays:t?.overlays||N(o)},a}function Y(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:v({...!0===r?{}:r.palette,mode:t})})}function J(e={},...t){let{palette:r,cssVariables:a=!1,colorSchemes:l=r?void 0:{light:!0},defaultColorScheme:s=r?.mode,...c}=e,u=s||"light",f=l?.[u],d={...l,...r?{[u]:{..."boolean"!=typeof f&&f,palette:r}}:void 0};if(!1===a){if(!("colorSchemes"in e))return z(e,...t);let n=r;"palette"in e||!d[u]||(!0!==d[u]?n=d[u].palette:"dark"!==u||(n={mode:"dark"}));let o=z({...e,palette:n},...t);return o.defaultColorScheme=u,o.colorSchemes=d,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==d.light&&d.light,palette:o.palette},Y(o,"dark",d.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==d.dark&&d.dark,palette:o.palette},Y(o,"light",d.light)),o}return r||"light"in d||"light"!==u||(d.light=!0),function(e={},...t){var r;let{colorSchemes:a={light:!0},defaultColorScheme:l,disableCssColorScheme:s=!1,cssVarPrefix:c="mui",shouldSkipGeneratingVar:u=q,colorSchemeSelector:f=a.light&&a.dark?"media":void 0,rootSelector:d=":root",...p}=e,m=Object.keys(a)[0],g=l||(a.light&&"light"!==m?"light":m),h=X(c),{[g]:y,light:b,dark:v,...k}=a,Z={...k},w=y;if(("dark"!==g||"dark"in a)&&("light"!==g||"light"in a)||(w=!0),!w)throw Error((0,n.Z)(21,g));let C=U(Z,w,p,g);b&&!Z.light&&U(Z,b,void 0,"light"),v&&!Z.dark&&U(Z,v,void 0,"dark");let O={defaultColorScheme:g,...C,cssVarPrefix:c,colorSchemeSelector:f,rootSelector:d,getCssVar:h,colorSchemes:Z,font:{...function(e){let t={};return Object.entries(e).forEach(e=>{let[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}(C.typography),...C.font},spacing:"number"==typeof(r=p.spacing)?`${r}px`:"string"==typeof r||"function"==typeof r||Array.isArray(r)?r:"8px"};Object.keys(O.colorSchemes).forEach(e=>{let t=O.colorSchemes[e].palette,r=e=>{let r=e.split("-"),n=r[1],o=r[2];return h(e,t[n][o])};if("light"===t.mode&&(K(t.common,"background","#fff"),K(t.common,"onBackground","#000")),"dark"===t.mode&&(K(t.common,"background","#000"),K(t.common,"onBackground","#fff")),function(e,t){t.forEach(t=>{e[t]||(e[t]={})})}(t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===t.mode){K(t.Alert,"errorColor",(0,i.q8)(t.error.light,.6)),K(t.Alert,"infoColor",(0,i.q8)(t.info.light,.6)),K(t.Alert,"successColor",(0,i.q8)(t.success.light,.6)),K(t.Alert,"warningColor",(0,i.q8)(t.warning.light,.6)),K(t.Alert,"errorFilledBg",r("palette-error-main")),K(t.Alert,"infoFilledBg",r("palette-info-main")),K(t.Alert,"successFilledBg",r("palette-success-main")),K(t.Alert,"warningFilledBg",r("palette-warning-main")),K(t.Alert,"errorFilledColor",H(()=>t.getContrastText(t.error.main))),K(t.Alert,"infoFilledColor",H(()=>t.getContrastText(t.info.main))),K(t.Alert,"successFilledColor",H(()=>t.getContrastText(t.success.main))),K(t.Alert,"warningFilledColor",H(()=>t.getContrastText(t.warning.main))),K(t.Alert,"errorStandardBg",(0,i.ux)(t.error.light,.9)),K(t.Alert,"infoStandardBg",(0,i.ux)(t.info.light,.9)),K(t.Alert,"successStandardBg",(0,i.ux)(t.success.light,.9)),K(t.Alert,"warningStandardBg",(0,i.ux)(t.warning.light,.9)),K(t.Alert,"errorIconColor",r("palette-error-main")),K(t.Alert,"infoIconColor",r("palette-info-main")),K(t.Alert,"successIconColor",r("palette-success-main")),K(t.Alert,"warningIconColor",r("palette-warning-main")),K(t.AppBar,"defaultBg",r("palette-grey-100")),K(t.Avatar,"defaultBg",r("palette-grey-400")),K(t.Button,"inheritContainedBg",r("palette-grey-300")),K(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),K(t.Chip,"defaultBorder",r("palette-grey-400")),K(t.Chip,"defaultAvatarColor",r("palette-grey-700")),K(t.Chip,"defaultIconColor",r("palette-grey-700")),K(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),K(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),K(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),K(t.LinearProgress,"primaryBg",(0,i.ux)(t.primary.main,.62)),K(t.LinearProgress,"secondaryBg",(0,i.ux)(t.secondary.main,.62)),K(t.LinearProgress,"errorBg",(0,i.ux)(t.error.main,.62)),K(t.LinearProgress,"infoBg",(0,i.ux)(t.info.main,.62)),K(t.LinearProgress,"successBg",(0,i.ux)(t.success.main,.62)),K(t.LinearProgress,"warningBg",(0,i.ux)(t.warning.main,.62)),K(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),K(t.Slider,"primaryTrack",(0,i.ux)(t.primary.main,.62)),K(t.Slider,"secondaryTrack",(0,i.ux)(t.secondary.main,.62)),K(t.Slider,"errorTrack",(0,i.ux)(t.error.main,.62)),K(t.Slider,"infoTrack",(0,i.ux)(t.info.main,.62)),K(t.Slider,"successTrack",(0,i.ux)(t.success.main,.62)),K(t.Slider,"warningTrack",(0,i.ux)(t.warning.main,.62));let e=(0,i.fk)(t.background.default,.8);K(t.SnackbarContent,"bg",e),K(t.SnackbarContent,"color",H(()=>t.getContrastText(e))),K(t.SpeedDialAction,"fabHoverBg",(0,i.fk)(t.background.paper,.15)),K(t.StepConnector,"border",r("palette-grey-400")),K(t.StepContent,"border",r("palette-grey-400")),K(t.Switch,"defaultColor",r("palette-common-white")),K(t.Switch,"defaultDisabledColor",r("palette-grey-100")),K(t.Switch,"primaryDisabledColor",(0,i.ux)(t.primary.main,.62)),K(t.Switch,"secondaryDisabledColor",(0,i.ux)(t.secondary.main,.62)),K(t.Switch,"errorDisabledColor",(0,i.ux)(t.error.main,.62)),K(t.Switch,"infoDisabledColor",(0,i.ux)(t.info.main,.62)),K(t.Switch,"successDisabledColor",(0,i.ux)(t.success.main,.62)),K(t.Switch,"warningDisabledColor",(0,i.ux)(t.warning.main,.62)),K(t.TableCell,"border",(0,i.ux)((0,i.zp)(t.divider,1),.88)),K(t.Tooltip,"bg",(0,i.zp)(t.grey[700],.92))}if("dark"===t.mode){K(t.Alert,"errorColor",(0,i.ux)(t.error.light,.6)),K(t.Alert,"infoColor",(0,i.ux)(t.info.light,.6)),K(t.Alert,"successColor",(0,i.ux)(t.success.light,.6)),K(t.Alert,"warningColor",(0,i.ux)(t.warning.light,.6)),K(t.Alert,"errorFilledBg",r("palette-error-dark")),K(t.Alert,"infoFilledBg",r("palette-info-dark")),K(t.Alert,"successFilledBg",r("palette-success-dark")),K(t.Alert,"warningFilledBg",r("palette-warning-dark")),K(t.Alert,"errorFilledColor",H(()=>t.getContrastText(t.error.dark))),K(t.Alert,"infoFilledColor",H(()=>t.getContrastText(t.info.dark))),K(t.Alert,"successFilledColor",H(()=>t.getContrastText(t.success.dark))),K(t.Alert,"warningFilledColor",H(()=>t.getContrastText(t.warning.dark))),K(t.Alert,"errorStandardBg",(0,i.q8)(t.error.light,.9)),K(t.Alert,"infoStandardBg",(0,i.q8)(t.info.light,.9)),K(t.Alert,"successStandardBg",(0,i.q8)(t.success.light,.9)),K(t.Alert,"warningStandardBg",(0,i.q8)(t.warning.light,.9)),K(t.Alert,"errorIconColor",r("palette-error-main")),K(t.Alert,"infoIconColor",r("palette-info-main")),K(t.Alert,"successIconColor",r("palette-success-main")),K(t.Alert,"warningIconColor",r("palette-warning-main")),K(t.AppBar,"defaultBg",r("palette-grey-900")),K(t.AppBar,"darkBg",r("palette-background-paper")),K(t.AppBar,"darkColor",r("palette-text-primary")),K(t.Avatar,"defaultBg",r("palette-grey-600")),K(t.Button,"inheritContainedBg",r("palette-grey-800")),K(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),K(t.Chip,"defaultBorder",r("palette-grey-700")),K(t.Chip,"defaultAvatarColor",r("palette-grey-300")),K(t.Chip,"defaultIconColor",r("palette-grey-300")),K(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),K(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),K(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),K(t.LinearProgress,"primaryBg",(0,i.q8)(t.primary.main,.5)),K(t.LinearProgress,"secondaryBg",(0,i.q8)(t.secondary.main,.5)),K(t.LinearProgress,"errorBg",(0,i.q8)(t.error.main,.5)),K(t.LinearProgress,"infoBg",(0,i.q8)(t.info.main,.5)),K(t.LinearProgress,"successBg",(0,i.q8)(t.success.main,.5)),K(t.LinearProgress,"warningBg",(0,i.q8)(t.warning.main,.5)),K(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),K(t.Slider,"primaryTrack",(0,i.q8)(t.primary.main,.5)),K(t.Slider,"secondaryTrack",(0,i.q8)(t.secondary.main,.5)),K(t.Slider,"errorTrack",(0,i.q8)(t.error.main,.5)),K(t.Slider,"infoTrack",(0,i.q8)(t.info.main,.5)),K(t.Slider,"successTrack",(0,i.q8)(t.success.main,.5)),K(t.Slider,"warningTrack",(0,i.q8)(t.warning.main,.5));let e=(0,i.fk)(t.background.default,.98);K(t.SnackbarContent,"bg",e),K(t.SnackbarContent,"color",H(()=>t.getContrastText(e))),K(t.SpeedDialAction,"fabHoverBg",(0,i.fk)(t.background.paper,.15)),K(t.StepConnector,"border",r("palette-grey-600")),K(t.StepContent,"border",r("palette-grey-600")),K(t.Switch,"defaultColor",r("palette-grey-300")),K(t.Switch,"defaultDisabledColor",r("palette-grey-600")),K(t.Switch,"primaryDisabledColor",(0,i.q8)(t.primary.main,.55)),K(t.Switch,"secondaryDisabledColor",(0,i.q8)(t.secondary.main,.55)),K(t.Switch,"errorDisabledColor",(0,i.q8)(t.error.main,.55)),K(t.Switch,"infoDisabledColor",(0,i.q8)(t.info.main,.55)),K(t.Switch,"successDisabledColor",(0,i.q8)(t.success.main,.55)),K(t.Switch,"warningDisabledColor",(0,i.q8)(t.warning.main,.55)),K(t.TableCell,"border",(0,i.q8)((0,i.zp)(t.divider,1),.68)),K(t.Tooltip,"bg",(0,i.zp)(t.grey[700],.92))}V(t.background,"default"),V(t.background,"paper"),V(t.common,"background"),V(t.common,"onBackground"),V(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&K(t[e],"mainChannel",(0,i.LR)(G(r.main))),r.light&&K(t[e],"lightChannel",(0,i.LR)(G(r.light))),r.dark&&K(t[e],"darkChannel",(0,i.LR)(G(r.dark))),r.contrastText&&K(t[e],"contrastTextChannel",(0,i.LR)(G(r.contrastText))),"text"===e&&(V(t[e],"primary"),V(t[e],"secondary")),"action"===e&&(r.active&&V(t[e],"active"),r.selected&&V(t[e],"selected")))})});let B={prefix:c,disableCssColorScheme:s,shouldSkipGeneratingVar:u,getSelector:D(O=t.reduce((e,t)=>(0,o.Z)(e,t),O))},{vars:T,generateThemeVars:j,generateStyleSheets:I}=A(O,B);return O.vars=T,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([e,t])=>{O[e]=t}),O.generateThemeVars=j,O.generateStyleSheets=I,O.generateSpacing=function(){return(0,S.Z)(p.spacing,(0,x.hB)(this))},O.getColorSchemeSelector=function(e){return"media"===f?`@media (prefers-color-scheme: ${e})`:f?f.startsWith("data-")&&!f.includes("%s")?`[${f}="${e}"] &`:"class"===f?`.${e} &`:"data"===f?`[data-${e}] &`:`${f.replace("%s",e)} &`:"&"},O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=u,O.unstable_sxConfig={...$.Z,...p?.unstable_sxConfig},O.unstable_sx=function(e){return(0,P.Z)({sx:e,theme:this})},O.toRuntimeSource=_,O}({...c,colorSchemes:d,defaultColorScheme:u,..."boolean"!=typeof a&&a},...t)}},39508:function(e,t,r){r.d(t,{ZP:()=>l,x9:()=>o});let n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function i(e){return`${Math.round(e)}ms`}function a(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function l(e){let t={...n,...e.easing},r={...o,...e.duration};return{getAutoHeightDuration:a,create:(e=["all"],n={})=>{let{duration:o=r.standard,easing:a=t.easeInOut,delay:l=0,...s}=n;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:i(o)} ${a} ${"string"==typeof l?l:i(l)}`).join(",")},...e,easing:t,duration:r}}},53126:function(e,t,r){r.d(t,{Z:()=>n});let n=(0,r(28730).Z)()},8505:function(e,t,r){r.d(t,{Z:()=>n});function n(e){let t;return Math.round(10*(e<1?5.11916*e**2:4.5*Math.log(e+1)+2))/1e3}},92994:function(e,t,r){r.d(t,{Z:()=>n});let n="$$material"},73037:function(e,t,r){r.d(t,{Z:()=>o});var n=r(4005);let o=e=>(0,n.Z)(e)&&"classes"!==e},4005:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},12709:function(e,t,r){r.d(t,{ZP:()=>l});var n=r(35315),o=r(53126),i=r(92994),a=r(73037);let l=(0,n.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a.Z})},94776:function(e,t,r){r.d(t,{Z:()=>a}),r(54538);var n=r(38971),o=r(53126),i=r(92994);function a(){let e=(0,n.Z)(o.Z);return e[i.Z]||e}},51640:function(e,t,r){r.d(t,{Z:()=>n});let n=r(3150).Z},90247:function(e,t,r){r.d(t,{Z:()=>y});var n=r(54538),o=r(90496),i=r(82267),a=r(51640),l=r(12709),s=r(82319),c=r(51751),u=r(44124),f=r(6749);function d(e){return(0,f.ZP)("MuiSvgIcon",e)}(0,u.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=r(24246);let m=e=>{let{color:t,fontSize:r,classes:n}=e,o={root:["root","inherit"!==t&&`color${(0,a.Z)(t)}`,`fontSize${(0,a.Z)(r)}`]};return(0,i.Z)(o,d,n)},g=(0,l.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${(0,a.Z)(r.color)}`],t[`fontSize${(0,a.Z)(r.fontSize)}`]]}})((0,s.Z)(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),h=n.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiSvgIcon"}),{children:i,className:a,color:l="inherit",component:s="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:d=!1,titleAccess:h,viewBox:y="0 0 24 24",...b}=r,v=n.isValidElement(i)&&"svg"===i.type,S={...r,color:l,component:s,fontSize:u,instanceFontSize:e.fontSize,inheritViewBox:d,viewBox:y,hasSvgAsChild:v},x={};d||(x.viewBox=y);let k=m(S);return(0,p.jsxs)(g,{as:s,className:(0,o.Z)(k.root,a),focusable:"false",color:f,"aria-hidden":!h||void 0,role:h?"img":void 0,ref:t,...x,...b,...v&&i.props,ownerState:S,children:[v?i.props.children:i,h?(0,p.jsx)("title",{children:h}):null]})});function y(e,t){function r(r,n){return(0,p.jsx)(h,{"data-testid":`${t}Icon`,ref:n,...r,children:e})}return r.muiName=h.muiName,n.memo(n.forwardRef(r))}h.muiName="SvgIcon"},77999:function(e,t,r){r.d(t,{Z:()=>n});let n=r(24384).Z},82319:function(e,t,r){r.d(t,{Z:()=>i});var n=r(83606);let o={theme:void 0},i=function(e){let t,r;return function(i){let a=t;return(void 0===a||i.theme!==r)&&(o.theme=i.theme,t=a=(0,n.Z)(e(o)),r=i.theme),a}}},2444:function(e,t,r){r.d(t,{Z:()=>n});let n=r(80668).Z},24255:function(e,t,r){r.d(t,{Z:()=>n});let n=r(33205).Z},16758:function(e,t,r){r.d(t,{Z:()=>n});let n=r(96858).Z},51183:function(e,t,r){r.d(t,{Z:()=>n});let n=r(97048).Z},16351:function(e,t,r){r.d(t,{Z:()=>l});var n=r(97048),o=r(60206),i=r(85480),a=r(92729);function l(e,t){let{className:r,elementType:l,ownerState:s,externalForwardedProps:c,internalForwardedProps:u,shouldForwardComponentProp:f=!1,...d}=t,{component:p,slots:m={[e]:void 0},slotProps:g={[e]:void 0},...h}=c,y=m[e]||l,b=(0,i.Z)(g[e],s),{props:{component:v,...S},internalRef:x}=(0,a.Z)({className:r,...d,externalForwardedProps:"root"===e?h:void 0,externalSlotProps:b}),k=(0,n.Z)(x,b?.ref,t.ref),Z="root"===e?v||p:v,w=(0,o.Z)(y,{..."root"===e&&!p&&!m[e]&&u,..."root"!==e&&!m[e]&&u,...S,...Z&&!f&&{as:Z},...Z&&f&&{component:Z},ref:k},s);return[y,w]}},89966:function(e,t,r){r.d(t,{ZP:()=>a,bu:()=>c,nf:()=>l});var n=r(45913),o=r.n(n),i=r(42747);function a(e,t){return o()(e,t)}function l(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}r(72116);let s=[];function c(e){return s[0]=e,(0,i.O)(s)}},6595:function(e,t,r){r.d(t,{V:()=>i});var n=r(54538);r(24246);let o=n.createContext(),i=()=>n.useContext(o)??!1},13890:function(e,t,r){r.d(t,{L7:()=>u,P$:()=>d,VO:()=>i,W8:()=>c,dt:()=>f,k9:()=>s});var n=r(61170),o=r(58787);let i={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${i[e]}px)`},l={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:i[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function s(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||a;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){let e=n.breakpoints||a;return Object.keys(t).reduce((a,s)=>{if((0,o.WX)(e.keys,s)){let e=(0,o.ue)(n.containerQueries?n:l,s);e&&(a[e]=r(t[s],s))}else Object.keys(e.values||i).includes(s)?a[e.up(s)]=r(t[s],s):a[s]=t[s];return a},{})}return r(t)}function c(e={}){return e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{})||{}}function u(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function f(e,...t){let r=c(e),o=[r,...t].reduce((e,t)=>(0,n.Z)(e,t),{});return u(Object.keys(r),o)}function d({values:e,breakpoints:t,base:r}){let n;let o=Object.keys(r||function(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t));return 0===o.length?e:o.reduce((t,r,o)=>(Array.isArray(e)?(t[r]=null!=e[o]?e[o]:e[n],n=o):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},16838:function(e,t,r){r.d(t,{ve:()=>c,LR:()=>l,Fq:()=>d,q8:()=>g,fk:()=>b,mi:()=>f,ux:()=>y,$n:()=>h,zp:()=>p,_j:()=>m});var n=r(62220);function o(e,t=0,r=1){return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function i(e){let t;if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let r=e.indexOf("("),o=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw Error((0,n.Z)(9,e));let a=e.substring(r+1,e.length-1);if("color"===o){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(t))throw Error((0,n.Z)(10,t))}else a=a.split(",");return{type:o,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}let a=e=>{let t=i(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")},l=(e,t)=>{try{return a(e)}catch(t){return e}};function s(e){let{type:t,colorSpace:r}=e,{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function c(e){let{values:t}=e=i(e),r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),l=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),s({type:c,values:u})}function u(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(c(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function f(e,t){let r=u(e),n=u(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function d(e,t){return e=i(e),t=o(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,s(e)}function p(e,t,r){try{return d(e,t)}catch(t){return e}}function m(e,t){if(e=i(e),t=o(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return s(e)}function g(e,t,r){try{return m(e,t)}catch(t){return e}}function h(e,t){if(e=i(e),t=o(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return s(e)}function y(e,t,r){try{return h(e,t)}catch(t){return e}}function b(e,t,r){try{return function(e,t=.15){return u(e)>.5?m(e,t):h(e,t)}(e,t)}catch(t){return e}}},35315:function(e,t,r){r.d(t,{ZP:()=>d,x9:()=>c});var n=r(89966),o=r(61170),i=r(6798),a=r(11652),l=r(83606);let s=(0,i.Z)();function c(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function u(e,t){let r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap(t=>u(e,t));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=r.style;else{let{variants:e,...n}=r;t=n}return f(e,r.variants,[t])}return r?.isProcessed?r.style:r}function f(e,t,r=[]){let n;e:for(let o=0;o<t.length;o+=1){let i=t[o];if("function"==typeof i.props){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!i.props(n))continue}else for(let t in i.props)if(e[t]!==i.props[t]&&e.ownerState?.[t]!==i.props[t])continue e;"function"==typeof i.style?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i.style(n))):r.push(i.style)}return r}function d(e={}){let{themeId:t,defaultTheme:r=s,rootShouldForwardProp:i=c,slotShouldForwardProp:p=c}=e;function m(e){e.theme=!function(e){for(let t in e)return!1;return!0}(e.theme)?e.theme[t]||e.theme:r}return(e,t={})=>{var r,s,d,g,h;(0,n.nf)(e,e=>e.filter(e=>e!==a.Z));let{name:y,slot:b,skipVariantsResolver:v,skipSx:S,overridesResolver:x=(r=(s=b)?s.charAt(0).toLowerCase()+s.slice(1):s)?(e,t)=>t[r]:null,...k}=t,Z=void 0!==v?v:b&&"Root"!==b&&"root"!==b||!1,w=S||!1,C=c;"Root"===b||"root"===b?C=i:b?C=p:"string"==typeof(d=e)&&d.charCodeAt(0)>96&&(C=void 0);let A=(0,n.ZP)(e,{shouldForwardProp:C,label:(g=0,h=0,void 0),...k}),$=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return u(t,e)};if((0,o.P)(e)){let t=(0,l.Z)(e);return t.variants?function(e){return u(e,t)}:t.style}return e},P=(...t)=>{let r=[],n=t.map($),o=[];if(r.push(m),y&&x&&o.push(function(e){let t=e.theme,r=t.components?.[y]?.styleOverrides;if(!r)return null;let n={};for(let t in r)n[t]=u(e,r[t]);return x(e,n)}),y&&!Z&&o.push(function(e){let t=e.theme,r=t?.components?.[y]?.variants;return r?f(e,r):null}),w||o.push(a.Z),Array.isArray(n[0])){let e;let t=n.shift(),i=Array(r.length).fill(""),a=Array(o.length).fill("");(e=[...i,...t,...a]).raw=[...i,...t.raw,...a],r.unshift(e)}let i=A(...r,...n,...o);return e.muiName&&(i.muiName=e.muiName),i};return A.withConfig&&(P.withConfig=A.withConfig),P}}},4715:function(e,t,r){r.d(t,{Z:()=>o});var n=r(82664);function o(e=8,t=(0,n.hB)({spacing:e})){if(e.mui)return e;let r=(...e)=>(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}},6798:function(e,t,r){r.d(t,{Z:()=>f});var n=r(61170);let o=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};var i=r(58787);let a={borderRadius:4};var l=r(4715),s=r(11652),c=r(40273);function u(e,t){if(this.vars){if(!this.colorSchemes?.[e]||"function"!=typeof this.getColorSchemeSelector)return{};let r=this.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return this.palette.mode===e?t:{}}let f=function(e={},...t){let{breakpoints:r={},palette:f={},spacing:d,shape:p={},...m}=e,g=function(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=e,a=o(t),l=Object.keys(a);function s(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function c(e){let o="number"==typeof t[e]?t[e]:e;return`@media (max-width:${o-n/100}${r})`}function u(e,o){let i=l.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[l[i]]?t[l[i]]:o)-n/100}${r})`}return{keys:l,values:a,up:s,down:c,between:u,only:function(e){return l.indexOf(e)+1<l.length?u(e,l[l.indexOf(e)+1]):s(e)},not:function(e){let t=l.indexOf(e);return 0===t?s(l[1]):t===l.length-1?c(l[t]):u(e,l[l.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...i}}(r),h=(0,l.Z)(d),y=(0,n.Z)({breakpoints:g,direction:"ltr",components:{},palette:{mode:"light",...f},spacing:h,shape:{...a,...p}},m);return(y=(0,i.ZP)(y)).applyStyles=u,(y=t.reduce((e,t)=>(0,n.Z)(e,t),y)).unstable_sxConfig={...c.Z,...m?.unstable_sxConfig},y.unstable_sx=function(e){return(0,s.Z)({sx:e,theme:this})},y}},58787:function(e,t,r){function n(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{let r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}function o(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function i(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function a(e){let t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{let o=t(e.breakpoints.not(...r),n);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}let n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}r.d(t,{WX:()=>o,ZP:()=>a,ar:()=>n,ue:()=>i})},76360:function(e,t,r){r.d(t,{Z:()=>o});var n=r(61170);let o=function(e,t){return t?(0,n.Z)(e,t,{clone:!1}):e}},83606:function(e,t,r){r.d(t,{Z:()=>o});var n=r(89966);function o(e){let{variants:t,...r}=e,o={variants:t,style:(0,n.bu)(r),isProcessed:!0};return o.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.bu)(e.style))}),o}},82664:function(e,t,r){r.d(t,{NA:()=>g,hB:()=>m,e6:()=>y,o3:()=>b,eI:()=>p});var n=r(13890),o=r(33160),i=r(76360);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,r]=e.split(""),n=a[t],o=l[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...f];function p(e,t,r,n){let i=(0,o.DW)(e,t,!0)??r;return"number"==typeof i||"string"==typeof i?e=>"string"==typeof e?e:"string"==typeof i?`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if("string"==typeof e)return e;let t=i[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:`-${t}`}:"function"==typeof i?i:()=>void 0}function m(e){return p(e,"spacing",8,"spacing")}function g(e,t){return"string"==typeof t||null==t?t:e(t)}function h(e,t){let r=m(e.theme);return Object.keys(e).map(o=>(function(e,t,r,o){var i;if(!t.includes(r))return null;let a=(i=c(r),e=>i.reduce((t,r)=>(t[r]=g(o,e),t),{})),l=e[r];return(0,n.k9)(e,l,a)})(e,t,o,r)).reduce(i.Z,{})}function y(e){return h(e,u)}function b(e){return h(e,f)}function v(e){return h(e,d)}y.propTypes={},y.filterProps=u,b.propTypes={},b.filterProps=f,v.propTypes={},v.filterProps=d},33160:function(e,t,r){r.d(t,{DW:()=>i,Jq:()=>a,ZP:()=>l});var n=r(3150),o=r(13890);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}let l=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:l,transform:s}=e,c=e=>{if(null==e[t])return null;let c=e[t],u=i(e.theme,l)||{};return(0,o.k9)(e,c,e=>{let o=a(u,s,e);return(e===o&&"string"==typeof e&&(o=a(u,s,`${t}${"default"===e?"":(0,n.Z)(e)}`,e)),!1===r)?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},40273:function(e,t,r){r.d(t,{Z:()=>q});var n=r(82664),o=r(33160),i=r(76360);let a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.Z)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var l=r(13890);function s(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.ZP)({prop:e,themeKey:"borders",transform:t})}let u=c("border",s),f=c("borderTop",s),d=c("borderRight",s),p=c("borderBottom",s),m=c("borderLeft",s),g=c("borderColor"),h=c("borderTopColor"),y=c("borderRightColor"),b=c("borderBottomColor"),v=c("borderLeftColor"),S=c("outline",s),x=c("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,n.NA)(t,e)}))}return null};k.propTypes={},k.filterProps=["borderRadius"],a(u,f,d,p,m,g,h,y,b,v,k,S,x);let Z=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,n.NA)(t,e)}))}return null};Z.propTypes={},Z.filterProps=["gap"];let w=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,n.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["columnGap"];let C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,n.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["rowGap"];let A=(0,o.ZP)({prop:"gridColumn"}),$=(0,o.ZP)({prop:"gridRow"}),P=(0,o.ZP)({prop:"gridAutoFlow"}),O=(0,o.ZP)({prop:"gridAutoColumns"}),B=(0,o.ZP)({prop:"gridAutoRows"}),T=(0,o.ZP)({prop:"gridTemplateColumns"}),j=(0,o.ZP)({prop:"gridTemplateRows"});function I(e,t){return"grey"===t?t:e}a(Z,w,C,A,$,P,O,B,T,j,(0,o.ZP)({prop:"gridTemplateAreas"}),(0,o.ZP)({prop:"gridArea"}));let R=(0,o.ZP)({prop:"color",themeKey:"palette",transform:I});function E(e){return e<=1&&0!==e?`${100*e}%`:e}a(R,(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:I}),(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:I}));let _=(0,o.ZP)({prop:"width",transform:E}),z=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,t=>{let r=e.theme?.breakpoints?.values?.[t]||l.VO[t];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:E(t)}}):null;z.filterProps=["maxWidth"];let F=(0,o.ZP)({prop:"minWidth",transform:E}),L=(0,o.ZP)({prop:"height",transform:E}),M=(0,o.ZP)({prop:"maxHeight",transform:E}),N=(0,o.ZP)({prop:"minHeight",transform:E});(0,o.ZP)({prop:"size",cssProperty:"width",transform:E}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:E}),a(_,z,F,L,M,N,(0,o.ZP)({prop:"boxSizing"}));let q={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:s},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:I},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:I},backgroundColor:{themeKey:"palette",transform:I},p:{style:n.o3},pt:{style:n.o3},pr:{style:n.o3},pb:{style:n.o3},pl:{style:n.o3},px:{style:n.o3},py:{style:n.o3},padding:{style:n.o3},paddingTop:{style:n.o3},paddingRight:{style:n.o3},paddingBottom:{style:n.o3},paddingLeft:{style:n.o3},paddingX:{style:n.o3},paddingY:{style:n.o3},paddingInline:{style:n.o3},paddingInlineStart:{style:n.o3},paddingInlineEnd:{style:n.o3},paddingBlock:{style:n.o3},paddingBlockStart:{style:n.o3},paddingBlockEnd:{style:n.o3},m:{style:n.e6},mt:{style:n.e6},mr:{style:n.e6},mb:{style:n.e6},ml:{style:n.e6},mx:{style:n.e6},my:{style:n.e6},margin:{style:n.e6},marginTop:{style:n.e6},marginRight:{style:n.e6},marginBottom:{style:n.e6},marginLeft:{style:n.e6},marginX:{style:n.e6},marginY:{style:n.e6},marginInline:{style:n.e6},marginInlineStart:{style:n.e6},marginInlineEnd:{style:n.e6},marginBlock:{style:n.e6},marginBlockStart:{style:n.e6},marginBlockEnd:{style:n.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Z},rowGap:{style:C},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:E},maxWidth:{style:z},minWidth:{transform:E},height:{transform:E},maxHeight:{transform:E},minHeight:{transform:E},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},93772:function(e,t,r){r.d(t,{Z:()=>a});var n=r(61170),o=r(40273);let i=e=>{let t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??o.Z;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function a(e){let t;let{sx:r,...o}=e,{systemProps:a,otherProps:l}=i(o);return t=Array.isArray(r)?[a,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,n.P)(t)?{...a,...t}:a}:{...a,...r},{...l,sx:t}}},11652:function(e,t,r){r.d(t,{Z:()=>u});var n=r(3150),o=r(76360),i=r(33160),a=r(13890),l=r(58787),s=r(40273);let c=function(){function e(e,t,r,o){let l={[e]:t,theme:r},s=o[e];if(!s)return{[e]:t};let{cssProperty:c=e,themeKey:u,transform:f,style:d}=s;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(r,u)||{};return d?d(l):(0,a.k9)(l,t,t=>{let r=(0,i.Jq)(p,f,t);return(t===r&&"string"==typeof t&&(r=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,n.Z)(t)}`,t)),!1===c)?r:{[c]:r}})}return function t(r){let{sx:n,theme:i={}}=r||{};if(!n)return null;let c=i.unstable_sxConfig??s.Z;function u(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;let s=(0,a.W8)(i.breakpoints),u=Object.keys(s),f=s;return Object.keys(n).forEach(r=>{var l;let s="function"==typeof(l=n[r])?l(i):l;if(null!=s){if("object"==typeof s){if(c[r])f=(0,o.Z)(f,e(r,s,i,c));else{let e=(0,a.k9)({theme:i},s,e=>({[r]:e}));(function(...e){let t=new Set(e.reduce((e,t)=>e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)})(e,s)?f[r]=t({sx:s,theme:i}):f=(0,o.Z)(f,e)}}else f=(0,o.Z)(f,e(r,s,i,c))}}),(0,l.ar)(i,(0,a.L7)(u,f))}return Array.isArray(n)?n.map(u):u(n)}}();c.filterProps=["sx"];let u=c},38971:function(e,t,r){r.d(t,{Z:()=>a});var n=r(6798),o=r(24105);let i=(0,n.Z)(),a=function(e=i){return(0,o.Z)(e)}},24105:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538),o=r(72116);let i=function(e=null){let t=n.useContext(o.ThemeContext);return t&&0!==Object.keys(t).length?t:e}},70544:function(e,t,r){let n;r.d(t,{Z:()=>i});let o=e=>e,i=(n=o,{configure(e){n=e},generate:e=>n(e),reset(){n=o}})},60206:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t,r){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...r}}}},3150:function(e,t,r){r.d(t,{Z:()=>o});var n=r(62220);function o(e){if("string"!=typeof e)throw Error((0,n.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},82267:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t,r){let n={};for(let o in e){let i=e[o],a="",l=!0;for(let e=0;e<i.length;e+=1){let n=i[e];n&&(a+=(!0===l?"":" ")+t(n),l=!1,r&&r[n]&&(a+=" "+r[n]))}n[o]=a}return n}},24384:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t=166){let r;function o(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return o.clear=()=>{clearTimeout(r)},o}},61170:function(e,t,r){r.d(t,{P:()=>i,Z:()=>function e(t,r,a={clone:!0}){let l=a.clone?{...t}:t;return i(t)&&i(r)&&Object.keys(r).forEach(s=>{n.isValidElement(r[s])||(0,o.isValidElementType)(r[s])?l[s]=r[s]:i(r[s])&&Object.prototype.hasOwnProperty.call(t,s)&&i(t[s])?l[s]=e(t[s],r[s],a):a.clone?l[s]=i(r[s])?function e(t){if(n.isValidElement(t)||(0,o.isValidElementType)(t)||!i(t))return t;let r={};return Object.keys(t).forEach(n=>{r[n]=e(t[n])}),r}(r[s]):r[s]:l[s]=r[s]}),l}});var n=r(54538),o=r(41453);function i(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}},92438:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t=[]){if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}},62220:function(e,t,r){r.d(t,{Z:()=>n});function n(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}},6749:function(e,t,r){r.d(t,{ZP:()=>i});var n=r(70544);let o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,r="Mui"){let a=o[t];return a?`${r}-${a}`:`${n.Z.generate(e)}-${t}`}},44124:function(e,t,r){r.d(t,{Z:()=>o});var n=r(6749);function o(e,t,r="Mui"){let i={};return t.forEach(t=>{i[t]=(0,n.ZP)(e,t,r)}),i}},92729:function(e,t,r){r.d(t,{Z:()=>a});var n=r(90496),o=r(92438);let i=function(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t},a=function(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:a,externalForwardedProps:l,className:s}=e;if(!t){let e=(0,n.Z)(r?.className,s,l?.className,a?.className),t={...r?.style,...l?.style,...a?.style},o={...r,...l,...a};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let c=(0,o.Z)({...l,...a}),u=i(a),f=i(l),d=t(c),p=(0,n.Z)(d?.className,r?.className,s,l?.className,a?.className),m={...d?.style,...r?.style,...l?.style,...a?.style},g={...d,...r,...f,...u};return p.length>0&&(g.className=p),Object.keys(m).length>0&&(g.style=m),{props:g,internalRef:d.ref}}},80668:function(e,t,r){r.d(t,{Z:()=>n});function n(e){return e&&e.ownerDocument||document}},33205:function(e,t,r){r.d(t,{Z:()=>o});var n=r(80668);function o(e){return(0,n.Z)(e).defaultView||window}},85480:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e,t,r){return"function"==typeof e?e(t,r):e}},16819:function(e,t,r){r.d(t,{Z:()=>function e(t,r){let n={...r};for(let o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if("components"===o||"slots"===o)n[o]={...t[o],...n[o]};else if("componentsProps"===o||"slotProps"===o){let i=t[o],a=r[o];if(a){if(i)for(let t in n[o]={...a},i)Object.prototype.hasOwnProperty.call(i,t)&&(n[o][t]=e(i[t],a[t]));else n[o]=a}else n[o]=i||{}}else void 0===n[o]&&(n[o]=t[o])}return n}})},85817:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}},96858:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);let o="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},81925:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538),o=r(96858);let i=function(e){let t=n.useRef(e);return(0,o.Z)(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}},97048:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538),o=r(85817);function i(...e){return n.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{(0,o.Z)(e,t)})},e)}},99565:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538);let o={};function i(e,t){let r=n.useRef(o);return r.current===o&&(r.current=e(t)),r}},25399:function(e,t,r){r.d(t,{Z:()=>l});var n=r(97048),o=r(60206),i=r(92729),a=r(85480);let l=function(e){let{elementType:t,externalSlotProps:r,ownerState:l,skipResolvingSlotProps:s=!1,...c}=e,u=s?{}:(0,a.Z)(r,l),{props:f,internalRef:d}=(0,i.Z)({...c,externalSlotProps:u}),p=(0,n.Z)(d,u?.ref,e.additionalProps?.ref);return(0,o.Z)(t,{...f,ref:p},l)}},47126:function(e,t,r){r.d(t,{V:()=>a,Z:()=>l});var n=r(99565),o=r(54538);let i=[];class a{static create(){return new a}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function l(){var e;let t=(0,n.Z)(a.create).current;return e=t.disposeEffect,o.useEffect(e,i),t}},41453:function(e,t){var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var l=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=Symbol.for("react.client.reference");t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===a||e===i||e===u||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===d||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||void 0!==e.getModuleId)||!1}},16897:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);let o=r.n(n)().createContext(null)},71426:function(e,t,r){var n=r(54538),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!s.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:l.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},24246:function(e,t,r){e.exports=r(71426)},54652:function(e,t,r){function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{Z:()=>o})},97784:function(e,t,r){r.d(t,{Z:()=>n});function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}},90496:function(e,t,r){r.d(t,{Z:()=>n});let n=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n)}return o}(e))&&(n&&(n+=" "),n+=t);return n}}}]);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-is.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @license React
|
|
13
|
+
* react-jsx-runtime.production.min.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @mui/styled-engine v6.4.8
|
|
23
|
+
*
|
|
24
|
+
* @license MIT
|
|
25
|
+
* This source code is licensed under the MIT license found in the
|
|
26
|
+
* LICENSE file in the root directory of this source tree.
|
|
27
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["2675"],{75651:function(e,t,o){o.d(t,{Z:()=>eL});var r,n,i,a,p,s=o(6595),l=o(54538),f=o(97048),c=o(96858),u=o(80668);function d(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function m(e){var t=d(e).Element;return e instanceof t||e instanceof Element}function h(e){var t=d(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function g(e){if("undefined"==typeof ShadowRoot)return!1;var t=d(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var v=Math.max,y=Math.min,b=Math.round;function w(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function x(){return!/^((?!chrome|android).)*safari/i.test(w())}function O(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var r=e.getBoundingClientRect(),n=1,i=1;t&&h(e)&&(n=e.offsetWidth>0&&b(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&b(r.height)/e.offsetHeight||1);var a=(m(e)?d(e):window).visualViewport,p=!x()&&o,s=(r.left+(p&&a?a.offsetLeft:0))/n,l=(r.top+(p&&a?a.offsetTop:0))/i,f=r.width/n,c=r.height/i;return{width:f,height:c,top:l,right:s+f,bottom:l+c,left:s,x:s,y:l}}function Z(e){var t=d(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function R(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){return((m(e)?e.ownerDocument:e.document)||window.document).documentElement}function P(e){return O(E(e)).left+Z(e).scrollLeft}function T(e){return d(e).getComputedStyle(e)}function j(e){var t=T(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+n+r)}function M(e){var t=O(e),o=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-o)&&(o=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:r}}function L(e){return"html"===R(e)?e:e.assignedSlot||e.parentNode||(g(e)?e.host:null)||E(e)}function A(e,t){void 0===t&&(t=[]);var o,r=function e(t){return["html","body","#document"].indexOf(R(t))>=0?t.ownerDocument.body:h(t)&&j(t)?t:e(L(t))}(e),n=r===(null==(o=e.ownerDocument)?void 0:o.body),i=d(r),a=n?[i].concat(i.visualViewport||[],j(r)?r:[]):r,p=t.concat(a);return n?p:p.concat(A(L(a)))}function k(e){return h(e)&&"fixed"!==T(e).position?e.offsetParent:null}function S(e){for(var t=d(e),o=k(e);o&&["table","td","th"].indexOf(R(o))>=0&&"static"===T(o).position;)o=k(o);return o&&("html"===R(o)||"body"===R(o)&&"static"===T(o).position)?t:o||function(e){var t=/firefox/i.test(w());if(/Trident/i.test(w())&&h(e)&&"fixed"===T(e).position)return null;var o=L(e);for(g(o)&&(o=o.host);h(o)&&0>["html","body"].indexOf(R(o));){var r=T(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(e)||t}var W="bottom",D="right",B="left",$="auto",C=["top",W,D,B],H="start",N="viewport",V="popper",I=C.reduce(function(e,t){return e.concat([t+"-"+H,t+"-end"])},[]),F=[].concat(C,[$]).reduce(function(e,t){return e.concat([t,t+"-"+H,t+"-end"])},[]),q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],U={placement:"bottom",modifiers:[],strategy:"absolute"};function z(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var _={passive:!0};function X(e){return e.split("-")[0]}function Y(e){return e.split("-")[1]}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function G(e){var t,o=e.reference,r=e.element,n=e.placement,i=n?X(n):null,a=n?Y(n):null,p=o.x+o.width/2-r.width/2,s=o.y+o.height/2-r.height/2;switch(i){case"top":t={x:p,y:o.y-r.height};break;case W:t={x:p,y:o.y+o.height};break;case D:t={x:o.x+o.width,y:s};break;case B:t={x:o.x-r.width,y:s};break;default:t={x:o.x,y:o.y}}var l=i?Q(i):null;if(null!=l){var f="y"===l?"height":"width";switch(a){case H:t[l]=t[l]-(o[f]/2-r[f]/2);break;case"end":t[l]=t[l]+(o[f]/2-r[f]/2)}}return t}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(e){var t,o,r,n,i,a,p,s=e.popper,l=e.popperRect,f=e.placement,c=e.variation,u=e.offsets,m=e.position,h=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,y=e.isFixed,w=u.x,x=void 0===w?0:w,O=u.y,Z=void 0===O?0:O,R="function"==typeof v?v({x:x,y:Z}):{x:x,y:Z};x=R.x,Z=R.y;var P=u.hasOwnProperty("x"),j=u.hasOwnProperty("y"),M=B,L="top",A=window;if(g){var k=S(s),$="clientHeight",C="clientWidth";k===d(s)&&"static"!==T(k=E(s)).position&&"absolute"===m&&($="scrollHeight",C="scrollWidth"),("top"===f||(f===B||f===D)&&"end"===c)&&(L=W,Z-=(y&&k===A&&A.visualViewport?A.visualViewport.height:k[$])-l.height,Z*=h?1:-1),(f===B||("top"===f||f===W)&&"end"===c)&&(M=D,x-=(y&&k===A&&A.visualViewport?A.visualViewport.width:k[C])-l.width,x*=h?1:-1)}var H=Object.assign({position:m},g&&J),N=!0===v?(t={x:x,y:Z},o=d(s),r=t.x,n=t.y,{x:b(r*(i=o.devicePixelRatio||1))/i||0,y:b(n*i)/i||0}):{x:x,y:Z};return(x=N.x,Z=N.y,h)?Object.assign({},H,((p={})[L]=j?"0":"",p[M]=P?"0":"",p.transform=1>=(A.devicePixelRatio||1)?"translate("+x+"px, "+Z+"px)":"translate3d("+x+"px, "+Z+"px, 0)",p)):Object.assign({},H,((a={})[L]=j?Z+"px":"",a[M]=P?x+"px":"",a.transform="",a))}var ee={left:"right",right:"left",bottom:"top",top:"bottom"};function et(e){return e.replace(/left|right|bottom|top/g,function(e){return ee[e]})}var eo={start:"end",end:"start"};function er(e){return e.replace(/start|end/g,function(e){return eo[e]})}function en(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&g(o)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ei(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ea(e,t,o){var r,n,i,a,p,s,l,f,c,u;return t===N?ei(function(e,t){var o=d(e),r=E(e),n=o.visualViewport,i=r.clientWidth,a=r.clientHeight,p=0,s=0;if(n){i=n.width,a=n.height;var l=x();(l||!l&&"fixed"===t)&&(p=n.offsetLeft,s=n.offsetTop)}return{width:i,height:a,x:p+P(e),y:s}}(e,o)):m(t)?((r=O(t,!1,"fixed"===o)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):ei((n=E(e),a=E(n),p=Z(n),s=null==(i=n.ownerDocument)?void 0:i.body,l=v(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),f=v(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),c=-p.scrollLeft+P(n),u=-p.scrollTop,"rtl"===T(s||a).direction&&(c+=v(a.clientWidth,s?s.clientWidth:0)-l),{width:l,height:f,x:c,y:u}))}function ep(){return{top:0,right:0,bottom:0,left:0}}function es(e){return Object.assign({},ep(),e)}function el(e,t){return t.reduce(function(t,o){return t[o]=e,t},{})}function ef(e,t){void 0===t&&(t={});var o,r,n,i,a,p,s,l,f=t,c=f.placement,u=void 0===c?e.placement:c,d=f.strategy,g=void 0===d?e.strategy:d,b=f.boundary,w=f.rootBoundary,x=f.elementContext,Z=void 0===x?V:x,P=f.altBoundary,j=f.padding,M=void 0===j?0:j,k=es("number"!=typeof M?M:el(M,C)),B=e.rects.popper,$=e.elements[void 0!==P&&P?Z===V?"reference":V:Z],H=(o=m($)?$:$.contextElement||E(e.elements.popper),r=void 0===b?"clippingParents":b,n=void 0===w?N:w,s=(p=[].concat("clippingParents"===r?(i=A(L(o)),m(a=["absolute","fixed"].indexOf(T(o).position)>=0&&h(o)?S(o):o)?i.filter(function(e){return m(e)&&en(e,a)&&"body"!==R(e)}):[]):[].concat(r),[n]))[0],(l=p.reduce(function(e,t){var r=ea(o,t,g);return e.top=v(r.top,e.top),e.right=y(r.right,e.right),e.bottom=y(r.bottom,e.bottom),e.left=v(r.left,e.left),e},ea(o,s,g))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),I=O(e.elements.reference),F=G({reference:I,element:B,strategy:"absolute",placement:u}),q=ei(Object.assign({},B,F)),U=Z===V?q:I,z={top:H.top-U.top+k.top,bottom:U.bottom-H.bottom+k.bottom,left:H.left-U.left+k.left,right:U.right-H.right+k.right},_=e.modifiersData.offset;if(Z===V&&_){var X=_[u];Object.keys(z).forEach(function(e){var t=[D,W].indexOf(e)>=0?1:-1,o=["top",W].indexOf(e)>=0?"y":"x";z[e]+=X[o]*t})}return z}function ec(e,t,o){return v(e,y(t,o))}function eu(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function ed(e){return["top",D,W,B].some(function(t){return e[t]>=0})}var em=(i=void 0===(n=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,r=e.options,n=r.scroll,i=void 0===n||n,a=r.resize,p=void 0===a||a,s=d(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",o.update,_)}),p&&s.addEventListener("resize",o.update,_),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",o.update,_)}),p&&s.removeEventListener("resize",o.update,_)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=G({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,r=o.gpuAcceleration,n=o.adaptive,i=o.roundOffsets,a=void 0===i||i,p={placement:X(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,K(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===n||n,roundOffsets:a})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,K(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var o=t.styles[e]||{},r=t.attributes[e]||{},n=t.elements[e];h(n)&&R(n)&&(Object.assign(n.style,o),Object.keys(r).forEach(function(e){var t=r[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],n=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce(function(e,t){return e[t]="",e},{});h(r)&&R(r)&&(Object.assign(r.style,i),Object.keys(n).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.offset,i=void 0===n?[0,0]:n,a=F.reduce(function(e,o){var r,n,a,p,s,l;return e[o]=(r=t.rects,a=[B,"top"].indexOf(n=X(o))>=0?-1:1,s=(p="function"==typeof i?i(Object.assign({},r,{placement:o})):i)[0],l=p[1],s=s||0,l=(l||0)*a,[B,D].indexOf(n)>=0?{x:l,y:s}:{x:s,y:l}),e},{}),p=a[t.placement],s=p.x,l=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var n=o.mainAxis,i=void 0===n||n,a=o.altAxis,p=void 0===a||a,s=o.fallbackPlacements,l=o.padding,f=o.boundary,c=o.rootBoundary,u=o.altBoundary,d=o.flipVariations,m=void 0===d||d,h=o.allowedAutoPlacements,g=t.options.placement,v=X(g)===g,y=s||(v||!m?[et(g)]:function(e){if(X(e)===$)return[];var t=et(e);return[er(e),t,er(t)]}(g)),b=[g].concat(y).reduce(function(e,o){var r,n,i,a,p,s,u,d,g,v,y,b;return e.concat(X(o)===$?(n=(r={placement:o,boundary:f,rootBoundary:c,padding:l,flipVariations:m,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,p=r.padding,s=r.flipVariations,d=void 0===(u=r.allowedAutoPlacements)?F:u,0===(y=(v=(g=Y(n))?s?I:I.filter(function(e){return Y(e)===g}):C).filter(function(e){return d.indexOf(e)>=0})).length&&(y=v),Object.keys(b=y.reduce(function(e,o){return e[o]=ef(t,{placement:o,boundary:i,rootBoundary:a,padding:p})[X(o)],e},{})).sort(function(e,t){return b[e]-b[t]})):o)},[]),w=t.rects.reference,x=t.rects.popper,O=new Map,Z=!0,R=b[0],E=0;E<b.length;E++){var P=b[E],T=X(P),j=Y(P)===H,M=["top",W].indexOf(T)>=0,L=M?"width":"height",A=ef(t,{placement:P,boundary:f,rootBoundary:c,altBoundary:u,padding:l}),k=M?j?D:B:j?W:"top";w[L]>x[L]&&(k=et(k));var S=et(k),N=[];if(i&&N.push(A[T]<=0),p&&N.push(A[k]<=0,A[S]<=0),N.every(function(e){return e})){R=P,Z=!1;break}O.set(P,N)}if(Z)for(var V=m?3:1,q=function(e){var t=b.find(function(t){var o=O.get(t);if(o)return o.slice(0,e).every(function(e){return e})});if(t)return R=t,"break"},U=V;U>0&&"break"!==q(U);U--);t.placement!==R&&(t.modifiersData[r]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,r=e.name,n=o.mainAxis,i=o.altAxis,a=o.boundary,p=o.rootBoundary,s=o.altBoundary,l=o.padding,f=o.tether,c=void 0===f||f,u=o.tetherOffset,d=void 0===u?0:u,m=ef(t,{boundary:a,rootBoundary:p,padding:l,altBoundary:s}),h=X(t.placement),g=Y(t.placement),b=!g,w=Q(h),x="x"===w?"y":"x",O=t.modifiersData.popperOffsets,Z=t.rects.reference,R=t.rects.popper,E="function"==typeof d?d(Object.assign({},t.rects,{placement:t.placement})):d,P="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(O){if(void 0===n||n){var L,A="y"===w?"top":B,k="y"===w?W:D,$="y"===w?"height":"width",C=O[w],N=C+m[A],V=C-m[k],I=c?-R[$]/2:0,F=g===H?Z[$]:R[$],q=g===H?-R[$]:-Z[$],U=t.elements.arrow,z=c&&U?M(U):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ep(),G=_[A],J=_[k],K=ec(0,Z[$],z[$]),ee=b?Z[$]/2-I-K-G-P.mainAxis:F-K-G-P.mainAxis,et=b?-Z[$]/2+I+K+J+P.mainAxis:q+K+J+P.mainAxis,eo=t.elements.arrow&&S(t.elements.arrow),er=eo?"y"===w?eo.clientTop||0:eo.clientLeft||0:0,en=null!=(L=null==T?void 0:T[w])?L:0,ei=ec(c?y(N,C+ee-en-er):N,C,c?v(V,C+et-en):V);O[w]=ei,j[w]=ei-C}if(void 0!==i&&i){var ea,es,el="x"===w?"top":B,eu="x"===w?W:D,ed=O[x],em="y"===x?"height":"width",eh=ed+m[el],eg=ed-m[eu],ev=-1!==["top",B].indexOf(h),ey=null!=(es=null==T?void 0:T[x])?es:0,eb=ev?eh:ed-Z[em]-R[em]-ey+P.altAxis,ew=ev?ed+Z[em]+R[em]-ey-P.altAxis:eg,ex=c&&ev?(ea=ec(eb,ed,ew))>ew?ew:ea:ec(c?eb:eh,ed,c?ew:eg);O[x]=ex,j[x]=ex-ed}t.modifiersData[r]=j}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,p=r.modifiersData.popperOffsets,s=X(r.placement),l=Q(s),f=[B,D].indexOf(s)>=0?"height":"width";if(a&&p){var c=es("number"!=typeof(t="function"==typeof(t=i.padding)?t(Object.assign({},r.rects,{placement:r.placement})):t)?t:el(t,C)),u=M(a),d="y"===l?"top":B,m="y"===l?W:D,h=r.rects.reference[f]+r.rects.reference[l]-p[l]-r.rects.popper[f],g=p[l]-r.rects.reference[l],v=S(a),y=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=c[d],w=y-u[f]-c[m],x=y/2-u[f]/2+(h/2-g/2),O=ec(b,x,w);r.modifiersData[n]=((o={})[l]=O,o.centerOffset=O-x,o)}},effect:function(e){var t=e.state,o=e.options.element,r=void 0===o?"[data-popper-arrow]":o;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&en(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,r=t.rects.reference,n=t.rects.popper,i=t.modifiersData.preventOverflow,a=ef(t,{elementContext:"reference"}),p=ef(t,{altBoundary:!0}),s=eu(a,r),l=eu(p,n,i),f=ed(s),c=ed(l);t.modifiersData[o]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:f,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":c})}}]}).defaultModifiers)?[]:n,p=void 0===(a=r.defaultOptions)?U:a,function(e,t,o){void 0===o&&(o=p);var r,n,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},U,p),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,f={state:a,setOptions:function(o){var r,n,l,u,d,h,g="function"==typeof o?o(a.options):o;c(),a.options=Object.assign({},p,a.options,g),a.scrollParents={reference:m(e)?A(e):e.contextElement?A(e.contextElement):[],popper:A(t)};var v=(n=Object.keys(r=[].concat(i,a.options.modifiers).reduce(function(e,t){var o=e[t.name];return e[t.name]=o?Object.assign({},o,t,{options:Object.assign({},o.options,t.options),data:Object.assign({},o.data,t.data)}):t,e},{})).map(function(e){return r[e]}),l=new Map,u=new Set,d=[],n.forEach(function(e){l.set(e.name,e)}),n.forEach(function(e){u.has(e.name)||function e(t){u.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!u.has(t)){var o=l.get(t);o&&e(o)}}),d.push(t)}(e)}),h=d,q.reduce(function(e,t){return e.concat(h.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=v.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,o=e.options,r=e.effect;if("function"==typeof r){var n=r({state:a,name:t,instance:f,options:void 0===o?{}:o});s.push(n||function(){})}}),f.update()},forceUpdate:function(){if(!l){var e,t,o,r,n,i,p,s,c,u,m,g=a.elements,v=g.reference,y=g.popper;if(z(v,y)){a.rects={reference:(e=S(y),t="fixed"===a.options.strategy,o=h(e),p=h(e)&&(n=b((r=e.getBoundingClientRect()).width)/e.offsetWidth||1,i=b(r.height)/e.offsetHeight||1,1!==n||1!==i),s=E(e),c=O(v,p,t),u={scrollLeft:0,scrollTop:0},m={x:0,y:0},(o||!o&&!t)&&(("body"!==R(e)||j(s))&&(u=function(e){return e!==d(e)&&h(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:Z(e)}(e)),h(e)?(m=O(e,!0),m.x+=e.clientLeft,m.y+=e.clientTop):s&&(m.x=P(s))),{x:c.left+u.scrollLeft-m.x,y:c.top+u.scrollTop-m.y,width:c.width,height:c.height}),popper:M(y)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var w=0;w<a.orderedModifiers.length;w++){if(!0===a.reset){a.reset=!1,w=-1;continue}var x=a.orderedModifiers[w],T=x.fn,L=x.options,A=void 0===L?{}:L,k=x.name;"function"==typeof T&&(a=T({state:a,options:A,name:k,instance:f})||a)}}}},update:(r=function(){return new Promise(function(e){f.forceUpdate(),e(a)})},function(){return n||(n=new Promise(function(e){Promise.resolve().then(function(){n=void 0,e(r())})})),n}),destroy:function(){c(),l=!0}};if(!z(e,t))return f;function c(){s.forEach(function(e){return e()}),s=[]}return f.setOptions(o).then(function(e){!l&&o.onFirstUpdate&&o.onFirstUpdate(e)}),f}),eh=o(82267),eg=o(25399),ev=o(7444),ey=o(44124),eb=o(6749);function ew(e){return(0,eb.ZP)("MuiPopper",e)}(0,ey.Z)("MuiPopper",["root"]);var ex=o(24246);function eO(e){return"function"==typeof e?e():e}let eZ=e=>{let{classes:t}=e;return(0,eh.Z)({root:["root"]},ew,t)},eR={},eE=l.forwardRef(function(e,t){let{anchorEl:o,children:r,direction:n,disablePortal:i,modifiers:a,open:p,placement:s,popperOptions:u,popperRef:d,slotProps:m={},slots:h={},TransitionProps:g,ownerState:v,...y}=e,b=l.useRef(null),w=(0,f.Z)(b,t),x=l.useRef(null),O=(0,f.Z)(x,d),Z=l.useRef(O);(0,c.Z)(()=>{Z.current=O},[O]),l.useImperativeHandle(d,()=>x.current,[]);let R=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(s,n),[E,P]=l.useState(R),[T,j]=l.useState(eO(o));l.useEffect(()=>{x.current&&x.current.forceUpdate()}),l.useEffect(()=>{o&&j(eO(o))},[o]),(0,c.Z)(()=>{if(!T||!p)return;let e=e=>{P(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:t})=>{e(t)}}];null!=a&&(t=t.concat(a)),u&&null!=u.modifiers&&(t=t.concat(u.modifiers));let o=em(T,b.current,{placement:R,...u,modifiers:t});return Z.current(o),()=>{o.destroy(),Z.current(null)}},[T,i,a,p,u,R]);let M={placement:E};null!==g&&(M.TransitionProps=g);let L=eZ(e),A=h.root??"div",k=(0,eg.Z)({elementType:A,externalSlotProps:m.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:L.root});return(0,ex.jsx)(A,{...k,children:"function"==typeof r?r(M):r})}),eP=l.forwardRef(function(e,t){let o;let{anchorEl:r,children:n,container:i,direction:a="ltr",disablePortal:p=!1,keepMounted:s=!1,modifiers:f,open:c,placement:d="bottom",popperOptions:m=eR,popperRef:h,style:g,transition:v=!1,slotProps:y={},slots:b={},...w}=e,[x,O]=l.useState(!0);if(!s&&!c&&(!v||x))return null;if(i)o=i;else if(r){let e=eO(r);o=e&&void 0!==e.nodeType?(0,u.Z)(e).body:(0,u.Z)(null).body}let Z=!c&&s&&(!v||x)?"none":void 0,R=v?{in:c,onEnter:()=>{O(!1)},onExited:()=>{O(!0)}}:void 0;return(0,ex.jsx)(ev.Z,{disablePortal:p,container:o,children:(0,ex.jsx)(eE,{anchorEl:r,direction:a,disablePortal:p,modifiers:f,ref:t,open:v?!x:c,placement:d,popperOptions:m,popperRef:h,slotProps:y,slots:b,...w,style:{position:"fixed",top:0,left:0,display:Z,...g},TransitionProps:R,children:n})})});var eT=o(12709),ej=o(51751);let eM=(0,eT.ZP)(eP,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eL=l.forwardRef(function(e,t){let o=(0,s.V)(),{anchorEl:r,component:n,components:i,componentsProps:a,container:p,disablePortal:l,keepMounted:f,modifiers:c,open:u,placement:d,popperOptions:m,popperRef:h,transition:g,slots:v,slotProps:y,...b}=(0,ej.i)({props:e,name:"MuiPopper"}),w=v?.root??i?.Root,x={anchorEl:r,container:p,disablePortal:l,keepMounted:f,modifiers:c,open:u,placement:d,popperOptions:m,popperRef:h,transition:g,...b};return(0,ex.jsx)(eM,{as:n,direction:o?"rtl":"ltr",slots:{root:w},slotProps:y??a,...x,ref:t})})},32964:function(e,t,o){o.d(t,{Z:()=>S});var r=o(54538),n=o(90496),i=o(47126),a=o(82267),p=o(16838),s=o(6595),l=o(74111),f=o(94680),c=o(12709),u=o(94776),d=o(82319),m=o(51751),h=o(51640),g=o(23382),v=o(75651),y=o(67151),b=o(51183),w=o(56839),x=o(18817),O=o(16351),Z=o(87143),R=o(24246);let E=e=>{let{classes:t,disableInteractive:o,arrow:r,touch:n,placement:i}=e,p={popper:["popper",!o&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",n&&"touch",`tooltipPlacement${(0,h.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,a.Z)(p,Z.Q,t)},P=(0,c.ZP)(v.Z,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.popper,!o.disableInteractive&&t.popperInteractive,o.arrow&&t.popperArrow,!o.open&&t.popperClose]}})((0,d.Z)(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Z.Z.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Z.Z.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Z.Z.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Z.Z.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Z.Z.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Z.Z.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Z.Z.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Z.Z.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),T=(0,c.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.tooltip,o.touch&&t.touch,o.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,h.Z)(o.placement.split("-")[0])}`]]}})((0,d.Z)(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,p.Fq)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Z.Z.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Z.Z.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Math.round(16/14*1e5)/1e5}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${Z.Z.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Z.Z.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Z.Z.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Z.Z.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),j=(0,c.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((0,d.Z)(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,p.Fq)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))),M=!1,L=new i.V,A={x:0,y:0};function k(e,t){return(o,...r)=>{t&&t(o,...r),e(o,...r)}}let S=r.forwardRef(function(e,t){let o=(0,m.i)({props:e,name:"MuiTooltip"}),{arrow:a=!1,children:p,classes:c,components:d={},componentsProps:h={},describeChild:Z=!1,disableFocusListener:S=!1,disableHoverListener:W=!1,disableInteractive:D=!1,disableTouchListener:B=!1,enterDelay:$=100,enterNextDelay:C=0,enterTouchDelay:H=700,followCursor:N=!1,id:V,leaveDelay:I=0,leaveTouchDelay:F=1500,onClose:q,onOpen:U,open:z,placement:_="bottom",PopperComponent:X,PopperProps:Y={},slotProps:Q={},slots:G={},title:J,TransitionComponent:K,TransitionProps:ee,...et}=o,eo=r.isValidElement(p)?p:(0,R.jsx)("span",{children:p}),er=(0,u.Z)(),en=(0,s.V)(),[ei,ea]=r.useState(),[ep,es]=r.useState(null),el=r.useRef(!1),ef=D||N,ec=(0,i.Z)(),eu=(0,i.Z)(),ed=(0,i.Z)(),em=(0,i.Z)(),[eh,eg]=(0,x.Z)({controlled:z,default:!1,name:"Tooltip",state:"open"}),ev=eh,ey=(0,w.Z)(V),eb=r.useRef(),ew=(0,y.Z)(()=>{void 0!==eb.current&&(document.body.style.WebkitUserSelect=eb.current,eb.current=void 0),em.clear()});r.useEffect(()=>ew,[ew]);let ex=e=>{L.clear(),M=!0,eg(!0),U&&!ev&&U(e)},eO=(0,y.Z)(e=>{L.start(800+I,()=>{M=!1}),eg(!1),q&&ev&&q(e),ec.start(er.transitions.duration.shortest,()=>{el.current=!1})}),eZ=e=>{(!el.current||"touchstart"===e.type)&&(ei&&ei.removeAttribute("title"),eu.clear(),ed.clear(),$||M&&C?eu.start(M?C:$,()=>{ex(e)}):ex(e))},eR=e=>{eu.clear(),ed.start(I,()=>{eO(e)})},[,eE]=r.useState(!1),eP=e=>{(0,l.Z)(e.target)||(eE(!1),eR(e))},eT=e=>{ei||ea(e.currentTarget),(0,l.Z)(e.target)&&(eE(!0),eZ(e))},ej=e=>{el.current=!0;let t=eo.props;t.onTouchStart&&t.onTouchStart(e)};r.useEffect(()=>{if(ev)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&eO(e)}},[eO,ev]);let eM=(0,b.Z)((0,f.Z)(eo),ea,t);J||0===J||(ev=!1);let eL=r.useRef(),eA={},ek="string"==typeof J;Z?(eA.title=ev||!ek||W?null:J,eA["aria-describedby"]=ev?ey:null):(eA["aria-label"]=ek?J:null,eA["aria-labelledby"]=ev&&!ek?ey:null);let eS={...eA,...et,...eo.props,className:(0,n.Z)(et.className,eo.props.className),onTouchStart:ej,ref:eM,...N?{onMouseMove:e=>{let t=eo.props;t.onMouseMove&&t.onMouseMove(e),A={x:e.clientX,y:e.clientY},eL.current&&eL.current.update()}}:{}},eW={};B||(eS.onTouchStart=e=>{ej(e),ed.clear(),ec.clear(),ew(),eb.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",em.start(H,()=>{document.body.style.WebkitUserSelect=eb.current,eZ(e)})},eS.onTouchEnd=e=>{eo.props.onTouchEnd&&eo.props.onTouchEnd(e),ew(),ed.start(F,()=>{eO(e)})}),W||(eS.onMouseOver=k(eZ,eS.onMouseOver),eS.onMouseLeave=k(eR,eS.onMouseLeave),ef||(eW.onMouseOver=eZ,eW.onMouseLeave=eR)),S||(eS.onFocus=k(eT,eS.onFocus),eS.onBlur=k(eP,eS.onBlur),ef||(eW.onFocus=eT,eW.onBlur=eP));let eD={...o,isRtl:en,arrow:a,disableInteractive:ef,placement:_,PopperComponentProp:X,touch:el.current},eB="function"==typeof Q.popper?Q.popper(eD):Q.popper,e$=r.useMemo(()=>{let e=[{name:"arrow",enabled:!!ep,options:{element:ep,padding:4}}];return Y.popperOptions?.modifiers&&(e=e.concat(Y.popperOptions.modifiers)),eB?.popperOptions?.modifiers&&(e=e.concat(eB.popperOptions.modifiers)),{...Y.popperOptions,...eB?.popperOptions,modifiers:e}},[ep,Y.popperOptions,eB?.popperOptions]),eC=E(eD),eH="function"==typeof Q.transition?Q.transition(eD):Q.transition,eN={slots:{popper:d.Popper,transition:d.Transition??K,tooltip:d.Tooltip,arrow:d.Arrow,...G},slotProps:{arrow:Q.arrow??h.arrow,popper:{...Y,...eB??h.popper},tooltip:Q.tooltip??h.tooltip,transition:{...ee,...eH??h.transition}}},[eV,eI]=(0,O.Z)("popper",{elementType:P,externalForwardedProps:eN,ownerState:eD,className:(0,n.Z)(eC.popper,Y?.className)}),[eF,eq]=(0,O.Z)("transition",{elementType:g.Z,externalForwardedProps:eN,ownerState:eD}),[eU,ez]=(0,O.Z)("tooltip",{elementType:T,className:eC.tooltip,externalForwardedProps:eN,ownerState:eD}),[e_,eX]=(0,O.Z)("arrow",{elementType:j,className:eC.arrow,externalForwardedProps:eN,ownerState:eD,ref:es});return(0,R.jsxs)(r.Fragment,{children:[r.cloneElement(eo,eS),(0,R.jsx)(eV,{as:X??v.Z,placement:_,anchorEl:N?{getBoundingClientRect:()=>({top:A.y,left:A.x,right:A.x,bottom:A.y,width:0,height:0})}:ei,popperRef:eL,open:!!ei&&ev,id:ey,transition:!0,...eW,...eI,popperOptions:e$,children:({TransitionProps:e})=>(0,R.jsx)(eF,{timeout:er.transitions.duration.shorter,...e,...eq,children:(0,R.jsxs)(eU,{...ez,children:[J,a?(0,R.jsx)(e_,{...eX}):null]})})})]})})},87143:function(e,t,o){o.d(t,{Q:()=>i,Z:()=>a});var r=o(44124),n=o(6749);function i(e){return(0,n.ZP)("MuiTooltip",e)}let a=(0,r.Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"])},10763:function(e,t,o){t.default=void 0;var r,n=(r=o(30265))&&r.__esModule?r:{default:r};t.default=(0,n.default)("M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z","Close")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["3224"],{73577:function(t,e,n){n.d(e,{r:()=>r});function r(t,e){let n=Math.abs(t).toString().padStart(e,"0");return(t<0?"-":"")+n}},85095:function(t,e,n){n.d(e,{b:()=>i,j:()=>a});let r={};function a(){return r}function i(t){r=t}},7175:function(t,e,n){n.d(e,{o:()=>a});var r=n(73577);let a={y(t,e){let n=t.getFullYear(),a=n>0?n:1-n;return(0,r.r)("yy"===e?a%100:a,e.length)},M(t,e){let n=t.getMonth();return"M"===e?String(n+1):(0,r.r)(n+1,2)},d:(t,e)=>(0,r.r)(t.getDate(),e.length),a(t,e){let n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(t,e)=>(0,r.r)(t.getHours()%12||12,e.length),H:(t,e)=>(0,r.r)(t.getHours(),e.length),m:(t,e)=>(0,r.r)(t.getMinutes(),e.length),s:(t,e)=>(0,r.r)(t.getSeconds(),e.length),S(t,e){let n=e.length,a=Math.trunc(t.getMilliseconds()*Math.pow(10,n-3));return(0,r.r)(a,e.length)}}},58006:function(t,e,n){n.d(e,{G:()=>i});let r=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},a=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},i={p:a,P:(t,e)=>{let n;let i=t.match(/(P+)(p+)?/)||[],o=i[1],u=i[2];if(!u)return r(t,e);switch(o){case"P":n=e.dateTime({width:"short"});break;case"PP":n=e.dateTime({width:"medium"});break;case"PPP":n=e.dateTime({width:"long"});break;default:n=e.dateTime({width:"full"})}return n.replace("{{date}}",r(o,e)).replace("{{time}}",a(u,e))}}},67337:function(t,e,n){n.d(e,{D:()=>a});var r=n(55753);function a(t){let e=(0,r.Q)(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}},5643:function(t,e,n){n.d(e,{d:()=>a});var r=n(63879);function a(t,...e){let n=r.L.bind(null,t||e.find(t=>"object"==typeof t));return e.map(n)}},80925:function(t,e,n){n.d(e,{DD:()=>s,Do:()=>u,Iu:()=>o});let r=/^D+$/,a=/^Y+$/,i=["D","DD","YY","YYYY"];function o(t){return r.test(t)}function u(t){return a.test(t)}function s(t,e,n){let r=function(t,e,n){let r="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,n);if(console.warn(r),i.includes(t))throw RangeError(r)}},25274:function(t,e,n){n.d(e,{CU:()=>g,H_:()=>h,I7:()=>x,Ob:()=>m,R3:()=>b,UU:()=>c,Y2:()=>P,_j:()=>w,dP:()=>o,dT:()=>a,fH:()=>l,fR:()=>f,gM:()=>v,jE:()=>i,ju:()=>r,nZ:()=>k,qk:()=>d,rz:()=>M,vh:()=>s,vr:()=>p,xx:()=>y,yJ:()=>u});let r=7,a=365.2425,i=6048e5,o=864e5,u=6e4,s=36e5,d=1e3,c=525600,l=43200,h=1440,f=60,m=3,g=12,w=4,b=3600,y=60,v=86400,p=604800,M=0x1e18558,k=2629746,P=7889238,x=Symbol.for("constructDateFrom")},63879:function(t,e,n){n.d(e,{L:()=>a});var r=n(25274);function a(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&r.I7 in t?t[r.I7](e):t instanceof Date?new t.constructor(e):new Date(e)}},56512:function(t,e,n){n.d(e,{w:()=>u});var r=n(67337),a=n(5643),i=n(25274),o=n(23033);function u(t,e,n){let[u,s]=(0,a.d)(n?.in,t,e),d=(0,o.b)(u),c=(0,o.b)(s);return Math.round((+d-(0,r.D)(d)-(+c-(0,r.D)(c)))/i.dP)}},16332:function(t,e,n){n.d(e,{p6:()=>S,WU:()=>S,Gw:()=>b.G,$0:()=>f});var r=n(14257),a=n(85095),i=n(52529),o=n(65345),u=n(55795),s=n(74265),d=n(30904),c=n(73577),l=n(7175);let h={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},f={G:function(t,e,n){let r=+(t.getFullYear()>0);switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){let e=t.getFullYear();return n.ordinalNumber(e>0?e:1-e,{unit:"year"})}return l.o.y(t,e)},Y:function(t,e,n,r){let a=(0,d.c)(t,r),i=a>0?a:1-a;if("YY"===e){let t=i%100;return(0,c.r)(t,2)}return"Yo"===e?n.ordinalNumber(i,{unit:"year"}):(0,c.r)(i,e.length)},R:function(t,e){let n=(0,u.L)(t);return(0,c.r)(n,e.length)},u:function(t,e){let n=t.getFullYear();return(0,c.r)(n,e.length)},Q:function(t,e,n){let r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return(0,c.r)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){let r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return(0,c.r)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){let r=t.getMonth();switch(e){case"M":case"MM":return l.o.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){let r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return(0,c.r)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){let a=(0,s.Q)(t,r);return"wo"===e?n.ordinalNumber(a,{unit:"week"}):(0,c.r)(a,e.length)},I:function(t,e,n){let r=(0,o.l)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):(0,c.r)(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getDate(),{unit:"date"}):l.o.d(t,e)},D:function(t,e,n){let r=(0,i.B)(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):(0,c.r)(r,e.length)},E:function(t,e,n){let r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){let a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return(0,c.r)(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){let a=t.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return(0,c.r)(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,e,n){let r=t.getDay(),a=0===r?7:r;switch(e){case"i":return String(a);case"ii":return(0,c.r)(a,e.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){let r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){let r;let a=t.getHours();switch(r=12===a?h.noon:0===a?h.midnight:a/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){let r;let a=t.getHours();switch(r=a>=17?h.evening:a>=12?h.afternoon:a>=4?h.morning:h.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),n.ordinalNumber(e,{unit:"hour"})}return l.o.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getHours(),{unit:"hour"}):l.o.H(t,e)},K:function(t,e,n){let r=t.getHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,c.r)(r,e.length)},k:function(t,e,n){let r=t.getHours();return(0===r&&(r=24),"ko"===e)?n.ordinalNumber(r,{unit:"hour"}):(0,c.r)(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):l.o.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getSeconds(),{unit:"second"}):l.o.s(t,e)},S:function(t,e){return l.o.S(t,e)},X:function(t,e,n){let r=t.getTimezoneOffset();if(0===r)return"Z";switch(e){case"X":return g(r);case"XXXX":case"XX":return w(r);default:return w(r,":")}},x:function(t,e,n){let r=t.getTimezoneOffset();switch(e){case"x":return g(r);case"xxxx":case"xx":return w(r);default:return w(r,":")}},O:function(t,e,n){let r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+m(r,":");default:return"GMT"+w(r,":")}},z:function(t,e,n){let r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+m(r,":");default:return"GMT"+w(r,":")}},t:function(t,e,n){let r=Math.trunc(+t/1e3);return(0,c.r)(r,e.length)},T:function(t,e,n){return(0,c.r)(+t,e.length)}};function m(t,e=""){let n=t>0?"-":"+",r=Math.abs(t),a=Math.trunc(r/60),i=r%60;return 0===i?n+String(a):n+String(a)+e+(0,c.r)(i,2)}function g(t,e){return t%60==0?(t>0?"-":"+")+(0,c.r)(Math.abs(t)/60,2):w(t,e)}function w(t,e=""){let n=Math.abs(t);return(t>0?"-":"+")+(0,c.r)(Math.trunc(n/60),2)+e+(0,c.r)(n%60,2)}var b=n(58006),y=n(80925),v=n(53743),p=n(55753);let M=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,k=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,P=/^'([^]*?)'?$/,x=/''/g,D=/[a-zA-Z]/;function S(t,e,n){let i=(0,a.j)(),o=n?.locale??i.locale??r._,u=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??i.weekStartsOn??i.locale?.options?.weekStartsOn??0,d=(0,p.Q)(t,n?.in);if(!(0,v.J)(d))throw RangeError("Invalid time value");let c=e.match(k).map(t=>{let e=t[0];return"p"===e||"P"===e?(0,b.G[e])(t,o.formatLong):t}).join("").match(M).map(t=>{if("''"===t)return{isToken:!1,value:"'"};let e=t[0];if("'"===e)return{isToken:!1,value:function(t){let e=t.match(P);return e?e[1].replace(x,"'"):t}(t)};if(f[e])return{isToken:!0,value:t};if(e.match(D))throw RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}});o.localize.preprocessor&&(c=o.localize.preprocessor(d,c));let l={firstWeekContainsDate:u,weekStartsOn:s,locale:o};return c.map(r=>{if(!r.isToken)return r.value;let a=r.value;return(!n?.useAdditionalWeekYearTokens&&(0,y.Do)(a)||!n?.useAdditionalDayOfYearTokens&&(0,y.Iu)(a))&&(0,y.DD)(a,e,String(t)),(0,f[a[0]])(d,a,o.localize,l)}).join("")}},52529:function(t,e,n){n.d(e,{B:()=>o});var r=n(56512),a=n(18874),i=n(55753);function o(t,e){let n=(0,i.Q)(t,e?.in);return(0,r.w)(n,(0,a.e)(n))+1}},65345:function(t,e,n){n.d(e,{l:()=>u});var r=n(25274),a=n(15889),i=n(66024),o=n(55753);function u(t,e){let n=(0,o.Q)(t,e?.in);return Math.round((+(0,a.T)(n)-+(0,i.E)(n))/r.jE)+1}},55795:function(t,e,n){n.d(e,{L:()=>o});var r=n(63879),a=n(15889),i=n(55753);function o(t,e){let n=(0,i.Q)(t,e?.in),o=n.getFullYear(),u=(0,r.L)(n,0);u.setFullYear(o+1,0,4),u.setHours(0,0,0,0);let s=(0,a.T)(u),d=(0,r.L)(n,0);d.setFullYear(o,0,4),d.setHours(0,0,0,0);let c=(0,a.T)(d);return n.getTime()>=s.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}},74265:function(t,e,n){n.d(e,{Q:()=>u});var r=n(25274),a=n(5149),i=n(20937),o=n(55753);function u(t,e){let n=(0,o.Q)(t,e?.in);return Math.round((+(0,a.z)(n,e)-+(0,i.v)(n,e))/r.jE)+1}},30904:function(t,e,n){n.d(e,{c:()=>u});var r=n(85095),a=n(63879),i=n(5149),o=n(55753);function u(t,e){let n=(0,o.Q)(t,e?.in),u=n.getFullYear(),s=(0,r.j)(),d=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,c=(0,a.L)(e?.in||t,0);c.setFullYear(u+1,0,d),c.setHours(0,0,0,0);let l=(0,i.z)(c,e),h=(0,a.L)(e?.in||t,0);h.setFullYear(u,0,d),h.setHours(0,0,0,0);let f=(0,i.z)(h,e);return+n>=+l?u+1:+n>=+f?u:u-1}},95090:function(t,e,n){n.d(e,{J:()=>r});function r(t){return t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)}},53743:function(t,e,n){n.d(e,{J:()=>i});var r=n(95090),a=n(55753);function i(t){return!(!(0,r.J)(t)&&"number"!=typeof t||isNaN(+(0,a.Q)(t)))}},14257:function(t,e,n){var r;n.d(e,{_:()=>c});let a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(t){return (e={})=>{let n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}let o={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return(e,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&t.formattingValues){let e=t.defaultFormattingWidth||t.defaultWidth,a=n?.width?String(n.width):e;r=t.formattingValues[a]||t.formattingValues[e]}else{let e=t.defaultWidth,a=n?.width?String(n.width):t.defaultWidth;r=t.values[a]||t.values[e]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function d(t){return(e,n={})=>{let r;let a=n.width,i=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;let u=o[0],s=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(s)?function(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}(s,t=>t.test(u)):function(t,e){for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}(s,t=>t.test(u));return r=t.valueCallback?t.valueCallback(d):d,{value:r=n.valueCallback?n.valueCallback(r):r,rest:e.slice(u.length)}}}let c={code:"en-US",formatDistance:(t,e,n)=>{let r;let i=a[t];return(r="string"==typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),n?.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:o,formatRelative:(t,e,n,r)=>u[t],localize:{ordinalNumber:(t,e)=>{let n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(r={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)},(t,e={})=>{let n=t.match(r.matchPattern);if(!n)return null;let a=n[0],i=t.match(r.parsePattern);if(!i)return null;let o=r.valueCallback?r.valueCallback(i[0]):i[0];return{value:o=e.valueCallback?e.valueCallback(o):o,rest:t.slice(a.length)}}),era:d({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:d({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:d({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:d({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:d({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},23033:function(t,e,n){n.d(e,{b:()=>a});var r=n(55753);function a(t,e){let n=(0,r.Q)(t,e?.in);return n.setHours(0,0,0,0),n}},15889:function(t,e,n){n.d(e,{T:()=>a});var r=n(5149);function a(t,e){return(0,r.z)(t,{...e,weekStartsOn:1})}},66024:function(t,e,n){n.d(e,{E:()=>o});var r=n(63879),a=n(55795),i=n(15889);function o(t,e){let n=(0,a.L)(t,e),o=(0,r.L)(e?.in||t,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),(0,i.T)(o)}},5149:function(t,e,n){n.d(e,{z:()=>i});var r=n(85095),a=n(55753);function i(t,e){let n=(0,r.j)(),i=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=(0,a.Q)(t,e?.in),u=o.getDay();return o.setDate(o.getDate()-(7*(u<i)+u-i)),o.setHours(0,0,0,0),o}},20937:function(t,e,n){n.d(e,{v:()=>u});var r=n(85095),a=n(63879),i=n(30904),o=n(5149);function u(t,e){let n=(0,r.j)(),u=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=(0,i.c)(t,e),d=(0,a.L)(e?.in||t,0);return d.setFullYear(s,0,u),d.setHours(0,0,0,0),(0,o.z)(d,e)}},18874:function(t,e,n){n.d(e,{e:()=>a});var r=n(55753);function a(t,e){let n=(0,r.Q)(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}},55753:function(t,e,n){n.d(e,{Q:()=>a});var r=n(63879);function a(t,e){return(0,r.L)(e||t,t)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["3355"],{76439:function(e,t,n){n.d(t,{Z:()=>s});var r=n(54538),u=n(96858),i=n(49267),a=n(24105);let l={...r}.useSyncExternalStore;function c(e={}){let{themeId:t}=e;return function(e,n={}){let c=(0,a.Z)();c&&t&&(c=c[t]||c);let s="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:d=s?window.matchMedia:null,ssrMatchMedia:h=null,noSsr:m=!1}=(0,i.Z)({name:"MuiUseMediaQuery",props:n,theme:c}),f="function"==typeof e?e(c):e;return(void 0!==l?function(e,t,n,u,i){let a=r.useCallback(()=>t,[t]),c=r.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(null!==u){let{matches:t}=u(e);return()=>t}return a},[a,e,u,i,n]),[s,o]=r.useMemo(()=>{if(null===n)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[a,n,e]);return l(o,s,c)}:function(e,t,n,i,a){let[l,c]=r.useState(()=>a&&n?n(e).matches:i?i(e).matches:t);return(0,u.Z)(()=>{if(!n)return;let t=n(e),r=()=>{c(t.matches)};return r(),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[e,n]),l})(f=f.replace(/^@media( ?)/m,""),o,d,h,m)}}c();let s=c({themeId:n(92994).Z})},66694:function(e,t,n){n.d(t,{Q:()=>u,U:()=>r});let r="1h",u="0s"}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["3436"],{70313:function(e,r,t){t.d(r,{d:()=>a});var n=t(54538),o=t(97048),u=t(81925),s=t(80668),i=t(94680);function c(e){return e.substring(2).toLowerCase()}function a(e){let{children:r,disableReactTree:t=!1,mouseEvent:a="onClick",onClickAway:l,touchEvent:f="onTouchEnd"}=e,d=n.useRef(!1),v=n.useRef(null),m=n.useRef(!1),p=n.useRef(!1);n.useEffect(()=>(setTimeout(()=>{m.current=!0},0),()=>{m.current=!1}),[]);let h=(0,o.Z)((0,i.Z)(r),v),E=(0,u.Z)(e=>{let r;let n=p.current;p.current=!1;let o=(0,s.Z)(v.current);if(m.current&&v.current&&(!("clientX"in e)||!(o.documentElement.clientWidth<e.clientX)&&!(o.documentElement.clientHeight<e.clientY))){if(d.current){d.current=!1;return}(e.composedPath?e.composedPath().includes(v.current):!o.documentElement.contains(e.target)||v.current.contains(e.target))||!t&&n||l(e)}}),w=e=>t=>{p.current=!0;let n=r.props[e];n&&n(t)},Z={ref:h};return!1!==f&&(Z[f]=w(f)),n.useEffect(()=>{if(!1!==f){let e=c(f),r=(0,s.Z)(v.current),t=()=>{d.current=!0};return r.addEventListener(e,E),r.addEventListener("touchmove",t),()=>{r.removeEventListener(e,E),r.removeEventListener("touchmove",t)}}},[E,f]),!1!==a&&(Z[a]=w(a)),n.useEffect(()=>{if(!1!==a){let e=c(a),r=(0,s.Z)(v.current);return r.addEventListener(e,E),()=>{r.removeEventListener(e,E)}}},[E,a]),n.cloneElement(r,Z)}},85843:function(e,r,t){t.d(r,{Z:()=>h});var n=t(54538),o=t(90496),u=t(82267),s=t(12709),i=t(51751),c=t(44124),a=t(6749);function l(e){return(0,a.ZP)("MuiFormGroup",e)}(0,c.Z)("MuiFormGroup",["root","row","error"]);var f=t(36683),d=t(33567),v=t(24246);let m=e=>{let{classes:r,row:t,error:n}=e;return(0,u.Z)({root:["root",t&&"row",n&&"error"]},l,r)},p=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.root,t.row&&r.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),h=n.forwardRef(function(e,r){let t=(0,i.i)({props:e,name:"MuiFormGroup"}),{className:n,row:u=!1,...s}=t,c=(0,f.Z)(),a=(0,d.Z)({props:t,muiFormControl:c,states:["error"]}),l={...t,row:u,error:a.error},h=m(l);return(0,v.jsx)(p,{className:(0,o.Z)(h.root,n),ownerState:l,ref:r,...s})})},67469:function(e,r,t){t.d(r,{z:()=>o});var n=t(54538);function o(e){let r=(0,n.useRef)(e);return(0,n.useLayoutEffect)(()=>{r.current=e}),(0,n.useCallback)((...e)=>r.current(...e),[])}},14371:function(e,r,t){r.default=void 0;var n,o=(n=t(30265))&&n.__esModule?n:{default:n};r.default=(0,o.default)("M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z","OpenInNew")},494:function(e,r,t){t.d(r,{F:()=>s});var n=t(84275),o=t(57576),u=function(e,r){for(var t={};e.length;){var n=e[0],u=n.code,s=n.message,i=n.path.join(".");if(!t[i]){if("unionErrors"in n){var c=n.unionErrors[0].errors[0];t[i]={message:c.message,type:c.code}}else t[i]={message:s,type:u}}if("unionErrors"in n&&n.unionErrors.forEach(function(r){return r.errors.forEach(function(r){return e.push(r)})}),r){var a=t[i].types,l=a&&a[n.code];t[i]=(0,o.appendErrors)(i,r,t,u,l?[].concat(l,n.message):n.message)}e.shift()}return t},s=function(e,r,t){return void 0===t&&(t={}),function(o,s,i){try{return Promise.resolve(function(u,s){try{var c=Promise.resolve(e["sync"===t.mode?"parse":"parseAsync"](o,r)).then(function(e){return i.shouldUseNativeValidation&&(0,n.validateFieldsNatively)({},i),{errors:{},values:t.raw?o:e}})}catch(e){return s(e)}return c&&c.then?c.then(void 0,s):c}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:(0,n.toNestErrors)(u(e.errors,!i.shouldUseNativeValidation&&"all"===i.criteriaMode),i)};throw e}))}catch(e){return Promise.reject(e)}}}}}]);
|