@cgi-learning-hub/ui 1.3.5 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Backdrop-COarwgJj.cjs +1 -0
- package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
- package/dist/Box-C0mEbUoK.cjs +1 -0
- package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
- package/dist/Button-1tZRtOeG.cjs +1 -0
- package/dist/Button-rxIER0bL.js +662 -0
- package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
- package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
- package/dist/CardContent-BXjX98Jd.cjs +1 -0
- package/dist/CardContent-u1MKaFvP.js +226 -0
- package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
- package/dist/Checkbox-C6CIGK27.cjs +1 -0
- package/dist/Chip-6-zATjcr.js +521 -0
- package/dist/Chip-CAPnyZyW.cjs +1 -0
- package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
- package/dist/CircularProgress-DTVP6gln.cjs +28 -0
- package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
- package/dist/CloseRounded-DTpqUeWr.js +8 -0
- package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
- package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
- package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
- package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
- package/dist/Dialog-CgBiKk8B.js +477 -0
- package/dist/Dialog-Cmv58WoN.cjs +1 -0
- package/dist/DialogContent-CGEdCDYk.cjs +1 -0
- package/dist/{DialogContent-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
- package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
- package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
- package/dist/Divider-D_LVNUqS.cjs +1 -0
- package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
- package/dist/FormLabel-D0gSgwnj.cjs +2 -0
- package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
- package/dist/Grow-D7scX77o.cjs +1 -0
- package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
- package/dist/{IconButton-CekuyD4r.js → IconButton-B4bt0Hp2.js} +134 -67
- package/dist/IconButton-Edo5JMfQ.cjs +2 -0
- package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
- package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
- package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
- package/dist/InputBase-CgOQ0M4_.cjs +3 -0
- package/dist/Link-CAbb9OCV.cjs +1 -0
- package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
- package/dist/Menu-C-R0FVOB.cjs +7 -0
- package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
- package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
- package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
- package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
- package/dist/Modal-D8lS9C1l.cjs +2 -0
- package/dist/Paper-C-oPGpbI.cjs +2 -0
- package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
- package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
- package/dist/Popper-uw9PkkLY.cjs +4 -0
- package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
- package/dist/Portal-bIKnnWR4.cjs +1 -0
- package/dist/Radio-BxMxeQa-.js +567 -0
- package/dist/Radio-CvCkmq8g.cjs +1 -0
- package/dist/RadioGroup-BLrD8_Lp.js +190 -0
- package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
- package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
- package/dist/Select-KMdcuol6.cjs +3 -0
- package/dist/Stack-C6v70ALA.cjs +1 -0
- package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
- package/dist/Switch-BOpqo-TS.js +329 -0
- package/dist/Switch-DF4bSjED.cjs +1 -0
- package/dist/SwitchBase-7zONZyYP.cjs +1 -0
- package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
- package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
- package/dist/Tabs-Dploq_37.cjs +4 -0
- package/dist/TextField-BC7GvvHh.cjs +1 -0
- package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
- package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
- package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
- package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
- package/dist/Tooltip-CWA-GKdK.cjs +4 -0
- package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
- package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
- package/dist/Typography-DEAE8-8u.cjs +1 -0
- package/dist/components/Alert/Alert.es.js +13 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -2
- package/dist/components/Button/Button.es.js +12 -325
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +12 -14
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.d.ts +2 -0
- package/dist/components/Dropzone/Dropzone.es.js +22 -19
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileIcon.cjs.js +1 -0
- package/dist/components/FileList/FileIcon.d.ts +3 -0
- package/dist/components/FileList/FileIcon.es.js +56 -0
- package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
- package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
- package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.d.ts +5 -3
- package/dist/components/FileList/FileList.es.js +22 -15
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.d.ts +9 -5
- package/dist/components/FileList/FileListItem.es.js +117 -24
- package/dist/components/FileList/utils.cjs.js +1 -0
- package/dist/components/FileList/utils.d.ts +2 -0
- package/dist/components/FileList/utils.es.js +13 -0
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.d.ts +1 -2
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.d.ts +2 -2
- package/dist/components/QueryError/QueryError.es.js +14 -14
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
- package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
- package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
- package/dist/components/ResourceCard/index.cjs.js +1 -0
- package/dist/components/ResourceCard/index.d.ts +2 -0
- package/dist/components/ResourceCard/index.es.js +4 -0
- package/dist/components/ResourceCard/style.cjs.js +1 -0
- package/dist/components/ResourceCard/style.es.js +125 -0
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -2
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.es.js +348 -294
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +17 -168
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +5 -5
- package/dist/components/stories/Chip.stories.cjs.js +1 -0
- package/dist/components/stories/Chip.stories.d.ts +10 -0
- package/dist/components/stories/Chip.stories.es.js +77 -0
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +5 -5
- package/dist/components/stories/FileList.stories.cjs.js +8 -1
- package/dist/components/stories/FileList.stories.es.js +144 -20
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +16 -16
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +19 -115
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
- package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
- package/dist/components/stories/ResourceCard.stories.es.js +141 -0
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +14 -14
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +3 -3
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
- package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
- package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
- package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
- package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
- package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
- package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
- package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
- package/dist/hooks/lazySvgImport.d.ts +1 -1
- package/dist/identifier-5n4d7br9.cjs +75 -0
- package/dist/identifier-D58rA1gM.js +3267 -0
- package/dist/index-5BAFzrXD.cjs +1 -0
- package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
- package/dist/index-CFm-oAsb.cjs +1 -0
- package/dist/index-CJW5gB6d.cjs +5 -0
- package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
- package/dist/index-DwHI-aa0.js +45 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +348 -294
- package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
- package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
- package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
- package/dist/refType-CjW6JOBA.cjs +1 -0
- package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
- package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
- package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
- package/dist/unsupportedProp-BuVD30Gh.js +9 -0
- package/dist/useSlot-CZNcsPv1.js +48 -0
- package/dist/useSlot-CyXLaLc2.cjs +1 -0
- package/dist/useTheme-Bi8B4Op1.cjs +1 -0
- package/dist/useTheme-C_2IF7CS.cjs +1 -0
- package/dist/useTheme-Clhsq4HW.js +11 -0
- package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
- package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
- package/dist/useThemeProps-C6qniHmV.js +17 -0
- package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
- package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
- package/dist/utils-D4if93Yl.cjs +1 -0
- package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
- package/package.json +9 -9
- package/dist/Backdrop-CvufxHMY.cjs +0 -1
- package/dist/Box-mP2Th61z.cjs +0 -1
- package/dist/Button-BH9MUvmz.cjs +0 -1
- package/dist/Button-BnNYfQ3E.js +0 -484
- package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
- package/dist/Card-AJG0TUOx.js +0 -74
- package/dist/Card-NqCXQteq.cjs +0 -1
- package/dist/Checkbox-DYrDbdy1.cjs +0 -1
- package/dist/CircularProgress-BByrCLjv.cjs +0 -28
- package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
- package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
- package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
- package/dist/Delete-BkZN7Xu5.js +0 -8
- package/dist/Delete-D1EiKoL5.cjs +0 -1
- package/dist/Dialog-D_lS4J_M.js +0 -415
- package/dist/Dialog-yOrNcHbG.cjs +0 -1
- package/dist/DialogContent-Dj_OjLZ6.cjs +0 -1
- package/dist/DialogTitle-BboPDaoB.cjs +0 -1
- package/dist/Divider-CcrM3lNn.cjs +0 -1
- package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
- package/dist/FormControlLabel-BmrKQtQA.js +0 -262
- package/dist/FormGroup-CbczEc6e.js +0 -95
- package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
- package/dist/FormLabel-D1uvEhsH.cjs +0 -2
- package/dist/Grow-CUBJs6WD.cjs +0 -1
- package/dist/IconButton-CJfzspZK.cjs +0 -2
- package/dist/InputAdornment-Cq0WhPxF.cjs +0 -1
- package/dist/InputBase-s1fk8TB4.cjs +0 -3
- package/dist/Link-CWczkFp0.cjs +0 -1
- package/dist/Menu-Bsx8PA-q.cjs +0 -7
- package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
- package/dist/Modal-DImrEpYJ.cjs +0 -2
- package/dist/Paper-Cr56xkCr.cjs +0 -2
- package/dist/Popper-YT5WAMV-.cjs +0 -4
- package/dist/Portal-DF0RKOcD.cjs +0 -1
- package/dist/Radio-CVAEGXKi.cjs +0 -1
- package/dist/Radio-DGhot3Cd.js +0 -313
- package/dist/Select-CwAWNiiv.cjs +0 -3
- package/dist/Stack-Yq6rb7iK.cjs +0 -1
- package/dist/SwitchBase-DjIY_KWB.cjs +0 -1
- package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
- package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
- package/dist/Tabs-KG4VWw-1.cjs +0 -4
- package/dist/TextField-BI9KVqjC.cjs +0 -1
- package/dist/Tooltip-DhDtvULK.cjs +0 -4
- package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
- package/dist/Typography-DfRMDngd.cjs +0 -1
- package/dist/capitalize-B3GG7Wn6.cjs +0 -1
- package/dist/capitalize-CkF8kU4n.js +0 -9
- package/dist/createSvgIcon--rEClVU7.cjs +0 -1
- package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
- package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
- package/dist/extendSxProp-apyK-EBz.cjs +0 -1
- package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
- package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
- package/dist/index-Aa73Kpym.cjs +0 -1
- package/dist/index-ChM1Ett8.cjs +0 -5
- package/dist/index-Cw0GDedk.cjs +0 -17
- package/dist/index-DXD5J5Eu.js +0 -186
- package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
- package/dist/refType-CoaxQOPt.cjs +0 -1
- package/dist/useSlot-BTpHG6jf.js +0 -50
- package/dist/useSlot-CByalpSD.cjs +0 -1
- package/dist/useSlotProps-B31YQlzb.js +0 -45
- package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
- package/dist/useTheme-Cy5kyKJF.cjs +0 -1
- package/dist/useTheme-Dukx-__T.cjs +0 -1
- package/dist/useTheme-DyaNKf4e.js +0 -11
- package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
- package/dist/useThemeProps-CwEQ4bv2.js +0 -24
- package/dist/utils-vmyQ2IaS.cjs +0 -1
|
@@ -0,0 +1,3267 @@
|
|
|
1
|
+
import dt from "@emotion/styled";
|
|
2
|
+
import "@emotion/react";
|
|
3
|
+
import * as qr from "react";
|
|
4
|
+
function pt(e) {
|
|
5
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
|
+
}
|
|
7
|
+
var Ie = { exports: {} }, Me = { exports: {} }, B = {};
|
|
8
|
+
/** @license React v16.13.1
|
|
9
|
+
* react-is.production.min.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/
|
|
16
|
+
var br;
|
|
17
|
+
function mt() {
|
|
18
|
+
if (br) return B;
|
|
19
|
+
br = 1;
|
|
20
|
+
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, a = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
|
|
21
|
+
function A(y) {
|
|
22
|
+
if (typeof y == "object" && y !== null) {
|
|
23
|
+
var H = y.$$typeof;
|
|
24
|
+
switch (H) {
|
|
25
|
+
case r:
|
|
26
|
+
switch (y = y.type, y) {
|
|
27
|
+
case f:
|
|
28
|
+
case d:
|
|
29
|
+
case n:
|
|
30
|
+
case a:
|
|
31
|
+
case o:
|
|
32
|
+
case p:
|
|
33
|
+
return y;
|
|
34
|
+
default:
|
|
35
|
+
switch (y = y && y.$$typeof, y) {
|
|
36
|
+
case u:
|
|
37
|
+
case h:
|
|
38
|
+
case b:
|
|
39
|
+
case C:
|
|
40
|
+
case c:
|
|
41
|
+
return y;
|
|
42
|
+
default:
|
|
43
|
+
return H;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
case t:
|
|
47
|
+
return H;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function T(y) {
|
|
52
|
+
return A(y) === d;
|
|
53
|
+
}
|
|
54
|
+
return B.AsyncMode = f, B.ConcurrentMode = d, B.ContextConsumer = u, B.ContextProvider = c, B.Element = r, B.ForwardRef = h, B.Fragment = n, B.Lazy = b, B.Memo = C, B.Portal = t, B.Profiler = a, B.StrictMode = o, B.Suspense = p, B.isAsyncMode = function(y) {
|
|
55
|
+
return T(y) || A(y) === f;
|
|
56
|
+
}, B.isConcurrentMode = T, B.isContextConsumer = function(y) {
|
|
57
|
+
return A(y) === u;
|
|
58
|
+
}, B.isContextProvider = function(y) {
|
|
59
|
+
return A(y) === c;
|
|
60
|
+
}, B.isElement = function(y) {
|
|
61
|
+
return typeof y == "object" && y !== null && y.$$typeof === r;
|
|
62
|
+
}, B.isForwardRef = function(y) {
|
|
63
|
+
return A(y) === h;
|
|
64
|
+
}, B.isFragment = function(y) {
|
|
65
|
+
return A(y) === n;
|
|
66
|
+
}, B.isLazy = function(y) {
|
|
67
|
+
return A(y) === b;
|
|
68
|
+
}, B.isMemo = function(y) {
|
|
69
|
+
return A(y) === C;
|
|
70
|
+
}, B.isPortal = function(y) {
|
|
71
|
+
return A(y) === t;
|
|
72
|
+
}, B.isProfiler = function(y) {
|
|
73
|
+
return A(y) === a;
|
|
74
|
+
}, B.isStrictMode = function(y) {
|
|
75
|
+
return A(y) === o;
|
|
76
|
+
}, B.isSuspense = function(y) {
|
|
77
|
+
return A(y) === p;
|
|
78
|
+
}, B.isValidElementType = function(y) {
|
|
79
|
+
return typeof y == "string" || typeof y == "function" || y === n || y === d || y === a || y === o || y === p || y === m || typeof y == "object" && y !== null && (y.$$typeof === b || y.$$typeof === C || y.$$typeof === c || y.$$typeof === u || y.$$typeof === h || y.$$typeof === x || y.$$typeof === w || y.$$typeof === K || y.$$typeof === s);
|
|
80
|
+
}, B.typeOf = A, B;
|
|
81
|
+
}
|
|
82
|
+
var D = {};
|
|
83
|
+
/** @license React v16.13.1
|
|
84
|
+
* react-is.development.js
|
|
85
|
+
*
|
|
86
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
87
|
+
*
|
|
88
|
+
* This source code is licensed under the MIT license found in the
|
|
89
|
+
* LICENSE file in the root directory of this source tree.
|
|
90
|
+
*/
|
|
91
|
+
var vr;
|
|
92
|
+
function gt() {
|
|
93
|
+
return vr || (vr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
94
|
+
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, a = e ? Symbol.for("react.profiler") : 60114, c = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, h = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, C = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, s = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, K = e ? Symbol.for("react.scope") : 60119;
|
|
95
|
+
function A(v) {
|
|
96
|
+
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
97
|
+
v === n || v === d || v === a || v === o || v === p || v === m || typeof v == "object" && v !== null && (v.$$typeof === b || v.$$typeof === C || v.$$typeof === c || v.$$typeof === u || v.$$typeof === h || v.$$typeof === x || v.$$typeof === w || v.$$typeof === K || v.$$typeof === s);
|
|
98
|
+
}
|
|
99
|
+
function T(v) {
|
|
100
|
+
if (typeof v == "object" && v !== null) {
|
|
101
|
+
var ie = v.$$typeof;
|
|
102
|
+
switch (ie) {
|
|
103
|
+
case r:
|
|
104
|
+
var ke = v.type;
|
|
105
|
+
switch (ke) {
|
|
106
|
+
case f:
|
|
107
|
+
case d:
|
|
108
|
+
case n:
|
|
109
|
+
case a:
|
|
110
|
+
case o:
|
|
111
|
+
case p:
|
|
112
|
+
return ke;
|
|
113
|
+
default:
|
|
114
|
+
var yr = ke && ke.$$typeof;
|
|
115
|
+
switch (yr) {
|
|
116
|
+
case u:
|
|
117
|
+
case h:
|
|
118
|
+
case b:
|
|
119
|
+
case C:
|
|
120
|
+
case c:
|
|
121
|
+
return yr;
|
|
122
|
+
default:
|
|
123
|
+
return ie;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
case t:
|
|
127
|
+
return ie;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
var y = f, H = d, ee = u, se = c, Q = r, i = h, E = n, N = b, V = C, ne = t, fe = a, oe = o, he = p, Pe = !1;
|
|
132
|
+
function Ze(v) {
|
|
133
|
+
return Pe || (Pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(v) || T(v) === f;
|
|
134
|
+
}
|
|
135
|
+
function g(v) {
|
|
136
|
+
return T(v) === d;
|
|
137
|
+
}
|
|
138
|
+
function S(v) {
|
|
139
|
+
return T(v) === u;
|
|
140
|
+
}
|
|
141
|
+
function P(v) {
|
|
142
|
+
return T(v) === c;
|
|
143
|
+
}
|
|
144
|
+
function _(v) {
|
|
145
|
+
return typeof v == "object" && v !== null && v.$$typeof === r;
|
|
146
|
+
}
|
|
147
|
+
function $(v) {
|
|
148
|
+
return T(v) === h;
|
|
149
|
+
}
|
|
150
|
+
function k(v) {
|
|
151
|
+
return T(v) === n;
|
|
152
|
+
}
|
|
153
|
+
function O(v) {
|
|
154
|
+
return T(v) === b;
|
|
155
|
+
}
|
|
156
|
+
function R(v) {
|
|
157
|
+
return T(v) === C;
|
|
158
|
+
}
|
|
159
|
+
function I(v) {
|
|
160
|
+
return T(v) === t;
|
|
161
|
+
}
|
|
162
|
+
function j(v) {
|
|
163
|
+
return T(v) === a;
|
|
164
|
+
}
|
|
165
|
+
function M(v) {
|
|
166
|
+
return T(v) === o;
|
|
167
|
+
}
|
|
168
|
+
function X(v) {
|
|
169
|
+
return T(v) === p;
|
|
170
|
+
}
|
|
171
|
+
D.AsyncMode = y, D.ConcurrentMode = H, D.ContextConsumer = ee, D.ContextProvider = se, D.Element = Q, D.ForwardRef = i, D.Fragment = E, D.Lazy = N, D.Memo = V, D.Portal = ne, D.Profiler = fe, D.StrictMode = oe, D.Suspense = he, D.isAsyncMode = Ze, D.isConcurrentMode = g, D.isContextConsumer = S, D.isContextProvider = P, D.isElement = _, D.isForwardRef = $, D.isFragment = k, D.isLazy = O, D.isMemo = R, D.isPortal = I, D.isProfiler = j, D.isStrictMode = M, D.isSuspense = X, D.isValidElementType = A, D.typeOf = T;
|
|
172
|
+
}()), D;
|
|
173
|
+
}
|
|
174
|
+
var Sr;
|
|
175
|
+
function Kr() {
|
|
176
|
+
return Sr || (Sr = 1, process.env.NODE_ENV === "production" ? Me.exports = mt() : Me.exports = gt()), Me.exports;
|
|
177
|
+
}
|
|
178
|
+
/*
|
|
179
|
+
object-assign
|
|
180
|
+
(c) Sindre Sorhus
|
|
181
|
+
@license MIT
|
|
182
|
+
*/
|
|
183
|
+
var er, Cr;
|
|
184
|
+
function ht() {
|
|
185
|
+
if (Cr) return er;
|
|
186
|
+
Cr = 1;
|
|
187
|
+
var e = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, t = Object.prototype.propertyIsEnumerable;
|
|
188
|
+
function n(a) {
|
|
189
|
+
if (a == null)
|
|
190
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
191
|
+
return Object(a);
|
|
192
|
+
}
|
|
193
|
+
function o() {
|
|
194
|
+
try {
|
|
195
|
+
if (!Object.assign)
|
|
196
|
+
return !1;
|
|
197
|
+
var a = new String("abc");
|
|
198
|
+
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
199
|
+
return !1;
|
|
200
|
+
for (var c = {}, u = 0; u < 10; u++)
|
|
201
|
+
c["_" + String.fromCharCode(u)] = u;
|
|
202
|
+
var f = Object.getOwnPropertyNames(c).map(function(h) {
|
|
203
|
+
return c[h];
|
|
204
|
+
});
|
|
205
|
+
if (f.join("") !== "0123456789")
|
|
206
|
+
return !1;
|
|
207
|
+
var d = {};
|
|
208
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(h) {
|
|
209
|
+
d[h] = h;
|
|
210
|
+
}), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
|
|
211
|
+
} catch {
|
|
212
|
+
return !1;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return er = o() ? Object.assign : function(a, c) {
|
|
216
|
+
for (var u, f = n(a), d, h = 1; h < arguments.length; h++) {
|
|
217
|
+
u = Object(arguments[h]);
|
|
218
|
+
for (var p in u)
|
|
219
|
+
r.call(u, p) && (f[p] = u[p]);
|
|
220
|
+
if (e) {
|
|
221
|
+
d = e(u);
|
|
222
|
+
for (var m = 0; m < d.length; m++)
|
|
223
|
+
t.call(u, d[m]) && (f[d[m]] = u[d[m]]);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return f;
|
|
227
|
+
}, er;
|
|
228
|
+
}
|
|
229
|
+
var rr, Er;
|
|
230
|
+
function lr() {
|
|
231
|
+
if (Er) return rr;
|
|
232
|
+
Er = 1;
|
|
233
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
234
|
+
return rr = e, rr;
|
|
235
|
+
}
|
|
236
|
+
var tr, Tr;
|
|
237
|
+
function Hr() {
|
|
238
|
+
return Tr || (Tr = 1, tr = Function.call.bind(Object.prototype.hasOwnProperty)), tr;
|
|
239
|
+
}
|
|
240
|
+
var nr, xr;
|
|
241
|
+
function yt() {
|
|
242
|
+
if (xr) return nr;
|
|
243
|
+
xr = 1;
|
|
244
|
+
var e = function() {
|
|
245
|
+
};
|
|
246
|
+
if (process.env.NODE_ENV !== "production") {
|
|
247
|
+
var r = /* @__PURE__ */ lr(), t = {}, n = /* @__PURE__ */ Hr();
|
|
248
|
+
e = function(a) {
|
|
249
|
+
var c = "Warning: " + a;
|
|
250
|
+
typeof console < "u" && console.error(c);
|
|
251
|
+
try {
|
|
252
|
+
throw new Error(c);
|
|
253
|
+
} catch {
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
function o(a, c, u, f, d) {
|
|
258
|
+
if (process.env.NODE_ENV !== "production") {
|
|
259
|
+
for (var h in a)
|
|
260
|
+
if (n(a, h)) {
|
|
261
|
+
var p;
|
|
262
|
+
try {
|
|
263
|
+
if (typeof a[h] != "function") {
|
|
264
|
+
var m = Error(
|
|
265
|
+
(f || "React class") + ": " + u + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
266
|
+
);
|
|
267
|
+
throw m.name = "Invariant Violation", m;
|
|
268
|
+
}
|
|
269
|
+
p = a[h](c, h, f, u, null, r);
|
|
270
|
+
} catch (b) {
|
|
271
|
+
p = b;
|
|
272
|
+
}
|
|
273
|
+
if (p && !(p instanceof Error) && e(
|
|
274
|
+
(f || "React class") + ": type specification of " + u + " `" + h + "` 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)."
|
|
275
|
+
), p instanceof Error && !(p.message in t)) {
|
|
276
|
+
t[p.message] = !0;
|
|
277
|
+
var C = d ? d() : "";
|
|
278
|
+
e(
|
|
279
|
+
"Failed " + u + " type: " + p.message + (C ?? "")
|
|
280
|
+
);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
return o.resetWarningCache = function() {
|
|
286
|
+
process.env.NODE_ENV !== "production" && (t = {});
|
|
287
|
+
}, nr = o, nr;
|
|
288
|
+
}
|
|
289
|
+
var or, Ar;
|
|
290
|
+
function bt() {
|
|
291
|
+
if (Ar) return or;
|
|
292
|
+
Ar = 1;
|
|
293
|
+
var e = Kr(), r = ht(), t = /* @__PURE__ */ lr(), n = /* @__PURE__ */ Hr(), o = /* @__PURE__ */ yt(), a = function() {
|
|
294
|
+
};
|
|
295
|
+
process.env.NODE_ENV !== "production" && (a = function(u) {
|
|
296
|
+
var f = "Warning: " + u;
|
|
297
|
+
typeof console < "u" && console.error(f);
|
|
298
|
+
try {
|
|
299
|
+
throw new Error(f);
|
|
300
|
+
} catch {
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
function c() {
|
|
304
|
+
return null;
|
|
305
|
+
}
|
|
306
|
+
return or = function(u, f) {
|
|
307
|
+
var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
|
|
308
|
+
function p(g) {
|
|
309
|
+
var S = g && (d && g[d] || g[h]);
|
|
310
|
+
if (typeof S == "function")
|
|
311
|
+
return S;
|
|
312
|
+
}
|
|
313
|
+
var m = "<<anonymous>>", C = {
|
|
314
|
+
array: w("array"),
|
|
315
|
+
bigint: w("bigint"),
|
|
316
|
+
bool: w("boolean"),
|
|
317
|
+
func: w("function"),
|
|
318
|
+
number: w("number"),
|
|
319
|
+
object: w("object"),
|
|
320
|
+
string: w("string"),
|
|
321
|
+
symbol: w("symbol"),
|
|
322
|
+
any: K(),
|
|
323
|
+
arrayOf: A,
|
|
324
|
+
element: T(),
|
|
325
|
+
elementType: y(),
|
|
326
|
+
instanceOf: H,
|
|
327
|
+
node: i(),
|
|
328
|
+
objectOf: se,
|
|
329
|
+
oneOf: ee,
|
|
330
|
+
oneOfType: Q,
|
|
331
|
+
shape: N,
|
|
332
|
+
exact: V
|
|
333
|
+
};
|
|
334
|
+
function b(g, S) {
|
|
335
|
+
return g === S ? g !== 0 || 1 / g === 1 / S : g !== g && S !== S;
|
|
336
|
+
}
|
|
337
|
+
function s(g, S) {
|
|
338
|
+
this.message = g, this.data = S && typeof S == "object" ? S : {}, this.stack = "";
|
|
339
|
+
}
|
|
340
|
+
s.prototype = Error.prototype;
|
|
341
|
+
function x(g) {
|
|
342
|
+
if (process.env.NODE_ENV !== "production")
|
|
343
|
+
var S = {}, P = 0;
|
|
344
|
+
function _(k, O, R, I, j, M, X) {
|
|
345
|
+
if (I = I || m, M = M || R, X !== t) {
|
|
346
|
+
if (f) {
|
|
347
|
+
var v = new Error(
|
|
348
|
+
"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"
|
|
349
|
+
);
|
|
350
|
+
throw v.name = "Invariant Violation", v;
|
|
351
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
352
|
+
var ie = I + ":" + R;
|
|
353
|
+
!S[ie] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
354
|
+
P < 3 && (a(
|
|
355
|
+
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + I + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
356
|
+
), S[ie] = !0, P++);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
return O[R] == null ? k ? O[R] === null ? new s("The " + j + " `" + M + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new s("The " + j + " `" + M + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : g(O, R, I, j, M);
|
|
360
|
+
}
|
|
361
|
+
var $ = _.bind(null, !1);
|
|
362
|
+
return $.isRequired = _.bind(null, !0), $;
|
|
363
|
+
}
|
|
364
|
+
function w(g) {
|
|
365
|
+
function S(P, _, $, k, O, R) {
|
|
366
|
+
var I = P[_], j = oe(I);
|
|
367
|
+
if (j !== g) {
|
|
368
|
+
var M = he(I);
|
|
369
|
+
return new s(
|
|
370
|
+
"Invalid " + k + " `" + O + "` of type " + ("`" + M + "` supplied to `" + $ + "`, expected ") + ("`" + g + "`."),
|
|
371
|
+
{ expectedType: g }
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
return null;
|
|
375
|
+
}
|
|
376
|
+
return x(S);
|
|
377
|
+
}
|
|
378
|
+
function K() {
|
|
379
|
+
return x(c);
|
|
380
|
+
}
|
|
381
|
+
function A(g) {
|
|
382
|
+
function S(P, _, $, k, O) {
|
|
383
|
+
if (typeof g != "function")
|
|
384
|
+
return new s("Property `" + O + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
|
|
385
|
+
var R = P[_];
|
|
386
|
+
if (!Array.isArray(R)) {
|
|
387
|
+
var I = oe(R);
|
|
388
|
+
return new s("Invalid " + k + " `" + O + "` of type " + ("`" + I + "` supplied to `" + $ + "`, expected an array."));
|
|
389
|
+
}
|
|
390
|
+
for (var j = 0; j < R.length; j++) {
|
|
391
|
+
var M = g(R, j, $, k, O + "[" + j + "]", t);
|
|
392
|
+
if (M instanceof Error)
|
|
393
|
+
return M;
|
|
394
|
+
}
|
|
395
|
+
return null;
|
|
396
|
+
}
|
|
397
|
+
return x(S);
|
|
398
|
+
}
|
|
399
|
+
function T() {
|
|
400
|
+
function g(S, P, _, $, k) {
|
|
401
|
+
var O = S[P];
|
|
402
|
+
if (!u(O)) {
|
|
403
|
+
var R = oe(O);
|
|
404
|
+
return new s("Invalid " + $ + " `" + k + "` of type " + ("`" + R + "` supplied to `" + _ + "`, expected a single ReactElement."));
|
|
405
|
+
}
|
|
406
|
+
return null;
|
|
407
|
+
}
|
|
408
|
+
return x(g);
|
|
409
|
+
}
|
|
410
|
+
function y() {
|
|
411
|
+
function g(S, P, _, $, k) {
|
|
412
|
+
var O = S[P];
|
|
413
|
+
if (!e.isValidElementType(O)) {
|
|
414
|
+
var R = oe(O);
|
|
415
|
+
return new s("Invalid " + $ + " `" + k + "` of type " + ("`" + R + "` supplied to `" + _ + "`, expected a single ReactElement type."));
|
|
416
|
+
}
|
|
417
|
+
return null;
|
|
418
|
+
}
|
|
419
|
+
return x(g);
|
|
420
|
+
}
|
|
421
|
+
function H(g) {
|
|
422
|
+
function S(P, _, $, k, O) {
|
|
423
|
+
if (!(P[_] instanceof g)) {
|
|
424
|
+
var R = g.name || m, I = Ze(P[_]);
|
|
425
|
+
return new s("Invalid " + k + " `" + O + "` of type " + ("`" + I + "` supplied to `" + $ + "`, expected ") + ("instance of `" + R + "`."));
|
|
426
|
+
}
|
|
427
|
+
return null;
|
|
428
|
+
}
|
|
429
|
+
return x(S);
|
|
430
|
+
}
|
|
431
|
+
function ee(g) {
|
|
432
|
+
if (!Array.isArray(g))
|
|
433
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
434
|
+
"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])."
|
|
435
|
+
) : a("Invalid argument supplied to oneOf, expected an array.")), c;
|
|
436
|
+
function S(P, _, $, k, O) {
|
|
437
|
+
for (var R = P[_], I = 0; I < g.length; I++)
|
|
438
|
+
if (b(R, g[I]))
|
|
439
|
+
return null;
|
|
440
|
+
var j = JSON.stringify(g, function(X, v) {
|
|
441
|
+
var ie = he(v);
|
|
442
|
+
return ie === "symbol" ? String(v) : v;
|
|
443
|
+
});
|
|
444
|
+
return new s("Invalid " + k + " `" + O + "` of value `" + String(R) + "` " + ("supplied to `" + $ + "`, expected one of " + j + "."));
|
|
445
|
+
}
|
|
446
|
+
return x(S);
|
|
447
|
+
}
|
|
448
|
+
function se(g) {
|
|
449
|
+
function S(P, _, $, k, O) {
|
|
450
|
+
if (typeof g != "function")
|
|
451
|
+
return new s("Property `" + O + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
|
|
452
|
+
var R = P[_], I = oe(R);
|
|
453
|
+
if (I !== "object")
|
|
454
|
+
return new s("Invalid " + k + " `" + O + "` of type " + ("`" + I + "` supplied to `" + $ + "`, expected an object."));
|
|
455
|
+
for (var j in R)
|
|
456
|
+
if (n(R, j)) {
|
|
457
|
+
var M = g(R, j, $, k, O + "." + j, t);
|
|
458
|
+
if (M instanceof Error)
|
|
459
|
+
return M;
|
|
460
|
+
}
|
|
461
|
+
return null;
|
|
462
|
+
}
|
|
463
|
+
return x(S);
|
|
464
|
+
}
|
|
465
|
+
function Q(g) {
|
|
466
|
+
if (!Array.isArray(g))
|
|
467
|
+
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), c;
|
|
468
|
+
for (var S = 0; S < g.length; S++) {
|
|
469
|
+
var P = g[S];
|
|
470
|
+
if (typeof P != "function")
|
|
471
|
+
return a(
|
|
472
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Pe(P) + " at index " + S + "."
|
|
473
|
+
), c;
|
|
474
|
+
}
|
|
475
|
+
function _($, k, O, R, I) {
|
|
476
|
+
for (var j = [], M = 0; M < g.length; M++) {
|
|
477
|
+
var X = g[M], v = X($, k, O, R, I, t);
|
|
478
|
+
if (v == null)
|
|
479
|
+
return null;
|
|
480
|
+
v.data && n(v.data, "expectedType") && j.push(v.data.expectedType);
|
|
481
|
+
}
|
|
482
|
+
var ie = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
|
|
483
|
+
return new s("Invalid " + R + " `" + I + "` supplied to " + ("`" + O + "`" + ie + "."));
|
|
484
|
+
}
|
|
485
|
+
return x(_);
|
|
486
|
+
}
|
|
487
|
+
function i() {
|
|
488
|
+
function g(S, P, _, $, k) {
|
|
489
|
+
return ne(S[P]) ? null : new s("Invalid " + $ + " `" + k + "` supplied to " + ("`" + _ + "`, expected a ReactNode."));
|
|
490
|
+
}
|
|
491
|
+
return x(g);
|
|
492
|
+
}
|
|
493
|
+
function E(g, S, P, _, $) {
|
|
494
|
+
return new s(
|
|
495
|
+
(g || "React class") + ": " + S + " type `" + P + "." + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
function N(g) {
|
|
499
|
+
function S(P, _, $, k, O) {
|
|
500
|
+
var R = P[_], I = oe(R);
|
|
501
|
+
if (I !== "object")
|
|
502
|
+
return new s("Invalid " + k + " `" + O + "` of type `" + I + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
503
|
+
for (var j in g) {
|
|
504
|
+
var M = g[j];
|
|
505
|
+
if (typeof M != "function")
|
|
506
|
+
return E($, k, O, j, he(M));
|
|
507
|
+
var X = M(R, j, $, k, O + "." + j, t);
|
|
508
|
+
if (X)
|
|
509
|
+
return X;
|
|
510
|
+
}
|
|
511
|
+
return null;
|
|
512
|
+
}
|
|
513
|
+
return x(S);
|
|
514
|
+
}
|
|
515
|
+
function V(g) {
|
|
516
|
+
function S(P, _, $, k, O) {
|
|
517
|
+
var R = P[_], I = oe(R);
|
|
518
|
+
if (I !== "object")
|
|
519
|
+
return new s("Invalid " + k + " `" + O + "` of type `" + I + "` " + ("supplied to `" + $ + "`, expected `object`."));
|
|
520
|
+
var j = r({}, P[_], g);
|
|
521
|
+
for (var M in j) {
|
|
522
|
+
var X = g[M];
|
|
523
|
+
if (n(g, M) && typeof X != "function")
|
|
524
|
+
return E($, k, O, M, he(X));
|
|
525
|
+
if (!X)
|
|
526
|
+
return new s(
|
|
527
|
+
"Invalid " + k + " `" + O + "` key `" + M + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(P[_], null, " ") + `
|
|
528
|
+
Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
|
|
529
|
+
);
|
|
530
|
+
var v = X(R, M, $, k, O + "." + M, t);
|
|
531
|
+
if (v)
|
|
532
|
+
return v;
|
|
533
|
+
}
|
|
534
|
+
return null;
|
|
535
|
+
}
|
|
536
|
+
return x(S);
|
|
537
|
+
}
|
|
538
|
+
function ne(g) {
|
|
539
|
+
switch (typeof g) {
|
|
540
|
+
case "number":
|
|
541
|
+
case "string":
|
|
542
|
+
case "undefined":
|
|
543
|
+
return !0;
|
|
544
|
+
case "boolean":
|
|
545
|
+
return !g;
|
|
546
|
+
case "object":
|
|
547
|
+
if (Array.isArray(g))
|
|
548
|
+
return g.every(ne);
|
|
549
|
+
if (g === null || u(g))
|
|
550
|
+
return !0;
|
|
551
|
+
var S = p(g);
|
|
552
|
+
if (S) {
|
|
553
|
+
var P = S.call(g), _;
|
|
554
|
+
if (S !== g.entries) {
|
|
555
|
+
for (; !(_ = P.next()).done; )
|
|
556
|
+
if (!ne(_.value))
|
|
557
|
+
return !1;
|
|
558
|
+
} else
|
|
559
|
+
for (; !(_ = P.next()).done; ) {
|
|
560
|
+
var $ = _.value;
|
|
561
|
+
if ($ && !ne($[1]))
|
|
562
|
+
return !1;
|
|
563
|
+
}
|
|
564
|
+
} else
|
|
565
|
+
return !1;
|
|
566
|
+
return !0;
|
|
567
|
+
default:
|
|
568
|
+
return !1;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
function fe(g, S) {
|
|
572
|
+
return g === "symbol" ? !0 : S ? S["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && S instanceof Symbol : !1;
|
|
573
|
+
}
|
|
574
|
+
function oe(g) {
|
|
575
|
+
var S = typeof g;
|
|
576
|
+
return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : fe(S, g) ? "symbol" : S;
|
|
577
|
+
}
|
|
578
|
+
function he(g) {
|
|
579
|
+
if (typeof g > "u" || g === null)
|
|
580
|
+
return "" + g;
|
|
581
|
+
var S = oe(g);
|
|
582
|
+
if (S === "object") {
|
|
583
|
+
if (g instanceof Date)
|
|
584
|
+
return "date";
|
|
585
|
+
if (g instanceof RegExp)
|
|
586
|
+
return "regexp";
|
|
587
|
+
}
|
|
588
|
+
return S;
|
|
589
|
+
}
|
|
590
|
+
function Pe(g) {
|
|
591
|
+
var S = he(g);
|
|
592
|
+
switch (S) {
|
|
593
|
+
case "array":
|
|
594
|
+
case "object":
|
|
595
|
+
return "an " + S;
|
|
596
|
+
case "boolean":
|
|
597
|
+
case "date":
|
|
598
|
+
case "regexp":
|
|
599
|
+
return "a " + S;
|
|
600
|
+
default:
|
|
601
|
+
return S;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
function Ze(g) {
|
|
605
|
+
return !g.constructor || !g.constructor.name ? m : g.constructor.name;
|
|
606
|
+
}
|
|
607
|
+
return C.checkPropTypes = o, C.resetWarningCache = o.resetWarningCache, C.PropTypes = C, C;
|
|
608
|
+
}, or;
|
|
609
|
+
}
|
|
610
|
+
var ir, $r;
|
|
611
|
+
function vt() {
|
|
612
|
+
if ($r) return ir;
|
|
613
|
+
$r = 1;
|
|
614
|
+
var e = /* @__PURE__ */ lr();
|
|
615
|
+
function r() {
|
|
616
|
+
}
|
|
617
|
+
function t() {
|
|
618
|
+
}
|
|
619
|
+
return t.resetWarningCache = r, ir = function() {
|
|
620
|
+
function n(c, u, f, d, h, p) {
|
|
621
|
+
if (p !== e) {
|
|
622
|
+
var m = new Error(
|
|
623
|
+
"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"
|
|
624
|
+
);
|
|
625
|
+
throw m.name = "Invariant Violation", m;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
n.isRequired = n;
|
|
629
|
+
function o() {
|
|
630
|
+
return n;
|
|
631
|
+
}
|
|
632
|
+
var a = {
|
|
633
|
+
array: n,
|
|
634
|
+
bigint: n,
|
|
635
|
+
bool: n,
|
|
636
|
+
func: n,
|
|
637
|
+
number: n,
|
|
638
|
+
object: n,
|
|
639
|
+
string: n,
|
|
640
|
+
symbol: n,
|
|
641
|
+
any: n,
|
|
642
|
+
arrayOf: o,
|
|
643
|
+
element: n,
|
|
644
|
+
elementType: n,
|
|
645
|
+
instanceOf: o,
|
|
646
|
+
node: n,
|
|
647
|
+
objectOf: o,
|
|
648
|
+
oneOf: o,
|
|
649
|
+
oneOfType: o,
|
|
650
|
+
shape: o,
|
|
651
|
+
exact: o,
|
|
652
|
+
checkPropTypes: t,
|
|
653
|
+
resetWarningCache: r
|
|
654
|
+
};
|
|
655
|
+
return a.PropTypes = a, a;
|
|
656
|
+
}, ir;
|
|
657
|
+
}
|
|
658
|
+
var wr;
|
|
659
|
+
function St() {
|
|
660
|
+
if (wr) return Ie.exports;
|
|
661
|
+
if (wr = 1, process.env.NODE_ENV !== "production") {
|
|
662
|
+
var e = Kr(), r = !0;
|
|
663
|
+
Ie.exports = /* @__PURE__ */ bt()(e.isElement, r);
|
|
664
|
+
} else
|
|
665
|
+
Ie.exports = /* @__PURE__ */ vt()();
|
|
666
|
+
return Ie.exports;
|
|
667
|
+
}
|
|
668
|
+
var Ct = /* @__PURE__ */ St();
|
|
669
|
+
const Te = /* @__PURE__ */ pt(Ct);
|
|
670
|
+
function Qr(e) {
|
|
671
|
+
var r, t, n = "";
|
|
672
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
673
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
674
|
+
var o = e.length;
|
|
675
|
+
for (r = 0; r < o; r++) e[r] && (t = Qr(e[r])) && (n && (n += " "), n += t);
|
|
676
|
+
} else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
677
|
+
return n;
|
|
678
|
+
}
|
|
679
|
+
function Ao() {
|
|
680
|
+
for (var e, r, t = 0, n = "", o = arguments.length; t < o; t++) (e = arguments[t]) && (r = Qr(e)) && (n && (n += " "), n += r);
|
|
681
|
+
return n;
|
|
682
|
+
}
|
|
683
|
+
function me(e, ...r) {
|
|
684
|
+
const t = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
685
|
+
return r.forEach((n) => t.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${t} for the full message.`;
|
|
686
|
+
}
|
|
687
|
+
function Xr(e) {
|
|
688
|
+
if (typeof e != "string")
|
|
689
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : me(7));
|
|
690
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
691
|
+
}
|
|
692
|
+
var Ne = { exports: {} }, F = {};
|
|
693
|
+
/**
|
|
694
|
+
* @license React
|
|
695
|
+
* react-is.production.js
|
|
696
|
+
*
|
|
697
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
698
|
+
*
|
|
699
|
+
* This source code is licensed under the MIT license found in the
|
|
700
|
+
* LICENSE file in the root directory of this source tree.
|
|
701
|
+
*/
|
|
702
|
+
var Or;
|
|
703
|
+
function Et() {
|
|
704
|
+
if (Or) return F;
|
|
705
|
+
Or = 1;
|
|
706
|
+
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"), a = Symbol.for("react.consumer"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), C = Symbol.for("react.client.reference");
|
|
707
|
+
function b(s) {
|
|
708
|
+
if (typeof s == "object" && s !== null) {
|
|
709
|
+
var x = s.$$typeof;
|
|
710
|
+
switch (x) {
|
|
711
|
+
case e:
|
|
712
|
+
switch (s = s.type, s) {
|
|
713
|
+
case t:
|
|
714
|
+
case o:
|
|
715
|
+
case n:
|
|
716
|
+
case f:
|
|
717
|
+
case d:
|
|
718
|
+
return s;
|
|
719
|
+
default:
|
|
720
|
+
switch (s = s && s.$$typeof, s) {
|
|
721
|
+
case c:
|
|
722
|
+
case u:
|
|
723
|
+
case p:
|
|
724
|
+
case h:
|
|
725
|
+
return s;
|
|
726
|
+
case a:
|
|
727
|
+
return s;
|
|
728
|
+
default:
|
|
729
|
+
return x;
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
case r:
|
|
733
|
+
return x;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
return F.ContextConsumer = a, F.ContextProvider = c, F.Element = e, F.ForwardRef = u, F.Fragment = t, F.Lazy = p, F.Memo = h, F.Portal = r, F.Profiler = o, F.StrictMode = n, F.Suspense = f, F.SuspenseList = d, F.isContextConsumer = function(s) {
|
|
738
|
+
return b(s) === a;
|
|
739
|
+
}, F.isContextProvider = function(s) {
|
|
740
|
+
return b(s) === c;
|
|
741
|
+
}, F.isElement = function(s) {
|
|
742
|
+
return typeof s == "object" && s !== null && s.$$typeof === e;
|
|
743
|
+
}, F.isForwardRef = function(s) {
|
|
744
|
+
return b(s) === u;
|
|
745
|
+
}, F.isFragment = function(s) {
|
|
746
|
+
return b(s) === t;
|
|
747
|
+
}, F.isLazy = function(s) {
|
|
748
|
+
return b(s) === p;
|
|
749
|
+
}, F.isMemo = function(s) {
|
|
750
|
+
return b(s) === h;
|
|
751
|
+
}, F.isPortal = function(s) {
|
|
752
|
+
return b(s) === r;
|
|
753
|
+
}, F.isProfiler = function(s) {
|
|
754
|
+
return b(s) === o;
|
|
755
|
+
}, F.isStrictMode = function(s) {
|
|
756
|
+
return b(s) === n;
|
|
757
|
+
}, F.isSuspense = function(s) {
|
|
758
|
+
return b(s) === f;
|
|
759
|
+
}, F.isSuspenseList = function(s) {
|
|
760
|
+
return b(s) === d;
|
|
761
|
+
}, F.isValidElementType = function(s) {
|
|
762
|
+
return typeof s == "string" || typeof s == "function" || s === t || s === o || s === n || s === f || s === d || s === m || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === h || s.$$typeof === c || s.$$typeof === a || s.$$typeof === u || s.$$typeof === C || s.getModuleId !== void 0);
|
|
763
|
+
}, F.typeOf = b, F;
|
|
764
|
+
}
|
|
765
|
+
var L = {};
|
|
766
|
+
/**
|
|
767
|
+
* @license React
|
|
768
|
+
* react-is.development.js
|
|
769
|
+
*
|
|
770
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
771
|
+
*
|
|
772
|
+
* This source code is licensed under the MIT license found in the
|
|
773
|
+
* LICENSE file in the root directory of this source tree.
|
|
774
|
+
*/
|
|
775
|
+
var _r;
|
|
776
|
+
function Tt() {
|
|
777
|
+
return _r || (_r = 1, process.env.NODE_ENV !== "production" && function() {
|
|
778
|
+
function e(s) {
|
|
779
|
+
if (typeof s == "object" && s !== null) {
|
|
780
|
+
var x = s.$$typeof;
|
|
781
|
+
switch (x) {
|
|
782
|
+
case r:
|
|
783
|
+
switch (s = s.type, s) {
|
|
784
|
+
case n:
|
|
785
|
+
case a:
|
|
786
|
+
case o:
|
|
787
|
+
case d:
|
|
788
|
+
case h:
|
|
789
|
+
return s;
|
|
790
|
+
default:
|
|
791
|
+
switch (s = s && s.$$typeof, s) {
|
|
792
|
+
case u:
|
|
793
|
+
case f:
|
|
794
|
+
case m:
|
|
795
|
+
case p:
|
|
796
|
+
return s;
|
|
797
|
+
case c:
|
|
798
|
+
return s;
|
|
799
|
+
default:
|
|
800
|
+
return x;
|
|
801
|
+
}
|
|
802
|
+
}
|
|
803
|
+
case t:
|
|
804
|
+
return x;
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
var r = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), c = Symbol.for("react.consumer"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), b = Symbol.for("react.client.reference");
|
|
809
|
+
L.ContextConsumer = c, L.ContextProvider = u, L.Element = r, L.ForwardRef = f, L.Fragment = n, L.Lazy = m, L.Memo = p, L.Portal = t, L.Profiler = a, L.StrictMode = o, L.Suspense = d, L.SuspenseList = h, L.isContextConsumer = function(s) {
|
|
810
|
+
return e(s) === c;
|
|
811
|
+
}, L.isContextProvider = function(s) {
|
|
812
|
+
return e(s) === u;
|
|
813
|
+
}, L.isElement = function(s) {
|
|
814
|
+
return typeof s == "object" && s !== null && s.$$typeof === r;
|
|
815
|
+
}, L.isForwardRef = function(s) {
|
|
816
|
+
return e(s) === f;
|
|
817
|
+
}, L.isFragment = function(s) {
|
|
818
|
+
return e(s) === n;
|
|
819
|
+
}, L.isLazy = function(s) {
|
|
820
|
+
return e(s) === m;
|
|
821
|
+
}, L.isMemo = function(s) {
|
|
822
|
+
return e(s) === p;
|
|
823
|
+
}, L.isPortal = function(s) {
|
|
824
|
+
return e(s) === t;
|
|
825
|
+
}, L.isProfiler = function(s) {
|
|
826
|
+
return e(s) === a;
|
|
827
|
+
}, L.isStrictMode = function(s) {
|
|
828
|
+
return e(s) === o;
|
|
829
|
+
}, L.isSuspense = function(s) {
|
|
830
|
+
return e(s) === d;
|
|
831
|
+
}, L.isSuspenseList = function(s) {
|
|
832
|
+
return e(s) === h;
|
|
833
|
+
}, L.isValidElementType = function(s) {
|
|
834
|
+
return typeof s == "string" || typeof s == "function" || s === n || s === a || s === o || s === d || s === h || s === C || typeof s == "object" && s !== null && (s.$$typeof === m || s.$$typeof === p || s.$$typeof === u || s.$$typeof === c || s.$$typeof === f || s.$$typeof === b || s.getModuleId !== void 0);
|
|
835
|
+
}, L.typeOf = e;
|
|
836
|
+
}()), L;
|
|
837
|
+
}
|
|
838
|
+
var Rr;
|
|
839
|
+
function xt() {
|
|
840
|
+
return Rr || (Rr = 1, process.env.NODE_ENV === "production" ? Ne.exports = /* @__PURE__ */ Et() : Ne.exports = /* @__PURE__ */ Tt()), Ne.exports;
|
|
841
|
+
}
|
|
842
|
+
var Jr = /* @__PURE__ */ xt();
|
|
843
|
+
function de(e) {
|
|
844
|
+
if (typeof e != "object" || e === null)
|
|
845
|
+
return !1;
|
|
846
|
+
const r = Object.getPrototypeOf(e);
|
|
847
|
+
return (r === null || r === Object.prototype || Object.getPrototypeOf(r) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
848
|
+
}
|
|
849
|
+
function Zr(e) {
|
|
850
|
+
if (/* @__PURE__ */ qr.isValidElement(e) || Jr.isValidElementType(e) || !de(e))
|
|
851
|
+
return e;
|
|
852
|
+
const r = {};
|
|
853
|
+
return Object.keys(e).forEach((t) => {
|
|
854
|
+
r[t] = Zr(e[t]);
|
|
855
|
+
}), r;
|
|
856
|
+
}
|
|
857
|
+
function J(e, r, t = {
|
|
858
|
+
clone: !0
|
|
859
|
+
}) {
|
|
860
|
+
const n = t.clone ? {
|
|
861
|
+
...e
|
|
862
|
+
} : e;
|
|
863
|
+
return de(e) && de(r) && Object.keys(r).forEach((o) => {
|
|
864
|
+
/* @__PURE__ */ qr.isValidElement(r[o]) || Jr.isValidElementType(r[o]) ? n[o] = r[o] : de(r[o]) && // Avoid prototype pollution
|
|
865
|
+
Object.prototype.hasOwnProperty.call(e, o) && de(e[o]) ? n[o] = J(e[o], r[o], t) : t.clone ? n[o] = de(r[o]) ? Zr(r[o]) : r[o] : n[o] = r[o];
|
|
866
|
+
}), n;
|
|
867
|
+
}
|
|
868
|
+
function we(e, r) {
|
|
869
|
+
return r ? J(e, r, {
|
|
870
|
+
clone: !1
|
|
871
|
+
// No need to clone deep, it's way faster.
|
|
872
|
+
}) : e;
|
|
873
|
+
}
|
|
874
|
+
const ge = process.env.NODE_ENV !== "production" ? Te.oneOfType([Te.number, Te.string, Te.object, Te.array]) : {};
|
|
875
|
+
function At(e, r) {
|
|
876
|
+
if (!e.containerQueries)
|
|
877
|
+
return r;
|
|
878
|
+
const t = Object.keys(r).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
879
|
+
var c, u;
|
|
880
|
+
const a = /min-width:\s*([0-9.]+)/;
|
|
881
|
+
return +(((c = n.match(a)) == null ? void 0 : c[1]) || 0) - +(((u = o.match(a)) == null ? void 0 : u[1]) || 0);
|
|
882
|
+
});
|
|
883
|
+
return t.length ? t.reduce((n, o) => {
|
|
884
|
+
const a = r[o];
|
|
885
|
+
return delete n[o], n[o] = a, n;
|
|
886
|
+
}, {
|
|
887
|
+
...r
|
|
888
|
+
}) : r;
|
|
889
|
+
}
|
|
890
|
+
function $t(e, r) {
|
|
891
|
+
return r === "@" || r.startsWith("@") && (e.some((t) => r.startsWith(`@${t}`)) || !!r.match(/^@\d/));
|
|
892
|
+
}
|
|
893
|
+
function wt(e, r) {
|
|
894
|
+
const t = r.match(/^@([^/]+)?\/?(.+)?$/);
|
|
895
|
+
if (!t) {
|
|
896
|
+
if (process.env.NODE_ENV !== "production")
|
|
897
|
+
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>\`.
|
|
898
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : me(18, `(${r})`));
|
|
899
|
+
return null;
|
|
900
|
+
}
|
|
901
|
+
const [, n, o] = t, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
902
|
+
return e.containerQueries(o).up(a);
|
|
903
|
+
}
|
|
904
|
+
function Ot(e) {
|
|
905
|
+
const r = (a, c) => a.replace("@media", c ? `@container ${c}` : "@container");
|
|
906
|
+
function t(a, c) {
|
|
907
|
+
a.up = (...u) => r(e.breakpoints.up(...u), c), a.down = (...u) => r(e.breakpoints.down(...u), c), a.between = (...u) => r(e.breakpoints.between(...u), c), a.only = (...u) => r(e.breakpoints.only(...u), c), a.not = (...u) => {
|
|
908
|
+
const f = r(e.breakpoints.not(...u), c);
|
|
909
|
+
return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
|
|
910
|
+
};
|
|
911
|
+
}
|
|
912
|
+
const n = {}, o = (a) => (t(n, a), n);
|
|
913
|
+
return t(o), {
|
|
914
|
+
...e,
|
|
915
|
+
containerQueries: o
|
|
916
|
+
};
|
|
917
|
+
}
|
|
918
|
+
const We = {
|
|
919
|
+
xs: 0,
|
|
920
|
+
// phone
|
|
921
|
+
sm: 600,
|
|
922
|
+
// tablet
|
|
923
|
+
md: 900,
|
|
924
|
+
// small laptop
|
|
925
|
+
lg: 1200,
|
|
926
|
+
// desktop
|
|
927
|
+
xl: 1536
|
|
928
|
+
// large screen
|
|
929
|
+
}, Pr = {
|
|
930
|
+
// Sorted ASC by size. That's important.
|
|
931
|
+
// It can't be configured as it's used statically for propTypes.
|
|
932
|
+
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
933
|
+
up: (e) => `@media (min-width:${We[e]}px)`
|
|
934
|
+
}, _t = {
|
|
935
|
+
containerQueries: (e) => ({
|
|
936
|
+
up: (r) => {
|
|
937
|
+
let t = typeof r == "number" ? r : We[r] || r;
|
|
938
|
+
return typeof t == "number" && (t = `${t}px`), e ? `@container ${e} (min-width:${t})` : `@container (min-width:${t})`;
|
|
939
|
+
}
|
|
940
|
+
})
|
|
941
|
+
};
|
|
942
|
+
function ue(e, r, t) {
|
|
943
|
+
const n = e.theme || {};
|
|
944
|
+
if (Array.isArray(r)) {
|
|
945
|
+
const a = n.breakpoints || Pr;
|
|
946
|
+
return r.reduce((c, u, f) => (c[a.up(a.keys[f])] = t(r[f]), c), {});
|
|
947
|
+
}
|
|
948
|
+
if (typeof r == "object") {
|
|
949
|
+
const a = n.breakpoints || Pr;
|
|
950
|
+
return Object.keys(r).reduce((c, u) => {
|
|
951
|
+
if ($t(a.keys, u)) {
|
|
952
|
+
const f = wt(n.containerQueries ? n : _t, u);
|
|
953
|
+
f && (c[f] = t(r[u], u));
|
|
954
|
+
} else if (Object.keys(a.values || We).includes(u)) {
|
|
955
|
+
const f = a.up(u);
|
|
956
|
+
c[f] = t(r[u], u);
|
|
957
|
+
} else {
|
|
958
|
+
const f = u;
|
|
959
|
+
c[f] = r[f];
|
|
960
|
+
}
|
|
961
|
+
return c;
|
|
962
|
+
}, {});
|
|
963
|
+
}
|
|
964
|
+
return t(r);
|
|
965
|
+
}
|
|
966
|
+
function et(e = {}) {
|
|
967
|
+
var t;
|
|
968
|
+
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
969
|
+
const a = e.up(o);
|
|
970
|
+
return n[a] = {}, n;
|
|
971
|
+
}, {})) || {};
|
|
972
|
+
}
|
|
973
|
+
function rt(e, r) {
|
|
974
|
+
return e.reduce((t, n) => {
|
|
975
|
+
const o = t[n];
|
|
976
|
+
return (!o || Object.keys(o).length === 0) && delete t[n], t;
|
|
977
|
+
}, r);
|
|
978
|
+
}
|
|
979
|
+
function $o(e, ...r) {
|
|
980
|
+
const t = et(e), n = [t, ...r].reduce((o, a) => J(o, a), {});
|
|
981
|
+
return rt(Object.keys(t), n);
|
|
982
|
+
}
|
|
983
|
+
function Rt(e, r) {
|
|
984
|
+
if (typeof e != "object")
|
|
985
|
+
return {};
|
|
986
|
+
const t = {}, n = Object.keys(r);
|
|
987
|
+
return Array.isArray(e) ? n.forEach((o, a) => {
|
|
988
|
+
a < e.length && (t[o] = !0);
|
|
989
|
+
}) : n.forEach((o) => {
|
|
990
|
+
e[o] != null && (t[o] = !0);
|
|
991
|
+
}), t;
|
|
992
|
+
}
|
|
993
|
+
function wo({
|
|
994
|
+
values: e,
|
|
995
|
+
breakpoints: r,
|
|
996
|
+
base: t
|
|
997
|
+
}) {
|
|
998
|
+
const n = t || Rt(e, r), o = Object.keys(n);
|
|
999
|
+
if (o.length === 0)
|
|
1000
|
+
return e;
|
|
1001
|
+
let a;
|
|
1002
|
+
return o.reduce((c, u, f) => (Array.isArray(e) ? (c[u] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (c[u] = e[u] != null ? e[u] : e[a], a = u) : c[u] = e, c), {});
|
|
1003
|
+
}
|
|
1004
|
+
function Ye(e, r, t = !0) {
|
|
1005
|
+
if (!r || typeof r != "string")
|
|
1006
|
+
return null;
|
|
1007
|
+
if (e && e.vars && t) {
|
|
1008
|
+
const n = `vars.${r}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
|
|
1009
|
+
if (n != null)
|
|
1010
|
+
return n;
|
|
1011
|
+
}
|
|
1012
|
+
return r.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
1013
|
+
}
|
|
1014
|
+
function je(e, r, t, n = t) {
|
|
1015
|
+
let o;
|
|
1016
|
+
return typeof e == "function" ? o = e(t) : Array.isArray(e) ? o = e[t] || n : o = Ye(e, t) || n, r && (o = r(o, n, e)), o;
|
|
1017
|
+
}
|
|
1018
|
+
function q(e) {
|
|
1019
|
+
const {
|
|
1020
|
+
prop: r,
|
|
1021
|
+
cssProperty: t = e.prop,
|
|
1022
|
+
themeKey: n,
|
|
1023
|
+
transform: o
|
|
1024
|
+
} = e, a = (c) => {
|
|
1025
|
+
if (c[r] == null)
|
|
1026
|
+
return null;
|
|
1027
|
+
const u = c[r], f = c.theme, d = Ye(f, n) || {};
|
|
1028
|
+
return ue(c, u, (p) => {
|
|
1029
|
+
let m = je(d, o, p);
|
|
1030
|
+
return p === m && typeof p == "string" && (m = je(d, o, `${r}${p === "default" ? "" : Xr(p)}`, p)), t === !1 ? m : {
|
|
1031
|
+
[t]: m
|
|
1032
|
+
};
|
|
1033
|
+
});
|
|
1034
|
+
};
|
|
1035
|
+
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1036
|
+
[r]: ge
|
|
1037
|
+
} : {}, a.filterProps = [r], a;
|
|
1038
|
+
}
|
|
1039
|
+
function Pt(e) {
|
|
1040
|
+
const r = {};
|
|
1041
|
+
return (t) => (r[t] === void 0 && (r[t] = e(t)), r[t]);
|
|
1042
|
+
}
|
|
1043
|
+
const kt = {
|
|
1044
|
+
m: "margin",
|
|
1045
|
+
p: "padding"
|
|
1046
|
+
}, It = {
|
|
1047
|
+
t: "Top",
|
|
1048
|
+
r: "Right",
|
|
1049
|
+
b: "Bottom",
|
|
1050
|
+
l: "Left",
|
|
1051
|
+
x: ["Left", "Right"],
|
|
1052
|
+
y: ["Top", "Bottom"]
|
|
1053
|
+
}, kr = {
|
|
1054
|
+
marginX: "mx",
|
|
1055
|
+
marginY: "my",
|
|
1056
|
+
paddingX: "px",
|
|
1057
|
+
paddingY: "py"
|
|
1058
|
+
}, Mt = Pt((e) => {
|
|
1059
|
+
if (e.length > 2)
|
|
1060
|
+
if (kr[e])
|
|
1061
|
+
e = kr[e];
|
|
1062
|
+
else
|
|
1063
|
+
return [e];
|
|
1064
|
+
const [r, t] = e.split(""), n = kt[r], o = It[t] || "";
|
|
1065
|
+
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
1066
|
+
}), Ue = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ve = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Nt = [...Ue, ...Ve];
|
|
1067
|
+
function _e(e, r, t, n) {
|
|
1068
|
+
const o = Ye(e, r, !0) ?? t;
|
|
1069
|
+
return typeof o == "number" || typeof o == "string" ? (a) => typeof a == "string" ? a : (process.env.NODE_ENV !== "production" && typeof a != "number" && console.error(`MUI: Expected ${n} argument to be a number or a string, got ${a}.`), typeof o == "string" ? `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
1070
|
+
if (typeof a == "string")
|
|
1071
|
+
return a;
|
|
1072
|
+
const c = Math.abs(a);
|
|
1073
|
+
process.env.NODE_ENV !== "production" && (Number.isInteger(c) ? c > o.length - 1 && console.error([`MUI: The value provided (${c}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${c} > ${o.length - 1}, you need to add the missing values.`].join(`
|
|
1074
|
+
`)) : 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(`
|
|
1075
|
+
`)));
|
|
1076
|
+
const u = o[c];
|
|
1077
|
+
return a >= 0 ? u : typeof u == "number" ? -u : `-${u}`;
|
|
1078
|
+
} : 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(`
|
|
1079
|
+
`)), () => {
|
|
1080
|
+
});
|
|
1081
|
+
}
|
|
1082
|
+
function fr(e) {
|
|
1083
|
+
return _e(e, "spacing", 8, "spacing");
|
|
1084
|
+
}
|
|
1085
|
+
function Re(e, r) {
|
|
1086
|
+
return typeof r == "string" || r == null ? r : e(r);
|
|
1087
|
+
}
|
|
1088
|
+
function Bt(e, r) {
|
|
1089
|
+
return (t) => e.reduce((n, o) => (n[o] = Re(r, t), n), {});
|
|
1090
|
+
}
|
|
1091
|
+
function Dt(e, r, t, n) {
|
|
1092
|
+
if (!r.includes(t))
|
|
1093
|
+
return null;
|
|
1094
|
+
const o = Mt(t), a = Bt(o, n), c = e[t];
|
|
1095
|
+
return ue(e, c, a);
|
|
1096
|
+
}
|
|
1097
|
+
function tt(e, r) {
|
|
1098
|
+
const t = fr(e.theme);
|
|
1099
|
+
return Object.keys(e).map((n) => Dt(e, r, n, t)).reduce(we, {});
|
|
1100
|
+
}
|
|
1101
|
+
function z(e) {
|
|
1102
|
+
return tt(e, Ue);
|
|
1103
|
+
}
|
|
1104
|
+
z.propTypes = process.env.NODE_ENV !== "production" ? Ue.reduce((e, r) => (e[r] = ge, e), {}) : {};
|
|
1105
|
+
z.filterProps = Ue;
|
|
1106
|
+
function G(e) {
|
|
1107
|
+
return tt(e, Ve);
|
|
1108
|
+
}
|
|
1109
|
+
G.propTypes = process.env.NODE_ENV !== "production" ? Ve.reduce((e, r) => (e[r] = ge, e), {}) : {};
|
|
1110
|
+
G.filterProps = Ve;
|
|
1111
|
+
process.env.NODE_ENV !== "production" && Nt.reduce((e, r) => (e[r] = ge, e), {});
|
|
1112
|
+
function ze(...e) {
|
|
1113
|
+
const r = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
1114
|
+
n[a] = o;
|
|
1115
|
+
}), n), {}), t = (n) => Object.keys(n).reduce((o, a) => r[a] ? we(o, r[a](n)) : o, {});
|
|
1116
|
+
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;
|
|
1117
|
+
}
|
|
1118
|
+
function re(e) {
|
|
1119
|
+
return typeof e != "number" ? e : `${e}px solid`;
|
|
1120
|
+
}
|
|
1121
|
+
function te(e, r) {
|
|
1122
|
+
return q({
|
|
1123
|
+
prop: e,
|
|
1124
|
+
themeKey: "borders",
|
|
1125
|
+
transform: r
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
const jt = te("border", re), Ft = te("borderTop", re), Lt = te("borderRight", re), Wt = te("borderBottom", re), Yt = te("borderLeft", re), Ut = te("borderColor"), Vt = te("borderTopColor"), zt = te("borderRightColor"), Gt = te("borderBottomColor"), qt = te("borderLeftColor"), Kt = te("outline", re), Ht = te("outlineColor"), Ge = (e) => {
|
|
1129
|
+
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
1130
|
+
const r = _e(e.theme, "shape.borderRadius", 4, "borderRadius"), t = (n) => ({
|
|
1131
|
+
borderRadius: Re(r, n)
|
|
1132
|
+
});
|
|
1133
|
+
return ue(e, e.borderRadius, t);
|
|
1134
|
+
}
|
|
1135
|
+
return null;
|
|
1136
|
+
};
|
|
1137
|
+
Ge.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1138
|
+
borderRadius: ge
|
|
1139
|
+
} : {};
|
|
1140
|
+
Ge.filterProps = ["borderRadius"];
|
|
1141
|
+
ze(jt, Ft, Lt, Wt, Yt, Ut, Vt, zt, Gt, qt, Ge, Kt, Ht);
|
|
1142
|
+
const qe = (e) => {
|
|
1143
|
+
if (e.gap !== void 0 && e.gap !== null) {
|
|
1144
|
+
const r = _e(e.theme, "spacing", 8, "gap"), t = (n) => ({
|
|
1145
|
+
gap: Re(r, n)
|
|
1146
|
+
});
|
|
1147
|
+
return ue(e, e.gap, t);
|
|
1148
|
+
}
|
|
1149
|
+
return null;
|
|
1150
|
+
};
|
|
1151
|
+
qe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1152
|
+
gap: ge
|
|
1153
|
+
} : {};
|
|
1154
|
+
qe.filterProps = ["gap"];
|
|
1155
|
+
const Ke = (e) => {
|
|
1156
|
+
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
1157
|
+
const r = _e(e.theme, "spacing", 8, "columnGap"), t = (n) => ({
|
|
1158
|
+
columnGap: Re(r, n)
|
|
1159
|
+
});
|
|
1160
|
+
return ue(e, e.columnGap, t);
|
|
1161
|
+
}
|
|
1162
|
+
return null;
|
|
1163
|
+
};
|
|
1164
|
+
Ke.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1165
|
+
columnGap: ge
|
|
1166
|
+
} : {};
|
|
1167
|
+
Ke.filterProps = ["columnGap"];
|
|
1168
|
+
const He = (e) => {
|
|
1169
|
+
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
1170
|
+
const r = _e(e.theme, "spacing", 8, "rowGap"), t = (n) => ({
|
|
1171
|
+
rowGap: Re(r, n)
|
|
1172
|
+
});
|
|
1173
|
+
return ue(e, e.rowGap, t);
|
|
1174
|
+
}
|
|
1175
|
+
return null;
|
|
1176
|
+
};
|
|
1177
|
+
He.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
1178
|
+
rowGap: ge
|
|
1179
|
+
} : {};
|
|
1180
|
+
He.filterProps = ["rowGap"];
|
|
1181
|
+
const Qt = q({
|
|
1182
|
+
prop: "gridColumn"
|
|
1183
|
+
}), Xt = q({
|
|
1184
|
+
prop: "gridRow"
|
|
1185
|
+
}), Jt = q({
|
|
1186
|
+
prop: "gridAutoFlow"
|
|
1187
|
+
}), Zt = q({
|
|
1188
|
+
prop: "gridAutoColumns"
|
|
1189
|
+
}), en = q({
|
|
1190
|
+
prop: "gridAutoRows"
|
|
1191
|
+
}), rn = q({
|
|
1192
|
+
prop: "gridTemplateColumns"
|
|
1193
|
+
}), tn = q({
|
|
1194
|
+
prop: "gridTemplateRows"
|
|
1195
|
+
}), nn = q({
|
|
1196
|
+
prop: "gridTemplateAreas"
|
|
1197
|
+
}), on = q({
|
|
1198
|
+
prop: "gridArea"
|
|
1199
|
+
});
|
|
1200
|
+
ze(qe, Ke, He, Qt, Xt, Jt, Zt, en, rn, tn, nn, on);
|
|
1201
|
+
function Ee(e, r) {
|
|
1202
|
+
return r === "grey" ? r : e;
|
|
1203
|
+
}
|
|
1204
|
+
const an = q({
|
|
1205
|
+
prop: "color",
|
|
1206
|
+
themeKey: "palette",
|
|
1207
|
+
transform: Ee
|
|
1208
|
+
}), sn = q({
|
|
1209
|
+
prop: "bgcolor",
|
|
1210
|
+
cssProperty: "backgroundColor",
|
|
1211
|
+
themeKey: "palette",
|
|
1212
|
+
transform: Ee
|
|
1213
|
+
}), cn = q({
|
|
1214
|
+
prop: "backgroundColor",
|
|
1215
|
+
themeKey: "palette",
|
|
1216
|
+
transform: Ee
|
|
1217
|
+
});
|
|
1218
|
+
ze(an, sn, cn);
|
|
1219
|
+
function Z(e) {
|
|
1220
|
+
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
1221
|
+
}
|
|
1222
|
+
const un = q({
|
|
1223
|
+
prop: "width",
|
|
1224
|
+
transform: Z
|
|
1225
|
+
}), dr = (e) => {
|
|
1226
|
+
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
1227
|
+
const r = (t) => {
|
|
1228
|
+
var o, a, c, u, f;
|
|
1229
|
+
const n = ((c = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : c[t]) || We[t];
|
|
1230
|
+
return n ? ((f = (u = e.theme) == null ? void 0 : u.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
|
|
1231
|
+
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
1232
|
+
} : {
|
|
1233
|
+
maxWidth: n
|
|
1234
|
+
} : {
|
|
1235
|
+
maxWidth: Z(t)
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1238
|
+
return ue(e, e.maxWidth, r);
|
|
1239
|
+
}
|
|
1240
|
+
return null;
|
|
1241
|
+
};
|
|
1242
|
+
dr.filterProps = ["maxWidth"];
|
|
1243
|
+
const ln = q({
|
|
1244
|
+
prop: "minWidth",
|
|
1245
|
+
transform: Z
|
|
1246
|
+
}), fn = q({
|
|
1247
|
+
prop: "height",
|
|
1248
|
+
transform: Z
|
|
1249
|
+
}), dn = q({
|
|
1250
|
+
prop: "maxHeight",
|
|
1251
|
+
transform: Z
|
|
1252
|
+
}), pn = q({
|
|
1253
|
+
prop: "minHeight",
|
|
1254
|
+
transform: Z
|
|
1255
|
+
});
|
|
1256
|
+
q({
|
|
1257
|
+
prop: "size",
|
|
1258
|
+
cssProperty: "width",
|
|
1259
|
+
transform: Z
|
|
1260
|
+
});
|
|
1261
|
+
q({
|
|
1262
|
+
prop: "size",
|
|
1263
|
+
cssProperty: "height",
|
|
1264
|
+
transform: Z
|
|
1265
|
+
});
|
|
1266
|
+
const mn = q({
|
|
1267
|
+
prop: "boxSizing"
|
|
1268
|
+
});
|
|
1269
|
+
ze(un, dr, ln, fn, dn, pn, mn);
|
|
1270
|
+
const Qe = {
|
|
1271
|
+
// borders
|
|
1272
|
+
border: {
|
|
1273
|
+
themeKey: "borders",
|
|
1274
|
+
transform: re
|
|
1275
|
+
},
|
|
1276
|
+
borderTop: {
|
|
1277
|
+
themeKey: "borders",
|
|
1278
|
+
transform: re
|
|
1279
|
+
},
|
|
1280
|
+
borderRight: {
|
|
1281
|
+
themeKey: "borders",
|
|
1282
|
+
transform: re
|
|
1283
|
+
},
|
|
1284
|
+
borderBottom: {
|
|
1285
|
+
themeKey: "borders",
|
|
1286
|
+
transform: re
|
|
1287
|
+
},
|
|
1288
|
+
borderLeft: {
|
|
1289
|
+
themeKey: "borders",
|
|
1290
|
+
transform: re
|
|
1291
|
+
},
|
|
1292
|
+
borderColor: {
|
|
1293
|
+
themeKey: "palette"
|
|
1294
|
+
},
|
|
1295
|
+
borderTopColor: {
|
|
1296
|
+
themeKey: "palette"
|
|
1297
|
+
},
|
|
1298
|
+
borderRightColor: {
|
|
1299
|
+
themeKey: "palette"
|
|
1300
|
+
},
|
|
1301
|
+
borderBottomColor: {
|
|
1302
|
+
themeKey: "palette"
|
|
1303
|
+
},
|
|
1304
|
+
borderLeftColor: {
|
|
1305
|
+
themeKey: "palette"
|
|
1306
|
+
},
|
|
1307
|
+
outline: {
|
|
1308
|
+
themeKey: "borders",
|
|
1309
|
+
transform: re
|
|
1310
|
+
},
|
|
1311
|
+
outlineColor: {
|
|
1312
|
+
themeKey: "palette"
|
|
1313
|
+
},
|
|
1314
|
+
borderRadius: {
|
|
1315
|
+
themeKey: "shape.borderRadius",
|
|
1316
|
+
style: Ge
|
|
1317
|
+
},
|
|
1318
|
+
// palette
|
|
1319
|
+
color: {
|
|
1320
|
+
themeKey: "palette",
|
|
1321
|
+
transform: Ee
|
|
1322
|
+
},
|
|
1323
|
+
bgcolor: {
|
|
1324
|
+
themeKey: "palette",
|
|
1325
|
+
cssProperty: "backgroundColor",
|
|
1326
|
+
transform: Ee
|
|
1327
|
+
},
|
|
1328
|
+
backgroundColor: {
|
|
1329
|
+
themeKey: "palette",
|
|
1330
|
+
transform: Ee
|
|
1331
|
+
},
|
|
1332
|
+
// spacing
|
|
1333
|
+
p: {
|
|
1334
|
+
style: G
|
|
1335
|
+
},
|
|
1336
|
+
pt: {
|
|
1337
|
+
style: G
|
|
1338
|
+
},
|
|
1339
|
+
pr: {
|
|
1340
|
+
style: G
|
|
1341
|
+
},
|
|
1342
|
+
pb: {
|
|
1343
|
+
style: G
|
|
1344
|
+
},
|
|
1345
|
+
pl: {
|
|
1346
|
+
style: G
|
|
1347
|
+
},
|
|
1348
|
+
px: {
|
|
1349
|
+
style: G
|
|
1350
|
+
},
|
|
1351
|
+
py: {
|
|
1352
|
+
style: G
|
|
1353
|
+
},
|
|
1354
|
+
padding: {
|
|
1355
|
+
style: G
|
|
1356
|
+
},
|
|
1357
|
+
paddingTop: {
|
|
1358
|
+
style: G
|
|
1359
|
+
},
|
|
1360
|
+
paddingRight: {
|
|
1361
|
+
style: G
|
|
1362
|
+
},
|
|
1363
|
+
paddingBottom: {
|
|
1364
|
+
style: G
|
|
1365
|
+
},
|
|
1366
|
+
paddingLeft: {
|
|
1367
|
+
style: G
|
|
1368
|
+
},
|
|
1369
|
+
paddingX: {
|
|
1370
|
+
style: G
|
|
1371
|
+
},
|
|
1372
|
+
paddingY: {
|
|
1373
|
+
style: G
|
|
1374
|
+
},
|
|
1375
|
+
paddingInline: {
|
|
1376
|
+
style: G
|
|
1377
|
+
},
|
|
1378
|
+
paddingInlineStart: {
|
|
1379
|
+
style: G
|
|
1380
|
+
},
|
|
1381
|
+
paddingInlineEnd: {
|
|
1382
|
+
style: G
|
|
1383
|
+
},
|
|
1384
|
+
paddingBlock: {
|
|
1385
|
+
style: G
|
|
1386
|
+
},
|
|
1387
|
+
paddingBlockStart: {
|
|
1388
|
+
style: G
|
|
1389
|
+
},
|
|
1390
|
+
paddingBlockEnd: {
|
|
1391
|
+
style: G
|
|
1392
|
+
},
|
|
1393
|
+
m: {
|
|
1394
|
+
style: z
|
|
1395
|
+
},
|
|
1396
|
+
mt: {
|
|
1397
|
+
style: z
|
|
1398
|
+
},
|
|
1399
|
+
mr: {
|
|
1400
|
+
style: z
|
|
1401
|
+
},
|
|
1402
|
+
mb: {
|
|
1403
|
+
style: z
|
|
1404
|
+
},
|
|
1405
|
+
ml: {
|
|
1406
|
+
style: z
|
|
1407
|
+
},
|
|
1408
|
+
mx: {
|
|
1409
|
+
style: z
|
|
1410
|
+
},
|
|
1411
|
+
my: {
|
|
1412
|
+
style: z
|
|
1413
|
+
},
|
|
1414
|
+
margin: {
|
|
1415
|
+
style: z
|
|
1416
|
+
},
|
|
1417
|
+
marginTop: {
|
|
1418
|
+
style: z
|
|
1419
|
+
},
|
|
1420
|
+
marginRight: {
|
|
1421
|
+
style: z
|
|
1422
|
+
},
|
|
1423
|
+
marginBottom: {
|
|
1424
|
+
style: z
|
|
1425
|
+
},
|
|
1426
|
+
marginLeft: {
|
|
1427
|
+
style: z
|
|
1428
|
+
},
|
|
1429
|
+
marginX: {
|
|
1430
|
+
style: z
|
|
1431
|
+
},
|
|
1432
|
+
marginY: {
|
|
1433
|
+
style: z
|
|
1434
|
+
},
|
|
1435
|
+
marginInline: {
|
|
1436
|
+
style: z
|
|
1437
|
+
},
|
|
1438
|
+
marginInlineStart: {
|
|
1439
|
+
style: z
|
|
1440
|
+
},
|
|
1441
|
+
marginInlineEnd: {
|
|
1442
|
+
style: z
|
|
1443
|
+
},
|
|
1444
|
+
marginBlock: {
|
|
1445
|
+
style: z
|
|
1446
|
+
},
|
|
1447
|
+
marginBlockStart: {
|
|
1448
|
+
style: z
|
|
1449
|
+
},
|
|
1450
|
+
marginBlockEnd: {
|
|
1451
|
+
style: z
|
|
1452
|
+
},
|
|
1453
|
+
// display
|
|
1454
|
+
displayPrint: {
|
|
1455
|
+
cssProperty: !1,
|
|
1456
|
+
transform: (e) => ({
|
|
1457
|
+
"@media print": {
|
|
1458
|
+
display: e
|
|
1459
|
+
}
|
|
1460
|
+
})
|
|
1461
|
+
},
|
|
1462
|
+
display: {},
|
|
1463
|
+
overflow: {},
|
|
1464
|
+
textOverflow: {},
|
|
1465
|
+
visibility: {},
|
|
1466
|
+
whiteSpace: {},
|
|
1467
|
+
// flexbox
|
|
1468
|
+
flexBasis: {},
|
|
1469
|
+
flexDirection: {},
|
|
1470
|
+
flexWrap: {},
|
|
1471
|
+
justifyContent: {},
|
|
1472
|
+
alignItems: {},
|
|
1473
|
+
alignContent: {},
|
|
1474
|
+
order: {},
|
|
1475
|
+
flex: {},
|
|
1476
|
+
flexGrow: {},
|
|
1477
|
+
flexShrink: {},
|
|
1478
|
+
alignSelf: {},
|
|
1479
|
+
justifyItems: {},
|
|
1480
|
+
justifySelf: {},
|
|
1481
|
+
// grid
|
|
1482
|
+
gap: {
|
|
1483
|
+
style: qe
|
|
1484
|
+
},
|
|
1485
|
+
rowGap: {
|
|
1486
|
+
style: He
|
|
1487
|
+
},
|
|
1488
|
+
columnGap: {
|
|
1489
|
+
style: Ke
|
|
1490
|
+
},
|
|
1491
|
+
gridColumn: {},
|
|
1492
|
+
gridRow: {},
|
|
1493
|
+
gridAutoFlow: {},
|
|
1494
|
+
gridAutoColumns: {},
|
|
1495
|
+
gridAutoRows: {},
|
|
1496
|
+
gridTemplateColumns: {},
|
|
1497
|
+
gridTemplateRows: {},
|
|
1498
|
+
gridTemplateAreas: {},
|
|
1499
|
+
gridArea: {},
|
|
1500
|
+
// positions
|
|
1501
|
+
position: {},
|
|
1502
|
+
zIndex: {
|
|
1503
|
+
themeKey: "zIndex"
|
|
1504
|
+
},
|
|
1505
|
+
top: {},
|
|
1506
|
+
right: {},
|
|
1507
|
+
bottom: {},
|
|
1508
|
+
left: {},
|
|
1509
|
+
// shadows
|
|
1510
|
+
boxShadow: {
|
|
1511
|
+
themeKey: "shadows"
|
|
1512
|
+
},
|
|
1513
|
+
// sizing
|
|
1514
|
+
width: {
|
|
1515
|
+
transform: Z
|
|
1516
|
+
},
|
|
1517
|
+
maxWidth: {
|
|
1518
|
+
style: dr
|
|
1519
|
+
},
|
|
1520
|
+
minWidth: {
|
|
1521
|
+
transform: Z
|
|
1522
|
+
},
|
|
1523
|
+
height: {
|
|
1524
|
+
transform: Z
|
|
1525
|
+
},
|
|
1526
|
+
maxHeight: {
|
|
1527
|
+
transform: Z
|
|
1528
|
+
},
|
|
1529
|
+
minHeight: {
|
|
1530
|
+
transform: Z
|
|
1531
|
+
},
|
|
1532
|
+
boxSizing: {},
|
|
1533
|
+
// typography
|
|
1534
|
+
font: {
|
|
1535
|
+
themeKey: "font"
|
|
1536
|
+
},
|
|
1537
|
+
fontFamily: {
|
|
1538
|
+
themeKey: "typography"
|
|
1539
|
+
},
|
|
1540
|
+
fontSize: {
|
|
1541
|
+
themeKey: "typography"
|
|
1542
|
+
},
|
|
1543
|
+
fontStyle: {
|
|
1544
|
+
themeKey: "typography"
|
|
1545
|
+
},
|
|
1546
|
+
fontWeight: {
|
|
1547
|
+
themeKey: "typography"
|
|
1548
|
+
},
|
|
1549
|
+
letterSpacing: {},
|
|
1550
|
+
textTransform: {},
|
|
1551
|
+
lineHeight: {},
|
|
1552
|
+
textAlign: {},
|
|
1553
|
+
typography: {
|
|
1554
|
+
cssProperty: !1,
|
|
1555
|
+
themeKey: "typography"
|
|
1556
|
+
}
|
|
1557
|
+
};
|
|
1558
|
+
function gn(...e) {
|
|
1559
|
+
const r = e.reduce((n, o) => n.concat(Object.keys(o)), []), t = new Set(r);
|
|
1560
|
+
return e.every((n) => t.size === Object.keys(n).length);
|
|
1561
|
+
}
|
|
1562
|
+
function hn(e, r) {
|
|
1563
|
+
return typeof e == "function" ? e(r) : e;
|
|
1564
|
+
}
|
|
1565
|
+
function yn() {
|
|
1566
|
+
function e(t, n, o, a) {
|
|
1567
|
+
const c = {
|
|
1568
|
+
[t]: n,
|
|
1569
|
+
theme: o
|
|
1570
|
+
}, u = a[t];
|
|
1571
|
+
if (!u)
|
|
1572
|
+
return {
|
|
1573
|
+
[t]: n
|
|
1574
|
+
};
|
|
1575
|
+
const {
|
|
1576
|
+
cssProperty: f = t,
|
|
1577
|
+
themeKey: d,
|
|
1578
|
+
transform: h,
|
|
1579
|
+
style: p
|
|
1580
|
+
} = u;
|
|
1581
|
+
if (n == null)
|
|
1582
|
+
return null;
|
|
1583
|
+
if (d === "typography" && n === "inherit")
|
|
1584
|
+
return {
|
|
1585
|
+
[t]: n
|
|
1586
|
+
};
|
|
1587
|
+
const m = Ye(o, d) || {};
|
|
1588
|
+
return p ? p(c) : ue(c, n, (b) => {
|
|
1589
|
+
let s = je(m, h, b);
|
|
1590
|
+
return b === s && typeof b == "string" && (s = je(m, h, `${t}${b === "default" ? "" : Xr(b)}`, b)), f === !1 ? s : {
|
|
1591
|
+
[f]: s
|
|
1592
|
+
};
|
|
1593
|
+
});
|
|
1594
|
+
}
|
|
1595
|
+
function r(t) {
|
|
1596
|
+
const {
|
|
1597
|
+
sx: n,
|
|
1598
|
+
theme: o = {}
|
|
1599
|
+
} = t || {};
|
|
1600
|
+
if (!n)
|
|
1601
|
+
return null;
|
|
1602
|
+
const a = o.unstable_sxConfig ?? Qe;
|
|
1603
|
+
function c(u) {
|
|
1604
|
+
let f = u;
|
|
1605
|
+
if (typeof u == "function")
|
|
1606
|
+
f = u(o);
|
|
1607
|
+
else if (typeof u != "object")
|
|
1608
|
+
return u;
|
|
1609
|
+
if (!f)
|
|
1610
|
+
return null;
|
|
1611
|
+
const d = et(o.breakpoints), h = Object.keys(d);
|
|
1612
|
+
let p = d;
|
|
1613
|
+
return Object.keys(f).forEach((m) => {
|
|
1614
|
+
const C = hn(f[m], o);
|
|
1615
|
+
if (C != null)
|
|
1616
|
+
if (typeof C == "object")
|
|
1617
|
+
if (a[m])
|
|
1618
|
+
p = we(p, e(m, C, o, a));
|
|
1619
|
+
else {
|
|
1620
|
+
const b = ue({
|
|
1621
|
+
theme: o
|
|
1622
|
+
}, C, (s) => ({
|
|
1623
|
+
[m]: s
|
|
1624
|
+
}));
|
|
1625
|
+
gn(b, C) ? p[m] = r({
|
|
1626
|
+
sx: C,
|
|
1627
|
+
theme: o
|
|
1628
|
+
}) : p = we(p, b);
|
|
1629
|
+
}
|
|
1630
|
+
else
|
|
1631
|
+
p = we(p, e(m, C, o, a));
|
|
1632
|
+
}), At(o, rt(h, p));
|
|
1633
|
+
}
|
|
1634
|
+
return Array.isArray(n) ? n.map(c) : c(n);
|
|
1635
|
+
}
|
|
1636
|
+
return r;
|
|
1637
|
+
}
|
|
1638
|
+
const Xe = yn();
|
|
1639
|
+
Xe.filterProps = ["sx"];
|
|
1640
|
+
function bn(e) {
|
|
1641
|
+
for (var r = 0, t, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
1642
|
+
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): */
|
|
1643
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
|
|
1644
|
+
t >>> 24, r = /* Math.imul(k, m): */
|
|
1645
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
1646
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
|
|
1647
|
+
switch (o) {
|
|
1648
|
+
case 3:
|
|
1649
|
+
r ^= (e.charCodeAt(n + 2) & 255) << 16;
|
|
1650
|
+
case 2:
|
|
1651
|
+
r ^= (e.charCodeAt(n + 1) & 255) << 8;
|
|
1652
|
+
case 1:
|
|
1653
|
+
r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
|
|
1654
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
|
|
1655
|
+
}
|
|
1656
|
+
return r ^= r >>> 13, r = /* Math.imul(h, m): */
|
|
1657
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
|
|
1658
|
+
}
|
|
1659
|
+
var vn = {
|
|
1660
|
+
animationIterationCount: 1,
|
|
1661
|
+
aspectRatio: 1,
|
|
1662
|
+
borderImageOutset: 1,
|
|
1663
|
+
borderImageSlice: 1,
|
|
1664
|
+
borderImageWidth: 1,
|
|
1665
|
+
boxFlex: 1,
|
|
1666
|
+
boxFlexGroup: 1,
|
|
1667
|
+
boxOrdinalGroup: 1,
|
|
1668
|
+
columnCount: 1,
|
|
1669
|
+
columns: 1,
|
|
1670
|
+
flex: 1,
|
|
1671
|
+
flexGrow: 1,
|
|
1672
|
+
flexPositive: 1,
|
|
1673
|
+
flexShrink: 1,
|
|
1674
|
+
flexNegative: 1,
|
|
1675
|
+
flexOrder: 1,
|
|
1676
|
+
gridRow: 1,
|
|
1677
|
+
gridRowEnd: 1,
|
|
1678
|
+
gridRowSpan: 1,
|
|
1679
|
+
gridRowStart: 1,
|
|
1680
|
+
gridColumn: 1,
|
|
1681
|
+
gridColumnEnd: 1,
|
|
1682
|
+
gridColumnSpan: 1,
|
|
1683
|
+
gridColumnStart: 1,
|
|
1684
|
+
msGridRow: 1,
|
|
1685
|
+
msGridRowSpan: 1,
|
|
1686
|
+
msGridColumn: 1,
|
|
1687
|
+
msGridColumnSpan: 1,
|
|
1688
|
+
fontWeight: 1,
|
|
1689
|
+
lineHeight: 1,
|
|
1690
|
+
opacity: 1,
|
|
1691
|
+
order: 1,
|
|
1692
|
+
orphans: 1,
|
|
1693
|
+
scale: 1,
|
|
1694
|
+
tabSize: 1,
|
|
1695
|
+
widows: 1,
|
|
1696
|
+
zIndex: 1,
|
|
1697
|
+
zoom: 1,
|
|
1698
|
+
WebkitLineClamp: 1,
|
|
1699
|
+
// SVG-related properties
|
|
1700
|
+
fillOpacity: 1,
|
|
1701
|
+
floodOpacity: 1,
|
|
1702
|
+
stopOpacity: 1,
|
|
1703
|
+
strokeDasharray: 1,
|
|
1704
|
+
strokeDashoffset: 1,
|
|
1705
|
+
strokeMiterlimit: 1,
|
|
1706
|
+
strokeOpacity: 1,
|
|
1707
|
+
strokeWidth: 1
|
|
1708
|
+
};
|
|
1709
|
+
function Sn(e) {
|
|
1710
|
+
var r = /* @__PURE__ */ Object.create(null);
|
|
1711
|
+
return function(t) {
|
|
1712
|
+
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
1713
|
+
};
|
|
1714
|
+
}
|
|
1715
|
+
var Cn = /[A-Z]|^ms/g, En = /_EMO_([^_]+?)_([^]*?)_EMO_/g, nt = function(r) {
|
|
1716
|
+
return r.charCodeAt(1) === 45;
|
|
1717
|
+
}, Ir = function(r) {
|
|
1718
|
+
return r != null && typeof r != "boolean";
|
|
1719
|
+
}, ar = /* @__PURE__ */ Sn(function(e) {
|
|
1720
|
+
return nt(e) ? e : e.replace(Cn, "-$&").toLowerCase();
|
|
1721
|
+
}), Mr = function(r, t) {
|
|
1722
|
+
switch (r) {
|
|
1723
|
+
case "animation":
|
|
1724
|
+
case "animationName":
|
|
1725
|
+
if (typeof t == "string")
|
|
1726
|
+
return t.replace(En, function(n, o, a) {
|
|
1727
|
+
return pe = {
|
|
1728
|
+
name: o,
|
|
1729
|
+
styles: a,
|
|
1730
|
+
next: pe
|
|
1731
|
+
}, o;
|
|
1732
|
+
});
|
|
1733
|
+
}
|
|
1734
|
+
return vn[r] !== 1 && !nt(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
1735
|
+
};
|
|
1736
|
+
function Fe(e, r, t) {
|
|
1737
|
+
if (t == null)
|
|
1738
|
+
return "";
|
|
1739
|
+
var n = t;
|
|
1740
|
+
if (n.__emotion_styles !== void 0)
|
|
1741
|
+
return n;
|
|
1742
|
+
switch (typeof t) {
|
|
1743
|
+
case "boolean":
|
|
1744
|
+
return "";
|
|
1745
|
+
case "object": {
|
|
1746
|
+
var o = t;
|
|
1747
|
+
if (o.anim === 1)
|
|
1748
|
+
return pe = {
|
|
1749
|
+
name: o.name,
|
|
1750
|
+
styles: o.styles,
|
|
1751
|
+
next: pe
|
|
1752
|
+
}, o.name;
|
|
1753
|
+
var a = t;
|
|
1754
|
+
if (a.styles !== void 0) {
|
|
1755
|
+
var c = a.next;
|
|
1756
|
+
if (c !== void 0)
|
|
1757
|
+
for (; c !== void 0; )
|
|
1758
|
+
pe = {
|
|
1759
|
+
name: c.name,
|
|
1760
|
+
styles: c.styles,
|
|
1761
|
+
next: pe
|
|
1762
|
+
}, c = c.next;
|
|
1763
|
+
var u = a.styles + ";";
|
|
1764
|
+
return u;
|
|
1765
|
+
}
|
|
1766
|
+
return Tn(e, r, t);
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
var f = t;
|
|
1770
|
+
return f;
|
|
1771
|
+
}
|
|
1772
|
+
function Tn(e, r, t) {
|
|
1773
|
+
var n = "";
|
|
1774
|
+
if (Array.isArray(t))
|
|
1775
|
+
for (var o = 0; o < t.length; o++)
|
|
1776
|
+
n += Fe(e, r, t[o]) + ";";
|
|
1777
|
+
else
|
|
1778
|
+
for (var a in t) {
|
|
1779
|
+
var c = t[a];
|
|
1780
|
+
if (typeof c != "object") {
|
|
1781
|
+
var u = c;
|
|
1782
|
+
Ir(u) && (n += ar(a) + ":" + Mr(a, u) + ";");
|
|
1783
|
+
} else if (Array.isArray(c) && typeof c[0] == "string" && r == null)
|
|
1784
|
+
for (var f = 0; f < c.length; f++)
|
|
1785
|
+
Ir(c[f]) && (n += ar(a) + ":" + Mr(a, c[f]) + ";");
|
|
1786
|
+
else {
|
|
1787
|
+
var d = Fe(e, r, c);
|
|
1788
|
+
switch (a) {
|
|
1789
|
+
case "animation":
|
|
1790
|
+
case "animationName": {
|
|
1791
|
+
n += ar(a) + ":" + d + ";";
|
|
1792
|
+
break;
|
|
1793
|
+
}
|
|
1794
|
+
default:
|
|
1795
|
+
n += a + "{" + d + "}";
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
return n;
|
|
1800
|
+
}
|
|
1801
|
+
var Nr = /label:\s*([^\s;{]+)\s*(;|$)/g, pe;
|
|
1802
|
+
function xn(e, r, t) {
|
|
1803
|
+
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1804
|
+
return e[0];
|
|
1805
|
+
var n = !0, o = "";
|
|
1806
|
+
pe = void 0;
|
|
1807
|
+
var a = e[0];
|
|
1808
|
+
if (a == null || a.raw === void 0)
|
|
1809
|
+
n = !1, o += Fe(t, r, a);
|
|
1810
|
+
else {
|
|
1811
|
+
var c = a;
|
|
1812
|
+
o += c[0];
|
|
1813
|
+
}
|
|
1814
|
+
for (var u = 1; u < e.length; u++)
|
|
1815
|
+
if (o += Fe(t, r, e[u]), n) {
|
|
1816
|
+
var f = a;
|
|
1817
|
+
o += f[u];
|
|
1818
|
+
}
|
|
1819
|
+
Nr.lastIndex = 0;
|
|
1820
|
+
for (var d = "", h; (h = Nr.exec(o)) !== null; )
|
|
1821
|
+
d += "-" + h[1];
|
|
1822
|
+
var p = bn(o) + d;
|
|
1823
|
+
return {
|
|
1824
|
+
name: p,
|
|
1825
|
+
styles: o,
|
|
1826
|
+
next: pe
|
|
1827
|
+
};
|
|
1828
|
+
}
|
|
1829
|
+
/**
|
|
1830
|
+
* @mui/styled-engine v6.4.3
|
|
1831
|
+
*
|
|
1832
|
+
* @license MIT
|
|
1833
|
+
* This source code is licensed under the MIT license found in the
|
|
1834
|
+
* LICENSE file in the root directory of this source tree.
|
|
1835
|
+
*/
|
|
1836
|
+
function Oo(e, r) {
|
|
1837
|
+
const t = dt(e, r);
|
|
1838
|
+
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1839
|
+
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1840
|
+
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(`
|
|
1841
|
+
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), t(...n);
|
|
1842
|
+
} : t;
|
|
1843
|
+
}
|
|
1844
|
+
function _o(e, r) {
|
|
1845
|
+
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = r(e.__emotion_styles));
|
|
1846
|
+
}
|
|
1847
|
+
const Br = [];
|
|
1848
|
+
function Ro(e) {
|
|
1849
|
+
return Br[0] = e, xn(Br);
|
|
1850
|
+
}
|
|
1851
|
+
const An = (e) => {
|
|
1852
|
+
const r = Object.keys(e).map((t) => ({
|
|
1853
|
+
key: t,
|
|
1854
|
+
val: e[t]
|
|
1855
|
+
})) || [];
|
|
1856
|
+
return r.sort((t, n) => t.val - n.val), r.reduce((t, n) => ({
|
|
1857
|
+
...t,
|
|
1858
|
+
[n.key]: n.val
|
|
1859
|
+
}), {});
|
|
1860
|
+
};
|
|
1861
|
+
function $n(e) {
|
|
1862
|
+
const {
|
|
1863
|
+
// The breakpoint **start** at this value.
|
|
1864
|
+
// For instance with the first breakpoint xs: [xs, sm).
|
|
1865
|
+
values: r = {
|
|
1866
|
+
xs: 0,
|
|
1867
|
+
// phone
|
|
1868
|
+
sm: 600,
|
|
1869
|
+
// tablet
|
|
1870
|
+
md: 900,
|
|
1871
|
+
// small laptop
|
|
1872
|
+
lg: 1200,
|
|
1873
|
+
// desktop
|
|
1874
|
+
xl: 1536
|
|
1875
|
+
// large screen
|
|
1876
|
+
},
|
|
1877
|
+
unit: t = "px",
|
|
1878
|
+
step: n = 5,
|
|
1879
|
+
...o
|
|
1880
|
+
} = e, a = An(r), c = Object.keys(a);
|
|
1881
|
+
function u(m) {
|
|
1882
|
+
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t})`;
|
|
1883
|
+
}
|
|
1884
|
+
function f(m) {
|
|
1885
|
+
return `@media (max-width:${(typeof r[m] == "number" ? r[m] : m) - n / 100}${t})`;
|
|
1886
|
+
}
|
|
1887
|
+
function d(m, C) {
|
|
1888
|
+
const b = c.indexOf(C);
|
|
1889
|
+
return `@media (min-width:${typeof r[m] == "number" ? r[m] : m}${t}) and (max-width:${(b !== -1 && typeof r[c[b]] == "number" ? r[c[b]] : C) - n / 100}${t})`;
|
|
1890
|
+
}
|
|
1891
|
+
function h(m) {
|
|
1892
|
+
return c.indexOf(m) + 1 < c.length ? d(m, c[c.indexOf(m) + 1]) : u(m);
|
|
1893
|
+
}
|
|
1894
|
+
function p(m) {
|
|
1895
|
+
const C = c.indexOf(m);
|
|
1896
|
+
return C === 0 ? u(c[1]) : C === c.length - 1 ? f(c[C]) : d(m, c[c.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
1897
|
+
}
|
|
1898
|
+
return {
|
|
1899
|
+
keys: c,
|
|
1900
|
+
values: a,
|
|
1901
|
+
up: u,
|
|
1902
|
+
down: f,
|
|
1903
|
+
between: d,
|
|
1904
|
+
only: h,
|
|
1905
|
+
not: p,
|
|
1906
|
+
unit: t,
|
|
1907
|
+
...o
|
|
1908
|
+
};
|
|
1909
|
+
}
|
|
1910
|
+
const wn = {
|
|
1911
|
+
borderRadius: 4
|
|
1912
|
+
};
|
|
1913
|
+
function ot(e = 8, r = fr({
|
|
1914
|
+
spacing: e
|
|
1915
|
+
})) {
|
|
1916
|
+
if (e.mui)
|
|
1917
|
+
return e;
|
|
1918
|
+
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((a) => {
|
|
1919
|
+
const c = r(a);
|
|
1920
|
+
return typeof c == "number" ? `${c}px` : c;
|
|
1921
|
+
}).join(" "));
|
|
1922
|
+
return t.mui = !0, t;
|
|
1923
|
+
}
|
|
1924
|
+
function On(e, r) {
|
|
1925
|
+
var n;
|
|
1926
|
+
const t = this;
|
|
1927
|
+
if (t.vars) {
|
|
1928
|
+
if (!((n = t.colorSchemes) != null && n[e]) || typeof t.getColorSchemeSelector != "function")
|
|
1929
|
+
return {};
|
|
1930
|
+
let o = t.getColorSchemeSelector(e);
|
|
1931
|
+
return o === "&" ? r : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
|
|
1932
|
+
[o]: r
|
|
1933
|
+
});
|
|
1934
|
+
}
|
|
1935
|
+
return t.palette.mode === e ? r : {};
|
|
1936
|
+
}
|
|
1937
|
+
function _n(e = {}, ...r) {
|
|
1938
|
+
const {
|
|
1939
|
+
breakpoints: t = {},
|
|
1940
|
+
palette: n = {},
|
|
1941
|
+
spacing: o,
|
|
1942
|
+
shape: a = {},
|
|
1943
|
+
...c
|
|
1944
|
+
} = e, u = $n(t), f = ot(o);
|
|
1945
|
+
let d = J({
|
|
1946
|
+
breakpoints: u,
|
|
1947
|
+
direction: "ltr",
|
|
1948
|
+
components: {},
|
|
1949
|
+
// Inject component definitions.
|
|
1950
|
+
palette: {
|
|
1951
|
+
mode: "light",
|
|
1952
|
+
...n
|
|
1953
|
+
},
|
|
1954
|
+
spacing: f,
|
|
1955
|
+
shape: {
|
|
1956
|
+
...wn,
|
|
1957
|
+
...a
|
|
1958
|
+
}
|
|
1959
|
+
}, c);
|
|
1960
|
+
return d = Ot(d), d.applyStyles = On, d = r.reduce((h, p) => J(h, p), d), d.unstable_sxConfig = {
|
|
1961
|
+
...Qe,
|
|
1962
|
+
...c == null ? void 0 : c.unstable_sxConfig
|
|
1963
|
+
}, d.unstable_sx = function(p) {
|
|
1964
|
+
return Xe({
|
|
1965
|
+
sx: p,
|
|
1966
|
+
theme: this
|
|
1967
|
+
});
|
|
1968
|
+
}, d;
|
|
1969
|
+
}
|
|
1970
|
+
const Dr = (e) => e, Rn = () => {
|
|
1971
|
+
let e = Dr;
|
|
1972
|
+
return {
|
|
1973
|
+
configure(r) {
|
|
1974
|
+
e = r;
|
|
1975
|
+
},
|
|
1976
|
+
generate(r) {
|
|
1977
|
+
return e(r);
|
|
1978
|
+
},
|
|
1979
|
+
reset() {
|
|
1980
|
+
e = Dr;
|
|
1981
|
+
}
|
|
1982
|
+
};
|
|
1983
|
+
}, Pn = Rn(), kn = {
|
|
1984
|
+
active: "active",
|
|
1985
|
+
checked: "checked",
|
|
1986
|
+
completed: "completed",
|
|
1987
|
+
disabled: "disabled",
|
|
1988
|
+
error: "error",
|
|
1989
|
+
expanded: "expanded",
|
|
1990
|
+
focused: "focused",
|
|
1991
|
+
focusVisible: "focusVisible",
|
|
1992
|
+
open: "open",
|
|
1993
|
+
readOnly: "readOnly",
|
|
1994
|
+
required: "required",
|
|
1995
|
+
selected: "selected"
|
|
1996
|
+
};
|
|
1997
|
+
function it(e, r, t = "Mui") {
|
|
1998
|
+
const n = kn[r];
|
|
1999
|
+
return n ? `${t}-${n}` : `${Pn.generate(e)}-${r}`;
|
|
2000
|
+
}
|
|
2001
|
+
function Po(e, r, t = "Mui") {
|
|
2002
|
+
const n = {};
|
|
2003
|
+
return r.forEach((o) => {
|
|
2004
|
+
n[o] = it(e, o, t);
|
|
2005
|
+
}), n;
|
|
2006
|
+
}
|
|
2007
|
+
function In(e, r = Number.MIN_SAFE_INTEGER, t = Number.MAX_SAFE_INTEGER) {
|
|
2008
|
+
return Math.max(r, Math.min(e, t));
|
|
2009
|
+
}
|
|
2010
|
+
function pr(e, r = 0, t = 1) {
|
|
2011
|
+
return process.env.NODE_ENV !== "production" && (e < r || e > t) && console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`), In(e, r, t);
|
|
2012
|
+
}
|
|
2013
|
+
function Mn(e) {
|
|
2014
|
+
e = e.slice(1);
|
|
2015
|
+
const r = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
2016
|
+
let t = e.match(r);
|
|
2017
|
+
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(", ")})` : "";
|
|
2018
|
+
}
|
|
2019
|
+
function Nn(e) {
|
|
2020
|
+
const r = e.toString(16);
|
|
2021
|
+
return r.length === 1 ? `0${r}` : r;
|
|
2022
|
+
}
|
|
2023
|
+
function le(e) {
|
|
2024
|
+
if (e.type)
|
|
2025
|
+
return e;
|
|
2026
|
+
if (e.charAt(0) === "#")
|
|
2027
|
+
return le(Mn(e));
|
|
2028
|
+
const r = e.indexOf("("), t = e.substring(0, r);
|
|
2029
|
+
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(t))
|
|
2030
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
2031
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : me(9, e));
|
|
2032
|
+
let n = e.substring(r + 1, e.length - 1), o;
|
|
2033
|
+
if (t === "color") {
|
|
2034
|
+
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))
|
|
2035
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
2036
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : me(10, o));
|
|
2037
|
+
} else
|
|
2038
|
+
n = n.split(",");
|
|
2039
|
+
return n = n.map((a) => parseFloat(a)), {
|
|
2040
|
+
type: t,
|
|
2041
|
+
values: n,
|
|
2042
|
+
colorSpace: o
|
|
2043
|
+
};
|
|
2044
|
+
}
|
|
2045
|
+
const Bn = (e) => {
|
|
2046
|
+
const r = le(e);
|
|
2047
|
+
return r.values.slice(0, 3).map((t, n) => r.type.includes("hsl") && n !== 0 ? `${t}%` : t).join(" ");
|
|
2048
|
+
}, Ae = (e, r) => {
|
|
2049
|
+
try {
|
|
2050
|
+
return Bn(e);
|
|
2051
|
+
} catch {
|
|
2052
|
+
return r && process.env.NODE_ENV !== "production" && console.warn(r), e;
|
|
2053
|
+
}
|
|
2054
|
+
};
|
|
2055
|
+
function Je(e) {
|
|
2056
|
+
const {
|
|
2057
|
+
type: r,
|
|
2058
|
+
colorSpace: t
|
|
2059
|
+
} = e;
|
|
2060
|
+
let {
|
|
2061
|
+
values: n
|
|
2062
|
+
} = e;
|
|
2063
|
+
return r.includes("rgb") ? n = n.map((o, a) => a < 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})`;
|
|
2064
|
+
}
|
|
2065
|
+
function ko(e) {
|
|
2066
|
+
if (e.startsWith("#"))
|
|
2067
|
+
return e;
|
|
2068
|
+
const {
|
|
2069
|
+
values: r
|
|
2070
|
+
} = le(e);
|
|
2071
|
+
return `#${r.map((t, n) => Nn(n === 3 ? Math.round(255 * t) : t)).join("")}`;
|
|
2072
|
+
}
|
|
2073
|
+
function at(e) {
|
|
2074
|
+
e = le(e);
|
|
2075
|
+
const {
|
|
2076
|
+
values: r
|
|
2077
|
+
} = e, t = r[0], n = r[1] / 100, o = r[2] / 100, a = n * Math.min(o, 1 - o), c = (d, h = (d + t / 30) % 12) => o - a * Math.max(Math.min(h - 3, 9 - h, 1), -1);
|
|
2078
|
+
let u = "rgb";
|
|
2079
|
+
const f = [Math.round(c(0) * 255), Math.round(c(8) * 255), Math.round(c(4) * 255)];
|
|
2080
|
+
return e.type === "hsla" && (u += "a", f.push(r[3])), Je({
|
|
2081
|
+
type: u,
|
|
2082
|
+
values: f
|
|
2083
|
+
});
|
|
2084
|
+
}
|
|
2085
|
+
function ur(e) {
|
|
2086
|
+
e = le(e);
|
|
2087
|
+
let r = e.type === "hsl" || e.type === "hsla" ? le(at(e)).values : e.values;
|
|
2088
|
+
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));
|
|
2089
|
+
}
|
|
2090
|
+
function jr(e, r) {
|
|
2091
|
+
const t = ur(e), n = ur(r);
|
|
2092
|
+
return (Math.max(t, n) + 0.05) / (Math.min(t, n) + 0.05);
|
|
2093
|
+
}
|
|
2094
|
+
function Dn(e, r) {
|
|
2095
|
+
return e = le(e), r = pr(r), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${r}` : e.values[3] = r, Je(e);
|
|
2096
|
+
}
|
|
2097
|
+
function Be(e, r, t) {
|
|
2098
|
+
try {
|
|
2099
|
+
return Dn(e, r);
|
|
2100
|
+
} catch {
|
|
2101
|
+
return e;
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
function mr(e, r) {
|
|
2105
|
+
if (e = le(e), r = pr(r), e.type.includes("hsl"))
|
|
2106
|
+
e.values[2] *= 1 - r;
|
|
2107
|
+
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
2108
|
+
for (let t = 0; t < 3; t += 1)
|
|
2109
|
+
e.values[t] *= 1 - r;
|
|
2110
|
+
return Je(e);
|
|
2111
|
+
}
|
|
2112
|
+
function W(e, r, t) {
|
|
2113
|
+
try {
|
|
2114
|
+
return mr(e, r);
|
|
2115
|
+
} catch {
|
|
2116
|
+
return e;
|
|
2117
|
+
}
|
|
2118
|
+
}
|
|
2119
|
+
function gr(e, r) {
|
|
2120
|
+
if (e = le(e), r = pr(r), e.type.includes("hsl"))
|
|
2121
|
+
e.values[2] += (100 - e.values[2]) * r;
|
|
2122
|
+
else if (e.type.includes("rgb"))
|
|
2123
|
+
for (let t = 0; t < 3; t += 1)
|
|
2124
|
+
e.values[t] += (255 - e.values[t]) * r;
|
|
2125
|
+
else if (e.type.includes("color"))
|
|
2126
|
+
for (let t = 0; t < 3; t += 1)
|
|
2127
|
+
e.values[t] += (1 - e.values[t]) * r;
|
|
2128
|
+
return Je(e);
|
|
2129
|
+
}
|
|
2130
|
+
function Y(e, r, t) {
|
|
2131
|
+
try {
|
|
2132
|
+
return gr(e, r);
|
|
2133
|
+
} catch {
|
|
2134
|
+
return e;
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
function jn(e, r = 0.15) {
|
|
2138
|
+
return ur(e) > 0.5 ? mr(e, r) : gr(e, r);
|
|
2139
|
+
}
|
|
2140
|
+
function De(e, r, t) {
|
|
2141
|
+
try {
|
|
2142
|
+
return jn(e, r);
|
|
2143
|
+
} catch {
|
|
2144
|
+
return e;
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
function Fn(e = "") {
|
|
2148
|
+
function r(...n) {
|
|
2149
|
+
if (!n.length)
|
|
2150
|
+
return "";
|
|
2151
|
+
const o = n[0];
|
|
2152
|
+
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}`;
|
|
2153
|
+
}
|
|
2154
|
+
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${r(...o)})`;
|
|
2155
|
+
}
|
|
2156
|
+
const Fr = (e, r, t, n = []) => {
|
|
2157
|
+
let o = e;
|
|
2158
|
+
r.forEach((a, c) => {
|
|
2159
|
+
c === r.length - 1 ? Array.isArray(o) ? o[Number(a)] = t : o && typeof o == "object" && (o[a] = t) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
|
|
2160
|
+
});
|
|
2161
|
+
}, Ln = (e, r, t) => {
|
|
2162
|
+
function n(o, a = [], c = []) {
|
|
2163
|
+
Object.entries(o).forEach(([u, f]) => {
|
|
2164
|
+
(!t || t && !t([...a, u])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, u], Array.isArray(f) ? [...c, u] : c) : r([...a, u], f, c));
|
|
2165
|
+
});
|
|
2166
|
+
}
|
|
2167
|
+
n(e);
|
|
2168
|
+
}, Wn = (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;
|
|
2169
|
+
function sr(e, r) {
|
|
2170
|
+
const {
|
|
2171
|
+
prefix: t,
|
|
2172
|
+
shouldSkipGeneratingVar: n
|
|
2173
|
+
} = r || {}, o = {}, a = {}, c = {};
|
|
2174
|
+
return Ln(
|
|
2175
|
+
e,
|
|
2176
|
+
(u, f, d) => {
|
|
2177
|
+
if ((typeof f == "string" || typeof f == "number") && (!n || !n(u, f))) {
|
|
2178
|
+
const h = `--${t ? `${t}-` : ""}${u.join("-")}`, p = Wn(u, f);
|
|
2179
|
+
Object.assign(o, {
|
|
2180
|
+
[h]: p
|
|
2181
|
+
}), Fr(a, u, `var(${h})`, d), Fr(c, u, `var(${h}, ${p})`, d);
|
|
2182
|
+
}
|
|
2183
|
+
},
|
|
2184
|
+
(u) => u[0] === "vars"
|
|
2185
|
+
// skip 'vars/*' paths
|
|
2186
|
+
), {
|
|
2187
|
+
css: o,
|
|
2188
|
+
vars: a,
|
|
2189
|
+
varsWithDefaults: c
|
|
2190
|
+
};
|
|
2191
|
+
}
|
|
2192
|
+
function Yn(e, r = {}) {
|
|
2193
|
+
const {
|
|
2194
|
+
getSelector: t = x,
|
|
2195
|
+
disableCssColorScheme: n,
|
|
2196
|
+
colorSchemeSelector: o
|
|
2197
|
+
} = r, {
|
|
2198
|
+
colorSchemes: a = {},
|
|
2199
|
+
components: c,
|
|
2200
|
+
defaultColorScheme: u = "light",
|
|
2201
|
+
...f
|
|
2202
|
+
} = e, {
|
|
2203
|
+
vars: d,
|
|
2204
|
+
css: h,
|
|
2205
|
+
varsWithDefaults: p
|
|
2206
|
+
} = sr(f, r);
|
|
2207
|
+
let m = p;
|
|
2208
|
+
const C = {}, {
|
|
2209
|
+
[u]: b,
|
|
2210
|
+
...s
|
|
2211
|
+
} = a;
|
|
2212
|
+
if (Object.entries(s || {}).forEach(([A, T]) => {
|
|
2213
|
+
const {
|
|
2214
|
+
vars: y,
|
|
2215
|
+
css: H,
|
|
2216
|
+
varsWithDefaults: ee
|
|
2217
|
+
} = sr(T, r);
|
|
2218
|
+
m = J(m, ee), C[A] = {
|
|
2219
|
+
css: H,
|
|
2220
|
+
vars: y
|
|
2221
|
+
};
|
|
2222
|
+
}), b) {
|
|
2223
|
+
const {
|
|
2224
|
+
css: A,
|
|
2225
|
+
vars: T,
|
|
2226
|
+
varsWithDefaults: y
|
|
2227
|
+
} = sr(b, r);
|
|
2228
|
+
m = J(m, y), C[u] = {
|
|
2229
|
+
css: A,
|
|
2230
|
+
vars: T
|
|
2231
|
+
};
|
|
2232
|
+
}
|
|
2233
|
+
function x(A, T) {
|
|
2234
|
+
var H, ee;
|
|
2235
|
+
let y = o;
|
|
2236
|
+
if (o === "class" && (y = ".%s"), o === "data" && (y = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (y = `[${o}="%s"]`), A) {
|
|
2237
|
+
if (y === "media")
|
|
2238
|
+
return e.defaultColorScheme === A ? ":root" : {
|
|
2239
|
+
[`@media (prefers-color-scheme: ${((ee = (H = a[A]) == null ? void 0 : H.palette) == null ? void 0 : ee.mode) || A})`]: {
|
|
2240
|
+
":root": T
|
|
2241
|
+
}
|
|
2242
|
+
};
|
|
2243
|
+
if (y)
|
|
2244
|
+
return e.defaultColorScheme === A ? `:root, ${y.replace("%s", String(A))}` : y.replace("%s", String(A));
|
|
2245
|
+
}
|
|
2246
|
+
return ":root";
|
|
2247
|
+
}
|
|
2248
|
+
return {
|
|
2249
|
+
vars: m,
|
|
2250
|
+
generateThemeVars: () => {
|
|
2251
|
+
let A = {
|
|
2252
|
+
...d
|
|
2253
|
+
};
|
|
2254
|
+
return Object.entries(C).forEach(([, {
|
|
2255
|
+
vars: T
|
|
2256
|
+
}]) => {
|
|
2257
|
+
A = J(A, T);
|
|
2258
|
+
}), A;
|
|
2259
|
+
},
|
|
2260
|
+
generateStyleSheets: () => {
|
|
2261
|
+
var se, Q;
|
|
2262
|
+
const A = [], T = e.defaultColorScheme || "light";
|
|
2263
|
+
function y(i, E) {
|
|
2264
|
+
Object.keys(E).length && A.push(typeof i == "string" ? {
|
|
2265
|
+
[i]: {
|
|
2266
|
+
...E
|
|
2267
|
+
}
|
|
2268
|
+
} : i);
|
|
2269
|
+
}
|
|
2270
|
+
y(t(void 0, {
|
|
2271
|
+
...h
|
|
2272
|
+
}), h);
|
|
2273
|
+
const {
|
|
2274
|
+
[T]: H,
|
|
2275
|
+
...ee
|
|
2276
|
+
} = C;
|
|
2277
|
+
if (H) {
|
|
2278
|
+
const {
|
|
2279
|
+
css: i
|
|
2280
|
+
} = H, E = (Q = (se = a[T]) == null ? void 0 : se.palette) == null ? void 0 : Q.mode, N = !n && E ? {
|
|
2281
|
+
colorScheme: E,
|
|
2282
|
+
...i
|
|
2283
|
+
} : {
|
|
2284
|
+
...i
|
|
2285
|
+
};
|
|
2286
|
+
y(t(T, {
|
|
2287
|
+
...N
|
|
2288
|
+
}), N);
|
|
2289
|
+
}
|
|
2290
|
+
return Object.entries(ee).forEach(([i, {
|
|
2291
|
+
css: E
|
|
2292
|
+
}]) => {
|
|
2293
|
+
var ne, fe;
|
|
2294
|
+
const N = (fe = (ne = a[i]) == null ? void 0 : ne.palette) == null ? void 0 : fe.mode, V = !n && N ? {
|
|
2295
|
+
colorScheme: N,
|
|
2296
|
+
...E
|
|
2297
|
+
} : {
|
|
2298
|
+
...E
|
|
2299
|
+
};
|
|
2300
|
+
y(t(i, {
|
|
2301
|
+
...V
|
|
2302
|
+
}), V);
|
|
2303
|
+
}), A;
|
|
2304
|
+
}
|
|
2305
|
+
};
|
|
2306
|
+
}
|
|
2307
|
+
function Un(e) {
|
|
2308
|
+
return function(t) {
|
|
2309
|
+
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)} &` : "&";
|
|
2310
|
+
};
|
|
2311
|
+
}
|
|
2312
|
+
const Oe = {
|
|
2313
|
+
black: "#000",
|
|
2314
|
+
white: "#fff"
|
|
2315
|
+
}, Vn = {
|
|
2316
|
+
50: "#fafafa",
|
|
2317
|
+
100: "#f5f5f5",
|
|
2318
|
+
200: "#eeeeee",
|
|
2319
|
+
300: "#e0e0e0",
|
|
2320
|
+
400: "#bdbdbd",
|
|
2321
|
+
500: "#9e9e9e",
|
|
2322
|
+
600: "#757575",
|
|
2323
|
+
700: "#616161",
|
|
2324
|
+
800: "#424242",
|
|
2325
|
+
900: "#212121",
|
|
2326
|
+
A100: "#f5f5f5",
|
|
2327
|
+
A200: "#eeeeee",
|
|
2328
|
+
A400: "#bdbdbd",
|
|
2329
|
+
A700: "#616161"
|
|
2330
|
+
}, ye = {
|
|
2331
|
+
50: "#f3e5f5",
|
|
2332
|
+
100: "#e1bee7",
|
|
2333
|
+
200: "#ce93d8",
|
|
2334
|
+
300: "#ba68c8",
|
|
2335
|
+
400: "#ab47bc",
|
|
2336
|
+
500: "#9c27b0",
|
|
2337
|
+
600: "#8e24aa",
|
|
2338
|
+
700: "#7b1fa2",
|
|
2339
|
+
800: "#6a1b9a",
|
|
2340
|
+
900: "#4a148c",
|
|
2341
|
+
A100: "#ea80fc",
|
|
2342
|
+
A200: "#e040fb",
|
|
2343
|
+
A400: "#d500f9",
|
|
2344
|
+
A700: "#aa00ff"
|
|
2345
|
+
}, be = {
|
|
2346
|
+
50: "#ffebee",
|
|
2347
|
+
100: "#ffcdd2",
|
|
2348
|
+
200: "#ef9a9a",
|
|
2349
|
+
300: "#e57373",
|
|
2350
|
+
400: "#ef5350",
|
|
2351
|
+
500: "#f44336",
|
|
2352
|
+
600: "#e53935",
|
|
2353
|
+
700: "#d32f2f",
|
|
2354
|
+
800: "#c62828",
|
|
2355
|
+
900: "#b71c1c",
|
|
2356
|
+
A100: "#ff8a80",
|
|
2357
|
+
A200: "#ff5252",
|
|
2358
|
+
A400: "#ff1744",
|
|
2359
|
+
A700: "#d50000"
|
|
2360
|
+
}, xe = {
|
|
2361
|
+
50: "#fff3e0",
|
|
2362
|
+
100: "#ffe0b2",
|
|
2363
|
+
200: "#ffcc80",
|
|
2364
|
+
300: "#ffb74d",
|
|
2365
|
+
400: "#ffa726",
|
|
2366
|
+
500: "#ff9800",
|
|
2367
|
+
600: "#fb8c00",
|
|
2368
|
+
700: "#f57c00",
|
|
2369
|
+
800: "#ef6c00",
|
|
2370
|
+
900: "#e65100",
|
|
2371
|
+
A100: "#ffd180",
|
|
2372
|
+
A200: "#ffab40",
|
|
2373
|
+
A400: "#ff9100",
|
|
2374
|
+
A700: "#ff6d00"
|
|
2375
|
+
}, ve = {
|
|
2376
|
+
50: "#e3f2fd",
|
|
2377
|
+
100: "#bbdefb",
|
|
2378
|
+
200: "#90caf9",
|
|
2379
|
+
300: "#64b5f6",
|
|
2380
|
+
400: "#42a5f5",
|
|
2381
|
+
500: "#2196f3",
|
|
2382
|
+
600: "#1e88e5",
|
|
2383
|
+
700: "#1976d2",
|
|
2384
|
+
800: "#1565c0",
|
|
2385
|
+
900: "#0d47a1",
|
|
2386
|
+
A100: "#82b1ff",
|
|
2387
|
+
A200: "#448aff",
|
|
2388
|
+
A400: "#2979ff",
|
|
2389
|
+
A700: "#2962ff"
|
|
2390
|
+
}, Se = {
|
|
2391
|
+
50: "#e1f5fe",
|
|
2392
|
+
100: "#b3e5fc",
|
|
2393
|
+
200: "#81d4fa",
|
|
2394
|
+
300: "#4fc3f7",
|
|
2395
|
+
400: "#29b6f6",
|
|
2396
|
+
500: "#03a9f4",
|
|
2397
|
+
600: "#039be5",
|
|
2398
|
+
700: "#0288d1",
|
|
2399
|
+
800: "#0277bd",
|
|
2400
|
+
900: "#01579b",
|
|
2401
|
+
A100: "#80d8ff",
|
|
2402
|
+
A200: "#40c4ff",
|
|
2403
|
+
A400: "#00b0ff",
|
|
2404
|
+
A700: "#0091ea"
|
|
2405
|
+
}, Ce = {
|
|
2406
|
+
50: "#e8f5e9",
|
|
2407
|
+
100: "#c8e6c9",
|
|
2408
|
+
200: "#a5d6a7",
|
|
2409
|
+
300: "#81c784",
|
|
2410
|
+
400: "#66bb6a",
|
|
2411
|
+
500: "#4caf50",
|
|
2412
|
+
600: "#43a047",
|
|
2413
|
+
700: "#388e3c",
|
|
2414
|
+
800: "#2e7d32",
|
|
2415
|
+
900: "#1b5e20",
|
|
2416
|
+
A100: "#b9f6ca",
|
|
2417
|
+
A200: "#69f0ae",
|
|
2418
|
+
A400: "#00e676",
|
|
2419
|
+
A700: "#00c853"
|
|
2420
|
+
};
|
|
2421
|
+
function st() {
|
|
2422
|
+
return {
|
|
2423
|
+
// The colors used to style the text.
|
|
2424
|
+
text: {
|
|
2425
|
+
// The most important text.
|
|
2426
|
+
primary: "rgba(0, 0, 0, 0.87)",
|
|
2427
|
+
// Secondary text.
|
|
2428
|
+
secondary: "rgba(0, 0, 0, 0.6)",
|
|
2429
|
+
// Disabled text have even lower visual prominence.
|
|
2430
|
+
disabled: "rgba(0, 0, 0, 0.38)"
|
|
2431
|
+
},
|
|
2432
|
+
// The color used to divide different elements.
|
|
2433
|
+
divider: "rgba(0, 0, 0, 0.12)",
|
|
2434
|
+
// The background colors used to style the surfaces.
|
|
2435
|
+
// Consistency between these values is important.
|
|
2436
|
+
background: {
|
|
2437
|
+
paper: Oe.white,
|
|
2438
|
+
default: Oe.white
|
|
2439
|
+
},
|
|
2440
|
+
// The colors used to style the action elements.
|
|
2441
|
+
action: {
|
|
2442
|
+
// The color of an active action like an icon button.
|
|
2443
|
+
active: "rgba(0, 0, 0, 0.54)",
|
|
2444
|
+
// The color of an hovered action.
|
|
2445
|
+
hover: "rgba(0, 0, 0, 0.04)",
|
|
2446
|
+
hoverOpacity: 0.04,
|
|
2447
|
+
// The color of a selected action.
|
|
2448
|
+
selected: "rgba(0, 0, 0, 0.08)",
|
|
2449
|
+
selectedOpacity: 0.08,
|
|
2450
|
+
// The color of a disabled action.
|
|
2451
|
+
disabled: "rgba(0, 0, 0, 0.26)",
|
|
2452
|
+
// The background color of a disabled action.
|
|
2453
|
+
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
2454
|
+
disabledOpacity: 0.38,
|
|
2455
|
+
focus: "rgba(0, 0, 0, 0.12)",
|
|
2456
|
+
focusOpacity: 0.12,
|
|
2457
|
+
activatedOpacity: 0.12
|
|
2458
|
+
}
|
|
2459
|
+
};
|
|
2460
|
+
}
|
|
2461
|
+
const zn = st();
|
|
2462
|
+
function ct() {
|
|
2463
|
+
return {
|
|
2464
|
+
text: {
|
|
2465
|
+
primary: Oe.white,
|
|
2466
|
+
secondary: "rgba(255, 255, 255, 0.7)",
|
|
2467
|
+
disabled: "rgba(255, 255, 255, 0.5)",
|
|
2468
|
+
icon: "rgba(255, 255, 255, 0.5)"
|
|
2469
|
+
},
|
|
2470
|
+
divider: "rgba(255, 255, 255, 0.12)",
|
|
2471
|
+
background: {
|
|
2472
|
+
paper: "#121212",
|
|
2473
|
+
default: "#121212"
|
|
2474
|
+
},
|
|
2475
|
+
action: {
|
|
2476
|
+
active: Oe.white,
|
|
2477
|
+
hover: "rgba(255, 255, 255, 0.08)",
|
|
2478
|
+
hoverOpacity: 0.08,
|
|
2479
|
+
selected: "rgba(255, 255, 255, 0.16)",
|
|
2480
|
+
selectedOpacity: 0.16,
|
|
2481
|
+
disabled: "rgba(255, 255, 255, 0.3)",
|
|
2482
|
+
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
2483
|
+
disabledOpacity: 0.38,
|
|
2484
|
+
focus: "rgba(255, 255, 255, 0.12)",
|
|
2485
|
+
focusOpacity: 0.12,
|
|
2486
|
+
activatedOpacity: 0.24
|
|
2487
|
+
}
|
|
2488
|
+
};
|
|
2489
|
+
}
|
|
2490
|
+
const Lr = ct();
|
|
2491
|
+
function Wr(e, r, t, n) {
|
|
2492
|
+
const o = n.light || n, a = n.dark || n * 1.5;
|
|
2493
|
+
e[r] || (e.hasOwnProperty(t) ? e[r] = e[t] : r === "light" ? e.light = gr(e.main, o) : r === "dark" && (e.dark = mr(e.main, a)));
|
|
2494
|
+
}
|
|
2495
|
+
function Gn(e = "light") {
|
|
2496
|
+
return e === "dark" ? {
|
|
2497
|
+
main: ve[200],
|
|
2498
|
+
light: ve[50],
|
|
2499
|
+
dark: ve[400]
|
|
2500
|
+
} : {
|
|
2501
|
+
main: ve[700],
|
|
2502
|
+
light: ve[400],
|
|
2503
|
+
dark: ve[800]
|
|
2504
|
+
};
|
|
2505
|
+
}
|
|
2506
|
+
function qn(e = "light") {
|
|
2507
|
+
return e === "dark" ? {
|
|
2508
|
+
main: ye[200],
|
|
2509
|
+
light: ye[50],
|
|
2510
|
+
dark: ye[400]
|
|
2511
|
+
} : {
|
|
2512
|
+
main: ye[500],
|
|
2513
|
+
light: ye[300],
|
|
2514
|
+
dark: ye[700]
|
|
2515
|
+
};
|
|
2516
|
+
}
|
|
2517
|
+
function Kn(e = "light") {
|
|
2518
|
+
return e === "dark" ? {
|
|
2519
|
+
main: be[500],
|
|
2520
|
+
light: be[300],
|
|
2521
|
+
dark: be[700]
|
|
2522
|
+
} : {
|
|
2523
|
+
main: be[700],
|
|
2524
|
+
light: be[400],
|
|
2525
|
+
dark: be[800]
|
|
2526
|
+
};
|
|
2527
|
+
}
|
|
2528
|
+
function Hn(e = "light") {
|
|
2529
|
+
return e === "dark" ? {
|
|
2530
|
+
main: Se[400],
|
|
2531
|
+
light: Se[300],
|
|
2532
|
+
dark: Se[700]
|
|
2533
|
+
} : {
|
|
2534
|
+
main: Se[700],
|
|
2535
|
+
light: Se[500],
|
|
2536
|
+
dark: Se[900]
|
|
2537
|
+
};
|
|
2538
|
+
}
|
|
2539
|
+
function Qn(e = "light") {
|
|
2540
|
+
return e === "dark" ? {
|
|
2541
|
+
main: Ce[400],
|
|
2542
|
+
light: Ce[300],
|
|
2543
|
+
dark: Ce[700]
|
|
2544
|
+
} : {
|
|
2545
|
+
main: Ce[800],
|
|
2546
|
+
light: Ce[500],
|
|
2547
|
+
dark: Ce[900]
|
|
2548
|
+
};
|
|
2549
|
+
}
|
|
2550
|
+
function Xn(e = "light") {
|
|
2551
|
+
return e === "dark" ? {
|
|
2552
|
+
main: xe[400],
|
|
2553
|
+
light: xe[300],
|
|
2554
|
+
dark: xe[700]
|
|
2555
|
+
} : {
|
|
2556
|
+
main: "#ed6c02",
|
|
2557
|
+
// closest to orange[800] that pass 3:1.
|
|
2558
|
+
light: xe[500],
|
|
2559
|
+
dark: xe[900]
|
|
2560
|
+
};
|
|
2561
|
+
}
|
|
2562
|
+
function hr(e) {
|
|
2563
|
+
const {
|
|
2564
|
+
mode: r = "light",
|
|
2565
|
+
contrastThreshold: t = 3,
|
|
2566
|
+
tonalOffset: n = 0.2,
|
|
2567
|
+
...o
|
|
2568
|
+
} = e, a = e.primary || Gn(r), c = e.secondary || qn(r), u = e.error || Kn(r), f = e.info || Hn(r), d = e.success || Qn(r), h = e.warning || Xn(r);
|
|
2569
|
+
function p(s) {
|
|
2570
|
+
const x = jr(s, Lr.text.primary) >= t ? Lr.text.primary : zn.text.primary;
|
|
2571
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2572
|
+
const w = jr(s, x);
|
|
2573
|
+
w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${x} on ${s}`, "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(`
|
|
2574
|
+
`));
|
|
2575
|
+
}
|
|
2576
|
+
return x;
|
|
2577
|
+
}
|
|
2578
|
+
const m = ({
|
|
2579
|
+
color: s,
|
|
2580
|
+
name: x,
|
|
2581
|
+
mainShade: w = 500,
|
|
2582
|
+
lightShade: K = 300,
|
|
2583
|
+
darkShade: A = 700
|
|
2584
|
+
}) => {
|
|
2585
|
+
if (s = {
|
|
2586
|
+
...s
|
|
2587
|
+
}, !s.main && s[w] && (s.main = s[w]), !s.hasOwnProperty("main"))
|
|
2588
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
|
|
2589
|
+
The color object needs to have a \`main\` property or a \`${w}\` property.` : me(11, x ? ` (${x})` : "", w));
|
|
2590
|
+
if (typeof s.main != "string")
|
|
2591
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${x ? ` (${x})` : ""} provided to augmentColor(color) is invalid.
|
|
2592
|
+
\`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
|
|
2593
|
+
|
|
2594
|
+
Did you intend to use one of the following approaches?
|
|
2595
|
+
|
|
2596
|
+
import { green } from "@mui/material/colors";
|
|
2597
|
+
|
|
2598
|
+
const theme1 = createTheme({ palette: {
|
|
2599
|
+
primary: green,
|
|
2600
|
+
} });
|
|
2601
|
+
|
|
2602
|
+
const theme2 = createTheme({ palette: {
|
|
2603
|
+
primary: { main: green[500] },
|
|
2604
|
+
} });` : me(12, x ? ` (${x})` : "", JSON.stringify(s.main)));
|
|
2605
|
+
return Wr(s, "light", K, n), Wr(s, "dark", A, n), s.contrastText || (s.contrastText = p(s.main)), s;
|
|
2606
|
+
};
|
|
2607
|
+
let C;
|
|
2608
|
+
return r === "light" ? C = st() : r === "dark" && (C = ct()), process.env.NODE_ENV !== "production" && (C || console.error(`MUI: The palette mode \`${r}\` is not supported.`)), J({
|
|
2609
|
+
// A collection of common colors.
|
|
2610
|
+
common: {
|
|
2611
|
+
...Oe
|
|
2612
|
+
},
|
|
2613
|
+
// prevent mutable object.
|
|
2614
|
+
// The palette mode, can be light or dark.
|
|
2615
|
+
mode: r,
|
|
2616
|
+
// The colors used to represent primary interface elements for a user.
|
|
2617
|
+
primary: m({
|
|
2618
|
+
color: a,
|
|
2619
|
+
name: "primary"
|
|
2620
|
+
}),
|
|
2621
|
+
// The colors used to represent secondary interface elements for a user.
|
|
2622
|
+
secondary: m({
|
|
2623
|
+
color: c,
|
|
2624
|
+
name: "secondary",
|
|
2625
|
+
mainShade: "A400",
|
|
2626
|
+
lightShade: "A200",
|
|
2627
|
+
darkShade: "A700"
|
|
2628
|
+
}),
|
|
2629
|
+
// The colors used to represent interface elements that the user should be made aware of.
|
|
2630
|
+
error: m({
|
|
2631
|
+
color: u,
|
|
2632
|
+
name: "error"
|
|
2633
|
+
}),
|
|
2634
|
+
// The colors used to represent potentially dangerous actions or important messages.
|
|
2635
|
+
warning: m({
|
|
2636
|
+
color: h,
|
|
2637
|
+
name: "warning"
|
|
2638
|
+
}),
|
|
2639
|
+
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
2640
|
+
info: m({
|
|
2641
|
+
color: f,
|
|
2642
|
+
name: "info"
|
|
2643
|
+
}),
|
|
2644
|
+
// The colors used to indicate the successful completion of an action that user triggered.
|
|
2645
|
+
success: m({
|
|
2646
|
+
color: d,
|
|
2647
|
+
name: "success"
|
|
2648
|
+
}),
|
|
2649
|
+
// The grey colors.
|
|
2650
|
+
grey: Vn,
|
|
2651
|
+
// Used by `getContrastText()` to maximize the contrast between
|
|
2652
|
+
// the background and the text.
|
|
2653
|
+
contrastThreshold: t,
|
|
2654
|
+
// Takes a background color and returns the text color that maximizes the contrast.
|
|
2655
|
+
getContrastText: p,
|
|
2656
|
+
// Generate a rich color object.
|
|
2657
|
+
augmentColor: m,
|
|
2658
|
+
// Used by the functions below to shift a color's luminance by approximately
|
|
2659
|
+
// two indexes within its tonal palette.
|
|
2660
|
+
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
2661
|
+
tonalOffset: n,
|
|
2662
|
+
// The light and dark mode object.
|
|
2663
|
+
...C
|
|
2664
|
+
}, o);
|
|
2665
|
+
}
|
|
2666
|
+
function Jn(e) {
|
|
2667
|
+
const r = {};
|
|
2668
|
+
return Object.entries(e).forEach((n) => {
|
|
2669
|
+
const [o, a] = n;
|
|
2670
|
+
typeof a == "object" && (r[o] = `${a.fontStyle ? `${a.fontStyle} ` : ""}${a.fontVariant ? `${a.fontVariant} ` : ""}${a.fontWeight ? `${a.fontWeight} ` : ""}${a.fontStretch ? `${a.fontStretch} ` : ""}${a.fontSize || ""}${a.lineHeight ? `/${a.lineHeight} ` : ""}${a.fontFamily || ""}`);
|
|
2671
|
+
}), r;
|
|
2672
|
+
}
|
|
2673
|
+
function Zn(e, r) {
|
|
2674
|
+
return {
|
|
2675
|
+
toolbar: {
|
|
2676
|
+
minHeight: 56,
|
|
2677
|
+
[e.up("xs")]: {
|
|
2678
|
+
"@media (orientation: landscape)": {
|
|
2679
|
+
minHeight: 48
|
|
2680
|
+
}
|
|
2681
|
+
},
|
|
2682
|
+
[e.up("sm")]: {
|
|
2683
|
+
minHeight: 64
|
|
2684
|
+
}
|
|
2685
|
+
},
|
|
2686
|
+
...r
|
|
2687
|
+
};
|
|
2688
|
+
}
|
|
2689
|
+
function eo(e) {
|
|
2690
|
+
return Math.round(e * 1e5) / 1e5;
|
|
2691
|
+
}
|
|
2692
|
+
const Yr = {
|
|
2693
|
+
textTransform: "uppercase"
|
|
2694
|
+
}, Ur = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2695
|
+
function ro(e, r) {
|
|
2696
|
+
const {
|
|
2697
|
+
fontFamily: t = Ur,
|
|
2698
|
+
// The default font size of the Material Specification.
|
|
2699
|
+
fontSize: n = 14,
|
|
2700
|
+
// px
|
|
2701
|
+
fontWeightLight: o = 300,
|
|
2702
|
+
fontWeightRegular: a = 400,
|
|
2703
|
+
fontWeightMedium: c = 500,
|
|
2704
|
+
fontWeightBold: u = 700,
|
|
2705
|
+
// Tell MUI what's the font-size on the html element.
|
|
2706
|
+
// 16px is the default font-size used by browsers.
|
|
2707
|
+
htmlFontSize: f = 16,
|
|
2708
|
+
// Apply the CSS properties to all the variants.
|
|
2709
|
+
allVariants: d,
|
|
2710
|
+
pxToRem: h,
|
|
2711
|
+
...p
|
|
2712
|
+
} = typeof r == "function" ? r(e) : r;
|
|
2713
|
+
process.env.NODE_ENV !== "production" && (typeof n != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
2714
|
+
const m = n / 14, C = h || ((x) => `${x / f * m}rem`), b = (x, w, K, A, T) => ({
|
|
2715
|
+
fontFamily: t,
|
|
2716
|
+
fontWeight: x,
|
|
2717
|
+
fontSize: C(w),
|
|
2718
|
+
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2719
|
+
lineHeight: K,
|
|
2720
|
+
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2721
|
+
// across font-families can cause issues with the kerning.
|
|
2722
|
+
...t === Ur ? {
|
|
2723
|
+
letterSpacing: `${eo(A / w)}em`
|
|
2724
|
+
} : {},
|
|
2725
|
+
...T,
|
|
2726
|
+
...d
|
|
2727
|
+
}), s = {
|
|
2728
|
+
h1: b(o, 96, 1.167, -1.5),
|
|
2729
|
+
h2: b(o, 60, 1.2, -0.5),
|
|
2730
|
+
h3: b(a, 48, 1.167, 0),
|
|
2731
|
+
h4: b(a, 34, 1.235, 0.25),
|
|
2732
|
+
h5: b(a, 24, 1.334, 0),
|
|
2733
|
+
h6: b(c, 20, 1.6, 0.15),
|
|
2734
|
+
subtitle1: b(a, 16, 1.75, 0.15),
|
|
2735
|
+
subtitle2: b(c, 14, 1.57, 0.1),
|
|
2736
|
+
body1: b(a, 16, 1.5, 0.15),
|
|
2737
|
+
body2: b(a, 14, 1.43, 0.15),
|
|
2738
|
+
button: b(c, 14, 1.75, 0.4, Yr),
|
|
2739
|
+
caption: b(a, 12, 1.66, 0.4),
|
|
2740
|
+
overline: b(a, 12, 2.66, 1, Yr),
|
|
2741
|
+
// 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.
|
|
2742
|
+
inherit: {
|
|
2743
|
+
fontFamily: "inherit",
|
|
2744
|
+
fontWeight: "inherit",
|
|
2745
|
+
fontSize: "inherit",
|
|
2746
|
+
lineHeight: "inherit",
|
|
2747
|
+
letterSpacing: "inherit"
|
|
2748
|
+
}
|
|
2749
|
+
};
|
|
2750
|
+
return J({
|
|
2751
|
+
htmlFontSize: f,
|
|
2752
|
+
pxToRem: C,
|
|
2753
|
+
fontFamily: t,
|
|
2754
|
+
fontSize: n,
|
|
2755
|
+
fontWeightLight: o,
|
|
2756
|
+
fontWeightRegular: a,
|
|
2757
|
+
fontWeightMedium: c,
|
|
2758
|
+
fontWeightBold: u,
|
|
2759
|
+
...s
|
|
2760
|
+
}, p, {
|
|
2761
|
+
clone: !1
|
|
2762
|
+
// No need to clone deep
|
|
2763
|
+
});
|
|
2764
|
+
}
|
|
2765
|
+
const to = 0.2, no = 0.14, oo = 0.12;
|
|
2766
|
+
function U(...e) {
|
|
2767
|
+
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${to})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${no})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${oo})`].join(",");
|
|
2768
|
+
}
|
|
2769
|
+
const io = ["none", U(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), U(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), U(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), U(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), U(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), U(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), U(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), U(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), U(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), U(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), U(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), U(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), U(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), U(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), U(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), U(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), U(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), U(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), U(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), U(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), U(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), U(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), U(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), U(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], ao = {
|
|
2770
|
+
// This is the most common easing curve.
|
|
2771
|
+
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2772
|
+
// Objects enter the screen at full velocity from off-screen and
|
|
2773
|
+
// slowly decelerate to a resting point.
|
|
2774
|
+
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
2775
|
+
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
2776
|
+
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2777
|
+
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2778
|
+
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2779
|
+
}, so = {
|
|
2780
|
+
shortest: 150,
|
|
2781
|
+
shorter: 200,
|
|
2782
|
+
short: 250,
|
|
2783
|
+
// most basic recommended timing
|
|
2784
|
+
standard: 300,
|
|
2785
|
+
// this is to be used in complex animations
|
|
2786
|
+
complex: 375,
|
|
2787
|
+
// recommended when something is entering screen
|
|
2788
|
+
enteringScreen: 225,
|
|
2789
|
+
// recommended when something is leaving screen
|
|
2790
|
+
leavingScreen: 195
|
|
2791
|
+
};
|
|
2792
|
+
function Vr(e) {
|
|
2793
|
+
return `${Math.round(e)}ms`;
|
|
2794
|
+
}
|
|
2795
|
+
function co(e) {
|
|
2796
|
+
if (!e)
|
|
2797
|
+
return 0;
|
|
2798
|
+
const r = e / 36;
|
|
2799
|
+
return Math.min(Math.round((4 + 15 * r ** 0.25 + r / 5) * 10), 3e3);
|
|
2800
|
+
}
|
|
2801
|
+
function uo(e) {
|
|
2802
|
+
const r = {
|
|
2803
|
+
...ao,
|
|
2804
|
+
...e.easing
|
|
2805
|
+
}, t = {
|
|
2806
|
+
...so,
|
|
2807
|
+
...e.duration
|
|
2808
|
+
};
|
|
2809
|
+
return {
|
|
2810
|
+
getAutoHeightDuration: co,
|
|
2811
|
+
create: (o = ["all"], a = {}) => {
|
|
2812
|
+
const {
|
|
2813
|
+
duration: c = t.standard,
|
|
2814
|
+
easing: u = r.easeInOut,
|
|
2815
|
+
delay: f = 0,
|
|
2816
|
+
...d
|
|
2817
|
+
} = a;
|
|
2818
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2819
|
+
const h = (m) => typeof m == "string", p = (m) => !Number.isNaN(parseFloat(m));
|
|
2820
|
+
!h(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !p(c) && !h(c) && console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`), h(u) || console.error('MUI: Argument "easing" must be a string.'), !p(f) && !h(f) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "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(`
|
|
2821
|
+
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
2822
|
+
}
|
|
2823
|
+
return (Array.isArray(o) ? o : [o]).map((h) => `${h} ${typeof c == "string" ? c : Vr(c)} ${u} ${typeof f == "string" ? f : Vr(f)}`).join(",");
|
|
2824
|
+
},
|
|
2825
|
+
...e,
|
|
2826
|
+
easing: r,
|
|
2827
|
+
duration: t
|
|
2828
|
+
};
|
|
2829
|
+
}
|
|
2830
|
+
const lo = {
|
|
2831
|
+
mobileStepper: 1e3,
|
|
2832
|
+
fab: 1050,
|
|
2833
|
+
speedDial: 1050,
|
|
2834
|
+
appBar: 1100,
|
|
2835
|
+
drawer: 1200,
|
|
2836
|
+
modal: 1300,
|
|
2837
|
+
snackbar: 1400,
|
|
2838
|
+
tooltip: 1500
|
|
2839
|
+
};
|
|
2840
|
+
function fo(e) {
|
|
2841
|
+
return de(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
2842
|
+
}
|
|
2843
|
+
function ut(e = {}) {
|
|
2844
|
+
const r = {
|
|
2845
|
+
...e
|
|
2846
|
+
};
|
|
2847
|
+
function t(n) {
|
|
2848
|
+
const o = Object.entries(n);
|
|
2849
|
+
for (let a = 0; a < o.length; a++) {
|
|
2850
|
+
const [c, u] = o[a];
|
|
2851
|
+
!fo(u) || c.startsWith("unstable_") ? delete n[c] : de(u) && (n[c] = {
|
|
2852
|
+
...u
|
|
2853
|
+
}, t(n[c]));
|
|
2854
|
+
}
|
|
2855
|
+
}
|
|
2856
|
+
return t(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
2857
|
+
|
|
2858
|
+
const theme = ${JSON.stringify(r, null, 2)};
|
|
2859
|
+
|
|
2860
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
2861
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
2862
|
+
|
|
2863
|
+
export default theme;`;
|
|
2864
|
+
}
|
|
2865
|
+
function Le(e = {}, ...r) {
|
|
2866
|
+
const {
|
|
2867
|
+
breakpoints: t,
|
|
2868
|
+
mixins: n = {},
|
|
2869
|
+
spacing: o,
|
|
2870
|
+
palette: a = {},
|
|
2871
|
+
transitions: c = {},
|
|
2872
|
+
typography: u = {},
|
|
2873
|
+
shape: f,
|
|
2874
|
+
...d
|
|
2875
|
+
} = e;
|
|
2876
|
+
if (e.vars)
|
|
2877
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : me(20));
|
|
2878
|
+
const h = hr(a), p = _n(e);
|
|
2879
|
+
let m = J(p, {
|
|
2880
|
+
mixins: Zn(p.breakpoints, n),
|
|
2881
|
+
palette: h,
|
|
2882
|
+
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2883
|
+
shadows: io.slice(),
|
|
2884
|
+
typography: ro(h, u),
|
|
2885
|
+
transitions: uo(c),
|
|
2886
|
+
zIndex: {
|
|
2887
|
+
...lo
|
|
2888
|
+
}
|
|
2889
|
+
});
|
|
2890
|
+
if (m = J(m, d), m = r.reduce((C, b) => J(C, b), m), process.env.NODE_ENV !== "production") {
|
|
2891
|
+
const C = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], b = (s, x) => {
|
|
2892
|
+
let w;
|
|
2893
|
+
for (w in s) {
|
|
2894
|
+
const K = s[w];
|
|
2895
|
+
if (C.includes(w) && Object.keys(K).length > 0) {
|
|
2896
|
+
if (process.env.NODE_ENV !== "production") {
|
|
2897
|
+
const A = it("", w);
|
|
2898
|
+
console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${w}\` internal state.`, "You can not override it like this: ", JSON.stringify(s, null, 2), "", `Instead, you need to use the '&.${A}' syntax:`, JSON.stringify({
|
|
2899
|
+
root: {
|
|
2900
|
+
[`&.${A}`]: K
|
|
2901
|
+
}
|
|
2902
|
+
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2903
|
+
`));
|
|
2904
|
+
}
|
|
2905
|
+
s[w] = {};
|
|
2906
|
+
}
|
|
2907
|
+
}
|
|
2908
|
+
};
|
|
2909
|
+
Object.keys(m.components).forEach((s) => {
|
|
2910
|
+
const x = m.components[s].styleOverrides;
|
|
2911
|
+
x && s.startsWith("Mui") && b(x, s);
|
|
2912
|
+
});
|
|
2913
|
+
}
|
|
2914
|
+
return m.unstable_sxConfig = {
|
|
2915
|
+
...Qe,
|
|
2916
|
+
...d == null ? void 0 : d.unstable_sxConfig
|
|
2917
|
+
}, m.unstable_sx = function(b) {
|
|
2918
|
+
return Xe({
|
|
2919
|
+
sx: b,
|
|
2920
|
+
theme: this
|
|
2921
|
+
});
|
|
2922
|
+
}, m.toRuntimeSource = ut, m;
|
|
2923
|
+
}
|
|
2924
|
+
let zr = !1;
|
|
2925
|
+
function Io(...e) {
|
|
2926
|
+
return process.env.NODE_ENV !== "production" && (zr || (zr = !0, console.error(["MUI: the createMuiTheme function was renamed to createTheme.", "", "You should use `import { createTheme } from '@mui/material/styles'`"].join(`
|
|
2927
|
+
`)))), Le(...e);
|
|
2928
|
+
}
|
|
2929
|
+
function po(e) {
|
|
2930
|
+
let r;
|
|
2931
|
+
return e < 1 ? r = 5.11916 * e ** 2 : r = 4.5 * Math.log(e + 1) + 2, Math.round(r * 10) / 1e3;
|
|
2932
|
+
}
|
|
2933
|
+
const mo = [...Array(25)].map((e, r) => {
|
|
2934
|
+
if (r === 0)
|
|
2935
|
+
return "none";
|
|
2936
|
+
const t = po(r);
|
|
2937
|
+
return `linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`;
|
|
2938
|
+
});
|
|
2939
|
+
function lt(e) {
|
|
2940
|
+
return {
|
|
2941
|
+
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2942
|
+
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
2943
|
+
switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
|
|
2944
|
+
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2945
|
+
};
|
|
2946
|
+
}
|
|
2947
|
+
function ft(e) {
|
|
2948
|
+
return e === "dark" ? mo : [];
|
|
2949
|
+
}
|
|
2950
|
+
function go(e) {
|
|
2951
|
+
const {
|
|
2952
|
+
palette: r = {
|
|
2953
|
+
mode: "light"
|
|
2954
|
+
},
|
|
2955
|
+
// need to cast to avoid module augmentation test
|
|
2956
|
+
opacity: t,
|
|
2957
|
+
overlays: n,
|
|
2958
|
+
...o
|
|
2959
|
+
} = e, a = hr(r);
|
|
2960
|
+
return {
|
|
2961
|
+
palette: a,
|
|
2962
|
+
opacity: {
|
|
2963
|
+
...lt(a.mode),
|
|
2964
|
+
...t
|
|
2965
|
+
},
|
|
2966
|
+
overlays: n || ft(a.mode),
|
|
2967
|
+
...o
|
|
2968
|
+
};
|
|
2969
|
+
}
|
|
2970
|
+
function ho(e) {
|
|
2971
|
+
var r;
|
|
2972
|
+
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2973
|
+
e[0] === "palette" && !!((r = e[1]) != null && r.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2974
|
+
}
|
|
2975
|
+
const yo = (e) => [...[...Array(25)].map((r, t) => `--${e ? `${e}-` : ""}overlays-${t}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], bo = (e) => (r, t) => {
|
|
2976
|
+
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2977
|
+
let a = o;
|
|
2978
|
+
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === r) {
|
|
2979
|
+
if (r === "dark") {
|
|
2980
|
+
const c = {};
|
|
2981
|
+
return yo(e.cssVarPrefix).forEach((u) => {
|
|
2982
|
+
c[u] = t[u], delete t[u];
|
|
2983
|
+
}), a === "media" ? {
|
|
2984
|
+
[n]: t,
|
|
2985
|
+
"@media (prefers-color-scheme: dark)": {
|
|
2986
|
+
[n]: c
|
|
2987
|
+
}
|
|
2988
|
+
} : a ? {
|
|
2989
|
+
[a.replace("%s", r)]: c,
|
|
2990
|
+
[`${n}, ${a.replace("%s", r)}`]: t
|
|
2991
|
+
} : {
|
|
2992
|
+
[n]: {
|
|
2993
|
+
...t,
|
|
2994
|
+
...c
|
|
2995
|
+
}
|
|
2996
|
+
};
|
|
2997
|
+
}
|
|
2998
|
+
if (a && a !== "media")
|
|
2999
|
+
return `${n}, ${a.replace("%s", String(r))}`;
|
|
3000
|
+
} else if (r) {
|
|
3001
|
+
if (a === "media")
|
|
3002
|
+
return {
|
|
3003
|
+
[`@media (prefers-color-scheme: ${String(r)})`]: {
|
|
3004
|
+
[n]: t
|
|
3005
|
+
}
|
|
3006
|
+
};
|
|
3007
|
+
if (a)
|
|
3008
|
+
return a.replace("%s", String(r));
|
|
3009
|
+
}
|
|
3010
|
+
return n;
|
|
3011
|
+
};
|
|
3012
|
+
function vo(e, r) {
|
|
3013
|
+
r.forEach((t) => {
|
|
3014
|
+
e[t] || (e[t] = {});
|
|
3015
|
+
});
|
|
3016
|
+
}
|
|
3017
|
+
function l(e, r, t) {
|
|
3018
|
+
!e[r] && t && (e[r] = t);
|
|
3019
|
+
}
|
|
3020
|
+
function $e(e) {
|
|
3021
|
+
return typeof e != "string" || !e.startsWith("hsl") ? e : at(e);
|
|
3022
|
+
}
|
|
3023
|
+
function ce(e, r) {
|
|
3024
|
+
`${r}Channel` in e || (e[`${r}Channel`] = Ae($e(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().
|
|
3025
|
+
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.`));
|
|
3026
|
+
}
|
|
3027
|
+
function So(e) {
|
|
3028
|
+
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
3029
|
+
}
|
|
3030
|
+
const ae = (e) => {
|
|
3031
|
+
try {
|
|
3032
|
+
return e();
|
|
3033
|
+
} catch {
|
|
3034
|
+
}
|
|
3035
|
+
}, Co = (e = "mui") => Fn(e);
|
|
3036
|
+
function cr(e, r, t, n) {
|
|
3037
|
+
if (!r)
|
|
3038
|
+
return;
|
|
3039
|
+
r = r === !0 ? {} : r;
|
|
3040
|
+
const o = n === "dark" ? "dark" : "light";
|
|
3041
|
+
if (!t) {
|
|
3042
|
+
e[n] = go({
|
|
3043
|
+
...r,
|
|
3044
|
+
palette: {
|
|
3045
|
+
mode: o,
|
|
3046
|
+
...r == null ? void 0 : r.palette
|
|
3047
|
+
}
|
|
3048
|
+
});
|
|
3049
|
+
return;
|
|
3050
|
+
}
|
|
3051
|
+
const {
|
|
3052
|
+
palette: a,
|
|
3053
|
+
...c
|
|
3054
|
+
} = Le({
|
|
3055
|
+
...t,
|
|
3056
|
+
palette: {
|
|
3057
|
+
mode: o,
|
|
3058
|
+
...r == null ? void 0 : r.palette
|
|
3059
|
+
}
|
|
3060
|
+
});
|
|
3061
|
+
return e[n] = {
|
|
3062
|
+
...r,
|
|
3063
|
+
palette: a,
|
|
3064
|
+
opacity: {
|
|
3065
|
+
...lt(o),
|
|
3066
|
+
...r == null ? void 0 : r.opacity
|
|
3067
|
+
},
|
|
3068
|
+
overlays: (r == null ? void 0 : r.overlays) || ft(o)
|
|
3069
|
+
}, c;
|
|
3070
|
+
}
|
|
3071
|
+
function Eo(e = {}, ...r) {
|
|
3072
|
+
const {
|
|
3073
|
+
colorSchemes: t = {
|
|
3074
|
+
light: !0
|
|
3075
|
+
},
|
|
3076
|
+
defaultColorScheme: n,
|
|
3077
|
+
disableCssColorScheme: o = !1,
|
|
3078
|
+
cssVarPrefix: a = "mui",
|
|
3079
|
+
shouldSkipGeneratingVar: c = ho,
|
|
3080
|
+
colorSchemeSelector: u = t.light && t.dark ? "media" : void 0,
|
|
3081
|
+
rootSelector: f = ":root",
|
|
3082
|
+
...d
|
|
3083
|
+
} = e, h = Object.keys(t)[0], p = n || (t.light && h !== "light" ? "light" : h), m = Co(a), {
|
|
3084
|
+
[p]: C,
|
|
3085
|
+
light: b,
|
|
3086
|
+
dark: s,
|
|
3087
|
+
...x
|
|
3088
|
+
} = t, w = {
|
|
3089
|
+
...x
|
|
3090
|
+
};
|
|
3091
|
+
let K = C;
|
|
3092
|
+
if ((p === "dark" && !("dark" in t) || p === "light" && !("light" in t)) && (K = !0), !K)
|
|
3093
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${p}\` option is either missing or invalid.` : me(21, p));
|
|
3094
|
+
const A = cr(w, K, d, p);
|
|
3095
|
+
b && !w.light && cr(w, b, void 0, "light"), s && !w.dark && cr(w, s, void 0, "dark");
|
|
3096
|
+
let T = {
|
|
3097
|
+
defaultColorScheme: p,
|
|
3098
|
+
...A,
|
|
3099
|
+
cssVarPrefix: a,
|
|
3100
|
+
colorSchemeSelector: u,
|
|
3101
|
+
rootSelector: f,
|
|
3102
|
+
getCssVar: m,
|
|
3103
|
+
colorSchemes: w,
|
|
3104
|
+
font: {
|
|
3105
|
+
...Jn(A.typography),
|
|
3106
|
+
...A.font
|
|
3107
|
+
},
|
|
3108
|
+
spacing: So(d.spacing)
|
|
3109
|
+
};
|
|
3110
|
+
Object.keys(T.colorSchemes).forEach((Q) => {
|
|
3111
|
+
const i = T.colorSchemes[Q].palette, E = (N) => {
|
|
3112
|
+
const V = N.split("-"), ne = V[1], fe = V[2];
|
|
3113
|
+
return m(N, i[ne][fe]);
|
|
3114
|
+
};
|
|
3115
|
+
if (i.mode === "light" && (l(i.common, "background", "#fff"), l(i.common, "onBackground", "#000")), i.mode === "dark" && (l(i.common, "background", "#000"), l(i.common, "onBackground", "#fff")), vo(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
3116
|
+
l(i.Alert, "errorColor", W(i.error.light, 0.6)), l(i.Alert, "infoColor", W(i.info.light, 0.6)), l(i.Alert, "successColor", W(i.success.light, 0.6)), l(i.Alert, "warningColor", W(i.warning.light, 0.6)), l(i.Alert, "errorFilledBg", E("palette-error-main")), l(i.Alert, "infoFilledBg", E("palette-info-main")), l(i.Alert, "successFilledBg", E("palette-success-main")), l(i.Alert, "warningFilledBg", E("palette-warning-main")), l(i.Alert, "errorFilledColor", ae(() => i.getContrastText(i.error.main))), l(i.Alert, "infoFilledColor", ae(() => i.getContrastText(i.info.main))), l(i.Alert, "successFilledColor", ae(() => i.getContrastText(i.success.main))), l(i.Alert, "warningFilledColor", ae(() => i.getContrastText(i.warning.main))), l(i.Alert, "errorStandardBg", Y(i.error.light, 0.9)), l(i.Alert, "infoStandardBg", Y(i.info.light, 0.9)), l(i.Alert, "successStandardBg", Y(i.success.light, 0.9)), l(i.Alert, "warningStandardBg", Y(i.warning.light, 0.9)), l(i.Alert, "errorIconColor", E("palette-error-main")), l(i.Alert, "infoIconColor", E("palette-info-main")), l(i.Alert, "successIconColor", E("palette-success-main")), l(i.Alert, "warningIconColor", E("palette-warning-main")), l(i.AppBar, "defaultBg", E("palette-grey-100")), l(i.Avatar, "defaultBg", E("palette-grey-400")), l(i.Button, "inheritContainedBg", E("palette-grey-300")), l(i.Button, "inheritContainedHoverBg", E("palette-grey-A100")), l(i.Chip, "defaultBorder", E("palette-grey-400")), l(i.Chip, "defaultAvatarColor", E("palette-grey-700")), l(i.Chip, "defaultIconColor", E("palette-grey-700")), l(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), l(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), l(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), l(i.LinearProgress, "primaryBg", Y(i.primary.main, 0.62)), l(i.LinearProgress, "secondaryBg", Y(i.secondary.main, 0.62)), l(i.LinearProgress, "errorBg", Y(i.error.main, 0.62)), l(i.LinearProgress, "infoBg", Y(i.info.main, 0.62)), l(i.LinearProgress, "successBg", Y(i.success.main, 0.62)), l(i.LinearProgress, "warningBg", Y(i.warning.main, 0.62)), l(i.Skeleton, "bg", `rgba(${E("palette-text-primaryChannel")} / 0.11)`), l(i.Slider, "primaryTrack", Y(i.primary.main, 0.62)), l(i.Slider, "secondaryTrack", Y(i.secondary.main, 0.62)), l(i.Slider, "errorTrack", Y(i.error.main, 0.62)), l(i.Slider, "infoTrack", Y(i.info.main, 0.62)), l(i.Slider, "successTrack", Y(i.success.main, 0.62)), l(i.Slider, "warningTrack", Y(i.warning.main, 0.62));
|
|
3117
|
+
const N = De(i.background.default, 0.8);
|
|
3118
|
+
l(i.SnackbarContent, "bg", N), l(i.SnackbarContent, "color", ae(() => i.getContrastText(N))), l(i.SpeedDialAction, "fabHoverBg", De(i.background.paper, 0.15)), l(i.StepConnector, "border", E("palette-grey-400")), l(i.StepContent, "border", E("palette-grey-400")), l(i.Switch, "defaultColor", E("palette-common-white")), l(i.Switch, "defaultDisabledColor", E("palette-grey-100")), l(i.Switch, "primaryDisabledColor", Y(i.primary.main, 0.62)), l(i.Switch, "secondaryDisabledColor", Y(i.secondary.main, 0.62)), l(i.Switch, "errorDisabledColor", Y(i.error.main, 0.62)), l(i.Switch, "infoDisabledColor", Y(i.info.main, 0.62)), l(i.Switch, "successDisabledColor", Y(i.success.main, 0.62)), l(i.Switch, "warningDisabledColor", Y(i.warning.main, 0.62)), l(i.TableCell, "border", Y(Be(i.divider, 1), 0.88)), l(i.Tooltip, "bg", Be(i.grey[700], 0.92));
|
|
3119
|
+
}
|
|
3120
|
+
if (i.mode === "dark") {
|
|
3121
|
+
l(i.Alert, "errorColor", Y(i.error.light, 0.6)), l(i.Alert, "infoColor", Y(i.info.light, 0.6)), l(i.Alert, "successColor", Y(i.success.light, 0.6)), l(i.Alert, "warningColor", Y(i.warning.light, 0.6)), l(i.Alert, "errorFilledBg", E("palette-error-dark")), l(i.Alert, "infoFilledBg", E("palette-info-dark")), l(i.Alert, "successFilledBg", E("palette-success-dark")), l(i.Alert, "warningFilledBg", E("palette-warning-dark")), l(i.Alert, "errorFilledColor", ae(() => i.getContrastText(i.error.dark))), l(i.Alert, "infoFilledColor", ae(() => i.getContrastText(i.info.dark))), l(i.Alert, "successFilledColor", ae(() => i.getContrastText(i.success.dark))), l(i.Alert, "warningFilledColor", ae(() => i.getContrastText(i.warning.dark))), l(i.Alert, "errorStandardBg", W(i.error.light, 0.9)), l(i.Alert, "infoStandardBg", W(i.info.light, 0.9)), l(i.Alert, "successStandardBg", W(i.success.light, 0.9)), l(i.Alert, "warningStandardBg", W(i.warning.light, 0.9)), l(i.Alert, "errorIconColor", E("palette-error-main")), l(i.Alert, "infoIconColor", E("palette-info-main")), l(i.Alert, "successIconColor", E("palette-success-main")), l(i.Alert, "warningIconColor", E("palette-warning-main")), l(i.AppBar, "defaultBg", E("palette-grey-900")), l(i.AppBar, "darkBg", E("palette-background-paper")), l(i.AppBar, "darkColor", E("palette-text-primary")), l(i.Avatar, "defaultBg", E("palette-grey-600")), l(i.Button, "inheritContainedBg", E("palette-grey-800")), l(i.Button, "inheritContainedHoverBg", E("palette-grey-700")), l(i.Chip, "defaultBorder", E("palette-grey-700")), l(i.Chip, "defaultAvatarColor", E("palette-grey-300")), l(i.Chip, "defaultIconColor", E("palette-grey-300")), l(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), l(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), l(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), l(i.LinearProgress, "primaryBg", W(i.primary.main, 0.5)), l(i.LinearProgress, "secondaryBg", W(i.secondary.main, 0.5)), l(i.LinearProgress, "errorBg", W(i.error.main, 0.5)), l(i.LinearProgress, "infoBg", W(i.info.main, 0.5)), l(i.LinearProgress, "successBg", W(i.success.main, 0.5)), l(i.LinearProgress, "warningBg", W(i.warning.main, 0.5)), l(i.Skeleton, "bg", `rgba(${E("palette-text-primaryChannel")} / 0.13)`), l(i.Slider, "primaryTrack", W(i.primary.main, 0.5)), l(i.Slider, "secondaryTrack", W(i.secondary.main, 0.5)), l(i.Slider, "errorTrack", W(i.error.main, 0.5)), l(i.Slider, "infoTrack", W(i.info.main, 0.5)), l(i.Slider, "successTrack", W(i.success.main, 0.5)), l(i.Slider, "warningTrack", W(i.warning.main, 0.5));
|
|
3122
|
+
const N = De(i.background.default, 0.98);
|
|
3123
|
+
l(i.SnackbarContent, "bg", N), l(i.SnackbarContent, "color", ae(() => i.getContrastText(N))), l(i.SpeedDialAction, "fabHoverBg", De(i.background.paper, 0.15)), l(i.StepConnector, "border", E("palette-grey-600")), l(i.StepContent, "border", E("palette-grey-600")), l(i.Switch, "defaultColor", E("palette-grey-300")), l(i.Switch, "defaultDisabledColor", E("palette-grey-600")), l(i.Switch, "primaryDisabledColor", W(i.primary.main, 0.55)), l(i.Switch, "secondaryDisabledColor", W(i.secondary.main, 0.55)), l(i.Switch, "errorDisabledColor", W(i.error.main, 0.55)), l(i.Switch, "infoDisabledColor", W(i.info.main, 0.55)), l(i.Switch, "successDisabledColor", W(i.success.main, 0.55)), l(i.Switch, "warningDisabledColor", W(i.warning.main, 0.55)), l(i.TableCell, "border", W(Be(i.divider, 1), 0.68)), l(i.Tooltip, "bg", Be(i.grey[700], 0.92));
|
|
3124
|
+
}
|
|
3125
|
+
ce(i.background, "default"), ce(i.background, "paper"), ce(i.common, "background"), ce(i.common, "onBackground"), ce(i, "divider"), Object.keys(i).forEach((N) => {
|
|
3126
|
+
const V = i[N];
|
|
3127
|
+
N !== "tonalOffset" && V && typeof V == "object" && (V.main && l(i[N], "mainChannel", Ae($e(V.main))), V.light && l(i[N], "lightChannel", Ae($e(V.light))), V.dark && l(i[N], "darkChannel", Ae($e(V.dark))), V.contrastText && l(i[N], "contrastTextChannel", Ae($e(V.contrastText))), N === "text" && (ce(i[N], "primary"), ce(i[N], "secondary")), N === "action" && (V.active && ce(i[N], "active"), V.selected && ce(i[N], "selected")));
|
|
3128
|
+
});
|
|
3129
|
+
}), T = r.reduce((Q, i) => J(Q, i), T);
|
|
3130
|
+
const y = {
|
|
3131
|
+
prefix: a,
|
|
3132
|
+
disableCssColorScheme: o,
|
|
3133
|
+
shouldSkipGeneratingVar: c,
|
|
3134
|
+
getSelector: bo(T)
|
|
3135
|
+
}, {
|
|
3136
|
+
vars: H,
|
|
3137
|
+
generateThemeVars: ee,
|
|
3138
|
+
generateStyleSheets: se
|
|
3139
|
+
} = Yn(T, y);
|
|
3140
|
+
return T.vars = H, Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([Q, i]) => {
|
|
3141
|
+
T[Q] = i;
|
|
3142
|
+
}), T.generateThemeVars = ee, T.generateStyleSheets = se, T.generateSpacing = function() {
|
|
3143
|
+
return ot(d.spacing, fr(this));
|
|
3144
|
+
}, T.getColorSchemeSelector = Un(u), T.spacing = T.generateSpacing(), T.shouldSkipGeneratingVar = c, T.unstable_sxConfig = {
|
|
3145
|
+
...Qe,
|
|
3146
|
+
...d == null ? void 0 : d.unstable_sxConfig
|
|
3147
|
+
}, T.unstable_sx = function(i) {
|
|
3148
|
+
return Xe({
|
|
3149
|
+
sx: i,
|
|
3150
|
+
theme: this
|
|
3151
|
+
});
|
|
3152
|
+
}, T.toRuntimeSource = ut, T;
|
|
3153
|
+
}
|
|
3154
|
+
function Gr(e, r, t) {
|
|
3155
|
+
e.colorSchemes && t && (e.colorSchemes[r] = {
|
|
3156
|
+
...t !== !0 && t,
|
|
3157
|
+
palette: hr({
|
|
3158
|
+
...t === !0 ? {} : t.palette,
|
|
3159
|
+
mode: r
|
|
3160
|
+
})
|
|
3161
|
+
// cast type to skip module augmentation test
|
|
3162
|
+
});
|
|
3163
|
+
}
|
|
3164
|
+
function Mo(e = {}, ...r) {
|
|
3165
|
+
const {
|
|
3166
|
+
palette: t,
|
|
3167
|
+
cssVariables: n = !1,
|
|
3168
|
+
colorSchemes: o = t ? void 0 : {
|
|
3169
|
+
light: !0
|
|
3170
|
+
},
|
|
3171
|
+
defaultColorScheme: a = t == null ? void 0 : t.mode,
|
|
3172
|
+
...c
|
|
3173
|
+
} = e, u = a || "light", f = o == null ? void 0 : o[u], d = {
|
|
3174
|
+
...o,
|
|
3175
|
+
...t ? {
|
|
3176
|
+
[u]: {
|
|
3177
|
+
...typeof f != "boolean" && f,
|
|
3178
|
+
palette: t
|
|
3179
|
+
}
|
|
3180
|
+
} : void 0
|
|
3181
|
+
};
|
|
3182
|
+
if (n === !1) {
|
|
3183
|
+
if (!("colorSchemes" in e))
|
|
3184
|
+
return Le(e, ...r);
|
|
3185
|
+
let h = t;
|
|
3186
|
+
"palette" in e || d[u] && (d[u] !== !0 ? h = d[u].palette : u === "dark" && (h = {
|
|
3187
|
+
mode: "dark"
|
|
3188
|
+
}));
|
|
3189
|
+
const p = Le({
|
|
3190
|
+
...e,
|
|
3191
|
+
palette: h
|
|
3192
|
+
}, ...r);
|
|
3193
|
+
return p.defaultColorScheme = u, p.colorSchemes = d, p.palette.mode === "light" && (p.colorSchemes.light = {
|
|
3194
|
+
...d.light !== !0 && d.light,
|
|
3195
|
+
palette: p.palette
|
|
3196
|
+
}, Gr(p, "dark", d.dark)), p.palette.mode === "dark" && (p.colorSchemes.dark = {
|
|
3197
|
+
...d.dark !== !0 && d.dark,
|
|
3198
|
+
palette: p.palette
|
|
3199
|
+
}, Gr(p, "light", d.light)), p;
|
|
3200
|
+
}
|
|
3201
|
+
return !t && !("light" in d) && u === "light" && (d.light = !0), Eo({
|
|
3202
|
+
...c,
|
|
3203
|
+
colorSchemes: d,
|
|
3204
|
+
defaultColorScheme: u,
|
|
3205
|
+
...typeof n != "boolean" && n
|
|
3206
|
+
}, ...r);
|
|
3207
|
+
}
|
|
3208
|
+
const No = "$$material";
|
|
3209
|
+
export {
|
|
3210
|
+
pt as $,
|
|
3211
|
+
Eo as A,
|
|
3212
|
+
po as B,
|
|
3213
|
+
ho as C,
|
|
3214
|
+
ro as D,
|
|
3215
|
+
Zn as E,
|
|
3216
|
+
yo as F,
|
|
3217
|
+
Ao as G,
|
|
3218
|
+
Po as H,
|
|
3219
|
+
it as I,
|
|
3220
|
+
de as J,
|
|
3221
|
+
Qe as K,
|
|
3222
|
+
Xr as L,
|
|
3223
|
+
_n as M,
|
|
3224
|
+
Ye as N,
|
|
3225
|
+
Oo as O,
|
|
3226
|
+
Te as P,
|
|
3227
|
+
Xe as Q,
|
|
3228
|
+
Pn as R,
|
|
3229
|
+
ue as S,
|
|
3230
|
+
No as T,
|
|
3231
|
+
wo as U,
|
|
3232
|
+
fr as V,
|
|
3233
|
+
J as W,
|
|
3234
|
+
$o as X,
|
|
3235
|
+
Re as Y,
|
|
3236
|
+
me as Z,
|
|
3237
|
+
Jr as _,
|
|
3238
|
+
Vn as a,
|
|
3239
|
+
Ro as a0,
|
|
3240
|
+
_o as a1,
|
|
3241
|
+
ot as a2,
|
|
3242
|
+
ve as b,
|
|
3243
|
+
Oe as c,
|
|
3244
|
+
ko as d,
|
|
3245
|
+
at as e,
|
|
3246
|
+
le as f,
|
|
3247
|
+
Ce as g,
|
|
3248
|
+
Mn as h,
|
|
3249
|
+
Je as i,
|
|
3250
|
+
jr as j,
|
|
3251
|
+
ur as k,
|
|
3252
|
+
Se as l,
|
|
3253
|
+
jn as m,
|
|
3254
|
+
Dn as n,
|
|
3255
|
+
xe as o,
|
|
3256
|
+
ye as p,
|
|
3257
|
+
mr as q,
|
|
3258
|
+
be as r,
|
|
3259
|
+
gr as s,
|
|
3260
|
+
$n as t,
|
|
3261
|
+
Mo as u,
|
|
3262
|
+
Io as v,
|
|
3263
|
+
uo as w,
|
|
3264
|
+
so as x,
|
|
3265
|
+
ao as y,
|
|
3266
|
+
go as z
|
|
3267
|
+
};
|