mui-toolpad-extended-tuni
Version:
60 lines (58 loc) • 457 kB
JavaScript
"use strict";var Dh=Object.defineProperty;var Lh=(e,t,n)=>t in e?Dh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Wn=(e,t,n)=>Lh(e,typeof t!="symbol"?t+"":t,n);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),Bh=require("@emotion/styled"),gr=require("@emotion/react"),D=require("@mui/material"),rr=require("react-dom");function md(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const v=md(M),Fh=md(rr);function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fs={exports:{}},Cr={};/**
* @license React
* react-jsx-runtime.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 _c;function Vh(){if(_c)return Cr;_c=1;var e=M,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(c,l,u){var d,f={},m=null,b=null;u!==void 0&&(m=""+u),l.key!==void 0&&(m=""+l.key),l.ref!==void 0&&(b=l.ref);for(d in l)r.call(l,d)&&!i.hasOwnProperty(d)&&(f[d]=l[d]);if(c&&c.defaultProps)for(d in l=c.defaultProps,l)f[d]===void 0&&(f[d]=l[d]);return{$$typeof:t,type:c,key:m,ref:b,props:f,_owner:o.current}}return Cr.Fragment=n,Cr.jsx=a,Cr.jsxs=a,Cr}var Tr={};/**
* @license React
* react-jsx-runtime.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 Mc;function Uh(){return Mc||(Mc=1,process.env.NODE_ENV!=="production"&&function(){var e=M,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),g=Symbol.iterator,p="@@iterator";function y(j){if(j===null||typeof j!="object")return null;var H=g&&j[g]||j[p];return typeof H=="function"?H:null}var C=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(j){{for(var H=arguments.length,re=new Array(H>1?H-1:0),le=1;le<H;le++)re[le-1]=arguments[le];w("error",j,re)}}function w(j,H,re){{var le=C.ReactDebugCurrentFrame,be=le.getStackAddendum();be!==""&&(H+="%s",re=re.concat([be]));var Ae=re.map(function(ye){return String(ye)});Ae.unshift("Warning: "+H),Function.prototype.apply.call(console[j],console,Ae)}}var E=!1,S=!1,O=!1,R=!1,P=!1,N;N=Symbol.for("react.module.reference");function x(j){return!!(typeof j=="string"||typeof j=="function"||j===r||j===i||P||j===o||j===u||j===d||R||j===b||E||S||O||typeof j=="object"&&j!==null&&(j.$$typeof===m||j.$$typeof===f||j.$$typeof===a||j.$$typeof===c||j.$$typeof===l||j.$$typeof===N||j.getModuleId!==void 0))}function k(j,H,re){var le=j.displayName;if(le)return le;var be=H.displayName||H.name||"";return be!==""?re+"("+be+")":re}function F(j){return j.displayName||"Context"}function $(j){if(j==null)return null;if(typeof j.tag=="number"&&T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof j=="function")return j.displayName||j.name||null;if(typeof j=="string")return j;switch(j){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof j=="object")switch(j.$$typeof){case c:var H=j;return F(H)+".Consumer";case a:var re=j;return F(re._context)+".Provider";case l:return k(j,j.render,"ForwardRef");case f:var le=j.displayName||null;return le!==null?le:$(j.type)||"Memo";case m:{var be=j,Ae=be._payload,ye=be._init;try{return $(ye(Ae))}catch{return null}}}return null}var z=Object.assign,L=0,B,q,G,Z,A,W,te;function ne(){}ne.__reactDisabledLog=!0;function Y(){{if(L===0){B=console.log,q=console.info,G=console.warn,Z=console.error,A=console.group,W=console.groupCollapsed,te=console.groupEnd;var j={configurable:!0,enumerable:!0,value:ne,writable:!0};Object.defineProperties(console,{info:j,log:j,warn:j,error:j,group:j,groupCollapsed:j,groupEnd:j})}L++}}function J(){{if(L--,L===0){var j={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:z({},j,{value:B}),info:z({},j,{value:q}),warn:z({},j,{value:G}),error:z({},j,{value:Z}),group:z({},j,{value:A}),groupCollapsed:z({},j,{value:W}),groupEnd:z({},j,{value:te})})}L<0&&T("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var U=C.ReactCurrentDispatcher,Q;function ee(j,H,re){{if(Q===void 0)try{throw Error()}catch(be){var le=be.stack.trim().match(/\n( *(at )?)/);Q=le&&le[1]||""}return`
`+Q+j}}var oe=!1,K;{var ie=typeof WeakMap=="function"?WeakMap:Map;K=new ie}function V(j,H){if(!j||oe)return"";{var re=K.get(j);if(re!==void 0)return re}var le;oe=!0;var be=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ae;Ae=U.current,U.current=null,Y();try{if(H){var ye=function(){throw Error()};if(Object.defineProperty(ye.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ye,[])}catch(st){le=st}Reflect.construct(j,[],ye)}else{try{ye.call()}catch(st){le=st}j.call(ye.prototype)}}else{try{throw Error()}catch(st){le=st}j()}}catch(st){if(st&&le&&typeof st.stack=="string"){for(var me=st.stack.split(`
`),rt=le.stack.split(`
`),Ye=me.length-1,Ze=rt.length-1;Ye>=1&&Ze>=0&&me[Ye]!==rt[Ze];)Ze--;for(;Ye>=1&&Ze>=0;Ye--,Ze--)if(me[Ye]!==rt[Ze]){if(Ye!==1||Ze!==1)do if(Ye--,Ze--,Ze<0||me[Ye]!==rt[Ze]){var vt=`
`+me[Ye].replace(" at new "," at ");return j.displayName&&vt.includes("<anonymous>")&&(vt=vt.replace("<anonymous>",j.displayName)),typeof j=="function"&&K.set(j,vt),vt}while(Ye>=1&&Ze>=0);break}}}finally{oe=!1,U.current=Ae,J(),Error.prepareStackTrace=be}var zn=j?j.displayName||j.name:"",Sn=zn?ee(zn):"";return typeof j=="function"&&K.set(j,Sn),Sn}function he(j,H,re){return V(j,!1)}function X(j){var H=j.prototype;return!!(H&&H.isReactComponent)}function ve(j,H,re){if(j==null)return"";if(typeof j=="function")return V(j,X(j));if(typeof j=="string")return ee(j);switch(j){case u:return ee("Suspense");case d:return ee("SuspenseList")}if(typeof j=="object")switch(j.$$typeof){case l:return he(j.render);case f:return ve(j.type,H,re);case m:{var le=j,be=le._payload,Ae=le._init;try{return ve(Ae(be),H,re)}catch{}}}return""}var De=Object.prototype.hasOwnProperty,ge={},Le=C.ReactDebugCurrentFrame;function Be(j){if(j){var H=j._owner,re=ve(j.type,j._source,H?H.type:null);Le.setExtraStackFrame(re)}else Le.setExtraStackFrame(null)}function Je(j,H,re,le,be){{var Ae=Function.call.bind(De);for(var ye in j)if(Ae(j,ye)){var me=void 0;try{if(typeof j[ye]!="function"){var rt=Error((le||"React class")+": "+re+" type `"+ye+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof j[ye]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw rt.name="Invariant Violation",rt}me=j[ye](H,ye,le,re,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ye){me=Ye}me&&!(me instanceof Error)&&(Be(be),T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",le||"React class",re,ye,typeof me),Be(null)),me instanceof Error&&!(me.message in ge)&&(ge[me.message]=!0,Be(be),T("Failed %s type: %s",re,me.message),Be(null))}}}var Me=Array.isArray;function se(j){return Me(j)}function Dt(j){{var H=typeof Symbol=="function"&&Symbol.toStringTag,re=H&&j[Symbol.toStringTag]||j.constructor.name||"Object";return re}}function Lt(j){try{return Bt(j),!1}catch{return!0}}function Bt(j){return""+j}function Ft(j){if(Lt(j))return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Dt(j)),Bt(j)}var Ne=C.ReactCurrentOwner,Ge={key:!0,ref:!0,__self:!0,__source:!0},ze,yt;function $e(j){if(De.call(j,"ref")){var H=Object.getOwnPropertyDescriptor(j,"ref").get;if(H&&H.isReactWarning)return!1}return j.ref!==void 0}function tt(j){if(De.call(j,"key")){var H=Object.getOwnPropertyDescriptor(j,"key").get;if(H&&H.isReactWarning)return!1}return j.key!==void 0}function Gt(j,H){typeof j.ref=="string"&&Ne.current}function ft(j,H){{var re=function(){ze||(ze=!0,T("%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://reactjs.org/link/special-props)",H))};re.isReactWarning=!0,Object.defineProperty(j,"key",{get:re,configurable:!0})}}function ns(j,H){{var re=function(){yt||(yt=!0,T("%s: `ref` 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://reactjs.org/link/special-props)",H))};re.isReactWarning=!0,Object.defineProperty(j,"ref",{get:re,configurable:!0})}}var Er=function(j,H,re,le,be,Ae,ye){var me={$$typeof:t,type:j,key:H,ref:re,props:ye,_owner:Ae};return me._store={},Object.defineProperty(me._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(me,"_self",{configurable:!1,enumerable:!1,writable:!1,value:le}),Object.defineProperty(me,"_source",{configurable:!1,enumerable:!1,writable:!1,value:be}),Object.freeze&&(Object.freeze(me.props),Object.freeze(me)),me};function rs(j,H,re,le,be){{var Ae,ye={},me=null,rt=null;re!==void 0&&(Ft(re),me=""+re),tt(H)&&(Ft(H.key),me=""+H.key),$e(H)&&(rt=H.ref,Gt(H,be));for(Ae in H)De.call(H,Ae)&&!Ge.hasOwnProperty(Ae)&&(ye[Ae]=H[Ae]);if(j&&j.defaultProps){var Ye=j.defaultProps;for(Ae in Ye)ye[Ae]===void 0&&(ye[Ae]=Ye[Ae])}if(me||rt){var Ze=typeof j=="function"?j.displayName||j.name||"Unknown":j;me&&ft(ye,Ze),rt&&ns(ye,Ze)}return Er(j,me,rt,be,le,Ne.current,ye)}}var nn=C.ReactCurrentOwner,Ro=C.ReactDebugCurrentFrame;function rn(j){if(j){var H=j._owner,re=ve(j.type,j._source,H?H.type:null);Ro.setExtraStackFrame(re)}else Ro.setExtraStackFrame(null)}var Sr;Sr=!1;function wr(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function jo(){{if(nn.current){var j=$(nn.current.type);if(j)return`
Check the render method of \``+j+"`."}return""}}function os(j){return""}var ko={};function is(j){{var H=jo();if(!H){var re=typeof j=="string"?j:j.displayName||j.name;re&&(H=`
Check the top-level render call using <`+re+">.")}return H}}function ue(j,H){{if(!j._store||j._store.validated||j.key!=null)return;j._store.validated=!0;var re=is(H);if(ko[re])return;ko[re]=!0;var le="";j&&j._owner&&j._owner!==nn.current&&(le=" It was passed a child from "+$(j._owner.type)+"."),rn(j),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',re,le),rn(null)}}function it(j,H){{if(typeof j!="object")return;if(se(j))for(var re=0;re<j.length;re++){var le=j[re];wr(le)&&ue(le,H)}else if(wr(j))j._store&&(j._store.validated=!0);else if(j){var be=y(j);if(typeof be=="function"&&be!==j.entries)for(var Ae=be.call(j),ye;!(ye=Ae.next()).done;)wr(ye.value)&&ue(ye.value,H)}}}function Po(j){{var H=j.type;if(H==null||typeof H=="string")return;var re;if(typeof H=="function")re=H.propTypes;else if(typeof H=="object"&&(H.$$typeof===l||H.$$typeof===f))re=H.propTypes;else return;if(re){var le=$(H);Je(re,j.props,"prop",le,j)}else if(H.PropTypes!==void 0&&!Sr){Sr=!0;var be=$(H);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",be||"Unknown")}typeof H.getDefaultProps=="function"&&!H.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ph(j){{for(var H=Object.keys(j.props),re=0;re<H.length;re++){var le=H[re];if(le!=="children"&&le!=="key"){rn(j),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",le),rn(null);break}}j.ref!==null&&(rn(j),T("Invalid attribute `ref` supplied to `React.Fragment`."),rn(null))}}var Ac={};function Ic(j,H,re,le,be,Ae){{var ye=x(j);if(!ye){var me="";(j===void 0||typeof j=="object"&&j!==null&&Object.keys(j).length===0)&&(me+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var rt=os();rt?me+=rt:me+=jo();var Ye;j===null?Ye="null":se(j)?Ye="array":j!==void 0&&j.$$typeof===t?(Ye="<"+($(j.type)||"Unknown")+" />",me=" Did you accidentally export a JSX literal instead of a component?"):Ye=typeof j,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ye,me)}var Ze=rs(j,H,re,be,Ae);if(Ze==null)return Ze;if(ye){var vt=H.children;if(vt!==void 0)if(le)if(se(vt)){for(var zn=0;zn<vt.length;zn++)it(vt[zn],j);Object.freeze&&Object.freeze(vt)}else T("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 it(vt,j)}if(De.call(H,"key")){var Sn=$(j),st=Object.keys(H).filter(function($h){return $h!=="key"}),ss=st.length>0?"{key: someKey, "+st.join(": ..., ")+": ...}":"{key: someKey}";if(!Ac[Sn+ss]){var Mh=st.length>0?"{"+st.join(": ..., ")+": ...}":"{}";T(`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} />`,ss,Sn,Mh,Sn),Ac[Sn+ss]=!0}}return j===r?Ph(Ze):Po(Ze),Ze}}function Nh(j,H,re){return Ic(j,H,re,!0)}function Ah(j,H,re){return Ic(j,H,re,!1)}var Ih=Ah,_h=Nh;Tr.Fragment=r,Tr.jsx=Ih,Tr.jsxs=_h}()),Tr}process.env.NODE_ENV==="production"?Fs.exports=Vh():Fs.exports=Uh();var h=Fs.exports,Vs={exports:{}},No={exports:{}},xe={};/** @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 $c;function zh(){if($c)return xe;$c=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=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,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function w(S){if(typeof S=="object"&&S!==null){var O=S.$$typeof;switch(O){case t:switch(S=S.type,S){case l:case u:case r:case i:case o:case f:return S;default:switch(S=S&&S.$$typeof,S){case c:case d:case g:case b:case a:return S;default:return O}}case n:return O}}}function E(S){return w(S)===u}return xe.AsyncMode=l,xe.ConcurrentMode=u,xe.ContextConsumer=c,xe.ContextProvider=a,xe.Element=t,xe.ForwardRef=d,xe.Fragment=r,xe.Lazy=g,xe.Memo=b,xe.Portal=n,xe.Profiler=i,xe.StrictMode=o,xe.Suspense=f,xe.isAsyncMode=function(S){return E(S)||w(S)===l},xe.isConcurrentMode=E,xe.isContextConsumer=function(S){return w(S)===c},xe.isContextProvider=function(S){return w(S)===a},xe.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},xe.isForwardRef=function(S){return w(S)===d},xe.isFragment=function(S){return w(S)===r},xe.isLazy=function(S){return w(S)===g},xe.isMemo=function(S){return w(S)===b},xe.isPortal=function(S){return w(S)===n},xe.isProfiler=function(S){return w(S)===i},xe.isStrictMode=function(S){return w(S)===o},xe.isSuspense=function(S){return w(S)===f},xe.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===u||S===i||S===o||S===f||S===m||typeof S=="object"&&S!==null&&(S.$$typeof===g||S.$$typeof===b||S.$$typeof===a||S.$$typeof===c||S.$$typeof===d||S.$$typeof===y||S.$$typeof===C||S.$$typeof===T||S.$$typeof===p)},xe.typeOf=w,xe}var Ee={};/** @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 Dc;function Wh(){return Dc||(Dc=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=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,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,T=e?Symbol.for("react.scope"):60119;function w(V){return typeof V=="string"||typeof V=="function"||V===r||V===u||V===i||V===o||V===f||V===m||typeof V=="object"&&V!==null&&(V.$$typeof===g||V.$$typeof===b||V.$$typeof===a||V.$$typeof===c||V.$$typeof===d||V.$$typeof===y||V.$$typeof===C||V.$$typeof===T||V.$$typeof===p)}function E(V){if(typeof V=="object"&&V!==null){var he=V.$$typeof;switch(he){case t:var X=V.type;switch(X){case l:case u:case r:case i:case o:case f:return X;default:var ve=X&&X.$$typeof;switch(ve){case c:case d:case g:case b:case a:return ve;default:return he}}case n:return he}}}var S=l,O=u,R=c,P=a,N=t,x=d,k=r,F=g,$=b,z=n,L=i,B=o,q=f,G=!1;function Z(V){return G||(G=!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.")),A(V)||E(V)===l}function A(V){return E(V)===u}function W(V){return E(V)===c}function te(V){return E(V)===a}function ne(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function Y(V){return E(V)===d}function J(V){return E(V)===r}function U(V){return E(V)===g}function Q(V){return E(V)===b}function ee(V){return E(V)===n}function oe(V){return E(V)===i}function K(V){return E(V)===o}function ie(V){return E(V)===f}Ee.AsyncMode=S,Ee.ConcurrentMode=O,Ee.ContextConsumer=R,Ee.ContextProvider=P,Ee.Element=N,Ee.ForwardRef=x,Ee.Fragment=k,Ee.Lazy=F,Ee.Memo=$,Ee.Portal=z,Ee.Profiler=L,Ee.StrictMode=B,Ee.Suspense=q,Ee.isAsyncMode=Z,Ee.isConcurrentMode=A,Ee.isContextConsumer=W,Ee.isContextProvider=te,Ee.isElement=ne,Ee.isForwardRef=Y,Ee.isFragment=J,Ee.isLazy=U,Ee.isMemo=Q,Ee.isPortal=ee,Ee.isProfiler=oe,Ee.isStrictMode=K,Ee.isSuspense=ie,Ee.isValidElementType=w,Ee.typeOf=E}()),Ee}var Lc;function gd(){return Lc||(Lc=1,process.env.NODE_ENV==="production"?No.exports=zh():No.exports=Wh()),No.exports}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var as,Bc;function Hh(){if(Bc)return as;Bc=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(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={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(l.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(d){u[d]=d}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return as=o()?Object.assign:function(i,a){for(var c,l=r(i),u,d=1;d<arguments.length;d++){c=Object(arguments[d]);for(var f in c)t.call(c,f)&&(l[f]=c[f]);if(e){u=e(c);for(var m=0;m<u.length;m++)n.call(c,u[m])&&(l[u[m]]=c[u[m]])}}return l},as}var cs,Fc;function Ea(){if(Fc)return cs;Fc=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return cs=e,cs}var ls,Vc;function yd(){return Vc||(Vc=1,ls=Function.call.bind(Object.prototype.hasOwnProperty)),ls}var us,Uc;function qh(){if(Uc)return us;Uc=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Ea(),n={},r=yd();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,c,l,u){if(process.env.NODE_ENV!=="production"){for(var d in i)if(r(i,d)){var f;try{if(typeof i[d]!="function"){var m=Error((l||"React class")+": "+c+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}f=i[d](a,d,l,c,null,t)}catch(g){f=g}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+c+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var b=u?u():"";e("Failed "+c+" type: "+f.message+(b??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},us=o,us}var ds,zc;function Gh(){if(zc)return ds;zc=1;var e=gd(),t=Hh(),n=Ea(),r=yd(),o=qh(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var l="Warning: "+c;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function a(){return null}return ds=function(c,l){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(A){var W=A&&(u&&A[u]||A[d]);if(typeof W=="function")return W}var m="<<anonymous>>",b={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:T(),arrayOf:w,element:E(),elementType:S(),instanceOf:O,node:x(),objectOf:P,oneOf:R,oneOfType:N,shape:F,exact:$};function g(A,W){return A===W?A!==0||1/A===1/W:A!==A&&W!==W}function p(A,W){this.message=A,this.data=W&&typeof W=="object"?W:{},this.stack=""}p.prototype=Error.prototype;function y(A){if(process.env.NODE_ENV!=="production")var W={},te=0;function ne(J,U,Q,ee,oe,K,ie){if(ee=ee||m,K=K||Q,ie!==n){if(l){var V=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 V.name="Invariant Violation",V}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var he=ee+":"+Q;!W[he]&&te<3&&(i("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+ee+"`. 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."),W[he]=!0,te++)}}return U[Q]==null?J?U[Q]===null?new p("The "+oe+" `"+K+"` is marked as required "+("in `"+ee+"`, but its value is `null`.")):new p("The "+oe+" `"+K+"` is marked as required in "+("`"+ee+"`, but its value is `undefined`.")):null:A(U,Q,ee,oe,K)}var Y=ne.bind(null,!1);return Y.isRequired=ne.bind(null,!0),Y}function C(A){function W(te,ne,Y,J,U,Q){var ee=te[ne],oe=B(ee);if(oe!==A){var K=q(ee);return new p("Invalid "+J+" `"+U+"` of type "+("`"+K+"` supplied to `"+Y+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return y(W)}function T(){return y(a)}function w(A){function W(te,ne,Y,J,U){if(typeof A!="function")return new p("Property `"+U+"` of component `"+Y+"` has invalid PropType notation inside arrayOf.");var Q=te[ne];if(!Array.isArray(Q)){var ee=B(Q);return new p("Invalid "+J+" `"+U+"` of type "+("`"+ee+"` supplied to `"+Y+"`, expected an array."))}for(var oe=0;oe<Q.length;oe++){var K=A(Q,oe,Y,J,U+"["+oe+"]",n);if(K instanceof Error)return K}return null}return y(W)}function E(){function A(W,te,ne,Y,J){var U=W[te];if(!c(U)){var Q=B(U);return new p("Invalid "+Y+" `"+J+"` of type "+("`"+Q+"` supplied to `"+ne+"`, expected a single ReactElement."))}return null}return y(A)}function S(){function A(W,te,ne,Y,J){var U=W[te];if(!e.isValidElementType(U)){var Q=B(U);return new p("Invalid "+Y+" `"+J+"` of type "+("`"+Q+"` supplied to `"+ne+"`, expected a single ReactElement type."))}return null}return y(A)}function O(A){function W(te,ne,Y,J,U){if(!(te[ne]instanceof A)){var Q=A.name||m,ee=Z(te[ne]);return new p("Invalid "+J+" `"+U+"` of type "+("`"+ee+"` supplied to `"+Y+"`, expected ")+("instance of `"+Q+"`."))}return null}return y(W)}function R(A){if(!Array.isArray(A))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 W(te,ne,Y,J,U){for(var Q=te[ne],ee=0;ee<A.length;ee++)if(g(Q,A[ee]))return null;var oe=JSON.stringify(A,function(ie,V){var he=q(V);return he==="symbol"?String(V):V});return new p("Invalid "+J+" `"+U+"` of value `"+String(Q)+"` "+("supplied to `"+Y+"`, expected one of "+oe+"."))}return y(W)}function P(A){function W(te,ne,Y,J,U){if(typeof A!="function")return new p("Property `"+U+"` of component `"+Y+"` has invalid PropType notation inside objectOf.");var Q=te[ne],ee=B(Q);if(ee!=="object")return new p("Invalid "+J+" `"+U+"` of type "+("`"+ee+"` supplied to `"+Y+"`, expected an object."));for(var oe in Q)if(r(Q,oe)){var K=A(Q,oe,Y,J,U+"."+oe,n);if(K instanceof Error)return K}return null}return y(W)}function N(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var W=0;W<A.length;W++){var te=A[W];if(typeof te!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+G(te)+" at index "+W+"."),a}function ne(Y,J,U,Q,ee){for(var oe=[],K=0;K<A.length;K++){var ie=A[K],V=ie(Y,J,U,Q,ee,n);if(V==null)return null;V.data&&r(V.data,"expectedType")&&oe.push(V.data.expectedType)}var he=oe.length>0?", expected one of type ["+oe.join(", ")+"]":"";return new p("Invalid "+Q+" `"+ee+"` supplied to "+("`"+U+"`"+he+"."))}return y(ne)}function x(){function A(W,te,ne,Y,J){return z(W[te])?null:new p("Invalid "+Y+" `"+J+"` supplied to "+("`"+ne+"`, expected a ReactNode."))}return y(A)}function k(A,W,te,ne,Y){return new p((A||"React class")+": "+W+" type `"+te+"."+ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Y+"`.")}function F(A){function W(te,ne,Y,J,U){var Q=te[ne],ee=B(Q);if(ee!=="object")return new p("Invalid "+J+" `"+U+"` of type `"+ee+"` "+("supplied to `"+Y+"`, expected `object`."));for(var oe in A){var K=A[oe];if(typeof K!="function")return k(Y,J,U,oe,q(K));var ie=K(Q,oe,Y,J,U+"."+oe,n);if(ie)return ie}return null}return y(W)}function $(A){function W(te,ne,Y,J,U){var Q=te[ne],ee=B(Q);if(ee!=="object")return new p("Invalid "+J+" `"+U+"` of type `"+ee+"` "+("supplied to `"+Y+"`, expected `object`."));var oe=t({},te[ne],A);for(var K in oe){var ie=A[K];if(r(A,K)&&typeof ie!="function")return k(Y,J,U,K,q(ie));if(!ie)return new p("Invalid "+J+" `"+U+"` key `"+K+"` supplied to `"+Y+"`.\nBad object: "+JSON.stringify(te[ne],null," ")+`
Valid keys: `+JSON.stringify(Object.keys(A),null," "));var V=ie(Q,K,Y,J,U+"."+K,n);if(V)return V}return null}return y(W)}function z(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(z);if(A===null||c(A))return!0;var W=f(A);if(W){var te=W.call(A),ne;if(W!==A.entries){for(;!(ne=te.next()).done;)if(!z(ne.value))return!1}else for(;!(ne=te.next()).done;){var Y=ne.value;if(Y&&!z(Y[1]))return!1}}else return!1;return!0;default:return!1}}function L(A,W){return A==="symbol"?!0:W?W["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&W instanceof Symbol:!1}function B(A){var W=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":L(W,A)?"symbol":W}function q(A){if(typeof A>"u"||A===null)return""+A;var W=B(A);if(W==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return W}function G(A){var W=q(A);switch(W){case"array":case"object":return"an "+W;case"boolean":case"date":case"regexp":return"a "+W;default:return W}}function Z(A){return!A.constructor||!A.constructor.name?m:A.constructor.name}return b.checkPropTypes=o,b.resetWarningCache=o.resetWarningCache,b.PropTypes=b,b},ds}var fs,Wc;function Yh(){if(Wc)return fs;Wc=1;var e=Ea();function t(){}function n(){}return n.resetWarningCache=t,fs=function(){function r(a,c,l,u,d,f){if(f!==e){var m=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 m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},fs}if(process.env.NODE_ENV!=="production"){var Kh=gd(),Xh=!0;Vs.exports=Gh()(Kh.isElement,Xh)}else Vs.exports=Yh()();var Jh=Vs.exports;const s=xa(Jh);function ln(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const At="$$material";function Zh(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Qh={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 em(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var tm=/[A-Z]|^ms/g,nm=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vd=function(t){return t.charCodeAt(1)===45},Hc=function(t){return t!=null&&typeof t!="boolean"},ps=em(function(e){return vd(e)?e:e.replace(tm,"-$&").toLowerCase()}),qc=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(nm,function(r,o,i){return an={name:o,styles:i,next:an},o})}return Qh[t]!==1&&!vd(t)&&typeof n=="number"&&n!==0?n+"px":n};function ai(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return an={name:o.name,styles:o.styles,next:an},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)an={name:a.name,styles:a.styles,next:an},a=a.next;var c=i.styles+";";return c}return rm(e,t,n)}}var l=n;return l}function rm(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ai(e,t,n[o])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var c=a;Hc(c)&&(r+=ps(i)+":"+qc(i,c)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var l=0;l<a.length;l++)Hc(a[l])&&(r+=ps(i)+":"+qc(i,a[l])+";");else{var u=ai(e,t,a);switch(i){case"animation":case"animationName":{r+=ps(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}return r}var Gc=/label:\s*([^\s;{]+)\s*(;|$)/g,an;function om(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";an=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=ai(n,t,i);else{var a=i;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=ai(n,t,e[c]),r){var l=i;o+=l[c]}Gc.lastIndex=0;for(var u="",d;(d=Gc.exec(o))!==null;)u+="-"+d[1];var f=Zh(o)+u;return{name:f,styles:o,next:an}}function im(e){return e==null||Object.keys(e).length===0}function Sa(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(im(o)?n:o):t;return h.jsx(gr.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(Sa.propTypes={defaultTheme:s.object,styles:s.oneOfType([s.array,s.string,s.object,s.func])});/**
* @mui/styled-engine v6.3.0
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function bd(e,t){const n=Bh(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.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(`
`)):r.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}function sm(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Yc=[];function Kc(e){return Yc[0]=e,om(Yc)}function zt(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 xd(e){if(v.isValidElement(e)||!zt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=xd(e[n])}),t}function ot(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return zt(e)&&zt(t)&&Object.keys(t).forEach(o=>{v.isValidElement(t[o])?r[o]=t[o]:zt(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&zt(e[o])?r[o]=ot(e[o],t[o],n):n.clone?r[o]=zt(t[o])?xd(t[o]):t[o]:r[o]=t[o]}),r}const am=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function cm(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=am(t),a=Object.keys(i);function c(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function u(m,b){const g=a.indexOf(b);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:b)-r/100}${n})`}function d(m){return a.indexOf(m)+1<a.length?u(m,a[a.indexOf(m)+1]):c(m)}function f(m){const b=a.indexOf(m);return b===0?c(a[1]):b===a.length-1?l(a[b]):u(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:c,down:l,between:u,only:d,not:f,unit:n,...o}}function lm(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,o)=>{var a,c;const i=/min-width:\s*([0-9.]+)/;return+(((a=r.match(i))==null?void 0:a[1])||0)-+(((c=o.match(i))==null?void 0:c[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function um(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function dm(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:ln(18,`(${t})`));return null}const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function fm(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function n(i,a){i.up=(...c)=>t(e.breakpoints.up(...c),a),i.down=(...c)=>t(e.breakpoints.down(...c),a),i.between=(...c)=>t(e.breakpoints.between(...c),a),i.only=(...c)=>t(e.breakpoints.only(...c),a),i.not=(...c)=>{const l=t(e.breakpoints.not(...c),a);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const pm={borderRadius:4},mn=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.string,s.object,s.array]):{};function Br(e,t){return t?ot(e,t,{clone:!1}):e}const Oi={xs:0,sm:600,md:900,lg:1200,xl:1536},Xc={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Oi[e]}px)`},hm={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Oi[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function It(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Xc;return t.reduce((a,c,l)=>(a[i.up(i.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const i=r.breakpoints||Xc;return Object.keys(t).reduce((a,c)=>{if(um(i.keys,c)){const l=dm(r.containerQueries?r:hm,c);l&&(a[l]=n(t[c],c))}else if(Object.keys(i.values||Oi).includes(c)){const l=i.up(c);a[l]=n(t[c],c)}else{const l=c;a[l]=t[l]}return a},{})}return n(t)}function Ed(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Sd(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function mm(e,...t){const n=Ed(e),r=[n,...t].reduce((o,i)=>ot(o,i),{});return Sd(Object.keys(n),r)}function gm(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i<e.length&&(n[o]=!0)}):r.forEach(o=>{e[o]!=null&&(n[o]=!0)}),n}function hs({values:e,breakpoints:t,base:n}){const r=n||gm(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((a,c,l)=>(Array.isArray(e)?(a[c]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[c]=e[c]!=null?e[c]:e[i],i=c):a[c]=e,a),{})}function de(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":ln(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ar(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function ci(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ar(e,n)||r,t&&(o=t(o,r,e)),o}function Xe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const c=a[t],l=a.theme,u=ar(l,r)||{};return It(a,c,f=>{let m=ci(u,o,f);return f===m&&typeof f=="string"&&(m=ci(u,o,`${t}${f==="default"?"":de(f)}`,f)),n===!1?m:{[n]:m}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:mn}:{},i.filterProps=[t],i}function ym(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const vm={m:"margin",p:"padding"},bm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Jc={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},xm=ym(e=>{if(e.length>2)if(Jc[e])e=Jc[e];else return[e];const[t,n]=e.split(""),r=vm[t],o=bm[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Ri=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ji=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Em=[...Ri,...ji];function co(e,t,n,r){const o=ar(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${i}.`),typeof o=="string"?`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(`
`)):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(`
`)));const c=o[a];return i>=0?c:typeof c=="number"?-c:`-${c}`}: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(`
`)),()=>{})}function ki(e){return co(e,"spacing",8,"spacing")}function Mn(e,t){return typeof t=="string"||t==null?t:e(t)}function Sm(e,t){return n=>e.reduce((r,o)=>(r[o]=Mn(t,n),r),{})}function wm(e,t,n,r){if(!t.includes(n))return null;const o=xm(n),i=Sm(o,r),a=e[n];return It(e,a,i)}function wd(e,t){const n=ki(e.theme);return Object.keys(e).map(r=>wm(e,t,r,n)).reduce(Br,{})}function We(e){return wd(e,Ri)}We.propTypes=process.env.NODE_ENV!=="production"?Ri.reduce((e,t)=>(e[t]=mn,e),{}):{};We.filterProps=Ri;function He(e){return wd(e,ji)}He.propTypes=process.env.NODE_ENV!=="production"?ji.reduce((e,t)=>(e[t]=mn,e),{}):{};He.filterProps=ji;process.env.NODE_ENV!=="production"&&Em.reduce((e,t)=>(e[t]=mn,e),{});function Cd(e=8,t=ki({spacing:e})){if(e.mui)return e;const n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return n.mui=!0,n}function Pi(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Br(o,t[i](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function xt(e){return typeof e!="number"?e:`${e}px solid`}function Ot(e,t){return Xe({prop:e,themeKey:"borders",transform:t})}const Cm=Ot("border",xt),Tm=Ot("borderTop",xt),Om=Ot("borderRight",xt),Rm=Ot("borderBottom",xt),jm=Ot("borderLeft",xt),km=Ot("borderColor"),Pm=Ot("borderTopColor"),Nm=Ot("borderRightColor"),Am=Ot("borderBottomColor"),Im=Ot("borderLeftColor"),_m=Ot("outline",xt),Mm=Ot("outlineColor"),Ni=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=co(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Mn(t,r)});return It(e,e.borderRadius,n)}return null};Ni.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:mn}:{};Ni.filterProps=["borderRadius"];Pi(Cm,Tm,Om,Rm,jm,km,Pm,Nm,Am,Im,Ni,_m,Mm);const Ai=e=>{if(e.gap!==void 0&&e.gap!==null){const t=co(e.theme,"spacing",8,"gap"),n=r=>({gap:Mn(t,r)});return It(e,e.gap,n)}return null};Ai.propTypes=process.env.NODE_ENV!=="production"?{gap:mn}:{};Ai.filterProps=["gap"];const Ii=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=co(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Mn(t,r)});return It(e,e.columnGap,n)}return null};Ii.propTypes=process.env.NODE_ENV!=="production"?{columnGap:mn}:{};Ii.filterProps=["columnGap"];const _i=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=co(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Mn(t,r)});return It(e,e.rowGap,n)}return null};_i.propTypes=process.env.NODE_ENV!=="production"?{rowGap:mn}:{};_i.filterProps=["rowGap"];const $m=Xe({prop:"gridColumn"}),Dm=Xe({prop:"gridRow"}),Lm=Xe({prop:"gridAutoFlow"}),Bm=Xe({prop:"gridAutoColumns"}),Fm=Xe({prop:"gridAutoRows"}),Vm=Xe({prop:"gridTemplateColumns"}),Um=Xe({prop:"gridTemplateRows"}),zm=Xe({prop:"gridTemplateAreas"}),Wm=Xe({prop:"gridArea"});Pi(Ai,Ii,_i,$m,Dm,Lm,Bm,Fm,Vm,Um,zm,Wm);function ir(e,t){return t==="grey"?t:e}const Hm=Xe({prop:"color",themeKey:"palette",transform:ir}),qm=Xe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ir}),Gm=Xe({prop:"backgroundColor",themeKey:"palette",transform:ir});Pi(Hm,qm,Gm);function pt(e){return e<=1&&e!==0?`${e*100}%`:e}const Ym=Xe({prop:"width",transform:pt}),wa=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,a,c,l;const r=((a=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:a[n])||Oi[n];return r?((l=(c=e.theme)==null?void 0:c.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:pt(n)}};return It(e,e.maxWidth,t)}return null};wa.filterProps=["maxWidth"];const Km=Xe({prop:"minWidth",transform:pt}),Xm=Xe({prop:"height",transform:pt}),Jm=Xe({prop:"maxHeight",transform:pt}),Zm=Xe({prop:"minHeight",transform:pt});Xe({prop:"size",cssProperty:"width",transform:pt});Xe({prop:"size",cssProperty:"height",transform:pt});const Qm=Xe({prop:"boxSizing"});Pi(Ym,wa,Km,Xm,Jm,Zm,Qm);const lo={border:{themeKey:"borders",transform:xt},borderTop:{themeKey:"borders",transform:xt},borderRight:{themeKey:"borders",transform:xt},borderBottom:{themeKey:"borders",transform:xt},borderLeft:{themeKey:"borders",transform:xt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:xt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ni},color:{themeKey:"palette",transform:ir},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ir},backgroundColor:{themeKey:"palette",transform:ir},p:{style:He},pt:{style:He},pr:{style:He},pb:{style:He},pl:{style:He},px:{style:He},py:{style:He},padding:{style:He},paddingTop:{style:He},paddingRight:{style:He},paddingBottom:{style:He},paddingLeft:{style:He},paddingX:{style:He},paddingY:{style:He},paddingInline:{style:He},paddingInlineStart:{style:He},paddingInlineEnd:{style:He},paddingBlock:{style:He},paddingBlockStart:{style:He},paddingBlockEnd:{style:He},m:{style:We},mt:{style:We},mr:{style:We},mb:{style:We},ml:{style:We},mx:{style:We},my:{style:We},margin:{style:We},marginTop:{style:We},marginRight:{style:We},marginBottom:{style:We},marginLeft:{style:We},marginX:{style:We},marginY:{style:We},marginInline:{style:We},marginInlineStart:{style:We},marginInlineEnd:{style:We},marginBlock:{style:We},marginBlockStart:{style:We},marginBlockEnd:{style:We},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:Ai},rowGap:{style:_i},columnGap:{style:Ii},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:pt},maxWidth:{style:wa},minWidth:{transform:pt},height:{transform:pt},maxHeight:{transform:pt},minHeight:{transform:pt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function eg(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function tg(e,t){return typeof e=="function"?e(t):e}function ng(){function e(n,r,o,i){const a={[n]:r,theme:o},c=i[n];if(!c)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:d,style:f}=c;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const m=ar(o,u)||{};return f?f(a):It(a,r,g=>{let p=ci(m,d,g);return g===p&&typeof g=="string"&&(p=ci(m,d,`${n}${g==="default"?"":de(g)}`,g)),l===!1?p:{[l]:p}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??lo;function a(c){let l=c;if(typeof c=="function")l=c(o);else if(typeof c!="object")return c;if(!l)return null;const u=Ed(o.breakpoints),d=Object.key