@jhelom/react-mui-message-dialog 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +99 -98
- package/dist/index.cjs +162 -0
- package/dist/index.mjs +7477 -0
- package/dist/{DialogTitleEx.d.ts → src/DialogTitleEx.d.ts} +2 -0
- package/dist/{MessageDialog.d.ts → src/MessageDialog.d.ts} +2 -7
- package/dist/src/MessageDialog.test.d.ts +1 -0
- package/dist/{MessageDialogContext.d.ts → src/MessageDialogContext.d.ts} +4 -1
- package/dist/{index.d.ts → src/index.d.ts} +1 -1
- package/package.json +64 -54
- package/dist/index.cjs.js +0 -251
- package/dist/index.es.js +0 -9313
- package/dist/index.umd.js +0 -251
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
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),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(`@mui/material`),u=require(`react`);u=c(u);var d=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})),f=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,te=n,ne=d,re=i,ie=h,ae=m,oe=r,T=o,se=a,E=f,ce=!1;function D(e){return ce||(ce=!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 pe(e){return x(e)===d}function me(e){return x(e)===i}function he(e){return x(e)===h}function O(e){return x(e)===m}function ge(e){return x(e)===r}function _e(e){return x(e)===o}function ve(e){return x(e)===a}function ye(e){return x(e)===f}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=w,e.ContextProvider=ee,e.Element=te,e.ForwardRef=ne,e.Fragment=re,e.Lazy=ie,e.Memo=ae,e.Portal=oe,e.Profiler=T,e.StrictMode=se,e.Suspense=E,e.isAsyncMode=D,e.isConcurrentMode=le,e.isContextConsumer=ue,e.isContextProvider=de,e.isElement=fe,e.isForwardRef=pe,e.isFragment=me,e.isLazy=he,e.isMemo=O,e.isPortal=ge,e.isProfiler=_e,e.isStrictMode=ve,e.isSuspense=ye,e.isValidElementType=b,e.typeOf=x})()})),p=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=d():t.exports=f()})),m=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}})),h=o(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),g=o(((e,t)=>{t.exports=Function.call.bind(Object.prototype.hasOwnProperty)})),_=o(((e,t)=>{var n=function(){};if(process.env.NODE_ENV!==`production`){var r=h(),i={},a=g();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})),v=o(((e,t)=>{var n=p(),r=m(),i=h(),a=g(),o=_(),s=function(){};process.env.NODE_ENV!==`production`&&(s=function(e){var t=`Warning: `+e;typeof console<`u`&&console.error(t);try{throw Error(t)}catch{}});function c(){return null}t.exports=function(e,t){var l=typeof Symbol==`function`&&Symbol.iterator,u=`@@iterator`;function d(e){var t=e&&(l&&e[l]||e[u]);if(typeof t==`function`)return t}var f=`<<anonymous>>`,p={array:_(`array`),bigint:_(`bigint`),bool:_(`boolean`),func:_(`function`),number:_(`number`),object:_(`object`),string:_(`string`),symbol:_(`symbol`),any:v(),arrayOf:y,element:b(),elementType:x(),instanceOf:S,node:te(),objectOf:w,oneOf:C,oneOfType:ee,shape:re,exact:ie};function m(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function h(e,t){this.message=e,this.data=t&&typeof t==`object`?t:{},this.stack=``}h.prototype=Error.prototype;function g(e){if(process.env.NODE_ENV!==`production`)var n={},r=0;function a(a,o,c,l,u,d,p){if(l||=f,d||=c,p!==i){if(t){var m=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw m.name=`Invariant Violation`,m}else if(process.env.NODE_ENV!==`production`&&typeof console<`u`){var g=l+`:`+c;!n[g]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[g]=!0,r++)}}return o[c]==null?a?o[c]===null?new h(`The `+u+" `"+d+"` is marked as required "+("in `"+l+"`, but its value is `null`.")):new h(`The `+u+" `"+d+"` is marked as required in "+("`"+l+"`, but its value is `undefined`.")):null:e(o,c,l,u,d)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function _(e){function t(t,n,r,i,a,o){var s=t[n];if(T(s)!==e){var c=se(s);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."),{expectedType:e})}return null}return g(t)}function v(){return g(c)}function y(e){function t(t,n,r,a,o){if(typeof e!=`function`)return new h("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var c=T(s);return new h(`Invalid `+a+" `"+o+"` of type "+("`"+c+"` supplied to `"+r+"`, expected an array."))}for(var l=0;l<s.length;l++){var u=e(s,l,r,a,o+`[`+l+`]`,i);if(u instanceof Error)return u}return null}return g(t)}function b(){function t(t,n,r,i,a){var o=t[n];if(!e(o)){var s=T(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return g(t)}function x(){function e(e,t,r,i,a){var o=e[t];if(!n.isValidElementType(o)){var s=T(o);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement type."))}return null}return g(e)}function S(e){function t(t,n,r,i,a){if(!(t[n]instanceof e)){var o=e.name||f,s=ce(t[n]);return new h(`Invalid `+i+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+o+"`."))}return null}return g(t)}function C(e){if(!Array.isArray(e))return process.env.NODE_ENV!==`production`&&(arguments.length>1?s(`Invalid arguments supplied to oneOf, expected an array, got `+arguments.length+` arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).`):s(`Invalid argument supplied to oneOf, expected an array.`)),c;function t(t,n,r,i,a){for(var o=t[n],s=0;s<e.length;s++)if(m(o,e[s]))return null;var c=JSON.stringify(e,function(e,t){return se(t)===`symbol`?String(t):t});return new h(`Invalid `+i+" `"+a+"` of value `"+String(o)+"` "+("supplied to `"+r+"`, expected one of "+c+`.`))}return g(t)}function 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=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 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 `+E(n)+` at index `+t+`.`),c}function r(t,n,r,o,s){for(var c=[],l=0;l<e.length;l++){var u=e[l],d=u(t,n,r,o,s,i);if(d==null)return null;d.data&&a(d.data,`expectedType`)&&c.push(d.data.expectedType)}var f=c.length>0?`, expected one of type [`+c.join(`, `)+`]`:``;return new h(`Invalid `+o+" `"+s+"` supplied to "+("`"+r+"`"+f+`.`))}return g(r)}function te(){function e(e,t,n,r,i){return ae(e[t])?null:new h(`Invalid `+r+" `"+i+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return g(e)}function ne(e,t,n,r,i){return new h((e||`React class`)+`: `+t+" type `"+n+`.`+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+i+"`.")}function re(e){function t(t,n,r,a,o){var s=t[n],c=T(s);if(c!==`object`)return new h(`Invalid `+a+" `"+o+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));for(var l in e){var u=e[l];if(typeof u!=`function`)return ne(r,a,o,l,se(u));var d=u(s,l,r,a,o+`.`+l,i);if(d)return d}return null}return g(t)}function ie(e){function t(t,n,o,s,c){var l=t[n],u=T(l);if(u!==`object`)return new h(`Invalid `+s+" `"+c+"` of type `"+u+"` "+("supplied to `"+o+"`, expected `object`."));for(var d in r({},t[n],e)){var f=e[d];if(a(e,d)&&typeof f!=`function`)return ne(o,s,c,d,se(f));if(!f)return new h(`Invalid `+s+" `"+c+"` key `"+d+"` supplied to `"+o+`\`.
|
|
2
|
+
Bad object: `+JSON.stringify(t[n],null,` `)+`
|
|
3
|
+
Valid keys: `+JSON.stringify(Object.keys(e),null,` `));var p=f(l,d,o,s,c+`.`+d,i);if(p)return p}return null}return g(t)}function ae(t){switch(typeof t){case`number`:case`string`:case`undefined`:return!0;case`boolean`:return!t;case`object`:if(Array.isArray(t))return t.every(ae);if(t===null||e(t))return!0;var n=d(t);if(n){var r=n.call(t),i;if(n!==t.entries){for(;!(i=r.next()).done;)if(!ae(i.value))return!1}else for(;!(i=r.next()).done;){var a=i.value;if(a&&!ae(a[1]))return!1}}else return!1;return!0;default:return!1}}function oe(e,t){return e===`symbol`?!0:t?t[`@@toStringTag`]===`Symbol`||typeof Symbol==`function`&&t instanceof Symbol:!1}function T(e){var t=typeof e;return Array.isArray(e)?`array`:e instanceof RegExp?`object`:oe(t,e)?`symbol`:t}function se(e){if(e==null)return``+e;var t=T(e);if(t===`object`){if(e instanceof Date)return`date`;if(e instanceof RegExp)return`regexp`}return t}function E(e){var t=se(e);switch(t){case`array`:case`object`:return`an `+t;case`boolean`:case`date`:case`regexp`:return`a `+t;default:return t}}function ce(e){return!e.constructor||!e.constructor.name?f:e.constructor.name}return p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p}})),y=o(((e,t)=>{var n=h();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}})),b=o(((e,t)=>{if(process.env.NODE_ENV!==`production`){var n=p();t.exports=v()(n.isElement,!0)}else t.exports=y()()}));function x(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=x(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function S(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=x(e))&&(r&&(r+=` `),r+=t);return r}function C(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 ee(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 te=ee;function ne(e,t){let n=Array.isArray(t),r=Array.isArray(e);return T(t)?t:se(e)?E(t):n&&r?ae(e,t):n===r?ce(e,t):E(t)}function re(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=E(e[t]);return r}function ie(e){let t={};for(let n in e)t[n]=E(e[n]);return t}function ae(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=E(t[r]);return e}function oe(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function T(e){return typeof e!=`object`||!e}function se(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function E(e){return oe(e)?Array.isArray(e)?re(e):ie(e):e}function ce(e,t){for(let n in t)n in e?e[n]=ne(e[n],t[n]):e[n]=E(t[n]);return e}var D=c(b(),1),le=process.env.NODE_ENV===`production`?{}:D.default.oneOfType([D.default.number,D.default.string,D.default.object,D.default.array]);function ue(e){if(e==null)return!0;for(let t in e)return!1;return!0}var de=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})),fe=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})()})),pe=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=de():t.exports=fe()}))();function me(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 he(e){if(u.isValidElement(e)||(0,pe.isValidElementType)(e)||!me(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=he(e[n])}),t}function O(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return me(e)&&me(t)&&Object.keys(t).forEach(i=>{u.isValidElement(t[i])||(0,pe.isValidElementType)(t[i])?r[i]=t[i]:me(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&me(e[i])?r[i]=O(e[i],t[i],n):n.clone?r[i]=me(t[i])?he(t[i]):t[i]:r[i]=t[i]}),r}var ge=/min-width:\s*([0-9.]+)/;function _e(e,t){if(!e.containerQueries||!ve(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>(e.match(ge)?.[1]||0)-+(t.match(ge)?.[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 ve(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function ye(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function be(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 xe(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 Se=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 Ce(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Se(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 we={},Te={xs:0,sm:600,md:900,lg:1200,xl:1536},Ee=Ce({values:Te}),De={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Te[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Oe(e,t,n){let r={};return ke(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:ne(r,a)})}function ke(e,t,n,r){if(t??=we,Array.isArray(n)){let i=t.breakpoints??Ee;for(let t=0;t<n.length;t+=1)Ae(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??Ee,a=i.values??Te;for(let o in n)if(ye(i.keys,o)){let i=be(t.containerQueries?t:De,o);i&&Ae(e,i,n[o],o,r)}else if(o in a)Ae(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 Ae(e,t,n,r,i){e[t]??={},i(t,n,r)}function je(e=Ee){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function Me(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];ue(t[r])&&delete t[r]}return t}function Ne(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(ye(e.keys,n[t]))return!0}return!1}function Pe(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&Fe(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function Fe(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=Ie(e.vars,i,r);if(t!=null)return t}return Ie(e,i,r)}function Ie(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`?``:ee(e)}`;return r?.[i]}return i}function k(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=Fe(o,r)||{};return Oe(e,a,e=>{let r=Pe(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:le},a.filterProps=[t],a}var Le={internal_cache:{}},Re={m:`margin`,p:`padding`},ze={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Be={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Ve={};for(let e in Re)Ve[e]=[Re[e]];for(let e in Re)for(let t in ze){let n=Re[e],r=ze[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Ve[e+t]=i}for(let e in Be)Ve[e]=Ve[Be[e]];var He=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),Ue=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]),We=new Set([...He,...Ue]);function Ge(e,t,n,r){let i=Fe(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:(process.env.NODE_ENV!==`production`&&typeof e!=`number`&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e):Array.isArray(i)?e=>{if(typeof e==`string`)return e;let n=Math.abs(e);process.env.NODE_ENV!==`production`&&(Number.isInteger(n)?n>i.length-1&&console.error([`MUI: The value provided (${n}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${n} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
4
|
+
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
5
|
+
`)));let r=i[n];return e>=0?r:typeof r==`number`?-r:typeof r==`string`&&r.startsWith(`var(`)?`calc(-1 * ${r})`:`-${r}`}:typeof i==`function`?i:(process.env.NODE_ENV!==`production`&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,`It should be a number, an array or a function.`].join(`
|
|
6
|
+
`)),()=>void 0)}function Ke(e){return Ge(e,`spacing`,8,`spacing`)}function qe(e,t){return typeof t==`string`||t==null?t:e(t)}var Je=[``];function Ye(e,t){let n=e.theme??Le,r=n?.internal_cache?.unarySpacing??Ke(n),i={};for(let n in e){if(!t.has(n))continue;let a=Ve[n]??(Je[0]=n,Je),o=e[n];ke(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=qe(r,t)})}return i}function A(e){return Ye(e,He)}A.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(He).reduce((e,t)=>(e[t]=le,e),{}),A.filterProps=He;function j(e){return Ye(e,Ue)}j.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(Ue).reduce((e,t)=>(e[t]=le,e),{}),j.filterProps=Ue;function Xe(e){return Ye(e,We)}Xe.propTypes=process.env.NODE_ENV===`production`?{}:Array.from(We).reduce((e,t)=>(e[t]=le,e),{}),Xe.filterProps=We;function Ze(...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]&&ne(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 Qe(e){return typeof e==`number`?`${e}px solid`:e}function $e(e,t){return k({prop:e,themeKey:`borders`,transform:t})}var et=$e(`border`,Qe),tt=$e(`borderTop`,Qe),nt=$e(`borderRight`,Qe),rt=$e(`borderBottom`,Qe),it=$e(`borderLeft`,Qe),at=$e(`borderColor`),ot=$e(`borderTopColor`),st=$e(`borderRightColor`),ct=$e(`borderBottomColor`),lt=$e(`borderLeftColor`),ut=$e(`outline`,Qe),dt=$e(`outlineColor`),ft=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Ge(e.theme,`shape.borderRadius`,4,`borderRadius`);return Oe(e,e.borderRadius,e=>({borderRadius:qe(t,e)}))}return null};ft.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:le},ft.filterProps=[`borderRadius`],Ze(et,tt,nt,rt,it,at,ot,st,ct,lt,ft,ut,dt);var pt=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Ge(e.theme,`spacing`,8,`gap`);return Oe(e,e.gap,e=>({gap:qe(t,e)}))}return null};pt.propTypes=process.env.NODE_ENV===`production`?{}:{gap:le},pt.filterProps=[`gap`];var mt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Ge(e.theme,`spacing`,8,`columnGap`);return Oe(e,e.columnGap,e=>({columnGap:qe(t,e)}))}return null};mt.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:le},mt.filterProps=[`columnGap`];var ht=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Ge(e.theme,`spacing`,8,`rowGap`);return Oe(e,e.rowGap,e=>({rowGap:qe(t,e)}))}return null};ht.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:le},ht.filterProps=[`rowGap`],Ze(pt,mt,ht,k({prop:`gridColumn`}),k({prop:`gridRow`}),k({prop:`gridAutoFlow`}),k({prop:`gridAutoColumns`}),k({prop:`gridAutoRows`}),k({prop:`gridTemplateColumns`}),k({prop:`gridTemplateRows`}),k({prop:`gridTemplateAreas`}),k({prop:`gridArea`}));function gt(e,t){return t===`grey`?t:e}Ze(k({prop:`color`,themeKey:`palette`,transform:gt}),k({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:gt}),k({prop:`backgroundColor`,themeKey:`palette`,transform:gt}));function M(e){return e<=1&&e!==0?`${e*100}%`:e}var _t=k({prop:`width`,transform:M}),vt=e=>e.maxWidth!==void 0&&e.maxWidth!==null?Oe(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Te[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:M(t)}}):null;vt.filterProps=[`maxWidth`];var yt=k({prop:`minWidth`,transform:M}),bt=k({prop:`height`,transform:M}),xt=k({prop:`maxHeight`,transform:M}),St=k({prop:`minHeight`,transform:M});k({prop:`size`,cssProperty:`width`,transform:M}),k({prop:`size`,cssProperty:`height`,transform:M}),Ze(_t,vt,yt,bt,xt,St,k({prop:`boxSizing`}));var Ct={border:{themeKey:`borders`,transform:Qe},borderTop:{themeKey:`borders`,transform:Qe},borderRight:{themeKey:`borders`,transform:Qe},borderBottom:{themeKey:`borders`,transform:Qe},borderLeft:{themeKey:`borders`,transform:Qe},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Qe},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:ft},color:{themeKey:`palette`,transform:gt},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:gt},backgroundColor:{themeKey:`palette`,transform:gt},p:{style:j},pt:{style:j},pr:{style:j},pb:{style:j},pl:{style:j},px:{style:j},py:{style:j},padding:{style:j},paddingTop:{style:j},paddingRight:{style:j},paddingBottom:{style:j},paddingLeft:{style:j},paddingX:{style:j},paddingY:{style:j},paddingInline:{style:j},paddingInlineStart:{style:j},paddingInlineEnd:{style:j},paddingBlock:{style:j},paddingBlockStart:{style:j},paddingBlockEnd:{style:j},m:{style:A},mt:{style:A},mr:{style:A},mb:{style:A},ml:{style:A},mx:{style:A},my:{style:A},margin:{style:A},marginTop:{style:A},marginRight:{style:A},marginBottom:{style:A},marginLeft:{style:A},marginX:{style:A},marginY:{style:A},marginInline:{style:A},marginInlineStart:{style:A},marginInlineEnd:{style:A},marginBlock:{style:A},marginBlockStart:{style:A},marginBlockEnd:{style:A},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:pt},rowGap:{style:ht},columnGap:{style:mt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:M},maxWidth:{style:vt},minWidth:{transform:M},height:{transform:M},maxHeight:{transform:M},minHeight:{transform:M},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??Ee,l=je(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}Ne(c,i)?ke(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o))}}return!i&&r.modularCssLayers?{"@layer sx":_e(r,Me(c,l))}:_e(r,Me(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){ne(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=Fe(r,o);ke(e,r,n,(n,r)=>{let i=Pe(u,l,r,t);c===!1?n?e[n]=i:ne(e,i):n?e[n][c]=i:e[c]=i})}function Ot(e,t){return typeof e==`function`?e(t):e}function kt(){return kt=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},kt.apply(null,arguments)}var At=!1;function jt(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 Mt(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 Nt=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?!At: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(Mt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=jt(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}(),N=`-ms-`,Pt=`-moz-`,P=`-webkit-`,Ft=`comm`,It=`rule`,Lt=`decl`,Rt=`@import`,zt=`@keyframes`,Bt=`@layer`,Vt=Math.abs,Ht=String.fromCharCode,Ut=Object.assign;function Wt(e,t){return I(e,0)^45?(((t<<2^I(e,0))<<2^I(e,1))<<2^I(e,2))<<2^I(e,3):0}function Gt(e){return e.trim()}function Kt(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,n){return e.replace(t,n)}function qt(e,t){return e.indexOf(t)}function I(e,t){return e.charCodeAt(t)|0}function Jt(e,t,n){return e.slice(t,n)}function Yt(e){return e.length}function Xt(e){return e.length}function Zt(e,t){return t.push(e),e}function Qt(e,t){return e.map(t).join(``)}var $t=1,en=1,tn=0,L=0,R=0,nn=``;function rn(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:$t,column:en,length:o,return:``}}function an(e,t){return Ut(rn(``,null,null,``,null,null,0),e,{length:-e.length},t)}function on(){return R}function sn(){return R=L>0?I(nn,--L):0,en--,R===10&&(en=1,$t--),R}function z(){return R=L<tn?I(nn,L++):0,en++,R===10&&(en=1,$t++),R}function cn(){return I(nn,L)}function ln(){return L}function un(e,t){return Jt(nn,e,t)}function dn(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 fn(e){return $t=en=1,tn=Yt(nn=e),L=0,[]}function pn(e){return nn=``,e}function mn(e){return Gt(un(L-1,_n(e===91?e+2:e===40?e+1:e)))}function hn(e){for(;(R=cn())&&R<33;)z();return dn(e)>2||dn(R)>3?``:` `}function gn(e,t){for(;--t&&z()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return un(e,ln()+(t<6&&cn()==32&&z()==32))}function _n(e){for(;z();)switch(R){case e:return L;case 34:case 39:e!==34&&e!==39&&_n(R);break;case 40:e===41&&_n(e);break;case 92:z();break}return L}function vn(e,t){for(;z()&&e+R!==57&&!(e+R===84&&cn()===47););return`/*`+un(t,L-1)+`*`+Ht(e===47?e:z())}function yn(e){for(;!dn(cn());)z();return un(e,L)}function bn(e){return pn(xn(``,null,null,null,[``],e=fn(e),0,[0],e))}function xn(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=z()){case 40:if(m!=108&&I(C,d-1)==58){qt(C+=F(mn(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=mn(v);break;case 9:case 10:case 13:case 32:C+=hn(m);break;case 92:C+=gn(ln()-1,7);continue;case 47:switch(cn()){case 42:case 47:Zt(Cn(vn(z(),ln()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Yt(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=F(C,/\f/g,``)),p>0&&Yt(C)-d&&Zt(p>32?wn(C+`;`,r,n,d-1):wn(F(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Zt(S=Sn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)xn(C,t,S,S,b,a,d,s,x);else switch(f===99&&I(C,3)===110?100:f){case 100:case 108:case 109:case 115:xn(e,S,S,r&&Zt(Sn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:xn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Yt(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&sn()==125)continue}switch(C+=Ht(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Yt(C)-1)*_,_=1;break;case 64:cn()===45&&(C+=mn(z())),f=cn(),u=d=Yt(y=C+=yn(ln())),v++;break;case 45:m===45&&Yt(C)==2&&(h=0)}}return a}function Sn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Xt(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Jt(e,d+1,d=Vt(h=o[m])),y=e;_<p;++_)(y=Gt(h>0?f[_]+` `+v:F(v,/&\f/g,f[_])))&&(c[g++]=y);return rn(e,t,n,i===0?It:s,c,l,u)}function Cn(e,t,n){return rn(e,t,n,Ft,Ht(on()),Jt(e,2,-2),0)}function wn(e,t,n,r){return rn(e,t,n,Lt,Jt(e,0,r),Jt(e,r+1,-1),r)}function Tn(e,t){for(var n=``,r=Xt(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function En(e,t,n,r){switch(e.type){case Bt:if(e.children.length)break;case Rt:case Lt:return e.return=e.return||e.value;case Ft:return``;case zt:return e.return=e.value+`{`+Tn(e.children,r)+`}`;case It:e.value=e.props.join(`,`)}return Yt(n=Tn(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Dn(e){var t=Xt(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 On(e){return function(t){t.root||(t=t.return)&&e(t)}}function kn(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var An=function(e,t,n){for(var r=0,i=0;r=i,i=cn(),r===38&&i===12&&(t[n]=1),!dn(i);)z();return un(e,L)},jn=function(e,t){var n=-1,r=44;do switch(dn(r)){case 0:r===38&&cn()===12&&(t[n]=1),e[n]+=An(L-1,t,n);break;case 2:e[n]+=mn(r);break;case 4:if(r===44){e[++n]=cn()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Ht(r)}while(r=z());return e},Mn=function(e,t){return pn(jn(fn(e),t))},Nn=new WeakMap,Pn=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&&!Nn.get(n))&&!r){Nn.set(e,!0);for(var i=[],a=Mn(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]}}},Fn=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function In(e,t){switch(Wt(e,t)){case 5103:return P+`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 P+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return P+e+Pt+e+N+e+e;case 6828:case 4268:return P+e+N+e+e;case 6165:return P+e+N+`flex-`+e+e;case 5187:return P+e+F(e,/(\w+).+(:[^]+)/,P+`box-$1$2`+N+`flex-$1$2`)+e;case 5443:return P+e+N+`flex-item-`+F(e,/flex-|-self/,``)+e;case 4675:return P+e+N+`flex-line-pack`+F(e,/align-content|flex-|-self/,``)+e;case 5548:return P+e+N+F(e,`shrink`,`negative`)+e;case 5292:return P+e+N+F(e,`basis`,`preferred-size`)+e;case 6060:return P+`box-`+F(e,`-grow`,``)+P+e+N+F(e,`grow`,`positive`)+e;case 4554:return P+F(e,/([^-])(transform)/g,`$1`+P+`$2`)+e;case 6187:return F(F(F(e,/(zoom-|grab)/,P+`$1`),/(image-set)/,P+`$1`),e,``)+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,P+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,P+`box-pack:$3`+N+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+P+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,P+`$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(Yt(e)-1-t>6)switch(I(e,t+1)){case 109:if(I(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,`$1`+P+`$2-$3$1`+Pt+(I(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~qt(e,`stretch`)?In(F(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(I(e,t+1)!==115)break;case 6444:switch(I(e,Yt(e)-3-(~qt(e,`!important`)&&10))){case 107:return F(e,`:`,`:`+P)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+P+(I(e,14)===45?`inline-`:``)+`box$3$1`+P+`$2$3$1`+N+`$2box$3`)+e}break;case 5936:switch(I(e,t+11)){case 114:return P+e+N+F(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return P+e+N+F(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return P+e+N+F(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return P+e+N+e+e}return e}var Ln=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Lt:e.return=In(e.value,e.length);break;case zt:return Tn([an(e,{value:F(e.value,`@`,`@`+P)})],r);case It:if(e.length)return Qt(e.props,function(t){switch(Kt(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Tn([an(e,{props:[F(t,/:(read-\w+)/,`:`+Pt+`$1`)]})],r);case`::placeholder`:return Tn([an(e,{props:[F(t,/:(plac\w+)/,`:`+P+`input-$1`)]}),an(e,{props:[F(t,/:(plac\w+)/,`:`+Pt+`$1`)]}),an(e,{props:[F(t,/:(plac\w+)/,N+`input-$1`)]})],r)}return``})}}],Rn=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||Ln,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=[Pn,Fn],l,u=[En,On(function(e){l.insert(e)})],d=Dn(c.concat(r,u)),f=function(e){return Tn(bn(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 Nt({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},zn=o(((e,t)=>{var n=p(),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,m=Object.getPrototypeOf,h=Object.prototype;function g(e,t,n){if(typeof t!=`string`){if(h){var r=m(t);r&&r!==h&&g(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),p=0;p<a.length;++p){var _=a[p];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=g})),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=kn(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=u.useInsertionEffect?u.useInsertionEffect:!1,sr=or||ar;or||u.useLayoutEffect;var cr=u.createContext(typeof HTMLElement<`u`?Rn({key:`css`}):null);cr.Provider;var lr=function(e){return(0,u.forwardRef)(function(t,n){return e(t,(0,u.useContext)(cr),n)})},ur=u.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,u.useContext(ur));o+=t.key+`-`+s.name;var c={};for(var l in e)dr.call(e,l)&&l!==`css`&&l!==fr&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),u.createElement(u.Fragment,null,u.createElement(mr,{cache:t,serialized:s,isStringTag:typeof i==`string`}),u.createElement(i,c))});zn();var gr=function(e,t){var n=arguments;if(t==null||!dr.call(t,`css`))return u.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 u.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=kn(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),l=!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=l&&e.as||i,a=``,d=[],p=e;if(e.theme==null){for(var m in p={},e)p[m]=e[m];p.theme=u.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=l&&s===void 0?wr(r):c,_={};for(var v in e)l&&v===`as`||g(v)&&(_[v]=e[v]);return _.className=a,n&&(_.ref=n),u.createElement(u.Fragment,null,u.createElement(Er,{cache:t,serialized:h,isStringTag:typeof r==`string`}),u.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,kt({},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)});var Ar=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),jr=o((e=>{process.env.NODE_ENV!==`production`&&(function(){function t(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===ne?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case g:return`Fragment`;case v:return`Profiler`;case _:return`StrictMode`;case S:return`Suspense`;case C:return`SuspenseList`;case te:return`Activity`}if(typeof e==`object`)switch(typeof e.tag==`number`&&console.error(`Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.`),e.$$typeof){case h:return`Portal`;case b:return(e.displayName||`Context`)+`.Provider`;case y:return(e._context.displayName||`Context`)+`.Consumer`;case x:var n=e.render;return e=e.displayName,e||=(e=n.displayName||n.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case w:return n=e.displayName||null,n===null?t(e.type)||`Memo`:n;case ee:n=e._payload,e=e._init;try{return t(e(n))}catch{}}return null}function n(e){return``+e}function r(e){try{n(e);var t=!1}catch{t=!0}if(t){t=console;var r=t.error,i=typeof Symbol==`function`&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||`Object`;return r.call(t,`The provided key is an unsupported type %s. This value must be coerced to a string before using it here.`,i),n(e)}}function i(e){if(e===g)return`<>`;if(typeof e==`object`&&e&&e.$$typeof===ee)return`<...>`;try{var n=t(e);return n?`<`+n+`>`:`<...>`}catch{return`<...>`}}function a(){var e=re.A;return e===null?null:e.getOwner()}function o(){return Error(`react-stack-top-frame`)}function s(e){if(ie.call(e,`key`)){var t=Object.getOwnPropertyDescriptor(e,`key`).get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function c(e,t){function n(){T||(T=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,`key`,{get:n,configurable:!0})}function l(){var e=t(this.type);return se[e]||(se[e]=!0,console.error(`Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.`)),e=this.props.ref,e===void 0?null:e}function u(e,t,n,r,i,a,o,s){return n=a.ref,e={$$typeof:m,type:e,key:t,props:a,_owner:i},(n===void 0?null:n)===null?Object.defineProperty(e,`ref`,{enumerable:!1,value:null}):Object.defineProperty(e,`ref`,{enumerable:!1,get:l}),e._store={},Object.defineProperty(e._store,`validated`,{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,`_debugInfo`,{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,`_debugStack`,{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,`_debugTask`,{configurable:!1,enumerable:!1,writable:!0,value:s}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function d(e,n,i,o,l,d,p,m){var h=n.children;if(h!==void 0)if(o)if(ae(h)){for(o=0;o<h.length;o++)f(h[o]);Object.freeze&&Object.freeze(h)}else console.error(`React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.`);else f(h);if(ie.call(n,`key`)){h=t(e);var g=Object.keys(n).filter(function(e){return e!==`key`});o=0<g.length?`{key: someKey, `+g.join(`: ..., `)+`: ...}`:`{key: someKey}`,D[h+o]||(g=0<g.length?`{`+g.join(`: ..., `)+`: ...}`:`{}`,console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
7
|
+
let props = %s;
|
|
8
|
+
<%s {...props} />
|
|
9
|
+
React keys must be passed directly to JSX without using spread:
|
|
10
|
+
let props = %s;
|
|
11
|
+
<%s key={someKey} {...props} />`,o,h,g,h),D[h+o]=!0)}if(h=null,i!==void 0&&(r(i),h=``+i),s(n)&&(r(n.key),h=``+n.key),`key`in n)for(var _ in i={},n)_!==`key`&&(i[_]=n[_]);else i=n;return h&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,h,d,l,a(),i,p,m)}function f(e){typeof e==`object`&&e&&e.$$typeof===m&&e._store&&(e._store.validated=1)}var p=require(`react`),m=Symbol.for(`react.transitional.element`),h=Symbol.for(`react.portal`),g=Symbol.for(`react.fragment`),_=Symbol.for(`react.strict_mode`),v=Symbol.for(`react.profiler`),y=Symbol.for(`react.consumer`),b=Symbol.for(`react.context`),x=Symbol.for(`react.forward_ref`),S=Symbol.for(`react.suspense`),C=Symbol.for(`react.suspense_list`),w=Symbol.for(`react.memo`),ee=Symbol.for(`react.lazy`),te=Symbol.for(`react.activity`),ne=Symbol.for(`react.client.reference`),re=p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ie=Object.prototype.hasOwnProperty,ae=Array.isArray,oe=console.createTask?console.createTask:function(){return null};p={"react-stack-bottom-frame":function(e){return e()}};var T,se={},E=p[`react-stack-bottom-frame`].bind(p,o)(),ce=oe(i(o)),D={};e.Fragment=g,e.jsx=function(e,t,n,r,a){var o=1e4>re.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r,a,o?Error(`react-stack-top-frame`):E,o?oe(i(e)):ce)},e.jsxs=function(e,t,n,r,a){var o=1e4>re.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r,a,o?Error(`react-stack-top-frame`):E,o?oe(i(e)):ce)}})()})),Mr=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=Ar():t.exports=jr()}));function Nr(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(`
|
|
12
|
+
`)):t.some(e=>e===void 0)&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}}function Pr(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Fr=[];function Ir(e){return Fr[0]=e,ir(Fr)}var Lr={borderRadius:4};function Rr(e=8,t=Ke({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 zr(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 Br(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Ce(n),c=Rr(i),l=O({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Lr,...a}},o);return l=xe(l),l.applyStyles=zr,l=t.reduce((e,t)=>O(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 Vr=e=>e,Hr=(()=>{let e=Vr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Vr}}})(),Ur={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 Wr(e,t,n=`Mui`){let r=Ur[t];return r?`${n}-${r}`:`${Hr.generate(e)}-${t}`}function Gr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Wr(e,t,n)}),r}function Kr(e,t=``){return e.displayName||e.name||t}function qr(e,t,n){let r=Kr(t);return e.displayName||(r===``?n:`${n}(${r})`)}function Jr(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return Kr(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case pe.ForwardRef:return qr(e,e.render,`ForwardRef`);case pe.Memo:return qr(e,e.type,`memo`);default:return}}}function Yr(e){let{variants:t,...n}=e,r={variants:t,style:Ir(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Ir(e.style))}),r}var Xr=Br();function Zr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Qr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function $r(e){return e?(t,n)=>n[e]:null}function ei(e,t,n){e.theme=ue(e.theme)?n:e.theme[t]||e.theme}function ti(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ti(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Qr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Qr(Ir(i),n):i}return ni(e,r.variants,[t],n)}return r?.isProcessed?n?Qr(Ir(r.style),n):r.style:n?Qr(Ir(r),n):r}function ni(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?Qr(Ir(o.style(i)),r):o.style(i))):n.push(r?Qr(Ir(o.style),r):o.style)}return n}function ri(e={}){let{themeId:t,defaultTheme:n=Xr,rootShouldForwardProp:r=Zr,slotShouldForwardProp:i=Zr}=e;function a(e){ei(e,t,n)}return(e,t={})=>{Pr(e,e=>e.filter(e=>e!==Et));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=$r(si(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=Zr;o===`Root`||o===`root`?m=r:o?m=i:oi(e)&&(m=void 0);let h=Nr(e,{shouldForwardProp:m,label:ai(n,o),...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ti(t,e,t.theme.modularCssLayers?d:void 0)};if(me(e)){let t=Yr(e);return function(e){return t.variants?ti(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Qr(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]=ti(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?ni(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||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=h(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=ii(n,o,e)),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function ii(e,t,n){return e?`${e}${ee(t||``)}`:`Styled(${Jr(n)})`}function ai(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${si(t||`Root`)}`),n}function oi(e){return typeof e==`string`&&e.charCodeAt(0)>96}function si(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function ci(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]=ci(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=S(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}function li(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function ui(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}].`),li(e,t,n)}function di(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 fi(e){if(e.type)return e;if(e.charAt(0)===`#`)return fi(di(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 pi=e=>{let t=fi(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},mi=(e,t)=>{try{return pi(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function hi(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 gi(e){e=fi(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])),hi({type:s,values:c})}function _i(e){e=fi(e);let t=e.type===`hsl`||e.type===`hsla`?fi(gi(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 vi(e,t){let n=_i(e),r=_i(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function yi(e,t){return e=fi(e),t=ui(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,hi(e)}function bi(e,t,n){try{return yi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function xi(e,t){if(e=fi(e),t=ui(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 hi(e)}function B(e,t,n){try{return xi(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Si(e,t){if(e=fi(e),t=ui(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 hi(e)}function V(e,t,n){try{return Si(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Ci(e,t=.15){return _i(e)>.5?xi(e,t):Si(e,t)}function wi(e,t,n){try{return Ci(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var H=Mr(),Ti=u.createContext(void 0);function Ei({value:e,children:t}){return(0,H.jsx)(Ti.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(Ei.propTypes={children:D.default.node,value:D.default.object});function Di(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?ci(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?ci(i,r,t.components.mergeClassNameAndStyle):r}function Oi({props:e,name:t}){return Di({props:e,name:t,theme:{components:u.useContext(Ti)}})}var ki={theme:void 0};function Ai(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(ki.theme=r.theme,i=Yr(e(ki)),t=i,n=r.theme),i}}function ji(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 Mi=(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])})},Ni=(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)},Pi=(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 Fi(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Ni(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Pi(e,t);Object.assign(i,{[r]:c}),Mi(a,e,`var(${r})`,s),Mi(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Ii(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}=Fi(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Fi(n,t);p=O(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=Fi(h,t);p=O(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=O(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 Li(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 Ri={black:`#000`,white:`#fff`},zi={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`},Bi={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`},Vi={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`},Hi={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`},Ui={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`},Wi={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`},Gi={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 Ki(){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:Ri.white,default:Ri.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 qi=Ki();function Ji(){return{text:{primary:Ri.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:Ri.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 Yi=Ji();function Xi(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=Si(e.main,i):t===`dark`&&(e.dark=xi(e.main,a)))}function Zi(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 Qi(e=`light`){return e===`dark`?{main:Ui[200],light:Ui[50],dark:Ui[400]}:{main:Ui[700],light:Ui[400],dark:Ui[800]}}function $i(e=`light`){return e===`dark`?{main:Bi[200],light:Bi[50],dark:Bi[400]}:{main:Bi[500],light:Bi[300],dark:Bi[700]}}function ea(e=`light`){return e===`dark`?{main:Vi[500],light:Vi[300],dark:Vi[700]}:{main:Vi[700],light:Vi[400],dark:Vi[800]}}function ta(e=`light`){return e===`dark`?{main:Wi[400],light:Wi[300],dark:Wi[700]}:{main:Wi[700],light:Wi[500],dark:Wi[900]}}function na(e=`light`){return e===`dark`?{main:Gi[400],light:Gi[300],dark:Gi[700]}:{main:Gi[800],light:Gi[500],dark:Gi[900]}}function ra(e=`light`){return e===`dark`?{main:Hi[400],light:Hi[300],dark:Hi[700]}:{main:`#ed6c02`,light:Hi[500],dark:Hi[900]}}function ia(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function aa(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||Qi(t),s=e.secondary||$i(t),c=e.error||ea(t),l=e.info||ta(t),u=e.success||na(t),d=e.warning||ra(t);function f(e){if(i)return ia(e);let t=vi(e,Yi.text.primary)>=n?Yi.text.primary:qi.text.primary;if(process.env.NODE_ENV!==`production`){let n=vi(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,`falls below the WCAG recommended absolute minimum contrast ratio of 3:1.`,`https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast`].join(`
|
|
13
|
+
`))}return t}let p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(process.env.NODE_ENV===`production`?w(11,t?` (${t})`:``,n):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\nThe color object needs to have a \`main\` property or a \`${n}\` property.`);if(typeof e.main!=`string`)throw Error(process.env.NODE_ENV===`production`?w(12,t?` (${t})`:``,JSON.stringify(e.main)):`MUI: The color${t?` (${t})`:``} provided to augmentColor(color) is invalid.\n\`color.main\` should be a string, but \`${JSON.stringify(e.main)}\` was provided instead.\n
|
|
14
|
+
Did you intend to use one of the following approaches?
|
|
15
|
+
|
|
16
|
+
import { green } from "@mui/material/colors";
|
|
17
|
+
|
|
18
|
+
const theme1 = createTheme({ palette: {
|
|
19
|
+
primary: green,
|
|
20
|
+
} });
|
|
21
|
+
|
|
22
|
+
const theme2 = createTheme({ palette: {
|
|
23
|
+
primary: { main: green[500] },
|
|
24
|
+
} });`);return i?(Zi(i,e,`light`,a,r),Zi(i,e,`dark`,o,r)):(Xi(e,`light`,a,r),Xi(e,`dark`,o,r)),e.contrastText||=f(e.main),e},m;return t===`light`?m=Ki():t===`dark`&&(m=Ji()),process.env.NODE_ENV!==`production`&&(m||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),O({common:{...Ri},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:zi,contrastThreshold:n,getContrastText:f,augmentColor:p,tonalOffset:r,...m},a)}function oa(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 sa(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function ca(e){return Math.round(e*1e5)/1e5}var la={textTransform:`uppercase`},ua=`"Roboto", "Helvetica", "Arial", sans-serif`;function da(e,t){let{fontFamily:n=ua,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===ua?{letterSpacing:`${ca(i/t)}em`}:{},...a,...l});return O({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,la),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,la),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var fa=.2,pa=.14,ma=.12;function U(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${fa})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${pa})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ma})`].join(`,`)}var ha=[`none`,U(0,2,1,-1,0,1,1,0,0,1,3,0),U(0,3,1,-2,0,2,2,0,0,1,5,0),U(0,3,3,-2,0,3,4,0,0,1,8,0),U(0,2,4,-1,0,4,5,0,0,1,10,0),U(0,3,5,-1,0,5,8,0,0,1,14,0),U(0,3,5,-1,0,6,10,0,0,1,18,0),U(0,4,5,-2,0,7,10,1,0,2,16,1),U(0,5,5,-3,0,8,10,1,0,3,14,2),U(0,5,6,-3,0,9,12,1,0,3,16,2),U(0,6,6,-3,0,10,14,1,0,4,18,3),U(0,6,7,-4,0,11,15,1,0,4,20,3),U(0,7,8,-4,0,12,17,2,0,5,22,4),U(0,7,8,-4,0,13,19,2,0,5,24,4),U(0,7,9,-4,0,14,21,2,0,5,26,4),U(0,8,9,-5,0,15,22,2,0,6,28,5),U(0,8,10,-5,0,16,24,2,0,6,30,5),U(0,8,11,-5,0,17,26,2,0,6,32,5),U(0,9,11,-5,0,18,28,2,0,7,34,6),U(0,9,12,-6,0,19,29,2,0,7,36,6),U(0,10,13,-6,0,20,31,3,0,8,38,7),U(0,10,13,-6,0,21,33,3,0,8,40,7),U(0,10,14,-6,0,22,35,3,0,8,42,7),U(0,11,14,-7,0,23,36,3,0,9,44,8),U(0,11,15,-7,0,24,38,3,0,9,46,8)],ga={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)`},_a={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function va(e){return`${Math.round(e)}ms`}function ya(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ba(e){let t={...ga,...e.easing},n={..._a,...e.duration};return{getAutoHeightDuration:ya,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;if(process.env.NODE_ENV!==`production`){let t=e=>typeof e==`string`,n=e=>!Number.isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error(`MUI: Argument "props" must be a string or Array.`),!n(i)&&!t(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),t(a)||console.error(`MUI: Argument "easing" must be a string.`),!n(o)&&!t(o)&&console.error(`MUI: Argument "delay" must be a number or a string.`),typeof r!=`object`&&console.error([`MUI: Secong argument of transition.create must be an object.`,"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
25
|
+
`)),Object.keys(s).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(`,`)}].`)}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:va(i)} ${a} ${typeof o==`string`?o:va(o)}`).join(`,`)},...e,easing:t,duration:n}}var xa={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Sa(e){return me(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function Ca(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];!Sa(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:me(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
26
|
+
|
|
27
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
28
|
+
|
|
29
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
30
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
31
|
+
|
|
32
|
+
export default theme;`}function wa(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Ta=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 Ea(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})`:yi(t,Ta(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${wa(n)})`:Si(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${wa(n)})`:xi(t,n)}})}function Da(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=aa({...a,colorSpace:l}),f=Br(e),p=O(f,{mixins:sa(f.breakpoints,r),palette:d,shadows:ha.slice(),typography:da(d,s),transitions:ba(o),zIndex:{...xa}});if(p=O(p,u),p=t.reduce((e,t)=>O(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=Wr(``,r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,`You can not override it like this: `,JSON.stringify(t,null,2),``,`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:i}},null,2),``,`https://mui.com/r/state-classes-guide`].join(`
|
|
33
|
+
`))}t[r]={}}}};Object.keys(p.components).forEach(e=>{let n=p.components[e].styleOverrides;n&&e.startsWith(`Mui`)&&t(n,e)})}return p.unstable_sxConfig={...Ct,...u?.unstable_sxConfig},p.unstable_sx=function(e){return Et({sx:e,theme:this})},p.toRuntimeSource=Ca,Ea(p),p}function Oa(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var ka=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Oa(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Aa(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function ja(e){return e===`dark`?ka:[]}function Ma(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=aa({...t,colorSpace:i});return{palette:o,opacity:{...Aa(o.mode),...n},overlays:r||ja(o.mode),...a}}function Na(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 Pa=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Fa=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 Pa(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 Ia(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function W(e,t,n){!e[t]&&n&&(e[t]=n)}function La(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:gi(e)}function Ra(e,t){`${t}Channel`in e||(e[`${t}Channel`]=mi(La(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
34
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function za(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Ba=e=>{try{return e()}catch{}},Va=(e=`mui`)=>ji(e);function Ha(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Ma({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Da({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Aa(a),...n?.opacity},overlays:n?.overlays||ja(a)},s}function Ua(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Na,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=Va(a),{[f]:m,light:h,dark:g,..._}=n,v={..._},y=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(y=!0),!y)throw Error(process.env.NODE_ENV===`production`?w(21,f):`MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`);let b;o&&(b=`oklch`);let x=Ha(b,v,y,u,f);h&&!v.light&&Ha(b,v,h,void 0,`light`),g&&!v.dark&&Ha(b,v,g,void 0,`dark`);let S={defaultColorScheme:f,...x,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:v,font:{...oa(x.typography),...x.font},spacing:za(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`&&(W(t.common,`background`,`#fff`),W(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(W(t.common,`background`,`#000`),W(t.common,`onBackground`,`#fff`));function r(e,t,n){if(b){let r;return e===bi&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===B&&(r=`#000 ${(n*100).toFixed(0)}%`),e===V&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${b}, ${t}, ${r})`}return e(t,n)}if(Ia(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){W(t.Alert,`errorColor`,r(B,o?p(`palette-error-light`):t.error.light,.6)),W(t.Alert,`infoColor`,r(B,o?p(`palette-info-light`):t.info.light,.6)),W(t.Alert,`successColor`,r(B,o?p(`palette-success-light`):t.success.light,.6)),W(t.Alert,`warningColor`,r(B,o?p(`palette-warning-light`):t.warning.light,.6)),W(t.Alert,`errorFilledBg`,n(`palette-error-main`)),W(t.Alert,`infoFilledBg`,n(`palette-info-main`)),W(t.Alert,`successFilledBg`,n(`palette-success-main`)),W(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),W(t.Alert,`errorFilledColor`,Ba(()=>t.getContrastText(t.error.main))),W(t.Alert,`infoFilledColor`,Ba(()=>t.getContrastText(t.info.main))),W(t.Alert,`successFilledColor`,Ba(()=>t.getContrastText(t.success.main))),W(t.Alert,`warningFilledColor`,Ba(()=>t.getContrastText(t.warning.main))),W(t.Alert,`errorStandardBg`,r(V,o?p(`palette-error-light`):t.error.light,.9)),W(t.Alert,`infoStandardBg`,r(V,o?p(`palette-info-light`):t.info.light,.9)),W(t.Alert,`successStandardBg`,r(V,o?p(`palette-success-light`):t.success.light,.9)),W(t.Alert,`warningStandardBg`,r(V,o?p(`palette-warning-light`):t.warning.light,.9)),W(t.Alert,`errorIconColor`,n(`palette-error-main`)),W(t.Alert,`infoIconColor`,n(`palette-info-main`)),W(t.Alert,`successIconColor`,n(`palette-success-main`)),W(t.Alert,`warningIconColor`,n(`palette-warning-main`)),W(t.AppBar,`defaultBg`,n(`palette-grey-100`)),W(t.Avatar,`defaultBg`,n(`palette-grey-400`)),W(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),W(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),W(t.Chip,`defaultBorder`,n(`palette-grey-400`)),W(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),W(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),W(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),W(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),W(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),W(t.LinearProgress,`primaryBg`,r(V,o?p(`palette-primary-main`):t.primary.main,.62)),W(t.LinearProgress,`secondaryBg`,r(V,o?p(`palette-secondary-main`):t.secondary.main,.62)),W(t.LinearProgress,`errorBg`,r(V,o?p(`palette-error-main`):t.error.main,.62)),W(t.LinearProgress,`infoBg`,r(V,o?p(`palette-info-main`):t.info.main,.62)),W(t.LinearProgress,`successBg`,r(V,o?p(`palette-success-main`):t.success.main,.62)),W(t.LinearProgress,`warningBg`,r(V,o?p(`palette-warning-light`):t.warning.main,.62)),W(t.Skeleton,`bg`,b?r(bi,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),W(t.Slider,`primaryTrack`,r(V,o?p(`palette-primary-main`):t.primary.main,.62)),W(t.Slider,`secondaryTrack`,r(V,o?p(`palette-secondary-main`):t.secondary.main,.62)),W(t.Slider,`errorTrack`,r(V,o?p(`palette-error-main`):t.error.main,.62)),W(t.Slider,`infoTrack`,r(V,o?p(`palette-info-main`):t.info.main,.62)),W(t.Slider,`successTrack`,r(V,o?p(`palette-success-main`):t.success.main,.62)),W(t.Slider,`warningTrack`,r(V,o?p(`palette-warning-main`):t.warning.main,.62));let e=b?r(B,o?p(`palette-background-default`):t.background.default,.6825):wi(t.background.default,.8);W(t.SnackbarContent,`bg`,e),W(t.SnackbarContent,`color`,Ba(()=>b?Yi.text.primary:t.getContrastText(e))),W(t.SpeedDialAction,`fabHoverBg`,wi(t.background.paper,.15)),W(t.StepConnector,`border`,n(`palette-grey-400`)),W(t.StepContent,`border`,n(`palette-grey-400`)),W(t.Switch,`defaultColor`,n(`palette-common-white`)),W(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),W(t.Switch,`primaryDisabledColor`,r(V,o?p(`palette-primary-main`):t.primary.main,.62)),W(t.Switch,`secondaryDisabledColor`,r(V,o?p(`palette-secondary-main`):t.secondary.main,.62)),W(t.Switch,`errorDisabledColor`,r(V,o?p(`palette-error-main`):t.error.main,.62)),W(t.Switch,`infoDisabledColor`,r(V,o?p(`palette-info-main`):t.info.main,.62)),W(t.Switch,`successDisabledColor`,r(V,o?p(`palette-success-main`):t.success.main,.62)),W(t.Switch,`warningDisabledColor`,r(V,o?p(`palette-warning-main`):t.warning.main,.62)),W(t.TableCell,`border`,r(V,bi(o?p(`palette-divider`):t.divider,1),.88)),W(t.Tooltip,`bg`,r(bi,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){W(t.Alert,`errorColor`,r(V,o?p(`palette-error-light`):t.error.light,.6)),W(t.Alert,`infoColor`,r(V,o?p(`palette-info-light`):t.info.light,.6)),W(t.Alert,`successColor`,r(V,o?p(`palette-success-light`):t.success.light,.6)),W(t.Alert,`warningColor`,r(V,o?p(`palette-warning-light`):t.warning.light,.6)),W(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),W(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),W(t.Alert,`successFilledBg`,n(`palette-success-dark`)),W(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),W(t.Alert,`errorFilledColor`,Ba(()=>t.getContrastText(t.error.dark))),W(t.Alert,`infoFilledColor`,Ba(()=>t.getContrastText(t.info.dark))),W(t.Alert,`successFilledColor`,Ba(()=>t.getContrastText(t.success.dark))),W(t.Alert,`warningFilledColor`,Ba(()=>t.getContrastText(t.warning.dark))),W(t.Alert,`errorStandardBg`,r(B,o?p(`palette-error-light`):t.error.light,.9)),W(t.Alert,`infoStandardBg`,r(B,o?p(`palette-info-light`):t.info.light,.9)),W(t.Alert,`successStandardBg`,r(B,o?p(`palette-success-light`):t.success.light,.9)),W(t.Alert,`warningStandardBg`,r(B,o?p(`palette-warning-light`):t.warning.light,.9)),W(t.Alert,`errorIconColor`,n(`palette-error-main`)),W(t.Alert,`infoIconColor`,n(`palette-info-main`)),W(t.Alert,`successIconColor`,n(`palette-success-main`)),W(t.Alert,`warningIconColor`,n(`palette-warning-main`)),W(t.AppBar,`defaultBg`,n(`palette-grey-900`)),W(t.AppBar,`darkBg`,n(`palette-background-paper`)),W(t.AppBar,`darkColor`,n(`palette-text-primary`)),W(t.Avatar,`defaultBg`,n(`palette-grey-600`)),W(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),W(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),W(t.Chip,`defaultBorder`,n(`palette-grey-700`)),W(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),W(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),W(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),W(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),W(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),W(t.LinearProgress,`primaryBg`,r(B,o?p(`palette-primary-main`):t.primary.main,.5)),W(t.LinearProgress,`secondaryBg`,r(B,o?p(`palette-secondary-main`):t.secondary.main,.5)),W(t.LinearProgress,`errorBg`,r(B,o?p(`palette-error-main`):t.error.main,.5)),W(t.LinearProgress,`infoBg`,r(B,o?p(`palette-info-main`):t.info.main,.5)),W(t.LinearProgress,`successBg`,r(B,o?p(`palette-success-main`):t.success.main,.5)),W(t.LinearProgress,`warningBg`,r(B,o?p(`palette-warning-main`):t.warning.main,.5)),W(t.Skeleton,`bg`,b?r(bi,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),W(t.Slider,`primaryTrack`,r(B,o?p(`palette-primary-main`):t.primary.main,.5)),W(t.Slider,`secondaryTrack`,r(B,o?p(`palette-secondary-main`):t.secondary.main,.5)),W(t.Slider,`errorTrack`,r(B,o?p(`palette-error-main`):t.error.main,.5)),W(t.Slider,`infoTrack`,r(B,o?p(`palette-info-main`):t.info.main,.5)),W(t.Slider,`successTrack`,r(B,o?p(`palette-success-main`):t.success.main,.5)),W(t.Slider,`warningTrack`,r(B,o?p(`palette-warning-light`):t.warning.main,.5));let e=b?r(V,o?p(`palette-background-default`):t.background.default,.985):wi(t.background.default,.98);W(t.SnackbarContent,`bg`,e),W(t.SnackbarContent,`color`,Ba(()=>b?qi.text.primary:t.getContrastText(e))),W(t.SpeedDialAction,`fabHoverBg`,wi(t.background.paper,.15)),W(t.StepConnector,`border`,n(`palette-grey-600`)),W(t.StepContent,`border`,n(`palette-grey-600`)),W(t.Switch,`defaultColor`,n(`palette-grey-300`)),W(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),W(t.Switch,`primaryDisabledColor`,r(B,o?p(`palette-primary-main`):t.primary.main,.55)),W(t.Switch,`secondaryDisabledColor`,r(B,o?p(`palette-secondary-main`):t.secondary.main,.55)),W(t.Switch,`errorDisabledColor`,r(B,o?p(`palette-error-main`):t.error.main,.55)),W(t.Switch,`infoDisabledColor`,r(B,o?p(`palette-info-main`):t.info.main,.55)),W(t.Switch,`successDisabledColor`,r(B,o?p(`palette-success-main`):t.success.main,.55)),W(t.Switch,`warningDisabledColor`,r(B,o?p(`palette-warning-light`):t.warning.main,.55)),W(t.TableCell,`border`,r(B,bi(o?p(`palette-divider`):t.divider,1),.68)),W(t.Tooltip,`bg`,r(bi,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Ra(t.background,`default`),Ra(t.background,`paper`),Ra(t.common,`background`),Ra(t.common,`onBackground`),Ra(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&W(t[e],`mainChannel`,mi(La(n.main))),n.light&&W(t[e],`lightChannel`,mi(La(n.light))),n.dark&&W(t[e],`darkChannel`,mi(La(n.dark))),n.contrastText&&W(t[e],`contrastTextChannel`,mi(La(n.contrastText))),e===`text`&&(Ra(t[e],`primary`),Ra(t[e],`secondary`)),e===`action`&&(n.active&&Ra(t[e],`active`),n.selected&&Ra(t[e],`selected`)))})}),S=t.reduce((e,t)=>O(e,t),S);let C={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Fa(S),enableContrastVars:o},{vars:ee,generateThemeVars:te,generateStyleSheets:ne}=Ii(S,C);return S.vars=ee,Object.entries(S.colorSchemes[S.defaultColorScheme]).forEach(([e,t])=>{S[e]=t}),S.generateThemeVars=te,S.generateStyleSheets=ne,S.generateSpacing=function(){return Rr(u.spacing,Ke(this))},S.getColorSchemeSelector=Li(c),S.spacing=S.generateSpacing(),S.shouldSkipGeneratingVar=s,S.unstable_sxConfig={...Ct,...u?.unstable_sxConfig},S.unstable_sx=function(e){return Et({sx:e,theme:this})},S.internal_cache={},S.toRuntimeSource=Ca,S}function Wa(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:aa({...n===!0?{}:n.palette,mode:t})})}function Ga(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 Da(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Da({...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},Wa(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Wa(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Ua({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Ka=Ga(),qa=`$$material`;function Ja(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ya=ri({themeId:qa,defaultTheme:Ka,rootShouldForwardProp:e=>Ja(e)&&e!==`classes`}),Xa=Ai;function Za(e){return(0,H.jsx)(Ei,{...e})}process.env.NODE_ENV!==`production`&&(Za.propTypes={children:D.default.node,value:D.default.object.isRequired});function Qa(e){return Oi(e)}function $a(e){return Wr(`MuiSvgIcon`,e)}Gr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var eo=e=>{let{color:t,fontSize:n,classes:r}=e;return C({root:[`root`,t!==`inherit`&&`color${te(t)}`,`fontSize${te(n)}`]},$a,r)},to=Ya(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${te(n.color)}`],t[`fontSize${te(n.fontSize)}`]]}})(Xa(({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}}]}))),no=u.forwardRef(function(e,t){let n=Qa({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:o=`svg`,fontSize:s=`medium`,htmlColor:c,inheritViewBox:l=!1,titleAccess:d,viewBox:f=`0 0 24 24`,...p}=n,m=u.isValidElement(r)&&r.type===`svg`,h={...n,color:a,component:o,fontSize:s,instanceFontSize:e.fontSize,inheritViewBox:l,viewBox:f,hasSvgAsChild:m},g={};return l||(g.viewBox=f),(0,H.jsxs)(to,{as:o,className:S(eo(h).root,i),focusable:`false`,color:c,"aria-hidden":d?void 0:!0,role:d?`img`:void 0,ref:t,...g,...p,...m&&r.props,ownerState:h,children:[m?r.props.children:r,d?(0,H.jsx)(`title`,{children:d}):null]})});process.env.NODE_ENV!==`production`&&(no.propTypes={children:D.default.node,classes:D.default.object,className:D.default.string,color:D.default.oneOfType([D.default.oneOf([`inherit`,`action`,`disabled`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),D.default.string]),component:D.default.elementType,fontSize:D.default.oneOfType([D.default.oneOf([`inherit`,`large`,`medium`,`small`]),D.default.string]),htmlColor:D.default.string,inheritViewBox:D.default.bool,shapeRendering:D.default.string,sx:D.default.oneOfType([D.default.arrayOf(D.default.oneOfType([D.default.func,D.default.object,D.default.bool])),D.default.func,D.default.object]),titleAccess:D.default.string,viewBox:D.default.string}),no.muiName=`SvgIcon`;function ro(e,t){function n(n,r){return(0,H.jsx)(no,{"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=no.muiName,u.memo(u.forwardRef(n))}var io=ro((0,H.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 ao(e,t){return process.env.NODE_ENV===`production`?()=>null:function(...n){return e(...n)||t(...n)}}function oo(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 so(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 co(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function lo(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}].`),co(e,t,n)}function uo(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 fo(e){if(e.type)return e;if(e.charAt(0)===`#`)return fo(uo(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`?so(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`?so(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 po=e=>{let t=fo(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},mo=(e,t)=>{try{return po(e)}catch{return t&&process.env.NODE_ENV!==`production`&&console.warn(t),e}};function ho(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 go(e){e=fo(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])),ho({type:s,values:c})}function _o(e){e=fo(e);let t=e.type===`hsl`||e.type===`hsla`?fo(go(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 vo(e,t){let n=_o(e),r=_o(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function yo(e,t){return e=fo(e),t=lo(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,ho(e)}function bo(e,t,n){try{return yo(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function xo(e,t){if(e=fo(e),t=lo(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 ho(e)}function G(e,t,n){try{return xo(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function So(e,t){if(e=fo(e),t=lo(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 ho(e)}function K(e,t,n){try{return So(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}function Co(e,t=.15){return _o(e)>.5?xo(e,t):So(e,t)}function wo(e,t,n){try{return Co(e,t)}catch{return n&&process.env.NODE_ENV!==`production`&&console.warn(n),e}}var To=e=>e,Eo=(()=>{let e=To;return{configure(t){e=t},generate(t){return e(t)},reset(){e=To}}})();function Do(e){if(typeof e!=`string`)throw Error(process.env.NODE_ENV===`production`?so(7):"MUI: `capitalize(string)` expects a string argument.");return e.charAt(0).toUpperCase()+e.slice(1)}var Oo=Do,ko=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})),Ao=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})()})),jo=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=ko():t.exports=Ao()}))();function Mo(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 No(e){if(u.isValidElement(e)||(0,jo.isValidElementType)(e)||!Mo(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=No(e[n])}),t}function q(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Mo(e)&&Mo(t)&&Object.keys(t).forEach(i=>{u.isValidElement(t[i])||(0,jo.isValidElementType)(t[i])?r[i]=t[i]:Mo(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Mo(e[i])?r[i]=q(e[i],t[i],n):n.clone?r[i]=Mo(t[i])?No(t[i]):t[i]:r[i]=t[i]}),r}function Po(e,t){return t?q(e,t,{clone:!1}):e}var Fo=process.env.NODE_ENV===`production`?{}:D.default.oneOfType([D.default.number,D.default.string,D.default.object,D.default.array]);function Io(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function Lo(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function Ro(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!==`production`)throw Error(process.env.NODE_ENV===`production`?so(18,`(${t})`):`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\nFor example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function zo(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Bo={xs:0,sm:600,md:900,lg:1200,xl:1536},Vo={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${Bo[e]}px)`},Ho={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Bo[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Uo(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||Vo;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||Vo;return Object.keys(t).reduce((i,a)=>{if(Lo(e.keys,a)){let e=Ro(r.containerQueries?r:Ho,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||Bo).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function Wo(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function Go(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function Ko(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function qo(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:Ko(e,n)||r,t&&(i=t(i,r,e)),i}function J(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Ko(o,r)||{};return Uo(e,a,e=>{let r=qo(s,i,e);return e===r&&typeof e==`string`&&(r=qo(s,i,`${t}${e===`default`?``:Do(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes=process.env.NODE_ENV===`production`?{}:{[t]:Fo},a.filterProps=[t],a}function Jo(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Yo={m:`margin`,p:`padding`},Xo={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},Zo={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Qo=Jo(e=>{if(e.length>2)if(Zo[e])e=Zo[e];else return[e];let[t,n]=e.split(``),r=Yo[t],i=Xo[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),$o=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],es=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],ts=[...$o,...es];function ns(e,t,n,r){let i=Ko(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:(process.env.NODE_ENV!==`production`&&typeof e!=`number`&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e):Array.isArray(i)?e=>{if(typeof e==`string`)return e;let n=Math.abs(e);process.env.NODE_ENV!==`production`&&(Number.isInteger(n)?n>i.length-1&&console.error([`MUI: The value provided (${n}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${n} > ${i.length-1}, you need to add the missing values.`].join(`
|
|
35
|
+
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
36
|
+
`)));let r=i[n];return e>=0?r:typeof r==`number`?-r:typeof r==`string`&&r.startsWith(`var(`)?`calc(-1 * ${r})`:`-${r}`}:typeof i==`function`?i:(process.env.NODE_ENV!==`production`&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,`It should be a number, an array or a function.`].join(`
|
|
37
|
+
`)),()=>void 0)}function rs(e){return ns(e,`spacing`,8,`spacing`)}function is(e,t){return typeof t==`string`||t==null?t:e(t)}function as(e,t){return n=>e.reduce((e,r)=>(e[r]=is(t,n),e),{})}function os(e,t,n,r){if(!t.includes(n))return null;let i=as(Qo(n),r),a=e[n];return Uo(e,a,i)}function ss(e,t){let n=rs(e.theme);return Object.keys(e).map(r=>os(e,t,r,n)).reduce(Po,{})}function Y(e){return ss(e,$o)}Y.propTypes=process.env.NODE_ENV===`production`?{}:$o.reduce((e,t)=>(e[t]=Fo,e),{}),Y.filterProps=$o;function X(e){return ss(e,es)}X.propTypes=process.env.NODE_ENV===`production`?{}:es.reduce((e,t)=>(e[t]=Fo,e),{}),X.filterProps=es;function cs(e){return ss(e,ts)}cs.propTypes=process.env.NODE_ENV===`production`?{}:ts.reduce((e,t)=>(e[t]=Fo,e),{}),cs.filterProps=ts;function ls(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Po(n,t[r](e)):n,{});return n.propTypes=process.env.NODE_ENV===`production`?{}:e.reduce((e,t)=>Object.assign(e,t.propTypes),{}),n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function us(e){return typeof e==`number`?`${e}px solid`:e}function ds(e,t){return J({prop:e,themeKey:`borders`,transform:t})}var fs=ds(`border`,us),ps=ds(`borderTop`,us),ms=ds(`borderRight`,us),hs=ds(`borderBottom`,us),gs=ds(`borderLeft`,us),_s=ds(`borderColor`),vs=ds(`borderTopColor`),ys=ds(`borderRightColor`),bs=ds(`borderBottomColor`),xs=ds(`borderLeftColor`),Ss=ds(`outline`,us),Cs=ds(`outlineColor`),ws=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=ns(e.theme,`shape.borderRadius`,4,`borderRadius`);return Uo(e,e.borderRadius,e=>({borderRadius:is(t,e)}))}return null};ws.propTypes=process.env.NODE_ENV===`production`?{}:{borderRadius:Fo},ws.filterProps=[`borderRadius`],ls(fs,ps,ms,hs,gs,_s,vs,ys,bs,xs,ws,Ss,Cs);var Ts=e=>{if(e.gap!==void 0&&e.gap!==null){let t=ns(e.theme,`spacing`,8,`gap`);return Uo(e,e.gap,e=>({gap:is(t,e)}))}return null};Ts.propTypes=process.env.NODE_ENV===`production`?{}:{gap:Fo},Ts.filterProps=[`gap`];var Es=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=ns(e.theme,`spacing`,8,`columnGap`);return Uo(e,e.columnGap,e=>({columnGap:is(t,e)}))}return null};Es.propTypes=process.env.NODE_ENV===`production`?{}:{columnGap:Fo},Es.filterProps=[`columnGap`];var Ds=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=ns(e.theme,`spacing`,8,`rowGap`);return Uo(e,e.rowGap,e=>({rowGap:is(t,e)}))}return null};Ds.propTypes=process.env.NODE_ENV===`production`?{}:{rowGap:Fo},Ds.filterProps=[`rowGap`],ls(Ts,Es,Ds,J({prop:`gridColumn`}),J({prop:`gridRow`}),J({prop:`gridAutoFlow`}),J({prop:`gridAutoColumns`}),J({prop:`gridAutoRows`}),J({prop:`gridTemplateColumns`}),J({prop:`gridTemplateRows`}),J({prop:`gridTemplateAreas`}),J({prop:`gridArea`}));function Os(e,t){return t===`grey`?t:e}ls(J({prop:`color`,themeKey:`palette`,transform:Os}),J({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Os}),J({prop:`backgroundColor`,themeKey:`palette`,transform:Os}));function Z(e){return e<=1&&e!==0?`${e*100}%`:e}var ks=J({prop:`width`,transform:Z}),As=e=>e.maxWidth!==void 0&&e.maxWidth!==null?Uo(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Bo[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:Z(t)}}):null;As.filterProps=[`maxWidth`];var js=J({prop:`minWidth`,transform:Z}),Ms=J({prop:`height`,transform:Z}),Ns=J({prop:`maxHeight`,transform:Z}),Ps=J({prop:`minHeight`,transform:Z});J({prop:`size`,cssProperty:`width`,transform:Z}),J({prop:`size`,cssProperty:`height`,transform:Z}),ls(ks,As,js,Ms,Ns,Ps,J({prop:`boxSizing`}));var Fs={border:{themeKey:`borders`,transform:us},borderTop:{themeKey:`borders`,transform:us},borderRight:{themeKey:`borders`,transform:us},borderBottom:{themeKey:`borders`,transform:us},borderLeft:{themeKey:`borders`,transform:us},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:us},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:ws},color:{themeKey:`palette`,transform:Os},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Os},backgroundColor:{themeKey:`palette`,transform:Os},p:{style:X},pt:{style:X},pr:{style:X},pb:{style:X},pl:{style:X},px:{style:X},py:{style:X},padding:{style:X},paddingTop:{style:X},paddingRight:{style:X},paddingBottom:{style:X},paddingLeft:{style:X},paddingX:{style:X},paddingY:{style:X},paddingInline:{style:X},paddingInlineStart:{style:X},paddingInlineEnd:{style:X},paddingBlock:{style:X},paddingBlockStart:{style:X},paddingBlockEnd:{style:X},m:{style:Y},mt:{style:Y},mr:{style:Y},mb:{style:Y},ml:{style:Y},mx:{style:Y},my:{style:Y},margin:{style:Y},marginTop:{style:Y},marginRight:{style:Y},marginBottom:{style:Y},marginLeft:{style:Y},marginX:{style:Y},marginY:{style:Y},marginInline:{style:Y},marginInlineStart:{style:Y},marginInlineEnd:{style:Y},marginBlock:{style:Y},marginBlockStart:{style:Y},marginBlockEnd:{style:Y},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ts},rowGap:{style:Ds},columnGap:{style:Es},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Z},maxWidth:{style:As},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`}};function Is(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function Ls(e,t){return typeof e==`function`?e(t):e}function Rs(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=Ko(n,s)||{};return l?l(i):Uo(i,t,t=>{let n=qo(u,c,t);return t===n&&typeof t==`string`&&(n=qo(u,c,`${e}${t===`default`?``:Do(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={}}=n||{};if(!r)return null;let a=i.unstable_sxConfig??Fs;function o(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let o=Wo(i.breakpoints),s=Object.keys(o),c=o;return Object.keys(r).forEach(n=>{let o=Ls(r[n],i);if(o!=null)if(typeof o==`object`)if(a[n])c=Po(c,e(n,o,i,a));else{let e=Uo({theme:i},o,e=>({[n]:e}));Is(e,o)?c[n]=t({sx:o,theme:i}):c=Po(c,e)}else c=Po(c,e(n,o,i,a))}),Io(i,Go(s,c))}return Array.isArray(r)?r.map(o):o(r)}return t}var zs=Rs();zs.filterProps=[`sx`];function Bs(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(`
|
|
38
|
+
`)):t.some(e=>e===void 0)&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}}function Vs(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Hs=[];function Us(e){return Hs[0]=e,ir(Hs)}var Ws=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 Gs(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Ws(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}var Ks={borderRadius:4};function qs(e=8,t=rs({spacing:e})){if(e.mui)return e;let n=(...e)=>(process.env.NODE_ENV!==`production`&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`)),(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `));return n.mui=!0,n}function Js(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 Ys(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Gs(n),c=qs(i),l=q({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Ks,...a}},o);return l=zo(l),l.applyStyles=Js,l=t.reduce((e,t)=>q(e,t),l),l.unstable_sxConfig={...Fs,...o?.unstable_sxConfig},l.unstable_sx=function(e){return zs({sx:e,theme:this})},l}var Xs={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 Zs(e,t,n=`Mui`){let r=Xs[t];return r?`${n}-${r}`:`${Eo.generate(e)}-${t}`}function Qs(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Zs(e,t,n)}),r}function $s(e,t=``){return e.displayName||e.name||t}function ec(e,t,n){let r=$s(t);return e.displayName||(r===``?n:`${n}(${r})`)}function tc(e){if(e!=null){if(typeof e==`string`)return e;if(typeof e==`function`)return $s(e,`Component`);if(typeof e==`object`)switch(e.$$typeof){case jo.ForwardRef:return ec(e,e.render,`ForwardRef`);case jo.Memo:return ec(e,e.type,`memo`);default:return}}}function nc(e){let{variants:t,...n}=e,r={variants:t,style:Us(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Us(e.style))}),r}var rc=Ys();function ic(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function ac(e){return e?(t,n)=>n[e]:null}function oc(e,t,n){e.theme=fc(e.theme)?n:e.theme[t]||e.theme}function sc(e,t){let n=typeof t==`function`?t(e):t;if(Array.isArray(n))return n.flatMap(t=>sc(e,t));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=n.style;else{let{variants:e,...r}=n;t=r}return cc(e,n.variants,[t])}return n?.isProcessed?n.style:n}function cc(e,t,n=[]){let r;variantLoop:for(let i=0;i<t.length;i+=1){let a=t[i];if(typeof a.props==`function`){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(r))continue}else for(let t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue variantLoop;typeof a.style==`function`?(r??={...e,...e.ownerState,ownerState:e.ownerState},n.push(a.style(r))):n.push(a.style)}return n}function lc(e={}){let{themeId:t,defaultTheme:n=rc,rootShouldForwardProp:r=ic,slotShouldForwardProp:i=ic}=e;function a(e){oc(e,t,n)}return(e,t={})=>{Vs(e,e=>e.filter(e=>e!==zs));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=ac(mc(o)),...u}=t,d=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,f=c||!1,p=ic;o===`Root`||o===`root`?p=r:o?p=i:pc(e)&&(p=void 0);let m=Bs(e,{shouldForwardProp:p,label:dc(n,o),...u}),h=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return sc(t,e)};if(Mo(e)){let t=nc(e);return t.variants?function(e){return sc(e,t)}:t.style}return e},g=(...t)=>{let r=[],i=t.map(h),s=[];if(r.push(a),n&&l&&s.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=sc(e,t[n]);return l(e,r)}),n&&!d&&s.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?cc(e,t):null}),f||s.push(zs),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(s.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let c=m(...r,...i,...s);return e.muiName&&(c.muiName=e.muiName),process.env.NODE_ENV!==`production`&&(c.displayName=uc(n,o,e)),c};return m.withConfig&&(g.withConfig=m.withConfig),g}}function uc(e,t,n){return e?`${e}${Do(t||``)}`:`Styled(${tc(n)})`}function dc(e,t){let n;return process.env.NODE_ENV!==`production`&&e&&(n=`${e}-${mc(t||`Root`)}`),n}function fc(e){for(let t in e)return!1;return!0}function pc(e){return typeof e==`string`&&e.charCodeAt(0)>96}function mc(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function hc(e,t){let n={...t};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=r;if(i===`components`||i===`slots`)n[i]={...e[i],...n[i]};else if(i===`componentsProps`||i===`slotProps`){let r=e[i],a=t[i];if(!a)n[i]=r||{};else if(!r)n[i]=a;else{n[i]={...a};for(let e in r)if(Object.prototype.hasOwnProperty.call(r,e)){let t=e;n[i][t]=hc(r[t],a[t])}}}else n[i]===void 0&&(n[i]=e[i])}return n}var gc=typeof window<`u`?u.useLayoutEffect:u.useEffect,_c=u.createContext(void 0);function vc({value:e,children:t}){return(0,H.jsx)(_c.Provider,{value:e,children:t})}process.env.NODE_ENV!==`production`&&(vc.propTypes={children:D.default.node,value:D.default.object});function yc(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?hc(i.defaultProps,r):!i.styleOverrides&&!i.variants?hc(i,r):r}function bc({props:e,name:t}){return yc({props:e,name:t,theme:{components:u.useContext(_c)}})}var xc={theme:void 0};function Sc(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(xc.theme=r.theme,i=nc(e(xc)),t=i,n=r.theme),i}}function Cc(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 wc=(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])})},Tc=(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)},Ec=(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 Dc(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Tc(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Ec(e,t);Object.assign(i,{[r]:c}),wc(a,e,`var(${r})`,s),wc(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Oc(e,t={}){let{getSelector:n=g,disableCssColorScheme:r,colorSchemeSelector:i}=t,{colorSchemes:a={},components:o,defaultColorScheme:s=`light`,...c}=e,{vars:l,css:u,varsWithDefaults:d}=Dc(c,t),f=d,p={},{[s]:m,...h}=a;if(Object.entries(h||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Dc(n,t);f=q(f,a),p[e]={css:i,vars:r}}),m){let{css:e,vars:n,varsWithDefaults:r}=Dc(m,t);f=q(f,r),p[s]={css:e,vars:n}}function g(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${a[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:f,generateThemeVars:()=>{let e={...l};return Object.entries(p).forEach(([,{vars:t}])=>{e=q(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function o(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}o(n(void 0,{...u}),u);let{[i]:s,...c}=p;if(s){let{css:e}=s,t=a[i]?.palette?.mode,c=!r&&t?{colorScheme:t,...e}:{...e};o(n(i,{...c}),c)}return Object.entries(c).forEach(([e,{css:t}])=>{let i=a[e]?.palette?.mode,s=!r&&i?{colorScheme:i,...t}:{...t};o(n(e,{...s}),s)}),t}}}function kc(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 Ac={black:`#000`,white:`#fff`},jc={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`},Mc={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`},Nc={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`},Pc={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`},Fc={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`},Ic={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`},Lc={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 Rc(){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:Ac.white,default:Ac.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 zc=Rc();function Bc(){return{text:{primary:Ac.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:Ac.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 Vc=Bc();function Hc(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=So(e.main,i):t===`dark`&&(e.dark=xo(e.main,a)))}function Uc(e=`light`){return e===`dark`?{main:Fc[200],light:Fc[50],dark:Fc[400]}:{main:Fc[700],light:Fc[400],dark:Fc[800]}}function Wc(e=`light`){return e===`dark`?{main:Mc[200],light:Mc[50],dark:Mc[400]}:{main:Mc[500],light:Mc[300],dark:Mc[700]}}function Gc(e=`light`){return e===`dark`?{main:Nc[500],light:Nc[300],dark:Nc[700]}:{main:Nc[700],light:Nc[400],dark:Nc[800]}}function Kc(e=`light`){return e===`dark`?{main:Ic[400],light:Ic[300],dark:Ic[700]}:{main:Ic[700],light:Ic[500],dark:Ic[900]}}function qc(e=`light`){return e===`dark`?{main:Lc[400],light:Lc[300],dark:Lc[700]}:{main:Lc[800],light:Lc[500],dark:Lc[900]}}function Jc(e=`light`){return e===`dark`?{main:Pc[400],light:Pc[300],dark:Pc[700]}:{main:`#ed6c02`,light:Pc[500],dark:Pc[900]}}function Yc(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,...i}=e,a=e.primary||Uc(t),o=e.secondary||Wc(t),s=e.error||Gc(t),c=e.info||Kc(t),l=e.success||qc(t),u=e.warning||Jc(t);function d(e){let t=vo(e,Vc.text.primary)>=n?Vc.text.primary:zc.text.primary;if(process.env.NODE_ENV!==`production`){let n=vo(e,t);n<3&&console.error([`MUI: The contrast ratio of ${n}:1 for ${t} on ${e}`,`falls below the WCAG recommended absolute minimum contrast ratio of 3:1.`,`https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast`].join(`
|
|
39
|
+
`))}return t}let f=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:a=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(process.env.NODE_ENV===`production`?so(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`?so(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
|
|
40
|
+
Did you intend to use one of the following approaches?
|
|
41
|
+
|
|
42
|
+
import { green } from "@mui/material/colors";
|
|
43
|
+
|
|
44
|
+
const theme1 = createTheme({ palette: {
|
|
45
|
+
primary: green,
|
|
46
|
+
} });
|
|
47
|
+
|
|
48
|
+
const theme2 = createTheme({ palette: {
|
|
49
|
+
primary: { main: green[500] },
|
|
50
|
+
} });`);return Hc(e,`light`,i,r),Hc(e,`dark`,a,r),e.contrastText||=d(e.main),e},p;return t===`light`?p=Rc():t===`dark`&&(p=Bc()),process.env.NODE_ENV!==`production`&&(p||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),q({common:{...Ac},mode:t,primary:f({color:a,name:`primary`}),secondary:f({color:o,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:f({color:s,name:`error`}),warning:f({color:u,name:`warning`}),info:f({color:c,name:`info`}),success:f({color:l,name:`success`}),grey:jc,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r,...p},i)}function Xc(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 Zc(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function Qc(e){return Math.round(e*1e5)/1e5}var $c={textTransform:`uppercase`},el=`"Roboto", "Helvetica", "Arial", sans-serif`;function tl(e,t){let{fontFamily:n=el,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===el?{letterSpacing:`${Qc(i/t)}em`}:{},...a,...l});return q({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,$c),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,$c),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var nl=.2,rl=.14,il=.12;function Q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${nl})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${rl})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${il})`].join(`,`)}var al=[`none`,Q(0,2,1,-1,0,1,1,0,0,1,3,0),Q(0,3,1,-2,0,2,2,0,0,1,5,0),Q(0,3,3,-2,0,3,4,0,0,1,8,0),Q(0,2,4,-1,0,4,5,0,0,1,10,0),Q(0,3,5,-1,0,5,8,0,0,1,14,0),Q(0,3,5,-1,0,6,10,0,0,1,18,0),Q(0,4,5,-2,0,7,10,1,0,2,16,1),Q(0,5,5,-3,0,8,10,1,0,3,14,2),Q(0,5,6,-3,0,9,12,1,0,3,16,2),Q(0,6,6,-3,0,10,14,1,0,4,18,3),Q(0,6,7,-4,0,11,15,1,0,4,20,3),Q(0,7,8,-4,0,12,17,2,0,5,22,4),Q(0,7,8,-4,0,13,19,2,0,5,24,4),Q(0,7,9,-4,0,14,21,2,0,5,26,4),Q(0,8,9,-5,0,15,22,2,0,6,28,5),Q(0,8,10,-5,0,16,24,2,0,6,30,5),Q(0,8,11,-5,0,17,26,2,0,6,32,5),Q(0,9,11,-5,0,18,28,2,0,7,34,6),Q(0,9,12,-6,0,19,29,2,0,7,36,6),Q(0,10,13,-6,0,20,31,3,0,8,38,7),Q(0,10,13,-6,0,21,33,3,0,8,40,7),Q(0,10,14,-6,0,22,35,3,0,8,42,7),Q(0,11,14,-7,0,23,36,3,0,9,44,8),Q(0,11,15,-7,0,24,38,3,0,9,46,8)],ol={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)`},sl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function cl(e){return`${Math.round(e)}ms`}function ll(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ul(e){let t={...ol,...e.easing},n={...sl,...e.duration};return{getAutoHeightDuration:ll,create:(e=[`all`],r={})=>{let{duration:i=n.standard,easing:a=t.easeInOut,delay:o=0,...s}=r;if(process.env.NODE_ENV!==`production`){let t=e=>typeof e==`string`,n=e=>!Number.isNaN(parseFloat(e));!t(e)&&!Array.isArray(e)&&console.error(`MUI: Argument "props" must be a string or Array.`),!n(i)&&!t(i)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${i}.`),t(a)||console.error(`MUI: Argument "easing" must be a string.`),!n(o)&&!t(o)&&console.error(`MUI: Argument "delay" must be a number or a string.`),typeof r!=`object`&&console.error([`MUI: Secong argument of transition.create must be an object.`,"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
51
|
+
`)),Object.keys(s).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(s).join(`,`)}].`)}return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:cl(i)} ${a} ${typeof o==`string`?o:cl(o)}`).join(`,`)},...e,easing:t,duration:n}}var dl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function fl(e){return Mo(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function pl(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];!fl(a)||i.startsWith(`unstable_`)?delete e[i]:Mo(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
52
|
+
|
|
53
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
54
|
+
|
|
55
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
56
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
57
|
+
|
|
58
|
+
export default theme;`}function ml(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},transitions:o={},typography:s={},shape:c,...l}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(process.env.NODE_ENV===`production`?so(20):"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.");let u=Yc(a),d=Ys(e),f=q(d,{mixins:Zc(d.breakpoints,r),palette:u,shadows:al.slice(),typography:tl(u,s),transitions:ul(o),zIndex:{...dl}});if(f=q(f,l),f=t.reduce((e,t)=>q(e,t),f),process.env.NODE_ENV!==`production`){let e=[`active`,`checked`,`completed`,`disabled`,`error`,`expanded`,`focused`,`focusVisible`,`required`,`selected`],t=(t,n)=>{let r;for(r in t){let i=t[r];if(e.includes(r)&&Object.keys(i).length>0){if(process.env.NODE_ENV!==`production`){let e=Zs(``,r);console.error([`MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,`You can not override it like this: `,JSON.stringify(t,null,2),``,`Instead, you need to use the '&.${e}' syntax:`,JSON.stringify({root:{[`&.${e}`]:i}},null,2),``,`https://mui.com/r/state-classes-guide`].join(`
|
|
59
|
+
`))}t[r]={}}}};Object.keys(f.components).forEach(e=>{let n=f.components[e].styleOverrides;n&&e.startsWith(`Mui`)&&t(n,e)})}return f.unstable_sxConfig={...Fs,...l?.unstable_sxConfig},f.unstable_sx=function(e){return zs({sx:e,theme:this})},f.toRuntimeSource=pl,f}function hl(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var gl=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=hl(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function _l(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function vl(e){return e===`dark`?gl:[]}function yl(e){let{palette:t={mode:`light`},opacity:n,overlays:r,...i}=e,a=Yc(t);return{palette:a,opacity:{..._l(a.mode),...n},overlays:r||vl(a.mode),...i}}function bl(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var xl=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Sl=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 xl(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 Cl(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function $(e,t,n){!e[t]&&n&&(e[t]=n)}function wl(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:go(e)}function Tl(e,t){`${t}Channel`in e||(e[`${t}Channel`]=mo(wl(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
60
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function El(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var Dl=e=>{try{return e()}catch{}},Ol=(e=`mui`)=>Cc(e);function kl(e,t,n,r){if(!t)return;t=t===!0?{}:t;let i=r===`dark`?`dark`:`light`;if(!n){e[r]=yl({...t,palette:{mode:i,...t?.palette}});return}let{palette:a,...o}=ml({...n,palette:{mode:i,...t?.palette}});return e[r]={...t,palette:a,opacity:{..._l(i),...t?.opacity},overlays:t?.overlays||vl(i)},o}function Al(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,shouldSkipGeneratingVar:o=bl,colorSchemeSelector:s=n.light&&n.dark?`media`:void 0,rootSelector:c=`:root`,...l}=e,u=Object.keys(n)[0],d=r||(n.light&&u!==`light`?`light`:u),f=Ol(a),{[d]:p,light:m,dark:h,...g}=n,_={...g},v=p;if((d===`dark`&&!(`dark`in n)||d===`light`&&!(`light`in n))&&(v=!0),!v)throw Error(process.env.NODE_ENV===`production`?so(21,d):`MUI: The \`colorSchemes.${d}\` option is either missing or invalid.`);let y=kl(_,v,l,d);m&&!_.light&&kl(_,m,void 0,`light`),h&&!_.dark&&kl(_,h,void 0,`dark`);let b={defaultColorScheme:d,...y,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:c,getCssVar:f,colorSchemes:_,font:{...Xc(y.typography),...y.font},spacing:El(l.spacing)};Object.keys(b.colorSchemes).forEach(e=>{let t=b.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return f(e,t[r][i])};if(t.mode===`light`&&($(t.common,`background`,`#fff`),$(t.common,`onBackground`,`#000`)),t.mode===`dark`&&($(t.common,`background`,`#000`),$(t.common,`onBackground`,`#fff`)),Cl(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){$(t.Alert,`errorColor`,G(t.error.light,.6)),$(t.Alert,`infoColor`,G(t.info.light,.6)),$(t.Alert,`successColor`,G(t.success.light,.6)),$(t.Alert,`warningColor`,G(t.warning.light,.6)),$(t.Alert,`errorFilledBg`,n(`palette-error-main`)),$(t.Alert,`infoFilledBg`,n(`palette-info-main`)),$(t.Alert,`successFilledBg`,n(`palette-success-main`)),$(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),$(t.Alert,`errorFilledColor`,Dl(()=>t.getContrastText(t.error.main))),$(t.Alert,`infoFilledColor`,Dl(()=>t.getContrastText(t.info.main))),$(t.Alert,`successFilledColor`,Dl(()=>t.getContrastText(t.success.main))),$(t.Alert,`warningFilledColor`,Dl(()=>t.getContrastText(t.warning.main))),$(t.Alert,`errorStandardBg`,K(t.error.light,.9)),$(t.Alert,`infoStandardBg`,K(t.info.light,.9)),$(t.Alert,`successStandardBg`,K(t.success.light,.9)),$(t.Alert,`warningStandardBg`,K(t.warning.light,.9)),$(t.Alert,`errorIconColor`,n(`palette-error-main`)),$(t.Alert,`infoIconColor`,n(`palette-info-main`)),$(t.Alert,`successIconColor`,n(`palette-success-main`)),$(t.Alert,`warningIconColor`,n(`palette-warning-main`)),$(t.AppBar,`defaultBg`,n(`palette-grey-100`)),$(t.Avatar,`defaultBg`,n(`palette-grey-400`)),$(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),$(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),$(t.Chip,`defaultBorder`,n(`palette-grey-400`)),$(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),$(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),$(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),$(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),$(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),$(t.LinearProgress,`primaryBg`,K(t.primary.main,.62)),$(t.LinearProgress,`secondaryBg`,K(t.secondary.main,.62)),$(t.LinearProgress,`errorBg`,K(t.error.main,.62)),$(t.LinearProgress,`infoBg`,K(t.info.main,.62)),$(t.LinearProgress,`successBg`,K(t.success.main,.62)),$(t.LinearProgress,`warningBg`,K(t.warning.main,.62)),$(t.Skeleton,`bg`,`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),$(t.Slider,`primaryTrack`,K(t.primary.main,.62)),$(t.Slider,`secondaryTrack`,K(t.secondary.main,.62)),$(t.Slider,`errorTrack`,K(t.error.main,.62)),$(t.Slider,`infoTrack`,K(t.info.main,.62)),$(t.Slider,`successTrack`,K(t.success.main,.62)),$(t.Slider,`warningTrack`,K(t.warning.main,.62));let e=wo(t.background.default,.8);$(t.SnackbarContent,`bg`,e),$(t.SnackbarContent,`color`,Dl(()=>t.getContrastText(e))),$(t.SpeedDialAction,`fabHoverBg`,wo(t.background.paper,.15)),$(t.StepConnector,`border`,n(`palette-grey-400`)),$(t.StepContent,`border`,n(`palette-grey-400`)),$(t.Switch,`defaultColor`,n(`palette-common-white`)),$(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),$(t.Switch,`primaryDisabledColor`,K(t.primary.main,.62)),$(t.Switch,`secondaryDisabledColor`,K(t.secondary.main,.62)),$(t.Switch,`errorDisabledColor`,K(t.error.main,.62)),$(t.Switch,`infoDisabledColor`,K(t.info.main,.62)),$(t.Switch,`successDisabledColor`,K(t.success.main,.62)),$(t.Switch,`warningDisabledColor`,K(t.warning.main,.62)),$(t.TableCell,`border`,K(bo(t.divider,1),.88)),$(t.Tooltip,`bg`,bo(t.grey[700],.92))}if(t.mode===`dark`){$(t.Alert,`errorColor`,K(t.error.light,.6)),$(t.Alert,`infoColor`,K(t.info.light,.6)),$(t.Alert,`successColor`,K(t.success.light,.6)),$(t.Alert,`warningColor`,K(t.warning.light,.6)),$(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),$(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),$(t.Alert,`successFilledBg`,n(`palette-success-dark`)),$(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),$(t.Alert,`errorFilledColor`,Dl(()=>t.getContrastText(t.error.dark))),$(t.Alert,`infoFilledColor`,Dl(()=>t.getContrastText(t.info.dark))),$(t.Alert,`successFilledColor`,Dl(()=>t.getContrastText(t.success.dark))),$(t.Alert,`warningFilledColor`,Dl(()=>t.getContrastText(t.warning.dark))),$(t.Alert,`errorStandardBg`,G(t.error.light,.9)),$(t.Alert,`infoStandardBg`,G(t.info.light,.9)),$(t.Alert,`successStandardBg`,G(t.success.light,.9)),$(t.Alert,`warningStandardBg`,G(t.warning.light,.9)),$(t.Alert,`errorIconColor`,n(`palette-error-main`)),$(t.Alert,`infoIconColor`,n(`palette-info-main`)),$(t.Alert,`successIconColor`,n(`palette-success-main`)),$(t.Alert,`warningIconColor`,n(`palette-warning-main`)),$(t.AppBar,`defaultBg`,n(`palette-grey-900`)),$(t.AppBar,`darkBg`,n(`palette-background-paper`)),$(t.AppBar,`darkColor`,n(`palette-text-primary`)),$(t.Avatar,`defaultBg`,n(`palette-grey-600`)),$(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),$(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),$(t.Chip,`defaultBorder`,n(`palette-grey-700`)),$(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),$(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),$(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),$(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),$(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),$(t.LinearProgress,`primaryBg`,G(t.primary.main,.5)),$(t.LinearProgress,`secondaryBg`,G(t.secondary.main,.5)),$(t.LinearProgress,`errorBg`,G(t.error.main,.5)),$(t.LinearProgress,`infoBg`,G(t.info.main,.5)),$(t.LinearProgress,`successBg`,G(t.success.main,.5)),$(t.LinearProgress,`warningBg`,G(t.warning.main,.5)),$(t.Skeleton,`bg`,`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),$(t.Slider,`primaryTrack`,G(t.primary.main,.5)),$(t.Slider,`secondaryTrack`,G(t.secondary.main,.5)),$(t.Slider,`errorTrack`,G(t.error.main,.5)),$(t.Slider,`infoTrack`,G(t.info.main,.5)),$(t.Slider,`successTrack`,G(t.success.main,.5)),$(t.Slider,`warningTrack`,G(t.warning.main,.5));let e=wo(t.background.default,.98);$(t.SnackbarContent,`bg`,e),$(t.SnackbarContent,`color`,Dl(()=>t.getContrastText(e))),$(t.SpeedDialAction,`fabHoverBg`,wo(t.background.paper,.15)),$(t.StepConnector,`border`,n(`palette-grey-600`)),$(t.StepContent,`border`,n(`palette-grey-600`)),$(t.Switch,`defaultColor`,n(`palette-grey-300`)),$(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),$(t.Switch,`primaryDisabledColor`,G(t.primary.main,.55)),$(t.Switch,`secondaryDisabledColor`,G(t.secondary.main,.55)),$(t.Switch,`errorDisabledColor`,G(t.error.main,.55)),$(t.Switch,`infoDisabledColor`,G(t.info.main,.55)),$(t.Switch,`successDisabledColor`,G(t.success.main,.55)),$(t.Switch,`warningDisabledColor`,G(t.warning.main,.55)),$(t.TableCell,`border`,G(bo(t.divider,1),.68)),$(t.Tooltip,`bg`,bo(t.grey[700],.92))}Tl(t.background,`default`),Tl(t.background,`paper`),Tl(t.common,`background`),Tl(t.common,`onBackground`),Tl(t,`divider`),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&n&&typeof n==`object`&&(n.main&&$(t[e],`mainChannel`,mo(wl(n.main))),n.light&&$(t[e],`lightChannel`,mo(wl(n.light))),n.dark&&$(t[e],`darkChannel`,mo(wl(n.dark))),n.contrastText&&$(t[e],`contrastTextChannel`,mo(wl(n.contrastText))),e===`text`&&(Tl(t[e],`primary`),Tl(t[e],`secondary`)),e===`action`&&(n.active&&Tl(t[e],`active`),n.selected&&Tl(t[e],`selected`)))})}),b=t.reduce((e,t)=>q(e,t),b);let x={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:o,getSelector:Sl(b)},{vars:S,generateThemeVars:C,generateStyleSheets:w}=Oc(b,x);return b.vars=S,Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([e,t])=>{b[e]=t}),b.generateThemeVars=C,b.generateStyleSheets=w,b.generateSpacing=function(){return qs(l.spacing,rs(this))},b.getColorSchemeSelector=kc(s),b.spacing=b.generateSpacing(),b.shouldSkipGeneratingVar=o,b.unstable_sxConfig={...Fs,...l?.unstable_sxConfig},b.unstable_sx=function(e){return zs({sx:e,theme:this})},b.toRuntimeSource=pl,b}function jl(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Yc({...n===!0?{}:n.palette,mode:t})})}function Ml(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 ml(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=ml({...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},jl(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},jl(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Al({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}var Nl=Ml(),Pl=`$$material`;function Fl(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Il=lc({themeId:Pl,defaultTheme:Nl,rootShouldForwardProp:e=>Fl(e)&&e!==`classes`}),Ll=Sc;function Rl(e){return(0,H.jsx)(vc,{...e})}process.env.NODE_ENV!==`production`&&(Rl.propTypes={children:D.default.node,value:D.default.object.isRequired});function zl(e){return bc(e)}var Bl=0;function Vl(e){let[t,n]=u.useState(e),r=e||t;return u.useEffect(()=>{t??(Bl+=1,n(`mui-${Bl}`))},[t]),r}var Hl={...u}.useId;function Ul(e){if(Hl!==void 0){let t=Hl();return e??t}return Vl(e)}var Wl=Ul;function Gl(e){let t=u.useRef(e);return gc(()=>{t.current=e}),u.useRef((...e)=>(0,t.current)(...e)).current}var Kl=Gl;function ql(...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 Jl=ql;function Yl(e){return typeof e.main==`string`}function Xl(e,t=[]){if(!Yl(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function Zl(e=[]){return([,t])=>t&&Xl(t,e)}var Ql=D.default.oneOfType([D.default.func,D.default.object]);function $l(e){let{prototype:t={}}=e;return!!t.isReactComponent}function eu(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`&&!$l(a)&&(s=`Did you accidentally provide a plain function component instead?`),s===void 0?null:Error(`Invalid ${r} \`${o}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`)}var tu=ao(D.default.elementType,eu);function nu(e){try{return e.matches(`:focus-visible`)}catch{process.env.NODE_ENV!==`production`&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.",`Some components rely on this feature to work properly.`].join(`
|
|
61
|
+
`))}return!1}var ru={};function iu(e,t){let n=u.useRef(ru);return n.current===ru&&(n.current=e(t)),n}var au=class e{static create(){return new e}static use(){let t=iu(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=su(),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 ou(){return au.use()}function su(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function cu(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 lu(e,t){return lu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lu(e,t)}function uu(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,lu(e,t)}var du=u.default.createContext(null);function fu(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function pu(e,t){var n=function(e){return t&&(0,u.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&u.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function mu(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 hu(e,t,n){return n[t]==null?e.props[t]:n[t]}function gu(e,t){return pu(e.children,function(n){return(0,u.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:hu(n,`appear`,e),enter:hu(n,`enter`,e),exit:hu(n,`exit`,e)})})}function _u(e,t,n){var r=pu(e.children),i=mu(t,r);return Object.keys(i).forEach(function(a){var o=i[a];if((0,u.isValidElement)(o)){var s=a in t,c=a in r,l=t[a],d=(0,u.isValidElement)(l)&&!l.props.in;c&&(!s||d)?i[a]=(0,u.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:hu(o,`exit`,e),enter:hu(o,`enter`,e)}):!c&&s&&!d?i[a]=(0,u.cloneElement)(o,{in:!1}):c&&s&&(0,u.isValidElement)(l)&&(i[a]=(0,u.cloneElement)(o,{onExited:n.bind(null,o),in:l.props.in,exit:hu(o,`exit`,e),enter:hu(o,`enter`,e)}))}}),i}var vu=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},yu={component:`div`,childFactory:function(e){return e}},bu=function(e){uu(t,e);function t(t,n){var r=e.call(this,t,n)||this;return r.state={contextValue:{isMounting:!0},handleExited:r.handleExited.bind(fu(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?gu(e,r):_u(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=pu(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=kt({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=cu(e,[`component`,`childFactory`]),i=this.state.contextValue,a=vu(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?u.default.createElement(du.Provider,{value:i},a):u.default.createElement(du.Provider,{value:i},u.default.createElement(t,r,a))},t}(u.default.Component);bu.propTypes=process.env.NODE_ENV===`production`?{}:{component:D.default.any,children:D.default.node,appear:D.default.bool,enter:D.default.bool,exit:D.default.bool,childFactory:D.default.func},bu.defaultProps=yu;var xu=[];function Su(e){u.useEffect(e,xu)}var Cu=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 wu(){let e=iu(Cu.create).current;return Su(e.disposeEffect),e}function Tu(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:o,in:s,onExited:c,timeout:l}=e,[d,f]=u.useState(!1),p=S(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:o,height:o,top:-(o/2)+a,left:-(o/2)+i},h=S(n.child,d&&n.childLeaving,r&&n.childPulsate);return!s&&!d&&f(!0),u.useEffect(()=>{if(!s&&c!=null){let e=setTimeout(c,l);return()=>{clearTimeout(e)}}},[c,s,l]),(0,H.jsx)(`span`,{className:p,style:m,children:(0,H.jsx)(`span`,{className:h})})}process.env.NODE_ENV!==`production`&&(Tu.propTypes={classes:D.default.object.isRequired,className:D.default.string,in:D.default.bool,onExited:D.default.func,pulsate:D.default.bool,rippleSize:D.default.number,rippleX:D.default.number,rippleY:D.default.number,timeout:D.default.number.isRequired});var Eu=Qs(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Du=550,Ou=vr`
|
|
62
|
+
0% {
|
|
63
|
+
transform: scale(0);
|
|
64
|
+
opacity: 0.1;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
100% {
|
|
68
|
+
transform: scale(1);
|
|
69
|
+
opacity: 0.3;
|
|
70
|
+
}
|
|
71
|
+
`,ku=vr`
|
|
72
|
+
0% {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
100% {
|
|
77
|
+
opacity: 0;
|
|
78
|
+
}
|
|
79
|
+
`,Au=vr`
|
|
80
|
+
0% {
|
|
81
|
+
transform: scale(1);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
50% {
|
|
85
|
+
transform: scale(0.92);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
100% {
|
|
89
|
+
transform: scale(1);
|
|
90
|
+
}
|
|
91
|
+
`,ju=Il(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),Mu=Il(Tu,{name:`MuiTouchRipple`,slot:`Ripple`})`
|
|
92
|
+
opacity: 0;
|
|
93
|
+
position: absolute;
|
|
94
|
+
|
|
95
|
+
&.${Eu.rippleVisible} {
|
|
96
|
+
opacity: 0.3;
|
|
97
|
+
transform: scale(1);
|
|
98
|
+
animation-name: ${Ou};
|
|
99
|
+
animation-duration: ${Du}ms;
|
|
100
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&.${Eu.ripplePulsate} {
|
|
104
|
+
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
& .${Eu.child} {
|
|
108
|
+
opacity: 1;
|
|
109
|
+
display: block;
|
|
110
|
+
width: 100%;
|
|
111
|
+
height: 100%;
|
|
112
|
+
border-radius: 50%;
|
|
113
|
+
background-color: currentColor;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
& .${Eu.childLeaving} {
|
|
117
|
+
opacity: 0;
|
|
118
|
+
animation-name: ${ku};
|
|
119
|
+
animation-duration: ${Du}ms;
|
|
120
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
& .${Eu.childPulsate} {
|
|
124
|
+
position: absolute;
|
|
125
|
+
/* @noflip */
|
|
126
|
+
left: 0px;
|
|
127
|
+
top: 0;
|
|
128
|
+
animation-name: ${Au};
|
|
129
|
+
animation-duration: 2500ms;
|
|
130
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
131
|
+
animation-iteration-count: infinite;
|
|
132
|
+
animation-delay: 200ms;
|
|
133
|
+
}
|
|
134
|
+
`,Nu=u.forwardRef(function(e,t){let{center:n=!1,classes:r={},className:i,...a}=zl({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 d=u.useRef(!1),f=wu(),p=u.useRef(null),m=u.useRef(null),h=u.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:i,rippleSize:a,cb:o}=e;s(e=>[...e,(0,H.jsx)(Mu,{classes:{ripple:S(r.ripple,Eu.ripple),rippleVisible:S(r.rippleVisible,Eu.rippleVisible),ripplePulsate:S(r.ripplePulsate,Eu.ripplePulsate),child:S(r.child,Eu.child),childLeaving:S(r.childLeaving,Eu.childLeaving),childPulsate:S(r.childPulsate,Eu.childPulsate)},timeout:Du,pulsate:t,rippleX:n,rippleY:i,rippleSize:a},c.current)]),c.current+=1,l.current=o},[r]),g=u.useCallback((e={},t={},r=()=>{})=>{let{pulsate:i=!1,center:a=n||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&d.current){d.current=!1;return}e?.type===`touchstart`&&(d.current=!0);let s=o?null:m.current,c=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},l,u,g;if(a||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)l=Math.round(c.width/2),u=Math.round(c.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;l=Math.round(t-c.left),u=Math.round(n-c.top)}if(a)g=Math.sqrt((2*c.width**2+c.height**2)/3),g%2==0&&(g+=1);else{let e=Math.max(Math.abs((s?s.clientWidth:0)-l),l)*2+2,t=Math.max(Math.abs((s?s.clientHeight:0)-u),u)*2+2;g=Math.sqrt(e**2+t**2)}e?.touches?p.current===null&&(p.current=()=>{h({pulsate:i,rippleX:l,rippleY:u,rippleSize:g,cb:r})},f.start(80,()=>{p.current&&=(p.current(),null)})):h({pulsate:i,rippleX:l,rippleY:u,rippleSize:g,cb:r})},[n,h,f]),_=u.useCallback(()=>{g({},{pulsate:!0})},[g]),v=u.useCallback((e,t)=>{if(f.clear(),e?.type===`touchend`&&p.current){p.current(),p.current=null,f.start(0,()=>{v(e,t)});return}p.current=null,s(e=>e.length>0?e.slice(1):e),l.current=t},[f]);return u.useImperativeHandle(t,()=>({pulsate:_,start:g,stop:v}),[_,g,v]),(0,H.jsx)(ju,{className:S(Eu.root,r.root,i),ref:m,...a,children:(0,H.jsx)(bu,{component:null,exit:!0,children:o})})});process.env.NODE_ENV!==`production`&&(Nu.propTypes={center:D.default.bool,classes:D.default.object,className:D.default.string});function Pu(e){return Zs(`MuiButtonBase`,e)}var Fu=Qs(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),Iu=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a=oo({root:[`root`,t&&`disabled`,n&&`focusVisible`]},Pu,i);return n&&r&&(a.root+=` ${r}`),a},Lu=Il(`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`},[`&.${Fu.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),Ru=u.forwardRef(function(e,t){let n=zl({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:o,component:s=`button`,disabled:c=!1,disableRipple:l=!1,disableTouchRipple:d=!1,focusRipple:f=!1,focusVisibleClassName:p,LinkComponent:m=`a`,onBlur:h,onClick:g,onContextMenu:_,onDragLeave:v,onFocus:y,onFocusVisible:b,onKeyDown:x,onKeyUp:C,onMouseDown:w,onMouseLeave:ee,onMouseUp:te,onTouchEnd:ne,onTouchMove:re,onTouchStart:ie,tabIndex:ae=0,TouchRippleProps:oe,touchRippleRef:T,type:se,...E}=n,ce=u.useRef(null),D=ou(),le=Jl(D.ref,T),[ue,de]=u.useState(!1);c&&ue&&de(!1),u.useImperativeHandle(r,()=>({focusVisible:()=>{de(!0),ce.current.focus()}}),[]);let fe=D.shouldMount&&!l&&!c;u.useEffect(()=>{ue&&f&&!l&&D.pulsate()},[l,f,ue,D]);let pe=zu(D,`start`,w,d),me=zu(D,`stop`,_,d),he=zu(D,`stop`,v,d),O=zu(D,`stop`,te,d),ge=zu(D,`stop`,e=>{ue&&e.preventDefault(),ee&&ee(e)},d),_e=zu(D,`start`,ie,d),ve=zu(D,`stop`,ne,d),ye=zu(D,`stop`,re,d),be=zu(D,`stop`,e=>{nu(e.target)||de(!1),h&&h(e)},!1),xe=Kl(e=>{ce.current||=e.currentTarget,nu(e.target)&&(de(!0),b&&b(e)),y&&y(e)}),Se=()=>{let e=ce.current;return s&&s!==`button`&&!(e.tagName===`A`&&e.href)},Ce=Kl(e=>{f&&!e.repeat&&ue&&e.key===` `&&D.stop(e,()=>{D.start(e)}),e.target===e.currentTarget&&Se()&&e.key===` `&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&Se()&&e.key===`Enter`&&!c&&(e.preventDefault(),g&&g(e))}),we=Kl(e=>{f&&e.key===` `&&ue&&!e.defaultPrevented&&D.stop(e,()=>{D.pulsate(e)}),C&&C(e),g&&e.target===e.currentTarget&&Se()&&e.key===` `&&!e.defaultPrevented&&g(e)}),Te=s;Te===`button`&&(E.href||E.to)&&(Te=m);let Ee={};Te===`button`?(Ee.type=se===void 0?`button`:se,Ee.disabled=c):(!E.href&&!E.to&&(Ee.role=`button`),c&&(Ee[`aria-disabled`]=c));let De=Jl(t,ce),Oe={...n,centerRipple:i,component:s,disabled:c,disableRipple:l,disableTouchRipple:d,focusRipple:f,tabIndex:ae,focusVisible:ue},ke=Iu(Oe);return(0,H.jsxs)(Lu,{as:Te,className:S(ke.root,o),ownerState:Oe,onBlur:be,onClick:g,onContextMenu:me,onFocus:xe,onKeyDown:Ce,onKeyUp:we,onMouseDown:pe,onMouseLeave:ge,onMouseUp:O,onDragLeave:he,onTouchEnd:ve,onTouchMove:ye,onTouchStart:_e,ref:De,tabIndex:c?-1:ae,type:se,...Ee,...E,children:[a,fe?(0,H.jsx)(Nu,{ref:le,center:i,...oe}):null]})});function zu(e,t,n,r=!1){return Kl(i=>(n&&n(i),r||e[t](i),!0))}process.env.NODE_ENV!==`production`&&(Ru.propTypes={action:Ql,centerRipple:D.default.bool,children:D.default.node,classes:D.default.object,className:D.default.string,component:tu,disabled:D.default.bool,disableRipple:D.default.bool,disableTouchRipple:D.default.bool,focusRipple:D.default.bool,focusVisibleClassName:D.default.string,href:D.default.any,LinkComponent:D.default.elementType,onBlur:D.default.func,onClick:D.default.func,onContextMenu:D.default.func,onDragLeave:D.default.func,onFocus:D.default.func,onFocusVisible:D.default.func,onKeyDown:D.default.func,onKeyUp:D.default.func,onMouseDown:D.default.func,onMouseLeave:D.default.func,onMouseUp:D.default.func,onTouchEnd:D.default.func,onTouchMove:D.default.func,onTouchStart:D.default.func,sx:D.default.oneOfType([D.default.arrayOf(D.default.oneOfType([D.default.func,D.default.object,D.default.bool])),D.default.func,D.default.object]),tabIndex:D.default.number,TouchRippleProps:D.default.object,touchRippleRef:D.default.oneOfType([D.default.func,D.default.shape({current:D.default.shape({pulsate:D.default.func.isRequired,start:D.default.func.isRequired,stop:D.default.func.isRequired})})]),type:D.default.oneOfType([D.default.oneOf([`button`,`reset`,`submit`]),D.default.string])});function Bu(e){return Zs(`MuiCircularProgress`,e)}Qs(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`circle`,`circleDeterminate`,`circleIndeterminate`,`circleDisableShrink`]);var Vu=44,Hu=vr`
|
|
135
|
+
0% {
|
|
136
|
+
transform: rotate(0deg);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
100% {
|
|
140
|
+
transform: rotate(360deg);
|
|
141
|
+
}
|
|
142
|
+
`,Uu=vr`
|
|
143
|
+
0% {
|
|
144
|
+
stroke-dasharray: 1px, 200px;
|
|
145
|
+
stroke-dashoffset: 0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
50% {
|
|
149
|
+
stroke-dasharray: 100px, 200px;
|
|
150
|
+
stroke-dashoffset: -15px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
100% {
|
|
154
|
+
stroke-dasharray: 1px, 200px;
|
|
155
|
+
stroke-dashoffset: -126px;
|
|
156
|
+
}
|
|
157
|
+
`,Wu=typeof Hu==`string`?null:_r`
|
|
158
|
+
animation: ${Hu} 1.4s linear infinite;
|
|
159
|
+
`,Gu=typeof Uu==`string`?null:_r`
|
|
160
|
+
animation: ${Uu} 1.4s ease-in-out infinite;
|
|
161
|
+
`,Ku=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return oo({root:[`root`,n,`color${Oo(r)}`],svg:[`svg`],circle:[`circle`,`circle${Oo(n)}`,i&&`circleDisableShrink`]},Bu,t)},qu=Il(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Oo(n.color)}`]]}})(Ll(({theme:e})=>({display:`inline-block`,variants:[{props:{variant:`determinate`},style:{transition:e.transitions.create(`transform`)}},{props:{variant:`indeterminate`},style:Wu||{animation:`${Hu} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Zl()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Ju=Il(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Yu=Il(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,t[`circle${Oo(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(Ll(({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:Gu||{animation:`${Uu} 1.4s ease-in-out infinite`}}]}))),Xu=u.forwardRef(function(e,t){let n=zl({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:a=!1,size:o=40,style:s,thickness:c=3.6,value:l=0,variant:u=`indeterminate`,...d}=n,f={...n,color:i,disableShrink:a,size:o,thickness:c,value:l,variant:u},p=Ku(f),m={},h={},g={};if(u===`determinate`){let e=2*Math.PI*((Vu-c)/2);m.strokeDasharray=e.toFixed(3),g[`aria-valuenow`]=Math.round(l),m.strokeDashoffset=`${((100-l)/100*e).toFixed(3)}px`,h.transform=`rotate(-90deg)`}return(0,H.jsx)(qu,{className:S(p.root,r),style:{width:o,height:o,...h,...s},ownerState:f,ref:t,role:`progressbar`,...g,...d,children:(0,H.jsx)(Ju,{className:p.svg,ownerState:f,viewBox:`${Vu/2} ${Vu/2} ${Vu} ${Vu}`,children:(0,H.jsx)(Yu,{className:p.circle,style:m,ownerState:f,cx:Vu,cy:Vu,r:(Vu-c)/2,fill:`none`,strokeWidth:c})})})});process.env.NODE_ENV!==`production`&&(Xu.propTypes={classes:D.default.object,className:D.default.string,color:D.default.oneOfType([D.default.oneOf([`inherit`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),D.default.string]),disableShrink:ao(D.default.bool,e=>e.disableShrink&&e.variant&&e.variant!==`indeterminate`?Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:D.default.oneOfType([D.default.number,D.default.string]),style:D.default.object,sx:D.default.oneOfType([D.default.arrayOf(D.default.oneOfType([D.default.func,D.default.object,D.default.bool])),D.default.func,D.default.object]),thickness:D.default.number,value:D.default.number,variant:D.default.oneOf([`determinate`,`indeterminate`])});function Zu(e){return Zs(`MuiIconButton`,e)}var Qu=Qs(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`loading`,`loadingIndicator`,`loadingWrapper`]),$u=e=>{let{classes:t,disabled:n,color:r,edge:i,size:a,loading:o}=e;return oo({root:[`root`,o&&`loading`,n&&`disabled`,r!==`default`&&`color${Oo(r)}`,i&&`edge${Oo(i)}`,`size${Oo(a)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},Zu,t)},ed=Il(Ru,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!==`default`&&t[`color${Oo(n.color)}`],n.edge&&t[`edge${Oo(n.edge)}`],t[`size${Oo(n.size)}`]]}})(Ll(({theme:e})=>({textAlign:`center`,flex:`0 0 auto`,fontSize:e.typography.pxToRem(24),padding:8,borderRadius:`50%`,color:(e.vars||e).palette.action.active,transition:e.transitions.create(`background-color`,{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:yo(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:`var(--IconButton-hoverBg)`,"@media (hover: none)":{backgroundColor:`transparent`}}}},{props:{edge:`start`},style:{marginLeft:-12}},{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:{edge:`end`},style:{marginRight:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}}]})),Ll(({theme:e})=>({variants:[{props:{color:`inherit`},style:{color:`inherit`}},...Object.entries(e.palette).filter(Zl()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Zl()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:yo((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:`small`},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:`large`},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Qu.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled},[`&.${Qu.loading}`]:{color:`transparent`}}))),td=Il(`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`}}]})),nd=u.forwardRef(function(e,t){let n=zl({props:e,name:`MuiIconButton`}),{edge:r=!1,children:i,className:a,color:o=`default`,disabled:s=!1,disableFocusRipple:c=!1,size:l=`medium`,id:u,loading:d=null,loadingIndicator:f,...p}=n,m=Wl(u),h=f??(0,H.jsx)(Xu,{"aria-labelledby":m,color:`inherit`,size:16}),g={...n,edge:r,color:o,disabled:s,disableFocusRipple:c,loading:d,loadingIndicator:h,size:l},_=$u(g);return(0,H.jsxs)(ed,{id:d?m:u,className:S(_.root,a),centerRipple:!0,focusRipple:!c,disabled:s||d,ref:t,...p,ownerState:g,children:[typeof d==`boolean`&&(0,H.jsx)(`span`,{className:_.loadingWrapper,style:{display:`contents`},children:(0,H.jsx)(td,{className:_.loadingIndicator,ownerState:g,children:d&&h})}),i]})});process.env.NODE_ENV!==`production`&&(nd.propTypes={children:ao(D.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(`
|
|
162
|
+
`)):null),classes:D.default.object,className:D.default.string,color:D.default.oneOfType([D.default.oneOf([`inherit`,`default`,`primary`,`secondary`,`error`,`info`,`success`,`warning`]),D.default.string]),disabled:D.default.bool,disableFocusRipple:D.default.bool,disableRipple:D.default.bool,edge:D.default.oneOf([`end`,`start`,!1]),id:D.default.string,loading:D.default.bool,loadingIndicator:D.default.node,size:D.default.oneOfType([D.default.oneOf([`small`,`medium`,`large`]),D.default.string]),sx:D.default.oneOfType([D.default.arrayOf(D.default.oneOfType([D.default.func,D.default.object,D.default.bool])),D.default.func,D.default.object])});function rd(e){let t=()=>{e.onClose?.()},n={backgroundColor:e=>e.palette.primary.main,color:`#fff`,position:`relative`,paddingRight:7,height:e.height??40,display:`flex`,alignItems:`center`,boxSizing:`border-box`,...e.sx||{}};return(0,H.jsxs)(l.DialogTitle,{"data-testid":`dialog-title`,sx:n,children:[e.title,(0,H.jsx)(nd,{"aria-label":e.closeButtonAriaLabel??`Close dialog`,onClick:()=>t(),sx:{position:`absolute`,right:8,top:`50%`,transform:`translateY(-50%)`,color:`#fff`},children:(0,H.jsx)(io,{})})]})}var id=(0,u.createContext)(null),ad=()=>{let e=(0,u.useContext)(id);if(!e)throw Error(`useMessageDialog must be used within a MessageDialogProvider`);return e},od={okText:`OK`,cancelText:`Cancel`,alertTitle:`Alert`,confirmTitle:`Confirm`,errorTitle:`Error`,closeButtonAriaLabel:`Close dialog`,titleHeight:40},sd=e=>{let t=(0,u.useMemo)(()=>({...od,...e.settings??{}}),[e.settings]),n=(0,u.useMemo)(()=>({backgroundColor:e=>e.palette.primary.main,color:`#fff`}),[]),[r,i]=(0,u.useState)(!1),[a,o]=(0,u.useState)(``),[s,c]=(0,u.useState)(!1),[d,f]=(0,u.useState)(n),[p,m]=(0,u.useState)(t.alertTitle),[h,g]=(0,u.useState)(t.okText),[_,v]=(0,u.useState)(t.cancelText),y=(0,u.useRef)(null),b=(0,u.useCallback)(e=>{let t=y.current;y.current=null,t?.(e)},[]),x=(0,u.useCallback)(e=>{i(!1),b(e)},[b]),S=(0,u.useCallback)(e=>(y.current&&b(!1),o(e??``),i(!0),new Promise(e=>{y.current=e})),[b]),C=(0,u.useCallback)((e,r)=>(m(t.confirmTitle),g(r?.okText??t.okText),v(r?.cancelText??t.cancelText),c(!0),f(n),S(e)),[n,t]),w=(0,u.useCallback)(e=>(m(t.alertTitle),g(t.okText),c(!1),f(n),S(e)),[n,t]),ee=(0,u.useCallback)(e=>(m(t.errorTitle),g(t.okText),c(!1),f({backgroundColor:e=>e.palette.error.main,color:`#fff`}),S(e)),[t]),te=(e,t)=>{t!==`backdropClick`&&x(!1)},ne=(0,u.useMemo)(()=>({error:ee,alert:w,confirm:C}),[ee,w,C]);return(0,u.useEffect)(()=>{let e=e=>{y.current&&x(!1)};return window.addEventListener(`popstate`,e),()=>{window.removeEventListener(`popstate`,e)}},[x]),(0,u.useEffect)(()=>()=>{y.current&&b(!1)},[b]),(0,H.jsx)(H.Fragment,{children:(0,H.jsxs)(id.Provider,{value:ne,children:[e.children,(0,H.jsxs)(l.Dialog,{"data-testid":`message-dialog`,open:r,onClose:te,children:[(0,H.jsx)(rd,{title:p,onClose:()=>x(!1),height:t.titleHeight,sx:d,closeButtonAriaLabel:t.closeButtonAriaLabel}),(0,H.jsx)(l.DialogContent,{dividers:!0,sx:{whiteSpace:`pre-line`},children:a}),(0,H.jsxs)(l.DialogActions,{sx:{display:`flex`,justifyContent:`space-between`,paddingLeft:3,paddingRight:3},children:[(0,H.jsx)(`div`,{style:{flex:1,display:`flex`,justifyContent:s?`flex-start`:`center`},children:(0,H.jsx)(l.Button,{"data-testid":`message-dialog-ok-button`,onClick:()=>x(!0),sx:d,autoFocus:!0,children:h})}),s&&(0,H.jsx)(`div`,{style:{flex:1,display:`flex`,justifyContent:`flex-end`},children:(0,H.jsx)(l.Button,{"data-testid":`message-dialog-cancel-button`,onClick:()=>x(!1),variant:`outlined`,children:_})})]})]})]})})};exports.DialogTitleEx=rd,exports.MessageDialogProvider=sd,exports.useMessageDialog=ad;
|