p3x-redis-ui-material
Version:
💿 P3X Redis UI triple frontend — Angular + React/MUI + Vue/Vuetify with 54 languages, 7 themes, Socket.IO, desktop notifications, and full feature parity
106 lines • 99.9 kB
JavaScript
import{i as e,t}from"./rolldown-runtime-Dd_uD5pT.js";import{o as n}from"./i18n.store-ZJjZbIIr.js";import{t as r}from"./extends-CvVTau-c.js";var i=t((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),a=t(((e,t)=>{t.exports=i()})),o=a(),s=e(n()),c={black:`#000`,white:`#fff`},l={50:`#ffebee`,100:`#ffcdd2`,200:`#ef9a9a`,300:`#e57373`,400:`#ef5350`,500:`#f44336`,600:`#e53935`,700:`#d32f2f`,800:`#c62828`,900:`#b71c1c`,A100:`#ff8a80`,A200:`#ff5252`,A400:`#ff1744`,A700:`#d50000`},u={50:`#f3e5f5`,100:`#e1bee7`,200:`#ce93d8`,300:`#ba68c8`,400:`#ab47bc`,500:`#9c27b0`,600:`#8e24aa`,700:`#7b1fa2`,800:`#6a1b9a`,900:`#4a148c`,A100:`#ea80fc`,A200:`#e040fb`,A400:`#d500f9`,A700:`#aa00ff`},d={50:`#e3f2fd`,100:`#bbdefb`,200:`#90caf9`,300:`#64b5f6`,400:`#42a5f5`,500:`#2196f3`,600:`#1e88e5`,700:`#1976d2`,800:`#1565c0`,900:`#0d47a1`,A100:`#82b1ff`,A200:`#448aff`,A400:`#2979ff`,A700:`#2962ff`},f={50:`#e1f5fe`,100:`#b3e5fc`,200:`#81d4fa`,300:`#4fc3f7`,400:`#29b6f6`,500:`#03a9f4`,600:`#039be5`,700:`#0288d1`,800:`#0277bd`,900:`#01579b`,A100:`#80d8ff`,A200:`#40c4ff`,A400:`#00b0ff`,A700:`#0091ea`},p={50:`#e8f5e9`,100:`#c8e6c9`,200:`#a5d6a7`,300:`#81c784`,400:`#66bb6a`,500:`#4caf50`,600:`#43a047`,700:`#388e3c`,800:`#2e7d32`,900:`#1b5e20`,A100:`#b9f6ca`,A200:`#69f0ae`,A400:`#00e676`,A700:`#00c853`},m={50:`#fff3e0`,100:`#ffe0b2`,200:`#ffcc80`,300:`#ffb74d`,400:`#ffa726`,500:`#ff9800`,600:`#fb8c00`,700:`#f57c00`,800:`#ef6c00`,900:`#e65100`,A100:`#ffd180`,A200:`#ffab40`,A400:`#ff9100`,A700:`#ff6d00`},h={50:`#fafafa`,100:`#f5f5f5`,200:`#eeeeee`,300:`#e0e0e0`,400:`#bdbdbd`,500:`#9e9e9e`,600:`#757575`,700:`#616161`,800:`#424242`,900:`#212121`,A100:`#f5f5f5`,A200:`#eeeeee`,A400:`#bdbdbd`,A700:`#616161`};function g(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var _=`$$material`;function v(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function y(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var b=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(y(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=v(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),x=`-ms-`,S=`-moz-`,C=`-webkit-`,w=`comm`,ee=`rule`,te=`decl`,ne=`@import`,re=`@keyframes`,ie=`@layer`,ae=Math.abs,oe=String.fromCharCode,se=Object.assign;function ce(e,t){return E(e,0)^45?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}function le(e){return e.trim()}function ue(e,t){return(e=t.exec(e))?e[0]:e}function T(e,t,n){return e.replace(t,n)}function de(e,t){return e.indexOf(t)}function E(e,t){return e.charCodeAt(t)|0}function D(e,t,n){return e.slice(t,n)}function O(e){return e.length}function fe(e){return e.length}function k(e,t){return t.push(e),e}function pe(e,t){return e.map(t).join(``)}var me=1,A=1,he=0,j=0,M=0,ge=``;function _e(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:me,column:A,length:o,return:``}}function ve(e,t){return se(_e(``,null,null,``,null,null,0),e,{length:-e.length},t)}function ye(){return M}function be(){return M=j>0?E(ge,--j):0,A--,M===10&&(A=1,me--),M}function N(){return M=j<he?E(ge,j++):0,A++,M===10&&(A=1,me++),M}function P(){return E(ge,j)}function xe(){return j}function Se(e,t){return D(ge,e,t)}function Ce(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 we(e){return me=A=1,he=O(ge=e),j=0,[]}function Te(e){return ge=``,e}function Ee(e){return le(Se(j-1,ke(e===91?e+2:e===40?e+1:e)))}function De(e){for(;(M=P())&&M<33;)N();return Ce(e)>2||Ce(M)>3?``:` `}function Oe(e,t){for(;--t&&N()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return Se(e,xe()+(t<6&&P()==32&&N()==32))}function ke(e){for(;N();)switch(M){case e:return j;case 34:case 39:e!==34&&e!==39&&ke(M);break;case 40:e===41&&ke(e);break;case 92:N()}return j}function Ae(e,t){for(;N()&&e+M!==57&&(e+M!==84||P()!==47););return`/*`+Se(t,j-1)+`*`+oe(e===47?e:N())}function je(e){for(;!Ce(P());)N();return Se(e,j)}function Me(e){return Te(Ne(``,null,null,null,[``],e=we(e),0,[0],e))}function Ne(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=N()){case 40:if(m!=108&&E(C,d-1)==58){de(C+=T(Ee(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Ee(v);break;case 9:case 10:case 13:case 32:C+=De(m);break;case 92:C+=Oe(xe()-1,7);continue;case 47:switch(P()){case 42:case 47:k(Fe(Ae(N(),xe()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=O(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=T(C,/\f/g,``)),p>0&&O(C)-d&&k(p>32?Ie(C+`;`,r,n,d-1):Ie(T(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(k(S=Pe(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)Ne(C,t,S,S,b,a,d,s,x);else switch(f===99&&E(C,3)===110?100:f){case 100:case 108:case 109:case 115:Ne(e,S,S,r&&k(Pe(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Ne(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+O(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&be()==125)continue}switch(C+=oe(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(O(C)-1)*_,_=1;break;case 64:P()===45&&(C+=Ee(N())),f=P(),u=d=O(y=C+=je(xe())),v++;break;case 45:m===45&&O(C)==2&&(h=0)}}return a}function Pe(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=fe(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=D(e,d+1,d=ae(h=o[m])),y=e;_<p;++_)(y=le(h>0?f[_]+` `+v:T(v,/&\f/g,f[_])))&&(c[g++]=y);return _e(e,t,n,i===0?ee:s,c,l,u)}function Fe(e,t,n){return _e(e,t,n,w,oe(ye()),D(e,2,-2),0)}function Ie(e,t,n,r){return _e(e,t,n,te,D(e,0,r),D(e,r+1,-1),r)}function Le(e,t){for(var n=``,r=fe(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function Re(e,t,n,r){switch(e.type){case ie:if(e.children.length)break;case ne:case te:return e.return=e.return||e.value;case w:return``;case re:return e.return=e.value+`{`+Le(e.children,r)+`}`;case ee:e.value=e.props.join(`,`)}return O(n=Le(e.children,r))?e.return=e.value+`{`+n+`}`:``}function ze(e){var t=fe(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Be(e){return function(t){t.root||(t=t.return)&&e(t)}}function Ve(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var He=function(e,t,n){for(var r=0,i=0;r=i,i=P(),r===38&&i===12&&(t[n]=1),!Ce(i);)N();return Se(e,j)},Ue=function(e,t){var n=-1,r=44;do switch(Ce(r)){case 0:r===38&&P()===12&&(t[n]=1),e[n]+=He(j-1,t,n);break;case 2:e[n]+=Ee(r);break;case 4:if(r===44){e[++n]=P()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=oe(r)}while(r=N());return e},We=function(e,t){return Te(Ue(we(e),t))},Ge=new WeakMap,Ke=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Ge.get(n))&&!r){Ge.set(e,!0);for(var i=[],a=We(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},qe=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Je(e,t){switch(ce(e,t)){case 5103:return C+`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 C+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return C+e+S+e+x+e+e;case 6828:case 4268:return C+e+x+e+e;case 6165:return C+e+x+`flex-`+e+e;case 5187:return C+e+T(e,/(\w+).+(:[^]+)/,C+`box-$1$2`+x+`flex-$1$2`)+e;case 5443:return C+e+x+`flex-item-`+T(e,/flex-|-self/,``)+e;case 4675:return C+e+x+`flex-line-pack`+T(e,/align-content|flex-|-self/,``)+e;case 5548:return C+e+x+T(e,`shrink`,`negative`)+e;case 5292:return C+e+x+T(e,`basis`,`preferred-size`)+e;case 6060:return C+`box-`+T(e,`-grow`,``)+C+e+x+T(e,`grow`,`positive`)+e;case 4554:return C+T(e,/([^-])(transform)/g,`$1`+C+`$2`)+e;case 6187:return T(T(T(e,/(zoom-|grab)/,C+`$1`),/(image-set)/,C+`$1`),e,``)+e;case 5495:case 3959:return T(e,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return T(T(e,/(.+:)(flex-)?(.*)/,C+`box-pack:$3`+x+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+C+e+e;case 4095:case 3583:case 4068:case 2532:return T(e,/(.+)-inline(.+)/,C+`$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(O(e)-1-t>6)switch(E(e,t+1)){case 109:if(E(e,t+4)!==45)break;case 102:return T(e,/(.+:)(.+)-([^]+)/,`$1`+C+`$2-$3$1`+S+(E(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~de(e,`stretch`)?Je(T(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(E(e,t+1)!==115)break;case 6444:switch(E(e,O(e)-3-(~de(e,`!important`)&&10))){case 107:return T(e,`:`,`:`+C)+e;case 101:return T(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+C+(E(e,14)===45?`inline-`:``)+`box$3$1`+C+`$2$3$1`+x+`$2box$3`)+e}break;case 5936:switch(E(e,t+11)){case 114:return C+e+x+T(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return C+e+x+T(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return C+e+x+T(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return C+e+x+e+e}return e}var Ye=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case te:e.return=Je(e.value,e.length);break;case re:return Le([ve(e,{value:T(e.value,`@`,`@`+C)})],r);case ee:if(e.length)return pe(e.props,function(t){switch(ue(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Le([ve(e,{props:[T(t,/:(read-\w+)/,`:`+S+`$1`)]})],r);case`::placeholder`:return Le([ve(e,{props:[T(t,/:(plac\w+)/,`:`+C+`input-$1`)]}),ve(e,{props:[T(t,/:(plac\w+)/,`:`+S+`$1`)]}),ve(e,{props:[T(t,/:(plac\w+)/,x+`input-$1`)]})],r)}return``})}}],Xe=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Ye,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[Ke,qe],l,u=[Re,Be(function(e){l.insert(e)})],d=ze(c.concat(r,u)),f=function(e){return Le(Me(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new b({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Ze=t((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Qe=t(((e,t)=>{t.exports=Ze()})),$e=t(((e,t)=>{var n=Qe(),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function et(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var tt=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},nt=function(e,t,n){tt(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function rt(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var it={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},at=/[A-Z]|^ms/g,ot=/_EMO_([^_]+?)_([^]*?)_EMO_/g,st=function(e){return e.charCodeAt(1)===45},ct=function(e){return e!=null&&typeof e!=`boolean`},lt=Ve(function(e){return st(e)?e:e.replace(at,`-$&`).toLowerCase()}),ut=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(ot,function(e,t,n){return F={name:t,styles:n,next:F},t})}return it[e]!==1&&!st(e)&&typeof t==`number`&&t!==0?t+`px`:t};function dt(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return F={name:i.name,styles:i.styles,next:F},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)F={name:o.name,styles:o.styles,next:F},o=o.next;return a.styles+`;`}return ft(e,t,n);case`function`:if(e!==void 0){var s=F,c=n(e);return F=s,dt(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function ft(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=dt(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:ct(s)&&(r+=lt(a)+`:`+ut(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)ct(o[c])&&(r+=lt(a)+`:`+ut(a,o[c])+`;`);else{var l=dt(e,t,o);switch(a){case`animation`:case`animationName`:r+=lt(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var pt=/label:\s*([^\s;{]+)\s*(;|$)/g,F;function mt(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;F=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=dt(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=dt(n,t,e[o]),r&&(i+=a[o]);pt.lastIndex=0;for(var s=``,c;(c=pt.exec(i))!==null;)s+=`-`+c[1];return{name:rt(i)+s,styles:i,next:F}}var ht=function(e){return e()},gt=s.useInsertionEffect?s.useInsertionEffect:!1,_t=gt||ht,vt=gt||s.useLayoutEffect,yt=s.createContext(typeof HTMLElement<`u`?Xe({key:`css`}):null);yt.Provider;var bt=function(e){return(0,s.forwardRef)(function(t,n){return e(t,(0,s.useContext)(yt),n)})},xt=s.createContext({}),St={}.hasOwnProperty,Ct=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,wt=function(e,t){var n={};for(var r in t)St.call(t,r)&&(n[r]=t[r]);return n[Ct]=e,n},Tt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return tt(t,n,r),_t(function(){return nt(t,n,r)}),null},Et=bt(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Ct],a=[r],o=``;typeof e.className==`string`?o=et(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var c=mt(a,void 0,s.useContext(xt));o+=t.key+`-`+c.name;var l={};for(var u in e)St.call(e,u)&&u!==`css`&&u!==Ct&&(l[u]=e[u]);return l.className=o,n&&(l.ref=n),s.createElement(s.Fragment,null,s.createElement(Tt,{cache:t,serialized:c,isStringTag:typeof i==`string`}),s.createElement(i,l))});$e();var Dt=function(e,t){var n=arguments;if(t==null||!St.call(t,`css`))return s.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Et,i[1]=wt(e,t);for(var a=2;a<r;a++)i[a]=n[a];return s.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(Dt||={});var Ot=bt(function(e,t){var n=e.styles,r=mt([n],void 0,s.useContext(xt)),i=s.useRef();return vt(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),vt(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&nt(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function kt(){return mt([...arguments])}function At(){var e=kt.apply(void 0,arguments),t=`animation-`+e.name;return{name:t,styles:`@keyframes `+t+`{`+e.styles+`}`,anim:1,toString:function(){return`_EMO_`+this.name+`_`+this.styles+`_EMO_`}}}var jt=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Mt=Ve(function(e){return jt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Nt=function(e){return e!==`theme`},Pt=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Mt:Nt},Ft=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},It=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return tt(t,n,r),_t(function(){return nt(t,n,r)}),null},Lt=function e(t,n){var i=t.__emotion_real===t,a=i&&t.__emotion_base||t,o,c;n!==void 0&&(o=n.label,c=n.target);var l=Ft(t,n,i),u=l||Pt(a),d=!u(`as`);return function(){var f=arguments,p=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push(`label:`+o+`;`),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{var m=f[0];p.push(m[0]);for(var h=f.length,g=1;g<h;g++)p.push(f[g],m[g])}var _=bt(function(e,t,n){var r=d&&e.as||a,i=``,o=[],f=e;if(e.theme==null){for(var m in f={},e)f[m]=e[m];f.theme=s.useContext(xt)}typeof e.className==`string`?i=et(t.registered,o,e.className):e.className!=null&&(i=e.className+` `);var h=mt(p.concat(o),t.registered,f);i+=t.key+`-`+h.name,c!==void 0&&(i+=` `+c);var g=d&&l===void 0?Pt(r):u,_={};for(var v in e)d&&v===`as`||g(v)&&(_[v]=e[v]);return _.className=i,n&&(_.ref=n),s.createElement(s.Fragment,null,s.createElement(It,{cache:t,serialized:h,isStringTag:typeof r==`string`}),s.createElement(r,_))});return _.displayName=o===void 0?`Styled(`+(typeof a==`string`?a:a.displayName||a.name||`Component`)+`)`:o,_.defaultProps=t.defaultProps,_.__emotion_real=_,_.__emotion_base=a,_.__emotion_styles=p,_.__emotion_forwardProp=l,Object.defineProperty(_,"toString",{value:function(){return`.`+c}}),_.withComponent=function(t,i){return e(t,r({},n,i,{shouldForwardProp:Ft(_,i,!0)})).apply(void 0,p)},_}},Rt=`a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.marquee.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.title.tr.track.u.ul.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan`.split(`.`),zt=Lt.bind(null);Rt.forEach(function(e){zt[e]=zt(e)});function Bt(e,t){return zt(e,t)}function Vt(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Ht=[];function Ut(e){return Ht[0]=e,mt(Ht)}var Wt=t((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),Gt=t(((e,t)=>{t.exports=Wt()}))();function I(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Kt(e){if(s.isValidElement(e)||(0,Gt.isValidElementType)(e)||!I(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Kt(e[n])}),t}function L(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return I(e)&&I(t)&&Object.keys(t).forEach(i=>{s.isValidElement(t[i])||(0,Gt.isValidElementType)(t[i])?r[i]=t[i]:I(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&I(e[i])?r[i]=L(e[i],t[i],n):n.clone?r[i]=I(t[i])?Kt(t[i]):t[i]:r[i]=t[i]}),r}var qt=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Jt(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=qt(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}let f=[];for(let e=0;e<o.length;e+=1)f.push(s(o[e]));return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,internal_mediaKeys:f,...i}}var Yt=/min-width:\s*([0-9.]+)/;function Xt(e,t){if(!e.containerQueries||!Zt(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>+(e.match(Yt)?.[1]||0)-(t.match(Yt)?.[1]||0));let r=t;for(let e=0;e<n.length;e+=1){let t=n[e],i=r[t];delete r[t],r[t]=i}return r}function Zt(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function Qt(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function $t(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function en(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var tn={borderRadius:4};function nn(e){if(e==null)return!0;for(let t in e)return!1;return!0}function rn(e,t){let n=Array.isArray(t),r=Array.isArray(e);return ln(t)?t:un(e)?dn(t):n&&r?sn(e,t):n===r?fn(e,t):dn(t)}function an(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=dn(e[t]);return r}function on(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=dn(e[n]));return t}function sn(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=dn(t[r]);return e}function cn(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function ln(e){return typeof e!=`object`||!e}function un(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function dn(e){return cn(e)?Array.isArray(e)?an(e):on(e):e}function fn(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?rn(e[n],t[n]):dn(t[n]));return e}var pn={},mn={xs:0,sm:600,md:900,lg:1200,xl:1536},hn=Jt({values:mn}),gn={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:mn[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function _n(e,t,n){let r={};return vn(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:rn(r,a)})}function vn(e,t,n,r){if(t??=pn,Array.isArray(n)){let i=t.breakpoints??hn;for(let t=0;t<n.length;t+=1)yn(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??hn,a=i.values??mn;for(let o in n)if(Qt(i.keys,o)){let i=$t(t.containerQueries?t:gn,o);i&&yn(e,i,n[o],o,r)}else if(o in a)yn(e,i.up(o),n[o],o,r);else{let t=o;e[t]=n[t]}return e}return r(void 0,n),e}function yn(e,t,n,r,i){e[t]??={},i(t,n,r)}function bn(e=hn){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function xn(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];nn(t[r])&&delete t[r]}return t}function Sn(e,t){if(Array.isArray(t))return!0;if(typeof t==`object`&&t){for(let n=0;n<e.keys.length;n+=1)if(e.keys[n]in t)return!0;let n=Object.keys(t);for(let t=0;t<n.length;t+=1)if(Qt(e.keys,n[t]))return!0}return!1}function Cn(e){if(typeof e!=`string`)throw Error(g(7));return e.charAt(0).toUpperCase()+e.slice(1)}function wn(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&Tn(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function Tn(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=En(e.vars,i,r);if(t!=null)return t}return En(e,i,r)}function En(e,t,n=void 0){let r,i=e,a=0;for(;a<t.length;){if(i==null)return i;r=i,i=i[t[a]],a+=1}if(n&&i===void 0){let e=t[t.length-1],i=`${n}${e==="default"?``:Cn(e)}`;return r?.[i]}return i}function R(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=Tn(o,r)||{};return _n(e,a,e=>{let r=wn(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Dn={internal_cache:{}},On={m:`margin`,p:`padding`},kn={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},An={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},jn={};for(let e in On)jn[e]=[On[e]];for(let e in On)for(let t in kn){let n=On[e],r=kn[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];jn[e+t]=i}for(let e in An)jn[e]=jn[An[e]];var Mn=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),Nn=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...Mn,...Nn];function Pn(e,t,n,r){let i=Tn(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function Fn(e){return Pn(e,`spacing`,8,`spacing`)}function In(e,t){return typeof t==`string`||t==null?t:e(t)}var Ln=[``];function Rn(e,t){let n=e.theme??Dn,r=n?.internal_cache?.unarySpacing??Fn(n),i={};for(let n in e){if(!t.has(n))continue;let a=jn[n]??(Ln[0]=n,Ln),o=e[n];vn(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=In(r,t)})}return i}function zn(e){return Rn(e,Mn)}zn.propTypes={},zn.filterProps=Mn;var z=zn;function Bn(e){return Rn(e,Nn)}Bn.propTypes={},Bn.filterProps=Nn;var B=Bn;function Vn(e=8,t=Fn({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Hn(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>{let n={};for(let r in e)t[r]&&rn(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function V(e){return typeof e==`number`?`${e}px solid`:e}function H(e,t){return R({prop:e,themeKey:`borders`,transform:t})}var Un=H(`border`,V),Wn=H(`borderTop`,V),Gn=H(`borderRight`,V),Kn=H(`borderBottom`,V),qn=H(`borderLeft`,V),Jn=H(`borderColor`),Yn=H(`borderTopColor`),Xn=H(`borderRightColor`),Zn=H(`borderBottomColor`),Qn=H(`borderLeftColor`),$n=H(`outline`,V),er=H(`outlineColor`),tr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Pn(e.theme,`shape.borderRadius`,4,`borderRadius`);return _n(e,e.borderRadius,e=>({borderRadius:In(t,e)}))}return null};tr.propTypes={},tr.filterProps=[`borderRadius`],Hn(Un,Wn,Gn,Kn,qn,Jn,Yn,Xn,Zn,Qn,tr,$n,er);var nr=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Pn(e.theme,`spacing`,8,`gap`);return _n(e,e.gap,e=>({gap:In(t,e)}))}return null};nr.propTypes={},nr.filterProps=[`gap`];var rr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Pn(e.theme,`spacing`,8,`columnGap`);return _n(e,e.columnGap,e=>({columnGap:In(t,e)}))}return null};rr.propTypes={},rr.filterProps=[`columnGap`];var ir=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Pn(e.theme,`spacing`,8,`rowGap`);return _n(e,e.rowGap,e=>({rowGap:In(t,e)}))}return null};ir.propTypes={},ir.filterProps=[`rowGap`],Hn(nr,rr,ir,R({prop:`gridColumn`}),R({prop:`gridRow`}),R({prop:`gridAutoFlow`}),R({prop:`gridAutoColumns`}),R({prop:`gridAutoRows`}),R({prop:`gridTemplateColumns`}),R({prop:`gridTemplateRows`}),R({prop:`gridTemplateAreas`}),R({prop:`gridArea`}));function ar(e,t){return t===`grey`?t:e}Hn(R({prop:`color`,themeKey:`palette`,transform:ar}),R({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:ar}),R({prop:`backgroundColor`,themeKey:`palette`,transform:ar}));var or=mn;function U(e){return e<=1&&e!==0?`${e*100}%`:e}var sr=R({prop:`width`,transform:U}),cr=e=>e.maxWidth!==void 0&&e.maxWidth!==null?_n(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||or[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:U(t)}}):null;cr.filterProps=[`maxWidth`];var lr=R({prop:`minWidth`,transform:U}),ur=R({prop:`height`,transform:U}),dr=R({prop:`maxHeight`,transform:U}),fr=R({prop:`minHeight`,transform:U});R({prop:`size`,cssProperty:`width`,transform:U}),R({prop:`size`,cssProperty:`height`,transform:U}),Hn(sr,cr,lr,ur,dr,fr,R({prop:`boxSizing`}));var pr={border:{themeKey:`borders`,transform:V},borderTop:{themeKey:`borders`,transform:V},borderRight:{themeKey:`borders`,transform:V},borderBottom:{themeKey:`borders`,transform:V},borderLeft:{themeKey:`borders`,transform:V},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:V},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:tr},color:{themeKey:`palette`,transform:ar},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:ar},backgroundColor:{themeKey:`palette`,transform:ar},p:{style:B},pt:{style:B},pr:{style:B},pb:{style:B},pl:{style:B},px:{style:B},py:{style:B},padding:{style:B},paddingTop:{style:B},paddingRight:{style:B},paddingBottom:{style:B},paddingLeft:{style:B},paddingX:{style:B},paddingY:{style:B},paddingInline:{style:B},paddingInlineStart:{style:B},paddingInlineEnd:{style:B},paddingBlock:{style:B},paddingBlockStart:{style:B},paddingBlockEnd:{style:B},m:{style:z},mt:{style:z},mr:{style:z},mb:{style:z},ml:{style:z},mx:{style:z},my:{style:z},margin:{style:z},marginTop:{style:z},marginRight:{style:z},marginBottom:{style:z},marginLeft:{style:z},marginX:{style:z},marginY:{style:z},marginInline:{style:z},marginInlineStart:{style:z},marginInlineEnd:{style:z},marginBlock:{style:z},marginBlockStart:{style:z},marginBlockEnd:{style:z},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:nr},rowGap:{style:ir},columnGap:{style:rr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:U},maxWidth:{style:cr},minWidth:{transform:U},height:{transform:U},maxHeight:{transform:U},minHeight:{transform:U},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`}},mr={};function hr(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=mr,nested:i}=t,a=r.unstable_sxConfig??pr,o={sx:null,theme:r,nested:!0};function s(n){let s=n;if(typeof n==`function`)s=n(r);else if(typeof n!=`object`)return n;if(!s)return null;let c=r.breakpoints??hn,l=bn(c);for(let n in s){let i=vr(s[n],r);if(i!=null){if(typeof i!=`object`){_r(l,n,i,r,a);continue}if(a[n]){_r(l,n,i,r,a);continue}Sn(c,i)?vn(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o))}}return!i&&r.modularCssLayers?{"@layer sx":Xt(r,xn(c,l))}:Xt(r,xn(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var gr=hr();function _r(e,t,n,r,i){let a=i[t];if(!a){e[t]=n;return}if(n==null)return;let{themeKey:o}=a;if(o===`typography`&&n===`inherit`){e[t]=n;return}let{style:s}=a;if(s){rn(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=Tn(r,o);vn(e,r,n,(n,r)=>{let i=wn(u,l,r,t);c===!1?rn(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function vr(e,t){return typeof e==`function`?e(t):e}function yr(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function br(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Jt(n),c=Vn(i),l=L({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...tn,...a}},o);return l=en(l),l.applyStyles=yr,l=t.reduce((e,t)=>L(e,t),l),l.unstable_sxConfig={...pr,...o?.unstable_sxConfig},l.unstable_sx=function(e){return gr({sx:e,theme:this})},l.internal_cache={},l}function xr(e){return Object.keys(e).length===0}function Sr(e=null){let t=s.useContext(xt);return!t||xr(t)?e:t}var Cr=br();function wr(e=Cr){return Sr(e)}var Tr=e=>e,Er=(()=>{let e=Tr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Tr}}})();function Dr(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Dr(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function W(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Dr(e))&&(r&&(r+=` `),r+=t);return r}function Or(e={}){let{themeId:t,defaultTheme:n,defaultClassName:r=`MuiBox-root`,generateClassName:i}=e,a=Bt(`div`,{shouldForwardProp:e=>e!==`theme`&&e!==`sx`&&e!==`as`})(gr);return s.forwardRef(function(e,s){let c=wr(n),{className:l,component:u=`div`,...d}=e;return(0,o.jsx)(a,{as:u,ref:s,className:W(l,i?i(r):r),theme:t&&c[t]||c,...d})})}var kr={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 Ar(e,t,n=`Mui`){let r=kr[t];return r?`${n}-${r}`:`${Er.generate(e)}-${t}`}function jr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=Ar(e,t,n)}),r}function Mr(e){let{variants:t,...n}=e,r={variants:t,style:Ut(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Ut(e.style))}),r}var Nr=br();function Pr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function Fr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Ir(e){return e?(t,n)=>n[e]:null}function Lr(e,t,n){e.theme=nn(e.theme)?n:e.theme[t]||e.theme}function Rr(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Rr(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?Fr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?Fr(Ut(i),n):i}return zr(e,r.variants,[t],n)}return r?.isProcessed?n?Fr(Ut(r.style),n):r.style:n?Fr(Ut(r),n):r}function zr(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?Fr(Ut(o.style(i)),r):o.style(i))):n.push(r?Fr(Ut(o.style),r):o.style)}return n}function Br(e={}){let{themeId:t,defaultTheme:n=Nr,rootShouldForwardProp:r=Pr,slotShouldForwardProp:i=Pr}=e;function a(e){Lr(e,t,n)}return(e,t={})=>{Vt(e,e=>e.filter(e=>e!==gr));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Ir(Hr(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Pr;o===`Root`||o===`root`?m=r:o?m=i:Vr(e)&&(m=void 0);let h=Bt(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Rr(t,e,t.theme.modularCssLayers?d:void 0)};if(I(e)){let t=Mr(e);return function(e){return t.variants?Rr(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?Fr(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=Rr(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?zr(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(gr),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function Vr(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Hr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ur(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e,s=i[t],c=o[t];typeof s==`function`||typeof c==`function`?r[a][t]=(...e)=>Ur((typeof s==`function`?s(...e):s)??{},(typeof c==`function`?c(...e):c)??{},n):r[a][t]=Ur(s??{},c??{},n)}}}else a===`className`&&n&&t.className!==void 0?r.className=W(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var Wr=typeof window<`u`?s.useLayoutEffect:s.useEffect;function Gr(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function Kr(e,t=0,n=1){return Gr(e,t,n)}function qr(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Jr(e){if(e.type)return e;if(e.charAt(0)===`#`)return Jr(qr(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(g(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(g(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var Yr=e=>{let t=Jr(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Xr=(e,t)=>{try{return Yr(e)}catch{return e}};function Zr(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function Qr(e){e=Jr(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),Zr({type:s,values:c})}function $r(e){e=Jr(e);let t=e.type===`hsl`||e.type===`hsla`?Jr(Qr(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ei(e,t){let n=$r(e),r=$r(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ti(e,t){return e=Jr(e),t=Kr(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Zr(e)}function ni(e,t,n){try{return ti(e,t)}catch{return e}}function ri(e,t){if(e=Jr(e),t=Kr(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Zr(e)}function G(e,t,n){try{return ri(e,t)}catch{return e}}function ii(e,t){if(e=Jr(e),t=Kr(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Zr(e)}function K(e,t,n){try{return ii(e,t)}catch{return e}}function ai(e,t=.15){return $r(e)>.5?ri(e,t):ii(e,t)}function oi(e,t,n){try{return ai(e,t)}catch{return e}}var si=s.createContext();function ci({value:e,...t}){return(0,o.jsx)(si.Provider,{value:e??!0,...t})}var li=()=>s.useContext(si)??!1,ui=s.createContext(void 0);function di({value:e,children:t}){return(0,o.jsx)(ui.Provider,{value:e,children:t})}function fi(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?Ur(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Ur(i,r,t.components.mergeClassNameAndStyle):r}function pi({props:e,name:t}){return fi({props:e,name:t,theme:{components:s.useContext(ui)}})}var mi={theme:void 0};function hi(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(mi.theme=r.theme,i=Mr(e(mi)),t=i,n=r.theme),i}}function gi(e=``){function t(...n){if(!n.length)return``;let r=n[0];return typeof r==`string`&&!r.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}-`:``}${r}${t(...n.slice(1))})`:`, ${r}`}return(n,...r)=>`var(--${e?`${e}-`:``}${n}${t(...r)})`}var _i=new Set([`__proto__`,`constructor`,`prototype`]),vi=(e,t,n,r=[])=>{let i=e;for(let e=0;e<t.length;e+=1){let a=t[e];if(_i.has(a))break;e===t.length-1?Array.isArray(i)?i[Number(a)]=n:i&&typeof i==`object`&&(i[a]=n):i&&typeof i==`object`&&(i[a]||(i[a]=r.includes(a)?[]:{}),i=i[a])}},yi=(e,t,n)=>{function r(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{(!n||n&&!n([...i,e]))&&o!=null&&(typeof o==`object`&&Object.keys(o).length>0?r(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}r(e)},bi=(e,t)=>typeof t==`number`?[`lineHeight`,`fontWeight`,`opacity`,`zIndex`].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes(`opacity`)?t:`${t}px`:t;function xi(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return yi(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=bi(e,t);Object.assign(i,{[r]:c}),vi(a,e,`var(${r})`,s),vi(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function Si(e,t={}){let{getSelector:n=_,disableCssColorScheme:r,colorSchemeSelector:i,enableContrastVars:a}=t,{colorSchemes:o={},components:s,defaultColorScheme:c=`light`,...l}=e,{vars:u,css:d,varsWithDefaults:f}=xi(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=xi(n,t);p=L(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=xi(h,t);p=L(p,r),m[c]={css:e,vars:n}}function _(t,n){let r=i;if(i===`class`&&(r=`.%s`),i===`data`&&(r=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(r=`[${i}="%s"]`),t){if(r===`media`)return e.defaultColorScheme===t?`:root`:{[`@media (prefers-color-scheme: ${o[t]?.palette?.mode||t})`]:{":root":n}};if(r)return e.defaultColorScheme===t?`:root, ${r.replace(`%s`,String(t))}`:r.replace(`%s`,String(t))}return`:root`}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=L(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||`light`;function s(e,n){Object.keys(n).length&&t.push(typeof e==`string`?{[e]:{...n}}:e)}s(n(void 0,{...d}),d);let{[i]:c,...l}=m;if(c){let{css:e}=c,t=o[i]?.palette?.mode,a=!r&&t?{colorScheme:t,...e}:{...e};s(n(i,{...a}),a)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=o[e]?.palette?.mode,a=!r&&i?{colorScheme:i,...t}:{...t};s(n(e,{...a}),a)}),a&&t.push({":root":{"--__l-threshold":`0.7`,"--__l":`clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)`,"--__a":`clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)`}}),t}}}function Ci(e){return function(t){return e===`media`?`@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)} &`:`&`}}function wi(e,t,n=void 0){let r={};for(let i in e){let a=e[i],o=``,s=!0;for(let e=0;e<a.length;e+=1){let r=a[e];r&&(o+=(s===!0?``:` `)+t(r),s=!1,n&&n[r]&&(o+=` `+n[r]))}r[i]=o}return r}function Ti(){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:c.white,default:c.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}}}var Ei=Ti();function Di(){return{text:{primary:c.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:c.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}}}var Oi=Di();function ki(e,t,n,r){let i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t===`light`?e.light=ii(e.main,i):t===`dark`&&(e.dark=ri(e.main,a)))}function Ai(e,t,n,r,i){let a=i.light||i,o=i.dark||i*1.5;t[n]||(t.hasOwnProperty(r)?t[n]=t[r]:n===`light`?t.light=`color-mix(in ${e}, ${t.main}, #fff ${(a*100).toFixed(0)}%)`:n===`dark`&&(t.dark=`color-mix(in ${e}, ${t.main}, #000 ${(o*100).toFixed(0)}%)`))}function ji(e=`light`){return e===`dark`?{main:d[200],light:d[50],dark:d[400]}:{main:d[700],light:d[400],dark:d[800]}}function Mi(e=`light`){return e===`dark`?{main:u[200],light:u[50],dark:u[400]}:{main:u[500],light:u[300],dark:u[700]}}function Ni(e=`light`){return e===`dark`?{main:l[500],light:l[300],dark:l[700]}:{main:l[700],light:l[400],dark:l[800]}}function Pi(e=`light`){return e===`dark`?{main:f[400],light:f[300],dark:f[700]}:{main:f[700],light:f[500],dark:f[900]}}function Fi(e=`light`){return e===`dark`?{main:p[400],light:p[300],dark:p[700]}:{main:p[800],light:p[500],dark:p[900]}}function Ii(e=`light`){return e===`dark`?{main:m[400],light:m[300],dark:m[700]}:{main:`#ed6c02`,light:m[500],dark:m[900]}}function Li(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Ri(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,o=e.primary||ji(t),s=e.secondary||Mi(t),l=e.error||Ni(t),u=e.info||Pi(t),d=e.success||Fi(t),f=e.warning||Ii(t);function p(e){return i?Li(e):ei(e,Oi.text.primary)>=n?Oi.text.primary:Ei.text.primary}let m=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(e={...e},!e.main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty(`main`))throw Error(g(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(g(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(Ai(i,e,`light`,a,r),Ai(i,e,`dark`,o,r)):(ki(e,`light`,a,r),ki(e,`dark`,o,r)),e.contrastText||(e.contrastText=p(e.main)),e},_;return t===`light`?_=Ti():t===`dark`&&(_=Di()),L({common:{...c},mode:t,primary:m({color:o,name:`primary`}),secondary:m({color:s,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:m({color:l,name:`error`}),warning:m({color:f,name:`warning`}),info:m({color:u,name:`info`}),success:m({color:d,name:`success`}),grey:h,contrastThreshold:n,getContrastText:p,augmentColor:m,tonalOffset:r,..._},a)}var zi=`--_focusVisible-offset`,Bi=`--_focusVisible-behavior`,Vi=`--_focusVisible-shadow`,Hi=`var(${zi}, 1)`,Ui=`var(${Bi}, )`,Wi={[zi]:1,[Bi]:`initial`};function Gi(e){return{[Vi]:e}}function Ki(e){return{[zi]:-e,[Bi]:`inset`}}function qi(e,t){return t.reduce((e,t)=>t&&`focusVisible`in t?L(e,{focusVisible:t.focusVisible}):e,{focusVisible:e}).focusVisible}function Ji(e){return typeof e==`object`&&!!e&&typeof e.outlineOffset==`string`&&e.outlineOffset.includes(zi)}function Yi(e,t){return Xi({outlineStyle:`solid`,outlineColor:t,outlineWidth:2,outlineOffset:2,boxShadow:`var(${Vi}, 0 0)`,...e===!0?null:e})}function Xi(e){let t=e.outlineOffset??0;(typeof t!=`string`||!t.includes(zi))&&(e.outlineOffset=`calc(${Hi} * ${typeof t==`number`?`${t}px`:t})`);let n=new Set([`none`,`initial`,`inherit`,`unset`,`revert`,`revert-layer`]);return typeof e.boxShadow==`string`&&!n.has(e.boxShadow.trim().toLowerCase())&&!/\binset\b/.test(e.boxShadow)&&!e.boxShadow.includes(Bi)&&(e.boxShadow=`${Ui} ${e.boxShadow}`),e}function Zi(e){let t={};return Object.entries(e).forEach(e=>{let[n,r]=e;typeof r==`object`&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:``}${r.fontVariant?`${r.fontVariant} `:``}${r.fontWeight?`${r.fontWeight} `:``}${r.fontStretch?`${r.fontStretch} `:``}${r.fontSize||``}${r.lineHeight?`/${r.lineHeight} `:``}${r.fontFamily||``}`)}),t}function Qi(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function $i(e){return Math.round(e*1e5)/1e5}var ea={textTransform:`uppercase`},ta=`"Roboto", "Helvetica", "Arial", sans-serif`;function na(e,t){let{fontFamily:n=ta,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:o=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:l,pxToRem:u,...d}=typeof t==`function`?t(e):t,f=r/14,p=u||(e=>`${e/c*f}rem`),m=(e,t,r,i,a)=>({fontFamily:n,fontWeight:e,fontSize:p(t),lineHeight:r,...n===ta?{letterSpacing:`${$i(i/t)}em`}:{},...a,...l});return L({htmlFontSize:c,pxToRem:p,fontFamily:n,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:o,fontWeightBold:s,h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(o,14,1.75,.4,ea),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,ea),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var ra=.2,ia=.14,aa=.12;function q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ra})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ia})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${aa})`].join(`,`)}var oa=[`none`,q(0,2,1,-1,0,1,1,0,0,1,3,0),q(0,3,1,-2,0,2,2,0,0,1,5,0),q(0,3,3,-2,0,3,4,0,0,1,8,0),q(0,2,4,-1,0,4,5,0,0,1,10,0),q(0,3,5,-1,0,5,8,0,0,1,14,0),q(0,3,5,-1,0,6,10,0,0,1,18,0),q(0,4,5,-2,0,7,10,1,0,2,16,1),q(0,5,5,-3,0,8,10,1,0,3,14,2),q(0,5,6,-3,0,9,12,1,0,3,16,2),q(0,6,6,-3,0,10,14,1,0,4,18,3),q(0,6,7,-4,0,11,15,1,0,4,20,3),q(0,7,8,-4,0,12,17,2,0,5,22,4),q(0,7,8,-4,0,13,19,2,0,5,24,4),q(0,7,9,-4,0,14,21,2,0,5,26,4),q(0,8,9,-5,0,15,22,2,0,6,28,5),q(0,8,10,-5,0,16,24,2,0,6,30,5),q(0,8,11,-5,0,17,26,2,0,6,32,5),q(0,9,11,-5,0,18,28,2,0,7,34,6),q(0,9,12,-6,0,19,29,2,0,7,36,6),q(0,10,13,-6,0,20,31,3,0,8,38,7),q(0,10,13,-6,0,21,33,3,0,8,40,7),q(0,10,14,-6,0,22,35,3,0,8,42,7),q(0,11,14,-7,0,23,36,3,0,9,44,8),q(0,11,15,-7,0,24,38,3,0,9,46,8)],sa=[`all`],ca={},la={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)`},ua={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function da(e){return`${Math.round(e)}ms`}function fa(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function pa(e){let t={...e};delete t.reducedMotion;let n={...la,...t.easing},r={...ua,...t.duration};return{getAutoHeightDuration:fa,create:t.create??((e=sa,t=ca)=>{let{duration:i=r.standard,easing:a=n.easeInOut,delay:o=0,...s}=t;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${typeof i==`string`?i:da(i)} ${a} ${typeof o==`string`?o:da(o)}`).join(`,`)}),...t,easing:n,duration:r}}var ma={};function ha(e=ma){return{reducedMotion:`never`,...e}}var ga={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function _a(e){return I(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function va(e={}){let t={...e};function n(e){let t=Object.entries(e);for(let r=0;r<t.length;r++){let[i,a]=t[r];!_a(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:I(a)&&(e[i]={...a},n(e[i]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
const theme = ${JSON.stringify(t,null,2)};
theme.breakpoints = createBreakpoints(theme.breakpoints || {});
theme.motion = { reducedMotion: 'never', ...theme.motion };
theme.transitions = createTransitions(theme.transitions || {});
export default theme;`}function ya(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var ba=e=>{if(!Number.isNaN(+e))return+e;let t=e.match(/\d*\.?\d+/g);if(!t)return 0;let n=0;for(let e=0;e<t.length;e+=1)n+=+t[e];return n};function xa(e){Object.assign(e,{alpha(t,n){let r=this||e;return r.colorSpace?`oklch(from ${t} l c h / ${typeof n==`string`?`calc(${n})`:n})`:r.vars?`rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g,`var(--$1Channel)`)} / ${typeof n==`string`?`calc(${n})`:n})`:ti(t,ba(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${ya(n)})`:ii(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${ya(n)})`:ri(t,n)}})}function Sa(e={},...t){let{breakpoints:n,mixins:r={},spacing:i,palette:a={},motion:o={},transitions:s={},typography:c={},shape:l,colorSpace:u,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw Error(g(22));let f=Ri({...a,colorSpace:u}),p=br(e),m=L(p,{mixins:Qi(p.breakpoints,r),palette:f,shadows:oa.slice(),typography:na(f,c),motion:ha(o),transitions:pa(s),zIndex:{...ga}});return m=L(m,d),m=t.reduce((e,t)=>L(e,t),m),delete m.transitions.reducedMotion,m.focusVisible!=null&&m.focusVisible!==!1&&(m.focusVisible=Yi(m.focusVisible,m.palette.primary.main)),m.unstable_sxConfig={...pr,...d?.unstable_sxConfig},m.unstable_sx=function(e){return gr({sx:e,theme:this})},m.toRuntimeSource=va,xa(m),m}function Ca(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var wa=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Ca(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Ta(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Ea(e){return e===`dark`?wa:[]}function Da(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=Ri({...t,colorSpace:i});return{palette:o,opacity:{...Ta(o.mode),...n},overlays:r||Ea(o.mode),...a}}function Oa(e){return e[0]===`motion`||e[0]===`focusVisible`||!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]===`palette`&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}var ka=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Aa=e=>(t,n)=>{let r=e.rootSelector||`:root`,i=e.colorSchemeSelector,a=i;if(i===`class`&&(a=`.%s`),i===`data`&&(a=`[data-%s]`),i?.startsWith(`data-`)&&!i.includes(`%s`)&&(a=`[${i}="%s"]`),e.defaultColorScheme===t){if(t===`dark`){let i={};return ka(e.cssVarPrefix).forEach(e=>{i[e]=n[e],delete n[e]}),a===`media`?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace(`%s`,t)]:i,[`${r}, ${a.replace(`%s`,t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!==`media`)return`${r}, ${a.replace(`%s`,String(t))}`}else if(t){if(a===`media`)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace(`%s`,String(t))}return r};function ja(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function J(e,t,n){!e[t]&&n&&(e[t]=n)}function Ma(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:Qr(e)}function Y(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Xr(Ma(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function Na(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var X=e=>{try{return e()}catch{}},Pa=(e=`mui`)=>gi(e);function Fa(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=Da({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=Sa({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Ta(a),...n?.opacity},overlays:n?.overlays||Ea(a)},s}function Ia(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Oa,colorSchemeSelector:c=n.light&&n.dark?`media`:void 0,rootSelector:l=`:root`,...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!==`light`?`light`:d),p=Pa(a),{[f]:m,light:h,dark:_,...v}=n,y={...v},b=m;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(b=!0),!b)throw Error(g(21,f));let x;o&&(x=`oklch`);let S=Fa(x,y,b,u,f);h&&!y.light&&Fa(x,y,h,void 0,`light`),_&&!y.dark&&Fa(x,y,_,void 0,`dark`);let C={defaultColorScheme:f,...S,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:y,font:{...Zi(S.typography),...S.font},spacing:Na(u.spacing)};Object.keys(C.colorSchemes).forEach(e=>{let t=C.colorSchemes[e].palette,n=e=>{let n=e.split(`-`),r=n[1],i=n[2];return p(e,t[r][i])};t.mode===`light`&&(J(t.common,`background`,`#fff`),J(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(J(t.common,`background`,`#000`),J(t.common,`onBackground`,`#fff`));function r(e,t,n){if(x){let r;return e===ni&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===G&&(r=`#000 ${(n*100).toFixed(0)}%`),e===K&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${x}, ${t}, ${r})`}return e(t,n)}if(ja(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){J(t.Alert,`errorColor`,r(G,o?p(`palette-error-light`):t.error.light,.6)),J(t.Alert,`infoColor`,r(G,o?p(`palette-info-light`):t.info.light,.6)),J(t.Alert,`successColor`,r(G,o?p(`palette-success-light`):t.success.light,.6)),J(t.Alert,`warningColor`,r(G,o?p(`palette-warning-light`):t.warning.light,.6)),J(t.Alert,`errorFilledBg`,n(`palette-error-main`)),J(t.Alert,`infoFilledBg`,n(`palette-info-main`)),J(t.Alert,`successFilledBg`,n(`palette-success-main`)),J(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),J(t.Alert,`errorFilledColor`,X(()=>t.getContrastText(t.error.main))),J(t.Alert,`infoFilledColor`,X(()=>t.getContrastText(t.info.main))),J(t.Alert,`successFilledColor`,X(()=>t.getContrastText(t.success.main))),J(t.Alert,`warningFilledColor`,X(()=>t.getContrastText(t.warning.main))),J(t.Alert,`errorStandardBg`,r(K,o?p(`palette-error-light`):t.error.light,.9)),J(t.Alert,`infoStandardBg`,r(K,o?p(`palette-info-light`):t.info.light,.9)),J(t.Alert,`successStandardBg`,r(K,o?p(`palette-success-light`):t.success.light,.9)),J(t.Alert,`warningStandardBg`,r(K,o?p(`palette-warning-light`):t.warning.light,.9)),J(t.Alert,`errorIconColor`,n(`palette-error-main`)),J(t.Alert,`infoIconColor`,n(`palette-info-main`)),J(t.Alert,`successIconColor`,n(`palette-success-main`)),J(t.Alert,`warningIconColor`,n(`palette-warning-main`)),J(t.AppBar,`defaultBg`,n(`palette-grey-100`)),J(t.Avatar,`defaultBg`,n(`palette-grey-400`)),J(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),J(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),J(t.Chip,`defaultBorder`,n(`palette-grey-400`)),J(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),J(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),J(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),J(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),J(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),J(t.LinearProgress,`primaryBg`,r(K,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.LinearProgress,`secondaryBg`,r(K,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.LinearProgress,`errorBg`,r(K,o?p(`palette-error-main`):t.error.main,.62)),J(t.LinearProgress,`infoBg`,r(K,o?p(`palette-info-main`):t.info.main,.62)),J(t.LinearProgress,`successBg`,r(K,o?p(`palette-success-main`):t.success.main,.62)),J(t.LinearProgress,`warningBg`,r(K,o?p(`palette-warning-light`):t.warning.main,.62)),J(t.Skeleton,`bg`,x?r(ni,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),J(t.Slider,`primaryTrack`,r(K,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.Slider,`secondaryTrack`,r(K,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.Slider,`errorTrack`,r(K,o?p(`palette-error-main`):t.error.main,.62)),J(t.Slider,`infoTrack`,r(K,o?p(`palette-info-main`):t.info.main,.62)),J(t.Slider,`successTrack`,r(K,o?p(`palette-success-main`):t.success.main,.62)),J(t.Slider,`warningTrack`,r(K,o?p(`palette-warning-main`):t.warning.main,.62));let e=x?r(G,o?p(`palette-background-default`):t.background.default,.6825):oi(t.background.default,.8);J(t.SnackbarContent,`bg`,e),J(t.SnackbarContent,`color`,X(()=>x?Oi.text.primary:t.getContrastText(e))),J(t.SpeedDialAction,`fabHoverBg`,oi(t.background.paper,.15)),J(t.StepConnector,`border`,n(`palette-grey-400`)),J(t.StepContent,`border`,n(`palette-grey-400`)),J(t.Switch,`defaultColor`,n(`palette-common-white`)),J(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),J(t.Switch,`primaryDisabledColor`,r(K,o?p(`palette-primary-main`):t.primary.main,.62)),J(t.Switch,`secondaryDisabledColor`,r(K,o?p(`palette-secondary-main`):t.secondary.main,.62)),J(t.Switch,`errorDisabledColor`,r(K,o?p(`palette-error-main`):t.error.main,.62)),J(t.Switch,`infoDisabledColor`,r(K,o?p(`palette-info-main`):t.info.main,.62)),J(t.Switch,`successDisabledColor`,r(K,o?p(`palette-success-main`):t.success.main,.62)),J(t.Switch,`warningDisabledColor`,r(K,o?p(`palette-warning-main`):t.warning.main,.62)),J(t.TableCell,`border`,r(K,ni(o?p(`palette-divider`):t.divider,1),.88)),J(t.Tooltip,`bg`,r(ni,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){J(t.Alert,`errorColor`,r(K,o?p(`palette-error-light`):t.error.light,.6)),J(t.Alert,`infoColor`,r(K,o?p(`palette-info-light`):t.info.light,.6)),J(t.Alert,`successColor`,r(K,o?p(`palette-success-light`):t.success.light,.6)),J(t.Alert,`warningColor`,r(K,o?p(`palette-warning-light`):t.warning.light,.6)),J(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),J(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),J(t.Alert,`successFilledBg`,n(`palette-success-dark`)),J(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),J(t.Alert,`errorFilledColor`,X(()=>t.getContrastText(t.error.dark))),J(t.Alert,`infoFilledColor`,X(()=>t.getContrastText(t.info.dark))),J(t.Alert,`successFilledColor`,X(()=>t.getContrastText(t.success.dark))),J(t.Alert,`warningFilledColor`,X(()=>t.getContrastText(t.warning.dark))),J(t.Alert,`errorStandardBg`,r(G,o?p(`palette-error-light`):t.error.light,.9)),J(t.Alert,`infoStandardBg`,r(G,o?p(`palette-info-light`):t.info.light,.9)),J(t.Alert,`successStandardBg`,r(G,o?p(`palette-success-light`):t.success.light,.9)),J(t.Alert,`warningStandardBg`,r(G,o?p(`palette-warning-light`):t.warning.light,.9)),J(t.Alert,`errorIconColor`,n(`palette-error-main`)),J(t.Alert,`infoIconColor`,n(`palette-info-main`)),J(t.Alert,`successIconColor`,n(`palette-success-main`)),J(t.Alert,`warningIconColor`,n(`palette-warning-main`)),J(t.AppBar,`defaultBg`,n(`palette-grey-900`)),J(t.AppBar,`darkBg`,n(`palette-background-paper`)),J(t.AppBar,`darkColor`,n(`palette-text-primary`)),J(t.Avatar,`defaultBg`,n(`palette-grey-600`)),J(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),J(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),J(t.Chip,`defaultBorder`,n(`palette-grey-700`)),J(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),J(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),J(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),J(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),J(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),J(t.LinearProgress,`primaryBg`,r(G,o?p(`palette-primary-main`):t.primary.main,.5)),J(t.LinearProgress,`secondaryBg`,r(G,o?p(`palette-secondary-main`):t.secondary.main,.5)),J(t.LinearProgress,`errorBg`,r(G,o?p(`palette-error-main`):t.error.main,.5)),J(t.LinearProgress,`infoBg`,r(G,o?p(`palette-info-main`):t.info.main,.5)),J(t.LinearProgress,`successBg`,r(G,o?p(`palette-success-main`):t.success.main,.5)),J(t.LinearProgress,`warningBg`,r(G,o?p(`palette-warning-main`):t.warning.main,.5)),J(t.Skeleton,`bg`,x?r(ni,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),J(t.Slider,`primaryTrack`,r(G,o?p(`palette-primary-main`):t.primary.main,.5)),J(t.Slider,`secondaryTrack`,r(G,o?p(`palette-secondary-main`):t.secondary.main,.5)),J(t.Slider,`errorTrack`,r(G,o?p(`palette-error-main`):t.error.main,.5)),J(t.Slider,`infoTrack`,r(G,o?p(`palette-info-main`):t.info.main,.5)),J(t.Slider,`successTrack`,r(G,o?p(`palette-success-main`):t.success.main,.5)),J(t.Slider,`warningTrack`,r(G,o?p(`palette-warning-light`):t.warning.main,.5));let e=x?r(K,o?p(`palette-background-default`):t.background.default,.985):oi(t.background.default,.98);J(t.SnackbarContent,`bg`,e),J(t.SnackbarContent,`color`,X(()=>x?Ei.text.primary:t.getContrastText(e))),J(t.SpeedDialAction,`fabHoverBg`,oi(t.background.paper,.15)),J(t.StepConnector,`border`,n(`palette-grey-600`)),J(t.StepContent,`border`,n(`palette-grey-600`)),J(t.Switch,`defaultColor`,n(`palette-grey-300`)),J(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),J(t.Switch,`primaryDisabledColor`,r(G,o?p(`palette-primary-main`):t.primary.main,.55)),J(t.Switch,`secondaryDisabledColor`,r(G,o?p(`palette-secondary-main`):t.secondary.main,.55)),J(t.Switch,`errorDisabledColor`,r(G,o?p(`palette-error-main`):t.error.main,.55)),J(t.Switch,`infoDisabledColor`,r(G,o?p(`palette-info-main`):t.info.main,.55)),J(t.Switch,`successDisabledColor`,r(G,o?p(`palette-success-main`):t.success.main,.55)),J(t.Switch,`warningDisabledColor`,r(G,o?p(`palette-warning-light`):t.warning.main,.55)),J(t.TableCell,`border`,r(G,ni(o?p(`palette-divider`):t.divider,1),.68)),J(t.Tooltip,`bg`,r(ni,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Y(t.background,`default`),Y(t.background,`paper`),Y(t.common,`background`),Y(t.common,`onBackground`),Y(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&J(t[e],`mainChannel`,Xr(Ma(n.main))),n.light&&J(t[e],`lightChannel`,Xr(Ma(n.light))),n.dark&&J(t[e],`darkChannel`,Xr(Ma(n.dark))),n.contrastText&&J(t[e],`contrastTextChannel`,Xr(Ma(n.contrastText))),e===`text`&&(Y(t[e],`primary`),Y(t[e],`secondary`)),e===`action`&&(n.active&&Y(t[e],`active`),n.selected&&Y(t[e],`selected`)))})}),C=t.reduce((e,t)=>L(e,t),C);let w=qi(e.focusVisible,t);w!=null&&w!==!1&&(C.focusVisible=Yi(w,p(`palette-primary-main`)));let ee={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Aa(C),enableContrastVars:o},{vars:te,generateThemeVars:ne,generateStyleSheets:re}=Si(C,ee);return C.vars=te,Object.entries(C.colorSchemes[C.defaultColorScheme]).forEach(([e,t])=>{C[e]=t}),C.generateThemeVars=ne,C.generateStyleSheets=re,C.generateSpacing=function(){return Vn(u.spacing,Fn(this))},C.getColorSchemeSelector=Ci(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...pr,...u?.unstable_sxConfig},C.unstable_sx=function(e){return gr({sx:e,theme:this})},C.internal_cache={},C.toRuntimeSource=va,C}function La(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Ri({...n===!0?{}:n.palette,mode:t})})}function Ra(e={},...t){let{palette:n,cssVariables:r=!1,colorSchemes:i=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...o}=e,s=a||`light`,c=i?.[s],l={...i,...n?{[s]:{...typeof c!=`boolean`&&c,palette:n}}:void 0};if(r===!1){if(!(`colorSchemes`in e))return Sa(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=Sa({...e,palette:r},...t);if(i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},La(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},La(i,`light`,l.light)),i.focusVisible!=null&&i.focusVisible!==!1){let n=i.focusVisible,r=qi(e.focusVisible,t),a=r&&typeof r==`object`?r.outlineColor:void 0;if(!a||Ji(r)&&a===i.palette.primary.main){let{outlineColor:e,...t}=n;n=t}Object.keys(i.colorSchemes).forEach(e=>{let t=i.colorSchemes?.[e]?.palette;t?.primary&&(i.colorSchemes[e].focusVisible=Yi(n,t.primary.main))})}return i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),Ia({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}function za(e){return typeof e==`string`}function Ba(...e){let t=s.useRef(void 0),n=s.useCallback(t=>{let n=e.map(e=>{if(e==null)return null;if(typeof e==`function`){let n=e,r=n(t);return typeof r==`function`?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>{n.forEach(e=>e?.())}},e);return s.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}function Va(e){let t=s.useRef(e);return Wr(()=>{t.current=e}),s.useRef((...e)=>(0,t.current)(...e)).current}function Ha(e){return e&&e.ownerDocument||document}var Ua=Ra();function Wa(){let e=wr(Ua);return e.$$material||e}function Ga(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ka=e=>Ga(e)&&e!==`classes`,qa=Br({themeId:_,defaultTheme:Ua,rootShouldForwardProp:Ka}),Ja=hi;function Ya(e){return pi(e)}var Xa=Cn,Za=Ba,Qa={transition:`none`};function $a(e,t){return e===`always`?t:e===`system`?{"@media (prefers-reduced-motion: reduce)":t}:null}var eo=e=>e.scrollTop,to={},no=[`all`],ro={};function io(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function ao(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function oo(e,t){let{timeout:n,easing:r,style:i=to}=e;return{duration:i.transitionDuration??(typeof n==`number`?n:n[t.mode]||0),easing:i.transitionTimingFunction??(typeof r==`object`?r[t.mode]:r),delay:i.transitionDelay}}function so(e,t){let n=t??Qa;return $a(e.motion?.reducedMotion,n)}function co(e,t=no,n=ro){let r=e.transitions?.create?.(t,n),i=so(e);if(r===void 0)return i??to;let a={transition:r};return i?{...a,...i}:a}function lo(e){return Ar(`MuiSvgIcon`,e)}jr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var uo=e=>{let{color:t,fontSize:n,classes:r}=e;return wi({root:[`root`,t!==`inherit`&&`color${Xa(t)}`,`fontSize${Xa(n)}`]},lo,r)},fo=qa(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${Xa(n.color)}`],t[`fontSize${Xa(n.fontSize)}`]]}})(Ja(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,...co(e,`fill`,{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:`currentColor`}},{props:{fontSize:`inherit`},style:{fontSize:`inherit`}},{props:{fontSize:`small`},style:{fontSize:e.typography?.pxToRem?.(20)||`1.25rem`}},{props:{fontSize:`medium`},style:{fontSize:e.typography?.pxToRem?.(24)||`1.5rem`}},{props:{fontSize:`large`},style:{fontSize:e.typography?.pxToRem?.(35)||`2.1875rem`}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:`action`},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:`disabled`},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:`inherit`},style:{color:void 0}}]}))),po=s.forwardRef(function(e,t){let n=Ya({props:e,name:`MuiSvgIcon`}),{children:r,className:i,color:a=`inherit`,component:c=`svg`,fontSize:l=`medium`,htmlColor:u,inheritViewBox:d=!1,titleAccess:f,viewBox:p=`0 0 24 24`,...m}=n,h=s.isValidElement(r)&&r.type===`svg`,g={...n,color:a,component:c,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:d,viewBox:p,hasSvgAsChild:h},_={};d||(_.viewBox=p);let v=uo(g);return(0,o.jsxs)(fo,{as:c,className:W(v.root,i),focusable:`false`,color:u,"aria-hidden":!f||void 0,role:f?`img`:void 0,ref:t,..._,...m,...h&&r.props,ownerState:g,children:[h?r.props.children:r,f?(0,o.jsx)(`title`,{children:f}):null]})});po.muiName=`SvgIcon`;function mo(e,t){function n(t,n){return(0,o.jsx)(po,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=po.muiName,s.memo(s.forwardRef(n))}function ho(e,t){typeof e==`function`?e(t):e&&(e.current=t)}var Z=Va;function go(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}var _o={};function vo(e,t){let n=s.useRef(_o);return n.current===_o&&(n.current=e(t)),n}var yo=`(prefers-reduced-motion: reduce)`,bo=0,xo=`0ms`,So=()=>{},Co=()=>!1,wo=()=>!0,To=()=>So;function Eo(e){let[t,n]=s.useState(()=>({enabled:e,matches:e?null:!1})),r=t.matches;return t.enabled!==e&&(r=null,e||(r=!1)),Wr(()=>{let r=t=>{n(n=>n.enabled===e&&n.matches===t?n:{enabled:e,matches:t})};if(!e){t.enabled&&r(!1);return}if(typeof window>`u`||typeof window.matchMedia!=`function`){r(!1);return}let i=window.matchMedia(yo),a=()=>{r(i.matches)};return a(),i.addEventListener(`change`,a),()=>{i.removeEventListener(`change`,a)}},[e,t.enabled]),r}var Do={...s}.useSyncExternalStore;function Oo(e){let t=e?wo:Co,[n,r]=s.useMemo(()=>{if(!e||typeof window>`u`||typeof window.matchMedia!=`function`)return[Co,To];let t=window.matchMedia(yo);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[e]);return Do(r,n,t)}var ko=Do===void 0?Eo:Oo;function Ao(e,t){let n=ko(!t&&e===`system`),r=!t&&(e===`always`||e===`system`&&n!==!1);return s.useMemo(()=>({shouldReduceMotion:r,getTransitionTiming(e){return r?{duration:bo,delay:xo}:e}}),[r])}function jo(e,t,n){return e===void 0||za(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Mo(e,t,n){return typeof e==`function`?e(t,n):e}function No(e){if(e===void 0)return{};let t={};for(let n of Object.keys(e))go(n,e[n])&&(t[n]=e[n]);return t}function Po(e){if(e===void 0)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]==`function`)).forEach(n=>{t[n]=e[n]}),t}function Fo(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=W(n?.className,a,i?.className,r?.className),t={...n?.style,...i?.style,...r?.style},o={...n,...i,...r};return e.length>0&&(o.className=e),Object.keys(t).length>0&&(o.style=t),{props:o,internalRef:void 0}}let o=No({...i,...r}),s=Po(r),c=Po(i),l=t(o),u=W(l?.className,n?.className,a,i?.className,r?.className),d={...l?.style,...n?.style,...i?.style,...r?.style},f={...l,...n,...c,...s};return u.length>0&&(f.className=u),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:l.ref}}function Io(e,t){let{className:n,elementType:r,ownerState:i,externalForwardedProps:a,internalForwardedProps:o,shouldForwardComponentProp:s=!1,...c}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,p=u[e]||r,m=Mo(d[e],i),{props:{component:h,...g},internalRef:_}=Fo({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=Ba(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,jo(p,{...e===`root`&&!l&&!u[e]&&o,...e!==`root`&&!u[e]&&o,...g,...y&&!s&&{as:y},...y&&s&&{component:y},ref:v},i)]}function Lo(e){try{return e.matches(`:focus-visible`)}catch{}return!1}function Ro(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:i=0,isNativeButton:a}=e,o=r&&t!==!1,c=r&&t===!1;return s.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=i,!a&&n&&(e.tabIndex=t?i:-1)),(a&&(t||o)||!a&&n)&&(e[`aria-disabled`]=n),a&&(!t||c)&&(e.disabled=n),e},[r,n,t,o,c,a,i])}var zo={};function Bo(e){let{nativeButton:t,nativeButtonProp:n,internalNativeButton:r=t,allowInferredHostMismatch:i=!1,disabled:a,type:o,hasFormAction:c=!1,tabIndex:l=0,focusableWhenDisabled:u,stopEventPropagation:d=!1,onBeforeKeyDown:f,onBeforeKeyUp:p}=e,m=s.useRef(null),h=u===!0,g=Ro({focusableWhenDisabled:h,disabled:a,isNativeButton:t,tabIndex:l}),_=s.useCallback(()=>{let e=m.current;return e==null?t:e.tagName===`BUTTON`||!!(e.tagName===`A`&&e.href)},[t]),v=s.useMemo(()=>{let e=h?{}:{tabIndex:a?-1:l};return t?(e.type=o===void 0&&!c?`button`:o,h||(e.disabled=a)):(e.role=`button`,!h&&a&&(e[`aria-disabled`]=a)),h?{...e,...g}:e},[a,h,g,c,t,l,o]);return{getButtonProps:s.useCallback((e=zo)=>{let{onClick:t,onKeyDown:n,onKeyUp:r,...i}=e,o=e=>{if(d&&e.stopPropagation(),a){e.preventDefault();return}t?.(e)},s=e=>{if(h&&g.onKeyDown(e),!a&&(f?.(e),n?.(e),!(e.target!==e.currentTarget||_()))){if(e.key===` `){e.preventDefault();return}e.key===`Enter`&&(e.preventDefault(),e.currentTarget.click())}},c=e=>{a||(p?.(e),r?.(e),e.target===e.currentTarget&&!_()&&e.key===` `&&!e.defaultPrevented&&e.currentTarget.click())};return{...v,...i,onClick:o,onKeyDown:s,onKeyUp:c}},[v,a,h,g,_,f,p,d]),rootRef:m}}var Vo=class e{static create(){return new e}static use(){let t=vo(e.create).current,[n,r]=s.useState(!1);return t.shouldMount=n,t.setShouldMount=r,s.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=Uo(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}};function Ho(){return Vo.use()}function Uo(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}var Wo=[];function Go(e){s.useEffect(e,Wo)}var Ko=class e{static create(){return new e}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear};function qo(){let e=vo(Ko.create).current;return Go(e.disposeEffect),e}function Jo(e){let{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:c,in:l,onExited:u,timeout:d}=e,[f,p]=s.useState(!1),m=qo(),h=s.useRef(!1),g=s.useRef(u);g.current=u;let _=u!=null,v=W(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:c,height:c,top:-(c/2)+a,left:-(c/2)+i},b=W(n.child,f&&n.childLeaving,r&&n.childPulsate);return!l&&!f&&p(!0),s.useEffect(()=>{!l&&_?h.current||(h.current=!0,m.start(d,()=>{h.current=!1,g.current?.()})):(h.current=!1,m.clear())},[m,_,l,d]),(0,o.jsx)(`span`,{className:v,style:y,children:(0,o.jsx)(`span`,{className:b})})}var Q=jr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Yo=550,Xo={},Zo=[],Qo=()=>{};function $o(e,t){let n=new Set(t),r=new Map,i=[];for(let t of e)n.has(t)?i.length>0&&(r.set(t,i),i=[]):i.push(t);let a=[];for(let e of t){let t=r.get(e);t&&a.push(...t),a.push(e)}return a.push(...i),a}function es({event:e,element:t,center:n}){let r=t?t.getBoundingClientRect():{width:0,height:0,left:0,top:0},i,a;if(n||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)i=Math.round(r.width/2),a=Math.round(r.height/2);else{let{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;i=Math.round(t-r.left),a=Math.round(n-r.top)}let o;if(n)o=Math.sqrt((2*r.width**2+r.height**2)/3),o%2==0&&(o+=1);else{let e=Math.max(Math.abs((t?t.clientWidth:0)-i),i)*2+2,n=Math.max(Math.abs((t?t.clientHeight:0)-a),a)*2+2;o=Math.sqrt(e**2+n**2)}return{rippleX:i,rippleY:a,rippleSize:o}}var ts=At`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`,ns=At`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`,rs=At`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`;function is(e){if(e.motion.reducedMotion===`always`)return null;let t=kt`
&.${Q.rippleVisible} {
animation-name: ${ts};
animation-duration: ${Yo}ms;
animation-timing-function: ${e.transitions.easing.easeInOut};
}
&.${Q.ripplePulsate} {
animation-duration: ${e.transitions.duration.shorter}ms;
}
& .${Q.childLeaving} {
animation-name: ${ns};
animation-duration: ${Yo}ms;
animation-timing-function: ${e.transitions.easing.easeInOut};
}
& .${Q.childPulsate} {
animation-name: ${rs};
animation-duration: 2500ms;
animation-timing-function: ${e.transitions.easing.easeInOut};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`;return e.motion.reducedMotion===`system`?kt`
@media (prefers-reduced-motion: no-preference) {
${t}
}
`:t}var as=qa(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),os=qa(Jo,{name:`MuiTouchRipple`,slot:`Ripple`})`
opacity: 0;
position: absolute;
&.${Q.rippleVisible} {
opacity: 0.3;
transform: scale(1);
}
/*
* Order matters: 'child', 'childLeaving' and 'childPulsate' apply to the same
* element with equal specificity, so the later rule wins. 'child' must come
* before 'childLeaving' so the leaving 'opacity: 0' takes precedence. A focus
* (pulsate) ripple keeps 'pulsateKeyframe' (no opacity animation) on exit, so
* it relies on this static 'opacity: 0' to disappear on blur instead of
* lingering until removal.
*/
& .${Q.child} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${Q.childLeaving} {
opacity: 0;
}
& .${Q.childPulsate} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
}
${({theme:e})=>is(e)}
`,ss=s.forwardRef(function(e,t){let n=Ya({props:e,name:`MuiTouchRipple`}),r=Ao(Wa().motion.reducedMotion,!1),{center:i=!1,classes:a=Xo,className:c,...l}=n,[u,d]=s.useState({items:Zo,order:Zo}),f=u.items,p=s.useRef(0),m=s.useRef(null),h=s.useRef(!1);Go(()=>(h.current=!0,()=>{h.current=!1})),s.useEffect(()=>{m.current&&=(m.current(),null)},[f]);let g=s.useRef(!1),_=qo(),v=s.useRef(null),y=s.useRef(null),b=Z(e=>{h.current&&d(t=>{let n=t.items.filter(t=>t.key!==e);return{items:n,order:$o(t.order.filter(t=>t!==e),n.filter(e=>!e.exiting).map(e=>e.key))}})}),x=Z(e=>{let{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e,o=p.current;p.current+=1,d(e=>{let a=[...e.items,{key:o,pulsate:t,rippleX:n,rippleY:r,rippleSize:i,exiting:!1}];return{items:a,order:$o(e.order,a.filter(e=>!e.exiting).map(e=>e.key))}}),m.current=a}),S=Z((e=Xo,t=Xo,n=Qo)=>{let{pulsate:r=!1,center:a=i||t.pulsate,fakeElement:o=!1}=t;if(e?.type===`mousedown`&&g.current){g.current=!1;return}e?.type===`touchstart`&&(g.current=!0);let{rippleX:s,rippleY:c,rippleSize:l}=es({event:e,element:o?null:y.current,center:a});e?.touches?v.current===null&&(v.current=()=>{x({pulsate:r,rippleX:s,rippleY:c,rippleSize:l,cb:n})},_.start(80,()=>{v.current&&=(v.current(),null)})):x({pulsate:r,rippleX:s,rippleY:c,rippleSize:l,cb:n})}),C=Z(()=>{S(Xo,{pulsate:!0})}),w=Z((e,t)=>{if(_.clear(),e?.type===`touchend`&&v.current){v.current(),v.current=null,_.start(0,()=>{w(e,t)});return}v.current=null,d(e=>{let t=e.items.findIndex(e=>!e.exiting);if(t===-1)return e;let n=e.items.slice();return n[t]={...n[t],exiting:!0},{items:n,order:$o(e.order,n.filter(e=>!e.exiting).map(e=>e.key))}}),m.current=t});s.useImperativeHandle(t,()=>({pulsate:C,start:S,stop:w}),[C,S,w]);let ee=new Map(f.map(e=>[e.key,e])),te=u.order.map(e=>ee.get(e)).filter(Boolean);return(0,o.jsx)(as,{className:W(Q.root,a.root,c),ref:y,...l,children:te.map(e=>(0,o.jsx)(os,{classes:{ripple:W(a.ripple,Q.ripple),rippleVisible:W(a.rippleVisible,Q.rippleVisible),ripplePulsate:W(a.ripplePulsate,Q.ripplePulsate),child:W(a.child,Q.child),childLeaving:W(a.childLeaving,Q.childLeaving),childPulsate:W(a.childPulsate,Q.childPulsate)},timeout:r.shouldReduceMotion?0:Yo,pulsate:e.pulsate,rippleX:e.rippleX,rippleY:e.rippleY,rippleSize:e.rippleSize,in:!e.exiting,onExited:()=>b(e.key)},e.key))})});function cs(e){return Ar(`MuiButtonBase`,e)}var ls=jr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),us=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,suppressFocusVisible:i,classes:a}=e,o=wi({root:[`root`,t&&`disabled`,n&&!i&&`focusVisible`]},cs,a);return n&&!i&&r&&(o.root+=` ${r}`),o},ds=qa(`button`,{name:`MuiButtonBase`,slot:`Root`})(Ja(({theme:e})=>({display:`inline-flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,boxSizing:`border-box`,WebkitTapHighlightColor:`transparent`,backgroundColor:`transparent`,outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:`pointer`,userSelect:`none`,verticalAlign:`middle`,MozAppearance:`none`,WebkitAppearance:`none`,textDecoration:`none`,color:`inherit`,"&::-moz-focus-inner":{borderStyle:`none`},[`&.${ls.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`},variants:[{props:{internalDisabledThemeFocusVisible:!1},style:e.focusVisible&&{...Wi,[`&.${ls.focusVisible}`]:e.focusVisible}}]}))),fs=s.forwardRef(function(e,t){let n=Ya({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:i=!1,children:a,className:c,component:l=`button`,disabled:u=!1,disableRipple:d=!1,disableTouchRipple:f=!1,focusRipple:p=!1,focusVisibleClassName:m,focusableWhenDisabled:h,suppressFocusVisible:g=!1,internalNativeButton:_,internalDisabledThemeFocusVisible:v=!1,LinkComponent:y=`a`,nativeButton:b,onBlur:x,onClick:S,onContextMenu:C,onDragLeave:w,onFocus:ee,onFocusVisible:te,onKeyDown:ne,onKeyUp:re,onMouseDown:ie,onMouseLeave:ae,onMouseUp:oe,onTouchEnd:se,onTouchMove:ce,onTouchStart:le,tabIndex:ue=0,TouchRippleProps:T,touchRippleRef:de,type:E,...D}=n,O=!!(D.href||D.to),fe=!!D.formAction,k=l;k===`button`&&O&&(k=y);let pe=typeof k==`string`?k===`button`:_??!1,me=b??pe,A=Ho(),he=Za(A.ref,de),[j,M]=s.useState(!1);(u||g)&&j&&M(!1);let ge=Z(e=>{p&&!e.repeat&&j&&e.key===` `&&A.stop(e,()=>{A.start(e)})}),_e=Z(e=>{p&&e.key===` `&&j&&!e.defaultPrevented&&A.stop(e,()=>{A.pulsate(e)})}),{getButtonProps:ve,rootRef:ye}=Bo({nativeButton:me,nativeButtonProp:b,internalNativeButton:pe,allowInferredHostMismatch:O||typeof k==`string`,disabled:u,type:E,hasFormAction:fe,tabIndex:ue,onBeforeKeyDown:ge,onBeforeKeyUp:_e}),{onClick:be,onKeyDown:N,onKeyUp:P,...xe}=ve({onClick:S,onKeyDown:ne,onKeyUp:re});s.useImperativeHandle(r,()=>({focusVisible:()=>{M(!0),ye.current.focus()}}),[ye]);let Se=A.shouldMount&&!d&&!u;s.useEffect(()=>{j&&p&&!d&&A.pulsate()},[d,p,j,A]);let Ce=$(A,`start`,ie,f),we=$(A,`stop`,C,f),Te=$(A,`stop`,w,f),Ee=$(A,`stop`,oe,f),De=$(A,`stop`,e=>{j&&e.preventDefault(),ae&&ae(e)},f),Oe=$(A,`start`,le,f),ke=$(A,`stop`,se,f),Ae=$(A,`stop`,ce,f),je=$(A,`stop`,e=>{Lo(e.target)||M(!1),x&&x(e)},!1),Me=Z(e=>{ye.current||=e.currentTarget,!g&&Lo(e.target)&&(M(!0),te&&te(e)),ee&&ee(e)}),Ne={};O&&(Ne.tabIndex=u?-1:ue,u&&(Ne[`aria-disabled`]=u),Ne.type=E);let Pe=Za(t,ye),Fe={...n,centerRipple:i,component:l,disabled:u,disableRipple:d,disableTouchRipple:f,focusRipple:p,suppressFocusVisible:g,tabIndex:ue,focusVisible:j,internalDisabledThemeFocusVisible:v},Ie=us(Fe);return(0,o.jsxs)(ds,{as:k,className:W(Ie.root,c),ownerState:Fe,onBlur:je,onClick:be,onContextMenu:we,onFocus:Me,onKeyDown:N,onKeyUp:P,onMouseDown:Ce,onMouseLeave:De,onMouseUp:Ee,onDragLeave:Te,onTouchEnd:ke,onTouchMove:Ae,onTouchStart:Oe,ref:Pe,...O?Ne:xe,...D,children:[a,Se?(0,o.jsx)(ss,{ref:he,center:i,...T}):null]})});function $(e,t,n,r=!1){return Z(i=>(n&&n(i),r||e[t](i),!0))}function ps(e){let{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:i=!1,...a}=e,o=i?{}:Mo(n,r),{props:s,internalRef:c}=Fo({...a,externalSlotProps:o}),l=Ba(c,o?.ref,e.additionalProps?.ref);return jo(t,{...s,ref:l},r)}var ms=jr(`MuiBox`,[`root`]),hs=Or({themeId:_,defaultTheme:Ra(),defaultClassName:ms.root,generateClassName:Er.generate});export{Sr as $,Ua as A,Wi as B,Xa as C,Ka as D,qa as E,Ra as F,ti as G,di as H,Ca as I,Ur as J,ai as K,na as L,Va as M,Ba as N,Ga as O,za as P,wr as Q,Gi as R,Za as S,Ja as T,ci as U,wi as V,li as W,Ar as X,jr as Y,W as Z,ao as _,Ko as a,At as at,io as b,Io as c,g as ct,vo as d,gr as et,go as f,so as g,mo as h,ls as i,kt as it,Ha as j,Wa as k,No as l,a as lt,ho as m,ps as n,Ut as nt,qo as o,xt as ot,Z as p,Wr as q,fs as r,Ot as rt,Lo as s,_ as st,hs as t,L as tt,Ao as u,oo as v,Ya as w,eo as x,co as y,Ki as z};