@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.
Files changed (310) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/LICENSE +29 -0
  3. package/README.md +38 -0
  4. package/dist/Alert-Dd9Op7y8.js +4754 -0
  5. package/dist/Alert-l8e3Fw5e.cjs +4 -0
  6. package/dist/arrow-drop-icon-BGl72Unt.cjs +1 -0
  7. package/dist/arrow-drop-icon-CHxPlPIN.js +16 -0
  8. package/dist/components/index.cjs +1 -0
  9. package/dist/components/index.js +1249 -0
  10. package/dist/createSvgIcon-BhsoeSAN.cjs +68 -0
  11. package/dist/createSvgIcon-CcKa-Sbo.js +3929 -0
  12. package/dist/custom-icons/index.cjs +1 -0
  13. package/dist/custom-icons/index.js +60 -0
  14. package/dist/jsx-runtime-B6kdoens.js +634 -0
  15. package/dist/jsx-runtime-Cek9Ww4S.cjs +30 -0
  16. package/dist/paletteUtils-B489IFFw.js +320 -0
  17. package/dist/paletteUtils-DELR0VRh.cjs +3 -0
  18. package/dist/search-icon-DHF2JDWR.cjs +1 -0
  19. package/dist/search-icon-FnUa1LqH.js +38 -0
  20. package/dist/theme/index.cjs +76 -0
  21. package/dist/theme/index.js +3863 -0
  22. package/dist/types/components/atoms/Button.d.ts +7 -0
  23. package/dist/types/components/atoms/Button.d.ts.map +1 -0
  24. package/dist/types/components/atoms/LabelWithIndicator.d.ts +8 -0
  25. package/dist/types/components/atoms/LabelWithIndicator.d.ts.map +1 -0
  26. package/dist/types/components/atoms/PasswordField.d.ts +4 -0
  27. package/dist/types/components/atoms/PasswordField.d.ts.map +1 -0
  28. package/dist/types/components/atoms/SelectField.d.ts +15 -0
  29. package/dist/types/components/atoms/SelectField.d.ts.map +1 -0
  30. package/dist/types/components/atoms/ToggleButtonGroup.d.ts +7 -0
  31. package/dist/types/components/atoms/ToggleButtonGroup.d.ts.map +1 -0
  32. package/dist/types/components/atoms/Typography.d.ts +14 -0
  33. package/dist/types/components/atoms/Typography.d.ts.map +1 -0
  34. package/dist/types/components/atoms/index.d.ts +13 -0
  35. package/dist/types/components/atoms/index.d.ts.map +1 -0
  36. package/dist/types/components/index.d.ts +7 -0
  37. package/dist/types/components/index.d.ts.map +1 -0
  38. package/dist/types/components/molecules/AccordionGroup.d.ts +12 -0
  39. package/dist/types/components/molecules/AccordionGroup.d.ts.map +1 -0
  40. package/dist/types/components/molecules/Alert.d.ts +18 -0
  41. package/dist/types/components/molecules/Alert.d.ts.map +1 -0
  42. package/dist/types/components/molecules/Autocomplete.d.ts +19 -0
  43. package/dist/types/components/molecules/Autocomplete.d.ts.map +1 -0
  44. package/dist/types/components/molecules/Avatar.d.ts +6 -0
  45. package/dist/types/components/molecules/Avatar.d.ts.map +1 -0
  46. package/dist/types/components/molecules/Menu/Menu.d.ts +8 -0
  47. package/dist/types/components/molecules/Menu/Menu.d.ts.map +1 -0
  48. package/dist/types/components/molecules/Menu/MenuItem.d.ts +10 -0
  49. package/dist/types/components/molecules/Menu/MenuItem.d.ts.map +1 -0
  50. package/dist/types/components/molecules/Menu/MenuList.d.ts +8 -0
  51. package/dist/types/components/molecules/Menu/MenuList.d.ts.map +1 -0
  52. package/dist/types/components/molecules/Menu/index.d.ts +7 -0
  53. package/dist/types/components/molecules/Menu/index.d.ts.map +1 -0
  54. package/dist/types/components/molecules/MultipleSelectField/Filters.d.ts +9 -0
  55. package/dist/types/components/molecules/MultipleSelectField/Filters.d.ts.map +1 -0
  56. package/dist/types/components/molecules/MultipleSelectField/MultipleSelectField.d.ts +31 -0
  57. package/dist/types/components/molecules/MultipleSelectField/MultipleSelectField.d.ts.map +1 -0
  58. package/dist/types/components/molecules/MultipleSelectField/index.d.ts +3 -0
  59. package/dist/types/components/molecules/MultipleSelectField/index.d.ts.map +1 -0
  60. package/dist/types/components/molecules/MultipleSelectField/useMultipleSelectField.d.ts +11 -0
  61. package/dist/types/components/molecules/MultipleSelectField/useMultipleSelectField.d.ts.map +1 -0
  62. package/dist/types/components/molecules/Table/TablePaginationActions.d.ts +9 -0
  63. package/dist/types/components/molecules/Table/TablePaginationActions.d.ts.map +1 -0
  64. package/dist/types/components/molecules/Table/index.d.ts +3 -0
  65. package/dist/types/components/molecules/Table/index.d.ts.map +1 -0
  66. package/dist/types/components/molecules/UploadField/FilesAction.d.ts +13 -0
  67. package/dist/types/components/molecules/UploadField/FilesAction.d.ts.map +1 -0
  68. package/dist/types/components/molecules/UploadField/StyledUploadField.d.ts +8 -0
  69. package/dist/types/components/molecules/UploadField/StyledUploadField.d.ts.map +1 -0
  70. package/dist/types/components/molecules/UploadField/UploadField.d.ts +15 -0
  71. package/dist/types/components/molecules/UploadField/UploadField.d.ts.map +1 -0
  72. package/dist/types/components/molecules/UploadField/UploadFieldBase.d.ts +17 -0
  73. package/dist/types/components/molecules/UploadField/UploadFieldBase.d.ts.map +1 -0
  74. package/dist/types/components/molecules/UploadField/index.d.ts +5 -0
  75. package/dist/types/components/molecules/UploadField/index.d.ts.map +1 -0
  76. package/dist/types/components/molecules/UploadField/useFileUpload.d.ts +19 -0
  77. package/dist/types/components/molecules/UploadField/useFileUpload.d.ts.map +1 -0
  78. package/dist/types/components/molecules/index.d.ts +17 -0
  79. package/dist/types/components/molecules/index.d.ts.map +1 -0
  80. package/dist/types/components/organisms/AppBar/AppBar.d.ts +11 -0
  81. package/dist/types/components/organisms/AppBar/AppBar.d.ts.map +1 -0
  82. package/dist/types/components/organisms/AppBar/BrandLogo.d.ts +4 -0
  83. package/dist/types/components/organisms/AppBar/BrandLogo.d.ts.map +1 -0
  84. package/dist/types/components/organisms/AppBar/BrandText.d.ts +4 -0
  85. package/dist/types/components/organisms/AppBar/BrandText.d.ts.map +1 -0
  86. package/dist/types/components/organisms/AppBar/BurgerMenu.d.ts +4 -0
  87. package/dist/types/components/organisms/AppBar/BurgerMenu.d.ts.map +1 -0
  88. package/dist/types/components/organisms/AppBar/SecondaryText.d.ts +4 -0
  89. package/dist/types/components/organisms/AppBar/SecondaryText.d.ts.map +1 -0
  90. package/dist/types/components/organisms/AppBar/index.d.ts +3 -0
  91. package/dist/types/components/organisms/AppBar/index.d.ts.map +1 -0
  92. package/dist/types/components/organisms/TooltipData.d.ts +12 -0
  93. package/dist/types/components/organisms/TooltipData.d.ts.map +1 -0
  94. package/dist/types/components/organisms/index.d.ts +5 -0
  95. package/dist/types/components/organisms/index.d.ts.map +1 -0
  96. package/dist/types/custom-icons/arrow-drop-icon.d.ts +3 -0
  97. package/dist/types/custom-icons/arrow-drop-icon.d.ts.map +1 -0
  98. package/dist/types/custom-icons/circle-icon.d.ts +3 -0
  99. package/dist/types/custom-icons/circle-icon.d.ts.map +1 -0
  100. package/dist/types/custom-icons/cursor-icon.d.ts +3 -0
  101. package/dist/types/custom-icons/cursor-icon.d.ts.map +1 -0
  102. package/dist/types/custom-icons/graph-line-icon.d.ts +3 -0
  103. package/dist/types/custom-icons/graph-line-icon.d.ts.map +1 -0
  104. package/dist/types/custom-icons/index.d.ts +12 -0
  105. package/dist/types/custom-icons/index.d.ts.map +1 -0
  106. package/dist/types/custom-icons/lasso-icon.d.ts +3 -0
  107. package/dist/types/custom-icons/lasso-icon.d.ts.map +1 -0
  108. package/dist/types/custom-icons/layer-icon.d.ts +3 -0
  109. package/dist/types/custom-icons/layer-icon.d.ts.map +1 -0
  110. package/dist/types/custom-icons/opacity-icon.d.ts +3 -0
  111. package/dist/types/custom-icons/opacity-icon.d.ts.map +1 -0
  112. package/dist/types/custom-icons/polygon-icon.d.ts +3 -0
  113. package/dist/types/custom-icons/polygon-icon.d.ts.map +1 -0
  114. package/dist/types/custom-icons/rectangle-icon.d.ts +3 -0
  115. package/dist/types/custom-icons/rectangle-icon.d.ts.map +1 -0
  116. package/dist/types/custom-icons/search-icon.d.ts +3 -0
  117. package/dist/types/custom-icons/search-icon.d.ts.map +1 -0
  118. package/dist/types/custom-icons/upload-icon.d.ts +3 -0
  119. package/dist/types/custom-icons/upload-icon.d.ts.map +1 -0
  120. package/dist/types/hooks/useImperativeIntl.d.ts +3 -0
  121. package/dist/types/hooks/useImperativeIntl.d.ts.map +1 -0
  122. package/dist/types/hooks/usePrevious.d.ts +2 -0
  123. package/dist/types/hooks/usePrevious.d.ts.map +1 -0
  124. package/dist/types/hooks/useSkeleton.d.ts +5 -0
  125. package/dist/types/hooks/useSkeleton.d.ts.map +1 -0
  126. package/dist/types/localization/en.d.ts +120 -0
  127. package/dist/types/localization/en.d.ts.map +1 -0
  128. package/dist/types/localization/es.d.ts +118 -0
  129. package/dist/types/localization/es.d.ts.map +1 -0
  130. package/dist/types/localization/id.d.ts +120 -0
  131. package/dist/types/localization/id.d.ts.map +1 -0
  132. package/dist/types/localization/index.d.ts +355 -0
  133. package/dist/types/localization/index.d.ts.map +1 -0
  134. package/dist/types/theme/carto-theme.d.ts +4077 -0
  135. package/dist/types/theme/carto-theme.d.ts.map +1 -0
  136. package/dist/types/theme/index.d.ts +5 -0
  137. package/dist/types/theme/index.d.ts.map +1 -0
  138. package/dist/types/theme/sections/components/buttons.d.ts +3 -0
  139. package/dist/types/theme/sections/components/buttons.d.ts.map +1 -0
  140. package/dist/types/theme/sections/components/data-display.d.ts +4 -0
  141. package/dist/types/theme/sections/components/data-display.d.ts.map +1 -0
  142. package/dist/types/theme/sections/components/feedback.d.ts +3 -0
  143. package/dist/types/theme/sections/components/feedback.d.ts.map +1 -0
  144. package/dist/types/theme/sections/components/forms.d.ts +3 -0
  145. package/dist/types/theme/sections/components/forms.d.ts.map +1 -0
  146. package/dist/types/theme/sections/components/navigation.d.ts +3 -0
  147. package/dist/types/theme/sections/components/navigation.d.ts.map +1 -0
  148. package/dist/types/theme/sections/components/surfaces.d.ts +3 -0
  149. package/dist/types/theme/sections/components/surfaces.d.ts.map +1 -0
  150. package/dist/types/theme/sections/css-baseline.d.ts +905 -0
  151. package/dist/types/theme/sections/css-baseline.d.ts.map +1 -0
  152. package/dist/types/theme/sections/palette.d.ts +4 -0
  153. package/dist/types/theme/sections/palette.d.ts.map +1 -0
  154. package/dist/types/theme/sections/shadows.d.ts +3 -0
  155. package/dist/types/theme/sections/shadows.d.ts.map +1 -0
  156. package/dist/types/theme/sections/typography.d.ts +1706 -0
  157. package/dist/types/theme/sections/typography.d.ts.map +1 -0
  158. package/dist/types/theme/theme-constants.d.ts +14 -0
  159. package/dist/types/theme/theme-constants.d.ts.map +1 -0
  160. package/dist/types/theme/theme-utils.d.ts +2 -0
  161. package/dist/types/theme/theme-utils.d.ts.map +1 -0
  162. package/dist/types/theme/types.d.ts +99 -0
  163. package/dist/types/theme/types.d.ts.map +1 -0
  164. package/dist/types/utils/animationUtils.d.ts +30 -0
  165. package/dist/types/utils/animationUtils.d.ts.map +1 -0
  166. package/dist/types/utils/chartConstants.d.ts +7 -0
  167. package/dist/types/utils/chartConstants.d.ts.map +1 -0
  168. package/dist/types/utils/detectTouchScreen.d.ts +2 -0
  169. package/dist/types/utils/detectTouchScreen.d.ts.map +1 -0
  170. package/dist/types/utils/formatterUtils.d.ts +18 -0
  171. package/dist/types/utils/formatterUtils.d.ts.map +1 -0
  172. package/dist/types/utils/legendUtils.d.ts +99 -0
  173. package/dist/types/utils/legendUtils.d.ts.map +1 -0
  174. package/dist/types/utils/localeUtils.d.ts +7 -0
  175. package/dist/types/utils/localeUtils.d.ts.map +1 -0
  176. package/dist/types/utils/paletteUtils.d.ts +25 -0
  177. package/dist/types/utils/paletteUtils.d.ts.map +1 -0
  178. package/dist/types/utils/uniqueId.d.ts +19 -0
  179. package/dist/types/utils/uniqueId.d.ts.map +1 -0
  180. package/dist/types/widgets/BarWidgetUI/BarSkeleton.d.ts +4 -0
  181. package/dist/types/widgets/BarWidgetUI/BarSkeleton.d.ts.map +1 -0
  182. package/dist/types/widgets/BarWidgetUI/BarWidgetUI.d.ts +33 -0
  183. package/dist/types/widgets/BarWidgetUI/BarWidgetUI.d.ts.map +1 -0
  184. package/dist/types/widgets/BarWidgetUI/useProcessedProps.d.ts +22 -0
  185. package/dist/types/widgets/BarWidgetUI/useProcessedProps.d.ts.map +1 -0
  186. package/dist/types/widgets/CategoryWidgetUI/CategorySkeleton.d.ts +3 -0
  187. package/dist/types/widgets/CategoryWidgetUI/CategorySkeleton.d.ts.map +1 -0
  188. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts +25 -0
  189. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -0
  190. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts +37 -0
  191. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.styled.d.ts.map +1 -0
  192. package/dist/types/widgets/ChartLegend.d.ts +10 -0
  193. package/dist/types/widgets/ChartLegend.d.ts.map +1 -0
  194. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIDropdown.d.ts +18 -0
  195. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIDropdown.d.ts.map +1 -0
  196. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts +17 -0
  197. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIGeometryChips.d.ts.map +1 -0
  198. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIToggleButton.d.ts +15 -0
  199. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionUIToggleButton.d.ts.map +1 -0
  200. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.d.ts +27 -0
  201. package/dist/types/widgets/FeatureSelectionWidgetUI/FeatureSelectionWidgetUI.d.ts.map +1 -0
  202. package/dist/types/widgets/FeatureSelectionWidgetUI/index.d.ts +9 -0
  203. package/dist/types/widgets/FeatureSelectionWidgetUI/index.d.ts.map +1 -0
  204. package/dist/types/widgets/FormulaWidgetUI/FormulaSkeleton.d.ts +3 -0
  205. package/dist/types/widgets/FormulaWidgetUI/FormulaSkeleton.d.ts.map +1 -0
  206. package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.d.ts +16 -0
  207. package/dist/types/widgets/FormulaWidgetUI/FormulaWidgetUI.d.ts.map +1 -0
  208. package/dist/types/widgets/HistogramWidgetUI/HistogramSkeleton.d.ts +6 -0
  209. package/dist/types/widgets/HistogramWidgetUI/HistogramSkeleton.d.ts.map +1 -0
  210. package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.d.ts +27 -0
  211. package/dist/types/widgets/HistogramWidgetUI/HistogramWidgetUI.d.ts.map +1 -0
  212. package/dist/types/widgets/HistogramWidgetUI/useHistogramInteractivity.d.ts +20 -0
  213. package/dist/types/widgets/HistogramWidgetUI/useHistogramInteractivity.d.ts.map +1 -0
  214. package/dist/types/widgets/NoDataAlert.d.ts +6 -0
  215. package/dist/types/widgets/NoDataAlert.d.ts.map +1 -0
  216. package/dist/types/widgets/PieWidgetUI/PieCentralText.d.ts +11 -0
  217. package/dist/types/widgets/PieWidgetUI/PieCentralText.d.ts.map +1 -0
  218. package/dist/types/widgets/PieWidgetUI/PieSkeleton.d.ts +4 -0
  219. package/dist/types/widgets/PieWidgetUI/PieSkeleton.d.ts.map +1 -0
  220. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts +31 -0
  221. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts.map +1 -0
  222. package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts +16 -0
  223. package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts.map +1 -0
  224. package/dist/types/widgets/RangeWidgetUI/RangeSkeleton.d.ts +2 -0
  225. package/dist/types/widgets/RangeWidgetUI/RangeSkeleton.d.ts.map +1 -0
  226. package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.d.ts +16 -0
  227. package/dist/types/widgets/RangeWidgetUI/RangeWidgetUI.d.ts.map +1 -0
  228. package/dist/types/widgets/ReactEcharts.d.ts +8 -0
  229. package/dist/types/widgets/ReactEcharts.d.ts.map +1 -0
  230. package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotSkeleton.d.ts +4 -0
  231. package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotSkeleton.d.ts.map +1 -0
  232. package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.d.ts +16 -0
  233. package/dist/types/widgets/ScatterPlotWidgetUI/ScatterPlotWidgetUI.d.ts.map +1 -0
  234. package/dist/types/widgets/SkeletonWidgets.d.ts +20 -0
  235. package/dist/types/widgets/SkeletonWidgets.d.ts.map +1 -0
  236. package/dist/types/widgets/TableWidgetUI/TableSkeleton.d.ts +7 -0
  237. package/dist/types/widgets/TableWidgetUI/TableSkeleton.d.ts.map +1 -0
  238. package/dist/types/widgets/TableWidgetUI/TableSkeletonRow.d.ts +6 -0
  239. package/dist/types/widgets/TableWidgetUI/TableSkeletonRow.d.ts.map +1 -0
  240. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts +30 -0
  241. package/dist/types/widgets/TableWidgetUI/TableWidgetUI.d.ts.map +1 -0
  242. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesContext.d.ts +21 -0
  243. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesContext.d.ts.map +1 -0
  244. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts +4 -0
  245. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts.map +1 -0
  246. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts +14 -0
  247. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts.map +1 -0
  248. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesControls.d.ts +3 -0
  249. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesControls.d.ts.map +1 -0
  250. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesLayout.d.ts +8 -0
  251. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesLayout.d.ts.map +1 -0
  252. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesSkeleton.d.ts +4 -0
  253. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesSkeleton.d.ts.map +1 -0
  254. package/dist/types/widgets/TimeSeriesWidgetUI/index.d.ts +9 -0
  255. package/dist/types/widgets/TimeSeriesWidgetUI/index.d.ts.map +1 -0
  256. package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.d.ts +99 -0
  257. package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.d.ts.map +1 -0
  258. package/dist/types/widgets/TimeSeriesWidgetUI/useTimeSeriesInteractivity.d.ts +43 -0
  259. package/dist/types/widgets/TimeSeriesWidgetUI/useTimeSeriesInteractivity.d.ts.map +1 -0
  260. package/dist/types/widgets/WrapperWidgetUI.d.ts +36 -0
  261. package/dist/types/widgets/WrapperWidgetUI.d.ts.map +1 -0
  262. package/dist/types/widgets/comparative/AnimatedNumber/AnimatedNumber.d.ts +9 -0
  263. package/dist/types/widgets/comparative/AnimatedNumber/AnimatedNumber.d.ts.map +1 -0
  264. package/dist/types/widgets/comparative/AnimatedNumber/useAnimatedNumber.d.ts +11 -0
  265. package/dist/types/widgets/comparative/AnimatedNumber/useAnimatedNumber.d.ts.map +1 -0
  266. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryItem.d.ts +17 -0
  267. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryItem.d.ts.map +1 -0
  268. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts +23 -0
  269. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -0
  270. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.styled.d.ts +45 -0
  271. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.styled.d.ts.map +1 -0
  272. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts +20 -0
  273. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts.map +1 -0
  274. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.d.ts +21 -0
  275. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/ComparativeFormulaWidgetUI.d.ts.map +1 -0
  276. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaLabel.d.ts +5 -0
  277. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaLabel.d.ts.map +1 -0
  278. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaValue.d.ts +10 -0
  279. package/dist/types/widgets/comparative/ComparativeFormulaWidgetUI/FormulaValue.d.ts.map +1 -0
  280. package/dist/types/widgets/comparative/ComparativePieWidgetUI.d.ts +22 -0
  281. package/dist/types/widgets/comparative/ComparativePieWidgetUI.d.ts.map +1 -0
  282. package/dist/types/widgets/index.d.ts +33 -0
  283. package/dist/types/widgets/index.d.ts.map +1 -0
  284. package/dist/types/widgets/legend/LegendLayer.d.ts +37 -0
  285. package/dist/types/widgets/legend/LegendLayer.d.ts.map +1 -0
  286. package/dist/types/widgets/legend/LegendLayerTitle.d.ts +8 -0
  287. package/dist/types/widgets/legend/LegendLayerTitle.d.ts.map +1 -0
  288. package/dist/types/widgets/legend/LegendLayerVariable.d.ts +9 -0
  289. package/dist/types/widgets/legend/LegendLayerVariable.d.ts.map +1 -0
  290. package/dist/types/widgets/legend/LegendOpacityControl.d.ts +14 -0
  291. package/dist/types/widgets/legend/LegendOpacityControl.d.ts.map +1 -0
  292. package/dist/types/widgets/legend/LegendWidgetUI.d.ts +48 -0
  293. package/dist/types/widgets/legend/LegendWidgetUI.d.ts.map +1 -0
  294. package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts +31 -0
  295. package/dist/types/widgets/legend/LegendWidgetUI.styles.d.ts.map +1 -0
  296. package/dist/types/widgets/legend/index.d.ts +7 -0
  297. package/dist/types/widgets/legend/index.d.ts.map +1 -0
  298. package/dist/types/widgets/legend/legend-types/LegendCategories.d.ts +6 -0
  299. package/dist/types/widgets/legend/legend-types/LegendCategories.d.ts.map +1 -0
  300. package/dist/types/widgets/legend/legend-types/LegendIcon.d.ts +6 -0
  301. package/dist/types/widgets/legend/legend-types/LegendIcon.d.ts.map +1 -0
  302. package/dist/types/widgets/legend/legend-types/LegendProportion.d.ts +9 -0
  303. package/dist/types/widgets/legend/legend-types/LegendProportion.d.ts.map +1 -0
  304. package/dist/types/widgets/legend/legend-types/LegendRamp.d.ts +7 -0
  305. package/dist/types/widgets/legend/legend-types/LegendRamp.d.ts.map +1 -0
  306. package/dist/types/widgets/legend/legend-types/index.d.ts +9 -0
  307. package/dist/types/widgets/legend/legend-types/index.d.ts.map +1 -0
  308. package/dist/widgets/index.cjs +33 -0
  309. package/dist/widgets/index.js +5865 -0
  310. package/package.json +156 -0
@@ -0,0 +1,3863 @@
1
+ import { Typography as Vt, responsiveFontSizes as Ut, createTheme as qt } from "@mui/material";
2
+ import { j as d } from "../jsx-runtime-B6kdoens.js";
3
+ import { P as i, c as Co, _ as h, a as co, b as j, g as Eo, s as Bo, u as Ao, d as Gt, e as xt, f as Vo, h as Kt, i as fo, j as ht, k as to, l as Uo, I as L, m as p, n as ao, o as R, r as yt, p as Mt, A as qo, B as no, S as Go } from "../createSvgIcon-CcKa-Sbo.js";
4
+ import * as g from "react";
5
+ import lo, { Children as Xt, isValidElement as vo, cloneElement as mo } from "react";
6
+ import { keyframes as Wo } from "@emotion/react";
7
+ import { a as xo, c as q } from "../paletteUtils-B489IFFw.js";
8
+ import { g as le } from "../paletteUtils-B489IFFw.js";
9
+ import { A as zo } from "../arrow-drop-icon-CHxPlPIN.js";
10
+ import { ExpandMoreOutlined as Yt } from "@mui/icons-material";
11
+ function vt(o, t) {
12
+ return process.env.NODE_ENV === "production" ? () => null : function(...n) {
13
+ return o(...n) || t(...n);
14
+ };
15
+ }
16
+ function Zt(o) {
17
+ const {
18
+ prototype: t = {}
19
+ } = o;
20
+ return !!t.isReactComponent;
21
+ }
22
+ function Qt(o, t, e, n, a) {
23
+ const r = o[t], l = a || t;
24
+ if (r == null || // When server-side rendering React doesn't warn either.
25
+ // This is not an accurate check for SSR.
26
+ // This is only in place for emotion compat.
27
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
28
+ typeof window > "u")
29
+ return null;
30
+ let u;
31
+ return typeof r == "function" && !Zt(r) && (u = "Did you accidentally provide a plain function component instead?"), u !== void 0 ? new Error(`Invalid ${n} \`${l}\` supplied to \`${e}\`. Expected an element type that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
32
+ }
33
+ const Jt = vt(i.elementType, Qt), oi = i.oneOfType([i.func, i.object]), ti = /* @__PURE__ */ g.createContext();
34
+ process.env.NODE_ENV !== "production" && (i.node, i.bool);
35
+ const ii = () => {
36
+ const o = g.useContext(ti);
37
+ return o ?? !1;
38
+ }, ei = Co(/* @__PURE__ */ d.jsx("path", {
39
+ d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
40
+ }), "KeyboardArrowLeft"), ri = Co(/* @__PURE__ */ d.jsx("path", {
41
+ d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
42
+ }), "KeyboardArrowRight");
43
+ function Oo(o, t) {
44
+ return Oo = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, n) {
45
+ return e.__proto__ = n, e;
46
+ }, Oo(o, t);
47
+ }
48
+ function ni(o, t) {
49
+ o.prototype = Object.create(t.prototype), o.prototype.constructor = o, Oo(o, t);
50
+ }
51
+ const Ko = lo.createContext(null);
52
+ function ai(o) {
53
+ if (o === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
54
+ return o;
55
+ }
56
+ function Fo(o, t) {
57
+ var e = function(r) {
58
+ return t && vo(r) ? t(r) : r;
59
+ }, n = /* @__PURE__ */ Object.create(null);
60
+ return o && Xt.map(o, function(a) {
61
+ return a;
62
+ }).forEach(function(a) {
63
+ n[a.key] = e(a);
64
+ }), n;
65
+ }
66
+ function li(o, t) {
67
+ o = o || {}, t = t || {};
68
+ function e(M) {
69
+ return M in t ? t[M] : o[M];
70
+ }
71
+ var n = /* @__PURE__ */ Object.create(null), a = [];
72
+ for (var r in o)
73
+ r in t ? a.length && (n[r] = a, a = []) : a.push(r);
74
+ var l, u = {};
75
+ for (var c in t) {
76
+ if (n[c])
77
+ for (l = 0; l < n[c].length; l++) {
78
+ var b = n[c][l];
79
+ u[n[c][l]] = e(b);
80
+ }
81
+ u[c] = e(c);
82
+ }
83
+ for (l = 0; l < a.length; l++)
84
+ u[a[l]] = e(a[l]);
85
+ return u;
86
+ }
87
+ function Q(o, t, e) {
88
+ return e[t] != null ? e[t] : o.props[t];
89
+ }
90
+ function si(o, t) {
91
+ return Fo(o.children, function(e) {
92
+ return mo(e, {
93
+ onExited: t.bind(null, e),
94
+ in: !0,
95
+ appear: Q(e, "appear", o),
96
+ enter: Q(e, "enter", o),
97
+ exit: Q(e, "exit", o)
98
+ });
99
+ });
100
+ }
101
+ function pi(o, t, e) {
102
+ var n = Fo(o.children), a = li(t, n);
103
+ return Object.keys(a).forEach(function(r) {
104
+ var l = a[r];
105
+ if (vo(l)) {
106
+ var u = r in t, c = r in n, b = t[r], M = vo(b) && !b.props.in;
107
+ c && (!u || M) ? a[r] = mo(l, {
108
+ onExited: e.bind(null, l),
109
+ in: !0,
110
+ exit: Q(l, "exit", o),
111
+ enter: Q(l, "enter", o)
112
+ }) : !c && u && !M ? a[r] = mo(l, {
113
+ in: !1
114
+ }) : c && u && vo(b) && (a[r] = mo(l, {
115
+ onExited: e.bind(null, l),
116
+ in: b.props.in,
117
+ exit: Q(l, "exit", o),
118
+ enter: Q(l, "enter", o)
119
+ }));
120
+ }
121
+ }), a;
122
+ }
123
+ var ci = Object.values || function(o) {
124
+ return Object.keys(o).map(function(t) {
125
+ return o[t];
126
+ });
127
+ }, ui = {
128
+ component: "div",
129
+ childFactory: function(t) {
130
+ return t;
131
+ }
132
+ }, jo = /* @__PURE__ */ function(o) {
133
+ ni(t, o);
134
+ function t(n, a) {
135
+ var r;
136
+ r = o.call(this, n, a) || this;
137
+ var l = r.handleExited.bind(ai(r));
138
+ return r.state = {
139
+ contextValue: {
140
+ isMounting: !0
141
+ },
142
+ handleExited: l,
143
+ firstRender: !0
144
+ }, r;
145
+ }
146
+ var e = t.prototype;
147
+ return e.componentDidMount = function() {
148
+ this.mounted = !0, this.setState({
149
+ contextValue: {
150
+ isMounting: !1
151
+ }
152
+ });
153
+ }, e.componentWillUnmount = function() {
154
+ this.mounted = !1;
155
+ }, t.getDerivedStateFromProps = function(a, r) {
156
+ var l = r.children, u = r.handleExited, c = r.firstRender;
157
+ return {
158
+ children: c ? si(a, u) : pi(a, l, u),
159
+ firstRender: !1
160
+ };
161
+ }, e.handleExited = function(a, r) {
162
+ var l = Fo(this.props.children);
163
+ a.key in l || (a.props.onExited && a.props.onExited(r), this.mounted && this.setState(function(u) {
164
+ var c = h({}, u.children);
165
+ return delete c[a.key], {
166
+ children: c
167
+ };
168
+ }));
169
+ }, e.render = function() {
170
+ var a = this.props, r = a.component, l = a.childFactory, u = co(a, ["component", "childFactory"]), c = this.state.contextValue, b = ci(this.state.children).map(l);
171
+ return delete u.appear, delete u.enter, delete u.exit, r === null ? /* @__PURE__ */ lo.createElement(Ko.Provider, {
172
+ value: c
173
+ }, b) : /* @__PURE__ */ lo.createElement(Ko.Provider, {
174
+ value: c
175
+ }, /* @__PURE__ */ lo.createElement(r, u, b));
176
+ }, t;
177
+ }(lo.Component);
178
+ jo.propTypes = process.env.NODE_ENV !== "production" ? {
179
+ /**
180
+ * `<TransitionGroup>` renders a `<div>` by default. You can change this
181
+ * behavior by providing a `component` prop.
182
+ * If you use React v16+ and would like to avoid a wrapping `<div>` element
183
+ * you can pass in `component={null}`. This is useful if the wrapping div
184
+ * borks your css styles.
185
+ */
186
+ component: i.any,
187
+ /**
188
+ * A set of `<Transition>` components, that are toggled `in` and out as they
189
+ * leave. the `<TransitionGroup>` will inject specific transition props, so
190
+ * remember to spread them through if you are wrapping the `<Transition>` as
191
+ * with our `<Fade>` example.
192
+ *
193
+ * While this component is meant for multiple `Transition` or `CSSTransition`
194
+ * children, sometimes you may want to have a single transition child with
195
+ * content that you want to be transitioned out and in when you change it
196
+ * (e.g. routes, images etc.) In that case you can change the `key` prop of
197
+ * the transition child as you change its content, this will cause
198
+ * `TransitionGroup` to transition the child out and back in.
199
+ */
200
+ children: i.node,
201
+ /**
202
+ * A convenience prop that enables or disables appear animations
203
+ * for all children. Note that specifying this will override any defaults set
204
+ * on individual children Transitions.
205
+ */
206
+ appear: i.bool,
207
+ /**
208
+ * A convenience prop that enables or disables enter animations
209
+ * for all children. Note that specifying this will override any defaults set
210
+ * on individual children Transitions.
211
+ */
212
+ enter: i.bool,
213
+ /**
214
+ * A convenience prop that enables or disables exit animations
215
+ * for all children. Note that specifying this will override any defaults set
216
+ * on individual children Transitions.
217
+ */
218
+ exit: i.bool,
219
+ /**
220
+ * You may need to apply reactive updates to a child as it is exiting.
221
+ * This is generally done by using `cloneElement` however in the case of an exiting
222
+ * child the element has already been removed and not accessible to the consumer.
223
+ *
224
+ * If you do need to update a child as it leaves you can provide a `childFactory`
225
+ * to wrap every child, even the ones that are leaving.
226
+ *
227
+ * @type Function(child: ReactElement) -> ReactElement
228
+ */
229
+ childFactory: i.func
230
+ } : {};
231
+ jo.defaultProps = ui;
232
+ function mt(o) {
233
+ const {
234
+ className: t,
235
+ classes: e,
236
+ pulsate: n = !1,
237
+ rippleX: a,
238
+ rippleY: r,
239
+ rippleSize: l,
240
+ in: u,
241
+ onExited: c,
242
+ timeout: b
243
+ } = o, [M, w] = g.useState(!1), m = j(t, e.ripple, e.rippleVisible, n && e.ripplePulsate), S = {
244
+ width: l,
245
+ height: l,
246
+ top: -(l / 2) + r,
247
+ left: -(l / 2) + a
248
+ }, y = j(e.child, M && e.childLeaving, n && e.childPulsate);
249
+ return !u && !M && w(!0), g.useEffect(() => {
250
+ if (!u && c != null) {
251
+ const z = setTimeout(c, b);
252
+ return () => {
253
+ clearTimeout(z);
254
+ };
255
+ }
256
+ }, [c, u, b]), /* @__PURE__ */ d.jsx("span", {
257
+ className: m,
258
+ style: S,
259
+ children: /* @__PURE__ */ d.jsx("span", {
260
+ className: y
261
+ })
262
+ });
263
+ }
264
+ process.env.NODE_ENV !== "production" && (mt.propTypes = {
265
+ /**
266
+ * Override or extend the styles applied to the component.
267
+ */
268
+ classes: i.object.isRequired,
269
+ className: i.string,
270
+ /**
271
+ * @ignore - injected from TransitionGroup
272
+ */
273
+ in: i.bool,
274
+ /**
275
+ * @ignore - injected from TransitionGroup
276
+ */
277
+ onExited: i.func,
278
+ /**
279
+ * If `true`, the ripple pulsates, typically indicating the keyboard focus state of an element.
280
+ */
281
+ pulsate: i.bool,
282
+ /**
283
+ * Diameter of the ripple.
284
+ */
285
+ rippleSize: i.number,
286
+ /**
287
+ * Horizontal position of the ripple center.
288
+ */
289
+ rippleX: i.number,
290
+ /**
291
+ * Vertical position of the ripple center.
292
+ */
293
+ rippleY: i.number,
294
+ /**
295
+ * exit delay
296
+ */
297
+ timeout: i.number.isRequired
298
+ });
299
+ const E = Eo("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]), di = ["center", "classes", "className"];
300
+ let ko = (o) => o, Xo, Yo, Zo, Qo;
301
+ const Po = 550, gi = 80, bi = Wo(Xo || (Xo = ko`
302
+ 0% {
303
+ transform: scale(0);
304
+ opacity: 0.1;
305
+ }
306
+
307
+ 100% {
308
+ transform: scale(1);
309
+ opacity: 0.3;
310
+ }
311
+ `)), fi = Wo(Yo || (Yo = ko`
312
+ 0% {
313
+ opacity: 1;
314
+ }
315
+
316
+ 100% {
317
+ opacity: 0;
318
+ }
319
+ `)), xi = Wo(Zo || (Zo = ko`
320
+ 0% {
321
+ transform: scale(1);
322
+ }
323
+
324
+ 50% {
325
+ transform: scale(0.92);
326
+ }
327
+
328
+ 100% {
329
+ transform: scale(1);
330
+ }
331
+ `)), hi = Bo("span", {
332
+ name: "MuiTouchRipple",
333
+ slot: "Root"
334
+ })({
335
+ overflow: "hidden",
336
+ pointerEvents: "none",
337
+ position: "absolute",
338
+ zIndex: 0,
339
+ top: 0,
340
+ right: 0,
341
+ bottom: 0,
342
+ left: 0,
343
+ borderRadius: "inherit"
344
+ }), yi = Bo(mt, {
345
+ name: "MuiTouchRipple",
346
+ slot: "Ripple"
347
+ })(Qo || (Qo = ko`
348
+ opacity: 0;
349
+ position: absolute;
350
+
351
+ &.${0} {
352
+ opacity: 0.3;
353
+ transform: scale(1);
354
+ animation-name: ${0};
355
+ animation-duration: ${0}ms;
356
+ animation-timing-function: ${0};
357
+ }
358
+
359
+ &.${0} {
360
+ animation-duration: ${0}ms;
361
+ }
362
+
363
+ & .${0} {
364
+ opacity: 1;
365
+ display: block;
366
+ width: 100%;
367
+ height: 100%;
368
+ border-radius: 50%;
369
+ background-color: currentColor;
370
+ }
371
+
372
+ & .${0} {
373
+ opacity: 0;
374
+ animation-name: ${0};
375
+ animation-duration: ${0}ms;
376
+ animation-timing-function: ${0};
377
+ }
378
+
379
+ & .${0} {
380
+ position: absolute;
381
+ /* @noflip */
382
+ left: 0px;
383
+ top: 0;
384
+ animation-name: ${0};
385
+ animation-duration: 2500ms;
386
+ animation-timing-function: ${0};
387
+ animation-iteration-count: infinite;
388
+ animation-delay: 200ms;
389
+ }
390
+ `), E.rippleVisible, bi, Po, ({
391
+ theme: o
392
+ }) => o.transitions.easing.easeInOut, E.ripplePulsate, ({
393
+ theme: o
394
+ }) => o.transitions.duration.shorter, E.child, E.childLeaving, fi, Po, ({
395
+ theme: o
396
+ }) => o.transitions.easing.easeInOut, E.childPulsate, xi, ({
397
+ theme: o
398
+ }) => o.transitions.easing.easeInOut), Ct = /* @__PURE__ */ g.forwardRef(function(t, e) {
399
+ const n = Ao({
400
+ props: t,
401
+ name: "MuiTouchRipple"
402
+ }), {
403
+ center: a = !1,
404
+ classes: r = {},
405
+ className: l
406
+ } = n, u = co(n, di), [c, b] = g.useState([]), M = g.useRef(0), w = g.useRef(null);
407
+ g.useEffect(() => {
408
+ w.current && (w.current(), w.current = null);
409
+ }, [c]);
410
+ const m = g.useRef(!1), S = Gt(), y = g.useRef(null), z = g.useRef(null), D = g.useCallback((x) => {
411
+ const {
412
+ pulsate: C,
413
+ rippleX: f,
414
+ rippleY: V,
415
+ rippleSize: B,
416
+ cb: Z
417
+ } = x;
418
+ b((O) => [...O, /* @__PURE__ */ d.jsx(yi, {
419
+ classes: {
420
+ ripple: j(r.ripple, E.ripple),
421
+ rippleVisible: j(r.rippleVisible, E.rippleVisible),
422
+ ripplePulsate: j(r.ripplePulsate, E.ripplePulsate),
423
+ child: j(r.child, E.child),
424
+ childLeaving: j(r.childLeaving, E.childLeaving),
425
+ childPulsate: j(r.childPulsate, E.childPulsate)
426
+ },
427
+ timeout: Po,
428
+ pulsate: C,
429
+ rippleX: f,
430
+ rippleY: V,
431
+ rippleSize: B
432
+ }, M.current)]), M.current += 1, w.current = Z;
433
+ }, [r]), v = g.useCallback((x = {}, C = {}, f = () => {
434
+ }) => {
435
+ const {
436
+ pulsate: V = !1,
437
+ center: B = a || C.pulsate,
438
+ fakeElement: Z = !1
439
+ // For test purposes
440
+ } = C;
441
+ if ((x == null ? void 0 : x.type) === "mousedown" && m.current) {
442
+ m.current = !1;
443
+ return;
444
+ }
445
+ (x == null ? void 0 : x.type) === "touchstart" && (m.current = !0);
446
+ const O = Z ? null : z.current, $ = O ? O.getBoundingClientRect() : {
447
+ width: 0,
448
+ height: 0,
449
+ left: 0,
450
+ top: 0
451
+ };
452
+ let A, W, F;
453
+ if (B || x === void 0 || x.clientX === 0 && x.clientY === 0 || !x.clientX && !x.touches)
454
+ A = Math.round($.width / 2), W = Math.round($.height / 2);
455
+ else {
456
+ const {
457
+ clientX: N,
458
+ clientY: P
459
+ } = x.touches && x.touches.length > 0 ? x.touches[0] : x;
460
+ A = Math.round(N - $.left), W = Math.round(P - $.top);
461
+ }
462
+ if (B)
463
+ F = Math.sqrt((2 * $.width ** 2 + $.height ** 2) / 3), F % 2 === 0 && (F += 1);
464
+ else {
465
+ const N = Math.max(Math.abs((O ? O.clientWidth : 0) - A), A) * 2 + 2, P = Math.max(Math.abs((O ? O.clientHeight : 0) - W), W) * 2 + 2;
466
+ F = Math.sqrt(N ** 2 + P ** 2);
467
+ }
468
+ x != null && x.touches ? y.current === null && (y.current = () => {
469
+ D({
470
+ pulsate: V,
471
+ rippleX: A,
472
+ rippleY: W,
473
+ rippleSize: F,
474
+ cb: f
475
+ });
476
+ }, S.start(gi, () => {
477
+ y.current && (y.current(), y.current = null);
478
+ })) : D({
479
+ pulsate: V,
480
+ rippleX: A,
481
+ rippleY: W,
482
+ rippleSize: F,
483
+ cb: f
484
+ });
485
+ }, [a, D, S]), _ = g.useCallback(() => {
486
+ v({}, {
487
+ pulsate: !0
488
+ });
489
+ }, [v]), G = g.useCallback((x, C) => {
490
+ if (S.clear(), (x == null ? void 0 : x.type) === "touchend" && y.current) {
491
+ y.current(), y.current = null, S.start(0, () => {
492
+ G(x, C);
493
+ });
494
+ return;
495
+ }
496
+ y.current = null, b((f) => f.length > 0 ? f.slice(1) : f), w.current = C;
497
+ }, [S]);
498
+ return g.useImperativeHandle(e, () => ({
499
+ pulsate: _,
500
+ start: v,
501
+ stop: G
502
+ }), [_, v, G]), /* @__PURE__ */ d.jsx(hi, h({
503
+ className: j(E.root, r.root, l),
504
+ ref: z
505
+ }, u, {
506
+ children: /* @__PURE__ */ d.jsx(jo, {
507
+ component: null,
508
+ exit: !0,
509
+ children: c
510
+ })
511
+ }));
512
+ });
513
+ process.env.NODE_ENV !== "production" && (Ct.propTypes = {
514
+ /**
515
+ * If `true`, the ripple starts at the center of the component
516
+ * rather than at the point of interaction.
517
+ */
518
+ center: i.bool,
519
+ /**
520
+ * Override or extend the styles applied to the component.
521
+ */
522
+ classes: i.object,
523
+ /**
524
+ * @ignore
525
+ */
526
+ className: i.string
527
+ });
528
+ function Mi(o) {
529
+ return xt("MuiButtonBase", o);
530
+ }
531
+ const vi = Eo("MuiButtonBase", ["root", "disabled", "focusVisible"]), mi = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"], Ci = (o) => {
532
+ const {
533
+ disabled: t,
534
+ focusVisible: e,
535
+ focusVisibleClassName: n,
536
+ classes: a
537
+ } = o, l = ht({
538
+ root: ["root", t && "disabled", e && "focusVisible"]
539
+ }, Mi, a);
540
+ return e && n && (l.root += ` ${n}`), l;
541
+ }, Bi = Bo("button", {
542
+ name: "MuiButtonBase",
543
+ slot: "Root",
544
+ overridesResolver: (o, t) => t.root
545
+ })({
546
+ display: "inline-flex",
547
+ alignItems: "center",
548
+ justifyContent: "center",
549
+ position: "relative",
550
+ boxSizing: "border-box",
551
+ WebkitTapHighlightColor: "transparent",
552
+ backgroundColor: "transparent",
553
+ // Reset default value
554
+ // We disable the focus ring for mouse, touch and keyboard users.
555
+ outline: 0,
556
+ border: 0,
557
+ margin: 0,
558
+ // Remove the margin in Safari
559
+ borderRadius: 0,
560
+ padding: 0,
561
+ // Remove the padding in Firefox
562
+ cursor: "pointer",
563
+ userSelect: "none",
564
+ verticalAlign: "middle",
565
+ MozAppearance: "none",
566
+ // Reset
567
+ WebkitAppearance: "none",
568
+ // Reset
569
+ textDecoration: "none",
570
+ // So we take precedent over the style of a native <a /> element.
571
+ color: "inherit",
572
+ "&::-moz-focus-inner": {
573
+ borderStyle: "none"
574
+ // Remove Firefox dotted outline.
575
+ },
576
+ [`&.${vi.disabled}`]: {
577
+ pointerEvents: "none",
578
+ // Disable link interactions
579
+ cursor: "default"
580
+ },
581
+ "@media print": {
582
+ colorAdjust: "exact"
583
+ }
584
+ }), Bt = /* @__PURE__ */ g.forwardRef(function(t, e) {
585
+ const n = Ao({
586
+ props: t,
587
+ name: "MuiButtonBase"
588
+ }), {
589
+ action: a,
590
+ centerRipple: r = !1,
591
+ children: l,
592
+ className: u,
593
+ component: c = "button",
594
+ disabled: b = !1,
595
+ disableRipple: M = !1,
596
+ disableTouchRipple: w = !1,
597
+ focusRipple: m = !1,
598
+ LinkComponent: S = "a",
599
+ onBlur: y,
600
+ onClick: z,
601
+ onContextMenu: D,
602
+ onDragLeave: v,
603
+ onFocus: _,
604
+ onFocusVisible: G,
605
+ onKeyDown: x,
606
+ onKeyUp: C,
607
+ onMouseDown: f,
608
+ onMouseLeave: V,
609
+ onMouseUp: B,
610
+ onTouchEnd: Z,
611
+ onTouchMove: O,
612
+ onTouchStart: $,
613
+ tabIndex: A = 0,
614
+ TouchRippleProps: W,
615
+ touchRippleRef: F,
616
+ type: N
617
+ } = n, P = co(n, mi), K = g.useRef(null), T = g.useRef(null), uo = Vo(T, F), {
618
+ isFocusVisibleRef: io,
619
+ onFocus: So,
620
+ onBlur: Io,
621
+ ref: Ro
622
+ } = Kt(), [U, J] = g.useState(!1);
623
+ b && U && J(!1), g.useImperativeHandle(a, () => ({
624
+ focusVisible: () => {
625
+ J(!0), K.current.focus();
626
+ }
627
+ }), []);
628
+ const [oo, go] = g.useState(!1);
629
+ g.useEffect(() => {
630
+ go(!0);
631
+ }, []);
632
+ const eo = oo && !M && !b;
633
+ g.useEffect(() => {
634
+ U && m && !M && oo && T.current.pulsate();
635
+ }, [M, m, U, oo]);
636
+ function k(s, Ho, _t = w) {
637
+ return fo((_o) => (Ho && Ho(_o), !_t && T.current && T.current[s](_o), !0));
638
+ }
639
+ const Tt = k("start", f), zt = k("stop", D), Ot = k("stop", v), Pt = k("stop", B), Lt = k("stop", (s) => {
640
+ U && s.preventDefault(), V && V(s);
641
+ }), Et = k("start", $), At = k("stop", Z), Wt = k("stop", O), Ft = k("stop", (s) => {
642
+ Io(s), io.current === !1 && J(!1), y && y(s);
643
+ }, !1), jt = fo((s) => {
644
+ K.current || (K.current = s.currentTarget), So(s), io.current === !0 && (J(!0), G && G(s)), _ && _(s);
645
+ }), wo = () => {
646
+ const s = K.current;
647
+ return c && c !== "button" && !(s.tagName === "A" && s.href);
648
+ }, To = g.useRef(!1), Dt = fo((s) => {
649
+ m && !To.current && U && T.current && s.key === " " && (To.current = !0, T.current.stop(s, () => {
650
+ T.current.start(s);
651
+ })), s.target === s.currentTarget && wo() && s.key === " " && s.preventDefault(), x && x(s), s.target === s.currentTarget && wo() && s.key === "Enter" && !b && (s.preventDefault(), z && z(s));
652
+ }), $t = fo((s) => {
653
+ m && s.key === " " && T.current && U && !s.defaultPrevented && (To.current = !1, T.current.stop(s, () => {
654
+ T.current.pulsate(s);
655
+ })), C && C(s), z && s.target === s.currentTarget && wo() && s.key === " " && !s.defaultPrevented && z(s);
656
+ });
657
+ let bo = c;
658
+ bo === "button" && (P.href || P.to) && (bo = S);
659
+ const ro = {};
660
+ bo === "button" ? (ro.type = N === void 0 ? "button" : N, ro.disabled = b) : (!P.href && !P.to && (ro.role = "button"), b && (ro["aria-disabled"] = b));
661
+ const Nt = Vo(e, Ro, K);
662
+ process.env.NODE_ENV !== "production" && g.useEffect(() => {
663
+ eo && !T.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
664
+ `));
665
+ }, [eo]);
666
+ const No = h({}, n, {
667
+ centerRipple: r,
668
+ component: c,
669
+ disabled: b,
670
+ disableRipple: M,
671
+ disableTouchRipple: w,
672
+ focusRipple: m,
673
+ tabIndex: A,
674
+ focusVisible: U
675
+ }), Ht = Ci(No);
676
+ return /* @__PURE__ */ d.jsxs(Bi, h({
677
+ as: bo,
678
+ className: j(Ht.root, u),
679
+ ownerState: No,
680
+ onBlur: Ft,
681
+ onClick: z,
682
+ onContextMenu: zt,
683
+ onFocus: jt,
684
+ onKeyDown: Dt,
685
+ onKeyUp: $t,
686
+ onMouseDown: Tt,
687
+ onMouseLeave: Lt,
688
+ onMouseUp: Pt,
689
+ onDragLeave: Ot,
690
+ onTouchEnd: At,
691
+ onTouchMove: Wt,
692
+ onTouchStart: Et,
693
+ ref: Nt,
694
+ tabIndex: b ? -1 : A,
695
+ type: N
696
+ }, ro, P, {
697
+ children: [l, eo ? (
698
+ /* TouchRipple is only needed client-side, x2 boost on the server. */
699
+ /* @__PURE__ */ d.jsx(Ct, h({
700
+ ref: uo,
701
+ center: r
702
+ }, W))
703
+ ) : null]
704
+ }));
705
+ });
706
+ process.env.NODE_ENV !== "production" && (Bt.propTypes = {
707
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
708
+ // │ These PropTypes are generated from the TypeScript type definitions. │
709
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
710
+ // └─────────────────────────────────────────────────────────────────────┘
711
+ /**
712
+ * A ref for imperative actions.
713
+ * It currently only supports `focusVisible()` action.
714
+ */
715
+ action: oi,
716
+ /**
717
+ * If `true`, the ripples are centered.
718
+ * They won't start at the cursor interaction position.
719
+ * @default false
720
+ */
721
+ centerRipple: i.bool,
722
+ /**
723
+ * The content of the component.
724
+ */
725
+ children: i.node,
726
+ /**
727
+ * Override or extend the styles applied to the component.
728
+ */
729
+ classes: i.object,
730
+ /**
731
+ * @ignore
732
+ */
733
+ className: i.string,
734
+ /**
735
+ * The component used for the root node.
736
+ * Either a string to use a HTML element or a component.
737
+ */
738
+ component: Jt,
739
+ /**
740
+ * If `true`, the component is disabled.
741
+ * @default false
742
+ */
743
+ disabled: i.bool,
744
+ /**
745
+ * If `true`, the ripple effect is disabled.
746
+ *
747
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
748
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
749
+ * @default false
750
+ */
751
+ disableRipple: i.bool,
752
+ /**
753
+ * If `true`, the touch ripple effect is disabled.
754
+ * @default false
755
+ */
756
+ disableTouchRipple: i.bool,
757
+ /**
758
+ * If `true`, the base button will have a keyboard focus ripple.
759
+ * @default false
760
+ */
761
+ focusRipple: i.bool,
762
+ /**
763
+ * This prop can help identify which element has keyboard focus.
764
+ * The class name will be applied when the element gains the focus through keyboard interaction.
765
+ * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
766
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
767
+ * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
768
+ * if needed.
769
+ */
770
+ focusVisibleClassName: i.string,
771
+ /**
772
+ * @ignore
773
+ */
774
+ href: i.any,
775
+ /**
776
+ * The component used to render a link when the `href` prop is provided.
777
+ * @default 'a'
778
+ */
779
+ LinkComponent: i.elementType,
780
+ /**
781
+ * @ignore
782
+ */
783
+ onBlur: i.func,
784
+ /**
785
+ * @ignore
786
+ */
787
+ onClick: i.func,
788
+ /**
789
+ * @ignore
790
+ */
791
+ onContextMenu: i.func,
792
+ /**
793
+ * @ignore
794
+ */
795
+ onDragLeave: i.func,
796
+ /**
797
+ * @ignore
798
+ */
799
+ onFocus: i.func,
800
+ /**
801
+ * Callback fired when the component is focused with a keyboard.
802
+ * We trigger a `onFocus` callback too.
803
+ */
804
+ onFocusVisible: i.func,
805
+ /**
806
+ * @ignore
807
+ */
808
+ onKeyDown: i.func,
809
+ /**
810
+ * @ignore
811
+ */
812
+ onKeyUp: i.func,
813
+ /**
814
+ * @ignore
815
+ */
816
+ onMouseDown: i.func,
817
+ /**
818
+ * @ignore
819
+ */
820
+ onMouseLeave: i.func,
821
+ /**
822
+ * @ignore
823
+ */
824
+ onMouseUp: i.func,
825
+ /**
826
+ * @ignore
827
+ */
828
+ onTouchEnd: i.func,
829
+ /**
830
+ * @ignore
831
+ */
832
+ onTouchMove: i.func,
833
+ /**
834
+ * @ignore
835
+ */
836
+ onTouchStart: i.func,
837
+ /**
838
+ * The system prop that allows defining system overrides as well as additional CSS styles.
839
+ */
840
+ sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
841
+ /**
842
+ * @default 0
843
+ */
844
+ tabIndex: i.number,
845
+ /**
846
+ * Props applied to the `TouchRipple` element.
847
+ */
848
+ TouchRippleProps: i.object,
849
+ /**
850
+ * A ref that points to the `TouchRipple` element.
851
+ */
852
+ touchRippleRef: i.oneOfType([i.func, i.shape({
853
+ current: i.shape({
854
+ pulsate: i.func.isRequired,
855
+ start: i.func.isRequired,
856
+ stop: i.func.isRequired
857
+ })
858
+ })]),
859
+ /**
860
+ * @ignore
861
+ */
862
+ type: i.oneOfType([i.oneOf(["button", "reset", "submit"]), i.string])
863
+ });
864
+ function ki(o) {
865
+ return xt("MuiIconButton", o);
866
+ }
867
+ const Si = Eo("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), Ii = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], Ri = (o) => {
868
+ const {
869
+ classes: t,
870
+ disabled: e,
871
+ color: n,
872
+ edge: a,
873
+ size: r
874
+ } = o, l = {
875
+ root: ["root", e && "disabled", n !== "default" && `color${to(n)}`, a && `edge${to(a)}`, `size${to(r)}`]
876
+ };
877
+ return ht(l, ki, t);
878
+ }, wi = Bo(Bt, {
879
+ name: "MuiIconButton",
880
+ slot: "Root",
881
+ overridesResolver: (o, t) => {
882
+ const {
883
+ ownerState: e
884
+ } = o;
885
+ return [t.root, e.color !== "default" && t[`color${to(e.color)}`], e.edge && t[`edge${to(e.edge)}`], t[`size${to(e.size)}`]];
886
+ }
887
+ })(({
888
+ theme: o,
889
+ ownerState: t
890
+ }) => h({
891
+ textAlign: "center",
892
+ flex: "0 0 auto",
893
+ fontSize: o.typography.pxToRem(24),
894
+ padding: 8,
895
+ borderRadius: "50%",
896
+ overflow: "visible",
897
+ // Explicitly set the default value to solve a bug on IE11.
898
+ color: (o.vars || o).palette.action.active,
899
+ transition: o.transitions.create("background-color", {
900
+ duration: o.transitions.duration.shortest
901
+ })
902
+ }, !t.disableRipple && {
903
+ "&:hover": {
904
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : Uo(o.palette.action.active, o.palette.action.hoverOpacity),
905
+ // Reset on touch devices, it doesn't add specificity
906
+ "@media (hover: none)": {
907
+ backgroundColor: "transparent"
908
+ }
909
+ }
910
+ }, t.edge === "start" && {
911
+ marginLeft: t.size === "small" ? -3 : -12
912
+ }, t.edge === "end" && {
913
+ marginRight: t.size === "small" ? -3 : -12
914
+ }), ({
915
+ theme: o,
916
+ ownerState: t
917
+ }) => {
918
+ var e;
919
+ const n = (e = (o.vars || o).palette) == null ? void 0 : e[t.color];
920
+ return h({}, t.color === "inherit" && {
921
+ color: "inherit"
922
+ }, t.color !== "inherit" && t.color !== "default" && h({
923
+ color: n == null ? void 0 : n.main
924
+ }, !t.disableRipple && {
925
+ "&:hover": h({}, n && {
926
+ backgroundColor: o.vars ? `rgba(${n.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : Uo(n.main, o.palette.action.hoverOpacity)
927
+ }, {
928
+ // Reset on touch devices, it doesn't add specificity
929
+ "@media (hover: none)": {
930
+ backgroundColor: "transparent"
931
+ }
932
+ })
933
+ }), t.size === "small" && {
934
+ padding: 5,
935
+ fontSize: o.typography.pxToRem(18)
936
+ }, t.size === "large" && {
937
+ padding: 12,
938
+ fontSize: o.typography.pxToRem(28)
939
+ }, {
940
+ [`&.${Si.disabled}`]: {
941
+ backgroundColor: "transparent",
942
+ color: (o.vars || o).palette.action.disabled
943
+ }
944
+ });
945
+ }), so = /* @__PURE__ */ g.forwardRef(function(t, e) {
946
+ const n = Ao({
947
+ props: t,
948
+ name: "MuiIconButton"
949
+ }), {
950
+ edge: a = !1,
951
+ children: r,
952
+ className: l,
953
+ color: u = "default",
954
+ disabled: c = !1,
955
+ disableFocusRipple: b = !1,
956
+ size: M = "medium"
957
+ } = n, w = co(n, Ii), m = h({}, n, {
958
+ edge: a,
959
+ color: u,
960
+ disabled: c,
961
+ disableFocusRipple: b,
962
+ size: M
963
+ }), S = Ri(m);
964
+ return /* @__PURE__ */ d.jsx(wi, h({
965
+ className: j(S.root, l),
966
+ centerRipple: !0,
967
+ focusRipple: !b,
968
+ disabled: c,
969
+ ref: e
970
+ }, w, {
971
+ ownerState: m,
972
+ children: r
973
+ }));
974
+ });
975
+ process.env.NODE_ENV !== "production" && (so.propTypes = {
976
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
977
+ // │ These PropTypes are generated from the TypeScript type definitions. │
978
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
979
+ // └─────────────────────────────────────────────────────────────────────┘
980
+ /**
981
+ * The icon to display.
982
+ */
983
+ children: vt(i.node, (o) => g.Children.toArray(o.children).some((e) => /* @__PURE__ */ g.isValidElement(e) && e.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
984
+ `)) : null),
985
+ /**
986
+ * Override or extend the styles applied to the component.
987
+ */
988
+ classes: i.object,
989
+ /**
990
+ * @ignore
991
+ */
992
+ className: i.string,
993
+ /**
994
+ * The color of the component.
995
+ * It supports both default and custom theme colors, which can be added as shown in the
996
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
997
+ * @default 'default'
998
+ */
999
+ color: i.oneOfType([i.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), i.string]),
1000
+ /**
1001
+ * If `true`, the component is disabled.
1002
+ * @default false
1003
+ */
1004
+ disabled: i.bool,
1005
+ /**
1006
+ * If `true`, the keyboard focus ripple is disabled.
1007
+ * @default false
1008
+ */
1009
+ disableFocusRipple: i.bool,
1010
+ /**
1011
+ * If `true`, the ripple effect is disabled.
1012
+ *
1013
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
1014
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
1015
+ * @default false
1016
+ */
1017
+ disableRipple: i.bool,
1018
+ /**
1019
+ * If given, uses a negative margin to counteract the padding on one
1020
+ * side (this is often helpful for aligning the left or right
1021
+ * side of the icon with content above or below, without ruining the border
1022
+ * size and shape).
1023
+ * @default false
1024
+ */
1025
+ edge: i.oneOf(["end", "start", !1]),
1026
+ /**
1027
+ * The size of the component.
1028
+ * `small` is equivalent to the dense button styling.
1029
+ * @default 'medium'
1030
+ */
1031
+ size: i.oneOfType([i.oneOf(["small", "medium", "large"]), i.string]),
1032
+ /**
1033
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1034
+ */
1035
+ sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object])
1036
+ });
1037
+ const Ti = Co(/* @__PURE__ */ d.jsx("path", {
1038
+ d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
1039
+ }), "LastPage"), zi = Co(/* @__PURE__ */ d.jsx("path", {
1040
+ d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
1041
+ }), "FirstPage"), Oi = ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slots", "slotProps"], kt = /* @__PURE__ */ g.forwardRef(function(t, e) {
1042
+ var n, a, r, l, u, c, b, M;
1043
+ const {
1044
+ backIconButtonProps: w,
1045
+ count: m,
1046
+ disabled: S = !1,
1047
+ getItemAriaLabel: y,
1048
+ nextIconButtonProps: z,
1049
+ onPageChange: D,
1050
+ page: v,
1051
+ rowsPerPage: _,
1052
+ showFirstButton: G,
1053
+ showLastButton: x,
1054
+ slots: C = {},
1055
+ slotProps: f = {}
1056
+ } = t, V = co(t, Oi), B = ii(), Z = (k) => {
1057
+ D(k, 0);
1058
+ }, O = (k) => {
1059
+ D(k, v - 1);
1060
+ }, $ = (k) => {
1061
+ D(k, v + 1);
1062
+ }, A = (k) => {
1063
+ D(k, Math.max(0, Math.ceil(m / _) - 1));
1064
+ }, W = (n = C.firstButton) != null ? n : so, F = (a = C.lastButton) != null ? a : so, N = (r = C.nextButton) != null ? r : so, P = (l = C.previousButton) != null ? l : so, K = (u = C.firstButtonIcon) != null ? u : zi, T = (c = C.lastButtonIcon) != null ? c : Ti, uo = (b = C.nextButtonIcon) != null ? b : ri, io = (M = C.previousButtonIcon) != null ? M : ei, So = B ? F : W, Io = B ? N : P, Ro = B ? P : N, U = B ? W : F, J = B ? f.lastButton : f.firstButton, oo = B ? f.nextButton : f.previousButton, go = B ? f.previousButton : f.nextButton, eo = B ? f.firstButton : f.lastButton;
1065
+ return /* @__PURE__ */ d.jsxs("div", h({
1066
+ ref: e
1067
+ }, V, {
1068
+ children: [G && /* @__PURE__ */ d.jsx(So, h({
1069
+ onClick: Z,
1070
+ disabled: S || v === 0,
1071
+ "aria-label": y("first", v),
1072
+ title: y("first", v)
1073
+ }, J, {
1074
+ children: B ? /* @__PURE__ */ d.jsx(T, h({}, f.lastButtonIcon)) : /* @__PURE__ */ d.jsx(K, h({}, f.firstButtonIcon))
1075
+ })), /* @__PURE__ */ d.jsx(Io, h({
1076
+ onClick: O,
1077
+ disabled: S || v === 0,
1078
+ color: "inherit",
1079
+ "aria-label": y("previous", v),
1080
+ title: y("previous", v)
1081
+ }, oo ?? w, {
1082
+ children: B ? /* @__PURE__ */ d.jsx(uo, h({}, f.nextButtonIcon)) : /* @__PURE__ */ d.jsx(io, h({}, f.previousButtonIcon))
1083
+ })), /* @__PURE__ */ d.jsx(Ro, h({
1084
+ onClick: $,
1085
+ disabled: S || (m !== -1 ? v >= Math.ceil(m / _) - 1 : !1),
1086
+ color: "inherit",
1087
+ "aria-label": y("next", v),
1088
+ title: y("next", v)
1089
+ }, go ?? z, {
1090
+ children: B ? /* @__PURE__ */ d.jsx(io, h({}, f.previousButtonIcon)) : /* @__PURE__ */ d.jsx(uo, h({}, f.nextButtonIcon))
1091
+ })), x && /* @__PURE__ */ d.jsx(U, h({
1092
+ onClick: A,
1093
+ disabled: S || v >= Math.ceil(m / _) - 1,
1094
+ "aria-label": y("last", v),
1095
+ title: y("last", v)
1096
+ }, eo, {
1097
+ children: B ? /* @__PURE__ */ d.jsx(K, h({}, f.firstButtonIcon)) : /* @__PURE__ */ d.jsx(T, h({}, f.lastButtonIcon))
1098
+ }))]
1099
+ }));
1100
+ });
1101
+ process.env.NODE_ENV !== "production" && (kt.propTypes = {
1102
+ /**
1103
+ * Props applied to the back arrow [`IconButton`](/material-ui/api/icon-button/) element.
1104
+ */
1105
+ backIconButtonProps: i.object,
1106
+ /**
1107
+ * The total number of rows.
1108
+ */
1109
+ count: i.number.isRequired,
1110
+ /**
1111
+ * If `true`, the component is disabled.
1112
+ * @default false
1113
+ */
1114
+ disabled: i.bool,
1115
+ /**
1116
+ * Accepts a function which returns a string value that provides a user-friendly name for the current page.
1117
+ *
1118
+ * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
1119
+ *
1120
+ * @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous'). Defaults to 'page'.
1121
+ * @param {number} page The page number to format.
1122
+ * @returns {string}
1123
+ */
1124
+ getItemAriaLabel: i.func.isRequired,
1125
+ /**
1126
+ * Props applied to the next arrow [`IconButton`](/material-ui/api/icon-button/) element.
1127
+ */
1128
+ nextIconButtonProps: i.object,
1129
+ /**
1130
+ * Callback fired when the page is changed.
1131
+ *
1132
+ * @param {object} event The event source of the callback.
1133
+ * @param {number} page The page selected.
1134
+ */
1135
+ onPageChange: i.func.isRequired,
1136
+ /**
1137
+ * The zero-based index of the current page.
1138
+ */
1139
+ page: i.number.isRequired,
1140
+ /**
1141
+ * The number of rows per page.
1142
+ */
1143
+ rowsPerPage: i.number.isRequired,
1144
+ /**
1145
+ * If `true`, show the first-page button.
1146
+ */
1147
+ showFirstButton: i.bool.isRequired,
1148
+ /**
1149
+ * If `true`, show the last-page button.
1150
+ */
1151
+ showLastButton: i.bool.isRequired,
1152
+ /**
1153
+ * The props used for each slot inside the TablePaginationActions.
1154
+ * @default {}
1155
+ */
1156
+ slotProps: i.shape({
1157
+ firstButton: i.object,
1158
+ firstButtonIcon: i.object,
1159
+ lastButton: i.object,
1160
+ lastButtonIcon: i.object,
1161
+ nextButton: i.object,
1162
+ nextButtonIcon: i.object,
1163
+ previousButton: i.object,
1164
+ previousButtonIcon: i.object
1165
+ }),
1166
+ /**
1167
+ * The components used for each slot inside the TablePaginationActions.
1168
+ * Either a string to use a HTML element or a component.
1169
+ * @default {}
1170
+ */
1171
+ slots: i.shape({
1172
+ firstButton: i.elementType,
1173
+ firstButtonIcon: i.elementType,
1174
+ lastButton: i.elementType,
1175
+ lastButtonIcon: i.elementType,
1176
+ nextButton: i.elementType,
1177
+ nextButtonIcon: i.elementType,
1178
+ previousButton: i.elementType,
1179
+ previousButtonIcon: i.elementType
1180
+ })
1181
+ });
1182
+ const St = 1, po = 0.5, ho = St + po, Pi = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z", Jo = "50%", ot = 0.5, Li = {
1183
+ // Divider
1184
+ MuiDivider: {
1185
+ styleOverrides: {
1186
+ root: ({ theme: o }) => ({
1187
+ backgroundColor: "transparent",
1188
+ borderColor: o.palette.divider
1189
+ }),
1190
+ light: ({ theme: o }) => ({
1191
+ borderColor: o.palette.white[12]
1192
+ })
1193
+ }
1194
+ },
1195
+ // Tooltip
1196
+ MuiTooltip: {
1197
+ defaultProps: {
1198
+ arrow: !0,
1199
+ placement: "top",
1200
+ enterDelay: 1e3,
1201
+ leaveDelay: 200
1202
+ },
1203
+ styleOverrides: {
1204
+ tooltip: ({ theme: o }) => ({
1205
+ ...o.typography.caption,
1206
+ fontWeight: 500,
1207
+ maxWidth: "240px",
1208
+ backgroundColor: o.palette.black[90],
1209
+ '.MuiTooltip-popper[data-popper-placement*="top"] &': {
1210
+ marginBottom: o.spacing(po),
1211
+ "&.MuiTooltip-tooltipArrow": {
1212
+ marginBottom: o.spacing(ho)
1213
+ }
1214
+ },
1215
+ '.MuiTooltip-popper[data-popper-placement*="right"] &': {
1216
+ marginLeft: o.spacing(po),
1217
+ "&.MuiTooltip-tooltipArrow": {
1218
+ marginLeft: o.spacing(ho)
1219
+ }
1220
+ },
1221
+ '.MuiTooltip-popper[data-popper-placement*="bottom"] &': {
1222
+ marginTop: o.spacing(po),
1223
+ "&.MuiTooltip-tooltipArrow": {
1224
+ marginTop: o.spacing(ho)
1225
+ }
1226
+ },
1227
+ '.MuiTooltip-popper[data-popper-placement*="left"] &': {
1228
+ marginRight: o.spacing(po),
1229
+ "&.MuiTooltip-tooltipArrow": {
1230
+ marginRight: o.spacing(ho)
1231
+ }
1232
+ }
1233
+ }),
1234
+ arrow: ({ theme: o }) => ({
1235
+ height: o.spacing(St),
1236
+ color: o.palette.black[90]
1237
+ })
1238
+ }
1239
+ },
1240
+ // Popper
1241
+ MuiPopper: {
1242
+ styleOverrides: {
1243
+ root: ({ theme: o }) => ({
1244
+ "& .MuiPaper-root": {
1245
+ marginTop: o.spacing(0.5)
1246
+ }
1247
+ })
1248
+ }
1249
+ },
1250
+ // Popover
1251
+ MuiPopover: {
1252
+ styleOverrides: {
1253
+ root: ({ theme: o }) => ({
1254
+ "& .MuiPaper-root": {
1255
+ marginTop: o.spacing(0.5)
1256
+ }
1257
+ })
1258
+ }
1259
+ },
1260
+ // Dialog
1261
+ MuiDialog: {
1262
+ defaultProps: {
1263
+ maxWidth: "md"
1264
+ }
1265
+ },
1266
+ MuiDialogTitle: {
1267
+ defaultProps: {
1268
+ variant: "subtitle1"
1269
+ },
1270
+ styleOverrides: {
1271
+ root: ({ theme: o }) => ({
1272
+ padding: o.spacing(3, 3, 2)
1273
+ })
1274
+ }
1275
+ },
1276
+ MuiDialogContent: {
1277
+ styleOverrides: {
1278
+ root: ({ theme: o }) => ({
1279
+ "& .MuiFormGroup-root": {
1280
+ padding: o.spacing(1, 0)
1281
+ }
1282
+ })
1283
+ }
1284
+ },
1285
+ MuiDialogContentText: {
1286
+ defaultProps: {
1287
+ variant: "body2"
1288
+ },
1289
+ styleOverrides: {
1290
+ root: ({ theme: o }) => ({
1291
+ color: o.palette.text.primary
1292
+ })
1293
+ }
1294
+ },
1295
+ // Table
1296
+ MuiTablePagination: {
1297
+ defaultProps: {
1298
+ SelectProps: {
1299
+ variant: "outlined",
1300
+ size: "small"
1301
+ },
1302
+ labelDisplayedRows: ({ from: o, to: t, count: e }) => /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
1303
+ /* @__PURE__ */ d.jsx(
1304
+ Vt,
1305
+ {
1306
+ component: "span",
1307
+ variant: "inherit",
1308
+ weight: "strong",
1309
+ color: "textPrimary",
1310
+ children: `${o}-${t}`
1311
+ }
1312
+ ),
1313
+ ` of ${e}`
1314
+ ] }),
1315
+ ActionsComponent: kt
1316
+ },
1317
+ styleOverrides: {
1318
+ root: () => ({
1319
+ borderBottom: 0
1320
+ }),
1321
+ toolbar: ({ theme: o }) => ({
1322
+ minHeight: "0 !important",
1323
+ padding: "0 !important",
1324
+ height: o.spacing(6)
1325
+ }),
1326
+ selectLabel: ({ theme: o }) => ({
1327
+ margin: 0,
1328
+ ...o.typography.caption,
1329
+ fontWeight: o.typography.fontWeightMedium
1330
+ }),
1331
+ selectIcon: ({ theme: o }) => ({
1332
+ "&.MuiSvgIcon-root": {
1333
+ right: o.spacing(1)
1334
+ }
1335
+ }),
1336
+ input: ({ theme: o }) => ({
1337
+ marginRight: o.spacing(2),
1338
+ marginLeft: o.spacing(1),
1339
+ width: "auto",
1340
+ paddingRight: o.spacing(3)
1341
+ }),
1342
+ displayedRows: ({ theme: o }) => ({
1343
+ color: o.palette.text.secondary
1344
+ })
1345
+ }
1346
+ },
1347
+ MuiTable: {
1348
+ defaultProps: {
1349
+ stickyHeader: !0
1350
+ }
1351
+ },
1352
+ MuiTableRow: {
1353
+ styleOverrides: {
1354
+ root: ({ theme: o }) => ({
1355
+ transition: "background-color 0.25s ease",
1356
+ borderColor: o.palette.divider,
1357
+ "&.MuiTableRow-hover:hover": {
1358
+ cursor: "pointer"
1359
+ }
1360
+ })
1361
+ }
1362
+ },
1363
+ MuiTableCell: {
1364
+ styleOverrides: {
1365
+ root: ({ theme: o }) => ({
1366
+ padding: o.spacing(0.5, 2),
1367
+ height: o.spacing(6),
1368
+ "&.MuiTableCell-sizeSmall": {
1369
+ height: o.spacing(4)
1370
+ },
1371
+ "&.MuiTableCell-footer": {
1372
+ padding: 0
1373
+ }
1374
+ }),
1375
+ head: ({ theme: o }) => ({
1376
+ ...o.typography.caption,
1377
+ fontWeight: o.typography.fontWeightMedium,
1378
+ color: o.palette.text.primary
1379
+ }),
1380
+ stickyHeader: ({ theme: o }) => ({
1381
+ backgroundColor: o.palette.common.white
1382
+ }),
1383
+ paddingCheckbox: ({ theme: o }) => ({
1384
+ padding: o.spacing(0.5, 1)
1385
+ }),
1386
+ paddingNone: () => ({
1387
+ padding: 0
1388
+ })
1389
+ }
1390
+ },
1391
+ // Chip
1392
+ MuiChip: {
1393
+ defaultProps: {
1394
+ color: "primary"
1395
+ },
1396
+ styleOverrides: {
1397
+ root: ({ theme: o }) => ({
1398
+ maxWidth: "192px",
1399
+ padding: o.spacing(0, 0.5),
1400
+ "& .MuiAvatar-root": {
1401
+ width: L,
1402
+ minWidth: L,
1403
+ height: L,
1404
+ margin: 0,
1405
+ color: o.palette.secondary.contrastText,
1406
+ backgroundColor: o.palette.background.paper,
1407
+ border: `1px solid ${o.palette.action.hover}`
1408
+ },
1409
+ "& .MuiChip-icon": {
1410
+ margin: 0,
1411
+ marginLeft: o.spacing(0.5)
1412
+ },
1413
+ "& img": {
1414
+ width: L,
1415
+ minWidth: L,
1416
+ height: L
1417
+ },
1418
+ "&.MuiChip-root.Mui-disabled": {
1419
+ color: o.palette.text.disabled,
1420
+ backgroundColor: o.palette.action.disabledBackground,
1421
+ opacity: 1,
1422
+ "& .MuiChip-deleteIcon, & .MuiChip-icon": {
1423
+ color: o.palette.action.disabled
1424
+ },
1425
+ "& .MuiAvatar-root": {
1426
+ opacity: 0.6
1427
+ }
1428
+ },
1429
+ "& .MuiChip-deleteIcon": {
1430
+ color: o.palette.text.hint
1431
+ }
1432
+ }),
1433
+ // Variants
1434
+ filled: ({ theme: o }) => ({
1435
+ border: 0,
1436
+ backgroundColor: o.palette.default.main,
1437
+ "& .MuiChip-iconColorPrimary": {
1438
+ color: o.palette.primary.contrastText
1439
+ },
1440
+ "& .MuiChip-deleteIcon:hover": {
1441
+ color: o.palette.text.primary
1442
+ }
1443
+ }),
1444
+ filledPrimary: ({ theme: o }) => ({
1445
+ backgroundColor: o.palette.primary.main,
1446
+ "& .MuiChip-deleteIcon": {
1447
+ color: o.palette.white[60],
1448
+ "&:hover": {
1449
+ color: o.palette.common.white
1450
+ }
1451
+ }
1452
+ }),
1453
+ filledSecondary: ({ theme: o }) => ({
1454
+ backgroundColor: o.palette.secondary.main
1455
+ }),
1456
+ outlined: ({ theme: o }) => ({
1457
+ borderColor: o.palette.default.outlinedBorder,
1458
+ "&.MuiChip-root.Mui-disabled": {
1459
+ borderColor: o.palette.default.outlinedBorder,
1460
+ backgroundColor: "transparent"
1461
+ },
1462
+ "& .MuiChip-deleteIcon:hover": {
1463
+ color: o.palette.text.primary
1464
+ }
1465
+ }),
1466
+ outlinedPrimary: ({ theme: o }) => ({
1467
+ borderColor: o.palette.primary.main
1468
+ }),
1469
+ outlinedSecondary: ({ theme: o }) => ({
1470
+ borderColor: o.palette.secondary.main
1471
+ }),
1472
+ // Status colors
1473
+ colorSuccess: ({ theme: o }) => ({
1474
+ "&.MuiChip-outlined": {
1475
+ color: o.palette.success.dark,
1476
+ borderColor: o.palette.success.main
1477
+ },
1478
+ "&.MuiChip-filled": {
1479
+ color: o.palette.success.dark,
1480
+ backgroundColor: o.palette.success.relatedLight
1481
+ },
1482
+ "& .MuiChip-icon": {
1483
+ color: o.palette.success.main
1484
+ }
1485
+ }),
1486
+ colorInfo: ({ theme: o }) => ({
1487
+ "&.MuiChip-outlined": {
1488
+ color: o.palette.primary.dark,
1489
+ borderColor: o.palette.primary.main
1490
+ },
1491
+ "&.MuiChip-filled": {
1492
+ color: o.palette.primary.dark,
1493
+ backgroundColor: o.palette.primary.relatedLight
1494
+ },
1495
+ "& .MuiChip-icon": {
1496
+ color: o.palette.info.main
1497
+ }
1498
+ }),
1499
+ colorError: ({ theme: o }) => ({
1500
+ "&.MuiChip-outlined": {
1501
+ color: o.palette.error.dark,
1502
+ borderColor: o.palette.error.main
1503
+ },
1504
+ "&.MuiChip-filled": {
1505
+ color: o.palette.error.dark,
1506
+ backgroundColor: o.palette.error.relatedLight
1507
+ },
1508
+ "& .MuiChip-icon": {
1509
+ color: o.palette.error.main
1510
+ }
1511
+ }),
1512
+ colorWarning: ({ theme: o }) => ({
1513
+ "&.MuiChip-outlined": {
1514
+ color: o.palette.warning.relatedDark,
1515
+ borderColor: o.palette.warning.main
1516
+ },
1517
+ "&.MuiChip-filled": {
1518
+ color: o.palette.warning.relatedDark,
1519
+ backgroundColor: o.palette.warning.relatedLight
1520
+ },
1521
+ "& .MuiChip-icon": {
1522
+ color: o.palette.warning.main
1523
+ }
1524
+ }),
1525
+ // Sizes
1526
+ sizeSmall: ({ theme: o }) => ({
1527
+ "& img": {
1528
+ width: p,
1529
+ minWidth: p,
1530
+ height: p
1531
+ },
1532
+ "& .MuiAvatar-root": {
1533
+ width: p,
1534
+ minWidth: p,
1535
+ height: p
1536
+ },
1537
+ "& .MuiChip-icon": {
1538
+ marginLeft: o.spacing(0.25)
1539
+ }
1540
+ }),
1541
+ // Inner elements
1542
+ label: ({ theme: o }) => ({
1543
+ ...o.typography.button,
1544
+ padding: o.spacing(0, 0.75)
1545
+ }),
1546
+ labelSmall: ({ theme: o }) => ({
1547
+ ...o.typography.caption,
1548
+ fontWeight: 500,
1549
+ padding: o.spacing(0, 0.5)
1550
+ }),
1551
+ deleteIcon: () => ({
1552
+ width: p,
1553
+ height: p,
1554
+ margin: 0,
1555
+ marginLeft: "2px",
1556
+ // Forced to a non-standard value to meet with design
1557
+ marginRight: "3px",
1558
+ // Forced to a non-standard value to meet with design
1559
+ transition: "color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"
1560
+ }),
1561
+ deleteIconSmall: ({ theme: o }) => ({
1562
+ width: o.spacing(2),
1563
+ height: o.spacing(2),
1564
+ marginRight: 0
1565
+ }),
1566
+ clickable: ({ theme: o }) => ({
1567
+ "&:active": {
1568
+ boxShadow: "none"
1569
+ },
1570
+ "&.MuiChip-outlined": {
1571
+ transitionProperty: "background, color, border-color",
1572
+ transitionDuration: "300ms",
1573
+ transitionTimingFunction: "cubic-bezier(0.4, 0, 0.2, 1)",
1574
+ "&:hover": {
1575
+ backgroundColor: "transparent",
1576
+ "&.MuiChip-colorPrimary": {
1577
+ color: o.palette.primary.dark,
1578
+ borderColor: o.palette.primary.dark
1579
+ },
1580
+ "&.MuiChip-colorSecondary": {
1581
+ color: o.palette.secondary.dark,
1582
+ borderColor: o.palette.secondary.dark
1583
+ },
1584
+ "&.MuiChip-colorDefault": {
1585
+ borderColor: o.palette.default.dark
1586
+ },
1587
+ "&.MuiChip-colorSuccess": {
1588
+ color: o.palette.success.dark,
1589
+ borderColor: o.palette.success.dark
1590
+ },
1591
+ "&.MuiChip-colorInfo": {
1592
+ color: o.palette.info.dark,
1593
+ borderColor: o.palette.info.dark
1594
+ },
1595
+ "&.MuiChip-colorError": {
1596
+ color: o.palette.error.dark,
1597
+ borderColor: o.palette.error.dark
1598
+ },
1599
+ "&.MuiChip-colorWarning": {
1600
+ color: o.palette.warning.dark,
1601
+ borderColor: o.palette.warning.dark
1602
+ }
1603
+ }
1604
+ },
1605
+ "&.MuiChip-filled": {
1606
+ "&:hover": {
1607
+ "&.MuiChip-colorSecondary": {
1608
+ backgroundColor: o.palette.secondary.light
1609
+ },
1610
+ "&.MuiChip-colorDefault": {
1611
+ backgroundColor: o.palette.default.dark
1612
+ },
1613
+ "&.MuiChip-colorSuccess": {
1614
+ backgroundColor: xo(o.palette.success.main, 0.25)
1615
+ },
1616
+ "&.MuiChip-colorInfo": {
1617
+ backgroundColor: xo(o.palette.info.main, 0.12)
1618
+ },
1619
+ "&.MuiChip-colorError": {
1620
+ backgroundColor: xo(o.palette.error.main, 0.12)
1621
+ },
1622
+ "&.MuiChip-colorWarning": {
1623
+ backgroundColor: xo(o.palette.warning.main, 0.25)
1624
+ }
1625
+ }
1626
+ }
1627
+ })
1628
+ }
1629
+ },
1630
+ // Avatar
1631
+ MuiAvatar: {
1632
+ styleOverrides: {
1633
+ root: ({ theme: o }) => ({
1634
+ overflow: "initial",
1635
+ color: o.palette.secondary.contrastText,
1636
+ backgroundColor: o.palette.secondary.main,
1637
+ // Default fallback image override
1638
+ // https://github.com/mui/material-ui/issues/33229
1639
+ "& .MuiAvatar-fallback": {
1640
+ path: {
1641
+ d: `path('${Pi}') !important`
1642
+ }
1643
+ }
1644
+ }),
1645
+ img: ({ theme: o }) => ({
1646
+ boxShadow: `0 0 0 1px ${o.palette.default.outlinedBorder}`
1647
+ }),
1648
+ circular: () => ({
1649
+ borderRadius: Jo,
1650
+ "& img": {
1651
+ borderRadius: Jo
1652
+ }
1653
+ }),
1654
+ rounded: ({ theme: o }) => ({
1655
+ borderRadius: o.spacing(ot),
1656
+ "& img": {
1657
+ borderRadius: o.spacing(ot)
1658
+ }
1659
+ })
1660
+ }
1661
+ },
1662
+ // Skeleton
1663
+ MuiSkeleton: {
1664
+ defaultProps: {
1665
+ animation: "wave"
1666
+ }
1667
+ },
1668
+ // Typography
1669
+ MuiTypography: {
1670
+ defaultProps: {
1671
+ color: "textPrimary"
1672
+ }
1673
+ },
1674
+ // Svg Icons
1675
+ MuiSvgIcon: {
1676
+ styleOverrides: {
1677
+ root: () => ({
1678
+ fontSize: p
1679
+ }),
1680
+ fontSizeSmall: () => ({
1681
+ fontSize: ao
1682
+ }),
1683
+ fontSizeLarge: () => ({
1684
+ fontSize: L
1685
+ })
1686
+ }
1687
+ }
1688
+ }, tt = R(2), X = R(3), H = R(4), Y = R(6), it = R(0.5), Ei = {
1689
+ // Button Base
1690
+ MuiButtonBase: {
1691
+ defaultProps: {
1692
+ disableRipple: !0
1693
+ },
1694
+ styleOverrides: {
1695
+ root: () => ({
1696
+ "& .MuiSvgIcon-root, & svg": {
1697
+ display: "flex",
1698
+ fontSize: p,
1699
+ width: p,
1700
+ minWidth: p,
1701
+ height: p
1702
+ }
1703
+ })
1704
+ }
1705
+ },
1706
+ // Button
1707
+ MuiButton: {
1708
+ defaultProps: {
1709
+ disableElevation: !0
1710
+ },
1711
+ styleOverrides: {
1712
+ root: ({ ownerState: o, theme: t }) => ({
1713
+ // maxWidth: '192px', TODO temporary disabled waiting for a design definition
1714
+ "&:hover, &:focus-visible": {
1715
+ boxShadow: t.shadows[0],
1716
+ ...o.variant !== "contained" && {
1717
+ ...o.color === "primary" && {
1718
+ backgroundColor: t.palette.primary.background
1719
+ },
1720
+ ...o.color === "secondary" && {
1721
+ backgroundColor: t.palette.secondary.background
1722
+ },
1723
+ ...o.color === "error" && {
1724
+ background: t.palette.error.relatedLight
1725
+ }
1726
+ },
1727
+ ...o.variant === "contained" && o.color === "secondary" && {
1728
+ backgroundColor: t.palette.secondary.light
1729
+ }
1730
+ },
1731
+ "& svg:not(.doNotFillIcon) path": {
1732
+ fill: "currentColor"
1733
+ },
1734
+ // Pairing buttons separation
1735
+ "& + .MuiButtonBase-root": {
1736
+ marginLeft: t.spacing(1)
1737
+ }
1738
+ }),
1739
+ contained: ({ theme: o }) => ({
1740
+ boxShadow: "none",
1741
+ "&.Mui-disabled": {
1742
+ color: o.palette.text.disabled,
1743
+ backgroundColor: o.palette.action.disabledBackground
1744
+ }
1745
+ }),
1746
+ text: ({ theme: o }) => ({
1747
+ minWidth: o.spacing(7)
1748
+ }),
1749
+ outlined: ({ theme: o }) => ({
1750
+ "&.Mui-disabled": {
1751
+ color: o.palette.text.disabled,
1752
+ borderColor: o.palette.default.outlinedBorder
1753
+ }
1754
+ }),
1755
+ outlinedPrimary: ({ theme: o }) => ({
1756
+ borderColor: o.palette.primary.main
1757
+ }),
1758
+ outlinedSecondary: ({ theme: o }) => ({
1759
+ borderColor: o.palette.secondary.main
1760
+ }),
1761
+ outlinedError: ({ theme: o }) => ({
1762
+ borderColor: o.palette.error.main
1763
+ }),
1764
+ containedPrimary: ({ theme: o }) => ({
1765
+ "&:hover, &:focus-visible": {
1766
+ backgroundColor: o.palette.primary.dark
1767
+ }
1768
+ }),
1769
+ containedError: ({ theme: o }) => ({
1770
+ "&:hover, &:focus-visible": {
1771
+ backgroundColor: o.palette.error.dark
1772
+ }
1773
+ }),
1774
+ startIcon: ({ theme: o }) => ({
1775
+ marginRight: o.spacing(0.75),
1776
+ "& .MuiSvgIcon-root, & svg": {
1777
+ fontSize: p,
1778
+ width: p,
1779
+ minWidth: p,
1780
+ height: p
1781
+ },
1782
+ "&.MuiButton-iconSizeSmall": {
1783
+ marginRight: o.spacing(0.5),
1784
+ marginLeft: o.spacing(-0.5)
1785
+ }
1786
+ }),
1787
+ endIcon: ({ theme: o }) => ({
1788
+ marginLeft: o.spacing(0.75),
1789
+ "& .MuiSvgIcon-root, & svg": {
1790
+ fontSize: p,
1791
+ width: p,
1792
+ minWidth: p,
1793
+ height: p
1794
+ },
1795
+ "&.MuiButton-iconSizeSmall": {
1796
+ marginLeft: o.spacing(0.5),
1797
+ marginRight: o.spacing(-0.5)
1798
+ }
1799
+ }),
1800
+ sizeSmall: ({ theme: o, ownerState: t }) => ({
1801
+ height: X,
1802
+ padding: o.spacing(0, 1.5),
1803
+ ...o.typography.caption,
1804
+ lineHeight: X,
1805
+ fontWeight: 500,
1806
+ letterSpacing: "0.4px",
1807
+ ...t.variant === "text" && {
1808
+ padding: o.spacing(0, 1)
1809
+ }
1810
+ }),
1811
+ sizeMedium: ({ theme: o, ownerState: t }) => ({
1812
+ height: H,
1813
+ padding: o.spacing(0, 2),
1814
+ lineHeight: H,
1815
+ ...t.variant === "text" && {
1816
+ padding: o.spacing(0, 1)
1817
+ }
1818
+ }),
1819
+ sizeLarge: ({ theme: o, ownerState: t }) => ({
1820
+ height: Y,
1821
+ padding: o.spacing(0, 2.5),
1822
+ ...o.typography.body1,
1823
+ lineHeight: Y,
1824
+ fontWeight: 500,
1825
+ letterSpacing: "0.25px",
1826
+ ...t.variant === "text" && {
1827
+ padding: o.spacing(0, 2)
1828
+ }
1829
+ })
1830
+ },
1831
+ variants: [
1832
+ // Custom color and its variants
1833
+ {
1834
+ props: { variant: "contained", color: "default" },
1835
+ style: ({ theme: o }) => ({
1836
+ color: o.palette.text.primary,
1837
+ backgroundColor: o.palette.default.main,
1838
+ borderColor: o.palette.text.primary,
1839
+ "&.Mui-disabled": {
1840
+ color: o.palette.text.disabled,
1841
+ backgroundColor: o.palette.action.disabledBackground
1842
+ },
1843
+ "&:hover, &:focus-visible": {
1844
+ backgroundColor: o.palette.default.dark
1845
+ }
1846
+ })
1847
+ },
1848
+ {
1849
+ props: { variant: "outlined", color: "default" },
1850
+ style: ({ theme: o }) => ({
1851
+ color: o.palette.text.primary,
1852
+ borderColor: o.palette.text.primary,
1853
+ "&.Mui-disabled": {
1854
+ color: o.palette.text.disabled,
1855
+ borderColor: o.palette.default.outlinedBorder
1856
+ },
1857
+ "&:hover, &:focus-visible": {
1858
+ backgroundColor: o.palette.action.hover,
1859
+ borderColor: o.palette.text.primary
1860
+ }
1861
+ })
1862
+ },
1863
+ {
1864
+ props: { variant: "text", color: "default" },
1865
+ style: ({ theme: o }) => ({
1866
+ color: o.palette.text.primary,
1867
+ "&.Mui-disabled": {
1868
+ color: o.palette.text.disabled
1869
+ },
1870
+ "&:hover, &:focus-visible": {
1871
+ backgroundColor: o.palette.action.hover
1872
+ }
1873
+ })
1874
+ }
1875
+ ]
1876
+ },
1877
+ // Mui Button Group
1878
+ MuiButtonGroup: {
1879
+ defaultProps: {
1880
+ disableRipple: !0,
1881
+ disableElevation: !0
1882
+ },
1883
+ styleOverrides: {
1884
+ root: ({ ownerState: o, theme: t }) => ({
1885
+ "& .MuiButton-root + .MuiButton-root": {
1886
+ marginLeft: 0
1887
+ },
1888
+ ...o.variant === "text" && {
1889
+ boxShadow: t.shadows[1],
1890
+ borderColor: t.palette.default.dark,
1891
+ "& .MuiButtonGroup-grouped:not(:last-of-type)": {
1892
+ borderColor: t.palette.default.dark
1893
+ }
1894
+ },
1895
+ ...o.variant === "outlined" && {
1896
+ ...o.color === "default" && {
1897
+ "& .MuiButtonBase-root.Mui-disabled": {
1898
+ borderColor: t.palette.text.primary
1899
+ }
1900
+ },
1901
+ ...o.color === "primary" && {
1902
+ "& .MuiButtonBase-root.Mui-disabled": {
1903
+ borderColor: t.palette.primary.main
1904
+ }
1905
+ },
1906
+ ...o.color === "secondary" && {
1907
+ "& .MuiButtonBase-root.Mui-disabled": {
1908
+ borderColor: t.palette.secondary.main
1909
+ }
1910
+ },
1911
+ ...o.orientation !== "vertical" && {
1912
+ "& .MuiButtonGroup-grouped:not(:last-of-type):hover, & .Mui-disabled:not(:last-of-type)": {
1913
+ borderRightColor: "transparent"
1914
+ }
1915
+ }
1916
+ },
1917
+ ...o.variant === "contained" && {
1918
+ ...o.color === "default" && {
1919
+ "& .MuiButtonGroup-grouped:not(:last-of-type)": {
1920
+ borderRightColor: t.palette.default.dark,
1921
+ "&.Mui-disabled": {
1922
+ ...o.color === "default" && {
1923
+ borderColor: t.palette.default.dark
1924
+ }
1925
+ }
1926
+ }
1927
+ },
1928
+ ...o.color === "primary" && {
1929
+ "& .MuiButtonGroup-grouped:not(:last-of-type)": {
1930
+ "&.Mui-disabled": {
1931
+ borderColor: t.palette.primary.dark
1932
+ }
1933
+ }
1934
+ },
1935
+ ...o.color === "secondary" && {
1936
+ "& .MuiButtonGroup-grouped:not(:last-of-type)": {
1937
+ "&.Mui-disabled": {
1938
+ borderColor: t.palette.secondary.dark
1939
+ }
1940
+ }
1941
+ }
1942
+ }
1943
+ })
1944
+ }
1945
+ },
1946
+ // Icon Button
1947
+ MuiIconButton: {
1948
+ styleOverrides: {
1949
+ root: ({ ownerState: o, theme: t }) => ({
1950
+ borderRadius: t.spacing(0.5),
1951
+ ...o.color === "default" && {
1952
+ color: t.palette.text.secondary
1953
+ },
1954
+ "& .MuiSvgIcon-root, & svg": {
1955
+ fontSize: p,
1956
+ width: p,
1957
+ minWidth: p,
1958
+ height: p
1959
+ },
1960
+ "& svg:not(.doNotFillIcon) path": {
1961
+ fill: "currentColor"
1962
+ },
1963
+ "&:hover, &:focus-visible": {
1964
+ ...o.color === "default" && {
1965
+ backgroundColor: t.palette.action.hover
1966
+ },
1967
+ ...o.color === "primary" && {
1968
+ backgroundColor: t.palette.primary.background
1969
+ },
1970
+ ...o.color === "secondary" && {
1971
+ backgroundColor: t.palette.secondary.background
1972
+ }
1973
+ }
1974
+ }),
1975
+ sizeSmall: () => ({
1976
+ width: X,
1977
+ height: X
1978
+ }),
1979
+ sizeMedium: () => ({
1980
+ width: H,
1981
+ height: H
1982
+ }),
1983
+ sizeLarge: () => ({
1984
+ width: Y,
1985
+ height: Y
1986
+ })
1987
+ },
1988
+ variants: [
1989
+ // Custom props and its variants
1990
+ {
1991
+ props: { size: "xsmall" },
1992
+ style: () => ({
1993
+ width: tt,
1994
+ height: tt,
1995
+ "& .MuiSvgIcon-root, & svg": {
1996
+ fontSize: ao,
1997
+ width: ao,
1998
+ minWidth: ao,
1999
+ height: ao
2000
+ }
2001
+ })
2002
+ }
2003
+ ]
2004
+ },
2005
+ // MuiToggleButton
2006
+ MuiToggleButton: {
2007
+ styleOverrides: {
2008
+ root: ({ theme: o }) => ({
2009
+ minWidth: H,
2010
+ height: H,
2011
+ padding: o.spacing(0, 1),
2012
+ color: o.palette.text.secondary,
2013
+ border: "none",
2014
+ borderRadius: it,
2015
+ transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
2016
+ "&:hover": {
2017
+ backgroundColor: o.palette.action.hover
2018
+ },
2019
+ // Pairing buttons separation
2020
+ "& + &": {
2021
+ marginLeft: o.spacing(0.5)
2022
+ },
2023
+ ".MuiSvgIcon-root, & svg": {
2024
+ margin: o.spacing(0, -0.75)
2025
+ },
2026
+ "&.Mui-selected": {
2027
+ color: o.palette.primary.main,
2028
+ backgroundColor: o.palette.primary.background,
2029
+ "&:hover": {
2030
+ backgroundColor: o.palette.action.hover
2031
+ }
2032
+ },
2033
+ "&.Mui-disabled": {
2034
+ border: "none"
2035
+ }
2036
+ }),
2037
+ sizeLarge: ({ theme: o }) => ({
2038
+ minWidth: Y,
2039
+ height: Y,
2040
+ ...o.typography.body1
2041
+ }),
2042
+ sizeSmall: ({ theme: o }) => ({
2043
+ minWidth: X,
2044
+ height: X,
2045
+ ...o.typography.caption,
2046
+ fontWeight: 500
2047
+ })
2048
+ }
2049
+ },
2050
+ // MuiToggleButtonGroup
2051
+ MuiToggleButtonGroup: {
2052
+ defaultProps: {
2053
+ orientation: "horizontal",
2054
+ exclusive: !0
2055
+ },
2056
+ styleOverrides: {
2057
+ root: ({ theme: o }) => ({
2058
+ alignItems: "center",
2059
+ justifyContent: "center",
2060
+ borderRadius: o.spacing(1),
2061
+ boxShadow: o.shadows[1],
2062
+ backgroundColor: o.palette.background.paper,
2063
+ "& .MuiToggleButtonGroup-grouped:not(:first-of-type), &.Mui-Selected, & .MuiToggleButtonGroup-grouped:not(:last-of-type)": {
2064
+ borderRadius: it
2065
+ },
2066
+ ".MuiDivider-root": {
2067
+ "&.MuiToggleButtonGroup-groupedHorizontal": {
2068
+ height: Y,
2069
+ margin: o.spacing(0, 1),
2070
+ marginLeft: o.spacing(0.5)
2071
+ },
2072
+ "&.MuiToggleButtonGroup-groupedVertical": {
2073
+ width: Y,
2074
+ margin: o.spacing(1, 0),
2075
+ marginTop: o.spacing(0.5)
2076
+ }
2077
+ },
2078
+ ".MuiToggleButton-sizeSmall": {
2079
+ "& + .MuiDivider-root.MuiToggleButtonGroup-groupedHorizontal": {
2080
+ height: H
2081
+ },
2082
+ "& + .MuiDivider-root.MuiToggleButtonGroup-groupedVertical": {
2083
+ width: H
2084
+ }
2085
+ }
2086
+ }),
2087
+ // Styles applied to the children if orientation="horizontal"
2088
+ groupedHorizontal: ({ theme: o }) => ({
2089
+ height: H,
2090
+ margin: o.spacing(1),
2091
+ "&:not(:last-of-type)": {
2092
+ marginRight: o.spacing(0.5),
2093
+ marginLeft: 0,
2094
+ borderLeft: "none"
2095
+ },
2096
+ "&:first-of-type:not(.MuiDivider-root)": {
2097
+ marginLeft: o.spacing(1)
2098
+ },
2099
+ "&.MuiToggleButton-sizeSmall:not(.MuiDivider-root)": {
2100
+ height: X,
2101
+ margin: o.spacing(0.5),
2102
+ "&:not(:first-of-type)": {
2103
+ marginLeft: 0
2104
+ }
2105
+ }
2106
+ }),
2107
+ // Styles applied to the children if orientation="vertical"
2108
+ groupedVertical: ({ theme: o }) => ({
2109
+ width: H,
2110
+ margin: o.spacing(1),
2111
+ "&.MuiToggleButton-root": {
2112
+ marginLeft: o.spacing(1),
2113
+ marginBottom: o.spacing(0.5),
2114
+ "&:last-of-type": {
2115
+ marginBottom: o.spacing(1)
2116
+ }
2117
+ },
2118
+ "&.MuiToggleButton-sizeSmall": {
2119
+ width: X,
2120
+ margin: o.spacing(0.5),
2121
+ "&:not(:first-of-type)": {
2122
+ marginTop: 0
2123
+ },
2124
+ "&:last-of-type": {
2125
+ marginBottom: o.spacing(0.5)
2126
+ }
2127
+ }
2128
+ })
2129
+ }
2130
+ },
2131
+ // FAB button
2132
+ MuiFab: {
2133
+ defaultProps: {
2134
+ color: "primary"
2135
+ },
2136
+ styleOverrides: {
2137
+ root: ({ ownerState: o, theme: t }) => ({
2138
+ "&:focus": {
2139
+ boxShadow: t.shadows[6]
2140
+ },
2141
+ "& .MuiSvgIcon-root, & svg": {
2142
+ fontSize: L,
2143
+ width: L,
2144
+ minWidth: L,
2145
+ height: L
2146
+ },
2147
+ "&.MuiFab-extended": {
2148
+ ...t.typography.body1,
2149
+ fontWeight: 500,
2150
+ width: "auto",
2151
+ height: t.spacing(7),
2152
+ paddingRight: t.spacing(3),
2153
+ borderRadius: t.spacing(8),
2154
+ "& .MuiSvgIcon-root": {
2155
+ marginRight: t.spacing(1.5)
2156
+ }
2157
+ },
2158
+ ...o.color === "default" && {
2159
+ color: t.palette.text.primary,
2160
+ backgroundColor: t.palette.background.paper,
2161
+ "&:hover, &:focus-visible": {
2162
+ backgroundColor: t.palette.default.light
2163
+ }
2164
+ }
2165
+ }),
2166
+ sizeSmall: ({ theme: o }) => ({
2167
+ width: o.spacing(4),
2168
+ height: o.spacing(4),
2169
+ minHeight: o.spacing(4),
2170
+ "& .MuiSvgIcon-root, & svg": {
2171
+ fontSize: p,
2172
+ width: p,
2173
+ minWidth: p,
2174
+ height: p
2175
+ },
2176
+ "&.MuiFab-extended": {
2177
+ ...o.typography.caption,
2178
+ width: "auto",
2179
+ height: o.spacing(4),
2180
+ paddingRight: o.spacing(2),
2181
+ "& .MuiSvgIcon-root": {
2182
+ marginRight: o.spacing(1)
2183
+ }
2184
+ }
2185
+ }),
2186
+ sizeMedium: ({ theme: o }) => ({
2187
+ "&.MuiFab-extended": {
2188
+ ...o.typography.button,
2189
+ height: o.spacing(6)
2190
+ }
2191
+ }),
2192
+ secondary: ({ theme: o }) => ({
2193
+ "&:hover": {
2194
+ backgroundColor: o.palette.secondary.light
2195
+ }
2196
+ })
2197
+ }
2198
+ }
2199
+ };
2200
+ var Do = {}, Ai = Mt;
2201
+ Object.defineProperty(Do, "__esModule", {
2202
+ value: !0
2203
+ });
2204
+ var It = Do.default = void 0, Wi = Ai(yt()), Fi = d;
2205
+ It = Do.default = (0, Wi.default)(/* @__PURE__ */ (0, Fi.jsx)("path", {
2206
+ d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
2207
+ }), "Cancel");
2208
+ const yo = 2.25, Mo = 3, et = 2, rt = 3, nt = 4, at = {
2209
+ root: ({ ownerState: o, theme: t }) => ({
2210
+ padding: t.spacing(0.5),
2211
+ ...o.size === "small" && {
2212
+ padding: "3px"
2213
+ // Forced to a non-standard value to meet with design
2214
+ },
2215
+ ...o.readOnly === !0 && {
2216
+ pointerEvents: "none",
2217
+ color: t.palette.text.disabled,
2218
+ "&.Mui-checked": {
2219
+ color: t.palette.text.disabled
2220
+ }
2221
+ },
2222
+ "&:hover, &:focus-visible": {
2223
+ backgroundColor: t.palette.primary.background
2224
+ },
2225
+ "& + .MuiFormControlLabel-label": {
2226
+ ...t.typography.body2,
2227
+ marginLeft: t.spacing(0.25),
2228
+ ...o.size === "small" && {
2229
+ marginLeft: t.spacing(0.5)
2230
+ }
2231
+ },
2232
+ "& .MuiSvgIcon-root": {
2233
+ fontSize: t.spacing(Mo),
2234
+ width: t.spacing(Mo),
2235
+ minWidth: t.spacing(Mo),
2236
+ height: t.spacing(Mo),
2237
+ ...o.size === "small" && {
2238
+ fontSize: t.spacing(yo),
2239
+ width: t.spacing(yo),
2240
+ minWidth: t.spacing(yo),
2241
+ height: t.spacing(yo)
2242
+ }
2243
+ }
2244
+ })
2245
+ }, lt = {
2246
+ root: ({ theme: o }) => ({
2247
+ position: "static",
2248
+ transform: "none",
2249
+ marginBottom: o.spacing(1),
2250
+ ...o.typography.caption,
2251
+ fontWeight: 500,
2252
+ color: o.palette.text.primary
2253
+ }),
2254
+ sizeSmall: ({ theme: o }) => ({
2255
+ marginBottom: o.spacing(0.5)
2256
+ }),
2257
+ standard: () => ({
2258
+ marginBottom: 0
2259
+ }),
2260
+ // Temporal workaroud to give a faster solution for a Workflows demand: https://app.shortcut.com/cartoteam/story/294539/distinction-among-parameters-optional-inputs-units-in-the-ui
2261
+ // These styles avoid (by now) the need to review current forms and change those with a required mark.
2262
+ // TODO: remored asterisk completely and use instead LabelWithIndicator component to mark also required ones.
2263
+ asterisk: ({ theme: o }) => ({
2264
+ "&, &.Mui-error": {
2265
+ color: "transparent"
2266
+ },
2267
+ "&::after": {
2268
+ content: '"(required)"',
2269
+ marginLeft: o.spacing(-0.5),
2270
+ color: o.palette.text.secondary,
2271
+ fontWeight: 400,
2272
+ ".Mui-disabled &": {
2273
+ color: o.palette.text.disabled
2274
+ }
2275
+ }
2276
+ })
2277
+ }, ji = {
2278
+ // Checkbox
2279
+ MuiCheckbox: {
2280
+ defaultProps: {
2281
+ size: "small"
2282
+ },
2283
+ styleOverrides: {
2284
+ ...at
2285
+ }
2286
+ },
2287
+ // Radio Button
2288
+ MuiRadio: {
2289
+ defaultProps: {
2290
+ size: "small"
2291
+ },
2292
+ styleOverrides: {
2293
+ ...at
2294
+ }
2295
+ },
2296
+ // Text Field
2297
+ MuiTextField: {
2298
+ defaultProps: {
2299
+ fullWidth: !0,
2300
+ size: "small",
2301
+ InputLabelProps: {
2302
+ shrink: !0
2303
+ },
2304
+ SelectProps: {
2305
+ IconComponent: zo,
2306
+ size: "small"
2307
+ }
2308
+ },
2309
+ styleOverrides: {
2310
+ root: ({ ownerState: o, theme: t }) => ({
2311
+ "& legend": {
2312
+ display: "none"
2313
+ },
2314
+ // Select bool
2315
+ ...o.select === !0 && {
2316
+ "& .MuiInputBase-root": {
2317
+ padding: 0,
2318
+ "&.MuiOutlinedInput-root, &.MuiFilledInput-root": {
2319
+ padding: 0
2320
+ },
2321
+ "& .MuiInputAdornment-positionEnd": {
2322
+ marginRight: t.spacing(3)
2323
+ },
2324
+ "& .MuiSelect-select": {
2325
+ padding: t.spacing(1.5),
2326
+ "&.MuiInputBase-input": {
2327
+ paddingLeft: t.spacing(2),
2328
+ paddingRight: t.spacing(5),
2329
+ "&.MuiSelect-standard": {
2330
+ paddingLeft: 0
2331
+ }
2332
+ },
2333
+ "&:focus": {
2334
+ background: "transparent"
2335
+ },
2336
+ "& .MuiTypography-root": {
2337
+ whiteSpace: "nowrap",
2338
+ overflow: "hidden",
2339
+ textOverflow: "ellipsis"
2340
+ }
2341
+ },
2342
+ "& .MuiSelect-icon": {
2343
+ right: t.spacing(2),
2344
+ color: t.palette.text.secondary
2345
+ },
2346
+ "& .MuiSelect-iconStandard": {
2347
+ right: 0
2348
+ }
2349
+ },
2350
+ "& .MuiInputBase-sizeSmall": {
2351
+ "&.MuiInputBase-root.MuiFilledInput-root": {
2352
+ padding: 0
2353
+ },
2354
+ "& .MuiSelect-select": {
2355
+ ...t.typography.body2,
2356
+ padding: t.spacing(0.75),
2357
+ "&.MuiInputBase-input": {
2358
+ paddingLeft: t.spacing(1.5),
2359
+ paddingRight: t.spacing(4)
2360
+ }
2361
+ },
2362
+ "&.MuiOutlinedInput-root.MuiInputBase-sizeSmall": {
2363
+ padding: 0
2364
+ },
2365
+ "& .MuiSelect-icon": {
2366
+ right: t.spacing(1.5)
2367
+ }
2368
+ }
2369
+ }
2370
+ })
2371
+ }
2372
+ },
2373
+ // Input Base
2374
+ MuiInputBase: {
2375
+ styleOverrides: {
2376
+ root: ({ theme: o }) => ({
2377
+ height: o.spacing(6),
2378
+ ...o.typography.body1,
2379
+ "& input": {
2380
+ padding: 0,
2381
+ whiteSpace: "nowrap",
2382
+ overflow: "hidden",
2383
+ textOverflow: "ellipsis",
2384
+ "&::placeholder": {
2385
+ opacity: 1,
2386
+ color: o.palette.text.hint
2387
+ },
2388
+ "&:read-only::placeholder": {
2389
+ color: o.palette.text.disabled
2390
+ },
2391
+ "&.Mui-disabled::placeholder": {
2392
+ color: o.palette.text.disabled
2393
+ },
2394
+ // Remove focus on keyboard navigation as the parent element has focus
2395
+ "&:focus-visible": {
2396
+ outline: "none !important",
2397
+ boxShadow: "none !important"
2398
+ }
2399
+ },
2400
+ "&.Mui-disabled": {
2401
+ cursor: "not-allowed",
2402
+ "& .Mui-disabled": {
2403
+ cursor: "not-allowed"
2404
+ }
2405
+ },
2406
+ "&.MuiInputBase-formControl::after": {
2407
+ top: 0,
2408
+ transform: "none",
2409
+ opacity: 0
2410
+ },
2411
+ "&.MuiInputBase-formControl.Mui-focused::after": {
2412
+ transform: "none",
2413
+ opacity: 1
2414
+ },
2415
+ "& legend": { display: "none" },
2416
+ "& .MuiButtonBase-root.MuiMenuItem-root": {
2417
+ padding: 0,
2418
+ "&:hover": {
2419
+ backgroundColor: "transparent"
2420
+ },
2421
+ [o.breakpoints.up("sm")]: {
2422
+ minHeight: "initial"
2423
+ }
2424
+ },
2425
+ // Variants
2426
+ "&.MuiFilledInput-root": {
2427
+ padding: o.spacing(1, 2),
2428
+ borderRadius: o.spacing(0.5),
2429
+ backgroundColor: o.palette.default.background,
2430
+ "&:hover": {
2431
+ backgroundColor: o.palette.default.background
2432
+ },
2433
+ "&::before": {
2434
+ top: 0,
2435
+ borderRadius: o.spacing(0.5),
2436
+ border: "1px solid transparent",
2437
+ transition: "border 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"
2438
+ },
2439
+ "&:hover:not(.Mui-disabled)::before": {
2440
+ borderColor: o.palette.text.primary
2441
+ },
2442
+ "&::after": {
2443
+ borderRadius: o.spacing(0.5),
2444
+ border: "1px solid transparent"
2445
+ },
2446
+ "&.MuiInputBase-sizeSmall": {
2447
+ padding: o.spacing(0.5, 1.5)
2448
+ },
2449
+ "&.Mui-focused": {
2450
+ backgroundColor: o.palette.background.paper,
2451
+ "&::after": {
2452
+ border: `2px solid ${o.palette.primary.main}`
2453
+ }
2454
+ },
2455
+ "&.Mui-disabled": {
2456
+ backgroundColor: o.palette.default.background,
2457
+ "&::before": {
2458
+ borderBottomStyle: "solid"
2459
+ }
2460
+ },
2461
+ "&.Mui-error::after": {
2462
+ opacity: 1,
2463
+ border: `2px solid ${o.palette.error.light}`
2464
+ },
2465
+ "&.Mui-readOnly": {
2466
+ "&.Mui-focused": {
2467
+ backgroundColor: o.palette.default.background
2468
+ }
2469
+ }
2470
+ },
2471
+ "&.MuiOutlinedInput-root": {
2472
+ padding: o.spacing(1, 2),
2473
+ "&.MuiInputBase-sizeSmall": {
2474
+ padding: o.spacing(0.5, 1.5)
2475
+ },
2476
+ "&.Mui-focused": {
2477
+ backgroundColor: o.palette.background.paper
2478
+ },
2479
+ "&.Mui-disabled": {
2480
+ backgroundColor: o.palette.default.background
2481
+ },
2482
+ "&.Mui-readOnly": {
2483
+ backgroundColor: o.palette.default.background,
2484
+ "&.Mui-focused": {
2485
+ backgroundColor: o.palette.default.background
2486
+ }
2487
+ },
2488
+ "& .MuiOutlinedInput-notchedOutline": {
2489
+ top: 0,
2490
+ borderColor: o.palette.default.outlinedBorder,
2491
+ transition: "border 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"
2492
+ },
2493
+ "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
2494
+ transition: "none"
2495
+ },
2496
+ "&.Mui-error .MuiOutlinedInput-notchedOutline": {
2497
+ border: `2px solid ${o.palette.error.light}`
2498
+ }
2499
+ },
2500
+ "&.MuiInput-underline": {
2501
+ marginTop: 0,
2502
+ padding: 0,
2503
+ "&::before": {
2504
+ borderColor: o.palette.default.outlinedBorder
2505
+ },
2506
+ "&:hover:not(.Mui-disabled)::before": {
2507
+ borderBottom: `1px solid ${o.palette.text.primary}`
2508
+ },
2509
+ "&:not(.Mui-disabled)::after": {
2510
+ borderBottom: "1px solid transparent"
2511
+ },
2512
+ "&.Mui-focused::after": {
2513
+ borderBottom: `2px solid ${o.palette.primary.main}`
2514
+ },
2515
+ "&.Mui-error::after": {
2516
+ opacity: 1,
2517
+ borderBottom: `2px solid ${o.palette.error.light}`
2518
+ },
2519
+ "&.Mui-disabled::before": {
2520
+ borderBottomStyle: "solid"
2521
+ }
2522
+ },
2523
+ // TextArea (multiline)
2524
+ "&.MuiInputBase-multiline": {
2525
+ height: "auto",
2526
+ minHeight: o.spacing(12),
2527
+ alignItems: "flex-start",
2528
+ padding: o.spacing(0, 0.25),
2529
+ "& textarea": {
2530
+ padding: o.spacing(1.5, 1.75),
2531
+ ...o.typography.body1,
2532
+ "&::placeholder": {
2533
+ opacity: 1,
2534
+ color: o.palette.text.hint
2535
+ },
2536
+ "&.Mui-disabled::placeholder": {
2537
+ color: o.palette.text.disabled
2538
+ },
2539
+ // Remove focus on keyboard navigation as the parent element has focus
2540
+ "&:focus-visible": {
2541
+ outline: "none !important",
2542
+ boxShadow: "none !important"
2543
+ }
2544
+ },
2545
+ "&.MuiInputBase-sizeSmall": {
2546
+ minHeight: o.spacing(9),
2547
+ padding: o.spacing(0, 0.25),
2548
+ "& textarea": {
2549
+ padding: o.spacing(1, 1.25),
2550
+ ...o.typography.body2
2551
+ }
2552
+ }
2553
+ },
2554
+ // Select Multiple selection
2555
+ "&.MuiInputBase-root .MuiSelect-multiple.MuiInputBase-input": {
2556
+ paddingLeft: 0,
2557
+ paddingRight: o.spacing(3)
2558
+ }
2559
+ }),
2560
+ // size
2561
+ sizeSmall: ({ theme: o }) => ({
2562
+ height: o.spacing(4),
2563
+ padding: o.spacing(0, 1.5),
2564
+ "& input": {
2565
+ ...o.typography.body2
2566
+ }
2567
+ })
2568
+ }
2569
+ },
2570
+ // Input Adornment
2571
+ MuiInputAdornment: {
2572
+ styleOverrides: {
2573
+ root: ({ theme: o }) => ({
2574
+ "& .MuiTypography-root": {
2575
+ ...o.typography.body1,
2576
+ color: o.palette.text.secondary
2577
+ },
2578
+ "&.MuiInputAdornment-sizeSmall": {
2579
+ "& .MuiTypography-root": {
2580
+ ...o.typography.body2
2581
+ }
2582
+ },
2583
+ "&.MuiInputAdornment-positionStart.MuiInputAdornment-root:not(.MuiInputAdornment-hiddenLabel)": {
2584
+ marginTop: 0
2585
+ },
2586
+ "& .MuiSvgIcon-root, & svg": {
2587
+ fontSize: p,
2588
+ width: p,
2589
+ minWidth: p,
2590
+ height: p,
2591
+ color: o.palette.text.secondary
2592
+ },
2593
+ ".Mui-disabled &": {
2594
+ "& .MuiTypography-root, & .MuiSvgIcon-root": {
2595
+ color: o.palette.text.disabled
2596
+ }
2597
+ }
2598
+ })
2599
+ }
2600
+ },
2601
+ // Form Control
2602
+ MuiFormControl: {
2603
+ defaultProps: {
2604
+ fullWidth: !0
2605
+ }
2606
+ },
2607
+ // Form Control Label (radio, checkbox and switch wrapper)
2608
+ MuiFormControlLabel: {
2609
+ styleOverrides: {
2610
+ root: ({ ownerState: o, theme: t }) => ({
2611
+ marginLeft: t.spacing(-0.5),
2612
+ "& .MuiSwitch-root": {
2613
+ marginLeft: t.spacing(0.5)
2614
+ },
2615
+ ...o.readOnly === !0 && {
2616
+ pointerEvents: "none"
2617
+ }
2618
+ })
2619
+ }
2620
+ },
2621
+ // Form Helper Text
2622
+ MuiFormHelperText: {
2623
+ styleOverrides: {
2624
+ root: ({ theme: o }) => ({
2625
+ margin: 0,
2626
+ marginTop: o.spacing(1)
2627
+ })
2628
+ }
2629
+ },
2630
+ // Label
2631
+ MuiInputLabel: {
2632
+ styleOverrides: {
2633
+ ...lt
2634
+ }
2635
+ },
2636
+ MuiFormLabel: {
2637
+ styleOverrides: {
2638
+ ...lt
2639
+ }
2640
+ },
2641
+ // Select
2642
+ MuiSelect: {
2643
+ defaultProps: {
2644
+ IconComponent: zo,
2645
+ fullWidth: !0,
2646
+ size: "small"
2647
+ },
2648
+ styleOverrides: {
2649
+ root: ({ theme: o }) => ({
2650
+ padding: 0,
2651
+ "& .MuiSelect-icon": {
2652
+ right: o.spacing(2),
2653
+ color: o.palette.text.secondary
2654
+ },
2655
+ "&.Mui-disabled .MuiSelect-icon, &.Mui-readOnly .MuiSelect-icon": {
2656
+ color: o.palette.text.disabled
2657
+ },
2658
+ "& .MuiSelect-iconStandard": {
2659
+ right: 0
2660
+ },
2661
+ "& legend": {
2662
+ display: "none"
2663
+ },
2664
+ // Variants
2665
+ "&.MuiOutlinedInput-root, &.MuiFilledInput-root": {
2666
+ padding: 0
2667
+ },
2668
+ "&.MuiFilledInput-root, &.MuiInput-underline": {
2669
+ "&.Mui-focused::after": {
2670
+ height: "100%",
2671
+ transition: "none"
2672
+ }
2673
+ },
2674
+ // Size Small
2675
+ "&.MuiInputBase-sizeSmall": {
2676
+ ...o.typography.body2,
2677
+ "& .MuiSelect-select": {
2678
+ "&.MuiInputBase-input": {
2679
+ paddingLeft: o.spacing(1.5),
2680
+ paddingRight: o.spacing(4)
2681
+ },
2682
+ "&.MuiSelect-standard": {
2683
+ paddingLeft: 0
2684
+ }
2685
+ },
2686
+ "&.MuiOutlinedInput-root.MuiInputBase-sizeSmall, &.MuiFilledInput-root.MuiInputBase-sizeSmall": {
2687
+ padding: 0
2688
+ },
2689
+ "& .MuiSelect-icon": {
2690
+ right: o.spacing(1.5)
2691
+ }
2692
+ }
2693
+ }),
2694
+ select: ({ theme: o }) => ({
2695
+ padding: o.spacing(1.5),
2696
+ "&.MuiInputBase-input": {
2697
+ paddingLeft: o.spacing(2),
2698
+ paddingRight: o.spacing(5),
2699
+ "&.MuiSelect-standard": {
2700
+ paddingLeft: 0
2701
+ }
2702
+ },
2703
+ "&:focus": {
2704
+ background: "transparent"
2705
+ },
2706
+ // Remove focus on keyboard navigation as the parent element has focus
2707
+ "&:focus-visible": {
2708
+ outline: "none !important",
2709
+ boxShadow: "none !important"
2710
+ },
2711
+ "& .MuiTypography-root": {
2712
+ whiteSpace: "nowrap",
2713
+ overflow: "hidden",
2714
+ textOverflow: "ellipsis"
2715
+ },
2716
+ "&.MuiInputBase-inputSizeSmall": {
2717
+ padding: o.spacing(0.75)
2718
+ }
2719
+ })
2720
+ }
2721
+ },
2722
+ // Autocomplete
2723
+ MuiAutocomplete: {
2724
+ defaultProps: {
2725
+ size: "small",
2726
+ fullWidth: !0,
2727
+ popupIcon: /* @__PURE__ */ d.jsx(zo, {}),
2728
+ clearIcon: /* @__PURE__ */ d.jsx(It, { "data-testid": "cancel-icon-autocomplete" }),
2729
+ ChipProps: { color: "default" },
2730
+ limitTags: 1,
2731
+ componentsProps: {
2732
+ paper: {
2733
+ elevation: 8
2734
+ }
2735
+ }
2736
+ },
2737
+ styleOverrides: {
2738
+ root: ({ ownerState: o, theme: t }) => ({
2739
+ "&.MuiAutocomplete-root .MuiFormControl-root": {
2740
+ //Needed to overide Mui default styles
2741
+ ".MuiInputBase-root": {
2742
+ gap: t.spacing(0.5),
2743
+ height: "auto",
2744
+ minHeight: t.spacing(6),
2745
+ padding: t.spacing(1, 2),
2746
+ paddingRight: t.spacing(5),
2747
+ ".MuiInputBase-input": {
2748
+ padding: 0
2749
+ },
2750
+ // Multiple
2751
+ ...o.multiple === !0 && {
2752
+ paddingLeft: t.spacing(1),
2753
+ ".MuiInputBase-input": {
2754
+ padding: 0,
2755
+ marginLeft: t.spacing(1)
2756
+ }
2757
+ },
2758
+ ...o.size === "small" && {
2759
+ minHeight: t.spacing(4),
2760
+ padding: t.spacing(0.5, 1.5),
2761
+ paddingRight: t.spacing(4),
2762
+ ...o.multiple === !0 && {
2763
+ paddingLeft: t.spacing(0.5)
2764
+ }
2765
+ },
2766
+ ...o.readOnly === !0 && {
2767
+ backgroundColor: t.palette.default.background
2768
+ },
2769
+ "&.Mui-disabled": {
2770
+ pointerEvents: "none"
2771
+ }
2772
+ },
2773
+ // Variants
2774
+ ".MuiFilledInput-root .MuiAutocomplete-tag": {
2775
+ backgroundColor: "transparent",
2776
+ border: `1px solid ${t.palette.default.main}`
2777
+ }
2778
+ },
2779
+ "&.MuiAutocomplete-hasClearIcon .MuiFormControl-root .MuiInputBase-root": {
2780
+ paddingRight: t.spacing(8.5),
2781
+ ...o.size === "small" && {
2782
+ paddingRight: t.spacing(7)
2783
+ }
2784
+ }
2785
+ }),
2786
+ endAdornment: ({ theme: o }) => ({
2787
+ transform: "none",
2788
+ top: o.spacing(2),
2789
+ display: "flex",
2790
+ alignItems: "center",
2791
+ justifyContent: "flex-end",
2792
+ marginRight: o.spacing(1),
2793
+ ".MuiAutocomplete-hasClearIcon &": {
2794
+ top: o.spacing(1)
2795
+ },
2796
+ ".MuiInputBase-sizeSmall &": {
2797
+ top: o.spacing(0.5),
2798
+ width: o.spacing(3),
2799
+ height: o.spacing(3),
2800
+ marginRight: o.spacing(0.5)
2801
+ }
2802
+ }),
2803
+ clearIndicator: ({ ownerState: o, theme: t }) => ({
2804
+ marginRight: 0,
2805
+ color: t.palette.text.hint,
2806
+ ...o.size === "small" && {
2807
+ width: t.spacing(3),
2808
+ height: t.spacing(3)
2809
+ }
2810
+ }),
2811
+ popupIndicator: ({ theme: o }) => ({
2812
+ width: p,
2813
+ height: p,
2814
+ cursor: "text",
2815
+ "&:hover": {
2816
+ backgroundColor: "transparent"
2817
+ },
2818
+ "&.MuiButtonBase-root": {
2819
+ color: o.palette.text.secondary
2820
+ },
2821
+ ".Mui-disabled &": {
2822
+ color: o.palette.text.disabled
2823
+ },
2824
+ "input:read-only + .MuiAutocomplete-endAdornment &": {
2825
+ color: o.palette.text.disabled
2826
+ }
2827
+ }),
2828
+ tag: ({ ownerState: o, theme: t }) => ({
2829
+ margin: 0,
2830
+ "&:not(.MuiButtonBase-root)": {
2831
+ display: "flex",
2832
+ alignItems: "center",
2833
+ height: t.spacing(4),
2834
+ padding: t.spacing(0, 1.5),
2835
+ backgroundColor: t.palette.default.main,
2836
+ borderRadius: t.spacing(2),
2837
+ ...t.typography.button,
2838
+ fontWeight: t.typography.fontWeightMedium,
2839
+ ...o.size === "small" && {
2840
+ height: t.spacing(3),
2841
+ padding: t.spacing(0, 1),
2842
+ borderRadius: t.spacing(1.5),
2843
+ ...t.typography.caption,
2844
+ fontWeight: t.typography.fontWeightMedium
2845
+ }
2846
+ }
2847
+ }),
2848
+ option: ({ ownerState: o, theme: t }) => ({
2849
+ "&.MuiAutocomplete-option": {
2850
+ minHeight: t.spacing(4),
2851
+ padding: t.spacing(0.5, 2),
2852
+ ...t.typography.body2,
2853
+ transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
2854
+ "&:hover": {
2855
+ backgroundColor: t.palette.action.hover
2856
+ },
2857
+ '&[aria-selected="true"]': {
2858
+ color: t.palette.primary.main,
2859
+ backgroundColor: t.palette.primary.background,
2860
+ ".MuiTypography-root": {
2861
+ color: t.palette.primary.main
2862
+ },
2863
+ ".MuiTypography-caption": {
2864
+ color: t.palette.text.secondary
2865
+ },
2866
+ "&.Mui-focused:hover": {
2867
+ backgroundColor: t.palette.action.hover
2868
+ }
2869
+ },
2870
+ "&:first-of-type": {
2871
+ marginTop: t.spacing(1)
2872
+ },
2873
+ ...o.size === "small" && {
2874
+ padding: t.spacing(0.5, 1.5)
2875
+ }
2876
+ }
2877
+ }),
2878
+ noOptions: ({ ownerState: o, theme: t }) => ({
2879
+ padding: t.spacing(2.5, 2),
2880
+ ...t.typography.body2,
2881
+ color: t.palette.text.secondary,
2882
+ ...o.size === "small" && {
2883
+ padding: t.spacing(2, 1.5)
2884
+ }
2885
+ }),
2886
+ listbox: ({ theme: o }) => ({
2887
+ paddingTop: 0,
2888
+ ".MuiDivider-root": {
2889
+ display: "none"
2890
+ },
2891
+ ".MuiButtonBase-root + .MuiDivider-root": {
2892
+ display: "block"
2893
+ },
2894
+ ".MuiMenuItem-root:first-of-type": {
2895
+ marginTop: o.spacing(1)
2896
+ }
2897
+ })
2898
+ }
2899
+ },
2900
+ // Switch
2901
+ MuiSwitch: {
2902
+ defaultProps: {
2903
+ disableRipple: !0
2904
+ },
2905
+ styleOverrides: {
2906
+ root: ({ theme: o }) => ({
2907
+ width: o.spacing(rt),
2908
+ height: o.spacing(et),
2909
+ padding: 0,
2910
+ overflow: "visible",
2911
+ "& + .MuiTypography-root": {
2912
+ marginLeft: o.spacing(1),
2913
+ color: o.palette.text.primary
2914
+ },
2915
+ "& + .MuiFormControlLabel-label": {
2916
+ ...o.typography.body2
2917
+ }
2918
+ }),
2919
+ switchBase: ({ ownerState: o, theme: t }) => ({
2920
+ width: t.spacing(nt),
2921
+ height: t.spacing(nt),
2922
+ padding: t.spacing(0.5),
2923
+ borderRadius: "50%",
2924
+ color: t.palette.text.secondary,
2925
+ transform: "translate(-8px, -8px)",
2926
+ "&:hover": {
2927
+ backgroundColor: t.palette.action.hover
2928
+ },
2929
+ "&.MuiSwitch-switchBase input": {
2930
+ top: t.spacing(1),
2931
+ left: t.spacing(1)
2932
+ },
2933
+ "&.Mui-checked": {
2934
+ transform: "translate(0, -8px)",
2935
+ color: t.palette.common.white,
2936
+ "&.MuiSwitch-switchBase input": {
2937
+ left: 0
2938
+ },
2939
+ "& + .MuiSwitch-track": {
2940
+ opacity: 1,
2941
+ border: 0
2942
+ }
2943
+ },
2944
+ ...o.readOnly === !0 && {
2945
+ color: t.palette.text.disabled
2946
+ }
2947
+ }),
2948
+ thumb: ({ theme: o }) => ({
2949
+ width: o.spacing(1),
2950
+ height: o.spacing(1),
2951
+ boxShadow: o.shadows[0],
2952
+ ".Mui-checked &": {
2953
+ boxShadow: o.shadows[1]
2954
+ },
2955
+ ".Mui-disabled &": {
2956
+ backgroundColor: o.palette.text.disabled
2957
+ },
2958
+ ".Mui-disabled.Mui-checked &": {
2959
+ backgroundColor: o.palette.common.white
2960
+ }
2961
+ }),
2962
+ input: ({ theme: o }) => ({
2963
+ width: o.spacing(rt),
2964
+ height: o.spacing(et),
2965
+ left: 0
2966
+ }),
2967
+ track: ({ ownerState: o, theme: t }) => ({
2968
+ height: "auto",
2969
+ border: `1px solid ${t.palette.text.secondary}`,
2970
+ borderRadius: t.spacing(2),
2971
+ opacity: 1,
2972
+ backgroundColor: t.palette.common.white,
2973
+ transitionDuration: "300ms",
2974
+ ".MuiButtonBase-root.MuiSwitch-switchBase.Mui-disabled + &": {
2975
+ opacity: 1,
2976
+ borderColor: t.palette.text.disabled
2977
+ },
2978
+ ".MuiButtonBase-root.Mui-checked.Mui-disabled + &": {
2979
+ backgroundColor: t.palette.text.disabled
2980
+ },
2981
+ ".MuiButtonBase-root.MuiSwitch-switchBase[readOnly] + &": {
2982
+ borderColor: t.palette.text.disabled
2983
+ },
2984
+ "[readOnly] .MuiButtonBase-root.Mui-checked + &": {
2985
+ backgroundColor: t.palette.text.disabled
2986
+ },
2987
+ ...o.readOnly === !0 && {
2988
+ borderColor: t.palette.text.disabled
2989
+ }
2990
+ }),
2991
+ colorPrimary: ({ theme: o }) => ({
2992
+ "&.Mui-checked:hover": {
2993
+ backgroundColor: o.palette.primary.background
2994
+ }
2995
+ }),
2996
+ colorSecondary: ({ theme: o }) => ({
2997
+ "&.Mui-checked:hover": {
2998
+ backgroundColor: o.palette.secondary.background
2999
+ }
3000
+ })
3001
+ }
3002
+ },
3003
+ // Circular Progress
3004
+ MuiCircularProgress: {
3005
+ defaultProps: {
3006
+ size: 40,
3007
+ thickness: 4
3008
+ }
3009
+ },
3010
+ // Slider
3011
+ MuiSlider: {
3012
+ defaultProps: {
3013
+ color: "primary",
3014
+ marks: !1,
3015
+ size: "small"
3016
+ },
3017
+ styleOverrides: {
3018
+ thumb: ({ theme: o }) => ({
3019
+ "&:hover, &.Mui-focusVisible": {
3020
+ boxShadow: `0 0 0 ${o.spacing(1)} ${o.palette.primary.background}`
3021
+ }
3022
+ })
3023
+ }
3024
+ }
3025
+ }, Di = {
3026
+ // Menu
3027
+ MuiMenu: {
3028
+ styleOverrides: {
3029
+ paper: ({ theme: o }) => ({
3030
+ "&.MuiMenu-paper": {
3031
+ minWidth: o.spacing(8),
3032
+ // 64px, defined by design
3033
+ maxHeight: o.spacing(39),
3034
+ // 312px, defined by design
3035
+ "&:focus-visible": {
3036
+ outline: "none !important",
3037
+ boxShadow: "none !important"
3038
+ }
3039
+ }
3040
+ })
3041
+ }
3042
+ },
3043
+ // Menu Item
3044
+ MuiMenuItem: {
3045
+ styleOverrides: {
3046
+ root: ({ theme: o }) => ({
3047
+ ...o.typography.body2,
3048
+ columnGap: o.spacing(1),
3049
+ minHeight: o.spacing(4),
3050
+ padding: o.spacing(0.75, 1, 0.75, 1.5),
3051
+ whiteSpace: "normal",
3052
+ transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
3053
+ [o.breakpoints.up("sm")]: {
3054
+ // Overrides an unwanted Mui default style
3055
+ "&.MuiButtonBase-root": {
3056
+ minHeight: o.spacing(4)
3057
+ }
3058
+ },
3059
+ "&:hover": {
3060
+ ".MuiAvatar-root, .MuiChip-root, .CartoTag-root": {
3061
+ cursor: "pointer"
3062
+ }
3063
+ },
3064
+ "&:focus-visible": {
3065
+ // Solves a known Mui issue: https://github.com/mui/material-ui/issues/23747
3066
+ backgroundColor: "transparent",
3067
+ outline: "none !important",
3068
+ boxShadow: `inset 0 0 0 2px ${o.palette.primary.main} !important`,
3069
+ borderRadius: o.shape.borderRadius,
3070
+ "&:hover": {
3071
+ backgroundColor: o.palette.action.hover
3072
+ }
3073
+ },
3074
+ "&.Mui-selected": {
3075
+ color: o.palette.primary.main,
3076
+ "&:focus-visible": {
3077
+ // Solves a known Mui issue: https://github.com/mui/material-ui/issues/23747
3078
+ backgroundColor: o.palette.primary.background
3079
+ },
3080
+ "&:hover": {
3081
+ backgroundColor: o.palette.action.hover
3082
+ },
3083
+ "& .MuiTypography-root, & .MuiSvgIcon-root": {
3084
+ color: o.palette.primary.main
3085
+ },
3086
+ ".MuiTypography-caption": {
3087
+ // secondary text
3088
+ color: o.palette.text.secondary
3089
+ }
3090
+ },
3091
+ "&.Mui-disabled": {
3092
+ opacity: 1,
3093
+ color: o.palette.text.disabled,
3094
+ backgroundColor: o.palette.background.paper,
3095
+ "&:empty": {
3096
+ height: 0,
3097
+ minHeight: 0,
3098
+ padding: 0
3099
+ },
3100
+ ".MuiTypography-root": {
3101
+ color: o.palette.text.disabled
3102
+ },
3103
+ svg: {
3104
+ color: o.palette.text.disabled
3105
+ },
3106
+ ".MuiListItemIcon-root svg path": {
3107
+ fill: o.palette.text.disabled
3108
+ },
3109
+ ".MuiAvatar-root": {
3110
+ color: o.palette.text.disabled,
3111
+ backgroundColor: o.palette.action.disabledBackground
3112
+ }
3113
+ },
3114
+ "& > .MuiSvgIcon-root": {
3115
+ marginRight: o.spacing(1)
3116
+ },
3117
+ ".MuiMenu-paper-sizeSmall &": {
3118
+ paddingLeft: o.spacing(1.5),
3119
+ paddingRight: o.spacing(1.5)
3120
+ }
3121
+ }),
3122
+ dense: ({ theme: o }) => ({
3123
+ minHeight: o.spacing(3),
3124
+ paddingTop: 0,
3125
+ paddingBottom: 0,
3126
+ ".MuiTypography-root": {
3127
+ ...o.typography.caption,
3128
+ fontWeight: 500
3129
+ },
3130
+ [o.breakpoints.up("sm")]: {
3131
+ // Overrides an unwanted Mui default style
3132
+ "&.MuiButtonBase-root": {
3133
+ minHeight: o.spacing(3)
3134
+ }
3135
+ }
3136
+ })
3137
+ }
3138
+ },
3139
+ // List
3140
+ MuiList: {
3141
+ styleOverrides: {
3142
+ root: ({ theme: o }) => ({
3143
+ paddingTop: 0,
3144
+ ".MuiPopover-root &, .MuiPopper-root &, .base-Popper-root &": {
3145
+ minWidth: o.spacing(8),
3146
+ // 64px, defined by design
3147
+ maxHeight: o.spacing(39),
3148
+ // 312px, defined by design
3149
+ overflowY: "auto",
3150
+ "&:focus-visible": {
3151
+ outline: "none !important",
3152
+ boxShadow: "none !important"
3153
+ }
3154
+ },
3155
+ ".MuiDivider-root": {
3156
+ margin: o.spacing(1, 0)
3157
+ },
3158
+ // Indent sublevels, ugly but needed to avoid issues with hover
3159
+ "& .MuiList-root": {
3160
+ paddingTop: 0,
3161
+ paddingBottom: 0,
3162
+ "& .MuiListItem-root": {
3163
+ paddingLeft: o.spacing(4)
3164
+ },
3165
+ "& .MuiList-root": {
3166
+ "& .MuiListItem-root": {
3167
+ paddingLeft: o.spacing(6)
3168
+ },
3169
+ "& .MuiList-root": {
3170
+ "& .MuiListItem-root": {
3171
+ paddingLeft: o.spacing(8)
3172
+ },
3173
+ "& .MuiList-root": {
3174
+ "& .MuiListItem-root": {
3175
+ paddingLeft: o.spacing(10)
3176
+ }
3177
+ }
3178
+ }
3179
+ }
3180
+ },
3181
+ "& .MuiListItemButton-root": {
3182
+ "&:focus-visible": {
3183
+ backgroundColor: "transparent"
3184
+ }
3185
+ }
3186
+ })
3187
+ }
3188
+ },
3189
+ // List Item
3190
+ MuiListItemText: {
3191
+ defaultProps: {
3192
+ primaryTypographyProps: {
3193
+ variant: "body2",
3194
+ noWrap: !0,
3195
+ component: "span"
3196
+ },
3197
+ secondaryTypographyProps: { variant: "caption" }
3198
+ },
3199
+ styleOverrides: {
3200
+ root: ({ theme: o }) => ({
3201
+ paddingRight: o.spacing(2),
3202
+ "& + .MuiBox-root": {
3203
+ marginRight: o.spacing(1)
3204
+ }
3205
+ })
3206
+ }
3207
+ },
3208
+ MuiListItemIcon: {
3209
+ styleOverrides: {
3210
+ root: () => ({
3211
+ "& .MuiSvgIcon-root": {
3212
+ fontSize: L
3213
+ },
3214
+ ".MuiMenuItem-root.MuiButtonBase-root &": {
3215
+ minWidth: p
3216
+ }
3217
+ })
3218
+ }
3219
+ },
3220
+ MuiListItemAvatar: {
3221
+ styleOverrides: {
3222
+ root: ({ theme: o }) => ({
3223
+ "& .MuiAvatar-root": {
3224
+ height: o.spacing(4),
3225
+ width: o.spacing(4)
3226
+ },
3227
+ "& .MuiSvgIcon-root": {
3228
+ fontSize: p
3229
+ }
3230
+ })
3231
+ }
3232
+ },
3233
+ // Tabs
3234
+ MuiTabs: {
3235
+ styleOverrides: {
3236
+ root: ({ theme: o }) => ({
3237
+ boxSizing: "content-box",
3238
+ boxShadow: `0 1px 0 0 ${o.palette.black[12]}`
3239
+ }),
3240
+ vertical: () => ({
3241
+ borderBottom: 0
3242
+ })
3243
+ }
3244
+ },
3245
+ // Tab
3246
+ MuiTab: {
3247
+ defaultProps: {
3248
+ iconPosition: "start"
3249
+ },
3250
+ styleOverrides: {
3251
+ root: ({ theme: o }) => ({
3252
+ minHeight: o.spacing(6),
3253
+ minWidth: o.spacing(6),
3254
+ padding: o.spacing(0, 2),
3255
+ paddingTop: "2px",
3256
+ borderBottom: "2px solid transparent",
3257
+ ...o.typography.subtitle2,
3258
+ color: o.palette.text.primary,
3259
+ transition: "border 300ms cubic-bezier(0.4, 0, 0.2, 1)",
3260
+ "&:hover": {
3261
+ borderBottomColor: o.palette.text.primary
3262
+ },
3263
+ "&:focus-visible": {
3264
+ outline: "none !important",
3265
+ boxShadow: `inset 0 0 0 2px ${o.palette.primary.main} !important`,
3266
+ borderRadius: `${o.shape.borderRadius}px ${o.shape.borderRadius}px 0 0`
3267
+ },
3268
+ "&.Mui-selected": {
3269
+ pointerEvents: "none",
3270
+ "& svg:not(.doNotFillIcon) path": {
3271
+ fill: o.palette.primary.main
3272
+ }
3273
+ },
3274
+ ".MuiTabs-vertical &": {
3275
+ paddingTop: 0,
3276
+ borderBottom: 0,
3277
+ paddingLeft: "2px",
3278
+ borderRight: "2px solid transparent",
3279
+ "&:hover": {
3280
+ borderRightColor: o.palette.text.primary
3281
+ }
3282
+ }
3283
+ }),
3284
+ wrapped: () => ({
3285
+ maxWidth: "240px"
3286
+ })
3287
+ }
3288
+ },
3289
+ // Breadcrumbs
3290
+ MuiBreadcrumbs: {
3291
+ styleOverrides: {
3292
+ li: ({ theme: o }) => ({
3293
+ "& .MuiTypography-root": {
3294
+ ...o.typography.body2,
3295
+ display: "flex",
3296
+ flexDirection: "row",
3297
+ alignItems: "center"
3298
+ },
3299
+ "& .MuiSvgIcon-root": {
3300
+ fontSize: p,
3301
+ marginRight: o.spacing(1)
3302
+ }
3303
+ }),
3304
+ separator: ({ theme: o }) => ({
3305
+ marginLeft: o.spacing(0.5),
3306
+ marginRight: o.spacing(0.5)
3307
+ })
3308
+ }
3309
+ },
3310
+ // Links
3311
+ MuiLink: {
3312
+ defaultProps: {
3313
+ underline: "hover"
3314
+ },
3315
+ styleOverrides: {
3316
+ root: () => ({
3317
+ cursor: "pointer"
3318
+ })
3319
+ }
3320
+ }
3321
+ };
3322
+ function I(o) {
3323
+ return 0.0625 * o + "rem";
3324
+ }
3325
+ const Lo = {
3326
+ htmlFontSize: 16,
3327
+ fontFamily: "Inter, sans-serif",
3328
+ fontSize: 16,
3329
+ lineHeight: 1.5,
3330
+ fontWeightLight: 300,
3331
+ fontWeightRegular: 400,
3332
+ fontWeightMedium: 500,
3333
+ fontWeightBold: 600,
3334
+ fontSmoothing: "antialiased",
3335
+ h1: {
3336
+ fontFamily: "Inter, sans-serif",
3337
+ fontWeight: 600,
3338
+ fontSize: I(96),
3339
+ lineHeight: 1.167,
3340
+ letterSpacing: "-1.5px"
3341
+ },
3342
+ h2: {
3343
+ fontFamily: "Inter, sans-serif",
3344
+ fontWeight: 600,
3345
+ fontSize: I(60),
3346
+ lineHeight: 1.2,
3347
+ letterSpacing: "-0.5px"
3348
+ },
3349
+ h3: {
3350
+ fontFamily: "Inter, sans-serif",
3351
+ fontWeight: 600,
3352
+ fontSize: I(48),
3353
+ lineHeight: 1.167,
3354
+ letterSpacing: 0
3355
+ },
3356
+ h4: {
3357
+ fontFamily: "Inter, sans-serif",
3358
+ fontWeight: 600,
3359
+ fontSize: I(32),
3360
+ lineHeight: 1.25,
3361
+ letterSpacing: "0.15px"
3362
+ },
3363
+ h5: {
3364
+ fontFamily: "Inter, sans-serif",
3365
+ fontWeight: 600,
3366
+ fontSize: I(24),
3367
+ lineHeight: 1.167,
3368
+ letterSpacing: "0.15px"
3369
+ },
3370
+ h6: {
3371
+ fontFamily: "Inter, sans-serif",
3372
+ fontWeight: 500,
3373
+ fontSize: I(18),
3374
+ lineHeight: 1.333,
3375
+ letterSpacing: "0.15px"
3376
+ },
3377
+ subtitle1: {
3378
+ fontFamily: "Inter, sans-serif",
3379
+ fontWeight: 500,
3380
+ fontSize: I(16),
3381
+ lineHeight: 1.5,
3382
+ letterSpacing: "0.15px"
3383
+ },
3384
+ subtitle2: {
3385
+ fontFamily: "Inter, sans-serif",
3386
+ fontWeight: 600,
3387
+ fontSize: I(13),
3388
+ lineHeight: 1.538,
3389
+ letterSpacing: "0.1px"
3390
+ },
3391
+ body1: {
3392
+ fontFamily: "Inter, sans-serif",
3393
+ fontWeight: 400,
3394
+ fontSize: I(16),
3395
+ lineHeight: 1.5,
3396
+ letterSpacing: "0.4px"
3397
+ },
3398
+ body2: {
3399
+ fontFamily: "Inter, sans-serif",
3400
+ fontWeight: 400,
3401
+ fontSize: I(13),
3402
+ lineHeight: 1.538,
3403
+ letterSpacing: "0.25px"
3404
+ },
3405
+ button: {
3406
+ fontFamily: "Inter, sans-serif",
3407
+ fontWeight: 500,
3408
+ fontSize: I(13),
3409
+ lineHeight: 1.538,
3410
+ letterSpacing: "0.25px",
3411
+ textTransform: "inherit"
3412
+ },
3413
+ caption: {
3414
+ fontFamily: "Inter, sans-serif",
3415
+ fontWeight: 400,
3416
+ fontSize: I(11),
3417
+ lineHeight: 1.454,
3418
+ letterSpacing: "0.2px"
3419
+ },
3420
+ overline: {
3421
+ fontFamily: "Inter, sans-serif",
3422
+ fontWeight: 500,
3423
+ fontSize: I(10),
3424
+ lineHeight: 1.2,
3425
+ letterSpacing: "1.2px",
3426
+ textTransform: "uppercase"
3427
+ }
3428
+ }, $i = {
3429
+ captionMedium: {
3430
+ ...Lo.caption,
3431
+ fontWeight: 500,
3432
+ letterSpacing: "0.4px"
3433
+ },
3434
+ overlineDelicate: {
3435
+ ...Lo.overline,
3436
+ fontWeight: 400,
3437
+ letterSpacing: "1.2px"
3438
+ },
3439
+ code1: {
3440
+ fontFamily: '"Overpass Mono", monospace',
3441
+ fontWeight: 400,
3442
+ fontSize: I(16),
3443
+ lineHeight: 1.5,
3444
+ letterSpacing: 0,
3445
+ fontVariantLigatures: "no-common-ligatures"
3446
+ },
3447
+ code2: {
3448
+ fontFamily: '"Overpass Mono", monospace',
3449
+ fontWeight: 400,
3450
+ fontSize: I(14),
3451
+ lineHeight: 1.428,
3452
+ letterSpacing: 0,
3453
+ fontVariantLigatures: "no-common-ligatures"
3454
+ },
3455
+ code3: {
3456
+ fontFamily: '"Overpass Mono", monospace',
3457
+ fontWeight: 400,
3458
+ fontSize: I(12),
3459
+ lineHeight: 1.333,
3460
+ letterSpacing: 0,
3461
+ fontVariantLigatures: "no-common-ligatures"
3462
+ }
3463
+ }, Rt = {
3464
+ ...Lo,
3465
+ ...$i
3466
+ };
3467
+ var st, pt, ct, ut, dt, gt, bt, ft;
3468
+ const Ni = {
3469
+ // Accessibility focus (keyboard only)
3470
+ "*:focus-visible": {
3471
+ outline: `2px solid ${(st = q.primary) == null ? void 0 : st.main} !important`,
3472
+ boxShadow: `0 0 0 4px ${(pt = q.primary) == null ? void 0 : pt.background} !important`,
3473
+ borderRadius: "4px"
3474
+ },
3475
+ // Custom scrollbars
3476
+ "*::-webkit-scrollbar": {
3477
+ position: "fixed"
3478
+ },
3479
+ "*::-webkit-scrollbar:vertical": {
3480
+ width: "5px"
3481
+ },
3482
+ "*::-webkit-scrollbar:horizontal": {
3483
+ height: "5px"
3484
+ },
3485
+ "*::-webkit-scrollbar-track": {
3486
+ boxShadow: "none",
3487
+ background: "transparent"
3488
+ },
3489
+ "*::-webkit-scrollbar-thumb": {
3490
+ borderRadius: "3px",
3491
+ background: (ct = q.action) == null ? void 0 : ct.focus,
3492
+ outline: "none"
3493
+ },
3494
+ // iOS Search clear button
3495
+ 'input[type="search"]::-webkit-search-cancel-button': {
3496
+ WebkitAppearance: "none",
3497
+ appearance: "none",
3498
+ height: R(2),
3499
+ width: R(2),
3500
+ display: "block",
3501
+ backgroundImage: "url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)",
3502
+ backgroundRepeat: "no-repeat",
3503
+ backgroundSize: R(2)
3504
+ },
3505
+ // Mapbox controls
3506
+ ".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
3507
+ padding: R(0, 1),
3508
+ borderRadius: R(0.5, 0, 0, 0),
3509
+ "& .mapboxgl-ctrl-attrib-inner": {
3510
+ ...Rt.overline,
3511
+ textTransform: "none",
3512
+ letterSpacing: "0.75px",
3513
+ "& a": {
3514
+ color: (ut = q.primary) == null ? void 0 : ut.main
3515
+ }
3516
+ },
3517
+ "&.mapboxgl-compact": {
3518
+ backgroundColor: "transparent",
3519
+ right: R(0.5),
3520
+ bottom: R(2.5),
3521
+ // Mobile
3522
+ "@media (max-width: 600px)": {
3523
+ bottom: R(0.5)
3524
+ },
3525
+ "& .mapboxgl-ctrl-attrib-button": {
3526
+ backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cg%3E%3Crect%20fill='none'%20height='24'%20width='24'%20x='0'/%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cpath%20d='M11.88,9.14c1.28,0.06,1.61,1.15,1.63,1.66h1.79c-0.08-1.98-1.49-3.19-3.45-3.19C9.64,7.61,8,9,8,12.14%20c0,1.94,0.93,4.24,3.84,4.24c2.22,0,3.41-1.65,3.44-2.95h-1.79c-0.03,0.59-0.45,1.38-1.63,1.44C10.55,14.83,10,13.81,10,12.14%20C10,9.25,11.28,9.16,11.88,9.14z%20M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10s10-4.48,10-10S17.52,2,12,2z%20M12,20c-4.41,0-8-3.59-8-8%20s3.59-8,8-8s8,3.59,8,8S16.41,20,12,20z'%20fill='${(dt = q.text) == null ? void 0 : dt.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
3527
+ backgroundColor: "rgba(255,255,255,.8)",
3528
+ top: "auto",
3529
+ bottom: 0,
3530
+ right: 0,
3531
+ "&:not(:disabled):hover": {
3532
+ backgroundColor: "rgba(255,255,255,.8)"
3533
+ }
3534
+ },
3535
+ "& .mapboxgl-ctrl-attrib-inner": {
3536
+ backgroundColor: "rgba(255,255,255,.8)",
3537
+ padding: R(0.5, 1),
3538
+ borderRadius: R(1.5),
3539
+ marginRight: R(2.5),
3540
+ color: (gt = q.text) == null ? void 0 : gt.secondary
3541
+ },
3542
+ "&.mapboxgl-compact-show": {
3543
+ "& .mapboxgl-ctrl-attrib-button": {
3544
+ backgroundImage: `url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20height='24'%20viewBox='0%200%2024%2024'%20width='24'%3E%3Cpath%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M19%206.41L17.59%205%2012%2010.59%206.41%205%205%206.41%2010.59%2012%205%2017.59%206.41%2019%2012%2013.41%2017.59%2019%2019%2017.59%2013.41%2012z'%20fill='white'/%3E%3C/svg%3E")`,
3545
+ backgroundColor: (bt = q.common) == null ? void 0 : bt.black,
3546
+ "&:not(:disabled):hover": {
3547
+ backgroundColor: (ft = q.common) == null ? void 0 : ft.black
3548
+ }
3549
+ }
3550
+ }
3551
+ }
3552
+ }
3553
+ };
3554
+ var $o = {}, Hi = Mt;
3555
+ Object.defineProperty($o, "__esModule", {
3556
+ value: !0
3557
+ });
3558
+ var wt = $o.default = void 0, _i = Hi(yt()), Vi = d;
3559
+ wt = $o.default = (0, _i.default)(/* @__PURE__ */ (0, Vi.jsx)("path", {
3560
+ d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m4.59-12.42L10 14.17l-2.59-2.58L6 13l4 4 8-8z"
3561
+ }), "CheckCircleOutlined");
3562
+ const Ui = {
3563
+ // SnackBar
3564
+ MuiSnackbar: {
3565
+ defaultProps: {
3566
+ anchorOrigin: {
3567
+ vertical: "bottom",
3568
+ horizontal: "center"
3569
+ }
3570
+ }
3571
+ },
3572
+ // Skeleton
3573
+ MuiSkeleton: {
3574
+ defaultProps: {
3575
+ animation: "wave",
3576
+ variant: "rounded"
3577
+ },
3578
+ styleOverrides: {
3579
+ root: ({ theme: o }) => ({
3580
+ backgroundColor: o.palette.black[8]
3581
+ }),
3582
+ rounded: ({ theme: o }) => ({
3583
+ borderRadius: o.spacing(0.5)
3584
+ }),
3585
+ text: ({ theme: o }) => ({
3586
+ borderRadius: o.spacing(0.5)
3587
+ }),
3588
+ wave: ({ theme: o }) => ({
3589
+ "&::after": {
3590
+ background: `linear-gradient( 90deg, transparent, ${o.palette.black[4]}, transparent )`
3591
+ }
3592
+ })
3593
+ }
3594
+ },
3595
+ // Alert
3596
+ MuiAlert: {
3597
+ defaultProps: {
3598
+ iconMapping: {
3599
+ success: /* @__PURE__ */ d.jsx(wt, {})
3600
+ }
3601
+ },
3602
+ styleOverrides: {
3603
+ root: ({ theme: o }) => ({
3604
+ borderRadius: o.spacing(1),
3605
+ alignSelf: "start",
3606
+ width: "100%",
3607
+ padding: o.spacing(1.5)
3608
+ }),
3609
+ icon: ({ theme: o }) => ({
3610
+ height: o.spacing(3),
3611
+ display: "flex",
3612
+ alignItems: "center",
3613
+ padding: 0,
3614
+ marginRight: o.spacing(1),
3615
+ svg: {
3616
+ width: p,
3617
+ height: p
3618
+ }
3619
+ }),
3620
+ action: () => ({
3621
+ paddingTop: 0,
3622
+ marginRight: 0
3623
+ }),
3624
+ message: ({ theme: o }) => ({
3625
+ paddingTop: o.spacing(0.5),
3626
+ paddingBottom: 0,
3627
+ ...o.typography.caption
3628
+ })
3629
+ }
3630
+ },
3631
+ // AlertTitle
3632
+ MuiAlertTitle: {
3633
+ defaultProps: {
3634
+ variant: "body2"
3635
+ },
3636
+ styleOverrides: {
3637
+ root: ({ theme: o }) => ({
3638
+ marginBottom: o.spacing(0.5),
3639
+ fontWeight: o.typography.fontWeightBold,
3640
+ color: "inherit"
3641
+ })
3642
+ }
3643
+ }
3644
+ }, qi = {
3645
+ // AppBar
3646
+ MuiAppBar: {
3647
+ styleOverrides: {
3648
+ root: ({ theme: o }) => ({
3649
+ flexDirection: "row",
3650
+ alignItems: "center",
3651
+ justifyContent: "space-between",
3652
+ height: qo,
3653
+ backgroundColor: o.palette.brand.navyBlue,
3654
+ color: o.palette.common.white,
3655
+ boxShadow: o.shadows[0],
3656
+ "& .MuiToolbar-root": {
3657
+ justifyContent: "space-between",
3658
+ width: "100%",
3659
+ padding: o.spacing(0, 1),
3660
+ minHeight: qo
3661
+ },
3662
+ "& .MuiAvatar-root": {
3663
+ width: o.spacing(4),
3664
+ height: o.spacing(4)
3665
+ }
3666
+ })
3667
+ }
3668
+ },
3669
+ // MuiAccordion
3670
+ MuiAccordion: {
3671
+ defaultProps: {
3672
+ disableGutters: !0,
3673
+ elevation: 0
3674
+ },
3675
+ styleOverrides: {
3676
+ root: ({ theme: o }) => ({
3677
+ ...o.typography.body2,
3678
+ backgroundColor: "transparent",
3679
+ boxShadow: `inset 0 -1px 0 0 ${o.palette.divider}`,
3680
+ "&:last-of-type": {
3681
+ boxShadow: "none"
3682
+ },
3683
+ "&::before": {
3684
+ content: "none"
3685
+ },
3686
+ "&.Mui-disabled": {
3687
+ backgroundColor: "transparent"
3688
+ }
3689
+ })
3690
+ }
3691
+ },
3692
+ // MuiAccordionSummary
3693
+ MuiAccordionSummary: {
3694
+ defaultProps: {
3695
+ expandIcon: /* @__PURE__ */ d.jsx(Yt, {})
3696
+ },
3697
+ styleOverrides: {
3698
+ root: ({ theme: o }) => ({
3699
+ ...o.typography.button,
3700
+ "&.Mui-disabled": {
3701
+ opacity: 1,
3702
+ color: o.palette.text.disabled
3703
+ },
3704
+ "&.Mui-focusVisible": {
3705
+ backgroundColor: "transparent",
3706
+ borderRadius: o.shape.borderRadius
3707
+ }
3708
+ }),
3709
+ expandIconWrapper: ({ theme: o }) => ({
3710
+ "& svg": {
3711
+ color: o.palette.text.secondary,
3712
+ ".Mui-disabled &": {
3713
+ color: o.palette.text.disabled
3714
+ }
3715
+ }
3716
+ })
3717
+ }
3718
+ },
3719
+ // MuiAccordionDetails
3720
+ MuiAccordionDetails: {
3721
+ styleOverrides: {
3722
+ root: ({ theme: o }) => ({
3723
+ paddingBottom: o.spacing(3)
3724
+ })
3725
+ }
3726
+ }
3727
+ }, Gi = [
3728
+ "none",
3729
+ // 0
3730
+ "0px 2px 1px -1px rgba(44, 48, 50, 0.12), 0px 1px 1px rgba(44, 48, 50, 0.08), 0px 1px 3px rgba(44, 48, 50, 0.04)",
3731
+ // 1
3732
+ "0px 3px 1px -2px rgba(44, 48, 50, 0.12), 0px 2px 2px rgba(44, 48, 50, 0.08), 0px 1px 5px rgba(44, 48, 50, 0.04)",
3733
+ // 2
3734
+ "0px 3px 3px -2px rgba(0,0,0,0.16),0px 3px 4px 0px rgba(0,0,0,0.08),0px 1px 8px 0px rgba(0,0,0,0.04)",
3735
+ "0px 2px 4px -1px rgba(44, 48, 50, 0.12), 0px 4px 5px rgba(44, 48, 50, 0.08), 0px 1px 10px rgba(44, 48, 50, 0.04)",
3736
+ // 4
3737
+ "0px 3px 5px -1px rgba(0,0,0,0.16),0px 5px 8px 0px rgba(0,0,0,0.08),0px 1px 14px 0px rgba(0,0,0,0.04)",
3738
+ "0px 3px 5px -1px rgba(44, 48, 50, 0.12), 0px 6px 10px rgba(44, 48, 50, 0.08), 0px 1px 18px rgba(44, 48, 50, 0.04)",
3739
+ // 6
3740
+ "0px 4px 5px -2px rgba(0,0,0,0.16),0px 7px 10px 1px rgba(0,0,0,0.08),0px 2px 16px 1px rgba(0,0,0,0.04)",
3741
+ "0px 5px 5px -3px rgba(44, 48, 50, 0.12), 0px 8px 10px 1px rgba(44, 48, 50, 0.08), 0px 3px 14px 2px rgba(44, 48, 50, 0.04)",
3742
+ // 8
3743
+ "0px 5px 6px -3px rgba(0,0,0,0.16),0px 9px 12px 1px rgba(0,0,0,0.08),0px 3px 16px 2px rgba(0,0,0,0.04)",
3744
+ "0px 6px 6px -3px rgba(0,0,0,0.16),0px 10px 14px 1px rgba(0,0,0,0.08),0px 4px 18px 3px rgba(0,0,0,0.04)",
3745
+ "0px 6px 7px -4px rgba(0,0,0,0.16),0px 11px 15px 1px rgba(0,0,0,0.08),0px 4px 20px 3px rgba(0,0,0,0.04)",
3746
+ "0px 7px 8px -4px rgba(0,0,0,0.16),0px 12px 17px 2px rgba(0,0,0,0.08),0px 5px 22px 4px rgba(0,0,0,0.04)",
3747
+ "0px 7px 8px -4px rgba(0,0,0,0.16),0px 13px 19px 2px rgba(0,0,0,0.08),0px 5px 24px 4px rgba(0,0,0,0.04)",
3748
+ "0px 7px 9px -4px rgba(0,0,0,0.16),0px 14px 21px 2px rgba(0,0,0,0.08),0px 5px 26px 4px rgba(0,0,0,0.04)",
3749
+ "0px 8px 9px -5px rgba(0,0,0,0.16),0px 15px 22px 2px rgba(0,0,0,0.08),0px 6px 28px 5px rgba(0,0,0,0.04)",
3750
+ "0px 8px 10px -5px rgba(44, 48, 50, 0.12), 0px 16px 24px 2px rgba(44, 48, 50, 0.08), 0px 6px 30px 5px rgba(44, 48, 50, 0.04)",
3751
+ // 16
3752
+ "0px 8px 11px -5px rgba(0,0,0,0.16),0px 17px 26px 2px rgba(0,0,0,0.08),0px 6px 32px 5px rgba(0,0,0,0.04)",
3753
+ "0px 9px 11px -5px rgba(0,0,0,0.16),0px 18px 28px 2px rgba(0,0,0,0.08),0px 7px 34px 6px rgba(0,0,0,0.04)",
3754
+ "0px 9px 12px -6px rgba(0,0,0,0.16),0px 19px 29px 2px rgba(0,0,0,0.08),0px 7px 36px 6px rgba(0,0,0,0.04)",
3755
+ "0px 10px 13px -6px rgba(0,0,0,0.16),0px 20px 31px 3px rgba(0,0,0,0.08),0px 8px 38px 7px rgba(0,0,0,0.04)",
3756
+ "0px 10px 13px -6px rgba(0,0,0,0.16),0px 21px 33px 3px rgba(0,0,0,0.08),0px 8px 40px 7px rgba(0,0,0,0.04)",
3757
+ "0px 10px 14px -6px rgba(0,0,0,0.16),0px 22px 35px 3px rgba(0,0,0,0.08),0px 8px 42px 7px rgba(0,0,0,0.04)",
3758
+ "0px 11px 14px -7px rgba(0,0,0,0.16),0px 23px 36px 3px rgba(0,0,0,0.08),0px 9px 44px 8px rgba(0,0,0,0.04)",
3759
+ "0px 11px 15px -7px rgba(44, 48, 50, 0.12), 0px 24px 38px 3px rgba(44, 48, 50, 0.08), 0px 9px 46px 8px rgba(44, 48, 50, 0.04)"
3760
+ // 24
3761
+ ], Ki = {
3762
+ themeName: "CARTO",
3763
+ breakpoints: {
3764
+ keys: ["xs", "sm", "md", "lg", "xl"],
3765
+ values: {
3766
+ xs: no.XS,
3767
+ // 320 - 599
3768
+ sm: no.SM,
3769
+ // 600 - 959
3770
+ md: no.MD,
3771
+ // 960 - 1279
3772
+ lg: no.LG,
3773
+ // 1280 - 1599
3774
+ xl: no.XL
3775
+ // 1600+
3776
+ },
3777
+ unit: "px",
3778
+ step: 5
3779
+ // For more information about use this helper functions: https://mui.com/material-ui/customization/breakpoints/#css-media-queries
3780
+ // up: f d(),
3781
+ // down: f down(),
3782
+ // between: f p(),
3783
+ // only: f only(),
3784
+ // width: f width(),
3785
+ },
3786
+ direction: "ltr",
3787
+ mixins: {
3788
+ // gutters: f gutters(),
3789
+ toolbar: {
3790
+ minHeight: 56,
3791
+ "@media (min-width:0px) and (orientation: landscape)": {
3792
+ minHeight: 48
3793
+ },
3794
+ "@media (min-width:600px)": {
3795
+ minHeight: 56
3796
+ }
3797
+ }
3798
+ },
3799
+ palette: q,
3800
+ shadows: Gi,
3801
+ typography: Rt,
3802
+ spacingValue: Go,
3803
+ // For situations where we can't use theme.spacing(), mainly math calculations.er
3804
+ spacing: Go,
3805
+ // For custom spacing: https://material-ui.com/customization/spacing/#custom-spacing
3806
+ shape: {
3807
+ borderRadius: 4
3808
+ },
3809
+ transitions: {
3810
+ easing: {
3811
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
3812
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
3813
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
3814
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
3815
+ },
3816
+ duration: {
3817
+ shortest: 150,
3818
+ shorter: 200,
3819
+ short: 250,
3820
+ standard: 300,
3821
+ complex: 375,
3822
+ enteringScreen: 225,
3823
+ leavingScreen: 195
3824
+ }
3825
+ // create: f create(), => Research
3826
+ // getAutoHeightDuration: f getAutoHeightDuration(), => Research
3827
+ },
3828
+ zIndex: {
3829
+ mobileStepper: 1e3,
3830
+ speedDial: 1050,
3831
+ appBar: 1100,
3832
+ drawer: 1200,
3833
+ modal: 1300,
3834
+ snackbar: 1400,
3835
+ tooltip: 1500
3836
+ },
3837
+ // Styles and props overrides for components
3838
+ components: {
3839
+ MuiCssBaseline: {
3840
+ styleOverrides: {
3841
+ ...Ni
3842
+ }
3843
+ },
3844
+ ...Ei,
3845
+ ...ji,
3846
+ ...Di,
3847
+ ...Li,
3848
+ ...Ui,
3849
+ ...qi
3850
+ }
3851
+ }, re = Ut(qt(Ki));
3852
+ export {
3853
+ qo as APPBAR_SIZE,
3854
+ no as BREAKPOINTS,
3855
+ L as ICON_SIZE_LARGE,
3856
+ p as ICON_SIZE_MEDIUM,
3857
+ ao as ICON_SIZE_SMALL,
3858
+ Go as SPACING,
3859
+ Ki as cartoThemeOptions,
3860
+ le as getCartoColorStylePropsForItem,
3861
+ R as getSpacing,
3862
+ re as theme
3863
+ };