@carto/meridian-ds 0.1.0
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/CHANGELOG.md +1 -0
- package/LICENSE +29 -0
- package/README.md +38 -0
- package/dist/Alert-Dd9Op7y8.js +4754 -0
- package/dist/Alert-l8e3Fw5e.cjs +4 -0
- package/dist/arrow-drop-icon-BGl72Unt.cjs +1 -0
- package/dist/arrow-drop-icon-CHxPlPIN.js +16 -0
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.js +1249 -0
- package/dist/createSvgIcon-BhsoeSAN.cjs +68 -0
- package/dist/createSvgIcon-CcKa-Sbo.js +3929 -0
- package/dist/custom-icons/index.cjs +1 -0
- package/dist/custom-icons/index.js +60 -0
- package/dist/jsx-runtime-B6kdoens.js +634 -0
- package/dist/jsx-runtime-Cek9Ww4S.cjs +30 -0
- package/dist/paletteUtils-B489IFFw.js +320 -0
- package/dist/paletteUtils-DELR0VRh.cjs +3 -0
- package/dist/search-icon-DHF2JDWR.cjs +1 -0
- package/dist/search-icon-FnUa1LqH.js +38 -0
- package/dist/theme/index.cjs +76 -0
- package/dist/theme/index.js +3863 -0
- package/dist/types/components/atoms/Button.d.ts +7 -0
- package/dist/types/components/atoms/Button.d.ts.map +1 -0
- package/dist/types/components/atoms/LabelWithIndicator.d.ts +8 -0
- package/dist/types/components/atoms/LabelWithIndicator.d.ts.map +1 -0
- package/dist/types/components/atoms/PasswordField.d.ts +4 -0
- package/dist/types/components/atoms/PasswordField.d.ts.map +1 -0
- package/dist/types/components/atoms/SelectField.d.ts +15 -0
- package/dist/types/components/atoms/SelectField.d.ts.map +1 -0
- package/dist/types/components/atoms/ToggleButtonGroup.d.ts +7 -0
- package/dist/types/components/atoms/ToggleButtonGroup.d.ts.map +1 -0
- package/dist/types/components/atoms/Typography.d.ts +14 -0
- package/dist/types/components/atoms/Typography.d.ts.map +1 -0
- package/dist/types/components/atoms/index.d.ts +13 -0
- package/dist/types/components/atoms/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +7 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/molecules/AccordionGroup.d.ts +12 -0
- package/dist/types/components/molecules/AccordionGroup.d.ts.map +1 -0
- package/dist/types/components/molecules/Alert.d.ts +18 -0
- package/dist/types/components/molecules/Alert.d.ts.map +1 -0
- package/dist/types/components/molecules/Autocomplete.d.ts +19 -0
- package/dist/types/components/molecules/Autocomplete.d.ts.map +1 -0
- package/dist/types/components/molecules/Avatar.d.ts +6 -0
- package/dist/types/components/molecules/Avatar.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/Menu.d.ts +8 -0
- package/dist/types/components/molecules/Menu/Menu.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/MenuItem.d.ts +10 -0
- package/dist/types/components/molecules/Menu/MenuItem.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/MenuList.d.ts +8 -0
- package/dist/types/components/molecules/Menu/MenuList.d.ts.map +1 -0
- package/dist/types/components/molecules/Menu/index.d.ts +7 -0
- package/dist/types/components/molecules/Menu/index.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/Filters.d.ts +9 -0
- package/dist/types/components/molecules/MultipleSelectField/Filters.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/MultipleSelectField.d.ts +31 -0
- package/dist/types/components/molecules/MultipleSelectField/MultipleSelectField.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/index.d.ts +3 -0
- package/dist/types/components/molecules/MultipleSelectField/index.d.ts.map +1 -0
- package/dist/types/components/molecules/MultipleSelectField/useMultipleSelectField.d.ts +11 -0
- package/dist/types/components/molecules/MultipleSelectField/useMultipleSelectField.d.ts.map +1 -0
- package/dist/types/components/molecules/Table/TablePaginationActions.d.ts +9 -0
- package/dist/types/components/molecules/Table/TablePaginationActions.d.ts.map +1 -0
- package/dist/types/components/molecules/Table/index.d.ts +3 -0
- package/dist/types/components/molecules/Table/index.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/FilesAction.d.ts +13 -0
- package/dist/types/components/molecules/UploadField/FilesAction.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/StyledUploadField.d.ts +8 -0
- package/dist/types/components/molecules/UploadField/StyledUploadField.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/UploadField.d.ts +15 -0
- package/dist/types/components/molecules/UploadField/UploadField.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/UploadFieldBase.d.ts +17 -0
- package/dist/types/components/molecules/UploadField/UploadFieldBase.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/index.d.ts +5 -0
- package/dist/types/components/molecules/UploadField/index.d.ts.map +1 -0
- package/dist/types/components/molecules/UploadField/useFileUpload.d.ts +19 -0
- package/dist/types/components/molecules/UploadField/useFileUpload.d.ts.map +1 -0
- package/dist/types/components/molecules/index.d.ts +17 -0
- package/dist/types/components/molecules/index.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/AppBar.d.ts +11 -0
- package/dist/types/components/organisms/AppBar/AppBar.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/BrandLogo.d.ts +4 -0
- package/dist/types/components/organisms/AppBar/BrandLogo.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/BrandText.d.ts +4 -0
- package/dist/types/components/organisms/AppBar/BrandText.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/BurgerMenu.d.ts +4 -0
- package/dist/types/components/organisms/AppBar/BurgerMenu.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/SecondaryText.d.ts +4 -0
- package/dist/types/components/organisms/AppBar/SecondaryText.d.ts.map +1 -0
- package/dist/types/components/organisms/AppBar/index.d.ts +3 -0
- package/dist/types/components/organisms/AppBar/index.d.ts.map +1 -0
- package/dist/types/components/organisms/TooltipData.d.ts +12 -0
- package/dist/types/components/organisms/TooltipData.d.ts.map +1 -0
- package/dist/types/components/organisms/index.d.ts +5 -0
- package/dist/types/components/organisms/index.d.ts.map +1 -0
- package/dist/types/custom-icons/arrow-drop-icon.d.ts +3 -0
- package/dist/types/custom-icons/arrow-drop-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/circle-icon.d.ts +3 -0
- package/dist/types/custom-icons/circle-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/cursor-icon.d.ts +3 -0
- package/dist/types/custom-icons/cursor-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/graph-line-icon.d.ts +3 -0
- package/dist/types/custom-icons/graph-line-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/index.d.ts +12 -0
- package/dist/types/custom-icons/index.d.ts.map +1 -0
- package/dist/types/custom-icons/lasso-icon.d.ts +3 -0
- package/dist/types/custom-icons/lasso-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/layer-icon.d.ts +3 -0
- package/dist/types/custom-icons/layer-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/opacity-icon.d.ts +3 -0
- package/dist/types/custom-icons/opacity-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/polygon-icon.d.ts +3 -0
- package/dist/types/custom-icons/polygon-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/rectangle-icon.d.ts +3 -0
- package/dist/types/custom-icons/rectangle-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/search-icon.d.ts +3 -0
- package/dist/types/custom-icons/search-icon.d.ts.map +1 -0
- package/dist/types/custom-icons/upload-icon.d.ts +3 -0
- package/dist/types/custom-icons/upload-icon.d.ts.map +1 -0
- package/dist/types/hooks/useImperativeIntl.d.ts +3 -0
- package/dist/types/hooks/useImperativeIntl.d.ts.map +1 -0
- package/dist/types/hooks/usePrevious.d.ts +2 -0
- package/dist/types/hooks/usePrevious.d.ts.map +1 -0
- package/dist/types/hooks/useSkeleton.d.ts +5 -0
- package/dist/types/hooks/useSkeleton.d.ts.map +1 -0
- package/dist/types/localization/en.d.ts +120 -0
- package/dist/types/localization/en.d.ts.map +1 -0
- package/dist/types/localization/es.d.ts +118 -0
- package/dist/types/localization/es.d.ts.map +1 -0
- package/dist/types/localization/id.d.ts +120 -0
- package/dist/types/localization/id.d.ts.map +1 -0
- package/dist/types/localization/index.d.ts +355 -0
- package/dist/types/localization/index.d.ts.map +1 -0
- package/dist/types/theme/carto-theme.d.ts +4077 -0
- package/dist/types/theme/carto-theme.d.ts.map +1 -0
- package/dist/types/theme/index.d.ts +5 -0
- package/dist/types/theme/index.d.ts.map +1 -0
- package/dist/types/theme/sections/components/buttons.d.ts +3 -0
- package/dist/types/theme/sections/components/buttons.d.ts.map +1 -0
- package/dist/types/theme/sections/components/data-display.d.ts +4 -0
- package/dist/types/theme/sections/components/data-display.d.ts.map +1 -0
- package/dist/types/theme/sections/components/feedback.d.ts +3 -0
- package/dist/types/theme/sections/components/feedback.d.ts.map +1 -0
- package/dist/types/theme/sections/components/forms.d.ts +3 -0
- package/dist/types/theme/sections/components/forms.d.ts.map +1 -0
- package/dist/types/theme/sections/components/navigation.d.ts +3 -0
- package/dist/types/theme/sections/components/navigation.d.ts.map +1 -0
- package/dist/types/theme/sections/components/surfaces.d.ts +3 -0
- package/dist/types/theme/sections/components/surfaces.d.ts.map +1 -0
- package/dist/types/theme/sections/css-baseline.d.ts +905 -0
- package/dist/types/theme/sections/css-baseline.d.ts.map +1 -0
- package/dist/types/theme/sections/palette.d.ts +4 -0
- package/dist/types/theme/sections/palette.d.ts.map +1 -0
- package/dist/types/theme/sections/shadows.d.ts +3 -0
- package/dist/types/theme/sections/shadows.d.ts.map +1 -0
- package/dist/types/theme/sections/typography.d.ts +1706 -0
- package/dist/types/theme/sections/typography.d.ts.map +1 -0
- package/dist/types/theme/theme-constants.d.ts +14 -0
- package/dist/types/theme/theme-constants.d.ts.map +1 -0
- package/dist/types/theme/theme-utils.d.ts +2 -0
- package/dist/types/theme/theme-utils.d.ts.map +1 -0
- package/dist/types/theme/types.d.ts +99 -0
- package/dist/types/theme/types.d.ts.map +1 -0
- package/dist/types/utils/animationUtils.d.ts +30 -0
- package/dist/types/utils/animationUtils.d.ts.map +1 -0
- package/dist/types/utils/chartConstants.d.ts +7 -0
- package/dist/types/utils/chartConstants.d.ts.map +1 -0
- package/dist/types/utils/detectTouchScreen.d.ts +2 -0
- package/dist/types/utils/detectTouchScreen.d.ts.map +1 -0
- package/dist/types/utils/formatterUtils.d.ts +18 -0
- package/dist/types/utils/formatterUtils.d.ts.map +1 -0
- package/dist/types/utils/legendUtils.d.ts +99 -0
- package/dist/types/utils/legendUtils.d.ts.map +1 -0
- package/dist/types/utils/localeUtils.d.ts +7 -0
- package/dist/types/utils/localeUtils.d.ts.map +1 -0
- package/dist/types/utils/paletteUtils.d.ts +25 -0
- package/dist/types/utils/paletteUtils.d.ts.map +1 -0
- package/dist/types/utils/uniqueId.d.ts +19 -0
- package/dist/types/utils/uniqueId.d.ts.map +1 -0
- package/dist/types/widgets/BarWidgetUI/BarSkeleton.d.ts +4 -0
- package/dist/types/widgets/BarWidgetUI/BarSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/BarWidgetUI/BarWidgetUI.d.ts +33 -0
- package/dist/types/widgets/BarWidgetUI/BarWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/BarWidgetUI/useProcessedProps.d.ts +22 -0
- package/dist/types/widgets/BarWidgetUI/useProcessedProps.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/CategorySkeleton.d.ts +3 -0
- package/dist/types/widgets/CategoryWidgetUI/CategorySkeleton.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts +25 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +37 -0
- package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -0
- package/dist/types/widgets/ChartLegend.d.ts +10 -0
- package/dist/types/widgets/ChartLegend.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIDropdown.d.ts +18 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIDropdown.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts +17 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIToggleButton.d.ts +15 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIToggleButton.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.d.ts +27 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/index.d.ts +9 -0
- package/dist/types/widgets/FeatureSelectionWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaSkeleton.d.ts +3 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.d.ts +16 -0
- package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramSkeleton.d.ts +6 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.d.ts +27 -0
- package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/HistogramWidgetUI/useHistogramInteractivity.d.ts +20 -0
- package/dist/types/widgets/HistogramWidgetUI/useHistogramInteractivity.d.ts.map +1 -0
- package/dist/types/widgets/NoDataAlert.d.ts +6 -0
- package/dist/types/widgets/NoDataAlert.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/PieCentralText.d.ts +11 -0
- package/dist/types/widgets/PieWidgetUI/PieCentralText.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/PieSkeleton.d.ts +4 -0
- package/dist/types/widgets/PieWidgetUI/PieSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts +31 -0
- package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts +16 -0
- package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts.map +1 -0
- package/dist/types/widgets/RangeWidgetUI/RangeSkeleton.d.ts +2 -0
- package/dist/types/widgets/RangeWidgetUI/RangeSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.d.ts +16 -0
- package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/ReactEcharts.d.ts +8 -0
- package/dist/types/widgets/ReactEcharts.d.ts.map +1 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotSkeleton.d.ts +4 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.d.ts +16 -0
- package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/SkeletonWidgets.d.ts +20 -0
- package/dist/types/widgets/SkeletonWidgets.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/TableSkeleton.d.ts +7 -0
- package/dist/types/widgets/TableWidgetUI/TableSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/TableSkeletonRow.d.ts +6 -0
- package/dist/types/widgets/TableWidgetUI/TableSkeletonRow.d.ts.map +1 -0
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts +30 -0
- package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesContext.d.ts +21 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesContext.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts +4 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts +14 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesControls.d.ts +3 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesControls.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesLayout.d.ts +8 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesLayout.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesSkeleton.d.ts +4 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesSkeleton.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/index.d.ts +9 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/index.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.d.ts +99 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.d.ts.map +1 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/useTimeSeriesInteractivity.d.ts +43 -0
- package/dist/types/widgets/TimeSeriesWidgetUI/useTimeSeriesInteractivity.d.ts.map +1 -0
- package/dist/types/widgets/WrapperWidgetUI.d.ts +36 -0
- package/dist/types/widgets/WrapperWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/comparative/AnimatedNumber/AnimatedNumber.d.ts +9 -0
- package/dist/types/widgets/comparative/AnimatedNumber/AnimatedNumber.d.ts.map +1 -0
- package/dist/types/widgets/comparative/AnimatedNumber/useAnimatedNumber.d.ts +11 -0
- package/dist/types/widgets/comparative/AnimatedNumber/useAnimatedNumber.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryItem.d.ts +17 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryItem.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts +23 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.styled.d.ts +45 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.styled.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts +20 -0
- package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.d.ts +21 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaLabel.d.ts +5 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaLabel.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaValue.d.ts +10 -0
- package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaValue.d.ts.map +1 -0
- package/dist/types/widgets/comparative/ComparativePieWidgetUI.d.ts +22 -0
- package/dist/types/widgets/comparative/ComparativePieWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/index.d.ts +33 -0
- package/dist/types/widgets/index.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendLayer.d.ts +37 -0
- package/dist/types/widgets/legend/LegendLayer.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendLayerTitle.d.ts +8 -0
- package/dist/types/widgets/legend/LegendLayerTitle.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendLayerVariable.d.ts +9 -0
- package/dist/types/widgets/legend/LegendLayerVariable.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendOpacityControl.d.ts +14 -0
- package/dist/types/widgets/legend/LegendOpacityControl.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendWidgetUI.d.ts +48 -0
- package/dist/types/widgets/legend/LegendWidgetUI.d.ts.map +1 -0
- package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts +31 -0
- package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts.map +1 -0
- package/dist/types/widgets/legend/index.d.ts +7 -0
- package/dist/types/widgets/legend/index.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendCategories.d.ts +6 -0
- package/dist/types/widgets/legend/legend-types/LegendCategories.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendIcon.d.ts +6 -0
- package/dist/types/widgets/legend/legend-types/LegendIcon.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendProportion.d.ts +9 -0
- package/dist/types/widgets/legend/legend-types/LegendProportion.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/LegendRamp.d.ts +7 -0
- package/dist/types/widgets/legend/legend-types/LegendRamp.d.ts.map +1 -0
- package/dist/types/widgets/legend/legend-types/index.d.ts +9 -0
- package/dist/types/widgets/legend/legend-types/index.d.ts.map +1 -0
- package/dist/widgets/index.cjs +33 -0
- package/dist/widgets/index.js +5865 -0
- package/package.json +156 -0
|
@@ -0,0 +1,3929 @@
|
|
|
1
|
+
import * as B from "react";
|
|
2
|
+
import { j as Be } from "./jsx-runtime-B6kdoens.js";
|
|
3
|
+
import _n from "@emotion/styled";
|
|
4
|
+
import { CacheProvider as Sn, Global as xn, ThemeContext as Tn, css as On, keyframes as $n } from "@emotion/react";
|
|
5
|
+
function wn(e) {
|
|
6
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
|
+
}
|
|
8
|
+
function _e(e) {
|
|
9
|
+
if (e.__esModule) return e;
|
|
10
|
+
var t = e.default;
|
|
11
|
+
if (typeof t == "function") {
|
|
12
|
+
var r = function n() {
|
|
13
|
+
return this instanceof n ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments);
|
|
14
|
+
};
|
|
15
|
+
r.prototype = t.prototype;
|
|
16
|
+
} else r = {};
|
|
17
|
+
return Object.defineProperty(r, "__esModule", { value: !0 }), Object.keys(e).forEach(function(n) {
|
|
18
|
+
var o = Object.getOwnPropertyDescriptor(e, n);
|
|
19
|
+
Object.defineProperty(r, n, o.get ? o : {
|
|
20
|
+
enumerable: !0,
|
|
21
|
+
get: function() {
|
|
22
|
+
return e[n];
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}), r;
|
|
26
|
+
}
|
|
27
|
+
function Ye(e) {
|
|
28
|
+
let t = "https://mui.com/production-error/?code=" + e;
|
|
29
|
+
for (let r = 1; r < arguments.length; r += 1)
|
|
30
|
+
t += "&args[]=" + encodeURIComponent(arguments[r]);
|
|
31
|
+
return "Minified MUI error #" + e + "; visit " + t + " for the full message.";
|
|
32
|
+
}
|
|
33
|
+
const Pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34
|
+
__proto__: null,
|
|
35
|
+
default: Ye
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), Rn = "$$material";
|
|
37
|
+
function U() {
|
|
38
|
+
return U = Object.assign ? Object.assign.bind() : function(e) {
|
|
39
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
40
|
+
var r = arguments[t];
|
|
41
|
+
for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
42
|
+
}
|
|
43
|
+
return e;
|
|
44
|
+
}, U.apply(null, arguments);
|
|
45
|
+
}
|
|
46
|
+
function Oe(e, t) {
|
|
47
|
+
if (e == null) return {};
|
|
48
|
+
var r = {};
|
|
49
|
+
for (var n in e) if ({}.hasOwnProperty.call(e, n)) {
|
|
50
|
+
if (t.includes(n)) continue;
|
|
51
|
+
r[n] = e[n];
|
|
52
|
+
}
|
|
53
|
+
return r;
|
|
54
|
+
}
|
|
55
|
+
var zt = { exports: {} }, rt = { exports: {} }, z = {};
|
|
56
|
+
/** @license React v16.13.1
|
|
57
|
+
* react-is.production.min.js
|
|
58
|
+
*
|
|
59
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
60
|
+
*
|
|
61
|
+
* This source code is licensed under the MIT license found in the
|
|
62
|
+
* LICENSE file in the root directory of this source tree.
|
|
63
|
+
*/
|
|
64
|
+
var ir;
|
|
65
|
+
function Cn() {
|
|
66
|
+
if (ir) return z;
|
|
67
|
+
ir = 1;
|
|
68
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
69
|
+
function $(y) {
|
|
70
|
+
if (typeof y == "object" && y !== null) {
|
|
71
|
+
var L = y.$$typeof;
|
|
72
|
+
switch (L) {
|
|
73
|
+
case t:
|
|
74
|
+
switch (y = y.type, y) {
|
|
75
|
+
case c:
|
|
76
|
+
case u:
|
|
77
|
+
case n:
|
|
78
|
+
case i:
|
|
79
|
+
case o:
|
|
80
|
+
case m:
|
|
81
|
+
return y;
|
|
82
|
+
default:
|
|
83
|
+
switch (y = y && y.$$typeof, y) {
|
|
84
|
+
case a:
|
|
85
|
+
case p:
|
|
86
|
+
case g:
|
|
87
|
+
case b:
|
|
88
|
+
case s:
|
|
89
|
+
return y;
|
|
90
|
+
default:
|
|
91
|
+
return L;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
case r:
|
|
95
|
+
return L;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function F(y) {
|
|
100
|
+
return $(y) === u;
|
|
101
|
+
}
|
|
102
|
+
return z.AsyncMode = c, z.ConcurrentMode = u, z.ContextConsumer = a, z.ContextProvider = s, z.Element = t, z.ForwardRef = p, z.Fragment = n, z.Lazy = g, z.Memo = b, z.Portal = r, z.Profiler = i, z.StrictMode = o, z.Suspense = m, z.isAsyncMode = function(y) {
|
|
103
|
+
return F(y) || $(y) === c;
|
|
104
|
+
}, z.isConcurrentMode = F, z.isContextConsumer = function(y) {
|
|
105
|
+
return $(y) === a;
|
|
106
|
+
}, z.isContextProvider = function(y) {
|
|
107
|
+
return $(y) === s;
|
|
108
|
+
}, z.isElement = function(y) {
|
|
109
|
+
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
110
|
+
}, z.isForwardRef = function(y) {
|
|
111
|
+
return $(y) === p;
|
|
112
|
+
}, z.isFragment = function(y) {
|
|
113
|
+
return $(y) === n;
|
|
114
|
+
}, z.isLazy = function(y) {
|
|
115
|
+
return $(y) === g;
|
|
116
|
+
}, z.isMemo = function(y) {
|
|
117
|
+
return $(y) === b;
|
|
118
|
+
}, z.isPortal = function(y) {
|
|
119
|
+
return $(y) === r;
|
|
120
|
+
}, z.isProfiler = function(y) {
|
|
121
|
+
return $(y) === i;
|
|
122
|
+
}, z.isStrictMode = function(y) {
|
|
123
|
+
return $(y) === o;
|
|
124
|
+
}, z.isSuspense = function(y) {
|
|
125
|
+
return $(y) === m;
|
|
126
|
+
}, z.isValidElementType = function(y) {
|
|
127
|
+
return typeof y == "string" || typeof y == "function" || y === n || y === u || y === i || y === o || y === m || y === l || typeof y == "object" && y !== null && (y.$$typeof === g || y.$$typeof === b || y.$$typeof === s || y.$$typeof === a || y.$$typeof === p || y.$$typeof === f || y.$$typeof === _ || y.$$typeof === k || y.$$typeof === d);
|
|
128
|
+
}, z.typeOf = $, z;
|
|
129
|
+
}
|
|
130
|
+
var V = {};
|
|
131
|
+
/** @license React v16.13.1
|
|
132
|
+
* react-is.development.js
|
|
133
|
+
*
|
|
134
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
135
|
+
*
|
|
136
|
+
* This source code is licensed under the MIT license found in the
|
|
137
|
+
* LICENSE file in the root directory of this source tree.
|
|
138
|
+
*/
|
|
139
|
+
var sr;
|
|
140
|
+
function An() {
|
|
141
|
+
return sr || (sr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
142
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, a = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, l = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, d = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, _ = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
143
|
+
function $(v) {
|
|
144
|
+
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
145
|
+
v === n || v === u || v === i || v === o || v === m || v === l || typeof v == "object" && v !== null && (v.$$typeof === g || v.$$typeof === b || v.$$typeof === s || v.$$typeof === a || v.$$typeof === p || v.$$typeof === f || v.$$typeof === _ || v.$$typeof === k || v.$$typeof === d);
|
|
146
|
+
}
|
|
147
|
+
function F(v) {
|
|
148
|
+
if (typeof v == "object" && v !== null) {
|
|
149
|
+
var ce = v.$$typeof;
|
|
150
|
+
switch (ce) {
|
|
151
|
+
case t:
|
|
152
|
+
var S = v.type;
|
|
153
|
+
switch (S) {
|
|
154
|
+
case c:
|
|
155
|
+
case u:
|
|
156
|
+
case n:
|
|
157
|
+
case i:
|
|
158
|
+
case o:
|
|
159
|
+
case m:
|
|
160
|
+
return S;
|
|
161
|
+
default:
|
|
162
|
+
var Ce = S && S.$$typeof;
|
|
163
|
+
switch (Ce) {
|
|
164
|
+
case a:
|
|
165
|
+
case p:
|
|
166
|
+
case g:
|
|
167
|
+
case b:
|
|
168
|
+
case s:
|
|
169
|
+
return Ce;
|
|
170
|
+
default:
|
|
171
|
+
return ce;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
case r:
|
|
175
|
+
return ce;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
var y = c, L = u, C = a, pe = s, Se = t, be = p, H = n, ee = g, ye = b, ie = r, we = i, ne = o, ve = m, Pe = !1;
|
|
180
|
+
function Re(v) {
|
|
181
|
+
return Pe || (Pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(v) || F(v) === c;
|
|
182
|
+
}
|
|
183
|
+
function h(v) {
|
|
184
|
+
return F(v) === u;
|
|
185
|
+
}
|
|
186
|
+
function E(v) {
|
|
187
|
+
return F(v) === a;
|
|
188
|
+
}
|
|
189
|
+
function R(v) {
|
|
190
|
+
return F(v) === s;
|
|
191
|
+
}
|
|
192
|
+
function w(v) {
|
|
193
|
+
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
194
|
+
}
|
|
195
|
+
function x(v) {
|
|
196
|
+
return F(v) === p;
|
|
197
|
+
}
|
|
198
|
+
function A(v) {
|
|
199
|
+
return F(v) === n;
|
|
200
|
+
}
|
|
201
|
+
function O(v) {
|
|
202
|
+
return F(v) === g;
|
|
203
|
+
}
|
|
204
|
+
function P(v) {
|
|
205
|
+
return F(v) === b;
|
|
206
|
+
}
|
|
207
|
+
function I(v) {
|
|
208
|
+
return F(v) === r;
|
|
209
|
+
}
|
|
210
|
+
function j(v) {
|
|
211
|
+
return F(v) === i;
|
|
212
|
+
}
|
|
213
|
+
function M(v) {
|
|
214
|
+
return F(v) === o;
|
|
215
|
+
}
|
|
216
|
+
function te(v) {
|
|
217
|
+
return F(v) === m;
|
|
218
|
+
}
|
|
219
|
+
V.AsyncMode = y, V.ConcurrentMode = L, V.ContextConsumer = C, V.ContextProvider = pe, V.Element = Se, V.ForwardRef = be, V.Fragment = H, V.Lazy = ee, V.Memo = ye, V.Portal = ie, V.Profiler = we, V.StrictMode = ne, V.Suspense = ve, V.isAsyncMode = Re, V.isConcurrentMode = h, V.isContextConsumer = E, V.isContextProvider = R, V.isElement = w, V.isForwardRef = x, V.isFragment = A, V.isLazy = O, V.isMemo = P, V.isPortal = I, V.isProfiler = j, V.isStrictMode = M, V.isSuspense = te, V.isValidElementType = $, V.typeOf = F;
|
|
220
|
+
}()), V;
|
|
221
|
+
}
|
|
222
|
+
var ar;
|
|
223
|
+
function Lr() {
|
|
224
|
+
return ar || (ar = 1, process.env.NODE_ENV === "production" ? rt.exports = Cn() : rt.exports = An()), rt.exports;
|
|
225
|
+
}
|
|
226
|
+
/*
|
|
227
|
+
object-assign
|
|
228
|
+
(c) Sindre Sorhus
|
|
229
|
+
@license MIT
|
|
230
|
+
*/
|
|
231
|
+
var Rt, cr;
|
|
232
|
+
function In() {
|
|
233
|
+
if (cr) return Rt;
|
|
234
|
+
cr = 1;
|
|
235
|
+
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
236
|
+
function n(i) {
|
|
237
|
+
if (i == null)
|
|
238
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
239
|
+
return Object(i);
|
|
240
|
+
}
|
|
241
|
+
function o() {
|
|
242
|
+
try {
|
|
243
|
+
if (!Object.assign)
|
|
244
|
+
return !1;
|
|
245
|
+
var i = new String("abc");
|
|
246
|
+
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
|
|
247
|
+
return !1;
|
|
248
|
+
for (var s = {}, a = 0; a < 10; a++)
|
|
249
|
+
s["_" + String.fromCharCode(a)] = a;
|
|
250
|
+
var c = Object.getOwnPropertyNames(s).map(function(p) {
|
|
251
|
+
return s[p];
|
|
252
|
+
});
|
|
253
|
+
if (c.join("") !== "0123456789")
|
|
254
|
+
return !1;
|
|
255
|
+
var u = {};
|
|
256
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(p) {
|
|
257
|
+
u[p] = p;
|
|
258
|
+
}), Object.keys(Object.assign({}, u)).join("") === "abcdefghijklmnopqrst";
|
|
259
|
+
} catch {
|
|
260
|
+
return !1;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
return Rt = o() ? Object.assign : function(i, s) {
|
|
264
|
+
for (var a, c = n(i), u, p = 1; p < arguments.length; p++) {
|
|
265
|
+
a = Object(arguments[p]);
|
|
266
|
+
for (var m in a)
|
|
267
|
+
t.call(a, m) && (c[m] = a[m]);
|
|
268
|
+
if (e) {
|
|
269
|
+
u = e(a);
|
|
270
|
+
for (var l = 0; l < u.length; l++)
|
|
271
|
+
r.call(a, u[l]) && (c[u[l]] = a[u[l]]);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
return c;
|
|
275
|
+
}, Rt;
|
|
276
|
+
}
|
|
277
|
+
var Ct, ur;
|
|
278
|
+
function Gt() {
|
|
279
|
+
if (ur) return Ct;
|
|
280
|
+
ur = 1;
|
|
281
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
282
|
+
return Ct = e, Ct;
|
|
283
|
+
}
|
|
284
|
+
var At, fr;
|
|
285
|
+
function zr() {
|
|
286
|
+
return fr || (fr = 1, At = Function.call.bind(Object.prototype.hasOwnProperty)), At;
|
|
287
|
+
}
|
|
288
|
+
var It, lr;
|
|
289
|
+
function Mn() {
|
|
290
|
+
if (lr) return It;
|
|
291
|
+
lr = 1;
|
|
292
|
+
var e = function() {
|
|
293
|
+
};
|
|
294
|
+
if (process.env.NODE_ENV !== "production") {
|
|
295
|
+
var t = Gt(), r = {}, n = zr();
|
|
296
|
+
e = function(i) {
|
|
297
|
+
var s = "Warning: " + i;
|
|
298
|
+
typeof console < "u" && console.error(s);
|
|
299
|
+
try {
|
|
300
|
+
throw new Error(s);
|
|
301
|
+
} catch {
|
|
302
|
+
}
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
function o(i, s, a, c, u) {
|
|
306
|
+
if (process.env.NODE_ENV !== "production") {
|
|
307
|
+
for (var p in i)
|
|
308
|
+
if (n(i, p)) {
|
|
309
|
+
var m;
|
|
310
|
+
try {
|
|
311
|
+
if (typeof i[p] != "function") {
|
|
312
|
+
var l = Error(
|
|
313
|
+
(c || "React class") + ": " + a + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
314
|
+
);
|
|
315
|
+
throw l.name = "Invariant Violation", l;
|
|
316
|
+
}
|
|
317
|
+
m = i[p](s, p, c, a, null, t);
|
|
318
|
+
} catch (g) {
|
|
319
|
+
m = g;
|
|
320
|
+
}
|
|
321
|
+
if (m && !(m instanceof Error) && e(
|
|
322
|
+
(c || "React class") + ": type specification of " + a + " `" + p + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
323
|
+
), m instanceof Error && !(m.message in r)) {
|
|
324
|
+
r[m.message] = !0;
|
|
325
|
+
var b = u ? u() : "";
|
|
326
|
+
e(
|
|
327
|
+
"Failed " + a + " type: " + m.message + (b ?? "")
|
|
328
|
+
);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
return o.resetWarningCache = function() {
|
|
334
|
+
process.env.NODE_ENV !== "production" && (r = {});
|
|
335
|
+
}, It = o, It;
|
|
336
|
+
}
|
|
337
|
+
var Mt, dr;
|
|
338
|
+
function kn() {
|
|
339
|
+
if (dr) return Mt;
|
|
340
|
+
dr = 1;
|
|
341
|
+
var e = Lr(), t = In(), r = Gt(), n = zr(), o = Mn(), i = function() {
|
|
342
|
+
};
|
|
343
|
+
process.env.NODE_ENV !== "production" && (i = function(a) {
|
|
344
|
+
var c = "Warning: " + a;
|
|
345
|
+
typeof console < "u" && console.error(c);
|
|
346
|
+
try {
|
|
347
|
+
throw new Error(c);
|
|
348
|
+
} catch {
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
function s() {
|
|
352
|
+
return null;
|
|
353
|
+
}
|
|
354
|
+
return Mt = function(a, c) {
|
|
355
|
+
var u = typeof Symbol == "function" && Symbol.iterator, p = "@@iterator";
|
|
356
|
+
function m(h) {
|
|
357
|
+
var E = h && (u && h[u] || h[p]);
|
|
358
|
+
if (typeof E == "function")
|
|
359
|
+
return E;
|
|
360
|
+
}
|
|
361
|
+
var l = "<<anonymous>>", b = {
|
|
362
|
+
array: _("array"),
|
|
363
|
+
bigint: _("bigint"),
|
|
364
|
+
bool: _("boolean"),
|
|
365
|
+
func: _("function"),
|
|
366
|
+
number: _("number"),
|
|
367
|
+
object: _("object"),
|
|
368
|
+
string: _("string"),
|
|
369
|
+
symbol: _("symbol"),
|
|
370
|
+
any: k(),
|
|
371
|
+
arrayOf: $,
|
|
372
|
+
element: F(),
|
|
373
|
+
elementType: y(),
|
|
374
|
+
instanceOf: L,
|
|
375
|
+
node: be(),
|
|
376
|
+
objectOf: pe,
|
|
377
|
+
oneOf: C,
|
|
378
|
+
oneOfType: Se,
|
|
379
|
+
shape: ee,
|
|
380
|
+
exact: ye
|
|
381
|
+
};
|
|
382
|
+
function g(h, E) {
|
|
383
|
+
return h === E ? h !== 0 || 1 / h === 1 / E : h !== h && E !== E;
|
|
384
|
+
}
|
|
385
|
+
function d(h, E) {
|
|
386
|
+
this.message = h, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
|
|
387
|
+
}
|
|
388
|
+
d.prototype = Error.prototype;
|
|
389
|
+
function f(h) {
|
|
390
|
+
if (process.env.NODE_ENV !== "production")
|
|
391
|
+
var E = {}, R = 0;
|
|
392
|
+
function w(A, O, P, I, j, M, te) {
|
|
393
|
+
if (I = I || l, M = M || P, te !== r) {
|
|
394
|
+
if (c) {
|
|
395
|
+
var v = new Error(
|
|
396
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
397
|
+
);
|
|
398
|
+
throw v.name = "Invariant Violation", v;
|
|
399
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
400
|
+
var ce = I + ":" + P;
|
|
401
|
+
!E[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
402
|
+
R < 3 && (i(
|
|
403
|
+
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + I + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
404
|
+
), E[ce] = !0, R++);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return O[P] == null ? A ? O[P] === null ? new d("The " + j + " `" + M + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new d("The " + j + " `" + M + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : h(O, P, I, j, M);
|
|
408
|
+
}
|
|
409
|
+
var x = w.bind(null, !1);
|
|
410
|
+
return x.isRequired = w.bind(null, !0), x;
|
|
411
|
+
}
|
|
412
|
+
function _(h) {
|
|
413
|
+
function E(R, w, x, A, O, P) {
|
|
414
|
+
var I = R[w], j = ne(I);
|
|
415
|
+
if (j !== h) {
|
|
416
|
+
var M = ve(I);
|
|
417
|
+
return new d(
|
|
418
|
+
"Invalid " + A + " `" + O + "` of type " + ("`" + M + "` supplied to `" + x + "`, expected ") + ("`" + h + "`."),
|
|
419
|
+
{ expectedType: h }
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
return null;
|
|
423
|
+
}
|
|
424
|
+
return f(E);
|
|
425
|
+
}
|
|
426
|
+
function k() {
|
|
427
|
+
return f(s);
|
|
428
|
+
}
|
|
429
|
+
function $(h) {
|
|
430
|
+
function E(R, w, x, A, O) {
|
|
431
|
+
if (typeof h != "function")
|
|
432
|
+
return new d("Property `" + O + "` of component `" + x + "` has invalid PropType notation inside arrayOf.");
|
|
433
|
+
var P = R[w];
|
|
434
|
+
if (!Array.isArray(P)) {
|
|
435
|
+
var I = ne(P);
|
|
436
|
+
return new d("Invalid " + A + " `" + O + "` of type " + ("`" + I + "` supplied to `" + x + "`, expected an array."));
|
|
437
|
+
}
|
|
438
|
+
for (var j = 0; j < P.length; j++) {
|
|
439
|
+
var M = h(P, j, x, A, O + "[" + j + "]", r);
|
|
440
|
+
if (M instanceof Error)
|
|
441
|
+
return M;
|
|
442
|
+
}
|
|
443
|
+
return null;
|
|
444
|
+
}
|
|
445
|
+
return f(E);
|
|
446
|
+
}
|
|
447
|
+
function F() {
|
|
448
|
+
function h(E, R, w, x, A) {
|
|
449
|
+
var O = E[R];
|
|
450
|
+
if (!a(O)) {
|
|
451
|
+
var P = ne(O);
|
|
452
|
+
return new d("Invalid " + x + " `" + A + "` of type " + ("`" + P + "` supplied to `" + w + "`, expected a single ReactElement."));
|
|
453
|
+
}
|
|
454
|
+
return null;
|
|
455
|
+
}
|
|
456
|
+
return f(h);
|
|
457
|
+
}
|
|
458
|
+
function y() {
|
|
459
|
+
function h(E, R, w, x, A) {
|
|
460
|
+
var O = E[R];
|
|
461
|
+
if (!e.isValidElementType(O)) {
|
|
462
|
+
var P = ne(O);
|
|
463
|
+
return new d("Invalid " + x + " `" + A + "` of type " + ("`" + P + "` supplied to `" + w + "`, expected a single ReactElement type."));
|
|
464
|
+
}
|
|
465
|
+
return null;
|
|
466
|
+
}
|
|
467
|
+
return f(h);
|
|
468
|
+
}
|
|
469
|
+
function L(h) {
|
|
470
|
+
function E(R, w, x, A, O) {
|
|
471
|
+
if (!(R[w] instanceof h)) {
|
|
472
|
+
var P = h.name || l, I = Re(R[w]);
|
|
473
|
+
return new d("Invalid " + A + " `" + O + "` of type " + ("`" + I + "` supplied to `" + x + "`, expected ") + ("instance of `" + P + "`."));
|
|
474
|
+
}
|
|
475
|
+
return null;
|
|
476
|
+
}
|
|
477
|
+
return f(E);
|
|
478
|
+
}
|
|
479
|
+
function C(h) {
|
|
480
|
+
if (!Array.isArray(h))
|
|
481
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
482
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
483
|
+
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
484
|
+
function E(R, w, x, A, O) {
|
|
485
|
+
for (var P = R[w], I = 0; I < h.length; I++)
|
|
486
|
+
if (g(P, h[I]))
|
|
487
|
+
return null;
|
|
488
|
+
var j = JSON.stringify(h, function(te, v) {
|
|
489
|
+
var ce = ve(v);
|
|
490
|
+
return ce === "symbol" ? String(v) : v;
|
|
491
|
+
});
|
|
492
|
+
return new d("Invalid " + A + " `" + O + "` of value `" + String(P) + "` " + ("supplied to `" + x + "`, expected one of " + j + "."));
|
|
493
|
+
}
|
|
494
|
+
return f(E);
|
|
495
|
+
}
|
|
496
|
+
function pe(h) {
|
|
497
|
+
function E(R, w, x, A, O) {
|
|
498
|
+
if (typeof h != "function")
|
|
499
|
+
return new d("Property `" + O + "` of component `" + x + "` has invalid PropType notation inside objectOf.");
|
|
500
|
+
var P = R[w], I = ne(P);
|
|
501
|
+
if (I !== "object")
|
|
502
|
+
return new d("Invalid " + A + " `" + O + "` of type " + ("`" + I + "` supplied to `" + x + "`, expected an object."));
|
|
503
|
+
for (var j in P)
|
|
504
|
+
if (n(P, j)) {
|
|
505
|
+
var M = h(P, j, x, A, O + "." + j, r);
|
|
506
|
+
if (M instanceof Error)
|
|
507
|
+
return M;
|
|
508
|
+
}
|
|
509
|
+
return null;
|
|
510
|
+
}
|
|
511
|
+
return f(E);
|
|
512
|
+
}
|
|
513
|
+
function Se(h) {
|
|
514
|
+
if (!Array.isArray(h))
|
|
515
|
+
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
516
|
+
for (var E = 0; E < h.length; E++) {
|
|
517
|
+
var R = h[E];
|
|
518
|
+
if (typeof R != "function")
|
|
519
|
+
return i(
|
|
520
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Pe(R) + " at index " + E + "."
|
|
521
|
+
), s;
|
|
522
|
+
}
|
|
523
|
+
function w(x, A, O, P, I) {
|
|
524
|
+
for (var j = [], M = 0; M < h.length; M++) {
|
|
525
|
+
var te = h[M], v = te(x, A, O, P, I, r);
|
|
526
|
+
if (v == null)
|
|
527
|
+
return null;
|
|
528
|
+
v.data && n(v.data, "expectedType") && j.push(v.data.expectedType);
|
|
529
|
+
}
|
|
530
|
+
var ce = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
|
|
531
|
+
return new d("Invalid " + P + " `" + I + "` supplied to " + ("`" + O + "`" + ce + "."));
|
|
532
|
+
}
|
|
533
|
+
return f(w);
|
|
534
|
+
}
|
|
535
|
+
function be() {
|
|
536
|
+
function h(E, R, w, x, A) {
|
|
537
|
+
return ie(E[R]) ? null : new d("Invalid " + x + " `" + A + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
|
|
538
|
+
}
|
|
539
|
+
return f(h);
|
|
540
|
+
}
|
|
541
|
+
function H(h, E, R, w, x) {
|
|
542
|
+
return new d(
|
|
543
|
+
(h || "React class") + ": " + E + " type `" + R + "." + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + x + "`."
|
|
544
|
+
);
|
|
545
|
+
}
|
|
546
|
+
function ee(h) {
|
|
547
|
+
function E(R, w, x, A, O) {
|
|
548
|
+
var P = R[w], I = ne(P);
|
|
549
|
+
if (I !== "object")
|
|
550
|
+
return new d("Invalid " + A + " `" + O + "` of type `" + I + "` " + ("supplied to `" + x + "`, expected `object`."));
|
|
551
|
+
for (var j in h) {
|
|
552
|
+
var M = h[j];
|
|
553
|
+
if (typeof M != "function")
|
|
554
|
+
return H(x, A, O, j, ve(M));
|
|
555
|
+
var te = M(P, j, x, A, O + "." + j, r);
|
|
556
|
+
if (te)
|
|
557
|
+
return te;
|
|
558
|
+
}
|
|
559
|
+
return null;
|
|
560
|
+
}
|
|
561
|
+
return f(E);
|
|
562
|
+
}
|
|
563
|
+
function ye(h) {
|
|
564
|
+
function E(R, w, x, A, O) {
|
|
565
|
+
var P = R[w], I = ne(P);
|
|
566
|
+
if (I !== "object")
|
|
567
|
+
return new d("Invalid " + A + " `" + O + "` of type `" + I + "` " + ("supplied to `" + x + "`, expected `object`."));
|
|
568
|
+
var j = t({}, R[w], h);
|
|
569
|
+
for (var M in j) {
|
|
570
|
+
var te = h[M];
|
|
571
|
+
if (n(h, M) && typeof te != "function")
|
|
572
|
+
return H(x, A, O, M, ve(te));
|
|
573
|
+
if (!te)
|
|
574
|
+
return new d(
|
|
575
|
+
"Invalid " + A + " `" + O + "` key `" + M + "` supplied to `" + x + "`.\nBad object: " + JSON.stringify(R[w], null, " ") + `
|
|
576
|
+
Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
|
|
577
|
+
);
|
|
578
|
+
var v = te(P, M, x, A, O + "." + M, r);
|
|
579
|
+
if (v)
|
|
580
|
+
return v;
|
|
581
|
+
}
|
|
582
|
+
return null;
|
|
583
|
+
}
|
|
584
|
+
return f(E);
|
|
585
|
+
}
|
|
586
|
+
function ie(h) {
|
|
587
|
+
switch (typeof h) {
|
|
588
|
+
case "number":
|
|
589
|
+
case "string":
|
|
590
|
+
case "undefined":
|
|
591
|
+
return !0;
|
|
592
|
+
case "boolean":
|
|
593
|
+
return !h;
|
|
594
|
+
case "object":
|
|
595
|
+
if (Array.isArray(h))
|
|
596
|
+
return h.every(ie);
|
|
597
|
+
if (h === null || a(h))
|
|
598
|
+
return !0;
|
|
599
|
+
var E = m(h);
|
|
600
|
+
if (E) {
|
|
601
|
+
var R = E.call(h), w;
|
|
602
|
+
if (E !== h.entries) {
|
|
603
|
+
for (; !(w = R.next()).done; )
|
|
604
|
+
if (!ie(w.value))
|
|
605
|
+
return !1;
|
|
606
|
+
} else
|
|
607
|
+
for (; !(w = R.next()).done; ) {
|
|
608
|
+
var x = w.value;
|
|
609
|
+
if (x && !ie(x[1]))
|
|
610
|
+
return !1;
|
|
611
|
+
}
|
|
612
|
+
} else
|
|
613
|
+
return !1;
|
|
614
|
+
return !0;
|
|
615
|
+
default:
|
|
616
|
+
return !1;
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
function we(h, E) {
|
|
620
|
+
return h === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
|
|
621
|
+
}
|
|
622
|
+
function ne(h) {
|
|
623
|
+
var E = typeof h;
|
|
624
|
+
return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : we(E, h) ? "symbol" : E;
|
|
625
|
+
}
|
|
626
|
+
function ve(h) {
|
|
627
|
+
if (typeof h > "u" || h === null)
|
|
628
|
+
return "" + h;
|
|
629
|
+
var E = ne(h);
|
|
630
|
+
if (E === "object") {
|
|
631
|
+
if (h instanceof Date)
|
|
632
|
+
return "date";
|
|
633
|
+
if (h instanceof RegExp)
|
|
634
|
+
return "regexp";
|
|
635
|
+
}
|
|
636
|
+
return E;
|
|
637
|
+
}
|
|
638
|
+
function Pe(h) {
|
|
639
|
+
var E = ve(h);
|
|
640
|
+
switch (E) {
|
|
641
|
+
case "array":
|
|
642
|
+
case "object":
|
|
643
|
+
return "an " + E;
|
|
644
|
+
case "boolean":
|
|
645
|
+
case "date":
|
|
646
|
+
case "regexp":
|
|
647
|
+
return "a " + E;
|
|
648
|
+
default:
|
|
649
|
+
return E;
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
function Re(h) {
|
|
653
|
+
return !h.constructor || !h.constructor.name ? l : h.constructor.name;
|
|
654
|
+
}
|
|
655
|
+
return b.checkPropTypes = o, b.resetWarningCache = o.resetWarningCache, b.PropTypes = b, b;
|
|
656
|
+
}, Mt;
|
|
657
|
+
}
|
|
658
|
+
var kt, pr;
|
|
659
|
+
function jn() {
|
|
660
|
+
if (pr) return kt;
|
|
661
|
+
pr = 1;
|
|
662
|
+
var e = Gt();
|
|
663
|
+
function t() {
|
|
664
|
+
}
|
|
665
|
+
function r() {
|
|
666
|
+
}
|
|
667
|
+
return r.resetWarningCache = t, kt = function() {
|
|
668
|
+
function n(s, a, c, u, p, m) {
|
|
669
|
+
if (m !== e) {
|
|
670
|
+
var l = new Error(
|
|
671
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
672
|
+
);
|
|
673
|
+
throw l.name = "Invariant Violation", l;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
n.isRequired = n;
|
|
677
|
+
function o() {
|
|
678
|
+
return n;
|
|
679
|
+
}
|
|
680
|
+
var i = {
|
|
681
|
+
array: n,
|
|
682
|
+
bigint: n,
|
|
683
|
+
bool: n,
|
|
684
|
+
func: n,
|
|
685
|
+
number: n,
|
|
686
|
+
object: n,
|
|
687
|
+
string: n,
|
|
688
|
+
symbol: n,
|
|
689
|
+
any: n,
|
|
690
|
+
arrayOf: o,
|
|
691
|
+
element: n,
|
|
692
|
+
elementType: n,
|
|
693
|
+
instanceOf: o,
|
|
694
|
+
node: n,
|
|
695
|
+
objectOf: o,
|
|
696
|
+
oneOf: o,
|
|
697
|
+
oneOfType: o,
|
|
698
|
+
shape: o,
|
|
699
|
+
exact: o,
|
|
700
|
+
checkPropTypes: r,
|
|
701
|
+
resetWarningCache: t
|
|
702
|
+
};
|
|
703
|
+
return i.PropTypes = i, i;
|
|
704
|
+
}, kt;
|
|
705
|
+
}
|
|
706
|
+
if (process.env.NODE_ENV !== "production") {
|
|
707
|
+
var Nn = Lr(), Dn = !0;
|
|
708
|
+
zt.exports = kn()(Nn.isElement, Dn);
|
|
709
|
+
} else
|
|
710
|
+
zt.exports = jn()();
|
|
711
|
+
var Fn = zt.exports;
|
|
712
|
+
const T = /* @__PURE__ */ wn(Fn);
|
|
713
|
+
var Ln = !1;
|
|
714
|
+
function zn(e) {
|
|
715
|
+
if (e.sheet)
|
|
716
|
+
return e.sheet;
|
|
717
|
+
for (var t = 0; t < document.styleSheets.length; t++)
|
|
718
|
+
if (document.styleSheets[t].ownerNode === e)
|
|
719
|
+
return document.styleSheets[t];
|
|
720
|
+
}
|
|
721
|
+
function Vn(e) {
|
|
722
|
+
var t = document.createElement("style");
|
|
723
|
+
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
724
|
+
}
|
|
725
|
+
var Wn = /* @__PURE__ */ function() {
|
|
726
|
+
function e(r) {
|
|
727
|
+
var n = this;
|
|
728
|
+
this._insertTag = function(o) {
|
|
729
|
+
var i;
|
|
730
|
+
n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
|
|
731
|
+
}, this.isSpeedy = r.speedy === void 0 ? !Ln : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
|
|
732
|
+
}
|
|
733
|
+
var t = e.prototype;
|
|
734
|
+
return t.hydrate = function(n) {
|
|
735
|
+
n.forEach(this._insertTag);
|
|
736
|
+
}, t.insert = function(n) {
|
|
737
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Vn(this));
|
|
738
|
+
var o = this.tags[this.tags.length - 1];
|
|
739
|
+
if (this.isSpeedy) {
|
|
740
|
+
var i = zn(o);
|
|
741
|
+
try {
|
|
742
|
+
i.insertRule(n, i.cssRules.length);
|
|
743
|
+
} catch {
|
|
744
|
+
}
|
|
745
|
+
} else
|
|
746
|
+
o.appendChild(document.createTextNode(n));
|
|
747
|
+
this.ctr++;
|
|
748
|
+
}, t.flush = function() {
|
|
749
|
+
this.tags.forEach(function(n) {
|
|
750
|
+
var o;
|
|
751
|
+
return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
|
|
752
|
+
}), this.tags = [], this.ctr = 0;
|
|
753
|
+
}, e;
|
|
754
|
+
}(), re = "-ms-", ft = "-moz-", N = "-webkit-", Vr = "comm", Ht = "rule", Xt = "decl", qn = "@import", Wr = "@keyframes", Un = "@layer", Bn = Math.abs, yt = String.fromCharCode, Yn = Object.assign;
|
|
755
|
+
function Kn(e, t) {
|
|
756
|
+
return Q(e, 0) ^ 45 ? (((t << 2 ^ Q(e, 0)) << 2 ^ Q(e, 1)) << 2 ^ Q(e, 2)) << 2 ^ Q(e, 3) : 0;
|
|
757
|
+
}
|
|
758
|
+
function qr(e) {
|
|
759
|
+
return e.trim();
|
|
760
|
+
}
|
|
761
|
+
function Gn(e, t) {
|
|
762
|
+
return (e = t.exec(e)) ? e[0] : e;
|
|
763
|
+
}
|
|
764
|
+
function D(e, t, r) {
|
|
765
|
+
return e.replace(t, r);
|
|
766
|
+
}
|
|
767
|
+
function Vt(e, t) {
|
|
768
|
+
return e.indexOf(t);
|
|
769
|
+
}
|
|
770
|
+
function Q(e, t) {
|
|
771
|
+
return e.charCodeAt(t) | 0;
|
|
772
|
+
}
|
|
773
|
+
function Ke(e, t, r) {
|
|
774
|
+
return e.slice(t, r);
|
|
775
|
+
}
|
|
776
|
+
function me(e) {
|
|
777
|
+
return e.length;
|
|
778
|
+
}
|
|
779
|
+
function Jt(e) {
|
|
780
|
+
return e.length;
|
|
781
|
+
}
|
|
782
|
+
function nt(e, t) {
|
|
783
|
+
return t.push(e), e;
|
|
784
|
+
}
|
|
785
|
+
function Hn(e, t) {
|
|
786
|
+
return e.map(t).join("");
|
|
787
|
+
}
|
|
788
|
+
var mt = 1, Fe = 1, Ur = 0, oe = 0, Z = 0, Le = "";
|
|
789
|
+
function ht(e, t, r, n, o, i, s) {
|
|
790
|
+
return { value: e, root: t, parent: r, type: n, props: o, children: i, line: mt, column: Fe, length: s, return: "" };
|
|
791
|
+
}
|
|
792
|
+
function We(e, t) {
|
|
793
|
+
return Yn(ht("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
794
|
+
}
|
|
795
|
+
function Xn() {
|
|
796
|
+
return Z;
|
|
797
|
+
}
|
|
798
|
+
function Jn() {
|
|
799
|
+
return Z = oe > 0 ? Q(Le, --oe) : 0, Fe--, Z === 10 && (Fe = 1, mt--), Z;
|
|
800
|
+
}
|
|
801
|
+
function ae() {
|
|
802
|
+
return Z = oe < Ur ? Q(Le, oe++) : 0, Fe++, Z === 10 && (Fe = 1, mt++), Z;
|
|
803
|
+
}
|
|
804
|
+
function he() {
|
|
805
|
+
return Q(Le, oe);
|
|
806
|
+
}
|
|
807
|
+
function it() {
|
|
808
|
+
return oe;
|
|
809
|
+
}
|
|
810
|
+
function Xe(e, t) {
|
|
811
|
+
return Ke(Le, e, t);
|
|
812
|
+
}
|
|
813
|
+
function Ge(e) {
|
|
814
|
+
switch (e) {
|
|
815
|
+
case 0:
|
|
816
|
+
case 9:
|
|
817
|
+
case 10:
|
|
818
|
+
case 13:
|
|
819
|
+
case 32:
|
|
820
|
+
return 5;
|
|
821
|
+
case 33:
|
|
822
|
+
case 43:
|
|
823
|
+
case 44:
|
|
824
|
+
case 47:
|
|
825
|
+
case 62:
|
|
826
|
+
case 64:
|
|
827
|
+
case 126:
|
|
828
|
+
case 59:
|
|
829
|
+
case 123:
|
|
830
|
+
case 125:
|
|
831
|
+
return 4;
|
|
832
|
+
case 58:
|
|
833
|
+
return 3;
|
|
834
|
+
case 34:
|
|
835
|
+
case 39:
|
|
836
|
+
case 40:
|
|
837
|
+
case 91:
|
|
838
|
+
return 2;
|
|
839
|
+
case 41:
|
|
840
|
+
case 93:
|
|
841
|
+
return 1;
|
|
842
|
+
}
|
|
843
|
+
return 0;
|
|
844
|
+
}
|
|
845
|
+
function Br(e) {
|
|
846
|
+
return mt = Fe = 1, Ur = me(Le = e), oe = 0, [];
|
|
847
|
+
}
|
|
848
|
+
function Yr(e) {
|
|
849
|
+
return Le = "", e;
|
|
850
|
+
}
|
|
851
|
+
function st(e) {
|
|
852
|
+
return qr(Xe(oe - 1, Wt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
853
|
+
}
|
|
854
|
+
function Zn(e) {
|
|
855
|
+
for (; (Z = he()) && Z < 33; )
|
|
856
|
+
ae();
|
|
857
|
+
return Ge(e) > 2 || Ge(Z) > 3 ? "" : " ";
|
|
858
|
+
}
|
|
859
|
+
function Qn(e, t) {
|
|
860
|
+
for (; --t && ae() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
|
|
861
|
+
;
|
|
862
|
+
return Xe(e, it() + (t < 6 && he() == 32 && ae() == 32));
|
|
863
|
+
}
|
|
864
|
+
function Wt(e) {
|
|
865
|
+
for (; ae(); )
|
|
866
|
+
switch (Z) {
|
|
867
|
+
case e:
|
|
868
|
+
return oe;
|
|
869
|
+
case 34:
|
|
870
|
+
case 39:
|
|
871
|
+
e !== 34 && e !== 39 && Wt(Z);
|
|
872
|
+
break;
|
|
873
|
+
case 40:
|
|
874
|
+
e === 41 && Wt(e);
|
|
875
|
+
break;
|
|
876
|
+
case 92:
|
|
877
|
+
ae();
|
|
878
|
+
break;
|
|
879
|
+
}
|
|
880
|
+
return oe;
|
|
881
|
+
}
|
|
882
|
+
function eo(e, t) {
|
|
883
|
+
for (; ae() && e + Z !== 57; )
|
|
884
|
+
if (e + Z === 84 && he() === 47)
|
|
885
|
+
break;
|
|
886
|
+
return "/*" + Xe(t, oe - 1) + "*" + yt(e === 47 ? e : ae());
|
|
887
|
+
}
|
|
888
|
+
function to(e) {
|
|
889
|
+
for (; !Ge(he()); )
|
|
890
|
+
ae();
|
|
891
|
+
return Xe(e, oe);
|
|
892
|
+
}
|
|
893
|
+
function ro(e) {
|
|
894
|
+
return Yr(at("", null, null, null, [""], e = Br(e), 0, [0], e));
|
|
895
|
+
}
|
|
896
|
+
function at(e, t, r, n, o, i, s, a, c) {
|
|
897
|
+
for (var u = 0, p = 0, m = s, l = 0, b = 0, g = 0, d = 1, f = 1, _ = 1, k = 0, $ = "", F = o, y = i, L = n, C = $; f; )
|
|
898
|
+
switch (g = k, k = ae()) {
|
|
899
|
+
case 40:
|
|
900
|
+
if (g != 108 && Q(C, m - 1) == 58) {
|
|
901
|
+
Vt(C += D(st(k), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
902
|
+
break;
|
|
903
|
+
}
|
|
904
|
+
case 34:
|
|
905
|
+
case 39:
|
|
906
|
+
case 91:
|
|
907
|
+
C += st(k);
|
|
908
|
+
break;
|
|
909
|
+
case 9:
|
|
910
|
+
case 10:
|
|
911
|
+
case 13:
|
|
912
|
+
case 32:
|
|
913
|
+
C += Zn(g);
|
|
914
|
+
break;
|
|
915
|
+
case 92:
|
|
916
|
+
C += Qn(it() - 1, 7);
|
|
917
|
+
continue;
|
|
918
|
+
case 47:
|
|
919
|
+
switch (he()) {
|
|
920
|
+
case 42:
|
|
921
|
+
case 47:
|
|
922
|
+
nt(no(eo(ae(), it()), t, r), c);
|
|
923
|
+
break;
|
|
924
|
+
default:
|
|
925
|
+
C += "/";
|
|
926
|
+
}
|
|
927
|
+
break;
|
|
928
|
+
case 123 * d:
|
|
929
|
+
a[u++] = me(C) * _;
|
|
930
|
+
case 125 * d:
|
|
931
|
+
case 59:
|
|
932
|
+
case 0:
|
|
933
|
+
switch (k) {
|
|
934
|
+
case 0:
|
|
935
|
+
case 125:
|
|
936
|
+
f = 0;
|
|
937
|
+
case 59 + p:
|
|
938
|
+
_ == -1 && (C = D(C, /\f/g, "")), b > 0 && me(C) - m && nt(b > 32 ? mr(C + ";", n, r, m - 1) : mr(D(C, " ", "") + ";", n, r, m - 2), c);
|
|
939
|
+
break;
|
|
940
|
+
case 59:
|
|
941
|
+
C += ";";
|
|
942
|
+
default:
|
|
943
|
+
if (nt(L = yr(C, t, r, u, p, o, a, $, F = [], y = [], m), i), k === 123)
|
|
944
|
+
if (p === 0)
|
|
945
|
+
at(C, t, L, L, F, i, m, a, y);
|
|
946
|
+
else
|
|
947
|
+
switch (l === 99 && Q(C, 3) === 110 ? 100 : l) {
|
|
948
|
+
case 100:
|
|
949
|
+
case 108:
|
|
950
|
+
case 109:
|
|
951
|
+
case 115:
|
|
952
|
+
at(e, L, L, n && nt(yr(e, L, L, 0, 0, o, a, $, o, F = [], m), y), o, y, m, a, n ? F : y);
|
|
953
|
+
break;
|
|
954
|
+
default:
|
|
955
|
+
at(C, L, L, L, [""], y, 0, a, y);
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
u = p = b = 0, d = _ = 1, $ = C = "", m = s;
|
|
959
|
+
break;
|
|
960
|
+
case 58:
|
|
961
|
+
m = 1 + me(C), b = g;
|
|
962
|
+
default:
|
|
963
|
+
if (d < 1) {
|
|
964
|
+
if (k == 123)
|
|
965
|
+
--d;
|
|
966
|
+
else if (k == 125 && d++ == 0 && Jn() == 125)
|
|
967
|
+
continue;
|
|
968
|
+
}
|
|
969
|
+
switch (C += yt(k), k * d) {
|
|
970
|
+
case 38:
|
|
971
|
+
_ = p > 0 ? 1 : (C += "\f", -1);
|
|
972
|
+
break;
|
|
973
|
+
case 44:
|
|
974
|
+
a[u++] = (me(C) - 1) * _, _ = 1;
|
|
975
|
+
break;
|
|
976
|
+
case 64:
|
|
977
|
+
he() === 45 && (C += st(ae())), l = he(), p = m = me($ = C += to(it())), k++;
|
|
978
|
+
break;
|
|
979
|
+
case 45:
|
|
980
|
+
g === 45 && me(C) == 2 && (d = 0);
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
return i;
|
|
984
|
+
}
|
|
985
|
+
function yr(e, t, r, n, o, i, s, a, c, u, p) {
|
|
986
|
+
for (var m = o - 1, l = o === 0 ? i : [""], b = Jt(l), g = 0, d = 0, f = 0; g < n; ++g)
|
|
987
|
+
for (var _ = 0, k = Ke(e, m + 1, m = Bn(d = s[g])), $ = e; _ < b; ++_)
|
|
988
|
+
($ = qr(d > 0 ? l[_] + " " + k : D(k, /&\f/g, l[_]))) && (c[f++] = $);
|
|
989
|
+
return ht(e, t, r, o === 0 ? Ht : a, c, u, p);
|
|
990
|
+
}
|
|
991
|
+
function no(e, t, r) {
|
|
992
|
+
return ht(e, t, r, Vr, yt(Xn()), Ke(e, 2, -2), 0);
|
|
993
|
+
}
|
|
994
|
+
function mr(e, t, r, n) {
|
|
995
|
+
return ht(e, t, r, Xt, Ke(e, 0, n), Ke(e, n + 1, -1), n);
|
|
996
|
+
}
|
|
997
|
+
function Ne(e, t) {
|
|
998
|
+
for (var r = "", n = Jt(e), o = 0; o < n; o++)
|
|
999
|
+
r += t(e[o], o, e, t) || "";
|
|
1000
|
+
return r;
|
|
1001
|
+
}
|
|
1002
|
+
function oo(e, t, r, n) {
|
|
1003
|
+
switch (e.type) {
|
|
1004
|
+
case Un:
|
|
1005
|
+
if (e.children.length) break;
|
|
1006
|
+
case qn:
|
|
1007
|
+
case Xt:
|
|
1008
|
+
return e.return = e.return || e.value;
|
|
1009
|
+
case Vr:
|
|
1010
|
+
return "";
|
|
1011
|
+
case Wr:
|
|
1012
|
+
return e.return = e.value + "{" + Ne(e.children, n) + "}";
|
|
1013
|
+
case Ht:
|
|
1014
|
+
e.value = e.props.join(",");
|
|
1015
|
+
}
|
|
1016
|
+
return me(r = Ne(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
1017
|
+
}
|
|
1018
|
+
function io(e) {
|
|
1019
|
+
var t = Jt(e);
|
|
1020
|
+
return function(r, n, o, i) {
|
|
1021
|
+
for (var s = "", a = 0; a < t; a++)
|
|
1022
|
+
s += e[a](r, n, o, i) || "";
|
|
1023
|
+
return s;
|
|
1024
|
+
};
|
|
1025
|
+
}
|
|
1026
|
+
function so(e) {
|
|
1027
|
+
return function(t) {
|
|
1028
|
+
t.root || (t = t.return) && e(t);
|
|
1029
|
+
};
|
|
1030
|
+
}
|
|
1031
|
+
var ao = function(t, r, n) {
|
|
1032
|
+
for (var o = 0, i = 0; o = i, i = he(), o === 38 && i === 12 && (r[n] = 1), !Ge(i); )
|
|
1033
|
+
ae();
|
|
1034
|
+
return Xe(t, oe);
|
|
1035
|
+
}, co = function(t, r) {
|
|
1036
|
+
var n = -1, o = 44;
|
|
1037
|
+
do
|
|
1038
|
+
switch (Ge(o)) {
|
|
1039
|
+
case 0:
|
|
1040
|
+
o === 38 && he() === 12 && (r[n] = 1), t[n] += ao(oe - 1, r, n);
|
|
1041
|
+
break;
|
|
1042
|
+
case 2:
|
|
1043
|
+
t[n] += st(o);
|
|
1044
|
+
break;
|
|
1045
|
+
case 4:
|
|
1046
|
+
if (o === 44) {
|
|
1047
|
+
t[++n] = he() === 58 ? "&\f" : "", r[n] = t[n].length;
|
|
1048
|
+
break;
|
|
1049
|
+
}
|
|
1050
|
+
default:
|
|
1051
|
+
t[n] += yt(o);
|
|
1052
|
+
}
|
|
1053
|
+
while (o = ae());
|
|
1054
|
+
return t;
|
|
1055
|
+
}, uo = function(t, r) {
|
|
1056
|
+
return Yr(co(Br(t), r));
|
|
1057
|
+
}, hr = /* @__PURE__ */ new WeakMap(), fo = function(t) {
|
|
1058
|
+
if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
|
|
1059
|
+
// negative .length indicates that this rule has been already prefixed
|
|
1060
|
+
t.length < 1)) {
|
|
1061
|
+
for (var r = t.value, n = t.parent, o = t.column === n.column && t.line === n.line; n.type !== "rule"; )
|
|
1062
|
+
if (n = n.parent, !n) return;
|
|
1063
|
+
if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !hr.get(n)) && !o) {
|
|
1064
|
+
hr.set(t, !0);
|
|
1065
|
+
for (var i = [], s = uo(r, i), a = n.props, c = 0, u = 0; c < s.length; c++)
|
|
1066
|
+
for (var p = 0; p < a.length; p++, u++)
|
|
1067
|
+
t.props[u] = i[c] ? s[c].replace(/&\f/g, a[p]) : a[p] + " " + s[c];
|
|
1068
|
+
}
|
|
1069
|
+
}
|
|
1070
|
+
}, lo = function(t) {
|
|
1071
|
+
if (t.type === "decl") {
|
|
1072
|
+
var r = t.value;
|
|
1073
|
+
// charcode for l
|
|
1074
|
+
r.charCodeAt(0) === 108 && // charcode for b
|
|
1075
|
+
r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
|
|
1076
|
+
}
|
|
1077
|
+
};
|
|
1078
|
+
function Kr(e, t) {
|
|
1079
|
+
switch (Kn(e, t)) {
|
|
1080
|
+
case 5103:
|
|
1081
|
+
return N + "print-" + e + e;
|
|
1082
|
+
case 5737:
|
|
1083
|
+
case 4201:
|
|
1084
|
+
case 3177:
|
|
1085
|
+
case 3433:
|
|
1086
|
+
case 1641:
|
|
1087
|
+
case 4457:
|
|
1088
|
+
case 2921:
|
|
1089
|
+
case 5572:
|
|
1090
|
+
case 6356:
|
|
1091
|
+
case 5844:
|
|
1092
|
+
case 3191:
|
|
1093
|
+
case 6645:
|
|
1094
|
+
case 3005:
|
|
1095
|
+
case 6391:
|
|
1096
|
+
case 5879:
|
|
1097
|
+
case 5623:
|
|
1098
|
+
case 6135:
|
|
1099
|
+
case 4599:
|
|
1100
|
+
case 4855:
|
|
1101
|
+
case 4215:
|
|
1102
|
+
case 6389:
|
|
1103
|
+
case 5109:
|
|
1104
|
+
case 5365:
|
|
1105
|
+
case 5621:
|
|
1106
|
+
case 3829:
|
|
1107
|
+
return N + e + e;
|
|
1108
|
+
case 5349:
|
|
1109
|
+
case 4246:
|
|
1110
|
+
case 4810:
|
|
1111
|
+
case 6968:
|
|
1112
|
+
case 2756:
|
|
1113
|
+
return N + e + ft + e + re + e + e;
|
|
1114
|
+
case 6828:
|
|
1115
|
+
case 4268:
|
|
1116
|
+
return N + e + re + e + e;
|
|
1117
|
+
case 6165:
|
|
1118
|
+
return N + e + re + "flex-" + e + e;
|
|
1119
|
+
case 5187:
|
|
1120
|
+
return N + e + D(e, /(\w+).+(:[^]+)/, N + "box-$1$2" + re + "flex-$1$2") + e;
|
|
1121
|
+
case 5443:
|
|
1122
|
+
return N + e + re + "flex-item-" + D(e, /flex-|-self/, "") + e;
|
|
1123
|
+
case 4675:
|
|
1124
|
+
return N + e + re + "flex-line-pack" + D(e, /align-content|flex-|-self/, "") + e;
|
|
1125
|
+
case 5548:
|
|
1126
|
+
return N + e + re + D(e, "shrink", "negative") + e;
|
|
1127
|
+
case 5292:
|
|
1128
|
+
return N + e + re + D(e, "basis", "preferred-size") + e;
|
|
1129
|
+
case 6060:
|
|
1130
|
+
return N + "box-" + D(e, "-grow", "") + N + e + re + D(e, "grow", "positive") + e;
|
|
1131
|
+
case 4554:
|
|
1132
|
+
return N + D(e, /([^-])(transform)/g, "$1" + N + "$2") + e;
|
|
1133
|
+
case 6187:
|
|
1134
|
+
return D(D(D(e, /(zoom-|grab)/, N + "$1"), /(image-set)/, N + "$1"), e, "") + e;
|
|
1135
|
+
case 5495:
|
|
1136
|
+
case 3959:
|
|
1137
|
+
return D(e, /(image-set\([^]*)/, N + "$1$`$1");
|
|
1138
|
+
case 4968:
|
|
1139
|
+
return D(D(e, /(.+:)(flex-)?(.*)/, N + "box-pack:$3" + re + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + N + e + e;
|
|
1140
|
+
case 4095:
|
|
1141
|
+
case 3583:
|
|
1142
|
+
case 4068:
|
|
1143
|
+
case 2532:
|
|
1144
|
+
return D(e, /(.+)-inline(.+)/, N + "$1$2") + e;
|
|
1145
|
+
case 8116:
|
|
1146
|
+
case 7059:
|
|
1147
|
+
case 5753:
|
|
1148
|
+
case 5535:
|
|
1149
|
+
case 5445:
|
|
1150
|
+
case 5701:
|
|
1151
|
+
case 4933:
|
|
1152
|
+
case 4677:
|
|
1153
|
+
case 5533:
|
|
1154
|
+
case 5789:
|
|
1155
|
+
case 5021:
|
|
1156
|
+
case 4765:
|
|
1157
|
+
if (me(e) - 1 - t > 6) switch (Q(e, t + 1)) {
|
|
1158
|
+
case 109:
|
|
1159
|
+
if (Q(e, t + 4) !== 45) break;
|
|
1160
|
+
case 102:
|
|
1161
|
+
return D(e, /(.+:)(.+)-([^]+)/, "$1" + N + "$2-$3$1" + ft + (Q(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1162
|
+
case 115:
|
|
1163
|
+
return ~Vt(e, "stretch") ? Kr(D(e, "stretch", "fill-available"), t) + e : e;
|
|
1164
|
+
}
|
|
1165
|
+
break;
|
|
1166
|
+
case 4949:
|
|
1167
|
+
if (Q(e, t + 1) !== 115) break;
|
|
1168
|
+
case 6444:
|
|
1169
|
+
switch (Q(e, me(e) - 3 - (~Vt(e, "!important") && 10))) {
|
|
1170
|
+
case 107:
|
|
1171
|
+
return D(e, ":", ":" + N) + e;
|
|
1172
|
+
case 101:
|
|
1173
|
+
return D(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + N + (Q(e, 14) === 45 ? "inline-" : "") + "box$3$1" + N + "$2$3$1" + re + "$2box$3") + e;
|
|
1174
|
+
}
|
|
1175
|
+
break;
|
|
1176
|
+
case 5936:
|
|
1177
|
+
switch (Q(e, t + 11)) {
|
|
1178
|
+
case 114:
|
|
1179
|
+
return N + e + re + D(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1180
|
+
case 108:
|
|
1181
|
+
return N + e + re + D(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1182
|
+
case 45:
|
|
1183
|
+
return N + e + re + D(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1184
|
+
}
|
|
1185
|
+
return N + e + re + e + e;
|
|
1186
|
+
}
|
|
1187
|
+
return e;
|
|
1188
|
+
}
|
|
1189
|
+
var po = function(t, r, n, o) {
|
|
1190
|
+
if (t.length > -1 && !t.return) switch (t.type) {
|
|
1191
|
+
case Xt:
|
|
1192
|
+
t.return = Kr(t.value, t.length);
|
|
1193
|
+
break;
|
|
1194
|
+
case Wr:
|
|
1195
|
+
return Ne([We(t, {
|
|
1196
|
+
value: D(t.value, "@", "@" + N)
|
|
1197
|
+
})], o);
|
|
1198
|
+
case Ht:
|
|
1199
|
+
if (t.length) return Hn(t.props, function(i) {
|
|
1200
|
+
switch (Gn(i, /(::plac\w+|:read-\w+)/)) {
|
|
1201
|
+
case ":read-only":
|
|
1202
|
+
case ":read-write":
|
|
1203
|
+
return Ne([We(t, {
|
|
1204
|
+
props: [D(i, /:(read-\w+)/, ":" + ft + "$1")]
|
|
1205
|
+
})], o);
|
|
1206
|
+
case "::placeholder":
|
|
1207
|
+
return Ne([We(t, {
|
|
1208
|
+
props: [D(i, /:(plac\w+)/, ":" + N + "input-$1")]
|
|
1209
|
+
}), We(t, {
|
|
1210
|
+
props: [D(i, /:(plac\w+)/, ":" + ft + "$1")]
|
|
1211
|
+
}), We(t, {
|
|
1212
|
+
props: [D(i, /:(plac\w+)/, re + "input-$1")]
|
|
1213
|
+
})], o);
|
|
1214
|
+
}
|
|
1215
|
+
return "";
|
|
1216
|
+
});
|
|
1217
|
+
}
|
|
1218
|
+
}, yo = [po], mo = function(t) {
|
|
1219
|
+
var r = t.key;
|
|
1220
|
+
if (r === "css") {
|
|
1221
|
+
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1222
|
+
Array.prototype.forEach.call(n, function(d) {
|
|
1223
|
+
var f = d.getAttribute("data-emotion");
|
|
1224
|
+
f.indexOf(" ") !== -1 && (document.head.appendChild(d), d.setAttribute("data-s", ""));
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
var o = t.stylisPlugins || yo, i = {}, s, a = [];
|
|
1228
|
+
s = t.container || document.head, Array.prototype.forEach.call(
|
|
1229
|
+
// this means we will ignore elements which don't have a space in them which
|
|
1230
|
+
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1231
|
+
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
1232
|
+
function(d) {
|
|
1233
|
+
for (var f = d.getAttribute("data-emotion").split(" "), _ = 1; _ < f.length; _++)
|
|
1234
|
+
i[f[_]] = !0;
|
|
1235
|
+
a.push(d);
|
|
1236
|
+
}
|
|
1237
|
+
);
|
|
1238
|
+
var c, u = [fo, lo];
|
|
1239
|
+
{
|
|
1240
|
+
var p, m = [oo, so(function(d) {
|
|
1241
|
+
p.insert(d);
|
|
1242
|
+
})], l = io(u.concat(o, m)), b = function(f) {
|
|
1243
|
+
return Ne(ro(f), l);
|
|
1244
|
+
};
|
|
1245
|
+
c = function(f, _, k, $) {
|
|
1246
|
+
p = k, b(f ? f + "{" + _.styles + "}" : _.styles), $ && (g.inserted[_.name] = !0);
|
|
1247
|
+
};
|
|
1248
|
+
}
|
|
1249
|
+
var g = {
|
|
1250
|
+
key: r,
|
|
1251
|
+
sheet: new Wn({
|
|
1252
|
+
key: r,
|
|
1253
|
+
container: s,
|
|
1254
|
+
nonce: t.nonce,
|
|
1255
|
+
speedy: t.speedy,
|
|
1256
|
+
prepend: t.prepend,
|
|
1257
|
+
insertionPoint: t.insertionPoint
|
|
1258
|
+
}),
|
|
1259
|
+
nonce: t.nonce,
|
|
1260
|
+
inserted: i,
|
|
1261
|
+
registered: {},
|
|
1262
|
+
insert: c
|
|
1263
|
+
};
|
|
1264
|
+
return g.sheet.hydrate(a), g;
|
|
1265
|
+
};
|
|
1266
|
+
let qt;
|
|
1267
|
+
typeof document == "object" && (qt = mo({
|
|
1268
|
+
key: "css",
|
|
1269
|
+
prepend: !0
|
|
1270
|
+
}));
|
|
1271
|
+
function Gr(e) {
|
|
1272
|
+
const {
|
|
1273
|
+
injectFirst: t,
|
|
1274
|
+
children: r
|
|
1275
|
+
} = e;
|
|
1276
|
+
return t && qt ? /* @__PURE__ */ Be.jsx(Sn, {
|
|
1277
|
+
value: qt,
|
|
1278
|
+
children: r
|
|
1279
|
+
}) : r;
|
|
1280
|
+
}
|
|
1281
|
+
process.env.NODE_ENV !== "production" && (Gr.propTypes = {
|
|
1282
|
+
/**
|
|
1283
|
+
* Your component tree.
|
|
1284
|
+
*/
|
|
1285
|
+
children: T.node,
|
|
1286
|
+
/**
|
|
1287
|
+
* By default, the styles are injected last in the <head> element of the page.
|
|
1288
|
+
* As a result, they gain more specificity than any other style sheet.
|
|
1289
|
+
* If you want to override MUI's styles, set this prop.
|
|
1290
|
+
*/
|
|
1291
|
+
injectFirst: T.bool
|
|
1292
|
+
});
|
|
1293
|
+
function ho(e) {
|
|
1294
|
+
return e == null || Object.keys(e).length === 0;
|
|
1295
|
+
}
|
|
1296
|
+
function Hr(e) {
|
|
1297
|
+
const {
|
|
1298
|
+
styles: t,
|
|
1299
|
+
defaultTheme: r = {}
|
|
1300
|
+
} = e, n = typeof t == "function" ? (o) => t(ho(o) ? r : o) : t;
|
|
1301
|
+
return /* @__PURE__ */ Be.jsx(xn, {
|
|
1302
|
+
styles: n
|
|
1303
|
+
});
|
|
1304
|
+
}
|
|
1305
|
+
process.env.NODE_ENV !== "production" && (Hr.propTypes = {
|
|
1306
|
+
defaultTheme: T.object,
|
|
1307
|
+
styles: T.oneOfType([T.array, T.string, T.object, T.func])
|
|
1308
|
+
});
|
|
1309
|
+
/**
|
|
1310
|
+
* @mui/styled-engine v5.16.6
|
|
1311
|
+
*
|
|
1312
|
+
* @license MIT
|
|
1313
|
+
* This source code is licensed under the MIT license found in the
|
|
1314
|
+
* LICENSE file in the root directory of this source tree.
|
|
1315
|
+
*/
|
|
1316
|
+
function go(e, t) {
|
|
1317
|
+
const r = _n(e, t);
|
|
1318
|
+
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1319
|
+
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1320
|
+
return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
1321
|
+
`)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
1322
|
+
} : r;
|
|
1323
|
+
}
|
|
1324
|
+
const bo = (e, t) => {
|
|
1325
|
+
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
1326
|
+
}, vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1327
|
+
__proto__: null,
|
|
1328
|
+
GlobalStyles: Hr,
|
|
1329
|
+
StyledEngineProvider: Gr,
|
|
1330
|
+
ThemeContext: Tn,
|
|
1331
|
+
css: On,
|
|
1332
|
+
default: go,
|
|
1333
|
+
internal_processStyles: bo,
|
|
1334
|
+
keyframes: $n
|
|
1335
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1336
|
+
function xe(e) {
|
|
1337
|
+
if (typeof e != "object" || e === null)
|
|
1338
|
+
return !1;
|
|
1339
|
+
const t = Object.getPrototypeOf(e);
|
|
1340
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
1341
|
+
}
|
|
1342
|
+
function Xr(e) {
|
|
1343
|
+
if (!xe(e))
|
|
1344
|
+
return e;
|
|
1345
|
+
const t = {};
|
|
1346
|
+
return Object.keys(e).forEach((r) => {
|
|
1347
|
+
t[r] = Xr(e[r]);
|
|
1348
|
+
}), t;
|
|
1349
|
+
}
|
|
1350
|
+
function ge(e, t, r = {
|
|
1351
|
+
clone: !0
|
|
1352
|
+
}) {
|
|
1353
|
+
const n = r.clone ? U({}, e) : e;
|
|
1354
|
+
return xe(e) && xe(t) && Object.keys(t).forEach((o) => {
|
|
1355
|
+
xe(t[o]) && // Avoid prototype pollution
|
|
1356
|
+
Object.prototype.hasOwnProperty.call(e, o) && xe(e[o]) ? n[o] = ge(e[o], t[o], r) : r.clone ? n[o] = xe(t[o]) ? Xr(t[o]) : t[o] : n[o] = t[o];
|
|
1357
|
+
}), n;
|
|
1358
|
+
}
|
|
1359
|
+
const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1360
|
+
__proto__: null,
|
|
1361
|
+
default: ge,
|
|
1362
|
+
isPlainObject: xe
|
|
1363
|
+
}, Symbol.toStringTag, { value: "Module" })), _o = ["values", "unit", "step"], So = (e) => {
|
|
1364
|
+
const t = Object.keys(e).map((r) => ({
|
|
1365
|
+
key: r,
|
|
1366
|
+
val: e[r]
|
|
1367
|
+
})) || [];
|
|
1368
|
+
return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => U({}, r, {
|
|
1369
|
+
[n.key]: n.val
|
|
1370
|
+
}), {});
|
|
1371
|
+
};
|
|
1372
|
+
function Jr(e) {
|
|
1373
|
+
const {
|
|
1374
|
+
// The breakpoint **start** at this value.
|
|
1375
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
|
1376
|
+
values: t = {
|
|
1377
|
+
xs: 0,
|
|
1378
|
+
// phone
|
|
1379
|
+
sm: 600,
|
|
1380
|
+
// tablet
|
|
1381
|
+
md: 900,
|
|
1382
|
+
// small laptop
|
|
1383
|
+
lg: 1200,
|
|
1384
|
+
// desktop
|
|
1385
|
+
xl: 1536
|
|
1386
|
+
// large screen
|
|
1387
|
+
},
|
|
1388
|
+
unit: r = "px",
|
|
1389
|
+
step: n = 5
|
|
1390
|
+
} = e, o = Oe(e, _o), i = So(t), s = Object.keys(i);
|
|
1391
|
+
function a(l) {
|
|
1392
|
+
return `@media (min-width:${typeof t[l] == "number" ? t[l] : l}${r})`;
|
|
1393
|
+
}
|
|
1394
|
+
function c(l) {
|
|
1395
|
+
return `@media (max-width:${(typeof t[l] == "number" ? t[l] : l) - n / 100}${r})`;
|
|
1396
|
+
}
|
|
1397
|
+
function u(l, b) {
|
|
1398
|
+
const g = s.indexOf(b);
|
|
1399
|
+
return `@media (min-width:${typeof t[l] == "number" ? t[l] : l}${r}) and (max-width:${(g !== -1 && typeof t[s[g]] == "number" ? t[s[g]] : b) - n / 100}${r})`;
|
|
1400
|
+
}
|
|
1401
|
+
function p(l) {
|
|
1402
|
+
return s.indexOf(l) + 1 < s.length ? u(l, s[s.indexOf(l) + 1]) : a(l);
|
|
1403
|
+
}
|
|
1404
|
+
function m(l) {
|
|
1405
|
+
const b = s.indexOf(l);
|
|
1406
|
+
return b === 0 ? a(s[1]) : b === s.length - 1 ? c(s[b]) : u(l, s[s.indexOf(l) + 1]).replace("@media", "@media not all and");
|
|
1407
|
+
}
|
|
1408
|
+
return U({
|
|
1409
|
+
keys: s,
|
|
1410
|
+
values: i,
|
|
1411
|
+
up: a,
|
|
1412
|
+
down: c,
|
|
1413
|
+
between: u,
|
|
1414
|
+
only: p,
|
|
1415
|
+
not: m,
|
|
1416
|
+
unit: r
|
|
1417
|
+
}, o);
|
|
1418
|
+
}
|
|
1419
|
+
const xo = {
|
|
1420
|
+
borderRadius: 4
|
|
1421
|
+
}, $e = process.env.NODE_ENV !== "production" ? T.oneOfType([T.number, T.string, T.object, T.array]) : {};
|
|
1422
|
+
function Ue(e, t) {
|
|
1423
|
+
return t ? ge(e, t, {
|
|
1424
|
+
clone: !1
|
|
1425
|
+
// No need to clone deep, it's way faster.
|
|
1426
|
+
}) : e;
|
|
1427
|
+
}
|
|
1428
|
+
const Zt = {
|
|
1429
|
+
xs: 0,
|
|
1430
|
+
// phone
|
|
1431
|
+
sm: 600,
|
|
1432
|
+
// tablet
|
|
1433
|
+
md: 900,
|
|
1434
|
+
// small laptop
|
|
1435
|
+
lg: 1200,
|
|
1436
|
+
// desktop
|
|
1437
|
+
xl: 1536
|
|
1438
|
+
// large screen
|
|
1439
|
+
}, gr = {
|
|
1440
|
+
// Sorted ASC by size. That's important.
|
|
1441
|
+
// It can't be configured as it's used statically for propTypes.
|
|
1442
|
+
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
1443
|
+
up: (e) => `@media (min-width:${Zt[e]}px)`
|
|
1444
|
+
};
|
|
1445
|
+
function Ee(e, t, r) {
|
|
1446
|
+
const n = e.theme || {};
|
|
1447
|
+
if (Array.isArray(t)) {
|
|
1448
|
+
const i = n.breakpoints || gr;
|
|
1449
|
+
return t.reduce((s, a, c) => (s[i.up(i.keys[c])] = r(t[c]), s), {});
|
|
1450
|
+
}
|
|
1451
|
+
if (typeof t == "object") {
|
|
1452
|
+
const i = n.breakpoints || gr;
|
|
1453
|
+
return Object.keys(t).reduce((s, a) => {
|
|
1454
|
+
if (Object.keys(i.values || Zt).indexOf(a) !== -1) {
|
|
1455
|
+
const c = i.up(a);
|
|
1456
|
+
s[c] = r(t[a], a);
|
|
1457
|
+
} else {
|
|
1458
|
+
const c = a;
|
|
1459
|
+
s[c] = t[c];
|
|
1460
|
+
}
|
|
1461
|
+
return s;
|
|
1462
|
+
}, {});
|
|
1463
|
+
}
|
|
1464
|
+
return r(t);
|
|
1465
|
+
}
|
|
1466
|
+
function To(e = {}) {
|
|
1467
|
+
var t;
|
|
1468
|
+
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
1469
|
+
const i = e.up(o);
|
|
1470
|
+
return n[i] = {}, n;
|
|
1471
|
+
}, {})) || {};
|
|
1472
|
+
}
|
|
1473
|
+
function Oo(e, t) {
|
|
1474
|
+
return e.reduce((r, n) => {
|
|
1475
|
+
const o = r[n];
|
|
1476
|
+
return (!o || Object.keys(o).length === 0) && delete r[n], r;
|
|
1477
|
+
}, t);
|
|
1478
|
+
}
|
|
1479
|
+
function Te(e) {
|
|
1480
|
+
if (typeof e != "string")
|
|
1481
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : Ye(7));
|
|
1482
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
1483
|
+
}
|
|
1484
|
+
const $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1485
|
+
__proto__: null,
|
|
1486
|
+
default: Te
|
|
1487
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1488
|
+
function gt(e, t, r = !0) {
|
|
1489
|
+
if (!t || typeof t != "string")
|
|
1490
|
+
return null;
|
|
1491
|
+
if (e && e.vars && r) {
|
|
1492
|
+
const n = `vars.${t}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
|
|
1493
|
+
if (n != null)
|
|
1494
|
+
return n;
|
|
1495
|
+
}
|
|
1496
|
+
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
1497
|
+
}
|
|
1498
|
+
function lt(e, t, r, n = r) {
|
|
1499
|
+
let o;
|
|
1500
|
+
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = gt(e, r) || n, t && (o = t(o, n, e)), o;
|
|
1501
|
+
}
|
|
1502
|
+
function X(e) {
|
|
1503
|
+
const {
|
|
1504
|
+
prop: t,
|
|
1505
|
+
cssProperty: r = e.prop,
|
|
1506
|
+
themeKey: n,
|
|
1507
|
+
transform: o
|
|
1508
|
+
} = e, i = (s) => {
|
|
1509
|
+
if (s[t] == null)
|
|
1510
|
+
return null;
|
|
1511
|
+
const a = s[t], c = s.theme, u = gt(c, n) || {};
|
|
1512
|
+
return Ee(s, a, (m) => {
|
|
1513
|
+
let l = lt(u, o, m);
|
|
1514
|
+
return m === l && typeof m == "string" && (l = lt(u, o, `${t}${m === "default" ? "" : Te(m)}`, m)), r === !1 ? l : {
|
|
1515
|
+
[r]: l
|
|
1516
|
+
};
|
|
1517
|
+
});
|
|
1518
|
+
};
|
|
1519
|
+
return i.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1520
|
+
[t]: $e
|
|
1521
|
+
} : {}, i.filterProps = [t], i;
|
|
1522
|
+
}
|
|
1523
|
+
function wo(e) {
|
|
1524
|
+
const t = {};
|
|
1525
|
+
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
|
|
1526
|
+
}
|
|
1527
|
+
const Po = {
|
|
1528
|
+
m: "margin",
|
|
1529
|
+
p: "padding"
|
|
1530
|
+
}, Ro = {
|
|
1531
|
+
t: "Top",
|
|
1532
|
+
r: "Right",
|
|
1533
|
+
b: "Bottom",
|
|
1534
|
+
l: "Left",
|
|
1535
|
+
x: ["Left", "Right"],
|
|
1536
|
+
y: ["Top", "Bottom"]
|
|
1537
|
+
}, br = {
|
|
1538
|
+
marginX: "mx",
|
|
1539
|
+
marginY: "my",
|
|
1540
|
+
paddingX: "px",
|
|
1541
|
+
paddingY: "py"
|
|
1542
|
+
}, Co = wo((e) => {
|
|
1543
|
+
if (e.length > 2)
|
|
1544
|
+
if (br[e])
|
|
1545
|
+
e = br[e];
|
|
1546
|
+
else
|
|
1547
|
+
return [e];
|
|
1548
|
+
const [t, r] = e.split(""), n = Po[t], o = Ro[r] || "";
|
|
1549
|
+
return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
|
|
1550
|
+
}), bt = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], vt = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Ao = [...bt, ...vt];
|
|
1551
|
+
function Je(e, t, r, n) {
|
|
1552
|
+
var o;
|
|
1553
|
+
const i = (o = gt(e, t, !1)) != null ? o : r;
|
|
1554
|
+
return typeof i == "number" ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && typeof s != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`), i * s) : Array.isArray(i) ? (s) => typeof s == "string" ? s : (process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > i.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(i)}.`, `${s} > ${i.length - 1}, you need to add the missing values.`].join(`
|
|
1555
|
+
`)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
1556
|
+
`))), i[s]) : typeof i == "function" ? i : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
1557
|
+
`)), () => {
|
|
1558
|
+
});
|
|
1559
|
+
}
|
|
1560
|
+
function Zr(e) {
|
|
1561
|
+
return Je(e, "spacing", 8, "spacing");
|
|
1562
|
+
}
|
|
1563
|
+
function Ze(e, t) {
|
|
1564
|
+
if (typeof t == "string" || t == null)
|
|
1565
|
+
return t;
|
|
1566
|
+
const r = Math.abs(t), n = e(r);
|
|
1567
|
+
return t >= 0 ? n : typeof n == "number" ? -n : `-${n}`;
|
|
1568
|
+
}
|
|
1569
|
+
function Io(e, t) {
|
|
1570
|
+
return (r) => e.reduce((n, o) => (n[o] = Ze(t, r), n), {});
|
|
1571
|
+
}
|
|
1572
|
+
function Mo(e, t, r, n) {
|
|
1573
|
+
if (t.indexOf(r) === -1)
|
|
1574
|
+
return null;
|
|
1575
|
+
const o = Co(r), i = Io(o, n), s = e[r];
|
|
1576
|
+
return Ee(e, s, i);
|
|
1577
|
+
}
|
|
1578
|
+
function Qr(e, t) {
|
|
1579
|
+
const r = Zr(e.theme);
|
|
1580
|
+
return Object.keys(e).map((n) => Mo(e, t, n, r)).reduce(Ue, {});
|
|
1581
|
+
}
|
|
1582
|
+
function K(e) {
|
|
1583
|
+
return Qr(e, bt);
|
|
1584
|
+
}
|
|
1585
|
+
K.propTypes = process.env.NODE_ENV !== "production" ? bt.reduce((e, t) => (e[t] = $e, e), {}) : {};
|
|
1586
|
+
K.filterProps = bt;
|
|
1587
|
+
function G(e) {
|
|
1588
|
+
return Qr(e, vt);
|
|
1589
|
+
}
|
|
1590
|
+
G.propTypes = process.env.NODE_ENV !== "production" ? vt.reduce((e, t) => (e[t] = $e, e), {}) : {};
|
|
1591
|
+
G.filterProps = vt;
|
|
1592
|
+
process.env.NODE_ENV !== "production" && Ao.reduce((e, t) => (e[t] = $e, e), {});
|
|
1593
|
+
function en(e = 8) {
|
|
1594
|
+
if (e.mui)
|
|
1595
|
+
return e;
|
|
1596
|
+
const t = Zr({
|
|
1597
|
+
spacing: e
|
|
1598
|
+
}), r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
|
|
1599
|
+
const s = t(i);
|
|
1600
|
+
return typeof s == "number" ? `${s}px` : s;
|
|
1601
|
+
}).join(" "));
|
|
1602
|
+
return r.mui = !0, r;
|
|
1603
|
+
}
|
|
1604
|
+
function Et(...e) {
|
|
1605
|
+
const t = e.reduce((n, o) => (o.filterProps.forEach((i) => {
|
|
1606
|
+
n[i] = o;
|
|
1607
|
+
}), n), {}), r = (n) => Object.keys(n).reduce((o, i) => t[i] ? Ue(o, t[i](n)) : o, {});
|
|
1608
|
+
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
|
|
1609
|
+
}
|
|
1610
|
+
function fe(e) {
|
|
1611
|
+
return typeof e != "number" ? e : `${e}px solid`;
|
|
1612
|
+
}
|
|
1613
|
+
function de(e, t) {
|
|
1614
|
+
return X({
|
|
1615
|
+
prop: e,
|
|
1616
|
+
themeKey: "borders",
|
|
1617
|
+
transform: t
|
|
1618
|
+
});
|
|
1619
|
+
}
|
|
1620
|
+
const ko = de("border", fe), jo = de("borderTop", fe), No = de("borderRight", fe), Do = de("borderBottom", fe), Fo = de("borderLeft", fe), Lo = de("borderColor"), zo = de("borderTopColor"), Vo = de("borderRightColor"), Wo = de("borderBottomColor"), qo = de("borderLeftColor"), Uo = de("outline", fe), Bo = de("outlineColor"), _t = (e) => {
|
|
1621
|
+
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1622
|
+
const t = Je(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
1623
|
+
borderRadius: Ze(t, n)
|
|
1624
|
+
});
|
|
1625
|
+
return Ee(e, e.borderRadius, r);
|
|
1626
|
+
}
|
|
1627
|
+
return null;
|
|
1628
|
+
};
|
|
1629
|
+
_t.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1630
|
+
borderRadius: $e
|
|
1631
|
+
} : {};
|
|
1632
|
+
_t.filterProps = ["borderRadius"];
|
|
1633
|
+
Et(ko, jo, No, Do, Fo, Lo, zo, Vo, Wo, qo, _t, Uo, Bo);
|
|
1634
|
+
const St = (e) => {
|
|
1635
|
+
if (e.gap !== void 0 && e.gap !== null) {
|
|
1636
|
+
const t = Je(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
1637
|
+
gap: Ze(t, n)
|
|
1638
|
+
});
|
|
1639
|
+
return Ee(e, e.gap, r);
|
|
1640
|
+
}
|
|
1641
|
+
return null;
|
|
1642
|
+
};
|
|
1643
|
+
St.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1644
|
+
gap: $e
|
|
1645
|
+
} : {};
|
|
1646
|
+
St.filterProps = ["gap"];
|
|
1647
|
+
const xt = (e) => {
|
|
1648
|
+
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1649
|
+
const t = Je(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
1650
|
+
columnGap: Ze(t, n)
|
|
1651
|
+
});
|
|
1652
|
+
return Ee(e, e.columnGap, r);
|
|
1653
|
+
}
|
|
1654
|
+
return null;
|
|
1655
|
+
};
|
|
1656
|
+
xt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1657
|
+
columnGap: $e
|
|
1658
|
+
} : {};
|
|
1659
|
+
xt.filterProps = ["columnGap"];
|
|
1660
|
+
const Tt = (e) => {
|
|
1661
|
+
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1662
|
+
const t = Je(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
1663
|
+
rowGap: Ze(t, n)
|
|
1664
|
+
});
|
|
1665
|
+
return Ee(e, e.rowGap, r);
|
|
1666
|
+
}
|
|
1667
|
+
return null;
|
|
1668
|
+
};
|
|
1669
|
+
Tt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1670
|
+
rowGap: $e
|
|
1671
|
+
} : {};
|
|
1672
|
+
Tt.filterProps = ["rowGap"];
|
|
1673
|
+
const Yo = X({
|
|
1674
|
+
prop: "gridColumn"
|
|
1675
|
+
}), Ko = X({
|
|
1676
|
+
prop: "gridRow"
|
|
1677
|
+
}), Go = X({
|
|
1678
|
+
prop: "gridAutoFlow"
|
|
1679
|
+
}), Ho = X({
|
|
1680
|
+
prop: "gridAutoColumns"
|
|
1681
|
+
}), Xo = X({
|
|
1682
|
+
prop: "gridAutoRows"
|
|
1683
|
+
}), Jo = X({
|
|
1684
|
+
prop: "gridTemplateColumns"
|
|
1685
|
+
}), Zo = X({
|
|
1686
|
+
prop: "gridTemplateRows"
|
|
1687
|
+
}), Qo = X({
|
|
1688
|
+
prop: "gridTemplateAreas"
|
|
1689
|
+
}), ei = X({
|
|
1690
|
+
prop: "gridArea"
|
|
1691
|
+
});
|
|
1692
|
+
Et(St, xt, Tt, Yo, Ko, Go, Ho, Xo, Jo, Zo, Qo, ei);
|
|
1693
|
+
function De(e, t) {
|
|
1694
|
+
return t === "grey" ? t : e;
|
|
1695
|
+
}
|
|
1696
|
+
const ti = X({
|
|
1697
|
+
prop: "color",
|
|
1698
|
+
themeKey: "palette",
|
|
1699
|
+
transform: De
|
|
1700
|
+
}), ri = X({
|
|
1701
|
+
prop: "bgcolor",
|
|
1702
|
+
cssProperty: "backgroundColor",
|
|
1703
|
+
themeKey: "palette",
|
|
1704
|
+
transform: De
|
|
1705
|
+
}), ni = X({
|
|
1706
|
+
prop: "backgroundColor",
|
|
1707
|
+
themeKey: "palette",
|
|
1708
|
+
transform: De
|
|
1709
|
+
});
|
|
1710
|
+
Et(ti, ri, ni);
|
|
1711
|
+
function se(e) {
|
|
1712
|
+
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1713
|
+
}
|
|
1714
|
+
const oi = X({
|
|
1715
|
+
prop: "width",
|
|
1716
|
+
transform: se
|
|
1717
|
+
}), Qt = (e) => {
|
|
1718
|
+
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1719
|
+
const t = (r) => {
|
|
1720
|
+
var n, o;
|
|
1721
|
+
const i = ((n = e.theme) == null || (n = n.breakpoints) == null || (n = n.values) == null ? void 0 : n[r]) || Zt[r];
|
|
1722
|
+
return i ? ((o = e.theme) == null || (o = o.breakpoints) == null ? void 0 : o.unit) !== "px" ? {
|
|
1723
|
+
maxWidth: `${i}${e.theme.breakpoints.unit}`
|
|
1724
|
+
} : {
|
|
1725
|
+
maxWidth: i
|
|
1726
|
+
} : {
|
|
1727
|
+
maxWidth: se(r)
|
|
1728
|
+
};
|
|
1729
|
+
};
|
|
1730
|
+
return Ee(e, e.maxWidth, t);
|
|
1731
|
+
}
|
|
1732
|
+
return null;
|
|
1733
|
+
};
|
|
1734
|
+
Qt.filterProps = ["maxWidth"];
|
|
1735
|
+
const ii = X({
|
|
1736
|
+
prop: "minWidth",
|
|
1737
|
+
transform: se
|
|
1738
|
+
}), si = X({
|
|
1739
|
+
prop: "height",
|
|
1740
|
+
transform: se
|
|
1741
|
+
}), ai = X({
|
|
1742
|
+
prop: "maxHeight",
|
|
1743
|
+
transform: se
|
|
1744
|
+
}), ci = X({
|
|
1745
|
+
prop: "minHeight",
|
|
1746
|
+
transform: se
|
|
1747
|
+
});
|
|
1748
|
+
X({
|
|
1749
|
+
prop: "size",
|
|
1750
|
+
cssProperty: "width",
|
|
1751
|
+
transform: se
|
|
1752
|
+
});
|
|
1753
|
+
X({
|
|
1754
|
+
prop: "size",
|
|
1755
|
+
cssProperty: "height",
|
|
1756
|
+
transform: se
|
|
1757
|
+
});
|
|
1758
|
+
const ui = X({
|
|
1759
|
+
prop: "boxSizing"
|
|
1760
|
+
});
|
|
1761
|
+
Et(oi, Qt, ii, si, ai, ci, ui);
|
|
1762
|
+
const Qe = {
|
|
1763
|
+
// borders
|
|
1764
|
+
border: {
|
|
1765
|
+
themeKey: "borders",
|
|
1766
|
+
transform: fe
|
|
1767
|
+
},
|
|
1768
|
+
borderTop: {
|
|
1769
|
+
themeKey: "borders",
|
|
1770
|
+
transform: fe
|
|
1771
|
+
},
|
|
1772
|
+
borderRight: {
|
|
1773
|
+
themeKey: "borders",
|
|
1774
|
+
transform: fe
|
|
1775
|
+
},
|
|
1776
|
+
borderBottom: {
|
|
1777
|
+
themeKey: "borders",
|
|
1778
|
+
transform: fe
|
|
1779
|
+
},
|
|
1780
|
+
borderLeft: {
|
|
1781
|
+
themeKey: "borders",
|
|
1782
|
+
transform: fe
|
|
1783
|
+
},
|
|
1784
|
+
borderColor: {
|
|
1785
|
+
themeKey: "palette"
|
|
1786
|
+
},
|
|
1787
|
+
borderTopColor: {
|
|
1788
|
+
themeKey: "palette"
|
|
1789
|
+
},
|
|
1790
|
+
borderRightColor: {
|
|
1791
|
+
themeKey: "palette"
|
|
1792
|
+
},
|
|
1793
|
+
borderBottomColor: {
|
|
1794
|
+
themeKey: "palette"
|
|
1795
|
+
},
|
|
1796
|
+
borderLeftColor: {
|
|
1797
|
+
themeKey: "palette"
|
|
1798
|
+
},
|
|
1799
|
+
outline: {
|
|
1800
|
+
themeKey: "borders",
|
|
1801
|
+
transform: fe
|
|
1802
|
+
},
|
|
1803
|
+
outlineColor: {
|
|
1804
|
+
themeKey: "palette"
|
|
1805
|
+
},
|
|
1806
|
+
borderRadius: {
|
|
1807
|
+
themeKey: "shape.borderRadius",
|
|
1808
|
+
style: _t
|
|
1809
|
+
},
|
|
1810
|
+
// palette
|
|
1811
|
+
color: {
|
|
1812
|
+
themeKey: "palette",
|
|
1813
|
+
transform: De
|
|
1814
|
+
},
|
|
1815
|
+
bgcolor: {
|
|
1816
|
+
themeKey: "palette",
|
|
1817
|
+
cssProperty: "backgroundColor",
|
|
1818
|
+
transform: De
|
|
1819
|
+
},
|
|
1820
|
+
backgroundColor: {
|
|
1821
|
+
themeKey: "palette",
|
|
1822
|
+
transform: De
|
|
1823
|
+
},
|
|
1824
|
+
// spacing
|
|
1825
|
+
p: {
|
|
1826
|
+
style: G
|
|
1827
|
+
},
|
|
1828
|
+
pt: {
|
|
1829
|
+
style: G
|
|
1830
|
+
},
|
|
1831
|
+
pr: {
|
|
1832
|
+
style: G
|
|
1833
|
+
},
|
|
1834
|
+
pb: {
|
|
1835
|
+
style: G
|
|
1836
|
+
},
|
|
1837
|
+
pl: {
|
|
1838
|
+
style: G
|
|
1839
|
+
},
|
|
1840
|
+
px: {
|
|
1841
|
+
style: G
|
|
1842
|
+
},
|
|
1843
|
+
py: {
|
|
1844
|
+
style: G
|
|
1845
|
+
},
|
|
1846
|
+
padding: {
|
|
1847
|
+
style: G
|
|
1848
|
+
},
|
|
1849
|
+
paddingTop: {
|
|
1850
|
+
style: G
|
|
1851
|
+
},
|
|
1852
|
+
paddingRight: {
|
|
1853
|
+
style: G
|
|
1854
|
+
},
|
|
1855
|
+
paddingBottom: {
|
|
1856
|
+
style: G
|
|
1857
|
+
},
|
|
1858
|
+
paddingLeft: {
|
|
1859
|
+
style: G
|
|
1860
|
+
},
|
|
1861
|
+
paddingX: {
|
|
1862
|
+
style: G
|
|
1863
|
+
},
|
|
1864
|
+
paddingY: {
|
|
1865
|
+
style: G
|
|
1866
|
+
},
|
|
1867
|
+
paddingInline: {
|
|
1868
|
+
style: G
|
|
1869
|
+
},
|
|
1870
|
+
paddingInlineStart: {
|
|
1871
|
+
style: G
|
|
1872
|
+
},
|
|
1873
|
+
paddingInlineEnd: {
|
|
1874
|
+
style: G
|
|
1875
|
+
},
|
|
1876
|
+
paddingBlock: {
|
|
1877
|
+
style: G
|
|
1878
|
+
},
|
|
1879
|
+
paddingBlockStart: {
|
|
1880
|
+
style: G
|
|
1881
|
+
},
|
|
1882
|
+
paddingBlockEnd: {
|
|
1883
|
+
style: G
|
|
1884
|
+
},
|
|
1885
|
+
m: {
|
|
1886
|
+
style: K
|
|
1887
|
+
},
|
|
1888
|
+
mt: {
|
|
1889
|
+
style: K
|
|
1890
|
+
},
|
|
1891
|
+
mr: {
|
|
1892
|
+
style: K
|
|
1893
|
+
},
|
|
1894
|
+
mb: {
|
|
1895
|
+
style: K
|
|
1896
|
+
},
|
|
1897
|
+
ml: {
|
|
1898
|
+
style: K
|
|
1899
|
+
},
|
|
1900
|
+
mx: {
|
|
1901
|
+
style: K
|
|
1902
|
+
},
|
|
1903
|
+
my: {
|
|
1904
|
+
style: K
|
|
1905
|
+
},
|
|
1906
|
+
margin: {
|
|
1907
|
+
style: K
|
|
1908
|
+
},
|
|
1909
|
+
marginTop: {
|
|
1910
|
+
style: K
|
|
1911
|
+
},
|
|
1912
|
+
marginRight: {
|
|
1913
|
+
style: K
|
|
1914
|
+
},
|
|
1915
|
+
marginBottom: {
|
|
1916
|
+
style: K
|
|
1917
|
+
},
|
|
1918
|
+
marginLeft: {
|
|
1919
|
+
style: K
|
|
1920
|
+
},
|
|
1921
|
+
marginX: {
|
|
1922
|
+
style: K
|
|
1923
|
+
},
|
|
1924
|
+
marginY: {
|
|
1925
|
+
style: K
|
|
1926
|
+
},
|
|
1927
|
+
marginInline: {
|
|
1928
|
+
style: K
|
|
1929
|
+
},
|
|
1930
|
+
marginInlineStart: {
|
|
1931
|
+
style: K
|
|
1932
|
+
},
|
|
1933
|
+
marginInlineEnd: {
|
|
1934
|
+
style: K
|
|
1935
|
+
},
|
|
1936
|
+
marginBlock: {
|
|
1937
|
+
style: K
|
|
1938
|
+
},
|
|
1939
|
+
marginBlockStart: {
|
|
1940
|
+
style: K
|
|
1941
|
+
},
|
|
1942
|
+
marginBlockEnd: {
|
|
1943
|
+
style: K
|
|
1944
|
+
},
|
|
1945
|
+
// display
|
|
1946
|
+
displayPrint: {
|
|
1947
|
+
cssProperty: !1,
|
|
1948
|
+
transform: (e) => ({
|
|
1949
|
+
"@media print": {
|
|
1950
|
+
display: e
|
|
1951
|
+
}
|
|
1952
|
+
})
|
|
1953
|
+
},
|
|
1954
|
+
display: {},
|
|
1955
|
+
overflow: {},
|
|
1956
|
+
textOverflow: {},
|
|
1957
|
+
visibility: {},
|
|
1958
|
+
whiteSpace: {},
|
|
1959
|
+
// flexbox
|
|
1960
|
+
flexBasis: {},
|
|
1961
|
+
flexDirection: {},
|
|
1962
|
+
flexWrap: {},
|
|
1963
|
+
justifyContent: {},
|
|
1964
|
+
alignItems: {},
|
|
1965
|
+
alignContent: {},
|
|
1966
|
+
order: {},
|
|
1967
|
+
flex: {},
|
|
1968
|
+
flexGrow: {},
|
|
1969
|
+
flexShrink: {},
|
|
1970
|
+
alignSelf: {},
|
|
1971
|
+
justifyItems: {},
|
|
1972
|
+
justifySelf: {},
|
|
1973
|
+
// grid
|
|
1974
|
+
gap: {
|
|
1975
|
+
style: St
|
|
1976
|
+
},
|
|
1977
|
+
rowGap: {
|
|
1978
|
+
style: Tt
|
|
1979
|
+
},
|
|
1980
|
+
columnGap: {
|
|
1981
|
+
style: xt
|
|
1982
|
+
},
|
|
1983
|
+
gridColumn: {},
|
|
1984
|
+
gridRow: {},
|
|
1985
|
+
gridAutoFlow: {},
|
|
1986
|
+
gridAutoColumns: {},
|
|
1987
|
+
gridAutoRows: {},
|
|
1988
|
+
gridTemplateColumns: {},
|
|
1989
|
+
gridTemplateRows: {},
|
|
1990
|
+
gridTemplateAreas: {},
|
|
1991
|
+
gridArea: {},
|
|
1992
|
+
// positions
|
|
1993
|
+
position: {},
|
|
1994
|
+
zIndex: {
|
|
1995
|
+
themeKey: "zIndex"
|
|
1996
|
+
},
|
|
1997
|
+
top: {},
|
|
1998
|
+
right: {},
|
|
1999
|
+
bottom: {},
|
|
2000
|
+
left: {},
|
|
2001
|
+
// shadows
|
|
2002
|
+
boxShadow: {
|
|
2003
|
+
themeKey: "shadows"
|
|
2004
|
+
},
|
|
2005
|
+
// sizing
|
|
2006
|
+
width: {
|
|
2007
|
+
transform: se
|
|
2008
|
+
},
|
|
2009
|
+
maxWidth: {
|
|
2010
|
+
style: Qt
|
|
2011
|
+
},
|
|
2012
|
+
minWidth: {
|
|
2013
|
+
transform: se
|
|
2014
|
+
},
|
|
2015
|
+
height: {
|
|
2016
|
+
transform: se
|
|
2017
|
+
},
|
|
2018
|
+
maxHeight: {
|
|
2019
|
+
transform: se
|
|
2020
|
+
},
|
|
2021
|
+
minHeight: {
|
|
2022
|
+
transform: se
|
|
2023
|
+
},
|
|
2024
|
+
boxSizing: {},
|
|
2025
|
+
// typography
|
|
2026
|
+
fontFamily: {
|
|
2027
|
+
themeKey: "typography"
|
|
2028
|
+
},
|
|
2029
|
+
fontSize: {
|
|
2030
|
+
themeKey: "typography"
|
|
2031
|
+
},
|
|
2032
|
+
fontStyle: {
|
|
2033
|
+
themeKey: "typography"
|
|
2034
|
+
},
|
|
2035
|
+
fontWeight: {
|
|
2036
|
+
themeKey: "typography"
|
|
2037
|
+
},
|
|
2038
|
+
letterSpacing: {},
|
|
2039
|
+
textTransform: {},
|
|
2040
|
+
lineHeight: {},
|
|
2041
|
+
textAlign: {},
|
|
2042
|
+
typography: {
|
|
2043
|
+
cssProperty: !1,
|
|
2044
|
+
themeKey: "typography"
|
|
2045
|
+
}
|
|
2046
|
+
};
|
|
2047
|
+
function fi(...e) {
|
|
2048
|
+
const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
|
|
2049
|
+
return e.every((n) => r.size === Object.keys(n).length);
|
|
2050
|
+
}
|
|
2051
|
+
function li(e, t) {
|
|
2052
|
+
return typeof e == "function" ? e(t) : e;
|
|
2053
|
+
}
|
|
2054
|
+
function tn() {
|
|
2055
|
+
function e(r, n, o, i) {
|
|
2056
|
+
const s = {
|
|
2057
|
+
[r]: n,
|
|
2058
|
+
theme: o
|
|
2059
|
+
}, a = i[r];
|
|
2060
|
+
if (!a)
|
|
2061
|
+
return {
|
|
2062
|
+
[r]: n
|
|
2063
|
+
};
|
|
2064
|
+
const {
|
|
2065
|
+
cssProperty: c = r,
|
|
2066
|
+
themeKey: u,
|
|
2067
|
+
transform: p,
|
|
2068
|
+
style: m
|
|
2069
|
+
} = a;
|
|
2070
|
+
if (n == null)
|
|
2071
|
+
return null;
|
|
2072
|
+
if (u === "typography" && n === "inherit")
|
|
2073
|
+
return {
|
|
2074
|
+
[r]: n
|
|
2075
|
+
};
|
|
2076
|
+
const l = gt(o, u) || {};
|
|
2077
|
+
return m ? m(s) : Ee(s, n, (g) => {
|
|
2078
|
+
let d = lt(l, p, g);
|
|
2079
|
+
return g === d && typeof g == "string" && (d = lt(l, p, `${r}${g === "default" ? "" : Te(g)}`, g)), c === !1 ? d : {
|
|
2080
|
+
[c]: d
|
|
2081
|
+
};
|
|
2082
|
+
});
|
|
2083
|
+
}
|
|
2084
|
+
function t(r) {
|
|
2085
|
+
var n;
|
|
2086
|
+
const {
|
|
2087
|
+
sx: o,
|
|
2088
|
+
theme: i = {}
|
|
2089
|
+
} = r || {};
|
|
2090
|
+
if (!o)
|
|
2091
|
+
return null;
|
|
2092
|
+
const s = (n = i.unstable_sxConfig) != null ? n : Qe;
|
|
2093
|
+
function a(c) {
|
|
2094
|
+
let u = c;
|
|
2095
|
+
if (typeof c == "function")
|
|
2096
|
+
u = c(i);
|
|
2097
|
+
else if (typeof c != "object")
|
|
2098
|
+
return c;
|
|
2099
|
+
if (!u)
|
|
2100
|
+
return null;
|
|
2101
|
+
const p = To(i.breakpoints), m = Object.keys(p);
|
|
2102
|
+
let l = p;
|
|
2103
|
+
return Object.keys(u).forEach((b) => {
|
|
2104
|
+
const g = li(u[b], i);
|
|
2105
|
+
if (g != null)
|
|
2106
|
+
if (typeof g == "object")
|
|
2107
|
+
if (s[b])
|
|
2108
|
+
l = Ue(l, e(b, g, i, s));
|
|
2109
|
+
else {
|
|
2110
|
+
const d = Ee({
|
|
2111
|
+
theme: i
|
|
2112
|
+
}, g, (f) => ({
|
|
2113
|
+
[b]: f
|
|
2114
|
+
}));
|
|
2115
|
+
fi(d, g) ? l[b] = t({
|
|
2116
|
+
sx: g,
|
|
2117
|
+
theme: i
|
|
2118
|
+
}) : l = Ue(l, d);
|
|
2119
|
+
}
|
|
2120
|
+
else
|
|
2121
|
+
l = Ue(l, e(b, g, i, s));
|
|
2122
|
+
}), Oo(m, l);
|
|
2123
|
+
}
|
|
2124
|
+
return Array.isArray(o) ? o.map(a) : a(o);
|
|
2125
|
+
}
|
|
2126
|
+
return t;
|
|
2127
|
+
}
|
|
2128
|
+
const Ot = tn();
|
|
2129
|
+
Ot.filterProps = ["sx"];
|
|
2130
|
+
function rn(e, t) {
|
|
2131
|
+
const r = this;
|
|
2132
|
+
return r.vars && typeof r.getColorSchemeSelector == "function" ? {
|
|
2133
|
+
[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/, "*:where($1)")]: t
|
|
2134
|
+
} : r.palette.mode === e ? t : {};
|
|
2135
|
+
}
|
|
2136
|
+
const di = ["breakpoints", "palette", "spacing", "shape"];
|
|
2137
|
+
function nn(e = {}, ...t) {
|
|
2138
|
+
const {
|
|
2139
|
+
breakpoints: r = {},
|
|
2140
|
+
palette: n = {},
|
|
2141
|
+
spacing: o,
|
|
2142
|
+
shape: i = {}
|
|
2143
|
+
} = e, s = Oe(e, di), a = Jr(r), c = en(o);
|
|
2144
|
+
let u = ge({
|
|
2145
|
+
breakpoints: a,
|
|
2146
|
+
direction: "ltr",
|
|
2147
|
+
components: {},
|
|
2148
|
+
// Inject component definitions.
|
|
2149
|
+
palette: U({
|
|
2150
|
+
mode: "light"
|
|
2151
|
+
}, n),
|
|
2152
|
+
spacing: c,
|
|
2153
|
+
shape: U({}, xo, i)
|
|
2154
|
+
}, s);
|
|
2155
|
+
return u.applyStyles = rn, u = t.reduce((p, m) => ge(p, m), u), u.unstable_sxConfig = U({}, Qe, s == null ? void 0 : s.unstable_sxConfig), u.unstable_sx = function(m) {
|
|
2156
|
+
return Ot({
|
|
2157
|
+
sx: m,
|
|
2158
|
+
theme: this
|
|
2159
|
+
});
|
|
2160
|
+
}, u;
|
|
2161
|
+
}
|
|
2162
|
+
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2163
|
+
__proto__: null,
|
|
2164
|
+
default: nn,
|
|
2165
|
+
private_createBreakpoints: Jr,
|
|
2166
|
+
unstable_applyStyles: rn
|
|
2167
|
+
}, Symbol.toStringTag, { value: "Module" })), yi = ["sx"], mi = (e) => {
|
|
2168
|
+
var t, r;
|
|
2169
|
+
const n = {
|
|
2170
|
+
systemProps: {},
|
|
2171
|
+
otherProps: {}
|
|
2172
|
+
}, o = (t = e == null || (r = e.theme) == null ? void 0 : r.unstable_sxConfig) != null ? t : Qe;
|
|
2173
|
+
return Object.keys(e).forEach((i) => {
|
|
2174
|
+
o[i] ? n.systemProps[i] = e[i] : n.otherProps[i] = e[i];
|
|
2175
|
+
}), n;
|
|
2176
|
+
};
|
|
2177
|
+
function hi(e) {
|
|
2178
|
+
const {
|
|
2179
|
+
sx: t
|
|
2180
|
+
} = e, r = Oe(e, yi), {
|
|
2181
|
+
systemProps: n,
|
|
2182
|
+
otherProps: o
|
|
2183
|
+
} = mi(r);
|
|
2184
|
+
let i;
|
|
2185
|
+
return Array.isArray(t) ? i = [n, ...t] : typeof t == "function" ? i = (...s) => {
|
|
2186
|
+
const a = t(...s);
|
|
2187
|
+
return xe(a) ? U({}, n, a) : n;
|
|
2188
|
+
} : i = U({}, n, t), U({}, o, {
|
|
2189
|
+
sx: i
|
|
2190
|
+
});
|
|
2191
|
+
}
|
|
2192
|
+
const gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2193
|
+
__proto__: null,
|
|
2194
|
+
default: Ot,
|
|
2195
|
+
extendSxProp: hi,
|
|
2196
|
+
unstable_createStyleFunctionSx: tn,
|
|
2197
|
+
unstable_defaultSxConfig: Qe
|
|
2198
|
+
}, Symbol.toStringTag, { value: "Module" })), vr = (e) => e, bi = () => {
|
|
2199
|
+
let e = vr;
|
|
2200
|
+
return {
|
|
2201
|
+
configure(t) {
|
|
2202
|
+
e = t;
|
|
2203
|
+
},
|
|
2204
|
+
generate(t) {
|
|
2205
|
+
return e(t);
|
|
2206
|
+
},
|
|
2207
|
+
reset() {
|
|
2208
|
+
e = vr;
|
|
2209
|
+
}
|
|
2210
|
+
};
|
|
2211
|
+
}, on = bi();
|
|
2212
|
+
function sn(e) {
|
|
2213
|
+
var t, r, n = "";
|
|
2214
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
2215
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
2216
|
+
var o = e.length;
|
|
2217
|
+
for (t = 0; t < o; t++) e[t] && (r = sn(e[t])) && (n && (n += " "), n += r);
|
|
2218
|
+
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
2219
|
+
return n;
|
|
2220
|
+
}
|
|
2221
|
+
function vi() {
|
|
2222
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = sn(e)) && (n && (n += " "), n += t);
|
|
2223
|
+
return n;
|
|
2224
|
+
}
|
|
2225
|
+
const Ei = {
|
|
2226
|
+
active: "active",
|
|
2227
|
+
checked: "checked",
|
|
2228
|
+
completed: "completed",
|
|
2229
|
+
disabled: "disabled",
|
|
2230
|
+
error: "error",
|
|
2231
|
+
expanded: "expanded",
|
|
2232
|
+
focused: "focused",
|
|
2233
|
+
focusVisible: "focusVisible",
|
|
2234
|
+
open: "open",
|
|
2235
|
+
readOnly: "readOnly",
|
|
2236
|
+
required: "required",
|
|
2237
|
+
selected: "selected"
|
|
2238
|
+
};
|
|
2239
|
+
function er(e, t, r = "Mui") {
|
|
2240
|
+
const n = Ei[t];
|
|
2241
|
+
return n ? `${r}-${n}` : `${on.generate(e)}-${t}`;
|
|
2242
|
+
}
|
|
2243
|
+
function _i(e, t, r = "Mui") {
|
|
2244
|
+
const n = {};
|
|
2245
|
+
return t.forEach((o) => {
|
|
2246
|
+
n[o] = er(e, o, r);
|
|
2247
|
+
}), n;
|
|
2248
|
+
}
|
|
2249
|
+
var Ut = { exports: {} }, W = {};
|
|
2250
|
+
/**
|
|
2251
|
+
* @license React
|
|
2252
|
+
* react-is.production.min.js
|
|
2253
|
+
*
|
|
2254
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2255
|
+
*
|
|
2256
|
+
* This source code is licensed under the MIT license found in the
|
|
2257
|
+
* LICENSE file in the root directory of this source tree.
|
|
2258
|
+
*/
|
|
2259
|
+
var Er;
|
|
2260
|
+
function Si() {
|
|
2261
|
+
if (Er) return W;
|
|
2262
|
+
Er = 1;
|
|
2263
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), g;
|
|
2264
|
+
g = Symbol.for("react.module.reference");
|
|
2265
|
+
function d(f) {
|
|
2266
|
+
if (typeof f == "object" && f !== null) {
|
|
2267
|
+
var _ = f.$$typeof;
|
|
2268
|
+
switch (_) {
|
|
2269
|
+
case e:
|
|
2270
|
+
switch (f = f.type, f) {
|
|
2271
|
+
case r:
|
|
2272
|
+
case o:
|
|
2273
|
+
case n:
|
|
2274
|
+
case u:
|
|
2275
|
+
case p:
|
|
2276
|
+
return f;
|
|
2277
|
+
default:
|
|
2278
|
+
switch (f = f && f.$$typeof, f) {
|
|
2279
|
+
case a:
|
|
2280
|
+
case s:
|
|
2281
|
+
case c:
|
|
2282
|
+
case l:
|
|
2283
|
+
case m:
|
|
2284
|
+
case i:
|
|
2285
|
+
return f;
|
|
2286
|
+
default:
|
|
2287
|
+
return _;
|
|
2288
|
+
}
|
|
2289
|
+
}
|
|
2290
|
+
case t:
|
|
2291
|
+
return _;
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
return W.ContextConsumer = s, W.ContextProvider = i, W.Element = e, W.ForwardRef = c, W.Fragment = r, W.Lazy = l, W.Memo = m, W.Portal = t, W.Profiler = o, W.StrictMode = n, W.Suspense = u, W.SuspenseList = p, W.isAsyncMode = function() {
|
|
2296
|
+
return !1;
|
|
2297
|
+
}, W.isConcurrentMode = function() {
|
|
2298
|
+
return !1;
|
|
2299
|
+
}, W.isContextConsumer = function(f) {
|
|
2300
|
+
return d(f) === s;
|
|
2301
|
+
}, W.isContextProvider = function(f) {
|
|
2302
|
+
return d(f) === i;
|
|
2303
|
+
}, W.isElement = function(f) {
|
|
2304
|
+
return typeof f == "object" && f !== null && f.$$typeof === e;
|
|
2305
|
+
}, W.isForwardRef = function(f) {
|
|
2306
|
+
return d(f) === c;
|
|
2307
|
+
}, W.isFragment = function(f) {
|
|
2308
|
+
return d(f) === r;
|
|
2309
|
+
}, W.isLazy = function(f) {
|
|
2310
|
+
return d(f) === l;
|
|
2311
|
+
}, W.isMemo = function(f) {
|
|
2312
|
+
return d(f) === m;
|
|
2313
|
+
}, W.isPortal = function(f) {
|
|
2314
|
+
return d(f) === t;
|
|
2315
|
+
}, W.isProfiler = function(f) {
|
|
2316
|
+
return d(f) === o;
|
|
2317
|
+
}, W.isStrictMode = function(f) {
|
|
2318
|
+
return d(f) === n;
|
|
2319
|
+
}, W.isSuspense = function(f) {
|
|
2320
|
+
return d(f) === u;
|
|
2321
|
+
}, W.isSuspenseList = function(f) {
|
|
2322
|
+
return d(f) === p;
|
|
2323
|
+
}, W.isValidElementType = function(f) {
|
|
2324
|
+
return typeof f == "string" || typeof f == "function" || f === r || f === o || f === n || f === u || f === p || f === b || typeof f == "object" && f !== null && (f.$$typeof === l || f.$$typeof === m || f.$$typeof === i || f.$$typeof === s || f.$$typeof === c || f.$$typeof === g || f.getModuleId !== void 0);
|
|
2325
|
+
}, W.typeOf = d, W;
|
|
2326
|
+
}
|
|
2327
|
+
var q = {};
|
|
2328
|
+
/**
|
|
2329
|
+
* @license React
|
|
2330
|
+
* react-is.development.js
|
|
2331
|
+
*
|
|
2332
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
2333
|
+
*
|
|
2334
|
+
* This source code is licensed under the MIT license found in the
|
|
2335
|
+
* LICENSE file in the root directory of this source tree.
|
|
2336
|
+
*/
|
|
2337
|
+
var _r;
|
|
2338
|
+
function xi() {
|
|
2339
|
+
return _r || (_r = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2340
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), a = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), g = !1, d = !1, f = !1, _ = !1, k = !1, $;
|
|
2341
|
+
$ = Symbol.for("react.module.reference");
|
|
2342
|
+
function F(S) {
|
|
2343
|
+
return !!(typeof S == "string" || typeof S == "function" || S === r || S === o || k || S === n || S === u || S === p || _ || S === b || g || d || f || typeof S == "object" && S !== null && (S.$$typeof === l || S.$$typeof === m || S.$$typeof === i || S.$$typeof === s || S.$$typeof === c || // This needs to include all possible module reference object
|
|
2344
|
+
// types supported by any Flight configuration anywhere since
|
|
2345
|
+
// we don't know which Flight build this will end up being used
|
|
2346
|
+
// with.
|
|
2347
|
+
S.$$typeof === $ || S.getModuleId !== void 0));
|
|
2348
|
+
}
|
|
2349
|
+
function y(S) {
|
|
2350
|
+
if (typeof S == "object" && S !== null) {
|
|
2351
|
+
var Ce = S.$$typeof;
|
|
2352
|
+
switch (Ce) {
|
|
2353
|
+
case e:
|
|
2354
|
+
var tt = S.type;
|
|
2355
|
+
switch (tt) {
|
|
2356
|
+
case r:
|
|
2357
|
+
case o:
|
|
2358
|
+
case n:
|
|
2359
|
+
case u:
|
|
2360
|
+
case p:
|
|
2361
|
+
return tt;
|
|
2362
|
+
default:
|
|
2363
|
+
var or = tt && tt.$$typeof;
|
|
2364
|
+
switch (or) {
|
|
2365
|
+
case a:
|
|
2366
|
+
case s:
|
|
2367
|
+
case c:
|
|
2368
|
+
case l:
|
|
2369
|
+
case m:
|
|
2370
|
+
case i:
|
|
2371
|
+
return or;
|
|
2372
|
+
default:
|
|
2373
|
+
return Ce;
|
|
2374
|
+
}
|
|
2375
|
+
}
|
|
2376
|
+
case t:
|
|
2377
|
+
return Ce;
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
var L = s, C = i, pe = e, Se = c, be = r, H = l, ee = m, ye = t, ie = o, we = n, ne = u, ve = p, Pe = !1, Re = !1;
|
|
2382
|
+
function h(S) {
|
|
2383
|
+
return Pe || (Pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2384
|
+
}
|
|
2385
|
+
function E(S) {
|
|
2386
|
+
return Re || (Re = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
2387
|
+
}
|
|
2388
|
+
function R(S) {
|
|
2389
|
+
return y(S) === s;
|
|
2390
|
+
}
|
|
2391
|
+
function w(S) {
|
|
2392
|
+
return y(S) === i;
|
|
2393
|
+
}
|
|
2394
|
+
function x(S) {
|
|
2395
|
+
return typeof S == "object" && S !== null && S.$$typeof === e;
|
|
2396
|
+
}
|
|
2397
|
+
function A(S) {
|
|
2398
|
+
return y(S) === c;
|
|
2399
|
+
}
|
|
2400
|
+
function O(S) {
|
|
2401
|
+
return y(S) === r;
|
|
2402
|
+
}
|
|
2403
|
+
function P(S) {
|
|
2404
|
+
return y(S) === l;
|
|
2405
|
+
}
|
|
2406
|
+
function I(S) {
|
|
2407
|
+
return y(S) === m;
|
|
2408
|
+
}
|
|
2409
|
+
function j(S) {
|
|
2410
|
+
return y(S) === t;
|
|
2411
|
+
}
|
|
2412
|
+
function M(S) {
|
|
2413
|
+
return y(S) === o;
|
|
2414
|
+
}
|
|
2415
|
+
function te(S) {
|
|
2416
|
+
return y(S) === n;
|
|
2417
|
+
}
|
|
2418
|
+
function v(S) {
|
|
2419
|
+
return y(S) === u;
|
|
2420
|
+
}
|
|
2421
|
+
function ce(S) {
|
|
2422
|
+
return y(S) === p;
|
|
2423
|
+
}
|
|
2424
|
+
q.ContextConsumer = L, q.ContextProvider = C, q.Element = pe, q.ForwardRef = Se, q.Fragment = be, q.Lazy = H, q.Memo = ee, q.Portal = ye, q.Profiler = ie, q.StrictMode = we, q.Suspense = ne, q.SuspenseList = ve, q.isAsyncMode = h, q.isConcurrentMode = E, q.isContextConsumer = R, q.isContextProvider = w, q.isElement = x, q.isForwardRef = A, q.isFragment = O, q.isLazy = P, q.isMemo = I, q.isPortal = j, q.isProfiler = M, q.isStrictMode = te, q.isSuspense = v, q.isSuspenseList = ce, q.isValidElementType = F, q.typeOf = y;
|
|
2425
|
+
}()), q;
|
|
2426
|
+
}
|
|
2427
|
+
process.env.NODE_ENV === "production" ? Ut.exports = Si() : Ut.exports = xi();
|
|
2428
|
+
var Sr = Ut.exports;
|
|
2429
|
+
const Ti = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
2430
|
+
function an(e) {
|
|
2431
|
+
const t = `${e}`.match(Ti);
|
|
2432
|
+
return t && t[1] || "";
|
|
2433
|
+
}
|
|
2434
|
+
function cn(e, t = "") {
|
|
2435
|
+
return e.displayName || e.name || an(e) || t;
|
|
2436
|
+
}
|
|
2437
|
+
function xr(e, t, r) {
|
|
2438
|
+
const n = cn(t);
|
|
2439
|
+
return e.displayName || (n !== "" ? `${r}(${n})` : r);
|
|
2440
|
+
}
|
|
2441
|
+
function Oi(e) {
|
|
2442
|
+
if (e != null) {
|
|
2443
|
+
if (typeof e == "string")
|
|
2444
|
+
return e;
|
|
2445
|
+
if (typeof e == "function")
|
|
2446
|
+
return cn(e, "Component");
|
|
2447
|
+
if (typeof e == "object")
|
|
2448
|
+
switch (e.$$typeof) {
|
|
2449
|
+
case Sr.ForwardRef:
|
|
2450
|
+
return xr(e, e.render, "ForwardRef");
|
|
2451
|
+
case Sr.Memo:
|
|
2452
|
+
return xr(e, e.type, "memo");
|
|
2453
|
+
default:
|
|
2454
|
+
return;
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
const $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2459
|
+
__proto__: null,
|
|
2460
|
+
default: Oi,
|
|
2461
|
+
getFunctionName: an
|
|
2462
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
2463
|
+
function Bt(e, t) {
|
|
2464
|
+
const r = U({}, t);
|
|
2465
|
+
return Object.keys(e).forEach((n) => {
|
|
2466
|
+
if (n.toString().match(/^(components|slots)$/))
|
|
2467
|
+
r[n] = U({}, e[n], r[n]);
|
|
2468
|
+
else if (n.toString().match(/^(componentsProps|slotProps)$/)) {
|
|
2469
|
+
const o = e[n] || {}, i = t[n];
|
|
2470
|
+
r[n] = {}, !i || !Object.keys(i) ? r[n] = o : !o || !Object.keys(o) ? r[n] = i : (r[n] = U({}, i), Object.keys(o).forEach((s) => {
|
|
2471
|
+
r[n][s] = Bt(o[s], i[s]);
|
|
2472
|
+
}));
|
|
2473
|
+
} else r[n] === void 0 && (r[n] = e[n]);
|
|
2474
|
+
}), r;
|
|
2475
|
+
}
|
|
2476
|
+
const un = typeof window < "u" ? B.useLayoutEffect : B.useEffect;
|
|
2477
|
+
function wi(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
2478
|
+
return Math.max(t, Math.min(e, r));
|
|
2479
|
+
}
|
|
2480
|
+
const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2481
|
+
__proto__: null,
|
|
2482
|
+
default: wi
|
|
2483
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
2484
|
+
function Ri(...e) {
|
|
2485
|
+
return e.reduce((t, r) => r == null ? t : function(...o) {
|
|
2486
|
+
t.apply(this, o), r.apply(this, o);
|
|
2487
|
+
}, () => {
|
|
2488
|
+
});
|
|
2489
|
+
}
|
|
2490
|
+
function Ci(e, t = 166) {
|
|
2491
|
+
let r;
|
|
2492
|
+
function n(...o) {
|
|
2493
|
+
const i = () => {
|
|
2494
|
+
e.apply(this, o);
|
|
2495
|
+
};
|
|
2496
|
+
clearTimeout(r), r = setTimeout(i, t);
|
|
2497
|
+
}
|
|
2498
|
+
return n.clear = () => {
|
|
2499
|
+
clearTimeout(r);
|
|
2500
|
+
}, n;
|
|
2501
|
+
}
|
|
2502
|
+
function Ai(e, t) {
|
|
2503
|
+
return process.env.NODE_ENV === "production" ? () => null : (r, n, o, i, s) => {
|
|
2504
|
+
const a = o || "<<anonymous>>", c = s || n;
|
|
2505
|
+
return typeof r[n] < "u" ? new Error(`The ${i} \`${c}\` of \`${a}\` is deprecated. ${t}`) : null;
|
|
2506
|
+
};
|
|
2507
|
+
}
|
|
2508
|
+
function Ii(e, t) {
|
|
2509
|
+
var r, n;
|
|
2510
|
+
return /* @__PURE__ */ B.isValidElement(e) && t.indexOf(
|
|
2511
|
+
// For server components `muiName` is avaialble in element.type._payload.value.muiName
|
|
2512
|
+
// relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
|
|
2513
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
2514
|
+
(r = e.type.muiName) != null ? r : (n = e.type) == null || (n = n._payload) == null || (n = n.value) == null ? void 0 : n.muiName
|
|
2515
|
+
) !== -1;
|
|
2516
|
+
}
|
|
2517
|
+
function fn(e) {
|
|
2518
|
+
return e && e.ownerDocument || document;
|
|
2519
|
+
}
|
|
2520
|
+
function Mi(e) {
|
|
2521
|
+
return fn(e).defaultView || window;
|
|
2522
|
+
}
|
|
2523
|
+
function ki(e, t) {
|
|
2524
|
+
if (process.env.NODE_ENV === "production")
|
|
2525
|
+
return () => null;
|
|
2526
|
+
const r = t ? U({}, t.propTypes) : null;
|
|
2527
|
+
return (o) => (i, s, a, c, u, ...p) => {
|
|
2528
|
+
const m = u || s, l = r == null ? void 0 : r[m];
|
|
2529
|
+
if (l) {
|
|
2530
|
+
const b = l(i, s, a, c, u, ...p);
|
|
2531
|
+
if (b)
|
|
2532
|
+
return b;
|
|
2533
|
+
}
|
|
2534
|
+
return typeof i[s] < "u" && !i[o] ? new Error(`The prop \`${m}\` of \`${e}\` can only be used together with the \`${o}\` prop.`) : null;
|
|
2535
|
+
};
|
|
2536
|
+
}
|
|
2537
|
+
function ln(e, t) {
|
|
2538
|
+
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
2539
|
+
}
|
|
2540
|
+
let Tr = 0;
|
|
2541
|
+
function ji(e) {
|
|
2542
|
+
const [t, r] = B.useState(e), n = e || t;
|
|
2543
|
+
return B.useEffect(() => {
|
|
2544
|
+
t == null && (Tr += 1, r(`mui-${Tr}`));
|
|
2545
|
+
}, [t]), n;
|
|
2546
|
+
}
|
|
2547
|
+
const Or = B.useId;
|
|
2548
|
+
function Ni(e) {
|
|
2549
|
+
if (Or !== void 0) {
|
|
2550
|
+
const t = Or();
|
|
2551
|
+
return e ?? t;
|
|
2552
|
+
}
|
|
2553
|
+
return ji(e);
|
|
2554
|
+
}
|
|
2555
|
+
function Di(e, t, r, n, o) {
|
|
2556
|
+
if (process.env.NODE_ENV === "production")
|
|
2557
|
+
return null;
|
|
2558
|
+
const i = o || t;
|
|
2559
|
+
return typeof e[t] < "u" ? new Error(`The prop \`${i}\` is not supported. Please remove it.`) : null;
|
|
2560
|
+
}
|
|
2561
|
+
function Fi({
|
|
2562
|
+
controlled: e,
|
|
2563
|
+
default: t,
|
|
2564
|
+
name: r,
|
|
2565
|
+
state: n = "value"
|
|
2566
|
+
}) {
|
|
2567
|
+
const {
|
|
2568
|
+
current: o
|
|
2569
|
+
} = B.useRef(e !== void 0), [i, s] = B.useState(t), a = o ? e : i;
|
|
2570
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2571
|
+
B.useEffect(() => {
|
|
2572
|
+
o !== (e !== void 0) && console.error([`MUI: A component is changing the ${o ? "" : "un"}controlled ${n} state of ${r} to be ${o ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
|
|
2573
|
+
`));
|
|
2574
|
+
}, [n, r, e]);
|
|
2575
|
+
const {
|
|
2576
|
+
current: u
|
|
2577
|
+
} = B.useRef(t);
|
|
2578
|
+
B.useEffect(() => {
|
|
2579
|
+
!o && !Object.is(u, t) && console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
|
|
2580
|
+
`));
|
|
2581
|
+
}, [JSON.stringify(t)]);
|
|
2582
|
+
}
|
|
2583
|
+
const c = B.useCallback((u) => {
|
|
2584
|
+
o || s(u);
|
|
2585
|
+
}, []);
|
|
2586
|
+
return [a, c];
|
|
2587
|
+
}
|
|
2588
|
+
function Li(e) {
|
|
2589
|
+
const t = B.useRef(e);
|
|
2590
|
+
return un(() => {
|
|
2591
|
+
t.current = e;
|
|
2592
|
+
}), B.useRef((...r) => (
|
|
2593
|
+
// @ts-expect-error hide `this`
|
|
2594
|
+
(0, t.current)(...r)
|
|
2595
|
+
)).current;
|
|
2596
|
+
}
|
|
2597
|
+
function zi(...e) {
|
|
2598
|
+
return B.useMemo(() => e.every((t) => t == null) ? null : (t) => {
|
|
2599
|
+
e.forEach((r) => {
|
|
2600
|
+
ln(r, t);
|
|
2601
|
+
});
|
|
2602
|
+
}, e);
|
|
2603
|
+
}
|
|
2604
|
+
const $r = {};
|
|
2605
|
+
function Vi(e, t) {
|
|
2606
|
+
const r = B.useRef($r);
|
|
2607
|
+
return r.current === $r && (r.current = e(t)), r;
|
|
2608
|
+
}
|
|
2609
|
+
const Wi = [];
|
|
2610
|
+
function qi(e) {
|
|
2611
|
+
B.useEffect(e, Wi);
|
|
2612
|
+
}
|
|
2613
|
+
class $t {
|
|
2614
|
+
constructor() {
|
|
2615
|
+
this.currentId = null, this.clear = () => {
|
|
2616
|
+
this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
|
|
2617
|
+
}, this.disposeEffect = () => this.clear;
|
|
2618
|
+
}
|
|
2619
|
+
static create() {
|
|
2620
|
+
return new $t();
|
|
2621
|
+
}
|
|
2622
|
+
/**
|
|
2623
|
+
* Executes `fn` after `delay`, clearing any previously scheduled call.
|
|
2624
|
+
*/
|
|
2625
|
+
start(t, r) {
|
|
2626
|
+
this.clear(), this.currentId = setTimeout(() => {
|
|
2627
|
+
this.currentId = null, r();
|
|
2628
|
+
}, t);
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
function wa() {
|
|
2632
|
+
const e = Vi($t.create).current;
|
|
2633
|
+
return qi(e.disposeEffect), e;
|
|
2634
|
+
}
|
|
2635
|
+
let wt = !0, Yt = !1;
|
|
2636
|
+
const Ui = new $t(), Bi = {
|
|
2637
|
+
text: !0,
|
|
2638
|
+
search: !0,
|
|
2639
|
+
url: !0,
|
|
2640
|
+
tel: !0,
|
|
2641
|
+
email: !0,
|
|
2642
|
+
password: !0,
|
|
2643
|
+
number: !0,
|
|
2644
|
+
date: !0,
|
|
2645
|
+
month: !0,
|
|
2646
|
+
week: !0,
|
|
2647
|
+
time: !0,
|
|
2648
|
+
datetime: !0,
|
|
2649
|
+
"datetime-local": !0
|
|
2650
|
+
};
|
|
2651
|
+
function Yi(e) {
|
|
2652
|
+
const {
|
|
2653
|
+
type: t,
|
|
2654
|
+
tagName: r
|
|
2655
|
+
} = e;
|
|
2656
|
+
return !!(r === "INPUT" && Bi[t] && !e.readOnly || r === "TEXTAREA" && !e.readOnly || e.isContentEditable);
|
|
2657
|
+
}
|
|
2658
|
+
function Ki(e) {
|
|
2659
|
+
e.metaKey || e.altKey || e.ctrlKey || (wt = !0);
|
|
2660
|
+
}
|
|
2661
|
+
function jt() {
|
|
2662
|
+
wt = !1;
|
|
2663
|
+
}
|
|
2664
|
+
function Gi() {
|
|
2665
|
+
this.visibilityState === "hidden" && Yt && (wt = !0);
|
|
2666
|
+
}
|
|
2667
|
+
function Hi(e) {
|
|
2668
|
+
e.addEventListener("keydown", Ki, !0), e.addEventListener("mousedown", jt, !0), e.addEventListener("pointerdown", jt, !0), e.addEventListener("touchstart", jt, !0), e.addEventListener("visibilitychange", Gi, !0);
|
|
2669
|
+
}
|
|
2670
|
+
function Xi(e) {
|
|
2671
|
+
const {
|
|
2672
|
+
target: t
|
|
2673
|
+
} = e;
|
|
2674
|
+
try {
|
|
2675
|
+
return t.matches(":focus-visible");
|
|
2676
|
+
} catch {
|
|
2677
|
+
}
|
|
2678
|
+
return wt || Yi(t);
|
|
2679
|
+
}
|
|
2680
|
+
function Ji() {
|
|
2681
|
+
const e = B.useCallback((o) => {
|
|
2682
|
+
o != null && Hi(o.ownerDocument);
|
|
2683
|
+
}, []), t = B.useRef(!1);
|
|
2684
|
+
function r() {
|
|
2685
|
+
return t.current ? (Yt = !0, Ui.start(100, () => {
|
|
2686
|
+
Yt = !1;
|
|
2687
|
+
}), t.current = !1, !0) : !1;
|
|
2688
|
+
}
|
|
2689
|
+
function n(o) {
|
|
2690
|
+
return Xi(o) ? (t.current = !0, !0) : !1;
|
|
2691
|
+
}
|
|
2692
|
+
return {
|
|
2693
|
+
isFocusVisibleRef: t,
|
|
2694
|
+
onFocus: n,
|
|
2695
|
+
onBlur: r,
|
|
2696
|
+
ref: e
|
|
2697
|
+
};
|
|
2698
|
+
}
|
|
2699
|
+
function Zi(e, t, r = void 0) {
|
|
2700
|
+
const n = {};
|
|
2701
|
+
return Object.keys(e).forEach(
|
|
2702
|
+
// `Object.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
2703
|
+
// @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
|
|
2704
|
+
(o) => {
|
|
2705
|
+
n[o] = e[o].reduce((i, s) => {
|
|
2706
|
+
if (s) {
|
|
2707
|
+
const a = t(s);
|
|
2708
|
+
a !== "" && i.push(a), r && r[s] && i.push(r[s]);
|
|
2709
|
+
}
|
|
2710
|
+
return i;
|
|
2711
|
+
}, []).join(" ");
|
|
2712
|
+
}
|
|
2713
|
+
), n;
|
|
2714
|
+
}
|
|
2715
|
+
const Qi = /* @__PURE__ */ B.createContext(void 0);
|
|
2716
|
+
process.env.NODE_ENV !== "production" && (T.node, T.object);
|
|
2717
|
+
function es(e) {
|
|
2718
|
+
const {
|
|
2719
|
+
theme: t,
|
|
2720
|
+
name: r,
|
|
2721
|
+
props: n
|
|
2722
|
+
} = e;
|
|
2723
|
+
if (!t || !t.components || !t.components[r])
|
|
2724
|
+
return n;
|
|
2725
|
+
const o = t.components[r];
|
|
2726
|
+
return o.defaultProps ? Bt(o.defaultProps, n) : !o.styleOverrides && !o.variants ? Bt(o, n) : n;
|
|
2727
|
+
}
|
|
2728
|
+
function ts({
|
|
2729
|
+
props: e,
|
|
2730
|
+
name: t
|
|
2731
|
+
}) {
|
|
2732
|
+
const r = B.useContext(Qi);
|
|
2733
|
+
return es({
|
|
2734
|
+
props: e,
|
|
2735
|
+
name: t,
|
|
2736
|
+
theme: {
|
|
2737
|
+
components: r
|
|
2738
|
+
}
|
|
2739
|
+
});
|
|
2740
|
+
}
|
|
2741
|
+
function rs(e, t) {
|
|
2742
|
+
return U({
|
|
2743
|
+
toolbar: {
|
|
2744
|
+
minHeight: 56,
|
|
2745
|
+
[e.up("xs")]: {
|
|
2746
|
+
"@media (orientation: landscape)": {
|
|
2747
|
+
minHeight: 48
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
[e.up("sm")]: {
|
|
2751
|
+
minHeight: 64
|
|
2752
|
+
}
|
|
2753
|
+
}
|
|
2754
|
+
}, t);
|
|
2755
|
+
}
|
|
2756
|
+
var J = {}, dn = { exports: {} };
|
|
2757
|
+
(function(e) {
|
|
2758
|
+
function t(r) {
|
|
2759
|
+
return r && r.__esModule ? r : {
|
|
2760
|
+
default: r
|
|
2761
|
+
};
|
|
2762
|
+
}
|
|
2763
|
+
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
2764
|
+
})(dn);
|
|
2765
|
+
var pn = dn.exports;
|
|
2766
|
+
const ns = /* @__PURE__ */ _e(Pn), os = /* @__PURE__ */ _e(Pi);
|
|
2767
|
+
var yn = pn;
|
|
2768
|
+
Object.defineProperty(J, "__esModule", {
|
|
2769
|
+
value: !0
|
|
2770
|
+
});
|
|
2771
|
+
var Pa = J.alpha = bn;
|
|
2772
|
+
J.blend = hs;
|
|
2773
|
+
J.colorChannel = void 0;
|
|
2774
|
+
var is = J.darken = rr;
|
|
2775
|
+
J.decomposeColor = le;
|
|
2776
|
+
J.emphasize = vn;
|
|
2777
|
+
var wr = J.getContrastRatio = ls;
|
|
2778
|
+
J.getLuminance = dt;
|
|
2779
|
+
J.hexToRgb = mn;
|
|
2780
|
+
J.hslToRgb = gn;
|
|
2781
|
+
var ss = J.lighten = nr;
|
|
2782
|
+
J.private_safeAlpha = ds;
|
|
2783
|
+
J.private_safeColorChannel = void 0;
|
|
2784
|
+
J.private_safeDarken = ps;
|
|
2785
|
+
J.private_safeEmphasize = ms;
|
|
2786
|
+
J.private_safeLighten = ys;
|
|
2787
|
+
J.recomposeColor = ze;
|
|
2788
|
+
J.rgbToHex = fs;
|
|
2789
|
+
var Pr = yn(ns), as = yn(os);
|
|
2790
|
+
function tr(e, t = 0, r = 1) {
|
|
2791
|
+
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), (0, as.default)(e, t, r);
|
|
2792
|
+
}
|
|
2793
|
+
function mn(e) {
|
|
2794
|
+
e = e.slice(1);
|
|
2795
|
+
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2796
|
+
let r = e.match(t);
|
|
2797
|
+
return r && r[0].length === 1 && (r = r.map((n) => n + n)), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
2798
|
+
}
|
|
2799
|
+
function cs(e) {
|
|
2800
|
+
const t = e.toString(16);
|
|
2801
|
+
return t.length === 1 ? `0${t}` : t;
|
|
2802
|
+
}
|
|
2803
|
+
function le(e) {
|
|
2804
|
+
if (e.type)
|
|
2805
|
+
return e;
|
|
2806
|
+
if (e.charAt(0) === "#")
|
|
2807
|
+
return le(mn(e));
|
|
2808
|
+
const t = e.indexOf("("), r = e.substring(0, t);
|
|
2809
|
+
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(r) === -1)
|
|
2810
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2811
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, Pr.default)(9, e));
|
|
2812
|
+
let n = e.substring(t + 1, e.length - 1), o;
|
|
2813
|
+
if (r === "color") {
|
|
2814
|
+
if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(o) === -1)
|
|
2815
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
2816
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, Pr.default)(10, o));
|
|
2817
|
+
} else
|
|
2818
|
+
n = n.split(",");
|
|
2819
|
+
return n = n.map((i) => parseFloat(i)), {
|
|
2820
|
+
type: r,
|
|
2821
|
+
values: n,
|
|
2822
|
+
colorSpace: o
|
|
2823
|
+
};
|
|
2824
|
+
}
|
|
2825
|
+
const hn = (e) => {
|
|
2826
|
+
const t = le(e);
|
|
2827
|
+
return t.values.slice(0, 3).map((r, n) => t.type.indexOf("hsl") !== -1 && n !== 0 ? `${r}%` : r).join(" ");
|
|
2828
|
+
};
|
|
2829
|
+
J.colorChannel = hn;
|
|
2830
|
+
const us = (e, t) => {
|
|
2831
|
+
try {
|
|
2832
|
+
return hn(e);
|
|
2833
|
+
} catch {
|
|
2834
|
+
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
2835
|
+
}
|
|
2836
|
+
};
|
|
2837
|
+
J.private_safeColorChannel = us;
|
|
2838
|
+
function ze(e) {
|
|
2839
|
+
const {
|
|
2840
|
+
type: t,
|
|
2841
|
+
colorSpace: r
|
|
2842
|
+
} = e;
|
|
2843
|
+
let {
|
|
2844
|
+
values: n
|
|
2845
|
+
} = e;
|
|
2846
|
+
return t.indexOf("rgb") !== -1 ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : t.indexOf("hsl") !== -1 && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.indexOf("color") !== -1 ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
|
|
2847
|
+
}
|
|
2848
|
+
function fs(e) {
|
|
2849
|
+
if (e.indexOf("#") === 0)
|
|
2850
|
+
return e;
|
|
2851
|
+
const {
|
|
2852
|
+
values: t
|
|
2853
|
+
} = le(e);
|
|
2854
|
+
return `#${t.map((r, n) => cs(n === 3 ? Math.round(255 * r) : r)).join("")}`;
|
|
2855
|
+
}
|
|
2856
|
+
function gn(e) {
|
|
2857
|
+
e = le(e);
|
|
2858
|
+
const {
|
|
2859
|
+
values: t
|
|
2860
|
+
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, i = n * Math.min(o, 1 - o), s = (u, p = (u + r / 30) % 12) => o - i * Math.max(Math.min(p - 3, 9 - p, 1), -1);
|
|
2861
|
+
let a = "rgb";
|
|
2862
|
+
const c = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
2863
|
+
return e.type === "hsla" && (a += "a", c.push(t[3])), ze({
|
|
2864
|
+
type: a,
|
|
2865
|
+
values: c
|
|
2866
|
+
});
|
|
2867
|
+
}
|
|
2868
|
+
function dt(e) {
|
|
2869
|
+
e = le(e);
|
|
2870
|
+
let t = e.type === "hsl" || e.type === "hsla" ? le(gn(e)).values : e.values;
|
|
2871
|
+
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
2872
|
+
}
|
|
2873
|
+
function ls(e, t) {
|
|
2874
|
+
const r = dt(e), n = dt(t);
|
|
2875
|
+
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
2876
|
+
}
|
|
2877
|
+
function bn(e, t) {
|
|
2878
|
+
return e = le(e), t = tr(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, ze(e);
|
|
2879
|
+
}
|
|
2880
|
+
function ds(e, t, r) {
|
|
2881
|
+
try {
|
|
2882
|
+
return bn(e, t);
|
|
2883
|
+
} catch {
|
|
2884
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
function rr(e, t) {
|
|
2888
|
+
if (e = le(e), t = tr(t), e.type.indexOf("hsl") !== -1)
|
|
2889
|
+
e.values[2] *= 1 - t;
|
|
2890
|
+
else if (e.type.indexOf("rgb") !== -1 || e.type.indexOf("color") !== -1)
|
|
2891
|
+
for (let r = 0; r < 3; r += 1)
|
|
2892
|
+
e.values[r] *= 1 - t;
|
|
2893
|
+
return ze(e);
|
|
2894
|
+
}
|
|
2895
|
+
function ps(e, t, r) {
|
|
2896
|
+
try {
|
|
2897
|
+
return rr(e, t);
|
|
2898
|
+
} catch {
|
|
2899
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
function nr(e, t) {
|
|
2903
|
+
if (e = le(e), t = tr(t), e.type.indexOf("hsl") !== -1)
|
|
2904
|
+
e.values[2] += (100 - e.values[2]) * t;
|
|
2905
|
+
else if (e.type.indexOf("rgb") !== -1)
|
|
2906
|
+
for (let r = 0; r < 3; r += 1)
|
|
2907
|
+
e.values[r] += (255 - e.values[r]) * t;
|
|
2908
|
+
else if (e.type.indexOf("color") !== -1)
|
|
2909
|
+
for (let r = 0; r < 3; r += 1)
|
|
2910
|
+
e.values[r] += (1 - e.values[r]) * t;
|
|
2911
|
+
return ze(e);
|
|
2912
|
+
}
|
|
2913
|
+
function ys(e, t, r) {
|
|
2914
|
+
try {
|
|
2915
|
+
return nr(e, t);
|
|
2916
|
+
} catch {
|
|
2917
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2918
|
+
}
|
|
2919
|
+
}
|
|
2920
|
+
function vn(e, t = 0.15) {
|
|
2921
|
+
return dt(e) > 0.5 ? rr(e, t) : nr(e, t);
|
|
2922
|
+
}
|
|
2923
|
+
function ms(e, t, r) {
|
|
2924
|
+
try {
|
|
2925
|
+
return vn(e, t);
|
|
2926
|
+
} catch {
|
|
2927
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
function hs(e, t, r, n = 1) {
|
|
2931
|
+
const o = (c, u) => Math.round((c ** (1 / n) * (1 - r) + u ** (1 / n) * r) ** n), i = le(e), s = le(t), a = [o(i.values[0], s.values[0]), o(i.values[1], s.values[1]), o(i.values[2], s.values[2])];
|
|
2932
|
+
return ze({
|
|
2933
|
+
type: "rgb",
|
|
2934
|
+
values: a
|
|
2935
|
+
});
|
|
2936
|
+
}
|
|
2937
|
+
const He = {
|
|
2938
|
+
black: "#000",
|
|
2939
|
+
white: "#fff"
|
|
2940
|
+
}, gs = {
|
|
2941
|
+
50: "#fafafa",
|
|
2942
|
+
100: "#f5f5f5",
|
|
2943
|
+
200: "#eeeeee",
|
|
2944
|
+
300: "#e0e0e0",
|
|
2945
|
+
400: "#bdbdbd",
|
|
2946
|
+
500: "#9e9e9e",
|
|
2947
|
+
600: "#757575",
|
|
2948
|
+
700: "#616161",
|
|
2949
|
+
800: "#424242",
|
|
2950
|
+
900: "#212121",
|
|
2951
|
+
A100: "#f5f5f5",
|
|
2952
|
+
A200: "#eeeeee",
|
|
2953
|
+
A400: "#bdbdbd",
|
|
2954
|
+
A700: "#616161"
|
|
2955
|
+
}, Ae = {
|
|
2956
|
+
50: "#f3e5f5",
|
|
2957
|
+
100: "#e1bee7",
|
|
2958
|
+
200: "#ce93d8",
|
|
2959
|
+
300: "#ba68c8",
|
|
2960
|
+
400: "#ab47bc",
|
|
2961
|
+
500: "#9c27b0",
|
|
2962
|
+
600: "#8e24aa",
|
|
2963
|
+
700: "#7b1fa2",
|
|
2964
|
+
800: "#6a1b9a",
|
|
2965
|
+
900: "#4a148c",
|
|
2966
|
+
A100: "#ea80fc",
|
|
2967
|
+
A200: "#e040fb",
|
|
2968
|
+
A400: "#d500f9",
|
|
2969
|
+
A700: "#aa00ff"
|
|
2970
|
+
}, Ie = {
|
|
2971
|
+
50: "#ffebee",
|
|
2972
|
+
100: "#ffcdd2",
|
|
2973
|
+
200: "#ef9a9a",
|
|
2974
|
+
300: "#e57373",
|
|
2975
|
+
400: "#ef5350",
|
|
2976
|
+
500: "#f44336",
|
|
2977
|
+
600: "#e53935",
|
|
2978
|
+
700: "#d32f2f",
|
|
2979
|
+
800: "#c62828",
|
|
2980
|
+
900: "#b71c1c",
|
|
2981
|
+
A100: "#ff8a80",
|
|
2982
|
+
A200: "#ff5252",
|
|
2983
|
+
A400: "#ff1744",
|
|
2984
|
+
A700: "#d50000"
|
|
2985
|
+
}, qe = {
|
|
2986
|
+
50: "#fff3e0",
|
|
2987
|
+
100: "#ffe0b2",
|
|
2988
|
+
200: "#ffcc80",
|
|
2989
|
+
300: "#ffb74d",
|
|
2990
|
+
400: "#ffa726",
|
|
2991
|
+
500: "#ff9800",
|
|
2992
|
+
600: "#fb8c00",
|
|
2993
|
+
700: "#f57c00",
|
|
2994
|
+
800: "#ef6c00",
|
|
2995
|
+
900: "#e65100",
|
|
2996
|
+
A100: "#ffd180",
|
|
2997
|
+
A200: "#ffab40",
|
|
2998
|
+
A400: "#ff9100",
|
|
2999
|
+
A700: "#ff6d00"
|
|
3000
|
+
}, Me = {
|
|
3001
|
+
50: "#e3f2fd",
|
|
3002
|
+
100: "#bbdefb",
|
|
3003
|
+
200: "#90caf9",
|
|
3004
|
+
300: "#64b5f6",
|
|
3005
|
+
400: "#42a5f5",
|
|
3006
|
+
500: "#2196f3",
|
|
3007
|
+
600: "#1e88e5",
|
|
3008
|
+
700: "#1976d2",
|
|
3009
|
+
800: "#1565c0",
|
|
3010
|
+
900: "#0d47a1",
|
|
3011
|
+
A100: "#82b1ff",
|
|
3012
|
+
A200: "#448aff",
|
|
3013
|
+
A400: "#2979ff",
|
|
3014
|
+
A700: "#2962ff"
|
|
3015
|
+
}, ke = {
|
|
3016
|
+
50: "#e1f5fe",
|
|
3017
|
+
100: "#b3e5fc",
|
|
3018
|
+
200: "#81d4fa",
|
|
3019
|
+
300: "#4fc3f7",
|
|
3020
|
+
400: "#29b6f6",
|
|
3021
|
+
500: "#03a9f4",
|
|
3022
|
+
600: "#039be5",
|
|
3023
|
+
700: "#0288d1",
|
|
3024
|
+
800: "#0277bd",
|
|
3025
|
+
900: "#01579b",
|
|
3026
|
+
A100: "#80d8ff",
|
|
3027
|
+
A200: "#40c4ff",
|
|
3028
|
+
A400: "#00b0ff",
|
|
3029
|
+
A700: "#0091ea"
|
|
3030
|
+
}, je = {
|
|
3031
|
+
50: "#e8f5e9",
|
|
3032
|
+
100: "#c8e6c9",
|
|
3033
|
+
200: "#a5d6a7",
|
|
3034
|
+
300: "#81c784",
|
|
3035
|
+
400: "#66bb6a",
|
|
3036
|
+
500: "#4caf50",
|
|
3037
|
+
600: "#43a047",
|
|
3038
|
+
700: "#388e3c",
|
|
3039
|
+
800: "#2e7d32",
|
|
3040
|
+
900: "#1b5e20",
|
|
3041
|
+
A100: "#b9f6ca",
|
|
3042
|
+
A200: "#69f0ae",
|
|
3043
|
+
A400: "#00e676",
|
|
3044
|
+
A700: "#00c853"
|
|
3045
|
+
}, bs = ["mode", "contrastThreshold", "tonalOffset"], Rr = {
|
|
3046
|
+
// The colors used to style the text.
|
|
3047
|
+
text: {
|
|
3048
|
+
// The most important text.
|
|
3049
|
+
primary: "rgba(0, 0, 0, 0.87)",
|
|
3050
|
+
// Secondary text.
|
|
3051
|
+
secondary: "rgba(0, 0, 0, 0.6)",
|
|
3052
|
+
// Disabled text have even lower visual prominence.
|
|
3053
|
+
disabled: "rgba(0, 0, 0, 0.38)"
|
|
3054
|
+
},
|
|
3055
|
+
// The color used to divide different elements.
|
|
3056
|
+
divider: "rgba(0, 0, 0, 0.12)",
|
|
3057
|
+
// The background colors used to style the surfaces.
|
|
3058
|
+
// Consistency between these values is important.
|
|
3059
|
+
background: {
|
|
3060
|
+
paper: He.white,
|
|
3061
|
+
default: He.white
|
|
3062
|
+
},
|
|
3063
|
+
// The colors used to style the action elements.
|
|
3064
|
+
action: {
|
|
3065
|
+
// The color of an active action like an icon button.
|
|
3066
|
+
active: "rgba(0, 0, 0, 0.54)",
|
|
3067
|
+
// The color of an hovered action.
|
|
3068
|
+
hover: "rgba(0, 0, 0, 0.04)",
|
|
3069
|
+
hoverOpacity: 0.04,
|
|
3070
|
+
// The color of a selected action.
|
|
3071
|
+
selected: "rgba(0, 0, 0, 0.08)",
|
|
3072
|
+
selectedOpacity: 0.08,
|
|
3073
|
+
// The color of a disabled action.
|
|
3074
|
+
disabled: "rgba(0, 0, 0, 0.26)",
|
|
3075
|
+
// The background color of a disabled action.
|
|
3076
|
+
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
3077
|
+
disabledOpacity: 0.38,
|
|
3078
|
+
focus: "rgba(0, 0, 0, 0.12)",
|
|
3079
|
+
focusOpacity: 0.12,
|
|
3080
|
+
activatedOpacity: 0.12
|
|
3081
|
+
}
|
|
3082
|
+
}, Nt = {
|
|
3083
|
+
text: {
|
|
3084
|
+
primary: He.white,
|
|
3085
|
+
secondary: "rgba(255, 255, 255, 0.7)",
|
|
3086
|
+
disabled: "rgba(255, 255, 255, 0.5)",
|
|
3087
|
+
icon: "rgba(255, 255, 255, 0.5)"
|
|
3088
|
+
},
|
|
3089
|
+
divider: "rgba(255, 255, 255, 0.12)",
|
|
3090
|
+
background: {
|
|
3091
|
+
paper: "#121212",
|
|
3092
|
+
default: "#121212"
|
|
3093
|
+
},
|
|
3094
|
+
action: {
|
|
3095
|
+
active: He.white,
|
|
3096
|
+
hover: "rgba(255, 255, 255, 0.08)",
|
|
3097
|
+
hoverOpacity: 0.08,
|
|
3098
|
+
selected: "rgba(255, 255, 255, 0.16)",
|
|
3099
|
+
selectedOpacity: 0.16,
|
|
3100
|
+
disabled: "rgba(255, 255, 255, 0.3)",
|
|
3101
|
+
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
3102
|
+
disabledOpacity: 0.38,
|
|
3103
|
+
focus: "rgba(255, 255, 255, 0.12)",
|
|
3104
|
+
focusOpacity: 0.12,
|
|
3105
|
+
activatedOpacity: 0.24
|
|
3106
|
+
}
|
|
3107
|
+
};
|
|
3108
|
+
function Cr(e, t, r, n) {
|
|
3109
|
+
const o = n.light || n, i = n.dark || n * 1.5;
|
|
3110
|
+
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = ss(e.main, o) : t === "dark" && (e.dark = is(e.main, i)));
|
|
3111
|
+
}
|
|
3112
|
+
function vs(e = "light") {
|
|
3113
|
+
return e === "dark" ? {
|
|
3114
|
+
main: Me[200],
|
|
3115
|
+
light: Me[50],
|
|
3116
|
+
dark: Me[400]
|
|
3117
|
+
} : {
|
|
3118
|
+
main: Me[700],
|
|
3119
|
+
light: Me[400],
|
|
3120
|
+
dark: Me[800]
|
|
3121
|
+
};
|
|
3122
|
+
}
|
|
3123
|
+
function Es(e = "light") {
|
|
3124
|
+
return e === "dark" ? {
|
|
3125
|
+
main: Ae[200],
|
|
3126
|
+
light: Ae[50],
|
|
3127
|
+
dark: Ae[400]
|
|
3128
|
+
} : {
|
|
3129
|
+
main: Ae[500],
|
|
3130
|
+
light: Ae[300],
|
|
3131
|
+
dark: Ae[700]
|
|
3132
|
+
};
|
|
3133
|
+
}
|
|
3134
|
+
function _s(e = "light") {
|
|
3135
|
+
return e === "dark" ? {
|
|
3136
|
+
main: Ie[500],
|
|
3137
|
+
light: Ie[300],
|
|
3138
|
+
dark: Ie[700]
|
|
3139
|
+
} : {
|
|
3140
|
+
main: Ie[700],
|
|
3141
|
+
light: Ie[400],
|
|
3142
|
+
dark: Ie[800]
|
|
3143
|
+
};
|
|
3144
|
+
}
|
|
3145
|
+
function Ss(e = "light") {
|
|
3146
|
+
return e === "dark" ? {
|
|
3147
|
+
main: ke[400],
|
|
3148
|
+
light: ke[300],
|
|
3149
|
+
dark: ke[700]
|
|
3150
|
+
} : {
|
|
3151
|
+
main: ke[700],
|
|
3152
|
+
light: ke[500],
|
|
3153
|
+
dark: ke[900]
|
|
3154
|
+
};
|
|
3155
|
+
}
|
|
3156
|
+
function xs(e = "light") {
|
|
3157
|
+
return e === "dark" ? {
|
|
3158
|
+
main: je[400],
|
|
3159
|
+
light: je[300],
|
|
3160
|
+
dark: je[700]
|
|
3161
|
+
} : {
|
|
3162
|
+
main: je[800],
|
|
3163
|
+
light: je[500],
|
|
3164
|
+
dark: je[900]
|
|
3165
|
+
};
|
|
3166
|
+
}
|
|
3167
|
+
function Ts(e = "light") {
|
|
3168
|
+
return e === "dark" ? {
|
|
3169
|
+
main: qe[400],
|
|
3170
|
+
light: qe[300],
|
|
3171
|
+
dark: qe[700]
|
|
3172
|
+
} : {
|
|
3173
|
+
main: "#ed6c02",
|
|
3174
|
+
// closest to orange[800] that pass 3:1.
|
|
3175
|
+
light: qe[500],
|
|
3176
|
+
dark: qe[900]
|
|
3177
|
+
};
|
|
3178
|
+
}
|
|
3179
|
+
function Os(e) {
|
|
3180
|
+
const {
|
|
3181
|
+
mode: t = "light",
|
|
3182
|
+
contrastThreshold: r = 3,
|
|
3183
|
+
tonalOffset: n = 0.2
|
|
3184
|
+
} = e, o = Oe(e, bs), i = e.primary || vs(t), s = e.secondary || Es(t), a = e.error || _s(t), c = e.info || Ss(t), u = e.success || xs(t), p = e.warning || Ts(t);
|
|
3185
|
+
function m(d) {
|
|
3186
|
+
const f = wr(d, Nt.text.primary) >= r ? Nt.text.primary : Rr.text.primary;
|
|
3187
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3188
|
+
const _ = wr(d, f);
|
|
3189
|
+
_ < 3 && console.error([`MUI: The contrast ratio of ${_}:1 for ${f} on ${d}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
3190
|
+
`));
|
|
3191
|
+
}
|
|
3192
|
+
return f;
|
|
3193
|
+
}
|
|
3194
|
+
const l = ({
|
|
3195
|
+
color: d,
|
|
3196
|
+
name: f,
|
|
3197
|
+
mainShade: _ = 500,
|
|
3198
|
+
lightShade: k = 300,
|
|
3199
|
+
darkShade: $ = 700
|
|
3200
|
+
}) => {
|
|
3201
|
+
if (d = U({}, d), !d.main && d[_] && (d.main = d[_]), !d.hasOwnProperty("main"))
|
|
3202
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${f ? ` (${f})` : ""} provided to augmentColor(color) is invalid.
|
|
3203
|
+
The color object needs to have a \`main\` property or a \`${_}\` property.` : Ye(11, f ? ` (${f})` : "", _));
|
|
3204
|
+
if (typeof d.main != "string")
|
|
3205
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${f ? ` (${f})` : ""} provided to augmentColor(color) is invalid.
|
|
3206
|
+
\`color.main\` should be a string, but \`${JSON.stringify(d.main)}\` was provided instead.
|
|
3207
|
+
|
|
3208
|
+
Did you intend to use one of the following approaches?
|
|
3209
|
+
|
|
3210
|
+
import { green } from "@mui/material/colors";
|
|
3211
|
+
|
|
3212
|
+
const theme1 = createTheme({ palette: {
|
|
3213
|
+
primary: green,
|
|
3214
|
+
} });
|
|
3215
|
+
|
|
3216
|
+
const theme2 = createTheme({ palette: {
|
|
3217
|
+
primary: { main: green[500] },
|
|
3218
|
+
} });` : Ye(12, f ? ` (${f})` : "", JSON.stringify(d.main)));
|
|
3219
|
+
return Cr(d, "light", k, n), Cr(d, "dark", $, n), d.contrastText || (d.contrastText = m(d.main)), d;
|
|
3220
|
+
}, b = {
|
|
3221
|
+
dark: Nt,
|
|
3222
|
+
light: Rr
|
|
3223
|
+
};
|
|
3224
|
+
return process.env.NODE_ENV !== "production" && (b[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), ge(U({
|
|
3225
|
+
// A collection of common colors.
|
|
3226
|
+
common: U({}, He),
|
|
3227
|
+
// prevent mutable object.
|
|
3228
|
+
// The palette mode, can be light or dark.
|
|
3229
|
+
mode: t,
|
|
3230
|
+
// The colors used to represent primary interface elements for a user.
|
|
3231
|
+
primary: l({
|
|
3232
|
+
color: i,
|
|
3233
|
+
name: "primary"
|
|
3234
|
+
}),
|
|
3235
|
+
// The colors used to represent secondary interface elements for a user.
|
|
3236
|
+
secondary: l({
|
|
3237
|
+
color: s,
|
|
3238
|
+
name: "secondary",
|
|
3239
|
+
mainShade: "A400",
|
|
3240
|
+
lightShade: "A200",
|
|
3241
|
+
darkShade: "A700"
|
|
3242
|
+
}),
|
|
3243
|
+
// The colors used to represent interface elements that the user should be made aware of.
|
|
3244
|
+
error: l({
|
|
3245
|
+
color: a,
|
|
3246
|
+
name: "error"
|
|
3247
|
+
}),
|
|
3248
|
+
// The colors used to represent potentially dangerous actions or important messages.
|
|
3249
|
+
warning: l({
|
|
3250
|
+
color: p,
|
|
3251
|
+
name: "warning"
|
|
3252
|
+
}),
|
|
3253
|
+
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
3254
|
+
info: l({
|
|
3255
|
+
color: c,
|
|
3256
|
+
name: "info"
|
|
3257
|
+
}),
|
|
3258
|
+
// The colors used to indicate the successful completion of an action that user triggered.
|
|
3259
|
+
success: l({
|
|
3260
|
+
color: u,
|
|
3261
|
+
name: "success"
|
|
3262
|
+
}),
|
|
3263
|
+
// The grey colors.
|
|
3264
|
+
grey: gs,
|
|
3265
|
+
// Used by `getContrastText()` to maximize the contrast between
|
|
3266
|
+
// the background and the text.
|
|
3267
|
+
contrastThreshold: r,
|
|
3268
|
+
// Takes a background color and returns the text color that maximizes the contrast.
|
|
3269
|
+
getContrastText: m,
|
|
3270
|
+
// Generate a rich color object.
|
|
3271
|
+
augmentColor: l,
|
|
3272
|
+
// Used by the functions below to shift a color's luminance by approximately
|
|
3273
|
+
// two indexes within its tonal palette.
|
|
3274
|
+
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
3275
|
+
tonalOffset: n
|
|
3276
|
+
}, b[t]), o);
|
|
3277
|
+
}
|
|
3278
|
+
const $s = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
3279
|
+
function ws(e) {
|
|
3280
|
+
return Math.round(e * 1e5) / 1e5;
|
|
3281
|
+
}
|
|
3282
|
+
const Ar = {
|
|
3283
|
+
textTransform: "uppercase"
|
|
3284
|
+
}, Ir = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
3285
|
+
function Ps(e, t) {
|
|
3286
|
+
const r = typeof t == "function" ? t(e) : t, {
|
|
3287
|
+
fontFamily: n = Ir,
|
|
3288
|
+
// The default font size of the Material Specification.
|
|
3289
|
+
fontSize: o = 14,
|
|
3290
|
+
// px
|
|
3291
|
+
fontWeightLight: i = 300,
|
|
3292
|
+
fontWeightRegular: s = 400,
|
|
3293
|
+
fontWeightMedium: a = 500,
|
|
3294
|
+
fontWeightBold: c = 700,
|
|
3295
|
+
// Tell MUI what's the font-size on the html element.
|
|
3296
|
+
// 16px is the default font-size used by browsers.
|
|
3297
|
+
htmlFontSize: u = 16,
|
|
3298
|
+
// Apply the CSS properties to all the variants.
|
|
3299
|
+
allVariants: p,
|
|
3300
|
+
pxToRem: m
|
|
3301
|
+
} = r, l = Oe(r, $s);
|
|
3302
|
+
process.env.NODE_ENV !== "production" && (typeof o != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof u != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
3303
|
+
const b = o / 14, g = m || ((_) => `${_ / u * b}rem`), d = (_, k, $, F, y) => U({
|
|
3304
|
+
fontFamily: n,
|
|
3305
|
+
fontWeight: _,
|
|
3306
|
+
fontSize: g(k),
|
|
3307
|
+
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
3308
|
+
lineHeight: $
|
|
3309
|
+
}, n === Ir ? {
|
|
3310
|
+
letterSpacing: `${ws(F / k)}em`
|
|
3311
|
+
} : {}, y, p), f = {
|
|
3312
|
+
h1: d(i, 96, 1.167, -1.5),
|
|
3313
|
+
h2: d(i, 60, 1.2, -0.5),
|
|
3314
|
+
h3: d(s, 48, 1.167, 0),
|
|
3315
|
+
h4: d(s, 34, 1.235, 0.25),
|
|
3316
|
+
h5: d(s, 24, 1.334, 0),
|
|
3317
|
+
h6: d(a, 20, 1.6, 0.15),
|
|
3318
|
+
subtitle1: d(s, 16, 1.75, 0.15),
|
|
3319
|
+
subtitle2: d(a, 14, 1.57, 0.1),
|
|
3320
|
+
body1: d(s, 16, 1.5, 0.15),
|
|
3321
|
+
body2: d(s, 14, 1.43, 0.15),
|
|
3322
|
+
button: d(a, 14, 1.75, 0.4, Ar),
|
|
3323
|
+
caption: d(s, 12, 1.66, 0.4),
|
|
3324
|
+
overline: d(s, 12, 2.66, 1, Ar),
|
|
3325
|
+
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
3326
|
+
inherit: {
|
|
3327
|
+
fontFamily: "inherit",
|
|
3328
|
+
fontWeight: "inherit",
|
|
3329
|
+
fontSize: "inherit",
|
|
3330
|
+
lineHeight: "inherit",
|
|
3331
|
+
letterSpacing: "inherit"
|
|
3332
|
+
}
|
|
3333
|
+
};
|
|
3334
|
+
return ge(U({
|
|
3335
|
+
htmlFontSize: u,
|
|
3336
|
+
pxToRem: g,
|
|
3337
|
+
fontFamily: n,
|
|
3338
|
+
fontSize: o,
|
|
3339
|
+
fontWeightLight: i,
|
|
3340
|
+
fontWeightRegular: s,
|
|
3341
|
+
fontWeightMedium: a,
|
|
3342
|
+
fontWeightBold: c
|
|
3343
|
+
}, f), l, {
|
|
3344
|
+
clone: !1
|
|
3345
|
+
// No need to clone deep
|
|
3346
|
+
});
|
|
3347
|
+
}
|
|
3348
|
+
const Rs = 0.2, Cs = 0.14, As = 0.12;
|
|
3349
|
+
function Y(...e) {
|
|
3350
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Rs})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Cs})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${As})`].join(",");
|
|
3351
|
+
}
|
|
3352
|
+
const Is = ["none", Y(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), Y(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), Y(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), Y(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), Y(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), Y(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), Y(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), Y(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), Y(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), Y(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), Y(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), Y(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), Y(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), Y(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), Y(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), Y(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), Y(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), Y(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), Y(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), Y(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), Y(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), Y(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), Y(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), Y(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Ms = ["duration", "easing", "delay"], ks = {
|
|
3353
|
+
// This is the most common easing curve.
|
|
3354
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
3355
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
3356
|
+
// slowly decelerate to a resting point.
|
|
3357
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
3358
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
3359
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
3360
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
3361
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
3362
|
+
}, js = {
|
|
3363
|
+
shortest: 150,
|
|
3364
|
+
shorter: 200,
|
|
3365
|
+
short: 250,
|
|
3366
|
+
// most basic recommended timing
|
|
3367
|
+
standard: 300,
|
|
3368
|
+
// this is to be used in complex animations
|
|
3369
|
+
complex: 375,
|
|
3370
|
+
// recommended when something is entering screen
|
|
3371
|
+
enteringScreen: 225,
|
|
3372
|
+
// recommended when something is leaving screen
|
|
3373
|
+
leavingScreen: 195
|
|
3374
|
+
};
|
|
3375
|
+
function Mr(e) {
|
|
3376
|
+
return `${Math.round(e)}ms`;
|
|
3377
|
+
}
|
|
3378
|
+
function Ns(e) {
|
|
3379
|
+
if (!e)
|
|
3380
|
+
return 0;
|
|
3381
|
+
const t = e / 36;
|
|
3382
|
+
return Math.round((4 + 15 * t ** 0.25 + t / 5) * 10);
|
|
3383
|
+
}
|
|
3384
|
+
function Ds(e) {
|
|
3385
|
+
const t = U({}, ks, e.easing), r = U({}, js, e.duration);
|
|
3386
|
+
return U({
|
|
3387
|
+
getAutoHeightDuration: Ns,
|
|
3388
|
+
create: (o = ["all"], i = {}) => {
|
|
3389
|
+
const {
|
|
3390
|
+
duration: s = r.standard,
|
|
3391
|
+
easing: a = t.easeInOut,
|
|
3392
|
+
delay: c = 0
|
|
3393
|
+
} = i, u = Oe(i, Ms);
|
|
3394
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3395
|
+
const p = (l) => typeof l == "string", m = (l) => !isNaN(parseFloat(l));
|
|
3396
|
+
!p(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(s) && !p(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), p(a) || console.error('MUI: Argument "easing" must be a string.'), !m(c) && !p(c) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
3397
|
+
`)), Object.keys(u).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`);
|
|
3398
|
+
}
|
|
3399
|
+
return (Array.isArray(o) ? o : [o]).map((p) => `${p} ${typeof s == "string" ? s : Mr(s)} ${a} ${typeof c == "string" ? c : Mr(c)}`).join(",");
|
|
3400
|
+
}
|
|
3401
|
+
}, e, {
|
|
3402
|
+
easing: t,
|
|
3403
|
+
duration: r
|
|
3404
|
+
});
|
|
3405
|
+
}
|
|
3406
|
+
const Fs = {
|
|
3407
|
+
mobileStepper: 1e3,
|
|
3408
|
+
fab: 1050,
|
|
3409
|
+
speedDial: 1050,
|
|
3410
|
+
appBar: 1100,
|
|
3411
|
+
drawer: 1200,
|
|
3412
|
+
modal: 1300,
|
|
3413
|
+
snackbar: 1400,
|
|
3414
|
+
tooltip: 1500
|
|
3415
|
+
}, Ls = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
3416
|
+
function zs(e = {}, ...t) {
|
|
3417
|
+
const {
|
|
3418
|
+
mixins: r = {},
|
|
3419
|
+
palette: n = {},
|
|
3420
|
+
transitions: o = {},
|
|
3421
|
+
typography: i = {}
|
|
3422
|
+
} = e, s = Oe(e, Ls);
|
|
3423
|
+
if (e.vars)
|
|
3424
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : Ye(18));
|
|
3425
|
+
const a = Os(n), c = nn(e);
|
|
3426
|
+
let u = ge(c, {
|
|
3427
|
+
mixins: rs(c.breakpoints, r),
|
|
3428
|
+
palette: a,
|
|
3429
|
+
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
3430
|
+
shadows: Is.slice(),
|
|
3431
|
+
typography: Ps(a, i),
|
|
3432
|
+
transitions: Ds(o),
|
|
3433
|
+
zIndex: U({}, Fs)
|
|
3434
|
+
});
|
|
3435
|
+
if (u = ge(u, s), u = t.reduce((p, m) => ge(p, m), u), process.env.NODE_ENV !== "production") {
|
|
3436
|
+
const p = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (l, b) => {
|
|
3437
|
+
let g;
|
|
3438
|
+
for (g in l) {
|
|
3439
|
+
const d = l[g];
|
|
3440
|
+
if (p.indexOf(g) !== -1 && Object.keys(d).length > 0) {
|
|
3441
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3442
|
+
const f = er("", g);
|
|
3443
|
+
console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${g}\` internal state.`, "You can not override it like this: ", JSON.stringify(l, null, 2), "", `Instead, you need to use the '&.${f}' syntax:`, JSON.stringify({
|
|
3444
|
+
root: {
|
|
3445
|
+
[`&.${f}`]: d
|
|
3446
|
+
}
|
|
3447
|
+
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
3448
|
+
`));
|
|
3449
|
+
}
|
|
3450
|
+
l[g] = {};
|
|
3451
|
+
}
|
|
3452
|
+
}
|
|
3453
|
+
};
|
|
3454
|
+
Object.keys(u.components).forEach((l) => {
|
|
3455
|
+
const b = u.components[l].styleOverrides;
|
|
3456
|
+
b && l.indexOf("Mui") === 0 && m(b, l);
|
|
3457
|
+
});
|
|
3458
|
+
}
|
|
3459
|
+
return u.unstable_sxConfig = U({}, Qe, s == null ? void 0 : s.unstable_sxConfig), u.unstable_sx = function(m) {
|
|
3460
|
+
return Ot({
|
|
3461
|
+
sx: m,
|
|
3462
|
+
theme: this
|
|
3463
|
+
});
|
|
3464
|
+
}, u;
|
|
3465
|
+
}
|
|
3466
|
+
const Vs = zs();
|
|
3467
|
+
var et = {}, Dt = { exports: {} }, kr;
|
|
3468
|
+
function Ws() {
|
|
3469
|
+
return kr || (kr = 1, function(e) {
|
|
3470
|
+
function t() {
|
|
3471
|
+
return e.exports = t = Object.assign ? Object.assign.bind() : function(r) {
|
|
3472
|
+
for (var n = 1; n < arguments.length; n++) {
|
|
3473
|
+
var o = arguments[n];
|
|
3474
|
+
for (var i in o) ({}).hasOwnProperty.call(o, i) && (r[i] = o[i]);
|
|
3475
|
+
}
|
|
3476
|
+
return r;
|
|
3477
|
+
}, e.exports.__esModule = !0, e.exports.default = e.exports, t.apply(null, arguments);
|
|
3478
|
+
}
|
|
3479
|
+
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
3480
|
+
}(Dt)), Dt.exports;
|
|
3481
|
+
}
|
|
3482
|
+
var Ft = { exports: {} }, jr;
|
|
3483
|
+
function qs() {
|
|
3484
|
+
return jr || (jr = 1, function(e) {
|
|
3485
|
+
function t(r, n) {
|
|
3486
|
+
if (r == null) return {};
|
|
3487
|
+
var o = {};
|
|
3488
|
+
for (var i in r) if ({}.hasOwnProperty.call(r, i)) {
|
|
3489
|
+
if (n.includes(i)) continue;
|
|
3490
|
+
o[i] = r[i];
|
|
3491
|
+
}
|
|
3492
|
+
return o;
|
|
3493
|
+
}
|
|
3494
|
+
e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
|
|
3495
|
+
}(Ft)), Ft.exports;
|
|
3496
|
+
}
|
|
3497
|
+
const Us = /* @__PURE__ */ _e(vo), Bs = /* @__PURE__ */ _e(Eo), Ys = /* @__PURE__ */ _e($o), Ks = /* @__PURE__ */ _e($i), Gs = /* @__PURE__ */ _e(pi), Hs = /* @__PURE__ */ _e(gi);
|
|
3498
|
+
var Ve = pn;
|
|
3499
|
+
Object.defineProperty(et, "__esModule", {
|
|
3500
|
+
value: !0
|
|
3501
|
+
});
|
|
3502
|
+
var Xs = et.default = fa;
|
|
3503
|
+
et.shouldForwardProp = ct;
|
|
3504
|
+
et.systemDefaultTheme = void 0;
|
|
3505
|
+
var ue = Ve(Ws()), Kt = Ve(qs()), Nr = ia(Us), Js = Bs, Zs = Ve(Ys), Qs = Ve(Ks), ea = Ve(Gs), ta = Ve(Hs);
|
|
3506
|
+
const ra = ["ownerState"], na = ["variants"], oa = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
3507
|
+
function En(e) {
|
|
3508
|
+
if (typeof WeakMap != "function") return null;
|
|
3509
|
+
var t = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
|
|
3510
|
+
return (En = function(n) {
|
|
3511
|
+
return n ? r : t;
|
|
3512
|
+
})(e);
|
|
3513
|
+
}
|
|
3514
|
+
function ia(e, t) {
|
|
3515
|
+
if (e && e.__esModule) return e;
|
|
3516
|
+
if (e === null || typeof e != "object" && typeof e != "function") return { default: e };
|
|
3517
|
+
var r = En(t);
|
|
3518
|
+
if (r && r.has(e)) return r.get(e);
|
|
3519
|
+
var n = { __proto__: null }, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
3520
|
+
for (var i in e) if (i !== "default" && Object.prototype.hasOwnProperty.call(e, i)) {
|
|
3521
|
+
var s = o ? Object.getOwnPropertyDescriptor(e, i) : null;
|
|
3522
|
+
s && (s.get || s.set) ? Object.defineProperty(n, i, s) : n[i] = e[i];
|
|
3523
|
+
}
|
|
3524
|
+
return n.default = e, r && r.set(e, n), n;
|
|
3525
|
+
}
|
|
3526
|
+
function sa(e) {
|
|
3527
|
+
return Object.keys(e).length === 0;
|
|
3528
|
+
}
|
|
3529
|
+
function aa(e) {
|
|
3530
|
+
return typeof e == "string" && // 96 is one less than the char code
|
|
3531
|
+
// for "a" so this is checking that
|
|
3532
|
+
// it's a lowercase character
|
|
3533
|
+
e.charCodeAt(0) > 96;
|
|
3534
|
+
}
|
|
3535
|
+
function ct(e) {
|
|
3536
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3537
|
+
}
|
|
3538
|
+
const ca = et.systemDefaultTheme = (0, ea.default)(), Dr = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
3539
|
+
function ot({
|
|
3540
|
+
defaultTheme: e,
|
|
3541
|
+
theme: t,
|
|
3542
|
+
themeId: r
|
|
3543
|
+
}) {
|
|
3544
|
+
return sa(t) ? e : t[r] || t;
|
|
3545
|
+
}
|
|
3546
|
+
function ua(e) {
|
|
3547
|
+
return e ? (t, r) => r[e] : null;
|
|
3548
|
+
}
|
|
3549
|
+
function ut(e, t) {
|
|
3550
|
+
let {
|
|
3551
|
+
ownerState: r
|
|
3552
|
+
} = t, n = (0, Kt.default)(t, ra);
|
|
3553
|
+
const o = typeof e == "function" ? e((0, ue.default)({
|
|
3554
|
+
ownerState: r
|
|
3555
|
+
}, n)) : e;
|
|
3556
|
+
if (Array.isArray(o))
|
|
3557
|
+
return o.flatMap((i) => ut(i, (0, ue.default)({
|
|
3558
|
+
ownerState: r
|
|
3559
|
+
}, n)));
|
|
3560
|
+
if (o && typeof o == "object" && Array.isArray(o.variants)) {
|
|
3561
|
+
const {
|
|
3562
|
+
variants: i = []
|
|
3563
|
+
} = o;
|
|
3564
|
+
let a = (0, Kt.default)(o, na);
|
|
3565
|
+
return i.forEach((c) => {
|
|
3566
|
+
let u = !0;
|
|
3567
|
+
typeof c.props == "function" ? u = c.props((0, ue.default)({
|
|
3568
|
+
ownerState: r
|
|
3569
|
+
}, n, r)) : Object.keys(c.props).forEach((p) => {
|
|
3570
|
+
(r == null ? void 0 : r[p]) !== c.props[p] && n[p] !== c.props[p] && (u = !1);
|
|
3571
|
+
}), u && (Array.isArray(a) || (a = [a]), a.push(typeof c.style == "function" ? c.style((0, ue.default)({
|
|
3572
|
+
ownerState: r
|
|
3573
|
+
}, n, r)) : c.style));
|
|
3574
|
+
}), a;
|
|
3575
|
+
}
|
|
3576
|
+
return o;
|
|
3577
|
+
}
|
|
3578
|
+
function fa(e = {}) {
|
|
3579
|
+
const {
|
|
3580
|
+
themeId: t,
|
|
3581
|
+
defaultTheme: r = ca,
|
|
3582
|
+
rootShouldForwardProp: n = ct,
|
|
3583
|
+
slotShouldForwardProp: o = ct
|
|
3584
|
+
} = e, i = (s) => (0, ta.default)((0, ue.default)({}, s, {
|
|
3585
|
+
theme: ot((0, ue.default)({}, s, {
|
|
3586
|
+
defaultTheme: r,
|
|
3587
|
+
themeId: t
|
|
3588
|
+
}))
|
|
3589
|
+
}));
|
|
3590
|
+
return i.__mui_systemSx = !0, (s, a = {}) => {
|
|
3591
|
+
(0, Nr.internal_processStyles)(s, (y) => y.filter((L) => !(L != null && L.__mui_systemSx)));
|
|
3592
|
+
const {
|
|
3593
|
+
name: c,
|
|
3594
|
+
slot: u,
|
|
3595
|
+
skipVariantsResolver: p,
|
|
3596
|
+
skipSx: m,
|
|
3597
|
+
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
3598
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
3599
|
+
overridesResolver: l = ua(Dr(u))
|
|
3600
|
+
} = a, b = (0, Kt.default)(a, oa), g = p !== void 0 ? p : (
|
|
3601
|
+
// TODO v6: remove `Root` in the next major release
|
|
3602
|
+
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
3603
|
+
u && u !== "Root" && u !== "root" || !1
|
|
3604
|
+
), d = m || !1;
|
|
3605
|
+
let f;
|
|
3606
|
+
process.env.NODE_ENV !== "production" && c && (f = `${c}-${Dr(u || "Root")}`);
|
|
3607
|
+
let _ = ct;
|
|
3608
|
+
u === "Root" || u === "root" ? _ = n : u ? _ = o : aa(s) && (_ = void 0);
|
|
3609
|
+
const k = (0, Nr.default)(s, (0, ue.default)({
|
|
3610
|
+
shouldForwardProp: _,
|
|
3611
|
+
label: f
|
|
3612
|
+
}, b)), $ = (y) => typeof y == "function" && y.__emotion_real !== y || (0, Js.isPlainObject)(y) ? (L) => ut(y, (0, ue.default)({}, L, {
|
|
3613
|
+
theme: ot({
|
|
3614
|
+
theme: L.theme,
|
|
3615
|
+
defaultTheme: r,
|
|
3616
|
+
themeId: t
|
|
3617
|
+
})
|
|
3618
|
+
})) : y, F = (y, ...L) => {
|
|
3619
|
+
let C = $(y);
|
|
3620
|
+
const pe = L ? L.map($) : [];
|
|
3621
|
+
c && l && pe.push((H) => {
|
|
3622
|
+
const ee = ot((0, ue.default)({}, H, {
|
|
3623
|
+
defaultTheme: r,
|
|
3624
|
+
themeId: t
|
|
3625
|
+
}));
|
|
3626
|
+
if (!ee.components || !ee.components[c] || !ee.components[c].styleOverrides)
|
|
3627
|
+
return null;
|
|
3628
|
+
const ye = ee.components[c].styleOverrides, ie = {};
|
|
3629
|
+
return Object.entries(ye).forEach(([we, ne]) => {
|
|
3630
|
+
ie[we] = ut(ne, (0, ue.default)({}, H, {
|
|
3631
|
+
theme: ee
|
|
3632
|
+
}));
|
|
3633
|
+
}), l(H, ie);
|
|
3634
|
+
}), c && !g && pe.push((H) => {
|
|
3635
|
+
var ee;
|
|
3636
|
+
const ye = ot((0, ue.default)({}, H, {
|
|
3637
|
+
defaultTheme: r,
|
|
3638
|
+
themeId: t
|
|
3639
|
+
})), ie = ye == null || (ee = ye.components) == null || (ee = ee[c]) == null ? void 0 : ee.variants;
|
|
3640
|
+
return ut({
|
|
3641
|
+
variants: ie
|
|
3642
|
+
}, (0, ue.default)({}, H, {
|
|
3643
|
+
theme: ye
|
|
3644
|
+
}));
|
|
3645
|
+
}), d || pe.push(i);
|
|
3646
|
+
const Se = pe.length - L.length;
|
|
3647
|
+
if (Array.isArray(y) && Se > 0) {
|
|
3648
|
+
const H = new Array(Se).fill("");
|
|
3649
|
+
C = [...y, ...H], C.raw = [...y.raw, ...H];
|
|
3650
|
+
}
|
|
3651
|
+
const be = k(C, ...pe);
|
|
3652
|
+
if (process.env.NODE_ENV !== "production") {
|
|
3653
|
+
let H;
|
|
3654
|
+
c && (H = `${c}${(0, Zs.default)(u || "")}`), H === void 0 && (H = `Styled(${(0, Qs.default)(s)})`), be.displayName = H;
|
|
3655
|
+
}
|
|
3656
|
+
return s.muiName && (be.muiName = s.muiName), be;
|
|
3657
|
+
};
|
|
3658
|
+
return k.withConfig && (F.withConfig = k.withConfig), F;
|
|
3659
|
+
};
|
|
3660
|
+
}
|
|
3661
|
+
function la(e) {
|
|
3662
|
+
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
3663
|
+
}
|
|
3664
|
+
const da = (e) => la(e) && e !== "classes", pa = Xs({
|
|
3665
|
+
themeId: Rn,
|
|
3666
|
+
defaultTheme: Vs,
|
|
3667
|
+
rootShouldForwardProp: da
|
|
3668
|
+
}), ya = 8, Ra = {
|
|
3669
|
+
XS: 320,
|
|
3670
|
+
SM: 600,
|
|
3671
|
+
MD: 960,
|
|
3672
|
+
LG: 1280,
|
|
3673
|
+
XL: 1600
|
|
3674
|
+
}, Pt = en(ya), Ca = Pt(1.5), Aa = Pt(2.25), Ia = Pt(3), Ma = Pt(6);
|
|
3675
|
+
process.env.NODE_ENV !== "production" && (T.node, T.object.isRequired);
|
|
3676
|
+
function ma(e) {
|
|
3677
|
+
return ts(e);
|
|
3678
|
+
}
|
|
3679
|
+
function ha(e) {
|
|
3680
|
+
return er("MuiSvgIcon", e);
|
|
3681
|
+
}
|
|
3682
|
+
_i("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
3683
|
+
const ga = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], ba = (e) => {
|
|
3684
|
+
const {
|
|
3685
|
+
color: t,
|
|
3686
|
+
fontSize: r,
|
|
3687
|
+
classes: n
|
|
3688
|
+
} = e, o = {
|
|
3689
|
+
root: ["root", t !== "inherit" && `color${Te(t)}`, `fontSize${Te(r)}`]
|
|
3690
|
+
};
|
|
3691
|
+
return Zi(o, ha, n);
|
|
3692
|
+
}, va = pa("svg", {
|
|
3693
|
+
name: "MuiSvgIcon",
|
|
3694
|
+
slot: "Root",
|
|
3695
|
+
overridesResolver: (e, t) => {
|
|
3696
|
+
const {
|
|
3697
|
+
ownerState: r
|
|
3698
|
+
} = e;
|
|
3699
|
+
return [t.root, r.color !== "inherit" && t[`color${Te(r.color)}`], t[`fontSize${Te(r.fontSize)}`]];
|
|
3700
|
+
}
|
|
3701
|
+
})(({
|
|
3702
|
+
theme: e,
|
|
3703
|
+
ownerState: t
|
|
3704
|
+
}) => {
|
|
3705
|
+
var r, n, o, i, s, a, c, u, p, m, l, b, g;
|
|
3706
|
+
return {
|
|
3707
|
+
userSelect: "none",
|
|
3708
|
+
width: "1em",
|
|
3709
|
+
height: "1em",
|
|
3710
|
+
display: "inline-block",
|
|
3711
|
+
// the <svg> will define the property that has `currentColor`
|
|
3712
|
+
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
3713
|
+
fill: t.hasSvgAsChild ? void 0 : "currentColor",
|
|
3714
|
+
flexShrink: 0,
|
|
3715
|
+
transition: (r = e.transitions) == null || (n = r.create) == null ? void 0 : n.call(r, "fill", {
|
|
3716
|
+
duration: (o = e.transitions) == null || (o = o.duration) == null ? void 0 : o.shorter
|
|
3717
|
+
}),
|
|
3718
|
+
fontSize: {
|
|
3719
|
+
inherit: "inherit",
|
|
3720
|
+
small: ((i = e.typography) == null || (s = i.pxToRem) == null ? void 0 : s.call(i, 20)) || "1.25rem",
|
|
3721
|
+
medium: ((a = e.typography) == null || (c = a.pxToRem) == null ? void 0 : c.call(a, 24)) || "1.5rem",
|
|
3722
|
+
large: ((u = e.typography) == null || (p = u.pxToRem) == null ? void 0 : p.call(u, 35)) || "2.1875rem"
|
|
3723
|
+
}[t.fontSize],
|
|
3724
|
+
// TODO v5 deprecate, v6 remove for sx
|
|
3725
|
+
color: (m = (l = (e.vars || e).palette) == null || (l = l[t.color]) == null ? void 0 : l.main) != null ? m : {
|
|
3726
|
+
action: (b = (e.vars || e).palette) == null || (b = b.action) == null ? void 0 : b.active,
|
|
3727
|
+
disabled: (g = (e.vars || e).palette) == null || (g = g.action) == null ? void 0 : g.disabled,
|
|
3728
|
+
inherit: void 0
|
|
3729
|
+
}[t.color]
|
|
3730
|
+
};
|
|
3731
|
+
}), pt = /* @__PURE__ */ B.forwardRef(function(t, r) {
|
|
3732
|
+
const n = ma({
|
|
3733
|
+
props: t,
|
|
3734
|
+
name: "MuiSvgIcon"
|
|
3735
|
+
}), {
|
|
3736
|
+
children: o,
|
|
3737
|
+
className: i,
|
|
3738
|
+
color: s = "inherit",
|
|
3739
|
+
component: a = "svg",
|
|
3740
|
+
fontSize: c = "medium",
|
|
3741
|
+
htmlColor: u,
|
|
3742
|
+
inheritViewBox: p = !1,
|
|
3743
|
+
titleAccess: m,
|
|
3744
|
+
viewBox: l = "0 0 24 24"
|
|
3745
|
+
} = n, b = Oe(n, ga), g = /* @__PURE__ */ B.isValidElement(o) && o.type === "svg", d = U({}, n, {
|
|
3746
|
+
color: s,
|
|
3747
|
+
component: a,
|
|
3748
|
+
fontSize: c,
|
|
3749
|
+
instanceFontSize: t.fontSize,
|
|
3750
|
+
inheritViewBox: p,
|
|
3751
|
+
viewBox: l,
|
|
3752
|
+
hasSvgAsChild: g
|
|
3753
|
+
}), f = {};
|
|
3754
|
+
p || (f.viewBox = l);
|
|
3755
|
+
const _ = ba(d);
|
|
3756
|
+
return /* @__PURE__ */ Be.jsxs(va, U({
|
|
3757
|
+
as: a,
|
|
3758
|
+
className: vi(_.root, i),
|
|
3759
|
+
focusable: "false",
|
|
3760
|
+
color: u,
|
|
3761
|
+
"aria-hidden": m ? void 0 : !0,
|
|
3762
|
+
role: m ? "img" : void 0,
|
|
3763
|
+
ref: r
|
|
3764
|
+
}, f, b, g && o.props, {
|
|
3765
|
+
ownerState: d,
|
|
3766
|
+
children: [g ? o.props.children : o, m ? /* @__PURE__ */ Be.jsx("title", {
|
|
3767
|
+
children: m
|
|
3768
|
+
}) : null]
|
|
3769
|
+
}));
|
|
3770
|
+
});
|
|
3771
|
+
process.env.NODE_ENV !== "production" && (pt.propTypes = {
|
|
3772
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
3773
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
3774
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
3775
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
3776
|
+
/**
|
|
3777
|
+
* Node passed into the SVG element.
|
|
3778
|
+
*/
|
|
3779
|
+
children: T.node,
|
|
3780
|
+
/**
|
|
3781
|
+
* Override or extend the styles applied to the component.
|
|
3782
|
+
*/
|
|
3783
|
+
classes: T.object,
|
|
3784
|
+
/**
|
|
3785
|
+
* @ignore
|
|
3786
|
+
*/
|
|
3787
|
+
className: T.string,
|
|
3788
|
+
/**
|
|
3789
|
+
* The color of the component.
|
|
3790
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
3791
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
3792
|
+
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
3793
|
+
* @default 'inherit'
|
|
3794
|
+
*/
|
|
3795
|
+
color: T.oneOfType([T.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), T.string]),
|
|
3796
|
+
/**
|
|
3797
|
+
* The component used for the root node.
|
|
3798
|
+
* Either a string to use a HTML element or a component.
|
|
3799
|
+
*/
|
|
3800
|
+
component: T.elementType,
|
|
3801
|
+
/**
|
|
3802
|
+
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
3803
|
+
* @default 'medium'
|
|
3804
|
+
*/
|
|
3805
|
+
fontSize: T.oneOfType([T.oneOf(["inherit", "large", "medium", "small"]), T.string]),
|
|
3806
|
+
/**
|
|
3807
|
+
* Applies a color attribute to the SVG element.
|
|
3808
|
+
*/
|
|
3809
|
+
htmlColor: T.string,
|
|
3810
|
+
/**
|
|
3811
|
+
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
3812
|
+
* prop will be ignored.
|
|
3813
|
+
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
3814
|
+
* `component`'s viewBox to the root node.
|
|
3815
|
+
* @default false
|
|
3816
|
+
*/
|
|
3817
|
+
inheritViewBox: T.bool,
|
|
3818
|
+
/**
|
|
3819
|
+
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
3820
|
+
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
|
|
3821
|
+
* If you are having issues with blurry icons you should investigate this prop.
|
|
3822
|
+
*/
|
|
3823
|
+
shapeRendering: T.string,
|
|
3824
|
+
/**
|
|
3825
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
3826
|
+
*/
|
|
3827
|
+
sx: T.oneOfType([T.arrayOf(T.oneOfType([T.func, T.object, T.bool])), T.func, T.object]),
|
|
3828
|
+
/**
|
|
3829
|
+
* Provides a human-readable title for the element that contains it.
|
|
3830
|
+
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
3831
|
+
*/
|
|
3832
|
+
titleAccess: T.string,
|
|
3833
|
+
/**
|
|
3834
|
+
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
3835
|
+
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
3836
|
+
* and you pass viewBox="0 0 50 20",
|
|
3837
|
+
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
3838
|
+
* to bottom right (50,20) and each unit will be worth 10px.
|
|
3839
|
+
* @default '0 0 24 24'
|
|
3840
|
+
*/
|
|
3841
|
+
viewBox: T.string
|
|
3842
|
+
});
|
|
3843
|
+
pt.muiName = "SvgIcon";
|
|
3844
|
+
function Ea(e, t) {
|
|
3845
|
+
function r(n, o) {
|
|
3846
|
+
return /* @__PURE__ */ Be.jsx(pt, U({
|
|
3847
|
+
"data-testid": `${t}Icon`,
|
|
3848
|
+
ref: o
|
|
3849
|
+
}, n, {
|
|
3850
|
+
children: e
|
|
3851
|
+
}));
|
|
3852
|
+
}
|
|
3853
|
+
return process.env.NODE_ENV !== "production" && (r.displayName = `${t}Icon`), r.muiName = pt.muiName, /* @__PURE__ */ B.memo(/* @__PURE__ */ B.forwardRef(r));
|
|
3854
|
+
}
|
|
3855
|
+
var Lt = {};
|
|
3856
|
+
const _a = {
|
|
3857
|
+
configure: (e) => {
|
|
3858
|
+
process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
3859
|
+
`)), on.configure(e);
|
|
3860
|
+
}
|
|
3861
|
+
}, Sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3862
|
+
__proto__: null,
|
|
3863
|
+
capitalize: Te,
|
|
3864
|
+
createChainedFunction: Ri,
|
|
3865
|
+
createSvgIcon: Ea,
|
|
3866
|
+
debounce: Ci,
|
|
3867
|
+
deprecatedPropType: Ai,
|
|
3868
|
+
isMuiElement: Ii,
|
|
3869
|
+
ownerDocument: fn,
|
|
3870
|
+
ownerWindow: Mi,
|
|
3871
|
+
requirePropFactory: ki,
|
|
3872
|
+
setRef: ln,
|
|
3873
|
+
unstable_ClassNameGenerator: _a,
|
|
3874
|
+
unstable_useEnhancedEffect: un,
|
|
3875
|
+
unstable_useId: Ni,
|
|
3876
|
+
unsupportedProp: Di,
|
|
3877
|
+
useControlled: Fi,
|
|
3878
|
+
useEventCallback: Li,
|
|
3879
|
+
useForkRef: zi,
|
|
3880
|
+
useIsFocusVisible: Ji
|
|
3881
|
+
}, Symbol.toStringTag, { value: "Module" })), xa = /* @__PURE__ */ _e(Sa);
|
|
3882
|
+
var Fr;
|
|
3883
|
+
function ka() {
|
|
3884
|
+
return Fr || (Fr = 1, function(e) {
|
|
3885
|
+
"use client";
|
|
3886
|
+
Object.defineProperty(e, "__esModule", {
|
|
3887
|
+
value: !0
|
|
3888
|
+
}), Object.defineProperty(e, "default", {
|
|
3889
|
+
enumerable: !0,
|
|
3890
|
+
get: function() {
|
|
3891
|
+
return t.createSvgIcon;
|
|
3892
|
+
}
|
|
3893
|
+
});
|
|
3894
|
+
var t = xa;
|
|
3895
|
+
}(Lt)), Lt;
|
|
3896
|
+
}
|
|
3897
|
+
export {
|
|
3898
|
+
Ma as A,
|
|
3899
|
+
Ra as B,
|
|
3900
|
+
Ia as I,
|
|
3901
|
+
T as P,
|
|
3902
|
+
ya as S,
|
|
3903
|
+
Rn as T,
|
|
3904
|
+
U as _,
|
|
3905
|
+
Oe as a,
|
|
3906
|
+
vi as b,
|
|
3907
|
+
Ea as c,
|
|
3908
|
+
wa as d,
|
|
3909
|
+
er as e,
|
|
3910
|
+
zi as f,
|
|
3911
|
+
_i as g,
|
|
3912
|
+
Ji as h,
|
|
3913
|
+
Li as i,
|
|
3914
|
+
Zi as j,
|
|
3915
|
+
Te as k,
|
|
3916
|
+
Pa as l,
|
|
3917
|
+
Aa as m,
|
|
3918
|
+
Ca as n,
|
|
3919
|
+
Pt as o,
|
|
3920
|
+
pn as p,
|
|
3921
|
+
nn as q,
|
|
3922
|
+
ka as r,
|
|
3923
|
+
pa as s,
|
|
3924
|
+
Vs as t,
|
|
3925
|
+
ma as u,
|
|
3926
|
+
wn as v,
|
|
3927
|
+
wi as w,
|
|
3928
|
+
Ye as x
|
|
3929
|
+
};
|