@ankit119/doubletick-components 0.0.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,91 +1,18 @@
|
|
|
1
|
-
(function(Se,ke){typeof exports=="object"&&typeof module<"u"?ke(exports,require("react/jsx-runtime"),require("react"),require("@mui/material"),require("@emotion/styled"),require("@emotion/react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@mui/material","@emotion/styled","@emotion/react"],ke):(Se=typeof globalThis<"u"?globalThis:Se||self,ke(Se.DoubletickComponents={},Se.jsxRuntime,Se.React,Se.MUI,Se.EmotionStyled,Se.EmotionReact))})(this,(function(Se,ke,Ee,ce,Ln,ye){"use strict";function St(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const tr=St(ke),le=St(Ee);function Vn(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function zn(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var Yn=(function(){function e(t){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=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(zn(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Vn(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},r.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-",yr="-moz-",W="-webkit-",Tt="comm",qr="rule",Gr="decl",Wn="@import",xt="@keyframes",Un="@layer",qn=Math.abs,hr=String.fromCharCode,Gn=Object.assign;function Hn(e,r){return fe(e,0)^45?(((r<<2^fe(e,0))<<2^fe(e,1))<<2^fe(e,2))<<2^fe(e,3):0}function Ct(e){return e.trim()}function Kn(e,r){return(e=r.exec(e))?e[0]:e}function U(e,r,t){return e.replace(r,t)}function Hr(e,r){return e.indexOf(r)}function fe(e,r){return e.charCodeAt(r)|0}function nr(e,r,t){return e.slice(r,t)}function Oe(e){return e.length}function Kr(e){return e.length}function br(e,r){return r.push(e),e}function Qn(e,r){return e.map(r).join("")}var vr=1,We=1,Et=0,he=0,se=0,Ue="";function Sr(e,r,t,n,o,i,c){return{value:e,root:r,parent:t,type:n,props:o,children:i,line:vr,column:We,length:c,return:""}}function or(e,r){return Gn(Sr("",null,null,"",null,null,0),e,{length:-e.length},r)}function Xn(){return se}function Jn(){return se=he>0?fe(Ue,--he):0,We--,se===10&&(We=1,vr--),se}function Te(){return se=he<Et?fe(Ue,he++):0,We++,se===10&&(We=1,vr++),se}function _e(){return fe(Ue,he)}function Tr(){return he}function ir(e,r){return nr(Ue,e,r)}function ar(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 wt(e){return vr=We=1,Et=Oe(Ue=e),he=0,[]}function $t(e){return Ue="",e}function xr(e){return Ct(ir(he-1,Qr(e===91?e+2:e===40?e+1:e)))}function Zn(e){for(;(se=_e())&&se<33;)Te();return ar(e)>2||ar(se)>3?"":" "}function eo(e,r){for(;--r&&Te()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return ir(e,Tr()+(r<6&&_e()==32&&Te()==32))}function Qr(e){for(;Te();)switch(se){case e:return he;case 34:case 39:e!==34&&e!==39&&Qr(se);break;case 40:e===41&&Qr(e);break;case 92:Te();break}return he}function ro(e,r){for(;Te()&&e+se!==57;)if(e+se===84&&_e()===47)break;return"/*"+ir(r,he-1)+"*"+hr(e===47?e:Te())}function to(e){for(;!ar(_e());)Te();return ir(e,he)}function no(e){return $t(Cr("",null,null,null,[""],e=wt(e),0,[0],e))}function Cr(e,r,t,n,o,i,c,u,l){for(var d=0,m=0,p=c,y=0,v=0,g=0,s=1,x=1,w=1,A=0,E="",C=o,f=i,S=n,$=E;x;)switch(g=A,A=Te()){case 40:if(g!=108&&fe($,p-1)==58){Hr($+=U(xr(A),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:$+=xr(A);break;case 9:case 10:case 13:case 32:$+=Zn(g);break;case 92:$+=eo(Tr()-1,7);continue;case 47:switch(_e()){case 42:case 47:br(oo(ro(Te(),Tr()),r,t),l);break;default:$+="/"}break;case 123*s:u[d++]=Oe($)*w;case 125*s:case 59:case 0:switch(A){case 0:case 125:x=0;case 59+m:w==-1&&($=U($,/\f/g,"")),v>0&&Oe($)-p&&br(v>32?_t($+";",n,t,p-1):_t(U($," ","")+";",n,t,p-2),l);break;case 59:$+=";";default:if(br(S=Ot($,r,t,d,m,o,u,E,C=[],f=[],p),i),A===123)if(m===0)Cr($,r,S,S,C,i,p,u,f);else switch(y===99&&fe($,3)===110?100:y){case 100:case 108:case 109:case 115:Cr(e,S,S,n&&br(Ot(e,S,S,0,0,o,u,E,o,C=[],p),f),o,f,p,u,n?C:f);break;default:Cr($,S,S,S,[""],f,0,u,f)}}d=m=v=0,s=w=1,E=$="",p=c;break;case 58:p=1+Oe($),v=g;default:if(s<1){if(A==123)--s;else if(A==125&&s++==0&&Jn()==125)continue}switch($+=hr(A),A*s){case 38:w=m>0?1:($+="\f",-1);break;case 44:u[d++]=(Oe($)-1)*w,w=1;break;case 64:_e()===45&&($+=xr(Te())),y=_e(),m=p=Oe(E=$+=to(Tr())),A++;break;case 45:g===45&&Oe($)==2&&(s=0)}}return i}function Ot(e,r,t,n,o,i,c,u,l,d,m){for(var p=o-1,y=o===0?i:[""],v=Kr(y),g=0,s=0,x=0;g<n;++g)for(var w=0,A=nr(e,p+1,p=qn(s=c[g])),E=e;w<v;++w)(E=Ct(s>0?y[w]+" "+A:U(A,/&\f/g,y[w])))&&(l[x++]=E);return Sr(e,r,t,o===0?qr:u,l,d,m)}function oo(e,r,t){return Sr(e,r,t,Tt,hr(Xn()),nr(e,2,-2),0)}function _t(e,r,t,n){return Sr(e,r,t,Gr,nr(e,0,n),nr(e,n+1,-1),n)}function qe(e,r){for(var t="",n=Kr(e),o=0;o<n;o++)t+=r(e[o],o,e,r)||"";return t}function io(e,r,t,n){switch(e.type){case Un:if(e.children.length)break;case Wn:case Gr:return e.return=e.return||e.value;case Tt:return"";case xt:return e.return=e.value+"{"+qe(e.children,n)+"}";case qr:e.value=e.props.join(",")}return Oe(t=qe(e.children,n))?e.return=e.value+"{"+t+"}":""}function ao(e){var r=Kr(e);return function(t,n,o,i){for(var c="",u=0;u<r;u++)c+=e[u](t,n,o,i)||"";return c}}function so(e){return function(r){r.root||(r=r.return)&&e(r)}}function co(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var uo=function(r,t,n){for(var o=0,i=0;o=i,i=_e(),o===38&&i===12&&(t[n]=1),!ar(i);)Te();return ir(r,he)},lo=function(r,t){var n=-1,o=44;do switch(ar(o)){case 0:o===38&&_e()===12&&(t[n]=1),r[n]+=uo(he-1,t,n);break;case 2:r[n]+=xr(o);break;case 4:if(o===44){r[++n]=_e()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=hr(o)}while(o=Te());return r},fo=function(r,t){return $t(lo(wt(r),t))},At=new WeakMap,po=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,o=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!At.get(n))&&!o){At.set(r,!0);for(var i=[],c=fo(t,i),u=n.props,l=0,d=0;l<c.length;l++)for(var m=0;m<u.length;m++,d++)r.props[d]=i[l]?c[l].replace(/&\f/g,u[m]):u[m]+" "+c[l]}}},mo=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Pt(e,r){switch(Hn(e,r)){case 5103:return W+"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 W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+yr+e+de+e+e;case 6828:case 4268:return W+e+de+e+e;case 6165:return W+e+de+"flex-"+e+e;case 5187:return W+e+U(e,/(\w+).+(:[^]+)/,W+"box-$1$2"+de+"flex-$1$2")+e;case 5443:return W+e+de+"flex-item-"+U(e,/flex-|-self/,"")+e;case 4675:return W+e+de+"flex-line-pack"+U(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+de+U(e,"shrink","negative")+e;case 5292:return W+e+de+U(e,"basis","preferred-size")+e;case 6060:return W+"box-"+U(e,"-grow","")+W+e+de+U(e,"grow","positive")+e;case 4554:return W+U(e,/([^-])(transform)/g,"$1"+W+"$2")+e;case 6187:return U(U(U(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return U(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return U(U(e,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return U(e,/(.+)-inline(.+)/,W+"$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-r>6)switch(fe(e,r+1)){case 109:if(fe(e,r+4)!==45)break;case 102:return U(e,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+yr+(fe(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Hr(e,"stretch")?Pt(U(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(fe(e,r+1)!==115)break;case 6444:switch(fe(e,Oe(e)-3-(~Hr(e,"!important")&&10))){case 107:return U(e,":",":"+W)+e;case 101:return U(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(fe(e,14)===45?"inline-":"")+"box$3$1"+W+"$2$3$1"+de+"$2box$3")+e}break;case 5936:switch(fe(e,r+11)){case 114:return W+e+de+U(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+de+U(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+de+U(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+de+e+e}return e}var go=function(r,t,n,o){if(r.length>-1&&!r.return)switch(r.type){case Gr:r.return=Pt(r.value,r.length);break;case xt:return qe([or(r,{value:U(r.value,"@","@"+W)})],o);case qr:if(r.length)return Qn(r.props,function(i){switch(Kn(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qe([or(r,{props:[U(i,/:(read-\w+)/,":"+yr+"$1")]})],o);case"::placeholder":return qe([or(r,{props:[U(i,/:(plac\w+)/,":"+W+"input-$1")]}),or(r,{props:[U(i,/:(plac\w+)/,":"+yr+"$1")]}),or(r,{props:[U(i,/:(plac\w+)/,de+"input-$1")]})],o)}return""})}},yo=[go],ho=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(s){var x=s.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(s),s.setAttribute("data-s",""))})}var o=r.stylisPlugins||yo,i={},c,u=[];c=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(s){for(var x=s.getAttribute("data-emotion").split(" "),w=1;w<x.length;w++)i[x[w]]=!0;u.push(s)});var l,d=[po,mo];{var m,p=[io,so(function(s){m.insert(s)})],y=ao(d.concat(o,p)),v=function(x){return qe(no(x),y)};l=function(x,w,A,E){m=A,v(x?x+"{"+w.styles+"}":w.styles),E&&(g.inserted[w.name]=!0)}}var g={key:t,sheet:new Yn({key:t,container:c,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(u),g};function bo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Er={exports:{}},G={};/** @license React v16.13.1
|
|
1
|
+
(function(me,Ke){typeof exports=="object"&&typeof module<"u"?Ke(exports,require("react/jsx-runtime"),require("react"),require("@mui/material"),require("@mui/icons-material/ExpandMore.js"),require("@emotion/react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@mui/material","@mui/icons-material/ExpandMore.js","@emotion/react"],Ke):(me=typeof globalThis<"u"?globalThis:me||self,Ke(me.DoubletickComponents={},me.jsxRuntime,me.React,me.MUI,me.ExpandMore,me.EmotionReact))})(this,(function(me,Ke,ve,ie,Cn,fe){"use strict";function lt(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const Xe=lt(Ke),xe=lt(ve);function xn(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function En(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var wn=(function(){function e(t){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=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(En(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=xn(o);try{i.insertRule(n,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},r.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})(),se="-ms-",dr="-moz-",Y="-webkit-",dt="comm",Lr="rule",Yr="decl",$n="@import",pt="@keyframes",On="@layer",_n=Math.abs,pr=String.fromCharCode,An=Object.assign;function Rn(e,r){return ae(e,0)^45?(((r<<2^ae(e,0))<<2^ae(e,1))<<2^ae(e,2))<<2^ae(e,3):0}function mt(e){return e.trim()}function Pn(e,r){return(e=r.exec(e))?e[0]:e}function V(e,r,t){return e.replace(r,t)}function Vr(e,r){return e.indexOf(r)}function ae(e,r){return e.charCodeAt(r)|0}function Qe(e,r,t){return e.slice(r,t)}function Ee(e){return e.length}function Wr(e){return e.length}function mr(e,r){return r.push(e),e}function kn(e,r){return e.map(r).join("")}var gr=1,je=1,gt=0,le=0,oe=0,Fe="";function hr(e,r,t,n,o,i,c){return{value:e,root:r,parent:t,type:n,props:o,children:i,line:gr,column:je,length:c,return:""}}function Je(e,r){return An(hr("",null,null,"",null,null,0),e,{length:-e.length},r)}function In(){return oe}function Mn(){return oe=le>0?ae(Fe,--le):0,je--,oe===10&&(je=1,gr--),oe}function ge(){return oe=le<gt?ae(Fe,le++):0,je++,oe===10&&(je=1,gr++),oe}function we(){return ae(Fe,le)}function yr(){return le}function Ze(e,r){return Qe(Fe,e,r)}function er(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 ht(e){return gr=je=1,gt=Ee(Fe=e),le=0,[]}function yt(e){return Fe="",e}function br(e){return mt(Ze(le-1,zr(e===91?e+2:e===40?e+1:e)))}function Nn(e){for(;(oe=we())&&oe<33;)ge();return er(e)>2||er(oe)>3?"":" "}function Dn(e,r){for(;--r&&ge()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return Ze(e,yr()+(r<6&&we()==32&&ge()==32))}function zr(e){for(;ge();)switch(oe){case e:return le;case 34:case 39:e!==34&&e!==39&&zr(oe);break;case 40:e===41&&zr(e);break;case 92:ge();break}return le}function Bn(e,r){for(;ge()&&e+oe!==57;)if(e+oe===84&&we()===47)break;return"/*"+Ze(r,le-1)+"*"+pr(e===47?e:ge())}function jn(e){for(;!er(we());)ge();return Ze(e,le)}function Fn(e){return yt(vr("",null,null,null,[""],e=ht(e),0,[0],e))}function vr(e,r,t,n,o,i,c,u,l){for(var d=0,b=0,p=c,y=0,v=0,g=0,s=1,E=1,w=1,A=0,x="",T=o,f=i,C=n,O=x;E;)switch(g=A,A=ge()){case 40:if(g!=108&&ae(O,p-1)==58){Vr(O+=V(br(A),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:O+=br(A);break;case 9:case 10:case 13:case 32:O+=Nn(g);break;case 92:O+=Dn(yr()-1,7);continue;case 47:switch(we()){case 42:case 47:mr(Ln(Bn(ge(),yr()),r,t),l);break;default:O+="/"}break;case 123*s:u[d++]=Ee(O)*w;case 125*s:case 59:case 0:switch(A){case 0:case 125:E=0;case 59+b:w==-1&&(O=V(O,/\f/g,"")),v>0&&Ee(O)-p&&mr(v>32?vt(O+";",n,t,p-1):vt(V(O," ","")+";",n,t,p-2),l);break;case 59:O+=";";default:if(mr(C=bt(O,r,t,d,b,o,u,x,T=[],f=[],p),i),A===123)if(b===0)vr(O,r,C,C,T,i,p,u,f);else switch(y===99&&ae(O,3)===110?100:y){case 100:case 108:case 109:case 115:vr(e,C,C,n&&mr(bt(e,C,C,0,0,o,u,x,o,T=[],p),f),o,f,p,u,n?T:f);break;default:vr(O,C,C,C,[""],f,0,u,f)}}d=b=v=0,s=w=1,x=O="",p=c;break;case 58:p=1+Ee(O),v=g;default:if(s<1){if(A==123)--s;else if(A==125&&s++==0&&Mn()==125)continue}switch(O+=pr(A),A*s){case 38:w=b>0?1:(O+="\f",-1);break;case 44:u[d++]=(Ee(O)-1)*w,w=1;break;case 64:we()===45&&(O+=br(ge())),y=we(),b=p=Ee(x=O+=jn(yr())),A++;break;case 45:g===45&&Ee(O)==2&&(s=0)}}return i}function bt(e,r,t,n,o,i,c,u,l,d,b){for(var p=o-1,y=o===0?i:[""],v=Wr(y),g=0,s=0,E=0;g<n;++g)for(var w=0,A=Qe(e,p+1,p=_n(s=c[g])),x=e;w<v;++w)(x=mt(s>0?y[w]+" "+A:V(A,/&\f/g,y[w])))&&(l[E++]=x);return hr(e,r,t,o===0?Lr:u,l,d,b)}function Ln(e,r,t){return hr(e,r,t,dt,pr(In()),Qe(e,2,-2),0)}function vt(e,r,t,n){return hr(e,r,t,Yr,Qe(e,0,n),Qe(e,n+1,-1),n)}function Le(e,r){for(var t="",n=Wr(e),o=0;o<n;o++)t+=r(e[o],o,e,r)||"";return t}function Yn(e,r,t,n){switch(e.type){case On:if(e.children.length)break;case $n:case Yr:return e.return=e.return||e.value;case dt:return"";case pt:return e.return=e.value+"{"+Le(e.children,n)+"}";case Lr:e.value=e.props.join(",")}return Ee(t=Le(e.children,n))?e.return=e.value+"{"+t+"}":""}function Vn(e){var r=Wr(e);return function(t,n,o,i){for(var c="",u=0;u<r;u++)c+=e[u](t,n,o,i)||"";return c}}function Wn(e){return function(r){r.root||(r=r.return)&&e(r)}}function zn(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var Un=function(r,t,n){for(var o=0,i=0;o=i,i=we(),o===38&&i===12&&(t[n]=1),!er(i);)ge();return Ze(r,le)},qn=function(r,t){var n=-1,o=44;do switch(er(o)){case 0:o===38&&we()===12&&(t[n]=1),r[n]+=Un(le-1,t,n);break;case 2:r[n]+=br(o);break;case 4:if(o===44){r[++n]=we()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=pr(o)}while(o=ge());return r},Gn=function(r,t){return yt(qn(ht(r),t))},St=new WeakMap,Hn=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,o=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!St.get(n))&&!o){St.set(r,!0);for(var i=[],c=Gn(t,i),u=n.props,l=0,d=0;l<c.length;l++)for(var b=0;b<u.length;b++,d++)r.props[d]=i[l]?c[l].replace(/&\f/g,u[b]):u[b]+" "+c[l]}}},Kn=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Tt(e,r){switch(Rn(e,r)){case 5103:return Y+"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 Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+dr+e+se+e+e;case 6828:case 4268:return Y+e+se+e+e;case 6165:return Y+e+se+"flex-"+e+e;case 5187:return Y+e+V(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+se+"flex-$1$2")+e;case 5443:return Y+e+se+"flex-item-"+V(e,/flex-|-self/,"")+e;case 4675:return Y+e+se+"flex-line-pack"+V(e,/align-content|flex-|-self/,"")+e;case 5548:return Y+e+se+V(e,"shrink","negative")+e;case 5292:return Y+e+se+V(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+V(e,"-grow","")+Y+e+se+V(e,"grow","positive")+e;case 4554:return Y+V(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return V(V(V(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return V(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return V(V(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+se+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4095:case 3583:case 4068:case 2532:return V(e,/(.+)-inline(.+)/,Y+"$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(Ee(e)-1-r>6)switch(ae(e,r+1)){case 109:if(ae(e,r+4)!==45)break;case 102:return V(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+dr+(ae(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~Vr(e,"stretch")?Tt(V(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(ae(e,r+1)!==115)break;case 6444:switch(ae(e,Ee(e)-3-(~Vr(e,"!important")&&10))){case 107:return V(e,":",":"+Y)+e;case 101:return V(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(ae(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+se+"$2box$3")+e}break;case 5936:switch(ae(e,r+11)){case 114:return Y+e+se+V(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+se+V(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+se+V(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+se+e+e}return e}var Xn=function(r,t,n,o){if(r.length>-1&&!r.return)switch(r.type){case Yr:r.return=Tt(r.value,r.length);break;case pt:return Le([Je(r,{value:V(r.value,"@","@"+Y)})],o);case Lr:if(r.length)return kn(r.props,function(i){switch(Pn(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Le([Je(r,{props:[V(i,/:(read-\w+)/,":"+dr+"$1")]})],o);case"::placeholder":return Le([Je(r,{props:[V(i,/:(plac\w+)/,":"+Y+"input-$1")]}),Je(r,{props:[V(i,/:(plac\w+)/,":"+dr+"$1")]}),Je(r,{props:[V(i,/:(plac\w+)/,se+"input-$1")]})],o)}return""})}},Qn=[Xn],Jn=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(s){var E=s.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(s),s.setAttribute("data-s",""))})}var o=r.stylisPlugins||Qn,i={},c,u=[];c=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(s){for(var E=s.getAttribute("data-emotion").split(" "),w=1;w<E.length;w++)i[E[w]]=!0;u.push(s)});var l,d=[Hn,Kn];{var b,p=[Yn,Wn(function(s){b.insert(s)})],y=Vn(d.concat(o,p)),v=function(E){return Le(Fn(E),y)};l=function(E,w,A,x){b=A,v(E?E+"{"+w.styles+"}":w.styles),x&&(g.inserted[w.name]=!0)}}var g={key:t,sheet:new wn({key:t,container:c,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(u),g};function Zn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sr={exports:{}},U={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var
|
|
8
|
+
*/var Ct;function eo(){if(Ct)return U;Ct=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=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,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,b=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function x(f){if(typeof f=="object"&&f!==null){var C=f.$$typeof;switch(C){case r:switch(f=f.type,f){case l:case d:case n:case i:case o:case p:return f;default:switch(f=f&&f.$$typeof,f){case u:case b:case g:case v:case c:return f;default:return C}}case t:return C}}}function T(f){return x(f)===d}return U.AsyncMode=l,U.ConcurrentMode=d,U.ContextConsumer=u,U.ContextProvider=c,U.Element=r,U.ForwardRef=b,U.Fragment=n,U.Lazy=g,U.Memo=v,U.Portal=t,U.Profiler=i,U.StrictMode=o,U.Suspense=p,U.isAsyncMode=function(f){return T(f)||x(f)===l},U.isConcurrentMode=T,U.isContextConsumer=function(f){return x(f)===u},U.isContextProvider=function(f){return x(f)===c},U.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===r},U.isForwardRef=function(f){return x(f)===b},U.isFragment=function(f){return x(f)===n},U.isLazy=function(f){return x(f)===g},U.isMemo=function(f){return x(f)===v},U.isPortal=function(f){return x(f)===t},U.isProfiler=function(f){return x(f)===i},U.isStrictMode=function(f){return x(f)===o},U.isSuspense=function(f){return x(f)===p},U.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===d||f===i||f===o||f===p||f===y||typeof f=="object"&&f!==null&&(f.$$typeof===g||f.$$typeof===v||f.$$typeof===c||f.$$typeof===u||f.$$typeof===b||f.$$typeof===E||f.$$typeof===w||f.$$typeof===A||f.$$typeof===s)},U.typeOf=x,U}var q={};/** @license React v16.13.1
|
|
9
9
|
* react-is.development.js
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
12
|
*
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var
|
|
16
|
-
* @license React
|
|
17
|
-
* react-is.production.js
|
|
18
|
-
*
|
|
19
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
20
|
-
*
|
|
21
|
-
* This source code is licensed under the MIT license found in the
|
|
22
|
-
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/var Wt;function Fo(){if(Wt)return X;Wt=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(s){if(typeof s=="object"&&s!==null){var x=s.$$typeof;switch(x){case e:switch(s=s.type,s){case t:case o:case n:case l:case d:case y:return s;default:switch(s=s&&s.$$typeof,s){case c:case u:case p:case m:return s;case i:return s;default:return x}}case r:return x}}}return X.ContextConsumer=i,X.ContextProvider=c,X.Element=e,X.ForwardRef=u,X.Fragment=t,X.Lazy=p,X.Memo=m,X.Portal=r,X.Profiler=o,X.StrictMode=n,X.Suspense=l,X.SuspenseList=d,X.isContextConsumer=function(s){return g(s)===i},X.isContextProvider=function(s){return g(s)===c},X.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===e},X.isForwardRef=function(s){return g(s)===u},X.isFragment=function(s){return g(s)===t},X.isLazy=function(s){return g(s)===p},X.isMemo=function(s){return g(s)===m},X.isPortal=function(s){return g(s)===r},X.isProfiler=function(s){return g(s)===o},X.isStrictMode=function(s){return g(s)===n},X.isSuspense=function(s){return g(s)===l},X.isSuspenseList=function(s){return g(s)===d},X.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===t||s===o||s===n||s===l||s===d||typeof s=="object"&&s!==null&&(s.$$typeof===p||s.$$typeof===m||s.$$typeof===c||s.$$typeof===i||s.$$typeof===u||s.$$typeof===v||s.getModuleId!==void 0)},X.typeOf=g,X}var J={};/**
|
|
24
|
-
* @license React
|
|
25
|
-
* react-is.development.js
|
|
26
|
-
*
|
|
27
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
28
|
-
*
|
|
29
|
-
* This source code is licensed under the MIT license found in the
|
|
30
|
-
* LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/var Ut;function Lo(){return Ut||(Ut=1,process.env.NODE_ENV!=="production"&&(function(){function e(s){if(typeof s=="object"&&s!==null){var x=s.$$typeof;switch(x){case r:switch(s=s.type,s){case n:case i:case o:case d:case m:case v:return s;default:switch(s=s&&s.$$typeof,s){case u:case l:case y:case p:return s;case c:return s;default:return x}}case t:return x}}}var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");J.ContextConsumer=c,J.ContextProvider=u,J.Element=r,J.ForwardRef=l,J.Fragment=n,J.Lazy=y,J.Memo=p,J.Portal=t,J.Profiler=i,J.StrictMode=o,J.Suspense=d,J.SuspenseList=m,J.isContextConsumer=function(s){return e(s)===c},J.isContextProvider=function(s){return e(s)===u},J.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===r},J.isForwardRef=function(s){return e(s)===l},J.isFragment=function(s){return e(s)===n},J.isLazy=function(s){return e(s)===y},J.isMemo=function(s){return e(s)===p},J.isPortal=function(s){return e(s)===t},J.isProfiler=function(s){return e(s)===i},J.isStrictMode=function(s){return e(s)===o},J.isSuspense=function(s){return e(s)===d},J.isSuspenseList=function(s){return e(s)===m},J.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===n||s===i||s===o||s===d||s===m||typeof s=="object"&&s!==null&&(s.$$typeof===y||s.$$typeof===p||s.$$typeof===u||s.$$typeof===c||s.$$typeof===l||s.$$typeof===g||s.getModuleId!==void 0)},J.typeOf=e})()),J}var qt;function Vo(){return qt||(qt=1,process.env.NODE_ENV==="production"?$r.exports=Fo():$r.exports=Lo()),$r.exports}var Or=Vo();function Ie(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Gt(e){if(le.isValidElement(e)||Or.isValidElementType(e)||!Ie(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=Gt(e[t])}),r}function xe(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return Ie(e)&&Ie(r)&&Object.keys(r).forEach(o=>{le.isValidElement(r[o])||Or.isValidElementType(r[o])?n[o]=r[o]:Ie(r[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ie(e[o])?n[o]=xe(e[o],r[o],t):t.clone?n[o]=Ie(r[o])?Gt(r[o]):r[o]:n[o]=r[o]}),n}var _r={exports:{}},Ar={exports:{}},K={};/** @license React v16.13.1
|
|
32
|
-
* react-is.production.min.js
|
|
33
|
-
*
|
|
34
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
35
|
-
*
|
|
36
|
-
* This source code is licensed under the MIT license found in the
|
|
37
|
-
* LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/var Ht;function zo(){if(Ht)return K;Ht=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=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,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function E(f){if(typeof f=="object"&&f!==null){var S=f.$$typeof;switch(S){case r:switch(f=f.type,f){case l:case d:case n:case i:case o:case p:return f;default:switch(f=f&&f.$$typeof,f){case u:case m:case g:case v:case c:return f;default:return S}}case t:return S}}}function C(f){return E(f)===d}return K.AsyncMode=l,K.ConcurrentMode=d,K.ContextConsumer=u,K.ContextProvider=c,K.Element=r,K.ForwardRef=m,K.Fragment=n,K.Lazy=g,K.Memo=v,K.Portal=t,K.Profiler=i,K.StrictMode=o,K.Suspense=p,K.isAsyncMode=function(f){return C(f)||E(f)===l},K.isConcurrentMode=C,K.isContextConsumer=function(f){return E(f)===u},K.isContextProvider=function(f){return E(f)===c},K.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===r},K.isForwardRef=function(f){return E(f)===m},K.isFragment=function(f){return E(f)===n},K.isLazy=function(f){return E(f)===g},K.isMemo=function(f){return E(f)===v},K.isPortal=function(f){return E(f)===t},K.isProfiler=function(f){return E(f)===i},K.isStrictMode=function(f){return E(f)===o},K.isSuspense=function(f){return E(f)===p},K.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===d||f===i||f===o||f===p||f===y||typeof f=="object"&&f!==null&&(f.$$typeof===g||f.$$typeof===v||f.$$typeof===c||f.$$typeof===u||f.$$typeof===m||f.$$typeof===x||f.$$typeof===w||f.$$typeof===A||f.$$typeof===s)},K.typeOf=E,K}var Q={};/** @license React v16.13.1
|
|
39
|
-
* react-is.development.js
|
|
40
|
-
*
|
|
41
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the MIT license found in the
|
|
44
|
-
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/var Kt;function Yo(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=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,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,m=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function E(b){return typeof b=="string"||typeof b=="function"||b===n||b===d||b===i||b===o||b===p||b===y||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===v||b.$$typeof===c||b.$$typeof===u||b.$$typeof===m||b.$$typeof===x||b.$$typeof===w||b.$$typeof===A||b.$$typeof===s)}function C(b){if(typeof b=="object"&&b!==null){var ve=b.$$typeof;switch(ve){case r:var De=b.type;switch(De){case l:case d:case n:case i:case o:case p:return De;default:var gr=De&&De.$$typeof;switch(gr){case u:case m:case g:case v:case c:return gr;default:return ve}}case t:return ve}}}var f=l,S=d,$=u,I=c,P=r,a=m,_=n,N=g,F=v,ie=t,ae=i,ue=o,ge=p,Re=!1;function Le(b){return Re||(Re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(b)||C(b)===l}function T(b){return C(b)===d}function O(b){return C(b)===u}function j(b){return C(b)===c}function D(b){return typeof b=="object"&&b!==null&&b.$$typeof===r}function R(b){return C(b)===m}function L(b){return C(b)===n}function M(b){return C(b)===g}function B(b){return C(b)===v}function V(b){return C(b)===t}function q(b){return C(b)===i}function z(b){return C(b)===o}function pe(b){return C(b)===p}Q.AsyncMode=f,Q.ConcurrentMode=S,Q.ContextConsumer=$,Q.ContextProvider=I,Q.Element=P,Q.ForwardRef=a,Q.Fragment=_,Q.Lazy=N,Q.Memo=F,Q.Portal=ie,Q.Profiler=ae,Q.StrictMode=ue,Q.Suspense=ge,Q.isAsyncMode=Le,Q.isConcurrentMode=T,Q.isContextConsumer=O,Q.isContextProvider=j,Q.isElement=D,Q.isForwardRef=R,Q.isFragment=L,Q.isLazy=M,Q.isMemo=B,Q.isPortal=V,Q.isProfiler=q,Q.isStrictMode=z,Q.isSuspense=pe,Q.isValidElementType=E,Q.typeOf=C})()),Q}var Qt;function Xt(){return Qt||(Qt=1,process.env.NODE_ENV==="production"?Ar.exports=zo():Ar.exports=Yo()),Ar.exports}/*
|
|
46
|
-
object-assign
|
|
47
|
-
(c) Sindre Sorhus
|
|
48
|
-
@license MIT
|
|
49
|
-
*/var et,Jt;function Wo(){if(Jt)return et;Jt=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=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 c={},u=0;u<10;u++)c["_"+String.fromCharCode(u)]=u;var l=Object.getOwnPropertyNames(c).map(function(m){return c[m]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(m){d[m]=m}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return et=o()?Object.assign:function(i,c){for(var u,l=n(i),d,m=1;m<arguments.length;m++){u=Object(arguments[m]);for(var p in u)r.call(u,p)&&(l[p]=u[p]);if(e){d=e(u);for(var y=0;y<d.length;y++)t.call(u,d[y])&&(l[d[y]]=u[d[y]])}}return l},et}var rt,Zt;function tt(){if(Zt)return rt;Zt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return rt=e,rt}var nt,en;function rn(){return en||(en=1,nt=Function.call.bind(Object.prototype.hasOwnProperty)),nt}var ot,tn;function Uo(){if(tn)return ot;tn=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=tt(),t={},n=rn();e=function(i){var c="Warning: "+i;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function o(i,c,u,l,d){if(process.env.NODE_ENV!=="production"){for(var m in i)if(n(i,m)){var p;try{if(typeof i[m]!="function"){var y=Error((l||"React class")+": "+u+" type `"+m+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[m]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}p=i[m](c,m,l,u,null,r)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((l||"React class")+": type specification of "+u+" `"+m+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in t)){t[p.message]=!0;var v=d?d():"";e("Failed "+u+" type: "+p.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},ot=o,ot}var it,nn;function qo(){if(nn)return it;nn=1;var e=Xt(),r=Wo(),t=tt(),n=rn(),o=Uo(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(u){var l="Warning: "+u;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function c(){return null}return it=function(u,l){var d=typeof Symbol=="function"&&Symbol.iterator,m="@@iterator";function p(T){var O=T&&(d&&T[d]||T[m]);if(typeof O=="function")return O}var y="<<anonymous>>",v={array:w("array"),bigint:w("bigint"),bool:w("boolean"),func:w("function"),number:w("number"),object:w("object"),string:w("string"),symbol:w("symbol"),any:A(),arrayOf:E,element:C(),elementType:f(),instanceOf:S,node:a(),objectOf:I,oneOf:$,oneOfType:P,shape:N,exact:F};function g(T,O){return T===O?T!==0||1/T===1/O:T!==T&&O!==O}function s(T,O){this.message=T,this.data=O&&typeof O=="object"?O:{},this.stack=""}s.prototype=Error.prototype;function x(T){if(process.env.NODE_ENV!=="production")var O={},j=0;function D(L,M,B,V,q,z,pe){if(V=V||y,z=z||B,pe!==t){if(l){var b=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 b.name="Invariant Violation",b}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ve=V+":"+B;!O[ve]&&j<3&&(i("You are manually calling a React.PropTypes validation function for the `"+z+"` prop on `"+V+"`. 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[ve]=!0,j++)}}return M[B]==null?L?M[B]===null?new s("The "+q+" `"+z+"` is marked as required "+("in `"+V+"`, but its value is `null`.")):new s("The "+q+" `"+z+"` is marked as required in "+("`"+V+"`, but its value is `undefined`.")):null:T(M,B,V,q,z)}var R=D.bind(null,!1);return R.isRequired=D.bind(null,!0),R}function w(T){function O(j,D,R,L,M,B){var V=j[D],q=ue(V);if(q!==T){var z=ge(V);return new s("Invalid "+L+" `"+M+"` of type "+("`"+z+"` supplied to `"+R+"`, expected ")+("`"+T+"`."),{expectedType:T})}return null}return x(O)}function A(){return x(c)}function E(T){function O(j,D,R,L,M){if(typeof T!="function")return new s("Property `"+M+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var B=j[D];if(!Array.isArray(B)){var V=ue(B);return new s("Invalid "+L+" `"+M+"` of type "+("`"+V+"` supplied to `"+R+"`, expected an array."))}for(var q=0;q<B.length;q++){var z=T(B,q,R,L,M+"["+q+"]",t);if(z instanceof Error)return z}return null}return x(O)}function C(){function T(O,j,D,R,L){var M=O[j];if(!u(M)){var B=ue(M);return new s("Invalid "+R+" `"+L+"` of type "+("`"+B+"` supplied to `"+D+"`, expected a single ReactElement."))}return null}return x(T)}function f(){function T(O,j,D,R,L){var M=O[j];if(!e.isValidElementType(M)){var B=ue(M);return new s("Invalid "+R+" `"+L+"` of type "+("`"+B+"` supplied to `"+D+"`, expected a single ReactElement type."))}return null}return x(T)}function S(T){function O(j,D,R,L,M){if(!(j[D]instanceof T)){var B=T.name||y,V=Le(j[D]);return new s("Invalid "+L+" `"+M+"` of type "+("`"+V+"` supplied to `"+R+"`, expected ")+("instance of `"+B+"`."))}return null}return x(O)}function $(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),c;function O(j,D,R,L,M){for(var B=j[D],V=0;V<T.length;V++)if(g(B,T[V]))return null;var q=JSON.stringify(T,function(pe,b){var ve=ge(b);return ve==="symbol"?String(b):b});return new s("Invalid "+L+" `"+M+"` of value `"+String(B)+"` "+("supplied to `"+R+"`, expected one of "+q+"."))}return x(O)}function I(T){function O(j,D,R,L,M){if(typeof T!="function")return new s("Property `"+M+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var B=j[D],V=ue(B);if(V!=="object")return new s("Invalid "+L+" `"+M+"` of type "+("`"+V+"` supplied to `"+R+"`, expected an object."));for(var q in B)if(n(B,q)){var z=T(B,q,R,L,M+"."+q,t);if(z instanceof Error)return z}return null}return x(O)}function P(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var O=0;O<T.length;O++){var j=T[O];if(typeof j!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Re(j)+" at index "+O+"."),c}function D(R,L,M,B,V){for(var q=[],z=0;z<T.length;z++){var pe=T[z],b=pe(R,L,M,B,V,t);if(b==null)return null;b.data&&n(b.data,"expectedType")&&q.push(b.data.expectedType)}var ve=q.length>0?", expected one of type ["+q.join(", ")+"]":"";return new s("Invalid "+B+" `"+V+"` supplied to "+("`"+M+"`"+ve+"."))}return x(D)}function a(){function T(O,j,D,R,L){return ie(O[j])?null:new s("Invalid "+R+" `"+L+"` supplied to "+("`"+D+"`, expected a ReactNode."))}return x(T)}function _(T,O,j,D,R){return new s((T||"React class")+": "+O+" type `"+j+"."+D+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function N(T){function O(j,D,R,L,M){var B=j[D],V=ue(B);if(V!=="object")return new s("Invalid "+L+" `"+M+"` of type `"+V+"` "+("supplied to `"+R+"`, expected `object`."));for(var q in T){var z=T[q];if(typeof z!="function")return _(R,L,M,q,ge(z));var pe=z(B,q,R,L,M+"."+q,t);if(pe)return pe}return null}return x(O)}function F(T){function O(j,D,R,L,M){var B=j[D],V=ue(B);if(V!=="object")return new s("Invalid "+L+" `"+M+"` of type `"+V+"` "+("supplied to `"+R+"`, expected `object`."));var q=r({},j[D],T);for(var z in q){var pe=T[z];if(n(T,z)&&typeof pe!="function")return _(R,L,M,z,ge(pe));if(!pe)return new s("Invalid "+L+" `"+M+"` key `"+z+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(j[D],null," ")+`
|
|
50
|
-
Valid keys: `+JSON.stringify(Object.keys(T),null," "));var b=pe(B,z,R,L,M+"."+z,t);if(b)return b}return null}return x(O)}function ie(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(ie);if(T===null||u(T))return!0;var O=p(T);if(O){var j=O.call(T),D;if(O!==T.entries){for(;!(D=j.next()).done;)if(!ie(D.value))return!1}else for(;!(D=j.next()).done;){var R=D.value;if(R&&!ie(R[1]))return!1}}else return!1;return!0;default:return!1}}function ae(T,O){return T==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function ue(T){var O=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":ae(O,T)?"symbol":O}function ge(T){if(typeof T>"u"||T===null)return""+T;var O=ue(T);if(O==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return O}function Re(T){var O=ge(T);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function Le(T){return!T.constructor||!T.constructor.name?y:T.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},it}var at,on;function Go(){if(on)return at;on=1;var e=tt();function r(){}function t(){}return t.resetWarningCache=r,at=function(){function n(c,u,l,d,m,p){if(p!==e){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}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:t,resetWarningCache:r};return i.PropTypes=i,i},at}var an;function Ho(){if(an)return _r.exports;if(an=1,process.env.NODE_ENV!=="production"){var e=Xt(),r=!0;_r.exports=qo()(e.isElement,r)}else _r.exports=Go()();return _r.exports}var Ko=Ho();const Y=bo(Ko);function Be(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}function sn(e,r=""){return e.displayName||e.name||r}function cn(e,r,t){const n=sn(r);return e.displayName||(n!==""?`${t}(${n})`:t)}function Qo(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return sn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Or.ForwardRef:return cn(e,e.render,"ForwardRef");case Or.Memo:return cn(e,e.type,"memo");default:return}}}function Ve(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Be(7));return e.charAt(0).toUpperCase()+e.slice(1)}function st(e,r){const t={...r};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if(o==="components"||o==="slots")t[o]={...e[o],...t[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],c=r[o];if(!c)t[o]=i||{};else if(!i)t[o]=c;else{t[o]={...c};for(const u in i)if(Object.prototype.hasOwnProperty.call(i,u)){const l=u;t[o][l]=st(i[l],c[l])}}}else t[o]===void 0&&(t[o]=e[o])}return t}function Xo(e,r,t=void 0){const n={};for(const o in e){const i=e[o];let c="",u=!0;for(let l=0;l<i.length;l+=1){const d=i[l];d&&(c+=(u===!0?"":" ")+r(d),u=!1,t&&t[d]&&(c+=" "+t[d]))}n[o]=c}return n}const un=e=>e,Jo=(()=>{let e=un;return{configure(r){e=r},generate(r){return e(r)},reset(){e=un}}})(),Zo={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function ct(e,r,t="Mui"){const n=Zo[r];return n?`${t}-${n}`:`${Jo.generate(e)}-${r}`}function ei(e,r,t="Mui"){const n={};return r.forEach(o=>{n[o]=ct(e,o,t)}),n}function ri(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function ln(e){var r,t,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(r=0;r<o;r++)e[r]&&(t=ln(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ti(){for(var e,r,t=0,n="",o=arguments.length;t<o;t++)(e=arguments[t])&&(r=ln(e))&&(n&&(n+=" "),n+=r);return n}function cr(e,r){return r?xe(e,r,{clone:!1}):e}const je=process.env.NODE_ENV!=="production"?Y.oneOfType([Y.number,Y.string,Y.object,Y.array]):{};function fn(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,o)=>{var c,u;const i=/min-width:\s*([0-9.]+)/;return+(((c=n.match(i))==null?void 0:c[1])||0)-+(((u=o.match(i))==null?void 0:u[1])||0)});return t.length?t.reduce((n,o)=>{const i=r[o];return delete n[o],n[o]=i,n},{...r}):r}function ni(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function oi(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
51
|
-
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Be(18,`(${r})`));return null}const[,n,o]=t,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function ii(e){const r=(i,c)=>i.replace("@media",c?`@container ${c}`:"@container");function t(i,c){i.up=(...u)=>r(e.breakpoints.up(...u),c),i.down=(...u)=>r(e.breakpoints.down(...u),c),i.between=(...u)=>r(e.breakpoints.between(...u),c),i.only=(...u)=>r(e.breakpoints.only(...u),c),i.not=(...u)=>{const l=r(e.breakpoints.not(...u),c);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},o=i=>(t(n,i),n);return t(o),{...e,containerQueries:o}}const Pr={xs:0,sm:600,md:900,lg:1200,xl:1536},dn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Pr[e]}px)`},ai={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:Pr[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function Me(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const i=n.breakpoints||dn;return r.reduce((c,u,l)=>(c[i.up(i.keys[l])]=t(r[l]),c),{})}if(typeof r=="object"){const i=n.breakpoints||dn;return Object.keys(r).reduce((c,u)=>{if(ni(i.keys,u)){const l=oi(n.containerQueries?n:ai,u);l&&(c[l]=t(r[u],u))}else if(Object.keys(i.values||Pr).includes(u)){const l=i.up(u);c[l]=t(r[u],u)}else{const l=u;c[l]=r[l]}return c},{})}return t(r)}function si(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function pn(e,r){return e.reduce((t,n)=>{const o=t[n];return(!o||Object.keys(o).length===0)&&delete t[n],t},r)}function Rr(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return r.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function kr(e,r,t,n=t){let o;return typeof e=="function"?o=e(t):Array.isArray(e)?o=e[t]||n:o=Rr(e,t)||n,r&&(o=r(o,n,e)),o}function oe(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:o}=e,i=c=>{if(c[r]==null)return null;const u=c[r],l=c.theme,d=Rr(l,n)||{};return Me(c,u,p=>{let y=kr(d,o,p);return p===y&&typeof p=="string"&&(y=kr(d,o,`${r}${p==="default"?"":Ve(p)}`,p)),t===!1?y:{[t]:y}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[r]:je}:{},i.filterProps=[r],i}function ci(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const ui={m:"margin",p:"padding"},li={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},fi=ci(e=>{if(e.length>2)if(mn[e])e=mn[e];else return[e];const[r,t]=e.split(""),n=ui[r],o=li[t]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Ir=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Mr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],di=[...Ir,...Mr];function ur(e,r,t,n){const o=Rr(e,r,!0)??t;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"?`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const c=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(c)?c>o.length-1&&console.error([`MUI: The value provided (${c}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${c} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
52
|
-
`)):console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
|
|
53
|
-
`)));const u=o[c];return i>=0?u:typeof u=="number"?-u:`-${u}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
54
|
-
`)),()=>{})}function ut(e){return ur(e,"spacing",8,"spacing")}function lr(e,r){return typeof r=="string"||r==null?r:e(r)}function pi(e,r){return t=>e.reduce((n,o)=>(n[o]=lr(r,t),n),{})}function mi(e,r,t,n){if(!r.includes(t))return null;const o=fi(t),i=pi(o,n),c=e[t];return Me(e,c,i)}function gn(e,r){const t=ut(e.theme);return Object.keys(e).map(n=>mi(e,r,n,t)).reduce(cr,{})}function te(e){return gn(e,Ir)}te.propTypes=process.env.NODE_ENV!=="production"?Ir.reduce((e,r)=>(e[r]=je,e),{}):{},te.filterProps=Ir;function ne(e){return gn(e,Mr)}ne.propTypes=process.env.NODE_ENV!=="production"?Mr.reduce((e,r)=>(e[r]=je,e),{}):{},ne.filterProps=Mr,process.env.NODE_ENV!=="production"&&di.reduce((e,r)=>(e[r]=je,e),{});function Nr(...e){const r=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),t=n=>Object.keys(n).reduce((o,i)=>r[i]?cr(o,r[i](n)):o,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},t.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),t}function we(e){return typeof e!="number"?e:`${e}px solid`}function $e(e,r){return oe({prop:e,themeKey:"borders",transform:r})}const gi=$e("border",we),yi=$e("borderTop",we),hi=$e("borderRight",we),bi=$e("borderBottom",we),vi=$e("borderLeft",we),Si=$e("borderColor"),Ti=$e("borderTopColor"),xi=$e("borderRightColor"),Ci=$e("borderBottomColor"),Ei=$e("borderLeftColor"),wi=$e("outline",we),$i=$e("outlineColor"),Dr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=ur(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:lr(r,n)});return Me(e,e.borderRadius,t)}return null};Dr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:je}:{},Dr.filterProps=["borderRadius"],Nr(gi,yi,hi,bi,vi,Si,Ti,xi,Ci,Ei,Dr,wi,$i);const Br=e=>{if(e.gap!==void 0&&e.gap!==null){const r=ur(e.theme,"spacing",8,"gap"),t=n=>({gap:lr(r,n)});return Me(e,e.gap,t)}return null};Br.propTypes=process.env.NODE_ENV!=="production"?{gap:je}:{},Br.filterProps=["gap"];const jr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=ur(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:lr(r,n)});return Me(e,e.columnGap,t)}return null};jr.propTypes=process.env.NODE_ENV!=="production"?{columnGap:je}:{},jr.filterProps=["columnGap"];const Fr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=ur(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:lr(r,n)});return Me(e,e.rowGap,t)}return null};Fr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:je}:{},Fr.filterProps=["rowGap"];const Oi=oe({prop:"gridColumn"}),_i=oe({prop:"gridRow"}),Ai=oe({prop:"gridAutoFlow"}),Pi=oe({prop:"gridAutoColumns"}),Ri=oe({prop:"gridAutoRows"}),ki=oe({prop:"gridTemplateColumns"}),Ii=oe({prop:"gridTemplateRows"}),Mi=oe({prop:"gridTemplateAreas"}),Ni=oe({prop:"gridArea"});Nr(Br,jr,Fr,Oi,_i,Ai,Pi,Ri,ki,Ii,Mi,Ni);function He(e,r){return r==="grey"?r:e}const Di=oe({prop:"color",themeKey:"palette",transform:He}),Bi=oe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:He}),ji=oe({prop:"backgroundColor",themeKey:"palette",transform:He});Nr(Di,Bi,ji);function Ce(e){return e<=1&&e!==0?`${e*100}%`:e}const Fi=oe({prop:"width",transform:Ce}),lt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var o,i,c,u,l;const n=((c=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:c[t])||Pr[t];return n?((l=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Ce(t)}};return Me(e,e.maxWidth,r)}return null};lt.filterProps=["maxWidth"];const Li=oe({prop:"minWidth",transform:Ce}),Vi=oe({prop:"height",transform:Ce}),zi=oe({prop:"maxHeight",transform:Ce}),Yi=oe({prop:"minHeight",transform:Ce});oe({prop:"size",cssProperty:"width",transform:Ce}),oe({prop:"size",cssProperty:"height",transform:Ce});const Wi=oe({prop:"boxSizing"});Nr(Fi,lt,Li,Vi,zi,Yi,Wi);const Lr={border:{themeKey:"borders",transform:we},borderTop:{themeKey:"borders",transform:we},borderRight:{themeKey:"borders",transform:we},borderBottom:{themeKey:"borders",transform:we},borderLeft:{themeKey:"borders",transform:we},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:we},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Dr},color:{themeKey:"palette",transform:He},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:He},backgroundColor:{themeKey:"palette",transform:He},p:{style:ne},pt:{style:ne},pr:{style:ne},pb:{style:ne},pl:{style:ne},px:{style:ne},py:{style:ne},padding:{style:ne},paddingTop:{style:ne},paddingRight:{style:ne},paddingBottom:{style:ne},paddingLeft:{style:ne},paddingX:{style:ne},paddingY:{style:ne},paddingInline:{style:ne},paddingInlineStart:{style:ne},paddingInlineEnd:{style:ne},paddingBlock:{style:ne},paddingBlockStart:{style:ne},paddingBlockEnd:{style:ne},m:{style:te},mt:{style:te},mr:{style:te},mb:{style:te},ml:{style:te},mx:{style:te},my:{style:te},margin:{style:te},marginTop:{style:te},marginRight:{style:te},marginBottom:{style:te},marginLeft:{style:te},marginX:{style:te},marginY:{style:te},marginInline:{style:te},marginInlineStart:{style:te},marginInlineEnd:{style:te},marginBlock:{style:te},marginBlockStart:{style:te},marginBlockEnd:{style:te},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:Br},rowGap:{style:Fr},columnGap:{style:jr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ce},maxWidth:{style:lt},minWidth:{transform:Ce},height:{transform:Ce},maxHeight:{transform:Ce},minHeight:{transform:Ce},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Ui(...e){const r=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function qi(e,r){return typeof e=="function"?e(r):e}function Gi(){function e(t,n,o,i){const c={[t]:n,theme:o},u=i[t];if(!u)return{[t]:n};const{cssProperty:l=t,themeKey:d,transform:m,style:p}=u;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[t]:n};const y=Rr(o,d)||{};return p?p(c):Me(c,n,g=>{let s=kr(y,m,g);return g===s&&typeof g=="string"&&(s=kr(y,m,`${t}${g==="default"?"":Ve(g)}`,g)),l===!1?s:{[l]:s}})}function r(t){const{sx:n,theme:o={},nested:i}=t||{};if(!n)return null;const c=o.unstable_sxConfig??Lr;function u(l){let d=l;if(typeof l=="function")d=l(o);else if(typeof l!="object")return l;if(!d)return null;const m=si(o.breakpoints),p=Object.keys(m);let y=m;return Object.keys(d).forEach(v=>{const g=qi(d[v],o);if(g!=null)if(typeof g=="object")if(c[v])y=cr(y,e(v,g,o,c));else{const s=Me({theme:o},g,x=>({[v]:x}));Ui(s,g)?y[v]=r({sx:g,theme:o,nested:!0}):y=cr(y,s)}else y=cr(y,e(v,g,o,c))}),!i&&o.modularCssLayers?{"@layer sx":fn(o,pn(p,y))}:fn(o,pn(p,y))}return Array.isArray(n)?n.map(u):u(n)}return r}const Ke=Gi();Ke.filterProps=["sx"];/**
|
|
55
|
-
* @mui/styled-engine v6.5.0
|
|
56
|
-
*
|
|
57
|
-
* @license MIT
|
|
58
|
-
* This source code is licensed under the MIT license found in the
|
|
59
|
-
* LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/function Hi(e,r){const t=Ln(e,r);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
61
|
-
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),t(...n)}:t}function Ki(e,r){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))}const yn=[];function ze(e){return yn[0]=e,Lt(yn)}const Qi=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function Xi(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...o}=e,i=Qi(r),c=Object.keys(i);function u(y){return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${t})`}function l(y){return`@media (max-width:${(typeof r[y]=="number"?r[y]:y)-n/100}${t})`}function d(y,v){const g=c.indexOf(v);return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${t}) and (max-width:${(g!==-1&&typeof r[c[g]]=="number"?r[c[g]]:v)-n/100}${t})`}function m(y){return c.indexOf(y)+1<c.length?d(y,c[c.indexOf(y)+1]):u(y)}function p(y){const v=c.indexOf(y);return v===0?u(c[1]):v===c.length-1?l(c[v]):d(y,c[c.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:c,values:i,up:u,down:l,between:d,only:m,not:p,unit:t,...o}}const Ji={borderRadius:4};function hn(e=8,r=ut({spacing:e})){if(e.mui)return e;const t=(...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 c=r(i);return typeof c=="number"?`${c}px`:c}).join(" "));return t.mui=!0,t}function Zi(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let o=t.getColorSchemeSelector(e);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return t.palette.mode===e?r:{}}function bn(e={},...r){const{breakpoints:t={},palette:n={},spacing:o,shape:i={},...c}=e,u=Xi(t),l=hn(o);let d=xe({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...Ji,...i}},c);return d=ii(d),d.applyStyles=Zi,d=r.reduce((m,p)=>xe(m,p),d),d.unstable_sxConfig={...Lr,...c==null?void 0:c.unstable_sxConfig},d.unstable_sx=function(p){return Ke({sx:p,theme:this})},d}function vn(e){const{variants:r,...t}=e,n={variants:r,style:ze(t),isProcessed:!0};return n.style===t||r&&r.forEach(o=>{typeof o.style!="function"&&(o.style=ze(o.style))}),n}const ea=bn();function ft(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Ye(e,r){return r&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${r}{${String(e.styles)}}`),e}function ra(e){return e?(r,t)=>t[e]:null}function ta(e,r,t){e.theme=aa(e.theme)?t:e.theme[r]||e.theme}function Vr(e,r,t){const n=typeof r=="function"?r(e):r;if(Array.isArray(n))return n.flatMap(o=>Vr(e,o,t));if(Array.isArray(n==null?void 0:n.variants)){let o;if(n.isProcessed)o=t?Ye(n.style,t):n.style;else{const{variants:i,...c}=n;o=t?Ye(ze(c),t):c}return Sn(e,n.variants,[o],t)}return n!=null&&n.isProcessed?t?Ye(ze(n.style),t):n.style:t?Ye(ze(n),t):n}function Sn(e,r,t=[],n=void 0){var i;let o;e:for(let c=0;c<r.length;c+=1){const u=r[c];if(typeof u.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!u.props(o))continue}else for(const l in u.props)if(e[l]!==u.props[l]&&((i=e.ownerState)==null?void 0:i[l])!==u.props[l])continue e;typeof u.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),t.push(n?Ye(ze(u.style(o)),n):u.style(o))):t.push(n?Ye(ze(u.style),n):u.style)}return t}function na(e={}){const{themeId:r,defaultTheme:t=ea,rootShouldForwardProp:n=ft,slotShouldForwardProp:o=ft}=e;function i(u){ta(u,r,t)}return(u,l={})=>{Ki(u,S=>S.filter($=>$!==Ke));const{name:d,slot:m,skipVariantsResolver:p,skipSx:y,overridesResolver:v=ra(Tn(m)),...g}=l,s=d&&d.startsWith("Mui")||m?"components":"custom",x=p!==void 0?p:m&&m!=="Root"&&m!=="root"||!1,w=y||!1;let A=ft;m==="Root"||m==="root"?A=n:m?A=o:sa(u)&&(A=void 0);const E=Hi(u,{shouldForwardProp:A,label:ia(d,m),...g}),C=S=>{if(S.__emotion_real===S)return S;if(typeof S=="function")return function(I){return Vr(I,S,I.theme.modularCssLayers?s:void 0)};if(Ie(S)){const $=vn(S);return function(P){return $.variants?Vr(P,$,P.theme.modularCssLayers?s:void 0):P.theme.modularCssLayers?Ye($.style,s):$.style}}return S},f=(...S)=>{const $=[],I=S.map(C),P=[];if($.push(i),d&&v&&P.push(function(F){var ge,Re;const ae=(Re=(ge=F.theme.components)==null?void 0:ge[d])==null?void 0:Re.styleOverrides;if(!ae)return null;const ue={};for(const Le in ae)ue[Le]=Vr(F,ae[Le],F.theme.modularCssLayers?"theme":void 0);return v(F,ue)}),d&&!x&&P.push(function(F){var ue,ge;const ie=F.theme,ae=(ge=(ue=ie==null?void 0:ie.components)==null?void 0:ue[d])==null?void 0:ge.variants;return ae?Sn(F,ae,[],F.theme.modularCssLayers?"theme":void 0):null}),w||P.push(Ke),Array.isArray(I[0])){const N=I.shift(),F=new Array($.length).fill(""),ie=new Array(P.length).fill("");let ae;ae=[...F,...N,...ie],ae.raw=[...F,...N.raw,...ie],$.unshift(ae)}const a=[...$,...I,...P],_=E(...a);return u.muiName&&(_.muiName=u.muiName),process.env.NODE_ENV!=="production"&&(_.displayName=oa(d,m,u)),_};return E.withConfig&&(f.withConfig=E.withConfig),f}}function oa(e,r,t){return e?`${e}${Ve(r||"")}`:`Styled(${Qo(t)})`}function ia(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${Tn(r||"Root")}`),t}function aa(e){for(const r in e)return!1;return!0}function sa(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Tn(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function dt(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),ri(e,r,t)}function ca(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.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.`),t?`rgb${t.length===4?"a":""}(${t.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Fe(e){if(e.type)return e;if(e.charAt(0)==="#")return Fe(ca(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
62
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Be(9,e));let n=e.substring(r+1,e.length-1),o;if(t==="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.
|
|
63
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Be(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:t,values:n,colorSpace:o}}const ua=e=>{const r=Fe(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},fr=(e,r)=>{try{return ua(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function zr(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function xn(e){e=Fe(e);const{values:r}=e,t=r[0],n=r[1]/100,o=r[2]/100,i=n*Math.min(o,1-o),c=(d,m=(d+t/30)%12)=>o-i*Math.max(Math.min(m-3,9-m,1),-1);let u="rgb";const l=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(u+="a",l.push(r[3])),zr({type:u,values:l})}function pt(e){e=Fe(e);let r=e.type==="hsl"||e.type==="hsla"?Fe(xn(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function Cn(e,r){const t=pt(e),n=pt(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function la(e,r){return e=Fe(e),r=dt(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,zr(e)}function Yr(e,r,t){try{return la(e,r)}catch{return e}}function mt(e,r){if(e=Fe(e),r=dt(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return zr(e)}function Z(e,r,t){try{return mt(e,r)}catch{return e}}function gt(e,r){if(e=Fe(e),r=dt(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return zr(e)}function ee(e,r,t){try{return gt(e,r)}catch{return e}}function fa(e,r=.15){return pt(e)>.5?mt(e,r):gt(e,r)}function Wr(e,r,t){try{return fa(e,r)}catch{return e}}const da=le.createContext(void 0);process.env.NODE_ENV!=="production"&&(Y.node,Y.object);function pa(e){const{theme:r,name:t,props:n}=e;if(!r||!r.components||!r.components[t])return n;const o=r.components[t];return o.defaultProps?st(o.defaultProps,n):!o.styleOverrides&&!o.variants?st(o,n):n}function ma({props:e,name:r}){const t=le.useContext(da);return pa({props:e,name:r,theme:{components:t}})}const En={theme:void 0};function ga(e){let r,t;return function(o){let i=r;return(i===void 0||o.theme!==t)&&(En.theme=o.theme,i=vn(e(En)),r=i,t=o.theme),i}}function ya(e=""){function r(...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}${r(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${r(...o)})`}const wn=(e,r,t,n=[])=>{let o=e;r.forEach((i,c)=>{c===r.length-1?Array.isArray(o)?o[Number(i)]=t:o&&typeof o=="object"&&(o[i]=t):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},ha=(e,r,t)=>{function n(o,i=[],c=[]){Object.entries(o).forEach(([u,l])=>{(!t||t&&!t([...i,u]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,u],Array.isArray(l)?[...c,u]:c):r([...i,u],l,c))})}n(e)},ba=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function yt(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},o={},i={},c={};return ha(e,(u,l,d)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(u,l))){const m=`--${t?`${t}-`:""}${u.join("-")}`,p=ba(u,l);Object.assign(o,{[m]:p}),wn(i,u,`var(${m})`,d),wn(c,u,`var(${m}, ${p})`,d)}},u=>u[0]==="vars"),{css:o,vars:i,varsWithDefaults:c}}function va(e,r={}){const{getSelector:t=x,disableCssColorScheme:n,colorSchemeSelector:o}=r,{colorSchemes:i={},components:c,defaultColorScheme:u="light",...l}=e,{vars:d,css:m,varsWithDefaults:p}=yt(l,r);let y=p;const v={},{[u]:g,...s}=i;if(Object.entries(s||{}).forEach(([E,C])=>{const{vars:f,css:S,varsWithDefaults:$}=yt(C,r);y=xe(y,$),v[E]={css:S,vars:f}}),g){const{css:E,vars:C,varsWithDefaults:f}=yt(g,r);y=xe(y,f),v[u]={css:E,vars:C}}function x(E,C){var S,$;let f=o;if(o==="class"&&(f=".%s"),o==="data"&&(f="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(f=`[${o}="%s"]`),E){if(f==="media")return e.defaultColorScheme===E?":root":{[`@media (prefers-color-scheme: ${(($=(S=i[E])==null?void 0:S.palette)==null?void 0:$.mode)||E})`]:{":root":C}};if(f)return e.defaultColorScheme===E?`:root, ${f.replace("%s",String(E))}`:f.replace("%s",String(E))}return":root"}return{vars:y,generateThemeVars:()=>{let E={...d};return Object.entries(v).forEach(([,{vars:C}])=>{E=xe(E,C)}),E},generateStyleSheets:()=>{var I,P;const E=[],C=e.defaultColorScheme||"light";function f(a,_){Object.keys(_).length&&E.push(typeof a=="string"?{[a]:{..._}}:a)}f(t(void 0,{...m}),m);const{[C]:S,...$}=v;if(S){const{css:a}=S,_=(P=(I=i[C])==null?void 0:I.palette)==null?void 0:P.mode,N=!n&&_?{colorScheme:_,...a}:{...a};f(t(C,{...N}),N)}return Object.entries($).forEach(([a,{css:_}])=>{var ie,ae;const N=(ae=(ie=i[a])==null?void 0:ie.palette)==null?void 0:ae.mode,F=!n&&N?{colorScheme:N,..._}:{..._};f(t(a,{...F}),F)}),E}}}function Sa(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const dr={black:"#000",white:"#fff"},Ta={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"},Qe={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Xe={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},pr={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Je={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ze={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},er={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function $n(){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:dr.white,default:dr.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 xa=$n();function On(){return{text:{primary:dr.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:dr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const _n=On();function An(e,r,t,n){const o=n.light||n,i=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=gt(e.main,o):r==="dark"&&(e.dark=mt(e.main,i)))}function Ca(e="light"){return e==="dark"?{main:Je[200],light:Je[50],dark:Je[400]}:{main:Je[700],light:Je[400],dark:Je[800]}}function Ea(e="light"){return e==="dark"?{main:Qe[200],light:Qe[50],dark:Qe[400]}:{main:Qe[500],light:Qe[300],dark:Qe[700]}}function wa(e="light"){return e==="dark"?{main:Xe[500],light:Xe[300],dark:Xe[700]}:{main:Xe[700],light:Xe[400],dark:Xe[800]}}function $a(e="light"){return e==="dark"?{main:Ze[400],light:Ze[300],dark:Ze[700]}:{main:Ze[700],light:Ze[500],dark:Ze[900]}}function Oa(e="light"){return e==="dark"?{main:er[400],light:er[300],dark:er[700]}:{main:er[800],light:er[500],dark:er[900]}}function _a(e="light"){return e==="dark"?{main:pr[400],light:pr[300],dark:pr[700]}:{main:"#ed6c02",light:pr[500],dark:pr[900]}}function ht(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...o}=e,i=e.primary||Ca(r),c=e.secondary||Ea(r),u=e.error||wa(r),l=e.info||$a(r),d=e.success||Oa(r),m=e.warning||_a(r);function p(s){const x=Cn(s,_n.text.primary)>=t?_n.text.primary:xa.text.primary;if(process.env.NODE_ENV!=="production"){const w=Cn(s,x);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${x} on ${s}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
64
|
-
`))}return x}const y=({color:s,name:x,mainShade:w=500,lightShade:A=300,darkShade:E=700})=>{if(s={...s},!s.main&&s[w]&&(s.main=s[w]),!s.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${x?` (${x})`:""} provided to augmentColor(color) is invalid.
|
|
65
|
-
The color object needs to have a \`main\` property or a \`${w}\` property.`:Be(11,x?` (${x})`:"",w));if(typeof s.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${x?` (${x})`:""} provided to augmentColor(color) is invalid.
|
|
66
|
-
\`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
|
|
67
|
-
|
|
68
|
-
Did you intend to use one of the following approaches?
|
|
69
|
-
|
|
70
|
-
import { green } from "@mui/material/colors";
|
|
71
|
-
|
|
72
|
-
const theme1 = createTheme({ palette: {
|
|
73
|
-
primary: green,
|
|
74
|
-
} });
|
|
75
|
-
|
|
76
|
-
const theme2 = createTheme({ palette: {
|
|
77
|
-
primary: { main: green[500] },
|
|
78
|
-
} });`:Be(12,x?` (${x})`:"",JSON.stringify(s.main)));return An(s,"light",A,n),An(s,"dark",E,n),s.contrastText||(s.contrastText=p(s.main)),s};let v;return r==="light"?v=$n():r==="dark"&&(v=On()),process.env.NODE_ENV!=="production"&&(v||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),xe({common:{...dr},mode:r,primary:y({color:i,name:"primary"}),secondary:y({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:u,name:"error"}),warning:y({color:m,name:"warning"}),info:y({color:l,name:"info"}),success:y({color:d,name:"success"}),grey:Ta,contrastThreshold:t,getContrastText:p,augmentColor:y,tonalOffset:n,...v},o)}function Aa(e){const r={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(r[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||""}`)}),r}function Pa(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function Ra(e){return Math.round(e*1e5)/1e5}const Pn={textTransform:"uppercase"},Rn='"Roboto", "Helvetica", "Arial", sans-serif';function ka(e,r){const{fontFamily:t=Rn,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:l=16,allVariants:d,pxToRem:m,...p}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const y=n/14,v=m||(x=>`${x/l*y}rem`),g=(x,w,A,E,C)=>({fontFamily:t,fontWeight:x,fontSize:v(w),lineHeight:A,...t===Rn?{letterSpacing:`${Ra(E/w)}em`}:{},...C,...d}),s={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(c,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(c,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(c,14,1.75,.4,Pn),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,Pn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return xe({htmlFontSize:l,pxToRem:v,fontFamily:t,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:c,fontWeightBold:u,...s},p,{clone:!1})}const Ia=.2,Ma=.14,Na=.12;function re(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Ia})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Ma})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Na})`].join(",")}const Da=["none",re(0,2,1,-1,0,1,1,0,0,1,3,0),re(0,3,1,-2,0,2,2,0,0,1,5,0),re(0,3,3,-2,0,3,4,0,0,1,8,0),re(0,2,4,-1,0,4,5,0,0,1,10,0),re(0,3,5,-1,0,5,8,0,0,1,14,0),re(0,3,5,-1,0,6,10,0,0,1,18,0),re(0,4,5,-2,0,7,10,1,0,2,16,1),re(0,5,5,-3,0,8,10,1,0,3,14,2),re(0,5,6,-3,0,9,12,1,0,3,16,2),re(0,6,6,-3,0,10,14,1,0,4,18,3),re(0,6,7,-4,0,11,15,1,0,4,20,3),re(0,7,8,-4,0,12,17,2,0,5,22,4),re(0,7,8,-4,0,13,19,2,0,5,24,4),re(0,7,9,-4,0,14,21,2,0,5,26,4),re(0,8,9,-5,0,15,22,2,0,6,28,5),re(0,8,10,-5,0,16,24,2,0,6,30,5),re(0,8,11,-5,0,17,26,2,0,6,32,5),re(0,9,11,-5,0,18,28,2,0,7,34,6),re(0,9,12,-6,0,19,29,2,0,7,36,6),re(0,10,13,-6,0,20,31,3,0,8,38,7),re(0,10,13,-6,0,21,33,3,0,8,40,7),re(0,10,14,-6,0,22,35,3,0,8,42,7),re(0,11,14,-7,0,23,36,3,0,9,44,8),re(0,11,15,-7,0,24,38,3,0,9,46,8)],Ba={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)"},ja={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function kn(e){return`${Math.round(e)}ms`}function Fa(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function La(e){const r={...Ba,...e.easing},t={...ja,...e.duration};return{getAutoHeightDuration:Fa,create:(o=["all"],i={})=>{const{duration:c=t.standard,easing:u=r.easeInOut,delay:l=0,...d}=i;if(process.env.NODE_ENV!=="production"){const m=y=>typeof y=="string",p=y=>!Number.isNaN(parseFloat(y));!m(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(c)&&!m(c)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`),m(u)||console.error('MUI: Argument "easing" must be a string.'),!p(l)&&!m(l)&&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(`
|
|
79
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(m=>`${m} ${typeof c=="string"?c:kn(c)} ${u} ${typeof l=="string"?l:kn(l)}`).join(",")},...e,easing:r,duration:t}}const Va={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function za(e){return Ie(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function In(e={}){const r={...e};function t(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[c,u]=o[i];!za(u)||c.startsWith("unstable_")?delete n[c]:Ie(u)&&(n[c]={...u},t(n[c]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
80
|
-
|
|
81
|
-
const theme = ${JSON.stringify(r,null,2)};
|
|
82
|
-
|
|
83
|
-
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
84
|
-
theme.transitions = createTransitions(theme.transitions || {});
|
|
85
|
-
|
|
86
|
-
export default theme;`}function bt(e={},...r){const{breakpoints:t,mixins:n={},spacing:o,palette:i={},transitions:c={},typography:u={},shape:l,...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.":Be(20));const m=ht(i),p=bn(e);let y=xe(p,{mixins:Pa(p.breakpoints,n),palette:m,shadows:Da.slice(),typography:ka(m,u),transitions:La(c),zIndex:{...Va}});if(y=xe(y,d),y=r.reduce((v,g)=>xe(v,g),y),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(s,x)=>{let w;for(w in s){const A=s[w];if(v.includes(w)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const E=ct("",w);console.error([`MUI: The \`${x}\` component increases the CSS specificity of the \`${w}\` internal state.`,"You can not override it like this: ",JSON.stringify(s,null,2),"",`Instead, you need to use the '&.${E}' syntax:`,JSON.stringify({root:{[`&.${E}`]:A}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
87
|
-
`))}s[w]={}}}};Object.keys(y.components).forEach(s=>{const x=y.components[s].styleOverrides;x&&s.startsWith("Mui")&&g(x,s)})}return y.unstable_sxConfig={...Lr,...d==null?void 0:d.unstable_sxConfig},y.unstable_sx=function(g){return Ke({sx:g,theme:this})},y.toRuntimeSource=In,y}function Ya(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const Wa=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=Ya(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function Mn(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Nn(e){return e==="dark"?Wa:[]}function Ua(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...o}=e,i=ht(r);return{palette:i,opacity:{...Mn(i.mode),...t},overlays:n||Nn(i.mode),...o}}function qa(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Ga=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ha=e=>(r,t)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const c={};return Ga(e.cssVarPrefix).forEach(u=>{c[u]=t[u],delete t[u]}),i==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:c}}:i?{[i.replace("%s",r)]:c,[`${n}, ${i.replace("%s",r)}`]:t}:{[n]:{...t,...c}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(r))}`}else if(r){if(i==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(i)return i.replace("%s",String(r))}return n};function Ka(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function h(e,r,t){!e[r]&&t&&(e[r]=t)}function mr(e){return typeof e!="string"||!e.startsWith("hsl")?e:xn(e)}function Ne(e,r){`${r}Channel`in e||(e[`${r}Channel`]=fr(mr(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
88
|
-
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Qa(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Pe=e=>{try{return e()}catch{}},Xa=(e="mui")=>ya(e);function vt(e,r,t,n){if(!r)return;r=r===!0?{}:r;const o=n==="dark"?"dark":"light";if(!t){e[n]=Ua({...r,palette:{mode:o,...r==null?void 0:r.palette}});return}const{palette:i,...c}=bt({...t,palette:{mode:o,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...Mn(o),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Nn(o)},c}function Ja(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:c=qa,colorSchemeSelector:u=t.light&&t.dark?"media":void 0,rootSelector:l=":root",...d}=e,m=Object.keys(t)[0],p=n||(t.light&&m!=="light"?"light":m),y=Xa(i),{[p]:v,light:g,dark:s,...x}=t,w={...x};let A=v;if((p==="dark"&&!("dark"in t)||p==="light"&&!("light"in t))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:Be(21,p));const E=vt(w,A,d,p);g&&!w.light&&vt(w,g,void 0,"light"),s&&!w.dark&&vt(w,s,void 0,"dark");let C={defaultColorScheme:p,...E,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:l,getCssVar:y,colorSchemes:w,font:{...Aa(E.typography),...E.font},spacing:Qa(d.spacing)};Object.keys(C.colorSchemes).forEach(P=>{const a=C.colorSchemes[P].palette,_=N=>{const F=N.split("-"),ie=F[1],ae=F[2];return y(N,a[ie][ae])};if(a.mode==="light"&&(h(a.common,"background","#fff"),h(a.common,"onBackground","#000")),a.mode==="dark"&&(h(a.common,"background","#000"),h(a.common,"onBackground","#fff")),Ka(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){h(a.Alert,"errorColor",Z(a.error.light,.6)),h(a.Alert,"infoColor",Z(a.info.light,.6)),h(a.Alert,"successColor",Z(a.success.light,.6)),h(a.Alert,"warningColor",Z(a.warning.light,.6)),h(a.Alert,"errorFilledBg",_("palette-error-main")),h(a.Alert,"infoFilledBg",_("palette-info-main")),h(a.Alert,"successFilledBg",_("palette-success-main")),h(a.Alert,"warningFilledBg",_("palette-warning-main")),h(a.Alert,"errorFilledColor",Pe(()=>a.getContrastText(a.error.main))),h(a.Alert,"infoFilledColor",Pe(()=>a.getContrastText(a.info.main))),h(a.Alert,"successFilledColor",Pe(()=>a.getContrastText(a.success.main))),h(a.Alert,"warningFilledColor",Pe(()=>a.getContrastText(a.warning.main))),h(a.Alert,"errorStandardBg",ee(a.error.light,.9)),h(a.Alert,"infoStandardBg",ee(a.info.light,.9)),h(a.Alert,"successStandardBg",ee(a.success.light,.9)),h(a.Alert,"warningStandardBg",ee(a.warning.light,.9)),h(a.Alert,"errorIconColor",_("palette-error-main")),h(a.Alert,"infoIconColor",_("palette-info-main")),h(a.Alert,"successIconColor",_("palette-success-main")),h(a.Alert,"warningIconColor",_("palette-warning-main")),h(a.AppBar,"defaultBg",_("palette-grey-100")),h(a.Avatar,"defaultBg",_("palette-grey-400")),h(a.Button,"inheritContainedBg",_("palette-grey-300")),h(a.Button,"inheritContainedHoverBg",_("palette-grey-A100")),h(a.Chip,"defaultBorder",_("palette-grey-400")),h(a.Chip,"defaultAvatarColor",_("palette-grey-700")),h(a.Chip,"defaultIconColor",_("palette-grey-700")),h(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),h(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),h(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),h(a.LinearProgress,"primaryBg",ee(a.primary.main,.62)),h(a.LinearProgress,"secondaryBg",ee(a.secondary.main,.62)),h(a.LinearProgress,"errorBg",ee(a.error.main,.62)),h(a.LinearProgress,"infoBg",ee(a.info.main,.62)),h(a.LinearProgress,"successBg",ee(a.success.main,.62)),h(a.LinearProgress,"warningBg",ee(a.warning.main,.62)),h(a.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.11)`),h(a.Slider,"primaryTrack",ee(a.primary.main,.62)),h(a.Slider,"secondaryTrack",ee(a.secondary.main,.62)),h(a.Slider,"errorTrack",ee(a.error.main,.62)),h(a.Slider,"infoTrack",ee(a.info.main,.62)),h(a.Slider,"successTrack",ee(a.success.main,.62)),h(a.Slider,"warningTrack",ee(a.warning.main,.62));const N=Wr(a.background.default,.8);h(a.SnackbarContent,"bg",N),h(a.SnackbarContent,"color",Pe(()=>a.getContrastText(N))),h(a.SpeedDialAction,"fabHoverBg",Wr(a.background.paper,.15)),h(a.StepConnector,"border",_("palette-grey-400")),h(a.StepContent,"border",_("palette-grey-400")),h(a.Switch,"defaultColor",_("palette-common-white")),h(a.Switch,"defaultDisabledColor",_("palette-grey-100")),h(a.Switch,"primaryDisabledColor",ee(a.primary.main,.62)),h(a.Switch,"secondaryDisabledColor",ee(a.secondary.main,.62)),h(a.Switch,"errorDisabledColor",ee(a.error.main,.62)),h(a.Switch,"infoDisabledColor",ee(a.info.main,.62)),h(a.Switch,"successDisabledColor",ee(a.success.main,.62)),h(a.Switch,"warningDisabledColor",ee(a.warning.main,.62)),h(a.TableCell,"border",ee(Yr(a.divider,1),.88)),h(a.Tooltip,"bg",Yr(a.grey[700],.92))}if(a.mode==="dark"){h(a.Alert,"errorColor",ee(a.error.light,.6)),h(a.Alert,"infoColor",ee(a.info.light,.6)),h(a.Alert,"successColor",ee(a.success.light,.6)),h(a.Alert,"warningColor",ee(a.warning.light,.6)),h(a.Alert,"errorFilledBg",_("palette-error-dark")),h(a.Alert,"infoFilledBg",_("palette-info-dark")),h(a.Alert,"successFilledBg",_("palette-success-dark")),h(a.Alert,"warningFilledBg",_("palette-warning-dark")),h(a.Alert,"errorFilledColor",Pe(()=>a.getContrastText(a.error.dark))),h(a.Alert,"infoFilledColor",Pe(()=>a.getContrastText(a.info.dark))),h(a.Alert,"successFilledColor",Pe(()=>a.getContrastText(a.success.dark))),h(a.Alert,"warningFilledColor",Pe(()=>a.getContrastText(a.warning.dark))),h(a.Alert,"errorStandardBg",Z(a.error.light,.9)),h(a.Alert,"infoStandardBg",Z(a.info.light,.9)),h(a.Alert,"successStandardBg",Z(a.success.light,.9)),h(a.Alert,"warningStandardBg",Z(a.warning.light,.9)),h(a.Alert,"errorIconColor",_("palette-error-main")),h(a.Alert,"infoIconColor",_("palette-info-main")),h(a.Alert,"successIconColor",_("palette-success-main")),h(a.Alert,"warningIconColor",_("palette-warning-main")),h(a.AppBar,"defaultBg",_("palette-grey-900")),h(a.AppBar,"darkBg",_("palette-background-paper")),h(a.AppBar,"darkColor",_("palette-text-primary")),h(a.Avatar,"defaultBg",_("palette-grey-600")),h(a.Button,"inheritContainedBg",_("palette-grey-800")),h(a.Button,"inheritContainedHoverBg",_("palette-grey-700")),h(a.Chip,"defaultBorder",_("palette-grey-700")),h(a.Chip,"defaultAvatarColor",_("palette-grey-300")),h(a.Chip,"defaultIconColor",_("palette-grey-300")),h(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),h(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),h(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),h(a.LinearProgress,"primaryBg",Z(a.primary.main,.5)),h(a.LinearProgress,"secondaryBg",Z(a.secondary.main,.5)),h(a.LinearProgress,"errorBg",Z(a.error.main,.5)),h(a.LinearProgress,"infoBg",Z(a.info.main,.5)),h(a.LinearProgress,"successBg",Z(a.success.main,.5)),h(a.LinearProgress,"warningBg",Z(a.warning.main,.5)),h(a.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.13)`),h(a.Slider,"primaryTrack",Z(a.primary.main,.5)),h(a.Slider,"secondaryTrack",Z(a.secondary.main,.5)),h(a.Slider,"errorTrack",Z(a.error.main,.5)),h(a.Slider,"infoTrack",Z(a.info.main,.5)),h(a.Slider,"successTrack",Z(a.success.main,.5)),h(a.Slider,"warningTrack",Z(a.warning.main,.5));const N=Wr(a.background.default,.98);h(a.SnackbarContent,"bg",N),h(a.SnackbarContent,"color",Pe(()=>a.getContrastText(N))),h(a.SpeedDialAction,"fabHoverBg",Wr(a.background.paper,.15)),h(a.StepConnector,"border",_("palette-grey-600")),h(a.StepContent,"border",_("palette-grey-600")),h(a.Switch,"defaultColor",_("palette-grey-300")),h(a.Switch,"defaultDisabledColor",_("palette-grey-600")),h(a.Switch,"primaryDisabledColor",Z(a.primary.main,.55)),h(a.Switch,"secondaryDisabledColor",Z(a.secondary.main,.55)),h(a.Switch,"errorDisabledColor",Z(a.error.main,.55)),h(a.Switch,"infoDisabledColor",Z(a.info.main,.55)),h(a.Switch,"successDisabledColor",Z(a.success.main,.55)),h(a.Switch,"warningDisabledColor",Z(a.warning.main,.55)),h(a.TableCell,"border",Z(Yr(a.divider,1),.68)),h(a.Tooltip,"bg",Yr(a.grey[700],.92))}Ne(a.background,"default"),Ne(a.background,"paper"),Ne(a.common,"background"),Ne(a.common,"onBackground"),Ne(a,"divider"),Object.keys(a).forEach(N=>{const F=a[N];N!=="tonalOffset"&&F&&typeof F=="object"&&(F.main&&h(a[N],"mainChannel",fr(mr(F.main))),F.light&&h(a[N],"lightChannel",fr(mr(F.light))),F.dark&&h(a[N],"darkChannel",fr(mr(F.dark))),F.contrastText&&h(a[N],"contrastTextChannel",fr(mr(F.contrastText))),N==="text"&&(Ne(a[N],"primary"),Ne(a[N],"secondary")),N==="action"&&(F.active&&Ne(a[N],"active"),F.selected&&Ne(a[N],"selected")))})}),C=r.reduce((P,a)=>xe(P,a),C);const f={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:Ha(C)},{vars:S,generateThemeVars:$,generateStyleSheets:I}=va(C,f);return C.vars=S,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([P,a])=>{C[P]=a}),C.generateThemeVars=$,C.generateStyleSheets=I,C.generateSpacing=function(){return hn(d.spacing,ut(this))},C.getColorSchemeSelector=Sa(u),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=c,C.unstable_sxConfig={...Lr,...d==null?void 0:d.unstable_sxConfig},C.unstable_sx=function(a){return Ke({sx:a,theme:this})},C.toRuntimeSource=In,C}function Dn(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:ht({...t===!0?{}:t.palette,mode:r})})}function Bn(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:o=t?void 0:{light:!0},defaultColorScheme:i=t==null?void 0:t.mode,...c}=e,u=i||"light",l=o==null?void 0:o[u],d={...o,...t?{[u]:{...typeof l!="boolean"&&l,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return bt(e,...r);let m=t;"palette"in e||d[u]&&(d[u]!==!0?m=d[u].palette:u==="dark"&&(m={mode:"dark"}));const p=bt({...e,palette:m},...r);return p.defaultColorScheme=u,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},Dn(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Dn(p,"light",d.light)),p}return!t&&!("light"in d)&&u==="light"&&(d.light=!0),Ja({...c,colorSchemes:d,defaultColorScheme:u,...typeof n!="boolean"&&n},...r)}const Za=Bn(),es="$$material";function rs(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ts=na({themeId:es,defaultTheme:Za,rootShouldForwardProp:e=>rs(e)&&e!=="classes"}),ns=ga;process.env.NODE_ENV!=="production"&&(Y.node,Y.object.isRequired);function os(e){return ma(e)}function is(e){return ct("MuiSvgIcon",e)}ei("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const as=e=>{const{color:r,fontSize:t,classes:n}=e,o={root:["root",r!=="inherit"&&`color${Ve(r)}`,`fontSize${Ve(t)}`]};return Xo(o,is,n)},ss=ts("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:t}=e;return[r.root,t.color!=="inherit"&&r[`color${Ve(t.color)}`],r[`fontSize${Ve(t.fontSize)}`]]}})(ns(({theme:e})=>{var r,t,n,o,i,c,u,l,d,m,p,y,v,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(r=e.transitions)==null?void 0:r.create)==null?void 0:o.call(r,"fill",{duration:(n=(t=(e.vars??e).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:s=>!s.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((c=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:c.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((l=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:l.call(u,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((m=(d=e.typography)==null?void 0:d.pxToRem)==null?void 0:m.call(d,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,s])=>s&&s.main).map(([s])=>{var x,w;return{props:{color:s},style:{color:(w=(x=(e.vars??e).palette)==null?void 0:x[s])==null?void 0:w.main}}}),{props:{color:"action"},style:{color:(y=(p=(e.vars??e).palette)==null?void 0:p.action)==null?void 0:y.active}},{props:{color:"disabled"},style:{color:(g=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:g.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Ur=le.forwardRef(function(r,t){const n=os({props:r,name:"MuiSvgIcon"}),{children:o,className:i,color:c="inherit",component:u="svg",fontSize:l="medium",htmlColor:d,inheritViewBox:m=!1,titleAccess:p,viewBox:y="0 0 24 24",...v}=n,g=le.isValidElement(o)&&o.type==="svg",s={...n,color:c,component:u,fontSize:l,instanceFontSize:r.fontSize,inheritViewBox:m,viewBox:y,hasSvgAsChild:g},x={};m||(x.viewBox=y);const w=as(s);return ke.jsxs(ss,{as:u,className:ti(w.root,i),focusable:"false",color:d,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...x,...v,...g&&o.props,ownerState:s,children:[g?o.props.children:o,p?ke.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(Ur.propTypes={children:Y.node,classes:Y.object,className:Y.string,color:Y.oneOfType([Y.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),Y.string]),component:Y.elementType,fontSize:Y.oneOfType([Y.oneOf(["inherit","large","medium","small"]),Y.string]),htmlColor:Y.string,inheritViewBox:Y.bool,shapeRendering:Y.string,sx:Y.oneOfType([Y.arrayOf(Y.oneOfType([Y.func,Y.object,Y.bool])),Y.func,Y.object]),titleAccess:Y.string,viewBox:Y.string}),Ur.muiName="SvgIcon";function cs(e,r){function t(n,o){return ke.jsx(Ur,{"data-testid":`${r}Icon`,ref:o,...n,children:e})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=Ur.muiName,le.memo(le.forwardRef(t))}const us=cs(ke.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),ls=ye.css`
|
|
15
|
+
*/var xt;function ro(){return xt||(xt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=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,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,b=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function x(h){return typeof h=="string"||typeof h=="function"||h===n||h===d||h===i||h===o||h===p||h===y||typeof h=="object"&&h!==null&&(h.$$typeof===g||h.$$typeof===v||h.$$typeof===c||h.$$typeof===u||h.$$typeof===b||h.$$typeof===E||h.$$typeof===w||h.$$typeof===A||h.$$typeof===s)}function T(h){if(typeof h=="object"&&h!==null){var pe=h.$$typeof;switch(pe){case r:var ke=h.type;switch(ke){case l:case d:case n:case i:case o:case p:return ke;default:var lr=ke&&ke.$$typeof;switch(lr){case u:case b:case g:case v:case c:return lr;default:return pe}}case t:return pe}}}var f=l,C=d,O=u,W=c,k=r,a=b,_=n,L=g,ee=v,be=t,_e=i,Ce=o,Pe=p,Be=!1;function fr(h){return Be||(Be=!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(h)||T(h)===l}function S(h){return T(h)===d}function $(h){return T(h)===u}function D(h){return T(h)===c}function M(h){return typeof h=="object"&&h!==null&&h.$$typeof===r}function R(h){return T(h)===b}function B(h){return T(h)===n}function I(h){return T(h)===g}function N(h){return T(h)===v}function j(h){return T(h)===t}function z(h){return T(h)===i}function F(h){return T(h)===o}function ce(h){return T(h)===p}q.AsyncMode=f,q.ConcurrentMode=C,q.ContextConsumer=O,q.ContextProvider=W,q.Element=k,q.ForwardRef=a,q.Fragment=_,q.Lazy=L,q.Memo=ee,q.Portal=be,q.Profiler=_e,q.StrictMode=Ce,q.Suspense=Pe,q.isAsyncMode=fr,q.isConcurrentMode=S,q.isContextConsumer=$,q.isContextProvider=D,q.isElement=M,q.isForwardRef=R,q.isFragment=B,q.isLazy=I,q.isMemo=N,q.isPortal=j,q.isProfiler=z,q.isStrictMode=F,q.isSuspense=ce,q.isValidElementType=x,q.typeOf=T})()),q}var Et;function to(){return Et||(Et=1,process.env.NODE_ENV==="production"?Sr.exports=eo():Sr.exports=ro()),Sr.exports}var Ur,wt;function no(){if(wt)return Ur;wt=1;var e=to(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t={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 c(g){return e.isMemo(g)?o:i[g.$$typeof]||r}var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,b=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,y=Object.prototype;function v(g,s,E){if(typeof s!="string"){if(y){var w=p(s);w&&w!==y&&v(g,w,E)}var A=l(s);d&&(A=A.concat(d(s)));for(var x=c(g),T=c(s),f=0;f<A.length;++f){var C=A[f];if(!t[C]&&!(E&&E[C])&&!(T&&T[C])&&!(x&&x[C])){var O=b(s,C);try{u(g,C,O)}catch{}}}}return g}return Ur=v,Ur}no();var oo=!0;function io(e,r,t){var n="";return t.split(" ").forEach(function(o){e[o]!==void 0?r.push(e[o]+";"):o&&(n+=o+" ")}),n}var $t=function(r,t,n){var o=r.key+"-"+t.name;(n===!1||oo===!1)&&r.registered[o]===void 0&&(r.registered[o]=t.styles)},ao=function(r,t,n){$t(r,t,n);var o=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var i=t;do r.insert(t===i?"."+o:"",i,r.sheet,!0),i=i.next;while(i!==void 0)}};function so(e){for(var r=0,t,n=0,o=e.length;o>=4;++n,o-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(o){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var co={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},uo=/[A-Z]|^ms/g,fo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ot=function(r){return r.charCodeAt(1)===45},_t=function(r){return r!=null&&typeof r!="boolean"},qr=zn(function(e){return Ot(e)?e:e.replace(uo,"-$&").toLowerCase()}),At=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(fo,function(n,o,i){return $e={name:o,styles:i,next:$e},o})}return co[r]!==1&&!Ot(r)&&typeof t=="number"&&t!==0?t+"px":t};function rr(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var o=t;if(o.anim===1)return $e={name:o.name,styles:o.styles,next:$e},o.name;var i=t;if(i.styles!==void 0){var c=i.next;if(c!==void 0)for(;c!==void 0;)$e={name:c.name,styles:c.styles,next:$e},c=c.next;var u=i.styles+";";return u}return lo(e,r,t)}case"function":{if(e!==void 0){var l=$e,d=t(e);return $e=l,rr(e,r,d)}break}}var b=t;return b}function lo(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o<t.length;o++)n+=rr(e,r,t[o])+";";else for(var i in t){var c=t[i];if(typeof c!="object"){var u=c;_t(u)&&(n+=qr(i)+":"+At(i,u)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&r==null)for(var l=0;l<c.length;l++)_t(c[l])&&(n+=qr(i)+":"+At(i,c[l])+";");else{var d=rr(e,r,c);switch(i){case"animation":case"animationName":{n+=qr(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var Rt=/label:\s*([^\s;{]+)\s*(;|$)/g,$e;function po(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";$e=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=rr(t,r,i);else{var c=i;o+=c[0]}for(var u=1;u<e.length;u++)if(o+=rr(t,r,e[u]),n){var l=i;o+=l[u]}Rt.lastIndex=0;for(var d="",b;(b=Rt.exec(o))!==null;)d+="-"+b[1];var p=so(o)+d;return{name:p,styles:o,next:$e}}var mo=function(r){return r()},go=xe.useInsertionEffect?xe.useInsertionEffect:!1,ho=go||mo,Pt=xe.createContext(typeof HTMLElement<"u"?Jn({key:"css"}):null);Pt.Provider;var yo=function(r){return ve.forwardRef(function(t,n){var o=ve.useContext(Pt);return r(t,o,n)})},bo=xe.createContext({}),Tr={}.hasOwnProperty,Gr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",kt=function(r,t){var n={};for(var o in t)Tr.call(t,o)&&(n[o]=t[o]);return n[Gr]=r,n},vo=function(r){var t=r.cache,n=r.serialized,o=r.isStringTag;return $t(t,n,o),ho(function(){return ao(t,n,o)}),null},So=yo(function(e,r,t){var n=e.css;typeof n=="string"&&r.registered[n]!==void 0&&(n=r.registered[n]);var o=e[Gr],i=[n],c="";typeof e.className=="string"?c=io(r.registered,i,e.className):e.className!=null&&(c=e.className+" ");var u=po(i,void 0,xe.useContext(bo));c+=r.key+"-"+u.name;var l={};for(var d in e)Tr.call(e,d)&&d!=="css"&&d!==Gr&&(l[d]=e[d]);return l.className=c,t&&(l.ref=t),xe.createElement(xe.Fragment,null,xe.createElement(vo,{cache:r,serialized:u,isStringTag:typeof o=="string"}),xe.createElement(o,l))}),It=So,To=Xe.Fragment,de=function(r,t,n){return Tr.call(t,"css")?Xe.jsx(It,kt(r,t),n):Xe.jsx(r,t,n)},Ye=function(r,t,n){return Tr.call(t,"css")?Xe.jsxs(It,kt(r,t),n):Xe.jsxs(r,t,n)};const Co=fe.css`
|
|
89
16
|
display: flex;
|
|
90
17
|
align-items: center;
|
|
91
18
|
padding: 7px 8px 8px 12px;
|
|
@@ -98,10 +25,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
98
25
|
height: 40px;
|
|
99
26
|
justify-content: space-between;
|
|
100
27
|
gap: 8px;
|
|
101
|
-
`,
|
|
28
|
+
`,xo=fe.css`
|
|
102
29
|
opacity: 0.5;
|
|
103
30
|
cursor: not-allowed;
|
|
104
|
-
`,
|
|
31
|
+
`,Eo=fe.css`
|
|
105
32
|
font-size: 14px;
|
|
106
33
|
font-weight: 500;
|
|
107
34
|
color: #2d2d2d;
|
|
@@ -110,18 +37,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
110
37
|
text-overflow: ellipsis;
|
|
111
38
|
text-align: left;
|
|
112
39
|
max-width: 200px;
|
|
113
|
-
`,
|
|
40
|
+
`,wo=fe.css`
|
|
114
41
|
width: 18px;
|
|
115
42
|
height: 18px;
|
|
116
43
|
color: #7a7a7a;
|
|
117
44
|
transition: transform 0.2s;
|
|
118
|
-
|
|
45
|
+
`,$o=fe.css`
|
|
119
46
|
transform: rotate(180deg);
|
|
120
|
-
`,
|
|
47
|
+
`,Oo=fe.css`
|
|
121
48
|
font-size: 14px;
|
|
122
49
|
font-weight: 500;
|
|
123
50
|
color: #2d2d2d;
|
|
124
|
-
`,
|
|
51
|
+
`,_o=fe.css`
|
|
125
52
|
font-size: 14px;
|
|
126
53
|
border-radius: 4px;
|
|
127
54
|
padding: 1px 2px;
|
|
@@ -132,22 +59,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
132
59
|
display: flex;
|
|
133
60
|
justify-content: center;
|
|
134
61
|
background: #3d906d;
|
|
135
|
-
`,
|
|
62
|
+
`,Ao=fe.css`
|
|
136
63
|
padding: 8px;
|
|
137
64
|
border-bottom: 1px solid #e0e0e9;
|
|
138
|
-
`,
|
|
65
|
+
`,Ro=e=>fe.css({maxHeight:e?"240px":"280px",overflowY:"auto"}),Mt=fe.css`
|
|
139
66
|
padding: 16px;
|
|
140
67
|
text-align: center;
|
|
141
|
-
`,
|
|
68
|
+
`,Nt=fe.css`
|
|
142
69
|
font-size: 14px;
|
|
143
70
|
color: #7a7a7a;
|
|
144
|
-
`,
|
|
71
|
+
`,Po=fe.css`
|
|
145
72
|
padding: 6px 12px;
|
|
146
73
|
min-height: 36px;
|
|
147
74
|
&:hover {
|
|
148
75
|
background-color: rgba(93, 183, 121, 0.08);
|
|
149
76
|
}
|
|
150
|
-
`,
|
|
77
|
+
`,ko=fe.css`
|
|
151
78
|
min-height: 36px;
|
|
152
79
|
&:hover {
|
|
153
80
|
background-color: rgba(93, 183, 121, 0.08);
|
|
@@ -158,9 +85,74 @@ To suppress this warning, you need to explicitly provide the \`palette.${r}Chann
|
|
|
158
85
|
background-color: rgba(93, 183, 121, 0.16);
|
|
159
86
|
}
|
|
160
87
|
}
|
|
161
|
-
`,
|
|
88
|
+
`,Io=fe.css`
|
|
162
89
|
font-size: 14px;
|
|
163
90
|
font-weight: 400;
|
|
164
91
|
color: #2d2d2d;
|
|
165
|
-
`,
|
|
166
|
-
|
|
92
|
+
`,Mo={padding:0,marginRight:"8px",color:"#7a7a7a","&.Mui-checked":{color:"#3d906d"}},No="No options found";function Do(e){const{placeholder:r,options:t,disabled:n=!1,variant:o}=e,[i,c]=ve.useState(!1),[u,l]=ve.useState(""),d=ve.useRef(null),b=ve.useRef(null),p=e.searchable,y=ve.useMemo(()=>!p||!u.trim()?t:t.filter(C=>C.name.toLowerCase().includes(u.toLowerCase())),[t,u,p]),v=o==="multi",g=v?e:null,s=v?null:e,E=ve.useCallback(C=>{if(!g)return;const{value:O,onChange:W}=g;if(C==="all"){if(O.length===0){W(["all"]);return}if(!O.includes("all")&&O.length>0){W(["all"]);return}W([]);return}if(O.includes("all")){W(t.filter(k=>k.id!==C&&k.id!=="all").map(k=>k.id));return}if(O.includes(C))W(O.filter(k=>k!==C));else{const k=[...O,C];if(k.length===t.filter(a=>a.id!=="all").length){W(["all"]);return}W(k)}},[g,t]),w=ve.useCallback(C=>{if(!s)return;const{customOptionIds:O,onCustomSelect:W,onChange:k}=s;if(O!=null&&O.includes(C)&&W){W(C),c(!1);return}k(C),c(!1)},[s]),A=ve.useMemo(()=>{if(v&&g){const{value:C,label:O}=g,W=t;if(C.length===0||C.length===W.length||C.length===W.filter(k=>k.id!=="all").length)return r;if(C.length===1){const k=W.find(a=>a.id===C[0]);return(k==null?void 0:k.name)||r}return Ye(ie.Stack,{direction:"row",alignItems:"center",gap:1,children:[de(ie.Typography,{css:Oo,children:O??""}),de(ie.Typography,{css:_o,children:C.length})]})}if(!v&&s){const{value:C,getDisplayValue:O}=s;if(O){const k=O(C);if(k!=null&&k!=="")return k}if(!C||C==="all")return r;const W=t.find(k=>k.id===C);return(W==null?void 0:W.name)??r}return r},[v,g,s,t,r]);ve.useEffect(()=>{i&&p&&setTimeout(()=>{var C;return(C=b.current)==null?void 0:C.focus()},100),i||l("")},[i,p]);const x=!!p,T=v&&(g==null?void 0:g.loading),f=(v?g==null?void 0:g.noOptionsText:void 0)??No;return Ye(To,{children:[Ye(ie.ButtonBase,{ref:d,onClick:()=>c(!0),disabled:n,css:[Co,n&&xo],children:[de(ie.Typography,{css:Eo,children:A}),de(Cn,{css:[wo,i&&$o]})]}),Ye(ie.Popover,{open:i,anchorEl:d.current,onClose:()=>c(!1),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},slotProps:{paper:{sx:{mt:"4px",minWidth:"160px",maxWidth:"280px",maxHeight:"320px",borderRadius:"4px",boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.12)"}}},children:[x&&de(ie.Box,{css:Ao,children:de(ie.TextField,{inputRef:b,size:"small",placeholder:"Search...",value:u,onChange:C=>l(C.target.value),fullWidth:!0,autoComplete:"off",sx:{"& .MuiOutlinedInput-root":{height:"32px",fontSize:"14px",borderRadius:"4px"}},onKeyDown:C=>C.stopPropagation()})}),Ye(ie.Box,{css:Ro(x),children:[T&&de(ie.Box,{css:Mt,children:de(ie.Typography,{css:Nt,children:"Loading..."})}),!T&&y.length===0&&de(ie.Box,{css:Mt,children:de(ie.Typography,{css:Nt,children:f})}),!T&&y.length>0&&(v?y.map(C=>Ye(ie.MenuItem,{onClick:()=>E(C.id),css:Po,children:[de(ie.Checkbox,{checked:g.value.includes(C.id)||g.value.includes("all"),size:"small",sx:Mo}),de(ie.ListItemText,{primary:C.name,primaryTypographyProps:{fontSize:"14px",fontWeight:400,color:"#2d2d2d"}})]},C.id)):y.map(C=>de(ie.MenuItem,{onClick:()=>w(C.id),selected:s.value===C.id,css:ko,children:de(ie.Typography,{css:Io,children:C.name})},C.id)))]})]})]})}function Ie(e,...r){const t=new URL(`https://mui.com/production-error/?code=${e}`);return r.forEach(n=>t.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${t} for the full message.`}var Cr={exports:{}},xr={exports:{}},G={};/** @license React v16.13.1
|
|
93
|
+
* react-is.production.min.js
|
|
94
|
+
*
|
|
95
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the MIT license found in the
|
|
98
|
+
* LICENSE file in the root directory of this source tree.
|
|
99
|
+
*/var Dt;function Bo(){if(Dt)return G;Dt=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=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,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,b=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function x(f){if(typeof f=="object"&&f!==null){var C=f.$$typeof;switch(C){case r:switch(f=f.type,f){case l:case d:case n:case i:case o:case p:return f;default:switch(f=f&&f.$$typeof,f){case u:case b:case g:case v:case c:return f;default:return C}}case t:return C}}}function T(f){return x(f)===d}return G.AsyncMode=l,G.ConcurrentMode=d,G.ContextConsumer=u,G.ContextProvider=c,G.Element=r,G.ForwardRef=b,G.Fragment=n,G.Lazy=g,G.Memo=v,G.Portal=t,G.Profiler=i,G.StrictMode=o,G.Suspense=p,G.isAsyncMode=function(f){return T(f)||x(f)===l},G.isConcurrentMode=T,G.isContextConsumer=function(f){return x(f)===u},G.isContextProvider=function(f){return x(f)===c},G.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===r},G.isForwardRef=function(f){return x(f)===b},G.isFragment=function(f){return x(f)===n},G.isLazy=function(f){return x(f)===g},G.isMemo=function(f){return x(f)===v},G.isPortal=function(f){return x(f)===t},G.isProfiler=function(f){return x(f)===i},G.isStrictMode=function(f){return x(f)===o},G.isSuspense=function(f){return x(f)===p},G.isValidElementType=function(f){return typeof f=="string"||typeof f=="function"||f===n||f===d||f===i||f===o||f===p||f===y||typeof f=="object"&&f!==null&&(f.$$typeof===g||f.$$typeof===v||f.$$typeof===c||f.$$typeof===u||f.$$typeof===b||f.$$typeof===E||f.$$typeof===w||f.$$typeof===A||f.$$typeof===s)},G.typeOf=x,G}var H={};/** @license React v16.13.1
|
|
100
|
+
* react-is.development.js
|
|
101
|
+
*
|
|
102
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the MIT license found in the
|
|
105
|
+
* LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/var Bt;function jo(){return Bt||(Bt=1,process.env.NODE_ENV!=="production"&&(function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=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,c=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,b=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,s=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function x(h){return typeof h=="string"||typeof h=="function"||h===n||h===d||h===i||h===o||h===p||h===y||typeof h=="object"&&h!==null&&(h.$$typeof===g||h.$$typeof===v||h.$$typeof===c||h.$$typeof===u||h.$$typeof===b||h.$$typeof===E||h.$$typeof===w||h.$$typeof===A||h.$$typeof===s)}function T(h){if(typeof h=="object"&&h!==null){var pe=h.$$typeof;switch(pe){case r:var ke=h.type;switch(ke){case l:case d:case n:case i:case o:case p:return ke;default:var lr=ke&&ke.$$typeof;switch(lr){case u:case b:case g:case v:case c:return lr;default:return pe}}case t:return pe}}}var f=l,C=d,O=u,W=c,k=r,a=b,_=n,L=g,ee=v,be=t,_e=i,Ce=o,Pe=p,Be=!1;function fr(h){return Be||(Be=!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(h)||T(h)===l}function S(h){return T(h)===d}function $(h){return T(h)===u}function D(h){return T(h)===c}function M(h){return typeof h=="object"&&h!==null&&h.$$typeof===r}function R(h){return T(h)===b}function B(h){return T(h)===n}function I(h){return T(h)===g}function N(h){return T(h)===v}function j(h){return T(h)===t}function z(h){return T(h)===i}function F(h){return T(h)===o}function ce(h){return T(h)===p}H.AsyncMode=f,H.ConcurrentMode=C,H.ContextConsumer=O,H.ContextProvider=W,H.Element=k,H.ForwardRef=a,H.Fragment=_,H.Lazy=L,H.Memo=ee,H.Portal=be,H.Profiler=_e,H.StrictMode=Ce,H.Suspense=Pe,H.isAsyncMode=fr,H.isConcurrentMode=S,H.isContextConsumer=$,H.isContextProvider=D,H.isElement=M,H.isForwardRef=R,H.isFragment=B,H.isLazy=I,H.isMemo=N,H.isPortal=j,H.isProfiler=z,H.isStrictMode=F,H.isSuspense=ce,H.isValidElementType=x,H.typeOf=T})()),H}var jt;function Ft(){return jt||(jt=1,process.env.NODE_ENV==="production"?xr.exports=Bo():xr.exports=jo()),xr.exports}/*
|
|
107
|
+
object-assign
|
|
108
|
+
(c) Sindre Sorhus
|
|
109
|
+
@license MIT
|
|
110
|
+
*/var Hr,Lt;function Fo(){if(Lt)return Hr;Lt=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=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 c={},u=0;u<10;u++)c["_"+String.fromCharCode(u)]=u;var l=Object.getOwnPropertyNames(c).map(function(b){return c[b]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(b){d[b]=b}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Hr=o()?Object.assign:function(i,c){for(var u,l=n(i),d,b=1;b<arguments.length;b++){u=Object(arguments[b]);for(var p in u)r.call(u,p)&&(l[p]=u[p]);if(e){d=e(u);for(var y=0;y<d.length;y++)t.call(u,d[y])&&(l[d[y]]=u[d[y]])}}return l},Hr}var Kr,Yt;function Xr(){if(Yt)return Kr;Yt=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Kr=e,Kr}var Qr,Vt;function Wt(){return Vt||(Vt=1,Qr=Function.call.bind(Object.prototype.hasOwnProperty)),Qr}var Jr,zt;function Lo(){if(zt)return Jr;zt=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=Xr(),t={},n=Wt();e=function(i){var c="Warning: "+i;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}}}function o(i,c,u,l,d){if(process.env.NODE_ENV!=="production"){for(var b in i)if(n(i,b)){var p;try{if(typeof i[b]!="function"){var y=Error((l||"React class")+": "+u+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw y.name="Invariant Violation",y}p=i[b](c,b,l,u,null,r)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((l||"React class")+": type specification of "+u+" `"+b+"` 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 t)){t[p.message]=!0;var v=d?d():"";e("Failed "+u+" type: "+p.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(t={})},Jr=o,Jr}var Zr,Ut;function Yo(){if(Ut)return Zr;Ut=1;var e=Ft(),r=Fo(),t=Xr(),n=Wt(),o=Lo(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(u){var l="Warning: "+u;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function c(){return null}return Zr=function(u,l){var d=typeof Symbol=="function"&&Symbol.iterator,b="@@iterator";function p(S){var $=S&&(d&&S[d]||S[b]);if(typeof $=="function")return $}var y="<<anonymous>>",v={array:w("array"),bigint:w("bigint"),bool:w("boolean"),func:w("function"),number:w("number"),object:w("object"),string:w("string"),symbol:w("symbol"),any:A(),arrayOf:x,element:T(),elementType:f(),instanceOf:C,node:a(),objectOf:W,oneOf:O,oneOfType:k,shape:L,exact:ee};function g(S,$){return S===$?S!==0||1/S===1/$:S!==S&&$!==$}function s(S,$){this.message=S,this.data=$&&typeof $=="object"?$:{},this.stack=""}s.prototype=Error.prototype;function E(S){if(process.env.NODE_ENV!=="production")var $={},D=0;function M(B,I,N,j,z,F,ce){if(j=j||y,F=F||N,ce!==t){if(l){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var pe=j+":"+N;!$[pe]&&D<3&&(i("You are manually calling a React.PropTypes validation function for the `"+F+"` prop on `"+j+"`. 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."),$[pe]=!0,D++)}}return I[N]==null?B?I[N]===null?new s("The "+z+" `"+F+"` is marked as required "+("in `"+j+"`, but its value is `null`.")):new s("The "+z+" `"+F+"` is marked as required in "+("`"+j+"`, but its value is `undefined`.")):null:S(I,N,j,z,F)}var R=M.bind(null,!1);return R.isRequired=M.bind(null,!0),R}function w(S){function $(D,M,R,B,I,N){var j=D[M],z=Ce(j);if(z!==S){var F=Pe(j);return new s("Invalid "+B+" `"+I+"` of type "+("`"+F+"` supplied to `"+R+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return E($)}function A(){return E(c)}function x(S){function $(D,M,R,B,I){if(typeof S!="function")return new s("Property `"+I+"` of component `"+R+"` has invalid PropType notation inside arrayOf.");var N=D[M];if(!Array.isArray(N)){var j=Ce(N);return new s("Invalid "+B+" `"+I+"` of type "+("`"+j+"` supplied to `"+R+"`, expected an array."))}for(var z=0;z<N.length;z++){var F=S(N,z,R,B,I+"["+z+"]",t);if(F instanceof Error)return F}return null}return E($)}function T(){function S($,D,M,R,B){var I=$[D];if(!u(I)){var N=Ce(I);return new s("Invalid "+R+" `"+B+"` of type "+("`"+N+"` supplied to `"+M+"`, expected a single ReactElement."))}return null}return E(S)}function f(){function S($,D,M,R,B){var I=$[D];if(!e.isValidElementType(I)){var N=Ce(I);return new s("Invalid "+R+" `"+B+"` of type "+("`"+N+"` supplied to `"+M+"`, expected a single ReactElement type."))}return null}return E(S)}function C(S){function $(D,M,R,B,I){if(!(D[M]instanceof S)){var N=S.name||y,j=fr(D[M]);return new s("Invalid "+B+" `"+I+"` of type "+("`"+j+"` supplied to `"+R+"`, expected ")+("instance of `"+N+"`."))}return null}return E($)}function O(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.")),c;function $(D,M,R,B,I){for(var N=D[M],j=0;j<S.length;j++)if(g(N,S[j]))return null;var z=JSON.stringify(S,function(ce,h){var pe=Pe(h);return pe==="symbol"?String(h):h});return new s("Invalid "+B+" `"+I+"` of value `"+String(N)+"` "+("supplied to `"+R+"`, expected one of "+z+"."))}return E($)}function W(S){function $(D,M,R,B,I){if(typeof S!="function")return new s("Property `"+I+"` of component `"+R+"` has invalid PropType notation inside objectOf.");var N=D[M],j=Ce(N);if(j!=="object")return new s("Invalid "+B+" `"+I+"` of type "+("`"+j+"` supplied to `"+R+"`, expected an object."));for(var z in N)if(n(N,z)){var F=S(N,z,R,B,I+"."+z,t);if(F instanceof Error)return F}return null}return E($)}function k(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var $=0;$<S.length;$++){var D=S[$];if(typeof D!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Be(D)+" at index "+$+"."),c}function M(R,B,I,N,j){for(var z=[],F=0;F<S.length;F++){var ce=S[F],h=ce(R,B,I,N,j,t);if(h==null)return null;h.data&&n(h.data,"expectedType")&&z.push(h.data.expectedType)}var pe=z.length>0?", expected one of type ["+z.join(", ")+"]":"";return new s("Invalid "+N+" `"+j+"` supplied to "+("`"+I+"`"+pe+"."))}return E(M)}function a(){function S($,D,M,R,B){return be($[D])?null:new s("Invalid "+R+" `"+B+"` supplied to "+("`"+M+"`, expected a ReactNode."))}return E(S)}function _(S,$,D,M,R){return new s((S||"React class")+": "+$+" type `"+D+"."+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+R+"`.")}function L(S){function $(D,M,R,B,I){var N=D[M],j=Ce(N);if(j!=="object")return new s("Invalid "+B+" `"+I+"` of type `"+j+"` "+("supplied to `"+R+"`, expected `object`."));for(var z in S){var F=S[z];if(typeof F!="function")return _(R,B,I,z,Pe(F));var ce=F(N,z,R,B,I+"."+z,t);if(ce)return ce}return null}return E($)}function ee(S){function $(D,M,R,B,I){var N=D[M],j=Ce(N);if(j!=="object")return new s("Invalid "+B+" `"+I+"` of type `"+j+"` "+("supplied to `"+R+"`, expected `object`."));var z=r({},D[M],S);for(var F in z){var ce=S[F];if(n(S,F)&&typeof ce!="function")return _(R,B,I,F,Pe(ce));if(!ce)return new s("Invalid "+B+" `"+I+"` key `"+F+"` supplied to `"+R+"`.\nBad object: "+JSON.stringify(D[M],null," ")+`
|
|
111
|
+
Valid keys: `+JSON.stringify(Object.keys(S),null," "));var h=ce(N,F,R,B,I+"."+F,t);if(h)return h}return null}return E($)}function be(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(be);if(S===null||u(S))return!0;var $=p(S);if($){var D=$.call(S),M;if($!==S.entries){for(;!(M=D.next()).done;)if(!be(M.value))return!1}else for(;!(M=D.next()).done;){var R=M.value;if(R&&!be(R[1]))return!1}}else return!1;return!0;default:return!1}}function _e(S,$){return S==="symbol"?!0:$?$["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&$ instanceof Symbol:!1}function Ce(S){var $=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":_e($,S)?"symbol":$}function Pe(S){if(typeof S>"u"||S===null)return""+S;var $=Ce(S);if($==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return $}function Be(S){var $=Pe(S);switch($){case"array":case"object":return"an "+$;case"boolean":case"date":case"regexp":return"a "+$;default:return $}}function fr(S){return!S.constructor||!S.constructor.name?y:S.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Zr}var et,qt;function Vo(){if(qt)return et;qt=1;var e=Xr();function r(){}function t(){}return t.resetWarningCache=r,et=function(){function n(c,u,l,d,b,p){if(p!==e){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}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:t,resetWarningCache:r};return i.PropTypes=i,i},et}var Gt;function Wo(){if(Gt)return Cr.exports;if(Gt=1,process.env.NODE_ENV!=="production"){var e=Ft(),r=!0;Cr.exports=Yo()(e.isElement,r)}else Cr.exports=Vo()();return Cr.exports}var zo=Wo();const tr=Zn(zo);var Er={exports:{}},K={};/**
|
|
112
|
+
* @license React
|
|
113
|
+
* react-is.production.js
|
|
114
|
+
*
|
|
115
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
116
|
+
*
|
|
117
|
+
* This source code is licensed under the MIT license found in the
|
|
118
|
+
* LICENSE file in the root directory of this source tree.
|
|
119
|
+
*/var Ht;function Uo(){if(Ht)return K;Ht=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),v=Symbol.for("react.client.reference");function g(s){if(typeof s=="object"&&s!==null){var E=s.$$typeof;switch(E){case e:switch(s=s.type,s){case t:case o:case n:case l:case d:case y:return s;default:switch(s=s&&s.$$typeof,s){case c:case u:case p:case b:return s;case i:return s;default:return E}}case r:return E}}}return K.ContextConsumer=i,K.ContextProvider=c,K.Element=e,K.ForwardRef=u,K.Fragment=t,K.Lazy=p,K.Memo=b,K.Portal=r,K.Profiler=o,K.StrictMode=n,K.Suspense=l,K.SuspenseList=d,K.isContextConsumer=function(s){return g(s)===i},K.isContextProvider=function(s){return g(s)===c},K.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===e},K.isForwardRef=function(s){return g(s)===u},K.isFragment=function(s){return g(s)===t},K.isLazy=function(s){return g(s)===p},K.isMemo=function(s){return g(s)===b},K.isPortal=function(s){return g(s)===r},K.isProfiler=function(s){return g(s)===o},K.isStrictMode=function(s){return g(s)===n},K.isSuspense=function(s){return g(s)===l},K.isSuspenseList=function(s){return g(s)===d},K.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===t||s===o||s===n||s===l||s===d||typeof s=="object"&&s!==null&&(s.$$typeof===p||s.$$typeof===b||s.$$typeof===c||s.$$typeof===i||s.$$typeof===u||s.$$typeof===v||s.getModuleId!==void 0)},K.typeOf=g,K}var X={};/**
|
|
120
|
+
* @license React
|
|
121
|
+
* react-is.development.js
|
|
122
|
+
*
|
|
123
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
124
|
+
*
|
|
125
|
+
* This source code is licensed under the MIT license found in the
|
|
126
|
+
* LICENSE file in the root directory of this source tree.
|
|
127
|
+
*/var Kt;function qo(){return Kt||(Kt=1,process.env.NODE_ENV!=="production"&&(function(){function e(s){if(typeof s=="object"&&s!==null){var E=s.$$typeof;switch(E){case r:switch(s=s.type,s){case n:case i:case o:case d:case b:case v:return s;default:switch(s=s&&s.$$typeof,s){case u:case l:case y:case p:return s;case c:return s;default:return E}}case t:return E}}}var r=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");X.ContextConsumer=c,X.ContextProvider=u,X.Element=r,X.ForwardRef=l,X.Fragment=n,X.Lazy=y,X.Memo=p,X.Portal=t,X.Profiler=i,X.StrictMode=o,X.Suspense=d,X.SuspenseList=b,X.isContextConsumer=function(s){return e(s)===c},X.isContextProvider=function(s){return e(s)===u},X.isElement=function(s){return typeof s=="object"&&s!==null&&s.$$typeof===r},X.isForwardRef=function(s){return e(s)===l},X.isFragment=function(s){return e(s)===n},X.isLazy=function(s){return e(s)===y},X.isMemo=function(s){return e(s)===p},X.isPortal=function(s){return e(s)===t},X.isProfiler=function(s){return e(s)===i},X.isStrictMode=function(s){return e(s)===o},X.isSuspense=function(s){return e(s)===d},X.isSuspenseList=function(s){return e(s)===b},X.isValidElementType=function(s){return typeof s=="string"||typeof s=="function"||s===n||s===i||s===o||s===d||s===b||typeof s=="object"&&s!==null&&(s.$$typeof===y||s.$$typeof===p||s.$$typeof===u||s.$$typeof===c||s.$$typeof===l||s.$$typeof===g||s.getModuleId!==void 0)},X.typeOf=e})()),X}var Xt;function Go(){return Xt||(Xt=1,process.env.NODE_ENV==="production"?Er.exports=Uo():Er.exports=qo()),Er.exports}var Qt=Go();function Me(e){if(typeof e!="object"||e===null)return!1;const r=Object.getPrototypeOf(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Jt(e){if(xe.isValidElement(e)||Qt.isValidElementType(e)||!Me(e))return e;const r={};return Object.keys(e).forEach(t=>{r[t]=Jt(e[t])}),r}function he(e,r,t={clone:!0}){const n=t.clone?{...e}:e;return Me(e)&&Me(r)&&Object.keys(r).forEach(o=>{xe.isValidElement(r[o])||Qt.isValidElementType(r[o])?n[o]=r[o]:Me(r[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Me(e[o])?n[o]=he(e[o],r[o],t):t.clone?n[o]=Me(r[o])?Jt(r[o]):r[o]:n[o]=r[o]}),n}const Ho=e=>{const r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,n)=>t.val-n.val),r.reduce((t,n)=>({...t,[n.key]:n.val}),{})};function Ko(e){const{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:n=5,...o}=e,i=Ho(r),c=Object.keys(i);function u(y){return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${t})`}function l(y){return`@media (max-width:${(typeof r[y]=="number"?r[y]:y)-n/100}${t})`}function d(y,v){const g=c.indexOf(v);return`@media (min-width:${typeof r[y]=="number"?r[y]:y}${t}) and (max-width:${(g!==-1&&typeof r[c[g]]=="number"?r[c[g]]:v)-n/100}${t})`}function b(y){return c.indexOf(y)+1<c.length?d(y,c[c.indexOf(y)+1]):u(y)}function p(y){const v=c.indexOf(y);return v===0?u(c[1]):v===c.length-1?l(c[v]):d(y,c[c.indexOf(y)+1]).replace("@media","@media not all and")}return{keys:c,values:i,up:u,down:l,between:d,only:b,not:p,unit:t,...o}}function Zt(e,r){if(!e.containerQueries)return r;const t=Object.keys(r).filter(n=>n.startsWith("@container")).sort((n,o)=>{var c,u;const i=/min-width:\s*([0-9.]+)/;return+(((c=n.match(i))==null?void 0:c[1])||0)-+(((u=o.match(i))==null?void 0:u[1])||0)});return t.length?t.reduce((n,o)=>{const i=r[o];return delete n[o],n[o]=i,n},{...r}):r}function Xo(e,r){return r==="@"||r.startsWith("@")&&(e.some(t=>r.startsWith(`@${t}`))||!!r.match(/^@\d/))}function Qo(e,r){const t=r.match(/^@([^/]+)?\/?(.+)?$/);if(!t){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${r})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
|
|
128
|
+
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:Ie(18,`(${r})`));return null}const[,n,o]=t,i=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(i)}function Jo(e){const r=(i,c)=>i.replace("@media",c?`@container ${c}`:"@container");function t(i,c){i.up=(...u)=>r(e.breakpoints.up(...u),c),i.down=(...u)=>r(e.breakpoints.down(...u),c),i.between=(...u)=>r(e.breakpoints.between(...u),c),i.only=(...u)=>r(e.breakpoints.only(...u),c),i.not=(...u)=>{const l=r(e.breakpoints.not(...u),c);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const n={},o=i=>(t(n,i),n);return t(o),{...e,containerQueries:o}}const Zo={borderRadius:4},Ne=process.env.NODE_ENV!=="production"?tr.oneOfType([tr.number,tr.string,tr.object,tr.array]):{};function nr(e,r){return r?he(e,r,{clone:!1}):e}const wr={xs:0,sm:600,md:900,lg:1200,xl:1536},en={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${wr[e]}px)`},ei={containerQueries:e=>({up:r=>{let t=typeof r=="number"?r:wr[r]||r;return typeof t=="number"&&(t=`${t}px`),e?`@container ${e} (min-width:${t})`:`@container (min-width:${t})`}})};function Ae(e,r,t){const n=e.theme||{};if(Array.isArray(r)){const i=n.breakpoints||en;return r.reduce((c,u,l)=>(c[i.up(i.keys[l])]=t(r[l]),c),{})}if(typeof r=="object"){const i=n.breakpoints||en;return Object.keys(r).reduce((c,u)=>{if(Xo(i.keys,u)){const l=Qo(n.containerQueries?n:ei,u);l&&(c[l]=t(r[u],u))}else if(Object.keys(i.values||wr).includes(u)){const l=i.up(u);c[l]=t(r[u],u)}else{const l=u;c[l]=r[l]}return c},{})}return t(r)}function ri(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function rn(e,r){return e.reduce((t,n)=>{const o=t[n];return(!o||Object.keys(o).length===0)&&delete t[n],t},r)}function tn(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Ie(7));return e.charAt(0).toUpperCase()+e.slice(1)}function $r(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){const n=`vars.${r}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return r.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Or(e,r,t,n=t){let o;return typeof e=="function"?o=e(t):Array.isArray(e)?o=e[t]||n:o=$r(e,t)||n,r&&(o=r(o,n,e)),o}function ne(e){const{prop:r,cssProperty:t=e.prop,themeKey:n,transform:o}=e,i=c=>{if(c[r]==null)return null;const u=c[r],l=c.theme,d=$r(l,n)||{};return Ae(c,u,p=>{let y=Or(d,o,p);return p===y&&typeof p=="string"&&(y=Or(d,o,`${r}${p==="default"?"":tn(p)}`,p)),t===!1?y:{[t]:y}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[r]:Ne}:{},i.filterProps=[r],i}function ti(e){const r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}const ni={m:"margin",p:"padding"},oi={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},nn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ii=ti(e=>{if(e.length>2)if(nn[e])e=nn[e];else return[e];const[r,t]=e.split(""),n=ni[r],o=oi[t]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),_r=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ar=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ai=[..._r,...Ar];function or(e,r,t,n){const o=$r(e,r,!0)??t;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"?`calc(${i} * ${o})`:o*i):Array.isArray(o)?i=>{if(typeof i=="string")return i;const c=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(c)?c>o.length-1&&console.error([`MUI: The value provided (${c}) overflows.`,`The supported values are: ${JSON.stringify(o)}.`,`${c} > ${o.length-1}, you need to add the missing values.`].join(`
|
|
129
|
+
`)):console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
|
|
130
|
+
`)));const u=o[c];return i>=0?u:typeof u=="number"?-u:`-${u}`}:typeof o=="function"?o:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${o}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
131
|
+
`)),()=>{})}function rt(e){return or(e,"spacing",8,"spacing")}function ir(e,r){return typeof r=="string"||r==null?r:e(r)}function si(e,r){return t=>e.reduce((n,o)=>(n[o]=ir(r,t),n),{})}function ci(e,r,t,n){if(!r.includes(t))return null;const o=ii(t),i=si(o,n),c=e[t];return Ae(e,c,i)}function on(e,r){const t=rt(e.theme);return Object.keys(e).map(n=>ci(e,r,n,t)).reduce(nr,{})}function re(e){return on(e,_r)}re.propTypes=process.env.NODE_ENV!=="production"?_r.reduce((e,r)=>(e[r]=Ne,e),{}):{},re.filterProps=_r;function te(e){return on(e,Ar)}te.propTypes=process.env.NODE_ENV!=="production"?Ar.reduce((e,r)=>(e[r]=Ne,e),{}):{},te.filterProps=Ar,process.env.NODE_ENV!=="production"&&ai.reduce((e,r)=>(e[r]=Ne,e),{});function an(e=8,r=rt({spacing:e})){if(e.mui)return e;const t=(...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 c=r(i);return typeof c=="number"?`${c}px`:c}).join(" "));return t.mui=!0,t}function Rr(...e){const r=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),t=n=>Object.keys(n).reduce((o,i)=>r[i]?nr(o,r[i](n)):o,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},t.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),t}function Se(e){return typeof e!="number"?e:`${e}px solid`}function Te(e,r){return ne({prop:e,themeKey:"borders",transform:r})}const ui=Te("border",Se),fi=Te("borderTop",Se),li=Te("borderRight",Se),di=Te("borderBottom",Se),pi=Te("borderLeft",Se),mi=Te("borderColor"),gi=Te("borderTopColor"),hi=Te("borderRightColor"),yi=Te("borderBottomColor"),bi=Te("borderLeftColor"),vi=Te("outline",Se),Si=Te("outlineColor"),Pr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const r=or(e.theme,"shape.borderRadius",4,"borderRadius"),t=n=>({borderRadius:ir(r,n)});return Ae(e,e.borderRadius,t)}return null};Pr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Ne}:{},Pr.filterProps=["borderRadius"],Rr(ui,fi,li,di,pi,mi,gi,hi,yi,bi,Pr,vi,Si);const kr=e=>{if(e.gap!==void 0&&e.gap!==null){const r=or(e.theme,"spacing",8,"gap"),t=n=>({gap:ir(r,n)});return Ae(e,e.gap,t)}return null};kr.propTypes=process.env.NODE_ENV!=="production"?{gap:Ne}:{},kr.filterProps=["gap"];const Ir=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const r=or(e.theme,"spacing",8,"columnGap"),t=n=>({columnGap:ir(r,n)});return Ae(e,e.columnGap,t)}return null};Ir.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Ne}:{},Ir.filterProps=["columnGap"];const Mr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const r=or(e.theme,"spacing",8,"rowGap"),t=n=>({rowGap:ir(r,n)});return Ae(e,e.rowGap,t)}return null};Mr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Ne}:{},Mr.filterProps=["rowGap"];const Ti=ne({prop:"gridColumn"}),Ci=ne({prop:"gridRow"}),xi=ne({prop:"gridAutoFlow"}),Ei=ne({prop:"gridAutoColumns"}),wi=ne({prop:"gridAutoRows"}),$i=ne({prop:"gridTemplateColumns"}),Oi=ne({prop:"gridTemplateRows"}),_i=ne({prop:"gridTemplateAreas"}),Ai=ne({prop:"gridArea"});Rr(kr,Ir,Mr,Ti,Ci,xi,Ei,wi,$i,Oi,_i,Ai);function Ve(e,r){return r==="grey"?r:e}const Ri=ne({prop:"color",themeKey:"palette",transform:Ve}),Pi=ne({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ve}),ki=ne({prop:"backgroundColor",themeKey:"palette",transform:Ve});Rr(Ri,Pi,ki);function ye(e){return e<=1&&e!==0?`${e*100}%`:e}const Ii=ne({prop:"width",transform:ye}),tt=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const r=t=>{var o,i,c,u,l;const n=((c=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:c[t])||wr[t];return n?((l=(u=e.theme)==null?void 0:u.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:ye(t)}};return Ae(e,e.maxWidth,r)}return null};tt.filterProps=["maxWidth"];const Mi=ne({prop:"minWidth",transform:ye}),Ni=ne({prop:"height",transform:ye}),Di=ne({prop:"maxHeight",transform:ye}),Bi=ne({prop:"minHeight",transform:ye});ne({prop:"size",cssProperty:"width",transform:ye}),ne({prop:"size",cssProperty:"height",transform:ye});const ji=ne({prop:"boxSizing"});Rr(Ii,tt,Mi,Ni,Di,Bi,ji);const Nr={border:{themeKey:"borders",transform:Se},borderTop:{themeKey:"borders",transform:Se},borderRight:{themeKey:"borders",transform:Se},borderBottom:{themeKey:"borders",transform:Se},borderLeft:{themeKey:"borders",transform:Se},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Se},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Pr},color:{themeKey:"palette",transform:Ve},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ve},backgroundColor:{themeKey:"palette",transform:Ve},p:{style:te},pt:{style:te},pr:{style:te},pb:{style:te},pl:{style:te},px:{style:te},py:{style:te},padding:{style:te},paddingTop:{style:te},paddingRight:{style:te},paddingBottom:{style:te},paddingLeft:{style:te},paddingX:{style:te},paddingY:{style:te},paddingInline:{style:te},paddingInlineStart:{style:te},paddingInlineEnd:{style:te},paddingBlock:{style:te},paddingBlockStart:{style:te},paddingBlockEnd:{style:te},m:{style:re},mt:{style:re},mr:{style:re},mb:{style:re},ml:{style:re},mx:{style:re},my:{style:re},margin:{style:re},marginTop:{style:re},marginRight:{style:re},marginBottom:{style:re},marginLeft:{style:re},marginX:{style:re},marginY:{style:re},marginInline:{style:re},marginInlineStart:{style:re},marginInlineEnd:{style:re},marginBlock:{style:re},marginBlockStart:{style:re},marginBlockEnd:{style:re},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:kr},rowGap:{style:Mr},columnGap:{style:Ir},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:tt},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 Fi(...e){const r=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),t=new Set(r);return e.every(n=>t.size===Object.keys(n).length)}function Li(e,r){return typeof e=="function"?e(r):e}function Yi(){function e(t,n,o,i){const c={[t]:n,theme:o},u=i[t];if(!u)return{[t]:n};const{cssProperty:l=t,themeKey:d,transform:b,style:p}=u;if(n==null)return null;if(d==="typography"&&n==="inherit")return{[t]:n};const y=$r(o,d)||{};return p?p(c):Ae(c,n,g=>{let s=Or(y,b,g);return g===s&&typeof g=="string"&&(s=Or(y,b,`${t}${g==="default"?"":tn(g)}`,g)),l===!1?s:{[l]:s}})}function r(t){const{sx:n,theme:o={},nested:i}=t||{};if(!n)return null;const c=o.unstable_sxConfig??Nr;function u(l){let d=l;if(typeof l=="function")d=l(o);else if(typeof l!="object")return l;if(!d)return null;const b=ri(o.breakpoints),p=Object.keys(b);let y=b;return Object.keys(d).forEach(v=>{const g=Li(d[v],o);if(g!=null)if(typeof g=="object")if(c[v])y=nr(y,e(v,g,o,c));else{const s=Ae({theme:o},g,E=>({[v]:E}));Fi(s,g)?y[v]=r({sx:g,theme:o,nested:!0}):y=nr(y,s)}else y=nr(y,e(v,g,o,c))}),!i&&o.modularCssLayers?{"@layer sx":Zt(o,rn(p,y))}:Zt(o,rn(p,y))}return Array.isArray(n)?n.map(u):u(n)}return r}const Dr=Yi();Dr.filterProps=["sx"];function Vi(e,r){var n;const t=this;if(t.vars){if(!((n=t.colorSchemes)!=null&&n[e])||typeof t.getColorSchemeSelector!="function")return{};let o=t.getColorSchemeSelector(e);return o==="&"?r:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:r})}return t.palette.mode===e?r:{}}function Wi(e={},...r){const{breakpoints:t={},palette:n={},spacing:o,shape:i={},...c}=e,u=Ko(t),l=an(o);let d=he({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:l,shape:{...Zo,...i}},c);return d=Jo(d),d.applyStyles=Vi,d=r.reduce((b,p)=>he(b,p),d),d.unstable_sxConfig={...Nr,...c==null?void 0:c.unstable_sxConfig},d.unstable_sx=function(p){return Dr({sx:p,theme:this})},d}const sn=e=>e,zi=(()=>{let e=sn;return{configure(r){e=r},generate(r){return e(r)},reset(){e=sn}}})(),Ui={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 qi(e,r,t="Mui"){const n=Ui[r];return n?`${t}-${n}`:`${zi.generate(e)}-${r}`}function Gi(e,r=Number.MIN_SAFE_INTEGER,t=Number.MAX_SAFE_INTEGER){return Math.max(r,Math.min(e,t))}function nt(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),Gi(e,r,t)}function Hi(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&t[0].length===1&&(t=t.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.`),t?`rgb${t.length===4?"a":""}(${t.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function De(e){if(e.type)return e;if(e.charAt(0)==="#")return De(Hi(e));const r=e.indexOf("("),t=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(t))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
132
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Ie(9,e));let n=e.substring(r+1,e.length-1),o;if(t==="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.
|
|
133
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Ie(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:t,values:n,colorSpace:o}}const Ki=e=>{const r=De(e);return r.values.slice(0,3).map((t,n)=>r.type.includes("hsl")&&n!==0?`${t}%`:t).join(" ")},ar=(e,r)=>{try{return Ki(e)}catch{return r&&process.env.NODE_ENV!=="production"&&console.warn(r),e}};function Br(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return r.includes("rgb")?n=n.map((o,i)=>i<3?parseInt(o,10):o):r.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),r.includes("color")?n=`${t} ${n.join(" ")}`:n=`${n.join(", ")}`,`${r}(${n})`}function cn(e){e=De(e);const{values:r}=e,t=r[0],n=r[1]/100,o=r[2]/100,i=n*Math.min(o,1-o),c=(d,b=(d+t/30)%12)=>o-i*Math.max(Math.min(b-3,9-b,1),-1);let u="rgb";const l=[Math.round(c(0)*255),Math.round(c(8)*255),Math.round(c(4)*255)];return e.type==="hsla"&&(u+="a",l.push(r[3])),Br({type:u,values:l})}function ot(e){e=De(e);let r=e.type==="hsl"||e.type==="hsla"?De(cn(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function un(e,r){const t=ot(e),n=ot(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)}function Xi(e,r){return e=De(e),r=nt(r),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${r}`:e.values[3]=r,Br(e)}function jr(e,r,t){try{return Xi(e,r)}catch{return e}}function it(e,r){if(e=De(e),r=nt(r),e.type.includes("hsl"))e.values[2]*=1-r;else if(e.type.includes("rgb")||e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return Br(e)}function Q(e,r,t){try{return it(e,r)}catch{return e}}function at(e,r){if(e=De(e),r=nt(r),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*r;else if(e.type.includes("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.includes("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return Br(e)}function J(e,r,t){try{return at(e,r)}catch{return e}}function Qi(e,r=.15){return ot(e)>.5?it(e,r):at(e,r)}function Fr(e,r,t){try{return Qi(e,r)}catch{return e}}function Ji(e=""){function r(...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}${r(...n.slice(1))})`:`, ${o}`}return(n,...o)=>`var(--${e?`${e}-`:""}${n}${r(...o)})`}const fn=(e,r,t,n=[])=>{let o=e;r.forEach((i,c)=>{c===r.length-1?Array.isArray(o)?o[Number(i)]=t:o&&typeof o=="object"&&(o[i]=t):o&&typeof o=="object"&&(o[i]||(o[i]=n.includes(i)?[]:{}),o=o[i])})},Zi=(e,r,t)=>{function n(o,i=[],c=[]){Object.entries(o).forEach(([u,l])=>{(!t||t&&!t([...i,u]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?n(l,[...i,u],Array.isArray(l)?[...c,u]:c):r([...i,u],l,c))})}n(e)},ea=(e,r)=>typeof r=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(n=>e.includes(n))||e[e.length-1].toLowerCase().includes("opacity")?r:`${r}px`:r;function st(e,r){const{prefix:t,shouldSkipGeneratingVar:n}=r||{},o={},i={},c={};return Zi(e,(u,l,d)=>{if((typeof l=="string"||typeof l=="number")&&(!n||!n(u,l))){const b=`--${t?`${t}-`:""}${u.join("-")}`,p=ea(u,l);Object.assign(o,{[b]:p}),fn(i,u,`var(${b})`,d),fn(c,u,`var(${b}, ${p})`,d)}},u=>u[0]==="vars"),{css:o,vars:i,varsWithDefaults:c}}function ra(e,r={}){const{getSelector:t=E,disableCssColorScheme:n,colorSchemeSelector:o}=r,{colorSchemes:i={},components:c,defaultColorScheme:u="light",...l}=e,{vars:d,css:b,varsWithDefaults:p}=st(l,r);let y=p;const v={},{[u]:g,...s}=i;if(Object.entries(s||{}).forEach(([x,T])=>{const{vars:f,css:C,varsWithDefaults:O}=st(T,r);y=he(y,O),v[x]={css:C,vars:f}}),g){const{css:x,vars:T,varsWithDefaults:f}=st(g,r);y=he(y,f),v[u]={css:x,vars:T}}function E(x,T){var C,O;let f=o;if(o==="class"&&(f=".%s"),o==="data"&&(f="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(f=`[${o}="%s"]`),x){if(f==="media")return e.defaultColorScheme===x?":root":{[`@media (prefers-color-scheme: ${((O=(C=i[x])==null?void 0:C.palette)==null?void 0:O.mode)||x})`]:{":root":T}};if(f)return e.defaultColorScheme===x?`:root, ${f.replace("%s",String(x))}`:f.replace("%s",String(x))}return":root"}return{vars:y,generateThemeVars:()=>{let x={...d};return Object.entries(v).forEach(([,{vars:T}])=>{x=he(x,T)}),x},generateStyleSheets:()=>{var W,k;const x=[],T=e.defaultColorScheme||"light";function f(a,_){Object.keys(_).length&&x.push(typeof a=="string"?{[a]:{..._}}:a)}f(t(void 0,{...b}),b);const{[T]:C,...O}=v;if(C){const{css:a}=C,_=(k=(W=i[T])==null?void 0:W.palette)==null?void 0:k.mode,L=!n&&_?{colorScheme:_,...a}:{...a};f(t(T,{...L}),L)}return Object.entries(O).forEach(([a,{css:_}])=>{var be,_e;const L=(_e=(be=i[a])==null?void 0:be.palette)==null?void 0:_e.mode,ee=!n&&L?{colorScheme:L,..._}:{..._};f(t(a,{...ee}),ee)}),x}}}function ta(e){return function(t){return e==="media"?(process.env.NODE_ENV!=="production"&&t!=="light"&&t!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${t}'.`),`@media (prefers-color-scheme: ${t})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:e==="class"?`.${t} &`:e==="data"?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}const sr={black:"#000",white:"#fff"},na={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"},We={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},ze={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},cr={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ue={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},qe={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ge={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function ln(){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:sr.white,default:sr.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 oa=ln();function dn(){return{text:{primary:sr.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:sr.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 pn=dn();function mn(e,r,t,n){const o=n.light||n,i=n.dark||n*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=at(e.main,o):r==="dark"&&(e.dark=it(e.main,i)))}function ia(e="light"){return e==="dark"?{main:Ue[200],light:Ue[50],dark:Ue[400]}:{main:Ue[700],light:Ue[400],dark:Ue[800]}}function aa(e="light"){return e==="dark"?{main:We[200],light:We[50],dark:We[400]}:{main:We[500],light:We[300],dark:We[700]}}function sa(e="light"){return e==="dark"?{main:ze[500],light:ze[300],dark:ze[700]}:{main:ze[700],light:ze[400],dark:ze[800]}}function ca(e="light"){return e==="dark"?{main:qe[400],light:qe[300],dark:qe[700]}:{main:qe[700],light:qe[500],dark:qe[900]}}function ua(e="light"){return e==="dark"?{main:Ge[400],light:Ge[300],dark:Ge[700]}:{main:Ge[800],light:Ge[500],dark:Ge[900]}}function fa(e="light"){return e==="dark"?{main:cr[400],light:cr[300],dark:cr[700]}:{main:"#ed6c02",light:cr[500],dark:cr[900]}}function ct(e){const{mode:r="light",contrastThreshold:t=3,tonalOffset:n=.2,...o}=e,i=e.primary||ia(r),c=e.secondary||aa(r),u=e.error||sa(r),l=e.info||ca(r),d=e.success||ua(r),b=e.warning||fa(r);function p(s){const E=un(s,pn.text.primary)>=t?pn.text.primary:oa.text.primary;if(process.env.NODE_ENV!=="production"){const w=un(s,E);w<3&&console.error([`MUI: The contrast ratio of ${w}:1 for ${E} on ${s}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
134
|
+
`))}return E}const y=({color:s,name:E,mainShade:w=500,lightShade:A=300,darkShade:x=700})=>{if(s={...s},!s.main&&s[w]&&(s.main=s[w]),!s.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
135
|
+
The color object needs to have a \`main\` property or a \`${w}\` property.`:Ie(11,E?` (${E})`:"",w));if(typeof s.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${E?` (${E})`:""} provided to augmentColor(color) is invalid.
|
|
136
|
+
\`color.main\` should be a string, but \`${JSON.stringify(s.main)}\` was provided instead.
|
|
137
|
+
|
|
138
|
+
Did you intend to use one of the following approaches?
|
|
139
|
+
|
|
140
|
+
import { green } from "@mui/material/colors";
|
|
141
|
+
|
|
142
|
+
const theme1 = createTheme({ palette: {
|
|
143
|
+
primary: green,
|
|
144
|
+
} });
|
|
145
|
+
|
|
146
|
+
const theme2 = createTheme({ palette: {
|
|
147
|
+
primary: { main: green[500] },
|
|
148
|
+
} });`:Ie(12,E?` (${E})`:"",JSON.stringify(s.main)));return mn(s,"light",A,n),mn(s,"dark",x,n),s.contrastText||(s.contrastText=p(s.main)),s};let v;return r==="light"?v=ln():r==="dark"&&(v=dn()),process.env.NODE_ENV!=="production"&&(v||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),he({common:{...sr},mode:r,primary:y({color:i,name:"primary"}),secondary:y({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:y({color:u,name:"error"}),warning:y({color:b,name:"warning"}),info:y({color:l,name:"info"}),success:y({color:d,name:"success"}),grey:na,contrastThreshold:t,getContrastText:p,augmentColor:y,tonalOffset:n,...v},o)}function la(e){const r={};return Object.entries(e).forEach(n=>{const[o,i]=n;typeof i=="object"&&(r[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||""}`)}),r}function da(e,r){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...r}}function pa(e){return Math.round(e*1e5)/1e5}const gn={textTransform:"uppercase"},hn='"Roboto", "Helvetica", "Arial", sans-serif';function ma(e,r){const{fontFamily:t=hn,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:l=16,allVariants:d,pxToRem:b,...p}=typeof r=="function"?r(e):r;process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const y=n/14,v=b||(E=>`${E/l*y}rem`),g=(E,w,A,x,T)=>({fontFamily:t,fontWeight:E,fontSize:v(w),lineHeight:A,...t===hn?{letterSpacing:`${pa(x/w)}em`}:{},...T,...d}),s={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(c,20,1.6,.15),subtitle1:g(i,16,1.75,.15),subtitle2:g(c,14,1.57,.1),body1:g(i,16,1.5,.15),body2:g(i,14,1.43,.15),button:g(c,14,1.75,.4,gn),caption:g(i,12,1.66,.4),overline:g(i,12,2.66,1,gn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return he({htmlFontSize:l,pxToRem:v,fontFamily:t,fontSize:n,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:c,fontWeightBold:u,...s},p,{clone:!1})}const ga=.2,ha=.14,ya=.12;function Z(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ga})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ha})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ya})`].join(",")}const ba=["none",Z(0,2,1,-1,0,1,1,0,0,1,3,0),Z(0,3,1,-2,0,2,2,0,0,1,5,0),Z(0,3,3,-2,0,3,4,0,0,1,8,0),Z(0,2,4,-1,0,4,5,0,0,1,10,0),Z(0,3,5,-1,0,5,8,0,0,1,14,0),Z(0,3,5,-1,0,6,10,0,0,1,18,0),Z(0,4,5,-2,0,7,10,1,0,2,16,1),Z(0,5,5,-3,0,8,10,1,0,3,14,2),Z(0,5,6,-3,0,9,12,1,0,3,16,2),Z(0,6,6,-3,0,10,14,1,0,4,18,3),Z(0,6,7,-4,0,11,15,1,0,4,20,3),Z(0,7,8,-4,0,12,17,2,0,5,22,4),Z(0,7,8,-4,0,13,19,2,0,5,24,4),Z(0,7,9,-4,0,14,21,2,0,5,26,4),Z(0,8,9,-5,0,15,22,2,0,6,28,5),Z(0,8,10,-5,0,16,24,2,0,6,30,5),Z(0,8,11,-5,0,17,26,2,0,6,32,5),Z(0,9,11,-5,0,18,28,2,0,7,34,6),Z(0,9,12,-6,0,19,29,2,0,7,36,6),Z(0,10,13,-6,0,20,31,3,0,8,38,7),Z(0,10,13,-6,0,21,33,3,0,8,40,7),Z(0,10,14,-6,0,22,35,3,0,8,42,7),Z(0,11,14,-7,0,23,36,3,0,9,44,8),Z(0,11,15,-7,0,24,38,3,0,9,46,8)],va={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)"},Sa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function yn(e){return`${Math.round(e)}ms`}function Ta(e){if(!e)return 0;const r=e/36;return Math.min(Math.round((4+15*r**.25+r/5)*10),3e3)}function Ca(e){const r={...va,...e.easing},t={...Sa,...e.duration};return{getAutoHeightDuration:Ta,create:(o=["all"],i={})=>{const{duration:c=t.standard,easing:u=r.easeInOut,delay:l=0,...d}=i;if(process.env.NODE_ENV!=="production"){const b=y=>typeof y=="string",p=y=>!Number.isNaN(parseFloat(y));!b(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(c)&&!b(c)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${c}.`),b(u)||console.error('MUI: Argument "easing" must be a string.'),!p(l)&&!b(l)&&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(`
|
|
149
|
+
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(b=>`${b} ${typeof c=="string"?c:yn(c)} ${u} ${typeof l=="string"?l:yn(l)}`).join(",")},...e,easing:r,duration:t}}const xa={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Ea(e){return Me(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function bn(e={}){const r={...e};function t(n){const o=Object.entries(n);for(let i=0;i<o.length;i++){const[c,u]=o[i];!Ea(u)||c.startsWith("unstable_")?delete n[c]:Me(u)&&(n[c]={...u},t(n[c]))}}return t(r),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
150
|
+
|
|
151
|
+
const theme = ${JSON.stringify(r,null,2)};
|
|
152
|
+
|
|
153
|
+
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
|
|
154
|
+
theme.transitions = createTransitions(theme.transitions || {});
|
|
155
|
+
|
|
156
|
+
export default theme;`}function ut(e={},...r){const{breakpoints:t,mixins:n={},spacing:o,palette:i={},transitions:c={},typography:u={},shape:l,...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.":Ie(20));const b=ct(i),p=Wi(e);let y=he(p,{mixins:da(p.breakpoints,n),palette:b,shadows:ba.slice(),typography:ma(b,u),transitions:Ca(c),zIndex:{...xa}});if(y=he(y,d),y=r.reduce((v,g)=>he(v,g),y),process.env.NODE_ENV!=="production"){const v=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(s,E)=>{let w;for(w in s){const A=s[w];if(v.includes(w)&&Object.keys(A).length>0){if(process.env.NODE_ENV!=="production"){const x=qi("",w);console.error([`MUI: The \`${E}\` component increases the CSS specificity of the \`${w}\` internal state.`,"You can not override it like this: ",JSON.stringify(s,null,2),"",`Instead, you need to use the '&.${x}' syntax:`,JSON.stringify({root:{[`&.${x}`]:A}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
157
|
+
`))}s[w]={}}}};Object.keys(y.components).forEach(s=>{const E=y.components[s].styleOverrides;E&&s.startsWith("Mui")&&g(E,s)})}return y.unstable_sxConfig={...Nr,...d==null?void 0:d.unstable_sxConfig},y.unstable_sx=function(g){return Dr({sx:g,theme:this})},y.toRuntimeSource=bn,y}function wa(e){let r;return e<1?r=5.11916*e**2:r=4.5*Math.log(e+1)+2,Math.round(r*10)/1e3}const $a=[...Array(25)].map((e,r)=>{if(r===0)return"none";const t=wa(r);return`linear-gradient(rgba(255 255 255 / ${t}), rgba(255 255 255 / ${t}))`});function vn(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Sn(e){return e==="dark"?$a:[]}function Oa(e){const{palette:r={mode:"light"},opacity:t,overlays:n,...o}=e,i=ct(r);return{palette:i,opacity:{...vn(i.mode),...t},overlays:n||Sn(i.mode),...o}}function _a(e){var r;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((r=e[1])!=null&&r.match(/(mode|contrastThreshold|tonalOffset)/))}const Aa=e=>[...[...Array(25)].map((r,t)=>`--${e?`${e}-`:""}overlays-${t}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],Ra=e=>(r,t)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===r){if(r==="dark"){const c={};return Aa(e.cssVarPrefix).forEach(u=>{c[u]=t[u],delete t[u]}),i==="media"?{[n]:t,"@media (prefers-color-scheme: dark)":{[n]:c}}:i?{[i.replace("%s",r)]:c,[`${n}, ${i.replace("%s",r)}`]:t}:{[n]:{...t,...c}}}if(i&&i!=="media")return`${n}, ${i.replace("%s",String(r))}`}else if(r){if(i==="media")return{[`@media (prefers-color-scheme: ${String(r)})`]:{[n]:t}};if(i)return i.replace("%s",String(r))}return n};function Pa(e,r){r.forEach(t=>{e[t]||(e[t]={})})}function m(e,r,t){!e[r]&&t&&(e[r]=t)}function ur(e){return typeof e!="string"||!e.startsWith("hsl")?e:cn(e)}function Re(e,r){`${r}Channel`in e||(e[`${r}Channel`]=ar(ur(e[r]),`MUI: Can't create \`palette.${r}Channel\` because \`palette.${r}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
158
|
+
To suppress this warning, you need to explicitly provide the \`palette.${r}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function ka(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Oe=e=>{try{return e()}catch{}},Ia=(e="mui")=>Ji(e);function ft(e,r,t,n){if(!r)return;r=r===!0?{}:r;const o=n==="dark"?"dark":"light";if(!t){e[n]=Oa({...r,palette:{mode:o,...r==null?void 0:r.palette}});return}const{palette:i,...c}=ut({...t,palette:{mode:o,...r==null?void 0:r.palette}});return e[n]={...r,palette:i,opacity:{...vn(o),...r==null?void 0:r.opacity},overlays:(r==null?void 0:r.overlays)||Sn(o)},c}function Ma(e={},...r){const{colorSchemes:t={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:c=_a,colorSchemeSelector:u=t.light&&t.dark?"media":void 0,rootSelector:l=":root",...d}=e,b=Object.keys(t)[0],p=n||(t.light&&b!=="light"?"light":b),y=Ia(i),{[p]:v,light:g,dark:s,...E}=t,w={...E};let A=v;if((p==="dark"&&!("dark"in t)||p==="light"&&!("light"in t))&&(A=!0),!A)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${p}\` option is either missing or invalid.`:Ie(21,p));const x=ft(w,A,d,p);g&&!w.light&&ft(w,g,void 0,"light"),s&&!w.dark&&ft(w,s,void 0,"dark");let T={defaultColorScheme:p,...x,cssVarPrefix:i,colorSchemeSelector:u,rootSelector:l,getCssVar:y,colorSchemes:w,font:{...la(x.typography),...x.font},spacing:ka(d.spacing)};Object.keys(T.colorSchemes).forEach(k=>{const a=T.colorSchemes[k].palette,_=L=>{const ee=L.split("-"),be=ee[1],_e=ee[2];return y(L,a[be][_e])};if(a.mode==="light"&&(m(a.common,"background","#fff"),m(a.common,"onBackground","#000")),a.mode==="dark"&&(m(a.common,"background","#000"),m(a.common,"onBackground","#fff")),Pa(a,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),a.mode==="light"){m(a.Alert,"errorColor",Q(a.error.light,.6)),m(a.Alert,"infoColor",Q(a.info.light,.6)),m(a.Alert,"successColor",Q(a.success.light,.6)),m(a.Alert,"warningColor",Q(a.warning.light,.6)),m(a.Alert,"errorFilledBg",_("palette-error-main")),m(a.Alert,"infoFilledBg",_("palette-info-main")),m(a.Alert,"successFilledBg",_("palette-success-main")),m(a.Alert,"warningFilledBg",_("palette-warning-main")),m(a.Alert,"errorFilledColor",Oe(()=>a.getContrastText(a.error.main))),m(a.Alert,"infoFilledColor",Oe(()=>a.getContrastText(a.info.main))),m(a.Alert,"successFilledColor",Oe(()=>a.getContrastText(a.success.main))),m(a.Alert,"warningFilledColor",Oe(()=>a.getContrastText(a.warning.main))),m(a.Alert,"errorStandardBg",J(a.error.light,.9)),m(a.Alert,"infoStandardBg",J(a.info.light,.9)),m(a.Alert,"successStandardBg",J(a.success.light,.9)),m(a.Alert,"warningStandardBg",J(a.warning.light,.9)),m(a.Alert,"errorIconColor",_("palette-error-main")),m(a.Alert,"infoIconColor",_("palette-info-main")),m(a.Alert,"successIconColor",_("palette-success-main")),m(a.Alert,"warningIconColor",_("palette-warning-main")),m(a.AppBar,"defaultBg",_("palette-grey-100")),m(a.Avatar,"defaultBg",_("palette-grey-400")),m(a.Button,"inheritContainedBg",_("palette-grey-300")),m(a.Button,"inheritContainedHoverBg",_("palette-grey-A100")),m(a.Chip,"defaultBorder",_("palette-grey-400")),m(a.Chip,"defaultAvatarColor",_("palette-grey-700")),m(a.Chip,"defaultIconColor",_("palette-grey-700")),m(a.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),m(a.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),m(a.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),m(a.LinearProgress,"primaryBg",J(a.primary.main,.62)),m(a.LinearProgress,"secondaryBg",J(a.secondary.main,.62)),m(a.LinearProgress,"errorBg",J(a.error.main,.62)),m(a.LinearProgress,"infoBg",J(a.info.main,.62)),m(a.LinearProgress,"successBg",J(a.success.main,.62)),m(a.LinearProgress,"warningBg",J(a.warning.main,.62)),m(a.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.11)`),m(a.Slider,"primaryTrack",J(a.primary.main,.62)),m(a.Slider,"secondaryTrack",J(a.secondary.main,.62)),m(a.Slider,"errorTrack",J(a.error.main,.62)),m(a.Slider,"infoTrack",J(a.info.main,.62)),m(a.Slider,"successTrack",J(a.success.main,.62)),m(a.Slider,"warningTrack",J(a.warning.main,.62));const L=Fr(a.background.default,.8);m(a.SnackbarContent,"bg",L),m(a.SnackbarContent,"color",Oe(()=>a.getContrastText(L))),m(a.SpeedDialAction,"fabHoverBg",Fr(a.background.paper,.15)),m(a.StepConnector,"border",_("palette-grey-400")),m(a.StepContent,"border",_("palette-grey-400")),m(a.Switch,"defaultColor",_("palette-common-white")),m(a.Switch,"defaultDisabledColor",_("palette-grey-100")),m(a.Switch,"primaryDisabledColor",J(a.primary.main,.62)),m(a.Switch,"secondaryDisabledColor",J(a.secondary.main,.62)),m(a.Switch,"errorDisabledColor",J(a.error.main,.62)),m(a.Switch,"infoDisabledColor",J(a.info.main,.62)),m(a.Switch,"successDisabledColor",J(a.success.main,.62)),m(a.Switch,"warningDisabledColor",J(a.warning.main,.62)),m(a.TableCell,"border",J(jr(a.divider,1),.88)),m(a.Tooltip,"bg",jr(a.grey[700],.92))}if(a.mode==="dark"){m(a.Alert,"errorColor",J(a.error.light,.6)),m(a.Alert,"infoColor",J(a.info.light,.6)),m(a.Alert,"successColor",J(a.success.light,.6)),m(a.Alert,"warningColor",J(a.warning.light,.6)),m(a.Alert,"errorFilledBg",_("palette-error-dark")),m(a.Alert,"infoFilledBg",_("palette-info-dark")),m(a.Alert,"successFilledBg",_("palette-success-dark")),m(a.Alert,"warningFilledBg",_("palette-warning-dark")),m(a.Alert,"errorFilledColor",Oe(()=>a.getContrastText(a.error.dark))),m(a.Alert,"infoFilledColor",Oe(()=>a.getContrastText(a.info.dark))),m(a.Alert,"successFilledColor",Oe(()=>a.getContrastText(a.success.dark))),m(a.Alert,"warningFilledColor",Oe(()=>a.getContrastText(a.warning.dark))),m(a.Alert,"errorStandardBg",Q(a.error.light,.9)),m(a.Alert,"infoStandardBg",Q(a.info.light,.9)),m(a.Alert,"successStandardBg",Q(a.success.light,.9)),m(a.Alert,"warningStandardBg",Q(a.warning.light,.9)),m(a.Alert,"errorIconColor",_("palette-error-main")),m(a.Alert,"infoIconColor",_("palette-info-main")),m(a.Alert,"successIconColor",_("palette-success-main")),m(a.Alert,"warningIconColor",_("palette-warning-main")),m(a.AppBar,"defaultBg",_("palette-grey-900")),m(a.AppBar,"darkBg",_("palette-background-paper")),m(a.AppBar,"darkColor",_("palette-text-primary")),m(a.Avatar,"defaultBg",_("palette-grey-600")),m(a.Button,"inheritContainedBg",_("palette-grey-800")),m(a.Button,"inheritContainedHoverBg",_("palette-grey-700")),m(a.Chip,"defaultBorder",_("palette-grey-700")),m(a.Chip,"defaultAvatarColor",_("palette-grey-300")),m(a.Chip,"defaultIconColor",_("palette-grey-300")),m(a.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),m(a.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),m(a.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),m(a.LinearProgress,"primaryBg",Q(a.primary.main,.5)),m(a.LinearProgress,"secondaryBg",Q(a.secondary.main,.5)),m(a.LinearProgress,"errorBg",Q(a.error.main,.5)),m(a.LinearProgress,"infoBg",Q(a.info.main,.5)),m(a.LinearProgress,"successBg",Q(a.success.main,.5)),m(a.LinearProgress,"warningBg",Q(a.warning.main,.5)),m(a.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.13)`),m(a.Slider,"primaryTrack",Q(a.primary.main,.5)),m(a.Slider,"secondaryTrack",Q(a.secondary.main,.5)),m(a.Slider,"errorTrack",Q(a.error.main,.5)),m(a.Slider,"infoTrack",Q(a.info.main,.5)),m(a.Slider,"successTrack",Q(a.success.main,.5)),m(a.Slider,"warningTrack",Q(a.warning.main,.5));const L=Fr(a.background.default,.98);m(a.SnackbarContent,"bg",L),m(a.SnackbarContent,"color",Oe(()=>a.getContrastText(L))),m(a.SpeedDialAction,"fabHoverBg",Fr(a.background.paper,.15)),m(a.StepConnector,"border",_("palette-grey-600")),m(a.StepContent,"border",_("palette-grey-600")),m(a.Switch,"defaultColor",_("palette-grey-300")),m(a.Switch,"defaultDisabledColor",_("palette-grey-600")),m(a.Switch,"primaryDisabledColor",Q(a.primary.main,.55)),m(a.Switch,"secondaryDisabledColor",Q(a.secondary.main,.55)),m(a.Switch,"errorDisabledColor",Q(a.error.main,.55)),m(a.Switch,"infoDisabledColor",Q(a.info.main,.55)),m(a.Switch,"successDisabledColor",Q(a.success.main,.55)),m(a.Switch,"warningDisabledColor",Q(a.warning.main,.55)),m(a.TableCell,"border",Q(jr(a.divider,1),.68)),m(a.Tooltip,"bg",jr(a.grey[700],.92))}Re(a.background,"default"),Re(a.background,"paper"),Re(a.common,"background"),Re(a.common,"onBackground"),Re(a,"divider"),Object.keys(a).forEach(L=>{const ee=a[L];L!=="tonalOffset"&&ee&&typeof ee=="object"&&(ee.main&&m(a[L],"mainChannel",ar(ur(ee.main))),ee.light&&m(a[L],"lightChannel",ar(ur(ee.light))),ee.dark&&m(a[L],"darkChannel",ar(ur(ee.dark))),ee.contrastText&&m(a[L],"contrastTextChannel",ar(ur(ee.contrastText))),L==="text"&&(Re(a[L],"primary"),Re(a[L],"secondary")),L==="action"&&(ee.active&&Re(a[L],"active"),ee.selected&&Re(a[L],"selected")))})}),T=r.reduce((k,a)=>he(k,a),T);const f={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:c,getSelector:Ra(T)},{vars:C,generateThemeVars:O,generateStyleSheets:W}=ra(T,f);return T.vars=C,Object.entries(T.colorSchemes[T.defaultColorScheme]).forEach(([k,a])=>{T[k]=a}),T.generateThemeVars=O,T.generateStyleSheets=W,T.generateSpacing=function(){return an(d.spacing,rt(this))},T.getColorSchemeSelector=ta(u),T.spacing=T.generateSpacing(),T.shouldSkipGeneratingVar=c,T.unstable_sxConfig={...Nr,...d==null?void 0:d.unstable_sxConfig},T.unstable_sx=function(a){return Dr({sx:a,theme:this})},T.toRuntimeSource=bn,T}function Tn(e,r,t){e.colorSchemes&&t&&(e.colorSchemes[r]={...t!==!0&&t,palette:ct({...t===!0?{}:t.palette,mode:r})})}function Na(e={},...r){const{palette:t,cssVariables:n=!1,colorSchemes:o=t?void 0:{light:!0},defaultColorScheme:i=t==null?void 0:t.mode,...c}=e,u=i||"light",l=o==null?void 0:o[u],d={...o,...t?{[u]:{...typeof l!="boolean"&&l,palette:t}}:void 0};if(n===!1){if(!("colorSchemes"in e))return ut(e,...r);let b=t;"palette"in e||d[u]&&(d[u]!==!0?b=d[u].palette:u==="dark"&&(b={mode:"dark"}));const p=ut({...e,palette:b},...r);return p.defaultColorScheme=u,p.colorSchemes=d,p.palette.mode==="light"&&(p.colorSchemes.light={...d.light!==!0&&d.light,palette:p.palette},Tn(p,"dark",d.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:p.palette},Tn(p,"light",d.light)),p}return!t&&!("light"in d)&&u==="light"&&(d.light=!0),Ma({...c,colorSchemes:d,defaultColorScheme:u,...typeof n!="boolean"&&n},...r)}const He=e=>e,Da=He({50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#7D7D7D",600:"#5A5A5A",700:"#3F3F3F",800:"#2d2d2d",900:"#1f1f1f",950:"#121212"}),Ba=He({50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"}),ja=He({50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"}),Fa=He({50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"}),La=He({50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"}),Ya=He({50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"}),P={primary:Da,blue:Ba,green:ja,red:Fa,yellow:La,purple:Ya};function Va(e){return{text:{primary:e.primary[900],secondary:e.primary[700],tertiary:e.primary[500],danger:e.red[600],success:e.green[600],warning:e.yellow[700],info:e.blue[600],onDark:e.primary[50],inverted:e.blue[500],disabled:e.primary[300]},link:{default:e.blue[600],hover:e.blue[700],pressed:e.blue[800],visited:e.purple[600]},icon:{primary:e.primary[900],secondary:e.primary[700],tertiary:e.primary[500],danger:e.red[600],success:e.green[600],warning:e.yellow[700],info:e.blue[600],onDark:e.primary[50],inverted:e.blue[500],disabled:e.primary[300]},border:{primary:e.primary[400],secondary:e.primary[300],tertiary:e.primary[200],danger:e.red[400],success:e.green[400],warning:e.yellow[400],info:e.blue[400],onDark:e.primary[600],inverted:e.blue[400],disabled:e.primary[200]},background:{primary:e.primary[50],secondary:e.primary[100],tertiary:e.primary[200],overlay:"rgba(0,0,0,0.5)",disabled:e.primary[200],field:e.primary[50],canvas:e.primary[50],card:"#ffffff",cardInverted:e.primary[900],focus:e.green[100],hover:e.primary[100],pressed:e.primary[200],selected:e.green[50],selectedHover:e.green[100],selectedPressed:e.green[200],selectedFocussed:e.green[100],danger:e.red[600],dangerLight:e.red[50],success:e.green[600],successLight:e.green[50],warning:e.yellow[700],warningLight:e.yellow[50],info:e.blue[600],infoLight:e.blue[50],buttonPrimary:e.green[600],buttonPrimaryHover:e.green[700],buttonPrimaryPressed:e.green[800],buttonSecondary:e.primary[200],buttonSecondaryHover:e.primary[300],buttonSecondaryPressed:e.primary[400],tag:e.primary[200],tagHover:e.primary[300],tagPressed:e.primary[400],badge:e.primary[200],badgeInverted:e.primary[800]},shadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)"}}}const ue=Va(P),Wa={mode:"light",primary:{main:P.green[600],light:P.green[500],dark:P.green[700],contrastText:P.primary[50]},secondary:{main:P.primary[700],light:P.primary[600],dark:P.primary[800],contrastText:P.primary[50]},error:{main:P.red[600],light:P.red[500],dark:P.red[700],contrastText:P.primary[50]},warning:{main:P.yellow[700],light:P.yellow[600],dark:P.yellow[800],contrastText:P.primary[900]},success:{main:P.green[600],light:P.green[500],dark:P.green[700],contrastText:P.primary[50]},info:{main:P.blue[600],light:P.blue[500],dark:P.blue[700],contrastText:P.primary[50]},text:{primary:ue.text.primary,secondary:ue.text.secondary,disabled:ue.text.disabled},background:{default:ue.background.primary,paper:ue.background.card},grey:{50:P.primary[50],100:P.primary[100],200:P.primary[200],300:P.primary[300],400:P.primary[400],500:P.primary[500],600:P.primary[600],700:P.primary[700],800:P.primary[800],900:P.primary[900],A100:P.primary[200],A200:P.primary[400],A400:P.primary[600],A700:P.primary[800]},action:{active:P.primary[400],hover:ue.background.hover,hoverOpacity:1,selected:ue.background.selected,selectedOpacity:1,disabled:ue.text.disabled,disabledOpacity:1,disabledBackground:ue.background.disabled,focus:ue.background.focus,focusOpacity:1,activatedOpacity:1}},za=Na({palette:Wa,typography:{fontFamily:'"Inter", "Helvetica", "Arial", sans-serif',button:{textTransform:"none"}},shape:{borderRadius:8},designTokens:ue,custom:{base_card_ui:{borderRadius:"8px",border:`1px solid ${ue.border.secondary}`,background:ue.background.card,padding:"16px 20px",boxShadow:ue.shadow.sm}},components:{MuiButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,boxShadow:"none",textTransform:"none"}),containedPrimary:({theme:e})=>({backgroundColor:e.designTokens.background.buttonPrimary,"&:hover":{backgroundColor:e.designTokens.background.buttonPrimaryHover},"&:active":{backgroundColor:e.designTokens.background.buttonPrimaryPressed}}),containedSecondary:({theme:e})=>({backgroundColor:e.designTokens.background.buttonSecondary,color:e.designTokens.text.primary,"&:hover":{backgroundColor:e.designTokens.background.buttonSecondaryHover},"&:active":{backgroundColor:e.designTokens.background.buttonSecondaryPressed}}),outlined:({theme:e})=>({borderColor:e.designTokens.border.primary,color:e.designTokens.text.primary,"&:hover":{borderColor:e.designTokens.border.secondary,backgroundColor:e.designTokens.background.hover}})}},MuiPaper:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,border:`1px solid ${e.designTokens.border.tertiary}`,boxShadow:e.designTokens.shadow.sm,background:e.designTokens.background.card})}},MuiCard:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,border:`1px solid ${e.designTokens.border.tertiary}`,boxShadow:e.designTokens.shadow.sm,background:e.designTokens.background.card})}},MuiTextField:{styleOverrides:{root:({theme:e})=>({"& .MuiOutlinedInput-root":{borderRadius:e.shape.borderRadius,"& fieldset":{borderColor:e.designTokens.border.secondary},"&:hover fieldset":{borderColor:e.designTokens.border.primary},"&.Mui-focused fieldset":{borderColor:e.palette.primary.main,borderWidth:1}}})}},MuiChip:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius,backgroundColor:e.designTokens.background.tag,borderColor:e.designTokens.border.tertiary,"&:hover":{backgroundColor:e.designTokens.background.tagHover}})}}}});me.DTFilterButton=Do,me.theme=za,me.tokens=ue,Object.defineProperty(me,Symbol.toStringTag,{value:"Module"})}));
|