@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.
@@ -0,0 +1,251 @@
1
+ "use strict";var Sa=Object.defineProperty;var $a=(e,t,r)=>t in e?Sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rt=(e,t,r)=>$a(e,typeof t!="symbol"?t+"":t,r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const X=require("react"),$t=require("@mui/material");function Ca(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=Ca(X);function Ea(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var pn={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 Ta(){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 Pt={};/**
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 wa(){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 W:return"Activity"}if(typeof b=="object")switch(typeof b.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),b.$$typeof){case y:return"Portal";case A: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,U,Y,G){return B=U.ref,b={$$typeof:h,type:b,key:k,props:U,_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:Y}),Object.defineProperty(b,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:G}),Object.freeze&&(Object.freeze(b.props),Object.freeze(b)),b}function m(b,k,B,F,V,U,Y,G){var L=k.children;if(L!==void 0)if(F)if(R(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 q=Object.keys(k).filter(function(Ce){return Ce!=="key"});F=0<q.length?"{key: someKey, "+q.join(": ..., ")+": ...}":"{key: someKey}",le[L+F]||(q=0<q.length?"{"+q.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,q,L),le[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 H in k)H!=="key"&&(B[H]=k[H])}else B=k;return L&&s(B,typeof b=="function"?b.displayName||b.name||"Unknown":b),d(b,L,U,V,o(),B,Y,G)}function p(b){typeof b=="object"&&b!==null&&b.$$typeof===h&&b._store&&(b._store.validated=1)}var g=X,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"),A=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"),W=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,R=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)),le={};Pt.Fragment=c,Pt.jsx=function(b,k,B,F,V){var U=1e4>x.recentlyCreatedOwnerStacks++;return m(b,k,B,!1,F,V,U?Error("react-stack-top-frame"):Q,U?_(n(b)):de)},Pt.jsxs=function(b,k,B,F,V){var U=1e4>x.recentlyCreatedOwnerStacks++;return m(b,k,B,!0,F,V,U?Error("react-stack-top-frame"):Q,U?_(n(b)):de)}}()),Pt}process.env.NODE_ENV==="production"?pn.exports=Ta():pn.exports=wa();var J=pn.exports;const ao=e=>e,xa=()=>{let e=ao;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ao}}},Oa=xa();function lt(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 ut(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":lt(7));return e.charAt(0).toUpperCase()+e.slice(1)}var mn={exports:{}},nr={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 ka(){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 A(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 A(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)||A(C)===u},te.isConcurrentMode=$,te.isContextConsumer=function(C){return A(C)===s},te.isContextProvider=function(C){return A(C)===a},te.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},te.isForwardRef=function(C){return A(C)===m},te.isFragment=function(C){return A(C)===n},te.isLazy=function(C){return A(C)===y},te.isMemo=function(C){return A(C)===h},te.isPortal=function(C){return A(C)===r},te.isProfiler=function(C){return A(C)===i},te.isStrictMode=function(C){return A(C)===o},te.isSuspense=function(C){return A(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=A,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 _a(){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 A(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 Ne=I.$$typeof;switch(Ne){case t:var Je=I.type;switch(Je){case u:case d:case n:case i:case o:case p:return Je;default:var tr=Je&&Je.$$typeof;switch(tr){case s:case m:case y:case h:case a:return tr;default:return Ne}}case r:return Ne}}}var C=u,O=d,N=s,z=a,W=t,f=m,x=n,l=y,R=h,_=r,D=i,j=o,Q=p,de=!1;function le(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 U(I){return $(I)===n}function Y(I){return $(I)===y}function G(I){return $(I)===h}function L(I){return $(I)===r}function q(I){return $(I)===i}function H(I){return $(I)===o}function Ce(I){return $(I)===p}re.AsyncMode=C,re.ConcurrentMode=O,re.ContextConsumer=N,re.ContextProvider=z,re.Element=W,re.ForwardRef=f,re.Fragment=x,re.Lazy=l,re.Memo=R,re.Portal=_,re.Profiler=D,re.StrictMode=j,re.Suspense=Q,re.isAsyncMode=le,re.isConcurrentMode=b,re.isContextConsumer=k,re.isContextProvider=B,re.isElement=F,re.isForwardRef=V,re.isFragment=U,re.isLazy=Y,re.isMemo=G,re.isPortal=L,re.isProfiler=q,re.isStrictMode=H,re.isSuspense=Ce,re.isValidElementType=A,re.typeOf=$}()),re}var lo;function Nn(){return lo||(lo=1,process.env.NODE_ENV==="production"?nr.exports=ka():nr.exports=_a()),nr.exports}/*
37
+ object-assign
38
+ (c) Sindre Sorhus
39
+ @license MIT
40
+ */var Zr,uo;function Ra(){if(uo)return Zr;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 Zr=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},Zr}var en,fo;function In(){if(fo)return en;fo=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return en=e,en}var tn,po;function mi(){return po||(po=1,tn=Function.call.bind(Object.prototype.hasOwnProperty)),tn}var rn,mo;function Aa(){if(mo)return rn;mo=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=In(),r={},n=mi();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={})},rn=o,rn}var nn,ho;function Pa(){if(ho)return nn;ho=1;var e=Nn(),t=Ra(),r=In(),n=mi(),o=Aa(),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 nn=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:A,element:$(),elementType:C(),instanceOf:O,node:f(),objectOf:z,oneOf:N,oneOfType:W,shape:l,exact:R};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(U,Y,G,L,q,H,Ce){if(L=L||g,H=H||G,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 Ne=L+":"+G;!k[Ne]&&B<3&&(i("You are manually calling a React.PropTypes validation function for the `"+H+"` 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[Ne]=!0,B++)}}return Y[G]==null?U?Y[G]===null?new c("The "+q+" `"+H+"` is marked as required "+("in `"+L+"`, but its value is `null`.")):new c("The "+q+" `"+H+"` is marked as required in "+("`"+L+"`, but its value is `undefined`.")):null:b(Y,G,L,q,H)}var V=F.bind(null,!1);return V.isRequired=F.bind(null,!0),V}function w(b){function k(B,F,V,U,Y,G){var L=B[F],q=j(L);if(q!==b){var H=Q(L);return new c("Invalid "+U+" `"+Y+"` of type "+("`"+H+"` supplied to `"+V+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return v(k)}function P(){return v(a)}function A(b){function k(B,F,V,U,Y){if(typeof b!="function")return new c("Property `"+Y+"` of component `"+V+"` has invalid PropType notation inside arrayOf.");var G=B[F];if(!Array.isArray(G)){var L=j(G);return new c("Invalid "+U+" `"+Y+"` of type "+("`"+L+"` supplied to `"+V+"`, expected an array."))}for(var q=0;q<G.length;q++){var H=b(G,q,V,U,Y+"["+q+"]",r);if(H instanceof Error)return H}return null}return v(k)}function $(){function b(k,B,F,V,U){var Y=k[B];if(!s(Y)){var G=j(Y);return new c("Invalid "+V+" `"+U+"` of type "+("`"+G+"` supplied to `"+F+"`, expected a single ReactElement."))}return null}return v(b)}function C(){function b(k,B,F,V,U){var Y=k[B];if(!e.isValidElementType(Y)){var G=j(Y);return new c("Invalid "+V+" `"+U+"` of type "+("`"+G+"` supplied to `"+F+"`, expected a single ReactElement type."))}return null}return v(b)}function O(b){function k(B,F,V,U,Y){if(!(B[F]instanceof b)){var G=b.name||g,L=le(B[F]);return new c("Invalid "+U+" `"+Y+"` of type "+("`"+L+"` supplied to `"+V+"`, expected ")+("instance of `"+G+"`."))}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,U,Y){for(var G=B[F],L=0;L<b.length;L++)if(y(G,b[L]))return null;var q=JSON.stringify(b,function(Ce,I){var Ne=Q(I);return Ne==="symbol"?String(I):I});return new c("Invalid "+U+" `"+Y+"` of value `"+String(G)+"` "+("supplied to `"+V+"`, expected one of "+q+"."))}return v(k)}function z(b){function k(B,F,V,U,Y){if(typeof b!="function")return new c("Property `"+Y+"` of component `"+V+"` has invalid PropType notation inside objectOf.");var G=B[F],L=j(G);if(L!=="object")return new c("Invalid "+U+" `"+Y+"` of type "+("`"+L+"` supplied to `"+V+"`, expected an object."));for(var q in G)if(n(G,q)){var H=b(G,q,V,U,Y+"."+q,r);if(H instanceof Error)return H}return null}return v(k)}function W(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var 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,U,Y,G,L){for(var q=[],H=0;H<b.length;H++){var Ce=b[H],I=Ce(V,U,Y,G,L,r);if(I==null)return null;I.data&&n(I.data,"expectedType")&&q.push(I.data.expectedType)}var Ne=q.length>0?", expected one of type ["+q.join(", ")+"]":"";return new c("Invalid "+G+" `"+L+"` supplied to "+("`"+Y+"`"+Ne+"."))}return v(F)}function f(){function b(k,B,F,V,U){return _(k[B])?null:new c("Invalid "+V+" `"+U+"` 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,U,Y){var G=B[F],L=j(G);if(L!=="object")return new c("Invalid "+U+" `"+Y+"` of type `"+L+"` "+("supplied to `"+V+"`, expected `object`."));for(var q in b){var H=b[q];if(typeof H!="function")return x(V,U,Y,q,Q(H));var Ce=H(G,q,V,U,Y+"."+q,r);if(Ce)return Ce}return null}return v(k)}function R(b){function k(B,F,V,U,Y){var G=B[F],L=j(G);if(L!=="object")return new c("Invalid "+U+" `"+Y+"` of type `"+L+"` "+("supplied to `"+V+"`, expected `object`."));var q=t({},B[F],b);for(var H in q){var Ce=b[H];if(n(b,H)&&typeof Ce!="function")return x(V,U,Y,H,Q(Ce));if(!Ce)return new c("Invalid "+U+" `"+Y+"` key `"+H+"` supplied to `"+V+"`.\nBad object: "+JSON.stringify(B[F],null," ")+`
41
+ Valid keys: `+JSON.stringify(Object.keys(b),null," "));var I=Ce(G,H,V,U,Y+"."+H,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 le(b){return!b.constructor||!b.constructor.name?g:b.constructor.name}return h.checkPropTypes=o,h.resetWarningCache=o.resetWarningCache,h.PropTypes=h,h},nn}var on,go;function Na(){if(go)return on;go=1;var e=In();function t(){}function r(){}return r.resetWarningCache=t,on=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},on}if(process.env.NODE_ENV!=="production"){var Ia=Nn(),Ma=!0;mn.exports=Pa()(Ia.isElement,Ma)}else mn.exports=Na()();var Da=mn.exports;const S=Ea(Da);function hi(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=hi(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function we(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=hi(e))&&(n&&(n+=" "),n+=t);return n}function Ba(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 hn={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 yo;function ja(){if(yo)return ie;yo=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 bo;function Fa(){return bo||(bo=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"?hn.exports=ja():hn.exports=Fa();var mr=hn.exports;function Ke(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function gi(e){if(M.isValidElement(e)||mr.isValidElementType(e)||!Ke(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=gi(e[r])}),t}function _e(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Ke(e)&&Ke(t)&&Object.keys(t).forEach(o=>{M.isValidElement(t[o])||mr.isValidElementType(t[o])?n[o]=t[o]:Ke(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ke(e[o])?n[o]=_e(e[o],t[o],r):r.clone?n[o]=Ke(t[o])?gi(t[o]):t[o]:n[o]=t[o]}),n}function Vt(e,t){return t?_e(e,t,{clone:!1}):e}const rt=process.env.NODE_ENV!=="production"?S.oneOfType([S.number,S.string,S.object,S.array]):{};function vo(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 Va(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function La(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 za(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 Tr={xs:0,sm:600,md:900,lg:1200,xl:1536},So={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Tr[e]}px)`},Ua={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Tr[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function He(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||So;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||So;return Object.keys(t).reduce((a,s)=>{if(Va(i.keys,s)){const u=La(n.containerQueries?n:Ua,s);u&&(a[u]=r(t[s],s))}else if(Object.keys(i.values||Tr).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 Wa(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function $o(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function wr(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 hr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=wr(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=wr(u,n)||{};return He(a,s,p=>{let g=hr(d,o,p);return p===g&&typeof p=="string"&&(g=hr(d,o,`${t}${p==="default"?"":ut(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:rt}:{},i.filterProps=[t],i}function Ya(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ga={m:"margin",p:"padding"},Ka={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Co={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},qa=Ya(e=>{if(e.length>2)if(Co[e])e=Co[e];else return[e];const[t,r]=e.split(""),n=Ga[t],o=Ka[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),xr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Or=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ha=[...xr,...Or];function Kt(e,t,r,n){const o=wr(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 Mn(e){return Kt(e,"spacing",8,"spacing")}function qt(e,t){return typeof t=="string"||t==null?t:e(t)}function Xa(e,t){return r=>e.reduce((n,o)=>(n[o]=qt(t,r),n),{})}function Ja(e,t,r,n){if(!t.includes(r))return null;const o=qa(r),i=Xa(o,n),a=e[r];return He(e,a,i)}function yi(e,t){const r=Mn(e.theme);return Object.keys(e).map(n=>Ja(e,t,n,r)).reduce(Vt,{})}function he(e){return yi(e,xr)}he.propTypes=process.env.NODE_ENV!=="production"?xr.reduce((e,t)=>(e[t]=rt,e),{}):{};he.filterProps=xr;function ge(e){return yi(e,Or)}ge.propTypes=process.env.NODE_ENV!=="production"?Or.reduce((e,t)=>(e[t]=rt,e),{}):{};ge.filterProps=Or;process.env.NODE_ENV!=="production"&&Ha.reduce((e,t)=>(e[t]=rt,e),{});function kr(...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]?Vt(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 Me(e){return typeof e!="number"?e:`${e}px solid`}function Be(e,t){return ve({prop:e,themeKey:"borders",transform:t})}const Qa=Be("border",Me),Za=Be("borderTop",Me),es=Be("borderRight",Me),ts=Be("borderBottom",Me),rs=Be("borderLeft",Me),ns=Be("borderColor"),os=Be("borderTopColor"),is=Be("borderRightColor"),as=Be("borderBottomColor"),ss=Be("borderLeftColor"),cs=Be("outline",Me),ls=Be("outlineColor"),_r=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Kt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:qt(t,n)});return He(e,e.borderRadius,r)}return null};_r.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:rt}:{};_r.filterProps=["borderRadius"];kr(Qa,Za,es,ts,rs,ns,os,is,as,ss,_r,cs,ls);const Rr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Kt(e.theme,"spacing",8,"gap"),r=n=>({gap:qt(t,n)});return He(e,e.gap,r)}return null};Rr.propTypes=process.env.NODE_ENV!=="production"?{gap:rt}:{};Rr.filterProps=["gap"];const Ar=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Kt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:qt(t,n)});return He(e,e.columnGap,r)}return null};Ar.propTypes=process.env.NODE_ENV!=="production"?{columnGap:rt}:{};Ar.filterProps=["columnGap"];const Pr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Kt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:qt(t,n)});return He(e,e.rowGap,r)}return null};Pr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:rt}:{};Pr.filterProps=["rowGap"];const us=ve({prop:"gridColumn"}),fs=ve({prop:"gridRow"}),ds=ve({prop:"gridAutoFlow"}),ps=ve({prop:"gridAutoColumns"}),ms=ve({prop:"gridAutoRows"}),hs=ve({prop:"gridTemplateColumns"}),gs=ve({prop:"gridTemplateRows"}),ys=ve({prop:"gridTemplateAreas"}),bs=ve({prop:"gridArea"});kr(Rr,Ar,Pr,us,fs,ds,ps,ms,hs,gs,ys,bs);function Ct(e,t){return t==="grey"?t:e}const vs=ve({prop:"color",themeKey:"palette",transform:Ct}),Ss=ve({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ct}),$s=ve({prop:"backgroundColor",themeKey:"palette",transform:Ct});kr(vs,Ss,$s);function Oe(e){return e<=1&&e!==0?`${e*100}%`:e}const Cs=ve({prop:"width",transform:Oe}),Dn=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])||Tr[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:Oe(r)}};return He(e,e.maxWidth,t)}return null};Dn.filterProps=["maxWidth"];const Es=ve({prop:"minWidth",transform:Oe}),Ts=ve({prop:"height",transform:Oe}),ws=ve({prop:"maxHeight",transform:Oe}),xs=ve({prop:"minHeight",transform:Oe});ve({prop:"size",cssProperty:"width",transform:Oe});ve({prop:"size",cssProperty:"height",transform:Oe});const Os=ve({prop:"boxSizing"});kr(Cs,Dn,Es,Ts,ws,xs,Os);const Nr={border:{themeKey:"borders",transform:Me},borderTop:{themeKey:"borders",transform:Me},borderRight:{themeKey:"borders",transform:Me},borderBottom:{themeKey:"borders",transform:Me},borderLeft:{themeKey:"borders",transform:Me},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Me},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_r},color:{themeKey:"palette",transform:Ct},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ct},backgroundColor:{themeKey:"palette",transform:Ct},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:Rr},rowGap:{style:Pr},columnGap:{style:Ar},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Oe},maxWidth:{style:Dn},minWidth:{transform:Oe},height:{transform:Oe},maxHeight:{transform:Oe},minHeight:{transform:Oe},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 ks(...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 _s(e,t){return typeof e=="function"?e(t):e}function Rs(){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=wr(o,d)||{};return p?p(a):He(a,n,y=>{let c=hr(g,m,y);return y===c&&typeof y=="string"&&(c=hr(g,m,`${r}${y==="default"?"":ut(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??Nr;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=Wa(o.breakpoints),p=Object.keys(m);let g=m;return Object.keys(d).forEach(h=>{const y=_s(d[h],o);if(y!=null)if(typeof y=="object")if(a[h])g=Vt(g,e(h,y,o,a));else{const c=He({theme:o},y,v=>({[h]:v}));ks(c,y)?g[h]=t({sx:y,theme:o,nested:!0}):g=Vt(g,c)}else g=Vt(g,e(h,y,o,a))}),!i&&o.modularCssLayers?{"@layer sx":vo(o,$o(p,g))}:vo(o,$o(p,g))}return Array.isArray(n)?n.map(s):s(n)}return t}const wt=Rs();wt.filterProps=["sx"];function gr(){return gr=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},gr.apply(null,arguments)}function As(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 Ps(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 Ns=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(Ps(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=As(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}(),Te="-ms-",yr="-moz-",Z="-webkit-",bi="comm",Bn="rule",jn="decl",Is="@import",vi="@keyframes",Ms="@layer",Ds=Math.abs,Ir=String.fromCharCode,Bs=Object.assign;function js(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 Si(e){return e.trim()}function Fs(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 zt(e,t,r){return e.slice(t,r)}function Le(e){return e.length}function Fn(e){return e.length}function or(e,t){return t.push(e),e}function Vs(e,t){return e.map(t).join("")}var Mr=1,xt=1,$i=0,xe=0,$e=0,kt="";function Dr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:Mr,column:xt,length:a,return:""}}function Nt(e,t){return Bs(Dr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ls(){return $e}function zs(){return $e=xe>0?Ee(kt,--xe):0,xt--,$e===10&&(xt=1,Mr--),$e}function Re(){return $e=xe<$i?Ee(kt,xe++):0,xt++,$e===10&&(xt=1,Mr++),$e}function Ue(){return Ee(kt,xe)}function cr(){return xe}function Ht(e,t){return zt(kt,e,t)}function Ut(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 Ci(e){return Mr=xt=1,$i=Le(kt=e),xe=0,[]}function Ei(e){return kt="",e}function lr(e){return Si(Ht(xe-1,yn(e===91?e+2:e===40?e+1:e)))}function Us(e){for(;($e=Ue())&&$e<33;)Re();return Ut(e)>2||Ut($e)>3?"":" "}function Ws(e,t){for(;--t&&Re()&&!($e<48||$e>102||$e>57&&$e<65||$e>70&&$e<97););return Ht(e,cr()+(t<6&&Ue()==32&&Re()==32))}function yn(e){for(;Re();)switch($e){case e:return xe;case 34:case 39:e!==34&&e!==39&&yn($e);break;case 40:e===41&&yn(e);break;case 92:Re();break}return xe}function Ys(e,t){for(;Re()&&e+$e!==57;)if(e+$e===84&&Ue()===47)break;return"/*"+Ht(t,xe-1)+"*"+Ir(e===47?e:Re())}function Gs(e){for(;!Ut(Ue());)Re();return Ht(e,xe)}function Ks(e){return Ei(ur("",null,null,null,[""],e=Ci(e),0,[0],e))}function ur(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,A="",$=o,C=i,O=n,N=A;v;)switch(y=P,P=Re()){case 40:if(y!=108&&Ee(N,p-1)==58){gn(N+=ee(lr(P),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:N+=lr(P);break;case 9:case 10:case 13:case 32:N+=Us(y);break;case 92:N+=Ws(cr()-1,7);continue;case 47:switch(Ue()){case 42:case 47:or(qs(Ys(Re(),cr()),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&&or(h>32?To(N+";",n,r,p-1):To(ee(N," ","")+";",n,r,p-2),u);break;case 59:N+=";";default:if(or(O=Eo(N,t,r,d,m,o,s,A,$=[],C=[],p),i),P===123)if(m===0)ur(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:ur(e,O,O,n&&or(Eo(e,O,O,0,0,o,s,A,o,$=[],p),C),o,C,p,s,n?$:C);break;default:ur(N,O,O,O,[""],C,0,s,C)}}d=m=h=0,c=w=1,A=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&&zs()==125)continue}switch(N+=Ir(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:Ue()===45&&(N+=lr(Re())),g=Ue(),m=p=Le(A=N+=Gs(cr())),P++;break;case 45:y===45&&Le(N)==2&&(c=0)}}return i}function Eo(e,t,r,n,o,i,a,s,u,d,m){for(var p=o-1,g=o===0?i:[""],h=Fn(g),y=0,c=0,v=0;y<n;++y)for(var w=0,P=zt(e,p+1,p=Ds(c=a[y])),A=e;w<h;++w)(A=Si(c>0?g[w]+" "+P:ee(P,/&\f/g,g[w])))&&(u[v++]=A);return Dr(e,t,r,o===0?Bn:s,u,d,m)}function qs(e,t,r){return Dr(e,t,r,bi,Ir(Ls()),zt(e,2,-2),0)}function To(e,t,r,n){return Dr(e,t,r,jn,zt(e,0,n),zt(e,n+1,-1),n)}function Et(e,t){for(var r="",n=Fn(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Hs(e,t,r,n){switch(e.type){case Ms:if(e.children.length)break;case Is:case jn:return e.return=e.return||e.value;case bi:return"";case vi:return e.return=e.value+"{"+Et(e.children,n)+"}";case Bn:e.value=e.props.join(",")}return Le(r=Et(e.children,n))?e.return=e.value+"{"+r+"}":""}function Xs(e){var t=Fn(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 Js(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ti(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Qs=function(t,r,n){for(var o=0,i=0;o=i,i=Ue(),o===38&&i===12&&(r[n]=1),!Ut(i);)Re();return Ht(t,xe)},Zs=function(t,r){var n=-1,o=44;do switch(Ut(o)){case 0:o===38&&Ue()===12&&(r[n]=1),t[n]+=Qs(xe-1,r,n);break;case 2:t[n]+=lr(o);break;case 4:if(o===44){t[++n]=Ue()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ir(o)}while(o=Re());return t},ec=function(t,r){return Ei(Zs(Ci(t),r))},wo=new WeakMap,tc=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&&!wo.get(n))&&!o){wo.set(t,!0);for(var i=[],a=ec(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]}}},rc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function wi(e,t){switch(js(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+yr+e+Te+e+e;case 6828:case 4268:return Z+e+Te+e+e;case 6165:return Z+e+Te+"flex-"+e+e;case 5187:return Z+e+ee(e,/(\w+).+(:[^]+)/,Z+"box-$1$2"+Te+"flex-$1$2")+e;case 5443:return Z+e+Te+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return Z+e+Te+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return Z+e+Te+ee(e,"shrink","negative")+e;case 5292:return Z+e+Te+ee(e,"basis","preferred-size")+e;case 6060:return Z+"box-"+ee(e,"-grow","")+Z+e+Te+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"+Te+"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"+yr+(Ee(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~gn(e,"stretch")?wi(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"+Te+"$2box$3")+e}break;case 5936:switch(Ee(e,t+11)){case 114:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z+e+Te+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z+e+Te+e+e}return e}var nc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case jn:t.return=wi(t.value,t.length);break;case vi:return Et([Nt(t,{value:ee(t.value,"@","@"+Z)})],o);case Bn:if(t.length)return Vs(t.props,function(i){switch(Fs(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Et([Nt(t,{props:[ee(i,/:(read-\w+)/,":"+yr+"$1")]})],o);case"::placeholder":return Et([Nt(t,{props:[ee(i,/:(plac\w+)/,":"+Z+"input-$1")]}),Nt(t,{props:[ee(i,/:(plac\w+)/,":"+yr+"$1")]}),Nt(t,{props:[ee(i,/:(plac\w+)/,Te+"input-$1")]})],o)}return""})}},oc=[nc],ic=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||oc,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=[tc,rc];{var m,p=[Hs,Js(function(c){m.insert(c)})],g=Xs(d.concat(o,p)),h=function(v){return Et(Ks(v),g)};u=function(v,w,P,A){m=P,h(v?v+"{"+w.styles+"}":w.styles),A&&(y.inserted[w.name]=!0)}}var y={key:r,sheet:new Ns({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},xi=Nn(),ac={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Oi={};Oi[xi.ForwardRef]=ac;Oi[xi.Memo]=sc;var cc=!0;function ki(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||cc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},_i=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 lc(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var uc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},fc=/[A-Z]|^ms/g,dc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ri=function(t){return t.charCodeAt(1)===45},xo=function(t){return t!=null&&typeof t!="boolean"},an=Ti(function(e){return Ri(e)?e:e.replace(fc,"-$&").toLowerCase()}),Oo=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(dc,function(n,o,i){return ze={name:o,styles:i,next:ze},o})}return uc[t]!==1&&!Ri(t)&&typeof r=="number"&&r!==0?r+"px":r};function Wt(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 ze={name:o.name,styles:o.styles,next:ze},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ze={name:a.name,styles:a.styles,next:ze},a=a.next;var s=i.styles+";";return s}return pc(e,t,r)}case"function":{if(e!==void 0){var u=ze,d=r(e);return ze=u,Wt(e,t,d)}break}}var m=r;if(t==null)return m;var p=t[m];return p!==void 0?p:m}function pc(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Wt(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]+"}":xo(s)&&(n+=an(i)+":"+Oo(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++)xo(a[u])&&(n+=an(i)+":"+Oo(i,a[u])+";");else{var d=Wt(e,t,a);switch(i){case"animation":case"animationName":{n+=an(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var ko=/label:\s*([^\s;{]+)\s*(;|$)/g,ze;function Xt(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="";ze=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=Wt(r,t,i);else{var a=i;o+=a[0]}for(var s=1;s<e.length;s++)if(o+=Wt(r,t,e[s]),n){var u=i;o+=u[s]}ko.lastIndex=0;for(var d="",m;(m=ko.exec(o))!==null;)d+="-"+m[1];var p=lc(o)+d;return{name:p,styles:o,next:ze}}var mc=function(t){return t()},hc=M.useInsertionEffect?M.useInsertionEffect:!1,Ai=hc||mc,Pi=M.createContext(typeof HTMLElement<"u"?ic({key:"css"}):null);Pi.Provider;var Ni=function(t){return X.forwardRef(function(r,n){var o=X.useContext(Pi);return t(r,o,n)})},Ii=M.createContext({}),Ln={}.hasOwnProperty,bn="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gc=function(t,r){var n={};for(var o in r)Ln.call(r,o)&&(n[o]=r[o]);return n[bn]=t,n},yc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Vn(r,n,o),Ai(function(){return _i(r,n,o)}),null},bc=Ni(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[bn],i=[n],a="";typeof e.className=="string"?a=ki(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=Xt(i,void 0,M.useContext(Ii));a+=t.key+"-"+s.name;var u={};for(var d in e)Ln.call(e,d)&&d!=="css"&&d!==bn&&(u[d]=e[d]);return u.className=a,r&&(u.ref=r),M.createElement(M.Fragment,null,M.createElement(yc,{cache:t,serialized:s,isStringTag:typeof o=="string"}),M.createElement(o,u))}),vc=bc,_o=function(t,r){var n=arguments;if(r==null||!Ln.call(r,"css"))return M.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=vc,i[1]=gc(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={}))})(_o||(_o={}));function zn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Xt(t)}function Jt(){var e=zn.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 Sc=/^((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)-.*))$/,$c=Ti(function(e){return Sc.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Cc=$c,Ec=function(t){return t!=="theme"},Ro=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Cc:Ec},Ao=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},Tc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Vn(r,n,o),Ai(function(){return _i(r,n,o)}),null},wc=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=Ao(t,r,n),u=s||Ro(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=Ni(function(v,w,P){var A=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(Ii)}typeof v.className=="string"?$=ki(w.registered,C,v.className):v.className!=null&&($=v.className+" ");var z=Xt(p.concat(C),w.registered,O);$+=w.key+"-"+z.name,a!==void 0&&($+=" "+a);var W=d&&s===void 0?Ro(A):u,f={};for(var x in v)d&&x==="as"||W(x)&&(f[x]=v[x]);return f.className=$,P&&(f.ref=P),M.createElement(M.Fragment,null,M.createElement(Tc,{cache:w,serialized:z,isStringTag:typeof A=="string"}),M.createElement(A,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,gr({},r,w,{shouldForwardProp:Ao(c,w,!0)}));return P.apply(void 0,p)},c}},xc=["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"],br=wc.bind(null);xc.forEach(function(e){br[e]=br(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 Oc(e,t){const r=br(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 kc(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Po=[];function ct(e){return Po[0]=e,Xt(Po)}const _c=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 Rc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=_c(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 Ac={borderRadius:4};function Mi(e=8,t=Mn({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 Pc(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 Di(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=Rc(r),u=Mi(o);let d=_e({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Ac,...i}},a);return d=za(d),d.applyStyles=Pc,d=t.reduce((m,p)=>_e(m,p),d),d.unstable_sxConfig={...Nr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return wt({sx:p,theme:this})},d}const Nc={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 Un(e,t,r="Mui"){const n=Nc[t];return n?`${r}-${n}`:`${Oa.generate(e)}-${t}`}function Ic(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Un(e,o,r)}),n}function Bi(e,t=""){return e.displayName||e.name||t}function No(e,t,r){const n=Bi(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Mc(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Bi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case mr.ForwardRef:return No(e,e.render,"ForwardRef");case mr.Memo:return No(e,e.type,"memo");default:return}}}function ji(e){const{variants:t,...r}=e,n={variants:t,style:ct(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=ct(o.style))}),n}const Dc=Di();function sn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function at(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Bc(e){return e?(t,r)=>r[e]:null}function jc(e,t,r){e.theme=zc(e.theme)?r:e.theme[t]||e.theme}function fr(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>fr(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?at(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?at(ct(a),r):a}return Fi(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?at(ct(n.style),r):n.style:r?at(ct(n),r):n}function Fi(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?at(ct(s.style(o)),n):s.style(o))):r.push(n?at(ct(s.style),n):s.style)}return r}function Fc(e={}){const{themeId:t,defaultTheme:r=Dc,rootShouldForwardProp:n=sn,slotShouldForwardProp:o=sn}=e;function i(s){jc(s,t,r)}return(s,u={})=>{kc(s,O=>O.filter(N=>N!==wt));const{name:d,slot:m,skipVariantsResolver:p,skipSx:g,overridesResolver:h=Bc(Vi(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=sn;m==="Root"||m==="root"?P=n:m?P=o:Uc(s)&&(P=void 0);const A=Oc(s,{shouldForwardProp:P,label:Lc(d,m),...y}),$=O=>{if(O.__emotion_real===O)return O;if(typeof O=="function")return function(z){return fr(z,O,z.theme.modularCssLayers?c:void 0)};if(Ke(O)){const N=ji(O);return function(W){return N.variants?fr(W,N,W.theme.modularCssLayers?c:void 0):W.theme.modularCssLayers?at(N.style,c):N.style}}return O},C=(...O)=>{const N=[],z=O.map($),W=[];if(N.push(i),d&&h&&W.push(function(R){var Q,de;const D=(de=(Q=R.theme.components)==null?void 0:Q[d])==null?void 0:de.styleOverrides;if(!D)return null;const j={};for(const le in D)j[le]=fr(R,D[le],R.theme.modularCssLayers?"theme":void 0);return h(R,j)}),d&&!v&&W.push(function(R){var j,Q;const _=R.theme,D=(Q=(j=_==null?void 0:_.components)==null?void 0:j[d])==null?void 0:Q.variants;return D?Fi(R,D,[],R.theme.modularCssLayers?"theme":void 0):null}),w||W.push(wt),Array.isArray(z[0])){const l=z.shift(),R=new Array(N.length).fill(""),_=new Array(W.length).fill("");let D;D=[...R,...l,..._],D.raw=[...R,...l.raw,..._],N.unshift(D)}const f=[...N,...z,...W],x=A(...f);return s.muiName&&(x.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(x.displayName=Vc(d,m,s)),x};return A.withConfig&&(C.withConfig=A.withConfig),C}}function Vc(e,t,r){return e?`${e}${ut(t||"")}`:`Styled(${Mc(r)})`}function Lc(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Vi(t||"Root")}`),r}function zc(e){for(const t in e)return!1;return!0}function Uc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Vi(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function vn(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]=vn(a[d],s[d],r)}}}else i==="className"&&r&&t.className?n.className=we(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 Wc(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function Wn(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}].`),Wc(e,t,r)}function Yc(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 Ze(e){if(e.type)return e;if(e.charAt(0)==="#")return Ze(Yc(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().`:lt(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.`:lt(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Gc=e=>{const t=Ze(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Dt=(e,t)=>{try{return Gc(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Br(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 Li(e){e=Ze(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])),Br({type:s,values:u})}function Sn(e){e=Ze(e);let t=e.type==="hsl"||e.type==="hsla"?Ze(Li(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 Io(e,t){const r=Sn(e),n=Sn(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function zi(e,t){return e=Ze(e),t=Wn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Br(e)}function it(e,t,r){try{return zi(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function jr(e,t){if(e=Ze(e),t=Wn(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 Br(e)}function ne(e,t,r){try{return jr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Fr(e,t){if(e=Ze(e),t=Wn(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 Br(e)}function oe(e,t,r){try{return Fr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Kc(e,t=.15){return Sn(e)>.5?jr(e,t):Fr(e,t)}function ir(e,t,r){try{return Kc(e,t)}catch{return e}}const qc=M.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function Hc(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?vn(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?vn(o,n,t.components.mergeClassNameAndStyle):n}function Xc({props:e,name:t}){const r=M.useContext(qc);return Hc({props:e,name:t,theme:{components:r}})}const Mo={theme:void 0};function Jc(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Mo.theme=o.theme,i=ji(e(Mo)),t=i,r=o.theme),i}}function Qc(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 Do=(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])})},Zc=(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)},el=(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 cn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Zc(e,(s,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=el(s,u);Object.assign(o,{[m]:p}),Do(i,s,`var(${m})`,d),Do(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function tl(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}=cn(d,t);let h=g;const y={},{[u]:c,...v}=a;if(Object.entries(v||{}).forEach(([$,C])=>{const{vars:O,css:N,varsWithDefaults:z}=cn(C,t);h=_e(h,z),y[$]={css:N,vars:O}}),c){const{css:$,vars:C,varsWithDefaults:O}=cn(c,t);h=_e(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}])=>{$=_e($,C)}),$},generateStyleSheets:()=>{var W,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=(W=a[C])==null?void 0:W.palette)==null?void 0:f.mode,R=!n&&l?{colorScheme:l,...x}:{...x};O(r(C,{...R}),R)}return Object.entries(z).forEach(([x,{css:l}])=>{var D,j;const R=(j=(D=a[x])==null?void 0:D.palette)==null?void 0:j.mode,_=!n&&R?{colorScheme:R,...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 rl(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 Yt={black:"#000",white:"#fff"},nl={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"},ft={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},dt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},It={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},pt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},mt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ht={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Ui(){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:Yt.white,default:Yt.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 Wi=Ui();function Yi(){return{text:{primary:Yt.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:Yt.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 $n=Yi();function Bo(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=Fr(e.main,o):t==="dark"&&(e.dark=jr(e.main,i)))}function jo(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 ol(e="light"){return e==="dark"?{main:pt[200],light:pt[50],dark:pt[400]}:{main:pt[700],light:pt[400],dark:pt[800]}}function il(e="light"){return e==="dark"?{main:ft[200],light:ft[50],dark:ft[400]}:{main:ft[500],light:ft[300],dark:ft[700]}}function al(e="light"){return e==="dark"?{main:dt[500],light:dt[300],dark:dt[700]}:{main:dt[700],light:dt[400],dark:dt[800]}}function sl(e="light"){return e==="dark"?{main:mt[400],light:mt[300],dark:mt[700]}:{main:mt[700],light:mt[500],dark:mt[900]}}function cl(e="light"){return e==="dark"?{main:ht[400],light:ht[300],dark:ht[700]}:{main:ht[800],light:ht[500],dark:ht[900]}}function ll(e="light"){return e==="dark"?{main:It[400],light:It[300],dark:It[700]}:{main:"#ed6c02",light:It[500],dark:It[900]}}function ul(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Yn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||ol(t),s=e.secondary||il(t),u=e.error||al(t),d=e.info||sl(t),m=e.success||cl(t),p=e.warning||ll(t);function g(v){if(o)return ul(v);const w=Io(v,$n.text.primary)>=r?$n.text.primary:Wi.text.primary;if(process.env.NODE_ENV!=="production"){const P=Io(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:A=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.`:lt(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
+ } });`:lt(12,w?` (${w})`:"",JSON.stringify(v.main)));return o?(jo(o,v,"light",A,n),jo(o,v,"dark",$,n)):(Bo(v,"light",A,n),Bo(v,"dark",$,n)),v.contrastText||(v.contrastText=g(v.main)),v};let y;return t==="light"?y=Ui():t==="dark"&&(y=Yi()),process.env.NODE_ENV!=="production"&&(y||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),_e({common:{...Yt},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:nl,contrastThreshold:r,getContrastText:g,augmentColor:h,tonalOffset:n,...y},i)}function fl(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 dl(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function pl(e){return Math.round(e*1e5)/1e5}const Fo={textTransform:"uppercase"},Vo='"Roboto", "Helvetica", "Arial", sans-serif';function ml(e,t){const{fontFamily:r=Vo,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,A,$)=>({fontFamily:r,fontWeight:v,fontSize:h(w),lineHeight:P,...r===Vo?{letterSpacing:`${pl(A/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,Fo),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,Fo),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return _e({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:s,...c},p,{clone:!1})}const hl=.2,gl=.14,yl=.12;function pe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${hl})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${gl})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${yl})`].join(",")}const bl=["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)],vl={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Sl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Lo(e){return`${Math.round(e)}ms`}function $l(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Cl(e){const t={...vl,...e.easing},r={...Sl,...e.duration};return{getAutoHeightDuration:$l,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:Lo(a)} ${s} ${typeof u=="string"?u:Lo(u)}`).join(",")},...e,easing:t,duration:r}}const El={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Tl(e){return Ke(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Gi(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];!Tl(s)||a.startsWith("unstable_")?delete n[a]:Ke(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 zo(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const wl=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 xl(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})`:zi(t,wl(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${zo(r)})`:Fr(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${zo(r)})`:jr(t,r)}})}function Cn(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.":lt(20));const p=Yn({...i,colorSpace:d}),g=Di(e);let h=_e(g,{mixins:dl(g.breakpoints,n),palette:p,shadows:bl.slice(),typography:ml(p,s),transitions:Cl(a),zIndex:{...El}});if(h=_e(h,m),h=t.reduce((y,c)=>_e(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 A=v[P];if(y.includes(P)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const $=Un("",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:{[`&.${$}`]:A}},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={...Nr,...m==null?void 0:m.unstable_sxConfig},h.unstable_sx=function(c){return wt({sx:c,theme:this})},h.toRuntimeSource=Gi,xl(h),h}function Ol(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 kl=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ol(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Ki(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function qi(e){return e==="dark"?kl:[]}function _l(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=Yn({...t,colorSpace:o});return{palette:a,opacity:{...Ki(a.mode),...r},overlays:n||qi(a.mode),...i}}function Rl(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 Al=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Pl=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 Al(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 Nl(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function E(e,t,r){!e[t]&&r&&(e[t]=r)}function Bt(e){return typeof e!="string"||!e.startsWith("hsl")?e:Li(e)}function We(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Dt(Bt(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 Il(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Fe=e=>{try{return e()}catch{}},Ml=(e="mui")=>Qc(e);function ln(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=_l({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...s}=Cn({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Ki(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||qi(i)},s}function Dl(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:s=Rl,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=Ml(i),{[g]:y,light:c,dark:v,...w}=r,P={...w};let A=y;if((g==="dark"&&!("dark"in r)||g==="light"&&!("light"in r))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${g}\` option is either missing or invalid.`:lt(21,g));let $;a&&($="oklch");const C=ln($,P,A,m,g);c&&!P.light&&ln($,P,c,void 0,"light"),v&&!P.dark&&ln($,P,v,void 0,"dark");let O={defaultColorScheme:g,...C,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:d,getCssVar:h,colorSchemes:P,font:{...fl(C.typography),...C.font},spacing:Il(m.spacing)};Object.keys(O.colorSchemes).forEach(x=>{const l=O.colorSchemes[x].palette,R=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===it&&(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(Nl(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",R("palette-error-main")),E(l.Alert,"infoFilledBg",R("palette-info-main")),E(l.Alert,"successFilledBg",R("palette-success-main")),E(l.Alert,"warningFilledBg",R("palette-warning-main")),E(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.main))),E(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.main))),E(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.main))),E(l.Alert,"warningFilledColor",Fe(()=>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",R("palette-error-main")),E(l.Alert,"infoIconColor",R("palette-info-main")),E(l.Alert,"successIconColor",R("palette-success-main")),E(l.Alert,"warningIconColor",R("palette-warning-main")),E(l.AppBar,"defaultBg",R("palette-grey-100")),E(l.Avatar,"defaultBg",R("palette-grey-400")),E(l.Button,"inheritContainedBg",R("palette-grey-300")),E(l.Button,"inheritContainedHoverBg",R("palette-grey-A100")),E(l.Chip,"defaultBorder",R("palette-grey-400")),E(l.Chip,"defaultAvatarColor",R("palette-grey-700")),E(l.Chip,"defaultIconColor",R("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",$?_(it,a?h("palette-text-primary"):l.text.primary,.11):`rgba(${R("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):ir(l.background.default,.8);E(l.SnackbarContent,"bg",D),E(l.SnackbarContent,"color",Fe(()=>$?$n.text.primary:l.getContrastText(D))),E(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),E(l.StepConnector,"border",R("palette-grey-400")),E(l.StepContent,"border",R("palette-grey-400")),E(l.Switch,"defaultColor",R("palette-common-white")),E(l.Switch,"defaultDisabledColor",R("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,it(a?h("palette-divider"):l.divider,1),.88)),E(l.Tooltip,"bg",_(it,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",R("palette-error-dark")),E(l.Alert,"infoFilledBg",R("palette-info-dark")),E(l.Alert,"successFilledBg",R("palette-success-dark")),E(l.Alert,"warningFilledBg",R("palette-warning-dark")),E(l.Alert,"errorFilledColor",Fe(()=>l.getContrastText(l.error.dark))),E(l.Alert,"infoFilledColor",Fe(()=>l.getContrastText(l.info.dark))),E(l.Alert,"successFilledColor",Fe(()=>l.getContrastText(l.success.dark))),E(l.Alert,"warningFilledColor",Fe(()=>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",R("palette-error-main")),E(l.Alert,"infoIconColor",R("palette-info-main")),E(l.Alert,"successIconColor",R("palette-success-main")),E(l.Alert,"warningIconColor",R("palette-warning-main")),E(l.AppBar,"defaultBg",R("palette-grey-900")),E(l.AppBar,"darkBg",R("palette-background-paper")),E(l.AppBar,"darkColor",R("palette-text-primary")),E(l.Avatar,"defaultBg",R("palette-grey-600")),E(l.Button,"inheritContainedBg",R("palette-grey-800")),E(l.Button,"inheritContainedHoverBg",R("palette-grey-700")),E(l.Chip,"defaultBorder",R("palette-grey-700")),E(l.Chip,"defaultAvatarColor",R("palette-grey-300")),E(l.Chip,"defaultIconColor",R("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",$?_(it,a?h("palette-text-primary"):l.text.primary,.13):`rgba(${R("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):ir(l.background.default,.98);E(l.SnackbarContent,"bg",D),E(l.SnackbarContent,"color",Fe(()=>$?Wi.text.primary:l.getContrastText(D))),E(l.SpeedDialAction,"fabHoverBg",ir(l.background.paper,.15)),E(l.StepConnector,"border",R("palette-grey-600")),E(l.StepContent,"border",R("palette-grey-600")),E(l.Switch,"defaultColor",R("palette-grey-300")),E(l.Switch,"defaultDisabledColor",R("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,it(a?h("palette-divider"):l.divider,1),.68)),E(l.Tooltip,"bg",_(it,a?h("palette-grey-700"):l.grey[700],.92))}a||(We(l.background,"default"),We(l.background,"paper"),We(l.common,"background"),We(l.common,"onBackground"),We(l,"divider")),Object.keys(l).forEach(D=>{const j=l[D];D!=="tonalOffset"&&!a&&j&&typeof j=="object"&&(j.main&&E(l[D],"mainChannel",Dt(Bt(j.main))),j.light&&E(l[D],"lightChannel",Dt(Bt(j.light))),j.dark&&E(l[D],"darkChannel",Dt(Bt(j.dark))),j.contrastText&&E(l[D],"contrastTextChannel",Dt(Bt(j.contrastText))),D==="text"&&(We(l[D],"primary"),We(l[D],"secondary")),D==="action"&&(j.active&&We(l[D],"active"),j.selected&&We(l[D],"selected")))})}),O=t.reduce((x,l)=>_e(x,l),O);const N={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:Pl(O),enableContrastVars:a},{vars:z,generateThemeVars:W,generateStyleSheets:f}=tl(O,N);return O.vars=z,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([x,l])=>{O[x]=l}),O.generateThemeVars=W,O.generateStyleSheets=f,O.generateSpacing=function(){return Mi(m.spacing,Mn(this))},O.getColorSchemeSelector=rl(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=s,O.unstable_sxConfig={...Nr,...m==null?void 0:m.unstable_sxConfig},O.unstable_sx=function(l){return wt({sx:l,theme:this})},O.toRuntimeSource=Gi,O}function Uo(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Yn({...r===!0?{}:r.palette,mode:t})})}function Bl(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 Cn(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=Cn({...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},Uo(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Uo(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),Dl({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const jl=Bl(),Fl="$$material";function Vl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ll=e=>Vl(e)&&e!=="classes",zl=Fc({themeId:Fl,defaultTheme:jl,rootShouldForwardProp:Ll}),Ul=Jc;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Wl(e){return Xc(e)}function Yl(e){return Un("MuiSvgIcon",e)}Ic("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Gl=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${ut(t)}`,`fontSize${ut(r)}`]};return Ba(o,Yl,n)},Kl=zl("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${ut(r.color)}`],t[`fontSize${ut(r.fontSize)}`]]}})(Ul(({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}}]}})),vr=M.forwardRef(function(t,r){const n=Wl({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=Gl(c);return J.jsxs(Kl,{as:s,className:we(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"&&(vr.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});vr.muiName="SvgIcon";function ql(e,t){function r(n,o){return J.jsx(vr,{"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=vr.muiName,M.memo(M.forwardRef(r))}const Hl=ql(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 Gn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function Kn(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 et(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 Xl(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function qn(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}].`),Xl(e,t,r)}function Jl(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function tt(e){if(e.type)return e;if(e.charAt(0)==="#")return tt(Jl(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().`:et(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.`:et(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ql=e=>{const t=tt(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},jt=(e,t)=>{try{return Ql(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Vr(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 Hi(e){e=tt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(d,m=(d+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let s="rgb";const 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])),Vr({type:s,values:u})}function En(e){e=tt(e);let t=e.type==="hsl"||e.type==="hsla"?tt(Hi(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 Wo(e,t){const r=En(e),n=En(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Tn(e,t){return e=tt(e),t=qn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Vr(e)}function ar(e,t,r){try{return Tn(e,t)}catch{return e}}function Hn(e,t){if(e=tt(e),t=qn(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 Vr(e)}function ue(e,t,r){try{return Hn(e,t)}catch{return e}}function Xn(e,t){if(e=tt(e),t=qn(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 Vr(e)}function fe(e,t,r){try{return Xn(e,t)}catch{return e}}function Zl(e,t=.15){return En(e)>.5?Hn(e,t):Xn(e,t)}function sr(e,t,r){try{return Zl(e,t)}catch{return e}}const Yo=e=>e,eu=()=>{let e=Yo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Yo}}},tu=eu();function Ae(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":et(7));return e.charAt(0).toUpperCase()+e.slice(1)}var wn={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 Go;function ru(){if(Go)return se;Go=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 Ko;function nu(){return Ko||(Ko=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"?wn.exports=ru():wn.exports=nu();var Sr=wn.exports;function qe(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 Xi(e){if(M.isValidElement(e)||Sr.isValidElementType(e)||!qe(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Xi(e[r])}),t}function Pe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return qe(e)&&qe(t)&&Object.keys(t).forEach(o=>{M.isValidElement(t[o])||Sr.isValidElementType(t[o])?n[o]=t[o]:qe(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&qe(e[o])?n[o]=Pe(e[o],t[o],r):r.clone?n[o]=qe(t[o])?Xi(t[o]):t[o]:n[o]=t[o]}),n}function Lt(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 ou(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 iu(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function au(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\`.`:et(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function su(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 Lr={xs:0,sm:600,md:900,lg:1200,xl:1536},qo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Lr[e]}px)`},cu={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:Lr[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||qo;return t.reduce((a,s,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||qo;return Object.keys(t).reduce((a,s)=>{if(iu(i.keys,s)){const u=au(n.containerQueries?n:cu,s);u&&(a[u]=r(t[s],s))}else if(Object.keys(i.values||Lr).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 lu(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function uu(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function zr(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 $r(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=zr(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=zr(u,n)||{};return Xe(a,s,p=>{let g=$r(d,o,p);return p===g&&typeof p=="string"&&(g=$r(d,o,`${t}${p==="default"?"":Ae(p)}`,p)),r===!1?g:{[r]:g}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:nt}:{},i.filterProps=[t],i}function fu(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const du={m:"margin",p:"padding"},pu={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ho={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},mu=fu(e=>{if(e.length>2)if(Ho[e])e=Ho[e];else return[e];const[t,r]=e.split(""),n=du[t],o=pu[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ur=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Wr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],hu=[...Ur,...Wr];function Qt(e,t,r,n){const o=zr(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 Jn(e){return Qt(e,"spacing",8,"spacing")}function Zt(e,t){return typeof t=="string"||t==null?t:e(t)}function gu(e,t){return r=>e.reduce((n,o)=>(n[o]=Zt(t,r),n),{})}function yu(e,t,r,n){if(!t.includes(r))return null;const o=mu(r),i=gu(o,n),a=e[r];return Xe(e,a,i)}function Ji(e,t){const r=Jn(e.theme);return Object.keys(e).map(n=>yu(e,t,n,r)).reduce(Lt,{})}function ye(e){return Ji(e,Ur)}ye.propTypes=process.env.NODE_ENV!=="production"?Ur.reduce((e,t)=>(e[t]=nt,e),{}):{};ye.filterProps=Ur;function be(e){return Ji(e,Wr)}be.propTypes=process.env.NODE_ENV!=="production"?Wr.reduce((e,t)=>(e[t]=nt,e),{}):{};be.filterProps=Wr;process.env.NODE_ENV!=="production"&&hu.reduce((e,t)=>(e[t]=nt,e),{});function Yr(...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]?Lt(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 je(e,t){return Se({prop:e,themeKey:"borders",transform:t})}const bu=je("border",De),vu=je("borderTop",De),Su=je("borderRight",De),$u=je("borderBottom",De),Cu=je("borderLeft",De),Eu=je("borderColor"),Tu=je("borderTopColor"),wu=je("borderRightColor"),xu=je("borderBottomColor"),Ou=je("borderLeftColor"),ku=je("outline",De),_u=je("outlineColor"),Gr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Qt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Zt(t,n)});return Xe(e,e.borderRadius,r)}return null};Gr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:nt}:{};Gr.filterProps=["borderRadius"];Yr(bu,vu,Su,$u,Cu,Eu,Tu,wu,xu,Ou,Gr,ku,_u);const Kr=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Qt(e.theme,"spacing",8,"gap"),r=n=>({gap:Zt(t,n)});return Xe(e,e.gap,r)}return null};Kr.propTypes=process.env.NODE_ENV!=="production"?{gap:nt}:{};Kr.filterProps=["gap"];const qr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Qt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Zt(t,n)});return Xe(e,e.columnGap,r)}return null};qr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:nt}:{};qr.filterProps=["columnGap"];const Hr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Qt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Zt(t,n)});return Xe(e,e.rowGap,r)}return null};Hr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:nt}:{};Hr.filterProps=["rowGap"];const Ru=Se({prop:"gridColumn"}),Au=Se({prop:"gridRow"}),Pu=Se({prop:"gridAutoFlow"}),Nu=Se({prop:"gridAutoColumns"}),Iu=Se({prop:"gridAutoRows"}),Mu=Se({prop:"gridTemplateColumns"}),Du=Se({prop:"gridTemplateRows"}),Bu=Se({prop:"gridTemplateAreas"}),ju=Se({prop:"gridArea"});Yr(Kr,qr,Hr,Ru,Au,Pu,Nu,Iu,Mu,Du,Bu,ju);function Tt(e,t){return t==="grey"?t:e}const Fu=Se({prop:"color",themeKey:"palette",transform:Tt}),Vu=Se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tt}),Lu=Se({prop:"backgroundColor",themeKey:"palette",transform:Tt});Yr(Fu,Vu,Lu);function ke(e){return e<=1&&e!==0?`${e*100}%`:e}const zu=Se({prop:"width",transform:ke}),Qn=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])||Lr[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:ke(r)}};return Xe(e,e.maxWidth,t)}return null};Qn.filterProps=["maxWidth"];const Uu=Se({prop:"minWidth",transform:ke}),Wu=Se({prop:"height",transform:ke}),Yu=Se({prop:"maxHeight",transform:ke}),Gu=Se({prop:"minHeight",transform:ke});Se({prop:"size",cssProperty:"width",transform:ke});Se({prop:"size",cssProperty:"height",transform:ke});const Ku=Se({prop:"boxSizing"});Yr(zu,Qn,Uu,Wu,Yu,Gu,Ku);const Xr={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:Gr},color:{themeKey:"palette",transform:Tt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tt},backgroundColor:{themeKey:"palette",transform:Tt},p:{style:be},pt:{style:be},pr:{style:be},pb:{style:be},pl:{style:be},px:{style:be},py:{style:be},padding:{style:be},paddingTop:{style:be},paddingRight:{style:be},paddingBottom:{style:be},paddingLeft:{style:be},paddingX:{style:be},paddingY:{style:be},paddingInline:{style:be},paddingInlineStart:{style:be},paddingInlineEnd:{style:be},paddingBlock:{style:be},paddingBlockStart:{style:be},paddingBlockEnd:{style:be},m:{style:ye},mt:{style:ye},mr:{style:ye},mb:{style:ye},ml:{style:ye},mx:{style:ye},my:{style:ye},margin:{style:ye},marginTop:{style:ye},marginRight:{style:ye},marginBottom:{style:ye},marginLeft:{style:ye},marginX:{style:ye},marginY:{style:ye},marginInline:{style:ye},marginInlineStart:{style:ye},marginInlineEnd:{style:ye},marginBlock:{style:ye},marginBlockStart:{style:ye},marginBlockEnd:{style:ye},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Kr},rowGap:{style:Hr},columnGap:{style:qr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ke},maxWidth:{style:Qn},minWidth:{transform:ke},height:{transform:ke},maxHeight:{transform:ke},minHeight:{transform:ke},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 qu(...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 Hu(e,t){return typeof e=="function"?e(t):e}function Xu(){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=zr(o,d)||{};return p?p(a):Xe(a,n,y=>{let c=$r(g,m,y);return y===c&&typeof y=="string"&&(c=$r(g,m,`${r}${y==="default"?"":Ae(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??Xr;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=lu(o.breakpoints),m=Object.keys(d);let p=d;return Object.keys(u).forEach(g=>{const h=Hu(u[g],o);if(h!=null)if(typeof h=="object")if(i[g])p=Lt(p,e(g,h,o,i));else{const y=Xe({theme:o},h,c=>({[g]:c}));qu(y,h)?p[g]=t({sx:h,theme:o}):p=Lt(p,y)}else p=Lt(p,e(g,h,o,i))}),ou(o,uu(m,p))}return Array.isArray(n)?n.map(a):a(n)}return t}const Ot=Xu();Ot.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 Ju(e,t){const r=br(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 Qu(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Xo=[];function Jo(e){return Xo[0]=e,Xt(Xo)}const Zu=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 ef(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Zu(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 tf={borderRadius:4};function Qi(e=8,t=Jn({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 rf(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 Zi(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,s=ef(r),u=Qi(o);let d=Pe({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...tf,...i}},a);return d=su(d),d.applyStyles=rf,d=t.reduce((m,p)=>Pe(m,p),d),d.unstable_sxConfig={...Xr,...a==null?void 0:a.unstable_sxConfig},d.unstable_sx=function(p){return Ot({sx:p,theme:this})},d}const nf={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 er(e,t,r="Mui"){const n=nf[t];return n?`${r}-${n}`:`${tu.generate(e)}-${t}`}function Jr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=er(e,o,r)}),n}function ea(e,t=""){return e.displayName||e.name||t}function Qo(e,t,r){const n=ea(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function of(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ea(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Sr.ForwardRef:return Qo(e,e.render,"ForwardRef");case Sr.Memo:return Qo(e,e.type,"memo");default:return}}}function ta(e){const{variants:t,...r}=e,n={variants:t,style:Jo(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Jo(o.style))}),n}const af=Zi();function un(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function sf(e){return e?(t,r)=>r[e]:null}function cf(e,t,r){e.theme=df(e.theme)?r:e.theme[t]||e.theme}function dr(e,t){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(n=>dr(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 ra(e,r.variants,[n])}return r!=null&&r.isProcessed?r.style:r}function ra(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 lf(e={}){const{themeId:t,defaultTheme:r=af,rootShouldForwardProp:n=un,slotShouldForwardProp:o=un}=e;function i(s){cf(s,t,r)}return(s,u={})=>{Qu(s,C=>C.filter(O=>O!==Ot));const{name:d,slot:m,skipVariantsResolver:p,skipSx:g,overridesResolver:h=sf(na(m)),...y}=u,c=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,v=g||!1;let w=un;m==="Root"||m==="root"?w=n:m?w=o:pf(s)&&(w=void 0);const P=Ju(s,{shouldForwardProp:w,label:ff(d,m),...y}),A=C=>{if(C.__emotion_real===C)return C;if(typeof C=="function")return function(N){return dr(N,C)};if(qe(C)){const O=ta(C);return O.variants?function(z){return dr(z,O)}:O.style}return C},$=(...C)=>{const O=[],N=C.map(A),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]=dr(l,_[de]);return h(l,D)}),d&&!c&&z.push(function(l){var D,j;const R=l.theme,_=(j=(D=R==null?void 0:R.components)==null?void 0:D[d])==null?void 0:j.variants;return _?ra(l,_):null}),v||z.push(Ot),Array.isArray(N[0])){const x=N.shift(),l=new Array(O.length).fill(""),R=new Array(z.length).fill("");let _;_=[...l,...x,...R],_.raw=[...l,...x.raw,...R],O.unshift(_)}const W=[...O,...N,...z],f=P(...W);return s.muiName&&(f.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(f.displayName=uf(d,m,s)),f};return P.withConfig&&($.withConfig=P.withConfig),$}}function uf(e,t,r){return e?`${e}${Ae(t||"")}`:`Styled(${of(r)})`}function ff(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${na(t||"Root")}`),r}function df(e){for(const t in e)return!1;return!0}function pf(e){return typeof e=="string"&&e.charCodeAt(0)>96}function na(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function xn(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]=xn(i[u],a[u])}}}else r[o]===void 0&&(r[o]=e[o])}return r}const mf=typeof window<"u"?M.useLayoutEffect:M.useEffect,hf=M.createContext(void 0);process.env.NODE_ENV!=="production"&&(S.node,S.object);function gf(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):!o.styleOverrides&&!o.variants?xn(o,n):n}function yf({props:e,name:t}){const r=M.useContext(hf);return gf({props:e,name:t,theme:{components:r}})}const Zo={theme:void 0};function bf(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Zo.theme=o.theme,i=ta(e(Zo)),t=i,r=o.theme),i}}function vf(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 ei=(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])})},Sf=(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)},$f=(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 fn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Sf(e,(s,u,d)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(s,u))){const m=`--${r?`${r}-`:""}${s.join("-")}`,p=$f(s,u);Object.assign(o,{[m]:p}),ei(i,s,`var(${m})`,d),ei(a,s,`var(${m}, ${p})`,d)}},s=>s[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Cf(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}=fn(u,t);let g=p;const h={},{[s]:y,...c}=i;if(Object.entries(c||{}).forEach(([A,$])=>{const{vars:C,css:O,varsWithDefaults:N}=fn($,t);g=Pe(g,N),h[A]={css:O,vars:C}}),y){const{css:A,vars:$,varsWithDefaults:C}=fn(y,t);g=Pe(g,C),h[s]={css:A,vars:$}}function v(A,$){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"]`),A){if(C==="media")return e.defaultColorScheme===A?":root":{[`@media (prefers-color-scheme: ${((N=(O=i[A])==null?void 0:O.palette)==null?void 0:N.mode)||A})`]:{":root":$}};if(C)return e.defaultColorScheme===A?`:root, ${C.replace("%s",String(A))}`:C.replace("%s",String(A))}return":root"}return{vars:g,generateThemeVars:()=>{let A={...d};return Object.entries(h).forEach(([,{vars:$}])=>{A=Pe(A,$)}),A},generateStyleSheets:()=>{var z,W;const A=[],$=e.defaultColorScheme||"light";function C(f,x){Object.keys(x).length&&A.push(typeof f=="string"?{[f]:{...x}}:f)}C(r(void 0,{...m}),m);const{[$]:O,...N}=h;if(O){const{css:f}=O,x=(W=(z=i[$])==null?void 0:z.palette)==null?void 0:W.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,R=!n&&l?{colorScheme:l,...x}:{...x};C(r(f,{...R}),R)}),A}}}function Ef(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 Gt={black:"#000",white:"#fff"},Tf={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"},gt={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},yt={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Mt={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},bt={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},vt={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},St={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function oa(){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:Gt.white,default:Gt.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 wf=oa();function ia(){return{text:{primary:Gt.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:Gt.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 ti=ia();function ri(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=Xn(e.main,o):t==="dark"&&(e.dark=Hn(e.main,i)))}function xf(e="light"){return e==="dark"?{main:bt[200],light:bt[50],dark:bt[400]}:{main:bt[700],light:bt[400],dark:bt[800]}}function Of(e="light"){return e==="dark"?{main:gt[200],light:gt[50],dark:gt[400]}:{main:gt[500],light:gt[300],dark:gt[700]}}function kf(e="light"){return e==="dark"?{main:yt[500],light:yt[300],dark:yt[700]}:{main:yt[700],light:yt[400],dark:yt[800]}}function _f(e="light"){return e==="dark"?{main:vt[400],light:vt[300],dark:vt[700]}:{main:vt[700],light:vt[500],dark:vt[900]}}function Rf(e="light"){return e==="dark"?{main:St[400],light:St[300],dark:St[700]}:{main:St[800],light:St[500],dark:St[900]}}function Af(e="light"){return e==="dark"?{main:Mt[400],light:Mt[300],dark:Mt[700]}:{main:"#ed6c02",light:Mt[500],dark:Mt[900]}}function Zn(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,i=e.primary||xf(t),a=e.secondary||Of(t),s=e.error||kf(t),u=e.info||_f(t),d=e.success||Rf(t),m=e.warning||Af(t);function p(c){const v=Wo(c,ti.text.primary)>=r?ti.text.primary:wf.text.primary;if(process.env.NODE_ENV!=="production"){const w=Wo(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:A=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.`:et(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
+ } });`:et(12,v?` (${v})`:"",JSON.stringify(c.main)));return ri(c,"light",P,n),ri(c,"dark",A,n),c.contrastText||(c.contrastText=p(c.main)),c};let h;return t==="light"?h=oa():t==="dark"&&(h=ia()),process.env.NODE_ENV!=="production"&&(h||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Pe({common:{...Gt},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:Tf,contrastThreshold:r,getContrastText:p,augmentColor:g,tonalOffset:n,...h},o)}function Pf(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 Nf(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function If(e){return Math.round(e*1e5)/1e5}const ni={textTransform:"uppercase"},oi='"Roboto", "Helvetica", "Arial", sans-serif';function Mf(e,t){const{fontFamily:r=oi,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,A,$)=>({fontFamily:r,fontWeight:v,fontSize:h(w),lineHeight:P,...r===oi?{letterSpacing:`${If(A/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,ni),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,ni),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 Df=.2,Bf=.14,jf=.12;function me(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Df})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Bf})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${jf})`].join(",")}const Ff=["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)],Vf={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)"},Lf={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ii(e){return`${Math.round(e)}ms`}function zf(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Uf(e){const t={...Vf,...e.easing},r={...Lf,...e.duration};return{getAutoHeightDuration:zf,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:ii(a)} ${s} ${typeof u=="string"?u:ii(u)}`).join(",")},...e,easing:t,duration:r}}const Wf={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Yf(e){return qe(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function aa(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];!Yf(s)||a.startsWith("unstable_")?delete n[a]:qe(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 On(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.":et(20));const m=Zn(i),p=Zi(e);let g=Pe(p,{mixins:Nf(p.breakpoints,n),palette:m,shadows:Ff.slice(),typography:Mf(m,s),transitions:Uf(a),zIndex:{...Wf}});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 A=er("",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 '&.${A}' syntax:`,JSON.stringify({root:{[`&.${A}`]: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={...Xr,...d==null?void 0:d.unstable_sxConfig},g.unstable_sx=function(y){return Ot({sx:y,theme:this})},g.toRuntimeSource=aa,g}function Gf(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 Kf=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Gf(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function sa(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ca(e){return e==="dark"?Kf:[]}function qf(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,i=Zn(t);return{palette:i,opacity:{...sa(i.mode),...r},overlays:n||ca(i.mode),...o}}function Hf(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 Xf=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Jf=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 Xf(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 Qf(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function T(e,t,r){!e[t]&&r&&(e[t]=r)}function Ft(e){return typeof e!="string"||!e.startsWith("hsl")?e:Hi(e)}function Ye(e,t){`${t}Channel`in e||(e[`${t}Channel`]=jt(Ft(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 Zf(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Ve=e=>{try{return e()}catch{}},ed=(e="mui")=>vf(e);function dn(e,t,r,n){if(!t)return;t=t===!0?{}:t;const o=n==="dark"?"dark":"light";if(!r){e[n]=qf({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...a}=On({...r,palette:{mode:o,...t==null?void 0:t.palette}});return e[n]={...t,palette:i,opacity:{...sa(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||ca(o)},a}function td(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:a=Hf,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=ed(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.`:et(21,p));const A=dn(w,P,d,p);y&&!w.light&&dn(w,y,void 0,"light"),c&&!w.dark&&dn(w,c,void 0,"dark");let $={defaultColorScheme:p,...A,cssVarPrefix:i,colorSchemeSelector:s,rootSelector:u,getCssVar:g,colorSchemes:w,font:{...Pf(A.typography),...A.font},spacing:Zf(d.spacing)};Object.keys($.colorSchemes).forEach(W=>{const f=$.colorSchemes[W].palette,x=l=>{const R=l.split("-"),_=R[1],D=R[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")),Qf(f,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),f.mode==="light"){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-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",Ve(()=>f.getContrastText(f.error.main))),T(f.Alert,"infoFilledColor",Ve(()=>f.getContrastText(f.info.main))),T(f.Alert,"successFilledColor",Ve(()=>f.getContrastText(f.success.main))),T(f.Alert,"warningFilledColor",Ve(()=>f.getContrastText(f.warning.main))),T(f.Alert,"errorStandardBg",fe(f.error.light,.9)),T(f.Alert,"infoStandardBg",fe(f.info.light,.9)),T(f.Alert,"successStandardBg",fe(f.success.light,.9)),T(f.Alert,"warningStandardBg",fe(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",fe(f.primary.main,.62)),T(f.LinearProgress,"secondaryBg",fe(f.secondary.main,.62)),T(f.LinearProgress,"errorBg",fe(f.error.main,.62)),T(f.LinearProgress,"infoBg",fe(f.info.main,.62)),T(f.LinearProgress,"successBg",fe(f.success.main,.62)),T(f.LinearProgress,"warningBg",fe(f.warning.main,.62)),T(f.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.11)`),T(f.Slider,"primaryTrack",fe(f.primary.main,.62)),T(f.Slider,"secondaryTrack",fe(f.secondary.main,.62)),T(f.Slider,"errorTrack",fe(f.error.main,.62)),T(f.Slider,"infoTrack",fe(f.info.main,.62)),T(f.Slider,"successTrack",fe(f.success.main,.62)),T(f.Slider,"warningTrack",fe(f.warning.main,.62));const l=sr(f.background.default,.8);T(f.SnackbarContent,"bg",l),T(f.SnackbarContent,"color",Ve(()=>f.getContrastText(l))),T(f.SpeedDialAction,"fabHoverBg",sr(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",fe(f.primary.main,.62)),T(f.Switch,"secondaryDisabledColor",fe(f.secondary.main,.62)),T(f.Switch,"errorDisabledColor",fe(f.error.main,.62)),T(f.Switch,"infoDisabledColor",fe(f.info.main,.62)),T(f.Switch,"successDisabledColor",fe(f.success.main,.62)),T(f.Switch,"warningDisabledColor",fe(f.warning.main,.62)),T(f.TableCell,"border",fe(ar(f.divider,1),.88)),T(f.Tooltip,"bg",ar(f.grey[700],.92))}if(f.mode==="dark"){T(f.Alert,"errorColor",fe(f.error.light,.6)),T(f.Alert,"infoColor",fe(f.info.light,.6)),T(f.Alert,"successColor",fe(f.success.light,.6)),T(f.Alert,"warningColor",fe(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",Ve(()=>f.getContrastText(f.error.dark))),T(f.Alert,"infoFilledColor",Ve(()=>f.getContrastText(f.info.dark))),T(f.Alert,"successFilledColor",Ve(()=>f.getContrastText(f.success.dark))),T(f.Alert,"warningFilledColor",Ve(()=>f.getContrastText(f.warning.dark))),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-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",ue(f.primary.main,.5)),T(f.LinearProgress,"secondaryBg",ue(f.secondary.main,.5)),T(f.LinearProgress,"errorBg",ue(f.error.main,.5)),T(f.LinearProgress,"infoBg",ue(f.info.main,.5)),T(f.LinearProgress,"successBg",ue(f.success.main,.5)),T(f.LinearProgress,"warningBg",ue(f.warning.main,.5)),T(f.Skeleton,"bg",`rgba(${x("palette-text-primaryChannel")} / 0.13)`),T(f.Slider,"primaryTrack",ue(f.primary.main,.5)),T(f.Slider,"secondaryTrack",ue(f.secondary.main,.5)),T(f.Slider,"errorTrack",ue(f.error.main,.5)),T(f.Slider,"infoTrack",ue(f.info.main,.5)),T(f.Slider,"successTrack",ue(f.success.main,.5)),T(f.Slider,"warningTrack",ue(f.warning.main,.5));const l=sr(f.background.default,.98);T(f.SnackbarContent,"bg",l),T(f.SnackbarContent,"color",Ve(()=>f.getContrastText(l))),T(f.SpeedDialAction,"fabHoverBg",sr(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",ue(f.primary.main,.55)),T(f.Switch,"secondaryDisabledColor",ue(f.secondary.main,.55)),T(f.Switch,"errorDisabledColor",ue(f.error.main,.55)),T(f.Switch,"infoDisabledColor",ue(f.info.main,.55)),T(f.Switch,"successDisabledColor",ue(f.success.main,.55)),T(f.Switch,"warningDisabledColor",ue(f.warning.main,.55)),T(f.TableCell,"border",ue(ar(f.divider,1),.68)),T(f.Tooltip,"bg",ar(f.grey[700],.92))}Ye(f.background,"default"),Ye(f.background,"paper"),Ye(f.common,"background"),Ye(f.common,"onBackground"),Ye(f,"divider"),Object.keys(f).forEach(l=>{const R=f[l];l!=="tonalOffset"&&R&&typeof R=="object"&&(R.main&&T(f[l],"mainChannel",jt(Ft(R.main))),R.light&&T(f[l],"lightChannel",jt(Ft(R.light))),R.dark&&T(f[l],"darkChannel",jt(Ft(R.dark))),R.contrastText&&T(f[l],"contrastTextChannel",jt(Ft(R.contrastText))),l==="text"&&(Ye(f[l],"primary"),Ye(f[l],"secondary")),l==="action"&&(R.active&&Ye(f[l],"active"),R.selected&&Ye(f[l],"selected")))})}),$=t.reduce((W,f)=>Pe(W,f),$);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:a,getSelector:Jf($)},{vars:O,generateThemeVars:N,generateStyleSheets:z}=Cf($,C);return $.vars=O,Object.entries($.colorSchemes[$.defaultColorScheme]).forEach(([W,f])=>{$[W]=f}),$.generateThemeVars=N,$.generateStyleSheets=z,$.generateSpacing=function(){return Qi(d.spacing,Jn(this))},$.getColorSchemeSelector=Ef(s),$.spacing=$.generateSpacing(),$.shouldSkipGeneratingVar=a,$.unstable_sxConfig={...Xr,...d==null?void 0:d.unstable_sxConfig},$.unstable_sx=function(f){return Ot({sx:f,theme:this})},$.toRuntimeSource=aa,$}function ai(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Zn({...r===!0?{}:r.palette,mode:t})})}function rd(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 On(e,...t);let m=r;"palette"in e||d[s]&&(d[s]!==!0?m=d[s].palette:s==="dark"&&(m={mode:"dark"}));const p=On({...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},ai(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},ai(p,"light",d.light)),p}return!r&&!("light"in d)&&s==="light"&&(d.light=!0),td({...a,colorSchemes:d,defaultColorScheme:s,...typeof n!="boolean"&&n},...t)}const nd=rd(),od="$$material";function id(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ad=e=>id(e)&&e!=="classes",ot=lf({themeId:od,defaultTheme:nd,rootShouldForwardProp:ad}),Cr=bf;process.env.NODE_ENV!=="production"&&(S.node,S.object.isRequired);function Qr(e){return yf(e)}let si=0;function sd(e){const[t,r]=M.useState(e),n=e||t;return M.useEffect(()=>{t==null&&(si+=1,r(`mui-${si}`))},[t]),n}const cd={...M},ci=cd.useId;function ld(e){if(ci!==void 0){const t=ci();return e??t}return sd(e)}function pr(e){const t=M.useRef(e);return mf(()=>{t.current=e}),M.useRef((...r)=>(0,t.current)(...r)).current}function li(...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 ud(e){return typeof e.main=="string"}function fd(e,t=[]){if(!ud(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||typeof e[r]!="string")return!1;return!0}function kn(e=[]){return([,t])=>t&&fd(t,e)}const dd=S.oneOfType([S.func,S.object]);function pd(e){const{prototype:t={}}=e;return!!t.isReactComponent}function md(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"&&!pd(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 hd=Gn(S.elementType,md);function ui(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 fi={};function la(e,t){const r=M.useRef(fi);return r.current===fi&&(r.current=e(t)),r}class Er{constructor(){Rt(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 Er}static use(){const t=la(Er.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=yd(),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 gd(){return Er.use()}function yd(){let e,t;const r=new Promise((n,o)=>{e=n,t=o});return r.resolve=e,r.reject=t,r}function bd(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 _n(e,t){return _n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},_n(e,t)}function vd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_n(e,t)}const di=X.createContext(null);function Sd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eo(e,t){var r=function(i){return t&&X.isValidElement(i)?t(i):i},n=Object.create(null);return e&&X.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function $d(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 st(e,t,r){return r[t]!=null?r[t]:e.props[t]}function Cd(e,t){return eo(e.children,function(r){return X.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:st(r,"appear",e),enter:st(r,"enter",e),exit:st(r,"exit",e)})})}function Ed(e,t,r){var n=eo(e.children),o=$d(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(X.isValidElement(a)){var s=i in t,u=i in n,d=t[i],m=X.isValidElement(d)&&!d.props.in;u&&(!s||m)?o[i]=X.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:st(a,"exit",e),enter:st(a,"enter",e)}):!u&&s&&!m?o[i]=X.cloneElement(a,{in:!1}):u&&s&&X.isValidElement(d)&&(o[i]=X.cloneElement(a,{onExited:r.bind(null,a),in:d.props.in,exit:st(a,"exit",e),enter:st(a,"enter",e)}))}}),o}var Td=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},wd={component:"div",childFactory:function(t){return t}},to=function(e){vd(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(Sd(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?Cd(o,s):Ed(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=eo(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var u=gr({},s.children);return delete u[o.key],{children:u}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=bd(o,["component","childFactory"]),u=this.state.contextValue,d=Td(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?X.createElement(di.Provider,{value:u},d):X.createElement(di.Provider,{value:u},X.createElement(i,s,d))},t}(X.Component);to.propTypes=process.env.NODE_ENV!=="production"?{component:S.any,children:S.node,appear:S.bool,enter:S.bool,exit:S.bool,childFactory:S.func}:{};to.defaultProps=wd;const xd=[];function Od(e){M.useEffect(e,xd)}class ro{constructor(){Rt(this,"currentId",null);Rt(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Rt(this,"disposeEffect",()=>this.clear)}static create(){return new ro}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function kd(){const e=la(ro.create).current;return Od(e.disposeEffect),e}function ua(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=we(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},y=we(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"&&(ua.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 Ie=Jr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Rn=550,_d=80,Rd=Jt`
151
+ 0% {
152
+ transform: scale(0);
153
+ opacity: 0.1;
154
+ }
155
+
156
+ 100% {
157
+ transform: scale(1);
158
+ opacity: 0.3;
159
+ }
160
+ `,Ad=Jt`
161
+ 0% {
162
+ opacity: 1;
163
+ }
164
+
165
+ 100% {
166
+ opacity: 0;
167
+ }
168
+ `,Pd=Jt`
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
+ `,Nd=ot("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Id=ot(ua,{name:"MuiTouchRipple",slot:"Ripple"})`
181
+ opacity: 0;
182
+ position: absolute;
183
+
184
+ &.${Ie.rippleVisible} {
185
+ opacity: 0.3;
186
+ transform: scale(1);
187
+ animation-name: ${Rd};
188
+ animation-duration: ${Rn}ms;
189
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
190
+ }
191
+
192
+ &.${Ie.ripplePulsate} {
193
+ animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
194
+ }
195
+
196
+ & .${Ie.child} {
197
+ opacity: 1;
198
+ display: block;
199
+ width: 100%;
200
+ height: 100%;
201
+ border-radius: 50%;
202
+ background-color: currentColor;
203
+ }
204
+
205
+ & .${Ie.childLeaving} {
206
+ opacity: 0;
207
+ animation-name: ${Ad};
208
+ animation-duration: ${Rn}ms;
209
+ animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
210
+ }
211
+
212
+ & .${Ie.childPulsate} {
213
+ position: absolute;
214
+ /* @noflip */
215
+ left: 0px;
216
+ top: 0;
217
+ animation-name: ${Pd};
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
+ `,fa=M.forwardRef(function(t,r){const n=Qr({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=kd(),y=M.useRef(null),c=M.useRef(null),v=M.useCallback($=>{const{pulsate:C,rippleX:O,rippleY:N,rippleSize:z,cb:W}=$;d(f=>[...f,J.jsx(Id,{classes:{ripple:we(i.ripple,Ie.ripple),rippleVisible:we(i.rippleVisible,Ie.rippleVisible),ripplePulsate:we(i.ripplePulsate,Ie.ripplePulsate),child:we(i.child,Ie.child),childLeaving:we(i.childLeaving,Ie.childLeaving),childPulsate:we(i.childPulsate,Ie.childPulsate)},timeout:Rn,pulsate:C,rippleX:O,rippleY:N,rippleSize:z},m.current)]),m.current+=1,p.current=W},[i]),w=M.useCallback(($={},C={},O=()=>{})=>{const{pulsate:N=!1,center:z=o||C.pulsate,fakeElement:W=!1}=C;if(($==null?void 0:$.type)==="mousedown"&&g.current){g.current=!1;return}($==null?void 0:$.type)==="touchstart"&&(g.current=!0);const f=W?null:c.current,x=f?f.getBoundingClientRect():{width:0,height:0,left:0,top:0};let l,R,_;if(z||$===void 0||$.clientX===0&&$.clientY===0||!$.clientX&&!$.touches)l=Math.round(x.width/2),R=Math.round(x.height/2);else{const{clientX:D,clientY:j}=$.touches&&$.touches.length>0?$.touches[0]:$;l=Math.round(D-x.left),R=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)-R),R)*2+2;_=Math.sqrt(D**2+j**2)}$!=null&&$.touches?y.current===null&&(y.current=()=>{v({pulsate:N,rippleX:l,rippleY:R,rippleSize:_,cb:O})},h.start(_d,()=>{y.current&&(y.current(),y.current=null)})):v({pulsate:N,rippleX:l,rippleY:R,rippleSize:_,cb:O})},[o,v,h]),P=M.useCallback(()=>{w({},{pulsate:!0})},[w]),A=M.useCallback(($,C)=>{if(h.clear(),($==null?void 0:$.type)==="touchend"&&y.current){y.current(),y.current=null,h.start(0,()=>{A($,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:A}),[P,w,A]),J.jsx(Nd,{className:we(Ie.root,i.root,a),ref:c,...s,children:J.jsx(to,{component:null,exit:!0,children:u})})});process.env.NODE_ENV!=="production"&&(fa.propTypes={center:S.bool,classes:S.object,className:S.string});function Md(e){return er("MuiButtonBase",e)}const Dd=Jr("MuiButtonBase",["root","disabled","focusVisible"]),Bd=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Kn({root:["root",t&&"disabled",r&&"focusVisible"]},Md,o);return r&&n&&(a.root+=` ${n}`),a},jd=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"},[`&.${Dd.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),da=M.forwardRef(function(t,r){const n=Qr({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:A,onFocusVisible:$,onKeyDown:C,onKeyUp:O,onMouseDown:N,onMouseLeave:z,onMouseUp:W,onTouchEnd:f,onTouchMove:x,onTouchStart:l,tabIndex:R=0,TouchRippleProps:_,touchRippleRef:D,type:j,...Q}=n,de=M.useRef(null),le=gd(),b=li(le.ref,D),[k,B]=M.useState(!1);d&&k&&B(!1),M.useImperativeHandle(o,()=>({focusVisible:()=>{B(!0),de.current.focus()}}),[]);const F=le.shouldMount&&!m&&!d;M.useEffect(()=>{k&&g&&!m&&le.pulsate()},[m,g,k,le]);const V=Ge(le,"start",N,p),U=Ge(le,"stop",w,p),Y=Ge(le,"stop",P,p),G=Ge(le,"stop",W,p),L=Ge(le,"stop",K=>{k&&K.preventDefault(),z&&z(K)},p),q=Ge(le,"start",l,p),H=Ge(le,"stop",f,p),Ce=Ge(le,"stop",x,p),I=Ge(le,"stop",K=>{ui(K.target)||B(!1),c&&c(K)},!1),Ne=pr(K=>{de.current||(de.current=K.currentTarget),ui(K.target)&&(B(!0),$&&$(K)),A&&A(K)}),Je=()=>{const K=de.current;return u&&u!=="button"&&!(K.tagName==="A"&&K.href)},tr=pr(K=>{g&&!K.repeat&&k&&K.key===" "&&le.stop(K,()=>{le.start(K)}),K.target===K.currentTarget&&Je()&&K.key===" "&&K.preventDefault(),C&&C(K),K.target===K.currentTarget&&Je()&&K.key==="Enter"&&!d&&(K.preventDefault(),v&&v(K))}),ya=pr(K=>{g&&K.key===" "&&k&&!K.defaultPrevented&&le.stop(K,()=>{le.pulsate(K)}),O&&O(K),v&&K.target===K.currentTarget&&Je()&&K.key===" "&&!K.defaultPrevented&&v(K)});let rr=u;rr==="button"&&(Q.href||Q.to)&&(rr=y);const _t={};rr==="button"?(_t.type=j===void 0?"button":j,_t.disabled=d):(!Q.href&&!Q.to&&(_t.role="button"),d&&(_t["aria-disabled"]=d));const ba=li(r,de),no={...n,centerRipple:i,component:u,disabled:d,disableRipple:m,disableTouchRipple:p,focusRipple:g,tabIndex:R,focusVisible:k},va=Bd(no);return J.jsxs(jd,{as:rr,className:we(va.root,s),ownerState:no,onBlur:I,onClick:v,onContextMenu:U,onFocus:Ne,onKeyDown:tr,onKeyUp:ya,onMouseDown:V,onMouseLeave:L,onMouseUp:G,onDragLeave:Y,onTouchEnd:H,onTouchMove:Ce,onTouchStart:q,ref:ba,tabIndex:d?-1:R,type:j,..._t,...Q,children:[a,F?J.jsx(fa,{ref:b,center:i,..._}):null]})});function Ge(e,t,r,n=!1){return pr(o=>(r&&r(o),n||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(da.propTypes={action:dd,centerRipple:S.bool,children:S.node,classes:S.object,className:S.string,component:hd,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 Fd(e){return er("MuiCircularProgress",e)}Jr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Qe=44,An=Jt`
224
+ 0% {
225
+ transform: rotate(0deg);
226
+ }
227
+
228
+ 100% {
229
+ transform: rotate(360deg);
230
+ }
231
+ `,Pn=Jt`
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
+ `,Vd=typeof An!="string"?zn`
247
+ animation: ${An} 1.4s linear infinite;
248
+ `:null,Ld=typeof Pn!="string"?zn`
249
+ animation: ${Pn} 1.4s ease-in-out infinite;
250
+ `:null,zd=e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e,i={root:["root",r,`color${Ae(n)}`],svg:["svg"],circle:["circle",`circle${Ae(r)}`,o&&"circleDisableShrink"]};return Kn(i,Fd,t)},Ud=ot("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${Ae(r.color)}`]]}})(Cr(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:Vd||{animation:`${An} 1.4s linear infinite`}},...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),Wd=ot("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Yd=ot("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${Ae(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(Cr(({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:Ld||{animation:`${Pn} 1.4s ease-in-out infinite`}}]}))),pa=M.forwardRef(function(t,r){const n=Qr({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=zd(h),c={},v={},w={};if(p==="determinate"){const P=2*Math.PI*((Qe-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(Ud,{className:we(y.root,o),style:{width:s,height:s,...v,...u},ownerState:h,ref:r,role:"progressbar",...w,...g,children:J.jsx(Wd,{className:y.svg,ownerState:h,viewBox:`${Qe/2} ${Qe/2} ${Qe} ${Qe}`,children:J.jsx(Yd,{className:y.circle,style:c,ownerState:h,cx:Qe,cy:Qe,r:(Qe-d)/2,fill:"none",strokeWidth:d})})})});process.env.NODE_ENV!=="production"&&(pa.propTypes={classes:S.object,className:S.string,color:S.oneOfType([S.oneOf(["inherit","primary","secondary","error","info","success","warning"]),S.string]),disableShrink:Gn(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 Gd(e){return er("MuiIconButton",e)}const pi=Jr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Kd=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${Ae(n)}`,o&&`edge${Ae(o)}`,`size${Ae(i)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Kn(s,Gd,t)},qd=ot(da,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.loading&&t.loading,r.color!=="default"&&t[`color${Ae(r.color)}`],r.edge&&t[`edge${Ae(r.edge)}`],t[`size${Ae(r.size)}`]]}})(Cr(({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})`:Tn(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}}]})),Cr(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(kn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Tn((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)}}],[`&.${pi.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${pi.loading}`]:{color:"transparent"}}))),Hd=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=Qr({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=ld(p),v=h??J.jsx(pa,{"aria-labelledby":c,color:"inherit",size:16}),w={...n,edge:o,color:s,disabled:u,disableFocusRipple:d,loading:g,loadingIndicator:v,size:m},P=Kd(w);return J.jsxs(qd,{id:g?c:p,className:we(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(Hd,{className:P.loadingIndicator,ownerState:w,children:g&&v})}),i]})});process.env.NODE_ENV!=="production"&&(ma.propTypes={children:Gn(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($t.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(Hl,{})})]})}const ga=X.createContext(null),Xd=()=>{const e=X.useContext(ga);if(!e)throw new Error("useMessageDialog must be used within a MessageDialogProvider");return e},Jd={okText:"OK",cancelText:"Cancel",alertTitle:"Alert",confirmTitle:"Confirm",errorTitle:"Error"},Qd=e=>{const t={...Jd,...e.settings||{}},r=X.useMemo(()=>({backgroundColor:f=>f.palette.primary.main,color:"#fff"}),[]),[n,o]=X.useState(!1),[i,a]=X.useState(""),[s,u]=X.useState(null),[d,m]=X.useState(!1),[p,g]=X.useState(r),[h,y]=X.useState(t.alertTitle),[c,v]=X.useState(t.okText),[w,P]=X.useState(t.cancelText),A=f=>(a(f||""),o(!0),new Promise(x=>{u(()=>x)})),$=X.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),A(f)),[r,t]),C=X.useCallback(f=>(y(t.alertTitle),v(t.okText),m(!1),g(r),A(f)),[r,t]),O=X.useCallback(f=>(y(t.errorTitle),v(t.okText),m(!1),g({backgroundColor:x=>x.palette.error.main,color:"#fff"}),A(f)),[t]),N=f=>{o(!1);const x=s;u(null),x==null||x(f)},z=(f,x)=>{x!=="backdropClick"&&N(!1)},W=X.useMemo(()=>({error:O,alert:C,confirm:$}),[O,C,$]);return X.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:W,children:[e.children,J.jsxs($t.Dialog,{"data-testid":"message-dialog",open:n,onClose:z,children:[J.jsx(ha,{title:h,onClose:()=>N(!1),sx:p}),J.jsx($t.DialogContent,{dividers:!0,sx:{whiteSpace:"pre-line"},children:i}),J.jsxs($t.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($t.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($t.Button,{"data-testid":"message-dialog-cancel-button",onClick:()=>N(!1),variant:"outlined",children:w})})]})]})]})})};exports.DialogTitleEx=ha;exports.MessageDialogProvider=Qd;exports.useMessageDialog=Xd;