@ankit119/doubletick-components 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/doubletick-components.css +1 -0
- package/dist/doubletick-components.js +5211 -0
- package/dist/doubletick-components.js.map +1 -0
- package/dist/doubletick-components.umd.cjs +166 -0
- package/dist/doubletick-components.umd.cjs.map +1 -0
- package/dist/index.d.ts +271 -0
- package/package.json +66 -0
|
@@ -0,0 +1,166 @@
|
|
|
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
|
|
2
|
+
* react-is.production.min.js
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the MIT license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/var Rt;function vo(){if(Rt)return G;Rt=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 G.AsyncMode=l,G.ConcurrentMode=d,G.ContextConsumer=u,G.ContextProvider=c,G.Element=r,G.ForwardRef=m,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 C(f)||E(f)===l},G.isConcurrentMode=C,G.isContextConsumer=function(f){return E(f)===u},G.isContextProvider=function(f){return E(f)===c},G.isElement=function(f){return typeof f=="object"&&f!==null&&f.$$typeof===r},G.isForwardRef=function(f){return E(f)===m},G.isFragment=function(f){return E(f)===n},G.isLazy=function(f){return E(f)===g},G.isMemo=function(f){return E(f)===v},G.isPortal=function(f){return E(f)===t},G.isProfiler=function(f){return E(f)===i},G.isStrictMode=function(f){return E(f)===o},G.isSuspense=function(f){return E(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===m||f.$$typeof===x||f.$$typeof===w||f.$$typeof===A||f.$$typeof===s)},G.typeOf=E,G}var H={};/** @license React v16.13.1
|
|
9
|
+
* react-is.development.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/var kt;function So(){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}H.AsyncMode=f,H.ConcurrentMode=S,H.ContextConsumer=$,H.ContextProvider=I,H.Element=P,H.ForwardRef=a,H.Fragment=_,H.Lazy=N,H.Memo=F,H.Portal=ie,H.Profiler=ae,H.StrictMode=ue,H.Suspense=ge,H.isAsyncMode=Le,H.isConcurrentMode=T,H.isContextConsumer=O,H.isContextProvider=j,H.isElement=D,H.isForwardRef=R,H.isFragment=L,H.isLazy=M,H.isMemo=B,H.isPortal=V,H.isProfiler=q,H.isStrictMode=z,H.isSuspense=pe,H.isValidElementType=E,H.typeOf=C})()),H}var It;function To(){return It||(It=1,process.env.NODE_ENV==="production"?Er.exports=vo():Er.exports=So()),Er.exports}var Xr,Mt;function xo(){if(Mt)return Xr;Mt=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,m=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,y=Object.prototype;function v(g,s,x){if(typeof s!="string"){if(y){var w=p(s);w&&w!==y&&v(g,w,x)}var A=l(s);d&&(A=A.concat(d(s)));for(var E=c(g),C=c(s),f=0;f<A.length;++f){var S=A[f];if(!t[S]&&!(x&&x[S])&&!(C&&C[S])&&!(E&&E[S])){var $=m(s,S);try{u(g,S,$)}catch{}}}}return g}return Xr=v,Xr}xo();var Co=!0;function Eo(e,r,t){var n="";return t.split(" ").forEach(function(o){e[o]!==void 0?r.push(e[o]+";"):o&&(n+=o+" ")}),n}var Nt=function(r,t,n){var o=r.key+"-"+t.name;(n===!1||Co===!1)&&r.registered[o]===void 0&&(r.registered[o]=t.styles)},wo=function(r,t,n){Nt(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 $o(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 Oo={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},_o=/[A-Z]|^ms/g,Ao=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Dt=function(r){return r.charCodeAt(1)===45},Bt=function(r){return r!=null&&typeof r!="boolean"},Jr=co(function(e){return Dt(e)?e:e.replace(_o,"-$&").toLowerCase()}),jt=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(Ao,function(n,o,i){return Ae={name:o,styles:i,next:Ae},o})}return Oo[r]!==1&&!Dt(r)&&typeof t=="number"&&t!==0?t+"px":t};function sr(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 Ae={name:o.name,styles:o.styles,next:Ae},o.name;var i=t;if(i.styles!==void 0){var c=i.next;if(c!==void 0)for(;c!==void 0;)Ae={name:c.name,styles:c.styles,next:Ae},c=c.next;var u=i.styles+";";return u}return Po(e,r,t)}case"function":{if(e!==void 0){var l=Ae,d=t(e);return Ae=l,sr(e,r,d)}break}}var m=t;return m}function Po(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o<t.length;o++)n+=sr(e,r,t[o])+";";else for(var i in t){var c=t[i];if(typeof c!="object"){var u=c;Bt(u)&&(n+=Jr(i)+":"+jt(i,u)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&r==null)for(var l=0;l<c.length;l++)Bt(c[l])&&(n+=Jr(i)+":"+jt(i,c[l])+";");else{var d=sr(e,r,c);switch(i){case"animation":case"animationName":{n+=Jr(i)+":"+d+";";break}default:n+=i+"{"+d+"}"}}}return n}var Ft=/label:\s*([^\s;{]+)\s*(;|$)/g,Ae;function Lt(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="";Ae=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,o+=sr(t,r,i);else{var c=i;o+=c[0]}for(var u=1;u<e.length;u++)if(o+=sr(t,r,e[u]),n){var l=i;o+=l[u]}Ft.lastIndex=0;for(var d="",m;(m=Ft.exec(o))!==null;)d+="-"+m[1];var p=$o(o)+d;return{name:p,styles:o,next:Ae}}var Ro=function(r){return r()},ko=le.useInsertionEffect?le.useInsertionEffect:!1,Io=ko||Ro,Vt=le.createContext(typeof HTMLElement<"u"?ho({key:"css"}):null);Vt.Provider;var Mo=function(r){return Ee.forwardRef(function(t,n){var o=Ee.useContext(Vt);return r(t,o,n)})},No=le.createContext({}),wr={}.hasOwnProperty,Zr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zt=function(r,t){var n={};for(var o in t)wr.call(t,o)&&(n[o]=t[o]);return n[Zr]=r,n},Do=function(r){var t=r.cache,n=r.serialized,o=r.isStringTag;return Nt(t,n,o),Io(function(){return wo(t,n,o)}),null},Bo=Mo(function(e,r,t){var n=e.css;typeof n=="string"&&r.registered[n]!==void 0&&(n=r.registered[n]);var o=e[Zr],i=[n],c="";typeof e.className=="string"?c=Eo(r.registered,i,e.className):e.className!=null&&(c=e.className+" ");var u=Lt(i,void 0,le.useContext(No));c+=r.key+"-"+u.name;var l={};for(var d in e)wr.call(e,d)&&d!=="css"&&d!==Zr&&(l[d]=e[d]);return l.className=c,t&&(l.ref=t),le.createElement(le.Fragment,null,le.createElement(Do,{cache:r,serialized:u,isStringTag:typeof o=="string"}),le.createElement(o,l))}),Yt=Bo,jo=tr.Fragment,be=function(r,t,n){return wr.call(t,"css")?tr.jsx(Yt,zt(r,t),n):tr.jsx(r,t,n)},Ge=function(r,t,n){return wr.call(t,"css")?tr.jsxs(Yt,zt(r,t),n):tr.jsxs(r,t,n)},$r={exports:{}},X={};/**
|
|
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`
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
padding: 7px 8px 8px 12px;
|
|
92
|
+
border: 1px solid #e0e0e9;
|
|
93
|
+
border-radius: 4px;
|
|
94
|
+
background: #fff;
|
|
95
|
+
min-width: 80px;
|
|
96
|
+
max-width: 320px;
|
|
97
|
+
width: fit-content;
|
|
98
|
+
height: 40px;
|
|
99
|
+
justify-content: space-between;
|
|
100
|
+
gap: 8px;
|
|
101
|
+
`,fs=ye.css`
|
|
102
|
+
opacity: 0.5;
|
|
103
|
+
cursor: not-allowed;
|
|
104
|
+
`,ds=ye.css`
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
font-weight: 500;
|
|
107
|
+
color: #2d2d2d;
|
|
108
|
+
white-space: nowrap;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
text-overflow: ellipsis;
|
|
111
|
+
text-align: left;
|
|
112
|
+
max-width: 200px;
|
|
113
|
+
`,ps=ye.css`
|
|
114
|
+
width: 18px;
|
|
115
|
+
height: 18px;
|
|
116
|
+
color: #7a7a7a;
|
|
117
|
+
transition: transform 0.2s;
|
|
118
|
+
`,ms=ye.css`
|
|
119
|
+
transform: rotate(180deg);
|
|
120
|
+
`,gs=ye.css`
|
|
121
|
+
font-size: 14px;
|
|
122
|
+
font-weight: 500;
|
|
123
|
+
color: #2d2d2d;
|
|
124
|
+
`,ys=ye.css`
|
|
125
|
+
font-size: 14px;
|
|
126
|
+
border-radius: 4px;
|
|
127
|
+
padding: 1px 2px;
|
|
128
|
+
color: #fff;
|
|
129
|
+
height: 20px;
|
|
130
|
+
min-width: 20px;
|
|
131
|
+
align-items: center;
|
|
132
|
+
display: flex;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
background: #3d906d;
|
|
135
|
+
`,hs=ye.css`
|
|
136
|
+
padding: 8px;
|
|
137
|
+
border-bottom: 1px solid #e0e0e9;
|
|
138
|
+
`,bs=e=>ye.css({maxHeight:e?"240px":"280px",overflowY:"auto"}),jn=ye.css`
|
|
139
|
+
padding: 16px;
|
|
140
|
+
text-align: center;
|
|
141
|
+
`,Fn=ye.css`
|
|
142
|
+
font-size: 14px;
|
|
143
|
+
color: #7a7a7a;
|
|
144
|
+
`,vs=ye.css`
|
|
145
|
+
padding: 6px 12px;
|
|
146
|
+
min-height: 36px;
|
|
147
|
+
&:hover {
|
|
148
|
+
background-color: rgba(93, 183, 121, 0.08);
|
|
149
|
+
}
|
|
150
|
+
`,Ss=ye.css`
|
|
151
|
+
min-height: 36px;
|
|
152
|
+
&:hover {
|
|
153
|
+
background-color: rgba(93, 183, 121, 0.08);
|
|
154
|
+
}
|
|
155
|
+
&.Mui-selected {
|
|
156
|
+
background-color: rgba(93, 183, 121, 0.12);
|
|
157
|
+
&:hover {
|
|
158
|
+
background-color: rgba(93, 183, 121, 0.16);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
`,Ts=ye.css`
|
|
162
|
+
font-size: 14px;
|
|
163
|
+
font-weight: 400;
|
|
164
|
+
color: #2d2d2d;
|
|
165
|
+
`,xs={padding:0,marginRight:"8px",color:"#7a7a7a","&.Mui-checked":{color:"#3d906d"}},Cs="No options found";function Es(e){const{placeholder:r,options:t,disabled:n=!1,variant:o}=e,[i,c]=Ee.useState(!1),[u,l]=Ee.useState(""),d=Ee.useRef(null),m=Ee.useRef(null),p=e.searchable,y=Ee.useMemo(()=>!p||!u.trim()?t:t.filter(S=>S.name.toLowerCase().includes(u.toLowerCase())),[t,u,p]),v=o==="multi",g=v?e:null,s=v?null:e,x=Ee.useCallback(S=>{if(!g)return;const{value:$,onChange:I}=g;if(S==="all"){if($.length===0){I(["all"]);return}if(!$.includes("all")&&$.length>0){I(["all"]);return}I([]);return}if($.includes("all")){I(t.filter(P=>P.id!==S&&P.id!=="all").map(P=>P.id));return}if($.includes(S))I($.filter(P=>P!==S));else{const P=[...$,S];if(P.length===t.filter(a=>a.id!=="all").length){I(["all"]);return}I(P)}},[g,t]),w=Ee.useCallback(S=>{if(!s)return;const{customOptionIds:$,onCustomSelect:I,onChange:P}=s;if($!=null&&$.includes(S)&&I){I(S),c(!1);return}P(S),c(!1)},[s]),A=Ee.useMemo(()=>{if(v&&g){const{value:S,label:$}=g,I=t;if(S.length===0||S.length===I.length||S.length===I.filter(P=>P.id!=="all").length)return r;if(S.length===1){const P=I.find(a=>a.id===S[0]);return(P==null?void 0:P.name)||r}return Ge(ce.Stack,{direction:"row",alignItems:"center",gap:1,children:[be(ce.Typography,{css:gs,children:$??""}),be(ce.Typography,{css:ys,children:S.length})]})}if(!v&&s){const{value:S,getDisplayValue:$}=s;if($){const P=$(S);if(P!=null&&P!=="")return P}if(!S||S==="all")return r;const I=t.find(P=>P.id===S);return(I==null?void 0:I.name)??r}return r},[v,g,s,t,r]);Ee.useEffect(()=>{i&&p&&setTimeout(()=>{var S;return(S=m.current)==null?void 0:S.focus()},100),i||l("")},[i,p]);const E=!!p,C=v&&(g==null?void 0:g.loading),f=(v?g==null?void 0:g.noOptionsText:void 0)??Cs;return Ge(jo,{children:[Ge(ce.ButtonBase,{ref:d,onClick:()=>c(!0),disabled:n,css:[ls,n&&fs],children:[be(ce.Typography,{css:ds,children:A}),be(us,{css:[ps,i&&ms]})]}),Ge(ce.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:[E&&be(ce.Box,{css:hs,children:be(ce.TextField,{inputRef:m,size:"small",placeholder:"Search...",value:u,onChange:S=>l(S.target.value),fullWidth:!0,autoComplete:"off",sx:{"& .MuiOutlinedInput-root":{height:"32px",fontSize:"14px",borderRadius:"4px"}},onKeyDown:S=>S.stopPropagation()})}),Ge(ce.Box,{css:bs(E),children:[C&&be(ce.Box,{css:jn,children:be(ce.Typography,{css:Fn,children:"Loading..."})}),!C&&y.length===0&&be(ce.Box,{css:jn,children:be(ce.Typography,{css:Fn,children:f})}),!C&&y.length>0&&(v?y.map(S=>Ge(ce.MenuItem,{onClick:()=>x(S.id),css:vs,children:[be(ce.Checkbox,{checked:g.value.includes(S.id)||g.value.includes("all"),size:"small",sx:xs}),be(ce.ListItemText,{primary:S.name,primaryTypographyProps:{fontSize:"14px",fontWeight:400,color:"#2d2d2d"}})]},S.id)):y.map(S=>be(ce.MenuItem,{onClick:()=>w(S.id),selected:s.value===S.id,css:Ss,children:be(ce.Typography,{css:Ts,children:S.name})},S.id)))]})]})]})}const rr=e=>e,ws=rr({50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#7D7D7D",600:"#5A5A5A",700:"#3F3F3F",800:"#2d2d2d",900:"#1f1f1f",950:"#121212"}),$s=rr({50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"}),Os=rr({50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"}),_s=rr({50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"}),As=rr({50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"}),Ps=rr({50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"}),k={primary:ws,blue:$s,green:Os,red:_s,yellow:As,purple:Ps};function Rs(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 me=Rs(k),ks={mode:"light",primary:{main:k.green[600],light:k.green[500],dark:k.green[700],contrastText:k.primary[50]},secondary:{main:k.primary[700],light:k.primary[600],dark:k.primary[800],contrastText:k.primary[50]},error:{main:k.red[600],light:k.red[500],dark:k.red[700],contrastText:k.primary[50]},warning:{main:k.yellow[700],light:k.yellow[600],dark:k.yellow[800],contrastText:k.primary[900]},success:{main:k.green[600],light:k.green[500],dark:k.green[700],contrastText:k.primary[50]},info:{main:k.blue[600],light:k.blue[500],dark:k.blue[700],contrastText:k.primary[50]},text:{primary:me.text.primary,secondary:me.text.secondary,disabled:me.text.disabled},background:{default:me.background.primary,paper:me.background.card},grey:{50:k.primary[50],100:k.primary[100],200:k.primary[200],300:k.primary[300],400:k.primary[400],500:k.primary[500],600:k.primary[600],700:k.primary[700],800:k.primary[800],900:k.primary[900],A100:k.primary[200],A200:k.primary[400],A400:k.primary[600],A700:k.primary[800]},action:{active:k.primary[400],hover:me.background.hover,hoverOpacity:1,selected:me.background.selected,selectedOpacity:1,disabled:me.text.disabled,disabledOpacity:1,disabledBackground:me.background.disabled,focus:me.background.focus,focusOpacity:1,activatedOpacity:1}},Is=Bn({palette:ks,typography:{fontFamily:'"Inter", "Helvetica", "Arial", sans-serif',button:{textTransform:"none"}},shape:{borderRadius:8},designTokens:me,custom:{base_card_ui:{borderRadius:"8px",border:`1px solid ${me.border.secondary}`,background:me.background.card,padding:"16px 20px",boxShadow:me.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}})}}}});Se.DTFilterButton=Es,Se.theme=Is,Se.tokens=me,Object.defineProperty(Se,Symbol.toStringTag,{value:"Module"})}));
|
|
166
|
+
//# sourceMappingURL=doubletick-components.umd.cjs.map
|