mui-dynamic-field
Version:
A dynamic and customizable input field component for React, built with Material UI & TypeScript.
73 lines (71 loc) • 585 kB
JavaScript
"use strict";var Tf=Object.defineProperty;var If=(A,e,t)=>e in A?Tf(A,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):A[e]=t;var Vt=(A,e,t)=>If(A,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const nA=require("react"),AA=require("@mui/material"),nr=require("react-dom");function ac(A){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(A){for(const t in A)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(A,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>A[t]})}}return e.default=A,Object.freeze(e)}const b=ac(nA),Mf=ac(nr);function Ff(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Or={exports:{}},Wt={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var os;function Sf(){if(os)return Wt;os=1;var A=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function t(r,n,o){var i=null;if(o!==void 0&&(i=""+o),n.key!==void 0&&(i=""+n.key),"key"in n){o={};for(var s in n)s!=="key"&&(o[s]=n[s])}else o=n;return n=o.ref,{$$typeof:A,type:r,key:i,ref:n!==void 0?n:null,props:o}}return Wt.Fragment=e,Wt.jsx=t,Wt.jsxs=t,Wt}var $t={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var is;function kf(){return is||(is=1,process.env.NODE_ENV!=="production"&&function(){function A(p){if(p==null)return null;if(typeof p=="function")return p.$$typeof===_?null:p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case M:return"Fragment";case d:return"Portal";case L:return"Profiler";case k:return"StrictMode";case S:return"Suspense";case H:return"SuspenseList"}if(typeof p=="object")switch(typeof p.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),p.$$typeof){case l:return(p.displayName||"Context")+".Provider";case z:return(p._context.displayName||"Context")+".Consumer";case x:var j=p.render;return p=p.displayName,p||(p=j.displayName||j.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case O:return j=p.displayName||null,j!==null?j:A(p.type)||"Memo";case $:j=p._payload,p=p._init;try{return A(p(j))}catch{}}return null}function e(p){return""+p}function t(p){try{e(p);var j=!1}catch{j=!0}if(j){j=console;var G=j.error,aA=typeof Symbol=="function"&&Symbol.toStringTag&&p[Symbol.toStringTag]||p.constructor.name||"Object";return G.call(j,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",aA),e(p)}}function r(){}function n(){if(Y===0){U=console.log,K=console.info,W=console.warn,tA=console.error,V=console.group,X=console.groupCollapsed,oA=console.groupEnd;var p={configurable:!0,enumerable:!0,value:r,writable:!0};Object.defineProperties(console,{info:p,log:p,warn:p,error:p,group:p,groupCollapsed:p,groupEnd:p})}Y++}function o(){if(Y--,Y===0){var p={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},p,{value:U}),info:F({},p,{value:K}),warn:F({},p,{value:W}),error:F({},p,{value:tA}),group:F({},p,{value:V}),groupCollapsed:F({},p,{value:X}),groupEnd:F({},p,{value:oA})})}0>Y&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function i(p){if(y===void 0)try{throw Error()}catch(G){var j=G.stack.trim().match(/\n( *(at )?)/);y=j&&j[1]||"",fA=-1<G.stack.indexOf(`
at`)?" (<anonymous>)":-1<G.stack.indexOf("@")?"@unknown:0:0":""}return`
`+y+p+fA}function s(p,j){if(!p||gA)return"";var G=PA.get(p);if(G!==void 0)return G;gA=!0,G=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var aA=null;aA=eA.H,eA.H=null,n();try{var dA={DetermineComponentFrameRoot:function(){try{if(j){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(_A){var ve=_A}Reflect.construct(p,[],te)}else{try{te.call()}catch(_A){ve=_A}p.call(te.prototype)}}else{try{throw Error()}catch(_A){ve=_A}(te=p())&&typeof te.catch=="function"&&te.catch(function(){})}}catch(_A){if(_A&&ve&&typeof _A.stack=="string")return[_A.stack,ve.stack]}return[null,null]}};dA.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var uA=Object.getOwnPropertyDescriptor(dA.DetermineComponentFrameRoot,"name");uA&&uA.configurable&&Object.defineProperty(dA.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var rA=dA.DetermineComponentFrameRoot(),ZA=rA[0],de=rA[1];if(ZA&&de){var pA=ZA.split(`
`),ie=de.split(`
`);for(rA=uA=0;uA<pA.length&&!pA[uA].includes("DetermineComponentFrameRoot");)uA++;for(;rA<ie.length&&!ie[rA].includes("DetermineComponentFrameRoot");)rA++;if(uA===pA.length||rA===ie.length)for(uA=pA.length-1,rA=ie.length-1;1<=uA&&0<=rA&&pA[uA]!==ie[rA];)rA--;for(;1<=uA&&0<=rA;uA--,rA--)if(pA[uA]!==ie[rA]){if(uA!==1||rA!==1)do if(uA--,rA--,0>rA||pA[uA]!==ie[rA]){var me=`
`+pA[uA].replace(" at new "," at ");return p.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",p.displayName)),typeof p=="function"&&PA.set(p,me),me}while(1<=uA&&0<=rA);break}}}finally{gA=!1,eA.H=aA,o(),Error.prepareStackTrace=G}return pA=(pA=p?p.displayName||p.name:"")?i(pA):"",typeof p=="function"&&PA.set(p,pA),pA}function u(p){if(p==null)return"";if(typeof p=="function"){var j=p.prototype;return s(p,!(!j||!j.isReactComponent))}if(typeof p=="string")return i(p);switch(p){case S:return i("Suspense");case H:return i("SuspenseList")}if(typeof p=="object")switch(p.$$typeof){case x:return p=s(p.render,!1),p;case O:return u(p.type);case $:j=p._payload,p=p._init;try{return u(p(j))}catch{}}return""}function f(){var p=eA.A;return p===null?null:p.getOwner()}function v(p){if(D.call(p,"key")){var j=Object.getOwnPropertyDescriptor(p,"key").get;if(j&&j.isReactWarning)return!1}return p.key!==void 0}function g(p,j){function G(){jA||(jA=!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)",j))}G.isReactWarning=!0,Object.defineProperty(p,"key",{get:G,configurable:!0})}function w(){var p=A(this.type);return GA[p]||(GA[p]=!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.")),p=this.props.ref,p!==void 0?p:null}function P(p,j,G,aA,dA,uA){return G=uA.ref,p={$$typeof:m,type:p,key:j,props:uA,_owner:dA},(G!==void 0?G:null)!==null?Object.defineProperty(p,"ref",{enumerable:!1,get:w}):Object.defineProperty(p,"ref",{enumerable:!1,value:null}),p._store={},Object.defineProperty(p._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(p,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(p.props),Object.freeze(p)),p}function B(p,j,G,aA,dA,uA){if(typeof p=="string"||typeof p=="function"||p===M||p===L||p===k||p===S||p===H||p===q||typeof p=="object"&&p!==null&&(p.$$typeof===$||p.$$typeof===O||p.$$typeof===l||p.$$typeof===z||p.$$typeof===x||p.$$typeof===Z||p.getModuleId!==void 0)){var rA=j.children;if(rA!==void 0)if(aA)if(J(rA)){for(aA=0;aA<rA.length;aA++)a(rA[aA],p);Object.freeze&&Object.freeze(rA)}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 a(rA,p)}else rA="",(p===void 0||typeof p=="object"&&p!==null&&Object.keys(p).length===0)&&(rA+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),p===null?aA="null":J(p)?aA="array":p!==void 0&&p.$$typeof===m?(aA="<"+(A(p.type)||"Unknown")+" />",rA=" Did you accidentally export a JSX literal instead of a component?"):aA=typeof p,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",aA,rA);if(D.call(j,"key")){rA=A(p);var ZA=Object.keys(j).filter(function(pA){return pA!=="key"});aA=0<ZA.length?"{key: someKey, "+ZA.join(": ..., ")+": ...}":"{key: someKey}",fe[rA+aA]||(ZA=0<ZA.length?"{"+ZA.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,aA,rA,ZA,rA),fe[rA+aA]=!0)}if(rA=null,G!==void 0&&(t(G),rA=""+G),v(j)&&(t(j.key),rA=""+j.key),"key"in j){G={};for(var de in j)de!=="key"&&(G[de]=j[de])}else G=j;return rA&&g(G,typeof p=="function"?p.displayName||p.name||"Unknown":p),P(p,rA,uA,dA,f(),G)}function a(p,j){if(typeof p=="object"&&p&&p.$$typeof!==XA){if(J(p))for(var G=0;G<p.length;G++){var aA=p[G];h(aA)&&Q(aA,j)}else if(h(p))p._store&&(p._store.validated=1);else if(p===null||typeof p!="object"?G=null:(G=iA&&p[iA]||p["@@iterator"],G=typeof G=="function"?G:null),typeof G=="function"&&G!==p.entries&&(G=G.call(p),G!==p))for(;!(p=G.next()).done;)h(p.value)&&Q(p.value,j)}}function h(p){return typeof p=="object"&&p!==null&&p.$$typeof===m}function Q(p,j){if(p._store&&!p._store.validated&&p.key==null&&(p._store.validated=1,j=E(j),!FA[j])){FA[j]=!0;var G="";p&&p._owner!=null&&p._owner!==f()&&(G=null,typeof p._owner.tag=="number"?G=A(p._owner.type):typeof p._owner.name=="string"&&(G=p._owner.name),G=" It was passed a child from "+G+".");var aA=eA.getCurrentStack;eA.getCurrentStack=function(){var dA=u(p.type);return aA&&(dA+=aA()||""),dA},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',j,G),eA.getCurrentStack=aA}}function E(p){var j="",G=f();return G&&(G=A(G.type))&&(j=`
Check the render method of \``+G+"`."),j||(p=A(p))&&(j=`
Check the top-level render call using <`+p+">."),j}var C=nA,m=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),l=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),S=Symbol.for("react.suspense"),H=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),q=Symbol.for("react.offscreen"),iA=Symbol.iterator,_=Symbol.for("react.client.reference"),eA=C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=Object.prototype.hasOwnProperty,F=Object.assign,Z=Symbol.for("react.client.reference"),J=Array.isArray,Y=0,U,K,W,tA,V,X,oA;r.__reactDisabledLog=!0;var y,fA,gA=!1,PA=new(typeof WeakMap=="function"?WeakMap:Map),XA=Symbol.for("react.client.reference"),jA,GA={},fe={},FA={};$t.Fragment=M,$t.jsx=function(p,j,G,aA,dA){return B(p,j,G,!1,aA,dA)},$t.jsxs=function(p,j,G,aA,dA){return B(p,j,G,!0,aA,dA)}}()),$t}var ss;function Hf(){return ss||(ss=1,process.env.NODE_ENV==="production"?Or.exports=Sf():Or.exports=kf()),Or.exports}var sA=Hf();function jf(A,e){return process.env.NODE_ENV==="production"?()=>null:function(...r){return A(...r)||e(...r)}}var Lr={exports:{}},SA={};/**
* @license React
* react-is.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var as;function Of(){if(as)return SA;as=1;var A=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),P=Symbol.for("react.client.reference");function B(a){if(typeof a=="object"&&a!==null){var h=a.$$typeof;switch(h){case A:switch(a=a.type,a){case t:case n:case r:case u:case f:return a;default:switch(a=a&&a.$$typeof,a){case i:case s:case g:case v:return a;case o:return a;default:return h}}case e:return h}}}return SA.ContextConsumer=o,SA.ContextProvider=i,SA.Element=A,SA.ForwardRef=s,SA.Fragment=t,SA.Lazy=g,SA.Memo=v,SA.Portal=e,SA.Profiler=n,SA.StrictMode=r,SA.Suspense=u,SA.SuspenseList=f,SA.isContextConsumer=function(a){return B(a)===o},SA.isContextProvider=function(a){return B(a)===i},SA.isElement=function(a){return typeof a=="object"&&a!==null&&a.$$typeof===A},SA.isForwardRef=function(a){return B(a)===s},SA.isFragment=function(a){return B(a)===t},SA.isLazy=function(a){return B(a)===g},SA.isMemo=function(a){return B(a)===v},SA.isPortal=function(a){return B(a)===e},SA.isProfiler=function(a){return B(a)===n},SA.isStrictMode=function(a){return B(a)===r},SA.isSuspense=function(a){return B(a)===u},SA.isSuspenseList=function(a){return B(a)===f},SA.isValidElementType=function(a){return typeof a=="string"||typeof a=="function"||a===t||a===n||a===r||a===u||a===f||a===w||typeof a=="object"&&a!==null&&(a.$$typeof===g||a.$$typeof===v||a.$$typeof===i||a.$$typeof===o||a.$$typeof===s||a.$$typeof===P||a.getModuleId!==void 0)},SA.typeOf=B,SA}var kA={};/**
* @license React
* react-is.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var cs;function Lf(){return cs||(cs=1,process.env.NODE_ENV!=="production"&&function(){function A(a){if(typeof a=="object"&&a!==null){var h=a.$$typeof;switch(h){case e:switch(a=a.type,a){case r:case o:case n:case f:case v:return a;default:switch(a=a&&a.$$typeof,a){case s:case u:case w:case g:return a;case i:return a;default:return h}}case t:return h}}}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"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),B=Symbol.for("react.client.reference");kA.ContextConsumer=i,kA.ContextProvider=s,kA.Element=e,kA.ForwardRef=u,kA.Fragment=r,kA.Lazy=w,kA.Memo=g,kA.Portal=t,kA.Profiler=o,kA.StrictMode=n,kA.Suspense=f,kA.SuspenseList=v,kA.isContextConsumer=function(a){return A(a)===i},kA.isContextProvider=function(a){return A(a)===s},kA.isElement=function(a){return typeof a=="object"&&a!==null&&a.$$typeof===e},kA.isForwardRef=function(a){return A(a)===u},kA.isFragment=function(a){return A(a)===r},kA.isLazy=function(a){return A(a)===w},kA.isMemo=function(a){return A(a)===g},kA.isPortal=function(a){return A(a)===t},kA.isProfiler=function(a){return A(a)===o},kA.isStrictMode=function(a){return A(a)===n},kA.isSuspense=function(a){return A(a)===f},kA.isSuspenseList=function(a){return A(a)===v},kA.isValidElementType=function(a){return typeof a=="string"||typeof a=="function"||a===r||a===o||a===n||a===f||a===v||a===P||typeof a=="object"&&a!==null&&(a.$$typeof===w||a.$$typeof===g||a.$$typeof===s||a.$$typeof===i||a.$$typeof===u||a.$$typeof===B||a.getModuleId!==void 0)},kA.typeOf=A}()),kA}var ls;function zf(){return ls||(ls=1,process.env.NODE_ENV==="production"?Lr.exports=Of():Lr.exports=Lf()),Lr.exports}var fn=zf();function _e(A){if(typeof A!="object"||A===null)return!1;const e=Object.getPrototypeOf(A);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in A)&&!(Symbol.iterator in A)}function cc(A){if(b.isValidElement(A)||fn.isValidElementType(A)||!_e(A))return A;const e={};return Object.keys(A).forEach(t=>{e[t]=cc(A[t])}),e}function Qe(A,e,t={clone:!0}){const r=t.clone?{...A}:A;return _e(A)&&_e(e)&&Object.keys(e).forEach(n=>{b.isValidElement(e[n])||fn.isValidElementType(e[n])?r[n]=e[n]:_e(e[n])&&Object.prototype.hasOwnProperty.call(A,n)&&_e(A[n])?r[n]=Qe(A[n],e[n],t):t.clone?r[n]=_e(e[n])?cc(e[n]):e[n]:r[n]=e[n]}),r}var zr={exports:{}},Rr={exports:{}},yA={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var fs;function Rf(){if(fs)return yA;fs=1;var A=typeof Symbol=="function"&&Symbol.for,e=A?Symbol.for("react.element"):60103,t=A?Symbol.for("react.portal"):60106,r=A?Symbol.for("react.fragment"):60107,n=A?Symbol.for("react.strict_mode"):60108,o=A?Symbol.for("react.profiler"):60114,i=A?Symbol.for("react.provider"):60109,s=A?Symbol.for("react.context"):60110,u=A?Symbol.for("react.async_mode"):60111,f=A?Symbol.for("react.concurrent_mode"):60111,v=A?Symbol.for("react.forward_ref"):60112,g=A?Symbol.for("react.suspense"):60113,w=A?Symbol.for("react.suspense_list"):60120,P=A?Symbol.for("react.memo"):60115,B=A?Symbol.for("react.lazy"):60116,a=A?Symbol.for("react.block"):60121,h=A?Symbol.for("react.fundamental"):60117,Q=A?Symbol.for("react.responder"):60118,E=A?Symbol.for("react.scope"):60119;function C(d){if(typeof d=="object"&&d!==null){var M=d.$$typeof;switch(M){case e:switch(d=d.type,d){case u:case f:case r:case o:case n:case g:return d;default:switch(d=d&&d.$$typeof,d){case s:case v:case B:case P:case i:return d;default:return M}}case t:return M}}}function m(d){return C(d)===f}return yA.AsyncMode=u,yA.ConcurrentMode=f,yA.ContextConsumer=s,yA.ContextProvider=i,yA.Element=e,yA.ForwardRef=v,yA.Fragment=r,yA.Lazy=B,yA.Memo=P,yA.Portal=t,yA.Profiler=o,yA.StrictMode=n,yA.Suspense=g,yA.isAsyncMode=function(d){return m(d)||C(d)===u},yA.isConcurrentMode=m,yA.isContextConsumer=function(d){return C(d)===s},yA.isContextProvider=function(d){return C(d)===i},yA.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},yA.isForwardRef=function(d){return C(d)===v},yA.isFragment=function(d){return C(d)===r},yA.isLazy=function(d){return C(d)===B},yA.isMemo=function(d){return C(d)===P},yA.isPortal=function(d){return C(d)===t},yA.isProfiler=function(d){return C(d)===o},yA.isStrictMode=function(d){return C(d)===n},yA.isSuspense=function(d){return C(d)===g},yA.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===f||d===o||d===n||d===g||d===w||typeof d=="object"&&d!==null&&(d.$$typeof===B||d.$$typeof===P||d.$$typeof===i||d.$$typeof===s||d.$$typeof===v||d.$$typeof===h||d.$$typeof===Q||d.$$typeof===E||d.$$typeof===a)},yA.typeOf=C,yA}var EA={};/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var us;function Nf(){return us||(us=1,process.env.NODE_ENV!=="production"&&function(){var A=typeof Symbol=="function"&&Symbol.for,e=A?Symbol.for("react.element"):60103,t=A?Symbol.for("react.portal"):60106,r=A?Symbol.for("react.fragment"):60107,n=A?Symbol.for("react.strict_mode"):60108,o=A?Symbol.for("react.profiler"):60114,i=A?Symbol.for("react.provider"):60109,s=A?Symbol.for("react.context"):60110,u=A?Symbol.for("react.async_mode"):60111,f=A?Symbol.for("react.concurrent_mode"):60111,v=A?Symbol.for("react.forward_ref"):60112,g=A?Symbol.for("react.suspense"):60113,w=A?Symbol.for("react.suspense_list"):60120,P=A?Symbol.for("react.memo"):60115,B=A?Symbol.for("react.lazy"):60116,a=A?Symbol.for("react.block"):60121,h=A?Symbol.for("react.fundamental"):60117,Q=A?Symbol.for("react.responder"):60118,E=A?Symbol.for("react.scope"):60119;function C(y){return typeof y=="string"||typeof y=="function"||y===r||y===f||y===o||y===n||y===g||y===w||typeof y=="object"&&y!==null&&(y.$$typeof===B||y.$$typeof===P||y.$$typeof===i||y.$$typeof===s||y.$$typeof===v||y.$$typeof===h||y.$$typeof===Q||y.$$typeof===E||y.$$typeof===a)}function m(y){if(typeof y=="object"&&y!==null){var fA=y.$$typeof;switch(fA){case e:var gA=y.type;switch(gA){case u:case f:case r:case o:case n:case g:return gA;default:var PA=gA&&gA.$$typeof;switch(PA){case s:case v:case B:case P:case i:return PA;default:return fA}}case t:return fA}}}var d=u,M=f,k=s,L=i,z=e,l=v,x=r,S=B,H=P,O=t,$=o,q=n,iA=g,_=!1;function eA(y){return _||(_=!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.")),D(y)||m(y)===u}function D(y){return m(y)===f}function F(y){return m(y)===s}function Z(y){return m(y)===i}function J(y){return typeof y=="object"&&y!==null&&y.$$typeof===e}function Y(y){return m(y)===v}function U(y){return m(y)===r}function K(y){return m(y)===B}function W(y){return m(y)===P}function tA(y){return m(y)===t}function V(y){return m(y)===o}function X(y){return m(y)===n}function oA(y){return m(y)===g}EA.AsyncMode=d,EA.ConcurrentMode=M,EA.ContextConsumer=k,EA.ContextProvider=L,EA.Element=z,EA.ForwardRef=l,EA.Fragment=x,EA.Lazy=S,EA.Memo=H,EA.Portal=O,EA.Profiler=$,EA.StrictMode=q,EA.Suspense=iA,EA.isAsyncMode=eA,EA.isConcurrentMode=D,EA.isContextConsumer=F,EA.isContextProvider=Z,EA.isElement=J,EA.isForwardRef=Y,EA.isFragment=U,EA.isLazy=K,EA.isMemo=W,EA.isPortal=tA,EA.isProfiler=V,EA.isStrictMode=X,EA.isSuspense=oA,EA.isValidElementType=C,EA.typeOf=m}()),EA}var gs;function lc(){return gs||(gs=1,process.env.NODE_ENV==="production"?Rr.exports=Rf():Rr.exports=Nf()),Rr.exports}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var fo,ds;function Gf(){if(ds)return fo;ds=1;var A=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function n(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var u=Object.getOwnPropertyNames(i).map(function(v){return i[v]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(v){f[v]=v}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return fo=n()?Object.assign:function(o,i){for(var s,u=r(o),f,v=1;v<arguments.length;v++){s=Object(arguments[v]);for(var g in s)e.call(s,g)&&(u[g]=s[g]);if(A){f=A(s);for(var w=0;w<f.length;w++)t.call(s,f[w])&&(u[f[w]]=s[f[w]])}}return u},fo}var uo,ps;function pi(){if(ps)return uo;ps=1;var A="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return uo=A,uo}var go,vs;function fc(){return vs||(vs=1,go=Function.call.bind(Object.prototype.hasOwnProperty)),go}var po,Bs;function Uf(){if(Bs)return po;Bs=1;var A=function(){};if(process.env.NODE_ENV!=="production"){var e=pi(),t={},r=fc();A=function(o){var i="Warning: "+o;typeof console<"u"&&console.error(i);try{throw new Error(i)}catch{}}}function n(o,i,s,u,f){if(process.env.NODE_ENV!=="production"){for(var v in o)if(r(o,v)){var g;try{if(typeof o[v]!="function"){var w=Error((u||"React class")+": "+s+" type `"+v+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[v]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw w.name="Invariant Violation",w}g=o[v](i,v,u,s,null,e)}catch(B){g=B}if(g&&!(g instanceof Error)&&A((u||"React class")+": type specification of "+s+" `"+v+"` 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 t)){t[g.message]=!0;var P=f?f():"";A("Failed "+s+" type: "+g.message+(P??""))}}}}return n.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},po=n,po}var vo,ws;function Yf(){if(ws)return vo;ws=1;var A=lc(),e=Gf(),t=pi(),r=fc(),n=Uf(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var u="Warning: "+s;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function i(){return null}return vo=function(s,u){var f=typeof Symbol=="function"&&Symbol.iterator,v="@@iterator";function g(D){var F=D&&(f&&D[f]||D[v]);if(typeof F=="function")return F}var w="<<anonymous>>",P={array:Q("array"),bigint:Q("bigint"),bool:Q("boolean"),func:Q("function"),number:Q("number"),object:Q("object"),string:Q("string"),symbol:Q("symbol"),any:E(),arrayOf:C,element:m(),elementType:d(),instanceOf:M,node:l(),objectOf:L,oneOf:k,oneOfType:z,shape:S,exact:H};function B(D,F){return D===F?D!==0||1/D===1/F:D!==D&&F!==F}function a(D,F){this.message=D,this.data=F&&typeof F=="object"?F:{},this.stack=""}a.prototype=Error.prototype;function h(D){if(process.env.NODE_ENV!=="production")var F={},Z=0;function J(U,K,W,tA,V,X,oA){if(tA=tA||w,X=X||W,oA!==t){if(u){var y=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 y.name="Invariant Violation",y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var fA=tA+":"+W;!F[fA]&&Z<3&&(o("You are manually calling a React.PropTypes validation function for the `"+X+"` prop on `"+tA+"`. 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[fA]=!0,Z++)}}return K[W]==null?U?K[W]===null?new a("The "+V+" `"+X+"` is marked as required "+("in `"+tA+"`, but its value is `null`.")):new a("The "+V+" `"+X+"` is marked as required in "+("`"+tA+"`, but its value is `undefined`.")):null:D(K,W,tA,V,X)}var Y=J.bind(null,!1);return Y.isRequired=J.bind(null,!0),Y}function Q(D){function F(Z,J,Y,U,K,W){var tA=Z[J],V=q(tA);if(V!==D){var X=iA(tA);return new a("Invalid "+U+" `"+K+"` of type "+("`"+X+"` supplied to `"+Y+"`, expected ")+("`"+D+"`."),{expectedType:D})}return null}return h(F)}function E(){return h(i)}function C(D){function F(Z,J,Y,U,K){if(typeof D!="function")return new a("Property `"+K+"` of component `"+Y+"` has invalid PropType notation inside arrayOf.");var W=Z[J];if(!Array.isArray(W)){var tA=q(W);return new a("Invalid "+U+" `"+K+"` of type "+("`"+tA+"` supplied to `"+Y+"`, expected an array."))}for(var V=0;V<W.length;V++){var X=D(W,V,Y,U,K+"["+V+"]",t);if(X instanceof Error)return X}return null}return h(F)}function m(){function D(F,Z,J,Y,U){var K=F[Z];if(!s(K)){var W=q(K);return new a("Invalid "+Y+" `"+U+"` of type "+("`"+W+"` supplied to `"+J+"`, expected a single ReactElement."))}return null}return h(D)}function d(){function D(F,Z,J,Y,U){var K=F[Z];if(!A.isValidElementType(K)){var W=q(K);return new a("Invalid "+Y+" `"+U+"` of type "+("`"+W+"` supplied to `"+J+"`, expected a single ReactElement type."))}return null}return h(D)}function M(D){function F(Z,J,Y,U,K){if(!(Z[J]instanceof D)){var W=D.name||w,tA=eA(Z[J]);return new a("Invalid "+U+" `"+K+"` of type "+("`"+tA+"` supplied to `"+Y+"`, expected ")+("instance of `"+W+"`."))}return null}return h(F)}function k(D){if(!Array.isArray(D))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("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])."):o("Invalid argument supplied to oneOf, expected an array.")),i;function F(Z,J,Y,U,K){for(var W=Z[J],tA=0;tA<D.length;tA++)if(B(W,D[tA]))return null;var V=JSON.stringify(D,function(oA,y){var fA=iA(y);return fA==="symbol"?String(y):y});return new a("Invalid "+U+" `"+K+"` of value `"+String(W)+"` "+("supplied to `"+Y+"`, expected one of "+V+"."))}return h(F)}function L(D){function F(Z,J,Y,U,K){if(typeof D!="function")return new a("Property `"+K+"` of component `"+Y+"` has invalid PropType notation inside objectOf.");var W=Z[J],tA=q(W);if(tA!=="object")return new a("Invalid "+U+" `"+K+"` of type "+("`"+tA+"` supplied to `"+Y+"`, expected an object."));for(var V in W)if(r(W,V)){var X=D(W,V,Y,U,K+"."+V,t);if(X instanceof Error)return X}return null}return h(F)}function z(D){if(!Array.isArray(D))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var F=0;F<D.length;F++){var Z=D[F];if(typeof Z!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+_(Z)+" at index "+F+"."),i}function J(Y,U,K,W,tA){for(var V=[],X=0;X<D.length;X++){var oA=D[X],y=oA(Y,U,K,W,tA,t);if(y==null)return null;y.data&&r(y.data,"expectedType")&&V.push(y.data.expectedType)}var fA=V.length>0?", expected one of type ["+V.join(", ")+"]":"";return new a("Invalid "+W+" `"+tA+"` supplied to "+("`"+K+"`"+fA+"."))}return h(J)}function l(){function D(F,Z,J,Y,U){return O(F[Z])?null:new a("Invalid "+Y+" `"+U+"` supplied to "+("`"+J+"`, expected a ReactNode."))}return h(D)}function x(D,F,Z,J,Y){return new a((D||"React class")+": "+F+" type `"+Z+"."+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Y+"`.")}function S(D){function F(Z,J,Y,U,K){var W=Z[J],tA=q(W);if(tA!=="object")return new a("Invalid "+U+" `"+K+"` of type `"+tA+"` "+("supplied to `"+Y+"`, expected `object`."));for(var V in D){var X=D[V];if(typeof X!="function")return x(Y,U,K,V,iA(X));var oA=X(W,V,Y,U,K+"."+V,t);if(oA)return oA}return null}return h(F)}function H(D){function F(Z,J,Y,U,K){var W=Z[J],tA=q(W);if(tA!=="object")return new a("Invalid "+U+" `"+K+"` of type `"+tA+"` "+("supplied to `"+Y+"`, expected `object`."));var V=e({},Z[J],D);for(var X in V){var oA=D[X];if(r(D,X)&&typeof oA!="function")return x(Y,U,K,X,iA(oA));if(!oA)return new a("Invalid "+U+" `"+K+"` key `"+X+"` supplied to `"+Y+"`.\nBad object: "+JSON.stringify(Z[J],null," ")+`
Valid keys: `+JSON.stringify(Object.keys(D),null," "));var y=oA(W,X,Y,U,K+"."+X,t);if(y)return y}return null}return h(F)}function O(D){switch(typeof D){case"number":case"string":case"undefined":return!0;case"boolean":return!D;case"object":if(Array.isArray(D))return D.every(O);if(D===null||s(D))return!0;var F=g(D);if(F){var Z=F.call(D),J;if(F!==D.entries){for(;!(J=Z.next()).done;)if(!O(J.value))return!1}else for(;!(J=Z.next()).done;){var Y=J.value;if(Y&&!O(Y[1]))return!1}}else return!1;return!0;default:return!1}}function $(D,F){return D==="symbol"?!0:F?F["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&F instanceof Symbol:!1}function q(D){var F=typeof D;return Array.isArray(D)?"array":D instanceof RegExp?"object":$(F,D)?"symbol":F}function iA(D){if(typeof D>"u"||D===null)return""+D;var F=q(D);if(F==="object"){if(D instanceof Date)return"date";if(D instanceof RegExp)return"regexp"}return F}function _(D){var F=iA(D);switch(F){case"array":case"object":return"an "+F;case"boolean":case"date":case"regexp":return"a "+F;default:return F}}function eA(D){return!D.constructor||!D.constructor.name?w:D.constructor.name}return P.checkPropTypes=n,P.resetWarningCache=n.resetWarningCache,P.PropTypes=P,P},vo}var Bo,Ps;function Xf(){if(Ps)return Bo;Ps=1;var A=pi();function e(){}function t(){}return t.resetWarningCache=e,Bo=function(){function r(i,s,u,f,v,g){if(g!==A){var w=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 w.name="Invariant Violation",w}}r.isRequired=r;function n(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:n,element:r,elementType:r,instanceOf:n,node:r,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:t,resetWarningCache:e};return o.PropTypes=o,o},Bo}var ms;function Kf(){if(ms)return zr.exports;if(ms=1,process.env.NODE_ENV!=="production"){var A=lc(),e=!0;zr.exports=Yf()(A.isElement,e)}else zr.exports=Xf()();return zr.exports}var Jf=Kf();const I=Ff(Jf);function Vf(A){const{prototype:e={}}=A;return!!e.isReactComponent}function Wf(A,e,t,r,n){const o=A[e],i=n||e;if(o==null||typeof window>"u")return null;let s;return typeof o=="function"&&!Vf(o)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${r} \`${i}\` supplied to \`${t}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const $f=jf(I.elementType,Wf);function st(A,...e){const t=new URL(`https://mui.com/production-error/?code=${A}`);return e.forEach(r=>t.searchParams.append("args[]",r)),`Minified MUI error #${A}; visit ${t} for the full message.`}function uc(A,e=""){return A.displayName||A.name||e}function hs(A,e,t){const r=uc(e);return A.displayName||(r!==""?`${t}(${r})`:t)}function qf(A){if(A!=null){if(typeof A=="string")return A;if(typeof A=="function")return uc(A,"Component");if(typeof A=="object")switch(A.$$typeof){case fn.ForwardRef:return hs(A,A.render,"ForwardRef");case fn.Memo:return hs(A,A.type,"memo");default:return}}}const gc=I.oneOfType([I.func,I.object]);function Se(A){if(typeof A!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":st(7));return A.charAt(0).toUpperCase()+A.slice(1)}function Zf(A,e){typeof A=="function"?A(e):A&&(A.current=e)}const _f=typeof window<"u"?b.useLayoutEffect:b.useEffect;function Au({controlled:A,default:e,name:t,state:r="value"}){const{current:n}=b.useRef(A!==void 0),[o,i]=b.useState(e),s=n?A:o;if(process.env.NODE_ENV!=="production"){b.useEffect(()=>{n!==(A!==void 0)&&console.error([`MUI: A component is changing the ${n?"":"un"}controlled ${r} state of ${t} to be ${n?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${t} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
`))},[r,t,A]);const{current:f}=b.useRef(e);b.useEffect(()=>{!n&&!Object.is(f,e)&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${t} after being initialized. To suppress this warning opt to use a controlled ${t}.`].join(`
`))},[JSON.stringify(e)])}const u=b.useCallback(f=>{n||i(f)},[]);return[s,u]}function qr(A){const e=b.useRef(A);return _f(()=>{e.current=A}),b.useRef((...t)=>(0,e.current)(...t)).current}function zo(...A){return b.useMemo(()=>A.every(e=>e==null)?null:e=>{A.forEach(t=>{Zf(t,e)})},A)}const Cs={};function dc(A,e){const t=b.useRef(Cs);return t.current===Cs&&(t.current=A(e)),t}const eu=[];function tu(A){b.useEffect(A,eu)}class vi{constructor(){Vt(this,"currentId",null);Vt(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Vt(this,"disposeEffect",()=>this.clear)}static create(){return new vi}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function ru(){const A=dc(vi.create).current;return tu(A.disposeEffect),A}function Qs(A){try{return A.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
`))}return!1}function Ro(A,e){const t={...e};for(const r in A)if(Object.prototype.hasOwnProperty.call(A,r)){const n=r;if(n==="components"||n==="slots")t[n]={...A[n],...t[n]};else if(n==="componentsProps"||n==="slotProps"){const o=A[n],i=e[n];if(!i)t[n]=o||{};else if(!o)t[n]=i;else{t[n]={...i};for(const s in o)if(Object.prototype.hasOwnProperty.call(o,s)){const u=s;t[n][u]=Ro(o[u],i[u])}}}else t[n]===void 0&&(t[n]=A[n])}return t}function yr(A,e,t=void 0){const r={};for(const n in A){const o=A[n];let i="",s=!0;for(let u=0;u<o.length;u+=1){const f=o[u];f&&(i+=(s===!0?"":" ")+e(f),s=!1,t&&t[f]&&(i+=" "+t[f]))}r[n]=i}return r}const ys=A=>A,nu=()=>{let A=ys;return{configure(e){A=e},generate(e){return A(e)},reset(){A=ys}}},ou=nu(),iu={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 Ct(A,e,t="Mui"){const r=iu[e];return r?`${t}-${r}`:`${ou.generate(A)}-${e}`}function Yt(A,e,t="Mui"){const r={};return e.forEach(n=>{r[n]=Ct(A,n,t)}),r}function su(A,e=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(A,t))}function au(A){return typeof A=="string"}function cu(A,e,t){return A===void 0||au(A)?e:{...e,ownerState:{...e.ownerState,...t}}}function pc(A){var e,t,r="";if(typeof A=="string"||typeof A=="number")r+=A;else if(typeof A=="object")if(Array.isArray(A)){var n=A.length;for(e=0;e<n;e++)A[e]&&(t=pc(A[e]))&&(r&&(r+=" "),r+=t)}else for(t in A)A[t]&&(r&&(r+=" "),r+=t);return r}function ae(){for(var A,e,t=0,r="",n=arguments.length;t<n;t++)(A=arguments[t])&&(e=pc(A))&&(r&&(r+=" "),r+=e);return r}function lu(A,e=[]){if(A===void 0)return{};const t={};return Object.keys(A).filter(r=>r.match(/^on[A-Z]/)&&typeof A[r]=="function"&&!e.includes(r)).forEach(r=>{t[r]=A[r]}),t}function Es(A){if(A===void 0)return{};const e={};return Object.keys(A).filter(t=>!(t.match(/^on[A-Z]/)&&typeof A[t]=="function")).forEach(t=>{e[t]=A[t]}),e}function fu(A){const{getSlotProps:e,additionalProps:t,externalSlotProps:r,externalForwardedProps:n,className:o}=A;if(!e){const P=ae(t==null?void 0:t.className,o,n==null?void 0:n.className,r==null?void 0:r.className),B={...t==null?void 0:t.style,...n==null?void 0:n.style,...r==null?void 0:r.style},a={...t,...n,...r};return P.length>0&&(a.className=P),Object.keys(B).length>0&&(a.style=B),{props:a,internalRef:void 0}}const i=lu({...n,...r}),s=Es(r),u=Es(n),f=e(i),v=ae(f==null?void 0:f.className,t==null?void 0:t.className,o,n==null?void 0:n.className,r==null?void 0:r.className),g={...f==null?void 0:f.style,...t==null?void 0:t.style,...n==null?void 0:n.style,...r==null?void 0:r.style},w={...f,...t,...u,...s};return v.length>0&&(w.className=v),Object.keys(g).length>0&&(w.style=g),{props:w,internalRef:f.ref}}function uu(A,e,t){return typeof A=="function"?A(e,t):A}function fr(A,e){return e?Qe(A,e,{clone:!1}):A}const ft=process.env.NODE_ENV!=="production"?I.oneOfType([I.number,I.string,I.object,I.array]):{};function gu(A,e){if(!A.containerQueries)return e;const t=Object.keys(e).filter(r=>r.startsWith("@container")).sort((r,n)=>{var i,s;const o=/min-width:\s*([0-9.]+)/;return+(((i=r.match(o))==null?void 0:i[1])||0)-+(((s=n.match(o))==null?void 0:s[1])||0)});return t.length?t.reduce((r,n)=>{const o=e[n];return delete r[n],r[n]=o,r},{...e}):e}function du(A,e){return e==="@"||e.startsWith("@")&&(A.some(t=>e.startsWith(`@${t}`))||!!e.match(/^@\d/))}function pu(A,e){const t=e.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${e})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:st(18,`(${e})`));return null}const[,r,n]=t,o=Number.isNaN(+r)?r||0:+r;return A.containerQueries(n).up(o)}function vu(A){const e=(o,i)=>o.replace("@media",i?`@container ${i}`:"@container");function t(o,i){o.up=(...s)=>e(A.breakpoints.up(...s),i),o.down=(...s)=>e(A.breakpoints.down(...s),i),o.between=(...s)=>e(A.breakpoints.between(...s),i),o.only=(...s)=>e(A.breakpoints.only(...s),i),o.not=(...s)=>{const u=e(A.breakpoints.not(...s),i);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const r={},n=o=>(t(r,o),r);return t(n),{...A,containerQueries:n}}const In={xs:0,sm:600,md:900,lg:1200,xl:1536},bs={keys:["xs","sm","md","lg","xl"],up:A=>`@media (min-width:${In[A]}px)`},Bu={containerQueries:A=>({up:e=>{let t=typeof e=="number"?e:In[e]||e;return typeof t=="number"&&(t=`${t}px`),A?`@container ${A} (min-width:${t})`:`@container (min-width:${t})`}})};function et(A,e,t){const r=A.theme||{};if(Array.isArray(e)){const o=r.breakpoints||bs;return e.reduce((i,s,u)=>(i[o.up(o.keys[u])]=t(e[u]),i),{})}if(typeof e=="object"){const o=r.breakpoints||bs;return Object.keys(e).reduce((i,s)=>{if(du(o.keys,s)){const u=pu(r.containerQueries?r:Bu,s);u&&(i[u]=t(e[s],s))}else if(Object.keys(o.values||In).includes(s)){const u=o.up(s);i[u]=t(e[s],s)}else{const u=s;i[u]=e[u]}return i},{})}return t(e)}function wu(A={}){var t;return((t=A.keys)==null?void 0:t.reduce((r,n)=>{const o=A.up(n);return r[o]={},r},{}))||{}}function Pu(A,e){return A.reduce((t,r)=>{const n=t[r];return(!n||Object.keys(n).length===0)&&delete t[r],t},e)}function Mn(A,e,t=!0){if(!e||typeof e!="string")return null;if(A&&A.vars&&t){const r=`vars.${e}`.split(".").reduce((n,o)=>n&&n[o]?n[o]:null,A);if(r!=null)return r}return e.split(".").reduce((r,n)=>r&&r[n]!=null?r[n]:null,A)}function un(A,e,t,r=t){let n;return typeof A=="function"?n=A(t):Array.isArray(A)?n=A[t]||r:n=Mn(A,t)||r,e&&(n=e(n,r,A)),n}function Ae(A){const{prop:e,cssProperty:t=A.prop,themeKey:r,transform:n}=A,o=i=>{if(i[e]==null)return null;const s=i[e],u=i.theme,f=Mn(u,r)||{};return et(i,s,g=>{let w=un(f,n,g);return g===w&&typeof g=="string"&&(w=un(f,n,`${e}${g==="default"?"":Se(g)}`,g)),t===!1?w:{[t]:w}})};return o.propTypes=process.env.NODE_ENV!=="production"?{[e]:ft}:{},o.filterProps=[e],o}function mu(A){const e={};return t=>(e[t]===void 0&&(e[t]=A(t)),e[t])}const hu={m:"margin",p:"padding"},Cu={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ds={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Qu=mu(A=>{if(A.length>2)if(Ds[A])A=Ds[A];else return[A];const[e,t]=A.split(""),r=hu[e],n=Cu[t]||"";return Array.isArray(n)?n.map(o=>r+o):[r+n]}),Fn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Sn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],yu=[...Fn,...Sn];function Er(A,e,t,r){const n=Mn(A,e,!0)??t;return typeof n=="number"||typeof n=="string"?o=>typeof o=="string"?o:(process.env.NODE_ENV!=="production"&&typeof o!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${o}.`),typeof n=="string"?`calc(${o} * ${n})`:n*o):Array.isArray(n)?o=>{if(typeof o=="string")return o;const i=Math.abs(o);process.env.NODE_ENV!=="production"&&(Number.isInteger(i)?i>n.length-1&&console.error([`MUI: The value provided (${i}) overflows.`,`The supported values are: ${JSON.stringify(n)}.`,`${i} > ${n.length-1}, you need to add the missing values.`].join(`
`)):console.error([`MUI: The \`theme.${e}\` 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.${e}\` as a number.`].join(`
`)));const s=n[i];return o>=0?s:typeof s=="number"?-s:`-${s}`}:typeof n=="function"?n:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${e}\` value (${n}) is invalid.`,"It should be a number, an array or a function."].join(`
`)),()=>{})}function Bi(A){return Er(A,"spacing",8,"spacing")}function br(A,e){return typeof e=="string"||e==null?e:A(e)}function Eu(A,e){return t=>A.reduce((r,n)=>(r[n]=br(e,t),r),{})}function bu(A,e,t,r){if(!e.includes(t))return null;const n=Qu(t),o=Eu(n,r),i=A[t];return et(A,i,o)}function vc(A,e){const t=Bi(A.theme);return Object.keys(A).map(r=>bu(A,e,r,t)).reduce(fr,{})}function JA(A){return vc(A,Fn)}JA.propTypes=process.env.NODE_ENV!=="production"?Fn.reduce((A,e)=>(A[e]=ft,A),{}):{};JA.filterProps=Fn;function VA(A){return vc(A,Sn)}VA.propTypes=process.env.NODE_ENV!=="production"?Sn.reduce((A,e)=>(A[e]=ft,A),{}):{};VA.filterProps=Sn;process.env.NODE_ENV!=="production"&&yu.reduce((A,e)=>(A[e]=ft,A),{});function kn(...A){const e=A.reduce((r,n)=>(n.filterProps.forEach(o=>{r[o]=n}),r),{}),t=r=>Object.keys(r).reduce((n,o)=>e[o]?fr(n,e[o](r)):n,{});return t.propTypes=process.env.NODE_ENV!=="production"?A.reduce((r,n)=>Object.assign(r,n.propTypes),{}):{},t.filterProps=A.reduce((r,n)=>r.concat(n.filterProps),[]),t}function Me(A){return typeof A!="number"?A:`${A}px solid`}function ke(A,e){return Ae({prop:A,themeKey:"borders",transform:e})}const Du=ke("border",Me),xu=ke("borderTop",Me),Tu=ke("borderRight",Me),Iu=ke("borderBottom",Me),Mu=ke("borderLeft",Me),Fu=ke("borderColor"),Su=ke("borderTopColor"),ku=ke("borderRightColor"),Hu=ke("borderBottomColor"),ju=ke("borderLeftColor"),Ou=ke("outline",Me),Lu=ke("outlineColor"),Hn=A=>{if(A.borderRadius!==void 0&&A.borderRadius!==null){const e=Er(A.theme,"shape.borderRadius",4,"borderRadius"),t=r=>({borderRadius:br(e,r)});return et(A,A.borderRadius,t)}return null};Hn.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ft}:{};Hn.filterProps=["borderRadius"];kn(Du,xu,Tu,Iu,Mu,Fu,Su,ku,Hu,ju,Hn,Ou,Lu);const jn=A=>{if(A.gap!==void 0&&A.gap!==null){const e=Er(A.theme,"spacing",8,"gap"),t=r=>({gap:br(e,r)});return et(A,A.gap,t)}return null};jn.propTypes=process.env.NODE_ENV!=="production"?{gap:ft}:{};jn.filterProps=["gap"];const On=A=>{if(A.columnGap!==void 0&&A.columnGap!==null){const e=Er(A.theme,"spacing",8,"columnGap"),t=r=>({columnGap:br(e,r)});return et(A,A.columnGap,t)}return null};On.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ft}:{};On.filterProps=["columnGap"];const Ln=A=>{if(A.rowGap!==void 0&&A.rowGap!==null){const e=Er(A.theme,"spacing",8,"rowGap"),t=r=>({rowGap:br(e,r)});return et(A,A.rowGap,t)}return null};Ln.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ft}:{};Ln.filterProps=["rowGap"];const zu=Ae({prop:"gridColumn"}),Ru=Ae({prop:"gridRow"}),Nu=Ae({prop:"gridAutoFlow"}),Gu=Ae({prop:"gridAutoColumns"}),Uu=Ae({prop:"gridAutoRows"}),Yu=Ae({prop:"gridTemplateColumns"}),Xu=Ae({prop:"gridTemplateRows"}),Ku=Ae({prop:"gridTemplateAreas"}),Ju=Ae({prop:"gridArea"});kn(jn,On,Ln,zu,Ru,Nu,Gu,Uu,Yu,Xu,Ku,Ju);function jt(A,e){return e==="grey"?e:A}const Vu=Ae({prop:"color",themeKey:"palette",transform:jt}),Wu=Ae({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:jt}),$u=Ae({prop:"backgroundColor",themeKey:"palette",transform:jt});kn(Vu,Wu,$u);function he(A){return A<=1&&A!==0?`${A*100}%`:A}const qu=Ae({prop:"width",transform:he}),wi=A=>{if(A.maxWidth!==void 0&&A.maxWidth!==null){const e=t=>{var n,o,i,s,u;const r=((i=(o=(n=A.theme)==null?void 0:n.breakpoints)==null?void 0:o.values)==null?void 0:i[t])||In[t];return r?((u=(s=A.theme)==null?void 0:s.breakpoints)==null?void 0:u.unit)!=="px"?{maxWidth:`${r}${A.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:he(t)}};return et(A,A.maxWidth,e)}return null};wi.filterProps=["maxWidth"];const Zu=Ae({prop:"minWidth",transform:he}),_u=Ae({prop:"height",transform:he}),Ag=Ae({prop:"maxHeight",transform:he}),eg=Ae({prop:"minHeight",transform:he});Ae({prop:"size",cssProperty:"width",transform:he});Ae({prop:"size",cssProperty:"height",transform:he});const tg=Ae({prop:"boxSizing"});kn(qu,wi,Zu,_u,Ag,eg,tg);const zn={border:{themeKey:"borders",transform:Me},borderTop:{themeKey:"borders",transform:Me},borderRight:{themeKey:"borders",transform:Me},borderBottom:{themeKey:"borders",transform:Me},borderLeft:{themeKey:"borders",transform:Me},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Me},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Hn},color:{themeKey:"palette",transform:jt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:jt},backgroundColor:{themeKey:"palette",transform:jt},p:{style:VA},pt:{style:VA},pr:{style:VA},pb:{style:VA},pl:{style:VA},px:{style:VA},py:{style:VA},padding:{style:VA},paddingTop:{style:VA},paddingRight:{style:VA},paddingBottom:{style:VA},paddingLeft:{style:VA},paddingX:{style:VA},paddingY:{style:VA},paddingInline:{style:VA},paddingInlineStart:{style:VA},paddingInlineEnd:{style:VA},paddingBlock:{style:VA},paddingBlockStart:{style:VA},paddingBlockEnd:{style:VA},m:{style:JA},mt:{style:JA},mr:{style:JA},mb:{style:JA},ml:{style:JA},mx:{style:JA},my:{style:JA},margin:{style:JA},marginTop:{style:JA},marginRight:{style:JA},marginBottom:{style:JA},marginLeft:{style:JA},marginX:{style:JA},marginY:{style:JA},marginInline:{style:JA},marginInlineStart:{style:JA},marginInlineEnd:{style:JA},marginBlock:{style:JA},marginBlockStart:{style:JA},marginBlockEnd:{style:JA},displayPrint:{cssProperty:!1,transform:A=>({"@media print":{display:A}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jn},rowGap:{style:Ln},columnGap:{style:On},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAut