@carto/meridian-ds 1.4.4-alpha-others.1 → 1.4.4-alpha-others.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/Alert-D8jI1sG4.js +134 -0
  3. package/dist/Alert-zqtoWsBL.cjs +133 -0
  4. package/dist/ArrowDown-8fLj23Ge.cjs +31 -0
  5. package/dist/ArrowDown-CY_wMVJT.js +32 -0
  6. package/dist/MenuItem-Br2jY2lt.cjs +164 -0
  7. package/dist/MenuItem-CXnnE5lK.js +165 -0
  8. package/dist/OpenDiagonallyRight-5HZXh46V.js +59 -0
  9. package/dist/OpenDiagonallyRight-BrRyCV4Q.cjs +58 -0
  10. package/dist/SwatchSquare-DDi0beUM.js +51 -0
  11. package/dist/SwatchSquare-w-U8-O-P.cjs +50 -0
  12. package/dist/TablePaginationActions-CFGXm44W.cjs +5661 -0
  13. package/dist/{TablePaginationActions-WZ3P4O35.js → TablePaginationActions-KpTvhN4Y.js} +1086 -656
  14. package/dist/components/index.cjs +4403 -1
  15. package/dist/components/index.js +3235 -1857
  16. package/dist/custom-icons/index.cjs +5857 -1
  17. package/dist/custom-icons/index.js +2658 -2326
  18. package/dist/paletteUtils-B9ybmwiI.cjs +304 -0
  19. package/dist/paletteUtils-BHqJlHm9.js +288 -0
  20. package/dist/theme/index.cjs +3135 -1
  21. package/dist/theme/index.js +1050 -1011
  22. package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialog.d.ts +16 -0
  23. package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialog.d.ts.map +1 -0
  24. package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.d.ts +16 -0
  25. package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogConfirmation.d.ts.map +1 -0
  26. package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogContent.d.ts +10 -0
  27. package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogContent.d.ts.map +1 -0
  28. package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogError.d.ts +8 -0
  29. package/dist/types/components/organisms/CodeArea/CodeAreaDialog/CodeAreaDialogError.d.ts.map +1 -0
  30. package/dist/types/components/organisms/CodeArea/CodeAreaField.d.ts +4 -0
  31. package/dist/types/components/organisms/CodeArea/CodeAreaField.d.ts.map +1 -0
  32. package/dist/types/components/organisms/CodeArea/CodeAreaFooter.d.ts +12 -0
  33. package/dist/types/components/organisms/CodeArea/CodeAreaFooter.d.ts.map +1 -0
  34. package/dist/types/components/organisms/CodeArea/CodeAreaHeader.d.ts +9 -0
  35. package/dist/types/components/organisms/CodeArea/CodeAreaHeader.d.ts.map +1 -0
  36. package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts +28 -0
  37. package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts.map +1 -0
  38. package/dist/types/components/organisms/CodeArea/CodeAreaTheme.d.ts +7 -0
  39. package/dist/types/components/organisms/CodeArea/CodeAreaTheme.d.ts.map +1 -0
  40. package/dist/types/components/organisms/CodeArea/index.d.ts +9 -0
  41. package/dist/types/components/organisms/CodeArea/index.d.ts.map +1 -0
  42. package/dist/types/components/organisms/CodeArea/types.d.ts +38 -0
  43. package/dist/types/components/organisms/CodeArea/types.d.ts.map +1 -0
  44. package/dist/types/components/organisms/CodeArea/utils.d.ts +5 -0
  45. package/dist/types/components/organisms/CodeArea/utils.d.ts.map +1 -0
  46. package/dist/types/components/organisms/index.d.ts +2 -0
  47. package/dist/types/components/organisms/index.d.ts.map +1 -1
  48. package/dist/types/localization/en.d.ts +6 -0
  49. package/dist/types/localization/en.d.ts.map +1 -1
  50. package/dist/types/localization/es.d.ts +6 -0
  51. package/dist/types/localization/es.d.ts.map +1 -1
  52. package/dist/types/localization/id.d.ts +6 -0
  53. package/dist/types/localization/id.d.ts.map +1 -1
  54. package/dist/types/localization/index.d.ts +18 -0
  55. package/dist/types/localization/index.d.ts.map +1 -1
  56. package/dist/types/utils/chartConstants.d.ts +3 -3
  57. package/dist/types/utils/chartConstants.d.ts.map +1 -1
  58. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts +2 -2
  59. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -1
  60. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts +2 -2
  61. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts.map +1 -1
  62. package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts +2 -2
  63. package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts.map +1 -1
  64. package/dist/types/widgets/TimeSeriesWidgetUI/TimeSeriesWidgetUI.d.ts.map +1 -1
  65. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts +2 -5
  66. package/dist/types/widgets/TimeSeriesWidgetUI/components/TimeSeriesChart.d.ts.map +1 -1
  67. package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.d.ts +7 -0
  68. package/dist/types/widgets/TimeSeriesWidgetUI/timeSeriesUtils.d.ts.map +1 -1
  69. package/dist/types/widgets/TimeSeriesWidgetUI/types.d.ts +6 -0
  70. package/dist/types/widgets/TimeSeriesWidgetUI/types.d.ts.map +1 -0
  71. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts +2 -2
  72. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
  73. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts +2 -2
  74. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts.map +1 -1
  75. package/dist/types/widgets/index.d.ts +1 -0
  76. package/dist/types/widgets/index.d.ts.map +1 -1
  77. package/dist/widgets/index.cjs +7192 -21
  78. package/dist/widgets/index.js +5182 -3806
  79. package/package.json +6 -1
  80. package/dist/Alert-BAvr1f31.js +0 -130
  81. package/dist/Alert-DPGMxifE.cjs +0 -4
  82. package/dist/ArrowDown-BD0WmQR3.cjs +0 -1
  83. package/dist/ArrowDown-CMhYkZ2p.js +0 -31
  84. package/dist/MenuItem-Cd34y6F3.js +0 -165
  85. package/dist/MenuItem-Dbss-WG1.cjs +0 -1
  86. package/dist/SwatchSquare-C34ayL4L.cjs +0 -1
  87. package/dist/SwatchSquare-CVpwEFFV.js +0 -48
  88. package/dist/TablePaginationActions-Bp1DCaIE.cjs +0 -9
  89. package/dist/paletteUtils-BEwZhrLg.js +0 -262
  90. package/dist/paletteUtils-DLQVT9qo.cjs +0 -1
@@ -1,80 +1,87 @@
1
- import { alpha as x, Tooltip as ao, responsiveFontSizes as to, createTheme as eo } from "@mui/material";
2
- import { jsxs as no, Fragment as po, jsx as s } from "react/jsx-runtime";
3
- import { T as lo, a as so, I as e, b as r, c as u, g as t, A as R, B as g, S as P } from "../TablePaginationActions-WZ3P4O35.js";
4
- import { N as Do } from "../TablePaginationActions-WZ3P4O35.js";
5
- import { Cancel as v, EventOutlined as L, ChevronRightOutlined as co, ChevronLeftOutlined as go, ExpandMoreOutlined as oo, CheckCircleOutlined as uo } from "@mui/icons-material";
6
- import { A as h } from "../ArrowDown-CMhYkZ2p.js";
7
- import { renderDigitalClockTimeView as A } from "@mui/x-date-pickers";
8
- import { M as W } from "../MenuItem-Cd34y6F3.js";
9
- import { c as p } from "../paletteUtils-BEwZhrLg.js";
10
- import { g as Eo } from "../paletteUtils-BEwZhrLg.js";
11
- const io = 1, b = 0.5, y = io + b, bo = "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", H = "50%", D = 0.5, xo = {
1
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2
+ import { alpha, Tooltip, responsiveFontSizes, createTheme } from "@mui/material";
3
+ import { jsxs, Fragment, jsx } from "react/jsx-runtime";
4
+ import { T as Typography, a as TablePaginationActions, I as ICON_SIZE_LARGE, b as ICON_SIZE_MEDIUM, c as ICON_SIZE_SMALL, g as getSpacing, A as APPBAR_SIZE, B as BREAKPOINTS, S as SPACING } from "../TablePaginationActions-KpTvhN4Y.js";
5
+ import { N } from "../TablePaginationActions-KpTvhN4Y.js";
6
+ import { Cancel, EventOutlined, ChevronRightOutlined, ChevronLeftOutlined, ExpandMoreOutlined, CheckCircleOutlined } from "@mui/icons-material";
7
+ import { A as ArrowDown } from "../ArrowDown-CY_wMVJT.js";
8
+ import { renderDigitalClockTimeView } from "@mui/x-date-pickers";
9
+ import { M as MenuItem } from "../MenuItem-CXnnE5lK.js";
10
+ import { c as commonPalette } from "../paletteUtils-BHqJlHm9.js";
11
+ import { g } from "../paletteUtils-BHqJlHm9.js";
12
+ const tooltipArrowSize = 1;
13
+ const tooltipSeparation = 0.5;
14
+ const tooltipMargin = tooltipArrowSize + tooltipSeparation;
15
+ const avatarFallbackImage = "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";
16
+ const avatarCircularRadius = "50%";
17
+ const avatarRoundedRadius = 0.5;
18
+ const dataDisplayOverrides = {
12
19
  // Divider
13
20
  MuiDivider: {
14
21
  defaultProps: {
15
22
  role: "separator"
16
23
  },
17
24
  styleOverrides: {
18
- root: ({ theme: o }) => ({
25
+ root: ({ theme: theme2 }) => ({
19
26
  backgroundColor: "transparent",
20
- borderColor: o.palette.divider
27
+ borderColor: theme2.palette.divider
21
28
  }),
22
- light: ({ theme: o }) => ({
23
- borderColor: o.palette.white[12]
29
+ light: ({ theme: theme2 }) => ({
30
+ borderColor: theme2.palette.white[12]
24
31
  })
25
32
  }
26
33
  },
27
34
  // Tooltip
28
35
  MuiTooltip: {
29
36
  defaultProps: {
30
- arrow: !0,
37
+ arrow: true,
31
38
  placement: "top",
32
39
  enterDelay: 1e3,
33
40
  leaveDelay: 200
34
41
  },
35
42
  styleOverrides: {
36
- tooltip: ({ theme: o }) => ({
37
- ...o.typography.caption,
43
+ tooltip: ({ theme: theme2 }) => ({
44
+ ...theme2.typography.caption,
38
45
  fontWeight: 500,
39
46
  maxWidth: "240px",
40
- backgroundColor: o.palette.black[90],
47
+ backgroundColor: theme2.palette.black[90],
41
48
  '.MuiTooltip-popper[data-popper-placement*="top"] &': {
42
- marginBottom: o.spacing(b),
49
+ marginBottom: theme2.spacing(tooltipSeparation),
43
50
  "&.MuiTooltip-tooltipArrow": {
44
- marginBottom: o.spacing(y)
51
+ marginBottom: theme2.spacing(tooltipMargin)
45
52
  }
46
53
  },
47
54
  '.MuiTooltip-popper[data-popper-placement*="right"] &': {
48
- marginLeft: o.spacing(b),
55
+ marginLeft: theme2.spacing(tooltipSeparation),
49
56
  "&.MuiTooltip-tooltipArrow": {
50
- marginLeft: o.spacing(y)
57
+ marginLeft: theme2.spacing(tooltipMargin)
51
58
  }
52
59
  },
53
60
  '.MuiTooltip-popper[data-popper-placement*="bottom"] &': {
54
- marginTop: o.spacing(b),
61
+ marginTop: theme2.spacing(tooltipSeparation),
55
62
  "&.MuiTooltip-tooltipArrow": {
56
- marginTop: o.spacing(y)
63
+ marginTop: theme2.spacing(tooltipMargin)
57
64
  }
58
65
  },
59
66
  '.MuiTooltip-popper[data-popper-placement*="left"] &': {
60
- marginRight: o.spacing(b),
67
+ marginRight: theme2.spacing(tooltipSeparation),
61
68
  "&.MuiTooltip-tooltipArrow": {
62
- marginRight: o.spacing(y)
69
+ marginRight: theme2.spacing(tooltipMargin)
63
70
  }
64
71
  }
65
72
  }),
66
- arrow: ({ theme: o }) => ({
67
- height: o.spacing(io),
68
- color: o.palette.black[90]
73
+ arrow: ({ theme: theme2 }) => ({
74
+ height: theme2.spacing(tooltipArrowSize),
75
+ color: theme2.palette.black[90]
69
76
  })
70
77
  }
71
78
  },
72
79
  // Popper
73
80
  MuiPopper: {
74
81
  styleOverrides: {
75
- root: ({ theme: o }) => ({
82
+ root: ({ theme: theme2 }) => ({
76
83
  "& .MuiPaper-root": {
77
- marginTop: o.spacing(0.5)
84
+ marginTop: theme2.spacing(0.5)
78
85
  }
79
86
  })
80
87
  }
@@ -82,9 +89,9 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
82
89
  // Popover
83
90
  MuiPopover: {
84
91
  styleOverrides: {
85
- root: ({ theme: o }) => ({
92
+ root: ({ theme: theme2 }) => ({
86
93
  "& .MuiPaper-root": {
87
- marginTop: o.spacing(0.5)
94
+ marginTop: theme2.spacing(0.5)
88
95
  }
89
96
  })
90
97
  }
@@ -100,16 +107,16 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
100
107
  variant: "subtitle1"
101
108
  },
102
109
  styleOverrides: {
103
- root: ({ theme: o }) => ({
104
- padding: o.spacing(3, 3, 2)
110
+ root: ({ theme: theme2 }) => ({
111
+ padding: theme2.spacing(3, 3, 2)
105
112
  })
106
113
  }
107
114
  },
108
115
  MuiDialogContent: {
109
116
  styleOverrides: {
110
- root: ({ theme: o }) => ({
117
+ root: ({ theme: theme2 }) => ({
111
118
  "& .MuiFormGroup-root": {
112
- padding: o.spacing(1, 0)
119
+ padding: theme2.spacing(1, 0)
113
120
  }
114
121
  })
115
122
  }
@@ -119,8 +126,8 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
119
126
  variant: "body2"
120
127
  },
121
128
  styleOverrides: {
122
- root: ({ theme: o }) => ({
123
- color: o.palette.text.primary
129
+ root: ({ theme: theme2 }) => ({
130
+ color: theme2.palette.text.primary
124
131
  })
125
132
  }
126
133
  },
@@ -131,61 +138,63 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
131
138
  variant: "outlined",
132
139
  size: "small"
133
140
  },
134
- labelDisplayedRows: ({ from: o, to: i, count: c }) => /* @__PURE__ */ no(po, { children: [
135
- /* @__PURE__ */ s(
136
- lo,
137
- {
138
- component: "span",
139
- variant: "inherit",
140
- weight: "strong",
141
- color: "textPrimary",
142
- children: `${o}-${i}`
143
- }
144
- ),
145
- ` of ${c}`
146
- ] }),
147
- ActionsComponent: so
141
+ labelDisplayedRows: ({ from, to, count }) => {
142
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
143
+ /* @__PURE__ */ jsx(
144
+ Typography,
145
+ {
146
+ component: "span",
147
+ variant: "inherit",
148
+ weight: "strong",
149
+ color: "textPrimary",
150
+ children: `${from}-${to}`
151
+ }
152
+ ),
153
+ ` of ${count}`
154
+ ] });
155
+ },
156
+ ActionsComponent: TablePaginationActions
148
157
  },
149
158
  styleOverrides: {
150
159
  root: () => ({
151
160
  borderBottom: 0
152
161
  }),
153
- toolbar: ({ theme: o }) => ({
162
+ toolbar: ({ theme: theme2 }) => ({
154
163
  minHeight: "0 !important",
155
164
  padding: "0 !important",
156
- height: o.spacing(6)
165
+ height: theme2.spacing(6)
157
166
  }),
158
- selectLabel: ({ theme: o }) => ({
167
+ selectLabel: ({ theme: theme2 }) => ({
159
168
  margin: 0,
160
- ...o.typography.caption,
161
- fontWeight: o.typography.fontWeightMedium
169
+ ...theme2.typography.caption,
170
+ fontWeight: theme2.typography.fontWeightMedium
162
171
  }),
163
- selectIcon: ({ theme: o }) => ({
172
+ selectIcon: ({ theme: theme2 }) => ({
164
173
  "&.MuiSvgIcon-root": {
165
- right: o.spacing(1)
174
+ right: theme2.spacing(1)
166
175
  }
167
176
  }),
168
- input: ({ theme: o }) => ({
169
- marginRight: o.spacing(2),
170
- marginLeft: o.spacing(1),
177
+ input: ({ theme: theme2 }) => ({
178
+ marginRight: theme2.spacing(2),
179
+ marginLeft: theme2.spacing(1),
171
180
  width: "auto",
172
- paddingRight: o.spacing(3)
181
+ paddingRight: theme2.spacing(3)
173
182
  }),
174
- displayedRows: ({ theme: o }) => ({
175
- color: o.palette.text.secondary
183
+ displayedRows: ({ theme: theme2 }) => ({
184
+ color: theme2.palette.text.secondary
176
185
  })
177
186
  }
178
187
  },
179
188
  MuiTable: {
180
189
  defaultProps: {
181
- stickyHeader: !0
190
+ stickyHeader: true
182
191
  }
183
192
  },
184
193
  MuiTableRow: {
185
194
  styleOverrides: {
186
- root: ({ theme: o }) => ({
195
+ root: ({ theme: theme2 }) => ({
187
196
  transition: "background-color 0.25s ease",
188
- borderColor: o.palette.divider,
197
+ borderColor: theme2.palette.divider,
189
198
  "&.MuiTableRow-hover:hover": {
190
199
  cursor: "pointer"
191
200
  }
@@ -194,26 +203,26 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
194
203
  },
195
204
  MuiTableCell: {
196
205
  styleOverrides: {
197
- root: ({ theme: o }) => ({
198
- padding: o.spacing(0.5, 2),
199
- height: o.spacing(6),
206
+ root: ({ theme: theme2 }) => ({
207
+ padding: theme2.spacing(0.5, 2),
208
+ height: theme2.spacing(6),
200
209
  "&.MuiTableCell-sizeSmall": {
201
- height: o.spacing(4)
210
+ height: theme2.spacing(4)
202
211
  },
203
212
  "&.MuiTableCell-footer": {
204
213
  padding: 0
205
214
  }
206
215
  }),
207
- head: ({ theme: o }) => ({
208
- ...o.typography.caption,
209
- fontWeight: o.typography.fontWeightMedium,
210
- color: o.palette.text.primary
216
+ head: ({ theme: theme2 }) => ({
217
+ ...theme2.typography.caption,
218
+ fontWeight: theme2.typography.fontWeightMedium,
219
+ color: theme2.palette.text.primary
211
220
  }),
212
- stickyHeader: ({ theme: o }) => ({
213
- backgroundColor: o.palette.common.white
221
+ stickyHeader: ({ theme: theme2 }) => ({
222
+ backgroundColor: theme2.palette.common.white
214
223
  }),
215
- paddingCheckbox: ({ theme: o }) => ({
216
- padding: o.spacing(0.5, 1)
224
+ paddingCheckbox: ({ theme: theme2 }) => ({
225
+ padding: theme2.spacing(0.5, 1)
217
226
  }),
218
227
  paddingNone: () => ({
219
228
  padding: 0
@@ -226,163 +235,163 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
226
235
  color: "primary"
227
236
  },
228
237
  styleOverrides: {
229
- root: ({ theme: o }) => ({
238
+ root: ({ theme: theme2 }) => ({
230
239
  maxWidth: "192px",
231
- padding: o.spacing(0, 0.5),
240
+ padding: theme2.spacing(0, 0.5),
232
241
  "& .MuiAvatar-root": {
233
- width: e,
234
- minWidth: e,
235
- height: e,
242
+ width: ICON_SIZE_LARGE,
243
+ minWidth: ICON_SIZE_LARGE,
244
+ height: ICON_SIZE_LARGE,
236
245
  margin: 0,
237
- color: o.palette.secondary.contrastText,
238
- backgroundColor: o.palette.background.paper,
239
- border: `1px solid ${o.palette.action.hover}`
246
+ color: theme2.palette.secondary.contrastText,
247
+ backgroundColor: theme2.palette.background.paper,
248
+ border: `1px solid ${theme2.palette.action.hover}`
240
249
  },
241
250
  "& .MuiChip-icon": {
242
251
  margin: 0,
243
- marginLeft: o.spacing(0.5)
252
+ marginLeft: theme2.spacing(0.5)
244
253
  },
245
254
  "& img": {
246
- width: e,
247
- minWidth: e,
248
- height: e
255
+ width: ICON_SIZE_LARGE,
256
+ minWidth: ICON_SIZE_LARGE,
257
+ height: ICON_SIZE_LARGE
249
258
  },
250
259
  "&.MuiChip-root.Mui-disabled": {
251
- color: o.palette.text.disabled,
252
- backgroundColor: o.palette.action.disabledBackground,
260
+ color: theme2.palette.text.disabled,
261
+ backgroundColor: theme2.palette.action.disabledBackground,
253
262
  opacity: 1,
254
263
  "& .MuiChip-deleteIcon, & .MuiChip-icon": {
255
- color: o.palette.action.disabled
264
+ color: theme2.palette.action.disabled
256
265
  },
257
266
  "& .MuiAvatar-root": {
258
267
  opacity: 0.6
259
268
  }
260
269
  },
261
270
  "& .MuiChip-deleteIcon": {
262
- color: o.palette.text.hint
271
+ color: theme2.palette.text.hint
263
272
  }
264
273
  }),
265
274
  // Variants
266
- filled: ({ theme: o }) => ({
275
+ filled: ({ theme: theme2 }) => ({
267
276
  border: 0,
268
- backgroundColor: o.palette.default.main,
277
+ backgroundColor: theme2.palette.default.main,
269
278
  "& .MuiChip-iconColorPrimary": {
270
- color: o.palette.primary.contrastText
279
+ color: theme2.palette.primary.contrastText
271
280
  },
272
281
  "& .MuiChip-deleteIcon:hover": {
273
- color: o.palette.text.primary
282
+ color: theme2.palette.text.primary
274
283
  }
275
284
  }),
276
- filledPrimary: ({ theme: o }) => ({
277
- backgroundColor: o.palette.primary.main,
285
+ filledPrimary: ({ theme: theme2 }) => ({
286
+ backgroundColor: theme2.palette.primary.main,
278
287
  "& .MuiChip-deleteIcon": {
279
- color: o.palette.white[60],
288
+ color: theme2.palette.white[60],
280
289
  "&:hover": {
281
- color: o.palette.common.white
290
+ color: theme2.palette.common.white
282
291
  }
283
292
  }
284
293
  }),
285
- filledSecondary: ({ theme: o }) => ({
286
- backgroundColor: o.palette.secondary.main
294
+ filledSecondary: ({ theme: theme2 }) => ({
295
+ backgroundColor: theme2.palette.secondary.main
287
296
  }),
288
- outlined: ({ theme: o }) => ({
289
- borderColor: o.palette.default.outlinedBorder,
297
+ outlined: ({ theme: theme2 }) => ({
298
+ borderColor: theme2.palette.default.outlinedBorder,
290
299
  "&.MuiChip-root.Mui-disabled": {
291
- borderColor: o.palette.default.outlinedBorder,
300
+ borderColor: theme2.palette.default.outlinedBorder,
292
301
  backgroundColor: "transparent"
293
302
  },
294
303
  "& .MuiChip-deleteIcon:hover": {
295
- color: o.palette.text.primary
304
+ color: theme2.palette.text.primary
296
305
  }
297
306
  }),
298
- outlinedPrimary: ({ theme: o }) => ({
299
- borderColor: o.palette.primary.main
307
+ outlinedPrimary: ({ theme: theme2 }) => ({
308
+ borderColor: theme2.palette.primary.main
300
309
  }),
301
- outlinedSecondary: ({ theme: o }) => ({
302
- borderColor: o.palette.secondary.main
310
+ outlinedSecondary: ({ theme: theme2 }) => ({
311
+ borderColor: theme2.palette.secondary.main
303
312
  }),
304
313
  // Status colors
305
- colorSuccess: ({ theme: o }) => ({
314
+ colorSuccess: ({ theme: theme2 }) => ({
306
315
  "&.MuiChip-outlined": {
307
- color: o.palette.success.dark,
308
- borderColor: o.palette.success.main
316
+ color: theme2.palette.success.dark,
317
+ borderColor: theme2.palette.success.main
309
318
  },
310
319
  "&.MuiChip-filled": {
311
- color: o.palette.success.dark,
312
- backgroundColor: o.palette.success.relatedLight
320
+ color: theme2.palette.success.dark,
321
+ backgroundColor: theme2.palette.success.relatedLight
313
322
  },
314
323
  "& .MuiChip-icon": {
315
- color: o.palette.success.main
324
+ color: theme2.palette.success.main
316
325
  }
317
326
  }),
318
- colorInfo: ({ theme: o }) => ({
327
+ colorInfo: ({ theme: theme2 }) => ({
319
328
  "&.MuiChip-outlined": {
320
- color: o.palette.primary.dark,
321
- borderColor: o.palette.primary.main
329
+ color: theme2.palette.primary.dark,
330
+ borderColor: theme2.palette.primary.main
322
331
  },
323
332
  "&.MuiChip-filled": {
324
- color: o.palette.primary.dark,
325
- backgroundColor: o.palette.primary.relatedLight
333
+ color: theme2.palette.primary.dark,
334
+ backgroundColor: theme2.palette.primary.relatedLight
326
335
  },
327
336
  "& .MuiChip-icon": {
328
- color: o.palette.info.main
337
+ color: theme2.palette.info.main
329
338
  }
330
339
  }),
331
- colorError: ({ theme: o }) => ({
340
+ colorError: ({ theme: theme2 }) => ({
332
341
  "&.MuiChip-outlined": {
333
- color: o.palette.error.dark,
334
- borderColor: o.palette.error.main
342
+ color: theme2.palette.error.dark,
343
+ borderColor: theme2.palette.error.main
335
344
  },
336
345
  "&.MuiChip-filled": {
337
- color: o.palette.error.dark,
338
- backgroundColor: o.palette.error.relatedLight
346
+ color: theme2.palette.error.dark,
347
+ backgroundColor: theme2.palette.error.relatedLight
339
348
  },
340
349
  "& .MuiChip-icon": {
341
- color: o.palette.error.main
350
+ color: theme2.palette.error.main
342
351
  }
343
352
  }),
344
- colorWarning: ({ theme: o }) => ({
353
+ colorWarning: ({ theme: theme2 }) => ({
345
354
  "&.MuiChip-outlined": {
346
- color: o.palette.warning.relatedDark,
347
- borderColor: o.palette.warning.main
355
+ color: theme2.palette.warning.relatedDark,
356
+ borderColor: theme2.palette.warning.main
348
357
  },
349
358
  "&.MuiChip-filled": {
350
- color: o.palette.warning.relatedDark,
351
- backgroundColor: o.palette.warning.relatedLight
359
+ color: theme2.palette.warning.relatedDark,
360
+ backgroundColor: theme2.palette.warning.relatedLight
352
361
  },
353
362
  "& .MuiChip-icon": {
354
- color: o.palette.warning.main
363
+ color: theme2.palette.warning.main
355
364
  }
356
365
  }),
357
366
  // Sizes
358
- sizeSmall: ({ theme: o }) => ({
367
+ sizeSmall: ({ theme: theme2 }) => ({
359
368
  "& img": {
360
- width: r,
361
- minWidth: r,
362
- height: r
369
+ width: ICON_SIZE_MEDIUM,
370
+ minWidth: ICON_SIZE_MEDIUM,
371
+ height: ICON_SIZE_MEDIUM
363
372
  },
364
373
  "& .MuiAvatar-root": {
365
- width: r,
366
- minWidth: r,
367
- height: r
374
+ width: ICON_SIZE_MEDIUM,
375
+ minWidth: ICON_SIZE_MEDIUM,
376
+ height: ICON_SIZE_MEDIUM
368
377
  },
369
378
  "& .MuiChip-icon": {
370
- marginLeft: o.spacing(0.25)
379
+ marginLeft: theme2.spacing(0.25)
371
380
  }
372
381
  }),
373
382
  // Inner elements
374
- label: ({ theme: o }) => ({
375
- ...o.typography.button,
376
- padding: o.spacing(0, 0.75)
383
+ label: ({ theme: theme2 }) => ({
384
+ ...theme2.typography.button,
385
+ padding: theme2.spacing(0, 0.75)
377
386
  }),
378
- labelSmall: ({ theme: o }) => ({
379
- ...o.typography.caption,
387
+ labelSmall: ({ theme: theme2 }) => ({
388
+ ...theme2.typography.caption,
380
389
  fontWeight: 500,
381
- padding: o.spacing(0, 0.5)
390
+ padding: theme2.spacing(0, 0.5)
382
391
  }),
383
392
  deleteIcon: () => ({
384
- width: r,
385
- height: r,
393
+ width: ICON_SIZE_MEDIUM,
394
+ height: ICON_SIZE_MEDIUM,
386
395
  margin: 0,
387
396
  marginLeft: "2px",
388
397
  // Forced to a non-standard value to meet with design
@@ -390,12 +399,12 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
390
399
  // Forced to a non-standard value to meet with design
391
400
  transition: "color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"
392
401
  }),
393
- deleteIconSmall: ({ theme: o }) => ({
394
- width: o.spacing(2),
395
- height: o.spacing(2),
402
+ deleteIconSmall: ({ theme: theme2 }) => ({
403
+ width: theme2.spacing(2),
404
+ height: theme2.spacing(2),
396
405
  marginRight: 0
397
406
  }),
398
- clickable: ({ theme: o }) => ({
407
+ clickable: ({ theme: theme2 }) => ({
399
408
  "&:active": {
400
409
  boxShadow: "none"
401
410
  },
@@ -406,53 +415,53 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
406
415
  "&:hover": {
407
416
  backgroundColor: "transparent",
408
417
  "&.MuiChip-colorPrimary": {
409
- color: o.palette.primary.dark,
410
- borderColor: o.palette.primary.dark
418
+ color: theme2.palette.primary.dark,
419
+ borderColor: theme2.palette.primary.dark
411
420
  },
412
421
  "&.MuiChip-colorSecondary": {
413
- color: o.palette.secondary.dark,
414
- borderColor: o.palette.secondary.dark
422
+ color: theme2.palette.secondary.dark,
423
+ borderColor: theme2.palette.secondary.dark
415
424
  },
416
425
  "&.MuiChip-colorDefault": {
417
- borderColor: o.palette.default.dark
426
+ borderColor: theme2.palette.default.dark
418
427
  },
419
428
  "&.MuiChip-colorSuccess": {
420
- color: o.palette.success.dark,
421
- borderColor: o.palette.success.dark
429
+ color: theme2.palette.success.dark,
430
+ borderColor: theme2.palette.success.dark
422
431
  },
423
432
  "&.MuiChip-colorInfo": {
424
- color: o.palette.info.dark,
425
- borderColor: o.palette.info.dark
433
+ color: theme2.palette.info.dark,
434
+ borderColor: theme2.palette.info.dark
426
435
  },
427
436
  "&.MuiChip-colorError": {
428
- color: o.palette.error.dark,
429
- borderColor: o.palette.error.dark
437
+ color: theme2.palette.error.dark,
438
+ borderColor: theme2.palette.error.dark
430
439
  },
431
440
  "&.MuiChip-colorWarning": {
432
- color: o.palette.warning.dark,
433
- borderColor: o.palette.warning.dark
441
+ color: theme2.palette.warning.dark,
442
+ borderColor: theme2.palette.warning.dark
434
443
  }
435
444
  }
436
445
  },
437
446
  "&.MuiChip-filled": {
438
447
  "&:hover": {
439
448
  "&.MuiChip-colorSecondary": {
440
- backgroundColor: o.palette.secondary.light
449
+ backgroundColor: theme2.palette.secondary.light
441
450
  },
442
451
  "&.MuiChip-colorDefault": {
443
- backgroundColor: o.palette.default.dark
452
+ backgroundColor: theme2.palette.default.dark
444
453
  },
445
454
  "&.MuiChip-colorSuccess": {
446
- backgroundColor: x(o.palette.success.main, 0.25)
455
+ backgroundColor: alpha(theme2.palette.success.main, 0.25)
447
456
  },
448
457
  "&.MuiChip-colorInfo": {
449
- backgroundColor: x(o.palette.info.main, 0.12)
458
+ backgroundColor: alpha(theme2.palette.info.main, 0.12)
450
459
  },
451
460
  "&.MuiChip-colorError": {
452
- backgroundColor: x(o.palette.error.main, 0.12)
461
+ backgroundColor: alpha(theme2.palette.error.main, 0.12)
453
462
  },
454
463
  "&.MuiChip-colorWarning": {
455
- backgroundColor: x(o.palette.warning.main, 0.25)
464
+ backgroundColor: alpha(theme2.palette.warning.main, 0.25)
456
465
  }
457
466
  }
458
467
  }
@@ -462,31 +471,31 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
462
471
  // Avatar
463
472
  MuiAvatar: {
464
473
  styleOverrides: {
465
- root: ({ theme: o }) => ({
474
+ root: ({ theme: theme2 }) => ({
466
475
  overflow: "initial",
467
- color: o.palette.secondary.contrastText,
468
- backgroundColor: o.palette.secondary.main,
476
+ color: theme2.palette.secondary.contrastText,
477
+ backgroundColor: theme2.palette.secondary.main,
469
478
  // Default fallback image override
470
479
  // https://github.com/mui/material-ui/issues/33229
471
480
  "& .MuiAvatar-fallback": {
472
481
  path: {
473
- d: `path('${bo}') !important`
482
+ d: `path('${avatarFallbackImage}') !important`
474
483
  }
475
484
  }
476
485
  }),
477
- img: ({ theme: o }) => ({
478
- boxShadow: `0 0 0 1px ${o.palette.default.outlinedBorder}`
486
+ img: ({ theme: theme2 }) => ({
487
+ boxShadow: `0 0 0 1px ${theme2.palette.default.outlinedBorder}`
479
488
  }),
480
489
  circular: () => ({
481
- borderRadius: H,
490
+ borderRadius: avatarCircularRadius,
482
491
  "& img": {
483
- borderRadius: H
492
+ borderRadius: avatarCircularRadius
484
493
  }
485
494
  }),
486
- rounded: ({ theme: o }) => ({
487
- borderRadius: o.spacing(D),
495
+ rounded: ({ theme: theme2 }) => ({
496
+ borderRadius: theme2.spacing(avatarRoundedRadius),
488
497
  "& img": {
489
- borderRadius: o.spacing(D)
498
+ borderRadius: theme2.spacing(avatarRoundedRadius)
490
499
  }
491
500
  })
492
501
  }
@@ -512,30 +521,36 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
512
521
  MuiSvgIcon: {
513
522
  styleOverrides: {
514
523
  root: () => ({
515
- fontSize: r
524
+ fontSize: ICON_SIZE_MEDIUM
516
525
  }),
517
526
  fontSizeSmall: () => ({
518
- fontSize: u
527
+ fontSize: ICON_SIZE_SMALL
519
528
  }),
520
529
  fontSizeLarge: () => ({
521
- fontSize: e
530
+ fontSize: ICON_SIZE_LARGE
522
531
  })
523
532
  }
524
533
  }
525
- }, F = t(2), l = t(3), n = t(4), d = t(6), E = t(0.5), yo = {
534
+ };
535
+ const sizeXsmall = getSpacing(2);
536
+ const sizeSmall = getSpacing(3);
537
+ const sizeMedium = getSpacing(4);
538
+ const sizeLarge = getSpacing(6);
539
+ const radius = getSpacing(0.5);
540
+ const buttonsOverrides = {
526
541
  // Button Base
527
542
  MuiButtonBase: {
528
543
  defaultProps: {
529
- disableRipple: !0
544
+ disableRipple: true
530
545
  },
531
546
  styleOverrides: {
532
547
  root: () => ({
533
548
  "& .MuiSvgIcon-root, & svg": {
534
549
  display: "flex",
535
- fontSize: r,
536
- width: r,
537
- minWidth: r,
538
- height: r
550
+ fontSize: ICON_SIZE_MEDIUM,
551
+ width: ICON_SIZE_MEDIUM,
552
+ minWidth: ICON_SIZE_MEDIUM,
553
+ height: ICON_SIZE_MEDIUM
539
554
  }
540
555
  })
541
556
  }
@@ -543,26 +558,26 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
543
558
  // Button
544
559
  MuiButton: {
545
560
  defaultProps: {
546
- disableElevation: !0
561
+ disableElevation: true
547
562
  },
548
563
  styleOverrides: {
549
- root: ({ ownerState: o, theme: i }) => ({
564
+ root: ({ ownerState, theme: theme2 }) => ({
550
565
  // maxWidth: '192px', TODO temporary disabled waiting for a design definition
551
566
  "&:hover, &:focus-visible": {
552
- boxShadow: i.shadows[0],
553
- ...o.variant !== "contained" && {
554
- ...o.color === "primary" && {
555
- backgroundColor: i.palette.primary.background
567
+ boxShadow: theme2.shadows[0],
568
+ ...ownerState.variant !== "contained" && {
569
+ ...ownerState.color === "primary" && {
570
+ backgroundColor: theme2.palette.primary.background
556
571
  },
557
- ...o.color === "secondary" && {
558
- backgroundColor: i.palette.secondary.background
572
+ ...ownerState.color === "secondary" && {
573
+ backgroundColor: theme2.palette.secondary.background
559
574
  },
560
- ...o.color === "error" && {
561
- background: i.palette.error.relatedLight
575
+ ...ownerState.color === "error" && {
576
+ background: theme2.palette.error.relatedLight
562
577
  }
563
578
  },
564
- ...o.variant === "contained" && o.color === "secondary" && {
565
- backgroundColor: i.palette.secondary.light
579
+ ...ownerState.variant === "contained" && ownerState.color === "secondary" && {
580
+ backgroundColor: theme2.palette.secondary.light
566
581
  }
567
582
  },
568
583
  "& svg:not(.doNotFillIcon) path": {
@@ -570,98 +585,98 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
570
585
  },
571
586
  // Pairing buttons separation
572
587
  "& + .MuiButtonBase-root": {
573
- marginLeft: i.spacing(1)
588
+ marginLeft: theme2.spacing(1)
574
589
  }
575
590
  }),
576
- contained: ({ theme: o }) => ({
591
+ contained: ({ theme: theme2 }) => ({
577
592
  boxShadow: "none",
578
593
  "&.Mui-disabled": {
579
- color: o.palette.text.disabled,
580
- backgroundColor: o.palette.action.disabledBackground
594
+ color: theme2.palette.text.disabled,
595
+ backgroundColor: theme2.palette.action.disabledBackground
581
596
  }
582
597
  }),
583
- text: ({ theme: o }) => ({
584
- minWidth: o.spacing(7)
598
+ text: ({ theme: theme2 }) => ({
599
+ minWidth: theme2.spacing(7)
585
600
  }),
586
- outlined: ({ theme: o }) => ({
601
+ outlined: ({ theme: theme2 }) => ({
587
602
  "&.Mui-disabled": {
588
- color: o.palette.text.disabled,
589
- borderColor: o.palette.default.outlinedBorder
603
+ color: theme2.palette.text.disabled,
604
+ borderColor: theme2.palette.default.outlinedBorder
590
605
  }
591
606
  }),
592
- outlinedPrimary: ({ theme: o }) => ({
593
- borderColor: o.palette.primary.main
607
+ outlinedPrimary: ({ theme: theme2 }) => ({
608
+ borderColor: theme2.palette.primary.main
594
609
  }),
595
- outlinedSecondary: ({ theme: o }) => ({
596
- borderColor: o.palette.secondary.main
610
+ outlinedSecondary: ({ theme: theme2 }) => ({
611
+ borderColor: theme2.palette.secondary.main
597
612
  }),
598
- outlinedError: ({ theme: o }) => ({
599
- borderColor: o.palette.error.main
613
+ outlinedError: ({ theme: theme2 }) => ({
614
+ borderColor: theme2.palette.error.main
600
615
  }),
601
- containedPrimary: ({ theme: o }) => ({
616
+ containedPrimary: ({ theme: theme2 }) => ({
602
617
  "&:hover, &:focus-visible": {
603
- backgroundColor: o.palette.primary.dark
618
+ backgroundColor: theme2.palette.primary.dark
604
619
  }
605
620
  }),
606
- containedError: ({ theme: o }) => ({
621
+ containedError: ({ theme: theme2 }) => ({
607
622
  "&:hover, &:focus-visible": {
608
- backgroundColor: o.palette.error.dark
623
+ backgroundColor: theme2.palette.error.dark
609
624
  }
610
625
  }),
611
- startIcon: ({ theme: o }) => ({
612
- marginRight: o.spacing(0.75),
626
+ startIcon: ({ theme: theme2 }) => ({
627
+ marginRight: theme2.spacing(0.75),
613
628
  "& .MuiSvgIcon-root, & svg": {
614
- fontSize: r,
615
- width: r,
616
- minWidth: r,
617
- height: r
629
+ fontSize: ICON_SIZE_MEDIUM,
630
+ width: ICON_SIZE_MEDIUM,
631
+ minWidth: ICON_SIZE_MEDIUM,
632
+ height: ICON_SIZE_MEDIUM
618
633
  },
619
634
  "&.MuiButton-iconSizeSmall": {
620
- marginRight: o.spacing(0.5),
621
- marginLeft: o.spacing(-0.5)
635
+ marginRight: theme2.spacing(0.5),
636
+ marginLeft: theme2.spacing(-0.5)
622
637
  }
623
638
  }),
624
- endIcon: ({ theme: o }) => ({
625
- marginLeft: o.spacing(0.75),
639
+ endIcon: ({ theme: theme2 }) => ({
640
+ marginLeft: theme2.spacing(0.75),
626
641
  "& .MuiSvgIcon-root, & svg": {
627
- fontSize: r,
628
- width: r,
629
- minWidth: r,
630
- height: r
642
+ fontSize: ICON_SIZE_MEDIUM,
643
+ width: ICON_SIZE_MEDIUM,
644
+ minWidth: ICON_SIZE_MEDIUM,
645
+ height: ICON_SIZE_MEDIUM
631
646
  },
632
647
  "&.MuiButton-iconSizeSmall": {
633
- marginLeft: o.spacing(0.5),
634
- marginRight: o.spacing(-0.5)
648
+ marginLeft: theme2.spacing(0.5),
649
+ marginRight: theme2.spacing(-0.5)
635
650
  }
636
651
  }),
637
- sizeSmall: ({ theme: o, ownerState: i }) => ({
638
- height: l,
639
- padding: o.spacing(0, 1.5),
640
- ...o.typography.caption,
641
- lineHeight: l,
652
+ sizeSmall: ({ theme: theme2, ownerState }) => ({
653
+ height: sizeSmall,
654
+ padding: theme2.spacing(0, 1.5),
655
+ ...theme2.typography.caption,
656
+ lineHeight: sizeSmall,
642
657
  fontWeight: 500,
643
658
  letterSpacing: "0.4px",
644
- ...i.variant === "text" && {
645
- padding: o.spacing(0, 1)
659
+ ...ownerState.variant === "text" && {
660
+ padding: theme2.spacing(0, 1)
646
661
  }
647
662
  }),
648
- sizeMedium: ({ theme: o, ownerState: i }) => ({
649
- height: n,
650
- padding: o.spacing(0, 2),
651
- lineHeight: n,
652
- ...i.variant === "text" && {
653
- padding: o.spacing(0, 1)
663
+ sizeMedium: ({ theme: theme2, ownerState }) => ({
664
+ height: sizeMedium,
665
+ padding: theme2.spacing(0, 2),
666
+ lineHeight: sizeMedium,
667
+ ...ownerState.variant === "text" && {
668
+ padding: theme2.spacing(0, 1)
654
669
  }
655
670
  }),
656
- sizeLarge: ({ theme: o, ownerState: i }) => ({
657
- height: d,
658
- padding: o.spacing(0, 2.5),
659
- ...o.typography.body1,
660
- lineHeight: d,
671
+ sizeLarge: ({ theme: theme2, ownerState }) => ({
672
+ height: sizeLarge,
673
+ padding: theme2.spacing(0, 2.5),
674
+ ...theme2.typography.body1,
675
+ lineHeight: sizeLarge,
661
676
  fontWeight: 500,
662
677
  letterSpacing: "0.25px",
663
- ...i.variant === "text" && {
664
- padding: o.spacing(0, 2)
678
+ ...ownerState.variant === "text" && {
679
+ padding: theme2.spacing(0, 2)
665
680
  }
666
681
  })
667
682
  },
@@ -669,43 +684,43 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
669
684
  // Custom color and its variants
670
685
  {
671
686
  props: { variant: "contained", color: "default" },
672
- style: ({ theme: o }) => ({
673
- color: o.palette.text.primary,
674
- backgroundColor: o.palette.default.main,
675
- borderColor: o.palette.text.primary,
687
+ style: ({ theme: theme2 }) => ({
688
+ color: theme2.palette.text.primary,
689
+ backgroundColor: theme2.palette.default.main,
690
+ borderColor: theme2.palette.text.primary,
676
691
  "&.Mui-disabled": {
677
- color: o.palette.text.disabled,
678
- backgroundColor: o.palette.action.disabledBackground
692
+ color: theme2.palette.text.disabled,
693
+ backgroundColor: theme2.palette.action.disabledBackground
679
694
  },
680
695
  "&:hover, &:focus-visible": {
681
- backgroundColor: o.palette.default.dark
696
+ backgroundColor: theme2.palette.default.dark
682
697
  }
683
698
  })
684
699
  },
685
700
  {
686
701
  props: { variant: "outlined", color: "default" },
687
- style: ({ theme: o }) => ({
688
- color: o.palette.text.primary,
689
- borderColor: o.palette.text.primary,
702
+ style: ({ theme: theme2 }) => ({
703
+ color: theme2.palette.text.primary,
704
+ borderColor: theme2.palette.text.primary,
690
705
  "&.Mui-disabled": {
691
- color: o.palette.text.disabled,
692
- borderColor: o.palette.default.outlinedBorder
706
+ color: theme2.palette.text.disabled,
707
+ borderColor: theme2.palette.default.outlinedBorder
693
708
  },
694
709
  "&:hover, &:focus-visible": {
695
- backgroundColor: o.palette.action.hover,
696
- borderColor: o.palette.text.primary
710
+ backgroundColor: theme2.palette.action.hover,
711
+ borderColor: theme2.palette.text.primary
697
712
  }
698
713
  })
699
714
  },
700
715
  {
701
716
  props: { variant: "text", color: "default" },
702
- style: ({ theme: o }) => ({
703
- color: o.palette.text.primary,
717
+ style: ({ theme: theme2 }) => ({
718
+ color: theme2.palette.text.primary,
704
719
  "&.Mui-disabled": {
705
- color: o.palette.text.disabled
720
+ color: theme2.palette.text.disabled
706
721
  },
707
722
  "&:hover, &:focus-visible": {
708
- backgroundColor: o.palette.action.hover
723
+ backgroundColor: theme2.palette.action.hover
709
724
  }
710
725
  })
711
726
  }
@@ -714,50 +729,50 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
714
729
  // Mui Button Group
715
730
  MuiButtonGroup: {
716
731
  defaultProps: {
717
- disableRipple: !0,
718
- disableElevation: !0
732
+ disableRipple: true,
733
+ disableElevation: true
719
734
  },
720
735
  styleOverrides: {
721
- root: ({ ownerState: o, theme: i }) => ({
736
+ root: ({ ownerState, theme: theme2 }) => ({
722
737
  "& .MuiButton-root + .MuiButton-root": {
723
738
  marginLeft: 0
724
739
  },
725
- ...o.variant === "text" && {
726
- boxShadow: i.shadows[1],
727
- borderColor: i.palette.default.dark,
740
+ ...ownerState.variant === "text" && {
741
+ boxShadow: theme2.shadows[1],
742
+ borderColor: theme2.palette.default.dark,
728
743
  "& .MuiButtonGroup-grouped:not(:last-of-type)": {
729
- borderColor: i.palette.default.dark
744
+ borderColor: theme2.palette.default.dark
730
745
  }
731
746
  },
732
- ...o.variant === "outlined" && {
733
- ...o.color === "default" && {
747
+ ...ownerState.variant === "outlined" && {
748
+ ...ownerState.color === "default" && {
734
749
  "& .MuiButtonBase-root.Mui-disabled": {
735
- borderColor: i.palette.text.primary
750
+ borderColor: theme2.palette.text.primary
736
751
  }
737
752
  },
738
- ...o.color === "primary" && {
753
+ ...ownerState.color === "primary" && {
739
754
  "& .MuiButtonBase-root.Mui-disabled": {
740
- borderColor: i.palette.primary.main
755
+ borderColor: theme2.palette.primary.main
741
756
  }
742
757
  },
743
- ...o.color === "secondary" && {
758
+ ...ownerState.color === "secondary" && {
744
759
  "& .MuiButtonBase-root.Mui-disabled": {
745
- borderColor: i.palette.secondary.main
760
+ borderColor: theme2.palette.secondary.main
746
761
  }
747
762
  },
748
- ...o.orientation !== "vertical" && {
763
+ ...ownerState.orientation !== "vertical" && {
749
764
  "& .MuiButtonGroup-grouped:not(:last-of-type):hover, & .Mui-disabled:not(:last-of-type)": {
750
765
  borderRightColor: "transparent"
751
766
  }
752
767
  }
753
768
  },
754
- ...o.variant === "contained" && {
755
- ...o.color === "default" && {
769
+ ...ownerState.variant === "contained" && {
770
+ ...ownerState.color === "default" && {
756
771
  "& .MuiButtonGroup-grouped:not(:last-of-type)": {
757
- borderRightColor: i.palette.default.dark,
772
+ borderRightColor: theme2.palette.default.dark,
758
773
  "&.Mui-disabled": {
759
- ...o.color === "default" && {
760
- borderColor: i.palette.default.dark
774
+ ...ownerState.color === "default" && {
775
+ borderColor: theme2.palette.default.dark
761
776
  }
762
777
  }
763
778
  }
@@ -769,18 +784,18 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
769
784
  // Icon Button
770
785
  MuiIconButton: {
771
786
  styleOverrides: {
772
- root: ({ ownerState: o, theme: i }) => ({
787
+ root: ({ ownerState, theme: theme2 }) => ({
773
788
  position: "relative",
774
789
  overflow: "hidden",
775
- borderRadius: i.spacing(0.5),
776
- ...o.color === "default" && {
777
- color: i.palette.text.secondary
790
+ borderRadius: theme2.spacing(0.5),
791
+ ...ownerState.color === "default" && {
792
+ color: theme2.palette.text.secondary
778
793
  },
779
794
  "& .MuiSvgIcon-root, & svg": {
780
- fontSize: r,
781
- width: r,
782
- minWidth: r,
783
- height: r
795
+ fontSize: ICON_SIZE_MEDIUM,
796
+ width: ICON_SIZE_MEDIUM,
797
+ minWidth: ICON_SIZE_MEDIUM,
798
+ height: ICON_SIZE_MEDIUM
784
799
  },
785
800
  "& svg": {
786
801
  fill: "currentColor",
@@ -792,37 +807,37 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
792
807
  fill: "currentColor"
793
808
  },
794
809
  "&.Mui-disabled svg:not(.doNotFillIcon) path": {
795
- fill: i.palette.text.disabled
810
+ fill: theme2.palette.text.disabled
796
811
  },
797
812
  "&:hover, &:focus-visible": {
798
- ...o.color === "default" && {
799
- backgroundColor: i.palette.action.hover
813
+ ...ownerState.color === "default" && {
814
+ backgroundColor: theme2.palette.action.hover
800
815
  },
801
- ...o.color === "primary" && {
802
- backgroundColor: i.palette.primary.background
816
+ ...ownerState.color === "primary" && {
817
+ backgroundColor: theme2.palette.primary.background
803
818
  },
804
- ...o.color === "secondary" && {
805
- backgroundColor: i.palette.secondary.background
819
+ ...ownerState.color === "secondary" && {
820
+ backgroundColor: theme2.palette.secondary.background
806
821
  },
807
- ...o.color === "error" && {
808
- backgroundColor: i.palette.error.relatedLight
822
+ ...ownerState.color === "error" && {
823
+ backgroundColor: theme2.palette.error.relatedLight
809
824
  },
810
- ...o.color === "warning" && {
811
- backgroundColor: i.palette.warning.relatedLight
825
+ ...ownerState.color === "warning" && {
826
+ backgroundColor: theme2.palette.warning.relatedLight
812
827
  }
813
828
  }
814
829
  }),
815
830
  sizeSmall: () => ({
816
- width: l,
817
- height: l
831
+ width: sizeSmall,
832
+ height: sizeSmall
818
833
  }),
819
834
  sizeMedium: () => ({
820
- width: n,
821
- height: n
835
+ width: sizeMedium,
836
+ height: sizeMedium
822
837
  }),
823
838
  sizeLarge: () => ({
824
- width: d,
825
- height: d
839
+ width: sizeLarge,
840
+ height: sizeLarge
826
841
  })
827
842
  },
828
843
  variants: [
@@ -830,99 +845,99 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
830
845
  {
831
846
  props: { size: "xsmall" },
832
847
  style: () => ({
833
- width: F,
834
- height: F,
848
+ width: sizeXsmall,
849
+ height: sizeXsmall,
835
850
  "& .MuiSvgIcon-root, & svg": {
836
- fontSize: u,
837
- width: u,
838
- minWidth: u,
839
- height: u
851
+ fontSize: ICON_SIZE_SMALL,
852
+ width: ICON_SIZE_SMALL,
853
+ minWidth: ICON_SIZE_SMALL,
854
+ height: ICON_SIZE_SMALL
840
855
  }
841
856
  })
842
857
  },
843
858
  {
844
859
  props: { variant: "contained" },
845
- style: ({ theme: o }) => ({
860
+ style: ({ theme: theme2 }) => ({
846
861
  // Default
847
- color: o.palette.text.primary,
848
- backgroundColor: o.palette.default.main,
862
+ color: theme2.palette.text.primary,
863
+ backgroundColor: theme2.palette.default.main,
849
864
  "&:hover": {
850
- backgroundColor: o.palette.default.dark
865
+ backgroundColor: theme2.palette.default.dark
851
866
  },
852
867
  "&.MuiIconButton-colorSecondary": {
853
- color: o.palette.secondary.contrastText,
854
- backgroundColor: o.palette.secondary.main,
868
+ color: theme2.palette.secondary.contrastText,
869
+ backgroundColor: theme2.palette.secondary.main,
855
870
  "&:hover": {
856
- backgroundColor: o.palette.secondary.light
871
+ backgroundColor: theme2.palette.secondary.light
857
872
  }
858
873
  },
859
874
  "&.MuiIconButton-colorPrimary": {
860
- color: o.palette.primary.contrastText,
861
- backgroundColor: o.palette.primary.main,
875
+ color: theme2.palette.primary.contrastText,
876
+ backgroundColor: theme2.palette.primary.main,
862
877
  "&:hover": {
863
- backgroundColor: o.palette.primary.dark
878
+ backgroundColor: theme2.palette.primary.dark
864
879
  }
865
880
  },
866
881
  "&.MuiIconButton-colorError": {
867
- color: o.palette.error.contrastText,
868
- backgroundColor: o.palette.error.main,
882
+ color: theme2.palette.error.contrastText,
883
+ backgroundColor: theme2.palette.error.main,
869
884
  "&:hover": {
870
- backgroundColor: o.palette.error.dark
885
+ backgroundColor: theme2.palette.error.dark
871
886
  }
872
887
  },
873
888
  "&.MuiIconButton-colorWarning": {
874
- color: o.palette.warning.contrastText,
875
- backgroundColor: o.palette.warning.main,
889
+ color: theme2.palette.warning.contrastText,
890
+ backgroundColor: theme2.palette.warning.main,
876
891
  "&:hover": {
877
- backgroundColor: o.palette.warning.light
892
+ backgroundColor: theme2.palette.warning.light
878
893
  }
879
894
  },
880
895
  "&[disabled]": {
881
- color: o.palette.text.disabled,
882
- backgroundColor: o.palette.action.disabledBackground
896
+ color: theme2.palette.text.disabled,
897
+ backgroundColor: theme2.palette.action.disabledBackground
883
898
  }
884
899
  })
885
900
  },
886
901
  {
887
902
  props: { variant: "outlined" },
888
- style: ({ theme: o }) => ({
903
+ style: ({ theme: theme2 }) => ({
889
904
  // Default
890
- color: o.palette.text.primary,
891
- border: `1px solid ${o.palette.text.primary}`,
905
+ color: theme2.palette.text.primary,
906
+ border: `1px solid ${theme2.palette.text.primary}`,
892
907
  "&:hover": {
893
- backgroundColor: o.palette.action.hover
908
+ backgroundColor: theme2.palette.action.hover
894
909
  },
895
910
  "&.MuiIconButton-colorSecondary": {
896
- color: o.palette.secondary.main,
897
- borderColor: o.palette.secondary.main,
911
+ color: theme2.palette.secondary.main,
912
+ borderColor: theme2.palette.secondary.main,
898
913
  "&:hover": {
899
- backgroundColor: o.palette.secondary.background
914
+ backgroundColor: theme2.palette.secondary.background
900
915
  }
901
916
  },
902
917
  "&.MuiIconButton-colorPrimary": {
903
- color: o.palette.primary.main,
904
- borderColor: o.palette.primary.main,
918
+ color: theme2.palette.primary.main,
919
+ borderColor: theme2.palette.primary.main,
905
920
  "&:hover": {
906
- backgroundColor: o.palette.primary.background
921
+ backgroundColor: theme2.palette.primary.background
907
922
  }
908
923
  },
909
924
  "&.MuiIconButton-colorError": {
910
- color: o.palette.error.main,
911
- borderColor: o.palette.error.main,
925
+ color: theme2.palette.error.main,
926
+ borderColor: theme2.palette.error.main,
912
927
  "&:hover": {
913
- backgroundColor: o.palette.error.relatedLight
928
+ backgroundColor: theme2.palette.error.relatedLight
914
929
  }
915
930
  },
916
931
  "&.MuiIconButton-colorWarning": {
917
- color: o.palette.warning.main,
918
- borderColor: o.palette.warning.main,
932
+ color: theme2.palette.warning.main,
933
+ borderColor: theme2.palette.warning.main,
919
934
  "&:hover": {
920
- backgroundColor: o.palette.warning.relatedLight
935
+ backgroundColor: theme2.palette.warning.relatedLight
921
936
  }
922
937
  },
923
938
  "&[disabled]": {
924
- color: o.palette.text.disabled,
925
- borderColor: o.palette.default.outlinedBorder
939
+ color: theme2.palette.text.disabled,
940
+ borderColor: theme2.palette.default.outlinedBorder
926
941
  }
927
942
  })
928
943
  }
@@ -931,44 +946,44 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
931
946
  // MuiToggleButton
932
947
  MuiToggleButton: {
933
948
  styleOverrides: {
934
- root: ({ theme: o }) => ({
935
- minWidth: n,
936
- height: n,
937
- padding: o.spacing(0, 1),
938
- color: o.palette.text.secondary,
949
+ root: ({ theme: theme2 }) => ({
950
+ minWidth: sizeMedium,
951
+ height: sizeMedium,
952
+ padding: theme2.spacing(0, 1),
953
+ color: theme2.palette.text.secondary,
939
954
  border: "none",
940
- borderRadius: E,
955
+ borderRadius: radius,
941
956
  transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
942
957
  "&:hover": {
943
- backgroundColor: o.palette.action.hover
958
+ backgroundColor: theme2.palette.action.hover
944
959
  },
945
960
  // Pairing buttons separation
946
961
  "& + &": {
947
- marginLeft: o.spacing(0.5)
962
+ marginLeft: theme2.spacing(0.5)
948
963
  },
949
964
  ".MuiSvgIcon-root, & svg": {
950
- margin: o.spacing(0, -0.75)
965
+ margin: theme2.spacing(0, -0.75)
951
966
  },
952
967
  "&.Mui-selected": {
953
- color: o.palette.primary.main,
954
- backgroundColor: o.palette.primary.background,
968
+ color: theme2.palette.primary.main,
969
+ backgroundColor: theme2.palette.primary.background,
955
970
  "&:hover": {
956
- backgroundColor: o.palette.action.hover
971
+ backgroundColor: theme2.palette.action.hover
957
972
  }
958
973
  },
959
974
  "&.Mui-disabled": {
960
975
  border: "none"
961
976
  }
962
977
  }),
963
- sizeLarge: ({ theme: o }) => ({
964
- minWidth: d,
965
- height: d,
966
- ...o.typography.body1
978
+ sizeLarge: ({ theme: theme2 }) => ({
979
+ minWidth: sizeLarge,
980
+ height: sizeLarge,
981
+ ...theme2.typography.body1
967
982
  }),
968
- sizeSmall: ({ theme: o }) => ({
969
- minWidth: l,
970
- height: l,
971
- ...o.typography.caption,
983
+ sizeSmall: ({ theme: theme2 }) => ({
984
+ minWidth: sizeSmall,
985
+ height: sizeSmall,
986
+ ...theme2.typography.caption,
972
987
  fontWeight: 500
973
988
  })
974
989
  }
@@ -977,81 +992,81 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
977
992
  MuiToggleButtonGroup: {
978
993
  defaultProps: {
979
994
  orientation: "horizontal",
980
- exclusive: !0
995
+ exclusive: true
981
996
  },
982
997
  styleOverrides: {
983
- root: ({ theme: o }) => ({
998
+ root: ({ theme: theme2 }) => ({
984
999
  alignItems: "center",
985
1000
  justifyContent: "center",
986
- borderRadius: o.spacing(1),
987
- boxShadow: o.shadows[1],
988
- backgroundColor: o.palette.background.paper,
1001
+ borderRadius: theme2.spacing(1),
1002
+ boxShadow: theme2.shadows[1],
1003
+ backgroundColor: theme2.palette.background.paper,
989
1004
  "& .MuiToggleButtonGroup-grouped:not(:first-of-type), &.Mui-Selected, & .MuiToggleButtonGroup-grouped:not(:last-of-type)": {
990
- borderRadius: E
1005
+ borderRadius: radius
991
1006
  },
992
1007
  ".MuiDivider-root": {
993
1008
  "&.MuiDivider-vertical": {
994
- height: d,
995
- margin: o.spacing(0, 1),
996
- marginLeft: o.spacing(0.5)
1009
+ height: sizeLarge,
1010
+ margin: theme2.spacing(0, 1),
1011
+ marginLeft: theme2.spacing(0.5)
997
1012
  },
998
1013
  "&.MuiDivider-horizontal": {
999
- width: d,
1000
- margin: o.spacing(1, 0),
1001
- marginTop: o.spacing(0.5)
1014
+ width: sizeLarge,
1015
+ margin: theme2.spacing(1, 0),
1016
+ marginTop: theme2.spacing(0.5)
1002
1017
  }
1003
1018
  },
1004
1019
  ".MuiToggleButton-sizeSmall": {
1005
1020
  "& + .MuiDivider-root.MuiDivider-vertical": {
1006
- height: n
1021
+ height: sizeMedium
1007
1022
  },
1008
1023
  "& + .MuiDivider-root.MuiDivider-horizontal": {
1009
- width: n
1024
+ width: sizeMedium
1010
1025
  }
1011
1026
  }
1012
1027
  }),
1013
1028
  // Styles applied to the children if orientation="horizontal"
1014
- groupedHorizontal: ({ theme: o }) => ({
1015
- height: n,
1016
- margin: o.spacing(1),
1029
+ groupedHorizontal: ({ theme: theme2 }) => ({
1030
+ height: sizeMedium,
1031
+ margin: theme2.spacing(1),
1017
1032
  "&:not(:last-of-type)": {
1018
- marginRight: o.spacing(0.5),
1033
+ marginRight: theme2.spacing(0.5),
1019
1034
  marginLeft: 0,
1020
1035
  borderLeft: "none"
1021
1036
  },
1022
1037
  "&:first-of-type:not(.MuiDivider-root)": {
1023
- marginLeft: o.spacing(1)
1038
+ marginLeft: theme2.spacing(1)
1024
1039
  },
1025
1040
  "&:last-of-type:not(.MuiDivider-root)": {
1026
1041
  marginLeft: 0
1027
1042
  },
1028
1043
  "&.MuiToggleButton-sizeSmall:not(.MuiDivider-root)": {
1029
- height: l,
1030
- margin: o.spacing(0.5),
1044
+ height: sizeSmall,
1045
+ margin: theme2.spacing(0.5),
1031
1046
  "&:not(:first-of-type)": {
1032
1047
  marginLeft: 0
1033
1048
  }
1034
1049
  }
1035
1050
  }),
1036
1051
  // Styles applied to the children if orientation="vertical"
1037
- groupedVertical: ({ theme: o }) => ({
1038
- width: n,
1039
- margin: o.spacing(1),
1052
+ groupedVertical: ({ theme: theme2 }) => ({
1053
+ width: sizeMedium,
1054
+ margin: theme2.spacing(1),
1040
1055
  "&.MuiToggleButton-root": {
1041
- marginLeft: o.spacing(1),
1042
- marginBottom: o.spacing(0.5),
1056
+ marginLeft: theme2.spacing(1),
1057
+ marginBottom: theme2.spacing(0.5),
1043
1058
  "&:last-of-type": {
1044
- marginBottom: o.spacing(1)
1059
+ marginBottom: theme2.spacing(1)
1045
1060
  },
1046
1061
  "&:not(:first-of-type)": {
1047
1062
  marginTop: 0
1048
1063
  }
1049
1064
  },
1050
1065
  "&.MuiToggleButton-sizeSmall": {
1051
- width: l,
1052
- margin: o.spacing(0.5),
1066
+ width: sizeSmall,
1067
+ margin: theme2.spacing(0.5),
1053
1068
  "&:last-of-type": {
1054
- marginBottom: o.spacing(0.5)
1069
+ marginBottom: theme2.spacing(0.5)
1055
1070
  }
1056
1071
  }
1057
1072
  })
@@ -1063,116 +1078,123 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1063
1078
  color: "primary"
1064
1079
  },
1065
1080
  styleOverrides: {
1066
- root: ({ ownerState: o, theme: i }) => ({
1081
+ root: ({ ownerState, theme: theme2 }) => ({
1067
1082
  "&:focus": {
1068
- boxShadow: i.shadows[6]
1083
+ boxShadow: theme2.shadows[6]
1069
1084
  },
1070
1085
  "& .MuiSvgIcon-root, & svg": {
1071
- fontSize: e,
1072
- width: e,
1073
- minWidth: e,
1074
- height: e
1086
+ fontSize: ICON_SIZE_LARGE,
1087
+ width: ICON_SIZE_LARGE,
1088
+ minWidth: ICON_SIZE_LARGE,
1089
+ height: ICON_SIZE_LARGE
1075
1090
  },
1076
1091
  "&.MuiFab-extended": {
1077
- ...i.typography.body1,
1092
+ ...theme2.typography.body1,
1078
1093
  fontWeight: 500,
1079
1094
  width: "auto",
1080
- height: i.spacing(7),
1081
- paddingRight: i.spacing(3),
1082
- borderRadius: i.spacing(8),
1095
+ height: theme2.spacing(7),
1096
+ paddingRight: theme2.spacing(3),
1097
+ borderRadius: theme2.spacing(8),
1083
1098
  "& .MuiSvgIcon-root": {
1084
- marginRight: i.spacing(1.5)
1099
+ marginRight: theme2.spacing(1.5)
1085
1100
  }
1086
1101
  },
1087
- ...o.color === "default" && {
1088
- color: i.palette.text.primary,
1089
- backgroundColor: i.palette.background.paper,
1102
+ ...ownerState.color === "default" && {
1103
+ color: theme2.palette.text.primary,
1104
+ backgroundColor: theme2.palette.background.paper,
1090
1105
  "&:hover, &:focus-visible": {
1091
- backgroundColor: i.palette.default.light
1106
+ backgroundColor: theme2.palette.default.light
1092
1107
  }
1093
1108
  }
1094
1109
  }),
1095
- sizeSmall: ({ theme: o }) => ({
1096
- width: o.spacing(4),
1097
- height: o.spacing(4),
1098
- minHeight: o.spacing(4),
1110
+ sizeSmall: ({ theme: theme2 }) => ({
1111
+ width: theme2.spacing(4),
1112
+ height: theme2.spacing(4),
1113
+ minHeight: theme2.spacing(4),
1099
1114
  "& .MuiSvgIcon-root, & svg": {
1100
- fontSize: r,
1101
- width: r,
1102
- minWidth: r,
1103
- height: r
1115
+ fontSize: ICON_SIZE_MEDIUM,
1116
+ width: ICON_SIZE_MEDIUM,
1117
+ minWidth: ICON_SIZE_MEDIUM,
1118
+ height: ICON_SIZE_MEDIUM
1104
1119
  },
1105
1120
  "&.MuiFab-extended": {
1106
- ...o.typography.caption,
1121
+ ...theme2.typography.caption,
1107
1122
  width: "auto",
1108
- height: o.spacing(4),
1109
- paddingRight: o.spacing(2),
1123
+ height: theme2.spacing(4),
1124
+ paddingRight: theme2.spacing(2),
1110
1125
  "& .MuiSvgIcon-root": {
1111
- marginRight: o.spacing(1)
1126
+ marginRight: theme2.spacing(1)
1112
1127
  }
1113
1128
  }
1114
1129
  }),
1115
- sizeMedium: ({ theme: o }) => ({
1130
+ sizeMedium: ({ theme: theme2 }) => ({
1116
1131
  "&.MuiFab-extended": {
1117
- ...o.typography.button,
1118
- height: o.spacing(6)
1132
+ ...theme2.typography.button,
1133
+ height: theme2.spacing(6)
1119
1134
  }
1120
1135
  }),
1121
- secondary: ({ theme: o }) => ({
1136
+ secondary: ({ theme: theme2 }) => ({
1122
1137
  "&:hover": {
1123
- backgroundColor: o.palette.secondary.light
1138
+ backgroundColor: theme2.palette.secondary.light
1124
1139
  }
1125
1140
  })
1126
1141
  }
1127
1142
  }
1128
- }, M = 2.25, f = 3, $ = 2, N = 3, G = 4, V = {
1129
- root: ({ ownerState: o, theme: i }) => ({
1130
- padding: i.spacing(0.5),
1131
- ...o.size === "small" && {
1143
+ };
1144
+ const controlSizeS = 2.25;
1145
+ const controlSizeM = 3;
1146
+ const switchSizeS = 2;
1147
+ const switchSizeM = 3;
1148
+ const switchSizeL = 4;
1149
+ const checkboxRadioOverrides = {
1150
+ root: ({ ownerState, theme: theme2 }) => ({
1151
+ padding: theme2.spacing(0.5),
1152
+ ...ownerState.size === "small" && {
1132
1153
  padding: "3px"
1133
1154
  // Forced to a non-standard value to meet with design
1134
1155
  },
1135
- ...o.readOnly === !0 && {
1156
+ ...ownerState.readOnly === true && {
1136
1157
  pointerEvents: "none",
1137
- color: i.palette.text.disabled,
1158
+ color: theme2.palette.text.disabled,
1138
1159
  "&.Mui-checked": {
1139
- color: i.palette.text.disabled
1160
+ color: theme2.palette.text.disabled
1140
1161
  }
1141
1162
  },
1142
1163
  "&:hover, &:focus-visible": {
1143
- backgroundColor: i.palette.primary.background
1164
+ backgroundColor: theme2.palette.primary.background
1144
1165
  },
1145
1166
  "& + .MuiFormControlLabel-label": {
1146
- ...i.typography.body2,
1147
- marginLeft: i.spacing(0.25),
1148
- ...o.size === "small" && {
1149
- marginLeft: i.spacing(0.5)
1167
+ ...theme2.typography.body2,
1168
+ marginLeft: theme2.spacing(0.25),
1169
+ ...ownerState.size === "small" && {
1170
+ marginLeft: theme2.spacing(0.5)
1150
1171
  }
1151
1172
  },
1152
1173
  "& .MuiSvgIcon-root": {
1153
- fontSize: i.spacing(f),
1154
- width: i.spacing(f),
1155
- minWidth: i.spacing(f),
1156
- height: i.spacing(f),
1157
- ...o.size === "small" && {
1158
- fontSize: i.spacing(M),
1159
- width: i.spacing(M),
1160
- minWidth: i.spacing(M),
1161
- height: i.spacing(M)
1174
+ fontSize: theme2.spacing(controlSizeM),
1175
+ width: theme2.spacing(controlSizeM),
1176
+ minWidth: theme2.spacing(controlSizeM),
1177
+ height: theme2.spacing(controlSizeM),
1178
+ ...ownerState.size === "small" && {
1179
+ fontSize: theme2.spacing(controlSizeS),
1180
+ width: theme2.spacing(controlSizeS),
1181
+ minWidth: theme2.spacing(controlSizeS),
1182
+ height: theme2.spacing(controlSizeS)
1162
1183
  }
1163
1184
  }
1164
1185
  })
1165
- }, j = {
1166
- root: ({ theme: o }) => ({
1186
+ };
1187
+ const LabelOverrides = {
1188
+ root: ({ theme: theme2 }) => ({
1167
1189
  position: "static",
1168
1190
  transform: "none",
1169
- marginBottom: o.spacing(1),
1170
- ...o.typography.caption,
1191
+ marginBottom: theme2.spacing(1),
1192
+ ...theme2.typography.caption,
1171
1193
  fontWeight: 500,
1172
- color: o.palette.text.primary
1194
+ color: theme2.palette.text.primary
1173
1195
  }),
1174
- sizeSmall: ({ theme: o }) => ({
1175
- marginBottom: o.spacing(0.5)
1196
+ sizeSmall: ({ theme: theme2 }) => ({
1197
+ marginBottom: theme2.spacing(0.5)
1176
1198
  }),
1177
1199
  standard: () => ({
1178
1200
  marginBottom: 0
@@ -1180,28 +1202,29 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1180
1202
  // 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
1181
1203
  // These styles avoid (by now) the need to review current forms and change those with a required mark.
1182
1204
  // TODO: remored asterisk completely and use instead LabelWithIndicator component to mark also required ones.
1183
- asterisk: ({ theme: o }) => ({
1205
+ asterisk: ({ theme: theme2 }) => ({
1184
1206
  "&, &.Mui-error": {
1185
1207
  color: "transparent"
1186
1208
  },
1187
1209
  "&::after": {
1188
1210
  content: '"(required)"',
1189
- marginLeft: o.spacing(-0.5),
1190
- color: o.palette.text.secondary,
1211
+ marginLeft: theme2.spacing(-0.5),
1212
+ color: theme2.palette.text.secondary,
1191
1213
  fontWeight: 400,
1192
1214
  ".Mui-disabled &": {
1193
- color: o.palette.text.disabled
1215
+ color: theme2.palette.text.disabled
1194
1216
  }
1195
1217
  }
1196
1218
  })
1197
- }, Mo = {
1219
+ };
1220
+ const formsOverrides = {
1198
1221
  // Checkbox
1199
1222
  MuiCheckbox: {
1200
1223
  defaultProps: {
1201
1224
  size: "small"
1202
1225
  },
1203
1226
  styleOverrides: {
1204
- ...V
1227
+ ...checkboxRadioOverrides
1205
1228
  }
1206
1229
  },
1207
1230
  // Radio Button
@@ -1210,42 +1233,42 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1210
1233
  size: "small"
1211
1234
  },
1212
1235
  styleOverrides: {
1213
- ...V
1236
+ ...checkboxRadioOverrides
1214
1237
  }
1215
1238
  },
1216
1239
  // Text Field
1217
1240
  MuiTextField: {
1218
1241
  defaultProps: {
1219
- fullWidth: !0,
1242
+ fullWidth: true,
1220
1243
  size: "small",
1221
1244
  InputLabelProps: {
1222
- shrink: !0
1245
+ shrink: true
1223
1246
  },
1224
1247
  SelectProps: {
1225
- IconComponent: h,
1248
+ IconComponent: ArrowDown,
1226
1249
  size: "small"
1227
1250
  }
1228
1251
  },
1229
1252
  styleOverrides: {
1230
- root: ({ ownerState: o, theme: i }) => ({
1253
+ root: ({ ownerState, theme: theme2 }) => ({
1231
1254
  "& legend": {
1232
1255
  display: "none"
1233
1256
  },
1234
1257
  // Select bool
1235
- ...o.select === !0 && {
1258
+ ...ownerState.select === true && {
1236
1259
  "& .MuiInputBase-root": {
1237
1260
  padding: 0,
1238
1261
  "&.MuiOutlinedInput-root, &.MuiFilledInput-root": {
1239
1262
  padding: 0
1240
1263
  },
1241
1264
  "& .MuiInputAdornment-positionEnd": {
1242
- marginRight: i.spacing(3)
1265
+ marginRight: theme2.spacing(3)
1243
1266
  },
1244
1267
  "& .MuiSelect-select": {
1245
- padding: i.spacing(1.5),
1268
+ padding: theme2.spacing(1.5),
1246
1269
  "&.MuiInputBase-input": {
1247
- paddingLeft: i.spacing(2),
1248
- paddingRight: i.spacing(5),
1270
+ paddingLeft: theme2.spacing(2),
1271
+ paddingRight: theme2.spacing(5),
1249
1272
  "&.MuiSelect-standard": {
1250
1273
  paddingLeft: 0
1251
1274
  }
@@ -1260,8 +1283,8 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1260
1283
  }
1261
1284
  },
1262
1285
  "& .MuiSelect-icon": {
1263
- right: i.spacing(2),
1264
- color: i.palette.text.secondary
1286
+ right: theme2.spacing(2),
1287
+ color: theme2.palette.text.secondary
1265
1288
  },
1266
1289
  "& .MuiSelect-iconStandard": {
1267
1290
  right: 0
@@ -1272,18 +1295,18 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1272
1295
  padding: 0
1273
1296
  },
1274
1297
  "& .MuiSelect-select": {
1275
- ...i.typography.body2,
1276
- padding: i.spacing(0.75),
1298
+ ...theme2.typography.body2,
1299
+ padding: theme2.spacing(0.75),
1277
1300
  "&.MuiInputBase-input": {
1278
- paddingLeft: i.spacing(1.5),
1279
- paddingRight: i.spacing(4)
1301
+ paddingLeft: theme2.spacing(1.5),
1302
+ paddingRight: theme2.spacing(4)
1280
1303
  }
1281
1304
  },
1282
1305
  "&.MuiOutlinedInput-root.MuiInputBase-sizeSmall": {
1283
1306
  padding: 0
1284
1307
  },
1285
1308
  "& .MuiSelect-icon": {
1286
- right: i.spacing(1.5)
1309
+ right: theme2.spacing(1.5)
1287
1310
  }
1288
1311
  }
1289
1312
  }
@@ -1293,9 +1316,9 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1293
1316
  // Input Base
1294
1317
  MuiInputBase: {
1295
1318
  styleOverrides: {
1296
- root: ({ theme: o }) => ({
1297
- height: o.spacing(6),
1298
- ...o.typography.body1,
1319
+ root: ({ theme: theme2 }) => ({
1320
+ height: theme2.spacing(6),
1321
+ ...theme2.typography.body1,
1299
1322
  "& input": {
1300
1323
  padding: 0,
1301
1324
  whiteSpace: "nowrap",
@@ -1303,13 +1326,13 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1303
1326
  textOverflow: "ellipsis",
1304
1327
  "&::placeholder": {
1305
1328
  opacity: 1,
1306
- color: o.palette.text.hint
1329
+ color: theme2.palette.text.hint
1307
1330
  },
1308
1331
  "&:read-only::placeholder": {
1309
- color: o.palette.text.disabled
1332
+ color: theme2.palette.text.disabled
1310
1333
  },
1311
1334
  "&.Mui-disabled::placeholder": {
1312
- color: o.palette.text.disabled
1335
+ color: theme2.palette.text.disabled
1313
1336
  },
1314
1337
  // Remove focus on keyboard navigation as the parent element has focus
1315
1338
  "&:focus-visible": {
@@ -1338,103 +1361,103 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1338
1361
  "&:hover": {
1339
1362
  backgroundColor: "transparent"
1340
1363
  },
1341
- [o.breakpoints.up("sm")]: {
1364
+ [theme2.breakpoints.up("sm")]: {
1342
1365
  minHeight: "initial"
1343
1366
  }
1344
1367
  },
1345
1368
  // Variants
1346
1369
  "&.MuiFilledInput-root": {
1347
- padding: o.spacing(1, 2),
1348
- borderRadius: o.spacing(0.5),
1349
- backgroundColor: o.palette.default.background,
1370
+ padding: theme2.spacing(1, 2),
1371
+ borderRadius: theme2.spacing(0.5),
1372
+ backgroundColor: theme2.palette.default.background,
1350
1373
  "&:hover": {
1351
- backgroundColor: o.palette.default.background
1374
+ backgroundColor: theme2.palette.default.background
1352
1375
  },
1353
1376
  "&::before": {
1354
1377
  top: 0,
1355
- borderRadius: o.spacing(0.5),
1378
+ borderRadius: theme2.spacing(0.5),
1356
1379
  border: "1px solid transparent",
1357
1380
  transition: "border 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"
1358
1381
  },
1359
1382
  "&:hover:not(.Mui-disabled)::before": {
1360
- borderColor: o.palette.text.primary
1383
+ borderColor: theme2.palette.text.primary
1361
1384
  },
1362
1385
  "&::after": {
1363
- borderRadius: o.spacing(0.5),
1386
+ borderRadius: theme2.spacing(0.5),
1364
1387
  border: "1px solid transparent"
1365
1388
  },
1366
1389
  "&.MuiInputBase-sizeSmall": {
1367
- padding: o.spacing(0.5, 1.5)
1390
+ padding: theme2.spacing(0.5, 1.5)
1368
1391
  },
1369
1392
  "&.Mui-focused": {
1370
- backgroundColor: o.palette.background.paper,
1393
+ backgroundColor: theme2.palette.background.paper,
1371
1394
  "&::after": {
1372
- border: `2px solid ${o.palette.primary.main}`
1395
+ border: `2px solid ${theme2.palette.primary.main}`
1373
1396
  }
1374
1397
  },
1375
1398
  "&.Mui-disabled": {
1376
- backgroundColor: o.palette.default.background,
1399
+ backgroundColor: theme2.palette.default.background,
1377
1400
  "&::before": {
1378
1401
  borderBottomStyle: "solid"
1379
1402
  }
1380
1403
  },
1381
1404
  "&.Mui-error::after": {
1382
1405
  opacity: 1,
1383
- border: `2px solid ${o.palette.error.light}`
1406
+ border: `2px solid ${theme2.palette.error.light}`
1384
1407
  },
1385
1408
  "&.Mui-readOnly": {
1386
1409
  "&.Mui-focused": {
1387
- backgroundColor: o.palette.default.background
1410
+ backgroundColor: theme2.palette.default.background
1388
1411
  }
1389
1412
  }
1390
1413
  },
1391
1414
  "&.MuiOutlinedInput-root": {
1392
- padding: o.spacing(1, 2),
1415
+ padding: theme2.spacing(1, 2),
1393
1416
  "&.MuiInputBase-sizeSmall": {
1394
- padding: o.spacing(0.5, 1.5)
1417
+ padding: theme2.spacing(0.5, 1.5)
1395
1418
  },
1396
1419
  "&.Mui-focused": {
1397
- backgroundColor: o.palette.background.paper
1420
+ backgroundColor: theme2.palette.background.paper
1398
1421
  },
1399
1422
  "&.Mui-disabled": {
1400
- backgroundColor: o.palette.default.background
1423
+ backgroundColor: theme2.palette.default.background
1401
1424
  },
1402
1425
  "&.Mui-readOnly": {
1403
- backgroundColor: o.palette.default.background,
1426
+ backgroundColor: theme2.palette.default.background,
1404
1427
  "&.Mui-focused": {
1405
- backgroundColor: o.palette.default.background
1428
+ backgroundColor: theme2.palette.default.background
1406
1429
  }
1407
1430
  },
1408
1431
  "& .MuiOutlinedInput-notchedOutline": {
1409
1432
  top: 0,
1410
- borderColor: o.palette.default.outlinedBorder,
1433
+ borderColor: theme2.palette.default.outlinedBorder,
1411
1434
  transition: "border 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"
1412
1435
  },
1413
1436
  "&.Mui-focused .MuiOutlinedInput-notchedOutline": {
1414
1437
  transition: "none"
1415
1438
  },
1416
1439
  "&.Mui-error .MuiOutlinedInput-notchedOutline": {
1417
- border: `2px solid ${o.palette.error.light}`
1440
+ border: `2px solid ${theme2.palette.error.light}`
1418
1441
  }
1419
1442
  },
1420
1443
  "&.MuiInput-underline": {
1421
1444
  marginTop: 0,
1422
1445
  padding: 0,
1423
1446
  "&::before": {
1424
- borderColor: o.palette.default.outlinedBorder
1447
+ borderColor: theme2.palette.default.outlinedBorder
1425
1448
  },
1426
1449
  "&:hover:not(.Mui-disabled)::before": {
1427
- borderBottom: `1px solid ${o.palette.text.primary}`
1450
+ borderBottom: `1px solid ${theme2.palette.text.primary}`
1428
1451
  },
1429
1452
  "&:not(.Mui-disabled)::after": {
1430
1453
  borderBottom: "1px solid transparent"
1431
1454
  },
1432
1455
  "&.Mui-focused::after": {
1433
- borderBottom: `2px solid ${o.palette.primary.main}`
1456
+ borderBottom: `2px solid ${theme2.palette.primary.main}`
1434
1457
  },
1435
1458
  "&.Mui-error::after": {
1436
1459
  opacity: 1,
1437
- borderBottom: `2px solid ${o.palette.error.light}`
1460
+ borderBottom: `2px solid ${theme2.palette.error.light}`
1438
1461
  },
1439
1462
  "&.Mui-disabled::before": {
1440
1463
  borderBottomStyle: "solid"
@@ -1443,18 +1466,18 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1443
1466
  // TextArea (multiline)
1444
1467
  "&.MuiInputBase-multiline": {
1445
1468
  height: "auto",
1446
- minHeight: o.spacing(12),
1469
+ minHeight: theme2.spacing(12),
1447
1470
  alignItems: "flex-start",
1448
- padding: o.spacing(0, 0.25),
1471
+ padding: theme2.spacing(0, 0.25),
1449
1472
  "& textarea": {
1450
- padding: o.spacing(1.5, 1.75),
1451
- ...o.typography.body1,
1473
+ padding: theme2.spacing(1.5, 1.75),
1474
+ ...theme2.typography.body1,
1452
1475
  "&::placeholder": {
1453
1476
  opacity: 1,
1454
- color: o.palette.text.hint
1477
+ color: theme2.palette.text.hint
1455
1478
  },
1456
1479
  "&.Mui-disabled::placeholder": {
1457
- color: o.palette.text.disabled
1480
+ color: theme2.palette.text.disabled
1458
1481
  },
1459
1482
  // Remove focus on keyboard navigation as the parent element has focus
1460
1483
  "&:focus-visible": {
@@ -1463,26 +1486,26 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1463
1486
  }
1464
1487
  },
1465
1488
  "&.MuiInputBase-sizeSmall": {
1466
- minHeight: o.spacing(9),
1467
- padding: o.spacing(0, 0.25),
1489
+ minHeight: theme2.spacing(9),
1490
+ padding: theme2.spacing(0, 0.25),
1468
1491
  "& textarea": {
1469
- padding: o.spacing(1, 1.25),
1470
- ...o.typography.body2
1492
+ padding: theme2.spacing(1, 1.25),
1493
+ ...theme2.typography.body2
1471
1494
  }
1472
1495
  }
1473
1496
  },
1474
1497
  // Select Multiple selection
1475
1498
  "&.MuiInputBase-root .MuiSelect-multiple.MuiInputBase-input": {
1476
1499
  paddingLeft: 0,
1477
- paddingRight: o.spacing(3)
1500
+ paddingRight: theme2.spacing(3)
1478
1501
  }
1479
1502
  }),
1480
1503
  // size
1481
- sizeSmall: ({ theme: o }) => ({
1482
- height: o.spacing(4),
1483
- padding: o.spacing(0, 1.5),
1504
+ sizeSmall: ({ theme: theme2 }) => ({
1505
+ height: theme2.spacing(4),
1506
+ padding: theme2.spacing(0, 1.5),
1484
1507
  "& input": {
1485
- ...o.typography.body2
1508
+ ...theme2.typography.body2
1486
1509
  }
1487
1510
  })
1488
1511
  }
@@ -1490,29 +1513,29 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1490
1513
  // Input Adornment
1491
1514
  MuiInputAdornment: {
1492
1515
  styleOverrides: {
1493
- root: ({ theme: o }) => ({
1516
+ root: ({ theme: theme2 }) => ({
1494
1517
  "& .MuiTypography-root": {
1495
- ...o.typography.body1,
1496
- color: o.palette.text.secondary
1518
+ ...theme2.typography.body1,
1519
+ color: theme2.palette.text.secondary
1497
1520
  },
1498
1521
  "&.MuiInputAdornment-sizeSmall": {
1499
1522
  "& .MuiTypography-root": {
1500
- ...o.typography.body2
1523
+ ...theme2.typography.body2
1501
1524
  }
1502
1525
  },
1503
1526
  "&.MuiInputAdornment-positionStart.MuiInputAdornment-root:not(.MuiInputAdornment-hiddenLabel)": {
1504
1527
  marginTop: 0
1505
1528
  },
1506
1529
  "& .MuiSvgIcon-root, & svg": {
1507
- fontSize: r,
1508
- width: r,
1509
- minWidth: r,
1510
- height: r,
1511
- color: o.palette.text.secondary
1530
+ fontSize: ICON_SIZE_MEDIUM,
1531
+ width: ICON_SIZE_MEDIUM,
1532
+ minWidth: ICON_SIZE_MEDIUM,
1533
+ height: ICON_SIZE_MEDIUM,
1534
+ color: theme2.palette.text.secondary
1512
1535
  },
1513
1536
  ".Mui-disabled &": {
1514
1537
  "& .MuiTypography-root, & .MuiSvgIcon-root": {
1515
- color: o.palette.text.disabled
1538
+ color: theme2.palette.text.disabled
1516
1539
  }
1517
1540
  }
1518
1541
  })
@@ -1521,18 +1544,18 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1521
1544
  // Form Control
1522
1545
  MuiFormControl: {
1523
1546
  defaultProps: {
1524
- fullWidth: !0
1547
+ fullWidth: true
1525
1548
  }
1526
1549
  },
1527
1550
  // Form Control Label (radio, checkbox and switch wrapper)
1528
1551
  MuiFormControlLabel: {
1529
1552
  styleOverrides: {
1530
- root: ({ ownerState: o, theme: i }) => ({
1531
- marginLeft: i.spacing(-0.5),
1553
+ root: ({ ownerState, theme: theme2 }) => ({
1554
+ marginLeft: theme2.spacing(-0.5),
1532
1555
  "& .MuiSwitch-root": {
1533
- marginLeft: i.spacing(0.5)
1556
+ marginLeft: theme2.spacing(0.5)
1534
1557
  },
1535
- ...o.readOnly === !0 && {
1558
+ ...ownerState.readOnly === true && {
1536
1559
  pointerEvents: "none"
1537
1560
  }
1538
1561
  })
@@ -1541,39 +1564,39 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1541
1564
  // Form Helper Text
1542
1565
  MuiFormHelperText: {
1543
1566
  styleOverrides: {
1544
- root: ({ theme: o }) => ({
1567
+ root: ({ theme: theme2 }) => ({
1545
1568
  margin: 0,
1546
- marginTop: o.spacing(1)
1569
+ marginTop: theme2.spacing(1)
1547
1570
  })
1548
1571
  }
1549
1572
  },
1550
1573
  // Label
1551
1574
  MuiInputLabel: {
1552
1575
  styleOverrides: {
1553
- ...j
1576
+ ...LabelOverrides
1554
1577
  }
1555
1578
  },
1556
1579
  MuiFormLabel: {
1557
1580
  styleOverrides: {
1558
- ...j
1581
+ ...LabelOverrides
1559
1582
  }
1560
1583
  },
1561
1584
  // Select
1562
1585
  MuiSelect: {
1563
1586
  defaultProps: {
1564
- IconComponent: h,
1565
- fullWidth: !0,
1587
+ IconComponent: ArrowDown,
1588
+ fullWidth: true,
1566
1589
  size: "small"
1567
1590
  },
1568
1591
  styleOverrides: {
1569
- root: ({ theme: o }) => ({
1592
+ root: ({ theme: theme2 }) => ({
1570
1593
  padding: 0,
1571
1594
  "& .MuiSelect-icon": {
1572
- right: o.spacing(2),
1573
- color: o.palette.text.secondary
1595
+ right: theme2.spacing(2),
1596
+ color: theme2.palette.text.secondary
1574
1597
  },
1575
1598
  "&.Mui-disabled .MuiSelect-icon, &.Mui-readOnly .MuiSelect-icon": {
1576
- color: o.palette.text.disabled
1599
+ color: theme2.palette.text.disabled
1577
1600
  },
1578
1601
  "& .MuiSelect-iconStandard": {
1579
1602
  right: 0
@@ -1593,11 +1616,11 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1593
1616
  },
1594
1617
  // Size Small
1595
1618
  "&.MuiInputBase-sizeSmall": {
1596
- ...o.typography.body2,
1619
+ ...theme2.typography.body2,
1597
1620
  "& .MuiSelect-select": {
1598
1621
  "&.MuiInputBase-input": {
1599
- paddingLeft: o.spacing(1.5),
1600
- paddingRight: o.spacing(4)
1622
+ paddingLeft: theme2.spacing(1.5),
1623
+ paddingRight: theme2.spacing(4)
1601
1624
  },
1602
1625
  "&.MuiSelect-standard": {
1603
1626
  paddingLeft: 0
@@ -1607,15 +1630,15 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1607
1630
  padding: 0
1608
1631
  },
1609
1632
  "& .MuiSelect-icon": {
1610
- right: o.spacing(1.5)
1633
+ right: theme2.spacing(1.5)
1611
1634
  }
1612
1635
  }
1613
1636
  }),
1614
- select: ({ theme: o }) => ({
1615
- padding: o.spacing(1.5),
1637
+ select: ({ theme: theme2 }) => ({
1638
+ padding: theme2.spacing(1.5),
1616
1639
  "&.MuiInputBase-input": {
1617
- paddingLeft: o.spacing(2),
1618
- paddingRight: o.spacing(5),
1640
+ paddingLeft: theme2.spacing(2),
1641
+ paddingRight: theme2.spacing(5),
1619
1642
  "&.MuiSelect-standard": {
1620
1643
  paddingLeft: 0
1621
1644
  }
@@ -1634,7 +1657,7 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1634
1657
  textOverflow: "ellipsis"
1635
1658
  },
1636
1659
  "&.MuiInputBase-inputSizeSmall": {
1637
- padding: o.spacing(0.75)
1660
+ padding: theme2.spacing(0.75)
1638
1661
  }
1639
1662
  })
1640
1663
  }
@@ -1643,9 +1666,9 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1643
1666
  MuiAutocomplete: {
1644
1667
  defaultProps: {
1645
1668
  size: "small",
1646
- fullWidth: !0,
1647
- popupIcon: /* @__PURE__ */ s(h, {}),
1648
- clearIcon: /* @__PURE__ */ s(ao, { title: "Clear", children: /* @__PURE__ */ s(v, { "data-testid": "cancel-icon-autocomplete" }) }),
1669
+ fullWidth: true,
1670
+ popupIcon: /* @__PURE__ */ jsx(ArrowDown, {}),
1671
+ clearIcon: /* @__PURE__ */ jsx(Tooltip, { title: "Clear", children: /* @__PURE__ */ jsx(Cancel, { "data-testid": "cancel-icon-autocomplete" }) }),
1649
1672
  clearText: "",
1650
1673
  ChipProps: { color: "default" },
1651
1674
  limitTags: 1,
@@ -1656,36 +1679,36 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1656
1679
  }
1657
1680
  },
1658
1681
  styleOverrides: {
1659
- root: ({ ownerState: o, theme: i }) => ({
1682
+ root: ({ ownerState, theme: theme2 }) => ({
1660
1683
  "&.MuiAutocomplete-root .MuiFormControl-root": {
1661
1684
  //Needed to overide Mui default styles
1662
1685
  ".MuiInputBase-root": {
1663
- gap: i.spacing(0.5),
1686
+ gap: theme2.spacing(0.5),
1664
1687
  height: "auto",
1665
- minHeight: i.spacing(6),
1666
- padding: i.spacing(1, 2),
1667
- paddingRight: i.spacing(5),
1688
+ minHeight: theme2.spacing(6),
1689
+ padding: theme2.spacing(1, 2),
1690
+ paddingRight: theme2.spacing(5),
1668
1691
  ".MuiInputBase-input": {
1669
1692
  padding: 0
1670
1693
  },
1671
1694
  // Multiple
1672
- ...o.multiple === !0 && {
1673
- paddingLeft: i.spacing(1),
1695
+ ...ownerState.multiple === true && {
1696
+ paddingLeft: theme2.spacing(1),
1674
1697
  ".MuiInputBase-input": {
1675
1698
  padding: 0,
1676
- marginLeft: i.spacing(1)
1699
+ marginLeft: theme2.spacing(1)
1677
1700
  }
1678
1701
  },
1679
- ...o.size === "small" && {
1680
- minHeight: i.spacing(4),
1681
- padding: i.spacing(0.5, 1.5),
1682
- paddingRight: i.spacing(4),
1683
- ...o.multiple === !0 && {
1684
- paddingLeft: i.spacing(0.5)
1702
+ ...ownerState.size === "small" && {
1703
+ minHeight: theme2.spacing(4),
1704
+ padding: theme2.spacing(0.5, 1.5),
1705
+ paddingRight: theme2.spacing(4),
1706
+ ...ownerState.multiple === true && {
1707
+ paddingLeft: theme2.spacing(0.5)
1685
1708
  }
1686
1709
  },
1687
- ...o.readOnly === !0 && {
1688
- backgroundColor: i.palette.default.background
1710
+ ...ownerState.readOnly === true && {
1711
+ backgroundColor: theme2.palette.default.background
1689
1712
  },
1690
1713
  "&.Mui-disabled": {
1691
1714
  pointerEvents: "none"
@@ -1694,23 +1717,23 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1694
1717
  // Variants
1695
1718
  ".MuiFilledInput-root .MuiAutocomplete-tag": {
1696
1719
  backgroundColor: "transparent",
1697
- border: `1px solid ${i.palette.default.main}`
1720
+ border: `1px solid ${theme2.palette.default.main}`
1698
1721
  }
1699
1722
  },
1700
1723
  "&.MuiAutocomplete-hasClearIcon .MuiFormControl-root .MuiInputBase-root": {
1701
- paddingRight: i.spacing(8.5),
1702
- ...o.size === "small" && {
1703
- paddingRight: i.spacing(7)
1724
+ paddingRight: theme2.spacing(8.5),
1725
+ ...ownerState.size === "small" && {
1726
+ paddingRight: theme2.spacing(7)
1704
1727
  }
1705
1728
  }
1706
1729
  }),
1707
- inputRoot: ({ theme: o }) => ({
1708
- maxHeight: o.spacing(20),
1730
+ inputRoot: ({ theme: theme2 }) => ({
1731
+ maxHeight: theme2.spacing(20),
1709
1732
  // 160px
1710
1733
  overflow: "auto",
1711
1734
  transition: "box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
1712
1735
  "& .MuiAutocomplete-input": {
1713
- minWidth: `${o.spacing(10)} !important`,
1736
+ minWidth: `${theme2.spacing(10)} !important`,
1714
1737
  "&[readOnly]": {
1715
1738
  display: "none"
1716
1739
  }
@@ -1723,157 +1746,157 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1723
1746
  border: "0 !important"
1724
1747
  },
1725
1748
  "&.MuiOutlinedInput-root": {
1726
- boxShadow: `inset 0 0 0 1px ${o.palette.default.outlinedBorder}`
1749
+ boxShadow: `inset 0 0 0 1px ${theme2.palette.default.outlinedBorder}`
1727
1750
  },
1728
1751
  "&:hover": {
1729
- boxShadow: `inset 0 0 0 1px ${o.palette.text.primary}`
1752
+ boxShadow: `inset 0 0 0 1px ${theme2.palette.text.primary}`
1730
1753
  },
1731
1754
  "&.Mui-focused": {
1732
1755
  transition: "none",
1733
- boxShadow: `inset 0 0 0 2px ${o.palette.primary.main}`
1756
+ boxShadow: `inset 0 0 0 2px ${theme2.palette.primary.main}`
1734
1757
  },
1735
1758
  "&.Mui-error": {
1736
- boxShadow: `inset 0 0 0 2px ${o.palette.error.light}`
1759
+ boxShadow: `inset 0 0 0 2px ${theme2.palette.error.light}`
1737
1760
  },
1738
1761
  "&.Mui-disabled.MuiOutlinedInput-root": {
1739
- boxShadow: `inset 0 0 0 1px ${o.palette.default.outlinedBorder}`,
1762
+ boxShadow: `inset 0 0 0 1px ${theme2.palette.default.outlinedBorder}`,
1740
1763
  "&.Mui-error": {
1741
- boxShadow: `inset 0 0 0 2px ${o.palette.error.light}`
1764
+ boxShadow: `inset 0 0 0 2px ${theme2.palette.error.light}`
1742
1765
  }
1743
1766
  },
1744
1767
  "&.Mui-disabled.MuiFilledInput-root": {
1745
1768
  "& .MuiAutocomplete-tag": {
1746
- borderColor: `${o.palette.default.outlinedBorder} !important`
1769
+ borderColor: `${theme2.palette.default.outlinedBorder} !important`
1747
1770
  }
1748
1771
  }
1749
1772
  }),
1750
- endAdornment: ({ theme: o }) => ({
1773
+ endAdornment: ({ theme: theme2 }) => ({
1751
1774
  transform: "none",
1752
- top: o.spacing(2),
1775
+ top: theme2.spacing(2),
1753
1776
  display: "flex",
1754
1777
  alignItems: "center",
1755
1778
  justifyContent: "flex-end",
1756
- marginRight: o.spacing(1),
1779
+ marginRight: theme2.spacing(1),
1757
1780
  ".MuiAutocomplete-hasClearIcon &": {
1758
- top: o.spacing(1)
1781
+ top: theme2.spacing(1)
1759
1782
  },
1760
1783
  ".MuiInputBase-sizeSmall &": {
1761
- top: o.spacing(0.5),
1762
- width: o.spacing(3),
1763
- height: o.spacing(3),
1764
- marginRight: o.spacing(0.5)
1784
+ top: theme2.spacing(0.5),
1785
+ width: theme2.spacing(3),
1786
+ height: theme2.spacing(3),
1787
+ marginRight: theme2.spacing(0.5)
1765
1788
  }
1766
1789
  }),
1767
- clearIndicator: ({ ownerState: o, theme: i }) => ({
1790
+ clearIndicator: ({ ownerState, theme: theme2 }) => ({
1768
1791
  marginRight: 0,
1769
- color: i.palette.text.hint,
1770
- ...o.size === "small" && {
1771
- width: i.spacing(3),
1772
- height: i.spacing(3)
1792
+ color: theme2.palette.text.hint,
1793
+ ...ownerState.size === "small" && {
1794
+ width: theme2.spacing(3),
1795
+ height: theme2.spacing(3)
1773
1796
  }
1774
1797
  }),
1775
- popupIndicator: ({ theme: o }) => ({
1776
- width: r,
1777
- height: r,
1798
+ popupIndicator: ({ theme: theme2 }) => ({
1799
+ width: ICON_SIZE_MEDIUM,
1800
+ height: ICON_SIZE_MEDIUM,
1778
1801
  cursor: "pointer",
1779
1802
  "&:hover": {
1780
1803
  backgroundColor: "transparent"
1781
1804
  },
1782
1805
  "&.MuiButtonBase-root": {
1783
- color: o.palette.text.secondary
1806
+ color: theme2.palette.text.secondary
1784
1807
  },
1785
1808
  ".Mui-disabled &": {
1786
- color: o.palette.text.disabled
1809
+ color: theme2.palette.text.disabled
1787
1810
  },
1788
1811
  "input:read-only + .MuiAutocomplete-endAdornment &": {
1789
- color: o.palette.text.disabled
1812
+ color: theme2.palette.text.disabled
1790
1813
  }
1791
1814
  }),
1792
- tag: ({ ownerState: o, theme: i }) => ({
1815
+ tag: ({ ownerState, theme: theme2 }) => ({
1793
1816
  margin: 0,
1794
1817
  "&:not(.MuiButtonBase-root)": {
1795
1818
  display: "flex",
1796
1819
  alignItems: "center",
1797
- height: i.spacing(4),
1798
- padding: i.spacing(0, 1.5),
1799
- backgroundColor: i.palette.default.main,
1800
- borderRadius: i.spacing(2),
1801
- ...i.typography.button,
1802
- fontWeight: i.typography.fontWeightMedium,
1803
- ...o.size === "small" && {
1804
- height: i.spacing(3),
1805
- padding: i.spacing(0, 1),
1806
- borderRadius: i.spacing(1.5),
1807
- ...i.typography.caption,
1808
- fontWeight: i.typography.fontWeightMedium
1809
- }
1810
- }
1811
- }),
1812
- option: ({ ownerState: o, theme: i }) => ({
1820
+ height: theme2.spacing(4),
1821
+ padding: theme2.spacing(0, 1.5),
1822
+ backgroundColor: theme2.palette.default.main,
1823
+ borderRadius: theme2.spacing(2),
1824
+ ...theme2.typography.button,
1825
+ fontWeight: theme2.typography.fontWeightMedium,
1826
+ ...ownerState.size === "small" && {
1827
+ height: theme2.spacing(3),
1828
+ padding: theme2.spacing(0, 1),
1829
+ borderRadius: theme2.spacing(1.5),
1830
+ ...theme2.typography.caption,
1831
+ fontWeight: theme2.typography.fontWeightMedium
1832
+ }
1833
+ }
1834
+ }),
1835
+ option: ({ ownerState, theme: theme2 }) => ({
1813
1836
  "&.MuiAutocomplete-option": {
1814
- minHeight: i.spacing(4),
1815
- padding: i.spacing(0.5, 2),
1816
- ...i.typography.body2,
1837
+ minHeight: theme2.spacing(4),
1838
+ padding: theme2.spacing(0.5, 2),
1839
+ ...theme2.typography.body2,
1817
1840
  transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
1818
1841
  "& .MuiCheckbox-root svg path": {
1819
- fill: i.palette.text.secondary
1842
+ fill: theme2.palette.text.secondary
1820
1843
  },
1821
1844
  "&:hover": {
1822
- backgroundColor: i.palette.action.hover
1845
+ backgroundColor: theme2.palette.action.hover
1823
1846
  },
1824
1847
  "&.Mui-disabled": {
1825
1848
  "& .MuiCheckbox-root svg path": {
1826
- fill: i.palette.text.disabled
1849
+ fill: theme2.palette.text.disabled
1827
1850
  }
1828
1851
  },
1829
1852
  '&[aria-disabled="true"]': {
1830
1853
  opacity: 1
1831
1854
  },
1832
1855
  '&[aria-selected="true"]': {
1833
- color: i.palette.primary.main,
1834
- backgroundColor: i.palette.primary.background,
1856
+ color: theme2.palette.primary.main,
1857
+ backgroundColor: theme2.palette.primary.background,
1835
1858
  ".MuiTypography-root": {
1836
- color: i.palette.primary.main
1859
+ color: theme2.palette.primary.main
1837
1860
  },
1838
1861
  ".MuiTypography-caption": {
1839
- color: i.palette.text.secondary
1862
+ color: theme2.palette.text.secondary
1840
1863
  },
1841
1864
  "& .MuiCheckbox-root svg path": {
1842
- fill: i.palette.primary.main
1865
+ fill: theme2.palette.primary.main
1843
1866
  },
1844
1867
  "&.Mui-focused:hover": {
1845
- backgroundColor: i.palette.action.hover
1868
+ backgroundColor: theme2.palette.action.hover
1846
1869
  },
1847
1870
  "&.Mui-disabled": {
1848
1871
  backgroundColor: "transparent",
1849
1872
  "& svg path": {
1850
- fill: i.palette.text.disabled
1873
+ fill: theme2.palette.text.disabled
1851
1874
  },
1852
1875
  "& .MuiCheckbox-root svg path": {
1853
- fill: i.palette.text.disabled
1876
+ fill: theme2.palette.text.disabled
1854
1877
  },
1855
1878
  "& .MuiTypography-root": {
1856
- color: i.palette.text.disabled
1879
+ color: theme2.palette.text.disabled
1857
1880
  }
1858
1881
  }
1859
1882
  },
1860
1883
  "&:first-of-type": {
1861
- marginTop: i.spacing(1)
1884
+ marginTop: theme2.spacing(1)
1862
1885
  },
1863
- ...o.size === "small" && {
1864
- padding: i.spacing(0.5, 1.5)
1886
+ ...ownerState.size === "small" && {
1887
+ padding: theme2.spacing(0.5, 1.5)
1865
1888
  }
1866
1889
  }
1867
1890
  }),
1868
- noOptions: ({ ownerState: o, theme: i }) => ({
1869
- padding: i.spacing(2.5, 2),
1870
- ...i.typography.body2,
1871
- color: i.palette.text.secondary,
1872
- ...o.size === "small" && {
1873
- padding: i.spacing(2, 1.5)
1891
+ noOptions: ({ ownerState, theme: theme2 }) => ({
1892
+ padding: theme2.spacing(2.5, 2),
1893
+ ...theme2.typography.body2,
1894
+ color: theme2.palette.text.secondary,
1895
+ ...ownerState.size === "small" && {
1896
+ padding: theme2.spacing(2, 1.5)
1874
1897
  }
1875
1898
  }),
1876
- listbox: ({ theme: o }) => ({
1899
+ listbox: ({ theme: theme2 }) => ({
1877
1900
  paddingTop: 0,
1878
1901
  ".MuiDivider-root": {
1879
1902
  display: "none"
@@ -1882,7 +1905,7 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1882
1905
  display: "block"
1883
1906
  },
1884
1907
  ".MuiMenuItem-root:first-of-type": {
1885
- marginTop: o.spacing(1)
1908
+ marginTop: theme2.spacing(1)
1886
1909
  }
1887
1910
  })
1888
1911
  }
@@ -1890,39 +1913,39 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1890
1913
  // Switch
1891
1914
  MuiSwitch: {
1892
1915
  defaultProps: {
1893
- disableRipple: !0
1916
+ disableRipple: true
1894
1917
  },
1895
1918
  styleOverrides: {
1896
- root: ({ theme: o }) => ({
1897
- width: o.spacing(N),
1898
- height: o.spacing($),
1919
+ root: ({ theme: theme2 }) => ({
1920
+ width: theme2.spacing(switchSizeM),
1921
+ height: theme2.spacing(switchSizeS),
1899
1922
  padding: 0,
1900
1923
  overflow: "visible",
1901
1924
  "& + .MuiTypography-root": {
1902
- marginLeft: o.spacing(1),
1903
- color: o.palette.text.primary
1925
+ marginLeft: theme2.spacing(1),
1926
+ color: theme2.palette.text.primary
1904
1927
  },
1905
1928
  "& + .MuiFormControlLabel-label": {
1906
- ...o.typography.body2
1929
+ ...theme2.typography.body2
1907
1930
  }
1908
1931
  }),
1909
- switchBase: ({ ownerState: o, theme: i }) => ({
1910
- width: i.spacing(G),
1911
- height: i.spacing(G),
1912
- padding: i.spacing(0.5),
1932
+ switchBase: ({ ownerState, theme: theme2 }) => ({
1933
+ width: theme2.spacing(switchSizeL),
1934
+ height: theme2.spacing(switchSizeL),
1935
+ padding: theme2.spacing(0.5),
1913
1936
  borderRadius: "50%",
1914
- color: i.palette.text.secondary,
1937
+ color: theme2.palette.text.secondary,
1915
1938
  transform: "translate(-8px, -8px)",
1916
1939
  "&:hover": {
1917
- backgroundColor: i.palette.action.hover
1940
+ backgroundColor: theme2.palette.action.hover
1918
1941
  },
1919
1942
  "&.MuiSwitch-switchBase input": {
1920
- top: i.spacing(1),
1921
- left: i.spacing(1)
1943
+ top: theme2.spacing(1),
1944
+ left: theme2.spacing(1)
1922
1945
  },
1923
1946
  "&.Mui-checked": {
1924
1947
  transform: "translate(0, -8px)",
1925
- color: i.palette.common.white,
1948
+ color: theme2.palette.common.white,
1926
1949
  "&.MuiSwitch-switchBase input": {
1927
1950
  left: 0
1928
1951
  },
@@ -1931,61 +1954,61 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
1931
1954
  border: 0
1932
1955
  }
1933
1956
  },
1934
- ...o.readOnly === !0 && {
1935
- color: i.palette.text.disabled
1957
+ ...ownerState.readOnly === true && {
1958
+ color: theme2.palette.text.disabled
1936
1959
  }
1937
1960
  }),
1938
- thumb: ({ theme: o }) => ({
1939
- width: o.spacing(1),
1940
- height: o.spacing(1),
1941
- boxShadow: o.shadows[0],
1961
+ thumb: ({ theme: theme2 }) => ({
1962
+ width: theme2.spacing(1),
1963
+ height: theme2.spacing(1),
1964
+ boxShadow: theme2.shadows[0],
1942
1965
  ".Mui-checked &": {
1943
- boxShadow: o.shadows[1]
1966
+ boxShadow: theme2.shadows[1]
1944
1967
  },
1945
1968
  ".Mui-disabled &": {
1946
- backgroundColor: o.palette.text.disabled
1969
+ backgroundColor: theme2.palette.text.disabled
1947
1970
  },
1948
1971
  ".Mui-disabled.Mui-checked &": {
1949
- backgroundColor: o.palette.common.white
1972
+ backgroundColor: theme2.palette.common.white
1950
1973
  }
1951
1974
  }),
1952
- input: ({ theme: o }) => ({
1953
- width: o.spacing(N),
1954
- height: o.spacing($),
1975
+ input: ({ theme: theme2 }) => ({
1976
+ width: theme2.spacing(switchSizeM),
1977
+ height: theme2.spacing(switchSizeS),
1955
1978
  left: 0
1956
1979
  }),
1957
- track: ({ ownerState: o, theme: i }) => ({
1980
+ track: ({ ownerState, theme: theme2 }) => ({
1958
1981
  height: "auto",
1959
- border: `1px solid ${i.palette.text.secondary}`,
1960
- borderRadius: i.spacing(2),
1982
+ border: `1px solid ${theme2.palette.text.secondary}`,
1983
+ borderRadius: theme2.spacing(2),
1961
1984
  opacity: 1,
1962
- backgroundColor: i.palette.common.white,
1985
+ backgroundColor: theme2.palette.common.white,
1963
1986
  transitionDuration: "300ms",
1964
1987
  ".MuiButtonBase-root.MuiSwitch-switchBase.Mui-disabled + &": {
1965
1988
  opacity: 1,
1966
- borderColor: i.palette.text.disabled
1989
+ borderColor: theme2.palette.text.disabled
1967
1990
  },
1968
1991
  ".MuiButtonBase-root.Mui-checked.Mui-disabled + &": {
1969
- backgroundColor: i.palette.text.disabled
1992
+ backgroundColor: theme2.palette.text.disabled
1970
1993
  },
1971
1994
  ".MuiButtonBase-root.MuiSwitch-switchBase[readOnly] + &": {
1972
- borderColor: i.palette.text.disabled
1995
+ borderColor: theme2.palette.text.disabled
1973
1996
  },
1974
1997
  "[readOnly] .MuiButtonBase-root.Mui-checked + &": {
1975
- backgroundColor: i.palette.text.disabled
1998
+ backgroundColor: theme2.palette.text.disabled
1976
1999
  },
1977
- ...o.readOnly === !0 && {
1978
- borderColor: i.palette.text.disabled
2000
+ ...ownerState.readOnly === true && {
2001
+ borderColor: theme2.palette.text.disabled
1979
2002
  }
1980
2003
  }),
1981
- colorPrimary: ({ theme: o }) => ({
2004
+ colorPrimary: ({ theme: theme2 }) => ({
1982
2005
  "&.Mui-checked:hover": {
1983
- backgroundColor: o.palette.primary.background
2006
+ backgroundColor: theme2.palette.primary.background
1984
2007
  }
1985
2008
  }),
1986
- colorSecondary: ({ theme: o }) => ({
2009
+ colorSecondary: ({ theme: theme2 }) => ({
1987
2010
  "&.Mui-checked:hover": {
1988
- backgroundColor: o.palette.secondary.background
2011
+ backgroundColor: theme2.palette.secondary.background
1989
2012
  }
1990
2013
  })
1991
2014
  }
@@ -2001,26 +2024,27 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2001
2024
  MuiSlider: {
2002
2025
  defaultProps: {
2003
2026
  color: "primary",
2004
- marks: !1,
2027
+ marks: false,
2005
2028
  size: "small"
2006
2029
  },
2007
2030
  styleOverrides: {
2008
- thumb: ({ theme: o }) => ({
2031
+ thumb: ({ theme: theme2 }) => ({
2009
2032
  "&:hover, &.Mui-focusVisible": {
2010
- boxShadow: `0 0 0 ${o.spacing(1)} ${o.palette.primary.background}`
2033
+ boxShadow: `0 0 0 ${theme2.spacing(1)} ${theme2.palette.primary.background}`
2011
2034
  }
2012
2035
  })
2013
2036
  }
2014
2037
  }
2015
- }, fo = {
2038
+ };
2039
+ const navigationOverrides = {
2016
2040
  // Menu
2017
2041
  MuiMenu: {
2018
2042
  styleOverrides: {
2019
- paper: ({ theme: o }) => ({
2043
+ paper: ({ theme: theme2 }) => ({
2020
2044
  "&.MuiMenu-paper": {
2021
- minWidth: o.spacing(8),
2045
+ minWidth: theme2.spacing(8),
2022
2046
  // 64px, defined by design
2023
- maxHeight: o.spacing(39),
2047
+ maxHeight: theme2.spacing(39),
2024
2048
  // 312px, defined by design
2025
2049
  "&:focus-visible": {
2026
2050
  outline: "none !important",
@@ -2033,17 +2057,17 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2033
2057
  // Menu Item
2034
2058
  MuiMenuItem: {
2035
2059
  styleOverrides: {
2036
- root: ({ theme: o }) => ({
2037
- ...o.typography.body2,
2038
- columnGap: o.spacing(1),
2039
- minHeight: o.spacing(4),
2040
- padding: o.spacing(0.75, 1, 0.75, 1.5),
2060
+ root: ({ theme: theme2 }) => ({
2061
+ ...theme2.typography.body2,
2062
+ columnGap: theme2.spacing(1),
2063
+ minHeight: theme2.spacing(4),
2064
+ padding: theme2.spacing(0.75, 1, 0.75, 1.5),
2041
2065
  whiteSpace: "normal",
2042
2066
  transition: "background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
2043
- [o.breakpoints.up("sm")]: {
2067
+ [theme2.breakpoints.up("sm")]: {
2044
2068
  // Overrides an unwanted Mui default style
2045
2069
  "&.MuiButtonBase-root": {
2046
- minHeight: o.spacing(4)
2070
+ minHeight: theme2.spacing(4)
2047
2071
  }
2048
2072
  },
2049
2073
  "&:hover": {
@@ -2054,73 +2078,73 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2054
2078
  "&:focus-visible": {
2055
2079
  // Solves a known Mui issue: https://github.com/mui/material-ui/issues/23747
2056
2080
  backgroundColor: "transparent",
2057
- outline: "none !important",
2058
- boxShadow: `inset 0 0 0 2px ${o.palette.primary.main} !important`,
2059
- borderRadius: o.shape.borderRadius,
2081
+ outline: `none !important`,
2082
+ boxShadow: `inset 0 0 0 2px ${theme2.palette.primary.main} !important`,
2083
+ borderRadius: theme2.shape.borderRadius,
2060
2084
  "&:hover": {
2061
- backgroundColor: o.palette.action.hover
2085
+ backgroundColor: theme2.palette.action.hover
2062
2086
  }
2063
2087
  },
2064
2088
  "&.Mui-selected": {
2065
- color: o.palette.primary.main,
2089
+ color: theme2.palette.primary.main,
2066
2090
  "&:focus-visible": {
2067
2091
  // Solves a known Mui issue: https://github.com/mui/material-ui/issues/23747
2068
- backgroundColor: o.palette.primary.background
2092
+ backgroundColor: theme2.palette.primary.background
2069
2093
  },
2070
2094
  "&:hover": {
2071
- backgroundColor: o.palette.action.hover
2095
+ backgroundColor: theme2.palette.action.hover
2072
2096
  },
2073
2097
  "& .MuiTypography-root, & .MuiSvgIcon-root": {
2074
- color: o.palette.primary.main
2098
+ color: theme2.palette.primary.main
2075
2099
  },
2076
2100
  ".MuiTypography-caption": {
2077
2101
  // secondary text
2078
- color: o.palette.text.secondary
2102
+ color: theme2.palette.text.secondary
2079
2103
  }
2080
2104
  },
2081
2105
  "&.Mui-disabled": {
2082
2106
  opacity: 1,
2083
- color: o.palette.text.disabled,
2084
- backgroundColor: o.palette.background.paper,
2107
+ color: theme2.palette.text.disabled,
2108
+ backgroundColor: theme2.palette.background.paper,
2085
2109
  "&:empty": {
2086
2110
  height: 0,
2087
2111
  minHeight: 0,
2088
2112
  padding: 0
2089
2113
  },
2090
2114
  ".MuiTypography-root": {
2091
- color: o.palette.text.disabled
2115
+ color: theme2.palette.text.disabled
2092
2116
  },
2093
2117
  svg: {
2094
- color: o.palette.text.disabled
2118
+ color: theme2.palette.text.disabled
2095
2119
  },
2096
2120
  ".MuiListItemIcon-root svg path": {
2097
- fill: o.palette.text.disabled
2121
+ fill: theme2.palette.text.disabled
2098
2122
  },
2099
2123
  ".MuiAvatar-root": {
2100
- color: o.palette.text.disabled,
2101
- backgroundColor: o.palette.action.disabledBackground
2124
+ color: theme2.palette.text.disabled,
2125
+ backgroundColor: theme2.palette.action.disabledBackground
2102
2126
  }
2103
2127
  },
2104
2128
  "& > .MuiSvgIcon-root": {
2105
- marginRight: o.spacing(1)
2129
+ marginRight: theme2.spacing(1)
2106
2130
  },
2107
2131
  ".MuiMenu-paper-sizeSmall &": {
2108
- paddingLeft: o.spacing(1.5),
2109
- paddingRight: o.spacing(1.5)
2132
+ paddingLeft: theme2.spacing(1.5),
2133
+ paddingRight: theme2.spacing(1.5)
2110
2134
  }
2111
2135
  }),
2112
- dense: ({ theme: o }) => ({
2113
- minHeight: o.spacing(3),
2136
+ dense: ({ theme: theme2 }) => ({
2137
+ minHeight: theme2.spacing(3),
2114
2138
  paddingTop: 0,
2115
2139
  paddingBottom: 0,
2116
2140
  ".MuiTypography-root": {
2117
- ...o.typography.caption,
2141
+ ...theme2.typography.caption,
2118
2142
  fontWeight: 500
2119
2143
  },
2120
- [o.breakpoints.up("sm")]: {
2144
+ [theme2.breakpoints.up("sm")]: {
2121
2145
  // Overrides an unwanted Mui default style
2122
2146
  "&.MuiButtonBase-root": {
2123
- minHeight: o.spacing(3)
2147
+ minHeight: theme2.spacing(3)
2124
2148
  }
2125
2149
  }
2126
2150
  })
@@ -2129,12 +2153,12 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2129
2153
  // List
2130
2154
  MuiList: {
2131
2155
  styleOverrides: {
2132
- root: ({ theme: o }) => ({
2156
+ root: ({ theme: theme2 }) => ({
2133
2157
  paddingTop: 0,
2134
2158
  ".MuiPopover-root &, .MuiPopper-root &, .base-Popper-root &": {
2135
- minWidth: o.spacing(8),
2159
+ minWidth: theme2.spacing(8),
2136
2160
  // 64px, defined by design
2137
- maxHeight: o.spacing(39),
2161
+ maxHeight: theme2.spacing(39),
2138
2162
  // 312px, defined by design
2139
2163
  overflowY: "auto",
2140
2164
  "&:focus-visible": {
@@ -2143,26 +2167,26 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2143
2167
  }
2144
2168
  },
2145
2169
  ".MuiDivider-root": {
2146
- margin: o.spacing(1, 0)
2170
+ margin: theme2.spacing(1, 0)
2147
2171
  },
2148
2172
  // Indent sublevels, ugly but needed to avoid issues with hover
2149
2173
  "& .MuiList-root": {
2150
2174
  paddingTop: 0,
2151
2175
  paddingBottom: 0,
2152
2176
  "& .MuiListItem-root": {
2153
- paddingLeft: o.spacing(4)
2177
+ paddingLeft: theme2.spacing(4)
2154
2178
  },
2155
2179
  "& .MuiList-root": {
2156
2180
  "& .MuiListItem-root": {
2157
- paddingLeft: o.spacing(6)
2181
+ paddingLeft: theme2.spacing(6)
2158
2182
  },
2159
2183
  "& .MuiList-root": {
2160
2184
  "& .MuiListItem-root": {
2161
- paddingLeft: o.spacing(8)
2185
+ paddingLeft: theme2.spacing(8)
2162
2186
  },
2163
2187
  "& .MuiList-root": {
2164
2188
  "& .MuiListItem-root": {
2165
- paddingLeft: o.spacing(10)
2189
+ paddingLeft: theme2.spacing(10)
2166
2190
  }
2167
2191
  }
2168
2192
  }
@@ -2181,44 +2205,44 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2181
2205
  defaultProps: {
2182
2206
  primaryTypographyProps: {
2183
2207
  variant: "body2",
2184
- noWrap: !0,
2208
+ noWrap: true,
2185
2209
  component: "span"
2186
2210
  },
2187
2211
  secondaryTypographyProps: { variant: "caption" }
2188
2212
  },
2189
2213
  styleOverrides: {
2190
- root: ({ theme: o }) => ({
2191
- paddingRight: o.spacing(2),
2214
+ root: ({ theme: theme2 }) => ({
2215
+ paddingRight: theme2.spacing(2),
2192
2216
  "& + .MuiBox-root": {
2193
- marginRight: o.spacing(1)
2217
+ marginRight: theme2.spacing(1)
2194
2218
  }
2195
2219
  })
2196
2220
  }
2197
2221
  },
2198
2222
  MuiListItemIcon: {
2199
2223
  styleOverrides: {
2200
- root: ({ theme: o }) => ({
2224
+ root: ({ theme: theme2 }) => ({
2201
2225
  display: "flex",
2202
2226
  alignItems: "center",
2203
- gap: o.spacing(2),
2227
+ gap: theme2.spacing(2),
2204
2228
  "& .MuiSvgIcon-root": {
2205
- fontSize: e
2229
+ fontSize: ICON_SIZE_LARGE
2206
2230
  },
2207
2231
  ".MuiMenuItem-root.MuiButtonBase-root &": {
2208
- minWidth: r
2232
+ minWidth: ICON_SIZE_MEDIUM
2209
2233
  }
2210
2234
  })
2211
2235
  }
2212
2236
  },
2213
2237
  MuiListItemAvatar: {
2214
2238
  styleOverrides: {
2215
- root: ({ theme: o }) => ({
2239
+ root: ({ theme: theme2 }) => ({
2216
2240
  "& .MuiAvatar-root": {
2217
- height: o.spacing(4),
2218
- width: o.spacing(4)
2241
+ height: theme2.spacing(4),
2242
+ width: theme2.spacing(4)
2219
2243
  },
2220
2244
  "& .MuiSvgIcon-root": {
2221
- fontSize: r
2245
+ fontSize: ICON_SIZE_MEDIUM
2222
2246
  }
2223
2247
  })
2224
2248
  }
@@ -2226,9 +2250,9 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2226
2250
  // Tabs
2227
2251
  MuiTabs: {
2228
2252
  styleOverrides: {
2229
- root: ({ theme: o }) => ({
2253
+ root: ({ theme: theme2 }) => ({
2230
2254
  boxSizing: "content-box",
2231
- boxShadow: `0 1px 0 0 ${o.palette.black[12]}`
2255
+ boxShadow: `0 1px 0 0 ${theme2.palette.black[12]}`
2232
2256
  }),
2233
2257
  vertical: () => ({
2234
2258
  borderBottom: 0
@@ -2241,27 +2265,27 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2241
2265
  iconPosition: "start"
2242
2266
  },
2243
2267
  styleOverrides: {
2244
- root: ({ theme: o }) => ({
2245
- minHeight: o.spacing(6),
2246
- minWidth: o.spacing(6),
2247
- padding: o.spacing(0, 2),
2268
+ root: ({ theme: theme2 }) => ({
2269
+ minHeight: theme2.spacing(6),
2270
+ minWidth: theme2.spacing(6),
2271
+ padding: theme2.spacing(0, 2),
2248
2272
  paddingTop: "2px",
2249
2273
  borderBottom: "2px solid transparent",
2250
- ...o.typography.subtitle2,
2251
- color: o.palette.text.primary,
2274
+ ...theme2.typography.subtitle2,
2275
+ color: theme2.palette.text.primary,
2252
2276
  transition: "border 300ms cubic-bezier(0.4, 0, 0.2, 1)",
2253
2277
  "&:hover": {
2254
- borderBottomColor: o.palette.text.primary
2278
+ borderBottomColor: theme2.palette.text.primary
2255
2279
  },
2256
2280
  "&:focus-visible": {
2257
- outline: "none !important",
2258
- boxShadow: `inset 0 0 0 2px ${o.palette.primary.main} !important`,
2259
- borderRadius: `${o.shape.borderRadius}px ${o.shape.borderRadius}px 0 0`
2281
+ outline: `none !important`,
2282
+ boxShadow: `inset 0 0 0 2px ${theme2.palette.primary.main} !important`,
2283
+ borderRadius: `${theme2.shape.borderRadius}px ${theme2.shape.borderRadius}px 0 0`
2260
2284
  },
2261
2285
  "&.Mui-selected": {
2262
2286
  pointerEvents: "none",
2263
2287
  "& svg:not(.doNotFillIcon) path": {
2264
- fill: o.palette.primary.main
2288
+ fill: theme2.palette.primary.main
2265
2289
  }
2266
2290
  },
2267
2291
  ".MuiTabs-vertical &": {
@@ -2270,7 +2294,7 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2270
2294
  paddingLeft: "2px",
2271
2295
  borderRight: "2px solid transparent",
2272
2296
  "&:hover": {
2273
- borderRightColor: o.palette.text.primary
2297
+ borderRightColor: theme2.palette.text.primary
2274
2298
  }
2275
2299
  }
2276
2300
  }),
@@ -2282,21 +2306,21 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2282
2306
  // Breadcrumbs
2283
2307
  MuiBreadcrumbs: {
2284
2308
  styleOverrides: {
2285
- li: ({ theme: o }) => ({
2309
+ li: ({ theme: theme2 }) => ({
2286
2310
  "& .MuiTypography-root": {
2287
- ...o.typography.body2,
2311
+ ...theme2.typography.body2,
2288
2312
  display: "flex",
2289
2313
  flexDirection: "row",
2290
2314
  alignItems: "center"
2291
2315
  },
2292
2316
  "& .MuiSvgIcon-root": {
2293
- fontSize: r,
2294
- marginRight: o.spacing(1)
2317
+ fontSize: ICON_SIZE_MEDIUM,
2318
+ marginRight: theme2.spacing(1)
2295
2319
  }
2296
2320
  }),
2297
- separator: ({ theme: o }) => ({
2298
- marginLeft: o.spacing(0.5),
2299
- marginRight: o.spacing(0.5)
2321
+ separator: ({ theme: theme2 }) => ({
2322
+ marginLeft: theme2.spacing(0.5),
2323
+ marginRight: theme2.spacing(0.5)
2300
2324
  })
2301
2325
  }
2302
2326
  },
@@ -2311,7 +2335,10 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2311
2335
  })
2312
2336
  }
2313
2337
  }
2314
- }, U = 35, C = 39.5, vo = {
2338
+ };
2339
+ const calendarSize = 35;
2340
+ const dropdownHeight = 39.5;
2341
+ const datePickersOverrides = {
2315
2342
  // https://mui.com/x/react-date-pickers/date-picker/#customization
2316
2343
  MuiDatePicker: {
2317
2344
  defaultProps: {
@@ -2319,57 +2346,57 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2319
2346
  popper: { placement: "bottom-end" },
2320
2347
  textField: {
2321
2348
  InputLabelProps: {
2322
- shrink: !0
2349
+ shrink: true
2323
2350
  }
2324
2351
  }
2325
2352
  },
2326
2353
  slots: {
2327
- openPickerIcon: L,
2328
- clearIcon: v
2354
+ openPickerIcon: EventOutlined,
2355
+ clearIcon: Cancel
2329
2356
  }
2330
2357
  }
2331
2358
  },
2332
2359
  MuiDateCalendar: {
2333
2360
  defaultProps: {
2334
- dayOfWeekFormatter: (o) => `${o.toLocaleDateString("en-US", { weekday: "short" })}`,
2361
+ dayOfWeekFormatter: (weekday) => `${weekday.toLocaleDateString("en-US", { weekday: "short" })}`,
2335
2362
  slots: {
2336
- rightArrowIcon: co,
2337
- leftArrowIcon: go,
2338
- switchViewIcon: oo
2363
+ rightArrowIcon: ChevronRightOutlined,
2364
+ leftArrowIcon: ChevronLeftOutlined,
2365
+ switchViewIcon: ExpandMoreOutlined
2339
2366
  }
2340
2367
  },
2341
2368
  styleOverrides: {
2342
- root: ({ ownerState: o, theme: i }) => {
2343
- var c, m, S, w, I, B, z, O, T;
2369
+ root: ({ ownerState, theme: theme2 }) => {
2370
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i;
2344
2371
  return {
2345
- width: i.spacing(U),
2346
- height: i.spacing(C),
2347
- maxHeight: i.spacing(C),
2372
+ width: theme2.spacing(calendarSize),
2373
+ height: theme2.spacing(dropdownHeight),
2374
+ maxHeight: theme2.spacing(dropdownHeight),
2348
2375
  // Year only view
2349
- ...((c = o.views) == null ? void 0 : c.includes("year")) && !((m = o.views) != null && m.includes("month")) && !((S = o.views) != null && S.includes("day")) && {
2350
- height: i.spacing(33.5),
2376
+ ...((_a2 = ownerState.views) == null ? void 0 : _a2.includes("year")) && !((_b2 = ownerState.views) == null ? void 0 : _b2.includes("month")) && !((_c2 = ownerState.views) == null ? void 0 : _c2.includes("day")) && {
2377
+ height: theme2.spacing(33.5),
2351
2378
  // 268px
2352
- maxHeight: i.spacing(33.5)
2379
+ maxHeight: theme2.spacing(33.5)
2353
2380
  },
2354
2381
  // Month only view
2355
- ...((w = o.views) == null ? void 0 : w.includes("month")) && !((I = o.views) != null && I.includes("year")) && !((B = o.views) != null && B.includes("day")) && {
2356
- height: i.spacing(29),
2382
+ ...((_d2 = ownerState.views) == null ? void 0 : _d2.includes("month")) && !((_e2 = ownerState.views) == null ? void 0 : _e2.includes("year")) && !((_f2 = ownerState.views) == null ? void 0 : _f2.includes("day")) && {
2383
+ height: theme2.spacing(29),
2357
2384
  // 232px
2358
- maxHeight: i.spacing(29),
2385
+ maxHeight: theme2.spacing(29),
2359
2386
  "& .MuiPickersCalendarHeader-labelContainer": {
2360
2387
  cursor: "default"
2361
2388
  }
2362
2389
  },
2363
2390
  // Day only view
2364
- ...((z = o.views) == null ? void 0 : z.includes("day")) && !((O = o.views) != null && O.includes("year")) && !((T = o.views) != null && T.includes("month")) && {
2391
+ ...((_g2 = ownerState.views) == null ? void 0 : _g2.includes("day")) && !((_h2 = ownerState.views) == null ? void 0 : _h2.includes("year")) && !((_i = ownerState.views) == null ? void 0 : _i.includes("month")) && {
2365
2392
  "& .MuiPickersCalendarHeader-labelContainer": {
2366
2393
  cursor: "default"
2367
2394
  }
2368
2395
  },
2369
2396
  "& .MuiYearCalendar-root, & .MuiMonthCalendar-root": {
2370
- gap: i.spacing(0.5),
2371
- width: i.spacing(U),
2372
- padding: i.spacing(1, 2)
2397
+ gap: theme2.spacing(0.5),
2398
+ width: theme2.spacing(calendarSize),
2399
+ padding: theme2.spacing(1, 2)
2373
2400
  },
2374
2401
  "& .MuiPickersYear-root": {
2375
2402
  flexBasis: "22.5%"
@@ -2379,30 +2406,30 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2379
2406
  },
2380
2407
  "& .MuiPickersYear-yearButton, & .MuiPickersMonth-monthButton, & .MuiPickersDay-root": {
2381
2408
  width: "100%",
2382
- height: i.spacing(4),
2409
+ height: theme2.spacing(4),
2383
2410
  margin: 0,
2384
2411
  padding: 0,
2385
- ...i.typography.button,
2386
- borderRadius: i.shape.borderRadius,
2412
+ ...theme2.typography.button,
2413
+ borderRadius: theme2.shape.borderRadius,
2387
2414
  "&:hover": {
2388
- backgroundColor: i.palette.action.hover
2415
+ backgroundColor: theme2.palette.action.hover
2389
2416
  },
2390
2417
  "&.Mui-selected": {
2391
- backgroundColor: i.palette.primary.background,
2392
- color: i.palette.primary.main,
2418
+ backgroundColor: theme2.palette.primary.background,
2419
+ color: theme2.palette.primary.main,
2393
2420
  "&:focus": {
2394
- backgroundColor: i.palette.primary.background
2421
+ backgroundColor: theme2.palette.primary.background
2395
2422
  },
2396
2423
  "&:hover": {
2397
- backgroundColor: i.palette.action.hover
2424
+ backgroundColor: theme2.palette.action.hover
2398
2425
  }
2399
2426
  },
2400
2427
  "&.Mui-disabled": {
2401
- color: i.palette.text.disabled
2428
+ color: theme2.palette.text.disabled
2402
2429
  }
2403
2430
  },
2404
2431
  "& .MuiPickersDay-root": {
2405
- margin: i.spacing(0.25)
2432
+ margin: theme2.spacing(0.25)
2406
2433
  }
2407
2434
  };
2408
2435
  }
@@ -2410,91 +2437,91 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2410
2437
  },
2411
2438
  MuiPickersPopper: {
2412
2439
  styleOverrides: {
2413
- paper: ({ theme: o }) => ({
2414
- marginBottom: o.spacing(0.5)
2440
+ paper: ({ theme: theme2 }) => ({
2441
+ marginBottom: theme2.spacing(0.5)
2415
2442
  })
2416
2443
  }
2417
2444
  },
2418
2445
  MuiYearCalendar: {
2419
2446
  styleOverrides: {
2420
- root: ({ theme: o }) => ({
2421
- maxHeight: o.spacing(33.5)
2447
+ root: ({ theme: theme2 }) => ({
2448
+ maxHeight: theme2.spacing(33.5)
2422
2449
  // 268px
2423
2450
  })
2424
2451
  }
2425
2452
  },
2426
2453
  MuiPickersCalendarHeader: {
2427
2454
  styleOverrides: {
2428
- root: ({ theme: o }) => ({
2429
- maxHeight: o.spacing(4),
2430
- minHeight: o.spacing(4),
2455
+ root: ({ theme: theme2 }) => ({
2456
+ maxHeight: theme2.spacing(4),
2457
+ minHeight: theme2.spacing(4),
2431
2458
  margin: 0,
2432
- padding: o.spacing(1, 1, 1, 2),
2459
+ padding: theme2.spacing(1, 1, 1, 2),
2433
2460
  boxSizing: "content-box",
2434
2461
  "& .MuiIconButton-root": {
2435
- borderRadius: o.shape.borderRadius
2462
+ borderRadius: theme2.shape.borderRadius
2436
2463
  },
2437
2464
  "& .MuiPickersArrowSwitcher-spacer": {
2438
- width: o.spacing(4)
2465
+ width: theme2.spacing(4)
2439
2466
  }
2440
2467
  }),
2441
- label: ({ theme: o }) => ({
2442
- ...o.typography.subtitle2
2468
+ label: ({ theme: theme2 }) => ({
2469
+ ...theme2.typography.subtitle2
2443
2470
  }),
2444
- switchViewButton: ({ theme: o }) => ({
2445
- width: o.spacing(4),
2446
- height: o.spacing(4)
2471
+ switchViewButton: ({ theme: theme2 }) => ({
2472
+ width: theme2.spacing(4),
2473
+ height: theme2.spacing(4)
2447
2474
  })
2448
2475
  }
2449
2476
  },
2450
2477
  MuiDayCalendar: {
2451
2478
  styleOverrides: {
2452
- header: ({ theme: o }) => ({
2453
- margin: o.spacing(0, 2)
2479
+ header: ({ theme: theme2 }) => ({
2480
+ margin: theme2.spacing(0, 2)
2454
2481
  }),
2455
2482
  weekContainer: () => ({
2456
2483
  margin: 0
2457
2484
  }),
2458
- weekDayLabel: ({ theme: o }) => ({
2485
+ weekDayLabel: ({ theme: theme2 }) => ({
2459
2486
  flex: 1,
2460
- ...o.typography.caption,
2461
- fontWeight: o.typography.fontWeightRegular,
2462
- color: o.palette.text.secondary
2487
+ ...theme2.typography.caption,
2488
+ fontWeight: theme2.typography.fontWeightRegular,
2489
+ color: theme2.palette.text.secondary
2463
2490
  })
2464
2491
  }
2465
2492
  },
2466
2493
  MuiPickersDay: {
2467
2494
  styleOverrides: {
2468
- root: ({ theme: o }) => ({
2469
- width: `${o.spacing(4)} !important`,
2470
- height: o.spacing(4),
2495
+ root: ({ theme: theme2 }) => ({
2496
+ width: `${theme2.spacing(4)} !important`,
2497
+ height: theme2.spacing(4),
2471
2498
  "&:focus": {
2472
2499
  backgroundColor: "transparent"
2473
2500
  }
2474
2501
  }),
2475
- today: ({ theme: o }) => ({
2476
- border: `1px solid ${o.palette.default.outlinedBorder}`,
2502
+ today: ({ theme: theme2 }) => ({
2503
+ border: `1px solid ${theme2.palette.default.outlinedBorder}`,
2477
2504
  "&:hover, &:selected": {
2478
- borderColor: o.palette.primary.light
2505
+ borderColor: theme2.palette.primary.light
2479
2506
  },
2480
2507
  "&:not(.Mui-selected)": {
2481
- borderColor: o.palette.default.outlinedBorder
2508
+ borderColor: theme2.palette.default.outlinedBorder
2482
2509
  },
2483
2510
  "&.Mui-selected": {
2484
- borderColor: o.palette.primary.light,
2511
+ borderColor: theme2.palette.primary.light,
2485
2512
  "&:focus": {
2486
- borderColor: o.palette.primary.light
2513
+ borderColor: theme2.palette.primary.light
2487
2514
  }
2488
2515
  },
2489
2516
  "&.Mui-disabled": {
2490
- color: o.palette.text.disabled,
2491
- borderColor: o.palette.default.outlinedBorder,
2517
+ color: theme2.palette.text.disabled,
2518
+ borderColor: theme2.palette.default.outlinedBorder,
2492
2519
  backgroundColor: "transparent",
2493
2520
  "&.Mui-selected": {
2494
2521
  opacity: "1 !important",
2495
- color: o.palette.text.disabled,
2522
+ color: theme2.palette.text.disabled,
2496
2523
  backgroundColor: "transparent",
2497
- borderColor: o.palette.default.outlinedBorder
2524
+ borderColor: theme2.palette.default.outlinedBorder
2498
2525
  }
2499
2526
  }
2500
2527
  })
@@ -2504,9 +2531,9 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2504
2531
  defaultProps: {
2505
2532
  views: ["hours"],
2506
2533
  format: "hh:mm a",
2507
- ampm: !0,
2534
+ ampm: true,
2508
2535
  viewRenderers: {
2509
- hours: A
2536
+ hours: renderDigitalClockTimeView
2510
2537
  },
2511
2538
  timeSteps: { minutes: 30 },
2512
2539
  slotProps: {
@@ -2514,8 +2541,10 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2514
2541
  // Remove ok button at bottom
2515
2542
  },
2516
2543
  slots: {
2517
- clearIcon: v,
2518
- digitalClockItem: (o) => /* @__PURE__ */ s(W, { ...o, disableRipple: !0 })
2544
+ clearIcon: Cancel,
2545
+ digitalClockItem: (props) => {
2546
+ return /* @__PURE__ */ jsx(MenuItem, { ...props, disableRipple: true });
2547
+ }
2519
2548
  }
2520
2549
  }
2521
2550
  },
@@ -2523,9 +2552,9 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2523
2552
  defaultProps: {
2524
2553
  views: ["year", "month", "day", "hours"],
2525
2554
  format: "MM/dd/yyyy hh:mm a",
2526
- ampm: !0,
2555
+ ampm: true,
2527
2556
  viewRenderers: {
2528
- hours: A
2557
+ hours: renderDigitalClockTimeView
2529
2558
  },
2530
2559
  timeSteps: { minutes: 30 },
2531
2560
  slotProps: {
@@ -2536,35 +2565,39 @@ const io = 1, b = 0.5, y = io + b, bo = "M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-
2536
2565
  // Remove ok button at bottom
2537
2566
  },
2538
2567
  slots: {
2539
- openPickerIcon: L,
2540
- clearIcon: v,
2541
- digitalClockItem: (o) => /* @__PURE__ */ s(W, { ...o, disableRipple: !0 })
2568
+ openPickerIcon: EventOutlined,
2569
+ clearIcon: Cancel,
2570
+ digitalClockItem: (props) => {
2571
+ return /* @__PURE__ */ jsx(MenuItem, { ...props, disableRipple: true });
2572
+ }
2542
2573
  }
2543
2574
  }
2544
2575
  },
2545
2576
  MuiDigitalClock: {
2546
2577
  defaultProps: {
2547
2578
  timeStep: 30,
2548
- ampm: !0
2579
+ ampm: true
2549
2580
  },
2550
2581
  styleOverrides: {
2551
- root: ({ theme: o }) => ({
2552
- minWidth: o.spacing(15)
2582
+ root: ({ theme: theme2 }) => ({
2583
+ minWidth: theme2.spacing(15)
2553
2584
  // 120px defined in design specs
2554
2585
  }),
2555
- list: ({ theme: o }) => ({
2586
+ list: ({ theme: theme2 }) => ({
2556
2587
  ".MuiPopper-root &": {
2557
- maxHeight: o.spacing(C),
2558
- paddingBottom: o.spacing(1)
2588
+ maxHeight: theme2.spacing(dropdownHeight),
2589
+ paddingBottom: theme2.spacing(1)
2559
2590
  }
2560
2591
  })
2561
2592
  }
2562
2593
  }
2563
2594
  };
2564
- function a(o) {
2565
- return 0.0625 * o + "rem";
2595
+ function getPixelToRem(px) {
2596
+ const fontBase = 16;
2597
+ const rem = 1 / fontBase * px + "rem";
2598
+ return rem;
2566
2599
  }
2567
- const k = {
2600
+ const baseTypography = {
2568
2601
  htmlFontSize: 16,
2569
2602
  fontFamily: "Inter, sans-serif",
2570
2603
  fontSize: 16,
@@ -2577,77 +2610,77 @@ const k = {
2577
2610
  h1: {
2578
2611
  fontFamily: "Inter, sans-serif",
2579
2612
  fontWeight: 600,
2580
- fontSize: a(96),
2613
+ fontSize: getPixelToRem(96),
2581
2614
  lineHeight: 1.167,
2582
2615
  letterSpacing: "-1.5px"
2583
2616
  },
2584
2617
  h2: {
2585
2618
  fontFamily: "Inter, sans-serif",
2586
2619
  fontWeight: 600,
2587
- fontSize: a(60),
2620
+ fontSize: getPixelToRem(60),
2588
2621
  lineHeight: 1.2,
2589
2622
  letterSpacing: "-0.5px"
2590
2623
  },
2591
2624
  h3: {
2592
2625
  fontFamily: "Inter, sans-serif",
2593
2626
  fontWeight: 600,
2594
- fontSize: a(48),
2627
+ fontSize: getPixelToRem(48),
2595
2628
  lineHeight: 1.167,
2596
2629
  letterSpacing: 0
2597
2630
  },
2598
2631
  h4: {
2599
2632
  fontFamily: "Inter, sans-serif",
2600
2633
  fontWeight: 600,
2601
- fontSize: a(32),
2634
+ fontSize: getPixelToRem(32),
2602
2635
  lineHeight: 1.25,
2603
2636
  letterSpacing: 0
2604
2637
  },
2605
2638
  h5: {
2606
2639
  fontFamily: "Inter, sans-serif",
2607
2640
  fontWeight: 600,
2608
- fontSize: a(24),
2641
+ fontSize: getPixelToRem(24),
2609
2642
  lineHeight: 1.167,
2610
2643
  letterSpacing: 0
2611
2644
  },
2612
2645
  h6: {
2613
2646
  fontFamily: "Inter, sans-serif",
2614
2647
  fontWeight: 500,
2615
- fontSize: a(18),
2648
+ fontSize: getPixelToRem(18),
2616
2649
  lineHeight: 1.333,
2617
2650
  letterSpacing: 0
2618
2651
  },
2619
2652
  subtitle1: {
2620
2653
  fontFamily: "Inter, sans-serif",
2621
2654
  fontWeight: 500,
2622
- fontSize: a(16),
2655
+ fontSize: getPixelToRem(16),
2623
2656
  lineHeight: 1.5,
2624
2657
  letterSpacing: 0
2625
2658
  },
2626
2659
  subtitle2: {
2627
2660
  fontFamily: "Inter, sans-serif",
2628
2661
  fontWeight: 600,
2629
- fontSize: a(13),
2662
+ fontSize: getPixelToRem(13),
2630
2663
  lineHeight: 1.538,
2631
2664
  letterSpacing: 0
2632
2665
  },
2633
2666
  body1: {
2634
2667
  fontFamily: "Inter, sans-serif",
2635
2668
  fontWeight: 400,
2636
- fontSize: a(16),
2669
+ fontSize: getPixelToRem(16),
2637
2670
  lineHeight: 1.5,
2638
2671
  letterSpacing: 0
2639
2672
  },
2640
2673
  body2: {
2641
2674
  fontFamily: "Inter, sans-serif",
2642
2675
  fontWeight: 400,
2643
- fontSize: a(13),
2676
+ fontSize: getPixelToRem(13),
2644
2677
  lineHeight: 1.538,
2645
2678
  letterSpacing: 0
2646
2679
  },
2647
2680
  button: {
2648
2681
  fontFamily: "Inter, sans-serif",
2649
2682
  fontWeight: 500,
2650
- fontSize: a(13),
2683
+ fontSize: getPixelToRem(13),
2651
2684
  lineHeight: 1.538,
2652
2685
  letterSpacing: 0,
2653
2686
  textTransform: "inherit"
@@ -2655,33 +2688,34 @@ const k = {
2655
2688
  caption: {
2656
2689
  fontFamily: "Inter, sans-serif",
2657
2690
  fontWeight: 400,
2658
- fontSize: a(11),
2691
+ fontSize: getPixelToRem(11),
2659
2692
  lineHeight: 1.454,
2660
2693
  letterSpacing: 0
2661
2694
  },
2662
2695
  overline: {
2663
2696
  fontFamily: "Inter, sans-serif",
2664
2697
  fontWeight: 500,
2665
- fontSize: a(10),
2698
+ fontSize: getPixelToRem(10),
2666
2699
  lineHeight: 1.2,
2667
2700
  letterSpacing: "1.2px",
2668
2701
  textTransform: "uppercase"
2669
2702
  }
2670
- }, ho = {
2703
+ };
2704
+ const customTypography = {
2671
2705
  captionMedium: {
2672
- ...k.caption,
2706
+ ...baseTypography.caption,
2673
2707
  fontWeight: 500,
2674
2708
  letterSpacing: 0
2675
2709
  },
2676
2710
  overlineDelicate: {
2677
- ...k.overline,
2711
+ ...baseTypography.overline,
2678
2712
  fontWeight: 400,
2679
2713
  letterSpacing: "1.2px"
2680
2714
  },
2681
2715
  code1: {
2682
2716
  fontFamily: '"Overpass Mono", monospace',
2683
2717
  fontWeight: 400,
2684
- fontSize: a(16),
2718
+ fontSize: getPixelToRem(16),
2685
2719
  lineHeight: 1.5,
2686
2720
  letterSpacing: 0,
2687
2721
  fontVariantLigatures: "no-common-ligatures"
@@ -2689,7 +2723,7 @@ const k = {
2689
2723
  code2: {
2690
2724
  fontFamily: '"Overpass Mono", monospace',
2691
2725
  fontWeight: 400,
2692
- fontSize: a(14),
2726
+ fontSize: getPixelToRem(14),
2693
2727
  lineHeight: 1.428,
2694
2728
  letterSpacing: 0,
2695
2729
  fontVariantLigatures: "no-common-ligatures"
@@ -2697,21 +2731,21 @@ const k = {
2697
2731
  code3: {
2698
2732
  fontFamily: '"Overpass Mono", monospace',
2699
2733
  fontWeight: 400,
2700
- fontSize: a(12),
2734
+ fontSize: getPixelToRem(12),
2701
2735
  lineHeight: 1.333,
2702
2736
  letterSpacing: 0,
2703
2737
  fontVariantLigatures: "no-common-ligatures"
2704
2738
  }
2705
- }, ro = {
2706
- ...k,
2707
- ...ho
2708
2739
  };
2709
- var Z, _, K, q, Q, Y, X, J;
2710
- const Co = {
2740
+ const themeTypography = {
2741
+ ...baseTypography,
2742
+ ...customTypography
2743
+ };
2744
+ const CssBaseline = {
2711
2745
  // Accessibility focus (keyboard only)
2712
2746
  "*:focus-visible": {
2713
- outline: `2px solid ${(Z = p.primary) == null ? void 0 : Z.main} !important`,
2714
- boxShadow: `0 0 0 4px ${(_ = p.primary) == null ? void 0 : _.background} !important`,
2747
+ outline: `2px solid ${(_a = commonPalette.primary) == null ? void 0 : _a.main} !important`,
2748
+ boxShadow: `0 0 0 4px ${(_b = commonPalette.primary) == null ? void 0 : _b.background} !important`,
2715
2749
  borderRadius: "4px"
2716
2750
  },
2717
2751
  // Custom scrollbars
@@ -2730,42 +2764,42 @@ const Co = {
2730
2764
  },
2731
2765
  "*::-webkit-scrollbar-thumb": {
2732
2766
  borderRadius: "3px",
2733
- background: (K = p.action) == null ? void 0 : K.focus,
2767
+ background: (_c = commonPalette.action) == null ? void 0 : _c.focus,
2734
2768
  outline: "none"
2735
2769
  },
2736
2770
  // iOS Search clear button
2737
2771
  'input[type="search"]::-webkit-search-cancel-button': {
2738
2772
  WebkitAppearance: "none",
2739
2773
  appearance: "none",
2740
- height: t(2),
2741
- width: t(2),
2774
+ height: getSpacing(2),
2775
+ width: getSpacing(2),
2742
2776
  display: "block",
2743
- backgroundImage: "url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)",
2777
+ backgroundImage: `url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC)`,
2744
2778
  backgroundRepeat: "no-repeat",
2745
- backgroundSize: t(2)
2779
+ backgroundSize: getSpacing(2)
2746
2780
  },
2747
2781
  // Mapbox controls
2748
2782
  ".mapboxgl-ctrl.mapboxgl-ctrl-attrib": {
2749
- padding: t(0, 1),
2750
- borderRadius: t(0.5, 0, 0, 0),
2783
+ padding: getSpacing(0, 1),
2784
+ borderRadius: getSpacing(0.5, 0, 0, 0),
2751
2785
  "& .mapboxgl-ctrl-attrib-inner": {
2752
- ...ro.overline,
2786
+ ...themeTypography.overline,
2753
2787
  textTransform: "none",
2754
2788
  letterSpacing: "0.75px",
2755
2789
  "& a": {
2756
- color: (q = p.primary) == null ? void 0 : q.main
2790
+ color: (_d = commonPalette.primary) == null ? void 0 : _d.main
2757
2791
  }
2758
2792
  },
2759
2793
  "&.mapboxgl-compact": {
2760
2794
  backgroundColor: "transparent",
2761
- right: t(0.5),
2762
- bottom: t(2.5),
2795
+ right: getSpacing(0.5),
2796
+ bottom: getSpacing(2.5),
2763
2797
  // Mobile
2764
2798
  "@media (max-width: 600px)": {
2765
- bottom: t(0.5)
2799
+ bottom: getSpacing(0.5)
2766
2800
  },
2767
2801
  "& .mapboxgl-ctrl-attrib-button": {
2768
- 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='${(Q = p.text) == null ? void 0 : Q.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
2802
+ 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='${(_e = commonPalette.text) == null ? void 0 : _e.secondary}'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
2769
2803
  backgroundColor: "rgba(255,255,255,.8)",
2770
2804
  top: "auto",
2771
2805
  bottom: 0,
@@ -2776,23 +2810,24 @@ const Co = {
2776
2810
  },
2777
2811
  "& .mapboxgl-ctrl-attrib-inner": {
2778
2812
  backgroundColor: "rgba(255,255,255,.8)",
2779
- padding: t(0.5, 1),
2780
- borderRadius: t(1.5),
2781
- marginRight: t(2.5),
2782
- color: (Y = p.text) == null ? void 0 : Y.secondary
2813
+ padding: getSpacing(0.5, 1),
2814
+ borderRadius: getSpacing(1.5),
2815
+ marginRight: getSpacing(2.5),
2816
+ color: (_f = commonPalette.text) == null ? void 0 : _f.secondary
2783
2817
  },
2784
2818
  "&.mapboxgl-compact-show": {
2785
2819
  "& .mapboxgl-ctrl-attrib-button": {
2786
2820
  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")`,
2787
- backgroundColor: (X = p.common) == null ? void 0 : X.black,
2821
+ backgroundColor: (_g = commonPalette.common) == null ? void 0 : _g.black,
2788
2822
  "&:not(:disabled):hover": {
2789
- backgroundColor: (J = p.common) == null ? void 0 : J.black
2823
+ backgroundColor: (_h = commonPalette.common) == null ? void 0 : _h.black
2790
2824
  }
2791
2825
  }
2792
2826
  }
2793
2827
  }
2794
2828
  }
2795
- }, ko = {
2829
+ };
2830
+ const feedbackOverrides = {
2796
2831
  // SnackBar
2797
2832
  MuiSnackbar: {
2798
2833
  defaultProps: {
@@ -2809,18 +2844,18 @@ const Co = {
2809
2844
  variant: "rounded"
2810
2845
  },
2811
2846
  styleOverrides: {
2812
- root: ({ theme: o }) => ({
2813
- backgroundColor: o.palette.black[8]
2847
+ root: ({ theme: theme2 }) => ({
2848
+ backgroundColor: theme2.palette.black[8]
2814
2849
  }),
2815
- rounded: ({ theme: o }) => ({
2816
- borderRadius: o.spacing(0.5)
2850
+ rounded: ({ theme: theme2 }) => ({
2851
+ borderRadius: theme2.spacing(0.5)
2817
2852
  }),
2818
- text: ({ theme: o }) => ({
2819
- borderRadius: o.spacing(0.5)
2853
+ text: ({ theme: theme2 }) => ({
2854
+ borderRadius: theme2.spacing(0.5)
2820
2855
  }),
2821
- wave: ({ theme: o }) => ({
2856
+ wave: ({ theme: theme2 }) => ({
2822
2857
  "&::after": {
2823
- background: `linear-gradient( 90deg, transparent, ${o.palette.black[4]}, transparent )`
2858
+ background: `linear-gradient( 90deg, transparent, ${theme2.palette.black[4]}, transparent )`
2824
2859
  }
2825
2860
  })
2826
2861
  }
@@ -2829,35 +2864,35 @@ const Co = {
2829
2864
  MuiAlert: {
2830
2865
  defaultProps: {
2831
2866
  iconMapping: {
2832
- success: /* @__PURE__ */ s(uo, {})
2867
+ success: /* @__PURE__ */ jsx(CheckCircleOutlined, {})
2833
2868
  }
2834
2869
  },
2835
2870
  styleOverrides: {
2836
- root: ({ theme: o }) => ({
2837
- borderRadius: o.spacing(1),
2871
+ root: ({ theme: theme2 }) => ({
2872
+ borderRadius: theme2.spacing(1),
2838
2873
  alignSelf: "start",
2839
2874
  width: "100%",
2840
- padding: o.spacing(1.5)
2875
+ padding: theme2.spacing(1.5)
2841
2876
  }),
2842
- icon: ({ theme: o }) => ({
2843
- height: o.spacing(3),
2877
+ icon: ({ theme: theme2 }) => ({
2878
+ height: theme2.spacing(3),
2844
2879
  display: "flex",
2845
2880
  alignItems: "center",
2846
2881
  padding: 0,
2847
- marginRight: o.spacing(1),
2882
+ marginRight: theme2.spacing(1),
2848
2883
  svg: {
2849
- width: r,
2850
- height: r
2884
+ width: ICON_SIZE_MEDIUM,
2885
+ height: ICON_SIZE_MEDIUM
2851
2886
  }
2852
2887
  }),
2853
2888
  action: () => ({
2854
2889
  paddingTop: 0,
2855
2890
  marginRight: 0
2856
2891
  }),
2857
- message: ({ theme: o }) => ({
2858
- paddingTop: o.spacing(0.5),
2892
+ message: ({ theme: theme2 }) => ({
2893
+ paddingTop: theme2.spacing(0.5),
2859
2894
  paddingBottom: 0,
2860
- ...o.typography.caption
2895
+ ...theme2.typography.caption
2861
2896
  })
2862
2897
  }
2863
2898
  },
@@ -2867,34 +2902,35 @@ const Co = {
2867
2902
  variant: "body2"
2868
2903
  },
2869
2904
  styleOverrides: {
2870
- root: ({ theme: o }) => ({
2871
- marginBottom: o.spacing(0.5),
2872
- fontWeight: o.typography.fontWeightBold,
2905
+ root: ({ theme: theme2 }) => ({
2906
+ marginBottom: theme2.spacing(0.5),
2907
+ fontWeight: theme2.typography.fontWeightBold,
2873
2908
  color: "inherit"
2874
2909
  })
2875
2910
  }
2876
2911
  }
2877
- }, mo = {
2912
+ };
2913
+ const surfacesOverrides = {
2878
2914
  // AppBar
2879
2915
  MuiAppBar: {
2880
2916
  styleOverrides: {
2881
- root: ({ theme: o }) => ({
2917
+ root: ({ theme: theme2 }) => ({
2882
2918
  flexDirection: "row",
2883
2919
  alignItems: "center",
2884
2920
  justifyContent: "space-between",
2885
- height: R,
2886
- backgroundColor: o.palette.brand.navyBlue,
2887
- color: o.palette.common.white,
2888
- boxShadow: o.shadows[0],
2921
+ height: APPBAR_SIZE,
2922
+ backgroundColor: theme2.palette.brand.navyBlue,
2923
+ color: theme2.palette.common.white,
2924
+ boxShadow: theme2.shadows[0],
2889
2925
  "& .MuiToolbar-root": {
2890
2926
  justifyContent: "space-between",
2891
2927
  width: "100%",
2892
- padding: o.spacing(0, 1),
2893
- minHeight: R
2928
+ padding: theme2.spacing(0, 1),
2929
+ minHeight: APPBAR_SIZE
2894
2930
  },
2895
2931
  "& .MuiAvatar-root": {
2896
- width: o.spacing(4),
2897
- height: o.spacing(4)
2932
+ width: theme2.spacing(4),
2933
+ height: theme2.spacing(4)
2898
2934
  }
2899
2935
  })
2900
2936
  }
@@ -2902,14 +2938,14 @@ const Co = {
2902
2938
  // MuiAccordion
2903
2939
  MuiAccordion: {
2904
2940
  defaultProps: {
2905
- disableGutters: !0,
2941
+ disableGutters: true,
2906
2942
  elevation: 0
2907
2943
  },
2908
2944
  styleOverrides: {
2909
- root: ({ theme: o }) => ({
2910
- ...o.typography.body2,
2945
+ root: ({ theme: theme2 }) => ({
2946
+ ...theme2.typography.body2,
2911
2947
  backgroundColor: "transparent",
2912
- boxShadow: `inset 0 -1px 0 0 ${o.palette.divider}`,
2948
+ boxShadow: `inset 0 -1px 0 0 ${theme2.palette.divider}`,
2913
2949
  "&:last-of-type": {
2914
2950
  boxShadow: "none"
2915
2951
  },
@@ -2925,25 +2961,25 @@ const Co = {
2925
2961
  // MuiAccordionSummary
2926
2962
  MuiAccordionSummary: {
2927
2963
  defaultProps: {
2928
- expandIcon: /* @__PURE__ */ s(oo, {})
2964
+ expandIcon: /* @__PURE__ */ jsx(ExpandMoreOutlined, {})
2929
2965
  },
2930
2966
  styleOverrides: {
2931
- root: ({ theme: o }) => ({
2932
- ...o.typography.button,
2967
+ root: ({ theme: theme2 }) => ({
2968
+ ...theme2.typography.button,
2933
2969
  "&.Mui-disabled": {
2934
2970
  opacity: 1,
2935
- color: o.palette.text.disabled
2971
+ color: theme2.palette.text.disabled
2936
2972
  },
2937
2973
  "&.Mui-focusVisible": {
2938
2974
  backgroundColor: "transparent",
2939
- borderRadius: o.shape.borderRadius
2975
+ borderRadius: theme2.shape.borderRadius
2940
2976
  }
2941
2977
  }),
2942
- expandIconWrapper: ({ theme: o }) => ({
2978
+ expandIconWrapper: ({ theme: theme2 }) => ({
2943
2979
  "& svg": {
2944
- color: o.palette.text.secondary,
2980
+ color: theme2.palette.text.secondary,
2945
2981
  ".Mui-disabled &": {
2946
- color: o.palette.text.disabled
2982
+ color: theme2.palette.text.disabled
2947
2983
  }
2948
2984
  }
2949
2985
  })
@@ -2952,12 +2988,13 @@ const Co = {
2952
2988
  // MuiAccordionDetails
2953
2989
  MuiAccordionDetails: {
2954
2990
  styleOverrides: {
2955
- root: ({ theme: o }) => ({
2956
- paddingBottom: o.spacing(3)
2991
+ root: ({ theme: theme2 }) => ({
2992
+ paddingBottom: theme2.spacing(3)
2957
2993
  })
2958
2994
  }
2959
2995
  }
2960
- }, So = [
2996
+ };
2997
+ const themeShadows = [
2961
2998
  "none",
2962
2999
  // 0
2963
3000
  "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)",
@@ -2991,20 +3028,21 @@ const Co = {
2991
3028
  "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)",
2992
3029
  "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)"
2993
3030
  // 24
2994
- ], wo = {
3031
+ ];
3032
+ const cartoThemeOptions = {
2995
3033
  themeName: "CARTO",
2996
3034
  breakpoints: {
2997
3035
  keys: ["xs", "sm", "md", "lg", "xl"],
2998
3036
  values: {
2999
- xs: g.XS,
3037
+ xs: BREAKPOINTS.XS,
3000
3038
  // 320 - 599
3001
- sm: g.SM,
3039
+ sm: BREAKPOINTS.SM,
3002
3040
  // 600 - 959
3003
- md: g.MD,
3041
+ md: BREAKPOINTS.MD,
3004
3042
  // 960 - 1279
3005
- lg: g.LG,
3043
+ lg: BREAKPOINTS.LG,
3006
3044
  // 1280 - 1599
3007
- xl: g.XL
3045
+ xl: BREAKPOINTS.XL
3008
3046
  // 1600+
3009
3047
  },
3010
3048
  unit: "px",
@@ -3029,12 +3067,12 @@ const Co = {
3029
3067
  }
3030
3068
  }
3031
3069
  },
3032
- palette: p,
3033
- shadows: So,
3034
- typography: ro,
3035
- spacingValue: P,
3070
+ palette: commonPalette,
3071
+ shadows: themeShadows,
3072
+ typography: themeTypography,
3073
+ spacingValue: SPACING,
3036
3074
  // For situations where we can't use theme.spacing(), mainly math calculations.er
3037
- spacing: P,
3075
+ spacing: SPACING,
3038
3076
  // For custom spacing: https://material-ui.com/customization/spacing/#custom-spacing
3039
3077
  shape: {
3040
3078
  borderRadius: 4
@@ -3071,28 +3109,29 @@ const Co = {
3071
3109
  components: {
3072
3110
  MuiCssBaseline: {
3073
3111
  styleOverrides: {
3074
- ...Co
3112
+ ...CssBaseline
3075
3113
  }
3076
3114
  },
3077
- ...yo,
3078
- ...Mo,
3079
- ...fo,
3080
- ...xo,
3081
- ...ko,
3082
- ...mo,
3083
- ...vo
3115
+ ...buttonsOverrides,
3116
+ ...formsOverrides,
3117
+ ...navigationOverrides,
3118
+ ...dataDisplayOverrides,
3119
+ ...feedbackOverrides,
3120
+ ...surfacesOverrides,
3121
+ ...datePickersOverrides
3084
3122
  }
3085
- }, Ao = to(eo(wo));
3123
+ };
3124
+ const theme = responsiveFontSizes(createTheme(cartoThemeOptions));
3086
3125
  export {
3087
- R as APPBAR_SIZE,
3088
- g as BREAKPOINTS,
3089
- e as ICON_SIZE_LARGE,
3090
- r as ICON_SIZE_MEDIUM,
3091
- u as ICON_SIZE_SMALL,
3092
- Do as NOTIFICATION_DURATION_IN_MS,
3093
- P as SPACING,
3094
- wo as cartoThemeOptions,
3095
- Eo as getCartoColorStylePropsForItem,
3096
- t as getSpacing,
3097
- Ao as theme
3126
+ APPBAR_SIZE,
3127
+ BREAKPOINTS,
3128
+ ICON_SIZE_LARGE,
3129
+ ICON_SIZE_MEDIUM,
3130
+ ICON_SIZE_SMALL,
3131
+ N as NOTIFICATION_DURATION_IN_MS,
3132
+ SPACING,
3133
+ cartoThemeOptions,
3134
+ g as getCartoColorStylePropsForItem,
3135
+ getSpacing,
3136
+ theme
3098
3137
  };