@codeplex-sac/theme 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +9 -9
- package/index.js +242 -239
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("react/jsx-runtime"),Ee=require("react");function To(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const _=To(Ee),rt={black:"#000",white:"#fff"},Ve={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Fe={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},We={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ue={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ze={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Je={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},xo={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Ne(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Be="$$material";function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ir.apply(null,arguments)}function wo(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function $o(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Oo=(function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag($o(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=wo(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e})(),de="-ms-",xt="-moz-",K="-webkit-",Rn="comm",mr="rule",hr="decl",ko="@import",Nn="@keyframes",_o="@layer",Po=Math.abs,Ot=String.fromCharCode,Ao=Object.assign;function Ro(e,t){return le(e,0)^45?(((t<<2^le(e,0))<<2^le(e,1))<<2^le(e,2))<<2^le(e,3):0}function Mn(e){return e.trim()}function No(e,t){return(e=t.exec(e))?e[0]:e}function H(e,t,r){return e.replace(t,r)}function ar(e,t){return e.indexOf(t)}function le(e,t){return e.charCodeAt(t)|0}function nt(e,t,r){return e.slice(t,r)}function Oe(e){return e.length}function gr(e){return e.length}function mt(e,t){return t.push(e),e}function Mo(e,t){return e.map(t).join("")}var kt=1,Ge=1,In=0,he=0,ce=0,Ke="";function _t(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:kt,column:Ge,length:a,return:""}}function Qe(e,t){return Ao(_t("",null,null,"",null,null,0),e,{length:-e.length},t)}function Io(){return ce}function Do(){return ce=he>0?le(Ke,--he):0,Ge--,ce===10&&(Ge=1,kt--),ce}function be(){return ce=he<In?le(Ke,he++):0,Ge++,ce===10&&(Ge=1,kt++),ce}function _e(){return le(Ke,he)}function St(){return he}function st(e,t){return nt(Ke,e,t)}function ot(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Dn(e){return kt=Ge=1,In=Oe(Ke=e),he=0,[]}function jn(e){return Ke="",e}function Ct(e){return Mn(st(he-1,sr(e===91?e+2:e===40?e+1:e)))}function jo(e){for(;(ce=_e())&&ce<33;)be();return ot(e)>2||ot(ce)>3?"":" "}function Lo(e,t){for(;--t&&be()&&!(ce<48||ce>102||ce>57&&ce<65||ce>70&&ce<97););return st(e,St()+(t<6&&_e()==32&&be()==32))}function sr(e){for(;be();)switch(ce){case e:return he;case 34:case 39:e!==34&&e!==39&&sr(ce);break;case 40:e===41&&sr(e);break;case 92:be();break}return he}function Bo(e,t){for(;be()&&e+ce!==57;)if(e+ce===84&&_e()===47)break;return"/*"+st(t,he-1)+"*"+Ot(e===47?e:be())}function Vo(e){for(;!ot(_e());)be();return st(e,he)}function Fo(e){return jn(Et("",null,null,null,[""],e=Dn(e),0,[0],e))}function Et(e,t,r,n,o,i,a,c,u){for(var f=0,d=0,p=a,h=0,v=0,g=0,l=1,y=1,E=1,k=0,P="",C=o,b=i,T=n,I=P;y;)switch(g=k,k=be()){case 40:if(g!=108&&le(I,p-1)==58){ar(I+=H(Ct(k),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:I+=Ct(k);break;case 9:case 10:case 13:case 32:I+=jo(g);break;case 92:I+=Lo(St()-1,7);continue;case 47:switch(_e()){case 42:case 47:mt(Wo(Bo(be(),St()),t,r),u);break;default:I+="/"}break;case 123*l:c[f++]=Oe(I)*E;case 125*l:case 59:case 0:switch(k){case 0:case 125:y=0;case 59+d:E==-1&&(I=H(I,/\f/g,"")),v>0&&Oe(I)-p&&mt(v>32?Vr(I+";",n,r,p-1):Vr(H(I," ","")+";",n,r,p-2),u);break;case 59:I+=";";default:if(mt(T=Br(I,t,r,f,d,o,c,P,C=[],b=[],p),i),k===123)if(d===0)Et(I,t,T,T,C,i,p,c,b);else switch(h===99&&le(I,3)===110?100:h){case 100:case 108:case 109:case 115:Et(e,T,T,n&&mt(Br(e,T,T,0,0,o,c,P,o,C=[],p),b),o,b,p,c,n?C:b);break;default:Et(I,T,T,T,[""],b,0,c,b)}}f=d=v=0,l=E=1,P=I="",p=a;break;case 58:p=1+Oe(I),v=g;default:if(l<1){if(k==123)--l;else if(k==125&&l++==0&&Do()==125)continue}switch(I+=Ot(k),k*l){case 38:E=d>0?1:(I+="\f",-1);break;case 44:c[f++]=(Oe(I)-1)*E,E=1;break;case 64:_e()===45&&(I+=Ct(be())),h=_e(),d=p=Oe(P=I+=Vo(St())),k++;break;case 45:g===45&&Oe(I)==2&&(l=0)}}return i}function Br(e,t,r,n,o,i,a,c,u,f,d){for(var p=o-1,h=o===0?i:[""],v=gr(h),g=0,l=0,y=0;g<n;++g)for(var E=0,k=nt(e,p+1,p=Po(l=a[g])),P=e;E<v;++E)(P=Mn(l>0?h[E]+" "+k:H(k,/&\f/g,h[E])))&&(u[y++]=P);return _t(e,t,r,o===0?mr:c,u,f,d)}function Wo(e,t,r){return _t(e,t,r,Rn,Ot(Io()),nt(e,2,-2),0)}function Vr(e,t,r,n){return _t(e,t,r,hr,nt(e,0,n),nt(e,n+1,-1),n)}function Ye(e,t){for(var r="",n=gr(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Uo(e,t,r,n){switch(e.type){case _o:if(e.children.length)break;case ko:case hr:return e.return=e.return||e.value;case Rn:return"";case Nn:return e.return=e.value+"{"+Ye(e.children,n)+"}";case mr:e.value=e.props.join(",")}return Oe(r=Ye(e.children,n))?e.return=e.value+"{"+r+"}":""}function zo(e){var t=gr(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function Yo(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ln(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var qo=function(t,r,n){for(var o=0,i=0;o=i,i=_e(),o===38&&i===12&&(r[n]=1),!ot(i);)be();return st(t,he)},Go=function(t,r){var n=-1,o=44;do switch(ot(o)){case 0:o===38&&_e()===12&&(r[n]=1),t[n]+=qo(he-1,r,n);break;case 2:t[n]+=Ct(o);break;case 4:if(o===44){t[++n]=_e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ot(o)}while(o=be());return t},Ko=function(t,r){return jn(Go(Dn(t),r))},Fr=new WeakMap,Ho=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Fr.get(n))&&!o){Fr.set(t,!0);for(var i=[],a=Ko(r,i),c=n.props,u=0,f=0;u<a.length;u++)for(var d=0;d<c.length;d++,f++)t.props[f]=i[u]?a[u].replace(/&\f/g,c[d]):c[d]+" "+a[u]}}},Xo=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Bn(e,t){switch(Ro(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+xt+e+de+e+e;case 6828:case 4268:return K+e+de+e+e;case 6165:return K+e+de+"flex-"+e+e;case 5187:return K+e+H(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return K+e+de+"flex-item-"+H(e,/flex-|-self/,"")+e;case 4675:return K+e+de+"flex-line-pack"+H(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+de+H(e,"shrink","negative")+e;case 5292:return K+e+de+H(e,"basis","preferred-size")+e;case 6060:return K+"box-"+H(e,"-grow","")+K+e+de+H(e,"grow","positive")+e;case 4554:return K+H(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return H(H(H(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return H(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return H(H(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return H(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Oe(e)-1-t>6)switch(le(e,t+1)){case 109:if(le(e,t+4)!==45)break;case 102:return H(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+xt+(le(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ar(e,"stretch")?Bn(H(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(le(e,t+1)!==115)break;case 6444:switch(le(e,Oe(e)-3-(~ar(e,"!important")&&10))){case 107:return H(e,":",":"+K)+e;case 101:return H(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(le(e,14)===45?"inline-":"")+"box$3$1"+K+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(le(e,t+11)){case 114:return K+e+de+H(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+de+H(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+de+H(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+de+e+e}return e}var Jo=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case hr:t.return=Bn(t.value,t.length);break;case Nn:return Ye([Qe(t,{value:H(t.value,"@","@"+K)})],o);case mr:if(t.length)return Mo(t.props,function(i){switch(No(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ye([Qe(t,{props:[H(i,/:(read-\w+)/,":"+xt+"$1")]})],o);case"::placeholder":return Ye([Qe(t,{props:[H(i,/:(plac\w+)/,":"+K+"input-$1")]}),Qe(t,{props:[H(i,/:(plac\w+)/,":"+xt+"$1")]}),Qe(t,{props:[H(i,/:(plac\w+)/,de+"input-$1")]})],o)}return""})}},Qo=[Jo],Zo=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(l){var y=l.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||Qo,i={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var y=l.getAttribute("data-emotion").split(" "),E=1;E<y.length;E++)i[y[E]]=!0;c.push(l)});var u,f=[Ho,Xo];{var d,p=[Uo,Yo(function(l){d.insert(l)})],h=zo(f.concat(o,p)),v=function(y){return Ye(Fo(y),h)};u=function(y,E,k,P){d=k,v(y?y+"{"+E.styles+"}":E.styles),P&&(g.inserted[E.name]=!0)}}var g={key:r,sheet:new Oo({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return g.sheet.hydrate(c),g};function ei(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ht={exports:{}},X={};var Wr;function ti(){if(Wr)return X;Wr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function P(b){if(typeof b=="object"&&b!==null){var T=b.$$typeof;switch(T){case t:switch(b=b.type,b){case u:case f:case n:case i:case o:case p:return b;default:switch(b=b&&b.$$typeof,b){case c:case d:case g:case v:case a:return b;default:return T}}case r:return T}}}function C(b){return P(b)===f}return X.AsyncMode=u,X.ConcurrentMode=f,X.ContextConsumer=c,X.ContextProvider=a,X.Element=t,X.ForwardRef=d,X.Fragment=n,X.Lazy=g,X.Memo=v,X.Portal=r,X.Profiler=i,X.StrictMode=o,X.Suspense=p,X.isAsyncMode=function(b){return C(b)||P(b)===u},X.isConcurrentMode=C,X.isContextConsumer=function(b){return P(b)===c},X.isContextProvider=function(b){return P(b)===a},X.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},X.isForwardRef=function(b){return P(b)===d},X.isFragment=function(b){return P(b)===n},X.isLazy=function(b){return P(b)===g},X.isMemo=function(b){return P(b)===v},X.isPortal=function(b){return P(b)===r},X.isProfiler=function(b){return P(b)===i},X.isStrictMode=function(b){return P(b)===o},X.isSuspense=function(b){return P(b)===p},X.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===f||b===i||b===o||b===p||b===h||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===v||b.$$typeof===a||b.$$typeof===c||b.$$typeof===d||b.$$typeof===y||b.$$typeof===E||b.$$typeof===k||b.$$typeof===l)},X.typeOf=P,X}var J={};var Ur;function ri(){return Ur||(Ur=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function P(w){return typeof w=="string"||typeof w=="function"||w===n||w===f||w===i||w===o||w===p||w===h||typeof w=="object"&&w!==null&&(w.$$typeof===g||w.$$typeof===v||w.$$typeof===a||w.$$typeof===c||w.$$typeof===d||w.$$typeof===y||w.$$typeof===E||w.$$typeof===k||w.$$typeof===l)}function C(w){if(typeof w=="object"&&w!==null){var ge=w.$$typeof;switch(ge){case t:var je=w.type;switch(je){case u:case f:case n:case i:case o:case p:return je;default:var He=je&&je.$$typeof;switch(He){case c:case d:case g:case v:case a:return He;default:return ge}}case r:return ge}}}var b=u,T=f,I=c,L=a,R=t,N=d,D=n,s=g,M=v,x=r,q=i,Y=o,ue=p,pe=!1;function De(w){return pe||(pe=!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.")),S(w)||C(w)===u}function S(w){return C(w)===f}function O(w){return C(w)===c}function A(w){return C(w)===a}function j(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function B(w){return C(w)===d}function W(w){return C(w)===n}function F(w){return C(w)===g}function V(w){return C(w)===v}function U(w){return C(w)===r}function G(w){return C(w)===i}function z(w){return C(w)===o}function fe(w){return C(w)===p}J.AsyncMode=b,J.ConcurrentMode=T,J.ContextConsumer=I,J.ContextProvider=L,J.Element=R,J.ForwardRef=N,J.Fragment=D,J.Lazy=s,J.Memo=M,J.Portal=x,J.Profiler=q,J.StrictMode=Y,J.Suspense=ue,J.isAsyncMode=De,J.isConcurrentMode=S,J.isContextConsumer=O,J.isContextProvider=A,J.isElement=j,J.isForwardRef=B,J.isFragment=W,J.isLazy=F,J.isMemo=V,J.isPortal=U,J.isProfiler=G,J.isStrictMode=z,J.isSuspense=fe,J.isValidElementType=P,J.typeOf=C})()),J}var zr;function yr(){return zr||(zr=1,process.env.NODE_ENV==="production"?ht.exports=ti():ht.exports=ri()),ht.exports}var Gt,Yr;function ni(){if(Yr)return Gt;Yr=1;var e=yr(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=n,i[e.Memo]=o;function a(g){return e.isMemo(g)?o:i[g.$$typeof]||t}var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function v(g,l,y){if(typeof l!="string"){if(h){var E=p(l);E&&E!==h&&v(g,E,y)}var k=u(l);f&&(k=k.concat(f(l)));for(var P=a(g),C=a(l),b=0;b<k.length;++b){var T=k[b];if(!r[T]&&!(y&&y[T])&&!(C&&C[T])&&!(P&&P[T])){var I=d(l,T);try{c(g,T,I)}catch{}}}}return g}return Gt=v,Gt}ni();var oi=!0;function Vn(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var br=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||oi===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},vr=function(t,r,n){br(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function ii(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ai={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},si=/[A-Z]|^ms/g,ci=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fn=function(t){return t.charCodeAt(1)===45},qr=function(t){return t!=null&&typeof t!="boolean"},Kt=Ln(function(e){return Fn(e)?e:e.replace(si,"-$&").toLowerCase()}),Gr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ci,function(n,o,i){return ke={name:o,styles:i,next:ke},o})}return ai[t]!==1&&!Fn(t)&&typeof r=="number"&&r!==0?r+"px":r};function it(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ke={name:o.name,styles:o.styles,next:ke},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ke={name:a.name,styles:a.styles,next:ke},a=a.next;var c=i.styles+";";return c}return li(e,t,r)}case"function":{if(e!==void 0){var u=ke,f=r(e);return ke=u,it(e,t,f)}break}}var d=r;if(t==null)return d;var p=t[d];return p!==void 0?p:d}function li(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=it(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var c=a;t!=null&&t[c]!==void 0?n+=i+"{"+t[c]+"}":qr(c)&&(n+=Kt(i)+":"+Gr(i,c)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var u=0;u<a.length;u++)qr(a[u])&&(n+=Kt(i)+":"+Gr(i,a[u])+";");else{var f=it(e,t,a);switch(i){case"animation":case"animationName":{n+=Kt(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}return n}var Kr=/label:\s*([^\s;{]+)\s*(;|$)/g,ke;function Pt(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ke=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=it(r,t,i);else{var a=i;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=it(r,t,e[c]),n){var u=i;o+=u[c]}Kr.lastIndex=0;for(var f="",d;(d=Kr.exec(o))!==null;)f+="-"+d[1];var p=ii(o)+f;return{name:p,styles:o,next:ke}}var ui=function(t){return t()},Wn=_.useInsertionEffect?_.useInsertionEffect:!1,Un=Wn||ui,Hr=Wn||_.useLayoutEffect,zn=_.createContext(typeof HTMLElement<"u"?Zo({key:"css"}):null);zn.Provider;var Sr=function(t){return Ee.forwardRef(function(r,n){var o=Ee.useContext(zn);return t(r,o,n)})},ct=_.createContext({}),Cr={}.hasOwnProperty,cr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",fi=function(t,r){var n={};for(var o in r)Cr.call(r,o)&&(n[o]=r[o]);return n[cr]=t,n},di=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return br(r,n,o),Un(function(){return vr(r,n,o)}),null},pi=Sr(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[cr],i=[n],a="";typeof e.className=="string"?a=Vn(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var c=Pt(i,void 0,_.useContext(ct));a+=t.key+"-"+c.name;var u={};for(var f in e)Cr.call(e,f)&&f!=="css"&&f!==cr&&(u[f]=e[f]);return u.className=a,r&&(u.ref=r),_.createElement(_.Fragment,null,_.createElement(di,{cache:t,serialized:c,isStringTag:typeof o=="string"}),_.createElement(o,u))}),mi=pi,Xr=function(t,r){var n=arguments;if(r==null||!Cr.call(r,"css"))return _.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=mi,i[1]=fi(t,r);for(var a=2;a<o;a++)i[a]=n[a];return _.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Xr||(Xr={}));var hi=Sr(function(e,t){var r=e.styles,n=Pt([r],void 0,_.useContext(ct)),o=_.useRef();return Hr(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,u=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),u!==null&&(c=!0,u.setAttribute("data-emotion",i),a.hydrate([u])),o.current=[a,c],function(){a.flush()}},[t]),Hr(function(){var i=o.current,a=i[0],c=i[1];if(c){i[1]=!1;return}if(n.next!==void 0&&vr(t,n.next,!0),a.tags.length){var u=a.tags[a.tags.length-1].nextElementSibling;a.before=u,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null}),gi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,yi=Ln(function(e){return gi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),bi=yi,vi=function(t){return t!=="theme"},Jr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bi:vi},Qr=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Si=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return br(r,n,o),Un(function(){return vr(r,n,o)}),null},Ci=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var c=Qr(t,r,n),u=c||Jr(o),f=!u("as");return function(){var d=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{var h=d[0];p.push(h[0]);for(var v=d.length,g=1;g<v;g++)p.push(d[g],h[g])}var l=Sr(function(y,E,k){var P=f&&y.as||o,C="",b=[],T=y;if(y.theme==null){T={};for(var I in y)T[I]=y[I];T.theme=_.useContext(ct)}typeof y.className=="string"?C=Vn(E.registered,b,y.className):y.className!=null&&(C=y.className+" ");var L=Pt(p.concat(b),E.registered,T);C+=E.key+"-"+L.name,a!==void 0&&(C+=" "+a);var R=f&&c===void 0?Jr(P):u,N={};for(var D in y)f&&D==="as"||R(D)&&(N[D]=y[D]);return N.className=C,k&&(N.ref=k),_.createElement(_.Fragment,null,_.createElement(Si,{cache:E,serialized:L,isStringTag:typeof P=="string"}),_.createElement(P,N))});return l.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_styles=p,l.__emotion_forwardProp=c,Object.defineProperty(l,"toString",{value:function(){return"."+a}}),l.withComponent=function(y,E){var k=e(y,ir({},r,E,{shouldForwardProp:Qr(l,E,!0)}));return k.apply(void 0,p)},l}},Ei=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Zr=Ci.bind(null);Ei.forEach(function(e){Zr[e]=Zr(e)});var gt={exports:{}};var Ht,en;function Ti(){if(en)return Ht;en=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(d){f[d]=d}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ht=o()?Object.assign:function(i,a){for(var c,u=n(i),f,d=1;d<arguments.length;d++){c=Object(arguments[d]);for(var p in c)t.call(c,p)&&(u[p]=c[p]);if(e){f=e(c);for(var h=0;h<f.length;h++)r.call(c,f[h])&&(u[f[h]]=c[f[h]])}}return u},Ht}var Xt,tn;function Er(){if(tn)return Xt;tn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Xt=e,Xt}var Jt,rn;function Yn(){return rn||(rn=1,Jt=Function.call.bind(Object.prototype.hasOwnProperty)),Jt}var Qt,nn;function xi(){if(nn)return Qt;nn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Er(),r={},n=Yn();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,c,u,f){if(process.env.NODE_ENV!=="production"){for(var d in i)if(n(i,d)){var p;try{if(typeof i[d]!="function"){var h=Error((u||"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 h.name="Invariant Violation",h}p=i[d](a,d,u,c,null,t)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var v=f?f():"";e("Failed "+c+" type: "+p.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Qt=o,Qt}var Zt,on;function wi(){if(on)return Zt;on=1;var e=yr(),t=Ti(),r=Er(),n=Yn(),o=xi(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return Zt=function(c,u){var f=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function p(S){var O=S&&(f&&S[f]||S[d]);if(typeof O=="function")return O}var h="<<anonymous>>",v={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:k(),arrayOf:P,element:C(),elementType:b(),instanceOf:T,node:N(),objectOf:L,oneOf:I,oneOfType:R,shape:s,exact:M};function g(S,O){return S===O?S!==0||1/S===1/O:S!==S&&O!==O}function l(S,O){this.message=S,this.data=O&&typeof O=="object"?O:{},this.stack=""}l.prototype=Error.prototype;function y(S){if(process.env.NODE_ENV!=="production")var O={},A=0;function j(W,F,V,U,G,z,fe){if(U=U||h,z=z||V,fe!==r){if(u){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=U+":"+V;!O[ge]&&A<3&&(i("You are manually calling a React.PropTypes validation function for the `"+z+"` prop on `"+U+"`. 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."),O[ge]=!0,A++)}}return F[V]==null?W?F[V]===null?new l("The "+G+" `"+z+"` is marked as required "+("in `"+U+"`, but its value is `null`.")):new l("The "+G+" `"+z+"` is marked as required in "+("`"+U+"`, but its value is `undefined`.")):null:S(F,V,U,G,z)}var B=j.bind(null,!1);return B.isRequired=j.bind(null,!0),B}function E(S){function O(A,j,B,W,F,V){var U=A[j],G=Y(U);if(G!==S){var z=ue(U);return new l("Invalid "+W+" `"+F+"` of type "+("`"+z+"` supplied to `"+B+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(O)}function k(){return y(a)}function P(S){function O(A,j,B,W,F){if(typeof S!="function")return new l("Property `"+F+"` of component `"+B+"` has invalid PropType notation inside arrayOf.");var V=A[j];if(!Array.isArray(V)){var U=Y(V);return new l("Invalid "+W+" `"+F+"` of type "+("`"+U+"` supplied to `"+B+"`, expected an array."))}for(var G=0;G<V.length;G++){var z=S(V,G,B,W,F+"["+G+"]",r);if(z instanceof Error)return z}return null}return y(O)}function C(){function S(O,A,j,B,W){var F=O[A];if(!c(F)){var V=Y(F);return new l("Invalid "+B+" `"+W+"` of type "+("`"+V+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return y(S)}function b(){function S(O,A,j,B,W){var F=O[A];if(!e.isValidElementType(F)){var V=Y(F);return new l("Invalid "+B+" `"+W+"` of type "+("`"+V+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return y(S)}function T(S){function O(A,j,B,W,F){if(!(A[j]instanceof S)){var V=S.name||h,U=De(A[j]);return new l("Invalid "+W+" `"+F+"` of type "+("`"+U+"` supplied to `"+B+"`, expected ")+("instance of `"+V+"`."))}return null}return y(O)}function I(S){if(!Array.isArray(S))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 O(A,j,B,W,F){for(var V=A[j],U=0;U<S.length;U++)if(g(V,S[U]))return null;var G=JSON.stringify(S,function(fe,w){var ge=ue(w);return ge==="symbol"?String(w):w});return new l("Invalid "+W+" `"+F+"` of value `"+String(V)+"` "+("supplied to `"+B+"`, expected one of "+G+"."))}return y(O)}function L(S){function O(A,j,B,W,F){if(typeof S!="function")return new l("Property `"+F+"` of component `"+B+"` has invalid PropType notation inside objectOf.");var V=A[j],U=Y(V);if(U!=="object")return new l("Invalid "+W+" `"+F+"` of type "+("`"+U+"` supplied to `"+B+"`, expected an object."));for(var G in V)if(n(V,G)){var z=S(V,G,B,W,F+"."+G,r);if(z instanceof Error)return z}return null}return y(O)}function R(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var O=0;O<S.length;O++){var A=S[O];if(typeof A!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+pe(A)+" at index "+O+"."),a}function j(B,W,F,V,U){for(var G=[],z=0;z<S.length;z++){var fe=S[z],w=fe(B,W,F,V,U,r);if(w==null)return null;w.data&&n(w.data,"expectedType")&&G.push(w.data.expectedType)}var ge=G.length>0?", expected one of type ["+G.join(", ")+"]":"";return new l("Invalid "+V+" `"+U+"` supplied to "+("`"+F+"`"+ge+"."))}return y(j)}function N(){function S(O,A,j,B,W){return x(O[A])?null:new l("Invalid "+B+" `"+W+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return y(S)}function D(S,O,A,j,B){return new l((S||"React class")+": "+O+" type `"+A+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function s(S){function O(A,j,B,W,F){var V=A[j],U=Y(V);if(U!=="object")return new l("Invalid "+W+" `"+F+"` of type `"+U+"` "+("supplied to `"+B+"`, expected `object`."));for(var G in S){var z=S[G];if(typeof z!="function")return D(B,W,F,G,ue(z));var fe=z(V,G,B,W,F+"."+G,r);if(fe)return fe}return null}return y(O)}function M(S){function O(A,j,B,W,F){var V=A[j],U=Y(V);if(U!=="object")return new l("Invalid "+W+" `"+F+"` of type `"+U+"` "+("supplied to `"+B+"`, expected `object`."));var G=t({},A[j],S);for(var z in G){var fe=S[z];if(n(S,z)&&typeof fe!="function")return D(B,W,F,z,ue(fe));if(!fe)return new l("Invalid "+W+" `"+F+"` key `"+z+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(A[j],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var w=fe(V,z,B,W,F+"."+z,r);if(w)return w}return null}return y(O)}function x(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(x);if(S===null||c(S))return!0;var O=p(S);if(O){var A=O.call(S),j;if(O!==S.entries){for(;!(j=A.next()).done;)if(!x(j.value))return!1}else for(;!(j=A.next()).done;){var B=j.value;if(B&&!x(B[1]))return!1}}else return!1;return!0;default:return!1}}function q(S,O){return S==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function Y(S){var O=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":q(O,S)?"symbol":O}function ue(S){if(typeof S>"u"||S===null)return""+S;var O=Y(S);if(O==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return O}function pe(S){var O=ue(S);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function De(S){return!S.constructor||!S.constructor.name?h:S.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Zt}var er,an;function $i(){if(an)return er;an=1;var e=Er();function t(){}function r(){}return r.resetWarningCache=t,er=function(){function n(a,c,u,f,d,p){if(p!==e){var h=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 h.name="Invariant Violation",h}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},er}var sn;function Oi(){if(sn)return gt.exports;if(sn=1,process.env.NODE_ENV!=="production"){var e=yr(),t=!0;gt.exports=wi()(e.isElement,t)}else gt.exports=$i()();return gt.exports}var ki=Oi();const $=ei(ki);function _i(e){return e==null||Object.keys(e).length===0}function Tr(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(_i(o)?r:o):t;return re.jsx(hi,{styles:n})}process.env.NODE_ENV!=="production"&&(Tr.propTypes={defaultTheme:$.object,styles:$.oneOfType([$.array,$.string,$.object,$.func])});const cn=[];function Pi(e){return cn[0]=e,Pt(cn)}var yt={exports:{}},ee={};var ln;function Ai(){if(ln)return ee;ln=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(l){if(typeof l=="object"&&l!==null){var y=l.$$typeof;switch(y){case e:switch(l=l.type,l){case r:case o:case n:case u:case f:case h:return l;default:switch(l=l&&l.$$typeof,l){case a:case c:case p:case d:return l;case i:return l;default:return y}}case t:return y}}}return ee.ContextConsumer=i,ee.ContextProvider=a,ee.Element=e,ee.ForwardRef=c,ee.Fragment=r,ee.Lazy=p,ee.Memo=d,ee.Portal=t,ee.Profiler=o,ee.StrictMode=n,ee.Suspense=u,ee.SuspenseList=f,ee.isContextConsumer=function(l){return g(l)===i},ee.isContextProvider=function(l){return g(l)===a},ee.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},ee.isForwardRef=function(l){return g(l)===c},ee.isFragment=function(l){return g(l)===r},ee.isLazy=function(l){return g(l)===p},ee.isMemo=function(l){return g(l)===d},ee.isPortal=function(l){return g(l)===t},ee.isProfiler=function(l){return g(l)===o},ee.isStrictMode=function(l){return g(l)===n},ee.isSuspense=function(l){return g(l)===u},ee.isSuspenseList=function(l){return g(l)===f},ee.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===u||l===f||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===d||l.$$typeof===a||l.$$typeof===i||l.$$typeof===c||l.$$typeof===v||l.getModuleId!==void 0)},ee.typeOf=g,ee}var te={};var un;function Ri(){return un||(un=1,process.env.NODE_ENV!=="production"&&(function(){function e(l){if(typeof l=="object"&&l!==null){var y=l.$$typeof;switch(y){case t:switch(l=l.type,l){case n:case i:case o:case f:case d:case v:return l;default:switch(l=l&&l.$$typeof,l){case c:case u:case h:case p:return l;case a:return l;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");te.ContextConsumer=a,te.ContextProvider=c,te.Element=t,te.ForwardRef=u,te.Fragment=n,te.Lazy=h,te.Memo=p,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=f,te.SuspenseList=d,te.isContextConsumer=function(l){return e(l)===a},te.isContextProvider=function(l){return e(l)===c},te.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},te.isForwardRef=function(l){return e(l)===u},te.isFragment=function(l){return e(l)===n},te.isLazy=function(l){return e(l)===h},te.isMemo=function(l){return e(l)===p},te.isPortal=function(l){return e(l)===r},te.isProfiler=function(l){return e(l)===i},te.isStrictMode=function(l){return e(l)===o},te.isSuspense=function(l){return e(l)===f},te.isSuspenseList=function(l){return e(l)===d},te.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===f||l===d||typeof l=="object"&&l!==null&&(l.$$typeof===h||l.$$typeof===p||l.$$typeof===c||l.$$typeof===a||l.$$typeof===u||l.$$typeof===g||l.getModuleId!==void 0)},te.typeOf=e})()),te}var fn;function Ni(){return fn||(fn=1,process.env.NODE_ENV==="production"?yt.exports=Ai():yt.exports=Ri()),yt.exports}var qn=Ni();function Re(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 Gn(e){if(_.isValidElement(e)||qn.isValidElementType(e)||!Re(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Gn(e[r])}),t}function
|
|
3
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ne(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Li(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(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 u=t(e.breakpoints.not(...c),a);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Bi={borderRadius:4},Ie=process.env.NODE_ENV!=="production"?$.oneOfType([$.number,$.string,$.object,$.array]):{};function tt(e,t){return t?
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("react/jsx-runtime"),ye=require("react");function To(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const _=To(ye),rt={black:"#000",white:"#fff"},Ve={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Fe={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},We={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ue={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},ze={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Je={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},xo={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Ne(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Be="$$material";function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ir.apply(null,arguments)}function wo(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function $o(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Oo=(function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag($o(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=wo(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e})(),de="-ms-",xt="-moz-",K="-webkit-",Rn="comm",mr="rule",hr="decl",ko="@import",Nn="@keyframes",_o="@layer",Po=Math.abs,Ot=String.fromCharCode,Ao=Object.assign;function Ro(e,t){return le(e,0)^45?(((t<<2^le(e,0))<<2^le(e,1))<<2^le(e,2))<<2^le(e,3):0}function Mn(e){return e.trim()}function No(e,t){return(e=t.exec(e))?e[0]:e}function H(e,t,r){return e.replace(t,r)}function ar(e,t){return e.indexOf(t)}function le(e,t){return e.charCodeAt(t)|0}function nt(e,t,r){return e.slice(t,r)}function Oe(e){return e.length}function gr(e){return e.length}function mt(e,t){return t.push(e),e}function Mo(e,t){return e.map(t).join("")}var kt=1,Ge=1,In=0,he=0,ce=0,Ke="";function _t(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:kt,column:Ge,length:a,return:""}}function Qe(e,t){return Ao(_t("",null,null,"",null,null,0),e,{length:-e.length},t)}function Io(){return ce}function Do(){return ce=he>0?le(Ke,--he):0,Ge--,ce===10&&(Ge=1,kt--),ce}function ve(){return ce=he<In?le(Ke,he++):0,Ge++,ce===10&&(Ge=1,kt++),ce}function _e(){return le(Ke,he)}function St(){return he}function st(e,t){return nt(Ke,e,t)}function ot(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Dn(e){return kt=Ge=1,In=Oe(Ke=e),he=0,[]}function jn(e){return Ke="",e}function Ct(e){return Mn(st(he-1,sr(e===91?e+2:e===40?e+1:e)))}function jo(e){for(;(ce=_e())&&ce<33;)ve();return ot(e)>2||ot(ce)>3?"":" "}function Lo(e,t){for(;--t&&ve()&&!(ce<48||ce>102||ce>57&&ce<65||ce>70&&ce<97););return st(e,St()+(t<6&&_e()==32&&ve()==32))}function sr(e){for(;ve();)switch(ce){case e:return he;case 34:case 39:e!==34&&e!==39&&sr(ce);break;case 40:e===41&&sr(e);break;case 92:ve();break}return he}function Bo(e,t){for(;ve()&&e+ce!==57;)if(e+ce===84&&_e()===47)break;return"/*"+st(t,he-1)+"*"+Ot(e===47?e:ve())}function Vo(e){for(;!ot(_e());)ve();return st(e,he)}function Fo(e){return jn(Et("",null,null,null,[""],e=Dn(e),0,[0],e))}function Et(e,t,r,n,o,i,a,c,u){for(var f=0,d=0,p=a,h=0,v=0,g=0,l=1,y=1,E=1,k=0,P="",C=o,b=i,T=n,I=P;y;)switch(g=k,k=ve()){case 40:if(g!=108&&le(I,p-1)==58){ar(I+=H(Ct(k),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:I+=Ct(k);break;case 9:case 10:case 13:case 32:I+=jo(g);break;case 92:I+=Lo(St()-1,7);continue;case 47:switch(_e()){case 42:case 47:mt(Wo(Bo(ve(),St()),t,r),u);break;default:I+="/"}break;case 123*l:c[f++]=Oe(I)*E;case 125*l:case 59:case 0:switch(k){case 0:case 125:y=0;case 59+d:E==-1&&(I=H(I,/\f/g,"")),v>0&&Oe(I)-p&&mt(v>32?Vr(I+";",n,r,p-1):Vr(H(I," ","")+";",n,r,p-2),u);break;case 59:I+=";";default:if(mt(T=Br(I,t,r,f,d,o,c,P,C=[],b=[],p),i),k===123)if(d===0)Et(I,t,T,T,C,i,p,c,b);else switch(h===99&&le(I,3)===110?100:h){case 100:case 108:case 109:case 115:Et(e,T,T,n&&mt(Br(e,T,T,0,0,o,c,P,o,C=[],p),b),o,b,p,c,n?C:b);break;default:Et(I,T,T,T,[""],b,0,c,b)}}f=d=v=0,l=E=1,P=I="",p=a;break;case 58:p=1+Oe(I),v=g;default:if(l<1){if(k==123)--l;else if(k==125&&l++==0&&Do()==125)continue}switch(I+=Ot(k),k*l){case 38:E=d>0?1:(I+="\f",-1);break;case 44:c[f++]=(Oe(I)-1)*E,E=1;break;case 64:_e()===45&&(I+=Ct(ve())),h=_e(),d=p=Oe(P=I+=Vo(St())),k++;break;case 45:g===45&&Oe(I)==2&&(l=0)}}return i}function Br(e,t,r,n,o,i,a,c,u,f,d){for(var p=o-1,h=o===0?i:[""],v=gr(h),g=0,l=0,y=0;g<n;++g)for(var E=0,k=nt(e,p+1,p=Po(l=a[g])),P=e;E<v;++E)(P=Mn(l>0?h[E]+" "+k:H(k,/&\f/g,h[E])))&&(u[y++]=P);return _t(e,t,r,o===0?mr:c,u,f,d)}function Wo(e,t,r){return _t(e,t,r,Rn,Ot(Io()),nt(e,2,-2),0)}function Vr(e,t,r,n){return _t(e,t,r,hr,nt(e,0,n),nt(e,n+1,-1),n)}function Ye(e,t){for(var r="",n=gr(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Uo(e,t,r,n){switch(e.type){case _o:if(e.children.length)break;case ko:case hr:return e.return=e.return||e.value;case Rn:return"";case Nn:return e.return=e.value+"{"+Ye(e.children,n)+"}";case mr:e.value=e.props.join(",")}return Oe(r=Ye(e.children,n))?e.return=e.value+"{"+r+"}":""}function zo(e){var t=gr(e);return function(r,n,o,i){for(var a="",c=0;c<t;c++)a+=e[c](r,n,o,i)||"";return a}}function Yo(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ln(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var qo=function(t,r,n){for(var o=0,i=0;o=i,i=_e(),o===38&&i===12&&(r[n]=1),!ot(i);)ve();return st(t,he)},Go=function(t,r){var n=-1,o=44;do switch(ot(o)){case 0:o===38&&_e()===12&&(r[n]=1),t[n]+=qo(he-1,r,n);break;case 2:t[n]+=Ct(o);break;case 4:if(o===44){t[++n]=_e()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Ot(o)}while(o=ve());return t},Ko=function(t,r){return jn(Go(Dn(t),r))},Fr=new WeakMap,Ho=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Fr.get(n))&&!o){Fr.set(t,!0);for(var i=[],a=Ko(r,i),c=n.props,u=0,f=0;u<a.length;u++)for(var d=0;d<c.length;d++,f++)t.props[f]=i[u]?a[u].replace(/&\f/g,c[d]):c[d]+" "+a[u]}}},Xo=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Bn(e,t){switch(Ro(e,t)){case 5103:return K+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return K+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return K+e+xt+e+de+e+e;case 6828:case 4268:return K+e+de+e+e;case 6165:return K+e+de+"flex-"+e+e;case 5187:return K+e+H(e,/(\w+).+(:[^]+)/,K+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return K+e+de+"flex-item-"+H(e,/flex-|-self/,"")+e;case 4675:return K+e+de+"flex-line-pack"+H(e,/align-content|flex-|-self/,"")+e;case 5548:return K+e+de+H(e,"shrink","negative")+e;case 5292:return K+e+de+H(e,"basis","preferred-size")+e;case 6060:return K+"box-"+H(e,"-grow","")+K+e+de+H(e,"grow","positive")+e;case 4554:return K+H(e,/([^-])(transform)/g,"$1"+K+"$2")+e;case 6187:return H(H(H(e,/(zoom-|grab)/,K+"$1"),/(image-set)/,K+"$1"),e,"")+e;case 5495:case 3959:return H(e,/(image-set\([^]*)/,K+"$1$`$1");case 4968:return H(H(e,/(.+:)(flex-)?(.*)/,K+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+K+e+e;case 4095:case 3583:case 4068:case 2532:return H(e,/(.+)-inline(.+)/,K+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Oe(e)-1-t>6)switch(le(e,t+1)){case 109:if(le(e,t+4)!==45)break;case 102:return H(e,/(.+:)(.+)-([^]+)/,"$1"+K+"$2-$3$1"+xt+(le(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ar(e,"stretch")?Bn(H(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(le(e,t+1)!==115)break;case 6444:switch(le(e,Oe(e)-3-(~ar(e,"!important")&&10))){case 107:return H(e,":",":"+K)+e;case 101:return H(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+K+(le(e,14)===45?"inline-":"")+"box$3$1"+K+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(le(e,t+11)){case 114:return K+e+de+H(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return K+e+de+H(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return K+e+de+H(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return K+e+de+e+e}return e}var Jo=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case hr:t.return=Bn(t.value,t.length);break;case Nn:return Ye([Qe(t,{value:H(t.value,"@","@"+K)})],o);case mr:if(t.length)return Mo(t.props,function(i){switch(No(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ye([Qe(t,{props:[H(i,/:(read-\w+)/,":"+xt+"$1")]})],o);case"::placeholder":return Ye([Qe(t,{props:[H(i,/:(plac\w+)/,":"+K+"input-$1")]}),Qe(t,{props:[H(i,/:(plac\w+)/,":"+xt+"$1")]}),Qe(t,{props:[H(i,/:(plac\w+)/,de+"input-$1")]})],o)}return""})}},Qo=[Jo],Zo=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(l){var y=l.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(l),l.setAttribute("data-s",""))})}var o=t.stylisPlugins||Qo,i={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(l){for(var y=l.getAttribute("data-emotion").split(" "),E=1;E<y.length;E++)i[y[E]]=!0;c.push(l)});var u,f=[Ho,Xo];{var d,p=[Uo,Yo(function(l){d.insert(l)})],h=zo(f.concat(o,p)),v=function(y){return Ye(Fo(y),h)};u=function(y,E,k,P){d=k,v(y?y+"{"+E.styles+"}":E.styles),P&&(g.inserted[E.name]=!0)}}var g={key:r,sheet:new Oo({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:u};return g.sheet.hydrate(c),g};function ei(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ht={exports:{}},X={};var Wr;function ti(){if(Wr)return X;Wr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function P(b){if(typeof b=="object"&&b!==null){var T=b.$$typeof;switch(T){case t:switch(b=b.type,b){case u:case f:case n:case i:case o:case p:return b;default:switch(b=b&&b.$$typeof,b){case c:case d:case g:case v:case a:return b;default:return T}}case r:return T}}}function C(b){return P(b)===f}return X.AsyncMode=u,X.ConcurrentMode=f,X.ContextConsumer=c,X.ContextProvider=a,X.Element=t,X.ForwardRef=d,X.Fragment=n,X.Lazy=g,X.Memo=v,X.Portal=r,X.Profiler=i,X.StrictMode=o,X.Suspense=p,X.isAsyncMode=function(b){return C(b)||P(b)===u},X.isConcurrentMode=C,X.isContextConsumer=function(b){return P(b)===c},X.isContextProvider=function(b){return P(b)===a},X.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},X.isForwardRef=function(b){return P(b)===d},X.isFragment=function(b){return P(b)===n},X.isLazy=function(b){return P(b)===g},X.isMemo=function(b){return P(b)===v},X.isPortal=function(b){return P(b)===r},X.isProfiler=function(b){return P(b)===i},X.isStrictMode=function(b){return P(b)===o},X.isSuspense=function(b){return P(b)===p},X.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===f||b===i||b===o||b===p||b===h||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===v||b.$$typeof===a||b.$$typeof===c||b.$$typeof===d||b.$$typeof===y||b.$$typeof===E||b.$$typeof===k||b.$$typeof===l)},X.typeOf=P,X}var J={};var Ur;function ri(){return Ur||(Ur=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,l=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function P(w){return typeof w=="string"||typeof w=="function"||w===n||w===f||w===i||w===o||w===p||w===h||typeof w=="object"&&w!==null&&(w.$$typeof===g||w.$$typeof===v||w.$$typeof===a||w.$$typeof===c||w.$$typeof===d||w.$$typeof===y||w.$$typeof===E||w.$$typeof===k||w.$$typeof===l)}function C(w){if(typeof w=="object"&&w!==null){var ge=w.$$typeof;switch(ge){case t:var je=w.type;switch(je){case u:case f:case n:case i:case o:case p:return je;default:var He=je&&je.$$typeof;switch(He){case c:case d:case g:case v:case a:return He;default:return ge}}case r:return ge}}}var b=u,T=f,I=c,L=a,R=t,N=d,D=n,s=g,M=v,x=r,q=i,Y=o,ue=p,pe=!1;function De(w){return pe||(pe=!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.")),S(w)||C(w)===u}function S(w){return C(w)===f}function O(w){return C(w)===c}function A(w){return C(w)===a}function j(w){return typeof w=="object"&&w!==null&&w.$$typeof===t}function B(w){return C(w)===d}function W(w){return C(w)===n}function F(w){return C(w)===g}function V(w){return C(w)===v}function U(w){return C(w)===r}function G(w){return C(w)===i}function z(w){return C(w)===o}function fe(w){return C(w)===p}J.AsyncMode=b,J.ConcurrentMode=T,J.ContextConsumer=I,J.ContextProvider=L,J.Element=R,J.ForwardRef=N,J.Fragment=D,J.Lazy=s,J.Memo=M,J.Portal=x,J.Profiler=q,J.StrictMode=Y,J.Suspense=ue,J.isAsyncMode=De,J.isConcurrentMode=S,J.isContextConsumer=O,J.isContextProvider=A,J.isElement=j,J.isForwardRef=B,J.isFragment=W,J.isLazy=F,J.isMemo=V,J.isPortal=U,J.isProfiler=G,J.isStrictMode=z,J.isSuspense=fe,J.isValidElementType=P,J.typeOf=C})()),J}var zr;function yr(){return zr||(zr=1,process.env.NODE_ENV==="production"?ht.exports=ti():ht.exports=ri()),ht.exports}var Gt,Yr;function ni(){if(Yr)return Gt;Yr=1;var e=yr(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=n,i[e.Memo]=o;function a(g){return e.isMemo(g)?o:i[g.$$typeof]||t}var c=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function v(g,l,y){if(typeof l!="string"){if(h){var E=p(l);E&&E!==h&&v(g,E,y)}var k=u(l);f&&(k=k.concat(f(l)));for(var P=a(g),C=a(l),b=0;b<k.length;++b){var T=k[b];if(!r[T]&&!(y&&y[T])&&!(C&&C[T])&&!(P&&P[T])){var I=d(l,T);try{c(g,T,I)}catch{}}}}return g}return Gt=v,Gt}ni();var oi=!0;function Vn(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var br=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||oi===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},vr=function(t,r,n){br(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function ii(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var ai={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},si=/[A-Z]|^ms/g,ci=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fn=function(t){return t.charCodeAt(1)===45},qr=function(t){return t!=null&&typeof t!="boolean"},Kt=Ln(function(e){return Fn(e)?e:e.replace(si,"-$&").toLowerCase()}),Gr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ci,function(n,o,i){return ke={name:o,styles:i,next:ke},o})}return ai[t]!==1&&!Fn(t)&&typeof r=="number"&&r!==0?r+"px":r};function it(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return ke={name:o.name,styles:o.styles,next:ke},o.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ke={name:a.name,styles:a.styles,next:ke},a=a.next;var c=i.styles+";";return c}return li(e,t,r)}case"function":{if(e!==void 0){var u=ke,f=r(e);return ke=u,it(e,t,f)}break}}var d=r;if(t==null)return d;var p=t[d];return p!==void 0?p:d}function li(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=it(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var c=a;t!=null&&t[c]!==void 0?n+=i+"{"+t[c]+"}":qr(c)&&(n+=Kt(i)+":"+Gr(i,c)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var u=0;u<a.length;u++)qr(a[u])&&(n+=Kt(i)+":"+Gr(i,a[u])+";");else{var f=it(e,t,a);switch(i){case"animation":case"animationName":{n+=Kt(i)+":"+f+";";break}default:n+=i+"{"+f+"}"}}}return n}var Kr=/label:\s*([^\s;{]+)\s*(;|$)/g,ke;function Pt(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";ke=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=it(r,t,i);else{var a=i;o+=a[0]}for(var c=1;c<e.length;c++)if(o+=it(r,t,e[c]),n){var u=i;o+=u[c]}Kr.lastIndex=0;for(var f="",d;(d=Kr.exec(o))!==null;)f+="-"+d[1];var p=ii(o)+f;return{name:p,styles:o,next:ke}}var ui=function(t){return t()},Wn=_.useInsertionEffect?_.useInsertionEffect:!1,Un=Wn||ui,Hr=Wn||_.useLayoutEffect,zn=_.createContext(typeof HTMLElement<"u"?Zo({key:"css"}):null);zn.Provider;var Sr=function(t){return ye.forwardRef(function(r,n){var o=ye.useContext(zn);return t(r,o,n)})},ct=_.createContext({}),Cr={}.hasOwnProperty,cr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",fi=function(t,r){var n={};for(var o in r)Cr.call(r,o)&&(n[o]=r[o]);return n[cr]=t,n},di=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return br(r,n,o),Un(function(){return vr(r,n,o)}),null},pi=Sr(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[cr],i=[n],a="";typeof e.className=="string"?a=Vn(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var c=Pt(i,void 0,_.useContext(ct));a+=t.key+"-"+c.name;var u={};for(var f in e)Cr.call(e,f)&&f!=="css"&&f!==cr&&(u[f]=e[f]);return u.className=a,r&&(u.ref=r),_.createElement(_.Fragment,null,_.createElement(di,{cache:t,serialized:c,isStringTag:typeof o=="string"}),_.createElement(o,u))}),mi=pi,Xr=function(t,r){var n=arguments;if(r==null||!Cr.call(r,"css"))return _.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=mi,i[1]=fi(t,r);for(var a=2;a<o;a++)i[a]=n[a];return _.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Xr||(Xr={}));var hi=Sr(function(e,t){var r=e.styles,n=Pt([r],void 0,_.useContext(ct)),o=_.useRef();return Hr(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,u=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),u!==null&&(c=!0,u.setAttribute("data-emotion",i),a.hydrate([u])),o.current=[a,c],function(){a.flush()}},[t]),Hr(function(){var i=o.current,a=i[0],c=i[1];if(c){i[1]=!1;return}if(n.next!==void 0&&vr(t,n.next,!0),a.tags.length){var u=a.tags[a.tags.length-1].nextElementSibling;a.before=u,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null}),gi=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,yi=Ln(function(e){return gi.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),bi=yi,vi=function(t){return t!=="theme"},Jr=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?bi:vi},Qr=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},Si=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return br(r,n,o),Un(function(){return vr(r,n,o)}),null},Ci=function e(t,r){var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var c=Qr(t,r,n),u=c||Jr(o),f=!u("as");return function(){var d=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{var h=d[0];p.push(h[0]);for(var v=d.length,g=1;g<v;g++)p.push(d[g],h[g])}var l=Sr(function(y,E,k){var P=f&&y.as||o,C="",b=[],T=y;if(y.theme==null){T={};for(var I in y)T[I]=y[I];T.theme=_.useContext(ct)}typeof y.className=="string"?C=Vn(E.registered,b,y.className):y.className!=null&&(C=y.className+" ");var L=Pt(p.concat(b),E.registered,T);C+=E.key+"-"+L.name,a!==void 0&&(C+=" "+a);var R=f&&c===void 0?Jr(P):u,N={};for(var D in y)f&&D==="as"||R(D)&&(N[D]=y[D]);return N.className=C,k&&(N.ref=k),_.createElement(_.Fragment,null,_.createElement(Si,{cache:E,serialized:L,isStringTag:typeof P=="string"}),_.createElement(P,N))});return l.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",l.defaultProps=t.defaultProps,l.__emotion_real=l,l.__emotion_base=o,l.__emotion_styles=p,l.__emotion_forwardProp=c,Object.defineProperty(l,"toString",{value:function(){return"."+a}}),l.withComponent=function(y,E){var k=e(y,ir({},r,E,{shouldForwardProp:Qr(l,E,!0)}));return k.apply(void 0,p)},l}},Ei=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Zr=Ci.bind(null);Ei.forEach(function(e){Zr[e]=Zr(e)});var gt={exports:{}};var Ht,en;function Ti(){if(en)return Ht;en=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(a).map(function(d){return a[d]});if(u.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(d){f[d]=d}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ht=o()?Object.assign:function(i,a){for(var c,u=n(i),f,d=1;d<arguments.length;d++){c=Object(arguments[d]);for(var p in c)t.call(c,p)&&(u[p]=c[p]);if(e){f=e(c);for(var h=0;h<f.length;h++)r.call(c,f[h])&&(u[f[h]]=c[f[h]])}}return u},Ht}var Xt,tn;function Er(){if(tn)return Xt;tn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Xt=e,Xt}var Jt,rn;function Yn(){return rn||(rn=1,Jt=Function.call.bind(Object.prototype.hasOwnProperty)),Jt}var Qt,nn;function xi(){if(nn)return Qt;nn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Er(),r={},n=Yn();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,c,u,f){if(process.env.NODE_ENV!=="production"){for(var d in i)if(n(i,d)){var p;try{if(typeof i[d]!="function"){var h=Error((u||"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 h.name="Invariant Violation",h}p=i[d](a,d,u,c,null,t)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+d+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in r)){r[p.message]=!0;var v=f?f():"";e("Failed "+c+" type: "+p.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Qt=o,Qt}var Zt,on;function wi(){if(on)return Zt;on=1;var e=yr(),t=Ti(),r=Er(),n=Yn(),o=xi(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return Zt=function(c,u){var f=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function p(S){var O=S&&(f&&S[f]||S[d]);if(typeof O=="function")return O}var h="<<anonymous>>",v={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:k(),arrayOf:P,element:C(),elementType:b(),instanceOf:T,node:N(),objectOf:L,oneOf:I,oneOfType:R,shape:s,exact:M};function g(S,O){return S===O?S!==0||1/S===1/O:S!==S&&O!==O}function l(S,O){this.message=S,this.data=O&&typeof O=="object"?O:{},this.stack=""}l.prototype=Error.prototype;function y(S){if(process.env.NODE_ENV!=="production")var O={},A=0;function j(W,F,V,U,G,z,fe){if(U=U||h,z=z||V,fe!==r){if(u){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ge=U+":"+V;!O[ge]&&A<3&&(i("You are manually calling a React.PropTypes validation function for the `"+z+"` prop on `"+U+"`. 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."),O[ge]=!0,A++)}}return F[V]==null?W?F[V]===null?new l("The "+G+" `"+z+"` is marked as required "+("in `"+U+"`, but its value is `null`.")):new l("The "+G+" `"+z+"` is marked as required in "+("`"+U+"`, but its value is `undefined`.")):null:S(F,V,U,G,z)}var B=j.bind(null,!1);return B.isRequired=j.bind(null,!0),B}function E(S){function O(A,j,B,W,F,V){var U=A[j],G=Y(U);if(G!==S){var z=ue(U);return new l("Invalid "+W+" `"+F+"` of type "+("`"+z+"` supplied to `"+B+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(O)}function k(){return y(a)}function P(S){function O(A,j,B,W,F){if(typeof S!="function")return new l("Property `"+F+"` of component `"+B+"` has invalid PropType notation inside arrayOf.");var V=A[j];if(!Array.isArray(V)){var U=Y(V);return new l("Invalid "+W+" `"+F+"` of type "+("`"+U+"` supplied to `"+B+"`, expected an array."))}for(var G=0;G<V.length;G++){var z=S(V,G,B,W,F+"["+G+"]",r);if(z instanceof Error)return z}return null}return y(O)}function C(){function S(O,A,j,B,W){var F=O[A];if(!c(F)){var V=Y(F);return new l("Invalid "+B+" `"+W+"` of type "+("`"+V+"` supplied to `"+j+"`, expected a single ReactElement."))}return null}return y(S)}function b(){function S(O,A,j,B,W){var F=O[A];if(!e.isValidElementType(F)){var V=Y(F);return new l("Invalid "+B+" `"+W+"` of type "+("`"+V+"` supplied to `"+j+"`, expected a single ReactElement type."))}return null}return y(S)}function T(S){function O(A,j,B,W,F){if(!(A[j]instanceof S)){var V=S.name||h,U=De(A[j]);return new l("Invalid "+W+" `"+F+"` of type "+("`"+U+"` supplied to `"+B+"`, expected ")+("instance of `"+V+"`."))}return null}return y(O)}function I(S){if(!Array.isArray(S))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 O(A,j,B,W,F){for(var V=A[j],U=0;U<S.length;U++)if(g(V,S[U]))return null;var G=JSON.stringify(S,function(fe,w){var ge=ue(w);return ge==="symbol"?String(w):w});return new l("Invalid "+W+" `"+F+"` of value `"+String(V)+"` "+("supplied to `"+B+"`, expected one of "+G+"."))}return y(O)}function L(S){function O(A,j,B,W,F){if(typeof S!="function")return new l("Property `"+F+"` of component `"+B+"` has invalid PropType notation inside objectOf.");var V=A[j],U=Y(V);if(U!=="object")return new l("Invalid "+W+" `"+F+"` of type "+("`"+U+"` supplied to `"+B+"`, expected an object."));for(var G in V)if(n(V,G)){var z=S(V,G,B,W,F+"."+G,r);if(z instanceof Error)return z}return null}return y(O)}function R(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var O=0;O<S.length;O++){var A=S[O];if(typeof A!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+pe(A)+" at index "+O+"."),a}function j(B,W,F,V,U){for(var G=[],z=0;z<S.length;z++){var fe=S[z],w=fe(B,W,F,V,U,r);if(w==null)return null;w.data&&n(w.data,"expectedType")&&G.push(w.data.expectedType)}var ge=G.length>0?", expected one of type ["+G.join(", ")+"]":"";return new l("Invalid "+V+" `"+U+"` supplied to "+("`"+F+"`"+ge+"."))}return y(j)}function N(){function S(O,A,j,B,W){return x(O[A])?null:new l("Invalid "+B+" `"+W+"` supplied to "+("`"+j+"`, expected a ReactNode."))}return y(S)}function D(S,O,A,j,B){return new l((S||"React class")+": "+O+" type `"+A+"."+j+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+B+"`.")}function s(S){function O(A,j,B,W,F){var V=A[j],U=Y(V);if(U!=="object")return new l("Invalid "+W+" `"+F+"` of type `"+U+"` "+("supplied to `"+B+"`, expected `object`."));for(var G in S){var z=S[G];if(typeof z!="function")return D(B,W,F,G,ue(z));var fe=z(V,G,B,W,F+"."+G,r);if(fe)return fe}return null}return y(O)}function M(S){function O(A,j,B,W,F){var V=A[j],U=Y(V);if(U!=="object")return new l("Invalid "+W+" `"+F+"` of type `"+U+"` "+("supplied to `"+B+"`, expected `object`."));var G=t({},A[j],S);for(var z in G){var fe=S[z];if(n(S,z)&&typeof fe!="function")return D(B,W,F,z,ue(fe));if(!fe)return new l("Invalid "+W+" `"+F+"` key `"+z+"` supplied to `"+B+"`.\nBad object: "+JSON.stringify(A[j],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var w=fe(V,z,B,W,F+"."+z,r);if(w)return w}return null}return y(O)}function x(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(x);if(S===null||c(S))return!0;var O=p(S);if(O){var A=O.call(S),j;if(O!==S.entries){for(;!(j=A.next()).done;)if(!x(j.value))return!1}else for(;!(j=A.next()).done;){var B=j.value;if(B&&!x(B[1]))return!1}}else return!1;return!0;default:return!1}}function q(S,O){return S==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function Y(S){var O=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":q(O,S)?"symbol":O}function ue(S){if(typeof S>"u"||S===null)return""+S;var O=Y(S);if(O==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return O}function pe(S){var O=ue(S);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function De(S){return!S.constructor||!S.constructor.name?h:S.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Zt}var er,an;function $i(){if(an)return er;an=1;var e=Er();function t(){}function r(){}return r.resetWarningCache=t,er=function(){function n(a,c,u,f,d,p){if(p!==e){var h=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 h.name="Invariant Violation",h}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},er}var sn;function Oi(){if(sn)return gt.exports;if(sn=1,process.env.NODE_ENV!=="production"){var e=yr(),t=!0;gt.exports=wi()(e.isElement,t)}else gt.exports=$i()();return gt.exports}var ki=Oi();const $=ei(ki);function _i(e){return e==null||Object.keys(e).length===0}function Tr(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(_i(o)?r:o):t;return re.jsx(hi,{styles:n})}process.env.NODE_ENV!=="production"&&(Tr.propTypes={defaultTheme:$.object,styles:$.oneOfType([$.array,$.string,$.object,$.func])});const cn=[];function Pi(e){return cn[0]=e,Pt(cn)}var yt={exports:{}},ee={};var ln;function Ai(){if(ln)return ee;ln=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(l){if(typeof l=="object"&&l!==null){var y=l.$$typeof;switch(y){case e:switch(l=l.type,l){case r:case o:case n:case u:case f:case h:return l;default:switch(l=l&&l.$$typeof,l){case a:case c:case p:case d:return l;case i:return l;default:return y}}case t:return y}}}return ee.ContextConsumer=i,ee.ContextProvider=a,ee.Element=e,ee.ForwardRef=c,ee.Fragment=r,ee.Lazy=p,ee.Memo=d,ee.Portal=t,ee.Profiler=o,ee.StrictMode=n,ee.Suspense=u,ee.SuspenseList=f,ee.isContextConsumer=function(l){return g(l)===i},ee.isContextProvider=function(l){return g(l)===a},ee.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===e},ee.isForwardRef=function(l){return g(l)===c},ee.isFragment=function(l){return g(l)===r},ee.isLazy=function(l){return g(l)===p},ee.isMemo=function(l){return g(l)===d},ee.isPortal=function(l){return g(l)===t},ee.isProfiler=function(l){return g(l)===o},ee.isStrictMode=function(l){return g(l)===n},ee.isSuspense=function(l){return g(l)===u},ee.isSuspenseList=function(l){return g(l)===f},ee.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===r||l===o||l===n||l===u||l===f||typeof l=="object"&&l!==null&&(l.$$typeof===p||l.$$typeof===d||l.$$typeof===a||l.$$typeof===i||l.$$typeof===c||l.$$typeof===v||l.getModuleId!==void 0)},ee.typeOf=g,ee}var te={};var un;function Ri(){return un||(un=1,process.env.NODE_ENV!=="production"&&(function(){function e(l){if(typeof l=="object"&&l!==null){var y=l.$$typeof;switch(y){case t:switch(l=l.type,l){case n:case i:case o:case f:case d:case v:return l;default:switch(l=l&&l.$$typeof,l){case c:case u:case h:case p:return l;case a:return l;default:return y}}case r:return y}}}var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");te.ContextConsumer=a,te.ContextProvider=c,te.Element=t,te.ForwardRef=u,te.Fragment=n,te.Lazy=h,te.Memo=p,te.Portal=r,te.Profiler=i,te.StrictMode=o,te.Suspense=f,te.SuspenseList=d,te.isContextConsumer=function(l){return e(l)===a},te.isContextProvider=function(l){return e(l)===c},te.isElement=function(l){return typeof l=="object"&&l!==null&&l.$$typeof===t},te.isForwardRef=function(l){return e(l)===u},te.isFragment=function(l){return e(l)===n},te.isLazy=function(l){return e(l)===h},te.isMemo=function(l){return e(l)===p},te.isPortal=function(l){return e(l)===r},te.isProfiler=function(l){return e(l)===i},te.isStrictMode=function(l){return e(l)===o},te.isSuspense=function(l){return e(l)===f},te.isSuspenseList=function(l){return e(l)===d},te.isValidElementType=function(l){return typeof l=="string"||typeof l=="function"||l===n||l===i||l===o||l===f||l===d||typeof l=="object"&&l!==null&&(l.$$typeof===h||l.$$typeof===p||l.$$typeof===c||l.$$typeof===a||l.$$typeof===u||l.$$typeof===g||l.getModuleId!==void 0)},te.typeOf=e})()),te}var fn;function Ni(){return fn||(fn=1,process.env.NODE_ENV==="production"?yt.exports=Ai():yt.exports=Ri()),yt.exports}var qn=Ni();function Re(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 Gn(e){if(_.isValidElement(e)||qn.isValidElementType(e)||!Re(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Gn(e[r])}),t}function Se(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Re(e)&&Re(t)&&Object.keys(t).forEach(o=>{_.isValidElement(t[o])||qn.isValidElementType(t[o])?n[o]=t[o]:Re(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Re(e[o])?n[o]=Se(e[o],t[o],r):r.clone?n[o]=Re(t[o])?Gn(t[o]):t[o]:n[o]=t[o]}),n}const Mi=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Ii(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,i=Mi(t),a=Object.keys(i);function c(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function u(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function f(h,v){const g=a.indexOf(v);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:v)-n/100}${r})`}function d(h){return a.indexOf(h)+1<a.length?f(h,a[a.indexOf(h)+1]):c(h)}function p(h){const v=a.indexOf(h);return v===0?c(a[1]):v===a.length-1?u(a[v]):f(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:c,down:u,between:f,only:d,not:p,unit:r,...o}}function dn(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,o)=>{const i=/min-width:\s*([0-9.]+)/;return+(n.match(i)?.[1]||0)-+(o.match(i)?.[1]||0)});return r.length?r.reduce((n,o)=>{const i=t[o];return delete n[o],n[o]=i,n},{...t}):t}function Di(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function ji(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
3
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ne(18,`(${t})`));return null}const[,n,o]=r,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Li(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function r(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 u=t(e.breakpoints.not(...c),a);return u.includes("not all and")?u.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):u}}const n={},o=i=>(r(n,i),n);return r(o),{...e,containerQueries:o}}const Bi={borderRadius:4},Ie=process.env.NODE_ENV!=="production"?$.oneOfType([$.number,$.string,$.object,$.array]):{};function tt(e,t){return t?Se(e,t,{clone:!1}):e}const At={xs:0,sm:600,md:900,lg:1200,xl:1536},pn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${At[e]}px)`},Vi={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:At[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function Ae(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||pn;return t.reduce((a,c,u)=>(a[i.up(i.keys[u])]=r(t[u]),a),{})}if(typeof t=="object"){const i=n.breakpoints||pn;return Object.keys(t).reduce((a,c)=>{if(Di(i.keys,c)){const u=ji(n.containerQueries?n:Vi,c);u&&(a[u]=r(t[c],c))}else if(Object.keys(i.values||At).includes(c)){const u=i.up(c);a[u]=r(t[c],c)}else{const u=c;a[u]=t[u]}return a},{})}return r(t)}function Fi(e={}){return e.keys?.reduce((r,n)=>{const o=e.up(n);return r[o]={},r},{})||{}}function mn(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Kn(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ne(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Rt(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function wt(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Rt(e,r)||n,t&&(o=t(o,n,e)),o}function se(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const c=a[t],u=a.theme,f=Rt(u,n)||{};return Ae(a,c,p=>{let h=wt(f,o,p);return p===h&&typeof p=="string"&&(h=wt(f,o,`${t}${p==="default"?"":Kn(p)}`,p)),r===!1?h:{[r]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:Ie}:{},i.filterProps=[t],i}function Wi(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ui={m:"margin",p:"padding"},zi={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Yi=Wi(e=>{if(e.length>2)if(hn[e])e=hn[e];else return[e];const[t,r]=e.split(""),n=Ui[t],o=zi[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Nt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Mt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],qi=[...Nt,...Mt];function lt(e,t,r,n){const o=Rt(e,t,!0)??r;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${n} argument to be a number or a string, got ${i}.`),typeof o=="string"?o.startsWith("var(")&&i===0?0:o.startsWith("var(")&&i===1?o:`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>o.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${a} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
4
4
|
`)):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(`
|
|
5
5
|
`)));const c=o[a];return i>=0?c:typeof c=="number"?-c:typeof c=="string"&&c.startsWith("var(")?`calc(-1 * ${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(`
|
|
6
|
-
`)),()=>{})}function xr(e){return lt(e,"spacing",8,"spacing")}function ut(e,t){return typeof t=="string"||t==null?t:e(t)}function Gi(e,t){return r=>e.reduce((n,o)=>(n[o]=ut(t,r),n),{})}function Ki(e,t,r,n){if(!t.includes(r))return null;const o=Yi(r),i=Gi(o,n),a=e[r];return Ae(e,a,i)}function Hn(e,t){const r=xr(e.theme);return Object.keys(e).map(n=>Ki(e,t,n,r)).reduce(tt,{})}function oe(e){return Hn(e,Nt)}oe.propTypes=process.env.NODE_ENV!=="production"?Nt.reduce((e,t)=>(e[t]=Ie,e),{}):{};oe.filterProps=Nt;function ie(e){return Hn(e,Mt)}ie.propTypes=process.env.NODE_ENV!=="production"?Mt.reduce((e,t)=>(e[t]=Ie,e),{}):{};ie.filterProps=Mt;process.env.NODE_ENV!=="production"&&qi.reduce((e,t)=>(e[t]=Ie,e),{});function Xn(e=8,t=xr({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function It(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?tt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ce(e){return typeof e!="number"?e:`${e}px solid`}function Te(e,t){return se({prop:e,themeKey:"borders",transform:t})}const Hi=Te("border",Ce),Xi=Te("borderTop",Ce),Ji=Te("borderRight",Ce),Qi=Te("borderBottom",Ce),Zi=Te("borderLeft",Ce),ea=Te("borderColor"),ta=Te("borderTopColor"),ra=Te("borderRightColor"),na=Te("borderBottomColor"),oa=Te("borderLeftColor"),ia=Te("outline",Ce),aa=Te("outlineColor"),Dt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=lt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:ut(t,n)});return Ae(e,e.borderRadius,r)}return null};Dt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ie}:{};Dt.filterProps=["borderRadius"];It(Hi,Xi,Ji,Qi,Zi,ea,ta,ra,na,oa,Dt,ia,aa);const jt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=lt(e.theme,"spacing",8,"gap"),r=n=>({gap:ut(t,n)});return Ae(e,e.gap,r)}return null};jt.propTypes=process.env.NODE_ENV!=="production"?{gap:Ie}:{};jt.filterProps=["gap"];const Lt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=lt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:ut(t,n)});return Ae(e,e.columnGap,r)}return null};Lt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ie}:{};Lt.filterProps=["columnGap"];const Bt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=lt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:ut(t,n)});return Ae(e,e.rowGap,r)}return null};Bt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ie}:{};Bt.filterProps=["rowGap"];const sa=se({prop:"gridColumn"}),ca=se({prop:"gridRow"}),la=se({prop:"gridAutoFlow"}),ua=se({prop:"gridAutoColumns"}),fa=se({prop:"gridAutoRows"}),da=se({prop:"gridTemplateColumns"}),pa=se({prop:"gridTemplateRows"}),ma=se({prop:"gridTemplateAreas"}),ha=se({prop:"gridArea"});It(jt,Lt,Bt,sa,ca,la,ua,fa,da,pa,ma,ha);function qe(e,t){return t==="grey"?t:e}const ga=se({prop:"color",themeKey:"palette",transform:qe}),ya=se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qe}),ba=se({prop:"backgroundColor",themeKey:"palette",transform:qe});It(ga,ya,ba);function ye(e){return e<=1&&e!==0?`${e*100}%`:e}const va=se({prop:"width",transform:ye}),wr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||At[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ye(r)}};return Ae(e,e.maxWidth,t)}return null};wr.filterProps=["maxWidth"];const Sa=se({prop:"minWidth",transform:ye}),Ca=se({prop:"height",transform:ye}),Ea=se({prop:"maxHeight",transform:ye}),Ta=se({prop:"minHeight",transform:ye});se({prop:"size",cssProperty:"width",transform:ye});se({prop:"size",cssProperty:"height",transform:ye});const xa=se({prop:"boxSizing"});It(va,wr,Sa,Ca,Ea,Ta,xa);const Vt={border:{themeKey:"borders",transform:Ce},borderTop:{themeKey:"borders",transform:Ce},borderRight:{themeKey:"borders",transform:Ce},borderBottom:{themeKey:"borders",transform:Ce},borderLeft:{themeKey:"borders",transform:Ce},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ce},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Dt},color:{themeKey:"palette",transform:qe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qe},backgroundColor:{themeKey:"palette",transform:qe},p:{style:ie},pt:{style:ie},pr:{style:ie},pb:{style:ie},pl:{style:ie},px:{style:ie},py:{style:ie},padding:{style:ie},paddingTop:{style:ie},paddingRight:{style:ie},paddingBottom:{style:ie},paddingLeft:{style:ie},paddingX:{style:ie},paddingY:{style:ie},paddingInline:{style:ie},paddingInlineStart:{style:ie},paddingInlineEnd:{style:ie},paddingBlock:{style:ie},paddingBlockStart:{style:ie},paddingBlockEnd:{style:ie},m:{style:oe},mt:{style:oe},mr:{style:oe},mb:{style:oe},ml:{style:oe},mx:{style:oe},my:{style:oe},margin:{style:oe},marginTop:{style:oe},marginRight:{style:oe},marginBottom:{style:oe},marginLeft:{style:oe},marginX:{style:oe},marginY:{style:oe},marginInline:{style:oe},marginInlineStart:{style:oe},marginInlineEnd:{style:oe},marginBlock:{style:oe},marginBlockStart:{style:oe},marginBlockEnd:{style:oe},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:jt},rowGap:{style:Bt},columnGap:{style:Lt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ye},maxWidth:{style:wr},minWidth:{transform:ye},height:{transform:ye},maxHeight:{transform:ye},minHeight:{transform:ye},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 wa(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function $a(e,t){return typeof e=="function"?e(t):e}function Oa(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:d,style:p}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const h=Rt(o,f)||{};return p?p(a):Ae(a,n,g=>{let l=wt(h,d,g);return g===l&&typeof g=="string"&&(l=wt(h,d,`${r}${g==="default"?"":Kn(g)}`,g)),u===!1?l:{[u]:l}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??Vt;function c(u){let f=u;if(typeof u=="function")f=u(o);else if(typeof u!="object")return u;if(!f)return null;const d=Fi(o.breakpoints),p=Object.keys(d);let h=d;return Object.keys(f).forEach(v=>{const g=$a(f[v],o);if(g!=null)if(typeof g=="object")if(a[v])h=tt(h,e(v,g,o,a));else{const l=Ae({theme:o},g,y=>({[v]:y}));wa(l,g)?h[v]=t({sx:g,theme:o,nested:!0}):h=tt(h,l)}else h=tt(h,e(v,g,o,a))}),!i&&o.modularCssLayers?{"@layer sx":dn(o,mn(p,h))}:dn(o,mn(p,h))}return Array.isArray(n)?n.map(c):c(n)}return t}const ft=Oa();ft.filterProps=["sx"];function ka(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function Jn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,c=Ii(r),u=Xn(o);let f=ve({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Bi,...i}},a);return f=Li(f),f.applyStyles=ka,f=t.reduce((d,p)=>ve(d,p),f),f.unstable_sxConfig={...Vt,...a?.unstable_sxConfig},f.unstable_sx=function(p){return ft({sx:p,theme:this})},f}function _a(e){return Object.keys(e).length===0}function $r(e=null){const t=_.useContext(ct);return!t||_a(t)?e:t}const Pa=Jn();function Aa(e=Pa){return $r(e)}function tr(e){const t=Pi(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Or({styles:e,themeId:t,defaultTheme:r={}}){const n=Aa(r),o=t&&n[t]||n;let i=typeof e=="function"?e(o):e;return o.modularCssLayers&&(Array.isArray(i)?i=i.map(a=>tr(typeof a=="function"?a(o):a)):i=tr(i)),re.jsx(Tr,{styles:i})}process.env.NODE_ENV!=="production"&&(Or.propTypes={defaultTheme:$.object,styles:$.oneOfType([$.array,$.func,$.number,$.object,$.string,$.bool]),themeId:$.string});const gn=e=>e,Ra=()=>{let e=gn;return{configure(t){e=t},generate(t){return e(t)},reset(){e=gn}}},Na=Ra();function Qn(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Qn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ma(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Qn(e))&&(n&&(n+=" "),n+=t);return n}const Ia={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 Da(e,t,r="Mui"){const n=Ia[t];return n?`${r}-${n}`:`${Na.generate(e)}-${t}`}function lr(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],c=t[i];if(!c)n[i]=a||{};else if(!a)n[i]=c;else{n[i]={...c};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[i][f]=lr(a[f],c[f],r)}}}else i==="className"&&r&&t.className?n.className=Ma(e?.className,t?.className):i==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[i]===void 0&&(n[i]=e[i])}return n}const Zn=typeof window<"u"?_.useLayoutEffect:_.useEffect;function ja(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function kr(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),ja(e,t,r)}function La(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Me(e){if(e.type)return e;if(e.charAt(0)==="#")return Me(La(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
6
|
+
`)),()=>{})}function xr(e){return lt(e,"spacing",8,"spacing")}function ut(e,t){return typeof t=="string"||t==null?t:e(t)}function Gi(e,t){return r=>e.reduce((n,o)=>(n[o]=ut(t,r),n),{})}function Ki(e,t,r,n){if(!t.includes(r))return null;const o=Yi(r),i=Gi(o,n),a=e[r];return Ae(e,a,i)}function Hn(e,t){const r=xr(e.theme);return Object.keys(e).map(n=>Ki(e,t,n,r)).reduce(tt,{})}function oe(e){return Hn(e,Nt)}oe.propTypes=process.env.NODE_ENV!=="production"?Nt.reduce((e,t)=>(e[t]=Ie,e),{}):{};oe.filterProps=Nt;function ie(e){return Hn(e,Mt)}ie.propTypes=process.env.NODE_ENV!=="production"?Mt.reduce((e,t)=>(e[t]=Ie,e),{}):{};ie.filterProps=Mt;process.env.NODE_ENV!=="production"&&qi.reduce((e,t)=>(e[t]=Ie,e),{});function Xn(e=8,t=xr({spacing:e})){if(e.mui)return e;const r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function It(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?tt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ee(e){return typeof e!="number"?e:`${e}px solid`}function Te(e,t){return se({prop:e,themeKey:"borders",transform:t})}const Hi=Te("border",Ee),Xi=Te("borderTop",Ee),Ji=Te("borderRight",Ee),Qi=Te("borderBottom",Ee),Zi=Te("borderLeft",Ee),ea=Te("borderColor"),ta=Te("borderTopColor"),ra=Te("borderRightColor"),na=Te("borderBottomColor"),oa=Te("borderLeftColor"),ia=Te("outline",Ee),aa=Te("outlineColor"),Dt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=lt(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:ut(t,n)});return Ae(e,e.borderRadius,r)}return null};Dt.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ie}:{};Dt.filterProps=["borderRadius"];It(Hi,Xi,Ji,Qi,Zi,ea,ta,ra,na,oa,Dt,ia,aa);const jt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=lt(e.theme,"spacing",8,"gap"),r=n=>({gap:ut(t,n)});return Ae(e,e.gap,r)}return null};jt.propTypes=process.env.NODE_ENV!=="production"?{gap:Ie}:{};jt.filterProps=["gap"];const Lt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=lt(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:ut(t,n)});return Ae(e,e.columnGap,r)}return null};Lt.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ie}:{};Lt.filterProps=["columnGap"];const Bt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=lt(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:ut(t,n)});return Ae(e,e.rowGap,r)}return null};Bt.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ie}:{};Bt.filterProps=["rowGap"];const sa=se({prop:"gridColumn"}),ca=se({prop:"gridRow"}),la=se({prop:"gridAutoFlow"}),ua=se({prop:"gridAutoColumns"}),fa=se({prop:"gridAutoRows"}),da=se({prop:"gridTemplateColumns"}),pa=se({prop:"gridTemplateRows"}),ma=se({prop:"gridTemplateAreas"}),ha=se({prop:"gridArea"});It(jt,Lt,Bt,sa,ca,la,ua,fa,da,pa,ma,ha);function qe(e,t){return t==="grey"?t:e}const ga=se({prop:"color",themeKey:"palette",transform:qe}),ya=se({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qe}),ba=se({prop:"backgroundColor",themeKey:"palette",transform:qe});It(ga,ya,ba);function be(e){return e<=1&&e!==0?`${e*100}%`:e}const va=se({prop:"width",transform:be}),wr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||At[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:be(r)}};return Ae(e,e.maxWidth,t)}return null};wr.filterProps=["maxWidth"];const Sa=se({prop:"minWidth",transform:be}),Ca=se({prop:"height",transform:be}),Ea=se({prop:"maxHeight",transform:be}),Ta=se({prop:"minHeight",transform:be});se({prop:"size",cssProperty:"width",transform:be});se({prop:"size",cssProperty:"height",transform:be});const xa=se({prop:"boxSizing"});It(va,wr,Sa,Ca,Ea,Ta,xa);const Vt={border:{themeKey:"borders",transform:Ee},borderTop:{themeKey:"borders",transform:Ee},borderRight:{themeKey:"borders",transform:Ee},borderBottom:{themeKey:"borders",transform:Ee},borderLeft:{themeKey:"borders",transform:Ee},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ee},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Dt},color:{themeKey:"palette",transform:qe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qe},backgroundColor:{themeKey:"palette",transform:qe},p:{style:ie},pt:{style:ie},pr:{style:ie},pb:{style:ie},pl:{style:ie},px:{style:ie},py:{style:ie},padding:{style:ie},paddingTop:{style:ie},paddingRight:{style:ie},paddingBottom:{style:ie},paddingLeft:{style:ie},paddingX:{style:ie},paddingY:{style:ie},paddingInline:{style:ie},paddingInlineStart:{style:ie},paddingInlineEnd:{style:ie},paddingBlock:{style:ie},paddingBlockStart:{style:ie},paddingBlockEnd:{style:ie},m:{style:oe},mt:{style:oe},mr:{style:oe},mb:{style:oe},ml:{style:oe},mx:{style:oe},my:{style:oe},margin:{style:oe},marginTop:{style:oe},marginRight:{style:oe},marginBottom:{style:oe},marginLeft:{style:oe},marginX:{style:oe},marginY:{style:oe},marginInline:{style:oe},marginInlineStart:{style:oe},marginInlineEnd:{style:oe},marginBlock:{style:oe},marginBlockStart:{style:oe},marginBlockEnd:{style:oe},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:jt},rowGap:{style:Bt},columnGap:{style:Lt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:be},maxWidth:{style:wr},minWidth:{transform:be},height:{transform:be},maxHeight:{transform:be},minHeight:{transform:be},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 wa(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function $a(e,t){return typeof e=="function"?e(t):e}function Oa(){function e(r,n,o,i){const a={[r]:n,theme:o},c=i[r];if(!c)return{[r]:n};const{cssProperty:u=r,themeKey:f,transform:d,style:p}=c;if(n==null)return null;if(f==="typography"&&n==="inherit")return{[r]:n};const h=Rt(o,f)||{};return p?p(a):Ae(a,n,g=>{let l=wt(h,d,g);return g===l&&typeof g=="string"&&(l=wt(h,d,`${r}${g==="default"?"":Kn(g)}`,g)),u===!1?l:{[u]:l}})}function t(r){const{sx:n,theme:o={},nested:i}=r||{};if(!n)return null;const a=o.unstable_sxConfig??Vt;function c(u){let f=u;if(typeof u=="function")f=u(o);else if(typeof u!="object")return u;if(!f)return null;const d=Fi(o.breakpoints),p=Object.keys(d);let h=d;return Object.keys(f).forEach(v=>{const g=$a(f[v],o);if(g!=null)if(typeof g=="object")if(a[v])h=tt(h,e(v,g,o,a));else{const l=Ae({theme:o},g,y=>({[v]:y}));wa(l,g)?h[v]=t({sx:g,theme:o,nested:!0}):h=tt(h,l)}else h=tt(h,e(v,g,o,a))}),!i&&o.modularCssLayers?{"@layer sx":dn(o,mn(p,h))}:dn(o,mn(p,h))}return Array.isArray(n)?n.map(c):c(n)}return t}const ft=Oa();ft.filterProps=["sx"];function ka(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function Jn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={},...a}=e,c=Ii(r),u=Xn(o);let f=Se({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:u,shape:{...Bi,...i}},a);return f=Li(f),f.applyStyles=ka,f=t.reduce((d,p)=>Se(d,p),f),f.unstable_sxConfig={...Vt,...a?.unstable_sxConfig},f.unstable_sx=function(p){return ft({sx:p,theme:this})},f}function _a(e){return Object.keys(e).length===0}function $r(e=null){const t=_.useContext(ct);return!t||_a(t)?e:t}const Pa=Jn();function Aa(e=Pa){return $r(e)}function tr(e){const t=Pi(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Or({styles:e,themeId:t,defaultTheme:r={}}){const n=Aa(r),o=t&&n[t]||n;let i=typeof e=="function"?e(o):e;return o.modularCssLayers&&(Array.isArray(i)?i=i.map(a=>tr(typeof a=="function"?a(o):a)):i=tr(i)),re.jsx(Tr,{styles:i})}process.env.NODE_ENV!=="production"&&(Or.propTypes={defaultTheme:$.object,styles:$.oneOfType([$.array,$.func,$.number,$.object,$.string,$.bool]),themeId:$.string});const gn=e=>e,Ra=()=>{let e=gn;return{configure(t){e=t},generate(t){return e(t)},reset(){e=gn}}},Na=Ra();function Qn(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Qn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ma(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Qn(e))&&(n&&(n+=" "),n+=t);return n}const Ia={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 Da(e,t,r="Mui"){const n=Ia[t];return n?`${r}-${n}`:`${Na.generate(e)}-${t}`}function lr(e,t,r=!1){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const i=o;if(i==="components"||i==="slots")n[i]={...e[i],...n[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],c=t[i];if(!c)n[i]=a||{};else if(!a)n[i]=c;else{n[i]={...c};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[i][f]=lr(a[f],c[f],r)}}}else i==="className"&&r&&t.className?n.className=Ma(e?.className,t?.className):i==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[i]===void 0&&(n[i]=e[i])}return n}const Zn=typeof window<"u"?_.useLayoutEffect:_.useEffect;function ja(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function kr(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),ja(e,t,r)}function La(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Me(e){if(e.type)return e;if(e.charAt(0)==="#")return Me(La(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
7
7
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ne(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
8
8
|
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ne(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}const Ba=e=>{const t=Me(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},Ze=(e,t)=>{try{return Ba(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function Ft(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function eo(e){e=Me(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(f,d=(f+r/30)%12)=>o-i*Math.max(Math.min(d-3,9-d,1),-1);let c="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),Ft({type:c,values:u})}function ur(e){e=Me(e);let t=e.type==="hsl"||e.type==="hsla"?Me(eo(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function yn(e,t){const r=ur(e),n=ur(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function to(e,t){return e=Me(e),t=kr(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ft(e)}function Le(e,t,r){try{return to(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Wt(e,t){if(e=Me(e),t=kr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Ft(e)}function Q(e,t,r){try{return Wt(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Ut(e,t){if(e=Me(e),t=kr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ft(e)}function Z(e,t,r){try{return Ut(e,t)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}}function Va(e,t=.15){return ur(e)>.5?Wt(e,t):Ut(e,t)}function bt(e,t,r){try{return Va(e,t)}catch{return e}}const Fa="exact-prop: ";function ro(e){return process.env.NODE_ENV==="production"?e:{...e,[Fa]:t=>{const r=Object.keys(t).filter(n=>!e.hasOwnProperty(n));return r.length>0?new Error(`The following props are not supported: ${r.map(n=>`\`${n}\``).join(", ")}. Please remove them.`):null}}}const _r=_.createContext(null);process.env.NODE_ENV!=="production"&&(_r.displayName="ThemeContext");function Pr(){const e=_.useContext(_r);return process.env.NODE_ENV!=="production"&&_.useDebugValue(e),e}const Wa=typeof Symbol=="function"&&Symbol.for,Ua=Wa?Symbol.for("mui.nested"):"__THEME_NESTED__";function za(e,t){if(typeof t=="function"){const r=t(e);return process.env.NODE_ENV!=="production"&&(r||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join(`
|
|
9
9
|
`))),r}return{...e,...t}}function $t(e){const{children:t,theme:r}=e,n=Pr();process.env.NODE_ENV!=="production"&&n===null&&typeof r=="function"&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
|
|
@@ -36,8 +36,8 @@ try {
|
|
|
36
36
|
${f}
|
|
37
37
|
}
|
|
38
38
|
} catch(e){}})();`}},"mui-color-scheme-init")}function es(){}const ts=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(r){if(typeof window>"u")return;if(!t)return r;let n;try{n=t.localStorage.getItem(e)}catch{}return n||r},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return es;const n=o=>{const i=o.newValue;o.key===e&&r(i)};return t.addEventListener("storage",n),()=>{t.removeEventListener("storage",n)}}});function rr(){}function En(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ao(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function rs(e){return ao(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function ns(e){const{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:n,supportedColorSchemes:o=[],modeStorageKey:i=Ar,colorSchemeStorageKey:a=Rr,storageWindow:c=typeof window>"u"?void 0:window,storageManager:u=ts,noSsr:f=!1}=e,d=o.join(","),p=o.length>1,h=_.useMemo(()=>u?.({key:i,storageWindow:c}),[u,i,c]),v=_.useMemo(()=>u?.({key:`${a}-light`,storageWindow:c}),[u,a,c]),g=_.useMemo(()=>u?.({key:`${a}-dark`,storageWindow:c}),[u,a,c]),[l,y]=_.useState(()=>{const L=h?.get(t)||t,R=v?.get(r)||r,N=g?.get(n)||n;return{mode:L,systemMode:En(L),lightColorScheme:R,darkColorScheme:N}}),[E,k]=_.useState(f||!p);_.useEffect(()=>{k(!0)},[]);const P=rs(l),C=_.useCallback(L=>{y(R=>{if(L===R.mode)return R;const N=L??t;return h?.set(N),{...R,mode:N,systemMode:En(N)}})},[h,t]),b=_.useCallback(L=>{L?typeof L=="string"?L&&!d.includes(L)?console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`):y(R=>{const N={...R};return ao(R,D=>{D==="light"&&(v?.set(L),N.lightColorScheme=L),D==="dark"&&(g?.set(L),N.darkColorScheme=L)}),N}):y(R=>{const N={...R},D=L.light===null?r:L.light,s=L.dark===null?n:L.dark;return D&&(d.includes(D)?(N.lightColorScheme=D,v?.set(D)):console.error(`\`${D}\` does not exist in \`theme.colorSchemes\`.`)),s&&(d.includes(s)?(N.darkColorScheme=s,g?.set(s)):console.error(`\`${s}\` does not exist in \`theme.colorSchemes\`.`)),N}):y(R=>(v?.set(r),g?.set(n),{...R,lightColorScheme:r,darkColorScheme:n}))},[d,v,g,r,n]),T=_.useCallback(L=>{l.mode==="system"&&y(R=>{const N=L?.matches?"dark":"light";return R.systemMode===N?R:{...R,systemMode:N}})},[l.mode]),I=_.useRef(T);return I.current=T,_.useEffect(()=>{if(typeof window.matchMedia!="function"||!p)return;const L=(...N)=>I.current(...N),R=window.matchMedia("(prefers-color-scheme: dark)");return R.addListener(L),L(R),()=>{R.removeListener(L)}},[p]),_.useEffect(()=>{if(p){const L=h?.subscribe(D=>{(!D||["light","dark","system"].includes(D))&&C(D||t)})||rr,R=v?.subscribe(D=>{(!D||d.match(D))&&b({light:D})})||rr,N=g?.subscribe(D=>{(!D||d.match(D))&&b({dark:D})})||rr;return()=>{L(),R(),N()}}},[b,C,d,t,c,p,h,v,g]),{...l,mode:E?l.mode:void 0,systemMode:E?l.systemMode:void 0,colorScheme:E?P:void 0,setMode:C,setColorScheme:b}}const os="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function is(e){const{themeId:t,theme:r={},modeStorageKey:n=Ar,colorSchemeStorageKey:o=Rr,disableTransitionOnChange:i=!1,defaultColorScheme:a,resolveTheme:c}=e,u={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},f=_.createContext(void 0);process.env.NODE_ENV!=="production"&&(f.displayName="ColorSchemeContext");const d=()=>_.useContext(f)||u,p={},h={};function v(E){const{children:k,theme:P,modeStorageKey:C=n,colorSchemeStorageKey:b=o,disableTransitionOnChange:T=i,storageManager:I,storageWindow:L=typeof window>"u"?void 0:window,documentNode:R=typeof document>"u"?void 0:document,colorSchemeNode:N=typeof document>"u"?void 0:document.documentElement,disableNestedContext:D=!1,disableStyleSheetGeneration:s=!1,defaultMode:M="system",forceThemeRerender:x=!1,noSsr:q}=E,Y=_.useRef(!1),ue=Pr(),pe=_.useContext(f),De=!!pe&&!D,S=_.useMemo(()=>P||(typeof r=="function"?r():r),[P]),O=S[t],A=O||S,{colorSchemes:j=p,components:B=h,cssVarPrefix:W}=A,F=Object.keys(j).filter(me=>!!j[me]).join(","),V=_.useMemo(()=>F.split(","),[F]),U=typeof a=="string"?a:a.light,G=typeof a=="string"?a:a.dark,z=j[U]&&j[G]?M:j[A.defaultColorScheme]?.palette?.mode||A.palette?.mode,{mode:fe,setMode:w,systemMode:ge,lightColorScheme:je,darkColorScheme:He,colorScheme:So,setColorScheme:Dr}=ns({supportedColorSchemes:V,defaultLightColorScheme:U,defaultDarkColorScheme:G,modeStorageKey:C,colorSchemeStorageKey:b,defaultMode:z,storageManager:I,storageWindow:L,noSsr:q});let Yt=fe,xe=So;De&&(Yt=pe.mode,xe=pe.colorScheme),process.env.NODE_ENV!=="production"&&x&&!A.vars&&console.warn(["MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.","Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution."].join(`
|
|
39
|
-
`));let dt=xe||A.defaultColorScheme;A.vars&&!x&&(dt=A.defaultColorScheme);const pt=_.useMemo(()=>{const me=A.generateThemeVars?.()||A.vars,ae={...A,components:B,colorSchemes:j,cssVarPrefix:W,vars:me};if(typeof ae.generateSpacing=="function"&&(ae.spacing=ae.generateSpacing()),dt){const
|
|
40
|
-
`)),w(me)},systemMode:ge}),[V,xe,He,je,Yt,Dr,w,ge,pt.colorSchemeSelector]);let jr=!0;(s||A.cssVariables===!1||De&&ue?.cssVarPrefix===W)&&(jr=!1);const Lr=re.jsxs(_.Fragment,{children:[re.jsx(at,{themeId:O?t:void 0,theme:pt,children:k}),jr&&re.jsx(Tr,{styles:pt.generateStyleSheets?.()||[]})]});return De?Lr:re.jsx(f.Provider,{value:Co,children:Lr})}process.env.NODE_ENV!=="production"&&(v.propTypes={children:$.node,colorSchemeNode:$.any,colorSchemeStorageKey:$.string,defaultMode:$.string,disableNestedContext:$.bool,disableStyleSheetGeneration:$.bool,disableTransitionOnChange:$.bool,documentNode:$.any,forceThemeRerender:$.bool,modeStorageKey:$.string,noSsr:$.bool,storageManager:$.func,storageWindow:$.any,theme:$.object});const g=typeof a=="string"?a:a.light,l=typeof a=="string"?a:a.dark;return{CssVarsProvider:v,useColorScheme:d,getInitColorSchemeScript:E=>Za({colorSchemeStorageKey:o,defaultLightColorScheme:g,defaultDarkColorScheme:l,modeStorageKey:n,...E})}}function as(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Tn=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},ss=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([c,u])=>{(!r||r&&!r([...i,c]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,c],Array.isArray(u)?[...a,c]:a):t([...i,c],u,a))})}n(e)},cs=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function nr(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return ss(e,(c,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(c,u))){const d=`--${r?`${r}-`:""}${c.join("-")}`,p=cs(c,u);Object.assign(o,{[d]:p}),Tn(i,c,`var(${d})`,f),Tn(a,c,`var(${d}, ${p})`,f)}},c=>c[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function ls(e,t={}){const{getSelector:r=E,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:c,defaultColorScheme:u="light",...f}=e,{vars:d,css:p,varsWithDefaults:h}=nr(f,t);let v=h;const g={},{[u]:l,...y}=a;if(Object.entries(y||{}).forEach(([C,b])=>{const{vars:T,css:I,varsWithDefaults:L}=nr(b,t);v=
|
|
39
|
+
`));let dt=xe||A.defaultColorScheme;A.vars&&!x&&(dt=A.defaultColorScheme);const pt=_.useMemo(()=>{const me=A.generateThemeVars?.()||A.vars,ae={...A,components:B,colorSchemes:j,cssVarPrefix:W,vars:me};if(typeof ae.generateSpacing=="function"&&(ae.spacing=ae.generateSpacing()),dt){const Ce=j[dt];Ce&&typeof Ce=="object"&&Object.keys(Ce).forEach(we=>{Ce[we]&&typeof Ce[we]=="object"?ae[we]={...ae[we],...Ce[we]}:ae[we]=Ce[we]})}return c?c(ae):ae},[A,dt,B,j,W]),Xe=A.colorSchemeSelector;Zn(()=>{if(xe&&N&&Xe&&Xe!=="media"){const me=Xe;let ae=Xe;if(me==="class"&&(ae=".%s"),me==="data"&&(ae="[data-%s]"),me?.startsWith("data-")&&!me.includes("%s")&&(ae=`[${me}="%s"]`),ae.startsWith("."))N.classList.remove(...V.map(Ce=>ae.substring(1).replace("%s",Ce))),N.classList.add(ae.substring(1).replace("%s",xe));else{const Ce=ae.replace("%s",xe).match(/\[([^\]]+)\]/);if(Ce){const[we,qt]=Ce[1].split("=");qt||V.forEach(Eo=>{N.removeAttribute(we.replace(xe,Eo))}),N.setAttribute(we,qt?qt.replace(/"|'/g,""):"")}else N.setAttribute(ae,xe)}}},[xe,Xe,N,V]),_.useEffect(()=>{let me;if(T&&Y.current&&R){const ae=R.createElement("style");ae.appendChild(R.createTextNode(os)),R.head.appendChild(ae),window.getComputedStyle(R.body),me=setTimeout(()=>{R.head.removeChild(ae)},1)}return()=>{clearTimeout(me)}},[xe,T,R]),_.useEffect(()=>(Y.current=!0,()=>{Y.current=!1}),[]);const Co=_.useMemo(()=>({allColorSchemes:V,colorScheme:xe,darkColorScheme:He,lightColorScheme:je,mode:Yt,setColorScheme:Dr,setMode:process.env.NODE_ENV==="production"?w:me=>{pt.colorSchemeSelector==="media"&&console.error(["MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).","To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.","To learn more, visit https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually"].join(`
|
|
40
|
+
`)),w(me)},systemMode:ge}),[V,xe,He,je,Yt,Dr,w,ge,pt.colorSchemeSelector]);let jr=!0;(s||A.cssVariables===!1||De&&ue?.cssVarPrefix===W)&&(jr=!1);const Lr=re.jsxs(_.Fragment,{children:[re.jsx(at,{themeId:O?t:void 0,theme:pt,children:k}),jr&&re.jsx(Tr,{styles:pt.generateStyleSheets?.()||[]})]});return De?Lr:re.jsx(f.Provider,{value:Co,children:Lr})}process.env.NODE_ENV!=="production"&&(v.propTypes={children:$.node,colorSchemeNode:$.any,colorSchemeStorageKey:$.string,defaultMode:$.string,disableNestedContext:$.bool,disableStyleSheetGeneration:$.bool,disableTransitionOnChange:$.bool,documentNode:$.any,forceThemeRerender:$.bool,modeStorageKey:$.string,noSsr:$.bool,storageManager:$.func,storageWindow:$.any,theme:$.object});const g=typeof a=="string"?a:a.light,l=typeof a=="string"?a:a.dark;return{CssVarsProvider:v,useColorScheme:d,getInitColorSchemeScript:E=>Za({colorSchemeStorageKey:o,defaultLightColorScheme:g,defaultDarkColorScheme:l,modeStorageKey:n,...E})}}function as(e=""){function t(...n){if(!n.length)return"";const o=n[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${t(...o)})`}const Tn=(e,t,r,n=[])=>{let o=e;t.forEach((i,a)=>{a===t.length-1?Array.isArray(o)?o[Number(i)]=r:o&&typeof o=="object"&&(o[i]=r):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},ss=(e,t,r)=>{function n(o,i=[],a=[]){Object.entries(o).forEach(([c,u])=>{(!r||r&&!r([...i,c]))&&u!=null&&(typeof u=="object"&&Object.keys(u).length>0?n(u,[...i,c],Array.isArray(u)?[...a,c]:a):t([...i,c],u,a))})}n(e)},cs=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function nr(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},i={},a={};return ss(e,(c,u,f)=>{if((typeof u=="string"||typeof u=="number")&&(!n||!n(c,u))){const d=`--${r?`${r}-`:""}${c.join("-")}`,p=cs(c,u);Object.assign(o,{[d]:p}),Tn(i,c,`var(${d})`,f),Tn(a,c,`var(${d}, ${p})`,f)}},c=>c[0]==="vars"),{css:o,vars:i,varsWithDefaults:a}}function ls(e,t={}){const{getSelector:r=E,disableCssColorScheme:n,colorSchemeSelector:o,enableContrastVars:i}=t,{colorSchemes:a={},components:c,defaultColorScheme:u="light",...f}=e,{vars:d,css:p,varsWithDefaults:h}=nr(f,t);let v=h;const g={},{[u]:l,...y}=a;if(Object.entries(y||{}).forEach(([C,b])=>{const{vars:T,css:I,varsWithDefaults:L}=nr(b,t);v=Se(v,L),g[C]={css:I,vars:T}}),l){const{css:C,vars:b,varsWithDefaults:T}=nr(l,t);v=Se(v,T),g[u]={css:C,vars:b}}function E(C,b){let T=o;if(o==="class"&&(T=".%s"),o==="data"&&(T="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(T=`[${o}="%s"]`),C){if(T==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${a[C]?.palette?.mode||C})`]:{":root":b}};if(T)return e.defaultColorScheme===C?`:root, ${T.replace("%s",String(C))}`:T.replace("%s",String(C))}return":root"}return{vars:v,generateThemeVars:()=>{let C={...d};return Object.entries(g).forEach(([,{vars:b}])=>{C=Se(C,b)}),C},generateStyleSheets:()=>{const C=[],b=e.defaultColorScheme||"light";function T(R,N){Object.keys(N).length&&C.push(typeof R=="string"?{[R]:{...N}}:R)}T(r(void 0,{...p}),p);const{[b]:I,...L}=g;if(I){const{css:R}=I,N=a[b]?.palette?.mode,D=!n&&N?{colorScheme:N,...R}:{...R};T(r(b,{...D}),D)}return Object.entries(L).forEach(([R,{css:N}])=>{const D=a[R]?.palette?.mode,s=!n&&D?{colorScheme:D,...N}:{...N};T(r(R,{...s}),s)}),i&&C.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),C}}}function us(e){return function(r){return e==="media"?(process.env.NODE_ENV!=="production"&&r!=="light"&&r!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${r}'.`),`@media (prefers-color-scheme: ${r})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${r}"] &`:e==="class"?`.${r} &`:e==="data"?`[data-${r}] &`:`${e.replace("%s",r)} &`:"&"}}function so(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:rt.white,default:rt.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const co=so();function lo(){return{text:{primary:rt.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:rt.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const fr=lo();function xn(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Ut(e.main,o):t==="dark"&&(e.dark=Wt(e.main,i)))}function wn(e,t,r,n,o){const i=o.light||o,a=o.dark||o*1.5;t[r]||(t.hasOwnProperty(n)?t[r]=t[n]:r==="light"?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(i*100).toFixed(0)}%)`:r==="dark"&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(a*100).toFixed(0)}%)`))}function fs(e="light"){return e==="dark"?{main:We[200],light:We[50],dark:We[400]}:{main:We[700],light:We[400],dark:We[800]}}function ds(e="light"){return e==="dark"?{main:Fe[200],light:Fe[50],dark:Fe[400]}:{main:Fe[500],light:Fe[300],dark:Fe[700]}}function ps(e="light"){return e==="dark"?{main:Ve[500],light:Ve[300],dark:Ve[700]}:{main:Ve[700],light:Ve[400],dark:Ve[800]}}function ms(e="light"){return e==="dark"?{main:Ue[400],light:Ue[300],dark:Ue[700]}:{main:Ue[700],light:Ue[500],dark:Ue[900]}}function hs(e="light"){return e==="dark"?{main:ze[400],light:ze[300],dark:ze[700]}:{main:ze[800],light:ze[500],dark:ze[900]}}function gs(e="light"){return e==="dark"?{main:Je[400],light:Je[300],dark:Je[700]}:{main:"#ed6c02",light:Je[500],dark:Je[900]}}function ys(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Nr(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,colorSpace:o,...i}=e,a=e.primary||fs(t),c=e.secondary||ds(t),u=e.error||ps(t),f=e.info||ms(t),d=e.success||hs(t),p=e.warning||gs(t);function h(y){if(o)return ys(y);const E=yn(y,fr.text.primary)>=r?fr.text.primary:co.text.primary;if(process.env.NODE_ENV!=="production"){const k=yn(y,E);k<3&&console.error([`MUI: The contrast ratio of ${k}:1 for ${E} on ${y}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
41
41
|
`))}return E}const v=({color:y,name:E,mainShade:k=500,lightShade:P=300,darkShade:C=700})=>{if(y={...y},!y.main&&y[k]&&(y.main=y[k]),!y.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
42
42
|
The color object needs to have a \`main\` property or a \`${k}\` property.`:Ne(11,E?` (${E})`:"",k));if(typeof y.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
43
43
|
\`color.main\` should be a string, but \`${JSON.stringify(y.main)}\` was provided instead.
|
|
@@ -52,7 +52,7 @@ const theme1 = createTheme({ palette: {
|
|
|
52
52
|
|
|
53
53
|
const theme2 = createTheme({ palette: {
|
|
54
54
|
primary: { main: green[500] },
|
|
55
|
-
} });`:Ne(12,E?` (${E})`:"",JSON.stringify(y.main)));return o?(wn(o,y,"light",P,n),wn(o,y,"dark",C,n)):(xn(y,"light",P,n),xn(y,"dark",C,n)),y.contrastText||(y.contrastText=h(y.main)),y};let g;return t==="light"?g=so():t==="dark"&&(g=lo()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),
|
|
55
|
+
} });`:Ne(12,E?` (${E})`:"",JSON.stringify(y.main)));return o?(wn(o,y,"light",P,n),wn(o,y,"dark",C,n)):(xn(y,"light",P,n),xn(y,"dark",C,n)),y.contrastText||(y.contrastText=h(y.main)),y};let g;return t==="light"?g=so():t==="dark"&&(g=lo()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Se({common:{...rt},mode:t,primary:v({color:a,name:"primary"}),secondary:v({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:u,name:"error"}),warning:v({color:p,name:"warning"}),info:v({color:f,name:"info"}),success:v({color:d,name:"success"}),grey:xo,contrastThreshold:r,getContrastText:h,augmentColor:v,tonalOffset:n,...g},i)}function bs(e){const t={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function vs(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Ss(e){return Math.round(e*1e5)/1e5}const $n={textTransform:"uppercase"},On='"Roboto", "Helvetica", "Arial", sans-serif';function uo(e,t){const{fontFamily:r=On,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:a=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:f,pxToRem:d,...p}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const h=n/14,v=d||(y=>`${y/u*h}rem`),g=(y,E,k,P,C)=>({fontFamily:r,fontWeight:y,fontSize:v(E),lineHeight:k,...r===On?{letterSpacing:`${Ss(P/E)}em`}:{},...C,...f}),l={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(i,48,1.167,0),h4:g(i,34,1.235,.25),h5:g(i,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(a,14,1.75,.4,$n),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,$n),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Se({htmlFontSize:u,pxToRem:v,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:a,fontWeightBold:c,...l},p,{clone:!1})}const Cs=.2,Es=.14,Ts=.12;function ne(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Cs})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Es})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ts})`].join(",")}const xs=["none",ne(0,2,1,-1,0,1,1,0,0,1,3,0),ne(0,3,1,-2,0,2,2,0,0,1,5,0),ne(0,3,3,-2,0,3,4,0,0,1,8,0),ne(0,2,4,-1,0,4,5,0,0,1,10,0),ne(0,3,5,-1,0,5,8,0,0,1,14,0),ne(0,3,5,-1,0,6,10,0,0,1,18,0),ne(0,4,5,-2,0,7,10,1,0,2,16,1),ne(0,5,5,-3,0,8,10,1,0,3,14,2),ne(0,5,6,-3,0,9,12,1,0,3,16,2),ne(0,6,6,-3,0,10,14,1,0,4,18,3),ne(0,6,7,-4,0,11,15,1,0,4,20,3),ne(0,7,8,-4,0,12,17,2,0,5,22,4),ne(0,7,8,-4,0,13,19,2,0,5,24,4),ne(0,7,9,-4,0,14,21,2,0,5,26,4),ne(0,8,9,-5,0,15,22,2,0,6,28,5),ne(0,8,10,-5,0,16,24,2,0,6,30,5),ne(0,8,11,-5,0,17,26,2,0,6,32,5),ne(0,9,11,-5,0,18,28,2,0,7,34,6),ne(0,9,12,-6,0,19,29,2,0,7,36,6),ne(0,10,13,-6,0,20,31,3,0,8,38,7),ne(0,10,13,-6,0,21,33,3,0,8,40,7),ne(0,10,14,-6,0,22,35,3,0,8,42,7),ne(0,11,14,-7,0,23,36,3,0,9,44,8),ne(0,11,15,-7,0,24,38,3,0,9,46,8)],ws={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},$s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function kn(e){return`${Math.round(e)}ms`}function Os(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ks(e){const t={...ws,...e.easing},r={...$s,...e.duration};return{getAutoHeightDuration:Os,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:c=t.easeInOut,delay:u=0,...f}=i;if(process.env.NODE_ENV!=="production"){const d=h=>typeof h=="string",p=h=>!Number.isNaN(parseFloat(h));!d(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!d(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),d(c)||console.error('MUI: Argument "easing" must be a string.'),!p(u)&&!d(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
56
56
|
`)),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof a=="string"?a:kn(a)} ${c} ${typeof u=="string"?u:kn(u)}`).join(",")},...e,easing:t,duration:r}}const _s={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ps(e){return Re(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function fo(e={}){const t={...e};function r(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[a,c]=o[i];!Ps(c)||a.startsWith("unstable_")?delete n[a]:Re(c)&&(n[a]={...c},r(n[a]))}}return r(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
57
57
|
|
|
58
58
|
const theme = ${JSON.stringify(t,null,2)};
|
|
@@ -60,6 +60,6 @@ const theme = ${JSON.stringify(t,null,2)};
|
|
|
60
60
|
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
61
61
|
theme.transitions = createTransitions(theme.transitions || {});
|
|
62
62
|
|
|
63
|
-
export default theme;`}function _n(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const As=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function Rs(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:to(t,As(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${_n(r)})`:Ut(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${_n(r)})`:Wt(t,r)}})}function dr(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:c={},shape:u,colorSpace:f,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Ne(20));const p=Nr({...i,colorSpace:f}),h=Jn(e);let v=
|
|
63
|
+
export default theme;`}function _n(e){return typeof e=="number"?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}const As=e=>{if(!Number.isNaN(+e))return+e;const t=e.match(/\d*\.?\d+/g);if(!t)return 0;let r=0;for(let n=0;n<t.length;n+=1)r+=+t[n];return r};function Rs(e){Object.assign(e,{alpha(t,r){const n=this||e;return n.colorSpace?`oklch(from ${t} l c h / ${typeof r=="string"?`calc(${r})`:r})`:n.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,"var(--$1Channel)")} / ${typeof r=="string"?`calc(${r})`:r})`:to(t,As(r))},lighten(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #fff ${_n(r)})`:Ut(t,r)},darken(t,r){const n=this||e;return n.colorSpace?`color-mix(in ${n.colorSpace}, ${t}, #000 ${_n(r)})`:Wt(t,r)}})}function dr(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:i={},transitions:a={},typography:c={},shape:u,colorSpace:f,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":Ne(20));const p=Nr({...i,colorSpace:f}),h=Jn(e);let v=Se(h,{mixins:vs(h.breakpoints,n),palette:p,shadows:xs.slice(),typography:uo(p,c),transitions:ks(a),zIndex:{..._s}});if(v=Se(v,d),v=t.reduce((g,l)=>Se(g,l),v),process.env.NODE_ENV!=="production"){const g=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],l=(y,E)=>{let k;for(k in y){const P=y[k];if(g.includes(k)&&Object.keys(P).length>0){if(process.env.NODE_ENV!=="production"){const C=Da("",k);console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${k}\` internal state.`,"You can not override it like this: ",JSON.stringify(y,null,2),"",`Instead, you need to use the '&.${C}' syntax:`,JSON.stringify({root:{[`&.${C}`]:P}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
64
64
|
`))}y[k]={}}}};Object.keys(v.components).forEach(y=>{const E=v.components[y].styleOverrides;E&&y.startsWith("Mui")&&l(E,y)})}return v.unstable_sxConfig={...Vt,...d?.unstable_sxConfig},v.unstable_sx=function(l){return ft({sx:l,theme:this})},v.toRuntimeSource=fo,Rs(v),v}function Ns(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Ms=[...Array(25)].map((e,t)=>{if(t===0)return"none";const r=Ns(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`});function po(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function mo(e){return e==="dark"?Ms:[]}function Is(e){const{palette:t={mode:"light"},opacity:r,overlays:n,colorSpace:o,...i}=e,a=Nr({...t,colorSpace:o});return{palette:a,opacity:{...po(a.mode),...r},overlays:n||mo(a.mode),...i}}function Ds(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const js=e=>[...[...Array(25)].map((t,r)=>`--${e?`${e}-`:""}overlays-${r}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ls=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const a={};return js(e.cssVarPrefix).forEach(c=>{a[c]=r[c],delete r[c]}),i==="media"?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:a}}:i?{[i.replace("%s",t)]:a,[`${n}, ${i.replace("%s",t)}`]:r}:{[n]:{...r,...a}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(i)return i.replace("%s",String(t))}return n};function Bs(e,t){t.forEach(r=>{e[r]||(e[r]={})})}function m(e,t,r){!e[t]&&r&&(e[t]=r)}function et(e){return typeof e!="string"||!e.startsWith("hsl")?e:eo(e)}function Pe(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Ze(et(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
65
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Vs(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const $e=e=>{try{return e()}catch{}},Fs=(e="mui")=>as(e);function or(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=Is({...r,palette:{mode:i,...r?.palette},colorSpace:e});return}const{palette:a,...c}=dr({...n,palette:{mode:i,...r?.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...po(i),...r?.opacity},overlays:r?.overlays||mo(i)},c}function Ws(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:c=Ds,colorSchemeSelector:u=r.light&&r.dark?"media":void 0,rootSelector:f=":root",...d}=e,p=Object.keys(r)[0],h=n||(r.light&&p!=="light"?"light":p),v=Fs(i),{[h]:g,light:l,dark:y,...E}=r,k={...E};let P=g;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(P=!0),!P)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ne(21,h));let C;a&&(C="oklch");const b=or(C,k,P,d,h);l&&!k.light&&or(C,k,l,void 0,"light"),y&&!k.dark&&or(C,k,y,void 0,"dark");let T={defaultColorScheme:h,...b,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:f,getCssVar:v,colorSchemes:k,font:{...bs(b.typography),...b.font},spacing:Vs(d.spacing)};Object.keys(T.colorSchemes).forEach(D=>{const s=T.colorSchemes[D].palette,M=q=>{const Y=q.split("-"),ue=Y[1],pe=Y[2];return v(q,s[ue][pe])};s.mode==="light"&&(m(s.common,"background","#fff"),m(s.common,"onBackground","#000")),s.mode==="dark"&&(m(s.common,"background","#000"),m(s.common,"onBackground","#fff"));function x(q,Y,ue){if(C){let pe;return q===Le&&(pe=`transparent ${((1-ue)*100).toFixed(0)}%`),q===Q&&(pe=`#000 ${(ue*100).toFixed(0)}%`),q===Z&&(pe=`#fff ${(ue*100).toFixed(0)}%`),`color-mix(in ${C}, ${Y}, ${pe})`}return q(Y,ue)}if(Bs(s,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),s.mode==="light"){m(s.Alert,"errorColor",x(Q,s.error.light,.6)),m(s.Alert,"infoColor",x(Q,s.info.light,.6)),m(s.Alert,"successColor",x(Q,s.success.light,.6)),m(s.Alert,"warningColor",x(Q,s.warning.light,.6)),m(s.Alert,"errorFilledBg",M("palette-error-main")),m(s.Alert,"infoFilledBg",M("palette-info-main")),m(s.Alert,"successFilledBg",M("palette-success-main")),m(s.Alert,"warningFilledBg",M("palette-warning-main")),m(s.Alert,"errorFilledColor",$e(()=>s.getContrastText(s.error.main))),m(s.Alert,"infoFilledColor",$e(()=>s.getContrastText(s.info.main))),m(s.Alert,"successFilledColor",$e(()=>s.getContrastText(s.success.main))),m(s.Alert,"warningFilledColor",$e(()=>s.getContrastText(s.warning.main))),m(s.Alert,"errorStandardBg",x(Z,s.error.light,.9)),m(s.Alert,"infoStandardBg",x(Z,s.info.light,.9)),m(s.Alert,"successStandardBg",x(Z,s.success.light,.9)),m(s.Alert,"warningStandardBg",x(Z,s.warning.light,.9)),m(s.Alert,"errorIconColor",M("palette-error-main")),m(s.Alert,"infoIconColor",M("palette-info-main")),m(s.Alert,"successIconColor",M("palette-success-main")),m(s.Alert,"warningIconColor",M("palette-warning-main")),m(s.AppBar,"defaultBg",M("palette-grey-100")),m(s.Avatar,"defaultBg",M("palette-grey-400")),m(s.Button,"inheritContainedBg",M("palette-grey-300")),m(s.Button,"inheritContainedHoverBg",M("palette-grey-A100")),m(s.Chip,"defaultBorder",M("palette-grey-400")),m(s.Chip,"defaultAvatarColor",M("palette-grey-700")),m(s.Chip,"defaultIconColor",M("palette-grey-700")),m(s.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),m(s.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),m(s.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),m(s.LinearProgress,"primaryBg",x(Z,s.primary.main,.62)),m(s.LinearProgress,"secondaryBg",x(Z,s.secondary.main,.62)),m(s.LinearProgress,"errorBg",x(Z,s.error.main,.62)),m(s.LinearProgress,"infoBg",x(Z,s.info.main,.62)),m(s.LinearProgress,"successBg",x(Z,s.success.main,.62)),m(s.LinearProgress,"warningBg",x(Z,s.warning.main,.62)),m(s.Skeleton,"bg",C?x(Le,s.text.primary,.11):`rgba(${M("palette-text-primaryChannel")} / 0.11)`),m(s.Slider,"primaryTrack",x(Z,s.primary.main,.62)),m(s.Slider,"secondaryTrack",x(Z,s.secondary.main,.62)),m(s.Slider,"errorTrack",x(Z,s.error.main,.62)),m(s.Slider,"infoTrack",x(Z,s.info.main,.62)),m(s.Slider,"successTrack",x(Z,s.success.main,.62)),m(s.Slider,"warningTrack",x(Z,s.warning.main,.62));const q=C?x(Q,s.background.default,.6825):bt(s.background.default,.8);m(s.SnackbarContent,"bg",q),m(s.SnackbarContent,"color",$e(()=>C?fr.text.primary:s.getContrastText(q))),m(s.SpeedDialAction,"fabHoverBg",bt(s.background.paper,.15)),m(s.StepConnector,"border",M("palette-grey-400")),m(s.StepContent,"border",M("palette-grey-400")),m(s.Switch,"defaultColor",M("palette-common-white")),m(s.Switch,"defaultDisabledColor",M("palette-grey-100")),m(s.Switch,"primaryDisabledColor",x(Z,s.primary.main,.62)),m(s.Switch,"secondaryDisabledColor",x(Z,s.secondary.main,.62)),m(s.Switch,"errorDisabledColor",x(Z,s.error.main,.62)),m(s.Switch,"infoDisabledColor",x(Z,s.info.main,.62)),m(s.Switch,"successDisabledColor",x(Z,s.success.main,.62)),m(s.Switch,"warningDisabledColor",x(Z,s.warning.main,.62)),m(s.TableCell,"border",x(Z,x(Le,s.divider,1),.88)),m(s.Tooltip,"bg",x(Le,s.grey[700],.92))}if(s.mode==="dark"){m(s.Alert,"errorColor",x(Z,s.error.light,.6)),m(s.Alert,"infoColor",x(Z,s.info.light,.6)),m(s.Alert,"successColor",x(Z,s.success.light,.6)),m(s.Alert,"warningColor",x(Z,s.warning.light,.6)),m(s.Alert,"errorFilledBg",M("palette-error-dark")),m(s.Alert,"infoFilledBg",M("palette-info-dark")),m(s.Alert,"successFilledBg",M("palette-success-dark")),m(s.Alert,"warningFilledBg",M("palette-warning-dark")),m(s.Alert,"errorFilledColor",$e(()=>s.getContrastText(s.error.dark))),m(s.Alert,"infoFilledColor",$e(()=>s.getContrastText(s.info.dark))),m(s.Alert,"successFilledColor",$e(()=>s.getContrastText(s.success.dark))),m(s.Alert,"warningFilledColor",$e(()=>s.getContrastText(s.warning.dark))),m(s.Alert,"errorStandardBg",x(Q,s.error.light,.9)),m(s.Alert,"infoStandardBg",x(Q,s.info.light,.9)),m(s.Alert,"successStandardBg",x(Q,s.success.light,.9)),m(s.Alert,"warningStandardBg",x(Q,s.warning.light,.9)),m(s.Alert,"errorIconColor",M("palette-error-main")),m(s.Alert,"infoIconColor",M("palette-info-main")),m(s.Alert,"successIconColor",M("palette-success-main")),m(s.Alert,"warningIconColor",M("palette-warning-main")),m(s.AppBar,"defaultBg",M("palette-grey-900")),m(s.AppBar,"darkBg",M("palette-background-paper")),m(s.AppBar,"darkColor",M("palette-text-primary")),m(s.Avatar,"defaultBg",M("palette-grey-600")),m(s.Button,"inheritContainedBg",M("palette-grey-800")),m(s.Button,"inheritContainedHoverBg",M("palette-grey-700")),m(s.Chip,"defaultBorder",M("palette-grey-700")),m(s.Chip,"defaultAvatarColor",M("palette-grey-300")),m(s.Chip,"defaultIconColor",M("palette-grey-300")),m(s.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),m(s.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),m(s.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),m(s.LinearProgress,"primaryBg",x(Q,s.primary.main,.5)),m(s.LinearProgress,"secondaryBg",x(Q,s.secondary.main,.5)),m(s.LinearProgress,"errorBg",x(Q,s.error.main,.5)),m(s.LinearProgress,"infoBg",x(Q,s.info.main,.5)),m(s.LinearProgress,"successBg",x(Q,s.success.main,.5)),m(s.LinearProgress,"warningBg",x(Q,s.warning.main,.5)),m(s.Skeleton,"bg",C?x(Le,s.text.primary,.13):`rgba(${M("palette-text-primaryChannel")} / 0.13)`),m(s.Slider,"primaryTrack",x(Q,s.primary.main,.5)),m(s.Slider,"secondaryTrack",x(Q,s.secondary.main,.5)),m(s.Slider,"errorTrack",x(Q,s.error.main,.5)),m(s.Slider,"infoTrack",x(Q,s.info.main,.5)),m(s.Slider,"successTrack",x(Q,s.success.main,.5)),m(s.Slider,"warningTrack",x(Q,s.warning.main,.5));const q=C?x(Z,s.background.default,.985):bt(s.background.default,.98);m(s.SnackbarContent,"bg",q),m(s.SnackbarContent,"color",$e(()=>C?co.text.primary:s.getContrastText(q))),m(s.SpeedDialAction,"fabHoverBg",bt(s.background.paper,.15)),m(s.StepConnector,"border",M("palette-grey-600")),m(s.StepContent,"border",M("palette-grey-600")),m(s.Switch,"defaultColor",M("palette-grey-300")),m(s.Switch,"defaultDisabledColor",M("palette-grey-600")),m(s.Switch,"primaryDisabledColor",x(Q,s.primary.main,.55)),m(s.Switch,"secondaryDisabledColor",x(Q,s.secondary.main,.55)),m(s.Switch,"errorDisabledColor",x(Q,s.error.main,.55)),m(s.Switch,"infoDisabledColor",x(Q,s.info.main,.55)),m(s.Switch,"successDisabledColor",x(Q,s.success.main,.55)),m(s.Switch,"warningDisabledColor",x(Q,s.warning.main,.55)),m(s.TableCell,"border",x(Q,x(Le,s.divider,1),.68)),m(s.Tooltip,"bg",x(Le,s.grey[700],.92))}Pe(s.background,"default"),Pe(s.background,"paper"),Pe(s.common,"background"),Pe(s.common,"onBackground"),Pe(s,"divider"),Object.keys(s).forEach(q=>{const Y=s[q];q!=="tonalOffset"&&Y&&typeof Y=="object"&&(Y.main&&m(s[q],"mainChannel",Ze(et(Y.main))),Y.light&&m(s[q],"lightChannel",Ze(et(Y.light))),Y.dark&&m(s[q],"darkChannel",Ze(et(Y.dark))),Y.contrastText&&m(s[q],"contrastTextChannel",Ze(et(Y.contrastText))),q==="text"&&(Pe(s[q],"primary"),Pe(s[q],"secondary")),q==="action"&&(Y.active&&Pe(s[q],"active"),Y.selected&&Pe(s[q],"selected")))})}),T=t.reduce((D,s)=>ve(D,s),T);const I={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:Ls(T),enableContrastVars:a},{vars:L,generateThemeVars:R,generateStyleSheets:N}=ls(T,I);return T.vars=L,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([D,s])=>{T[D]=s}),T.generateThemeVars=R,T.generateStyleSheets=N,T.generateSpacing=function(){return Xn(d.spacing,xr(this))},T.getColorSchemeSelector=us(u),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=c,T.unstable_sxConfig={...Vt,...d?.unstable_sxConfig},T.unstable_sx=function(s){return ft({sx:s,theme:this})},T.toRuntimeSource=fo,T}function Pn(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Nr({...r===!0?{}:r.palette,mode:t})})}function Mr(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r?.mode,...a}=e,c=i||"light",u=o?.[c],f={...o,...r?{[c]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return dr(e,...t);let d=r;"palette"in e||f[c]&&(f[c]!==!0?d=f[c].palette:c==="dark"&&(d={mode:"dark"}));const p=dr({...e,palette:d},...t);return p.defaultColorScheme=c,p.colorSchemes=f,p.palette.mode==="light"&&(p.colorSchemes.light={...f.light!==!0&&f.light,palette:p.palette},Pn(p,"dark",f.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:p.palette},Pn(p,"light",f.light)),p}return!r&&!("light"in f)&&c==="light"&&(f.light=!0),Ws({...a,colorSchemes:f,defaultColorScheme:c,...typeof n!="boolean"&&n},...t)}const Us=Mr();function zs({theme:e,...t}){const r=Be in e?e[Be]:void 0;return re.jsx(at,{...t,themeId:r?Be:void 0,theme:r||e})}const vt={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};process.env.NODE_ENV!=="production"&&($.string,$.string,$.string,$.string,$.string,$.oneOf(["dark","light","system"]),$.string,$.string);const{CssVarsProvider:Ys}=is({themeId:Be,theme:()=>Mr({cssVariables:!0}),colorSchemeStorageKey:vt.colorSchemeStorageKey,modeStorageKey:vt.modeStorageKey,defaultColorScheme:{light:vt.defaultLightColorScheme,dark:vt.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:uo(e.palette,e.typography)};return t.unstable_sx=function(n){return ft({sx:n,theme:this})},t}}),qs=Ys;function Gs({theme:e,...t}){const r=_.useMemo(()=>{if(typeof e=="function")return e;const n=Be in e?e[Be]:e;return"colorSchemes"in n?null:"vars"in n?e:{...e,vars:null}},[e]);return r?re.jsx(zs,{theme:r,...t}):re.jsx(qs,{theme:e,...t})}function ho(e){return re.jsx(Or,{...e,defaultTheme:Us,themeId:Be})}process.env.NODE_ENV!=="production"&&(ho.propTypes={styles:$.oneOfType([$.array,$.func,$.number,$.object,$.string,$.bool])});function go(e){return function(r){return re.jsx(ho,{styles:typeof e=="function"?n=>e({theme:n,...r}):e})}}process.env.NODE_ENV!=="production"&&($.node,$.object.isRequired);function Ks(e){return Ga(e)}const pr=typeof go({})=="function",Hs=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),Xs=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),yo=(e,t=!1)=>{const r={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([i,a])=>{const c=e.getColorSchemeSelector(i);c.startsWith("@")?r[c]={":root":{colorScheme:a.palette?.mode}}:r[c.replace(/\s*&/,"")]={colorScheme:a.palette?.mode}});let n={html:Hs(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...Xs(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...r};const o=e.components?.MuiCssBaseline?.styleOverrides;return o&&(n=[n,o]),n},Tt="mui-ecs",Js=e=>{const t=yo(e,!1),r=Array.isArray(t)?t[0]:t;return!e.vars&&r&&(r.html[`:root:has(${Tt})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([n,o])=>{const i=e.getColorSchemeSelector(n);i.startsWith("@")?r[i]={[`:root:not(:has(.${Tt}))`]:{colorScheme:o.palette?.mode}}:r[i.replace(/\s*&/,"")]={[`&:not(:has(.${Tt}))`]:{colorScheme:o.palette?.mode}}}),t},Qs=go(pr?({theme:e,enableColorScheme:t})=>yo(e,t):({theme:e})=>Js(e));function bo(e){const t=Ks({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=t;return re.jsxs(_.Fragment,{children:[pr&&re.jsx(Qs,{enableColorScheme:n}),!pr&&!n&&re.jsx("span",{className:Tt,style:{display:"none"}}),r]})}process.env.NODE_ENV!=="production"&&(bo.propTypes={children:$.node,enableColorScheme:$.bool});const zt=Ee.createContext(void 0),An="codeplex-theme",vo=({children:e,temaPorDefecto:t="light"})=>{const[r,n]=Ee.useState(()=>{if(typeof window<"u"){const c=localStorage.getItem(An);if(c==="light"||c==="dark")return c;if(window.matchMedia("(prefers-color-scheme: dark)").matches)return"dark"}return t}),o=Ee.useCallback(c=>{const u=document.documentElement;u.classList.remove("light","dark"),u.classList.add(c),localStorage.setItem(An,c)},[]);Ee.useEffect(()=>{o(r)},[r,o]);const i=Ee.useCallback(c=>{n(c)},[]),a=Ee.useCallback(()=>{n(c=>c==="light"?"dark":"light")},[]);return re.jsx(zt.Provider,{value:{tema:r,alternarTema:a,establecerTema:i},children:e})},Zs=({defaultTheme:e,...t})=>re.jsx(vo,{temaPorDefecto:e,...t}),ec=zt,Ir=()=>{const e=Ee.useContext(zt);if(!e)throw new Error("usarTema debe ser usado dentro de un CodeplexProveedorTema");return e},tc=Ir,rc=({children:e})=>{const{tema:t}=Ir(),r=Ee.useMemo(()=>Mr({palette:{mode:t,primary:{main:"#3b82f6"},background:{default:t==="dark"?"#1b2431":"#f9fafb",paper:t==="dark"?"#273142":"#ffffff"}},typography:{fontFamily:'"Poppins", "Inter", "system-ui", "-apple-system", sans-serif',h1:{fontWeight:600},h2:{fontWeight:600},h3:{fontWeight:600},h4:{fontWeight:600},h5:{fontWeight:600},h6:{fontWeight:600},button:{fontWeight:500,textTransform:"none"}},shape:{borderRadius:8},components:{MuiPaper:{styleOverrides:{root:{backgroundImage:"none"}}},MuiButton:{styleOverrides:{root:{textTransform:"none",fontWeight:600}}}}}),[t]);return Ee.useEffect(()=>{const n="codeplex-google-resources";if(!document.getElementById(n)){const o=document.createElement("link");o.id=n,o.rel="stylesheet",o.href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200",document.head.appendChild(o)}},[]),re.jsxs(Gs,{theme:r,children:[re.jsx(bo,{}),e]})};function nc(){return"tema"}exports.CodeplexProveedorMui=rc;exports.CodeplexProveedorTema=vo;exports.CodeplexThemeProvider=Zs;exports.ContextoTema=zt;exports.ThemeContext=ec;exports.tema=nc;exports.usarTema=Ir;exports.useTheme=tc;
|
|
65
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Vs(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const $e=e=>{try{return e()}catch{}},Fs=(e="mui")=>as(e);function or(e,t,r,n,o){if(!r)return;r=r===!0?{}:r;const i=o==="dark"?"dark":"light";if(!n){t[o]=Is({...r,palette:{mode:i,...r?.palette},colorSpace:e});return}const{palette:a,...c}=dr({...n,palette:{mode:i,...r?.palette},colorSpace:e});return t[o]={...r,palette:a,opacity:{...po(i),...r?.opacity},overlays:r?.overlays||mo(i)},c}function Ws(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",nativeColor:a=!1,shouldSkipGeneratingVar:c=Ds,colorSchemeSelector:u=r.light&&r.dark?"media":void 0,rootSelector:f=":root",...d}=e,p=Object.keys(r)[0],h=n||(r.light&&p!=="light"?"light":p),v=Fs(i),{[h]:g,light:l,dark:y,...E}=r,k={...E};let P=g;if((h==="dark"&&!("dark"in r)||h==="light"&&!("light"in r))&&(P=!0),!P)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${h}\` option is either missing or invalid.`:Ne(21,h));let C;a&&(C="oklch");const b=or(C,k,P,d,h);l&&!k.light&&or(C,k,l,void 0,"light"),y&&!k.dark&&or(C,k,y,void 0,"dark");let T={defaultColorScheme:h,...b,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:f,getCssVar:v,colorSchemes:k,font:{...bs(b.typography),...b.font},spacing:Vs(d.spacing)};Object.keys(T.colorSchemes).forEach(D=>{const s=T.colorSchemes[D].palette,M=q=>{const Y=q.split("-"),ue=Y[1],pe=Y[2];return v(q,s[ue][pe])};s.mode==="light"&&(m(s.common,"background","#fff"),m(s.common,"onBackground","#000")),s.mode==="dark"&&(m(s.common,"background","#000"),m(s.common,"onBackground","#fff"));function x(q,Y,ue){if(C){let pe;return q===Le&&(pe=`transparent ${((1-ue)*100).toFixed(0)}%`),q===Q&&(pe=`#000 ${(ue*100).toFixed(0)}%`),q===Z&&(pe=`#fff ${(ue*100).toFixed(0)}%`),`color-mix(in ${C}, ${Y}, ${pe})`}return q(Y,ue)}if(Bs(s,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),s.mode==="light"){m(s.Alert,"errorColor",x(Q,s.error.light,.6)),m(s.Alert,"infoColor",x(Q,s.info.light,.6)),m(s.Alert,"successColor",x(Q,s.success.light,.6)),m(s.Alert,"warningColor",x(Q,s.warning.light,.6)),m(s.Alert,"errorFilledBg",M("palette-error-main")),m(s.Alert,"infoFilledBg",M("palette-info-main")),m(s.Alert,"successFilledBg",M("palette-success-main")),m(s.Alert,"warningFilledBg",M("palette-warning-main")),m(s.Alert,"errorFilledColor",$e(()=>s.getContrastText(s.error.main))),m(s.Alert,"infoFilledColor",$e(()=>s.getContrastText(s.info.main))),m(s.Alert,"successFilledColor",$e(()=>s.getContrastText(s.success.main))),m(s.Alert,"warningFilledColor",$e(()=>s.getContrastText(s.warning.main))),m(s.Alert,"errorStandardBg",x(Z,s.error.light,.9)),m(s.Alert,"infoStandardBg",x(Z,s.info.light,.9)),m(s.Alert,"successStandardBg",x(Z,s.success.light,.9)),m(s.Alert,"warningStandardBg",x(Z,s.warning.light,.9)),m(s.Alert,"errorIconColor",M("palette-error-main")),m(s.Alert,"infoIconColor",M("palette-info-main")),m(s.Alert,"successIconColor",M("palette-success-main")),m(s.Alert,"warningIconColor",M("palette-warning-main")),m(s.AppBar,"defaultBg",M("palette-grey-100")),m(s.Avatar,"defaultBg",M("palette-grey-400")),m(s.Button,"inheritContainedBg",M("palette-grey-300")),m(s.Button,"inheritContainedHoverBg",M("palette-grey-A100")),m(s.Chip,"defaultBorder",M("palette-grey-400")),m(s.Chip,"defaultAvatarColor",M("palette-grey-700")),m(s.Chip,"defaultIconColor",M("palette-grey-700")),m(s.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),m(s.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),m(s.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),m(s.LinearProgress,"primaryBg",x(Z,s.primary.main,.62)),m(s.LinearProgress,"secondaryBg",x(Z,s.secondary.main,.62)),m(s.LinearProgress,"errorBg",x(Z,s.error.main,.62)),m(s.LinearProgress,"infoBg",x(Z,s.info.main,.62)),m(s.LinearProgress,"successBg",x(Z,s.success.main,.62)),m(s.LinearProgress,"warningBg",x(Z,s.warning.main,.62)),m(s.Skeleton,"bg",C?x(Le,s.text.primary,.11):`rgba(${M("palette-text-primaryChannel")} / 0.11)`),m(s.Slider,"primaryTrack",x(Z,s.primary.main,.62)),m(s.Slider,"secondaryTrack",x(Z,s.secondary.main,.62)),m(s.Slider,"errorTrack",x(Z,s.error.main,.62)),m(s.Slider,"infoTrack",x(Z,s.info.main,.62)),m(s.Slider,"successTrack",x(Z,s.success.main,.62)),m(s.Slider,"warningTrack",x(Z,s.warning.main,.62));const q=C?x(Q,s.background.default,.6825):bt(s.background.default,.8);m(s.SnackbarContent,"bg",q),m(s.SnackbarContent,"color",$e(()=>C?fr.text.primary:s.getContrastText(q))),m(s.SpeedDialAction,"fabHoverBg",bt(s.background.paper,.15)),m(s.StepConnector,"border",M("palette-grey-400")),m(s.StepContent,"border",M("palette-grey-400")),m(s.Switch,"defaultColor",M("palette-common-white")),m(s.Switch,"defaultDisabledColor",M("palette-grey-100")),m(s.Switch,"primaryDisabledColor",x(Z,s.primary.main,.62)),m(s.Switch,"secondaryDisabledColor",x(Z,s.secondary.main,.62)),m(s.Switch,"errorDisabledColor",x(Z,s.error.main,.62)),m(s.Switch,"infoDisabledColor",x(Z,s.info.main,.62)),m(s.Switch,"successDisabledColor",x(Z,s.success.main,.62)),m(s.Switch,"warningDisabledColor",x(Z,s.warning.main,.62)),m(s.TableCell,"border",x(Z,x(Le,s.divider,1),.88)),m(s.Tooltip,"bg",x(Le,s.grey[700],.92))}if(s.mode==="dark"){m(s.Alert,"errorColor",x(Z,s.error.light,.6)),m(s.Alert,"infoColor",x(Z,s.info.light,.6)),m(s.Alert,"successColor",x(Z,s.success.light,.6)),m(s.Alert,"warningColor",x(Z,s.warning.light,.6)),m(s.Alert,"errorFilledBg",M("palette-error-dark")),m(s.Alert,"infoFilledBg",M("palette-info-dark")),m(s.Alert,"successFilledBg",M("palette-success-dark")),m(s.Alert,"warningFilledBg",M("palette-warning-dark")),m(s.Alert,"errorFilledColor",$e(()=>s.getContrastText(s.error.dark))),m(s.Alert,"infoFilledColor",$e(()=>s.getContrastText(s.info.dark))),m(s.Alert,"successFilledColor",$e(()=>s.getContrastText(s.success.dark))),m(s.Alert,"warningFilledColor",$e(()=>s.getContrastText(s.warning.dark))),m(s.Alert,"errorStandardBg",x(Q,s.error.light,.9)),m(s.Alert,"infoStandardBg",x(Q,s.info.light,.9)),m(s.Alert,"successStandardBg",x(Q,s.success.light,.9)),m(s.Alert,"warningStandardBg",x(Q,s.warning.light,.9)),m(s.Alert,"errorIconColor",M("palette-error-main")),m(s.Alert,"infoIconColor",M("palette-info-main")),m(s.Alert,"successIconColor",M("palette-success-main")),m(s.Alert,"warningIconColor",M("palette-warning-main")),m(s.AppBar,"defaultBg",M("palette-grey-900")),m(s.AppBar,"darkBg",M("palette-background-paper")),m(s.AppBar,"darkColor",M("palette-text-primary")),m(s.Avatar,"defaultBg",M("palette-grey-600")),m(s.Button,"inheritContainedBg",M("palette-grey-800")),m(s.Button,"inheritContainedHoverBg",M("palette-grey-700")),m(s.Chip,"defaultBorder",M("palette-grey-700")),m(s.Chip,"defaultAvatarColor",M("palette-grey-300")),m(s.Chip,"defaultIconColor",M("palette-grey-300")),m(s.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),m(s.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),m(s.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),m(s.LinearProgress,"primaryBg",x(Q,s.primary.main,.5)),m(s.LinearProgress,"secondaryBg",x(Q,s.secondary.main,.5)),m(s.LinearProgress,"errorBg",x(Q,s.error.main,.5)),m(s.LinearProgress,"infoBg",x(Q,s.info.main,.5)),m(s.LinearProgress,"successBg",x(Q,s.success.main,.5)),m(s.LinearProgress,"warningBg",x(Q,s.warning.main,.5)),m(s.Skeleton,"bg",C?x(Le,s.text.primary,.13):`rgba(${M("palette-text-primaryChannel")} / 0.13)`),m(s.Slider,"primaryTrack",x(Q,s.primary.main,.5)),m(s.Slider,"secondaryTrack",x(Q,s.secondary.main,.5)),m(s.Slider,"errorTrack",x(Q,s.error.main,.5)),m(s.Slider,"infoTrack",x(Q,s.info.main,.5)),m(s.Slider,"successTrack",x(Q,s.success.main,.5)),m(s.Slider,"warningTrack",x(Q,s.warning.main,.5));const q=C?x(Z,s.background.default,.985):bt(s.background.default,.98);m(s.SnackbarContent,"bg",q),m(s.SnackbarContent,"color",$e(()=>C?co.text.primary:s.getContrastText(q))),m(s.SpeedDialAction,"fabHoverBg",bt(s.background.paper,.15)),m(s.StepConnector,"border",M("palette-grey-600")),m(s.StepContent,"border",M("palette-grey-600")),m(s.Switch,"defaultColor",M("palette-grey-300")),m(s.Switch,"defaultDisabledColor",M("palette-grey-600")),m(s.Switch,"primaryDisabledColor",x(Q,s.primary.main,.55)),m(s.Switch,"secondaryDisabledColor",x(Q,s.secondary.main,.55)),m(s.Switch,"errorDisabledColor",x(Q,s.error.main,.55)),m(s.Switch,"infoDisabledColor",x(Q,s.info.main,.55)),m(s.Switch,"successDisabledColor",x(Q,s.success.main,.55)),m(s.Switch,"warningDisabledColor",x(Q,s.warning.main,.55)),m(s.TableCell,"border",x(Q,x(Le,s.divider,1),.68)),m(s.Tooltip,"bg",x(Le,s.grey[700],.92))}Pe(s.background,"default"),Pe(s.background,"paper"),Pe(s.common,"background"),Pe(s.common,"onBackground"),Pe(s,"divider"),Object.keys(s).forEach(q=>{const Y=s[q];q!=="tonalOffset"&&Y&&typeof Y=="object"&&(Y.main&&m(s[q],"mainChannel",Ze(et(Y.main))),Y.light&&m(s[q],"lightChannel",Ze(et(Y.light))),Y.dark&&m(s[q],"darkChannel",Ze(et(Y.dark))),Y.contrastText&&m(s[q],"contrastTextChannel",Ze(et(Y.contrastText))),q==="text"&&(Pe(s[q],"primary"),Pe(s[q],"secondary")),q==="action"&&(Y.active&&Pe(s[q],"active"),Y.selected&&Pe(s[q],"selected")))})}),T=t.reduce((D,s)=>Se(D,s),T);const I={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:Ls(T),enableContrastVars:a},{vars:L,generateThemeVars:R,generateStyleSheets:N}=ls(T,I);return T.vars=L,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([D,s])=>{T[D]=s}),T.generateThemeVars=R,T.generateStyleSheets=N,T.generateSpacing=function(){return Xn(d.spacing,xr(this))},T.getColorSchemeSelector=us(u),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=c,T.unstable_sxConfig={...Vt,...d?.unstable_sxConfig},T.unstable_sx=function(s){return ft({sx:s,theme:this})},T.toRuntimeSource=fo,T}function Pn(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...r!==!0&&r,palette:Nr({...r===!0?{}:r.palette,mode:t})})}function Mr(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=r?void 0:{light:!0},defaultColorScheme:i=r?.mode,...a}=e,c=i||"light",u=o?.[c],f={...o,...r?{[c]:{...typeof u!="boolean"&&u,palette:r}}:void 0};if(n===!1){if(!("colorSchemes"in e))return dr(e,...t);let d=r;"palette"in e||f[c]&&(f[c]!==!0?d=f[c].palette:c==="dark"&&(d={mode:"dark"}));const p=dr({...e,palette:d},...t);return p.defaultColorScheme=c,p.colorSchemes=f,p.palette.mode==="light"&&(p.colorSchemes.light={...f.light!==!0&&f.light,palette:p.palette},Pn(p,"dark",f.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...f.dark!==!0&&f.dark,palette:p.palette},Pn(p,"light",f.light)),p}return!r&&!("light"in f)&&c==="light"&&(f.light=!0),Ws({...a,colorSchemes:f,defaultColorScheme:c,...typeof n!="boolean"&&n},...t)}const Us=Mr();function zs({theme:e,...t}){const r=Be in e?e[Be]:void 0;return re.jsx(at,{...t,themeId:r?Be:void 0,theme:r||e})}const vt={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"};process.env.NODE_ENV!=="production"&&($.string,$.string,$.string,$.string,$.string,$.oneOf(["dark","light","system"]),$.string,$.string);const{CssVarsProvider:Ys}=is({themeId:Be,theme:()=>Mr({cssVariables:!0}),colorSchemeStorageKey:vt.colorSchemeStorageKey,modeStorageKey:vt.modeStorageKey,defaultColorScheme:{light:vt.defaultLightColorScheme,dark:vt.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:uo(e.palette,e.typography)};return t.unstable_sx=function(n){return ft({sx:n,theme:this})},t}}),qs=Ys;function Gs({theme:e,...t}){const r=_.useMemo(()=>{if(typeof e=="function")return e;const n=Be in e?e[Be]:e;return"colorSchemes"in n?null:"vars"in n?e:{...e,vars:null}},[e]);return r?re.jsx(zs,{theme:r,...t}):re.jsx(qs,{theme:e,...t})}function ho(e){return re.jsx(Or,{...e,defaultTheme:Us,themeId:Be})}process.env.NODE_ENV!=="production"&&(ho.propTypes={styles:$.oneOfType([$.array,$.func,$.number,$.object,$.string,$.bool])});function go(e){return function(r){return re.jsx(ho,{styles:typeof e=="function"?n=>e({theme:n,...r}):e})}}process.env.NODE_ENV!=="production"&&($.node,$.object.isRequired);function Ks(e){return Ga(e)}const pr=typeof go({})=="function",Hs=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),Xs=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),yo=(e,t=!1)=>{const r={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([i,a])=>{const c=e.getColorSchemeSelector(i);c.startsWith("@")?r[c]={":root":{colorScheme:a.palette?.mode}}:r[c.replace(/\s*&/,"")]={colorScheme:a.palette?.mode}});let n={html:Hs(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...Xs(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...r};const o=e.components?.MuiCssBaseline?.styleOverrides;return o&&(n=[n,o]),n},Tt="mui-ecs",Js=e=>{const t=yo(e,!1),r=Array.isArray(t)?t[0]:t;return!e.vars&&r&&(r.html[`:root:has(${Tt})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([n,o])=>{const i=e.getColorSchemeSelector(n);i.startsWith("@")?r[i]={[`:root:not(:has(.${Tt}))`]:{colorScheme:o.palette?.mode}}:r[i.replace(/\s*&/,"")]={[`&:not(:has(.${Tt}))`]:{colorScheme:o.palette?.mode}}}),t},Qs=go(pr?({theme:e,enableColorScheme:t})=>yo(e,t):({theme:e})=>Js(e));function bo(e){const t=Ks({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=t;return re.jsxs(_.Fragment,{children:[pr&&re.jsx(Qs,{enableColorScheme:n}),!pr&&!n&&re.jsx("span",{className:Tt,style:{display:"none"}}),r]})}process.env.NODE_ENV!=="production"&&(bo.propTypes={children:$.node,enableColorScheme:$.bool});const zt=ye.createContext(void 0),An="codeplex-theme",vo=({children:e,temaPorDefecto:t="light"})=>{const[r,n]=ye.useState(()=>{if(typeof window<"u"){const c=localStorage.getItem(An);if(c==="light"||c==="dark")return c;if(window.matchMedia("(prefers-color-scheme: dark)").matches)return"dark"}return t}),o=ye.useCallback(c=>{const u=document.documentElement;u.classList.remove("light","dark"),u.classList.add(c),localStorage.setItem(An,c)},[]);ye.useEffect(()=>{o(r)},[r,o]);const i=ye.useCallback(c=>{n(c)},[]),a=ye.useCallback(()=>{n(c=>c==="light"?"dark":"light")},[]);return re.jsx(zt.Provider,{value:{tema:r,alternarTema:a,establecerTema:i},children:e})},Zs=({defaultTheme:e,...t})=>re.jsx(vo,{temaPorDefecto:e,...t}),ec=zt,Ir=()=>{const e=ye.useContext(zt);if(!e)throw new Error("usarTema debe ser usado dentro de un CodeplexProveedorTema");return e},tc=Ir,rc=({children:e})=>{const{tema:t}=Ir(),r=ye.useMemo(()=>Mr({palette:{mode:t,primary:{main:"#3b82f6"},background:{default:t==="dark"?"#1b2431":"#f9fafb",paper:t==="dark"?"#273142":"#ffffff"}},typography:{fontFamily:'"Poppins", "Inter", "system-ui", "-apple-system", sans-serif',h1:{fontWeight:600},h2:{fontWeight:600},h3:{fontWeight:600},h4:{fontWeight:600},h5:{fontWeight:600},h6:{fontWeight:600},button:{fontWeight:500,textTransform:"none"}},shape:{borderRadius:8},components:{MuiPaper:{styleOverrides:{root:{backgroundImage:"none"}}},MuiButton:{styleOverrides:{root:{textTransform:"none",fontWeight:600}}}}}),[t]);return ye.useEffect(()=>{const n=document.documentElement,o=r.palette;n.style.setProperty("--cp-primary-main",o.primary.main),n.style.setProperty("--cp-bg-default",o.background.default),n.style.setProperty("--cp-bg-paper",o.background.paper),n.style.setProperty("--cp-text-primary",o.text.primary),n.style.setProperty("--cp-text-secondary",o.text.secondary),n.style.setProperty("--cp-divider",o.divider)},[r]),ye.useEffect(()=>{const n="codeplex-google-resources";if(!document.getElementById(n)){const o=document.createElement("link");o.id=n,o.rel="stylesheet",o.href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200",document.head.appendChild(o)}},[]),re.jsxs(Gs,{theme:r,children:[re.jsx(bo,{}),e]})};function nc(){return"tema"}exports.CodeplexProveedorMui=rc;exports.CodeplexProveedorTema=vo;exports.CodeplexThemeProvider=Zs;exports.ContextoTema=zt;exports.ThemeContext=ec;exports.tema=nc;exports.usarTema=Ir;exports.useTheme=tc;
|