@jhelom/react-mui-message-dialog 1.0.7 → 1.0.9
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/LICENSE +21 -0
- package/README.md +4 -0
- package/dist/index.cjs.js +45 -134
- package/dist/index.es.js +7287 -9123
- package/dist/index.umd.js +45 -134
- package/dist/{DialogTitleEx.d.ts → src/DialogTitleEx.d.ts} +2 -0
- package/dist/{MessageDialog.d.ts → src/MessageDialog.d.ts} +2 -7
- package/dist/src/MessageDialog.test.d.ts +1 -0
- package/dist/{MessageDialogContext.d.ts → src/MessageDialogContext.d.ts} +4 -1
- package/dist/{index.d.ts → src/index.d.ts} +1 -1
- package/package.json +57 -47
package/dist/index.umd.js
CHANGED
|
@@ -1,77 +1,16 @@
|
|
|
1
|
-
(function(Te,U){typeof exports=="object"&&typeof module<"u"?U(exports,require("react"),require("@mui/material")):typeof define=="function"&&define.amd?define(["exports","react","@mui/material"],U):(Te=typeof globalThis<"u"?globalThis:Te||self,U(Te.UiLib1={},Te.React,Te.MaterialUI))})(this,function(Te,U,Ve){"use strict";var sp=Object.defineProperty;var cp=(Te,U,Ve)=>U in Te?sp(Te,U,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Te[U]=Ve;var tr=(Te,U,Ve)=>cp(Te,typeof U!="symbol"?U+"":U,Ve);function Ta(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 I=Ta(U);function wa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var en={exports:{}},Pt={};/**
|
|
2
|
-
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var uo;function xa(){if(uo)return Pt;uo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var a=null;if(i!==void 0&&(a=""+i),o.key!==void 0&&(a=""+o.key),"key"in o){i={};for(var s in o)s!=="key"&&(i[s]=o[s])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:i}}return Pt.Fragment=t,Pt.jsx=r,Pt.jsxs=r,Pt}var Rt={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var fo;function ka(){return fo||(fo=1,process.env.NODE_ENV!=="production"&&function(){function e(b){if(b==null)return null;if(typeof b=="function")return b.$$typeof===u?null:b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case c:return"Fragment";case E:return"Profiler";case y:return"StrictMode";case C:return"Suspense";case k:return"SuspenseList";case W:return"Activity"}if(typeof b=="object")switch(typeof b.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case g:return"Portal";case P:return(b.displayName||"Context")+".Provider";case R:return(b._context.displayName||"Context")+".Consumer";case $:var _=b.render;return b=b.displayName,b||(b=_.displayName||_.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case N:return _=b.displayName||null,_!==null?_:e(b.type)||"Memo";case V:_=b._payload,b=b._init;try{return e(b(_))}catch{}}return null}function t(b){return""+b}function r(b){try{t(b);var _=!1}catch{_=!0}if(_){_=console;var B=_.error,F=typeof Symbol=="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return B.call(_,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",F),t(b)}}function n(b){if(b===c)return"<>";if(typeof b=="object"&&b!==null&&b.$$typeof===V)return"<...>";try{var _=e(b);return _?"<"+_+">":"<...>"}catch{return"<...>"}}function o(){var b=x.A;return b===null?null:b.getOwner()}function i(){return Error("react-stack-top-frame")}function a(b){if(l.call(b,"key")){var _=Object.getOwnPropertyDescriptor(b,"key").get;if(_&&_.isReactWarning)return!1}return b.key!==void 0}function s(b,_){function B(){D||(D=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",_))}B.isReactWarning=!0,Object.defineProperty(b,"key",{get:B,configurable:!0})}function f(){var b=e(this.type);return j[b]||(j[b]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),b=this.props.ref,b!==void 0?b:null}function d(b,_,B,F,L,Y,G,H){return B=Y.ref,b={$$typeof:v,type:b,key:_,props:Y,_owner:L},(B!==void 0?B:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:f}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:G}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:H}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function m(b,_,B,F,L,Y,G,H){var z=_.children;if(z!==void 0)if(F)if(A(z)){for(F=0;F<z.length;F++)p(z[F]);Object.freeze&&Object.freeze(z)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else p(z);if(l.call(_,"key")){z=e(b);var K=Object.keys(_).filter(function(Ce){return Ce!=="key"});F=0<K.length?"{key: someKey, "+K.join(": ..., ")+": ...}":"{key: someKey}",fe[z+F]||(K=0<K.length?"{"+K.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
1
|
+
(function(e,t){typeof exports==`object`&&typeof module<`u`?t(exports,require(`@mui/material`),require(`react`)):typeof define==`function`&&define.amd?define([`exports`,`@mui/material`,`react`],t):(e=typeof globalThis<`u`?globalThis:e||self,t(e.UiLib1={},e.MaterialUI,e.React))})(this,function(e,t,n){Object.defineProperty(e,Symbol.toStringTag,{value:`Module`});var r=Object.create,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),u=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var s=o(t),l=0,u=s.length,d;l<u;l++)d=s[l],!c.call(e,d)&&d!==n&&i(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=a(t,d))||r.enumerable});return e},d=(e,t,n)=>(n=e==null?{}:r(s(e)),u(t||!e||!e.__esModule?i(n,`default`,{value:e,enumerable:!0}):n,e));n=d(n);var f=l((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),p=l((e=>{process.env.NODE_ENV!==`production`&&(function(){"use strict";var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)}function x(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:var p=e.type;switch(p){case l:case u:case i:case o:case a:case f:return p;default:var g=p&&p.$$typeof;switch(g){case c:case d:case h:case m:case s:return g;default:return t}}case r:return t}}}var S=l,C=u,ee=c,w=s,te=n,ne=d,re=i,ie=h,ae=m,oe=r,T=o,se=a,ce=f,E=!1;function D(e){return E||(E=!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.`)),O(e)||x(e)===l}function O(e){return x(e)===u}function k(e){return x(e)===c}function le(e){return x(e)===s}function ue(e){return typeof e==`object`&&!!e&&e.$$typeof===n}function de(e){return x(e)===d}function fe(e){return x(e)===i}function pe(e){return x(e)===h}function me(e){return x(e)===m}function A(e){return x(e)===r}function he(e){return x(e)===o}function ge(e){return x(e)===a}function _e(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=ee,e.ContextProvider=w,e.Element=te,e.ForwardRef=ne,e.Fragment=re,e.Lazy=ie,e.Memo=ae,e.Portal=oe,e.Profiler=T,e.StrictMode=se,e.Suspense=ce,e.isAsyncMode=D,e.isConcurrentMode=O,e.isContextConsumer=k,e.isContextProvider=le,e.isElement=ue,e.isForwardRef=de,e.isFragment=fe,e.isLazy=pe,e.isMemo=me,e.isPortal=A,e.isProfiler=he,e.isStrictMode=ge,e.isSuspense=_e,e.isValidElementType=b,e.typeOf=x})()})),m=l(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=f():t.exports=p()})),h=l(((e,t)=>{var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(e==null)throw TypeError(`Object.assign cannot be called with null or undefined`);return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String(`abc`);if(e[5]=`de`,Object.getOwnPropertyNames(e)[0]===`5`)return!1;for(var t={},n=0;n<10;n++)t[`_`+String.fromCharCode(n)]=n;if(Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(``)!==`0123456789`)return!1;var r={};return`abcdefghijklmnopqrst`.split(``).forEach(function(e){r[e]=e}),Object.keys(Object.assign({},r)).join(``)===`abcdefghijklmnopqrst`}catch{return!1}}t.exports=o()?Object.assign:function(e,t){for(var o,s=a(e),c,l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]),o)r.call(o,u)&&(s[u]=o[u]);if(n){c=n(o);for(var d=0;d<c.length;d++)i.call(o,c[d])&&(s[c[d]]=o[c[d]])}}return s}})),g=l(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),_=l(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),v=l(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=g(),i={},a=_();n=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}}}function o(e,t,o,s,c){if(process.env.NODE_ENV!==`production`){for(var l in e)if(a(e,l)){var u;try{if(typeof e[l]!=`function`){var d=Error((s||`React class`)+`: `+o+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name=`Invariant Violation`,d}u=e[l](t,l,s,o,null,r)}catch(e){u=e}if(u&&!(u instanceof Error)&&n((s||`React class`)+`: type specification of `+o+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+`. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).`),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var f=c?c():``;n(`Failed `+o+` type: `+u.message+(f??``))}}}}o.resetWarningCache=function(){process.env.NODE_ENV!==`production`&&(i={})},t.exports=o})),y=l(((e,t)=>{var n=m(),r=h(),i=g(),a=_(),o=v(),s=function(){};process.env.NODE_ENV!==`production`&&(s=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}});function c(){return null}t.exports=function(e,t){var l=typeof Symbol==`function`&&Symbol.iterator,u=`@@iterator`;function d(e){var t=e&&(l&&e[l]||e[u]);if(typeof t==`function`)return t}var f=`<<anonymous>>`,p={array:_(`array`),bigint:_(`bigint`),bool:_(`boolean`),func:_(`function`),number:_(`number`),object:_(`object`),string:_(`string`),symbol:_(`symbol`),any:v(),arrayOf:y,element:b(),elementType:x(),instanceOf:S,node:te(),objectOf:ee,oneOf:C,oneOfType:w,shape:re,exact:ie};function m(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function h(e,t){this.message=e,this.data=t&&typeof t==`object`?t:{},this.stack=``}h.prototype=Error.prototype;function g(e){if(process.env.NODE_ENV!==`production`)var n={},r=0;function a(a,o,c,l,u,d,p){if(l||=f,d||=c,p!==i){if(t){var m=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 m.name=`Invariant Violation`,m}else if(process.env.NODE_ENV!==`production`&&typeof console<`u`){var g=l+`:`+c;!n[g]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. 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."),n[g]=!0,r++)}}return o[c]==null?a?o[c]===null?new h(`The `+u+" `"+d+"` is marked as required "+("in `"+l+"`, but its value is `null`.")):new h(`The `+u+" `"+d+"` is marked as required in "+("`"+l+"`, but its value is `undefined`.")):null:e(o,c,l,u,d)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function _(e){function t(t,n,r,i,a,o){var s=t[n];if(T(s)!==e){var c=se(s);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return g(t)}function v(){return g(c)}function y(e){function t(t,n,r,a,o){if(typeof e!=`function`)return new h("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var c=T(s);return new h(`Invalid `+a+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var u=e(s,l,r,a,o+`[`+l+`]`,i);if(u instanceof Error)return u}return null}return g(t)}function b(){function t(t,n,r,i,a){var o=t[n];if(!e(o)){var s=T(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return g(t)}function x(){function e(e,t,r,i,a){var o=e[t];if(!n.isValidElementType(o)){var s=T(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement type."))}return null}return g(e)}function S(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var o=e.name||f,s=E(t[n]);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+o+"`."))}return null}return g(t)}function C(e){if(!Array.isArray(e))return process.env.NODE_ENV!==`production`&&(arguments.length>1?s(`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]).`):s(`Invalid argument supplied to oneOf, expected an array.`)),c;function t(t,n,r,i,a){for(var o=t[n],s=0;s<e.length;s++)if(m(o,e[s]))return null;var c=JSON.stringify(e,function(e,t){return se(t)===`symbol`?String(t):t});return new h(`Invalid `+i+" `"+a+"` of value `"+String(o)+"` "+("supplied to `"+r+"`, expected one of "+c+`.`))}return g(t)}function ee(e){function t(t,n,r,o,s){if(typeof e!=`function`)return new h("Property `"+s+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var c=t[n],l=T(c);if(l!==`object`)return new h(`Invalid `+o+" `"+s+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an object."));for(var u in c)if(a(c,u)){var d=e(c,u,r,o,s+`.`+u,i);if(d instanceof Error)return d}return null}return g(t)}function w(e){if(!Array.isArray(e))return process.env.NODE_ENV!==`production`&&s(`Invalid argument supplied to oneOfType, expected an instance of array.`),c;for(var t=0;t<e.length;t++){var n=e[t];if(typeof n!=`function`)return s(`Invalid argument supplied to oneOfType. Expected an array of check functions, but received `+ce(n)+` at index `+t+`.`),c}function r(t,n,r,o,s){for(var c=[],l=0;l<e.length;l++){var u=e[l],d=u(t,n,r,o,s,i);if(d==null)return null;d.data&&a(d.data,`expectedType`)&&c.push(d.data.expectedType)}var f=c.length>0?`, expected one of type [`+c.join(`, `)+`]`:``;return new h(`Invalid `+o+" `"+s+"` supplied to "+("`"+r+"`"+f+`.`))}return g(r)}function te(){function e(e,t,n,r,i){return ae(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function ne(e,t,n,r,i){return new h((e||`React class`)+`: `+t+" type `"+n+`.`+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function re(e){function t(t,n,r,a,o){var s=t[n],c=T(s);if(c!==`object`)return new h(`Invalid `+a+" `"+o+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));for(var l in e){var u=e[l];if(typeof u!=`function`)return ne(r,a,o,l,se(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function ie(e){function t(t,n,o,s,c){var l=t[n],u=T(l);if(u!==`object`)return new h(`Invalid `+s+" `"+c+"` of type `"+u+"` "+("supplied to `"+o+"`, expected `object`."));for(var d in r({},t[n],e)){var f=e[d];if(a(e,d)&&typeof f!=`function`)return ne(o,s,c,d,se(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
|
|
2
|
+
Bad object: `+JSON.stringify(t[n],null,` `)+`
|
|
3
|
+
Valid keys: `+JSON.stringify(Object.keys(e),null,` `));var p=f(l,d,o,s,c+`.`+d,i);if(p)return p}return null}return g(t)}function ae(t){switch(typeof t){case`number`:case`string`:case`undefined`:return!0;case`boolean`:return!t;case`object`:if(Array.isArray(t))return t.every(ae);if(t===null||e(t))return!0;var n=d(t);if(n){var r=n.call(t),i;if(n!==t.entries){for(;!(i=r.next()).done;)if(!ae(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!ae(a[1]))return!1}}else return!1;return!0;default:return!1}}function oe(e,t){return e===`symbol`?!0:t?t[`@@toStringTag`]===`Symbol`||typeof Symbol==`function`&&t instanceof Symbol:!1}function T(e){var t=typeof e;return Array.isArray(e)?`array`:e instanceof RegExp?`object`:oe(t,e)?`symbol`:t}function se(e){if(e==null)return``+e;var t=T(e);if(t===`object`){if(e instanceof Date)return`date`;if(e instanceof RegExp)return`regexp`}return t}function ce(e){var t=se(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function E(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),b=l(((e,t)=>{var n=g();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=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 s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),x=l(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=m();t.exports=y()(n.isElement,!0)}else t.exports=b()()}));function S(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=S(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function C(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=S(e))&&(r&&(r+=` `),r+=t);return r}function ee(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function w(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function te(e){if(typeof e!=`string`)throw Error(process.env.NODE_ENV===`production`?w(7):"MUI: `capitalize(string)` expects a string argument.");return e.charAt(0).toUpperCase()+e.slice(1)}var ne=te;function re(e,t){let n=Array.isArray(t),r=Array.isArray(e);return se(t)?t:ce(e)?E(t):n&&r?oe(e,t):n===r?D(e,t):E(t)}function ie(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=E(e[t]);return r}function ae(e){let t={};for(let n in e)t[n]=E(e[n]);return t}function oe(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=E(t[r]);return e}function T(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function se(e){return typeof e!=`object`||!e}function ce(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function E(e){return T(e)?Array.isArray(e)?ie(e):ae(e):e}function D(e,t){for(let n in t)n in e?e[n]=re(e[n],t[n]):e[n]=E(t[n]);return e}var O=d(x(),1),k=process.env.NODE_ENV===`production`?{}:O.default.oneOfType([O.default.number,O.default.string,O.default.object,O.default.array]);function le(e){if(e==null)return!0;for(let t in e)return!1;return!0}var ue=l((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.view_transition`),m=Symbol.for(`react.client.reference`);function h(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:case p:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:return e;case o:return e;default:return m}}case n:return m}}}e.ContextConsumer=o,e.ContextProvider=s,e.Element=t,e.ForwardRef=c,e.Fragment=r,e.Lazy=f,e.Memo=d,e.Portal=n,e.Profiler=a,e.StrictMode=i,e.Suspense=l,e.SuspenseList=u,e.isContextConsumer=function(e){return h(e)===o},e.isContextProvider=function(e){return h(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===t},e.isForwardRef=function(e){return h(e)===c},e.isFragment=function(e){return h(e)===r},e.isLazy=function(e){return h(e)===f},e.isMemo=function(e){return h(e)===d},e.isPortal=function(e){return h(e)===n},e.isProfiler=function(e){return h(e)===a},e.isStrictMode=function(e){return h(e)===i},e.isSuspense=function(e){return h(e)===l},e.isSuspenseList=function(e){return h(e)===u},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===r||e===a||e===i||e===l||e===u||typeof e==`object`&&e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===s||e.$$typeof===o||e.$$typeof===c||e.$$typeof===m||e.getModuleId!==void 0))},e.typeOf=h})),de=l((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case i:case o:case a:case u:case d:case m:return e;default:switch(e&&=e.$$typeof,e){case c:case l:case p:case f:return e;case s:return e;default:return t}}case r:return t}}}var n=Symbol.for(`react.transitional.element`),r=Symbol.for(`react.portal`),i=Symbol.for(`react.fragment`),a=Symbol.for(`react.strict_mode`),o=Symbol.for(`react.profiler`),s=Symbol.for(`react.consumer`),c=Symbol.for(`react.context`),l=Symbol.for(`react.forward_ref`),u=Symbol.for(`react.suspense`),d=Symbol.for(`react.suspense_list`),f=Symbol.for(`react.memo`),p=Symbol.for(`react.lazy`),m=Symbol.for(`react.view_transition`),h=Symbol.for(`react.client.reference`);e.ContextConsumer=s,e.ContextProvider=c,e.Element=n,e.ForwardRef=l,e.Fragment=i,e.Lazy=p,e.Memo=f,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=u,e.SuspenseList=d,e.isContextConsumer=function(e){return t(e)===s},e.isContextProvider=function(e){return t(e)===c},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return t(e)===l},e.isFragment=function(e){return t(e)===i},e.isLazy=function(e){return t(e)===p},e.isMemo=function(e){return t(e)===f},e.isPortal=function(e){return t(e)===r},e.isProfiler=function(e){return t(e)===o},e.isStrictMode=function(e){return t(e)===a},e.isSuspense=function(e){return t(e)===u},e.isSuspenseList=function(e){return t(e)===d},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===i||e===o||e===a||e===u||e===d||typeof e==`object`&&e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.getModuleId!==void 0))},e.typeOf=t})()})),fe=l(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=ue():t.exports=de()}))();function pe(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function me(e){if(n.isValidElement(e)||(0,fe.isValidElementType)(e)||!pe(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=me(e[n])}),t}function A(e,t,r={clone:!0}){let i=r.clone?{...e}:e;return pe(e)&&pe(t)&&Object.keys(t).forEach(a=>{n.isValidElement(t[a])||(0,fe.isValidElementType)(t[a])?i[a]=t[a]:pe(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&pe(e[a])?i[a]=A(e[a],t[a],r):r.clone?i[a]=pe(t[a])?me(t[a]):t[a]:i[a]=t[a]}),i}var he=/min-width:\s*([0-9.]+)/;function ge(e,t){if(!e.containerQueries||!_e(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>(e.match(he)?.[1]||0)-+(t.match(he)?.[1]||0));let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function _e(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function ve(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function ye(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!==`production`)throw Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function be(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var xe=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Se(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=xe(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var Ce={},we={xs:0,sm:600,md:900,lg:1200,xl:1536},Te=Se({values:we}),Ee={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:we[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function De(e,t,n){let r={};return Oe(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:re(r,a)})}function Oe(e,t,n,r){if(t??=Ce,Array.isArray(n)){let i=t.breakpoints??Te;for(let t=0;t<n.length;t+=1)ke(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??Te,a=i.values??we;for(let o in n)if(ve(i.keys,o)){let i=ye(t.containerQueries?t:Ee,o);i&&ke(e,i,n[o],o,r)}else if(o in a)ke(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function ke(e,t,n,r,i){e[t]??={},i(t,n,r)}function Ae(e=Te){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function je(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];le(t[r])&&delete t[r]}return t}function Me(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(ve(e.keys,n[t]))return!0}return!1}function Ne(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&Pe(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function Pe(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=Fe(e.vars,i,r);if(t!=null)return t}return Fe(e,i,r)}function Fe(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e===`default`?``:te(e)}`;return r?.[i]}return i}function j(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Pe(o,r)||{};return De(e,a,e=>{let r=Ne(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:k},a.filterProps=[t],a}var Ie={internal_cache:{}},Le={m:`margin`,p:`padding`},Re={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},ze={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Be={};for(let e in Le)Be[e]=[Le[e]];for(let e in Le)for(let t in Re){let n=Le[e],r=Re[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Be[e+t]=i}for(let e in ze)Be[e]=Be[ze[e]];var Ve=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),He=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]),Ue=new Set([...Ve,...He]);function We(e,t,n,r){let i=Pe(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:(process.env.NODE_ENV!==`production`&&typeof e!=`number`&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e):Array.isArray(i)?e=>{if(typeof e==`string`)return e;let n=Math.abs(e);process.env.NODE_ENV!==`production`&&(Number.isInteger(n)?n>i.length-1&&console.error([`MUI: The value provided (${n}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${n} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
4
|
+
`)):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(`
|
|
5
|
+
`)));let r=i[n];return e>=0?r:typeof r==`number`?-r:typeof r==`string`&&r.startsWith(`var(`)?`calc(-1 * ${r})`:`-${r}`}: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(`
|
|
6
|
+
`)),()=>void 0)}function Ge(e){return We(e,`spacing`,8,`spacing`)}function Ke(e,t){return typeof t==`string`||t==null?t:e(t)}var qe=[``];function Je(e,t){let n=e.theme??Ie,r=n?.internal_cache?.unarySpacing??Ge(n),i={};for(let n in e){if(!t.has(n))continue;let a=Be[n]??(qe[0]=n,qe),o=e[n];Oe(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=Ke(r,t)})}return i}function M(e){return Je(e,Ve)}M.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Ve).reduce((e,t)=>(e[t]=k,e),{}),M.filterProps=Ve;function N(e){return Je(e,He)}N.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(He).reduce((e,t)=>(e[t]=k,e),{}),N.filterProps=He;function Ye(e){return Je(e,Ue)}Ye.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Ue).reduce((e,t)=>(e[t]=k,e),{}),Ye.filterProps=Ue;function Xe(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&re(n,t[r](e));return n};return n.propTypes=process.env.NODE_ENV===`production`?{}:e.reduce((e,t)=>Object.assign(e,t.propTypes),{}),n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Ze(e){return typeof e==`number`?`${e}px solid`:e}function Qe(e,t){return j({prop:e,themeKey:`borders`,transform:t})}var $e=Qe(`border`,Ze),et=Qe(`borderTop`,Ze),tt=Qe(`borderRight`,Ze),nt=Qe(`borderBottom`,Ze),rt=Qe(`borderLeft`,Ze),it=Qe(`borderColor`),at=Qe(`borderTopColor`),ot=Qe(`borderRightColor`),st=Qe(`borderBottomColor`),ct=Qe(`borderLeftColor`),lt=Qe(`outline`,Ze),ut=Qe(`outlineColor`),dt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=We(e.theme,`shape.borderRadius`,4,`borderRadius`);return De(e,e.borderRadius,e=>({borderRadius:Ke(t,e)}))}return null};dt.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:k},dt.filterProps=[`borderRadius`],Xe($e,et,tt,nt,rt,it,at,ot,st,ct,dt,lt,ut);var ft=e=>{if(e.gap!==void 0&&e.gap!==null){let t=We(e.theme,`spacing`,8,`gap`);return De(e,e.gap,e=>({gap:Ke(t,e)}))}return null};ft.propTypes=process.env.NODE_ENV===`production`?{}:{gap:k},ft.filterProps=[`gap`];var pt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=We(e.theme,`spacing`,8,`columnGap`);return De(e,e.columnGap,e=>({columnGap:Ke(t,e)}))}return null};pt.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:k},pt.filterProps=[`columnGap`];var mt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=We(e.theme,`spacing`,8,`rowGap`);return De(e,e.rowGap,e=>({rowGap:Ke(t,e)}))}return null};mt.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:k},mt.filterProps=[`rowGap`],Xe(ft,pt,mt,j({prop:`gridColumn`}),j({prop:`gridRow`}),j({prop:`gridAutoFlow`}),j({prop:`gridAutoColumns`}),j({prop:`gridAutoRows`}),j({prop:`gridTemplateColumns`}),j({prop:`gridTemplateRows`}),j({prop:`gridTemplateAreas`}),j({prop:`gridArea`}));function ht(e,t){return t===`grey`?t:e}Xe(j({prop:`color`,themeKey:`palette`,transform:ht}),j({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:ht}),j({prop:`backgroundColor`,themeKey:`palette`,transform:ht}));function P(e){return e<=1&&e!==0?`${e*100}%`:e}var gt=j({prop:`width`,transform:P}),_t=e=>e.maxWidth!==void 0&&e.maxWidth!==null?De(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||we[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:P(t)}}):null;_t.filterProps=[`maxWidth`];var vt=j({prop:`minWidth`,transform:P}),yt=j({prop:`height`,transform:P}),bt=j({prop:`maxHeight`,transform:P}),xt=j({prop:`minHeight`,transform:P});j({prop:`size`,cssProperty:`width`,transform:P}),j({prop:`size`,cssProperty:`height`,transform:P}),Xe(gt,_t,vt,yt,bt,xt,j({prop:`boxSizing`}));var St={border:{themeKey:`borders`,transform:Ze},borderTop:{themeKey:`borders`,transform:Ze},borderRight:{themeKey:`borders`,transform:Ze},borderBottom:{themeKey:`borders`,transform:Ze},borderLeft:{themeKey:`borders`,transform:Ze},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Ze},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:dt},color:{themeKey:`palette`,transform:ht},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:ht},backgroundColor:{themeKey:`palette`,transform:ht},p:{style:N},pt:{style:N},pr:{style:N},pb:{style:N},pl:{style:N},px:{style:N},py:{style:N},padding:{style:N},paddingTop:{style:N},paddingRight:{style:N},paddingBottom:{style:N},paddingLeft:{style:N},paddingX:{style:N},paddingY:{style:N},paddingInline:{style:N},paddingInlineStart:{style:N},paddingInlineEnd:{style:N},paddingBlock:{style:N},paddingBlockStart:{style:N},paddingBlockEnd:{style:N},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:ft},rowGap:{style:mt},columnGap:{style:pt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:P},maxWidth:{style:_t},minWidth:{transform:P},height:{transform:P},maxHeight:{transform:P},minHeight:{transform:P},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}},Ct={};function wt(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=Ct,nested:i}=t,a=r.unstable_sxConfig??St,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??Te,l=Ae(c);for(let n in s){let i=Dt(s[n],r);if(i!=null){if(typeof i!=`object`){Et(l,n,i,r,a);continue}if(a[n]){Et(l,n,i,r,a);continue}Me(c,i)?Oe(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o))}}return!i&&r.modularCssLayers?{"@layer sx":ge(r,je(c,l))}:ge(r,je(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Tt=wt();function Et(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){re(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=Pe(r,o);Oe(e,r,n,(n,r)=>{let i=Ne(u,l,r,t);c===!1?n?e[n]=i:re(e,i):n?e[n][c]=i:e[c]=i})}function Dt(e,t){return typeof e==`function`?e(t):e}function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(null,arguments)}var kt=!1;function At(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function jt(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Mt=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!kt:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(jt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=At(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),F=`-ms-`,Nt=`-moz-`,I=`-webkit-`,Pt=`comm`,Ft=`rule`,It=`decl`,Lt=`@import`,Rt=`@keyframes`,zt=`@layer`,Bt=Math.abs,Vt=String.fromCharCode,Ht=Object.assign;function Ut(e,t){return R(e,0)^45?(((t<<2^R(e,0))<<2^R(e,1))<<2^R(e,2))<<2^R(e,3):0}function Wt(e){return e.trim()}function Gt(e,t){return(e=t.exec(e))?e[0]:e}function L(e,t,n){return e.replace(t,n)}function Kt(e,t){return e.indexOf(t)}function R(e,t){return e.charCodeAt(t)|0}function qt(e,t,n){return e.slice(t,n)}function Jt(e){return e.length}function Yt(e){return e.length}function Xt(e,t){return t.push(e),e}function Zt(e,t){return e.map(t).join(``)}var Qt=1,$t=1,en=0,z=0,B=0,tn=``;function nn(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Qt,column:$t,length:o,return:``}}function rn(e,t){return Ht(nn(``,null,null,``,null,null,0),e,{length:-e.length},t)}function an(){return B}function on(){return B=z>0?R(tn,--z):0,$t--,B===10&&($t=1,Qt--),B}function V(){return B=z<en?R(tn,z++):0,$t++,B===10&&($t=1,Qt++),B}function sn(){return R(tn,z)}function cn(){return z}function ln(e,t){return qt(tn,e,t)}function un(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function dn(e){return Qt=$t=1,en=Jt(tn=e),z=0,[]}function fn(e){return tn=``,e}function pn(e){return Wt(ln(z-1,gn(e===91?e+2:e===40?e+1:e)))}function mn(e){for(;(B=sn())&&B<33;)V();return un(e)>2||un(B)>3?``:` `}function hn(e,t){for(;--t&&V()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return ln(e,cn()+(t<6&&sn()==32&&V()==32))}function gn(e){for(;V();)switch(B){case e:return z;case 34:case 39:e!==34&&e!==39&&gn(B);break;case 40:e===41&&gn(e);break;case 92:V();break}return z}function _n(e,t){for(;V()&&e+B!==57&&!(e+B===84&&sn()===47););return`/*`+ln(t,z-1)+`*`+Vt(e===47?e:V())}function vn(e){for(;!un(sn());)V();return ln(e,z)}function yn(e){return fn(bn(``,null,null,null,[``],e=dn(e),0,[0],e))}function bn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=V()){case 40:if(m!=108&&R(C,d-1)==58){Kt(C+=L(pn(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=pn(v);break;case 9:case 10:case 13:case 32:C+=mn(m);break;case 92:C+=hn(cn()-1,7);continue;case 47:switch(sn()){case 42:case 47:Xt(Sn(_n(V(),cn()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Jt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=L(C,/\f/g,``)),p>0&&Jt(C)-d&&Xt(p>32?Cn(C+`;`,r,n,d-1):Cn(L(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Xt(S=xn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)bn(C,t,S,S,b,a,d,s,x);else switch(f===99&&R(C,3)===110?100:f){case 100:case 108:case 109:case 115:bn(e,S,S,r&&Xt(xn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:bn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Jt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&on()==125)continue}switch(C+=Vt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Jt(C)-1)*_,_=1;break;case 64:sn()===45&&(C+=pn(V())),f=sn(),u=d=Jt(y=C+=vn(cn())),v++;break;case 45:m===45&&Jt(C)==2&&(h=0)}}return a}function xn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Yt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=qt(e,d+1,d=Bt(h=o[m])),y=e;_<p;++_)(y=Wt(h>0?f[_]+` `+v:L(v,/&\f/g,f[_])))&&(c[g++]=y);return nn(e,t,n,i===0?Ft:s,c,l,u)}function Sn(e,t,n){return nn(e,t,n,Pt,Vt(an()),qt(e,2,-2),0)}function Cn(e,t,n,r){return nn(e,t,n,It,qt(e,0,r),qt(e,r+1,-1),r)}function wn(e,t){for(var n=``,r=Yt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Tn(e,t,n,r){switch(e.type){case zt:if(e.children.length)break;case Lt:case It:return e.return=e.return||e.value;case Pt:return``;case Rt:return e.return=e.value+`{`+wn(e.children,r)+`}`;case Ft:e.value=e.props.join(`,`)}return Jt(n=wn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function En(e){var t=Yt(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Dn(e){return function(t){t.root||(t=t.return)&&e(t)}}function On(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var kn=function(e,t,n){for(var r=0,i=0;r=i,i=sn(),r===38&&i===12&&(t[n]=1),!un(i);)V();return ln(e,z)},An=function(e,t){var n=-1,r=44;do switch(un(r)){case 0:r===38&&sn()===12&&(t[n]=1),e[n]+=kn(z-1,t,n);break;case 2:e[n]+=pn(r);break;case 4:if(r===44){e[++n]=sn()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Vt(r)}while(r=V());return e},jn=function(e,t){return fn(An(dn(e),t))},Mn=new WeakMap,Nn=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Mn.get(n))&&!r){Mn.set(e,!0);for(var i=[],a=jn(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Pn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Fn(e,t){switch(Ut(e,t)){case 5103:return I+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return I+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return I+e+Nt+e+F+e+e;case 6828:case 4268:return I+e+F+e+e;case 6165:return I+e+F+`flex-`+e+e;case 5187:return I+e+L(e,/(\w+).+(:[^]+)/,I+`box-$1$2`+F+`flex-$1$2`)+e;case 5443:return I+e+F+`flex-item-`+L(e,/flex-|-self/,``)+e;case 4675:return I+e+F+`flex-line-pack`+L(e,/align-content|flex-|-self/,``)+e;case 5548:return I+e+F+L(e,`shrink`,`negative`)+e;case 5292:return I+e+F+L(e,`basis`,`preferred-size`)+e;case 6060:return I+`box-`+L(e,`-grow`,``)+I+e+F+L(e,`grow`,`positive`)+e;case 4554:return I+L(e,/([^-])(transform)/g,`$1`+I+`$2`)+e;case 6187:return L(L(L(e,/(zoom-|grab)/,I+`$1`),/(image-set)/,I+`$1`),e,``)+e;case 5495:case 3959:return L(e,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return L(L(e,/(.+:)(flex-)?(.*)/,I+`box-pack:$3`+F+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+I+e+e;case 4095:case 3583:case 4068:case 2532:return L(e,/(.+)-inline(.+)/,I+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Jt(e)-1-t>6)switch(R(e,t+1)){case 109:if(R(e,t+4)!==45)break;case 102:return L(e,/(.+:)(.+)-([^]+)/,`$1`+I+`$2-$3$1`+Nt+(R(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Kt(e,`stretch`)?Fn(L(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(R(e,t+1)!==115)break;case 6444:switch(R(e,Jt(e)-3-(~Kt(e,`!important`)&&10))){case 107:return L(e,`:`,`:`+I)+e;case 101:return L(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+I+(R(e,14)===45?`inline-`:``)+`box$3$1`+I+`$2$3$1`+F+`$2box$3`)+e}break;case 5936:switch(R(e,t+11)){case 114:return I+e+F+L(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return I+e+F+L(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return I+e+F+L(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return I+e+F+e+e}return e}var In=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case It:e.return=Fn(e.value,e.length);break;case Rt:return wn([rn(e,{value:L(e.value,`@`,`@`+I)})],r);case Ft:if(e.length)return Zt(e.props,function(t){switch(Gt(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return wn([rn(e,{props:[L(t,/:(read-\w+)/,`:`+Nt+`$1`)]})],r);case`::placeholder`:return wn([rn(e,{props:[L(t,/:(plac\w+)/,`:`+I+`input-$1`)]}),rn(e,{props:[L(t,/:(plac\w+)/,`:`+Nt+`$1`)]}),rn(e,{props:[L(t,/:(plac\w+)/,F+`input-$1`)]})],r)}return``})}}],Ln=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||In,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Nn,Pn],l,u=[Tn,Dn(function(e){l.insert(e)})],d=En(c.concat(r,u)),f=function(e){return wn(yn(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Mt({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Rn=l(((e,t)=>{var n=m(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function g(e,t,n){if(typeof t!=`string`){if(h){var r=p(t);r&&r!==h&&g(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),m=0;m<a.length;++m){var _=a[m];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=g})),zn=!0;function Bn(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Vn=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||zn===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Hn=function(e,t,n){Vn(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Un(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Wn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Gn=!1,Kn=/[A-Z]|^ms/g,qn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Jn=function(e){return e.charCodeAt(1)===45},Yn=function(e){return e!=null&&typeof e!=`boolean`},Xn=On(function(e){return Jn(e)?e:e.replace(Kn,`-$&`).toLowerCase()}),Zn=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(qn,function(e,t,n){return nr={name:t,styles:n,next:nr},t})}return Wn[e]!==1&&!Jn(e)&&typeof t==`number`&&t!==0?t+`px`:t},Qn=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function $n(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return nr={name:i.name,styles:i.styles,next:nr},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)nr={name:o.name,styles:o.styles,next:nr},o=o.next;return a.styles+`;`}return er(e,t,n);case`function`:if(e!==void 0){var s=nr,c=n(e);return nr=s,$n(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function er(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=$n(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Yn(s)&&(r+=Xn(a)+`:`+Zn(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Gn)throw Error(Qn);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Yn(o[c])&&(r+=Xn(a)+`:`+Zn(a,o[c])+`;`);else{var l=$n(e,t,o);switch(a){case`animation`:case`animationName`:r+=Xn(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var tr=/label:\s*([^\s;{]+)\s*(;|$)/g,nr;function rr(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;nr=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=$n(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=$n(n,t,e[o]),r&&(i+=a[o]);tr.lastIndex=0;for(var s=``,c;(c=tr.exec(i))!==null;)s+=`-`+c[1];return{name:Un(i)+s,styles:i,next:nr}}var ir=function(e){return e()},ar=n.useInsertionEffect?n.useInsertionEffect:!1,or=ar||ir;ar||n.useLayoutEffect;var sr=n.createContext(typeof HTMLElement<`u`?Ln({key:`css`}):null);sr.Provider;var cr=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(sr),r)})},lr=n.createContext({}),ur={}.hasOwnProperty,dr=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,fr=function(e,t){var n={};for(var r in t)ur.call(t,r)&&(n[r]=t[r]);return n[dr]=e,n},pr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Vn(t,n,r),or(function(){return Hn(t,n,r)}),null},mr=cr(function(e,t,r){var i=e.css;typeof i==`string`&&t.registered[i]!==void 0&&(i=t.registered[i]);var a=e[dr],o=[i],s=``;typeof e.className==`string`?s=Bn(t.registered,o,e.className):e.className!=null&&(s=e.className+` `);var c=rr(o,void 0,n.useContext(lr));s+=t.key+`-`+c.name;var l={};for(var u in e)ur.call(e,u)&&u!==`css`&&u!==dr&&(l[u]=e[u]);return l.className=s,r&&(l.ref=r),n.createElement(n.Fragment,null,n.createElement(pr,{cache:t,serialized:c,isStringTag:typeof a==`string`}),n.createElement(a,l))});Rn();var hr=function(e,t){var r=arguments;if(t==null||!ur.call(t,`css`))return n.createElement.apply(void 0,r);var i=r.length,a=Array(i);a[0]=mr,a[1]=fr(e,t);for(var o=2;o<i;o++)a[o]=r[o];return n.createElement.apply(null,a)};(function(e){var t;(function(e){})(t||=e.JSX||={})})(hr||={});function gr(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return rr(t)}function _r(){var e=gr.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var vr=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,yr=On(function(e){return vr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),br=!1,xr=yr,Sr=function(e){return e!==`theme`},Cr=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?xr:Sr},wr=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},Tr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Vn(t,n,r),or(function(){return Hn(t,n,r)}),null},Er=function e(t,r){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,o,s;r!==void 0&&(o=r.label,s=r.target);var c=wr(t,r,i),l=c||Cr(a),u=!l(`as`);return function(){var d=arguments,f=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push(`label:`+o+`;`),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var m=d.length,h=1;h<m;h++)f.push(d[h],p[h])}var g=cr(function(e,t,r){var i=u&&e.as||a,o=``,d=[],p=e;if(e.theme==null){for(var m in p={},e)p[m]=e[m];p.theme=n.useContext(lr)}typeof e.className==`string`?o=Bn(t.registered,d,e.className):e.className!=null&&(o=e.className+` `);var h=rr(f.concat(d),t.registered,p);o+=t.key+`-`+h.name,s!==void 0&&(o+=` `+s);var g=u&&c===void 0?Cr(i):l,_={};for(var v in e)u&&v===`as`||g(v)&&(_[v]=e[v]);return _.className=o,r&&(_.ref=r),n.createElement(n.Fragment,null,n.createElement(Tr,{cache:t,serialized:h,isStringTag:typeof i==`string`}),n.createElement(i,_))});return g.displayName=o===void 0?`Styled(`+(typeof a==`string`?a:a.displayName||a.name||`Component`)+`)`:o,g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=f,g.__emotion_forwardProp=c,Object.defineProperty(g,`toString`,{value:function(){return s===void 0&&br?`NO_COMPONENT_SELECTOR`:`.`+s}}),g.withComponent=function(t,n){return e(t,Ot({},r,n,{shouldForwardProp:wr(g,n,!0)})).apply(void 0,f)},g}},Dr=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),Or=Er.bind(null);Dr.forEach(function(e){Or[e]=Or(e)});var kr=l((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Ar=l((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ne?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case S:return`Suspense`;case C:return`SuspenseList`;case te:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case h:return`Portal`;case b:return(e.displayName||`Context`)+`.Provider`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case ee:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case w:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===g)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===w)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=re.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(ie.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){T||(T=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function l(){var e=t(this.type);return se[e]||(se[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a,o,s){return n=a.ref,e={$$typeof:m,type:e,key:t,props:a,_owner:i},(n===void 0?null:n)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d,p,m){var h=n.children;if(h!==void 0)if(o)if(ae(h)){for(o=0;o<h.length;o++)f(h[o]);Object.freeze&&Object.freeze(h)}else console.error(`React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`);else f(h);if(ie.call(n,`key`)){h=t(e);var g=Object.keys(n).filter(function(e){return e!==`key`});o=0<g.length?`{key: someKey, `+g.join(`: ..., `)+`: ...}`:`{key: someKey}`,D[h+o]||(g=0<g.length?`{`+g.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
7
|
let props = %s;
|
|
19
8
|
<%s {...props} />
|
|
20
9
|
React keys must be passed directly to JSX without using spread:
|
|
21
10
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,
|
|
23
|
-
* react-is.production.min.js
|
|
24
|
-
|
|
25
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
-
*
|
|
27
|
-
* This source code is licensed under the MIT license found in the
|
|
28
|
-
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/var mo;function _a(){if(mo)return te;mo=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,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function P(C){if(typeof C=="object"&&C!==null){var k=C.$$typeof;switch(k){case t:switch(C=C.type,C){case f:case d:case n:case i:case o:case p:return C;default:switch(C=C&&C.$$typeof,C){case s:case m:case g:case v:case a:return C;default:return k}}case r:return k}}}function $(C){return P(C)===d}return te.AsyncMode=f,te.ConcurrentMode=d,te.ContextConsumer=s,te.ContextProvider=a,te.Element=t,te.ForwardRef=m,te.Fragment=n,te.Lazy=g,te.Memo=v,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=p,te.isAsyncMode=function(C){return $(C)||P(C)===f},te.isConcurrentMode=$,te.isContextConsumer=function(C){return P(C)===s},te.isContextProvider=function(C){return P(C)===a},te.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},te.isForwardRef=function(C){return P(C)===m},te.isFragment=function(C){return P(C)===n},te.isLazy=function(C){return P(C)===g},te.isMemo=function(C){return P(C)===v},te.isPortal=function(C){return P(C)===r},te.isProfiler=function(C){return P(C)===i},te.isStrictMode=function(C){return P(C)===o},te.isSuspense=function(C){return P(C)===p},te.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===d||C===i||C===o||C===p||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===g||C.$$typeof===v||C.$$typeof===a||C.$$typeof===s||C.$$typeof===m||C.$$typeof===y||C.$$typeof===E||C.$$typeof===R||C.$$typeof===c)},te.typeOf=P,te}var re={};/** @license React v16.13.1
|
|
30
|
-
* react-is.development.js
|
|
31
|
-
*
|
|
32
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the MIT license found in the
|
|
35
|
-
* LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/var ho;function Aa(){return ho||(ho=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,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,R=e?Symbol.for("react.scope"):60119;function P(M){return typeof M=="string"||typeof M=="function"||M===n||M===d||M===i||M===o||M===p||M===h||typeof M=="object"&&M!==null&&(M.$$typeof===g||M.$$typeof===v||M.$$typeof===a||M.$$typeof===s||M.$$typeof===m||M.$$typeof===y||M.$$typeof===E||M.$$typeof===R||M.$$typeof===c)}function $(M){if(typeof M=="object"&&M!==null){var Fe=M.$$typeof;switch(Fe){case t:var st=M.type;switch(st){case f:case d:case n:case i:case o:case p:return st;default:var Qr=st&&st.$$typeof;switch(Qr){case s:case m:case g:case v:case a:return Qr;default:return Fe}}case r:return Fe}}}var C=f,k=d,N=s,V=a,W=t,u=m,x=n,l=g,A=v,O=r,D=i,j=o,Q=p,de=!1;function fe(M){return de||(de=!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.")),b(M)||$(M)===f}function b(M){return $(M)===d}function _(M){return $(M)===s}function B(M){return $(M)===a}function F(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function L(M){return $(M)===m}function Y(M){return $(M)===n}function G(M){return $(M)===g}function H(M){return $(M)===v}function z(M){return $(M)===r}function K(M){return $(M)===i}function X(M){return $(M)===o}function Ce(M){return $(M)===p}re.AsyncMode=C,re.ConcurrentMode=k,re.ContextConsumer=N,re.ContextProvider=V,re.Element=W,re.ForwardRef=u,re.Fragment=x,re.Lazy=l,re.Memo=A,re.Portal=O,re.Profiler=D,re.StrictMode=j,re.Suspense=Q,re.isAsyncMode=fe,re.isConcurrentMode=b,re.isContextConsumer=_,re.isContextProvider=B,re.isElement=F,re.isForwardRef=L,re.isFragment=Y,re.isLazy=G,re.isMemo=H,re.isPortal=z,re.isProfiler=K,re.isStrictMode=X,re.isSuspense=Ce,re.isValidElementType=P,re.typeOf=$}()),re}var go;function rn(){return go||(go=1,process.env.NODE_ENV==="production"?rr.exports=_a():rr.exports=Aa()),rr.exports}/*
|
|
37
|
-
object-assign
|
|
38
|
-
(c) Sindre Sorhus
|
|
39
|
-
@license MIT
|
|
40
|
-
*/var nn,yo;function Pa(){if(yo)return nn;yo=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 a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var f=Object.getOwnPropertyNames(a).map(function(m){return a[m]});if(f.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(m){d[m]=m}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return nn=o()?Object.assign:function(i,a){for(var s,f=n(i),d,m=1;m<arguments.length;m++){s=Object(arguments[m]);for(var p in s)t.call(s,p)&&(f[p]=s[p]);if(e){d=e(s);for(var h=0;h<d.length;h++)r.call(s,d[h])&&(f[d[h]]=s[d[h]])}}return f},nn}var on,bo;function an(){if(bo)return on;bo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return on=e,on}var sn,vo;function So(){return vo||(vo=1,sn=Function.call.bind(Object.prototype.hasOwnProperty)),sn}var cn,$o;function Ra(){if($o)return cn;$o=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=an(),r={},n=So();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,f,d){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var p;try{if(typeof i[m]!="function"){var h=Error((f||"React class")+": "+s+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[m](a,m,f,s,null,t)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((f||"React class")+": type specification of "+s+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var v=d?d():"";e("Failed "+s+" type: "+p.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},cn=o,cn}var ln,Co;function Na(){if(Co)return ln;Co=1;var e=rn(),t=Pa(),r=an(),n=So(),o=Ra(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var f="Warning: "+s;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function a(){return null}return ln=function(s,f){var d=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function p(b){var _=b&&(d&&b[d]||b[m]);if(typeof _=="function")return _}var h="<<anonymous>>",v={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:R(),arrayOf:P,element:$(),elementType:C(),instanceOf:k,node:u(),objectOf:V,oneOf:N,oneOfType:W,shape:l,exact:A};function g(b,_){return b===_?b!==0||1/b===1/_:b!==b&&_!==_}function c(b,_){this.message=b,this.data=_&&typeof _=="object"?_:{},this.stack=""}c.prototype=Error.prototype;function y(b){if(process.env.NODE_ENV!=="production")var _={},B=0;function F(Y,G,H,z,K,X,Ce){if(z=z||h,X=X||H,Ce!==r){if(f){var M=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 M.name="Invariant Violation",M}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Fe=z+":"+H;!_[Fe]&&B<3&&(i("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+z+"`. 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."),_[Fe]=!0,B++)}}return G[H]==null?Y?G[H]===null?new c("The "+K+" `"+X+"` is marked as required "+("in `"+z+"`, but its value is `null`.")):new c("The "+K+" `"+X+"` is marked as required in "+("`"+z+"`, but its value is `undefined`.")):null:b(G,H,z,K,X)}var L=F.bind(null,!1);return L.isRequired=F.bind(null,!0),L}function E(b){function _(B,F,L,Y,G,H){var z=B[F],K=j(z);if(K!==b){var X=Q(z);return new c("Invalid "+Y+" `"+G+"` of type "+("`"+X+"` supplied to `"+L+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return y(_)}function R(){return y(a)}function P(b){function _(B,F,L,Y,G){if(typeof b!="function")return new c("Property `"+G+"` of component `"+L+"` has invalid PropType notation inside arrayOf.");var H=B[F];if(!Array.isArray(H)){var z=j(H);return new c("Invalid "+Y+" `"+G+"` of type "+("`"+z+"` supplied to `"+L+"`, expected an array."))}for(var K=0;K<H.length;K++){var X=b(H,K,L,Y,G+"["+K+"]",r);if(X instanceof Error)return X}return null}return y(_)}function $(){function b(_,B,F,L,Y){var G=_[B];if(!s(G)){var H=j(G);return new c("Invalid "+L+" `"+Y+"` of type "+("`"+H+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return y(b)}function C(){function b(_,B,F,L,Y){var G=_[B];if(!e.isValidElementType(G)){var H=j(G);return new c("Invalid "+L+" `"+Y+"` of type "+("`"+H+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return y(b)}function k(b){function _(B,F,L,Y,G){if(!(B[F]instanceof b)){var H=b.name||h,z=fe(B[F]);return new c("Invalid "+Y+" `"+G+"` of type "+("`"+z+"` supplied to `"+L+"`, expected ")+("instance of `"+H+"`."))}return null}return y(_)}function N(b){if(!Array.isArray(b))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.")),a;function _(B,F,L,Y,G){for(var H=B[F],z=0;z<b.length;z++)if(g(H,b[z]))return null;var K=JSON.stringify(b,function(Ce,M){var Fe=Q(M);return Fe==="symbol"?String(M):M});return new c("Invalid "+Y+" `"+G+"` of value `"+String(H)+"` "+("supplied to `"+L+"`, expected one of "+K+"."))}return y(_)}function V(b){function _(B,F,L,Y,G){if(typeof b!="function")return new c("Property `"+G+"` of component `"+L+"` has invalid PropType notation inside objectOf.");var H=B[F],z=j(H);if(z!=="object")return new c("Invalid "+Y+" `"+G+"` of type "+("`"+z+"` supplied to `"+L+"`, expected an object."));for(var K in H)if(n(H,K)){var X=b(H,K,L,Y,G+"."+K,r);if(X instanceof Error)return X}return null}return y(_)}function W(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<b.length;_++){var B=b[_];if(typeof B!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+de(B)+" at index "+_+"."),a}function F(L,Y,G,H,z){for(var K=[],X=0;X<b.length;X++){var Ce=b[X],M=Ce(L,Y,G,H,z,r);if(M==null)return null;M.data&&n(M.data,"expectedType")&&K.push(M.data.expectedType)}var Fe=K.length>0?", expected one of type ["+K.join(", ")+"]":"";return new c("Invalid "+H+" `"+z+"` supplied to "+("`"+G+"`"+Fe+"."))}return y(F)}function u(){function b(_,B,F,L,Y){return O(_[B])?null:new c("Invalid "+L+" `"+Y+"` supplied to "+("`"+F+"`, expected a ReactNode."))}return y(b)}function x(b,_,B,F,L){return new c((b||"React class")+": "+_+" type `"+B+"."+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+L+"`.")}function l(b){function _(B,F,L,Y,G){var H=B[F],z=j(H);if(z!=="object")return new c("Invalid "+Y+" `"+G+"` of type `"+z+"` "+("supplied to `"+L+"`, expected `object`."));for(var K in b){var X=b[K];if(typeof X!="function")return x(L,Y,G,K,Q(X));var Ce=X(H,K,L,Y,G+"."+K,r);if(Ce)return Ce}return null}return y(_)}function A(b){function _(B,F,L,Y,G){var H=B[F],z=j(H);if(z!=="object")return new c("Invalid "+Y+" `"+G+"` of type `"+z+"` "+("supplied to `"+L+"`, expected `object`."));var K=t({},B[F],b);for(var X in K){var Ce=b[X];if(n(b,X)&&typeof Ce!="function")return x(L,Y,G,X,Q(Ce));if(!Ce)return new c("Invalid "+Y+" `"+G+"` key `"+X+"` supplied to `"+L+"`.\nBad object: "+JSON.stringify(B[F],null," ")+`
|
|
41
|
-
Valid keys: `+JSON.stringify(Object.keys(b),null," "));var M=Ce(H,X,L,Y,G+"."+X,r);if(M)return M}return null}return y(_)}function O(b){switch(typeof b){case"number":case"string":case"undefined":return!0;case"boolean":return!b;case"object":if(Array.isArray(b))return b.every(O);if(b===null||s(b))return!0;var _=p(b);if(_){var B=_.call(b),F;if(_!==b.entries){for(;!(F=B.next()).done;)if(!O(F.value))return!1}else for(;!(F=B.next()).done;){var L=F.value;if(L&&!O(L[1]))return!1}}else return!1;return!0;default:return!1}}function D(b,_){return b==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function j(b){var _=typeof b;return Array.isArray(b)?"array":b instanceof RegExp?"object":D(_,b)?"symbol":_}function Q(b){if(typeof b>"u"||b===null)return""+b;var _=j(b);if(_==="object"){if(b instanceof Date)return"date";if(b instanceof RegExp)return"regexp"}return _}function de(b){var _=Q(b);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function fe(b){return!b.constructor||!b.constructor.name?h:b.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},ln}var un,Eo;function Ia(){if(Eo)return un;Eo=1;var e=an();function t(){}function r(){}return r.resetWarningCache=t,un=function(){function n(a,s,f,d,m,p){if(p!==e){var h=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 h.name="Invariant Violation",h}}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},un}if(process.env.NODE_ENV!=="production"){var Ma=rn(),Da=!0;tn.exports=Na()(Ma.isElement,Da)}else tn.exports=Ia()();var Ba=tn.exports;const S=wa(Ba);function To(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=To(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function xe(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=To(e))&&(n&&(n+=" "),n+=t);return n}function ja(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}var fn={exports:{}},ie={};/**
|
|
42
|
-
* @license React
|
|
43
|
-
* react-is.production.js
|
|
44
|
-
*
|
|
45
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
46
|
-
*
|
|
47
|
-
* This source code is licensed under the MIT license found in the
|
|
48
|
-
* LICENSE file in the root directory of this source tree.
|
|
49
|
-
*/var wo;function Fa(){if(wo)return ie;wo=1;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"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case e:switch(c=c.type,c){case r:case o:case n:case f:case d:case h:return c;default:switch(c=c&&c.$$typeof,c){case a:case s:case p:case m:return c;case i:return c;default:return y}}case t:return y}}}return ie.ContextConsumer=i,ie.ContextProvider=a,ie.Element=e,ie.ForwardRef=s,ie.Fragment=r,ie.Lazy=p,ie.Memo=m,ie.Portal=t,ie.Profiler=o,ie.StrictMode=n,ie.Suspense=f,ie.SuspenseList=d,ie.isContextConsumer=function(c){return g(c)===i},ie.isContextProvider=function(c){return g(c)===a},ie.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},ie.isForwardRef=function(c){return g(c)===s},ie.isFragment=function(c){return g(c)===r},ie.isLazy=function(c){return g(c)===p},ie.isMemo=function(c){return g(c)===m},ie.isPortal=function(c){return g(c)===t},ie.isProfiler=function(c){return g(c)===o},ie.isStrictMode=function(c){return g(c)===n},ie.isSuspense=function(c){return g(c)===f},ie.isSuspenseList=function(c){return g(c)===d},ie.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===f||c===d||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===s||c.$$typeof===v||c.getModuleId!==void 0)},ie.typeOf=g,ie}var ae={};/**
|
|
50
|
-
* @license React
|
|
51
|
-
* react-is.development.js
|
|
52
|
-
*
|
|
53
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
54
|
-
*
|
|
55
|
-
* This source code is licensed under the MIT license found in the
|
|
56
|
-
* LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/var xo;function Va(){return xo||(xo=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case v:return c;default:switch(c=c&&c.$$typeof,c){case s:case f:case h:case p:return c;case a:return c;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ae.ContextConsumer=a,ae.ContextProvider=s,ae.Element=t,ae.ForwardRef=f,ae.Fragment=n,ae.Lazy=h,ae.Memo=p,ae.Portal=r,ae.Profiler=i,ae.StrictMode=o,ae.Suspense=d,ae.SuspenseList=m,ae.isContextConsumer=function(c){return e(c)===a},ae.isContextProvider=function(c){return e(c)===s},ae.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ae.isForwardRef=function(c){return e(c)===f},ae.isFragment=function(c){return e(c)===n},ae.isLazy=function(c){return e(c)===h},ae.isMemo=function(c){return e(c)===p},ae.isPortal=function(c){return e(c)===r},ae.isProfiler=function(c){return e(c)===i},ae.isStrictMode=function(c){return e(c)===o},ae.isSuspense=function(c){return e(c)===d},ae.isSuspenseList=function(c){return e(c)===m},ae.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===f||c.$$typeof===g||c.getModuleId!==void 0)},ae.typeOf=e}()),ae}process.env.NODE_ENV==="production"?fn.exports=Fa():fn.exports=Va();var nr=fn.exports;function Ge(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 ko(e){if(I.isValidElement(e)||nr.isValidElementType(e)||!Ge(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=ko(e[r])}),t}function Oe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ge(e)&&Ge(t)&&Object.keys(t).forEach(o=>{I.isValidElement(t[o])||nr.isValidElementType(t[o])?n[o]=t[o]:Ge(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ge(e[o])?n[o]=Oe(e[o],t[o],r):r.clone?n[o]=Ge(t[o])?ko(t[o]):t[o]:n[o]=t[o]}),n}function Nt(e,t){return t?Oe(e,t,{clone:!1}):e}const et=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function Oo(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function La(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function za(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")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>\`.
|
|
58
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ze(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Ua(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const f=t(e.breakpoints.not(...s),a);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const or={xs:0,sm:600,md:900,lg:1200,xl:1536},_o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${or[e]}px)`},Wa={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:or[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function He(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||_o;return t.reduce((a,s,f)=>(a[i.up(i.keys[f])]=r(t[f]),a),{})}if(typeof t=="object"){const i=n.breakpoints||_o;return Object.keys(t).reduce((a,s)=>{if(La(i.keys,s)){const f=za(n.containerQueries?n:Wa,s);f&&(a[f]=r(t[s],s))}else if(Object.keys(i.values||or).includes(s)){const f=i.up(s);a[f]=r(t[s],s)}else{const f=s;a[f]=t[f]}return a},{})}return r(t)}function Ya(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function Ao(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function ir(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 ar(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=ir(e,r)||n,t&&(o=t(o,n,e)),o}function ve(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],f=a.theme,d=ir(f,n)||{};return He(a,s,p=>{let h=ar(d,o,p);return p===h&&typeof p=="string"&&(h=ar(d,o,`${t}${p==="default"?"":ct(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:et}:{},i.filterProps=[t],i}function Ga(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ha={m:"margin",p:"padding"},qa={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Po={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ka=Ga(e=>{if(e.length>2)if(Po[e])e=Po[e];else return[e];const[t,r]=e.split(""),n=Ha[t],o=qa[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),sr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Xa=[...sr,...cr];function It(e,t,r,n){const o=ir(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
59
|
-
`)):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(`
|
|
60
|
-
`)));const s=o[a];return i>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}: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(`
|
|
61
|
-
`)),()=>{})}function dn(e){return It(e,"spacing",8,"spacing")}function Mt(e,t){return typeof t=="string"||t==null?t:e(t)}function Ja(e,t){return r=>e.reduce((n,o)=>(n[o]=Mt(t,r),n),{})}function Qa(e,t,r,n){if(!t.includes(r))return null;const o=Ka(r),i=Ja(o,n),a=e[r];return He(e,a,i)}function Ro(e,t){const r=dn(e.theme);return Object.keys(e).map(n=>Qa(e,t,n,r)).reduce(Nt,{})}function he(e){return Ro(e,sr)}he.propTypes=process.env.NODE_ENV!=="production"?sr.reduce((e,t)=>(e[t]=et,e),{}):{},he.filterProps=sr;function ge(e){return Ro(e,cr)}ge.propTypes=process.env.NODE_ENV!=="production"?cr.reduce((e,t)=>(e[t]=et,e),{}):{},ge.filterProps=cr,process.env.NODE_ENV!=="production"&&Xa.reduce((e,t)=>(e[t]=et,e),{});function lr(...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]?Nt(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 Ie(e){return typeof e!="number"?e:`${e}px solid`}function Me(e,t){return ve({prop:e,themeKey:"borders",transform:t})}const Za=Me("border",Ie),es=Me("borderTop",Ie),ts=Me("borderRight",Ie),rs=Me("borderBottom",Ie),ns=Me("borderLeft",Ie),os=Me("borderColor"),is=Me("borderTopColor"),as=Me("borderRightColor"),ss=Me("borderBottomColor"),cs=Me("borderLeftColor"),ls=Me("outline",Ie),us=Me("outlineColor"),ur=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=It(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Mt(t,n)});return He(e,e.borderRadius,r)}return null};ur.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:et}:{},ur.filterProps=["borderRadius"],lr(Za,es,ts,rs,ns,os,is,as,ss,cs,ur,ls,us);const fr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=It(e.theme,"spacing",8,"gap"),r=n=>({gap:Mt(t,n)});return He(e,e.gap,r)}return null};fr.propTypes=process.env.NODE_ENV!=="production"?{gap:et}:{},fr.filterProps=["gap"];const dr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=It(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Mt(t,n)});return He(e,e.columnGap,r)}return null};dr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:et}:{},dr.filterProps=["columnGap"];const pr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=It(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Mt(t,n)});return He(e,e.rowGap,r)}return null};pr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:et}:{},pr.filterProps=["rowGap"];const fs=ve({prop:"gridColumn"}),ds=ve({prop:"gridRow"}),ps=ve({prop:"gridAutoFlow"}),ms=ve({prop:"gridAutoColumns"}),hs=ve({prop:"gridAutoRows"}),gs=ve({prop:"gridTemplateColumns"}),ys=ve({prop:"gridTemplateRows"}),bs=ve({prop:"gridTemplateAreas"}),vs=ve({prop:"gridArea"});lr(fr,dr,pr,fs,ds,ps,ms,hs,gs,ys,bs,vs);function pt(e,t){return t==="grey"?t:e}const Ss=ve({prop:"color",themeKey:"palette",transform:pt}),$s=ve({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pt}),Cs=ve({prop:"backgroundColor",themeKey:"palette",transform:pt});lr(Ss,$s,Cs);function _e(e){return e<=1&&e!==0?`${e*100}%`:e}const Es=ve({prop:"width",transform:_e}),pn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,f;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||or[r];return n?((f=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:_e(r)}};return He(e,e.maxWidth,t)}return null};pn.filterProps=["maxWidth"];const Ts=ve({prop:"minWidth",transform:_e}),ws=ve({prop:"height",transform:_e}),xs=ve({prop:"maxHeight",transform:_e}),ks=ve({prop:"minHeight",transform:_e});ve({prop:"size",cssProperty:"width",transform:_e}),ve({prop:"size",cssProperty:"height",transform:_e});const Os=ve({prop:"boxSizing"});lr(Es,pn,Ts,ws,xs,ks,Os);const mr={border:{themeKey:"borders",transform:Ie},borderTop:{themeKey:"borders",transform:Ie},borderRight:{themeKey:"borders",transform:Ie},borderBottom:{themeKey:"borders",transform:Ie},borderLeft:{themeKey:"borders",transform:Ie},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ie},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ur},color:{themeKey:"palette",transform:pt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pt},backgroundColor:{themeKey:"palette",transform:pt},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:he},mt:{style:he},mr:{style:he},mb:{style:he},ml:{style:he},mx:{style:he},my:{style:he},margin:{style:he},marginTop:{style:he},marginRight:{style:he},marginBottom:{style:he},marginLeft:{style:he},marginX:{style:he},marginY:{style:he},marginInline:{style:he},marginInlineStart:{style:he},marginInlineEnd:{style:he},marginBlock:{style:he},marginBlockStart:{style:he},marginBlockEnd:{style:he},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:fr},rowGap:{style:pr},columnGap:{style:dr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_e},maxWidth:{style:pn},minWidth:{transform:_e},height:{transform:_e},maxHeight:{transform:_e},minHeight:{transform:_e},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function _s(...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 As(e,t){return typeof e=="function"?e(t):e}function Ps(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=ir(o,d)||{};return p?p(a):He(a,n,g=>{let c=ar(h,m,g);return g===c&&typeof g=="string"&&(c=ar(h,m,`${r}${g==="default"?"":ct(g)}`,g)),f===!1?c:{[f]:c}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??mr;function s(f){let d=f;if(typeof f=="function")d=f(o);else if(typeof f!="object")return f;if(!d)return null;const m=Ya(o.breakpoints),p=Object.keys(m);let h=m;return Object.keys(d).forEach(v=>{const g=As(d[v],o);if(g!=null)if(typeof g=="object")if(a[v])h=Nt(h,e(v,g,o,a));else{const c=He({theme:o},g,y=>({[v]:y}));_s(c,g)?h[v]=t({sx:g,theme:o,nested:!0}):h=Nt(h,c)}else h=Nt(h,e(v,g,o,a))}),!i&&o.modularCssLayers?{"@layer sx":Oo(o,Ao(p,h))}:Oo(o,Ao(p,h))}return Array.isArray(n)?n.map(s):s(n)}return t}const mt=Ps();mt.filterProps=["sx"];function hr(){return hr=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},hr.apply(null,arguments)}function Rs(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Ns(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Is=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ns(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Rs(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),we="-ms-",gr="-moz-",Z="-webkit-",No="comm",mn="rule",hn="decl",Ms="@import",Io="@keyframes",Ds="@layer",Bs=Math.abs,yr=String.fromCharCode,js=Object.assign;function Fs(e,t){return Ee(e,0)^45?(((t<<2^Ee(e,0))<<2^Ee(e,1))<<2^Ee(e,2))<<2^Ee(e,3):0}function Mo(e){return e.trim()}function Vs(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function gn(e,t){return e.indexOf(t)}function Ee(e,t){return e.charCodeAt(t)|0}function Dt(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function yn(e){return e.length}function br(e,t){return t.push(e),e}function Ls(e,t){return e.map(t).join("")}var vr=1,ht=1,Do=0,ke=0,$e=0,gt="";function Sr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:vr,column:ht,length:a,return:""}}function Bt(e,t){return js(Sr("",null,null,"",null,null,0),e,{length:-e.length},t)}function zs(){return $e}function Us(){return $e=ke>0?Ee(gt,--ke):0,ht--,$e===10&&(ht=1,vr--),$e}function Ae(){return $e=ke<Do?Ee(gt,ke++):0,ht++,$e===10&&(ht=1,vr++),$e}function ze(){return Ee(gt,ke)}function $r(){return ke}function jt(e,t){return Dt(gt,e,t)}function Ft(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Bo(e){return vr=ht=1,Do=Le(gt=e),ke=0,[]}function jo(e){return gt="",e}function Cr(e){return Mo(jt(ke-1,bn(e===91?e+2:e===40?e+1:e)))}function Ws(e){for(;($e=ze())&&$e<33;)Ae();return Ft(e)>2||Ft($e)>3?"":" "}function Ys(e,t){for(;--t&&Ae()&&!($e<48||$e>102||$e>57&&$e<65||$e>70&&$e<97););return jt(e,$r()+(t<6&&ze()==32&&Ae()==32))}function bn(e){for(;Ae();)switch($e){case e:return ke;case 34:case 39:e!==34&&e!==39&&bn($e);break;case 40:e===41&&bn(e);break;case 92:Ae();break}return ke}function Gs(e,t){for(;Ae()&&e+$e!==57;)if(e+$e===84&&ze()===47)break;return"/*"+jt(t,ke-1)+"*"+yr(e===47?e:Ae())}function Hs(e){for(;!Ft(ze());)Ae();return jt(e,ke)}function qs(e){return jo(Er("",null,null,null,[""],e=Bo(e),0,[0],e))}function Er(e,t,r,n,o,i,a,s,f){for(var d=0,m=0,p=a,h=0,v=0,g=0,c=1,y=1,E=1,R=0,P="",$=o,C=i,k=n,N=P;y;)switch(g=R,R=Ae()){case 40:if(g!=108&&Ee(N,p-1)==58){gn(N+=ee(Cr(R),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:N+=Cr(R);break;case 9:case 10:case 13:case 32:N+=Ws(g);break;case 92:N+=Ys($r()-1,7);continue;case 47:switch(ze()){case 42:case 47:br(Ks(Gs(Ae(),$r()),t,r),f);break;default:N+="/"}break;case 123*c:s[d++]=Le(N)*E;case 125*c:case 59:case 0:switch(R){case 0:case 125:y=0;case 59+m:E==-1&&(N=ee(N,/\f/g,"")),v>0&&Le(N)-p&&br(v>32?Vo(N+";",n,r,p-1):Vo(ee(N," ","")+";",n,r,p-2),f);break;case 59:N+=";";default:if(br(k=Fo(N,t,r,d,m,o,s,P,$=[],C=[],p),i),R===123)if(m===0)Er(N,t,k,k,$,i,p,s,C);else switch(h===99&&Ee(N,3)===110?100:h){case 100:case 108:case 109:case 115:Er(e,k,k,n&&br(Fo(e,k,k,0,0,o,s,P,o,$=[],p),C),o,C,p,s,n?$:C);break;default:Er(N,k,k,k,[""],C,0,s,C)}}d=m=v=0,c=E=1,P=N="",p=a;break;case 58:p=1+Le(N),v=g;default:if(c<1){if(R==123)--c;else if(R==125&&c++==0&&Us()==125)continue}switch(N+=yr(R),R*c){case 38:E=m>0?1:(N+="\f",-1);break;case 44:s[d++]=(Le(N)-1)*E,E=1;break;case 64:ze()===45&&(N+=Cr(Ae())),h=ze(),m=p=Le(P=N+=Hs($r())),R++;break;case 45:g===45&&Le(N)==2&&(c=0)}}return i}function Fo(e,t,r,n,o,i,a,s,f,d,m){for(var p=o-1,h=o===0?i:[""],v=yn(h),g=0,c=0,y=0;g<n;++g)for(var E=0,R=Dt(e,p+1,p=Bs(c=a[g])),P=e;E<v;++E)(P=Mo(c>0?h[E]+" "+R:ee(R,/&\f/g,h[E])))&&(f[y++]=P);return Sr(e,t,r,o===0?mn:s,f,d,m)}function Ks(e,t,r){return Sr(e,t,r,No,yr(zs()),Dt(e,2,-2),0)}function Vo(e,t,r,n){return Sr(e,t,r,hn,Dt(e,0,n),Dt(e,n+1,-1),n)}function yt(e,t){for(var r="",n=yn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Xs(e,t,r,n){switch(e.type){case Ds:if(e.children.length)break;case Ms:case hn:return e.return=e.return||e.value;case No:return"";case Io:return e.return=e.value+"{"+yt(e.children,n)+"}";case mn:e.value=e.props.join(",")}return Le(r=yt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Js(e){var t=yn(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function Qs(e){return function(t){t.root||(t=t.return)&&e(t)}}function vn(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Zs=function(t,r,n){for(var o=0,i=0;o=i,i=ze(),o===38&&i===12&&(r[n]=1),!Ft(i);)Ae();return jt(t,ke)},ec=function(t,r){var n=-1,o=44;do switch(Ft(o)){case 0:o===38&&ze()===12&&(r[n]=1),t[n]+=Zs(ke-1,r,n);break;case 2:t[n]+=Cr(o);break;case 4:if(o===44){t[++n]=ze()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=yr(o)}while(o=Ae());return t},tc=function(t,r){return jo(ec(Bo(t),r))},Lo=new WeakMap,rc=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Lo.get(n))&&!o){Lo.set(t,!0);for(var i=[],a=tc(r,i),s=n.props,f=0,d=0;f<a.length;f++)for(var m=0;m<s.length;m++,d++)t.props[d]=i[f]?a[f].replace(/&\f/g,s[m]):s[m]+" "+a[f]}}},nc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function zo(e,t){switch(Fs(e,t)){case 5103:return Z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Z+e+gr+e+we+e+e;case 6828:case 4268:return Z+e+we+e+e;case 6165:return Z+e+we+"flex-"+e+e;case 5187:return Z+e+ee(e,/(\w+).+(:[^]+)/,Z+"box-$1$2"+we+"flex-$1$2")+e;case 5443:return Z+e+we+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return Z+e+we+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Z+e+we+ee(e,"shrink","negative")+e;case 5292:return Z+e+we+ee(e,"basis","preferred-size")+e;case 6060:return Z+"box-"+ee(e,"-grow","")+Z+e+we+ee(e,"grow","positive")+e;case 4554:return Z+ee(e,/([^-])(transform)/g,"$1"+Z+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,Z+"$1"),/(image-set)/,Z+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,Z+"box-pack:$3"+we+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,Z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Le(e)-1-t>6)switch(Ee(e,t+1)){case 109:if(Ee(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+Z+"$2-$3$1"+gr+(Ee(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~gn(e,"stretch")?zo(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ee(e,t+1)!==115)break;case 6444:switch(Ee(e,Le(e)-3-(~gn(e,"!important")&&10))){case 107:return ee(e,":",":"+Z)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z+(Ee(e,14)===45?"inline-":"")+"box$3$1"+Z+"$2$3$1"+we+"$2box$3")+e}break;case 5936:switch(Ee(e,t+11)){case 114:return Z+e+we+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z+e+we+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z+e+we+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z+e+we+e+e}return e}var oc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case hn:t.return=zo(t.value,t.length);break;case Io:return yt([Bt(t,{value:ee(t.value,"@","@"+Z)})],o);case mn:if(t.length)return Ls(t.props,function(i){switch(Vs(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yt([Bt(t,{props:[ee(i,/:(read-\w+)/,":"+gr+"$1")]})],o);case"::placeholder":return yt([Bt(t,{props:[ee(i,/:(plac\w+)/,":"+Z+"input-$1")]}),Bt(t,{props:[ee(i,/:(plac\w+)/,":"+gr+"$1")]}),Bt(t,{props:[ee(i,/:(plac\w+)/,we+"input-$1")]})],o)}return""})}},ic=[oc],Uo=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(c){var y=c.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(c),c.setAttribute("data-s",""))})}var o=t.stylisPlugins||ic,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(c){for(var y=c.getAttribute("data-emotion").split(" "),E=1;E<y.length;E++)i[y[E]]=!0;s.push(c)});var f,d=[rc,nc];{var m,p=[Xs,Qs(function(c){m.insert(c)})],h=Js(d.concat(o,p)),v=function(y){return yt(qs(y),h)};f=function(y,E,R,P){m=R,v(y?y+"{"+E.styles+"}":E.styles),P&&(g.inserted[E.name]=!0)}}var g={key:r,sheet:new Is({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:f};return g.sheet.hydrate(s),g},Wo=rn(),ac={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Yo={};Yo[Wo.ForwardRef]=ac,Yo[Wo.Memo]=sc;var cc=!0;function Sn(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Tr=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||cc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},$n=function(t,r,n){Tr(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function lc(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var uc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fc=/[A-Z]|^ms/g,dc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Go=function(t){return t.charCodeAt(1)===45},Ho=function(t){return t!=null&&typeof t!="boolean"},Cn=vn(function(e){return Go(e)?e:e.replace(fc,"-$&").toLowerCase()}),qo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(dc,function(n,o,i){return Ue={name:o,styles:i,next:Ue},o})}return uc[t]!==1&&!Go(t)&&typeof r=="number"&&r!==0?r+"px":r};function Vt(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Ue={name:o.name,styles:o.styles,next:Ue},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Ue={name:a.name,styles:a.styles,next:Ue},a=a.next;var s=i.styles+";";return s}return pc(e,t,r)}case"function":{if(e!==void 0){var f=Ue,d=r(e);return Ue=f,Vt(e,t,d)}break}}var m=r;if(t==null)return m;var p=t[m];return p!==void 0?p:m}function pc(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Vt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":Ho(s)&&(n+=Cn(i)+":"+qo(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var f=0;f<a.length;f++)Ho(a[f])&&(n+=Cn(i)+":"+qo(i,a[f])+";");else{var d=Vt(e,t,a);switch(i){case"animation":case"animationName":{n+=Cn(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var Ko=/label:\s*([^\s;{]+)\s*(;|$)/g,Ue;function bt(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Ue=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Vt(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Vt(r,t,e[s]),n){var f=i;o+=f[s]}Ko.lastIndex=0;for(var d="",m;(m=Ko.exec(o))!==null;)d+="-"+m[1];var p=lc(o)+d;return{name:p,styles:o,next:Ue}}var mc=function(t){return t()},hc=I.useInsertionEffect?I.useInsertionEffect:!1,En=hc||mc,Xo=I.createContext(typeof HTMLElement<"u"?Uo({key:"css"}):null);Xo.Provider;var gc=function(t){return U.forwardRef(function(r,n){var o=U.useContext(Xo);return t(r,o,n)})},yc=I.createContext({}),bc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,vc=vn(function(e){return bc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Sc=vc,$c=function(t){return t!=="theme"},Jo=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Sc:$c},Qo=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Cc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tr(r,n,o),En(function(){return $n(r,n,o)}),null},Ec=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Qo(t,r,n),f=s||Jo(o),d=!f("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var h=m[0];p.push(h[0]);for(var v=m.length,g=1;g<v;g++)p.push(m[g],h[g])}var c=gc(function(y,E,R){var P=d&&y.as||o,$="",C=[],k=y;if(y.theme==null){k={};for(var N in y)k[N]=y[N];k.theme=I.useContext(yc)}typeof y.className=="string"?$=Sn(E.registered,C,y.className):y.className!=null&&($=y.className+" ");var V=bt(p.concat(C),E.registered,k);$+=E.key+"-"+V.name,a!==void 0&&($+=" "+a);var W=d&&s===void 0?Jo(P):f,u={};for(var x in y)d&&x==="as"||W(x)&&(u[x]=y[x]);return u.className=$,R&&(u.ref=R),I.createElement(I.Fragment,null,I.createElement(Cc,{cache:E,serialized:V,isStringTag:typeof P=="string"}),I.createElement(P,u))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(y,E){var R=e(y,hr({},r,E,{shouldForwardProp:Qo(c,E,!0)}));return R.apply(void 0,p)},c}},Tc=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Tn=Ec.bind(null);Tc.forEach(function(e){Tn[e]=Tn(e)});/**
|
|
62
|
-
* @mui/styled-engine v7.3.6
|
|
63
|
-
*
|
|
64
|
-
* @license MIT
|
|
65
|
-
* This source code is licensed under the MIT license found in the
|
|
66
|
-
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/function wc(e,t){const r=Tn(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";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(`
|
|
68
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function xc(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Zo=[];function lt(e){return Zo[0]=e,bt(Zo)}const kc=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)=>({...r,[n.key]:n.val}),{})};function Oc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=kc(t),a=Object.keys(i);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function f(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function m(h){return a.indexOf(h)+1<a.length?d(h,a[a.indexOf(h)+1]):s(h)}function p(h){const v=a.indexOf(h);return v===0?s(a[1]):v===a.length-1?f(a[v]):d(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:f,between:d,only:m,not:p,unit:r,...o}}const _c={borderRadius:4};function ei(e=8,t=dn({spacing:e})){if(e.mui)return e;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(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Ac(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function ti(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=Oc(r),f=ei(o);let d=Oe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{..._c,...i}},a);return d=Ua(d),d.applyStyles=Ac,d=t.reduce((m,p)=>Oe(m,p),d),d.unstable_sxConfig={...mr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return mt({sx:p,theme:this})},d}const Pc={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 wn(e,t,r="Mui"){const n=Pc[t];return n?`${r}-${n}`:`${Oa.generate(e)}-${t}`}function Rc(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=wn(e,o,r)}),n}function ri(e,t=""){return e.displayName||e.name||t}function ni(e,t,r){const n=ri(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Nc(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ri(e,"Component");if(typeof e=="object")switch(e.$$typeof){case nr.ForwardRef:return ni(e,e.render,"ForwardRef");case nr.Memo:return ni(e,e.type,"memo");default:return}}}function oi(e){const{variants:t,...r}=e,n={variants:t,style:lt(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=lt(o.style))}),n}const Ic=ti();function xn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ut(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Mc(e){return e?(t,r)=>r[e]:null}function Dc(e,t,r){e.theme=Vc(e.theme)?r:e.theme[t]||e.theme}function wr(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>wr(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?ut(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?ut(lt(a),r):a}return ii(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?ut(lt(n.style),r):n.style:r?ut(lt(n),r):n}function ii(e,t,r=[],n=void 0){var i;let o;e:for(let a=0;a<t.length;a+=1){const s=t[a];if(typeof s.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(o))continue}else for(const f in s.props)if(e[f]!==s.props[f]&&((i=e.ownerState)==null?void 0:i[f])!==s.props[f])continue e;typeof s.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?ut(lt(s.style(o)),n):s.style(o))):r.push(n?ut(lt(s.style),n):s.style)}return r}function Bc(e={}){const{themeId:t,defaultTheme:r=Ic,rootShouldForwardProp:n=xn,slotShouldForwardProp:o=xn}=e;function i(s){Dc(s,t,r)}return(s,f={})=>{xc(s,k=>k.filter(N=>N!==mt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:v=Mc(ai(m)),...g}=f,c=d&&d.startsWith("Mui")||m?"components":"custom",y=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,E=h||!1;let R=xn;m==="Root"||m==="root"?R=n:m?R=o:Lc(s)&&(R=void 0);const P=wc(s,{shouldForwardProp:R,label:Fc(d,m),...g}),$=k=>{if(k.__emotion_real===k)return k;if(typeof k=="function")return function(V){return wr(V,k,V.theme.modularCssLayers?c:void 0)};if(Ge(k)){const N=oi(k);return function(W){return N.variants?wr(W,N,W.theme.modularCssLayers?c:void 0):W.theme.modularCssLayers?ut(N.style,c):N.style}}return k},C=(...k)=>{const N=[],V=k.map($),W=[];if(N.push(i),d&&v&&W.push(function(A){var Q,de;const D=(de=(Q=A.theme.components)==null?void 0:Q[d])==null?void 0:de.styleOverrides;if(!D)return null;const j={};for(const fe in D)j[fe]=wr(A,D[fe],A.theme.modularCssLayers?"theme":void 0);return v(A,j)}),d&&!y&&W.push(function(A){var j,Q;const O=A.theme,D=(Q=(j=O==null?void 0:O.components)==null?void 0:j[d])==null?void 0:Q.variants;return D?ii(A,D,[],A.theme.modularCssLayers?"theme":void 0):null}),E||W.push(mt),Array.isArray(V[0])){const l=V.shift(),A=new Array(N.length).fill(""),O=new Array(W.length).fill("");let D;D=[...A,...l,...O],D.raw=[...A,...l.raw,...O],N.unshift(D)}const u=[...N,...V,...W],x=P(...u);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=jc(d,m,s)),x};return P.withConfig&&(C.withConfig=P.withConfig),C}}function jc(e,t,r){return e?`${e}${ct(t||"")}`:`Styled(${Nc(r)})`}function Fc(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${ai(t||"Root")}`),r}function Vc(e){for(const t in e)return!1;return!0}function Lc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ai(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function kn(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],s=t[i];if(!s)n[i]=a||{};else if(!a)n[i]=s;else{n[i]={...s};for(const f in a)if(Object.prototype.hasOwnProperty.call(a,f)){const d=f;n[i][d]=kn(a[d],s[d],r)}}}else i==="className"&&r&&t.className?n.className=xe(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}function zc(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function On(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}].`),zc(e,t,r)}function Uc(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)),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(", ")})`:""}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Uc(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
69
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ze(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"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
70
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ze(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Wc=e=>{const t=tt(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Lt=(e,t)=>{try{return Wc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function xr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<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})`}function si(e){e=tt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const f=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",f.push(t[3])),xr({type:s,values:f})}function _n(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(si(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 ci(e,t){const r=_n(e),n=_n(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function li(e,t){return e=tt(e),t=On(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,xr(e)}function ft(e,t,r){try{return li(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function kr(e,t){if(e=tt(e),t=On(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return xr(e)}function ne(e,t,r){try{return kr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Or(e,t){if(e=tt(e),t=On(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return xr(e)}function oe(e,t,r){try{return Or(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Yc(e,t=.15){return _n(e)>.5?kr(e,t):Or(e,t)}function _r(e,t,r){try{return Yc(e,t)}catch{return e}}const Gc=I.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Hc(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?kn(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?kn(o,n,t.components.mergeClassNameAndStyle):n}function qc({props:e,name:t}){const r=I.useContext(Gc);return Hc({props:e,name:t,theme:{components:r}})}const ui={theme:void 0};function Kc(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(ui.theme=o.theme,i=oi(e(ui)),t=i,r=o.theme),i}}function Xc(e=""){function t(...n){if(!n.length)return"";const o=n[0];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}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const fi=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Jc=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,f])=>{(!r||r&&!r([...i,s]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,s],Array.isArray(f)?[...a,s]:a):t([...i,s],f,a))})}n(e)},Qc=(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;function An(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Jc(e,(s,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(s,f))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=Qc(s,f);Object.assign(o,{[m]:p}),fi(i,s,`var(${m})`,d),fi(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Zc(e,t={}){const{getSelector:r=E,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:f="light",...d}=e,{vars:m,css:p,varsWithDefaults:h}=An(d,t);let v=h;const g={},{[f]:c,...y}=a;if(Object.entries(y||{}).forEach(([$,C])=>{const{vars:k,css:N,varsWithDefaults:V}=An(C,t);v=Oe(v,V),g[$]={css:N,vars:k}}),c){const{css:$,vars:C,varsWithDefaults:k}=An(c,t);v=Oe(v,k),g[f]={css:$,vars:C}}function E($,C){var N,V;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),$){if(k==="media")return e.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((V=(N=a[$])==null?void 0:N.palette)==null?void 0:V.mode)||$})`]:{":root":C}};if(k)return e.defaultColorScheme===$?`:root, ${k.replace("%s",String($))}`:k.replace("%s",String($))}return":root"}return{vars:v,generateThemeVars:()=>{let $={...m};return Object.entries(g).forEach(([,{vars:C}])=>{$=Oe($,C)}),$},generateStyleSheets:()=>{var W,u;const $=[],C=e.defaultColorScheme||"light";function k(x,l){Object.keys(l).length&&$.push(typeof x=="string"?{[x]:{...l}}:x)}k(r(void 0,{...p}),p);const{[C]:N,...V}=g;if(N){const{css:x}=N,l=(u=(W=a[C])==null?void 0:W.palette)==null?void 0:u.mode,A=!n&&l?{colorScheme:l,...x}:{...x};k(r(C,{...A}),A)}return Object.entries(V).forEach(([x,{css:l}])=>{var D,j;const A=(j=(D=a[x])==null?void 0:D.palette)==null?void 0:j.mode,O=!n&&A?{colorScheme:A,...l}:{...l};k(r(x,{...O}),O)}),i&&$.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),$}}}function el(e){return function(r){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)} &`:"&"}}const zt={black:"#000",white:"#fff"},tl={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"},vt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},St={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ut={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},$t={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ct={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Et={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function di(){return{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:zt.white,default:zt.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}}}const pi=di();function mi(){return{text:{primary:zt.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:zt.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}}}const Pn=mi();function hi(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=Or(e.main,o):t==="dark"&&(e.dark=kr(e.main,i)))}function gi(e,t,r,n,o){const i=o.light||o,a=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function rl(e="light"){return e==="dark"?{main:$t[200],light:$t[50],dark:$t[400]}:{main:$t[700],light:$t[400],dark:$t[800]}}function nl(e="light"){return e==="dark"?{main:vt[200],light:vt[50],dark:vt[400]}:{main:vt[500],light:vt[300],dark:vt[700]}}function ol(e="light"){return e==="dark"?{main:St[500],light:St[300],dark:St[700]}:{main:St[700],light:St[400],dark:St[800]}}function il(e="light"){return e==="dark"?{main:Ct[400],light:Ct[300],dark:Ct[700]}:{main:Ct[700],light:Ct[500],dark:Ct[900]}}function al(e="light"){return e==="dark"?{main:Et[400],light:Et[300],dark:Et[700]}:{main:Et[800],light:Et[500],dark:Et[900]}}function sl(e="light"){return e==="dark"?{main:Ut[400],light:Ut[300],dark:Ut[700]}:{main:"#ed6c02",light:Ut[500],dark:Ut[900]}}function cl(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Rn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||rl(t),s=e.secondary||nl(t),f=e.error||ol(t),d=e.info||il(t),m=e.success||al(t),p=e.warning||sl(t);function h(y){if(o)return cl(y);const E=ci(y,Pn.text.primary)>=r?Pn.text.primary:pi.text.primary;if(process.env.NODE_ENV!=="production"){const R=ci(y,E);R<3&&console.error([`MUI: The contrast ratio of ${R}:1 for ${E} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
71
|
-
`))}return E}const v=({color:y,name:E,mainShade:R=500,lightShade:P=300,darkShade:$=700})=>{if(y={...y},!y.main&&y[R]&&(y.main=y[R]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
72
|
-
The color object needs to have a \`main\` property or a \`${R}\` property.`:Ze(11,E?` (${E})`:"",R));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
73
|
-
\`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
|
|
74
|
-
|
|
11
|
+
<%s key={someKey} {...props} />`,o,h,g,h),D[h+o]=!0)}if(h=null,i!==void 0&&(r(i),h=``+i),s(n)&&(r(n.key),h=``+n.key),`key`in n)for(var _ in i={},n)_!==`key`&&(i[_]=n[_]);else i=n;return h&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,h,d,l,a(),i,p,m)}function f(e){typeof e==`object`&&e&&e.$$typeof===m&&e._store&&(e._store.validated=1)}var p=require(`react`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),C=Symbol.for(`react.suspense_list`),ee=Symbol.for(`react.memo`),w=Symbol.for(`react.lazy`),te=Symbol.for(`react.activity`),ne=Symbol.for(`react.client.reference`),re=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Object.prototype.hasOwnProperty,ae=Array.isArray,oe=console.createTask?console.createTask:function(){return null};p={"react-stack-bottom-frame":function(e){return e()}};var T,se={},ce=p[`react-stack-bottom-frame`].bind(p,o)(),E=oe(i(o)),D={};e.Fragment=g,e.jsx=function(e,t,n,r,a){var o=1e4>re.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r,a,o?Error(`react-stack-top-frame`):ce,o?oe(i(e)):E)},e.jsxs=function(e,t,n,r,a){var o=1e4>re.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r,a,o?Error(`react-stack-top-frame`):ce,o?oe(i(e)):E)}})()})),jr=l(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=kr():t.exports=Ar()}));function Mr(e,t){let n=Or(e,t);return process.env.NODE_ENV===`production`?n:(...t)=>{let r=typeof e==`string`?`"${e}"`:`component`;return t.length===0?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
12
|
+
`)):t.some(e=>e===void 0)&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}}function Nr(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Pr=[];function Fr(e){return Pr[0]=e,rr(Pr)}var Ir={borderRadius:4};function Lr(e=8,t=Ge({spacing:e})){if(e.mui)return e;let n=(...e)=>(process.env.NODE_ENV!==`production`&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `));return n.mui=!0,n}function Rr(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function zr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Se(n),c=Lr(i),l=A({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Ir,...a}},o);return l=be(l),l.applyStyles=Rr,l=t.reduce((e,t)=>A(e,t),l),l.unstable_sxConfig={...St,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Tt({sx:e,theme:this})},l.internal_cache={},l}var Br=e=>e,Vr=(()=>{let e=Br;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Br}}})(),Hr={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 Ur(e,t,n=`Mui`){let r=Hr[t];return r?`${n}-${r}`:`${Vr.generate(e)}-${t}`}function Wr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Ur(e,t,n)}),r}function Gr(e,t=``){return e.displayName||e.name||t}function Kr(e,t,n){let r=Gr(t);return e.displayName||(r===``?n:`${n}(${r})`)}function qr(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return Gr(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case fe.ForwardRef:return Kr(e,e.render,`ForwardRef`);case fe.Memo:return Kr(e,e.type,`memo`);default:return}}}function Jr(e){let{variants:t,...n}=e,r={variants:t,style:Fr(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Fr(e.style))}),r}var Yr=zr();function Xr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Zr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Qr(e){return e?(t,n)=>n[e]:null}function $r(e,t,n){e.theme=le(e.theme)?n:e.theme[t]||e.theme}function ei(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ei(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Zr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Zr(Fr(i),n):i}return ti(e,r.variants,[t],n)}return r?.isProcessed?n?Zr(Fr(r.style),n):r.style:n?Zr(Fr(r),n):r}function ti(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Zr(Fr(o.style(i)),r):o.style(i))):n.push(r?Zr(Fr(o.style),r):o.style)}return n}function ni(e={}){let{themeId:t,defaultTheme:n=Yr,rootShouldForwardProp:r=Xr,slotShouldForwardProp:i=Xr}=e;function a(e){$r(e,t,n)}return(e,t={})=>{Nr(e,e=>e.filter(e=>e!==Tt));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Qr(oi(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Xr;o===`Root`||o===`root`?m=r:o?m=i:ai(e)&&(m=void 0);let h=Mr(e,{shouldForwardProp:m,label:ii(n,o),...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ei(t,e,t.theme.modularCssLayers?d:void 0)};if(pe(e)){let t=Jr(e);return function(e){return t.variants?ei(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Zr(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),s=[];if(r.push(a),n&&l&&s.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=ei(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&s.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?ti(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||s.push(Tt),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(s.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let c=h(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=ri(n,o,e)),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function ri(e,t,n){return e?`${e}${te(t||``)}`:`Styled(${qr(n)})`}function ii(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${oi(t||`Root`)}`),n}function ai(e){return typeof e==`string`&&e.charCodeAt(0)>96}function oi(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function si(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=si(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=C(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}function ci(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function li(e,t=0,n=1){return process.env.NODE_ENV!==`production`&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),ci(e,t,n)}function ui(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),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.`),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function di(e){if(e.type)return e;if(e.charAt(0)===`#`)return di(ui(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(process.env.NODE_ENV===`production`?w(9,e):`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`);let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(process.env.NODE_ENV===`production`?w(10,i):`MUI: unsupported \`${i}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`)}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var fi=e=>{let t=di(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},pi=(e,t)=>{try{return fi(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function mi(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function hi(e){e=di(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),mi({type:s,values:c})}function gi(e){e=di(e);let t=e.type===`hsl`||e.type===`hsla`?di(hi(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function _i(e,t){let n=gi(e),r=gi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function vi(e,t){return e=di(e),t=li(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,mi(e)}function yi(e,t,n){try{return vi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function bi(e,t){if(e=di(e),t=li(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return mi(e)}function H(e,t,n){try{return bi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function xi(e,t){if(e=di(e),t=li(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return mi(e)}function U(e,t,n){try{return xi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Si(e,t=.15){return gi(e)>.5?bi(e,t):xi(e,t)}function Ci(e,t,n){try{return Si(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var W=jr(),wi=n.createContext(void 0);function Ti({value:e,children:t}){return(0,W.jsx)(wi.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(Ti.propTypes={children:O.default.node,value:O.default.object});function Ei(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?si(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?si(i,r,t.components.mergeClassNameAndStyle):r}function Di({props:e,name:t}){return Ei({props:e,name:t,theme:{components:n.useContext(wi)}})}var Oi={theme:void 0};function ki(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Oi.theme=r.theme,i=Jr(e(Oi)),t=i,n=r.theme),i}}function Ai(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.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}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var ji=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},Mi=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},Ni=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function Pi(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Mi(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Ni(e,t);Object.assign(i,{[r]:c}),ji(a,e,`var(${r})`,s),ji(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Fi(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=Pi(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Pi(n,t);p=A(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=Pi(h,t);p=A(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=A(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function Ii(e){return function(t){return e===`media`?(process.env.NODE_ENV!==`production`&&t!==`light`&&t!==`dark`&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}var Li={black:`#000`,white:`#fff`},Ri={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`},zi={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`},Bi={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`},Vi={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`},Hi={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`},Ui={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`},Wi={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`};function Gi(){return{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:Li.white,default:Li.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}}}var Ki=Gi();function qi(){return{text:{primary:Li.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:Li.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}}}var Ji=qi();function Yi(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=xi(e.main,i):t===`dark`&&(e.dark=bi(e.main,a)))}function Xi(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function Zi(e=`light`){return e===`dark`?{main:Hi[200],light:Hi[50],dark:Hi[400]}:{main:Hi[700],light:Hi[400],dark:Hi[800]}}function Qi(e=`light`){return e===`dark`?{main:zi[200],light:zi[50],dark:zi[400]}:{main:zi[500],light:zi[300],dark:zi[700]}}function $i(e=`light`){return e===`dark`?{main:Bi[500],light:Bi[300],dark:Bi[700]}:{main:Bi[700],light:Bi[400],dark:Bi[800]}}function ea(e=`light`){return e===`dark`?{main:Ui[400],light:Ui[300],dark:Ui[700]}:{main:Ui[700],light:Ui[500],dark:Ui[900]}}function ta(e=`light`){return e===`dark`?{main:Wi[400],light:Wi[300],dark:Wi[700]}:{main:Wi[800],light:Wi[500],dark:Wi[900]}}function na(e=`light`){return e===`dark`?{main:Vi[400],light:Vi[300],dark:Vi[700]}:{main:`#ed6c02`,light:Vi[500],dark:Vi[900]}}function ra(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function ia(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||Zi(t),s=e.secondary||Qi(t),c=e.error||$i(t),l=e.info||ea(t),u=e.success||ta(t),d=e.warning||na(t);function f(e){if(i)return ra(e);let t=_i(e,Ji.text.primary)>=n?Ji.text.primary:Ki.text.primary;if(process.env.NODE_ENV!==`production`){let n=_i(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,`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(`
|
|
13
|
+
`))}return t}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(process.env.NODE_ENV===`production`?w(11,t?` (${t})`:``,n):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`);if(typeof e.main!=`string`)throw Error(process.env.NODE_ENV===`production`?w(12,t?` (${t})`:``,JSON.stringify(e.main)):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n
|
|
75
14
|
Did you intend to use one of the following approaches?
|
|
76
15
|
|
|
77
16
|
import { green } from "@mui/material/colors";
|
|
@@ -82,50 +21,22 @@ const theme1 = createTheme({ palette: {
|
|
|
82
21
|
|
|
83
22
|
const theme2 = createTheme({ palette: {
|
|
84
23
|
primary: { main: green[500] },
|
|
85
|
-
} })
|
|
86
|
-
`)),Object.keys(
|
|
24
|
+
} });`);return i?(Xi(i,e,`light`,a,r),Xi(i,e,`dark`,o,r)):(Yi(e,`light`,a,r),Yi(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Gi():t===`dark`&&(m=qi()),process.env.NODE_ENV!==`production`&&(m||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),A({common:{...Li},mode:t,primary:p({color:o,name:`primary`}),secondary:p({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:p({color:c,name:`error`}),warning:p({color:d,name:`warning`}),info:p({color:l,name:`info`}),success:p({color:u,name:`success`}),grey:Ri,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function aa(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function oa(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function sa(e){return Math.round(e*1e5)/1e5}var ca={textTransform:`uppercase`},la=`"Roboto", "Helvetica", "Arial", sans-serif`;function ua(e,t){let{fontFamily:n=la,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t;process.env.NODE_ENV!==`production`&&(typeof r!=`number`&&console.error("MUI: `fontSize` is required to be a number."),typeof c!=`number`&&console.error("MUI: `htmlFontSize` is required to be a number."));let f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===la?{letterSpacing:`${sa(i/t)}em`}:{},...a,...l});return A({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,ca),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,ca),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var da=.2,fa=.14,pa=.12;function G(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${da})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${fa})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${pa})`].join(`,`)}var ma=[`none`,G(0,2,1,-1,0,1,1,0,0,1,3,0),G(0,3,1,-2,0,2,2,0,0,1,5,0),G(0,3,3,-2,0,3,4,0,0,1,8,0),G(0,2,4,-1,0,4,5,0,0,1,10,0),G(0,3,5,-1,0,5,8,0,0,1,14,0),G(0,3,5,-1,0,6,10,0,0,1,18,0),G(0,4,5,-2,0,7,10,1,0,2,16,1),G(0,5,5,-3,0,8,10,1,0,3,14,2),G(0,5,6,-3,0,9,12,1,0,3,16,2),G(0,6,6,-3,0,10,14,1,0,4,18,3),G(0,6,7,-4,0,11,15,1,0,4,20,3),G(0,7,8,-4,0,12,17,2,0,5,22,4),G(0,7,8,-4,0,13,19,2,0,5,24,4),G(0,7,9,-4,0,14,21,2,0,5,26,4),G(0,8,9,-5,0,15,22,2,0,6,28,5),G(0,8,10,-5,0,16,24,2,0,6,30,5),G(0,8,11,-5,0,17,26,2,0,6,32,5),G(0,9,11,-5,0,18,28,2,0,7,34,6),G(0,9,12,-6,0,19,29,2,0,7,36,6),G(0,10,13,-6,0,20,31,3,0,8,38,7),G(0,10,13,-6,0,21,33,3,0,8,40,7),G(0,10,14,-6,0,22,35,3,0,8,42,7),G(0,11,14,-7,0,23,36,3,0,9,44,8),G(0,11,15,-7,0,24,38,3,0,9,46,8)],ha={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)`},ga={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function _a(e){return`${Math.round(e)}ms`}function va(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ya(e){let t={...ha,...e.easing},n={...ga,...e.duration};return{getAutoHeightDuration:va,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;if(process.env.NODE_ENV!==`production`){let t=e=>typeof e==`string`,n=e=>!Number.isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error(`MUI: Argument "props" must be a string or Array.`),!n(i)&&!t(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),t(a)||console.error(`MUI: Argument "easing" must be a string.`),!n(o)&&!t(o)&&console.error(`MUI: Argument "delay" must be a number or a string.`),typeof r!=`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(`
|
|
25
|
+
`)),Object.keys(s).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(`,`)}].`)}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:_a(i)} ${a} ${typeof o==`string`?o:_a(o)}`).join(`,`)},...e,easing:t,duration:n}}var ba={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function xa(e){return pe(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Sa(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!xa(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:pe(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
87
26
|
|
|
88
27
|
const theme = ${JSON.stringify(t,null,2)};
|
|
89
28
|
|
|
90
29
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
91
30
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
92
31
|
|
|
93
|
-
export default theme;`}function
|
|
94
|
-
`))}
|
|
95
|
-
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.`))}function Rl(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const We=e=>{try{return e()}catch{}},Nl=(e="mui")=>Xc(e);function In(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=kl({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...s}=Nn({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Ci(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Ei(i)},s}function Il(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Ol,colorSchemeSelector:f=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...m}=e,p=Object.keys(r)[0],h=n||(r.light&&p!=="light"?"light":p),v=Nl(i),{[h]:g,light:c,dark:y,...E}=r,R={...E};let P=g;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(P=!0),!P)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ze(21,h));let $;a&&($="oklch");const C=In($,R,P,m,h);c&&!R.light&&In($,R,c,void 0,"light"),y&&!R.dark&&In($,R,y,void 0,"dark");let k={defaultColorScheme:h,...C,cssVarPrefix:i,colorSchemeSelector:f,rootSelector:d,getCssVar:v,colorSchemes:R,font:{...ll(C.typography),...C.font},spacing:Rl(m.spacing)};Object.keys(k.colorSchemes).forEach(x=>{const l=k.colorSchemes[x].palette,A=D=>{const j=D.split("-"),Q=j[1],de=j[2];return v(D,l[Q][de])};l.mode==="light"&&(T(l.common,"background","#fff"),T(l.common,"onBackground","#000")),l.mode==="dark"&&(T(l.common,"background","#000"),T(l.common,"onBackground","#fff"));function O(D,j,Q){if($){let de;return D===ft&&(de=`transparent ${((1-Q)*100).toFixed(0)}%`),D===ne&&(de=`#000 ${(Q*100).toFixed(0)}%`),D===oe&&(de=`#fff ${(Q*100).toFixed(0)}%`),`color-mix(in ${$}, ${j}, ${de})`}return D(j,Q)}if(Pl(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){T(l.Alert,"errorColor",O(ne,l.error.light,.6)),T(l.Alert,"infoColor",O(ne,l.info.light,.6)),T(l.Alert,"successColor",O(ne,l.success.light,.6)),T(l.Alert,"warningColor",O(ne,l.warning.light,.6)),T(l.Alert,"errorFilledBg",A("palette-error-main")),T(l.Alert,"infoFilledBg",A("palette-info-main")),T(l.Alert,"successFilledBg",A("palette-success-main")),T(l.Alert,"warningFilledBg",A("palette-warning-main")),T(l.Alert,"errorFilledColor",We(()=>l.getContrastText(l.error.main))),T(l.Alert,"infoFilledColor",We(()=>l.getContrastText(l.info.main))),T(l.Alert,"successFilledColor",We(()=>l.getContrastText(l.success.main))),T(l.Alert,"warningFilledColor",We(()=>l.getContrastText(l.warning.main))),T(l.Alert,"errorStandardBg",O(oe,l.error.light,.9)),T(l.Alert,"infoStandardBg",O(oe,l.info.light,.9)),T(l.Alert,"successStandardBg",O(oe,l.success.light,.9)),T(l.Alert,"warningStandardBg",O(oe,l.warning.light,.9)),T(l.Alert,"errorIconColor",A("palette-error-main")),T(l.Alert,"infoIconColor",A("palette-info-main")),T(l.Alert,"successIconColor",A("palette-success-main")),T(l.Alert,"warningIconColor",A("palette-warning-main")),T(l.AppBar,"defaultBg",A("palette-grey-100")),T(l.Avatar,"defaultBg",A("palette-grey-400")),T(l.Button,"inheritContainedBg",A("palette-grey-300")),T(l.Button,"inheritContainedHoverBg",A("palette-grey-A100")),T(l.Chip,"defaultBorder",A("palette-grey-400")),T(l.Chip,"defaultAvatarColor",A("palette-grey-700")),T(l.Chip,"defaultIconColor",A("palette-grey-700")),T(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(l.LinearProgress,"primaryBg",O(oe,l.primary.main,.62)),T(l.LinearProgress,"secondaryBg",O(oe,l.secondary.main,.62)),T(l.LinearProgress,"errorBg",O(oe,l.error.main,.62)),T(l.LinearProgress,"infoBg",O(oe,l.info.main,.62)),T(l.LinearProgress,"successBg",O(oe,l.success.main,.62)),T(l.LinearProgress,"warningBg",O(oe,l.warning.main,.62)),T(l.Skeleton,"bg",$?O(ft,l.text.primary,.11):`rgba(${A("palette-text-primaryChannel")} / 0.11)`),T(l.Slider,"primaryTrack",O(oe,l.primary.main,.62)),T(l.Slider,"secondaryTrack",O(oe,l.secondary.main,.62)),T(l.Slider,"errorTrack",O(oe,l.error.main,.62)),T(l.Slider,"infoTrack",O(oe,l.info.main,.62)),T(l.Slider,"successTrack",O(oe,l.success.main,.62)),T(l.Slider,"warningTrack",O(oe,l.warning.main,.62));const D=$?O(ne,l.background.default,.6825):_r(l.background.default,.8);T(l.SnackbarContent,"bg",D),T(l.SnackbarContent,"color",We(()=>$?Pn.text.primary:l.getContrastText(D))),T(l.SpeedDialAction,"fabHoverBg",_r(l.background.paper,.15)),T(l.StepConnector,"border",A("palette-grey-400")),T(l.StepContent,"border",A("palette-grey-400")),T(l.Switch,"defaultColor",A("palette-common-white")),T(l.Switch,"defaultDisabledColor",A("palette-grey-100")),T(l.Switch,"primaryDisabledColor",O(oe,l.primary.main,.62)),T(l.Switch,"secondaryDisabledColor",O(oe,l.secondary.main,.62)),T(l.Switch,"errorDisabledColor",O(oe,l.error.main,.62)),T(l.Switch,"infoDisabledColor",O(oe,l.info.main,.62)),T(l.Switch,"successDisabledColor",O(oe,l.success.main,.62)),T(l.Switch,"warningDisabledColor",O(oe,l.warning.main,.62)),T(l.TableCell,"border",O(oe,O(ft,l.divider,1),.88)),T(l.Tooltip,"bg",O(ft,l.grey[700],.92))}if(l.mode==="dark"){T(l.Alert,"errorColor",O(oe,l.error.light,.6)),T(l.Alert,"infoColor",O(oe,l.info.light,.6)),T(l.Alert,"successColor",O(oe,l.success.light,.6)),T(l.Alert,"warningColor",O(oe,l.warning.light,.6)),T(l.Alert,"errorFilledBg",A("palette-error-dark")),T(l.Alert,"infoFilledBg",A("palette-info-dark")),T(l.Alert,"successFilledBg",A("palette-success-dark")),T(l.Alert,"warningFilledBg",A("palette-warning-dark")),T(l.Alert,"errorFilledColor",We(()=>l.getContrastText(l.error.dark))),T(l.Alert,"infoFilledColor",We(()=>l.getContrastText(l.info.dark))),T(l.Alert,"successFilledColor",We(()=>l.getContrastText(l.success.dark))),T(l.Alert,"warningFilledColor",We(()=>l.getContrastText(l.warning.dark))),T(l.Alert,"errorStandardBg",O(ne,l.error.light,.9)),T(l.Alert,"infoStandardBg",O(ne,l.info.light,.9)),T(l.Alert,"successStandardBg",O(ne,l.success.light,.9)),T(l.Alert,"warningStandardBg",O(ne,l.warning.light,.9)),T(l.Alert,"errorIconColor",A("palette-error-main")),T(l.Alert,"infoIconColor",A("palette-info-main")),T(l.Alert,"successIconColor",A("palette-success-main")),T(l.Alert,"warningIconColor",A("palette-warning-main")),T(l.AppBar,"defaultBg",A("palette-grey-900")),T(l.AppBar,"darkBg",A("palette-background-paper")),T(l.AppBar,"darkColor",A("palette-text-primary")),T(l.Avatar,"defaultBg",A("palette-grey-600")),T(l.Button,"inheritContainedBg",A("palette-grey-800")),T(l.Button,"inheritContainedHoverBg",A("palette-grey-700")),T(l.Chip,"defaultBorder",A("palette-grey-700")),T(l.Chip,"defaultAvatarColor",A("palette-grey-300")),T(l.Chip,"defaultIconColor",A("palette-grey-300")),T(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(l.LinearProgress,"primaryBg",O(ne,l.primary.main,.5)),T(l.LinearProgress,"secondaryBg",O(ne,l.secondary.main,.5)),T(l.LinearProgress,"errorBg",O(ne,l.error.main,.5)),T(l.LinearProgress,"infoBg",O(ne,l.info.main,.5)),T(l.LinearProgress,"successBg",O(ne,l.success.main,.5)),T(l.LinearProgress,"warningBg",O(ne,l.warning.main,.5)),T(l.Skeleton,"bg",$?O(ft,l.text.primary,.13):`rgba(${A("palette-text-primaryChannel")} / 0.13)`),T(l.Slider,"primaryTrack",O(ne,l.primary.main,.5)),T(l.Slider,"secondaryTrack",O(ne,l.secondary.main,.5)),T(l.Slider,"errorTrack",O(ne,l.error.main,.5)),T(l.Slider,"infoTrack",O(ne,l.info.main,.5)),T(l.Slider,"successTrack",O(ne,l.success.main,.5)),T(l.Slider,"warningTrack",O(ne,l.warning.main,.5));const D=$?O(oe,l.background.default,.985):_r(l.background.default,.98);T(l.SnackbarContent,"bg",D),T(l.SnackbarContent,"color",We(()=>$?pi.text.primary:l.getContrastText(D))),T(l.SpeedDialAction,"fabHoverBg",_r(l.background.paper,.15)),T(l.StepConnector,"border",A("palette-grey-600")),T(l.StepContent,"border",A("palette-grey-600")),T(l.Switch,"defaultColor",A("palette-grey-300")),T(l.Switch,"defaultDisabledColor",A("palette-grey-600")),T(l.Switch,"primaryDisabledColor",O(ne,l.primary.main,.55)),T(l.Switch,"secondaryDisabledColor",O(ne,l.secondary.main,.55)),T(l.Switch,"errorDisabledColor",O(ne,l.error.main,.55)),T(l.Switch,"infoDisabledColor",O(ne,l.info.main,.55)),T(l.Switch,"successDisabledColor",O(ne,l.success.main,.55)),T(l.Switch,"warningDisabledColor",O(ne,l.warning.main,.55)),T(l.TableCell,"border",O(ne,O(ft,l.divider,1),.68)),T(l.Tooltip,"bg",O(ft,l.grey[700],.92))}qe(l.background,"default"),qe(l.background,"paper"),qe(l.common,"background"),qe(l.common,"onBackground"),qe(l,"divider"),Object.keys(l).forEach(D=>{const j=l[D];D!=="tonalOffset"&&j&&typeof j=="object"&&(j.main&&T(l[D],"mainChannel",Lt(Wt(j.main))),j.light&&T(l[D],"lightChannel",Lt(Wt(j.light))),j.dark&&T(l[D],"darkChannel",Lt(Wt(j.dark))),j.contrastText&&T(l[D],"contrastTextChannel",Lt(Wt(j.contrastText))),D==="text"&&(qe(l[D],"primary"),qe(l[D],"secondary")),D==="action"&&(j.active&&qe(l[D],"active"),j.selected&&qe(l[D],"selected")))})}),k=t.reduce((x,l)=>Oe(x,l),k);const N={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Al(k),enableContrastVars:a},{vars:V,generateThemeVars:W,generateStyleSheets:u}=Zc(k,N);return k.vars=V,Object.entries(k.colorSchemes[k.defaultColorScheme]).forEach(([x,l])=>{k[x]=l}),k.generateThemeVars=W,k.generateStyleSheets=u,k.generateSpacing=function(){return ei(m.spacing,dn(this))},k.getColorSchemeSelector=el(f),k.spacing=k.generateSpacing(),k.shouldSkipGeneratingVar=s,k.unstable_sxConfig={...mr,...m==null?void 0:m.unstable_sxConfig},k.unstable_sx=function(l){return mt({sx:l,theme:this})},k.toRuntimeSource=Si,k}function Ti(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Rn({...r===!0?{}:r.palette,mode:t})})}function Ml(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",f=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Nn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Nn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},Ti(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Ti(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),Il({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const Dl=Ml(),Bl="$$material";function jl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Fl=Bc({themeId:Bl,defaultTheme:Dl,rootShouldForwardProp:e=>jl(e)&&e!=="classes"}),Vl=Kc;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Ll(e){return qc(e)}function zl(e){return wn("MuiSvgIcon",e)}Rc("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ul=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ct(t)}`,`fontSize${ct(r)}`]};return ja(o,zl,n)},Wl=Fl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ct(r.color)}`],t[`fontSize${ct(r.fontSize)}`]]}})(Vl(({theme:e})=>{var t,r,n,o,i,a,s,f,d,m,p,h,v,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:c=>!c.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((f=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:f.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:m.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,c])=>c&&c.main).map(([c])=>{var y,E;return{props:{color:c},style:{color:(E=(y=(e.vars??e).palette)==null?void 0:y[c])==null?void 0:E.main}}}),{props:{color:"action"},style:{color:(h=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:h.active}},{props:{color:"disabled"},style:{color:(g=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ar=I.forwardRef(function(t,r){const n=Ll({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:f="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:h="0 0 24 24",...v}=n,g=I.isValidElement(o)&&o.type==="svg",c={...n,color:a,component:s,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:h,hasSvgAsChild:g},y={};m||(y.viewBox=h);const E=Ul(c);return J.jsxs(Wl,{as:s,className:xe(E.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...y,...v,...g&&o.props,ownerState:c,children:[g?o.props.children:o,p?J.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Ar.propTypes={children:S.node,classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),S.string]),component:S.elementType,fontSize:S.oneOfType([S.oneOf(["inherit","large","medium","small"]),S.string]),htmlColor:S.string,inheritViewBox:S.bool,shapeRendering:S.string,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),titleAccess:S.string,viewBox:S.string}),Ar.muiName="SvgIcon";function Yl(e,t){function r(n,o){return J.jsx(Ar,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ar.muiName,I.memo(I.forwardRef(r))}const Gl=Yl(J.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function Mn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Dn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let f=0;f<i.length;f+=1){const d=i[f];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}function rt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Hl(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Bn(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}].`),Hl(e,t,r)}function ql(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)),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(", ")})`:""}function nt(e){if(e.type)return e;if(e.charAt(0)==="#")return nt(ql(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
96
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:rt(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"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
97
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:rt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Kl=e=>{const t=nt(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Yt=(e,t)=>{try{return Kl(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Pr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<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})`}function wi(e){e=nt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const f=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",f.push(t[3])),Pr({type:s,values:f})}function jn(e){e=nt(e);let t=e.type==="hsl"||e.type==="hsla"?nt(wi(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 xi(e,t){const r=jn(e),n=jn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Fn(e,t){return e=nt(e),t=Bn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Pr(e)}function Rr(e,t,r){try{return Fn(e,t)}catch{return e}}function Vn(e,t){if(e=nt(e),t=Bn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Pr(e)}function le(e,t,r){try{return Vn(e,t)}catch{return e}}function Ln(e,t){if(e=nt(e),t=Bn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Pr(e)}function ue(e,t,r){try{return Ln(e,t)}catch{return e}}function Xl(e,t=.15){return jn(e)>.5?Vn(e,t):Ln(e,t)}function Nr(e,t,r){try{return Xl(e,t)}catch{return e}}const ki=e=>e,Jl=(()=>{let e=ki;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ki}}})();function Pe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":rt(7));return e.charAt(0).toUpperCase()+e.slice(1)}var zn={exports:{}},se={};/**
|
|
98
|
-
* @license React
|
|
99
|
-
* react-is.production.js
|
|
100
|
-
*
|
|
101
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
102
|
-
*
|
|
103
|
-
* This source code is licensed under the MIT license found in the
|
|
104
|
-
* LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/var Oi;function Ql(){if(Oi)return se;Oi=1;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"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case e:switch(c=c.type,c){case r:case o:case n:case f:case d:case h:return c;default:switch(c=c&&c.$$typeof,c){case a:case s:case p:case m:return c;case i:return c;default:return y}}case t:return y}}}return se.ContextConsumer=i,se.ContextProvider=a,se.Element=e,se.ForwardRef=s,se.Fragment=r,se.Lazy=p,se.Memo=m,se.Portal=t,se.Profiler=o,se.StrictMode=n,se.Suspense=f,se.SuspenseList=d,se.isContextConsumer=function(c){return g(c)===i},se.isContextProvider=function(c){return g(c)===a},se.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},se.isForwardRef=function(c){return g(c)===s},se.isFragment=function(c){return g(c)===r},se.isLazy=function(c){return g(c)===p},se.isMemo=function(c){return g(c)===m},se.isPortal=function(c){return g(c)===t},se.isProfiler=function(c){return g(c)===o},se.isStrictMode=function(c){return g(c)===n},se.isSuspense=function(c){return g(c)===f},se.isSuspenseList=function(c){return g(c)===d},se.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===f||c===d||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===s||c.$$typeof===v||c.getModuleId!==void 0)},se.typeOf=g,se}var ce={};/**
|
|
106
|
-
* @license React
|
|
107
|
-
* react-is.development.js
|
|
108
|
-
*
|
|
109
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
110
|
-
*
|
|
111
|
-
* This source code is licensed under the MIT license found in the
|
|
112
|
-
* LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/var _i;function Zl(){return _i||(_i=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var y=c.$$typeof;switch(y){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case v:return c;default:switch(c=c&&c.$$typeof,c){case s:case f:case h:case p:return c;case a:return c;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");ce.ContextConsumer=a,ce.ContextProvider=s,ce.Element=t,ce.ForwardRef=f,ce.Fragment=n,ce.Lazy=h,ce.Memo=p,ce.Portal=r,ce.Profiler=i,ce.StrictMode=o,ce.Suspense=d,ce.SuspenseList=m,ce.isContextConsumer=function(c){return e(c)===a},ce.isContextProvider=function(c){return e(c)===s},ce.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ce.isForwardRef=function(c){return e(c)===f},ce.isFragment=function(c){return e(c)===n},ce.isLazy=function(c){return e(c)===h},ce.isMemo=function(c){return e(c)===p},ce.isPortal=function(c){return e(c)===r},ce.isProfiler=function(c){return e(c)===i},ce.isStrictMode=function(c){return e(c)===o},ce.isSuspense=function(c){return e(c)===d},ce.isSuspenseList=function(c){return e(c)===m},ce.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===f||c.$$typeof===g||c.getModuleId!==void 0)},ce.typeOf=e}()),ce}process.env.NODE_ENV==="production"?zn.exports=Ql():zn.exports=Zl();var Ir=zn.exports;function Ke(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 Ai(e){if(I.isValidElement(e)||Ir.isValidElementType(e)||!Ke(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Ai(e[r])}),t}function Re(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ke(e)&&Ke(t)&&Object.keys(t).forEach(o=>{I.isValidElement(t[o])||Ir.isValidElementType(t[o])?n[o]=t[o]:Ke(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ke(e[o])?n[o]=Re(e[o],t[o],r):r.clone?n[o]=Ke(t[o])?Ai(t[o]):t[o]:n[o]=t[o]}),n}function Gt(e,t){return t?Re(e,t,{clone:!1}):e}const ot=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function eu(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function tu(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ru(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")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>\`.
|
|
114
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:rt(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function nu(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const f=t(e.breakpoints.not(...s),a);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Mr={xs:0,sm:600,md:900,lg:1200,xl:1536},Pi={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Mr[e]}px)`},ou={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Mr[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Xe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Pi;return t.reduce((a,s,f)=>(a[i.up(i.keys[f])]=r(t[f]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Pi;return Object.keys(t).reduce((a,s)=>{if(tu(i.keys,s)){const f=ru(n.containerQueries?n:ou,s);f&&(a[f]=r(t[s],s))}else if(Object.keys(i.values||Mr).includes(s)){const f=i.up(s);a[f]=r(t[s],s)}else{const f=s;a[f]=t[f]}return a},{})}return r(t)}function iu(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function au(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Dr(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 Br(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Dr(e,r)||n,t&&(o=t(o,n,e)),o}function Se(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],f=a.theme,d=Dr(f,n)||{};return Xe(a,s,p=>{let h=Br(d,o,p);return p===h&&typeof p=="string"&&(h=Br(d,o,`${t}${p==="default"?"":Pe(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:ot}:{},i.filterProps=[t],i}function su(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const cu={m:"margin",p:"padding"},lu={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ri={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},uu=su(e=>{if(e.length>2)if(Ri[e])e=Ri[e];else return[e];const[t,r]=e.split(""),n=cu[t],o=lu[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),jr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Fr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],fu=[...jr,...Fr];function Ht(e,t,r,n){const o=Dr(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
32
|
+
export default theme;`}function Ca(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var wa=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function Ta(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:vi(t,wa(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Ca(n)})`:xi(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Ca(n)})`:bi(t,n)}})}function Ea(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,colorSpace:l,...u}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(process.env.NODE_ENV===`production`?w(22):"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.");let d=ia({...a,colorSpace:l}),f=zr(e),p=A(f,{mixins:oa(f.breakpoints,r),palette:d,shadows:ma.slice(),typography:ua(d,s),transitions:ya(o),zIndex:{...ba}});if(p=A(p,u),p=t.reduce((e,t)=>A(e,t),p),process.env.NODE_ENV!==`production`){let e=[`active`,`checked`,`completed`,`disabled`,`error`,`expanded`,`focused`,`focusVisible`,`required`,`selected`],t=(t,n)=>{let r;for(r in t){let i=t[r];if(e.includes(r)&&Object.keys(i).length>0){if(process.env.NODE_ENV!==`production`){let e=Ur(``,r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,`You can not override it like this: `,JSON.stringify(t,null,2),``,`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:i}},null,2),``,`https://mui.com/r/state-classes-guide`].join(`
|
|
33
|
+
`))}t[r]={}}}};Object.keys(p.components).forEach(e=>{let n=p.components[e].styleOverrides;n&&e.startsWith(`Mui`)&&t(n,e)})}return p.unstable_sxConfig={...St,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Tt({sx:e,theme:this})},p.toRuntimeSource=Sa,Ta(p),p}function Da(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Oa=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Da(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function ka(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Aa(e){return e===`dark`?Oa:[]}function ja(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=ia({...t,colorSpace:i});return{palette:o,opacity:{...ka(o.mode),...n},overlays:r||Aa(o.mode),...a}}function Ma(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var Na=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Pa=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return Na(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function Fa(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function K(e,t,n){!e[t]&&n&&(e[t]=n)}function Ia(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:hi(e)}function La(e,t){`${t}Channel`in e||(e[`${t}Channel`]=pi(Ia(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().
|
|
34
|
+
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.`))}function Ra(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var za=e=>{try{return e()}catch{}},Ba=(e=`mui`)=>Ai(e);function Va(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=ja({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Ea({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...ka(a),...n?.opacity},overlays:n?.overlays||Aa(a)},s}function Ha(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Ma,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=Ba(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(process.env.NODE_ENV===`production`?w(21,f):`MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`);let b;o&&(b=`oklch`);let x=Va(b,v,y,u,f);h&&!v.light&&Va(b,v,h,void 0,`light`),g&&!v.dark&&Va(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...aa(x.typography),...x.font},spacing:Ra(u.spacing)};Object.keys(S.colorSchemes).forEach(e=>{let t=S.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(K(t.common,`background`,`#fff`),K(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(K(t.common,`background`,`#000`),K(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===yi&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===H&&(r=`#000 ${(n*100).toFixed(0)}%`),e===U&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(Fa(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){K(t.Alert,`errorColor`,r(H,o?p(`palette-error-light`):t.error.light,.6)),K(t.Alert,`infoColor`,r(H,o?p(`palette-info-light`):t.info.light,.6)),K(t.Alert,`successColor`,r(H,o?p(`palette-success-light`):t.success.light,.6)),K(t.Alert,`warningColor`,r(H,o?p(`palette-warning-light`):t.warning.light,.6)),K(t.Alert,`errorFilledBg`,n(`palette-error-main`)),K(t.Alert,`infoFilledBg`,n(`palette-info-main`)),K(t.Alert,`successFilledBg`,n(`palette-success-main`)),K(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),K(t.Alert,`errorFilledColor`,za(()=>t.getContrastText(t.error.main))),K(t.Alert,`infoFilledColor`,za(()=>t.getContrastText(t.info.main))),K(t.Alert,`successFilledColor`,za(()=>t.getContrastText(t.success.main))),K(t.Alert,`warningFilledColor`,za(()=>t.getContrastText(t.warning.main))),K(t.Alert,`errorStandardBg`,r(U,o?p(`palette-error-light`):t.error.light,.9)),K(t.Alert,`infoStandardBg`,r(U,o?p(`palette-info-light`):t.info.light,.9)),K(t.Alert,`successStandardBg`,r(U,o?p(`palette-success-light`):t.success.light,.9)),K(t.Alert,`warningStandardBg`,r(U,o?p(`palette-warning-light`):t.warning.light,.9)),K(t.Alert,`errorIconColor`,n(`palette-error-main`)),K(t.Alert,`infoIconColor`,n(`palette-info-main`)),K(t.Alert,`successIconColor`,n(`palette-success-main`)),K(t.Alert,`warningIconColor`,n(`palette-warning-main`)),K(t.AppBar,`defaultBg`,n(`palette-grey-100`)),K(t.Avatar,`defaultBg`,n(`palette-grey-400`)),K(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),K(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),K(t.Chip,`defaultBorder`,n(`palette-grey-400`)),K(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),K(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),K(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),K(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),K(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),K(t.LinearProgress,`primaryBg`,r(U,o?p(`palette-primary-main`):t.primary.main,.62)),K(t.LinearProgress,`secondaryBg`,r(U,o?p(`palette-secondary-main`):t.secondary.main,.62)),K(t.LinearProgress,`errorBg`,r(U,o?p(`palette-error-main`):t.error.main,.62)),K(t.LinearProgress,`infoBg`,r(U,o?p(`palette-info-main`):t.info.main,.62)),K(t.LinearProgress,`successBg`,r(U,o?p(`palette-success-main`):t.success.main,.62)),K(t.LinearProgress,`warningBg`,r(U,o?p(`palette-warning-light`):t.warning.main,.62)),K(t.Skeleton,`bg`,b?r(yi,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),K(t.Slider,`primaryTrack`,r(U,o?p(`palette-primary-main`):t.primary.main,.62)),K(t.Slider,`secondaryTrack`,r(U,o?p(`palette-secondary-main`):t.secondary.main,.62)),K(t.Slider,`errorTrack`,r(U,o?p(`palette-error-main`):t.error.main,.62)),K(t.Slider,`infoTrack`,r(U,o?p(`palette-info-main`):t.info.main,.62)),K(t.Slider,`successTrack`,r(U,o?p(`palette-success-main`):t.success.main,.62)),K(t.Slider,`warningTrack`,r(U,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(H,o?p(`palette-background-default`):t.background.default,.6825):Ci(t.background.default,.8);K(t.SnackbarContent,`bg`,e),K(t.SnackbarContent,`color`,za(()=>b?Ji.text.primary:t.getContrastText(e))),K(t.SpeedDialAction,`fabHoverBg`,Ci(t.background.paper,.15)),K(t.StepConnector,`border`,n(`palette-grey-400`)),K(t.StepContent,`border`,n(`palette-grey-400`)),K(t.Switch,`defaultColor`,n(`palette-common-white`)),K(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),K(t.Switch,`primaryDisabledColor`,r(U,o?p(`palette-primary-main`):t.primary.main,.62)),K(t.Switch,`secondaryDisabledColor`,r(U,o?p(`palette-secondary-main`):t.secondary.main,.62)),K(t.Switch,`errorDisabledColor`,r(U,o?p(`palette-error-main`):t.error.main,.62)),K(t.Switch,`infoDisabledColor`,r(U,o?p(`palette-info-main`):t.info.main,.62)),K(t.Switch,`successDisabledColor`,r(U,o?p(`palette-success-main`):t.success.main,.62)),K(t.Switch,`warningDisabledColor`,r(U,o?p(`palette-warning-main`):t.warning.main,.62)),K(t.TableCell,`border`,r(U,yi(o?p(`palette-divider`):t.divider,1),.88)),K(t.Tooltip,`bg`,r(yi,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){K(t.Alert,`errorColor`,r(U,o?p(`palette-error-light`):t.error.light,.6)),K(t.Alert,`infoColor`,r(U,o?p(`palette-info-light`):t.info.light,.6)),K(t.Alert,`successColor`,r(U,o?p(`palette-success-light`):t.success.light,.6)),K(t.Alert,`warningColor`,r(U,o?p(`palette-warning-light`):t.warning.light,.6)),K(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),K(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),K(t.Alert,`successFilledBg`,n(`palette-success-dark`)),K(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),K(t.Alert,`errorFilledColor`,za(()=>t.getContrastText(t.error.dark))),K(t.Alert,`infoFilledColor`,za(()=>t.getContrastText(t.info.dark))),K(t.Alert,`successFilledColor`,za(()=>t.getContrastText(t.success.dark))),K(t.Alert,`warningFilledColor`,za(()=>t.getContrastText(t.warning.dark))),K(t.Alert,`errorStandardBg`,r(H,o?p(`palette-error-light`):t.error.light,.9)),K(t.Alert,`infoStandardBg`,r(H,o?p(`palette-info-light`):t.info.light,.9)),K(t.Alert,`successStandardBg`,r(H,o?p(`palette-success-light`):t.success.light,.9)),K(t.Alert,`warningStandardBg`,r(H,o?p(`palette-warning-light`):t.warning.light,.9)),K(t.Alert,`errorIconColor`,n(`palette-error-main`)),K(t.Alert,`infoIconColor`,n(`palette-info-main`)),K(t.Alert,`successIconColor`,n(`palette-success-main`)),K(t.Alert,`warningIconColor`,n(`palette-warning-main`)),K(t.AppBar,`defaultBg`,n(`palette-grey-900`)),K(t.AppBar,`darkBg`,n(`palette-background-paper`)),K(t.AppBar,`darkColor`,n(`palette-text-primary`)),K(t.Avatar,`defaultBg`,n(`palette-grey-600`)),K(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),K(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),K(t.Chip,`defaultBorder`,n(`palette-grey-700`)),K(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),K(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),K(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),K(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),K(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),K(t.LinearProgress,`primaryBg`,r(H,o?p(`palette-primary-main`):t.primary.main,.5)),K(t.LinearProgress,`secondaryBg`,r(H,o?p(`palette-secondary-main`):t.secondary.main,.5)),K(t.LinearProgress,`errorBg`,r(H,o?p(`palette-error-main`):t.error.main,.5)),K(t.LinearProgress,`infoBg`,r(H,o?p(`palette-info-main`):t.info.main,.5)),K(t.LinearProgress,`successBg`,r(H,o?p(`palette-success-main`):t.success.main,.5)),K(t.LinearProgress,`warningBg`,r(H,o?p(`palette-warning-main`):t.warning.main,.5)),K(t.Skeleton,`bg`,b?r(yi,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),K(t.Slider,`primaryTrack`,r(H,o?p(`palette-primary-main`):t.primary.main,.5)),K(t.Slider,`secondaryTrack`,r(H,o?p(`palette-secondary-main`):t.secondary.main,.5)),K(t.Slider,`errorTrack`,r(H,o?p(`palette-error-main`):t.error.main,.5)),K(t.Slider,`infoTrack`,r(H,o?p(`palette-info-main`):t.info.main,.5)),K(t.Slider,`successTrack`,r(H,o?p(`palette-success-main`):t.success.main,.5)),K(t.Slider,`warningTrack`,r(H,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(U,o?p(`palette-background-default`):t.background.default,.985):Ci(t.background.default,.98);K(t.SnackbarContent,`bg`,e),K(t.SnackbarContent,`color`,za(()=>b?Ki.text.primary:t.getContrastText(e))),K(t.SpeedDialAction,`fabHoverBg`,Ci(t.background.paper,.15)),K(t.StepConnector,`border`,n(`palette-grey-600`)),K(t.StepContent,`border`,n(`palette-grey-600`)),K(t.Switch,`defaultColor`,n(`palette-grey-300`)),K(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),K(t.Switch,`primaryDisabledColor`,r(H,o?p(`palette-primary-main`):t.primary.main,.55)),K(t.Switch,`secondaryDisabledColor`,r(H,o?p(`palette-secondary-main`):t.secondary.main,.55)),K(t.Switch,`errorDisabledColor`,r(H,o?p(`palette-error-main`):t.error.main,.55)),K(t.Switch,`infoDisabledColor`,r(H,o?p(`palette-info-main`):t.info.main,.55)),K(t.Switch,`successDisabledColor`,r(H,o?p(`palette-success-main`):t.success.main,.55)),K(t.Switch,`warningDisabledColor`,r(H,o?p(`palette-warning-light`):t.warning.main,.55)),K(t.TableCell,`border`,r(H,yi(o?p(`palette-divider`):t.divider,1),.68)),K(t.Tooltip,`bg`,r(yi,o?p(`palette-grey-700`):t.grey[700],.92))}o||(La(t.background,`default`),La(t.background,`paper`),La(t.common,`background`),La(t.common,`onBackground`),La(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&K(t[e],`mainChannel`,pi(Ia(n.main))),n.light&&K(t[e],`lightChannel`,pi(Ia(n.light))),n.dark&&K(t[e],`darkChannel`,pi(Ia(n.dark))),n.contrastText&&K(t[e],`contrastTextChannel`,pi(Ia(n.contrastText))),e===`text`&&(La(t[e],`primary`),La(t[e],`secondary`)),e===`action`&&(n.active&&La(t[e],`active`),n.selected&&La(t[e],`selected`)))})}),S=t.reduce((e,t)=>A(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Pa(S),enableContrastVars:o},{vars:ee,generateThemeVars:te,generateStyleSheets:ne}=Fi(S,C);return S.vars=ee,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=te,S.generateStyleSheets=ne,S.generateSpacing=function(){return Lr(u.spacing,Ge(this))},S.getColorSchemeSelector=Ii(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...St,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Tt({sx:e,theme:this})},S.internal_cache={},S.toRuntimeSource=Sa,S}function Ua(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:ia({...n===!0?{}:n.palette,mode:t})})}function Wa(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return Ea(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Ea({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Ua(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Ua(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Ha({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Ga=Wa(),Ka=`$$material`;function qa(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ja=ni({themeId:Ka,defaultTheme:Ga,rootShouldForwardProp:e=>qa(e)&&e!==`classes`}),Ya=ki;function Xa(e){return(0,W.jsx)(Ti,{...e})}process.env.NODE_ENV!==`production`&&(Xa.propTypes={children:O.default.node,value:O.default.object.isRequired});function Za(e){return Di(e)}function Qa(e){return Ur(`MuiSvgIcon`,e)}Wr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var $a=e=>{let{color:t,fontSize:n,classes:r}=e;return ee({root:[`root`,t!==`inherit`&&`color${ne(t)}`,`fontSize${ne(n)}`]},Qa,r)},eo=Ja(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${ne(n.color)}`],t[`fontSize${ne(n.fontSize)}`]]}})(Ya(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,transition:e.transitions?.create?.(`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),to=n.forwardRef(function(e,t){let r=Za({props:e,name:`MuiSvgIcon`}),{children:i,className:a,color:o=`inherit`,component:s=`svg`,fontSize:c=`medium`,htmlColor:l,inheritViewBox:u=!1,titleAccess:d,viewBox:f=`0 0 24 24`,...p}=r,m=n.isValidElement(i)&&i.type===`svg`,h={...r,color:o,component:s,fontSize:c,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:m},g={};return u||(g.viewBox=f),(0,W.jsxs)(eo,{as:s,className:C($a(h).root,a),focusable:`false`,color:l,"aria-hidden":d?void 0:!0,role:d?`img`:void 0,ref:t,...g,...p,...m&&i.props,ownerState:h,children:[m?i.props.children:i,d?(0,W.jsx)(`title`,{children:d}):null]})});process.env.NODE_ENV!==`production`&&(to.propTypes={children:O.default.node,classes:O.default.object,className:O.default.string,color:O.default.oneOfType([O.default.oneOf([`inherit`,`action`,`disabled`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),O.default.string]),component:O.default.elementType,fontSize:O.default.oneOfType([O.default.oneOf([`inherit`,`large`,`medium`,`small`]),O.default.string]),htmlColor:O.default.string,inheritViewBox:O.default.bool,shapeRendering:O.default.string,sx:O.default.oneOfType([O.default.arrayOf(O.default.oneOfType([O.default.func,O.default.object,O.default.bool])),O.default.func,O.default.object]),titleAccess:O.default.string,viewBox:O.default.string}),to.muiName=`SvgIcon`;function no(e,t){function r(n,r){return(0,W.jsx)(to,{"data-testid":process.env.NODE_ENV===`production`?void 0:`${t}Icon`,ref:r,...n,children:e})}return process.env.NODE_ENV!==`production`&&(r.displayName=`${t}Icon`),r.muiName=to.muiName,n.memo(n.forwardRef(r))}var ro=no((0,W.jsx)(`path`,{d:`M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z`}),`Close`);function io(e,t){return process.env.NODE_ENV===`production`?()=>null:function(...n){return e(...n)||t(...n)}}function ao(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function oo(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}function so(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function co(e,t=0,n=1){return process.env.NODE_ENV!==`production`&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),so(e,t,n)}function lo(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),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.`),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function uo(e){if(e.type)return e;if(e.charAt(0)===`#`)return uo(lo(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(process.env.NODE_ENV===`production`?oo(9,e):`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`);let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(process.env.NODE_ENV===`production`?oo(10,i):`MUI: unsupported \`${i}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`)}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var fo=e=>{let t=uo(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},po=(e,t)=>{try{return fo(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function mo(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function ho(e){e=uo(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),mo({type:s,values:c})}function go(e){e=uo(e);let t=e.type===`hsl`||e.type===`hsla`?uo(ho(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function _o(e,t){let n=go(e),r=go(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function vo(e,t){return e=uo(e),t=co(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,mo(e)}function yo(e,t,n){try{return vo(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function bo(e,t){if(e=uo(e),t=co(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return mo(e)}function q(e,t,n){try{return bo(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function xo(e,t){if(e=uo(e),t=co(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return mo(e)}function J(e,t,n){try{return xo(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function So(e,t=.15){return go(e)>.5?bo(e,t):xo(e,t)}function Co(e,t,n){try{return So(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var wo=e=>e,To=(()=>{let e=wo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=wo}}})();function Eo(e){if(typeof e!=`string`)throw Error(process.env.NODE_ENV===`production`?oo(7):"MUI: `capitalize(string)` expects a string argument.");return e.charAt(0).toUpperCase()+e.slice(1)}var Do=Eo,Oo=l((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.suspense_list`),d=Symbol.for(`react.memo`),f=Symbol.for(`react.lazy`),p=Symbol.for(`react.view_transition`),m=Symbol.for(`react.client.reference`);function h(e){if(typeof e==`object`&&e){var m=e.$$typeof;switch(m){case t:switch(e=e.type,e){case r:case a:case i:case l:case u:case p:return e;default:switch(e&&=e.$$typeof,e){case s:case c:case f:case d:return e;case o:return e;default:return m}}case n:return m}}}e.ContextConsumer=o,e.ContextProvider=s,e.Element=t,e.ForwardRef=c,e.Fragment=r,e.Lazy=f,e.Memo=d,e.Portal=n,e.Profiler=a,e.StrictMode=i,e.Suspense=l,e.SuspenseList=u,e.isContextConsumer=function(e){return h(e)===o},e.isContextProvider=function(e){return h(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===t},e.isForwardRef=function(e){return h(e)===c},e.isFragment=function(e){return h(e)===r},e.isLazy=function(e){return h(e)===f},e.isMemo=function(e){return h(e)===d},e.isPortal=function(e){return h(e)===n},e.isProfiler=function(e){return h(e)===a},e.isStrictMode=function(e){return h(e)===i},e.isSuspense=function(e){return h(e)===l},e.isSuspenseList=function(e){return h(e)===u},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===r||e===a||e===i||e===l||e===u||typeof e==`object`&&e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===s||e.$$typeof===o||e.$$typeof===c||e.$$typeof===m||e.getModuleId!==void 0))},e.typeOf=h})),ko=l((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case i:case o:case a:case u:case d:case m:return e;default:switch(e&&=e.$$typeof,e){case c:case l:case p:case f:return e;case s:return e;default:return t}}case r:return t}}}var n=Symbol.for(`react.transitional.element`),r=Symbol.for(`react.portal`),i=Symbol.for(`react.fragment`),a=Symbol.for(`react.strict_mode`),o=Symbol.for(`react.profiler`),s=Symbol.for(`react.consumer`),c=Symbol.for(`react.context`),l=Symbol.for(`react.forward_ref`),u=Symbol.for(`react.suspense`),d=Symbol.for(`react.suspense_list`),f=Symbol.for(`react.memo`),p=Symbol.for(`react.lazy`),m=Symbol.for(`react.view_transition`),h=Symbol.for(`react.client.reference`);e.ContextConsumer=s,e.ContextProvider=c,e.Element=n,e.ForwardRef=l,e.Fragment=i,e.Lazy=p,e.Memo=f,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=u,e.SuspenseList=d,e.isContextConsumer=function(e){return t(e)===s},e.isContextProvider=function(e){return t(e)===c},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return t(e)===l},e.isFragment=function(e){return t(e)===i},e.isLazy=function(e){return t(e)===p},e.isMemo=function(e){return t(e)===f},e.isPortal=function(e){return t(e)===r},e.isProfiler=function(e){return t(e)===o},e.isStrictMode=function(e){return t(e)===a},e.isSuspense=function(e){return t(e)===u},e.isSuspenseList=function(e){return t(e)===d},e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===i||e===o||e===a||e===u||e===d||typeof e==`object`&&e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===c||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.getModuleId!==void 0))},e.typeOf=t})()})),Ao=l(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Oo():t.exports=ko()}))();function jo(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Mo(e){if(n.isValidElement(e)||(0,Ao.isValidElementType)(e)||!jo(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Mo(e[n])}),t}function No(e,t,r={clone:!0}){let i=r.clone?{...e}:e;return jo(e)&&jo(t)&&Object.keys(t).forEach(a=>{n.isValidElement(t[a])||(0,Ao.isValidElementType)(t[a])?i[a]=t[a]:jo(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&jo(e[a])?i[a]=No(e[a],t[a],r):r.clone?i[a]=jo(t[a])?Mo(t[a]):t[a]:i[a]=t[a]}),i}function Po(e,t){return t?No(e,t,{clone:!1}):e}var Fo=process.env.NODE_ENV===`production`?{}:O.default.oneOfType([O.default.number,O.default.string,O.default.object,O.default.array]);function Io(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function Lo(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ro(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!==`production`)throw Error(process.env.NODE_ENV===`production`?oo(18,`(${t})`):`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function zo(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Bo={xs:0,sm:600,md:900,lg:1200,xl:1536},Vo={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${Bo[e]}px)`},Ho={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Bo[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Uo(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||Vo;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||Vo;return Object.keys(t).reduce((i,a)=>{if(Lo(e.keys,a)){let e=Ro(r.containerQueries?r:Ho,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||Bo).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function Wo(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function Go(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function Ko(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function qo(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:Ko(e,n)||r,t&&(i=t(i,r,e)),i}function Y(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Ko(o,r)||{};return Uo(e,a,e=>{let r=qo(s,i,e);return e===r&&typeof e==`string`&&(r=qo(s,i,`${t}${e===`default`?``:Eo(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:Fo},a.filterProps=[t],a}function Jo(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Yo={m:`margin`,p:`padding`},Xo={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Zo={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Qo=Jo(e=>{if(e.length>2)if(Zo[e])e=Zo[e];else return[e];let[t,n]=e.split(``),r=Yo[t],i=Xo[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),$o=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],es=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],ts=[...$o,...es];function ns(e,t,n,r){let i=Ko(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:(process.env.NODE_ENV!==`production`&&typeof e!=`number`&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e):Array.isArray(i)?e=>{if(typeof e==`string`)return e;let n=Math.abs(e);process.env.NODE_ENV!==`production`&&(Number.isInteger(n)?n>i.length-1&&console.error([`MUI: The value provided (${n}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${n} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
115
35
|
`)):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(`
|
|
116
|
-
`)));
|
|
117
|
-
`)),()=>{})}function Un(e){return Ht(e,"spacing",8,"spacing")}function qt(e,t){return typeof t=="string"||t==null?t:e(t)}function du(e,t){return r=>e.reduce((n,o)=>(n[o]=qt(t,r),n),{})}function pu(e,t,r,n){if(!t.includes(r))return null;const o=uu(r),i=du(o,n),a=e[r];return Xe(e,a,i)}function Ni(e,t){const r=Un(e.theme);return Object.keys(e).map(n=>pu(e,t,n,r)).reduce(Gt,{})}function ye(e){return Ni(e,jr)}ye.propTypes=process.env.NODE_ENV!=="production"?jr.reduce((e,t)=>(e[t]=ot,e),{}):{},ye.filterProps=jr;function be(e){return Ni(e,Fr)}be.propTypes=process.env.NODE_ENV!=="production"?Fr.reduce((e,t)=>(e[t]=ot,e),{}):{},be.filterProps=Fr,process.env.NODE_ENV!=="production"&&fu.reduce((e,t)=>(e[t]=ot,e),{});function Vr(...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]?Gt(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 De(e){return typeof e!="number"?e:`${e}px solid`}function Be(e,t){return Se({prop:e,themeKey:"borders",transform:t})}const mu=Be("border",De),hu=Be("borderTop",De),gu=Be("borderRight",De),yu=Be("borderBottom",De),bu=Be("borderLeft",De),vu=Be("borderColor"),Su=Be("borderTopColor"),$u=Be("borderRightColor"),Cu=Be("borderBottomColor"),Eu=Be("borderLeftColor"),Tu=Be("outline",De),wu=Be("outlineColor"),Lr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ht(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:qt(t,n)});return Xe(e,e.borderRadius,r)}return null};Lr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ot}:{},Lr.filterProps=["borderRadius"],Vr(mu,hu,gu,yu,bu,vu,Su,$u,Cu,Eu,Lr,Tu,wu);const zr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ht(e.theme,"spacing",8,"gap"),r=n=>({gap:qt(t,n)});return Xe(e,e.gap,r)}return null};zr.propTypes=process.env.NODE_ENV!=="production"?{gap:ot}:{},zr.filterProps=["gap"];const Ur=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ht(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:qt(t,n)});return Xe(e,e.columnGap,r)}return null};Ur.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ot}:{},Ur.filterProps=["columnGap"];const Wr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ht(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:qt(t,n)});return Xe(e,e.rowGap,r)}return null};Wr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ot}:{},Wr.filterProps=["rowGap"];const xu=Se({prop:"gridColumn"}),ku=Se({prop:"gridRow"}),Ou=Se({prop:"gridAutoFlow"}),_u=Se({prop:"gridAutoColumns"}),Au=Se({prop:"gridAutoRows"}),Pu=Se({prop:"gridTemplateColumns"}),Ru=Se({prop:"gridTemplateRows"}),Nu=Se({prop:"gridTemplateAreas"}),Iu=Se({prop:"gridArea"});Vr(zr,Ur,Wr,xu,ku,Ou,_u,Au,Pu,Ru,Nu,Iu);function Tt(e,t){return t==="grey"?t:e}const Mu=Se({prop:"color",themeKey:"palette",transform:Tt}),Du=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tt}),Bu=Se({prop:"backgroundColor",themeKey:"palette",transform:Tt});Vr(Mu,Du,Bu);function Ne(e){return e<=1&&e!==0?`${e*100}%`:e}const ju=Se({prop:"width",transform:Ne}),Wn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,f;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Mr[r];return n?((f=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:f.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ne(r)}};return Xe(e,e.maxWidth,t)}return null};Wn.filterProps=["maxWidth"];const Fu=Se({prop:"minWidth",transform:Ne}),Vu=Se({prop:"height",transform:Ne}),Lu=Se({prop:"maxHeight",transform:Ne}),zu=Se({prop:"minHeight",transform:Ne});Se({prop:"size",cssProperty:"width",transform:Ne}),Se({prop:"size",cssProperty:"height",transform:Ne});const Uu=Se({prop:"boxSizing"});Vr(ju,Wn,Fu,Vu,Lu,zu,Uu);const Yr={border:{themeKey:"borders",transform:De},borderTop:{themeKey:"borders",transform:De},borderRight:{themeKey:"borders",transform:De},borderBottom:{themeKey:"borders",transform:De},borderLeft:{themeKey:"borders",transform:De},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:De},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lr},color:{themeKey:"palette",transform:Tt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tt},backgroundColor:{themeKey:"palette",transform:Tt},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:ye},mt:{style:ye},mr:{style:ye},mb:{style:ye},ml:{style:ye},mx:{style:ye},my:{style:ye},margin:{style:ye},marginTop:{style:ye},marginRight:{style:ye},marginBottom:{style:ye},marginLeft:{style:ye},marginX:{style:ye},marginY:{style:ye},marginInline:{style:ye},marginInlineStart:{style:ye},marginInlineEnd:{style:ye},marginBlock:{style:ye},marginBlockStart:{style:ye},marginBlockEnd:{style:ye},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:zr},rowGap:{style:Wr},columnGap:{style:Ur},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ne},maxWidth:{style:Wn},minWidth:{transform:Ne},height:{transform:Ne},maxHeight:{transform:Ne},minHeight:{transform:Ne},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Wu(...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 Yu(e,t){return typeof e=="function"?e(t):e}function Gu(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:f=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const h=Dr(o,d)||{};return p?p(a):Xe(a,n,g=>{let c=Br(h,m,g);return g===c&&typeof g=="string"&&(c=Br(h,m,`${r}${g==="default"?"":Pe(g)}`,g)),f===!1?c:{[f]:c}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??Yr;function a(s){let f=s;if(typeof s=="function")f=s(o);else if(typeof s!="object")return s;if(!f)return null;const d=iu(o.breakpoints),m=Object.keys(d);let p=d;return Object.keys(f).forEach(h=>{const v=Yu(f[h],o);if(v!=null)if(typeof v=="object")if(i[h])p=Gt(p,e(h,v,o,i));else{const g=Xe({theme:o},v,c=>({[h]:c}));Wu(g,v)?p[h]=t({sx:v,theme:o}):p=Gt(p,g)}else p=Gt(p,e(h,v,o,i))}),eu(o,au(m,p))}return Array.isArray(n)?n.map(a):a(n)}return t}const wt=Gu();wt.filterProps=["sx"];function Yn(){return Yn=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},Yn.apply(null,arguments)}var Ii=I.createContext(typeof HTMLElement<"u"?Uo({key:"css"}):null);Ii.Provider;var Mi=function(t){return U.forwardRef(function(r,n){var o=U.useContext(Ii);return t(r,o,n)})},Di=I.createContext({}),Gn={}.hasOwnProperty,Hn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Hu=function(t,r){var n={};for(var o in r)Gn.call(r,o)&&(n[o]=r[o]);return n[Hn]=t,n},qu=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tr(r,n,o),En(function(){return $n(r,n,o)}),null},Ku=Mi(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Hn],i=[n],a="";typeof e.className=="string"?a=Sn(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=bt(i,void 0,I.useContext(Di));a+=t.key+"-"+s.name;var f={};for(var d in e)Gn.call(e,d)&&d!=="css"&&d!==Hn&&(f[d]=e[d]);return f.className=a,r&&(f.ref=r),I.createElement(I.Fragment,null,I.createElement(qu,{cache:t,serialized:s,isStringTag:typeof o=="string"}),I.createElement(o,f))}),Xu=Ku,Bi=function(t,r){var n=arguments;if(r==null||!Gn.call(r,"css"))return I.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=Xu,i[1]=Hu(t,r);for(var a=2;a<o;a++)i[a]=n[a];return I.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Bi||(Bi={}));function qn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return bt(t)}function Kt(){var e=qn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Ju=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Qu=vn(function(e){return Ju.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Zu=Qu,ef=function(t){return t!=="theme"},ji=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Zu:ef},Fi=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},tf=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Tr(r,n,o),En(function(){return $n(r,n,o)}),null},rf=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Fi(t,r,n),f=s||ji(o),d=!f("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var h=m[0];p.push(h[0]);for(var v=m.length,g=1;g<v;g++)p.push(m[g],h[g])}var c=Mi(function(y,E,R){var P=d&&y.as||o,$="",C=[],k=y;if(y.theme==null){k={};for(var N in y)k[N]=y[N];k.theme=I.useContext(Di)}typeof y.className=="string"?$=Sn(E.registered,C,y.className):y.className!=null&&($=y.className+" ");var V=bt(p.concat(C),E.registered,k);$+=E.key+"-"+V.name,a!==void 0&&($+=" "+a);var W=d&&s===void 0?ji(P):f,u={};for(var x in y)d&&x==="as"||W(x)&&(u[x]=y[x]);return u.className=$,R&&(u.ref=R),I.createElement(I.Fragment,null,I.createElement(tf,{cache:E,serialized:V,isStringTag:typeof P=="string"}),I.createElement(P,u))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(y,E){var R=e(y,Yn({},r,E,{shouldForwardProp:Fi(c,E,!0)}));return R.apply(void 0,p)},c}},nf=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Kn=rf.bind(null);nf.forEach(function(e){Kn[e]=Kn(e)});/**
|
|
118
|
-
* @mui/styled-engine v7.1.1
|
|
119
|
-
|
|
120
|
-
* @license MIT
|
|
121
|
-
* This source code is licensed under the MIT license found in the
|
|
122
|
-
* LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/function of(e,t){const r=Kn(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";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(`
|
|
124
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function af(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Vi=[];function Li(e){return Vi[0]=e,bt(Vi)}const sf=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)=>({...r,[n.key]:n.val}),{})};function cf(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=sf(t),a=Object.keys(i);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function f(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function d(h,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function m(h){return a.indexOf(h)+1<a.length?d(h,a[a.indexOf(h)+1]):s(h)}function p(h){const v=a.indexOf(h);return v===0?s(a[1]):v===a.length-1?f(a[v]):d(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:f,between:d,only:m,not:p,unit:r,...o}}const lf={borderRadius:4};function zi(e=8,t=Un({spacing:e})){if(e.mui)return e;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(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function uf(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Ui(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=cf(r),f=zi(o);let d=Re({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:f,shape:{...lf,...i}},a);return d=nu(d),d.applyStyles=uf,d=t.reduce((m,p)=>Re(m,p),d),d.unstable_sxConfig={...Yr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return wt({sx:p,theme:this})},d}const ff={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 Xt(e,t,r="Mui"){const n=ff[t];return n?`${r}-${n}`:`${Jl.generate(e)}-${t}`}function Gr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Xt(e,o,r)}),n}function Wi(e,t=""){return e.displayName||e.name||t}function Yi(e,t,r){const n=Wi(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function df(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Wi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ir.ForwardRef:return Yi(e,e.render,"ForwardRef");case Ir.Memo:return Yi(e,e.type,"memo");default:return}}}function Gi(e){const{variants:t,...r}=e,n={variants:t,style:Li(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Li(o.style))}),n}const pf=Ui();function Xn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function mf(e){return e?(t,r)=>r[e]:null}function hf(e,t,r){e.theme=vf(e.theme)?r:e.theme[t]||e.theme}function Hr(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>Hr(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return Hi(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function Hi(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(n))):r.push(a.style)}return r}function gf(e={}){const{themeId:t,defaultTheme:r=pf,rootShouldForwardProp:n=Xn,slotShouldForwardProp:o=Xn}=e;function i(s){hf(s,t,r)}return(s,f={})=>{af(s,C=>C.filter(k=>k!==wt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:h,overridesResolver:v=mf(qi(m)),...g}=f,c=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,y=h||!1;let E=Xn;m==="Root"||m==="root"?E=n:m?E=o:Sf(s)&&(E=void 0);const R=of(s,{shouldForwardProp:E,label:bf(d,m),...g}),P=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(N){return Hr(N,C)};if(Ke(C)){const k=Gi(C);return k.variants?function(V){return Hr(V,k)}:k.style}return C},$=(...C)=>{const k=[],N=C.map(P),V=[];if(k.push(i),d&&v&&V.push(function(l){var j,Q;const O=(Q=(j=l.theme.components)==null?void 0:j[d])==null?void 0:Q.styleOverrides;if(!O)return null;const D={};for(const de in O)D[de]=Hr(l,O[de]);return v(l,D)}),d&&!c&&V.push(function(l){var D,j;const A=l.theme,O=(j=(D=A==null?void 0:A.components)==null?void 0:D[d])==null?void 0:j.variants;return O?Hi(l,O):null}),y||V.push(wt),Array.isArray(N[0])){const x=N.shift(),l=new Array(k.length).fill(""),A=new Array(V.length).fill("");let O;O=[...l,...x,...A],O.raw=[...l,...x.raw,...A],k.unshift(O)}const W=[...k,...N,...V],u=R(...W);return s.muiName&&(u.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(u.displayName=yf(d,m,s)),u};return R.withConfig&&($.withConfig=R.withConfig),$}}function yf(e,t,r){return e?`${e}${Pe(t||"")}`:`Styled(${df(r)})`}function bf(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${qi(t||"Root")}`),r}function vf(e){for(const t in e)return!1;return!0}function Sf(e){return typeof e=="string"&&e.charCodeAt(0)>96}function qi(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Jn(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const f=s;r[o][f]=Jn(i[f],a[f])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const $f=typeof window<"u"?I.useLayoutEffect:I.useEffect,Cf=I.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Ef(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Jn(o.defaultProps,n):!o.styleOverrides&&!o.variants?Jn(o,n):n}function Tf({props:e,name:t}){const r=I.useContext(Cf);return Ef({props:e,name:t,theme:{components:r}})}const Ki={theme:void 0};function wf(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Ki.theme=o.theme,i=Gi(e(Ki)),t=i,r=o.theme),i}}function xf(e=""){function t(...n){if(!n.length)return"";const o=n[0];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}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Xi=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},kf=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,f])=>{(!r||r&&!r([...i,s]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?n(f,[...i,s],Array.isArray(f)?[...a,s]:a):t([...i,s],f,a))})}n(e)},Of=(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;function Qn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return kf(e,(s,f,d)=>{if((typeof f=="string"||typeof f=="number")&&(!n||!n(s,f))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=Of(s,f);Object.assign(o,{[m]:p}),Xi(i,s,`var(${m})`,d),Xi(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function _f(e,t={}){const{getSelector:r=y,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...f}=e,{vars:d,css:m,varsWithDefaults:p}=Qn(f,t);let h=p;const v={},{[s]:g,...c}=i;if(Object.entries(c||{}).forEach(([P,$])=>{const{vars:C,css:k,varsWithDefaults:N}=Qn($,t);h=Re(h,N),v[P]={css:k,vars:C}}),g){const{css:P,vars:$,varsWithDefaults:C}=Qn(g,t);h=Re(h,C),v[s]={css:P,vars:$}}function y(P,$){var k,N;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),P){if(C==="media")return e.defaultColorScheme===P?":root":{[`@media (prefers-color-scheme: ${((N=(k=i[P])==null?void 0:k.palette)==null?void 0:N.mode)||P})`]:{":root":$}};if(C)return e.defaultColorScheme===P?`:root, ${C.replace("%s",String(P))}`:C.replace("%s",String(P))}return":root"}return{vars:h,generateThemeVars:()=>{let P={...d};return Object.entries(v).forEach(([,{vars:$}])=>{P=Re(P,$)}),P},generateStyleSheets:()=>{var V,W;const P=[],$=e.defaultColorScheme||"light";function C(u,x){Object.keys(x).length&&P.push(typeof u=="string"?{[u]:{...x}}:u)}C(r(void 0,{...m}),m);const{[$]:k,...N}=v;if(k){const{css:u}=k,x=(W=(V=i[$])==null?void 0:V.palette)==null?void 0:W.mode,l=!n&&x?{colorScheme:x,...u}:{...u};C(r($,{...l}),l)}return Object.entries(N).forEach(([u,{css:x}])=>{var O,D;const l=(D=(O=i[u])==null?void 0:O.palette)==null?void 0:D.mode,A=!n&&l?{colorScheme:l,...x}:{...x};C(r(u,{...A}),A)}),P}}}function Af(e){return function(r){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)} &`:"&"}}const Jt={black:"#000",white:"#fff"},Pf={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"},xt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},kt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Qt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ot={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},_t={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},At={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Ji(){return{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:Jt.white,default:Jt.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}}}const Rf=Ji();function Qi(){return{text:{primary:Jt.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:Jt.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}}}const Zi=Qi();function ea(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=Ln(e.main,o):t==="dark"&&(e.dark=Vn(e.main,i)))}function Nf(e="light"){return e==="dark"?{main:Ot[200],light:Ot[50],dark:Ot[400]}:{main:Ot[700],light:Ot[400],dark:Ot[800]}}function If(e="light"){return e==="dark"?{main:xt[200],light:xt[50],dark:xt[400]}:{main:xt[500],light:xt[300],dark:xt[700]}}function Mf(e="light"){return e==="dark"?{main:kt[500],light:kt[300],dark:kt[700]}:{main:kt[700],light:kt[400],dark:kt[800]}}function Df(e="light"){return e==="dark"?{main:_t[400],light:_t[300],dark:_t[700]}:{main:_t[700],light:_t[500],dark:_t[900]}}function Bf(e="light"){return e==="dark"?{main:At[400],light:At[300],dark:At[700]}:{main:At[800],light:At[500],dark:At[900]}}function jf(e="light"){return e==="dark"?{main:Qt[400],light:Qt[300],dark:Qt[700]}:{main:"#ed6c02",light:Qt[500],dark:Qt[900]}}function Zn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||Nf(t),a=e.secondary||If(t),s=e.error||Mf(t),f=e.info||Df(t),d=e.success||Bf(t),m=e.warning||jf(t);function p(c){const y=xi(c,Zi.text.primary)>=r?Zi.text.primary:Rf.text.primary;if(process.env.NODE_ENV!=="production"){const E=xi(c,y);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${y} on ${c}`,"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(`
|
|
125
|
-
`))}return y}const h=({color:c,name:y,mainShade:E=500,lightShade:R=300,darkShade:P=700})=>{if(c={...c},!c.main&&c[E]&&(c.main=c[E]),!c.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
126
|
-
The color object needs to have a \`main\` property or a \`${E}\` property.`:rt(11,y?` (${y})`:"",E));if(typeof c.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
127
|
-
\`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
|
|
128
|
-
|
|
36
|
+
`)));let r=i[n];return e>=0?r:typeof r==`number`?-r:typeof r==`string`&&r.startsWith(`var(`)?`calc(-1 * ${r})`:`-${r}`}: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(`
|
|
37
|
+
`)),()=>void 0)}function rs(e){return ns(e,`spacing`,8,`spacing`)}function is(e,t){return typeof t==`string`||t==null?t:e(t)}function as(e,t){return n=>e.reduce((e,r)=>(e[r]=is(t,n),e),{})}function os(e,t,n,r){if(!t.includes(n))return null;let i=as(Qo(n),r),a=e[n];return Uo(e,a,i)}function ss(e,t){let n=rs(e.theme);return Object.keys(e).map(r=>os(e,t,r,n)).reduce(Po,{})}function X(e){return ss(e,$o)}X.propTypes=process.env.NODE_ENV===`production`?{}:$o.reduce((e,t)=>(e[t]=Fo,e),{}),X.filterProps=$o;function Z(e){return ss(e,es)}Z.propTypes=process.env.NODE_ENV===`production`?{}:es.reduce((e,t)=>(e[t]=Fo,e),{}),Z.filterProps=es;function cs(e){return ss(e,ts)}cs.propTypes=process.env.NODE_ENV===`production`?{}:ts.reduce((e,t)=>(e[t]=Fo,e),{}),cs.filterProps=ts;function ls(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Po(n,t[r](e)):n,{});return n.propTypes=process.env.NODE_ENV===`production`?{}:e.reduce((e,t)=>Object.assign(e,t.propTypes),{}),n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function us(e){return typeof e==`number`?`${e}px solid`:e}function ds(e,t){return Y({prop:e,themeKey:`borders`,transform:t})}var fs=ds(`border`,us),ps=ds(`borderTop`,us),ms=ds(`borderRight`,us),hs=ds(`borderBottom`,us),gs=ds(`borderLeft`,us),_s=ds(`borderColor`),vs=ds(`borderTopColor`),ys=ds(`borderRightColor`),bs=ds(`borderBottomColor`),xs=ds(`borderLeftColor`),Ss=ds(`outline`,us),Cs=ds(`outlineColor`),ws=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=ns(e.theme,`shape.borderRadius`,4,`borderRadius`);return Uo(e,e.borderRadius,e=>({borderRadius:is(t,e)}))}return null};ws.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:Fo},ws.filterProps=[`borderRadius`],ls(fs,ps,ms,hs,gs,_s,vs,ys,bs,xs,ws,Ss,Cs);var Ts=e=>{if(e.gap!==void 0&&e.gap!==null){let t=ns(e.theme,`spacing`,8,`gap`);return Uo(e,e.gap,e=>({gap:is(t,e)}))}return null};Ts.propTypes=process.env.NODE_ENV===`production`?{}:{gap:Fo},Ts.filterProps=[`gap`];var Es=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=ns(e.theme,`spacing`,8,`columnGap`);return Uo(e,e.columnGap,e=>({columnGap:is(t,e)}))}return null};Es.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:Fo},Es.filterProps=[`columnGap`];var Ds=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=ns(e.theme,`spacing`,8,`rowGap`);return Uo(e,e.rowGap,e=>({rowGap:is(t,e)}))}return null};Ds.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:Fo},Ds.filterProps=[`rowGap`],ls(Ts,Es,Ds,Y({prop:`gridColumn`}),Y({prop:`gridRow`}),Y({prop:`gridAutoFlow`}),Y({prop:`gridAutoColumns`}),Y({prop:`gridAutoRows`}),Y({prop:`gridTemplateColumns`}),Y({prop:`gridTemplateRows`}),Y({prop:`gridTemplateAreas`}),Y({prop:`gridArea`}));function Os(e,t){return t===`grey`?t:e}ls(Y({prop:`color`,themeKey:`palette`,transform:Os}),Y({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Os}),Y({prop:`backgroundColor`,themeKey:`palette`,transform:Os}));function ks(e){return e<=1&&e!==0?`${e*100}%`:e}var As=Y({prop:`width`,transform:ks}),js=e=>e.maxWidth!==void 0&&e.maxWidth!==null?Uo(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Bo[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:ks(t)}}):null;js.filterProps=[`maxWidth`];var Ms=Y({prop:`minWidth`,transform:ks}),Ns=Y({prop:`height`,transform:ks}),Ps=Y({prop:`maxHeight`,transform:ks}),Fs=Y({prop:`minHeight`,transform:ks});Y({prop:`size`,cssProperty:`width`,transform:ks}),Y({prop:`size`,cssProperty:`height`,transform:ks}),ls(As,js,Ms,Ns,Ps,Fs,Y({prop:`boxSizing`}));var Is={border:{themeKey:`borders`,transform:us},borderTop:{themeKey:`borders`,transform:us},borderRight:{themeKey:`borders`,transform:us},borderBottom:{themeKey:`borders`,transform:us},borderLeft:{themeKey:`borders`,transform:us},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:us},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:ws},color:{themeKey:`palette`,transform:Os},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Os},backgroundColor:{themeKey:`palette`,transform:Os},p:{style:Z},pt:{style:Z},pr:{style:Z},pb:{style:Z},pl:{style:Z},px:{style:Z},py:{style:Z},padding:{style:Z},paddingTop:{style:Z},paddingRight:{style:Z},paddingBottom:{style:Z},paddingLeft:{style:Z},paddingX:{style:Z},paddingY:{style:Z},paddingInline:{style:Z},paddingInlineStart:{style:Z},paddingInlineEnd:{style:Z},paddingBlock:{style:Z},paddingBlockStart:{style:Z},paddingBlockEnd:{style:Z},m:{style:X},mt:{style:X},mr:{style:X},mb:{style:X},ml:{style:X},mx:{style:X},my:{style:X},margin:{style:X},marginTop:{style:X},marginRight:{style:X},marginBottom:{style:X},marginLeft:{style:X},marginX:{style:X},marginY:{style:X},marginInline:{style:X},marginInlineStart:{style:X},marginInlineEnd:{style:X},marginBlock:{style:X},marginBlockStart:{style:X},marginBlockEnd:{style:X},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:Ts},rowGap:{style:Ds},columnGap:{style:Es},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:ks},maxWidth:{style:js},minWidth:{transform:ks},height:{transform:ks},maxHeight:{transform:ks},minHeight:{transform:ks},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}};function Ls(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function Rs(e,t){return typeof e==`function`?e(t):e}function zs(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=Ko(n,s)||{};return l?l(i):Uo(i,t,t=>{let n=qo(u,c,t);return t===n&&typeof t==`string`&&(n=qo(u,c,`${e}${t===`default`?``:Eo(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={}}=n||{};if(!r)return null;let a=i.unstable_sxConfig??Is;function o(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let o=Wo(i.breakpoints),s=Object.keys(o),c=o;return Object.keys(r).forEach(n=>{let o=Rs(r[n],i);if(o!=null)if(typeof o==`object`)if(a[n])c=Po(c,e(n,o,i,a));else{let e=Uo({theme:i},o,e=>({[n]:e}));Ls(e,o)?c[n]=t({sx:o,theme:i}):c=Po(c,e)}else c=Po(c,e(n,o,i,a))}),Io(i,Go(s,c))}return Array.isArray(r)?r.map(o):o(r)}return t}var Bs=zs();Bs.filterProps=[`sx`];function Vs(e,t){let n=Or(e,t);return process.env.NODE_ENV===`production`?n:(...t)=>{let r=typeof e==`string`?`"${e}"`:`component`;return t.length===0?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
38
|
+
`)):t.some(e=>e===void 0)&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}}function Hs(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Us=[];function Ws(e){return Us[0]=e,rr(Us)}var Gs=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Ks(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Gs(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}var qs={borderRadius:4};function Js(e=8,t=rs({spacing:e})){if(e.mui)return e;let n=(...e)=>(process.env.NODE_ENV!==`production`&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `));return n.mui=!0,n}function Ys(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Xs(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ks(n),c=Js(i),l=No({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...qs,...a}},o);return l=zo(l),l.applyStyles=Ys,l=t.reduce((e,t)=>No(e,t),l),l.unstable_sxConfig={...Is,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Bs({sx:e,theme:this})},l}var Zs={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 Qs(e,t,n=`Mui`){let r=Zs[t];return r?`${n}-${r}`:`${To.generate(e)}-${t}`}function $s(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Qs(e,t,n)}),r}function ec(e,t=``){return e.displayName||e.name||t}function tc(e,t,n){let r=ec(t);return e.displayName||(r===``?n:`${n}(${r})`)}function nc(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return ec(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case Ao.ForwardRef:return tc(e,e.render,`ForwardRef`);case Ao.Memo:return tc(e,e.type,`memo`);default:return}}}function rc(e){let{variants:t,...n}=e,r={variants:t,style:Ws(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Ws(e.style))}),r}var ic=Xs();function ac(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function oc(e){return e?(t,n)=>n[e]:null}function sc(e,t,n){e.theme=pc(e.theme)?n:e.theme[t]||e.theme}function cc(e,t){let n=typeof t==`function`?t(e):t;if(Array.isArray(n))return n.flatMap(t=>cc(e,t));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=n.style;else{let{variants:e,...r}=n;t=r}return lc(e,n.variants,[t])}return n?.isProcessed?n.style:n}function lc(e,t,n=[]){let r;variantLoop:for(let i=0;i<t.length;i+=1){let a=t[i];if(typeof a.props==`function`){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(r))continue}else for(let t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue variantLoop;typeof a.style==`function`?(r??={...e,...e.ownerState,ownerState:e.ownerState},n.push(a.style(r))):n.push(a.style)}return n}function uc(e={}){let{themeId:t,defaultTheme:n=ic,rootShouldForwardProp:r=ac,slotShouldForwardProp:i=ac}=e;function a(e){sc(e,t,n)}return(e,t={})=>{Hs(e,e=>e.filter(e=>e!==Bs));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=oc(hc(o)),...u}=t,d=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,f=c||!1,p=ac;o===`Root`||o===`root`?p=r:o?p=i:mc(e)&&(p=void 0);let m=Vs(e,{shouldForwardProp:p,label:fc(n,o),...u}),h=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return cc(t,e)};if(jo(e)){let t=rc(e);return t.variants?function(e){return cc(e,t)}:t.style}return e},g=(...t)=>{let r=[],i=t.map(h),s=[];if(r.push(a),n&&l&&s.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=cc(e,t[n]);return l(e,r)}),n&&!d&&s.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?lc(e,t):null}),f||s.push(Bs),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(s.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let c=m(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=dc(n,o,e)),c};return m.withConfig&&(g.withConfig=m.withConfig),g}}function dc(e,t,n){return e?`${e}${Eo(t||``)}`:`Styled(${nc(n)})`}function fc(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${hc(t||`Root`)}`),n}function pc(e){for(let t in e)return!1;return!0}function mc(e){return typeof e==`string`&&e.charCodeAt(0)>96}function hc(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function gc(e,t){let n={...t};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=r;if(i===`components`||i===`slots`)n[i]={...e[i],...n[i]};else if(i===`componentsProps`||i===`slotProps`){let r=e[i],a=t[i];if(!a)n[i]=r||{};else if(!r)n[i]=a;else{n[i]={...a};for(let e in r)if(Object.prototype.hasOwnProperty.call(r,e)){let t=e;n[i][t]=gc(r[t],a[t])}}}else n[i]===void 0&&(n[i]=e[i])}return n}var _c=typeof window<`u`?n.useLayoutEffect:n.useEffect,vc=n.createContext(void 0);function yc({value:e,children:t}){return(0,W.jsx)(vc.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(yc.propTypes={children:O.default.node,value:O.default.object});function bc(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?gc(i.defaultProps,r):!i.styleOverrides&&!i.variants?gc(i,r):r}function xc({props:e,name:t}){return bc({props:e,name:t,theme:{components:n.useContext(vc)}})}var Sc={theme:void 0};function Cc(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Sc.theme=r.theme,i=rc(e(Sc)),t=i,n=r.theme),i}}function wc(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.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}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var Tc=(e,t,n,r=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&typeof i==`object`&&(i[e]=n):i&&typeof i==`object`&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])})},Ec=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},Dc=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function Oc(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Ec(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Dc(e,t);Object.assign(i,{[r]:c}),Tc(a,e,`var(${r})`,s),Tc(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function kc(e,t={}){let{getSelector:n=g,disableCssColorScheme:r,colorSchemeSelector:i}=t,{colorSchemes:a={},components:o,defaultColorScheme:s=`light`,...c}=e,{vars:l,css:u,varsWithDefaults:d}=Oc(c,t),f=d,p={},{[s]:m,...h}=a;if(Object.entries(h||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Oc(n,t);f=No(f,a),p[e]={css:i,vars:r}}),m){let{css:e,vars:n,varsWithDefaults:r}=Oc(m,t);f=No(f,r),p[s]={css:e,vars:n}}function g(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${a[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:f,generateThemeVars:()=>{let e={...l};return Object.entries(p).forEach(([,{vars:t}])=>{e=No(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function o(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}o(n(void 0,{...u}),u);let{[i]:s,...c}=p;if(s){let{css:e}=s,t=a[i]?.palette?.mode,c=!r&&t?{colorScheme:t,...e}:{...e};o(n(i,{...c}),c)}return Object.entries(c).forEach(([e,{css:t}])=>{let i=a[e]?.palette?.mode,s=!r&&i?{colorScheme:i,...t}:{...t};o(n(e,{...s}),s)}),t}}}function Ac(e){return function(t){return e===`media`?(process.env.NODE_ENV!==`production`&&t!==`light`&&t!==`dark`&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith(`data-`)&&!e.includes(`%s`)?`[${e}="${t}"] &`:e===`class`?`.${t} &`:e===`data`?`[data-${t}] &`:`${e.replace(`%s`,t)} &`:`&`}}var jc={black:`#000`,white:`#fff`},Mc={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`},Nc={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`},Pc={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`},Fc={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`},Ic={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`},Lc={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`},Rc={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`};function zc(){return{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:jc.white,default:jc.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}}}var Bc=zc();function Vc(){return{text:{primary:jc.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:jc.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}}}var Hc=Vc();function Uc(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=xo(e.main,i):t===`dark`&&(e.dark=bo(e.main,a)))}function Wc(e=`light`){return e===`dark`?{main:Ic[200],light:Ic[50],dark:Ic[400]}:{main:Ic[700],light:Ic[400],dark:Ic[800]}}function Gc(e=`light`){return e===`dark`?{main:Nc[200],light:Nc[50],dark:Nc[400]}:{main:Nc[500],light:Nc[300],dark:Nc[700]}}function Kc(e=`light`){return e===`dark`?{main:Pc[500],light:Pc[300],dark:Pc[700]}:{main:Pc[700],light:Pc[400],dark:Pc[800]}}function qc(e=`light`){return e===`dark`?{main:Lc[400],light:Lc[300],dark:Lc[700]}:{main:Lc[700],light:Lc[500],dark:Lc[900]}}function Jc(e=`light`){return e===`dark`?{main:Rc[400],light:Rc[300],dark:Rc[700]}:{main:Rc[800],light:Rc[500],dark:Rc[900]}}function Yc(e=`light`){return e===`dark`?{main:Fc[400],light:Fc[300],dark:Fc[700]}:{main:`#ed6c02`,light:Fc[500],dark:Fc[900]}}function Xc(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,...i}=e,a=e.primary||Wc(t),o=e.secondary||Gc(t),s=e.error||Kc(t),c=e.info||qc(t),l=e.success||Jc(t),u=e.warning||Yc(t);function d(e){let t=_o(e,Hc.text.primary)>=n?Hc.text.primary:Bc.text.primary;if(process.env.NODE_ENV!==`production`){let n=_o(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,`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(`
|
|
39
|
+
`))}return t}let f=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(process.env.NODE_ENV===`production`?oo(11,t?` (${t})`:``,n):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`);if(typeof e.main!=`string`)throw Error(process.env.NODE_ENV===`production`?oo(12,t?` (${t})`:``,JSON.stringify(e.main)):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n
|
|
129
40
|
Did you intend to use one of the following approaches?
|
|
130
41
|
|
|
131
42
|
import { green } from "@mui/material/colors";
|
|
@@ -136,18 +47,18 @@ const theme1 = createTheme({ palette: {
|
|
|
136
47
|
|
|
137
48
|
const theme2 = createTheme({ palette: {
|
|
138
49
|
primary: { main: green[500] },
|
|
139
|
-
} })
|
|
140
|
-
`)),Object.keys(
|
|
50
|
+
} });`);return Uc(e,`light`,i,r),Uc(e,`dark`,a,r),e.contrastText||=d(e.main),e},p;return t===`light`?p=zc():t===`dark`&&(p=Vc()),process.env.NODE_ENV!==`production`&&(p||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),No({common:{...jc},mode:t,primary:f({color:a,name:`primary`}),secondary:f({color:o,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:f({color:s,name:`error`}),warning:f({color:u,name:`warning`}),info:f({color:c,name:`info`}),success:f({color:l,name:`success`}),grey:Mc,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...p},i)}function Zc(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function Qc(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function $c(e){return Math.round(e*1e5)/1e5}var el={textTransform:`uppercase`},tl=`"Roboto", "Helvetica", "Arial", sans-serif`;function nl(e,t){let{fontFamily:n=tl,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t;process.env.NODE_ENV!==`production`&&(typeof r!=`number`&&console.error("MUI: `fontSize` is required to be a number."),typeof c!=`number`&&console.error("MUI: `htmlFontSize` is required to be a number."));let f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===tl?{letterSpacing:`${$c(i/t)}em`}:{},...a,...l});return No({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,el),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,el),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var rl=.2,il=.14,al=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rl})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${il})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${al})`].join(`,`)}var ol=[`none`,Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],sl={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)`},cl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ll(e){return`${Math.round(e)}ms`}function ul(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function dl(e){let t={...sl,...e.easing},n={...cl,...e.duration};return{getAutoHeightDuration:ul,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;if(process.env.NODE_ENV!==`production`){let t=e=>typeof e==`string`,n=e=>!Number.isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error(`MUI: Argument "props" must be a string or Array.`),!n(i)&&!t(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),t(a)||console.error(`MUI: Argument "easing" must be a string.`),!n(o)&&!t(o)&&console.error(`MUI: Argument "delay" must be a number or a string.`),typeof r!=`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(`
|
|
51
|
+
`)),Object.keys(s).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(`,`)}].`)}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:ll(i)} ${a} ${typeof o==`string`?o:ll(o)}`).join(`,`)},...e,easing:t,duration:n}}var fl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function pl(e){return jo(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function ml(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!pl(a)||i.startsWith(`unstable_`)?delete e[i]:jo(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
141
52
|
|
|
142
53
|
const theme = ${JSON.stringify(t,null,2)};
|
|
143
54
|
|
|
144
55
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
145
56
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
146
57
|
|
|
147
|
-
export default theme;`}function
|
|
148
|
-
`))}
|
|
149
|
-
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.`))}function ad(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ye=e=>{try{return e()}catch{}},sd=(e="mui")=>xf(e);function to(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=td({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=eo({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...ia(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||aa(o)},a}function cd(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=rd,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:f=":root",...d}=e,m=Object.keys(r)[0],p=n||(r.light&&m!=="light"?"light":m),h=sd(i),{[p]:v,light:g,dark:c,...y}=r,E={...y};let R=v;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(R=!0),!R)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:rt(21,p));const P=to(E,R,d,p);g&&!E.light&&to(E,g,void 0,"light"),c&&!E.dark&&to(E,c,void 0,"dark");let $={defaultColorScheme:p,...P,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:f,getCssVar:h,colorSchemes:E,font:{...Ff(P.typography),...P.font},spacing:ad(d.spacing)};Object.keys($.colorSchemes).forEach(W=>{const u=$.colorSchemes[W].palette,x=l=>{const A=l.split("-"),O=A[1],D=A[2];return h(l,u[O][D])};if(u.mode==="light"&&(w(u.common,"background","#fff"),w(u.common,"onBackground","#000")),u.mode==="dark"&&(w(u.common,"background","#000"),w(u.common,"onBackground","#fff")),id(u,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),u.mode==="light"){w(u.Alert,"errorColor",le(u.error.light,.6)),w(u.Alert,"infoColor",le(u.info.light,.6)),w(u.Alert,"successColor",le(u.success.light,.6)),w(u.Alert,"warningColor",le(u.warning.light,.6)),w(u.Alert,"errorFilledBg",x("palette-error-main")),w(u.Alert,"infoFilledBg",x("palette-info-main")),w(u.Alert,"successFilledBg",x("palette-success-main")),w(u.Alert,"warningFilledBg",x("palette-warning-main")),w(u.Alert,"errorFilledColor",Ye(()=>u.getContrastText(u.error.main))),w(u.Alert,"infoFilledColor",Ye(()=>u.getContrastText(u.info.main))),w(u.Alert,"successFilledColor",Ye(()=>u.getContrastText(u.success.main))),w(u.Alert,"warningFilledColor",Ye(()=>u.getContrastText(u.warning.main))),w(u.Alert,"errorStandardBg",ue(u.error.light,.9)),w(u.Alert,"infoStandardBg",ue(u.info.light,.9)),w(u.Alert,"successStandardBg",ue(u.success.light,.9)),w(u.Alert,"warningStandardBg",ue(u.warning.light,.9)),w(u.Alert,"errorIconColor",x("palette-error-main")),w(u.Alert,"infoIconColor",x("palette-info-main")),w(u.Alert,"successIconColor",x("palette-success-main")),w(u.Alert,"warningIconColor",x("palette-warning-main")),w(u.AppBar,"defaultBg",x("palette-grey-100")),w(u.Avatar,"defaultBg",x("palette-grey-400")),w(u.Button,"inheritContainedBg",x("palette-grey-300")),w(u.Button,"inheritContainedHoverBg",x("palette-grey-A100")),w(u.Chip,"defaultBorder",x("palette-grey-400")),w(u.Chip,"defaultAvatarColor",x("palette-grey-700")),w(u.Chip,"defaultIconColor",x("palette-grey-700")),w(u.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),w(u.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),w(u.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),w(u.LinearProgress,"primaryBg",ue(u.primary.main,.62)),w(u.LinearProgress,"secondaryBg",ue(u.secondary.main,.62)),w(u.LinearProgress,"errorBg",ue(u.error.main,.62)),w(u.LinearProgress,"infoBg",ue(u.info.main,.62)),w(u.LinearProgress,"successBg",ue(u.success.main,.62)),w(u.LinearProgress,"warningBg",ue(u.warning.main,.62)),w(u.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),w(u.Slider,"primaryTrack",ue(u.primary.main,.62)),w(u.Slider,"secondaryTrack",ue(u.secondary.main,.62)),w(u.Slider,"errorTrack",ue(u.error.main,.62)),w(u.Slider,"infoTrack",ue(u.info.main,.62)),w(u.Slider,"successTrack",ue(u.success.main,.62)),w(u.Slider,"warningTrack",ue(u.warning.main,.62));const l=Nr(u.background.default,.8);w(u.SnackbarContent,"bg",l),w(u.SnackbarContent,"color",Ye(()=>u.getContrastText(l))),w(u.SpeedDialAction,"fabHoverBg",Nr(u.background.paper,.15)),w(u.StepConnector,"border",x("palette-grey-400")),w(u.StepContent,"border",x("palette-grey-400")),w(u.Switch,"defaultColor",x("palette-common-white")),w(u.Switch,"defaultDisabledColor",x("palette-grey-100")),w(u.Switch,"primaryDisabledColor",ue(u.primary.main,.62)),w(u.Switch,"secondaryDisabledColor",ue(u.secondary.main,.62)),w(u.Switch,"errorDisabledColor",ue(u.error.main,.62)),w(u.Switch,"infoDisabledColor",ue(u.info.main,.62)),w(u.Switch,"successDisabledColor",ue(u.success.main,.62)),w(u.Switch,"warningDisabledColor",ue(u.warning.main,.62)),w(u.TableCell,"border",ue(Rr(u.divider,1),.88)),w(u.Tooltip,"bg",Rr(u.grey[700],.92))}if(u.mode==="dark"){w(u.Alert,"errorColor",ue(u.error.light,.6)),w(u.Alert,"infoColor",ue(u.info.light,.6)),w(u.Alert,"successColor",ue(u.success.light,.6)),w(u.Alert,"warningColor",ue(u.warning.light,.6)),w(u.Alert,"errorFilledBg",x("palette-error-dark")),w(u.Alert,"infoFilledBg",x("palette-info-dark")),w(u.Alert,"successFilledBg",x("palette-success-dark")),w(u.Alert,"warningFilledBg",x("palette-warning-dark")),w(u.Alert,"errorFilledColor",Ye(()=>u.getContrastText(u.error.dark))),w(u.Alert,"infoFilledColor",Ye(()=>u.getContrastText(u.info.dark))),w(u.Alert,"successFilledColor",Ye(()=>u.getContrastText(u.success.dark))),w(u.Alert,"warningFilledColor",Ye(()=>u.getContrastText(u.warning.dark))),w(u.Alert,"errorStandardBg",le(u.error.light,.9)),w(u.Alert,"infoStandardBg",le(u.info.light,.9)),w(u.Alert,"successStandardBg",le(u.success.light,.9)),w(u.Alert,"warningStandardBg",le(u.warning.light,.9)),w(u.Alert,"errorIconColor",x("palette-error-main")),w(u.Alert,"infoIconColor",x("palette-info-main")),w(u.Alert,"successIconColor",x("palette-success-main")),w(u.Alert,"warningIconColor",x("palette-warning-main")),w(u.AppBar,"defaultBg",x("palette-grey-900")),w(u.AppBar,"darkBg",x("palette-background-paper")),w(u.AppBar,"darkColor",x("palette-text-primary")),w(u.Avatar,"defaultBg",x("palette-grey-600")),w(u.Button,"inheritContainedBg",x("palette-grey-800")),w(u.Button,"inheritContainedHoverBg",x("palette-grey-700")),w(u.Chip,"defaultBorder",x("palette-grey-700")),w(u.Chip,"defaultAvatarColor",x("palette-grey-300")),w(u.Chip,"defaultIconColor",x("palette-grey-300")),w(u.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),w(u.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),w(u.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),w(u.LinearProgress,"primaryBg",le(u.primary.main,.5)),w(u.LinearProgress,"secondaryBg",le(u.secondary.main,.5)),w(u.LinearProgress,"errorBg",le(u.error.main,.5)),w(u.LinearProgress,"infoBg",le(u.info.main,.5)),w(u.LinearProgress,"successBg",le(u.success.main,.5)),w(u.LinearProgress,"warningBg",le(u.warning.main,.5)),w(u.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),w(u.Slider,"primaryTrack",le(u.primary.main,.5)),w(u.Slider,"secondaryTrack",le(u.secondary.main,.5)),w(u.Slider,"errorTrack",le(u.error.main,.5)),w(u.Slider,"infoTrack",le(u.info.main,.5)),w(u.Slider,"successTrack",le(u.success.main,.5)),w(u.Slider,"warningTrack",le(u.warning.main,.5));const l=Nr(u.background.default,.98);w(u.SnackbarContent,"bg",l),w(u.SnackbarContent,"color",Ye(()=>u.getContrastText(l))),w(u.SpeedDialAction,"fabHoverBg",Nr(u.background.paper,.15)),w(u.StepConnector,"border",x("palette-grey-600")),w(u.StepContent,"border",x("palette-grey-600")),w(u.Switch,"defaultColor",x("palette-grey-300")),w(u.Switch,"defaultDisabledColor",x("palette-grey-600")),w(u.Switch,"primaryDisabledColor",le(u.primary.main,.55)),w(u.Switch,"secondaryDisabledColor",le(u.secondary.main,.55)),w(u.Switch,"errorDisabledColor",le(u.error.main,.55)),w(u.Switch,"infoDisabledColor",le(u.info.main,.55)),w(u.Switch,"successDisabledColor",le(u.success.main,.55)),w(u.Switch,"warningDisabledColor",le(u.warning.main,.55)),w(u.TableCell,"border",le(Rr(u.divider,1),.68)),w(u.Tooltip,"bg",Rr(u.grey[700],.92))}Je(u.background,"default"),Je(u.background,"paper"),Je(u.common,"background"),Je(u.common,"onBackground"),Je(u,"divider"),Object.keys(u).forEach(l=>{const A=u[l];l!=="tonalOffset"&&A&&typeof A=="object"&&(A.main&&w(u[l],"mainChannel",Yt(Zt(A.main))),A.light&&w(u[l],"lightChannel",Yt(Zt(A.light))),A.dark&&w(u[l],"darkChannel",Yt(Zt(A.dark))),A.contrastText&&w(u[l],"contrastTextChannel",Yt(Zt(A.contrastText))),l==="text"&&(Je(u[l],"primary"),Je(u[l],"secondary")),l==="action"&&(A.active&&Je(u[l],"active"),A.selected&&Je(u[l],"selected")))})}),$=t.reduce((W,u)=>Re(W,u),$);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:od($)},{vars:k,generateThemeVars:N,generateStyleSheets:V}=_f($,C);return $.vars=k,Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([W,u])=>{$[W]=u}),$.generateThemeVars=N,$.generateStyleSheets=V,$.generateSpacing=function(){return zi(d.spacing,Un(this))},$.getColorSchemeSelector=Af(s),$.spacing=$.generateSpacing(),$.shouldSkipGeneratingVar=a,$.unstable_sxConfig={...Yr,...d==null?void 0:d.unstable_sxConfig},$.unstable_sx=function(u){return wt({sx:u,theme:this})},$.toRuntimeSource=oa,$}function sa(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Zn({...r===!0?{}:r.palette,mode:t})})}function ld(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",f=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof f!="boolean"&&f,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return eo(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=eo({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},sa(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},sa(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),cd({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const ud=ld(),fd="$$material";function dd(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const it=gf({themeId:fd,defaultTheme:ud,rootShouldForwardProp:e=>dd(e)&&e!=="classes"}),qr=wf;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Kr(e){return Tf(e)}let ca=0;function pd(e){const[t,r]=I.useState(e),n=e||t;return I.useEffect(()=>{t==null&&(ca+=1,r(`mui-${ca}`))},[t]),n}const la={...I}.useId;function md(e){if(la!==void 0){const t=la();return e??t}return pd(e)}function Xr(e){const t=I.useRef(e);return $f(()=>{t.current=e}),I.useRef((...r)=>(0,t.current)(...r)).current}function ua(...e){const t=I.useRef(void 0),r=I.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,s=a(n);return typeof s=="function"?s:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return I.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function hd(e){return typeof e.main=="string"}function gd(e,t=[]){if(!hd(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function ro(e=[]){return([,t])=>t&&gd(t,e)}const yd=S.oneOfType([S.func,S.object]);function bd(e){const{prototype:t={}}=e;return!!t.isReactComponent}function vd(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let s;return typeof i=="function"&&!bd(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Sd=Mn(S.elementType,vd);function fa(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
150
|
-
`))}return!1}
|
|
58
|
+
export default theme;`}function hl(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,...l}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(process.env.NODE_ENV===`production`?oo(20):"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.");let u=Xc(a),d=Xs(e),f=No(d,{mixins:Qc(d.breakpoints,r),palette:u,shadows:ol.slice(),typography:nl(u,s),transitions:dl(o),zIndex:{...fl}});if(f=No(f,l),f=t.reduce((e,t)=>No(e,t),f),process.env.NODE_ENV!==`production`){let e=[`active`,`checked`,`completed`,`disabled`,`error`,`expanded`,`focused`,`focusVisible`,`required`,`selected`],t=(t,n)=>{let r;for(r in t){let i=t[r];if(e.includes(r)&&Object.keys(i).length>0){if(process.env.NODE_ENV!==`production`){let e=Qs(``,r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,`You can not override it like this: `,JSON.stringify(t,null,2),``,`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:i}},null,2),``,`https://mui.com/r/state-classes-guide`].join(`
|
|
59
|
+
`))}t[r]={}}}};Object.keys(f.components).forEach(e=>{let n=f.components[e].styleOverrides;n&&e.startsWith(`Mui`)&&t(n,e)})}return f.unstable_sxConfig={...Is,...l?.unstable_sxConfig},f.unstable_sx=function(e){return Bs({sx:e,theme:this})},f.toRuntimeSource=ml,f}function gl(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var _l=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=gl(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function vl(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function yl(e){return e===`dark`?_l:[]}function bl(e){let{palette:t={mode:`light`},opacity:n,overlays:r,...i}=e,a=Xc(t);return{palette:a,opacity:{...vl(a.mode),...n},overlays:r||yl(a.mode),...i}}function xl(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var Sl=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Cl=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return Sl(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function wl(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function $(e,t,n){!e[t]&&n&&(e[t]=n)}function Tl(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:ho(e)}function El(e,t){`${t}Channel`in e||(e[`${t}Channel`]=po(Tl(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().
|
|
60
|
+
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.`))}function Dl(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Ol=e=>{try{return e()}catch{}},kl=(e=`mui`)=>wc(e);function Al(e,t,n,r){if(!t)return;t=t===!0?{}:t;let i=r===`dark`?`dark`:`light`;if(!n){e[r]=bl({...t,palette:{mode:i,...t?.palette}});return}let{palette:a,...o}=hl({...n,palette:{mode:i,...t?.palette}});return e[r]={...t,palette:a,opacity:{...vl(i),...t?.opacity},overlays:t?.overlays||yl(i)},o}function jl(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,shouldSkipGeneratingVar:o=xl,colorSchemeSelector:s=n.light&&n.dark?`media`:void 0,rootSelector:c=`:root`,...l}=e,u=Object.keys(n)[0],d=r||(n.light&&u!==`light`?`light`:u),f=kl(a),{[d]:p,light:m,dark:h,...g}=n,_={...g},v=p;if((d===`dark`&&!(`dark`in n)||d===`light`&&!(`light`in n))&&(v=!0),!v)throw Error(process.env.NODE_ENV===`production`?oo(21,d):`MUI: The \`colorSchemes.${d}\` option is either missing or invalid.`);let y=Al(_,v,l,d);m&&!_.light&&Al(_,m,void 0,`light`),h&&!_.dark&&Al(_,h,void 0,`dark`);let b={defaultColorScheme:d,...y,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:c,getCssVar:f,colorSchemes:_,font:{...Zc(y.typography),...y.font},spacing:Dl(l.spacing)};Object.keys(b.colorSchemes).forEach(e=>{let t=b.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return f(e,t[r][i])};if(t.mode===`light`&&($(t.common,`background`,`#fff`),$(t.common,`onBackground`,`#000`)),t.mode===`dark`&&($(t.common,`background`,`#000`),$(t.common,`onBackground`,`#fff`)),wl(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){$(t.Alert,`errorColor`,q(t.error.light,.6)),$(t.Alert,`infoColor`,q(t.info.light,.6)),$(t.Alert,`successColor`,q(t.success.light,.6)),$(t.Alert,`warningColor`,q(t.warning.light,.6)),$(t.Alert,`errorFilledBg`,n(`palette-error-main`)),$(t.Alert,`infoFilledBg`,n(`palette-info-main`)),$(t.Alert,`successFilledBg`,n(`palette-success-main`)),$(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),$(t.Alert,`errorFilledColor`,Ol(()=>t.getContrastText(t.error.main))),$(t.Alert,`infoFilledColor`,Ol(()=>t.getContrastText(t.info.main))),$(t.Alert,`successFilledColor`,Ol(()=>t.getContrastText(t.success.main))),$(t.Alert,`warningFilledColor`,Ol(()=>t.getContrastText(t.warning.main))),$(t.Alert,`errorStandardBg`,J(t.error.light,.9)),$(t.Alert,`infoStandardBg`,J(t.info.light,.9)),$(t.Alert,`successStandardBg`,J(t.success.light,.9)),$(t.Alert,`warningStandardBg`,J(t.warning.light,.9)),$(t.Alert,`errorIconColor`,n(`palette-error-main`)),$(t.Alert,`infoIconColor`,n(`palette-info-main`)),$(t.Alert,`successIconColor`,n(`palette-success-main`)),$(t.Alert,`warningIconColor`,n(`palette-warning-main`)),$(t.AppBar,`defaultBg`,n(`palette-grey-100`)),$(t.Avatar,`defaultBg`,n(`palette-grey-400`)),$(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),$(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),$(t.Chip,`defaultBorder`,n(`palette-grey-400`)),$(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),$(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),$(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),$(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),$(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),$(t.LinearProgress,`primaryBg`,J(t.primary.main,.62)),$(t.LinearProgress,`secondaryBg`,J(t.secondary.main,.62)),$(t.LinearProgress,`errorBg`,J(t.error.main,.62)),$(t.LinearProgress,`infoBg`,J(t.info.main,.62)),$(t.LinearProgress,`successBg`,J(t.success.main,.62)),$(t.LinearProgress,`warningBg`,J(t.warning.main,.62)),$(t.Skeleton,`bg`,`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),$(t.Slider,`primaryTrack`,J(t.primary.main,.62)),$(t.Slider,`secondaryTrack`,J(t.secondary.main,.62)),$(t.Slider,`errorTrack`,J(t.error.main,.62)),$(t.Slider,`infoTrack`,J(t.info.main,.62)),$(t.Slider,`successTrack`,J(t.success.main,.62)),$(t.Slider,`warningTrack`,J(t.warning.main,.62));let e=Co(t.background.default,.8);$(t.SnackbarContent,`bg`,e),$(t.SnackbarContent,`color`,Ol(()=>t.getContrastText(e))),$(t.SpeedDialAction,`fabHoverBg`,Co(t.background.paper,.15)),$(t.StepConnector,`border`,n(`palette-grey-400`)),$(t.StepContent,`border`,n(`palette-grey-400`)),$(t.Switch,`defaultColor`,n(`palette-common-white`)),$(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),$(t.Switch,`primaryDisabledColor`,J(t.primary.main,.62)),$(t.Switch,`secondaryDisabledColor`,J(t.secondary.main,.62)),$(t.Switch,`errorDisabledColor`,J(t.error.main,.62)),$(t.Switch,`infoDisabledColor`,J(t.info.main,.62)),$(t.Switch,`successDisabledColor`,J(t.success.main,.62)),$(t.Switch,`warningDisabledColor`,J(t.warning.main,.62)),$(t.TableCell,`border`,J(yo(t.divider,1),.88)),$(t.Tooltip,`bg`,yo(t.grey[700],.92))}if(t.mode===`dark`){$(t.Alert,`errorColor`,J(t.error.light,.6)),$(t.Alert,`infoColor`,J(t.info.light,.6)),$(t.Alert,`successColor`,J(t.success.light,.6)),$(t.Alert,`warningColor`,J(t.warning.light,.6)),$(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),$(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),$(t.Alert,`successFilledBg`,n(`palette-success-dark`)),$(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),$(t.Alert,`errorFilledColor`,Ol(()=>t.getContrastText(t.error.dark))),$(t.Alert,`infoFilledColor`,Ol(()=>t.getContrastText(t.info.dark))),$(t.Alert,`successFilledColor`,Ol(()=>t.getContrastText(t.success.dark))),$(t.Alert,`warningFilledColor`,Ol(()=>t.getContrastText(t.warning.dark))),$(t.Alert,`errorStandardBg`,q(t.error.light,.9)),$(t.Alert,`infoStandardBg`,q(t.info.light,.9)),$(t.Alert,`successStandardBg`,q(t.success.light,.9)),$(t.Alert,`warningStandardBg`,q(t.warning.light,.9)),$(t.Alert,`errorIconColor`,n(`palette-error-main`)),$(t.Alert,`infoIconColor`,n(`palette-info-main`)),$(t.Alert,`successIconColor`,n(`palette-success-main`)),$(t.Alert,`warningIconColor`,n(`palette-warning-main`)),$(t.AppBar,`defaultBg`,n(`palette-grey-900`)),$(t.AppBar,`darkBg`,n(`palette-background-paper`)),$(t.AppBar,`darkColor`,n(`palette-text-primary`)),$(t.Avatar,`defaultBg`,n(`palette-grey-600`)),$(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),$(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),$(t.Chip,`defaultBorder`,n(`palette-grey-700`)),$(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),$(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),$(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),$(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),$(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),$(t.LinearProgress,`primaryBg`,q(t.primary.main,.5)),$(t.LinearProgress,`secondaryBg`,q(t.secondary.main,.5)),$(t.LinearProgress,`errorBg`,q(t.error.main,.5)),$(t.LinearProgress,`infoBg`,q(t.info.main,.5)),$(t.LinearProgress,`successBg`,q(t.success.main,.5)),$(t.LinearProgress,`warningBg`,q(t.warning.main,.5)),$(t.Skeleton,`bg`,`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),$(t.Slider,`primaryTrack`,q(t.primary.main,.5)),$(t.Slider,`secondaryTrack`,q(t.secondary.main,.5)),$(t.Slider,`errorTrack`,q(t.error.main,.5)),$(t.Slider,`infoTrack`,q(t.info.main,.5)),$(t.Slider,`successTrack`,q(t.success.main,.5)),$(t.Slider,`warningTrack`,q(t.warning.main,.5));let e=Co(t.background.default,.98);$(t.SnackbarContent,`bg`,e),$(t.SnackbarContent,`color`,Ol(()=>t.getContrastText(e))),$(t.SpeedDialAction,`fabHoverBg`,Co(t.background.paper,.15)),$(t.StepConnector,`border`,n(`palette-grey-600`)),$(t.StepContent,`border`,n(`palette-grey-600`)),$(t.Switch,`defaultColor`,n(`palette-grey-300`)),$(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),$(t.Switch,`primaryDisabledColor`,q(t.primary.main,.55)),$(t.Switch,`secondaryDisabledColor`,q(t.secondary.main,.55)),$(t.Switch,`errorDisabledColor`,q(t.error.main,.55)),$(t.Switch,`infoDisabledColor`,q(t.info.main,.55)),$(t.Switch,`successDisabledColor`,q(t.success.main,.55)),$(t.Switch,`warningDisabledColor`,q(t.warning.main,.55)),$(t.TableCell,`border`,q(yo(t.divider,1),.68)),$(t.Tooltip,`bg`,yo(t.grey[700],.92))}El(t.background,`default`),El(t.background,`paper`),El(t.common,`background`),El(t.common,`onBackground`),El(t,`divider`),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&n&&typeof n==`object`&&(n.main&&$(t[e],`mainChannel`,po(Tl(n.main))),n.light&&$(t[e],`lightChannel`,po(Tl(n.light))),n.dark&&$(t[e],`darkChannel`,po(Tl(n.dark))),n.contrastText&&$(t[e],`contrastTextChannel`,po(Tl(n.contrastText))),e===`text`&&(El(t[e],`primary`),El(t[e],`secondary`)),e===`action`&&(n.active&&El(t[e],`active`),n.selected&&El(t[e],`selected`)))})}),b=t.reduce((e,t)=>No(e,t),b);let x={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:o,getSelector:Cl(b)},{vars:S,generateThemeVars:C,generateStyleSheets:ee}=kc(b,x);return b.vars=S,Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([e,t])=>{b[e]=t}),b.generateThemeVars=C,b.generateStyleSheets=ee,b.generateSpacing=function(){return Js(l.spacing,rs(this))},b.getColorSchemeSelector=Ac(s),b.spacing=b.generateSpacing(),b.shouldSkipGeneratingVar=o,b.unstable_sxConfig={...Is,...l?.unstable_sxConfig},b.unstable_sx=function(e){return Bs({sx:e,theme:this})},b.toRuntimeSource=ml,b}function Ml(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Xc({...n===!0?{}:n.palette,mode:t})})}function Nl(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return hl(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=hl({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Ml(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Ml(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),jl({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Pl=Nl(),Fl=`$$material`;function Il(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ll=uc({themeId:Fl,defaultTheme:Pl,rootShouldForwardProp:e=>Il(e)&&e!==`classes`}),Rl=Cc;function zl(e){return(0,W.jsx)(yc,{...e})}process.env.NODE_ENV!==`production`&&(zl.propTypes={children:O.default.node,value:O.default.object.isRequired});function Bl(e){return xc(e)}var Vl=0;function Hl(e){let[t,r]=n.useState(e),i=e||t;return n.useEffect(()=>{t??(Vl+=1,r(`mui-${Vl}`))},[t]),i}var Ul={...n}.useId;function Wl(e){if(Ul!==void 0){let t=Ul();return e??t}return Hl(e)}var Gl=Wl;function Kl(e){let t=n.useRef(e);return _c(()=>{t.current=e}),n.useRef((...e)=>(0,t.current)(...e)).current}var ql=Kl;function Jl(...e){let t=n.useRef(void 0),r=n.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return n.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=r(e))},e)}var Yl=Jl;function Xl(e){return typeof e.main==`string`}function Zl(e,t=[]){if(!Xl(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function Ql(e=[]){return([,t])=>t&&Zl(t,e)}var $l=O.default.oneOfType([O.default.func,O.default.object]);function eu(e){let{prototype:t={}}=e;return!!t.isReactComponent}function tu(e,t,n,r,i){let a=e[t],o=i||t;if(a==null||typeof window>`u`)return null;let s;return typeof a==`function`&&!eu(a)&&(s=`Did you accidentally provide a plain function component instead?`),s===void 0?null:Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`)}var nu=io(O.default.elementType,tu);function ru(e){try{return e.matches(`:focus-visible`)}catch{process.env.NODE_ENV!==`production`&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.",`Some components rely on this feature to work properly.`].join(`
|
|
61
|
+
`))}return!1}var iu={};function au(e,t){let r=n.useRef(iu);return r.current===iu&&(r.current=e(t)),r}var ou=class e{static create(){return new e}static use(){let t=au(e.create).current,[r,i]=n.useState(!1);return t.shouldMount=r,t.setShouldMount=i,n.useEffect(t.mountEffect,[r]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=cu(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function su(){return ou.use()}function cu(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function lu(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function uu(e,t){return uu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uu(e,t)}function du(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,uu(e,t)}var fu=n.default.createContext(null);function pu(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function mu(e,t){var r=function(e){return t&&(0,n.isValidElement)(e)?t(e):e},i=Object.create(null);return e&&n.Children.map(e,function(e){return e}).forEach(function(e){i[e.key]=r(e)}),i}function hu(e,t){e||={},t||={};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var o,s={};for(var c in t){if(r[c])for(o=0;o<r[c].length;o++){var l=r[c][o];s[r[c][o]]=n(l)}s[c]=n(c)}for(o=0;o<i.length;o++)s[i[o]]=n(i[o]);return s}function gu(e,t,n){return n[t]==null?e.props[t]:n[t]}function _u(e,t){return mu(e.children,function(r){return(0,n.cloneElement)(r,{onExited:t.bind(null,r),in:!0,appear:gu(r,`appear`,e),enter:gu(r,`enter`,e),exit:gu(r,`exit`,e)})})}function vu(e,t,r){var i=mu(e.children),a=hu(t,i);return Object.keys(a).forEach(function(o){var s=a[o];if((0,n.isValidElement)(s)){var c=o in t,l=o in i,u=t[o],d=(0,n.isValidElement)(u)&&!u.props.in;l&&(!c||d)?a[o]=(0,n.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:gu(s,`exit`,e),enter:gu(s,`enter`,e)}):!l&&c&&!d?a[o]=(0,n.cloneElement)(s,{in:!1}):l&&c&&(0,n.isValidElement)(u)&&(a[o]=(0,n.cloneElement)(s,{onExited:r.bind(null,s),in:u.props.in,exit:gu(s,`exit`,e),enter:gu(s,`enter`,e)}))}}),a}var yu=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},bu={component:`div`,childFactory:function(e){return e}},xu=function(e){du(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(pu(r)),firstRender:!0},r}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?_u(e,r):vu(e,n,r),firstRender:!1}},r.handleExited=function(e,t){var n=mu(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=Ot({},t.children);return delete n[e.key],{children:n}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=lu(e,[`component`,`childFactory`]),a=this.state.contextValue,o=yu(this.state.children).map(r);return delete i.appear,delete i.enter,delete i.exit,t===null?n.default.createElement(fu.Provider,{value:a},o):n.default.createElement(fu.Provider,{value:a},n.default.createElement(t,i,o))},t}(n.default.Component);xu.propTypes=process.env.NODE_ENV===`production`?{}:{component:O.default.any,children:O.default.node,appear:O.default.bool,enter:O.default.bool,exit:O.default.bool,childFactory:O.default.func},xu.defaultProps=bu;var Su=[];function Cu(e){n.useEffect(e,Su)}var wu=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function Tu(){let e=au(wu.create).current;return Cu(e.disposeEffect),e}function Eu(e){let{className:t,classes:r,pulsate:i=!1,rippleX:a,rippleY:o,rippleSize:s,in:c,onExited:l,timeout:u}=e,[d,f]=n.useState(!1),p=C(t,r.ripple,r.rippleVisible,i&&r.ripplePulsate),m={width:s,height:s,top:-(s/2)+o,left:-(s/2)+a},h=C(r.child,d&&r.childLeaving,i&&r.childPulsate);return!c&&!d&&f(!0),n.useEffect(()=>{if(!c&&l!=null){let e=setTimeout(l,u);return()=>{clearTimeout(e)}}},[l,c,u]),(0,W.jsx)(`span`,{className:p,style:m,children:(0,W.jsx)(`span`,{className:h})})}process.env.NODE_ENV!==`production`&&(Eu.propTypes={classes:O.default.object.isRequired,className:O.default.string,in:O.default.bool,onExited:O.default.func,pulsate:O.default.bool,rippleSize:O.default.number,rippleX:O.default.number,rippleY:O.default.number,timeout:O.default.number.isRequired});var Du=$s(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Ou=550,ku=_r`
|
|
151
62
|
0% {
|
|
152
63
|
transform: scale(0);
|
|
153
64
|
opacity: 0.1;
|
|
@@ -157,7 +68,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
157
68
|
transform: scale(1);
|
|
158
69
|
opacity: 0.3;
|
|
159
70
|
}
|
|
160
|
-
`,
|
|
71
|
+
`,Au=_r`
|
|
161
72
|
0% {
|
|
162
73
|
opacity: 1;
|
|
163
74
|
}
|
|
@@ -165,7 +76,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
165
76
|
100% {
|
|
166
77
|
opacity: 0;
|
|
167
78
|
}
|
|
168
|
-
`,
|
|
79
|
+
`,ju=_r`
|
|
169
80
|
0% {
|
|
170
81
|
transform: scale(1);
|
|
171
82
|
}
|
|
@@ -177,23 +88,23 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
177
88
|
100% {
|
|
178
89
|
transform: scale(1);
|
|
179
90
|
}
|
|
180
|
-
`,
|
|
91
|
+
`,Mu=Ll(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Nu=Ll(Eu,{name:`MuiTouchRipple`,slot:`Ripple`})`
|
|
181
92
|
opacity: 0;
|
|
182
93
|
position: absolute;
|
|
183
94
|
|
|
184
|
-
&.${
|
|
95
|
+
&.${Du.rippleVisible} {
|
|
185
96
|
opacity: 0.3;
|
|
186
97
|
transform: scale(1);
|
|
187
|
-
animation-name: ${
|
|
188
|
-
animation-duration: ${
|
|
98
|
+
animation-name: ${ku};
|
|
99
|
+
animation-duration: ${Ou}ms;
|
|
189
100
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
190
101
|
}
|
|
191
102
|
|
|
192
|
-
&.${
|
|
103
|
+
&.${Du.ripplePulsate} {
|
|
193
104
|
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
194
105
|
}
|
|
195
106
|
|
|
196
|
-
& .${
|
|
107
|
+
& .${Du.child} {
|
|
197
108
|
opacity: 1;
|
|
198
109
|
display: block;
|
|
199
110
|
width: 100%;
|
|
@@ -202,25 +113,25 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
202
113
|
background-color: currentColor;
|
|
203
114
|
}
|
|
204
115
|
|
|
205
|
-
& .${
|
|
116
|
+
& .${Du.childLeaving} {
|
|
206
117
|
opacity: 0;
|
|
207
|
-
animation-name: ${
|
|
208
|
-
animation-duration: ${
|
|
118
|
+
animation-name: ${Au};
|
|
119
|
+
animation-duration: ${Ou}ms;
|
|
209
120
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
210
121
|
}
|
|
211
122
|
|
|
212
|
-
& .${
|
|
123
|
+
& .${Du.childPulsate} {
|
|
213
124
|
position: absolute;
|
|
214
125
|
/* @noflip */
|
|
215
126
|
left: 0px;
|
|
216
127
|
top: 0;
|
|
217
|
-
animation-name: ${
|
|
128
|
+
animation-name: ${ju};
|
|
218
129
|
animation-duration: 2500ms;
|
|
219
130
|
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
220
131
|
animation-iteration-count: infinite;
|
|
221
132
|
animation-delay: 200ms;
|
|
222
133
|
}
|
|
223
|
-
`,
|
|
134
|
+
`,Pu=n.forwardRef(function(e,t){let{center:r=!1,classes:i={},className:a,...o}=Bl({props:e,name:`MuiTouchRipple`}),[s,c]=n.useState([]),l=n.useRef(0),u=n.useRef(null);n.useEffect(()=>{u.current&&=(u.current(),null)},[s]);let d=n.useRef(!1),f=Tu(),p=n.useRef(null),m=n.useRef(null),h=n.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:r,rippleSize:a,cb:o}=e;c(e=>[...e,(0,W.jsx)(Nu,{classes:{ripple:C(i.ripple,Du.ripple),rippleVisible:C(i.rippleVisible,Du.rippleVisible),ripplePulsate:C(i.ripplePulsate,Du.ripplePulsate),child:C(i.child,Du.child),childLeaving:C(i.childLeaving,Du.childLeaving),childPulsate:C(i.childPulsate,Du.childPulsate)},timeout:Ou,pulsate:t,rippleX:n,rippleY:r,rippleSize:a},l.current)]),l.current+=1,u.current=o},[i]),g=n.useCallback((e={},t={},n=()=>{})=>{let{pulsate:i=!1,center:a=r||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&d.current){d.current=!1;return}e?.type===`touchstart`&&(d.current=!0);let s=o?null:m.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,u,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),u=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),u=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-u),u)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?p.current===null&&(p.current=()=>{h({pulsate:i,rippleX:l,rippleY:u,rippleSize:g,cb:n})},f.start(80,()=>{p.current&&=(p.current(),null)})):h({pulsate:i,rippleX:l,rippleY:u,rippleSize:g,cb:n})},[r,h,f]),_=n.useCallback(()=>{g({},{pulsate:!0})},[g]),v=n.useCallback((e,t)=>{if(f.clear(),e?.type===`touchend`&&p.current){p.current(),p.current=null,f.start(0,()=>{v(e,t)});return}p.current=null,c(e=>e.length>0?e.slice(1):e),u.current=t},[f]);return n.useImperativeHandle(t,()=>({pulsate:_,start:g,stop:v}),[_,g,v]),(0,W.jsx)(Mu,{className:C(Du.root,i.root,a),ref:m,...o,children:(0,W.jsx)(xu,{component:null,exit:!0,children:s})})});process.env.NODE_ENV!==`production`&&(Pu.propTypes={center:O.default.bool,classes:O.default.object,className:O.default.string});function Fu(e){return Qs(`MuiButtonBase`,e)}var Iu=$s(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Lu=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=ao({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Fu,i);return n&&r&&(a.root+=` ${r}`),a},Ru=Ll(`button`,{name:`MuiButtonBase`,slot:`Root`})({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${Iu.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),zu=n.forwardRef(function(e,t){let r=Bl({props:e,name:`MuiButtonBase`}),{action:i,centerRipple:a=!1,children:o,className:s,component:c=`button`,disabled:l=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:p,LinkComponent:m=`a`,onBlur:h,onClick:g,onContextMenu:_,onDragLeave:v,onFocus:y,onFocusVisible:b,onKeyDown:x,onKeyUp:S,onMouseDown:ee,onMouseLeave:w,onMouseUp:te,onTouchEnd:ne,onTouchMove:re,onTouchStart:ie,tabIndex:ae=0,TouchRippleProps:oe,touchRippleRef:T,type:se,...ce}=r,E=n.useRef(null),D=su(),O=Yl(D.ref,T),[k,le]=n.useState(!1);l&&k&&le(!1),n.useImperativeHandle(i,()=>({focusVisible:()=>{le(!0),E.current.focus()}}),[]);let ue=D.shouldMount&&!u&&!l;n.useEffect(()=>{k&&f&&!u&&D.pulsate()},[u,f,k,D]);let de=Bu(D,`start`,ee,d),fe=Bu(D,`stop`,_,d),pe=Bu(D,`stop`,v,d),me=Bu(D,`stop`,te,d),A=Bu(D,`stop`,e=>{k&&e.preventDefault(),w&&w(e)},d),he=Bu(D,`start`,ie,d),ge=Bu(D,`stop`,ne,d),_e=Bu(D,`stop`,re,d),ve=Bu(D,`stop`,e=>{ru(e.target)||le(!1),h&&h(e)},!1),ye=ql(e=>{E.current||=e.currentTarget,ru(e.target)&&(le(!0),b&&b(e)),y&&y(e)}),be=()=>{let e=E.current;return c&&c!==`button`&&!(e.tagName===`A`&&e.href)},xe=ql(e=>{f&&!e.repeat&&k&&e.key===` `&&D.stop(e,()=>{D.start(e)}),e.target===e.currentTarget&&be()&&e.key===` `&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&be()&&e.key===`Enter`&&!l&&(e.preventDefault(),g&&g(e))}),Se=ql(e=>{f&&e.key===` `&&k&&!e.defaultPrevented&&D.stop(e,()=>{D.pulsate(e)}),S&&S(e),g&&e.target===e.currentTarget&&be()&&e.key===` `&&!e.defaultPrevented&&g(e)}),Ce=c;Ce===`button`&&(ce.href||ce.to)&&(Ce=m);let we={};Ce===`button`?(we.type=se===void 0?`button`:se,we.disabled=l):(!ce.href&&!ce.to&&(we.role=`button`),l&&(we[`aria-disabled`]=l));let Te=Yl(t,E),Ee={...r,centerRipple:a,component:c,disabled:l,disableRipple:u,disableTouchRipple:d,focusRipple:f,tabIndex:ae,focusVisible:k},De=Lu(Ee);return(0,W.jsxs)(Ru,{as:Ce,className:C(De.root,s),ownerState:Ee,onBlur:ve,onClick:g,onContextMenu:fe,onFocus:ye,onKeyDown:xe,onKeyUp:Se,onMouseDown:de,onMouseLeave:A,onMouseUp:me,onDragLeave:pe,onTouchEnd:ge,onTouchMove:_e,onTouchStart:he,ref:Te,tabIndex:l?-1:ae,type:se,...we,...ce,children:[o,ue?(0,W.jsx)(Pu,{ref:O,center:a,...oe}):null]})});function Bu(e,t,n,r=!1){return ql(i=>(n&&n(i),r||e[t](i),!0))}process.env.NODE_ENV!==`production`&&(zu.propTypes={action:$l,centerRipple:O.default.bool,children:O.default.node,classes:O.default.object,className:O.default.string,component:nu,disabled:O.default.bool,disableRipple:O.default.bool,disableTouchRipple:O.default.bool,focusRipple:O.default.bool,focusVisibleClassName:O.default.string,href:O.default.any,LinkComponent:O.default.elementType,onBlur:O.default.func,onClick:O.default.func,onContextMenu:O.default.func,onDragLeave:O.default.func,onFocus:O.default.func,onFocusVisible:O.default.func,onKeyDown:O.default.func,onKeyUp:O.default.func,onMouseDown:O.default.func,onMouseLeave:O.default.func,onMouseUp:O.default.func,onTouchEnd:O.default.func,onTouchMove:O.default.func,onTouchStart:O.default.func,sx:O.default.oneOfType([O.default.arrayOf(O.default.oneOfType([O.default.func,O.default.object,O.default.bool])),O.default.func,O.default.object]),tabIndex:O.default.number,TouchRippleProps:O.default.object,touchRippleRef:O.default.oneOfType([O.default.func,O.default.shape({current:O.default.shape({pulsate:O.default.func.isRequired,start:O.default.func.isRequired,stop:O.default.func.isRequired})})]),type:O.default.oneOfType([O.default.oneOf([`button`,`reset`,`submit`]),O.default.string])});function Vu(e){return Qs(`MuiCircularProgress`,e)}$s(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var Hu=44,Uu=_r`
|
|
224
135
|
0% {
|
|
225
136
|
transform: rotate(0deg);
|
|
226
137
|
}
|
|
@@ -228,7 +139,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
228
139
|
100% {
|
|
229
140
|
transform: rotate(360deg);
|
|
230
141
|
}
|
|
231
|
-
`,
|
|
142
|
+
`,Wu=_r`
|
|
232
143
|
0% {
|
|
233
144
|
stroke-dasharray: 1px, 200px;
|
|
234
145
|
stroke-dashoffset: 0;
|
|
@@ -243,9 +154,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
243
154
|
stroke-dasharray: 1px, 200px;
|
|
244
155
|
stroke-dashoffset: -126px;
|
|
245
156
|
}
|
|
246
|
-
`,
|
|
247
|
-
animation: ${
|
|
248
|
-
|
|
249
|
-
animation: ${
|
|
250
|
-
|
|
251
|
-
`)):null),classes:
|
|
157
|
+
`,Gu=typeof Uu==`string`?null:gr`
|
|
158
|
+
animation: ${Uu} 1.4s linear infinite;
|
|
159
|
+
`,Ku=typeof Wu==`string`?null:gr`
|
|
160
|
+
animation: ${Wu} 1.4s ease-in-out infinite;
|
|
161
|
+
`,qu=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return ao({root:[`root`,n,`color${Do(r)}`],svg:[`svg`],circle:[`circle`,`circle${Do(n)}`,i&&`circleDisableShrink`]},Vu,t)},Ju=Ll(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Do(n.color)}`]]}})(Rl(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:Gu||{animation:`${Uu} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ql()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Yu=Ll(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Xu=Ll(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Do(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Rl(({theme:e})=>({stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:Ku||{animation:`${Wu} 1.4s ease-in-out infinite`}}]}))),Zu=n.forwardRef(function(e,t){let n=Bl({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,size:o=40,style:s,thickness:c=3.6,value:l=0,variant:u=`indeterminate`,...d}=n,f={...n,color:i,disableShrink:a,size:o,thickness:c,value:l,variant:u},p=qu(f),m={},h={},g={};if(u===`determinate`){let e=2*Math.PI*((Hu-c)/2);m.strokeDasharray=e.toFixed(3),g[`aria-valuenow`]=Math.round(l),m.strokeDashoffset=`${((100-l)/100*e).toFixed(3)}px`,h.transform=`rotate(-90deg)`}return(0,W.jsx)(Ju,{className:C(p.root,r),style:{width:o,height:o,...h,...s},ownerState:f,ref:t,role:`progressbar`,...g,...d,children:(0,W.jsx)(Yu,{className:p.svg,ownerState:f,viewBox:`${Hu/2} ${Hu/2} ${Hu} ${Hu}`,children:(0,W.jsx)(Xu,{className:p.circle,style:m,ownerState:f,cx:Hu,cy:Hu,r:(Hu-c)/2,fill:`none`,strokeWidth:c})})})});process.env.NODE_ENV!==`production`&&(Zu.propTypes={classes:O.default.object,className:O.default.string,color:O.default.oneOfType([O.default.oneOf([`inherit`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),O.default.string]),disableShrink:io(O.default.bool,e=>e.disableShrink&&e.variant&&e.variant!==`indeterminate`?Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:O.default.oneOfType([O.default.number,O.default.string]),style:O.default.object,sx:O.default.oneOfType([O.default.arrayOf(O.default.oneOfType([O.default.func,O.default.object,O.default.bool])),O.default.func,O.default.object]),thickness:O.default.number,value:O.default.number,variant:O.default.oneOf([`determinate`,`indeterminate`])});function Qu(e){return Qs(`MuiIconButton`,e)}var $u=$s(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`loading`,`loadingIndicator`,`loadingWrapper`]),ed=e=>{let{classes:t,disabled:n,color:r,edge:i,size:a,loading:o}=e;return ao({root:[`root`,o&&`loading`,n&&`disabled`,r!==`default`&&`color${Do(r)}`,i&&`edge${Do(i)}`,`size${Do(a)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Qu,t)},td=Ll(zu,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!==`default`&&t[`color${Do(n.color)}`],n.edge&&t[`edge${Do(n.edge)}`],t[`size${Do(n.size)}`]]}})(Rl(({theme:e})=>({textAlign:`center`,flex:`0 0 auto`,fontSize:e.typography.pxToRem(24),padding:8,borderRadius:`50%`,color:(e.vars||e).palette.action.active,transition:e.transitions.create(`background-color`,{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:vo(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:`var(--IconButton-hoverBg)`,"@media (hover: none)":{backgroundColor:`transparent`}}}},{props:{edge:`start`},style:{marginLeft:-12}},{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:{edge:`end`},style:{marginRight:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}}]})),Rl(({theme:e})=>({variants:[{props:{color:`inherit`},style:{color:`inherit`}},...Object.entries(e.palette).filter(Ql()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Ql()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:vo((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:`small`},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:`large`},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${$u.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled},[`&.${$u.loading}`]:{color:`transparent`}}))),nd=Ll(`span`,{name:`MuiIconButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:`flex`}}]})),rd=n.forwardRef(function(e,t){let n=Bl({props:e,name:`MuiIconButton`}),{edge:r=!1,children:i,className:a,color:o=`default`,disabled:s=!1,disableFocusRipple:c=!1,size:l=`medium`,id:u,loading:d=null,loadingIndicator:f,...p}=n,m=Gl(u),h=f??(0,W.jsx)(Zu,{"aria-labelledby":m,color:`inherit`,size:16}),g={...n,edge:r,color:o,disabled:s,disableFocusRipple:c,loading:d,loadingIndicator:h,size:l},_=ed(g);return(0,W.jsxs)(td,{id:d?m:u,className:C(_.root,a),centerRipple:!0,focusRipple:!c,disabled:s||d,ref:t,...p,ownerState:g,children:[typeof d==`boolean`&&(0,W.jsx)(`span`,{className:_.loadingWrapper,style:{display:`contents`},children:(0,W.jsx)(nd,{className:_.loadingIndicator,ownerState:g,children:d&&h})}),i]})});process.env.NODE_ENV!==`production`&&(rd.propTypes={children:io(O.default.node,e=>n.Children.toArray(e.children).some(e=>n.isValidElement(e)&&e.props.onClick)?Error([`MUI: You are providing an onClick event listener to a child of a button element.`,`Prefer applying it to the IconButton directly.`,`This guarantees that the whole <button> will be responsive to click events.`].join(`
|
|
162
|
+
`)):null),classes:O.default.object,className:O.default.string,color:O.default.oneOfType([O.default.oneOf([`inherit`,`default`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),O.default.string]),disabled:O.default.bool,disableFocusRipple:O.default.bool,disableRipple:O.default.bool,edge:O.default.oneOf([`end`,`start`,!1]),id:O.default.string,loading:O.default.bool,loadingIndicator:O.default.node,size:O.default.oneOfType([O.default.oneOf([`small`,`medium`,`large`]),O.default.string]),sx:O.default.oneOfType([O.default.arrayOf(O.default.oneOfType([O.default.func,O.default.object,O.default.bool])),O.default.func,O.default.object])});function id(e){let n=()=>{e.onClose?.()},r={backgroundColor:e=>e.palette.primary.main,color:`#fff`,position:`relative`,paddingRight:7,height:e.height??40,display:`flex`,alignItems:`center`,boxSizing:`border-box`,...e.sx||{}};return(0,W.jsxs)(t.DialogTitle,{"data-testid":`dialog-title`,sx:r,children:[e.title,(0,W.jsx)(rd,{"aria-label":e.closeButtonAriaLabel??`Close dialog`,onClick:()=>n(),sx:{position:`absolute`,right:8,top:`50%`,transform:`translateY(-50%)`,color:`#fff`},children:(0,W.jsx)(ro,{})})]})}var ad=(0,n.createContext)(null),od=()=>{let e=(0,n.useContext)(ad);if(!e)throw Error(`useMessageDialog must be used within a MessageDialogProvider`);return e},sd={okText:`OK`,cancelText:`Cancel`,alertTitle:`Alert`,confirmTitle:`Confirm`,errorTitle:`Error`,closeButtonAriaLabel:`Close dialog`,titleHeight:40};e.DialogTitleEx=id,e.MessageDialogProvider=e=>{let r=(0,n.useMemo)(()=>({...sd,...e.settings??{}}),[e.settings]),i=(0,n.useMemo)(()=>({backgroundColor:e=>e.palette.primary.main,color:`#fff`}),[]),[a,o]=(0,n.useState)(!1),[s,c]=(0,n.useState)(``),[l,u]=(0,n.useState)(!1),[d,f]=(0,n.useState)(i),[p,m]=(0,n.useState)(r.alertTitle),[h,g]=(0,n.useState)(r.okText),[_,v]=(0,n.useState)(r.cancelText),y=(0,n.useRef)(null),b=(0,n.useCallback)(e=>{let t=y.current;y.current=null,t?.(e)},[]),x=(0,n.useCallback)(e=>{o(!1),b(e)},[b]),S=(0,n.useCallback)(e=>(y.current&&b(!1),c(e??``),o(!0),new Promise(e=>{y.current=e})),[b]),C=(0,n.useCallback)((e,t)=>(m(r.confirmTitle),g(t?.okText??r.okText),v(t?.cancelText??r.cancelText),u(!0),f(i),S(e)),[i,r]),ee=(0,n.useCallback)(e=>(m(r.alertTitle),g(r.okText),u(!1),f(i),S(e)),[i,r]),w=(0,n.useCallback)(e=>(m(r.errorTitle),g(r.okText),u(!1),f({backgroundColor:e=>e.palette.error.main,color:`#fff`}),S(e)),[r]),te=(e,t)=>{t!==`backdropClick`&&x(!1)},ne=(0,n.useMemo)(()=>({error:w,alert:ee,confirm:C}),[w,ee,C]);return(0,n.useEffect)(()=>{let e=e=>{y.current&&x(!1)};return window.addEventListener(`popstate`,e),()=>{window.removeEventListener(`popstate`,e)}},[x]),(0,n.useEffect)(()=>()=>{y.current&&b(!1)},[b]),(0,W.jsx)(W.Fragment,{children:(0,W.jsxs)(ad.Provider,{value:ne,children:[e.children,(0,W.jsxs)(t.Dialog,{"data-testid":`message-dialog`,open:a,onClose:te,children:[(0,W.jsx)(id,{title:p,onClose:()=>x(!1),height:r.titleHeight,sx:d,closeButtonAriaLabel:r.closeButtonAriaLabel}),(0,W.jsx)(t.DialogContent,{dividers:!0,sx:{whiteSpace:`pre-line`},children:s}),(0,W.jsxs)(t.DialogActions,{sx:{display:`flex`,justifyContent:`space-between`,paddingLeft:3,paddingRight:3},children:[(0,W.jsx)(`div`,{style:{flex:1,display:`flex`,justifyContent:l?`flex-start`:`center`},children:(0,W.jsx)(t.Button,{"data-testid":`message-dialog-ok-button`,onClick:()=>x(!0),sx:d,autoFocus:!0,children:h})}),l&&(0,W.jsx)(`div`,{style:{flex:1,display:`flex`,justifyContent:`flex-end`},children:(0,W.jsx)(t.Button,{"data-testid":`message-dialog-cancel-button`,onClick:()=>x(!1),variant:`outlined`,children:_})})]})]})]})})},e.useMessageDialog=od});
|