@cgi-learning-hub/ui 1.7.0 → 1.8.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/{Alert-OeEy_IGc.js → Alert-6yOnGlLE.js} +6 -6
- package/dist/{Alert-rPyl-bqs.cjs → Alert-CWHOYWde.cjs} +1 -1
- package/dist/{Alert-DPSZppEy.cjs → Alert-D4-73fYc.cjs} +1 -1
- package/dist/{Alert-BhLIlUBu.js → Alert-D6SQnjuJ.js} +83 -83
- package/dist/{Autocomplete-WZw_zCjA.js → Autocomplete-B8u-WYi5.js} +680 -664
- package/dist/Autocomplete-BA6NkciB.cjs +6 -0
- package/dist/Backdrop-Dp1hKKfU.cjs +1 -0
- package/dist/{Backdrop-CjZYrxkZ.js → Backdrop-DuOPKUSY.js} +36 -35
- package/dist/{Badge-Bwcsnbsa.js → Badge-BJ4yH_Da.js} +4 -4
- package/dist/{Badge-DFzvdVS-.cjs → Badge-XMr4Ygjv.cjs} +1 -1
- package/dist/{Box-DR3n_po_.cjs → Box-B5E7sstc.cjs} +1 -1
- package/dist/{Box-BI4osO9v.js → Box-BWETzF5p.js} +3 -3
- package/dist/Button-BJB830NI.cjs +1 -0
- package/dist/{Button-DDV5EfwJ.js → Button-C8_HxKFe.js} +95 -95
- package/dist/{ButtonBase-6TF6t2SP.js → ButtonBase-CJYV8wgs.js} +2 -2
- package/dist/{ButtonBase-Dp6sf_dP.cjs → ButtonBase-DPIkh47Q.cjs} +1 -1
- package/dist/{CardContent-COfaU6E0.cjs → CardContent-H0z20SY7.cjs} +1 -1
- package/dist/{CardContent-D3uGcxlr.js → CardContent-V9JMSLmA.js} +3 -3
- package/dist/Checkbox-BZPMiwbF.cjs +1 -0
- package/dist/{Checkbox-BfBDowB2.js → Checkbox-DMMz_IAP.js} +86 -86
- package/dist/Chip-BDVqkZZM.js +573 -0
- package/dist/Chip-DMBSp59F.cjs +1 -0
- package/dist/{CircularProgress-CXXyPavb.cjs → CircularProgress-BMVNeiSf.cjs} +1 -1
- package/dist/{CircularProgress-DZuYTFz-.js → CircularProgress-CrWnCGqN.js} +3 -3
- package/dist/{Close-7S2hSoFB.cjs → Close-2eEmvKPH.cjs} +1 -1
- package/dist/{Close-DEMecSZ6.js → Close-Cr2OT0GV.js} +1 -1
- package/dist/{CloseRounded-DS-4-gMR.cjs → CloseRounded-B6cT7aGi.cjs} +1 -1
- package/dist/{CloseRounded-CioV1GK3.js → CloseRounded-BrGeesu1.js} +1 -1
- package/dist/{CustomTreeItem-Bg8Ub4dn.cjs → CustomTreeItem-BXgsWbl_.cjs} +1 -1
- package/dist/{CustomTreeItem-B9FylIhL.js → CustomTreeItem-DhB3ECa2.js} +12 -12
- package/dist/DatePicker-DtPvvFiK.cjs +16 -0
- package/dist/{DatePicker-DasS2wq6.js → DatePicker-ofISDY8Q.js} +2822 -2821
- package/dist/DefaultPropsProvider-BFTLy05-.cjs +1 -0
- package/dist/DefaultPropsProvider-nxIPd34m.js +312 -0
- package/dist/{Delete-BvkBJXEM.cjs → Delete-BF63Gpr-.cjs} +1 -1
- package/dist/{Delete-B5VTV71K.js → Delete-CwWpjEOT.js} +1 -1
- package/dist/Dialog-Cymf3DJ2.cjs +1 -0
- package/dist/{Dialog-DEWB041V.js → Dialog-eK1zTFBm.js} +10 -10
- package/dist/{DialogContent-C294EkoQ.js → DialogContent-BsPZJR2a.js} +3 -3
- package/dist/{DialogContent-DXfUge3c.cjs → DialogContent-Gy1s3ela.cjs} +1 -1
- package/dist/{DialogTitle-y2PrK6uU.cjs → DialogTitle-BDyrzRXS.cjs} +1 -1
- package/dist/{DialogTitle-BSiId6Q1.js → DialogTitle-CaAd59jN.js} +5 -5
- package/dist/Divider-BzdMIEJJ.cjs +1 -0
- package/dist/{Divider-kKp4VqHh.js → Divider-D_gbcyWE.js} +26 -26
- package/dist/{Folder-BgQP5-Ve.js → Folder-COKXTjZ4.js} +1 -1
- package/dist/{Folder-BfLBqDHM.cjs → Folder-D0fZbyc-.cjs} +1 -1
- package/dist/{FormLabel-JrZR9kt8.cjs → FormLabel-BLySmpkL.cjs} +1 -1
- package/dist/{FormLabel-B3WAnPGP.js → FormLabel-DmLckqyT.js} +3 -3
- package/dist/{Grid-BHYQ3JNy.cjs → Grid-DFaRzlB4.cjs} +1 -1
- package/dist/{Grid-DFk-4jnZ.js → Grid-vM--ojbL.js} +7 -7
- package/dist/{Grow-BfjkXlG8.js → Grow-DE5x7F5S.js} +1 -1
- package/dist/{Grow-BULCy6GX.cjs → Grow-ovNT7Sot.cjs} +1 -1
- package/dist/IconButton-DCQiOq7W.cjs +2 -0
- package/dist/{IconButton-BYvak8Nw.js → IconButton-f9EZgwvD.js} +66 -66
- package/dist/{InputAdornment-BBZXvhZ-.js → InputAdornment-B615VSjF.js} +4 -4
- package/dist/{InputAdornment-DvHQMisT.cjs → InputAdornment-BrrJ8chb.cjs} +1 -1
- package/dist/{InputBase-BS5oknUK.js → InputBase-BCbPPzW1.js} +4 -4
- package/dist/{InputBase-DPdKpmOz.cjs → InputBase-CRrFludT.cjs} +1 -1
- package/dist/Link-CMes5bws.cjs +1 -0
- package/dist/{Link-DYPjEdvu.js → Link-GBRiPElP.js} +52 -39
- package/dist/{List-CB_cqCSw.js → List-DZkddOsr.js} +2 -2
- package/dist/{List-t9bWFewp.cjs → List-E_TAQ1jJ.cjs} +1 -1
- package/dist/{ListItem-DAZQEir2.js → ListItem-CMoibMI7.js} +4 -4
- package/dist/{ListItem-DP7YmqZk.cjs → ListItem-qTKJTg7f.cjs} +1 -1
- package/dist/ListItemText-B3z5dHrQ.cjs +1 -0
- package/dist/{ListItemText-qfdqJP77.js → ListItemText-BbrPf29n.js} +139 -139
- package/dist/{Menu-9BK8jmzW.js → Menu-3UjlpKRJ.js} +27 -27
- package/dist/{Menu-C61wLk41.cjs → Menu-C0uY9Dd0.cjs} +1 -1
- package/dist/MenuItem--a878rw9.cjs +1 -0
- package/dist/{MenuItem-C8nduSzJ.js → MenuItem-CHEWce5u.js} +94 -94
- package/dist/{Modal-DkzrSKHd.cjs → Modal-CdcolE0C.cjs} +1 -1
- package/dist/{Modal-D3Q9vEAI.js → Modal-Du5LfkZg.js} +5 -5
- package/dist/{MoreVert-C-Rhn-xK.cjs → MoreVert-DZjEMvuw.cjs} +1 -1
- package/dist/{MoreVert-C_W1m_Z_.js → MoreVert-PLU7h8WO.js} +1 -1
- package/dist/{Paper-IQckggbn.js → Paper-BylmTlAJ.js} +4 -4
- package/dist/{Paper-BbqZL5vx.cjs → Paper-DgHGh6vt.cjs} +1 -1
- package/dist/{Popper-DvWx5tR3.cjs → Popper-BsNp09Gg.cjs} +1 -1
- package/dist/{Popper-CfFLBZ7-.js → Popper-CvQLHjwo.js} +3 -3
- package/dist/Radio-CLNMQGNf.cjs +1 -0
- package/dist/{Radio-DKiu6lVB.js → Radio-CbYgci2-.js} +195 -190
- package/dist/{RadioGroup-DFKMlNWO.js → RadioGroup-D-Cq8SmM.js} +3 -3
- package/dist/{RadioGroup-Cvnwt4JE.cjs → RadioGroup-Dyf8fKum.cjs} +1 -1
- package/dist/{Select-CpNF3a57.js → Select-Bx0yVOZE.js} +641 -607
- package/dist/Select-CRVPbesC.cjs +3 -0
- package/dist/{Stack-CIyfgZCM.cjs → Stack-COmIqMxy.cjs} +1 -1
- package/dist/{Stack-DSJ2DqNd.js → Stack-CbK4a2n5.js} +5 -5
- package/dist/{Stepper-CXHfLPtA.cjs → Stepper-CWq9t5jy.cjs} +1 -1
- package/dist/{Stepper-DE2l91K0.js → Stepper-DU9nixCp.js} +6 -6
- package/dist/{Switch-BIcwDf_P.js → Switch-Bm3Gclye.js} +102 -99
- package/dist/Switch-kHZOqjeU.cjs +1 -0
- package/dist/{SwitchBase-DZV8S81Z.js → SwitchBase-9CKmTWdZ.js} +47 -44
- package/dist/SwitchBase-Hbqxtooi.cjs +1 -0
- package/dist/{Tab-Ckr6Bn59.js → Tab-DBCv1T9W.js} +58 -58
- package/dist/{Tab-r5imbU9z.cjs → Tab-DnxFjc89.cjs} +1 -1
- package/dist/{TextField-Brw3X9cn.cjs → TextField-BhdmUny-.cjs} +1 -1
- package/dist/{TextField-BenBw4oE.js → TextField-V-EQ80Y6.js} +6 -6
- package/dist/ToggleButtonGroup-B2FBwoDV.cjs +138 -0
- package/dist/{ToggleButtonGroup-DhtAoGtM.js → ToggleButtonGroup-_UpIjysl.js} +1567 -1537
- package/dist/{Tooltip-KkgNQm4r.js → Tooltip-DKHOTDh0.js} +81 -81
- package/dist/{Tooltip-BAOKe3SY.cjs → Tooltip-DYTDIzp4.cjs} +3 -3
- package/dist/{Typography-CSTmKyr8.cjs → Typography-BvRUTdLD.cjs} +1 -1
- package/dist/{Typography-Dy8r_tT2.js → Typography-o0iALAVg.js} +4 -4
- package/dist/components/ActionBar/ActionBar.cjs.js +1 -0
- package/dist/components/ActionBar/ActionBar.d.ts +3 -0
- package/dist/components/ActionBar/ActionBar.es.js +63 -0
- package/dist/components/ActionBar/index.cjs.js +1 -0
- package/dist/components/ActionBar/index.d.ts +2 -0
- package/dist/components/ActionBar/index.es.js +4 -0
- package/dist/components/ActionBar/style.cjs.js +1 -0
- package/dist/components/ActionBar/style.es.js +61 -0
- package/dist/components/ActionBar/types.cjs.js +1 -0
- package/dist/components/ActionBar/types.d.ts +17 -0
- package/dist/components/ActionBar/types.es.js +1 -0
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +4 -4
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +1 -1
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +2 -2
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- 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 +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +3 -3
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +1 -0
- package/dist/components/EmptyState/EmptyState.es.js +22 -20
- package/dist/components/FileList/FileIcon.cjs.js +1 -1
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +4 -4
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
- package/dist/components/FolderCard/FolderCard.es.js +2 -2
- 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 +4 -4
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- 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 +4 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TreeView/TreeView.cjs.js +2 -2
- package/dist/components/TreeView/TreeView.es.js +39 -39
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/types.d.ts +1 -0
- package/dist/components/TreeView/utils.cjs.js +1 -1
- package/dist/components/TreeView/utils.es.js +3 -3
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.es.js +302 -300
- package/dist/components/stories/ActionBar.stories.cjs.js +1 -0
- package/dist/components/stories/ActionBar.stories.d.ts +11 -0
- package/dist/components/stories/ActionBar.stories.es.js +206 -0
- package/dist/components/stories/Alert.stories.cjs.js +1 -1
- package/dist/components/stories/Alert.stories.es.js +1 -1
- package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
- package/dist/components/stories/Autocomplete.stories.es.js +2 -2
- package/dist/components/stories/Badge.stories.cjs.js +1 -1
- package/dist/components/stories/Badge.stories.es.js +2 -2
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/ButtonGroup.stories.cjs.js +1 -1
- package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +2 -2
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.cjs.js +1 -1
- package/dist/components/stories/Chip.stories.es.js +1 -1
- 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 +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
- 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 +2 -2
- 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 +3 -3
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/Stepper.stories.cjs.js +1 -1
- package/dist/components/stories/Stepper.stories.es.js +4 -4
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +1 -1
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/TreeView.stories.cjs.js +1 -1
- package/dist/components/stories/TreeView.stories.es.js +12 -12
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-IET9soda.cjs → createSvgIcon-BJRigbha.cjs} +1 -1
- package/dist/{createSvgIcon-B1E6Wo8z.js → createSvgIcon-BV54rC7k.js} +3 -3
- package/dist/{dividerClasses-C07OJKLL.cjs → dividerClasses-CbwbHy8r.cjs} +1 -1
- package/dist/{dividerClasses-BPJZ8SFy.js → dividerClasses-DDXs86hs.js} +1 -1
- package/dist/{extendSxProp-ZMCunXYm.cjs → extendSxProp-CxMSlckP.cjs} +1 -1
- package/dist/{extendSxProp-CesAxox9.js → extendSxProp-XouBF-Ct.js} +1 -1
- package/dist/identifier-DBvccNCw.cjs +55 -0
- package/dist/identifier-Dnc8T93Z.js +2673 -0
- package/dist/{index-8G2jvqZ8.js → index-9te7SXrs.js} +47 -41
- package/dist/index-BkNQtUZJ.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +302 -300
- package/dist/{listItemTextClasses-B5VhLd9W.js → listItemTextClasses-4p_83pwn.js} +1 -1
- package/dist/{listItemTextClasses-CJDKfXvl.cjs → listItemTextClasses-Cxo4anAo.cjs} +1 -1
- package/dist/{memoTheme-BKfsJx_F.cjs → memoTheme-Dv-rDqFz.cjs} +1 -1
- package/dist/{memoTheme-DAFDflPY.js → memoTheme-K37vidlb.js} +1 -1
- package/dist/{mergeSlotProps-DXwOW3FE.cjs → mergeSlotProps-CXO1f70l.cjs} +1 -1
- package/dist/{mergeSlotProps-ChAye7iz.js → mergeSlotProps-DSWiBSbD.js} +1 -1
- package/dist/styled-B7pKW9DQ.cjs +1 -0
- package/dist/styled-JnAdiSL5.js +5 -0
- package/dist/{useSlot-BzdKwDQ5.js → useSlot-GooGQrej.js} +1 -1
- package/dist/{useSlot-C2FjoUpF.cjs → useSlot-ONna5RyM.cjs} +1 -1
- package/dist/{useSlotProps-DdMuGelR.js → useSlotProps-C34Wr67s.js} +1 -1
- package/dist/{useSlotProps-CrQGQLdL.cjs → useSlotProps-CtYqUyy1.cjs} +1 -1
- package/dist/{useTheme-XJ9sFCWX.js → useTheme-CH7DA5fq.js} +3 -3
- package/dist/{useTheme-BLMJDSsv.cjs → useTheme-D6wPRo0G.cjs} +1 -1
- package/dist/{useTheme-CooC_6Ep.cjs → useTheme-DkiCyF-9.cjs} +1 -1
- package/dist/{useTheme--i9fxE_A.js → useTheme-VH02z7nF.js} +1 -1
- package/dist/{useThemeProps-B9E_wuN9.cjs → useThemeProps-BU5PNyhK.cjs} +1 -1
- package/dist/useThemeProps-CnZ-QgwI.cjs +1 -0
- package/dist/useThemeProps-DT4QxdFn.js +17 -0
- package/dist/{useThemeProps-B4VFkcP0.js → useThemeProps-DZ05-54P.js} +2 -2
- package/package.json +7 -7
- package/dist/Autocomplete-BdPO9SAd.cjs +0 -6
- package/dist/Backdrop-DeNTZlA5.cjs +0 -1
- package/dist/Button-DyJV5llI.cjs +0 -1
- package/dist/Checkbox-3hTSv0EZ.cjs +0 -1
- package/dist/Chip-BG0OU0KI.cjs +0 -1
- package/dist/Chip-DmjZbx_X.js +0 -572
- package/dist/DatePicker-CH8XRum0.cjs +0 -16
- package/dist/DefaultPropsProvider-Cnf49AIv.cjs +0 -1
- package/dist/DefaultPropsProvider-DqazQPtr.js +0 -306
- package/dist/Dialog-Btagj_Gt.cjs +0 -1
- package/dist/Divider-NermA5hZ.cjs +0 -1
- package/dist/IconButton-CjtMjZ9e.cjs +0 -2
- package/dist/Link-BwbY60dS.cjs +0 -1
- package/dist/ListItemText-cVnimPLO.cjs +0 -1
- package/dist/MenuItem-DHM3qxwr.cjs +0 -1
- package/dist/Radio-Bwh_t6PC.cjs +0 -1
- package/dist/Select-3HP39Z7o.cjs +0 -3
- package/dist/Switch-CTEqKDiv.cjs +0 -1
- package/dist/SwitchBase-P3zHVmLX.cjs +0 -1
- package/dist/ToggleButtonGroup-CA1cSosV.cjs +0 -138
- package/dist/identifier-BoZelETM.cjs +0 -55
- package/dist/identifier-PWESmBq6.js +0 -2598
- package/dist/index-D3lMWU76.cjs +0 -1
- package/dist/styled-C7gyRDlj.js +0 -5
- package/dist/styled-Cax0O00h.cjs +0 -1
- package/dist/useThemeProps-C1A3rnbh.cjs +0 -1
- package/dist/useThemeProps-CQ9rZe7g.js +0 -17
|
@@ -1,2598 +0,0 @@
|
|
|
1
|
-
import $t from "@emotion/styled";
|
|
2
|
-
import "@emotion/react";
|
|
3
|
-
import * as it from "react";
|
|
4
|
-
import { P as ne } from "./index-Sy88PpwE.js";
|
|
5
|
-
var pe = { exports: {} }, $ = {};
|
|
6
|
-
/**
|
|
7
|
-
* @license React
|
|
8
|
-
* react-is.production.js
|
|
9
|
-
*
|
|
10
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
var We;
|
|
16
|
-
function Tt() {
|
|
17
|
-
if (We) return $;
|
|
18
|
-
We = 1;
|
|
19
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition"), b = Symbol.for("react.client.reference");
|
|
20
|
-
function g(s) {
|
|
21
|
-
if (typeof s == "object" && s !== null) {
|
|
22
|
-
var S = s.$$typeof;
|
|
23
|
-
switch (S) {
|
|
24
|
-
case e:
|
|
25
|
-
switch (s = s.type, s) {
|
|
26
|
-
case r:
|
|
27
|
-
case o:
|
|
28
|
-
case n:
|
|
29
|
-
case f:
|
|
30
|
-
case d:
|
|
31
|
-
case p:
|
|
32
|
-
return s;
|
|
33
|
-
default:
|
|
34
|
-
switch (s = s && s.$$typeof, s) {
|
|
35
|
-
case l:
|
|
36
|
-
case c:
|
|
37
|
-
case m:
|
|
38
|
-
case h:
|
|
39
|
-
return s;
|
|
40
|
-
case a:
|
|
41
|
-
return s;
|
|
42
|
-
default:
|
|
43
|
-
return S;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
case t:
|
|
47
|
-
return S;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return $.ContextConsumer = a, $.ContextProvider = l, $.Element = e, $.ForwardRef = c, $.Fragment = r, $.Lazy = m, $.Memo = h, $.Portal = t, $.Profiler = o, $.StrictMode = n, $.Suspense = f, $.SuspenseList = d, $.isContextConsumer = function(s) {
|
|
52
|
-
return g(s) === a;
|
|
53
|
-
}, $.isContextProvider = function(s) {
|
|
54
|
-
return g(s) === l;
|
|
55
|
-
}, $.isElement = function(s) {
|
|
56
|
-
return typeof s == "object" && s !== null && s.$$typeof === e;
|
|
57
|
-
}, $.isForwardRef = function(s) {
|
|
58
|
-
return g(s) === c;
|
|
59
|
-
}, $.isFragment = function(s) {
|
|
60
|
-
return g(s) === r;
|
|
61
|
-
}, $.isLazy = function(s) {
|
|
62
|
-
return g(s) === m;
|
|
63
|
-
}, $.isMemo = function(s) {
|
|
64
|
-
return g(s) === h;
|
|
65
|
-
}, $.isPortal = function(s) {
|
|
66
|
-
return g(s) === t;
|
|
67
|
-
}, $.isProfiler = function(s) {
|
|
68
|
-
return g(s) === o;
|
|
69
|
-
}, $.isStrictMode = function(s) {
|
|
70
|
-
return g(s) === n;
|
|
71
|
-
}, $.isSuspense = function(s) {
|
|
72
|
-
return g(s) === f;
|
|
73
|
-
}, $.isSuspenseList = function(s) {
|
|
74
|
-
return g(s) === d;
|
|
75
|
-
}, $.isValidElementType = function(s) {
|
|
76
|
-
return typeof s == "string" || typeof s == "function" || s === r || s === o || s === n || s === f || s === d || typeof s == "object" && s !== null && (s.$$typeof === m || s.$$typeof === h || s.$$typeof === l || s.$$typeof === a || s.$$typeof === c || s.$$typeof === b || s.getModuleId !== void 0);
|
|
77
|
-
}, $.typeOf = g, $;
|
|
78
|
-
}
|
|
79
|
-
var T = {};
|
|
80
|
-
/**
|
|
81
|
-
* @license React
|
|
82
|
-
* react-is.development.js
|
|
83
|
-
*
|
|
84
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
85
|
-
*
|
|
86
|
-
* This source code is licensed under the MIT license found in the
|
|
87
|
-
* LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/
|
|
89
|
-
var Ue;
|
|
90
|
-
function At() {
|
|
91
|
-
return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
92
|
-
function e(s) {
|
|
93
|
-
if (typeof s == "object" && s !== null) {
|
|
94
|
-
var S = s.$$typeof;
|
|
95
|
-
switch (S) {
|
|
96
|
-
case t:
|
|
97
|
-
switch (s = s.type, s) {
|
|
98
|
-
case n:
|
|
99
|
-
case a:
|
|
100
|
-
case o:
|
|
101
|
-
case d:
|
|
102
|
-
case h:
|
|
103
|
-
case b:
|
|
104
|
-
return s;
|
|
105
|
-
default:
|
|
106
|
-
switch (s = s && s.$$typeof, s) {
|
|
107
|
-
case c:
|
|
108
|
-
case f:
|
|
109
|
-
case p:
|
|
110
|
-
case m:
|
|
111
|
-
return s;
|
|
112
|
-
case l:
|
|
113
|
-
return s;
|
|
114
|
-
default:
|
|
115
|
-
return S;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
case r:
|
|
119
|
-
return S;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
var t = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), l = Symbol.for("react.consumer"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), b = Symbol.for("react.view_transition"), g = Symbol.for("react.client.reference");
|
|
124
|
-
T.ContextConsumer = l, T.ContextProvider = c, T.Element = t, T.ForwardRef = f, T.Fragment = n, T.Lazy = p, T.Memo = m, T.Portal = r, T.Profiler = a, T.StrictMode = o, T.Suspense = d, T.SuspenseList = h, T.isContextConsumer = function(s) {
|
|
125
|
-
return e(s) === l;
|
|
126
|
-
}, T.isContextProvider = function(s) {
|
|
127
|
-
return e(s) === c;
|
|
128
|
-
}, T.isElement = function(s) {
|
|
129
|
-
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
130
|
-
}, T.isForwardRef = function(s) {
|
|
131
|
-
return e(s) === f;
|
|
132
|
-
}, T.isFragment = function(s) {
|
|
133
|
-
return e(s) === n;
|
|
134
|
-
}, T.isLazy = function(s) {
|
|
135
|
-
return e(s) === p;
|
|
136
|
-
}, T.isMemo = function(s) {
|
|
137
|
-
return e(s) === m;
|
|
138
|
-
}, T.isPortal = function(s) {
|
|
139
|
-
return e(s) === r;
|
|
140
|
-
}, T.isProfiler = function(s) {
|
|
141
|
-
return e(s) === a;
|
|
142
|
-
}, T.isStrictMode = function(s) {
|
|
143
|
-
return e(s) === o;
|
|
144
|
-
}, T.isSuspense = function(s) {
|
|
145
|
-
return e(s) === d;
|
|
146
|
-
}, T.isSuspenseList = function(s) {
|
|
147
|
-
return e(s) === h;
|
|
148
|
-
}, T.isValidElementType = function(s) {
|
|
149
|
-
return typeof s == "string" || typeof s == "function" || s === n || s === a || s === o || s === d || s === h || typeof s == "object" && s !== null && (s.$$typeof === p || s.$$typeof === m || s.$$typeof === c || s.$$typeof === l || s.$$typeof === f || s.$$typeof === g || s.getModuleId !== void 0);
|
|
150
|
-
}, T.typeOf = e;
|
|
151
|
-
}()), T;
|
|
152
|
-
}
|
|
153
|
-
var Ge;
|
|
154
|
-
function xt() {
|
|
155
|
-
return Ge || (Ge = 1, process.env.NODE_ENV === "production" ? pe.exports = /* @__PURE__ */ Tt() : pe.exports = /* @__PURE__ */ At()), pe.exports;
|
|
156
|
-
}
|
|
157
|
-
var at = /* @__PURE__ */ xt();
|
|
158
|
-
function st(e) {
|
|
159
|
-
var t, r, n = "";
|
|
160
|
-
if (typeof e == "string" || typeof e == "number") n += e;
|
|
161
|
-
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
162
|
-
var o = e.length;
|
|
163
|
-
for (t = 0; t < o; t++) e[t] && (r = st(e[t])) && (n && (n += " "), n += r);
|
|
164
|
-
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
165
|
-
return n;
|
|
166
|
-
}
|
|
167
|
-
function vn() {
|
|
168
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = st(e)) && (n && (n += " "), n += t);
|
|
169
|
-
return n;
|
|
170
|
-
}
|
|
171
|
-
function H(e, ...t) {
|
|
172
|
-
const r = new URL(`https://mui.com/production-error/?code=${e}`);
|
|
173
|
-
return t.forEach((n) => r.searchParams.append("args[]", n)), `Minified MUI error #${e}; visit ${r} for the full message.`;
|
|
174
|
-
}
|
|
175
|
-
function lt(e) {
|
|
176
|
-
if (typeof e != "string")
|
|
177
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : H(7));
|
|
178
|
-
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
179
|
-
}
|
|
180
|
-
function Y(e) {
|
|
181
|
-
if (typeof e != "object" || e === null)
|
|
182
|
-
return !1;
|
|
183
|
-
const t = Object.getPrototypeOf(e);
|
|
184
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
185
|
-
}
|
|
186
|
-
function ct(e) {
|
|
187
|
-
if (/* @__PURE__ */ it.isValidElement(e) || at.isValidElementType(e) || !Y(e))
|
|
188
|
-
return e;
|
|
189
|
-
const t = {};
|
|
190
|
-
return Object.keys(e).forEach((r) => {
|
|
191
|
-
t[r] = ct(e[r]);
|
|
192
|
-
}), t;
|
|
193
|
-
}
|
|
194
|
-
function B(e, t, r = {
|
|
195
|
-
clone: !0
|
|
196
|
-
}) {
|
|
197
|
-
const n = r.clone ? {
|
|
198
|
-
...e
|
|
199
|
-
} : e;
|
|
200
|
-
return Y(e) && Y(t) && Object.keys(t).forEach((o) => {
|
|
201
|
-
/* @__PURE__ */ it.isValidElement(t[o]) || at.isValidElementType(t[o]) ? n[o] = t[o] : Y(t[o]) && // Avoid prototype pollution
|
|
202
|
-
Object.prototype.hasOwnProperty.call(e, o) && Y(e[o]) ? n[o] = B(e[o], t[o], r) : r.clone ? n[o] = Y(t[o]) ? ct(t[o]) : t[o] : n[o] = t[o];
|
|
203
|
-
}), n;
|
|
204
|
-
}
|
|
205
|
-
function se(e, t) {
|
|
206
|
-
return t ? B(e, t, {
|
|
207
|
-
clone: !1
|
|
208
|
-
// No need to clone deep, it's way faster.
|
|
209
|
-
}) : e;
|
|
210
|
-
}
|
|
211
|
-
const q = process.env.NODE_ENV !== "production" ? ne.oneOfType([ne.number, ne.string, ne.object, ne.array]) : {};
|
|
212
|
-
function vt(e, t) {
|
|
213
|
-
if (!e.containerQueries)
|
|
214
|
-
return t;
|
|
215
|
-
const r = Object.keys(t).filter((n) => n.startsWith("@container")).sort((n, o) => {
|
|
216
|
-
var l, c;
|
|
217
|
-
const a = /min-width:\s*([0-9.]+)/;
|
|
218
|
-
return +(((l = n.match(a)) == null ? void 0 : l[1]) || 0) - +(((c = o.match(a)) == null ? void 0 : c[1]) || 0);
|
|
219
|
-
});
|
|
220
|
-
return r.length ? r.reduce((n, o) => {
|
|
221
|
-
const a = t[o];
|
|
222
|
-
return delete n[o], n[o] = a, n;
|
|
223
|
-
}, {
|
|
224
|
-
...t
|
|
225
|
-
}) : t;
|
|
226
|
-
}
|
|
227
|
-
function wt(e, t) {
|
|
228
|
-
return t === "@" || t.startsWith("@") && (e.some((r) => t.startsWith(`@${r}`)) || !!t.match(/^@\d/));
|
|
229
|
-
}
|
|
230
|
-
function Ot(e, t) {
|
|
231
|
-
const r = t.match(/^@([^/]+)?\/?(.+)?$/);
|
|
232
|
-
if (!r) {
|
|
233
|
-
if (process.env.NODE_ENV !== "production")
|
|
234
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
235
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.` : H(18, `(${t})`));
|
|
236
|
-
return null;
|
|
237
|
-
}
|
|
238
|
-
const [, n, o] = r, a = Number.isNaN(+n) ? n || 0 : +n;
|
|
239
|
-
return e.containerQueries(o).up(a);
|
|
240
|
-
}
|
|
241
|
-
function _t(e) {
|
|
242
|
-
const t = (a, l) => a.replace("@media", l ? `@container ${l}` : "@container");
|
|
243
|
-
function r(a, l) {
|
|
244
|
-
a.up = (...c) => t(e.breakpoints.up(...c), l), a.down = (...c) => t(e.breakpoints.down(...c), l), a.between = (...c) => t(e.breakpoints.between(...c), l), a.only = (...c) => t(e.breakpoints.only(...c), l), a.not = (...c) => {
|
|
245
|
-
const f = t(e.breakpoints.not(...c), l);
|
|
246
|
-
return f.includes("not all and") ? f.replace("not all and ", "").replace("min-width:", "width<").replace("max-width:", "width>").replace("and", "or") : f;
|
|
247
|
-
};
|
|
248
|
-
}
|
|
249
|
-
const n = {}, o = (a) => (r(n, a), n);
|
|
250
|
-
return r(o), {
|
|
251
|
-
...e,
|
|
252
|
-
containerQueries: o
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
const be = {
|
|
256
|
-
xs: 0,
|
|
257
|
-
// phone
|
|
258
|
-
sm: 600,
|
|
259
|
-
// tablet
|
|
260
|
-
md: 900,
|
|
261
|
-
// small laptop
|
|
262
|
-
lg: 1200,
|
|
263
|
-
// desktop
|
|
264
|
-
xl: 1536
|
|
265
|
-
// large screen
|
|
266
|
-
}, je = {
|
|
267
|
-
// Sorted ASC by size. That's important.
|
|
268
|
-
// It can't be configured as it's used statically for propTypes.
|
|
269
|
-
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
270
|
-
up: (e) => `@media (min-width:${be[e]}px)`
|
|
271
|
-
}, kt = {
|
|
272
|
-
containerQueries: (e) => ({
|
|
273
|
-
up: (t) => {
|
|
274
|
-
let r = typeof t == "number" ? t : be[t] || t;
|
|
275
|
-
return typeof r == "number" && (r = `${r}px`), e ? `@container ${e} (min-width:${r})` : `@container (min-width:${r})`;
|
|
276
|
-
}
|
|
277
|
-
})
|
|
278
|
-
};
|
|
279
|
-
function G(e, t, r) {
|
|
280
|
-
const n = e.theme || {};
|
|
281
|
-
if (Array.isArray(t)) {
|
|
282
|
-
const a = n.breakpoints || je;
|
|
283
|
-
return t.reduce((l, c, f) => (l[a.up(a.keys[f])] = r(t[f]), l), {});
|
|
284
|
-
}
|
|
285
|
-
if (typeof t == "object") {
|
|
286
|
-
const a = n.breakpoints || je;
|
|
287
|
-
return Object.keys(t).reduce((l, c) => {
|
|
288
|
-
if (wt(a.keys, c)) {
|
|
289
|
-
const f = Ot(n.containerQueries ? n : kt, c);
|
|
290
|
-
f && (l[f] = r(t[c], c));
|
|
291
|
-
} else if (Object.keys(a.values || be).includes(c)) {
|
|
292
|
-
const f = a.up(c);
|
|
293
|
-
l[f] = r(t[c], c);
|
|
294
|
-
} else {
|
|
295
|
-
const f = c;
|
|
296
|
-
l[f] = t[f];
|
|
297
|
-
}
|
|
298
|
-
return l;
|
|
299
|
-
}, {});
|
|
300
|
-
}
|
|
301
|
-
return r(t);
|
|
302
|
-
}
|
|
303
|
-
function ut(e = {}) {
|
|
304
|
-
var r;
|
|
305
|
-
return ((r = e.keys) == null ? void 0 : r.reduce((n, o) => {
|
|
306
|
-
const a = e.up(o);
|
|
307
|
-
return n[a] = {}, n;
|
|
308
|
-
}, {})) || {};
|
|
309
|
-
}
|
|
310
|
-
function ft(e, t) {
|
|
311
|
-
return e.reduce((r, n) => {
|
|
312
|
-
const o = r[n];
|
|
313
|
-
return (!o || Object.keys(o).length === 0) && delete r[n], r;
|
|
314
|
-
}, t);
|
|
315
|
-
}
|
|
316
|
-
function wn(e, ...t) {
|
|
317
|
-
const r = ut(e), n = [r, ...t].reduce((o, a) => B(o, a), {});
|
|
318
|
-
return ft(Object.keys(r), n);
|
|
319
|
-
}
|
|
320
|
-
function Rt(e, t) {
|
|
321
|
-
if (typeof e != "object")
|
|
322
|
-
return {};
|
|
323
|
-
const r = {}, n = Object.keys(t);
|
|
324
|
-
return Array.isArray(e) ? n.forEach((o, a) => {
|
|
325
|
-
a < e.length && (r[o] = !0);
|
|
326
|
-
}) : n.forEach((o) => {
|
|
327
|
-
e[o] != null && (r[o] = !0);
|
|
328
|
-
}), r;
|
|
329
|
-
}
|
|
330
|
-
function On({
|
|
331
|
-
values: e,
|
|
332
|
-
breakpoints: t,
|
|
333
|
-
base: r
|
|
334
|
-
}) {
|
|
335
|
-
const n = r || Rt(e, t), o = Object.keys(n);
|
|
336
|
-
if (o.length === 0)
|
|
337
|
-
return e;
|
|
338
|
-
let a;
|
|
339
|
-
return o.reduce((l, c, f) => (Array.isArray(e) ? (l[c] = e[f] != null ? e[f] : e[a], a = f) : typeof e == "object" ? (l[c] = e[c] != null ? e[c] : e[a], a = c) : l[c] = e, l), {});
|
|
340
|
-
}
|
|
341
|
-
function Ce(e, t, r = !0) {
|
|
342
|
-
if (!t || typeof t != "string")
|
|
343
|
-
return null;
|
|
344
|
-
if (e && e.vars && r) {
|
|
345
|
-
const n = `vars.${t}`.split(".").reduce((o, a) => o && o[a] ? o[a] : null, e);
|
|
346
|
-
if (n != null)
|
|
347
|
-
return n;
|
|
348
|
-
}
|
|
349
|
-
return t.split(".").reduce((n, o) => n && n[o] != null ? n[o] : null, e);
|
|
350
|
-
}
|
|
351
|
-
function he(e, t, r, n = r) {
|
|
352
|
-
let o;
|
|
353
|
-
return typeof e == "function" ? o = e(r) : Array.isArray(e) ? o = e[r] || n : o = Ce(e, r) || n, t && (o = t(o, n, e)), o;
|
|
354
|
-
}
|
|
355
|
-
function R(e) {
|
|
356
|
-
const {
|
|
357
|
-
prop: t,
|
|
358
|
-
cssProperty: r = e.prop,
|
|
359
|
-
themeKey: n,
|
|
360
|
-
transform: o
|
|
361
|
-
} = e, a = (l) => {
|
|
362
|
-
if (l[t] == null)
|
|
363
|
-
return null;
|
|
364
|
-
const c = l[t], f = l.theme, d = Ce(f, n) || {};
|
|
365
|
-
return G(l, c, (m) => {
|
|
366
|
-
let p = he(d, o, m);
|
|
367
|
-
return m === p && typeof m == "string" && (p = he(d, o, `${t}${m === "default" ? "" : lt(m)}`, m)), r === !1 ? p : {
|
|
368
|
-
[r]: p
|
|
369
|
-
};
|
|
370
|
-
});
|
|
371
|
-
};
|
|
372
|
-
return a.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
373
|
-
[t]: q
|
|
374
|
-
} : {}, a.filterProps = [t], a;
|
|
375
|
-
}
|
|
376
|
-
function Nt(e) {
|
|
377
|
-
const t = {};
|
|
378
|
-
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
|
|
379
|
-
}
|
|
380
|
-
const It = {
|
|
381
|
-
m: "margin",
|
|
382
|
-
p: "padding"
|
|
383
|
-
}, Bt = {
|
|
384
|
-
t: "Top",
|
|
385
|
-
r: "Right",
|
|
386
|
-
b: "Bottom",
|
|
387
|
-
l: "Left",
|
|
388
|
-
x: ["Left", "Right"],
|
|
389
|
-
y: ["Top", "Bottom"]
|
|
390
|
-
}, ze = {
|
|
391
|
-
marginX: "mx",
|
|
392
|
-
marginY: "my",
|
|
393
|
-
paddingX: "px",
|
|
394
|
-
paddingY: "py"
|
|
395
|
-
}, Pt = Nt((e) => {
|
|
396
|
-
if (e.length > 2)
|
|
397
|
-
if (ze[e])
|
|
398
|
-
e = ze[e];
|
|
399
|
-
else
|
|
400
|
-
return [e];
|
|
401
|
-
const [t, r] = e.split(""), n = It[t], o = Bt[r] || "";
|
|
402
|
-
return Array.isArray(o) ? o.map((a) => n + a) : [n + o];
|
|
403
|
-
}), Se = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], Ee = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], Mt = [...Se, ...Ee];
|
|
404
|
-
function ce(e, t, r, n) {
|
|
405
|
-
const o = Ce(e, t, !0) ?? r;
|
|
406
|
-
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" ? o.startsWith("var(") && a === 0 ? 0 : o.startsWith("var(") && a === 1 ? o : `calc(${a} * ${o})` : o * a) : Array.isArray(o) ? (a) => {
|
|
407
|
-
if (typeof a == "string")
|
|
408
|
-
return a;
|
|
409
|
-
const l = Math.abs(a);
|
|
410
|
-
process.env.NODE_ENV !== "production" && (Number.isInteger(l) ? l > o.length - 1 && console.error([`MUI: The value provided (${l}) overflows.`, `The supported values are: ${JSON.stringify(o)}.`, `${l} > ${o.length - 1}, you need to add the missing values.`].join(`
|
|
411
|
-
`)) : console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
412
|
-
`)));
|
|
413
|
-
const c = o[l];
|
|
414
|
-
return a >= 0 ? c : typeof c == "number" ? -c : typeof c == "string" && c.startsWith("var(") ? `calc(-1 * ${c})` : `-${c}`;
|
|
415
|
-
} : typeof o == "function" ? o : (process.env.NODE_ENV !== "production" && console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`, "It should be a number, an array or a function."].join(`
|
|
416
|
-
`)), () => {
|
|
417
|
-
});
|
|
418
|
-
}
|
|
419
|
-
function Pe(e) {
|
|
420
|
-
return ce(e, "spacing", 8, "spacing");
|
|
421
|
-
}
|
|
422
|
-
function ue(e, t) {
|
|
423
|
-
return typeof t == "string" || t == null ? t : e(t);
|
|
424
|
-
}
|
|
425
|
-
function Dt(e, t) {
|
|
426
|
-
return (r) => e.reduce((n, o) => (n[o] = ue(t, r), n), {});
|
|
427
|
-
}
|
|
428
|
-
function Ft(e, t, r, n) {
|
|
429
|
-
if (!t.includes(r))
|
|
430
|
-
return null;
|
|
431
|
-
const o = Pt(r), a = Dt(o, n), l = e[r];
|
|
432
|
-
return G(e, l, a);
|
|
433
|
-
}
|
|
434
|
-
function dt(e, t) {
|
|
435
|
-
const r = Pe(e.theme);
|
|
436
|
-
return Object.keys(e).map((n) => Ft(e, t, n, r)).reduce(se, {});
|
|
437
|
-
}
|
|
438
|
-
function _(e) {
|
|
439
|
-
return dt(e, Se);
|
|
440
|
-
}
|
|
441
|
-
_.propTypes = process.env.NODE_ENV !== "production" ? Se.reduce((e, t) => (e[t] = q, e), {}) : {};
|
|
442
|
-
_.filterProps = Se;
|
|
443
|
-
function k(e) {
|
|
444
|
-
return dt(e, Ee);
|
|
445
|
-
}
|
|
446
|
-
k.propTypes = process.env.NODE_ENV !== "production" ? Ee.reduce((e, t) => (e[t] = q, e), {}) : {};
|
|
447
|
-
k.filterProps = Ee;
|
|
448
|
-
process.env.NODE_ENV !== "production" && Mt.reduce((e, t) => (e[t] = q, e), {});
|
|
449
|
-
function $e(...e) {
|
|
450
|
-
const t = e.reduce((n, o) => (o.filterProps.forEach((a) => {
|
|
451
|
-
n[a] = o;
|
|
452
|
-
}), n), {}), r = (n) => Object.keys(n).reduce((o, a) => t[a] ? se(o, t[a](n)) : o, {});
|
|
453
|
-
return r.propTypes = process.env.NODE_ENV !== "production" ? e.reduce((n, o) => Object.assign(n, o.propTypes), {}) : {}, r.filterProps = e.reduce((n, o) => n.concat(o.filterProps), []), r;
|
|
454
|
-
}
|
|
455
|
-
function M(e) {
|
|
456
|
-
return typeof e != "number" ? e : `${e}px solid`;
|
|
457
|
-
}
|
|
458
|
-
function D(e, t) {
|
|
459
|
-
return R({
|
|
460
|
-
prop: e,
|
|
461
|
-
themeKey: "borders",
|
|
462
|
-
transform: t
|
|
463
|
-
});
|
|
464
|
-
}
|
|
465
|
-
const Vt = D("border", M), Lt = D("borderTop", M), Wt = D("borderRight", M), Ut = D("borderBottom", M), Gt = D("borderLeft", M), jt = D("borderColor"), zt = D("borderTopColor"), Yt = D("borderRightColor"), Kt = D("borderBottomColor"), Ht = D("borderLeftColor"), qt = D("outline", M), Qt = D("outlineColor"), Te = (e) => {
|
|
466
|
-
if (e.borderRadius !== void 0 && e.borderRadius !== null) {
|
|
467
|
-
const t = ce(e.theme, "shape.borderRadius", 4, "borderRadius"), r = (n) => ({
|
|
468
|
-
borderRadius: ue(t, n)
|
|
469
|
-
});
|
|
470
|
-
return G(e, e.borderRadius, r);
|
|
471
|
-
}
|
|
472
|
-
return null;
|
|
473
|
-
};
|
|
474
|
-
Te.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
475
|
-
borderRadius: q
|
|
476
|
-
} : {};
|
|
477
|
-
Te.filterProps = ["borderRadius"];
|
|
478
|
-
$e(Vt, Lt, Wt, Ut, Gt, jt, zt, Yt, Kt, Ht, Te, qt, Qt);
|
|
479
|
-
const Ae = (e) => {
|
|
480
|
-
if (e.gap !== void 0 && e.gap !== null) {
|
|
481
|
-
const t = ce(e.theme, "spacing", 8, "gap"), r = (n) => ({
|
|
482
|
-
gap: ue(t, n)
|
|
483
|
-
});
|
|
484
|
-
return G(e, e.gap, r);
|
|
485
|
-
}
|
|
486
|
-
return null;
|
|
487
|
-
};
|
|
488
|
-
Ae.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
489
|
-
gap: q
|
|
490
|
-
} : {};
|
|
491
|
-
Ae.filterProps = ["gap"];
|
|
492
|
-
const xe = (e) => {
|
|
493
|
-
if (e.columnGap !== void 0 && e.columnGap !== null) {
|
|
494
|
-
const t = ce(e.theme, "spacing", 8, "columnGap"), r = (n) => ({
|
|
495
|
-
columnGap: ue(t, n)
|
|
496
|
-
});
|
|
497
|
-
return G(e, e.columnGap, r);
|
|
498
|
-
}
|
|
499
|
-
return null;
|
|
500
|
-
};
|
|
501
|
-
xe.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
502
|
-
columnGap: q
|
|
503
|
-
} : {};
|
|
504
|
-
xe.filterProps = ["columnGap"];
|
|
505
|
-
const ve = (e) => {
|
|
506
|
-
if (e.rowGap !== void 0 && e.rowGap !== null) {
|
|
507
|
-
const t = ce(e.theme, "spacing", 8, "rowGap"), r = (n) => ({
|
|
508
|
-
rowGap: ue(t, n)
|
|
509
|
-
});
|
|
510
|
-
return G(e, e.rowGap, r);
|
|
511
|
-
}
|
|
512
|
-
return null;
|
|
513
|
-
};
|
|
514
|
-
ve.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
515
|
-
rowGap: q
|
|
516
|
-
} : {};
|
|
517
|
-
ve.filterProps = ["rowGap"];
|
|
518
|
-
const Xt = R({
|
|
519
|
-
prop: "gridColumn"
|
|
520
|
-
}), Jt = R({
|
|
521
|
-
prop: "gridRow"
|
|
522
|
-
}), Zt = R({
|
|
523
|
-
prop: "gridAutoFlow"
|
|
524
|
-
}), er = R({
|
|
525
|
-
prop: "gridAutoColumns"
|
|
526
|
-
}), tr = R({
|
|
527
|
-
prop: "gridAutoRows"
|
|
528
|
-
}), rr = R({
|
|
529
|
-
prop: "gridTemplateColumns"
|
|
530
|
-
}), nr = R({
|
|
531
|
-
prop: "gridTemplateRows"
|
|
532
|
-
}), or = R({
|
|
533
|
-
prop: "gridTemplateAreas"
|
|
534
|
-
}), ir = R({
|
|
535
|
-
prop: "gridArea"
|
|
536
|
-
});
|
|
537
|
-
$e(Ae, xe, ve, Xt, Jt, Zt, er, tr, rr, nr, or, ir);
|
|
538
|
-
function te(e, t) {
|
|
539
|
-
return t === "grey" ? t : e;
|
|
540
|
-
}
|
|
541
|
-
const ar = R({
|
|
542
|
-
prop: "color",
|
|
543
|
-
themeKey: "palette",
|
|
544
|
-
transform: te
|
|
545
|
-
}), sr = R({
|
|
546
|
-
prop: "bgcolor",
|
|
547
|
-
cssProperty: "backgroundColor",
|
|
548
|
-
themeKey: "palette",
|
|
549
|
-
transform: te
|
|
550
|
-
}), lr = R({
|
|
551
|
-
prop: "backgroundColor",
|
|
552
|
-
themeKey: "palette",
|
|
553
|
-
transform: te
|
|
554
|
-
});
|
|
555
|
-
$e(ar, sr, lr);
|
|
556
|
-
function P(e) {
|
|
557
|
-
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
558
|
-
}
|
|
559
|
-
const cr = R({
|
|
560
|
-
prop: "width",
|
|
561
|
-
transform: P
|
|
562
|
-
}), Me = (e) => {
|
|
563
|
-
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
564
|
-
const t = (r) => {
|
|
565
|
-
var o, a, l, c, f;
|
|
566
|
-
const n = ((l = (a = (o = e.theme) == null ? void 0 : o.breakpoints) == null ? void 0 : a.values) == null ? void 0 : l[r]) || be[r];
|
|
567
|
-
return n ? ((f = (c = e.theme) == null ? void 0 : c.breakpoints) == null ? void 0 : f.unit) !== "px" ? {
|
|
568
|
-
maxWidth: `${n}${e.theme.breakpoints.unit}`
|
|
569
|
-
} : {
|
|
570
|
-
maxWidth: n
|
|
571
|
-
} : {
|
|
572
|
-
maxWidth: P(r)
|
|
573
|
-
};
|
|
574
|
-
};
|
|
575
|
-
return G(e, e.maxWidth, t);
|
|
576
|
-
}
|
|
577
|
-
return null;
|
|
578
|
-
};
|
|
579
|
-
Me.filterProps = ["maxWidth"];
|
|
580
|
-
const ur = R({
|
|
581
|
-
prop: "minWidth",
|
|
582
|
-
transform: P
|
|
583
|
-
}), fr = R({
|
|
584
|
-
prop: "height",
|
|
585
|
-
transform: P
|
|
586
|
-
}), dr = R({
|
|
587
|
-
prop: "maxHeight",
|
|
588
|
-
transform: P
|
|
589
|
-
}), pr = R({
|
|
590
|
-
prop: "minHeight",
|
|
591
|
-
transform: P
|
|
592
|
-
});
|
|
593
|
-
R({
|
|
594
|
-
prop: "size",
|
|
595
|
-
cssProperty: "width",
|
|
596
|
-
transform: P
|
|
597
|
-
});
|
|
598
|
-
R({
|
|
599
|
-
prop: "size",
|
|
600
|
-
cssProperty: "height",
|
|
601
|
-
transform: P
|
|
602
|
-
});
|
|
603
|
-
const mr = R({
|
|
604
|
-
prop: "boxSizing"
|
|
605
|
-
});
|
|
606
|
-
$e(cr, Me, ur, fr, dr, pr, mr);
|
|
607
|
-
const we = {
|
|
608
|
-
// borders
|
|
609
|
-
border: {
|
|
610
|
-
themeKey: "borders",
|
|
611
|
-
transform: M
|
|
612
|
-
},
|
|
613
|
-
borderTop: {
|
|
614
|
-
themeKey: "borders",
|
|
615
|
-
transform: M
|
|
616
|
-
},
|
|
617
|
-
borderRight: {
|
|
618
|
-
themeKey: "borders",
|
|
619
|
-
transform: M
|
|
620
|
-
},
|
|
621
|
-
borderBottom: {
|
|
622
|
-
themeKey: "borders",
|
|
623
|
-
transform: M
|
|
624
|
-
},
|
|
625
|
-
borderLeft: {
|
|
626
|
-
themeKey: "borders",
|
|
627
|
-
transform: M
|
|
628
|
-
},
|
|
629
|
-
borderColor: {
|
|
630
|
-
themeKey: "palette"
|
|
631
|
-
},
|
|
632
|
-
borderTopColor: {
|
|
633
|
-
themeKey: "palette"
|
|
634
|
-
},
|
|
635
|
-
borderRightColor: {
|
|
636
|
-
themeKey: "palette"
|
|
637
|
-
},
|
|
638
|
-
borderBottomColor: {
|
|
639
|
-
themeKey: "palette"
|
|
640
|
-
},
|
|
641
|
-
borderLeftColor: {
|
|
642
|
-
themeKey: "palette"
|
|
643
|
-
},
|
|
644
|
-
outline: {
|
|
645
|
-
themeKey: "borders",
|
|
646
|
-
transform: M
|
|
647
|
-
},
|
|
648
|
-
outlineColor: {
|
|
649
|
-
themeKey: "palette"
|
|
650
|
-
},
|
|
651
|
-
borderRadius: {
|
|
652
|
-
themeKey: "shape.borderRadius",
|
|
653
|
-
style: Te
|
|
654
|
-
},
|
|
655
|
-
// palette
|
|
656
|
-
color: {
|
|
657
|
-
themeKey: "palette",
|
|
658
|
-
transform: te
|
|
659
|
-
},
|
|
660
|
-
bgcolor: {
|
|
661
|
-
themeKey: "palette",
|
|
662
|
-
cssProperty: "backgroundColor",
|
|
663
|
-
transform: te
|
|
664
|
-
},
|
|
665
|
-
backgroundColor: {
|
|
666
|
-
themeKey: "palette",
|
|
667
|
-
transform: te
|
|
668
|
-
},
|
|
669
|
-
// spacing
|
|
670
|
-
p: {
|
|
671
|
-
style: k
|
|
672
|
-
},
|
|
673
|
-
pt: {
|
|
674
|
-
style: k
|
|
675
|
-
},
|
|
676
|
-
pr: {
|
|
677
|
-
style: k
|
|
678
|
-
},
|
|
679
|
-
pb: {
|
|
680
|
-
style: k
|
|
681
|
-
},
|
|
682
|
-
pl: {
|
|
683
|
-
style: k
|
|
684
|
-
},
|
|
685
|
-
px: {
|
|
686
|
-
style: k
|
|
687
|
-
},
|
|
688
|
-
py: {
|
|
689
|
-
style: k
|
|
690
|
-
},
|
|
691
|
-
padding: {
|
|
692
|
-
style: k
|
|
693
|
-
},
|
|
694
|
-
paddingTop: {
|
|
695
|
-
style: k
|
|
696
|
-
},
|
|
697
|
-
paddingRight: {
|
|
698
|
-
style: k
|
|
699
|
-
},
|
|
700
|
-
paddingBottom: {
|
|
701
|
-
style: k
|
|
702
|
-
},
|
|
703
|
-
paddingLeft: {
|
|
704
|
-
style: k
|
|
705
|
-
},
|
|
706
|
-
paddingX: {
|
|
707
|
-
style: k
|
|
708
|
-
},
|
|
709
|
-
paddingY: {
|
|
710
|
-
style: k
|
|
711
|
-
},
|
|
712
|
-
paddingInline: {
|
|
713
|
-
style: k
|
|
714
|
-
},
|
|
715
|
-
paddingInlineStart: {
|
|
716
|
-
style: k
|
|
717
|
-
},
|
|
718
|
-
paddingInlineEnd: {
|
|
719
|
-
style: k
|
|
720
|
-
},
|
|
721
|
-
paddingBlock: {
|
|
722
|
-
style: k
|
|
723
|
-
},
|
|
724
|
-
paddingBlockStart: {
|
|
725
|
-
style: k
|
|
726
|
-
},
|
|
727
|
-
paddingBlockEnd: {
|
|
728
|
-
style: k
|
|
729
|
-
},
|
|
730
|
-
m: {
|
|
731
|
-
style: _
|
|
732
|
-
},
|
|
733
|
-
mt: {
|
|
734
|
-
style: _
|
|
735
|
-
},
|
|
736
|
-
mr: {
|
|
737
|
-
style: _
|
|
738
|
-
},
|
|
739
|
-
mb: {
|
|
740
|
-
style: _
|
|
741
|
-
},
|
|
742
|
-
ml: {
|
|
743
|
-
style: _
|
|
744
|
-
},
|
|
745
|
-
mx: {
|
|
746
|
-
style: _
|
|
747
|
-
},
|
|
748
|
-
my: {
|
|
749
|
-
style: _
|
|
750
|
-
},
|
|
751
|
-
margin: {
|
|
752
|
-
style: _
|
|
753
|
-
},
|
|
754
|
-
marginTop: {
|
|
755
|
-
style: _
|
|
756
|
-
},
|
|
757
|
-
marginRight: {
|
|
758
|
-
style: _
|
|
759
|
-
},
|
|
760
|
-
marginBottom: {
|
|
761
|
-
style: _
|
|
762
|
-
},
|
|
763
|
-
marginLeft: {
|
|
764
|
-
style: _
|
|
765
|
-
},
|
|
766
|
-
marginX: {
|
|
767
|
-
style: _
|
|
768
|
-
},
|
|
769
|
-
marginY: {
|
|
770
|
-
style: _
|
|
771
|
-
},
|
|
772
|
-
marginInline: {
|
|
773
|
-
style: _
|
|
774
|
-
},
|
|
775
|
-
marginInlineStart: {
|
|
776
|
-
style: _
|
|
777
|
-
},
|
|
778
|
-
marginInlineEnd: {
|
|
779
|
-
style: _
|
|
780
|
-
},
|
|
781
|
-
marginBlock: {
|
|
782
|
-
style: _
|
|
783
|
-
},
|
|
784
|
-
marginBlockStart: {
|
|
785
|
-
style: _
|
|
786
|
-
},
|
|
787
|
-
marginBlockEnd: {
|
|
788
|
-
style: _
|
|
789
|
-
},
|
|
790
|
-
// display
|
|
791
|
-
displayPrint: {
|
|
792
|
-
cssProperty: !1,
|
|
793
|
-
transform: (e) => ({
|
|
794
|
-
"@media print": {
|
|
795
|
-
display: e
|
|
796
|
-
}
|
|
797
|
-
})
|
|
798
|
-
},
|
|
799
|
-
display: {},
|
|
800
|
-
overflow: {},
|
|
801
|
-
textOverflow: {},
|
|
802
|
-
visibility: {},
|
|
803
|
-
whiteSpace: {},
|
|
804
|
-
// flexbox
|
|
805
|
-
flexBasis: {},
|
|
806
|
-
flexDirection: {},
|
|
807
|
-
flexWrap: {},
|
|
808
|
-
justifyContent: {},
|
|
809
|
-
alignItems: {},
|
|
810
|
-
alignContent: {},
|
|
811
|
-
order: {},
|
|
812
|
-
flex: {},
|
|
813
|
-
flexGrow: {},
|
|
814
|
-
flexShrink: {},
|
|
815
|
-
alignSelf: {},
|
|
816
|
-
justifyItems: {},
|
|
817
|
-
justifySelf: {},
|
|
818
|
-
// grid
|
|
819
|
-
gap: {
|
|
820
|
-
style: Ae
|
|
821
|
-
},
|
|
822
|
-
rowGap: {
|
|
823
|
-
style: ve
|
|
824
|
-
},
|
|
825
|
-
columnGap: {
|
|
826
|
-
style: xe
|
|
827
|
-
},
|
|
828
|
-
gridColumn: {},
|
|
829
|
-
gridRow: {},
|
|
830
|
-
gridAutoFlow: {},
|
|
831
|
-
gridAutoColumns: {},
|
|
832
|
-
gridAutoRows: {},
|
|
833
|
-
gridTemplateColumns: {},
|
|
834
|
-
gridTemplateRows: {},
|
|
835
|
-
gridTemplateAreas: {},
|
|
836
|
-
gridArea: {},
|
|
837
|
-
// positions
|
|
838
|
-
position: {},
|
|
839
|
-
zIndex: {
|
|
840
|
-
themeKey: "zIndex"
|
|
841
|
-
},
|
|
842
|
-
top: {},
|
|
843
|
-
right: {},
|
|
844
|
-
bottom: {},
|
|
845
|
-
left: {},
|
|
846
|
-
// shadows
|
|
847
|
-
boxShadow: {
|
|
848
|
-
themeKey: "shadows"
|
|
849
|
-
},
|
|
850
|
-
// sizing
|
|
851
|
-
width: {
|
|
852
|
-
transform: P
|
|
853
|
-
},
|
|
854
|
-
maxWidth: {
|
|
855
|
-
style: Me
|
|
856
|
-
},
|
|
857
|
-
minWidth: {
|
|
858
|
-
transform: P
|
|
859
|
-
},
|
|
860
|
-
height: {
|
|
861
|
-
transform: P
|
|
862
|
-
},
|
|
863
|
-
maxHeight: {
|
|
864
|
-
transform: P
|
|
865
|
-
},
|
|
866
|
-
minHeight: {
|
|
867
|
-
transform: P
|
|
868
|
-
},
|
|
869
|
-
boxSizing: {},
|
|
870
|
-
// typography
|
|
871
|
-
font: {
|
|
872
|
-
themeKey: "font"
|
|
873
|
-
},
|
|
874
|
-
fontFamily: {
|
|
875
|
-
themeKey: "typography"
|
|
876
|
-
},
|
|
877
|
-
fontSize: {
|
|
878
|
-
themeKey: "typography"
|
|
879
|
-
},
|
|
880
|
-
fontStyle: {
|
|
881
|
-
themeKey: "typography"
|
|
882
|
-
},
|
|
883
|
-
fontWeight: {
|
|
884
|
-
themeKey: "typography"
|
|
885
|
-
},
|
|
886
|
-
letterSpacing: {},
|
|
887
|
-
textTransform: {},
|
|
888
|
-
lineHeight: {},
|
|
889
|
-
textAlign: {},
|
|
890
|
-
typography: {
|
|
891
|
-
cssProperty: !1,
|
|
892
|
-
themeKey: "typography"
|
|
893
|
-
}
|
|
894
|
-
};
|
|
895
|
-
function gr(...e) {
|
|
896
|
-
const t = e.reduce((n, o) => n.concat(Object.keys(o)), []), r = new Set(t);
|
|
897
|
-
return e.every((n) => r.size === Object.keys(n).length);
|
|
898
|
-
}
|
|
899
|
-
function hr(e, t) {
|
|
900
|
-
return typeof e == "function" ? e(t) : e;
|
|
901
|
-
}
|
|
902
|
-
function yr() {
|
|
903
|
-
function e(r, n, o, a) {
|
|
904
|
-
const l = {
|
|
905
|
-
[r]: n,
|
|
906
|
-
theme: o
|
|
907
|
-
}, c = a[r];
|
|
908
|
-
if (!c)
|
|
909
|
-
return {
|
|
910
|
-
[r]: n
|
|
911
|
-
};
|
|
912
|
-
const {
|
|
913
|
-
cssProperty: f = r,
|
|
914
|
-
themeKey: d,
|
|
915
|
-
transform: h,
|
|
916
|
-
style: m
|
|
917
|
-
} = c;
|
|
918
|
-
if (n == null)
|
|
919
|
-
return null;
|
|
920
|
-
if (d === "typography" && n === "inherit")
|
|
921
|
-
return {
|
|
922
|
-
[r]: n
|
|
923
|
-
};
|
|
924
|
-
const p = Ce(o, d) || {};
|
|
925
|
-
return m ? m(l) : G(l, n, (g) => {
|
|
926
|
-
let s = he(p, h, g);
|
|
927
|
-
return g === s && typeof g == "string" && (s = he(p, h, `${r}${g === "default" ? "" : lt(g)}`, g)), f === !1 ? s : {
|
|
928
|
-
[f]: s
|
|
929
|
-
};
|
|
930
|
-
});
|
|
931
|
-
}
|
|
932
|
-
function t(r) {
|
|
933
|
-
const {
|
|
934
|
-
sx: n,
|
|
935
|
-
theme: o = {}
|
|
936
|
-
} = r || {};
|
|
937
|
-
if (!n)
|
|
938
|
-
return null;
|
|
939
|
-
const a = o.unstable_sxConfig ?? we;
|
|
940
|
-
function l(c) {
|
|
941
|
-
let f = c;
|
|
942
|
-
if (typeof c == "function")
|
|
943
|
-
f = c(o);
|
|
944
|
-
else if (typeof c != "object")
|
|
945
|
-
return c;
|
|
946
|
-
if (!f)
|
|
947
|
-
return null;
|
|
948
|
-
const d = ut(o.breakpoints), h = Object.keys(d);
|
|
949
|
-
let m = d;
|
|
950
|
-
return Object.keys(f).forEach((p) => {
|
|
951
|
-
const b = hr(f[p], o);
|
|
952
|
-
if (b != null)
|
|
953
|
-
if (typeof b == "object")
|
|
954
|
-
if (a[p])
|
|
955
|
-
m = se(m, e(p, b, o, a));
|
|
956
|
-
else {
|
|
957
|
-
const g = G({
|
|
958
|
-
theme: o
|
|
959
|
-
}, b, (s) => ({
|
|
960
|
-
[p]: s
|
|
961
|
-
}));
|
|
962
|
-
gr(g, b) ? m[p] = t({
|
|
963
|
-
sx: b,
|
|
964
|
-
theme: o
|
|
965
|
-
}) : m = se(m, g);
|
|
966
|
-
}
|
|
967
|
-
else
|
|
968
|
-
m = se(m, e(p, b, o, a));
|
|
969
|
-
}), vt(o, ft(h, m));
|
|
970
|
-
}
|
|
971
|
-
return Array.isArray(n) ? n.map(l) : l(n);
|
|
972
|
-
}
|
|
973
|
-
return t;
|
|
974
|
-
}
|
|
975
|
-
const Oe = yr();
|
|
976
|
-
Oe.filterProps = ["sx"];
|
|
977
|
-
function br(e) {
|
|
978
|
-
for (var t = 0, r, n = 0, o = e.length; o >= 4; ++n, o -= 4)
|
|
979
|
-
r = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, r = /* Math.imul(k, m): */
|
|
980
|
-
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
|
|
981
|
-
r >>> 24, t = /* Math.imul(k, m): */
|
|
982
|
-
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
983
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
984
|
-
switch (o) {
|
|
985
|
-
case 3:
|
|
986
|
-
t ^= (e.charCodeAt(n + 2) & 255) << 16;
|
|
987
|
-
case 2:
|
|
988
|
-
t ^= (e.charCodeAt(n + 1) & 255) << 8;
|
|
989
|
-
case 1:
|
|
990
|
-
t ^= e.charCodeAt(n) & 255, t = /* Math.imul(h, m): */
|
|
991
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
992
|
-
}
|
|
993
|
-
return t ^= t >>> 13, t = /* Math.imul(h, m): */
|
|
994
|
-
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
|
|
995
|
-
}
|
|
996
|
-
var Cr = {
|
|
997
|
-
animationIterationCount: 1,
|
|
998
|
-
aspectRatio: 1,
|
|
999
|
-
borderImageOutset: 1,
|
|
1000
|
-
borderImageSlice: 1,
|
|
1001
|
-
borderImageWidth: 1,
|
|
1002
|
-
boxFlex: 1,
|
|
1003
|
-
boxFlexGroup: 1,
|
|
1004
|
-
boxOrdinalGroup: 1,
|
|
1005
|
-
columnCount: 1,
|
|
1006
|
-
columns: 1,
|
|
1007
|
-
flex: 1,
|
|
1008
|
-
flexGrow: 1,
|
|
1009
|
-
flexPositive: 1,
|
|
1010
|
-
flexShrink: 1,
|
|
1011
|
-
flexNegative: 1,
|
|
1012
|
-
flexOrder: 1,
|
|
1013
|
-
gridRow: 1,
|
|
1014
|
-
gridRowEnd: 1,
|
|
1015
|
-
gridRowSpan: 1,
|
|
1016
|
-
gridRowStart: 1,
|
|
1017
|
-
gridColumn: 1,
|
|
1018
|
-
gridColumnEnd: 1,
|
|
1019
|
-
gridColumnSpan: 1,
|
|
1020
|
-
gridColumnStart: 1,
|
|
1021
|
-
msGridRow: 1,
|
|
1022
|
-
msGridRowSpan: 1,
|
|
1023
|
-
msGridColumn: 1,
|
|
1024
|
-
msGridColumnSpan: 1,
|
|
1025
|
-
fontWeight: 1,
|
|
1026
|
-
lineHeight: 1,
|
|
1027
|
-
opacity: 1,
|
|
1028
|
-
order: 1,
|
|
1029
|
-
orphans: 1,
|
|
1030
|
-
scale: 1,
|
|
1031
|
-
tabSize: 1,
|
|
1032
|
-
widows: 1,
|
|
1033
|
-
zIndex: 1,
|
|
1034
|
-
zoom: 1,
|
|
1035
|
-
WebkitLineClamp: 1,
|
|
1036
|
-
// SVG-related properties
|
|
1037
|
-
fillOpacity: 1,
|
|
1038
|
-
floodOpacity: 1,
|
|
1039
|
-
stopOpacity: 1,
|
|
1040
|
-
strokeDasharray: 1,
|
|
1041
|
-
strokeDashoffset: 1,
|
|
1042
|
-
strokeMiterlimit: 1,
|
|
1043
|
-
strokeOpacity: 1,
|
|
1044
|
-
strokeWidth: 1
|
|
1045
|
-
};
|
|
1046
|
-
function Sr(e) {
|
|
1047
|
-
var t = /* @__PURE__ */ Object.create(null);
|
|
1048
|
-
return function(r) {
|
|
1049
|
-
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
1050
|
-
};
|
|
1051
|
-
}
|
|
1052
|
-
var Er = /[A-Z]|^ms/g, $r = /_EMO_([^_]+?)_([^]*?)_EMO_/g, pt = function(t) {
|
|
1053
|
-
return t.charCodeAt(1) === 45;
|
|
1054
|
-
}, Ye = function(t) {
|
|
1055
|
-
return t != null && typeof t != "boolean";
|
|
1056
|
-
}, ke = /* @__PURE__ */ Sr(function(e) {
|
|
1057
|
-
return pt(e) ? e : e.replace(Er, "-$&").toLowerCase();
|
|
1058
|
-
}), Ke = function(t, r) {
|
|
1059
|
-
switch (t) {
|
|
1060
|
-
case "animation":
|
|
1061
|
-
case "animationName":
|
|
1062
|
-
if (typeof r == "string")
|
|
1063
|
-
return r.replace($r, function(n, o, a) {
|
|
1064
|
-
return K = {
|
|
1065
|
-
name: o,
|
|
1066
|
-
styles: a,
|
|
1067
|
-
next: K
|
|
1068
|
-
}, o;
|
|
1069
|
-
});
|
|
1070
|
-
}
|
|
1071
|
-
return Cr[t] !== 1 && !pt(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
|
|
1072
|
-
};
|
|
1073
|
-
function ye(e, t, r) {
|
|
1074
|
-
if (r == null)
|
|
1075
|
-
return "";
|
|
1076
|
-
var n = r;
|
|
1077
|
-
if (n.__emotion_styles !== void 0)
|
|
1078
|
-
return n;
|
|
1079
|
-
switch (typeof r) {
|
|
1080
|
-
case "boolean":
|
|
1081
|
-
return "";
|
|
1082
|
-
case "object": {
|
|
1083
|
-
var o = r;
|
|
1084
|
-
if (o.anim === 1)
|
|
1085
|
-
return K = {
|
|
1086
|
-
name: o.name,
|
|
1087
|
-
styles: o.styles,
|
|
1088
|
-
next: K
|
|
1089
|
-
}, o.name;
|
|
1090
|
-
var a = r;
|
|
1091
|
-
if (a.styles !== void 0) {
|
|
1092
|
-
var l = a.next;
|
|
1093
|
-
if (l !== void 0)
|
|
1094
|
-
for (; l !== void 0; )
|
|
1095
|
-
K = {
|
|
1096
|
-
name: l.name,
|
|
1097
|
-
styles: l.styles,
|
|
1098
|
-
next: K
|
|
1099
|
-
}, l = l.next;
|
|
1100
|
-
var c = a.styles + ";";
|
|
1101
|
-
return c;
|
|
1102
|
-
}
|
|
1103
|
-
return Tr(e, t, r);
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
var f = r;
|
|
1107
|
-
return f;
|
|
1108
|
-
}
|
|
1109
|
-
function Tr(e, t, r) {
|
|
1110
|
-
var n = "";
|
|
1111
|
-
if (Array.isArray(r))
|
|
1112
|
-
for (var o = 0; o < r.length; o++)
|
|
1113
|
-
n += ye(e, t, r[o]) + ";";
|
|
1114
|
-
else
|
|
1115
|
-
for (var a in r) {
|
|
1116
|
-
var l = r[a];
|
|
1117
|
-
if (typeof l != "object") {
|
|
1118
|
-
var c = l;
|
|
1119
|
-
Ye(c) && (n += ke(a) + ":" + Ke(a, c) + ";");
|
|
1120
|
-
} else if (Array.isArray(l) && typeof l[0] == "string" && t == null)
|
|
1121
|
-
for (var f = 0; f < l.length; f++)
|
|
1122
|
-
Ye(l[f]) && (n += ke(a) + ":" + Ke(a, l[f]) + ";");
|
|
1123
|
-
else {
|
|
1124
|
-
var d = ye(e, t, l);
|
|
1125
|
-
switch (a) {
|
|
1126
|
-
case "animation":
|
|
1127
|
-
case "animationName": {
|
|
1128
|
-
n += ke(a) + ":" + d + ";";
|
|
1129
|
-
break;
|
|
1130
|
-
}
|
|
1131
|
-
default:
|
|
1132
|
-
n += a + "{" + d + "}";
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
return n;
|
|
1137
|
-
}
|
|
1138
|
-
var He = /label:\s*([^\s;{]+)\s*(;|$)/g, K;
|
|
1139
|
-
function Ar(e, t, r) {
|
|
1140
|
-
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
1141
|
-
return e[0];
|
|
1142
|
-
var n = !0, o = "";
|
|
1143
|
-
K = void 0;
|
|
1144
|
-
var a = e[0];
|
|
1145
|
-
if (a == null || a.raw === void 0)
|
|
1146
|
-
n = !1, o += ye(r, t, a);
|
|
1147
|
-
else {
|
|
1148
|
-
var l = a;
|
|
1149
|
-
o += l[0];
|
|
1150
|
-
}
|
|
1151
|
-
for (var c = 1; c < e.length; c++)
|
|
1152
|
-
if (o += ye(r, t, e[c]), n) {
|
|
1153
|
-
var f = a;
|
|
1154
|
-
o += f[c];
|
|
1155
|
-
}
|
|
1156
|
-
He.lastIndex = 0;
|
|
1157
|
-
for (var d = "", h; (h = He.exec(o)) !== null; )
|
|
1158
|
-
d += "-" + h[1];
|
|
1159
|
-
var m = br(o) + d;
|
|
1160
|
-
return {
|
|
1161
|
-
name: m,
|
|
1162
|
-
styles: o,
|
|
1163
|
-
next: K
|
|
1164
|
-
};
|
|
1165
|
-
}
|
|
1166
|
-
/**
|
|
1167
|
-
* @mui/styled-engine v7.1.1
|
|
1168
|
-
*
|
|
1169
|
-
* @license MIT
|
|
1170
|
-
* This source code is licensed under the MIT license found in the
|
|
1171
|
-
* LICENSE file in the root directory of this source tree.
|
|
1172
|
-
*/
|
|
1173
|
-
function _n(e, t) {
|
|
1174
|
-
const r = $t(e, t);
|
|
1175
|
-
return process.env.NODE_ENV !== "production" ? (...n) => {
|
|
1176
|
-
const o = typeof e == "string" ? `"${e}"` : "component";
|
|
1177
|
-
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(`
|
|
1178
|
-
`)) : n.some((a) => a === void 0) && console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`), r(...n);
|
|
1179
|
-
} : r;
|
|
1180
|
-
}
|
|
1181
|
-
function kn(e, t) {
|
|
1182
|
-
Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
|
|
1183
|
-
}
|
|
1184
|
-
const qe = [];
|
|
1185
|
-
function Rn(e) {
|
|
1186
|
-
return qe[0] = e, Ar(qe);
|
|
1187
|
-
}
|
|
1188
|
-
const xr = (e) => {
|
|
1189
|
-
const t = Object.keys(e).map((r) => ({
|
|
1190
|
-
key: r,
|
|
1191
|
-
val: e[r]
|
|
1192
|
-
})) || [];
|
|
1193
|
-
return t.sort((r, n) => r.val - n.val), t.reduce((r, n) => ({
|
|
1194
|
-
...r,
|
|
1195
|
-
[n.key]: n.val
|
|
1196
|
-
}), {});
|
|
1197
|
-
};
|
|
1198
|
-
function vr(e) {
|
|
1199
|
-
const {
|
|
1200
|
-
// The breakpoint **start** at this value.
|
|
1201
|
-
// For instance with the first breakpoint xs: [xs, sm).
|
|
1202
|
-
values: t = {
|
|
1203
|
-
xs: 0,
|
|
1204
|
-
// phone
|
|
1205
|
-
sm: 600,
|
|
1206
|
-
// tablet
|
|
1207
|
-
md: 900,
|
|
1208
|
-
// small laptop
|
|
1209
|
-
lg: 1200,
|
|
1210
|
-
// desktop
|
|
1211
|
-
xl: 1536
|
|
1212
|
-
// large screen
|
|
1213
|
-
},
|
|
1214
|
-
unit: r = "px",
|
|
1215
|
-
step: n = 5,
|
|
1216
|
-
...o
|
|
1217
|
-
} = e, a = xr(t), l = Object.keys(a);
|
|
1218
|
-
function c(p) {
|
|
1219
|
-
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r})`;
|
|
1220
|
-
}
|
|
1221
|
-
function f(p) {
|
|
1222
|
-
return `@media (max-width:${(typeof t[p] == "number" ? t[p] : p) - n / 100}${r})`;
|
|
1223
|
-
}
|
|
1224
|
-
function d(p, b) {
|
|
1225
|
-
const g = l.indexOf(b);
|
|
1226
|
-
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${r}) and (max-width:${(g !== -1 && typeof t[l[g]] == "number" ? t[l[g]] : b) - n / 100}${r})`;
|
|
1227
|
-
}
|
|
1228
|
-
function h(p) {
|
|
1229
|
-
return l.indexOf(p) + 1 < l.length ? d(p, l[l.indexOf(p) + 1]) : c(p);
|
|
1230
|
-
}
|
|
1231
|
-
function m(p) {
|
|
1232
|
-
const b = l.indexOf(p);
|
|
1233
|
-
return b === 0 ? c(l[1]) : b === l.length - 1 ? f(l[b]) : d(p, l[l.indexOf(p) + 1]).replace("@media", "@media not all and");
|
|
1234
|
-
}
|
|
1235
|
-
return {
|
|
1236
|
-
keys: l,
|
|
1237
|
-
values: a,
|
|
1238
|
-
up: c,
|
|
1239
|
-
down: f,
|
|
1240
|
-
between: d,
|
|
1241
|
-
only: h,
|
|
1242
|
-
not: m,
|
|
1243
|
-
unit: r,
|
|
1244
|
-
...o
|
|
1245
|
-
};
|
|
1246
|
-
}
|
|
1247
|
-
const wr = {
|
|
1248
|
-
borderRadius: 4
|
|
1249
|
-
};
|
|
1250
|
-
function mt(e = 8, t = Pe({
|
|
1251
|
-
spacing: e
|
|
1252
|
-
})) {
|
|
1253
|
-
if (e.mui)
|
|
1254
|
-
return e;
|
|
1255
|
-
const r = (...n) => (process.env.NODE_ENV !== "production" && (n.length <= 4 || console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)), (n.length === 0 ? [1] : n).map((a) => {
|
|
1256
|
-
const l = t(a);
|
|
1257
|
-
return typeof l == "number" ? `${l}px` : l;
|
|
1258
|
-
}).join(" "));
|
|
1259
|
-
return r.mui = !0, r;
|
|
1260
|
-
}
|
|
1261
|
-
function Or(e, t) {
|
|
1262
|
-
var n;
|
|
1263
|
-
const r = this;
|
|
1264
|
-
if (r.vars) {
|
|
1265
|
-
if (!((n = r.colorSchemes) != null && n[e]) || typeof r.getColorSchemeSelector != "function")
|
|
1266
|
-
return {};
|
|
1267
|
-
let o = r.getColorSchemeSelector(e);
|
|
1268
|
-
return o === "&" ? t : ((o.includes("data-") || o.includes(".")) && (o = `*:where(${o.replace(/\s*&$/, "")}) &`), {
|
|
1269
|
-
[o]: t
|
|
1270
|
-
});
|
|
1271
|
-
}
|
|
1272
|
-
return r.palette.mode === e ? t : {};
|
|
1273
|
-
}
|
|
1274
|
-
function _r(e = {}, ...t) {
|
|
1275
|
-
const {
|
|
1276
|
-
breakpoints: r = {},
|
|
1277
|
-
palette: n = {},
|
|
1278
|
-
spacing: o,
|
|
1279
|
-
shape: a = {},
|
|
1280
|
-
...l
|
|
1281
|
-
} = e, c = vr(r), f = mt(o);
|
|
1282
|
-
let d = B({
|
|
1283
|
-
breakpoints: c,
|
|
1284
|
-
direction: "ltr",
|
|
1285
|
-
components: {},
|
|
1286
|
-
// Inject component definitions.
|
|
1287
|
-
palette: {
|
|
1288
|
-
mode: "light",
|
|
1289
|
-
...n
|
|
1290
|
-
},
|
|
1291
|
-
spacing: f,
|
|
1292
|
-
shape: {
|
|
1293
|
-
...wr,
|
|
1294
|
-
...a
|
|
1295
|
-
}
|
|
1296
|
-
}, l);
|
|
1297
|
-
return d = _t(d), d.applyStyles = Or, d = t.reduce((h, m) => B(h, m), d), d.unstable_sxConfig = {
|
|
1298
|
-
...we,
|
|
1299
|
-
...l == null ? void 0 : l.unstable_sxConfig
|
|
1300
|
-
}, d.unstable_sx = function(m) {
|
|
1301
|
-
return Oe({
|
|
1302
|
-
sx: m,
|
|
1303
|
-
theme: this
|
|
1304
|
-
});
|
|
1305
|
-
}, d;
|
|
1306
|
-
}
|
|
1307
|
-
const Qe = (e) => e, kr = () => {
|
|
1308
|
-
let e = Qe;
|
|
1309
|
-
return {
|
|
1310
|
-
configure(t) {
|
|
1311
|
-
e = t;
|
|
1312
|
-
},
|
|
1313
|
-
generate(t) {
|
|
1314
|
-
return e(t);
|
|
1315
|
-
},
|
|
1316
|
-
reset() {
|
|
1317
|
-
e = Qe;
|
|
1318
|
-
}
|
|
1319
|
-
};
|
|
1320
|
-
}, Rr = kr(), Nr = {
|
|
1321
|
-
active: "active",
|
|
1322
|
-
checked: "checked",
|
|
1323
|
-
completed: "completed",
|
|
1324
|
-
disabled: "disabled",
|
|
1325
|
-
error: "error",
|
|
1326
|
-
expanded: "expanded",
|
|
1327
|
-
focused: "focused",
|
|
1328
|
-
focusVisible: "focusVisible",
|
|
1329
|
-
open: "open",
|
|
1330
|
-
readOnly: "readOnly",
|
|
1331
|
-
required: "required",
|
|
1332
|
-
selected: "selected"
|
|
1333
|
-
};
|
|
1334
|
-
function gt(e, t, r = "Mui") {
|
|
1335
|
-
const n = Nr[t];
|
|
1336
|
-
return n ? `${r}-${n}` : `${Rr.generate(e)}-${t}`;
|
|
1337
|
-
}
|
|
1338
|
-
function Nn(e, t, r = "Mui") {
|
|
1339
|
-
const n = {};
|
|
1340
|
-
return t.forEach((o) => {
|
|
1341
|
-
n[o] = gt(e, o, r);
|
|
1342
|
-
}), n;
|
|
1343
|
-
}
|
|
1344
|
-
function Ir(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
1345
|
-
return Math.max(t, Math.min(e, r));
|
|
1346
|
-
}
|
|
1347
|
-
function De(e, t = 0, r = 1) {
|
|
1348
|
-
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), Ir(e, t, r);
|
|
1349
|
-
}
|
|
1350
|
-
function Br(e) {
|
|
1351
|
-
e = e.slice(1);
|
|
1352
|
-
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
1353
|
-
let r = e.match(t);
|
|
1354
|
-
return r && r[0].length === 1 && (r = r.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.`), r ? `rgb${r.length === 4 ? "a" : ""}(${r.map((n, o) => o < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
1355
|
-
}
|
|
1356
|
-
function Pr(e) {
|
|
1357
|
-
const t = e.toString(16);
|
|
1358
|
-
return t.length === 1 ? `0${t}` : t;
|
|
1359
|
-
}
|
|
1360
|
-
function j(e) {
|
|
1361
|
-
if (e.type)
|
|
1362
|
-
return e;
|
|
1363
|
-
if (e.charAt(0) === "#")
|
|
1364
|
-
return j(Br(e));
|
|
1365
|
-
const t = e.indexOf("("), r = e.substring(0, t);
|
|
1366
|
-
if (!["rgb", "rgba", "hsl", "hsla", "color"].includes(r))
|
|
1367
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
1368
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : H(9, e));
|
|
1369
|
-
let n = e.substring(t + 1, e.length - 1), o;
|
|
1370
|
-
if (r === "color") {
|
|
1371
|
-
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))
|
|
1372
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${o}\` color space.
|
|
1373
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : H(10, o));
|
|
1374
|
-
} else
|
|
1375
|
-
n = n.split(",");
|
|
1376
|
-
return n = n.map((a) => parseFloat(a)), {
|
|
1377
|
-
type: r,
|
|
1378
|
-
values: n,
|
|
1379
|
-
colorSpace: o
|
|
1380
|
-
};
|
|
1381
|
-
}
|
|
1382
|
-
const Mr = (e) => {
|
|
1383
|
-
const t = j(e);
|
|
1384
|
-
return t.values.slice(0, 3).map((r, n) => t.type.includes("hsl") && n !== 0 ? `${r}%` : r).join(" ");
|
|
1385
|
-
}, ie = (e, t) => {
|
|
1386
|
-
try {
|
|
1387
|
-
return Mr(e);
|
|
1388
|
-
} catch {
|
|
1389
|
-
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
1390
|
-
}
|
|
1391
|
-
};
|
|
1392
|
-
function _e(e) {
|
|
1393
|
-
const {
|
|
1394
|
-
type: t,
|
|
1395
|
-
colorSpace: r
|
|
1396
|
-
} = e;
|
|
1397
|
-
let {
|
|
1398
|
-
values: n
|
|
1399
|
-
} = e;
|
|
1400
|
-
return t.includes("rgb") ? n = n.map((o, a) => a < 3 ? parseInt(o, 10) : o) : t.includes("hsl") && (n[1] = `${n[1]}%`, n[2] = `${n[2]}%`), t.includes("color") ? n = `${r} ${n.join(" ")}` : n = `${n.join(", ")}`, `${t}(${n})`;
|
|
1401
|
-
}
|
|
1402
|
-
function In(e) {
|
|
1403
|
-
if (e.startsWith("#"))
|
|
1404
|
-
return e;
|
|
1405
|
-
const {
|
|
1406
|
-
values: t
|
|
1407
|
-
} = j(e);
|
|
1408
|
-
return `#${t.map((r, n) => Pr(n === 3 ? Math.round(255 * r) : r)).join("")}`;
|
|
1409
|
-
}
|
|
1410
|
-
function ht(e) {
|
|
1411
|
-
e = j(e);
|
|
1412
|
-
const {
|
|
1413
|
-
values: t
|
|
1414
|
-
} = e, r = t[0], n = t[1] / 100, o = t[2] / 100, a = n * Math.min(o, 1 - o), l = (d, h = (d + r / 30) % 12) => o - a * Math.max(Math.min(h - 3, 9 - h, 1), -1);
|
|
1415
|
-
let c = "rgb";
|
|
1416
|
-
const f = [Math.round(l(0) * 255), Math.round(l(8) * 255), Math.round(l(4) * 255)];
|
|
1417
|
-
return e.type === "hsla" && (c += "a", f.push(t[3])), _e({
|
|
1418
|
-
type: c,
|
|
1419
|
-
values: f
|
|
1420
|
-
});
|
|
1421
|
-
}
|
|
1422
|
-
function Ie(e) {
|
|
1423
|
-
e = j(e);
|
|
1424
|
-
let t = e.type === "hsl" || e.type === "hsla" ? j(ht(e)).values : e.values;
|
|
1425
|
-
return t = t.map((r) => (e.type !== "color" && (r /= 255), r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4)), Number((0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2]).toFixed(3));
|
|
1426
|
-
}
|
|
1427
|
-
function Xe(e, t) {
|
|
1428
|
-
const r = Ie(e), n = Ie(t);
|
|
1429
|
-
return (Math.max(r, n) + 0.05) / (Math.min(r, n) + 0.05);
|
|
1430
|
-
}
|
|
1431
|
-
function Dr(e, t) {
|
|
1432
|
-
return e = j(e), t = De(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, _e(e);
|
|
1433
|
-
}
|
|
1434
|
-
function me(e, t, r) {
|
|
1435
|
-
try {
|
|
1436
|
-
return Dr(e, t);
|
|
1437
|
-
} catch {
|
|
1438
|
-
return e;
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
1441
|
-
function Fe(e, t) {
|
|
1442
|
-
if (e = j(e), t = De(t), e.type.includes("hsl"))
|
|
1443
|
-
e.values[2] *= 1 - t;
|
|
1444
|
-
else if (e.type.includes("rgb") || e.type.includes("color"))
|
|
1445
|
-
for (let r = 0; r < 3; r += 1)
|
|
1446
|
-
e.values[r] *= 1 - t;
|
|
1447
|
-
return _e(e);
|
|
1448
|
-
}
|
|
1449
|
-
function x(e, t, r) {
|
|
1450
|
-
try {
|
|
1451
|
-
return Fe(e, t);
|
|
1452
|
-
} catch {
|
|
1453
|
-
return e;
|
|
1454
|
-
}
|
|
1455
|
-
}
|
|
1456
|
-
function Ve(e, t) {
|
|
1457
|
-
if (e = j(e), t = De(t), e.type.includes("hsl"))
|
|
1458
|
-
e.values[2] += (100 - e.values[2]) * t;
|
|
1459
|
-
else if (e.type.includes("rgb"))
|
|
1460
|
-
for (let r = 0; r < 3; r += 1)
|
|
1461
|
-
e.values[r] += (255 - e.values[r]) * t;
|
|
1462
|
-
else if (e.type.includes("color"))
|
|
1463
|
-
for (let r = 0; r < 3; r += 1)
|
|
1464
|
-
e.values[r] += (1 - e.values[r]) * t;
|
|
1465
|
-
return _e(e);
|
|
1466
|
-
}
|
|
1467
|
-
function v(e, t, r) {
|
|
1468
|
-
try {
|
|
1469
|
-
return Ve(e, t);
|
|
1470
|
-
} catch {
|
|
1471
|
-
return e;
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
function Fr(e, t = 0.15) {
|
|
1475
|
-
return Ie(e) > 0.5 ? Fe(e, t) : Ve(e, t);
|
|
1476
|
-
}
|
|
1477
|
-
function ge(e, t, r) {
|
|
1478
|
-
try {
|
|
1479
|
-
return Fr(e, t);
|
|
1480
|
-
} catch {
|
|
1481
|
-
return e;
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
function Vr(e = "") {
|
|
1485
|
-
function t(...n) {
|
|
1486
|
-
if (!n.length)
|
|
1487
|
-
return "";
|
|
1488
|
-
const o = n[0];
|
|
1489
|
-
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}${t(...n.slice(1))})` : `, ${o}`;
|
|
1490
|
-
}
|
|
1491
|
-
return (n, ...o) => `var(--${e ? `${e}-` : ""}${n}${t(...o)})`;
|
|
1492
|
-
}
|
|
1493
|
-
const Je = (e, t, r, n = []) => {
|
|
1494
|
-
let o = e;
|
|
1495
|
-
t.forEach((a, l) => {
|
|
1496
|
-
l === t.length - 1 ? Array.isArray(o) ? o[Number(a)] = r : o && typeof o == "object" && (o[a] = r) : o && typeof o == "object" && (o[a] || (o[a] = n.includes(a) ? [] : {}), o = o[a]);
|
|
1497
|
-
});
|
|
1498
|
-
}, Lr = (e, t, r) => {
|
|
1499
|
-
function n(o, a = [], l = []) {
|
|
1500
|
-
Object.entries(o).forEach(([c, f]) => {
|
|
1501
|
-
(!r || r && !r([...a, c])) && f != null && (typeof f == "object" && Object.keys(f).length > 0 ? n(f, [...a, c], Array.isArray(f) ? [...l, c] : l) : t([...a, c], f, l));
|
|
1502
|
-
});
|
|
1503
|
-
}
|
|
1504
|
-
n(e);
|
|
1505
|
-
}, Wr = (e, t) => typeof t == "number" ? ["lineHeight", "fontWeight", "opacity", "zIndex"].some((n) => e.includes(n)) || e[e.length - 1].toLowerCase().includes("opacity") ? t : `${t}px` : t;
|
|
1506
|
-
function Re(e, t) {
|
|
1507
|
-
const {
|
|
1508
|
-
prefix: r,
|
|
1509
|
-
shouldSkipGeneratingVar: n
|
|
1510
|
-
} = t || {}, o = {}, a = {}, l = {};
|
|
1511
|
-
return Lr(
|
|
1512
|
-
e,
|
|
1513
|
-
(c, f, d) => {
|
|
1514
|
-
if ((typeof f == "string" || typeof f == "number") && (!n || !n(c, f))) {
|
|
1515
|
-
const h = `--${r ? `${r}-` : ""}${c.join("-")}`, m = Wr(c, f);
|
|
1516
|
-
Object.assign(o, {
|
|
1517
|
-
[h]: m
|
|
1518
|
-
}), Je(a, c, `var(${h})`, d), Je(l, c, `var(${h}, ${m})`, d);
|
|
1519
|
-
}
|
|
1520
|
-
},
|
|
1521
|
-
(c) => c[0] === "vars"
|
|
1522
|
-
// skip 'vars/*' paths
|
|
1523
|
-
), {
|
|
1524
|
-
css: o,
|
|
1525
|
-
vars: a,
|
|
1526
|
-
varsWithDefaults: l
|
|
1527
|
-
};
|
|
1528
|
-
}
|
|
1529
|
-
function Ur(e, t = {}) {
|
|
1530
|
-
const {
|
|
1531
|
-
getSelector: r = S,
|
|
1532
|
-
disableCssColorScheme: n,
|
|
1533
|
-
colorSchemeSelector: o
|
|
1534
|
-
} = t, {
|
|
1535
|
-
colorSchemes: a = {},
|
|
1536
|
-
components: l,
|
|
1537
|
-
defaultColorScheme: c = "light",
|
|
1538
|
-
...f
|
|
1539
|
-
} = e, {
|
|
1540
|
-
vars: d,
|
|
1541
|
-
css: h,
|
|
1542
|
-
varsWithDefaults: m
|
|
1543
|
-
} = Re(f, t);
|
|
1544
|
-
let p = m;
|
|
1545
|
-
const b = {}, {
|
|
1546
|
-
[c]: g,
|
|
1547
|
-
...s
|
|
1548
|
-
} = a;
|
|
1549
|
-
if (Object.entries(s || {}).forEach(([E, C]) => {
|
|
1550
|
-
const {
|
|
1551
|
-
vars: I,
|
|
1552
|
-
css: W,
|
|
1553
|
-
varsWithDefaults: z
|
|
1554
|
-
} = Re(C, t);
|
|
1555
|
-
p = B(p, z), b[E] = {
|
|
1556
|
-
css: W,
|
|
1557
|
-
vars: I
|
|
1558
|
-
};
|
|
1559
|
-
}), g) {
|
|
1560
|
-
const {
|
|
1561
|
-
css: E,
|
|
1562
|
-
vars: C,
|
|
1563
|
-
varsWithDefaults: I
|
|
1564
|
-
} = Re(g, t);
|
|
1565
|
-
p = B(p, I), b[c] = {
|
|
1566
|
-
css: E,
|
|
1567
|
-
vars: C
|
|
1568
|
-
};
|
|
1569
|
-
}
|
|
1570
|
-
function S(E, C) {
|
|
1571
|
-
var W, z;
|
|
1572
|
-
let I = o;
|
|
1573
|
-
if (o === "class" && (I = ".%s"), o === "data" && (I = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (I = `[${o}="%s"]`), E) {
|
|
1574
|
-
if (I === "media")
|
|
1575
|
-
return e.defaultColorScheme === E ? ":root" : {
|
|
1576
|
-
[`@media (prefers-color-scheme: ${((z = (W = a[E]) == null ? void 0 : W.palette) == null ? void 0 : z.mode) || E})`]: {
|
|
1577
|
-
":root": C
|
|
1578
|
-
}
|
|
1579
|
-
};
|
|
1580
|
-
if (I)
|
|
1581
|
-
return e.defaultColorScheme === E ? `:root, ${I.replace("%s", String(E))}` : I.replace("%s", String(E));
|
|
1582
|
-
}
|
|
1583
|
-
return ":root";
|
|
1584
|
-
}
|
|
1585
|
-
return {
|
|
1586
|
-
vars: p,
|
|
1587
|
-
generateThemeVars: () => {
|
|
1588
|
-
let E = {
|
|
1589
|
-
...d
|
|
1590
|
-
};
|
|
1591
|
-
return Object.entries(b).forEach(([, {
|
|
1592
|
-
vars: C
|
|
1593
|
-
}]) => {
|
|
1594
|
-
E = B(E, C);
|
|
1595
|
-
}), E;
|
|
1596
|
-
},
|
|
1597
|
-
generateStyleSheets: () => {
|
|
1598
|
-
var re, V;
|
|
1599
|
-
const E = [], C = e.defaultColorScheme || "light";
|
|
1600
|
-
function I(i, y) {
|
|
1601
|
-
Object.keys(y).length && E.push(typeof i == "string" ? {
|
|
1602
|
-
[i]: {
|
|
1603
|
-
...y
|
|
1604
|
-
}
|
|
1605
|
-
} : i);
|
|
1606
|
-
}
|
|
1607
|
-
I(r(void 0, {
|
|
1608
|
-
...h
|
|
1609
|
-
}), h);
|
|
1610
|
-
const {
|
|
1611
|
-
[C]: W,
|
|
1612
|
-
...z
|
|
1613
|
-
} = b;
|
|
1614
|
-
if (W) {
|
|
1615
|
-
const {
|
|
1616
|
-
css: i
|
|
1617
|
-
} = W, y = (V = (re = a[C]) == null ? void 0 : re.palette) == null ? void 0 : V.mode, A = !n && y ? {
|
|
1618
|
-
colorScheme: y,
|
|
1619
|
-
...i
|
|
1620
|
-
} : {
|
|
1621
|
-
...i
|
|
1622
|
-
};
|
|
1623
|
-
I(r(C, {
|
|
1624
|
-
...A
|
|
1625
|
-
}), A);
|
|
1626
|
-
}
|
|
1627
|
-
return Object.entries(z).forEach(([i, {
|
|
1628
|
-
css: y
|
|
1629
|
-
}]) => {
|
|
1630
|
-
var fe, de;
|
|
1631
|
-
const A = (de = (fe = a[i]) == null ? void 0 : fe.palette) == null ? void 0 : de.mode, N = !n && A ? {
|
|
1632
|
-
colorScheme: A,
|
|
1633
|
-
...y
|
|
1634
|
-
} : {
|
|
1635
|
-
...y
|
|
1636
|
-
};
|
|
1637
|
-
I(r(i, {
|
|
1638
|
-
...N
|
|
1639
|
-
}), N);
|
|
1640
|
-
}), E;
|
|
1641
|
-
}
|
|
1642
|
-
};
|
|
1643
|
-
}
|
|
1644
|
-
function Gr(e) {
|
|
1645
|
-
return function(r) {
|
|
1646
|
-
return e === "media" ? (process.env.NODE_ENV !== "production" && r !== "light" && r !== "dark" && console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`), `@media (prefers-color-scheme: ${r})`) : e ? e.startsWith("data-") && !e.includes("%s") ? `[${e}="${r}"] &` : e === "class" ? `.${r} &` : e === "data" ? `[data-${r}] &` : `${e.replace("%s", r)} &` : "&";
|
|
1647
|
-
};
|
|
1648
|
-
}
|
|
1649
|
-
const le = {
|
|
1650
|
-
black: "#000",
|
|
1651
|
-
white: "#fff"
|
|
1652
|
-
}, jr = {
|
|
1653
|
-
50: "#fafafa",
|
|
1654
|
-
100: "#f5f5f5",
|
|
1655
|
-
200: "#eeeeee",
|
|
1656
|
-
300: "#e0e0e0",
|
|
1657
|
-
400: "#bdbdbd",
|
|
1658
|
-
500: "#9e9e9e",
|
|
1659
|
-
600: "#757575",
|
|
1660
|
-
700: "#616161",
|
|
1661
|
-
800: "#424242",
|
|
1662
|
-
900: "#212121",
|
|
1663
|
-
A100: "#f5f5f5",
|
|
1664
|
-
A200: "#eeeeee",
|
|
1665
|
-
A400: "#bdbdbd",
|
|
1666
|
-
A700: "#616161"
|
|
1667
|
-
}, Q = {
|
|
1668
|
-
50: "#f3e5f5",
|
|
1669
|
-
100: "#e1bee7",
|
|
1670
|
-
200: "#ce93d8",
|
|
1671
|
-
300: "#ba68c8",
|
|
1672
|
-
400: "#ab47bc",
|
|
1673
|
-
500: "#9c27b0",
|
|
1674
|
-
600: "#8e24aa",
|
|
1675
|
-
700: "#7b1fa2",
|
|
1676
|
-
800: "#6a1b9a",
|
|
1677
|
-
900: "#4a148c",
|
|
1678
|
-
A100: "#ea80fc",
|
|
1679
|
-
A200: "#e040fb",
|
|
1680
|
-
A400: "#d500f9",
|
|
1681
|
-
A700: "#aa00ff"
|
|
1682
|
-
}, X = {
|
|
1683
|
-
50: "#ffebee",
|
|
1684
|
-
100: "#ffcdd2",
|
|
1685
|
-
200: "#ef9a9a",
|
|
1686
|
-
300: "#e57373",
|
|
1687
|
-
400: "#ef5350",
|
|
1688
|
-
500: "#f44336",
|
|
1689
|
-
600: "#e53935",
|
|
1690
|
-
700: "#d32f2f",
|
|
1691
|
-
800: "#c62828",
|
|
1692
|
-
900: "#b71c1c",
|
|
1693
|
-
A100: "#ff8a80",
|
|
1694
|
-
A200: "#ff5252",
|
|
1695
|
-
A400: "#ff1744",
|
|
1696
|
-
A700: "#d50000"
|
|
1697
|
-
}, oe = {
|
|
1698
|
-
50: "#fff3e0",
|
|
1699
|
-
100: "#ffe0b2",
|
|
1700
|
-
200: "#ffcc80",
|
|
1701
|
-
300: "#ffb74d",
|
|
1702
|
-
400: "#ffa726",
|
|
1703
|
-
500: "#ff9800",
|
|
1704
|
-
600: "#fb8c00",
|
|
1705
|
-
700: "#f57c00",
|
|
1706
|
-
800: "#ef6c00",
|
|
1707
|
-
900: "#e65100",
|
|
1708
|
-
A100: "#ffd180",
|
|
1709
|
-
A200: "#ffab40",
|
|
1710
|
-
A400: "#ff9100",
|
|
1711
|
-
A700: "#ff6d00"
|
|
1712
|
-
}, J = {
|
|
1713
|
-
50: "#e3f2fd",
|
|
1714
|
-
100: "#bbdefb",
|
|
1715
|
-
200: "#90caf9",
|
|
1716
|
-
300: "#64b5f6",
|
|
1717
|
-
400: "#42a5f5",
|
|
1718
|
-
500: "#2196f3",
|
|
1719
|
-
600: "#1e88e5",
|
|
1720
|
-
700: "#1976d2",
|
|
1721
|
-
800: "#1565c0",
|
|
1722
|
-
900: "#0d47a1",
|
|
1723
|
-
A100: "#82b1ff",
|
|
1724
|
-
A200: "#448aff",
|
|
1725
|
-
A400: "#2979ff",
|
|
1726
|
-
A700: "#2962ff"
|
|
1727
|
-
}, Z = {
|
|
1728
|
-
50: "#e1f5fe",
|
|
1729
|
-
100: "#b3e5fc",
|
|
1730
|
-
200: "#81d4fa",
|
|
1731
|
-
300: "#4fc3f7",
|
|
1732
|
-
400: "#29b6f6",
|
|
1733
|
-
500: "#03a9f4",
|
|
1734
|
-
600: "#039be5",
|
|
1735
|
-
700: "#0288d1",
|
|
1736
|
-
800: "#0277bd",
|
|
1737
|
-
900: "#01579b",
|
|
1738
|
-
A100: "#80d8ff",
|
|
1739
|
-
A200: "#40c4ff",
|
|
1740
|
-
A400: "#00b0ff",
|
|
1741
|
-
A700: "#0091ea"
|
|
1742
|
-
}, ee = {
|
|
1743
|
-
50: "#e8f5e9",
|
|
1744
|
-
100: "#c8e6c9",
|
|
1745
|
-
200: "#a5d6a7",
|
|
1746
|
-
300: "#81c784",
|
|
1747
|
-
400: "#66bb6a",
|
|
1748
|
-
500: "#4caf50",
|
|
1749
|
-
600: "#43a047",
|
|
1750
|
-
700: "#388e3c",
|
|
1751
|
-
800: "#2e7d32",
|
|
1752
|
-
900: "#1b5e20",
|
|
1753
|
-
A100: "#b9f6ca",
|
|
1754
|
-
A200: "#69f0ae",
|
|
1755
|
-
A400: "#00e676",
|
|
1756
|
-
A700: "#00c853"
|
|
1757
|
-
};
|
|
1758
|
-
function yt() {
|
|
1759
|
-
return {
|
|
1760
|
-
// The colors used to style the text.
|
|
1761
|
-
text: {
|
|
1762
|
-
// The most important text.
|
|
1763
|
-
primary: "rgba(0, 0, 0, 0.87)",
|
|
1764
|
-
// Secondary text.
|
|
1765
|
-
secondary: "rgba(0, 0, 0, 0.6)",
|
|
1766
|
-
// Disabled text have even lower visual prominence.
|
|
1767
|
-
disabled: "rgba(0, 0, 0, 0.38)"
|
|
1768
|
-
},
|
|
1769
|
-
// The color used to divide different elements.
|
|
1770
|
-
divider: "rgba(0, 0, 0, 0.12)",
|
|
1771
|
-
// The background colors used to style the surfaces.
|
|
1772
|
-
// Consistency between these values is important.
|
|
1773
|
-
background: {
|
|
1774
|
-
paper: le.white,
|
|
1775
|
-
default: le.white
|
|
1776
|
-
},
|
|
1777
|
-
// The colors used to style the action elements.
|
|
1778
|
-
action: {
|
|
1779
|
-
// The color of an active action like an icon button.
|
|
1780
|
-
active: "rgba(0, 0, 0, 0.54)",
|
|
1781
|
-
// The color of an hovered action.
|
|
1782
|
-
hover: "rgba(0, 0, 0, 0.04)",
|
|
1783
|
-
hoverOpacity: 0.04,
|
|
1784
|
-
// The color of a selected action.
|
|
1785
|
-
selected: "rgba(0, 0, 0, 0.08)",
|
|
1786
|
-
selectedOpacity: 0.08,
|
|
1787
|
-
// The color of a disabled action.
|
|
1788
|
-
disabled: "rgba(0, 0, 0, 0.26)",
|
|
1789
|
-
// The background color of a disabled action.
|
|
1790
|
-
disabledBackground: "rgba(0, 0, 0, 0.12)",
|
|
1791
|
-
disabledOpacity: 0.38,
|
|
1792
|
-
focus: "rgba(0, 0, 0, 0.12)",
|
|
1793
|
-
focusOpacity: 0.12,
|
|
1794
|
-
activatedOpacity: 0.12
|
|
1795
|
-
}
|
|
1796
|
-
};
|
|
1797
|
-
}
|
|
1798
|
-
const zr = yt();
|
|
1799
|
-
function bt() {
|
|
1800
|
-
return {
|
|
1801
|
-
text: {
|
|
1802
|
-
primary: le.white,
|
|
1803
|
-
secondary: "rgba(255, 255, 255, 0.7)",
|
|
1804
|
-
disabled: "rgba(255, 255, 255, 0.5)",
|
|
1805
|
-
icon: "rgba(255, 255, 255, 0.5)"
|
|
1806
|
-
},
|
|
1807
|
-
divider: "rgba(255, 255, 255, 0.12)",
|
|
1808
|
-
background: {
|
|
1809
|
-
paper: "#121212",
|
|
1810
|
-
default: "#121212"
|
|
1811
|
-
},
|
|
1812
|
-
action: {
|
|
1813
|
-
active: le.white,
|
|
1814
|
-
hover: "rgba(255, 255, 255, 0.08)",
|
|
1815
|
-
hoverOpacity: 0.08,
|
|
1816
|
-
selected: "rgba(255, 255, 255, 0.16)",
|
|
1817
|
-
selectedOpacity: 0.16,
|
|
1818
|
-
disabled: "rgba(255, 255, 255, 0.3)",
|
|
1819
|
-
disabledBackground: "rgba(255, 255, 255, 0.12)",
|
|
1820
|
-
disabledOpacity: 0.38,
|
|
1821
|
-
focus: "rgba(255, 255, 255, 0.12)",
|
|
1822
|
-
focusOpacity: 0.12,
|
|
1823
|
-
activatedOpacity: 0.24
|
|
1824
|
-
}
|
|
1825
|
-
};
|
|
1826
|
-
}
|
|
1827
|
-
const Ze = bt();
|
|
1828
|
-
function et(e, t, r, n) {
|
|
1829
|
-
const o = n.light || n, a = n.dark || n * 1.5;
|
|
1830
|
-
e[t] || (e.hasOwnProperty(r) ? e[t] = e[r] : t === "light" ? e.light = Ve(e.main, o) : t === "dark" && (e.dark = Fe(e.main, a)));
|
|
1831
|
-
}
|
|
1832
|
-
function Yr(e = "light") {
|
|
1833
|
-
return e === "dark" ? {
|
|
1834
|
-
main: J[200],
|
|
1835
|
-
light: J[50],
|
|
1836
|
-
dark: J[400]
|
|
1837
|
-
} : {
|
|
1838
|
-
main: J[700],
|
|
1839
|
-
light: J[400],
|
|
1840
|
-
dark: J[800]
|
|
1841
|
-
};
|
|
1842
|
-
}
|
|
1843
|
-
function Kr(e = "light") {
|
|
1844
|
-
return e === "dark" ? {
|
|
1845
|
-
main: Q[200],
|
|
1846
|
-
light: Q[50],
|
|
1847
|
-
dark: Q[400]
|
|
1848
|
-
} : {
|
|
1849
|
-
main: Q[500],
|
|
1850
|
-
light: Q[300],
|
|
1851
|
-
dark: Q[700]
|
|
1852
|
-
};
|
|
1853
|
-
}
|
|
1854
|
-
function Hr(e = "light") {
|
|
1855
|
-
return e === "dark" ? {
|
|
1856
|
-
main: X[500],
|
|
1857
|
-
light: X[300],
|
|
1858
|
-
dark: X[700]
|
|
1859
|
-
} : {
|
|
1860
|
-
main: X[700],
|
|
1861
|
-
light: X[400],
|
|
1862
|
-
dark: X[800]
|
|
1863
|
-
};
|
|
1864
|
-
}
|
|
1865
|
-
function qr(e = "light") {
|
|
1866
|
-
return e === "dark" ? {
|
|
1867
|
-
main: Z[400],
|
|
1868
|
-
light: Z[300],
|
|
1869
|
-
dark: Z[700]
|
|
1870
|
-
} : {
|
|
1871
|
-
main: Z[700],
|
|
1872
|
-
light: Z[500],
|
|
1873
|
-
dark: Z[900]
|
|
1874
|
-
};
|
|
1875
|
-
}
|
|
1876
|
-
function Qr(e = "light") {
|
|
1877
|
-
return e === "dark" ? {
|
|
1878
|
-
main: ee[400],
|
|
1879
|
-
light: ee[300],
|
|
1880
|
-
dark: ee[700]
|
|
1881
|
-
} : {
|
|
1882
|
-
main: ee[800],
|
|
1883
|
-
light: ee[500],
|
|
1884
|
-
dark: ee[900]
|
|
1885
|
-
};
|
|
1886
|
-
}
|
|
1887
|
-
function Xr(e = "light") {
|
|
1888
|
-
return e === "dark" ? {
|
|
1889
|
-
main: oe[400],
|
|
1890
|
-
light: oe[300],
|
|
1891
|
-
dark: oe[700]
|
|
1892
|
-
} : {
|
|
1893
|
-
main: "#ed6c02",
|
|
1894
|
-
// closest to orange[800] that pass 3:1.
|
|
1895
|
-
light: oe[500],
|
|
1896
|
-
dark: oe[900]
|
|
1897
|
-
};
|
|
1898
|
-
}
|
|
1899
|
-
function Le(e) {
|
|
1900
|
-
const {
|
|
1901
|
-
mode: t = "light",
|
|
1902
|
-
contrastThreshold: r = 3,
|
|
1903
|
-
tonalOffset: n = 0.2,
|
|
1904
|
-
...o
|
|
1905
|
-
} = e, a = e.primary || Yr(t), l = e.secondary || Kr(t), c = e.error || Hr(t), f = e.info || qr(t), d = e.success || Qr(t), h = e.warning || Xr(t);
|
|
1906
|
-
function m(s) {
|
|
1907
|
-
const S = Xe(s, Ze.text.primary) >= r ? Ze.text.primary : zr.text.primary;
|
|
1908
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1909
|
-
const w = Xe(s, S);
|
|
1910
|
-
w < 3 && console.error([`MUI: The contrast ratio of ${w}:1 for ${S} 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(`
|
|
1911
|
-
`));
|
|
1912
|
-
}
|
|
1913
|
-
return S;
|
|
1914
|
-
}
|
|
1915
|
-
const p = ({
|
|
1916
|
-
color: s,
|
|
1917
|
-
name: S,
|
|
1918
|
-
mainShade: w = 500,
|
|
1919
|
-
lightShade: F = 300,
|
|
1920
|
-
darkShade: E = 700
|
|
1921
|
-
}) => {
|
|
1922
|
-
if (s = {
|
|
1923
|
-
...s
|
|
1924
|
-
}, !s.main && s[w] && (s.main = s[w]), !s.hasOwnProperty("main"))
|
|
1925
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid.
|
|
1926
|
-
The color object needs to have a \`main\` property or a \`${w}\` property.` : H(11, S ? ` (${S})` : "", w));
|
|
1927
|
-
if (typeof s.main != "string")
|
|
1928
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${S ? ` (${S})` : ""} provided to augmentColor(color) is invalid.
|
|
1929
|
-
\`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
|
|
1930
|
-
|
|
1931
|
-
Did you intend to use one of the following approaches?
|
|
1932
|
-
|
|
1933
|
-
import { green } from "@mui/material/colors";
|
|
1934
|
-
|
|
1935
|
-
const theme1 = createTheme({ palette: {
|
|
1936
|
-
primary: green,
|
|
1937
|
-
} });
|
|
1938
|
-
|
|
1939
|
-
const theme2 = createTheme({ palette: {
|
|
1940
|
-
primary: { main: green[500] },
|
|
1941
|
-
} });` : H(12, S ? ` (${S})` : "", JSON.stringify(s.main)));
|
|
1942
|
-
return et(s, "light", F, n), et(s, "dark", E, n), s.contrastText || (s.contrastText = m(s.main)), s;
|
|
1943
|
-
};
|
|
1944
|
-
let b;
|
|
1945
|
-
return t === "light" ? b = yt() : t === "dark" && (b = bt()), process.env.NODE_ENV !== "production" && (b || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), B({
|
|
1946
|
-
// A collection of common colors.
|
|
1947
|
-
common: {
|
|
1948
|
-
...le
|
|
1949
|
-
},
|
|
1950
|
-
// prevent mutable object.
|
|
1951
|
-
// The palette mode, can be light or dark.
|
|
1952
|
-
mode: t,
|
|
1953
|
-
// The colors used to represent primary interface elements for a user.
|
|
1954
|
-
primary: p({
|
|
1955
|
-
color: a,
|
|
1956
|
-
name: "primary"
|
|
1957
|
-
}),
|
|
1958
|
-
// The colors used to represent secondary interface elements for a user.
|
|
1959
|
-
secondary: p({
|
|
1960
|
-
color: l,
|
|
1961
|
-
name: "secondary",
|
|
1962
|
-
mainShade: "A400",
|
|
1963
|
-
lightShade: "A200",
|
|
1964
|
-
darkShade: "A700"
|
|
1965
|
-
}),
|
|
1966
|
-
// The colors used to represent interface elements that the user should be made aware of.
|
|
1967
|
-
error: p({
|
|
1968
|
-
color: c,
|
|
1969
|
-
name: "error"
|
|
1970
|
-
}),
|
|
1971
|
-
// The colors used to represent potentially dangerous actions or important messages.
|
|
1972
|
-
warning: p({
|
|
1973
|
-
color: h,
|
|
1974
|
-
name: "warning"
|
|
1975
|
-
}),
|
|
1976
|
-
// The colors used to present information to the user that is neutral and not necessarily important.
|
|
1977
|
-
info: p({
|
|
1978
|
-
color: f,
|
|
1979
|
-
name: "info"
|
|
1980
|
-
}),
|
|
1981
|
-
// The colors used to indicate the successful completion of an action that user triggered.
|
|
1982
|
-
success: p({
|
|
1983
|
-
color: d,
|
|
1984
|
-
name: "success"
|
|
1985
|
-
}),
|
|
1986
|
-
// The grey colors.
|
|
1987
|
-
grey: jr,
|
|
1988
|
-
// Used by `getContrastText()` to maximize the contrast between
|
|
1989
|
-
// the background and the text.
|
|
1990
|
-
contrastThreshold: r,
|
|
1991
|
-
// Takes a background color and returns the text color that maximizes the contrast.
|
|
1992
|
-
getContrastText: m,
|
|
1993
|
-
// Generate a rich color object.
|
|
1994
|
-
augmentColor: p,
|
|
1995
|
-
// Used by the functions below to shift a color's luminance by approximately
|
|
1996
|
-
// two indexes within its tonal palette.
|
|
1997
|
-
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
1998
|
-
tonalOffset: n,
|
|
1999
|
-
// The light and dark mode object.
|
|
2000
|
-
...b
|
|
2001
|
-
}, o);
|
|
2002
|
-
}
|
|
2003
|
-
function Jr(e) {
|
|
2004
|
-
const t = {};
|
|
2005
|
-
return Object.entries(e).forEach((n) => {
|
|
2006
|
-
const [o, a] = n;
|
|
2007
|
-
typeof a == "object" && (t[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 || ""}`);
|
|
2008
|
-
}), t;
|
|
2009
|
-
}
|
|
2010
|
-
function Zr(e, t) {
|
|
2011
|
-
return {
|
|
2012
|
-
toolbar: {
|
|
2013
|
-
minHeight: 56,
|
|
2014
|
-
[e.up("xs")]: {
|
|
2015
|
-
"@media (orientation: landscape)": {
|
|
2016
|
-
minHeight: 48
|
|
2017
|
-
}
|
|
2018
|
-
},
|
|
2019
|
-
[e.up("sm")]: {
|
|
2020
|
-
minHeight: 64
|
|
2021
|
-
}
|
|
2022
|
-
},
|
|
2023
|
-
...t
|
|
2024
|
-
};
|
|
2025
|
-
}
|
|
2026
|
-
function en(e) {
|
|
2027
|
-
return Math.round(e * 1e5) / 1e5;
|
|
2028
|
-
}
|
|
2029
|
-
const tt = {
|
|
2030
|
-
textTransform: "uppercase"
|
|
2031
|
-
}, rt = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
2032
|
-
function tn(e, t) {
|
|
2033
|
-
const {
|
|
2034
|
-
fontFamily: r = rt,
|
|
2035
|
-
// The default font size of the Material Specification.
|
|
2036
|
-
fontSize: n = 14,
|
|
2037
|
-
// px
|
|
2038
|
-
fontWeightLight: o = 300,
|
|
2039
|
-
fontWeightRegular: a = 400,
|
|
2040
|
-
fontWeightMedium: l = 500,
|
|
2041
|
-
fontWeightBold: c = 700,
|
|
2042
|
-
// Tell MUI what's the font-size on the html element.
|
|
2043
|
-
// 16px is the default font-size used by browsers.
|
|
2044
|
-
htmlFontSize: f = 16,
|
|
2045
|
-
// Apply the CSS properties to all the variants.
|
|
2046
|
-
allVariants: d,
|
|
2047
|
-
pxToRem: h,
|
|
2048
|
-
...m
|
|
2049
|
-
} = typeof t == "function" ? t(e) : t;
|
|
2050
|
-
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."));
|
|
2051
|
-
const p = n / 14, b = h || ((S) => `${S / f * p}rem`), g = (S, w, F, E, C) => ({
|
|
2052
|
-
fontFamily: r,
|
|
2053
|
-
fontWeight: S,
|
|
2054
|
-
fontSize: b(w),
|
|
2055
|
-
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
2056
|
-
lineHeight: F,
|
|
2057
|
-
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
2058
|
-
// across font-families can cause issues with the kerning.
|
|
2059
|
-
...r === rt ? {
|
|
2060
|
-
letterSpacing: `${en(E / w)}em`
|
|
2061
|
-
} : {},
|
|
2062
|
-
...C,
|
|
2063
|
-
...d
|
|
2064
|
-
}), s = {
|
|
2065
|
-
h1: g(o, 96, 1.167, -1.5),
|
|
2066
|
-
h2: g(o, 60, 1.2, -0.5),
|
|
2067
|
-
h3: g(a, 48, 1.167, 0),
|
|
2068
|
-
h4: g(a, 34, 1.235, 0.25),
|
|
2069
|
-
h5: g(a, 24, 1.334, 0),
|
|
2070
|
-
h6: g(l, 20, 1.6, 0.15),
|
|
2071
|
-
subtitle1: g(a, 16, 1.75, 0.15),
|
|
2072
|
-
subtitle2: g(l, 14, 1.57, 0.1),
|
|
2073
|
-
body1: g(a, 16, 1.5, 0.15),
|
|
2074
|
-
body2: g(a, 14, 1.43, 0.15),
|
|
2075
|
-
button: g(l, 14, 1.75, 0.4, tt),
|
|
2076
|
-
caption: g(a, 12, 1.66, 0.4),
|
|
2077
|
-
overline: g(a, 12, 2.66, 1, tt),
|
|
2078
|
-
// 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.
|
|
2079
|
-
inherit: {
|
|
2080
|
-
fontFamily: "inherit",
|
|
2081
|
-
fontWeight: "inherit",
|
|
2082
|
-
fontSize: "inherit",
|
|
2083
|
-
lineHeight: "inherit",
|
|
2084
|
-
letterSpacing: "inherit"
|
|
2085
|
-
}
|
|
2086
|
-
};
|
|
2087
|
-
return B({
|
|
2088
|
-
htmlFontSize: f,
|
|
2089
|
-
pxToRem: b,
|
|
2090
|
-
fontFamily: r,
|
|
2091
|
-
fontSize: n,
|
|
2092
|
-
fontWeightLight: o,
|
|
2093
|
-
fontWeightRegular: a,
|
|
2094
|
-
fontWeightMedium: l,
|
|
2095
|
-
fontWeightBold: c,
|
|
2096
|
-
...s
|
|
2097
|
-
}, m, {
|
|
2098
|
-
clone: !1
|
|
2099
|
-
// No need to clone deep
|
|
2100
|
-
});
|
|
2101
|
-
}
|
|
2102
|
-
const rn = 0.2, nn = 0.14, on = 0.12;
|
|
2103
|
-
function O(...e) {
|
|
2104
|
-
return [`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rn})`, `${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${nn})`, `${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${on})`].join(",");
|
|
2105
|
-
}
|
|
2106
|
-
const an = ["none", O(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), O(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), O(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), O(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), O(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), O(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), O(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), O(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), O(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), O(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), O(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), O(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), O(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), O(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), O(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), O(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), O(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), O(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), O(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), O(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), O(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), O(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), O(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), O(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], sn = {
|
|
2107
|
-
// This is the most common easing curve.
|
|
2108
|
-
easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
2109
|
-
// Objects enter the screen at full velocity from off-screen and
|
|
2110
|
-
// slowly decelerate to a resting point.
|
|
2111
|
-
easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
2112
|
-
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
|
|
2113
|
-
easeIn: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2114
|
-
// The sharp curve is used by objects that may return to the screen at any time.
|
|
2115
|
-
sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
|
|
2116
|
-
}, ln = {
|
|
2117
|
-
shortest: 150,
|
|
2118
|
-
shorter: 200,
|
|
2119
|
-
short: 250,
|
|
2120
|
-
// most basic recommended timing
|
|
2121
|
-
standard: 300,
|
|
2122
|
-
// this is to be used in complex animations
|
|
2123
|
-
complex: 375,
|
|
2124
|
-
// recommended when something is entering screen
|
|
2125
|
-
enteringScreen: 225,
|
|
2126
|
-
// recommended when something is leaving screen
|
|
2127
|
-
leavingScreen: 195
|
|
2128
|
-
};
|
|
2129
|
-
function nt(e) {
|
|
2130
|
-
return `${Math.round(e)}ms`;
|
|
2131
|
-
}
|
|
2132
|
-
function cn(e) {
|
|
2133
|
-
if (!e)
|
|
2134
|
-
return 0;
|
|
2135
|
-
const t = e / 36;
|
|
2136
|
-
return Math.min(Math.round((4 + 15 * t ** 0.25 + t / 5) * 10), 3e3);
|
|
2137
|
-
}
|
|
2138
|
-
function un(e) {
|
|
2139
|
-
const t = {
|
|
2140
|
-
...sn,
|
|
2141
|
-
...e.easing
|
|
2142
|
-
}, r = {
|
|
2143
|
-
...ln,
|
|
2144
|
-
...e.duration
|
|
2145
|
-
};
|
|
2146
|
-
return {
|
|
2147
|
-
getAutoHeightDuration: cn,
|
|
2148
|
-
create: (o = ["all"], a = {}) => {
|
|
2149
|
-
const {
|
|
2150
|
-
duration: l = r.standard,
|
|
2151
|
-
easing: c = t.easeInOut,
|
|
2152
|
-
delay: f = 0,
|
|
2153
|
-
...d
|
|
2154
|
-
} = a;
|
|
2155
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2156
|
-
const h = (p) => typeof p == "string", m = (p) => !Number.isNaN(parseFloat(p));
|
|
2157
|
-
!h(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !m(l) && !h(l) && console.error(`MUI: Argument "duration" must be a number or a string but found ${l}.`), h(c) || console.error('MUI: Argument "easing" must be a string.'), !m(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(`
|
|
2158
|
-
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
2159
|
-
}
|
|
2160
|
-
return (Array.isArray(o) ? o : [o]).map((h) => `${h} ${typeof l == "string" ? l : nt(l)} ${c} ${typeof f == "string" ? f : nt(f)}`).join(",");
|
|
2161
|
-
},
|
|
2162
|
-
...e,
|
|
2163
|
-
easing: t,
|
|
2164
|
-
duration: r
|
|
2165
|
-
};
|
|
2166
|
-
}
|
|
2167
|
-
const fn = {
|
|
2168
|
-
mobileStepper: 1e3,
|
|
2169
|
-
fab: 1050,
|
|
2170
|
-
speedDial: 1050,
|
|
2171
|
-
appBar: 1100,
|
|
2172
|
-
drawer: 1200,
|
|
2173
|
-
modal: 1300,
|
|
2174
|
-
snackbar: 1400,
|
|
2175
|
-
tooltip: 1500
|
|
2176
|
-
};
|
|
2177
|
-
function dn(e) {
|
|
2178
|
-
return Y(e) || typeof e > "u" || typeof e == "string" || typeof e == "boolean" || typeof e == "number" || Array.isArray(e);
|
|
2179
|
-
}
|
|
2180
|
-
function Ct(e = {}) {
|
|
2181
|
-
const t = {
|
|
2182
|
-
...e
|
|
2183
|
-
};
|
|
2184
|
-
function r(n) {
|
|
2185
|
-
const o = Object.entries(n);
|
|
2186
|
-
for (let a = 0; a < o.length; a++) {
|
|
2187
|
-
const [l, c] = o[a];
|
|
2188
|
-
!dn(c) || l.startsWith("unstable_") ? delete n[l] : Y(c) && (n[l] = {
|
|
2189
|
-
...c
|
|
2190
|
-
}, r(n[l]));
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2193
|
-
return r(t), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
2194
|
-
|
|
2195
|
-
const theme = ${JSON.stringify(t, null, 2)};
|
|
2196
|
-
|
|
2197
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
2198
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
2199
|
-
|
|
2200
|
-
export default theme;`;
|
|
2201
|
-
}
|
|
2202
|
-
function Be(e = {}, ...t) {
|
|
2203
|
-
const {
|
|
2204
|
-
breakpoints: r,
|
|
2205
|
-
mixins: n = {},
|
|
2206
|
-
spacing: o,
|
|
2207
|
-
palette: a = {},
|
|
2208
|
-
transitions: l = {},
|
|
2209
|
-
typography: c = {},
|
|
2210
|
-
shape: f,
|
|
2211
|
-
...d
|
|
2212
|
-
} = e;
|
|
2213
|
-
if (e.vars && // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
2214
|
-
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
2215
|
-
e.generateThemeVars === void 0)
|
|
2216
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature." : H(20));
|
|
2217
|
-
const h = Le(a), m = _r(e);
|
|
2218
|
-
let p = B(m, {
|
|
2219
|
-
mixins: Zr(m.breakpoints, n),
|
|
2220
|
-
palette: h,
|
|
2221
|
-
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
2222
|
-
shadows: an.slice(),
|
|
2223
|
-
typography: tn(h, c),
|
|
2224
|
-
transitions: un(l),
|
|
2225
|
-
zIndex: {
|
|
2226
|
-
...fn
|
|
2227
|
-
}
|
|
2228
|
-
});
|
|
2229
|
-
if (p = B(p, d), p = t.reduce((b, g) => B(b, g), p), process.env.NODE_ENV !== "production") {
|
|
2230
|
-
const b = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], g = (s, S) => {
|
|
2231
|
-
let w;
|
|
2232
|
-
for (w in s) {
|
|
2233
|
-
const F = s[w];
|
|
2234
|
-
if (b.includes(w) && Object.keys(F).length > 0) {
|
|
2235
|
-
if (process.env.NODE_ENV !== "production") {
|
|
2236
|
-
const E = gt("", w);
|
|
2237
|
-
console.error([`MUI: The \`${S}\` 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 '&.${E}' syntax:`, JSON.stringify({
|
|
2238
|
-
root: {
|
|
2239
|
-
[`&.${E}`]: F
|
|
2240
|
-
}
|
|
2241
|
-
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
2242
|
-
`));
|
|
2243
|
-
}
|
|
2244
|
-
s[w] = {};
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
};
|
|
2248
|
-
Object.keys(p.components).forEach((s) => {
|
|
2249
|
-
const S = p.components[s].styleOverrides;
|
|
2250
|
-
S && s.startsWith("Mui") && g(S, s);
|
|
2251
|
-
});
|
|
2252
|
-
}
|
|
2253
|
-
return p.unstable_sxConfig = {
|
|
2254
|
-
...we,
|
|
2255
|
-
...d == null ? void 0 : d.unstable_sxConfig
|
|
2256
|
-
}, p.unstable_sx = function(g) {
|
|
2257
|
-
return Oe({
|
|
2258
|
-
sx: g,
|
|
2259
|
-
theme: this
|
|
2260
|
-
});
|
|
2261
|
-
}, p.toRuntimeSource = Ct, p;
|
|
2262
|
-
}
|
|
2263
|
-
function pn(e) {
|
|
2264
|
-
let t;
|
|
2265
|
-
return e < 1 ? t = 5.11916 * e ** 2 : t = 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
|
|
2266
|
-
}
|
|
2267
|
-
const mn = [...Array(25)].map((e, t) => {
|
|
2268
|
-
if (t === 0)
|
|
2269
|
-
return "none";
|
|
2270
|
-
const r = pn(t);
|
|
2271
|
-
return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
|
|
2272
|
-
});
|
|
2273
|
-
function St(e) {
|
|
2274
|
-
return {
|
|
2275
|
-
inputPlaceholder: e === "dark" ? 0.5 : 0.42,
|
|
2276
|
-
inputUnderline: e === "dark" ? 0.7 : 0.42,
|
|
2277
|
-
switchTrackDisabled: e === "dark" ? 0.2 : 0.12,
|
|
2278
|
-
switchTrack: e === "dark" ? 0.3 : 0.38
|
|
2279
|
-
};
|
|
2280
|
-
}
|
|
2281
|
-
function Et(e) {
|
|
2282
|
-
return e === "dark" ? mn : [];
|
|
2283
|
-
}
|
|
2284
|
-
function gn(e) {
|
|
2285
|
-
const {
|
|
2286
|
-
palette: t = {
|
|
2287
|
-
mode: "light"
|
|
2288
|
-
},
|
|
2289
|
-
// need to cast to avoid module augmentation test
|
|
2290
|
-
opacity: r,
|
|
2291
|
-
overlays: n,
|
|
2292
|
-
...o
|
|
2293
|
-
} = e, a = Le(t);
|
|
2294
|
-
return {
|
|
2295
|
-
palette: a,
|
|
2296
|
-
opacity: {
|
|
2297
|
-
...St(a.mode),
|
|
2298
|
-
...r
|
|
2299
|
-
},
|
|
2300
|
-
overlays: n || Et(a.mode),
|
|
2301
|
-
...o
|
|
2302
|
-
};
|
|
2303
|
-
}
|
|
2304
|
-
function hn(e) {
|
|
2305
|
-
var t;
|
|
2306
|
-
return !!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || // ends with sxConfig
|
|
2307
|
-
e[0] === "palette" && !!((t = e[1]) != null && t.match(/(mode|contrastThreshold|tonalOffset)/));
|
|
2308
|
-
}
|
|
2309
|
-
const yn = (e) => [...[...Array(25)].map((t, r) => `--${e ? `${e}-` : ""}overlays-${r}`), `--${e ? `${e}-` : ""}palette-AppBar-darkBg`, `--${e ? `${e}-` : ""}palette-AppBar-darkColor`], bn = (e) => (t, r) => {
|
|
2310
|
-
const n = e.rootSelector || ":root", o = e.colorSchemeSelector;
|
|
2311
|
-
let a = o;
|
|
2312
|
-
if (o === "class" && (a = ".%s"), o === "data" && (a = "[data-%s]"), o != null && o.startsWith("data-") && !o.includes("%s") && (a = `[${o}="%s"]`), e.defaultColorScheme === t) {
|
|
2313
|
-
if (t === "dark") {
|
|
2314
|
-
const l = {};
|
|
2315
|
-
return yn(e.cssVarPrefix).forEach((c) => {
|
|
2316
|
-
l[c] = r[c], delete r[c];
|
|
2317
|
-
}), a === "media" ? {
|
|
2318
|
-
[n]: r,
|
|
2319
|
-
"@media (prefers-color-scheme: dark)": {
|
|
2320
|
-
[n]: l
|
|
2321
|
-
}
|
|
2322
|
-
} : a ? {
|
|
2323
|
-
[a.replace("%s", t)]: l,
|
|
2324
|
-
[`${n}, ${a.replace("%s", t)}`]: r
|
|
2325
|
-
} : {
|
|
2326
|
-
[n]: {
|
|
2327
|
-
...r,
|
|
2328
|
-
...l
|
|
2329
|
-
}
|
|
2330
|
-
};
|
|
2331
|
-
}
|
|
2332
|
-
if (a && a !== "media")
|
|
2333
|
-
return `${n}, ${a.replace("%s", String(t))}`;
|
|
2334
|
-
} else if (t) {
|
|
2335
|
-
if (a === "media")
|
|
2336
|
-
return {
|
|
2337
|
-
[`@media (prefers-color-scheme: ${String(t)})`]: {
|
|
2338
|
-
[n]: r
|
|
2339
|
-
}
|
|
2340
|
-
};
|
|
2341
|
-
if (a)
|
|
2342
|
-
return a.replace("%s", String(t));
|
|
2343
|
-
}
|
|
2344
|
-
return n;
|
|
2345
|
-
};
|
|
2346
|
-
function Cn(e, t) {
|
|
2347
|
-
t.forEach((r) => {
|
|
2348
|
-
e[r] || (e[r] = {});
|
|
2349
|
-
});
|
|
2350
|
-
}
|
|
2351
|
-
function u(e, t, r) {
|
|
2352
|
-
!e[t] && r && (e[t] = r);
|
|
2353
|
-
}
|
|
2354
|
-
function ae(e) {
|
|
2355
|
-
return typeof e != "string" || !e.startsWith("hsl") ? e : ht(e);
|
|
2356
|
-
}
|
|
2357
|
-
function U(e, t) {
|
|
2358
|
-
`${t}Channel` in e || (e[`${t}Channel`] = ie(ae(e[t]), `MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
2359
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`));
|
|
2360
|
-
}
|
|
2361
|
-
function Sn(e) {
|
|
2362
|
-
return typeof e == "number" ? `${e}px` : typeof e == "string" || typeof e == "function" || Array.isArray(e) ? e : "8px";
|
|
2363
|
-
}
|
|
2364
|
-
const L = (e) => {
|
|
2365
|
-
try {
|
|
2366
|
-
return e();
|
|
2367
|
-
} catch {
|
|
2368
|
-
}
|
|
2369
|
-
}, En = (e = "mui") => Vr(e);
|
|
2370
|
-
function Ne(e, t, r, n) {
|
|
2371
|
-
if (!t)
|
|
2372
|
-
return;
|
|
2373
|
-
t = t === !0 ? {} : t;
|
|
2374
|
-
const o = n === "dark" ? "dark" : "light";
|
|
2375
|
-
if (!r) {
|
|
2376
|
-
e[n] = gn({
|
|
2377
|
-
...t,
|
|
2378
|
-
palette: {
|
|
2379
|
-
mode: o,
|
|
2380
|
-
...t == null ? void 0 : t.palette
|
|
2381
|
-
}
|
|
2382
|
-
});
|
|
2383
|
-
return;
|
|
2384
|
-
}
|
|
2385
|
-
const {
|
|
2386
|
-
palette: a,
|
|
2387
|
-
...l
|
|
2388
|
-
} = Be({
|
|
2389
|
-
...r,
|
|
2390
|
-
palette: {
|
|
2391
|
-
mode: o,
|
|
2392
|
-
...t == null ? void 0 : t.palette
|
|
2393
|
-
}
|
|
2394
|
-
});
|
|
2395
|
-
return e[n] = {
|
|
2396
|
-
...t,
|
|
2397
|
-
palette: a,
|
|
2398
|
-
opacity: {
|
|
2399
|
-
...St(o),
|
|
2400
|
-
...t == null ? void 0 : t.opacity
|
|
2401
|
-
},
|
|
2402
|
-
overlays: (t == null ? void 0 : t.overlays) || Et(o)
|
|
2403
|
-
}, l;
|
|
2404
|
-
}
|
|
2405
|
-
function $n(e = {}, ...t) {
|
|
2406
|
-
const {
|
|
2407
|
-
colorSchemes: r = {
|
|
2408
|
-
light: !0
|
|
2409
|
-
},
|
|
2410
|
-
defaultColorScheme: n,
|
|
2411
|
-
disableCssColorScheme: o = !1,
|
|
2412
|
-
cssVarPrefix: a = "mui",
|
|
2413
|
-
shouldSkipGeneratingVar: l = hn,
|
|
2414
|
-
colorSchemeSelector: c = r.light && r.dark ? "media" : void 0,
|
|
2415
|
-
rootSelector: f = ":root",
|
|
2416
|
-
...d
|
|
2417
|
-
} = e, h = Object.keys(r)[0], m = n || (r.light && h !== "light" ? "light" : h), p = En(a), {
|
|
2418
|
-
[m]: b,
|
|
2419
|
-
light: g,
|
|
2420
|
-
dark: s,
|
|
2421
|
-
...S
|
|
2422
|
-
} = r, w = {
|
|
2423
|
-
...S
|
|
2424
|
-
};
|
|
2425
|
-
let F = b;
|
|
2426
|
-
if ((m === "dark" && !("dark" in r) || m === "light" && !("light" in r)) && (F = !0), !F)
|
|
2427
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${m}\` option is either missing or invalid.` : H(21, m));
|
|
2428
|
-
const E = Ne(w, F, d, m);
|
|
2429
|
-
g && !w.light && Ne(w, g, void 0, "light"), s && !w.dark && Ne(w, s, void 0, "dark");
|
|
2430
|
-
let C = {
|
|
2431
|
-
defaultColorScheme: m,
|
|
2432
|
-
...E,
|
|
2433
|
-
cssVarPrefix: a,
|
|
2434
|
-
colorSchemeSelector: c,
|
|
2435
|
-
rootSelector: f,
|
|
2436
|
-
getCssVar: p,
|
|
2437
|
-
colorSchemes: w,
|
|
2438
|
-
font: {
|
|
2439
|
-
...Jr(E.typography),
|
|
2440
|
-
...E.font
|
|
2441
|
-
},
|
|
2442
|
-
spacing: Sn(d.spacing)
|
|
2443
|
-
};
|
|
2444
|
-
Object.keys(C.colorSchemes).forEach((V) => {
|
|
2445
|
-
const i = C.colorSchemes[V].palette, y = (A) => {
|
|
2446
|
-
const N = A.split("-"), fe = N[1], de = N[2];
|
|
2447
|
-
return p(A, i[fe][de]);
|
|
2448
|
-
};
|
|
2449
|
-
if (i.mode === "light" && (u(i.common, "background", "#fff"), u(i.common, "onBackground", "#000")), i.mode === "dark" && (u(i.common, "background", "#000"), u(i.common, "onBackground", "#fff")), Cn(i, ["Alert", "AppBar", "Avatar", "Button", "Chip", "FilledInput", "LinearProgress", "Skeleton", "Slider", "SnackbarContent", "SpeedDialAction", "StepConnector", "StepContent", "Switch", "TableCell", "Tooltip"]), i.mode === "light") {
|
|
2450
|
-
u(i.Alert, "errorColor", x(i.error.light, 0.6)), u(i.Alert, "infoColor", x(i.info.light, 0.6)), u(i.Alert, "successColor", x(i.success.light, 0.6)), u(i.Alert, "warningColor", x(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", y("palette-error-main")), u(i.Alert, "infoFilledBg", y("palette-info-main")), u(i.Alert, "successFilledBg", y("palette-success-main")), u(i.Alert, "warningFilledBg", y("palette-warning-main")), u(i.Alert, "errorFilledColor", L(() => i.getContrastText(i.error.main))), u(i.Alert, "infoFilledColor", L(() => i.getContrastText(i.info.main))), u(i.Alert, "successFilledColor", L(() => i.getContrastText(i.success.main))), u(i.Alert, "warningFilledColor", L(() => i.getContrastText(i.warning.main))), u(i.Alert, "errorStandardBg", v(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", v(i.info.light, 0.9)), u(i.Alert, "successStandardBg", v(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", v(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", y("palette-error-main")), u(i.Alert, "infoIconColor", y("palette-info-main")), u(i.Alert, "successIconColor", y("palette-success-main")), u(i.Alert, "warningIconColor", y("palette-warning-main")), u(i.AppBar, "defaultBg", y("palette-grey-100")), u(i.Avatar, "defaultBg", y("palette-grey-400")), u(i.Button, "inheritContainedBg", y("palette-grey-300")), u(i.Button, "inheritContainedHoverBg", y("palette-grey-A100")), u(i.Chip, "defaultBorder", y("palette-grey-400")), u(i.Chip, "defaultAvatarColor", y("palette-grey-700")), u(i.Chip, "defaultIconColor", y("palette-grey-700")), u(i.FilledInput, "bg", "rgba(0, 0, 0, 0.06)"), u(i.FilledInput, "hoverBg", "rgba(0, 0, 0, 0.09)"), u(i.FilledInput, "disabledBg", "rgba(0, 0, 0, 0.12)"), u(i.LinearProgress, "primaryBg", v(i.primary.main, 0.62)), u(i.LinearProgress, "secondaryBg", v(i.secondary.main, 0.62)), u(i.LinearProgress, "errorBg", v(i.error.main, 0.62)), u(i.LinearProgress, "infoBg", v(i.info.main, 0.62)), u(i.LinearProgress, "successBg", v(i.success.main, 0.62)), u(i.LinearProgress, "warningBg", v(i.warning.main, 0.62)), u(i.Skeleton, "bg", `rgba(${y("palette-text-primaryChannel")} / 0.11)`), u(i.Slider, "primaryTrack", v(i.primary.main, 0.62)), u(i.Slider, "secondaryTrack", v(i.secondary.main, 0.62)), u(i.Slider, "errorTrack", v(i.error.main, 0.62)), u(i.Slider, "infoTrack", v(i.info.main, 0.62)), u(i.Slider, "successTrack", v(i.success.main, 0.62)), u(i.Slider, "warningTrack", v(i.warning.main, 0.62));
|
|
2451
|
-
const A = ge(i.background.default, 0.8);
|
|
2452
|
-
u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color", L(() => i.getContrastText(A))), u(i.SpeedDialAction, "fabHoverBg", ge(i.background.paper, 0.15)), u(i.StepConnector, "border", y("palette-grey-400")), u(i.StepContent, "border", y("palette-grey-400")), u(i.Switch, "defaultColor", y("palette-common-white")), u(i.Switch, "defaultDisabledColor", y("palette-grey-100")), u(i.Switch, "primaryDisabledColor", v(i.primary.main, 0.62)), u(i.Switch, "secondaryDisabledColor", v(i.secondary.main, 0.62)), u(i.Switch, "errorDisabledColor", v(i.error.main, 0.62)), u(i.Switch, "infoDisabledColor", v(i.info.main, 0.62)), u(i.Switch, "successDisabledColor", v(i.success.main, 0.62)), u(i.Switch, "warningDisabledColor", v(i.warning.main, 0.62)), u(i.TableCell, "border", v(me(i.divider, 1), 0.88)), u(i.Tooltip, "bg", me(i.grey[700], 0.92));
|
|
2453
|
-
}
|
|
2454
|
-
if (i.mode === "dark") {
|
|
2455
|
-
u(i.Alert, "errorColor", v(i.error.light, 0.6)), u(i.Alert, "infoColor", v(i.info.light, 0.6)), u(i.Alert, "successColor", v(i.success.light, 0.6)), u(i.Alert, "warningColor", v(i.warning.light, 0.6)), u(i.Alert, "errorFilledBg", y("palette-error-dark")), u(i.Alert, "infoFilledBg", y("palette-info-dark")), u(i.Alert, "successFilledBg", y("palette-success-dark")), u(i.Alert, "warningFilledBg", y("palette-warning-dark")), u(i.Alert, "errorFilledColor", L(() => i.getContrastText(i.error.dark))), u(i.Alert, "infoFilledColor", L(() => i.getContrastText(i.info.dark))), u(i.Alert, "successFilledColor", L(() => i.getContrastText(i.success.dark))), u(i.Alert, "warningFilledColor", L(() => i.getContrastText(i.warning.dark))), u(i.Alert, "errorStandardBg", x(i.error.light, 0.9)), u(i.Alert, "infoStandardBg", x(i.info.light, 0.9)), u(i.Alert, "successStandardBg", x(i.success.light, 0.9)), u(i.Alert, "warningStandardBg", x(i.warning.light, 0.9)), u(i.Alert, "errorIconColor", y("palette-error-main")), u(i.Alert, "infoIconColor", y("palette-info-main")), u(i.Alert, "successIconColor", y("palette-success-main")), u(i.Alert, "warningIconColor", y("palette-warning-main")), u(i.AppBar, "defaultBg", y("palette-grey-900")), u(i.AppBar, "darkBg", y("palette-background-paper")), u(i.AppBar, "darkColor", y("palette-text-primary")), u(i.Avatar, "defaultBg", y("palette-grey-600")), u(i.Button, "inheritContainedBg", y("palette-grey-800")), u(i.Button, "inheritContainedHoverBg", y("palette-grey-700")), u(i.Chip, "defaultBorder", y("palette-grey-700")), u(i.Chip, "defaultAvatarColor", y("palette-grey-300")), u(i.Chip, "defaultIconColor", y("palette-grey-300")), u(i.FilledInput, "bg", "rgba(255, 255, 255, 0.09)"), u(i.FilledInput, "hoverBg", "rgba(255, 255, 255, 0.13)"), u(i.FilledInput, "disabledBg", "rgba(255, 255, 255, 0.12)"), u(i.LinearProgress, "primaryBg", x(i.primary.main, 0.5)), u(i.LinearProgress, "secondaryBg", x(i.secondary.main, 0.5)), u(i.LinearProgress, "errorBg", x(i.error.main, 0.5)), u(i.LinearProgress, "infoBg", x(i.info.main, 0.5)), u(i.LinearProgress, "successBg", x(i.success.main, 0.5)), u(i.LinearProgress, "warningBg", x(i.warning.main, 0.5)), u(i.Skeleton, "bg", `rgba(${y("palette-text-primaryChannel")} / 0.13)`), u(i.Slider, "primaryTrack", x(i.primary.main, 0.5)), u(i.Slider, "secondaryTrack", x(i.secondary.main, 0.5)), u(i.Slider, "errorTrack", x(i.error.main, 0.5)), u(i.Slider, "infoTrack", x(i.info.main, 0.5)), u(i.Slider, "successTrack", x(i.success.main, 0.5)), u(i.Slider, "warningTrack", x(i.warning.main, 0.5));
|
|
2456
|
-
const A = ge(i.background.default, 0.98);
|
|
2457
|
-
u(i.SnackbarContent, "bg", A), u(i.SnackbarContent, "color", L(() => i.getContrastText(A))), u(i.SpeedDialAction, "fabHoverBg", ge(i.background.paper, 0.15)), u(i.StepConnector, "border", y("palette-grey-600")), u(i.StepContent, "border", y("palette-grey-600")), u(i.Switch, "defaultColor", y("palette-grey-300")), u(i.Switch, "defaultDisabledColor", y("palette-grey-600")), u(i.Switch, "primaryDisabledColor", x(i.primary.main, 0.55)), u(i.Switch, "secondaryDisabledColor", x(i.secondary.main, 0.55)), u(i.Switch, "errorDisabledColor", x(i.error.main, 0.55)), u(i.Switch, "infoDisabledColor", x(i.info.main, 0.55)), u(i.Switch, "successDisabledColor", x(i.success.main, 0.55)), u(i.Switch, "warningDisabledColor", x(i.warning.main, 0.55)), u(i.TableCell, "border", x(me(i.divider, 1), 0.68)), u(i.Tooltip, "bg", me(i.grey[700], 0.92));
|
|
2458
|
-
}
|
|
2459
|
-
U(i.background, "default"), U(i.background, "paper"), U(i.common, "background"), U(i.common, "onBackground"), U(i, "divider"), Object.keys(i).forEach((A) => {
|
|
2460
|
-
const N = i[A];
|
|
2461
|
-
A !== "tonalOffset" && N && typeof N == "object" && (N.main && u(i[A], "mainChannel", ie(ae(N.main))), N.light && u(i[A], "lightChannel", ie(ae(N.light))), N.dark && u(i[A], "darkChannel", ie(ae(N.dark))), N.contrastText && u(i[A], "contrastTextChannel", ie(ae(N.contrastText))), A === "text" && (U(i[A], "primary"), U(i[A], "secondary")), A === "action" && (N.active && U(i[A], "active"), N.selected && U(i[A], "selected")));
|
|
2462
|
-
});
|
|
2463
|
-
}), C = t.reduce((V, i) => B(V, i), C);
|
|
2464
|
-
const I = {
|
|
2465
|
-
prefix: a,
|
|
2466
|
-
disableCssColorScheme: o,
|
|
2467
|
-
shouldSkipGeneratingVar: l,
|
|
2468
|
-
getSelector: bn(C)
|
|
2469
|
-
}, {
|
|
2470
|
-
vars: W,
|
|
2471
|
-
generateThemeVars: z,
|
|
2472
|
-
generateStyleSheets: re
|
|
2473
|
-
} = Ur(C, I);
|
|
2474
|
-
return C.vars = W, Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([V, i]) => {
|
|
2475
|
-
C[V] = i;
|
|
2476
|
-
}), C.generateThemeVars = z, C.generateStyleSheets = re, C.generateSpacing = function() {
|
|
2477
|
-
return mt(d.spacing, Pe(this));
|
|
2478
|
-
}, C.getColorSchemeSelector = Gr(c), C.spacing = C.generateSpacing(), C.shouldSkipGeneratingVar = l, C.unstable_sxConfig = {
|
|
2479
|
-
...we,
|
|
2480
|
-
...d == null ? void 0 : d.unstable_sxConfig
|
|
2481
|
-
}, C.unstable_sx = function(i) {
|
|
2482
|
-
return Oe({
|
|
2483
|
-
sx: i,
|
|
2484
|
-
theme: this
|
|
2485
|
-
});
|
|
2486
|
-
}, C.toRuntimeSource = Ct, C;
|
|
2487
|
-
}
|
|
2488
|
-
function ot(e, t, r) {
|
|
2489
|
-
e.colorSchemes && r && (e.colorSchemes[t] = {
|
|
2490
|
-
...r !== !0 && r,
|
|
2491
|
-
palette: Le({
|
|
2492
|
-
...r === !0 ? {} : r.palette,
|
|
2493
|
-
mode: t
|
|
2494
|
-
})
|
|
2495
|
-
// cast type to skip module augmentation test
|
|
2496
|
-
});
|
|
2497
|
-
}
|
|
2498
|
-
function Bn(e = {}, ...t) {
|
|
2499
|
-
const {
|
|
2500
|
-
palette: r,
|
|
2501
|
-
cssVariables: n = !1,
|
|
2502
|
-
colorSchemes: o = r ? void 0 : {
|
|
2503
|
-
light: !0
|
|
2504
|
-
},
|
|
2505
|
-
defaultColorScheme: a = r == null ? void 0 : r.mode,
|
|
2506
|
-
...l
|
|
2507
|
-
} = e, c = a || "light", f = o == null ? void 0 : o[c], d = {
|
|
2508
|
-
...o,
|
|
2509
|
-
...r ? {
|
|
2510
|
-
[c]: {
|
|
2511
|
-
...typeof f != "boolean" && f,
|
|
2512
|
-
palette: r
|
|
2513
|
-
}
|
|
2514
|
-
} : void 0
|
|
2515
|
-
};
|
|
2516
|
-
if (n === !1) {
|
|
2517
|
-
if (!("colorSchemes" in e))
|
|
2518
|
-
return Be(e, ...t);
|
|
2519
|
-
let h = r;
|
|
2520
|
-
"palette" in e || d[c] && (d[c] !== !0 ? h = d[c].palette : c === "dark" && (h = {
|
|
2521
|
-
mode: "dark"
|
|
2522
|
-
}));
|
|
2523
|
-
const m = Be({
|
|
2524
|
-
...e,
|
|
2525
|
-
palette: h
|
|
2526
|
-
}, ...t);
|
|
2527
|
-
return m.defaultColorScheme = c, m.colorSchemes = d, m.palette.mode === "light" && (m.colorSchemes.light = {
|
|
2528
|
-
...d.light !== !0 && d.light,
|
|
2529
|
-
palette: m.palette
|
|
2530
|
-
}, ot(m, "dark", d.dark)), m.palette.mode === "dark" && (m.colorSchemes.dark = {
|
|
2531
|
-
...d.dark !== !0 && d.dark,
|
|
2532
|
-
palette: m.palette
|
|
2533
|
-
}, ot(m, "light", d.light)), m;
|
|
2534
|
-
}
|
|
2535
|
-
return !r && !("light" in d) && c === "light" && (d.light = !0), $n({
|
|
2536
|
-
...l,
|
|
2537
|
-
colorSchemes: d,
|
|
2538
|
-
defaultColorScheme: c,
|
|
2539
|
-
...typeof n != "boolean" && n
|
|
2540
|
-
}, ...t);
|
|
2541
|
-
}
|
|
2542
|
-
const Pn = "$$material";
|
|
2543
|
-
export {
|
|
2544
|
-
mt as $,
|
|
2545
|
-
pn as A,
|
|
2546
|
-
hn as B,
|
|
2547
|
-
tn as C,
|
|
2548
|
-
Zr as D,
|
|
2549
|
-
yn as E,
|
|
2550
|
-
Nn as F,
|
|
2551
|
-
gt as G,
|
|
2552
|
-
vn as H,
|
|
2553
|
-
Y as I,
|
|
2554
|
-
we as J,
|
|
2555
|
-
lt as K,
|
|
2556
|
-
G as L,
|
|
2557
|
-
On as M,
|
|
2558
|
-
Pe as N,
|
|
2559
|
-
B as O,
|
|
2560
|
-
wn as P,
|
|
2561
|
-
_r as Q,
|
|
2562
|
-
ue as R,
|
|
2563
|
-
Ce as S,
|
|
2564
|
-
Pn as T,
|
|
2565
|
-
_n as U,
|
|
2566
|
-
Oe as V,
|
|
2567
|
-
Rr as W,
|
|
2568
|
-
H as X,
|
|
2569
|
-
at as Y,
|
|
2570
|
-
Rn as Z,
|
|
2571
|
-
kn as _,
|
|
2572
|
-
jr as a,
|
|
2573
|
-
J as b,
|
|
2574
|
-
le as c,
|
|
2575
|
-
In as d,
|
|
2576
|
-
ht as e,
|
|
2577
|
-
j as f,
|
|
2578
|
-
ee as g,
|
|
2579
|
-
Br as h,
|
|
2580
|
-
_e as i,
|
|
2581
|
-
Xe as j,
|
|
2582
|
-
Ie as k,
|
|
2583
|
-
Z as l,
|
|
2584
|
-
Fr as m,
|
|
2585
|
-
Dr as n,
|
|
2586
|
-
oe as o,
|
|
2587
|
-
Q as p,
|
|
2588
|
-
Fe as q,
|
|
2589
|
-
X as r,
|
|
2590
|
-
Ve as s,
|
|
2591
|
-
vr as t,
|
|
2592
|
-
Bn as u,
|
|
2593
|
-
un as v,
|
|
2594
|
-
ln as w,
|
|
2595
|
-
sn as x,
|
|
2596
|
-
gn as y,
|
|
2597
|
-
$n as z
|
|
2598
|
-
};
|