@clearstory/drywall-react 0.10.5 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/dist/{Accordion-S-9ig5iB.js → Accordion-Cih5mCWA.js} +9 -9
  2. package/dist/{AccordionActions-Bj2rMlya.js → AccordionActions-CZKFRLeD.js} +4 -4
  3. package/dist/{AccordionDetails-BH0wSMCY.js → AccordionDetails-CJX0wSGS.js} +5 -5
  4. package/dist/{AccordionSummary-Cpq-mrc1.js → AccordionSummary-CyBq5RDz.js} +6 -6
  5. package/dist/{Alert-eOC_FMFQ.js → Alert-BeTk_0H1.js} +9 -9
  6. package/dist/{AlertTitle-DvV8RlwB.js → AlertTitle-CQOcedyw.js} +6 -6
  7. package/dist/{ArrowDropDown-BgQPKyVo.js → ArrowDropDown-O4JpwP7g.js} +4 -4
  8. package/dist/{Autocomplete-DwK9vbLW.js → Autocomplete-Cy7Ibl9l.js} +15 -15
  9. package/dist/{Avatar-jgabqf4T.js → Avatar-CJG_wB8n.js} +6 -6
  10. package/dist/{AvatarGroup-BiPpV3V0.js → AvatarGroup-DuwcaWXO.js} +6 -6
  11. package/dist/{Backdrop-CM_4XVMy.js → Backdrop-Bgq-4GgZ.js} +7 -7
  12. package/dist/{Badge-CyhvuA_Z.js → Badge-DCa5JieT.js} +5 -5
  13. package/dist/{Box-CxNOPJvz.js → Box-DfxM9AWa.js} +15 -14
  14. package/dist/{Breadcrumbs-Cft4j-hV.js → Breadcrumbs-Bf85QeMJ.js} +8 -8
  15. package/dist/{Button-COL4iRlU.js → Button-CgoTX2TU.js} +8 -8
  16. package/dist/{ButtonBase-CpUw-QtE.js → ButtonBase-DCiJbdwe.js} +18 -17
  17. package/dist/{ButtonGroup-C87f8QmR.js → ButtonGroup-UBMaUXnY.js} +5 -5
  18. package/dist/{Card-BxPi1p3n.js → Card-Dq-P1pz6.js} +5 -5
  19. package/dist/{CardActionArea-DHzdBQvU.js → CardActionArea-DmdBq04-.js} +6 -6
  20. package/dist/{CardActions-RYw2HlUT.js → CardActions-C69Q7QKd.js} +4 -4
  21. package/dist/{CardContent-h4MaBuw4.js → CardContent-C5nTWSzs.js} +4 -4
  22. package/dist/{CardHeader-BTyRiOBj.js → CardHeader-BwCBjPel.js} +5 -5
  23. package/dist/{CardMedia-HLO9pYNb.js → CardMedia-C6dO35VD.js} +4 -4
  24. package/dist/{Checkbox-D9sim04m.js → Checkbox-D5SnLWie.js} +7 -7
  25. package/dist/{Chip-CSO1vkft.js → Chip-BMPA6GZV.js} +7 -7
  26. package/dist/{CircularProgress-B1iR03OJ.js → CircularProgress-B8xCR_YK.js} +6 -6
  27. package/dist/{Clear-B6UFhYkq.js → Clear-CqNb0Dn5.js} +1 -1
  28. package/dist/{Close-BwH3TA4O.js → Close-ComaZWzF.js} +1 -1
  29. package/dist/{CssBaseline-ChXW-lDm.js → CssBaseline-BKowmfAC.js} +3 -3
  30. package/dist/{DefaultPropsProvider-DUOqS8L2.js → DefaultPropsProvider-Beomajhe.js} +1 -1
  31. package/dist/{DefaultPropsProvider-KSFdt1Vj.js → DefaultPropsProvider-Bz3RqgcW.js} +2 -2
  32. package/dist/{Dialog-i3nzBMT2.js → Dialog-CdqDM9xt.js} +9 -9
  33. package/dist/{DialogActions-pMkPlDJa.js → DialogActions-DWv9dV9d.js} +4 -4
  34. package/dist/{DialogContent-DYtiCcix.js → DialogContent-DTUuT4-m.js} +6 -6
  35. package/dist/{DialogContentText-C2WdpAcs.js → DialogContentText-Dco20Lvw.js} +5 -5
  36. package/dist/{DialogTitle-BK6jv59S.js → DialogTitle-AeunzDgb.js} +5 -5
  37. package/dist/{Divider-DDV0xOjn.js → Divider-DWpOVS52.js} +5 -5
  38. package/dist/{Drawer-B0oUvU3L.js → Drawer-CiSmLkR8.js} +12 -12
  39. package/dist/{FormControl-0xfvuzUE.js → FormControl-B7JL8EuG.js} +4 -4
  40. package/dist/{FormControlLabel-AEewOdP0.js → FormControlLabel-DesDT37a.js} +7 -7
  41. package/dist/{FormGroup-_rBOc32r.js → FormGroup-JwhVUQCA.js} +4 -4
  42. package/dist/{FormHelperText-CKvEXrjK.js → FormHelperText-BhkQ5_hB.js} +5 -5
  43. package/dist/{FormLabel-CMnHFXtL.js → FormLabel-PC7aAn3t.js} +5 -5
  44. package/dist/{GlobalStyles-pxjq1n4M.js → GlobalStyles-BSzzpdnX.js} +12 -11
  45. package/dist/{Grow-BCRgt21D.js → Grow-BtxpW1dC.js} +4 -4
  46. package/dist/{IconButton-BQ_D5F4O.js → IconButton-Cu1bCs6U.js} +7 -7
  47. package/dist/{Info-D8oILDHh.js → Info-BYC5DFVn.js} +1 -1
  48. package/dist/{Input-CGI65XMK.js → Input-DQrOd2UB.js} +59 -53
  49. package/dist/{InputAdornment-BYsadbzw.js → InputAdornment-CzwVRVQa.js} +6 -6
  50. package/dist/{LinearProgress-Dv2-wGUT.js → LinearProgress-BEzKf95q.js} +7 -7
  51. package/dist/{Link-DtMUkZ_j.js → Link-Cu8Vv81I.js} +8 -8
  52. package/dist/{List-NhDqHGIf.js → List-DEcL1ZIH.js} +4 -4
  53. package/dist/{ListItem-D3_gMUFO.js → ListItem-lqQfZlib.js} +7 -7
  54. package/dist/{ListItemAvatar-DoreDYzA.js → ListItemAvatar-5x2VAuVt.js} +4 -4
  55. package/dist/{ListItemButton-3mIYKPuf.js → ListItemButton-BIfAZMKH.js} +6 -6
  56. package/dist/{ListItemIcon-Ct627wOe.js → ListItemIcon-DyzHrrZ1.js} +5 -5
  57. package/dist/{ListItemText-DvemitEx.js → ListItemText-N6tIRVu7.js} +5 -5
  58. package/dist/{ListSubheader-CrcukSIN.js → ListSubheader-8yBF27fw.js} +5 -5
  59. package/dist/{Menu-RfPRttR9.js → Menu-DRHRxgXM.js} +12 -12
  60. package/dist/{MenuItem-BI539mdA.js → MenuItem-CZZ8Q03L.js} +9 -9
  61. package/dist/{MenuList-Cw5m9Dnj.js → MenuList-BuMX30Nu.js} +2 -2
  62. package/dist/{Modal-CkkQlR8f.js → Modal-CvPRZ9ia.js} +8 -8
  63. package/dist/{Paper-cpl9lHzy.js → Paper-C__CjfAR.js} +6 -6
  64. package/dist/{Popper-D6ngG2Rt.js → Popper-DarIdO5_.js} +7 -7
  65. package/dist/{Portal-BnonSZqn.js → Portal-BXbCjN4B.js} +1 -1
  66. package/dist/{Radio-CkKki1U2.js → Radio-a-_byMf2.js} +8 -8
  67. package/dist/{RadioGroup-BSjm8fVu.js → RadioGroup-D3j4stGh.js} +3 -3
  68. package/dist/{Select-PSJab9wR.js → Select-D4_Tfb3v.js} +9 -9
  69. package/dist/{SelectControl-DIp6AKWn.js → SelectControl-C27kiG31.js} +70 -69
  70. package/dist/{Skeleton-DxQ6mAsY.js → Skeleton-CPIYLtjM.js} +6 -6
  71. package/dist/{Snackbar-CiJ0tBj3.js → Snackbar-DrJUYY3q.js} +9 -9
  72. package/dist/{SvgIcon-xRzoI1sK.js → SvgIcon-DnWxuDIh.js} +5 -5
  73. package/dist/{Switch-BML-6IUD.js → Switch-Y_O2PXuD.js} +7 -7
  74. package/dist/{SwitchBase-BEG8DxOU.js → SwitchBase-DLZfokgs.js} +5 -5
  75. package/dist/{Tab-Bx22IZfB.js → Tab-CkO6g07h.js} +6 -6
  76. package/dist/{Tabs-im_gEiJr.js → Tabs-BEojaum9.js} +10 -10
  77. package/dist/ThemeProviderWithVars-BAdUW-CW.js +629 -0
  78. package/dist/{Toolbar-CGm_jgRX.js → Toolbar-BVNIzEmz.js} +5 -5
  79. package/dist/{Tooltip-Be3G-mmr.js → Tooltip-8sUPKn9t.js} +10 -10
  80. package/dist/{Typography-D2qnm7G7.js → Typography-DPGyy9yl.js} +6 -6
  81. package/dist/{WarningAmberOutlined-BAU1Dvpm.js → WarningAmberOutlined-75H0G63B.js} +1 -1
  82. package/dist/{ZoomOut-CmItyBpP.js → ZoomOut-Cd5BQiWB.js} +1 -1
  83. package/dist/components/Accordion/index.js +1 -1
  84. package/dist/components/AccordionActions/index.js +1 -1
  85. package/dist/components/AccordionDetails/index.js +1 -1
  86. package/dist/components/AccordionSummary/index.js +1 -1
  87. package/dist/components/Alert/index.js +1 -1
  88. package/dist/components/AlertTitle/index.js +1 -1
  89. package/dist/components/Autocomplete/Autocomplete.d.ts +3 -3
  90. package/dist/components/Autocomplete/Autocomplete.js +3 -3
  91. package/dist/components/Autocomplete/Autocomplete.theme.js +5 -5
  92. package/dist/components/Autocomplete/index.js +1 -1
  93. package/dist/components/AutocompleteControl/AutocompleteControl.d.ts +4 -4
  94. package/dist/components/AutocompleteControl/AutocompleteControl.js +12 -11
  95. package/dist/components/AutocompleteControl/index.js +1 -1
  96. package/dist/components/Avatar/index.js +1 -1
  97. package/dist/components/AvatarGroup/index.js +1 -1
  98. package/dist/components/Backdrop/index.js +1 -1
  99. package/dist/components/Badge/index.js +1 -1
  100. package/dist/components/Box/index.js +1 -1
  101. package/dist/components/Breadcrumbs/index.js +1 -1
  102. package/dist/components/Button/Button.theme.js +7 -7
  103. package/dist/components/Button/index.js +1 -1
  104. package/dist/components/ButtonGroup/index.js +1 -1
  105. package/dist/components/Card/index.js +1 -1
  106. package/dist/components/CardActionArea/index.js +1 -1
  107. package/dist/components/CardActions/index.js +1 -1
  108. package/dist/components/CardContent/index.js +1 -1
  109. package/dist/components/CardHeader/index.js +1 -1
  110. package/dist/components/CardMedia/index.js +1 -1
  111. package/dist/components/Checkbox/Checkbox.theme.js +3 -3
  112. package/dist/components/Checkbox/index.js +1 -1
  113. package/dist/components/Chip/Chip.theme.js +6 -6
  114. package/dist/components/Chip/index.js +1 -1
  115. package/dist/components/CircularProgress/index.js +1 -1
  116. package/dist/components/Container/index.js +1 -1
  117. package/dist/components/CssBaseline/index.js +1 -1
  118. package/dist/components/Dialog/index.js +1 -1
  119. package/dist/components/DialogActions/index.js +1 -1
  120. package/dist/components/DialogContent/index.js +1 -1
  121. package/dist/components/DialogContentText/index.js +1 -1
  122. package/dist/components/DialogTitle/index.js +2 -2
  123. package/dist/components/Divider/index.js +2 -2
  124. package/dist/components/Drawer/index.js +1 -1
  125. package/dist/components/FormControl/index.js +1 -1
  126. package/dist/components/FormControlLabel/FormControlLabel.theme.js +4 -1
  127. package/dist/components/FormControlLabel/index.js +1 -1
  128. package/dist/components/FormGroup/index.js +1 -1
  129. package/dist/components/FormHelperText/index.js +1 -1
  130. package/dist/components/FormLabel/FormLabel.theme.js +1 -1
  131. package/dist/components/FormLabel/index.js +1 -1
  132. package/dist/components/FormSublabel/FormSublabel.d.ts +1 -1
  133. package/dist/components/FormSublabel/FormSublabel.js +9 -8
  134. package/dist/components/FormSublabel/index.js +1 -1
  135. package/dist/components/IconButton/IconButton.theme.js +4 -4
  136. package/dist/components/IconButton/index.js +1 -1
  137. package/dist/components/Input/Input.d.ts +1 -0
  138. package/dist/components/Input/Input.js +1 -1
  139. package/dist/components/Input/Input.theme.js +10 -10
  140. package/dist/components/Input/index.js +1 -1
  141. package/dist/components/InputAdornment/index.js +1 -1
  142. package/dist/components/InputControl/InputControl.js +12 -11
  143. package/dist/components/InputControl/index.js +1 -1
  144. package/dist/components/LinearProgress/index.js +1 -1
  145. package/dist/components/Link/Link.theme.js +6 -6
  146. package/dist/components/Link/index.js +1 -1
  147. package/dist/components/List/index.js +1 -1
  148. package/dist/components/ListItem/index.js +1 -1
  149. package/dist/components/ListItemAvatar/index.js +1 -1
  150. package/dist/components/ListItemButton/ListItemButton.theme.js +3 -3
  151. package/dist/components/ListItemButton/index.js +2 -2
  152. package/dist/components/ListItemIcon/index.js +2 -2
  153. package/dist/components/ListItemText/index.js +2 -2
  154. package/dist/components/ListSubheader/index.js +1 -1
  155. package/dist/components/Menu/index.js +1 -1
  156. package/dist/components/MenuItem/index.js +1 -1
  157. package/dist/components/MenuList/index.js +1 -1
  158. package/dist/components/Paper/index.js +1 -1
  159. package/dist/components/Radio/Radio.theme.js +3 -3
  160. package/dist/components/Radio/index.js +1 -1
  161. package/dist/components/RadioGroup/index.js +1 -1
  162. package/dist/components/Select/Select.js +2 -2
  163. package/dist/components/Select/index.js +1 -1
  164. package/dist/components/SelectControl/SelectControl.js +12 -11
  165. package/dist/components/SelectControl/index.js +1 -1
  166. package/dist/components/Skeleton/index.js +1 -1
  167. package/dist/components/Snackbar/index.js +1 -1
  168. package/dist/components/Stack/index.js +1 -1
  169. package/dist/components/SvgIcon/index.js +1 -1
  170. package/dist/components/Switch/index.js +1 -1
  171. package/dist/components/Tab/Tab.theme.js +4 -4
  172. package/dist/components/Tab/index.js +1 -1
  173. package/dist/components/Tabs/index.js +1 -1
  174. package/dist/components/ThemeProvider/ThemeProvider.d.ts +4 -0
  175. package/dist/components/ThemeProvider/ThemeProvider.js +41 -0
  176. package/dist/components/ThemeProvider/index.d.ts +1 -0
  177. package/dist/components/ThemeProvider/index.js +4 -0
  178. package/dist/components/ToastContainer/ToastContainer.js +1 -1
  179. package/dist/components/ToastContainer/useToast.js +22 -22
  180. package/dist/components/Toolbar/index.js +1 -1
  181. package/dist/components/Tooltip/index.js +1 -1
  182. package/dist/components/Typography/index.js +1 -1
  183. package/dist/{containerClasses-WD1oPqvi.js → containerClasses-9MgW-eDQ.js} +5 -5
  184. package/dist/{createSvgIcon-B5dNNGNe.js → createSvgIcon-B6lLJ6SQ.js} +1 -1
  185. package/dist/createTheme-ClKgUYqI.js +2996 -0
  186. package/dist/defaultTheme-BCpI3G0-.js +5 -0
  187. package/dist/{dialogTitleClasses-BrdYpbJj.js → dialogTitleClasses-C0b2NPYf.js} +2 -2
  188. package/dist/{dividerClasses-D4U5QaQb.js → dividerClasses-S6hIlqSw.js} +2 -2
  189. package/dist/{elementAcceptingRef-BrOmU6_C.js → elementAcceptingRef-FI2fQ839.js} +1 -1
  190. package/dist/{elementTypeAcceptingRef-CN74EK8m.js → elementTypeAcceptingRef-xtWcjb-H.js} +1 -1
  191. package/dist/{emotion-react.browser.esm-u0rxjRnw.js → emotion-react.browser.esm-BjB7nKpZ.js} +16 -15
  192. package/dist/{extendSxProp-Cv0iAAcm.js → extendSxProp-Dm0QGK7k.js} +1 -1
  193. package/dist/{generateUtilityClasses-BF4UvZq0.js → generateUtilityClasses-rljrgfNm.js} +1 -1
  194. package/dist/{getThemeProps-C9yJOf57.js → getThemeProps-CCAJ-g7Y.js} +1 -1
  195. package/dist/icons/ClearstoryIcon.js +1 -1
  196. package/dist/icons/MoneyBucketIcon.js +1 -1
  197. package/dist/icons/MoreCircleOutlineIcon.js +1 -1
  198. package/dist/icons/index.js +4 -4
  199. package/dist/{index-jotyvgZz.js → index-BN81QKuS.js} +12 -11
  200. package/dist/index-BlCNRXSk.js +1144 -0
  201. package/dist/{index-BbrhLBzi.js → index-DsW7ANTQ.js} +1 -1
  202. package/dist/{listItemButtonClasses-CY51gpaL.js → listItemButtonClasses-CXaJB1sX.js} +2 -2
  203. package/dist/{listItemIconClasses-GTAjqE_t.js → listItemIconClasses-DWsqk-RI.js} +2 -2
  204. package/dist/{listItemTextClasses-CH4OOGtx.js → listItemTextClasses-D6MIiKuu.js} +2 -2
  205. package/dist/main.d.ts +1 -0
  206. package/dist/main.js +311 -311
  207. package/dist/{memoTheme-CT5ASlO0.js → memoTheme-CAyAl_br.js} +1 -1
  208. package/dist/{refType-6b2zMXMt.js → refType-BThyJhbZ.js} +1 -1
  209. package/dist/{stackClasses-ChsLhvi3.js → stackClasses-ar_uEgY1.js} +6 -6
  210. package/dist/{styled-fdBsD-TS.js → styled-Dc7N_6Ot.js} +23 -22
  211. package/dist/theme/index.d.ts +1 -4
  212. package/dist/theme/index.js +126 -790
  213. package/dist/theme/internal.d.ts +2 -0
  214. package/dist/theme/internal.js +17 -0
  215. package/dist/useTheme-B3mEBCfZ.js +18 -0
  216. package/dist/{useTheme-DfOBLgm9.js → useTheme-CtzJwniR.js} +3 -3
  217. package/dist/{useThemeProps-CHaP_Lh8.js → useThemeProps-BgF3CPen.js} +3 -3
  218. package/dist/{utils-ptmMtPUp.js → utils-CSpgf_MW.js} +1 -1
  219. package/package.json +3 -2
  220. package/dist/createTheme-BgdHpTWD.js +0 -4138
  221. package/dist/defaultTheme-BI-WDwG-.js +0 -5
  222. package/dist/useTheme-DxGoyakm.js +0 -17
@@ -1,4138 +0,0 @@
1
- import * as ie from "react";
2
- import { forwardRef as gn, useContext as yn } from "react";
3
- import { r as Ae, o as Fe } from "./orange-DJwLWzIS.js";
4
- const Ye = {
5
- black: "#000",
6
- white: "#fff"
7
- }, ke = {
8
- 50: "#f3e5f5",
9
- 200: "#ce93d8",
10
- 300: "#ba68c8",
11
- 400: "#ab47bc",
12
- 500: "#9c27b0",
13
- 700: "#7b1fa2"
14
- }, Pe = {
15
- 50: "#e3f2fd",
16
- 200: "#90caf9",
17
- 400: "#42a5f5",
18
- 700: "#1976d2",
19
- 800: "#1565c0"
20
- }, Re = {
21
- 300: "#4fc3f7",
22
- 400: "#29b6f6",
23
- 500: "#03a9f4",
24
- 700: "#0288d1",
25
- 900: "#01579b"
26
- }, Ie = {
27
- 300: "#81c784",
28
- 400: "#66bb6a",
29
- 500: "#4caf50",
30
- 700: "#388e3c",
31
- 800: "#2e7d32",
32
- 900: "#1b5e20"
33
- }, bn = {
34
- 50: "#fafafa",
35
- 100: "#f5f5f5",
36
- 200: "#eeeeee",
37
- 300: "#e0e0e0",
38
- 400: "#bdbdbd",
39
- 500: "#9e9e9e",
40
- 600: "#757575",
41
- 700: "#616161",
42
- 800: "#424242",
43
- 900: "#212121",
44
- A100: "#f5f5f5",
45
- A200: "#eeeeee",
46
- A400: "#bdbdbd",
47
- A700: "#616161"
48
- };
49
- function we(e, ...r) {
50
- const t = new URL(`https://mui.com/production-error/?code=${e}`);
51
- return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
52
- }
53
- const pa = "$$material";
54
- function Mr() {
55
- return Mr = Object.assign ? Object.assign.bind() : function(e) {
56
- for (var r = 1; r < arguments.length; r++) {
57
- var t = arguments[r];
58
- for (var n in t) ({}).hasOwnProperty.call(t, n) && (e[n] = t[n]);
59
- }
60
- return e;
61
- }, Mr.apply(null, arguments);
62
- }
63
- function vn(e) {
64
- if (e.sheet)
65
- return e.sheet;
66
- for (var r = 0; r < document.styleSheets.length; r++)
67
- if (document.styleSheets[r].ownerNode === e)
68
- return document.styleSheets[r];
69
- }
70
- function Sn(e) {
71
- var r = document.createElement("style");
72
- return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode("")), r.setAttribute("data-s", ""), r;
73
- }
74
- var Cn = /* @__PURE__ */ function() {
75
- function e(t) {
76
- var n = this;
77
- this._insertTag = function(o) {
78
- var i;
79
- n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(o, i), n.tags.push(o);
80
- }, this.isSpeedy = t.speedy === void 0 ? !0 : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
81
- }
82
- var r = e.prototype;
83
- return r.hydrate = function(n) {
84
- n.forEach(this._insertTag);
85
- }, r.insert = function(n) {
86
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Sn(this));
87
- var o = this.tags[this.tags.length - 1];
88
- if (this.isSpeedy) {
89
- var i = vn(o);
90
- try {
91
- i.insertRule(n, i.cssRules.length);
92
- } catch {
93
- }
94
- } else
95
- o.appendChild(document.createTextNode(n));
96
- this.ctr++;
97
- }, r.flush = function() {
98
- this.tags.forEach(function(n) {
99
- var o;
100
- return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
101
- }), this.tags = [], this.ctr = 0;
102
- }, e;
103
- }(), ae = "-ms-", ar = "-moz-", L = "-webkit-", Bt = "comm", Yr = "rule", zr = "decl", En = "@import", Dt = "@keyframes", Tn = "@layer", xn = Math.abs, cr = String.fromCharCode, wn = Object.assign;
104
- function $n(e, r) {
105
- return oe(e, 0) ^ 45 ? (((r << 2 ^ oe(e, 0)) << 2 ^ oe(e, 1)) << 2 ^ oe(e, 2)) << 2 ^ oe(e, 3) : 0;
106
- }
107
- function Ft(e) {
108
- return e.trim();
109
- }
110
- function _n(e, r) {
111
- return (e = r.exec(e)) ? e[0] : e;
112
- }
113
- function j(e, r, t) {
114
- return e.replace(r, t);
115
- }
116
- function Br(e, r) {
117
- return e.indexOf(r);
118
- }
119
- function oe(e, r) {
120
- return e.charCodeAt(r) | 0;
121
- }
122
- function ze(e, r, t) {
123
- return e.slice(r, t);
124
- }
125
- function ve(e) {
126
- return e.length;
127
- }
128
- function qr(e) {
129
- return e.length;
130
- }
131
- function Je(e, r) {
132
- return r.push(e), e;
133
- }
134
- function On(e, r) {
135
- return e.map(r).join("");
136
- }
137
- var ur = 1, Be = 1, Lt = 0, le = 0, re = 0, De = "";
138
- function lr(e, r, t, n, o, i, s) {
139
- return { value: e, root: r, parent: t, type: n, props: o, children: i, line: ur, column: Be, length: s, return: "" };
140
- }
141
- function Le(e, r) {
142
- return wn(lr("", null, null, "", null, null, 0), e, { length: -e.length }, r);
143
- }
144
- function An() {
145
- return re;
146
- }
147
- function kn() {
148
- return re = le > 0 ? oe(De, --le) : 0, Be--, re === 10 && (Be = 1, ur--), re;
149
- }
150
- function de() {
151
- return re = le < Lt ? oe(De, le++) : 0, Be++, re === 10 && (Be = 1, ur++), re;
152
- }
153
- function Ce() {
154
- return oe(De, le);
155
- }
156
- function nr() {
157
- return le;
158
- }
159
- function He(e, r) {
160
- return ze(De, e, r);
161
- }
162
- function qe(e) {
163
- switch (e) {
164
- // \0 \t \n \r \s whitespace token
165
- case 0:
166
- case 9:
167
- case 10:
168
- case 13:
169
- case 32:
170
- return 5;
171
- // ! + , / > @ ~ isolate token
172
- case 33:
173
- case 43:
174
- case 44:
175
- case 47:
176
- case 62:
177
- case 64:
178
- case 126:
179
- // ; { } breakpoint token
180
- case 59:
181
- case 123:
182
- case 125:
183
- return 4;
184
- // : accompanied token
185
- case 58:
186
- return 3;
187
- // " ' ( [ opening delimit token
188
- case 34:
189
- case 39:
190
- case 40:
191
- case 91:
192
- return 2;
193
- // ) ] closing delimit token
194
- case 41:
195
- case 93:
196
- return 1;
197
- }
198
- return 0;
199
- }
200
- function jt(e) {
201
- return ur = Be = 1, Lt = ve(De = e), le = 0, [];
202
- }
203
- function Wt(e) {
204
- return De = "", e;
205
- }
206
- function or(e) {
207
- return Ft(He(le - 1, Dr(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
208
- }
209
- function Pn(e) {
210
- for (; (re = Ce()) && re < 33; )
211
- de();
212
- return qe(e) > 2 || qe(re) > 3 ? "" : " ";
213
- }
214
- function Rn(e, r) {
215
- for (; --r && de() && !(re < 48 || re > 102 || re > 57 && re < 65 || re > 70 && re < 97); )
216
- ;
217
- return He(e, nr() + (r < 6 && Ce() == 32 && de() == 32));
218
- }
219
- function Dr(e) {
220
- for (; de(); )
221
- switch (re) {
222
- // ] ) " '
223
- case e:
224
- return le;
225
- // " '
226
- case 34:
227
- case 39:
228
- e !== 34 && e !== 39 && Dr(re);
229
- break;
230
- // (
231
- case 40:
232
- e === 41 && Dr(e);
233
- break;
234
- // \
235
- case 92:
236
- de();
237
- break;
238
- }
239
- return le;
240
- }
241
- function In(e, r) {
242
- for (; de() && e + re !== 57; )
243
- if (e + re === 84 && Ce() === 47)
244
- break;
245
- return "/*" + He(r, le - 1) + "*" + cr(e === 47 ? e : de());
246
- }
247
- function Nn(e) {
248
- for (; !qe(Ce()); )
249
- de();
250
- return He(e, le);
251
- }
252
- function Mn(e) {
253
- return Wt(ir("", null, null, null, [""], e = jt(e), 0, [0], e));
254
- }
255
- function ir(e, r, t, n, o, i, s, u, l) {
256
- for (var d = 0, m = 0, p = s, h = 0, S = 0, g = 0, c = 1, y = 1, x = 1, _ = 0, A = "", C = o, b = i, $ = n, k = A; y; )
257
- switch (g = _, _ = de()) {
258
- // (
259
- case 40:
260
- if (g != 108 && oe(k, p - 1) == 58) {
261
- Br(k += j(or(_), "&", "&\f"), "&\f") != -1 && (x = -1);
262
- break;
263
- }
264
- // " ' [
265
- case 34:
266
- case 39:
267
- case 91:
268
- k += or(_);
269
- break;
270
- // \t \n \r \s
271
- case 9:
272
- case 10:
273
- case 13:
274
- case 32:
275
- k += Pn(g);
276
- break;
277
- // \
278
- case 92:
279
- k += Rn(nr() - 1, 7);
280
- continue;
281
- // /
282
- case 47:
283
- switch (Ce()) {
284
- case 42:
285
- case 47:
286
- Je(Bn(In(de(), nr()), r, t), l);
287
- break;
288
- default:
289
- k += "/";
290
- }
291
- break;
292
- // {
293
- case 123 * c:
294
- u[d++] = ve(k) * x;
295
- // } ; \0
296
- case 125 * c:
297
- case 59:
298
- case 0:
299
- switch (_) {
300
- // \0 }
301
- case 0:
302
- case 125:
303
- y = 0;
304
- // ;
305
- case 59 + m:
306
- x == -1 && (k = j(k, /\f/g, "")), S > 0 && ve(k) - p && Je(S > 32 ? tt(k + ";", n, t, p - 1) : tt(j(k, " ", "") + ";", n, t, p - 2), l);
307
- break;
308
- // @ ;
309
- case 59:
310
- k += ";";
311
- // { rule/at-rule
312
- default:
313
- if (Je($ = rt(k, r, t, d, m, o, u, A, C = [], b = [], p), i), _ === 123)
314
- if (m === 0)
315
- ir(k, r, $, $, C, i, p, u, b);
316
- else
317
- switch (h === 99 && oe(k, 3) === 110 ? 100 : h) {
318
- // d l m s
319
- case 100:
320
- case 108:
321
- case 109:
322
- case 115:
323
- ir(e, $, $, n && Je(rt(e, $, $, 0, 0, o, u, A, o, C = [], p), b), o, b, p, u, n ? C : b);
324
- break;
325
- default:
326
- ir(k, $, $, $, [""], b, 0, u, b);
327
- }
328
- }
329
- d = m = S = 0, c = x = 1, A = k = "", p = s;
330
- break;
331
- // :
332
- case 58:
333
- p = 1 + ve(k), S = g;
334
- default:
335
- if (c < 1) {
336
- if (_ == 123)
337
- --c;
338
- else if (_ == 125 && c++ == 0 && kn() == 125)
339
- continue;
340
- }
341
- switch (k += cr(_), _ * c) {
342
- // &
343
- case 38:
344
- x = m > 0 ? 1 : (k += "\f", -1);
345
- break;
346
- // ,
347
- case 44:
348
- u[d++] = (ve(k) - 1) * x, x = 1;
349
- break;
350
- // @
351
- case 64:
352
- Ce() === 45 && (k += or(de())), h = Ce(), m = p = ve(A = k += Nn(nr())), _++;
353
- break;
354
- // -
355
- case 45:
356
- g === 45 && ve(k) == 2 && (c = 0);
357
- }
358
- }
359
- return i;
360
- }
361
- function rt(e, r, t, n, o, i, s, u, l, d, m) {
362
- for (var p = o - 1, h = o === 0 ? i : [""], S = qr(h), g = 0, c = 0, y = 0; g < n; ++g)
363
- for (var x = 0, _ = ze(e, p + 1, p = xn(c = s[g])), A = e; x < S; ++x)
364
- (A = Ft(c > 0 ? h[x] + " " + _ : j(_, /&\f/g, h[x]))) && (l[y++] = A);
365
- return lr(e, r, t, o === 0 ? Yr : u, l, d, m);
366
- }
367
- function Bn(e, r, t) {
368
- return lr(e, r, t, Bt, cr(An()), ze(e, 2, -2), 0);
369
- }
370
- function tt(e, r, t, n) {
371
- return lr(e, r, t, zr, ze(e, 0, n), ze(e, n + 1, -1), n);
372
- }
373
- function Ne(e, r) {
374
- for (var t = "", n = qr(e), o = 0; o < n; o++)
375
- t += r(e[o], o, e, r) || "";
376
- return t;
377
- }
378
- function Dn(e, r, t, n) {
379
- switch (e.type) {
380
- case Tn:
381
- if (e.children.length) break;
382
- case En:
383
- case zr:
384
- return e.return = e.return || e.value;
385
- case Bt:
386
- return "";
387
- case Dt:
388
- return e.return = e.value + "{" + Ne(e.children, n) + "}";
389
- case Yr:
390
- e.value = e.props.join(",");
391
- }
392
- return ve(t = Ne(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
393
- }
394
- function Fn(e) {
395
- var r = qr(e);
396
- return function(t, n, o, i) {
397
- for (var s = "", u = 0; u < r; u++)
398
- s += e[u](t, n, o, i) || "";
399
- return s;
400
- };
401
- }
402
- function Ln(e) {
403
- return function(r) {
404
- r.root || (r = r.return) && e(r);
405
- };
406
- }
407
- function Ut(e) {
408
- var r = /* @__PURE__ */ Object.create(null);
409
- return function(t) {
410
- return r[t] === void 0 && (r[t] = e(t)), r[t];
411
- };
412
- }
413
- var jn = function(r, t, n) {
414
- for (var o = 0, i = 0; o = i, i = Ce(), o === 38 && i === 12 && (t[n] = 1), !qe(i); )
415
- de();
416
- return He(r, le);
417
- }, Wn = function(r, t) {
418
- var n = -1, o = 44;
419
- do
420
- switch (qe(o)) {
421
- case 0:
422
- o === 38 && Ce() === 12 && (t[n] = 1), r[n] += jn(le - 1, t, n);
423
- break;
424
- case 2:
425
- r[n] += or(o);
426
- break;
427
- case 4:
428
- if (o === 44) {
429
- r[++n] = Ce() === 58 ? "&\f" : "", t[n] = r[n].length;
430
- break;
431
- }
432
- // fallthrough
433
- default:
434
- r[n] += cr(o);
435
- }
436
- while (o = de());
437
- return r;
438
- }, Un = function(r, t) {
439
- return Wt(Wn(jt(r), t));
440
- }, nt = /* @__PURE__ */ new WeakMap(), Vn = function(r) {
441
- if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
442
- // negative .length indicates that this rule has been already prefixed
443
- r.length < 1)) {
444
- for (var t = r.value, n = r.parent, o = r.column === n.column && r.line === n.line; n.type !== "rule"; )
445
- if (n = n.parent, !n) return;
446
- if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !nt.get(n)) && !o) {
447
- nt.set(r, !0);
448
- for (var i = [], s = Un(t, i), u = n.props, l = 0, d = 0; l < s.length; l++)
449
- for (var m = 0; m < u.length; m++, d++)
450
- r.props[d] = i[l] ? s[l].replace(/&\f/g, u[m]) : u[m] + " " + s[l];
451
- }
452
- }
453
- }, Yn = function(r) {
454
- if (r.type === "decl") {
455
- var t = r.value;
456
- // charcode for l
457
- t.charCodeAt(0) === 108 && // charcode for b
458
- t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
459
- }
460
- };
461
- function Vt(e, r) {
462
- switch ($n(e, r)) {
463
- // color-adjust
464
- case 5103:
465
- return L + "print-" + e + e;
466
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
467
- case 5737:
468
- case 4201:
469
- case 3177:
470
- case 3433:
471
- case 1641:
472
- case 4457:
473
- case 2921:
474
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
475
- case 5572:
476
- case 6356:
477
- case 5844:
478
- case 3191:
479
- case 6645:
480
- case 3005:
481
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
482
- case 6391:
483
- case 5879:
484
- case 5623:
485
- case 6135:
486
- case 4599:
487
- case 4855:
488
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
489
- case 4215:
490
- case 6389:
491
- case 5109:
492
- case 5365:
493
- case 5621:
494
- case 3829:
495
- return L + e + e;
496
- // appearance, user-select, transform, hyphens, text-size-adjust
497
- case 5349:
498
- case 4246:
499
- case 4810:
500
- case 6968:
501
- case 2756:
502
- return L + e + ar + e + ae + e + e;
503
- // flex, flex-direction
504
- case 6828:
505
- case 4268:
506
- return L + e + ae + e + e;
507
- // order
508
- case 6165:
509
- return L + e + ae + "flex-" + e + e;
510
- // align-items
511
- case 5187:
512
- return L + e + j(e, /(\w+).+(:[^]+)/, L + "box-$1$2" + ae + "flex-$1$2") + e;
513
- // align-self
514
- case 5443:
515
- return L + e + ae + "flex-item-" + j(e, /flex-|-self/, "") + e;
516
- // align-content
517
- case 4675:
518
- return L + e + ae + "flex-line-pack" + j(e, /align-content|flex-|-self/, "") + e;
519
- // flex-shrink
520
- case 5548:
521
- return L + e + ae + j(e, "shrink", "negative") + e;
522
- // flex-basis
523
- case 5292:
524
- return L + e + ae + j(e, "basis", "preferred-size") + e;
525
- // flex-grow
526
- case 6060:
527
- return L + "box-" + j(e, "-grow", "") + L + e + ae + j(e, "grow", "positive") + e;
528
- // transition
529
- case 4554:
530
- return L + j(e, /([^-])(transform)/g, "$1" + L + "$2") + e;
531
- // cursor
532
- case 6187:
533
- return j(j(j(e, /(zoom-|grab)/, L + "$1"), /(image-set)/, L + "$1"), e, "") + e;
534
- // background, background-image
535
- case 5495:
536
- case 3959:
537
- return j(e, /(image-set\([^]*)/, L + "$1$`$1");
538
- // justify-content
539
- case 4968:
540
- return j(j(e, /(.+:)(flex-)?(.*)/, L + "box-pack:$3" + ae + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + L + e + e;
541
- // (margin|padding)-inline-(start|end)
542
- case 4095:
543
- case 3583:
544
- case 4068:
545
- case 2532:
546
- return j(e, /(.+)-inline(.+)/, L + "$1$2") + e;
547
- // (min|max)?(width|height|inline-size|block-size)
548
- case 8116:
549
- case 7059:
550
- case 5753:
551
- case 5535:
552
- case 5445:
553
- case 5701:
554
- case 4933:
555
- case 4677:
556
- case 5533:
557
- case 5789:
558
- case 5021:
559
- case 4765:
560
- if (ve(e) - 1 - r > 6) switch (oe(e, r + 1)) {
561
- // (m)ax-content, (m)in-content
562
- case 109:
563
- if (oe(e, r + 4) !== 45) break;
564
- // (f)ill-available, (f)it-content
565
- case 102:
566
- return j(e, /(.+:)(.+)-([^]+)/, "$1" + L + "$2-$3$1" + ar + (oe(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
567
- // (s)tretch
568
- case 115:
569
- return ~Br(e, "stretch") ? Vt(j(e, "stretch", "fill-available"), r) + e : e;
570
- }
571
- break;
572
- // position: sticky
573
- case 4949:
574
- if (oe(e, r + 1) !== 115) break;
575
- // display: (flex|inline-flex)
576
- case 6444:
577
- switch (oe(e, ve(e) - 3 - (~Br(e, "!important") && 10))) {
578
- // stic(k)y
579
- case 107:
580
- return j(e, ":", ":" + L) + e;
581
- // (inline-)?fl(e)x
582
- case 101:
583
- return j(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + L + (oe(e, 14) === 45 ? "inline-" : "") + "box$3$1" + L + "$2$3$1" + ae + "$2box$3") + e;
584
- }
585
- break;
586
- // writing-mode
587
- case 5936:
588
- switch (oe(e, r + 11)) {
589
- // vertical-l(r)
590
- case 114:
591
- return L + e + ae + j(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
592
- // vertical-r(l)
593
- case 108:
594
- return L + e + ae + j(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
595
- // horizontal(-)tb
596
- case 45:
597
- return L + e + ae + j(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
598
- }
599
- return L + e + ae + e + e;
600
- }
601
- return e;
602
- }
603
- var zn = function(r, t, n, o) {
604
- if (r.length > -1 && !r.return) switch (r.type) {
605
- case zr:
606
- r.return = Vt(r.value, r.length);
607
- break;
608
- case Dt:
609
- return Ne([Le(r, {
610
- value: j(r.value, "@", "@" + L)
611
- })], o);
612
- case Yr:
613
- if (r.length) return On(r.props, function(i) {
614
- switch (_n(i, /(::plac\w+|:read-\w+)/)) {
615
- // :read-(only|write)
616
- case ":read-only":
617
- case ":read-write":
618
- return Ne([Le(r, {
619
- props: [j(i, /:(read-\w+)/, ":" + ar + "$1")]
620
- })], o);
621
- // :placeholder
622
- case "::placeholder":
623
- return Ne([Le(r, {
624
- props: [j(i, /:(plac\w+)/, ":" + L + "input-$1")]
625
- }), Le(r, {
626
- props: [j(i, /:(plac\w+)/, ":" + ar + "$1")]
627
- }), Le(r, {
628
- props: [j(i, /:(plac\w+)/, ae + "input-$1")]
629
- })], o);
630
- }
631
- return "";
632
- });
633
- }
634
- }, qn = [zn], Gn = function(r) {
635
- var t = r.key;
636
- if (t === "css") {
637
- var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
638
- Array.prototype.forEach.call(n, function(c) {
639
- var y = c.getAttribute("data-emotion");
640
- y.indexOf(" ") !== -1 && (document.head.appendChild(c), c.setAttribute("data-s", ""));
641
- });
642
- }
643
- var o = r.stylisPlugins || qn, i = {}, s, u = [];
644
- s = r.container || document.head, Array.prototype.forEach.call(
645
- // this means we will ignore elements which don't have a space in them which
646
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
647
- document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
648
- function(c) {
649
- for (var y = c.getAttribute("data-emotion").split(" "), x = 1; x < y.length; x++)
650
- i[y[x]] = !0;
651
- u.push(c);
652
- }
653
- );
654
- var l, d = [Vn, Yn];
655
- {
656
- var m, p = [Dn, Ln(function(c) {
657
- m.insert(c);
658
- })], h = Fn(d.concat(o, p)), S = function(y) {
659
- return Ne(Mn(y), h);
660
- };
661
- l = function(y, x, _, A) {
662
- m = _, S(y ? y + "{" + x.styles + "}" : x.styles), A && (g.inserted[x.name] = !0);
663
- };
664
- }
665
- var g = {
666
- key: t,
667
- sheet: new Cn({
668
- key: t,
669
- container: s,
670
- nonce: r.nonce,
671
- speedy: r.speedy,
672
- prepend: r.prepend,
673
- insertionPoint: r.insertionPoint
674
- }),
675
- nonce: r.nonce,
676
- inserted: i,
677
- registered: {},
678
- insert: l
679
- };
680
- return g.sheet.hydrate(u), g;
681
- };
682
- function Hn(e) {
683
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
684
- }
685
- var Ze = { exports: {} }, U = {};
686
- /** @license React v16.13.1
687
- * react-is.production.min.js
688
- *
689
- * Copyright (c) Facebook, Inc. and its affiliates.
690
- *
691
- * This source code is licensed under the MIT license found in the
692
- * LICENSE file in the root directory of this source tree.
693
- */
694
- var ot;
695
- function Kn() {
696
- if (ot) return U;
697
- ot = 1;
698
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
699
- function A(b) {
700
- if (typeof b == "object" && b !== null) {
701
- var $ = b.$$typeof;
702
- switch ($) {
703
- case r:
704
- switch (b = b.type, b) {
705
- case l:
706
- case d:
707
- case n:
708
- case i:
709
- case o:
710
- case p:
711
- return b;
712
- default:
713
- switch (b = b && b.$$typeof, b) {
714
- case u:
715
- case m:
716
- case g:
717
- case S:
718
- case s:
719
- return b;
720
- default:
721
- return $;
722
- }
723
- }
724
- case t:
725
- return $;
726
- }
727
- }
728
- }
729
- function C(b) {
730
- return A(b) === d;
731
- }
732
- return U.AsyncMode = l, U.ConcurrentMode = d, U.ContextConsumer = u, U.ContextProvider = s, U.Element = r, U.ForwardRef = m, U.Fragment = n, U.Lazy = g, U.Memo = S, U.Portal = t, U.Profiler = i, U.StrictMode = o, U.Suspense = p, U.isAsyncMode = function(b) {
733
- return C(b) || A(b) === l;
734
- }, U.isConcurrentMode = C, U.isContextConsumer = function(b) {
735
- return A(b) === u;
736
- }, U.isContextProvider = function(b) {
737
- return A(b) === s;
738
- }, U.isElement = function(b) {
739
- return typeof b == "object" && b !== null && b.$$typeof === r;
740
- }, U.isForwardRef = function(b) {
741
- return A(b) === m;
742
- }, U.isFragment = function(b) {
743
- return A(b) === n;
744
- }, U.isLazy = function(b) {
745
- return A(b) === g;
746
- }, U.isMemo = function(b) {
747
- return A(b) === S;
748
- }, U.isPortal = function(b) {
749
- return A(b) === t;
750
- }, U.isProfiler = function(b) {
751
- return A(b) === i;
752
- }, U.isStrictMode = function(b) {
753
- return A(b) === o;
754
- }, U.isSuspense = function(b) {
755
- return A(b) === p;
756
- }, U.isValidElementType = function(b) {
757
- return typeof b == "string" || typeof b == "function" || b === n || b === d || b === i || b === o || b === p || b === h || typeof b == "object" && b !== null && (b.$$typeof === g || b.$$typeof === S || b.$$typeof === s || b.$$typeof === u || b.$$typeof === m || b.$$typeof === y || b.$$typeof === x || b.$$typeof === _ || b.$$typeof === c);
758
- }, U.typeOf = A, U;
759
- }
760
- var V = {};
761
- /** @license React v16.13.1
762
- * react-is.development.js
763
- *
764
- * Copyright (c) Facebook, Inc. and its affiliates.
765
- *
766
- * This source code is licensed under the MIT license found in the
767
- * LICENSE file in the root directory of this source tree.
768
- */
769
- var it;
770
- function Xn() {
771
- return it || (it = 1, process.env.NODE_ENV !== "production" && function() {
772
- var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, c = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
773
- function A(T) {
774
- return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
775
- T === n || T === d || T === i || T === o || T === p || T === h || typeof T == "object" && T !== null && (T.$$typeof === g || T.$$typeof === S || T.$$typeof === s || T.$$typeof === u || T.$$typeof === m || T.$$typeof === y || T.$$typeof === x || T.$$typeof === _ || T.$$typeof === c);
776
- }
777
- function C(T) {
778
- if (typeof T == "object" && T !== null) {
779
- var ye = T.$$typeof;
780
- switch (ye) {
781
- case r:
782
- var Qe = T.type;
783
- switch (Qe) {
784
- case l:
785
- case d:
786
- case n:
787
- case i:
788
- case o:
789
- case p:
790
- return Qe;
791
- default:
792
- var et = Qe && Qe.$$typeof;
793
- switch (et) {
794
- case u:
795
- case m:
796
- case g:
797
- case S:
798
- case s:
799
- return et;
800
- default:
801
- return ye;
802
- }
803
- }
804
- case t:
805
- return ye;
806
- }
807
- }
808
- }
809
- var b = l, $ = d, k = u, pe = s, ne = r, te = m, Q = n, a = g, O = S, E = t, W = i, Y = o, se = p, ge = !1;
810
- function wr(T) {
811
- return ge || (ge = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), v(T) || C(T) === l;
812
- }
813
- function v(T) {
814
- return C(T) === d;
815
- }
816
- function w(T) {
817
- return C(T) === u;
818
- }
819
- function M(T) {
820
- return C(T) === s;
821
- }
822
- function I(T) {
823
- return typeof T == "object" && T !== null && T.$$typeof === r;
824
- }
825
- function P(T) {
826
- return C(T) === m;
827
- }
828
- function B(T) {
829
- return C(T) === n;
830
- }
831
- function R(T) {
832
- return C(T) === g;
833
- }
834
- function N(T) {
835
- return C(T) === S;
836
- }
837
- function D(T) {
838
- return C(T) === t;
839
- }
840
- function z(T) {
841
- return C(T) === i;
842
- }
843
- function F(T) {
844
- return C(T) === o;
845
- }
846
- function ce(T) {
847
- return C(T) === p;
848
- }
849
- V.AsyncMode = b, V.ConcurrentMode = $, V.ContextConsumer = k, V.ContextProvider = pe, V.Element = ne, V.ForwardRef = te, V.Fragment = Q, V.Lazy = a, V.Memo = O, V.Portal = E, V.Profiler = W, V.StrictMode = Y, V.Suspense = se, V.isAsyncMode = wr, V.isConcurrentMode = v, V.isContextConsumer = w, V.isContextProvider = M, V.isElement = I, V.isForwardRef = P, V.isFragment = B, V.isLazy = R, V.isMemo = N, V.isPortal = D, V.isProfiler = z, V.isStrictMode = F, V.isSuspense = ce, V.isValidElementType = A, V.typeOf = C;
850
- }()), V;
851
- }
852
- var at;
853
- function Yt() {
854
- return at || (at = 1, process.env.NODE_ENV === "production" ? Ze.exports = Kn() : Ze.exports = Xn()), Ze.exports;
855
- }
856
- var Qn = !0;
857
- function zt(e, r, t) {
858
- var n = "";
859
- return t.split(" ").forEach(function(o) {
860
- e[o] !== void 0 ? r.push(e[o] + ";") : o && (n += o + " ");
861
- }), n;
862
- }
863
- var Gr = function(r, t, n) {
864
- var o = r.key + "-" + t.name;
865
- // we only need to add the styles to the registered cache if the
866
- // class name could be used further down
867
- // the tree but if it's a string tag, we know it won't
868
- // so we don't have to add it to registered cache.
869
- // this improves memory usage since we can avoid storing the whole style string
870
- (n === !1 || // we need to always store it if we're in compat mode and
871
- // in node since emotion-server relies on whether a style is in
872
- // the registered cache to know whether a style is global or not
873
- // also, note that this check will be dead code eliminated in the browser
874
- Qn === !1) && r.registered[o] === void 0 && (r.registered[o] = t.styles);
875
- }, qt = function(r, t, n) {
876
- Gr(r, t, n);
877
- var o = r.key + "-" + t.name;
878
- if (r.inserted[t.name] === void 0) {
879
- var i = t;
880
- do
881
- r.insert(t === i ? "." + o : "", i, r.sheet, !0), i = i.next;
882
- while (i !== void 0);
883
- }
884
- };
885
- function Jn(e) {
886
- for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
887
- t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
888
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
889
- t >>> 24, r = /* Math.imul(k, m): */
890
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
891
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
892
- switch (o) {
893
- case 3:
894
- r ^= (e.charCodeAt(n + 2) & 255) << 16;
895
- case 2:
896
- r ^= (e.charCodeAt(n + 1) & 255) << 8;
897
- case 1:
898
- r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
899
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
900
- }
901
- return r ^= r >>> 13, r = /* Math.imul(h, m): */
902
- (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
903
- }
904
- var Zn = {
905
- animationIterationCount: 1,
906
- aspectRatio: 1,
907
- borderImageOutset: 1,
908
- borderImageSlice: 1,
909
- borderImageWidth: 1,
910
- boxFlex: 1,
911
- boxFlexGroup: 1,
912
- boxOrdinalGroup: 1,
913
- columnCount: 1,
914
- columns: 1,
915
- flex: 1,
916
- flexGrow: 1,
917
- flexPositive: 1,
918
- flexShrink: 1,
919
- flexNegative: 1,
920
- flexOrder: 1,
921
- gridRow: 1,
922
- gridRowEnd: 1,
923
- gridRowSpan: 1,
924
- gridRowStart: 1,
925
- gridColumn: 1,
926
- gridColumnEnd: 1,
927
- gridColumnSpan: 1,
928
- gridColumnStart: 1,
929
- msGridRow: 1,
930
- msGridRowSpan: 1,
931
- msGridColumn: 1,
932
- msGridColumnSpan: 1,
933
- fontWeight: 1,
934
- lineHeight: 1,
935
- opacity: 1,
936
- order: 1,
937
- orphans: 1,
938
- scale: 1,
939
- tabSize: 1,
940
- widows: 1,
941
- zIndex: 1,
942
- zoom: 1,
943
- WebkitLineClamp: 1,
944
- // SVG-related properties
945
- fillOpacity: 1,
946
- floodOpacity: 1,
947
- stopOpacity: 1,
948
- strokeDasharray: 1,
949
- strokeDashoffset: 1,
950
- strokeMiterlimit: 1,
951
- strokeOpacity: 1,
952
- strokeWidth: 1
953
- }, eo = /[A-Z]|^ms/g, ro = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Gt = function(r) {
954
- return r.charCodeAt(1) === 45;
955
- }, st = function(r) {
956
- return r != null && typeof r != "boolean";
957
- }, $r = /* @__PURE__ */ Ut(function(e) {
958
- return Gt(e) ? e : e.replace(eo, "-$&").toLowerCase();
959
- }), ct = function(r, t) {
960
- switch (r) {
961
- case "animation":
962
- case "animationName":
963
- if (typeof t == "string")
964
- return t.replace(ro, function(n, o, i) {
965
- return Se = {
966
- name: o,
967
- styles: i,
968
- next: Se
969
- }, o;
970
- });
971
- }
972
- return Zn[r] !== 1 && !Gt(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
973
- };
974
- function Ge(e, r, t) {
975
- if (t == null)
976
- return "";
977
- var n = t;
978
- if (n.__emotion_styles !== void 0)
979
- return n;
980
- switch (typeof t) {
981
- case "boolean":
982
- return "";
983
- case "object": {
984
- var o = t;
985
- if (o.anim === 1)
986
- return Se = {
987
- name: o.name,
988
- styles: o.styles,
989
- next: Se
990
- }, o.name;
991
- var i = t;
992
- if (i.styles !== void 0) {
993
- var s = i.next;
994
- if (s !== void 0)
995
- for (; s !== void 0; )
996
- Se = {
997
- name: s.name,
998
- styles: s.styles,
999
- next: Se
1000
- }, s = s.next;
1001
- var u = i.styles + ";";
1002
- return u;
1003
- }
1004
- return to(e, r, t);
1005
- }
1006
- case "function": {
1007
- if (e !== void 0) {
1008
- var l = Se, d = t(e);
1009
- return Se = l, Ge(e, r, d);
1010
- }
1011
- break;
1012
- }
1013
- }
1014
- var m = t;
1015
- if (r == null)
1016
- return m;
1017
- var p = r[m];
1018
- return p !== void 0 ? p : m;
1019
- }
1020
- function to(e, r, t) {
1021
- var n = "";
1022
- if (Array.isArray(t))
1023
- for (var o = 0; o < t.length; o++)
1024
- n += Ge(e, r, t[o]) + ";";
1025
- else
1026
- for (var i in t) {
1027
- var s = t[i];
1028
- if (typeof s != "object") {
1029
- var u = s;
1030
- r != null && r[u] !== void 0 ? n += i + "{" + r[u] + "}" : st(u) && (n += $r(i) + ":" + ct(i, u) + ";");
1031
- } else if (Array.isArray(s) && typeof s[0] == "string" && (r == null || r[s[0]] === void 0))
1032
- for (var l = 0; l < s.length; l++)
1033
- st(s[l]) && (n += $r(i) + ":" + ct(i, s[l]) + ";");
1034
- else {
1035
- var d = Ge(e, r, s);
1036
- switch (i) {
1037
- case "animation":
1038
- case "animationName": {
1039
- n += $r(i) + ":" + d + ";";
1040
- break;
1041
- }
1042
- default:
1043
- n += i + "{" + d + "}";
1044
- }
1045
- }
1046
- }
1047
- return n;
1048
- }
1049
- var ut = /label:\s*([^\s;{]+)\s*(;|$)/g, Se;
1050
- function Hr(e, r, t) {
1051
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1052
- return e[0];
1053
- var n = !0, o = "";
1054
- Se = void 0;
1055
- var i = e[0];
1056
- if (i == null || i.raw === void 0)
1057
- n = !1, o += Ge(t, r, i);
1058
- else {
1059
- var s = i;
1060
- o += s[0];
1061
- }
1062
- for (var u = 1; u < e.length; u++)
1063
- if (o += Ge(t, r, e[u]), n) {
1064
- var l = i;
1065
- o += l[u];
1066
- }
1067
- ut.lastIndex = 0;
1068
- for (var d = "", m; (m = ut.exec(o)) !== null; )
1069
- d += "-" + m[1];
1070
- var p = Jn(o) + d;
1071
- return {
1072
- name: p,
1073
- styles: o,
1074
- next: Se
1075
- };
1076
- }
1077
- var no = function(r) {
1078
- return r();
1079
- }, Ht = ie.useInsertionEffect ? ie.useInsertionEffect : !1, Kt = Ht || no, ma = Ht || ie.useLayoutEffect, Xt = /* @__PURE__ */ ie.createContext(
1080
- // we're doing this to avoid preconstruct's dead code elimination in this one case
1081
- // because this module is primarily intended for the browser and node
1082
- // but it's also required in react native and similar environments sometimes
1083
- // and we could have a special build just for that
1084
- // but this is much easier and the native packages
1085
- // might use a different theme context in the future anyway
1086
- typeof HTMLElement < "u" ? /* @__PURE__ */ Gn({
1087
- key: "css"
1088
- }) : null
1089
- ), ha = Xt.Provider, Qt = function(r) {
1090
- return /* @__PURE__ */ gn(function(t, n) {
1091
- var o = yn(Xt);
1092
- return r(t, o, n);
1093
- });
1094
- }, Jt = /* @__PURE__ */ ie.createContext({}), Zt = {}.hasOwnProperty, Fr = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", ga = function(r, t) {
1095
- var n = {};
1096
- for (var o in t)
1097
- Zt.call(t, o) && (n[o] = t[o]);
1098
- return n[Fr] = r, n;
1099
- }, oo = function(r) {
1100
- var t = r.cache, n = r.serialized, o = r.isStringTag;
1101
- return Gr(t, n, o), Kt(function() {
1102
- return qt(t, n, o);
1103
- }), null;
1104
- }, io = /* @__PURE__ */ Qt(function(e, r, t) {
1105
- var n = e.css;
1106
- typeof n == "string" && r.registered[n] !== void 0 && (n = r.registered[n]);
1107
- var o = e[Fr], i = [n], s = "";
1108
- typeof e.className == "string" ? s = zt(r.registered, i, e.className) : e.className != null && (s = e.className + " ");
1109
- var u = Hr(i, void 0, ie.useContext(Jt));
1110
- s += r.key + "-" + u.name;
1111
- var l = {};
1112
- for (var d in e)
1113
- Zt.call(e, d) && d !== "css" && d !== Fr && (l[d] = e[d]);
1114
- return l.className = s, t && (l.ref = t), /* @__PURE__ */ ie.createElement(ie.Fragment, null, /* @__PURE__ */ ie.createElement(oo, {
1115
- cache: r,
1116
- serialized: u,
1117
- isStringTag: typeof o == "string"
1118
- }), /* @__PURE__ */ ie.createElement(o, l));
1119
- }), ya = io, ao = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, so = /* @__PURE__ */ Ut(
1120
- function(e) {
1121
- return ao.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
1122
- }
1123
- /* Z+1 */
1124
- ), co = so, uo = function(r) {
1125
- return r !== "theme";
1126
- }, lt = function(r) {
1127
- return typeof r == "string" && // 96 is one less than the char code
1128
- // for "a" so this is checking that
1129
- // it's a lowercase character
1130
- r.charCodeAt(0) > 96 ? co : uo;
1131
- }, ft = function(r, t, n) {
1132
- var o;
1133
- if (t) {
1134
- var i = t.shouldForwardProp;
1135
- o = r.__emotion_forwardProp && i ? function(s) {
1136
- return r.__emotion_forwardProp(s) && i(s);
1137
- } : i;
1138
- }
1139
- return typeof o != "function" && n && (o = r.__emotion_forwardProp), o;
1140
- }, lo = function(r) {
1141
- var t = r.cache, n = r.serialized, o = r.isStringTag;
1142
- return Gr(t, n, o), Kt(function() {
1143
- return qt(t, n, o);
1144
- }), null;
1145
- }, fo = function e(r, t) {
1146
- var n = r.__emotion_real === r, o = n && r.__emotion_base || r, i, s;
1147
- t !== void 0 && (i = t.label, s = t.target);
1148
- var u = ft(r, t, n), l = u || lt(o), d = !l("as");
1149
- return function() {
1150
- var m = arguments, p = n && r.__emotion_styles !== void 0 ? r.__emotion_styles.slice(0) : [];
1151
- if (i !== void 0 && p.push("label:" + i + ";"), m[0] == null || m[0].raw === void 0)
1152
- p.push.apply(p, m);
1153
- else {
1154
- var h = m[0];
1155
- p.push(h[0]);
1156
- for (var S = m.length, g = 1; g < S; g++)
1157
- p.push(m[g], h[g]);
1158
- }
1159
- var c = Qt(function(y, x, _) {
1160
- var A = d && y.as || o, C = "", b = [], $ = y;
1161
- if (y.theme == null) {
1162
- $ = {};
1163
- for (var k in y)
1164
- $[k] = y[k];
1165
- $.theme = ie.useContext(Jt);
1166
- }
1167
- typeof y.className == "string" ? C = zt(x.registered, b, y.className) : y.className != null && (C = y.className + " ");
1168
- var pe = Hr(p.concat(b), x.registered, $);
1169
- C += x.key + "-" + pe.name, s !== void 0 && (C += " " + s);
1170
- var ne = d && u === void 0 ? lt(A) : l, te = {};
1171
- for (var Q in y)
1172
- d && Q === "as" || ne(Q) && (te[Q] = y[Q]);
1173
- return te.className = C, _ && (te.ref = _), /* @__PURE__ */ ie.createElement(ie.Fragment, null, /* @__PURE__ */ ie.createElement(lo, {
1174
- cache: x,
1175
- serialized: pe,
1176
- isStringTag: typeof A == "string"
1177
- }), /* @__PURE__ */ ie.createElement(A, te));
1178
- });
1179
- return c.displayName = i !== void 0 ? i : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", c.defaultProps = r.defaultProps, c.__emotion_real = c, c.__emotion_base = o, c.__emotion_styles = p, c.__emotion_forwardProp = u, Object.defineProperty(c, "toString", {
1180
- value: function() {
1181
- return "." + s;
1182
- }
1183
- }), c.withComponent = function(y, x) {
1184
- var _ = e(y, Mr({}, t, x, {
1185
- shouldForwardProp: ft(c, x, !0)
1186
- }));
1187
- return _.apply(void 0, p);
1188
- }, c;
1189
- };
1190
- }, po = [
1191
- "a",
1192
- "abbr",
1193
- "address",
1194
- "area",
1195
- "article",
1196
- "aside",
1197
- "audio",
1198
- "b",
1199
- "base",
1200
- "bdi",
1201
- "bdo",
1202
- "big",
1203
- "blockquote",
1204
- "body",
1205
- "br",
1206
- "button",
1207
- "canvas",
1208
- "caption",
1209
- "cite",
1210
- "code",
1211
- "col",
1212
- "colgroup",
1213
- "data",
1214
- "datalist",
1215
- "dd",
1216
- "del",
1217
- "details",
1218
- "dfn",
1219
- "dialog",
1220
- "div",
1221
- "dl",
1222
- "dt",
1223
- "em",
1224
- "embed",
1225
- "fieldset",
1226
- "figcaption",
1227
- "figure",
1228
- "footer",
1229
- "form",
1230
- "h1",
1231
- "h2",
1232
- "h3",
1233
- "h4",
1234
- "h5",
1235
- "h6",
1236
- "head",
1237
- "header",
1238
- "hgroup",
1239
- "hr",
1240
- "html",
1241
- "i",
1242
- "iframe",
1243
- "img",
1244
- "input",
1245
- "ins",
1246
- "kbd",
1247
- "keygen",
1248
- "label",
1249
- "legend",
1250
- "li",
1251
- "link",
1252
- "main",
1253
- "map",
1254
- "mark",
1255
- "marquee",
1256
- "menu",
1257
- "menuitem",
1258
- "meta",
1259
- "meter",
1260
- "nav",
1261
- "noscript",
1262
- "object",
1263
- "ol",
1264
- "optgroup",
1265
- "option",
1266
- "output",
1267
- "p",
1268
- "param",
1269
- "picture",
1270
- "pre",
1271
- "progress",
1272
- "q",
1273
- "rp",
1274
- "rt",
1275
- "ruby",
1276
- "s",
1277
- "samp",
1278
- "script",
1279
- "section",
1280
- "select",
1281
- "small",
1282
- "source",
1283
- "span",
1284
- "strong",
1285
- "style",
1286
- "sub",
1287
- "summary",
1288
- "sup",
1289
- "table",
1290
- "tbody",
1291
- "td",
1292
- "textarea",
1293
- "tfoot",
1294
- "th",
1295
- "thead",
1296
- "time",
1297
- "title",
1298
- "tr",
1299
- "track",
1300
- "u",
1301
- "ul",
1302
- "var",
1303
- "video",
1304
- "wbr",
1305
- // SVG
1306
- "circle",
1307
- "clipPath",
1308
- "defs",
1309
- "ellipse",
1310
- "foreignObject",
1311
- "g",
1312
- "image",
1313
- "line",
1314
- "linearGradient",
1315
- "mask",
1316
- "path",
1317
- "pattern",
1318
- "polygon",
1319
- "polyline",
1320
- "radialGradient",
1321
- "rect",
1322
- "stop",
1323
- "svg",
1324
- "text",
1325
- "tspan"
1326
- ], Lr = fo.bind(null);
1327
- po.forEach(function(e) {
1328
- Lr[e] = Lr(e);
1329
- });
1330
- var er = { exports: {} };
1331
- /*
1332
- object-assign
1333
- (c) Sindre Sorhus
1334
- @license MIT
1335
- */
1336
- var _r, dt;
1337
- function mo() {
1338
- if (dt) return _r;
1339
- dt = 1;
1340
- var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
1341
- function n(i) {
1342
- if (i == null)
1343
- throw new TypeError("Object.assign cannot be called with null or undefined");
1344
- return Object(i);
1345
- }
1346
- function o() {
1347
- try {
1348
- if (!Object.assign)
1349
- return !1;
1350
- var i = new String("abc");
1351
- if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
1352
- return !1;
1353
- for (var s = {}, u = 0; u < 10; u++)
1354
- s["_" + String.fromCharCode(u)] = u;
1355
- var l = Object.getOwnPropertyNames(s).map(function(m) {
1356
- return s[m];
1357
- });
1358
- if (l.join("") !== "0123456789")
1359
- return !1;
1360
- var d = {};
1361
- return "abcdefghijklmnopqrst".split("").forEach(function(m) {
1362
- d[m] = m;
1363
- }), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
1364
- } catch {
1365
- return !1;
1366
- }
1367
- }
1368
- return _r = o() ? Object.assign : function(i, s) {
1369
- for (var u, l = n(i), d, m = 1; m < arguments.length; m++) {
1370
- u = Object(arguments[m]);
1371
- for (var p in u)
1372
- r.call(u, p) && (l[p] = u[p]);
1373
- if (e) {
1374
- d = e(u);
1375
- for (var h = 0; h < d.length; h++)
1376
- t.call(u, d[h]) && (l[d[h]] = u[d[h]]);
1377
- }
1378
- }
1379
- return l;
1380
- }, _r;
1381
- }
1382
- var Or, pt;
1383
- function Kr() {
1384
- if (pt) return Or;
1385
- pt = 1;
1386
- var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
1387
- return Or = e, Or;
1388
- }
1389
- var Ar, mt;
1390
- function en() {
1391
- return mt || (mt = 1, Ar = Function.call.bind(Object.prototype.hasOwnProperty)), Ar;
1392
- }
1393
- var kr, ht;
1394
- function ho() {
1395
- if (ht) return kr;
1396
- ht = 1;
1397
- var e = function() {
1398
- };
1399
- if (process.env.NODE_ENV !== "production") {
1400
- var r = /* @__PURE__ */ Kr(), t = {}, n = /* @__PURE__ */ en();
1401
- e = function(i) {
1402
- var s = "Warning: " + i;
1403
- typeof console < "u" && console.error(s);
1404
- try {
1405
- throw new Error(s);
1406
- } catch {
1407
- }
1408
- };
1409
- }
1410
- function o(i, s, u, l, d) {
1411
- if (process.env.NODE_ENV !== "production") {
1412
- for (var m in i)
1413
- if (n(i, m)) {
1414
- var p;
1415
- try {
1416
- if (typeof i[m] != "function") {
1417
- var h = Error(
1418
- (l || "React class") + ": " + u + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
1419
- );
1420
- throw h.name = "Invariant Violation", h;
1421
- }
1422
- p = i[m](s, m, l, u, null, r);
1423
- } catch (g) {
1424
- p = g;
1425
- }
1426
- if (p && !(p instanceof Error) && e(
1427
- (l || "React class") + ": type specification of " + u + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1428
- ), p instanceof Error && !(p.message in t)) {
1429
- t[p.message] = !0;
1430
- var S = d ? d() : "";
1431
- e(
1432
- "Failed " + u + " type: " + p.message + (S ?? "")
1433
- );
1434
- }
1435
- }
1436
- }
1437
- }
1438
- return o.resetWarningCache = function() {
1439
- process.env.NODE_ENV !== "production" && (t = {});
1440
- }, kr = o, kr;
1441
- }
1442
- var Pr, gt;
1443
- function go() {
1444
- if (gt) return Pr;
1445
- gt = 1;
1446
- var e = Yt(), r = mo(), t = /* @__PURE__ */ Kr(), n = /* @__PURE__ */ en(), o = /* @__PURE__ */ ho(), i = function() {
1447
- };
1448
- process.env.NODE_ENV !== "production" && (i = function(u) {
1449
- var l = "Warning: " + u;
1450
- typeof console < "u" && console.error(l);
1451
- try {
1452
- throw new Error(l);
1453
- } catch {
1454
- }
1455
- });
1456
- function s() {
1457
- return null;
1458
- }
1459
- return Pr = function(u, l) {
1460
- var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
1461
- function p(v) {
1462
- var w = v && (d && v[d] || v[m]);
1463
- if (typeof w == "function")
1464
- return w;
1465
- }
1466
- var h = "<<anonymous>>", S = {
1467
- array: x("array"),
1468
- bigint: x("bigint"),
1469
- bool: x("boolean"),
1470
- func: x("function"),
1471
- number: x("number"),
1472
- object: x("object"),
1473
- string: x("string"),
1474
- symbol: x("symbol"),
1475
- any: _(),
1476
- arrayOf: A,
1477
- element: C(),
1478
- elementType: b(),
1479
- instanceOf: $,
1480
- node: te(),
1481
- objectOf: pe,
1482
- oneOf: k,
1483
- oneOfType: ne,
1484
- shape: a,
1485
- exact: O
1486
- };
1487
- function g(v, w) {
1488
- return v === w ? v !== 0 || 1 / v === 1 / w : v !== v && w !== w;
1489
- }
1490
- function c(v, w) {
1491
- this.message = v, this.data = w && typeof w == "object" ? w : {}, this.stack = "";
1492
- }
1493
- c.prototype = Error.prototype;
1494
- function y(v) {
1495
- if (process.env.NODE_ENV !== "production")
1496
- var w = {}, M = 0;
1497
- function I(B, R, N, D, z, F, ce) {
1498
- if (D = D || h, F = F || N, ce !== t) {
1499
- if (l) {
1500
- var T = new Error(
1501
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
1502
- );
1503
- throw T.name = "Invariant Violation", T;
1504
- } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1505
- var ye = D + ":" + N;
1506
- !w[ye] && // Avoid spamming the console because they are often not actionable except for lib authors
1507
- M < 3 && (i(
1508
- "You are manually calling a React.PropTypes validation function for the `" + F + "` prop on `" + D + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
1509
- ), w[ye] = !0, M++);
1510
- }
1511
- }
1512
- return R[N] == null ? B ? R[N] === null ? new c("The " + z + " `" + F + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new c("The " + z + " `" + F + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : v(R, N, D, z, F);
1513
- }
1514
- var P = I.bind(null, !1);
1515
- return P.isRequired = I.bind(null, !0), P;
1516
- }
1517
- function x(v) {
1518
- function w(M, I, P, B, R, N) {
1519
- var D = M[I], z = Y(D);
1520
- if (z !== v) {
1521
- var F = se(D);
1522
- return new c(
1523
- "Invalid " + B + " `" + R + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected ") + ("`" + v + "`."),
1524
- { expectedType: v }
1525
- );
1526
- }
1527
- return null;
1528
- }
1529
- return y(w);
1530
- }
1531
- function _() {
1532
- return y(s);
1533
- }
1534
- function A(v) {
1535
- function w(M, I, P, B, R) {
1536
- if (typeof v != "function")
1537
- return new c("Property `" + R + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
1538
- var N = M[I];
1539
- if (!Array.isArray(N)) {
1540
- var D = Y(N);
1541
- return new c("Invalid " + B + " `" + R + "` of type " + ("`" + D + "` supplied to `" + P + "`, expected an array."));
1542
- }
1543
- for (var z = 0; z < N.length; z++) {
1544
- var F = v(N, z, P, B, R + "[" + z + "]", t);
1545
- if (F instanceof Error)
1546
- return F;
1547
- }
1548
- return null;
1549
- }
1550
- return y(w);
1551
- }
1552
- function C() {
1553
- function v(w, M, I, P, B) {
1554
- var R = w[M];
1555
- if (!u(R)) {
1556
- var N = Y(R);
1557
- return new c("Invalid " + P + " `" + B + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement."));
1558
- }
1559
- return null;
1560
- }
1561
- return y(v);
1562
- }
1563
- function b() {
1564
- function v(w, M, I, P, B) {
1565
- var R = w[M];
1566
- if (!e.isValidElementType(R)) {
1567
- var N = Y(R);
1568
- return new c("Invalid " + P + " `" + B + "` of type " + ("`" + N + "` supplied to `" + I + "`, expected a single ReactElement type."));
1569
- }
1570
- return null;
1571
- }
1572
- return y(v);
1573
- }
1574
- function $(v) {
1575
- function w(M, I, P, B, R) {
1576
- if (!(M[I] instanceof v)) {
1577
- var N = v.name || h, D = wr(M[I]);
1578
- return new c("Invalid " + B + " `" + R + "` of type " + ("`" + D + "` supplied to `" + P + "`, expected ") + ("instance of `" + N + "`."));
1579
- }
1580
- return null;
1581
- }
1582
- return y(w);
1583
- }
1584
- function k(v) {
1585
- if (!Array.isArray(v))
1586
- return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1587
- "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1588
- ) : i("Invalid argument supplied to oneOf, expected an array.")), s;
1589
- function w(M, I, P, B, R) {
1590
- for (var N = M[I], D = 0; D < v.length; D++)
1591
- if (g(N, v[D]))
1592
- return null;
1593
- var z = JSON.stringify(v, function(ce, T) {
1594
- var ye = se(T);
1595
- return ye === "symbol" ? String(T) : T;
1596
- });
1597
- return new c("Invalid " + B + " `" + R + "` of value `" + String(N) + "` " + ("supplied to `" + P + "`, expected one of " + z + "."));
1598
- }
1599
- return y(w);
1600
- }
1601
- function pe(v) {
1602
- function w(M, I, P, B, R) {
1603
- if (typeof v != "function")
1604
- return new c("Property `" + R + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
1605
- var N = M[I], D = Y(N);
1606
- if (D !== "object")
1607
- return new c("Invalid " + B + " `" + R + "` of type " + ("`" + D + "` supplied to `" + P + "`, expected an object."));
1608
- for (var z in N)
1609
- if (n(N, z)) {
1610
- var F = v(N, z, P, B, R + "." + z, t);
1611
- if (F instanceof Error)
1612
- return F;
1613
- }
1614
- return null;
1615
- }
1616
- return y(w);
1617
- }
1618
- function ne(v) {
1619
- if (!Array.isArray(v))
1620
- return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
1621
- for (var w = 0; w < v.length; w++) {
1622
- var M = v[w];
1623
- if (typeof M != "function")
1624
- return i(
1625
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(M) + " at index " + w + "."
1626
- ), s;
1627
- }
1628
- function I(P, B, R, N, D) {
1629
- for (var z = [], F = 0; F < v.length; F++) {
1630
- var ce = v[F], T = ce(P, B, R, N, D, t);
1631
- if (T == null)
1632
- return null;
1633
- T.data && n(T.data, "expectedType") && z.push(T.data.expectedType);
1634
- }
1635
- var ye = z.length > 0 ? ", expected one of type [" + z.join(", ") + "]" : "";
1636
- return new c("Invalid " + N + " `" + D + "` supplied to " + ("`" + R + "`" + ye + "."));
1637
- }
1638
- return y(I);
1639
- }
1640
- function te() {
1641
- function v(w, M, I, P, B) {
1642
- return E(w[M]) ? null : new c("Invalid " + P + " `" + B + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
1643
- }
1644
- return y(v);
1645
- }
1646
- function Q(v, w, M, I, P) {
1647
- return new c(
1648
- (v || "React class") + ": " + w + " type `" + M + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
1649
- );
1650
- }
1651
- function a(v) {
1652
- function w(M, I, P, B, R) {
1653
- var N = M[I], D = Y(N);
1654
- if (D !== "object")
1655
- return new c("Invalid " + B + " `" + R + "` of type `" + D + "` " + ("supplied to `" + P + "`, expected `object`."));
1656
- for (var z in v) {
1657
- var F = v[z];
1658
- if (typeof F != "function")
1659
- return Q(P, B, R, z, se(F));
1660
- var ce = F(N, z, P, B, R + "." + z, t);
1661
- if (ce)
1662
- return ce;
1663
- }
1664
- return null;
1665
- }
1666
- return y(w);
1667
- }
1668
- function O(v) {
1669
- function w(M, I, P, B, R) {
1670
- var N = M[I], D = Y(N);
1671
- if (D !== "object")
1672
- return new c("Invalid " + B + " `" + R + "` of type `" + D + "` " + ("supplied to `" + P + "`, expected `object`."));
1673
- var z = r({}, M[I], v);
1674
- for (var F in z) {
1675
- var ce = v[F];
1676
- if (n(v, F) && typeof ce != "function")
1677
- return Q(P, B, R, F, se(ce));
1678
- if (!ce)
1679
- return new c(
1680
- "Invalid " + B + " `" + R + "` key `" + F + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(M[I], null, " ") + `
1681
- Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
1682
- );
1683
- var T = ce(N, F, P, B, R + "." + F, t);
1684
- if (T)
1685
- return T;
1686
- }
1687
- return null;
1688
- }
1689
- return y(w);
1690
- }
1691
- function E(v) {
1692
- switch (typeof v) {
1693
- case "number":
1694
- case "string":
1695
- case "undefined":
1696
- return !0;
1697
- case "boolean":
1698
- return !v;
1699
- case "object":
1700
- if (Array.isArray(v))
1701
- return v.every(E);
1702
- if (v === null || u(v))
1703
- return !0;
1704
- var w = p(v);
1705
- if (w) {
1706
- var M = w.call(v), I;
1707
- if (w !== v.entries) {
1708
- for (; !(I = M.next()).done; )
1709
- if (!E(I.value))
1710
- return !1;
1711
- } else
1712
- for (; !(I = M.next()).done; ) {
1713
- var P = I.value;
1714
- if (P && !E(P[1]))
1715
- return !1;
1716
- }
1717
- } else
1718
- return !1;
1719
- return !0;
1720
- default:
1721
- return !1;
1722
- }
1723
- }
1724
- function W(v, w) {
1725
- return v === "symbol" ? !0 : w ? w["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && w instanceof Symbol : !1;
1726
- }
1727
- function Y(v) {
1728
- var w = typeof v;
1729
- return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : W(w, v) ? "symbol" : w;
1730
- }
1731
- function se(v) {
1732
- if (typeof v > "u" || v === null)
1733
- return "" + v;
1734
- var w = Y(v);
1735
- if (w === "object") {
1736
- if (v instanceof Date)
1737
- return "date";
1738
- if (v instanceof RegExp)
1739
- return "regexp";
1740
- }
1741
- return w;
1742
- }
1743
- function ge(v) {
1744
- var w = se(v);
1745
- switch (w) {
1746
- case "array":
1747
- case "object":
1748
- return "an " + w;
1749
- case "boolean":
1750
- case "date":
1751
- case "regexp":
1752
- return "a " + w;
1753
- default:
1754
- return w;
1755
- }
1756
- }
1757
- function wr(v) {
1758
- return !v.constructor || !v.constructor.name ? h : v.constructor.name;
1759
- }
1760
- return S.checkPropTypes = o, S.resetWarningCache = o.resetWarningCache, S.PropTypes = S, S;
1761
- }, Pr;
1762
- }
1763
- var Rr, yt;
1764
- function yo() {
1765
- if (yt) return Rr;
1766
- yt = 1;
1767
- var e = /* @__PURE__ */ Kr();
1768
- function r() {
1769
- }
1770
- function t() {
1771
- }
1772
- return t.resetWarningCache = r, Rr = function() {
1773
- function n(s, u, l, d, m, p) {
1774
- if (p !== e) {
1775
- var h = new Error(
1776
- "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
1777
- );
1778
- throw h.name = "Invariant Violation", h;
1779
- }
1780
- }
1781
- n.isRequired = n;
1782
- function o() {
1783
- return n;
1784
- }
1785
- var i = {
1786
- array: n,
1787
- bigint: n,
1788
- bool: n,
1789
- func: n,
1790
- number: n,
1791
- object: n,
1792
- string: n,
1793
- symbol: n,
1794
- any: n,
1795
- arrayOf: o,
1796
- element: n,
1797
- elementType: n,
1798
- instanceOf: o,
1799
- node: n,
1800
- objectOf: o,
1801
- oneOf: o,
1802
- oneOfType: o,
1803
- shape: o,
1804
- exact: o,
1805
- checkPropTypes: t,
1806
- resetWarningCache: r
1807
- };
1808
- return i.PropTypes = i, i;
1809
- }, Rr;
1810
- }
1811
- var bt;
1812
- function bo() {
1813
- if (bt) return er.exports;
1814
- if (bt = 1, process.env.NODE_ENV !== "production") {
1815
- var e = Yt(), r = !0;
1816
- er.exports = /* @__PURE__ */ go()(e.isElement, r);
1817
- } else
1818
- er.exports = /* @__PURE__ */ yo()();
1819
- return er.exports;
1820
- }
1821
- var vo = /* @__PURE__ */ bo();
1822
- const je = /* @__PURE__ */ Hn(vo);
1823
- /**
1824
- * @mui/styled-engine v7.3.1
1825
- *
1826
- * @license MIT
1827
- * This source code is licensed under the MIT license found in the
1828
- * LICENSE file in the root directory of this source tree.
1829
- */
1830
- function ba(e, r) {
1831
- const t = Lr(e, r);
1832
- return process.env.NODE_ENV !== "production" ? (...n) => {
1833
- const o = typeof e == "string" ? `"${e}"` : "component";
1834
- return n.length === 0 ? console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
1835
- `)) : n.some((i) => i === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
1836
- } : t;
1837
- }
1838
- function va(e, r) {
1839
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
1840
- }
1841
- const vt = [];
1842
- function Sa(e) {
1843
- return vt[0] = e, Hr(vt);
1844
- }
1845
- var rr = { exports: {} }, H = {};
1846
- /**
1847
- * @license React
1848
- * react-is.production.js
1849
- *
1850
- * Copyright (c) Meta Platforms, Inc. and affiliates.
1851
- *
1852
- * This source code is licensed under the MIT license found in the
1853
- * LICENSE file in the root directory of this source tree.
1854
- */
1855
- var St;
1856
- function So() {
1857
- if (St) return H;
1858
- St = 1;
1859
- var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.consumer"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.view_transition"), S = Symbol.for("react.client.reference");
1860
- function g(c) {
1861
- if (typeof c == "object" && c !== null) {
1862
- var y = c.$$typeof;
1863
- switch (y) {
1864
- case e:
1865
- switch (c = c.type, c) {
1866
- case t:
1867
- case o:
1868
- case n:
1869
- case l:
1870
- case d:
1871
- case h:
1872
- return c;
1873
- default:
1874
- switch (c = c && c.$$typeof, c) {
1875
- case s:
1876
- case u:
1877
- case p:
1878
- case m:
1879
- return c;
1880
- case i:
1881
- return c;
1882
- default:
1883
- return y;
1884
- }
1885
- }
1886
- case r:
1887
- return y;
1888
- }
1889
- }
1890
- }
1891
- return H.ContextConsumer = i, H.ContextProvider = s, H.Element = e, H.ForwardRef = u, H.Fragment = t, H.Lazy = p, H.Memo = m, H.Portal = r, H.Profiler = o, H.StrictMode = n, H.Suspense = l, H.SuspenseList = d, H.isContextConsumer = function(c) {
1892
- return g(c) === i;
1893
- }, H.isContextProvider = function(c) {
1894
- return g(c) === s;
1895
- }, H.isElement = function(c) {
1896
- return typeof c == "object" && c !== null && c.$$typeof === e;
1897
- }, H.isForwardRef = function(c) {
1898
- return g(c) === u;
1899
- }, H.isFragment = function(c) {
1900
- return g(c) === t;
1901
- }, H.isLazy = function(c) {
1902
- return g(c) === p;
1903
- }, H.isMemo = function(c) {
1904
- return g(c) === m;
1905
- }, H.isPortal = function(c) {
1906
- return g(c) === r;
1907
- }, H.isProfiler = function(c) {
1908
- return g(c) === o;
1909
- }, H.isStrictMode = function(c) {
1910
- return g(c) === n;
1911
- }, H.isSuspense = function(c) {
1912
- return g(c) === l;
1913
- }, H.isSuspenseList = function(c) {
1914
- return g(c) === d;
1915
- }, H.isValidElementType = function(c) {
1916
- return typeof c == "string" || typeof c == "function" || c === t || c === o || c === n || c === l || c === d || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === m || c.$$typeof === s || c.$$typeof === i || c.$$typeof === u || c.$$typeof === S || c.getModuleId !== void 0);
1917
- }, H.typeOf = g, H;
1918
- }
1919
- var K = {};
1920
- /**
1921
- * @license React
1922
- * react-is.development.js
1923
- *
1924
- * Copyright (c) Meta Platforms, Inc. and affiliates.
1925
- *
1926
- * This source code is licensed under the MIT license found in the
1927
- * LICENSE file in the root directory of this source tree.
1928
- */
1929
- var Ct;
1930
- function Co() {
1931
- return Ct || (Ct = 1, process.env.NODE_ENV !== "production" && function() {
1932
- function e(c) {
1933
- if (typeof c == "object" && c !== null) {
1934
- var y = c.$$typeof;
1935
- switch (y) {
1936
- case r:
1937
- switch (c = c.type, c) {
1938
- case n:
1939
- case i:
1940
- case o:
1941
- case d:
1942
- case m:
1943
- case S:
1944
- return c;
1945
- default:
1946
- switch (c = c && c.$$typeof, c) {
1947
- case u:
1948
- case l:
1949
- case h:
1950
- case p:
1951
- return c;
1952
- case s:
1953
- return c;
1954
- default:
1955
- return y;
1956
- }
1957
- }
1958
- case t:
1959
- return y;
1960
- }
1961
- }
1962
- }
1963
- var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.consumer"), u = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), S = Symbol.for("react.view_transition"), g = Symbol.for("react.client.reference");
1964
- K.ContextConsumer = s, K.ContextProvider = u, K.Element = r, K.ForwardRef = l, K.Fragment = n, K.Lazy = h, K.Memo = p, K.Portal = t, K.Profiler = i, K.StrictMode = o, K.Suspense = d, K.SuspenseList = m, K.isContextConsumer = function(c) {
1965
- return e(c) === s;
1966
- }, K.isContextProvider = function(c) {
1967
- return e(c) === u;
1968
- }, K.isElement = function(c) {
1969
- return typeof c == "object" && c !== null && c.$$typeof === r;
1970
- }, K.isForwardRef = function(c) {
1971
- return e(c) === l;
1972
- }, K.isFragment = function(c) {
1973
- return e(c) === n;
1974
- }, K.isLazy = function(c) {
1975
- return e(c) === h;
1976
- }, K.isMemo = function(c) {
1977
- return e(c) === p;
1978
- }, K.isPortal = function(c) {
1979
- return e(c) === t;
1980
- }, K.isProfiler = function(c) {
1981
- return e(c) === i;
1982
- }, K.isStrictMode = function(c) {
1983
- return e(c) === o;
1984
- }, K.isSuspense = function(c) {
1985
- return e(c) === d;
1986
- }, K.isSuspenseList = function(c) {
1987
- return e(c) === m;
1988
- }, K.isValidElementType = function(c) {
1989
- return typeof c == "string" || typeof c == "function" || c === n || c === i || c === o || c === d || c === m || typeof c == "object" && c !== null && (c.$$typeof === h || c.$$typeof === p || c.$$typeof === u || c.$$typeof === s || c.$$typeof === l || c.$$typeof === g || c.getModuleId !== void 0);
1990
- }, K.typeOf = e;
1991
- }()), K;
1992
- }
1993
- var Et;
1994
- function Eo() {
1995
- return Et || (Et = 1, process.env.NODE_ENV === "production" ? rr.exports = /* @__PURE__ */ So() : rr.exports = /* @__PURE__ */ Co()), rr.exports;
1996
- }
1997
- var rn = /* @__PURE__ */ Eo();
1998
- function xe(e) {
1999
- if (typeof e != "object" || e === null)
2000
- return !1;
2001
- const r = Object.getPrototypeOf(e);
2002
- return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
2003
- }
2004
- function tn(e) {
2005
- if (/* @__PURE__ */ ie.isValidElement(e) || rn.isValidElementType(e) || !xe(e))
2006
- return e;
2007
- const r = {};
2008
- return Object.keys(e).forEach((t) => {
2009
- r[t] = tn(e[t]);
2010
- }), r;
2011
- }
2012
- function ue(e, r, t = {
2013
- clone: !0
2014
- }) {
2015
- const n = t.clone ? {
2016
- ...e
2017
- } : e;
2018
- return xe(e) && xe(r) && Object.keys(r).forEach((o) => {
2019
- /* @__PURE__ */ ie.isValidElement(r[o]) || rn.isValidElementType(r[o]) ? n[o] = r[o] : xe(r[o]) && // Avoid prototype pollution
2020
- Object.prototype.hasOwnProperty.call(e, o) && xe(e[o]) ? n[o] = ue(e[o], r[o], t) : t.clone ? n[o] = xe(r[o]) ? tn(r[o]) : r[o] : n[o] = r[o];
2021
- }), n;
2022
- }
2023
- const To = (e) => {
2024
- const r = Object.keys(e).map((t) => ({
2025
- key: t,
2026
- val: e[t]
2027
- })) || [];
2028
- return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
2029
- ...t,
2030
- [n.key]: n.val
2031
- }), {});
2032
- };
2033
- function xo(e) {
2034
- const {
2035
- // The breakpoint **start** at this value.
2036
- // For instance with the first breakpoint xs: [xs, sm).
2037
- values: r = {
2038
- xs: 0,
2039
- // phone
2040
- sm: 600,
2041
- // tablet
2042
- md: 900,
2043
- // small laptop
2044
- lg: 1200,
2045
- // desktop
2046
- xl: 1536
2047
- // large screen
2048
- },
2049
- unit: t = "px",
2050
- step: n = 5,
2051
- ...o
2052
- } = e, i = To(r), s = Object.keys(i);
2053
- function u(h) {
2054
- return `@media (min-width:${typeof r[h] == "number" ? r[h] : h}${t})`;
2055
- }
2056
- function l(h) {
2057
- return `@media (max-width:${(typeof r[h] == "number" ? r[h] : h) - n / 100}${t})`;
2058
- }
2059
- function d(h, S) {
2060
- const g = s.indexOf(S);
2061
- return `@media (min-width:${typeof r[h] == "number" ? r[h] : h}${t}) and (max-width:${(g !== -1 && typeof r[s[g]] == "number" ? r[s[g]] : S) - n / 100}${t})`;
2062
- }
2063
- function m(h) {
2064
- return s.indexOf(h) + 1 < s.length ? d(h, s[s.indexOf(h) + 1]) : u(h);
2065
- }
2066
- function p(h) {
2067
- const S = s.indexOf(h);
2068
- return S === 0 ? u(s[1]) : S === s.length - 1 ? l(s[S]) : d(h, s[s.indexOf(h) + 1]).replace("@media", "@media not all and");
2069
- }
2070
- return {
2071
- keys: s,
2072
- values: i,
2073
- up: u,
2074
- down: l,
2075
- between: d,
2076
- only: m,
2077
- not: p,
2078
- unit: t,
2079
- ...o
2080
- };
2081
- }
2082
- function Tt(e, r) {
2083
- if (!e.containerQueries)
2084
- return r;
2085
- const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
2086
- const i = /min-width:\s*([0-9.]+)/;
2087
- return +(n.match(i)?.[1] || 0) - +(o.match(i)?.[1] || 0);
2088
- });
2089
- return t.length ? t.reduce((n, o) => {
2090
- const i = r[o];
2091
- return delete n[o], n[o] = i, n;
2092
- }, {
2093
- ...r
2094
- }) : r;
2095
- }
2096
- function wo(e, r) {
2097
- return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
2098
- }
2099
- function $o(e, r) {
2100
- const t = r.match(/^@([^/]+)?\/?(.+)?$/);
2101
- if (!t) {
2102
- if (process.env.NODE_ENV !== "production")
2103
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
2104
- For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : we(18, `(${r})`));
2105
- return null;
2106
- }
2107
- const [, n, o] = t, i = Number.isNaN(+n) ? n || 0 : +n;
2108
- return e.containerQueries(o).up(i);
2109
- }
2110
- function _o(e) {
2111
- const r = (i, s) => i.replace("@media", s ? `@container ${s}` : "@container");
2112
- function t(i, s) {
2113
- i.up = (...u) => r(e.breakpoints.up(...u), s), i.down = (...u) => r(e.breakpoints.down(...u), s), i.between = (...u) => r(e.breakpoints.between(...u), s), i.only = (...u) => r(e.breakpoints.only(...u), s), i.not = (...u) => {
2114
- const l = r(e.breakpoints.not(...u), s);
2115
- return l.includes("not all and") ? l.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : l;
2116
- };
2117
- }
2118
- const n = {}, o = (i) => (t(n, i), n);
2119
- return t(o), {
2120
- ...e,
2121
- containerQueries: o
2122
- };
2123
- }
2124
- const Oo = {
2125
- borderRadius: 4
2126
- }, _e = process.env.NODE_ENV !== "production" ? je.oneOfType([je.number, je.string, je.object, je.array]) : {};
2127
- function Ve(e, r) {
2128
- return r ? ue(e, r, {
2129
- clone: !1
2130
- // No need to clone deep, it's way faster.
2131
- }) : e;
2132
- }
2133
- const fr = {
2134
- xs: 0,
2135
- // phone
2136
- sm: 600,
2137
- // tablet
2138
- md: 900,
2139
- // small laptop
2140
- lg: 1200,
2141
- // desktop
2142
- xl: 1536
2143
- // large screen
2144
- }, xt = {
2145
- // Sorted ASC by size. That's important.
2146
- // It can't be configured as it's used statically for propTypes.
2147
- keys: ["xs", "sm", "md", "lg", "xl"],
2148
- up: (e) => `@media (min-width:${fr[e]}px)`
2149
- }, Ao = {
2150
- containerQueries: (e) => ({
2151
- up: (r) => {
2152
- let t = typeof r == "number" ? r : fr[r] || r;
2153
- return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
2154
- }
2155
- })
2156
- };
2157
- function Te(e, r, t) {
2158
- const n = e.theme || {};
2159
- if (Array.isArray(r)) {
2160
- const i = n.breakpoints || xt;
2161
- return r.reduce((s, u, l) => (s[i.up(i.keys[l])] = t(r[l]), s), {});
2162
- }
2163
- if (typeof r == "object") {
2164
- const i = n.breakpoints || xt;
2165
- return Object.keys(r).reduce((s, u) => {
2166
- if (wo(i.keys, u)) {
2167
- const l = $o(n.containerQueries ? n : Ao, u);
2168
- l && (s[l] = t(r[u], u));
2169
- } else if (Object.keys(i.values || fr).includes(u)) {
2170
- const l = i.up(u);
2171
- s[l] = t(r[u], u);
2172
- } else {
2173
- const l = u;
2174
- s[l] = r[l];
2175
- }
2176
- return s;
2177
- }, {});
2178
- }
2179
- return t(r);
2180
- }
2181
- function nn(e = {}) {
2182
- return e.keys?.reduce((t, n) => {
2183
- const o = e.up(n);
2184
- return t[o] = {}, t;
2185
- }, {}) || {};
2186
- }
2187
- function jr(e, r) {
2188
- return e.reduce((t, n) => {
2189
- const o = t[n];
2190
- return (!o || Object.keys(o).length === 0) && delete t[n], t;
2191
- }, r);
2192
- }
2193
- function Ca(e, ...r) {
2194
- const t = nn(e), n = [t, ...r].reduce((o, i) => ue(o, i), {});
2195
- return jr(Object.keys(t), n);
2196
- }
2197
- function ko(e, r) {
2198
- if (typeof e != "object")
2199
- return {};
2200
- const t = {}, n = Object.keys(r);
2201
- return Array.isArray(e) ? n.forEach((o, i) => {
2202
- i < e.length && (t[o] = !0);
2203
- }) : n.forEach((o) => {
2204
- e[o] != null && (t[o] = !0);
2205
- }), t;
2206
- }
2207
- function Ea({
2208
- values: e,
2209
- breakpoints: r,
2210
- base: t
2211
- }) {
2212
- const n = t || ko(e, r), o = Object.keys(n);
2213
- if (o.length === 0)
2214
- return e;
2215
- let i;
2216
- return o.reduce((s, u, l) => (Array.isArray(e) ? (s[u] = e[l] != null ? e[l] : e[i], i = l) : typeof e == "object" ? (s[u] = e[u] != null ? e[u] : e[i], i = u) : s[u] = e, s), {});
2217
- }
2218
- function on(e) {
2219
- if (typeof e != "string")
2220
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : we(7));
2221
- return e.charAt(0).toUpperCase() + e.slice(1);
2222
- }
2223
- function dr(e, r, t = !0) {
2224
- if (!r || typeof r != "string")
2225
- return null;
2226
- if (e && e.vars && t) {
2227
- const n = `vars.${r}`.split(".").reduce((o, i) => o && o[i] ? o[i] : null, e);
2228
- if (n != null)
2229
- return n;
2230
- }
2231
- return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
2232
- }
2233
- function sr(e, r, t, n = t) {
2234
- let o;
2235
- return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = dr(e, t) || n, r && (o = r(o, n, e)), o;
2236
- }
2237
- function ee(e) {
2238
- const {
2239
- prop: r,
2240
- cssProperty: t = e.prop,
2241
- themeKey: n,
2242
- transform: o
2243
- } = e, i = (s) => {
2244
- if (s[r] == null)
2245
- return null;
2246
- const u = s[r], l = s.theme, d = dr(l, n) || {};
2247
- return Te(s, u, (p) => {
2248
- let h = sr(d, o, p);
2249
- return p === h && typeof p == "string" && (h = sr(d, o, `${r}${p === "default" ? "" : on(p)}`, p)), t === !1 ? h : {
2250
- [t]: h
2251
- };
2252
- });
2253
- };
2254
- return i.propTypes = process.env.NODE_ENV !== "production" ? {
2255
- [r]: _e
2256
- } : {}, i.filterProps = [r], i;
2257
- }
2258
- function Po(e) {
2259
- const r = {};
2260
- return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
2261
- }
2262
- const Ro = {
2263
- m: "margin",
2264
- p: "padding"
2265
- }, Io = {
2266
- t: "Top",
2267
- r: "Right",
2268
- b: "Bottom",
2269
- l: "Left",
2270
- x: ["Left", "Right"],
2271
- y: ["Top", "Bottom"]
2272
- }, wt = {
2273
- marginX: "mx",
2274
- marginY: "my",
2275
- paddingX: "px",
2276
- paddingY: "py"
2277
- }, No = Po((e) => {
2278
- if (e.length > 2)
2279
- if (wt[e])
2280
- e = wt[e];
2281
- else
2282
- return [e];
2283
- const [r, t] = e.split(""), n = Ro[r], o = Io[t] || "";
2284
- return Array.isArray(o) ? o.map((i) => n + i) : [n + o];
2285
- }), pr = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], mr = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Mo = [...pr, ...mr];
2286
- function Ke(e, r, t, n) {
2287
- const o = dr(e, r, !0) ?? t;
2288
- return typeof o == "number" || typeof o == "string" ? (i) => typeof i == "string" ? i : (process.env.NODE_ENV !== "production" && typeof i != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`), typeof o == "string" ? o.startsWith("var(") && i === 0 ? 0 : o.startsWith("var(") && i === 1 ? o : `calc(${i} * ${o})` : o * i) : Array.isArray(o) ? (i) => {
2289
- if (typeof i == "string")
2290
- return i;
2291
- const s = Math.abs(i);
2292
- process.env.NODE_ENV !== "production" && (Number.isInteger(s) ? s > o.length - 1 && console.error([`MUI: The value provided (${s}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${s} > ${o.length - 1}, you need to add the missing values.`].join(`
2293
- `)) : console.error([`MUI: The \`theme.${r}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${r}\` as a number.`].join(`
2294
- `)));
2295
- const u = o[s];
2296
- return i >= 0 ? u : typeof u == "number" ? -u : typeof u == "string" && u.startsWith("var(") ? `calc(-1 * ${u})` : `-${u}`;
2297
- } : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
2298
- `)), () => {
2299
- });
2300
- }
2301
- function Xr(e) {
2302
- return Ke(e, "spacing", 8, "spacing");
2303
- }
2304
- function Xe(e, r) {
2305
- return typeof r == "string" || r == null ? r : e(r);
2306
- }
2307
- function Bo(e, r) {
2308
- return (t) => e.reduce((n, o) => (n[o] = Xe(r, t), n), {});
2309
- }
2310
- function Do(e, r, t, n) {
2311
- if (!r.includes(t))
2312
- return null;
2313
- const o = No(t), i = Bo(o, n), s = e[t];
2314
- return Te(e, s, i);
2315
- }
2316
- function an(e, r) {
2317
- const t = Xr(e.theme);
2318
- return Object.keys(e).map((n) => Do(e, r, n, t)).reduce(Ve, {});
2319
- }
2320
- function J(e) {
2321
- return an(e, pr);
2322
- }
2323
- J.propTypes = process.env.NODE_ENV !== "production" ? pr.reduce((e, r) => (e[r] = _e, e), {}) : {};
2324
- J.filterProps = pr;
2325
- function Z(e) {
2326
- return an(e, mr);
2327
- }
2328
- Z.propTypes = process.env.NODE_ENV !== "production" ? mr.reduce((e, r) => (e[r] = _e, e), {}) : {};
2329
- Z.filterProps = mr;
2330
- process.env.NODE_ENV !== "production" && Mo.reduce((e, r) => (e[r] = _e, e), {});
2331
- function sn(e = 8, r = Xr({
2332
- spacing: e
2333
- })) {
2334
- if (e.mui)
2335
- return e;
2336
- const t = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((i) => {
2337
- const s = r(i);
2338
- return typeof s == "number" ? `${s}px` : s;
2339
- }).join(" "));
2340
- return t.mui = !0, t;
2341
- }
2342
- function hr(...e) {
2343
- const r = e.reduce((n, o) => (o.filterProps.forEach((i) => {
2344
- n[i] = o;
2345
- }), n), {}), t = (n) => Object.keys(n).reduce((o, i) => r[i] ? Ve(o, r[i](n)) : o, {});
2346
- return t.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, t.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), t;
2347
- }
2348
- function me(e) {
2349
- return typeof e != "number" ? e : `${e}px solid`;
2350
- }
2351
- function he(e, r) {
2352
- return ee({
2353
- prop: e,
2354
- themeKey: "borders",
2355
- transform: r
2356
- });
2357
- }
2358
- const Fo = he("border", me), Lo = he("borderTop", me), jo = he("borderRight", me), Wo = he("borderBottom", me), Uo = he("borderLeft", me), Vo = he("borderColor"), Yo = he("borderTopColor"), zo = he("borderRightColor"), qo = he("borderBottomColor"), Go = he("borderLeftColor"), Ho = he("outline", me), Ko = he("outlineColor"), gr = (e) => {
2359
- if (e.borderRadius !== void 0 && e.borderRadius !== null) {
2360
- const r = Ke(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
2361
- borderRadius: Xe(r, n)
2362
- });
2363
- return Te(e, e.borderRadius, t);
2364
- }
2365
- return null;
2366
- };
2367
- gr.propTypes = process.env.NODE_ENV !== "production" ? {
2368
- borderRadius: _e
2369
- } : {};
2370
- gr.filterProps = ["borderRadius"];
2371
- hr(Fo, Lo, jo, Wo, Uo, Vo, Yo, zo, qo, Go, gr, Ho, Ko);
2372
- const yr = (e) => {
2373
- if (e.gap !== void 0 && e.gap !== null) {
2374
- const r = Ke(e.theme, "spacing", 8, "gap"), t = (n) => ({
2375
- gap: Xe(r, n)
2376
- });
2377
- return Te(e, e.gap, t);
2378
- }
2379
- return null;
2380
- };
2381
- yr.propTypes = process.env.NODE_ENV !== "production" ? {
2382
- gap: _e
2383
- } : {};
2384
- yr.filterProps = ["gap"];
2385
- const br = (e) => {
2386
- if (e.columnGap !== void 0 && e.columnGap !== null) {
2387
- const r = Ke(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
2388
- columnGap: Xe(r, n)
2389
- });
2390
- return Te(e, e.columnGap, t);
2391
- }
2392
- return null;
2393
- };
2394
- br.propTypes = process.env.NODE_ENV !== "production" ? {
2395
- columnGap: _e
2396
- } : {};
2397
- br.filterProps = ["columnGap"];
2398
- const vr = (e) => {
2399
- if (e.rowGap !== void 0 && e.rowGap !== null) {
2400
- const r = Ke(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
2401
- rowGap: Xe(r, n)
2402
- });
2403
- return Te(e, e.rowGap, t);
2404
- }
2405
- return null;
2406
- };
2407
- vr.propTypes = process.env.NODE_ENV !== "production" ? {
2408
- rowGap: _e
2409
- } : {};
2410
- vr.filterProps = ["rowGap"];
2411
- const Xo = ee({
2412
- prop: "gridColumn"
2413
- }), Qo = ee({
2414
- prop: "gridRow"
2415
- }), Jo = ee({
2416
- prop: "gridAutoFlow"
2417
- }), Zo = ee({
2418
- prop: "gridAutoColumns"
2419
- }), ei = ee({
2420
- prop: "gridAutoRows"
2421
- }), ri = ee({
2422
- prop: "gridTemplateColumns"
2423
- }), ti = ee({
2424
- prop: "gridTemplateRows"
2425
- }), ni = ee({
2426
- prop: "gridTemplateAreas"
2427
- }), oi = ee({
2428
- prop: "gridArea"
2429
- });
2430
- hr(yr, br, vr, Xo, Qo, Jo, Zo, ei, ri, ti, ni, oi);
2431
- function Me(e, r) {
2432
- return r === "grey" ? r : e;
2433
- }
2434
- const ii = ee({
2435
- prop: "color",
2436
- themeKey: "palette",
2437
- transform: Me
2438
- }), ai = ee({
2439
- prop: "bgcolor",
2440
- cssProperty: "backgroundColor",
2441
- themeKey: "palette",
2442
- transform: Me
2443
- }), si = ee({
2444
- prop: "backgroundColor",
2445
- themeKey: "palette",
2446
- transform: Me
2447
- });
2448
- hr(ii, ai, si);
2449
- function fe(e) {
2450
- return e <= 1 && e !== 0 ? `${e * 100}%` : e;
2451
- }
2452
- const ci = ee({
2453
- prop: "width",
2454
- transform: fe
2455
- }), Qr = (e) => {
2456
- if (e.maxWidth !== void 0 && e.maxWidth !== null) {
2457
- const r = (t) => {
2458
- const n = e.theme?.breakpoints?.values?.[t] || fr[t];
2459
- return n ? e.theme?.breakpoints?.unit !== "px" ? {
2460
- maxWidth: `${n}${e.theme.breakpoints.unit}`
2461
- } : {
2462
- maxWidth: n
2463
- } : {
2464
- maxWidth: fe(t)
2465
- };
2466
- };
2467
- return Te(e, e.maxWidth, r);
2468
- }
2469
- return null;
2470
- };
2471
- Qr.filterProps = ["maxWidth"];
2472
- const ui = ee({
2473
- prop: "minWidth",
2474
- transform: fe
2475
- }), li = ee({
2476
- prop: "height",
2477
- transform: fe
2478
- }), fi = ee({
2479
- prop: "maxHeight",
2480
- transform: fe
2481
- }), di = ee({
2482
- prop: "minHeight",
2483
- transform: fe
2484
- });
2485
- ee({
2486
- prop: "size",
2487
- cssProperty: "width",
2488
- transform: fe
2489
- });
2490
- ee({
2491
- prop: "size",
2492
- cssProperty: "height",
2493
- transform: fe
2494
- });
2495
- const pi = ee({
2496
- prop: "boxSizing"
2497
- });
2498
- hr(ci, Qr, ui, li, fi, di, pi);
2499
- const Sr = {
2500
- // borders
2501
- border: {
2502
- themeKey: "borders",
2503
- transform: me
2504
- },
2505
- borderTop: {
2506
- themeKey: "borders",
2507
- transform: me
2508
- },
2509
- borderRight: {
2510
- themeKey: "borders",
2511
- transform: me
2512
- },
2513
- borderBottom: {
2514
- themeKey: "borders",
2515
- transform: me
2516
- },
2517
- borderLeft: {
2518
- themeKey: "borders",
2519
- transform: me
2520
- },
2521
- borderColor: {
2522
- themeKey: "palette"
2523
- },
2524
- borderTopColor: {
2525
- themeKey: "palette"
2526
- },
2527
- borderRightColor: {
2528
- themeKey: "palette"
2529
- },
2530
- borderBottomColor: {
2531
- themeKey: "palette"
2532
- },
2533
- borderLeftColor: {
2534
- themeKey: "palette"
2535
- },
2536
- outline: {
2537
- themeKey: "borders",
2538
- transform: me
2539
- },
2540
- outlineColor: {
2541
- themeKey: "palette"
2542
- },
2543
- borderRadius: {
2544
- themeKey: "shape.borderRadius",
2545
- style: gr
2546
- },
2547
- // palette
2548
- color: {
2549
- themeKey: "palette",
2550
- transform: Me
2551
- },
2552
- bgcolor: {
2553
- themeKey: "palette",
2554
- cssProperty: "backgroundColor",
2555
- transform: Me
2556
- },
2557
- backgroundColor: {
2558
- themeKey: "palette",
2559
- transform: Me
2560
- },
2561
- // spacing
2562
- p: {
2563
- style: Z
2564
- },
2565
- pt: {
2566
- style: Z
2567
- },
2568
- pr: {
2569
- style: Z
2570
- },
2571
- pb: {
2572
- style: Z
2573
- },
2574
- pl: {
2575
- style: Z
2576
- },
2577
- px: {
2578
- style: Z
2579
- },
2580
- py: {
2581
- style: Z
2582
- },
2583
- padding: {
2584
- style: Z
2585
- },
2586
- paddingTop: {
2587
- style: Z
2588
- },
2589
- paddingRight: {
2590
- style: Z
2591
- },
2592
- paddingBottom: {
2593
- style: Z
2594
- },
2595
- paddingLeft: {
2596
- style: Z
2597
- },
2598
- paddingX: {
2599
- style: Z
2600
- },
2601
- paddingY: {
2602
- style: Z
2603
- },
2604
- paddingInline: {
2605
- style: Z
2606
- },
2607
- paddingInlineStart: {
2608
- style: Z
2609
- },
2610
- paddingInlineEnd: {
2611
- style: Z
2612
- },
2613
- paddingBlock: {
2614
- style: Z
2615
- },
2616
- paddingBlockStart: {
2617
- style: Z
2618
- },
2619
- paddingBlockEnd: {
2620
- style: Z
2621
- },
2622
- m: {
2623
- style: J
2624
- },
2625
- mt: {
2626
- style: J
2627
- },
2628
- mr: {
2629
- style: J
2630
- },
2631
- mb: {
2632
- style: J
2633
- },
2634
- ml: {
2635
- style: J
2636
- },
2637
- mx: {
2638
- style: J
2639
- },
2640
- my: {
2641
- style: J
2642
- },
2643
- margin: {
2644
- style: J
2645
- },
2646
- marginTop: {
2647
- style: J
2648
- },
2649
- marginRight: {
2650
- style: J
2651
- },
2652
- marginBottom: {
2653
- style: J
2654
- },
2655
- marginLeft: {
2656
- style: J
2657
- },
2658
- marginX: {
2659
- style: J
2660
- },
2661
- marginY: {
2662
- style: J
2663
- },
2664
- marginInline: {
2665
- style: J
2666
- },
2667
- marginInlineStart: {
2668
- style: J
2669
- },
2670
- marginInlineEnd: {
2671
- style: J
2672
- },
2673
- marginBlock: {
2674
- style: J
2675
- },
2676
- marginBlockStart: {
2677
- style: J
2678
- },
2679
- marginBlockEnd: {
2680
- style: J
2681
- },
2682
- // display
2683
- displayPrint: {
2684
- cssProperty: !1,
2685
- transform: (e) => ({
2686
- "@media print": {
2687
- display: e
2688
- }
2689
- })
2690
- },
2691
- display: {},
2692
- overflow: {},
2693
- textOverflow: {},
2694
- visibility: {},
2695
- whiteSpace: {},
2696
- // flexbox
2697
- flexBasis: {},
2698
- flexDirection: {},
2699
- flexWrap: {},
2700
- justifyContent: {},
2701
- alignItems: {},
2702
- alignContent: {},
2703
- order: {},
2704
- flex: {},
2705
- flexGrow: {},
2706
- flexShrink: {},
2707
- alignSelf: {},
2708
- justifyItems: {},
2709
- justifySelf: {},
2710
- // grid
2711
- gap: {
2712
- style: yr
2713
- },
2714
- rowGap: {
2715
- style: vr
2716
- },
2717
- columnGap: {
2718
- style: br
2719
- },
2720
- gridColumn: {},
2721
- gridRow: {},
2722
- gridAutoFlow: {},
2723
- gridAutoColumns: {},
2724
- gridAutoRows: {},
2725
- gridTemplateColumns: {},
2726
- gridTemplateRows: {},
2727
- gridTemplateAreas: {},
2728
- gridArea: {},
2729
- // positions
2730
- position: {},
2731
- zIndex: {
2732
- themeKey: "zIndex"
2733
- },
2734
- top: {},
2735
- right: {},
2736
- bottom: {},
2737
- left: {},
2738
- // shadows
2739
- boxShadow: {
2740
- themeKey: "shadows"
2741
- },
2742
- // sizing
2743
- width: {
2744
- transform: fe
2745
- },
2746
- maxWidth: {
2747
- style: Qr
2748
- },
2749
- minWidth: {
2750
- transform: fe
2751
- },
2752
- height: {
2753
- transform: fe
2754
- },
2755
- maxHeight: {
2756
- transform: fe
2757
- },
2758
- minHeight: {
2759
- transform: fe
2760
- },
2761
- boxSizing: {},
2762
- // typography
2763
- font: {
2764
- themeKey: "font"
2765
- },
2766
- fontFamily: {
2767
- themeKey: "typography"
2768
- },
2769
- fontSize: {
2770
- themeKey: "typography"
2771
- },
2772
- fontStyle: {
2773
- themeKey: "typography"
2774
- },
2775
- fontWeight: {
2776
- themeKey: "typography"
2777
- },
2778
- letterSpacing: {},
2779
- textTransform: {},
2780
- lineHeight: {},
2781
- textAlign: {},
2782
- typography: {
2783
- cssProperty: !1,
2784
- themeKey: "typography"
2785
- }
2786
- };
2787
- function mi(...e) {
2788
- const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
2789
- return e.every((n) => t.size === Object.keys(n).length);
2790
- }
2791
- function hi(e, r) {
2792
- return typeof e == "function" ? e(r) : e;
2793
- }
2794
- function gi() {
2795
- function e(t, n, o, i) {
2796
- const s = {
2797
- [t]: n,
2798
- theme: o
2799
- }, u = i[t];
2800
- if (!u)
2801
- return {
2802
- [t]: n
2803
- };
2804
- const {
2805
- cssProperty: l = t,
2806
- themeKey: d,
2807
- transform: m,
2808
- style: p
2809
- } = u;
2810
- if (n == null)
2811
- return null;
2812
- if (d === "typography" && n === "inherit")
2813
- return {
2814
- [t]: n
2815
- };
2816
- const h = dr(o, d) || {};
2817
- return p ? p(s) : Te(s, n, (g) => {
2818
- let c = sr(h, m, g);
2819
- return g === c && typeof g == "string" && (c = sr(h, m, `${t}${g === "default" ? "" : on(g)}`, g)), l === !1 ? c : {
2820
- [l]: c
2821
- };
2822
- });
2823
- }
2824
- function r(t) {
2825
- const {
2826
- sx: n,
2827
- theme: o = {},
2828
- nested: i
2829
- } = t || {};
2830
- if (!n)
2831
- return null;
2832
- const s = o.unstable_sxConfig ?? Sr;
2833
- function u(l) {
2834
- let d = l;
2835
- if (typeof l == "function")
2836
- d = l(o);
2837
- else if (typeof l != "object")
2838
- return l;
2839
- if (!d)
2840
- return null;
2841
- const m = nn(o.breakpoints), p = Object.keys(m);
2842
- let h = m;
2843
- return Object.keys(d).forEach((S) => {
2844
- const g = hi(d[S], o);
2845
- if (g != null)
2846
- if (typeof g == "object")
2847
- if (s[S])
2848
- h = Ve(h, e(S, g, o, s));
2849
- else {
2850
- const c = Te({
2851
- theme: o
2852
- }, g, (y) => ({
2853
- [S]: y
2854
- }));
2855
- mi(c, g) ? h[S] = r({
2856
- sx: g,
2857
- theme: o,
2858
- nested: !0
2859
- }) : h = Ve(h, c);
2860
- }
2861
- else
2862
- h = Ve(h, e(S, g, o, s));
2863
- }), !i && o.modularCssLayers ? {
2864
- "@layer sx": Tt(o, jr(p, h))
2865
- } : Tt(o, jr(p, h));
2866
- }
2867
- return Array.isArray(n) ? n.map(u) : u(n);
2868
- }
2869
- return r;
2870
- }
2871
- const Cr = gi();
2872
- Cr.filterProps = ["sx"];
2873
- function yi(e, r) {
2874
- const t = this;
2875
- if (t.vars) {
2876
- if (!t.colorSchemes?.[e] || typeof t.getColorSchemeSelector != "function")
2877
- return {};
2878
- let n = t.getColorSchemeSelector(e);
2879
- return n === "&" ? r : ((n.includes("data-") || n.includes(".")) && (n = `*:where(${n.replace(/\s*&$/, "")}) &`), {
2880
- [n]: r
2881
- });
2882
- }
2883
- return t.palette.mode === e ? r : {};
2884
- }
2885
- function bi(e = {}, ...r) {
2886
- const {
2887
- breakpoints: t = {},
2888
- palette: n = {},
2889
- spacing: o,
2890
- shape: i = {},
2891
- ...s
2892
- } = e, u = xo(t), l = sn(o);
2893
- let d = ue({
2894
- breakpoints: u,
2895
- direction: "ltr",
2896
- components: {},
2897
- // Inject component definitions.
2898
- palette: {
2899
- mode: "light",
2900
- ...n
2901
- },
2902
- spacing: l,
2903
- shape: {
2904
- ...Oo,
2905
- ...i
2906
- }
2907
- }, s);
2908
- return d = _o(d), d.applyStyles = yi, d = r.reduce((m, p) => ue(m, p), d), d.unstable_sxConfig = {
2909
- ...Sr,
2910
- ...s?.unstable_sxConfig
2911
- }, d.unstable_sx = function(p) {
2912
- return Cr({
2913
- sx: p,
2914
- theme: this
2915
- });
2916
- }, d;
2917
- }
2918
- const $t = (e) => e, vi = () => {
2919
- let e = $t;
2920
- return {
2921
- configure(r) {
2922
- e = r;
2923
- },
2924
- generate(r) {
2925
- return e(r);
2926
- },
2927
- reset() {
2928
- e = $t;
2929
- }
2930
- };
2931
- }, Si = vi(), Ci = {
2932
- active: "active",
2933
- checked: "checked",
2934
- completed: "completed",
2935
- disabled: "disabled",
2936
- error: "error",
2937
- expanded: "expanded",
2938
- focused: "focused",
2939
- focusVisible: "focusVisible",
2940
- open: "open",
2941
- readOnly: "readOnly",
2942
- required: "required",
2943
- selected: "selected"
2944
- };
2945
- function Ei(e, r, t = "Mui") {
2946
- const n = Ci[r];
2947
- return n ? `${t}-${n}` : `${Si.generate(e)}-${r}`;
2948
- }
2949
- function Ti(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
2950
- return Math.max(r, Math.min(e, t));
2951
- }
2952
- function Jr(e, r = 0, t = 1) {
2953
- return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), Ti(e, r, t);
2954
- }
2955
- function xi(e) {
2956
- e = e.slice(1);
2957
- const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
2958
- let t = e.match(r);
2959
- return t && t[0].length === 1 && (t = t.map((n) => n + n)), process.env.NODE_ENV !== "production" && e.length !== e.trim().length && console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`), t ? `rgb${t.length === 4 ? "a" : ""}(${t.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
2960
- }
2961
- function $e(e) {
2962
- if (e.type)
2963
- return e;
2964
- if (e.charAt(0) === "#")
2965
- return $e(xi(e));
2966
- const r = e.indexOf("("), t = e.substring(0, r);
2967
- if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
2968
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
2969
- The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : we(9, e));
2970
- let n = e.substring(r + 1, e.length - 1), o;
2971
- if (t === "color") {
2972
- if (n = n.split(" "), o = n.shift(), n.length === 4 && n[3].charAt(0) === "/" && (n[3] = n[3].slice(1)), !["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].includes(o))
2973
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
2974
- The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : we(10, o));
2975
- } else
2976
- n = n.split(",");
2977
- return n = n.map((i) => parseFloat(i)), {
2978
- type: t,
2979
- values: n,
2980
- colorSpace: o
2981
- };
2982
- }
2983
- const wi = (e) => {
2984
- const r = $e(e);
2985
- return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
2986
- }, We = (e, r) => {
2987
- try {
2988
- return wi(e);
2989
- } catch {
2990
- return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
2991
- }
2992
- };
2993
- function Er(e) {
2994
- const {
2995
- type: r,
2996
- colorSpace: t
2997
- } = e;
2998
- let {
2999
- values: n
3000
- } = e;
3001
- return r.includes("rgb") ? n = n.map((o, i) => i < 3 ? parseInt(o, 10) : o) : r.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), r.includes("color") ? n = `${t} ${n.join(" ")}` : n = `${n.join(", ")}`, `${r}(${n})`;
3002
- }
3003
- function cn(e) {
3004
- e = $e(e);
3005
- const {
3006
- values: r
3007
- } = e, t = r[0], n = r[1] / 100, o = r[2] / 100, i = n * Math.min(o, 1 - o), s = (d, m = (d + t / 30) % 12) => o - i * Math.max(Math.min(m - 3, 9 - m, 1), -1);
3008
- let u = "rgb";
3009
- const l = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
3010
- return e.type === "hsla" && (u += "a", l.push(r[3])), Er({
3011
- type: u,
3012
- values: l
3013
- });
3014
- }
3015
- function Wr(e) {
3016
- e = $e(e);
3017
- let r = e.type === "hsl" || e.type === "hsla" ? $e(cn(e)).values : e.values;
3018
- return r = r.map((t) => (e.type !== "color" && (t /= 255), t <= 0.03928 ? t / 12.92 : ((t + 0.055) / 1.055) ** 2.4)), Number((0.2126 * r[0] + 0.7152 * r[1] + 0.0722 * r[2]).toFixed(3));
3019
- }
3020
- function _t(e, r) {
3021
- const t = Wr(e), n = Wr(r);
3022
- return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
3023
- }
3024
- function un(e, r) {
3025
- return e = $e(e), r = Jr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Er(e);
3026
- }
3027
- function Oe(e, r, t) {
3028
- try {
3029
- return un(e, r);
3030
- } catch {
3031
- return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
3032
- }
3033
- }
3034
- function Tr(e, r) {
3035
- if (e = $e(e), r = Jr(r), e.type.includes("hsl"))
3036
- e.values[2] *= 1 - r;
3037
- else if (e.type.includes("rgb") || e.type.includes("color"))
3038
- for (let t = 0; t < 3; t += 1)
3039
- e.values[t] *= 1 - r;
3040
- return Er(e);
3041
- }
3042
- function q(e, r, t) {
3043
- try {
3044
- return Tr(e, r);
3045
- } catch {
3046
- return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
3047
- }
3048
- }
3049
- function xr(e, r) {
3050
- if (e = $e(e), r = Jr(r), e.type.includes("hsl"))
3051
- e.values[2] += (100 - e.values[2]) * r;
3052
- else if (e.type.includes("rgb"))
3053
- for (let t = 0; t < 3; t += 1)
3054
- e.values[t] += (255 - e.values[t]) * r;
3055
- else if (e.type.includes("color"))
3056
- for (let t = 0; t < 3; t += 1)
3057
- e.values[t] += (1 - e.values[t]) * r;
3058
- return Er(e);
3059
- }
3060
- function G(e, r, t) {
3061
- try {
3062
- return xr(e, r);
3063
- } catch {
3064
- return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
3065
- }
3066
- }
3067
- function $i(e, r = 0.15) {
3068
- return Wr(e) > 0.5 ? Tr(e, r) : xr(e, r);
3069
- }
3070
- function tr(e, r, t) {
3071
- try {
3072
- return $i(e, r);
3073
- } catch {
3074
- return e;
3075
- }
3076
- }
3077
- function _i(e = "") {
3078
- function r(...n) {
3079
- if (!n.length)
3080
- return "";
3081
- const o = n[0];
3082
- return typeof o == "string" && !o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/) ? `, var(--${e ? `${e}-` : ""}${o}${r(...n.slice(1))})` : `, ${o}`;
3083
- }
3084
- return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
3085
- }
3086
- const Ot = (e, r, t, n = []) => {
3087
- let o = e;
3088
- r.forEach((i, s) => {
3089
- s === r.length - 1 ? Array.isArray(o) ? o[Number(i)] = t : o && typeof o == "object" && (o[i] = t) : o && typeof o == "object" && (o[i] || (o[i] = n.includes(i) ? [] : {}), o = o[i]);
3090
- });
3091
- }, Oi = (e, r, t) => {
3092
- function n(o, i = [], s = []) {
3093
- Object.entries(o).forEach(([u, l]) => {
3094
- (!t || t && !t([...i, u])) && l != null && (typeof l == "object" && Object.keys(l).length > 0 ? n(l, [...i, u], Array.isArray(l) ? [...s, u] : s) : r([...i, u], l, s));
3095
- });
3096
- }
3097
- n(e);
3098
- }, Ai = (e, r) => typeof r == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? r : `${r}px` : r;
3099
- function Ir(e, r) {
3100
- const {
3101
- prefix: t,
3102
- shouldSkipGeneratingVar: n
3103
- } = r || {}, o = {}, i = {}, s = {};
3104
- return Oi(
3105
- e,
3106
- (u, l, d) => {
3107
- if ((typeof l == "string" || typeof l == "number") && (!n || !n(u, l))) {
3108
- const m = `--${t ? `${t}-` : ""}${u.join("-")}`, p = Ai(u, l);
3109
- Object.assign(o, {
3110
- [m]: p
3111
- }), Ot(i, u, `var(${m})`, d), Ot(s, u, `var(${m}, ${p})`, d);
3112
- }
3113
- },
3114
- (u) => u[0] === "vars"
3115
- // skip 'vars/*' paths
3116
- ), {
3117
- css: o,
3118
- vars: i,
3119
- varsWithDefaults: s
3120
- };
3121
- }
3122
- function ki(e, r = {}) {
3123
- const {
3124
- getSelector: t = x,
3125
- disableCssColorScheme: n,
3126
- colorSchemeSelector: o,
3127
- enableContrastVars: i
3128
- } = r, {
3129
- colorSchemes: s = {},
3130
- components: u,
3131
- defaultColorScheme: l = "light",
3132
- ...d
3133
- } = e, {
3134
- vars: m,
3135
- css: p,
3136
- varsWithDefaults: h
3137
- } = Ir(d, r);
3138
- let S = h;
3139
- const g = {}, {
3140
- [l]: c,
3141
- ...y
3142
- } = s;
3143
- if (Object.entries(y || {}).forEach(([C, b]) => {
3144
- const {
3145
- vars: $,
3146
- css: k,
3147
- varsWithDefaults: pe
3148
- } = Ir(b, r);
3149
- S = ue(S, pe), g[C] = {
3150
- css: k,
3151
- vars: $
3152
- };
3153
- }), c) {
3154
- const {
3155
- css: C,
3156
- vars: b,
3157
- varsWithDefaults: $
3158
- } = Ir(c, r);
3159
- S = ue(S, $), g[l] = {
3160
- css: C,
3161
- vars: b
3162
- };
3163
- }
3164
- function x(C, b) {
3165
- let $ = o;
3166
- if (o === "class" && ($ = ".%s"), o === "data" && ($ = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && ($ = `[${o}="%s"]`), C) {
3167
- if ($ === "media")
3168
- return e.defaultColorScheme === C ? ":root" : {
3169
- [`@media (prefers-color-scheme: ${s[C]?.palette?.mode || C})`]: {
3170
- ":root": b
3171
- }
3172
- };
3173
- if ($)
3174
- return e.defaultColorScheme === C ? `:root, ${$.replace("%s", String(C))}` : $.replace("%s", String(C));
3175
- }
3176
- return ":root";
3177
- }
3178
- return {
3179
- vars: S,
3180
- generateThemeVars: () => {
3181
- let C = {
3182
- ...m
3183
- };
3184
- return Object.entries(g).forEach(([, {
3185
- vars: b
3186
- }]) => {
3187
- C = ue(C, b);
3188
- }), C;
3189
- },
3190
- generateStyleSheets: () => {
3191
- const C = [], b = e.defaultColorScheme || "light";
3192
- function $(ne, te) {
3193
- Object.keys(te).length && C.push(typeof ne == "string" ? {
3194
- [ne]: {
3195
- ...te
3196
- }
3197
- } : ne);
3198
- }
3199
- $(t(void 0, {
3200
- ...p
3201
- }), p);
3202
- const {
3203
- [b]: k,
3204
- ...pe
3205
- } = g;
3206
- if (k) {
3207
- const {
3208
- css: ne
3209
- } = k, te = s[b]?.palette?.mode, Q = !n && te ? {
3210
- colorScheme: te,
3211
- ...ne
3212
- } : {
3213
- ...ne
3214
- };
3215
- $(t(b, {
3216
- ...Q
3217
- }), Q);
3218
- }
3219
- return Object.entries(pe).forEach(([ne, {
3220
- css: te
3221
- }]) => {
3222
- const Q = s[ne]?.palette?.mode, a = !n && Q ? {
3223
- colorScheme: Q,
3224
- ...te
3225
- } : {
3226
- ...te
3227
- };
3228
- $(t(ne, {
3229
- ...a
3230
- }), a);
3231
- }), i && C.push({
3232
- ":root": {
3233
- // use double underscore to indicate that these are private variables
3234
- "--__l-threshold": "0.7",
3235
- "--__l": "clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)",
3236
- "--__a": "clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"
3237
- // 0.87 is the default alpha value for black text.
3238
- }
3239
- }), C;
3240
- }
3241
- };
3242
- }
3243
- function Pi(e) {
3244
- return function(t) {
3245
- return e === "media" ? (process.env.NODE_ENV !== "production" && t !== "light" && t !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`), `@media (prefers-color-scheme: ${t})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${t}"] &` : e === "class" ? `.${t} &` : e === "data" ? `[data-${t}] &` : `${e.replace("%s", t)} &` : "&";
3246
- };
3247
- }
3248
- function ln() {
3249
- return {
3250
- // The colors used to style the text.
3251
- text: {
3252
- // The most important text.
3253
- primary: "rgba(0, 0, 0, 0.87)",
3254
- // Secondary text.
3255
- secondary: "rgba(0, 0, 0, 0.6)",
3256
- // Disabled text have even lower visual prominence.
3257
- disabled: "rgba(0, 0, 0, 0.38)"
3258
- },
3259
- // The color used to divide different elements.
3260
- divider: "rgba(0, 0, 0, 0.12)",
3261
- // The background colors used to style the surfaces.
3262
- // Consistency between these values is important.
3263
- background: {
3264
- paper: Ye.white,
3265
- default: Ye.white
3266
- },
3267
- // The colors used to style the action elements.
3268
- action: {
3269
- // The color of an active action like an icon button.
3270
- active: "rgba(0, 0, 0, 0.54)",
3271
- // The color of an hovered action.
3272
- hover: "rgba(0, 0, 0, 0.04)",
3273
- hoverOpacity: 0.04,
3274
- // The color of a selected action.
3275
- selected: "rgba(0, 0, 0, 0.08)",
3276
- selectedOpacity: 0.08,
3277
- // The color of a disabled action.
3278
- disabled: "rgba(0, 0, 0, 0.26)",
3279
- // The background color of a disabled action.
3280
- disabledBackground: "rgba(0, 0, 0, 0.12)",
3281
- disabledOpacity: 0.38,
3282
- focus: "rgba(0, 0, 0, 0.12)",
3283
- focusOpacity: 0.12,
3284
- activatedOpacity: 0.12
3285
- }
3286
- };
3287
- }
3288
- const fn = ln();
3289
- function dn() {
3290
- return {
3291
- text: {
3292
- primary: Ye.white,
3293
- secondary: "rgba(255, 255, 255, 0.7)",
3294
- disabled: "rgba(255, 255, 255, 0.5)",
3295
- icon: "rgba(255, 255, 255, 0.5)"
3296
- },
3297
- divider: "rgba(255, 255, 255, 0.12)",
3298
- background: {
3299
- paper: "#121212",
3300
- default: "#121212"
3301
- },
3302
- action: {
3303
- active: Ye.white,
3304
- hover: "rgba(255, 255, 255, 0.08)",
3305
- hoverOpacity: 0.08,
3306
- selected: "rgba(255, 255, 255, 0.16)",
3307
- selectedOpacity: 0.16,
3308
- disabled: "rgba(255, 255, 255, 0.3)",
3309
- disabledBackground: "rgba(255, 255, 255, 0.12)",
3310
- disabledOpacity: 0.38,
3311
- focus: "rgba(255, 255, 255, 0.12)",
3312
- focusOpacity: 0.12,
3313
- activatedOpacity: 0.24
3314
- }
3315
- };
3316
- }
3317
- const Ur = dn();
3318
- function At(e, r, t, n) {
3319
- const o = n.light || n, i = n.dark || n * 1.5;
3320
- e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = xr(e.main, o) : r === "dark" && (e.dark = Tr(e.main, i)));
3321
- }
3322
- function kt(e, r, t, n, o) {
3323
- const i = o.light || o, s = o.dark || o * 1.5;
3324
- r[t] || (r.hasOwnProperty(n) ? r[t] = r[n] : t === "light" ? r.light = `color-mix(in ${e}, ${r.main}, #fff ${(i * 100).toFixed(0)}%)` : t === "dark" && (r.dark = `color-mix(in ${e}, ${r.main}, #000 ${(s * 100).toFixed(0)}%)`));
3325
- }
3326
- function Ri(e = "light") {
3327
- return e === "dark" ? {
3328
- main: Pe[200],
3329
- light: Pe[50],
3330
- dark: Pe[400]
3331
- } : {
3332
- main: Pe[700],
3333
- light: Pe[400],
3334
- dark: Pe[800]
3335
- };
3336
- }
3337
- function Ii(e = "light") {
3338
- return e === "dark" ? {
3339
- main: ke[200],
3340
- light: ke[50],
3341
- dark: ke[400]
3342
- } : {
3343
- main: ke[500],
3344
- light: ke[300],
3345
- dark: ke[700]
3346
- };
3347
- }
3348
- function Ni(e = "light") {
3349
- return e === "dark" ? {
3350
- main: Ae[500],
3351
- light: Ae[300],
3352
- dark: Ae[700]
3353
- } : {
3354
- main: Ae[700],
3355
- light: Ae[400],
3356
- dark: Ae[800]
3357
- };
3358
- }
3359
- function Mi(e = "light") {
3360
- return e === "dark" ? {
3361
- main: Re[400],
3362
- light: Re[300],
3363
- dark: Re[700]
3364
- } : {
3365
- main: Re[700],
3366
- light: Re[500],
3367
- dark: Re[900]
3368
- };
3369
- }
3370
- function Bi(e = "light") {
3371
- return e === "dark" ? {
3372
- main: Ie[400],
3373
- light: Ie[300],
3374
- dark: Ie[700]
3375
- } : {
3376
- main: Ie[800],
3377
- light: Ie[500],
3378
- dark: Ie[900]
3379
- };
3380
- }
3381
- function Di(e = "light") {
3382
- return e === "dark" ? {
3383
- main: Fe[400],
3384
- light: Fe[300],
3385
- dark: Fe[700]
3386
- } : {
3387
- main: "#ed6c02",
3388
- // closest to orange[800] that pass 3:1.
3389
- light: Fe[500],
3390
- dark: Fe[900]
3391
- };
3392
- }
3393
- function Fi(e) {
3394
- return `oklch(from ${e} var(--__l) 0 h / var(--__a))`;
3395
- }
3396
- function Zr(e) {
3397
- const {
3398
- mode: r = "light",
3399
- contrastThreshold: t = 3,
3400
- tonalOffset: n = 0.2,
3401
- colorSpace: o,
3402
- ...i
3403
- } = e, s = e.primary || Ri(r), u = e.secondary || Ii(r), l = e.error || Ni(r), d = e.info || Mi(r), m = e.success || Bi(r), p = e.warning || Di(r);
3404
- function h(y) {
3405
- if (o)
3406
- return Fi(y);
3407
- const x = _t(y, Ur.text.primary) >= t ? Ur.text.primary : fn.text.primary;
3408
- if (process.env.NODE_ENV !== "production") {
3409
- const _ = _t(y, x);
3410
- _ < 3 && console.error([`MUI: The contrast ratio of ${_}:1 for ${x} on ${y}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
3411
- `));
3412
- }
3413
- return x;
3414
- }
3415
- const S = ({
3416
- color: y,
3417
- name: x,
3418
- mainShade: _ = 500,
3419
- lightShade: A = 300,
3420
- darkShade: C = 700
3421
- }) => {
3422
- if (y = {
3423
- ...y
3424
- }, !y.main && y[_] && (y.main = y[_]), !y.hasOwnProperty("main"))
3425
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
3426
- The color object needs to have a \`main\` property or a \`${_}\` property.` : we(11, x ? ` (${x})` : "", _));
3427
- if (typeof y.main != "string")
3428
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
3429
- \`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
3430
-
3431
- Did you intend to use one of the following approaches?
3432
-
3433
- import { green } from "@mui/material/colors";
3434
-
3435
- const theme1 = createTheme({ palette: {
3436
- primary: green,
3437
- } });
3438
-
3439
- const theme2 = createTheme({ palette: {
3440
- primary: { main: green[500] },
3441
- } });` : we(12, x ? ` (${x})` : "", JSON.stringify(y.main)));
3442
- return o ? (kt(o, y, "light", A, n), kt(o, y, "dark", C, n)) : (At(y, "light", A, n), At(y, "dark", C, n)), y.contrastText || (y.contrastText = h(y.main)), y;
3443
- };
3444
- let g;
3445
- return r === "light" ? g = ln() : r === "dark" && (g = dn()), process.env.NODE_ENV !== "production" && (g || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), ue({
3446
- // A collection of common colors.
3447
- common: {
3448
- ...Ye
3449
- },
3450
- // prevent mutable object.
3451
- // The palette mode, can be light or dark.
3452
- mode: r,
3453
- // The colors used to represent primary interface elements for a user.
3454
- primary: S({
3455
- color: s,
3456
- name: "primary"
3457
- }),
3458
- // The colors used to represent secondary interface elements for a user.
3459
- secondary: S({
3460
- color: u,
3461
- name: "secondary",
3462
- mainShade: "A400",
3463
- lightShade: "A200",
3464
- darkShade: "A700"
3465
- }),
3466
- // The colors used to represent interface elements that the user should be made aware of.
3467
- error: S({
3468
- color: l,
3469
- name: "error"
3470
- }),
3471
- // The colors used to represent potentially dangerous actions or important messages.
3472
- warning: S({
3473
- color: p,
3474
- name: "warning"
3475
- }),
3476
- // The colors used to present information to the user that is neutral and not necessarily important.
3477
- info: S({
3478
- color: d,
3479
- name: "info"
3480
- }),
3481
- // The colors used to indicate the successful completion of an action that user triggered.
3482
- success: S({
3483
- color: m,
3484
- name: "success"
3485
- }),
3486
- // The grey colors.
3487
- grey: bn,
3488
- // Used by `getContrastText()` to maximize the contrast between
3489
- // the background and the text.
3490
- contrastThreshold: t,
3491
- // Takes a background color and returns the text color that maximizes the contrast.
3492
- getContrastText: h,
3493
- // Generate a rich color object.
3494
- augmentColor: S,
3495
- // Used by the functions below to shift a color's luminance by approximately
3496
- // two indexes within its tonal palette.
3497
- // E.g., shift from Red 500 to Red 300 or Red 700.
3498
- tonalOffset: n,
3499
- // The light and dark mode object.
3500
- ...g
3501
- }, i);
3502
- }
3503
- function Li(e) {
3504
- const r = {};
3505
- return Object.entries(e).forEach((n) => {
3506
- const [o, i] = n;
3507
- typeof i == "object" && (r[o] = `${i.fontStyle ? `${i.fontStyle} ` : ""}${i.fontVariant ? `${i.fontVariant} ` : ""}${i.fontWeight ? `${i.fontWeight} ` : ""}${i.fontStretch ? `${i.fontStretch} ` : ""}${i.fontSize || ""}${i.lineHeight ? `/${i.lineHeight} ` : ""}${i.fontFamily || ""}`);
3508
- }), r;
3509
- }
3510
- function ji(e, r) {
3511
- return {
3512
- toolbar: {
3513
- minHeight: 56,
3514
- [e.up("xs")]: {
3515
- "@media (orientation: landscape)": {
3516
- minHeight: 48
3517
- }
3518
- },
3519
- [e.up("sm")]: {
3520
- minHeight: 64
3521
- }
3522
- },
3523
- ...r
3524
- };
3525
- }
3526
- function Wi(e) {
3527
- return Math.round(e * 1e5) / 1e5;
3528
- }
3529
- const Pt = {
3530
- textTransform: "uppercase"
3531
- }, Rt = '"Roboto", "Helvetica", "Arial", sans-serif';
3532
- function Ui(e, r) {
3533
- const {
3534
- fontFamily: t = Rt,
3535
- // The default font size of the Material Specification.
3536
- fontSize: n = 14,
3537
- // px
3538
- fontWeightLight: o = 300,
3539
- fontWeightRegular: i = 400,
3540
- fontWeightMedium: s = 500,
3541
- fontWeightBold: u = 700,
3542
- // Tell MUI what's the font-size on the html element.
3543
- // 16px is the default font-size used by browsers.
3544
- htmlFontSize: l = 16,
3545
- // Apply the CSS properties to all the variants.
3546
- allVariants: d,
3547
- pxToRem: m,
3548
- ...p
3549
- } = typeof r == "function" ? r(e) : r;
3550
- process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof l != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
3551
- const h = n / 14, S = m || ((y) => `${y / l * h}rem`), g = (y, x, _, A, C) => ({
3552
- fontFamily: t,
3553
- fontWeight: y,
3554
- fontSize: S(x),
3555
- // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
3556
- lineHeight: _,
3557
- // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
3558
- // across font-families can cause issues with the kerning.
3559
- ...t === Rt ? {
3560
- letterSpacing: `${Wi(A / x)}em`
3561
- } : {},
3562
- ...C,
3563
- ...d
3564
- }), c = {
3565
- h1: g(o, 96, 1.167, -1.5),
3566
- h2: g(o, 60, 1.2, -0.5),
3567
- h3: g(i, 48, 1.167, 0),
3568
- h4: g(i, 34, 1.235, 0.25),
3569
- h5: g(i, 24, 1.334, 0),
3570
- h6: g(s, 20, 1.6, 0.15),
3571
- subtitle1: g(i, 16, 1.75, 0.15),
3572
- subtitle2: g(s, 14, 1.57, 0.1),
3573
- body1: g(i, 16, 1.5, 0.15),
3574
- body2: g(i, 14, 1.43, 0.15),
3575
- button: g(s, 14, 1.75, 0.4, Pt),
3576
- caption: g(i, 12, 1.66, 0.4),
3577
- overline: g(i, 12, 2.66, 1, Pt),
3578
- // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
3579
- inherit: {
3580
- fontFamily: "inherit",
3581
- fontWeight: "inherit",
3582
- fontSize: "inherit",
3583
- lineHeight: "inherit",
3584
- letterSpacing: "inherit"
3585
- }
3586
- };
3587
- return ue({
3588
- htmlFontSize: l,
3589
- pxToRem: S,
3590
- fontFamily: t,
3591
- fontSize: n,
3592
- fontWeightLight: o,
3593
- fontWeightRegular: i,
3594
- fontWeightMedium: s,
3595
- fontWeightBold: u,
3596
- ...c
3597
- }, p, {
3598
- clone: !1
3599
- // No need to clone deep
3600
- });
3601
- }
3602
- const Vi = 0.2, Yi = 0.14, zi = 0.12;
3603
- function X(...e) {
3604
- return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Vi})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Yi})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${zi})`].join(",");
3605
- }
3606
- const qi = ["none", X(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), X(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), X(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), X(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), X(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), X(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), X(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), X(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), X(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), X(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), X(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), X(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), X(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), X(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), X(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), X(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), X(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), X(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), X(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), X(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), X(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), X(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), X(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), X(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], Gi = {
3607
- // This is the most common easing curve.
3608
- easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
3609
- // Objects enter the screen at full velocity from off-screen and
3610
- // slowly decelerate to a resting point.
3611
- easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
3612
- // Objects leave the screen at full velocity. They do not decelerate when off-screen.
3613
- easeIn: "cubic-bezier(0.4, 0, 1, 1)",
3614
- // The sharp curve is used by objects that may return to the screen at any time.
3615
- sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
3616
- }, Hi = {
3617
- shortest: 150,
3618
- shorter: 200,
3619
- short: 250,
3620
- // most basic recommended timing
3621
- standard: 300,
3622
- // this is to be used in complex animations
3623
- complex: 375,
3624
- // recommended when something is entering screen
3625
- enteringScreen: 225,
3626
- // recommended when something is leaving screen
3627
- leavingScreen: 195
3628
- };
3629
- function It(e) {
3630
- return `${Math.round(e)}ms`;
3631
- }
3632
- function Ki(e) {
3633
- if (!e)
3634
- return 0;
3635
- const r = e / 36;
3636
- return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
3637
- }
3638
- function Xi(e) {
3639
- const r = {
3640
- ...Gi,
3641
- ...e.easing
3642
- }, t = {
3643
- ...Hi,
3644
- ...e.duration
3645
- };
3646
- return {
3647
- getAutoHeightDuration: Ki,
3648
- create: (o = ["all"], i = {}) => {
3649
- const {
3650
- duration: s = t.standard,
3651
- easing: u = r.easeInOut,
3652
- delay: l = 0,
3653
- ...d
3654
- } = i;
3655
- if (process.env.NODE_ENV !== "production") {
3656
- const m = (h) => typeof h == "string", p = (h) => !Number.isNaN(parseFloat(h));
3657
- !m(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(s) && !m(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), m(u) || console.error('MUI: Argument "easing" must be a string.'), !p(l) && !m(l) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof i != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
3658
- `)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
3659
- }
3660
- return (Array.isArray(o) ? o : [o]).map((m) => `${m} ${typeof s == "string" ? s : It(s)} ${u} ${typeof l == "string" ? l : It(l)}`).join(",");
3661
- },
3662
- ...e,
3663
- easing: r,
3664
- duration: t
3665
- };
3666
- }
3667
- const Qi = {
3668
- mobileStepper: 1e3,
3669
- fab: 1050,
3670
- speedDial: 1050,
3671
- appBar: 1100,
3672
- drawer: 1200,
3673
- modal: 1300,
3674
- snackbar: 1400,
3675
- tooltip: 1500
3676
- };
3677
- function Ji(e) {
3678
- return xe(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
3679
- }
3680
- function pn(e = {}) {
3681
- const r = {
3682
- ...e
3683
- };
3684
- function t(n) {
3685
- const o = Object.entries(n);
3686
- for (let i = 0; i < o.length; i++) {
3687
- const [s, u] = o[i];
3688
- !Ji(u) || s.startsWith("unstable_") ? delete n[s] : xe(u) && (n[s] = {
3689
- ...u
3690
- }, t(n[s]));
3691
- }
3692
- }
3693
- return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
3694
-
3695
- const theme = ${JSON.stringify(r, null, 2)};
3696
-
3697
- theme.breakpoints = createBreakpoints(theme.breakpoints || {});
3698
- theme.transitions = createTransitions(theme.transitions || {});
3699
-
3700
- export default theme;`;
3701
- }
3702
- function Nt(e) {
3703
- return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
3704
- }
3705
- const Zi = (e) => {
3706
- if (!Number.isNaN(+e))
3707
- return +e;
3708
- const r = e.match(/\d*\.?\d+/g);
3709
- if (!r)
3710
- return 0;
3711
- let t = 0;
3712
- for (let n = 0; n < r.length; n += 1)
3713
- t += +r[n];
3714
- return t;
3715
- };
3716
- function ea(e) {
3717
- Object.assign(e, {
3718
- alpha(r, t) {
3719
- const n = this || e;
3720
- return n.colorSpace ? `oklch(from ${r} l c h / ${typeof t == "string" ? `calc(${t})` : t})` : n.vars ? `rgba(${r.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof t == "string" ? `calc(${t})` : t})` : un(r, Zi(t));
3721
- },
3722
- lighten(r, t) {
3723
- const n = this || e;
3724
- return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #fff ${Nt(t)})` : xr(r, t);
3725
- },
3726
- darken(r, t) {
3727
- const n = this || e;
3728
- return n.colorSpace ? `color-mix(in ${n.colorSpace}, ${r}, #000 ${Nt(t)})` : Tr(r, t);
3729
- }
3730
- });
3731
- }
3732
- function Vr(e = {}, ...r) {
3733
- const {
3734
- breakpoints: t,
3735
- mixins: n = {},
3736
- spacing: o,
3737
- palette: i = {},
3738
- transitions: s = {},
3739
- typography: u = {},
3740
- shape: l,
3741
- colorSpace: d,
3742
- ...m
3743
- } = e;
3744
- if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
3745
- // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
3746
- e.generateThemeVars === void 0)
3747
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : we(20));
3748
- const p = Zr({
3749
- ...i,
3750
- colorSpace: d
3751
- }), h = bi(e);
3752
- let S = ue(h, {
3753
- mixins: ji(h.breakpoints, n),
3754
- palette: p,
3755
- // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
3756
- shadows: qi.slice(),
3757
- typography: Ui(p, u),
3758
- transitions: Xi(s),
3759
- zIndex: {
3760
- ...Qi
3761
- }
3762
- });
3763
- if (S = ue(S, m), S = r.reduce((g, c) => ue(g, c), S), process.env.NODE_ENV !== "production") {
3764
- const g = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], c = (y, x) => {
3765
- let _;
3766
- for (_ in y) {
3767
- const A = y[_];
3768
- if (g.includes(_) && Object.keys(A).length > 0) {
3769
- if (process.env.NODE_ENV !== "production") {
3770
- const C = Ei("", _);
3771
- console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${_}\` internal state.`, "You can not override it like this: ", JSON.stringify(y, null, 2), "", `Instead, you need to use the '&.${C}' syntax:`, JSON.stringify({
3772
- root: {
3773
- [`&.${C}`]: A
3774
- }
3775
- }, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
3776
- `));
3777
- }
3778
- y[_] = {};
3779
- }
3780
- }
3781
- };
3782
- Object.keys(S.components).forEach((y) => {
3783
- const x = S.components[y].styleOverrides;
3784
- x && y.startsWith("Mui") && c(x, y);
3785
- });
3786
- }
3787
- return S.unstable_sxConfig = {
3788
- ...Sr,
3789
- ...m?.unstable_sxConfig
3790
- }, S.unstable_sx = function(c) {
3791
- return Cr({
3792
- sx: c,
3793
- theme: this
3794
- });
3795
- }, S.toRuntimeSource = pn, ea(S), S;
3796
- }
3797
- function ra(e) {
3798
- let r;
3799
- return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
3800
- }
3801
- const ta = [...Array(25)].map((e, r) => {
3802
- if (r === 0)
3803
- return "none";
3804
- const t = ra(r);
3805
- return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
3806
- });
3807
- function mn(e) {
3808
- return {
3809
- inputPlaceholder: e === "dark" ? 0.5 : 0.42,
3810
- inputUnderline: e === "dark" ? 0.7 : 0.42,
3811
- switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
3812
- switchTrack: e === "dark" ? 0.3 : 0.38
3813
- };
3814
- }
3815
- function hn(e) {
3816
- return e === "dark" ? ta : [];
3817
- }
3818
- function na(e) {
3819
- const {
3820
- palette: r = {
3821
- mode: "light"
3822
- },
3823
- // need to cast to avoid module augmentation test
3824
- opacity: t,
3825
- overlays: n,
3826
- colorSpace: o,
3827
- ...i
3828
- } = e, s = Zr({
3829
- ...r,
3830
- colorSpace: o
3831
- });
3832
- return {
3833
- palette: s,
3834
- opacity: {
3835
- ...mn(s.mode),
3836
- ...t
3837
- },
3838
- overlays: n || hn(s.mode),
3839
- ...i
3840
- };
3841
- }
3842
- function oa(e) {
3843
- return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
3844
- e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
3845
- }
3846
- const ia = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], aa = (e) => (r, t) => {
3847
- const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
3848
- let i = o;
3849
- if (o === "class" && (i = ".%s"), o === "data" && (i = "[data-%s]"), o?.startsWith("data-") && !o.includes("%s") && (i = `[${o}="%s"]`), e.defaultColorScheme === r) {
3850
- if (r === "dark") {
3851
- const s = {};
3852
- return ia(e.cssVarPrefix).forEach((u) => {
3853
- s[u] = t[u], delete t[u];
3854
- }), i === "media" ? {
3855
- [n]: t,
3856
- "@media (prefers-color-scheme: dark)": {
3857
- [n]: s
3858
- }
3859
- } : i ? {
3860
- [i.replace("%s", r)]: s,
3861
- [`${n}, ${i.replace("%s", r)}`]: t
3862
- } : {
3863
- [n]: {
3864
- ...t,
3865
- ...s
3866
- }
3867
- };
3868
- }
3869
- if (i && i !== "media")
3870
- return `${n}, ${i.replace("%s", String(r))}`;
3871
- } else if (r) {
3872
- if (i === "media")
3873
- return {
3874
- [`@media (prefers-color-scheme: ${String(r)})`]: {
3875
- [n]: t
3876
- }
3877
- };
3878
- if (i)
3879
- return i.replace("%s", String(r));
3880
- }
3881
- return n;
3882
- };
3883
- function sa(e, r) {
3884
- r.forEach((t) => {
3885
- e[t] || (e[t] = {});
3886
- });
3887
- }
3888
- function f(e, r, t) {
3889
- !e[r] && t && (e[r] = t);
3890
- }
3891
- function Ue(e) {
3892
- return typeof e != "string" || !e.startsWith("hsl") ? e : cn(e);
3893
- }
3894
- function Ee(e, r) {
3895
- `${r}Channel` in e || (e[`${r}Channel`] = We(Ue(e[r]), `MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
3896
- To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
3897
- }
3898
- function ca(e) {
3899
- return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
3900
- }
3901
- const be = (e) => {
3902
- try {
3903
- return e();
3904
- } catch {
3905
- }
3906
- }, ua = (e = "mui") => _i(e);
3907
- function Nr(e, r, t, n, o) {
3908
- if (!t)
3909
- return;
3910
- t = t === !0 ? {} : t;
3911
- const i = o === "dark" ? "dark" : "light";
3912
- if (!n) {
3913
- r[o] = na({
3914
- ...t,
3915
- palette: {
3916
- mode: i,
3917
- ...t?.palette
3918
- },
3919
- colorSpace: e
3920
- });
3921
- return;
3922
- }
3923
- const {
3924
- palette: s,
3925
- ...u
3926
- } = Vr({
3927
- ...n,
3928
- palette: {
3929
- mode: i,
3930
- ...t?.palette
3931
- },
3932
- colorSpace: e
3933
- });
3934
- return r[o] = {
3935
- ...t,
3936
- palette: s,
3937
- opacity: {
3938
- ...mn(i),
3939
- ...t?.opacity
3940
- },
3941
- overlays: t?.overlays || hn(i)
3942
- }, u;
3943
- }
3944
- function la(e = {}, ...r) {
3945
- const {
3946
- colorSchemes: t = {
3947
- light: !0
3948
- },
3949
- defaultColorScheme: n,
3950
- disableCssColorScheme: o = !1,
3951
- cssVarPrefix: i = "mui",
3952
- nativeColor: s = !1,
3953
- shouldSkipGeneratingVar: u = oa,
3954
- colorSchemeSelector: l = t.light && t.dark ? "media" : void 0,
3955
- rootSelector: d = ":root",
3956
- ...m
3957
- } = e, p = Object.keys(t)[0], h = n || (t.light && p !== "light" ? "light" : p), S = ua(i), {
3958
- [h]: g,
3959
- light: c,
3960
- dark: y,
3961
- ...x
3962
- } = t, _ = {
3963
- ...x
3964
- };
3965
- let A = g;
3966
- if ((h === "dark" && !("dark" in t) || h === "light" && !("light" in t)) && (A = !0), !A)
3967
- throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${h}\` option is either missing or invalid.` : we(21, h));
3968
- let C;
3969
- s && (C = "oklch");
3970
- const b = Nr(C, _, A, m, h);
3971
- c && !_.light && Nr(C, _, c, void 0, "light"), y && !_.dark && Nr(C, _, y, void 0, "dark");
3972
- let $ = {
3973
- defaultColorScheme: h,
3974
- ...b,
3975
- cssVarPrefix: i,
3976
- colorSchemeSelector: l,
3977
- rootSelector: d,
3978
- getCssVar: S,
3979
- colorSchemes: _,
3980
- font: {
3981
- ...Li(b.typography),
3982
- ...b.font
3983
- },
3984
- spacing: ca(m.spacing)
3985
- };
3986
- Object.keys($.colorSchemes).forEach((Q) => {
3987
- const a = $.colorSchemes[Q].palette, O = (W) => {
3988
- const Y = W.split("-"), se = Y[1], ge = Y[2];
3989
- return S(W, a[se][ge]);
3990
- };
3991
- a.mode === "light" && (f(a.common, "background", "#fff"), f(a.common, "onBackground", "#000")), a.mode === "dark" && (f(a.common, "background", "#000"), f(a.common, "onBackground", "#fff"));
3992
- function E(W, Y, se) {
3993
- if (C) {
3994
- let ge;
3995
- return W === Oe && (ge = `transparent ${((1 - se) * 100).toFixed(0)}%`), W === q && (ge = `#000 ${(se * 100).toFixed(0)}%`), W === G && (ge = `#fff ${(se * 100).toFixed(0)}%`), `color-mix(in ${C}, ${Y}, ${ge})`;
3996
- }
3997
- return W(Y, se);
3998
- }
3999
- if (sa(a, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), a.mode === "light") {
4000
- f(a.Alert, "errorColor", E(q, a.error.light, 0.6)), f(a.Alert, "infoColor", E(q, a.info.light, 0.6)), f(a.Alert, "successColor", E(q, a.success.light, 0.6)), f(a.Alert, "warningColor", E(q, a.warning.light, 0.6)), f(a.Alert, "errorFilledBg", O("palette-error-main")), f(a.Alert, "infoFilledBg", O("palette-info-main")), f(a.Alert, "successFilledBg", O("palette-success-main")), f(a.Alert, "warningFilledBg", O("palette-warning-main")), f(a.Alert, "errorFilledColor", be(() => a.getContrastText(a.error.main))), f(a.Alert, "infoFilledColor", be(() => a.getContrastText(a.info.main))), f(a.Alert, "successFilledColor", be(() => a.getContrastText(a.success.main))), f(a.Alert, "warningFilledColor", be(() => a.getContrastText(a.warning.main))), f(a.Alert, "errorStandardBg", E(G, a.error.light, 0.9)), f(a.Alert, "infoStandardBg", E(G, a.info.light, 0.9)), f(a.Alert, "successStandardBg", E(G, a.success.light, 0.9)), f(a.Alert, "warningStandardBg", E(G, a.warning.light, 0.9)), f(a.Alert, "errorIconColor", O("palette-error-main")), f(a.Alert, "infoIconColor", O("palette-info-main")), f(a.Alert, "successIconColor", O("palette-success-main")), f(a.Alert, "warningIconColor", O("palette-warning-main")), f(a.AppBar, "defaultBg", O("palette-grey-100")), f(a.Avatar, "defaultBg", O("palette-grey-400")), f(a.Button, "inheritContainedBg", O("palette-grey-300")), f(a.Button, "inheritContainedHoverBg", O("palette-grey-A100")), f(a.Chip, "defaultBorder", O("palette-grey-400")), f(a.Chip, "defaultAvatarColor", O("palette-grey-700")), f(a.Chip, "defaultIconColor", O("palette-grey-700")), f(a.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), f(a.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), f(a.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), f(a.LinearProgress, "primaryBg", E(G, a.primary.main, 0.62)), f(a.LinearProgress, "secondaryBg", E(G, a.secondary.main, 0.62)), f(a.LinearProgress, "errorBg", E(G, a.error.main, 0.62)), f(a.LinearProgress, "infoBg", E(G, a.info.main, 0.62)), f(a.LinearProgress, "successBg", E(G, a.success.main, 0.62)), f(a.LinearProgress, "warningBg", E(G, a.warning.main, 0.62)), f(a.Skeleton, "bg", C ? E(Oe, a.text.primary, 0.11) : `rgba(${O("palette-text-primaryChannel")} / 0.11)`), f(a.Slider, "primaryTrack", E(G, a.primary.main, 0.62)), f(a.Slider, "secondaryTrack", E(G, a.secondary.main, 0.62)), f(a.Slider, "errorTrack", E(G, a.error.main, 0.62)), f(a.Slider, "infoTrack", E(G, a.info.main, 0.62)), f(a.Slider, "successTrack", E(G, a.success.main, 0.62)), f(a.Slider, "warningTrack", E(G, a.warning.main, 0.62));
4001
- const W = C ? E(q, a.background.default, 0.6825) : tr(a.background.default, 0.8);
4002
- f(a.SnackbarContent, "bg", W), f(a.SnackbarContent, "color", be(() => C ? Ur.text.primary : a.getContrastText(W))), f(a.SpeedDialAction, "fabHoverBg", tr(a.background.paper, 0.15)), f(a.StepConnector, "border", O("palette-grey-400")), f(a.StepContent, "border", O("palette-grey-400")), f(a.Switch, "defaultColor", O("palette-common-white")), f(a.Switch, "defaultDisabledColor", O("palette-grey-100")), f(a.Switch, "primaryDisabledColor", E(G, a.primary.main, 0.62)), f(a.Switch, "secondaryDisabledColor", E(G, a.secondary.main, 0.62)), f(a.Switch, "errorDisabledColor", E(G, a.error.main, 0.62)), f(a.Switch, "infoDisabledColor", E(G, a.info.main, 0.62)), f(a.Switch, "successDisabledColor", E(G, a.success.main, 0.62)), f(a.Switch, "warningDisabledColor", E(G, a.warning.main, 0.62)), f(a.TableCell, "border", E(G, E(Oe, a.divider, 1), 0.88)), f(a.Tooltip, "bg", E(Oe, a.grey[700], 0.92));
4003
- }
4004
- if (a.mode === "dark") {
4005
- f(a.Alert, "errorColor", E(G, a.error.light, 0.6)), f(a.Alert, "infoColor", E(G, a.info.light, 0.6)), f(a.Alert, "successColor", E(G, a.success.light, 0.6)), f(a.Alert, "warningColor", E(G, a.warning.light, 0.6)), f(a.Alert, "errorFilledBg", O("palette-error-dark")), f(a.Alert, "infoFilledBg", O("palette-info-dark")), f(a.Alert, "successFilledBg", O("palette-success-dark")), f(a.Alert, "warningFilledBg", O("palette-warning-dark")), f(a.Alert, "errorFilledColor", be(() => a.getContrastText(a.error.dark))), f(a.Alert, "infoFilledColor", be(() => a.getContrastText(a.info.dark))), f(a.Alert, "successFilledColor", be(() => a.getContrastText(a.success.dark))), f(a.Alert, "warningFilledColor", be(() => a.getContrastText(a.warning.dark))), f(a.Alert, "errorStandardBg", E(q, a.error.light, 0.9)), f(a.Alert, "infoStandardBg", E(q, a.info.light, 0.9)), f(a.Alert, "successStandardBg", E(q, a.success.light, 0.9)), f(a.Alert, "warningStandardBg", E(q, a.warning.light, 0.9)), f(a.Alert, "errorIconColor", O("palette-error-main")), f(a.Alert, "infoIconColor", O("palette-info-main")), f(a.Alert, "successIconColor", O("palette-success-main")), f(a.Alert, "warningIconColor", O("palette-warning-main")), f(a.AppBar, "defaultBg", O("palette-grey-900")), f(a.AppBar, "darkBg", O("palette-background-paper")), f(a.AppBar, "darkColor", O("palette-text-primary")), f(a.Avatar, "defaultBg", O("palette-grey-600")), f(a.Button, "inheritContainedBg", O("palette-grey-800")), f(a.Button, "inheritContainedHoverBg", O("palette-grey-700")), f(a.Chip, "defaultBorder", O("palette-grey-700")), f(a.Chip, "defaultAvatarColor", O("palette-grey-300")), f(a.Chip, "defaultIconColor", O("palette-grey-300")), f(a.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), f(a.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), f(a.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), f(a.LinearProgress, "primaryBg", E(q, a.primary.main, 0.5)), f(a.LinearProgress, "secondaryBg", E(q, a.secondary.main, 0.5)), f(a.LinearProgress, "errorBg", E(q, a.error.main, 0.5)), f(a.LinearProgress, "infoBg", E(q, a.info.main, 0.5)), f(a.LinearProgress, "successBg", E(q, a.success.main, 0.5)), f(a.LinearProgress, "warningBg", E(q, a.warning.main, 0.5)), f(a.Skeleton, "bg", C ? E(Oe, a.text.primary, 0.13) : `rgba(${O("palette-text-primaryChannel")} / 0.13)`), f(a.Slider, "primaryTrack", E(q, a.primary.main, 0.5)), f(a.Slider, "secondaryTrack", E(q, a.secondary.main, 0.5)), f(a.Slider, "errorTrack", E(q, a.error.main, 0.5)), f(a.Slider, "infoTrack", E(q, a.info.main, 0.5)), f(a.Slider, "successTrack", E(q, a.success.main, 0.5)), f(a.Slider, "warningTrack", E(q, a.warning.main, 0.5));
4006
- const W = C ? E(G, a.background.default, 0.985) : tr(a.background.default, 0.98);
4007
- f(a.SnackbarContent, "bg", W), f(a.SnackbarContent, "color", be(() => C ? fn.text.primary : a.getContrastText(W))), f(a.SpeedDialAction, "fabHoverBg", tr(a.background.paper, 0.15)), f(a.StepConnector, "border", O("palette-grey-600")), f(a.StepContent, "border", O("palette-grey-600")), f(a.Switch, "defaultColor", O("palette-grey-300")), f(a.Switch, "defaultDisabledColor", O("palette-grey-600")), f(a.Switch, "primaryDisabledColor", E(q, a.primary.main, 0.55)), f(a.Switch, "secondaryDisabledColor", E(q, a.secondary.main, 0.55)), f(a.Switch, "errorDisabledColor", E(q, a.error.main, 0.55)), f(a.Switch, "infoDisabledColor", E(q, a.info.main, 0.55)), f(a.Switch, "successDisabledColor", E(q, a.success.main, 0.55)), f(a.Switch, "warningDisabledColor", E(q, a.warning.main, 0.55)), f(a.TableCell, "border", E(q, E(Oe, a.divider, 1), 0.68)), f(a.Tooltip, "bg", E(Oe, a.grey[700], 0.92));
4008
- }
4009
- Ee(a.background, "default"), Ee(a.background, "paper"), Ee(a.common, "background"), Ee(a.common, "onBackground"), Ee(a, "divider"), Object.keys(a).forEach((W) => {
4010
- const Y = a[W];
4011
- W !== "tonalOffset" && Y && typeof Y == "object" && (Y.main && f(a[W], "mainChannel", We(Ue(Y.main))), Y.light && f(a[W], "lightChannel", We(Ue(Y.light))), Y.dark && f(a[W], "darkChannel", We(Ue(Y.dark))), Y.contrastText && f(a[W], "contrastTextChannel", We(Ue(Y.contrastText))), W === "text" && (Ee(a[W], "primary"), Ee(a[W], "secondary")), W === "action" && (Y.active && Ee(a[W], "active"), Y.selected && Ee(a[W], "selected")));
4012
- });
4013
- }), $ = r.reduce((Q, a) => ue(Q, a), $);
4014
- const k = {
4015
- prefix: i,
4016
- disableCssColorScheme: o,
4017
- shouldSkipGeneratingVar: u,
4018
- getSelector: aa($),
4019
- enableContrastVars: s
4020
- }, {
4021
- vars: pe,
4022
- generateThemeVars: ne,
4023
- generateStyleSheets: te
4024
- } = ki($, k);
4025
- return $.vars = pe, Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([Q, a]) => {
4026
- $[Q] = a;
4027
- }), $.generateThemeVars = ne, $.generateStyleSheets = te, $.generateSpacing = function() {
4028
- return sn(m.spacing, Xr(this));
4029
- }, $.getColorSchemeSelector = Pi(l), $.spacing = $.generateSpacing(), $.shouldSkipGeneratingVar = u, $.unstable_sxConfig = {
4030
- ...Sr,
4031
- ...m?.unstable_sxConfig
4032
- }, $.unstable_sx = function(a) {
4033
- return Cr({
4034
- sx: a,
4035
- theme: this
4036
- });
4037
- }, $.toRuntimeSource = pn, $;
4038
- }
4039
- function Mt(e, r, t) {
4040
- e.colorSchemes && t && (e.colorSchemes[r] = {
4041
- ...t !== !0 && t,
4042
- palette: Zr({
4043
- ...t === !0 ? {} : t.palette,
4044
- mode: r
4045
- })
4046
- // cast type to skip module augmentation test
4047
- });
4048
- }
4049
- function Ta(e = {}, ...r) {
4050
- const {
4051
- palette: t,
4052
- cssVariables: n = !1,
4053
- colorSchemes: o = t ? void 0 : {
4054
- light: !0
4055
- },
4056
- defaultColorScheme: i = t?.mode,
4057
- ...s
4058
- } = e, u = i || "light", l = o?.[u], d = {
4059
- ...o,
4060
- ...t ? {
4061
- [u]: {
4062
- ...typeof l != "boolean" && l,
4063
- palette: t
4064
- }
4065
- } : void 0
4066
- };
4067
- if (n === !1) {
4068
- if (!("colorSchemes" in e))
4069
- return Vr(e, ...r);
4070
- let m = t;
4071
- "palette" in e || d[u] && (d[u] !== !0 ? m = d[u].palette : u === "dark" && (m = {
4072
- mode: "dark"
4073
- }));
4074
- const p = Vr({
4075
- ...e,
4076
- palette: m
4077
- }, ...r);
4078
- return p.defaultColorScheme = u, p.colorSchemes = d, p.palette.mode === "light" && (p.colorSchemes.light = {
4079
- ...d.light !== !0 && d.light,
4080
- palette: p.palette
4081
- }, Mt(p, "dark", d.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = {
4082
- ...d.dark !== !0 && d.dark,
4083
- palette: p.palette
4084
- }, Mt(p, "light", d.light)), p;
4085
- }
4086
- return !t && !("light" in d) && u === "light" && (d.light = !0), la({
4087
- ...s,
4088
- colorSchemes: d,
4089
- defaultColorScheme: u,
4090
- ...typeof n != "boolean" && n
4091
- }, ...r);
4092
- }
4093
- export {
4094
- Qt as A,
4095
- Hr as B,
4096
- Si as C,
4097
- ma as D,
4098
- qt as E,
4099
- Zt as F,
4100
- ya as G,
4101
- ga as H,
4102
- we as I,
4103
- Hi as J,
4104
- va as K,
4105
- ha as L,
4106
- Gn as M,
4107
- Ui as N,
4108
- je as P,
4109
- Cn as S,
4110
- pa as T,
4111
- Mr as _,
4112
- un as a,
4113
- Wr as b,
4114
- Ei as c,
4115
- Tr as d,
4116
- $i as e,
4117
- Ta as f,
4118
- _t as g,
4119
- Sr as h,
4120
- xe as i,
4121
- on as j,
4122
- ra as k,
4123
- xr as l,
4124
- Jt as m,
4125
- bi as n,
4126
- Sa as o,
4127
- Te as p,
4128
- Ea as q,
4129
- rn as r,
4130
- Xr as s,
4131
- ue as t,
4132
- Ca as u,
4133
- Xe as v,
4134
- ba as w,
4135
- Cr as x,
4136
- dr as y,
4137
- Yt as z
4138
- };