@jhelom/react-mui-message-dialog 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{src/DialogTitleEx.d.ts → DialogTitleEx.d.ts} +0 -2
- package/dist/{src/MessageDialog.d.ts → MessageDialog.d.ts} +7 -2
- package/dist/{src/MessageDialogContext.d.ts → MessageDialogContext.d.ts} +1 -4
- package/dist/index.cjs.js +251 -0
- package/dist/{src/index.d.ts → index.d.ts} +1 -1
- package/dist/index.es.js +9079 -0
- package/dist/index.umd.js +251 -0
- package/package.json +10 -27
- package/dist/index.cjs +0 -162
- package/dist/index.mjs +0 -7477
- package/dist/src/MessageDialog.test.d.ts +0 -1
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
(function(Te,U){typeof exports=="object"&&typeof module<"u"?U(exports,require("react"),require("@mui/material")):typeof define=="function"&&define.amd?define(["exports","react","@mui/material"],U):(Te=typeof globalThis<"u"?globalThis:Te||self,U(Te.UiLib1={},Te.React,Te.MaterialUI))})(this,function(Te,U,Ve){"use strict";var Kd=Object.defineProperty;var qd=(Te,U,Ve)=>U in Te?Kd(Te,U,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Te[U]=Ve;var tr=(Te,U,Ve)=>qd(Te,typeof U!="symbol"?U+"":U,Ve);function ba(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const M=ba(U);function va(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var en={exports:{}},At={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var oo;function Sa(){if(oo)return At;oo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var a=null;if(i!==void 0&&(a=""+i),o.key!==void 0&&(a=""+o.key),"key"in o){i={};for(var s in o)s!=="key"&&(i[s]=o[s])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:i}}return At.Fragment=t,At.jsx=r,At.jsxs=r,At}var Rt={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var io;function $a(){return io||(io=1,process.env.NODE_ENV!=="production"&&function(){function e(b){if(b==null)return null;if(typeof b=="function")return b.$$typeof===f?null:b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case c:return"Fragment";case w:return"Profiler";case v:return"StrictMode";case C:return"Suspense";case O:return"SuspenseList";case Y:return"Activity"}if(typeof b=="object")switch(typeof b.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case y:return"Portal";case R:return(b.displayName||"Context")+".Provider";case P:return(b._context.displayName||"Context")+".Consumer";case $:var k=b.render;return b=b.displayName,b||(b=k.displayName||k.name||"",b=b!==""?"ForwardRef("+b+")":"ForwardRef"),b;case N:return k=b.displayName||null,k!==null?k:e(b.type)||"Memo";case z:k=b._payload,b=b._init;try{return e(b(k))}catch{}}return null}function t(b){return""+b}function r(b){try{t(b);var k=!1}catch{k=!0}if(k){k=console;var B=k.error,F=typeof Symbol=="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object";return B.call(k,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",F),t(b)}}function n(b){if(b===c)return"<>";if(typeof b=="object"&&b!==null&&b.$$typeof===z)return"<...>";try{var k=e(b);return k?"<"+k+">":"<...>"}catch{return"<...>"}}function o(){var b=x.A;return b===null?null:b.getOwner()}function i(){return Error("react-stack-top-frame")}function a(b){if(l.call(b,"key")){var k=Object.getOwnPropertyDescriptor(b,"key").get;if(k&&k.isReactWarning)return!1}return b.key!==void 0}function s(b,k){function B(){D||(D=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",k))}B.isReactWarning=!0,Object.defineProperty(b,"key",{get:B,configurable:!0})}function u(){var b=e(this.type);return j[b]||(j[b]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),b=this.props.ref,b!==void 0?b:null}function d(b,k,B,F,V,W,G,K){return B=W.ref,b={$$typeof:h,type:b,key:k,props:W,_owner:V},(B!==void 0?B:null)!==null?Object.defineProperty(b,"ref",{enumerable:!1,get:u}):Object.defineProperty(b,"ref",{enumerable:!1,value:null}),b._store={},Object.defineProperty(b._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(b,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(b,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:G}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:K}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function m(b,k,B,F,V,W,G,K){var L=k.children;if(L!==void 0)if(F)if(A(L)){for(F=0;F<L.length;F++)p(L[F]);Object.freeze&&Object.freeze(L)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else p(L);if(l.call(k,"key")){L=e(b);var H=Object.keys(k).filter(function(Ce){return Ce!=="key"});F=0<H.length?"{key: someKey, "+H.join(": ..., ")+": ...}":"{key: someKey}",fe[L+F]||(H=0<H.length?"{"+H.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
+
let props = %s;
|
|
19
|
+
<%s {...props} />
|
|
20
|
+
React keys must be passed directly to JSX without using spread:
|
|
21
|
+
let props = %s;
|
|
22
|
+
<%s key={someKey} {...props} />`,F,L,H,L),fe[L+F]=!0)}if(L=null,B!==void 0&&(r(B),L=""+B),a(k)&&(r(k.key),L=""+k.key),"key"in k){B={};for(var X in k)X!=="key"&&(B[X]=k[X])}else B=k;return L&&s(B,typeof b=="function"?b.displayName||b.name||"Unknown":b),d(b,L,W,V,o(),B,G,K)}function p(b){typeof b=="object"&&b!==null&&b.$$typeof===h&&b._store&&(b._store.validated=1)}var g=U,h=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),v=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),R=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),Y=Symbol.for("react.activity"),f=Symbol.for("react.client.reference"),x=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,l=Object.prototype.hasOwnProperty,A=Array.isArray,_=console.createTask?console.createTask:function(){return null};g={"react-stack-bottom-frame":function(b){return b()}};var D,j={},Q=g["react-stack-bottom-frame"].bind(g,i)(),de=_(n(i)),fe={};Rt.Fragment=c,Rt.jsx=function(b,k,B,F,V){var W=1e4>x.recentlyCreatedOwnerStacks++;return m(b,k,B,!1,F,V,W?Error("react-stack-top-frame"):Q,W?_(n(b)):de)},Rt.jsxs=function(b,k,B,F,V){var W=1e4>x.recentlyCreatedOwnerStacks++;return m(b,k,B,!0,F,V,W?Error("react-stack-top-frame"):Q,W?_(n(b)):de)}}()),Rt}process.env.NODE_ENV==="production"?en.exports=Sa():en.exports=$a();var J=en.exports;const ao=e=>e,Ca=(()=>{let e=ao;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ao}}})();function st(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function ct(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":st(7));return e.charAt(0).toUpperCase()+e.slice(1)}var tn={exports:{}},rr={exports:{}},te={};/** @license React v16.13.1
|
|
23
|
+
* react-is.production.min.js
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/var so;function Ea(){if(so)return te;so=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function R(C){if(typeof C=="object"&&C!==null){var O=C.$$typeof;switch(O){case t:switch(C=C.type,C){case u:case d:case n:case i:case o:case p:return C;default:switch(C=C&&C.$$typeof,C){case s:case m:case y:case h:case a:return C;default:return O}}case r:return O}}}function $(C){return R(C)===d}return te.AsyncMode=u,te.ConcurrentMode=d,te.ContextConsumer=s,te.ContextProvider=a,te.Element=t,te.ForwardRef=m,te.Fragment=n,te.Lazy=y,te.Memo=h,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=p,te.isAsyncMode=function(C){return $(C)||R(C)===u},te.isConcurrentMode=$,te.isContextConsumer=function(C){return R(C)===s},te.isContextProvider=function(C){return R(C)===a},te.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},te.isForwardRef=function(C){return R(C)===m},te.isFragment=function(C){return R(C)===n},te.isLazy=function(C){return R(C)===y},te.isMemo=function(C){return R(C)===h},te.isPortal=function(C){return R(C)===r},te.isProfiler=function(C){return R(C)===i},te.isStrictMode=function(C){return R(C)===o},te.isSuspense=function(C){return R(C)===p},te.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===n||C===d||C===i||C===o||C===p||C===g||typeof C=="object"&&C!==null&&(C.$$typeof===y||C.$$typeof===h||C.$$typeof===a||C.$$typeof===s||C.$$typeof===m||C.$$typeof===v||C.$$typeof===w||C.$$typeof===P||C.$$typeof===c)},te.typeOf=R,te}var re={};/** @license React v16.13.1
|
|
30
|
+
* react-is.development.js
|
|
31
|
+
*
|
|
32
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
33
|
+
*
|
|
34
|
+
* This source code is licensed under the MIT license found in the
|
|
35
|
+
* LICENSE file in the root directory of this source tree.
|
|
36
|
+
*/var co;function Ta(){return co||(co=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,g=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,v=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function R(I){return typeof I=="string"||typeof I=="function"||I===n||I===d||I===i||I===o||I===p||I===g||typeof I=="object"&&I!==null&&(I.$$typeof===y||I.$$typeof===h||I.$$typeof===a||I.$$typeof===s||I.$$typeof===m||I.$$typeof===v||I.$$typeof===w||I.$$typeof===P||I.$$typeof===c)}function $(I){if(typeof I=="object"&&I!==null){var Fe=I.$$typeof;switch(Fe){case t:var at=I.type;switch(at){case u:case d:case n:case i:case o:case p:return at;default:var Qr=at&&at.$$typeof;switch(Qr){case s:case m:case y:case h:case a:return Qr;default:return Fe}}case r:return Fe}}}var C=u,O=d,N=s,z=a,Y=t,f=m,x=n,l=y,A=h,_=r,D=i,j=o,Q=p,de=!1;function fe(I){return de||(de=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),b(I)||$(I)===u}function b(I){return $(I)===d}function k(I){return $(I)===s}function B(I){return $(I)===a}function F(I){return typeof I=="object"&&I!==null&&I.$$typeof===t}function V(I){return $(I)===m}function W(I){return $(I)===n}function G(I){return $(I)===y}function K(I){return $(I)===h}function L(I){return $(I)===r}function H(I){return $(I)===i}function X(I){return $(I)===o}function Ce(I){return $(I)===p}re.AsyncMode=C,re.ConcurrentMode=O,re.ContextConsumer=N,re.ContextProvider=z,re.Element=Y,re.ForwardRef=f,re.Fragment=x,re.Lazy=l,re.Memo=A,re.Portal=_,re.Profiler=D,re.StrictMode=j,re.Suspense=Q,re.isAsyncMode=fe,re.isConcurrentMode=b,re.isContextConsumer=k,re.isContextProvider=B,re.isElement=F,re.isForwardRef=V,re.isFragment=W,re.isLazy=G,re.isMemo=K,re.isPortal=L,re.isProfiler=H,re.isStrictMode=X,re.isSuspense=Ce,re.isValidElementType=R,re.typeOf=$}()),re}var lo;function rn(){return lo||(lo=1,process.env.NODE_ENV==="production"?rr.exports=Ea():rr.exports=Ta()),rr.exports}/*
|
|
37
|
+
object-assign
|
|
38
|
+
(c) Sindre Sorhus
|
|
39
|
+
@license MIT
|
|
40
|
+
*/var nn,uo;function wa(){if(uo)return nn;uo=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var u=Object.getOwnPropertyNames(a).map(function(m){return a[m]});if(u.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(m){d[m]=m}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return nn=o()?Object.assign:function(i,a){for(var s,u=n(i),d,m=1;m<arguments.length;m++){s=Object(arguments[m]);for(var p in s)t.call(s,p)&&(u[p]=s[p]);if(e){d=e(s);for(var g=0;g<d.length;g++)r.call(s,d[g])&&(u[d[g]]=s[d[g]])}}return u},nn}var on,fo;function an(){if(fo)return on;fo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return on=e,on}var sn,po;function mo(){return po||(po=1,sn=Function.call.bind(Object.prototype.hasOwnProperty)),sn}var cn,ho;function xa(){if(ho)return cn;ho=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=an(),r={},n=mo();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,u,d){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var p;try{if(typeof i[m]!="function"){var g=Error((u||"React class")+": "+s+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}p=i[m](a,m,u,s,null,t)}catch(y){p=y}if(p&&!(p instanceof Error)&&e((u||"React class")+": type specification of "+s+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var h=d?d():"";e("Failed "+s+" type: "+p.message+(h??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},cn=o,cn}var ln,go;function Oa(){if(go)return ln;go=1;var e=rn(),t=wa(),r=an(),n=mo(),o=xa(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var u="Warning: "+s;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return ln=function(s,u){var d=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function p(b){var k=b&&(d&&b[d]||b[m]);if(typeof k=="function")return k}var g="<<anonymous>>",h={array:w("array"),bigint:w("bigint"),bool:w("boolean"),func:w("function"),number:w("number"),object:w("object"),string:w("string"),symbol:w("symbol"),any:P(),arrayOf:R,element:$(),elementType:C(),instanceOf:O,node:f(),objectOf:z,oneOf:N,oneOfType:Y,shape:l,exact:A};function y(b,k){return b===k?b!==0||1/b===1/k:b!==b&&k!==k}function c(b,k){this.message=b,this.data=k&&typeof k=="object"?k:{},this.stack=""}c.prototype=Error.prototype;function v(b){if(process.env.NODE_ENV!=="production")var k={},B=0;function F(W,G,K,L,H,X,Ce){if(L=L||g,X=X||K,Ce!==r){if(u){var I=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw I.name="Invariant Violation",I}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Fe=L+":"+K;!k[Fe]&&B<3&&(i("You are manually calling a React.PropTypes validation function for the `"+X+"` 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."),k[Fe]=!0,B++)}}return G[K]==null?W?G[K]===null?new c("The "+H+" `"+X+"` is marked as required "+("in `"+L+"`, but its value is `null`.")):new c("The "+H+" `"+X+"` is marked as required in "+("`"+L+"`, but its value is `undefined`.")):null:b(G,K,L,H,X)}var V=F.bind(null,!1);return V.isRequired=F.bind(null,!0),V}function w(b){function k(B,F,V,W,G,K){var L=B[F],H=j(L);if(H!==b){var X=Q(L);return new c("Invalid "+W+" `"+G+"` of type "+("`"+X+"` supplied to `"+V+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return v(k)}function P(){return v(a)}function R(b){function k(B,F,V,W,G){if(typeof b!="function")return new c("Property `"+G+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var K=B[F];if(!Array.isArray(K)){var L=j(K);return new c("Invalid "+W+" `"+G+"` of type "+("`"+L+"` supplied to `"+V+"`, expected an array."))}for(var H=0;H<K.length;H++){var X=b(K,H,V,W,G+"["+H+"]",r);if(X instanceof Error)return X}return null}return v(k)}function $(){function b(k,B,F,V,W){var G=k[B];if(!s(G)){var K=j(G);return new c("Invalid "+V+" `"+W+"` of type "+("`"+K+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return v(b)}function C(){function b(k,B,F,V,W){var G=k[B];if(!e.isValidElementType(G)){var K=j(G);return new c("Invalid "+V+" `"+W+"` of type "+("`"+K+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return v(b)}function O(b){function k(B,F,V,W,G){if(!(B[F]instanceof b)){var K=b.name||g,L=fe(B[F]);return new c("Invalid "+W+" `"+G+"` of type "+("`"+L+"` supplied to `"+V+"`, expected ")+("instance of `"+K+"`."))}return null}return v(k)}function N(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function k(B,F,V,W,G){for(var K=B[F],L=0;L<b.length;L++)if(y(K,b[L]))return null;var H=JSON.stringify(b,function(Ce,I){var Fe=Q(I);return Fe==="symbol"?String(I):I});return new c("Invalid "+W+" `"+G+"` of value `"+String(K)+"` "+("supplied to `"+V+"`, expected one of "+H+"."))}return v(k)}function z(b){function k(B,F,V,W,G){if(typeof b!="function")return new c("Property `"+G+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var K=B[F],L=j(K);if(L!=="object")return new c("Invalid "+W+" `"+G+"` of type "+("`"+L+"` supplied to `"+V+"`, expected an object."));for(var H in K)if(n(K,H)){var X=b(K,H,V,W,G+"."+H,r);if(X instanceof Error)return X}return null}return v(k)}function Y(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var k=0;k<b.length;k++){var B=b[k];if(typeof B!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+de(B)+" at index "+k+"."),a}function F(V,W,G,K,L){for(var H=[],X=0;X<b.length;X++){var Ce=b[X],I=Ce(V,W,G,K,L,r);if(I==null)return null;I.data&&n(I.data,"expectedType")&&H.push(I.data.expectedType)}var Fe=H.length>0?", expected one of type ["+H.join(", ")+"]":"";return new c("Invalid "+K+" `"+L+"` supplied to "+("`"+G+"`"+Fe+"."))}return v(F)}function f(){function b(k,B,F,V,W){return _(k[B])?null:new c("Invalid "+V+" `"+W+"` supplied to "+("`"+F+"`, expected a ReactNode."))}return v(b)}function x(b,k,B,F,V){return new c((b||"React class")+": "+k+" type `"+B+"."+F+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+V+"`.")}function l(b){function k(B,F,V,W,G){var K=B[F],L=j(K);if(L!=="object")return new c("Invalid "+W+" `"+G+"` of type `"+L+"` "+("supplied to `"+V+"`, expected `object`."));for(var H in b){var X=b[H];if(typeof X!="function")return x(V,W,G,H,Q(X));var Ce=X(K,H,V,W,G+"."+H,r);if(Ce)return Ce}return null}return v(k)}function A(b){function k(B,F,V,W,G){var K=B[F],L=j(K);if(L!=="object")return new c("Invalid "+W+" `"+G+"` of type `"+L+"` "+("supplied to `"+V+"`, expected `object`."));var H=t({},B[F],b);for(var X in H){var Ce=b[X];if(n(b,X)&&typeof Ce!="function")return x(V,W,G,X,Q(Ce));if(!Ce)return new c("Invalid "+W+" `"+G+"` key `"+X+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(B[F],null," ")+`
|
|
41
|
+
Valid keys: `+JSON.stringify(Object.keys(b),null," "));var I=Ce(K,X,V,W,G+"."+X,r);if(I)return I}return null}return v(k)}function _(b){switch(typeof b){case"number":case"string":case"undefined":return!0;case"boolean":return!b;case"object":if(Array.isArray(b))return b.every(_);if(b===null||s(b))return!0;var k=p(b);if(k){var B=k.call(b),F;if(k!==b.entries){for(;!(F=B.next()).done;)if(!_(F.value))return!1}else for(;!(F=B.next()).done;){var V=F.value;if(V&&!_(V[1]))return!1}}else return!1;return!0;default:return!1}}function D(b,k){return b==="symbol"?!0:k?k["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&k instanceof Symbol:!1}function j(b){var k=typeof b;return Array.isArray(b)?"array":b instanceof RegExp?"object":D(k,b)?"symbol":k}function Q(b){if(typeof b>"u"||b===null)return""+b;var k=j(b);if(k==="object"){if(b instanceof Date)return"date";if(b instanceof RegExp)return"regexp"}return k}function de(b){var k=Q(b);switch(k){case"array":case"object":return"an "+k;case"boolean":case"date":case"regexp":return"a "+k;default:return k}}function fe(b){return!b.constructor||!b.constructor.name?g:b.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},ln}var un,yo;function ka(){if(yo)return un;yo=1;var e=an();function t(){}function r(){}return r.resetWarningCache=t,un=function(){function n(a,s,u,d,m,p){if(p!==e){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},un}if(process.env.NODE_ENV!=="production"){var _a=rn(),Aa=!0;tn.exports=Oa()(_a.isElement,Aa)}else tn.exports=ka()();var Ra=tn.exports;const S=va(Ra);function bo(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=bo(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function xe(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=bo(e))&&(n&&(n+=" "),n+=t);return n}function Pa(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let u=0;u<i.length;u+=1){const d=i[u];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}var fn={exports:{}},ie={};/**
|
|
42
|
+
* @license React
|
|
43
|
+
* react-is.production.js
|
|
44
|
+
*
|
|
45
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
46
|
+
*
|
|
47
|
+
* This source code is licensed under the MIT license found in the
|
|
48
|
+
* LICENSE file in the root directory of this source tree.
|
|
49
|
+
*/var vo;function Na(){if(vo)return ie;vo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");function y(c){if(typeof c=="object"&&c!==null){var v=c.$$typeof;switch(v){case e:switch(c=c.type,c){case r:case o:case n:case u:case d:case g:return c;default:switch(c=c&&c.$$typeof,c){case a:case s:case p:case m:return c;case i:return c;default:return v}}case t:return v}}}return ie.ContextConsumer=i,ie.ContextProvider=a,ie.Element=e,ie.ForwardRef=s,ie.Fragment=r,ie.Lazy=p,ie.Memo=m,ie.Portal=t,ie.Profiler=o,ie.StrictMode=n,ie.Suspense=u,ie.SuspenseList=d,ie.isContextConsumer=function(c){return y(c)===i},ie.isContextProvider=function(c){return y(c)===a},ie.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},ie.isForwardRef=function(c){return y(c)===s},ie.isFragment=function(c){return y(c)===r},ie.isLazy=function(c){return y(c)===p},ie.isMemo=function(c){return y(c)===m},ie.isPortal=function(c){return y(c)===t},ie.isProfiler=function(c){return y(c)===o},ie.isStrictMode=function(c){return y(c)===n},ie.isSuspense=function(c){return y(c)===u},ie.isSuspenseList=function(c){return y(c)===d},ie.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===u||c===d||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===s||c.$$typeof===h||c.getModuleId!==void 0)},ie.typeOf=y,ie}var ae={};/**
|
|
50
|
+
* @license React
|
|
51
|
+
* react-is.development.js
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE file in the root directory of this source tree.
|
|
57
|
+
*/var So;function Ia(){return So||(So=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var v=c.$$typeof;switch(v){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case h:return c;default:switch(c=c&&c.$$typeof,c){case s:case u:case g:case p:return c;case a:return c;default:return v}}case r:return v}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");ae.ContextConsumer=a,ae.ContextProvider=s,ae.Element=t,ae.ForwardRef=u,ae.Fragment=n,ae.Lazy=g,ae.Memo=p,ae.Portal=r,ae.Profiler=i,ae.StrictMode=o,ae.Suspense=d,ae.SuspenseList=m,ae.isContextConsumer=function(c){return e(c)===a},ae.isContextProvider=function(c){return e(c)===s},ae.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ae.isForwardRef=function(c){return e(c)===u},ae.isFragment=function(c){return e(c)===n},ae.isLazy=function(c){return e(c)===g},ae.isMemo=function(c){return e(c)===p},ae.isPortal=function(c){return e(c)===r},ae.isProfiler=function(c){return e(c)===i},ae.isStrictMode=function(c){return e(c)===o},ae.isSuspense=function(c){return e(c)===d},ae.isSuspenseList=function(c){return e(c)===m},ae.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===g||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===u||c.$$typeof===y||c.getModuleId!==void 0)},ae.typeOf=e}()),ae}process.env.NODE_ENV==="production"?fn.exports=Na():fn.exports=Ia();var nr=fn.exports;function Ge(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function $o(e){if(M.isValidElement(e)||nr.isValidElementType(e)||!Ge(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=$o(e[r])}),t}function ke(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ge(e)&&Ge(t)&&Object.keys(t).forEach(o=>{M.isValidElement(t[o])||nr.isValidElementType(t[o])?n[o]=t[o]:Ge(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ge(e[o])?n[o]=ke(e[o],t[o],r):r.clone?n[o]=Ge(t[o])?$o(t[o]):t[o]:n[o]=t[o]}),n}function Pt(e,t){return t?ke(e,t,{clone:!1}):e}const Ze=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function Co(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function Ma(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Da(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
58
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`);return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Ba(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const u=t(e.breakpoints.not(...s),a);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const or={xs:0,sm:600,md:900,lg:1200,xl:1536},Eo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${or[e]}px)`},ja={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:or[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Ke(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Eo;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Eo;return Object.keys(t).reduce((a,s)=>{if(Ma(i.keys,s)){const u=Da(n.containerQueries?n:ja,s);u&&(a[u]=r(t[s],s))}else if(Object.keys(i.values||or).includes(s)){const u=i.up(s);a[u]=r(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return r(t)}function Fa(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function To(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function ir(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function ar(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=ir(e,r)||n,t&&(o=t(o,n,e)),o}function ve(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,d=ir(u,n)||{};return Ke(a,s,p=>{let g=ar(d,o,p);return p===g&&typeof p=="string"&&(g=ar(d,o,`${t}${p==="default"?"":ct(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ze}:{},i.filterProps=[t],i}function Va(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const La={m:"margin",p:"padding"},za={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},wo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ua=Va(e=>{if(e.length>2)if(wo[e])e=wo[e];else return[e];const[t,r]=e.split(""),n=La[t],o=za[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),sr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Wa=[...sr,...cr];function Nt(e,t,r,n){const o=ir(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
59
|
+
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
60
|
+
`)));const s=o[a];return i>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
61
|
+
`)),()=>{})}function dn(e){return Nt(e,"spacing",8,"spacing")}function It(e,t){return typeof t=="string"||t==null?t:e(t)}function Ya(e,t){return r=>e.reduce((n,o)=>(n[o]=It(t,r),n),{})}function Ga(e,t,r,n){if(!t.includes(r))return null;const o=Ua(r),i=Ya(o,n),a=e[r];return Ke(e,a,i)}function xo(e,t){const r=dn(e.theme);return Object.keys(e).map(n=>Ga(e,t,n,r)).reduce(Pt,{})}function he(e){return xo(e,sr)}he.propTypes=process.env.NODE_ENV!=="production"?sr.reduce((e,t)=>(e[t]=Ze,e),{}):{},he.filterProps=sr;function ge(e){return xo(e,cr)}ge.propTypes=process.env.NODE_ENV!=="production"?cr.reduce((e,t)=>(e[t]=Ze,e),{}):{},ge.filterProps=cr,process.env.NODE_ENV!=="production"&&Wa.reduce((e,t)=>(e[t]=Ze,e),{});function lr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Pt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ie(e){return typeof e!="number"?e:`${e}px solid`}function Me(e,t){return ve({prop:e,themeKey:"borders",transform:t})}const Ka=Me("border",Ie),qa=Me("borderTop",Ie),Ha=Me("borderRight",Ie),Xa=Me("borderBottom",Ie),Ja=Me("borderLeft",Ie),Qa=Me("borderColor"),Za=Me("borderTopColor"),es=Me("borderRightColor"),ts=Me("borderBottomColor"),rs=Me("borderLeftColor"),ns=Me("outline",Ie),os=Me("outlineColor"),ur=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Nt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:It(t,n)});return Ke(e,e.borderRadius,r)}return null};ur.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ze}:{},ur.filterProps=["borderRadius"],lr(Ka,qa,Ha,Xa,Ja,Qa,Za,es,ts,rs,ur,ns,os);const fr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Nt(e.theme,"spacing",8,"gap"),r=n=>({gap:It(t,n)});return Ke(e,e.gap,r)}return null};fr.propTypes=process.env.NODE_ENV!=="production"?{gap:Ze}:{},fr.filterProps=["gap"];const dr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Nt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:It(t,n)});return Ke(e,e.columnGap,r)}return null};dr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ze}:{},dr.filterProps=["columnGap"];const pr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Nt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:It(t,n)});return Ke(e,e.rowGap,r)}return null};pr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ze}:{},pr.filterProps=["rowGap"];const is=ve({prop:"gridColumn"}),as=ve({prop:"gridRow"}),ss=ve({prop:"gridAutoFlow"}),cs=ve({prop:"gridAutoColumns"}),ls=ve({prop:"gridAutoRows"}),us=ve({prop:"gridTemplateColumns"}),fs=ve({prop:"gridTemplateRows"}),ds=ve({prop:"gridTemplateAreas"}),ps=ve({prop:"gridArea"});lr(fr,dr,pr,is,as,ss,cs,ls,us,fs,ds,ps);function pt(e,t){return t==="grey"?t:e}const ms=ve({prop:"color",themeKey:"palette",transform:pt}),hs=ve({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pt}),gs=ve({prop:"backgroundColor",themeKey:"palette",transform:pt});lr(ms,hs,gs);function _e(e){return e<=1&&e!==0?`${e*100}%`:e}const ys=ve({prop:"width",transform:_e}),pn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,u;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||or[r];return n?((u=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:_e(r)}};return Ke(e,e.maxWidth,t)}return null};pn.filterProps=["maxWidth"];const bs=ve({prop:"minWidth",transform:_e}),vs=ve({prop:"height",transform:_e}),Ss=ve({prop:"maxHeight",transform:_e}),$s=ve({prop:"minHeight",transform:_e});ve({prop:"size",cssProperty:"width",transform:_e}),ve({prop:"size",cssProperty:"height",transform:_e});const Cs=ve({prop:"boxSizing"});lr(ys,pn,bs,vs,Ss,$s,Cs);const mr={border:{themeKey:"borders",transform:Ie},borderTop:{themeKey:"borders",transform:Ie},borderRight:{themeKey:"borders",transform:Ie},borderBottom:{themeKey:"borders",transform:Ie},borderLeft:{themeKey:"borders",transform:Ie},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ie},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ur},color:{themeKey:"palette",transform:pt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pt},backgroundColor:{themeKey:"palette",transform:pt},p:{style:ge},pt:{style:ge},pr:{style:ge},pb:{style:ge},pl:{style:ge},px:{style:ge},py:{style:ge},padding:{style:ge},paddingTop:{style:ge},paddingRight:{style:ge},paddingBottom:{style:ge},paddingLeft:{style:ge},paddingX:{style:ge},paddingY:{style:ge},paddingInline:{style:ge},paddingInlineStart:{style:ge},paddingInlineEnd:{style:ge},paddingBlock:{style:ge},paddingBlockStart:{style:ge},paddingBlockEnd:{style:ge},m:{style:he},mt:{style:he},mr:{style:he},mb:{style:he},ml:{style:he},mx:{style:he},my:{style:he},margin:{style:he},marginTop:{style:he},marginRight:{style:he},marginBottom:{style:he},marginLeft:{style:he},marginX:{style:he},marginY:{style:he},marginInline:{style:he},marginInlineStart:{style:he},marginInlineEnd:{style:he},marginBlock:{style:he},marginBlockStart:{style:he},marginBlockEnd:{style:he},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:fr},rowGap:{style:pr},columnGap:{style:dr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_e},maxWidth:{style:pn},minWidth:{transform:_e},height:{transform:_e},maxHeight:{transform:_e},minHeight:{transform:_e},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Es(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Ts(e,t){return typeof e=="function"?e(t):e}function ws(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const g=ir(o,d)||{};return p?p(a):Ke(a,n,y=>{let c=ar(g,m,y);return y===c&&typeof y=="string"&&(c=ar(g,m,`${r}${y==="default"?"":ct(y)}`,y)),u===!1?c:{[u]:c}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??mr;function s(u){let d=u;if(typeof u=="function")d=u(o);else if(typeof u!="object")return u;if(!d)return null;const m=Fa(o.breakpoints),p=Object.keys(m);let g=m;return Object.keys(d).forEach(h=>{const y=Ts(d[h],o);if(y!=null)if(typeof y=="object")if(a[h])g=Pt(g,e(h,y,o,a));else{const c=Ke({theme:o},y,v=>({[h]:v}));Es(c,y)?g[h]=t({sx:y,theme:o,nested:!0}):g=Pt(g,c)}else g=Pt(g,e(h,y,o,a))}),!i&&o.modularCssLayers?{"@layer sx":Co(o,To(p,g))}:Co(o,To(p,g))}return Array.isArray(n)?n.map(s):s(n)}return t}const mt=ws();mt.filterProps=["sx"];function hr(){return hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},hr.apply(null,arguments)}function xs(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 Os(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 ks=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Os(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=xs(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e}(),we="-ms-",gr="-moz-",Z="-webkit-",Oo="comm",mn="rule",hn="decl",_s="@import",ko="@keyframes",As="@layer",Rs=Math.abs,yr=String.fromCharCode,Ps=Object.assign;function Ns(e,t){return Ee(e,0)^45?(((t<<2^Ee(e,0))<<2^Ee(e,1))<<2^Ee(e,2))<<2^Ee(e,3):0}function _o(e){return e.trim()}function Is(e,t){return(e=t.exec(e))?e[0]:e}function ee(e,t,r){return e.replace(t,r)}function gn(e,t){return e.indexOf(t)}function Ee(e,t){return e.charCodeAt(t)|0}function Mt(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function yn(e){return e.length}function br(e,t){return t.push(e),e}function Ms(e,t){return e.map(t).join("")}var vr=1,ht=1,Ao=0,Oe=0,$e=0,gt="";function Sr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:vr,column:ht,length:a,return:""}}function Dt(e,t){return Ps(Sr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ds(){return $e}function Bs(){return $e=Oe>0?Ee(gt,--Oe):0,ht--,$e===10&&(ht=1,vr--),$e}function Ae(){return $e=Oe<Ao?Ee(gt,Oe++):0,ht++,$e===10&&(ht=1,vr++),$e}function ze(){return Ee(gt,Oe)}function $r(){return Oe}function Bt(e,t){return Mt(gt,e,t)}function jt(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 Ro(e){return vr=ht=1,Ao=Le(gt=e),Oe=0,[]}function Po(e){return gt="",e}function Cr(e){return _o(Bt(Oe-1,bn(e===91?e+2:e===40?e+1:e)))}function js(e){for(;($e=ze())&&$e<33;)Ae();return jt(e)>2||jt($e)>3?"":" "}function Fs(e,t){for(;--t&&Ae()&&!($e<48||$e>102||$e>57&&$e<65||$e>70&&$e<97););return Bt(e,$r()+(t<6&&ze()==32&&Ae()==32))}function bn(e){for(;Ae();)switch($e){case e:return Oe;case 34:case 39:e!==34&&e!==39&&bn($e);break;case 40:e===41&&bn(e);break;case 92:Ae();break}return Oe}function Vs(e,t){for(;Ae()&&e+$e!==57;)if(e+$e===84&&ze()===47)break;return"/*"+Bt(t,Oe-1)+"*"+yr(e===47?e:Ae())}function Ls(e){for(;!jt(ze());)Ae();return Bt(e,Oe)}function zs(e){return Po(Er("",null,null,null,[""],e=Ro(e),0,[0],e))}function Er(e,t,r,n,o,i,a,s,u){for(var d=0,m=0,p=a,g=0,h=0,y=0,c=1,v=1,w=1,P=0,R="",$=o,C=i,O=n,N=R;v;)switch(y=P,P=Ae()){case 40:if(y!=108&&Ee(N,p-1)==58){gn(N+=ee(Cr(P),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:N+=Cr(P);break;case 9:case 10:case 13:case 32:N+=js(y);break;case 92:N+=Fs($r()-1,7);continue;case 47:switch(ze()){case 42:case 47:br(Us(Vs(Ae(),$r()),t,r),u);break;default:N+="/"}break;case 123*c:s[d++]=Le(N)*w;case 125*c:case 59:case 0:switch(P){case 0:case 125:v=0;case 59+m:w==-1&&(N=ee(N,/\f/g,"")),h>0&&Le(N)-p&&br(h>32?Io(N+";",n,r,p-1):Io(ee(N," ","")+";",n,r,p-2),u);break;case 59:N+=";";default:if(br(O=No(N,t,r,d,m,o,s,R,$=[],C=[],p),i),P===123)if(m===0)Er(N,t,O,O,$,i,p,s,C);else switch(g===99&&Ee(N,3)===110?100:g){case 100:case 108:case 109:case 115:Er(e,O,O,n&&br(No(e,O,O,0,0,o,s,R,o,$=[],p),C),o,C,p,s,n?$:C);break;default:Er(N,O,O,O,[""],C,0,s,C)}}d=m=h=0,c=w=1,R=N="",p=a;break;case 58:p=1+Le(N),h=y;default:if(c<1){if(P==123)--c;else if(P==125&&c++==0&&Bs()==125)continue}switch(N+=yr(P),P*c){case 38:w=m>0?1:(N+="\f",-1);break;case 44:s[d++]=(Le(N)-1)*w,w=1;break;case 64:ze()===45&&(N+=Cr(Ae())),g=ze(),m=p=Le(R=N+=Ls($r())),P++;break;case 45:y===45&&Le(N)==2&&(c=0)}}return i}function No(e,t,r,n,o,i,a,s,u,d,m){for(var p=o-1,g=o===0?i:[""],h=yn(g),y=0,c=0,v=0;y<n;++y)for(var w=0,P=Mt(e,p+1,p=Rs(c=a[y])),R=e;w<h;++w)(R=_o(c>0?g[w]+" "+P:ee(P,/&\f/g,g[w])))&&(u[v++]=R);return Sr(e,t,r,o===0?mn:s,u,d,m)}function Us(e,t,r){return Sr(e,t,r,Oo,yr(Ds()),Mt(e,2,-2),0)}function Io(e,t,r,n){return Sr(e,t,r,hn,Mt(e,0,n),Mt(e,n+1,-1),n)}function yt(e,t){for(var r="",n=yn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ws(e,t,r,n){switch(e.type){case As:if(e.children.length)break;case _s:case hn:return e.return=e.return||e.value;case Oo:return"";case ko:return e.return=e.value+"{"+yt(e.children,n)+"}";case mn:e.value=e.props.join(",")}return Le(r=yt(e.children,n))?e.return=e.value+"{"+r+"}":""}function Ys(e){var t=yn(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function Gs(e){return function(t){t.root||(t=t.return)&&e(t)}}function Mo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ks=function(t,r,n){for(var o=0,i=0;o=i,i=ze(),o===38&&i===12&&(r[n]=1),!jt(i);)Ae();return Bt(t,Oe)},qs=function(t,r){var n=-1,o=44;do switch(jt(o)){case 0:o===38&&ze()===12&&(r[n]=1),t[n]+=Ks(Oe-1,r,n);break;case 2:t[n]+=Cr(o);break;case 4:if(o===44){t[++n]=ze()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=yr(o)}while(o=Ae());return t},Hs=function(t,r){return Po(qs(Ro(t),r))},Do=new WeakMap,Xs=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Do.get(n))&&!o){Do.set(t,!0);for(var i=[],a=Hs(r,i),s=n.props,u=0,d=0;u<a.length;u++)for(var m=0;m<s.length;m++,d++)t.props[d]=i[u]?a[u].replace(/&\f/g,s[m]):s[m]+" "+a[u]}}},Js=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Bo(e,t){switch(Ns(e,t)){case 5103:return Z+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Z+e+gr+e+we+e+e;case 6828:case 4268:return Z+e+we+e+e;case 6165:return Z+e+we+"flex-"+e+e;case 5187:return Z+e+ee(e,/(\w+).+(:[^]+)/,Z+"box-$1$2"+we+"flex-$1$2")+e;case 5443:return Z+e+we+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return Z+e+we+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Z+e+we+ee(e,"shrink","negative")+e;case 5292:return Z+e+we+ee(e,"basis","preferred-size")+e;case 6060:return Z+"box-"+ee(e,"-grow","")+Z+e+we+ee(e,"grow","positive")+e;case 4554:return Z+ee(e,/([^-])(transform)/g,"$1"+Z+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,Z+"$1"),/(image-set)/,Z+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,Z+"box-pack:$3"+we+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,Z+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Le(e)-1-t>6)switch(Ee(e,t+1)){case 109:if(Ee(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+Z+"$2-$3$1"+gr+(Ee(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~gn(e,"stretch")?Bo(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ee(e,t+1)!==115)break;case 6444:switch(Ee(e,Le(e)-3-(~gn(e,"!important")&&10))){case 107:return ee(e,":",":"+Z)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z+(Ee(e,14)===45?"inline-":"")+"box$3$1"+Z+"$2$3$1"+we+"$2box$3")+e}break;case 5936:switch(Ee(e,t+11)){case 114:return Z+e+we+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z+e+we+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z+e+we+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z+e+we+e+e}return e}var Qs=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case hn:t.return=Bo(t.value,t.length);break;case ko:return yt([Dt(t,{value:ee(t.value,"@","@"+Z)})],o);case mn:if(t.length)return Ms(t.props,function(i){switch(Is(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return yt([Dt(t,{props:[ee(i,/:(read-\w+)/,":"+gr+"$1")]})],o);case"::placeholder":return yt([Dt(t,{props:[ee(i,/:(plac\w+)/,":"+Z+"input-$1")]}),Dt(t,{props:[ee(i,/:(plac\w+)/,":"+gr+"$1")]}),Dt(t,{props:[ee(i,/:(plac\w+)/,we+"input-$1")]})],o)}return""})}},Zs=[Qs],ec=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(c){var v=c.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(c),c.setAttribute("data-s",""))})}var o=t.stylisPlugins||Zs,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(c){for(var v=c.getAttribute("data-emotion").split(" "),w=1;w<v.length;w++)i[v[w]]=!0;s.push(c)});var u,d=[Xs,Js];{var m,p=[Ws,Gs(function(c){m.insert(c)})],g=Ys(d.concat(o,p)),h=function(v){return yt(zs(v),g)};u=function(v,w,P,R){m=P,h(v?v+"{"+w.styles+"}":w.styles),R&&(y.inserted[w.name]=!0)}}var y={key:r,sheet:new ks({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return y.sheet.hydrate(s),y},jo=rn(),tc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},rc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Fo={};Fo[jo.ForwardRef]=tc,Fo[jo.Memo]=rc;var nc=!0;function Vo(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var vn=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||nc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},Lo=function(t,r,n){vn(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function oc(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ic={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},ac=/[A-Z]|^ms/g,sc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zo=function(t){return t.charCodeAt(1)===45},Uo=function(t){return t!=null&&typeof t!="boolean"},Sn=Mo(function(e){return zo(e)?e:e.replace(ac,"-$&").toLowerCase()}),Wo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(sc,function(n,o,i){return Ue={name:o,styles:i,next:Ue},o})}return ic[t]!==1&&!zo(t)&&typeof r=="number"&&r!==0?r+"px":r};function Ft(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Ue={name:o.name,styles:o.styles,next:Ue},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Ue={name:a.name,styles:a.styles,next:Ue},a=a.next;var s=i.styles+";";return s}return cc(e,t,r)}case"function":{if(e!==void 0){var u=Ue,d=r(e);return Ue=u,Ft(e,t,d)}break}}var m=r;if(t==null)return m;var p=t[m];return p!==void 0?p:m}function cc(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Ft(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=i+"{"+t[s]+"}":Uo(s)&&(n+=Sn(i)+":"+Wo(i,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var u=0;u<a.length;u++)Uo(a[u])&&(n+=Sn(i)+":"+Wo(i,a[u])+";");else{var d=Ft(e,t,a);switch(i){case"animation":case"animationName":{n+=Sn(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var Yo=/label:\s*([^\s;{]+)\s*(;|$)/g,Ue;function Vt(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Ue=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Ft(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Ft(r,t,e[s]),n){var u=i;o+=u[s]}Yo.lastIndex=0;for(var d="",m;(m=Yo.exec(o))!==null;)d+="-"+m[1];var p=oc(o)+d;return{name:p,styles:o,next:Ue}}var lc=function(t){return t()},uc=M.useInsertionEffect?M.useInsertionEffect:!1,Go=uc||lc,Ko=M.createContext(typeof HTMLElement<"u"?ec({key:"css"}):null);Ko.Provider;var qo=function(t){return U.forwardRef(function(r,n){var o=U.useContext(Ko);return t(r,o,n)})},Ho=M.createContext({}),$n={}.hasOwnProperty,Cn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",fc=function(t,r){var n={};for(var o in r)$n.call(r,o)&&(n[o]=r[o]);return n[Cn]=t,n},dc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return vn(r,n,o),Go(function(){return Lo(r,n,o)}),null},pc=qo(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Cn],i=[n],a="";typeof e.className=="string"?a=Vo(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=Vt(i,void 0,M.useContext(Ho));a+=t.key+"-"+s.name;var u={};for(var d in e)$n.call(e,d)&&d!=="css"&&d!==Cn&&(u[d]=e[d]);return u.className=a,r&&(u.ref=r),M.createElement(M.Fragment,null,M.createElement(dc,{cache:t,serialized:s,isStringTag:typeof o=="string"}),M.createElement(o,u))}),mc=pc,Xo=function(t,r){var n=arguments;if(r==null||!$n.call(r,"css"))return M.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=mc,i[1]=fc(t,r);for(var a=2;a<o;a++)i[a]=n[a];return M.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Xo||(Xo={}));function En(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Vt(t)}function Lt(){var e=En.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 hc=/^((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)-.*))$/,gc=Mo(function(e){return hc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),yc=gc,bc=function(t){return t!=="theme"},Jo=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?yc:bc},Qo=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},vc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return vn(r,n,o),Go(function(){return Lo(r,n,o)}),null},Sc=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=Qo(t,r,n),u=s||Jo(o),d=!u("as");return function(){var m=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),m[0]==null||m[0].raw===void 0)p.push.apply(p,m);else{var g=m[0];p.push(g[0]);for(var h=m.length,y=1;y<h;y++)p.push(m[y],g[y])}var c=qo(function(v,w,P){var R=d&&v.as||o,$="",C=[],O=v;if(v.theme==null){O={};for(var N in v)O[N]=v[N];O.theme=M.useContext(Ho)}typeof v.className=="string"?$=Vo(w.registered,C,v.className):v.className!=null&&($=v.className+" ");var z=Vt(p.concat(C),w.registered,O);$+=w.key+"-"+z.name,a!==void 0&&($+=" "+a);var Y=d&&s===void 0?Jo(R):u,f={};for(var x in v)d&&x==="as"||Y(x)&&(f[x]=v[x]);return f.className=$,P&&(f.ref=P),M.createElement(M.Fragment,null,M.createElement(vc,{cache:w,serialized:z,isStringTag:typeof R=="string"}),M.createElement(R,f))});return c.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",c.defaultProps=t.defaultProps,c.__emotion_real=c,c.__emotion_base=o,c.__emotion_styles=p,c.__emotion_forwardProp=s,Object.defineProperty(c,"toString",{value:function(){return"."+a}}),c.withComponent=function(v,w){var P=e(v,hr({},r,w,{shouldForwardProp:Qo(c,w,!0)}));return P.apply(void 0,p)},c}},$c=["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"],Tr=Sc.bind(null);$c.forEach(function(e){Tr[e]=Tr(e)});/**
|
|
62
|
+
* @mui/styled-engine v7.3.10
|
|
63
|
+
*
|
|
64
|
+
* @license MIT
|
|
65
|
+
* This source code is licensed under the MIT license found in the
|
|
66
|
+
* LICENSE file in the root directory of this source tree.
|
|
67
|
+
*/function Cc(e,t){const r=Tr(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
68
|
+
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function Ec(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Zo=[];function lt(e){return Zo[0]=e,Vt(Zo)}const Tc=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function wc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Tc(t),a=Object.keys(i);function s(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function d(g,h){const y=a.indexOf(h);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:h)-n/100}${r})`}function m(g){return a.indexOf(g)+1<a.length?d(g,a[a.indexOf(g)+1]):s(g)}function p(g){const h=a.indexOf(g);return h===0?s(a[1]):h===a.length-1?u(a[h]):d(g,a[a.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:u,between:d,only:m,not:p,unit:r,...o}}const xc={borderRadius:4};function ei(e=8,t=dn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Oc(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function ti(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=wc(r),u=ei(o);let d=ke({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...xc,...i}},a);return d=Ba(d),d.applyStyles=Oc,d=t.reduce((m,p)=>ke(m,p),d),d.unstable_sxConfig={...mr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return mt({sx:p,theme:this})},d}const kc={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 Tn(e,t,r="Mui"){const n=kc[t];return n?`${r}-${n}`:`${Ca.generate(e)}-${t}`}function _c(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Tn(e,o,r)}),n}function ri(e,t=""){return e.displayName||e.name||t}function ni(e,t,r){const n=ri(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Ac(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ri(e,"Component");if(typeof e=="object")switch(e.$$typeof){case nr.ForwardRef:return ni(e,e.render,"ForwardRef");case nr.Memo:return ni(e,e.type,"memo");default:return}}}function oi(e){const{variants:t,...r}=e,n={variants:t,style:lt(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=lt(o.style))}),n}const Rc=ti();function wn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ut(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Pc(e){return e?(t,r)=>r[e]:null}function Nc(e,t,r){e.theme=Bc(e.theme)?r:e.theme[t]||e.theme}function wr(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>wr(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?ut(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?ut(lt(a),r):a}return ii(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?ut(lt(n.style),r):n.style:r?ut(lt(n),r):n}function ii(e,t,r=[],n=void 0){var i;let o;e:for(let a=0;a<t.length;a+=1){const s=t[a];if(typeof s.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!s.props(o))continue}else for(const u in s.props)if(e[u]!==s.props[u]&&((i=e.ownerState)==null?void 0:i[u])!==s.props[u])continue e;typeof s.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?ut(lt(s.style(o)),n):s.style(o))):r.push(n?ut(lt(s.style),n):s.style)}return r}function Ic(e={}){const{themeId:t,defaultTheme:r=Rc,rootShouldForwardProp:n=wn,slotShouldForwardProp:o=wn}=e;function i(s){Nc(s,t,r)}return(s,u={})=>{Ec(s,O=>O.filter(N=>N!==mt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:g,overridesResolver:h=Pc(ai(m)),...y}=u,c=d&&d.startsWith("Mui")||m?"components":"custom",v=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,w=g||!1;let P=wn;m==="Root"||m==="root"?P=n:m?P=o:jc(s)&&(P=void 0);const R=Cc(s,{shouldForwardProp:P,label:Dc(d,m),...y}),$=O=>{if(O.__emotion_real===O)return O;if(typeof O=="function")return function(z){return wr(z,O,z.theme.modularCssLayers?c:void 0)};if(Ge(O)){const N=oi(O);return function(Y){return N.variants?wr(Y,N,Y.theme.modularCssLayers?c:void 0):Y.theme.modularCssLayers?ut(N.style,c):N.style}}return O},C=(...O)=>{const N=[],z=O.map($),Y=[];if(N.push(i),d&&h&&Y.push(function(A){var Q,de;const D=(de=(Q=A.theme.components)==null?void 0:Q[d])==null?void 0:de.styleOverrides;if(!D)return null;const j={};for(const fe in D)j[fe]=wr(A,D[fe],A.theme.modularCssLayers?"theme":void 0);return h(A,j)}),d&&!v&&Y.push(function(A){var j,Q;const _=A.theme,D=(Q=(j=_==null?void 0:_.components)==null?void 0:j[d])==null?void 0:Q.variants;return D?ii(A,D,[],A.theme.modularCssLayers?"theme":void 0):null}),w||Y.push(mt),Array.isArray(z[0])){const l=z.shift(),A=new Array(N.length).fill(""),_=new Array(Y.length).fill("");let D;D=[...A,...l,..._],D.raw=[...A,...l.raw,..._],N.unshift(D)}const f=[...N,...z,...Y],x=R(...f);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=Mc(d,m,s)),x};return R.withConfig&&(C.withConfig=R.withConfig),C}}function Mc(e,t,r){return e?`${e}${ct(t||"")}`:`Styled(${Ac(r)})`}function Dc(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${ai(t||"Root")}`),r}function Bc(e){for(const t in e)return!1;return!0}function jc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ai(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function xn(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],s=t[i];if(!s)n[i]=a||{};else if(!a)n[i]=s;else{n[i]={...s};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const d=u;n[i][d]=xn(a[d],s[d],r)}}}else i==="className"&&r&&t.className?n.className=xe(e==null?void 0:e.className,t==null?void 0:t.className):i==="style"&&r&&t.style?n.style={...e==null?void 0:e.style,...t==null?void 0:t.style}:n[i]===void 0&&(n[i]=e[i])}return n}function Fc(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function On(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Fc(e,t,r)}function Vc(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function et(e){if(e.type)return e;if(e.charAt(0)==="#")return et(Vc(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
69
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:st(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
70
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:st(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Lc=e=>{const t=et(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},zt=(e,t)=>{try{return Lc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function xr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function si(e){e=et(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),xr({type:s,values:u})}function kn(e){e=et(e);let t=e.type==="hsl"||e.type==="hsla"?et(si(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ci(e,t){const r=kn(e),n=kn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function li(e,t){return e=et(e),t=On(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,xr(e)}function ft(e,t,r){try{return li(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Or(e,t){if(e=et(e),t=On(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return xr(e)}function ne(e,t,r){try{return Or(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function kr(e,t){if(e=et(e),t=On(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return xr(e)}function oe(e,t,r){try{return kr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function zc(e,t=.15){return kn(e)>.5?Or(e,t):kr(e,t)}function _r(e,t,r){try{return zc(e,t)}catch{return e}}const Uc=M.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Wc(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?xn(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?xn(o,n,t.components.mergeClassNameAndStyle):n}function Yc({props:e,name:t}){const r=M.useContext(Uc);return Wc({props:e,name:t,theme:{components:r}})}const ui={theme:void 0};function Gc(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(ui.theme=o.theme,i=oi(e(ui)),t=i,r=o.theme),i}}function Kc(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const fi=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},qc=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,u])=>{(!r||r&&!r([...i,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,s],Array.isArray(u)?[...a,s]:a):t([...i,s],u,a))})}n(e)},Hc=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function _n(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return qc(e,(s,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=Hc(s,u);Object.assign(o,{[m]:p}),fi(i,s,`var(${m})`,d),fi(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Xc(e,t={}){const{getSelector:r=w,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:s,defaultColorScheme:u="light",...d}=e,{vars:m,css:p,varsWithDefaults:g}=_n(d,t);let h=g;const y={},{[u]:c,...v}=a;if(Object.entries(v||{}).forEach(([$,C])=>{const{vars:O,css:N,varsWithDefaults:z}=_n(C,t);h=ke(h,z),y[$]={css:N,vars:O}}),c){const{css:$,vars:C,varsWithDefaults:O}=_n(c,t);h=ke(h,O),y[u]={css:$,vars:C}}function w($,C){var N,z;let O=o;if(o==="class"&&(O=".%s"),o==="data"&&(O="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(O=`[${o}="%s"]`),$){if(O==="media")return e.defaultColorScheme===$?":root":{[`@media (prefers-color-scheme: ${((z=(N=a[$])==null?void 0:N.palette)==null?void 0:z.mode)||$})`]:{":root":C}};if(O)return e.defaultColorScheme===$?`:root, ${O.replace("%s",String($))}`:O.replace("%s",String($))}return":root"}return{vars:h,generateThemeVars:()=>{let $={...m};return Object.entries(y).forEach(([,{vars:C}])=>{$=ke($,C)}),$},generateStyleSheets:()=>{var Y,f;const $=[],C=e.defaultColorScheme||"light";function O(x,l){Object.keys(l).length&&$.push(typeof x=="string"?{[x]:{...l}}:x)}O(r(void 0,{...p}),p);const{[C]:N,...z}=y;if(N){const{css:x}=N,l=(f=(Y=a[C])==null?void 0:Y.palette)==null?void 0:f.mode,A=!n&&l?{colorScheme:l,...x}:{...x};O(r(C,{...A}),A)}return Object.entries(z).forEach(([x,{css:l}])=>{var D,j;const A=(j=(D=a[x])==null?void 0:D.palette)==null?void 0:j.mode,_=!n&&A?{colorScheme:A,...l}:{...l};O(r(x,{..._}),_)}),i&&$.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),$}}}function Jc(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Ut={black:"#000",white:"#fff"},Qc={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"},bt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},vt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Wt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},St={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},$t={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ct={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function di(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ut.white,default:Ut.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const pi=di();function mi(){return{text:{primary:Ut.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ut.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const An=mi();function hi(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=kr(e.main,o):t==="dark"&&(e.dark=Or(e.main,i)))}function gi(e,t,r,n,o){const i=o.light||o,a=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function Zc(e="light"){return e==="dark"?{main:St[200],light:St[50],dark:St[400]}:{main:St[700],light:St[400],dark:St[800]}}function el(e="light"){return e==="dark"?{main:bt[200],light:bt[50],dark:bt[400]}:{main:bt[500],light:bt[300],dark:bt[700]}}function tl(e="light"){return e==="dark"?{main:vt[500],light:vt[300],dark:vt[700]}:{main:vt[700],light:vt[400],dark:vt[800]}}function rl(e="light"){return e==="dark"?{main:$t[400],light:$t[300],dark:$t[700]}:{main:$t[700],light:$t[500],dark:$t[900]}}function nl(e="light"){return e==="dark"?{main:Ct[400],light:Ct[300],dark:Ct[700]}:{main:Ct[800],light:Ct[500],dark:Ct[900]}}function ol(e="light"){return e==="dark"?{main:Wt[400],light:Wt[300],dark:Wt[700]}:{main:"#ed6c02",light:Wt[500],dark:Wt[900]}}function il(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Rn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||Zc(t),s=e.secondary||el(t),u=e.error||tl(t),d=e.info||rl(t),m=e.success||nl(t),p=e.warning||ol(t);function g(v){if(o)return il(v);const w=ci(v,An.text.primary)>=r?An.text.primary:pi.text.primary;if(process.env.NODE_ENV!=="production"){const P=ci(v,w);P<3&&console.error([`MUI: The contrast ratio of ${P}:1 for ${w} on ${v}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
71
|
+
`))}return w}const h=({color:v,name:w,mainShade:P=500,lightShade:R=300,darkShade:$=700})=>{if(v={...v},!v.main&&v[P]&&(v.main=v[P]),!v.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
|
|
72
|
+
The color object needs to have a \`main\` property or a \`${P}\` property.`:st(11,w?` (${w})`:"",P));if(typeof v.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
|
|
73
|
+
\`color.main\` should be a string, but \`${JSON.stringify(v.main)}\` was provided instead.
|
|
74
|
+
|
|
75
|
+
Did you intend to use one of the following approaches?
|
|
76
|
+
|
|
77
|
+
import { green } from "@mui/material/colors";
|
|
78
|
+
|
|
79
|
+
const theme1 = createTheme({ palette: {
|
|
80
|
+
primary: green,
|
|
81
|
+
} });
|
|
82
|
+
|
|
83
|
+
const theme2 = createTheme({ palette: {
|
|
84
|
+
primary: { main: green[500] },
|
|
85
|
+
} });`:st(12,w?` (${w})`:"",JSON.stringify(v.main)));return o?(gi(o,v,"light",R,n),gi(o,v,"dark",$,n)):(hi(v,"light",R,n),hi(v,"dark",$,n)),v.contrastText||(v.contrastText=g(v.main)),v};let y;return t==="light"?y=di():t==="dark"&&(y=mi()),process.env.NODE_ENV!=="production"&&(y||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),ke({common:{...Ut},mode:t,primary:h({color:a,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:u,name:"error"}),warning:h({color:p,name:"warning"}),info:h({color:d,name:"info"}),success:h({color:m,name:"success"}),grey:Qc,contrastThreshold:r,getContrastText:g,augmentColor:h,tonalOffset:n,...y},i)}function al(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function sl(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function cl(e){return Math.round(e*1e5)/1e5}const yi={textTransform:"uppercase"},bi='"Roboto", "Helvetica", "Arial", sans-serif';function ll(e,t){const{fontFamily:r=bi,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:d,pxToRem:m,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=n/14,h=m||(v=>`${v/u*g}rem`),y=(v,w,P,R,$)=>({fontFamily:r,fontWeight:v,fontSize:h(w),lineHeight:P,...r===bi?{letterSpacing:`${cl(R/w)}em`}:{},...$,...d}),c={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(a,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(a,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(a,14,1.75,.4,yi),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,yi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ke({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...c},p,{clone:!1})}const ul=.2,fl=.14,dl=.12;function pe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ul})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${fl})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${dl})`].join(",")}const pl=["none",pe(0,2,1,-1,0,1,1,0,0,1,3,0),pe(0,3,1,-2,0,2,2,0,0,1,5,0),pe(0,3,3,-2,0,3,4,0,0,1,8,0),pe(0,2,4,-1,0,4,5,0,0,1,10,0),pe(0,3,5,-1,0,5,8,0,0,1,14,0),pe(0,3,5,-1,0,6,10,0,0,1,18,0),pe(0,4,5,-2,0,7,10,1,0,2,16,1),pe(0,5,5,-3,0,8,10,1,0,3,14,2),pe(0,5,6,-3,0,9,12,1,0,3,16,2),pe(0,6,6,-3,0,10,14,1,0,4,18,3),pe(0,6,7,-4,0,11,15,1,0,4,20,3),pe(0,7,8,-4,0,12,17,2,0,5,22,4),pe(0,7,8,-4,0,13,19,2,0,5,24,4),pe(0,7,9,-4,0,14,21,2,0,5,26,4),pe(0,8,9,-5,0,15,22,2,0,6,28,5),pe(0,8,10,-5,0,16,24,2,0,6,30,5),pe(0,8,11,-5,0,17,26,2,0,6,32,5),pe(0,9,11,-5,0,18,28,2,0,7,34,6),pe(0,9,12,-6,0,19,29,2,0,7,36,6),pe(0,10,13,-6,0,20,31,3,0,8,38,7),pe(0,10,13,-6,0,21,33,3,0,8,40,7),pe(0,10,14,-6,0,22,35,3,0,8,42,7),pe(0,11,14,-7,0,23,36,3,0,9,44,8),pe(0,11,15,-7,0,24,38,3,0,9,46,8)],ml={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)"},hl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function vi(e){return`${Math.round(e)}ms`}function gl(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function yl(e){const t={...ml,...e.easing},r={...hl,...e.duration};return{getAutoHeightDuration:gl,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:u=0,...d}=i;if(process.env.NODE_ENV!=="production"){const m=g=>typeof g=="string",p=g=>!Number.isNaN(parseFloat(g));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!m(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),m(s)||console.error('MUI: Argument "easing" must be a string.'),!p(u)&&!m(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
86
|
+
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof a=="string"?a:vi(a)} ${s} ${typeof u=="string"?u:vi(u)}`).join(",")},...e,easing:t,duration:r}}const bl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function vl(e){return Ge(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Si(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!vl(s)||a.startsWith("unstable_")?delete n[a]:Ge(s)&&(n[a]={...s},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
87
|
+
|
|
88
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
89
|
+
|
|
90
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
91
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
92
|
+
|
|
93
|
+
export default theme;`}function $i(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const Sl=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function $l(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:li(t,Sl(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${$i(r)})`:kr(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${$i(r)})`:Or(t,r)}})}function Pn(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:u,colorSpace:d,...m}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://v7.mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":st(20));const p=Rn({...i,colorSpace:d}),g=ti(e);let h=ke(g,{mixins:sl(g.breakpoints,n),palette:p,shadows:pl.slice(),typography:ll(p,s),transitions:yl(a),zIndex:{...bl}});if(h=ke(h,m),h=t.reduce((y,c)=>ke(y,c),h),process.env.NODE_ENV!=="production"){const y=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],c=(v,w)=>{let P;for(P in v){const R=v[P];if(y.includes(P)&&Object.keys(R).length>0){if(process.env.NODE_ENV!=="production"){const $=Tn("",P);console.error([`MUI: The \`${w}\` component increases the CSS specificity of the \`${P}\` internal state.`,"You can not override it like this: ",JSON.stringify(v,null,2),"",`Instead, you need to use the '&.${$}' syntax:`,JSON.stringify({root:{[`&.${$}`]:R}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
94
|
+
`))}v[P]={}}}};Object.keys(h.components).forEach(v=>{const w=h.components[v].styleOverrides;w&&v.startsWith("Mui")&&c(w,v)})}return h.unstable_sxConfig={...mr,...m==null?void 0:m.unstable_sxConfig},h.unstable_sx=function(c){return mt({sx:c,theme:this})},h.toRuntimeSource=Si,$l(h),h}function Cl(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const El=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Cl(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Ci(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Ei(e){return e==="dark"?El:[]}function Tl(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=Rn({...t,colorSpace:o});return{palette:a,opacity:{...Ci(a.mode),...r},overlays:n||Ei(a.mode),...i}}function wl(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const xl=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ol=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return xl(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function kl(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function E(e,t,r){!e[t]&&r&&(e[t]=r)}function Yt(e){return typeof e!="string"||!e.startsWith("hsl")?e:si(e)}function qe(e,t){`${t}Channel`in e||(e[`${t}Channel`]=zt(Yt(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().
|
|
95
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function _l(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const We=e=>{try{return e()}catch{}},Al=(e="mui")=>Kc(e);function Nn(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=Tl({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...s}=Pn({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Ci(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Ei(i)},s}function Rl(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=wl,colorSchemeSelector:u=r.light&&r.dark?"media":void 0,rootSelector:d=":root",...m}=e,p=Object.keys(r)[0],g=n||(r.light&&p!=="light"?"light":p),h=Al(i),{[g]:y,light:c,dark:v,...w}=r,P={...w};let R=y;if((g==="dark"&&!("dark"in r)||g==="light"&&!("light"in r))&&(R=!0),!R)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${g}\` option is either missing or invalid.`:st(21,g));let $;a&&($="oklch");const C=Nn($,P,R,m,g);c&&!P.light&&Nn($,P,c,void 0,"light"),v&&!P.dark&&Nn($,P,v,void 0,"dark");let O={defaultColorScheme:g,...C,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:d,getCssVar:h,colorSchemes:P,font:{...al(C.typography),...C.font},spacing:_l(m.spacing)};Object.keys(O.colorSchemes).forEach(x=>{const l=O.colorSchemes[x].palette,A=D=>{const j=D.split("-"),Q=j[1],de=j[2];return h(D,l[Q][de])};l.mode==="light"&&(E(l.common,"background","#fff"),E(l.common,"onBackground","#000")),l.mode==="dark"&&(E(l.common,"background","#000"),E(l.common,"onBackground","#fff"));function _(D,j,Q){if($){let de;return D===ft&&(de=`transparent ${((1-Q)*100).toFixed(0)}%`),D===ne&&(de=`#000 ${(Q*100).toFixed(0)}%`),D===oe&&(de=`#fff ${(Q*100).toFixed(0)}%`),`color-mix(in ${$}, ${j}, ${de})`}return D(j,Q)}if(kl(l,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),l.mode==="light"){E(l.Alert,"errorColor",_(ne,a?h("palette-error-light"):l.error.light,.6)),E(l.Alert,"infoColor",_(ne,a?h("palette-info-light"):l.info.light,.6)),E(l.Alert,"successColor",_(ne,a?h("palette-success-light"):l.success.light,.6)),E(l.Alert,"warningColor",_(ne,a?h("palette-warning-light"):l.warning.light,.6)),E(l.Alert,"errorFilledBg",A("palette-error-main")),E(l.Alert,"infoFilledBg",A("palette-info-main")),E(l.Alert,"successFilledBg",A("palette-success-main")),E(l.Alert,"warningFilledBg",A("palette-warning-main")),E(l.Alert,"errorFilledColor",We(()=>l.getContrastText(l.error.main))),E(l.Alert,"infoFilledColor",We(()=>l.getContrastText(l.info.main))),E(l.Alert,"successFilledColor",We(()=>l.getContrastText(l.success.main))),E(l.Alert,"warningFilledColor",We(()=>l.getContrastText(l.warning.main))),E(l.Alert,"errorStandardBg",_(oe,a?h("palette-error-light"):l.error.light,.9)),E(l.Alert,"infoStandardBg",_(oe,a?h("palette-info-light"):l.info.light,.9)),E(l.Alert,"successStandardBg",_(oe,a?h("palette-success-light"):l.success.light,.9)),E(l.Alert,"warningStandardBg",_(oe,a?h("palette-warning-light"):l.warning.light,.9)),E(l.Alert,"errorIconColor",A("palette-error-main")),E(l.Alert,"infoIconColor",A("palette-info-main")),E(l.Alert,"successIconColor",A("palette-success-main")),E(l.Alert,"warningIconColor",A("palette-warning-main")),E(l.AppBar,"defaultBg",A("palette-grey-100")),E(l.Avatar,"defaultBg",A("palette-grey-400")),E(l.Button,"inheritContainedBg",A("palette-grey-300")),E(l.Button,"inheritContainedHoverBg",A("palette-grey-A100")),E(l.Chip,"defaultBorder",A("palette-grey-400")),E(l.Chip,"defaultAvatarColor",A("palette-grey-700")),E(l.Chip,"defaultIconColor",A("palette-grey-700")),E(l.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),E(l.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),E(l.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),E(l.LinearProgress,"primaryBg",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.LinearProgress,"secondaryBg",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.LinearProgress,"errorBg",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.LinearProgress,"infoBg",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.LinearProgress,"successBg",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.LinearProgress,"warningBg",_(oe,a?h("palette-warning-light"):l.warning.main,.62)),E(l.Skeleton,"bg",$?_(ft,a?h("palette-text-primary"):l.text.primary,.11):`rgba(${A("palette-text-primaryChannel")} / 0.11)`),E(l.Slider,"primaryTrack",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.Slider,"secondaryTrack",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.Slider,"errorTrack",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.Slider,"infoTrack",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.Slider,"successTrack",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.Slider,"warningTrack",_(oe,a?h("palette-warning-main"):l.warning.main,.62));const D=$?_(ne,a?h("palette-background-default"):l.background.default,.6825):_r(l.background.default,.8);E(l.SnackbarContent,"bg",D),E(l.SnackbarContent,"color",We(()=>$?An.text.primary:l.getContrastText(D))),E(l.SpeedDialAction,"fabHoverBg",_r(l.background.paper,.15)),E(l.StepConnector,"border",A("palette-grey-400")),E(l.StepContent,"border",A("palette-grey-400")),E(l.Switch,"defaultColor",A("palette-common-white")),E(l.Switch,"defaultDisabledColor",A("palette-grey-100")),E(l.Switch,"primaryDisabledColor",_(oe,a?h("palette-primary-main"):l.primary.main,.62)),E(l.Switch,"secondaryDisabledColor",_(oe,a?h("palette-secondary-main"):l.secondary.main,.62)),E(l.Switch,"errorDisabledColor",_(oe,a?h("palette-error-main"):l.error.main,.62)),E(l.Switch,"infoDisabledColor",_(oe,a?h("palette-info-main"):l.info.main,.62)),E(l.Switch,"successDisabledColor",_(oe,a?h("palette-success-main"):l.success.main,.62)),E(l.Switch,"warningDisabledColor",_(oe,a?h("palette-warning-main"):l.warning.main,.62)),E(l.TableCell,"border",_(oe,ft(a?h("palette-divider"):l.divider,1),.88)),E(l.Tooltip,"bg",_(ft,a?h("palette-grey-700"):l.grey[700],.92))}if(l.mode==="dark"){E(l.Alert,"errorColor",_(oe,a?h("palette-error-light"):l.error.light,.6)),E(l.Alert,"infoColor",_(oe,a?h("palette-info-light"):l.info.light,.6)),E(l.Alert,"successColor",_(oe,a?h("palette-success-light"):l.success.light,.6)),E(l.Alert,"warningColor",_(oe,a?h("palette-warning-light"):l.warning.light,.6)),E(l.Alert,"errorFilledBg",A("palette-error-dark")),E(l.Alert,"infoFilledBg",A("palette-info-dark")),E(l.Alert,"successFilledBg",A("palette-success-dark")),E(l.Alert,"warningFilledBg",A("palette-warning-dark")),E(l.Alert,"errorFilledColor",We(()=>l.getContrastText(l.error.dark))),E(l.Alert,"infoFilledColor",We(()=>l.getContrastText(l.info.dark))),E(l.Alert,"successFilledColor",We(()=>l.getContrastText(l.success.dark))),E(l.Alert,"warningFilledColor",We(()=>l.getContrastText(l.warning.dark))),E(l.Alert,"errorStandardBg",_(ne,a?h("palette-error-light"):l.error.light,.9)),E(l.Alert,"infoStandardBg",_(ne,a?h("palette-info-light"):l.info.light,.9)),E(l.Alert,"successStandardBg",_(ne,a?h("palette-success-light"):l.success.light,.9)),E(l.Alert,"warningStandardBg",_(ne,a?h("palette-warning-light"):l.warning.light,.9)),E(l.Alert,"errorIconColor",A("palette-error-main")),E(l.Alert,"infoIconColor",A("palette-info-main")),E(l.Alert,"successIconColor",A("palette-success-main")),E(l.Alert,"warningIconColor",A("palette-warning-main")),E(l.AppBar,"defaultBg",A("palette-grey-900")),E(l.AppBar,"darkBg",A("palette-background-paper")),E(l.AppBar,"darkColor",A("palette-text-primary")),E(l.Avatar,"defaultBg",A("palette-grey-600")),E(l.Button,"inheritContainedBg",A("palette-grey-800")),E(l.Button,"inheritContainedHoverBg",A("palette-grey-700")),E(l.Chip,"defaultBorder",A("palette-grey-700")),E(l.Chip,"defaultAvatarColor",A("palette-grey-300")),E(l.Chip,"defaultIconColor",A("palette-grey-300")),E(l.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),E(l.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),E(l.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),E(l.LinearProgress,"primaryBg",_(ne,a?h("palette-primary-main"):l.primary.main,.5)),E(l.LinearProgress,"secondaryBg",_(ne,a?h("palette-secondary-main"):l.secondary.main,.5)),E(l.LinearProgress,"errorBg",_(ne,a?h("palette-error-main"):l.error.main,.5)),E(l.LinearProgress,"infoBg",_(ne,a?h("palette-info-main"):l.info.main,.5)),E(l.LinearProgress,"successBg",_(ne,a?h("palette-success-main"):l.success.main,.5)),E(l.LinearProgress,"warningBg",_(ne,a?h("palette-warning-main"):l.warning.main,.5)),E(l.Skeleton,"bg",$?_(ft,a?h("palette-text-primary"):l.text.primary,.13):`rgba(${A("palette-text-primaryChannel")} / 0.13)`),E(l.Slider,"primaryTrack",_(ne,a?h("palette-primary-main"):l.primary.main,.5)),E(l.Slider,"secondaryTrack",_(ne,a?h("palette-secondary-main"):l.secondary.main,.5)),E(l.Slider,"errorTrack",_(ne,a?h("palette-error-main"):l.error.main,.5)),E(l.Slider,"infoTrack",_(ne,a?h("palette-info-main"):l.info.main,.5)),E(l.Slider,"successTrack",_(ne,a?h("palette-success-main"):l.success.main,.5)),E(l.Slider,"warningTrack",_(ne,a?h("palette-warning-light"):l.warning.main,.5));const D=$?_(oe,a?h("palette-background-default"):l.background.default,.985):_r(l.background.default,.98);E(l.SnackbarContent,"bg",D),E(l.SnackbarContent,"color",We(()=>$?pi.text.primary:l.getContrastText(D))),E(l.SpeedDialAction,"fabHoverBg",_r(l.background.paper,.15)),E(l.StepConnector,"border",A("palette-grey-600")),E(l.StepContent,"border",A("palette-grey-600")),E(l.Switch,"defaultColor",A("palette-grey-300")),E(l.Switch,"defaultDisabledColor",A("palette-grey-600")),E(l.Switch,"primaryDisabledColor",_(ne,a?h("palette-primary-main"):l.primary.main,.55)),E(l.Switch,"secondaryDisabledColor",_(ne,a?h("palette-secondary-main"):l.secondary.main,.55)),E(l.Switch,"errorDisabledColor",_(ne,a?h("palette-error-main"):l.error.main,.55)),E(l.Switch,"infoDisabledColor",_(ne,a?h("palette-info-main"):l.info.main,.55)),E(l.Switch,"successDisabledColor",_(ne,a?h("palette-success-main"):l.success.main,.55)),E(l.Switch,"warningDisabledColor",_(ne,a?h("palette-warning-light"):l.warning.main,.55)),E(l.TableCell,"border",_(ne,ft(a?h("palette-divider"):l.divider,1),.68)),E(l.Tooltip,"bg",_(ft,a?h("palette-grey-700"):l.grey[700],.92))}a||(qe(l.background,"default"),qe(l.background,"paper"),qe(l.common,"background"),qe(l.common,"onBackground"),qe(l,"divider")),Object.keys(l).forEach(D=>{const j=l[D];D!=="tonalOffset"&&!a&&j&&typeof j=="object"&&(j.main&&E(l[D],"mainChannel",zt(Yt(j.main))),j.light&&E(l[D],"lightChannel",zt(Yt(j.light))),j.dark&&E(l[D],"darkChannel",zt(Yt(j.dark))),j.contrastText&&E(l[D],"contrastTextChannel",zt(Yt(j.contrastText))),D==="text"&&(qe(l[D],"primary"),qe(l[D],"secondary")),D==="action"&&(j.active&&qe(l[D],"active"),j.selected&&qe(l[D],"selected")))})}),O=t.reduce((x,l)=>ke(x,l),O);const N={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Ol(O),enableContrastVars:a},{vars:z,generateThemeVars:Y,generateStyleSheets:f}=Xc(O,N);return O.vars=z,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([x,l])=>{O[x]=l}),O.generateThemeVars=Y,O.generateStyleSheets=f,O.generateSpacing=function(){return ei(m.spacing,dn(this))},O.getColorSchemeSelector=Jc(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=s,O.unstable_sxConfig={...mr,...m==null?void 0:m.unstable_sxConfig},O.unstable_sx=function(l){return mt({sx:l,theme:this})},O.toRuntimeSource=Si,O}function Ti(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Rn({...r===!0?{}:r.palette,mode:t})})}function Pl(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",u=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Pn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Pn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},Ti(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Ti(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),Rl({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const Nl=Pl(),Il="$$material";function Ml(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Dl=Ic({themeId:Il,defaultTheme:Nl,rootShouldForwardProp:e=>Ml(e)&&e!=="classes"}),Bl=Gc;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function jl(e){return Yc(e)}function Fl(e){return Tn("MuiSvgIcon",e)}_c("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Vl=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ct(t)}`,`fontSize${ct(r)}`]};return Pa(o,Fl,n)},Ll=Dl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ct(r.color)}`],t[`fontSize${ct(r.fontSize)}`]]}})(Bl(({theme:e})=>{var t,r,n,o,i,a,s,u,d,m,p,g,h,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(n=(r=(e.vars??e).transitions)==null?void 0:r.duration)==null?void 0:n.shorter}),variants:[{props:c=>!c.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((u=(s=e.typography)==null?void 0:s.pxToRem)==null?void 0:u.call(s,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:m.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,c])=>c&&c.main).map(([c])=>{var v,w;return{props:{color:c},style:{color:(w=(v=(e.vars??e).palette)==null?void 0:v[c])==null?void 0:w.main}}}),{props:{color:"action"},style:{color:(g=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:g.active}},{props:{color:"disabled"},style:{color:(y=(h=(e.vars??e).palette)==null?void 0:h.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ar=M.forwardRef(function(t,r){const n=jl({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:g="0 0 24 24",...h}=n,y=M.isValidElement(o)&&o.type==="svg",c={...n,color:a,component:s,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:g,hasSvgAsChild:y},v={};m||(v.viewBox=g);const w=Vl(c);return J.jsxs(Ll,{as:s,className:xe(w.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:r,...v,...h,...y&&o.props,ownerState:c,children:[y?o.props.children:o,p?J.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Ar.propTypes={children:S.node,classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),S.string]),component:S.elementType,fontSize:S.oneOfType([S.oneOf(["inherit","large","medium","small"]),S.string]),htmlColor:S.string,inheritViewBox:S.bool,shapeRendering:S.string,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),titleAccess:S.string,viewBox:S.string}),Ar.muiName="SvgIcon";function zl(e,t){function r(n,o){return J.jsx(Ar,{"data-testid":process.env.NODE_ENV!=="production"?`${t}Icon`:void 0,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=Ar.muiName,M.memo(M.forwardRef(r))}const Ul=zl(J.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function In(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Mn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",s=!0;for(let u=0;u<i.length;u+=1){const d=i[u];d&&(a+=(s===!0?"":" ")+t(d),s=!1,r&&r[d]&&(a+=" "+r[d]))}n[o]=a}return n}function tt(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}function Wl(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Dn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Wl(e,t,r)}function Yl(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function rt(e){if(e.type)return e;if(e.charAt(0)==="#")return rt(Yl(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
96
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:tt(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
97
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:tt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Gl=e=>{const t=rt(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Gt=(e,t)=>{try{return Gl(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Rr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function wi(e){e=rt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",u.push(t[3])),Rr({type:s,values:u})}function Bn(e){e=rt(e);let t=e.type==="hsl"||e.type==="hsla"?rt(wi(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xi(e,t){const r=Bn(e),n=Bn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function jn(e,t){return e=rt(e),t=Dn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Rr(e)}function Pr(e,t,r){try{return jn(e,t)}catch{return e}}function Fn(e,t){if(e=rt(e),t=Dn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Rr(e)}function le(e,t,r){try{return Fn(e,t)}catch{return e}}function Vn(e,t){if(e=rt(e),t=Dn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Rr(e)}function ue(e,t,r){try{return Vn(e,t)}catch{return e}}function Kl(e,t=.15){return Bn(e)>.5?Fn(e,t):Vn(e,t)}function Nr(e,t,r){try{return Kl(e,t)}catch{return e}}const Oi=e=>e,ql=(()=>{let e=Oi;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Oi}}})();function Re(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":tt(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Ln={exports:{}},se={};/**
|
|
98
|
+
* @license React
|
|
99
|
+
* react-is.production.js
|
|
100
|
+
*
|
|
101
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
102
|
+
*
|
|
103
|
+
* This source code is licensed under the MIT license found in the
|
|
104
|
+
* LICENSE file in the root directory of this source tree.
|
|
105
|
+
*/var ki;function Hl(){if(ki)return se;ki=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");function y(c){if(typeof c=="object"&&c!==null){var v=c.$$typeof;switch(v){case e:switch(c=c.type,c){case r:case o:case n:case u:case d:case g:return c;default:switch(c=c&&c.$$typeof,c){case a:case s:case p:case m:return c;case i:return c;default:return v}}case t:return v}}}return se.ContextConsumer=i,se.ContextProvider=a,se.Element=e,se.ForwardRef=s,se.Fragment=r,se.Lazy=p,se.Memo=m,se.Portal=t,se.Profiler=o,se.StrictMode=n,se.Suspense=u,se.SuspenseList=d,se.isContextConsumer=function(c){return y(c)===i},se.isContextProvider=function(c){return y(c)===a},se.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},se.isForwardRef=function(c){return y(c)===s},se.isFragment=function(c){return y(c)===r},se.isLazy=function(c){return y(c)===p},se.isMemo=function(c){return y(c)===m},se.isPortal=function(c){return y(c)===t},se.isProfiler=function(c){return y(c)===o},se.isStrictMode=function(c){return y(c)===n},se.isSuspense=function(c){return y(c)===u},se.isSuspenseList=function(c){return y(c)===d},se.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===u||c===d||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===s||c.$$typeof===h||c.getModuleId!==void 0)},se.typeOf=y,se}var ce={};/**
|
|
106
|
+
* @license React
|
|
107
|
+
* react-is.development.js
|
|
108
|
+
*
|
|
109
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
110
|
+
*
|
|
111
|
+
* This source code is licensed under the MIT license found in the
|
|
112
|
+
* LICENSE file in the root directory of this source tree.
|
|
113
|
+
*/var _i;function Xl(){return _i||(_i=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var v=c.$$typeof;switch(v){case t:switch(c=c.type,c){case n:case i:case o:case d:case m:case h:return c;default:switch(c=c&&c.$$typeof,c){case s:case u:case g:case p:return c;case a:return c;default:return v}}case r:return v}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");ce.ContextConsumer=a,ce.ContextProvider=s,ce.Element=t,ce.ForwardRef=u,ce.Fragment=n,ce.Lazy=g,ce.Memo=p,ce.Portal=r,ce.Profiler=i,ce.StrictMode=o,ce.Suspense=d,ce.SuspenseList=m,ce.isContextConsumer=function(c){return e(c)===a},ce.isContextProvider=function(c){return e(c)===s},ce.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},ce.isForwardRef=function(c){return e(c)===u},ce.isFragment=function(c){return e(c)===n},ce.isLazy=function(c){return e(c)===g},ce.isMemo=function(c){return e(c)===p},ce.isPortal=function(c){return e(c)===r},ce.isProfiler=function(c){return e(c)===i},ce.isStrictMode=function(c){return e(c)===o},ce.isSuspense=function(c){return e(c)===d},ce.isSuspenseList=function(c){return e(c)===m},ce.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===d||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===g||c.$$typeof===p||c.$$typeof===s||c.$$typeof===a||c.$$typeof===u||c.$$typeof===y||c.getModuleId!==void 0)},ce.typeOf=e}()),ce}process.env.NODE_ENV==="production"?Ln.exports=Hl():Ln.exports=Xl();var Ir=Ln.exports;function He(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ai(e){if(M.isValidElement(e)||Ir.isValidElementType(e)||!He(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Ai(e[r])}),t}function Pe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return He(e)&&He(t)&&Object.keys(t).forEach(o=>{M.isValidElement(t[o])||Ir.isValidElementType(t[o])?n[o]=t[o]:He(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&He(e[o])?n[o]=Pe(e[o],t[o],r):r.clone?n[o]=He(t[o])?Ai(t[o]):t[o]:n[o]=t[o]}),n}function Kt(e,t){return t?Pe(e,t,{clone:!1}):e}const nt=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function Jl(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{var a,s;const i=/min-width:\s*([0-9.]+)/;return+(((a=n.match(i))==null?void 0:a[1])||0)-+(((s=o.match(i))==null?void 0:s[1])||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function Ql(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Zl(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
114
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:tt(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function eu(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...s)=>t(e.breakpoints.up(...s),a),i.down=(...s)=>t(e.breakpoints.down(...s),a),i.between=(...s)=>t(e.breakpoints.between(...s),a),i.only=(...s)=>t(e.breakpoints.only(...s),a),i.not=(...s)=>{const u=t(e.breakpoints.not(...s),a);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Mr={xs:0,sm:600,md:900,lg:1200,xl:1536},Ri={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Mr[e]}px)`},tu={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Mr[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Xe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||Ri;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||Ri;return Object.keys(t).reduce((a,s)=>{if(Ql(i.keys,s)){const u=Zl(n.containerQueries?n:tu,s);u&&(a[u]=r(t[s],s))}else if(Object.keys(i.values||Mr).includes(s)){const u=i.up(s);a[u]=r(t[s],s)}else{const u=s;a[u]=t[u]}return a},{})}return r(t)}function ru(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function nu(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Dr(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Br(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Dr(e,r)||n,t&&(o=t(o,n,e)),o}function Se(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],u=a.theme,d=Dr(u,n)||{};return Xe(a,s,p=>{let g=Br(d,o,p);return p===g&&typeof p=="string"&&(g=Br(d,o,`${t}${p==="default"?"":Re(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:nt}:{},i.filterProps=[t],i}function ou(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const iu={m:"margin",p:"padding"},au={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Pi={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},su=ou(e=>{if(e.length>2)if(Pi[e])e=Pi[e];else return[e];const[t,r]=e.split(""),n=iu[t],o=au[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),jr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Fr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],cu=[...jr,...Fr];function qt(e,t,r,n){const o=Dr(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
115
|
+
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
116
|
+
`)));const s=o[a];return i>=0?s:typeof s=="number"?-s:typeof s=="string"&&s.startsWith("var(")?`calc(-1 * ${s})`:`-${s}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
117
|
+
`)),()=>{})}function zn(e){return qt(e,"spacing",8,"spacing")}function Ht(e,t){return typeof t=="string"||t==null?t:e(t)}function lu(e,t){return r=>e.reduce((n,o)=>(n[o]=Ht(t,r),n),{})}function uu(e,t,r,n){if(!t.includes(r))return null;const o=su(r),i=lu(o,n),a=e[r];return Xe(e,a,i)}function Ni(e,t){const r=zn(e.theme);return Object.keys(e).map(n=>uu(e,t,n,r)).reduce(Kt,{})}function ye(e){return Ni(e,jr)}ye.propTypes=process.env.NODE_ENV!=="production"?jr.reduce((e,t)=>(e[t]=nt,e),{}):{},ye.filterProps=jr;function be(e){return Ni(e,Fr)}be.propTypes=process.env.NODE_ENV!=="production"?Fr.reduce((e,t)=>(e[t]=nt,e),{}):{},be.filterProps=Fr,process.env.NODE_ENV!=="production"&&cu.reduce((e,t)=>(e[t]=nt,e),{});function Vr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Kt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function De(e){return typeof e!="number"?e:`${e}px solid`}function Be(e,t){return Se({prop:e,themeKey:"borders",transform:t})}const fu=Be("border",De),du=Be("borderTop",De),pu=Be("borderRight",De),mu=Be("borderBottom",De),hu=Be("borderLeft",De),gu=Be("borderColor"),yu=Be("borderTopColor"),bu=Be("borderRightColor"),vu=Be("borderBottomColor"),Su=Be("borderLeftColor"),$u=Be("outline",De),Cu=Be("outlineColor"),Lr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=qt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Ht(t,n)});return Xe(e,e.borderRadius,r)}return null};Lr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:nt}:{},Lr.filterProps=["borderRadius"],Vr(fu,du,pu,mu,hu,gu,yu,bu,vu,Su,Lr,$u,Cu);const zr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=qt(e.theme,"spacing",8,"gap"),r=n=>({gap:Ht(t,n)});return Xe(e,e.gap,r)}return null};zr.propTypes=process.env.NODE_ENV!=="production"?{gap:nt}:{},zr.filterProps=["gap"];const Ur=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=qt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Ht(t,n)});return Xe(e,e.columnGap,r)}return null};Ur.propTypes=process.env.NODE_ENV!=="production"?{columnGap:nt}:{},Ur.filterProps=["columnGap"];const Wr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=qt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Ht(t,n)});return Xe(e,e.rowGap,r)}return null};Wr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:nt}:{},Wr.filterProps=["rowGap"];const Eu=Se({prop:"gridColumn"}),Tu=Se({prop:"gridRow"}),wu=Se({prop:"gridAutoFlow"}),xu=Se({prop:"gridAutoColumns"}),Ou=Se({prop:"gridAutoRows"}),ku=Se({prop:"gridTemplateColumns"}),_u=Se({prop:"gridTemplateRows"}),Au=Se({prop:"gridTemplateAreas"}),Ru=Se({prop:"gridArea"});Vr(zr,Ur,Wr,Eu,Tu,wu,xu,Ou,ku,_u,Au,Ru);function Et(e,t){return t==="grey"?t:e}const Pu=Se({prop:"color",themeKey:"palette",transform:Et}),Nu=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Et}),Iu=Se({prop:"backgroundColor",themeKey:"palette",transform:Et});Vr(Pu,Nu,Iu);function Ne(e){return e<=1&&e!==0?`${e*100}%`:e}const Mu=Se({prop:"width",transform:Ne}),Un=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,s,u;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||Mr[r];return n?((u=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ne(r)}};return Xe(e,e.maxWidth,t)}return null};Un.filterProps=["maxWidth"];const Du=Se({prop:"minWidth",transform:Ne}),Bu=Se({prop:"height",transform:Ne}),ju=Se({prop:"maxHeight",transform:Ne}),Fu=Se({prop:"minHeight",transform:Ne});Se({prop:"size",cssProperty:"width",transform:Ne}),Se({prop:"size",cssProperty:"height",transform:Ne});const Vu=Se({prop:"boxSizing"});Vr(Mu,Un,Du,Bu,ju,Fu,Vu);const Yr={border:{themeKey:"borders",transform:De},borderTop:{themeKey:"borders",transform:De},borderRight:{themeKey:"borders",transform:De},borderBottom:{themeKey:"borders",transform:De},borderLeft:{themeKey:"borders",transform:De},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:De},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lr},color:{themeKey:"palette",transform:Et},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Et},backgroundColor:{themeKey:"palette",transform:Et},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:ye},mt:{style:ye},mr:{style:ye},mb:{style:ye},ml:{style:ye},mx:{style:ye},my:{style:ye},margin:{style:ye},marginTop:{style:ye},marginRight:{style:ye},marginBottom:{style:ye},marginLeft:{style:ye},marginX:{style:ye},marginY:{style:ye},marginInline:{style:ye},marginInlineStart:{style:ye},marginInlineEnd:{style:ye},marginBlock:{style:ye},marginBlockStart:{style:ye},marginBlockEnd:{style:ye},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:zr},rowGap:{style:Wr},columnGap:{style:Ur},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ne},maxWidth:{style:Un},minWidth:{transform:Ne},height:{transform:Ne},maxHeight:{transform:Ne},minHeight:{transform:Ne},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Lu(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function zu(e,t){return typeof e=="function"?e(t):e}function Uu(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:u=r,themeKey:d,transform:m,style:p}=s;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[r]:n};const g=Dr(o,d)||{};return p?p(a):Xe(a,n,y=>{let c=Br(g,m,y);return y===c&&typeof y=="string"&&(c=Br(g,m,`${r}${y==="default"?"":Re(y)}`,y)),u===!1?c:{[u]:c}})}function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const i=o.unstable_sxConfig??Yr;function a(s){let u=s;if(typeof s=="function")u=s(o);else if(typeof s!="object")return s;if(!u)return null;const d=ru(o.breakpoints),m=Object.keys(d);let p=d;return Object.keys(u).forEach(g=>{const h=zu(u[g],o);if(h!=null)if(typeof h=="object")if(i[g])p=Kt(p,e(g,h,o,i));else{const y=Xe({theme:o},h,c=>({[g]:c}));Lu(y,h)?p[g]=t({sx:h,theme:o}):p=Kt(p,y)}else p=Kt(p,e(g,h,o,i))}),Jl(o,nu(m,p))}return Array.isArray(n)?n.map(a):a(n)}return t}const Tt=Uu();Tt.filterProps=["sx"];/**
|
|
118
|
+
* @mui/styled-engine v7.1.1
|
|
119
|
+
*
|
|
120
|
+
* @license MIT
|
|
121
|
+
* This source code is licensed under the MIT license found in the
|
|
122
|
+
* LICENSE file in the root directory of this source tree.
|
|
123
|
+
*/function Wu(e,t){const r=Tr(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
124
|
+
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function Yu(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Ii=[];function Mi(e){return Ii[0]=e,Vt(Ii)}const Gu=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Ku(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Gu(t),a=Object.keys(i);function s(g){return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r})`}function u(g){return`@media (max-width:${(typeof t[g]=="number"?t[g]:g)-n/100}${r})`}function d(g,h){const y=a.indexOf(h);return`@media (min-width:${typeof t[g]=="number"?t[g]:g}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:h)-n/100}${r})`}function m(g){return a.indexOf(g)+1<a.length?d(g,a[a.indexOf(g)+1]):s(g)}function p(g){const h=a.indexOf(g);return h===0?s(a[1]):h===a.length-1?u(a[h]):d(g,a[a.indexOf(g)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:s,down:u,between:d,only:m,not:p,unit:r,...o}}const qu={borderRadius:4};function Di(e=8,t=zn({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Hu(e,t){var n;const r=this;if(r.vars){if(!((n=r.colorSchemes)!=null&&n[e])||typeof r.getColorSchemeSelector!="function")return{};let o=r.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return r.palette.mode===e?t:{}}function Bi(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=Ku(r),u=Di(o);let d=Pe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...qu,...i}},a);return d=eu(d),d.applyStyles=Hu,d=t.reduce((m,p)=>Pe(m,p),d),d.unstable_sxConfig={...Yr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return Tt({sx:p,theme:this})},d}const Xu={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Xt(e,t,r="Mui"){const n=Xu[t];return n?`${r}-${n}`:`${ql.generate(e)}-${t}`}function Gr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Xt(e,o,r)}),n}function ji(e,t=""){return e.displayName||e.name||t}function Fi(e,t,r){const n=ji(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Ju(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ji(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ir.ForwardRef:return Fi(e,e.render,"ForwardRef");case Ir.Memo:return Fi(e,e.type,"memo");default:return}}}function Vi(e){const{variants:t,...r}=e,n={variants:t,style:Mi(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Mi(o.style))}),n}const Qu=Bi();function Wn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Zu(e){return e?(t,r)=>r[e]:null}function ef(e,t,r){e.theme=of(e.theme)?r:e.theme[t]||e.theme}function Kr(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>Kr(e,n));if(Array.isArray(r==null?void 0:r.variants)){let n;if(r.isProcessed)n=r.style;else{const{variants:o,...i}=r;n=i}return Li(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function Li(e,t,r=[]){var o;let n;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),!a.props(n))continue}else for(const s in a.props)if(e[s]!==a.props[s]&&((o=e.ownerState)==null?void 0:o[s])!==a.props[s])continue e;typeof a.style=="function"?(n??(n={...e,...e.ownerState,ownerState:e.ownerState}),r.push(a.style(n))):r.push(a.style)}return r}function tf(e={}){const{themeId:t,defaultTheme:r=Qu,rootShouldForwardProp:n=Wn,slotShouldForwardProp:o=Wn}=e;function i(s){ef(s,t,r)}return(s,u={})=>{Yu(s,C=>C.filter(O=>O!==Tt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:g,overridesResolver:h=Zu(zi(m)),...y}=u,c=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,v=g||!1;let w=Wn;m==="Root"||m==="root"?w=n:m?w=o:af(s)&&(w=void 0);const P=Wu(s,{shouldForwardProp:w,label:nf(d,m),...y}),R=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(N){return Kr(N,C)};if(He(C)){const O=Vi(C);return O.variants?function(z){return Kr(z,O)}:O.style}return C},$=(...C)=>{const O=[],N=C.map(R),z=[];if(O.push(i),d&&h&&z.push(function(l){var j,Q;const _=(Q=(j=l.theme.components)==null?void 0:j[d])==null?void 0:Q.styleOverrides;if(!_)return null;const D={};for(const de in _)D[de]=Kr(l,_[de]);return h(l,D)}),d&&!c&&z.push(function(l){var D,j;const A=l.theme,_=(j=(D=A==null?void 0:A.components)==null?void 0:D[d])==null?void 0:j.variants;return _?Li(l,_):null}),v||z.push(Tt),Array.isArray(N[0])){const x=N.shift(),l=new Array(O.length).fill(""),A=new Array(z.length).fill("");let _;_=[...l,...x,...A],_.raw=[...l,...x.raw,...A],O.unshift(_)}const Y=[...O,...N,...z],f=P(...Y);return s.muiName&&(f.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(f.displayName=rf(d,m,s)),f};return P.withConfig&&($.withConfig=P.withConfig),$}}function rf(e,t,r){return e?`${e}${Re(t||"")}`:`Styled(${Ju(r)})`}function nf(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${zi(t||"Root")}`),r}function of(e){for(const t in e)return!1;return!0}function af(e){return typeof e=="string"&&e.charCodeAt(0)>96}function zi(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Yn(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")r[o]={...e[o],...r[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],a=t[o];if(!a)r[o]=i||{};else if(!i)r[o]=a;else{r[o]={...a};for(const s in i)if(Object.prototype.hasOwnProperty.call(i,s)){const u=s;r[o][u]=Yn(i[u],a[u])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const sf=typeof window<"u"?M.useLayoutEffect:M.useEffect,cf=M.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function lf(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Yn(o.defaultProps,n):!o.styleOverrides&&!o.variants?Yn(o,n):n}function uf({props:e,name:t}){const r=M.useContext(cf);return lf({props:e,name:t,theme:{components:r}})}const Ui={theme:void 0};function ff(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Ui.theme=o.theme,i=Vi(e(Ui)),t=i,r=o.theme),i}}function df(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Wi=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},pf=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([s,u])=>{(!r||r&&!r([...i,s]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,s],Array.isArray(u)?[...a,s]:a):t([...i,s],u,a))})}n(e)},mf=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Gn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return pf(e,(s,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=mf(s,u);Object.assign(o,{[m]:p}),Wi(i,s,`var(${m})`,d),Wi(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function hf(e,t={}){const{getSelector:r=v,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:i={},components:a,defaultColorScheme:s="light",...u}=e,{vars:d,css:m,varsWithDefaults:p}=Gn(u,t);let g=p;const h={},{[s]:y,...c}=i;if(Object.entries(c||{}).forEach(([R,$])=>{const{vars:C,css:O,varsWithDefaults:N}=Gn($,t);g=Pe(g,N),h[R]={css:O,vars:C}}),y){const{css:R,vars:$,varsWithDefaults:C}=Gn(y,t);g=Pe(g,C),h[s]={css:R,vars:$}}function v(R,$){var O,N;let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),R){if(C==="media")return e.defaultColorScheme===R?":root":{[`@media (prefers-color-scheme: ${((N=(O=i[R])==null?void 0:O.palette)==null?void 0:N.mode)||R})`]:{":root":$}};if(C)return e.defaultColorScheme===R?`:root, ${C.replace("%s",String(R))}`:C.replace("%s",String(R))}return":root"}return{vars:g,generateThemeVars:()=>{let R={...d};return Object.entries(h).forEach(([,{vars:$}])=>{R=Pe(R,$)}),R},generateStyleSheets:()=>{var z,Y;const R=[],$=e.defaultColorScheme||"light";function C(f,x){Object.keys(x).length&&R.push(typeof f=="string"?{[f]:{...x}}:f)}C(r(void 0,{...m}),m);const{[$]:O,...N}=h;if(O){const{css:f}=O,x=(Y=(z=i[$])==null?void 0:z.palette)==null?void 0:Y.mode,l=!n&&x?{colorScheme:x,...f}:{...f};C(r($,{...l}),l)}return Object.entries(N).forEach(([f,{css:x}])=>{var _,D;const l=(D=(_=i[f])==null?void 0:_.palette)==null?void 0:D.mode,A=!n&&l?{colorScheme:l,...x}:{...x};C(r(f,{...A}),A)}),R}}}function gf(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}const Jt={black:"#000",white:"#fff"},yf={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"},wt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},xt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Qt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ot={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},kt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},_t={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Yi(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Jt.white,default:Jt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const bf=Yi();function Gi(){return{text:{primary:Jt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Jt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Ki=Gi();function qi(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Vn(e.main,o):t==="dark"&&(e.dark=Fn(e.main,i)))}function vf(e="light"){return e==="dark"?{main:Ot[200],light:Ot[50],dark:Ot[400]}:{main:Ot[700],light:Ot[400],dark:Ot[800]}}function Sf(e="light"){return e==="dark"?{main:wt[200],light:wt[50],dark:wt[400]}:{main:wt[500],light:wt[300],dark:wt[700]}}function $f(e="light"){return e==="dark"?{main:xt[500],light:xt[300],dark:xt[700]}:{main:xt[700],light:xt[400],dark:xt[800]}}function Cf(e="light"){return e==="dark"?{main:kt[400],light:kt[300],dark:kt[700]}:{main:kt[700],light:kt[500],dark:kt[900]}}function Ef(e="light"){return e==="dark"?{main:_t[400],light:_t[300],dark:_t[700]}:{main:_t[800],light:_t[500],dark:_t[900]}}function Tf(e="light"){return e==="dark"?{main:Qt[400],light:Qt[300],dark:Qt[700]}:{main:"#ed6c02",light:Qt[500],dark:Qt[900]}}function Kn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||vf(t),a=e.secondary||Sf(t),s=e.error||$f(t),u=e.info||Cf(t),d=e.success||Ef(t),m=e.warning||Tf(t);function p(c){const v=xi(c,Ki.text.primary)>=r?Ki.text.primary:bf.text.primary;if(process.env.NODE_ENV!=="production"){const w=xi(c,v);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${v} on ${c}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
125
|
+
`))}return v}const g=({color:c,name:v,mainShade:w=500,lightShade:P=300,darkShade:R=700})=>{if(c={...c},!c.main&&c[w]&&(c.main=c[w]),!c.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
|
|
126
|
+
The color object needs to have a \`main\` property or a \`${w}\` property.`:tt(11,v?` (${v})`:"",w));if(typeof c.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${v?` (${v})`:""} provided to augmentColor(color) is invalid.
|
|
127
|
+
\`color.main\` should be a string, but \`${JSON.stringify(c.main)}\` was provided instead.
|
|
128
|
+
|
|
129
|
+
Did you intend to use one of the following approaches?
|
|
130
|
+
|
|
131
|
+
import { green } from "@mui/material/colors";
|
|
132
|
+
|
|
133
|
+
const theme1 = createTheme({ palette: {
|
|
134
|
+
primary: green,
|
|
135
|
+
} });
|
|
136
|
+
|
|
137
|
+
const theme2 = createTheme({ palette: {
|
|
138
|
+
primary: { main: green[500] },
|
|
139
|
+
} });`:tt(12,v?` (${v})`:"",JSON.stringify(c.main)));return qi(c,"light",P,n),qi(c,"dark",R,n),c.contrastText||(c.contrastText=p(c.main)),c};let h;return t==="light"?h=Yi():t==="dark"&&(h=Gi()),process.env.NODE_ENV!=="production"&&(h||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Pe({common:{...Jt},mode:t,primary:g({color:i,name:"primary"}),secondary:g({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:g({color:s,name:"error"}),warning:g({color:m,name:"warning"}),info:g({color:u,name:"info"}),success:g({color:d,name:"success"}),grey:yf,contrastThreshold:r,getContrastText:p,augmentColor:g,tonalOffset:n,...h},o)}function wf(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function xf(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Of(e){return Math.round(e*1e5)/1e5}const Hi={textTransform:"uppercase"},Xi='"Roboto", "Helvetica", "Arial", sans-serif';function kf(e,t){const{fontFamily:r=Xi,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:d,pxToRem:m,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const g=n/14,h=m||(v=>`${v/u*g}rem`),y=(v,w,P,R,$)=>({fontFamily:r,fontWeight:v,fontSize:h(w),lineHeight:P,...r===Xi?{letterSpacing:`${Of(R/w)}em`}:{},...$,...d}),c={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(a,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(a,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(a,14,1.75,.4,Hi),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,Hi),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Pe({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...c},p,{clone:!1})}const _f=.2,Af=.14,Rf=.12;function me(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${_f})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Af})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Rf})`].join(",")}const Pf=["none",me(0,2,1,-1,0,1,1,0,0,1,3,0),me(0,3,1,-2,0,2,2,0,0,1,5,0),me(0,3,3,-2,0,3,4,0,0,1,8,0),me(0,2,4,-1,0,4,5,0,0,1,10,0),me(0,3,5,-1,0,5,8,0,0,1,14,0),me(0,3,5,-1,0,6,10,0,0,1,18,0),me(0,4,5,-2,0,7,10,1,0,2,16,1),me(0,5,5,-3,0,8,10,1,0,3,14,2),me(0,5,6,-3,0,9,12,1,0,3,16,2),me(0,6,6,-3,0,10,14,1,0,4,18,3),me(0,6,7,-4,0,11,15,1,0,4,20,3),me(0,7,8,-4,0,12,17,2,0,5,22,4),me(0,7,8,-4,0,13,19,2,0,5,24,4),me(0,7,9,-4,0,14,21,2,0,5,26,4),me(0,8,9,-5,0,15,22,2,0,6,28,5),me(0,8,10,-5,0,16,24,2,0,6,30,5),me(0,8,11,-5,0,17,26,2,0,6,32,5),me(0,9,11,-5,0,18,28,2,0,7,34,6),me(0,9,12,-6,0,19,29,2,0,7,36,6),me(0,10,13,-6,0,20,31,3,0,8,38,7),me(0,10,13,-6,0,21,33,3,0,8,40,7),me(0,10,14,-6,0,22,35,3,0,8,42,7),me(0,11,14,-7,0,23,36,3,0,9,44,8),me(0,11,15,-7,0,24,38,3,0,9,46,8)],Nf={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)"},If={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ji(e){return`${Math.round(e)}ms`}function Mf(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Df(e){const t={...Nf,...e.easing},r={...If,...e.duration};return{getAutoHeightDuration:Mf,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:u=0,...d}=i;if(process.env.NODE_ENV!=="production"){const m=g=>typeof g=="string",p=g=>!Number.isNaN(parseFloat(g));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!m(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),m(s)||console.error('MUI: Argument "easing" must be a string.'),!p(u)&&!m(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
140
|
+
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof a=="string"?a:Ji(a)} ${s} ${typeof u=="string"?u:Ji(u)}`).join(",")},...e,easing:t,duration:r}}const Bf={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function jf(e){return He(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Qi(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,s]=o[i];!jf(s)||a.startsWith("unstable_")?delete n[a]:He(s)&&(n[a]={...s},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
141
|
+
|
|
142
|
+
const theme = ${JSON.stringify(t,null,2)};
|
|
143
|
+
|
|
144
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
145
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
146
|
+
|
|
147
|
+
export default theme;`}function qn(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:s={},shape:u,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":tt(20));const m=Kn(i),p=Bi(e);let g=Pe(p,{mixins:xf(p.breakpoints,n),palette:m,shadows:Pf.slice(),typography:kf(m,s),transitions:Df(a),zIndex:{...Bf}});if(g=Pe(g,d),g=t.reduce((h,y)=>Pe(h,y),g),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],y=(c,v)=>{let w;for(w in c){const P=c[w];if(h.includes(w)&&Object.keys(P).length>0){if(process.env.NODE_ENV!=="production"){const R=Xt("",w);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${w}\` internal state.`,"You can not override it like this: ",JSON.stringify(c,null,2),"",`Instead, you need to use the '&.${R}' syntax:`,JSON.stringify({root:{[`&.${R}`]:P}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
148
|
+
`))}c[w]={}}}};Object.keys(g.components).forEach(c=>{const v=g.components[c].styleOverrides;v&&c.startsWith("Mui")&&y(v,c)})}return g.unstable_sxConfig={...Yr,...d==null?void 0:d.unstable_sxConfig},g.unstable_sx=function(y){return Tt({sx:y,theme:this})},g.toRuntimeSource=Qi,g}function Ff(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Vf=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ff(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Zi(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ea(e){return e==="dark"?Vf:[]}function Lf(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=Kn(t);return{palette:i,opacity:{...Zi(i.mode),...r},overlays:n||ea(i.mode),...o}}function zf(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const Uf=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Wf=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return Uf(e.cssVarPrefix).forEach(s=>{a[s]=r[s],delete r[s]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function Yf(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function T(e,t,r){!e[t]&&r&&(e[t]=r)}function Zt(e){return typeof e!="string"||!e.startsWith("hsl")?e:wi(e)}function Je(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Gt(Zt(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().
|
|
149
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Gf(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ye=e=>{try{return e()}catch{}},Kf=(e="mui")=>df(e);function Hn(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=Lf({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=qn({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...Zi(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||ea(o)},a}function qf(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=zf,colorSchemeSelector:s=r.light&&r.dark?"media":void 0,rootSelector:u=":root",...d}=e,m=Object.keys(r)[0],p=n||(r.light&&m!=="light"?"light":m),g=Kf(i),{[p]:h,light:y,dark:c,...v}=r,w={...v};let P=h;if((p==="dark"&&!("dark"in r)||p==="light"&&!("light"in r))&&(P=!0),!P)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:tt(21,p));const R=Hn(w,P,d,p);y&&!w.light&&Hn(w,y,void 0,"light"),c&&!w.dark&&Hn(w,c,void 0,"dark");let $={defaultColorScheme:p,...R,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:u,getCssVar:g,colorSchemes:w,font:{...wf(R.typography),...R.font},spacing:Gf(d.spacing)};Object.keys($.colorSchemes).forEach(Y=>{const f=$.colorSchemes[Y].palette,x=l=>{const A=l.split("-"),_=A[1],D=A[2];return g(l,f[_][D])};if(f.mode==="light"&&(T(f.common,"background","#fff"),T(f.common,"onBackground","#000")),f.mode==="dark"&&(T(f.common,"background","#000"),T(f.common,"onBackground","#fff")),Yf(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){T(f.Alert,"errorColor",le(f.error.light,.6)),T(f.Alert,"infoColor",le(f.info.light,.6)),T(f.Alert,"successColor",le(f.success.light,.6)),T(f.Alert,"warningColor",le(f.warning.light,.6)),T(f.Alert,"errorFilledBg",x("palette-error-main")),T(f.Alert,"infoFilledBg",x("palette-info-main")),T(f.Alert,"successFilledBg",x("palette-success-main")),T(f.Alert,"warningFilledBg",x("palette-warning-main")),T(f.Alert,"errorFilledColor",Ye(()=>f.getContrastText(f.error.main))),T(f.Alert,"infoFilledColor",Ye(()=>f.getContrastText(f.info.main))),T(f.Alert,"successFilledColor",Ye(()=>f.getContrastText(f.success.main))),T(f.Alert,"warningFilledColor",Ye(()=>f.getContrastText(f.warning.main))),T(f.Alert,"errorStandardBg",ue(f.error.light,.9)),T(f.Alert,"infoStandardBg",ue(f.info.light,.9)),T(f.Alert,"successStandardBg",ue(f.success.light,.9)),T(f.Alert,"warningStandardBg",ue(f.warning.light,.9)),T(f.Alert,"errorIconColor",x("palette-error-main")),T(f.Alert,"infoIconColor",x("palette-info-main")),T(f.Alert,"successIconColor",x("palette-success-main")),T(f.Alert,"warningIconColor",x("palette-warning-main")),T(f.AppBar,"defaultBg",x("palette-grey-100")),T(f.Avatar,"defaultBg",x("palette-grey-400")),T(f.Button,"inheritContainedBg",x("palette-grey-300")),T(f.Button,"inheritContainedHoverBg",x("palette-grey-A100")),T(f.Chip,"defaultBorder",x("palette-grey-400")),T(f.Chip,"defaultAvatarColor",x("palette-grey-700")),T(f.Chip,"defaultIconColor",x("palette-grey-700")),T(f.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(f.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(f.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(f.LinearProgress,"primaryBg",ue(f.primary.main,.62)),T(f.LinearProgress,"secondaryBg",ue(f.secondary.main,.62)),T(f.LinearProgress,"errorBg",ue(f.error.main,.62)),T(f.LinearProgress,"infoBg",ue(f.info.main,.62)),T(f.LinearProgress,"successBg",ue(f.success.main,.62)),T(f.LinearProgress,"warningBg",ue(f.warning.main,.62)),T(f.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),T(f.Slider,"primaryTrack",ue(f.primary.main,.62)),T(f.Slider,"secondaryTrack",ue(f.secondary.main,.62)),T(f.Slider,"errorTrack",ue(f.error.main,.62)),T(f.Slider,"infoTrack",ue(f.info.main,.62)),T(f.Slider,"successTrack",ue(f.success.main,.62)),T(f.Slider,"warningTrack",ue(f.warning.main,.62));const l=Nr(f.background.default,.8);T(f.SnackbarContent,"bg",l),T(f.SnackbarContent,"color",Ye(()=>f.getContrastText(l))),T(f.SpeedDialAction,"fabHoverBg",Nr(f.background.paper,.15)),T(f.StepConnector,"border",x("palette-grey-400")),T(f.StepContent,"border",x("palette-grey-400")),T(f.Switch,"defaultColor",x("palette-common-white")),T(f.Switch,"defaultDisabledColor",x("palette-grey-100")),T(f.Switch,"primaryDisabledColor",ue(f.primary.main,.62)),T(f.Switch,"secondaryDisabledColor",ue(f.secondary.main,.62)),T(f.Switch,"errorDisabledColor",ue(f.error.main,.62)),T(f.Switch,"infoDisabledColor",ue(f.info.main,.62)),T(f.Switch,"successDisabledColor",ue(f.success.main,.62)),T(f.Switch,"warningDisabledColor",ue(f.warning.main,.62)),T(f.TableCell,"border",ue(Pr(f.divider,1),.88)),T(f.Tooltip,"bg",Pr(f.grey[700],.92))}if(f.mode==="dark"){T(f.Alert,"errorColor",ue(f.error.light,.6)),T(f.Alert,"infoColor",ue(f.info.light,.6)),T(f.Alert,"successColor",ue(f.success.light,.6)),T(f.Alert,"warningColor",ue(f.warning.light,.6)),T(f.Alert,"errorFilledBg",x("palette-error-dark")),T(f.Alert,"infoFilledBg",x("palette-info-dark")),T(f.Alert,"successFilledBg",x("palette-success-dark")),T(f.Alert,"warningFilledBg",x("palette-warning-dark")),T(f.Alert,"errorFilledColor",Ye(()=>f.getContrastText(f.error.dark))),T(f.Alert,"infoFilledColor",Ye(()=>f.getContrastText(f.info.dark))),T(f.Alert,"successFilledColor",Ye(()=>f.getContrastText(f.success.dark))),T(f.Alert,"warningFilledColor",Ye(()=>f.getContrastText(f.warning.dark))),T(f.Alert,"errorStandardBg",le(f.error.light,.9)),T(f.Alert,"infoStandardBg",le(f.info.light,.9)),T(f.Alert,"successStandardBg",le(f.success.light,.9)),T(f.Alert,"warningStandardBg",le(f.warning.light,.9)),T(f.Alert,"errorIconColor",x("palette-error-main")),T(f.Alert,"infoIconColor",x("palette-info-main")),T(f.Alert,"successIconColor",x("palette-success-main")),T(f.Alert,"warningIconColor",x("palette-warning-main")),T(f.AppBar,"defaultBg",x("palette-grey-900")),T(f.AppBar,"darkBg",x("palette-background-paper")),T(f.AppBar,"darkColor",x("palette-text-primary")),T(f.Avatar,"defaultBg",x("palette-grey-600")),T(f.Button,"inheritContainedBg",x("palette-grey-800")),T(f.Button,"inheritContainedHoverBg",x("palette-grey-700")),T(f.Chip,"defaultBorder",x("palette-grey-700")),T(f.Chip,"defaultAvatarColor",x("palette-grey-300")),T(f.Chip,"defaultIconColor",x("palette-grey-300")),T(f.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(f.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(f.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(f.LinearProgress,"primaryBg",le(f.primary.main,.5)),T(f.LinearProgress,"secondaryBg",le(f.secondary.main,.5)),T(f.LinearProgress,"errorBg",le(f.error.main,.5)),T(f.LinearProgress,"infoBg",le(f.info.main,.5)),T(f.LinearProgress,"successBg",le(f.success.main,.5)),T(f.LinearProgress,"warningBg",le(f.warning.main,.5)),T(f.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),T(f.Slider,"primaryTrack",le(f.primary.main,.5)),T(f.Slider,"secondaryTrack",le(f.secondary.main,.5)),T(f.Slider,"errorTrack",le(f.error.main,.5)),T(f.Slider,"infoTrack",le(f.info.main,.5)),T(f.Slider,"successTrack",le(f.success.main,.5)),T(f.Slider,"warningTrack",le(f.warning.main,.5));const l=Nr(f.background.default,.98);T(f.SnackbarContent,"bg",l),T(f.SnackbarContent,"color",Ye(()=>f.getContrastText(l))),T(f.SpeedDialAction,"fabHoverBg",Nr(f.background.paper,.15)),T(f.StepConnector,"border",x("palette-grey-600")),T(f.StepContent,"border",x("palette-grey-600")),T(f.Switch,"defaultColor",x("palette-grey-300")),T(f.Switch,"defaultDisabledColor",x("palette-grey-600")),T(f.Switch,"primaryDisabledColor",le(f.primary.main,.55)),T(f.Switch,"secondaryDisabledColor",le(f.secondary.main,.55)),T(f.Switch,"errorDisabledColor",le(f.error.main,.55)),T(f.Switch,"infoDisabledColor",le(f.info.main,.55)),T(f.Switch,"successDisabledColor",le(f.success.main,.55)),T(f.Switch,"warningDisabledColor",le(f.warning.main,.55)),T(f.TableCell,"border",le(Pr(f.divider,1),.68)),T(f.Tooltip,"bg",Pr(f.grey[700],.92))}Je(f.background,"default"),Je(f.background,"paper"),Je(f.common,"background"),Je(f.common,"onBackground"),Je(f,"divider"),Object.keys(f).forEach(l=>{const A=f[l];l!=="tonalOffset"&&A&&typeof A=="object"&&(A.main&&T(f[l],"mainChannel",Gt(Zt(A.main))),A.light&&T(f[l],"lightChannel",Gt(Zt(A.light))),A.dark&&T(f[l],"darkChannel",Gt(Zt(A.dark))),A.contrastText&&T(f[l],"contrastTextChannel",Gt(Zt(A.contrastText))),l==="text"&&(Je(f[l],"primary"),Je(f[l],"secondary")),l==="action"&&(A.active&&Je(f[l],"active"),A.selected&&Je(f[l],"selected")))})}),$=t.reduce((Y,f)=>Pe(Y,f),$);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:Wf($)},{vars:O,generateThemeVars:N,generateStyleSheets:z}=hf($,C);return $.vars=O,Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([Y,f])=>{$[Y]=f}),$.generateThemeVars=N,$.generateStyleSheets=z,$.generateSpacing=function(){return Di(d.spacing,zn(this))},$.getColorSchemeSelector=gf(s),$.spacing=$.generateSpacing(),$.shouldSkipGeneratingVar=a,$.unstable_sxConfig={...Yr,...d==null?void 0:d.unstable_sxConfig},$.unstable_sx=function(f){return Tt({sx:f,theme:this})},$.toRuntimeSource=Qi,$}function ta(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Kn({...r===!0?{}:r.palette,mode:t})})}function Hf(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r==null?void 0:r.mode,...a}=e,s=i||"light",u=o==null?void 0:o[s],d={...o,...r?{[s]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return qn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=qn({...e,palette:m},...t);return p.defaultColorScheme=s,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},ta(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},ta(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),qf({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const Xf=Hf(),Jf="$$material";function Qf(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ot=tf({themeId:Jf,defaultTheme:Xf,rootShouldForwardProp:e=>Qf(e)&&e!=="classes"}),qr=ff;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Hr(e){return uf(e)}let ra=0;function Zf(e){const[t,r]=M.useState(e),n=e||t;return M.useEffect(()=>{t==null&&(ra+=1,r(`mui-${ra}`))},[t]),n}const na={...M}.useId;function ed(e){if(na!==void 0){const t=na();return e??t}return Zf(e)}function Xr(e){const t=M.useRef(e);return sf(()=>{t.current=e}),M.useRef((...r)=>(0,t.current)(...r)).current}function oa(...e){const t=M.useRef(void 0),r=M.useCallback(n=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const a=i,s=a(n);return typeof s=="function"?s:()=>{a(null)}}return i.current=n,()=>{i.current=null}});return()=>{o.forEach(i=>i==null?void 0:i())}},e);return M.useMemo(()=>e.every(n=>n==null)?null:n=>{t.current&&(t.current(),t.current=void 0),n!=null&&(t.current=r(n))},e)}function td(e){return typeof e.main=="string"}function rd(e,t=[]){if(!td(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function Xn(e=[]){return([,t])=>t&&rd(t,e)}const nd=S.oneOfType([S.func,S.object]);function od(e){const{prototype:t={}}=e;return!!t.isReactComponent}function id(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let s;return typeof i=="function"&&!od(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const ad=In(S.elementType,id);function ia(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
150
|
+
`))}return!1}const aa={};function sa(e,t){const r=M.useRef(aa);return r.current===aa&&(r.current=e(t)),r}class Jr{constructor(){tr(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Jr}static use(){const t=sa(Jr.create).current,[r,n]=M.useState(!1);return t.shouldMount=r,t.setShouldMount=n,M.useEffect(t.mountEffect,[r]),t}mount(){return this.mounted||(this.mounted=cd(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.start(...t)})}stop(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.stop(...t)})}pulsate(...t){this.mount().then(()=>{var r;return(r=this.ref.current)==null?void 0:r.pulsate(...t)})}}function sd(){return Jr.use()}function cd(){let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function ld(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function Jn(e,t){return Jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Jn(e,t)}function ud(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Jn(e,t)}const ca=U.createContext(null);function fd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qn(e,t){var r=function(i){return t&&U.isValidElement(i)?t(i):i},n=Object.create(null);return e&&U.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function dd(e,t){e=e||{},t=t||{};function r(m){return m in t?t[m]:e[m]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var u in t){if(n[u])for(a=0;a<n[u].length;a++){var d=n[u][a];s[n[u][a]]=r(d)}s[u]=r(u)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function dt(e,t,r){return r[t]!=null?r[t]:e.props[t]}function pd(e,t){return Qn(e.children,function(r){return U.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:dt(r,"appear",e),enter:dt(r,"enter",e),exit:dt(r,"exit",e)})})}function md(e,t,r){var n=Qn(e.children),o=dd(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(U.isValidElement(a)){var s=i in t,u=i in n,d=t[i],m=U.isValidElement(d)&&!d.props.in;u&&(!s||m)?o[i]=U.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:dt(a,"exit",e),enter:dt(a,"enter",e)}):!u&&s&&!m?o[i]=U.cloneElement(a,{in:!1}):u&&s&&U.isValidElement(d)&&(o[i]=U.cloneElement(a,{onExited:r.bind(null,a),in:d.props.in,exit:dt(a,"exit",e),enter:dt(a,"enter",e)}))}}),o}var hd=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},gd={component:"div",childFactory:function(t){return t}},Zn=function(e){ud(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(fd(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,u=i.firstRender;return{children:u?pd(o,s):md(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=Qn(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var u=hr({},s.children);return delete u[o.key],{children:u}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=ld(o,["component","childFactory"]),u=this.state.contextValue,d=hd(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?U.createElement(ca.Provider,{value:u},d):U.createElement(ca.Provider,{value:u},U.createElement(i,s,d))},t}(U.Component);Zn.propTypes=process.env.NODE_ENV!=="production"?{component:S.any,children:S.node,appear:S.bool,enter:S.bool,exit:S.bool,childFactory:S.func}:{},Zn.defaultProps=gd;const yd=[];function bd(e){M.useEffect(e,yd)}class eo{constructor(){tr(this,"currentId",null);tr(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});tr(this,"disposeEffect",()=>this.clear)}static create(){return new eo}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function vd(){const e=sa(eo.create).current;return bd(e.disposeEffect),e}function la(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:u,timeout:d}=e,[m,p]=M.useState(!1),g=xe(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},y=xe(r.child,m&&r.childLeaving,n&&r.childPulsate);return!s&&!m&&p(!0),M.useEffect(()=>{if(!s&&u!=null){const c=setTimeout(u,d);return()=>{clearTimeout(c)}}},[u,s,d]),J.jsx("span",{className:g,style:h,children:J.jsx("span",{className:y})})}process.env.NODE_ENV!=="production"&&(la.propTypes={classes:S.object.isRequired,className:S.string,in:S.bool,onExited:S.func,pulsate:S.bool,rippleSize:S.number,rippleX:S.number,rippleY:S.number,timeout:S.number.isRequired});const je=Gr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),to=550,Sd=80,$d=Lt`
|
|
151
|
+
0% {
|
|
152
|
+
transform: scale(0);
|
|
153
|
+
opacity: 0.1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
100% {
|
|
157
|
+
transform: scale(1);
|
|
158
|
+
opacity: 0.3;
|
|
159
|
+
}
|
|
160
|
+
`,Cd=Lt`
|
|
161
|
+
0% {
|
|
162
|
+
opacity: 1;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
100% {
|
|
166
|
+
opacity: 0;
|
|
167
|
+
}
|
|
168
|
+
`,Ed=Lt`
|
|
169
|
+
0% {
|
|
170
|
+
transform: scale(1);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
50% {
|
|
174
|
+
transform: scale(0.92);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
100% {
|
|
178
|
+
transform: scale(1);
|
|
179
|
+
}
|
|
180
|
+
`,Td=ot("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),wd=ot(la,{name:"MuiTouchRipple",slot:"Ripple"})`
|
|
181
|
+
opacity: 0;
|
|
182
|
+
position: absolute;
|
|
183
|
+
|
|
184
|
+
&.${je.rippleVisible} {
|
|
185
|
+
opacity: 0.3;
|
|
186
|
+
transform: scale(1);
|
|
187
|
+
animation-name: ${$d};
|
|
188
|
+
animation-duration: ${to}ms;
|
|
189
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&.${je.ripplePulsate} {
|
|
193
|
+
animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
& .${je.child} {
|
|
197
|
+
opacity: 1;
|
|
198
|
+
display: block;
|
|
199
|
+
width: 100%;
|
|
200
|
+
height: 100%;
|
|
201
|
+
border-radius: 50%;
|
|
202
|
+
background-color: currentColor;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
& .${je.childLeaving} {
|
|
206
|
+
opacity: 0;
|
|
207
|
+
animation-name: ${Cd};
|
|
208
|
+
animation-duration: ${to}ms;
|
|
209
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
& .${je.childPulsate} {
|
|
213
|
+
position: absolute;
|
|
214
|
+
/* @noflip */
|
|
215
|
+
left: 0px;
|
|
216
|
+
top: 0;
|
|
217
|
+
animation-name: ${Ed};
|
|
218
|
+
animation-duration: 2500ms;
|
|
219
|
+
animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
|
|
220
|
+
animation-iteration-count: infinite;
|
|
221
|
+
animation-delay: 200ms;
|
|
222
|
+
}
|
|
223
|
+
`,ua=M.forwardRef(function(t,r){const n=Hr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a,...s}=n,[u,d]=M.useState([]),m=M.useRef(0),p=M.useRef(null);M.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);const g=M.useRef(!1),h=vd(),y=M.useRef(null),c=M.useRef(null),v=M.useCallback($=>{const{pulsate:C,rippleX:O,rippleY:N,rippleSize:z,cb:Y}=$;d(f=>[...f,J.jsx(wd,{classes:{ripple:xe(i.ripple,je.ripple),rippleVisible:xe(i.rippleVisible,je.rippleVisible),ripplePulsate:xe(i.ripplePulsate,je.ripplePulsate),child:xe(i.child,je.child),childLeaving:xe(i.childLeaving,je.childLeaving),childPulsate:xe(i.childPulsate,je.childPulsate)},timeout:to,pulsate:C,rippleX:O,rippleY:N,rippleSize:z},m.current)]),m.current+=1,p.current=Y},[i]),w=M.useCallback(($={},C={},O=()=>{})=>{const{pulsate:N=!1,center:z=o||C.pulsate,fakeElement:Y=!1}=C;if(($==null?void 0:$.type)==="mousedown"&&g.current){g.current=!1;return}($==null?void 0:$.type)==="touchstart"&&(g.current=!0);const f=Y?null:c.current,x=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,A,_;if(z||$===void 0||$.clientX===0&&$.clientY===0||!$.clientX&&!$.touches)l=Math.round(x.width/2),A=Math.round(x.height/2);else{const{clientX:D,clientY:j}=$.touches&&$.touches.length>0?$.touches[0]:$;l=Math.round(D-x.left),A=Math.round(j-x.top)}if(z)_=Math.sqrt((2*x.width**2+x.height**2)/3),_%2===0&&(_+=1);else{const D=Math.max(Math.abs((f?f.clientWidth:0)-l),l)*2+2,j=Math.max(Math.abs((f?f.clientHeight:0)-A),A)*2+2;_=Math.sqrt(D**2+j**2)}$!=null&&$.touches?y.current===null&&(y.current=()=>{v({pulsate:N,rippleX:l,rippleY:A,rippleSize:_,cb:O})},h.start(Sd,()=>{y.current&&(y.current(),y.current=null)})):v({pulsate:N,rippleX:l,rippleY:A,rippleSize:_,cb:O})},[o,v,h]),P=M.useCallback(()=>{w({},{pulsate:!0})},[w]),R=M.useCallback(($,C)=>{if(h.clear(),($==null?void 0:$.type)==="touchend"&&y.current){y.current(),y.current=null,h.start(0,()=>{R($,C)});return}y.current=null,d(O=>O.length>0?O.slice(1):O),p.current=C},[h]);return M.useImperativeHandle(r,()=>({pulsate:P,start:w,stop:R}),[P,w,R]),J.jsx(Td,{className:xe(je.root,i.root,a),ref:c,...s,children:J.jsx(Zn,{component:null,exit:!0,children:u})})});process.env.NODE_ENV!=="production"&&(ua.propTypes={center:S.bool,classes:S.object,className:S.string});function xd(e){return Xt("MuiButtonBase",e)}const Od=Gr("MuiButtonBase",["root","disabled","focusVisible"]),kd=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Mn({root:["root",t&&"disabled",r&&"focusVisible"]},xd,o);return r&&n&&(a.root+=` ${n}`),a},_d=ot("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"},[`&.${Od.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),fa=M.forwardRef(function(t,r){const n=Hr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:u="button",disabled:d=!1,disableRipple:m=!1,disableTouchRipple:p=!1,focusRipple:g=!1,focusVisibleClassName:h,LinkComponent:y="a",onBlur:c,onClick:v,onContextMenu:w,onDragLeave:P,onFocus:R,onFocusVisible:$,onKeyDown:C,onKeyUp:O,onMouseDown:N,onMouseLeave:z,onMouseUp:Y,onTouchEnd:f,onTouchMove:x,onTouchStart:l,tabIndex:A=0,TouchRippleProps:_,touchRippleRef:D,type:j,...Q}=n,de=M.useRef(null),fe=sd(),b=oa(fe.ref,D),[k,B]=M.useState(!1);d&&k&&B(!1),M.useImperativeHandle(o,()=>({focusVisible:()=>{B(!0),de.current.focus()}}),[]);const F=fe.shouldMount&&!m&&!d;M.useEffect(()=>{k&&g&&!m&&fe.pulsate()},[m,g,k,fe]);const V=Qe(fe,"start",N,p),W=Qe(fe,"stop",w,p),G=Qe(fe,"stop",P,p),K=Qe(fe,"stop",Y,p),L=Qe(fe,"stop",q=>{k&&q.preventDefault(),z&&z(q)},p),H=Qe(fe,"start",l,p),X=Qe(fe,"stop",f,p),Ce=Qe(fe,"stop",x,p),I=Qe(fe,"stop",q=>{ia(q.target)||B(!1),c&&c(q)},!1),Fe=Xr(q=>{de.current||(de.current=q.currentTarget),ia(q.target)&&(B(!0),$&&$(q)),R&&R(q)}),at=()=>{const q=de.current;return u&&u!=="button"&&!(q.tagName==="A"&&q.href)},Qr=Xr(q=>{g&&!q.repeat&&k&&q.key===" "&&fe.stop(q,()=>{fe.start(q)}),q.target===q.currentTarget&&at()&&q.key===" "&&q.preventDefault(),C&&C(q),q.target===q.currentTarget&&at()&&q.key==="Enter"&&!d&&(q.preventDefault(),v&&v(q))}),Wd=Xr(q=>{g&&q.key===" "&&k&&!q.defaultPrevented&&fe.stop(q,()=>{fe.pulsate(q)}),O&&O(q),v&&q.target===q.currentTarget&&at()&&q.key===" "&&!q.defaultPrevented&&v(q)});let Zr=u;Zr==="button"&&(Q.href||Q.to)&&(Zr=y);const er={};Zr==="button"?(er.type=j===void 0?"button":j,er.disabled=d):(!Q.href&&!Q.to&&(er.role="button"),d&&(er["aria-disabled"]=d));const Yd=oa(r,de),ya={...n,centerRipple:i,component:u,disabled:d,disableRipple:m,disableTouchRipple:p,focusRipple:g,tabIndex:A,focusVisible:k},Gd=kd(ya);return J.jsxs(_d,{as:Zr,className:xe(Gd.root,s),ownerState:ya,onBlur:I,onClick:v,onContextMenu:W,onFocus:Fe,onKeyDown:Qr,onKeyUp:Wd,onMouseDown:V,onMouseLeave:L,onMouseUp:K,onDragLeave:G,onTouchEnd:X,onTouchMove:Ce,onTouchStart:H,ref:Yd,tabIndex:d?-1:A,type:j,...er,...Q,children:[a,F?J.jsx(ua,{ref:b,center:i,..._}):null]})});function Qe(e,t,r,n=!1){return Xr(o=>(r&&r(o),n||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(fa.propTypes={action:nd,centerRipple:S.bool,children:S.node,classes:S.object,className:S.string,component:ad,disabled:S.bool,disableRipple:S.bool,disableTouchRipple:S.bool,focusRipple:S.bool,focusVisibleClassName:S.string,href:S.any,LinkComponent:S.elementType,onBlur:S.func,onClick:S.func,onContextMenu:S.func,onDragLeave:S.func,onFocus:S.func,onFocusVisible:S.func,onKeyDown:S.func,onKeyUp:S.func,onMouseDown:S.func,onMouseLeave:S.func,onMouseUp:S.func,onTouchEnd:S.func,onTouchMove:S.func,onTouchStart:S.func,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),tabIndex:S.number,TouchRippleProps:S.object,touchRippleRef:S.oneOfType([S.func,S.shape({current:S.shape({pulsate:S.func.isRequired,start:S.func.isRequired,stop:S.func.isRequired})})]),type:S.oneOfType([S.oneOf(["button","reset","submit"]),S.string])});function Ad(e){return Xt("MuiCircularProgress",e)}Gr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const it=44,ro=Lt`
|
|
224
|
+
0% {
|
|
225
|
+
transform: rotate(0deg);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
100% {
|
|
229
|
+
transform: rotate(360deg);
|
|
230
|
+
}
|
|
231
|
+
`,no=Lt`
|
|
232
|
+
0% {
|
|
233
|
+
stroke-dasharray: 1px, 200px;
|
|
234
|
+
stroke-dashoffset: 0;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
50% {
|
|
238
|
+
stroke-dasharray: 100px, 200px;
|
|
239
|
+
stroke-dashoffset: -15px;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
100% {
|
|
243
|
+
stroke-dasharray: 1px, 200px;
|
|
244
|
+
stroke-dashoffset: -126px;
|
|
245
|
+
}
|
|
246
|
+
`,Rd=typeof ro!="string"?En`
|
|
247
|
+
animation: ${ro} 1.4s linear infinite;
|
|
248
|
+
`:null,Pd=typeof no!="string"?En`
|
|
249
|
+
animation: ${no} 1.4s ease-in-out infinite;
|
|
250
|
+
`:null,Nd=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${Re(n)}`],svg:["svg"],circle:["circle",`circle${Re(r)}`,o&&"circleDisableShrink"]};return Mn(i,Ad,t)},Id=ot("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Re(r.color)}`]]}})(qr(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Rd||{animation:`${ro} 1.4s linear infinite`}},...Object.entries(e.palette).filter(Xn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Md=ot("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Dd=ot("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Re(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(qr(({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:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:Pd||{animation:`${no} 1.4s ease-in-out infinite`}}]}))),da=M.forwardRef(function(t,r){const n=Hr({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:s=40,style:u,thickness:d=3.6,value:m=0,variant:p="indeterminate",...g}=n,h={...n,color:i,disableShrink:a,size:s,thickness:d,value:m,variant:p},y=Nd(h),c={},v={},w={};if(p==="determinate"){const P=2*Math.PI*((it-d)/2);c.strokeDasharray=P.toFixed(3),w["aria-valuenow"]=Math.round(m),c.strokeDashoffset=`${((100-m)/100*P).toFixed(3)}px`,v.transform="rotate(-90deg)"}return J.jsx(Id,{className:xe(y.root,o),style:{width:s,height:s,...v,...u},ownerState:h,ref:r,role:"progressbar",...w,...g,children:J.jsx(Md,{className:y.svg,ownerState:h,viewBox:`${it/2} ${it/2} ${it} ${it}`,children:J.jsx(Dd,{className:y.circle,style:c,ownerState:h,cx:it,cy:it,r:(it-d)/2,fill:"none",strokeWidth:d})})})});process.env.NODE_ENV!=="production"&&(da.propTypes={classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","primary","secondary","error","info","success","warning"]),S.string]),disableShrink:In(S.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:S.oneOfType([S.number,S.string]),style:S.object,sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object]),thickness:S.number,value:S.number,variant:S.oneOf(["determinate","indeterminate"])});function Bd(e){return Xt("MuiIconButton",e)}const pa=Gr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),jd=e=>{const{classes:t,disabled:r,color:n,edge:o,size:i,loading:a}=e,s={root:["root",a&&"loading",r&&"disabled",n!=="default"&&`color${Re(n)}`,o&&`edge${Re(o)}`,`size${Re(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Mn(s,Bd,t)},Fd=ot(fa,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${Re(r.color)}`],r.edge&&t[`edge${Re(r.edge)}`],t[`size${Re(r.size)}`]]}})(qr(({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:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:jn(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}}]})),qr(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(Xn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(Xn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:jn((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)}}],[`&.${pa.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${pa.loading}`]:{color:"transparent"}}))),Vd=ot("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"}}]})),ma=M.forwardRef(function(t,r){const n=Hr({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:s="default",disabled:u=!1,disableFocusRipple:d=!1,size:m="medium",id:p,loading:g=null,loadingIndicator:h,...y}=n,c=ed(p),v=h??J.jsx(da,{"aria-labelledby":c,color:"inherit",size:16}),w={...n,edge:o,color:s,disabled:u,disableFocusRipple:d,loading:g,loadingIndicator:v,size:m},P=jd(w);return J.jsxs(Fd,{id:g?c:p,className:xe(P.root,a),centerRipple:!0,focusRipple:!d,disabled:u||g,ref:r,...y,ownerState:w,children:[typeof g=="boolean"&&J.jsx("span",{className:P.loadingWrapper,style:{display:"contents"},children:J.jsx(Vd,{className:P.loadingIndicator,ownerState:w,children:g&&v})}),i]})});process.env.NODE_ENV!=="production"&&(ma.propTypes={children:In(S.node,e=>M.Children.toArray(e.children).some(r=>M.isValidElement(r)&&r.props.onClick)?new 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(`
|
|
251
|
+
`)):null),classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),S.string]),disabled:S.bool,disableFocusRipple:S.bool,disableRipple:S.bool,edge:S.oneOf(["end","start",!1]),id:S.string,loading:S.bool,loadingIndicator:S.node,size:S.oneOfType([S.oneOf(["small","medium","large"]),S.string]),sx:S.oneOfType([S.arrayOf(S.oneOfType([S.func,S.object,S.bool])),S.func,S.object])});function ha(e){const t=()=>{var n;(n=e.onClose)==null||n.call(e)},r=e.sx||{backgroundColor:n=>n.palette.primary.main,color:"#fff"};return J.jsxs(J.Fragment,{children:[J.jsx(Ve.DialogTitle,{"data-testid":"dialog-title",sx:r,children:e.title}),J.jsx(ma,{onClick:()=>t(),sx:{position:"absolute",right:8,top:12,color:"#fff"},children:J.jsx(Ul,{})})]})}const ga=U.createContext(null),Ld=()=>{const e=U.useContext(ga);if(!e)throw new Error("useMessageDialog must be used within a MessageDialogProvider");return e},zd={okText:"OK",cancelText:"Cancel",alertTitle:"Alert",confirmTitle:"Confirm",errorTitle:"Error"},Ud=e=>{const t={...zd,...e.settings||{}},r=U.useMemo(()=>({backgroundColor:f=>f.palette.primary.main,color:"#fff"}),[]),[n,o]=U.useState(!1),[i,a]=U.useState(""),[s,u]=U.useState(null),[d,m]=U.useState(!1),[p,g]=U.useState(r),[h,y]=U.useState(t.alertTitle),[c,v]=U.useState(t.okText),[w,P]=U.useState(t.cancelText),R=f=>(a(f||""),o(!0),new Promise(x=>{u(()=>x)})),$=U.useCallback((f,x)=>(y(t.confirmTitle),v((x==null?void 0:x.okText)||t.okText),P((x==null?void 0:x.cancelText)||t.cancelText),m(!0),g(r),R(f)),[r,t]),C=U.useCallback(f=>(y(t.alertTitle),v(t.okText),m(!1),g(r),R(f)),[r,t]),O=U.useCallback(f=>(y(t.errorTitle),v(t.okText),m(!1),g({backgroundColor:x=>x.palette.error.main,color:"#fff"}),R(f)),[t]),N=f=>{o(!1);const x=s;u(null),x==null||x(f)},z=(f,x)=>{x!=="backdropClick"&&N(!1)},Y=U.useMemo(()=>({error:O,alert:C,confirm:$}),[O,C,$]);return U.useEffect(()=>{const f=x=>{n&&o(!1)};return window.addEventListener("popstate",f),()=>{window.removeEventListener("popstate",f)}},[n]),J.jsx(J.Fragment,{children:J.jsxs(ga.Provider,{value:Y,children:[e.children,J.jsxs(Ve.Dialog,{"data-testid":"message-dialog",open:n,onClose:z,children:[J.jsx(ha,{title:h,onClose:()=>N(!1),sx:p}),J.jsx(Ve.DialogContent,{dividers:!0,sx:{whiteSpace:"pre-line"},children:i}),J.jsxs(Ve.DialogActions,{sx:{display:"flex",justifyContent:"space-between",paddingLeft:3,paddingRight:3},children:[J.jsx("div",{style:{flex:1,display:"flex",justifyContent:d?"flex-start":"center"},children:J.jsx(Ve.Button,{"data-testid":"message-dialog-ok-button",onClick:()=>N(!0),sx:p,autoFocus:!0,children:c})}),d&&J.jsx("div",{style:{flex:1,display:"flex",justifyContent:"flex-end"},children:J.jsx(Ve.Button,{"data-testid":"message-dialog-cancel-button",onClick:()=>N(!1),variant:"outlined",children:w})})]})]})]})})};Te.DialogTitleEx=ha,Te.MessageDialogProvider=Ud,Te.useMessageDialog=Ld,Object.defineProperty(Te,Symbol.toStringTag,{value:"Module"})});
|