Files
simply_cpq/buildtime/client/material-editor/dist/assets/Toolbar-Ds5JbX8Q.js
T
2026-08-27 15:31:50 +02:00

133 lines
108 KiB
JavaScript

import{i as e,n as t,r as n,t as r}from"./jsx-runtime-DIhQqKhG.js";var i=e(t()),a=r(),o={black:`#000`,white:`#fff`},s={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`},c={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`},l={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`},u={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`},d={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`},f={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`},p={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 m(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 h=`$$material`;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(null,arguments)}function _(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 v(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 y=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(v(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=_(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}(),b=`-ms-`,x=`-moz-`,S=`-webkit-`,C=`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 T(e,0)^45?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3):0}function le(e){return e.trim()}function ue(e,t){return(e=t.exec(e))?e[0]:e}function w(e,t,n){return e.replace(t,n)}function de(e,t){return e.indexOf(t)}function T(e,t){return e.charCodeAt(t)|0}function fe(e,t,n){return e.slice(t,n)}function E(e){return e.length}function pe(e){return e.length}function D(e,t){return t.push(e),e}function me(e,t){return e.map(t).join(``)}var he=1,O=1,ge=0,k=0,A=0,_e=``;function ve(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:he,column:O,length:o,return:``}}function ye(e,t){return se(ve(``,null,null,``,null,null,0),e,{length:-e.length},t)}function be(){return A}function xe(){return A=k>0?T(_e,--k):0,O--,A===10&&(O=1,he--),A}function j(){return A=k<ge?T(_e,k++):0,O++,A===10&&(O=1,he++),A}function M(){return T(_e,k)}function Se(){return k}function Ce(e,t){return fe(_e,e,t)}function we(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 Te(e){return he=O=1,ge=E(_e=e),k=0,[]}function Ee(e){return _e=``,e}function De(e){return le(Ce(k-1,Ae(e===91?e+2:e===40?e+1:e)))}function Oe(e){for(;(A=M())&&A<33;)j();return we(e)>2||we(A)>3?``:` `}function ke(e,t){for(;--t&&j()&&!(A<48||A>102||A>57&&A<65||A>70&&A<97););return Ce(e,Se()+(t<6&&M()==32&&j()==32))}function Ae(e){for(;j();)switch(A){case e:return k;case 34:case 39:e!==34&&e!==39&&Ae(A);break;case 40:e===41&&Ae(e);break;case 92:j();break}return k}function je(e,t){for(;j()&&e+A!==57&&(e+A!==84||M()!==47););return`/*`+Ce(t,k-1)+`*`+oe(e===47?e:j())}function Me(e){for(;!we(M());)j();return Ce(e,k)}function Ne(e){return Ee(Pe(``,null,null,null,[``],e=Te(e),0,[0],e))}function Pe(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=j()){case 40:if(m!=108&&T(C,d-1)==58){de(C+=w(De(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=De(v);break;case 9:case 10:case 13:case 32:C+=Oe(m);break;case 92:C+=ke(Se()-1,7);continue;case 47:switch(M()){case 42:case 47:D(Ie(je(j(),Se()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=E(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=w(C,/\f/g,``)),p>0&&E(C)-d&&D(p>32?Le(C+`;`,r,n,d-1):Le(w(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(D(S=Fe(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123){if(u===0)Pe(C,t,S,S,b,a,d,s,x);else switch(f===99&&T(C,3)===110?100:f){case 100:case 108:case 109:case 115:Pe(e,S,S,r&&D(Fe(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Pe(C,S,S,S,[``],x,0,s,x)}}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+E(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&xe()==125)continue}switch(C+=oe(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(E(C)-1)*_,_=1;break;case 64:M()===45&&(C+=De(j())),f=M(),u=d=E(y=C+=Me(Se())),v++;break;case 45:m===45&&E(C)==2&&(h=0)}}return a}function Fe(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=pe(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=fe(e,d+1,d=ae(h=o[m])),y=e;_<p;++_)(y=le(h>0?f[_]+` `+v:w(v,/&\f/g,f[_])))&&(c[g++]=y);return ve(e,t,n,i===0?ee:s,c,l,u)}function Ie(e,t,n){return ve(e,t,n,C,oe(be()),fe(e,2,-2),0)}function Le(e,t,n,r){return ve(e,t,n,te,fe(e,0,r),fe(e,r+1,-1),r)}function Re(e,t){for(var n=``,r=pe(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function ze(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 C:return``;case re:return e.return=e.value+`{`+Re(e.children,r)+`}`;case ee:e.value=e.props.join(`,`)}return E(n=Re(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Be(e){var t=pe(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 Ve(e){return function(t){t.root||(t=t.return)&&e(t)}}function He(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ue=function(e,t,n){for(var r=0,i=0;r=i,i=M(),r===38&&i===12&&(t[n]=1),!we(i);)j();return Ce(e,k)},We=function(e,t){var n=-1,r=44;do switch(we(r)){case 0:r===38&&M()===12&&(t[n]=1),e[n]+=Ue(k-1,t,n);break;case 2:e[n]+=De(r);break;case 4:if(r===44){e[++n]=M()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=oe(r)}while(r=j());return e},Ge=function(e,t){return Ee(We(Te(e),t))},Ke=new WeakMap,qe=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&&!Ke.get(n))&&!r){Ke.set(e,!0);for(var i=[],a=Ge(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]}}},Je=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function Ye(e,t){switch(ce(e,t)){case 5103:return S+`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 S+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return S+e+x+e+b+e+e;case 6828:case 4268:return S+e+b+e+e;case 6165:return S+e+b+`flex-`+e+e;case 5187:return S+e+w(e,/(\w+).+(:[^]+)/,S+`box-$1$2`+b+`flex-$1$2`)+e;case 5443:return S+e+b+`flex-item-`+w(e,/flex-|-self/,``)+e;case 4675:return S+e+b+`flex-line-pack`+w(e,/align-content|flex-|-self/,``)+e;case 5548:return S+e+b+w(e,`shrink`,`negative`)+e;case 5292:return S+e+b+w(e,`basis`,`preferred-size`)+e;case 6060:return S+`box-`+w(e,`-grow`,``)+S+e+b+w(e,`grow`,`positive`)+e;case 4554:return S+w(e,/([^-])(transform)/g,`$1`+S+`$2`)+e;case 6187:return w(w(w(e,/(zoom-|grab)/,S+`$1`),/(image-set)/,S+`$1`),e,``)+e;case 5495:case 3959:return w(e,/(image-set\([^]*)/,S+"$1$`$1");case 4968:return w(w(e,/(.+:)(flex-)?(.*)/,S+`box-pack:$3`+b+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+S+e+e;case 4095:case 3583:case 4068:case 2532:return w(e,/(.+)-inline(.+)/,S+`$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(E(e)-1-t>6)switch(T(e,t+1)){case 109:if(T(e,t+4)!==45)break;case 102:return w(e,/(.+:)(.+)-([^]+)/,`$1`+S+`$2-$3$1`+x+(T(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~de(e,`stretch`)?Ye(w(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(T(e,t+1)!==115)break;case 6444:switch(T(e,E(e)-3-(~de(e,`!important`)&&10))){case 107:return w(e,`:`,`:`+S)+e;case 101:return w(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+S+(T(e,14)===45?`inline-`:``)+`box$3$1`+S+`$2$3$1`+b+`$2box$3`)+e}break;case 5936:switch(T(e,t+11)){case 114:return S+e+b+w(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return S+e+b+w(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return S+e+b+w(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return S+e+b+e+e}return e}var Xe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case te:e.return=Ye(e.value,e.length);break;case re:return Re([ye(e,{value:w(e.value,`@`,`@`+S)})],r);case ee:if(e.length)return me(e.props,function(t){switch(ue(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return Re([ye(e,{props:[w(t,/:(read-\w+)/,`:`+x+`$1`)]})],r);case`::placeholder`:return Re([ye(e,{props:[w(t,/:(plac\w+)/,`:`+S+`input-$1`)]}),ye(e,{props:[w(t,/:(plac\w+)/,`:`+x+`$1`)]}),ye(e,{props:[w(t,/:(plac\w+)/,b+`input-$1`)]})],r)}return``})}}],Ze=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||Xe,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=[qe,Je],l,u=[ze,Ve(function(e){l.insert(e)})],d=Be(c.concat(r,u)),f=function(e){return Re(Ne(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 y({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},Qe=n((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})),$e=n(((e,t)=>{t.exports=Qe()})),et=n(((e,t)=>{var n=$e(),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 tt(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var nt=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},rt=function(e,t,n){nt(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 it(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 at={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},ot=/[A-Z]|^ms/g,st=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ct=function(e){return e.charCodeAt(1)===45},lt=function(e){return e!=null&&typeof e!=`boolean`},ut=He(function(e){return ct(e)?e:e.replace(ot,`-$&`).toLowerCase()}),dt=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(st,function(e,t,n){return ht={name:t,styles:n,next:ht},t})}return at[e]!==1&&!ct(e)&&typeof t==`number`&&t!==0?t+`px`:t};function ft(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 ht={name:i.name,styles:i.styles,next:ht},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)ht={name:o.name,styles:o.styles,next:ht},o=o.next;return a.styles+`;`}return pt(e,t,n);case`function`:if(e!==void 0){var s=ht,c=n(e);return ht=s,ft(e,t,c)}}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function pt(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ft(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]+`}`:lt(s)&&(r+=ut(a)+`:`+dt(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++)lt(o[c])&&(r+=ut(a)+`:`+dt(a,o[c])+`;`);else{var l=ft(e,t,o);switch(a){case`animation`:case`animationName`:r+=ut(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var mt=/label:\s*([^\s;{]+)\s*(;|$)/g,ht;function gt(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=``;ht=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=ft(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=ft(n,t,e[o]),r&&(i+=a[o]);mt.lastIndex=0;for(var s=``,c;(c=mt.exec(i))!==null;)s+=`-`+c[1];return{name:it(i)+s,styles:i,next:ht}}var _t=function(e){return e()},vt=i.useInsertionEffect?i.useInsertionEffect:!1,yt=vt||_t,bt=vt||i.useLayoutEffect,xt=i.createContext(typeof HTMLElement<`u`?Ze({key:`css`}):null);xt.Provider;var St=function(e){return(0,i.forwardRef)(function(t,n){return e(t,(0,i.useContext)(xt),n)})},Ct=i.createContext({}),wt={}.hasOwnProperty,Tt=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Et=function(e,t){var n={};for(var r in t)wt.call(t,r)&&(n[r]=t[r]);return n[Tt]=e,n},Dt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return nt(t,n,r),yt(function(){return rt(t,n,r)}),null},Ot=St(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var a=e[Tt],o=[r],s=``;typeof e.className==`string`?s=tt(t.registered,o,e.className):e.className!=null&&(s=e.className+` `);var c=gt(o,void 0,i.useContext(Ct));s+=t.key+`-`+c.name;var l={};for(var u in e)wt.call(e,u)&&u!==`css`&&u!==Tt&&(l[u]=e[u]);return l.className=s,n&&(l.ref=n),i.createElement(i.Fragment,null,i.createElement(Dt,{cache:t,serialized:c,isStringTag:typeof a==`string`}),i.createElement(a,l))});et();var kt=function(e,t){var n=arguments;if(t==null||!wt.call(t,`css`))return i.createElement.apply(void 0,n);var r=n.length,a=Array(r);a[0]=Ot,a[1]=Et(e,t);for(var o=2;o<r;o++)a[o]=n[o];return i.createElement.apply(null,a)};(function(e){var t;t||=e.JSX||={}})(kt||={});var At=St(function(e,t){var n=e.styles,r=gt([n],void 0,i.useContext(Ct)),a=i.useRef();return bt(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}),i=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(i=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),a.current=[n,i],function(){n.flush()}},[t]),bt(function(){var e=a.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&rt(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 jt(){return gt([...arguments])}function Mt(){var e=jt.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 Nt=/^((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)-.*))$/,Pt=He(function(e){return Nt.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Ft=function(e){return e!==`theme`},It=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?Pt:Ft},Lt=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},Rt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return nt(t,n,r),yt(function(){return rt(t,n,r)}),null},zt=function e(t,n){var r=t.__emotion_real===t,a=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var c=Lt(t,n,r),l=c||It(a),u=!l(`as`);return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push(`label:`+o+`;`),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var p=d[0];f.push(p[0]);for(var m=d.length,h=1;h<m;h++)f.push(d[h],p[h])}var _=St(function(e,t,n){var r=u&&e.as||a,o=``,d=[],p=e;if(e.theme==null){for(var m in p={},e)p[m]=e[m];p.theme=i.useContext(Ct)}typeof e.className==`string`?o=tt(t.registered,d,e.className):e.className!=null&&(o=e.className+` `);var h=gt(f.concat(d),t.registered,p);o+=t.key+`-`+h.name,s!==void 0&&(o+=` `+s);var g=u&&c===void 0?It(r):l,_={};for(var v in e)u&&v===`as`||g(v)&&(_[v]=e[v]);return _.className=o,n&&(_.ref=n),i.createElement(i.Fragment,null,i.createElement(Rt,{cache:t,serialized:h,isStringTag:typeof r==`string`}),i.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=f,_.__emotion_forwardProp=c,Object.defineProperty(_,"toString",{value:function(){return`.`+s}}),_.withComponent=function(t,r){return e(t,g({},n,r,{shouldForwardProp:Lt(_,r,!0)})).apply(void 0,f)},_}},Bt=`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(`.`),Vt=zt.bind(null);Bt.forEach(function(e){Vt[e]=Vt(e)});function Ht(e,t){return Vt(e,t)}function Ut(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Wt=[];function Gt(e){return Wt[0]=e,gt(Wt)}var Kt=n((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))}})),qt=n(((e,t)=>{t.exports=Kt()}))();function Jt(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 Yt(e){if(i.isValidElement(e)||(0,qt.isValidElementType)(e)||!Jt(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Yt(e[n])}),t}function N(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Jt(e)&&Jt(t)&&Object.keys(t).forEach(a=>{i.isValidElement(t[a])||(0,qt.isValidElementType)(t[a])?r[a]=t[a]:Jt(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Jt(e[a])?r[a]=N(e[a],t[a],n):n.clone?r[a]=Jt(t[a])?Yt(t[a]):t[a]:r[a]=t[a]}),r}var Xt=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 Zt(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Xt(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 Qt=/min-width:\s*([0-9.]+)/;function $t(e,t){if(!e.containerQueries||!en(t))return t;let n=[];for(let e in t)e.startsWith(`@container`)&&n.push(e);n.sort((e,t)=>(e.match(Qt)?.[1]||0)-+(t.match(Qt)?.[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 en(e){for(let t in e)if(t.startsWith(`@container`))return!0;return!1}function tn(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function nn(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 rn(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 an={borderRadius:4};function on(e){if(e==null)return!0;for(let t in e)return!1;return!0}function sn(e,t){let n=Array.isArray(t),r=Array.isArray(e);return fn(t)?t:pn(e)?mn(t):n&&r?un(e,t):n===r?hn(e,t):mn(t)}function cn(e){let t=0,n=e.length,r=Array(n);for(t=0;t<n;t+=1)r[t]=mn(e[t]);return r}function ln(e){let t={};for(let n in e)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(t[n]=mn(e[n]));return t}function un(e,t){let n=e.length;for(let r=0;r<t.length;r+=1)e[n+r]=mn(t[r]);return e}function dn(e){return typeof e==`object`&&!!e&&!(e instanceof RegExp)&&!(e instanceof Date)}function fn(e){return typeof e!=`object`||!e}function pn(e){return typeof e!=`object`||!e||e instanceof RegExp||e instanceof Date}function mn(e){return dn(e)?Array.isArray(e)?cn(e):ln(e):e}function hn(e,t){for(let n in t)n!==`__proto__`&&n!==`constructor`&&n!==`prototype`&&(e[n]=n in e?sn(e[n],t[n]):mn(t[n]));return e}var gn={},_n={xs:0,sm:600,md:900,lg:1200,xl:1536},vn=Zt({values:_n}),yn={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:_n[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function bn(e,t,n){let r={};return xn(r,e.theme,t,(e,t,i)=>{let a=n(t,i);e?r[e]=a:sn(r,a)})}function xn(e,t,n,r){if(t??=gn,Array.isArray(n)){let i=t.breakpoints??vn;for(let t=0;t<n.length;t+=1)Sn(e,i.up(i.keys[t]),n[t],void 0,r);return e}if(typeof n==`object`){let i=t.breakpoints??vn,a=i.values??_n;for(let o in n)if(tn(i.keys,o)){let i=nn(t.containerQueries?t:yn,o);i&&Sn(e,i,n[o],o,r)}else if(o in a)Sn(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 Sn(e,t,n,r,i){e[t]??={},i(t,n,r)}function Cn(e=vn){let{internal_mediaKeys:t}=e,n={};for(let e=0;e<t.length;e+=1)n[t[e]]={};return n}function wn(e,t){let n=e.internal_mediaKeys;for(let e=0;e<n.length;e+=1){let r=n[e];on(t[r])&&delete t[r]}return t}function Tn(e,...t){return wn(e,[Cn(e),...t].reduce((e,t)=>N(e,t),{}))}function En(e,t){if(typeof e!=`object`)return{};let n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{e[t]!=null&&(n[t]=!0)}),n}function Dn(e){let{values:t,breakpoints:n,base:r}=e,i=r||En(t,n),a=Object.keys(i);if(a.length===0)return t;let o;return a.reduce((e,n,r)=>{if(Array.isArray(t))e[n]=t[r]==null?t[o]:t[r],o=r;else if(typeof t==`object`&&t){let r=t;e[n]=r[n]==null?r[o]:r[n],o=n}else e[n]=t;return e},{})}function On(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(tn(e.keys,n[t]))return!0}return!1}function kn(e){if(typeof e!=`string`)throw Error(m(7));return e.charAt(0).toUpperCase()+e.slice(1)}function An(e,t,n,r){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||n:typeof n==`string`&&jn(e,n,!0,r)||n,t&&(i=t(i,n,e)),i}function jn(e,t,n=!0,r=void 0){if(!e||!t)return null;let i=t.split(`.`);if(e.vars&&n){let t=Mn(e.vars,i,r);if(t!=null)return t}return Mn(e,i,r)}function Mn(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"?``:kn(e)}`;return r?.[i]}return i}function P(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=jn(o,r)||{};return bn(e,a,e=>{let r=An(s,i,e,t);return n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}var Nn={internal_cache:{}},Pn={m:`margin`,p:`padding`},Fn={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},In={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Ln={};for(let e in Pn)Ln[e]=[Pn[e]];for(let e in Pn)for(let t in Fn){let n=Pn[e],r=Fn[t],i=Array.isArray(r)?r.map(e=>n+e):[n+r];Ln[e+t]=i}for(let e in In)Ln[e]=Ln[In[e]];var Rn=new Set([`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`]),zn=new Set([`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`]);[...Rn,...zn];function Bn(e,t,n,r){let i=jn(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 Vn(e){return Bn(e,`spacing`,8,`spacing`)}function Hn(e,t){return typeof t==`string`||t==null?t:e(t)}var Un=[``];function Wn(e,t){let n=e.theme??Nn,r=n?.internal_cache?.unarySpacing??Vn(n),i={};for(let n in e){if(!t.has(n))continue;let a=Ln[n]??(Un[0]=n,Un),o=e[n];xn(i,e.theme,o,(e,t)=>{let n=e?i[e]:i;for(let e=0;e<a.length;e+=1)n[a[e]]=Hn(r,t)})}return i}function Gn(e){return Wn(e,Rn)}Gn.propTypes={},Gn.filterProps=Rn;var F=Gn;function Kn(e){return Wn(e,zn)}Kn.propTypes={},Kn.filterProps=zn;var I=Kn;function qn(e=8,t=Vn({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 Jn(...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]&&sn(n,t[r](e));return n};return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function L(e){return typeof e==`number`?`${e}px solid`:e}function R(e,t){return P({prop:e,themeKey:`borders`,transform:t})}var Yn=R(`border`,L),Xn=R(`borderTop`,L),Zn=R(`borderRight`,L),Qn=R(`borderBottom`,L),$n=R(`borderLeft`,L),er=R(`borderColor`),tr=R(`borderTopColor`),nr=R(`borderRightColor`),rr=R(`borderBottomColor`),ir=R(`borderLeftColor`),ar=R(`outline`,L),or=R(`outlineColor`),sr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Bn(e.theme,`shape.borderRadius`,4,`borderRadius`);return bn(e,e.borderRadius,e=>({borderRadius:Hn(t,e)}))}return null};sr.propTypes={},sr.filterProps=[`borderRadius`],Jn(Yn,Xn,Zn,Qn,$n,er,tr,nr,rr,ir,sr,ar,or);var cr=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Bn(e.theme,`spacing`,8,`gap`);return bn(e,e.gap,e=>({gap:Hn(t,e)}))}return null};cr.propTypes={},cr.filterProps=[`gap`];var lr=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Bn(e.theme,`spacing`,8,`columnGap`);return bn(e,e.columnGap,e=>({columnGap:Hn(t,e)}))}return null};lr.propTypes={},lr.filterProps=[`columnGap`];var ur=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Bn(e.theme,`spacing`,8,`rowGap`);return bn(e,e.rowGap,e=>({rowGap:Hn(t,e)}))}return null};ur.propTypes={},ur.filterProps=[`rowGap`],Jn(cr,lr,ur,P({prop:`gridColumn`}),P({prop:`gridRow`}),P({prop:`gridAutoFlow`}),P({prop:`gridAutoColumns`}),P({prop:`gridAutoRows`}),P({prop:`gridTemplateColumns`}),P({prop:`gridTemplateRows`}),P({prop:`gridTemplateAreas`}),P({prop:`gridArea`}));function dr(e,t){return t===`grey`?t:e}Jn(P({prop:`color`,themeKey:`palette`,transform:dr}),P({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:dr}),P({prop:`backgroundColor`,themeKey:`palette`,transform:dr}));var fr=_n;function z(e){return e<=1&&e!==0?`${e*100}%`:e}var pr=P({prop:`width`,transform:z}),mr=e=>e.maxWidth!==void 0&&e.maxWidth!==null?bn(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||fr[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:z(t)}}):null;mr.filterProps=[`maxWidth`];var hr=P({prop:`minWidth`,transform:z}),gr=P({prop:`height`,transform:z}),_r=P({prop:`maxHeight`,transform:z}),vr=P({prop:`minHeight`,transform:z});P({prop:`size`,cssProperty:`width`,transform:z}),P({prop:`size`,cssProperty:`height`,transform:z}),Jn(pr,mr,hr,gr,_r,vr,P({prop:`boxSizing`}));var yr={border:{themeKey:`borders`,transform:L},borderTop:{themeKey:`borders`,transform:L},borderRight:{themeKey:`borders`,transform:L},borderBottom:{themeKey:`borders`,transform:L},borderLeft:{themeKey:`borders`,transform:L},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:L},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:sr},color:{themeKey:`palette`,transform:dr},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:dr},backgroundColor:{themeKey:`palette`,transform:dr},p:{style:I},pt:{style:I},pr:{style:I},pb:{style:I},pl:{style:I},px:{style:I},py:{style:I},padding:{style:I},paddingTop:{style:I},paddingRight:{style:I},paddingBottom:{style:I},paddingLeft:{style:I},paddingX:{style:I},paddingY:{style:I},paddingInline:{style:I},paddingInlineStart:{style:I},paddingInlineEnd:{style:I},paddingBlock:{style:I},paddingBlockStart:{style:I},paddingBlockEnd:{style:I},m:{style:F},mt:{style:F},mr:{style:F},mb:{style:F},ml:{style:F},mx:{style:F},my:{style:F},margin:{style:F},marginTop:{style:F},marginRight:{style:F},marginBottom:{style:F},marginLeft:{style:F},marginX:{style:F},marginY:{style:F},marginInline:{style:F},marginInlineStart:{style:F},marginInlineEnd:{style:F},marginBlock:{style:F},marginBlockStart:{style:F},marginBlockEnd:{style:F},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:cr},rowGap:{style:ur},columnGap:{style:lr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:z},maxWidth:{style:mr},minWidth:{transform:z},height:{transform:z},maxHeight:{transform:z},minHeight:{transform:z},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`}},br={};function xr(){function e(t){if(!t.sx)return null;let{sx:n,theme:r=br,nested:i}=t,a=r.unstable_sxConfig??yr,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??vn,l=Cn(c);for(let n in s){let i=wr(s[n],r);if(i!=null){if(typeof i!=`object`){Cr(l,n,i,r,a);continue}if(a[n]){Cr(l,n,i,r,a);continue}On(c,i)?xn(l,t.theme,i,(e,t)=>{l[e][n]=t}):(o.sx=i,l[n]=e(o))}}return!i&&r.modularCssLayers?{"@layer sx":$t(r,wn(c,l))}:$t(r,wn(c,l))}return Array.isArray(n)?n.map(s):s(n)}return e.filterProps=[`sx`],e}var Sr=xr();function Cr(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){sn(e,s({[t]:n,theme:r}));return}let{cssProperty:c=t,transform:l}=a,u=jn(r,o);xn(e,r,n,(n,r)=>{let i=An(u,l,r,t);c===!1?sn(n?e[n]:e,i):n?e[n][c]=i:e[c]=i})}function wr(e,t){return typeof e==`function`?e(t):e}function Tr(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 Er(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Zt(n),c=qn(i),l=N({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...an,...a}},o);return l=rn(l),l.applyStyles=Tr,l=t.reduce((e,t)=>N(e,t),l),l.unstable_sxConfig={...yr,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Sr({sx:e,theme:this})},l.internal_cache={},l}function Dr(e){return Object.keys(e).length===0}function Or(e=null){let t=i.useContext(Ct);return!t||Dr(t)?e:t}var kr=Er();function Ar(e=kr){return Or(e)}var jr=e=>e,Mr=(()=>{let e=jr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=jr}}})();function Nr(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=Nr(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function B(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Nr(e))&&(r&&(r+=` `),r+=t);return r}var Pr={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 V(e,t,n=`Mui`){let r=Pr[t];return r?`${n}-${r}`:`${Mr.generate(e)}-${t}`}function Fr(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=V(e,t,n)}),r}function Ir(e){let{variants:t,...n}=e,r={variants:t,style:Gt(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=Gt(e.style))}),r}var Lr=Er();function Rr(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function zr(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Br(e){return e?(t,n)=>n[e]:null}function Vr(e,t,n){e.theme=on(e.theme)?n:e.theme[t]||e.theme}function Hr(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Hr(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?zr(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?zr(Gt(i),n):i}return Ur(e,r.variants,[t],n)}return r?.isProcessed?n?zr(Gt(r.style),n):r.style:n?zr(Gt(r),n):r}function Ur(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?zr(Gt(o.style(i)),r):o.style(i))):n.push(r?zr(Gt(o.style),r):o.style)}return n}function Wr(e={}){let{themeId:t,defaultTheme:n=Lr,rootShouldForwardProp:r=Rr,slotShouldForwardProp:i=Rr}=e;function a(e){Vr(e,t,n)}return(e,t={})=>{Ut(e,e=>e.filter(e=>e!==Sr));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Br(Kr(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=Rr;o===`Root`||o===`root`?m=r:o?m=i:Gr(e)&&(m=void 0);let h=Ht(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Hr(t,e,t.theme.modularCssLayers?d:void 0)};if(Jt(e)){let t=Ir(e);return function(e){return t.variants?Hr(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?zr(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]=Hr(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?Ur(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Sr),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 Gr(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Kr(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}var qr=Wr();function Jr(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;r[a][t]=Jr(i[t],o[t],n)}}}else a===`className`&&n&&t.className!==void 0?r.className=B(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}function Yr(e){let{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Jr(t.components[n].defaultProps,r)}function Xr(e){let{props:t,name:n,defaultTheme:r,themeId:i}=e,a=Ar(r);return i&&(a=a[i]||a),Yr({theme:a,name:n,props:t})}var Zr=typeof window<`u`?i.useLayoutEffect:i.useEffect;function Qr(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function $r(e,t=0,n=1){return Qr(e,t,n)}function ei(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 ti(e){if(e.type)return e;if(e.charAt(0)===`#`)return ti(ei(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(m(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(m(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var ni=e=>{let t=ti(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},ri=(e,t)=>{try{return ni(e)}catch{return e}};function ii(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 ai(e){e=ti(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])),ii({type:s,values:c})}function oi(e){e=ti(e);let t=e.type===`hsl`||e.type===`hsla`?ti(ai(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 si(e,t){let n=oi(e),r=oi(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ci(e,t){return e=ti(e),t=$r(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,ii(e)}function li(e,t,n){try{return ci(e,t)}catch{return e}}function ui(e,t){if(e=ti(e),t=$r(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 ii(e)}function H(e,t,n){try{return ui(e,t)}catch{return e}}function di(e,t){if(e=ti(e),t=$r(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 ii(e)}function U(e,t,n){try{return di(e,t)}catch{return e}}function fi(e,t=.15){return oi(e)>.5?ui(e,t):di(e,t)}function pi(e,t,n){try{return fi(e,t)}catch{return e}}var mi=i.createContext(void 0);function hi(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?Jr(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Jr(i,r,t.components.mergeClassNameAndStyle):r}function gi({props:e,name:t}){return hi({props:e,name:t,theme:{components:i.useContext(mi)}})}var _i=0;function vi(e){let[t,n]=i.useState(e),r=e||t;return i.useEffect(()=>{t??(_i+=1,n(`mui-${_i}`))},[t]),r}var yi={...i}.useId;function bi(e){if(yi!==void 0){let t=yi();return e??t}return vi(e)}var xi={theme:void 0};function Si(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(xi.theme=r.theme,i=Ir(e(xi)),t=i,n=r.theme),i}}function Ci(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 wi=new Set([`__proto__`,`constructor`,`prototype`]),Ti=(e,t,n,r=[])=>{let i=e;for(let e=0;e<t.length;e+=1){let a=t[e];if(wi.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])}},Ei=(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)},Di=(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 Oi(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},a={},o={};return Ei(e,(e,t,s)=>{if((typeof t==`string`||typeof t==`number`)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:``}${e.join(`-`)}`,c=Di(e,t);Object.assign(i,{[r]:c}),Ti(a,e,`var(${r})`,s),Ti(o,e,`var(${r}, ${c})`,s)}},e=>e[0]===`vars`),{css:i,vars:a,varsWithDefaults:o}}function ki(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}=Oi(l,t),p=f,m={},{[c]:h,...g}=o;if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:i,varsWithDefaults:a}=Oi(n,t);p=N(p,a),m[e]={css:i,vars:r}}),h){let{css:e,vars:n,varsWithDefaults:r}=Oi(h,t);p=N(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=N(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 Ai(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 ji(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}var Mi=Er(),Ni=qr(`div`,{name:`MuiStack`,slot:`Root`});function Pi(e){return Xr({props:e,name:`MuiStack`,defaultTheme:Mi})}function Fi(e,t){let n=i.Children.toArray(e).filter(Boolean);return n.reduce((e,r,a)=>(e.push(r),a<n.length-1&&e.push(i.cloneElement(t,{key:`separator-${a}`})),e),[])}var Ii=e=>({row:`Left`,"row-reverse":`Right`,column:`Top`,"column-reverse":`Bottom`})[e],Li=({ownerState:e,theme:t})=>{let n={display:`flex`,flexDirection:`column`,...bn({theme:t},Dn({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){let r=Vn(t),i=Object.keys(t.breakpoints.values).reduce((t,n)=>((typeof e.spacing==`object`&&e.spacing[n]!=null||typeof e.direction==`object`&&e.direction[n]!=null)&&(t[n]=!0),t),{}),a=Dn({values:e.direction,base:i}),o=Dn({values:e.spacing,base:i});typeof a==`object`&&Object.keys(a).forEach((e,t,n)=>{if(!a[e]){let r=t>0?a[n[t-1]]:`column`;a[e]=r}}),n=N(n,bn({theme:t},o,(t,n)=>e.useFlexGap?{gap:Hn(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Ii(n?a[n]:e.direction)}`]:Hn(r,t)}}))}return n=Tn(t.breakpoints,n),n};function Ri(e={}){let{createStyledComponent:t=Ni,useThemeProps:n=Pi,componentName:r=`MuiStack`}=e,o=()=>ji({root:[`root`]},e=>V(r,e),{}),s=t(Li);return i.forwardRef(function(e,t){let{component:r=`div`,direction:i=`column`,spacing:c=0,divider:l,children:u,className:d,useFlexGap:f=!1,...p}=n(e),m={direction:i,spacing:c,useFlexGap:f},h=o();return(0,a.jsx)(s,{as:r,ownerState:m,ref:t,className:B(h.root,d),...p,children:l?Fi(u,l):u})})}function zi(){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:o.white,default:o.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 Bi=zi();function Vi(){return{text:{primary:o.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:o.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 Hi=Vi();function Ui(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=di(e.main,i):t===`dark`&&(e.dark=ui(e.main,a)))}function Wi(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 Gi(e=`light`){return e===`dark`?{main:l[200],light:l[50],dark:l[400]}:{main:l[700],light:l[400],dark:l[800]}}function Ki(e=`light`){return e===`dark`?{main:c[200],light:c[50],dark:c[400]}:{main:c[500],light:c[300],dark:c[700]}}function qi(e=`light`){return e===`dark`?{main:s[500],light:s[300],dark:s[700]}:{main:s[700],light:s[400],dark:s[800]}}function Ji(e=`light`){return e===`dark`?{main:u[400],light:u[300],dark:u[700]}:{main:u[700],light:u[500],dark:u[900]}}function Yi(e=`light`){return e===`dark`?{main:d[400],light:d[300],dark:d[700]}:{main:d[800],light:d[500],dark:d[900]}}function Xi(e=`light`){return e===`dark`?{main:f[400],light:f[300],dark:f[700]}:{main:`#ed6c02`,light:f[500],dark:f[900]}}function Zi(e){return`oklch(from ${e} var(--__l) 0 h / var(--__a))`}function Qi(e){let{mode:t=`light`,contrastThreshold:n=3,tonalOffset:r=.2,colorSpace:i,...a}=e,s=e.primary||Gi(t),c=e.secondary||Ki(t),l=e.error||qi(t),u=e.info||Ji(t),d=e.success||Yi(t),f=e.warning||Xi(t);function h(e){return i?Zi(e):si(e,Hi.text.primary)>=n?Hi.text.primary:Bi.text.primary}let g=({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(m(11,t?` (${t})`:``,n));if(typeof e.main!=`string`)throw Error(m(12,t?` (${t})`:``,JSON.stringify(e.main)));return i?(Wi(i,e,`light`,a,r),Wi(i,e,`dark`,o,r)):(Ui(e,`light`,a,r),Ui(e,`dark`,o,r)),e.contrastText||(e.contrastText=h(e.main)),e},_;return t===`light`?_=zi():t===`dark`&&(_=Vi()),N({common:{...o},mode:t,primary:g({color:s,name:`primary`}),secondary:g({color:c,name:`secondary`,mainShade:`A400`,lightShade:`A200`,darkShade:`A700`}),error:g({color:l,name:`error`}),warning:g({color:f,name:`warning`}),info:g({color:u,name:`info`}),success:g({color:d,name:`success`}),grey:p,contrastThreshold:n,getContrastText:h,augmentColor:g,tonalOffset:r,..._},a)}function $i(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 ea(e,t){return{toolbar:{minHeight:56,[e.up(`xs`)]:{"@media (orientation: landscape)":{minHeight:48}},[e.up(`sm`)]:{minHeight:64}},...t}}function ta(e){return Math.round(e*1e5)/1e5}var na={textTransform:`uppercase`},ra=`"Roboto", "Helvetica", "Arial", sans-serif`;function ia(e,t){let{fontFamily:n=ra,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===ra?{letterSpacing:`${ta(i/t)}em`}:{},...a,...l});return N({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,na),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,na),inherit:{fontFamily:`inherit`,fontWeight:`inherit`,fontSize:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},d,{clone:!1})}var aa=.2,oa=.14,sa=.12;function W(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${aa})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${oa})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${sa})`].join(`,`)}var ca=[`none`,W(0,2,1,-1,0,1,1,0,0,1,3,0),W(0,3,1,-2,0,2,2,0,0,1,5,0),W(0,3,3,-2,0,3,4,0,0,1,8,0),W(0,2,4,-1,0,4,5,0,0,1,10,0),W(0,3,5,-1,0,5,8,0,0,1,14,0),W(0,3,5,-1,0,6,10,0,0,1,18,0),W(0,4,5,-2,0,7,10,1,0,2,16,1),W(0,5,5,-3,0,8,10,1,0,3,14,2),W(0,5,6,-3,0,9,12,1,0,3,16,2),W(0,6,6,-3,0,10,14,1,0,4,18,3),W(0,6,7,-4,0,11,15,1,0,4,20,3),W(0,7,8,-4,0,12,17,2,0,5,22,4),W(0,7,8,-4,0,13,19,2,0,5,24,4),W(0,7,9,-4,0,14,21,2,0,5,26,4),W(0,8,9,-5,0,15,22,2,0,6,28,5),W(0,8,10,-5,0,16,24,2,0,6,30,5),W(0,8,11,-5,0,17,26,2,0,6,32,5),W(0,9,11,-5,0,18,28,2,0,7,34,6),W(0,9,12,-6,0,19,29,2,0,7,36,6),W(0,10,13,-6,0,20,31,3,0,8,38,7),W(0,10,13,-6,0,21,33,3,0,8,40,7),W(0,10,14,-6,0,22,35,3,0,8,42,7),W(0,11,14,-7,0,23,36,3,0,9,44,8),W(0,11,15,-7,0,24,38,3,0,9,46,8)],la=[`all`],ua={},da={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)`},fa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function pa(e){return`${Math.round(e)}ms`}function ma(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ha(e){let t={...e};delete t.reducedMotion;let n={...da,...t.easing},r={...fa,...t.duration};return{getAutoHeightDuration:ma,create:t.create??((e=la,t=ua)=>{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:pa(i)} ${a} ${typeof o==`string`?o:pa(o)}`).join(`,`)}),...t,easing:n,duration:r}}var ga={};function _a(e=ga){return{reducedMotion:`never`,...e}}var va={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ya(e){return Jt(e)||e===void 0||typeof e==`string`||typeof e==`boolean`||typeof e==`number`||Array.isArray(e)}function ba(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];!ya(a)||i.startsWith(`unstable_`)||i.startsWith(`internal_`)?delete e[i]:Jt(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 xa(e){return typeof e==`number`?`${(e*100).toFixed(0)}%`:`calc((${e}) * 100%)`}var Sa=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 Ca(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})`:ci(t,Sa(n))},lighten(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #fff ${xa(n)})`:di(t,n)},darken(t,n){let r=this||e;return r.colorSpace?`color-mix(in ${r.colorSpace}, ${t}, #000 ${xa(n)})`:ui(t,n)}})}function wa(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(m(22));let f=Qi({...a,colorSpace:u}),p=Er(e),h=N(p,{mixins:ea(p.breakpoints,r),palette:f,shadows:ca.slice(),typography:ia(f,c),motion:_a(o),transitions:ha(s),zIndex:{...va}});return h=N(h,d),h=t.reduce((e,t)=>N(e,t),h),delete h.transitions.reducedMotion,h.unstable_sxConfig={...yr,...d?.unstable_sxConfig},h.unstable_sx=function(e){return Sr({sx:e,theme:this})},h.toRuntimeSource=ba,Ca(h),h}function Ta(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}var Ea=[...Array(25)].map((e,t)=>{if(t===0)return`none`;let n=Ta(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Da(e){return{inputPlaceholder:e===`dark`?.5:.42,inputUnderline:e===`dark`?.7:.42,switchTrackDisabled:e===`dark`?.2:.12,switchTrack:e===`dark`?.3:.38}}function Oa(e){return e===`dark`?Ea:[]}function ka(e){let{palette:t={mode:`light`},opacity:n,overlays:r,colorSpace:i,...a}=e,o=Qi({...t,colorSpace:i});return{palette:o,opacity:{...Da(o.mode),...n},overlays:r||Oa(o.mode),...a}}function Aa(e){return e[0]===`motion`||!!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 ja=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:``}overlays-${n}`),`--${e?`${e}-`:``}palette-AppBar-darkBg`,`--${e?`${e}-`:``}palette-AppBar-darkColor`],Ma=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 ja(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 Na(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function G(e,t,n){!e[t]&&n&&(e[t]=n)}function Pa(e){return typeof e!=`string`||!e.startsWith(`hsl`)?e:ai(e)}function Fa(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ri(Pa(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 Ia(e){return typeof e==`number`?`${e}px`:typeof e==`string`||typeof e==`function`||Array.isArray(e)?e:`8px`}var K=e=>{try{return e()}catch{}},La=(e=`mui`)=>Ci(e);function Ra(e,t,n,r,i){if(!n)return;n=n===!0?{}:n;let a=i===`dark`?`dark`:`light`;if(!r){t[i]=ka({...n,palette:{mode:a,...n?.palette},colorSpace:e});return}let{palette:o,...s}=wa({...r,palette:{mode:a,...n?.palette},colorSpace:e});return t[i]={...n,palette:o,opacity:{...Da(a),...n?.opacity},overlays:n?.overlays||Oa(a)},s}function za(e={},...t){let{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:i=!1,cssVarPrefix:a=`mui`,nativeColor:o=!1,shouldSkipGeneratingVar:s=Aa,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=La(a),{[f]:h,light:g,dark:_,...v}=n,y={...v},b=h;if((f===`dark`&&!(`dark`in n)||f===`light`&&!(`light`in n))&&(b=!0),!b)throw Error(m(21,f));let x;o&&(x=`oklch`);let S=Ra(x,y,b,u,f);g&&!y.light&&Ra(x,y,g,void 0,`light`),_&&!y.dark&&Ra(x,y,_,void 0,`dark`);let C={defaultColorScheme:f,...S,cssVarPrefix:a,colorSchemeSelector:c,rootSelector:l,getCssVar:p,colorSchemes:y,font:{...$i(S.typography),...S.font},spacing:Ia(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`&&(G(t.common,`background`,`#fff`),G(t.common,`onBackground`,`#000`)),t.mode===`dark`&&(G(t.common,`background`,`#000`),G(t.common,`onBackground`,`#fff`));function r(e,t,n){if(x){let r;return e===li&&(r=`transparent ${((1-n)*100).toFixed(0)}%`),e===H&&(r=`#000 ${(n*100).toFixed(0)}%`),e===U&&(r=`#fff ${(n*100).toFixed(0)}%`),`color-mix(in ${x}, ${t}, ${r})`}return e(t,n)}if(Na(t,[`Alert`,`AppBar`,`Avatar`,`Button`,`Chip`,`FilledInput`,`LinearProgress`,`Skeleton`,`Slider`,`SnackbarContent`,`SpeedDialAction`,`StepConnector`,`StepContent`,`Switch`,`TableCell`,`Tooltip`]),t.mode===`light`){G(t.Alert,`errorColor`,r(H,o?p(`palette-error-light`):t.error.light,.6)),G(t.Alert,`infoColor`,r(H,o?p(`palette-info-light`):t.info.light,.6)),G(t.Alert,`successColor`,r(H,o?p(`palette-success-light`):t.success.light,.6)),G(t.Alert,`warningColor`,r(H,o?p(`palette-warning-light`):t.warning.light,.6)),G(t.Alert,`errorFilledBg`,n(`palette-error-main`)),G(t.Alert,`infoFilledBg`,n(`palette-info-main`)),G(t.Alert,`successFilledBg`,n(`palette-success-main`)),G(t.Alert,`warningFilledBg`,n(`palette-warning-main`)),G(t.Alert,`errorFilledColor`,K(()=>t.getContrastText(t.error.main))),G(t.Alert,`infoFilledColor`,K(()=>t.getContrastText(t.info.main))),G(t.Alert,`successFilledColor`,K(()=>t.getContrastText(t.success.main))),G(t.Alert,`warningFilledColor`,K(()=>t.getContrastText(t.warning.main))),G(t.Alert,`errorStandardBg`,r(U,o?p(`palette-error-light`):t.error.light,.9)),G(t.Alert,`infoStandardBg`,r(U,o?p(`palette-info-light`):t.info.light,.9)),G(t.Alert,`successStandardBg`,r(U,o?p(`palette-success-light`):t.success.light,.9)),G(t.Alert,`warningStandardBg`,r(U,o?p(`palette-warning-light`):t.warning.light,.9)),G(t.Alert,`errorIconColor`,n(`palette-error-main`)),G(t.Alert,`infoIconColor`,n(`palette-info-main`)),G(t.Alert,`successIconColor`,n(`palette-success-main`)),G(t.Alert,`warningIconColor`,n(`palette-warning-main`)),G(t.AppBar,`defaultBg`,n(`palette-grey-100`)),G(t.Avatar,`defaultBg`,n(`palette-grey-400`)),G(t.Button,`inheritContainedBg`,n(`palette-grey-300`)),G(t.Button,`inheritContainedHoverBg`,n(`palette-grey-A100`)),G(t.Chip,`defaultBorder`,n(`palette-grey-400`)),G(t.Chip,`defaultAvatarColor`,n(`palette-grey-700`)),G(t.Chip,`defaultIconColor`,n(`palette-grey-700`)),G(t.FilledInput,`bg`,`rgba(0, 0, 0, 0.06)`),G(t.FilledInput,`hoverBg`,`rgba(0, 0, 0, 0.09)`),G(t.FilledInput,`disabledBg`,`rgba(0, 0, 0, 0.12)`),G(t.LinearProgress,`primaryBg`,r(U,o?p(`palette-primary-main`):t.primary.main,.62)),G(t.LinearProgress,`secondaryBg`,r(U,o?p(`palette-secondary-main`):t.secondary.main,.62)),G(t.LinearProgress,`errorBg`,r(U,o?p(`palette-error-main`):t.error.main,.62)),G(t.LinearProgress,`infoBg`,r(U,o?p(`palette-info-main`):t.info.main,.62)),G(t.LinearProgress,`successBg`,r(U,o?p(`palette-success-main`):t.success.main,.62)),G(t.LinearProgress,`warningBg`,r(U,o?p(`palette-warning-light`):t.warning.main,.62)),G(t.Skeleton,`bg`,x?r(li,o?p(`palette-text-primary`):t.text.primary,.11):`rgba(${n(`palette-text-primaryChannel`)} / 0.11)`),G(t.Slider,`primaryTrack`,r(U,o?p(`palette-primary-main`):t.primary.main,.62)),G(t.Slider,`secondaryTrack`,r(U,o?p(`palette-secondary-main`):t.secondary.main,.62)),G(t.Slider,`errorTrack`,r(U,o?p(`palette-error-main`):t.error.main,.62)),G(t.Slider,`infoTrack`,r(U,o?p(`palette-info-main`):t.info.main,.62)),G(t.Slider,`successTrack`,r(U,o?p(`palette-success-main`):t.success.main,.62)),G(t.Slider,`warningTrack`,r(U,o?p(`palette-warning-main`):t.warning.main,.62));let e=x?r(H,o?p(`palette-background-default`):t.background.default,.6825):pi(t.background.default,.8);G(t.SnackbarContent,`bg`,e),G(t.SnackbarContent,`color`,K(()=>x?Hi.text.primary:t.getContrastText(e))),G(t.SpeedDialAction,`fabHoverBg`,pi(t.background.paper,.15)),G(t.StepConnector,`border`,n(`palette-grey-400`)),G(t.StepContent,`border`,n(`palette-grey-400`)),G(t.Switch,`defaultColor`,n(`palette-common-white`)),G(t.Switch,`defaultDisabledColor`,n(`palette-grey-100`)),G(t.Switch,`primaryDisabledColor`,r(U,o?p(`palette-primary-main`):t.primary.main,.62)),G(t.Switch,`secondaryDisabledColor`,r(U,o?p(`palette-secondary-main`):t.secondary.main,.62)),G(t.Switch,`errorDisabledColor`,r(U,o?p(`palette-error-main`):t.error.main,.62)),G(t.Switch,`infoDisabledColor`,r(U,o?p(`palette-info-main`):t.info.main,.62)),G(t.Switch,`successDisabledColor`,r(U,o?p(`palette-success-main`):t.success.main,.62)),G(t.Switch,`warningDisabledColor`,r(U,o?p(`palette-warning-main`):t.warning.main,.62)),G(t.TableCell,`border`,r(U,li(o?p(`palette-divider`):t.divider,1),.88)),G(t.Tooltip,`bg`,r(li,o?p(`palette-grey-700`):t.grey[700],.92))}if(t.mode===`dark`){G(t.Alert,`errorColor`,r(U,o?p(`palette-error-light`):t.error.light,.6)),G(t.Alert,`infoColor`,r(U,o?p(`palette-info-light`):t.info.light,.6)),G(t.Alert,`successColor`,r(U,o?p(`palette-success-light`):t.success.light,.6)),G(t.Alert,`warningColor`,r(U,o?p(`palette-warning-light`):t.warning.light,.6)),G(t.Alert,`errorFilledBg`,n(`palette-error-dark`)),G(t.Alert,`infoFilledBg`,n(`palette-info-dark`)),G(t.Alert,`successFilledBg`,n(`palette-success-dark`)),G(t.Alert,`warningFilledBg`,n(`palette-warning-dark`)),G(t.Alert,`errorFilledColor`,K(()=>t.getContrastText(t.error.dark))),G(t.Alert,`infoFilledColor`,K(()=>t.getContrastText(t.info.dark))),G(t.Alert,`successFilledColor`,K(()=>t.getContrastText(t.success.dark))),G(t.Alert,`warningFilledColor`,K(()=>t.getContrastText(t.warning.dark))),G(t.Alert,`errorStandardBg`,r(H,o?p(`palette-error-light`):t.error.light,.9)),G(t.Alert,`infoStandardBg`,r(H,o?p(`palette-info-light`):t.info.light,.9)),G(t.Alert,`successStandardBg`,r(H,o?p(`palette-success-light`):t.success.light,.9)),G(t.Alert,`warningStandardBg`,r(H,o?p(`palette-warning-light`):t.warning.light,.9)),G(t.Alert,`errorIconColor`,n(`palette-error-main`)),G(t.Alert,`infoIconColor`,n(`palette-info-main`)),G(t.Alert,`successIconColor`,n(`palette-success-main`)),G(t.Alert,`warningIconColor`,n(`palette-warning-main`)),G(t.AppBar,`defaultBg`,n(`palette-grey-900`)),G(t.AppBar,`darkBg`,n(`palette-background-paper`)),G(t.AppBar,`darkColor`,n(`palette-text-primary`)),G(t.Avatar,`defaultBg`,n(`palette-grey-600`)),G(t.Button,`inheritContainedBg`,n(`palette-grey-800`)),G(t.Button,`inheritContainedHoverBg`,n(`palette-grey-700`)),G(t.Chip,`defaultBorder`,n(`palette-grey-700`)),G(t.Chip,`defaultAvatarColor`,n(`palette-grey-300`)),G(t.Chip,`defaultIconColor`,n(`palette-grey-300`)),G(t.FilledInput,`bg`,`rgba(255, 255, 255, 0.09)`),G(t.FilledInput,`hoverBg`,`rgba(255, 255, 255, 0.13)`),G(t.FilledInput,`disabledBg`,`rgba(255, 255, 255, 0.12)`),G(t.LinearProgress,`primaryBg`,r(H,o?p(`palette-primary-main`):t.primary.main,.5)),G(t.LinearProgress,`secondaryBg`,r(H,o?p(`palette-secondary-main`):t.secondary.main,.5)),G(t.LinearProgress,`errorBg`,r(H,o?p(`palette-error-main`):t.error.main,.5)),G(t.LinearProgress,`infoBg`,r(H,o?p(`palette-info-main`):t.info.main,.5)),G(t.LinearProgress,`successBg`,r(H,o?p(`palette-success-main`):t.success.main,.5)),G(t.LinearProgress,`warningBg`,r(H,o?p(`palette-warning-main`):t.warning.main,.5)),G(t.Skeleton,`bg`,x?r(li,o?p(`palette-text-primary`):t.text.primary,.13):`rgba(${n(`palette-text-primaryChannel`)} / 0.13)`),G(t.Slider,`primaryTrack`,r(H,o?p(`palette-primary-main`):t.primary.main,.5)),G(t.Slider,`secondaryTrack`,r(H,o?p(`palette-secondary-main`):t.secondary.main,.5)),G(t.Slider,`errorTrack`,r(H,o?p(`palette-error-main`):t.error.main,.5)),G(t.Slider,`infoTrack`,r(H,o?p(`palette-info-main`):t.info.main,.5)),G(t.Slider,`successTrack`,r(H,o?p(`palette-success-main`):t.success.main,.5)),G(t.Slider,`warningTrack`,r(H,o?p(`palette-warning-light`):t.warning.main,.5));let e=x?r(U,o?p(`palette-background-default`):t.background.default,.985):pi(t.background.default,.98);G(t.SnackbarContent,`bg`,e),G(t.SnackbarContent,`color`,K(()=>x?Bi.text.primary:t.getContrastText(e))),G(t.SpeedDialAction,`fabHoverBg`,pi(t.background.paper,.15)),G(t.StepConnector,`border`,n(`palette-grey-600`)),G(t.StepContent,`border`,n(`palette-grey-600`)),G(t.Switch,`defaultColor`,n(`palette-grey-300`)),G(t.Switch,`defaultDisabledColor`,n(`palette-grey-600`)),G(t.Switch,`primaryDisabledColor`,r(H,o?p(`palette-primary-main`):t.primary.main,.55)),G(t.Switch,`secondaryDisabledColor`,r(H,o?p(`palette-secondary-main`):t.secondary.main,.55)),G(t.Switch,`errorDisabledColor`,r(H,o?p(`palette-error-main`):t.error.main,.55)),G(t.Switch,`infoDisabledColor`,r(H,o?p(`palette-info-main`):t.info.main,.55)),G(t.Switch,`successDisabledColor`,r(H,o?p(`palette-success-main`):t.success.main,.55)),G(t.Switch,`warningDisabledColor`,r(H,o?p(`palette-warning-light`):t.warning.main,.55)),G(t.TableCell,`border`,r(H,li(o?p(`palette-divider`):t.divider,1),.68)),G(t.Tooltip,`bg`,r(li,o?p(`palette-grey-700`):t.grey[700],.92))}o||(Fa(t.background,`default`),Fa(t.background,`paper`),Fa(t.common,`background`),Fa(t.common,`onBackground`),Fa(t,`divider`)),Object.keys(t).forEach(e=>{let n=t[e];e!==`tonalOffset`&&!o&&n&&typeof n==`object`&&(n.main&&G(t[e],`mainChannel`,ri(Pa(n.main))),n.light&&G(t[e],`lightChannel`,ri(Pa(n.light))),n.dark&&G(t[e],`darkChannel`,ri(Pa(n.dark))),n.contrastText&&G(t[e],`contrastTextChannel`,ri(Pa(n.contrastText))),e===`text`&&(Fa(t[e],`primary`),Fa(t[e],`secondary`)),e===`action`&&(n.active&&Fa(t[e],`active`),n.selected&&Fa(t[e],`selected`)))})}),C=t.reduce((e,t)=>N(e,t),C);let ee={prefix:a,disableCssColorScheme:i,shouldSkipGeneratingVar:s,getSelector:Ma(C),enableContrastVars:o},{vars:te,generateThemeVars:ne,generateStyleSheets:re}=ki(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 qn(u.spacing,Vn(this))},C.getColorSchemeSelector=Ai(c),C.spacing=C.generateSpacing(),C.shouldSkipGeneratingVar=s,C.unstable_sxConfig={...yr,...u?.unstable_sxConfig},C.unstable_sx=function(e){return Sr({sx:e,theme:this})},C.internal_cache={},C.toRuntimeSource=ba,C}function Ba(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Qi({...n===!0?{}:n.palette,mode:t})})}function Va(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 wa(e,...t);let r=n;`palette`in e||l[s]&&(l[s]===!0?s===`dark`&&(r={mode:`dark`}):r=l[s].palette);let i=wa({...e,palette:r},...t);return i.defaultColorScheme=s,i.colorSchemes=l,i.palette.mode===`light`&&(i.colorSchemes.light={...l.light!==!0&&l.light,palette:i.palette},Ba(i,`dark`,l.dark)),i.palette.mode===`dark`&&(i.colorSchemes.dark={...l.dark!==!0&&l.dark,palette:i.palette},Ba(i,`light`,l.light)),i}return!n&&!(`light`in l)&&s===`light`&&(l.light=!0),za({...o,colorSchemes:l,defaultColorScheme:s,...typeof r!=`boolean`&&r},...t)}function Ha(e){return typeof e==`string`}function Ua(...e){let t=i.useRef(void 0),n=i.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 i.useMemo(()=>e.every(e=>e==null)?null:e=>{t.current&&=(t.current(),void 0),e!=null&&(t.current=n(e))},e)}function Wa(e){let t=i.useRef(e);return Zr(()=>{t.current=e}),i.useRef((...e)=>(0,t.current)(...e)).current}var Ga=Va();function Ka(){let e=Ar(Ga);return e.$$material||e}function qa(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}var Ja=e=>qa(e)&&e!==`classes`,q=Wr({themeId:h,defaultTheme:Ga,rootShouldForwardProp:Ja}),J=Si;function Y(e){return gi(e)}var X=kn,Ya=Ua,Xa={transition:`none`};function Za(e,t){return e===`always`?t:e===`system`?{"@media (prefers-reduced-motion: reduce)":t}:null}var Qa=e=>e.scrollTop,$a={},eo=[`all`],to={};function no(e,t){return n=>{if(t){let r=e.current;n===void 0?t(r):t(r,n)}}}function ro(e,t,n,r,i,a){let o=e===`exited`&&!t?r:n[e]||n.exited;return i||a?{...o,...i,...a}:o}function io(e,t){let{timeout:n,easing:r,style:i=$a}=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 ao(e,t){let n=t??Xa;return Za(e.motion?.reducedMotion,n)}function oo(e,t=eo,n=to){let r=e.transitions?.create?.(t,n),i=ao(e);if(r===void 0)return i??$a;let a={transition:r};return i?{...a,...i}:a}function so(e){return V(`MuiSvgIcon`,e)}Fr(`MuiSvgIcon`,[`root`,`colorPrimary`,`colorSecondary`,`colorAction`,`colorError`,`colorDisabled`,`fontSizeInherit`,`fontSizeSmall`,`fontSizeMedium`,`fontSizeLarge`]);var co=e=>{let{color:t,fontSize:n,classes:r}=e;return ji({root:[`root`,t!==`inherit`&&`color${X(t)}`,`fontSize${X(n)}`]},so,r)},lo=q(`svg`,{name:`MuiSvgIcon`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.color!==`inherit`&&t[`color${X(n.color)}`],t[`fontSize${X(n.fontSize)}`]]}})(J(({theme:e})=>({userSelect:`none`,width:`1em`,height:`1em`,display:`inline-block`,flexShrink:0,...oo(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}}]}))),uo=i.forwardRef(function(e,t){let n=Y({props:e,name:`MuiSvgIcon`}),{children:r,className:o,color:s=`inherit`,component:c=`svg`,fontSize:l=`medium`,htmlColor:u,inheritViewBox:d=!1,titleAccess:f,viewBox:p=`0 0 24 24`,...m}=n,h=i.isValidElement(r)&&r.type===`svg`,g={...n,color:s,component:c,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:d,viewBox:p,hasSvgAsChild:h},_={};d||(_.viewBox=p);let v=co(g);return(0,a.jsxs)(lo,{as:c,className:B(v.root,o),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,a.jsx)(`title`,{children:f}):null]})});uo.muiName=`SvgIcon`;function fo(e,t){function n(t,n){return(0,a.jsx)(uo,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=uo.muiName,i.memo(i.forwardRef(n))}var po=bi,Z=Wa;function mo(e,t){let n=e.charCodeAt(2);return e[0]===`o`&&e[1]===`n`&&n>=65&&n<=90&&typeof t==`function`}var ho={};function go(e,t){let n=i.useRef(ho);return n.current===ho&&(n.current=e(t)),n}var _o=`(prefers-reduced-motion: reduce)`,vo=0,yo=`0ms`,bo=()=>{},xo=()=>!1,So=()=>!0,Co=()=>bo;function wo(e){let[t,n]=i.useState(()=>({enabled:e,matches:e?null:!1})),r=t.matches;return t.enabled!==e&&(r=null,e||(r=!1)),Zr(()=>{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(_o),a=()=>{r(i.matches)};return a(),i.addEventListener(`change`,a),()=>{i.removeEventListener(`change`,a)}},[e,t.enabled]),r}var To={...i}.useSyncExternalStore;function Eo(e){let t=e?So:xo,[n,r]=i.useMemo(()=>{if(!e||typeof window>`u`||typeof window.matchMedia!=`function`)return[xo,Co];let t=window.matchMedia(_o);return[()=>t.matches,e=>(t.addEventListener(`change`,e),()=>{t.removeEventListener(`change`,e)})]},[e]);return To(r,n,t)}var Do=To===void 0?wo:Eo;function Oo(e,t){let n=Do(!t&&e===`system`),r=!t&&(e===`always`||e===`system`&&n!==!1);return i.useMemo(()=>({shouldReduceMotion:r,getTransitionTiming(e){return r?{duration:vo,delay:yo}:e}}),[r])}function ko(e,t,n){return e===void 0||Ha(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Ao(e,t,n){return typeof e==`function`?e(t,n):e}function jo(e){if(e===void 0)return{};let t={};for(let n of Object.keys(e))mo(n,e[n])&&(t[n]=e[n]);return t}function Mo(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 No(e){let{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){let e=B(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=jo({...i,...r}),s=Mo(r),c=Mo(i),l=t(o),u=B(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 Po(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=Ao(d[e],i),{props:{component:h,...g},internalRef:_}=No({className:n,...c,externalForwardedProps:e===`root`?f:void 0,externalSlotProps:m}),v=Ua(_,m?.ref,t.ref),y=e===`root`?h||l:h;return[p,ko(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 Fo(e){return V(`MuiPaper`,e)}Fr(`MuiPaper`,`root.rounded.outlined.elevation.elevation0.elevation1.elevation2.elevation3.elevation4.elevation5.elevation6.elevation7.elevation8.elevation9.elevation10.elevation11.elevation12.elevation13.elevation14.elevation15.elevation16.elevation17.elevation18.elevation19.elevation20.elevation21.elevation22.elevation23.elevation24`.split(`.`));var Io=e=>{let{square:t,elevation:n,variant:r,classes:i}=e;return ji({root:[`root`,r,!t&&`rounded`,r===`elevation`&&`elevation${n}`]},Fo,i)},Lo=q(`div`,{name:`MuiPaper`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant===`elevation`&&t[`elevation${n.elevation}`]]}})(J(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,...oo(e,`box-shadow`),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:`outlined`},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:`elevation`},style:{boxShadow:`var(--Paper-shadow)`,backgroundImage:`var(--Paper-overlay)`}}]}))),Ro=i.forwardRef(function(e,t){let n=Y({props:e,name:`MuiPaper`}),r=Ka(),{className:i,component:o=`div`,elevation:s=1,square:c=!1,variant:l=`elevation`,...u}=n,d={...n,component:o,elevation:s,square:c,variant:l},f=Io(d);return(0,a.jsx)(Lo,{as:o,ownerState:d,className:B(f.root,i),ref:t,...u,style:{...l===`elevation`&&{"--Paper-shadow":(r.vars||r).shadows[s],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[s]},...!r.vars&&r.palette.mode===`dark`&&{"--Paper-overlay":`linear-gradient(${ci(`#fff`,Ta(s))}, ${ci(`#fff`,Ta(s))})`}},...u.style}})});function zo(e){try{return e.matches(`:focus-visible`)}catch{}return!1}function Bo(e){let{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:a=0,isNativeButton:o}=e,s=r&&t!==!1,c=r&&t===!1;return i.useMemo(()=>{let e={onKeyDown(e){n&&t&&e.key!==`Tab`&&e.preventDefault()}};return r||(e.tabIndex=a,!o&&n&&(e.tabIndex=t?a:-1)),(o&&(t||s)||!o&&n)&&(e[`aria-disabled`]=n),o&&(!t||c)&&(e.disabled=n),e},[r,n,t,s,c,o,a])}var Vo={};function Ho(e){let{nativeButton:t,nativeButtonProp:n,internalNativeButton:r=t,allowInferredHostMismatch:a=!1,disabled:o,type:s,hasFormAction:c=!1,tabIndex:l=0,focusableWhenDisabled:u,stopEventPropagation:d=!1,onBeforeKeyDown:f,onBeforeKeyUp:p}=e,m=i.useRef(null),h=u===!0,g=Bo({focusableWhenDisabled:h,disabled:o,isNativeButton:t,tabIndex:l}),_=i.useCallback(()=>{let e=m.current;return e==null?t:e.tagName===`BUTTON`||!!(e.tagName===`A`&&e.href)},[t]),v=i.useMemo(()=>{let e=h?{}:{tabIndex:o?-1:l};return t?(e.type=s===void 0&&!c?`button`:s,h||(e.disabled=o)):(e.role=`button`,!h&&o&&(e[`aria-disabled`]=o)),h?{...e,...g}:e},[o,h,g,c,t,l,s]);return{getButtonProps:i.useCallback((e=Vo)=>{let{onClick:t,onKeyDown:n,onKeyUp:r,...i}=e,a=e=>{if(d&&e.stopPropagation(),o){e.preventDefault();return}t?.(e)},s=e=>{if(h&&g.onKeyDown(e),!o&&(f?.(e),n?.(e),!(e.target!==e.currentTarget||_()))){if(e.key===` `){e.preventDefault();return}e.key===`Enter`&&(e.preventDefault(),e.currentTarget.click())}},c=e=>{o||(p?.(e),r?.(e),e.target===e.currentTarget&&!_()&&e.key===` `&&!e.defaultPrevented&&e.currentTarget.click())};return{...v,...i,onClick:a,onKeyDown:s,onKeyUp:c}},[v,o,h,g,_,f,p,d]),rootRef:m}}var Uo=class e{static create(){return new e}static use(){let t=go(e.create).current,[n,r]=i.useState(!1);return t.shouldMount=n,t.setShouldMount=r,i.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=Go(),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 Wo(){return Uo.use()}function Go(){let e,t,n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}var Ko=[];function qo(e){i.useEffect(e,Ko)}var Jo=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 Yo(){let e=go(Jo.create).current;return qo(e.disposeEffect),e}function Xo(e){let{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:c,in:l,onExited:u,timeout:d}=e,[f,p]=i.useState(!1),m=Yo(),h=i.useRef(!1),g=i.useRef(u);g.current=u;let _=u!=null,v=B(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:c,height:c,top:-(c/2)+s,left:-(c/2)+o},b=B(n.child,f&&n.childLeaving,r&&n.childPulsate);return!l&&!f&&p(!0),i.useEffect(()=>{!l&&_?h.current||(h.current=!0,m.start(d,()=>{h.current=!1,g.current?.()})):(h.current=!1,m.clear())},[m,_,l,d]),(0,a.jsx)(`span`,{className:v,style:y,children:(0,a.jsx)(`span`,{className:b})})}var Q=Fr(`MuiTouchRipple`,[`root`,`ripple`,`rippleVisible`,`ripplePulsate`,`child`,`childLeaving`,`childPulsate`]),Zo=550,Qo={},$o=[],es=()=>{};function ts(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 ns({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 rs=Mt`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`,is=Mt`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`,as=Mt`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`;function os(e){if(e.motion.reducedMotion===`always`)return null;let t=jt`
&.${Q.rippleVisible} {
animation-name: ${rs};
animation-duration: ${Zo}ms;
animation-timing-function: ${e.transitions.easing.easeInOut};
}
&.${Q.ripplePulsate} {
animation-duration: ${e.transitions.duration.shorter}ms;
}
& .${Q.childLeaving} {
animation-name: ${is};
animation-duration: ${Zo}ms;
animation-timing-function: ${e.transitions.easing.easeInOut};
}
& .${Q.childPulsate} {
animation-name: ${as};
animation-duration: 2500ms;
animation-timing-function: ${e.transitions.easing.easeInOut};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`;return e.motion.reducedMotion===`system`?jt`
@media (prefers-reduced-motion: no-preference) {
${t}
}
`:t}var ss=q(`span`,{name:`MuiTouchRipple`,slot:`Root`})({overflow:`hidden`,pointerEvents:`none`,position:`absolute`,zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:`inherit`}),cs=q(Xo,{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})=>os(e)}
`,ls=i.forwardRef(function(e,t){let n=Y({props:e,name:`MuiTouchRipple`}),r=Oo(Ka().motion.reducedMotion,!1),{center:o=!1,classes:s=Qo,className:c,...l}=n,[u,d]=i.useState({items:$o,order:$o}),f=u.items,p=i.useRef(0),m=i.useRef(null),h=i.useRef(!1);qo(()=>(h.current=!0,()=>{h.current=!1})),i.useEffect(()=>{m.current&&=(m.current(),null)},[f]);let g=i.useRef(!1),_=Yo(),v=i.useRef(null),y=i.useRef(null),b=Z(e=>{h.current&&d(t=>{let n=t.items.filter(t=>t.key!==e);return{items:n,order:ts(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:ts(e.order,a.filter(e=>!e.exiting).map(e=>e.key))}}),m.current=a}),S=Z((e=Qo,t=Qo,n=es)=>{let{pulsate:r=!1,center:i=o||t.pulsate,fakeElement:a=!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}=ns({event:e,element:a?null:y.current,center:i});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(Qo,{pulsate:!0})}),ee=Z((e,t)=>{if(_.clear(),e?.type===`touchend`&&v.current){v.current(),v.current=null,_.start(0,()=>{ee(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:ts(e.order,n.filter(e=>!e.exiting).map(e=>e.key))}}),m.current=t});i.useImperativeHandle(t,()=>({pulsate:C,start:S,stop:ee}),[C,S,ee]);let te=new Map(f.map(e=>[e.key,e])),ne=u.order.map(e=>te.get(e)).filter(Boolean);return(0,a.jsx)(ss,{className:B(Q.root,s.root,c),ref:y,...l,children:ne.map(e=>(0,a.jsx)(cs,{classes:{ripple:B(s.ripple,Q.ripple),rippleVisible:B(s.rippleVisible,Q.rippleVisible),ripplePulsate:B(s.ripplePulsate,Q.ripplePulsate),child:B(s.child,Q.child),childLeaving:B(s.childLeaving,Q.childLeaving),childPulsate:B(s.childPulsate,Q.childPulsate)},timeout:r.shouldReduceMotion?0:Zo,pulsate:e.pulsate,rippleX:e.rippleX,rippleY:e.rippleY,rippleSize:e.rippleSize,in:!e.exiting,onExited:()=>b(e.key)},e.key))})});function us(e){return V(`MuiButtonBase`,e)}var ds=Fr(`MuiButtonBase`,[`root`,`disabled`,`focusVisible`]),fs=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,suppressFocusVisible:i,classes:a}=e,o=ji({root:[`root`,t&&`disabled`,n&&!i&&`focusVisible`]},us,a);return n&&!i&&r&&(o.root+=` ${r}`),o},ps=q(`button`,{name:`MuiButtonBase`,slot:`Root`})({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`},[`&.${ds.disabled}`]:{pointerEvents:`none`,cursor:`default`},"@media print":{colorAdjust:`exact`}}),ms=i.forwardRef(function(e,t){let n=Y({props:e,name:`MuiButtonBase`}),{action:r,centerRipple:o=!1,children:s,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:_,LinkComponent:v=`a`,nativeButton:y,onBlur:b,onClick:x,onContextMenu:S,onDragLeave:C,onFocus:ee,onFocusVisible:te,onKeyDown:ne,onKeyUp:re,onMouseDown:ie,onMouseLeave:ae,onMouseUp:oe,onTouchEnd:se,onTouchMove:ce,onTouchStart:le,tabIndex:ue=0,TouchRippleProps:w,touchRippleRef:de,type:T,...fe}=n,E=!!(fe.href||fe.to),pe=!!fe.formAction,D=l;D===`button`&&E&&(D=v);let me=typeof D==`string`?D===`button`:_??!1,he=y??me,O=Wo(),ge=Ya(O.ref,de),[k,A]=i.useState(!1);(u||g)&&k&&A(!1);let _e=Z(e=>{p&&!e.repeat&&k&&e.key===` `&&O.stop(e,()=>{O.start(e)})}),ve=Z(e=>{p&&e.key===` `&&k&&!e.defaultPrevented&&O.stop(e,()=>{O.pulsate(e)})}),{getButtonProps:ye,rootRef:be}=Ho({nativeButton:he,nativeButtonProp:y,internalNativeButton:me,allowInferredHostMismatch:E||typeof D==`string`,disabled:u,type:T,hasFormAction:pe,tabIndex:ue,onBeforeKeyDown:_e,onBeforeKeyUp:ve}),{onClick:xe,onKeyDown:j,onKeyUp:M,...Se}=ye({onClick:x,onKeyDown:ne,onKeyUp:re});i.useImperativeHandle(r,()=>({focusVisible:()=>{A(!0),be.current.focus()}}),[be]);let Ce=O.shouldMount&&!d&&!u;i.useEffect(()=>{k&&p&&!d&&O.pulsate()},[d,p,k,O]);let we=hs(O,`start`,ie,f),Te=hs(O,`stop`,S,f),Ee=hs(O,`stop`,C,f),De=hs(O,`stop`,oe,f),Oe=hs(O,`stop`,e=>{k&&e.preventDefault(),ae&&ae(e)},f),ke=hs(O,`start`,le,f),Ae=hs(O,`stop`,se,f),je=hs(O,`stop`,ce,f),Me=hs(O,`stop`,e=>{zo(e.target)||A(!1),b&&b(e)},!1),Ne=Z(e=>{be.current||=e.currentTarget,!g&&zo(e.target)&&(A(!0),te&&te(e)),ee&&ee(e)}),Pe={};E&&(Pe.tabIndex=u?-1:ue,u&&(Pe[`aria-disabled`]=u),Pe.type=T);let Fe=Ya(t,be),Ie={...n,centerRipple:o,component:l,disabled:u,disableRipple:d,disableTouchRipple:f,focusRipple:p,suppressFocusVisible:g,tabIndex:ue,focusVisible:k},Le=fs(Ie);return(0,a.jsxs)(ps,{as:D,className:B(Le.root,c),ownerState:Ie,onBlur:Me,onClick:xe,onContextMenu:Te,onFocus:Ne,onKeyDown:j,onKeyUp:M,onMouseDown:we,onMouseLeave:Oe,onMouseUp:De,onDragLeave:Ee,onTouchEnd:Ae,onTouchMove:je,onTouchStart:ke,ref:Fe,...E?Pe:Se,...fe,children:[s,Ce?(0,a.jsx)(ls,{ref:ge,center:o,...w}):null]})});function hs(e,t,n,r=!1){return Z(i=>(n&&n(i),r||e[t](i),!0))}function gs(e){return typeof e.main==`string`}function _s(e,t=[]){if(!gs(e))return!1;for(let n of t)if(!e.hasOwnProperty(n)||typeof e[n]!=`string`)return!1;return!0}function vs(e=[]){return([,t])=>t&&_s(t,e)}function ys(e){return V(`MuiCircularProgress`,e)}Fr(`MuiCircularProgress`,[`root`,`determinate`,`indeterminate`,`colorPrimary`,`colorSecondary`,`svg`,`track`,`circle`,`circleDisableShrink`]);var $=44,bs=Mt`
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
`,xs=Mt`
0% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -15px;
}
100% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: -126px;
}
`,Ss=typeof bs==`string`?null:jt`
animation: ${bs} 1.4s linear infinite;
`,Cs=typeof xs==`string`?null:jt`
animation: ${xs} 1.4s ease-in-out infinite;
`,ws=e=>{let{classes:t,variant:n,color:r,disableShrink:i}=e;return ji({root:[`root`,n,`color${X(r)}`],svg:[`svg`],track:[`track`],circle:[`circle`,i&&`circleDisableShrink`]},ys,t)},Ts=q(`span`,{name:`MuiCircularProgress`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],t[`color${X(n.color)}`]]}})(J(({theme:e})=>{let t=ao(e,{animation:`none`});return{display:`inline-block`,variants:[{props:{variant:`determinate`},style:{...oo(e,`transform`)}},{props:{variant:`indeterminate`},style:Ss||{animation:`${bs} 1.4s linear infinite`}},...t?[{props:{variant:`indeterminate`},style:t}]:[],...Object.entries(e.palette).filter(vs()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}})),Es=q(`svg`,{name:`MuiCircularProgress`,slot:`Svg`})({display:`block`}),Ds=q(`circle`,{name:`MuiCircularProgress`,slot:`Circle`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.circle,n.disableShrink&&t.circleDisableShrink]}})(J(({theme:e})=>{let t=ao(e,{animation:`none`});return{stroke:`currentColor`,variants:[{props:{variant:`determinate`},style:{...oo(e,`stroke-dashoffset`)}},{props:{variant:`indeterminate`},style:{strokeDasharray:`80px, 200px`,strokeDashoffset:0}},{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:Cs||{animation:`${xs} 1.4s ease-in-out infinite`}},...t?[{props:({ownerState:e})=>e.variant===`indeterminate`&&!e.disableShrink,style:t}]:[]]}})),Os=q(`circle`,{name:`MuiCircularProgress`,slot:`Track`})(J(({theme:e})=>({stroke:`currentColor`,opacity:(e.vars||e).palette.action.activatedOpacity}))),ks=i.forwardRef(function(e,t){let n=Y({props:e,name:`MuiCircularProgress`}),{className:r,color:i=`primary`,disableShrink:o=!1,enableTrackSlot:s=!1,min:c,max:l,size:u=40,style:d,thickness:f=3.6,value:p=n.min??0,variant:m=`indeterminate`,...h}=n,g=c??0,_=l??100,v={...n,color:i,disableShrink:o,size:u,thickness:f,value:p,variant:m,enableTrackSlot:s},y=ws(v),b={},x={},S={};if(m===`determinate`){let e=2*Math.PI*(($-f)/2),t=_-g;b.strokeDasharray=e.toFixed(3),b.strokeDashoffset=t>0?`${((_-p)/t*e).toFixed(3)}px`:`${e.toFixed(3)}px`,x.transform=`rotate(-90deg)`,S[`aria-valuenow`]=p,S[`aria-valuemin`]=g,S[`aria-valuemax`]=_}return(0,a.jsx)(Ts,{className:B(y.root,r),style:{width:u,height:u,...x,...d},ownerState:v,ref:t,role:`progressbar`,...S,...h,children:(0,a.jsxs)(Es,{className:y.svg,ownerState:v,viewBox:`${$/2} ${$/2} ${$} ${$}`,children:[s?(0,a.jsx)(Os,{className:y.track,ownerState:v,cx:$,cy:$,r:($-f)/2,fill:`none`,strokeWidth:f,"aria-hidden":`true`}):null,(0,a.jsx)(Ds,{className:y.circle,style:b,ownerState:v,cx:$,cy:$,r:($-f)/2,fill:`none`,strokeWidth:f})]})})});function As(e){return V(`MuiIconButton`,e)}var js=Fr(`MuiIconButton`,[`root`,`disabled`,`colorInherit`,`colorPrimary`,`colorSecondary`,`colorError`,`colorInfo`,`colorSuccess`,`colorWarning`,`edgeStart`,`edgeEnd`,`sizeSmall`,`sizeMedium`,`sizeLarge`,`loading`,`loadingIndicator`,`loadingWrapper`]),Ms=e=>{let{classes:t,disabled:n,color:r,edge:i,size:a,loading:o}=e;return ji({root:[`root`,o&&`loading`,n&&`disabled`,r!=="default"&&`color${X(r)}`,i&&`edge${X(i)}`,`size${X(a)}`],loadingIndicator:[`loadingIndicator`],loadingWrapper:[`loadingWrapper`]},As,t)},Ns=q(ms,{name:`MuiIconButton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${X(n.color)}`],n.edge&&t[`edge${X(n.edge)}`],t[`size${X(n.size)}`]]}})(J(({theme:e})=>({textAlign:`center`,flex:`0 0 auto`,fontSize:e.typography.pxToRem(24),padding:8,borderRadius:`50%`,color:(e.vars||e).palette.action.active,...oo(e,`background-color`,{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"&:hover":{backgroundColor:`var(--IconButton-hoverBg)`,"@media (hover: none)":{backgroundColor:`transparent`}}}},{props:{edge:`start`},style:{marginLeft:-12}},{props:{edge:`start`,size:`small`},style:{marginLeft:-3}},{props:{edge:`end`},style:{marginRight:-12}},{props:{edge:`end`,size:`small`},style:{marginRight:-3}}]})),J(({theme:e})=>({variants:[{props:{color:`inherit`},style:{color:`inherit`}},...Object.entries(e.palette).filter(vs()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main,"--IconButton-hoverBg":e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}})),{props:{size:`small`},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:`large`},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${js.disabled}`]:{backgroundColor:`transparent`,color:(e.vars||e).palette.action.disabled},[`&.${js.loading}`]:{color:`transparent`}}))),Ps=q(`span`,{name:`MuiIconButton`,slot:`LoadingIndicator`})(({theme:e})=>({display:`none`,position:`absolute`,visibility:`visible`,top:`50%`,left:`50%`,transform:`translate(-50%, -50%)`,color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:`flex`}}]})),Fs=i.forwardRef(function(e,t){let n=Y({props:e,name:`MuiIconButton`}),{edge:r=!1,children:i,className:o,color:s=`default`,disabled:c=!1,disableFocusRipple:l=!1,size:u=`medium`,id:d,loading:f=null,loadingIndicator:p,...m}=n,h=po(d),g=p??(0,a.jsx)(ks,{"aria-labelledby":h,color:`inherit`,size:16}),_={...n,edge:r,color:s,disabled:c,disableFocusRipple:l,loading:f,loadingIndicator:g,size:u},v=Ms(_);return(0,a.jsxs)(Ns,{id:f?h:d,className:B(v.root,o),centerRipple:!0,internalNativeButton:!0,focusRipple:!l,disabled:c||f,ref:t,...m,ownerState:_,children:[typeof f==`boolean`&&(0,a.jsx)(`span`,{className:v.loadingWrapper,style:{display:`contents`},children:(0,a.jsx)(Ps,{className:v.loadingIndicator,ownerState:_,children:f&&g})}),i]})});function Is(e){return V(`MuiTypography`,e)}var Ls=Fr(`MuiTypography`,[`root`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`subtitle1`,`subtitle2`,`body1`,`body2`,`inherit`,`button`,`caption`,`overline`,`alignLeft`,`alignRight`,`alignCenter`,`alignJustify`,`noWrap`,`gutterBottom`]),Rs=e=>{let{align:t,gutterBottom:n,noWrap:r,variant:i,classes:a}=e;return ji({root:[`root`,i,e.align!==`inherit`&&`align${X(t)}`,n&&`gutterBottom`,r&&`noWrap`]},Is,a)},zs=q(`span`,{name:`MuiTypography`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!==`inherit`&&t[`align${X(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom]}})(J(({theme:e})=>({margin:0,variants:[{props:{variant:`inherit`},style:{font:`inherit`,lineHeight:`inherit`,letterSpacing:`inherit`}},...Object.entries(e.typography).filter(([e,t])=>e!==`inherit`&&t&&typeof t==`object`).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(vs()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>typeof e==`string`).map(([t])=>({props:{color:`text${X(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>e.align!==`inherit`,style:{textAlign:`var(--Typography-textAlign)`}},{props:({ownerState:e})=>e.noWrap,style:{overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:`0.35em`}}]}))),Bs={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,subtitle1:`h6`,subtitle2:`h6`,body1:`p`,body2:`p`,inherit:`p`},Vs=i.forwardRef(function(e,t){let n=Y({props:e,name:`MuiTypography`}),{color:r,align:i=`inherit`,className:o,component:s,gutterBottom:c=!1,noWrap:l=!1,variant:u=`body1`,variantMapping:d=Bs,...f}=n,p={...n,align:i,color:r,className:o,component:s,gutterBottom:c,noWrap:l,variant:u,variantMapping:d},m=s||d[u]||Bs[u]||`span`,h=Rs(p);return(0,a.jsx)(zs,{as:m,ref:t,className:B(h.root,o),...f,ownerState:p,style:{...i!==`inherit`&&{"--Typography-textAlign":i},...f.style}})}),Hs=Ri({createStyledComponent:q(`div`,{name:`MuiStack`,slot:`Root`}),useThemeProps:e=>Y({props:e,name:`MuiStack`})});function Us(e){return V(`MuiToolbar`,e)}Fr(`MuiToolbar`,[`root`,`gutters`,`regular`,`dense`]);var Ws=e=>{let{classes:t,disableGutters:n,variant:r}=e;return ji({root:[`root`,!n&&`gutters`,r]},Us,t)},Gs=q(`div`,{name:`MuiToolbar`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(J(({theme:e})=>({position:`relative`,display:`flex`,alignItems:`center`,variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up(`sm`)]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:`dense`},style:{minHeight:48}},{props:{variant:`regular`},style:e.mixins.toolbar}]}))),Ks=i.forwardRef(function(e,t){let n=Y({props:e,name:`MuiToolbar`}),{className:r,component:i=`div`,disableGutters:o=!1,variant:s=`regular`,...c}=n,l={...n,component:i,disableGutters:o,variant:s},u=Ws(l);return(0,a.jsx)(Gs,{as:i,className:B(u.root,r),ref:t,ownerState:l,...c})});export{Rr as $,no as A,Ga as B,Z as C,ro as D,ao as E,J as F,fa as G,Ua as H,q as I,Zr as J,ji as K,Ja as L,Ya as M,X as N,io as O,Y as P,qr as Q,qa as R,mo as S,fo as T,Ha as U,Wa as V,Va as W,Yr as X,Xr as Y,Jr as Z,jo as _,Fs as a,Sr as at,Oo as b,vs as c,Gt as ct,Yo as d,jt as dt,Fr as et,qo as f,Mt as ft,No as g,Po as h,m as ht,Ls as i,Ar as it,Qa as j,oo as k,ms as l,Ht as lt,Ro as m,h as mt,Hs as n,B as nt,js as o,kn as ot,zo as p,g as pt,bi as q,Vs as r,Mr as rt,ks as s,N as st,Ks as t,V as tt,Jo as u,At as ut,Ao as v,po as w,go as x,ko as y,Ka as z};