sosk-ui-lib 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ae=require("react"),w=require("@mui/material"),tn=require("@emotion/styled");require("@emotion/react");function rn(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 ve=rn(ae);function nn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $t={exports:{}},De={};/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ie=require("react"),C=require("@mui/material"),on=require("@emotion/styled");require("@emotion/react");function an(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 ve=an(ie);function sn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $t={exports:{}},Be={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var Gt;function on(){if(Gt)return De;Gt=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 l in o)l!=="key"&&(i[l]=o[l])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:i}}return De.Fragment=t,De.jsx=r,De.jsxs=r,De}var Be={};/**
9
+ */var qt;function ln(){if(qt)return Be;qt=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 l in o)l!=="key"&&(i[l]=o[l])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:a,ref:o!==void 0?o:null,props:i}}return Be.Fragment=t,Be.jsx=r,Be.jsxs=r,Be}var Fe={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,31 +14,31 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var qt;function an(){return qt||(qt=1,process.env.NODE_ENV!=="production"&&function(){function e(f){if(f==null)return null;if(typeof f=="function")return f.$$typeof===U?null:f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case S:return"Fragment";case M:return"Profiler";case j:return"StrictMode";case O:return"Suspense";case V:return"SuspenseList";case se:return"Activity"}if(typeof f=="object")switch(typeof f.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),f.$$typeof){case c:return"Portal";case C:return f.displayName||"Context";case I:return(f._context.displayName||"Context")+".Consumer";case y:var _=f.render;return f=f.displayName,f||(f=_.displayName||_.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case Q:return _=f.displayName||null,_!==null?_:e(f.type)||"Memo";case Z:_=f._payload,f=f._init;try{return e(f(_))}catch{}}return null}function t(f){return""+f}function r(f){try{t(f);var _=!1}catch{_=!0}if(_){_=console;var k=_.error,R=typeof Symbol=="function"&&Symbol.toStringTag&&f[Symbol.toStringTag]||f.constructor.name||"Object";return k.call(_,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",R),t(f)}}function n(f){if(f===S)return"<>";if(typeof f=="object"&&f!==null&&f.$$typeof===Z)return"<...>";try{var _=e(f);return _?"<"+_+">":"<...>"}catch{return"<...>"}}function o(){var f=s.A;return f===null?null:f.getOwner()}function i(){return Error("react-stack-top-frame")}function a(f){if($.call(f,"key")){var _=Object.getOwnPropertyDescriptor(f,"key").get;if(_&&_.isReactWarning)return!1}return f.key!==void 0}function l(f,_){function k(){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.isReactWarning=!0,Object.defineProperty(f,"key",{get:k,configurable:!0})}function d(){var f=e(this.type);return te[f]||(te[f]=!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.")),f=this.props.ref,f!==void 0?f:null}function p(f,_,k,R,W,B){var P=k.ref;return f={$$typeof:b,type:f,key:_,props:k,_owner:R},(P!==void 0?P:null)!==null?Object.defineProperty(f,"ref",{enumerable:!1,get:d}):Object.defineProperty(f,"ref",{enumerable:!1,value:null}),f._store={},Object.defineProperty(f._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(f,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(f,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:W}),Object.defineProperty(f,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:B}),Object.freeze&&(Object.freeze(f.props),Object.freeze(f)),f}function m(f,_,k,R,W,B){var P=_.children;if(P!==void 0)if(R)if(E(P)){for(R=0;R<P.length;R++)g(P[R]);Object.freeze&&Object.freeze(P)}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 g(P);if($.call(_,"key")){P=e(f);var F=Object.keys(_).filter(function(L){return L!=="key"});R=0<F.length?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}",T[P+R]||(F=0<F.length?"{"+F.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Ht;function cn(){return Ht||(Ht=1,process.env.NODE_ENV!=="production"&&function(){function e(f){if(f==null)return null;if(typeof f=="function")return f.$$typeof===K?null:f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case S:return"Fragment";case M:return"Profiler";case P:return"StrictMode";case w:return"Suspense";case W:return"SuspenseList";case ce:return"Activity"}if(typeof f=="object")switch(typeof f.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),f.$$typeof){case c:return"Portal";case _:return f.displayName||"Context";case I:return(f._context.displayName||"Context")+".Consumer";case h:var O=f.render;return f=f.displayName,f||(f=O.displayName||O.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case Q:return O=f.displayName||null,O!==null?O:e(f.type)||"Memo";case ee:O=f._payload,f=f._init;try{return e(f(O))}catch{}}return null}function t(f){return""+f}function r(f){try{t(f);var O=!1}catch{O=!0}if(O){O=console;var k=O.error,R=typeof Symbol=="function"&&Symbol.toStringTag&&f[Symbol.toStringTag]||f.constructor.name||"Object";return k.call(O,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",R),t(f)}}function n(f){if(f===S)return"<>";if(typeof f=="object"&&f!==null&&f.$$typeof===ee)return"<...>";try{var O=e(f);return O?"<"+O+">":"<...>"}catch{return"<...>"}}function o(){var f=s.A;return f===null?null:f.getOwner()}function i(){return Error("react-stack-top-frame")}function a(f){if($.call(f,"key")){var O=Object.getOwnPropertyDescriptor(f,"key").get;if(O&&O.isReactWarning)return!1}return f.key!==void 0}function l(f,O){function k(){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)",O))}k.isReactWarning=!0,Object.defineProperty(f,"key",{get:k,configurable:!0})}function d(){var f=e(this.type);return te[f]||(te[f]=!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.")),f=this.props.ref,f!==void 0?f:null}function p(f,O,k,R,V,B){var j=k.ref;return f={$$typeof:v,type:f,key:O,props:k,_owner:R},(j!==void 0?j:null)!==null?Object.defineProperty(f,"ref",{enumerable:!1,get:d}):Object.defineProperty(f,"ref",{enumerable:!1,value:null}),f._store={},Object.defineProperty(f._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(f,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(f,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:V}),Object.defineProperty(f,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:B}),Object.freeze&&(Object.freeze(f.props),Object.freeze(f)),f}function m(f,O,k,R,V,B){var j=O.children;if(j!==void 0)if(R)if(E(j)){for(R=0;R<j.length;R++)y(j[R]);Object.freeze&&Object.freeze(j)}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 y(j);if($.call(O,"key")){j=e(f);var F=Object.keys(O).filter(function(L){return L!=="key"});R=0<F.length?"{key: someKey, "+F.join(": ..., ")+": ...}":"{key: someKey}",T[j+R]||(F=0<F.length?"{"+F.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,R,P,F,P),T[P+R]=!0)}if(P=null,k!==void 0&&(r(k),P=""+k),a(_)&&(r(_.key),P=""+_.key),"key"in _){k={};for(var z in _)z!=="key"&&(k[z]=_[z])}else k=_;return P&&l(k,typeof f=="function"?f.displayName||f.name||"Unknown":f),p(f,P,k,o(),W,B)}function g(f){x(f)?f._store&&(f._store.validated=1):typeof f=="object"&&f!==null&&f.$$typeof===Z&&(f._payload.status==="fulfilled"?x(f._payload.value)&&f._payload.value._store&&(f._payload.value._store.validated=1):f._store&&(f._store.validated=1))}function x(f){return typeof f=="object"&&f!==null&&f.$$typeof===b}var u=ae,b=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),C=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),U=Symbol.for("react.client.reference"),s=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,E=Array.isArray,N=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(f){return f()}};var D,te={},ie=u.react_stack_bottom_frame.bind(u,i)(),he=N(n(i)),T={};Be.Fragment=S,Be.jsx=function(f,_,k){var R=1e4>s.recentlyCreatedOwnerStacks++;return m(f,_,k,!1,R?Error("react-stack-top-frame"):ie,R?N(n(f)):he)},Be.jsxs=function(f,_,k){var R=1e4>s.recentlyCreatedOwnerStacks++;return m(f,_,k,!0,R?Error("react-stack-top-frame"):ie,R?N(n(f)):he)}}()),Be}process.env.NODE_ENV==="production"?$t.exports=on():$t.exports=an();var v=$t.exports,Rt={exports:{}},Xe={exports:{}},G={};/** @license React v16.13.1
22
+ <%s key={someKey} {...props} />`,R,j,F,j),T[j+R]=!0)}if(j=null,k!==void 0&&(r(k),j=""+k),a(O)&&(r(O.key),j=""+O.key),"key"in O){k={};for(var z in O)z!=="key"&&(k[z]=O[z])}else k=O;return j&&l(k,typeof f=="function"?f.displayName||f.name||"Unknown":f),p(f,j,k,o(),V,B)}function y(f){x(f)?f._store&&(f._store.validated=1):typeof f=="object"&&f!==null&&f.$$typeof===ee&&(f._payload.status==="fulfilled"?x(f._payload.value)&&f._payload.value._store&&(f._payload.value._store.validated=1):f._store&&(f._store.validated=1))}function x(f){return typeof f=="object"&&f!==null&&f.$$typeof===v}var u=ie,v=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),_=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),ce=Symbol.for("react.activity"),K=Symbol.for("react.client.reference"),s=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,$=Object.prototype.hasOwnProperty,E=Array.isArray,N=console.createTask?console.createTask:function(){return null};u={react_stack_bottom_frame:function(f){return f()}};var D,te={},ae=u.react_stack_bottom_frame.bind(u,i)(),he=N(n(i)),T={};Fe.Fragment=S,Fe.jsx=function(f,O,k){var R=1e4>s.recentlyCreatedOwnerStacks++;return m(f,O,k,!1,R?Error("react-stack-top-frame"):ae,R?N(n(f)):he)},Fe.jsxs=function(f,O,k){var R=1e4>s.recentlyCreatedOwnerStacks++;return m(f,O,k,!0,R?Error("react-stack-top-frame"):ae,R?N(n(f)):he)}}()),Fe}process.env.NODE_ENV==="production"?$t.exports=ln():$t.exports=cn();var b=$t.exports,Rt={exports:{}},Ke={exports:{}},U={};/** @license React v16.13.1
23
23
  * react-is.production.min.js
24
24
  *
25
25
  * Copyright (c) Facebook, Inc. and its affiliates.
26
26
  *
27
27
  * This source code is licensed under the MIT license found in the
28
28
  * LICENSE file in the root directory of this source tree.
29
- */var Ht;function sn(){if(Ht)return G;Ht=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,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,u=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,j=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function I(y){if(typeof y=="object"&&y!==null){var O=y.$$typeof;switch(O){case t:switch(y=y.type,y){case d:case p:case n:case i:case o:case g:return y;default:switch(y=y&&y.$$typeof,y){case l:case m:case b:case u:case a:return y;default:return O}}case r:return O}}}function C(y){return I(y)===p}return G.AsyncMode=d,G.ConcurrentMode=p,G.ContextConsumer=l,G.ContextProvider=a,G.Element=t,G.ForwardRef=m,G.Fragment=n,G.Lazy=b,G.Memo=u,G.Portal=r,G.Profiler=i,G.StrictMode=o,G.Suspense=g,G.isAsyncMode=function(y){return C(y)||I(y)===d},G.isConcurrentMode=C,G.isContextConsumer=function(y){return I(y)===l},G.isContextProvider=function(y){return I(y)===a},G.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===t},G.isForwardRef=function(y){return I(y)===m},G.isFragment=function(y){return I(y)===n},G.isLazy=function(y){return I(y)===b},G.isMemo=function(y){return I(y)===u},G.isPortal=function(y){return I(y)===r},G.isProfiler=function(y){return I(y)===i},G.isStrictMode=function(y){return I(y)===o},G.isSuspense=function(y){return I(y)===g},G.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===p||y===i||y===o||y===g||y===x||typeof y=="object"&&y!==null&&(y.$$typeof===b||y.$$typeof===u||y.$$typeof===a||y.$$typeof===l||y.$$typeof===m||y.$$typeof===S||y.$$typeof===j||y.$$typeof===M||y.$$typeof===c)},G.typeOf=I,G}var q={};/** @license React v16.13.1
29
+ */var Kt;function un(){if(Kt)return U;Kt=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,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,u=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function I(h){if(typeof h=="object"&&h!==null){var w=h.$$typeof;switch(w){case t:switch(h=h.type,h){case d:case p:case n:case i:case o:case y:return h;default:switch(h=h&&h.$$typeof,h){case l:case m:case v:case u:case a:return h;default:return w}}case r:return w}}}function _(h){return I(h)===p}return U.AsyncMode=d,U.ConcurrentMode=p,U.ContextConsumer=l,U.ContextProvider=a,U.Element=t,U.ForwardRef=m,U.Fragment=n,U.Lazy=v,U.Memo=u,U.Portal=r,U.Profiler=i,U.StrictMode=o,U.Suspense=y,U.isAsyncMode=function(h){return _(h)||I(h)===d},U.isConcurrentMode=_,U.isContextConsumer=function(h){return I(h)===l},U.isContextProvider=function(h){return I(h)===a},U.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===t},U.isForwardRef=function(h){return I(h)===m},U.isFragment=function(h){return I(h)===n},U.isLazy=function(h){return I(h)===v},U.isMemo=function(h){return I(h)===u},U.isPortal=function(h){return I(h)===r},U.isProfiler=function(h){return I(h)===i},U.isStrictMode=function(h){return I(h)===o},U.isSuspense=function(h){return I(h)===y},U.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===p||h===i||h===o||h===y||h===x||typeof h=="object"&&h!==null&&(h.$$typeof===v||h.$$typeof===u||h.$$typeof===a||h.$$typeof===l||h.$$typeof===m||h.$$typeof===S||h.$$typeof===P||h.$$typeof===M||h.$$typeof===c)},U.typeOf=I,U}var G={};/** @license React v16.13.1
30
30
  * react-is.development.js
31
31
  *
32
32
  * Copyright (c) Facebook, Inc. and its affiliates.
33
33
  *
34
34
  * This source code is licensed under the MIT license found in the
35
35
  * LICENSE file in the root directory of this source tree.
36
- */var Kt;function ln(){return Kt||(Kt=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,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,u=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,j=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function I(A){return typeof A=="string"||typeof A=="function"||A===n||A===p||A===i||A===o||A===g||A===x||typeof A=="object"&&A!==null&&(A.$$typeof===b||A.$$typeof===u||A.$$typeof===a||A.$$typeof===l||A.$$typeof===m||A.$$typeof===S||A.$$typeof===j||A.$$typeof===M||A.$$typeof===c)}function C(A){if(typeof A=="object"&&A!==null){var pe=A.$$typeof;switch(pe){case t:var Ke=A.type;switch(Ke){case d:case p:case n:case i:case o:case g:return Ke;default:var Ut=Ke&&Ke.$$typeof;switch(Ut){case l:case m:case b:case u:case a:return Ut;default:return pe}}case r:return pe}}}var y=d,O=p,V=l,Q=a,Z=t,se=m,U=n,s=b,$=u,E=r,N=i,D=o,te=g,ie=!1;function he(A){return ie||(ie=!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.")),T(A)||C(A)===d}function T(A){return C(A)===p}function f(A){return C(A)===l}function _(A){return C(A)===a}function k(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function R(A){return C(A)===m}function W(A){return C(A)===n}function B(A){return C(A)===b}function P(A){return C(A)===u}function F(A){return C(A)===r}function z(A){return C(A)===i}function L(A){return C(A)===o}function le(A){return C(A)===g}q.AsyncMode=y,q.ConcurrentMode=O,q.ContextConsumer=V,q.ContextProvider=Q,q.Element=Z,q.ForwardRef=se,q.Fragment=U,q.Lazy=s,q.Memo=$,q.Portal=E,q.Profiler=N,q.StrictMode=D,q.Suspense=te,q.isAsyncMode=he,q.isConcurrentMode=T,q.isContextConsumer=f,q.isContextProvider=_,q.isElement=k,q.isForwardRef=R,q.isFragment=W,q.isLazy=B,q.isMemo=P,q.isPortal=F,q.isProfiler=z,q.isStrictMode=L,q.isSuspense=le,q.isValidElementType=I,q.typeOf=C}()),q}var Xt;function Rr(){return Xt||(Xt=1,process.env.NODE_ENV==="production"?Xe.exports=sn():Xe.exports=ln()),Xe.exports}/*
36
+ */var Xt;function fn(){return Xt||(Xt=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,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,x=e?Symbol.for("react.suspense_list"):60120,u=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,P=e?Symbol.for("react.responder"):60118,M=e?Symbol.for("react.scope"):60119;function I(A){return typeof A=="string"||typeof A=="function"||A===n||A===p||A===i||A===o||A===y||A===x||typeof A=="object"&&A!==null&&(A.$$typeof===v||A.$$typeof===u||A.$$typeof===a||A.$$typeof===l||A.$$typeof===m||A.$$typeof===S||A.$$typeof===P||A.$$typeof===M||A.$$typeof===c)}function _(A){if(typeof A=="object"&&A!==null){var pe=A.$$typeof;switch(pe){case t:var He=A.type;switch(He){case d:case p:case n:case i:case o:case y:return He;default:var Gt=He&&He.$$typeof;switch(Gt){case l:case m:case v:case u:case a:return Gt;default:return pe}}case r:return pe}}}var h=d,w=p,W=l,Q=a,ee=t,ce=m,K=n,s=v,$=u,E=r,N=i,D=o,te=y,ae=!1;function he(A){return ae||(ae=!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.")),T(A)||_(A)===d}function T(A){return _(A)===p}function f(A){return _(A)===l}function O(A){return _(A)===a}function k(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function R(A){return _(A)===m}function V(A){return _(A)===n}function B(A){return _(A)===v}function j(A){return _(A)===u}function F(A){return _(A)===r}function z(A){return _(A)===i}function L(A){return _(A)===o}function se(A){return _(A)===y}G.AsyncMode=h,G.ConcurrentMode=w,G.ContextConsumer=W,G.ContextProvider=Q,G.Element=ee,G.ForwardRef=ce,G.Fragment=K,G.Lazy=s,G.Memo=$,G.Portal=E,G.Profiler=N,G.StrictMode=D,G.Suspense=te,G.isAsyncMode=he,G.isConcurrentMode=T,G.isContextConsumer=f,G.isContextProvider=O,G.isElement=k,G.isForwardRef=R,G.isFragment=V,G.isLazy=B,G.isMemo=j,G.isPortal=F,G.isProfiler=z,G.isStrictMode=L,G.isSuspense=se,G.isValidElementType=I,G.typeOf=_}()),G}var Jt;function kr(){return Jt||(Jt=1,process.env.NODE_ENV==="production"?Ke.exports=un():Ke.exports=fn()),Ke.exports}/*
37
37
  object-assign
38
38
  (c) Sindre Sorhus
39
39
  @license MIT
40
- */var bt,Jt;function cn(){if(Jt)return bt;Jt=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={},l=0;l<10;l++)a["_"+String.fromCharCode(l)]=l;var d=Object.getOwnPropertyNames(a).map(function(m){return a[m]});if(d.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(m){p[m]=m}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return bt=o()?Object.assign:function(i,a){for(var l,d=n(i),p,m=1;m<arguments.length;m++){l=Object(arguments[m]);for(var g in l)t.call(l,g)&&(d[g]=l[g]);if(e){p=e(l);for(var x=0;x<p.length;x++)r.call(l,p[x])&&(d[p[x]]=l[p[x]])}}return d},bt}var vt,Qt;function Dt(){if(Qt)return vt;Qt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return vt=e,vt}var xt,Zt;function kr(){return Zt||(Zt=1,xt=Function.call.bind(Object.prototype.hasOwnProperty)),xt}var St,er;function un(){if(er)return St;er=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Dt(),r={},n=kr();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,l,d,p){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var g;try{if(typeof i[m]!="function"){var x=Error((d||"React class")+": "+l+" 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 x.name="Invariant Violation",x}g=i[m](a,m,d,l,null,t)}catch(b){g=b}if(g&&!(g instanceof Error)&&e((d||"React class")+": type specification of "+l+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in r)){r[g.message]=!0;var u=p?p():"";e("Failed "+l+" type: "+g.message+(u??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},St=o,St}var Tt,tr;function fn(){if(tr)return Tt;tr=1;var e=Rr(),t=cn(),r=Dt(),n=kr(),o=un(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var d="Warning: "+l;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function a(){return null}return Tt=function(l,d){var p=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function g(T){var f=T&&(p&&T[p]||T[m]);if(typeof f=="function")return f}var x="<<anonymous>>",u={array:j("array"),bigint:j("bigint"),bool:j("boolean"),func:j("function"),number:j("number"),object:j("object"),string:j("string"),symbol:j("symbol"),any:M(),arrayOf:I,element:C(),elementType:y(),instanceOf:O,node:se(),objectOf:Q,oneOf:V,oneOfType:Z,shape:s,exact:$};function b(T,f){return T===f?T!==0||1/T===1/f:T!==T&&f!==f}function c(T,f){this.message=T,this.data=f&&typeof f=="object"?f:{},this.stack=""}c.prototype=Error.prototype;function S(T){if(process.env.NODE_ENV!=="production")var f={},_=0;function k(W,B,P,F,z,L,le){if(F=F||x,L=L||P,le!==r){if(d){var A=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 A.name="Invariant Violation",A}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var pe=F+":"+P;!f[pe]&&_<3&&(i("You are manually calling a React.PropTypes validation function for the `"+L+"` prop on `"+F+"`. 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."),f[pe]=!0,_++)}}return B[P]==null?W?B[P]===null?new c("The "+z+" `"+L+"` is marked as required "+("in `"+F+"`, but its value is `null`.")):new c("The "+z+" `"+L+"` is marked as required in "+("`"+F+"`, but its value is `undefined`.")):null:T(B,P,F,z,L)}var R=k.bind(null,!1);return R.isRequired=k.bind(null,!0),R}function j(T){function f(_,k,R,W,B,P){var F=_[k],z=D(F);if(z!==T){var L=te(F);return new c("Invalid "+W+" `"+B+"` of type "+("`"+L+"` supplied to `"+R+"`, expected ")+("`"+T+"`."),{expectedType:T})}return null}return S(f)}function M(){return S(a)}function I(T){function f(_,k,R,W,B){if(typeof T!="function")return new c("Property `"+B+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var P=_[k];if(!Array.isArray(P)){var F=D(P);return new c("Invalid "+W+" `"+B+"` of type "+("`"+F+"` supplied to `"+R+"`, expected an array."))}for(var z=0;z<P.length;z++){var L=T(P,z,R,W,B+"["+z+"]",r);if(L instanceof Error)return L}return null}return S(f)}function C(){function T(f,_,k,R,W){var B=f[_];if(!l(B)){var P=D(B);return new c("Invalid "+R+" `"+W+"` of type "+("`"+P+"` supplied to `"+k+"`, expected a single ReactElement."))}return null}return S(T)}function y(){function T(f,_,k,R,W){var B=f[_];if(!e.isValidElementType(B)){var P=D(B);return new c("Invalid "+R+" `"+W+"` of type "+("`"+P+"` supplied to `"+k+"`, expected a single ReactElement type."))}return null}return S(T)}function O(T){function f(_,k,R,W,B){if(!(_[k]instanceof T)){var P=T.name||x,F=he(_[k]);return new c("Invalid "+W+" `"+B+"` of type "+("`"+F+"` supplied to `"+R+"`, expected ")+("instance of `"+P+"`."))}return null}return S(f)}function V(T){if(!Array.isArray(T))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 f(_,k,R,W,B){for(var P=_[k],F=0;F<T.length;F++)if(b(P,T[F]))return null;var z=JSON.stringify(T,function(le,A){var pe=te(A);return pe==="symbol"?String(A):A});return new c("Invalid "+W+" `"+B+"` of value `"+String(P)+"` "+("supplied to `"+R+"`, expected one of "+z+"."))}return S(f)}function Q(T){function f(_,k,R,W,B){if(typeof T!="function")return new c("Property `"+B+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var P=_[k],F=D(P);if(F!=="object")return new c("Invalid "+W+" `"+B+"` of type "+("`"+F+"` supplied to `"+R+"`, expected an object."));for(var z in P)if(n(P,z)){var L=T(P,z,R,W,B+"."+z,r);if(L instanceof Error)return L}return null}return S(f)}function Z(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var f=0;f<T.length;f++){var _=T[f];if(typeof _!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ie(_)+" at index "+f+"."),a}function k(R,W,B,P,F){for(var z=[],L=0;L<T.length;L++){var le=T[L],A=le(R,W,B,P,F,r);if(A==null)return null;A.data&&n(A.data,"expectedType")&&z.push(A.data.expectedType)}var pe=z.length>0?", expected one of type ["+z.join(", ")+"]":"";return new c("Invalid "+P+" `"+F+"` supplied to "+("`"+B+"`"+pe+"."))}return S(k)}function se(){function T(f,_,k,R,W){return E(f[_])?null:new c("Invalid "+R+" `"+W+"` supplied to "+("`"+k+"`, expected a ReactNode."))}return S(T)}function U(T,f,_,k,R){return new c((T||"React class")+": "+f+" type `"+_+"."+k+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function s(T){function f(_,k,R,W,B){var P=_[k],F=D(P);if(F!=="object")return new c("Invalid "+W+" `"+B+"` of type `"+F+"` "+("supplied to `"+R+"`, expected `object`."));for(var z in T){var L=T[z];if(typeof L!="function")return U(R,W,B,z,te(L));var le=L(P,z,R,W,B+"."+z,r);if(le)return le}return null}return S(f)}function $(T){function f(_,k,R,W,B){var P=_[k],F=D(P);if(F!=="object")return new c("Invalid "+W+" `"+B+"` of type `"+F+"` "+("supplied to `"+R+"`, expected `object`."));var z=t({},_[k],T);for(var L in z){var le=T[L];if(n(T,L)&&typeof le!="function")return U(R,W,B,L,te(le));if(!le)return new c("Invalid "+W+" `"+B+"` key `"+L+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(_[k],null," ")+`
41
- Valid keys: `+JSON.stringify(Object.keys(T),null," "));var A=le(P,L,R,W,B+"."+L,r);if(A)return A}return null}return S(f)}function E(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(E);if(T===null||l(T))return!0;var f=g(T);if(f){var _=f.call(T),k;if(f!==T.entries){for(;!(k=_.next()).done;)if(!E(k.value))return!1}else for(;!(k=_.next()).done;){var R=k.value;if(R&&!E(R[1]))return!1}}else return!1;return!0;default:return!1}}function N(T,f){return T==="symbol"?!0:f?f["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&f instanceof Symbol:!1}function D(T){var f=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":N(f,T)?"symbol":f}function te(T){if(typeof T>"u"||T===null)return""+T;var f=D(T);if(f==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return f}function ie(T){var f=te(T);switch(f){case"array":case"object":return"an "+f;case"boolean":case"date":case"regexp":return"a "+f;default:return f}}function he(T){return!T.constructor||!T.constructor.name?x:T.constructor.name}return u.checkPropTypes=o,u.resetWarningCache=o.resetWarningCache,u.PropTypes=u,u},Tt}var Et,rr;function dn(){if(rr)return Et;rr=1;var e=Dt();function t(){}function r(){}return r.resetWarningCache=t,Et=function(){function n(a,l,d,p,m,g){if(g!==e){var x=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 x.name="Invariant Violation",x}}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},Et}if(process.env.NODE_ENV!=="production"){var pn=Rr(),mn=!0;Rt.exports=fn()(pn.isElement,mn)}else Rt.exports=dn()();var hn=Rt.exports;const Y=nn(hn);function Pr(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=Pr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function jr(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Pr(e))&&(n&&(n+=" "),n+=t);return n}function gn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",l=!0;for(let d=0;d<i.length;d+=1){const p=i[d];p&&(a+=(l===!0?"":" ")+t(p),l=!1,r&&r[p]&&(a+=" "+r[p]))}n[o]=a}return n}function we(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 Ie(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":we(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pe(e,t){const r=Array.isArray(t),n=Array.isArray(e);return Sn(t)?t:Tn(e)?Ne(t):r&&n?vn(e,t):r!==n?Ne(t):En(e,t)}function yn(e){let t=0;const r=e.length,n=new Array(r);for(t=0;t<r;t+=1)n[t]=Ne(e[t]);return n}function bn(e){const t={};for(const r in e)r==="__proto__"||r==="constructor"||r==="prototype"||(t[r]=Ne(e[r]));return t}function vn(e,t){const r=e.length;for(let n=0;n<t.length;n+=1)e[r+n]=Ne(t[n]);return e}function xn(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function Sn(e){return typeof e!="object"||e===null}function Tn(e){return typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date}function Ne(e){return xn(e)?Array.isArray(e)?yn(e):bn(e):e}function En(e,t){for(const r in t)r==="__proto__"||r==="constructor"||r==="prototype"||(r in e?e[r]=Pe(e[r],t[r]):e[r]=Ne(t[r]));return e}const Se=process.env.NODE_ENV!=="production"?Y.oneOfType([Y.number,Y.string,Y.object,Y.array]):{};function Ir(e){if(e==null)return!0;for(const t in e)return!1;return!0}var kt={exports:{}},X={};/**
40
+ */var bt,Qt;function dn(){if(Qt)return bt;Qt=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={},l=0;l<10;l++)a["_"+String.fromCharCode(l)]=l;var d=Object.getOwnPropertyNames(a).map(function(m){return a[m]});if(d.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(m){p[m]=m}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return bt=o()?Object.assign:function(i,a){for(var l,d=n(i),p,m=1;m<arguments.length;m++){l=Object(arguments[m]);for(var y in l)t.call(l,y)&&(d[y]=l[y]);if(e){p=e(l);for(var x=0;x<p.length;x++)r.call(l,p[x])&&(d[p[x]]=l[p[x]])}}return d},bt}var vt,Zt;function Dt(){if(Zt)return vt;Zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return vt=e,vt}var xt,er;function Pr(){return er||(er=1,xt=Function.call.bind(Object.prototype.hasOwnProperty)),xt}var St,tr;function pn(){if(tr)return St;tr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Dt(),r={},n=Pr();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,l,d,p){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var y;try{if(typeof i[m]!="function"){var x=Error((d||"React class")+": "+l+" 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 x.name="Invariant Violation",x}y=i[m](a,m,d,l,null,t)}catch(v){y=v}if(y&&!(y instanceof Error)&&e((d||"React class")+": type specification of "+l+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof y+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),y instanceof Error&&!(y.message in r)){r[y.message]=!0;var u=p?p():"";e("Failed "+l+" type: "+y.message+(u??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},St=o,St}var Tt,rr;function mn(){if(rr)return Tt;rr=1;var e=kr(),t=dn(),r=Dt(),n=Pr(),o=pn(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var d="Warning: "+l;typeof console<"u"&&console.error(d);try{throw new Error(d)}catch{}});function a(){return null}return Tt=function(l,d){var p=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function y(T){var f=T&&(p&&T[p]||T[m]);if(typeof f=="function")return f}var x="<<anonymous>>",u={array:P("array"),bigint:P("bigint"),bool:P("boolean"),func:P("function"),number:P("number"),object:P("object"),string:P("string"),symbol:P("symbol"),any:M(),arrayOf:I,element:_(),elementType:h(),instanceOf:w,node:ce(),objectOf:Q,oneOf:W,oneOfType:ee,shape:s,exact:$};function v(T,f){return T===f?T!==0||1/T===1/f:T!==T&&f!==f}function c(T,f){this.message=T,this.data=f&&typeof f=="object"?f:{},this.stack=""}c.prototype=Error.prototype;function S(T){if(process.env.NODE_ENV!=="production")var f={},O=0;function k(V,B,j,F,z,L,se){if(F=F||x,L=L||j,se!==r){if(d){var A=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 A.name="Invariant Violation",A}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var pe=F+":"+j;!f[pe]&&O<3&&(i("You are manually calling a React.PropTypes validation function for the `"+L+"` prop on `"+F+"`. 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."),f[pe]=!0,O++)}}return B[j]==null?V?B[j]===null?new c("The "+z+" `"+L+"` is marked as required "+("in `"+F+"`, but its value is `null`.")):new c("The "+z+" `"+L+"` is marked as required in "+("`"+F+"`, but its value is `undefined`.")):null:T(B,j,F,z,L)}var R=k.bind(null,!1);return R.isRequired=k.bind(null,!0),R}function P(T){function f(O,k,R,V,B,j){var F=O[k],z=D(F);if(z!==T){var L=te(F);return new c("Invalid "+V+" `"+B+"` of type "+("`"+L+"` supplied to `"+R+"`, expected ")+("`"+T+"`."),{expectedType:T})}return null}return S(f)}function M(){return S(a)}function I(T){function f(O,k,R,V,B){if(typeof T!="function")return new c("Property `"+B+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var j=O[k];if(!Array.isArray(j)){var F=D(j);return new c("Invalid "+V+" `"+B+"` of type "+("`"+F+"` supplied to `"+R+"`, expected an array."))}for(var z=0;z<j.length;z++){var L=T(j,z,R,V,B+"["+z+"]",r);if(L instanceof Error)return L}return null}return S(f)}function _(){function T(f,O,k,R,V){var B=f[O];if(!l(B)){var j=D(B);return new c("Invalid "+R+" `"+V+"` of type "+("`"+j+"` supplied to `"+k+"`, expected a single ReactElement."))}return null}return S(T)}function h(){function T(f,O,k,R,V){var B=f[O];if(!e.isValidElementType(B)){var j=D(B);return new c("Invalid "+R+" `"+V+"` of type "+("`"+j+"` supplied to `"+k+"`, expected a single ReactElement type."))}return null}return S(T)}function w(T){function f(O,k,R,V,B){if(!(O[k]instanceof T)){var j=T.name||x,F=he(O[k]);return new c("Invalid "+V+" `"+B+"` of type "+("`"+F+"` supplied to `"+R+"`, expected ")+("instance of `"+j+"`."))}return null}return S(f)}function W(T){if(!Array.isArray(T))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 f(O,k,R,V,B){for(var j=O[k],F=0;F<T.length;F++)if(v(j,T[F]))return null;var z=JSON.stringify(T,function(se,A){var pe=te(A);return pe==="symbol"?String(A):A});return new c("Invalid "+V+" `"+B+"` of value `"+String(j)+"` "+("supplied to `"+R+"`, expected one of "+z+"."))}return S(f)}function Q(T){function f(O,k,R,V,B){if(typeof T!="function")return new c("Property `"+B+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var j=O[k],F=D(j);if(F!=="object")return new c("Invalid "+V+" `"+B+"` of type "+("`"+F+"` supplied to `"+R+"`, expected an object."));for(var z in j)if(n(j,z)){var L=T(j,z,R,V,B+"."+z,r);if(L instanceof Error)return L}return null}return S(f)}function ee(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var f=0;f<T.length;f++){var O=T[f];if(typeof O!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ae(O)+" at index "+f+"."),a}function k(R,V,B,j,F){for(var z=[],L=0;L<T.length;L++){var se=T[L],A=se(R,V,B,j,F,r);if(A==null)return null;A.data&&n(A.data,"expectedType")&&z.push(A.data.expectedType)}var pe=z.length>0?", expected one of type ["+z.join(", ")+"]":"";return new c("Invalid "+j+" `"+F+"` supplied to "+("`"+B+"`"+pe+"."))}return S(k)}function ce(){function T(f,O,k,R,V){return E(f[O])?null:new c("Invalid "+R+" `"+V+"` supplied to "+("`"+k+"`, expected a ReactNode."))}return S(T)}function K(T,f,O,k,R){return new c((T||"React class")+": "+f+" type `"+O+"."+k+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function s(T){function f(O,k,R,V,B){var j=O[k],F=D(j);if(F!=="object")return new c("Invalid "+V+" `"+B+"` of type `"+F+"` "+("supplied to `"+R+"`, expected `object`."));for(var z in T){var L=T[z];if(typeof L!="function")return K(R,V,B,z,te(L));var se=L(j,z,R,V,B+"."+z,r);if(se)return se}return null}return S(f)}function $(T){function f(O,k,R,V,B){var j=O[k],F=D(j);if(F!=="object")return new c("Invalid "+V+" `"+B+"` of type `"+F+"` "+("supplied to `"+R+"`, expected `object`."));var z=t({},O[k],T);for(var L in z){var se=T[L];if(n(T,L)&&typeof se!="function")return K(R,V,B,L,te(se));if(!se)return new c("Invalid "+V+" `"+B+"` key `"+L+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(O[k],null," ")+`
41
+ Valid keys: `+JSON.stringify(Object.keys(T),null," "));var A=se(j,L,R,V,B+"."+L,r);if(A)return A}return null}return S(f)}function E(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(E);if(T===null||l(T))return!0;var f=y(T);if(f){var O=f.call(T),k;if(f!==T.entries){for(;!(k=O.next()).done;)if(!E(k.value))return!1}else for(;!(k=O.next()).done;){var R=k.value;if(R&&!E(R[1]))return!1}}else return!1;return!0;default:return!1}}function N(T,f){return T==="symbol"?!0:f?f["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&f instanceof Symbol:!1}function D(T){var f=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":N(f,T)?"symbol":f}function te(T){if(typeof T>"u"||T===null)return""+T;var f=D(T);if(f==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return f}function ae(T){var f=te(T);switch(f){case"array":case"object":return"an "+f;case"boolean":case"date":case"regexp":return"a "+f;default:return f}}function he(T){return!T.constructor||!T.constructor.name?x:T.constructor.name}return u.checkPropTypes=o,u.resetWarningCache=o.resetWarningCache,u.PropTypes=u,u},Tt}var Et,nr;function hn(){if(nr)return Et;nr=1;var e=Dt();function t(){}function r(){}return r.resetWarningCache=t,Et=function(){function n(a,l,d,p,m,y){if(y!==e){var x=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 x.name="Invariant Violation",x}}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},Et}if(process.env.NODE_ENV!=="production"){var gn=kr(),yn=!0;Rt.exports=mn()(gn.isElement,yn)}else Rt.exports=hn()();var bn=Rt.exports;const Y=sn(bn);function jr(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=jr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ir(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=jr(e))&&(n&&(n+=" "),n+=t);return n}function vn(e,t,r=void 0){const n={};for(const o in e){const i=e[o];let a="",l=!0;for(let d=0;d<i.length;d+=1){const p=i[d];p&&(a+=(l===!0?"":" ")+t(p),l=!1,r&&r[p]&&(a+=" "+r[p]))}n[o]=a}return n}function we(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 Ie(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":we(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Pe(e,t){const r=Array.isArray(t),n=Array.isArray(e);return Cn(t)?t:wn(e)?Ne(t):r&&n?Tn(e,t):r!==n?Ne(t):_n(e,t)}function xn(e){let t=0;const r=e.length,n=new Array(r);for(t=0;t<r;t+=1)n[t]=Ne(e[t]);return n}function Sn(e){const t={};for(const r in e)r==="__proto__"||r==="constructor"||r==="prototype"||(t[r]=Ne(e[r]));return t}function Tn(e,t){const r=e.length;for(let n=0;n<t.length;n+=1)e[r+n]=Ne(t[n]);return e}function En(e){return typeof e=="object"&&e!==null&&!(e instanceof RegExp)&&!(e instanceof Date)}function Cn(e){return typeof e!="object"||e===null}function wn(e){return typeof e!="object"||e===null||e instanceof RegExp||e instanceof Date}function Ne(e){return En(e)?Array.isArray(e)?xn(e):Sn(e):e}function _n(e,t){for(const r in t)r==="__proto__"||r==="constructor"||r==="prototype"||(r in e?e[r]=Pe(e[r],t[r]):e[r]=Ne(t[r]));return e}const Se=process.env.NODE_ENV!=="production"?Y.oneOfType([Y.number,Y.string,Y.object,Y.array]):{};function Nr(e){if(e==null)return!0;for(const t in e)return!1;return!0}var kt={exports:{}},X={};/**
42
42
  * @license React
43
43
  * react-is.production.js
44
44
  *
@@ -46,7 +46,7 @@ Valid keys: `+JSON.stringify(Object.keys(T),null," "));var A=le(P,L,R,W,B+"."+L
46
46
  *
47
47
  * This source code is licensed under the MIT license found in the
48
48
  * LICENSE file in the root directory of this source tree.
49
- */var nr;function Cn(){if(nr)return X;nr=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"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),x=Symbol.for("react.view_transition"),u=Symbol.for("react.client.reference");function b(c){if(typeof c=="object"&&c!==null){var S=c.$$typeof;switch(S){case e:switch(c=c.type,c){case r:case o:case n:case d:case p:case x:return c;default:switch(c=c&&c.$$typeof,c){case a:case l:case g:case m:return c;case i:return c;default:return S}}case t:return S}}}return X.ContextConsumer=i,X.ContextProvider=a,X.Element=e,X.ForwardRef=l,X.Fragment=r,X.Lazy=g,X.Memo=m,X.Portal=t,X.Profiler=o,X.StrictMode=n,X.Suspense=d,X.SuspenseList=p,X.isContextConsumer=function(c){return b(c)===i},X.isContextProvider=function(c){return b(c)===a},X.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},X.isForwardRef=function(c){return b(c)===l},X.isFragment=function(c){return b(c)===r},X.isLazy=function(c){return b(c)===g},X.isMemo=function(c){return b(c)===m},X.isPortal=function(c){return b(c)===t},X.isProfiler=function(c){return b(c)===o},X.isStrictMode=function(c){return b(c)===n},X.isSuspense=function(c){return b(c)===d},X.isSuspenseList=function(c){return b(c)===p},X.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===d||c===p||typeof c=="object"&&c!==null&&(c.$$typeof===g||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===l||c.$$typeof===u||c.getModuleId!==void 0)},X.typeOf=b,X}var J={};/**
49
+ */var or;function On(){if(or)return X;or=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"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),x=Symbol.for("react.view_transition"),u=Symbol.for("react.client.reference");function v(c){if(typeof c=="object"&&c!==null){var S=c.$$typeof;switch(S){case e:switch(c=c.type,c){case r:case o:case n:case d:case p:case x:return c;default:switch(c=c&&c.$$typeof,c){case a:case l:case y:case m:return c;case i:return c;default:return S}}case t:return S}}}return X.ContextConsumer=i,X.ContextProvider=a,X.Element=e,X.ForwardRef=l,X.Fragment=r,X.Lazy=y,X.Memo=m,X.Portal=t,X.Profiler=o,X.StrictMode=n,X.Suspense=d,X.SuspenseList=p,X.isContextConsumer=function(c){return v(c)===i},X.isContextProvider=function(c){return v(c)===a},X.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},X.isForwardRef=function(c){return v(c)===l},X.isFragment=function(c){return v(c)===r},X.isLazy=function(c){return v(c)===y},X.isMemo=function(c){return v(c)===m},X.isPortal=function(c){return v(c)===t},X.isProfiler=function(c){return v(c)===o},X.isStrictMode=function(c){return v(c)===n},X.isSuspense=function(c){return v(c)===d},X.isSuspenseList=function(c){return v(c)===p},X.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===r||c===o||c===n||c===d||c===p||typeof c=="object"&&c!==null&&(c.$$typeof===y||c.$$typeof===m||c.$$typeof===a||c.$$typeof===i||c.$$typeof===l||c.$$typeof===u||c.getModuleId!==void 0)},X.typeOf=v,X}var J={};/**
50
50
  * @license React
51
51
  * react-is.development.js
52
52
  *
@@ -54,22 +54,22 @@ Valid keys: `+JSON.stringify(Object.keys(T),null," "));var A=le(P,L,R,W,B+"."+L
54
54
  *
55
55
  * This source code is licensed under the MIT license found in the
56
56
  * LICENSE file in the root directory of this source tree.
57
- */var or;function wn(){return or||(or=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var S=c.$$typeof;switch(S){case t:switch(c=c.type,c){case n:case i:case o:case p:case m:case u:return c;default:switch(c=c&&c.$$typeof,c){case l:case d:case x:case g:return c;case a:return c;default:return S}}case r:return S}}}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"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),u=Symbol.for("react.view_transition"),b=Symbol.for("react.client.reference");J.ContextConsumer=a,J.ContextProvider=l,J.Element=t,J.ForwardRef=d,J.Fragment=n,J.Lazy=x,J.Memo=g,J.Portal=r,J.Profiler=i,J.StrictMode=o,J.Suspense=p,J.SuspenseList=m,J.isContextConsumer=function(c){return e(c)===a},J.isContextProvider=function(c){return e(c)===l},J.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},J.isForwardRef=function(c){return e(c)===d},J.isFragment=function(c){return e(c)===n},J.isLazy=function(c){return e(c)===x},J.isMemo=function(c){return e(c)===g},J.isPortal=function(c){return e(c)===r},J.isProfiler=function(c){return e(c)===i},J.isStrictMode=function(c){return e(c)===o},J.isSuspense=function(c){return e(c)===p},J.isSuspenseList=function(c){return e(c)===m},J.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===p||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===x||c.$$typeof===g||c.$$typeof===l||c.$$typeof===a||c.$$typeof===d||c.$$typeof===b||c.getModuleId!==void 0)},J.typeOf=e}()),J}process.env.NODE_ENV==="production"?kt.exports=Cn():kt.exports=wn();var Ze=kt.exports;function ye(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 Nr(e){if(ve.isValidElement(e)||Ze.isValidElementType(e)||!ye(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Nr(e[r])}),t}function fe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ye(e)&&ye(t)&&Object.keys(t).forEach(o=>{ve.isValidElement(t[o])||Ze.isValidElementType(t[o])?n[o]=t[o]:ye(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ye(e[o])?n[o]=fe(e[o],t[o],r):r.clone?n[o]=ye(t[o])?Nr(t[o]):t[o]:n[o]=t[o]}),n}const ir=/min-width:\s*([0-9.]+)/;function ar(e,t){if(!e.containerQueries||!_n(t))return t;const r=[];for(const o in t)o.startsWith("@container")&&r.push(o);r.sort((o,i)=>{var a,l;return+(((a=o.match(ir))==null?void 0:a[1])||0)-+(((l=i.match(ir))==null?void 0:l[1])||0)});const n=t;for(let o=0;o<r.length;o+=1){const i=r[o],a=n[i];delete n[i],n[i]=a}return n}function _n(e){for(const t in e)if(t.startsWith("@container"))return!0;return!1}function Mr(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function On(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 An(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...l)=>t(e.breakpoints.up(...l),a),i.down=(...l)=>t(e.breakpoints.down(...l),a),i.between=(...l)=>t(e.breakpoints.between(...l),a),i.only=(...l)=>t(e.breakpoints.only(...l),a),i.not=(...l)=>{const d=t(e.breakpoints.not(...l),a);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const $n=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 Dr(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=$n(t),a=Object.keys(i);function l(u){return`@media (min-width:${typeof t[u]=="number"?t[u]:u}${r})`}function d(u){return`@media (max-width:${(typeof t[u]=="number"?t[u]:u)-n/100}${r})`}function p(u,b){const c=a.indexOf(b);return`@media (min-width:${typeof t[u]=="number"?t[u]:u}${r}) and (max-width:${(c!==-1&&typeof t[a[c]]=="number"?t[a[c]]:b)-n/100}${r})`}function m(u){return a.indexOf(u)+1<a.length?p(u,a[a.indexOf(u)+1]):l(u)}function g(u){const b=a.indexOf(u);return b===0?l(a[1]):b===a.length-1?d(a[b]):p(u,a[a.indexOf(u)+1]).replace("@media","@media not all and")}const x=[];for(let u=0;u<a.length;u+=1)x.push(l(a[u]));return{keys:a,values:i,up:l,down:d,between:p,only:m,not:g,unit:r,internal_mediaKeys:x,...o}}const Rn={},ot={xs:0,sm:600,md:900,lg:1200,xl:1536},et=Dr({values:ot}),kn={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:ot[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Me(e,t,r){const n={};return it(n,e.theme,t,(o,i,a)=>{const l=r(i,a);o?n[o]=l:Pe(n,l)})}function it(e,t,r,n){if(t??(t=Rn),Array.isArray(r)){const o=t.breakpoints??et;for(let i=0;i<r.length;i+=1)Ct(e,o.up(o.keys[i]),r[i],void 0,n);return e}if(typeof r=="object"){const o=t.breakpoints??et,i=o.values??ot;for(const a in r)if(Mr(o.keys,a)){const l=On(t.containerQueries?t:kn,a);l&&Ct(e,l,r[a],a,n)}else if(a in i){const l=o.up(a);Ct(e,l,r[a],a,n)}else{const l=a;e[l]=r[l]}return e}return n(void 0,r),e}function Ct(e,t,r,n,o){e[t]??(e[t]={}),o(t,r,n)}function Pn(e=et){const{internal_mediaKeys:t}=e,r={};for(let n=0;n<t.length;n+=1)r[t[n]]={};return r}function sr(e,t){const r=e.internal_mediaKeys;for(let n=0;n<r.length;n+=1){const o=r[n];Ir(t[o])&&delete t[o]}return t}function jn(e,t){if(Array.isArray(t))return!0;if(typeof t=="object"&&t!==null){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;const r=Object.keys(t);for(let n=0;n<r.length;n+=1)if(Mr(e.keys,r[n]))return!0}return!1}function Br(e,t,r,n){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||r:typeof r=="string"?o=at(e,r,!0,n)||r:o=r,t&&(o=t(o,r,e)),o}function at(e,t,r=!0,n=void 0){if(!e||!t)return null;const o=t.split(".");if(e.vars&&r){const i=lr(e.vars,o,n);if(i!=null)return i}return lr(e,o,n)}function lr(e,t,r=void 0){let n,o=e,i=0;for(;i<t.length;){if(o==null)return o;n=o,o=o[t[i]],i+=1}if(r&&o===void 0){const a=t[t.length-1],l=`${r}${a==="default"?"":Ie(a)}`;return n==null?void 0:n[l]}return o}function re(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],d=a.theme,p=at(d,n)||{};return Me(a,l,g=>{const x=Br(p,o,g,t);return r===!1?x:{[r]:x}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Se}:{},i.filterProps=[t],i}const In={internal_cache:{}},tt={m:"margin",p:"padding"},cr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ur={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Le={};for(const e in tt)Le[e]=[tt[e]];for(const e in tt)for(const t in cr){const r=tt[e],n=cr[t],o=Array.isArray(n)?n.map(i=>r+i):[r+n];Le[e+t]=o}for(const e in ur)Le[e]=Le[ur[e]];const st=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),lt=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),Nn=new Set([...st,...lt]);function Ge(e,t,r,n){const o=at(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(`
57
+ */var ir;function An(){return ir||(ir=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(typeof c=="object"&&c!==null){var S=c.$$typeof;switch(S){case t:switch(c=c.type,c){case n:case i:case o:case p:case m:case u:return c;default:switch(c=c&&c.$$typeof,c){case l:case d:case x:case y:return c;case a:return c;default:return S}}case r:return S}}}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"),l=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),y=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),u=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");J.ContextConsumer=a,J.ContextProvider=l,J.Element=t,J.ForwardRef=d,J.Fragment=n,J.Lazy=x,J.Memo=y,J.Portal=r,J.Profiler=i,J.StrictMode=o,J.Suspense=p,J.SuspenseList=m,J.isContextConsumer=function(c){return e(c)===a},J.isContextProvider=function(c){return e(c)===l},J.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===t},J.isForwardRef=function(c){return e(c)===d},J.isFragment=function(c){return e(c)===n},J.isLazy=function(c){return e(c)===x},J.isMemo=function(c){return e(c)===y},J.isPortal=function(c){return e(c)===r},J.isProfiler=function(c){return e(c)===i},J.isStrictMode=function(c){return e(c)===o},J.isSuspense=function(c){return e(c)===p},J.isSuspenseList=function(c){return e(c)===m},J.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===i||c===o||c===p||c===m||typeof c=="object"&&c!==null&&(c.$$typeof===x||c.$$typeof===y||c.$$typeof===l||c.$$typeof===a||c.$$typeof===d||c.$$typeof===v||c.getModuleId!==void 0)},J.typeOf=e}()),J}process.env.NODE_ENV==="production"?kt.exports=On():kt.exports=An();var Qe=kt.exports;function ye(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 Mr(e){if(ve.isValidElement(e)||Qe.isValidElementType(e)||!ye(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Mr(e[r])}),t}function fe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return ye(e)&&ye(t)&&Object.keys(t).forEach(o=>{ve.isValidElement(t[o])||Qe.isValidElementType(t[o])?n[o]=t[o]:ye(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&ye(e[o])?n[o]=fe(e[o],t[o],r):r.clone?n[o]=ye(t[o])?Mr(t[o]):t[o]:n[o]=t[o]}),n}const ar=/min-width:\s*([0-9.]+)/;function sr(e,t){if(!e.containerQueries||!$n(t))return t;const r=[];for(const o in t)o.startsWith("@container")&&r.push(o);r.sort((o,i)=>{var a,l;return+(((a=o.match(ar))==null?void 0:a[1])||0)-+(((l=i.match(ar))==null?void 0:l[1])||0)});const n=t;for(let o=0;o<r.length;o+=1){const i=r[o],a=n[i];delete n[i],n[i]=a}return n}function $n(e){for(const t in e)if(t.startsWith("@container"))return!0;return!1}function Dr(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Rn(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 kn(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(i,a){i.up=(...l)=>t(e.breakpoints.up(...l),a),i.down=(...l)=>t(e.breakpoints.down(...l),a),i.between=(...l)=>t(e.breakpoints.between(...l),a),i.only=(...l)=>t(e.breakpoints.only(...l),a),i.not=(...l)=>{const d=t(e.breakpoints.not(...l),a);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Pn=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 Br(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Pn(t),a=Object.keys(i);function l(u){return`@media (min-width:${typeof t[u]=="number"?t[u]:u}${r})`}function d(u){return`@media (max-width:${(typeof t[u]=="number"?t[u]:u)-n/100}${r})`}function p(u,v){const c=a.indexOf(v);return`@media (min-width:${typeof t[u]=="number"?t[u]:u}${r}) and (max-width:${(c!==-1&&typeof t[a[c]]=="number"?t[a[c]]:v)-n/100}${r})`}function m(u){return a.indexOf(u)+1<a.length?p(u,a[a.indexOf(u)+1]):l(u)}function y(u){const v=a.indexOf(u);return v===0?l(a[1]):v===a.length-1?d(a[v]):p(u,a[a.indexOf(u)+1]).replace("@media","@media not all and")}const x=[];for(let u=0;u<a.length;u+=1)x.push(l(a[u]));return{keys:a,values:i,up:l,down:d,between:p,only:m,not:y,unit:r,internal_mediaKeys:x,...o}}const jn={},nt={xs:0,sm:600,md:900,lg:1200,xl:1536},Ze=Br({values:nt}),In={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:nt[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Me(e,t,r){const n={};return ot(n,e.theme,t,(o,i,a)=>{const l=r(i,a);o?n[o]=l:Pe(n,l)})}function ot(e,t,r,n){if(t??(t=jn),Array.isArray(r)){const o=t.breakpoints??Ze;for(let i=0;i<r.length;i+=1)Ct(e,o.up(o.keys[i]),r[i],void 0,n);return e}if(typeof r=="object"){const o=t.breakpoints??Ze,i=o.values??nt;for(const a in r)if(Dr(o.keys,a)){const l=Rn(t.containerQueries?t:In,a);l&&Ct(e,l,r[a],a,n)}else if(a in i){const l=o.up(a);Ct(e,l,r[a],a,n)}else{const l=a;e[l]=r[l]}return e}return n(void 0,r),e}function Ct(e,t,r,n,o){e[t]??(e[t]={}),o(t,r,n)}function Nn(e=Ze){const{internal_mediaKeys:t}=e,r={};for(let n=0;n<t.length;n+=1)r[t[n]]={};return r}function lr(e,t){const r=e.internal_mediaKeys;for(let n=0;n<r.length;n+=1){const o=r[n];Nr(t[o])&&delete t[o]}return t}function Mn(e,t){if(Array.isArray(t))return!0;if(typeof t=="object"&&t!==null){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;const r=Object.keys(t);for(let n=0;n<r.length;n+=1)if(Dr(e.keys,r[n]))return!0}return!1}function Fr(e,t,r,n){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||r:typeof r=="string"?o=it(e,r,!0,n)||r:o=r,t&&(o=t(o,r,e)),o}function it(e,t,r=!0,n=void 0){if(!e||!t)return null;const o=t.split(".");if(e.vars&&r){const i=cr(e.vars,o,n);if(i!=null)return i}return cr(e,o,n)}function cr(e,t,r=void 0){let n,o=e,i=0;for(;i<t.length;){if(o==null)return o;n=o,o=o[t[i]],i+=1}if(r&&o===void 0){const a=t[t.length-1],l=`${r}${a==="default"?"":Ie(a)}`;return n==null?void 0:n[l]}return o}function re(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],d=a.theme,p=it(d,n)||{};return Me(a,l,y=>{const x=Fr(p,o,y,t);return r===!1?x:{[r]:x}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Se}:{},i.filterProps=[t],i}const Dn={internal_cache:{}},et={m:"margin",p:"padding"},ur={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},fr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ze={};for(const e in et)ze[e]=[et[e]];for(const e in et)for(const t in ur){const r=et[e],n=ur[t],o=Array.isArray(n)?n.map(i=>r+i):[r+n];ze[e+t]=o}for(const e in fr)ze[e]=ze[fr[e]];const at=new Set(["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"]),st=new Set(["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"]),Bn=new Set([...at,...st]);function Ge(e,t,r,n){const o=it(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
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
60
  `)));const l=o[a];return i>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}: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 Bt(e){return Ge(e,"spacing",8,"spacing")}function qe(e,t){return typeof t=="string"||t==null?t:e(t)}const fr=[""];function Fr(e,t){var i;const r=e.theme??In,n=((i=r==null?void 0:r.internal_cache)==null?void 0:i.unarySpacing)??Bt(r),o={};for(const a in e){if(!t.has(a))continue;const l=Le[a]??(fr[0]=a,fr),d=e[a];it(o,e.theme,d,(p,m)=>{const g=p?o[p]:o;for(let x=0;x<l.length;x+=1)g[l[x]]=qe(n,m)})}return o}function Ft(e){return Fr(e,st)}Ft.propTypes=process.env.NODE_ENV!=="production"?Array.from(st).reduce((e,t)=>(e[t]=Se,e),{}):{};Ft.filterProps=st;const ne=Ft;function Vt(e){return Fr(e,lt)}Vt.propTypes=process.env.NODE_ENV!=="production"?Array.from(lt).reduce((e,t)=>(e[t]=Se,e),{}):{};Vt.filterProps=lt;const oe=Vt;process.env.NODE_ENV!=="production"&&Array.from(Nn).reduce((e,t)=>(e[t]=Se,e),{});function ct(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>{const o={};for(const i in n)t[i]&&Pe(o,t[i](n));return 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 ue(e){return typeof e!="number"?e:`${e}px solid`}function de(e,t){return re({prop:e,themeKey:"borders",transform:t})}const Mn=de("border",ue),Dn=de("borderTop",ue),Bn=de("borderRight",ue),Fn=de("borderBottom",ue),Vn=de("borderLeft",ue),Wn=de("borderColor"),Ln=de("borderTopColor"),zn=de("borderRightColor"),Yn=de("borderBottomColor"),Un=de("borderLeftColor"),Gn=de("outline",ue),qn=de("outlineColor"),ut=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ge(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:qe(t,n)});return Me(e,e.borderRadius,r)}return null};ut.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Se}:{};ut.filterProps=["borderRadius"];ct(Mn,Dn,Bn,Fn,Vn,Wn,Ln,zn,Yn,Un,ut,Gn,qn);const ft=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ge(e.theme,"spacing",8,"gap"),r=n=>({gap:qe(t,n)});return Me(e,e.gap,r)}return null};ft.propTypes=process.env.NODE_ENV!=="production"?{gap:Se}:{};ft.filterProps=["gap"];const dt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ge(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:qe(t,n)});return Me(e,e.columnGap,r)}return null};dt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Se}:{};dt.filterProps=["columnGap"];const pt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ge(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:qe(t,n)});return Me(e,e.rowGap,r)}return null};pt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Se}:{};pt.filterProps=["rowGap"];const Hn=re({prop:"gridColumn"}),Kn=re({prop:"gridRow"}),Xn=re({prop:"gridAutoFlow"}),Jn=re({prop:"gridAutoColumns"}),Qn=re({prop:"gridAutoRows"}),Zn=re({prop:"gridTemplateColumns"}),eo=re({prop:"gridTemplateRows"}),to=re({prop:"gridTemplateAreas"}),ro=re({prop:"gridArea"});ct(ft,dt,pt,Hn,Kn,Xn,Jn,Qn,Zn,eo,to,ro);function je(e,t){return t==="grey"?t:e}const no=re({prop:"color",themeKey:"palette",transform:je}),oo=re({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:je}),io=re({prop:"backgroundColor",themeKey:"palette",transform:je});ct(no,oo,io);const ao=ot;function ce(e){return e<=1&&e!==0?`${e*100}%`:e}const so=re({prop:"width",transform:ce}),Wt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,l,d;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||ao[r];return n?((d=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ce(r)}};return Me(e,e.maxWidth,t)}return null};Wt.filterProps=["maxWidth"];const lo=re({prop:"minWidth",transform:ce}),co=re({prop:"height",transform:ce}),uo=re({prop:"maxHeight",transform:ce}),fo=re({prop:"minHeight",transform:ce});re({prop:"size",cssProperty:"width",transform:ce});re({prop:"size",cssProperty:"height",transform:ce});const po=re({prop:"boxSizing"});ct(so,Wt,lo,co,uo,fo,po);const mt={border:{themeKey:"borders",transform:ue},borderTop:{themeKey:"borders",transform:ue},borderRight:{themeKey:"borders",transform:ue},borderBottom:{themeKey:"borders",transform:ue},borderLeft:{themeKey:"borders",transform:ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ue},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ut},color:{themeKey:"palette",transform:je},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:je},backgroundColor:{themeKey:"palette",transform:je},p:{style:oe},pt:{style:oe},pr:{style:oe},pb:{style:oe},pl:{style:oe},px:{style:oe},py:{style:oe},padding:{style:oe},paddingTop:{style:oe},paddingRight:{style:oe},paddingBottom:{style:oe},paddingLeft:{style:oe},paddingX:{style:oe},paddingY:{style:oe},paddingInline:{style:oe},paddingInlineStart:{style:oe},paddingInlineEnd:{style:oe},paddingBlock:{style:oe},paddingBlockStart:{style:oe},paddingBlockEnd:{style:oe},m:{style:ne},mt:{style:ne},mr:{style:ne},mb:{style:ne},ml:{style:ne},mx:{style:ne},my:{style:ne},margin:{style:ne},marginTop:{style:ne},marginRight:{style:ne},marginBottom:{style:ne},marginLeft:{style:ne},marginX:{style:ne},marginY:{style:ne},marginInline:{style:ne},marginInlineStart:{style:ne},marginInlineEnd:{style:ne},marginBlock:{style:ne},marginBlockStart:{style:ne},marginBlockEnd:{style:ne},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ft},rowGap:{style:pt},columnGap:{style:dt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ce},maxWidth:{style:Wt},minWidth:{transform:ce},height:{transform:ce},maxHeight:{transform:ce},minHeight:{transform:ce},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"}},mo={};function ho(){function e(t){if(!t.sx)return null;const{sx:r,theme:n=mo,nested:o}=t,i=n.unstable_sxConfig??mt,a={sx:null,theme:n,nested:!0};function l(d){let p=d;if(typeof d=="function")p=d(n);else if(typeof d!="object")return d;if(!p)return null;const m=n.breakpoints??et,g=Pn(m);for(const x in p){const u=go(p[x],n);if(u!=null){if(typeof u!="object"){dr(g,x,u,n,i);continue}if(i[x]){dr(g,x,u,n,i);continue}jn(m,u)?it(g,t.theme,u,(b,c)=>{g[b][x]=c}):(a.sx=u,g[x]=e(a))}}return!o&&n.modularCssLayers?{"@layer sx":ar(n,sr(m,g))}:ar(n,sr(m,g))}return Array.isArray(r)?r.map(l):l(r)}return e.filterProps=["sx"],e}const ze=ho();function dr(e,t,r,n,o){const i=o[t];if(!i){e[t]=r;return}if(r==null)return;const{themeKey:a}=i;if(a==="typography"&&r==="inherit"){e[t]=r;return}const{style:l}=i;if(l){Pe(e,l({[t]:r,theme:n}));return}const{cssProperty:d=t,transform:p}=i,m=at(n,a);it(e,n,r,(g,x)=>{const u=Br(m,p,x,t);d===!1?Pe(g?e[g]:e,u):g?e[g][d]=u:e[d]=u})}function go(e,t){return typeof e=="function"?e(t):e}function yo(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 bo={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};function vo(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var xo=/[A-Z]|^ms/g,So=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Vr=function(t){return t.charCodeAt(1)===45},pr=function(t){return t!=null&&typeof t!="boolean"},wt=vo(function(e){return Vr(e)?e:e.replace(xo,"-$&").toLowerCase()}),mr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(So,function(n,o,i){return be={name:o,styles:i,next:be},o})}return bo[t]!==1&&!Vr(t)&&typeof r=="number"&&r!==0?r+"px":r};function rt(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 be={name:o.name,styles:o.styles,next:be},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)be={name:a.name,styles:a.styles,next:be},a=a.next;var l=i.styles+";";return l}return To(e,t,r)}}var d=r;return d}function To(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=rt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var l=a;pr(l)&&(n+=wt(i)+":"+mr(i,l)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var d=0;d<a.length;d++)pr(a[d])&&(n+=wt(i)+":"+mr(i,a[d])+";");else{var p=rt(e,t,a);switch(i){case"animation":case"animationName":{n+=wt(i)+":"+p+";";break}default:n+=i+"{"+p+"}"}}}return n}var hr=/label:\s*([^\s;{]+)\s*(;|$)/g,be;function Eo(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="";be=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=rt(r,t,i);else{var a=i;o+=a[0]}for(var l=1;l<e.length;l++)if(o+=rt(r,t,e[l]),n){var d=i;o+=d[l]}hr.lastIndex=0;for(var p="",m;(m=hr.exec(o))!==null;)p+="-"+m[1];var g=yo(o)+p;return{name:g,styles:o,next:be}}/**
61
+ `)),()=>{})}function Bt(e){return Ge(e,"spacing",8,"spacing")}function qe(e,t){return typeof t=="string"||t==null?t:e(t)}const dr=[""];function Vr(e,t){var i;const r=e.theme??Dn,n=((i=r==null?void 0:r.internal_cache)==null?void 0:i.unarySpacing)??Bt(r),o={};for(const a in e){if(!t.has(a))continue;const l=ze[a]??(dr[0]=a,dr),d=e[a];ot(o,e.theme,d,(p,m)=>{const y=p?o[p]:o;for(let x=0;x<l.length;x+=1)y[l[x]]=qe(n,m)})}return o}function Ft(e){return Vr(e,at)}Ft.propTypes=process.env.NODE_ENV!=="production"?Array.from(at).reduce((e,t)=>(e[t]=Se,e),{}):{};Ft.filterProps=at;const ne=Ft;function Vt(e){return Vr(e,st)}Vt.propTypes=process.env.NODE_ENV!=="production"?Array.from(st).reduce((e,t)=>(e[t]=Se,e),{}):{};Vt.filterProps=st;const oe=Vt;process.env.NODE_ENV!=="production"&&Array.from(Bn).reduce((e,t)=>(e[t]=Se,e),{});function lt(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>{const o={};for(const i in n)t[i]&&Pe(o,t[i](n));return 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 ue(e){return typeof e!="number"?e:`${e}px solid`}function de(e,t){return re({prop:e,themeKey:"borders",transform:t})}const Fn=de("border",ue),Vn=de("borderTop",ue),Wn=de("borderRight",ue),Ln=de("borderBottom",ue),zn=de("borderLeft",ue),Yn=de("borderColor"),Un=de("borderTopColor"),Gn=de("borderRightColor"),qn=de("borderBottomColor"),Hn=de("borderLeftColor"),Kn=de("outline",ue),Xn=de("outlineColor"),ct=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ge(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:qe(t,n)});return Me(e,e.borderRadius,r)}return null};ct.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Se}:{};ct.filterProps=["borderRadius"];lt(Fn,Vn,Wn,Ln,zn,Yn,Un,Gn,qn,Hn,ct,Kn,Xn);const ut=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ge(e.theme,"spacing",8,"gap"),r=n=>({gap:qe(t,n)});return Me(e,e.gap,r)}return null};ut.propTypes=process.env.NODE_ENV!=="production"?{gap:Se}:{};ut.filterProps=["gap"];const ft=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ge(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:qe(t,n)});return Me(e,e.columnGap,r)}return null};ft.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Se}:{};ft.filterProps=["columnGap"];const dt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ge(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:qe(t,n)});return Me(e,e.rowGap,r)}return null};dt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Se}:{};dt.filterProps=["rowGap"];const Jn=re({prop:"gridColumn"}),Qn=re({prop:"gridRow"}),Zn=re({prop:"gridAutoFlow"}),eo=re({prop:"gridAutoColumns"}),to=re({prop:"gridAutoRows"}),ro=re({prop:"gridTemplateColumns"}),no=re({prop:"gridTemplateRows"}),oo=re({prop:"gridTemplateAreas"}),io=re({prop:"gridArea"});lt(ut,ft,dt,Jn,Qn,Zn,eo,to,ro,no,oo,io);function je(e,t){return t==="grey"?t:e}const ao=re({prop:"color",themeKey:"palette",transform:je}),so=re({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:je}),lo=re({prop:"backgroundColor",themeKey:"palette",transform:je});lt(ao,so,lo);const co=nt;function le(e){return e<=1&&e!==0?`${e*100}%`:e}const uo=re({prop:"width",transform:le}),Wt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var o,i,a,l,d;const n=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[r])||co[r];return n?((d=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:d.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:le(r)}};return Me(e,e.maxWidth,t)}return null};Wt.filterProps=["maxWidth"];const fo=re({prop:"minWidth",transform:le}),po=re({prop:"height",transform:le}),mo=re({prop:"maxHeight",transform:le}),ho=re({prop:"minHeight",transform:le});re({prop:"size",cssProperty:"width",transform:le});re({prop:"size",cssProperty:"height",transform:le});const go=re({prop:"boxSizing"});lt(uo,Wt,fo,po,mo,ho,go);const pt={border:{themeKey:"borders",transform:ue},borderTop:{themeKey:"borders",transform:ue},borderRight:{themeKey:"borders",transform:ue},borderBottom:{themeKey:"borders",transform:ue},borderLeft:{themeKey:"borders",transform:ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ue},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ct},color:{themeKey:"palette",transform:je},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:je},backgroundColor:{themeKey:"palette",transform:je},p:{style:oe},pt:{style:oe},pr:{style:oe},pb:{style:oe},pl:{style:oe},px:{style:oe},py:{style:oe},padding:{style:oe},paddingTop:{style:oe},paddingRight:{style:oe},paddingBottom:{style:oe},paddingLeft:{style:oe},paddingX:{style:oe},paddingY:{style:oe},paddingInline:{style:oe},paddingInlineStart:{style:oe},paddingInlineEnd:{style:oe},paddingBlock:{style:oe},paddingBlockStart:{style:oe},paddingBlockEnd:{style:oe},m:{style:ne},mt:{style:ne},mr:{style:ne},mb:{style:ne},ml:{style:ne},mx:{style:ne},my:{style:ne},margin:{style:ne},marginTop:{style:ne},marginRight:{style:ne},marginBottom:{style:ne},marginLeft:{style:ne},marginX:{style:ne},marginY:{style:ne},marginInline:{style:ne},marginInlineStart:{style:ne},marginInlineEnd:{style:ne},marginBlock:{style:ne},marginBlockStart:{style:ne},marginBlockEnd:{style:ne},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:ut},rowGap:{style:dt},columnGap:{style:ft},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:le},maxWidth:{style:Wt},minWidth:{transform:le},height:{transform:le},maxHeight:{transform:le},minHeight:{transform:le},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"}},yo={};function bo(){function e(t){if(!t.sx)return null;const{sx:r,theme:n=yo,nested:o}=t,i=n.unstable_sxConfig??pt,a={sx:null,theme:n,nested:!0};function l(d){let p=d;if(typeof d=="function")p=d(n);else if(typeof d!="object")return d;if(!p)return null;const m=n.breakpoints??Ze,y=Nn(m);for(const x in p){const u=vo(p[x],n);if(u!=null){if(typeof u!="object"){pr(y,x,u,n,i);continue}if(i[x]){pr(y,x,u,n,i);continue}Mn(m,u)?ot(y,t.theme,u,(v,c)=>{y[v][x]=c}):(a.sx=u,y[x]=e(a))}}return!o&&n.modularCssLayers?{"@layer sx":sr(n,lr(m,y))}:sr(n,lr(m,y))}return Array.isArray(r)?r.map(l):l(r)}return e.filterProps=["sx"],e}const Ye=bo();function pr(e,t,r,n,o){const i=o[t];if(!i){e[t]=r;return}if(r==null)return;const{themeKey:a}=i;if(a==="typography"&&r==="inherit"){e[t]=r;return}const{style:l}=i;if(l){Pe(e,l({[t]:r,theme:n}));return}const{cssProperty:d=t,transform:p}=i,m=it(n,a);ot(e,n,r,(y,x)=>{const u=Fr(m,p,x,t);d===!1?Pe(y?e[y]:e,u):y?e[y][d]=u:e[d]=u})}function vo(e,t){return typeof e=="function"?e(t):e}function xo(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 So={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};function To(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Eo=/[A-Z]|^ms/g,Co=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wr=function(t){return t.charCodeAt(1)===45},mr=function(t){return t!=null&&typeof t!="boolean"},wt=To(function(e){return Wr(e)?e:e.replace(Eo,"-$&").toLowerCase()}),hr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Co,function(n,o,i){return be={name:o,styles:i,next:be},o})}return So[t]!==1&&!Wr(t)&&typeof r=="number"&&r!==0?r+"px":r};function tt(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 be={name:o.name,styles:o.styles,next:be},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)be={name:a.name,styles:a.styles,next:be},a=a.next;var l=i.styles+";";return l}return wo(e,t,r)}}var d=r;return d}function wo(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=tt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var l=a;mr(l)&&(n+=wt(i)+":"+hr(i,l)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var d=0;d<a.length;d++)mr(a[d])&&(n+=wt(i)+":"+hr(i,a[d])+";");else{var p=tt(e,t,a);switch(i){case"animation":case"animationName":{n+=wt(i)+":"+p+";";break}default:n+=i+"{"+p+"}"}}}return n}var gr=/label:\s*([^\s;{]+)\s*(;|$)/g,be;function _o(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="";be=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=tt(r,t,i);else{var a=i;o+=a[0]}for(var l=1;l<e.length;l++)if(o+=tt(r,t,e[l]),n){var d=i;o+=d[l]}gr.lastIndex=0;for(var p="",m;(m=gr.exec(o))!==null;)p+="-"+m[1];var y=xo(o)+p;return{name:y,styles:o,next:be}}/**
62
62
  * @mui/styled-engine v9.1.1
63
63
  *
64
64
  * @license MIT
65
65
  * This source code is licensed under the MIT license found in the
66
66
  * LICENSE file in the root directory of this source tree.
67
- */function Co(e,t){const r=tn(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
68
- `)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}function wo(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const gr=[];function Ce(e){return gr[0]=e,Eo(gr)}const _o={borderRadius:4};function Wr(e=8,t=Bt({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 Oo(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 Lr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,l=Dr(r),d=Wr(o);let p=fe({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:d,shape:{..._o,...i}},a);return p=An(p),p.applyStyles=Oo,p=t.reduce((m,g)=>fe(m,g),p),p.unstable_sxConfig={...mt,...a==null?void 0:a.unstable_sxConfig},p.unstable_sx=function(g){return ze({sx:g,theme:this})},p.internal_cache={},p}const yr=e=>e,Ao=()=>{let e=yr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=yr}}},$o=Ao(),Ro={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 Lt(e,t,r="Mui"){const n=Ro[t];return n?`${r}-${n}`:`${$o.generate(e)}-${t}`}function ko(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Lt(e,o,r)}),n}function zr(e,t=""){return e.displayName||e.name||t}function br(e,t,r){const n=zr(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Po(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return zr(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Ze.ForwardRef:return br(e,e.render,"ForwardRef");case Ze.Memo:return br(e,e.type,"memo");default:return}}}function Yr(e){const{variants:t,...r}=e,n={variants:t,style:Ce(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Ce(o.style))}),n}const jo=Lr();function _t(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ee(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Io(e){return e?(t,r)=>r[e]:null}function No(e,t,r){e.theme=Ir(e.theme)?r:e.theme[t]||e.theme}function Qe(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>Qe(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?Ee(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?Ee(Ce(a),r):a}return Ur(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?Ee(Ce(n.style),r):n.style:r?Ee(Ce(n),r):n}function Ur(e,t,r=[],n=void 0){var i;let o;e:for(let a=0;a<t.length;a+=1){const l=t[a];if(typeof l.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!l.props(o))continue}else for(const d in l.props)if(e[d]!==l.props[d]&&((i=e.ownerState)==null?void 0:i[d])!==l.props[d])continue e;typeof l.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?Ee(Ce(l.style(o)),n):l.style(o))):r.push(n?Ee(Ce(l.style),n):l.style)}return r}function Mo(e={}){const{themeId:t,defaultTheme:r=jo,rootShouldForwardProp:n=_t,slotShouldForwardProp:o=_t}=e;function i(l){No(l,t,r)}return(l,d={})=>{wo(l,O=>O.filter(V=>V!==ze));const{name:p,slot:m,skipVariantsResolver:g,skipSx:x,overridesResolver:u=Io(Gr(m)),...b}=d,c=p&&p.startsWith("Mui")||m?"components":"custom",S=g!==void 0?g:m&&m!=="Root"&&m!=="root"||!1,j=x||!1;let M=_t;m==="Root"||m==="root"?M=n:m?M=o:Fo(l)&&(M=void 0);const I=Co(l,{shouldForwardProp:M,label:Bo(p,m),...b}),C=O=>{if(O.__emotion_real===O)return O;if(typeof O=="function")return function(Q){return Qe(Q,O,Q.theme.modularCssLayers?c:void 0)};if(ye(O)){const V=Yr(O);return function(Z){return V.variants?Qe(Z,V,Z.theme.modularCssLayers?c:void 0):Z.theme.modularCssLayers?Ee(V.style,c):V.style}}return O},y=(...O)=>{const V=[],Q=O.map(C),Z=[];if(V.push(i),p&&u&&Z.push(function($){var te,ie;const N=(ie=(te=$.theme.components)==null?void 0:te[p])==null?void 0:ie.styleOverrides;if(!N)return null;const D={};for(const he in N)D[he]=Qe($,N[he],$.theme.modularCssLayers?"theme":void 0);return u($,D)}),p&&!S&&Z.push(function($){var D,te;const E=$.theme,N=(te=(D=E==null?void 0:E.components)==null?void 0:D[p])==null?void 0:te.variants;return N?Ur($,N,[],$.theme.modularCssLayers?"theme":void 0):null}),j||Z.push(ze),Array.isArray(Q[0])){const s=Q.shift(),$=new Array(V.length).fill(""),E=new Array(Z.length).fill("");let N;N=[...$,...s,...E],N.raw=[...$,...s.raw,...E],V.unshift(N)}const se=[...V,...Q,...Z],U=I(...se);return l.muiName&&(U.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(U.displayName=Do(p,m,l)),U};return I.withConfig&&(y.withConfig=I.withConfig),y}}function Do(e,t,r){return e?`${e}${Ie(t||"")}`:`Styled(${Po(r)})`}function Bo(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${Gr(t||"Root")}`),r}function Fo(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Gr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Pt(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],l=t[i];if(!l)n[i]=a||{};else if(!a)n[i]=l;else{n[i]={...l};for(const d in a)if(Object.prototype.hasOwnProperty.call(a,d)){const p=d;n[i][p]=Pt(a[p],l[p],r)}}}else i==="className"&&r&&t.className!==void 0?n.className=jr(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 Vo(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function zt(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}].`),Vo(e,t,r)}function Wo(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 xe(e){if(e.type)return e;if(e.charAt(0)==="#")return xe(Wo(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.
67
+ */function Oo(e,t){const r=on(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 Ao(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const yr=[];function Ce(e){return yr[0]=e,_o(yr)}const $o={borderRadius:4};function Lr(e=8,t=Bt({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 Ro(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 zr(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,l=Br(r),d=Lr(o);let p=fe({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:d,shape:{...$o,...i}},a);return p=kn(p),p.applyStyles=Ro,p=t.reduce((m,y)=>fe(m,y),p),p.unstable_sxConfig={...pt,...a==null?void 0:a.unstable_sxConfig},p.unstable_sx=function(y){return Ye({sx:y,theme:this})},p.internal_cache={},p}const br=e=>e,ko=()=>{let e=br;return{configure(t){e=t},generate(t){return e(t)},reset(){e=br}}},Po=ko(),jo={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 Lt(e,t,r="Mui"){const n=jo[t];return n?`${r}-${n}`:`${Po.generate(e)}-${t}`}function Io(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Lt(e,o,r)}),n}function Yr(e,t=""){return e.displayName||e.name||t}function vr(e,t,r){const n=Yr(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function No(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Yr(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Qe.ForwardRef:return vr(e,e.render,"ForwardRef");case Qe.Memo:return vr(e,e.type,"memo");default:return}}}function Ur(e){const{variants:t,...r}=e,n={variants:t,style:Ce(r),isProcessed:!0};return n.style===r||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Ce(o.style))}),n}const Mo=zr();function _t(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ee(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Do(e){return e?(t,r)=>r[e]:null}function Bo(e,t,r){e.theme=Nr(e.theme)?r:e.theme[t]||e.theme}function Je(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>Je(e,o,r));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=r?Ee(n.style,r):n.style;else{const{variants:i,...a}=n;o=r?Ee(Ce(a),r):a}return Gr(e,n.variants,[o],r)}return n!=null&&n.isProcessed?r?Ee(Ce(n.style),r):n.style:r?Ee(Ce(n),r):n}function Gr(e,t,r=[],n=void 0){var i;let o;e:for(let a=0;a<t.length;a+=1){const l=t[a];if(typeof l.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!l.props(o))continue}else for(const d in l.props)if(e[d]!==l.props[d]&&((i=e.ownerState)==null?void 0:i[d])!==l.props[d])continue e;typeof l.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),r.push(n?Ee(Ce(l.style(o)),n):l.style(o))):r.push(n?Ee(Ce(l.style),n):l.style)}return r}function Fo(e={}){const{themeId:t,defaultTheme:r=Mo,rootShouldForwardProp:n=_t,slotShouldForwardProp:o=_t}=e;function i(l){Bo(l,t,r)}return(l,d={})=>{Ao(l,w=>w.filter(W=>W!==Ye));const{name:p,slot:m,skipVariantsResolver:y,skipSx:x,overridesResolver:u=Do(qr(m)),...v}=d,c=p&&p.startsWith("Mui")||m?"components":"custom",S=y!==void 0?y:m&&m!=="Root"&&m!=="root"||!1,P=x||!1;let M=_t;m==="Root"||m==="root"?M=n:m?M=o:Lo(l)&&(M=void 0);const I=Oo(l,{shouldForwardProp:M,label:Wo(p,m),...v}),_=w=>{if(w.__emotion_real===w)return w;if(typeof w=="function")return function(Q){return Je(Q,w,Q.theme.modularCssLayers?c:void 0)};if(ye(w)){const W=Ur(w);return function(ee){return W.variants?Je(ee,W,ee.theme.modularCssLayers?c:void 0):ee.theme.modularCssLayers?Ee(W.style,c):W.style}}return w},h=(...w)=>{const W=[],Q=w.map(_),ee=[];if(W.push(i),p&&u&&ee.push(function($){var te,ae;const N=(ae=(te=$.theme.components)==null?void 0:te[p])==null?void 0:ae.styleOverrides;if(!N)return null;const D={};for(const he in N)D[he]=Je($,N[he],$.theme.modularCssLayers?"theme":void 0);return u($,D)}),p&&!S&&ee.push(function($){var D,te;const E=$.theme,N=(te=(D=E==null?void 0:E.components)==null?void 0:D[p])==null?void 0:te.variants;return N?Gr($,N,[],$.theme.modularCssLayers?"theme":void 0):null}),P||ee.push(Ye),Array.isArray(Q[0])){const s=Q.shift(),$=new Array(W.length).fill(""),E=new Array(ee.length).fill("");let N;N=[...$,...s,...E],N.raw=[...$,...s.raw,...E],W.unshift(N)}const ce=[...W,...Q,...ee],K=I(...ce);return l.muiName&&(K.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(K.displayName=Vo(p,m,l)),K};return I.withConfig&&(h.withConfig=I.withConfig),h}}function Vo(e,t,r){return e?`${e}${Ie(t||"")}`:`Styled(${No(r)})`}function Wo(e,t){let r;return process.env.NODE_ENV!=="production"&&e&&(r=`${e}-${qr(t||"Root")}`),r}function Lo(e){return typeof e=="string"&&e.charCodeAt(0)>96}function qr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Pt(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],l=t[i];if(!l)n[i]=a||{};else if(!a)n[i]=l;else{n[i]={...l};for(const d in a)if(Object.prototype.hasOwnProperty.call(a,d)){const p=d;n[i][p]=Pt(a[p],l[p],r)}}}else i==="className"&&r&&t.className!==void 0?n.className=Ir(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 zo(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function zt(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}].`),zo(e,t,r)}function Yo(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 xe(e){if(e.type)return e;if(e.charAt(0)==="#")return xe(Yo(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
69
  The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:we(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.`:we(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Lo=e=>{const t=xe(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Ve=(e,t)=>{try{return Lo(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ht(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 qr(e){e=xe(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(p,m=(p+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",d.push(t[3])),ht({type:l,values:d})}function jt(e){e=xe(e);let t=e.type==="hsl"||e.type==="hsla"?xe(qr(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 vr(e,t){const r=jt(e),n=jt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Hr(e,t){return e=xe(e),t=zt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ht(e)}function Te(e,t,r){try{return Hr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function gt(e,t){if(e=xe(e),t=zt(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 ht(e)}function H(e,t,r){try{return gt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function yt(e,t){if(e=xe(e),t=zt(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 ht(e)}function K(e,t,r){try{return yt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function zo(e,t=.15){return jt(e)>.5?gt(e,t):yt(e,t)}function Je(e,t,r){try{return zo(e,t)}catch{return e}}const Yo=ve.createContext(void 0);process.env.NODE_ENV!=="production"&&(Y.node,Y.object);function Uo(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?Pt(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?Pt(o,n,t.components.mergeClassNameAndStyle):n}function Go({props:e,name:t}){const r=ve.useContext(Yo);return Uo({props:e,name:t,theme:{components:r}})}const xr={theme:void 0};function qo(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(xr.theme=o.theme,i=Yr(e(xr)),t=i,r=o.theme),i}}function Ho(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 Sr=(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])})},Ko=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([l,d])=>{(!r||r&&!r([...i,l]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?n(d,[...i,l],Array.isArray(d)?[...a,l]:a):t([...i,l],d,a))})}n(e)},Xo=(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 Ot(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Ko(e,(l,d,p)=>{if((typeof d=="string"||typeof d=="number")&&(!n||!n(l,d))){const m=`--${r?`${r}-`:""}${l.join("-")}`,g=Xo(l,d);Object.assign(o,{[m]:g}),Sr(i,l,`var(${m})`,p),Sr(a,l,`var(${m}, ${g})`,p)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function Jo(e,t={}){const{getSelector:r=j,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:l,defaultColorScheme:d="light",...p}=e,{vars:m,css:g,varsWithDefaults:x}=Ot(p,t);let u=x;const b={},{[d]:c,...S}=a;if(Object.entries(S||{}).forEach(([C,y])=>{const{vars:O,css:V,varsWithDefaults:Q}=Ot(y,t);u=fe(u,Q),b[C]={css:V,vars:O}}),c){const{css:C,vars:y,varsWithDefaults:O}=Ot(c,t);u=fe(u,O),b[d]={css:C,vars:y}}function j(C,y){var V,Q;let O=o;if(o==="class"&&(O=".%s"),o==="data"&&(O="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(O=`[${o}="%s"]`),C){if(O==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((Q=(V=a[C])==null?void 0:V.palette)==null?void 0:Q.mode)||C})`]:{":root":y}};if(O)return e.defaultColorScheme===C?`:root, ${O.replace("%s",String(C))}`:O.replace("%s",String(C))}return":root"}return{vars:u,generateThemeVars:()=>{let C={...m};return Object.entries(b).forEach(([,{vars:y}])=>{C=fe(C,y)}),C},generateStyleSheets:()=>{var Z,se;const C=[],y=e.defaultColorScheme||"light";function O(U,s){Object.keys(s).length&&C.push(typeof U=="string"?{[U]:{...s}}:U)}O(r(void 0,{...g}),g);const{[y]:V,...Q}=b;if(V){const{css:U}=V,s=(se=(Z=a[y])==null?void 0:Z.palette)==null?void 0:se.mode,$=!n&&s?{colorScheme:s,...U}:{...U};O(r(y,{...$}),$)}return Object.entries(Q).forEach(([U,{css:s}])=>{var N,D;const $=(D=(N=a[U])==null?void 0:N.palette)==null?void 0:D.mode,E=!n&&$?{colorScheme:$,...s}:{...s};O(r(U,{...E}),E)}),i&&C.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)"}}),C}}}function Qo(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 Ye={black:"#000",white:"#fff"},Zo={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"},_e={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Oe={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Fe={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ae={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},$e={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Re={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Kr(){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:Ye.white,default:Ye.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 Xr=Kr();function Jr(){return{text:{primary:Ye.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:Ye.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 It=Jr();function Tr(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=yt(e.main,o):t==="dark"&&(e.dark=gt(e.main,i)))}function Er(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 ei(e="light"){return e==="dark"?{main:Ae[200],light:Ae[50],dark:Ae[400]}:{main:Ae[700],light:Ae[400],dark:Ae[800]}}function ti(e="light"){return e==="dark"?{main:_e[200],light:_e[50],dark:_e[400]}:{main:_e[500],light:_e[300],dark:_e[700]}}function ri(e="light"){return e==="dark"?{main:Oe[500],light:Oe[300],dark:Oe[700]}:{main:Oe[700],light:Oe[400],dark:Oe[800]}}function ni(e="light"){return e==="dark"?{main:$e[400],light:$e[300],dark:$e[700]}:{main:$e[700],light:$e[500],dark:$e[900]}}function oi(e="light"){return e==="dark"?{main:Re[400],light:Re[300],dark:Re[700]}:{main:Re[800],light:Re[500],dark:Re[900]}}function ii(e="light"){return e==="dark"?{main:Fe[400],light:Fe[300],dark:Fe[700]}:{main:"#ed6c02",light:Fe[500],dark:Fe[900]}}function ai(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Yt(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||ei(t),l=e.secondary||ti(t),d=e.error||ri(t),p=e.info||ni(t),m=e.success||oi(t),g=e.warning||ii(t);function x(S){if(o)return ai(S);const j=vr(S,It.text.primary)>=r?It.text.primary:Xr.text.primary;if(process.env.NODE_ENV!=="production"){const M=vr(S,j);M<3&&console.error([`MUI: The contrast ratio of ${M}:1 for ${j} on ${S}`,"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 j}const u=({color:S,name:j,mainShade:M=500,lightShade:I=300,darkShade:C=700})=>{if(S={...S},!S.main&&S[M]&&(S.main=S[M]),!S.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${j?` (${j})`:""} provided to augmentColor(color) is invalid.
72
- The color object needs to have a \`main\` property or a \`${M}\` property.`:we(11,j?` (${j})`:"",M));if(typeof S.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${j?` (${j})`:""} provided to augmentColor(color) is invalid.
70
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:we(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Uo=e=>{const t=xe(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},We=(e,t)=>{try{return Uo(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function mt(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 Hr(e){e=xe(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(p,m=(p+r/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let l="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",d.push(t[3])),mt({type:l,values:d})}function jt(e){e=xe(e);let t=e.type==="hsl"||e.type==="hsla"?xe(Hr(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 xr(e,t){const r=jt(e),n=jt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Kr(e,t){return e=xe(e),t=zt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,mt(e)}function Te(e,t,r){try{return Kr(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function ht(e,t){if(e=xe(e),t=zt(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 mt(e)}function q(e,t,r){try{return ht(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function gt(e,t){if(e=xe(e),t=zt(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 mt(e)}function H(e,t,r){try{return gt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Go(e,t=.15){return jt(e)>.5?ht(e,t):gt(e,t)}function Xe(e,t,r){try{return Go(e,t)}catch{return e}}const qo=ve.createContext(void 0);process.env.NODE_ENV!=="production"&&(Y.node,Y.object);function Ho(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?Pt(o.defaultProps,n,t.components.mergeClassNameAndStyle):!o.styleOverrides&&!o.variants?Pt(o,n,t.components.mergeClassNameAndStyle):n}function Ko({props:e,name:t}){const r=ve.useContext(qo);return Ho({props:e,name:t,theme:{components:r}})}const Sr={theme:void 0};function Xo(e){let t,r;return function(o){let i=t;return(i===void 0||o.theme!==r)&&(Sr.theme=o.theme,i=Ur(e(Sr)),t=i,r=o.theme),i}}function Jo(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 Tr=(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])})},Qo=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([l,d])=>{(!r||r&&!r([...i,l]))&&d!=null&&(typeof d=="object"&&Object.keys(d).length>0?n(d,[...i,l],Array.isArray(d)?[...a,l]:a):t([...i,l],d,a))})}n(e)},Zo=(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 Ot(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return Qo(e,(l,d,p)=>{if((typeof d=="string"||typeof d=="number")&&(!n||!n(l,d))){const m=`--${r?`${r}-`:""}${l.join("-")}`,y=Zo(l,d);Object.assign(o,{[m]:y}),Tr(i,l,`var(${m})`,p),Tr(a,l,`var(${m}, ${y})`,p)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function ei(e,t={}){const{getSelector:r=P,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:l,defaultColorScheme:d="light",...p}=e,{vars:m,css:y,varsWithDefaults:x}=Ot(p,t);let u=x;const v={},{[d]:c,...S}=a;if(Object.entries(S||{}).forEach(([_,h])=>{const{vars:w,css:W,varsWithDefaults:Q}=Ot(h,t);u=fe(u,Q),v[_]={css:W,vars:w}}),c){const{css:_,vars:h,varsWithDefaults:w}=Ot(c,t);u=fe(u,w),v[d]={css:_,vars:h}}function P(_,h){var W,Q;let w=o;if(o==="class"&&(w=".%s"),o==="data"&&(w="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(w=`[${o}="%s"]`),_){if(w==="media")return e.defaultColorScheme===_?":root":{[`@media (prefers-color-scheme: ${((Q=(W=a[_])==null?void 0:W.palette)==null?void 0:Q.mode)||_})`]:{":root":h}};if(w)return e.defaultColorScheme===_?`:root, ${w.replace("%s",String(_))}`:w.replace("%s",String(_))}return":root"}return{vars:u,generateThemeVars:()=>{let _={...m};return Object.entries(v).forEach(([,{vars:h}])=>{_=fe(_,h)}),_},generateStyleSheets:()=>{var ee,ce;const _=[],h=e.defaultColorScheme||"light";function w(K,s){Object.keys(s).length&&_.push(typeof K=="string"?{[K]:{...s}}:K)}w(r(void 0,{...y}),y);const{[h]:W,...Q}=v;if(W){const{css:K}=W,s=(ce=(ee=a[h])==null?void 0:ee.palette)==null?void 0:ce.mode,$=!n&&s?{colorScheme:s,...K}:{...K};w(r(h,{...$}),$)}return Object.entries(Q).forEach(([K,{css:s}])=>{var N,D;const $=(D=(N=a[K])==null?void 0:N.palette)==null?void 0:D.mode,E=!n&&$?{colorScheme:$,...s}:{...s};w(r(K,{...E}),E)}),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 ti(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 Ue={black:"#000",white:"#fff"},ri={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},_e={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Oe={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ve={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ae={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},$e={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Re={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function Xr(){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:Ue.white,default:Ue.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 Jr=Xr();function Qr(){return{text:{primary:Ue.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:Ue.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 It=Qr();function Er(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=gt(e.main,o):t==="dark"&&(e.dark=ht(e.main,i)))}function Cr(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 ni(e="light"){return e==="dark"?{main:Ae[200],light:Ae[50],dark:Ae[400]}:{main:Ae[700],light:Ae[400],dark:Ae[800]}}function oi(e="light"){return e==="dark"?{main:_e[200],light:_e[50],dark:_e[400]}:{main:_e[500],light:_e[300],dark:_e[700]}}function ii(e="light"){return e==="dark"?{main:Oe[500],light:Oe[300],dark:Oe[700]}:{main:Oe[700],light:Oe[400],dark:Oe[800]}}function ai(e="light"){return e==="dark"?{main:$e[400],light:$e[300],dark:$e[700]}:{main:$e[700],light:$e[500],dark:$e[900]}}function si(e="light"){return e==="dark"?{main:Re[400],light:Re[300],dark:Re[700]}:{main:Re[800],light:Re[500],dark:Re[900]}}function li(e="light"){return e==="dark"?{main:Ve[400],light:Ve[300],dark:Ve[700]}:{main:"#ed6c02",light:Ve[500],dark:Ve[900]}}function ci(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Yt(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||ni(t),l=e.secondary||oi(t),d=e.error||ii(t),p=e.info||ai(t),m=e.success||si(t),y=e.warning||li(t);function x(S){if(o)return ci(S);const P=xr(S,It.text.primary)>=r?It.text.primary:Jr.text.primary;if(process.env.NODE_ENV!=="production"){const M=xr(S,P);M<3&&console.error([`MUI: The contrast ratio of ${M}:1 for ${P} on ${S}`,"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 P}const u=({color:S,name:P,mainShade:M=500,lightShade:I=300,darkShade:_=700})=>{if(S={...S},!S.main&&S[M]&&(S.main=S[M]),!S.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${P?` (${P})`:""} provided to augmentColor(color) is invalid.
72
+ The color object needs to have a \`main\` property or a \`${M}\` property.`:we(11,P?` (${P})`:"",M));if(typeof S.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${P?` (${P})`:""} provided to augmentColor(color) is invalid.
73
73
  \`color.main\` should be a string, but \`${JSON.stringify(S.main)}\` was provided instead.
74
74
 
75
75
  Did you intend to use one of the following approaches?
@@ -82,8 +82,8 @@ const theme1 = createTheme({ palette: {
82
82
 
83
83
  const theme2 = createTheme({ palette: {
84
84
  primary: { main: green[500] },
85
- } });`:we(12,j?` (${j})`:"",JSON.stringify(S.main)));return o?(Er(o,S,"light",I,n),Er(o,S,"dark",C,n)):(Tr(S,"light",I,n),Tr(S,"dark",C,n)),S.contrastText||(S.contrastText=x(S.main)),S};let b;return t==="light"?b=Kr():t==="dark"&&(b=Jr()),process.env.NODE_ENV!=="production"&&(b||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),fe({common:{...Ye},mode:t,primary:u({color:a,name:"primary"}),secondary:u({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:u({color:d,name:"error"}),warning:u({color:g,name:"warning"}),info:u({color:p,name:"info"}),success:u({color:m,name:"success"}),grey:Zo,contrastThreshold:r,getContrastText:x,augmentColor:u,tonalOffset:n,...b},i)}function si(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 li(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function ci(e){return Math.round(e*1e5)/1e5}const Cr={textTransform:"uppercase"},wr='"Roboto", "Helvetica", "Arial", sans-serif';function ui(e,t){const{fontFamily:r=wr,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:d=16,allVariants:p,pxToRem:m,...g}=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 d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const x=n/14,u=m||(S=>`${S/d*x}rem`),b=(S,j,M,I,C)=>({fontFamily:r,fontWeight:S,fontSize:u(j),lineHeight:M,...r===wr?{letterSpacing:`${ci(I/j)}em`}:{},...C,...p}),c={h1:b(o,96,1.167,-1.5),h2:b(o,60,1.2,-.5),h3:b(i,48,1.167,0),h4:b(i,34,1.235,.25),h5:b(i,24,1.334,0),h6:b(a,20,1.6,.15),subtitle1:b(i,16,1.75,.15),subtitle2:b(a,14,1.57,.1),body1:b(i,16,1.5,.15),body2:b(i,14,1.43,.15),button:b(a,14,1.75,.4,Cr),caption:b(i,12,1.66,.4),overline:b(i,12,2.66,1,Cr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return fe({htmlFontSize:d,pxToRem:u,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:l,...c},g,{clone:!1})}const fi=.2,di=.14,pi=.12;function ee(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${fi})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${di})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${pi})`].join(",")}const mi=["none",ee(0,2,1,-1,0,1,1,0,0,1,3,0),ee(0,3,1,-2,0,2,2,0,0,1,5,0),ee(0,3,3,-2,0,3,4,0,0,1,8,0),ee(0,2,4,-1,0,4,5,0,0,1,10,0),ee(0,3,5,-1,0,5,8,0,0,1,14,0),ee(0,3,5,-1,0,6,10,0,0,1,18,0),ee(0,4,5,-2,0,7,10,1,0,2,16,1),ee(0,5,5,-3,0,8,10,1,0,3,14,2),ee(0,5,6,-3,0,9,12,1,0,3,16,2),ee(0,6,6,-3,0,10,14,1,0,4,18,3),ee(0,6,7,-4,0,11,15,1,0,4,20,3),ee(0,7,8,-4,0,12,17,2,0,5,22,4),ee(0,7,8,-4,0,13,19,2,0,5,24,4),ee(0,7,9,-4,0,14,21,2,0,5,26,4),ee(0,8,9,-5,0,15,22,2,0,6,28,5),ee(0,8,10,-5,0,16,24,2,0,6,30,5),ee(0,8,11,-5,0,17,26,2,0,6,32,5),ee(0,9,11,-5,0,18,28,2,0,7,34,6),ee(0,9,12,-6,0,19,29,2,0,7,36,6),ee(0,10,13,-6,0,20,31,3,0,8,38,7),ee(0,10,13,-6,0,21,33,3,0,8,40,7),ee(0,10,14,-6,0,22,35,3,0,8,42,7),ee(0,11,14,-7,0,23,36,3,0,9,44,8),ee(0,11,15,-7,0,24,38,3,0,9,46,8)],hi=["all"],gi={},yi={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)"},bi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function _r(e){return`${Math.round(e)}ms`}function vi(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function xi(e){const t={...e};delete t.reducedMotion;const r={...yi,...t.easing},n={...bi,...t.duration},o=(a=hi,l=gi)=>{const{duration:d=n.standard,easing:p=r.easeInOut,delay:m=0,...g}=l;if(process.env.NODE_ENV!=="production"){const x=b=>typeof b=="string",u=b=>!Number.isNaN(parseFloat(b));!x(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!u(d)&&!x(d)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${d}.`),x(p)||console.error('MUI: Argument "easing" must be a string.'),!u(m)&&!x(m)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof l!="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(g).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(g).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(x=>`${x} ${typeof d=="string"?d:_r(d)} ${p} ${typeof m=="string"?m:_r(m)}`).join(",")},i=t.create??o;return{getAutoHeightDuration:vi,create:i,...t,easing:r,duration:n}}const Si={};function Ti(e=Si){return{reducedMotion:"never",...e}}const Ei={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ci(e){return ye(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Qr(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,l]=o[i];!Ci(l)||a.startsWith("unstable_")||a.startsWith("internal_")?delete n[a]:ye(l)&&(n[a]={...l},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
85
+ } });`:we(12,P?` (${P})`:"",JSON.stringify(S.main)));return o?(Cr(o,S,"light",I,n),Cr(o,S,"dark",_,n)):(Er(S,"light",I,n),Er(S,"dark",_,n)),S.contrastText||(S.contrastText=x(S.main)),S};let v;return t==="light"?v=Xr():t==="dark"&&(v=Qr()),process.env.NODE_ENV!=="production"&&(v||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),fe({common:{...Ue},mode:t,primary:u({color:a,name:"primary"}),secondary:u({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:u({color:d,name:"error"}),warning:u({color:y,name:"warning"}),info:u({color:p,name:"info"}),success:u({color:m,name:"success"}),grey:ri,contrastThreshold:r,getContrastText:x,augmentColor:u,tonalOffset:n,...v},i)}function ui(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 fi(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function di(e){return Math.round(e*1e5)/1e5}const wr={textTransform:"uppercase"},_r='"Roboto", "Helvetica", "Arial", sans-serif';function pi(e,t){const{fontFamily:r=_r,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:d=16,allVariants:p,pxToRem:m,...y}=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 d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const x=n/14,u=m||(S=>`${S/d*x}rem`),v=(S,P,M,I,_)=>({fontFamily:r,fontWeight:S,fontSize:u(P),lineHeight:M,...r===_r?{letterSpacing:`${di(I/P)}em`}:{},..._,...p}),c={h1:v(o,96,1.167,-1.5),h2:v(o,60,1.2,-.5),h3:v(i,48,1.167,0),h4:v(i,34,1.235,.25),h5:v(i,24,1.334,0),h6:v(a,20,1.6,.15),subtitle1:v(i,16,1.75,.15),subtitle2:v(a,14,1.57,.1),body1:v(i,16,1.5,.15),body2:v(i,14,1.43,.15),button:v(a,14,1.75,.4,wr),caption:v(i,12,1.66,.4),overline:v(i,12,2.66,1,wr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return fe({htmlFontSize:d,pxToRem:u,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:l,...c},y,{clone:!1})}const mi=.2,hi=.14,gi=.12;function Z(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${mi})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${hi})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${gi})`].join(",")}const yi=["none",Z(0,2,1,-1,0,1,1,0,0,1,3,0),Z(0,3,1,-2,0,2,2,0,0,1,5,0),Z(0,3,3,-2,0,3,4,0,0,1,8,0),Z(0,2,4,-1,0,4,5,0,0,1,10,0),Z(0,3,5,-1,0,5,8,0,0,1,14,0),Z(0,3,5,-1,0,6,10,0,0,1,18,0),Z(0,4,5,-2,0,7,10,1,0,2,16,1),Z(0,5,5,-3,0,8,10,1,0,3,14,2),Z(0,5,6,-3,0,9,12,1,0,3,16,2),Z(0,6,6,-3,0,10,14,1,0,4,18,3),Z(0,6,7,-4,0,11,15,1,0,4,20,3),Z(0,7,8,-4,0,12,17,2,0,5,22,4),Z(0,7,8,-4,0,13,19,2,0,5,24,4),Z(0,7,9,-4,0,14,21,2,0,5,26,4),Z(0,8,9,-5,0,15,22,2,0,6,28,5),Z(0,8,10,-5,0,16,24,2,0,6,30,5),Z(0,8,11,-5,0,17,26,2,0,6,32,5),Z(0,9,11,-5,0,18,28,2,0,7,34,6),Z(0,9,12,-6,0,19,29,2,0,7,36,6),Z(0,10,13,-6,0,20,31,3,0,8,38,7),Z(0,10,13,-6,0,21,33,3,0,8,40,7),Z(0,10,14,-6,0,22,35,3,0,8,42,7),Z(0,11,14,-7,0,23,36,3,0,9,44,8),Z(0,11,15,-7,0,24,38,3,0,9,46,8)],bi=["all"],vi={},xi={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)"},Si={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Or(e){return`${Math.round(e)}ms`}function Ti(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Ei(e){const t={...e};delete t.reducedMotion;const r={...xi,...t.easing},n={...Si,...t.duration},o=(a=bi,l=vi)=>{const{duration:d=n.standard,easing:p=r.easeInOut,delay:m=0,...y}=l;if(process.env.NODE_ENV!=="production"){const x=v=>typeof v=="string",u=v=>!Number.isNaN(parseFloat(v));!x(a)&&!Array.isArray(a)&&console.error('MUI: Argument "props" must be a string or Array.'),!u(d)&&!x(d)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${d}.`),x(p)||console.error('MUI: Argument "easing" must be a string.'),!u(m)&&!x(m)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof l!="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(y).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(y).join(",")}].`)}return(Array.isArray(a)?a:[a]).map(x=>`${x} ${typeof d=="string"?d:Or(d)} ${p} ${typeof m=="string"?m:Or(m)}`).join(",")},i=t.create??o;return{getAutoHeightDuration:Ti,create:i,...t,easing:r,duration:n}}const Ci={};function wi(e=Ci){return{reducedMotion:"never",...e}}const _i={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Oi(e){return ye(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Zr(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,l]=o[i];!Oi(l)||a.startsWith("unstable_")||a.startsWith("internal_")?delete n[a]:ye(l)&&(n[a]={...l},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
87
87
 
88
88
  const theme = ${JSON.stringify(t,null,2)};
89
89
 
@@ -91,7 +91,7 @@ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
91
91
  theme.motion = { reducedMotion: 'never', ...theme.motion };
92
92
  theme.transitions = createTransitions(theme.transitions || {});
93
93
 
94
- export default theme;`}function Or(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const wi=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 _i(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})`:Hr(t,wi(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${Or(r)})`:yt(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${Or(r)})`:gt(t,r)}})}function Nt(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},motion:a={},transitions:l={},typography:d={},shape:p,colorSpace:m,...g}=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.":we(22));const x=Yt({...i,colorSpace:m}),u=Lr(e);let b=fe(u,{mixins:li(u.breakpoints,n),palette:x,shadows:mi.slice(),typography:ui(x,d),motion:Ti(a),transitions:xi(l),zIndex:{...Ei}});if(b=fe(b,g),b=t.reduce((c,S)=>fe(c,S),b),delete b.transitions.reducedMotion,process.env.NODE_ENV!=="production"){const c=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],S=(j,M)=>{let I;for(I in j){const C=j[I];if(c.includes(I)&&Object.keys(C).length>0){if(process.env.NODE_ENV!=="production"){const y=Lt("",I);console.error([`MUI: The \`${M}\` component increases the CSS specificity of the \`${I}\` internal state.`,"You can not override it like this: ",JSON.stringify(j,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:C}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
95
- `))}j[I]={}}}};Object.keys(b.components).forEach(j=>{const M=b.components[j].styleOverrides;M&&j.startsWith("Mui")&&S(M,j)})}return b.unstable_sxConfig={...mt,...g==null?void 0:g.unstable_sxConfig},b.unstable_sx=function(S){return ze({sx:S,theme:this})},b.toRuntimeSource=Qr,_i(b),b}function Oi(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 Ai=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Oi(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function Zr(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function en(e){return e==="dark"?Ai:[]}function $i(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=Yt({...t,colorSpace:o});return{palette:a,opacity:{...Zr(a.mode),...r},overlays:n||en(a.mode),...i}}function Ri(e){var t;return e[0]==="motion"||!!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 ki=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Pi=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 ki(e.cssVarPrefix).forEach(l=>{a[l]=r[l],delete r[l]}),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 ji(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function h(e,t,r){!e[t]&&r&&(e[t]=r)}function We(e){return typeof e!="string"||!e.startsWith("hsl")?e:qr(e)}function ge(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Ve(We(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().
96
- 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 Ii(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const me=e=>{try{return e()}catch{}},Ni=(e="mui")=>Ho(e);function At(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=$i({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...l}=Nt({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...Zr(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||en(i)},l}function Mi(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:l=Ri,colorSchemeSelector:d=r.light&&r.dark?"media":void 0,rootSelector:p=":root",...m}=e,g=Object.keys(r)[0],x=n||(r.light&&g!=="light"?"light":g),u=Ni(i),{[x]:b,light:c,dark:S,...j}=r,M={...j};let I=b;if((x==="dark"&&!("dark"in r)||x==="light"&&!("light"in r))&&(I=!0),!I)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${x}\` option is either missing or invalid.`:we(21,x));let C;a&&(C="oklch");const y=At(C,M,I,m,x);c&&!M.light&&At(C,M,c,void 0,"light"),S&&!M.dark&&At(C,M,S,void 0,"dark");let O={defaultColorScheme:x,...y,cssVarPrefix:i,colorSchemeSelector:d,rootSelector:p,getCssVar:u,colorSchemes:M,font:{...si(y.typography),...y.font},spacing:Ii(m.spacing)};Object.keys(O.colorSchemes).forEach(U=>{const s=O.colorSchemes[U].palette,$=N=>{const D=N.split("-"),te=D[1],ie=D[2];return u(N,s[te][ie])};s.mode==="light"&&(h(s.common,"background","#fff"),h(s.common,"onBackground","#000")),s.mode==="dark"&&(h(s.common,"background","#000"),h(s.common,"onBackground","#fff"));function E(N,D,te){if(C){let ie;return N===Te&&(ie=`transparent ${((1-te)*100).toFixed(0)}%`),N===H&&(ie=`#000 ${(te*100).toFixed(0)}%`),N===K&&(ie=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${C}, ${D}, ${ie})`}return N(D,te)}if(ji(s,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),s.mode==="light"){h(s.Alert,"errorColor",E(H,a?u("palette-error-light"):s.error.light,.6)),h(s.Alert,"infoColor",E(H,a?u("palette-info-light"):s.info.light,.6)),h(s.Alert,"successColor",E(H,a?u("palette-success-light"):s.success.light,.6)),h(s.Alert,"warningColor",E(H,a?u("palette-warning-light"):s.warning.light,.6)),h(s.Alert,"errorFilledBg",$("palette-error-main")),h(s.Alert,"infoFilledBg",$("palette-info-main")),h(s.Alert,"successFilledBg",$("palette-success-main")),h(s.Alert,"warningFilledBg",$("palette-warning-main")),h(s.Alert,"errorFilledColor",me(()=>s.getContrastText(s.error.main))),h(s.Alert,"infoFilledColor",me(()=>s.getContrastText(s.info.main))),h(s.Alert,"successFilledColor",me(()=>s.getContrastText(s.success.main))),h(s.Alert,"warningFilledColor",me(()=>s.getContrastText(s.warning.main))),h(s.Alert,"errorStandardBg",E(K,a?u("palette-error-light"):s.error.light,.9)),h(s.Alert,"infoStandardBg",E(K,a?u("palette-info-light"):s.info.light,.9)),h(s.Alert,"successStandardBg",E(K,a?u("palette-success-light"):s.success.light,.9)),h(s.Alert,"warningStandardBg",E(K,a?u("palette-warning-light"):s.warning.light,.9)),h(s.Alert,"errorIconColor",$("palette-error-main")),h(s.Alert,"infoIconColor",$("palette-info-main")),h(s.Alert,"successIconColor",$("palette-success-main")),h(s.Alert,"warningIconColor",$("palette-warning-main")),h(s.AppBar,"defaultBg",$("palette-grey-100")),h(s.Avatar,"defaultBg",$("palette-grey-400")),h(s.Button,"inheritContainedBg",$("palette-grey-300")),h(s.Button,"inheritContainedHoverBg",$("palette-grey-A100")),h(s.Chip,"defaultBorder",$("palette-grey-400")),h(s.Chip,"defaultAvatarColor",$("palette-grey-700")),h(s.Chip,"defaultIconColor",$("palette-grey-700")),h(s.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),h(s.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),h(s.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),h(s.LinearProgress,"primaryBg",E(K,a?u("palette-primary-main"):s.primary.main,.62)),h(s.LinearProgress,"secondaryBg",E(K,a?u("palette-secondary-main"):s.secondary.main,.62)),h(s.LinearProgress,"errorBg",E(K,a?u("palette-error-main"):s.error.main,.62)),h(s.LinearProgress,"infoBg",E(K,a?u("palette-info-main"):s.info.main,.62)),h(s.LinearProgress,"successBg",E(K,a?u("palette-success-main"):s.success.main,.62)),h(s.LinearProgress,"warningBg",E(K,a?u("palette-warning-light"):s.warning.main,.62)),h(s.Skeleton,"bg",C?E(Te,a?u("palette-text-primary"):s.text.primary,.11):`rgba(${$("palette-text-primaryChannel")} / 0.11)`),h(s.Slider,"primaryTrack",E(K,a?u("palette-primary-main"):s.primary.main,.62)),h(s.Slider,"secondaryTrack",E(K,a?u("palette-secondary-main"):s.secondary.main,.62)),h(s.Slider,"errorTrack",E(K,a?u("palette-error-main"):s.error.main,.62)),h(s.Slider,"infoTrack",E(K,a?u("palette-info-main"):s.info.main,.62)),h(s.Slider,"successTrack",E(K,a?u("palette-success-main"):s.success.main,.62)),h(s.Slider,"warningTrack",E(K,a?u("palette-warning-main"):s.warning.main,.62));const N=C?E(H,a?u("palette-background-default"):s.background.default,.6825):Je(s.background.default,.8);h(s.SnackbarContent,"bg",N),h(s.SnackbarContent,"color",me(()=>C?It.text.primary:s.getContrastText(N))),h(s.SpeedDialAction,"fabHoverBg",Je(s.background.paper,.15)),h(s.StepConnector,"border",$("palette-grey-400")),h(s.StepContent,"border",$("palette-grey-400")),h(s.Switch,"defaultColor",$("palette-common-white")),h(s.Switch,"defaultDisabledColor",$("palette-grey-100")),h(s.Switch,"primaryDisabledColor",E(K,a?u("palette-primary-main"):s.primary.main,.62)),h(s.Switch,"secondaryDisabledColor",E(K,a?u("palette-secondary-main"):s.secondary.main,.62)),h(s.Switch,"errorDisabledColor",E(K,a?u("palette-error-main"):s.error.main,.62)),h(s.Switch,"infoDisabledColor",E(K,a?u("palette-info-main"):s.info.main,.62)),h(s.Switch,"successDisabledColor",E(K,a?u("palette-success-main"):s.success.main,.62)),h(s.Switch,"warningDisabledColor",E(K,a?u("palette-warning-main"):s.warning.main,.62)),h(s.TableCell,"border",E(K,Te(a?u("palette-divider"):s.divider,1),.88)),h(s.Tooltip,"bg",E(Te,a?u("palette-grey-700"):s.grey[700],.92))}if(s.mode==="dark"){h(s.Alert,"errorColor",E(K,a?u("palette-error-light"):s.error.light,.6)),h(s.Alert,"infoColor",E(K,a?u("palette-info-light"):s.info.light,.6)),h(s.Alert,"successColor",E(K,a?u("palette-success-light"):s.success.light,.6)),h(s.Alert,"warningColor",E(K,a?u("palette-warning-light"):s.warning.light,.6)),h(s.Alert,"errorFilledBg",$("palette-error-dark")),h(s.Alert,"infoFilledBg",$("palette-info-dark")),h(s.Alert,"successFilledBg",$("palette-success-dark")),h(s.Alert,"warningFilledBg",$("palette-warning-dark")),h(s.Alert,"errorFilledColor",me(()=>s.getContrastText(s.error.dark))),h(s.Alert,"infoFilledColor",me(()=>s.getContrastText(s.info.dark))),h(s.Alert,"successFilledColor",me(()=>s.getContrastText(s.success.dark))),h(s.Alert,"warningFilledColor",me(()=>s.getContrastText(s.warning.dark))),h(s.Alert,"errorStandardBg",E(H,a?u("palette-error-light"):s.error.light,.9)),h(s.Alert,"infoStandardBg",E(H,a?u("palette-info-light"):s.info.light,.9)),h(s.Alert,"successStandardBg",E(H,a?u("palette-success-light"):s.success.light,.9)),h(s.Alert,"warningStandardBg",E(H,a?u("palette-warning-light"):s.warning.light,.9)),h(s.Alert,"errorIconColor",$("palette-error-main")),h(s.Alert,"infoIconColor",$("palette-info-main")),h(s.Alert,"successIconColor",$("palette-success-main")),h(s.Alert,"warningIconColor",$("palette-warning-main")),h(s.AppBar,"defaultBg",$("palette-grey-900")),h(s.AppBar,"darkBg",$("palette-background-paper")),h(s.AppBar,"darkColor",$("palette-text-primary")),h(s.Avatar,"defaultBg",$("palette-grey-600")),h(s.Button,"inheritContainedBg",$("palette-grey-800")),h(s.Button,"inheritContainedHoverBg",$("palette-grey-700")),h(s.Chip,"defaultBorder",$("palette-grey-700")),h(s.Chip,"defaultAvatarColor",$("palette-grey-300")),h(s.Chip,"defaultIconColor",$("palette-grey-300")),h(s.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),h(s.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),h(s.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),h(s.LinearProgress,"primaryBg",E(H,a?u("palette-primary-main"):s.primary.main,.5)),h(s.LinearProgress,"secondaryBg",E(H,a?u("palette-secondary-main"):s.secondary.main,.5)),h(s.LinearProgress,"errorBg",E(H,a?u("palette-error-main"):s.error.main,.5)),h(s.LinearProgress,"infoBg",E(H,a?u("palette-info-main"):s.info.main,.5)),h(s.LinearProgress,"successBg",E(H,a?u("palette-success-main"):s.success.main,.5)),h(s.LinearProgress,"warningBg",E(H,a?u("palette-warning-main"):s.warning.main,.5)),h(s.Skeleton,"bg",C?E(Te,a?u("palette-text-primary"):s.text.primary,.13):`rgba(${$("palette-text-primaryChannel")} / 0.13)`),h(s.Slider,"primaryTrack",E(H,a?u("palette-primary-main"):s.primary.main,.5)),h(s.Slider,"secondaryTrack",E(H,a?u("palette-secondary-main"):s.secondary.main,.5)),h(s.Slider,"errorTrack",E(H,a?u("palette-error-main"):s.error.main,.5)),h(s.Slider,"infoTrack",E(H,a?u("palette-info-main"):s.info.main,.5)),h(s.Slider,"successTrack",E(H,a?u("palette-success-main"):s.success.main,.5)),h(s.Slider,"warningTrack",E(H,a?u("palette-warning-light"):s.warning.main,.5));const N=C?E(K,a?u("palette-background-default"):s.background.default,.985):Je(s.background.default,.98);h(s.SnackbarContent,"bg",N),h(s.SnackbarContent,"color",me(()=>C?Xr.text.primary:s.getContrastText(N))),h(s.SpeedDialAction,"fabHoverBg",Je(s.background.paper,.15)),h(s.StepConnector,"border",$("palette-grey-600")),h(s.StepContent,"border",$("palette-grey-600")),h(s.Switch,"defaultColor",$("palette-grey-300")),h(s.Switch,"defaultDisabledColor",$("palette-grey-600")),h(s.Switch,"primaryDisabledColor",E(H,a?u("palette-primary-main"):s.primary.main,.55)),h(s.Switch,"secondaryDisabledColor",E(H,a?u("palette-secondary-main"):s.secondary.main,.55)),h(s.Switch,"errorDisabledColor",E(H,a?u("palette-error-main"):s.error.main,.55)),h(s.Switch,"infoDisabledColor",E(H,a?u("palette-info-main"):s.info.main,.55)),h(s.Switch,"successDisabledColor",E(H,a?u("palette-success-main"):s.success.main,.55)),h(s.Switch,"warningDisabledColor",E(H,a?u("palette-warning-light"):s.warning.main,.55)),h(s.TableCell,"border",E(H,Te(a?u("palette-divider"):s.divider,1),.68)),h(s.Tooltip,"bg",E(Te,a?u("palette-grey-700"):s.grey[700],.92))}a||(ge(s.background,"default"),ge(s.background,"paper"),ge(s.common,"background"),ge(s.common,"onBackground"),ge(s,"divider")),Object.keys(s).forEach(N=>{const D=s[N];N!=="tonalOffset"&&!a&&D&&typeof D=="object"&&(D.main&&h(s[N],"mainChannel",Ve(We(D.main))),D.light&&h(s[N],"lightChannel",Ve(We(D.light))),D.dark&&h(s[N],"darkChannel",Ve(We(D.dark))),D.contrastText&&h(s[N],"contrastTextChannel",Ve(We(D.contrastText))),N==="text"&&(ge(s[N],"primary"),ge(s[N],"secondary")),N==="action"&&(D.active&&ge(s[N],"active"),D.selected&&ge(s[N],"selected")))})}),O=t.reduce((U,s)=>fe(U,s),O);const V={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:l,getSelector:Pi(O),enableContrastVars:a},{vars:Q,generateThemeVars:Z,generateStyleSheets:se}=Jo(O,V);return O.vars=Q,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([U,s])=>{O[U]=s}),O.generateThemeVars=Z,O.generateStyleSheets=se,O.generateSpacing=function(){return Wr(m.spacing,Bt(this))},O.getColorSchemeSelector=Qo(d),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...mt,...m==null?void 0:m.unstable_sxConfig},O.unstable_sx=function(s){return ze({sx:s,theme:this})},O.internal_cache={},O.toRuntimeSource=Qr,O}function Ar(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Yt({...r===!0?{}:r.palette,mode:t})})}function Di(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,l=i||"light",d=o==null?void 0:o[l],p={...o,...r?{[l]:{...typeof d!="boolean"&&d,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Nt(e,...t);let m=r;"palette"in e||p[l]&&(p[l]!==!0?m=p[l].palette:l==="dark"&&(m={mode:"dark"}));const g=Nt({...e,palette:m},...t);return g.defaultColorScheme=l,g.colorSchemes=p,g.palette.mode==="light"&&(g.colorSchemes.light={...p.light!==!0&&p.light,palette:g.palette},Ar(g,"dark",p.dark)),g.palette.mode==="dark"&&(g.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:g.palette},Ar(g,"light",p.light)),g}return!r&&!("light"in p)&&l==="light"&&(p.light=!0),Mi({...a,colorSchemes:p,defaultColorScheme:l,...typeof n!="boolean"&&n},...t)}const Bi=Di(),Fi="$$material";function Vi(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Wi=e=>Vi(e)&&e!=="classes",Li=Mo({themeId:Fi,defaultTheme:Bi,rootShouldForwardProp:Wi}),zi=qo;process.env.NODE_ENV!=="production"&&(Y.node,Y.object.isRequired);function Yi(e){return Go(e)}function Ui(e){return Lt("MuiSvgIcon",e)}ko("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Gi={transition:"none"};function qi(e,t){return e==="always"?t:e==="system"?{"@media (prefers-reduced-motion: reduce)":t}:null}const Hi={},Ki=["all"],Xi={};function Ji(e,t){var n;const r=Gi;return qi((n=e.motion)==null?void 0:n.reducedMotion,r)}function Qi(e,t=Ki,r=Xi){var a,l;const n=(l=(a=e.transitions)==null?void 0:a.create)==null?void 0:l.call(a,t,r),o=Ji(e);if(n===void 0)return o??Hi;const i={transition:n};return o?{...i,...o}:i}const Zi=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Ie(t)}`,`fontSize${Ie(r)}`]};return gn(o,Ui,n)},ea=Li("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Ie(r.color)}`],t[`fontSize${Ie(r.fontSize)}`]]}})(zi(({theme:e})=>{var t,r,n,o,i,a,l,d,p,m,g,x;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,...Qi(e,"fill",{duration:(r=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:r.shorter}),variants:[{props:u=>!u.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((o=(n=e.typography)==null?void 0:n.pxToRem)==null?void 0:o.call(n,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:d.call(l,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,u])=>u&&u.main).map(([u])=>{var b,c;return{props:{color:u},style:{color:(c=(b=(e.vars??e).palette)==null?void 0:b[u])==null?void 0:c.main}}}),{props:{color:"action"},style:{color:(m=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(x=(g=(e.vars??e).palette)==null?void 0:g.action)==null?void 0:x.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),nt=ve.forwardRef(function(t,r){const n=Yi({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:l="svg",fontSize:d="medium",htmlColor:p,inheritViewBox:m=!1,titleAccess:g,viewBox:x="0 0 24 24",...u}=n,b=ve.isValidElement(o)&&o.type==="svg",c={...n,color:a,component:l,fontSize:d,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:x,hasSvgAsChild:b},S={};m||(S.viewBox=x);const j=Zi(c);return v.jsxs(ea,{as:l,className:jr(j.root,i),focusable:"false",color:p,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:r,...S,...u,...b&&o.props,ownerState:c,children:[b?o.props.children:o,g?v.jsx("title",{children:g}):null]})});process.env.NODE_ENV!=="production"&&(nt.propTypes={children:Y.node,classes:Y.object,className:Y.string,color:Y.oneOfType([Y.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Y.string]),component:Y.elementType,fontSize:Y.oneOfType([Y.oneOf(["inherit","large","medium","small"]),Y.string]),htmlColor:Y.string,inheritViewBox:Y.bool,shapeRendering:Y.string,sx:Y.oneOfType([Y.arrayOf(Y.oneOfType([Y.func,Y.object,Y.bool])),Y.func,Y.object]),titleAccess:Y.string,viewBox:Y.string});nt.muiName="SvgIcon";function He(e,t){function r(n,o){return v.jsx(nt,{"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=nt.muiName,ve.memo(ve.forwardRef(r))}const ta=He(v.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),ra=He(v.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),Ue=He(v.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 na({image:e,imageAlt:t="",imageHeight:r=260,fallback:n=v.jsx(w.Typography,{children:"No Image Available"}),title:o,description:i,descriptionLines:a=3,highlight:l,footer:d,sx:p,onEdit:m,editForm:g,editLabel:x="Edit",onDelete:u,deleteLabel:b="Delete",deleteConfirmMessage:c="Are you sure you want to delete this item? This action cannot be undone.",onClick:S}){const[j,M]=ae.useState(!1),[I,C]=ae.useState(!1),[y,O]=ae.useState(!1),V=!!(m&&g),Q=!!u,Z=async U=>{m&&(await m(U),M(!1))},se=async()=>{if(u){O(!0);try{await u(),C(!1)}finally{O(!1)}}};return v.jsxs(w.Box,{sx:{position:"relative",height:"100%"},children:[(V||Q)&&v.jsxs(w.Stack,{direction:"row",spacing:.5,sx:{position:"absolute",top:8,right:8,zIndex:1,bgcolor:"background.paper",borderRadius:1,boxShadow:1},children:[V&&v.jsx(w.IconButton,{size:"small",onClick:()=>M(!0),"aria-label":x,children:v.jsx(ta,{fontSize:"small"})}),Q&&v.jsx(w.IconButton,{size:"small",onClick:()=>C(!0),"aria-label":b,children:v.jsx(ra,{fontSize:"small",color:"error"})})]}),v.jsxs(w.Card,{onClick:S,sx:{height:"100%",display:"flex",flexDirection:"column",borderRadius:3,overflow:"hidden",boxShadow:"0 4px 16px rgba(0,0,0,0.08)",transition:"all 0.25s ease","&:hover":{transform:"translateY(-4px)",boxShadow:"0 10px 28px rgba(0,0,0,0.12)"},...p},children:[e?v.jsx(w.CardMedia,{component:"img",image:e,alt:t,sx:{height:r,objectFit:"cover",bgcolor:"background.default"}}):v.jsx(w.Box,{sx:{height:r,display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"grey.100",color:"text.secondary"},children:n}),v.jsxs(w.CardContent,{sx:{display:"flex",flexDirection:"column",flexGrow:1,p:3},children:[v.jsx(w.Typography,{variant:"h6",sx:{fontWeight:600,color:"text.primary",mb:1},children:o}),i&&v.jsx(w.Typography,{variant:"body2",color:"text.secondary",sx:{flexGrow:1,mb:2,display:"-webkit-box",WebkitLineClamp:a,WebkitBoxOrient:"vertical",overflow:"hidden"},children:i}),l&&v.jsx(w.Typography,{variant:"h5",sx:{fontWeight:700,color:"primary.main",mb:2},children:l}),d]})]}),V&&v.jsxs(w.Dialog,{open:j,onClose:()=>M(!1),fullWidth:!0,maxWidth:"sm",children:[v.jsxs(w.DialogTitle,{sx:{borderBottom:2,borderColor:"divider",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[x,v.jsx(w.IconButton,{size:"small",onClick:()=>M(!1),"aria-label":"Close",children:v.jsx(Ue,{fontSize:"small"})})]}),v.jsx(w.DialogContent,{sx:{padding:0},children:g({onSubmit:Z,onCancel:()=>M(!1)})})]}),Q&&v.jsxs(w.Dialog,{open:I,onClose:()=>!y&&C(!1),fullWidth:!0,maxWidth:"xs",children:[v.jsxs(w.DialogTitle,{sx:{borderBottom:2,borderColor:"divider",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[b,v.jsx(w.IconButton,{size:"small",onClick:()=>C(!1),disabled:y,"aria-label":"Close",children:v.jsx(Ue,{fontSize:"small"})})]}),v.jsxs(w.DialogContent,{sx:{padding:0},children:[v.jsx(w.Box,{sx:{p:2},children:v.jsx(w.Typography,{children:c})}),v.jsxs(w.Stack,{direction:"row",spacing:2,sx:{justifyContent:"flex-end",borderTop:2,borderColor:"divider",p:2},children:[v.jsx(w.Button,{variant:"outlined",color:"inherit",onClick:()=>C(!1),disabled:y,children:"Cancel"}),v.jsx(w.Button,{onClick:se,color:"error",variant:"contained",disabled:y,children:y?"Deleting…":b})]})]})]})]})}const oa=He(v.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");function ia({items:e,renderItem:t,getItemKey:r,margin:n=8,spacing:o=2,gridSize:i={xs:12,sm:6,md:4},onAddNewItem:a,addNewItemForm:l,addNewItemLabel:d="Add New Item",loading:p=!1,skeletonCount:m=6,skeletonWidth:g=500,skeletonHeight:x=450,header:u}){const[b,c]=ae.useState(!1),S=!!(a&&l),j={xs:i.xs,sm:i.sm?Math.max(1,Math.floor(i.sm/2)):void 0,md:i.md?Math.max(1,Math.floor(i.md/2)):void 0,lg:i.lg?Math.max(1,Math.floor(i.lg/2)):void 0},M=async I=>{a&&(await a(I),c(!1))};return v.jsxs(w.Box,{sx:{margin:n},children:[u&&v.jsx(w.Box,{sx:{mb:3},children:u}),v.jsxs(w.Grid,{container:!0,spacing:o,sx:{width:"100%"},children:[p?Array.from({length:m}).map((I,C)=>v.jsx(w.Grid,{size:i,children:v.jsx(w.Skeleton,{variant:"rounded",animation:"wave",height:x,sx:{width:"100%",maxWidth:g,mx:"auto",borderRadius:4}})},`skeleton-${C}`)):e.map(I=>v.jsx(w.Grid,{size:i,children:t(I)},r(I))),!p&&S&&v.jsx(w.Grid,{size:j,children:v.jsx(w.Box,{sx:{height:"100%",minHeight:160,display:"flex",alignItems:"center",justifyContent:"center"},children:v.jsx(w.Card,{variant:"outlined",sx:{width:"100%",height:"50%",minHeight:80,display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"rgba(0, 0, 0, 0.04)",border:"3px dashed",borderColor:"grey.400",boxShadow:"none",transition:"all 0.2s ease",borderRadius:4,"&:hover":{bgcolor:"rgba(0, 0, 0, 0.08)",borderColor:"primary.main"}},children:v.jsxs(w.CardActionArea,{onClick:()=>c(!0),sx:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:1,p:2},children:[v.jsx(oa,{fontSize:"large",color:"action"}),v.jsx(w.Typography,{color:"text.secondary",children:d})]})})})})]}),S&&v.jsxs(w.Dialog,{open:b,onClose:()=>c(!1),fullWidth:!0,maxWidth:"sm",children:[v.jsxs(w.DialogTitle,{sx:{borderBottom:2,borderColor:"divider",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[d,v.jsx(w.IconButton,{size:"small",onClick:()=>c(!1),"aria-label":"Close",children:v.jsx(Ue,{fontSize:"small"})})]}),v.jsx(w.DialogContent,{sx:{padding:0},children:l({onSubmit:M,onCancel:()=>c(!1)})})]})]})}const aa=He(v.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload"),sa=e=>new Promise((t,r)=>{const n=new FileReader;n.onload=()=>t(n.result),n.onerror=r,n.readAsDataURL(e)});function la({label:e="Image",value:t,onChange:r,error:n,helperText:o,maxSizeMB:i=5,disabled:a=!1}){const[l,d]=ae.useState(!1),[p,m]=ae.useState(null),g=ae.useRef(null),x=ae.useCallback(async y=>{if(m(null),!y.type.startsWith("image/")){m("Only image files are allowed.");return}if(y.size>i*1024*1024){m(`Image must be smaller than ${i}MB.`);return}try{const O=await sa(y);r({base64:O,fileName:y.name,fileType:y.type,fileSize:y.size})}catch{m("Failed to read the image file.")}},[i,r]),u=ae.useCallback(y=>{var V;if(y.preventDefault(),y.stopPropagation(),d(!1),a)return;const O=(V=y.dataTransfer.files)==null?void 0:V[0];O&&x(O)},[a,x]),b=y=>{y.preventDefault(),y.stopPropagation(),a||d(!0)},c=y=>{y.preventDefault(),y.stopPropagation(),d(!1)},S=y=>{var V;const O=(V=y.target.files)==null?void 0:V[0];O&&x(O),y.target.value=""},j=()=>{var y;a||(y=g.current)==null||y.click()},M=y=>{y.stopPropagation(),r(null),m(null)},I=n||!!p,C=p||o;return v.jsxs(w.Box,{children:[v.jsx(w.Typography,{variant:"subtitle2",sx:{mb:.5},children:e}),v.jsxs(w.Paper,{variant:"outlined",onClick:j,onDrop:u,onDragOver:b,onDragLeave:c,sx:{p:3,textAlign:"center",cursor:a?"not-allowed":"pointer",borderStyle:"dashed",borderWidth:2,borderColor:I?"error.main":l?"primary.main":"divider",bgcolor:l?"action.hover":"background.paper",opacity:a?.5:1,transition:"border-color 0.15s, background-color 0.15s","&:hover":a?void 0:{borderColor:"primary.main",bgcolor:"action.hover"}},children:[v.jsx("input",{ref:g,type:"file",accept:"image/*",hidden:!0,disabled:a,onChange:S}),t?v.jsxs(w.Stack,{direction:"row",spacing:2,sx:{alignItems:"center",justifyContent:"center"},children:[v.jsx(w.Avatar,{src:t.base64,variant:"rounded",sx:{width:56,height:56}}),v.jsxs(w.Box,{sx:{textAlign:"left",minWidth:0},children:[v.jsx(w.Typography,{variant:"body2",noWrap:!0,sx:{maxWidth:220},children:t.fileName}),v.jsxs(w.Typography,{variant:"caption",color:"text.secondary",children:[(t.fileSize/1024).toFixed(1)," KB"]})]}),v.jsx(w.IconButton,{size:"small",onClick:M,disabled:a,children:v.jsx(Ue,{fontSize:"small"})})]}):v.jsxs(w.Stack,{spacing:1,sx:{alignItems:"center"},children:[v.jsx(aa,{color:"action"}),v.jsx(w.Typography,{variant:"body2",color:"text.secondary",children:"Drag & drop an image here, or click to browse"})]})]}),C&&v.jsx(w.FormHelperText,{error:I,children:C})]})}const ke=ae.forwardRef(function(t,r){const{fullWidth:n=!0,label:o,...i}=t,a=ae.useId(),l=i.id??a,d=x=>v.jsxs(w.Box,{sx:{width:n?"100%":"auto"},children:[o&&v.jsxs(w.Typography,{component:"label",htmlFor:l,variant:"body2",sx:{display:"block",mb:.5,fontWeight:500},children:[o,i.required&&v.jsx(w.Typography,{component:"span",sx:{color:"error.main",ml:.5},children:"*"})]}),x]});if(i.price){const{price:x,value:u,onChange:b,currencySymbol:c="$",slotProps:S,...j}=i,M=I=>{const C=I.target.value;if(C===""){b(void 0);return}const y=Number(C);Number.isNaN(y)||b(y)};return d(v.jsx(w.TextField,{...j,id:l,ref:r,fullWidth:n,type:"number",value:u??"",onChange:M,hiddenLabel:!0,slotProps:{...S,input:{...S==null?void 0:S.input,startAdornment:v.jsx(w.InputAdornment,{position:"start",children:c})},htmlInput:{min:0,step:"0.01",...S==null?void 0:S.htmlInput},formHelperText:{sx:{mx:0},...S==null?void 0:S.formHelperText}}}))}const{price:p,slotProps:m,...g}=i;return d(v.jsx(w.TextField,{...g,id:l,ref:r,fullWidth:n,hiddenLabel:!0,slotProps:{...m,formHelperText:{sx:{mx:0},...m==null?void 0:m.formHelperText}}}))});function ca({options:e,value:t,onChange:r,getOptionLabel:n,isOptionEqualToValue:o,label:i,icon:a,popupIcon:l,width:d=240,disableClearable:p=!0,variant:m="card",size:g="medium",sx:x}){const u=m==="minimal";return v.jsxs(w.Box,{sx:{position:"relative",width:d,...x},children:[a&&v.jsx(w.Box,{sx:{position:"absolute",left:12,top:"50%",transform:"translateY(-50%)",color:"text.secondary",zIndex:1,pointerEvents:"none",display:"flex",alignItems:"center"},children:a}),v.jsx(w.Autocomplete,{disableClearable:p,size:g,options:e,getOptionLabel:n,isOptionEqualToValue:o,value:t,popupIcon:l,onChange:(b,c)=>{c!==null&&r(c)},sx:{width:"100%","& .MuiOutlinedInput-root":{borderRadius:u?1:3,bgcolor:"transparent",boxShadow:u?"none":"0 2px 8px rgba(0,0,0,0.06)",transition:"all 0.2s ease",pl:a?4:void 0,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"primary.main"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"primary.main"}}},renderInput:b=>v.jsx(ke,{...b,label:i})})]})}function ua({title:e,subtitle:t,imageSrc:r,imageAlt:n="",minHeight:o="60vh"}){const i=!!r;return v.jsx(w.Box,{sx:{minHeight:{xs:"auto",md:o},display:"flex",justifyContent:"center",alignItems:"center",bgcolor:"background.paper",px:{xs:2,sm:3},py:{xs:5,md:0}},children:v.jsxs(w.Box,{sx:{width:"100%",maxWidth:1200,display:"flex",flexDirection:{xs:"column-reverse",md:"row"},alignItems:"center",justifyContent:i?"space-between":"center",gap:{xs:4,md:8}},children:[i&&v.jsx(w.Box,{sx:{order:{xs:0,md:1},width:"100%",maxWidth:{xs:"100%",md:550},minWidth:0},children:v.jsx(w.Box,{component:"img",src:r,alt:n,sx:{width:"100%",height:"auto",maxHeight:{xs:220,sm:280,md:400},borderRadius:2,objectFit:"cover",boxShadow:4,display:"block"}})}),v.jsxs(w.Box,{sx:{order:{xs:1,md:0},maxWidth:i?{xs:"100%",md:550}:700,minWidth:0,textAlign:i?{xs:"center",md:"left"}:"center"},children:[v.jsx(w.Typography,{variant:"h2",sx:{color:"primary.main",mb:2},children:e}),t&&v.jsx(w.Typography,{variant:"h6",sx:{color:"text.secondary"},children:t})]})]})})}const fa=400;function Mt({severity:e,children:t,onClose:r,autoHideDuration:n=2500}){const[o,i]=ae.useState(!0),a=()=>i(!1);return ae.useEffect(()=>{if(!n)return;const l=setTimeout(a,n);return()=>clearTimeout(l)},[n]),v.jsx(w.Fade,{in:o,timeout:fa,onExited:r,children:v.jsx(w.Box,{sx:{position:"fixed",bottom:{xs:16,sm:24},left:"50%",transform:"translateX(-50%)",zIndex:l=>l.zIndex.snackbar,width:{xs:"calc(100% - 32px)",sm:"auto"},maxWidth:480},children:v.jsx(w.Alert,{severity:e,variant:"standard",action:v.jsx(w.IconButton,{size:"small",color:"inherit",onClick:a,"aria-label":"close",children:v.jsx(Ue,{fontSize:"small"})}),sx:{backgroundColor:"background.paper",boxShadow:4},children:t})})})}const $r={name:"",email:"",subject:"",message:""};function da({onSubmit:e,submitLabel:t="Send message",successMessage:r="Your message has been sent!",errorMessage:n="There was an issue sending your message. Please try again."}){const[o,i]=ae.useState($r),[a,l]=ae.useState("idle"),d=m=>g=>i(x=>({...x,[m]:g.target.value})),p=async m=>{m.preventDefault(),l("submitting");try{await e(o),i($r),l("success")}catch{l("error")}};return v.jsx(w.Box,{component:"form",onSubmit:p,children:v.jsxs(w.Stack,{spacing:2,children:[v.jsx(ke,{label:"Name",value:o.name,onChange:d("name"),required:!0,fullWidth:!0}),v.jsx(ke,{label:"Email Address",type:"email",value:o.email,onChange:d("email"),required:!0,fullWidth:!0}),v.jsx(ke,{label:"Subject",value:o.subject,onChange:d("subject"),fullWidth:!0}),v.jsx(ke,{label:"Your message",value:o.message,onChange:d("message"),required:!0,fullWidth:!0,multiline:!0,minRows:4}),a==="success"&&v.jsx(Mt,{severity:"success",onClose:()=>l("idle"),children:r}),a==="error"&&v.jsx(Mt,{severity:"error",onClose:()=>l("idle"),children:n}),v.jsx(w.Button,{type:"submit",variant:"contained",disabled:a==="submitting",fullWidth:!0,children:a==="submitting"?v.jsx(w.CircularProgress,{size:22,color:"inherit"}):t})]})})}exports.Autocomplete=ca;exports.ContactForm=da;exports.DismissibleAlert=Mt;exports.HeroBanner=ua;exports.ImageField=la;exports.ItemGrid=ia;exports.MediaCard=na;exports.TextField=ke;
94
+ export default theme;`}function Ar(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const Ai=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 $i(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})`:Kr(t,Ai(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${Ar(r)})`:gt(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${Ar(r)})`:ht(t,r)}})}function Nt(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},motion:a={},transitions:l={},typography:d={},shape:p,colorSpace:m,...y}=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.":we(22));const x=Yt({...i,colorSpace:m}),u=zr(e);let v=fe(u,{mixins:fi(u.breakpoints,n),palette:x,shadows:yi.slice(),typography:pi(x,d),motion:wi(a),transitions:Ei(l),zIndex:{..._i}});if(v=fe(v,y),v=t.reduce((c,S)=>fe(c,S),v),delete v.transitions.reducedMotion,process.env.NODE_ENV!=="production"){const c=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],S=(P,M)=>{let I;for(I in P){const _=P[I];if(c.includes(I)&&Object.keys(_).length>0){if(process.env.NODE_ENV!=="production"){const h=Lt("",I);console.error([`MUI: The \`${M}\` component increases the CSS specificity of the \`${I}\` internal state.`,"You can not override it like this: ",JSON.stringify(P,null,2),"",`Instead, you need to use the '&.${h}' syntax:`,JSON.stringify({root:{[`&.${h}`]:_}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
95
+ `))}P[I]={}}}};Object.keys(v.components).forEach(P=>{const M=v.components[P].styleOverrides;M&&P.startsWith("Mui")&&S(M,P)})}return v.unstable_sxConfig={...pt,...y==null?void 0:y.unstable_sxConfig},v.unstable_sx=function(S){return Ye({sx:S,theme:this})},v.toRuntimeSource=Zr,$i(v),v}function Ri(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 ki=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ri(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function en(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function tn(e){return e==="dark"?ki:[]}function Pi(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=Yt({...t,colorSpace:o});return{palette:a,opacity:{...en(a.mode),...r},overlays:n||tn(a.mode),...i}}function ji(e){var t;return e[0]==="motion"||!!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 Ii=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ni=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 Ii(e.cssVarPrefix).forEach(l=>{a[l]=r[l],delete r[l]}),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 Mi(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function g(e,t,r){!e[t]&&r&&(e[t]=r)}function Le(e){return typeof e!="string"||!e.startsWith("hsl")?e:Hr(e)}function ge(e,t){`${t}Channel`in e||(e[`${t}Channel`]=We(Le(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().
96
+ 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 Di(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const me=e=>{try{return e()}catch{}},Bi=(e="mui")=>Jo(e);function At(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=Pi({...r,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return}const{palette:a,...l}=Nt({...n,palette:{mode:i,...r==null?void 0:r.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...en(i),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||tn(i)},l}function Fi(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:l=ji,colorSchemeSelector:d=r.light&&r.dark?"media":void 0,rootSelector:p=":root",...m}=e,y=Object.keys(r)[0],x=n||(r.light&&y!=="light"?"light":y),u=Bi(i),{[x]:v,light:c,dark:S,...P}=r,M={...P};let I=v;if((x==="dark"&&!("dark"in r)||x==="light"&&!("light"in r))&&(I=!0),!I)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${x}\` option is either missing or invalid.`:we(21,x));let _;a&&(_="oklch");const h=At(_,M,I,m,x);c&&!M.light&&At(_,M,c,void 0,"light"),S&&!M.dark&&At(_,M,S,void 0,"dark");let w={defaultColorScheme:x,...h,cssVarPrefix:i,colorSchemeSelector:d,rootSelector:p,getCssVar:u,colorSchemes:M,font:{...ui(h.typography),...h.font},spacing:Di(m.spacing)};Object.keys(w.colorSchemes).forEach(K=>{const s=w.colorSchemes[K].palette,$=N=>{const D=N.split("-"),te=D[1],ae=D[2];return u(N,s[te][ae])};s.mode==="light"&&(g(s.common,"background","#fff"),g(s.common,"onBackground","#000")),s.mode==="dark"&&(g(s.common,"background","#000"),g(s.common,"onBackground","#fff"));function E(N,D,te){if(_){let ae;return N===Te&&(ae=`transparent ${((1-te)*100).toFixed(0)}%`),N===q&&(ae=`#000 ${(te*100).toFixed(0)}%`),N===H&&(ae=`#fff ${(te*100).toFixed(0)}%`),`color-mix(in ${_}, ${D}, ${ae})`}return N(D,te)}if(Mi(s,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),s.mode==="light"){g(s.Alert,"errorColor",E(q,a?u("palette-error-light"):s.error.light,.6)),g(s.Alert,"infoColor",E(q,a?u("palette-info-light"):s.info.light,.6)),g(s.Alert,"successColor",E(q,a?u("palette-success-light"):s.success.light,.6)),g(s.Alert,"warningColor",E(q,a?u("palette-warning-light"):s.warning.light,.6)),g(s.Alert,"errorFilledBg",$("palette-error-main")),g(s.Alert,"infoFilledBg",$("palette-info-main")),g(s.Alert,"successFilledBg",$("palette-success-main")),g(s.Alert,"warningFilledBg",$("palette-warning-main")),g(s.Alert,"errorFilledColor",me(()=>s.getContrastText(s.error.main))),g(s.Alert,"infoFilledColor",me(()=>s.getContrastText(s.info.main))),g(s.Alert,"successFilledColor",me(()=>s.getContrastText(s.success.main))),g(s.Alert,"warningFilledColor",me(()=>s.getContrastText(s.warning.main))),g(s.Alert,"errorStandardBg",E(H,a?u("palette-error-light"):s.error.light,.9)),g(s.Alert,"infoStandardBg",E(H,a?u("palette-info-light"):s.info.light,.9)),g(s.Alert,"successStandardBg",E(H,a?u("palette-success-light"):s.success.light,.9)),g(s.Alert,"warningStandardBg",E(H,a?u("palette-warning-light"):s.warning.light,.9)),g(s.Alert,"errorIconColor",$("palette-error-main")),g(s.Alert,"infoIconColor",$("palette-info-main")),g(s.Alert,"successIconColor",$("palette-success-main")),g(s.Alert,"warningIconColor",$("palette-warning-main")),g(s.AppBar,"defaultBg",$("palette-grey-100")),g(s.Avatar,"defaultBg",$("palette-grey-400")),g(s.Button,"inheritContainedBg",$("palette-grey-300")),g(s.Button,"inheritContainedHoverBg",$("palette-grey-A100")),g(s.Chip,"defaultBorder",$("palette-grey-400")),g(s.Chip,"defaultAvatarColor",$("palette-grey-700")),g(s.Chip,"defaultIconColor",$("palette-grey-700")),g(s.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),g(s.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),g(s.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),g(s.LinearProgress,"primaryBg",E(H,a?u("palette-primary-main"):s.primary.main,.62)),g(s.LinearProgress,"secondaryBg",E(H,a?u("palette-secondary-main"):s.secondary.main,.62)),g(s.LinearProgress,"errorBg",E(H,a?u("palette-error-main"):s.error.main,.62)),g(s.LinearProgress,"infoBg",E(H,a?u("palette-info-main"):s.info.main,.62)),g(s.LinearProgress,"successBg",E(H,a?u("palette-success-main"):s.success.main,.62)),g(s.LinearProgress,"warningBg",E(H,a?u("palette-warning-light"):s.warning.main,.62)),g(s.Skeleton,"bg",_?E(Te,a?u("palette-text-primary"):s.text.primary,.11):`rgba(${$("palette-text-primaryChannel")} / 0.11)`),g(s.Slider,"primaryTrack",E(H,a?u("palette-primary-main"):s.primary.main,.62)),g(s.Slider,"secondaryTrack",E(H,a?u("palette-secondary-main"):s.secondary.main,.62)),g(s.Slider,"errorTrack",E(H,a?u("palette-error-main"):s.error.main,.62)),g(s.Slider,"infoTrack",E(H,a?u("palette-info-main"):s.info.main,.62)),g(s.Slider,"successTrack",E(H,a?u("palette-success-main"):s.success.main,.62)),g(s.Slider,"warningTrack",E(H,a?u("palette-warning-main"):s.warning.main,.62));const N=_?E(q,a?u("palette-background-default"):s.background.default,.6825):Xe(s.background.default,.8);g(s.SnackbarContent,"bg",N),g(s.SnackbarContent,"color",me(()=>_?It.text.primary:s.getContrastText(N))),g(s.SpeedDialAction,"fabHoverBg",Xe(s.background.paper,.15)),g(s.StepConnector,"border",$("palette-grey-400")),g(s.StepContent,"border",$("palette-grey-400")),g(s.Switch,"defaultColor",$("palette-common-white")),g(s.Switch,"defaultDisabledColor",$("palette-grey-100")),g(s.Switch,"primaryDisabledColor",E(H,a?u("palette-primary-main"):s.primary.main,.62)),g(s.Switch,"secondaryDisabledColor",E(H,a?u("palette-secondary-main"):s.secondary.main,.62)),g(s.Switch,"errorDisabledColor",E(H,a?u("palette-error-main"):s.error.main,.62)),g(s.Switch,"infoDisabledColor",E(H,a?u("palette-info-main"):s.info.main,.62)),g(s.Switch,"successDisabledColor",E(H,a?u("palette-success-main"):s.success.main,.62)),g(s.Switch,"warningDisabledColor",E(H,a?u("palette-warning-main"):s.warning.main,.62)),g(s.TableCell,"border",E(H,Te(a?u("palette-divider"):s.divider,1),.88)),g(s.Tooltip,"bg",E(Te,a?u("palette-grey-700"):s.grey[700],.92))}if(s.mode==="dark"){g(s.Alert,"errorColor",E(H,a?u("palette-error-light"):s.error.light,.6)),g(s.Alert,"infoColor",E(H,a?u("palette-info-light"):s.info.light,.6)),g(s.Alert,"successColor",E(H,a?u("palette-success-light"):s.success.light,.6)),g(s.Alert,"warningColor",E(H,a?u("palette-warning-light"):s.warning.light,.6)),g(s.Alert,"errorFilledBg",$("palette-error-dark")),g(s.Alert,"infoFilledBg",$("palette-info-dark")),g(s.Alert,"successFilledBg",$("palette-success-dark")),g(s.Alert,"warningFilledBg",$("palette-warning-dark")),g(s.Alert,"errorFilledColor",me(()=>s.getContrastText(s.error.dark))),g(s.Alert,"infoFilledColor",me(()=>s.getContrastText(s.info.dark))),g(s.Alert,"successFilledColor",me(()=>s.getContrastText(s.success.dark))),g(s.Alert,"warningFilledColor",me(()=>s.getContrastText(s.warning.dark))),g(s.Alert,"errorStandardBg",E(q,a?u("palette-error-light"):s.error.light,.9)),g(s.Alert,"infoStandardBg",E(q,a?u("palette-info-light"):s.info.light,.9)),g(s.Alert,"successStandardBg",E(q,a?u("palette-success-light"):s.success.light,.9)),g(s.Alert,"warningStandardBg",E(q,a?u("palette-warning-light"):s.warning.light,.9)),g(s.Alert,"errorIconColor",$("palette-error-main")),g(s.Alert,"infoIconColor",$("palette-info-main")),g(s.Alert,"successIconColor",$("palette-success-main")),g(s.Alert,"warningIconColor",$("palette-warning-main")),g(s.AppBar,"defaultBg",$("palette-grey-900")),g(s.AppBar,"darkBg",$("palette-background-paper")),g(s.AppBar,"darkColor",$("palette-text-primary")),g(s.Avatar,"defaultBg",$("palette-grey-600")),g(s.Button,"inheritContainedBg",$("palette-grey-800")),g(s.Button,"inheritContainedHoverBg",$("palette-grey-700")),g(s.Chip,"defaultBorder",$("palette-grey-700")),g(s.Chip,"defaultAvatarColor",$("palette-grey-300")),g(s.Chip,"defaultIconColor",$("palette-grey-300")),g(s.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),g(s.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),g(s.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),g(s.LinearProgress,"primaryBg",E(q,a?u("palette-primary-main"):s.primary.main,.5)),g(s.LinearProgress,"secondaryBg",E(q,a?u("palette-secondary-main"):s.secondary.main,.5)),g(s.LinearProgress,"errorBg",E(q,a?u("palette-error-main"):s.error.main,.5)),g(s.LinearProgress,"infoBg",E(q,a?u("palette-info-main"):s.info.main,.5)),g(s.LinearProgress,"successBg",E(q,a?u("palette-success-main"):s.success.main,.5)),g(s.LinearProgress,"warningBg",E(q,a?u("palette-warning-main"):s.warning.main,.5)),g(s.Skeleton,"bg",_?E(Te,a?u("palette-text-primary"):s.text.primary,.13):`rgba(${$("palette-text-primaryChannel")} / 0.13)`),g(s.Slider,"primaryTrack",E(q,a?u("palette-primary-main"):s.primary.main,.5)),g(s.Slider,"secondaryTrack",E(q,a?u("palette-secondary-main"):s.secondary.main,.5)),g(s.Slider,"errorTrack",E(q,a?u("palette-error-main"):s.error.main,.5)),g(s.Slider,"infoTrack",E(q,a?u("palette-info-main"):s.info.main,.5)),g(s.Slider,"successTrack",E(q,a?u("palette-success-main"):s.success.main,.5)),g(s.Slider,"warningTrack",E(q,a?u("palette-warning-light"):s.warning.main,.5));const N=_?E(H,a?u("palette-background-default"):s.background.default,.985):Xe(s.background.default,.98);g(s.SnackbarContent,"bg",N),g(s.SnackbarContent,"color",me(()=>_?Jr.text.primary:s.getContrastText(N))),g(s.SpeedDialAction,"fabHoverBg",Xe(s.background.paper,.15)),g(s.StepConnector,"border",$("palette-grey-600")),g(s.StepContent,"border",$("palette-grey-600")),g(s.Switch,"defaultColor",$("palette-grey-300")),g(s.Switch,"defaultDisabledColor",$("palette-grey-600")),g(s.Switch,"primaryDisabledColor",E(q,a?u("palette-primary-main"):s.primary.main,.55)),g(s.Switch,"secondaryDisabledColor",E(q,a?u("palette-secondary-main"):s.secondary.main,.55)),g(s.Switch,"errorDisabledColor",E(q,a?u("palette-error-main"):s.error.main,.55)),g(s.Switch,"infoDisabledColor",E(q,a?u("palette-info-main"):s.info.main,.55)),g(s.Switch,"successDisabledColor",E(q,a?u("palette-success-main"):s.success.main,.55)),g(s.Switch,"warningDisabledColor",E(q,a?u("palette-warning-light"):s.warning.main,.55)),g(s.TableCell,"border",E(q,Te(a?u("palette-divider"):s.divider,1),.68)),g(s.Tooltip,"bg",E(Te,a?u("palette-grey-700"):s.grey[700],.92))}a||(ge(s.background,"default"),ge(s.background,"paper"),ge(s.common,"background"),ge(s.common,"onBackground"),ge(s,"divider")),Object.keys(s).forEach(N=>{const D=s[N];N!=="tonalOffset"&&!a&&D&&typeof D=="object"&&(D.main&&g(s[N],"mainChannel",We(Le(D.main))),D.light&&g(s[N],"lightChannel",We(Le(D.light))),D.dark&&g(s[N],"darkChannel",We(Le(D.dark))),D.contrastText&&g(s[N],"contrastTextChannel",We(Le(D.contrastText))),N==="text"&&(ge(s[N],"primary"),ge(s[N],"secondary")),N==="action"&&(D.active&&ge(s[N],"active"),D.selected&&ge(s[N],"selected")))})}),w=t.reduce((K,s)=>fe(K,s),w);const W={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:l,getSelector:Ni(w),enableContrastVars:a},{vars:Q,generateThemeVars:ee,generateStyleSheets:ce}=ei(w,W);return w.vars=Q,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach(([K,s])=>{w[K]=s}),w.generateThemeVars=ee,w.generateStyleSheets=ce,w.generateSpacing=function(){return Lr(m.spacing,Bt(this))},w.getColorSchemeSelector=ti(d),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=l,w.unstable_sxConfig={...pt,...m==null?void 0:m.unstable_sxConfig},w.unstable_sx=function(s){return Ye({sx:s,theme:this})},w.internal_cache={},w.toRuntimeSource=Zr,w}function $r(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Yt({...r===!0?{}:r.palette,mode:t})})}function Vi(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,l=i||"light",d=o==null?void 0:o[l],p={...o,...r?{[l]:{...typeof d!="boolean"&&d,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return Nt(e,...t);let m=r;"palette"in e||p[l]&&(p[l]!==!0?m=p[l].palette:l==="dark"&&(m={mode:"dark"}));const y=Nt({...e,palette:m},...t);return y.defaultColorScheme=l,y.colorSchemes=p,y.palette.mode==="light"&&(y.colorSchemes.light={...p.light!==!0&&p.light,palette:y.palette},$r(y,"dark",p.dark)),y.palette.mode==="dark"&&(y.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:y.palette},$r(y,"light",p.light)),y}return!r&&!("light"in p)&&l==="light"&&(p.light=!0),Fi({...a,colorSchemes:p,defaultColorScheme:l,...typeof n!="boolean"&&n},...t)}const Wi=Vi(),Li="$$material";function zi(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Yi=e=>zi(e)&&e!=="classes",Ui=Fo({themeId:Li,defaultTheme:Wi,rootShouldForwardProp:Yi}),Gi=Xo;process.env.NODE_ENV!=="production"&&(Y.node,Y.object.isRequired);function qi(e){return Ko(e)}function Hi(e){return Lt("MuiSvgIcon",e)}Io("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ki={transition:"none"};function Xi(e,t){return e==="always"?t:e==="system"?{"@media (prefers-reduced-motion: reduce)":t}:null}const Ji={},Qi=["all"],Zi={};function ea(e,t){var n;const r=Ki;return Xi((n=e.motion)==null?void 0:n.reducedMotion,r)}function ta(e,t=Qi,r=Zi){var a,l;const n=(l=(a=e.transitions)==null?void 0:a.create)==null?void 0:l.call(a,t,r),o=ea(e);if(n===void 0)return o??Ji;const i={transition:n};return o?{...i,...o}:i}const ra=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${Ie(t)}`,`fontSize${Ie(r)}`]};return vn(o,Hi,n)},na=Ui("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${Ie(r.color)}`],t[`fontSize${Ie(r.fontSize)}`]]}})(Gi(({theme:e})=>{var t,r,n,o,i,a,l,d,p,m,y,x;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,...ta(e,"fill",{duration:(r=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:r.shorter}),variants:[{props:u=>!u.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((o=(n=e.typography)==null?void 0:n.pxToRem)==null?void 0:o.call(n,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((a=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:a.call(i,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:d.call(l,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,u])=>u&&u.main).map(([u])=>{var v,c;return{props:{color:u},style:{color:(c=(v=(e.vars??e).palette)==null?void 0:v[u])==null?void 0:c.main}}}),{props:{color:"action"},style:{color:(m=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(x=(y=(e.vars??e).palette)==null?void 0:y.action)==null?void 0:x.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),rt=ve.forwardRef(function(t,r){const n=qi({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:l="svg",fontSize:d="medium",htmlColor:p,inheritViewBox:m=!1,titleAccess:y,viewBox:x="0 0 24 24",...u}=n,v=ve.isValidElement(o)&&o.type==="svg",c={...n,color:a,component:l,fontSize:d,instanceFontSize:t.fontSize,inheritViewBox:m,viewBox:x,hasSvgAsChild:v},S={};m||(S.viewBox=x);const P=ra(c);return b.jsxs(na,{as:l,className:Ir(P.root,i),focusable:"false",color:p,"aria-hidden":y?void 0:!0,role:y?"img":void 0,ref:r,...S,...u,...v&&o.props,ownerState:c,children:[v?o.props.children:o,y?b.jsx("title",{children:y}):null]})});process.env.NODE_ENV!=="production"&&(rt.propTypes={children:Y.node,classes:Y.object,className:Y.string,color:Y.oneOfType([Y.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Y.string]),component:Y.elementType,fontSize:Y.oneOfType([Y.oneOf(["inherit","large","medium","small"]),Y.string]),htmlColor:Y.string,inheritViewBox:Y.bool,shapeRendering:Y.string,sx:Y.oneOfType([Y.arrayOf(Y.oneOfType([Y.func,Y.object,Y.bool])),Y.func,Y.object]),titleAccess:Y.string,viewBox:Y.string});rt.muiName="SvgIcon";function De(e,t){function r(n,o){return b.jsx(rt,{"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=rt.muiName,ve.memo(ve.forwardRef(r))}const oa=De(b.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),ia=De(b.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),Ut=De(b.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 yt({open:e,onClose:t,title:r,children:n,actions:o,maxWidth:i="sm",disableClose:a=!1}){const l=ie.useId();return b.jsxs(C.Dialog,{open:e,onClose:()=>!a&&t(),fullWidth:!0,maxWidth:i,"aria-labelledby":l,children:[b.jsxs(C.DialogTitle,{id:l,sx:{borderBottom:2,borderColor:"divider",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[r,b.jsx(C.IconButton,{size:"small",onClick:t,disabled:a,"aria-label":"Close",children:b.jsx(Ut,{fontSize:"small"})})]}),b.jsxs(C.DialogContent,{sx:{padding:0},children:[n,o&&b.jsx(C.Stack,{direction:"row",spacing:2,sx:{justifyContent:"flex-end",borderTop:2,borderColor:"divider",p:2},children:o})]})]})}function rn({open:e,onClose:t,onConfirm:r,title:n,message:o,confirmLabel:i="Confirm",cancelLabel:a="Cancel",pendingLabel:l,confirmColor:d="error"}){const[p,m]=ie.useState(!1),y=async()=>{m(!0);try{await r(),t()}finally{m(!1)}};return b.jsx(yt,{open:e,onClose:t,title:n,maxWidth:"xs",disableClose:p,actions:b.jsxs(b.Fragment,{children:[b.jsx(C.Button,{variant:"outlined",color:"inherit",onClick:t,disabled:p,children:a}),b.jsx(C.Button,{variant:"contained",color:d,onClick:y,disabled:p,children:p&&l?l:i})]}),children:b.jsx(C.Box,{sx:{p:2},children:b.jsx(C.Typography,{children:o})})})}function aa({image:e,imageAlt:t="",imageHeight:r=260,fallback:n=b.jsx(C.Typography,{children:"No Image Available"}),title:o,description:i,descriptionLines:a=3,highlight:l,footer:d,sx:p,onEdit:m,editForm:y,editLabel:x="Edit",onDelete:u,deleteLabel:v="Delete",deleteConfirmMessage:c="Are you sure you want to delete this item? This action cannot be undone.",onClick:S}){const[P,M]=ie.useState(!1),[I,_]=ie.useState(!1),h=!!(m&&y),w=!!u,W=async Q=>{m&&(await m(Q),M(!1))};return b.jsxs(C.Box,{sx:{position:"relative",height:"100%"},children:[(h||w)&&b.jsxs(C.Stack,{direction:"row",spacing:.5,sx:{position:"absolute",top:8,right:8,zIndex:1,bgcolor:"background.paper",borderRadius:1,boxShadow:1},children:[h&&b.jsx(C.IconButton,{size:"small",onClick:()=>M(!0),"aria-label":x,children:b.jsx(oa,{fontSize:"small"})}),w&&b.jsx(C.IconButton,{size:"small",onClick:()=>_(!0),"aria-label":v,children:b.jsx(ia,{fontSize:"small",color:"error"})})]}),b.jsxs(C.Card,{onClick:S,sx:{height:"100%",display:"flex",flexDirection:"column",borderRadius:3,overflow:"hidden",boxShadow:"0 4px 16px rgba(0,0,0,0.08)",transition:"all 0.25s ease","&:hover":{transform:"translateY(-4px)",boxShadow:"0 10px 28px rgba(0,0,0,0.12)"},...p},children:[e?b.jsx(C.CardMedia,{component:"img",image:e,alt:t,sx:{height:r,objectFit:"cover",bgcolor:"background.default"}}):b.jsx(C.Box,{sx:{height:r,display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"grey.100",color:"text.secondary"},children:n}),b.jsxs(C.CardContent,{sx:{display:"flex",flexDirection:"column",flexGrow:1,p:3},children:[b.jsx(C.Typography,{variant:"h6",sx:{fontWeight:600,color:"text.primary",mb:1},children:o}),i&&b.jsx(C.Typography,{variant:"body2",color:"text.secondary",sx:{flexGrow:1,mb:2,display:"-webkit-box",WebkitLineClamp:a,WebkitBoxOrient:"vertical",overflow:"hidden"},children:i}),l&&b.jsx(C.Typography,{variant:"h5",sx:{fontWeight:700,color:"primary.main",mb:2},children:l}),d]})]}),h&&b.jsx(yt,{open:P,onClose:()=>M(!1),title:x,children:y({onSubmit:W,onCancel:()=>M(!1)})}),w&&b.jsx(rn,{open:I,onClose:()=>_(!1),onConfirm:u,title:v,message:c,confirmLabel:v,pendingLabel:"Deleting…"})]})}const nn=De(b.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");function sa({items:e,renderItem:t,getItemKey:r,margin:n={xs:3,lg:8},spacing:o=2,gridSize:i={xs:12,sm:6,md:4},onAddNewItem:a,addNewItemForm:l,addNewItemLabel:d="Add New Item",loading:p=!1,skeletonCount:m=6,skeletonWidth:y="100%",skeletonHeight:x=450,renderSkeleton:u,header:v}){const[c,S]=ie.useState(!1),P=!!(a&&l),M={xs:i.xs,sm:i.sm?Math.max(1,Math.floor(i.sm/2)):void 0,md:i.md?Math.max(1,Math.floor(i.md/2)):void 0,lg:i.lg?Math.max(1,Math.floor(i.lg/2)):void 0},I=async h=>{a&&(await a(h),S(!1))},_=b.jsxs(C.Card,{sx:{width:"100%",maxWidth:y,minHeight:x,mx:"auto",borderRadius:3,overflow:"hidden",boxShadow:"0 4px 16px rgba(0,0,0,0.08)"},children:[b.jsx(C.Skeleton,{variant:"rectangular",animation:"wave",height:260,sx:{width:"100%"}}),b.jsxs(C.Box,{sx:{p:3},children:[b.jsx(C.Skeleton,{animation:"wave",width:"60%",height:32,sx:{mb:1}}),b.jsx(C.Skeleton,{animation:"wave",height:20}),b.jsx(C.Skeleton,{animation:"wave",height:20}),b.jsx(C.Skeleton,{animation:"wave",width:"30%",height:36,sx:{mt:2}})]})]});return b.jsxs(C.Box,{sx:{margin:n},children:[v&&b.jsx(C.Box,{sx:{mb:3},children:v}),b.jsxs(C.Grid,{container:!0,spacing:o,sx:{width:"100%"},children:[p?Array.from({length:m}).map((h,w)=>b.jsx(C.Grid,{size:i,children:u?u():_},`skeleton-${w}`)):e.map(h=>b.jsx(C.Grid,{size:i,children:t(h)},r(h))),!p&&P&&b.jsx(C.Grid,{size:M,children:b.jsx(C.Box,{sx:{height:"100%",minHeight:160,display:"flex",alignItems:"center",justifyContent:"center"},children:b.jsx(C.Card,{variant:"outlined",sx:{width:"100%",height:"50%",minHeight:80,display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"rgba(0, 0, 0, 0.04)",border:"3px dashed",borderColor:"grey.400",boxShadow:"none",transition:"all 0.2s ease",borderRadius:4,"&:hover":{bgcolor:"rgba(0, 0, 0, 0.08)",borderColor:"primary.main"}},children:b.jsxs(C.CardActionArea,{onClick:()=>S(!0),sx:{height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:1,p:2},children:[b.jsx(nn,{fontSize:"large",color:"action"}),b.jsx(C.Typography,{color:"text.secondary",children:d})]})})})})]}),P&&b.jsx(yt,{open:c,onClose:()=>S(!1),title:d,children:l({onSubmit:I,onCancel:()=>S(!1)})})]})}const la=De(b.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload"),ca=e=>new Promise((t,r)=>{const n=new FileReader;n.onload=()=>t(n.result),n.onerror=r,n.readAsDataURL(e)});function ua({label:e="Image",value:t,onChange:r,error:n,helperText:o,maxSizeMB:i=5,disabled:a=!1}){const[l,d]=ie.useState(!1),[p,m]=ie.useState(null),y=ie.useRef(null),x=ie.useCallback(async h=>{if(m(null),!h.type.startsWith("image/")){m("Only image files are allowed.");return}if(h.size>i*1024*1024){m(`Image must be smaller than ${i}MB.`);return}try{const w=await ca(h);r({base64:w,fileName:h.name,fileType:h.type,fileSize:h.size})}catch{m("Failed to read the image file.")}},[i,r]),u=ie.useCallback(h=>{var W;if(h.preventDefault(),h.stopPropagation(),d(!1),a)return;const w=(W=h.dataTransfer.files)==null?void 0:W[0];w&&x(w)},[a,x]),v=h=>{h.preventDefault(),h.stopPropagation(),a||d(!0)},c=h=>{h.preventDefault(),h.stopPropagation(),d(!1)},S=h=>{var W;const w=(W=h.target.files)==null?void 0:W[0];w&&x(w),h.target.value=""},P=()=>{var h;a||(h=y.current)==null||h.click()},M=h=>{h.stopPropagation(),r(null),m(null)},I=n||!!p,_=p||o;return b.jsxs(C.Box,{children:[b.jsx(C.Typography,{variant:"subtitle2",sx:{mb:.5},children:e}),b.jsxs(C.Paper,{variant:"outlined",onClick:P,onDrop:u,onDragOver:v,onDragLeave:c,sx:{p:3,textAlign:"center",cursor:a?"not-allowed":"pointer",borderStyle:"dashed",borderWidth:2,borderColor:I?"error.main":l?"primary.main":"divider",bgcolor:l?"action.hover":"background.paper",opacity:a?.5:1,transition:"border-color 0.15s, background-color 0.15s","&:hover":a?void 0:{borderColor:"primary.main",bgcolor:"action.hover"}},children:[b.jsx("input",{ref:y,type:"file",accept:"image/*",hidden:!0,disabled:a,onChange:S}),t?b.jsxs(C.Stack,{direction:"row",spacing:2,sx:{alignItems:"center",justifyContent:"center"},children:[b.jsx(C.Avatar,{src:t.base64,variant:"rounded",sx:{width:56,height:56}}),b.jsxs(C.Box,{sx:{textAlign:"left",minWidth:0},children:[b.jsx(C.Typography,{variant:"body2",noWrap:!0,sx:{maxWidth:220},children:t.fileName}),b.jsxs(C.Typography,{variant:"caption",color:"text.secondary",children:[(t.fileSize/1024).toFixed(1)," KB"]})]}),b.jsx(C.IconButton,{size:"small",onClick:M,disabled:a,children:b.jsx(Ut,{fontSize:"small"})})]}):b.jsxs(C.Stack,{spacing:1,sx:{alignItems:"center"},children:[b.jsx(la,{color:"action"}),b.jsx(C.Typography,{variant:"body2",color:"text.secondary",children:"Drag & drop an image here, or click to browse"})]})]}),_&&b.jsx(C.FormHelperText,{error:I,children:_})]})}const ke=ie.forwardRef(function(t,r){const{fullWidth:n=!0,label:o,...i}=t,a=ie.useId(),l=i.id??a,d=x=>b.jsxs(C.Box,{sx:{width:n?"100%":"auto"},children:[o&&b.jsxs(C.Typography,{component:"label",htmlFor:l,variant:"body2",sx:{display:"block",mb:.5,fontWeight:500},children:[o,i.required&&b.jsx(C.Typography,{component:"span",sx:{color:"error.main",ml:.5},children:"*"})]}),x]});if(i.price){const{price:x,value:u,onChange:v,currencySymbol:c="$",slotProps:S,...P}=i,M=I=>{const _=I.target.value;if(_===""){v(void 0);return}const h=Number(_);Number.isNaN(h)||v(h)};return d(b.jsx(C.TextField,{...P,id:l,ref:r,fullWidth:n,type:"number",value:u??"",onChange:M,hiddenLabel:!0,slotProps:{...S,input:{...S==null?void 0:S.input,startAdornment:b.jsx(C.InputAdornment,{position:"start",children:c})},htmlInput:{min:0,step:"0.01",...S==null?void 0:S.htmlInput},formHelperText:{sx:{mx:0},...S==null?void 0:S.formHelperText}}}))}const{price:p,slotProps:m,...y}=i;return d(b.jsx(C.TextField,{...y,id:l,ref:r,fullWidth:n,hiddenLabel:!0,slotProps:{...m,formHelperText:{sx:{mx:0},...m==null?void 0:m.formHelperText}}}))});function fa({options:e,value:t,onChange:r,getOptionLabel:n,isOptionEqualToValue:o,label:i,icon:a,popupIcon:l,width:d=240,disableClearable:p=!0,variant:m="card",size:y="medium",sx:x}){const u=m==="minimal";return b.jsxs(C.Box,{sx:{position:"relative",width:d,...x},children:[a&&b.jsx(C.Box,{sx:{position:"absolute",left:12,top:"50%",transform:"translateY(-50%)",color:"text.secondary",zIndex:1,pointerEvents:"none",display:"flex",alignItems:"center"},children:a}),b.jsx(C.Autocomplete,{disableClearable:p,size:y,options:e,getOptionLabel:n,isOptionEqualToValue:o,value:t,popupIcon:l,onChange:(v,c)=>{c!==null&&r(c)},sx:{width:"100%","& .MuiOutlinedInput-root":{borderRadius:u?1:3,bgcolor:"transparent",boxShadow:u?"none":"0 2px 8px rgba(0,0,0,0.06)",transition:"all 0.2s ease",pl:a?4:void 0,"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"primary.main"},"&.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"primary.main"}}},renderInput:v=>b.jsx(ke,{...v,label:i})})]})}function da({title:e,subtitle:t,imageSrc:r,imageAlt:n="",minHeight:o="60vh"}){const i=!!r;return b.jsx(C.Box,{sx:{minHeight:{xs:"auto",md:o},display:"flex",justifyContent:"center",alignItems:"center",bgcolor:"background.paper",px:{xs:2,sm:3},py:{xs:5,md:0}},children:b.jsxs(C.Box,{sx:{width:"100%",maxWidth:1200,display:"flex",flexDirection:{xs:"column-reverse",md:"row"},alignItems:"center",justifyContent:i?"space-between":"center",gap:{xs:4,md:8}},children:[i&&b.jsx(C.Box,{sx:{order:{xs:0,md:1},width:"100%",maxWidth:{xs:"100%",md:550},minWidth:0},children:b.jsx(C.Box,{component:"img",src:r,alt:n,sx:{width:"100%",height:"auto",maxHeight:{xs:220,sm:280,md:400},borderRadius:2,objectFit:"cover",boxShadow:4,display:"block"}})}),b.jsxs(C.Box,{sx:{order:{xs:1,md:0},maxWidth:i?{xs:"100%",md:550}:700,minWidth:0,textAlign:i?{xs:"center",md:"left"}:"center"},children:[b.jsx(C.Typography,{variant:"h2",sx:{color:"primary.main",mb:2},children:e}),t&&b.jsx(C.Typography,{variant:"h6",sx:{color:"text.secondary"},children:t})]})]})})}const pa=400;function Mt({severity:e,children:t,onClose:r,autoHideDuration:n=2500}){const[o,i]=ie.useState(!0),a=()=>i(!1);return ie.useEffect(()=>{if(!n)return;const l=setTimeout(a,n);return()=>clearTimeout(l)},[n]),b.jsx(C.Fade,{in:o,timeout:pa,onExited:r,children:b.jsx(C.Box,{sx:{position:"fixed",bottom:{xs:16,sm:24},left:"50%",transform:"translateX(-50%)",zIndex:l=>l.zIndex.snackbar,width:{xs:"calc(100% - 32px)",sm:"auto"},maxWidth:480},children:b.jsx(C.Alert,{severity:e,variant:"standard",action:b.jsx(C.IconButton,{size:"small",color:"inherit",onClick:a,"aria-label":"close",children:b.jsx(Ut,{fontSize:"small"})}),sx:{backgroundColor:"background.paper",boxShadow:4},children:t})})})}const Rr={name:"",email:"",subject:"",message:""};function ma({onSubmit:e,submitLabel:t="Send message",successMessage:r="Your message has been sent!",errorMessage:n="There was an issue sending your message. Please try again."}){const[o,i]=ie.useState(Rr),[a,l]=ie.useState("idle"),d=m=>y=>i(x=>({...x,[m]:y.target.value})),p=async m=>{m.preventDefault(),l("submitting");try{await e(o),i(Rr),l("success")}catch{l("error")}};return b.jsx(C.Box,{component:"form",onSubmit:p,children:b.jsxs(C.Stack,{spacing:2,children:[b.jsx(ke,{label:"Name",value:o.name,onChange:d("name"),required:!0,fullWidth:!0}),b.jsx(ke,{label:"Email Address",type:"email",value:o.email,onChange:d("email"),required:!0,fullWidth:!0}),b.jsx(ke,{label:"Subject",value:o.subject,onChange:d("subject"),fullWidth:!0}),b.jsx(ke,{label:"Your message",value:o.message,onChange:d("message"),required:!0,fullWidth:!0,multiline:!0,minRows:4}),a==="success"&&b.jsx(Mt,{severity:"success",onClose:()=>l("idle"),children:r}),a==="error"&&b.jsx(Mt,{severity:"error",onClose:()=>l("idle"),children:n}),b.jsx(C.Button,{type:"submit",variant:"contained",disabled:a==="submitting",fullWidth:!0,children:a==="submitting"?b.jsx(C.CircularProgress,{size:22,color:"inherit"}):t})]})})}const ha=De(b.jsx("path",{d:"M19 13H5v-2h14z"}),"Remove");function ga({value:e,onChange:t,min:r=1,max:n=1/0,label:o="quantity",size:i="medium"}){return b.jsxs(C.Stack,{direction:"row",sx:{alignItems:"center",width:"fit-content",border:1,borderColor:"divider",borderRadius:999},children:[b.jsx(C.IconButton,{size:i,"aria-label":`Decrease ${o}`,onClick:()=>t(Math.max(r,e-1)),disabled:e<=r,children:b.jsx(ha,{fontSize:"small"})}),b.jsx(C.Typography,{component:"output","aria-label":o,sx:{minWidth:32,textAlign:"center",fontWeight:600},children:e}),b.jsx(C.IconButton,{size:i,"aria-label":`Increase ${o}`,onClick:()=>t(Math.min(n,e+1)),disabled:e>=n,children:b.jsx(nn,{fontSize:"small"})})]})}exports.Autocomplete=fa;exports.ConfirmDialog=rn;exports.ContactForm=ma;exports.DismissibleAlert=Mt;exports.HeroBanner=da;exports.ImageField=ua;exports.ItemGrid=sa;exports.MediaCard=aa;exports.QuantityPicker=ga;exports.TextField=ke;exports.TitledDialog=yt;
97
97
  //# sourceMappingURL=sosk-ui-lib.cjs.map