mui-notifications 0.1.0 → 0.1.2

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.
@@ -1,11 +1,10 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let l=require(`react`),u=c(l,1);l=c(l);let d=require(`react/jsx-runtime`),f=require(`react-dom`);f=c(f);var p=u.createContext(null),m=0,h={show:(e,t)=>t?.key?t.key:(m+=1,`server-notification-${m}`),close:e=>{}};function g(){return u.useContext(p)||h}var _=o((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})),v=o((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,w=c,ee=s,T=n,E=d,D=i,O=h,k=m,A=r,j=o,M=a,te=f,ne=!1;function re(e){return ne||(ne=!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.`)),ie(e)||x(e)===l}function ie(e){return x(e)===u}function ae(e){return x(e)===c}function oe(e){return x(e)===s}function N(e){return typeof e==`object`&&!!e&&e.$$typeof===n}function se(e){return x(e)===d}function P(e){return x(e)===i}function ce(e){return x(e)===h}function le(e){return x(e)===m}function F(e){return x(e)===r}function ue(e){return x(e)===o}function I(e){return x(e)===a}function L(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=w,e.ContextProvider=ee,e.Element=T,e.ForwardRef=E,e.Fragment=D,e.Lazy=O,e.Memo=k,e.Portal=A,e.Profiler=j,e.StrictMode=M,e.Suspense=te,e.isAsyncMode=re,e.isConcurrentMode=ie,e.isContextConsumer=ae,e.isContextProvider=oe,e.isElement=N,e.isForwardRef=se,e.isFragment=P,e.isLazy=ce,e.isMemo=le,e.isPortal=F,e.isProfiler=ue,e.isStrictMode=I,e.isSuspense=L,e.isValidElementType=b,e.typeOf=x})()})),y=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=_():t.exports=v()})),b=o(((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}})),x=o(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),S=o(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),C=o(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=x(),i={},a=S();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})),w=o(((e,t)=>{var n=y(),r=b(),i=x(),a=S(),o=C(),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:T(),objectOf:w,oneOf:C,oneOfType:ee,shape:D,exact:O};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(j(s)!==e){var c=M(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=j(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=j(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=j(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=ne(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 M(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 w(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=j(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 ee(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 `+te(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 T(){function e(e,t,n,r,i){return k(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function E(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 D(e){function t(t,n,r,a,o){var s=t[n],c=j(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 E(r,a,o,l,M(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function O(e){function t(t,n,o,s,c){var l=t[n],u=j(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 E(o,s,c,d,M(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));let l=require(`react`);l=c(l,1);let u=require(`@mui/system`),d=require(`@mui/styled-engine`);d=c(d,1);let f=require(`react/jsx-runtime`),p=require(`@mui/material`);var m=l.createContext(null),h=0,g={show:(e,t)=>t?.key?t.key:(h+=1,`server-notification-${h}`),close:e=>{}};function _(){return l.useContext(m)||g}var v=o((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})),y=o((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,te=s,ne=n,re=d,ie=i,ae=h,oe=m,w=r,T=o,E=a,D=f,se=!1;function ce(e){return se||(se=!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.`)),le(e)||x(e)===l}function le(e){return x(e)===u}function ue(e){return x(e)===c}function de(e){return x(e)===s}function fe(e){return typeof e==`object`&&!!e&&e.$$typeof===n}function O(e){return x(e)===d}function pe(e){return x(e)===i}function k(e){return x(e)===h}function A(e){return x(e)===m}function me(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=te,e.Element=ne,e.ForwardRef=re,e.Fragment=ie,e.Lazy=ae,e.Memo=oe,e.Portal=w,e.Profiler=T,e.StrictMode=E,e.Suspense=D,e.isAsyncMode=ce,e.isConcurrentMode=le,e.isContextConsumer=ue,e.isContextProvider=de,e.isElement=fe,e.isForwardRef=O,e.isFragment=pe,e.isLazy=k,e.isMemo=A,e.isPortal=me,e.isProfiler=he,e.isStrictMode=ge,e.isSuspense=_e,e.isValidElementType=b,e.typeOf=x})()})),b=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=v():t.exports=y()})),x=o(((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}})),S=o(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),C=o(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),ee=o(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=S(),i={},a=C();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})),te=o(((e,t)=>{var n=b(),r=x(),i=S(),a=C(),o=ee(),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:ne(),objectOf:ee,oneOf:C,oneOfType:te,shape:ie,exact:ae};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=E(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=se(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 E(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 te(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 `+D(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 ne(){function e(e,t,n,r,i){return oe(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function re(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 ie(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 re(r,a,o,l,E(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function ae(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 re(o,s,c,d,E(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
2
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 k(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(k);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(!k(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!k(a[1]))return!1}}else return!1;return!0;default:return!1}}function A(e,t){return e===`symbol`?!0:t?t[`@@toStringTag`]===`Symbol`||typeof Symbol==`function`&&t instanceof Symbol:!1}function j(e){var t=typeof e;return Array.isArray(e)?`array`:e instanceof RegExp?`object`:A(t,e)?`symbol`:t}function M(e){if(e==null)return``+e;var t=j(e);if(t===`object`){if(e instanceof Date)return`date`;if(e instanceof RegExp)return`regexp`}return t}function te(e){var t=M(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function ne(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),ee=o(((e,t)=>{var n=x();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}})),T=o(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=y();t.exports=w()(n.isElement,!0)}else t.exports=ee()()}));function E(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=E(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function D(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=E(e))&&(r&&(r+=` `),r+=t);return r}function O(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 k(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 A(e){if(typeof e!=`string`)throw Error(process.env.NODE_ENV===`production`?k(7):"MUI: `capitalize(string)` expects a string argument.");return e.charAt(0).toUpperCase()+e.slice(1)}var j=A;function M(e,t){let n=Array.isArray(t),r=Array.isArray(e);return ae(t)?t:oe(e)?N(t):n&&r?re(e,t):n===r?se(e,t):N(t)}function te(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=N(e[t]);return r}function ne(e){let t={};for(let n in e)t[n]=N(e[n]);return t}function re(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=N(t[r]);return e}function ie(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function ae(e){return typeof e!=`object`||!e}function oe(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function N(e){return ie(e)?Array.isArray(e)?te(e):ne(e):e}function se(e,t){for(let n in t)n in e?e[n]=M(e[n],t[n]):e[n]=N(t[n]);return e}var P=c(T(),1),ce=process.env.NODE_ENV===`production`?{}:P.default.oneOfType([P.default.number,P.default.string,P.default.object,P.default.array]);function le(e){if(e==null)return!0;for(let t in e)return!1;return!0}var F=o((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})),ue=o((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})()})),I=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=F():t.exports=ue()}))();function L(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 de(e){if(u.isValidElement(e)||(0,I.isValidElementType)(e)||!L(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=de(e[n])}),t}function R(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return L(e)&&L(t)&&Object.keys(t).forEach(i=>{u.isValidElement(t[i])||(0,I.isValidElementType)(t[i])?r[i]=t[i]:L(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&L(e[i])?r[i]=R(e[i],t[i],n):n.clone?r[i]=L(t[i])?de(t[i]):t[i]:r[i]=t[i]}),r}var fe=/min-width:\s*([0-9.]+)/;function pe(e,t){if(!e.containerQueries||!me(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>(e.match(fe)?.[1]||0)-+(t.match(fe)?.[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 me(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function he(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function ge(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 _e(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 ve=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 ye(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=ve(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 be={},xe={xs:0,sm:600,md:900,lg:1200,xl:1536},Se=ye({values:xe}),Ce={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:xe[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function we(e,t,n){let r={};return Te(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:M(r,a)})}function Te(e,t,n,r){if(t??=be,Array.isArray(n)){let i=t.breakpoints??Se;for(let t=0;t<n.length;t+=1)Ee(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??Se,a=i.values??xe;for(let o in n)if(he(i.keys,o)){let i=ge(t.containerQueries?t:Ce,o);i&&Ee(e,i,n[o],o,r)}else if(o in a)Ee(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 Ee(e,t,n,r,i){e[t]??={},i(t,n,r)}function De(e=Se){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function Oe(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 ke(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(he(e.keys,n[t]))return!0}return!1}function Ae(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&je(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function je(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=Me(e.vars,i,r);if(t!=null)return t}return Me(e,i,r)}function Me(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`?``:A(e)}`;return r?.[i]}return i}function z(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=je(o,r)||{};return we(e,a,e=>{let r=Ae(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:ce},a.filterProps=[t],a}var Ne={internal_cache:{}},Pe={m:`margin`,p:`padding`},Fe={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Ie={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Le={};for(let e in Pe)Le[e]=[Pe[e]];for(let e in Pe)for(let t in Fe){let n=Pe[e],r=Fe[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Le[e+t]=i}for(let e in Ie)Le[e]=Le[Ie[e]];var Re=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),ze=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]),Be=new Set([...Re,...ze]);function Ve(e,t,n,r){let i=je(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(`
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 oe(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(oe);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(!oe(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!oe(a[1]))return!1}}else return!1;return!0;default:return!1}}function w(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`:w(t,e)?`symbol`:t}function E(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 D(e){var t=E(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function se(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),ne=o(((e,t)=>{var n=S();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}})),re=o(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=b();t.exports=te()(n.isElement,!0)}else t.exports=ne()()}));function ie(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=ie(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function ae(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=ie(e))&&(r&&(r+=` `),r+=t);return r}function oe(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 T(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 E=T;function D(e,t){let n=Array.isArray(t),r=Array.isArray(e);return de(t)?t:fe(e)?O(t):n&&r?le(e,t):n===r?pe(e,t):O(t)}function se(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=O(e[t]);return r}function ce(e){let t={};for(let n in e)t[n]=O(e[n]);return t}function le(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=O(t[r]);return e}function ue(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function de(e){return typeof e!=`object`||!e}function fe(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function O(e){return ue(e)?Array.isArray(e)?se(e):ce(e):e}function pe(e,t){for(let n in t)n in e?e[n]=D(e[n],t[n]):e[n]=O(t[n]);return e}var k=c(re(),1),A=process.env.NODE_ENV===`production`?{}:k.default.oneOfType([k.default.number,k.default.string,k.default.object,k.default.array]);function me(e){if(e==null)return!0;for(let t in e)return!1;return!0}var he=o((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})),ge=o((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})()})),_e=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=he():t.exports=ge()}))();function j(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 ve(e){if(l.isValidElement(e)||(0,_e.isValidElementType)(e)||!j(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=ve(e[n])}),t}function M(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return j(e)&&j(t)&&Object.keys(t).forEach(i=>{l.isValidElement(t[i])||(0,_e.isValidElementType)(t[i])?r[i]=t[i]:j(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&j(e[i])?r[i]=M(e[i],t[i],n):n.clone?r[i]=j(t[i])?ve(t[i]):t[i]:r[i]=t[i]}),r}var ye=/min-width:\s*([0-9.]+)/;function be(e,t){if(!e.containerQueries||!xe(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>(e.match(ye)?.[1]||0)-+(t.match(ye)?.[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 xe(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function Se(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ce(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 we(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 Te=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 Ee(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Te(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 De={},Oe={xs:0,sm:600,md:900,lg:1200,xl:1536},ke=Ee({values:Oe}),Ae={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Oe[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function je(e,t,n){let r={};return Me(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:D(r,a)})}function Me(e,t,n,r){if(t??=De,Array.isArray(n)){let i=t.breakpoints??ke;for(let t=0;t<n.length;t+=1)Ne(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??ke,a=i.values??Oe;for(let o in n)if(Se(i.keys,o)){let i=Ce(t.containerQueries?t:Ae,o);i&&Ne(e,i,n[o],o,r)}else if(o in a)Ne(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 Ne(e,t,n,r,i){e[t]??={},i(t,n,r)}function Pe(e=ke){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function Fe(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];me(t[r])&&delete t[r]}return t}function Ie(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(Se(e.keys,n[t]))return!0}return!1}function Le(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&Re(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function Re(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=ze(e.vars,i,r);if(t!=null)return t}return ze(e,i,r)}function ze(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`?``:T(e)}`;return r?.[i]}return i}function N(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=Re(o,r)||{};return je(e,a,e=>{let r=Le(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:A},a.filterProps=[t],a}var Be={internal_cache:{}},Ve={m:`margin`,p:`padding`},He={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Ue={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},We={};for(let e in Ve)We[e]=[Ve[e]];for(let e in Ve)for(let t in He){let n=Ve[e],r=He[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];We[e+t]=i}for(let e in Ue)We[e]=We[Ue[e]];var Ge=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),Ke=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]),qe=new Set([...Ge,...Ke]);function Je(e,t,n,r){let i=Re(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
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
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 He(e){return Ve(e,`spacing`,8,`spacing`)}function Ue(e,t){return typeof t==`string`||t==null?t:e(t)}var We=[``];function Ge(e,t){let n=e.theme??Ne,r=n?.internal_cache?.unarySpacing??He(n),i={};for(let n in e){if(!t.has(n))continue;let a=Le[n]??(We[0]=n,We),o=e[n];Te(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=Ue(r,t)})}return i}function B(e){return Ge(e,Re)}B.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Re).reduce((e,t)=>(e[t]=ce,e),{}),B.filterProps=Re;function V(e){return Ge(e,ze)}V.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(ze).reduce((e,t)=>(e[t]=ce,e),{}),V.filterProps=ze;function Ke(e){return Ge(e,Be)}Ke.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Be).reduce((e,t)=>(e[t]=ce,e),{}),Ke.filterProps=Be;function qe(...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]&&M(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 Je(e){return typeof e==`number`?`${e}px solid`:e}function Ye(e,t){return z({prop:e,themeKey:`borders`,transform:t})}var Xe=Ye(`border`,Je),Ze=Ye(`borderTop`,Je),Qe=Ye(`borderRight`,Je),$e=Ye(`borderBottom`,Je),et=Ye(`borderLeft`,Je),tt=Ye(`borderColor`),nt=Ye(`borderTopColor`),rt=Ye(`borderRightColor`),it=Ye(`borderBottomColor`),at=Ye(`borderLeftColor`),ot=Ye(`outline`,Je),st=Ye(`outlineColor`),ct=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Ve(e.theme,`shape.borderRadius`,4,`borderRadius`);return we(e,e.borderRadius,e=>({borderRadius:Ue(t,e)}))}return null};ct.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:ce},ct.filterProps=[`borderRadius`],qe(Xe,Ze,Qe,$e,et,tt,nt,rt,it,at,ct,ot,st);var lt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Ve(e.theme,`spacing`,8,`gap`);return we(e,e.gap,e=>({gap:Ue(t,e)}))}return null};lt.propTypes=process.env.NODE_ENV===`production`?{}:{gap:ce},lt.filterProps=[`gap`];var ut=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Ve(e.theme,`spacing`,8,`columnGap`);return we(e,e.columnGap,e=>({columnGap:Ue(t,e)}))}return null};ut.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:ce},ut.filterProps=[`columnGap`];var dt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Ve(e.theme,`spacing`,8,`rowGap`);return we(e,e.rowGap,e=>({rowGap:Ue(t,e)}))}return null};dt.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:ce},dt.filterProps=[`rowGap`],qe(lt,ut,dt,z({prop:`gridColumn`}),z({prop:`gridRow`}),z({prop:`gridAutoFlow`}),z({prop:`gridAutoColumns`}),z({prop:`gridAutoRows`}),z({prop:`gridTemplateColumns`}),z({prop:`gridTemplateRows`}),z({prop:`gridTemplateAreas`}),z({prop:`gridArea`}));function ft(e,t){return t===`grey`?t:e}qe(z({prop:`color`,themeKey:`palette`,transform:ft}),z({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:ft}),z({prop:`backgroundColor`,themeKey:`palette`,transform:ft}));function pt(e){return e<=1&&e!==0?`${e*100}%`:e}var mt=z({prop:`width`,transform:pt}),ht=e=>e.maxWidth!==void 0&&e.maxWidth!==null?we(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||xe[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:pt(t)}}):null;ht.filterProps=[`maxWidth`];var gt=z({prop:`minWidth`,transform:pt}),_t=z({prop:`height`,transform:pt}),vt=z({prop:`maxHeight`,transform:pt}),yt=z({prop:`minHeight`,transform:pt});z({prop:`size`,cssProperty:`width`,transform:pt}),z({prop:`size`,cssProperty:`height`,transform:pt}),qe(mt,ht,gt,_t,vt,yt,z({prop:`boxSizing`}));var bt={border:{themeKey:`borders`,transform:Je},borderTop:{themeKey:`borders`,transform:Je},borderRight:{themeKey:`borders`,transform:Je},borderBottom:{themeKey:`borders`,transform:Je},borderLeft:{themeKey:`borders`,transform:Je},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Je},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:ct},color:{themeKey:`palette`,transform:ft},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:ft},backgroundColor:{themeKey:`palette`,transform:ft},p:{style:V},pt:{style:V},pr:{style:V},pb:{style:V},pl:{style:V},px:{style:V},py:{style:V},padding:{style:V},paddingTop:{style:V},paddingRight:{style:V},paddingBottom:{style:V},paddingLeft:{style:V},paddingX:{style:V},paddingY:{style:V},paddingInline:{style:V},paddingInlineStart:{style:V},paddingInlineEnd:{style:V},paddingBlock:{style:V},paddingBlockStart:{style:V},paddingBlockEnd:{style:V},m:{style:B},mt:{style:B},mr:{style:B},mb:{style:B},ml:{style:B},mx:{style:B},my:{style:B},margin:{style:B},marginTop:{style:B},marginRight:{style:B},marginBottom:{style:B},marginLeft:{style:B},marginX:{style:B},marginY:{style:B},marginInline:{style:B},marginInlineStart:{style:B},marginInlineEnd:{style:B},marginBlock:{style:B},marginBlockStart:{style:B},marginBlockEnd:{style:B},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:lt},rowGap:{style:dt},columnGap:{style:ut},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:pt},maxWidth:{style:ht},minWidth:{transform:pt},height:{transform:pt},maxHeight:{transform:pt},minHeight:{transform:pt},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`}},xt={};function St(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=xt,nested:i}=t,a=r.unstable_sxConfig??bt,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??Se,l=De(c);for(let n in s){let i=Tt(s[n],r);if(i!=null){if(typeof i!=`object`){wt(l,n,i,r,a);continue}if(a[n]){wt(l,n,i,r,a);continue}ke(c,i)?Te(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o))}}return!i&&r.modularCssLayers?{"@layer sx":pe(r,Oe(c,l))}:pe(r,Oe(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Ct=St();function wt(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){M(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=je(r,o);Te(e,r,n,(n,r)=>{let i=Ae(u,l,r,t);c===!1?M(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function Tt(e,t){return typeof e==`function`?e(t):e}function Et(){return Et=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},Et.apply(null,arguments)}var Dt=!1;function Ot(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 kt(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 At=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?!Dt: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(kt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Ot(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}(),H=`-ms-`,jt=`-moz-`,U=`-webkit-`,Mt=`comm`,Nt=`rule`,Pt=`decl`,Ft=`@import`,It=`@keyframes`,Lt=`@layer`,Rt=Math.abs,zt=String.fromCharCode,Bt=Object.assign;function Vt(e,t){return G(e,0)^45?(((t<<2^G(e,0))<<2^G(e,1))<<2^G(e,2))<<2^G(e,3):0}function Ht(e){return e.trim()}function Ut(e,t){return(e=t.exec(e))?e[0]:e}function W(e,t,n){return e.replace(t,n)}function Wt(e,t){return e.indexOf(t)}function G(e,t){return e.charCodeAt(t)|0}function Gt(e,t,n){return e.slice(t,n)}function Kt(e){return e.length}function qt(e){return e.length}function Jt(e,t){return t.push(e),e}function Yt(e,t){return e.map(t).join(``)}var Xt=1,Zt=1,Qt=0,K=0,q=0,$t=``;function en(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Xt,column:Zt,length:o,return:``}}function tn(e,t){return Bt(en(``,null,null,``,null,null,0),e,{length:-e.length},t)}function nn(){return q}function rn(){return q=K>0?G($t,--K):0,Zt--,q===10&&(Zt=1,Xt--),q}function J(){return q=K<Qt?G($t,K++):0,Zt++,q===10&&(Zt=1,Xt++),q}function an(){return G($t,K)}function on(){return K}function sn(e,t){return Gt($t,e,t)}function cn(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 ln(e){return Xt=Zt=1,Qt=Kt($t=e),K=0,[]}function un(e){return $t=``,e}function dn(e){return Ht(sn(K-1,mn(e===91?e+2:e===40?e+1:e)))}function fn(e){for(;(q=an())&&q<33;)J();return cn(e)>2||cn(q)>3?``:` `}function pn(e,t){for(;--t&&J()&&!(q<48||q>102||q>57&&q<65||q>70&&q<97););return sn(e,on()+(t<6&&an()==32&&J()==32))}function mn(e){for(;J();)switch(q){case e:return K;case 34:case 39:e!==34&&e!==39&&mn(q);break;case 40:e===41&&mn(e);break;case 92:J();break}return K}function hn(e,t){for(;J()&&e+q!==57&&!(e+q===84&&an()===47););return`/*`+sn(t,K-1)+`*`+zt(e===47?e:J())}function gn(e){for(;!cn(an());)J();return sn(e,K)}function _n(e){return un(vn(``,null,null,null,[``],e=ln(e),0,[0],e))}function vn(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=J()){case 40:if(m!=108&&G(C,d-1)==58){Wt(C+=W(dn(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=dn(v);break;case 9:case 10:case 13:case 32:C+=fn(m);break;case 92:C+=pn(on()-1,7);continue;case 47:switch(an()){case 42:case 47:Jt(bn(hn(J(),on()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Kt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=W(C,/\f/g,``)),p>0&&Kt(C)-d&&Jt(p>32?xn(C+`;`,r,n,d-1):xn(W(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Jt(S=yn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)vn(C,t,S,S,b,a,d,s,x);else switch(f===99&&G(C,3)===110?100:f){case 100:case 108:case 109:case 115:vn(e,S,S,r&&Jt(yn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:vn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Kt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&rn()==125)continue}switch(C+=zt(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Kt(C)-1)*_,_=1;break;case 64:an()===45&&(C+=dn(J())),f=an(),u=d=Kt(y=C+=gn(on())),v++;break;case 45:m===45&&Kt(C)==2&&(h=0)}}return a}function yn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=qt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Gt(e,d+1,d=Rt(h=o[m])),y=e;_<p;++_)(y=Ht(h>0?f[_]+` `+v:W(v,/&\f/g,f[_])))&&(c[g++]=y);return en(e,t,n,i===0?Nt:s,c,l,u)}function bn(e,t,n){return en(e,t,n,Mt,zt(nn()),Gt(e,2,-2),0)}function xn(e,t,n,r){return en(e,t,n,Pt,Gt(e,0,r),Gt(e,r+1,-1),r)}function Sn(e,t){for(var n=``,r=qt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Cn(e,t,n,r){switch(e.type){case Lt:if(e.children.length)break;case Ft:case Pt:return e.return=e.return||e.value;case Mt:return``;case It:return e.return=e.value+`{`+Sn(e.children,r)+`}`;case Nt:e.value=e.props.join(`,`)}return Kt(n=Sn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function wn(e){var t=qt(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 Tn(e){return function(t){t.root||(t=t.return)&&e(t)}}function En(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Dn=function(e,t,n){for(var r=0,i=0;r=i,i=an(),r===38&&i===12&&(t[n]=1),!cn(i);)J();return sn(e,K)},On=function(e,t){var n=-1,r=44;do switch(cn(r)){case 0:r===38&&an()===12&&(t[n]=1),e[n]+=Dn(K-1,t,n);break;case 2:e[n]+=dn(r);break;case 4:if(r===44){e[++n]=an()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=zt(r)}while(r=J());return e},kn=function(e,t){return un(On(ln(e),t))},An=new WeakMap,jn=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&&!An.get(n))&&!r){An.set(e,!0);for(var i=[],a=kn(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]}}},Mn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Nn(e,t){switch(Vt(e,t)){case 5103:return U+`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 U+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+jt+e+H+e+e;case 6828:case 4268:return U+e+H+e+e;case 6165:return U+e+H+`flex-`+e+e;case 5187:return U+e+W(e,/(\w+).+(:[^]+)/,U+`box-$1$2`+H+`flex-$1$2`)+e;case 5443:return U+e+H+`flex-item-`+W(e,/flex-|-self/,``)+e;case 4675:return U+e+H+`flex-line-pack`+W(e,/align-content|flex-|-self/,``)+e;case 5548:return U+e+H+W(e,`shrink`,`negative`)+e;case 5292:return U+e+H+W(e,`basis`,`preferred-size`)+e;case 6060:return U+`box-`+W(e,`-grow`,``)+U+e+H+W(e,`grow`,`positive`)+e;case 4554:return U+W(e,/([^-])(transform)/g,`$1`+U+`$2`)+e;case 6187:return W(W(W(e,/(zoom-|grab)/,U+`$1`),/(image-set)/,U+`$1`),e,``)+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,U+`box-pack:$3`+H+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+U+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,U+`$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(Kt(e)-1-t>6)switch(G(e,t+1)){case 109:if(G(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,`$1`+U+`$2-$3$1`+jt+(G(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~Wt(e,`stretch`)?Nn(W(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(G(e,t+1)!==115)break;case 6444:switch(G(e,Kt(e)-3-(~Wt(e,`!important`)&&10))){case 107:return W(e,`:`,`:`+U)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+U+(G(e,14)===45?`inline-`:``)+`box$3$1`+U+`$2$3$1`+H+`$2box$3`)+e}break;case 5936:switch(G(e,t+11)){case 114:return U+e+H+W(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return U+e+H+W(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return U+e+H+W(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return U+e+H+e+e}return e}var Pn=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Pt:e.return=Nn(e.value,e.length);break;case It:return Sn([tn(e,{value:W(e.value,`@`,`@`+U)})],r);case Nt:if(e.length)return Yt(e.props,function(t){switch(Ut(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Sn([tn(e,{props:[W(t,/:(read-\w+)/,`:`+jt+`$1`)]})],r);case`::placeholder`:return Sn([tn(e,{props:[W(t,/:(plac\w+)/,`:`+U+`input-$1`)]}),tn(e,{props:[W(t,/:(plac\w+)/,`:`+jt+`$1`)]}),tn(e,{props:[W(t,/:(plac\w+)/,H+`input-$1`)]})],r)}return``})}}],Fn=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||Pn,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=[jn,Mn],l,u=[Cn,Tn(function(e){l.insert(e)})],d=wn(c.concat(r,u)),f=function(e){return Sn(_n(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 At({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},In=o((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})),Ln=o((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,w=c,ee=s,T=n,E=d,D=i,O=h,k=m,A=r,j=o,M=a,te=f,ne=!1;function re(e){return ne||(ne=!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.`)),ie(e)||x(e)===l}function ie(e){return x(e)===u}function ae(e){return x(e)===c}function oe(e){return x(e)===s}function N(e){return typeof e==`object`&&!!e&&e.$$typeof===n}function se(e){return x(e)===d}function P(e){return x(e)===i}function ce(e){return x(e)===h}function le(e){return x(e)===m}function F(e){return x(e)===r}function ue(e){return x(e)===o}function I(e){return x(e)===a}function L(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=w,e.ContextProvider=ee,e.Element=T,e.ForwardRef=E,e.Fragment=D,e.Lazy=O,e.Memo=k,e.Portal=A,e.Profiler=j,e.StrictMode=M,e.Suspense=te,e.isAsyncMode=re,e.isConcurrentMode=ie,e.isContextConsumer=ae,e.isContextProvider=oe,e.isElement=N,e.isForwardRef=se,e.isFragment=P,e.isLazy=ce,e.isMemo=le,e.isPortal=F,e.isProfiler=ue,e.isStrictMode=I,e.isSuspense=L,e.isValidElementType=b,e.typeOf=x})()})),Rn=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=In():t.exports=Ln()})),zn=o(((e,t)=>{var n=Rn(),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,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h})),Bn=!0;function Vn(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Hn=function(e,t,n){var r=e.key+`-`+t.name;(n===!1||Bn===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Un=function(e,t,n){Hn(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 Wn(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 Gn={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},Kn=!1,qn=/[A-Z]|^ms/g,Jn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yn=function(e){return e.charCodeAt(1)===45},Xn=function(e){return e!=null&&typeof e!=`boolean`},Zn=En(function(e){return Yn(e)?e:e.replace(qn,`-$&`).toLowerCase()}),Qn=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Jn,function(e,t,n){return rr={name:t,styles:n,next:rr},t})}return Gn[e]!==1&&!Yn(e)&&typeof t==`number`&&t!==0?t+`px`:t},$n=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`;function er(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 rr={name:i.name,styles:i.styles,next:rr},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)rr={name:o.name,styles:o.styles,next:rr},o=o.next;return a.styles+`;`}return tr(e,t,n);case`function`:if(e!==void 0){var s=rr,c=n(e);return rr=s,er(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function tr(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=er(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]+`}`:Xn(s)&&(r+=Zn(a)+`:`+Qn(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Kn)throw Error($n);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Xn(o[c])&&(r+=Zn(a)+`:`+Qn(a,o[c])+`;`);else{var l=er(e,t,o);switch(a){case`animation`:case`animationName`:r+=Zn(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}var nr=/label:\s*([^\s;{]+)\s*(;|$)/g,rr;function ir(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=``;rr=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=er(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=er(n,t,e[o]),r&&(i+=a[o]);nr.lastIndex=0;for(var s=``,c;(c=nr.exec(i))!==null;)s+=`-`+c[1];return{name:Wn(i)+s,styles:i,next:rr}}var ar=function(e){return e()},or=l.useInsertionEffect?l.useInsertionEffect:!1,sr=or||ar;or||l.useLayoutEffect;var cr=l.createContext(typeof HTMLElement<`u`?Fn({key:`css`}):null);cr.Provider;var lr=function(e){return(0,l.forwardRef)(function(t,n){return e(t,(0,l.useContext)(cr),n)})},ur=l.createContext({}),dr={}.hasOwnProperty,fr=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,pr=function(e,t){var n={};for(var r in t)dr.call(t,r)&&(n[r]=t[r]);return n[fr]=e,n},mr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Hn(t,n,r),sr(function(){return Un(t,n,r)}),null},hr=lr(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[fr],a=[r],o=``;typeof e.className==`string`?o=Vn(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=ir(a,void 0,l.useContext(ur));o+=t.key+`-`+s.name;var c={};for(var u in e)dr.call(e,u)&&u!==`css`&&u!==fr&&(c[u]=e[u]);return c.className=o,n&&(c.ref=n),l.createElement(l.Fragment,null,l.createElement(mr,{cache:t,serialized:s,isStringTag:typeof i==`string`}),l.createElement(i,c))});zn();var gr=function(e,t){var n=arguments;if(t==null||!dr.call(t,`css`))return l.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=hr,i[1]=pr(e,t);for(var a=2;a<r;a++)i[a]=n[a];return l.createElement.apply(null,i)};(function(e){var t;(function(e){})(t||=e.JSX||={})})(gr||={});function _r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return ir(t)}function vr(){var e=_r.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 yr=/^((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)-.*))$/,br=En(function(e){return yr.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),xr=!1,Sr=br,Cr=function(e){return e!==`theme`},wr=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Sr:Cr},Tr=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},Er=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Hn(t,n,r),sr(function(){return Un(t,n,r)}),null},Dr=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=Tr(t,n,r),c=s||wr(i),u=!c(`as`);return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push(`label:`+a+`;`),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=lr(function(e,t,n){var r=u&&e.as||i,a=``,d=[],p=e;if(e.theme==null){for(var m in p={},e)p[m]=e[m];p.theme=l.useContext(ur)}typeof e.className==`string`?a=Vn(t.registered,d,e.className):e.className!=null&&(a=e.className+` `);var h=ir(f.concat(d),t.registered,p);a+=t.key+`-`+h.name,o!==void 0&&(a+=` `+o);var g=u&&s===void 0?wr(r):c,_={};for(var v in e)u&&v===`as`||g(v)&&(_[v]=e[v]);return _.className=a,n&&(_.ref=n),l.createElement(l.Fragment,null,l.createElement(Er,{cache:t,serialized:h,isStringTag:typeof r==`string`}),l.createElement(r,_))});return g.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=f,g.__emotion_forwardProp=s,Object.defineProperty(g,`toString`,{value:function(){return o===void 0&&xr?`NO_COMPONENT_SELECTOR`:`.`+o}}),g.withComponent=function(t,r){return e(t,Et({},n,r,{shouldForwardProp:Tr(g,r,!0)})).apply(void 0,f)},g}},Or=`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(`.`),kr=Dr.bind(null);Or.forEach(function(e){kr[e]=kr(e)});function Ar(e,t){let n=kr(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(`
7
- `)):t.some(e=>e===void 0)&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}}function jr(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Mr=[];function Nr(e){return Mr[0]=e,ir(Mr)}var Pr={borderRadius:4};function Fr(e=8,t=He({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 Ir(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 Lr(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=ye(n),c=Fr(i),l=R({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Pr,...a}},o);return l=_e(l),l.applyStyles=Ir,l=t.reduce((e,t)=>R(e,t),l),l.unstable_sxConfig={...bt,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Ct({sx:e,theme:this})},l.internal_cache={},l}function Rr(e){return Object.keys(e).length===0}function zr(e=null){let t=u.useContext(ur);return!t||Rr(t)?e:t}var Br=Lr();function Vr(e=Br){return zr(e)}var Hr=e=>e,Ur=(()=>{let e=Hr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Hr}}})(),Wr={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 Gr(e,t,n=`Mui`){let r=Wr[t];return r?`${n}-${r}`:`${Ur.generate(e)}-${t}`}function Kr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Gr(e,t,n)}),r}function qr(e,t=``){return e.displayName||e.name||t}function Jr(e,t,n){let r=qr(t);return e.displayName||(r===``?n:`${n}(${r})`)}function Yr(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return qr(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case I.ForwardRef:return Jr(e,e.render,`ForwardRef`);case I.Memo:return Jr(e,e.type,`memo`);default:return}}}function Xr(e){let{variants:t,...n}=e,r={variants:t,style:Nr(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Nr(e.style))}),r}var Zr=Lr();function Qr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function $r(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function ei(e){return e?(t,n)=>n[e]:null}function ti(e,t,n){e.theme=le(e.theme)?n:e.theme[t]||e.theme}function ni(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ni(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?$r(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?$r(Nr(i),n):i}return ri(e,r.variants,[t],n)}return r?.isProcessed?n?$r(Nr(r.style),n):r.style:n?$r(Nr(r),n):r}function ri(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?$r(Nr(o.style(i)),r):o.style(i))):n.push(r?$r(Nr(o.style),r):o.style)}return n}function ii(e={}){let{themeId:t,defaultTheme:n=Zr,rootShouldForwardProp:r=Qr,slotShouldForwardProp:i=Qr}=e;function a(e){ti(e,t,n)}return(e,t={})=>{jr(e,e=>e.filter(e=>e!==Ct));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=ei(ci(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=Qr;o===`Root`||o===`root`?m=r:o?m=i:si(e)&&(m=void 0);let h=Ar(e,{shouldForwardProp:m,label:oi(n,o),...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ni(t,e,t.theme.modularCssLayers?d:void 0)};if(L(e)){let t=Xr(e);return function(e){return t.variants?ni(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?$r(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]=ni(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?ri(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||s.push(Ct),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=ai(n,o,e)),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function ai(e,t,n){return e?`${e}${A(t||``)}`:`Styled(${Yr(n)})`}function oi(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${ci(t||`Root`)}`),n}function si(e){return typeof e==`string`&&e.charCodeAt(0)>96}function ci(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function li(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]=li(i[t],o[t],n)}}}else a===`className`&&n&&t.className!==void 0?r.className=D(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}var ui=typeof window<`u`?u.useLayoutEffect:u.useEffect;function di(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function fi(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}].`),di(e,t,n)}function pi(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 mi(e){if(e.type)return e;if(e.charAt(0)===`#`)return mi(pi(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`?k(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`?k(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 hi=e=>{let t=mi(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},gi=(e,t)=>{try{return hi(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function _i(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 vi(e){e=mi(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])),_i({type:s,values:c})}function yi(e){e=mi(e);let t=e.type===`hsl`||e.type===`hsla`?mi(vi(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 bi(e,t){let n=yi(e),r=yi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function xi(e,t){return e=mi(e),t=fi(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,_i(e)}function Si(e,t,n){try{return xi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Ci(e,t){if(e=mi(e),t=fi(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 _i(e)}function Y(e,t,n){try{return Ci(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function wi(e,t){if(e=mi(e),t=fi(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 _i(e)}function X(e,t,n){try{return wi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Ti(e,t=.15){return yi(e)>.5?Ci(e,t):wi(e,t)}function Ei(e,t,n){try{return Ti(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var Di=`exact-prop: ​`;function Oi(e){return process.env.NODE_ENV===`production`?e:{...e,[Di]:t=>{let n=Object.keys(t).filter(t=>!e.hasOwnProperty(t));return n.length>0?Error(`The following props are not supported: ${n.map(e=>`\`${e}\``).join(`, `)}. Please remove them.`):null}}}var ki=u.createContext(void 0);function Ai({value:e,children:t}){return(0,d.jsx)(ki.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(Ai.propTypes={children:P.default.node,value:P.default.object});function ji(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?li(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?li(i,r,t.components.mergeClassNameAndStyle):r}function Mi({props:e,name:t}){return ji({props:e,name:t,theme:{components:u.useContext(ki)}})}var Ni=0;function Pi(e){let[t,n]=u.useState(e),r=e||t;return u.useEffect(()=>{t??(Ni+=1,n(`mui-${Ni}`))},[t]),r}var Fi={...u}.useId;function Ii(e){if(Fi!==void 0){let t=Fi();return e??t}return Pi(e)}var Li={theme:void 0};function Ri(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(Li.theme=r.theme,i=Xr(e(Li)),t=i,n=r.theme),i}}function zi(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 Bi=(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])})},Vi=(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)},Hi=(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 Ui(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Vi(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Hi(e,t);Object.assign(i,{[r]:c}),Bi(a,e,`var(${r})`,s),Bi(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Wi(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}=Ui(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Ui(n,t);p=R(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=Ui(h,t);p=R(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=R(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 Gi(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 Ki={black:`#000`,white:`#fff`},qi={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`},Ji={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`},Yi={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`},Xi={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`},Zi={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`},Qi={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`},$i={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 ea(){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:Ki.white,default:Ki.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 ta=ea();function na(){return{text:{primary:Ki.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:Ki.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 ra=na();function ia(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=wi(e.main,i):t===`dark`&&(e.dark=Ci(e.main,a)))}function aa(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 oa(e=`light`){return e===`dark`?{main:Zi[200],light:Zi[50],dark:Zi[400]}:{main:Zi[700],light:Zi[400],dark:Zi[800]}}function sa(e=`light`){return e===`dark`?{main:Ji[200],light:Ji[50],dark:Ji[400]}:{main:Ji[500],light:Ji[300],dark:Ji[700]}}function ca(e=`light`){return e===`dark`?{main:Yi[500],light:Yi[300],dark:Yi[700]}:{main:Yi[700],light:Yi[400],dark:Yi[800]}}function la(e=`light`){return e===`dark`?{main:Qi[400],light:Qi[300],dark:Qi[700]}:{main:Qi[700],light:Qi[500],dark:Qi[900]}}function ua(e=`light`){return e===`dark`?{main:$i[400],light:$i[300],dark:$i[700]}:{main:$i[800],light:$i[500],dark:$i[900]}}function da(e=`light`){return e===`dark`?{main:Xi[400],light:Xi[300],dark:Xi[700]}:{main:`#ed6c02`,light:Xi[500],dark:Xi[900]}}function fa(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function pa(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||oa(t),s=e.secondary||sa(t),c=e.error||ca(t),l=e.info||la(t),u=e.success||ua(t),d=e.warning||da(t);function f(e){if(i)return fa(e);let t=bi(e,ra.text.primary)>=n?ra.text.primary:ta.text.primary;if(process.env.NODE_ENV!==`production`){let n=bi(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(`
8
- `))}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`?k(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`?k(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
6
+ `)),()=>void 0)}function Ye(e){return Je(e,`spacing`,8,`spacing`)}function Xe(e,t){return typeof t==`string`||t==null?t:e(t)}var Ze=[``];function Qe(e,t){let n=e.theme??Be,r=n?.internal_cache?.unarySpacing??Ye(n),i={};for(let n in e){if(!t.has(n))continue;let a=We[n]??(Ze[0]=n,Ze),o=e[n];Me(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=Xe(r,t)})}return i}function P(e){return Qe(e,Ge)}P.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Ge).reduce((e,t)=>(e[t]=A,e),{}),P.filterProps=Ge;function F(e){return Qe(e,Ke)}F.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Ke).reduce((e,t)=>(e[t]=A,e),{}),F.filterProps=Ke;function $e(e){return Qe(e,qe)}$e.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(qe).reduce((e,t)=>(e[t]=A,e),{}),$e.filterProps=qe;function et(...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]&&D(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 I(e){return typeof e==`number`?`${e}px solid`:e}function L(e,t){return N({prop:e,themeKey:`borders`,transform:t})}var tt=L(`border`,I),nt=L(`borderTop`,I),rt=L(`borderRight`,I),it=L(`borderBottom`,I),at=L(`borderLeft`,I),ot=L(`borderColor`),st=L(`borderTopColor`),ct=L(`borderRightColor`),lt=L(`borderBottomColor`),ut=L(`borderLeftColor`),dt=L(`outline`,I),ft=L(`outlineColor`),pt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Je(e.theme,`shape.borderRadius`,4,`borderRadius`);return je(e,e.borderRadius,e=>({borderRadius:Xe(t,e)}))}return null};pt.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:A},pt.filterProps=[`borderRadius`],et(tt,nt,rt,it,at,ot,st,ct,lt,ut,pt,dt,ft);var mt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Je(e.theme,`spacing`,8,`gap`);return je(e,e.gap,e=>({gap:Xe(t,e)}))}return null};mt.propTypes=process.env.NODE_ENV===`production`?{}:{gap:A},mt.filterProps=[`gap`];var ht=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Je(e.theme,`spacing`,8,`columnGap`);return je(e,e.columnGap,e=>({columnGap:Xe(t,e)}))}return null};ht.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:A},ht.filterProps=[`columnGap`];var gt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Je(e.theme,`spacing`,8,`rowGap`);return je(e,e.rowGap,e=>({rowGap:Xe(t,e)}))}return null};gt.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:A},gt.filterProps=[`rowGap`],et(mt,ht,gt,N({prop:`gridColumn`}),N({prop:`gridRow`}),N({prop:`gridAutoFlow`}),N({prop:`gridAutoColumns`}),N({prop:`gridAutoRows`}),N({prop:`gridTemplateColumns`}),N({prop:`gridTemplateRows`}),N({prop:`gridTemplateAreas`}),N({prop:`gridArea`}));function R(e,t){return t===`grey`?t:e}et(N({prop:`color`,themeKey:`palette`,transform:R}),N({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:R}),N({prop:`backgroundColor`,themeKey:`palette`,transform:R}));function z(e){return e<=1&&e!==0?`${e*100}%`:e}var _t=N({prop:`width`,transform:z}),vt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?je(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Oe[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:z(t)}}):null;vt.filterProps=[`maxWidth`];var yt=N({prop:`minWidth`,transform:z}),bt=N({prop:`height`,transform:z}),xt=N({prop:`maxHeight`,transform:z}),St=N({prop:`minHeight`,transform:z});N({prop:`size`,cssProperty:`width`,transform:z}),N({prop:`size`,cssProperty:`height`,transform:z}),et(_t,vt,yt,bt,xt,St,N({prop:`boxSizing`}));var Ct={border:{themeKey:`borders`,transform:I},borderTop:{themeKey:`borders`,transform:I},borderRight:{themeKey:`borders`,transform:I},borderBottom:{themeKey:`borders`,transform:I},borderLeft:{themeKey:`borders`,transform:I},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:I},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:pt},color:{themeKey:`palette`,transform:R},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:R},backgroundColor:{themeKey:`palette`,transform:R},p:{style:F},pt:{style:F},pr:{style:F},pb:{style:F},pl:{style:F},px:{style:F},py:{style:F},padding:{style:F},paddingTop:{style:F},paddingRight:{style:F},paddingBottom:{style:F},paddingLeft:{style:F},paddingX:{style:F},paddingY:{style:F},paddingInline:{style:F},paddingInlineStart:{style:F},paddingInlineEnd:{style:F},paddingBlock:{style:F},paddingBlockStart:{style:F},paddingBlockEnd:{style:F},m:{style:P},mt:{style:P},mr:{style:P},mb:{style:P},ml:{style:P},mx:{style:P},my:{style:P},margin:{style:P},marginTop:{style:P},marginRight:{style:P},marginBottom:{style:P},marginLeft:{style:P},marginX:{style:P},marginY:{style:P},marginInline:{style:P},marginInlineStart:{style:P},marginInlineEnd:{style:P},marginBlock:{style:P},marginBlockStart:{style:P},marginBlockEnd:{style:P},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:mt},rowGap:{style:gt},columnGap:{style:ht},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:z},maxWidth:{style:vt},minWidth:{transform:z},height:{transform:z},maxHeight:{transform:z},minHeight:{transform:z},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`}},wt={};function Tt(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=wt,nested:i}=t,a=r.unstable_sxConfig??Ct,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??ke,l=Pe(c);for(let n in s){let i=Ot(s[n],r);if(i!=null){if(typeof i!=`object`){Dt(l,n,i,r,a);continue}if(a[n]){Dt(l,n,i,r,a);continue}Ie(c,i)?Me(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o))}}return!i&&r.modularCssLayers?{"@layer sx":be(r,Fe(c,l))}:be(r,Fe(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Et=Tt();function Dt(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){D(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=Re(r,o);Me(e,r,n,(n,r)=>{let i=Le(u,l,r,t);c===!1?D(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function Ot(e,t){return typeof e==`function`?e(t):e}function kt(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function At(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}].`),kt(e,t,n)}function jt(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 B(e){if(e.type)return e;if(e.charAt(0)===`#`)return B(jt(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 Mt=e=>{let t=B(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Nt=(e,t)=>{try{return Mt(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function Pt(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 Ft(e){e=B(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])),Pt({type:s,values:c})}function It(e){e=B(e);let t=e.type===`hsl`||e.type===`hsla`?B(Ft(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 Lt(e,t){let n=It(e),r=It(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Rt(e,t){return e=B(e),t=At(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Pt(e)}function V(e,t,n){try{return Rt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function zt(e,t){if(e=B(e),t=At(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 Pt(e)}function H(e,t,n){try{return zt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Bt(e,t){if(e=B(e),t=At(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 Pt(e)}function U(e,t,n){try{return Bt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Vt(e,t=.15){return It(e)>.5?zt(e,t):Bt(e,t)}function Ht(e,t,n){try{return Vt(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var Ut={black:`#000`,white:`#fff`},Wt={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`},W={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`},G={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`},Gt={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`},K={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`},q={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`},J={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 Kt(){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:Ut.white,default:Ut.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 qt=Kt();function Jt(){return{text:{primary:Ut.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:Ut.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 Yt=Jt();function Xt(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=Bt(e.main,i):t===`dark`&&(e.dark=zt(e.main,a)))}function Zt(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 Qt(e=`light`){return e===`dark`?{main:K[200],light:K[50],dark:K[400]}:{main:K[700],light:K[400],dark:K[800]}}function $t(e=`light`){return e===`dark`?{main:W[200],light:W[50],dark:W[400]}:{main:W[500],light:W[300],dark:W[700]}}function en(e=`light`){return e===`dark`?{main:G[500],light:G[300],dark:G[700]}:{main:G[700],light:G[400],dark:G[800]}}function tn(e=`light`){return e===`dark`?{main:q[400],light:q[300],dark:q[700]}:{main:q[700],light:q[500],dark:q[900]}}function nn(e=`light`){return e===`dark`?{main:J[400],light:J[300],dark:J[700]}:{main:J[800],light:J[500],dark:J[900]}}function rn(e=`light`){return e===`dark`?{main:Gt[400],light:Gt[300],dark:Gt[700]}:{main:`#ed6c02`,light:Gt[500],dark:Gt[900]}}function an(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function on(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||Qt(t),s=e.secondary||$t(t),c=e.error||en(t),l=e.info||tn(t),u=e.success||nn(t),d=e.warning||rn(t);function f(e){if(i)return an(e);let t=Lt(e,Yt.text.primary)>=n?Yt.text.primary:qt.text.primary;if(process.env.NODE_ENV!==`production`){let n=Lt(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(`
7
+ `))}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
9
8
  Did you intend to use one of the following approaches?
10
9
 
11
10
  import { green } from "@mui/material/colors";
@@ -16,117 +15,14 @@ const theme1 = createTheme({ palette: {
16
15
 
17
16
  const theme2 = createTheme({ palette: {
18
17
  primary: { main: green[500] },
19
- } });`);return i?(aa(i,e,`light`,a,r),aa(i,e,`dark`,o,r)):(ia(e,`light`,a,r),ia(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=ea():t===`dark`&&(m=na()),process.env.NODE_ENV!==`production`&&(m||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),R({common:{...Ki},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:qi,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function ma(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 ha(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function ga(e){return Math.round(e*1e5)/1e5}var _a={textTransform:`uppercase`},va=`"Roboto", "Helvetica", "Arial", sans-serif`;function ya(e,t){let{fontFamily:n=va,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===va?{letterSpacing:`${ga(i/t)}em`}:{},...a,...l});return R({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,_a),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,_a),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var ba=.2,xa=.14,Sa=.12;function Z(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ba})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${xa})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Sa})`].join(`,`)}var Ca=[`none`,Z(0,2,1,-1,0,1,1,0,0,1,3,0),Z(0,3,1,-2,0,2,2,0,0,1,5,0),Z(0,3,3,-2,0,3,4,0,0,1,8,0),Z(0,2,4,-1,0,4,5,0,0,1,10,0),Z(0,3,5,-1,0,5,8,0,0,1,14,0),Z(0,3,5,-1,0,6,10,0,0,1,18,0),Z(0,4,5,-2,0,7,10,1,0,2,16,1),Z(0,5,5,-3,0,8,10,1,0,3,14,2),Z(0,5,6,-3,0,9,12,1,0,3,16,2),Z(0,6,6,-3,0,10,14,1,0,4,18,3),Z(0,6,7,-4,0,11,15,1,0,4,20,3),Z(0,7,8,-4,0,12,17,2,0,5,22,4),Z(0,7,8,-4,0,13,19,2,0,5,24,4),Z(0,7,9,-4,0,14,21,2,0,5,26,4),Z(0,8,9,-5,0,15,22,2,0,6,28,5),Z(0,8,10,-5,0,16,24,2,0,6,30,5),Z(0,8,11,-5,0,17,26,2,0,6,32,5),Z(0,9,11,-5,0,18,28,2,0,7,34,6),Z(0,9,12,-6,0,19,29,2,0,7,36,6),Z(0,10,13,-6,0,20,31,3,0,8,38,7),Z(0,10,13,-6,0,21,33,3,0,8,40,7),Z(0,10,14,-6,0,22,35,3,0,8,42,7),Z(0,11,14,-7,0,23,36,3,0,9,44,8),Z(0,11,15,-7,0,24,38,3,0,9,46,8)],wa={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)`},Ta={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ea(e){return`${Math.round(e)}ms`}function Da(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Oa(e){let t={...wa,...e.easing},n={...Ta,...e.duration};return{getAutoHeightDuration:Da,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(`
20
- `)),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:Ea(i)} ${a} ${typeof o==`string`?o:Ea(o)}`).join(`,`)},...e,easing:t,duration:n}}var ka={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Aa(e){return L(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function ja(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];!Aa(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:L(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
18
+ } });`);return i?(Zt(i,e,`light`,a,r),Zt(i,e,`dark`,o,r)):(Xt(e,`light`,a,r),Xt(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Kt():t===`dark`&&(m=Jt()),process.env.NODE_ENV!==`production`&&(m||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),M({common:{...Ut},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:Wt,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function sn(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]=sn(i[t],o[t],n)}}}else a===`className`&&n&&t.className!==void 0?r.className=ae(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}var cn=l.createContext(void 0);function ln({value:e,children:t}){return(0,f.jsx)(cn.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(ln.propTypes={children:k.default.node,value:k.default.object});function un(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?sn(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?sn(i,r,t.components.mergeClassNameAndStyle):r}function dn({props:e,name:t}){return un({props:e,name:t,theme:{components:l.useContext(cn)}})}var fn={borderRadius:4};function pn(e=8,t=Ye({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 mn(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 hn(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ee(n),c=pn(i),l=M({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...fn,...a}},o);return l=we(l),l.applyStyles=mn,l=t.reduce((e,t)=>M(e,t),l),l.unstable_sxConfig={...Ct,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Et({sx:e,theme:this})},l.internal_cache={},l}var gn=(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])})},_n=(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)},vn=(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 yn(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return _n(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=vn(e,t);Object.assign(i,{[r]:c}),gn(a,e,`var(${r})`,s),gn(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function bn(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}=yn(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=yn(n,t);p=M(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=yn(h,t);p=M(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=M(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 xn(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 Sn(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 Cn=e=>e,wn=(()=>{let e=Cn;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Cn}}})(),Tn={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 En(e,t,n=`Mui`){let r=Tn[t];return r?`${n}-${r}`:`${wn.generate(e)}-${t}`}function Dn(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function On(e){return Math.round(e*1e5)/1e5}var kn={textTransform:`uppercase`},An=`"Roboto", "Helvetica", "Arial", sans-serif`;function jn(e,t){let{fontFamily:n=An,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===An?{letterSpacing:`${On(i/t)}em`}:{},...a,...l});return M({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,kn),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,kn),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var Mn=.2,Nn=.14,Pn=.12;function Y(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Mn})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Nn})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Pn})`].join(`,`)}var Fn=[`none`,Y(0,2,1,-1,0,1,1,0,0,1,3,0),Y(0,3,1,-2,0,2,2,0,0,1,5,0),Y(0,3,3,-2,0,3,4,0,0,1,8,0),Y(0,2,4,-1,0,4,5,0,0,1,10,0),Y(0,3,5,-1,0,5,8,0,0,1,14,0),Y(0,3,5,-1,0,6,10,0,0,1,18,0),Y(0,4,5,-2,0,7,10,1,0,2,16,1),Y(0,5,5,-3,0,8,10,1,0,3,14,2),Y(0,5,6,-3,0,9,12,1,0,3,16,2),Y(0,6,6,-3,0,10,14,1,0,4,18,3),Y(0,6,7,-4,0,11,15,1,0,4,20,3),Y(0,7,8,-4,0,12,17,2,0,5,22,4),Y(0,7,8,-4,0,13,19,2,0,5,24,4),Y(0,7,9,-4,0,14,21,2,0,5,26,4),Y(0,8,9,-5,0,15,22,2,0,6,28,5),Y(0,8,10,-5,0,16,24,2,0,6,30,5),Y(0,8,11,-5,0,17,26,2,0,6,32,5),Y(0,9,11,-5,0,18,28,2,0,7,34,6),Y(0,9,12,-6,0,19,29,2,0,7,36,6),Y(0,10,13,-6,0,20,31,3,0,8,38,7),Y(0,10,13,-6,0,21,33,3,0,8,40,7),Y(0,10,14,-6,0,22,35,3,0,8,42,7),Y(0,11,14,-7,0,23,36,3,0,9,44,8),Y(0,11,15,-7,0,24,38,3,0,9,46,8)],In={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)`},Ln={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Rn(e){return`${Math.round(e)}ms`}function zn(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Bn(e){let t={...In,...e.easing},n={...Ln,...e.duration};return{getAutoHeightDuration:zn,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(`
19
+ `)),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:Rn(i)} ${a} ${typeof o==`string`?o:Rn(o)}`).join(`,`)},...e,easing:t,duration:n}}var Vn={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Hn(e){return j(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Un(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];!Hn(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:j(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
21
20
 
22
21
  const theme = ${JSON.stringify(t,null,2)};
23
22
 
24
23
  theme.breakpoints = createBreakpoints(theme.breakpoints || {});
25
24
  theme.transitions = createTransitions(theme.transitions || {});
26
25
 
27
- export default theme;`}function Ma(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Na=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 Pa(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})`:xi(t,Na(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Ma(n)})`:wi(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Ma(n)})`:Ci(t,n)}})}function Fa(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`?k(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=pa({...a,colorSpace:l}),f=Lr(e),p=R(f,{mixins:ha(f.breakpoints,r),palette:d,shadows:Ca.slice(),typography:ya(d,s),transitions:Oa(o),zIndex:{...ka}});if(p=R(p,u),p=t.reduce((e,t)=>R(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=Gr(``,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(`
28
- `))}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={...bt,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Ct({sx:e,theme:this})},p.toRuntimeSource=ja,Pa(p),p}function Ia(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var La=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Ia(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Ra(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function za(e){return e===`dark`?La:[]}function Ba(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=pa({...t,colorSpace:i});return{palette:o,opacity:{...Ra(o.mode),...n},overlays:r||za(o.mode),...a}}function Va(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 Ha=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Ua=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 Ha(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 Wa(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function Q(e,t,n){!e[t]&&n&&(e[t]=n)}function Ga(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:vi(e)}function Ka(e,t){`${t}Channel`in e||(e[`${t}Channel`]=gi(Ga(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().
29
- 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 qa(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Ja=e=>{try{return e()}catch{}},Ya=(e=`mui`)=>zi(e);function Xa(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Ba({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Fa({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Ra(a),...n?.opacity},overlays:n?.overlays||za(a)},s}function Za(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Va,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=Ya(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`?k(21,f):`MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`);let b;o&&(b=`oklch`);let x=Xa(b,v,y,u,f);h&&!v.light&&Xa(b,v,h,void 0,`light`),g&&!v.dark&&Xa(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...ma(x.typography),...x.font},spacing:qa(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`&&(Q(t.common,`background`,`#fff`),Q(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(Q(t.common,`background`,`#000`),Q(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===Si&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===Y&&(r=`#000 ${(n*100).toFixed(0)}%`),e===X&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(Wa(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){Q(t.Alert,`errorColor`,r(Y,o?p(`palette-error-light`):t.error.light,.6)),Q(t.Alert,`infoColor`,r(Y,o?p(`palette-info-light`):t.info.light,.6)),Q(t.Alert,`successColor`,r(Y,o?p(`palette-success-light`):t.success.light,.6)),Q(t.Alert,`warningColor`,r(Y,o?p(`palette-warning-light`):t.warning.light,.6)),Q(t.Alert,`errorFilledBg`,n(`palette-error-main`)),Q(t.Alert,`infoFilledBg`,n(`palette-info-main`)),Q(t.Alert,`successFilledBg`,n(`palette-success-main`)),Q(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),Q(t.Alert,`errorFilledColor`,Ja(()=>t.getContrastText(t.error.main))),Q(t.Alert,`infoFilledColor`,Ja(()=>t.getContrastText(t.info.main))),Q(t.Alert,`successFilledColor`,Ja(()=>t.getContrastText(t.success.main))),Q(t.Alert,`warningFilledColor`,Ja(()=>t.getContrastText(t.warning.main))),Q(t.Alert,`errorStandardBg`,r(X,o?p(`palette-error-light`):t.error.light,.9)),Q(t.Alert,`infoStandardBg`,r(X,o?p(`palette-info-light`):t.info.light,.9)),Q(t.Alert,`successStandardBg`,r(X,o?p(`palette-success-light`):t.success.light,.9)),Q(t.Alert,`warningStandardBg`,r(X,o?p(`palette-warning-light`):t.warning.light,.9)),Q(t.Alert,`errorIconColor`,n(`palette-error-main`)),Q(t.Alert,`infoIconColor`,n(`palette-info-main`)),Q(t.Alert,`successIconColor`,n(`palette-success-main`)),Q(t.Alert,`warningIconColor`,n(`palette-warning-main`)),Q(t.AppBar,`defaultBg`,n(`palette-grey-100`)),Q(t.Avatar,`defaultBg`,n(`palette-grey-400`)),Q(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),Q(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),Q(t.Chip,`defaultBorder`,n(`palette-grey-400`)),Q(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),Q(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),Q(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),Q(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),Q(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),Q(t.LinearProgress,`primaryBg`,r(X,o?p(`palette-primary-main`):t.primary.main,.62)),Q(t.LinearProgress,`secondaryBg`,r(X,o?p(`palette-secondary-main`):t.secondary.main,.62)),Q(t.LinearProgress,`errorBg`,r(X,o?p(`palette-error-main`):t.error.main,.62)),Q(t.LinearProgress,`infoBg`,r(X,o?p(`palette-info-main`):t.info.main,.62)),Q(t.LinearProgress,`successBg`,r(X,o?p(`palette-success-main`):t.success.main,.62)),Q(t.LinearProgress,`warningBg`,r(X,o?p(`palette-warning-light`):t.warning.main,.62)),Q(t.Skeleton,`bg`,b?r(Si,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),Q(t.Slider,`primaryTrack`,r(X,o?p(`palette-primary-main`):t.primary.main,.62)),Q(t.Slider,`secondaryTrack`,r(X,o?p(`palette-secondary-main`):t.secondary.main,.62)),Q(t.Slider,`errorTrack`,r(X,o?p(`palette-error-main`):t.error.main,.62)),Q(t.Slider,`infoTrack`,r(X,o?p(`palette-info-main`):t.info.main,.62)),Q(t.Slider,`successTrack`,r(X,o?p(`palette-success-main`):t.success.main,.62)),Q(t.Slider,`warningTrack`,r(X,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(Y,o?p(`palette-background-default`):t.background.default,.6825):Ei(t.background.default,.8);Q(t.SnackbarContent,`bg`,e),Q(t.SnackbarContent,`color`,Ja(()=>b?ra.text.primary:t.getContrastText(e))),Q(t.SpeedDialAction,`fabHoverBg`,Ei(t.background.paper,.15)),Q(t.StepConnector,`border`,n(`palette-grey-400`)),Q(t.StepContent,`border`,n(`palette-grey-400`)),Q(t.Switch,`defaultColor`,n(`palette-common-white`)),Q(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),Q(t.Switch,`primaryDisabledColor`,r(X,o?p(`palette-primary-main`):t.primary.main,.62)),Q(t.Switch,`secondaryDisabledColor`,r(X,o?p(`palette-secondary-main`):t.secondary.main,.62)),Q(t.Switch,`errorDisabledColor`,r(X,o?p(`palette-error-main`):t.error.main,.62)),Q(t.Switch,`infoDisabledColor`,r(X,o?p(`palette-info-main`):t.info.main,.62)),Q(t.Switch,`successDisabledColor`,r(X,o?p(`palette-success-main`):t.success.main,.62)),Q(t.Switch,`warningDisabledColor`,r(X,o?p(`palette-warning-main`):t.warning.main,.62)),Q(t.TableCell,`border`,r(X,Si(o?p(`palette-divider`):t.divider,1),.88)),Q(t.Tooltip,`bg`,r(Si,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){Q(t.Alert,`errorColor`,r(X,o?p(`palette-error-light`):t.error.light,.6)),Q(t.Alert,`infoColor`,r(X,o?p(`palette-info-light`):t.info.light,.6)),Q(t.Alert,`successColor`,r(X,o?p(`palette-success-light`):t.success.light,.6)),Q(t.Alert,`warningColor`,r(X,o?p(`palette-warning-light`):t.warning.light,.6)),Q(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),Q(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),Q(t.Alert,`successFilledBg`,n(`palette-success-dark`)),Q(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),Q(t.Alert,`errorFilledColor`,Ja(()=>t.getContrastText(t.error.dark))),Q(t.Alert,`infoFilledColor`,Ja(()=>t.getContrastText(t.info.dark))),Q(t.Alert,`successFilledColor`,Ja(()=>t.getContrastText(t.success.dark))),Q(t.Alert,`warningFilledColor`,Ja(()=>t.getContrastText(t.warning.dark))),Q(t.Alert,`errorStandardBg`,r(Y,o?p(`palette-error-light`):t.error.light,.9)),Q(t.Alert,`infoStandardBg`,r(Y,o?p(`palette-info-light`):t.info.light,.9)),Q(t.Alert,`successStandardBg`,r(Y,o?p(`palette-success-light`):t.success.light,.9)),Q(t.Alert,`warningStandardBg`,r(Y,o?p(`palette-warning-light`):t.warning.light,.9)),Q(t.Alert,`errorIconColor`,n(`palette-error-main`)),Q(t.Alert,`infoIconColor`,n(`palette-info-main`)),Q(t.Alert,`successIconColor`,n(`palette-success-main`)),Q(t.Alert,`warningIconColor`,n(`palette-warning-main`)),Q(t.AppBar,`defaultBg`,n(`palette-grey-900`)),Q(t.AppBar,`darkBg`,n(`palette-background-paper`)),Q(t.AppBar,`darkColor`,n(`palette-text-primary`)),Q(t.Avatar,`defaultBg`,n(`palette-grey-600`)),Q(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),Q(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),Q(t.Chip,`defaultBorder`,n(`palette-grey-700`)),Q(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),Q(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),Q(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),Q(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),Q(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),Q(t.LinearProgress,`primaryBg`,r(Y,o?p(`palette-primary-main`):t.primary.main,.5)),Q(t.LinearProgress,`secondaryBg`,r(Y,o?p(`palette-secondary-main`):t.secondary.main,.5)),Q(t.LinearProgress,`errorBg`,r(Y,o?p(`palette-error-main`):t.error.main,.5)),Q(t.LinearProgress,`infoBg`,r(Y,o?p(`palette-info-main`):t.info.main,.5)),Q(t.LinearProgress,`successBg`,r(Y,o?p(`palette-success-main`):t.success.main,.5)),Q(t.LinearProgress,`warningBg`,r(Y,o?p(`palette-warning-main`):t.warning.main,.5)),Q(t.Skeleton,`bg`,b?r(Si,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),Q(t.Slider,`primaryTrack`,r(Y,o?p(`palette-primary-main`):t.primary.main,.5)),Q(t.Slider,`secondaryTrack`,r(Y,o?p(`palette-secondary-main`):t.secondary.main,.5)),Q(t.Slider,`errorTrack`,r(Y,o?p(`palette-error-main`):t.error.main,.5)),Q(t.Slider,`infoTrack`,r(Y,o?p(`palette-info-main`):t.info.main,.5)),Q(t.Slider,`successTrack`,r(Y,o?p(`palette-success-main`):t.success.main,.5)),Q(t.Slider,`warningTrack`,r(Y,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(X,o?p(`palette-background-default`):t.background.default,.985):Ei(t.background.default,.98);Q(t.SnackbarContent,`bg`,e),Q(t.SnackbarContent,`color`,Ja(()=>b?ta.text.primary:t.getContrastText(e))),Q(t.SpeedDialAction,`fabHoverBg`,Ei(t.background.paper,.15)),Q(t.StepConnector,`border`,n(`palette-grey-600`)),Q(t.StepContent,`border`,n(`palette-grey-600`)),Q(t.Switch,`defaultColor`,n(`palette-grey-300`)),Q(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),Q(t.Switch,`primaryDisabledColor`,r(Y,o?p(`palette-primary-main`):t.primary.main,.55)),Q(t.Switch,`secondaryDisabledColor`,r(Y,o?p(`palette-secondary-main`):t.secondary.main,.55)),Q(t.Switch,`errorDisabledColor`,r(Y,o?p(`palette-error-main`):t.error.main,.55)),Q(t.Switch,`infoDisabledColor`,r(Y,o?p(`palette-info-main`):t.info.main,.55)),Q(t.Switch,`successDisabledColor`,r(Y,o?p(`palette-success-main`):t.success.main,.55)),Q(t.Switch,`warningDisabledColor`,r(Y,o?p(`palette-warning-light`):t.warning.main,.55)),Q(t.TableCell,`border`,r(Y,Si(o?p(`palette-divider`):t.divider,1),.68)),Q(t.Tooltip,`bg`,r(Si,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Ka(t.background,`default`),Ka(t.background,`paper`),Ka(t.common,`background`),Ka(t.common,`onBackground`),Ka(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&Q(t[e],`mainChannel`,gi(Ga(n.main))),n.light&&Q(t[e],`lightChannel`,gi(Ga(n.light))),n.dark&&Q(t[e],`darkChannel`,gi(Ga(n.dark))),n.contrastText&&Q(t[e],`contrastTextChannel`,gi(Ga(n.contrastText))),e===`text`&&(Ka(t[e],`primary`),Ka(t[e],`secondary`)),e===`action`&&(n.active&&Ka(t[e],`active`),n.selected&&Ka(t[e],`selected`)))})}),S=t.reduce((e,t)=>R(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Ua(S),enableContrastVars:o},{vars:w,generateThemeVars:ee,generateStyleSheets:T}=Wi(S,C);return S.vars=w,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=ee,S.generateStyleSheets=T,S.generateSpacing=function(){return Fr(u.spacing,He(this))},S.getColorSchemeSelector=Gi(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...bt,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Ct({sx:e,theme:this})},S.internal_cache={},S.toRuntimeSource=ja,S}function Qa(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:pa({...n===!0?{}:n.palette,mode:t})})}function $a(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 Fa(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Fa({...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},Qa(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Qa(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Za({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var eo=$a(),to=`$$material`;function no(){let e=Vr(eo);return process.env.NODE_ENV!==`production`&&u.useDebugValue(e),e.$$material||e}function ro(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var io=e=>ro(e)&&e!==`classes`,$=ii({themeId:to,defaultTheme:eo,rootShouldForwardProp:io}),ao=Ri;function oo(e){return(0,d.jsx)(Ai,{...e})}process.env.NODE_ENV!==`production`&&(oo.propTypes={children:P.default.node,value:P.default.object.isRequired});function so(e){return Mi(e)}function co(e){return Gr(`MuiSvgIcon`,e)}Kr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var lo=e=>{let{color:t,fontSize:n,classes:r}=e;return O({root:[`root`,t!==`inherit`&&`color${j(t)}`,`fontSize${j(n)}`]},co,r)},uo=$(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${j(n.color)}`],t[`fontSize${j(n.fontSize)}`]]}})(ao(({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}}]}))),fo=u.forwardRef(function(e,t){let n=so({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:f,viewBox:p=`0 0 24 24`,...m}=n,h=u.isValidElement(r)&&r.type===`svg`,g={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:p,hasSvgAsChild:h},_={};return l||(_.viewBox=p),(0,d.jsxs)(uo,{as:o,className:D(lo(g).root,i),focusable:`false`,color:c,"aria-hidden":f?void 0:!0,role:f?`img`:void 0,ref:t,..._,...m,...h&&r.props,ownerState:g,children:[h?r.props.children:r,f?(0,d.jsx)(`title`,{children:f}):null]})});process.env.NODE_ENV!==`production`&&(fo.propTypes={children:P.default.node,classes:P.default.object,className:P.default.string,color:P.default.oneOfType([P.default.oneOf([`inherit`,`action`,`disabled`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),P.default.string]),component:P.default.elementType,fontSize:P.default.oneOfType([P.default.oneOf([`inherit`,`large`,`medium`,`small`]),P.default.string]),htmlColor:P.default.string,inheritViewBox:P.default.bool,shapeRendering:P.default.string,sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object]),titleAccess:P.default.string,viewBox:P.default.string}),fo.muiName=`SvgIcon`;function po(e,t){function n(n,r){return(0,d.jsx)(fo,{"data-testid":process.env.NODE_ENV===`production`?void 0:`${t}Icon`,ref:r,...n,children:e})}return process.env.NODE_ENV!==`production`&&(n.displayName=`${t}Icon`),n.muiName=fo.muiName,u.memo(u.forwardRef(n))}var mo=po((0,d.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 ho(e){return e&&e.ownerDocument||document}var go=Ii;function _o(e){let t=u.useRef(e);return ui(()=>{t.current=e}),u.useRef((...e)=>(0,t.current)(...e)).current}var vo=_o;function yo(...e){let t=u.useRef(void 0),n=u.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 u.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}var bo=yo;function xo(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function So(e,t){return process.env.NODE_ENV===`production`?()=>null:function(...n){return e(...n)||t(...n)}}function Co(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 wo(e,t){return wo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wo(e,t)}function To(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wo(e,t)}var Eo={disabled:!1},Do=process.env.NODE_ENV===`production`?null:P.default.oneOfType([P.default.number,P.default.shape({enter:P.default.number,exit:P.default.number,appear:P.default.number}).isRequired]);process.env.NODE_ENV===`production`||P.default.oneOfType([P.default.string,P.default.shape({enter:P.default.string,exit:P.default.string,active:P.default.string}),P.default.shape({enter:P.default.string,enterDone:P.default.string,enterActive:P.default.string,exit:P.default.string,exitDone:P.default.string,exitActive:P.default.string})]);var Oo=l.default.createContext(null),ko=function(e){return e.scrollTop},Ao=`unmounted`,jo=`exited`,Mo=`entering`,No=`entered`,Po=`exiting`,Fo=function(e){To(t,e);function t(t,n){var r=e.call(this,t,n)||this,i=n,a=i&&!i.isMounting?t.enter:t.appear,o;return r.appearStatus=null,t.in?a?(o=jo,r.appearStatus=Mo):o=No:o=t.unmountOnExit||t.mountOnEnter?Ao:jo,r.state={status:o},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===`unmounted`?{status:jo}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==`entering`&&n!==`entered`&&(t=Mo):(n===`entering`||n===`entered`)&&(t=Po)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=n=r=e,n,r;return e!=null&&typeof e!=`number`&&(t=e.exit,n=e.enter,r=e.appear===void 0?n:e.appear),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null)if(this.cancelNextCallback(),t===`entering`){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:f.default.findDOMNode(this);n&&ko(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===`exited`&&this.setState({status:Ao})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[f.default.findDOMNode(this),r],a=i[0],o=i[1],s=this.getTimeouts(),c=r?s.appear:s.enter;if(!e&&!n||Eo.disabled){this.safeSetState({status:No},function(){t.props.onEntered(a)});return}this.props.onEnter(a,o),this.safeSetState({status:Mo},function(){t.props.onEntering(a,o),t.onTransitionEnd(c,function(){t.safeSetState({status:No},function(){t.props.onEntered(a,o)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:f.default.findDOMNode(this);if(!t||Eo.disabled){this.safeSetState({status:jo},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:Po},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:jo},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:f.default.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],o=i[1];this.props.addEndListener(a,o)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===`unmounted`)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=Co(t,[`children`,`in`,`mountOnEnter`,`unmountOnExit`,`appear`,`enter`,`exit`,`timeout`,`addEndListener`,`onEnter`,`onEntering`,`onEntered`,`onExit`,`onExiting`,`onExited`,`nodeRef`]);return l.default.createElement(Oo.Provider,{value:null},typeof n==`function`?n(e,r):l.default.cloneElement(l.default.Children.only(n),r))},t}(l.default.Component);Fo.contextType=Oo,Fo.propTypes=process.env.NODE_ENV===`production`?{}:{nodeRef:P.default.shape({current:typeof Element>`u`?P.default.any:function(e,t,n,r,i,a){var o=e[t];return P.default.instanceOf(o&&`ownerDocument`in o?o.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,a)}}),children:P.default.oneOfType([P.default.func.isRequired,P.default.element.isRequired]).isRequired,in:P.default.bool,mountOnEnter:P.default.bool,unmountOnExit:P.default.bool,appear:P.default.bool,enter:P.default.bool,exit:P.default.bool,timeout:function(e){var t=Do;e.addEndListener||(t=t.isRequired);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.apply(void 0,[e].concat(r))},addEndListener:P.default.func,onEnter:P.default.func,onEntering:P.default.func,onEntered:P.default.func,onExit:P.default.func,onExiting:P.default.func,onExited:P.default.func};function Io(){}Fo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Io,onEntering:Io,onEntered:Io,onExit:Io,onExiting:Io,onExited:Io},Fo.UNMOUNTED=Ao,Fo.EXITED=jo,Fo.ENTERING=Mo,Fo.ENTERED=No,Fo.EXITING=Po;function Lo(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function Ro(e,t){var n=function(e){return t&&(0,l.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&l.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function zo(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 Bo(e,t,n){return n[t]==null?e.props[t]:n[t]}function Vo(e,t){return Ro(e.children,function(n){return(0,l.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:Bo(n,`appear`,e),enter:Bo(n,`enter`,e),exit:Bo(n,`exit`,e)})})}function Ho(e,t,n){var r=Ro(e.children),i=zo(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,l.isValidElement)(o)){var s=a in t,c=a in r,u=t[a],d=(0,l.isValidElement)(u)&&!u.props.in;c&&(!s||d)?i[a]=(0,l.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:Bo(o,`exit`,e),enter:Bo(o,`enter`,e)}):!c&&s&&!d?i[a]=(0,l.cloneElement)(o,{in:!1}):c&&s&&(0,l.isValidElement)(u)&&(i[a]=(0,l.cloneElement)(o,{onExited:n.bind(null,o),in:u.props.in,exit:Bo(o,`exit`,e),enter:Bo(o,`enter`,e)}))}}),i}var Uo=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Wo={component:`div`,childFactory:function(e){return e}},Go=function(e){To(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(Lo(r)),firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?Vo(e,r):Ho(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=Ro(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=Et({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Co(e,[`component`,`childFactory`]),i=this.state.contextValue,a=Uo(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?l.default.createElement(Oo.Provider,{value:i},a):l.default.createElement(Oo.Provider,{value:i},l.default.createElement(t,r,a))},t}(l.default.Component);Go.propTypes=process.env.NODE_ENV===`production`?{}:{component:P.default.any,children:P.default.node,appear:P.default.bool,enter:P.default.bool,exit:P.default.bool,childFactory:P.default.func},Go.defaultProps=Wo;var Ko={};function qo(e,t){let n=u.useRef(Ko);return n.current===Ko&&(n.current=e(t)),n}var Jo=[];function Yo(e){u.useEffect(e,Jo)}var Xo=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 Zo(){let e=qo(Xo.create).current;return Yo(e.disposeEffect),e}function Qo(e){let{prototype:t={}}=e;return!!t.isReactComponent}function $o(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`&&!Qo(a)&&(s=`Did you accidentally provide a plain function component instead?`),a===u.Fragment&&(s=`Did you accidentally provide a React.Fragment 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 es=So(P.default.elementType,$o),ts=e=>e.scrollTop;function ns(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function rs(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function is(e,t){let{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function as(e){return typeof e==`string`}function os(e,t,n){return e===void 0||as(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function ss(e,t,n){return typeof e==`function`?e(t,n):e}function cs(e){if(e===void 0)return{};let t={};for(let n of Object.keys(e))xo(n,e[n])&&(t[n]=e[n]);return t}function ls(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function us(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=D(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=cs({...i,...r}),s=ls(r),c=ls(i),l=t(o),u=D(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function ds(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=ss(d[e],i),{props:{component:h,...g},internalRef:_}=us({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=yo(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,os(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}function fs(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`NaN`:Number.isFinite(e)?e===Math.floor(e)?`number`:`float`:`Infinity`;case`object`:return e===null?`null`:e.constructor.name;default:return t}}function ps(e,t,n,r){let i=e[t];if(i==null||!Number.isInteger(i)){let e=fs(i);return RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function ms(e,t,n,r){return e[t]===void 0?null:ps(e,t,n,r)}function hs(){return null}ms.isRequired=ps,hs.isRequired=hs;var gs=process.env.NODE_ENV===`production`?hs:ms;function _s(e){return Gr(`MuiPaper`,e)}Kr(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var vs=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return O({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},_s,i)},ys=$(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(ao(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create(`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),bs=u.forwardRef(function(e,t){let n=so({props:e,name:`MuiPaper`}),r=no(),{className:i,component:a=`div`,elevation:o=1,square:s=!1,variant:c=`elevation`,...l}=n,u={...n,component:a,elevation:o,square:s,variant:c},f=vs(u);return process.env.NODE_ENV!==`production`&&r.shadows[o]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${o}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${o}]\` is defined.`].join(`
30
- `)),(0,d.jsx)(ys,{as:a,ownerState:u,className:D(f.root,i),ref:t,...l,style:{...c===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[o],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[o]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${xi(`#fff`,Ia(o))}, ${xi(`#fff`,Ia(o))})`}},...l.style}})});process.env.NODE_ENV!==`production`&&(bs.propTypes={children:P.default.node,classes:P.default.object,className:P.default.string,component:P.default.elementType,elevation:So(gs,e=>{let{elevation:t,variant:n}=e;return t>0&&n===`outlined`?Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:P.default.bool,style:P.default.object,sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object]),variant:P.default.oneOfType([P.default.oneOf([`elevation`,`outlined`]),P.default.string])});var xs=P.default.oneOfType([P.default.func,P.default.object]);function Ss(e){try{return e.matches(`:focus-visible`)}catch{process.env.NODE_ENV!==`production`&&!window.navigator.userAgent.includes(`jsdom`)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.",`Some components rely on this feature to work properly.`].join(`
31
- `))}return!1}function Cs(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,s=r&&t===!1;return u.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||s)&&(e.disabled=n),e},[r,n,t,o,s,a,i])}var ws={};function Ts(e){let{nativeButton:t,nativeButtonProp:n,internalNativeButton:r=t,allowInferredHostMismatch:i=!1,disabled:a,type:o,hasFormAction:s=!1,tabIndex:c=0,focusableWhenDisabled:l,stopEventPropagation:d=!1,onBeforeKeyDown:f,onBeforeKeyUp:p}=e,m=u.useRef(null),h=l===!0,g=Cs({focusableWhenDisabled:h,disabled:a,isNativeButton:t,tabIndex:c});process.env.NODE_ENV!==`production`&&u.useEffect(()=>{let e=m.current;if(e==null)return;let t=e.tagName===`BUTTON`;if(n!==void 0){n&&!t&&console.error("MUI: A component that acts as a button expected a native <button> because the `nativeButton` prop is true. Rendering a non-<button> removes native button semantics, which can impact forms and accessibility. Render a real <button> or set `nativeButton` to `false`."),!n&&t&&console.error("MUI: A component that acts as a button expected a non-<button> because the `nativeButton` prop is false. Rendering a <button> keeps native behavior while additionally applies non-native attributes and handlers, which can add unintended extra attributes (such as `role` or `aria-disabled`). Render a non-<button> such as <div>, or set `nativeButton` to `true`.");return}i||(r&&!t&&console.error("MUI: A component rendering a native <button> resolved to a non-<button> element, but `nativeButton={false}` was not specified and the resolved root is a non-<button>. When rendering a custom component, set `nativeButton={false}` explicitly or render a <button> element."),!r&&t&&console.error("MUI: A component that acts as a non-native button resolved to a native <button> element, but `nativeButton={true}` was not specified. When rendering a custom component, set `nativeButton={true}` explicitly or render a non-<button> element."))},[i,r,n]);let _=u.useCallback(()=>{let e=m.current;return e==null?t:e.tagName===`BUTTON`?!0:!!(e.tagName===`A`&&e.href)},[t]),v=u.useMemo(()=>{let e=h?{}:{tabIndex:a?-1:c};return t?(e.type=o===void 0&&!s?`button`:o,h||(e.disabled=a)):(e.role=`button`,!h&&a&&(e[`aria-disabled`]=a)),h?{...e,...g}:e},[a,h,g,s,t,c,o]);return{getButtonProps:u.useCallback((e=ws)=>{let{onClick:t,onKeyDown:n,onKeyUp:r,...i}=e,o=e=>{if(d&&e.stopPropagation(),a){e.preventDefault();return}t?.(e)},s=e=>{if(h&&g.onKeyDown(e),!a&&(f?.(e),n?.(e),!(e.target!==e.currentTarget||_()))){if(e.key===` `){e.preventDefault();return}e.key===`Enter`&&(e.preventDefault(),e.currentTarget.click())}},c=e=>{a||(p?.(e),r?.(e),e.target===e.currentTarget&&!_()&&e.key===` `&&!e.defaultPrevented&&e.currentTarget.click())};return{...v,...i,onClick:o,onKeyDown:s,onKeyUp:c}},[v,a,h,g,_,f,p,d]),rootRef:m}}var Es=class e{static create(){return new e}static use(){let t=qo(e.create).current,[n,r]=u.useState(!1);return t.shouldMount=n,t.setShouldMount=r,u.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Os(),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 Ds(){return Es.use()}function Os(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function ks(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[f,p]=u.useState(!1),m=D(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},g=D(n.child,f&&n.childLeaving,r&&n.childPulsate);return!s&&!f&&p(!0),u.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,d.jsx)(`span`,{className:m,style:h,children:(0,d.jsx)(`span`,{className:g})})}process.env.NODE_ENV!==`production`&&(ks.propTypes={classes:P.default.object.isRequired,className:P.default.string,in:P.default.bool,onExited:P.default.func,pulsate:P.default.bool,rippleSize:P.default.number,rippleX:P.default.number,rippleY:P.default.number,timeout:P.default.number.isRequired});var As=Kr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),js=550,Ms=vr`
32
- 0% {
33
- transform: scale(0);
34
- opacity: 0.1;
35
- }
36
-
37
- 100% {
38
- transform: scale(1);
39
- opacity: 0.3;
40
- }
41
- `,Ns=vr`
42
- 0% {
43
- opacity: 1;
44
- }
45
-
46
- 100% {
47
- opacity: 0;
48
- }
49
- `,Ps=vr`
50
- 0% {
51
- transform: scale(1);
52
- }
53
-
54
- 50% {
55
- transform: scale(0.92);
56
- }
57
-
58
- 100% {
59
- transform: scale(1);
60
- }
61
- `,Fs=$(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Is=$(ks,{name:`MuiTouchRipple`,slot:`Ripple`})`
62
- opacity: 0;
63
- position: absolute;
64
-
65
- &.${As.rippleVisible} {
66
- opacity: 0.3;
67
- transform: scale(1);
68
- animation-name: ${Ms};
69
- animation-duration: ${js}ms;
70
- animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
71
- }
72
-
73
- &.${As.ripplePulsate} {
74
- animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
75
- }
76
-
77
- & .${As.child} {
78
- opacity: 1;
79
- display: block;
80
- width: 100%;
81
- height: 100%;
82
- border-radius: 50%;
83
- background-color: currentColor;
84
- }
85
-
86
- & .${As.childLeaving} {
87
- opacity: 0;
88
- animation-name: ${Ns};
89
- animation-duration: ${js}ms;
90
- animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
91
- }
92
-
93
- & .${As.childPulsate} {
94
- position: absolute;
95
- /* @noflip */
96
- left: 0px;
97
- top: 0;
98
- animation-name: ${Ps};
99
- animation-duration: 2500ms;
100
- animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
101
- animation-iteration-count: infinite;
102
- animation-delay: 200ms;
103
- }
104
- `,Ls=u.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=so({props:e,name:`MuiTouchRipple`}),[o,s]=u.useState([]),c=u.useRef(0),l=u.useRef(null);u.useEffect(()=>{l.current&&=(l.current(),null)},[o]);let f=u.useRef(!1),p=Zo(),m=u.useRef(null),h=u.useRef(null),g=u.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,d.jsx)(Is,{classes:{ripple:D(r.ripple,As.ripple),rippleVisible:D(r.rippleVisible,As.rippleVisible),ripplePulsate:D(r.ripplePulsate,As.ripplePulsate),child:D(r.child,As.child),childLeaving:D(r.childLeaving,As.childLeaving),childPulsate:D(r.childPulsate,As.childPulsate)},timeout:js,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),_=u.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&f.current){f.current=!1;return}e?.type===`touchstart`&&(f.current=!0);let s=o?null:h.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,u,d;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)d=Math.sqrt((2*c.width**2+c.height**2)/3),d%2==0&&(d+=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;d=Math.sqrt(e**2+t**2)}e?.touches?m.current===null&&(m.current=()=>{g({pulsate:i,rippleX:l,rippleY:u,rippleSize:d,cb:r})},p.start(80,()=>{m.current&&=(m.current(),null)})):g({pulsate:i,rippleX:l,rippleY:u,rippleSize:d,cb:r})},[n,g,p]),v=u.useCallback(()=>{_({},{pulsate:!0})},[_]),y=u.useCallback((e,t)=>{if(p.clear(),e?.type===`touchend`&&m.current){m.current(),m.current=null,p.start(0,()=>{y(e,t)});return}m.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[p]);return u.useImperativeHandle(t,()=>({pulsate:v,start:_,stop:y}),[v,_,y]),(0,d.jsx)(Fs,{className:D(As.root,r.root,i),ref:h,...a,children:(0,d.jsx)(Go,{component:null,exit:!0,children:o})})});process.env.NODE_ENV!==`production`&&(Ls.propTypes={center:P.default.bool,classes:P.default.object,className:P.default.string});function Rs(e){return Gr(`MuiButtonBase`,e)}var zs=Kr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Bs=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,suppressFocusVisible:i,classes:a}=e,o=O({root:[`root`,t&&`disabled`,n&&!i&&`focusVisible`]},Rs,a);return n&&!i&&r&&(o.root+=` ${r}`),o},Vs=$(`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`},[`&.${zs.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Hs=u.forwardRef(function(e,t){let n=so({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:f=!1,focusRipple:p=!1,focusVisibleClassName:m,focusableWhenDisabled:h,suppressFocusVisible:g=!1,internalNativeButton:_,LinkComponent:v=`a`,nativeButton:y,onBlur:b,onClick:x,onContextMenu:S,onDragLeave:C,onFocus:w,onFocusVisible:ee,onKeyDown:T,onKeyUp:E,onMouseDown:O,onMouseLeave:k,onMouseUp:A,onTouchEnd:j,onTouchMove:M,onTouchStart:te,tabIndex:ne=0,TouchRippleProps:re,touchRippleRef:ie,type:ae,...oe}=n,N=!!(oe.href||oe.to),se=!!oe.formAction,P=s;P===`button`&&N&&(P=v);let ce=typeof P==`string`?P===`button`:_??!1,le=y??ce,F=Ds(),ue=bo(F.ref,ie),[I,L]=u.useState(!1);(c||g)&&I&&L(!1);let de=vo(e=>{p&&!e.repeat&&I&&e.key===` `&&F.stop(e,()=>{F.start(e)})}),R=vo(e=>{p&&e.key===` `&&I&&!e.defaultPrevented&&F.stop(e,()=>{F.pulsate(e)})}),{getButtonProps:fe,rootRef:pe}=Ts({nativeButton:le,nativeButtonProp:y,internalNativeButton:ce,allowInferredHostMismatch:N||typeof P==`string`,disabled:c,type:ae,hasFormAction:se,tabIndex:ne,onBeforeKeyDown:de,onBeforeKeyUp:R}),{onClick:me,onKeyDown:he,onKeyUp:ge,..._e}=fe({onClick:x,onKeyDown:T,onKeyUp:E});u.useImperativeHandle(r,()=>({focusVisible:()=>{L(!0),pe.current.focus()}}),[pe]);let ve=F.shouldMount&&!l&&!c;u.useEffect(()=>{I&&p&&!l&&F.pulsate()},[l,p,I,F]);let ye=Us(F,`start`,O,f),be=Us(F,`stop`,S,f),xe=Us(F,`stop`,C,f),Se=Us(F,`stop`,A,f),Ce=Us(F,`stop`,e=>{I&&e.preventDefault(),k&&k(e)},f),we=Us(F,`start`,te,f),Te=Us(F,`stop`,j,f),Ee=Us(F,`stop`,M,f),De=Us(F,`stop`,e=>{Ss(e.target)||L(!1),b&&b(e)},!1),Oe=vo(e=>{pe.current||=e.currentTarget,!g&&Ss(e.target)&&(L(!0),ee&&ee(e)),w&&w(e)}),ke={};N&&(ke.tabIndex=c?-1:ne,c&&(ke[`aria-disabled`]=c),ke.type=ae);let Ae=bo(t,pe),je={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:f,focusRipple:p,suppressFocusVisible:g,tabIndex:ne,focusVisible:I},Me=Bs(je);return(0,d.jsxs)(Vs,{as:P,className:D(Me.root,o),ownerState:je,onBlur:De,onClick:me,onContextMenu:be,onFocus:Oe,onKeyDown:he,onKeyUp:ge,onMouseDown:ye,onMouseLeave:Ce,onMouseUp:Se,onDragLeave:xe,onTouchEnd:Te,onTouchMove:Ee,onTouchStart:we,ref:Ae,...N?ke:_e,...oe,children:[a,ve?(0,d.jsx)(Ls,{ref:ue,center:i,...re}):null]})});function Us(e,t,n,r=!1){return vo(i=>(n&&n(i),r||e[t](i),!0))}process.env.NODE_ENV!==`production`&&(Hs.propTypes={action:xs,centerRipple:P.default.bool,children:P.default.node,classes:P.default.object,className:P.default.string,component:es,disabled:P.default.bool,disableRipple:P.default.bool,disableTouchRipple:P.default.bool,focusRipple:P.default.bool,focusVisibleClassName:P.default.string,formAction:P.default.oneOfType([P.default.func,P.default.string]),href:P.default.any,LinkComponent:P.default.elementType,nativeButton:P.default.bool,onBlur:P.default.func,onClick:P.default.func,onContextMenu:P.default.func,onDragLeave:P.default.func,onFocus:P.default.func,onFocusVisible:P.default.func,onKeyDown:P.default.func,onKeyUp:P.default.func,onMouseDown:P.default.func,onMouseLeave:P.default.func,onMouseUp:P.default.func,onTouchEnd:P.default.func,onTouchMove:P.default.func,onTouchStart:P.default.func,sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object]),tabIndex:P.default.number,TouchRippleProps:P.default.object,touchRippleRef:P.default.oneOfType([P.default.func,P.default.shape({current:P.default.shape({pulsate:P.default.func.isRequired,start:P.default.func.isRequired,stop:P.default.func.isRequired})})]),type:P.default.string});function Ws(e){return typeof e.main==`string`}function Gs(e,t=[]){if(!Ws(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function Ks(e=[]){return([,t])=>t&&Gs(t,e)}function qs(e){return Gr(`MuiAlert`,e)}var Js=Kr(`MuiAlert`,[`root`,`action`,`icon`,`message`,`filled`,`colorSuccess`,`colorInfo`,`colorWarning`,`colorError`,`outlined`,`standard`]);function Ys(e){return Gr(`MuiCircularProgress`,e)}Kr(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDisableShrink`]);var Xs=44,Zs=vr`
105
- 0% {
106
- transform: rotate(0deg);
107
- }
108
-
109
- 100% {
110
- transform: rotate(360deg);
111
- }
112
- `,Qs=vr`
113
- 0% {
114
- stroke-dasharray: 1px, 200px;
115
- stroke-dashoffset: 0;
116
- }
117
-
118
- 50% {
119
- stroke-dasharray: 100px, 200px;
120
- stroke-dashoffset: -15px;
121
- }
122
-
123
- 100% {
124
- stroke-dasharray: 1px, 200px;
125
- stroke-dashoffset: -126px;
126
- }
127
- `,$s=typeof Zs==`string`?null:_r`
128
- animation: ${Zs} 1.4s linear infinite;
129
- `,ec=typeof Qs==`string`?null:_r`
130
- animation: ${Qs} 1.4s ease-in-out infinite;
131
- `,tc=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return O({root:[`root`,n,`color${j(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,i&&`circleDisableShrink`]},Ys,t)},nc=$(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${j(n.color)}`]]}})(ao(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:$s||{animation:`${Zs} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Ks()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),rc=$(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),ic=$(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,n.disableShrink&&t.circleDisableShrink]}})(ao(({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:ec||{animation:`${Qs} 1.4s ease-in-out infinite`}}]}))),ac=$(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(ao(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),oc=u.forwardRef(function(e,t){let n=so({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,enableTrackSlot:o=!1,min:s,max:c,size:l=40,style:u,thickness:f=3.6,value:p=n.min??0,variant:m=`indeterminate`,...h}=n;process.env.NODE_ENV!==`production`&&m===`indeterminate`&&(s!==void 0||c!==void 0)&&console.warn("MUI: You have provided the `min` or `max` props with an 'indeterminate' variant. These props will have no effect.");let g=s??0,_=c??100,v={...n,color:i,disableShrink:a,size:l,thickness:f,value:p,variant:m,enableTrackSlot:o},y=tc(v),b={},x={},S={};if(m===`determinate`){let e=2*Math.PI*((Xs-f)/2);process.env.NODE_ENV!==`production`&&(p<g||p>_||g>=_)&&console.error(`MUI: The min, max, and value props in CircularProgress should be numbers where min < max and min <= value <= max. Received min=${g}, max=${_}, value=${p}.`);let t=_-g;b.strokeDasharray=e.toFixed(3),b.strokeDashoffset=t>0?`${((_-p)/t*e).toFixed(3)}px`:`${e.toFixed(3)}px`,x.transform=`rotate(-90deg)`,S[`aria-valuenow`]=p,S[`aria-valuemin`]=g,S[`aria-valuemax`]=_}return(0,d.jsx)(nc,{className:D(y.root,r),style:{width:l,height:l,...x,...u},ownerState:v,ref:t,role:`progressbar`,...S,...h,children:(0,d.jsxs)(rc,{className:y.svg,ownerState:v,viewBox:`${Xs/2} ${Xs/2} ${Xs} ${Xs}`,children:[o?(0,d.jsx)(ac,{className:y.track,ownerState:v,cx:Xs,cy:Xs,r:(Xs-f)/2,fill:`none`,strokeWidth:f,"aria-hidden":`true`}):null,(0,d.jsx)(ic,{className:y.circle,style:b,ownerState:v,cx:Xs,cy:Xs,r:(Xs-f)/2,fill:`none`,strokeWidth:f})]})})});process.env.NODE_ENV!==`production`&&(oc.propTypes={classes:P.default.object,className:P.default.string,color:P.default.oneOfType([P.default.oneOf([`inherit`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),P.default.string]),disableShrink:So(P.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),enableTrackSlot:P.default.bool,max:P.default.number,min:P.default.number,size:P.default.oneOfType([P.default.number,P.default.string]),style:P.default.object,sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object]),thickness:P.default.number,value:P.default.number,variant:P.default.oneOf([`determinate`,`indeterminate`])});function sc(e){return Gr(`MuiIconButton`,e)}var cc=Kr(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`loading`,`loadingIndicator`,`loadingWrapper`]),lc=e=>{let{classes:t,disabled:n,color:r,edge:i,size:a,loading:o}=e;return O({root:[`root`,o&&`loading`,n&&`disabled`,r!==`default`&&`color${j(r)}`,i&&`edge${j(i)}`,`size${j(a)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},sc,t)},uc=$(Hs,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!==`default`&&t[`color${j(n.color)}`],n.edge&&t[`edge${j(n.edge)}`],t[`size${j(n.size)}`]]}})(ao(({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.alpha((e.vars||e).palette.action.active,(e.vars||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}}]})),ao(({theme:e})=>({variants:[{props:{color:`inherit`},style:{color:`inherit`}},...Object.entries(e.palette).filter(Ks()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main,"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||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)}}],[`&.${cc.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled},[`&.${cc.loading}`]:{color:`transparent`}}))),dc=$(`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`}}]})),fc=u.forwardRef(function(e,t){let n=so({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:f=null,loadingIndicator:p,...m}=n,h=go(u),g=p??(0,d.jsx)(oc,{"aria-labelledby":h,color:`inherit`,size:16}),_={...n,edge:r,color:o,disabled:s,disableFocusRipple:c,loading:f,loadingIndicator:g,size:l},v=lc(_);return(0,d.jsxs)(uc,{id:f?h:u,className:D(v.root,a),centerRipple:!0,internalNativeButton:!0,focusRipple:!c,disabled:s||f,ref:t,...m,ownerState:_,children:[typeof f==`boolean`&&(0,d.jsx)(`span`,{className:v.loadingWrapper,style:{display:`contents`},children:(0,d.jsx)(dc,{className:v.loadingIndicator,ownerState:_,children:f&&g})}),i]})});process.env.NODE_ENV!==`production`&&(fc.propTypes={children:So(P.default.node,e=>u.Children.toArray(e.children).some(e=>u.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(`
132
- `)):null),classes:P.default.object,className:P.default.string,color:P.default.oneOfType([P.default.oneOf([`inherit`,`default`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),P.default.string]),disabled:P.default.bool,disableFocusRipple:P.default.bool,disableRipple:P.default.bool,edge:P.default.oneOf([`end`,`start`,!1]),id:P.default.string,loading:P.default.bool,loadingIndicator:P.default.node,size:P.default.oneOfType([P.default.oneOf([`small`,`medium`,`large`]),P.default.string]),sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object])});var pc=po((0,d.jsx)(`path`,{d:`M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z`}),`SuccessOutlined`),mc=po((0,d.jsx)(`path`,{d:`M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z`}),`ReportProblemOutlined`),hc=po((0,d.jsx)(`path`,{d:`M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z`}),`ErrorOutline`),gc=po((0,d.jsx)(`path`,{d:`M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z`}),`InfoOutlined`),_c=po((0,d.jsx)(`path`,{d:`M19 6.41L17.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`),vc=e=>{let{variant:t,color:n,severity:r,classes:i}=e;return O({root:[`root`,`color${j(n||r)}`,`${t}`],icon:[`icon`],message:[`message`],action:[`action`]},qs,i)},yc=$(bs,{name:`MuiAlert`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant]]}})(ao(({theme:e})=>{let t=e.palette.mode===`light`?e.darken:e.lighten,n=e.palette.mode===`light`?e.lighten:e.darken;return{...e.typography.body2,backgroundColor:`transparent`,display:`flex`,padding:`6px 16px`,variants:[...Object.entries(e.palette).filter(Ks([`light`])).map(([r])=>({props:{colorSeverity:r,variant:`standard`},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Js.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(Ks([`light`])).map(([n])=>({props:{colorSeverity:n,variant:`outlined`},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${Js.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(Ks([`dark`])).map(([t])=>({props:{colorSeverity:t,variant:`filled`},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:e.palette.mode===`dark`?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}}))]}})),bc=$(`div`,{name:`MuiAlert`,slot:`Icon`})({marginRight:12,padding:`7px 0`,display:`flex`,fontSize:22,opacity:.9}),xc=$(`div`,{name:`MuiAlert`,slot:`Message`})({padding:`8px 0`,minWidth:0,overflow:`auto`}),Sc=$(`div`,{name:`MuiAlert`,slot:`Action`})({display:`flex`,alignItems:`flex-start`,padding:`4px 0 0 16px`,marginLeft:`auto`,marginRight:-8}),Cc={success:(0,d.jsx)(pc,{fontSize:`inherit`}),warning:(0,d.jsx)(mc,{fontSize:`inherit`}),error:(0,d.jsx)(hc,{fontSize:`inherit`}),info:(0,d.jsx)(gc,{fontSize:`inherit`})},wc=u.forwardRef(function(e,t){let n=so({props:e,name:`MuiAlert`}),{action:r,children:i,className:a,closeText:o=`Close`,color:s,icon:c,iconMapping:l=Cc,onClose:u,role:f=`alert`,severity:p=`success`,slotProps:m={},slots:h={},variant:g=`standard`,..._}=n,v={...n,color:s,severity:p,variant:g,colorSeverity:s||p},y=vc(v),b={slots:h,slotProps:m},[x,S]=ds(`root`,{ref:t,shouldForwardComponentProp:!0,className:D(y.root,a),elementType:yc,externalForwardedProps:{...b,..._},ownerState:v,additionalProps:{role:f,elevation:0}}),[C,w]=ds(`icon`,{className:y.icon,elementType:bc,externalForwardedProps:b,ownerState:v}),[ee,T]=ds(`message`,{className:y.message,elementType:xc,externalForwardedProps:b,ownerState:v}),[E,O]=ds(`action`,{className:y.action,elementType:Sc,externalForwardedProps:b,ownerState:v}),[k,A]=ds(`closeButton`,{elementType:fc,externalForwardedProps:b,ownerState:v}),[j,M]=ds(`closeIcon`,{elementType:_c,externalForwardedProps:b,ownerState:v});return(0,d.jsxs)(x,{...S,children:[c===!1?null:(0,d.jsx)(C,{...w,children:c||l[p]||Cc[p]}),(0,d.jsx)(ee,{...T,children:i}),r==null?null:(0,d.jsx)(E,{...O,children:r}),r==null&&u?(0,d.jsx)(E,{...O,children:(0,d.jsx)(k,{size:`small`,"aria-label":o,title:o,color:`inherit`,onClick:u,...A,children:(0,d.jsx)(j,{fontSize:`small`,...M})})}):null]})});process.env.NODE_ENV!==`production`&&(wc.propTypes={action:P.default.node,children:P.default.node,classes:P.default.object,className:P.default.string,closeText:P.default.string,color:P.default.oneOfType([P.default.oneOf([`error`,`info`,`success`,`warning`]),P.default.string]),icon:P.default.node,iconMapping:P.default.shape({error:P.default.node,info:P.default.node,success:P.default.node,warning:P.default.node}),onClose:P.default.func,role:P.default.string,severity:P.default.oneOfType([P.default.oneOf([`error`,`info`,`success`,`warning`]),P.default.string]),slotProps:P.default.shape({action:P.default.oneOfType([P.default.func,P.default.object]),closeButton:P.default.oneOfType([P.default.func,P.default.object]),closeIcon:P.default.oneOfType([P.default.func,P.default.object]),icon:P.default.oneOfType([P.default.func,P.default.object]),message:P.default.oneOfType([P.default.func,P.default.object]),root:P.default.oneOfType([P.default.func,P.default.object])}),slots:P.default.shape({action:P.default.elementType,closeButton:P.default.elementType,closeIcon:P.default.elementType,icon:P.default.elementType,message:P.default.elementType,root:P.default.elementType}),sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object]),variant:P.default.oneOfType([P.default.oneOf([`filled`,`outlined`,`standard`]),P.default.string])});function Tc(e,t){if(!e||!t)return!1;if(e.contains(t))return!0;let n=t.getRootNode?.();if(n&&n instanceof ShadowRoot){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode??n.host??null}}return!1}function Ec(e){let t=u.useRef({});return u.useEffect(()=>{t.current=e}),t.current}function Dc(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:ss(n,r),{props:s,internalRef:c}=us({...a,externalSlotProps:o}),l=yo(c,o?.ref,e.additionalProps?.ref);return os(t,{...s,ref:l},r)}function Oc(e){return parseInt(u.version,10)>=19?e?.props?.ref||null:e?.ref||null}function kc(e){let{prototype:t={}}=e;return!!t.isReactComponent}function Ac(e,t,n,r,i){let a=e[t],o=i||t;if(a==null||typeof window>`u`)return null;let s,c=a.type;return typeof c==`function`&&!kc(c)&&(s=`Did you accidentally use a plain function component for an element instead?`),s===void 0?null:Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`)}var jc=So(P.default.element,Ac);jc.isRequired=So(P.default.element.isRequired,Ac);function Mc(e){let{badgeContent:t,invisible:n=!1,max:r=99,showZero:i=!1}=e,a=Ec({badgeContent:t,max:r}),o=n;n===!1&&t===0&&!i&&(o=!0);let{badgeContent:s,max:c=r}=o?a:e,l=s&&Number(s)>c?`${c}+`:s;return{badgeContent:s,invisible:o,max:c,displayValue:l}}function Nc(e){return Gr(`MuiBadge`,e)}var Pc=Kr(`MuiBadge`,[`root`,`badge`,`dot`,`standard`,`anchorOriginTopRight`,`anchorOriginBottomRight`,`anchorOriginTopLeft`,`anchorOriginBottomLeft`,`invisible`,`colorError`,`colorInfo`,`colorPrimary`,`colorSecondary`,`colorSuccess`,`colorWarning`,`overlapRectangular`,`overlapCircular`,`anchorOriginTopLeftCircular`,`anchorOriginTopLeftRectangular`,`anchorOriginTopRightCircular`,`anchorOriginTopRightRectangular`,`anchorOriginBottomLeftCircular`,`anchorOriginBottomLeftRectangular`,`anchorOriginBottomRightCircular`,`anchorOriginBottomRightRectangular`]),Fc=10,Ic=4,Lc=e=>{let{color:t,anchorOrigin:n,invisible:r,overlap:i,variant:a,classes:o={}}=e;return O({root:[`root`],badge:[`badge`,a,r&&`invisible`,`anchorOrigin${j(n.vertical)}${j(n.horizontal)}`,`anchorOrigin${j(n.vertical)}${j(n.horizontal)}${j(i)}`,`overlap${j(i)}`,t!==`default`&&`color${j(t)}`]},Nc,o)},Rc=$(`span`,{name:`MuiBadge`,slot:`Root`})({position:`relative`,display:`inline-flex`,verticalAlign:`middle`,flexShrink:0}),zc=$(`span`,{name:`MuiBadge`,slot:`Badge`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${j(n.anchorOrigin.vertical)}${j(n.anchorOrigin.horizontal)}${j(n.overlap)}`],n.color!==`default`&&t[`color${j(n.color)}`],n.invisible&&t.invisible]}})(ao(({theme:e})=>({display:`flex`,flexDirection:`row`,flexWrap:`wrap`,justifyContent:`center`,alignContent:`center`,alignItems:`center`,position:`absolute`,boxSizing:`border-box`,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:Fc*2,lineHeight:1,padding:`0 6px`,height:Fc*2,borderRadius:Fc,zIndex:1,"@media (forced-colors: active)":{border:`1px solid ButtonBorder`},transition:e.transitions.create(`transform`,{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(Ks([`contrastText`])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:`dot`},style:{borderRadius:Ic,height:Ic*2,minWidth:Ic*2,padding:0}},{props:{invisible:!0},style:{transition:e.transitions.create(`transform`,{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}},{style:({ownerState:e})=>{let{vertical:t,horizontal:n}=e.anchorOrigin,r=e.overlap===`circular`?`14%`:0;return{"--Badge-translateX":n===`right`?`50%`:`-50%`,"--Badge-translateY":t===`top`?`-50%`:`50%`,top:t===`top`?r:`initial`,bottom:t===`bottom`?r:`initial`,right:n===`right`?r:`initial`,left:n===`left`?r:`initial`,transform:`scale(1) translate(var(--Badge-translateX), var(--Badge-translateY))`,transformOrigin:`${n===`right`?`100%`:`0%`} ${t===`top`?`0%`:`100%`}`,[`&.${Pc.invisible}`]:{transform:`scale(0) translate(var(--Badge-translateX), var(--Badge-translateY))`}}}}]})));function Bc(e){return{vertical:e?.vertical??`top`,horizontal:e?.horizontal??`right`}}var Vc=u.forwardRef(function(e,t){let n=so({props:e,name:`MuiBadge`}),{anchorOrigin:r,className:i,classes:a,component:o,children:s,overlap:c=`rectangular`,color:l=`default`,invisible:u=!1,max:f=99,badgeContent:p,slots:m,slotProps:h,showZero:g=!1,variant:_=`standard`,...v}=n,{badgeContent:y,invisible:b,max:x,displayValue:S}=Mc({max:f,invisible:u,badgeContent:p,showZero:g}),C=Ec({anchorOrigin:Bc(r),color:l,overlap:c,variant:_,badgeContent:p}),w=b||y==null&&_!==`dot`,{color:ee=l,overlap:T=c,anchorOrigin:E,variant:O=_}=w?C:n,k=Bc(E),A=O===`dot`?void 0:S,j={...n,badgeContent:y,invisible:w,max:x,displayValue:A,showZero:g,anchorOrigin:k,color:ee,overlap:T,variant:O},M=Lc(j),te={slots:m,slotProps:h},[ne,re]=ds(`root`,{elementType:Rc,externalForwardedProps:{...te,...v},ownerState:j,className:D(M.root,i),ref:t,additionalProps:{as:o}}),[ie,ae]=ds(`badge`,{elementType:zc,externalForwardedProps:te,ownerState:j,className:M.badge});return(0,d.jsxs)(ne,{...re,children:[s,(0,d.jsx)(ie,{...ae,children:A})]})});process.env.NODE_ENV!==`production`&&(Vc.propTypes={anchorOrigin:P.default.shape({horizontal:P.default.oneOf([`left`,`right`]),vertical:P.default.oneOf([`bottom`,`top`])}),badgeContent:P.default.node,children:P.default.node,classes:P.default.object,className:P.default.string,color:P.default.oneOfType([P.default.oneOf([`default`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),P.default.string]),component:P.default.elementType,invisible:P.default.bool,max:P.default.number,overlap:P.default.oneOf([`circular`,`rectangular`]),showZero:P.default.bool,slotProps:P.default.shape({badge:P.default.oneOfType([P.default.func,P.default.object]),root:P.default.oneOfType([P.default.func,P.default.object])}),slots:P.default.shape({badge:P.default.elementType,root:P.default.elementType}),sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object]),variant:P.default.oneOfType([P.default.oneOf([`dot`,`standard`]),P.default.string])});function Hc(e){return Gr(`MuiButton`,e)}var Uc=Kr(`MuiButton`,`root.text.outlined.contained.disableElevation.focusVisible.disabled.colorInherit.colorPrimary.colorSecondary.colorSuccess.colorError.colorInfo.colorWarning.sizeMedium.sizeSmall.sizeLarge.fullWidth.startIcon.endIcon.icon.loading.loadingWrapper.loadingIconPlaceholder.loadingIndicator.loadingPositionCenter.loadingPositionStart.loadingPositionEnd`.split(`.`)),Wc=u.createContext({});process.env.NODE_ENV!==`production`&&(Wc.displayName=`ButtonGroupContext`);var Gc=u.createContext(void 0);process.env.NODE_ENV!==`production`&&(Gc.displayName=`ButtonGroupButtonContext`);var Kc=e=>{let{color:t,disableElevation:n,fullWidth:r,size:i,variant:a,loading:o,loadingPosition:s,classes:c}=e,l=O({root:[`root`,o&&`loading`,a,`size${j(i)}`,`color${j(t)}`,n&&`disableElevation`,r&&`fullWidth`,o&&`loadingPosition${j(s)}`],startIcon:[`icon`,`startIcon`],endIcon:[`icon`,`endIcon`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Hc,c);return{...c,...l}},qc=[{props:{size:`small`},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:`medium`},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:`large`},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Jc=$(Hs,{shouldForwardProp:e=>io(e)||e===`classes`,name:`MuiButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`size${j(n.size)}`],n.color===`inherit`&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(ao(({theme:e})=>{let t=e.palette.mode===`light`?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode===`light`?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:`6px 16px`,border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`,`color`],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:`none`},[`&.${Uc.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.startIcon||e.loading&&e.loadingPosition===`start`,style:{"&::before":{content:`"\\200b"`,width:0,overflow:`hidden`}}},{props:{variant:`contained`},style:{color:`var(--variant-containedColor)`,backgroundColor:`var(--variant-containedBg)`,boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Uc.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Uc.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:`outlined`},style:{padding:`5px 15px`,border:`1px solid currentColor`,borderColor:`var(--variant-outlinedBorder, currentColor)`,backgroundColor:`var(--variant-outlinedBg)`,color:`var(--variant-outlinedColor)`,[`&.${Uc.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:`text`},style:{padding:`6px 8px`,color:`var(--variant-textColor)`,backgroundColor:`var(--variant-textBg)`}},...Object.entries(e.palette).filter(Ks()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.alpha((e.vars||e).palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}}})),{props:{color:`inherit`},style:{color:`inherit`,borderColor:`currentColor`,"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity),"--variant-outlinedBg":e.alpha((e.vars||e).palette.text.primary,(e.vars||e).palette.action.hoverOpacity)}}}},{props:{size:`small`,variant:`text`},style:{padding:`4px 5px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`text`},style:{padding:`8px 11px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`outlined`},style:{padding:`3px 9px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`outlined`},style:{padding:`7px 21px`,fontSize:e.typography.pxToRem(15)}},{props:{size:`small`,variant:`contained`},style:{padding:`4px 10px`,fontSize:e.typography.pxToRem(13)}},{props:{size:`large`,variant:`contained`},style:{padding:`8px 22px`,fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:`none`,"&:hover":{boxShadow:`none`},[`&.${Uc.focusVisible}`]:{boxShadow:`none`},"&:active":{boxShadow:`none`},[`&.${Uc.disabled}`]:{boxShadow:`none`}}},{props:{fullWidth:!0},style:{width:`100%`}},{props:{loadingPosition:`center`},style:{transition:e.transitions.create([`background-color`,`box-shadow`,`border-color`],{duration:e.transitions.duration.short}),[`&.${Uc.loading}`]:{color:`transparent`}}}]}})),Yc=$(`span`,{name:`MuiButton`,slot:`StartIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart]}})(({theme:e})=>({display:`inherit`,marginRight:8,marginLeft:-4,variants:[{props:{size:`small`},style:{marginLeft:-2}},{props:{loadingPosition:`start`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`start`,loading:!0,fullWidth:!0},style:{marginRight:-8}},...qc]})),Xc=$(`span`,{name:`MuiButton`,slot:`EndIcon`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd]}})(({theme:e})=>({display:`inherit`,marginRight:-4,marginLeft:8,variants:[{props:{size:`small`},style:{marginRight:-2}},{props:{loadingPosition:`end`,loading:!0},style:{transition:e.transitions.create([`opacity`],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:`end`,loading:!0,fullWidth:!0},style:{marginLeft:-8}},...qc]})),Zc=$(`span`,{name:`MuiButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,variants:[{props:{loading:!0},style:{display:`flex`}},{props:{loadingPosition:`start`},style:{left:14}},{props:{loadingPosition:`start`,size:`small`},style:{left:10}},{props:{variant:`text`,loadingPosition:`start`},style:{left:6}},{props:{loadingPosition:`center`},style:{left:`50%`,transform:`translate(-50%)`,color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:`end`},style:{right:14}},{props:{loadingPosition:`end`,size:`small`},style:{right:10}},{props:{variant:`text`,loadingPosition:`end`},style:{right:6}},{props:{loadingPosition:`start`,fullWidth:!0},style:{position:`relative`,left:-10}},{props:{loadingPosition:`end`,fullWidth:!0},style:{position:`relative`,right:-10}}]})),Qc=$(`span`,{name:`MuiButton`,slot:`LoadingIconPlaceholder`})({display:`inline-block`,width:`1em`,height:`1em`}),$c=u.forwardRef(function(e,t){let n=u.useContext(Wc),r=u.useContext(Gc),i=so({props:li(n,e),name:`MuiButton`}),{children:a,color:o=`primary`,component:s=`button`,className:c,disabled:l=!1,disableElevation:f=!1,disableFocusRipple:p=!1,endIcon:m,focusVisibleClassName:h,fullWidth:g=!1,id:_,loading:v=null,loadingIndicator:y,loadingPosition:b=`center`,size:x=`medium`,startIcon:S,type:C,variant:w=`text`,...ee}=i,T=go(_),E=y??(0,d.jsx)(oc,{"aria-labelledby":T,color:`inherit`,size:16}),O={...i,color:o,component:s,disabled:l,disableElevation:f,disableFocusRipple:p,fullWidth:g,loading:v,loadingIndicator:E,loadingPosition:b,size:x,type:C,variant:w},k=Kc(O),A=(S||v&&b===`start`)&&(0,d.jsx)(Yc,{className:k.startIcon,ownerState:O,children:S||(0,d.jsx)(Qc,{className:k.loadingIconPlaceholder,ownerState:O})}),j=(m||v&&b===`end`)&&(0,d.jsx)(Xc,{className:k.endIcon,ownerState:O,children:m||(0,d.jsx)(Qc,{className:k.loadingIconPlaceholder,ownerState:O})}),M=r||``,te=typeof v==`boolean`?(0,d.jsx)(`span`,{className:k.loadingWrapper,style:{display:`contents`},children:v&&(0,d.jsx)(Zc,{className:k.loadingIndicator,ownerState:O,children:E})}):null,{root:ne,...re}=k;return(0,d.jsxs)(Jc,{ownerState:O,className:D(n.className,k.root,c,M),component:s,disabled:l||v,focusRipple:!p,focusVisibleClassName:D(k.focusVisible,h),ref:t,internalNativeButton:!0,type:C,id:v?T:_,...ee,classes:re,children:[A,b!==`end`&&te,a,b===`end`&&te,j]})});process.env.NODE_ENV!==`production`&&($c.propTypes={children:P.default.node,classes:P.default.object,className:P.default.string,color:P.default.oneOfType([P.default.oneOf([`inherit`,`primary`,`secondary`,`success`,`error`,`info`,`warning`]),P.default.string]),component:P.default.elementType,disabled:P.default.bool,disableElevation:P.default.bool,disableFocusRipple:P.default.bool,disableRipple:P.default.bool,endIcon:P.default.node,focusVisibleClassName:P.default.string,fullWidth:P.default.bool,href:P.default.string,id:P.default.string,loading:P.default.bool,loadingIndicator:P.default.node,loadingPosition:P.default.oneOf([`center`,`end`,`start`]),size:P.default.oneOfType([P.default.oneOf([`small`,`medium`,`large`]),P.default.string]),startIcon:P.default.node,sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object]),type:P.default.string,variant:P.default.oneOfType([P.default.oneOf([`contained`,`outlined`,`text`]),P.default.string])});function el(e){return e.substring(2).toLowerCase()}function tl(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function nl(e){let{children:t,disableReactTree:n=!1,mouseEvent:r=`onClick`,onClickAway:i,touchEvent:a=`onTouchEnd`}=e,o=u.useRef(!1),s=u.useRef(null),c=u.useRef(!1),l=u.useRef(!1);u.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);let d=yo(Oc(t),s),f=_o(e=>{let t=l.current;l.current=!1;let r=ho(s.current);if(!c.current||!s.current||`clientX`in e&&tl(e,r))return;if(o.current){o.current=!1;return}let a;a=e.composedPath?e.composedPath().includes(s.current):!Tc(r.documentElement,e.target)||Tc(s.current,e.target),!a&&(n||!t)&&i(e)}),p=e=>n=>{l.current=!0;let r=t.props[e];r&&r(n)},m={ref:d};return a!==!1&&(m[a]=p(a)),u.useEffect(()=>{if(a!==!1){let e=el(a),t=ho(s.current),n=()=>{o.current=!0};return t.addEventListener(e,f),t.addEventListener(`touchmove`,n),()=>{t.removeEventListener(e,f),t.removeEventListener(`touchmove`,n)}}},[f,a]),r!==!1&&(m[r]=p(r)),u.useEffect(()=>{if(r!==!1){let e=el(r),t=ho(s.current);return t.addEventListener(e,f),()=>{t.removeEventListener(e,f)}}},[f,r]),u.cloneElement(t,m)}process.env.NODE_ENV!==`production`&&(nl.propTypes={children:jc.isRequired,disableReactTree:P.default.bool,mouseEvent:P.default.oneOf([`onClick`,`onMouseDown`,`onMouseUp`,`onPointerDown`,`onPointerUp`,!1]),onClickAway:P.default.func.isRequired,touchEvent:P.default.oneOf([`onTouchEnd`,`onTouchStart`,!1])}),process.env.NODE_ENV!==`production`&&(nl.propTypes=Oi(nl.propTypes));function rl(e){return`scale(${e}, ${e**2})`}var il={entering:{opacity:1,transform:rl(1)},entered:{opacity:1,transform:`none`},exiting:{opacity:0,transform:rl(.75)},exited:{opacity:0,transform:rl(.75)}},al={opacity:0,transform:rl(.75),visibility:`hidden`},ol=u.forwardRef(function(e,t){let{addEndListener:n,appear:r=!0,children:i,easing:a,in:o,onEnter:s,onEntered:c,onEntering:l,onExit:f,onExited:p,onExiting:m,style:h,timeout:g=`auto`,..._}=e,v=Zo(),y=u.useRef(),b=no(),x=u.useRef(null),S=bo(x,Oc(i),t),C=ns(x,l),w=ns(x,(e,t)=>{ts(e);let{duration:n,delay:r,easing:i}=is({style:h,timeout:g,easing:a},{mode:`enter`}),o;g===`auto`?(o=b.transitions.getAutoHeightDuration(e.clientHeight),y.current=o):o=n,e.style.transition=[b.transitions.create(`opacity`,{duration:o,delay:r}),b.transitions.create(`transform`,{duration:o*.666,delay:r,easing:i})].join(`,`),s&&s(e,t)}),ee=ns(x,c),T=ns(x,m),E=ns(x,e=>{let{duration:t,delay:n,easing:r}=is({style:h,timeout:g,easing:a},{mode:`exit`}),i;g===`auto`?(i=b.transitions.getAutoHeightDuration(e.clientHeight),y.current=i):i=t,e.style.transition=[b.transitions.create(`opacity`,{duration:i,delay:n}),b.transitions.create(`transform`,{duration:i*.666,delay:n||i*.333,easing:r})].join(`,`),e.style.opacity=0,e.style.transform=rl(.75),f&&f(e)}),D=ns(x,e=>{e.style.transition=``,p&&p(e)});return(0,d.jsx)(Fo,{appear:r,in:o,nodeRef:x,onEnter:w,onEntered:ee,onEntering:C,onExit:E,onExited:D,onExiting:T,addEndListener:e=>{g===`auto`&&v.start(y.current||0,e),n&&n(x.current,e)},timeout:g===`auto`?null:g,..._,children:(e,{ownerState:t,...n})=>{let r=rs(e,o,il,al,h,i.props.style);return u.cloneElement(i,{style:r,ref:S,...n})}})});process.env.NODE_ENV!==`production`&&(ol.propTypes={addEndListener:P.default.func,appear:P.default.bool,children:jc.isRequired,easing:P.default.oneOfType([P.default.shape({enter:P.default.string,exit:P.default.string}),P.default.string]),in:P.default.bool,onEnter:P.default.func,onEntered:P.default.func,onEntering:P.default.func,onExit:P.default.func,onExited:P.default.func,onExiting:P.default.func,style:P.default.object,timeout:P.default.oneOfType([P.default.oneOf([`auto`]),P.default.number,P.default.shape({appear:P.default.number,enter:P.default.number,exit:P.default.number})])}),ol&&(ol.muiSupportAuto=!0);function sl(e={}){let{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:a}=e,o=Zo();u.useEffect(()=>{if(!i)return;function e(e){e.defaultPrevented||e.key===`Escape`&&r?.(e,`escapeKeyDown`)}return document.addEventListener(`keydown`,e),()=>{document.removeEventListener(`keydown`,e)}},[i,r]);let s=_o((e,t)=>{r?.(e,t)}),c=_o(e=>{!r||e==null||o.start(e,()=>{s(null,`timeout`)})});u.useEffect(()=>(i&&c(t),o.clear),[i,t,c,o]);let l=e=>{r?.(e,`clickaway`)},d=o.clear,f=u.useCallback(()=>{t!=null&&c(a??t*.5)},[t,a,c]),p=e=>t=>{let n=e.onBlur;n?.(t),f()},m=e=>t=>{let n=e.onFocus;n?.(t),d()},h=e=>t=>{let n=e.onMouseEnter;n?.(t),d()},g=e=>t=>{let n=e.onMouseLeave;n?.(t),f()};return u.useEffect(()=>{if(!n&&i)return window.addEventListener(`focus`,f),window.addEventListener(`blur`,d),()=>{window.removeEventListener(`focus`,f),window.removeEventListener(`blur`,d)}},[n,i,f,d]),{getRootProps:(t={})=>{let n={...cs(e),...cs(t)};return{role:`presentation`,...t,...n,onBlur:p(n),onFocus:m(n),onMouseEnter:h(n),onMouseLeave:g(n)}},onClickAway:l}}function cl(e){return Gr(`MuiSnackbarContent`,e)}Kr(`MuiSnackbarContent`,[`root`,`message`,`action`]);var ll=e=>{let{classes:t}=e;return O({root:[`root`],action:[`action`],message:[`message`]},cl,t)},ul=$(bs,{name:`MuiSnackbarContent`,slot:`Root`})(ao(({theme:e})=>{let t=e.palette.mode===`light`?.8:.98;return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(Ti(e.palette.background.default,t)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:Ti(e.palette.background.default,t),display:`flex`,alignItems:`center`,flexWrap:`wrap`,padding:`6px 16px`,flexGrow:1,[e.breakpoints.up(`sm`)]:{flexGrow:`initial`,minWidth:288}}})),dl=$(`div`,{name:`MuiSnackbarContent`,slot:`Message`})({padding:`8px 0`}),fl=$(`div`,{name:`MuiSnackbarContent`,slot:`Action`})({display:`flex`,alignItems:`center`,marginLeft:`auto`,paddingLeft:16,marginRight:-8}),pl=u.forwardRef(function(e,t){let n=so({props:e,name:`MuiSnackbarContent`}),{action:r,className:i,message:a,role:o=`alert`,...s}=n,c=n,l=ll(c);return(0,d.jsxs)(ul,{role:o,elevation:6,className:D(l.root,i),ownerState:c,ref:t,...s,children:[(0,d.jsx)(dl,{className:l.message,ownerState:c,children:a}),r?(0,d.jsx)(fl,{className:l.action,ownerState:c,children:r}):null]})});process.env.NODE_ENV!==`production`&&(pl.propTypes={action:P.default.node,classes:P.default.object,className:P.default.string,message:P.default.node,role:P.default.string,sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object])});function ml(e){return Gr(`MuiSnackbar`,e)}Kr(`MuiSnackbar`,[`root`,`anchorOriginTopCenter`,`anchorOriginBottomCenter`,`anchorOriginTopRight`,`anchorOriginBottomRight`,`anchorOriginTopLeft`,`anchorOriginBottomLeft`]);var hl=e=>{let{classes:t,anchorOrigin:n}=e;return O({root:[`root`,`anchorOrigin${j(n.vertical)}${j(n.horizontal)}`]},ml,t)},gl=$(`div`,{name:`MuiSnackbar`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`anchorOrigin${j(n.anchorOrigin.vertical)}${j(n.anchorOrigin.horizontal)}`]]}})(ao(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:`fixed`,display:`flex`,left:8,right:8,justifyContent:`center`,alignItems:`center`,variants:[{props:({ownerState:e})=>e.anchorOrigin.vertical===`top`,style:{top:8,[e.breakpoints.up(`sm`)]:{top:24}}},{props:({ownerState:e})=>e.anchorOrigin.vertical!==`top`,style:{bottom:8,[e.breakpoints.up(`sm`)]:{bottom:24}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal===`left`,style:{justifyContent:`flex-start`,[e.breakpoints.up(`sm`)]:{left:24,right:`auto`}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal===`right`,style:{justifyContent:`flex-end`,[e.breakpoints.up(`sm`)]:{right:24,left:`auto`}}},{props:({ownerState:e})=>e.anchorOrigin.horizontal===`center`,style:{[e.breakpoints.up(`sm`)]:{left:`50%`,right:`auto`,transform:`translateX(-50%)`}}}]}))),_l=u.forwardRef(function(e,t){let n=so({props:e,name:`MuiSnackbar`}),r=no(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:o,horizontal:s}={vertical:`bottom`,horizontal:`left`},autoHideDuration:c=null,children:l,className:f,disableWindowBlurListener:p=!1,message:m,onBlur:h,onClose:g,onFocus:_,onMouseEnter:v,onMouseLeave:y,open:b,resumeHideDuration:x,slots:S={},slotProps:C={},transitionDuration:w=i,...ee}=n,T={...n,anchorOrigin:{vertical:o,horizontal:s},autoHideDuration:c,disableWindowBlurListener:p,transitionDuration:w},E=hl(T),{getRootProps:D,onClickAway:O}=sl(T),[k,A]=u.useState(!0),j={slots:S,slotProps:C},[M,te]=ds(`root`,{ref:t,className:[E.root,f],elementType:gl,getSlotProps:D,externalForwardedProps:{...j,...ee},ownerState:T}),[ne,{ownerState:re,...ie}]=ds(`clickAwayListener`,{elementType:nl,externalForwardedProps:j,getSlotProps:e=>({onClickAway:(...t)=>{let n=t[0];e.onClickAway?.(...t),!n?.defaultMuiPrevented&&O(...t)}}),ownerState:T}),[ae,oe]=ds(`content`,{elementType:pl,shouldForwardComponentProp:!0,externalForwardedProps:j,additionalProps:{message:m,action:a},ownerState:T}),[N,se]=ds(`transition`,{elementType:ol,externalForwardedProps:j,getSlotProps:e=>({onEnter:(...t)=>{e.onEnter?.(...t),A(!1)},onExited:(...t)=>{e.onExited?.(...t),A(!0)}}),additionalProps:{appear:!0,in:b,timeout:w,direction:o===`top`?`down`:`up`},ownerState:T});return!b&&k?null:(0,d.jsx)(ne,{...ie,...S.clickAwayListener&&{ownerState:re},children:(0,d.jsx)(M,{...te,children:(0,d.jsx)(N,{...se,children:l||(0,d.jsx)(ae,{...oe})})})})});process.env.NODE_ENV!==`production`&&(_l.propTypes={action:P.default.node,anchorOrigin:P.default.shape({horizontal:P.default.oneOf([`center`,`left`,`right`]).isRequired,vertical:P.default.oneOf([`bottom`,`top`]).isRequired}),autoHideDuration:P.default.number,children:P.default.element,classes:P.default.object,className:P.default.string,disableWindowBlurListener:P.default.bool,key:()=>null,message:P.default.node,onBlur:P.default.func,onClose:P.default.func,onFocus:P.default.func,onMouseEnter:P.default.func,onMouseLeave:P.default.func,open:P.default.bool,resumeHideDuration:P.default.number,slotProps:P.default.shape({clickAwayListener:P.default.oneOfType([P.default.func,P.default.object]),content:P.default.oneOfType([P.default.func,P.default.object]),root:P.default.oneOfType([P.default.func,P.default.object]),transition:P.default.oneOfType([P.default.func,P.default.object])}),slots:P.default.shape({clickAwayListener:P.default.elementType,content:P.default.elementType,root:P.default.elementType,transition:P.default.elementType}),sx:P.default.oneOfType([P.default.arrayOf(P.default.oneOfType([P.default.func,P.default.object,P.default.bool])),P.default.func,P.default.object]),transitionDuration:P.default.oneOfType([P.default.number,P.default.shape({appear:P.default.number,enter:P.default.number,exit:P.default.number})])});function vl(e,t){let n=(0,u.useContext)(e);if(n==null)throw Error(`context "${t}" was used without a Provider`);return n}var yl=u.createContext(null);function bl({notificationKey:e,open:t,message:n,options:r,badge:i}){let{close:a}=vl(p),{severity:o,actionText:s,onAction:c,autoHideDuration:l}=r,f=u.useCallback((t,n)=>{n!==`clickaway`&&a(e)},[e,a]),m=(0,d.jsxs)(u.Fragment,{children:[c?(0,d.jsx)($c,{color:`inherit`,size:`small`,onClick:c,children:s??`Action`}):null,(0,d.jsx)(fc,{size:`small`,"aria-label":`Close`,title:`Close`,color:`inherit`,onClick:f,children:(0,d.jsx)(mo,{fontSize:`small`})})]}),h=u.useContext(yl),g=h?.slots?.snackbar??_l;return(0,d.jsx)(g,{...Dc({elementType:g,ownerState:h,externalSlotProps:h?.slotProps?.snackbar,additionalProps:{open:t,autoHideDuration:l,onClose:f,action:m}}),children:(0,d.jsx)(Vc,{badgeContent:i,color:`primary`,sx:{width:`100%`},children:o?(0,d.jsx)(wc,{severity:o,sx:{width:`100%`},action:m,children:n}):(0,d.jsx)(pl,{message:n,action:m})})},e)}function xl({state:e}){let t=e.queue[0]??null;return t?(0,d.jsx)(bl,{...t,badge:e.queue.length>1?String(e.queue.length):null}):null}var Sl=0,Cl=()=>{let e=Sl;return Sl+=1,e};function wl(e){let{children:t}=e,[n,r]=u.useState({queue:[]}),i=u.useCallback((e,t={})=>{let n=t.key??`::toolpad-internal::notification::${Cl()}`;return r(r=>r.queue.some(e=>e.notificationKey===n)?r:{...r,queue:[...r.queue,{message:e,options:t,notificationKey:n,open:!0}]}),n},[]),a=u.useCallback(e=>{r(t=>({...t,queue:t.queue.filter(t=>t.notificationKey!==e)}))},[]),o=u.useMemo(()=>({show:i,close:a}),[i,a]);return(0,d.jsx)(yl.Provider,{value:e,children:(0,d.jsxs)(p.Provider,{value:o,children:[t,(0,d.jsx)(xl,{state:n})]})})}exports.NotificationsProvider=wl,exports.useNotifications=g;
26
+ export default theme;`}function Wn(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Gn=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 Kn(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})`:Rt(t,Gn(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${Wn(n)})`:Bt(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${Wn(n)})`:zt(t,n)}})}function qn(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=on({...a,colorSpace:l}),f=hn(e),p=M(f,{mixins:Dn(f.breakpoints,r),palette:d,shadows:Fn.slice(),typography:jn(d,s),transitions:Bn(o),zIndex:{...Vn}});if(p=M(p,u),p=t.reduce((e,t)=>M(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=En(``,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(`
27
+ `))}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={...Ct,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Et({sx:e,theme:this})},p.toRuntimeSource=Un,Kn(p),p}function Jn(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Yn=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Jn(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Xn(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Zn(e){return e===`dark`?Yn:[]}function Qn(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=on({...t,colorSpace:i});return{palette:o,opacity:{...Xn(o.mode),...n},overlays:r||Zn(o.mode),...a}}function $n(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 er=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],tr=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 er(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 nr(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function X(e,t,n){!e[t]&&n&&(e[t]=n)}function rr(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:Ft(e)}function Z(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Nt(rr(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().
28
+ 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 ir(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Q=e=>{try{return e()}catch{}},ar=(e=`mui`)=>(0,u.unstable_createGetCssVar)(e);function or(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Qn({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=qn({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Xn(a),...n?.opacity},overlays:n?.overlays||Zn(a)},s}function sr(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=$n,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...d}=e,f=Object.keys(n)[0],p=r||(n.light&&f!==`light`?`light`:f),m=ar(a),{[p]:h,light:g,dark:_,...v}=n,y={...v},b=h;if((p===`dark`&&!(`dark`in n)||p===`light`&&!(`light`in n))&&(b=!0),!b)throw Error(process.env.NODE_ENV===`production`?w(21,p):`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`);let x;o&&(x=`oklch`);let S=or(x,y,b,d,p);g&&!y.light&&or(x,y,g,void 0,`light`),_&&!y.dark&&or(x,y,_,void 0,`dark`);let C={defaultColorScheme:p,...S,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:m,colorSchemes:y,font:{...xn(S.typography),...S.font},spacing:ir(d.spacing)};Object.keys(C.colorSchemes).forEach(e=>{let t=C.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return m(e,t[r][i])};t.mode===`light`&&(X(t.common,`background`,`#fff`),X(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(X(t.common,`background`,`#000`),X(t.common,`onBackground`,`#fff`));function r(e,t,n){if(x){let r;return e===V&&(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 ${x}, ${t}, ${r})`}return e(t,n)}if(nr(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){X(t.Alert,`errorColor`,r(H,o?m(`palette-error-light`):t.error.light,.6)),X(t.Alert,`infoColor`,r(H,o?m(`palette-info-light`):t.info.light,.6)),X(t.Alert,`successColor`,r(H,o?m(`palette-success-light`):t.success.light,.6)),X(t.Alert,`warningColor`,r(H,o?m(`palette-warning-light`):t.warning.light,.6)),X(t.Alert,`errorFilledBg`,n(`palette-error-main`)),X(t.Alert,`infoFilledBg`,n(`palette-info-main`)),X(t.Alert,`successFilledBg`,n(`palette-success-main`)),X(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),X(t.Alert,`errorFilledColor`,Q(()=>t.getContrastText(t.error.main))),X(t.Alert,`infoFilledColor`,Q(()=>t.getContrastText(t.info.main))),X(t.Alert,`successFilledColor`,Q(()=>t.getContrastText(t.success.main))),X(t.Alert,`warningFilledColor`,Q(()=>t.getContrastText(t.warning.main))),X(t.Alert,`errorStandardBg`,r(U,o?m(`palette-error-light`):t.error.light,.9)),X(t.Alert,`infoStandardBg`,r(U,o?m(`palette-info-light`):t.info.light,.9)),X(t.Alert,`successStandardBg`,r(U,o?m(`palette-success-light`):t.success.light,.9)),X(t.Alert,`warningStandardBg`,r(U,o?m(`palette-warning-light`):t.warning.light,.9)),X(t.Alert,`errorIconColor`,n(`palette-error-main`)),X(t.Alert,`infoIconColor`,n(`palette-info-main`)),X(t.Alert,`successIconColor`,n(`palette-success-main`)),X(t.Alert,`warningIconColor`,n(`palette-warning-main`)),X(t.AppBar,`defaultBg`,n(`palette-grey-100`)),X(t.Avatar,`defaultBg`,n(`palette-grey-400`)),X(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),X(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),X(t.Chip,`defaultBorder`,n(`palette-grey-400`)),X(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),X(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),X(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),X(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),X(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),X(t.LinearProgress,`primaryBg`,r(U,o?m(`palette-primary-main`):t.primary.main,.62)),X(t.LinearProgress,`secondaryBg`,r(U,o?m(`palette-secondary-main`):t.secondary.main,.62)),X(t.LinearProgress,`errorBg`,r(U,o?m(`palette-error-main`):t.error.main,.62)),X(t.LinearProgress,`infoBg`,r(U,o?m(`palette-info-main`):t.info.main,.62)),X(t.LinearProgress,`successBg`,r(U,o?m(`palette-success-main`):t.success.main,.62)),X(t.LinearProgress,`warningBg`,r(U,o?m(`palette-warning-light`):t.warning.main,.62)),X(t.Skeleton,`bg`,x?r(V,o?m(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),X(t.Slider,`primaryTrack`,r(U,o?m(`palette-primary-main`):t.primary.main,.62)),X(t.Slider,`secondaryTrack`,r(U,o?m(`palette-secondary-main`):t.secondary.main,.62)),X(t.Slider,`errorTrack`,r(U,o?m(`palette-error-main`):t.error.main,.62)),X(t.Slider,`infoTrack`,r(U,o?m(`palette-info-main`):t.info.main,.62)),X(t.Slider,`successTrack`,r(U,o?m(`palette-success-main`):t.success.main,.62)),X(t.Slider,`warningTrack`,r(U,o?m(`palette-warning-main`):t.warning.main,.62));let e=x?r(H,o?m(`palette-background-default`):t.background.default,.6825):Ht(t.background.default,.8);X(t.SnackbarContent,`bg`,e),X(t.SnackbarContent,`color`,Q(()=>x?Yt.text.primary:t.getContrastText(e))),X(t.SpeedDialAction,`fabHoverBg`,Ht(t.background.paper,.15)),X(t.StepConnector,`border`,n(`palette-grey-400`)),X(t.StepContent,`border`,n(`palette-grey-400`)),X(t.Switch,`defaultColor`,n(`palette-common-white`)),X(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),X(t.Switch,`primaryDisabledColor`,r(U,o?m(`palette-primary-main`):t.primary.main,.62)),X(t.Switch,`secondaryDisabledColor`,r(U,o?m(`palette-secondary-main`):t.secondary.main,.62)),X(t.Switch,`errorDisabledColor`,r(U,o?m(`palette-error-main`):t.error.main,.62)),X(t.Switch,`infoDisabledColor`,r(U,o?m(`palette-info-main`):t.info.main,.62)),X(t.Switch,`successDisabledColor`,r(U,o?m(`palette-success-main`):t.success.main,.62)),X(t.Switch,`warningDisabledColor`,r(U,o?m(`palette-warning-main`):t.warning.main,.62)),X(t.TableCell,`border`,r(U,V(o?m(`palette-divider`):t.divider,1),.88)),X(t.Tooltip,`bg`,r(V,o?m(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){X(t.Alert,`errorColor`,r(U,o?m(`palette-error-light`):t.error.light,.6)),X(t.Alert,`infoColor`,r(U,o?m(`palette-info-light`):t.info.light,.6)),X(t.Alert,`successColor`,r(U,o?m(`palette-success-light`):t.success.light,.6)),X(t.Alert,`warningColor`,r(U,o?m(`palette-warning-light`):t.warning.light,.6)),X(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),X(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),X(t.Alert,`successFilledBg`,n(`palette-success-dark`)),X(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),X(t.Alert,`errorFilledColor`,Q(()=>t.getContrastText(t.error.dark))),X(t.Alert,`infoFilledColor`,Q(()=>t.getContrastText(t.info.dark))),X(t.Alert,`successFilledColor`,Q(()=>t.getContrastText(t.success.dark))),X(t.Alert,`warningFilledColor`,Q(()=>t.getContrastText(t.warning.dark))),X(t.Alert,`errorStandardBg`,r(H,o?m(`palette-error-light`):t.error.light,.9)),X(t.Alert,`infoStandardBg`,r(H,o?m(`palette-info-light`):t.info.light,.9)),X(t.Alert,`successStandardBg`,r(H,o?m(`palette-success-light`):t.success.light,.9)),X(t.Alert,`warningStandardBg`,r(H,o?m(`palette-warning-light`):t.warning.light,.9)),X(t.Alert,`errorIconColor`,n(`palette-error-main`)),X(t.Alert,`infoIconColor`,n(`palette-info-main`)),X(t.Alert,`successIconColor`,n(`palette-success-main`)),X(t.Alert,`warningIconColor`,n(`palette-warning-main`)),X(t.AppBar,`defaultBg`,n(`palette-grey-900`)),X(t.AppBar,`darkBg`,n(`palette-background-paper`)),X(t.AppBar,`darkColor`,n(`palette-text-primary`)),X(t.Avatar,`defaultBg`,n(`palette-grey-600`)),X(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),X(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),X(t.Chip,`defaultBorder`,n(`palette-grey-700`)),X(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),X(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),X(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),X(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),X(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),X(t.LinearProgress,`primaryBg`,r(H,o?m(`palette-primary-main`):t.primary.main,.5)),X(t.LinearProgress,`secondaryBg`,r(H,o?m(`palette-secondary-main`):t.secondary.main,.5)),X(t.LinearProgress,`errorBg`,r(H,o?m(`palette-error-main`):t.error.main,.5)),X(t.LinearProgress,`infoBg`,r(H,o?m(`palette-info-main`):t.info.main,.5)),X(t.LinearProgress,`successBg`,r(H,o?m(`palette-success-main`):t.success.main,.5)),X(t.LinearProgress,`warningBg`,r(H,o?m(`palette-warning-main`):t.warning.main,.5)),X(t.Skeleton,`bg`,x?r(V,o?m(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),X(t.Slider,`primaryTrack`,r(H,o?m(`palette-primary-main`):t.primary.main,.5)),X(t.Slider,`secondaryTrack`,r(H,o?m(`palette-secondary-main`):t.secondary.main,.5)),X(t.Slider,`errorTrack`,r(H,o?m(`palette-error-main`):t.error.main,.5)),X(t.Slider,`infoTrack`,r(H,o?m(`palette-info-main`):t.info.main,.5)),X(t.Slider,`successTrack`,r(H,o?m(`palette-success-main`):t.success.main,.5)),X(t.Slider,`warningTrack`,r(H,o?m(`palette-warning-light`):t.warning.main,.5));let e=x?r(U,o?m(`palette-background-default`):t.background.default,.985):Ht(t.background.default,.98);X(t.SnackbarContent,`bg`,e),X(t.SnackbarContent,`color`,Q(()=>x?qt.text.primary:t.getContrastText(e))),X(t.SpeedDialAction,`fabHoverBg`,Ht(t.background.paper,.15)),X(t.StepConnector,`border`,n(`palette-grey-600`)),X(t.StepContent,`border`,n(`palette-grey-600`)),X(t.Switch,`defaultColor`,n(`palette-grey-300`)),X(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),X(t.Switch,`primaryDisabledColor`,r(H,o?m(`palette-primary-main`):t.primary.main,.55)),X(t.Switch,`secondaryDisabledColor`,r(H,o?m(`palette-secondary-main`):t.secondary.main,.55)),X(t.Switch,`errorDisabledColor`,r(H,o?m(`palette-error-main`):t.error.main,.55)),X(t.Switch,`infoDisabledColor`,r(H,o?m(`palette-info-main`):t.info.main,.55)),X(t.Switch,`successDisabledColor`,r(H,o?m(`palette-success-main`):t.success.main,.55)),X(t.Switch,`warningDisabledColor`,r(H,o?m(`palette-warning-light`):t.warning.main,.55)),X(t.TableCell,`border`,r(H,V(o?m(`palette-divider`):t.divider,1),.68)),X(t.Tooltip,`bg`,r(V,o?m(`palette-grey-700`):t.grey[700],.92))}o||(Z(t.background,`default`),Z(t.background,`paper`),Z(t.common,`background`),Z(t.common,`onBackground`),Z(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&X(t[e],`mainChannel`,Nt(rr(n.main))),n.light&&X(t[e],`lightChannel`,Nt(rr(n.light))),n.dark&&X(t[e],`darkChannel`,Nt(rr(n.dark))),n.contrastText&&X(t[e],`contrastTextChannel`,Nt(rr(n.contrastText))),e===`text`&&(Z(t[e],`primary`),Z(t[e],`secondary`)),e===`action`&&(n.active&&Z(t[e],`active`),n.selected&&Z(t[e],`selected`)))})}),C=t.reduce((e,t)=>M(e,t),C);let ee={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:tr(C),enableContrastVars:o},{vars:te,generateThemeVars:ne,generateStyleSheets:re}=bn(C,ee);return C.vars=te,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([e,t])=>{C[e]=t}),C.generateThemeVars=ne,C.generateStyleSheets=re,C.generateSpacing=function(){return(0,u.createSpacing)(d.spacing,Ye(this))},C.getColorSchemeSelector=Sn(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...Ct,...d?.unstable_sxConfig},C.unstable_sx=function(e){return Et({sx:e,theme:this})},C.internal_cache={},C.toRuntimeSource=Un,C}function cr(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:on({...n===!0?{}:n.palette,mode:t})})}function lr(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 qn(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=qn({...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},cr(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},cr(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),sr({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var ur=lr(),dr=`$$material`;function fr(e,t=``){return e.displayName||e.name||t}function pr(e,t,n){let r=fr(t);return e.displayName||(r===``?n:`${n}(${r})`)}function mr(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return fr(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case _e.ForwardRef:return pr(e,e.render,`ForwardRef`);case _e.Memo:return pr(e,e.type,`memo`);default:return}}}function hr(e){let{variants:t,...n}=e,r={variants:t,style:(0,d.internal_serializeStyles)(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=(0,d.internal_serializeStyles)(e.style))}),r}var gr=hn();function _r(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function $(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function vr(e){return e?(t,n)=>n[e]:null}function yr(e,t,n){e.theme=me(e.theme)?n:e.theme[t]||e.theme}function br(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>br(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?$(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?$((0,d.internal_serializeStyles)(i),n):i}return xr(e,r.variants,[t],n)}return r?.isProcessed?n?$((0,d.internal_serializeStyles)(r.style),n):r.style:n?$((0,d.internal_serializeStyles)(r),n):r}function xr(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?$((0,d.internal_serializeStyles)(o.style(i)),r):o.style(i))):n.push(r?$((0,d.internal_serializeStyles)(o.style),r):o.style)}return n}function Sr(e={}){let{themeId:t,defaultTheme:n=gr,rootShouldForwardProp:r=_r,slotShouldForwardProp:i=_r}=e;function a(e){yr(e,t,n)}return(e,t={})=>{(0,d.internal_mutateStyles)(e,e=>e.filter(e=>e!==Et));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=vr(Er(o)),...u}=t,f=n&&n.startsWith(`Mui`)||o?`components`:`custom`,p=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,m=c||!1,h=_r;o===`Root`||o===`root`?h=r:o?h=i:Tr(e)&&(h=void 0);let g=(0,d.default)(e,{shouldForwardProp:h,label:wr(n,o),...u}),_=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return br(t,e,t.theme.modularCssLayers?f:void 0)};if(j(e)){let t=hr(e);return function(e){return t.variants?br(e,t,e.theme.modularCssLayers?f:void 0):e.theme.modularCssLayers?$(t.style,f):t.style}}return e},v=(...t)=>{let r=[],i=t.map(_),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]=br(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!p&&s.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?xr(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),m||s.push(Et),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=g(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=Cr(n,o,e)),c};return g.withConfig&&(v.withConfig=g.withConfig),v}}function Cr(e,t,n){return e?`${e}${T(t||``)}`:`Styled(${mr(n)})`}function wr(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${Er(t||`Root`)}`),n}function Tr(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Er(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Dr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Or=Sr({themeId:dr,defaultTheme:ur,rootShouldForwardProp:e=>Dr(e)&&e!==`classes`}),kr=u.unstable_memoTheme;function Ar(e){return(0,f.jsx)(ln,{...e})}process.env.NODE_ENV!==`production`&&(Ar.propTypes={children:k.default.node,value:k.default.object.isRequired});function jr(e){return dn(e)}function Mr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=En(e,t,n)}),r}function Nr(e){return En(`MuiSvgIcon`,e)}Mr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var Pr=e=>{let{color:t,fontSize:n,classes:r}=e;return oe({root:[`root`,t!==`inherit`&&`color${E(t)}`,`fontSize${E(n)}`]},Nr,r)},Fr=Or(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${E(n.color)}`],t[`fontSize${E(n.fontSize)}`]]}})(kr(({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}}]}))),Ir=l.forwardRef(function(e,t){let n=jr({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:p=`0 0 24 24`,...m}=n,h=l.isValidElement(r)&&r.type===`svg`,g={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:h},_={};return u||(_.viewBox=p),(0,f.jsxs)(Fr,{as:o,className:ae(Pr(g).root,i),focusable:`false`,color:c,"aria-hidden":d?void 0:!0,role:d?`img`:void 0,ref:t,..._,...m,...h&&r.props,ownerState:g,children:[h?r.props.children:r,d?(0,f.jsx)(`title`,{children:d}):null]})});process.env.NODE_ENV!==`production`&&(Ir.propTypes={children:k.default.node,classes:k.default.object,className:k.default.string,color:k.default.oneOfType([k.default.oneOf([`inherit`,`action`,`disabled`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),k.default.string]),component:k.default.elementType,fontSize:k.default.oneOfType([k.default.oneOf([`inherit`,`large`,`medium`,`small`]),k.default.string]),htmlColor:k.default.string,inheritViewBox:k.default.bool,shapeRendering:k.default.string,sx:k.default.oneOfType([k.default.arrayOf(k.default.oneOfType([k.default.func,k.default.object,k.default.bool])),k.default.func,k.default.object]),titleAccess:k.default.string,viewBox:k.default.string}),Ir.muiName=`SvgIcon`;function Lr(e,t){function n(n,r){return(0,f.jsx)(Ir,{"data-testid":process.env.NODE_ENV===`production`?void 0:`${t}Icon`,ref:r,...n,children:e})}return process.env.NODE_ENV!==`production`&&(n.displayName=`${t}Icon`),n.muiName=Ir.muiName,l.memo(l.forwardRef(n))}var Rr=Lr((0,f.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 zr(...e){let t=l.useRef(void 0),n=l.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 l.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}function Br(e){return typeof e==`string`}function Vr(e,t,n){return e===void 0||Br(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Hr(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}function Ur(e){if(e===void 0)return{};let t={};for(let n of Object.keys(e))Hr(n,e[n])&&(t[n]=e[n]);return t}function Wr(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Gr(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=ae(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=Ur({...i,...r}),s=Wr(r),c=Wr(i),l=t(o),u=ae(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Kr(e,t,n){return typeof e==`function`?e(t,n):e}function qr(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Kr(n,r),{props:s,internalRef:c}=Gr({...a,externalSlotProps:o}),l=zr(c,o?.ref,e.additionalProps?.ref);return Vr(t,{...s,ref:l},r)}function Jr(e,t){let n=(0,l.useContext)(e);if(n==null)throw Error(`context "${t}" was used without a Provider`);return n}var Yr=l.createContext(null);function Xr({notificationKey:e,open:t,message:n,options:r,badge:i}){let{close:a}=Jr(m),{severity:o,actionText:s,onAction:c,autoHideDuration:u}=r,d=l.useCallback((t,n)=>{n!==`clickaway`&&a(e)},[e,a]),h=(0,f.jsxs)(l.Fragment,{children:[c?(0,f.jsx)(p.Button,{color:`inherit`,size:`small`,onClick:c,children:s??`Action`}):null,(0,f.jsx)(p.IconButton,{size:`small`,"aria-label":`Close`,title:`Close`,color:`inherit`,onClick:d,children:(0,f.jsx)(Rr,{fontSize:`small`})})]}),g=l.useContext(Yr),_=g?.slots?.snackbar??p.Snackbar;return(0,f.jsx)(_,{...qr({elementType:_,ownerState:g,externalSlotProps:g?.slotProps?.snackbar,additionalProps:{open:t,autoHideDuration:u,onClose:d,action:h}}),children:(0,f.jsx)(p.Badge,{badgeContent:i,color:`primary`,sx:{width:`100%`},children:o?(0,f.jsx)(p.Alert,{severity:o,sx:{width:`100%`},action:h,children:n}):(0,f.jsx)(p.SnackbarContent,{message:n,action:h})})},e)}function Zr({state:e}){let t=e.queue[0]??null;return t?(0,f.jsx)(Xr,{...t,badge:e.queue.length>1?String(e.queue.length):null}):null}var Qr=0,$r=()=>{let e=Qr;return Qr+=1,e};function ei(e){let{children:t}=e,[n,r]=l.useState({queue:[]}),i=l.useCallback((e,t={})=>{let n=t.key??`::toolpad-internal::notification::${$r()}`;return r(r=>r.queue.some(e=>e.notificationKey===n)?r:{...r,queue:[...r.queue,{message:e,options:t,notificationKey:n,open:!0}]}),n},[]),a=l.useCallback(e=>{r(t=>({...t,queue:t.queue.filter(t=>t.notificationKey!==e)}))},[]),o=l.useMemo(()=>({show:i,close:a}),[i,a]);return(0,f.jsx)(Yr.Provider,{value:e,children:(0,f.jsxs)(m.Provider,{value:o,children:[t,(0,f.jsx)(Zr,{state:n})]})})}exports.NotificationsProvider=ei,exports.useNotifications=_;