@cgi-learning-hub/ui 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Box-5x1F2S3-.cjs +1 -0
- package/dist/{Box-BHWJ-D81.js → Box-Bawb5zHX.js} +24 -23
- package/dist/Button-C__-QOJY.js +359 -0
- package/dist/Button-DKIRmOzf.cjs +1 -0
- package/dist/{ButtonBase-BpYorbzW.js → ButtonBase-4F5roLHd.js} +36 -37
- package/dist/ButtonBase-Bw3wq81v.cjs +75 -0
- package/dist/{CircularProgress-C8TogtEK.js → CircularProgress-BNazIBar.js} +30 -30
- package/dist/CircularProgress-WnNPMTjD.cjs +28 -0
- package/dist/DatePicker-B0jLSEvZ.cjs +19 -0
- package/dist/DatePicker-DGVeagTz.js +12663 -0
- package/dist/DefaultButton-F67BOmrx.js +258 -0
- package/dist/DefaultButton-y-mHSNFH.cjs +1 -0
- package/dist/{IconButton-Hsn7HKeI.js → IconButton-D_deQOvN.js} +15 -15
- package/dist/IconButton-DhWgsgQ7.cjs +2 -0
- package/dist/InputAdornment-DYqMrYJz.cjs +1 -0
- package/dist/InputAdornment-hNrnvXW9.js +153 -0
- package/dist/InputBase-BeZ70Fbf.cjs +3 -0
- package/dist/{InputBase-BdOkEcEz.js → InputBase-DNkF-TAp.js} +218 -217
- package/dist/Stack-BJ2ths-g.js +172 -0
- package/dist/Stack-BOcvai-O.cjs +1 -0
- package/dist/Tabs-CG428TT3.cjs +4 -0
- package/dist/{Tabs-C8ECGIYh.js → Tabs-CWujD0SK.js} +33 -33
- package/dist/{TextInput-CpnUc54E.js → TextField-DDmGQyEr.js} +3607 -3603
- package/dist/TextField-wYRnAj1v.cjs +12 -0
- package/dist/Tooltip-D42pzHKW.js +7463 -0
- package/dist/Tooltip-O30xWGZU.cjs +95 -0
- package/dist/{Typography-D9Jbc-Y5.js → Typography-B2XMXu83.js} +18 -18
- package/dist/Typography-DR_aF9lJ.cjs +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
- package/dist/components/Dropzone/Dropzone.d.ts +2 -3
- package/dist/components/Dropzone/Dropzone.es.js +212 -240
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.d.ts +0 -1
- package/dist/components/Loader/Loader.es.js +9 -9
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +1 -2
- package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -0
- package/dist/components/PaperHeader/PaperHeader.d.ts +13 -0
- package/dist/components/PaperHeader/PaperHeader.es.js +41 -0
- package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -0
- package/dist/components/PaperHeader/PaperHeader.stories.d.ts +5 -0
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +28 -0
- package/dist/components/PaperHeader/index.cjs.js +1 -0
- package/dist/components/PaperHeader/index.d.ts +2 -0
- package/dist/components/PaperHeader/index.es.js +4 -0
- package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +14 -14
- package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
- package/dist/components/buttons/DefaultButton/index.es.js +1 -1
- package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
- package/dist/components/buttons/IconButton.stories.es.js +3 -3
- package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/buttons/index.cjs.js +1 -1
- package/dist/components/buttons/index.es.js +1 -1
- package/dist/components/feedback/Alert/Alert.d.ts +0 -1
- package/dist/components/feedback/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/feedback/QueryError/QueryError.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +37 -21
- package/dist/components/index.es.js +271 -186
- package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/inputs/PasswordInput/PasswordInput.es.js +13 -15
- package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.es.js +36 -5
- package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
- package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
- package/dist/components/inputs/SearchInput/index.es.js +2 -2
- package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.es.js +4 -3
- package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
- package/dist/components/inputs/TextInput/index.cjs.js +1 -1
- package/dist/components/inputs/TextInput/index.es.js +2 -2
- package/dist/components/inputs/index.cjs.js +1 -1
- package/dist/components/inputs/index.es.js +6 -6
- package/dist/components/lists/FileList/FileList.cjs.js +1 -1
- package/dist/components/lists/FileList/FileList.es.js +1 -1
- package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/lists/FileList/FileListItem.es.js +6 -6
- package/dist/components/lists/TabList.stories.cjs.js +1 -1
- package/dist/components/lists/TabList.stories.es.js +27 -26
- package/dist/components/pickers/DatePicker/DatePicker.cjs.js +1 -0
- package/dist/components/pickers/DatePicker/DatePicker.d.ts +8 -0
- package/dist/components/pickers/DatePicker/DatePicker.es.js +6 -0
- package/dist/components/pickers/DatePicker/DatePicker.stories.cjs.js +1 -0
- package/dist/components/pickers/DatePicker/DatePicker.stories.d.ts +5 -0
- package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +16 -0
- package/dist/components/pickers/DatePicker/index.cjs.js +1 -0
- package/dist/components/pickers/DatePicker/index.d.ts +2 -0
- package/dist/components/pickers/DatePicker/index.es.js +4 -0
- package/dist/components/pickers/index.cjs.js +1 -0
- package/dist/components/pickers/index.d.ts +1 -0
- package/dist/components/pickers/index.es.js +4 -0
- package/dist/createStyled-CzVedz8V.js +142 -0
- package/dist/createStyled-LobpFGWo.cjs +1 -0
- package/dist/{createSvgIcon-BpzrJYC7.js → createSvgIcon-B8vHI3I6.js} +12 -12
- package/dist/createSvgIcon-BGm-SWUB.cjs +1 -0
- package/dist/createSvgIcon-CKlvKClV.cjs +2 -0
- package/dist/{createSvgIcon-CbXClqUM.js → createSvgIcon-DjuUwmEp.js} +21 -20
- package/dist/fr-By4s91yO.js +307 -0
- package/dist/fr-TRjulm1Q.cjs +1 -0
- package/dist/identifier-4KVhx666.cjs +50 -0
- package/dist/identifier-D-ng7Qqa.js +3047 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +273 -189
- package/dist/refType-BhXrhWFB.cjs +1 -0
- package/dist/{refType-CD9RZ5PF.js → refType-COGEdfch.js} +1 -1
- package/dist/styled-ZF_yhfMW.cjs +17 -0
- package/dist/styled-xiAudcD_.js +533 -0
- package/dist/useForkRef-CGd3Nhyb.cjs +1 -0
- package/dist/{useIsFocusVisible-B2ErvDHn.cjs → useIsFocusVisible-Bv_7uvif.cjs} +1 -1
- package/dist/{useIsFocusVisible-BsjI7Zxf.js → useIsFocusVisible-DhASXQ4o.js} +1 -1
- package/dist/useTheme-B5RCz7rY.cjs +1 -0
- package/dist/useTheme-CjBTq22m.js +18 -0
- package/dist/{useSlotProps-BCdUhJUO.js → useTheme-iNHILPzK.js} +41 -29
- package/dist/useTheme-kqsjFBnC.cjs +1 -0
- package/dist/useThemeProps-B-Oq4Y2j.cjs +1 -0
- package/dist/useThemeProps-BHAsCmc4.cjs +1 -0
- package/dist/useThemeProps-BM4fCFq5.js +27 -0
- package/dist/useThemeProps-BVvSbkPP.js +17 -0
- package/dist/{useTimeout-Dokw0W_A.js → useTimeout-BdvDipeg.js} +1 -1
- package/dist/{useTimeout-D8rbe5ty.cjs → useTimeout-XUWYBnl6.cjs} +1 -1
- package/package.json +18 -16
- package/dist/Box-DjpT-6Yv.cjs +0 -1
- package/dist/ButtonBase-BHN-4x4u.cjs +0 -75
- package/dist/CircularProgress-CjET2rvP.cjs +0 -28
- package/dist/DefaultButton-BoDg7xMm.cjs +0 -1
- package/dist/DefaultButton-y5BL9CKZ.js +0 -601
- package/dist/IconButton-fqTVX40x.cjs +0 -2
- package/dist/InputBase-DLc7Nf1T.cjs +0 -3
- package/dist/LocalizationProvider-B28kINsn.js +0 -575
- package/dist/LocalizationProvider-U4FHK15N.cjs +0 -5
- package/dist/SearchInput-B_Mgl-CJ.cjs +0 -1
- package/dist/SearchInput-DVccMSI6.js +0 -186
- package/dist/Tabs-Cij7O-J8.cjs +0 -4
- package/dist/TextInput-5zTkdX7s.cjs +0 -12
- package/dist/TimePicker-BRY05Sej.cjs +0 -73
- package/dist/TimePicker-CLolXFl8.js +0 -22074
- package/dist/Typography-6WB4M4zs.cjs +0 -1
- package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +0 -1
- package/dist/components/LocalizationProvider/LocalizationProvider.d.ts +0 -7
- package/dist/components/LocalizationProvider/LocalizationProvider.es.js +0 -6
- package/dist/components/LocalizationProvider/index.cjs.js +0 -1
- package/dist/components/LocalizationProvider/index.d.ts +0 -2
- package/dist/components/LocalizationProvider/index.es.js +0 -4
- package/dist/createSvgIcon-DQmDu_xr.cjs +0 -2
- package/dist/createSvgIcon-O41BSqQe.cjs +0 -1
- package/dist/fr-LokUOTE7.cjs +0 -1
- package/dist/fr-ndKV9IhC.js +0 -335
- package/dist/refType-DR4z34r8.cjs +0 -1
- package/dist/styled-D6_yEe4a.cjs +0 -26
- package/dist/styled-DSGBDqKV.js +0 -1218
- package/dist/useForkRef-DfdM2MN5.cjs +0 -1
- package/dist/useSlotProps-CXRrw38p.cjs +0 -1
- package/dist/useThemeProps-BktqG0To.cjs +0 -42
- package/dist/useThemeProps-DJpU2Yr7.js +0 -2428
- package/dist/{useForkRef-CQ5u1_mH.js → useForkRef-DwN_Iz9R.js} +1 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("react");function r(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const c=r(o),s=typeof window<"u"?c.useLayoutEffect:c.useEffect;function f(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function i(...e){return c.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{f(n,t)})},e)}exports.setRef=f;exports.useEnhancedEffect=s;exports.useForkRef=i;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const N=require("react"),o=require("./useThemeProps-BktqG0To.cjs");require("react/jsx-runtime");const E=require("./isHostComponent-PydJW4A4.cjs"),P=require("./styled-D6_yEe4a.cjs"),O=require("./useForkRef-DfdM2MN5.cjs");function R(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(s,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return s.default=e,Object.freeze(s)}const m=R(N),C=m.createContext();process.env.NODE_ENV!=="production"&&(o.PropTypes.node,o.PropTypes.bool);const T=()=>{const e=m.useContext(C);return e??!1};function k(){const e=o.useTheme(o.defaultTheme);return process.env.NODE_ENV!=="production"&&m.useDebugValue(e),e[o.THEME_ID]||e}function _(e,s,t){return e===void 0||E.isHostComponent(e)?s:o._extends({},s,{ownerState:o._extends({},s.ownerState,t)})}function g(e,s=[]){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!s.includes(n)).forEach(n=>{t[n]=e[n]}),t}function h(e,s,t){return typeof e=="function"?e(s,t):e}function S(e){if(e===void 0)return{};const s={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]=="function")).forEach(t=>{s[t]=e[t]}),s}function H(e){const{getSlotProps:s,additionalProps:t,externalSlotProps:n,externalForwardedProps:l,className:i}=e;if(!s){const y=P.clsx(t==null?void 0:t.className,i,l==null?void 0:l.className,n==null?void 0:n.className),x=o._extends({},t==null?void 0:t.style,l==null?void 0:l.style,n==null?void 0:n.style),v=o._extends({},t,l,n);return y.length>0&&(v.className=y),Object.keys(x).length>0&&(v.style=x),{props:v,internalRef:void 0}}const a=g(o._extends({},l,n)),u=S(n),d=S(l),r=s(a),c=P.clsx(r==null?void 0:r.className,t==null?void 0:t.className,i,l==null?void 0:l.className,n==null?void 0:n.className),f=o._extends({},r==null?void 0:r.style,t==null?void 0:t.style,l==null?void 0:l.style,n==null?void 0:n.style),p=o._extends({},r,t,d,u);return c.length>0&&(p.className=c),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:r.ref}}const w=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function b(e){var s;const{elementType:t,externalSlotProps:n,ownerState:l,skipResolvingSlotProps:i=!1}=e,a=o._objectWithoutPropertiesLoose(e,w),u=i?{}:h(n,l),{props:d,internalRef:r}=H(o._extends({},a,{externalSlotProps:u})),c=O.useForkRef(r,u==null?void 0:u.ref,(s=e.additionalProps)==null?void 0:s.ref);return _(t,o._extends({},d,{ref:c}),l)}exports.appendOwnerState=_;exports.extractEventHandlers=g;exports.resolveComponentProps=h;exports.useRtl=T;exports.useSlotProps=b;exports.useTheme=k;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";const nr=require("react"),or=require("@emotion/react");function ir(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const sr=ir(nr);function fe(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const ar=Object.freeze(Object.defineProperty({__proto__:null,default:fe},Symbol.toStringTag,{value:"Module"}));var ur=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ve(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var He={exports:{}},Ee={exports:{}},P={};/** @license React v16.13.1
|
|
2
|
-
* react-is.production.min.js
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var at;function cr(){if(at)return P;at=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,c=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,j=e?Symbol.for("react.responder"):60118,G=e?Symbol.for("react.scope"):60119;function N(y){if(typeof y=="object"&&y!==null){var Z=y.$$typeof;switch(Z){case t:switch(y=y.type,y){case l:case f:case n:case i:case o:case h:return y;default:switch(y=y&&y.$$typeof,y){case u:case g:case v:case b:case s:return y;default:return Z}}case r:return Z}}}function z(y){return N(y)===f}return P.AsyncMode=l,P.ConcurrentMode=f,P.ContextConsumer=u,P.ContextProvider=s,P.Element=t,P.ForwardRef=g,P.Fragment=n,P.Lazy=v,P.Memo=b,P.Portal=r,P.Profiler=i,P.StrictMode=o,P.Suspense=h,P.isAsyncMode=function(y){return z(y)||N(y)===l},P.isConcurrentMode=z,P.isContextConsumer=function(y){return N(y)===u},P.isContextProvider=function(y){return N(y)===s},P.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},P.isForwardRef=function(y){return N(y)===g},P.isFragment=function(y){return N(y)===n},P.isLazy=function(y){return N(y)===v},P.isMemo=function(y){return N(y)===b},P.isPortal=function(y){return N(y)===r},P.isProfiler=function(y){return N(y)===i},P.isStrictMode=function(y){return N(y)===o},P.isSuspense=function(y){return N(y)===h},P.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===f||y===i||y===o||y===h||y===c||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===b||y.$$typeof===s||y.$$typeof===u||y.$$typeof===g||y.$$typeof===T||y.$$typeof===j||y.$$typeof===G||y.$$typeof===d)},P.typeOf=N,P}var A={};/** @license React v16.13.1
|
|
9
|
-
* react-is.development.js
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the MIT license found in the
|
|
14
|
-
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var ut;function fr(){return ut||(ut=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,c=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,j=e?Symbol.for("react.responder"):60118,G=e?Symbol.for("react.scope"):60119;function N(p){return typeof p=="string"||typeof p=="function"||p===n||p===f||p===i||p===o||p===h||p===c||typeof p=="object"&&p!==null&&(p.$$typeof===v||p.$$typeof===b||p.$$typeof===s||p.$$typeof===u||p.$$typeof===g||p.$$typeof===T||p.$$typeof===j||p.$$typeof===G||p.$$typeof===d)}function z(p){if(typeof p=="object"&&p!==null){var V=p.$$typeof;switch(V){case t:var Oe=p.type;switch(Oe){case l:case f:case n:case i:case o:case h:return Oe;default:var st=Oe&&Oe.$$typeof;switch(st){case u:case g:case v:case b:case s:return st;default:return V}}case r:return V}}}var y=l,Z=f,Ie=u,ke=s,Me=t,De=g,be=n,Ne=v,Be=b,re=r,Ue=i,H=o,Q=h,ve=!1;function ze(p){return ve||(ve=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),a(p)||z(p)===l}function a(p){return z(p)===f}function m(p){return z(p)===u}function S(p){return z(p)===s}function x(p){return typeof p=="object"&&p!==null&&p.$$typeof===t}function O(p){return z(p)===g}function C(p){return z(p)===n}function E(p){return z(p)===v}function _(p){return z(p)===b}function $(p){return z(p)===r}function R(p){return z(p)===i}function w(p){return z(p)===o}function W(p){return z(p)===h}A.AsyncMode=y,A.ConcurrentMode=Z,A.ContextConsumer=Ie,A.ContextProvider=ke,A.Element=Me,A.ForwardRef=De,A.Fragment=be,A.Lazy=Ne,A.Memo=Be,A.Portal=re,A.Profiler=Ue,A.StrictMode=H,A.Suspense=Q,A.isAsyncMode=ze,A.isConcurrentMode=a,A.isContextConsumer=m,A.isContextProvider=S,A.isElement=x,A.isForwardRef=O,A.isFragment=C,A.isLazy=E,A.isMemo=_,A.isPortal=$,A.isProfiler=R,A.isStrictMode=w,A.isSuspense=W,A.isValidElementType=N,A.typeOf=z}()),A}var ct;function $t(){return ct||(ct=1,process.env.NODE_ENV==="production"?Ee.exports=cr():Ee.exports=fr()),Ee.exports}/*
|
|
16
|
-
object-assign
|
|
17
|
-
(c) Sindre Sorhus
|
|
18
|
-
@license MIT
|
|
19
|
-
*/var We,ft;function lr(){if(ft)return We;ft=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;var l=Object.getOwnPropertyNames(s).map(function(g){return s[g]});if(l.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(g){f[g]=g}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return We=o()?Object.assign:function(i,s){for(var u,l=n(i),f,g=1;g<arguments.length;g++){u=Object(arguments[g]);for(var h in u)t.call(u,h)&&(l[h]=u[h]);if(e){f=e(u);for(var c=0;c<f.length;c++)r.call(u,f[c])&&(l[f[c]]=u[f[c]])}}return l},We}var qe,lt;function Xe(){if(lt)return qe;lt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return qe=e,qe}var Le,dt;function wt(){return dt||(dt=1,Le=Function.call.bind(Object.prototype.hasOwnProperty)),Le}var Ye,pt;function dr(){if(pt)return Ye;pt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Xe(),r={},n=wt();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,u,l,f){if(process.env.NODE_ENV!=="production"){for(var g in i)if(n(i,g)){var h;try{if(typeof i[g]!="function"){var c=Error((l||"React class")+": "+u+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw c.name="Invariant Violation",c}h=i[g](s,g,l,u,null,t)}catch(v){h=v}if(h&&!(h instanceof Error)&&e((l||"React class")+": type specification of "+u+" `"+g+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in r)){r[h.message]=!0;var b=f?f():"";e("Failed "+u+" type: "+h.message+(b??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Ye=o,Ye}var Ke,yt;function pr(){if(yt)return Ke;yt=1;var e=$t(),t=lr(),r=Xe(),n=wt(),o=dr(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(u){var l="Warning: "+u;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function s(){return null}return Ke=function(u,l){var f=typeof Symbol=="function"&&Symbol.iterator,g="@@iterator";function h(a){var m=a&&(f&&a[f]||a[g]);if(typeof m=="function")return m}var c="<<anonymous>>",b={array:j("array"),bigint:j("bigint"),bool:j("boolean"),func:j("function"),number:j("number"),object:j("object"),string:j("string"),symbol:j("symbol"),any:G(),arrayOf:N,element:z(),elementType:y(),instanceOf:Z,node:De(),objectOf:ke,oneOf:Ie,oneOfType:Me,shape:Ne,exact:Be};function v(a,m){return a===m?a!==0||1/a===1/m:a!==a&&m!==m}function d(a,m){this.message=a,this.data=m&&typeof m=="object"?m:{},this.stack=""}d.prototype=Error.prototype;function T(a){if(process.env.NODE_ENV!=="production")var m={},S=0;function x(C,E,_,$,R,w,W){if($=$||c,w=w||_,W!==r){if(l){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var V=$+":"+_;!m[V]&&S<3&&(i("You are manually calling a React.PropTypes validation function for the `"+w+"` prop on `"+$+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),m[V]=!0,S++)}}return E[_]==null?C?E[_]===null?new d("The "+R+" `"+w+"` is marked as required "+("in `"+$+"`, but its value is `null`.")):new d("The "+R+" `"+w+"` is marked as required in "+("`"+$+"`, but its value is `undefined`.")):null:a(E,_,$,R,w)}var O=x.bind(null,!1);return O.isRequired=x.bind(null,!0),O}function j(a){function m(S,x,O,C,E,_){var $=S[x],R=H($);if(R!==a){var w=Q($);return new d("Invalid "+C+" `"+E+"` of type "+("`"+w+"` supplied to `"+O+"`, expected ")+("`"+a+"`."),{expectedType:a})}return null}return T(m)}function G(){return T(s)}function N(a){function m(S,x,O,C,E){if(typeof a!="function")return new d("Property `"+E+"` of component `"+O+"` has invalid PropType notation inside arrayOf.");var _=S[x];if(!Array.isArray(_)){var $=H(_);return new d("Invalid "+C+" `"+E+"` of type "+("`"+$+"` supplied to `"+O+"`, expected an array."))}for(var R=0;R<_.length;R++){var w=a(_,R,O,C,E+"["+R+"]",r);if(w instanceof Error)return w}return null}return T(m)}function z(){function a(m,S,x,O,C){var E=m[S];if(!u(E)){var _=H(E);return new d("Invalid "+O+" `"+C+"` of type "+("`"+_+"` supplied to `"+x+"`, expected a single ReactElement."))}return null}return T(a)}function y(){function a(m,S,x,O,C){var E=m[S];if(!e.isValidElementType(E)){var _=H(E);return new d("Invalid "+O+" `"+C+"` of type "+("`"+_+"` supplied to `"+x+"`, expected a single ReactElement type."))}return null}return T(a)}function Z(a){function m(S,x,O,C,E){if(!(S[x]instanceof a)){var _=a.name||c,$=ze(S[x]);return new d("Invalid "+C+" `"+E+"` of type "+("`"+$+"` supplied to `"+O+"`, expected ")+("instance of `"+_+"`."))}return null}return T(m)}function Ie(a){if(!Array.isArray(a))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),s;function m(S,x,O,C,E){for(var _=S[x],$=0;$<a.length;$++)if(v(_,a[$]))return null;var R=JSON.stringify(a,function(W,p){var V=Q(p);return V==="symbol"?String(p):p});return new d("Invalid "+C+" `"+E+"` of value `"+String(_)+"` "+("supplied to `"+O+"`, expected one of "+R+"."))}return T(m)}function ke(a){function m(S,x,O,C,E){if(typeof a!="function")return new d("Property `"+E+"` of component `"+O+"` has invalid PropType notation inside objectOf.");var _=S[x],$=H(_);if($!=="object")return new d("Invalid "+C+" `"+E+"` of type "+("`"+$+"` supplied to `"+O+"`, expected an object."));for(var R in _)if(n(_,R)){var w=a(_,R,O,C,E+"."+R,r);if(w instanceof Error)return w}return null}return T(m)}function Me(a){if(!Array.isArray(a))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var m=0;m<a.length;m++){var S=a[m];if(typeof S!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ve(S)+" at index "+m+"."),s}function x(O,C,E,_,$){for(var R=[],w=0;w<a.length;w++){var W=a[w],p=W(O,C,E,_,$,r);if(p==null)return null;p.data&&n(p.data,"expectedType")&&R.push(p.data.expectedType)}var V=R.length>0?", expected one of type ["+R.join(", ")+"]":"";return new d("Invalid "+_+" `"+$+"` supplied to "+("`"+E+"`"+V+"."))}return T(x)}function De(){function a(m,S,x,O,C){return re(m[S])?null:new d("Invalid "+O+" `"+C+"` supplied to "+("`"+x+"`, expected a ReactNode."))}return T(a)}function be(a,m,S,x,O){return new d((a||"React class")+": "+m+" type `"+S+"."+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+O+"`.")}function Ne(a){function m(S,x,O,C,E){var _=S[x],$=H(_);if($!=="object")return new d("Invalid "+C+" `"+E+"` of type `"+$+"` "+("supplied to `"+O+"`, expected `object`."));for(var R in a){var w=a[R];if(typeof w!="function")return be(O,C,E,R,Q(w));var W=w(_,R,O,C,E+"."+R,r);if(W)return W}return null}return T(m)}function Be(a){function m(S,x,O,C,E){var _=S[x],$=H(_);if($!=="object")return new d("Invalid "+C+" `"+E+"` of type `"+$+"` "+("supplied to `"+O+"`, expected `object`."));var R=t({},S[x],a);for(var w in R){var W=a[w];if(n(a,w)&&typeof W!="function")return be(O,C,E,w,Q(W));if(!W)return new d("Invalid "+C+" `"+E+"` key `"+w+"` supplied to `"+O+"`.\nBad object: "+JSON.stringify(S[x],null," ")+`
|
|
20
|
-
Valid keys: `+JSON.stringify(Object.keys(a),null," "));var p=W(_,w,O,C,E+"."+w,r);if(p)return p}return null}return T(m)}function re(a){switch(typeof a){case"number":case"string":case"undefined":return!0;case"boolean":return!a;case"object":if(Array.isArray(a))return a.every(re);if(a===null||u(a))return!0;var m=h(a);if(m){var S=m.call(a),x;if(m!==a.entries){for(;!(x=S.next()).done;)if(!re(x.value))return!1}else for(;!(x=S.next()).done;){var O=x.value;if(O&&!re(O[1]))return!1}}else return!1;return!0;default:return!1}}function Ue(a,m){return a==="symbol"?!0:m?m["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&m instanceof Symbol:!1}function H(a){var m=typeof a;return Array.isArray(a)?"array":a instanceof RegExp?"object":Ue(m,a)?"symbol":m}function Q(a){if(typeof a>"u"||a===null)return""+a;var m=H(a);if(m==="object"){if(a instanceof Date)return"date";if(a instanceof RegExp)return"regexp"}return m}function ve(a){var m=Q(a);switch(m){case"array":case"object":return"an "+m;case"boolean":case"date":case"regexp":return"a "+m;default:return m}}function ze(a){return!a.constructor||!a.constructor.name?c:a.constructor.name}return b.checkPropTypes=o,b.resetWarningCache=o.resetWarningCache,b.PropTypes=b,b},Ke}var Fe,mt;function yr(){if(mt)return Fe;mt=1;var e=Xe();function t(){}function r(){}return r.resetWarningCache=t,Fe=function(){function n(s,u,l,f,g,h){if(h!==e){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},Fe}if(process.env.NODE_ENV!=="production"){var mr=$t(),gr=!0;He.exports=pr()(mr.isElement,gr)}else He.exports=yr()();var hr=He.exports;const ue=Ct(hr);function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(null,arguments)}function te(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function ee(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Pt(e){if(!ee(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Pt(e[r])}),t}function F(e,t,r={clone:!0}){const n=r.clone?k({},e):e;return ee(e)&&ee(t)&&Object.keys(t).forEach(o=>{ee(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ee(e[o])?n[o]=F(e[o],t[o],r):r.clone?n[o]=ee(t[o])?Pt(t[o]):t[o]:n[o]=t[o]}),n}const br=["values","unit","step"],vr=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>k({},r,{[n.key]:n.val}),{})};function At(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=te(e,br),i=vr(t),s=Object.keys(i);function u(c){return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${r})`}function l(c){return`@media (max-width:${(typeof t[c]=="number"?t[c]:c)-n/100}${r})`}function f(c,b){const v=s.indexOf(b);return`@media (min-width:${typeof t[c]=="number"?t[c]:c}${r}) and (max-width:${(v!==-1&&typeof t[s[v]]=="number"?t[s[v]]:b)-n/100}${r})`}function g(c){return s.indexOf(c)+1<s.length?f(c,s[s.indexOf(c)+1]):u(c)}function h(c){const b=s.indexOf(c);return b===0?u(s[1]):b===s.length-1?l(s[b]):f(c,s[s.indexOf(c)+1]).replace("@media","@media not all and")}return k({keys:s,values:i,up:u,down:l,between:f,only:g,not:h,unit:r},o)}const Or={borderRadius:4},J=process.env.NODE_ENV!=="production"?ue.oneOfType([ue.number,ue.string,ue.object,ue.array]):{};function ye(e,t){return t?F(e,t,{clone:!1}):e}const Je={xs:0,sm:600,md:900,lg:1200,xl:1536},gt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Je[e]}px)`};function X(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||gt;return t.reduce((s,u,l)=>(s[i.up(i.keys[l])]=r(t[l]),s),{})}if(typeof t=="object"){const i=n.breakpoints||gt;return Object.keys(t).reduce((s,u)=>{if(Object.keys(i.values||Je).indexOf(u)!==-1){const l=i.up(u);s[l]=r(t[u],u)}else{const l=u;s[l]=t[l]}return s},{})}return r(t)}function Rt(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function jt(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Er(e,...t){const r=Rt(e),n=[r,...t].reduce((o,i)=>F(o,i),{});return jt(Object.keys(r),n)}function Tr(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((o,i)=>{i<e.length&&(r[o]=!0)}):n.forEach(o=>{e[o]!=null&&(r[o]=!0)}),r}function xr({values:e,breakpoints:t,base:r}){const n=r||Tr(e,t),o=Object.keys(n);if(o.length===0)return e;let i;return o.reduce((s,u,l)=>(Array.isArray(e)?(s[u]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(s[u]=e[u]!=null?e[u]:e[i],i=u):s[u]=e,s),{})}function Ze(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":fe(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ge(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Te(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=ge(e,r)||n,t&&(o=t(o,n,e)),o}function B(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=s=>{if(s[t]==null)return null;const u=s[t],l=s.theme,f=ge(l,n)||{};return X(s,u,h=>{let c=Te(f,o,h);return h===c&&typeof h=="string"&&(c=Te(f,o,`${t}${h==="default"?"":Ze(h)}`,h)),r===!1?c:{[r]:c}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:J}:{},i.filterProps=[t],i}function _r(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Sr={m:"margin",p:"padding"},Cr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ht={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$r=_r(e=>{if(e.length>2)if(ht[e])e=ht[e];else return[e];const[t,r]=e.split(""),n=Sr[t],o=Cr[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),_e=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Se=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],wr=[..._e,...Se];function he(e,t,r,n){var o;const i=(o=ge(e,t,!1))!=null?o:r;return typeof i=="number"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${s}.`),i*s):Array.isArray(i)?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>i.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${s} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
21
|
-
`)):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(`
|
|
22
|
-
`))),i[s]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
23
|
-
`)),()=>{})}function Qe(e){return he(e,"spacing",8,"spacing")}function le(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function Pr(e,t){return r=>e.reduce((n,o)=>(n[o]=le(t,r),n),{})}function Ar(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=$r(r),i=Pr(o,n),s=e[r];return X(e,s,i)}function It(e,t){const r=Qe(e.theme);return Object.keys(e).map(n=>Ar(e,t,n,r)).reduce(ye,{})}function M(e){return It(e,_e)}M.propTypes=process.env.NODE_ENV!=="production"?_e.reduce((e,t)=>(e[t]=J,e),{}):{};M.filterProps=_e;function D(e){return It(e,Se)}D.propTypes=process.env.NODE_ENV!=="production"?Se.reduce((e,t)=>(e[t]=J,e),{}):{};D.filterProps=Se;process.env.NODE_ENV!=="production"&&wr.reduce((e,t)=>(e[t]=J,e),{});function Rr(e=8){if(e.mui)return e;const t=Qe({spacing:e}),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(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return r.mui=!0,r}function Ce(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?ye(o,t[i](n)):o,{});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}function L(e){return typeof e!="number"?e:`${e}px solid`}function K(e,t){return B({prop:e,themeKey:"borders",transform:t})}const jr=K("border",L),Ir=K("borderTop",L),kr=K("borderRight",L),Mr=K("borderBottom",L),Dr=K("borderLeft",L),Nr=K("borderColor"),Br=K("borderTopColor"),Ur=K("borderRightColor"),zr=K("borderBottomColor"),Wr=K("borderLeftColor"),qr=K("outline",L),Lr=K("outlineColor"),$e=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=he(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:le(t,n)});return X(e,e.borderRadius,r)}return null};$e.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:J}:{};$e.filterProps=["borderRadius"];Ce(jr,Ir,kr,Mr,Dr,Nr,Br,Ur,zr,Wr,$e,qr,Lr);const we=e=>{if(e.gap!==void 0&&e.gap!==null){const t=he(e.theme,"spacing",8,"gap"),r=n=>({gap:le(t,n)});return X(e,e.gap,r)}return null};we.propTypes=process.env.NODE_ENV!=="production"?{gap:J}:{};we.filterProps=["gap"];const Pe=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=he(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:le(t,n)});return X(e,e.columnGap,r)}return null};Pe.propTypes=process.env.NODE_ENV!=="production"?{columnGap:J}:{};Pe.filterProps=["columnGap"];const Ae=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=he(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:le(t,n)});return X(e,e.rowGap,r)}return null};Ae.propTypes=process.env.NODE_ENV!=="production"?{rowGap:J}:{};Ae.filterProps=["rowGap"];const Yr=B({prop:"gridColumn"}),Kr=B({prop:"gridRow"}),Fr=B({prop:"gridAutoFlow"}),Gr=B({prop:"gridAutoColumns"}),Hr=B({prop:"gridAutoRows"}),Vr=B({prop:"gridTemplateColumns"}),Xr=B({prop:"gridTemplateRows"}),Jr=B({prop:"gridTemplateAreas"}),Zr=B({prop:"gridArea"});Ce(we,Pe,Ae,Yr,Kr,Fr,Gr,Hr,Vr,Xr,Jr,Zr);function ce(e,t){return t==="grey"?t:e}const Qr=B({prop:"color",themeKey:"palette",transform:ce}),en=B({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ce}),tn=B({prop:"backgroundColor",themeKey:"palette",transform:ce});Ce(Qr,en,tn);function q(e){return e<=1&&e!==0?`${e*100}%`:e}const rn=B({prop:"width",transform:q}),et=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const i=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Je[r];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:q(r)}};return X(e,e.maxWidth,t)}return null};et.filterProps=["maxWidth"];const nn=B({prop:"minWidth",transform:q}),on=B({prop:"height",transform:q}),sn=B({prop:"maxHeight",transform:q}),an=B({prop:"minHeight",transform:q});B({prop:"size",cssProperty:"width",transform:q});B({prop:"size",cssProperty:"height",transform:q});const un=B({prop:"boxSizing"});Ce(rn,et,nn,on,sn,an,un);const Re={border:{themeKey:"borders",transform:L},borderTop:{themeKey:"borders",transform:L},borderRight:{themeKey:"borders",transform:L},borderBottom:{themeKey:"borders",transform:L},borderLeft:{themeKey:"borders",transform:L},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:L},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:$e},color:{themeKey:"palette",transform:ce},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ce},backgroundColor:{themeKey:"palette",transform:ce},p:{style:D},pt:{style:D},pr:{style:D},pb:{style:D},pl:{style:D},px:{style:D},py:{style:D},padding:{style:D},paddingTop:{style:D},paddingRight:{style:D},paddingBottom:{style:D},paddingLeft:{style:D},paddingX:{style:D},paddingY:{style:D},paddingInline:{style:D},paddingInlineStart:{style:D},paddingInlineEnd:{style:D},paddingBlock:{style:D},paddingBlockStart:{style:D},paddingBlockEnd:{style:D},m:{style:M},mt:{style:M},mr:{style:M},mb:{style:M},ml:{style:M},mx:{style:M},my:{style:M},margin:{style:M},marginTop:{style:M},marginRight:{style:M},marginBottom:{style:M},marginLeft:{style:M},marginX:{style:M},marginY:{style:M},marginInline:{style:M},marginInlineStart:{style:M},marginInlineEnd:{style:M},marginBlock:{style:M},marginBlockStart:{style:M},marginBlockEnd:{style:M},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:we},rowGap:{style:Ae},columnGap:{style:Pe},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:q},maxWidth:{style:et},minWidth:{transform:q},height:{transform:q},maxHeight:{transform:q},minHeight:{transform:q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function cn(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function fn(e,t){return typeof e=="function"?e(t):e}function kt(){function e(r,n,o,i){const s={[r]:n,theme:o},u=i[r];if(!u)return{[r]:n};const{cssProperty:l=r,themeKey:f,transform:g,style:h}=u;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const c=ge(o,f)||{};return h?h(s):X(s,n,v=>{let d=Te(c,g,v);return v===d&&typeof v=="string"&&(d=Te(c,g,`${r}${v==="default"?"":Ze(v)}`,v)),l===!1?d:{[l]:d}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const s=(n=i.unstable_sxConfig)!=null?n:Re;function u(l){let f=l;if(typeof l=="function")f=l(i);else if(typeof l!="object")return l;if(!f)return null;const g=Rt(i.breakpoints),h=Object.keys(g);let c=g;return Object.keys(f).forEach(b=>{const v=fn(f[b],i);if(v!=null)if(typeof v=="object")if(s[b])c=ye(c,e(b,v,i,s));else{const d=X({theme:i},v,T=>({[b]:T}));cn(d,v)?c[b]=t({sx:v,theme:i}):c=ye(c,d)}else c=ye(c,e(b,v,i,s))}),jt(h,c)}return Array.isArray(o)?o.map(u):u(o)}return t}const je=kt();je.filterProps=["sx"];function Mt(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const ln=["breakpoints","palette","spacing","shape"];function tt(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,s=te(e,ln),u=At(r),l=Rr(o);let f=F({breakpoints:u,direction:"ltr",components:{},palette:k({mode:"light"},n),spacing:l,shape:k({},Or,i)},s);return f.applyStyles=Mt,f=t.reduce((g,h)=>F(g,h),f),f.unstable_sxConfig=k({},Re,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(h){return je({sx:h,theme:this})},f}function dn(e){return Object.keys(e).length===0}function Dt(e=null){const t=sr.useContext(or.ThemeContext);return!t||dn(t)?e:t}const pn=tt();function Nt(e=pn){return Dt(e)}const bt=e=>e,yn=()=>{let e=bt;return{configure(t){e=t},generate(t){return e(t)},reset(){e=bt}}},Bt=yn(),Ut={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function zt(e,t,r="Mui"){const n=Ut[t];return n?`${r}-${n}`:`${Bt.generate(e)}-${t}`}function rt(e,t){const r=k({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=k({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=k({},i),Object.keys(o).forEach(s=>{r[n][s]=rt(o[s],i[s])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Wt(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:rt(t.components[r].defaultProps,n)}function qt({props:e,name:t,defaultTheme:r,themeId:n}){let o=Nt(r);return n&&(o=o[n]||o),Wt({theme:o,name:t,props:e})}function Lt(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const mn=Object.freeze(Object.defineProperty({__proto__:null,default:Lt},Symbol.toStringTag,{value:"Module"})),Yt="$$material";function gn(e,t){return k({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var U={},Kt={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Kt);var Ft=Kt.exports;const hn=Ve(ar),bn=Ve(mn);var Gt=Ft;Object.defineProperty(U,"__esModule",{value:!0});var vn=U.alpha=Qt;U.blend=An;U.colorChannel=void 0;var Ht=U.darken=ot;U.decomposeColor=Y;var On=U.emphasize=er,vt=U.getContrastRatio=Sn;U.getLuminance=xe;U.hexToRgb=Xt;U.hslToRgb=Zt;var Vt=U.lighten=it;U.private_safeAlpha=Cn;U.private_safeColorChannel=void 0;U.private_safeDarken=$n;U.private_safeEmphasize=Pn;U.private_safeLighten=wn;U.recomposeColor=de;U.rgbToHex=_n;var Ot=Gt(hn),En=Gt(bn);function nt(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),(0,En.default)(e,t,r)}function Xt(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Tn(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Y(e){if(e.type)return e;if(e.charAt(0)==="#")return Y(Xt(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
24
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Ot.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){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"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
25
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Ot.default)(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Jt=e=>{const t=Y(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};U.colorChannel=Jt;const xn=(e,t)=>{try{return Jt(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};U.private_safeColorChannel=xn;function de(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function _n(e){if(e.indexOf("#")===0)return e;const{values:t}=Y(e);return`#${t.map((r,n)=>Tn(n===3?Math.round(255*r):r)).join("")}`}function Zt(e){e=Y(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),s=(f,g=(f+r/30)%12)=>o-i*Math.max(Math.min(g-3,9-g,1),-1);let u="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(u+="a",l.push(t[3])),de({type:u,values:l})}function xe(e){e=Y(e);let t=e.type==="hsl"||e.type==="hsla"?Y(Zt(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Sn(e,t){const r=xe(e),n=xe(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Qt(e,t){return e=Y(e),t=nt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,de(e)}function Cn(e,t,r){try{return Qt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ot(e,t){if(e=Y(e),t=nt(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return de(e)}function $n(e,t,r){try{return ot(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function it(e,t){if(e=Y(e),t=nt(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return de(e)}function wn(e,t,r){try{return it(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function er(e,t=.15){return xe(e)>.5?ot(e,t):it(e,t)}function Pn(e,t,r){try{return er(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function An(e,t,r,n=1){const o=(l,f)=>Math.round((l**(1/n)*(1-r)+f**(1/n)*r)**n),i=Y(e),s=Y(t),u=[o(i.values[0],s.values[0]),o(i.values[1],s.values[1]),o(i.values[2],s.values[2])];return de({type:"rgb",values:u})}const me={black:"#000",white:"#fff"},Rn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ne={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},oe={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},pe={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ie={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},se={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ae={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},jn=["mode","contrastThreshold","tonalOffset"],Et={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:me.white,default:me.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ge={text:{primary:me.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:me.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Tt(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Vt(e.main,o):t==="dark"&&(e.dark=Ht(e.main,i)))}function In(e="light"){return e==="dark"?{main:ie[200],light:ie[50],dark:ie[400]}:{main:ie[700],light:ie[400],dark:ie[800]}}function kn(e="light"){return e==="dark"?{main:ne[200],light:ne[50],dark:ne[400]}:{main:ne[500],light:ne[300],dark:ne[700]}}function Mn(e="light"){return e==="dark"?{main:oe[500],light:oe[300],dark:oe[700]}:{main:oe[700],light:oe[400],dark:oe[800]}}function Dn(e="light"){return e==="dark"?{main:se[400],light:se[300],dark:se[700]}:{main:se[700],light:se[500],dark:se[900]}}function Nn(e="light"){return e==="dark"?{main:ae[400],light:ae[300],dark:ae[700]}:{main:ae[800],light:ae[500],dark:ae[900]}}function Bn(e="light"){return e==="dark"?{main:pe[400],light:pe[300],dark:pe[700]}:{main:"#ed6c02",light:pe[500],dark:pe[900]}}function Un(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=te(e,jn),i=e.primary||In(t),s=e.secondary||kn(t),u=e.error||Mn(t),l=e.info||Dn(t),f=e.success||Nn(t),g=e.warning||Bn(t);function h(d){const T=vt(d,Ge.text.primary)>=r?Ge.text.primary:Et.text.primary;if(process.env.NODE_ENV!=="production"){const j=vt(d,T);j<3&&console.error([`MUI: The contrast ratio of ${j}:1 for ${T} on ${d}`,"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(`
|
|
26
|
-
`))}return T}const c=({color:d,name:T,mainShade:j=500,lightShade:G=300,darkShade:N=700})=>{if(d=k({},d),!d.main&&d[j]&&(d.main=d[j]),!d.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
|
|
27
|
-
The color object needs to have a \`main\` property or a \`${j}\` property.`:fe(11,T?` (${T})`:"",j));if(typeof d.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
|
|
28
|
-
\`color.main\` should be a string, but \`${JSON.stringify(d.main)}\` was provided instead.
|
|
29
|
-
|
|
30
|
-
Did you intend to use one of the following approaches?
|
|
31
|
-
|
|
32
|
-
import { green } from "@mui/material/colors";
|
|
33
|
-
|
|
34
|
-
const theme1 = createTheme({ palette: {
|
|
35
|
-
primary: green,
|
|
36
|
-
} });
|
|
37
|
-
|
|
38
|
-
const theme2 = createTheme({ palette: {
|
|
39
|
-
primary: { main: green[500] },
|
|
40
|
-
} });`:fe(12,T?` (${T})`:"",JSON.stringify(d.main)));return Tt(d,"light",G,n),Tt(d,"dark",N,n),d.contrastText||(d.contrastText=h(d.main)),d},b={dark:Ge,light:Et};return process.env.NODE_ENV!=="production"&&(b[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),F(k({common:k({},me),mode:t,primary:c({color:i,name:"primary"}),secondary:c({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:c({color:u,name:"error"}),warning:c({color:g,name:"warning"}),info:c({color:l,name:"info"}),success:c({color:f,name:"success"}),grey:Rn,contrastThreshold:r,getContrastText:h,augmentColor:c,tonalOffset:n},b[t]),o)}const zn=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Wn(e){return Math.round(e*1e5)/1e5}const xt={textTransform:"uppercase"},_t='"Roboto", "Helvetica", "Arial", sans-serif';function qn(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=_t,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:u=500,fontWeightBold:l=700,htmlFontSize:f=16,allVariants:g,pxToRem:h}=r,c=te(r,zn);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const b=o/14,v=h||(j=>`${j/f*b}rem`),d=(j,G,N,z,y)=>k({fontFamily:n,fontWeight:j,fontSize:v(G),lineHeight:N},n===_t?{letterSpacing:`${Wn(z/G)}em`}:{},y,g),T={h1:d(i,96,1.167,-1.5),h2:d(i,60,1.2,-.5),h3:d(s,48,1.167,0),h4:d(s,34,1.235,.25),h5:d(s,24,1.334,0),h6:d(u,20,1.6,.15),subtitle1:d(s,16,1.75,.15),subtitle2:d(u,14,1.57,.1),body1:d(s,16,1.5,.15),body2:d(s,14,1.43,.15),button:d(u,14,1.75,.4,xt),caption:d(s,12,1.66,.4),overline:d(s,12,2.66,1,xt),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return F(k({htmlFontSize:f,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:u,fontWeightBold:l},T),c,{clone:!1})}const Ln=.2,Yn=.14,Kn=.12;function I(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ln})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Yn})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Kn})`].join(",")}const Fn=["none",I(0,2,1,-1,0,1,1,0,0,1,3,0),I(0,3,1,-2,0,2,2,0,0,1,5,0),I(0,3,3,-2,0,3,4,0,0,1,8,0),I(0,2,4,-1,0,4,5,0,0,1,10,0),I(0,3,5,-1,0,5,8,0,0,1,14,0),I(0,3,5,-1,0,6,10,0,0,1,18,0),I(0,4,5,-2,0,7,10,1,0,2,16,1),I(0,5,5,-3,0,8,10,1,0,3,14,2),I(0,5,6,-3,0,9,12,1,0,3,16,2),I(0,6,6,-3,0,10,14,1,0,4,18,3),I(0,6,7,-4,0,11,15,1,0,4,20,3),I(0,7,8,-4,0,12,17,2,0,5,22,4),I(0,7,8,-4,0,13,19,2,0,5,24,4),I(0,7,9,-4,0,14,21,2,0,5,26,4),I(0,8,9,-5,0,15,22,2,0,6,28,5),I(0,8,10,-5,0,16,24,2,0,6,30,5),I(0,8,11,-5,0,17,26,2,0,6,32,5),I(0,9,11,-5,0,18,28,2,0,7,34,6),I(0,9,12,-6,0,19,29,2,0,7,36,6),I(0,10,13,-6,0,20,31,3,0,8,38,7),I(0,10,13,-6,0,21,33,3,0,8,40,7),I(0,10,14,-6,0,22,35,3,0,8,42,7),I(0,11,14,-7,0,23,36,3,0,9,44,8),I(0,11,15,-7,0,24,38,3,0,9,46,8)],Gn=["duration","easing","delay"],Hn={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Vn={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function St(e){return`${Math.round(e)}ms`}function Xn(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Jn(e){const t=k({},Hn,e.easing),r=k({},Vn,e.duration);return k({getAutoHeightDuration:Xn,create:(o=["all"],i={})=>{const{duration:s=r.standard,easing:u=t.easeInOut,delay:l=0}=i,f=te(i,Gn);if(process.env.NODE_ENV!=="production"){const g=c=>typeof c=="string",h=c=>!isNaN(parseFloat(c));!g(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!h(s)&&!g(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),g(u)||console.error('MUI: Argument "easing" must be a string.'),!h(l)&&!g(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
41
|
-
`)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(g=>`${g} ${typeof s=="string"?s:St(s)} ${u} ${typeof l=="string"?l:St(l)}`).join(",")}},e,{easing:t,duration:r})}const Zn={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Qn=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function tr(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,s=te(e,Qn);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":fe(18));const u=Un(n),l=tt(e);let f=F(l,{mixins:gn(l.breakpoints,r),palette:u,shadows:Fn.slice(),typography:qn(u,i),transitions:Jn(o),zIndex:k({},Zn)});if(f=F(f,s),f=t.reduce((g,h)=>F(g,h),f),process.env.NODE_ENV!=="production"){const g=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],h=(c,b)=>{let v;for(v in c){const d=c[v];if(g.indexOf(v)!==-1&&Object.keys(d).length>0){if(process.env.NODE_ENV!=="production"){const T=zt("",v);console.error([`MUI: The \`${b}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(c,null,2),"",`Instead, you need to use the '&.${T}' syntax:`,JSON.stringify({root:{[`&.${T}`]:d}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
42
|
-
`))}c[v]={}}}};Object.keys(f.components).forEach(c=>{const b=f.components[c].styleOverrides;b&&c.indexOf("Mui")===0&&h(b,c)})}return f.unstable_sxConfig=k({},Re,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(h){return je({sx:h,theme:this})},f}const rr=tr();function eo({props:e,name:t}){return qt({props:e,name:t,defaultTheme:rr,themeId:Yt})}exports.ClassNameGenerator=Bt;exports.PropTypes=ue;exports.THEME_ID=Yt;exports._extends=k;exports._objectWithoutPropertiesLoose=te;exports.alpha_1=vn;exports.applyStyles=Mt;exports.capitalize=Ze;exports.clamp=Lt;exports.commonjsGlobal=ur;exports.createBreakpoints=At;exports.createTheme=tr;exports.createTheme$1=tt;exports.createUnarySpacing=Qe;exports.darken_1=Ht;exports.deepmerge=F;exports.defaultSxConfig=Re;exports.defaultTheme=rr;exports.emphasize_1=On;exports.formatMuiErrorMessage=fe;exports.generateUtilityClass=zt;exports.getAugmentedNamespace=Ve;exports.getDefaultExportFromCjs=Ct;exports.getPath=ge;exports.getThemeProps=Wt;exports.getValue=le;exports.globalStateClasses=Ut;exports.handleBreakpoints=X;exports.interopRequireDefaultExports=Ft;exports.isPlainObject=ee;exports.lighten_1=Vt;exports.mergeBreakpointsInOrder=Er;exports.resolveBreakpointValues=xr;exports.resolveProps=rt;exports.styleFunctionSx=je;exports.unstable_createStyleFunctionSx=kt;exports.useTheme=Nt;exports.useTheme$1=Dt;exports.useThemeProps=eo;exports.useThemeProps$1=qt;
|