diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 773c0237..94576a29 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -39,3 +39,6 @@ updates: - dependency-name: "@mui/lab" - dependency-name: "@rollup/rollup-linux-x64-gnu" - dependency-name: "@esbuild/linux-x64" + - dependency-name: "vite" + versions: + - ">=7.0.0" diff --git a/jhub_apps/static/js/index.js b/jhub_apps/static/js/index.js index e653a4b9..45d3e566 100644 --- a/jhub_apps/static/js/index.js +++ b/jhub_apps/static/js/index.js @@ -1,4 +1,4 @@ -function E4(e,t){for(var n=0;no[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function fd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qv={exports:{}},jl={},Zv={exports:{}},Dt={};/** +function L4(e,t){for(var n=0;no[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&o(l)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();function vd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uv={exports:{}},zl={},Qv={exports:{}},Dt={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function E4(e,t){for(var n=0;nn.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Qr="$$material";function ds(){return ds=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Yn(Ma,--Pr):0,Ha--,kn===10&&(Ha=1,pd--),kn}function Er(){return kn=Pr2||vc(kn)>3?"":" "}function K4(e,t){for(;--t&&Er()&&!(kn<48||kn>102||kn>57&&kn<65||kn>70&&kn<97););return Cc(e,jf()+(t<6&&Wo()==32&&Er()==32))}function Oh(e){for(;Er();)switch(kn){case e:return Pr;case 34:case 39:e!==34&&e!==39&&Oh(kn);break;case 40:e===41&&Oh(e);break;case 92:Er();break}return Pr}function _4(e,t){for(;Er()&&e+kn!==57;)if(e+kn===84&&Wo()===47)break;return"/*"+Cc(t,Pr-1)+"*"+dd(e===47?e:Er())}function $4(e){for(;!vc(Wo());)Er();return Cc(e,Pr)}function e5(e){return Xx(zf("",null,null,null,[""],e=Lx(e),0,[0],e))}function zf(e,t,n,o,s,a,l,u,f){for(var v=0,h=0,y=l,P=0,j=0,A=0,b=1,H=1,S=1,z=0,C="",O=s,D=a,T=o,R=C;H;)switch(A=z,z=Er()){case 40:if(A!=108&&Yn(R,y-1)==58){Ch(R+=It(Sf(z),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:R+=Sf(z);break;case 9:case 10:case 13:case 32:R+=Q4(A);break;case 92:R+=K4(jf()-1,7);continue;case 47:switch(Wo()){case 42:case 47:rf(t5(_4(Er(),jf()),t,n),f);break;default:R+="/"}break;case 123*b:u[v++]=Xo(R)*S;case 125*b:case 59:case 0:switch(z){case 0:case 125:H=0;case 59+h:S==-1&&(R=It(R,/\f/g,"")),j>0&&Xo(R)-y&&rf(j>32?kP(R+";",o,n,y-1):kP(It(R," ","")+";",o,n,y-2),f);break;case 59:R+=";";default:if(rf(T=DP(R,t,n,v,h,s,u,C,O=[],D=[],y),a),z===123)if(h===0)zf(R,t,T,T,O,a,y,u,D);else switch(P===99&&Yn(R,3)===110?100:P){case 100:case 108:case 109:case 115:zf(e,T,T,o&&rf(DP(e,T,T,0,0,s,u,C,s,O=[],y),D),s,D,y,u,o?O:D);break;default:zf(R,T,T,T,[""],D,0,u,D)}}v=h=j=0,b=S=1,C=R="",y=l;break;case 58:y=1+Xo(R),j=A;default:if(b<1){if(z==123)--b;else if(z==125&&b++==0&&U4()==125)continue}switch(R+=dd(z),z*b){case 38:S=h>0?1:(R+="\f",-1);break;case 44:u[v++]=(Xo(R)-1)*S,S=1;break;case 64:Wo()===45&&(R+=Sf(Er())),P=Wo(),h=y=Xo(C=R+=$4(jf())),z++;break;case 45:A===45&&Xo(R)==2&&(b=0)}}return a}function DP(e,t,n,o,s,a,l,u,f,v,h){for(var y=s-1,P=s===0?a:[""],j=Sm(P),A=0,b=0,H=0;A0?P[S]+" "+z:It(z,/&\f/g,P[S])))&&(f[H++]=C);return vd(e,t,n,s===0?Hm:u,f,v,h)}function t5(e,t,n){return vd(e,t,n,Tx,dd(G4()),pc(e,2,-2),0)}function kP(e,t,n,o){return vd(e,t,n,jm,pc(e,0,o),pc(e,o+1,-1),o)}function ba(e,t){for(var n="",o=Sm(e),s=0;s6)switch(Yn(e,t+1)){case 109:if(Yn(e,t+4)!==45)break;case 102:return It(e,/(.+:)(.+)-([^]+)/,"$1"+Vt+"$2-$3$1"+Ff+(Yn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ch(e,"stretch")?Bx(It(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Yn(e,t+1)!==115)break;case 6444:switch(Yn(e,Xo(e)-3-(~Ch(e,"!important")&&10))){case 107:return It(e,":",":"+Vt)+e;case 101:return It(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Vt+(Yn(e,14)===45?"inline-":"")+"box$3$1"+Vt+"$2$3$1"+Kn+"$2box$3")+e}break;case 5936:switch(Yn(e,t+11)){case 114:return Vt+e+Kn+It(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Vt+e+Kn+It(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Vt+e+Kn+It(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Vt+e+Kn+e+e}return e}var u5=function(t,n,o,s){if(t.length>-1&&!t.return)switch(t.type){case jm:t.return=Bx(t.value,t.length);break;case Ex:return ba([zl(t,{value:It(t.value,"@","@"+Vt)})],s);case Hm:if(t.length)return Z4(t.props,function(a){switch(q4(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ba([zl(t,{props:[It(a,/:(read-\w+)/,":"+Ff+"$1")]})],s);case"::placeholder":return ba([zl(t,{props:[It(a,/:(plac\w+)/,":"+Vt+"input-$1")]}),zl(t,{props:[It(a,/:(plac\w+)/,":"+Ff+"$1")]}),zl(t,{props:[It(a,/:(plac\w+)/,Kn+"input-$1")]})],s)}return""})}},f5=[u5],d5=function(t){var n=t.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(b){var H=b.getAttribute("data-emotion");H.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var s=t.stylisPlugins||f5,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(b){for(var H=b.getAttribute("data-emotion").split(" "),S=1;Sn.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Kr="$$material";function ps(){return ps=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Yn(Xa,--Pr):0,Sa--,kn===10&&(Sa=1,md--),kn}function Rr(){return kn=Pr2||hc(kn)>3?"":" "}function e5(e,t){for(;--t&&Rr()&&!(kn<48||kn>102||kn>57&&kn<65||kn>70&&kn<97););return Oc(e,Cf()+(t<6&&Wo()==32&&Rr()==32))}function Eh(e){for(;Rr();)switch(kn){case e:return Pr;case 34:case 39:e!==34&&e!==39&&Eh(kn);break;case 40:e===41&&Eh(e);break;case 92:Rr();break}return Pr}function t5(e,t){for(;Rr()&&e+kn!==57;)if(e+kn===84&&Wo()===47)break;return"/*"+Oc(t,Pr-1)+"*"+hd(e===47?e:Rr())}function n5(e){for(;!hc(Wo());)Rr();return Oc(e,Pr)}function r5(e){return Vx(Df("",null,null,null,[""],e=Bx(e),0,[0],e))}function Df(e,t,n,o,s,a,l,u,f){for(var v=0,h=0,y=l,b=0,j=0,x=0,A=1,H=1,S=1,z=0,C="",O=s,D=a,T=o,R=C;H;)switch(x=z,z=Rr()){case 40:if(x!=108&&Yn(R,y-1)==58){Th(R+=It(Of(z),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:R+=Of(z);break;case 9:case 10:case 13:case 32:R+=$4(x);break;case 92:R+=e5(Cf()-1,7);continue;case 47:switch(Wo()){case 42:case 47:af(o5(t5(Rr(),Cf()),t,n),f);break;default:R+="/"}break;case 123*A:u[v++]=Xo(R)*S;case 125*A:case 59:case 0:switch(z){case 0:case 125:H=0;case 59+h:S==-1&&(R=It(R,/\f/g,"")),j>0&&Xo(R)-y&&af(j>32?MP(R+";",o,n,y-1):MP(It(R," ","")+";",o,n,y-2),f);break;case 59:R+=";";default:if(af(T=RP(R,t,n,v,h,s,u,C,O=[],D=[],y),a),z===123)if(h===0)Df(R,t,T,T,O,a,y,u,D);else switch(b===99&&Yn(R,3)===110?100:b){case 100:case 108:case 109:case 115:Df(e,T,T,o&&af(RP(e,T,T,0,0,s,u,C,s,O=[],y),D),s,D,y,u,o?O:D);break;default:Df(R,T,T,T,[""],D,0,u,D)}}v=h=j=0,A=S=1,C=R="",y=l;break;case 58:y=1+Xo(R),j=x;default:if(A<1){if(z==123)--A;else if(z==125&&A++==0&&_4()==125)continue}switch(R+=hd(z),z*A){case 38:S=h>0?1:(R+="\f",-1);break;case 44:u[v++]=(Xo(R)-1)*S,S=1;break;case 64:Wo()===45&&(R+=Of(Rr())),b=Wo(),h=y=Xo(C=R+=n5(Cf())),z++;break;case 45:x===45&&Xo(R)==2&&(A=0)}}return a}function RP(e,t,n,o,s,a,l,u,f,v,h){for(var y=s-1,b=s===0?a:[""],j=km(b),x=0,A=0,H=0;x0?b[S]+" "+z:It(z,/&\f/g,b[S])))&&(f[H++]=C);return yd(e,t,n,s===0?Om:u,f,v,h)}function o5(e,t,n){return yd(e,t,n,Mx,hd(K4()),vc(e,2,-2),0)}function MP(e,t,n,o){return yd(e,t,n,Dm,vc(e,0,o),vc(e,o+1,-1),o)}function wa(e,t){for(var n="",o=km(e),s=0;s6)switch(Yn(e,t+1)){case 109:if(Yn(e,t+4)!==45)break;case 102:return It(e,/(.+:)(.+)-([^]+)/,"$1"+Vt+"$2-$3$1"+Zf+(Yn(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Th(e,"stretch")?Wx(It(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Yn(e,t+1)!==115)break;case 6444:switch(Yn(e,Xo(e)-3-(~Th(e,"!important")&&10))){case 107:return It(e,":",":"+Vt)+e;case 101:return It(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Vt+(Yn(e,14)===45?"inline-":"")+"box$3$1"+Vt+"$2$3$1"+Kn+"$2box$3")+e}break;case 5936:switch(Yn(e,t+11)){case 114:return Vt+e+Kn+It(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Vt+e+Kn+It(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Vt+e+Kn+It(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Vt+e+Kn+e+e}return e}var p5=function(t,n,o,s){if(t.length>-1&&!t.return)switch(t.type){case Dm:t.return=Wx(t.value,t.length);break;case Lx:return wa([Ol(t,{value:It(t.value,"@","@"+Vt)})],s);case Om:if(t.length)return Q4(t.props,function(a){switch(U4(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wa([Ol(t,{props:[It(a,/:(read-\w+)/,":"+Zf+"$1")]})],s);case"::placeholder":return wa([Ol(t,{props:[It(a,/:(plac\w+)/,":"+Vt+"input-$1")]}),Ol(t,{props:[It(a,/:(plac\w+)/,":"+Zf+"$1")]}),Ol(t,{props:[It(a,/:(plac\w+)/,Kn+"input-$1")]})],s)}return""})}},v5=[p5],h5=function(t){var n=t.key;if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(A){var H=A.getAttribute("data-emotion");H.indexOf(" ")!==-1&&(document.head.appendChild(A),A.setAttribute("data-s",""))})}var s=t.stylisPlugins||v5,a={},l,u=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(A){for(var H=A.getAttribute("data-emotion").split(" "),S=1;S=4;++o,s-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&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(s){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 g5={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},A5=/[A-Z]|^ms/g,P5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ix=function(t){return t.charCodeAt(1)===45},LP=function(t){return t!=null&&typeof t!="boolean"},Qv=Nx(function(e){return Ix(e)?e:e.replace(A5,"-$&").toLowerCase()}),XP=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(P5,function(o,s,a){return No={name:s,styles:a,next:No},s})}return g5[t]!==1&&!Ix(t)&&typeof n=="number"&&n!==0?n+"px":n};function hc(e,t,n){if(n==null)return"";var o=n;if(o.__emotion_styles!==void 0)return o;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return No={name:s.name,styles:s.styles,next:No},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)No={name:l.name,styles:l.styles,next:No},l=l.next;var u=a.styles+";";return u}return b5(e,t,n)}case"function":{if(e!==void 0){var f=No,v=n(e);return No=f,hc(e,t,v)}break}}var h=n;if(t==null)return h;var y=t[h];return y!==void 0?y:h}function b5(e,t,n){var o="";if(Array.isArray(n))for(var s=0;s96?D5:k5},WP=function(t,n,o){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&o&&(s=t.__emotion_forwardProp),s},T5=function(t){var n=t.cache,o=t.serialized,s=t.isStringTag;return zm(n,o,s),Jx(function(){return Cm(n,o,s)}),null},E5=function e(t,n){var o=t.__emotion_real===t,s=o&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=WP(t,n,o),f=u||IP(s),v=!f("as");return function(){var h=arguments,y=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&y.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)y.push.apply(y,h);else{var P=h[0];y.push(P[0]);for(var j=h.length,A=1;At(M5(s)?n:s):t;return p.jsx(z5,{styles:o})}/** - * @mui/styled-engine v6.4.11 + */var XP;function m5(){if(XP)return Wt;XP=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,y=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,j=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,H=e?Symbol.for("react.fundamental"):60117,S=e?Symbol.for("react.responder"):60118,z=e?Symbol.for("react.scope"):60119;function C(D){if(typeof D=="object"&&D!==null){var T=D.$$typeof;switch(T){case t:switch(D=D.type,D){case f:case v:case o:case a:case s:case y:return D;default:switch(D=D&&D.$$typeof,D){case u:case h:case x:case j:case l:return D;default:return T}}case n:return T}}}function O(D){return C(D)===v}return Wt.AsyncMode=f,Wt.ConcurrentMode=v,Wt.ContextConsumer=u,Wt.ContextProvider=l,Wt.Element=t,Wt.ForwardRef=h,Wt.Fragment=o,Wt.Lazy=x,Wt.Memo=j,Wt.Portal=n,Wt.Profiler=a,Wt.StrictMode=s,Wt.Suspense=y,Wt.isAsyncMode=function(D){return O(D)||C(D)===f},Wt.isConcurrentMode=O,Wt.isContextConsumer=function(D){return C(D)===u},Wt.isContextProvider=function(D){return C(D)===l},Wt.isElement=function(D){return typeof D=="object"&&D!==null&&D.$$typeof===t},Wt.isForwardRef=function(D){return C(D)===h},Wt.isFragment=function(D){return C(D)===o},Wt.isLazy=function(D){return C(D)===x},Wt.isMemo=function(D){return C(D)===j},Wt.isPortal=function(D){return C(D)===n},Wt.isProfiler=function(D){return C(D)===a},Wt.isStrictMode=function(D){return C(D)===s},Wt.isSuspense=function(D){return C(D)===y},Wt.isValidElementType=function(D){return typeof D=="string"||typeof D=="function"||D===o||D===v||D===a||D===s||D===y||D===b||typeof D=="object"&&D!==null&&(D.$$typeof===x||D.$$typeof===j||D.$$typeof===l||D.$$typeof===u||D.$$typeof===h||D.$$typeof===H||D.$$typeof===S||D.$$typeof===z||D.$$typeof===A)},Wt.typeOf=C,Wt}var NP;function y5(){return NP||(NP=1,Kv.exports=m5()),Kv.exports}var _v,BP;function g5(){if(BP)return _v;BP=1;var e=y5(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=o,a[e.Memo]=s;function l(x){return e.isMemo(x)?s:a[x.$$typeof]||t}var u=Object.defineProperty,f=Object.getOwnPropertyNames,v=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,b=Object.prototype;function j(x,A,H){if(typeof A!="string"){if(b){var S=y(A);S&&S!==b&&j(x,S,H)}var z=f(A);v&&(z=z.concat(v(A)));for(var C=l(x),O=l(A),D=0;D=4;++o,s-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&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(s){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 b5={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},x5=/[A-Z]|^ms/g,w5=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fx=function(t){return t.charCodeAt(1)===45},VP=function(t){return t!=null&&typeof t!="boolean"},$v=Ix(function(e){return Fx(e)?e:e.replace(x5,"-$&").toLowerCase()}),IP=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(w5,function(o,s,a){return No={name:s,styles:a,next:No},s})}return b5[t]!==1&&!Fx(t)&&typeof n=="number"&&n!==0?n+"px":n};function mc(e,t,n){if(n==null)return"";var o=n;if(o.__emotion_styles!==void 0)return o;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return No={name:s.name,styles:s.styles,next:No},s.name;var a=n;if(a.styles!==void 0){var l=a.next;if(l!==void 0)for(;l!==void 0;)No={name:l.name,styles:l.styles,next:No},l=l.next;var u=a.styles+";";return u}return H5(e,t,n)}case"function":{if(e!==void 0){var f=No,v=n(e);return No=f,mc(e,t,v)}break}}var h=n;if(t==null)return h;var y=t[h];return y!==void 0?y:h}function H5(e,t,n){var o="";if(Array.isArray(n))for(var s=0;s96?E5:R5},qP=function(t,n,o){var s;if(n){var a=n.shouldForwardProp;s=t.__emotion_forwardProp&&a?function(l){return t.__emotion_forwardProp(l)&&a(l)}:a}return typeof s!="function"&&o&&(s=t.__emotion_forwardProp),s},M5=function(t){var n=t.cache,o=t.serialized,s=t.isStringTag;return Tm(n,o,s),qx(function(){return Em(n,o,s)}),null},L5=function e(t,n){var o=t.__emotion_real===t,s=o&&t.__emotion_base||t,a,l;n!==void 0&&(a=n.label,l=n.target);var u=qP(t,n,o),f=u||YP(s),v=!f("as");return function(){var h=arguments,y=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&y.push("label:"+a+";"),h[0]==null||h[0].raw===void 0)y.push.apply(y,h);else{var b=h[0];y.push(b[0]);for(var j=h.length,x=1;xt(N5(s)?n:s):t;return p.jsx(D5,{styles:o})}/** + * @mui/styled-engine v6.5.0 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */function qx(e,t){return kh(e,t)}function L5(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const JP=[];function FP(e){return JP[0]=e,Oc(JP)}var Kv={exports:{}},Zt={};/** + */function Ux(e,t){return Mh(e,t)}function B5(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const ZP=[];function Ws(e){return ZP[0]=e,Dc(ZP)}var eh={exports:{}},Zt={};/** * @license React * react-is.production.js * @@ -35,11 +35,11 @@ function E4(e,t){for(var n=0;n{t[n]=Gx(e[n])}),t}function Vn(e,t,n={clone:!0}){const o=n.clone?{...e}:e;return Bo(e)&&Bo(t)&&Object.keys(t).forEach(s=>{g.isValidElement(t[s])||Zx.isValidElementType(t[s])?o[s]=t[s]:Bo(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Bo(e[s])?o[s]=Vn(e[s],t[s],n):n.clone?o[s]=Bo(t[s])?Gx(t[s]):t[s]:o[s]=t[s]}),o}const B5=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,o)=>n.val-o.val),t.reduce((n,o)=>({...n,[o.key]:o.val}),{})};function V5(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5,...s}=e,a=B5(t),l=Object.keys(a);function u(P){return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${n})`}function f(P){return`@media (max-width:${(typeof t[P]=="number"?t[P]:P)-o/100}${n})`}function v(P,j){const A=l.indexOf(j);return`@media (min-width:${typeof t[P]=="number"?t[P]:P}${n}) and (max-width:${(A!==-1&&typeof t[l[A]]=="number"?t[l[A]]:j)-o/100}${n})`}function h(P){return l.indexOf(P)+1o.startsWith("@container")).sort((o,s)=>{const a=/min-width:\s*([0-9.]+)/;return+(o.match(a)?.[1]||0)-+(s.match(a)?.[1]||0)});return n.length?n.reduce((o,s)=>{const a=t[s];return delete o[s],o[s]=a,o},{...t}):t}function W5(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function J5(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,o,s]=n,a=Number.isNaN(+o)?o||0:+o;return e.containerQueries(s).up(a)}function F5(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...u)=>t(e.breakpoints.up(...u),l),a.down=(...u)=>t(e.breakpoints.down(...u),l),a.between=(...u)=>t(e.breakpoints.between(...u),l),a.only=(...u)=>t(e.breakpoints.only(...u),l),a.not=(...u)=>{const f=t(e.breakpoints.not(...u),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const o={},s=a=>(n(o,a),o);return n(s),{...e,containerQueries:s}}const Y5={borderRadius:4};function rc(e,t){return t?Vn(e,t,{clone:!1}):e}const hd={xs:0,sm:600,md:900,lg:1200,xl:1536},ZP={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${hd[e]}px)`},q5={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:hd[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function br(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const a=o.breakpoints||ZP;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=o.breakpoints||ZP;return Object.keys(t).reduce((l,u)=>{if(W5(a.keys,u)){const f=J5(o.containerQueries?o:q5,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||hd).includes(u)){const f=a.up(u);l[f]=n(t[u],u)}else{const f=u;l[f]=t[f]}return l},{})}return n(t)}function Ux(e={}){return e.keys?.reduce((n,o)=>{const s=e.up(o);return n[s]={},n},{})||{}}function Qx(e,t){return e.reduce((n,o)=>{const s=n[o];return(!s||Object.keys(s).length===0)&&delete n[o],n},t)}function Z5(e,...t){const n=Ux(e),o=[n,...t].reduce((s,a)=>Vn(s,a),{});return Qx(Object.keys(n),o)}function G5(e,t){if(typeof e!="object")return{};const n={},o=Object.keys(t);return Array.isArray(e)?o.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function gi({values:e,breakpoints:t,base:n}){const o=n||G5(e,t),s=Object.keys(o);if(s.length===0)return e;let a;return s.reduce((l,u,f)=>(Array.isArray(e)?(l[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function ve(e){if(typeof e!="string")throw new Error(fs(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Is(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const o=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(o!=null)return o}return t.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,e)}function Yf(e,t,n,o=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||o:s=Is(e,n)||o,t&&(s=t(s,o,e)),s}function Sn(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:s}=e,a=l=>{if(l[t]==null)return null;const u=l[t],f=l.theme,v=Is(f,o)||{};return br(l,u,y=>{let P=Yf(v,s,y);return y===P&&typeof y=="string"&&(P=Yf(v,s,`${t}${y==="default"?"":ve(y)}`,y)),n===!1?P:{[n]:P}})};return a.propTypes={},a.filterProps=[t],a}function U5(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Q5={m:"margin",p:"padding"},K5={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},GP={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},_5=U5(e=>{if(e.length>2)if(GP[e])e=GP[e];else return[e];const[t,n]=e.split(""),o=Q5[t],s=K5[n]||"";return Array.isArray(s)?s.map(a=>o+a):[o+s]}),Tm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Em=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Tm,...Em];function Tc(e,t,n,o){const s=Is(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),u=s[l];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof s=="function"?s:()=>{}}function md(e){return Tc(e,"spacing",8)}function bi(e,t){return typeof t=="string"||t==null?t:e(t)}function $5(e,t){return n=>e.reduce((o,s)=>(o[s]=bi(t,n),o),{})}function e3(e,t,n,o){if(!t.includes(n))return null;const s=_5(n),a=$5(s,o),l=e[n];return br(e,l,a)}function Kx(e,t){const n=md(e.theme);return Object.keys(e).map(o=>e3(e,t,o,n)).reduce(rc,{})}function yn(e){return Kx(e,Tm)}yn.propTypes={};yn.filterProps=Tm;function gn(e){return Kx(e,Em)}gn.propTypes={};gn.filterProps=Em;function _x(e=8,t=md({spacing:e})){if(e.mui)return e;const n=(...o)=>(o.length===0?[1]:o).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function yd(...e){const t=e.reduce((o,s)=>(s.filterProps.forEach(a=>{o[a]=s}),o),{}),n=o=>Object.keys(o).reduce((s,a)=>t[a]?rc(s,t[a](o)):s,{});return n.propTypes={},n.filterProps=e.reduce((o,s)=>o.concat(s.filterProps),[]),n}function Ur(e){return typeof e!="number"?e:`${e}px solid`}function eo(e,t){return Sn({prop:e,themeKey:"borders",transform:t})}const t3=eo("border",Ur),n3=eo("borderTop",Ur),r3=eo("borderRight",Ur),o3=eo("borderBottom",Ur),s3=eo("borderLeft",Ur),i3=eo("borderColor"),a3=eo("borderTopColor"),l3=eo("borderRightColor"),c3=eo("borderBottomColor"),u3=eo("borderLeftColor"),f3=eo("outline",Ur),d3=eo("outlineColor"),gd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Tc(e.theme,"shape.borderRadius",4),n=o=>({borderRadius:bi(t,o)});return br(e,e.borderRadius,n)}return null};gd.propTypes={};gd.filterProps=["borderRadius"];yd(t3,n3,r3,o3,s3,i3,a3,l3,c3,u3,gd,f3,d3);const Ad=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Tc(e.theme,"spacing",8),n=o=>({gap:bi(t,o)});return br(e,e.gap,n)}return null};Ad.propTypes={};Ad.filterProps=["gap"];const Pd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Tc(e.theme,"spacing",8),n=o=>({columnGap:bi(t,o)});return br(e,e.columnGap,n)}return null};Pd.propTypes={};Pd.filterProps=["columnGap"];const bd=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Tc(e.theme,"spacing",8),n=o=>({rowGap:bi(t,o)});return br(e,e.rowGap,n)}return null};bd.propTypes={};bd.filterProps=["rowGap"];const p3=Sn({prop:"gridColumn"}),v3=Sn({prop:"gridRow"}),h3=Sn({prop:"gridAutoFlow"}),m3=Sn({prop:"gridAutoColumns"}),y3=Sn({prop:"gridAutoRows"}),g3=Sn({prop:"gridTemplateColumns"}),A3=Sn({prop:"gridTemplateRows"}),P3=Sn({prop:"gridTemplateAreas"}),b3=Sn({prop:"gridArea"});yd(Ad,Pd,bd,p3,v3,h3,m3,y3,g3,A3,P3,b3);function xa(e,t){return t==="grey"?t:e}const x3=Sn({prop:"color",themeKey:"palette",transform:xa}),w3=Sn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:xa}),H3=Sn({prop:"backgroundColor",themeKey:"palette",transform:xa});yd(x3,w3,H3);function Tr(e){return e<=1&&e!==0?`${e*100}%`:e}const j3=Sn({prop:"width",transform:Tr}),Rm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const o=e.theme?.breakpoints?.values?.[n]||hd[n];return o?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Tr(n)}};return br(e,e.maxWidth,t)}return null};Rm.filterProps=["maxWidth"];const S3=Sn({prop:"minWidth",transform:Tr}),z3=Sn({prop:"height",transform:Tr}),C3=Sn({prop:"maxHeight",transform:Tr}),O3=Sn({prop:"minHeight",transform:Tr});Sn({prop:"size",cssProperty:"width",transform:Tr});Sn({prop:"size",cssProperty:"height",transform:Tr});const D3=Sn({prop:"boxSizing"});yd(j3,Rm,S3,z3,C3,O3,D3);const Ec={border:{themeKey:"borders",transform:Ur},borderTop:{themeKey:"borders",transform:Ur},borderRight:{themeKey:"borders",transform:Ur},borderBottom:{themeKey:"borders",transform:Ur},borderLeft:{themeKey:"borders",transform:Ur},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ur},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:gd},color:{themeKey:"palette",transform:xa},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:xa},backgroundColor:{themeKey:"palette",transform:xa},p:{style:gn},pt:{style:gn},pr:{style:gn},pb:{style:gn},pl:{style:gn},px:{style:gn},py:{style:gn},padding:{style:gn},paddingTop:{style:gn},paddingRight:{style:gn},paddingBottom:{style:gn},paddingLeft:{style:gn},paddingX:{style:gn},paddingY:{style:gn},paddingInline:{style:gn},paddingInlineStart:{style:gn},paddingInlineEnd:{style:gn},paddingBlock:{style:gn},paddingBlockStart:{style:gn},paddingBlockEnd:{style:gn},m:{style:yn},mt:{style:yn},mr:{style:yn},mb:{style:yn},ml:{style:yn},mx:{style:yn},my:{style:yn},margin:{style:yn},marginTop:{style:yn},marginRight:{style:yn},marginBottom:{style:yn},marginLeft:{style:yn},marginX:{style:yn},marginY:{style:yn},marginInline:{style:yn},marginInlineStart:{style:yn},marginInlineEnd:{style:yn},marginBlock:{style:yn},marginBlockStart:{style:yn},marginBlockEnd:{style:yn},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:Ad},rowGap:{style:bd},columnGap:{style:Pd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Tr},maxWidth:{style:Rm},minWidth:{transform:Tr},height:{transform:Tr},maxHeight:{transform:Tr},minHeight:{transform:Tr},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function k3(...e){const t=e.reduce((o,s)=>o.concat(Object.keys(s)),[]),n=new Set(t);return e.every(o=>n.size===Object.keys(o).length)}function T3(e,t){return typeof e=="function"?e(t):e}function E3(){function e(n,o,s,a){const l={[n]:o,theme:s},u=a[n];if(!u)return{[n]:o};const{cssProperty:f=n,themeKey:v,transform:h,style:y}=u;if(o==null)return null;if(v==="typography"&&o==="inherit")return{[n]:o};const P=Is(s,v)||{};return y?y(l):br(l,o,A=>{let b=Yf(P,h,A);return A===b&&typeof A=="string"&&(b=Yf(P,h,`${n}${A==="default"?"":ve(A)}`,A)),f===!1?b:{[f]:b}})}function t(n){const{sx:o,theme:s={}}=n||{};if(!o)return null;const a=s.unstable_sxConfig??Ec;function l(u){let f=u;if(typeof u=="function")f=u(s);else if(typeof u!="object")return u;if(!f)return null;const v=Ux(s.breakpoints),h=Object.keys(v);let y=v;return Object.keys(f).forEach(P=>{const j=T3(f[P],s);if(j!=null)if(typeof j=="object")if(a[P])y=rc(y,e(P,j,s,a));else{const A=br({theme:s},j,b=>({[P]:b}));k3(A,j)?y[P]=t({sx:j,theme:s}):y=rc(y,A)}else y=rc(y,e(P,j,s,a))}),I5(s,Qx(h,y))}return Array.isArray(o)?o.map(l):l(o)}return t}const Fs=E3();Fs.filterProps=["sx"];function R3(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function xd(e={},...t){const{breakpoints:n={},palette:o={},spacing:s,shape:a={},...l}=e,u=V5(n),f=_x(s);let v=Vn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:f,shape:{...Y5,...a}},l);return v=F5(v),v.applyStyles=R3,v=t.reduce((h,y)=>Vn(h,y),v),v.unstable_sxConfig={...Ec,...l?.unstable_sxConfig},v.unstable_sx=function(y){return Fs({sx:y,theme:this})},v}function M3(e){return Object.keys(e).length===0}function Mm(e=null){const t=g.useContext(Dc);return!t||M3(t)?e:t}const L3=xd();function wd(e=L3){return Mm(e)}function X3({styles:e,themeId:t,defaultTheme:n={}}){const o=wd(n),s=typeof e=="function"?e(t&&o[t]||o):e;return p.jsx(Yx,{styles:s})}const N3=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Ec;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Hd(e){const{sx:t,...n}=e,{systemProps:o,otherProps:s}=N3(n);let a;return Array.isArray(t)?a=[o,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return Bo(u)?{...o,...u}:o}:a={...o,...t},{...s,sx:a}}const UP=e=>e,B3=()=>{let e=UP;return{configure(t){e=t},generate(t){return e(t)},reset(){e=UP}}},$x=B3();function ew(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Fs);return g.forwardRef(function(f,v){const h=wd(n),{className:y,component:P="div",...j}=Hd(f);return p.jsx(a,{as:P,ref:v,className:ze(y,s?s(o):o),theme:t&&h[t]||h,...j})})}const I3={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 Ue(e,t,n="Mui"){const o=I3[t];return o?`${n}-${o}`:`${$x.generate(e)}-${t}`}function Qe(e,t,n="Mui"){const o={};return t.forEach(s=>{o[s]=Ue(e,s,n)}),o}function tw(e){const{variants:t,...n}=e,o={variants:t,style:FP(n),isProcessed:!0};return o.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=FP(s.style))}),o}const W3=xd();function _v(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function J3(e){return e?(t,n)=>n[e]:null}function F3(e,t,n){e.theme=q3(e.theme)?n:e.theme[t]||e.theme}function Cf(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(o=>Cf(e,o));if(Array.isArray(n?.variants)){let o;if(n.isProcessed)o=n.style;else{const{variants:s,...a}=n;o=a}return nw(e,n.variants,[o])}return n?.isProcessed?n.style:n}function nw(e,t,n=[]){let o;e:for(let s=0;s{L5(u,D=>D.filter(T=>T!==Fs));const{name:v,slot:h,skipVariantsResolver:y,skipSx:P,overridesResolver:j=J3(G3(h)),...A}=f,b=y!==void 0?y:h&&h!=="Root"&&h!=="root"||!1,H=P||!1;let S=_v;h==="Root"||h==="root"?S=o:h?S=s:Z3(u)&&(S=void 0);const z=qx(u,{shouldForwardProp:S,label:Y3(),...A}),C=D=>{if(D.__emotion_real===D)return D;if(typeof D=="function")return function(R){return Cf(R,D)};if(Bo(D)){const T=tw(D);return T.variants?function(M){return Cf(M,T)}:T.style}return D},O=(...D)=>{const T=[],R=D.map(C),M=[];if(T.push(a),v&&j&&M.push(function(I){const Q=I.theme.components?.[v]?.styleOverrides;if(!Q)return null;const J={};for(const U in Q)J[U]=Cf(I,Q[U]);return j(I,J)}),v&&!b&&M.push(function(I){const Q=I.theme?.components?.[v]?.variants;return Q?nw(I,Q):null}),H||M.push(Fs),Array.isArray(R[0])){const N=R.shift(),I=new Array(T.length).fill(""),W=new Array(M.length).fill("");let Q;Q=[...I,...N,...W],Q.raw=[...I,...N.raw,...W],T.unshift(Q)}const L=[...T,...R,...M],w=z(...L);return u.muiName&&(w.muiName=u.muiName),w};return z.withConfig&&(O.withConfig=z.withConfig),O}}function Y3(e,t){return void 0}function q3(e){for(const t in e)return!1;return!0}function Z3(e){return typeof e=="string"&&e.charCodeAt(0)>96}function G3(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const U3=rw();function ja(e,t){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const s=o;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[s][f]=ja(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function ow(e){const{theme:t,name:n,props:o}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?o:ja(t.components[n].defaultProps,o)}function sw({props:e,name:t,defaultTheme:n,themeId:o}){let s=wd(n);return o&&(s=s[o]||s),ow({theme:s,name:t,props:e})}const Rr=typeof window<"u"?g.useLayoutEffect:g.useEffect;function Q3(e,t,n,o,s){const[a,l]=g.useState(()=>s&&n?n(e).matches:o?o(e).matches:t);return Rr(()=>{if(!n)return;const u=n(e),f=()=>{l(u.matches)};return f(),u.addEventListener("change",f),()=>{u.removeEventListener("change",f)}},[e,n]),a}const K3={...Jf},iw=K3.useSyncExternalStore;function _3(e,t,n,o,s){const a=g.useCallback(()=>t,[t]),l=g.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(o!==null){const{matches:h}=o(e);return()=>h}return a},[a,e,o,s,n]),[u,f]=g.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,y=>(h.addEventListener("change",y),()=>{h.removeEventListener("change",y)})]},[a,n,e]);return iw(f,u,l)}function aw(e={}){const{themeId:t}=e;return function(o,s={}){let a=Mm();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:v=null,noSsr:h=!1}=ow({name:"MuiUseMediaQuery",props:s,theme:a});let y=typeof o=="function"?o(a):o;return y=y.replace(/^@media( ?)/m,""),y.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(` -`)),(iw!==void 0?_3:Q3)(y,u,f,v,h)}}aw();function $3(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Lm(e,t=0,n=1){return $3(e,t,n)}function e7(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(o=>o+o)),n?`rgb${n.length===4?"a":""}(${n.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Ys(e){if(e.type)return e;if(e.charAt(0)==="#")return Ys(e7(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(fs(9,e));let o=e.substring(t+1,e.length-1),s;if(n==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(fs(10,s))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:n,values:o,colorSpace:s}}const t7=e=>{const t=Ys(e);return t.values.slice(0,3).map((n,o)=>t.type.includes("hsl")&&o!==0?`${n}%`:n).join(" ")},ql=(e,t)=>{try{return t7(e)}catch{return e}};function jd(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return t.includes("rgb")?o=o.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.includes("color")?o=`${n} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function lw(e){e=Ys(e);const{values:t}=e,n=t[0],o=t[1]/100,s=t[2]/100,a=o*Math.min(s,1-s),l=(v,h=(v+n/30)%12)=>s-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),jd({type:u,values:f})}function Th(e){e=Ys(e);let t=e.type==="hsl"||e.type==="hsla"?Ys(lw(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function n7(e,t){const n=Th(e),o=Th(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function Pt(e,t){return e=Ys(e),t=Lm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,jd(e)}function of(e,t,n){try{return Pt(e,t)}catch{return e}}function xi(e,t){if(e=Ys(e),t=Lm(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 jd(e)}function Gt(e,t,n){try{return xi(e,t)}catch{return e}}function wi(e,t){if(e=Ys(e),t=Lm(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 jd(e)}function Ut(e,t,n){try{return wi(e,t)}catch{return e}}function cw(e,t=.15){return Th(e)>.5?xi(e,t):wi(e,t)}function sf(e,t,n){try{return cw(e,t)}catch{return e}}function Eh(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function Xm(e,t=166){let n;function o(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return o.clear=()=>{clearTimeout(n)},o}function Of(e,t){return g.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function er(e){return e&&e.ownerDocument||document}function Po(e){return er(e).defaultView||window}function Rh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let QP=0;function r7(e){const[t,n]=g.useState(e),o=e||t;return g.useEffect(()=>{t==null&&(QP+=1,n(`mui-${QP}`))},[t]),o}const o7={...Jf},KP=o7.useId;function bo(e){if(KP!==void 0){const t=KP();return e??t}return r7(e)}function Ws({controlled:e,default:t,name:n,state:o="value"}){const{current:s}=g.useRef(e!==void 0),[a,l]=g.useState(t),u=s?e:a,f=g.useCallback(v=>{s||l(v)},[]);return[u,f]}function $n(e){const t=g.useRef(e);return Rr(()=>{t.current=e}),g.useRef((...n)=>(0,t.current)(...n)).current}function ln(...e){const t=g.useRef(void 0),n=g.useCallback(o=>{const s=e.map(a=>{if(a==null)return null;if(typeof a=="function"){const l=a,u=l(o);return typeof u=="function"?u:()=>{l(null)}}return a.current=o,()=>{a.current=null}});return()=>{s.forEach(a=>a?.())}},e);return g.useMemo(()=>e.every(o=>o==null)?null:o=>{t.current&&(t.current(),t.current=void 0),o!=null&&(t.current=n(o))},e)}const _P={};function uw(e,t){const n=g.useRef(_P);return n.current===_P&&(n.current=e(t)),n}const s7=[];function i7(e){g.useEffect(e,s7)}class Sd{static create(){return new Sd}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function vi(){const e=uw(Sd.create).current;return i7(e.disposeEffect),e}function Sa(e){try{return e.matches(":focus-visible")}catch{}return!1}function fw(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const a7=e=>{const t=g.useRef({});return g.useEffect(()=>{t.current=e}),t.current};function Ke(e,t,n=void 0){const o={};for(const s in e){const a=e[s];let l="",u=!0;for(let f=0;fo.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{n[o]=e[o]}),n}function $P(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function pw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:s,className:a}=e;if(!t){const j=ze(n?.className,a,s?.className,o?.className),A={...n?.style,...s?.style,...o?.style},b={...n,...s,...o};return j.length>0&&(b.className=j),Object.keys(A).length>0&&(b.style=A),{props:b,internalRef:void 0}}const l=qf({...s,...o}),u=$P(o),f=$P(s),v=t(l),h=ze(v?.className,n?.className,a,s?.className,o?.className),y={...v?.style,...n?.style,...s?.style,...o?.style},P={...v,...n,...f,...u};return h.length>0&&(P.className=h),Object.keys(y).length>0&&(P.style=y),{props:P,internalRef:v.ref}}function vw(e,t,n){return typeof e=="function"?e(t,n):e}function hw(e){const{elementType:t,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:vw(n,o),{props:u,internalRef:f}=pw({...a,externalSlotProps:l}),v=ln(f,l?.ref,e.additionalProps?.ref);return dw(t,{...u,ref:v},o)}function qs(e){return parseInt(g.version,10)>=19?e?.props?.ref||null:e?.ref||null}const mw=g.createContext(null);function Nm(){return g.useContext(mw)}const c7=typeof Symbol=="function"&&Symbol.for,u7=c7?Symbol.for("mui.nested"):"__THEME_NESTED__";function f7(e,t){return typeof t=="function"?t(e):{...e,...t}}function d7(e){const{children:t,theme:n}=e,o=Nm(),s=g.useMemo(()=>{const a=o===null?{...n}:f7(o,n);return a!=null&&(a[u7]=o!==null),a},[n,o]);return p.jsx(mw.Provider,{value:s,children:t})}const yw=g.createContext();function p7({value:e,...t}){return p.jsx(yw.Provider,{value:e??!0,...t})}const Rc=()=>g.useContext(yw)??!1,gw=g.createContext(void 0);function v7({value:e,children:t}){return p.jsx(gw.Provider,{value:e,children:t})}function h7(e){const{theme:t,name:n,props:o}=e;if(!t||!t.components||!t.components[n])return o;const s=t.components[n];return s.defaultProps?ja(s.defaultProps,o):!s.styleOverrides&&!s.variants?ja(s,o):o}function m7({props:e,name:t}){const n=g.useContext(gw);return h7({props:e,name:t,theme:{components:n}})}const eb={};function tb(e,t,n,o=!1){return g.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return o?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,o])}function Aw(e){const{children:t,theme:n,themeId:o}=e,s=Mm(eb),a=Nm()||eb,l=tb(o,s,n),u=tb(o,a,n,!0),f=(o?l[o]:l).direction==="rtl";return p.jsx(d7,{theme:u,children:p.jsx(Dc.Provider,{value:l,children:p.jsx(p7,{value:f,children:p.jsx(v7,{value:o?l[o].components:l.components,children:t})})})})}const nb={theme:void 0};function y7(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(nb.theme=s.theme,a=tw(e(nb)),t=a,n=s.theme),a}}const Bm="mode",Vm="color-scheme",g7="data-color-scheme";function A7(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:o="dark",modeStorageKey:s=Bm,colorSchemeStorageKey:a=Vm,attribute:l=g7,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let v="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const P=h.substring(1);v+=`${u}.classList.remove('${P}'.replace('%s', light), '${P}'.replace('%s', dark)); - ${u}.classList.add('${P}'.replace('%s', colorScheme));`}const y=h.match(/\[([^\]]+)\]/);if(y){const[P,j]=y[1].split("=");j||(v+=`${u}.removeAttribute('${P}'.replace('%s', light)); - ${u}.removeAttribute('${P}'.replace('%s', dark));`),v+=` - ${u}.setAttribute('${P}'.replace('%s', colorScheme), ${j?`${j}.replace('%s', colorScheme)`:'""'});`}else v+=`${u}.setAttribute('${h}', colorScheme);`;return p.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(function() { + */var GP;function V5(){if(GP)return Zt;GP=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),j=Symbol.for("react.client.reference");function x(A){if(typeof A=="object"&&A!==null){var H=A.$$typeof;switch(H){case e:switch(A=A.type,A){case n:case s:case o:case f:case v:return A;default:switch(A=A&&A.$$typeof,A){case l:case u:case y:case h:return A;case a:return A;default:return H}}case t:return H}}}return Zt.ContextConsumer=a,Zt.ContextProvider=l,Zt.Element=e,Zt.ForwardRef=u,Zt.Fragment=n,Zt.Lazy=y,Zt.Memo=h,Zt.Portal=t,Zt.Profiler=s,Zt.StrictMode=o,Zt.Suspense=f,Zt.SuspenseList=v,Zt.isContextConsumer=function(A){return x(A)===a},Zt.isContextProvider=function(A){return x(A)===l},Zt.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},Zt.isForwardRef=function(A){return x(A)===u},Zt.isFragment=function(A){return x(A)===n},Zt.isLazy=function(A){return x(A)===y},Zt.isMemo=function(A){return x(A)===h},Zt.isPortal=function(A){return x(A)===t},Zt.isProfiler=function(A){return x(A)===s},Zt.isStrictMode=function(A){return x(A)===o},Zt.isSuspense=function(A){return x(A)===f},Zt.isSuspenseList=function(A){return x(A)===v},Zt.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===s||A===o||A===f||A===v||A===b||typeof A=="object"&&A!==null&&(A.$$typeof===y||A.$$typeof===h||A.$$typeof===l||A.$$typeof===a||A.$$typeof===u||A.$$typeof===j||A.getModuleId!==void 0)},Zt.typeOf=x,Zt}var UP;function I5(){return UP||(UP=1,eh.exports=V5()),eh.exports}var Qx=I5();function Bo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Kx(e){if(g.isValidElement(e)||Qx.isValidElementType(e)||!Bo(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Kx(e[n])}),t}function Vn(e,t,n={clone:!0}){const o=n.clone?{...e}:e;return Bo(e)&&Bo(t)&&Object.keys(t).forEach(s=>{g.isValidElement(t[s])||Qx.isValidElementType(t[s])?o[s]=t[s]:Bo(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Bo(e[s])?o[s]=Vn(e[s],t[s],n):n.clone?o[s]=Bo(t[s])?Kx(t[s]):t[s]:o[s]=t[s]}),o}const W5=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,o)=>n.val-o.val),t.reduce((n,o)=>({...n,[o.key]:o.val}),{})};function J5(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5,...s}=e,a=W5(t),l=Object.keys(a);function u(b){return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n})`}function f(b){return`@media (max-width:${(typeof t[b]=="number"?t[b]:b)-o/100}${n})`}function v(b,j){const x=l.indexOf(j);return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n}) and (max-width:${(x!==-1&&typeof t[l[x]]=="number"?t[l[x]]:j)-o/100}${n})`}function h(b){return l.indexOf(b)+1o.startsWith("@container")).sort((o,s)=>{const a=/min-width:\s*([0-9.]+)/;return+(o.match(a)?.[1]||0)-+(s.match(a)?.[1]||0)});return n.length?n.reduce((o,s)=>{const a=t[s];return delete o[s],o[s]=a,o},{...t}):t}function F5(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function Y5(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,o,s]=n,a=Number.isNaN(+o)?o||0:+o;return e.containerQueries(s).up(a)}function q5(e){const t=(a,l)=>a.replace("@media",l?`@container ${l}`:"@container");function n(a,l){a.up=(...u)=>t(e.breakpoints.up(...u),l),a.down=(...u)=>t(e.breakpoints.down(...u),l),a.between=(...u)=>t(e.breakpoints.between(...u),l),a.only=(...u)=>t(e.breakpoints.only(...u),l),a.not=(...u)=>{const f=t(e.breakpoints.not(...u),l);return f.includes("not all and")?f.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):f}}const o={},s=a=>(n(o,a),o);return n(s),{...e,containerQueries:s}}const Z5={borderRadius:4};function oc(e,t){return t?Vn(e,t,{clone:!1}):e}const gd={xs:0,sm:600,md:900,lg:1200,xl:1536},KP={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${gd[e]}px)`},G5={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:gd[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function br(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const a=o.breakpoints||KP;return t.reduce((l,u,f)=>(l[a.up(a.keys[f])]=n(t[f]),l),{})}if(typeof t=="object"){const a=o.breakpoints||KP;return Object.keys(t).reduce((l,u)=>{if(F5(a.keys,u)){const f=Y5(o.containerQueries?o:G5,u);f&&(l[f]=n(t[u],u))}else if(Object.keys(a.values||gd).includes(u)){const f=a.up(u);l[f]=n(t[u],u)}else{const f=u;l[f]=t[f]}return l},{})}return n(t)}function _x(e={}){return e.keys?.reduce((n,o)=>{const s=e.up(o);return n[s]={},n},{})||{}}function Lh(e,t){return e.reduce((n,o)=>{const s=n[o];return(!s||Object.keys(s).length===0)&&delete n[o],n},t)}function U5(e,...t){const n=_x(e),o=[n,...t].reduce((s,a)=>Vn(s,a),{});return Lh(Object.keys(n),o)}function Q5(e,t){if(typeof e!="object")return{};const n={},o=Object.keys(t);return Array.isArray(e)?o.forEach((s,a)=>{a{e[s]!=null&&(n[s]=!0)}),n}function Pi({values:e,breakpoints:t,base:n}){const o=n||Q5(e,t),s=Object.keys(o);if(s.length===0)return e;let a;return s.reduce((l,u,f)=>(Array.isArray(e)?(l[u]=e[f]!=null?e[f]:e[a],a=f):typeof e=="object"?(l[u]=e[u]!=null?e[u]:e[a],a=u):l[u]=e,l),{})}function ve(e){if(typeof e!="string")throw new Error(ds(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Is(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const o=`vars.${t}`.split(".").reduce((s,a)=>s&&s[a]?s[a]:null,e);if(o!=null)return o}return t.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,e)}function Gf(e,t,n,o=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||o:s=Is(e,n)||o,t&&(s=t(s,o,e)),s}function Sn(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:s}=e,a=l=>{if(l[t]==null)return null;const u=l[t],f=l.theme,v=Is(f,o)||{};return br(l,u,y=>{let b=Gf(v,s,y);return y===b&&typeof y=="string"&&(b=Gf(v,s,`${t}${y==="default"?"":ve(y)}`,y)),n===!1?b:{[n]:b}})};return a.propTypes={},a.filterProps=[t],a}function K5(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const _5={m:"margin",p:"padding"},$5={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},_P={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},e3=K5(e=>{if(e.length>2)if(_P[e])e=_P[e];else return[e];const[t,n]=e.split(""),o=_5[t],s=$5[n]||"";return Array.isArray(s)?s.map(a=>o+a):[o+s]}),Xm=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Nm=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Xm,...Nm];function Ec(e,t,n,o){const s=Is(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?a=>typeof a=="string"?a:typeof s=="string"?`calc(${a} * ${s})`:s*a:Array.isArray(s)?a=>{if(typeof a=="string")return a;const l=Math.abs(a),u=s[l];return a>=0?u:typeof u=="number"?-u:`-${u}`}:typeof s=="function"?s:()=>{}}function Ad(e){return Ec(e,"spacing",8)}function wi(e,t){return typeof t=="string"||t==null?t:e(t)}function t3(e,t){return n=>e.reduce((o,s)=>(o[s]=wi(t,n),o),{})}function n3(e,t,n,o){if(!t.includes(n))return null;const s=e3(n),a=t3(s,o),l=e[n];return br(e,l,a)}function $x(e,t){const n=Ad(e.theme);return Object.keys(e).map(o=>n3(e,t,o,n)).reduce(oc,{})}function yn(e){return $x(e,Xm)}yn.propTypes={};yn.filterProps=Xm;function gn(e){return $x(e,Nm)}gn.propTypes={};gn.filterProps=Nm;function ew(e=8,t=Ad({spacing:e})){if(e.mui)return e;const n=(...o)=>(o.length===0?[1]:o).map(a=>{const l=t(a);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function Pd(...e){const t=e.reduce((o,s)=>(s.filterProps.forEach(a=>{o[a]=s}),o),{}),n=o=>Object.keys(o).reduce((s,a)=>t[a]?oc(s,t[a](o)):s,{});return n.propTypes={},n.filterProps=e.reduce((o,s)=>o.concat(s.filterProps),[]),n}function Qr(e){return typeof e!="number"?e:`${e}px solid`}function no(e,t){return Sn({prop:e,themeKey:"borders",transform:t})}const r3=no("border",Qr),o3=no("borderTop",Qr),s3=no("borderRight",Qr),i3=no("borderBottom",Qr),a3=no("borderLeft",Qr),l3=no("borderColor"),c3=no("borderTopColor"),u3=no("borderRightColor"),f3=no("borderBottomColor"),d3=no("borderLeftColor"),p3=no("outline",Qr),v3=no("outlineColor"),bd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ec(e.theme,"shape.borderRadius",4),n=o=>({borderRadius:wi(t,o)});return br(e,e.borderRadius,n)}return null};bd.propTypes={};bd.filterProps=["borderRadius"];Pd(r3,o3,s3,i3,a3,l3,c3,u3,f3,d3,bd,p3,v3);const xd=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ec(e.theme,"spacing",8),n=o=>({gap:wi(t,o)});return br(e,e.gap,n)}return null};xd.propTypes={};xd.filterProps=["gap"];const wd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ec(e.theme,"spacing",8),n=o=>({columnGap:wi(t,o)});return br(e,e.columnGap,n)}return null};wd.propTypes={};wd.filterProps=["columnGap"];const Hd=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ec(e.theme,"spacing",8),n=o=>({rowGap:wi(t,o)});return br(e,e.rowGap,n)}return null};Hd.propTypes={};Hd.filterProps=["rowGap"];const h3=Sn({prop:"gridColumn"}),m3=Sn({prop:"gridRow"}),y3=Sn({prop:"gridAutoFlow"}),g3=Sn({prop:"gridAutoColumns"}),A3=Sn({prop:"gridAutoRows"}),P3=Sn({prop:"gridTemplateColumns"}),b3=Sn({prop:"gridTemplateRows"}),x3=Sn({prop:"gridTemplateAreas"}),w3=Sn({prop:"gridArea"});Pd(xd,wd,Hd,h3,m3,y3,g3,A3,P3,b3,x3,w3);function Ha(e,t){return t==="grey"?t:e}const H3=Sn({prop:"color",themeKey:"palette",transform:Ha}),j3=Sn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ha}),S3=Sn({prop:"backgroundColor",themeKey:"palette",transform:Ha});Pd(H3,j3,S3);function Er(e){return e<=1&&e!==0?`${e*100}%`:e}const z3=Sn({prop:"width",transform:Er}),Bm=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const o=e.theme?.breakpoints?.values?.[n]||gd[n];return o?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Er(n)}};return br(e,e.maxWidth,t)}return null};Bm.filterProps=["maxWidth"];const C3=Sn({prop:"minWidth",transform:Er}),O3=Sn({prop:"height",transform:Er}),D3=Sn({prop:"maxHeight",transform:Er}),k3=Sn({prop:"minHeight",transform:Er});Sn({prop:"size",cssProperty:"width",transform:Er});Sn({prop:"size",cssProperty:"height",transform:Er});const T3=Sn({prop:"boxSizing"});Pd(z3,Bm,C3,O3,D3,k3,T3);const Rc={border:{themeKey:"borders",transform:Qr},borderTop:{themeKey:"borders",transform:Qr},borderRight:{themeKey:"borders",transform:Qr},borderBottom:{themeKey:"borders",transform:Qr},borderLeft:{themeKey:"borders",transform:Qr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:bd},color:{themeKey:"palette",transform:Ha},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ha},backgroundColor:{themeKey:"palette",transform:Ha},p:{style:gn},pt:{style:gn},pr:{style:gn},pb:{style:gn},pl:{style:gn},px:{style:gn},py:{style:gn},padding:{style:gn},paddingTop:{style:gn},paddingRight:{style:gn},paddingBottom:{style:gn},paddingLeft:{style:gn},paddingX:{style:gn},paddingY:{style:gn},paddingInline:{style:gn},paddingInlineStart:{style:gn},paddingInlineEnd:{style:gn},paddingBlock:{style:gn},paddingBlockStart:{style:gn},paddingBlockEnd:{style:gn},m:{style:yn},mt:{style:yn},mr:{style:yn},mb:{style:yn},ml:{style:yn},mx:{style:yn},my:{style:yn},margin:{style:yn},marginTop:{style:yn},marginRight:{style:yn},marginBottom:{style:yn},marginLeft:{style:yn},marginX:{style:yn},marginY:{style:yn},marginInline:{style:yn},marginInlineStart:{style:yn},marginInlineEnd:{style:yn},marginBlock:{style:yn},marginBlockStart:{style:yn},marginBlockEnd:{style:yn},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:xd},rowGap:{style:Hd},columnGap:{style:wd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Er},maxWidth:{style:Bm},minWidth:{transform:Er},height:{transform:Er},maxHeight:{transform:Er},minHeight:{transform:Er},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function E3(...e){const t=e.reduce((o,s)=>o.concat(Object.keys(s)),[]),n=new Set(t);return e.every(o=>n.size===Object.keys(o).length)}function R3(e,t){return typeof e=="function"?e(t):e}function M3(){function e(n,o,s,a){const l={[n]:o,theme:s},u=a[n];if(!u)return{[n]:o};const{cssProperty:f=n,themeKey:v,transform:h,style:y}=u;if(o==null)return null;if(v==="typography"&&o==="inherit")return{[n]:o};const b=Is(s,v)||{};return y?y(l):br(l,o,x=>{let A=Gf(b,h,x);return x===A&&typeof x=="string"&&(A=Gf(b,h,`${n}${x==="default"?"":ve(x)}`,x)),f===!1?A:{[f]:A}})}function t(n){const{sx:o,theme:s={},nested:a}=n||{};if(!o)return null;const l=s.unstable_sxConfig??Rc;function u(f){let v=f;if(typeof f=="function")v=f(s);else if(typeof f!="object")return f;if(!v)return null;const h=_x(s.breakpoints),y=Object.keys(h);let b=h;return Object.keys(v).forEach(j=>{const x=R3(v[j],s);if(x!=null)if(typeof x=="object")if(l[j])b=oc(b,e(j,x,s,l));else{const A=br({theme:s},x,H=>({[j]:H}));E3(A,x)?b[j]=t({sx:x,theme:s,nested:!0}):b=oc(b,A)}else b=oc(b,e(j,x,s,l))}),!a&&s.modularCssLayers?{"@layer sx":QP(s,Lh(y,b))}:QP(s,Lh(y,b))}return Array.isArray(o)?o.map(u):u(o)}return t}const Ys=M3();Ys.filterProps=["sx"];function L3(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function jd(e={},...t){const{breakpoints:n={},palette:o={},spacing:s,shape:a={},...l}=e,u=J5(n),f=ew(s);let v=Vn({breakpoints:u,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:f,shape:{...Z5,...a}},l);return v=q5(v),v.applyStyles=L3,v=t.reduce((h,y)=>Vn(h,y),v),v.unstable_sxConfig={...Rc,...l?.unstable_sxConfig},v.unstable_sx=function(y){return Ys({sx:y,theme:this})},v}function X3(e){return Object.keys(e).length===0}function Sd(e=null){const t=g.useContext(kc);return!t||X3(t)?e:t}const N3=jd();function zd(e=N3){return Sd(e)}function th(e){const t=Ws(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function tw({styles:e,themeId:t,defaultTheme:n={}}){const o=zd(n),s=t&&o[t]||o;let a=typeof e=="function"?e(s):e;return s.modularCssLayers&&(Array.isArray(a)?a=a.map(l=>th(typeof l=="function"?l(s):l)):a=th(a)),p.jsx(Gx,{styles:a})}const B3=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Rc;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function Cd(e){const{sx:t,...n}=e,{systemProps:o,otherProps:s}=B3(n);let a;return Array.isArray(t)?a=[o,...t]:typeof t=="function"?a=(...l)=>{const u=t(...l);return Bo(u)?{...o,...u}:o}:a={...o,...t},{...s,sx:a}}const $P=e=>e,V3=()=>{let e=$P;return{configure(t){e=t},generate(t){return e(t)},reset(){e=$P}}},nw=V3();function rw(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;tu!=="theme"&&u!=="sx"&&u!=="as"})(Ys);return g.forwardRef(function(f,v){const h=zd(n),{className:y,component:b="div",...j}=Cd(f);return p.jsx(a,{as:b,ref:v,className:ze(y,s?s(o):o),theme:t&&h[t]||h,...j})})}const W3={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 Qe(e,t,n="Mui"){const o=W3[t];return o?`${n}-${o}`:`${nw.generate(e)}-${t}`}function Ke(e,t,n="Mui"){const o={};return t.forEach(s=>{o[s]=Qe(e,s,n)}),o}function ow(e){const{variants:t,...n}=e,o={variants:t,style:Ws(n),isProcessed:!0};return o.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=Ws(s.style))}),o}const J3=jd();function nh(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function hi(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function F3(e){return e?(t,n)=>n[e]:null}function Y3(e,t,n){e.theme=Z3(e.theme)?n:e.theme[t]||e.theme}function kf(e,t,n){const o=typeof t=="function"?t(e):t;if(Array.isArray(o))return o.flatMap(s=>kf(e,s,n));if(Array.isArray(o?.variants)){let s;if(o.isProcessed)s=n?hi(o.style,n):o.style;else{const{variants:a,...l}=o;s=n?hi(Ws(l),n):l}return sw(e,o.variants,[s],n)}return o?.isProcessed?n?hi(Ws(o.style),n):o.style:n?hi(Ws(o),n):o}function sw(e,t,n=[],o=void 0){let s;e:for(let a=0;a{B5(u,T=>T.filter(R=>R!==Ys));const{name:v,slot:h,skipVariantsResolver:y,skipSx:b,overridesResolver:j=F3(U3(h)),...x}=f,A=v&&v.startsWith("Mui")||h?"components":"custom",H=y!==void 0?y:h&&h!=="Root"&&h!=="root"||!1,S=b||!1;let z=nh;h==="Root"||h==="root"?z=o:h?z=s:G3(u)&&(z=void 0);const C=Ux(u,{shouldForwardProp:z,label:q3(),...x}),O=T=>{if(T.__emotion_real===T)return T;if(typeof T=="function")return function(L){return kf(L,T,L.theme.modularCssLayers?A:void 0)};if(Bo(T)){const R=ow(T);return function(M){return R.variants?kf(M,R,M.theme.modularCssLayers?A:void 0):M.theme.modularCssLayers?hi(R.style,A):R.style}}return T},D=(...T)=>{const R=[],L=T.map(O),M=[];if(R.push(a),v&&j&&M.push(function(W){const J=W.theme.components?.[v]?.styleOverrides;if(!J)return null;const U={};for(const re in J)U[re]=kf(W,J[re],W.theme.modularCssLayers?"theme":void 0);return j(W,U)}),v&&!H&&M.push(function(W){const J=W.theme?.components?.[v]?.variants;return J?sw(W,J,[],W.theme.modularCssLayers?"theme":void 0):null}),S||M.push(Ys),Array.isArray(L[0])){const I=L.shift(),W=new Array(R.length).fill(""),ne=new Array(M.length).fill("");let J;J=[...W,...I,...ne],J.raw=[...W,...I.raw,...ne],R.unshift(J)}const w=[...R,...L,...M],N=C(...w);return u.muiName&&(N.muiName=u.muiName),N};return C.withConfig&&(D.withConfig=C.withConfig),D}}function q3(e,t){return void 0}function Z3(e){for(const t in e)return!1;return!0}function G3(e){return typeof e=="string"&&e.charCodeAt(0)>96}function U3(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}const Q3=iw();function za(e,t){const n={...t};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const s=o;if(s==="components"||s==="slots")n[s]={...e[s],...n[s]};else if(s==="componentsProps"||s==="slotProps"){const a=e[s],l=t[s];if(!l)n[s]=a||{};else if(!a)n[s]=l;else{n[s]={...l};for(const u in a)if(Object.prototype.hasOwnProperty.call(a,u)){const f=u;n[s][f]=za(a[f],l[f])}}}else n[s]===void 0&&(n[s]=e[s])}return n}function aw(e){const{theme:t,name:n,props:o}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?o:za(t.components[n].defaultProps,o)}function lw({props:e,name:t,defaultTheme:n,themeId:o}){let s=zd(n);return o&&(s=s[o]||s),aw({theme:s,name:t,props:e})}const xr=typeof window<"u"?g.useLayoutEffect:g.useEffect;function K3(e,t,n,o,s){const[a,l]=g.useState(()=>s&&n?n(e).matches:o?o(e).matches:t);return xr(()=>{if(!n)return;const u=n(e),f=()=>{l(u.matches)};return f(),u.addEventListener("change",f),()=>{u.removeEventListener("change",f)}},[e,n]),a}const _3={...qf},cw=_3.useSyncExternalStore;function $3(e,t,n,o,s){const a=g.useCallback(()=>t,[t]),l=g.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(o!==null){const{matches:h}=o(e);return()=>h}return a},[a,e,o,s,n]),[u,f]=g.useMemo(()=>{if(n===null)return[a,()=>()=>{}];const h=n(e);return[()=>h.matches,y=>(h.addEventListener("change",y),()=>{h.removeEventListener("change",y)})]},[a,n,e]);return cw(f,u,l)}function uw(e={}){const{themeId:t}=e;return function(o,s={}){let a=Sd();a&&t&&(a=a[t]||a);const l=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:u=!1,matchMedia:f=l?window.matchMedia:null,ssrMatchMedia:v=null,noSsr:h=!1}=aw({name:"MuiUseMediaQuery",props:s,theme:a});let y=typeof o=="function"?o(a):o;return y=y.replace(/^@media( ?)/m,""),y.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(` +`)),(cw!==void 0?$3:K3)(y,u,f,v,h)}}uw();function e7(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function Vm(e,t=0,n=1){return e7(e,t,n)}function t7(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(o=>o+o)),n?`rgb${n.length===4?"a":""}(${n.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function qs(e){if(e.type)return e;if(e.charAt(0)==="#")return qs(t7(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(ds(9,e));let o=e.substring(t+1,e.length-1),s;if(n==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(ds(10,s))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:n,values:o,colorSpace:s}}const n7=e=>{const t=qs(e);return t.values.slice(0,3).map((n,o)=>t.type.includes("hsl")&&o!==0?`${n}%`:n).join(" ")},Zl=(e,t)=>{try{return n7(e)}catch{return e}};function Od(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return t.includes("rgb")?o=o.map((s,a)=>a<3?parseInt(s,10):s):t.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.includes("color")?o=`${n} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function fw(e){e=qs(e);const{values:t}=e,n=t[0],o=t[1]/100,s=t[2]/100,a=o*Math.min(s,1-s),l=(v,h=(v+n/30)%12)=>s-a*Math.max(Math.min(h-3,9-h,1),-1);let u="rgb";const f=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(u+="a",f.push(t[3])),Od({type:u,values:f})}function Xh(e){e=qs(e);let t=e.type==="hsl"||e.type==="hsla"?qs(fw(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function r7(e,t){const n=Xh(e),o=Xh(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function Pt(e,t){return e=qs(e),t=Vm(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Od(e)}function lf(e,t,n){try{return Pt(e,t)}catch{return e}}function Hi(e,t){if(e=qs(e),t=Vm(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 Od(e)}function Gt(e,t,n){try{return Hi(e,t)}catch{return e}}function ji(e,t){if(e=qs(e),t=Vm(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 Od(e)}function Ut(e,t,n){try{return ji(e,t)}catch{return e}}function dw(e,t=.15){return Xh(e)>.5?Hi(e,t):ji(e,t)}function cf(e,t,n){try{return dw(e,t)}catch{return e}}function Nh(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function Im(e,t=166){let n;function o(...s){const a=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(a,t)}return o.clear=()=>{clearTimeout(n)},o}function Tf(e,t){return g.isValidElement(e)&&t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)!==-1}function er(e){return e&&e.ownerDocument||document}function bo(e){return er(e).defaultView||window}function Bh(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let eb=0;function o7(e){const[t,n]=g.useState(e),o=e||t;return g.useEffect(()=>{t==null&&(eb+=1,n(`mui-${eb}`))},[t]),o}const s7={...qf},tb=s7.useId;function $r(e){if(tb!==void 0){const t=tb();return e??t}return o7(e)}function Js({controlled:e,default:t,name:n,state:o="value"}){const{current:s}=g.useRef(e!==void 0),[a,l]=g.useState(t),u=s?e:a,f=g.useCallback(v=>{s||l(v)},[]);return[u,f]}function $n(e){const t=g.useRef(e);return xr(()=>{t.current=e}),g.useRef((...n)=>(0,t.current)(...n)).current}function ln(...e){const t=g.useRef(void 0),n=g.useCallback(o=>{const s=e.map(a=>{if(a==null)return null;if(typeof a=="function"){const l=a,u=l(o);return typeof u=="function"?u:()=>{l(null)}}return a.current=o,()=>{a.current=null}});return()=>{s.forEach(a=>a?.())}},e);return g.useMemo(()=>e.every(o=>o==null)?null:o=>{t.current&&(t.current(),t.current=void 0),o!=null&&(t.current=n(o))},e)}const nb={};function pw(e,t){const n=g.useRef(nb);return n.current===nb&&(n.current=e(t)),n}const i7=[];function a7(e){g.useEffect(e,i7)}class Dd{static create(){return new Dd}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function mi(){const e=pw(Dd.create).current;return a7(e.disposeEffect),e}function Ca(e){try{return e.matches(":focus-visible")}catch{}return!1}function vw(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}const l7=e=>{const t=g.useRef({});return g.useEffect(()=>{t.current=e}),t.current};function _e(e,t,n=void 0){const o={};for(const s in e){const a=e[s];let l="",u=!0;for(let f=0;fo.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{n[o]=e[o]}),n}function rb(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function mw(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:s,className:a}=e;if(!t){const j=ze(n?.className,a,s?.className,o?.className),x={...n?.style,...s?.style,...o?.style},A={...n,...s,...o};return j.length>0&&(A.className=j),Object.keys(x).length>0&&(A.style=x),{props:A,internalRef:void 0}}const l=Uf({...s,...o}),u=rb(o),f=rb(s),v=t(l),h=ze(v?.className,n?.className,a,s?.className,o?.className),y={...v?.style,...n?.style,...s?.style,...o?.style},b={...v,...n,...f,...u};return h.length>0&&(b.className=h),Object.keys(y).length>0&&(b.style=y),{props:b,internalRef:v.ref}}function yw(e,t,n){return typeof e=="function"?e(t,n):e}function gw(e){const{elementType:t,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:s=!1,...a}=e,l=s?{}:yw(n,o),{props:u,internalRef:f}=mw({...a,externalSlotProps:l}),v=ln(f,l?.ref,e.additionalProps?.ref);return hw(t,{...u,ref:v},o)}function Zs(e){return parseInt(g.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Aw=g.createContext(null);function Wm(){return g.useContext(Aw)}const u7=typeof Symbol=="function"&&Symbol.for,f7=u7?Symbol.for("mui.nested"):"__THEME_NESTED__";function d7(e,t){return typeof t=="function"?t(e):{...e,...t}}function p7(e){const{children:t,theme:n}=e,o=Wm(),s=g.useMemo(()=>{const a=o===null?{...n}:d7(o,n);return a!=null&&(a[f7]=o!==null),a},[n,o]);return p.jsx(Aw.Provider,{value:s,children:t})}const Pw=g.createContext();function v7({value:e,...t}){return p.jsx(Pw.Provider,{value:e??!0,...t})}const Mc=()=>g.useContext(Pw)??!1,bw=g.createContext(void 0);function h7({value:e,children:t}){return p.jsx(bw.Provider,{value:e,children:t})}function m7(e){const{theme:t,name:n,props:o}=e;if(!t||!t.components||!t.components[n])return o;const s=t.components[n];return s.defaultProps?za(s.defaultProps,o):!s.styleOverrides&&!s.variants?za(s,o):o}function y7({props:e,name:t}){const n=g.useContext(bw);return m7({props:e,name:t,theme:{components:n}})}function g7(e){const t=Sd(),n=$r()||"",{modularCssLayers:o}=e;let s="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!o||t!==null?s="":typeof o=="string"?s=o.replace(/mui(?!\.)/g,s):s=`@layer ${s};`,xr(()=>{const a=document.querySelector("head");if(!a)return;const l=a.firstChild;if(s){if(l&&l.hasAttribute?.("data-mui-layer-order")&&l.getAttribute("data-mui-layer-order")===n)return;const u=document.createElement("style");u.setAttribute("data-mui-layer-order",n),u.textContent=s,a.prepend(u)}else a.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[s,n]),s?p.jsx(tw,{styles:s}):null}const ob={};function sb(e,t,n,o=!1){return g.useMemo(()=>{const s=e&&t[e]||t;if(typeof n=="function"){const a=n(s),l=e?{...t,[e]:a}:a;return o?()=>l:l}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,o])}function xw(e){const{children:t,theme:n,themeId:o}=e,s=Sd(ob),a=Wm()||ob,l=sb(o,s,n),u=sb(o,a,n,!0),f=(o?l[o]:l).direction==="rtl",v=g7(l);return p.jsx(p7,{theme:u,children:p.jsx(kc.Provider,{value:l,children:p.jsx(v7,{value:f,children:p.jsxs(h7,{value:o?l[o].components:l.components,children:[v,t]})})})})}const ib={theme:void 0};function A7(e){let t,n;return function(s){let a=t;return(a===void 0||s.theme!==n)&&(ib.theme=s.theme,a=ow(e(ib)),t=a,n=s.theme),a}}const Jm="mode",Fm="color-scheme",P7="data-color-scheme";function b7(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:o="dark",modeStorageKey:s=Jm,colorSchemeStorageKey:a=Fm,attribute:l=P7,colorSchemeNode:u="document.documentElement",nonce:f}=e||{};let v="",h=l;if(l==="class"&&(h=".%s"),l==="data"&&(h="[data-%s]"),h.startsWith(".")){const b=h.substring(1);v+=`${u}.classList.remove('${b}'.replace('%s', light), '${b}'.replace('%s', dark)); + ${u}.classList.add('${b}'.replace('%s', colorScheme));`}const y=h.match(/\[([^\]]+)\]/);if(y){const[b,j]=y[1].split("=");j||(v+=`${u}.removeAttribute('${b}'.replace('%s', light)); + ${u}.removeAttribute('${b}'.replace('%s', dark));`),v+=` + ${u}.setAttribute('${b}'.replace('%s', colorScheme), ${j?`${j}.replace('%s', colorScheme)`:'""'});`}else v+=`${u}.setAttribute('${h}', colorScheme);`;return p.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?f:"",dangerouslySetInnerHTML:{__html:`(function() { try { let colorScheme = ''; const mode = localStorage.getItem('${s}') || '${t}'; @@ -63,14 +63,14 @@ try { if (colorScheme) { ${v} } -} catch(e){}})();`}},"mui-color-scheme-init")}function P7(){}const b7=({key:e,storageWindow:t})=>(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let o;try{o=t.localStorage.getItem(e)}catch{}return o||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return P7;const o=s=>{const a=s.newValue;s.key===e&&n(a)};return t.addEventListener("storage",o),()=>{t.removeEventListener("storage",o)}}});function $v(){}function rb(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Pw(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function x7(e){return Pw(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function w7(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:o,supportedColorSchemes:s=[],modeStorageKey:a=Bm,colorSchemeStorageKey:l=Vm,storageWindow:u=typeof window>"u"?void 0:window,storageManager:f=b7,noSsr:v=!1}=e,h=s.join(","),y=s.length>1,P=g.useMemo(()=>f?.({key:a,storageWindow:u}),[f,a,u]),j=g.useMemo(()=>f?.({key:`${l}-light`,storageWindow:u}),[f,l,u]),A=g.useMemo(()=>f?.({key:`${l}-dark`,storageWindow:u}),[f,l,u]),[b,H]=g.useState(()=>{const M=P?.get(t)||t,L=j?.get(n)||n,w=A?.get(o)||o;return{mode:M,systemMode:rb(M),lightColorScheme:L,darkColorScheme:w}}),[S,z]=g.useState(v||!y);g.useEffect(()=>{z(!0)},[]);const C=x7(b),O=g.useCallback(M=>{H(L=>{if(M===L.mode)return L;const w=M??t;return P?.set(w),{...L,mode:w,systemMode:rb(w)}})},[P,t]),D=g.useCallback(M=>{M?typeof M=="string"?M&&!h.includes(M)?console.error(`\`${M}\` does not exist in \`theme.colorSchemes\`.`):H(L=>{const w={...L};return Pw(L,N=>{N==="light"&&(j?.set(M),w.lightColorScheme=M),N==="dark"&&(A?.set(M),w.darkColorScheme=M)}),w}):H(L=>{const w={...L},N=M.light===null?n:M.light,I=M.dark===null?o:M.dark;return N&&(h.includes(N)?(w.lightColorScheme=N,j?.set(N)):console.error(`\`${N}\` does not exist in \`theme.colorSchemes\`.`)),I&&(h.includes(I)?(w.darkColorScheme=I,A?.set(I)):console.error(`\`${I}\` does not exist in \`theme.colorSchemes\`.`)),w}):H(L=>(j?.set(n),A?.set(o),{...L,lightColorScheme:n,darkColorScheme:o}))},[h,j,A,n,o]),T=g.useCallback(M=>{b.mode==="system"&&H(L=>{const w=M?.matches?"dark":"light";return L.systemMode===w?L:{...L,systemMode:w}})},[b.mode]),R=g.useRef(T);return R.current=T,g.useEffect(()=>{if(typeof window.matchMedia!="function"||!y)return;const M=(...w)=>R.current(...w),L=window.matchMedia("(prefers-color-scheme: dark)");return L.addListener(M),M(L),()=>{L.removeListener(M)}},[y]),g.useEffect(()=>{if(y){const M=P?.subscribe(N=>{(!N||["light","dark","system"].includes(N))&&O(N||t)})||$v,L=j?.subscribe(N=>{(!N||h.match(N))&&D({light:N})})||$v,w=A?.subscribe(N=>{(!N||h.match(N))&&D({dark:N})})||$v;return()=>{M(),L(),w()}}},[D,O,h,t,u,y,P,j,A]),{...b,mode:S?b.mode:void 0,systemMode:S?b.systemMode:void 0,colorScheme:S?C:void 0,setMode:O,setColorScheme:D}}const H7="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function j7(e){const{themeId:t,theme:n={},modeStorageKey:o=Bm,colorSchemeStorageKey:s=Vm,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:u}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},v=g.createContext(void 0),h=()=>g.useContext(v)||f,y={},P={};function j(S){const{children:z,theme:C,modeStorageKey:O=o,colorSchemeStorageKey:D=s,disableTransitionOnChange:T=a,storageManager:R,storageWindow:M=typeof window>"u"?void 0:window,documentNode:L=typeof document>"u"?void 0:document,colorSchemeNode:w=typeof document>"u"?void 0:document.documentElement,disableNestedContext:N=!1,disableStyleSheetGeneration:I=!1,defaultMode:W="system",noSsr:Q}=S,J=g.useRef(!1),U=Nm(),re=g.useContext(v),K=!!re&&!N,Y=g.useMemo(()=>C||(typeof n=="function"?n():n),[C]),E=Y[t],q=E||Y,{colorSchemes:X=y,components:$=P,cssVarPrefix:ne}=q,oe=Object.keys(X).filter(ce=>!!X[ce]).join(","),le=g.useMemo(()=>oe.split(","),[oe]),be=typeof l=="string"?l:l.light,ie=typeof l=="string"?l:l.dark,xe=X[be]&&X[ie]?W:X[q.defaultColorScheme]?.palette?.mode||q.palette?.mode,{mode:Oe,setMode:Le,systemMode:Ae,lightColorScheme:Ye,darkColorScheme:ge,colorScheme:Je,setColorScheme:yt}=w7({supportedColorSchemes:le,defaultLightColorScheme:be,defaultDarkColorScheme:ie,modeStorageKey:O,colorSchemeStorageKey:D,defaultMode:xe,storageManager:R,storageWindow:M,noSsr:Q});let Me=Oe,ht=Je;K&&(Me=re.mode,ht=re.colorScheme);const ct=g.useMemo(()=>{const ce=ht||q.defaultColorScheme,me=q.generateThemeVars?.()||q.vars,De={...q,components:$,colorSchemes:X,cssVarPrefix:ne,vars:me};if(typeof De.generateSpacing=="function"&&(De.spacing=De.generateSpacing()),ce){const Ve=X[ce];Ve&&typeof Ve=="object"&&Object.keys(Ve).forEach(_e=>{Ve[_e]&&typeof Ve[_e]=="object"?De[_e]={...De[_e],...Ve[_e]}:De[_e]=Ve[_e]})}return u?u(De):De},[q,ht,$,X,ne]),B=q.colorSchemeSelector;Rr(()=>{if(ht&&w&&B&&B!=="media"){const ce=B;let me=B;if(ce==="class"&&(me=".%s"),ce==="data"&&(me="[data-%s]"),ce?.startsWith("data-")&&!ce.includes("%s")&&(me=`[${ce}="%s"]`),me.startsWith("."))w.classList.remove(...le.map(De=>me.substring(1).replace("%s",De))),w.classList.add(me.substring(1).replace("%s",ht));else{const De=me.replace("%s",ht).match(/\[([^\]]+)\]/);if(De){const[Ve,_e]=De[1].split("=");_e||le.forEach(gt=>{w.removeAttribute(Ve.replace(ht,gt))}),w.setAttribute(Ve,_e?_e.replace(/"|'/g,""):"")}else w.setAttribute(me,ht)}}},[ht,B,w,le]),g.useEffect(()=>{let ce;if(T&&J.current&&L){const me=L.createElement("style");me.appendChild(L.createTextNode(H7)),L.head.appendChild(me),window.getComputedStyle(L.body),ce=setTimeout(()=>{L.head.removeChild(me)},1)}return()=>{clearTimeout(ce)}},[ht,T,L]),g.useEffect(()=>(J.current=!0,()=>{J.current=!1}),[]);const _=g.useMemo(()=>({allColorSchemes:le,colorScheme:ht,darkColorScheme:ge,lightColorScheme:Ye,mode:Me,setColorScheme:yt,setMode:Le,systemMode:Ae}),[le,ht,ge,Ye,Me,yt,Le,Ae,ct.colorSchemeSelector]);let ee=!0;(I||q.cssVariables===!1||K&&U?.cssVarPrefix===ne)&&(ee=!1);const we=p.jsxs(g.Fragment,{children:[p.jsx(Aw,{themeId:E?t:void 0,theme:ct,children:z}),ee&&p.jsx(Yx,{styles:ct.generateStyleSheets?.()||[]})]});return K?we:p.jsx(v.Provider,{value:_,children:we})}const A=typeof l=="string"?l:l.light,b=typeof l=="string"?l:l.dark;return{CssVarsProvider:j,useColorScheme:h,getInitColorSchemeScript:S=>A7({colorSchemeStorageKey:s,defaultLightColorScheme:A,defaultDarkColorScheme:b,modeStorageKey:o,...S})}}function S7(e=""){function t(...o){if(!o.length)return"";const s=o[0];return typeof s=="string"&&!s.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}-`:""}${s}${t(...o.slice(1))})`:`, ${s}`}return(o,...s)=>`var(--${e?`${e}-`:""}${o}${t(...s)})`}const ob=(e,t,n,o=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=o.includes(a)?[]:{}),s=s[a])})},z7=(e,t,n)=>{function o(s,a=[],l=[]){Object.entries(s).forEach(([u,f])=>{(!n||n&&!n([...a,u]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?o(f,[...a,u],Array.isArray(f)?[...l,u]:l):t([...a,u],f,l))})}o(e)},C7=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>e.includes(o))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function eh(e,t){const{prefix:n,shouldSkipGeneratingVar:o}=t||{},s={},a={},l={};return z7(e,(u,f,v)=>{if((typeof f=="string"||typeof f=="number")&&(!o||!o(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,y=C7(u,f);Object.assign(s,{[h]:y}),ob(a,u,`var(${h})`,v),ob(l,u,`var(${h}, ${y})`,v)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function O7(e,t={}){const{getSelector:n=H,disableCssColorScheme:o,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:v,css:h,varsWithDefaults:y}=eh(f,t);let P=y;const j={},{[u]:A,...b}=a;if(Object.entries(b||{}).forEach(([C,O])=>{const{vars:D,css:T,varsWithDefaults:R}=eh(O,t);P=Vn(P,R),j[C]={css:T,vars:D}}),A){const{css:C,vars:O,varsWithDefaults:D}=eh(A,t);P=Vn(P,D),j[u]={css:C,vars:O}}function H(C,O){let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),C){if(D==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${a[C]?.palette?.mode||C})`]:{":root":O}};if(D)return e.defaultColorScheme===C?`:root, ${D.replace("%s",String(C))}`:D.replace("%s",String(C))}return":root"}return{vars:P,generateThemeVars:()=>{let C={...v};return Object.entries(j).forEach(([,{vars:O}])=>{C=Vn(C,O)}),C},generateStyleSheets:()=>{const C=[],O=e.defaultColorScheme||"light";function D(M,L){Object.keys(L).length&&C.push(typeof M=="string"?{[M]:{...L}}:M)}D(n(void 0,{...h}),h);const{[O]:T,...R}=j;if(T){const{css:M}=T,L=a[O]?.palette?.mode,w=!o&&L?{colorScheme:L,...M}:{...M};D(n(O,{...w}),w)}return Object.entries(R).forEach(([M,{css:L}])=>{const w=a[M]?.palette?.mode,N=!o&&w?{colorScheme:w,...L}:{...L};D(n(M,{...N}),N)}),C}}}function D7(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const k7=xd(),T7=U3("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function E7(e){return sw({props:e,name:"MuiStack",defaultTheme:k7})}function R7(e,t){const n=g.Children.toArray(e).filter(Boolean);return n.reduce((o,s,a)=>(o.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],L7=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...br({theme:t},gi({values:e.direction,breakpoints:t.breakpoints.values}),o=>({flexDirection:o}))};if(e.spacing){const o=md(t),s=Object.keys(t.breakpoints.values).reduce((f,v)=>((typeof e.spacing=="object"&&e.spacing[v]!=null||typeof e.direction=="object"&&e.direction[v]!=null)&&(f[v]=!0),f),{}),a=gi({values:e.direction,base:s}),l=gi({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,v,h)=>{if(!a[f]){const P=v>0?a[h[v-1]]:"column";a[f]=P}}),n=Vn(n,br({theme:t},l,(f,v)=>e.useFlexGap?{gap:bi(o,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${M7(v?a[v]:e.direction)}`]:bi(o,f)}}))}return n=Z5(t.breakpoints,n),n};function X7(e={}){const{createStyledComponent:t=T7,useThemeProps:n=E7,componentName:o="MuiStack"}=e,s=()=>Ke({root:["root"]},f=>Ue(o,f),{}),a=t(L7);return g.forwardRef(function(f,v){const h=n(f),y=Hd(h),{component:P="div",direction:j="column",spacing:A=0,divider:b,children:H,className:S,useFlexGap:z=!1,...C}=y,O={direction:j,spacing:A,useFlexGap:z},D=s();return p.jsx(a,{as:P,ownerState:O,ref:v,className:ze(D.root,S),...C,children:b?R7(H,b):H})})}function bw(){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:dc.white,default:dc.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const N7=bw();function xw(){return{text:{primary:dc.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:dc.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const sb=xw();function ib(e,t,n,o){const s=o.light||o,a=o.dark||o*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=wi(e.main,s):t==="dark"&&(e.dark=xi(e.main,a)))}function B7(e="light"){return e==="dark"?{main:ia[200],light:ia[50],dark:ia[400]}:{main:ia[700],light:ia[400],dark:ia[800]}}function V7(e="light"){return e==="dark"?{main:sa[200],light:sa[50],dark:sa[400]}:{main:sa[500],light:sa[300],dark:sa[700]}}function I7(e="light"){return e==="dark"?{main:oa[500],light:oa[300],dark:oa[700]}:{main:oa[700],light:oa[400],dark:oa[800]}}function W7(e="light"){return e==="dark"?{main:aa[400],light:aa[300],dark:aa[700]}:{main:aa[700],light:aa[500],dark:aa[900]}}function J7(e="light"){return e==="dark"?{main:la[400],light:la[300],dark:la[700]}:{main:la[800],light:la[500],dark:la[900]}}function F7(e="light"){return e==="dark"?{main:Sl[400],light:Sl[300],dark:Sl[700]}:{main:"#ed6c02",light:Sl[500],dark:Sl[900]}}function Im(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2,...s}=e,a=e.primary||B7(t),l=e.secondary||V7(t),u=e.error||I7(t),f=e.info||W7(t),v=e.success||J7(t),h=e.warning||F7(t);function y(b){return n7(b,sb.text.primary)>=n?sb.text.primary:N7.text.primary}const P=({color:b,name:H,mainShade:S=500,lightShade:z=300,darkShade:C=700})=>{if(b={...b},!b.main&&b[S]&&(b.main=b[S]),!b.hasOwnProperty("main"))throw new Error(fs(11,H?` (${H})`:"",S));if(typeof b.main!="string")throw new Error(fs(12,H?` (${H})`:"",JSON.stringify(b.main)));return ib(b,"light",z,o),ib(b,"dark",C,o),b.contrastText||(b.contrastText=y(b.main)),b};let j;return t==="light"?j=bw():t==="dark"&&(j=xw()),Vn({common:{...dc},mode:t,primary:P({color:a,name:"primary"}),secondary:P({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:u,name:"error"}),warning:P({color:h,name:"warning"}),info:P({color:f,name:"info"}),success:P({color:v,name:"success"}),grey:X4,contrastThreshold:n,getContrastText:y,augmentColor:P,tonalOffset:o,...j},s)}function Y7(e){const t={};return Object.entries(e).forEach(o=>{const[s,a]=o;typeof a=="object"&&(t[s]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function q7(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Z7(e){return Math.round(e*1e5)/1e5}const ab={textTransform:"uppercase"},lb='"Roboto", "Helvetica", "Arial", sans-serif';function ww(e,t){const{fontFamily:n=lb,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:v,pxToRem:h,...y}=typeof t=="function"?t(e):t,P=o/14,j=h||(H=>`${H/f*P}rem`),A=(H,S,z,C,O)=>({fontFamily:n,fontWeight:H,fontSize:j(S),lineHeight:z,...n===lb?{letterSpacing:`${Z7(C/S)}em`}:{},...O,...v}),b={h1:A(s,96,1.167,-1.5),h2:A(s,60,1.2,-.5),h3:A(a,48,1.167,0),h4:A(a,34,1.235,.25),h5:A(a,24,1.334,0),h6:A(l,20,1.6,.15),subtitle1:A(a,16,1.75,.15),subtitle2:A(l,14,1.57,.1),body1:A(a,16,1.5,.15),body2:A(a,14,1.43,.15),button:A(l,14,1.75,.4,ab),caption:A(a,12,1.66,.4),overline:A(a,12,2.66,1,ab),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Vn({htmlFontSize:f,pxToRem:j,fontFamily:n,fontSize:o,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...b},y,{clone:!1})}const G7=.2,U7=.14,Q7=.12;function sn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${G7})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${U7})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Q7})`].join(",")}const K7=["none",sn(0,2,1,-1,0,1,1,0,0,1,3,0),sn(0,3,1,-2,0,2,2,0,0,1,5,0),sn(0,3,3,-2,0,3,4,0,0,1,8,0),sn(0,2,4,-1,0,4,5,0,0,1,10,0),sn(0,3,5,-1,0,5,8,0,0,1,14,0),sn(0,3,5,-1,0,6,10,0,0,1,18,0),sn(0,4,5,-2,0,7,10,1,0,2,16,1),sn(0,5,5,-3,0,8,10,1,0,3,14,2),sn(0,5,6,-3,0,9,12,1,0,3,16,2),sn(0,6,6,-3,0,10,14,1,0,4,18,3),sn(0,6,7,-4,0,11,15,1,0,4,20,3),sn(0,7,8,-4,0,12,17,2,0,5,22,4),sn(0,7,8,-4,0,13,19,2,0,5,24,4),sn(0,7,9,-4,0,14,21,2,0,5,26,4),sn(0,8,9,-5,0,15,22,2,0,6,28,5),sn(0,8,10,-5,0,16,24,2,0,6,30,5),sn(0,8,11,-5,0,17,26,2,0,6,32,5),sn(0,9,11,-5,0,18,28,2,0,7,34,6),sn(0,9,12,-6,0,19,29,2,0,7,36,6),sn(0,10,13,-6,0,20,31,3,0,8,38,7),sn(0,10,13,-6,0,21,33,3,0,8,40,7),sn(0,10,14,-6,0,22,35,3,0,8,42,7),sn(0,11,14,-7,0,23,36,3,0,9,44,8),sn(0,11,15,-7,0,24,38,3,0,9,46,8)],_7={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)"},$7={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function cb(e){return`${Math.round(e)}ms`}function eH(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function tH(e){const t={..._7,...e.easing},n={...$7,...e.duration};return{getAutoHeightDuration:eH,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:f=0,...v}=a;return(Array.isArray(s)?s:[s]).map(h=>`${h} ${typeof l=="string"?l:cb(l)} ${u} ${typeof f=="string"?f:cb(f)}`).join(",")},...e,easing:t,duration:n}}const nH={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function rH(e){return Bo(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function Hw(e={}){const t={...e};function n(o){const s=Object.entries(o);for(let a=0;a(!t&&typeof window<"u"&&(t=window),{get(n){if(typeof window>"u")return;if(!t)return n;let o;try{o=t.localStorage.getItem(e)}catch{}return o||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return x7;const o=s=>{const a=s.newValue;s.key===e&&n(a)};return t.addEventListener("storage",o),()=>{t.removeEventListener("storage",o)}}});function rh(){}function ab(e){if(typeof window<"u"&&typeof window.matchMedia=="function"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ww(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function H7(e){return ww(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function j7(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:o,supportedColorSchemes:s=[],modeStorageKey:a=Jm,colorSchemeStorageKey:l=Fm,storageWindow:u=typeof window>"u"?void 0:window,storageManager:f=w7,noSsr:v=!1}=e,h=s.join(","),y=s.length>1,b=g.useMemo(()=>f?.({key:a,storageWindow:u}),[f,a,u]),j=g.useMemo(()=>f?.({key:`${l}-light`,storageWindow:u}),[f,l,u]),x=g.useMemo(()=>f?.({key:`${l}-dark`,storageWindow:u}),[f,l,u]),[A,H]=g.useState(()=>{const L=b?.get(t)||t,M=j?.get(n)||n,w=x?.get(o)||o;return{mode:L,systemMode:ab(L),lightColorScheme:M,darkColorScheme:w}}),[S,z]=g.useState(v||!y);g.useEffect(()=>{z(!0)},[]);const C=H7(A),O=g.useCallback(L=>{H(M=>{if(L===M.mode)return M;const w=L??t;return b?.set(w),{...M,mode:w,systemMode:ab(w)}})},[b,t]),D=g.useCallback(L=>{L?typeof L=="string"?L&&!h.includes(L)?console.error(`\`${L}\` does not exist in \`theme.colorSchemes\`.`):H(M=>{const w={...M};return ww(M,N=>{N==="light"&&(j?.set(L),w.lightColorScheme=L),N==="dark"&&(x?.set(L),w.darkColorScheme=L)}),w}):H(M=>{const w={...M},N=L.light===null?n:L.light,I=L.dark===null?o:L.dark;return N&&(h.includes(N)?(w.lightColorScheme=N,j?.set(N)):console.error(`\`${N}\` does not exist in \`theme.colorSchemes\`.`)),I&&(h.includes(I)?(w.darkColorScheme=I,x?.set(I)):console.error(`\`${I}\` does not exist in \`theme.colorSchemes\`.`)),w}):H(M=>(j?.set(n),x?.set(o),{...M,lightColorScheme:n,darkColorScheme:o}))},[h,j,x,n,o]),T=g.useCallback(L=>{A.mode==="system"&&H(M=>{const w=L?.matches?"dark":"light";return M.systemMode===w?M:{...M,systemMode:w}})},[A.mode]),R=g.useRef(T);return R.current=T,g.useEffect(()=>{if(typeof window.matchMedia!="function"||!y)return;const L=(...w)=>R.current(...w),M=window.matchMedia("(prefers-color-scheme: dark)");return M.addListener(L),L(M),()=>{M.removeListener(L)}},[y]),g.useEffect(()=>{if(y){const L=b?.subscribe(N=>{(!N||["light","dark","system"].includes(N))&&O(N||t)})||rh,M=j?.subscribe(N=>{(!N||h.match(N))&&D({light:N})})||rh,w=x?.subscribe(N=>{(!N||h.match(N))&&D({dark:N})})||rh;return()=>{L(),M(),w()}}},[D,O,h,t,u,y,b,j,x]),{...A,mode:S?A.mode:void 0,systemMode:S?A.systemMode:void 0,colorScheme:S?C:void 0,setMode:O,setColorScheme:D}}const S7="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function z7(e){const{themeId:t,theme:n={},modeStorageKey:o=Jm,colorSchemeStorageKey:s=Fm,disableTransitionOnChange:a=!1,defaultColorScheme:l,resolveTheme:u}=e,f={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},v=g.createContext(void 0),h=()=>g.useContext(v)||f,y={},b={};function j(S){const{children:z,theme:C,modeStorageKey:O=o,colorSchemeStorageKey:D=s,disableTransitionOnChange:T=a,storageManager:R,storageWindow:L=typeof window>"u"?void 0:window,documentNode:M=typeof document>"u"?void 0:document,colorSchemeNode:w=typeof document>"u"?void 0:document.documentElement,disableNestedContext:N=!1,disableStyleSheetGeneration:I=!1,defaultMode:W="system",noSsr:ne}=S,J=g.useRef(!1),U=Wm(),re=g.useContext(v),K=!!re&&!N,Y=g.useMemo(()=>C||(typeof n=="function"?n():n),[C]),E=Y[t],q=E||Y,{colorSchemes:X=y,components:_=b,cssVarPrefix:te}=q,oe=Object.keys(X).filter(ce=>!!X[ce]).join(","),le=g.useMemo(()=>oe.split(","),[oe]),be=typeof l=="string"?l:l.light,ie=typeof l=="string"?l:l.dark,xe=X[be]&&X[ie]?W:X[q.defaultColorScheme]?.palette?.mode||q.palette?.mode,{mode:Oe,setMode:Le,systemMode:Ae,lightColorScheme:Ye,darkColorScheme:ye,colorScheme:Je,setColorScheme:yt}=j7({supportedColorSchemes:le,defaultLightColorScheme:be,defaultDarkColorScheme:ie,modeStorageKey:O,colorSchemeStorageKey:D,defaultMode:xe,storageManager:R,storageWindow:L,noSsr:ne});let Me=Oe,ht=Je;K&&(Me=re.mode,ht=re.colorScheme);const ct=g.useMemo(()=>{const ce=ht||q.defaultColorScheme,ge=q.generateThemeVars?.()||q.vars,De={...q,components:_,colorSchemes:X,cssVarPrefix:te,vars:ge};if(typeof De.generateSpacing=="function"&&(De.spacing=De.generateSpacing()),ce){const qe=X[ce];qe&&typeof qe=="object"&&Object.keys(qe).forEach($e=>{qe[$e]&&typeof qe[$e]=="object"?De[$e]={...De[$e],...qe[$e]}:De[$e]=qe[$e]})}return u?u(De):De},[q,ht,_,X,te]),B=q.colorSchemeSelector;xr(()=>{if(ht&&w&&B&&B!=="media"){const ce=B;let ge=B;if(ce==="class"&&(ge=".%s"),ce==="data"&&(ge="[data-%s]"),ce?.startsWith("data-")&&!ce.includes("%s")&&(ge=`[${ce}="%s"]`),ge.startsWith("."))w.classList.remove(...le.map(De=>ge.substring(1).replace("%s",De))),w.classList.add(ge.substring(1).replace("%s",ht));else{const De=ge.replace("%s",ht).match(/\[([^\]]+)\]/);if(De){const[qe,$e]=De[1].split("=");$e||le.forEach(gt=>{w.removeAttribute(qe.replace(ht,gt))}),w.setAttribute(qe,$e?$e.replace(/"|'/g,""):"")}else w.setAttribute(ge,ht)}}},[ht,B,w,le]),g.useEffect(()=>{let ce;if(T&&J.current&&M){const ge=M.createElement("style");ge.appendChild(M.createTextNode(S7)),M.head.appendChild(ge),window.getComputedStyle(M.body),ce=setTimeout(()=>{M.head.removeChild(ge)},1)}return()=>{clearTimeout(ce)}},[ht,T,M]),g.useEffect(()=>(J.current=!0,()=>{J.current=!1}),[]);const Q=g.useMemo(()=>({allColorSchemes:le,colorScheme:ht,darkColorScheme:ye,lightColorScheme:Ye,mode:Me,setColorScheme:yt,setMode:Le,systemMode:Ae}),[le,ht,ye,Ye,Me,yt,Le,Ae,ct.colorSchemeSelector]);let $=!0;(I||q.cssVariables===!1||K&&U?.cssVarPrefix===te)&&($=!1);const we=p.jsxs(g.Fragment,{children:[p.jsx(xw,{themeId:E?t:void 0,theme:ct,children:z}),$&&p.jsx(Gx,{styles:ct.generateStyleSheets?.()||[]})]});return K?we:p.jsx(v.Provider,{value:Q,children:we})}const x=typeof l=="string"?l:l.light,A=typeof l=="string"?l:l.dark;return{CssVarsProvider:j,useColorScheme:h,getInitColorSchemeScript:S=>b7({colorSchemeStorageKey:s,defaultLightColorScheme:x,defaultDarkColorScheme:A,modeStorageKey:o,...S})}}function C7(e=""){function t(...o){if(!o.length)return"";const s=o[0];return typeof s=="string"&&!s.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}-`:""}${s}${t(...o.slice(1))})`:`, ${s}`}return(o,...s)=>`var(--${e?`${e}-`:""}${o}${t(...s)})`}const lb=(e,t,n,o=[])=>{let s=e;t.forEach((a,l)=>{l===t.length-1?Array.isArray(s)?s[Number(a)]=n:s&&typeof s=="object"&&(s[a]=n):s&&typeof s=="object"&&(s[a]||(s[a]=o.includes(a)?[]:{}),s=s[a])})},O7=(e,t,n)=>{function o(s,a=[],l=[]){Object.entries(s).forEach(([u,f])=>{(!n||n&&!n([...a,u]))&&f!=null&&(typeof f=="object"&&Object.keys(f).length>0?o(f,[...a,u],Array.isArray(f)?[...l,u]:l):t([...a,u],f,l))})}o(e)},D7=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>e.includes(o))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function oh(e,t){const{prefix:n,shouldSkipGeneratingVar:o}=t||{},s={},a={},l={};return O7(e,(u,f,v)=>{if((typeof f=="string"||typeof f=="number")&&(!o||!o(u,f))){const h=`--${n?`${n}-`:""}${u.join("-")}`,y=D7(u,f);Object.assign(s,{[h]:y}),lb(a,u,`var(${h})`,v),lb(l,u,`var(${h}, ${y})`,v)}},u=>u[0]==="vars"),{css:s,vars:a,varsWithDefaults:l}}function k7(e,t={}){const{getSelector:n=H,disableCssColorScheme:o,colorSchemeSelector:s}=t,{colorSchemes:a={},components:l,defaultColorScheme:u="light",...f}=e,{vars:v,css:h,varsWithDefaults:y}=oh(f,t);let b=y;const j={},{[u]:x,...A}=a;if(Object.entries(A||{}).forEach(([C,O])=>{const{vars:D,css:T,varsWithDefaults:R}=oh(O,t);b=Vn(b,R),j[C]={css:T,vars:D}}),x){const{css:C,vars:O,varsWithDefaults:D}=oh(x,t);b=Vn(b,D),j[u]={css:C,vars:O}}function H(C,O){let D=s;if(s==="class"&&(D=".%s"),s==="data"&&(D="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(D=`[${s}="%s"]`),C){if(D==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${a[C]?.palette?.mode||C})`]:{":root":O}};if(D)return e.defaultColorScheme===C?`:root, ${D.replace("%s",String(C))}`:D.replace("%s",String(C))}return":root"}return{vars:b,generateThemeVars:()=>{let C={...v};return Object.entries(j).forEach(([,{vars:O}])=>{C=Vn(C,O)}),C},generateStyleSheets:()=>{const C=[],O=e.defaultColorScheme||"light";function D(L,M){Object.keys(M).length&&C.push(typeof L=="string"?{[L]:{...M}}:L)}D(n(void 0,{...h}),h);const{[O]:T,...R}=j;if(T){const{css:L}=T,M=a[O]?.palette?.mode,w=!o&&M?{colorScheme:M,...L}:{...L};D(n(O,{...w}),w)}return Object.entries(R).forEach(([L,{css:M}])=>{const w=a[L]?.palette?.mode,N=!o&&w?{colorScheme:w,...M}:{...M};D(n(L,{...N}),N)}),C}}}function T7(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const E7=jd(),R7=Q3("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function M7(e){return lw({props:e,name:"MuiStack",defaultTheme:E7})}function L7(e,t){const n=g.Children.toArray(e).filter(Boolean);return n.reduce((o,s,a)=>(o.push(s),a({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],N7=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...br({theme:t},Pi({values:e.direction,breakpoints:t.breakpoints.values}),o=>({flexDirection:o}))};if(e.spacing){const o=Ad(t),s=Object.keys(t.breakpoints.values).reduce((f,v)=>((typeof e.spacing=="object"&&e.spacing[v]!=null||typeof e.direction=="object"&&e.direction[v]!=null)&&(f[v]=!0),f),{}),a=Pi({values:e.direction,base:s}),l=Pi({values:e.spacing,base:s});typeof a=="object"&&Object.keys(a).forEach((f,v,h)=>{if(!a[f]){const b=v>0?a[h[v-1]]:"column";a[f]=b}}),n=Vn(n,br({theme:t},l,(f,v)=>e.useFlexGap?{gap:wi(o,f)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${X7(v?a[v]:e.direction)}`]:wi(o,f)}}))}return n=U5(t.breakpoints,n),n};function B7(e={}){const{createStyledComponent:t=R7,useThemeProps:n=M7,componentName:o="MuiStack"}=e,s=()=>_e({root:["root"]},f=>Qe(o,f),{}),a=t(N7);return g.forwardRef(function(f,v){const h=n(f),y=Cd(h),{component:b="div",direction:j="column",spacing:x=0,divider:A,children:H,className:S,useFlexGap:z=!1,...C}=y,O={direction:j,spacing:x,useFlexGap:z},D=s();return p.jsx(a,{as:b,ownerState:O,ref:v,className:ze(D.root,S),...C,children:A?L7(H,A):H})})}function Hw(){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:pc.white,default:pc.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const V7=Hw();function jw(){return{text:{primary:pc.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:pc.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const cb=jw();function ub(e,t,n,o){const s=o.light||o,a=o.dark||o*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ji(e.main,s):t==="dark"&&(e.dark=Hi(e.main,a)))}function I7(e="light"){return e==="dark"?{main:la[200],light:la[50],dark:la[400]}:{main:la[700],light:la[400],dark:la[800]}}function W7(e="light"){return e==="dark"?{main:aa[200],light:aa[50],dark:aa[400]}:{main:aa[500],light:aa[300],dark:aa[700]}}function J7(e="light"){return e==="dark"?{main:ia[500],light:ia[300],dark:ia[700]}:{main:ia[700],light:ia[400],dark:ia[800]}}function F7(e="light"){return e==="dark"?{main:ca[400],light:ca[300],dark:ca[700]}:{main:ca[700],light:ca[500],dark:ca[900]}}function Y7(e="light"){return e==="dark"?{main:ua[400],light:ua[300],dark:ua[700]}:{main:ua[800],light:ua[500],dark:ua[900]}}function q7(e="light"){return e==="dark"?{main:Cl[400],light:Cl[300],dark:Cl[700]}:{main:"#ed6c02",light:Cl[500],dark:Cl[900]}}function Ym(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2,...s}=e,a=e.primary||I7(t),l=e.secondary||W7(t),u=e.error||J7(t),f=e.info||F7(t),v=e.success||Y7(t),h=e.warning||q7(t);function y(A){return r7(A,cb.text.primary)>=n?cb.text.primary:V7.text.primary}const b=({color:A,name:H,mainShade:S=500,lightShade:z=300,darkShade:C=700})=>{if(A={...A},!A.main&&A[S]&&(A.main=A[S]),!A.hasOwnProperty("main"))throw new Error(ds(11,H?` (${H})`:"",S));if(typeof A.main!="string")throw new Error(ds(12,H?` (${H})`:"",JSON.stringify(A.main)));return ub(A,"light",z,o),ub(A,"dark",C,o),A.contrastText||(A.contrastText=y(A.main)),A};let j;return t==="light"?j=Hw():t==="dark"&&(j=jw()),Vn({common:{...pc},mode:t,primary:b({color:a,name:"primary"}),secondary:b({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:b({color:u,name:"error"}),warning:b({color:h,name:"warning"}),info:b({color:f,name:"info"}),success:b({color:v,name:"success"}),grey:V4,contrastThreshold:n,getContrastText:y,augmentColor:b,tonalOffset:o,...j},s)}function Z7(e){const t={};return Object.entries(e).forEach(o=>{const[s,a]=o;typeof a=="object"&&(t[s]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function G7(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function U7(e){return Math.round(e*1e5)/1e5}const fb={textTransform:"uppercase"},db='"Roboto", "Helvetica", "Arial", sans-serif';function Sw(e,t){const{fontFamily:n=db,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:f=16,allVariants:v,pxToRem:h,...y}=typeof t=="function"?t(e):t,b=o/14,j=h||(H=>`${H/f*b}rem`),x=(H,S,z,C,O)=>({fontFamily:n,fontWeight:H,fontSize:j(S),lineHeight:z,...n===db?{letterSpacing:`${U7(C/S)}em`}:{},...O,...v}),A={h1:x(s,96,1.167,-1.5),h2:x(s,60,1.2,-.5),h3:x(a,48,1.167,0),h4:x(a,34,1.235,.25),h5:x(a,24,1.334,0),h6:x(l,20,1.6,.15),subtitle1:x(a,16,1.75,.15),subtitle2:x(l,14,1.57,.1),body1:x(a,16,1.5,.15),body2:x(a,14,1.43,.15),button:x(l,14,1.75,.4,fb),caption:x(a,12,1.66,.4),overline:x(a,12,2.66,1,fb),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Vn({htmlFontSize:f,pxToRem:j,fontFamily:n,fontSize:o,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:u,...A},y,{clone:!1})}const Q7=.2,K7=.14,_7=.12;function sn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Q7})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${K7})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${_7})`].join(",")}const $7=["none",sn(0,2,1,-1,0,1,1,0,0,1,3,0),sn(0,3,1,-2,0,2,2,0,0,1,5,0),sn(0,3,3,-2,0,3,4,0,0,1,8,0),sn(0,2,4,-1,0,4,5,0,0,1,10,0),sn(0,3,5,-1,0,5,8,0,0,1,14,0),sn(0,3,5,-1,0,6,10,0,0,1,18,0),sn(0,4,5,-2,0,7,10,1,0,2,16,1),sn(0,5,5,-3,0,8,10,1,0,3,14,2),sn(0,5,6,-3,0,9,12,1,0,3,16,2),sn(0,6,6,-3,0,10,14,1,0,4,18,3),sn(0,6,7,-4,0,11,15,1,0,4,20,3),sn(0,7,8,-4,0,12,17,2,0,5,22,4),sn(0,7,8,-4,0,13,19,2,0,5,24,4),sn(0,7,9,-4,0,14,21,2,0,5,26,4),sn(0,8,9,-5,0,15,22,2,0,6,28,5),sn(0,8,10,-5,0,16,24,2,0,6,30,5),sn(0,8,11,-5,0,17,26,2,0,6,32,5),sn(0,9,11,-5,0,18,28,2,0,7,34,6),sn(0,9,12,-6,0,19,29,2,0,7,36,6),sn(0,10,13,-6,0,20,31,3,0,8,38,7),sn(0,10,13,-6,0,21,33,3,0,8,40,7),sn(0,10,14,-6,0,22,35,3,0,8,42,7),sn(0,11,14,-7,0,23,36,3,0,9,44,8),sn(0,11,15,-7,0,24,38,3,0,9,46,8)],eH={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)"},tH={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function pb(e){return`${Math.round(e)}ms`}function nH(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function rH(e){const t={...eH,...e.easing},n={...tH,...e.duration};return{getAutoHeightDuration:nH,create:(s=["all"],a={})=>{const{duration:l=n.standard,easing:u=t.easeInOut,delay:f=0,...v}=a;return(Array.isArray(s)?s:[s]).map(h=>`${h} ${typeof l=="string"?l:pb(l)} ${u} ${typeof f=="string"?f:pb(f)}`).join(",")},...e,easing:t,duration:n}}const oH={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function sH(e){return Bo(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function zw(e={}){const t={...e};function n(o){const s=Object.entries(o);for(let a=0;aVn(j,A),P),P.unstable_sxConfig={...Ec,...v?.unstable_sxConfig},P.unstable_sx=function(A){return Fs({sx:A,theme:this})},P.toRuntimeSource=Hw,P}function Lh(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const oH=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Lh(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function jw(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Sw(e){return e==="dark"?oH:[]}function sH(e){const{palette:t={mode:"light"},opacity:n,overlays:o,...s}=e,a=Im(t);return{palette:a,opacity:{...jw(a.mode),...n},overlays:o||Sw(a.mode),...s}}function iH(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const aH=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],lH=e=>(t,n)=>{const o=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return aH(e.cssVarPrefix).forEach(u=>{l[u]=n[u],delete n[u]}),a==="media"?{[o]:n,"@media (prefers-color-scheme: dark)":{[o]:l}}:a?{[a.replace("%s",t)]:l,[`${o}, ${a.replace("%s",t)}`]:n}:{[o]:{...n,...l}}}if(a&&a!=="media")return`${o}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[o]:n}};if(a)return a.replace("%s",String(t))}return o};function cH(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function ye(e,t,n){!e[t]&&n&&(e[t]=n)}function Zl(e){return typeof e!="string"||!e.startsWith("hsl")?e:lw(e)}function rs(e,t){`${t}Channel`in e||(e[`${t}Channel`]=ql(Zl(e[t])))}function uH(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Mo=e=>{try{return e()}catch{}},fH=(e="mui")=>S7(e);function th(e,t,n,o){if(!t)return;t=t===!0?{}:t;const s=o==="dark"?"dark":"light";if(!n){e[o]=sH({...t,palette:{mode:s,...t?.palette}});return}const{palette:a,...l}=Mh({...n,palette:{mode:s,...t?.palette}});return e[o]={...t,palette:a,opacity:{...jw(s),...t?.opacity},overlays:t?.overlays||Sw(s)},l}function dH(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:o,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=iH,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...v}=e,h=Object.keys(n)[0],y=o||(n.light&&h!=="light"?"light":h),P=fH(a),{[y]:j,light:A,dark:b,...H}=n,S={...H};let z=j;if((y==="dark"&&!("dark"in n)||y==="light"&&!("light"in n))&&(z=!0),!z)throw new Error(fs(21,y));const C=th(S,z,v,y);A&&!S.light&&th(S,A,void 0,"light"),b&&!S.dark&&th(S,b,void 0,"dark");let O={defaultColorScheme:y,...C,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:P,colorSchemes:S,font:{...Y7(C.typography),...C.font},spacing:uH(v.spacing)};Object.keys(O.colorSchemes).forEach(L=>{const w=O.colorSchemes[L].palette,N=I=>{const W=I.split("-"),Q=W[1],J=W[2];return P(I,w[Q][J])};if(w.mode==="light"&&(ye(w.common,"background","#fff"),ye(w.common,"onBackground","#000")),w.mode==="dark"&&(ye(w.common,"background","#000"),ye(w.common,"onBackground","#fff")),cH(w,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),w.mode==="light"){ye(w.Alert,"errorColor",Gt(w.error.light,.6)),ye(w.Alert,"infoColor",Gt(w.info.light,.6)),ye(w.Alert,"successColor",Gt(w.success.light,.6)),ye(w.Alert,"warningColor",Gt(w.warning.light,.6)),ye(w.Alert,"errorFilledBg",N("palette-error-main")),ye(w.Alert,"infoFilledBg",N("palette-info-main")),ye(w.Alert,"successFilledBg",N("palette-success-main")),ye(w.Alert,"warningFilledBg",N("palette-warning-main")),ye(w.Alert,"errorFilledColor",Mo(()=>w.getContrastText(w.error.main))),ye(w.Alert,"infoFilledColor",Mo(()=>w.getContrastText(w.info.main))),ye(w.Alert,"successFilledColor",Mo(()=>w.getContrastText(w.success.main))),ye(w.Alert,"warningFilledColor",Mo(()=>w.getContrastText(w.warning.main))),ye(w.Alert,"errorStandardBg",Ut(w.error.light,.9)),ye(w.Alert,"infoStandardBg",Ut(w.info.light,.9)),ye(w.Alert,"successStandardBg",Ut(w.success.light,.9)),ye(w.Alert,"warningStandardBg",Ut(w.warning.light,.9)),ye(w.Alert,"errorIconColor",N("palette-error-main")),ye(w.Alert,"infoIconColor",N("palette-info-main")),ye(w.Alert,"successIconColor",N("palette-success-main")),ye(w.Alert,"warningIconColor",N("palette-warning-main")),ye(w.AppBar,"defaultBg",N("palette-grey-100")),ye(w.Avatar,"defaultBg",N("palette-grey-400")),ye(w.Button,"inheritContainedBg",N("palette-grey-300")),ye(w.Button,"inheritContainedHoverBg",N("palette-grey-A100")),ye(w.Chip,"defaultBorder",N("palette-grey-400")),ye(w.Chip,"defaultAvatarColor",N("palette-grey-700")),ye(w.Chip,"defaultIconColor",N("palette-grey-700")),ye(w.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),ye(w.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),ye(w.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),ye(w.LinearProgress,"primaryBg",Ut(w.primary.main,.62)),ye(w.LinearProgress,"secondaryBg",Ut(w.secondary.main,.62)),ye(w.LinearProgress,"errorBg",Ut(w.error.main,.62)),ye(w.LinearProgress,"infoBg",Ut(w.info.main,.62)),ye(w.LinearProgress,"successBg",Ut(w.success.main,.62)),ye(w.LinearProgress,"warningBg",Ut(w.warning.main,.62)),ye(w.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.11)`),ye(w.Slider,"primaryTrack",Ut(w.primary.main,.62)),ye(w.Slider,"secondaryTrack",Ut(w.secondary.main,.62)),ye(w.Slider,"errorTrack",Ut(w.error.main,.62)),ye(w.Slider,"infoTrack",Ut(w.info.main,.62)),ye(w.Slider,"successTrack",Ut(w.success.main,.62)),ye(w.Slider,"warningTrack",Ut(w.warning.main,.62));const I=sf(w.background.default,.8);ye(w.SnackbarContent,"bg",I),ye(w.SnackbarContent,"color",Mo(()=>w.getContrastText(I))),ye(w.SpeedDialAction,"fabHoverBg",sf(w.background.paper,.15)),ye(w.StepConnector,"border",N("palette-grey-400")),ye(w.StepContent,"border",N("palette-grey-400")),ye(w.Switch,"defaultColor",N("palette-common-white")),ye(w.Switch,"defaultDisabledColor",N("palette-grey-100")),ye(w.Switch,"primaryDisabledColor",Ut(w.primary.main,.62)),ye(w.Switch,"secondaryDisabledColor",Ut(w.secondary.main,.62)),ye(w.Switch,"errorDisabledColor",Ut(w.error.main,.62)),ye(w.Switch,"infoDisabledColor",Ut(w.info.main,.62)),ye(w.Switch,"successDisabledColor",Ut(w.success.main,.62)),ye(w.Switch,"warningDisabledColor",Ut(w.warning.main,.62)),ye(w.TableCell,"border",Ut(of(w.divider,1),.88)),ye(w.Tooltip,"bg",of(w.grey[700],.92))}if(w.mode==="dark"){ye(w.Alert,"errorColor",Ut(w.error.light,.6)),ye(w.Alert,"infoColor",Ut(w.info.light,.6)),ye(w.Alert,"successColor",Ut(w.success.light,.6)),ye(w.Alert,"warningColor",Ut(w.warning.light,.6)),ye(w.Alert,"errorFilledBg",N("palette-error-dark")),ye(w.Alert,"infoFilledBg",N("palette-info-dark")),ye(w.Alert,"successFilledBg",N("palette-success-dark")),ye(w.Alert,"warningFilledBg",N("palette-warning-dark")),ye(w.Alert,"errorFilledColor",Mo(()=>w.getContrastText(w.error.dark))),ye(w.Alert,"infoFilledColor",Mo(()=>w.getContrastText(w.info.dark))),ye(w.Alert,"successFilledColor",Mo(()=>w.getContrastText(w.success.dark))),ye(w.Alert,"warningFilledColor",Mo(()=>w.getContrastText(w.warning.dark))),ye(w.Alert,"errorStandardBg",Gt(w.error.light,.9)),ye(w.Alert,"infoStandardBg",Gt(w.info.light,.9)),ye(w.Alert,"successStandardBg",Gt(w.success.light,.9)),ye(w.Alert,"warningStandardBg",Gt(w.warning.light,.9)),ye(w.Alert,"errorIconColor",N("palette-error-main")),ye(w.Alert,"infoIconColor",N("palette-info-main")),ye(w.Alert,"successIconColor",N("palette-success-main")),ye(w.Alert,"warningIconColor",N("palette-warning-main")),ye(w.AppBar,"defaultBg",N("palette-grey-900")),ye(w.AppBar,"darkBg",N("palette-background-paper")),ye(w.AppBar,"darkColor",N("palette-text-primary")),ye(w.Avatar,"defaultBg",N("palette-grey-600")),ye(w.Button,"inheritContainedBg",N("palette-grey-800")),ye(w.Button,"inheritContainedHoverBg",N("palette-grey-700")),ye(w.Chip,"defaultBorder",N("palette-grey-700")),ye(w.Chip,"defaultAvatarColor",N("palette-grey-300")),ye(w.Chip,"defaultIconColor",N("palette-grey-300")),ye(w.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),ye(w.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),ye(w.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),ye(w.LinearProgress,"primaryBg",Gt(w.primary.main,.5)),ye(w.LinearProgress,"secondaryBg",Gt(w.secondary.main,.5)),ye(w.LinearProgress,"errorBg",Gt(w.error.main,.5)),ye(w.LinearProgress,"infoBg",Gt(w.info.main,.5)),ye(w.LinearProgress,"successBg",Gt(w.success.main,.5)),ye(w.LinearProgress,"warningBg",Gt(w.warning.main,.5)),ye(w.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.13)`),ye(w.Slider,"primaryTrack",Gt(w.primary.main,.5)),ye(w.Slider,"secondaryTrack",Gt(w.secondary.main,.5)),ye(w.Slider,"errorTrack",Gt(w.error.main,.5)),ye(w.Slider,"infoTrack",Gt(w.info.main,.5)),ye(w.Slider,"successTrack",Gt(w.success.main,.5)),ye(w.Slider,"warningTrack",Gt(w.warning.main,.5));const I=sf(w.background.default,.98);ye(w.SnackbarContent,"bg",I),ye(w.SnackbarContent,"color",Mo(()=>w.getContrastText(I))),ye(w.SpeedDialAction,"fabHoverBg",sf(w.background.paper,.15)),ye(w.StepConnector,"border",N("palette-grey-600")),ye(w.StepContent,"border",N("palette-grey-600")),ye(w.Switch,"defaultColor",N("palette-grey-300")),ye(w.Switch,"defaultDisabledColor",N("palette-grey-600")),ye(w.Switch,"primaryDisabledColor",Gt(w.primary.main,.55)),ye(w.Switch,"secondaryDisabledColor",Gt(w.secondary.main,.55)),ye(w.Switch,"errorDisabledColor",Gt(w.error.main,.55)),ye(w.Switch,"infoDisabledColor",Gt(w.info.main,.55)),ye(w.Switch,"successDisabledColor",Gt(w.success.main,.55)),ye(w.Switch,"warningDisabledColor",Gt(w.warning.main,.55)),ye(w.TableCell,"border",Gt(of(w.divider,1),.68)),ye(w.Tooltip,"bg",of(w.grey[700],.92))}rs(w.background,"default"),rs(w.background,"paper"),rs(w.common,"background"),rs(w.common,"onBackground"),rs(w,"divider"),Object.keys(w).forEach(I=>{const W=w[I];I!=="tonalOffset"&&W&&typeof W=="object"&&(W.main&&ye(w[I],"mainChannel",ql(Zl(W.main))),W.light&&ye(w[I],"lightChannel",ql(Zl(W.light))),W.dark&&ye(w[I],"darkChannel",ql(Zl(W.dark))),W.contrastText&&ye(w[I],"contrastTextChannel",ql(Zl(W.contrastText))),I==="text"&&(rs(w[I],"primary"),rs(w[I],"secondary")),I==="action"&&(W.active&&rs(w[I],"active"),W.selected&&rs(w[I],"selected")))})}),O=t.reduce((L,w)=>Vn(L,w),O);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:lH(O)},{vars:T,generateThemeVars:R,generateStyleSheets:M}=O7(O,D);return O.vars=T,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([L,w])=>{O[L]=w}),O.generateThemeVars=R,O.generateStyleSheets=M,O.generateSpacing=function(){return _x(v.spacing,md(this))},O.getColorSchemeSelector=D7(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...Ec,...v?.unstable_sxConfig},O.unstable_sx=function(w){return Fs({sx:w,theme:this})},O.toRuntimeSource=Hw,O}function ub(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Im({...n===!0?{}:n.palette,mode:t})})}function Mc(e={},...t){const{palette:n,cssVariables:o=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...l}=e,u=a||"light",f=s?.[u],v={...s,...n?{[u]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(o===!1){if(!("colorSchemes"in e))return Mh(e,...t);let h=n;"palette"in e||v[u]&&(v[u]!==!0?h=v[u].palette:u==="dark"&&(h={mode:"dark"}));const y=Mh({...e,palette:h},...t);return y.defaultColorScheme=u,y.colorSchemes=v,y.palette.mode==="light"&&(y.colorSchemes.light={...v.light!==!0&&v.light,palette:y.palette},ub(y,"dark",v.dark)),y.palette.mode==="dark"&&(y.colorSchemes.dark={...v.dark!==!0&&v.dark,palette:y.palette},ub(y,"light",v.light)),y}return!n&&!("light"in v)&&u==="light"&&(v.light=!0),dH({...l,colorSchemes:v,defaultColorScheme:u,...typeof o!="boolean"&&o},...t)}const zd=Mc();function Xr(){const e=wd(zd);return e[Qr]||e}function pH({props:e,name:t}){return sw({props:e,name:t,defaultTheme:zd,themeId:Qr})}function zw(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const In=e=>zw(e)&&e!=="classes",fe=rw({themeId:Qr,defaultTheme:zd,rootShouldForwardProp:In});function vH({theme:e,...t}){const n=Qr in e?e[Qr]:void 0;return p.jsx(Aw,{...t,themeId:n?Qr:void 0,theme:n||e})}const af={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:hH}=j7({themeId:Qr,theme:()=>Mc({cssVariables:!0}),colorSchemeStorageKey:af.colorSchemeStorageKey,modeStorageKey:af.modeStorageKey,defaultColorScheme:{light:af.defaultLightColorScheme,dark:af.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:ww(e.palette,e.typography)};return t.unstable_sx=function(o){return Fs({sx:o,theme:this})},t}}),mH=hH;function yH({theme:e,...t}){const n=g.useMemo(()=>{if(typeof e=="function")return e;const o=Qr in e?e[Qr]:e;return"colorSchemes"in o?null:"vars"in o?e:{...e,vars:null}},[e]);return n?p.jsx(vH,{theme:n,...t}):p.jsx(mH,{theme:e,...t})}function gH(e){return p.jsx(X3,{...e,defaultTheme:zd,themeId:Qr})}function Wm(e){return function(n){return p.jsx(gH,{styles:typeof e=="function"?o=>e({theme:o,...n}):e})}}function AH(){return Hd}const tt=y7;function nt(e){return m7(e)}function PH(e){return Ue("MuiSvgIcon",e)}Qe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const bH=e=>{const{color:t,fontSize:n,classes:o}=e,s={root:["root",t!=="inherit"&&`color${ve(t)}`,`fontSize${ve(n)}`]};return Ke(s,PH,o)},xH=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ve(n.color)}`],t[`fontSize${ve(n.fontSize)}`]]}})(tt(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.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(([,t])=>t&&t.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}}]}))),Zf=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:u="svg",fontSize:f="medium",htmlColor:v,inheritViewBox:h=!1,titleAccess:y,viewBox:P="0 0 24 24",...j}=o,A=g.isValidElement(s)&&s.type==="svg",b={...o,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:P,hasSvgAsChild:A},H={};h||(H.viewBox=P);const S=bH(b);return p.jsxs(xH,{as:u,className:ze(S.root,a),focusable:"false",color:v,"aria-hidden":y?void 0:!0,role:y?"img":void 0,ref:n,...H,...j,...A&&s.props,ownerState:b,children:[A?s.props.children:s,y?p.jsx("title",{children:y}):null]})});Zf.muiName="SvgIcon";function At(e,t){function n(o,s){return p.jsx(Zf,{"data-testid":`${t}Icon`,ref:s,...o,children:e})}return n.muiName=Zf.muiName,g.memo(g.forwardRef(n))}function Jm(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,u=ze(s?.className,a?.className,l?.className);return{...a,...l,...!!u&&{className:u},...a?.style&&l?.style&&{style:{...a.style,...l.style}},...a?.sx&&l?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,o=ze(n?.className,e?.className);return{...t,...e,...!!o&&{className:o},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Fm(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;n[o]=e[o]}return n}function Xh(e,t){return Xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Xh(e,t)}function Cw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xh(e,t)}var nh={exports:{}},pr={},rh={exports:{}},oh={};/** +export default theme;`}function Vh(e={},...t){const{breakpoints:n,mixins:o={},spacing:s,palette:a={},transitions:l={},typography:u={},shape:f,...v}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(ds(20));const h=Ym(a),y=jd(e);let b=Vn(y,{mixins:G7(y.breakpoints,o),palette:h,shadows:$7.slice(),typography:Sw(h,u),transitions:rH(l),zIndex:{...oH}});return b=Vn(b,v),b=t.reduce((j,x)=>Vn(j,x),b),b.unstable_sxConfig={...Rc,...v?.unstable_sxConfig},b.unstable_sx=function(x){return Ys({sx:x,theme:this})},b.toRuntimeSource=zw,b}function Ih(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const iH=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Ih(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Cw(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Ow(e){return e==="dark"?iH:[]}function aH(e){const{palette:t={mode:"light"},opacity:n,overlays:o,...s}=e,a=Ym(t);return{palette:a,opacity:{...Cw(a.mode),...n},overlays:o||Ow(a.mode),...s}}function lH(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const cH=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],uH=e=>(t,n)=>{const o=e.rootSelector||":root",s=e.colorSchemeSelector;let a=s;if(s==="class"&&(a=".%s"),s==="data"&&(a="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(a=`[${s}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const l={};return cH(e.cssVarPrefix).forEach(u=>{l[u]=n[u],delete n[u]}),a==="media"?{[o]:n,"@media (prefers-color-scheme: dark)":{[o]:l}}:a?{[a.replace("%s",t)]:l,[`${o}, ${a.replace("%s",t)}`]:n}:{[o]:{...n,...l}}}if(a&&a!=="media")return`${o}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[o]:n}};if(a)return a.replace("%s",String(t))}return o};function fH(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function me(e,t,n){!e[t]&&n&&(e[t]=n)}function Gl(e){return typeof e!="string"||!e.startsWith("hsl")?e:fw(e)}function rs(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Zl(Gl(e[t])))}function dH(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Mo=e=>{try{return e()}catch{}},pH=(e="mui")=>C7(e);function sh(e,t,n,o){if(!t)return;t=t===!0?{}:t;const s=o==="dark"?"dark":"light";if(!n){e[o]=aH({...t,palette:{mode:s,...t?.palette}});return}const{palette:a,...l}=Vh({...n,palette:{mode:s,...t?.palette}});return e[o]={...t,palette:a,opacity:{...Cw(s),...t?.opacity},overlays:t?.overlays||Ow(s)},l}function vH(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:o,disableCssColorScheme:s=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:l=lH,colorSchemeSelector:u=n.light&&n.dark?"media":void 0,rootSelector:f=":root",...v}=e,h=Object.keys(n)[0],y=o||(n.light&&h!=="light"?"light":h),b=pH(a),{[y]:j,light:x,dark:A,...H}=n,S={...H};let z=j;if((y==="dark"&&!("dark"in n)||y==="light"&&!("light"in n))&&(z=!0),!z)throw new Error(ds(21,y));const C=sh(S,z,v,y);x&&!S.light&&sh(S,x,void 0,"light"),A&&!S.dark&&sh(S,A,void 0,"dark");let O={defaultColorScheme:y,...C,cssVarPrefix:a,colorSchemeSelector:u,rootSelector:f,getCssVar:b,colorSchemes:S,font:{...Z7(C.typography),...C.font},spacing:dH(v.spacing)};Object.keys(O.colorSchemes).forEach(M=>{const w=O.colorSchemes[M].palette,N=I=>{const W=I.split("-"),ne=W[1],J=W[2];return b(I,w[ne][J])};if(w.mode==="light"&&(me(w.common,"background","#fff"),me(w.common,"onBackground","#000")),w.mode==="dark"&&(me(w.common,"background","#000"),me(w.common,"onBackground","#fff")),fH(w,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),w.mode==="light"){me(w.Alert,"errorColor",Gt(w.error.light,.6)),me(w.Alert,"infoColor",Gt(w.info.light,.6)),me(w.Alert,"successColor",Gt(w.success.light,.6)),me(w.Alert,"warningColor",Gt(w.warning.light,.6)),me(w.Alert,"errorFilledBg",N("palette-error-main")),me(w.Alert,"infoFilledBg",N("palette-info-main")),me(w.Alert,"successFilledBg",N("palette-success-main")),me(w.Alert,"warningFilledBg",N("palette-warning-main")),me(w.Alert,"errorFilledColor",Mo(()=>w.getContrastText(w.error.main))),me(w.Alert,"infoFilledColor",Mo(()=>w.getContrastText(w.info.main))),me(w.Alert,"successFilledColor",Mo(()=>w.getContrastText(w.success.main))),me(w.Alert,"warningFilledColor",Mo(()=>w.getContrastText(w.warning.main))),me(w.Alert,"errorStandardBg",Ut(w.error.light,.9)),me(w.Alert,"infoStandardBg",Ut(w.info.light,.9)),me(w.Alert,"successStandardBg",Ut(w.success.light,.9)),me(w.Alert,"warningStandardBg",Ut(w.warning.light,.9)),me(w.Alert,"errorIconColor",N("palette-error-main")),me(w.Alert,"infoIconColor",N("palette-info-main")),me(w.Alert,"successIconColor",N("palette-success-main")),me(w.Alert,"warningIconColor",N("palette-warning-main")),me(w.AppBar,"defaultBg",N("palette-grey-100")),me(w.Avatar,"defaultBg",N("palette-grey-400")),me(w.Button,"inheritContainedBg",N("palette-grey-300")),me(w.Button,"inheritContainedHoverBg",N("palette-grey-A100")),me(w.Chip,"defaultBorder",N("palette-grey-400")),me(w.Chip,"defaultAvatarColor",N("palette-grey-700")),me(w.Chip,"defaultIconColor",N("palette-grey-700")),me(w.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),me(w.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),me(w.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),me(w.LinearProgress,"primaryBg",Ut(w.primary.main,.62)),me(w.LinearProgress,"secondaryBg",Ut(w.secondary.main,.62)),me(w.LinearProgress,"errorBg",Ut(w.error.main,.62)),me(w.LinearProgress,"infoBg",Ut(w.info.main,.62)),me(w.LinearProgress,"successBg",Ut(w.success.main,.62)),me(w.LinearProgress,"warningBg",Ut(w.warning.main,.62)),me(w.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.11)`),me(w.Slider,"primaryTrack",Ut(w.primary.main,.62)),me(w.Slider,"secondaryTrack",Ut(w.secondary.main,.62)),me(w.Slider,"errorTrack",Ut(w.error.main,.62)),me(w.Slider,"infoTrack",Ut(w.info.main,.62)),me(w.Slider,"successTrack",Ut(w.success.main,.62)),me(w.Slider,"warningTrack",Ut(w.warning.main,.62));const I=cf(w.background.default,.8);me(w.SnackbarContent,"bg",I),me(w.SnackbarContent,"color",Mo(()=>w.getContrastText(I))),me(w.SpeedDialAction,"fabHoverBg",cf(w.background.paper,.15)),me(w.StepConnector,"border",N("palette-grey-400")),me(w.StepContent,"border",N("palette-grey-400")),me(w.Switch,"defaultColor",N("palette-common-white")),me(w.Switch,"defaultDisabledColor",N("palette-grey-100")),me(w.Switch,"primaryDisabledColor",Ut(w.primary.main,.62)),me(w.Switch,"secondaryDisabledColor",Ut(w.secondary.main,.62)),me(w.Switch,"errorDisabledColor",Ut(w.error.main,.62)),me(w.Switch,"infoDisabledColor",Ut(w.info.main,.62)),me(w.Switch,"successDisabledColor",Ut(w.success.main,.62)),me(w.Switch,"warningDisabledColor",Ut(w.warning.main,.62)),me(w.TableCell,"border",Ut(lf(w.divider,1),.88)),me(w.Tooltip,"bg",lf(w.grey[700],.92))}if(w.mode==="dark"){me(w.Alert,"errorColor",Ut(w.error.light,.6)),me(w.Alert,"infoColor",Ut(w.info.light,.6)),me(w.Alert,"successColor",Ut(w.success.light,.6)),me(w.Alert,"warningColor",Ut(w.warning.light,.6)),me(w.Alert,"errorFilledBg",N("palette-error-dark")),me(w.Alert,"infoFilledBg",N("palette-info-dark")),me(w.Alert,"successFilledBg",N("palette-success-dark")),me(w.Alert,"warningFilledBg",N("palette-warning-dark")),me(w.Alert,"errorFilledColor",Mo(()=>w.getContrastText(w.error.dark))),me(w.Alert,"infoFilledColor",Mo(()=>w.getContrastText(w.info.dark))),me(w.Alert,"successFilledColor",Mo(()=>w.getContrastText(w.success.dark))),me(w.Alert,"warningFilledColor",Mo(()=>w.getContrastText(w.warning.dark))),me(w.Alert,"errorStandardBg",Gt(w.error.light,.9)),me(w.Alert,"infoStandardBg",Gt(w.info.light,.9)),me(w.Alert,"successStandardBg",Gt(w.success.light,.9)),me(w.Alert,"warningStandardBg",Gt(w.warning.light,.9)),me(w.Alert,"errorIconColor",N("palette-error-main")),me(w.Alert,"infoIconColor",N("palette-info-main")),me(w.Alert,"successIconColor",N("palette-success-main")),me(w.Alert,"warningIconColor",N("palette-warning-main")),me(w.AppBar,"defaultBg",N("palette-grey-900")),me(w.AppBar,"darkBg",N("palette-background-paper")),me(w.AppBar,"darkColor",N("palette-text-primary")),me(w.Avatar,"defaultBg",N("palette-grey-600")),me(w.Button,"inheritContainedBg",N("palette-grey-800")),me(w.Button,"inheritContainedHoverBg",N("palette-grey-700")),me(w.Chip,"defaultBorder",N("palette-grey-700")),me(w.Chip,"defaultAvatarColor",N("palette-grey-300")),me(w.Chip,"defaultIconColor",N("palette-grey-300")),me(w.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),me(w.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),me(w.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),me(w.LinearProgress,"primaryBg",Gt(w.primary.main,.5)),me(w.LinearProgress,"secondaryBg",Gt(w.secondary.main,.5)),me(w.LinearProgress,"errorBg",Gt(w.error.main,.5)),me(w.LinearProgress,"infoBg",Gt(w.info.main,.5)),me(w.LinearProgress,"successBg",Gt(w.success.main,.5)),me(w.LinearProgress,"warningBg",Gt(w.warning.main,.5)),me(w.Skeleton,"bg",`rgba(${N("palette-text-primaryChannel")} / 0.13)`),me(w.Slider,"primaryTrack",Gt(w.primary.main,.5)),me(w.Slider,"secondaryTrack",Gt(w.secondary.main,.5)),me(w.Slider,"errorTrack",Gt(w.error.main,.5)),me(w.Slider,"infoTrack",Gt(w.info.main,.5)),me(w.Slider,"successTrack",Gt(w.success.main,.5)),me(w.Slider,"warningTrack",Gt(w.warning.main,.5));const I=cf(w.background.default,.98);me(w.SnackbarContent,"bg",I),me(w.SnackbarContent,"color",Mo(()=>w.getContrastText(I))),me(w.SpeedDialAction,"fabHoverBg",cf(w.background.paper,.15)),me(w.StepConnector,"border",N("palette-grey-600")),me(w.StepContent,"border",N("palette-grey-600")),me(w.Switch,"defaultColor",N("palette-grey-300")),me(w.Switch,"defaultDisabledColor",N("palette-grey-600")),me(w.Switch,"primaryDisabledColor",Gt(w.primary.main,.55)),me(w.Switch,"secondaryDisabledColor",Gt(w.secondary.main,.55)),me(w.Switch,"errorDisabledColor",Gt(w.error.main,.55)),me(w.Switch,"infoDisabledColor",Gt(w.info.main,.55)),me(w.Switch,"successDisabledColor",Gt(w.success.main,.55)),me(w.Switch,"warningDisabledColor",Gt(w.warning.main,.55)),me(w.TableCell,"border",Gt(lf(w.divider,1),.68)),me(w.Tooltip,"bg",lf(w.grey[700],.92))}rs(w.background,"default"),rs(w.background,"paper"),rs(w.common,"background"),rs(w.common,"onBackground"),rs(w,"divider"),Object.keys(w).forEach(I=>{const W=w[I];I!=="tonalOffset"&&W&&typeof W=="object"&&(W.main&&me(w[I],"mainChannel",Zl(Gl(W.main))),W.light&&me(w[I],"lightChannel",Zl(Gl(W.light))),W.dark&&me(w[I],"darkChannel",Zl(Gl(W.dark))),W.contrastText&&me(w[I],"contrastTextChannel",Zl(Gl(W.contrastText))),I==="text"&&(rs(w[I],"primary"),rs(w[I],"secondary")),I==="action"&&(W.active&&rs(w[I],"active"),W.selected&&rs(w[I],"selected")))})}),O=t.reduce((M,w)=>Vn(M,w),O);const D={prefix:a,disableCssColorScheme:s,shouldSkipGeneratingVar:l,getSelector:uH(O)},{vars:T,generateThemeVars:R,generateStyleSheets:L}=k7(O,D);return O.vars=T,Object.entries(O.colorSchemes[O.defaultColorScheme]).forEach(([M,w])=>{O[M]=w}),O.generateThemeVars=R,O.generateStyleSheets=L,O.generateSpacing=function(){return ew(v.spacing,Ad(this))},O.getColorSchemeSelector=T7(u),O.spacing=O.generateSpacing(),O.shouldSkipGeneratingVar=l,O.unstable_sxConfig={...Rc,...v?.unstable_sxConfig},O.unstable_sx=function(w){return Ys({sx:w,theme:this})},O.toRuntimeSource=zw,O}function vb(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:Ym({...n===!0?{}:n.palette,mode:t})})}function Lc(e={},...t){const{palette:n,cssVariables:o=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:a=n?.mode,...l}=e,u=a||"light",f=s?.[u],v={...s,...n?{[u]:{...typeof f!="boolean"&&f,palette:n}}:void 0};if(o===!1){if(!("colorSchemes"in e))return Vh(e,...t);let h=n;"palette"in e||v[u]&&(v[u]!==!0?h=v[u].palette:u==="dark"&&(h={mode:"dark"}));const y=Vh({...e,palette:h},...t);return y.defaultColorScheme=u,y.colorSchemes=v,y.palette.mode==="light"&&(y.colorSchemes.light={...v.light!==!0&&v.light,palette:y.palette},vb(y,"dark",v.dark)),y.palette.mode==="dark"&&(y.colorSchemes.dark={...v.dark!==!0&&v.dark,palette:y.palette},vb(y,"light",v.light)),y}return!n&&!("light"in v)&&u==="light"&&(v.light=!0),vH({...l,colorSchemes:v,defaultColorScheme:u,...typeof o!="boolean"&&o},...t)}const kd=Lc();function Xr(){const e=zd(kd);return e[Kr]||e}function hH({props:e,name:t}){return lw({props:e,name:t,defaultTheme:kd,themeId:Kr})}function Dw(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const In=e=>Dw(e)&&e!=="classes",fe=iw({themeId:Kr,defaultTheme:kd,rootShouldForwardProp:In});function mH({theme:e,...t}){const n=Kr in e?e[Kr]:void 0;return p.jsx(xw,{...t,themeId:n?Kr:void 0,theme:n||e})}const uf={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:yH}=z7({themeId:Kr,theme:()=>Lc({cssVariables:!0}),colorSchemeStorageKey:uf.colorSchemeStorageKey,modeStorageKey:uf.modeStorageKey,defaultColorScheme:{light:uf.defaultLightColorScheme,dark:uf.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:Sw(e.palette,e.typography)};return t.unstable_sx=function(o){return Ys({sx:o,theme:this})},t}}),gH=yH;function AH({theme:e,...t}){const n=g.useMemo(()=>{if(typeof e=="function")return e;const o=Kr in e?e[Kr]:e;return"colorSchemes"in o?null:"vars"in o?e:{...e,vars:null}},[e]);return n?p.jsx(mH,{theme:n,...t}):p.jsx(gH,{theme:e,...t})}function PH(e){return p.jsx(tw,{...e,defaultTheme:kd,themeId:Kr})}function qm(e){return function(n){return p.jsx(PH,{styles:typeof e=="function"?o=>e({theme:o,...n}):e})}}function bH(){return Cd}const tt=A7;function nt(e){return y7(e)}function xH(e){return Qe("MuiSvgIcon",e)}Ke("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const wH=e=>{const{color:t,fontSize:n,classes:o}=e,s={root:["root",t!=="inherit"&&`color${ve(t)}`,`fontSize${ve(n)}`]};return _e(s,xH,o)},HH=fe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ve(n.color)}`],t[`fontSize${ve(n.fontSize)}`]]}})(tt(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.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(([,t])=>t&&t.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}}]}))),Qf=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiSvgIcon"}),{children:s,className:a,color:l="inherit",component:u="svg",fontSize:f="medium",htmlColor:v,inheritViewBox:h=!1,titleAccess:y,viewBox:b="0 0 24 24",...j}=o,x=g.isValidElement(s)&&s.type==="svg",A={...o,color:l,component:u,fontSize:f,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:b,hasSvgAsChild:x},H={};h||(H.viewBox=b);const S=wH(A);return p.jsxs(HH,{as:u,className:ze(S.root,a),focusable:"false",color:v,"aria-hidden":y?void 0:!0,role:y?"img":void 0,ref:n,...H,...j,...x&&s.props,ownerState:A,children:[x?s.props.children:s,y?p.jsx("title",{children:y}):null]})});Qf.muiName="SvgIcon";function At(e,t){function n(o,s){return p.jsx(Qf,{"data-testid":`${t}Icon`,ref:s,...o,children:e})}return n.muiName=Qf.muiName,g.memo(g.forwardRef(n))}function Zm(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return s=>{const a=typeof t=="function"?t(s):t,l=typeof e=="function"?e({...s,...a}):e,u=ze(s?.className,a?.className,l?.className);return{...a,...l,...!!u&&{className:u},...a?.style&&l?.style&&{style:{...a.style,...l.style}},...a?.sx&&l?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(l.sx)?l.sx:[l.sx]]}}};const n=t,o=ze(n?.className,e?.className);return{...t,...e,...!!o&&{className:o},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Gm(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;n[o]=e[o]}return n}function Wh(e,t){return Wh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Wh(e,t)}function kw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wh(e,t)}var ih={exports:{}},pr={},ah={exports:{}},lh={};/** * @license React * scheduler.production.min.js * @@ -78,7 +78,7 @@ export default theme;`}function Mh(e={},...t){const{breakpoints:n,mixins:o={},sp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var fb;function wH(){return fb||(fb=1,function(e){function t(K,Y){var E=K.length;K.push(Y);e:for(;0>>1,X=K[q];if(0>>1;q<$;){var ne=2*(q+1)-1,oe=K[ne],le=ne+1,be=K[le];if(0>s(oe,E))les(be,oe)?(K[q]=be,K[le]=E,q=le):(K[q]=oe,K[ne]=E,q=ne);else if(les(be,E))K[q]=be,K[le]=E,q=le;else break e}}return Y}function s(K,Y){var E=K.sortIndex-Y.sortIndex;return E!==0?E:K.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],v=[],h=1,y=null,P=3,j=!1,A=!1,b=!1,H=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(K){for(var Y=n(v);Y!==null;){if(Y.callback===null)o(v);else if(Y.startTime<=K)o(v),Y.sortIndex=Y.expirationTime,t(f,Y);else break;Y=n(v)}}function O(K){if(b=!1,C(K),!A)if(n(f)!==null)A=!0,U(D);else{var Y=n(v);Y!==null&&re(O,Y.startTime-K)}}function D(K,Y){A=!1,b&&(b=!1,S(M),M=-1),j=!0;var E=P;try{for(C(Y),y=n(f);y!==null&&(!(y.expirationTime>Y)||K&&!N());){var q=y.callback;if(typeof q=="function"){y.callback=null,P=y.priorityLevel;var X=q(y.expirationTime<=Y);Y=e.unstable_now(),typeof X=="function"?y.callback=X:y===n(f)&&o(f),C(Y)}else o(f);y=n(f)}if(y!==null)var $=!0;else{var ne=n(v);ne!==null&&re(O,ne.startTime-Y),$=!1}return $}finally{y=null,P=E,j=!1}}var T=!1,R=null,M=-1,L=5,w=-1;function N(){return!(e.unstable_now()-wK||125q?(K.sortIndex=E,t(v,K),n(f)===null&&K===n(v)&&(b?(S(M),M=-1):b=!0,re(O,E-q))):(K.sortIndex=X,t(f,K),A||j||(A=!0,U(D))),K},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(K){var Y=P;return function(){var E=P;P=Y;try{return K.apply(this,arguments)}finally{P=E}}}}(oh)),oh}var db;function HH(){return db||(db=1,rh.exports=wH()),rh.exports}/** + */var hb;function jH(){return hb||(hb=1,function(e){function t(K,Y){var E=K.length;K.push(Y);e:for(;0>>1,X=K[q];if(0>>1;q<_;){var te=2*(q+1)-1,oe=K[te],le=te+1,be=K[le];if(0>s(oe,E))les(be,oe)?(K[q]=be,K[le]=E,q=le):(K[q]=oe,K[te]=E,q=te);else if(les(be,E))K[q]=be,K[le]=E,q=le;else break e}}return Y}function s(K,Y){var E=K.sortIndex-Y.sortIndex;return E!==0?E:K.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var f=[],v=[],h=1,y=null,b=3,j=!1,x=!1,A=!1,H=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(K){for(var Y=n(v);Y!==null;){if(Y.callback===null)o(v);else if(Y.startTime<=K)o(v),Y.sortIndex=Y.expirationTime,t(f,Y);else break;Y=n(v)}}function O(K){if(A=!1,C(K),!x)if(n(f)!==null)x=!0,U(D);else{var Y=n(v);Y!==null&&re(O,Y.startTime-K)}}function D(K,Y){x=!1,A&&(A=!1,S(L),L=-1),j=!0;var E=b;try{for(C(Y),y=n(f);y!==null&&(!(y.expirationTime>Y)||K&&!N());){var q=y.callback;if(typeof q=="function"){y.callback=null,b=y.priorityLevel;var X=q(y.expirationTime<=Y);Y=e.unstable_now(),typeof X=="function"?y.callback=X:y===n(f)&&o(f),C(Y)}else o(f);y=n(f)}if(y!==null)var _=!0;else{var te=n(v);te!==null&&re(O,te.startTime-Y),_=!1}return _}finally{y=null,b=E,j=!1}}var T=!1,R=null,L=-1,M=5,w=-1;function N(){return!(e.unstable_now()-wK||125q?(K.sortIndex=E,t(v,K),n(f)===null&&K===n(v)&&(A?(S(L),L=-1):A=!0,re(O,E-q))):(K.sortIndex=X,t(f,K),x||j||(x=!0,U(D))),K},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(K){var Y=b;return function(){var E=b;b=Y;try{return K.apply(this,arguments)}finally{b=E}}}}(lh)),lh}var mb;function SH(){return mb||(mb=1,ah.exports=jH()),ah.exports}/** * @license React * react-dom.production.min.js * @@ -86,14 +86,14 @@ export default theme;`}function Mh(e={},...t){const{breakpoints:n,mixins:o={},sp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var pb;function jH(){if(pb)return pr;pb=1;var e=wm(),t=HH();function n(r){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+r,c=1;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,v=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},y={};function P(r){return f.call(y,r)?!0:f.call(h,r)?!1:v.test(r)?y[r]=!0:(h[r]=!0,!1)}function j(r,i,c,d){if(c!==null&&c.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function A(r,i,c,d){if(i===null||typeof i>"u"||j(r,i,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function b(r,i,c,d,m,x,k){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=m,this.mustUseProperty=c,this.propertyName=r,this.type=i,this.sanitizeURL=x,this.removeEmptyString=k}var H={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){H[r]=new b(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0];H[i]=new b(i,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){H[r]=new b(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){H[r]=new b(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){H[r]=new b(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){H[r]=new b(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){H[r]=new b(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){H[r]=new b(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){H[r]=new b(r,5,!1,r.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function z(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var i=r.replace(S,z);H[i]=new b(i,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var i=r.replace(S,z);H[i]=new b(i,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(S,z);H[i]=new b(i,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){H[r]=new b(r,1,!1,r.toLowerCase(),null,!1,!1)}),H.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){H[r]=new b(r,1,!1,r.toLowerCase(),null,!0,!0)});function C(r,i,c,d){var m=H.hasOwnProperty(i)?H[i]:null;(m!==null?m.type!==0:d||!(2V||m[k]!==x[V]){var Z=` -`+m[k].replace(" at new "," at ");return r.displayName&&Z.includes("")&&(Z=Z.replace("",r.displayName)),Z}while(1<=k&&0<=V);break}}}finally{$=!1,Error.prepareStackTrace=c}return(r=r?r.displayName||r.name:"")?X(r):""}function oe(r){switch(r.tag){case 5:return X(r.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return r=ne(r.type,!1),r;case 11:return r=ne(r.type.render,!1),r;case 1:return r=ne(r.type,!0),r;default:return""}}function le(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case R:return"Fragment";case T:return"Portal";case L:return"Profiler";case M:return"StrictMode";case W:return"Suspense";case Q:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case N:return(r.displayName||"Context")+".Consumer";case w:return(r._context.displayName||"Context")+".Provider";case I:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case J:return i=r.displayName||null,i!==null?i:le(r.type)||"Memo";case U:i=r._payload,r=r._init;try{return le(r(i))}catch{}}return null}function be(r){var i=r.type;switch(r.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=i.render,r=r.displayName||r.name||"",i.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return le(i);case 8:return i===M?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function ie(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function xe(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Oe(r){var i=xe(r)?"checked":"value",c=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),d=""+r[i];if(!r.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var m=c.get,x=c.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return m.call(this)},set:function(k){d=""+k,x.call(this,k)}}),Object.defineProperty(r,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function Le(r){r._valueTracker||(r._valueTracker=Oe(r))}function Ae(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return r&&(d=xe(r)?r.checked?"true":"false":r.value),r=d,r!==c?(i.setValue(r),!0):!1}function Ye(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function ge(r,i){var c=i.checked;return E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??r._wrapperState.initialChecked})}function Je(r,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ie(i.value!=null?i.value:c),r._wrapperState={initialChecked:d,initialValue:c,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function yt(r,i){i=i.checked,i!=null&&C(r,"checked",i,!1)}function Me(r,i){yt(r,i);var c=ie(i.value),d=i.type;if(c!=null)d==="number"?(c===0&&r.value===""||r.value!=c)&&(r.value=""+c):r.value!==""+c&&(r.value=""+c);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}i.hasOwnProperty("value")?ct(r,i.type,c):i.hasOwnProperty("defaultValue")&&ct(r,i.type,ie(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(r.defaultChecked=!!i.defaultChecked)}function ht(r,i,c){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+r._wrapperState.initialValue,c||i===r.value||(r.value=i),r.defaultValue=i}c=r.name,c!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,c!==""&&(r.name=c)}function ct(r,i,c){(i!=="number"||Ye(r.ownerDocument)!==r)&&(c==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+c&&(r.defaultValue=""+c))}var B=Array.isArray;function _(r,i,c,d){if(r=r.options,i){i={};for(var m=0;m"+i.valueOf().toString()+"",i=_e.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;i.firstChild;)r.appendChild(i.firstChild)}});function ft(r,i){if(i){var c=r.firstChild;if(c&&c===r.lastChild&&c.nodeType===3){c.nodeValue=i;return}}r.textContent=i}var Ie={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ft=["Webkit","ms","Moz","O"];Object.keys(Ie).forEach(function(r){Ft.forEach(function(i){i=i+r.charAt(0).toUpperCase()+r.substring(1),Ie[i]=Ie[r]})});function Mt(r,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||Ie.hasOwnProperty(r)&&Ie[r]?(""+i).trim():i+"px"}function qe(r,i){r=r.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,m=Mt(c,i[c],d);c==="float"&&(c="cssFloat"),d?r.setProperty(c,m):r[c]=m}}var G=E({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F(r,i){if(i){if(G[r]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function Pe(r,i){if(r.indexOf("-")===-1)return typeof i.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Se=null;function Te(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Re=null,Ge=null,Xe=null;function rt(r){if(r=ul(r)){if(typeof Re!="function")throw Error(n(280));var i=r.stateNode;i&&(i=gu(i),Re(r.stateNode,r.type,i))}}function ut(r){Ge?Xe?Xe.push(r):Xe=[r]:Ge=r}function Tt(){if(Ge){var r=Ge,i=Xe;if(Xe=Ge=null,rt(r),i)for(r=0;r>>=0,r===0?32:31-(U2(r)/Q2|0)|0}var eu=64,tu=4194304;function qa(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function nu(r,i){var c=r.pendingLanes;if(c===0)return 0;var d=0,m=r.suspendedLanes,x=r.pingedLanes,k=c&268435455;if(k!==0){var V=k&~m;V!==0?d=qa(V):(x&=k,x!==0&&(d=qa(x)))}else k=c&~m,k!==0?d=qa(k):x!==0&&(d=qa(x));if(d===0)return 0;if(i!==0&&i!==d&&(i&m)===0&&(m=d&-d,x=i&-i,m>=x||m===16&&(x&4194240)!==0))return i;if((d&4)!==0&&(d|=c&16),i=r.entangledLanes,i!==0)for(r=r.entanglements,i&=d;0c;c++)i.push(r);return i}function Za(r,i,c){r.pendingLanes|=i,i!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,i=31-oo(i),r[i]=c}function e9(r,i){var c=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i,i=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0=tl),gg=" ",Ag=!1;function Pg(r,i){switch(r){case"keyup":return C9.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bg(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Ni=!1;function D9(r,i){switch(r){case"compositionend":return bg(i);case"keypress":return i.which!==32?null:(Ag=!0,gg);case"textInput":return r=i.data,r===gg&&Ag?null:r;default:return null}}function k9(r,i){if(Ni)return r==="compositionend"||!Sp&&Pg(r,i)?(r=dg(),au=Pp=xs=null,Ni=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:c,offset:i-r};r=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=Cg(c)}}function Dg(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?Dg(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function kg(){for(var r=window,i=Ye();i instanceof r.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)r=i.contentWindow;else break;i=Ye(r.document)}return i}function Op(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function V9(r){var i=kg(),c=r.focusedElem,d=r.selectionRange;if(i!==c&&c&&c.ownerDocument&&Dg(c.ownerDocument.documentElement,c)){if(d!==null&&Op(c)){if(i=d.start,r=d.end,r===void 0&&(r=i),"selectionStart"in c)c.selectionStart=i,c.selectionEnd=Math.min(r,c.value.length);else if(r=(i=c.ownerDocument||document)&&i.defaultView||window,r.getSelection){r=r.getSelection();var m=c.textContent.length,x=Math.min(d.start,m);d=d.end===void 0?x:Math.min(d.end,m),!r.extend&&x>d&&(m=d,d=x,x=m),m=Og(c,x);var k=Og(c,d);m&&k&&(r.rangeCount!==1||r.anchorNode!==m.node||r.anchorOffset!==m.offset||r.focusNode!==k.node||r.focusOffset!==k.offset)&&(i=i.createRange(),i.setStart(m.node,m.offset),r.removeAllRanges(),x>d?(r.addRange(i),r.extend(k.node,k.offset)):(i.setEnd(k.node,k.offset),r.addRange(i)))}}for(i=[],r=c;r=r.parentNode;)r.nodeType===1&&i.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,Bi=null,Dp=null,sl=null,kp=!1;function Tg(r,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;kp||Bi==null||Bi!==Ye(d)||(d=Bi,"selectionStart"in d&&Op(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),sl&&ol(sl,d)||(sl=d,d=hu(Dp,"onSelect"),0Fi||(r.current=Jp[Fi],Jp[Fi]=null,Fi--)}function _t(r,i){Fi++,Jp[Fi]=r.current,r.current=i}var Ss={},Zn=js(Ss),lr=js(!1),Ks=Ss;function Yi(r,i){var c=r.type.contextTypes;if(!c)return Ss;var d=r.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var m={},x;for(x in c)m[x]=i[x];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=i,r.__reactInternalMemoizedMaskedChildContext=m),m}function cr(r){return r=r.childContextTypes,r!=null}function Au(){tn(lr),tn(Zn)}function Zg(r,i,c){if(Zn.current!==Ss)throw Error(n(168));_t(Zn,i),_t(lr,c)}function Gg(r,i,c){var d=r.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var m in d)if(!(m in i))throw Error(n(108,be(r)||"Unknown",m));return E({},c,d)}function Pu(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Ss,Ks=Zn.current,_t(Zn,r),_t(lr,lr.current),!0}function Ug(r,i,c){var d=r.stateNode;if(!d)throw Error(n(169));c?(r=Gg(r,i,Ks),d.__reactInternalMemoizedMergedChildContext=r,tn(lr),tn(Zn),_t(Zn,r)):tn(lr),_t(lr,c)}var Qo=null,bu=!1,Fp=!1;function Qg(r){Qo===null?Qo=[r]:Qo.push(r)}function _9(r){bu=!0,Qg(r)}function zs(){if(!Fp&&Qo!==null){Fp=!0;var r=0,i=Jt;try{var c=Qo;for(Jt=1;r>=k,m-=k,Ko=1<<32-oo(i)+m|c<xt?(Nn=vt,vt=null):Nn=vt.sibling;var Bt=He(se,vt,ae[xt],ke);if(Bt===null){vt===null&&(vt=Nn);break}r&&vt&&Bt.alternate===null&&i(se,vt),te=x(Bt,te,xt),pt===null?at=Bt:pt.sibling=Bt,pt=Bt,vt=Nn}if(xt===ae.length)return c(se,vt),on&&$s(se,xt),at;if(vt===null){for(;xtxt?(Nn=vt,vt=null):Nn=vt.sibling;var Ls=He(se,vt,Bt.value,ke);if(Ls===null){vt===null&&(vt=Nn);break}r&&vt&&Ls.alternate===null&&i(se,vt),te=x(Ls,te,xt),pt===null?at=Ls:pt.sibling=Ls,pt=Ls,vt=Nn}if(Bt.done)return c(se,vt),on&&$s(se,xt),at;if(vt===null){for(;!Bt.done;xt++,Bt=ae.next())Bt=Ce(se,Bt.value,ke),Bt!==null&&(te=x(Bt,te,xt),pt===null?at=Bt:pt.sibling=Bt,pt=Bt);return on&&$s(se,xt),at}for(vt=d(se,vt);!Bt.done;xt++,Bt=ae.next())Bt=Ze(vt,se,xt,Bt.value,ke),Bt!==null&&(r&&Bt.alternate!==null&&vt.delete(Bt.key===null?xt:Bt.key),te=x(Bt,te,xt),pt===null?at=Bt:pt.sibling=Bt,pt=Bt);return r&&vt.forEach(function(T4){return i(se,T4)}),on&&$s(se,xt),at}function wn(se,te,ae,ke){if(typeof ae=="object"&&ae!==null&&ae.type===R&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case D:e:{for(var at=ae.key,pt=te;pt!==null;){if(pt.key===at){if(at=ae.type,at===R){if(pt.tag===7){c(se,pt.sibling),te=m(pt,ae.props.children),te.return=se,se=te;break e}}else if(pt.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===U&&uA(at)===pt.type){c(se,pt.sibling),te=m(pt,ae.props),te.ref=fl(se,pt,ae),te.return=se,se=te;break e}c(se,pt);break}else i(se,pt);pt=pt.sibling}ae.type===R?(te=ai(ae.props.children,se.mode,ke,ae.key),te.return=se,se=te):(ke=Uu(ae.type,ae.key,ae.props,null,se.mode,ke),ke.ref=fl(se,te,ae),ke.return=se,se=ke)}return k(se);case T:e:{for(pt=ae.key;te!==null;){if(te.key===pt)if(te.tag===4&&te.stateNode.containerInfo===ae.containerInfo&&te.stateNode.implementation===ae.implementation){c(se,te.sibling),te=m(te,ae.children||[]),te.return=se,se=te;break e}else{c(se,te);break}else i(se,te);te=te.sibling}te=Iv(ae,se.mode,ke),te.return=se,se=te}return k(se);case U:return pt=ae._init,wn(se,te,pt(ae._payload),ke)}if(B(ae))return ot(se,te,ae,ke);if(Y(ae))return it(se,te,ae,ke);Du(se,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?(ae=""+ae,te!==null&&te.tag===6?(c(se,te.sibling),te=m(te,ae),te.return=se,se=te):(c(se,te),te=Vv(ae,se.mode,ke),te.return=se,se=te),k(se)):c(se,te)}return wn}var Ki=fA(!0),dA=fA(!1),dl={},To=js(dl),pl=js(dl),vl=js(dl);function ti(r){if(r===dl)throw Error(n(174));return r}function ov(r,i){switch(_t(vl,i),_t(pl,r),_t(To,dl),r=i.nodeType,r){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:Ve(null,"");break;default:r=r===8?i.parentNode:i,i=r.namespaceURI||null,r=r.tagName,i=Ve(i,r)}tn(To),_t(To,i)}function _i(){tn(To),tn(pl),tn(vl)}function pA(r){ti(vl.current);var i=ti(To.current),c=Ve(i,r.type);i!==c&&(_t(pl,r),_t(To,c))}function sv(r){pl.current===r&&(tn(To),tn(pl))}var cn=js(0);function ku(r){for(var i=r;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var iv=[];function av(){for(var r=0;rc?c:4,r(!0);var d=lv.transition;lv.transition={};try{r(!1),i()}finally{Jt=c,lv.transition=d}}function kA(){return Jr().memoizedState}function n4(r,i,c){var d=Es(r);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},TA(r))EA(i,c);else if(c=nA(r,i,c,d),c!==null){var m=nr();uo(c,r,d,m),RA(c,i,d)}}function r4(r,i,c){var d=Es(r),m={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(TA(r))EA(i,m);else{var x=r.alternate;if(r.lanes===0&&(x===null||x.lanes===0)&&(x=i.lastRenderedReducer,x!==null))try{var k=i.lastRenderedState,V=x(k,c);if(m.hasEagerState=!0,m.eagerState=V,so(V,k)){var Z=i.interleaved;Z===null?(m.next=m,ev(i)):(m.next=Z.next,Z.next=m),i.interleaved=m;return}}catch{}finally{}c=nA(r,i,m,d),c!==null&&(m=nr(),uo(c,r,d,m),RA(c,i,d))}}function TA(r){var i=r.alternate;return r===un||i!==null&&i===un}function EA(r,i){hl=Eu=!0;var c=r.pending;c===null?i.next=i:(i.next=c.next,c.next=i),r.pending=i}function RA(r,i,c){if((c&4194240)!==0){var d=i.lanes;d&=r.pendingLanes,c|=d,i.lanes=c,hp(r,c)}}var Lu={readContext:Wr,useCallback:Gn,useContext:Gn,useEffect:Gn,useImperativeHandle:Gn,useInsertionEffect:Gn,useLayoutEffect:Gn,useMemo:Gn,useReducer:Gn,useRef:Gn,useState:Gn,useDebugValue:Gn,useDeferredValue:Gn,useTransition:Gn,useMutableSource:Gn,useSyncExternalStore:Gn,useId:Gn,unstable_isNewReconciler:!1},o4={readContext:Wr,useCallback:function(r,i){return Eo().memoizedState=[r,i===void 0?null:i],r},useContext:Wr,useEffect:wA,useImperativeHandle:function(r,i,c){return c=c!=null?c.concat([r]):null,Ru(4194308,4,SA.bind(null,i,r),c)},useLayoutEffect:function(r,i){return Ru(4194308,4,r,i)},useInsertionEffect:function(r,i){return Ru(4,2,r,i)},useMemo:function(r,i){var c=Eo();return i=i===void 0?null:i,r=r(),c.memoizedState=[r,i],r},useReducer:function(r,i,c){var d=Eo();return i=c!==void 0?c(i):i,d.memoizedState=d.baseState=i,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:i},d.queue=r,r=r.dispatch=n4.bind(null,un,r),[d.memoizedState,r]},useRef:function(r){var i=Eo();return r={current:r},i.memoizedState=r},useState:bA,useDebugValue:hv,useDeferredValue:function(r){return Eo().memoizedState=r},useTransition:function(){var r=bA(!1),i=r[0];return r=t4.bind(null,r[1]),Eo().memoizedState=r,[i,r]},useMutableSource:function(){},useSyncExternalStore:function(r,i,c){var d=un,m=Eo();if(on){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Xn===null)throw Error(n(349));(ni&30)!==0||mA(d,i,c)}m.memoizedState=c;var x={value:c,getSnapshot:i};return m.queue=x,wA(gA.bind(null,d,x,r),[r]),d.flags|=2048,gl(9,yA.bind(null,d,x,c,i),void 0,null),c},useId:function(){var r=Eo(),i=Xn.identifierPrefix;if(on){var c=_o,d=Ko;c=(d&~(1<<32-oo(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=ml++,0<\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=k.createElement(c,{is:d.is}):(r=k.createElement(c),c==="select"&&(k=r,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):r=k.createElementNS(r,c),r[ko]=i,r[cl]=d,KA(r,i,!1,!1),i.stateNode=r;e:{switch(k=Pe(c,d),c){case"dialog":en("cancel",r),en("close",r),m=d;break;case"iframe":case"object":case"embed":en("load",r),m=d;break;case"video":case"audio":for(m=0;mna&&(i.flags|=128,d=!0,Al(x,!1),i.lanes=4194304)}else{if(!d)if(r=ku(k),r!==null){if(i.flags|=128,d=!0,c=r.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),Al(x,!0),x.tail===null&&x.tailMode==="hidden"&&!k.alternate&&!on)return Un(i),null}else 2*Kt()-x.renderingStartTime>na&&c!==1073741824&&(i.flags|=128,d=!0,Al(x,!1),i.lanes=4194304);x.isBackwards?(k.sibling=i.child,i.child=k):(c=x.last,c!==null?c.sibling=k:i.child=k,x.last=k)}return x.tail!==null?(i=x.tail,x.rendering=i,x.tail=i.sibling,x.renderingStartTime=Kt(),i.sibling=null,c=cn.current,_t(cn,d?c&1|2:c&1),i):(Un(i),null);case 22:case 23:return Xv(),d=i.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(i.flags|=8192),d&&(i.mode&1)!==0?(zr&1073741824)!==0&&(Un(i),i.subtreeFlags&6&&(i.flags|=8192)):Un(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function d4(r,i){switch(qp(i),i.tag){case 1:return cr(i.type)&&Au(),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return _i(),tn(lr),tn(Zn),av(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 5:return sv(i),null;case 13:if(tn(cn),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Gi()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return tn(cn),null;case 4:return _i(),null;case 10:return _p(i.type._context),null;case 22:case 23:return Xv(),null;case 24:return null;default:return null}}var Bu=!1,Qn=!1,p4=typeof WeakSet=="function"?WeakSet:Set,et=null;function ea(r,i){var c=r.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){mn(r,i,d)}else c.current=null}function jv(r,i,c){try{c()}catch(d){mn(r,i,d)}}var eP=!1;function v4(r,i){if(Xp=su,r=kg(),Op(r)){if("selectionStart"in r)var c={start:r.selectionStart,end:r.selectionEnd};else e:{c=(c=r.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var m=d.anchorOffset,x=d.focusNode;d=d.focusOffset;try{c.nodeType,x.nodeType}catch{c=null;break e}var k=0,V=-1,Z=-1,ue=0,je=0,Ce=r,He=null;t:for(;;){for(var Ze;Ce!==c||m!==0&&Ce.nodeType!==3||(V=k+m),Ce!==x||d!==0&&Ce.nodeType!==3||(Z=k+d),Ce.nodeType===3&&(k+=Ce.nodeValue.length),(Ze=Ce.firstChild)!==null;)He=Ce,Ce=Ze;for(;;){if(Ce===r)break t;if(He===c&&++ue===m&&(V=k),He===x&&++je===d&&(Z=k),(Ze=Ce.nextSibling)!==null)break;Ce=He,He=Ce.parentNode}Ce=Ze}c=V===-1||Z===-1?null:{start:V,end:Z}}else c=null}c=c||{start:0,end:0}}else c=null;for(Np={focusedElem:r,selectionRange:c},su=!1,et=i;et!==null;)if(i=et,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,et=r;else for(;et!==null;){i=et;try{var ot=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(ot!==null){var it=ot.memoizedProps,wn=ot.memoizedState,se=i.stateNode,te=se.getSnapshotBeforeUpdate(i.elementType===i.type?it:ao(i.type,it),wn);se.__reactInternalSnapshotBeforeUpdate=te}break;case 3:var ae=i.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ke){mn(i,i.return,ke)}if(r=i.sibling,r!==null){r.return=i.return,et=r;break}et=i.return}return ot=eP,eP=!1,ot}function Pl(r,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var m=d=d.next;do{if((m.tag&r)===r){var x=m.destroy;m.destroy=void 0,x!==void 0&&jv(i,c,x)}m=m.next}while(m!==d)}}function Vu(r,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&r)===r){var d=c.create;c.destroy=d()}c=c.next}while(c!==i)}}function Sv(r){var i=r.ref;if(i!==null){var c=r.stateNode;switch(r.tag){case 5:r=c;break;default:r=c}typeof i=="function"?i(r):i.current=r}}function tP(r){var i=r.alternate;i!==null&&(r.alternate=null,tP(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&(delete i[ko],delete i[cl],delete i[Wp],delete i[Q9],delete i[K9])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function nP(r){return r.tag===5||r.tag===3||r.tag===4}function rP(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||nP(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function zv(r,i,c){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?c.nodeType===8?c.parentNode.insertBefore(r,i):c.insertBefore(r,i):(c.nodeType===8?(i=c.parentNode,i.insertBefore(r,c)):(i=c,i.appendChild(r)),c=c._reactRootContainer,c!=null||i.onclick!==null||(i.onclick=yu));else if(d!==4&&(r=r.child,r!==null))for(zv(r,i,c),r=r.sibling;r!==null;)zv(r,i,c),r=r.sibling}function Cv(r,i,c){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?c.insertBefore(r,i):c.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(Cv(r,i,c),r=r.sibling;r!==null;)Cv(r,i,c),r=r.sibling}var Jn=null,lo=!1;function Ds(r,i,c){for(c=c.child;c!==null;)oP(r,i,c),c=c.sibling}function oP(r,i,c){if(Br&&typeof Br.onCommitFiberUnmount=="function")try{Br.onCommitFiberUnmount(Do,c)}catch{}switch(c.tag){case 5:Qn||ea(c,i);case 6:var d=Jn,m=lo;Jn=null,Ds(r,i,c),Jn=d,lo=m,Jn!==null&&(lo?(r=Jn,c=c.stateNode,r.nodeType===8?r.parentNode.removeChild(c):r.removeChild(c)):Jn.removeChild(c.stateNode));break;case 18:Jn!==null&&(lo?(r=Jn,c=c.stateNode,r.nodeType===8?Ip(r.parentNode,c):r.nodeType===1&&Ip(r,c),_a(r)):Ip(Jn,c.stateNode));break;case 4:d=Jn,m=lo,Jn=c.stateNode.containerInfo,lo=!0,Ds(r,i,c),Jn=d,lo=m;break;case 0:case 11:case 14:case 15:if(!Qn&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){m=d=d.next;do{var x=m,k=x.destroy;x=x.tag,k!==void 0&&((x&2)!==0||(x&4)!==0)&&jv(c,i,k),m=m.next}while(m!==d)}Ds(r,i,c);break;case 1:if(!Qn&&(ea(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(V){mn(c,i,V)}Ds(r,i,c);break;case 21:Ds(r,i,c);break;case 22:c.mode&1?(Qn=(d=Qn)||c.memoizedState!==null,Ds(r,i,c),Qn=d):Ds(r,i,c);break;default:Ds(r,i,c)}}function sP(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var c=r.stateNode;c===null&&(c=r.stateNode=new p4),i.forEach(function(d){var m=w4.bind(null,r,d);c.has(d)||(c.add(d),d.then(m,m))})}}function co(r,i){var c=i.deletions;if(c!==null)for(var d=0;dm&&(m=k),d&=~x}if(d=m,d=Kt()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*m4(d/1960))-d,10r?16:r,Ts===null)var d=!1;else{if(r=Ts,Ts=null,Yu=0,(Nt&6)!==0)throw Error(n(331));var m=Nt;for(Nt|=4,et=r.current;et!==null;){var x=et,k=x.child;if((et.flags&16)!==0){var V=x.deletions;if(V!==null){for(var Z=0;ZKt()-kv?si(r,0):Dv|=c),dr(r,i)}function gP(r,i){i===0&&((r.mode&1)===0?i=1:(i=tu,tu<<=1,(tu&130023424)===0&&(tu=4194304)));var c=nr();r=$o(r,i),r!==null&&(Za(r,i,c),dr(r,c))}function x4(r){var i=r.memoizedState,c=0;i!==null&&(c=i.retryLane),gP(r,c)}function w4(r,i){var c=0;switch(r.tag){case 13:var d=r.stateNode,m=r.memoizedState;m!==null&&(c=m.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),gP(r,c)}var AP;AP=function(r,i,c){if(r!==null)if(r.memoizedProps!==i.pendingProps||lr.current)ur=!0;else{if((r.lanes&c)===0&&(i.flags&128)===0)return ur=!1,u4(r,i,c);ur=(r.flags&131072)!==0}else ur=!1,on&&(i.flags&1048576)!==0&&Kg(i,wu,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Nu(r,i),r=i.pendingProps;var m=Yi(i,Zn.current);Qi(i,c),m=uv(null,i,d,r,m,c);var x=fv();return i.flags|=1,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,cr(d)?(x=!0,Pu(i)):x=!1,i.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,tv(i),m.updater=Ou,i.stateNode=m,m._reactInternals=i,rv(i,d,r,c),i=Av(null,i,d,!0,x,c)):(i.tag=0,on&&x&&Yp(i),tr(null,i,m,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Nu(r,i),r=i.pendingProps,m=d._init,d=m(d._payload),i.type=d,m=i.tag=j4(d),r=ao(d,r),m){case 0:i=gv(null,i,d,r,c);break e;case 1:i=YA(null,i,d,r,c);break e;case 11:i=VA(null,i,d,r,c);break e;case 14:i=IA(null,i,d,ao(d.type,r),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,m=i.pendingProps,m=i.elementType===d?m:ao(d,m),gv(r,i,d,m,c);case 1:return d=i.type,m=i.pendingProps,m=i.elementType===d?m:ao(d,m),YA(r,i,d,m,c);case 3:e:{if(qA(i),r===null)throw Error(n(387));d=i.pendingProps,x=i.memoizedState,m=x.element,rA(r,i),Cu(i,d,null,c);var k=i.memoizedState;if(d=k.element,x.isDehydrated)if(x={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},i.updateQueue.baseState=x,i.memoizedState=x,i.flags&256){m=$i(Error(n(423)),i),i=ZA(r,i,d,c,m);break e}else if(d!==m){m=$i(Error(n(424)),i),i=ZA(r,i,d,c,m);break e}else for(Sr=Hs(i.stateNode.containerInfo.firstChild),jr=i,on=!0,io=null,c=dA(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Gi(),d===m){i=ts(r,i,c);break e}tr(r,i,d,c)}i=i.child}return i;case 5:return pA(i),r===null&&Gp(i),d=i.type,m=i.pendingProps,x=r!==null?r.memoizedProps:null,k=m.children,Bp(d,m)?k=null:x!==null&&Bp(d,x)&&(i.flags|=32),FA(r,i),tr(r,i,k,c),i.child;case 6:return r===null&&Gp(i),null;case 13:return GA(r,i,c);case 4:return ov(i,i.stateNode.containerInfo),d=i.pendingProps,r===null?i.child=Ki(i,null,d,c):tr(r,i,d,c),i.child;case 11:return d=i.type,m=i.pendingProps,m=i.elementType===d?m:ao(d,m),VA(r,i,d,m,c);case 7:return tr(r,i,i.pendingProps,c),i.child;case 8:return tr(r,i,i.pendingProps.children,c),i.child;case 12:return tr(r,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,m=i.pendingProps,x=i.memoizedProps,k=m.value,_t(ju,d._currentValue),d._currentValue=k,x!==null)if(so(x.value,k)){if(x.children===m.children&&!lr.current){i=ts(r,i,c);break e}}else for(x=i.child,x!==null&&(x.return=i);x!==null;){var V=x.dependencies;if(V!==null){k=x.child;for(var Z=V.firstContext;Z!==null;){if(Z.context===d){if(x.tag===1){Z=es(-1,c&-c),Z.tag=2;var ue=x.updateQueue;if(ue!==null){ue=ue.shared;var je=ue.pending;je===null?Z.next=Z:(Z.next=je.next,je.next=Z),ue.pending=Z}}x.lanes|=c,Z=x.alternate,Z!==null&&(Z.lanes|=c),$p(x.return,c,i),V.lanes|=c;break}Z=Z.next}}else if(x.tag===10)k=x.type===i.type?null:x.child;else if(x.tag===18){if(k=x.return,k===null)throw Error(n(341));k.lanes|=c,V=k.alternate,V!==null&&(V.lanes|=c),$p(k,c,i),k=x.sibling}else k=x.child;if(k!==null)k.return=x;else for(k=x;k!==null;){if(k===i){k=null;break}if(x=k.sibling,x!==null){x.return=k.return,k=x;break}k=k.return}x=k}tr(r,i,m.children,c),i=i.child}return i;case 9:return m=i.type,d=i.pendingProps.children,Qi(i,c),m=Wr(m),d=d(m),i.flags|=1,tr(r,i,d,c),i.child;case 14:return d=i.type,m=ao(d,i.pendingProps),m=ao(d.type,m),IA(r,i,d,m,c);case 15:return WA(r,i,i.type,i.pendingProps,c);case 17:return d=i.type,m=i.pendingProps,m=i.elementType===d?m:ao(d,m),Nu(r,i),i.tag=1,cr(d)?(r=!0,Pu(i)):r=!1,Qi(i,c),lA(i,d,m),rv(i,d,m,c),Av(null,i,d,!0,r,c);case 19:return QA(r,i,c);case 22:return JA(r,i,c)}throw Error(n(156,i.tag))};function PP(r,i){return Lt(r,i)}function H4(r,i,c,d){this.tag=r,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yr(r,i,c,d){return new H4(r,i,c,d)}function Bv(r){return r=r.prototype,!(!r||!r.isReactComponent)}function j4(r){if(typeof r=="function")return Bv(r)?1:0;if(r!=null){if(r=r.$$typeof,r===I)return 11;if(r===J)return 14}return 2}function Ms(r,i){var c=r.alternate;return c===null?(c=Yr(r.tag,i,r.key,r.mode),c.elementType=r.elementType,c.type=r.type,c.stateNode=r.stateNode,c.alternate=r,r.alternate=c):(c.pendingProps=i,c.type=r.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=r.flags&14680064,c.childLanes=r.childLanes,c.lanes=r.lanes,c.child=r.child,c.memoizedProps=r.memoizedProps,c.memoizedState=r.memoizedState,c.updateQueue=r.updateQueue,i=r.dependencies,c.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},c.sibling=r.sibling,c.index=r.index,c.ref=r.ref,c}function Uu(r,i,c,d,m,x){var k=2;if(d=r,typeof r=="function")Bv(r)&&(k=1);else if(typeof r=="string")k=5;else e:switch(r){case R:return ai(c.children,m,x,i);case M:k=8,m|=8;break;case L:return r=Yr(12,c,i,m|2),r.elementType=L,r.lanes=x,r;case W:return r=Yr(13,c,i,m),r.elementType=W,r.lanes=x,r;case Q:return r=Yr(19,c,i,m),r.elementType=Q,r.lanes=x,r;case re:return Qu(c,m,x,i);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case w:k=10;break e;case N:k=9;break e;case I:k=11;break e;case J:k=14;break e;case U:k=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return i=Yr(k,c,i,m),i.elementType=r,i.type=d,i.lanes=x,i}function ai(r,i,c,d){return r=Yr(7,r,d,i),r.lanes=c,r}function Qu(r,i,c,d){return r=Yr(22,r,d,i),r.elementType=re,r.lanes=c,r.stateNode={isHidden:!1},r}function Vv(r,i,c){return r=Yr(6,r,null,i),r.lanes=c,r}function Iv(r,i,c){return i=Yr(4,r.children!==null?r.children:[],r.key,i),i.lanes=c,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}function S4(r,i,c,d,m){this.tag=i,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vp(0),this.expirationTimes=vp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vp(0),this.identifierPrefix=d,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null}function Wv(r,i,c,d,m,x,k,V,Z){return r=new S4(r,i,c,V,Z),i===1?(i=1,x===!0&&(i|=8)):i=0,x=Yr(3,null,null,i),r.current=x,x.stateNode=r,x.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},tv(x),r}function z4(r,i,c){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),nh.exports=jH(),nh.exports}var Dw=Ow();const Gl=fd(Dw),hb={disabled:!1},Gf=$e.createContext(null);var SH=function(t){return t.scrollTop},Ul="unmounted",fi="exited",di="entering",va="entered",Nh="exiting",Ho=function(e){Cw(t,e);function t(o,s){var a;a=e.call(this,o,s)||this;var l=s,u=l&&!l.isMounting?o.enter:o.appear,f;return a.appearStatus=null,o.in?u?(f=fi,a.appearStatus=di):f=va:o.unmountOnExit||o.mountOnEnter?f=Ul:f=fi,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===Ul?{status:fi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==di&&l!==va&&(a=di):(l===di||l===va)&&(a=Nh)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,u;return a=l=u=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,u=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===di){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Gl.findDOMNode(this);l&&SH(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===fi&&this.setState({status:Ul})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[Gl.findDOMNode(this),u],v=f[0],h=f[1],y=this.getTimeouts(),P=u?y.appear:y.enter;if(!s&&!l||hb.disabled){this.safeSetState({status:va},function(){a.props.onEntered(v)});return}this.props.onEnter(v,h),this.safeSetState({status:di},function(){a.props.onEntering(v,h),a.onTransitionEnd(P,function(){a.safeSetState({status:va},function(){a.props.onEntered(v,h)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:Gl.findDOMNode(this);if(!a||hb.disabled){this.safeSetState({status:fi},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Nh},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:fi},function(){s.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,s(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Gl.findDOMNode(this),u=s==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],v=f[0],h=f[1];this.props.addEndListener(v,h)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Ul)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=Fm(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return $e.createElement(Gf.Provider,{value:null},typeof l=="function"?l(s,u):$e.cloneElement($e.Children.only(l),u))},t}($e.Component);Ho.contextType=Gf;Ho.propTypes={};function ca(){}Ho.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ca,onEntering:ca,onEntered:ca,onExit:ca,onExiting:ca,onExited:ca};Ho.UNMOUNTED=Ul;Ho.EXITED=fi;Ho.ENTERING=di;Ho.ENTERED=va;Ho.EXITING=Nh;function zH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ym(e,t){var n=function(a){return t&&g.isValidElement(a)?t(a):a},o=Object.create(null);return e&&g.Children.map(e,function(s){return s}).forEach(function(s){o[s.key]=n(s)}),o}function CH(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var o=Object.create(null),s=[];for(var a in e)a in t?s.length&&(o[a]=s,s=[]):s.push(a);var l,u={};for(var f in t){if(o[f])for(l=0;le.scrollTop;function za(e,t){const{timeout:n,easing:o,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof o=="object"?o[t.mode]:o),delay:s.transitionDelay}}function EH(e){return Ue("MuiPaper",e)}Qe("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"]);const RH=e=>{const{square:t,elevation:n,variant:o,classes:s}=e,a={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${n}`]};return Ke(a,EH,s)},MH=fe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.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)"}}]}))),Mr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiPaper"}),s=Xr(),{className:a,component:l="div",elevation:u=1,square:f=!1,variant:v="elevation",...h}=o,y={...o,component:l,elevation:u,square:f,variant:v},P=RH(y);return p.jsx(MH,{as:l,ownerState:y,className:ze(P.root,a),ref:n,...h,style:{...v==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":s.vars.overlays?.[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Pt("#fff",Lh(u))}, ${Pt("#fff",Lh(u))})`}},...h.style}})});function lt(e,t){const{className:n,elementType:o,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,shouldForwardComponentProp:u=!1,...f}=t,{component:v,slots:h={[e]:void 0},slotProps:y={[e]:void 0},...P}=a,j=h[e]||o,A=vw(y[e],s),{props:{component:b,...H},internalRef:S}=pw({className:n,...f,externalForwardedProps:e==="root"?P:void 0,externalSlotProps:A}),z=ln(S,A?.ref,t.ref),C=e==="root"?b||v:b,O=dw(j,{...e==="root"&&!v&&!h[e]&&l,...e!=="root"&&!h[e]&&l,...H,...C&&!u&&{as:C},...C&&u&&{component:C},ref:z},s);return[j,O]}class Uf{static create(){return new Uf}static use(){const t=uw(Uf.create).current,[n,o]=g.useState(!1);return t.shouldMount=n,t.setShouldMount=o,g.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=XH(),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(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function LH(){return Uf.use()}function XH(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});return n.resolve=e,n.reject=t,n}function NH(e){const{className:t,classes:n,pulsate:o=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:v}=e,[h,y]=g.useState(!1),P=ze(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),j={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},A=ze(n.child,h&&n.childLeaving,o&&n.childPulsate);return!u&&!h&&y(!0),g.useEffect(()=>{if(!u&&f!=null){const b=setTimeout(f,v);return()=>{clearTimeout(b)}}},[f,u,v]),p.jsx("span",{className:P,style:j,children:p.jsx("span",{className:A})})}const Zr=Qe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Bh=550,BH=80,VH=kc` + */var yb;function zH(){if(yb)return pr;yb=1;var e=Cm(),t=SH();function n(r){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+r,c=1;c"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,v=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},y={};function b(r){return f.call(y,r)?!0:f.call(h,r)?!1:v.test(r)?y[r]=!0:(h[r]=!0,!1)}function j(r,i,c,d){if(c!==null&&c.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return d?!1:c!==null?!c.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function x(r,i,c,d){if(i===null||typeof i>"u"||j(r,i,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function A(r,i,c,d,m,P,k){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=d,this.attributeNamespace=m,this.mustUseProperty=c,this.propertyName=r,this.type=i,this.sanitizeURL=P,this.removeEmptyString=k}var H={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){H[r]=new A(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0];H[i]=new A(i,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){H[r]=new A(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){H[r]=new A(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){H[r]=new A(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){H[r]=new A(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){H[r]=new A(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){H[r]=new A(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){H[r]=new A(r,5,!1,r.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function z(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var i=r.replace(S,z);H[i]=new A(i,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var i=r.replace(S,z);H[i]=new A(i,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(S,z);H[i]=new A(i,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){H[r]=new A(r,1,!1,r.toLowerCase(),null,!1,!1)}),H.xlinkHref=new A("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){H[r]=new A(r,1,!1,r.toLowerCase(),null,!0,!0)});function C(r,i,c,d){var m=H.hasOwnProperty(i)?H[i]:null;(m!==null?m.type!==0:d||!(2V||m[k]!==P[V]){var Z=` +`+m[k].replace(" at new "," at ");return r.displayName&&Z.includes("")&&(Z=Z.replace("",r.displayName)),Z}while(1<=k&&0<=V);break}}}finally{_=!1,Error.prepareStackTrace=c}return(r=r?r.displayName||r.name:"")?X(r):""}function oe(r){switch(r.tag){case 5:return X(r.type);case 16:return X("Lazy");case 13:return X("Suspense");case 19:return X("SuspenseList");case 0:case 2:case 15:return r=te(r.type,!1),r;case 11:return r=te(r.type.render,!1),r;case 1:return r=te(r.type,!0),r;default:return""}}function le(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case R:return"Fragment";case T:return"Portal";case M:return"Profiler";case L:return"StrictMode";case W:return"Suspense";case ne:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case N:return(r.displayName||"Context")+".Consumer";case w:return(r._context.displayName||"Context")+".Provider";case I:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case J:return i=r.displayName||null,i!==null?i:le(r.type)||"Memo";case U:i=r._payload,r=r._init;try{return le(r(i))}catch{}}return null}function be(r){var i=r.type;switch(r.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=i.render,r=r.displayName||r.name||"",i.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return le(i);case 8:return i===L?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function ie(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function xe(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Oe(r){var i=xe(r)?"checked":"value",c=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),d=""+r[i];if(!r.hasOwnProperty(i)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var m=c.get,P=c.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return m.call(this)},set:function(k){d=""+k,P.call(this,k)}}),Object.defineProperty(r,i,{enumerable:c.enumerable}),{getValue:function(){return d},setValue:function(k){d=""+k},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function Le(r){r._valueTracker||(r._valueTracker=Oe(r))}function Ae(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var c=i.getValue(),d="";return r&&(d=xe(r)?r.checked?"true":"false":r.value),r=d,r!==c?(i.setValue(r),!0):!1}function Ye(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function ye(r,i){var c=i.checked;return E({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:c??r._wrapperState.initialChecked})}function Je(r,i){var c=i.defaultValue==null?"":i.defaultValue,d=i.checked!=null?i.checked:i.defaultChecked;c=ie(i.value!=null?i.value:c),r._wrapperState={initialChecked:d,initialValue:c,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function yt(r,i){i=i.checked,i!=null&&C(r,"checked",i,!1)}function Me(r,i){yt(r,i);var c=ie(i.value),d=i.type;if(c!=null)d==="number"?(c===0&&r.value===""||r.value!=c)&&(r.value=""+c):r.value!==""+c&&(r.value=""+c);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}i.hasOwnProperty("value")?ct(r,i.type,c):i.hasOwnProperty("defaultValue")&&ct(r,i.type,ie(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(r.defaultChecked=!!i.defaultChecked)}function ht(r,i,c){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var d=i.type;if(!(d!=="submit"&&d!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+r._wrapperState.initialValue,c||i===r.value||(r.value=i),r.defaultValue=i}c=r.name,c!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,c!==""&&(r.name=c)}function ct(r,i,c){(i!=="number"||Ye(r.ownerDocument)!==r)&&(c==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+c&&(r.defaultValue=""+c))}var B=Array.isArray;function Q(r,i,c,d){if(r=r.options,i){i={};for(var m=0;m"+i.valueOf().toString()+"",i=$e.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;i.firstChild;)r.appendChild(i.firstChild)}});function ft(r,i){if(i){var c=r.firstChild;if(c&&c===r.lastChild&&c.nodeType===3){c.nodeValue=i;return}}r.textContent=i}var Ie={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ft=["Webkit","ms","Moz","O"];Object.keys(Ie).forEach(function(r){Ft.forEach(function(i){i=i+r.charAt(0).toUpperCase()+r.substring(1),Ie[i]=Ie[r]})});function Mt(r,i,c){return i==null||typeof i=="boolean"||i===""?"":c||typeof i!="number"||i===0||Ie.hasOwnProperty(r)&&Ie[r]?(""+i).trim():i+"px"}function Ze(r,i){r=r.style;for(var c in i)if(i.hasOwnProperty(c)){var d=c.indexOf("--")===0,m=Mt(c,i[c],d);c==="float"&&(c="cssFloat"),d?r.setProperty(c,m):r[c]=m}}var G=E({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function F(r,i){if(i){if(G[r]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(n(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(n(61))}if(i.style!=null&&typeof i.style!="object")throw Error(n(62))}}function Pe(r,i){if(r.indexOf("-")===-1)return typeof i.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Se=null;function Te(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Re=null,Ue=null,Xe=null;function rt(r){if(r=dl(r)){if(typeof Re!="function")throw Error(n(280));var i=r.stateNode;i&&(i=bu(i),Re(r.stateNode,r.type,i))}}function ut(r){Ue?Xe?Xe.push(r):Xe=[r]:Ue=r}function Tt(){if(Ue){var r=Ue,i=Xe;if(Xe=Ue=null,rt(r),i)for(r=0;r>>=0,r===0?32:31-(_2(r)/$2|0)|0}var ru=64,ou=4194304;function Ga(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function su(r,i){var c=r.pendingLanes;if(c===0)return 0;var d=0,m=r.suspendedLanes,P=r.pingedLanes,k=c&268435455;if(k!==0){var V=k&~m;V!==0?d=Ga(V):(P&=k,P!==0&&(d=Ga(P)))}else k=c&~m,k!==0?d=Ga(k):P!==0&&(d=Ga(P));if(d===0)return 0;if(i!==0&&i!==d&&(i&m)===0&&(m=d&-d,P=i&-i,m>=P||m===16&&(P&4194240)!==0))return i;if((d&4)!==0&&(d|=c&16),i=r.entangledLanes,i!==0)for(r=r.entanglements,i&=d;0c;c++)i.push(r);return i}function Ua(r,i,c){r.pendingLanes|=i,i!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,i=31-io(i),r[i]=c}function r9(r,i){var c=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i,i=r.entanglements;var d=r.eventTimes;for(r=r.expirationTimes;0=rl),xg=" ",wg=!1;function Hg(r,i){switch(r){case"keyup":return k9.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jg(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Vi=!1;function E9(r,i){switch(r){case"compositionend":return jg(i);case"keypress":return i.which!==32?null:(wg=!0,xg);case"textInput":return r=i.data,r===xg&&wg?null:r;default:return null}}function R9(r,i){if(Vi)return r==="compositionend"||!Op&&Hg(r,i)?(r=mg(),uu=wp=ws=null,Vi=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1=i)return{node:c,offset:i-r};r=d}e:{for(;c;){if(c.nextSibling){c=c.nextSibling;break e}c=c.parentNode}c=void 0}c=Tg(c)}}function Rg(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?Rg(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Mg(){for(var r=window,i=Ye();i instanceof r.HTMLIFrameElement;){try{var c=typeof i.contentWindow.location.href=="string"}catch{c=!1}if(c)r=i.contentWindow;else break;i=Ye(r.document)}return i}function Tp(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function J9(r){var i=Mg(),c=r.focusedElem,d=r.selectionRange;if(i!==c&&c&&c.ownerDocument&&Rg(c.ownerDocument.documentElement,c)){if(d!==null&&Tp(c)){if(i=d.start,r=d.end,r===void 0&&(r=i),"selectionStart"in c)c.selectionStart=i,c.selectionEnd=Math.min(r,c.value.length);else if(r=(i=c.ownerDocument||document)&&i.defaultView||window,r.getSelection){r=r.getSelection();var m=c.textContent.length,P=Math.min(d.start,m);d=d.end===void 0?P:Math.min(d.end,m),!r.extend&&P>d&&(m=d,d=P,P=m),m=Eg(c,P);var k=Eg(c,d);m&&k&&(r.rangeCount!==1||r.anchorNode!==m.node||r.anchorOffset!==m.offset||r.focusNode!==k.node||r.focusOffset!==k.offset)&&(i=i.createRange(),i.setStart(m.node,m.offset),r.removeAllRanges(),P>d?(r.addRange(i),r.extend(k.node,k.offset)):(i.setEnd(k.node,k.offset),r.addRange(i)))}}for(i=[],r=c;r=r.parentNode;)r.nodeType===1&&i.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c=document.documentMode,Ii=null,Ep=null,al=null,Rp=!1;function Lg(r,i,c){var d=c.window===c?c.document:c.nodeType===9?c:c.ownerDocument;Rp||Ii==null||Ii!==Ye(d)||(d=Ii,"selectionStart"in d&&Tp(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),al&&il(al,d)||(al=d,d=gu(Ep,"onSelect"),0qi||(r.current=qp[qi],qp[qi]=null,qi--)}function Kt(r,i){qi++,qp[qi]=r.current,r.current=i}var zs={},Zn=Ss(zs),lr=Ss(!1),_s=zs;function Zi(r,i){var c=r.type.contextTypes;if(!c)return zs;var d=r.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===i)return d.__reactInternalMemoizedMaskedChildContext;var m={},P;for(P in c)m[P]=i[P];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=i,r.__reactInternalMemoizedMaskedChildContext=m),m}function cr(r){return r=r.childContextTypes,r!=null}function xu(){tn(lr),tn(Zn)}function Kg(r,i,c){if(Zn.current!==zs)throw Error(n(168));Kt(Zn,i),Kt(lr,c)}function _g(r,i,c){var d=r.stateNode;if(i=i.childContextTypes,typeof d.getChildContext!="function")return c;d=d.getChildContext();for(var m in d)if(!(m in i))throw Error(n(108,be(r)||"Unknown",m));return E({},c,d)}function wu(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||zs,_s=Zn.current,Kt(Zn,r),Kt(lr,lr.current),!0}function $g(r,i,c){var d=r.stateNode;if(!d)throw Error(n(169));c?(r=_g(r,i,_s),d.__reactInternalMemoizedMergedChildContext=r,tn(lr),tn(Zn),Kt(Zn,r)):tn(lr),Kt(lr,c)}var Qo=null,Hu=!1,Zp=!1;function eA(r){Qo===null?Qo=[r]:Qo.push(r)}function t4(r){Hu=!0,eA(r)}function Cs(){if(!Zp&&Qo!==null){Zp=!0;var r=0,i=Jt;try{var c=Qo;for(Jt=1;r>=k,m-=k,Ko=1<<32-io(i)+m|c<xt?(Bn=vt,vt=null):Bn=vt.sibling;var Bt=He(se,vt,ae[xt],ke);if(Bt===null){vt===null&&(vt=Bn);break}r&&vt&&Bt.alternate===null&&i(se,vt),ee=P(Bt,ee,xt),pt===null?at=Bt:pt.sibling=Bt,pt=Bt,vt=Bn}if(xt===ae.length)return c(se,vt),on&&ei(se,xt),at;if(vt===null){for(;xtxt?(Bn=vt,vt=null):Bn=vt.sibling;var Xs=He(se,vt,Bt.value,ke);if(Xs===null){vt===null&&(vt=Bn);break}r&&vt&&Xs.alternate===null&&i(se,vt),ee=P(Xs,ee,xt),pt===null?at=Xs:pt.sibling=Xs,pt=Xs,vt=Bn}if(Bt.done)return c(se,vt),on&&ei(se,xt),at;if(vt===null){for(;!Bt.done;xt++,Bt=ae.next())Bt=Ce(se,Bt.value,ke),Bt!==null&&(ee=P(Bt,ee,xt),pt===null?at=Bt:pt.sibling=Bt,pt=Bt);return on&&ei(se,xt),at}for(vt=d(se,vt);!Bt.done;xt++,Bt=ae.next())Bt=Ge(vt,se,xt,Bt.value,ke),Bt!==null&&(r&&Bt.alternate!==null&&vt.delete(Bt.key===null?xt:Bt.key),ee=P(Bt,ee,xt),pt===null?at=Bt:pt.sibling=Bt,pt=Bt);return r&&vt.forEach(function(M4){return i(se,M4)}),on&&ei(se,xt),at}function xn(se,ee,ae,ke){if(typeof ae=="object"&&ae!==null&&ae.type===R&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case D:e:{for(var at=ae.key,pt=ee;pt!==null;){if(pt.key===at){if(at=ae.type,at===R){if(pt.tag===7){c(se,pt.sibling),ee=m(pt,ae.props.children),ee.return=se,se=ee;break e}}else if(pt.elementType===at||typeof at=="object"&&at!==null&&at.$$typeof===U&&vA(at)===pt.type){c(se,pt.sibling),ee=m(pt,ae.props),ee.ref=pl(se,pt,ae),ee.return=se,se=ee;break e}c(se,pt);break}else i(se,pt);pt=pt.sibling}ae.type===R?(ee=li(ae.props.children,se.mode,ke,ae.key),ee.return=se,se=ee):(ke=_u(ae.type,ae.key,ae.props,null,se.mode,ke),ke.ref=pl(se,ee,ae),ke.return=se,se=ke)}return k(se);case T:e:{for(pt=ae.key;ee!==null;){if(ee.key===pt)if(ee.tag===4&&ee.stateNode.containerInfo===ae.containerInfo&&ee.stateNode.implementation===ae.implementation){c(se,ee.sibling),ee=m(ee,ae.children||[]),ee.return=se,se=ee;break e}else{c(se,ee);break}else i(se,ee);ee=ee.sibling}ee=Fv(ae,se.mode,ke),ee.return=se,se=ee}return k(se);case U:return pt=ae._init,xn(se,ee,pt(ae._payload),ke)}if(B(ae))return ot(se,ee,ae,ke);if(Y(ae))return it(se,ee,ae,ke);Eu(se,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"?(ae=""+ae,ee!==null&&ee.tag===6?(c(se,ee.sibling),ee=m(ee,ae),ee.return=se,se=ee):(c(se,ee),ee=Jv(ae,se.mode,ke),ee.return=se,se=ee),k(se)):c(se,ee)}return xn}var $i=hA(!0),mA=hA(!1),vl={},To=Ss(vl),hl=Ss(vl),ml=Ss(vl);function ni(r){if(r===vl)throw Error(n(174));return r}function av(r,i){switch(Kt(ml,i),Kt(hl,r),Kt(To,vl),r=i.nodeType,r){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:qe(null,"");break;default:r=r===8?i.parentNode:i,i=r.namespaceURI||null,r=r.tagName,i=qe(i,r)}tn(To),Kt(To,i)}function ea(){tn(To),tn(hl),tn(ml)}function yA(r){ni(ml.current);var i=ni(To.current),c=qe(i,r.type);i!==c&&(Kt(hl,r),Kt(To,c))}function lv(r){hl.current===r&&(tn(To),tn(hl))}var cn=Ss(0);function Ru(r){for(var i=r;i!==null;){if(i.tag===13){var c=i.memoizedState;if(c!==null&&(c=c.dehydrated,c===null||c.data==="$?"||c.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var cv=[];function uv(){for(var r=0;rc?c:4,r(!0);var d=fv.transition;fv.transition={};try{r(!1),i()}finally{Jt=c,fv.transition=d}}function MA(){return Jr().memoizedState}function s4(r,i,c){var d=Rs(r);if(c={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null},LA(r))XA(i,c);else if(c=iA(r,i,c,d),c!==null){var m=nr();po(c,r,d,m),NA(c,i,d)}}function i4(r,i,c){var d=Rs(r),m={lane:d,action:c,hasEagerState:!1,eagerState:null,next:null};if(LA(r))XA(i,m);else{var P=r.alternate;if(r.lanes===0&&(P===null||P.lanes===0)&&(P=i.lastRenderedReducer,P!==null))try{var k=i.lastRenderedState,V=P(k,c);if(m.hasEagerState=!0,m.eagerState=V,ao(V,k)){var Z=i.interleaved;Z===null?(m.next=m,rv(i)):(m.next=Z.next,Z.next=m),i.interleaved=m;return}}catch{}finally{}c=iA(r,i,m,d),c!==null&&(m=nr(),po(c,r,d,m),NA(c,i,d))}}function LA(r){var i=r.alternate;return r===un||i!==null&&i===un}function XA(r,i){yl=Lu=!0;var c=r.pending;c===null?i.next=i:(i.next=c.next,c.next=i),r.pending=i}function NA(r,i,c){if((c&4194240)!==0){var d=i.lanes;d&=r.pendingLanes,c|=d,i.lanes=c,gp(r,c)}}var Bu={readContext:Wr,useCallback:Gn,useContext:Gn,useEffect:Gn,useImperativeHandle:Gn,useInsertionEffect:Gn,useLayoutEffect:Gn,useMemo:Gn,useReducer:Gn,useRef:Gn,useState:Gn,useDebugValue:Gn,useDeferredValue:Gn,useTransition:Gn,useMutableSource:Gn,useSyncExternalStore:Gn,useId:Gn,unstable_isNewReconciler:!1},a4={readContext:Wr,useCallback:function(r,i){return Eo().memoizedState=[r,i===void 0?null:i],r},useContext:Wr,useEffect:zA,useImperativeHandle:function(r,i,c){return c=c!=null?c.concat([r]):null,Xu(4194308,4,DA.bind(null,i,r),c)},useLayoutEffect:function(r,i){return Xu(4194308,4,r,i)},useInsertionEffect:function(r,i){return Xu(4,2,r,i)},useMemo:function(r,i){var c=Eo();return i=i===void 0?null:i,r=r(),c.memoizedState=[r,i],r},useReducer:function(r,i,c){var d=Eo();return i=c!==void 0?c(i):i,d.memoizedState=d.baseState=i,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:i},d.queue=r,r=r.dispatch=s4.bind(null,un,r),[d.memoizedState,r]},useRef:function(r){var i=Eo();return r={current:r},i.memoizedState=r},useState:jA,useDebugValue:gv,useDeferredValue:function(r){return Eo().memoizedState=r},useTransition:function(){var r=jA(!1),i=r[0];return r=o4.bind(null,r[1]),Eo().memoizedState=r,[i,r]},useMutableSource:function(){},useSyncExternalStore:function(r,i,c){var d=un,m=Eo();if(on){if(c===void 0)throw Error(n(407));c=c()}else{if(c=i(),Nn===null)throw Error(n(349));(ri&30)!==0||PA(d,i,c)}m.memoizedState=c;var P={value:c,getSnapshot:i};return m.queue=P,zA(xA.bind(null,d,P,r),[r]),d.flags|=2048,Pl(9,bA.bind(null,d,P,c,i),void 0,null),c},useId:function(){var r=Eo(),i=Nn.identifierPrefix;if(on){var c=_o,d=Ko;c=(d&~(1<<32-io(d)-1)).toString(32)+c,i=":"+i+"R"+c,c=gl++,0<\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=k.createElement(c,{is:d.is}):(r=k.createElement(c),c==="select"&&(k=r,d.multiple?k.multiple=!0:d.size&&(k.size=d.size))):r=k.createElementNS(r,c),r[ko]=i,r[fl]=d,tP(r,i,!1,!1),i.stateNode=r;e:{switch(k=Pe(c,d),c){case"dialog":en("cancel",r),en("close",r),m=d;break;case"iframe":case"object":case"embed":en("load",r),m=d;break;case"video":case"audio":for(m=0;moa&&(i.flags|=128,d=!0,bl(P,!1),i.lanes=4194304)}else{if(!d)if(r=Ru(k),r!==null){if(i.flags|=128,d=!0,c=r.updateQueue,c!==null&&(i.updateQueue=c,i.flags|=4),bl(P,!0),P.tail===null&&P.tailMode==="hidden"&&!k.alternate&&!on)return Un(i),null}else 2*Qt()-P.renderingStartTime>oa&&c!==1073741824&&(i.flags|=128,d=!0,bl(P,!1),i.lanes=4194304);P.isBackwards?(k.sibling=i.child,i.child=k):(c=P.last,c!==null?c.sibling=k:i.child=k,P.last=k)}return P.tail!==null?(i=P.tail,P.rendering=i,P.tail=i.sibling,P.renderingStartTime=Qt(),i.sibling=null,c=cn.current,Kt(cn,d?c&1|2:c&1),i):(Un(i),null);case 22:case 23:return Vv(),d=i.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(i.flags|=8192),d&&(i.mode&1)!==0?(Cr&1073741824)!==0&&(Un(i),i.subtreeFlags&6&&(i.flags|=8192)):Un(i),null;case 24:return null;case 25:return null}throw Error(n(156,i.tag))}function h4(r,i){switch(Up(i),i.tag){case 1:return cr(i.type)&&xu(),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return ea(),tn(lr),tn(Zn),uv(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 5:return lv(i),null;case 13:if(tn(cn),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(n(340));Qi()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return tn(cn),null;case 4:return ea(),null;case 10:return tv(i.type._context),null;case 22:case 23:return Vv(),null;case 24:return null;default:return null}}var Wu=!1,Qn=!1,m4=typeof WeakSet=="function"?WeakSet:Set,et=null;function na(r,i){var c=r.ref;if(c!==null)if(typeof c=="function")try{c(null)}catch(d){mn(r,i,d)}else c.current=null}function Cv(r,i,c){try{c()}catch(d){mn(r,i,d)}}var oP=!1;function y4(r,i){if(Vp=lu,r=Mg(),Tp(r)){if("selectionStart"in r)var c={start:r.selectionStart,end:r.selectionEnd};else e:{c=(c=r.ownerDocument)&&c.defaultView||window;var d=c.getSelection&&c.getSelection();if(d&&d.rangeCount!==0){c=d.anchorNode;var m=d.anchorOffset,P=d.focusNode;d=d.focusOffset;try{c.nodeType,P.nodeType}catch{c=null;break e}var k=0,V=-1,Z=-1,ue=0,je=0,Ce=r,He=null;t:for(;;){for(var Ge;Ce!==c||m!==0&&Ce.nodeType!==3||(V=k+m),Ce!==P||d!==0&&Ce.nodeType!==3||(Z=k+d),Ce.nodeType===3&&(k+=Ce.nodeValue.length),(Ge=Ce.firstChild)!==null;)He=Ce,Ce=Ge;for(;;){if(Ce===r)break t;if(He===c&&++ue===m&&(V=k),He===P&&++je===d&&(Z=k),(Ge=Ce.nextSibling)!==null)break;Ce=He,He=Ce.parentNode}Ce=Ge}c=V===-1||Z===-1?null:{start:V,end:Z}}else c=null}c=c||{start:0,end:0}}else c=null;for(Ip={focusedElem:r,selectionRange:c},lu=!1,et=i;et!==null;)if(i=et,r=i.child,(i.subtreeFlags&1028)!==0&&r!==null)r.return=i,et=r;else for(;et!==null;){i=et;try{var ot=i.alternate;if((i.flags&1024)!==0)switch(i.tag){case 0:case 11:case 15:break;case 1:if(ot!==null){var it=ot.memoizedProps,xn=ot.memoizedState,se=i.stateNode,ee=se.getSnapshotBeforeUpdate(i.elementType===i.type?it:co(i.type,it),xn);se.__reactInternalSnapshotBeforeUpdate=ee}break;case 3:var ae=i.stateNode.containerInfo;ae.nodeType===1?ae.textContent="":ae.nodeType===9&&ae.documentElement&&ae.removeChild(ae.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(ke){mn(i,i.return,ke)}if(r=i.sibling,r!==null){r.return=i.return,et=r;break}et=i.return}return ot=oP,oP=!1,ot}function xl(r,i,c){var d=i.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var m=d=d.next;do{if((m.tag&r)===r){var P=m.destroy;m.destroy=void 0,P!==void 0&&Cv(i,c,P)}m=m.next}while(m!==d)}}function Ju(r,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var c=i=i.next;do{if((c.tag&r)===r){var d=c.create;c.destroy=d()}c=c.next}while(c!==i)}}function Ov(r){var i=r.ref;if(i!==null){var c=r.stateNode;switch(r.tag){case 5:r=c;break;default:r=c}typeof i=="function"?i(r):i.current=r}}function sP(r){var i=r.alternate;i!==null&&(r.alternate=null,sP(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&(delete i[ko],delete i[fl],delete i[Yp],delete i[$9],delete i[e4])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function iP(r){return r.tag===5||r.tag===3||r.tag===4}function aP(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||iP(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Dv(r,i,c){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?c.nodeType===8?c.parentNode.insertBefore(r,i):c.insertBefore(r,i):(c.nodeType===8?(i=c.parentNode,i.insertBefore(r,c)):(i=c,i.appendChild(r)),c=c._reactRootContainer,c!=null||i.onclick!==null||(i.onclick=Pu));else if(d!==4&&(r=r.child,r!==null))for(Dv(r,i,c),r=r.sibling;r!==null;)Dv(r,i,c),r=r.sibling}function kv(r,i,c){var d=r.tag;if(d===5||d===6)r=r.stateNode,i?c.insertBefore(r,i):c.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(kv(r,i,c),r=r.sibling;r!==null;)kv(r,i,c),r=r.sibling}var Jn=null,uo=!1;function ks(r,i,c){for(c=c.child;c!==null;)lP(r,i,c),c=c.sibling}function lP(r,i,c){if(Br&&typeof Br.onCommitFiberUnmount=="function")try{Br.onCommitFiberUnmount(Do,c)}catch{}switch(c.tag){case 5:Qn||na(c,i);case 6:var d=Jn,m=uo;Jn=null,ks(r,i,c),Jn=d,uo=m,Jn!==null&&(uo?(r=Jn,c=c.stateNode,r.nodeType===8?r.parentNode.removeChild(c):r.removeChild(c)):Jn.removeChild(c.stateNode));break;case 18:Jn!==null&&(uo?(r=Jn,c=c.stateNode,r.nodeType===8?Fp(r.parentNode,c):r.nodeType===1&&Fp(r,c),el(r)):Fp(Jn,c.stateNode));break;case 4:d=Jn,m=uo,Jn=c.stateNode.containerInfo,uo=!0,ks(r,i,c),Jn=d,uo=m;break;case 0:case 11:case 14:case 15:if(!Qn&&(d=c.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){m=d=d.next;do{var P=m,k=P.destroy;P=P.tag,k!==void 0&&((P&2)!==0||(P&4)!==0)&&Cv(c,i,k),m=m.next}while(m!==d)}ks(r,i,c);break;case 1:if(!Qn&&(na(c,i),d=c.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=c.memoizedProps,d.state=c.memoizedState,d.componentWillUnmount()}catch(V){mn(c,i,V)}ks(r,i,c);break;case 21:ks(r,i,c);break;case 22:c.mode&1?(Qn=(d=Qn)||c.memoizedState!==null,ks(r,i,c),Qn=d):ks(r,i,c);break;default:ks(r,i,c)}}function cP(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var c=r.stateNode;c===null&&(c=r.stateNode=new m4),i.forEach(function(d){var m=S4.bind(null,r,d);c.has(d)||(c.add(d),d.then(m,m))})}}function fo(r,i){var c=i.deletions;if(c!==null)for(var d=0;dm&&(m=k),d&=~P}if(d=m,d=Qt()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*A4(d/1960))-d,10r?16:r,Es===null)var d=!1;else{if(r=Es,Es=null,Gu=0,(Nt&6)!==0)throw Error(n(331));var m=Nt;for(Nt|=4,et=r.current;et!==null;){var P=et,k=P.child;if((et.flags&16)!==0){var V=P.deletions;if(V!==null){for(var Z=0;ZQt()-Rv?ii(r,0):Ev|=c),dr(r,i)}function xP(r,i){i===0&&((r.mode&1)===0?i=1:(i=ou,ou<<=1,(ou&130023424)===0&&(ou=4194304)));var c=nr();r=$o(r,i),r!==null&&(Ua(r,i,c),dr(r,c))}function j4(r){var i=r.memoizedState,c=0;i!==null&&(c=i.retryLane),xP(r,c)}function S4(r,i){var c=0;switch(r.tag){case 13:var d=r.stateNode,m=r.memoizedState;m!==null&&(c=m.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(i),xP(r,c)}var wP;wP=function(r,i,c){if(r!==null)if(r.memoizedProps!==i.pendingProps||lr.current)ur=!0;else{if((r.lanes&c)===0&&(i.flags&128)===0)return ur=!1,p4(r,i,c);ur=(r.flags&131072)!==0}else ur=!1,on&&(i.flags&1048576)!==0&&tA(i,Su,i.index);switch(i.lanes=0,i.tag){case 2:var d=i.type;Iu(r,i),r=i.pendingProps;var m=Zi(i,Zn.current);_i(i,c),m=pv(null,i,d,r,m,c);var P=vv();return i.flags|=1,typeof m=="object"&&m!==null&&typeof m.render=="function"&&m.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,cr(d)?(P=!0,wu(i)):P=!1,i.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,ov(i),m.updater=Tu,i.stateNode=m,m._reactInternals=i,iv(i,d,r,c),i=xv(null,i,d,!0,P,c)):(i.tag=0,on&&P&&Gp(i),tr(null,i,m,c),i=i.child),i;case 16:d=i.elementType;e:{switch(Iu(r,i),r=i.pendingProps,m=d._init,d=m(d._payload),i.type=d,m=i.tag=C4(d),r=co(d,r),m){case 0:i=bv(null,i,d,r,c);break e;case 1:i=UA(null,i,d,r,c);break e;case 11:i=FA(null,i,d,r,c);break e;case 14:i=YA(null,i,d,co(d.type,r),c);break e}throw Error(n(306,d,""))}return i;case 0:return d=i.type,m=i.pendingProps,m=i.elementType===d?m:co(d,m),bv(r,i,d,m,c);case 1:return d=i.type,m=i.pendingProps,m=i.elementType===d?m:co(d,m),UA(r,i,d,m,c);case 3:e:{if(QA(i),r===null)throw Error(n(387));d=i.pendingProps,P=i.memoizedState,m=P.element,aA(r,i),ku(i,d,null,c);var k=i.memoizedState;if(d=k.element,P.isDehydrated)if(P={element:d,isDehydrated:!1,cache:k.cache,pendingSuspenseBoundaries:k.pendingSuspenseBoundaries,transitions:k.transitions},i.updateQueue.baseState=P,i.memoizedState=P,i.flags&256){m=ta(Error(n(423)),i),i=KA(r,i,d,c,m);break e}else if(d!==m){m=ta(Error(n(424)),i),i=KA(r,i,d,c,m);break e}else for(zr=js(i.stateNode.containerInfo.firstChild),Sr=i,on=!0,lo=null,c=mA(i,null,d,c),i.child=c;c;)c.flags=c.flags&-3|4096,c=c.sibling;else{if(Qi(),d===m){i=ts(r,i,c);break e}tr(r,i,d,c)}i=i.child}return i;case 5:return yA(i),r===null&&Kp(i),d=i.type,m=i.pendingProps,P=r!==null?r.memoizedProps:null,k=m.children,Wp(d,m)?k=null:P!==null&&Wp(d,P)&&(i.flags|=32),GA(r,i),tr(r,i,k,c),i.child;case 6:return r===null&&Kp(i),null;case 13:return _A(r,i,c);case 4:return av(i,i.stateNode.containerInfo),d=i.pendingProps,r===null?i.child=$i(i,null,d,c):tr(r,i,d,c),i.child;case 11:return d=i.type,m=i.pendingProps,m=i.elementType===d?m:co(d,m),FA(r,i,d,m,c);case 7:return tr(r,i,i.pendingProps,c),i.child;case 8:return tr(r,i,i.pendingProps.children,c),i.child;case 12:return tr(r,i,i.pendingProps.children,c),i.child;case 10:e:{if(d=i.type._context,m=i.pendingProps,P=i.memoizedProps,k=m.value,Kt(Cu,d._currentValue),d._currentValue=k,P!==null)if(ao(P.value,k)){if(P.children===m.children&&!lr.current){i=ts(r,i,c);break e}}else for(P=i.child,P!==null&&(P.return=i);P!==null;){var V=P.dependencies;if(V!==null){k=P.child;for(var Z=V.firstContext;Z!==null;){if(Z.context===d){if(P.tag===1){Z=es(-1,c&-c),Z.tag=2;var ue=P.updateQueue;if(ue!==null){ue=ue.shared;var je=ue.pending;je===null?Z.next=Z:(Z.next=je.next,je.next=Z),ue.pending=Z}}P.lanes|=c,Z=P.alternate,Z!==null&&(Z.lanes|=c),nv(P.return,c,i),V.lanes|=c;break}Z=Z.next}}else if(P.tag===10)k=P.type===i.type?null:P.child;else if(P.tag===18){if(k=P.return,k===null)throw Error(n(341));k.lanes|=c,V=k.alternate,V!==null&&(V.lanes|=c),nv(k,c,i),k=P.sibling}else k=P.child;if(k!==null)k.return=P;else for(k=P;k!==null;){if(k===i){k=null;break}if(P=k.sibling,P!==null){P.return=k.return,k=P;break}k=k.return}P=k}tr(r,i,m.children,c),i=i.child}return i;case 9:return m=i.type,d=i.pendingProps.children,_i(i,c),m=Wr(m),d=d(m),i.flags|=1,tr(r,i,d,c),i.child;case 14:return d=i.type,m=co(d,i.pendingProps),m=co(d.type,m),YA(r,i,d,m,c);case 15:return qA(r,i,i.type,i.pendingProps,c);case 17:return d=i.type,m=i.pendingProps,m=i.elementType===d?m:co(d,m),Iu(r,i),i.tag=1,cr(d)?(r=!0,wu(i)):r=!1,_i(i,c),dA(i,d,m),iv(i,d,m,c),xv(null,i,d,!0,r,c);case 19:return eP(r,i,c);case 22:return ZA(r,i,c)}throw Error(n(156,i.tag))};function HP(r,i){return Lt(r,i)}function z4(r,i,c,d){this.tag=r,this.key=c,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yr(r,i,c,d){return new z4(r,i,c,d)}function Wv(r){return r=r.prototype,!(!r||!r.isReactComponent)}function C4(r){if(typeof r=="function")return Wv(r)?1:0;if(r!=null){if(r=r.$$typeof,r===I)return 11;if(r===J)return 14}return 2}function Ls(r,i){var c=r.alternate;return c===null?(c=Yr(r.tag,i,r.key,r.mode),c.elementType=r.elementType,c.type=r.type,c.stateNode=r.stateNode,c.alternate=r,r.alternate=c):(c.pendingProps=i,c.type=r.type,c.flags=0,c.subtreeFlags=0,c.deletions=null),c.flags=r.flags&14680064,c.childLanes=r.childLanes,c.lanes=r.lanes,c.child=r.child,c.memoizedProps=r.memoizedProps,c.memoizedState=r.memoizedState,c.updateQueue=r.updateQueue,i=r.dependencies,c.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},c.sibling=r.sibling,c.index=r.index,c.ref=r.ref,c}function _u(r,i,c,d,m,P){var k=2;if(d=r,typeof r=="function")Wv(r)&&(k=1);else if(typeof r=="string")k=5;else e:switch(r){case R:return li(c.children,m,P,i);case L:k=8,m|=8;break;case M:return r=Yr(12,c,i,m|2),r.elementType=M,r.lanes=P,r;case W:return r=Yr(13,c,i,m),r.elementType=W,r.lanes=P,r;case ne:return r=Yr(19,c,i,m),r.elementType=ne,r.lanes=P,r;case re:return $u(c,m,P,i);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case w:k=10;break e;case N:k=9;break e;case I:k=11;break e;case J:k=14;break e;case U:k=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return i=Yr(k,c,i,m),i.elementType=r,i.type=d,i.lanes=P,i}function li(r,i,c,d){return r=Yr(7,r,d,i),r.lanes=c,r}function $u(r,i,c,d){return r=Yr(22,r,d,i),r.elementType=re,r.lanes=c,r.stateNode={isHidden:!1},r}function Jv(r,i,c){return r=Yr(6,r,null,i),r.lanes=c,r}function Fv(r,i,c){return i=Yr(4,r.children!==null?r.children:[],r.key,i),i.lanes=c,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}function O4(r,i,c,d,m){this.tag=i,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=yp(0),this.expirationTimes=yp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=yp(0),this.identifierPrefix=d,this.onRecoverableError=m,this.mutableSourceEagerHydrationData=null}function Yv(r,i,c,d,m,P,k,V,Z){return r=new O4(r,i,c,V,Z),i===1?(i=1,P===!0&&(i|=8)):i=0,P=Yr(3,null,null,i),r.current=P,P.stateNode=r,P.memoizedState={element:d,isDehydrated:c,cache:null,transitions:null,pendingSuspenseBoundaries:null},ov(P),r}function D4(r,i,c){var d=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),ih.exports=zH(),ih.exports}var Ew=Tw();const Ul=vd(Ew),Ab={disabled:!1},Kf=Be.createContext(null);var CH=function(t){return t.scrollTop},Ql="unmounted",di="exited",pi="entering",ma="entered",Jh="exiting",Ho=function(e){kw(t,e);function t(o,s){var a;a=e.call(this,o,s)||this;var l=s,u=l&&!l.isMounting?o.enter:o.appear,f;return a.appearStatus=null,o.in?u?(f=di,a.appearStatus=pi):f=ma:o.unmountOnExit||o.mountOnEnter?f=Ql:f=di,a.state={status:f},a.nextCallback=null,a}t.getDerivedStateFromProps=function(s,a){var l=s.in;return l&&a.status===Ql?{status:di}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var a=null;if(s!==this.props){var l=this.state.status;this.props.in?l!==pi&&l!==ma&&(a=pi):(l===pi||l===ma)&&(a=Jh)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,a,l,u;return a=l=u=s,s!=null&&typeof s!="number"&&(a=s.exit,l=s.enter,u=s.appear!==void 0?s.appear:l),{exit:a,enter:l,appear:u}},n.updateStatus=function(s,a){if(s===void 0&&(s=!1),a!==null)if(this.cancelNextCallback(),a===pi){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Ul.findDOMNode(this);l&&CH(l)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===di&&this.setState({status:Ql})},n.performEnter=function(s){var a=this,l=this.props.enter,u=this.context?this.context.isMounting:s,f=this.props.nodeRef?[u]:[Ul.findDOMNode(this),u],v=f[0],h=f[1],y=this.getTimeouts(),b=u?y.appear:y.enter;if(!s&&!l||Ab.disabled){this.safeSetState({status:ma},function(){a.props.onEntered(v)});return}this.props.onEnter(v,h),this.safeSetState({status:pi},function(){a.props.onEntering(v,h),a.onTransitionEnd(b,function(){a.safeSetState({status:ma},function(){a.props.onEntered(v,h)})})})},n.performExit=function(){var s=this,a=this.props.exit,l=this.getTimeouts(),u=this.props.nodeRef?void 0:Ul.findDOMNode(this);if(!a||Ab.disabled){this.safeSetState({status:di},function(){s.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:Jh},function(){s.props.onExiting(u),s.onTransitionEnd(l.exit,function(){s.safeSetState({status:di},function(){s.props.onExited(u)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,a){a=this.setNextCallback(a),this.setState(s,a)},n.setNextCallback=function(s){var a=this,l=!0;return this.nextCallback=function(u){l&&(l=!1,a.nextCallback=null,s(u))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},n.onTransitionEnd=function(s,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Ul.findDOMNode(this),u=s==null&&!this.props.addEndListener;if(!l||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var f=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],v=f[0],h=f[1];this.props.addEndListener(v,h)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===Ql)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=Gm(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Be.createElement(Kf.Provider,{value:null},typeof l=="function"?l(s,u):Be.cloneElement(Be.Children.only(l),u))},t}(Be.Component);Ho.contextType=Kf;Ho.propTypes={};function fa(){}Ho.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:fa,onEntering:fa,onEntered:fa,onExit:fa,onExiting:fa,onExited:fa};Ho.UNMOUNTED=Ql;Ho.EXITED=di;Ho.ENTERING=pi;Ho.ENTERED=ma;Ho.EXITING=Jh;function OH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Um(e,t){var n=function(a){return t&&g.isValidElement(a)?t(a):a},o=Object.create(null);return e&&g.Children.map(e,function(s){return s}).forEach(function(s){o[s.key]=n(s)}),o}function DH(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}var o=Object.create(null),s=[];for(var a in e)a in t?s.length&&(o[a]=s,s=[]):s.push(a);var l,u={};for(var f in t){if(o[f])for(l=0;le.scrollTop;function Oa(e,t){const{timeout:n,easing:o,style:s={}}=e;return{duration:s.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:s.transitionTimingFunction??(typeof o=="object"?o[t.mode]:o),delay:s.transitionDelay}}function MH(e){return Qe("MuiPaper",e)}Ke("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"]);const LH=e=>{const{square:t,elevation:n,variant:o,classes:s}=e,a={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${n}`]};return _e(a,MH,s)},XH=fe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.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)"}}]}))),Mr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiPaper"}),s=Xr(),{className:a,component:l="div",elevation:u=1,square:f=!1,variant:v="elevation",...h}=o,y={...o,component:l,elevation:u,square:f,variant:v},b=LH(y);return p.jsx(XH,{as:l,ownerState:y,className:ze(b.root,a),ref:n,...h,style:{...v==="elevation"&&{"--Paper-shadow":(s.vars||s).shadows[u],...s.vars&&{"--Paper-overlay":s.vars.overlays?.[u]},...!s.vars&&s.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Pt("#fff",Ih(u))}, ${Pt("#fff",Ih(u))})`}},...h.style}})});function lt(e,t){const{className:n,elementType:o,ownerState:s,externalForwardedProps:a,internalForwardedProps:l,shouldForwardComponentProp:u=!1,...f}=t,{component:v,slots:h={[e]:void 0},slotProps:y={[e]:void 0},...b}=a,j=h[e]||o,x=yw(y[e],s),{props:{component:A,...H},internalRef:S}=mw({className:n,...f,externalForwardedProps:e==="root"?b:void 0,externalSlotProps:x}),z=ln(S,x?.ref,t.ref),C=e==="root"?A||v:A,O=hw(j,{...e==="root"&&!v&&!h[e]&&l,...e!=="root"&&!h[e]&&l,...H,...C&&!u&&{as:C},...C&&u&&{component:C},ref:z},s);return[j,O]}class _f{static create(){return new _f}static use(){const t=pw(_f.create).current,[n,o]=g.useState(!1);return t.shouldMount=n,t.setShouldMount=o,g.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=BH(),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(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function NH(){return _f.use()}function BH(){let e,t;const n=new Promise((o,s)=>{e=o,t=s});return n.resolve=e,n.reject=t,n}function VH(e){const{className:t,classes:n,pulsate:o=!1,rippleX:s,rippleY:a,rippleSize:l,in:u,onExited:f,timeout:v}=e,[h,y]=g.useState(!1),b=ze(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),j={width:l,height:l,top:-(l/2)+a,left:-(l/2)+s},x=ze(n.child,h&&n.childLeaving,o&&n.childPulsate);return!u&&!h&&y(!0),g.useEffect(()=>{if(!u&&f!=null){const A=setTimeout(f,v);return()=>{clearTimeout(A)}}},[f,u,v]),p.jsx("span",{className:b,style:j,children:p.jsx("span",{className:x})})}const Zr=Ke("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Fh=550,IH=80,WH=Tc` 0% { transform: scale(0); opacity: 0.1; @@ -103,7 +103,7 @@ Error generating stack: `+x.message+` transform: scale(1); opacity: 0.3; } -`,IH=kc` +`,JH=Tc` 0% { opacity: 1; } @@ -111,7 +111,7 @@ Error generating stack: `+x.message+` 100% { opacity: 0; } -`,WH=kc` +`,FH=Tc` 0% { transform: scale(1); } @@ -123,15 +123,15 @@ Error generating stack: `+x.message+` 100% { transform: scale(1); } -`,JH=fe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),FH=fe(NH,{name:"MuiTouchRipple",slot:"Ripple"})` +`,YH=fe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),qH=fe(VH,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${Zr.rippleVisible} { opacity: 0.3; transform: scale(1); - animation-name: ${VH}; - animation-duration: ${Bh}ms; + animation-name: ${WH}; + animation-duration: ${Fh}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -150,8 +150,8 @@ Error generating stack: `+x.message+` & .${Zr.childLeaving} { opacity: 0; - animation-name: ${IH}; - animation-duration: ${Bh}ms; + animation-name: ${JH}; + animation-duration: ${Fh}ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; } @@ -160,13 +160,13 @@ Error generating stack: `+x.message+` /* @noflip */ left: 0px; top: 0; - animation-name: ${WH}; + animation-name: ${FH}; animation-duration: 2500ms; animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } -`,YH=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=o,[f,v]=g.useState([]),h=g.useRef(0),y=g.useRef(null);g.useEffect(()=>{y.current&&(y.current(),y.current=null)},[f]);const P=g.useRef(!1),j=vi(),A=g.useRef(null),b=g.useRef(null),H=g.useCallback(O=>{const{pulsate:D,rippleX:T,rippleY:R,rippleSize:M,cb:L}=O;v(w=>[...w,p.jsx(FH,{classes:{ripple:ze(a.ripple,Zr.ripple),rippleVisible:ze(a.rippleVisible,Zr.rippleVisible),ripplePulsate:ze(a.ripplePulsate,Zr.ripplePulsate),child:ze(a.child,Zr.child),childLeaving:ze(a.childLeaving,Zr.childLeaving),childPulsate:ze(a.childPulsate,Zr.childPulsate)},timeout:Bh,pulsate:D,rippleX:T,rippleY:R,rippleSize:M},h.current)]),h.current+=1,y.current=L},[a]),S=g.useCallback((O={},D={},T=()=>{})=>{const{pulsate:R=!1,center:M=s||D.pulsate,fakeElement:L=!1}=D;if(O?.type==="mousedown"&&P.current){P.current=!1;return}O?.type==="touchstart"&&(P.current=!0);const w=L?null:b.current,N=w?w.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,W,Q;if(M||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)I=Math.round(N.width/2),W=Math.round(N.height/2);else{const{clientX:J,clientY:U}=O.touches&&O.touches.length>0?O.touches[0]:O;I=Math.round(J-N.left),W=Math.round(U-N.top)}if(M)Q=Math.sqrt((2*N.width**2+N.height**2)/3),Q%2===0&&(Q+=1);else{const J=Math.max(Math.abs((w?w.clientWidth:0)-I),I)*2+2,U=Math.max(Math.abs((w?w.clientHeight:0)-W),W)*2+2;Q=Math.sqrt(J**2+U**2)}O?.touches?A.current===null&&(A.current=()=>{H({pulsate:R,rippleX:I,rippleY:W,rippleSize:Q,cb:T})},j.start(BH,()=>{A.current&&(A.current(),A.current=null)})):H({pulsate:R,rippleX:I,rippleY:W,rippleSize:Q,cb:T})},[s,H,j]),z=g.useCallback(()=>{S({},{pulsate:!0})},[S]),C=g.useCallback((O,D)=>{if(j.clear(),O?.type==="touchend"&&A.current){A.current(),A.current=null,j.start(0,()=>{C(O,D)});return}A.current=null,v(T=>T.length>0?T.slice(1):T),y.current=D},[j]);return g.useImperativeHandle(n,()=>({pulsate:z,start:S,stop:C}),[z,S,C]),p.jsx(JH,{className:ze(Zr.root,a.root,l),ref:b,...u,children:p.jsx(qm,{component:null,exit:!0,children:f})})});function qH(e){return Ue("MuiButtonBase",e)}const ZH=Qe("MuiButtonBase",["root","disabled","focusVisible"]),GH=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:o,classes:s}=e,l=Ke({root:["root",t&&"disabled",n&&"focusVisible"]},qH,s);return n&&o&&(l.root+=` ${o}`),l},UH=fe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.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"},[`&.${ZH.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Hi=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:u,component:f="button",disabled:v=!1,disableRipple:h=!1,disableTouchRipple:y=!1,focusRipple:P=!1,focusVisibleClassName:j,LinkComponent:A="a",onBlur:b,onClick:H,onContextMenu:S,onDragLeave:z,onFocus:C,onFocusVisible:O,onKeyDown:D,onKeyUp:T,onMouseDown:R,onMouseLeave:M,onMouseUp:L,onTouchEnd:w,onTouchMove:N,onTouchStart:I,tabIndex:W=0,TouchRippleProps:Q,touchRippleRef:J,type:U,...re}=o,K=g.useRef(null),Y=LH(),E=ln(Y.ref,J),[q,X]=g.useState(!1);v&&q&&X(!1),g.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),K.current.focus()}}),[]);const $=Y.shouldMount&&!h&&!v;g.useEffect(()=>{q&&P&&!h&&Y.pulsate()},[h,P,q,Y]);const ne=os(Y,"start",R,y),oe=os(Y,"stop",S,y),le=os(Y,"stop",z,y),be=os(Y,"stop",L,y),ie=os(Y,"stop",ee=>{q&&ee.preventDefault(),M&&M(ee)},y),xe=os(Y,"start",I,y),Oe=os(Y,"stop",w,y),Le=os(Y,"stop",N,y),Ae=os(Y,"stop",ee=>{Sa(ee.target)||X(!1),b&&b(ee)},!1),Ye=$n(ee=>{K.current||(K.current=ee.currentTarget),Sa(ee.target)&&(X(!0),O&&O(ee)),C&&C(ee)}),ge=()=>{const ee=K.current;return f&&f!=="button"&&!(ee.tagName==="A"&&ee.href)},Je=$n(ee=>{P&&!ee.repeat&&q&&ee.key===" "&&Y.stop(ee,()=>{Y.start(ee)}),ee.target===ee.currentTarget&&ge()&&ee.key===" "&&ee.preventDefault(),D&&D(ee),ee.target===ee.currentTarget&&ge()&&ee.key==="Enter"&&!v&&(ee.preventDefault(),H&&H(ee))}),yt=$n(ee=>{P&&ee.key===" "&&q&&!ee.defaultPrevented&&Y.stop(ee,()=>{Y.pulsate(ee)}),T&&T(ee),H&&ee.target===ee.currentTarget&&ge()&&ee.key===" "&&!ee.defaultPrevented&&H(ee)});let Me=f;Me==="button"&&(re.href||re.to)&&(Me=A);const ht={};Me==="button"?(ht.type=U===void 0?"button":U,ht.disabled=v):(!re.href&&!re.to&&(ht.role="button"),v&&(ht["aria-disabled"]=v));const ct=ln(n,K),B={...o,centerRipple:a,component:f,disabled:v,disableRipple:h,disableTouchRipple:y,focusRipple:P,tabIndex:W,focusVisible:q},_=GH(B);return p.jsxs(UH,{as:Me,className:ze(_.root,u),ownerState:B,onBlur:Ae,onClick:H,onContextMenu:oe,onFocus:Ye,onKeyDown:Je,onKeyUp:yt,onMouseDown:ne,onMouseLeave:ie,onMouseUp:be,onDragLeave:le,onTouchEnd:Oe,onTouchMove:Le,onTouchStart:xe,ref:ct,tabIndex:v?-1:W,type:U,...ht,...re,children:[l,$?p.jsx(YH,{ref:E,center:a,...Q}):null]})});function os(e,t,n,o=!1){return $n(s=>(n&&n(s),o||e[t](s),!0))}function QH(e){return typeof e.main=="string"}function KH(e,t=[]){if(!QH(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function fn(e=[]){return([,t])=>t&&KH(t,e)}function _H(e){return Ue("MuiAlert",e)}const mb=Qe("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function $H(e){return Ue("MuiCircularProgress",e)}Qe("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Xs=44,Vh=kc` +`,ZH=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:a={},className:l,...u}=o,[f,v]=g.useState([]),h=g.useRef(0),y=g.useRef(null);g.useEffect(()=>{y.current&&(y.current(),y.current=null)},[f]);const b=g.useRef(!1),j=mi(),x=g.useRef(null),A=g.useRef(null),H=g.useCallback(O=>{const{pulsate:D,rippleX:T,rippleY:R,rippleSize:L,cb:M}=O;v(w=>[...w,p.jsx(qH,{classes:{ripple:ze(a.ripple,Zr.ripple),rippleVisible:ze(a.rippleVisible,Zr.rippleVisible),ripplePulsate:ze(a.ripplePulsate,Zr.ripplePulsate),child:ze(a.child,Zr.child),childLeaving:ze(a.childLeaving,Zr.childLeaving),childPulsate:ze(a.childPulsate,Zr.childPulsate)},timeout:Fh,pulsate:D,rippleX:T,rippleY:R,rippleSize:L},h.current)]),h.current+=1,y.current=M},[a]),S=g.useCallback((O={},D={},T=()=>{})=>{const{pulsate:R=!1,center:L=s||D.pulsate,fakeElement:M=!1}=D;if(O?.type==="mousedown"&&b.current){b.current=!1;return}O?.type==="touchstart"&&(b.current=!0);const w=M?null:A.current,N=w?w.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,W,ne;if(L||O===void 0||O.clientX===0&&O.clientY===0||!O.clientX&&!O.touches)I=Math.round(N.width/2),W=Math.round(N.height/2);else{const{clientX:J,clientY:U}=O.touches&&O.touches.length>0?O.touches[0]:O;I=Math.round(J-N.left),W=Math.round(U-N.top)}if(L)ne=Math.sqrt((2*N.width**2+N.height**2)/3),ne%2===0&&(ne+=1);else{const J=Math.max(Math.abs((w?w.clientWidth:0)-I),I)*2+2,U=Math.max(Math.abs((w?w.clientHeight:0)-W),W)*2+2;ne=Math.sqrt(J**2+U**2)}O?.touches?x.current===null&&(x.current=()=>{H({pulsate:R,rippleX:I,rippleY:W,rippleSize:ne,cb:T})},j.start(IH,()=>{x.current&&(x.current(),x.current=null)})):H({pulsate:R,rippleX:I,rippleY:W,rippleSize:ne,cb:T})},[s,H,j]),z=g.useCallback(()=>{S({},{pulsate:!0})},[S]),C=g.useCallback((O,D)=>{if(j.clear(),O?.type==="touchend"&&x.current){x.current(),x.current=null,j.start(0,()=>{C(O,D)});return}x.current=null,v(T=>T.length>0?T.slice(1):T),y.current=D},[j]);return g.useImperativeHandle(n,()=>({pulsate:z,start:S,stop:C}),[z,S,C]),p.jsx(YH,{className:ze(Zr.root,a.root,l),ref:A,...u,children:p.jsx(Qm,{component:null,exit:!0,children:f})})});function GH(e){return Qe("MuiButtonBase",e)}const UH=Ke("MuiButtonBase",["root","disabled","focusVisible"]),QH=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:o,classes:s}=e,l=_e({root:["root",t&&"disabled",n&&"focusVisible"]},GH,s);return n&&o&&(l.root+=` ${o}`),l},KH=fe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.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"},[`&.${UH.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Si=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:a=!1,children:l,className:u,component:f="button",disabled:v=!1,disableRipple:h=!1,disableTouchRipple:y=!1,focusRipple:b=!1,focusVisibleClassName:j,LinkComponent:x="a",onBlur:A,onClick:H,onContextMenu:S,onDragLeave:z,onFocus:C,onFocusVisible:O,onKeyDown:D,onKeyUp:T,onMouseDown:R,onMouseLeave:L,onMouseUp:M,onTouchEnd:w,onTouchMove:N,onTouchStart:I,tabIndex:W=0,TouchRippleProps:ne,touchRippleRef:J,type:U,...re}=o,K=g.useRef(null),Y=NH(),E=ln(Y.ref,J),[q,X]=g.useState(!1);v&&q&&X(!1),g.useImperativeHandle(s,()=>({focusVisible:()=>{X(!0),K.current.focus()}}),[]);const _=Y.shouldMount&&!h&&!v;g.useEffect(()=>{q&&b&&!h&&Y.pulsate()},[h,b,q,Y]);const te=os(Y,"start",R,y),oe=os(Y,"stop",S,y),le=os(Y,"stop",z,y),be=os(Y,"stop",M,y),ie=os(Y,"stop",$=>{q&&$.preventDefault(),L&&L($)},y),xe=os(Y,"start",I,y),Oe=os(Y,"stop",w,y),Le=os(Y,"stop",N,y),Ae=os(Y,"stop",$=>{Ca($.target)||X(!1),A&&A($)},!1),Ye=$n($=>{K.current||(K.current=$.currentTarget),Ca($.target)&&(X(!0),O&&O($)),C&&C($)}),ye=()=>{const $=K.current;return f&&f!=="button"&&!($.tagName==="A"&&$.href)},Je=$n($=>{b&&!$.repeat&&q&&$.key===" "&&Y.stop($,()=>{Y.start($)}),$.target===$.currentTarget&&ye()&&$.key===" "&&$.preventDefault(),D&&D($),$.target===$.currentTarget&&ye()&&$.key==="Enter"&&!v&&($.preventDefault(),H&&H($))}),yt=$n($=>{b&&$.key===" "&&q&&!$.defaultPrevented&&Y.stop($,()=>{Y.pulsate($)}),T&&T($),H&&$.target===$.currentTarget&&ye()&&$.key===" "&&!$.defaultPrevented&&H($)});let Me=f;Me==="button"&&(re.href||re.to)&&(Me=x);const ht={};Me==="button"?(ht.type=U===void 0?"button":U,ht.disabled=v):(!re.href&&!re.to&&(ht.role="button"),v&&(ht["aria-disabled"]=v));const ct=ln(n,K),B={...o,centerRipple:a,component:f,disabled:v,disableRipple:h,disableTouchRipple:y,focusRipple:b,tabIndex:W,focusVisible:q},Q=QH(B);return p.jsxs(KH,{as:Me,className:ze(Q.root,u),ownerState:B,onBlur:Ae,onClick:H,onContextMenu:oe,onFocus:Ye,onKeyDown:Je,onKeyUp:yt,onMouseDown:te,onMouseLeave:ie,onMouseUp:be,onDragLeave:le,onTouchEnd:Oe,onTouchMove:Le,onTouchStart:xe,ref:ct,tabIndex:v?-1:W,type:U,...ht,...re,children:[l,_?p.jsx(ZH,{ref:E,center:a,...ne}):null]})});function os(e,t,n,o=!1){return $n(s=>(n&&n(s),o||e[t](s),!0))}function _H(e){return typeof e.main=="string"}function $H(e,t=[]){if(!_H(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function fn(e=[]){return([,t])=>t&&$H(t,e)}function ej(e){return Qe("MuiAlert",e)}const Pb=Ke("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function tj(e){return Qe("MuiCircularProgress",e)}Ke("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Ns=44,Yh=Tc` 0% { transform: rotate(0deg); } @@ -174,7 +174,7 @@ Error generating stack: `+x.message+` 100% { transform: rotate(360deg); } -`,Ih=kc` +`,qh=Tc` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -189,23 +189,32 @@ Error generating stack: `+x.message+` stroke-dasharray: 1px, 200px; stroke-dashoffset: -126px; } -`,ej=typeof Vh!="string"?km` - animation: ${Vh} 1.4s linear infinite; - `:null,tj=typeof Ih!="string"?km` - animation: ${Ih} 1.4s ease-in-out infinite; - `:null,nj=e=>{const{classes:t,variant:n,color:o,disableShrink:s}=e,a={root:["root",n,`color${ve(o)}`],svg:["svg"],circle:["circle",`circle${ve(n)}`,s&&"circleDisableShrink"]};return Ke(a,$H,t)},rj=fe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:ej||{animation:`${Vh} 1.4s linear infinite`}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),oj=fe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),sj=fe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ve(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(tt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:tj||{animation:`${Ih} 1.4s ease-in-out infinite`}}]}))),La=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:u=40,style:f,thickness:v=3.6,value:h=0,variant:y="indeterminate",...P}=o,j={...o,color:a,disableShrink:l,size:u,thickness:v,value:h,variant:y},A=nj(j),b={},H={},S={};if(y==="determinate"){const z=2*Math.PI*((Xs-v)/2);b.strokeDasharray=z.toFixed(3),S["aria-valuenow"]=Math.round(h),b.strokeDashoffset=`${((100-h)/100*z).toFixed(3)}px`,H.transform="rotate(-90deg)"}return p.jsx(rj,{className:ze(A.root,s),style:{width:u,height:u,...H,...f},ownerState:j,ref:n,role:"progressbar",...S,...P,children:p.jsx(oj,{className:A.svg,ownerState:j,viewBox:`${Xs/2} ${Xs/2} ${Xs} ${Xs}`,children:p.jsx(sj,{className:A.circle,style:b,ownerState:j,cx:Xs,cy:Xs,r:(Xs-v)/2,fill:"none",strokeWidth:v})})})});function ij(e){return Ue("MuiIconButton",e)}const yb=Qe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),aj=e=>{const{classes:t,disabled:n,color:o,edge:s,size:a,loading:l}=e,u={root:["root",l&&"loading",n&&"disabled",o!=="default"&&`color${ve(o)}`,s&&`edge${ve(s)}`,`size${ve(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return Ke(u,ij,t)},lj=fe(Hi,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${ve(n.color)}`],n.edge&&t[`edge${ve(n.edge)}`],t[`size${ve(n.size)}`]]}})(tt(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,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}}]})),tt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt((e.vars||e).palette[t].main,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)}}],[`&.${yb.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${yb.loading}`]:{color:"transparent"}}))),cj=fe("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.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"}}]})),hr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:v=!1,size:h="medium",id:y,loading:P=null,loadingIndicator:j,...A}=o,b=bo(y),H=j??p.jsx(La,{"aria-labelledby":b,color:"inherit",size:16}),S={...o,edge:s,color:u,disabled:f,disableFocusRipple:v,loading:P,loadingIndicator:H,size:h},z=aj(S);return p.jsxs(lj,{id:P?b:y,className:ze(z.root,l),centerRipple:!0,focusRipple:!v,disabled:f||P,ref:n,...A,ownerState:S,children:[typeof P=="boolean"&&p.jsx("span",{className:z.loadingWrapper,style:{display:"contents"},children:p.jsx(cj,{className:z.loadingIndicator,ownerState:S,children:P&&H})}),a]})}),uj=At(p.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),fj=At(p.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),dj=At(p.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),pj=At(p.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),kw=At(p.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),vj=e=>{const{variant:t,color:n,severity:o,classes:s}=e,a={root:["root",`color${ve(n||o)}`,`${t}${ve(n||o)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Ke(a,_H,s)},hj=fe(Mr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ve(n.color||n.severity)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?xi:wi,n=e.palette.mode==="light"?wi:xi;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(fn(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:n(e.palette[o].light,.9),[`& .${mb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(fn(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${mb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(fn(["dark"])).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText(e.palette[o].main)}}}))]}})),mj=fe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),yj=fe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),gj=fe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),gb={success:p.jsx(uj,{fontSize:"inherit"}),warning:p.jsx(fj,{fontSize:"inherit"}),error:p.jsx(dj,{fontSize:"inherit"}),info:p.jsx(pj,{fontSize:"inherit"})},Gm=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:v={},componentsProps:h={},icon:y,iconMapping:P=gb,onClose:j,role:A="alert",severity:b="success",slotProps:H={},slots:S={},variant:z="standard",...C}=o,O={...o,color:f,severity:b,variant:z,colorSeverity:f||b},D=vj(O),T={slots:{closeButton:v.CloseButton,closeIcon:v.CloseIcon,...S},slotProps:{...h,...H}},[R,M]=lt("root",{ref:n,shouldForwardComponentProp:!0,className:ze(D.root,l),elementType:hj,externalForwardedProps:{...T,...C},ownerState:O,additionalProps:{role:A,elevation:0}}),[L,w]=lt("icon",{className:D.icon,elementType:mj,externalForwardedProps:T,ownerState:O}),[N,I]=lt("message",{className:D.message,elementType:yj,externalForwardedProps:T,ownerState:O}),[W,Q]=lt("action",{className:D.action,elementType:gj,externalForwardedProps:T,ownerState:O}),[J,U]=lt("closeButton",{elementType:hr,externalForwardedProps:T,ownerState:O}),[re,K]=lt("closeIcon",{elementType:kw,externalForwardedProps:T,ownerState:O});return p.jsxs(R,{...M,children:[y!==!1?p.jsx(L,{...w,children:y||P[b]||gb[b]}):null,p.jsx(N,{...I,children:a}),s!=null?p.jsx(W,{...Q,children:s}):null,s==null&&j?p.jsx(W,{...Q,children:p.jsx(J,{size:"small","aria-label":u,title:u,color:"inherit",onClick:j,...U,children:p.jsx(re,{fontSize:"small",...K})})}):null]})});function Aj(e){return Ue("MuiTypography",e)}const Ab=Qe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),Pj={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},bj=AH(),xj=e=>{const{align:t,gutterBottom:n,noWrap:o,paragraph:s,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${ve(t)}`,n&&"gutterBottom",o&&"noWrap",s&&"paragraph"]};return Ke(u,Aj,l)},wj=fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ve(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(tt(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,n])=>t!=="inherit"&&n&&typeof n=="object").map(([t,n])=>({props:{variant:t},style:n})),...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${ve(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),Pb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},wt=g.forwardRef(function(t,n){const{color:o,...s}=nt({props:t,name:"MuiTypography"}),a=!Pj[o],l=bj({...s,...a&&{color:o}}),{align:u="inherit",className:f,component:v,gutterBottom:h=!1,noWrap:y=!1,paragraph:P=!1,variant:j="body1",variantMapping:A=Pb,...b}=l,H={...l,align:u,color:o,className:f,component:v,gutterBottom:h,noWrap:y,paragraph:P,variant:j,variantMapping:A},S=v||(P?"p":A[j]||Pb[j])||"span",z=xj(H);return p.jsx(wj,{as:S,ref:n,className:ze(z.root,f),...b,ownerState:H,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...b.style}})});function Hj(e){return Ue("MuiAppBar",e)}Qe("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const jj=e=>{const{color:t,position:n,classes:o}=e,s={root:["root",`color${ve(t)}`,`position${ve(n)}`]};return Ke(s,Hj,o)},bb=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,Sj=fe(Mr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ve(n.position)}`],t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(fn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?bb(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?bb(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),zj=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:u="fixed",...f}=o,v={...o,color:a,position:u,enableColorOnDark:l},h=jj(v);return p.jsx(Sj,{square:!0,component:"header",ownerState:v,elevation:4,className:ze(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function xb(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Cj(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:o,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:f,getOptionLabel:v})=>{let h=l?f.trim():f;n&&(h=h.toLowerCase()),t&&(h=xb(h));const y=h?u.filter(P=>{let j=(a||v)(P);return n&&(j=j.toLowerCase()),t&&(j=xb(j)),s==="start"?j.startsWith(h):j.includes(h)}):u;return typeof o=="number"?y.slice(0,o):y}}const Oj=Cj(),Dj=5,kj=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),Tj=[];function wb(e,t,n){if(t||e==null)return"";const o=n(e);return typeof o=="string"?o:""}function Ej(e){const{unstable_isActiveElementInListbox:t=kj,unstable_classNamePrefix:n="Mui",autoComplete:o=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:v="useAutocomplete",defaultValue:h=e.multiple?Tj:null,disableClearable:y=!1,disableCloseOnSelect:P=!1,disabled:j,disabledItemsFocusable:A=!1,disableListWrap:b=!1,filterOptions:H=Oj,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:C,getOptionKey:O,getOptionLabel:D=de=>de.label??de,groupBy:T,handleHomeEndKeys:R=!e.freeSolo,id:M,includeInputInList:L=!1,inputValue:w,isOptionEqualToValue:N=(de,he)=>de===he,multiple:I=!1,onChange:W,onClose:Q,onHighlightChange:J,onInputChange:U,onOpen:re,open:K,openOnFocus:Y=!1,options:E,readOnly:q=!1,selectOnFocus:X=!e.freeSolo,value:$}=e,ne=bo(M);let oe=D;oe=de=>{const he=D(de);return typeof he!="string"?String(he):he};const le=g.useRef(!1),be=g.useRef(!0),ie=g.useRef(null),xe=g.useRef(null),[Oe,Le]=g.useState(null),[Ae,Ye]=g.useState(-1),ge=s?0:-1,Je=g.useRef(ge),yt=g.useRef(wb(h??$,I,oe)).current,[Me,ht]=Ws({controlled:$,default:h,name:v}),[ct,B]=Ws({controlled:w,default:yt,name:v,state:"inputValue"}),[_,ee]=g.useState(!1),we=g.useCallback((de,he,Be)=>{if(!(I?Me.length!(S&&(I?Me:[Me]).some(he=>he!==null&&N(de,he)))),{inputValue:_e&&De?"":ct,getOptionLabel:oe}):[],Ie=a7({filteredOptions:ft,value:Me,inputValue:ct});g.useEffect(()=>{const de=Me!==Ie.value;_&&!de||z&&!de||we(null,Me,"reset")},[Me,we,_,Ie.value,z]);const Ft=ce&&ft.length>0&&!q,Mt=$n(de=>{de===-1?ie.current.focus():Oe.querySelector(`[data-tag-index="${de}"]`).focus()});g.useEffect(()=>{I&&Ae>Me.length-1&&(Ye(-1),Mt(-1))},[Me,I,Ae,Mt]);function qe(de,he){if(!xe.current||de<0||de>=ft.length)return-1;let Be=de;for(;;){const bt=xe.current.querySelector(`[data-option-index="${Be}"]`),Ht=A?!1:!bt||bt.disabled||bt.getAttribute("aria-disabled")==="true";if(bt&&bt.hasAttribute("tabindex")&&!Ht)return Be;if(he==="next"?Be=(Be+1)%ft.length:Be=(Be-1+ft.length)%ft.length,Be===de)return-1}}const G=$n(({event:de,index:he,reason:Be})=>{if(Je.current=he,he===-1?ie.current.removeAttribute("aria-activedescendant"):ie.current.setAttribute("aria-activedescendant",`${ne}-option-${he}`),J&&["mouse","keyboard","touch"].includes(Be)&&J(de,he===-1?null:ft[he],Be),!xe.current)return;const bt=xe.current.querySelector(`[role="option"].${n}-focused`);bt&&(bt.classList.remove(`${n}-focused`),bt.classList.remove(`${n}-focusVisible`));let Ht=xe.current;if(xe.current.getAttribute("role")!=="listbox"&&(Ht=xe.current.parentElement.querySelector('[role="listbox"]')),!Ht)return;if(he===-1){Ht.scrollTop=0;return}const Lt=xe.current.querySelector(`[data-option-index="${he}"]`);if(Lt&&(Lt.classList.add(`${n}-focused`),Be==="keyboard"&&Lt.classList.add(`${n}-focusVisible`),Ht.scrollHeight>Ht.clientHeight&&Be!=="mouse"&&Be!=="touch")){const qt=Lt,xn=Ht.clientHeight+Ht.scrollTop,ys=qt.offsetTop+qt.offsetHeight;ys>xn?Ht.scrollTop=ys-Ht.clientHeight:qt.offsetTop-qt.offsetHeight*(T?1.3:0){if(!gt)return;const Lt=qe((()=>{const qt=ft.length-1;if(he==="reset")return ge;if(he==="start")return 0;if(he==="end")return qt;const xn=Je.current+he;return xn<0?xn===-1&&L?-1:b&&Je.current!==-1||Math.abs(he)>1?0:qt:xn>qt?xn===qt+1&&L?-1:b||Math.abs(he)>1?qt:0:xn})(),Be);if(G({index:Lt,reason:bt,event:de}),o&&he!=="reset")if(Lt===-1)ie.current.value=ct;else{const qt=oe(ft[Lt]);ie.current.value=qt,qt.toLowerCase().indexOf(ct.toLowerCase())===0&&ct.length>0&&ie.current.setSelectionRange(ct.length,qt.length)}}),Pe=()=>{const de=(he,Be)=>{const bt=he?oe(he):"",Ht=Be?oe(Be):"";return bt===Ht};if(Je.current!==-1&&Ie.filteredOptions&&Ie.filteredOptions.length!==ft.length&&Ie.inputValue===ct&&(I?Me.length===Ie.value.length&&Ie.value.every((he,Be)=>oe(Me[Be])===oe(he)):de(Ie.value,Me))){const he=Ie.filteredOptions[Je.current];if(he)return ft.findIndex(Be=>oe(Be)===oe(he))}return-1},Se=g.useCallback(()=>{if(!gt)return;const de=Pe();if(de!==-1){Je.current=de;return}const he=I?Me[0]:Me;if(ft.length===0||he==null){F({diff:"reset"});return}if(xe.current){if(he!=null){const Be=ft[Je.current];if(I&&Be&&Me.findIndex(Ht=>N(Be,Ht))!==-1)return;const bt=ft.findIndex(Ht=>N(Ht,he));bt===-1?F({diff:"reset"}):G({index:bt});return}if(Je.current>=ft.length-1){G({index:ft.length-1});return}G({index:Je.current})}},[ft.length,I?!1:Me,S,F,G,gt,ct,I]),Te=$n(de=>{Rh(xe,de),de&&Se()});g.useEffect(()=>{Se()},[Se]);const Re=de=>{ce||(me(!0),Ve(!0),re&&re(de))},Ge=(de,he)=>{ce&&(me(!1),Q&&Q(de,he))},Xe=(de,he,Be,bt)=>{if(I){if(Me.length===he.length&&Me.every((Ht,Lt)=>Ht===he[Lt]))return}else if(Me===he)return;W&&W(de,he,Be,bt),ht(he)},rt=g.useRef(!1),ut=(de,he,Be="selectOption",bt="options")=>{let Ht=Be,Lt=he;if(I){Lt=Array.isArray(Me)?Me.slice():[];const qt=Lt.findIndex(xn=>N(he,xn));qt===-1?Lt.push(he):bt!=="freeSolo"&&(Lt.splice(qt,1),Ht="removeOption")}we(de,Lt,Ht),Xe(de,Lt,Ht,{option:he}),!P&&(!de||!de.ctrlKey&&!de.metaKey)&&Ge(de,Ht),(l===!0||l==="touch"&&rt.current||l==="mouse"&&!rt.current)&&ie.current.blur()};function Tt(de,he){if(de===-1)return-1;let Be=de;for(;;){if(he==="next"&&Be===Me.length||he==="previous"&&Be===-1)return-1;const bt=Oe.querySelector(`[data-tag-index="${Be}"]`);if(!bt||!bt.hasAttribute("tabindex")||bt.disabled||bt.getAttribute("aria-disabled")==="true")Be+=he==="next"?1:-1;else return Be}}const Yt=(de,he)=>{if(!I)return;ct===""&&Ge(de,"toggleInput");let Be=Ae;Ae===-1?ct===""&&he==="previous"&&(Be=Me.length-1):(Be+=he==="next"?1:-1,Be<0&&(Be=0),Be===Me.length&&(Be=-1)),Be=Tt(Be,he),Ye(Be),Mt(Be)},Fe=de=>{le.current=!0,B(""),U&&U(de,"","clear"),Xe(de,I?[]:null,"clear")},Xt=de=>he=>{if(de.onKeyDown&&de.onKeyDown(he),!he.defaultMuiPrevented&&(Ae!==-1&&!["ArrowLeft","ArrowRight"].includes(he.key)&&(Ye(-1),Mt(-1)),he.which!==229))switch(he.key){case"Home":gt&&R&&(he.preventDefault(),F({diff:"start",direction:"next",reason:"keyboard",event:he}));break;case"End":gt&&R&&(he.preventDefault(),F({diff:"end",direction:"previous",reason:"keyboard",event:he}));break;case"PageUp":he.preventDefault(),F({diff:-5,direction:"previous",reason:"keyboard",event:he}),Re(he);break;case"PageDown":he.preventDefault(),F({diff:Dj,direction:"next",reason:"keyboard",event:he}),Re(he);break;case"ArrowDown":he.preventDefault(),F({diff:1,direction:"next",reason:"keyboard",event:he}),Re(he);break;case"ArrowUp":he.preventDefault(),F({diff:-1,direction:"previous",reason:"keyboard",event:he}),Re(he);break;case"ArrowLeft":Yt(he,"previous");break;case"ArrowRight":Yt(he,"next");break;case"Enter":if(Je.current!==-1&>){const Be=ft[Je.current],bt=C?C(Be):!1;if(he.preventDefault(),bt)return;ut(he,Be,"selectOption"),o&&ie.current.setSelectionRange(ie.current.value.length,ie.current.value.length)}else z&&ct!==""&&_e===!1&&(I&&he.preventDefault(),ut(he,ct,"createOption","freeSolo"));break;case"Escape":gt?(he.preventDefault(),he.stopPropagation(),Ge(he,"escape")):f&&(ct!==""||I&&Me.length>0)&&(he.preventDefault(),he.stopPropagation(),Fe(he));break;case"Backspace":if(I&&!q&&ct===""&&Me.length>0){const Be=Ae===-1?Me.length-1:Ae,bt=Me.slice();bt.splice(Be,1),Xe(he,bt,"removeOption",{option:Me[Be]})}break;case"Delete":if(I&&!q&&ct===""&&Me.length>0&&Ae!==-1){const Be=Ae,bt=Me.slice();bt.splice(Be,1),Xe(he,bt,"removeOption",{option:Me[Be]})}break}},zn=de=>{ee(!0),Y&&!le.current&&Re(de)},pn=de=>{if(t(xe)){ie.current.focus();return}ee(!1),be.current=!0,le.current=!1,a&&Je.current!==-1&>?ut(de,ft[Je.current],"blur"):a&&z&&ct!==""?ut(de,ct,"blur","freeSolo"):u&&we(de,Me,"blur"),Ge(de,"blur")},Wn=de=>{const he=de.target.value;ct!==he&&(B(he),Ve(!1),U&&U(de,he,"input")),he===""?!y&&!I&&Xe(de,null,"clear"):Re(de)},vn=de=>{const he=Number(de.currentTarget.getAttribute("data-option-index"));Je.current!==he&&G({event:de,index:he,reason:"mouse"})},wr=de=>{G({event:de,index:Number(de.currentTarget.getAttribute("data-option-index")),reason:"touch"}),rt.current=!0},to=de=>{const he=Number(de.currentTarget.getAttribute("data-option-index"));ut(de,ft[he],"selectOption"),rt.current=!1},Co=de=>he=>{const Be=Me.slice();Be.splice(de,1),Xe(he,Be,"removeOption",{option:Me[de]})},Oo=de=>{ce?Ge(de,"toggleInput"):Re(de)},no=de=>{de.currentTarget.contains(de.target)&&de.target.getAttribute("id")!==ne&&de.preventDefault()},hn=de=>{de.currentTarget.contains(de.target)&&(ie.current.focus(),X&&be.current&&ie.current.selectionEnd-ie.current.selectionStart===0&&ie.current.select(),be.current=!1)},Ee=de=>{!j&&(ct===""||!ce)&&Oo(de)};let We=z&&ct.length>0;We=We||(I?Me.length>0:Me!==null);let dt=ft;return T&&(dt=ft.reduce((de,he,Be)=>{const bt=T(he);return de.length>0&&de[de.length-1].group===bt?de[de.length-1].options.push(he):de.push({key:Be,index:Be,group:bt,options:[he]}),de},[])),j&&_&&pn(),{getRootProps:(de={})=>({...de,onKeyDown:Xt(de),onMouseDown:no,onClick:hn}),getInputLabelProps:()=>({id:`${ne}-label`,htmlFor:ne}),getInputProps:()=>({id:ne,value:ct,onBlur:pn,onFocus:zn,onChange:Wn,onMouseDown:Ee,"aria-activedescendant":gt?"":null,"aria-autocomplete":o?"both":"list","aria-controls":Ft?`${ne}-listbox`:void 0,"aria-expanded":Ft,autoComplete:"off",ref:ie,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:j}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Fe}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Oo}),getTagProps:({index:de})=>({key:de,"data-tag-index":de,tabIndex:-1,...!q&&{onDelete:Co(de)}}),getListboxProps:()=>({role:"listbox",id:`${ne}-listbox`,"aria-labelledby":`${ne}-label`,ref:Te,onMouseDown:de=>{de.preventDefault()}}),getOptionProps:({index:de,option:he})=>{const Be=(I?Me:[Me]).some(Ht=>Ht!=null&&N(he,Ht)),bt=C?C(he):!1;return{key:O?.(he)??oe(he),tabIndex:-1,role:"option",id:`${ne}-option-${de}`,onMouseMove:vn,onClick:to,onTouchStart:wr,"data-option-index":de,"aria-disabled":bt,"aria-selected":Be}},id:ne,inputValue:ct,value:Me,dirty:We,expanded:gt&&Oe,popupOpen:gt,focused:_||Ae!==-1,anchorEl:Oe,setAnchorEl:Le,focusedTag:Ae,groupedOptions:dt}}var mr="top",_r="bottom",$r="right",yr="left",Um="auto",Lc=[mr,_r,$r,yr],Ca="start",mc="end",Rj="clippingParents",Tw="viewport",Cl="popper",Mj="reference",Hb=Lc.reduce(function(e,t){return e.concat([t+"-"+Ca,t+"-"+mc])},[]),Ew=[].concat(Lc,[Um]).reduce(function(e,t){return e.concat([t,t+"-"+Ca,t+"-"+mc])},[]),Lj="beforeRead",Xj="read",Nj="afterRead",Bj="beforeMain",Vj="main",Ij="afterMain",Wj="beforeWrite",Jj="write",Fj="afterWrite",Yj=[Lj,Xj,Nj,Bj,Vj,Ij,Wj,Jj,Fj];function Yo(e){return e?(e.nodeName||"").toLowerCase():null}function Lr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ji(e){var t=Lr(e).Element;return e instanceof t||e instanceof Element}function Kr(e){var t=Lr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Qm(e){if(typeof ShadowRoot>"u")return!1;var t=Lr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function qj(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!Kr(a)||!Yo(a)||(Object.assign(a.style,o),Object.keys(s).forEach(function(l){var u=s[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function Zj(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var s=t.elements[o],a=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),u=l.reduce(function(f,v){return f[v]="",f},{});!Kr(s)||!Yo(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const Gj={name:"applyStyles",enabled:!0,phase:"write",fn:qj,effect:Zj,requires:["computeStyles"]};function Jo(e){return e.split("-")[0]}var Ai=Math.max,Qf=Math.min,Oa=Math.round;function Wh(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Rw(){return!/^((?!chrome|android).)*safari/i.test(Wh())}function Da(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),s=1,a=1;t&&Kr(e)&&(s=e.offsetWidth>0&&Oa(o.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Oa(o.height)/e.offsetHeight||1);var l=ji(e)?Lr(e):window,u=l.visualViewport,f=!Rw()&&n,v=(o.left+(f&&u?u.offsetLeft:0))/s,h=(o.top+(f&&u?u.offsetTop:0))/a,y=o.width/s,P=o.height/a;return{width:y,height:P,top:h,right:v+y,bottom:h+P,left:v,x:v,y:h}}function Km(e){var t=Da(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Mw(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Qm(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function ps(e){return Lr(e).getComputedStyle(e)}function Uj(e){return["table","td","th"].indexOf(Yo(e))>=0}function Zs(e){return((ji(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cd(e){return Yo(e)==="html"?e:e.assignedSlot||e.parentNode||(Qm(e)?e.host:null)||Zs(e)}function jb(e){return!Kr(e)||ps(e).position==="fixed"?null:e.offsetParent}function Qj(e){var t=/firefox/i.test(Wh()),n=/Trident/i.test(Wh());if(n&&Kr(e)){var o=ps(e);if(o.position==="fixed")return null}var s=Cd(e);for(Qm(s)&&(s=s.host);Kr(s)&&["html","body"].indexOf(Yo(s))<0;){var a=ps(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function Xc(e){for(var t=Lr(e),n=jb(e);n&&Uj(n)&&ps(n).position==="static";)n=jb(n);return n&&(Yo(n)==="html"||Yo(n)==="body"&&ps(n).position==="static")?t:n||Qj(e)||t}function _m(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oc(e,t,n){return Ai(e,Qf(t,n))}function Kj(e,t,n){var o=oc(e,t,n);return o>n?n:o}function Lw(){return{top:0,right:0,bottom:0,left:0}}function Xw(e){return Object.assign({},Lw(),e)}function Nw(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var _j=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Xw(typeof t!="number"?t:Nw(t,Lc))};function $j(e){var t,n=e.state,o=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=Jo(n.placement),f=_m(u),v=[yr,$r].indexOf(u)>=0,h=v?"height":"width";if(!(!a||!l)){var y=_j(s.padding,n),P=Km(a),j=f==="y"?mr:yr,A=f==="y"?_r:$r,b=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],H=l[f]-n.rects.reference[f],S=Xc(a),z=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,C=b/2-H/2,O=y[j],D=z-P[h]-y[A],T=z/2-P[h]/2+C,R=oc(O,T,D),M=f;n.modifiersData[o]=(t={},t[M]=R,t.centerOffset=R-T,t)}}function eS(e){var t=e.state,n=e.options,o=n.element,s=o===void 0?"[data-popper-arrow]":o;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||Mw(t.elements.popper,s)&&(t.elements.arrow=s))}const tS={name:"arrow",enabled:!0,phase:"main",fn:$j,effect:eS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ka(e){return e.split("-")[1]}var nS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rS(e,t){var n=e.x,o=e.y,s=t.devicePixelRatio||1;return{x:Oa(n*s)/s||0,y:Oa(o*s)/s||0}}function Sb(e){var t,n=e.popper,o=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,v=e.adaptive,h=e.roundOffsets,y=e.isFixed,P=l.x,j=P===void 0?0:P,A=l.y,b=A===void 0?0:A,H=typeof h=="function"?h({x:j,y:b}):{x:j,y:b};j=H.x,b=H.y;var S=l.hasOwnProperty("x"),z=l.hasOwnProperty("y"),C=yr,O=mr,D=window;if(v){var T=Xc(n),R="clientHeight",M="clientWidth";if(T===Lr(n)&&(T=Zs(n),ps(T).position!=="static"&&u==="absolute"&&(R="scrollHeight",M="scrollWidth")),T=T,s===mr||(s===yr||s===$r)&&a===mc){O=_r;var L=y&&T===D&&D.visualViewport?D.visualViewport.height:T[R];b-=L-o.height,b*=f?1:-1}if(s===yr||(s===mr||s===_r)&&a===mc){C=$r;var w=y&&T===D&&D.visualViewport?D.visualViewport.width:T[M];j-=w-o.width,j*=f?1:-1}}var N=Object.assign({position:u},v&&nS),I=h===!0?rS({x:j,y:b},Lr(n)):{x:j,y:b};if(j=I.x,b=I.y,f){var W;return Object.assign({},N,(W={},W[O]=z?"0":"",W[C]=S?"0":"",W.transform=(D.devicePixelRatio||1)<=1?"translate("+j+"px, "+b+"px)":"translate3d("+j+"px, "+b+"px, 0)",W))}return Object.assign({},N,(t={},t[O]=z?b+"px":"",t[C]=S?j+"px":"",t.transform="",t))}function oS(e){var t=e.state,n=e.options,o=n.gpuAcceleration,s=o===void 0?!0:o,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,v={placement:Jo(t.placement),variation:ka(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Sb(Object.assign({},v,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Sb(Object.assign({},v,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const sS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:oS,data:{}};var lf={passive:!0};function iS(e){var t=e.state,n=e.instance,o=e.options,s=o.scroll,a=s===void 0?!0:s,l=o.resize,u=l===void 0?!0:l,f=Lr(t.elements.popper),v=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&v.forEach(function(h){h.addEventListener("scroll",n.update,lf)}),u&&f.addEventListener("resize",n.update,lf),function(){a&&v.forEach(function(h){h.removeEventListener("scroll",n.update,lf)}),u&&f.removeEventListener("resize",n.update,lf)}}const aS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:iS,data:{}};var lS={left:"right",right:"left",bottom:"top",top:"bottom"};function Df(e){return e.replace(/left|right|bottom|top/g,function(t){return lS[t]})}var cS={start:"end",end:"start"};function zb(e){return e.replace(/start|end/g,function(t){return cS[t]})}function $m(e){var t=Lr(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function ey(e){return Da(Zs(e)).left+$m(e).scrollLeft}function uS(e,t){var n=Lr(e),o=Zs(e),s=n.visualViewport,a=o.clientWidth,l=o.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var v=Rw();(v||!v&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+ey(e),y:f}}function fS(e){var t,n=Zs(e),o=$m(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=Ai(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=Ai(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-o.scrollLeft+ey(e),f=-o.scrollTop;return ps(s||n).direction==="rtl"&&(u+=Ai(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function ty(e){var t=ps(e),n=t.overflow,o=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+o)}function Bw(e){return["html","body","#document"].indexOf(Yo(e))>=0?e.ownerDocument.body:Kr(e)&&ty(e)?e:Bw(Cd(e))}function sc(e,t){var n;t===void 0&&(t=[]);var o=Bw(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),a=Lr(o),l=s?[a].concat(a.visualViewport||[],ty(o)?o:[]):o,u=t.concat(l);return s?u:u.concat(sc(Cd(l)))}function Jh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function dS(e,t){var n=Da(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Cb(e,t,n){return t===Tw?Jh(uS(e,n)):ji(t)?dS(t,n):Jh(fS(Zs(e)))}function pS(e){var t=sc(Cd(e)),n=["absolute","fixed"].indexOf(ps(e).position)>=0,o=n&&Kr(e)?Xc(e):e;return ji(o)?t.filter(function(s){return ji(s)&&Mw(s,o)&&Yo(s)!=="body"}):[]}function vS(e,t,n,o){var s=t==="clippingParents"?pS(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,v){var h=Cb(e,v,o);return f.top=Ai(h.top,f.top),f.right=Qf(h.right,f.right),f.bottom=Qf(h.bottom,f.bottom),f.left=Ai(h.left,f.left),f},Cb(e,l,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Vw(e){var t=e.reference,n=e.element,o=e.placement,s=o?Jo(o):null,a=o?ka(o):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case mr:f={x:l,y:t.y-n.height};break;case _r:f={x:l,y:t.y+t.height};break;case $r:f={x:t.x+t.width,y:u};break;case yr:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var v=s?_m(s):null;if(v!=null){var h=v==="y"?"height":"width";switch(a){case Ca:f[v]=f[v]-(t[h]/2-n[h]/2);break;case mc:f[v]=f[v]+(t[h]/2-n[h]/2);break}}return f}function yc(e,t){t===void 0&&(t={});var n=t,o=n.placement,s=o===void 0?e.placement:o,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?Rj:u,v=n.rootBoundary,h=v===void 0?Tw:v,y=n.elementContext,P=y===void 0?Cl:y,j=n.altBoundary,A=j===void 0?!1:j,b=n.padding,H=b===void 0?0:b,S=Xw(typeof H!="number"?H:Nw(H,Lc)),z=P===Cl?Mj:Cl,C=e.rects.popper,O=e.elements[A?z:P],D=vS(ji(O)?O:O.contextElement||Zs(e.elements.popper),f,h,l),T=Da(e.elements.reference),R=Vw({reference:T,element:C,placement:s}),M=Jh(Object.assign({},C,R)),L=P===Cl?M:T,w={top:D.top-L.top+S.top,bottom:L.bottom-D.bottom+S.bottom,left:D.left-L.left+S.left,right:L.right-D.right+S.right},N=e.modifiersData.offset;if(P===Cl&&N){var I=N[s];Object.keys(w).forEach(function(W){var Q=[$r,_r].indexOf(W)>=0?1:-1,J=[mr,_r].indexOf(W)>=0?"y":"x";w[W]+=I[J]*Q})}return w}function hS(e,t){t===void 0&&(t={});var n=t,o=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,v=f===void 0?Ew:f,h=ka(o),y=h?u?Hb:Hb.filter(function(A){return ka(A)===h}):Lc,P=y.filter(function(A){return v.indexOf(A)>=0});P.length===0&&(P=y);var j=P.reduce(function(A,b){return A[b]=yc(e,{placement:b,boundary:s,rootBoundary:a,padding:l})[Jo(b)],A},{});return Object.keys(j).sort(function(A,b){return j[A]-j[b]})}function mS(e){if(Jo(e)===Um)return[];var t=Df(e);return[zb(e),t,zb(t)]}function yS(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,v=n.padding,h=n.boundary,y=n.rootBoundary,P=n.altBoundary,j=n.flipVariations,A=j===void 0?!0:j,b=n.allowedAutoPlacements,H=t.options.placement,S=Jo(H),z=S===H,C=f||(z||!A?[Df(H)]:mS(H)),O=[H].concat(C).reduce(function(ne,oe){return ne.concat(Jo(oe)===Um?hS(t,{placement:oe,boundary:h,rootBoundary:y,padding:v,flipVariations:A,allowedAutoPlacements:b}):oe)},[]),D=t.rects.reference,T=t.rects.popper,R=new Map,M=!0,L=O[0],w=0;w=0,J=Q?"width":"height",U=yc(t,{placement:N,boundary:h,rootBoundary:y,altBoundary:P,padding:v}),re=Q?W?$r:yr:W?_r:mr;D[J]>T[J]&&(re=Df(re));var K=Df(re),Y=[];if(a&&Y.push(U[I]<=0),u&&Y.push(U[re]<=0,U[K]<=0),Y.every(function(ne){return ne})){L=N,M=!1;break}R.set(N,Y)}if(M)for(var E=A?3:1,q=function(oe){var le=O.find(function(be){var ie=R.get(be);if(ie)return ie.slice(0,oe).every(function(xe){return xe})});if(le)return L=le,"break"},X=E;X>0;X--){var $=q(X);if($==="break")break}t.placement!==L&&(t.modifiersData[o]._skip=!0,t.placement=L,t.reset=!0)}}const gS={name:"flip",enabled:!0,phase:"main",fn:yS,requiresIfExists:["offset"],data:{_skip:!1}};function Ob(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Db(e){return[mr,$r,_r,yr].some(function(t){return e[t]>=0})}function AS(e){var t=e.state,n=e.name,o=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=yc(t,{elementContext:"reference"}),u=yc(t,{altBoundary:!0}),f=Ob(l,o),v=Ob(u,s,a),h=Db(f),y=Db(v);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:v,isReferenceHidden:h,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":y})}const PS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:AS};function bS(e,t,n){var o=Jo(e),s=[yr,mr].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*s,[yr,$r].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}}function xS(e){var t=e.state,n=e.options,o=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=Ew.reduce(function(h,y){return h[y]=bS(y,t.rects,a),h},{}),u=l[t.placement],f=u.x,v=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=v),t.modifiersData[o]=l}const wS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:xS};function HS(e){var t=e.state,n=e.name;t.modifiersData[n]=Vw({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const jS={name:"popperOffsets",enabled:!0,phase:"read",fn:HS,data:{}};function SS(e){return e==="x"?"y":"x"}function zS(e){var t=e.state,n=e.options,o=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,v=n.rootBoundary,h=n.altBoundary,y=n.padding,P=n.tether,j=P===void 0?!0:P,A=n.tetherOffset,b=A===void 0?0:A,H=yc(t,{boundary:f,rootBoundary:v,padding:y,altBoundary:h}),S=Jo(t.placement),z=ka(t.placement),C=!z,O=_m(S),D=SS(O),T=t.modifiersData.popperOffsets,R=t.rects.reference,M=t.rects.popper,L=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,w=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(T){if(a){var W,Q=O==="y"?mr:yr,J=O==="y"?_r:$r,U=O==="y"?"height":"width",re=T[O],K=re+H[Q],Y=re-H[J],E=j?-M[U]/2:0,q=z===Ca?R[U]:M[U],X=z===Ca?-M[U]:-R[U],$=t.elements.arrow,ne=j&&$?Km($):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Lw(),le=oe[Q],be=oe[J],ie=oc(0,R[U],ne[U]),xe=C?R[U]/2-E-ie-le-w.mainAxis:q-ie-le-w.mainAxis,Oe=C?-R[U]/2+E+ie+be+w.mainAxis:X+ie+be+w.mainAxis,Le=t.elements.arrow&&Xc(t.elements.arrow),Ae=Le?O==="y"?Le.clientTop||0:Le.clientLeft||0:0,Ye=(W=N?.[O])!=null?W:0,ge=re+xe-Ye-Ae,Je=re+Oe-Ye,yt=oc(j?Qf(K,ge):K,re,j?Ai(Y,Je):Y);T[O]=yt,I[O]=yt-re}if(u){var Me,ht=O==="x"?mr:yr,ct=O==="x"?_r:$r,B=T[D],_=D==="y"?"height":"width",ee=B+H[ht],we=B-H[ct],ce=[mr,yr].indexOf(S)!==-1,me=(Me=N?.[D])!=null?Me:0,De=ce?ee:B-R[_]-M[_]-me+w.altAxis,Ve=ce?B+R[_]+M[_]-me-w.altAxis:we,_e=j&&ce?Kj(De,B,Ve):oc(j?De:ee,B,j?Ve:we);T[D]=_e,I[D]=_e-B}t.modifiersData[o]=I}}const CS={name:"preventOverflow",enabled:!0,phase:"main",fn:zS,requiresIfExists:["offset"]};function OS(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function DS(e){return e===Lr(e)||!Kr(e)?$m(e):OS(e)}function kS(e){var t=e.getBoundingClientRect(),n=Oa(t.width)/e.offsetWidth||1,o=Oa(t.height)/e.offsetHeight||1;return n!==1||o!==1}function TS(e,t,n){n===void 0&&(n=!1);var o=Kr(t),s=Kr(t)&&kS(t),a=Zs(t),l=Da(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&((Yo(t)!=="body"||ty(a))&&(u=DS(t)),Kr(t)?(f=Da(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=ey(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function ES(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&s(f)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),o}function RS(e){var t=ES(e);return Yj.reduce(function(n,o){return n.concat(t.filter(function(s){return s.phase===o}))},[])}function MS(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function LS(e){var t=e.reduce(function(n,o){var s=n[o.name];return n[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var kb={placement:"bottom",modifiers:[],strategy:"absolute"};function Tb(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(VS(s)||document.body)},[s,a]),Rr(()=>{if(l&&!a)return Rh(n,l),()=>{Rh(n,null)}},[n,l,a]),a){if(g.isValidElement(o)){const v={ref:f};return g.cloneElement(o,v)}return o}return l&&Dw.createPortal(o,l)});function IS(e){return Ue("MuiPopper",e)}Qe("MuiPopper",["root"]);function WS(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Fh(e){return typeof e=="function"?e():e}function JS(e){return e.nodeType!==void 0}const FS=e=>{const{classes:t}=e;return Ke({root:["root"]},IS,t)},YS={},qS=g.forwardRef(function(t,n){const{anchorEl:o,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:v,popperOptions:h,popperRef:y,slotProps:P={},slots:j={},TransitionProps:A,ownerState:b,...H}=t,S=g.useRef(null),z=ln(S,n),C=g.useRef(null),O=ln(C,y),D=g.useRef(O);Rr(()=>{D.current=O},[O]),g.useImperativeHandle(y,()=>C.current,[]);const T=WS(v,a),[R,M]=g.useState(T),[L,w]=g.useState(Fh(o));g.useEffect(()=>{C.current&&C.current.forceUpdate()}),g.useEffect(()=>{o&&w(Fh(o))},[o]),Rr(()=>{if(!L||!f)return;const J=K=>{M(K.placement)};let U=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:K})=>{J(K)}}];u!=null&&(U=U.concat(u)),h&&h.modifiers!=null&&(U=U.concat(h.modifiers));const re=BS(L,S.current,{placement:T,...h,modifiers:U});return D.current(re),()=>{re.destroy(),D.current(null)}},[L,l,u,f,h,T]);const N={placement:R};A!==null&&(N.TransitionProps=A);const I=FS(t),W=j.root??"div",Q=hw({elementType:W,externalSlotProps:P.root,externalForwardedProps:H,additionalProps:{role:"tooltip",ref:z},ownerState:t,className:I.root});return p.jsx(W,{...Q,children:typeof s=="function"?s(N):s})}),ZS=g.forwardRef(function(t,n){const{anchorEl:o,children:s,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:v,open:h,placement:y="bottom",popperOptions:P=YS,popperRef:j,style:A,transition:b=!1,slotProps:H={},slots:S={},...z}=t,[C,O]=g.useState(!0),D=()=>{O(!1)},T=()=>{O(!0)};if(!f&&!h&&(!b||C))return null;let R;if(a)R=a;else if(o){const w=Fh(o);R=w&&JS(w)?er(w).body:er(null).body}const M=!h&&f&&(!b||C)?"none":void 0,L=b?{in:h,onEnter:D,onExited:T}:void 0;return p.jsx(Iw,{disablePortal:u,container:R,children:p.jsx(qS,{anchorEl:o,direction:l,disablePortal:u,modifiers:v,ref:n,open:b?!C:h,placement:y,popperOptions:P,popperRef:j,slotProps:H,slots:S,...z,style:{position:"fixed",top:0,left:0,display:M,...A},TransitionProps:L,children:s})})}),GS=fe(ZS,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Od=g.forwardRef(function(t,n){const o=Rc(),s=nt({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:v,disablePortal:h,keepMounted:y,modifiers:P,open:j,placement:A,popperOptions:b,popperRef:H,transition:S,slots:z,slotProps:C,...O}=s,D=z?.root??u?.Root,T={anchorEl:a,container:v,disablePortal:h,keepMounted:y,modifiers:P,open:j,placement:A,popperOptions:b,popperRef:H,transition:S,...O};return p.jsx(GS,{as:l,direction:o?"rtl":"ltr",slots:{root:D},slotProps:C??f,...T,ref:n})});function US(e){return Ue("MuiListSubheader",e)}Qe("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const QS=e=>{const{classes:t,color:n,disableGutters:o,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${ve(n)}`,!o&&"gutters",s&&"inset",!a&&"sticky"]};return Ke(l,US,t)},KS=fe("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ve(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(tt(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),Yh=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:f=!1,inset:v=!1,...h}=o,y={...o,color:a,component:l,disableGutters:u,disableSticky:f,inset:v},P=QS(y);return p.jsx(KS,{as:l,className:ze(P.root,s),ref:n,ownerState:y,...h})});Yh&&(Yh.muiSkipListHighlight=!0);const _S=At(p.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function $S(e){return Ue("MuiChip",e)}const kt=Qe("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ez=e=>{const{classes:t,disabled:n,size:o,color:s,iconColor:a,onDelete:l,clickable:u,variant:f}=e,v={root:["root",f,n&&"disabled",`size${ve(o)}`,`color${ve(s)}`,u&&"clickable",u&&`clickableColor${ve(s)}`,l&&"deletable",l&&`deletableColor${ve(s)}`,`${f}${ve(s)}`],label:["label",`label${ve(o)}`],avatar:["avatar",`avatar${ve(o)}`,`avatarColor${ve(s)}`],icon:["icon",`icon${ve(o)}`,`iconColor${ve(a)}`],deleteIcon:["deleteIcon",`deleteIcon${ve(o)}`,`deleteIconColor${ve(s)}`,`deleteIcon${ve(f)}Color${ve(s)}`]};return Ke(v,$S,t)},tz=fe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:o,iconColor:s,clickable:a,onDelete:l,size:u,variant:f}=n;return[{[`& .${kt.avatar}`]:t.avatar},{[`& .${kt.avatar}`]:t[`avatar${ve(u)}`]},{[`& .${kt.avatar}`]:t[`avatarColor${ve(o)}`]},{[`& .${kt.icon}`]:t.icon},{[`& .${kt.icon}`]:t[`icon${ve(u)}`]},{[`& .${kt.icon}`]:t[`iconColor${ve(s)}`]},{[`& .${kt.deleteIcon}`]:t.deleteIcon},{[`& .${kt.deleteIcon}`]:t[`deleteIcon${ve(u)}`]},{[`& .${kt.deleteIcon}`]:t[`deleteIconColor${ve(o)}`]},{[`& .${kt.deleteIcon}`]:t[`deleteIcon${ve(f)}Color${ve(o)}`]},t.root,t[`size${ve(u)}`],t[`color${ve(o)}`],a&&t.clickable,a&&o!=="default"&&t[`clickableColor${ve(o)})`],l&&t.deletable,l&&o!=="default"&&t[`deletableColor${ve(o)}`],t[f],t[`${f}${ve(o)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${kt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${kt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${kt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${kt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${kt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${kt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${kt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${kt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${kt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(fn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${kt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Pt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${kt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${kt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(fn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${kt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(fn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${kt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${kt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${kt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${kt.avatar}`]:{marginLeft:4},[`& .${kt.avatarSmall}`]:{marginLeft:2},[`& .${kt.icon}`]:{marginLeft:4},[`& .${kt.iconSmall}`]:{marginLeft:2},[`& .${kt.deleteIcon}`]:{marginRight:5},[`& .${kt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(fn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7)}`,[`&.${kt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${kt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),nz=fe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:o}=n;return[t.label,t[`label${ve(o)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Eb(e){return e.key==="Backspace"||e.key==="Delete"}const Nc=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:v,disabled:h=!1,icon:y,label:P,onClick:j,onDelete:A,onKeyDown:b,onKeyUp:H,size:S="medium",variant:z="filled",tabIndex:C,skipFocusWhenDisabled:O=!1,...D}=o,T=g.useRef(null),R=ln(T,n),M=Y=>{Y.stopPropagation(),A&&A(Y)},L=Y=>{Y.currentTarget===Y.target&&Eb(Y)&&Y.preventDefault(),b&&b(Y)},w=Y=>{Y.currentTarget===Y.target&&A&&Eb(Y)&&A(Y),H&&H(Y)},N=l!==!1&&j?!0:l,I=N||A?Hi:f||"div",W={...o,component:I,disabled:h,size:S,color:u,iconColor:g.isValidElement(y)&&y.props.color||u,onDelete:!!A,clickable:N,variant:z},Q=ez(W),J=I===Hi?{component:f||"div",focusVisibleClassName:Q.focusVisible,...A&&{disableRipple:!0}}:{};let U=null;A&&(U=v&&g.isValidElement(v)?g.cloneElement(v,{className:ze(v.props.className,Q.deleteIcon),onClick:M}):p.jsx(_S,{className:ze(Q.deleteIcon),onClick:M}));let re=null;s&&g.isValidElement(s)&&(re=g.cloneElement(s,{className:ze(Q.avatar,s.props.className)}));let K=null;return y&&g.isValidElement(y)&&(K=g.cloneElement(y,{className:ze(Q.icon,y.props.className)})),p.jsxs(tz,{as:I,className:ze(Q.root,a),disabled:N&&h?!0:void 0,onClick:j,onKeyDown:L,onKeyUp:w,ref:R,tabIndex:O&&h?-1:C,ownerState:W,...J,...D,children:[re||K,p.jsx(nz,{className:ze(Q.label),ownerState:W,children:P}),U]})});function cf(e){return parseInt(e,10)||0}const rz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function oz(e){for(const t in e)return!1;return!0}function Rb(e){return oz(e)||e.outerHeightStyle===0&&!e.overflowing}const sz=g.forwardRef(function(t,n){const{onChange:o,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:v}=g.useRef(u!=null),h=g.useRef(null),y=ln(n,h),P=g.useRef(null),j=g.useRef(null),A=g.useCallback(()=>{const C=h.current,O=j.current;if(!C||!O)return;const T=Po(C).getComputedStyle(C);if(T.width==="0px")return{outerHeightStyle:0,overflowing:!1};O.style.width=T.width,O.value=C.value||t.placeholder||"x",O.value.slice(-1)===` -`&&(O.value+=" ");const R=T.boxSizing,M=cf(T.paddingBottom)+cf(T.paddingTop),L=cf(T.borderBottomWidth)+cf(T.borderTopWidth),w=O.scrollHeight;O.value="x";const N=O.scrollHeight;let I=w;a&&(I=Math.max(Number(a)*N,I)),s&&(I=Math.min(Number(s)*N,I)),I=Math.max(I,N);const W=I+(R==="border-box"?M+L:0),Q=Math.abs(I-w)<=1;return{outerHeightStyle:W,overflowing:Q}},[s,a,t.placeholder]),b=$n(()=>{const C=h.current,O=A();if(!C||!O||Rb(O))return!1;const D=O.outerHeightStyle;return P.current!=null&&P.current!==D}),H=g.useCallback(()=>{const C=h.current,O=A();if(!C||!O||Rb(O))return;const D=O.outerHeightStyle;P.current!==D&&(P.current=D,C.style.height=`${D}px`),C.style.overflow=O.overflowing?"hidden":""},[A]),S=g.useRef(-1);Rr(()=>{const C=Xm(H),O=h?.current;if(!O)return;const D=Po(O);D.addEventListener("resize",C);let T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(()=>{b()&&(T.unobserve(O),cancelAnimationFrame(S.current),H(),S.current=requestAnimationFrame(()=>{T.observe(O)}))}),T.observe(O)),()=>{C.clear(),cancelAnimationFrame(S.current),D.removeEventListener("resize",C),T&&T.disconnect()}},[A,H,b]),Rr(()=>{H()});const z=C=>{v||H(),o&&o(C)};return p.jsxs(g.Fragment,{children:[p.jsx("textarea",{value:u,onChange:z,ref:y,rows:a,style:l,...f}),p.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:j,tabIndex:-1,style:{...rz.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function gc(e){return typeof e=="string"}function Gs({props:e,states:t,muiFormControl:n}){return t.reduce((o,s)=>(o[s]=e[s],n&&typeof e[s]>"u"&&(o[s]=n[s]),o),{})}const Dd=g.createContext(void 0);function jo(){return g.useContext(Dd)}function Mb(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Kf(e,t=!1){return e&&(Mb(e.value)&&e.value!==""||t&&Mb(e.defaultValue)&&e.defaultValue!=="")}function iz(e){return e.startAdornment}function az(e){return Ue("MuiInputBase",e)}const Or=Qe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Lb;const kd=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ve(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Td=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},lz=e=>{const{classes:t,color:n,disabled:o,error:s,endAdornment:a,focused:l,formControl:u,fullWidth:f,hiddenLabel:v,multiline:h,readOnly:y,size:P,startAdornment:j,type:A}=e,b={root:["root",`color${ve(n)}`,o&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",P&&P!=="medium"&&`size${ve(P)}`,h&&"multiline",j&&"adornedStart",a&&"adornedEnd",v&&"hiddenLabel",y&&"readOnly"],input:["input",o&&"disabled",A==="search"&&"inputTypeSearch",h&&"inputMultiline",P==="small"&&"inputSizeSmall",v&&"inputHiddenLabel",j&&"inputAdornedStart",a&&"inputAdornedEnd",y&&"readOnly"]};return Ke(b,az,t)},Ed=fe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:kd})(tt(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Or.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Rd=fe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Td})(tt(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},o={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Or.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Or.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Xb=Wm({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Md=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:v={},componentsProps:h={},defaultValue:y,disabled:P,disableInjectingGlobalStyles:j,endAdornment:A,error:b,fullWidth:H=!1,id:S,inputComponent:z="input",inputProps:C={},inputRef:O,margin:D,maxRows:T,minRows:R,multiline:M=!1,name:L,onBlur:w,onChange:N,onClick:I,onFocus:W,onKeyDown:Q,onKeyUp:J,placeholder:U,readOnly:re,renderSuffix:K,rows:Y,size:E,slotProps:q={},slots:X={},startAdornment:$,type:ne="text",value:oe,...le}=o,be=C.value!=null?C.value:oe,{current:ie}=g.useRef(be!=null),xe=g.useRef(),Oe=g.useCallback(Ie=>{},[]),Le=ln(xe,O,C.ref,Oe),[Ae,Ye]=g.useState(!1),ge=jo(),Je=Gs({props:o,muiFormControl:ge,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Je.focused=ge?ge.focused:Ae,g.useEffect(()=>{!ge&&P&&Ae&&(Ye(!1),w&&w())},[ge,P,Ae,w]);const yt=ge&&ge.onFilled,Me=ge&&ge.onEmpty,ht=g.useCallback(Ie=>{Kf(Ie)?yt&&yt():Me&&Me()},[yt,Me]);Rr(()=>{ie&&ht({value:be})},[be,ht,ie]);const ct=Ie=>{W&&W(Ie),C.onFocus&&C.onFocus(Ie),ge&&ge.onFocus?ge.onFocus(Ie):Ye(!0)},B=Ie=>{w&&w(Ie),C.onBlur&&C.onBlur(Ie),ge&&ge.onBlur?ge.onBlur(Ie):Ye(!1)},_=(Ie,...Ft)=>{if(!ie){const Mt=Ie.target||xe.current;if(Mt==null)throw new Error(fs(1));ht({value:Mt.value})}C.onChange&&C.onChange(Ie,...Ft),N&&N(Ie,...Ft)};g.useEffect(()=>{ht(xe.current)},[]);const ee=Ie=>{xe.current&&Ie.currentTarget===Ie.target&&xe.current.focus(),I&&I(Ie)};let we=z,ce=C;M&&we==="input"&&(Y?ce={type:void 0,minRows:Y,maxRows:Y,...ce}:ce={type:void 0,maxRows:T,minRows:R,...ce},we=sz);const me=Ie=>{ht(Ie.animationName==="mui-auto-fill-cancel"?xe.current:{value:"x"})};g.useEffect(()=>{ge&&ge.setAdornedStart(!!$)},[ge,$]);const De={...o,color:Je.color||"primary",disabled:Je.disabled,endAdornment:A,error:Je.error,focused:Je.focused,formControl:ge,fullWidth:H,hiddenLabel:Je.hiddenLabel,multiline:M,size:Je.size,startAdornment:$,type:ne},Ve=lz(De),_e=X.root||v.Root||Ed,gt=q.root||h.root||{},ft=X.input||v.Input||Rd;return ce={...ce,...q.input??h.input},p.jsxs(g.Fragment,{children:[!j&&typeof Xb=="function"&&(Lb||(Lb=p.jsx(Xb,{}))),p.jsxs(_e,{...gt,ref:n,onClick:ee,...le,...!gc(_e)&&{ownerState:{...De,...gt.ownerState}},className:ze(Ve.root,gt.className,u,re&&"MuiInputBase-readOnly"),children:[$,p.jsx(Dd.Provider,{value:null,children:p.jsx(ft,{"aria-invalid":Je.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:y,disabled:Je.disabled,id:S,onAnimationStart:me,name:L,placeholder:U,readOnly:re,required:Je.required,rows:Y,value:be,onKeyDown:Q,onKeyUp:J,type:ne,...ce,...!gc(ft)&&{as:we,ownerState:{...De,...ce.ownerState}},ref:Le,className:ze(Ve.input,ce.className,re&&"MuiInputBase-readOnly"),onBlur:B,onChange:_,onFocus:ct})}),A,K?K({...Je,startAdornment:$}):null]})]})});function cz(e){return Ue("MuiInput",e)}const Bs={...Or,...Qe("MuiInput",["root","underline","input"])};function uz(e){return Ue("MuiOutlinedInput",e)}const qr={...Or,...Qe("MuiOutlinedInput",["root","notchedOutline","input"])};function fz(e){return Ue("MuiFilledInput",e)}const Dr={...Or,...Qe("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Ww=At(p.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function dz(e){return Ue("MuiAutocomplete",e)}const zt=Qe("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Nb,Bb;const pz=e=>{const{classes:t,disablePortal:n,expanded:o,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:u,inputFocused:f,popupOpen:v,size:h}=e,y={root:["root",o&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${ve(h)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",v&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Ke(y,dz,t)},vz=fe("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:o,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${zt.tag}`]:t.tag},{[`& .${zt.tag}`]:t[`tagSize${ve(u)}`]},{[`& .${zt.inputRoot}`]:t.inputRoot},{[`& .${zt.input}`]:t.input},{[`& .${zt.input}`]:l&&t.inputFocused},t.root,o&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${zt.focused} .${zt.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${zt.clearIndicator}`]:{visibility:"visible"}},[`& .${zt.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${zt.inputRoot}`]:{[`.${zt.hasPopupIcon}&, .${zt.hasClearIcon}&`]:{paddingRight:30},[`.${zt.hasPopupIcon}.${zt.hasClearIcon}&`]:{paddingRight:56},[`& .${zt.input}`]:{width:0,minWidth:30}},[`& .${Bs.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Bs.root}.${Or.sizeSmall}`]:{[`& .${Bs.input}`]:{padding:"2px 4px 3px 0"}},[`& .${qr.root}`]:{padding:9,[`.${zt.hasPopupIcon}&, .${zt.hasClearIcon}&`]:{paddingRight:39},[`.${zt.hasPopupIcon}.${zt.hasClearIcon}&`]:{paddingRight:65},[`& .${zt.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${zt.endAdornment}`]:{right:9}},[`& .${qr.root}.${Or.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${zt.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Dr.root}`]:{paddingTop:19,paddingLeft:8,[`.${zt.hasPopupIcon}&, .${zt.hasClearIcon}&`]:{paddingRight:39},[`.${zt.hasPopupIcon}.${zt.hasClearIcon}&`]:{paddingRight:65},[`& .${Dr.input}`]:{padding:"7px 4px"},[`& .${zt.endAdornment}`]:{right:9}},[`& .${Dr.root}.${Or.sizeSmall}`]:{paddingBottom:1,[`& .${Dr.input}`]:{padding:"2.5px 4px"}},[`& .${Or.hiddenLabel}`]:{paddingTop:8},[`& .${Dr.root}.${Or.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${zt.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Dr.root}.${Or.hiddenLabel}.${Or.sizeSmall}`]:{[`& .${zt.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${zt.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${zt.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${zt.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${zt.inputRoot}`]:{flexWrap:"wrap"}}}]}),hz=fe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),mz=fe(hr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),yz=fe(hr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),gz=fe(Od,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${zt.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),Az=fe(Mr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(tt(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),Pz=fe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),bz=fe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),xz=fe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(tt(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${zt.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${zt.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${zt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${zt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${zt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),wz=fe(Yh,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Hz=fe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${zt.option}`]:{paddingLeft:24}}),jz=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:v,clearIcon:h=Nb||(Nb=p.jsx(kw,{fontSize:"small"})),clearOnBlur:y=!o.freeSolo,clearOnEscape:P=!1,clearText:j="Clear",closeText:A="Close",componentsProps:b,defaultValue:H=o.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:z=!1,disabled:C=!1,disabledItemsFocusable:O=!1,disableListWrap:D=!1,disablePortal:T=!1,filterOptions:R,filterSelectedOptions:M=!1,forcePopupIcon:L="auto",freeSolo:w=!1,fullWidth:N=!1,getLimitTagsText:I=Et=>`+${Et}`,getOptionDisabled:W,getOptionKey:Q,getOptionLabel:J,isOptionEqualToValue:U,groupBy:re,handleHomeEndKeys:K=!o.freeSolo,id:Y,includeInputInList:E=!1,inputValue:q,limitTags:X=-1,ListboxComponent:$,ListboxProps:ne,loading:oe=!1,loadingText:le="Loading…",multiple:be=!1,noOptionsText:ie="No options",onChange:xe,onClose:Oe,onHighlightChange:Le,onInputChange:Ae,onOpen:Ye,open:ge,openOnFocus:Je=!1,openText:yt="Open",options:Me,PaperComponent:ht,PopperComponent:ct,popupIcon:B=Bb||(Bb=p.jsx(Ww,{})),readOnly:_=!1,renderGroup:ee,renderInput:we,renderOption:ce,renderTags:me,selectOnFocus:De=!o.freeSolo,size:Ve="medium",slots:_e={},slotProps:gt={},value:ft,...Ie}=o,{getRootProps:Ft,getInputProps:Mt,getInputLabelProps:qe,getPopupIndicatorProps:G,getClearProps:F,getTagProps:Pe,getListboxProps:Se,getOptionProps:Te,value:Re,dirty:Ge,expanded:Xe,id:rt,popupOpen:ut,focused:Tt,focusedTag:Yt,anchorEl:Fe,setAnchorEl:Xt,inputValue:zn,groupedOptions:pn}=Ej({...o,componentName:"Autocomplete"}),Wn=!S&&!C&&Ge&&!_,vn=(!w||L===!0)&&L!==!1,{onMouseDown:wr}=Mt(),{ref:to,...Co}=Se(),no=J||(Et=>Et.label??Et),hn={...o,disablePortal:T,expanded:Xe,focused:Tt,fullWidth:N,getOptionLabel:no,hasClearIcon:Wn,hasPopupIcon:vn,inputFocused:Yt===-1,popupOpen:ut,size:Ve},Ee=pz(hn),We={slots:{paper:ht,popper:ct,..._e},slotProps:{chip:f,listbox:ne,...b,...gt}},[dt,de]=lt("listbox",{elementType:xz,externalForwardedProps:We,ownerState:hn,className:Ee.listbox,additionalProps:Co,ref:to}),[he,Be]=lt("paper",{elementType:Mr,externalForwardedProps:We,ownerState:hn,className:Ee.paper}),[bt,Ht]=lt("popper",{elementType:Od,externalForwardedProps:We,ownerState:hn,className:Ee.popper,additionalProps:{disablePortal:T,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:ut}});let Lt;if(be&&Re.length>0){const Et=Nr=>({className:Ee.tag,disabled:C,...Pe(Nr)});me?Lt=me(Re,Et,hn):Lt=Re.map((Nr,ro)=>{const{key:Do,...Br}=Et({index:ro});return p.jsx(Nc,{label:no(Nr),size:Ve,...Br,...We.slotProps.chip},Do)})}if(X>-1&&Array.isArray(Lt)){const Et=Lt.length-X;!Tt&&Et>0&&(Lt=Lt.splice(0,X),Lt.push(p.jsx("span",{className:Ee.tag,children:I(Et)},Lt.length)))}const xn=ee||(Et=>p.jsxs("li",{children:[p.jsx(wz,{className:Ee.groupLabel,ownerState:hn,component:"div",children:Et.group}),p.jsx(Hz,{className:Ee.groupUl,ownerState:hn,children:Et.children})]},Et.key)),Kt=ce||((Et,Nr)=>{const{key:ro,...Do}=Et;return p.jsx("li",{...Do,children:no(Nr)},ro)}),$c=(Et,Nr)=>{const ro=Te({option:Et,index:Nr});return Kt({...ro,className:Ee.option},Et,{selected:ro["aria-selected"],index:Nr,inputValue:zn},hn)},Mi=We.slotProps.clearIndicator,Ya=We.slotProps.popupIndicator;return p.jsxs(g.Fragment,{children:[p.jsx(vz,{ref:n,className:ze(Ee.root,v),ownerState:hn,...Ft(Ie),children:we({id:rt,disabled:C,fullWidth:!0,size:Ve==="small"?"small":void 0,InputLabelProps:qe(),InputProps:{ref:Xt,className:Ee.inputRoot,startAdornment:Lt,onMouseDown:Et=>{Et.target===Et.currentTarget&&wr(Et)},...(Wn||vn)&&{endAdornment:p.jsxs(hz,{className:Ee.endAdornment,ownerState:hn,children:[Wn?p.jsx(mz,{...F(),"aria-label":j,title:j,ownerState:hn,...Mi,className:ze(Ee.clearIndicator,Mi?.className),children:h}):null,vn?p.jsx(yz,{...G(),disabled:C,"aria-label":ut?A:yt,title:ut?A:yt,ownerState:hn,...Ya,className:ze(Ee.popupIndicator,Ya?.className),children:B}):null]})}},inputProps:{className:Ee.input,disabled:C,readOnly:_,...Mt()}})}),Fe?p.jsx(gz,{as:bt,...Ht,children:p.jsxs(Az,{as:he,...Be,children:[oe&&pn.length===0?p.jsx(Pz,{className:Ee.loading,ownerState:hn,children:le}):null,pn.length===0&&!w&&!oe?p.jsx(bz,{className:Ee.noOptions,ownerState:hn,role:"presentation",onMouseDown:Et=>{Et.preventDefault()},children:ie}):null,pn.length>0?p.jsx(dt,{as:$,...de,children:pn.map((Et,Nr)=>re?xn({key:Et.key,group:Et.group,children:Et.options.map((ro,Do)=>$c(ro,Et.index+Do))}):$c(Et,Nr))}):null]})}):null]})}),Sz={entering:{opacity:1},entered:{opacity:1}},qh=g.forwardRef(function(t,n){const o=Xr(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:f,in:v,onEnter:h,onEntered:y,onEntering:P,onExit:j,onExited:A,onExiting:b,style:H,timeout:S=s,TransitionComponent:z=Ho,...C}=t,O=g.useRef(null),D=ln(O,qs(u),n),T=Q=>J=>{if(Q){const U=O.current;J===void 0?Q(U):Q(U,J)}},R=T(P),M=T((Q,J)=>{Zm(Q);const U=za({style:H,timeout:S,easing:f},{mode:"enter"});Q.style.webkitTransition=o.transitions.create("opacity",U),Q.style.transition=o.transitions.create("opacity",U),h&&h(Q,J)}),L=T(y),w=T(b),N=T(Q=>{const J=za({style:H,timeout:S,easing:f},{mode:"exit"});Q.style.webkitTransition=o.transitions.create("opacity",J),Q.style.transition=o.transitions.create("opacity",J),j&&j(Q)}),I=T(A),W=Q=>{a&&a(O.current,Q)};return p.jsx(z,{appear:l,in:v,nodeRef:O,onEnter:M,onEntered:L,onEntering:R,onExit:N,onExited:I,onExiting:w,addEndListener:W,timeout:S,...C,children:(Q,{ownerState:J,...U})=>g.cloneElement(u,{style:{opacity:0,visibility:Q==="exited"&&!v?"hidden":void 0,...Sz[Q],...H,...u.props.style},ref:D,...U})})});function zz(e){return Ue("MuiBackdrop",e)}Qe("MuiBackdrop",["root","invisible"]);const Cz=e=>{const{classes:t,invisible:n}=e;return Ke({root:["root",n&&"invisible"]},zz,t)},Oz=fe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Jw=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:v={},componentsProps:h={},slotProps:y={},slots:P={},TransitionComponent:j,transitionDuration:A,...b}=o,H={...o,component:l,invisible:u},S=Cz(H),z={transition:j,root:v.Root,...P},C={...h,...y},O={slots:z,slotProps:C},[D,T]=lt("root",{elementType:Oz,externalForwardedProps:O,className:ze(S.root,a),ownerState:H}),[R,M]=lt("transition",{elementType:qh,externalForwardedProps:O,ownerState:H});return p.jsx(R,{in:f,timeout:A,...b,...M,children:p.jsx(D,{"aria-hidden":!0,...T,classes:S,ref:n,children:s})})}),Dz=Qe("MuiBox",["root"]),kz=Mc(),mt=V3({themeId:Qr,defaultTheme:kz,defaultClassName:Dz.root,generateClassName:$x.generate});function Tz(e){return Ue("MuiButton",e)}const li=Qe("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Fw=g.createContext({}),Ez=g.createContext(void 0),Rz=e=>{const{color:t,disableElevation:n,fullWidth:o,size:s,variant:a,loading:l,loadingPosition:u,classes:f}=e,v={root:["root",l&&"loading",a,`${a}${ve(t)}`,`size${ve(s)}`,`${a}Size${ve(s)}`,`color${ve(t)}`,n&&"disableElevation",o&&"fullWidth",l&&`loadingPosition${ve(u)}`],startIcon:["icon","startIcon",`iconSize${ve(s)}`],endIcon:["icon","endIcon",`iconSize${ve(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},h=Ke(v,Tz,f);return{...f,...h}},Yw=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Mz=fe(Hi,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ve(n.color)}`],t[`size${ve(n.size)}`],t[`${n.variant}Size${ve(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${li.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${li.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${li.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${li.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(fn()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(e.vars||e).palette[o].main,"--variant-outlinedColor":(e.vars||e).palette[o].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[o].mainChannel} / 0.5)`:Pt(e.palette[o].main,.5),"--variant-containedColor":(e.vars||e).palette[o].contrastText,"--variant-containedBg":(e.vars||e).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[o].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[o].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[o].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[o].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${li.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${li.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${li.loading}`]:{color:"transparent"}}}]}})),Lz=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${ve(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Yw]})),Xz=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${ve(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Yw]})),Nz=fe("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Vb=fe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Rt=g.forwardRef(function(t,n){const o=g.useContext(Fw),s=g.useContext(Ez),a=ja(o,t),l=nt({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:v="button",className:h,disabled:y=!1,disableElevation:P=!1,disableFocusRipple:j=!1,endIcon:A,focusVisibleClassName:b,fullWidth:H=!1,id:S,loading:z=null,loadingIndicator:C,loadingPosition:O="center",size:D="medium",startIcon:T,type:R,variant:M="text",...L}=l,w=bo(S),N=C??p.jsx(La,{"aria-labelledby":w,color:"inherit",size:16}),I={...l,color:f,component:v,disabled:y,disableElevation:P,disableFocusRipple:j,fullWidth:H,loading:z,loadingIndicator:N,loadingPosition:O,size:D,type:R,variant:M},W=Rz(I),Q=(T||z&&O==="start")&&p.jsx(Lz,{className:W.startIcon,ownerState:I,children:T||p.jsx(Vb,{className:W.loadingIconPlaceholder,ownerState:I})}),J=(A||z&&O==="end")&&p.jsx(Xz,{className:W.endIcon,ownerState:I,children:A||p.jsx(Vb,{className:W.loadingIconPlaceholder,ownerState:I})}),U=s||"",re=typeof z=="boolean"?p.jsx("span",{className:W.loadingWrapper,style:{display:"contents"},children:z&&p.jsx(Nz,{className:W.loadingIndicator,ownerState:I,children:N})}):null;return p.jsxs(Mz,{ownerState:I,className:ze(o.className,W.root,h,U),component:v,disabled:y||z,focusRipple:!j,focusVisibleClassName:ze(W.focusVisible,b),ref:n,type:R,id:z?w:S,...L,classes:W,children:[Q,O!=="end"&&re,u,O==="end"&&re,J]})});function Bz(e){return Ue("MuiCard",e)}Qe("MuiCard",["root"]);const Vz=e=>{const{classes:t}=e;return Ke({root:["root"]},Bz,t)},Iz=fe(Mr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),qw=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=o,u={...o,raised:a},f=Vz(u);return p.jsx(Iz,{className:ze(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function Wz(e){return Ue("MuiCardContent",e)}Qe("MuiCardContent",["root"]);const Jz=e=>{const{classes:t}=e;return Ke({root:["root"]},Wz,t)},Fz=fe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),Zh=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=o,u={...o,component:a},f=Jz(u);return p.jsx(Fz,{as:a,className:ze(f.root,s),ownerState:u,ref:n,...l})});function Yz(e){return Ue("MuiCardMedia",e)}Qe("MuiCardMedia",["root","media","img"]);const qz=e=>{const{classes:t,isMediaComponent:n,isImageComponent:o}=e;return Ke({root:["root",n&&"media",o&&"img"]},Yz,t)},Zz=fe("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:o,isImageComponent:s}=n;return[t.root,o&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),Gz=["video","audio","picture","iframe","img"],Uz=["picture","img"],Qz=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:v,...h}=o,y=Gz.includes(l),P=!y&&u?{backgroundImage:`url("${u}")`,...v}:v,j={...o,component:l,isMediaComponent:y,isImageComponent:Uz.includes(l)},A=qz(j);return p.jsx(Zz,{className:ze(A.root,a),as:l,role:!y&&u?"img":void 0,ref:n,style:P,ownerState:j,src:y?u||f:void 0,...h,children:s})});function Kz(e){return Ue("PrivateSwitchBase",e)}Qe("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const _z=e=>{const{classes:t,checked:n,disabled:o,edge:s}=e,a={root:["root",n&&"checked",o&&"disabled",s&&`edge${ve(s)}`],input:["input"]};return Ke(a,Kz,t)},$z=fe(Hi)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),eC=fe("input",{shouldForwardProp:In})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),ny=g.forwardRef(function(t,n){const{autoFocus:o,checked:s,checkedIcon:a,defaultChecked:l,disabled:u,disableFocusRipple:f=!1,edge:v=!1,icon:h,id:y,inputProps:P,inputRef:j,name:A,onBlur:b,onChange:H,onFocus:S,readOnly:z,required:C=!1,tabIndex:O,type:D,value:T,slots:R={},slotProps:M={},...L}=t,[w,N]=Ws({controlled:s,default:!!l,name:"SwitchBase",state:"checked"}),I=jo(),W=oe=>{S&&S(oe),I&&I.onFocus&&I.onFocus(oe)},Q=oe=>{b&&b(oe),I&&I.onBlur&&I.onBlur(oe)},J=oe=>{if(oe.nativeEvent.defaultPrevented)return;const le=oe.target.checked;N(le),H&&H(oe,le)};let U=u;I&&typeof U>"u"&&(U=I.disabled);const re=D==="checkbox"||D==="radio",K={...t,checked:w,disabled:U,disableFocusRipple:f,edge:v},Y=_z(K),E={slots:R,slotProps:{input:P,...M}},[q,X]=lt("root",{ref:n,elementType:$z,className:Y.root,shouldForwardComponentProp:!0,externalForwardedProps:{...E,component:"span",...L},getSlotProps:oe=>({...oe,onFocus:le=>{oe.onFocus?.(le),W(le)},onBlur:le=>{oe.onBlur?.(le),Q(le)}}),ownerState:K,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:U,role:void 0,tabIndex:null}}),[$,ne]=lt("input",{ref:j,elementType:eC,className:Y.input,externalForwardedProps:E,getSlotProps:oe=>({onChange:le=>{oe.onChange?.(le),J(le)}}),ownerState:K,additionalProps:{autoFocus:o,checked:s,defaultChecked:l,disabled:U,id:re?y:void 0,name:A,readOnly:z,required:C,tabIndex:O,type:D,...D==="checkbox"&&T===void 0?{}:{value:T}}});return p.jsxs(q,{...X,children:[p.jsx($,{...ne}),w?a:h]})}),tC=At(p.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),nC=At(p.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),rC=At(p.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function oC(e){return Ue("MuiCheckbox",e)}const sh=Qe("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),sC=e=>{const{classes:t,indeterminate:n,color:o,size:s}=e,a={root:["root",n&&"indeterminate",`color${ve(o)}`,`size${ve(s)}`]},l=Ke(a,oC,t);return{...t,...l}},iC=fe(ny,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${ve(n.size)}`],n.color!=="default"&&t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{[`&.${sh.checked}, &.${sh.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${sh.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),aC=p.jsx(nC,{}),lC=p.jsx(tC,{}),cC=p.jsx(rC,{}),Ib=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCheckbox"}),{checkedIcon:s=aC,color:a="primary",icon:l=lC,indeterminate:u=!1,indeterminateIcon:f=cC,inputProps:v,size:h="medium",disableRipple:y=!1,className:P,slots:j={},slotProps:A={},...b}=o,H=u?f:l,S=u?f:s,z={...o,disableRipple:y,color:a,indeterminate:u,size:h},C=sC(z),O=A.input??v,[D,T]=lt("root",{ref:n,elementType:iC,className:ze(C.root,P),shouldForwardComponentProp:!0,externalForwardedProps:{slots:j,slotProps:A,...b},ownerState:z,additionalProps:{type:"checkbox",icon:g.cloneElement(H,{fontSize:H.props.fontSize??h}),checkedIcon:g.cloneElement(S,{fontSize:S.props.fontSize??h}),disableRipple:y,slots:j,slotProps:{input:Jm(typeof O=="function"?O(z):O,{"data-indeterminate":u})}}});return p.jsx(D,{...T,classes:C})});function Wb(e){return e.substring(2).toLowerCase()}function uC(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=ln(qs(t),u),y=$n(A=>{const b=v.current;v.current=!1;const H=er(u.current);if(!f.current||!u.current||"clientX"in A&&uC(A,H))return;if(l.current){l.current=!1;return}let S;A.composedPath?S=A.composedPath().includes(u.current):S=!H.documentElement.contains(A.target)||u.current.contains(A.target),!S&&(n||!b)&&s(A)}),P=A=>b=>{v.current=!0;const H=t.props[A];H&&H(b)},j={ref:h};return a!==!1&&(j[a]=P(a)),g.useEffect(()=>{if(a!==!1){const A=Wb(a),b=er(u.current),H=()=>{l.current=!0};return b.addEventListener(A,y),b.addEventListener("touchmove",H),()=>{b.removeEventListener(A,y),b.removeEventListener("touchmove",H)}}},[y,a]),o!==!1&&(j[o]=P(o)),g.useEffect(()=>{if(o!==!1){const A=Wb(o),b=er(u.current);return b.addEventListener(A,y),()=>{b.removeEventListener(A,y)}}},[y,o]),g.cloneElement(t,j)}const Gh=typeof Wm({})=="function",fC=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),dC=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Gw=(e,t=!1)=>{const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,l])=>{const u=e.getColorSchemeSelector(a);u.startsWith("@")?n[u]={":root":{colorScheme:l.palette?.mode}}:n[u.replace(/\s*&/,"")]={colorScheme:l.palette?.mode}});let o={html:fC(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...dC(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=e.components?.MuiCssBaseline?.styleOverrides;return s&&(o=[o,s]),o},kf="mui-ecs",pC=e=>{const t=Gw(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${kf})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,s])=>{const a=e.getColorSchemeSelector(o);a.startsWith("@")?n[a]={[`:root:not(:has(.${kf}))`]:{colorScheme:s.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${kf}))`]:{colorScheme:s.palette?.mode}}}),t},vC=Wm(Gh?({theme:e,enableColorScheme:t})=>Gw(e,t):({theme:e})=>pC(e));function hC(e){const t=nt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:o=!1}=t;return p.jsxs(g.Fragment,{children:[Gh&&p.jsx(vC,{enableColorScheme:o}),!Gh&&!o&&p.jsx("span",{className:kf,style:{display:"none"}}),n]})}function mC(e){const t=er(e);return t.body===e?Po(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ic(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Jb(e){return parseInt(Po(e).getComputedStyle(e).paddingRight,10)||0}function yC(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),o=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||o}function Fb(e,t,n,o,s){const a=[t,n,...o];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!yC(l);u&&f&&ic(l,s)})}function ih(e,t){let n=-1;return e.some((o,s)=>t(o)?(n=s,!0):!1),n}function gC(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(mC(o)){const l=fw(Po(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${Jb(o)+l}px`;const u=er(o).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${Jb(f)+l}px`})}let a;if(o.parentNode instanceof DocumentFragment)a=er(o).body;else{const l=o.parentElement,u=Po(o);a=l?.nodeName==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:o}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function AC(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class PC{constructor(){this.modals=[],this.containers=[]}add(t,n){let o=this.modals.indexOf(t);if(o!==-1)return o;o=this.modals.length,this.modals.push(t),t.modalRef&&ic(t.modalRef,!1);const s=AC(n);Fb(n,t.mount,t.modalRef,s,!0);const a=ih(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),o):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),o)}mount(t,n){const o=ih(this.containers,a=>a.modals.includes(t)),s=this.containers[o];s.restore||(s.restore=gC(s,n))}remove(t,n=!0){const o=this.modals.indexOf(t);if(o===-1)return o;const s=ih(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(o,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&ic(t.modalRef,n),Fb(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&ic(l.modalRef,!1)}return o}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const bC=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function xC(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function wC(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=o=>e.ownerDocument.querySelector(`input[type="radio"]${o}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function HC(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||wC(e))}function jC(e){const t=[],n=[];return Array.from(e.querySelectorAll(bC)).forEach((o,s)=>{const a=xC(o);a===-1||!HC(o)||(a===0?t.push(o):n.push({documentOrder:s,tabIndex:a,node:o}))}),n.sort((o,s)=>o.tabIndex===s.tabIndex?o.documentOrder-s.documentOrder:o.tabIndex-s.tabIndex).map(o=>o.node).concat(t)}function SC(){return!0}function zC(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:s=!1,getTabbable:a=jC,isEnabled:l=SC,open:u}=e,f=g.useRef(!1),v=g.useRef(null),h=g.useRef(null),y=g.useRef(null),P=g.useRef(null),j=g.useRef(!1),A=g.useRef(null),b=ln(qs(t),A),H=g.useRef(null);g.useEffect(()=>{!u||!A.current||(j.current=!n)},[n,u]),g.useEffect(()=>{if(!u||!A.current)return;const C=er(A.current);return A.current.contains(C.activeElement)||(A.current.hasAttribute("tabIndex")||A.current.setAttribute("tabIndex","-1"),j.current&&A.current.focus()),()=>{s||(y.current&&y.current.focus&&(f.current=!0,y.current.focus()),y.current=null)}},[u]),g.useEffect(()=>{if(!u||!A.current)return;const C=er(A.current),O=R=>{H.current=R,!(o||!l()||R.key!=="Tab")&&C.activeElement===A.current&&R.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{const R=A.current;if(R===null)return;if(!C.hasFocus()||!l()||f.current){f.current=!1;return}if(R.contains(C.activeElement)||o&&C.activeElement!==v.current&&C.activeElement!==h.current)return;if(C.activeElement!==P.current)P.current=null;else if(P.current!==null)return;if(!j.current)return;let M=[];if((C.activeElement===v.current||C.activeElement===h.current)&&(M=a(A.current)),M.length>0){const L=!!(H.current?.shiftKey&&H.current?.key==="Tab"),w=M[0],N=M[M.length-1];typeof w!="string"&&typeof N!="string"&&(L?N.focus():w.focus())}else R.focus()};C.addEventListener("focusin",D),C.addEventListener("keydown",O,!0);const T=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(T),C.removeEventListener("focusin",D),C.removeEventListener("keydown",O,!0)}},[n,o,s,l,u,a]);const S=C=>{y.current===null&&(y.current=C.relatedTarget),j.current=!0,P.current=C.target;const O=t.props.onFocus;O&&O(C)},z=C=>{y.current===null&&(y.current=C.relatedTarget),j.current=!0};return p.jsxs(g.Fragment,{children:[p.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:v,"data-testid":"sentinelStart"}),g.cloneElement(t,{ref:b,onFocus:S}),p.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:h,"data-testid":"sentinelEnd"})]})}function CC(e){return typeof e=="function"?e():e}function OC(e){return e?e.props.hasOwnProperty("in"):!1}const Yb=()=>{},uf=new PC;function DC(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:u,onClose:f,open:v,rootRef:h}=e,y=g.useRef({}),P=g.useRef(null),j=g.useRef(null),A=ln(j,h),[b,H]=g.useState(!v),S=OC(u);let z=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(z=!1);const C=()=>er(P.current),O=()=>(y.current.modalRef=j.current,y.current.mount=P.current,y.current),D=()=>{uf.mount(O(),{disableScrollLock:o}),j.current&&(j.current.scrollTop=0)},T=$n(()=>{const J=CC(t)||C().body;uf.add(O(),J),j.current&&D()}),R=()=>uf.isTopModal(O()),M=$n(J=>{P.current=J,J&&(v&&R()?D():j.current&&ic(j.current,z))}),L=g.useCallback(()=>{uf.remove(O(),z)},[z]);g.useEffect(()=>()=>{L()},[L]),g.useEffect(()=>{v?T():(!S||!s)&&L()},[v,L,S,s,T]);const w=J=>U=>{J.onKeyDown?.(U),!(U.key!=="Escape"||U.which===229||!R())&&(n||(U.stopPropagation(),f&&f(U,"escapeKeyDown")))},N=J=>U=>{J.onClick?.(U),U.target===U.currentTarget&&f&&f(U,"backdropClick")};return{getRootProps:(J={})=>{const U=qf(e);delete U.onTransitionEnter,delete U.onTransitionExited;const re={...U,...J};return{role:"presentation",...re,onKeyDown:w(re),ref:A}},getBackdropProps:(J={})=>{const U=J;return{"aria-hidden":!0,...U,onClick:N(U),open:v}},getTransitionProps:()=>{const J=()=>{H(!1),a&&a()},U=()=>{H(!0),l&&l(),s&&L()};return{onEnter:Eh(J,u?.props.onEnter??Yb),onExited:Eh(U,u?.props.onExited??Yb)}},rootRef:A,portalRef:M,isTopModal:R,exited:b,hasTransition:S}}function kC(e){return Ue("MuiModal",e)}Qe("MuiModal",["root","hidden","backdrop"]);const TC=e=>{const{open:t,exited:n,classes:o}=e;return Ke({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},kC,o)},EC=fe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(tt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),RC=fe(Jw,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ry=g.forwardRef(function(t,n){const o=nt({name:"MuiModal",props:t}),{BackdropComponent:s=RC,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:v,container:h,component:y,components:P={},componentsProps:j={},disableAutoFocus:A=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:H=!1,disablePortal:S=!1,disableRestoreFocus:z=!1,disableScrollLock:C=!1,hideBackdrop:O=!1,keepMounted:D=!1,onBackdropClick:T,onClose:R,onTransitionEnter:M,onTransitionExited:L,open:w,slotProps:N={},slots:I={},theme:W,...Q}=o,J={...o,closeAfterTransition:f,disableAutoFocus:A,disableEnforceFocus:b,disableEscapeKeyDown:H,disablePortal:S,disableRestoreFocus:z,disableScrollLock:C,hideBackdrop:O,keepMounted:D},{getRootProps:U,getBackdropProps:re,getTransitionProps:K,portalRef:Y,isTopModal:E,exited:q,hasTransition:X}=DC({...J,rootRef:n}),$={...J,exited:q},ne=TC($),oe={};if(v.props.tabIndex===void 0&&(oe.tabIndex="-1"),X){const{onEnter:Le,onExited:Ae}=K();oe.onEnter=Le,oe.onExited=Ae}const le={slots:{root:P.Root,backdrop:P.Backdrop,...I},slotProps:{...j,...N}},[be,ie]=lt("root",{ref:n,elementType:EC,externalForwardedProps:{...le,...Q,component:y},getSlotProps:U,ownerState:$,className:ze(u,ne?.root,!$.open&&$.exited&&ne?.hidden)}),[xe,Oe]=lt("backdrop",{ref:a?.ref,elementType:s,externalForwardedProps:le,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:Le=>re({...Le,onClick:Ae=>{T&&T(Ae),Le?.onClick&&Le.onClick(Ae)}}),className:ze(a?.className,ne?.backdrop),ownerState:$});return!D&&!w&&(!X||q)?null:p.jsx(Iw,{ref:Y,container:h,disablePortal:S,children:p.jsxs(be,{...ie,children:[!O&&s?p.jsx(xe,{...Oe}):null,p.jsx(zC,{disableEnforceFocus:b,disableAutoFocus:A,disableRestoreFocus:z,isEnabled:E,open:w,children:g.cloneElement(v,oe)})]})})});function MC(e){return Ue("MuiDialog",e)}const ah=Qe("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Uw=g.createContext({}),LC=fe(Jw,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),XC=e=>{const{classes:t,scroll:n,maxWidth:o,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${ve(n)}`],paper:["paper",`paperScroll${ve(n)}`,`paperWidth${ve(String(o))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return Ke(l,MC,t)},NC=fe(ry,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),BC=fe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ve(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),VC=fe(Mr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ve(n.scroll)}`],t[`paperWidth${ve(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(tt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${ah.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${ah.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${ah.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),ga=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDialog"}),s=Xr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,"aria-modal":f=!0,BackdropComponent:v,BackdropProps:h,children:y,className:P,disableEscapeKeyDown:j=!1,fullScreen:A=!1,fullWidth:b=!1,maxWidth:H="sm",onBackdropClick:S,onClick:z,onClose:C,open:O,PaperComponent:D=Mr,PaperProps:T={},scroll:R="paper",slots:M={},slotProps:L={},TransitionComponent:w=qh,transitionDuration:N=a,TransitionProps:I,...W}=o,Q={...o,disableEscapeKeyDown:j,fullScreen:A,fullWidth:b,maxWidth:H,scroll:R},J=XC(Q),U=g.useRef(),re=ge=>{U.current=ge.target===ge.currentTarget},K=ge=>{z&&z(ge),U.current&&(U.current=null,S&&S(ge),C&&C(ge,"backdropClick"))},Y=bo(u),E=g.useMemo(()=>({titleId:Y}),[Y]),q={transition:w,...M},X={transition:I,paper:T,backdrop:h,...L},$={slots:q,slotProps:X},[ne,oe]=lt("root",{elementType:NC,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:Q,className:ze(J.root,P),ref:n}),[le,be]=lt("backdrop",{elementType:LC,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:Q}),[ie,xe]=lt("paper",{elementType:VC,shouldForwardComponentProp:!0,externalForwardedProps:$,ownerState:Q,className:ze(J.paper,T.className)}),[Oe,Le]=lt("container",{elementType:BC,externalForwardedProps:$,ownerState:Q,className:ze(J.container)}),[Ae,Ye]=lt("transition",{elementType:qh,externalForwardedProps:$,ownerState:Q,additionalProps:{appear:!0,in:O,timeout:N,role:"presentation"}});return p.jsx(ne,{closeAfterTransition:!0,slots:{backdrop:le},slotProps:{backdrop:{transitionDuration:N,as:v,...be}},disableEscapeKeyDown:j,onClose:C,open:O,onClick:K,...oe,...W,children:p.jsx(Ae,{...Ye,children:p.jsx(Oe,{onMouseDown:re,...Le,children:p.jsx(ie,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":Y,"aria-modal":f,...xe,children:p.jsx(Uw.Provider,{value:E,children:y})})})})})});function IC(e){return Ue("MuiDialogActions",e)}Qe("MuiDialogActions",["root","spacing"]);const WC=e=>{const{classes:t,disableSpacing:n}=e;return Ke({root:["root",!n&&"spacing"]},IC,t)},JC=fe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),FC=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=o,u={...o,disableSpacing:a},f=WC(u);return p.jsx(JC,{className:ze(f.root,s),ownerState:u,ref:n,...l})});function YC(e){return Ue("MuiDialogContent",e)}Qe("MuiDialogContent",["root","dividers"]);function qC(e){return Ue("MuiDialogTitle",e)}const ZC=Qe("MuiDialogTitle",["root"]),GC=e=>{const{classes:t,dividers:n}=e;return Ke({root:["root",n&&"dividers"]},YC,t)},UC=fe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(tt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${ZC.root} + &`]:{paddingTop:0}}}]}))),Ql=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=o,u={...o,dividers:a},f=GC(u);return p.jsx(UC,{className:ze(f.root,s),ownerState:u,ref:n,...l})}),QC=e=>{const{classes:t}=e;return Ke({root:["root"]},qC,t)},KC=fe(wt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Kl=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=o,u=o,f=QC(u),{titleId:v=a}=g.useContext(Uw);return p.jsx(KC,{component:"h2",className:ze(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??v,...l})});function _C(e){return Ue("MuiDivider",e)}const qb=Qe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),$C=e=>{const{absolute:t,children:n,classes:o,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return Ke({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},_C,o)},eO=fe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(tt(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Pt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),tO=fe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(tt(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Si=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:u="horizontal",component:f=a||u==="vertical"?"div":"hr",flexItem:v=!1,light:h=!1,role:y=f!=="hr"?"separator":void 0,textAlign:P="center",variant:j="fullWidth",...A}=o,b={...o,absolute:s,component:f,flexItem:v,light:h,orientation:u,role:y,textAlign:P,variant:j},H=$C(b);return p.jsx(eO,{as:f,className:ze(H.root,l),role:y,ref:n,ownerState:b,"aria-orientation":y==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...A,children:a?p.jsx(tO,{className:H.wrapper,ownerState:b,children:a}):null})});Si&&(Si.muiSkipListHighlight=!0);function nO(e,t,n){const o=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=Po(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const v=a.getComputedStyle(t);l=v.getPropertyValue("-webkit-transform")||v.getPropertyValue("transform")}let u=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const v=l.split("(")[1].split(")")[0].split(",");u=parseInt(v[4],10),f=parseInt(v[5],10)}return e==="left"?s?`translateX(${s.right+u-o.left}px)`:`translateX(${a.innerWidth+u-o.left}px)`:e==="right"?s?`translateX(-${o.right-s.left-u}px)`:`translateX(-${o.left+o.width-u}px)`:e==="up"?s?`translateY(${s.bottom+f-o.top}px)`:`translateY(${a.innerHeight+f-o.top}px)`:s?`translateY(-${o.top-s.top+o.height-f}px)`:`translateY(-${o.top+o.height-f}px)`}function rO(e){return typeof e=="function"?e():e}function ff(e,t,n){const o=rO(n),s=nO(e,t,o);s&&(t.style.webkitTransform=s,t.style.transform=s)}const oO=g.forwardRef(function(t,n){const o=Xr(),s={enter:o.transitions.easing.easeOut,exit:o.transitions.easing.sharp},a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:f,container:v,direction:h="down",easing:y=s,in:P,onEnter:j,onEntered:A,onEntering:b,onExit:H,onExited:S,onExiting:z,style:C,timeout:O=a,TransitionComponent:D=Ho,...T}=t,R=g.useRef(null),M=ln(qs(f),R,n),L=K=>Y=>{K&&(Y===void 0?K(R.current):K(R.current,Y))},w=L((K,Y)=>{ff(h,K,v),Zm(K),j&&j(K,Y)}),N=L((K,Y)=>{const E=za({timeout:O,style:C,easing:y},{mode:"enter"});K.style.webkitTransition=o.transitions.create("-webkit-transform",{...E}),K.style.transition=o.transitions.create("transform",{...E}),K.style.webkitTransform="none",K.style.transform="none",b&&b(K,Y)}),I=L(A),W=L(z),Q=L(K=>{const Y=za({timeout:O,style:C,easing:y},{mode:"exit"});K.style.webkitTransition=o.transitions.create("-webkit-transform",Y),K.style.transition=o.transitions.create("transform",Y),ff(h,K,v),H&&H(K)}),J=L(K=>{K.style.webkitTransition="",K.style.transition="",S&&S(K)}),U=K=>{l&&l(R.current,K)},re=g.useCallback(()=>{R.current&&ff(h,R.current,v)},[h,v]);return g.useEffect(()=>{if(P||h==="down"||h==="right")return;const K=Xm(()=>{R.current&&ff(h,R.current,v)}),Y=Po(R.current);return Y.addEventListener("resize",K),()=>{K.clear(),Y.removeEventListener("resize",K)}},[h,P,v]),g.useEffect(()=>{P||re()},[P,re]),p.jsx(D,{nodeRef:R,onEnter:w,onEntered:I,onEntering:N,onExit:Q,onExited:J,onExiting:W,addEndListener:U,appear:u,in:P,timeout:O,...T,children:(K,{ownerState:Y,...E})=>g.cloneElement(f,{ref:M,style:{visibility:K==="exited"&&!P?"hidden":void 0,...C,...f.props.style},...E})})});function sO(e){return Ue("MuiDrawer",e)}Qe("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Qw=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},iO=e=>{const{classes:t,anchor:n,variant:o}=e,s={root:["root",`anchor${ve(n)}`],docked:[(o==="permanent"||o==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ve(n)}`,o!=="temporary"&&`paperAnchorDocked${ve(n)}`]};return Ke(s,sO,t)},aO=fe(ry,{name:"MuiDrawer",slot:"Root",overridesResolver:Qw})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),lO=fe("div",{shouldForwardProp:In,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:Qw})({flex:"0 0 auto"}),cO=fe(Mr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${ve(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${ve(n.anchor)}`]]}})(tt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),Kw={left:"right",right:"left",top:"down",bottom:"up"};function uO(e){return["left","right"].includes(e)}function fO({direction:e},t){return e==="rtl"&&uO(t)?Kw[t]:t}const dO=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDrawer"}),s=Xr(),a=Rc(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:v,className:h,elevation:y=16,hideBackdrop:P=!1,ModalProps:{BackdropProps:j,...A}={},onClose:b,open:H=!1,PaperProps:S={},SlideProps:z,TransitionComponent:C,transitionDuration:O=l,variant:D="temporary",slots:T={},slotProps:R={},...M}=o,L=g.useRef(!1);g.useEffect(()=>{L.current=!0},[]);const w=fO({direction:a?"rtl":"ltr"},u),I={...o,anchor:u,elevation:y,open:H,variant:D,...M},W=iO(I),Q={slots:{transition:C,...T},slotProps:{paper:S,transition:z,...R,backdrop:Jm(R.backdrop||{...f,...j},{transitionDuration:O})}},[J,U]=lt("root",{ref:n,elementType:aO,className:ze(W.root,W.modal,h),shouldForwardComponentProp:!0,ownerState:I,externalForwardedProps:{...Q,...M,...A},additionalProps:{open:H,onClose:b,hideBackdrop:P,slots:{backdrop:Q.slots.backdrop},slotProps:{backdrop:Q.slotProps.backdrop}}}),[re,K]=lt("paper",{elementType:cO,shouldForwardComponentProp:!0,className:ze(W.paper,S.className),ownerState:I,externalForwardedProps:Q,additionalProps:{elevation:D==="temporary"?y:0,square:!0}}),[Y,E]=lt("docked",{elementType:lO,ref:n,className:ze(W.root,W.docked,h),ownerState:I,externalForwardedProps:Q,additionalProps:M}),[q,X]=lt("transition",{elementType:oO,ownerState:I,externalForwardedProps:Q,additionalProps:{in:H,direction:Kw[w],timeout:O,appear:L.current}}),$=p.jsx(re,{...K,children:v});if(D==="permanent")return p.jsx(Y,{...E,children:$});const ne=p.jsx(q,{...X,children:$});return D==="persistent"?p.jsx(Y,{...E,children:ne}):p.jsx(J,{...U,children:ne})}),pO=e=>{const{classes:t,disableUnderline:n,startAdornment:o,endAdornment:s,size:a,hiddenLabel:l,multiline:u}=e,f={root:["root",!n&&"underline",o&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${ve(a)}`,l&&"hiddenLabel",u&&"multiline"],input:["input"]},v=Ke(f,fz,t);return{...t,...v}},vO=fe(Ed,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...kd(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${Dr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${Dr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Dr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Dr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Dr.disabled}, .${Dr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Dr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(fn()).map(([l])=>({props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[l]?.main}`}}})),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:u})=>l.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),hO=fe(Rd,{name:"MuiFilledInput",slot:"Input",overridesResolver:Td})(tt(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),oy=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,hiddenLabel:f,inputComponent:v="input",multiline:h=!1,slotProps:y,slots:P={},type:j="text",...A}=o,b={...o,disableUnderline:s,fullWidth:u,inputComponent:v,multiline:h,type:j},H=pO(o),S={root:{ownerState:b},input:{ownerState:b}},z=y??l?Vn(S,y??l):S,C=P.root??a.Root??vO,O=P.input??a.Input??hO;return p.jsx(Md,{slots:{root:C,input:O},slotProps:z,fullWidth:u,inputComponent:v,multiline:h,ref:n,type:j,...A,classes:H})});oy.muiName="Input";function mO(e){return Ue("MuiFormControl",e)}Qe("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const yO=e=>{const{classes:t,margin:n,fullWidth:o}=e,s={root:["root",n!=="none"&&`margin${ve(n)}`,o&&"fullWidth"]};return Ke(s,mO,t)},gO=fe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${ve(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),rr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:u="div",disabled:f=!1,error:v=!1,focused:h,fullWidth:y=!1,hiddenLabel:P=!1,margin:j="none",required:A=!1,size:b="medium",variant:H="outlined",...S}=o,z={...o,color:l,component:u,disabled:f,error:v,fullWidth:y,hiddenLabel:P,margin:j,required:A,size:b,variant:H},C=yO(z),[O,D]=g.useState(()=>{let J=!1;return s&&g.Children.forEach(s,U=>{if(!Of(U,["Input","Select"]))return;const re=Of(U,["Select"])?U.props.input:U;re&&iz(re.props)&&(J=!0)}),J}),[T,R]=g.useState(()=>{let J=!1;return s&&g.Children.forEach(s,U=>{Of(U,["Input","Select"])&&(Kf(U.props,!0)||Kf(U.props.inputProps,!0))&&(J=!0)}),J}),[M,L]=g.useState(!1);f&&M&&L(!1);const w=h!==void 0&&!f?h:M;let N;g.useRef(!1);const I=g.useCallback(()=>{R(!0)},[]),W=g.useCallback(()=>{R(!1)},[]),Q=g.useMemo(()=>({adornedStart:O,setAdornedStart:D,color:l,disabled:f,error:v,filled:T,focused:w,fullWidth:y,hiddenLabel:P,size:b,onBlur:()=>{L(!1)},onFocus:()=>{L(!0)},onEmpty:W,onFilled:I,registerEffect:N,required:A,variant:H}),[O,l,f,v,T,w,y,P,N,W,I,A,b,H]);return p.jsx(Dd.Provider,{value:Q,children:p.jsx(gO,{as:u,ownerState:z,className:ze(C.root,a),ref:n,...S,children:s})})});function AO(e){return Ue("MuiFormControlLabel",e)}const _l=Qe("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),PO=e=>{const{classes:t,disabled:n,labelPlacement:o,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${ve(o)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return Ke(l,AO,t)},bO=fe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${_l.label}`]:t.label},t.root,t[`labelPlacement${ve(n.labelPlacement)}`]]}})(tt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${_l.disabled}`]:{cursor:"default"},[`& .${_l.label}`]:{[`&.${_l.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),xO=fe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${_l.error}`]:{color:(e.vars||e).palette.error.main}}))),ls=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:v,inputRef:h,label:y,labelPlacement:P="end",name:j,onChange:A,required:b,slots:H={},slotProps:S={},value:z,...C}=o,O=jo(),D=f??u.props.disabled??O?.disabled,T=b??u.props.required,R={disabled:D,required:T};["checked","name","onChange","value","inputRef"].forEach(J=>{typeof u.props[J]>"u"&&typeof o[J]<"u"&&(R[J]=o[J])});const M=Gs({props:o,muiFormControl:O,states:["error"]}),L={...o,disabled:D,labelPlacement:P,required:T,error:M.error},w=PO(L),N={slots:H,slotProps:{...l,...S}},[I,W]=lt("typography",{elementType:wt,externalForwardedProps:N,ownerState:L});let Q=y;return Q!=null&&Q.type!==wt&&!v&&(Q=p.jsx(I,{component:"span",...W,className:ze(w.label,W?.className),children:Q})),p.jsxs(bO,{className:ze(w.root,a),ownerState:L,ref:n,...C,children:[g.cloneElement(u,R),T?p.jsxs("div",{children:[Q,p.jsxs(xO,{ownerState:L,"aria-hidden":!0,className:w.asterisk,children:[" ","*"]})]}):Q]})});function wO(e){return Ue("MuiFormGroup",e)}Qe("MuiFormGroup",["root","row","error"]);const HO=e=>{const{classes:t,row:n,error:o}=e;return Ke({root:["root",n&&"row",o&&"error"]},wO,t)},jO=fe("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),SO=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=o,u=jo(),f=Gs({props:o,muiFormControl:u,states:["error"]}),v={...o,row:a,error:f.error},h=HO(v);return p.jsx(jO,{className:ze(h.root,s),ownerState:v,ref:n,...l})});function zO(e){return Ue("MuiFormHelperText",e)}const Zb=Qe("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Gb;const CO=e=>{const{classes:t,contained:n,size:o,disabled:s,error:a,filled:l,focused:u,required:f}=e,v={root:["root",s&&"disabled",a&&"error",o&&`size${ve(o)}`,n&&"contained",u&&"focused",l&&"filled",f&&"required"]};return Ke(v,zO,t)},OO=fe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ve(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Zb.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Zb.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),ha=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:v,focused:h,margin:y,required:P,variant:j,...A}=o,b=jo(),H=Gs({props:o,muiFormControl:b,states:["variant","size","disabled","error","filled","focused","required"]}),S={...o,component:l,contained:H.variant==="filled"||H.variant==="outlined",variant:H.variant,size:H.size,disabled:H.disabled,error:H.error,filled:H.filled,focused:H.focused,required:H.required};delete S.ownerState;const z=CO(S);return p.jsx(OO,{as:l,className:ze(z.root,a),ref:n,...A,ownerState:S,children:s===" "?Gb||(Gb=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function DO(e){return Ue("MuiFormLabel",e)}const ac=Qe("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),kO=e=>{const{classes:t,color:n,focused:o,disabled:s,error:a,filled:l,required:u}=e,f={root:["root",`color${ve(n)}`,s&&"disabled",a&&"error",l&&"filled",o&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return Ke(f,DO,t)},TO=fe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{[`&.${ac.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${ac.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ac.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),EO=fe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${ac.error}`]:{color:(e.vars||e).palette.error.main}}))),Tf=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:v,filled:h,focused:y,required:P,...j}=o,A=jo(),b=Gs({props:o,muiFormControl:A,states:["color","required","focused","disabled","error","filled"]}),H={...o,color:b.color||"primary",component:u,disabled:b.disabled,error:b.error,filled:b.filled,focused:b.focused,required:b.required},S=kO(H);return p.jsxs(TO,{as:u,ownerState:H,className:ze(S.root,a),ref:n,...j,children:[s,b.required&&p.jsxs(EO,{ownerState:H,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),Ub=g.createContext();function RO(e){return Ue("MuiGrid",e)}const MO=[0,1,2,3,4,5,6,7,8,9,10],LO=["column-reverse","column","row-reverse","row"],XO=["nowrap","wrap-reverse","wrap"],Ol=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Ac=Qe("MuiGrid",["root","container","item","zeroMinWidth",...MO.map(e=>`spacing-xs-${e}`),...LO.map(e=>`direction-xs-${e}`),...XO.map(e=>`wrap-xs-${e}`),...Ol.map(e=>`grid-xs-${e}`),...Ol.map(e=>`grid-sm-${e}`),...Ol.map(e=>`grid-md-${e}`),...Ol.map(e=>`grid-lg-${e}`),...Ol.map(e=>`grid-xl-${e}`)]);function NO({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((o,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return o;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=gi({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[s]:l;if(u==null)return o;const f=`${Math.round(n/u*1e8)/1e6}%`;let v={};if(t.container&&t.item&&t.columnSpacing!==0){const h=e.spacing(t.columnSpacing);if(h!=="0px"){const y=`calc(${f} + ${h})`;v={flexBasis:y,maxWidth:y}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...v}}return e.breakpoints.values[s]===0?Object.assign(o,a):o[e.breakpoints.up(s)]=a,o},{})}function BO({theme:e,ownerState:t}){const n=gi({values:t.direction,breakpoints:e.breakpoints.values});return br({theme:e},n,o=>{const s={flexDirection:o};return o.startsWith("column")&&(s[`& > .${Ac.item}`]={maxWidth:"none"}),s})}function _w({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const o=Object.keys(e).sort((s,a)=>e[s]-e[a]);return o.slice(0,o.indexOf(n))}function VO({theme:e,ownerState:t}){const{container:n,rowSpacing:o}=t;let s={};if(n&&o!==0){const a=gi({values:o,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=_w({breakpoints:e.breakpoints.values,values:a})),s=br({theme:e},a,(u,f)=>{const v=e.spacing(u);return v!=="0px"?{marginTop:`calc(-1 * ${v})`,[`& > .${Ac.item}`]:{paddingTop:v}}:l?.includes(f)?{}:{marginTop:0,[`& > .${Ac.item}`]:{paddingTop:0}}})}return s}function IO({theme:e,ownerState:t}){const{container:n,columnSpacing:o}=t;let s={};if(n&&o!==0){const a=gi({values:o,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=_w({breakpoints:e.breakpoints.values,values:a})),s=br({theme:e},a,(u,f)=>{const v=e.spacing(u);if(v!=="0px"){const h=`calc(-1 * ${v})`;return{width:`calc(100% + ${v})`,marginLeft:h,[`& > .${Ac.item}`]:{paddingLeft:v}}}return l?.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${Ac.item}`]:{paddingLeft:0}}})}return s}function WO(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const o=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&o.push(n[`spacing-${s}-${String(a)}`])}),o}const JO=fe("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:o,direction:s,item:a,spacing:l,wrap:u,zeroMinWidth:f,breakpoints:v}=n;let h=[];o&&(h=WO(l,v,t));const y=[];return v.forEach(P=>{const j=n[P];j&&y.push(t[`grid-${P}-${String(j)}`])}),[t.root,o&&t.container,a&&t.item,f&&t.zeroMinWidth,...h,s!=="row"&&t[`direction-xs-${String(s)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...y]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),BO,VO,IO,NO);function FO(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(o=>{const s=e[o];if(Number(s)>0){const a=`spacing-${o}-${String(s)}`;n.push(a)}}),n}const YO=e=>{const{classes:t,container:n,direction:o,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let v=[];n&&(v=FO(a,f));const h=[];f.forEach(P=>{const j=e[P];j&&h.push(`grid-${P}-${String(j)}`)});const y={root:["root",n&&"container",s&&"item",u&&"zeroMinWidth",...v,o!=="row"&&`direction-xs-${String(o)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...h]};return Ke(y,RO,t)},Fo=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiGrid"}),{breakpoints:s}=Xr(),a=Hd(o),{className:l,columns:u,columnSpacing:f,component:v="div",container:h=!1,direction:y="row",item:P=!1,rowSpacing:j,spacing:A=0,wrap:b="wrap",zeroMinWidth:H=!1,...S}=a,z=j||A,C=f||A,O=g.useContext(Ub),D=h?u||12:O,T={},R={...S};s.keys.forEach(w=>{S[w]!=null&&(T[w]=S[w],delete R[w])});const M={...a,columns:D,container:h,direction:y,item:P,rowSpacing:z,columnSpacing:C,wrap:b,zeroMinWidth:H,spacing:A,...T,breakpoints:s.keys},L=YO(M);return p.jsx(Ub.Provider,{value:D,children:p.jsx(JO,{ownerState:M,className:ze(L.root,l),as:v,ref:n,...R})})});function Uh(e){return`scale(${e}, ${e**2})`}const qO={entering:{opacity:1,transform:Uh(1)},entered:{opacity:1,transform:"none"}},lh=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Pc=g.forwardRef(function(t,n){const{addEndListener:o,appear:s=!0,children:a,easing:l,in:u,onEnter:f,onEntered:v,onEntering:h,onExit:y,onExited:P,onExiting:j,style:A,timeout:b="auto",TransitionComponent:H=Ho,...S}=t,z=vi(),C=g.useRef(),O=Xr(),D=g.useRef(null),T=ln(D,qs(a),n),R=J=>U=>{if(J){const re=D.current;U===void 0?J(re):J(re,U)}},M=R(h),L=R((J,U)=>{Zm(J);const{duration:re,delay:K,easing:Y}=za({style:A,timeout:b,easing:l},{mode:"enter"});let E;b==="auto"?(E=O.transitions.getAutoHeightDuration(J.clientHeight),C.current=E):E=re,J.style.transition=[O.transitions.create("opacity",{duration:E,delay:K}),O.transitions.create("transform",{duration:lh?E:E*.666,delay:K,easing:Y})].join(","),f&&f(J,U)}),w=R(v),N=R(j),I=R(J=>{const{duration:U,delay:re,easing:K}=za({style:A,timeout:b,easing:l},{mode:"exit"});let Y;b==="auto"?(Y=O.transitions.getAutoHeightDuration(J.clientHeight),C.current=Y):Y=U,J.style.transition=[O.transitions.create("opacity",{duration:Y,delay:re}),O.transitions.create("transform",{duration:lh?Y:Y*.666,delay:lh?re:re||Y*.333,easing:K})].join(","),J.style.opacity=0,J.style.transform=Uh(.75),y&&y(J)}),W=R(P),Q=J=>{b==="auto"&&z.start(C.current||0,J),o&&o(D.current,J)};return p.jsx(H,{appear:s,in:u,nodeRef:D,onEnter:L,onEntered:w,onEntering:M,onExit:I,onExited:W,onExiting:N,addEndListener:Q,timeout:b==="auto"?null:b,...S,children:(J,{ownerState:U,...re})=>g.cloneElement(a,{style:{opacity:0,transform:Uh(.75),visibility:J==="exited"&&!u?"hidden":void 0,...qO[J],...A,...a.props.style},ref:T,...re})})});Pc&&(Pc.muiSupportAuto=!0);const ZO=aw({themeId:Qr}),GO=e=>{const{classes:t,disableUnderline:n}=e,s=Ke({root:["root",!n&&"underline"],input:["input"]},cz,t);return{...t,...s}},UO=fe(Ed,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...kd(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:o})=>o.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:o})=>!o.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Bs.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Bs.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Bs.disabled}, .${Bs.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Bs.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(fn()).map(([o])=>({props:{color:o,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[o].main}`}}}))]}})),QO=fe(Rd,{name:"MuiInput",slot:"Input",overridesResolver:Td})({}),sy=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:f="input",multiline:v=!1,slotProps:h,slots:y={},type:P="text",...j}=o,A=GO(o),H={root:{ownerState:{disableUnderline:s}}},S=h??l?Vn(h??l,H):H,z=y.root??a.Root??UO,C=y.input??a.Input??QO;return p.jsx(Md,{slots:{root:z,input:C},slotProps:S,fullWidth:u,inputComponent:f,multiline:v,ref:n,type:P,...j,classes:A})});sy.muiName="Input";function KO(e){return Ue("MuiInputAdornment",e)}const Qb=Qe("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Kb;const _O=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ve(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},$O=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:o,position:s,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",s&&`position${ve(s)}`,l,o&&"hiddenLabel",a&&`size${ve(a)}`]};return Ke(u,KO,t)},eD=fe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:_O})(tt(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${Qb.positionStart}&:not(.${Qb.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),$w=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:v,variant:h,...y}=o,P=jo()||{};let j=h;h&&P.variant,P&&!j&&(j=P.variant);const A={...o,hiddenLabel:P.hiddenLabel,size:P.size,disablePointerEvents:u,position:v,variant:j},b=$O(A);return p.jsx(Dd.Provider,{value:null,children:p.jsx(eD,{as:l,ownerState:A,className:ze(b.root,a),ref:n,...y,children:typeof s=="string"&&!f?p.jsx(wt,{color:"textSecondary",children:s}):p.jsxs(g.Fragment,{children:[v==="start"?Kb||(Kb=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function tD(e){return Ue("MuiInputLabel",e)}Qe("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const nD=e=>{const{classes:t,formControl:n,size:o,shrink:s,disableAnimation:a,variant:l,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",o&&o!=="normal"&&`size${ve(o)}`,l],asterisk:[u&&"asterisk"]},v=Ke(f,tD,t);return{...t,...v}},rD=fe(Tf,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ac.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(tt(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:o})=>t==="filled"&&n.shrink&&o==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Ef=g.forwardRef(function(t,n){const o=nt({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...v}=o,h=jo();let y=l;typeof y>"u"&&h&&(y=h.filled||h.focused||h.adornedStart);const P=Gs({props:o,muiFormControl:h,states:["size","variant","required","focused"]}),j={...o,disableAnimation:s,formControl:h,shrink:y,size:P.size,variant:P.variant,required:P.required,focused:P.focused},A=nD(j);return p.jsx(rD,{"data-shrink":y,ref:n,className:ze(A.root,f),...v,ownerState:j,classes:A})});function oD(e){return Ue("MuiLink",e)}const sD=Qe("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),iD=({theme:e,ownerState:t})=>{const n=t.color,o=Is(e,`palette.${n}.main`,!1)||Is(e,`palette.${n}`,!1)||t.color,s=Is(e,`palette.${n}.mainChannel`)||Is(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Pt(o,.4)},_b={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},aD=e=>{const{classes:t,component:n,focusVisible:o,underline:s}=e,a={root:["root",`underline${ve(s)}`,n==="button"&&"button",o&&"focusVisible"]};return Ke(a,oD,t)},lD=fe(wt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${ve(n.underline)}`],n.component==="button"&&t.button]}})(tt(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:Pt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:Pt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${sD.focusVisible}`]:{outline:"auto"}}}]}))),$l=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiLink"}),s=Xr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:v,TypographyClasses:h,underline:y="always",variant:P="inherit",sx:j,...A}=o,[b,H]=g.useState(!1),S=D=>{Sa(D.target)||H(!1),f&&f(D)},z=D=>{Sa(D.target)&&H(!0),v&&v(D)},C={...o,color:l,component:u,focusVisible:b,underline:y,variant:P},O=aD(C);return p.jsx(lD,{color:l,className:ze(O.root,a),classes:h,component:u,onBlur:S,onFocus:z,ref:n,ownerState:C,variant:P,...A,sx:[..._b[l]===void 0?[{color:l}]:[],...Array.isArray(j)?j:[j]],style:{...A.style,...y==="always"&&l!=="inherit"&&!_b[l]&&{"--Link-underlineColor":iD({theme:s,ownerState:C})}}})}),go=g.createContext({});function cD(e){return Ue("MuiList",e)}Qe("MuiList",["root","padding","dense","subheader"]);const uD=e=>{const{classes:t,disablePadding:n,dense:o,subheader:s}=e;return Ke({root:["root",!n&&"padding",o&&"dense",s&&"subheader"]},cD,t)},fD=fe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Qh=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:v,...h}=o,y=g.useMemo(()=>({dense:u}),[u]),P={...o,component:l,dense:u,disablePadding:f},j=uD(P);return p.jsx(go.Provider,{value:y,children:p.jsxs(fD,{as:l,className:ze(j.root,a),ref:n,ownerState:P,...h,children:[v,s]})})});function dD(e){return Ue("MuiListItem",e)}Qe("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function pD(e){return Ue("MuiListItemButton",e)}const ma=Qe("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),vD=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},hD=e=>{const{alignItems:t,classes:n,dense:o,disabled:s,disableGutters:a,divider:l,selected:u}=e,v=Ke({root:["root",o&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},pD,n);return{...n,...v}},mD=fe(Hi,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:vD})(tt(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ma.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ma.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ma.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ma.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ma.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),e1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:u,dense:f=!1,disableGutters:v=!1,divider:h=!1,focusVisibleClassName:y,selected:P=!1,className:j,...A}=o,b=g.useContext(go),H=g.useMemo(()=>({dense:f||b.dense||!1,alignItems:s,disableGutters:v}),[s,b.dense,f,v]),S=g.useRef(null);Rr(()=>{a&&S.current&&S.current.focus()},[a]);const z={...o,alignItems:s,dense:H.dense,disableGutters:v,divider:h,selected:P},C=hD(z),O=ln(S,n);return p.jsx(go.Provider,{value:H,children:p.jsx(mD,{ref:O,href:A.href||A.to,component:(A.href||A.to)&&l==="div"?"button":l,focusVisibleClassName:ze(C.focusVisible,y),ownerState:z,className:ze(C.root,j),...A,classes:C,children:u})})});function yD(e){return Ue("MuiListItemSecondaryAction",e)}Qe("MuiListItemSecondaryAction",["root","disableGutters"]);const gD=e=>{const{disableGutters:t,classes:n}=e;return Ke({root:["root",t&&"disableGutters"]},yD,n)},AD=fe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),t1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=o,l=g.useContext(go),u={...o,disableGutters:l.disableGutters},f=gD(u);return p.jsx(AD,{className:ze(f.root,s),ownerState:u,ref:n,...a})});t1.muiName="ListItemSecondaryAction";const PD=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},bD=e=>{const{alignItems:t,classes:n,dense:o,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return Ke({root:["root",o&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},dD,n)},xD=fe("div",{name:"MuiListItem",slot:"Root",overridesResolver:PD})(tt(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${ma.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),wD=fe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Dl=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:v={},ContainerComponent:h="li",ContainerProps:{className:y,...P}={},dense:j=!1,disableGutters:A=!1,disablePadding:b=!1,divider:H=!1,secondaryAction:S,slotProps:z={},slots:C={},...O}=o,D=g.useContext(go),T=g.useMemo(()=>({dense:j||D.dense||!1,alignItems:s,disableGutters:A}),[s,D.dense,j,A]),R=g.useRef(null),M=g.Children.toArray(a),L=M.length&&Of(M[M.length-1],["ListItemSecondaryAction"]),w={...o,alignItems:s,dense:T.dense,disableGutters:A,disablePadding:b,divider:H,hasSecondaryAction:L},N=bD(w),I=ln(R,n),W=C.root||f.Root||xD,Q=z.root||v.root||{},J={className:ze(N.root,Q.className,l),...O};let U=u||"li";return L?(U=!J.component&&!u?"div":U,h==="li"&&(U==="li"?U="div":J.component==="li"&&(J.component="div")),p.jsx(go.Provider,{value:T,children:p.jsxs(wD,{as:h,className:ze(N.container,y),ref:I,ownerState:w,...P,children:[p.jsx(W,{...Q,...!gc(W)&&{as:U,ownerState:{...w,...Q.ownerState}},...J,children:M}),M.pop()]})})):p.jsx(go.Provider,{value:T,children:p.jsxs(W,{...Q,as:U,ref:I,...!gc(W)&&{ownerState:{...w,...Q.ownerState}},...J,children:[M,S&&p.jsx(t1,{children:S})]})})});function HD(e){return Ue("MuiListItemIcon",e)}const $b=Qe("MuiListItemIcon",["root","alignItemsFlexStart"]),jD=e=>{const{alignItems:t,classes:n}=e;return Ke({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},HD,n)},SD=fe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(tt(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),zD=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItemIcon"}),{className:s,...a}=o,l=g.useContext(go),u={...o,alignItems:l.alignItems},f=jD(u);return p.jsx(SD,{className:ze(f.root,s),ownerState:u,ref:n,...a})});function CD(e){return Ue("MuiListItemText",e)}const Aa=Qe("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),OD=e=>{const{classes:t,inset:n,primary:o,secondary:s,dense:a}=e;return Ke({root:["root",n&&"inset",a&&"dense",o&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},CD,t)},DD=fe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Aa.primary}`]:t.primary},{[`& .${Aa.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${Ab.root}:where(& .${Aa.primary})`]:{display:"block"},[`.${Ab.root}:where(& .${Aa.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),Pa=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:v,secondary:h,secondaryTypographyProps:y,slots:P={},slotProps:j={},...A}=o,{dense:b}=g.useContext(go);let H=f??s,S=h;const z={...o,disableTypography:l,inset:u,primary:!!H,secondary:!!S,dense:b},C=OD(z),O={slots:P,slotProps:{primary:v,secondary:y,...j}},[D,T]=lt("root",{className:ze(C.root,a),elementType:DD,externalForwardedProps:{...O,...A},ownerState:z,ref:n}),[R,M]=lt("primary",{className:C.primary,elementType:wt,externalForwardedProps:O,ownerState:z}),[L,w]=lt("secondary",{className:C.secondary,elementType:wt,externalForwardedProps:O,ownerState:z});return H!=null&&H.type!==wt&&!l&&(H=p.jsx(R,{variant:b?"body2":"body1",component:M?.variant?void 0:"span",...M,children:H})),S!=null&&S.type!==wt&&!l&&(S=p.jsx(L,{variant:"body2",color:"textSecondary",...w,children:S})),p.jsxs(D,{...T,children:[H,S]})});function ch(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function e8(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function n1(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function kl(e,t,n,o,s,a){let l=!1,u=s(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const f=o?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!n1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const kD=g.forwardRef(function(t,n){const{actions:o,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:f=!1,disableListWrap:v=!1,onKeyDown:h,variant:y="selectedMenu",...P}=t,j=g.useRef(null),A=g.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Rr(()=>{s&&j.current.focus()},[s]),g.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(C,{direction:O})=>{const D=!j.current.style.width;if(C.clientHeight{const O=j.current,D=C.key;if(C.ctrlKey||C.metaKey||C.altKey){h&&h(C);return}const R=er(O).activeElement;if(D==="ArrowDown")C.preventDefault(),kl(O,R,v,f,ch);else if(D==="ArrowUp")C.preventDefault(),kl(O,R,v,f,e8);else if(D==="Home")C.preventDefault(),kl(O,null,v,f,ch);else if(D==="End")C.preventDefault(),kl(O,null,v,f,e8);else if(D.length===1){const M=A.current,L=D.toLowerCase(),w=performance.now();M.keys.length>0&&(w-M.lastTime>500?(M.keys=[],M.repeating=!0,M.previousKeyMatched=!0):M.repeating&&L!==M.keys[0]&&(M.repeating=!1)),M.lastTime=w,M.keys.push(L);const N=R&&!M.repeating&&n1(R,M);M.previousKeyMatched&&(N||kl(O,R,!1,f,ch,M))?C.preventDefault():M.previousKeyMatched=!1}h&&h(C)},H=ln(j,n);let S=-1;g.Children.forEach(l,(C,O)=>{if(!g.isValidElement(C)){S===O&&(S+=1,S>=l.length&&(S=-1));return}C.props.disabled||(y==="selectedMenu"&&C.props.selected||S===-1)&&(S=O),S===O&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const z=g.Children.map(l,(C,O)=>{if(O===S){const D={};return a&&(D.autoFocus=!0),C.props.tabIndex===void 0&&y==="selectedMenu"&&(D.tabIndex=0),g.cloneElement(C,D)}return C});return p.jsx(Qh,{role:"menu",ref:H,className:u,onKeyDown:b,tabIndex:s?0:-1,...P,children:z})});function TD(e){return Ue("MuiPopover",e)}Qe("MuiPopover",["root","paper"]);function t8(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function n8(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function r8(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function df(e){return typeof e=="function"?e():e}const ED=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"]},TD,t)},RD=fe(ry,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),r1=fe(Mr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),MD=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:v,className:h,container:y,elevation:P=8,marginThreshold:j=16,open:A,PaperProps:b={},slots:H={},slotProps:S={},transformOrigin:z={vertical:"top",horizontal:"left"},TransitionComponent:C,transitionDuration:O="auto",TransitionProps:D={},disableScrollLock:T=!1,...R}=o,M=g.useRef(),L={...o,anchorOrigin:l,anchorReference:f,elevation:P,marginThreshold:j,transformOrigin:z,TransitionComponent:C,transitionDuration:O,TransitionProps:D},w=ED(L),N=g.useCallback(()=>{if(f==="anchorPosition")return u;const Oe=df(a),Ae=(Oe&&Oe.nodeType===1?Oe:er(M.current).body).getBoundingClientRect();return{top:Ae.top+t8(Ae,l.vertical),left:Ae.left+n8(Ae,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),I=g.useCallback(Oe=>({vertical:t8(Oe,z.vertical),horizontal:n8(Oe,z.horizontal)}),[z.horizontal,z.vertical]),W=g.useCallback(Oe=>{const Le={width:Oe.offsetWidth,height:Oe.offsetHeight},Ae=I(Le);if(f==="none")return{top:null,left:null,transformOrigin:r8(Ae)};const Ye=N();let ge=Ye.top-Ae.vertical,Je=Ye.left-Ae.horizontal;const yt=ge+Le.height,Me=Je+Le.width,ht=Po(df(a)),ct=ht.innerHeight-j,B=ht.innerWidth-j;if(j!==null&&gect){const _=yt-ct;ge-=_,Ae.vertical+=_}if(j!==null&&JeB){const _=Me-B;Je-=_,Ae.horizontal+=_}return{top:`${Math.round(ge)}px`,left:`${Math.round(Je)}px`,transformOrigin:r8(Ae)}},[a,f,N,I,j]),[Q,J]=g.useState(A),U=g.useCallback(()=>{const Oe=M.current;if(!Oe)return;const Le=W(Oe);Le.top!==null&&Oe.style.setProperty("top",Le.top),Le.left!==null&&(Oe.style.left=Le.left),Oe.style.transformOrigin=Le.transformOrigin,J(!0)},[W]);g.useEffect(()=>(T&&window.addEventListener("scroll",U),()=>window.removeEventListener("scroll",U)),[a,T,U]);const re=()=>{U()},K=()=>{J(!1)};g.useEffect(()=>{A&&U()}),g.useImperativeHandle(s,()=>A?{updatePosition:()=>{U()}}:null,[A,U]),g.useEffect(()=>{if(!A)return;const Oe=Xm(()=>{U()}),Le=Po(df(a));return Le.addEventListener("resize",Oe),()=>{Oe.clear(),Le.removeEventListener("resize",Oe)}},[a,A,U]);let Y=O;const E={slots:{transition:C,...H},slotProps:{transition:D,paper:b,...S}},[q,X]=lt("transition",{elementType:Pc,externalForwardedProps:E,ownerState:L,getSlotProps:Oe=>({...Oe,onEntering:(Le,Ae)=>{Oe.onEntering?.(Le,Ae),re()},onExited:Le=>{Oe.onExited?.(Le),K()}}),additionalProps:{appear:!0,in:A}});O==="auto"&&!q.muiSupportAuto&&(Y=void 0);const $=y||(a?er(df(a)).body:void 0),[ne,{slots:oe,slotProps:le,...be}]=lt("root",{ref:n,elementType:RD,externalForwardedProps:{...E,...R},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:H.backdrop},slotProps:{backdrop:Jm(typeof S.backdrop=="function"?S.backdrop(L):S.backdrop,{invisible:!0})},container:$,open:A},ownerState:L,className:ze(w.root,h)}),[ie,xe]=lt("paper",{ref:M,className:w.paper,elementType:r1,externalForwardedProps:E,shouldForwardComponentProp:!0,additionalProps:{elevation:P,style:Q?void 0:{opacity:0}},ownerState:L});return p.jsx(ne,{...be,...!gc(ne)&&{slots:oe,slotProps:le,disableScrollLock:T},children:p.jsx(q,{...X,timeout:Y,children:p.jsx(ie,{...xe,children:v})})})});function LD(e){return Ue("MuiMenu",e)}Qe("MuiMenu",["root","paper","list"]);const XD={vertical:"top",horizontal:"right"},ND={vertical:"top",horizontal:"left"},BD=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"],list:["list"]},LD,t)},VD=fe(MD,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ID=fe(r1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),WD=fe(kD,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),bc=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:v,open:h,PaperProps:y={},PopoverClasses:P,transitionDuration:j="auto",TransitionProps:{onEntering:A,...b}={},variant:H="selectedMenu",slots:S={},slotProps:z={},...C}=o,O=Rc(),D={...o,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:A,PaperProps:y,transitionDuration:j,TransitionProps:b,variant:H},T=BD(D),R=s&&!u&&h,M=g.useRef(null),L=(Y,E)=>{M.current&&M.current.adjustStyleForScrollbar(Y,{direction:O?"rtl":"ltr"}),A&&A(Y,E)},w=Y=>{Y.key==="Tab"&&(Y.preventDefault(),v&&v(Y,"tabKeyDown"))};let N=-1;g.Children.map(a,(Y,E)=>{g.isValidElement(Y)&&(Y.props.disabled||(H==="selectedMenu"&&Y.props.selected||N===-1)&&(N=E))});const I={slots:S,slotProps:{list:f,transition:b,paper:y,...z}},W=hw({elementType:S.root,externalSlotProps:z.root,ownerState:D,className:[T.root,l]}),[Q,J]=lt("paper",{className:T.paper,elementType:ID,externalForwardedProps:I,shouldForwardComponentProp:!0,ownerState:D}),[U,re]=lt("list",{className:ze(T.list,f.className),elementType:WD,shouldForwardComponentProp:!0,externalForwardedProps:I,getSlotProps:Y=>({...Y,onKeyDown:E=>{w(E),Y.onKeyDown?.(E)}}),ownerState:D}),K=typeof I.slotProps.transition=="function"?I.slotProps.transition(D):I.slotProps.transition;return p.jsx(VD,{onClose:v,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?XD:ND,slots:{root:S.root,paper:Q,backdrop:S.backdrop,...S.transition&&{transition:S.transition}},slotProps:{root:W,paper:J,backdrop:typeof z.backdrop=="function"?z.backdrop(D):z.backdrop,transition:{...K,onEntering:(...Y)=>{L(...Y),K?.onEntering?.(...Y)}}},open:h,ref:n,transitionDuration:j,ownerState:D,...C,classes:P,children:p.jsx(U,{actions:M,autoFocus:s&&(N===-1||u),autoFocusItem:R,variant:H,...re,children:a})})});function JD(e){return Ue("MuiMenuItem",e)}const Tl=Qe("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),FD=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},YD=e=>{const{disabled:t,dense:n,divider:o,disableGutters:s,selected:a,classes:l}=e,f=Ke({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",o&&"divider",a&&"selected"]},JD,l);return{...l,...f}},qD=fe(Hi,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:FD})(tt(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Tl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Tl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Tl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Tl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Tl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${qb.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${qb.inset}`]:{marginLeft:52},[`& .${Aa.root}`]:{marginTop:0,marginBottom:0},[`& .${Aa.inset}`]:{paddingLeft:36},[`& .${$b.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${$b.root} svg`]:{fontSize:"1.25rem"}}}]}))),Vo=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:v,role:h="menuitem",tabIndex:y,className:P,...j}=o,A=g.useContext(go),b=g.useMemo(()=>({dense:l||A.dense||!1,disableGutters:f}),[A.dense,l,f]),H=g.useRef(null);Rr(()=>{s&&H.current&&H.current.focus()},[s]);const S={...o,dense:b.dense,divider:u,disableGutters:f},z=YD(o),C=ln(H,n);let O;return o.disabled||(O=y!==void 0?y:-1),p.jsx(go.Provider,{value:b,children:p.jsx(qD,{ref:C,role:h,tabIndex:O,component:a,focusVisibleClassName:ze(z.focusVisible,v),className:ze(z.root,P),...j,ownerState:S,classes:z})})});function ZD(e){return Ue("MuiNativeSelect",e)}const iy=Qe("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),GD=e=>{const{classes:t,variant:n,disabled:o,multiple:s,open:a,error:l}=e,u={select:["select",n,o&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${ve(n)}`,a&&"iconOpen",o&&"disabled"]};return Ke(u,ZD,t)},o1=fe("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${iy.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),UD=fe(o1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:In,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${iy.multiple}`]:t.multiple}]}})({}),s1=fe("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${iy.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),QD=fe(s1,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ve(n.variant)}`],n.open&&t.iconOpen]}})({}),KD=g.forwardRef(function(t,n){const{className:o,disabled:s,error:a,IconComponent:l,inputRef:u,variant:f="standard",...v}=t,h={...t,disabled:s,variant:f,error:a},y=GD(h);return p.jsxs(g.Fragment,{children:[p.jsx(UD,{ownerState:h,className:ze(y.select,o),disabled:s,ref:u||n,...v}),t.multiple?null:p.jsx(QD,{as:l,ownerState:h,className:y.icon})]})});var o8;const _D=fe("fieldset",{shouldForwardProp:In})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),$D=fe("legend",{shouldForwardProp:In})(tt(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function ek(e){const{children:t,classes:n,className:o,label:s,notched:a,...l}=e,u=s!=null&&s!=="",f={...e,notched:a,withLabel:u};return p.jsx(_D,{"aria-hidden":!0,className:o,ownerState:f,...l,children:p.jsx($D,{ownerState:f,children:u?p.jsx("span",{children:s}):o8||(o8=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const tk=e=>{const{classes:t}=e,o=Ke({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},uz,t);return{...t,...o}},nk=fe(Ed,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:kd})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${qr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${qr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${qr.focused} .${qr.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(fn()).map(([n])=>({props:{color:n},style:{[`&.${qr.focused} .${qr.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${qr.error} .${qr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${qr.disabled} .${qr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:o})=>n.multiline&&o==="small",style:{padding:"8.5px 14px"}}]}})),rk=fe(ek,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),ok=fe(Rd,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Td})(tt(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),ay=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:l="input",label:u,multiline:f=!1,notched:v,slots:h={},slotProps:y={},type:P="text",...j}=o,A=tk(o),b=jo(),H=Gs({props:o,muiFormControl:b,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...o,color:H.color||"primary",disabled:H.disabled,error:H.error,focused:H.focused,formControl:b,fullWidth:a,hiddenLabel:H.hiddenLabel,multiline:f,size:H.size,type:P},z=h.root??s.Root??nk,C=h.input??s.Input??ok,[O,D]=lt("notchedOutline",{elementType:rk,className:A.notchedOutline,shouldForwardComponentProp:!0,ownerState:S,externalForwardedProps:{slots:h,slotProps:y},additionalProps:{label:u!=null&&u!==""&&H.required?p.jsxs(g.Fragment,{children:[u," ","*"]}):u}});return p.jsx(Md,{slots:{root:z,input:C},slotProps:y,renderSuffix:T=>p.jsx(O,{...D,notched:typeof v<"u"?v:!!(T.startAdornment||T.filled||T.focused)}),fullWidth:a,inputComponent:l,multiline:f,ref:n,type:P,...j,classes:{...A,notchedOutline:null}})});ay.muiName="Input";const sk=At(p.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),ik=At(p.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),ak=At(p.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),lk=At(p.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),ck=fe("span",{shouldForwardProp:In})({position:"relative",display:"flex"}),uk=fe(ak)({transform:"scale(1)"}),fk=fe(lk)(tt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function i1(e){const{checked:t=!1,classes:n={},fontSize:o}=e,s={...e,checked:t};return p.jsxs(ck,{className:n.root,ownerState:s,children:[p.jsx(uk,{fontSize:o,className:n.background,ownerState:s}),p.jsx(fk,{fontSize:o,className:n.dot,ownerState:s})]})}const a1=g.createContext(void 0);function dk(){return g.useContext(a1)}function pk(e){return Ue("MuiRadio",e)}const s8=Qe("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),vk=e=>{const{classes:t,color:n,size:o}=e,s={root:["root",`color${ve(n)}`,o!=="medium"&&`size${ve(o)}`]};return{...t,...Ke(s,pk,t)}},hk=fe(ny,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${ve(n.size)}`],t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${s8.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${s8.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function mk(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const yk=p.jsx(i1,{checked:!0}),gk=p.jsx(i1,{}),xc=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=yk,color:l="primary",icon:u=gk,name:f,onChange:v,size:h="medium",className:y,disabled:P,disableRipple:j=!1,slots:A={},slotProps:b={},inputProps:H,...S}=o,z=jo();let C=P;z&&typeof C>"u"&&(C=z.disabled),C??=!1;const O={...o,disabled:C,disableRipple:j,color:l,size:h},D=vk(O),T=dk();let R=s;const M=Eh(v,T&&T.onChange);let L=f;T&&(typeof R>"u"&&(R=mk(T.value,o.value)),typeof L>"u"&&(L=T.name));const w=b.input??H,[N,I]=lt("root",{ref:n,elementType:hk,className:ze(D.root,y),shouldForwardComponentProp:!0,externalForwardedProps:{slots:A,slotProps:b,...S},getSlotProps:W=>({...W,onChange:(Q,...J)=>{W.onChange?.(Q,...J),M(Q,...J)}}),ownerState:O,additionalProps:{type:"radio",icon:g.cloneElement(u,{fontSize:u.props.fontSize??h}),checkedIcon:g.cloneElement(a,{fontSize:a.props.fontSize??h}),disabled:C,name:L,checked:R,slots:A,slotProps:{input:typeof w=="function"?w(O):w}}});return p.jsx(N,{...I,classes:D})});function Ak(e){return Ue("MuiRadioGroup",e)}Qe("MuiRadioGroup",["root","row","error"]);const Pk=e=>{const{classes:t,row:n,error:o}=e;return Ke({root:["root",n&&"row",o&&"error"]},Ak,t)},_f=g.forwardRef(function(t,n){const{actions:o,children:s,className:a,defaultValue:l,name:u,onChange:f,value:v,...h}=t,y=g.useRef(null),P=Pk(t),[j,A]=Ws({controlled:v,default:l,name:"RadioGroup"});g.useImperativeHandle(o,()=>({focus:()=>{let z=y.current.querySelector("input:not(:disabled):checked");z||(z=y.current.querySelector("input:not(:disabled)")),z&&z.focus()}}),[]);const b=ln(n,y),H=bo(u),S=g.useMemo(()=>({name:H,onChange(z){A(z.target.value),f&&f(z,z.target.value)},value:j}),[H,f,A,j]);return p.jsx(a1.Provider,{value:S,children:p.jsx(SO,{role:"radiogroup",ref:b,className:ze(P.root,a),...h,children:s})})});function l1(e){return Ue("MuiSelect",e)}const El=Qe("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var i8;const bk=fe(o1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${El.select}`]:t.select},{[`&.${El.select}`]:t[n.variant]},{[`&.${El.error}`]:t.error},{[`&.${El.multiple}`]:t.multiple}]}})({[`&.${El.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),xk=fe(s1,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ve(n.variant)}`],n.open&&t.iconOpen]}})({}),wk=fe("input",{shouldForwardProp:e=>zw(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function a8(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Hk(e){return e==null||typeof e=="string"&&!e.trim()}const jk=e=>{const{classes:t,variant:n,disabled:o,multiple:s,open:a,error:l}=e,u={select:["select",n,o&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${ve(n)}`,a&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return Ke(u,l1,t)},Sk=g.forwardRef(function(t,n){const{"aria-describedby":o,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:v,defaultValue:h,disabled:y,displayEmpty:P,error:j=!1,IconComponent:A,inputRef:b,labelId:H,MenuProps:S={},multiple:z,name:C,onBlur:O,onChange:D,onClose:T,onFocus:R,onOpen:M,open:L,readOnly:w,renderValue:N,required:I,SelectDisplayProps:W={},tabIndex:Q,type:J,value:U,variant:re="standard",...K}=t,[Y,E]=Ws({controlled:U,default:h,name:"Select"}),[q,X]=Ws({controlled:L,default:v,name:"Select"}),$=g.useRef(null),ne=g.useRef(null),[oe,le]=g.useState(null),{current:be}=g.useRef(L!=null),[ie,xe]=g.useState(),Oe=ln(n,b),Le=g.useCallback(qe=>{ne.current=qe,qe&&le(qe)},[]),Ae=oe?.parentNode;g.useImperativeHandle(Oe,()=>({focus:()=>{ne.current.focus()},node:$.current,value:Y}),[Y]),g.useEffect(()=>{v&&q&&oe&&!be&&(xe(l?null:Ae.clientWidth),ne.current.focus())},[oe,l]),g.useEffect(()=>{a&&ne.current.focus()},[a]),g.useEffect(()=>{if(!H)return;const qe=er(ne.current).getElementById(H);if(qe){const G=()=>{getSelection().isCollapsed&&ne.current.focus()};return qe.addEventListener("click",G),()=>{qe.removeEventListener("click",G)}}},[H]);const Ye=(qe,G)=>{qe?M&&M(G):T&&T(G),be||(xe(l?null:Ae.clientWidth),X(qe))},ge=qe=>{qe.button===0&&(qe.preventDefault(),ne.current.focus(),Ye(!0,qe))},Je=qe=>{Ye(!1,qe)},yt=g.Children.toArray(u),Me=qe=>{const G=yt.find(F=>F.props.value===qe.target.value);G!==void 0&&(E(G.props.value),D&&D(qe,G))},ht=qe=>G=>{let F;if(G.currentTarget.hasAttribute("tabindex")){if(z){F=Array.isArray(Y)?Y.slice():[];const Pe=Y.indexOf(qe.props.value);Pe===-1?F.push(qe.props.value):F.splice(Pe,1)}else F=qe.props.value;if(qe.props.onClick&&qe.props.onClick(G),Y!==F&&(E(F),D)){const Pe=G.nativeEvent||G,Se=new Pe.constructor(Pe.type,Pe);Object.defineProperty(Se,"target",{writable:!0,value:{value:F,name:C}}),D(Se,qe)}z||Ye(!1,G)}},ct=qe=>{w||[" ","ArrowUp","ArrowDown","Enter"].includes(qe.key)&&(qe.preventDefault(),Ye(!0,qe))},B=oe!==null&&q,_=qe=>{!B&&O&&(Object.defineProperty(qe,"target",{writable:!0,value:{value:Y,name:C}}),O(qe))};delete K["aria-invalid"];let ee,we;const ce=[];let me=!1;(Kf({value:Y})||P)&&(N?ee=N(Y):me=!0);const De=yt.map(qe=>{if(!g.isValidElement(qe))return null;let G;if(z){if(!Array.isArray(Y))throw new Error(fs(2));G=Y.some(F=>a8(F,qe.props.value)),G&&me&&ce.push(qe.props.children)}else G=a8(Y,qe.props.value),G&&me&&(we=qe.props.children);return g.cloneElement(qe,{"aria-selected":G?"true":"false",onClick:ht(qe),onKeyUp:F=>{F.key===" "&&F.preventDefault(),qe.props.onKeyUp&&qe.props.onKeyUp(F)},role:"option",selected:G,value:void 0,"data-value":qe.props.value})});me&&(z?ce.length===0?ee=null:ee=ce.reduce((qe,G,F)=>(qe.push(G),F{const{classes:t}=e,o=Ke({root:["root"]},l1,t);return{...t,...o}},ly={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>In(e)&&e!=="variant",slot:"Root"},Ck=fe(sy,ly)(""),Ok=fe(ay,ly)(""),Dk=fe(oy,ly)(""),wc=g.forwardRef(function(t,n){const o=nt({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:v=!1,IconComponent:h=Ww,id:y,input:P,inputProps:j,label:A,labelId:b,MenuProps:H,multiple:S=!1,native:z=!1,onClose:C,onOpen:O,open:D,renderValue:T,SelectDisplayProps:R,variant:M="outlined",...L}=o,w=z?KD:Sk,N=jo(),I=Gs({props:o,muiFormControl:N,states:["variant","error"]}),W=I.variant||M,Q={...o,variant:W,classes:l},J=zk(Q),{root:U,...re}=J,K=P||{standard:p.jsx(Ck,{ownerState:Q}),outlined:p.jsx(Ok,{label:A,ownerState:Q}),filled:p.jsx(Dk,{ownerState:Q})}[W],Y=ln(n,qs(K));return p.jsx(g.Fragment,{children:g.cloneElement(K,{inputComponent:w,inputProps:{children:a,error:I.error,IconComponent:h,variant:W,type:void 0,multiple:S,...z?{id:y}:{autoWidth:s,defaultOpen:f,displayEmpty:v,labelId:b,MenuProps:H,onClose:C,onOpen:O,open:D,renderValue:T,SelectDisplayProps:{id:y,...R}},...j,classes:j?Vn(re,j.classes):re,...P?P.props.inputProps:{}},...(S&&z||v)&&W==="outlined"?{notched:!0}:{},ref:Y,className:ze(K.props.className,u,J.root),...!P&&{variant:W},...L})})});wc.muiName="Select";function kk(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:o,open:s,resumeHideDuration:a}=e,l=vi();g.useEffect(()=>{if(!s)return;function S(z){z.defaultPrevented||z.key==="Escape"&&o?.(z,"escapeKeyDown")}return document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}},[s,o]);const u=$n((S,z)=>{o?.(S,z)}),f=$n(S=>{!o||S==null||l.start(S,()=>{u(null,"timeout")})});g.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const v=S=>{o?.(S,"clickaway")},h=l.clear,y=g.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),P=S=>z=>{const C=S.onBlur;C?.(z),y()},j=S=>z=>{const C=S.onFocus;C?.(z),h()},A=S=>z=>{const C=S.onMouseEnter;C?.(z),h()},b=S=>z=>{const C=S.onMouseLeave;C?.(z),y()};return g.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",y),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",y),window.removeEventListener("blur",h)}},[n,s,y,h]),{getRootProps:(S={})=>{const z={...qf(e),...qf(S)};return{role:"presentation",...S,...z,onBlur:P(z),onFocus:j(z),onMouseEnter:A(z),onMouseLeave:b(z)}},onClickAway:v}}function Tk(e){return Ue("MuiSnackbarContent",e)}Qe("MuiSnackbarContent",["root","message","action"]);const Ek=e=>{const{classes:t}=e;return Ke({root:["root"],action:["action"],message:["message"]},Tk,t)},Rk=fe(Mr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=cw(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),Mk=fe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Lk=fe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Xk=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=o,v=o,h=Ek(v);return p.jsxs(Rk,{role:u,square:!0,elevation:6,className:ze(h.root,a),ownerState:v,ref:n,...f,children:[p.jsx(Mk,{className:h.message,ownerState:v,children:l}),s?p.jsx(Lk,{className:h.action,ownerState:v,children:s}):null]})});function Nk(e){return Ue("MuiSnackbar",e)}Qe("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Bk=e=>{const{classes:t,anchorOrigin:n}=e,o={root:["root",`anchorOrigin${ve(n.vertical)}${ve(n.horizontal)}`]};return Ke(o,Nk,t)},Vk=fe("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${ve(n.anchorOrigin.vertical)}${ve(n.anchorOrigin.horizontal)}`]]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),Ik=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiSnackbar"}),s=Xr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:v=null,children:h,className:y,ClickAwayListenerProps:P,ContentProps:j,disableWindowBlurListener:A=!1,message:b,onBlur:H,onClose:S,onFocus:z,onMouseEnter:C,onMouseLeave:O,open:D,resumeHideDuration:T,slots:R={},slotProps:M={},TransitionComponent:L,transitionDuration:w=a,TransitionProps:{onEnter:N,onExited:I,...W}={},...Q}=o,J={...o,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:v,disableWindowBlurListener:A,TransitionComponent:L,transitionDuration:w},U=Bk(J),{getRootProps:re,onClickAway:K}=kk({...J}),[Y,E]=g.useState(!0),q=Ye=>{E(!0),I&&I(Ye)},X=(Ye,ge)=>{E(!1),N&&N(Ye,ge)},$={slots:{transition:L,...R},slotProps:{content:j,clickAwayListener:P,transition:W,...M}},[ne,oe]=lt("root",{ref:n,className:[U.root,y],elementType:Vk,getSlotProps:re,externalForwardedProps:{...$,...Q},ownerState:J}),[le,{ownerState:be,...ie}]=lt("clickAwayListener",{elementType:Zw,externalForwardedProps:$,getSlotProps:Ye=>({onClickAway:(...ge)=>{Ye.onClickAway?.(...ge),K(...ge)}}),ownerState:J}),[xe,Oe]=lt("content",{elementType:Xk,shouldForwardComponentProp:!0,externalForwardedProps:$,additionalProps:{message:b,action:l},ownerState:J}),[Le,Ae]=lt("transition",{elementType:Pc,externalForwardedProps:$,getSlotProps:Ye=>({onEnter:(...ge)=>{Ye.onEnter?.(...ge),X(...ge)},onExited:(...ge)=>{Ye.onExited?.(...ge),q(...ge)}}),additionalProps:{appear:!0,in:D,timeout:w,direction:u==="top"?"down":"up"},ownerState:J});return!D&&Y?null:p.jsx(le,{...ie,...R.clickAwayListener&&{ownerState:be},children:p.jsx(ne,{...oe,children:p.jsx(Le,{...Ae,children:h||p.jsx(xe,{...Oe})})})})});function Wk(e){return Ue("MuiTooltip",e)}const An=Qe("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Jk(e){return Math.round(e*1e5)/1e5}const Fk=e=>{const{classes:t,disableInteractive:n,arrow:o,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",s&&"touch",`tooltipPlacement${ve(a.split("-")[0])}`],arrow:["arrow"]};return Ke(l,Wk,t)},Yk=fe(Od,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${An.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${An.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${An.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${An.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${An.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${An.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${An.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${An.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),qk=fe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ve(n.placement.split("-")[0])}`]]}})(tt(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${An.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${An.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${An.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${An.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Jk(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${An.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${An.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${An.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${An.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${An.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${An.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${An.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${An.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${An.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${An.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Zk=fe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(tt(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let pf=!1;const l8=new Sd;let Rl={x:0,y:0};function vf(e,t){return(n,...o)=>{t&&t(n,...o),e(n,...o)}}const cy=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:u={},componentsProps:f={},describeChild:v=!1,disableFocusListener:h=!1,disableHoverListener:y=!1,disableInteractive:P=!1,disableTouchListener:j=!1,enterDelay:A=100,enterNextDelay:b=0,enterTouchDelay:H=700,followCursor:S=!1,id:z,leaveDelay:C=0,leaveTouchDelay:O=1500,onClose:D,onOpen:T,open:R,placement:M="bottom",PopperComponent:L,PopperProps:w={},slotProps:N={},slots:I={},title:W,TransitionComponent:Q,TransitionProps:J,...U}=o,re=g.isValidElement(a)?a:p.jsx("span",{children:a}),K=Xr(),Y=Rc(),[E,q]=g.useState(),[X,$]=g.useState(null),ne=g.useRef(!1),oe=P||S,le=vi(),be=vi(),ie=vi(),xe=vi(),[Oe,Le]=Ws({controlled:R,default:!1,name:"Tooltip",state:"open"});let Ae=Oe;const Ye=bo(z),ge=g.useRef(),Je=$n(()=>{ge.current!==void 0&&(document.body.style.WebkitUserSelect=ge.current,ge.current=void 0),xe.clear()});g.useEffect(()=>Je,[Je]);const yt=Fe=>{l8.clear(),pf=!0,Le(!0),T&&!Ae&&T(Fe)},Me=$n(Fe=>{l8.start(800+C,()=>{pf=!1}),Le(!1),D&&Ae&&D(Fe),le.start(K.transitions.duration.shortest,()=>{ne.current=!1})}),ht=Fe=>{ne.current&&Fe.type!=="touchstart"||(E&&E.removeAttribute("title"),be.clear(),ie.clear(),A||pf&&b?be.start(pf?b:A,()=>{yt(Fe)}):yt(Fe))},ct=Fe=>{be.clear(),ie.start(C,()=>{Me(Fe)})},[,B]=g.useState(!1),_=Fe=>{Sa(Fe.target)||(B(!1),ct(Fe))},ee=Fe=>{E||q(Fe.currentTarget),Sa(Fe.target)&&(B(!0),ht(Fe))},we=Fe=>{ne.current=!0;const Xt=re.props;Xt.onTouchStart&&Xt.onTouchStart(Fe)},ce=Fe=>{we(Fe),ie.clear(),le.clear(),Je(),ge.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",xe.start(H,()=>{document.body.style.WebkitUserSelect=ge.current,ht(Fe)})},me=Fe=>{re.props.onTouchEnd&&re.props.onTouchEnd(Fe),Je(),ie.start(O,()=>{Me(Fe)})};g.useEffect(()=>{if(!Ae)return;function Fe(Xt){Xt.key==="Escape"&&Me(Xt)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[Me,Ae]);const De=ln(qs(re),q,n);!W&&W!==0&&(Ae=!1);const Ve=g.useRef(),_e=Fe=>{const Xt=re.props;Xt.onMouseMove&&Xt.onMouseMove(Fe),Rl={x:Fe.clientX,y:Fe.clientY},Ve.current&&Ve.current.update()},gt={},ft=typeof W=="string";v?(gt.title=!Ae&&ft&&!y?W:null,gt["aria-describedby"]=Ae?Ye:null):(gt["aria-label"]=ft?W:null,gt["aria-labelledby"]=Ae&&!ft?Ye:null);const Ie={...gt,...U,...re.props,className:ze(U.className,re.props.className),onTouchStart:we,ref:De,...S?{onMouseMove:_e}:{}},Ft={};j||(Ie.onTouchStart=ce,Ie.onTouchEnd=me),y||(Ie.onMouseOver=vf(ht,Ie.onMouseOver),Ie.onMouseLeave=vf(ct,Ie.onMouseLeave),oe||(Ft.onMouseOver=ht,Ft.onMouseLeave=ct)),h||(Ie.onFocus=vf(ee,Ie.onFocus),Ie.onBlur=vf(_,Ie.onBlur),oe||(Ft.onFocus=ee,Ft.onBlur=_));const Mt={...o,isRtl:Y,arrow:s,disableInteractive:oe,placement:M,PopperComponentProp:L,touch:ne.current},qe=typeof N.popper=="function"?N.popper(Mt):N.popper,G=g.useMemo(()=>{let Fe=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return w.popperOptions?.modifiers&&(Fe=Fe.concat(w.popperOptions.modifiers)),qe?.popperOptions?.modifiers&&(Fe=Fe.concat(qe.popperOptions.modifiers)),{...w.popperOptions,...qe?.popperOptions,modifiers:Fe}},[X,w.popperOptions,qe?.popperOptions]),F=Fk(Mt),Pe=typeof N.transition=="function"?N.transition(Mt):N.transition,Se={slots:{popper:u.Popper,transition:u.Transition??Q,tooltip:u.Tooltip,arrow:u.Arrow,...I},slotProps:{arrow:N.arrow??f.arrow,popper:{...w,...qe??f.popper},tooltip:N.tooltip??f.tooltip,transition:{...J,...Pe??f.transition}}},[Te,Re]=lt("popper",{elementType:Yk,externalForwardedProps:Se,ownerState:Mt,className:ze(F.popper,w?.className)}),[Ge,Xe]=lt("transition",{elementType:Pc,externalForwardedProps:Se,ownerState:Mt}),[rt,ut]=lt("tooltip",{elementType:qk,className:F.tooltip,externalForwardedProps:Se,ownerState:Mt}),[Tt,Yt]=lt("arrow",{elementType:Zk,className:F.arrow,externalForwardedProps:Se,ownerState:Mt,ref:$});return p.jsxs(g.Fragment,{children:[g.cloneElement(re,Ie),p.jsx(Te,{as:L??Od,placement:M,anchorEl:S?{getBoundingClientRect:()=>({top:Rl.y,left:Rl.x,right:Rl.x,bottom:Rl.y,width:0,height:0})}:E,popperRef:Ve,open:E?Ae:!1,id:Ye,transition:!0,...Ft,...Re,popperOptions:G,children:({TransitionProps:Fe})=>p.jsx(Ge,{timeout:K.transitions.duration.shorter,...Fe,...Xe,children:p.jsxs(rt,{...ut,children:[W,s?p.jsx(Tt,{...Yt}):null]})})})]})}),qo=X7({createStyledComponent:fe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>nt({props:e,name:"MuiStack"})});function Gk(e){return Ue("MuiSwitch",e)}const or=Qe("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Uk=e=>{const{classes:t,edge:n,size:o,color:s,checked:a,disabled:l}=e,u={root:["root",n&&`edge${ve(n)}`,`size${ve(o)}`],switchBase:["switchBase",`color${ve(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=Ke(u,Gk,t);return{...t,...f}},Qk=fe("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${ve(n.edge)}`],t[`size${ve(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${or.thumb}`]:{width:16,height:16},[`& .${or.switchBase}`]:{padding:4,[`&.${or.checked}`]:{transform:"translateX(16px)"}}}}]}),Kk=fe(ny,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${or.input}`]:t.input},n.color!=="default"&&t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${or.checked}`]:{transform:"translateX(20px)"},[`&.${or.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${or.checked} + .${or.track}`]:{opacity:.5},[`&.${or.disabled} + .${or.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${or.input}`]:{left:"-100%",width:"300%"}})),tt(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(fn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${or.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${or.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?wi(e.palette[t].main,.62):xi(e.palette[t].main,.55)}`}},[`&.${or.checked} + .${or.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),_k=fe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(tt(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),$k=fe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(tt(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),c1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,slots:v={},slotProps:h={},...y}=o,P={...o,color:a,edge:l,size:u},j=Uk(P),A={slots:v,slotProps:h},[b,H]=lt("root",{className:ze(j.root,s),elementType:Qk,externalForwardedProps:A,ownerState:P,additionalProps:{sx:f}}),[S,z]=lt("thumb",{className:j.thumb,elementType:$k,externalForwardedProps:A,ownerState:P}),C=p.jsx(S,{...z}),[O,D]=lt("track",{className:j.track,elementType:_k,externalForwardedProps:A,ownerState:P});return p.jsxs(b,{...H,children:[p.jsx(Kk,{type:"checkbox",icon:C,checkedIcon:C,ref:n,ownerState:P,...y,classes:{...j,root:j.switchBase},slots:{...v.switchBase&&{root:v.switchBase},...v.input&&{input:v.input}},slotProps:{...h.switchBase&&{root:typeof h.switchBase=="function"?h.switchBase(P):h.switchBase},...h.input&&{input:typeof h.input=="function"?h.input(P):h.input}}}),p.jsx(O,{...D})]})}),u1=g.createContext();function eT(e){return Ue("MuiTable",e)}Qe("MuiTable",["root","stickyHeader"]);const tT=e=>{const{classes:t,stickyHeader:n}=e;return Ke({root:["root",n&&"stickyHeader"]},eT,t)},nT=fe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),c8="table",f1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTable"}),{className:s,component:a=c8,padding:l="normal",size:u="medium",stickyHeader:f=!1,...v}=o,h={...o,component:a,padding:l,size:u,stickyHeader:f},y=tT(h),P=g.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return p.jsx(u1.Provider,{value:P,children:p.jsx(nT,{as:a,role:a===c8?null:"table",ref:n,className:ze(y.root,s),ownerState:h,...v})})}),Bc=g.createContext();function rT(e){return Ue("MuiTableBody",e)}Qe("MuiTableBody",["root"]);const oT=e=>{const{classes:t}=e;return Ke({root:["root"]},rT,t)},sT=fe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),iT={variant:"body"},u8="tbody",d1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableBody"}),{className:s,component:a=u8,...l}=o,u={...o,component:a},f=oT(u);return p.jsx(Bc.Provider,{value:iT,children:p.jsx(sT,{className:ze(f.root,s),as:a,ref:n,role:a===u8?null:"rowgroup",ownerState:u,...l})})});function aT(e){return Ue("MuiTableCell",e)}const lT=Qe("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),cT=e=>{const{classes:t,variant:n,align:o,padding:s,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",o!=="inherit"&&`align${ve(o)}`,s!=="normal"&&`padding${ve(s)}`,`size${ve(a)}`]};return Ke(u,aT,t)},uT=fe("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ve(n.size)}`],n.padding!=="normal"&&t[`padding${ve(n.padding)}`],n.align!=="inherit"&&t[`align${ve(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid - ${e.palette.mode==="light"?wi(Pt(e.palette.divider,1),.88):xi(Pt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${lT.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),sr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:v,sortDirection:h,variant:y,...P}=o,j=g.useContext(u1),A=g.useContext(Bc),b=A&&A.variant==="head";let H;l?H=l:H=b?"th":"td";let S=f;H==="td"?S=void 0:!S&&b&&(S="col");const z=y||A&&A.variant,C={...o,align:s,component:H,padding:u||(j&&j.padding?j.padding:"normal"),size:v||(j&&j.size?j.size:"medium"),sortDirection:h,stickyHeader:z==="head"&&j&&j.stickyHeader,variant:z},O=cT(C);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),p.jsx(uT,{as:H,ref:n,className:ze(O.root,a),"aria-sort":D,scope:S,ownerState:C,...P})});function fT(e){return Ue("MuiTableContainer",e)}Qe("MuiTableContainer",["root"]);const dT=e=>{const{classes:t}=e;return Ke({root:["root"]},fT,t)},pT=fe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),p1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=o,u={...o,component:a},f=dT(u);return p.jsx(pT,{ref:n,as:a,className:ze(f.root,s),ownerState:u,...l})});function vT(e){return Ue("MuiTableFooter",e)}Qe("MuiTableFooter",["root"]);const hT=e=>{const{classes:t}=e;return Ke({root:["root"]},vT,t)},mT=fe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),yT={variant:"footer"},f8="tfoot",gT=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableFooter"}),{className:s,component:a=f8,...l}=o,u={...o,component:a},f=hT(u);return p.jsx(Bc.Provider,{value:yT,children:p.jsx(mT,{as:a,className:ze(f.root,s),ref:n,role:a===f8?null:"rowgroup",ownerState:u,...l})})});function AT(e){return Ue("MuiTableHead",e)}Qe("MuiTableHead",["root"]);const PT=e=>{const{classes:t}=e;return Ke({root:["root"]},AT,t)},bT=fe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),xT={variant:"head"},d8="thead",wT=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableHead"}),{className:s,component:a=d8,...l}=o,u={...o,component:a},f=PT(u);return p.jsx(Bc.Provider,{value:xT,children:p.jsx(bT,{as:a,className:ze(f.root,s),ref:n,role:a===d8?null:"rowgroup",ownerState:u,...l})})});function HT(e){return Ue("MuiToolbar",e)}Qe("MuiToolbar",["root","gutters","regular","dense"]);const jT=e=>{const{classes:t,disableGutters:n,variant:o}=e;return Ke({root:["root",!n&&"gutters",o]},HT,t)},ST=fe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(tt(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.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}]}))),v1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:u="regular",...f}=o,v={...o,component:a,disableGutters:l,variant:u},h=jT(v);return p.jsx(ST,{as:a,className:ze(h.root,s),ref:n,ownerState:v,...f})}),zT=At(p.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),CT=At(p.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),OT=g.forwardRef(function(t,n){const{backIconButtonProps:o,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:u,onPageChange:f,page:v,rowsPerPage:h,showFirstButton:y,showLastButton:P,slots:j={},slotProps:A={},...b}=t,H=Rc(),S=q=>{f(q,0)},z=q=>{f(q,v-1)},C=q=>{f(q,v+1)},O=q=>{f(q,Math.max(0,Math.ceil(s/h)-1))},D=j.firstButton??hr,T=j.lastButton??hr,R=j.nextButton??hr,M=j.previousButton??hr,L=j.firstButtonIcon??sk,w=j.lastButtonIcon??ik,N=j.nextButtonIcon??CT,I=j.previousButtonIcon??zT,W=H?T:D,Q=H?R:M,J=H?M:R,U=H?D:T,re=H?A.lastButton:A.firstButton,K=H?A.nextButton:A.previousButton,Y=H?A.previousButton:A.nextButton,E=H?A.firstButton:A.lastButton;return p.jsxs("div",{ref:n,...b,children:[y&&p.jsx(W,{onClick:S,disabled:a||v===0,"aria-label":l("first",v),title:l("first",v),...re,children:H?p.jsx(w,{...A.lastButtonIcon}):p.jsx(L,{...A.firstButtonIcon})}),p.jsx(Q,{onClick:z,disabled:a||v===0,color:"inherit","aria-label":l("previous",v),title:l("previous",v),...K??o,children:H?p.jsx(N,{...A.nextButtonIcon}):p.jsx(I,{...A.previousButtonIcon})}),p.jsx(J,{onClick:C,disabled:a||(s!==-1?v>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",v),title:l("next",v),...Y??u,children:H?p.jsx(I,{...A.previousButtonIcon}):p.jsx(N,{...A.nextButtonIcon})}),P&&p.jsx(U,{onClick:O,disabled:a||v>=Math.ceil(s/h)-1,"aria-label":l("last",v),title:l("last",v),...E,children:H?p.jsx(L,{...A.firstButtonIcon}):p.jsx(w,{...A.lastButtonIcon})})]})});function DT(e){return Ue("MuiTablePagination",e)}const lc=Qe("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var p8;const kT=fe(sr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),TT=fe(v1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${lc.actions}`]:t.actions,...t.toolbar})})(tt(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${lc.actions}`]:{flexShrink:0,marginLeft:20}}))),ET=fe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),RT=fe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0}))),MT=fe(wc,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${lc.selectIcon}`]:t.selectIcon,[`& .${lc.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${lc.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),LT=fe(Vo,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),XT=fe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0})));function NT({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function BT(e){return`Go to ${e} page`}const VT=e=>{const{classes:t}=e;return Ke({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},DT,t)},IT=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=OT,backIconButtonProps:a,colSpan:l,component:u=sr,count:f,disabled:v=!1,getItemAriaLabel:h=BT,labelDisplayedRows:y=NT,labelRowsPerPage:P="Rows per page:",nextIconButtonProps:j,onPageChange:A,onRowsPerPageChange:b,page:H,rowsPerPage:S,rowsPerPageOptions:z=[10,25,50,100],SelectProps:C={},showFirstButton:O=!1,showLastButton:D=!1,slotProps:T={},slots:R={},...M}=o,L=o,w=VT(L),N=T?.select??C,I=N.native?"option":LT;let W;(u===sr||u==="td")&&(W=l||1e3);const Q=bo(N.id),J=bo(N.labelId),U=()=>f===-1?(H+1)*S:S===-1?f:Math.min(f,(H+1)*S),re={slots:R,slotProps:T},[K,Y]=lt("root",{ref:n,className:w.root,elementType:kT,externalForwardedProps:{...re,component:u,...M},ownerState:L,additionalProps:{colSpan:W}}),[E,q]=lt("toolbar",{className:w.toolbar,elementType:TT,externalForwardedProps:re,ownerState:L}),[X,$]=lt("spacer",{className:w.spacer,elementType:ET,externalForwardedProps:re,ownerState:L}),[ne,oe]=lt("selectLabel",{className:w.selectLabel,elementType:RT,externalForwardedProps:re,ownerState:L,additionalProps:{id:J}}),[le,be]=lt("select",{className:w.select,elementType:MT,externalForwardedProps:re,ownerState:L}),[ie,xe]=lt("menuItem",{className:w.menuItem,elementType:I,externalForwardedProps:re,ownerState:L}),[Oe,Le]=lt("displayedRows",{className:w.displayedRows,elementType:XT,externalForwardedProps:re,ownerState:L});return p.jsx(K,{...Y,children:p.jsxs(E,{...q,children:[p.jsx(X,{...$}),z.length>1&&p.jsx(ne,{...oe,children:P}),z.length>1&&p.jsx(le,{variant:"standard",...!N.variant&&{input:p8||(p8=p.jsx(Md,{}))},value:S,onChange:b,id:Q,labelId:J,...N,classes:{...N.classes,root:ze(w.input,w.selectRoot,(N.classes||{}).root),select:ze(w.select,(N.classes||{}).select),icon:ze(w.selectIcon,(N.classes||{}).icon)},disabled:v,...be,children:z.map(Ae=>g.createElement(ie,{...xe,key:Ae.label?Ae.label:Ae,value:Ae.value?Ae.value:Ae},Ae.label?Ae.label:Ae))}),p.jsx(Oe,{...Le,children:y({from:f===0?0:H*S+1,to:U(),count:f===-1?-1:f,page:H})}),p.jsx(s,{className:w.actions,backIconButtonProps:a,count:f,nextIconButtonProps:j,onPageChange:A,page:H,rowsPerPage:S,showFirstButton:O,showLastButton:D,slotProps:T.actions,slots:R.actions,getItemAriaLabel:h,disabled:v})]})})});function WT(e){return Ue("MuiTableRow",e)}const v8=Qe("MuiTableRow",["root","selected","hover","head","footer"]),JT=e=>{const{classes:t,selected:n,hover:o,head:s,footer:a}=e;return Ke({root:["root",n&&"selected",o&&"hover",s&&"head",a&&"footer"]},WT,t)},FT=fe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(tt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${v8.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${v8.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),h8="tr",$f=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableRow"}),{className:s,component:a=h8,hover:l=!1,selected:u=!1,...f}=o,v=g.useContext(Bc),h={...o,component:a,hover:l,selected:u,head:v&&v.variant==="head",footer:v&&v.variant==="footer"},y=JT(h);return p.jsx(FT,{as:a,ref:n,className:ze(y.root,s),role:a===h8?null:"row",ownerState:h,...f})});function YT(e){return Ue("MuiTextField",e)}Qe("MuiTextField",["root"]);const qT={standard:sy,filled:oy,outlined:ay},ZT=e=>{const{classes:t}=e;return Ke({root:["root"]},YT,t)},GT=fe(rr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Gr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:u,color:f="primary",defaultValue:v,disabled:h=!1,error:y=!1,FormHelperTextProps:P,fullWidth:j=!1,helperText:A,id:b,InputLabelProps:H,inputProps:S,InputProps:z,inputRef:C,label:O,maxRows:D,minRows:T,multiline:R=!1,name:M,onBlur:L,onChange:w,onFocus:N,placeholder:I,required:W=!1,rows:Q,select:J=!1,SelectProps:U,slots:re={},slotProps:K={},type:Y,value:E,variant:q="outlined",...X}=o,$={...o,autoFocus:a,color:f,disabled:h,error:y,fullWidth:j,multiline:R,required:W,select:J,variant:q},ne=ZT($),oe=bo(b),le=A&&oe?`${oe}-helper-text`:void 0,be=O&&oe?`${oe}-label`:void 0,ie=qT[q],xe={slots:re,slotProps:{input:z,inputLabel:H,htmlInput:S,formHelperText:P,select:U,...K}},Oe={},Le=xe.slotProps.inputLabel;q==="outlined"&&(Le&&typeof Le.shrink<"u"&&(Oe.notched=Le.shrink),Oe.label=O),J&&((!U||!U.native)&&(Oe.id=void 0),Oe["aria-describedby"]=void 0);const[Ae,Ye]=lt("root",{elementType:GT,shouldForwardComponentProp:!0,externalForwardedProps:{...xe,...X},ownerState:$,className:ze(ne.root,u),ref:n,additionalProps:{disabled:h,error:y,fullWidth:j,required:W,color:f,variant:q}}),[ge,Je]=lt("input",{elementType:ie,externalForwardedProps:xe,additionalProps:Oe,ownerState:$}),[yt,Me]=lt("inputLabel",{elementType:Ef,externalForwardedProps:xe,ownerState:$}),[ht,ct]=lt("htmlInput",{elementType:"input",externalForwardedProps:xe,ownerState:$}),[B,_]=lt("formHelperText",{elementType:ha,externalForwardedProps:xe,ownerState:$}),[ee,we]=lt("select",{elementType:wc,externalForwardedProps:xe,ownerState:$}),ce=p.jsx(ge,{"aria-describedby":le,autoComplete:s,autoFocus:a,defaultValue:v,fullWidth:j,multiline:R,name:M,rows:Q,maxRows:D,minRows:T,type:Y,value:E,id:oe,inputRef:C,onBlur:L,onChange:w,onFocus:N,placeholder:I,inputProps:ct,slots:{input:re.htmlInput?ht:void 0},...Je});return p.jsxs(Ae,{...Ye,children:[O!=null&&O!==""&&p.jsx(yt,{htmlFor:oe,id:be,...Me,children:O}),J?p.jsx(ee,{"aria-describedby":le,id:oe,labelId:be,value:E,input:ce,...we,children:l}):ce,A&&p.jsx(B,{id:le,..._,children:A})]})}),Hn="/hub",Ld="/services/japps",uy=["Environments"],UT=["Any","Owned by me","Shared with me"],QT=["Recently modified","Name: A-Z","Name: Z-A"],KT=["Running","Ready","Pending","Unknown"],fy="startAppId";var Xa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},zi=typeof window>"u"||"Deno"in globalThis;function ir(){}function _T(e,t){return typeof e=="function"?e(t):e}function Kh(e){return typeof e=="number"&&e>=0&&e!==1/0}function h1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Js(e,t){return typeof e=="function"?e(t):e}function ho(e,t){return typeof e=="function"?e(t):e}function m8(e,t){const{type:n="all",exact:o,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(o){if(t.queryHash!==dy(l,t.options))return!1}else if(!Hc(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||a&&!a(t))}function y8(e,t){const{exact:n,status:o,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Ci(t.options.mutationKey)!==Ci(a))return!1}else if(!Hc(t.options.mutationKey,a))return!1}return!(o&&t.state.status!==o||s&&!s(t))}function dy(e,t){return(t?.queryKeyHashFn||Ci)(e)}function Ci(e){return JSON.stringify(e,(t,n)=>_h(n)?Object.keys(n).sort().reduce((o,s)=>(o[s]=n[s],o),{}):n)}function Hc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Hc(e[n],t[n])):!1}function m1(e,t){if(e===t)return e;const n=g8(e)&&g8(t);if(n||_h(e)&&_h(t)){const o=n?e:Object.keys(e),s=o.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{},f=new Set(o);let v=0;for(let h=0;h{setTimeout(t,e)})}function $h(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?m1(e,t):t}function eE(e,t,n=0){const o=[...e,t];return n&&o.length>n?o.slice(1):o}function tE(e,t,n=0){const o=[t,...e];return n&&o.length>n?o.slice(0,-1):o}var py=Symbol();function y1(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===py?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function g1(e,t){return typeof e=="function"?e(...t):!!e}var nE=class extends Xa{#t;#e;#n;constructor(){super(),this.#n=e=>{if(!zi&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},vy=new nE,rE=class extends Xa{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(!zi&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#t}},td=new rE;function em(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function o(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{o({status:"fulfilled",value:s}),e(s)},n.reject=s=>{o({status:"rejected",reason:s}),t(s)},n}function oE(e){return Math.min(1e3*2**e,3e4)}function A1(e){return(e??"online")==="online"?td.isOnline():!0}var P1=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function uh(e){return e instanceof P1}function b1(e){let t=!1,n=0,o=!1,s;const a=em(),l=b=>{o||(P(new P1(b)),e.abort?.())},u=()=>{t=!0},f=()=>{t=!1},v=()=>vy.isFocused()&&(e.networkMode==="always"||td.isOnline())&&e.canRun(),h=()=>A1(e.networkMode)&&e.canRun(),y=b=>{o||(o=!0,e.onSuccess?.(b),s?.(),a.resolve(b))},P=b=>{o||(o=!0,e.onError?.(b),s?.(),a.reject(b))},j=()=>new Promise(b=>{s=H=>{(o||v())&&b(H)},e.onPause?.()}).then(()=>{s=void 0,o||e.onContinue?.()}),A=()=>{if(o)return;let b;const H=n===0?e.initialPromise:void 0;try{b=H??e.fn()}catch(S){b=Promise.reject(S)}Promise.resolve(b).then(y).catch(S=>{if(o)return;const z=e.retry??(zi?0:3),C=e.retryDelay??oE,O=typeof C=="function"?C(n,S):C,D=z===!0||typeof z=="number"&&nv()?void 0:j()).then(()=>{t?P(S):A()})})};return{promise:a,cancel:l,continue:()=>(s?.(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?A():j().then(A),a)}}var sE=e=>setTimeout(e,0);function iE(){let e=[],t=0,n=u=>{u()},o=u=>{u()},s=sE;const a=u=>{t?e.push(u):s(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&s(()=>{o(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{o=u},setScheduler:u=>{s=u}}}var Rn=iE(),x1=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Kh(this.gcTime)&&(this.#t=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(zi?1/0:5*60*1e3))}clearGcTimeout(){this.#t&&(clearTimeout(this.#t),this.#t=void 0)}},aE=class extends x1{#t;#e;#n;#r;#o;#i;#a;constructor(e){super(),this.#a=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=lE(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#o?.promise}setOptions(e){this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=$h(this.state.data,e,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#s({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#o?.promise;return this.#o?.cancel(e),t?t.then(ir).catch(ir):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>ho(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===py||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Js(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!h1(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#o&&(this.#a?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}fetch(e,t){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(v=>v.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},s=()=>{const f=y1(this.options,t),h=(()=>{const y={client:this.#r,queryKey:this.queryKey,meta:this.meta};return o(y),y})();return this.#a=!1,this.options.persister?this.options.persister(f,h,this):f(h)},l=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:s};return o(f),f})();this.options.behavior?.onFetch(l,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#s({type:"fetch",meta:l.fetchOptions?.meta});const u=f=>{uh(f)&&f.silent||this.#s({type:"error",error:f}),uh(f)||(this.#n.config.onError?.(f,this),this.#n.config.onSettled?.(this.state.data,f,this)),this.scheduleGc()};return this.#o=b1({initialPromise:t?.initialPromise,fn:l.fetchFn,abort:n.abort.bind(n),onSuccess:f=>{if(f===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(v){u(v);return}this.#n.config.onSuccess?.(f,this),this.#n.config.onSettled?.(f,this.state.error,this),this.scheduleGc()},onError:u,onFail:(f,v)=>{this.#s({type:"failed",failureCount:f,error:v})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}),this.#o.start()}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...w1(n.data,this.options),fetchMeta:e.meta??null};case"success":return this.#e=void 0,{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=e.error;return uh(o)&&o.revert&&this.#e?{...this.#e,fetchStatus:"idle"}:{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Rn.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function w1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:A1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function lE(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,o=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var cE=class extends Xa{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const o=t.queryKey,s=t.queryHash??dy(o,t);let a=this.get(s);return a||(a=new aE({client:e,queryKey:o,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(a)),a}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#t.get(e.queryHash);t&&(e.destroy(),t===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Rn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>m8(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>m8(e,n)):t}notify(e){Rn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Rn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Rn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},uE=class extends x1{#t;#e;#n;constructor(e){super(),this.mutationId=e.mutationId,this.#e=e.mutationCache,this.#t=[],this.state=e.state||H1(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#e.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})};this.#n=b1({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(s,a)=>{this.#r({type:"failed",failureCount:s,error:a})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});const n=this.state.status==="pending",o=!this.#n.canStart();try{if(n)t();else{this.#r({type:"pending",variables:e,isPaused:o}),await this.#e.config.onMutate?.(e,this);const a=await this.options.onMutate?.(e);a!==this.state.context&&this.#r({type:"pending",context:a,variables:e,isPaused:o})}const s=await this.#n.start();return await this.#e.config.onSuccess?.(s,e,this.state.context,this),await this.options.onSuccess?.(s,e,this.state.context),await this.#e.config.onSettled?.(s,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(s,null,e,this.state.context),this.#r({type:"success",data:s}),s}catch(s){try{throw await this.#e.config.onError?.(s,e,this.state.context,this),await this.options.onError?.(s,e,this.state.context),await this.#e.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,s,e,this.state.context),s}finally{this.#r({type:"error",error:s})}}finally{this.#e.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Rn.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#e.notify({mutation:this,type:"updated",action:e})})}};function H1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var fE=class extends Xa{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,n){const o=new uE({mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(o),o}add(e){this.#t.add(e);const t=hf(e);if(typeof t=="string"){const n=this.#e.get(t);n?n.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=hf(e);if(typeof t=="string"){const n=this.#e.get(t);if(n)if(n.length>1){const o=n.indexOf(e);o!==-1&&n.splice(o,1)}else n[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=hf(e);if(typeof t=="string"){const o=this.#e.get(t)?.find(s=>s.state.status==="pending");return!o||o===e}else return!0}runNext(e){const t=hf(e);return typeof t=="string"?this.#e.get(t)?.find(o=>o!==e&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Rn.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>y8(t,n))}findAll(e={}){return this.getAll().filter(t=>y8(e,t))}notify(e){Rn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Rn.batch(()=>Promise.all(e.map(t=>t.continue().catch(ir))))}};function hf(e){return e.options.scope?.id}function P8(e){return{onFetch:(t,n)=>{const o=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},f=0;const v=async()=>{let h=!1;const y=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},P=y1(t.options,t.fetchOptions),j=async(A,b,H)=>{if(h)return Promise.reject();if(b==null&&A.pages.length)return Promise.resolve(A);const z=(()=>{const T={client:t.client,queryKey:t.queryKey,pageParam:b,direction:H?"backward":"forward",meta:t.options.meta};return y(T),T})(),C=await P(z),{maxPages:O}=t.options,D=H?tE:eE;return{pages:D(A.pages,C,O),pageParams:D(A.pageParams,b,O)}};if(s&&a.length){const A=s==="backward",b=A?dE:b8,H={pages:a,pageParams:l},S=b(o,H);u=await j(H,S,A)}else{const A=e??a.length;do{const b=f===0?l[0]??o.initialPageParam:b8(o,u);if(f>0&&b==null)break;u=await j(u,b),f++}while(ft.options.persister?.(v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=v}}}function b8(e,{pages:t,pageParams:n}){const o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,n[o],n):void 0}function dE(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var pE=class{#t;#e;#n;#r;#o;#i;#a;#s;constructor(e={}){this.#t=e.queryCache||new cE,this.#e=e.mutationCache||new fE,this.#n=e.defaultOptions||{},this.#r=new Map,this.#o=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#a=vy.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#s=td.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#a?.(),this.#a=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#t.build(this,t),o=n.state.data;return o===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Js(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:n})=>{const o=n.data;return[t,o]})}setQueryData(e,t,n){const o=this.defaultQueryOptions({queryKey:e}),a=this.#t.get(o.queryHash)?.state.data,l=_T(t,a);if(l!==void 0)return this.#t.build(this,o).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Rn.batch(()=>this.#t.findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;Rn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return Rn.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},o=Rn.batch(()=>this.#t.findAll(e).map(s=>s.cancel(n)));return Promise.all(o).then(ir).catch(ir)}invalidateQueries(e,t={}){return Rn.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},o=Rn.batch(()=>this.#t.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(ir)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(o).then(ir)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(Js(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ir).catch(ir)}fetchInfiniteQuery(e){return e.behavior=P8(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ir).catch(ir)}ensureInfiniteQueryData(e){return e.behavior=P8(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return td.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Ci(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(o=>{Hc(e,o.queryKey)&&Object.assign(n,o.defaultOptions)}),n}setMutationDefaults(e,t){this.#o.set(Ci(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#o.values()],n={};return t.forEach(o=>{Hc(e,o.mutationKey)&&Object.assign(n,o.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=dy(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===py&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},vE=class extends Xa{constructor(e,t){super(),this.options=t,this.#t=e,this.#s=null,this.#a=em(),this.options.experimental_prefetchInRender||this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#r=void 0;#o;#i;#a;#s;#h;#d;#p;#c;#u;#l;#v=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),x8(this.#e,this.options)?this.#f():this.updateResult(),this.#A())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return tm(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return tm(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#P(),this.#b(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ho(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#x(),this.#e.setOptions(this.options),t._defaulted&&!ed(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const o=this.hasListeners();o&&w8(this.#e,n,this.options,t)&&this.#f(),this.updateResult(),o&&(this.#e!==n||ho(this.options.enabled,this.#e)!==ho(t.enabled,this.#e)||Js(this.options.staleTime,this.#e)!==Js(t.staleTime,this.#e))&&this.#m();const s=this.#y();o&&(this.#e!==n||ho(this.options.enabled,this.#e)!==ho(t.enabled,this.#e)||s!==this.#l)&&this.#g(s)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return mE(this,n)&&(this.#r=n,this.#i=this.options,this.#o=this.#e.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,o)=>(this.trackProp(o),t?.(o),Reflect.get(n,o))})}trackProp(e){this.#v.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#f(e){this.#x();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(ir)),t}#m(){this.#P();const e=Js(this.options.staleTime,this.#e);if(zi||this.#r.isStale||!Kh(e))return;const n=h1(this.#r.dataUpdatedAt,e)+1;this.#c=setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#g(e){this.#b(),this.#l=e,!(zi||ho(this.options.enabled,this.#e)===!1||!Kh(this.#l)||this.#l===0)&&(this.#u=setInterval(()=>{(this.options.refetchIntervalInBackground||vy.isFocused())&&this.#f()},this.#l))}#A(){this.#m(),this.#g(this.#y())}#P(){this.#c&&(clearTimeout(this.#c),this.#c=void 0)}#b(){this.#u&&(clearInterval(this.#u),this.#u=void 0)}createResult(e,t){const n=this.#e,o=this.options,s=this.#r,a=this.#o,l=this.#i,f=e!==n?e.state:this.#n,{state:v}=e;let h={...v},y=!1,P;if(t._optimisticResults){const M=this.hasListeners(),L=!M&&x8(e,t),w=M&&w8(e,n,t,o);(L||w)&&(h={...h,...w1(v.data,e.options)}),t._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:j,errorUpdatedAt:A,status:b}=h;P=h.data;let H=!1;if(t.placeholderData!==void 0&&P===void 0&&b==="pending"){let M;s?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(M=s.data,H=!0):M=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,M!==void 0&&(b="success",P=$h(s?.data,M,t),y=!0)}if(t.select&&P!==void 0&&!H)if(s&&P===a?.data&&t.select===this.#h)P=this.#d;else try{this.#h=t.select,P=t.select(P),P=$h(s?.data,P,t),this.#d=P,this.#s=null}catch(M){this.#s=M}this.#s&&(j=this.#s,P=this.#d,A=Date.now(),b="error");const S=h.fetchStatus==="fetching",z=b==="pending",C=b==="error",O=z&&S,D=P!==void 0,R={status:b,fetchStatus:h.fetchStatus,isPending:z,isSuccess:b==="success",isError:C,isInitialLoading:O,isLoading:O,data:P,dataUpdatedAt:h.dataUpdatedAt,error:j,errorUpdatedAt:A,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>f.dataUpdateCount||h.errorUpdateCount>f.errorUpdateCount,isFetching:S,isRefetching:S&&!z,isLoadingError:C&&!D,isPaused:h.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:C&&D,isStale:hy(e,t),refetch:this.refetch,promise:this.#a};if(this.options.experimental_prefetchInRender){const M=N=>{R.status==="error"?N.reject(R.error):R.data!==void 0&&N.resolve(R.data)},L=()=>{const N=this.#a=R.promise=em();M(N)},w=this.#a;switch(w.status){case"pending":e.queryHash===n.queryHash&&M(w);break;case"fulfilled":(R.status==="error"||R.data!==w.value)&&L();break;case"rejected":(R.status!=="error"||R.error!==w.reason)&&L();break}}return R}updateResult(){const e=this.#r,t=this.createResult(this.#e,this.options);if(this.#o=this.#e.state,this.#i=this.options,this.#o.data!==void 0&&(this.#p=this.#e),ed(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,s=typeof o=="function"?o():o;if(s==="all"||!s&&!this.#v.size)return!0;const a=new Set(s??this.#v);return this.options.throwOnError&&a.add("error"),Object.keys(this.#r).some(l=>{const u=l;return this.#r[u]!==e[u]&&a.has(u)})};this.#w({listeners:n()})}#x(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#A()}#w(e){Rn.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function hE(e,t){return ho(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function x8(e,t){return hE(e,t)||e.state.data!==void 0&&tm(e,t,t.refetchOnMount)}function tm(e,t,n){if(ho(t.enabled,e)!==!1&&Js(t.staleTime,e)!=="static"){const o=typeof n=="function"?n(e):n;return o==="always"||o!==!1&&hy(e,t)}return!1}function w8(e,t,n,o){return(e!==t||ho(o.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&hy(e,n)}function hy(e,t){return ho(t.enabled,e)!==!1&&e.isStaleByTime(Js(t.staleTime,e))}function mE(e,t){return!ed(e.getCurrentResult(),t)}var yE=class extends Xa{#t;#e=void 0;#n;#r;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#o()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#t.defaultMutationOptions(t),ed(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Ci(n.mutationKey)!==Ci(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#o(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#o(),this.#i()}mutate(t,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#o(){const t=this.#n?.state??H1();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){Rn.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#e.variables,o=this.#e.context;t?.type==="success"?(this.#r.onSuccess?.(t.data,n,o),this.#r.onSettled?.(t.data,null,n,o)):t?.type==="error"&&(this.#r.onError?.(t.error,n,o),this.#r.onSettled?.(void 0,t.error,n,o))}this.listeners.forEach(n=>{n(this.#e)})})}},j1=g.createContext(void 0),Xd=e=>{const t=g.useContext(j1);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},gE=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(j1.Provider,{value:e,children:t})),S1=g.createContext(!1),AE=()=>g.useContext(S1);S1.Provider;function PE(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var bE=g.createContext(PE()),xE=()=>g.useContext(bE),wE=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},HE=e=>{g.useEffect(()=>{e.clearReset()},[e])},jE=({result:e,errorResetBoundary:t,throwOnError:n,query:o,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&o&&(s&&e.data===void 0||g1(n,[e.error,o])),SE=e=>{if(e.suspense){const t=o=>o==="static"?o:Math.max(o??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...o)=>t(n(...o)):t(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},zE=(e,t)=>e.isLoading&&e.isFetching&&!t,CE=(e,t)=>e?.suspense&&t.isPending,H8=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function OE(e,t,n){const o=AE(),s=xE(),a=Xd(),l=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(l),l._optimisticResults=o?"isRestoring":"optimistic",SE(l),wE(l,s),HE(s);const u=!a.getQueryCache().get(l.queryHash),[f]=g.useState(()=>new t(a,l)),v=f.getOptimisticResult(l),h=!o&&e.subscribed!==!1;if(g.useSyncExternalStore(g.useCallback(y=>{const P=h?f.subscribe(Rn.batchCalls(y)):ir;return f.updateResult(),P},[f,h]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),g.useEffect(()=>{f.setOptions(l)},[l,f]),CE(l,v))throw H8(l,f,s);if(jE({result:v,errorResetBoundary:s,throwOnError:l.throwOnError,query:a.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw v.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(l,v),l.experimental_prefetchInRender&&!zi&&zE(v,o)&&(u?H8(l,f,s):a.getQueryCache().get(l.queryHash)?.promise)?.catch(ir).finally(()=>{f.updateResult()}),l.notifyOnChangeProps?v:f.trackResult(v)}function qn(e,t){return OE(e,vE)}function Ta(e,t){const n=Xd(),[o]=g.useState(()=>new yE(n,e));g.useEffect(()=>{o.setOptions(e)},[o,e]);const s=g.useSyncExternalStore(g.useCallback(l=>o.subscribe(Rn.batchCalls(l)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),a=g.useCallback((l,u)=>{o.mutate(l,u).catch(ir)},[o]);if(s.error&&g1(o.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var mf={},j8;function DE(){if(j8)return mf;j8=1;var e=Ow();return mf.createRoot=e.createRoot,mf.hydrateRoot=e.hydrateRoot,mf}var kE=DE();const TE=fd(kE);var Ml={},S8;function EE(){if(S8)return Ml;S8=1,Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.parse=l,Ml.serialize=v;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/,s=Object.prototype.toString,a=(()=>{const P=function(){};return P.prototype=Object.create(null),P})();function l(P,j){const A=new a,b=P.length;if(b<2)return A;const H=j?.decode||h;let S=0;do{const z=P.indexOf("=",S);if(z===-1)break;const C=P.indexOf(";",S),O=C===-1?b:C;if(z>O){S=P.lastIndexOf(";",z-1)+1;continue}const D=u(P,S,z),T=f(P,z,D),R=P.slice(D,T);if(A[R]===void 0){let M=u(P,z+1,O),L=f(P,O,M);const w=H(P.slice(M,L));A[R]=w}S=O+1}while(SA;){const b=P.charCodeAt(--j);if(b!==32&&b!==9)return j+1}return A}function v(P,j,A){const b=A?.encode||encodeURIComponent;if(!e.test(P))throw new TypeError(`argument name is invalid: ${P}`);const H=b(j);if(!t.test(H))throw new TypeError(`argument val is invalid: ${j}`);let S=P+"="+H;if(!A)return S;if(A.maxAge!==void 0){if(!Number.isInteger(A.maxAge))throw new TypeError(`option maxAge is invalid: ${A.maxAge}`);S+="; Max-Age="+A.maxAge}if(A.domain){if(!n.test(A.domain))throw new TypeError(`option domain is invalid: ${A.domain}`);S+="; Domain="+A.domain}if(A.path){if(!o.test(A.path))throw new TypeError(`option path is invalid: ${A.path}`);S+="; Path="+A.path}if(A.expires){if(!y(A.expires)||!Number.isFinite(A.expires.valueOf()))throw new TypeError(`option expires is invalid: ${A.expires}`);S+="; Expires="+A.expires.toUTCString()}if(A.httpOnly&&(S+="; HttpOnly"),A.secure&&(S+="; Secure"),A.partitioned&&(S+="; Partitioned"),A.priority)switch(typeof A.priority=="string"?A.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${A.priority}`)}if(A.sameSite)switch(typeof A.sameSite=="string"?A.sameSite.toLowerCase():A.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${A.sameSite}`)}return S}function h(P){if(P.indexOf("%")===-1)return P;try{return decodeURIComponent(P)}catch{return P}}function y(P){return s.call(P)==="[object Date]"}return Ml}EE();var z8="popstate";function RE(e={}){function t(o,s){let{pathname:a,search:l,hash:u}=o.location;return nm("",{pathname:a,search:l,hash:u},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(o,s){return typeof s=="string"?s:jc(s)}return LE(t,n,null,e)}function dn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ME(){return Math.random().toString(36).substring(2,10)}function C8(e,t){return{usr:e.state,key:e.key,idx:t}}function nm(e,t,n=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Na(t):t,state:n,key:t&&t.key||o||ME()}}function jc({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Na(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function LE(e,t,n,o={}){let{window:s=document.defaultView,v5Compat:a=!1}=o,l=s.history,u="POP",f=null,v=h();v==null&&(v=0,l.replaceState({...l.state,idx:v},""));function h(){return(l.state||{idx:null}).idx}function y(){u="POP";let H=h(),S=H==null?null:H-v;v=H,f&&f({action:u,location:b.location,delta:S})}function P(H,S){u="PUSH";let z=nm(b.location,H,S);v=h()+1;let C=C8(z,v),O=b.createHref(z);try{l.pushState(C,"",O)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(O)}a&&f&&f({action:u,location:b.location,delta:1})}function j(H,S){u="REPLACE";let z=nm(b.location,H,S);v=h();let C=C8(z,v),O=b.createHref(z);l.replaceState(C,"",O),a&&f&&f({action:u,location:b.location,delta:0})}function A(H){return XE(H)}let b={get action(){return u},get location(){return e(s,l)},listen(H){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(z8,y),f=H,()=>{s.removeEventListener(z8,y),f=null}},createHref(H){return t(s,H)},createURL:A,encodeLocation(H){let S=A(H);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:P,replace:j,go(H){return l.go(H)}};return b}function XE(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),dn(n,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:jc(e);return o=o.replace(/ $/,"%20"),!t&&o.startsWith("//")&&(o=n+o),new URL(o,n)}function z1(e,t,n="/"){return NE(e,t,n,!1)}function NE(e,t,n,o){let s=typeof t=="string"?Na(t):t,a=vs(s.pathname||"/",n);if(a==null)return null;let l=C1(e);BE(l);let u=null;for(let f=0;u==null&&f{let f={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};f.relativePath.startsWith("/")&&(dn(f.relativePath.startsWith(o),`Absolute route path "${f.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(o.length));let v=us([o,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(dn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),C1(a.children,t,h,v)),!(a.path==null&&!a.index)&&t.push({path:v,score:qE(v,a.index),routesMeta:h})};return e.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))s(a,l);else for(let u of O1(a.path))s(a,l,u)}),t}function O1(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(o.length===0)return s?[a,""]:[a];let l=O1(o.join("/")),u=[];return u.push(...l.map(f=>f===""?a:[a,f].join("/"))),s&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function BE(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:ZE(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}var VE=/^:[\w-]+$/,IE=3,WE=2,JE=1,FE=10,YE=-2,O8=e=>e==="*";function qE(e,t){let n=e.split("/"),o=n.length;return n.some(O8)&&(o+=YE),t&&(o+=WE),n.filter(s=>!O8(s)).reduce((s,a)=>s+(VE.test(a)?IE:a===""?JE:FE),o)}function ZE(e,t){return e.length===t.length&&e.slice(0,-1).every((o,s)=>o===t[s])?e[e.length-1]-t[t.length-1]:0}function GE(e,t,n=!1){let{routesMeta:o}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let A=u[P]||"";l=a.slice(0,a.length-A.length).replace(/(.)\/+$/,"$1")}const j=u[P];return y&&!j?v[h]=void 0:v[h]=(j||"").replace(/%2F/g,"/"),v},{}),pathname:a,pathnameBase:l,pattern:e}}function UE(e,t=!1,n=!0){xo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(o.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),o]}function QE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function vs(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function KE(e,t="/"){let{pathname:n,search:o="",hash:s=""}=typeof e=="string"?Na(e):e;return{pathname:n?n.startsWith("/")?n:_E(n,t):t,search:tR(o),hash:nR(s)}}function _E(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function fh(e,t,n,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function $E(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function D1(e){let t=$E(e);return t.map((n,o)=>o===t.length-1?n.pathname:n.pathnameBase)}function k1(e,t,n,o=!1){let s;typeof e=="string"?s=Na(e):(s={...e},dn(!s.pathname||!s.pathname.includes("?"),fh("?","pathname","search",s)),dn(!s.pathname||!s.pathname.includes("#"),fh("#","pathname","hash",s)),dn(!s.search||!s.search.includes("#"),fh("#","search","hash",s)));let a=e===""||s.pathname==="",l=a?"/":s.pathname,u;if(l==null)u=n;else{let y=t.length-1;if(!o&&l.startsWith("..")){let P=l.split("/");for(;P[0]==="..";)P.shift(),y-=1;s.pathname=P.join("/")}u=y>=0?t[y]:"/"}let f=KE(s,u),v=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(v||h)&&(f.pathname+="/"),f}var us=e=>e.join("/").replace(/\/\/+/g,"/"),eR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),tR=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,nR=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function rR(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var T1=["POST","PUT","PATCH","DELETE"];new Set(T1);var oR=["GET",...T1];new Set(oR);var Ba=g.createContext(null);Ba.displayName="DataRouter";var Nd=g.createContext(null);Nd.displayName="DataRouterState";var E1=g.createContext({isTransitioning:!1});E1.displayName="ViewTransition";var sR=g.createContext(new Map);sR.displayName="Fetchers";var iR=g.createContext(null);iR.displayName="Await";var Zo=g.createContext(null);Zo.displayName="Navigation";var Vc=g.createContext(null);Vc.displayName="Location";var hs=g.createContext({outlet:null,matches:[],isDataRoute:!1});hs.displayName="Route";var my=g.createContext(null);my.displayName="RouteError";function aR(e,{relative:t}={}){dn(Ic(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:o}=g.useContext(Zo),{hash:s,pathname:a,search:l}=Wc(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:us([n,a])),o.createHref({pathname:u,search:l,hash:s})}function Ic(){return g.useContext(Vc)!=null}function Us(){return dn(Ic(),"useLocation() may be used only in the context of a component."),g.useContext(Vc).location}var R1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function M1(e){g.useContext(Zo).static||g.useLayoutEffect(e)}function Bd(){let{isDataRoute:e}=g.useContext(hs);return e?PR():lR()}function lR(){dn(Ic(),"useNavigate() may be used only in the context of a component.");let e=g.useContext(Ba),{basename:t,navigator:n}=g.useContext(Zo),{matches:o}=g.useContext(hs),{pathname:s}=Us(),a=JSON.stringify(D1(o)),l=g.useRef(!1);return M1(()=>{l.current=!0}),g.useCallback((f,v={})=>{if(xo(l.current,R1),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=k1(f,JSON.parse(a),s,v.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:us([t,h.pathname])),(v.replace?n.replace:n.push)(h,v.state,v)},[t,n,a,s,e])}g.createContext(null);function Wc(e,{relative:t}={}){let{matches:n}=g.useContext(hs),{pathname:o}=Us(),s=JSON.stringify(D1(n));return g.useMemo(()=>k1(e,JSON.parse(s),o,t==="path"),[e,s,o,t])}function cR(e,t){return L1(e,t)}function L1(e,t,n,o){dn(Ic(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=g.useContext(Zo),{matches:a}=g.useContext(hs),l=a[a.length-1],u=l?l.params:{},f=l?l.pathname:"/",v=l?l.pathnameBase:"/",h=l&&l.route;{let S=h&&h.path||"";X1(f,!h||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. +`,nj=typeof Yh!="string"?Lm` + animation: ${Yh} 1.4s linear infinite; + `:null,rj=typeof qh!="string"?Lm` + animation: ${qh} 1.4s ease-in-out infinite; + `:null,oj=e=>{const{classes:t,variant:n,color:o,disableShrink:s}=e,a={root:["root",n,`color${ve(o)}`],svg:["svg"],circle:["circle",`circle${ve(n)}`,s&&"circleDisableShrink"]};return _e(a,tj,t)},sj=fe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:nj||{animation:`${Yh} 1.4s linear infinite`}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),ij=fe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),aj=fe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ve(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(tt(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>t.variant==="indeterminate"&&!t.disableShrink,style:rj||{animation:`${qh} 1.4s ease-in-out infinite`}}]}))),Na=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCircularProgress"}),{className:s,color:a="primary",disableShrink:l=!1,size:u=40,style:f,thickness:v=3.6,value:h=0,variant:y="indeterminate",...b}=o,j={...o,color:a,disableShrink:l,size:u,thickness:v,value:h,variant:y},x=oj(j),A={},H={},S={};if(y==="determinate"){const z=2*Math.PI*((Ns-v)/2);A.strokeDasharray=z.toFixed(3),S["aria-valuenow"]=Math.round(h),A.strokeDashoffset=`${((100-h)/100*z).toFixed(3)}px`,H.transform="rotate(-90deg)"}return p.jsx(sj,{className:ze(x.root,s),style:{width:u,height:u,...H,...f},ownerState:j,ref:n,role:"progressbar",...S,...b,children:p.jsx(ij,{className:x.svg,ownerState:j,viewBox:`${Ns/2} ${Ns/2} ${Ns} ${Ns}`,children:p.jsx(aj,{className:x.circle,style:A,ownerState:j,cx:Ns,cy:Ns,r:(Ns-v)/2,fill:"none",strokeWidth:v})})})});function lj(e){return Qe("MuiIconButton",e)}const bb=Ke("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),cj=e=>{const{classes:t,disabled:n,color:o,edge:s,size:a,loading:l}=e,u={root:["root",l&&"loading",n&&"disabled",o!=="default"&&`color${ve(o)}`,s&&`edge${ve(s)}`,`size${ve(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return _e(u,lj,t)},uj=fe(Si,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,n.color!=="default"&&t[`color${ve(n.color)}`],n.edge&&t[`edge${ve(n.edge)}`],t[`size${ve(n.size)}`]]}})(tt(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,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}}]})),tt(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt((e.vars||e).palette[t].main,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)}}],[`&.${bb.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${bb.loading}`]:{color:"transparent"}}))),fj=fe("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.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"}}]})),hr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiIconButton"}),{edge:s=!1,children:a,className:l,color:u="default",disabled:f=!1,disableFocusRipple:v=!1,size:h="medium",id:y,loading:b=null,loadingIndicator:j,...x}=o,A=$r(y),H=j??p.jsx(Na,{"aria-labelledby":A,color:"inherit",size:16}),S={...o,edge:s,color:u,disabled:f,disableFocusRipple:v,loading:b,loadingIndicator:H,size:h},z=cj(S);return p.jsxs(uj,{id:b?A:y,className:ze(z.root,l),centerRipple:!0,focusRipple:!v,disabled:f||b,ref:n,...x,ownerState:S,children:[typeof b=="boolean"&&p.jsx("span",{className:z.loadingWrapper,style:{display:"contents"},children:p.jsx(fj,{className:z.loadingIndicator,ownerState:S,children:b&&H})}),a]})}),dj=At(p.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),pj=At(p.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),vj=At(p.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),hj=At(p.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Rw=At(p.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),mj=e=>{const{variant:t,color:n,severity:o,classes:s}=e,a={root:["root",`color${ve(n||o)}`,`${t}${ve(n||o)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return _e(a,ej,s)},yj=fe(Mr,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ve(n.color||n.severity)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?Hi:ji,n=e.palette.mode==="light"?ji:Hi;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(fn(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${o}StandardBg`]:n(e.palette[o].light,.9),[`& .${Pb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(fn(["light"])).map(([o])=>({props:{colorSeverity:o,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${o}Color`]:t(e.palette[o].light,.6),border:`1px solid ${(e.vars||e).palette[o].light}`,[`& .${Pb.icon}`]:e.vars?{color:e.vars.palette.Alert[`${o}IconColor`]}:{color:e.palette[o].main}}})),...Object.entries(e.palette).filter(fn(["dark"])).map(([o])=>({props:{colorSeverity:o,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${o}FilledColor`],backgroundColor:e.vars.palette.Alert[`${o}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[o].dark:e.palette[o].main,color:e.palette.getContrastText(e.palette[o].main)}}}))]}})),gj=fe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),Aj=fe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Pj=fe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),xb={success:p.jsx(dj,{fontSize:"inherit"}),warning:p.jsx(pj,{fontSize:"inherit"}),error:p.jsx(vj,{fontSize:"inherit"}),info:p.jsx(hj,{fontSize:"inherit"})},_m=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiAlert"}),{action:s,children:a,className:l,closeText:u="Close",color:f,components:v={},componentsProps:h={},icon:y,iconMapping:b=xb,onClose:j,role:x="alert",severity:A="success",slotProps:H={},slots:S={},variant:z="standard",...C}=o,O={...o,color:f,severity:A,variant:z,colorSeverity:f||A},D=mj(O),T={slots:{closeButton:v.CloseButton,closeIcon:v.CloseIcon,...S},slotProps:{...h,...H}},[R,L]=lt("root",{ref:n,shouldForwardComponentProp:!0,className:ze(D.root,l),elementType:yj,externalForwardedProps:{...T,...C},ownerState:O,additionalProps:{role:x,elevation:0}}),[M,w]=lt("icon",{className:D.icon,elementType:gj,externalForwardedProps:T,ownerState:O}),[N,I]=lt("message",{className:D.message,elementType:Aj,externalForwardedProps:T,ownerState:O}),[W,ne]=lt("action",{className:D.action,elementType:Pj,externalForwardedProps:T,ownerState:O}),[J,U]=lt("closeButton",{elementType:hr,externalForwardedProps:T,ownerState:O}),[re,K]=lt("closeIcon",{elementType:Rw,externalForwardedProps:T,ownerState:O});return p.jsxs(R,{...L,children:[y!==!1?p.jsx(M,{...w,children:y||b[A]||xb[A]}):null,p.jsx(N,{...I,children:a}),s!=null?p.jsx(W,{...ne,children:s}):null,s==null&&j?p.jsx(W,{...ne,children:p.jsx(J,{size:"small","aria-label":u,title:u,color:"inherit",onClick:j,...U,children:p.jsx(re,{fontSize:"small",...K})})}):null]})});function bj(e){return Qe("MuiTypography",e)}const wb=Ke("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),xj={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},wj=bH(),Hj=e=>{const{align:t,gutterBottom:n,noWrap:o,paragraph:s,variant:a,classes:l}=e,u={root:["root",a,e.align!=="inherit"&&`align${ve(t)}`,n&&"gutterBottom",o&&"noWrap",s&&"paragraph"]};return _e(u,bj,l)},jj=fe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ve(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(tt(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,n])=>t!=="inherit"&&n&&typeof n=="object").map(([t,n])=>({props:{variant:t},style:n})),...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${ve(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),Hb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},wt=g.forwardRef(function(t,n){const{color:o,...s}=nt({props:t,name:"MuiTypography"}),a=!xj[o],l=wj({...s,...a&&{color:o}}),{align:u="inherit",className:f,component:v,gutterBottom:h=!1,noWrap:y=!1,paragraph:b=!1,variant:j="body1",variantMapping:x=Hb,...A}=l,H={...l,align:u,color:o,className:f,component:v,gutterBottom:h,noWrap:y,paragraph:b,variant:j,variantMapping:x},S=v||(b?"p":x[j]||Hb[j])||"span",z=Hj(H);return p.jsx(jj,{as:S,ref:n,className:ze(z.root,f),...A,ownerState:H,style:{...u!=="inherit"&&{"--Typography-textAlign":u},...A.style}})});function Sj(e){return Qe("MuiAppBar",e)}Ke("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const zj=e=>{const{color:t,position:n,classes:o}=e,s={root:["root",`color${ve(t)}`,`position${ve(n)}`]};return _e(s,Sj,o)},jb=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,Cj=fe(Mr,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ve(n.position)}`],t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(fn(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:t=>t.enableColorOnDark===!0&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:t=>t.enableColorOnDark===!1&&!["inherit","transparent"].includes(t.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?jb(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?jb(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),Oj=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiAppBar"}),{className:s,color:a="primary",enableColorOnDark:l=!1,position:u="fixed",...f}=o,v={...o,color:a,position:u,enableColorOnDark:l},h=zj(v);return p.jsx(Cj,{square:!0,component:"header",ownerState:v,elevation:4,className:ze(h.root,s,u==="fixed"&&"mui-fixed"),ref:n,...f})});function Sb(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Dj(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:o,matchFrom:s="any",stringify:a,trim:l=!1}=e;return(u,{inputValue:f,getOptionLabel:v})=>{let h=l?f.trim():f;n&&(h=h.toLowerCase()),t&&(h=Sb(h));const y=h?u.filter(b=>{let j=(a||v)(b);return n&&(j=j.toLowerCase()),t&&(j=Sb(j)),s==="start"?j.startsWith(h):j.includes(h)}):u;return typeof o=="number"?y.slice(0,o):y}}const kj=Dj(),Tj=5,Ej=e=>e.current!==null&&e.current.parentElement?.contains(document.activeElement),Rj=[];function zb(e,t,n){if(t||e==null)return"";const o=n(e);return typeof o=="string"?o:""}function Mj(e){const{unstable_isActiveElementInListbox:t=Ej,unstable_classNamePrefix:n="Mui",autoComplete:o=!1,autoHighlight:s=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:u=!e.freeSolo,clearOnEscape:f=!1,componentName:v="useAutocomplete",defaultValue:h=e.multiple?Rj:null,disableClearable:y=!1,disableCloseOnSelect:b=!1,disabled:j,disabledItemsFocusable:x=!1,disableListWrap:A=!1,filterOptions:H=kj,filterSelectedOptions:S=!1,freeSolo:z=!1,getOptionDisabled:C,getOptionKey:O,getOptionLabel:D=de=>de.label??de,groupBy:T,handleHomeEndKeys:R=!e.freeSolo,id:L,includeInputInList:M=!1,inputValue:w,isOptionEqualToValue:N=(de,he)=>de===he,multiple:I=!1,onChange:W,onClose:ne,onHighlightChange:J,onInputChange:U,onOpen:re,open:K,openOnFocus:Y=!1,options:E,readOnly:q=!1,selectOnFocus:X=!e.freeSolo,value:_}=e,te=$r(L);let oe=D;oe=de=>{const he=D(de);return typeof he!="string"?String(he):he};const le=g.useRef(!1),be=g.useRef(!0),ie=g.useRef(null),xe=g.useRef(null),[Oe,Le]=g.useState(null),[Ae,Ye]=g.useState(-1),ye=s?0:-1,Je=g.useRef(ye),yt=g.useRef(zb(h??_,I,oe)).current,[Me,ht]=Js({controlled:_,default:h,name:v}),[ct,B]=Js({controlled:w,default:yt,name:v,state:"inputValue"}),[Q,$]=g.useState(!1),we=g.useCallback((de,he,Ne)=>{if(!(I?Me.length!(S&&(I?Me:[Me]).some(he=>he!==null&&N(de,he)))),{inputValue:$e&&De?"":ct,getOptionLabel:oe}):[],Ie=l7({filteredOptions:ft,value:Me,inputValue:ct});g.useEffect(()=>{const de=Me!==Ie.value;Q&&!de||z&&!de||we(null,Me,"reset")},[Me,we,Q,Ie.value,z]);const Ft=ce&&ft.length>0&&!q,Mt=$n(de=>{de===-1?ie.current.focus():Oe.querySelector(`[data-tag-index="${de}"]`).focus()});g.useEffect(()=>{I&&Ae>Me.length-1&&(Ye(-1),Mt(-1))},[Me,I,Ae,Mt]);function Ze(de,he){if(!xe.current||de<0||de>=ft.length)return-1;let Ne=de;for(;;){const bt=xe.current.querySelector(`[data-option-index="${Ne}"]`),Ht=x?!1:!bt||bt.disabled||bt.getAttribute("aria-disabled")==="true";if(bt&&bt.hasAttribute("tabindex")&&!Ht)return Ne;if(he==="next"?Ne=(Ne+1)%ft.length:Ne=(Ne-1+ft.length)%ft.length,Ne===de)return-1}}const G=$n(({event:de,index:he,reason:Ne})=>{if(Je.current=he,he===-1?ie.current.removeAttribute("aria-activedescendant"):ie.current.setAttribute("aria-activedescendant",`${te}-option-${he}`),J&&["mouse","keyboard","touch"].includes(Ne)&&J(de,he===-1?null:ft[he],Ne),!xe.current)return;const bt=xe.current.querySelector(`[role="option"].${n}-focused`);bt&&(bt.classList.remove(`${n}-focused`),bt.classList.remove(`${n}-focusVisible`));let Ht=xe.current;if(xe.current.getAttribute("role")!=="listbox"&&(Ht=xe.current.parentElement.querySelector('[role="listbox"]')),!Ht)return;if(he===-1){Ht.scrollTop=0;return}const Lt=xe.current.querySelector(`[data-option-index="${he}"]`);if(Lt&&(Lt.classList.add(`${n}-focused`),Ne==="keyboard"&&Lt.classList.add(`${n}-focusVisible`),Ht.scrollHeight>Ht.clientHeight&&Ne!=="mouse"&&Ne!=="touch")){const qt=Lt,bn=Ht.clientHeight+Ht.scrollTop,gs=qt.offsetTop+qt.offsetHeight;gs>bn?Ht.scrollTop=gs-Ht.clientHeight:qt.offsetTop-qt.offsetHeight*(T?1.3:0){if(!gt)return;const Lt=Ze((()=>{const qt=ft.length-1;if(he==="reset")return ye;if(he==="start")return 0;if(he==="end")return qt;const bn=Je.current+he;return bn<0?bn===-1&&M?-1:A&&Je.current!==-1||Math.abs(he)>1?0:qt:bn>qt?bn===qt+1&&M?-1:A||Math.abs(he)>1?qt:0:bn})(),Ne);if(G({index:Lt,reason:bt,event:de}),o&&he!=="reset")if(Lt===-1)ie.current.value=ct;else{const qt=oe(ft[Lt]);ie.current.value=qt,qt.toLowerCase().indexOf(ct.toLowerCase())===0&&ct.length>0&&ie.current.setSelectionRange(ct.length,qt.length)}}),Pe=()=>{const de=(he,Ne)=>{const bt=he?oe(he):"",Ht=Ne?oe(Ne):"";return bt===Ht};if(Je.current!==-1&&Ie.filteredOptions&&Ie.filteredOptions.length!==ft.length&&Ie.inputValue===ct&&(I?Me.length===Ie.value.length&&Ie.value.every((he,Ne)=>oe(Me[Ne])===oe(he)):de(Ie.value,Me))){const he=Ie.filteredOptions[Je.current];if(he)return ft.findIndex(Ne=>oe(Ne)===oe(he))}return-1},Se=g.useCallback(()=>{if(!gt)return;const de=Pe();if(de!==-1){Je.current=de;return}const he=I?Me[0]:Me;if(ft.length===0||he==null){F({diff:"reset"});return}if(xe.current){if(he!=null){const Ne=ft[Je.current];if(I&&Ne&&Me.findIndex(Ht=>N(Ne,Ht))!==-1)return;const bt=ft.findIndex(Ht=>N(Ht,he));bt===-1?F({diff:"reset"}):G({index:bt});return}if(Je.current>=ft.length-1){G({index:ft.length-1});return}G({index:Je.current})}},[ft.length,I?!1:Me,S,F,G,gt,ct,I]),Te=$n(de=>{Bh(xe,de),de&&Se()});g.useEffect(()=>{Se()},[Se]);const Re=de=>{ce||(ge(!0),qe(!0),re&&re(de))},Ue=(de,he)=>{ce&&(ge(!1),ne&&ne(de,he))},Xe=(de,he,Ne,bt)=>{if(I){if(Me.length===he.length&&Me.every((Ht,Lt)=>Ht===he[Lt]))return}else if(Me===he)return;W&&W(de,he,Ne,bt),ht(he)},rt=g.useRef(!1),ut=(de,he,Ne="selectOption",bt="options")=>{let Ht=Ne,Lt=he;if(I){Lt=Array.isArray(Me)?Me.slice():[];const qt=Lt.findIndex(bn=>N(he,bn));qt===-1?Lt.push(he):bt!=="freeSolo"&&(Lt.splice(qt,1),Ht="removeOption")}we(de,Lt,Ht),Xe(de,Lt,Ht,{option:he}),!b&&(!de||!de.ctrlKey&&!de.metaKey)&&Ue(de,Ht),(l===!0||l==="touch"&&rt.current||l==="mouse"&&!rt.current)&&ie.current.blur()};function Tt(de,he){if(de===-1)return-1;let Ne=de;for(;;){if(he==="next"&&Ne===Me.length||he==="previous"&&Ne===-1)return-1;const bt=Oe.querySelector(`[data-tag-index="${Ne}"]`);if(!bt||!bt.hasAttribute("tabindex")||bt.disabled||bt.getAttribute("aria-disabled")==="true")Ne+=he==="next"?1:-1;else return Ne}}const Yt=(de,he)=>{if(!I)return;ct===""&&Ue(de,"toggleInput");let Ne=Ae;Ae===-1?ct===""&&he==="previous"&&(Ne=Me.length-1):(Ne+=he==="next"?1:-1,Ne<0&&(Ne=0),Ne===Me.length&&(Ne=-1)),Ne=Tt(Ne,he),Ye(Ne),Mt(Ne)},Fe=de=>{le.current=!0,B(""),U&&U(de,"","clear"),Xe(de,I?[]:null,"clear")},Xt=de=>he=>{if(de.onKeyDown&&de.onKeyDown(he),!he.defaultMuiPrevented&&(Ae!==-1&&!["ArrowLeft","ArrowRight"].includes(he.key)&&(Ye(-1),Mt(-1)),he.which!==229))switch(he.key){case"Home":gt&&R&&(he.preventDefault(),F({diff:"start",direction:"next",reason:"keyboard",event:he}));break;case"End":gt&&R&&(he.preventDefault(),F({diff:"end",direction:"previous",reason:"keyboard",event:he}));break;case"PageUp":he.preventDefault(),F({diff:-5,direction:"previous",reason:"keyboard",event:he}),Re(he);break;case"PageDown":he.preventDefault(),F({diff:Tj,direction:"next",reason:"keyboard",event:he}),Re(he);break;case"ArrowDown":he.preventDefault(),F({diff:1,direction:"next",reason:"keyboard",event:he}),Re(he);break;case"ArrowUp":he.preventDefault(),F({diff:-1,direction:"previous",reason:"keyboard",event:he}),Re(he);break;case"ArrowLeft":Yt(he,"previous");break;case"ArrowRight":Yt(he,"next");break;case"Enter":if(Je.current!==-1&>){const Ne=ft[Je.current],bt=C?C(Ne):!1;if(he.preventDefault(),bt)return;ut(he,Ne,"selectOption"),o&&ie.current.setSelectionRange(ie.current.value.length,ie.current.value.length)}else z&&ct!==""&&$e===!1&&(I&&he.preventDefault(),ut(he,ct,"createOption","freeSolo"));break;case"Escape":gt?(he.preventDefault(),he.stopPropagation(),Ue(he,"escape")):f&&(ct!==""||I&&Me.length>0)&&(he.preventDefault(),he.stopPropagation(),Fe(he));break;case"Backspace":if(I&&!q&&ct===""&&Me.length>0){const Ne=Ae===-1?Me.length-1:Ae,bt=Me.slice();bt.splice(Ne,1),Xe(he,bt,"removeOption",{option:Me[Ne]})}break;case"Delete":if(I&&!q&&ct===""&&Me.length>0&&Ae!==-1){const Ne=Ae,bt=Me.slice();bt.splice(Ne,1),Xe(he,bt,"removeOption",{option:Me[Ne]})}break}},zn=de=>{$(!0),Y&&!le.current&&Re(de)},pn=de=>{if(t(xe)){ie.current.focus();return}$(!1),be.current=!0,le.current=!1,a&&Je.current!==-1&>?ut(de,ft[Je.current],"blur"):a&&z&&ct!==""?ut(de,ct,"blur","freeSolo"):u&&we(de,Me,"blur"),Ue(de,"blur")},Wn=de=>{const he=de.target.value;ct!==he&&(B(he),qe(!1),U&&U(de,he,"input")),he===""?!y&&!I&&Xe(de,null,"clear"):Re(de)},vn=de=>{const he=Number(de.currentTarget.getAttribute("data-option-index"));Je.current!==he&&G({event:de,index:he,reason:"mouse"})},Hr=de=>{G({event:de,index:Number(de.currentTarget.getAttribute("data-option-index")),reason:"touch"}),rt.current=!0},ro=de=>{const he=Number(de.currentTarget.getAttribute("data-option-index"));ut(de,ft[he],"selectOption"),rt.current=!1},Co=de=>he=>{const Ne=Me.slice();Ne.splice(de,1),Xe(he,Ne,"removeOption",{option:Me[de]})},Oo=de=>{ce?Ue(de,"toggleInput"):Re(de)},oo=de=>{de.currentTarget.contains(de.target)&&de.target.getAttribute("id")!==te&&de.preventDefault()},hn=de=>{de.currentTarget.contains(de.target)&&(ie.current.focus(),X&&be.current&&ie.current.selectionEnd-ie.current.selectionStart===0&&ie.current.select(),be.current=!1)},Ee=de=>{!j&&(ct===""||!ce)&&Oo(de)};let We=z&&ct.length>0;We=We||(I?Me.length>0:Me!==null);let dt=ft;return T&&(dt=ft.reduce((de,he,Ne)=>{const bt=T(he);return de.length>0&&de[de.length-1].group===bt?de[de.length-1].options.push(he):de.push({key:Ne,index:Ne,group:bt,options:[he]}),de},[])),j&&Q&&pn(),{getRootProps:(de={})=>({...de,onKeyDown:Xt(de),onMouseDown:oo,onClick:hn}),getInputLabelProps:()=>({id:`${te}-label`,htmlFor:te}),getInputProps:()=>({id:te,value:ct,onBlur:pn,onFocus:zn,onChange:Wn,onMouseDown:Ee,"aria-activedescendant":gt?"":null,"aria-autocomplete":o?"both":"list","aria-controls":Ft?`${te}-listbox`:void 0,"aria-expanded":Ft,autoComplete:"off",ref:ie,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:j}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Fe}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Oo}),getTagProps:({index:de})=>({key:de,"data-tag-index":de,tabIndex:-1,...!q&&{onDelete:Co(de)}}),getListboxProps:()=>({role:"listbox",id:`${te}-listbox`,"aria-labelledby":`${te}-label`,ref:Te,onMouseDown:de=>{de.preventDefault()}}),getOptionProps:({index:de,option:he})=>{const Ne=(I?Me:[Me]).some(Ht=>Ht!=null&&N(he,Ht)),bt=C?C(he):!1;return{key:O?.(he)??oe(he),tabIndex:-1,role:"option",id:`${te}-option-${de}`,onMouseMove:vn,onClick:ro,onTouchStart:Hr,"data-option-index":de,"aria-disabled":bt,"aria-selected":Ne}},id:te,inputValue:ct,value:Me,dirty:We,expanded:gt&&Oe,popupOpen:gt,focused:Q||Ae!==-1,anchorEl:Oe,setAnchorEl:Le,focusedTag:Ae,groupedOptions:dt}}var mr="top",eo="bottom",to="right",yr="left",$m="auto",Xc=[mr,eo,to,yr],Da="start",yc="end",Lj="clippingParents",Mw="viewport",Dl="popper",Xj="reference",Cb=Xc.reduce(function(e,t){return e.concat([t+"-"+Da,t+"-"+yc])},[]),Lw=[].concat(Xc,[$m]).reduce(function(e,t){return e.concat([t,t+"-"+Da,t+"-"+yc])},[]),Nj="beforeRead",Bj="read",Vj="afterRead",Ij="beforeMain",Wj="main",Jj="afterMain",Fj="beforeWrite",Yj="write",qj="afterWrite",Zj=[Nj,Bj,Vj,Ij,Wj,Jj,Fj,Yj,qj];function Yo(e){return e?(e.nodeName||"").toLowerCase():null}function Lr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function zi(e){var t=Lr(e).Element;return e instanceof t||e instanceof Element}function _r(e){var t=Lr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ey(e){if(typeof ShadowRoot>"u")return!1;var t=Lr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Gj(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},s=t.attributes[n]||{},a=t.elements[n];!_r(a)||!Yo(a)||(Object.assign(a.style,o),Object.keys(s).forEach(function(l){var u=s[l];u===!1?a.removeAttribute(l):a.setAttribute(l,u===!0?"":u)}))})}function Uj(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var s=t.elements[o],a=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),u=l.reduce(function(f,v){return f[v]="",f},{});!_r(s)||!Yo(s)||(Object.assign(s.style,u),Object.keys(a).forEach(function(f){s.removeAttribute(f)}))})}}const Qj={name:"applyStyles",enabled:!0,phase:"write",fn:Gj,effect:Uj,requires:["computeStyles"]};function Jo(e){return e.split("-")[0]}var bi=Math.max,$f=Math.min,ka=Math.round;function Zh(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Xw(){return!/^((?!chrome|android).)*safari/i.test(Zh())}function Ta(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),s=1,a=1;t&&_r(e)&&(s=e.offsetWidth>0&&ka(o.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ka(o.height)/e.offsetHeight||1);var l=zi(e)?Lr(e):window,u=l.visualViewport,f=!Xw()&&n,v=(o.left+(f&&u?u.offsetLeft:0))/s,h=(o.top+(f&&u?u.offsetTop:0))/a,y=o.width/s,b=o.height/a;return{width:y,height:b,top:h,right:v+y,bottom:h+b,left:v,x:v,y:h}}function ty(e){var t=Ta(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Nw(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ey(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function vs(e){return Lr(e).getComputedStyle(e)}function Kj(e){return["table","td","th"].indexOf(Yo(e))>=0}function Gs(e){return((zi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Td(e){return Yo(e)==="html"?e:e.assignedSlot||e.parentNode||(ey(e)?e.host:null)||Gs(e)}function Ob(e){return!_r(e)||vs(e).position==="fixed"?null:e.offsetParent}function _j(e){var t=/firefox/i.test(Zh()),n=/Trident/i.test(Zh());if(n&&_r(e)){var o=vs(e);if(o.position==="fixed")return null}var s=Td(e);for(ey(s)&&(s=s.host);_r(s)&&["html","body"].indexOf(Yo(s))<0;){var a=vs(s);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return s;s=s.parentNode}return null}function Nc(e){for(var t=Lr(e),n=Ob(e);n&&Kj(n)&&vs(n).position==="static";)n=Ob(n);return n&&(Yo(n)==="html"||Yo(n)==="body"&&vs(n).position==="static")?t:n||_j(e)||t}function ny(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function sc(e,t,n){return bi(e,$f(t,n))}function $j(e,t,n){var o=sc(e,t,n);return o>n?n:o}function Bw(){return{top:0,right:0,bottom:0,left:0}}function Vw(e){return Object.assign({},Bw(),e)}function Iw(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var eS=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Vw(typeof t!="number"?t:Iw(t,Xc))};function tS(e){var t,n=e.state,o=e.name,s=e.options,a=n.elements.arrow,l=n.modifiersData.popperOffsets,u=Jo(n.placement),f=ny(u),v=[yr,to].indexOf(u)>=0,h=v?"height":"width";if(!(!a||!l)){var y=eS(s.padding,n),b=ty(a),j=f==="y"?mr:yr,x=f==="y"?eo:to,A=n.rects.reference[h]+n.rects.reference[f]-l[f]-n.rects.popper[h],H=l[f]-n.rects.reference[f],S=Nc(a),z=S?f==="y"?S.clientHeight||0:S.clientWidth||0:0,C=A/2-H/2,O=y[j],D=z-b[h]-y[x],T=z/2-b[h]/2+C,R=sc(O,T,D),L=f;n.modifiersData[o]=(t={},t[L]=R,t.centerOffset=R-T,t)}}function nS(e){var t=e.state,n=e.options,o=n.element,s=o===void 0?"[data-popper-arrow]":o;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||Nw(t.elements.popper,s)&&(t.elements.arrow=s))}const rS={name:"arrow",enabled:!0,phase:"main",fn:tS,effect:nS,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ea(e){return e.split("-")[1]}var oS={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sS(e,t){var n=e.x,o=e.y,s=t.devicePixelRatio||1;return{x:ka(n*s)/s||0,y:ka(o*s)/s||0}}function Db(e){var t,n=e.popper,o=e.popperRect,s=e.placement,a=e.variation,l=e.offsets,u=e.position,f=e.gpuAcceleration,v=e.adaptive,h=e.roundOffsets,y=e.isFixed,b=l.x,j=b===void 0?0:b,x=l.y,A=x===void 0?0:x,H=typeof h=="function"?h({x:j,y:A}):{x:j,y:A};j=H.x,A=H.y;var S=l.hasOwnProperty("x"),z=l.hasOwnProperty("y"),C=yr,O=mr,D=window;if(v){var T=Nc(n),R="clientHeight",L="clientWidth";if(T===Lr(n)&&(T=Gs(n),vs(T).position!=="static"&&u==="absolute"&&(R="scrollHeight",L="scrollWidth")),T=T,s===mr||(s===yr||s===to)&&a===yc){O=eo;var M=y&&T===D&&D.visualViewport?D.visualViewport.height:T[R];A-=M-o.height,A*=f?1:-1}if(s===yr||(s===mr||s===eo)&&a===yc){C=to;var w=y&&T===D&&D.visualViewport?D.visualViewport.width:T[L];j-=w-o.width,j*=f?1:-1}}var N=Object.assign({position:u},v&&oS),I=h===!0?sS({x:j,y:A},Lr(n)):{x:j,y:A};if(j=I.x,A=I.y,f){var W;return Object.assign({},N,(W={},W[O]=z?"0":"",W[C]=S?"0":"",W.transform=(D.devicePixelRatio||1)<=1?"translate("+j+"px, "+A+"px)":"translate3d("+j+"px, "+A+"px, 0)",W))}return Object.assign({},N,(t={},t[O]=z?A+"px":"",t[C]=S?j+"px":"",t.transform="",t))}function iS(e){var t=e.state,n=e.options,o=n.gpuAcceleration,s=o===void 0?!0:o,a=n.adaptive,l=a===void 0?!0:a,u=n.roundOffsets,f=u===void 0?!0:u,v={placement:Jo(t.placement),variation:Ea(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Db(Object.assign({},v,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Db(Object.assign({},v,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const aS={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:iS,data:{}};var ff={passive:!0};function lS(e){var t=e.state,n=e.instance,o=e.options,s=o.scroll,a=s===void 0?!0:s,l=o.resize,u=l===void 0?!0:l,f=Lr(t.elements.popper),v=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&v.forEach(function(h){h.addEventListener("scroll",n.update,ff)}),u&&f.addEventListener("resize",n.update,ff),function(){a&&v.forEach(function(h){h.removeEventListener("scroll",n.update,ff)}),u&&f.removeEventListener("resize",n.update,ff)}}const cS={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lS,data:{}};var uS={left:"right",right:"left",bottom:"top",top:"bottom"};function Ef(e){return e.replace(/left|right|bottom|top/g,function(t){return uS[t]})}var fS={start:"end",end:"start"};function kb(e){return e.replace(/start|end/g,function(t){return fS[t]})}function ry(e){var t=Lr(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function oy(e){return Ta(Gs(e)).left+ry(e).scrollLeft}function dS(e,t){var n=Lr(e),o=Gs(e),s=n.visualViewport,a=o.clientWidth,l=o.clientHeight,u=0,f=0;if(s){a=s.width,l=s.height;var v=Xw();(v||!v&&t==="fixed")&&(u=s.offsetLeft,f=s.offsetTop)}return{width:a,height:l,x:u+oy(e),y:f}}function pS(e){var t,n=Gs(e),o=ry(e),s=(t=e.ownerDocument)==null?void 0:t.body,a=bi(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=bi(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),u=-o.scrollLeft+oy(e),f=-o.scrollTop;return vs(s||n).direction==="rtl"&&(u+=bi(n.clientWidth,s?s.clientWidth:0)-a),{width:a,height:l,x:u,y:f}}function sy(e){var t=vs(e),n=t.overflow,o=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+o)}function Ww(e){return["html","body","#document"].indexOf(Yo(e))>=0?e.ownerDocument.body:_r(e)&&sy(e)?e:Ww(Td(e))}function ic(e,t){var n;t===void 0&&(t=[]);var o=Ww(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),a=Lr(o),l=s?[a].concat(a.visualViewport||[],sy(o)?o:[]):o,u=t.concat(l);return s?u:u.concat(ic(Td(l)))}function Gh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function vS(e,t){var n=Ta(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Tb(e,t,n){return t===Mw?Gh(dS(e,n)):zi(t)?vS(t,n):Gh(pS(Gs(e)))}function hS(e){var t=ic(Td(e)),n=["absolute","fixed"].indexOf(vs(e).position)>=0,o=n&&_r(e)?Nc(e):e;return zi(o)?t.filter(function(s){return zi(s)&&Nw(s,o)&&Yo(s)!=="body"}):[]}function mS(e,t,n,o){var s=t==="clippingParents"?hS(e):[].concat(t),a=[].concat(s,[n]),l=a[0],u=a.reduce(function(f,v){var h=Tb(e,v,o);return f.top=bi(h.top,f.top),f.right=$f(h.right,f.right),f.bottom=$f(h.bottom,f.bottom),f.left=bi(h.left,f.left),f},Tb(e,l,o));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function Jw(e){var t=e.reference,n=e.element,o=e.placement,s=o?Jo(o):null,a=o?Ea(o):null,l=t.x+t.width/2-n.width/2,u=t.y+t.height/2-n.height/2,f;switch(s){case mr:f={x:l,y:t.y-n.height};break;case eo:f={x:l,y:t.y+t.height};break;case to:f={x:t.x+t.width,y:u};break;case yr:f={x:t.x-n.width,y:u};break;default:f={x:t.x,y:t.y}}var v=s?ny(s):null;if(v!=null){var h=v==="y"?"height":"width";switch(a){case Da:f[v]=f[v]-(t[h]/2-n[h]/2);break;case yc:f[v]=f[v]+(t[h]/2-n[h]/2);break}}return f}function gc(e,t){t===void 0&&(t={});var n=t,o=n.placement,s=o===void 0?e.placement:o,a=n.strategy,l=a===void 0?e.strategy:a,u=n.boundary,f=u===void 0?Lj:u,v=n.rootBoundary,h=v===void 0?Mw:v,y=n.elementContext,b=y===void 0?Dl:y,j=n.altBoundary,x=j===void 0?!1:j,A=n.padding,H=A===void 0?0:A,S=Vw(typeof H!="number"?H:Iw(H,Xc)),z=b===Dl?Xj:Dl,C=e.rects.popper,O=e.elements[x?z:b],D=mS(zi(O)?O:O.contextElement||Gs(e.elements.popper),f,h,l),T=Ta(e.elements.reference),R=Jw({reference:T,element:C,placement:s}),L=Gh(Object.assign({},C,R)),M=b===Dl?L:T,w={top:D.top-M.top+S.top,bottom:M.bottom-D.bottom+S.bottom,left:D.left-M.left+S.left,right:M.right-D.right+S.right},N=e.modifiersData.offset;if(b===Dl&&N){var I=N[s];Object.keys(w).forEach(function(W){var ne=[to,eo].indexOf(W)>=0?1:-1,J=[mr,eo].indexOf(W)>=0?"y":"x";w[W]+=I[J]*ne})}return w}function yS(e,t){t===void 0&&(t={});var n=t,o=n.placement,s=n.boundary,a=n.rootBoundary,l=n.padding,u=n.flipVariations,f=n.allowedAutoPlacements,v=f===void 0?Lw:f,h=Ea(o),y=h?u?Cb:Cb.filter(function(x){return Ea(x)===h}):Xc,b=y.filter(function(x){return v.indexOf(x)>=0});b.length===0&&(b=y);var j=b.reduce(function(x,A){return x[A]=gc(e,{placement:A,boundary:s,rootBoundary:a,padding:l})[Jo(A)],x},{});return Object.keys(j).sort(function(x,A){return j[x]-j[A]})}function gS(e){if(Jo(e)===$m)return[];var t=Ef(e);return[kb(e),t,kb(t)]}function AS(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!0:l,f=n.fallbackPlacements,v=n.padding,h=n.boundary,y=n.rootBoundary,b=n.altBoundary,j=n.flipVariations,x=j===void 0?!0:j,A=n.allowedAutoPlacements,H=t.options.placement,S=Jo(H),z=S===H,C=f||(z||!x?[Ef(H)]:gS(H)),O=[H].concat(C).reduce(function(te,oe){return te.concat(Jo(oe)===$m?yS(t,{placement:oe,boundary:h,rootBoundary:y,padding:v,flipVariations:x,allowedAutoPlacements:A}):oe)},[]),D=t.rects.reference,T=t.rects.popper,R=new Map,L=!0,M=O[0],w=0;w=0,J=ne?"width":"height",U=gc(t,{placement:N,boundary:h,rootBoundary:y,altBoundary:b,padding:v}),re=ne?W?to:yr:W?eo:mr;D[J]>T[J]&&(re=Ef(re));var K=Ef(re),Y=[];if(a&&Y.push(U[I]<=0),u&&Y.push(U[re]<=0,U[K]<=0),Y.every(function(te){return te})){M=N,L=!1;break}R.set(N,Y)}if(L)for(var E=x?3:1,q=function(oe){var le=O.find(function(be){var ie=R.get(be);if(ie)return ie.slice(0,oe).every(function(xe){return xe})});if(le)return M=le,"break"},X=E;X>0;X--){var _=q(X);if(_==="break")break}t.placement!==M&&(t.modifiersData[o]._skip=!0,t.placement=M,t.reset=!0)}}const PS={name:"flip",enabled:!0,phase:"main",fn:AS,requiresIfExists:["offset"],data:{_skip:!1}};function Eb(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Rb(e){return[mr,to,eo,yr].some(function(t){return e[t]>=0})}function bS(e){var t=e.state,n=e.name,o=t.rects.reference,s=t.rects.popper,a=t.modifiersData.preventOverflow,l=gc(t,{elementContext:"reference"}),u=gc(t,{altBoundary:!0}),f=Eb(l,o),v=Eb(u,s,a),h=Rb(f),y=Rb(v);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:v,isReferenceHidden:h,hasPopperEscaped:y},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":y})}const xS={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bS};function wS(e,t,n){var o=Jo(e),s=[yr,mr].indexOf(o)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,l=a[0],u=a[1];return l=l||0,u=(u||0)*s,[yr,to].indexOf(o)>=0?{x:u,y:l}:{x:l,y:u}}function HS(e){var t=e.state,n=e.options,o=e.name,s=n.offset,a=s===void 0?[0,0]:s,l=Lw.reduce(function(h,y){return h[y]=wS(y,t.rects,a),h},{}),u=l[t.placement],f=u.x,v=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=v),t.modifiersData[o]=l}const jS={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:HS};function SS(e){var t=e.state,n=e.name;t.modifiersData[n]=Jw({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const zS={name:"popperOffsets",enabled:!0,phase:"read",fn:SS,data:{}};function CS(e){return e==="x"?"y":"x"}function OS(e){var t=e.state,n=e.options,o=e.name,s=n.mainAxis,a=s===void 0?!0:s,l=n.altAxis,u=l===void 0?!1:l,f=n.boundary,v=n.rootBoundary,h=n.altBoundary,y=n.padding,b=n.tether,j=b===void 0?!0:b,x=n.tetherOffset,A=x===void 0?0:x,H=gc(t,{boundary:f,rootBoundary:v,padding:y,altBoundary:h}),S=Jo(t.placement),z=Ea(t.placement),C=!z,O=ny(S),D=CS(O),T=t.modifiersData.popperOffsets,R=t.rects.reference,L=t.rects.popper,M=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,w=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(T){if(a){var W,ne=O==="y"?mr:yr,J=O==="y"?eo:to,U=O==="y"?"height":"width",re=T[O],K=re+H[ne],Y=re-H[J],E=j?-L[U]/2:0,q=z===Da?R[U]:L[U],X=z===Da?-L[U]:-R[U],_=t.elements.arrow,te=j&&_?ty(_):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Bw(),le=oe[ne],be=oe[J],ie=sc(0,R[U],te[U]),xe=C?R[U]/2-E-ie-le-w.mainAxis:q-ie-le-w.mainAxis,Oe=C?-R[U]/2+E+ie+be+w.mainAxis:X+ie+be+w.mainAxis,Le=t.elements.arrow&&Nc(t.elements.arrow),Ae=Le?O==="y"?Le.clientTop||0:Le.clientLeft||0:0,Ye=(W=N?.[O])!=null?W:0,ye=re+xe-Ye-Ae,Je=re+Oe-Ye,yt=sc(j?$f(K,ye):K,re,j?bi(Y,Je):Y);T[O]=yt,I[O]=yt-re}if(u){var Me,ht=O==="x"?mr:yr,ct=O==="x"?eo:to,B=T[D],Q=D==="y"?"height":"width",$=B+H[ht],we=B-H[ct],ce=[mr,yr].indexOf(S)!==-1,ge=(Me=N?.[D])!=null?Me:0,De=ce?$:B-R[Q]-L[Q]-ge+w.altAxis,qe=ce?B+R[Q]+L[Q]-ge-w.altAxis:we,$e=j&&ce?$j(De,B,qe):sc(j?De:$,B,j?qe:we);T[D]=$e,I[D]=$e-B}t.modifiersData[o]=I}}const DS={name:"preventOverflow",enabled:!0,phase:"main",fn:OS,requiresIfExists:["offset"]};function kS(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function TS(e){return e===Lr(e)||!_r(e)?ry(e):kS(e)}function ES(e){var t=e.getBoundingClientRect(),n=ka(t.width)/e.offsetWidth||1,o=ka(t.height)/e.offsetHeight||1;return n!==1||o!==1}function RS(e,t,n){n===void 0&&(n=!1);var o=_r(t),s=_r(t)&&ES(t),a=Gs(t),l=Ta(e,s,n),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!n)&&((Yo(t)!=="body"||sy(a))&&(u=TS(t)),_r(t)?(f=Ta(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):a&&(f.x=oy(a))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function MS(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function s(a){n.add(a.name);var l=[].concat(a.requires||[],a.requiresIfExists||[]);l.forEach(function(u){if(!n.has(u)){var f=t.get(u);f&&s(f)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||s(a)}),o}function LS(e){var t=MS(e);return Zj.reduce(function(n,o){return n.concat(t.filter(function(s){return s.phase===o}))},[])}function XS(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function NS(e){var t=e.reduce(function(n,o){var s=n[o.name];return n[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var Mb={placement:"bottom",modifiers:[],strategy:"absolute"};function Lb(){for(var e=arguments.length,t=new Array(e),n=0;n{a||u(WS(s)||document.body)},[s,a]),xr(()=>{if(l&&!a)return Bh(n,l),()=>{Bh(n,null)}},[n,l,a]),a){if(g.isValidElement(o)){const v={ref:f};return g.cloneElement(o,v)}return o}return l&&Ew.createPortal(o,l)});function JS(e){return Qe("MuiPopper",e)}Ke("MuiPopper",["root"]);function FS(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Uh(e){return typeof e=="function"?e():e}function YS(e){return e.nodeType!==void 0}const qS=e=>{const{classes:t}=e;return _e({root:["root"]},JS,t)},ZS={},GS=g.forwardRef(function(t,n){const{anchorEl:o,children:s,direction:a,disablePortal:l,modifiers:u,open:f,placement:v,popperOptions:h,popperRef:y,slotProps:b={},slots:j={},TransitionProps:x,ownerState:A,...H}=t,S=g.useRef(null),z=ln(S,n),C=g.useRef(null),O=ln(C,y),D=g.useRef(O);xr(()=>{D.current=O},[O]),g.useImperativeHandle(y,()=>C.current,[]);const T=FS(v,a),[R,L]=g.useState(T),[M,w]=g.useState(Uh(o));g.useEffect(()=>{C.current&&C.current.forceUpdate()}),g.useEffect(()=>{o&&w(Uh(o))},[o]),xr(()=>{if(!M||!f)return;const J=K=>{L(K.placement)};let U=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:K})=>{J(K)}}];u!=null&&(U=U.concat(u)),h&&h.modifiers!=null&&(U=U.concat(h.modifiers));const re=IS(M,S.current,{placement:T,...h,modifiers:U});return D.current(re),()=>{re.destroy(),D.current(null)}},[M,l,u,f,h,T]);const N={placement:R};x!==null&&(N.TransitionProps=x);const I=qS(t),W=j.root??"div",ne=gw({elementType:W,externalSlotProps:b.root,externalForwardedProps:H,additionalProps:{role:"tooltip",ref:z},ownerState:t,className:I.root});return p.jsx(W,{...ne,children:typeof s=="function"?s(N):s})}),US=g.forwardRef(function(t,n){const{anchorEl:o,children:s,container:a,direction:l="ltr",disablePortal:u=!1,keepMounted:f=!1,modifiers:v,open:h,placement:y="bottom",popperOptions:b=ZS,popperRef:j,style:x,transition:A=!1,slotProps:H={},slots:S={},...z}=t,[C,O]=g.useState(!0),D=()=>{O(!1)},T=()=>{O(!0)};if(!f&&!h&&(!A||C))return null;let R;if(a)R=a;else if(o){const w=Uh(o);R=w&&YS(w)?er(w).body:er(null).body}const L=!h&&f&&(!A||C)?"none":void 0,M=A?{in:h,onEnter:D,onExited:T}:void 0;return p.jsx(Fw,{disablePortal:u,container:R,children:p.jsx(GS,{anchorEl:o,direction:l,disablePortal:u,modifiers:v,ref:n,open:A?!C:h,placement:y,popperOptions:b,popperRef:j,slotProps:H,slots:S,...z,style:{position:"fixed",top:0,left:0,display:L,...x},TransitionProps:M,children:s})})}),QS=fe(US,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ed=g.forwardRef(function(t,n){const o=Mc(),s=nt({props:t,name:"MuiPopper"}),{anchorEl:a,component:l,components:u,componentsProps:f,container:v,disablePortal:h,keepMounted:y,modifiers:b,open:j,placement:x,popperOptions:A,popperRef:H,transition:S,slots:z,slotProps:C,...O}=s,D=z?.root??u?.Root,T={anchorEl:a,container:v,disablePortal:h,keepMounted:y,modifiers:b,open:j,placement:x,popperOptions:A,popperRef:H,transition:S,...O};return p.jsx(QS,{as:l,direction:o?"rtl":"ltr",slots:{root:D},slotProps:C??f,...T,ref:n})});function KS(e){return Qe("MuiListSubheader",e)}Ke("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const _S=e=>{const{classes:t,color:n,disableGutters:o,inset:s,disableSticky:a}=e,l={root:["root",n!=="default"&&`color${ve(n)}`,!o&&"gutters",s&&"inset",!a&&"sticky"]};return _e(l,KS,t)},$S=fe("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ve(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(tt(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.inset,style:{paddingLeft:72}},{props:({ownerState:t})=>!t.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),Qh=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListSubheader"}),{className:s,color:a="default",component:l="li",disableGutters:u=!1,disableSticky:f=!1,inset:v=!1,...h}=o,y={...o,color:a,component:l,disableGutters:u,disableSticky:f,inset:v},b=_S(y);return p.jsx($S,{as:l,className:ze(b.root,s),ref:n,ownerState:y,...h})});Qh&&(Qh.muiSkipListHighlight=!0);const ez=At(p.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function tz(e){return Qe("MuiChip",e)}const kt=Ke("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),nz=e=>{const{classes:t,disabled:n,size:o,color:s,iconColor:a,onDelete:l,clickable:u,variant:f}=e,v={root:["root",f,n&&"disabled",`size${ve(o)}`,`color${ve(s)}`,u&&"clickable",u&&`clickableColor${ve(s)}`,l&&"deletable",l&&`deletableColor${ve(s)}`,`${f}${ve(s)}`],label:["label",`label${ve(o)}`],avatar:["avatar",`avatar${ve(o)}`,`avatarColor${ve(s)}`],icon:["icon",`icon${ve(o)}`,`iconColor${ve(a)}`],deleteIcon:["deleteIcon",`deleteIcon${ve(o)}`,`deleteIconColor${ve(s)}`,`deleteIcon${ve(f)}Color${ve(s)}`]};return _e(v,tz,t)},rz=fe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:o,iconColor:s,clickable:a,onDelete:l,size:u,variant:f}=n;return[{[`& .${kt.avatar}`]:t.avatar},{[`& .${kt.avatar}`]:t[`avatar${ve(u)}`]},{[`& .${kt.avatar}`]:t[`avatarColor${ve(o)}`]},{[`& .${kt.icon}`]:t.icon},{[`& .${kt.icon}`]:t[`icon${ve(u)}`]},{[`& .${kt.icon}`]:t[`iconColor${ve(s)}`]},{[`& .${kt.deleteIcon}`]:t.deleteIcon},{[`& .${kt.deleteIcon}`]:t[`deleteIcon${ve(u)}`]},{[`& .${kt.deleteIcon}`]:t[`deleteIconColor${ve(o)}`]},{[`& .${kt.deleteIcon}`]:t[`deleteIcon${ve(f)}Color${ve(o)}`]},t.root,t[`size${ve(u)}`],t[`color${ve(o)}`],a&&t.clickable,a&&o!=="default"&&t[`clickableColor${ve(o)})`],l&&t.deletable,l&&o!=="default"&&t[`deletableColor${ve(o)}`],t[f],t[`${f}${ve(o)}`]]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${kt.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${kt.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${kt.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${kt.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${kt.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${kt.icon}`]:{marginLeft:5,marginRight:-6},[`& .${kt.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${kt.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${kt.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(fn(["contrastText"])).map(([n])=>({props:{color:n},style:{backgroundColor:(e.vars||e).palette[n].main,color:(e.vars||e).palette[n].contrastText,[`& .${kt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].contrastTextChannel} / 0.7)`:Pt(e.palette[n].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].contrastText}}}})),{props:n=>n.iconColor===n.color,style:{[`& .${kt.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:n=>n.iconColor===n.color&&n.color!=="default",style:{[`& .${kt.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(fn(["dark"])).map(([n])=>({props:{color:n,onDelete:!0},style:{[`&.${kt.focusVisible}`]:{background:(e.vars||e).palette[n].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(fn(["dark"])).map(([n])=>({props:{color:n,clickable:!0},style:{[`&:hover, &.${kt.focusVisible}`]:{backgroundColor:(e.vars||e).palette[n].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${kt.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${kt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${kt.avatar}`]:{marginLeft:4},[`& .${kt.avatarSmall}`]:{marginLeft:2},[`& .${kt.icon}`]:{marginLeft:4},[`& .${kt.iconSmall}`]:{marginLeft:2},[`& .${kt.deleteIcon}`]:{marginRight:5},[`& .${kt.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(fn()).map(([n])=>({props:{variant:"outlined",color:n},style:{color:(e.vars||e).palette[n].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7)}`,[`&.${kt.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[n].main,e.palette.action.hoverOpacity)},[`&.${kt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[n].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pt(e.palette[n].main,e.palette.action.focusOpacity)},[`& .${kt.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[n].mainChannel} / 0.7)`:Pt(e.palette[n].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[n].main}}}}))]}})),oz=fe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:o}=n;return[t.label,t[`label${ve(o)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Xb(e){return e.key==="Backspace"||e.key==="Delete"}const Bc=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiChip"}),{avatar:s,className:a,clickable:l,color:u="default",component:f,deleteIcon:v,disabled:h=!1,icon:y,label:b,onClick:j,onDelete:x,onKeyDown:A,onKeyUp:H,size:S="medium",variant:z="filled",tabIndex:C,skipFocusWhenDisabled:O=!1,...D}=o,T=g.useRef(null),R=ln(T,n),L=Y=>{Y.stopPropagation(),x&&x(Y)},M=Y=>{Y.currentTarget===Y.target&&Xb(Y)&&Y.preventDefault(),A&&A(Y)},w=Y=>{Y.currentTarget===Y.target&&x&&Xb(Y)&&x(Y),H&&H(Y)},N=l!==!1&&j?!0:l,I=N||x?Si:f||"div",W={...o,component:I,disabled:h,size:S,color:u,iconColor:g.isValidElement(y)&&y.props.color||u,onDelete:!!x,clickable:N,variant:z},ne=nz(W),J=I===Si?{component:f||"div",focusVisibleClassName:ne.focusVisible,...x&&{disableRipple:!0}}:{};let U=null;x&&(U=v&&g.isValidElement(v)?g.cloneElement(v,{className:ze(v.props.className,ne.deleteIcon),onClick:L}):p.jsx(ez,{className:ze(ne.deleteIcon),onClick:L}));let re=null;s&&g.isValidElement(s)&&(re=g.cloneElement(s,{className:ze(ne.avatar,s.props.className)}));let K=null;return y&&g.isValidElement(y)&&(K=g.cloneElement(y,{className:ze(ne.icon,y.props.className)})),p.jsxs(rz,{as:I,className:ze(ne.root,a),disabled:N&&h?!0:void 0,onClick:j,onKeyDown:M,onKeyUp:w,ref:R,tabIndex:O&&h?-1:C,ownerState:W,...J,...D,children:[re||K,p.jsx(oz,{className:ze(ne.label),ownerState:W,children:b}),U]})});function df(e){return parseInt(e,10)||0}const sz={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function iz(e){for(const t in e)return!1;return!0}function Nb(e){return iz(e)||e.outerHeightStyle===0&&!e.overflowing}const az=g.forwardRef(function(t,n){const{onChange:o,maxRows:s,minRows:a=1,style:l,value:u,...f}=t,{current:v}=g.useRef(u!=null),h=g.useRef(null),y=ln(n,h),b=g.useRef(null),j=g.useRef(null),x=g.useCallback(()=>{const C=h.current,O=j.current;if(!C||!O)return;const T=bo(C).getComputedStyle(C);if(T.width==="0px")return{outerHeightStyle:0,overflowing:!1};O.style.width=T.width,O.value=C.value||t.placeholder||"x",O.value.slice(-1)===` +`&&(O.value+=" ");const R=T.boxSizing,L=df(T.paddingBottom)+df(T.paddingTop),M=df(T.borderBottomWidth)+df(T.borderTopWidth),w=O.scrollHeight;O.value="x";const N=O.scrollHeight;let I=w;a&&(I=Math.max(Number(a)*N,I)),s&&(I=Math.min(Number(s)*N,I)),I=Math.max(I,N);const W=I+(R==="border-box"?L+M:0),ne=Math.abs(I-w)<=1;return{outerHeightStyle:W,overflowing:ne}},[s,a,t.placeholder]),A=$n(()=>{const C=h.current,O=x();if(!C||!O||Nb(O))return!1;const D=O.outerHeightStyle;return b.current!=null&&b.current!==D}),H=g.useCallback(()=>{const C=h.current,O=x();if(!C||!O||Nb(O))return;const D=O.outerHeightStyle;b.current!==D&&(b.current=D,C.style.height=`${D}px`),C.style.overflow=O.overflowing?"hidden":""},[x]),S=g.useRef(-1);xr(()=>{const C=Im(H),O=h?.current;if(!O)return;const D=bo(O);D.addEventListener("resize",C);let T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(()=>{A()&&(T.unobserve(O),cancelAnimationFrame(S.current),H(),S.current=requestAnimationFrame(()=>{T.observe(O)}))}),T.observe(O)),()=>{C.clear(),cancelAnimationFrame(S.current),D.removeEventListener("resize",C),T&&T.disconnect()}},[x,H,A]),xr(()=>{H()});const z=C=>{v||H(),o&&o(C)};return p.jsxs(g.Fragment,{children:[p.jsx("textarea",{value:u,onChange:z,ref:y,rows:a,style:l,...f}),p.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:j,tabIndex:-1,style:{...sz.shadow,...l,paddingTop:0,paddingBottom:0}})]})});function Ac(e){return typeof e=="string"}function Us({props:e,states:t,muiFormControl:n}){return t.reduce((o,s)=>(o[s]=e[s],n&&typeof e[s]>"u"&&(o[s]=n[s]),o),{})}const Rd=g.createContext(void 0);function jo(){return g.useContext(Rd)}function Bb(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function ed(e,t=!1){return e&&(Bb(e.value)&&e.value!==""||t&&Bb(e.defaultValue)&&e.defaultValue!=="")}function lz(e){return e.startAdornment}function cz(e){return Qe("MuiInputBase",e)}const Dr=Ke("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Vb;const Md=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ve(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Ld=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},uz=e=>{const{classes:t,color:n,disabled:o,error:s,endAdornment:a,focused:l,formControl:u,fullWidth:f,hiddenLabel:v,multiline:h,readOnly:y,size:b,startAdornment:j,type:x}=e,A={root:["root",`color${ve(n)}`,o&&"disabled",s&&"error",f&&"fullWidth",l&&"focused",u&&"formControl",b&&b!=="medium"&&`size${ve(b)}`,h&&"multiline",j&&"adornedStart",a&&"adornedEnd",v&&"hiddenLabel",y&&"readOnly"],input:["input",o&&"disabled",x==="search"&&"inputTypeSearch",h&&"inputMultiline",b==="small"&&"inputSizeSmall",v&&"inputHiddenLabel",j&&"inputAdornedStart",a&&"inputAdornedEnd",y&&"readOnly"]};return _e(A,cz,t)},Xd=fe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Md})(tt(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Dr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Nd=fe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Ld})(tt(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},o={opacity:"0 !important"},s=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Dr.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":s,"&:focus::-moz-placeholder":s,"&:focus::-ms-input-placeholder":s},[`&.${Dr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:a})=>!a.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:a})=>a.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),Ib=qm({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Bd=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:a,autoFocus:l,className:u,color:f,components:v={},componentsProps:h={},defaultValue:y,disabled:b,disableInjectingGlobalStyles:j,endAdornment:x,error:A,fullWidth:H=!1,id:S,inputComponent:z="input",inputProps:C={},inputRef:O,margin:D,maxRows:T,minRows:R,multiline:L=!1,name:M,onBlur:w,onChange:N,onClick:I,onFocus:W,onKeyDown:ne,onKeyUp:J,placeholder:U,readOnly:re,renderSuffix:K,rows:Y,size:E,slotProps:q={},slots:X={},startAdornment:_,type:te="text",value:oe,...le}=o,be=C.value!=null?C.value:oe,{current:ie}=g.useRef(be!=null),xe=g.useRef(),Oe=g.useCallback(Ie=>{},[]),Le=ln(xe,O,C.ref,Oe),[Ae,Ye]=g.useState(!1),ye=jo(),Je=Us({props:o,muiFormControl:ye,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Je.focused=ye?ye.focused:Ae,g.useEffect(()=>{!ye&&b&&Ae&&(Ye(!1),w&&w())},[ye,b,Ae,w]);const yt=ye&&ye.onFilled,Me=ye&&ye.onEmpty,ht=g.useCallback(Ie=>{ed(Ie)?yt&&yt():Me&&Me()},[yt,Me]);xr(()=>{ie&&ht({value:be})},[be,ht,ie]);const ct=Ie=>{W&&W(Ie),C.onFocus&&C.onFocus(Ie),ye&&ye.onFocus?ye.onFocus(Ie):Ye(!0)},B=Ie=>{w&&w(Ie),C.onBlur&&C.onBlur(Ie),ye&&ye.onBlur?ye.onBlur(Ie):Ye(!1)},Q=(Ie,...Ft)=>{if(!ie){const Mt=Ie.target||xe.current;if(Mt==null)throw new Error(ds(1));ht({value:Mt.value})}C.onChange&&C.onChange(Ie,...Ft),N&&N(Ie,...Ft)};g.useEffect(()=>{ht(xe.current)},[]);const $=Ie=>{xe.current&&Ie.currentTarget===Ie.target&&xe.current.focus(),I&&I(Ie)};let we=z,ce=C;L&&we==="input"&&(Y?ce={type:void 0,minRows:Y,maxRows:Y,...ce}:ce={type:void 0,maxRows:T,minRows:R,...ce},we=az);const ge=Ie=>{ht(Ie.animationName==="mui-auto-fill-cancel"?xe.current:{value:"x"})};g.useEffect(()=>{ye&&ye.setAdornedStart(!!_)},[ye,_]);const De={...o,color:Je.color||"primary",disabled:Je.disabled,endAdornment:x,error:Je.error,focused:Je.focused,formControl:ye,fullWidth:H,hiddenLabel:Je.hiddenLabel,multiline:L,size:Je.size,startAdornment:_,type:te},qe=uz(De),$e=X.root||v.Root||Xd,gt=q.root||h.root||{},ft=X.input||v.Input||Nd;return ce={...ce,...q.input??h.input},p.jsxs(g.Fragment,{children:[!j&&typeof Ib=="function"&&(Vb||(Vb=p.jsx(Ib,{}))),p.jsxs($e,{...gt,ref:n,onClick:$,...le,...!Ac($e)&&{ownerState:{...De,...gt.ownerState}},className:ze(qe.root,gt.className,u,re&&"MuiInputBase-readOnly"),children:[_,p.jsx(Rd.Provider,{value:null,children:p.jsx(ft,{"aria-invalid":Je.error,"aria-describedby":s,autoComplete:a,autoFocus:l,defaultValue:y,disabled:Je.disabled,id:S,onAnimationStart:ge,name:M,placeholder:U,readOnly:re,required:Je.required,rows:Y,value:be,onKeyDown:ne,onKeyUp:J,type:te,...ce,...!Ac(ft)&&{as:we,ownerState:{...De,...ce.ownerState}},ref:Le,className:ze(qe.input,ce.className,re&&"MuiInputBase-readOnly"),onBlur:B,onChange:Q,onFocus:ct})}),x,K?K({...Je,startAdornment:_}):null]})]})});function fz(e){return Qe("MuiInput",e)}const Vs={...Dr,...Ke("MuiInput",["root","underline","input"])};function dz(e){return Qe("MuiOutlinedInput",e)}const qr={...Dr,...Ke("MuiOutlinedInput",["root","notchedOutline","input"])};function pz(e){return Qe("MuiFilledInput",e)}const kr={...Dr,...Ke("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Yw=At(p.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function vz(e){return Qe("MuiAutocomplete",e)}const zt=Ke("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Wb,Jb;const hz=e=>{const{classes:t,disablePortal:n,expanded:o,focused:s,fullWidth:a,hasClearIcon:l,hasPopupIcon:u,inputFocused:f,popupOpen:v,size:h}=e,y={root:["root",o&&"expanded",s&&"focused",a&&"fullWidth",l&&"hasClearIcon",u&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",f&&"inputFocused"],tag:["tag",`tagSize${ve(h)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",v&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return _e(y,vz,t)},mz=fe("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:o,hasClearIcon:s,hasPopupIcon:a,inputFocused:l,size:u}=n;return[{[`& .${zt.tag}`]:t.tag},{[`& .${zt.tag}`]:t[`tagSize${ve(u)}`]},{[`& .${zt.inputRoot}`]:t.inputRoot},{[`& .${zt.input}`]:t.input},{[`& .${zt.input}`]:l&&t.inputFocused},t.root,o&&t.fullWidth,a&&t.hasPopupIcon,s&&t.hasClearIcon]}})({[`&.${zt.focused} .${zt.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${zt.clearIndicator}`]:{visibility:"visible"}},[`& .${zt.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${zt.inputRoot}`]:{[`.${zt.hasPopupIcon}&, .${zt.hasClearIcon}&`]:{paddingRight:30},[`.${zt.hasPopupIcon}.${zt.hasClearIcon}&`]:{paddingRight:56},[`& .${zt.input}`]:{width:0,minWidth:30}},[`& .${Vs.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Vs.root}.${Dr.sizeSmall}`]:{[`& .${Vs.input}`]:{padding:"2px 4px 3px 0"}},[`& .${qr.root}`]:{padding:9,[`.${zt.hasPopupIcon}&, .${zt.hasClearIcon}&`]:{paddingRight:39},[`.${zt.hasPopupIcon}.${zt.hasClearIcon}&`]:{paddingRight:65},[`& .${zt.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${zt.endAdornment}`]:{right:9}},[`& .${qr.root}.${Dr.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${zt.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${kr.root}`]:{paddingTop:19,paddingLeft:8,[`.${zt.hasPopupIcon}&, .${zt.hasClearIcon}&`]:{paddingRight:39},[`.${zt.hasPopupIcon}.${zt.hasClearIcon}&`]:{paddingRight:65},[`& .${kr.input}`]:{padding:"7px 4px"},[`& .${zt.endAdornment}`]:{right:9}},[`& .${kr.root}.${Dr.sizeSmall}`]:{paddingBottom:1,[`& .${kr.input}`]:{padding:"2.5px 4px"}},[`& .${Dr.hiddenLabel}`]:{paddingTop:8},[`& .${kr.root}.${Dr.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${zt.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${kr.root}.${Dr.hiddenLabel}.${Dr.sizeSmall}`]:{[`& .${zt.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${zt.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${zt.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${zt.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${zt.inputRoot}`]:{flexWrap:"wrap"}}}]}),yz=fe("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),gz=fe(hr,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),Az=fe(hr,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),Pz=fe(Ed,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${zt.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),bz=fe(Mr,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})(tt(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),xz=fe("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),wz=fe("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Hz=fe("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})(tt(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${zt.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${zt.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${zt.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${zt.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${zt.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),jz=fe(Qh,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})(tt(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Sz=fe("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${zt.option}`]:{paddingLeft:24}}),zz=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:a=!1,autoSelect:l=!1,blurOnSelect:u=!1,ChipProps:f,className:v,clearIcon:h=Wb||(Wb=p.jsx(Rw,{fontSize:"small"})),clearOnBlur:y=!o.freeSolo,clearOnEscape:b=!1,clearText:j="Clear",closeText:x="Close",componentsProps:A,defaultValue:H=o.multiple?[]:null,disableClearable:S=!1,disableCloseOnSelect:z=!1,disabled:C=!1,disabledItemsFocusable:O=!1,disableListWrap:D=!1,disablePortal:T=!1,filterOptions:R,filterSelectedOptions:L=!1,forcePopupIcon:M="auto",freeSolo:w=!1,fullWidth:N=!1,getLimitTagsText:I=Et=>`+${Et}`,getOptionDisabled:W,getOptionKey:ne,getOptionLabel:J,isOptionEqualToValue:U,groupBy:re,handleHomeEndKeys:K=!o.freeSolo,id:Y,includeInputInList:E=!1,inputValue:q,limitTags:X=-1,ListboxComponent:_,ListboxProps:te,loading:oe=!1,loadingText:le="Loading…",multiple:be=!1,noOptionsText:ie="No options",onChange:xe,onClose:Oe,onHighlightChange:Le,onInputChange:Ae,onOpen:Ye,open:ye,openOnFocus:Je=!1,openText:yt="Open",options:Me,PaperComponent:ht,PopperComponent:ct,popupIcon:B=Jb||(Jb=p.jsx(Yw,{})),readOnly:Q=!1,renderGroup:$,renderInput:we,renderOption:ce,renderTags:ge,selectOnFocus:De=!o.freeSolo,size:qe="medium",slots:$e={},slotProps:gt={},value:ft,...Ie}=o,{getRootProps:Ft,getInputProps:Mt,getInputLabelProps:Ze,getPopupIndicatorProps:G,getClearProps:F,getTagProps:Pe,getListboxProps:Se,getOptionProps:Te,value:Re,dirty:Ue,expanded:Xe,id:rt,popupOpen:ut,focused:Tt,focusedTag:Yt,anchorEl:Fe,setAnchorEl:Xt,inputValue:zn,groupedOptions:pn}=Mj({...o,componentName:"Autocomplete"}),Wn=!S&&!C&&Ue&&!Q,vn=(!w||M===!0)&&M!==!1,{onMouseDown:Hr}=Mt(),{ref:ro,...Co}=Se(),oo=J||(Et=>Et.label??Et),hn={...o,disablePortal:T,expanded:Xe,focused:Tt,fullWidth:N,getOptionLabel:oo,hasClearIcon:Wn,hasPopupIcon:vn,inputFocused:Yt===-1,popupOpen:ut,size:qe},Ee=hz(hn),We={slots:{paper:ht,popper:ct,...$e},slotProps:{chip:f,listbox:te,...A,...gt}},[dt,de]=lt("listbox",{elementType:Hz,externalForwardedProps:We,ownerState:hn,className:Ee.listbox,additionalProps:Co,ref:ro}),[he,Ne]=lt("paper",{elementType:Mr,externalForwardedProps:We,ownerState:hn,className:Ee.paper}),[bt,Ht]=lt("popper",{elementType:Ed,externalForwardedProps:We,ownerState:hn,className:Ee.popper,additionalProps:{disablePortal:T,style:{width:Fe?Fe.clientWidth:null},role:"presentation",anchorEl:Fe,open:ut}});let Lt;if(be&&Re.length>0){const Et=Nr=>({className:Ee.tag,disabled:C,...Pe(Nr)});ge?Lt=ge(Re,Et,hn):Lt=Re.map((Nr,so)=>{const{key:Do,...Br}=Et({index:so});return p.jsx(Bc,{label:oo(Nr),size:qe,...Br,...We.slotProps.chip},Do)})}if(X>-1&&Array.isArray(Lt)){const Et=Lt.length-X;!Tt&&Et>0&&(Lt=Lt.splice(0,X),Lt.push(p.jsx("span",{className:Ee.tag,children:I(Et)},Lt.length)))}const bn=$||(Et=>p.jsxs("li",{children:[p.jsx(jz,{className:Ee.groupLabel,ownerState:hn,component:"div",children:Et.group}),p.jsx(Sz,{className:Ee.groupUl,ownerState:hn,children:Et.children})]},Et.key)),Qt=ce||((Et,Nr)=>{const{key:so,...Do}=Et;return p.jsx("li",{...Do,children:oo(Nr)},so)}),nu=(Et,Nr)=>{const so=Te({option:Et,index:Nr});return Qt({...so,className:Ee.option},Et,{selected:so["aria-selected"],index:Nr,inputValue:zn},hn)},Xi=We.slotProps.clearIndicator,Za=We.slotProps.popupIndicator;return p.jsxs(g.Fragment,{children:[p.jsx(mz,{ref:n,className:ze(Ee.root,v),ownerState:hn,...Ft(Ie),children:we({id:rt,disabled:C,fullWidth:!0,size:qe==="small"?"small":void 0,InputLabelProps:Ze(),InputProps:{ref:Xt,className:Ee.inputRoot,startAdornment:Lt,onMouseDown:Et=>{Et.target===Et.currentTarget&&Hr(Et)},...(Wn||vn)&&{endAdornment:p.jsxs(yz,{className:Ee.endAdornment,ownerState:hn,children:[Wn?p.jsx(gz,{...F(),"aria-label":j,title:j,ownerState:hn,...Xi,className:ze(Ee.clearIndicator,Xi?.className),children:h}):null,vn?p.jsx(Az,{...G(),disabled:C,"aria-label":ut?x:yt,title:ut?x:yt,ownerState:hn,...Za,className:ze(Ee.popupIndicator,Za?.className),children:B}):null]})}},inputProps:{className:Ee.input,disabled:C,readOnly:Q,...Mt()}})}),Fe?p.jsx(Pz,{as:bt,...Ht,children:p.jsxs(bz,{as:he,...Ne,children:[oe&&pn.length===0?p.jsx(xz,{className:Ee.loading,ownerState:hn,children:le}):null,pn.length===0&&!w&&!oe?p.jsx(wz,{className:Ee.noOptions,ownerState:hn,role:"presentation",onMouseDown:Et=>{Et.preventDefault()},children:ie}):null,pn.length>0?p.jsx(dt,{as:_,...de,children:pn.map((Et,Nr)=>re?bn({key:Et.key,group:Et.group,children:Et.options.map((so,Do)=>nu(so,Et.index+Do))}):nu(Et,Nr))}):null]})}):null]})}),Cz={entering:{opacity:1},entered:{opacity:1}},Kh=g.forwardRef(function(t,n){const o=Xr(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:a,appear:l=!0,children:u,easing:f,in:v,onEnter:h,onEntered:y,onEntering:b,onExit:j,onExited:x,onExiting:A,style:H,timeout:S=s,TransitionComponent:z=Ho,...C}=t,O=g.useRef(null),D=ln(O,Zs(u),n),T=ne=>J=>{if(ne){const U=O.current;J===void 0?ne(U):ne(U,J)}},R=T(b),L=T((ne,J)=>{Km(ne);const U=Oa({style:H,timeout:S,easing:f},{mode:"enter"});ne.style.webkitTransition=o.transitions.create("opacity",U),ne.style.transition=o.transitions.create("opacity",U),h&&h(ne,J)}),M=T(y),w=T(A),N=T(ne=>{const J=Oa({style:H,timeout:S,easing:f},{mode:"exit"});ne.style.webkitTransition=o.transitions.create("opacity",J),ne.style.transition=o.transitions.create("opacity",J),j&&j(ne)}),I=T(x),W=ne=>{a&&a(O.current,ne)};return p.jsx(z,{appear:l,in:v,nodeRef:O,onEnter:L,onEntered:M,onEntering:R,onExit:N,onExited:I,onExiting:w,addEndListener:W,timeout:S,...C,children:(ne,{ownerState:J,...U})=>g.cloneElement(u,{style:{opacity:0,visibility:ne==="exited"&&!v?"hidden":void 0,...Cz[ne],...H,...u.props.style},ref:D,...U})})});function Oz(e){return Qe("MuiBackdrop",e)}Ke("MuiBackdrop",["root","invisible"]);const Dz=e=>{const{classes:t,invisible:n}=e;return _e({root:["root",n&&"invisible"]},Oz,t)},kz=fe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),qw=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiBackdrop"}),{children:s,className:a,component:l="div",invisible:u=!1,open:f,components:v={},componentsProps:h={},slotProps:y={},slots:b={},TransitionComponent:j,transitionDuration:x,...A}=o,H={...o,component:l,invisible:u},S=Dz(H),z={transition:j,root:v.Root,...b},C={...h,...y},O={slots:z,slotProps:C},[D,T]=lt("root",{elementType:kz,externalForwardedProps:O,className:ze(S.root,a),ownerState:H}),[R,L]=lt("transition",{elementType:Kh,externalForwardedProps:O,ownerState:H});return p.jsx(R,{in:f,timeout:x,...A,...L,children:p.jsx(D,{"aria-hidden":!0,...T,classes:S,ref:n,children:s})})}),Tz=Ke("MuiBox",["root"]),Ez=Lc(),mt=I3({themeId:Kr,defaultTheme:Ez,defaultClassName:Tz.root,generateClassName:nw.generate});function Rz(e){return Qe("MuiButton",e)}const ci=Ke("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),Zw=g.createContext({}),Mz=g.createContext(void 0),Lz=e=>{const{color:t,disableElevation:n,fullWidth:o,size:s,variant:a,loading:l,loadingPosition:u,classes:f}=e,v={root:["root",l&&"loading",a,`${a}${ve(t)}`,`size${ve(s)}`,`${a}Size${ve(s)}`,`color${ve(t)}`,n&&"disableElevation",o&&"fullWidth",l&&`loadingPosition${ve(u)}`],startIcon:["icon","startIcon",`iconSize${ve(s)}`],endIcon:["icon","endIcon",`iconSize${ve(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},h=_e(v,Rz,f);return{...f,...h}},Gw=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Xz=fe(Si,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ve(n.color)}`],t[`size${ve(n.size)}`],t[`${n.variant}Size${ve(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(tt(({theme:e})=>{const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ci.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${ci.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${ci.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${ci.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(fn()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(e.vars||e).palette[o].main,"--variant-outlinedColor":(e.vars||e).palette[o].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[o].mainChannel} / 0.5)`:Pt(e.palette[o].main,.5),"--variant-containedColor":(e.vars||e).palette[o].contrastText,"--variant-containedBg":(e.vars||e).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[o].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[o].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[o].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[o].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ci.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ci.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${ci.loading}`]:{color:"transparent"}}}]}})),Nz=fe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${ve(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Gw]})),Bz=fe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${ve(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Gw]})),Vz=fe("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),Fb=fe("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),Rt=g.forwardRef(function(t,n){const o=g.useContext(Zw),s=g.useContext(Mz),a=za(o,t),l=nt({props:a,name:"MuiButton"}),{children:u,color:f="primary",component:v="button",className:h,disabled:y=!1,disableElevation:b=!1,disableFocusRipple:j=!1,endIcon:x,focusVisibleClassName:A,fullWidth:H=!1,id:S,loading:z=null,loadingIndicator:C,loadingPosition:O="center",size:D="medium",startIcon:T,type:R,variant:L="text",...M}=l,w=$r(S),N=C??p.jsx(Na,{"aria-labelledby":w,color:"inherit",size:16}),I={...l,color:f,component:v,disabled:y,disableElevation:b,disableFocusRipple:j,fullWidth:H,loading:z,loadingIndicator:N,loadingPosition:O,size:D,type:R,variant:L},W=Lz(I),ne=(T||z&&O==="start")&&p.jsx(Nz,{className:W.startIcon,ownerState:I,children:T||p.jsx(Fb,{className:W.loadingIconPlaceholder,ownerState:I})}),J=(x||z&&O==="end")&&p.jsx(Bz,{className:W.endIcon,ownerState:I,children:x||p.jsx(Fb,{className:W.loadingIconPlaceholder,ownerState:I})}),U=s||"",re=typeof z=="boolean"?p.jsx("span",{className:W.loadingWrapper,style:{display:"contents"},children:z&&p.jsx(Vz,{className:W.loadingIndicator,ownerState:I,children:N})}):null;return p.jsxs(Xz,{ownerState:I,className:ze(o.className,W.root,h,U),component:v,disabled:y||z,focusRipple:!j,focusVisibleClassName:ze(W.focusVisible,A),ref:n,type:R,id:z?w:S,...M,classes:W,children:[ne,O!=="end"&&re,u,O==="end"&&re,J]})});function Iz(e){return Qe("MuiCard",e)}Ke("MuiCard",["root"]);const Wz=e=>{const{classes:t}=e;return _e({root:["root"]},Iz,t)},Jz=fe(Mr,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})({overflow:"hidden"}),Uw=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCard"}),{className:s,raised:a=!1,...l}=o,u={...o,raised:a},f=Wz(u);return p.jsx(Jz,{className:ze(f.root,s),elevation:a?8:void 0,ref:n,ownerState:u,...l})});function Fz(e){return Qe("MuiCardContent",e)}Ke("MuiCardContent",["root"]);const Yz=e=>{const{classes:t}=e;return _e({root:["root"]},Fz,t)},qz=fe("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),_h=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCardContent"}),{className:s,component:a="div",...l}=o,u={...o,component:a},f=Yz(u);return p.jsx(qz,{as:a,className:ze(f.root,s),ownerState:u,ref:n,...l})});function Zz(e){return Qe("MuiCardMedia",e)}Ke("MuiCardMedia",["root","media","img"]);const Gz=e=>{const{classes:t,isMediaComponent:n,isImageComponent:o}=e;return _e({root:["root",n&&"media",o&&"img"]},Zz,t)},Uz=fe("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:o,isImageComponent:s}=n;return[t.root,o&&t.media,s&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),Qz=["video","audio","picture","iframe","img"],Kz=["picture","img"],_z=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCardMedia"}),{children:s,className:a,component:l="div",image:u,src:f,style:v,...h}=o,y=Qz.includes(l),b=!y&&u?{backgroundImage:`url("${u}")`,...v}:v,j={...o,component:l,isMediaComponent:y,isImageComponent:Kz.includes(l)},x=Gz(j);return p.jsx(Uz,{className:ze(x.root,a),as:l,role:!y&&u?"img":void 0,ref:n,style:b,ownerState:j,src:y?u||f:void 0,...h,children:s})});function $z(e){return Qe("PrivateSwitchBase",e)}Ke("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const eC=e=>{const{classes:t,checked:n,disabled:o,edge:s}=e,a={root:["root",n&&"checked",o&&"disabled",s&&`edge${ve(s)}`],input:["input"]};return _e(a,$z,t)},tC=fe(Si,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),nC=fe("input",{name:"MuiSwitchBase",shouldForwardProp:In})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),iy=g.forwardRef(function(t,n){const{autoFocus:o,checked:s,checkedIcon:a,defaultChecked:l,disabled:u,disableFocusRipple:f=!1,edge:v=!1,icon:h,id:y,inputProps:b,inputRef:j,name:x,onBlur:A,onChange:H,onFocus:S,readOnly:z,required:C=!1,tabIndex:O,type:D,value:T,slots:R={},slotProps:L={},...M}=t,[w,N]=Js({controlled:s,default:!!l,name:"SwitchBase",state:"checked"}),I=jo(),W=oe=>{S&&S(oe),I&&I.onFocus&&I.onFocus(oe)},ne=oe=>{A&&A(oe),I&&I.onBlur&&I.onBlur(oe)},J=oe=>{if(oe.nativeEvent.defaultPrevented)return;const le=oe.target.checked;N(le),H&&H(oe,le)};let U=u;I&&typeof U>"u"&&(U=I.disabled);const re=D==="checkbox"||D==="radio",K={...t,checked:w,disabled:U,disableFocusRipple:f,edge:v},Y=eC(K),E={slots:R,slotProps:{input:b,...L}},[q,X]=lt("root",{ref:n,elementType:tC,className:Y.root,shouldForwardComponentProp:!0,externalForwardedProps:{...E,component:"span",...M},getSlotProps:oe=>({...oe,onFocus:le=>{oe.onFocus?.(le),W(le)},onBlur:le=>{oe.onBlur?.(le),ne(le)}}),ownerState:K,additionalProps:{centerRipple:!0,focusRipple:!f,disabled:U,role:void 0,tabIndex:null}}),[_,te]=lt("input",{ref:j,elementType:nC,className:Y.input,externalForwardedProps:E,getSlotProps:oe=>({onChange:le=>{oe.onChange?.(le),J(le)}}),ownerState:K,additionalProps:{autoFocus:o,checked:s,defaultChecked:l,disabled:U,id:re?y:void 0,name:x,readOnly:z,required:C,tabIndex:O,type:D,...D==="checkbox"&&T===void 0?{}:{value:T}}});return p.jsxs(q,{...X,children:[p.jsx(_,{...te}),w?a:h]})}),rC=At(p.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),oC=At(p.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),sC=At(p.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function iC(e){return Qe("MuiCheckbox",e)}const ch=Ke("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),aC=e=>{const{classes:t,indeterminate:n,color:o,size:s}=e,a={root:["root",n&&"indeterminate",`color${ve(o)}`,`size${ve(s)}`]},l=_e(a,iC,t);return{...t,...l}},lC=fe(iy,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${ve(n.size)}`],n.color!=="default"&&t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{[`&.${ch.checked}, &.${ch.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${ch.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),cC=p.jsx(oC,{}),uC=p.jsx(rC,{}),fC=p.jsx(sC,{}),Yb=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiCheckbox"}),{checkedIcon:s=cC,color:a="primary",icon:l=uC,indeterminate:u=!1,indeterminateIcon:f=fC,inputProps:v,size:h="medium",disableRipple:y=!1,className:b,slots:j={},slotProps:x={},...A}=o,H=u?f:l,S=u?f:s,z={...o,disableRipple:y,color:a,indeterminate:u,size:h},C=aC(z),O=x.input??v,[D,T]=lt("root",{ref:n,elementType:lC,className:ze(C.root,b),shouldForwardComponentProp:!0,externalForwardedProps:{slots:j,slotProps:x,...A},ownerState:z,additionalProps:{type:"checkbox",icon:g.cloneElement(H,{fontSize:H.props.fontSize??h}),checkedIcon:g.cloneElement(S,{fontSize:S.props.fontSize??h}),disableRipple:y,slots:j,slotProps:{input:Zm(typeof O=="function"?O(z):O,{"data-indeterminate":u})}}});return p.jsx(D,{...T,classes:C})});function qb(e){return e.substring(2).toLowerCase()}function dC(e,t){return t.documentElement.clientWidth(setTimeout(()=>{f.current=!0},0),()=>{f.current=!1}),[]);const h=ln(Zs(t),u),y=$n(x=>{const A=v.current;v.current=!1;const H=er(u.current);if(!f.current||!u.current||"clientX"in x&&dC(x,H))return;if(l.current){l.current=!1;return}let S;x.composedPath?S=x.composedPath().includes(u.current):S=!H.documentElement.contains(x.target)||u.current.contains(x.target),!S&&(n||!A)&&s(x)}),b=x=>A=>{v.current=!0;const H=t.props[x];H&&H(A)},j={ref:h};return a!==!1&&(j[a]=b(a)),g.useEffect(()=>{if(a!==!1){const x=qb(a),A=er(u.current),H=()=>{l.current=!0};return A.addEventListener(x,y),A.addEventListener("touchmove",H),()=>{A.removeEventListener(x,y),A.removeEventListener("touchmove",H)}}},[y,a]),o!==!1&&(j[o]=b(o)),g.useEffect(()=>{if(o!==!1){const x=qb(o),A=er(u.current);return A.addEventListener(x,y),()=>{A.removeEventListener(x,y)}}},[y,o]),g.cloneElement(t,j)}const $h=typeof qm({})=="function",pC=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),vC=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Kw=(e,t=!1)=>{const n={};t&&e.colorSchemes&&typeof e.getColorSchemeSelector=="function"&&Object.entries(e.colorSchemes).forEach(([a,l])=>{const u=e.getColorSchemeSelector(a);u.startsWith("@")?n[u]={":root":{colorScheme:l.palette?.mode}}:n[u.replace(/\s*&/,"")]={colorScheme:l.palette?.mode}});let o={html:pC(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...vC(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const s=e.components?.MuiCssBaseline?.styleOverrides;return s&&(o=[o,s]),o},Rf="mui-ecs",hC=e=>{const t=Kw(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Rf})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,s])=>{const a=e.getColorSchemeSelector(o);a.startsWith("@")?n[a]={[`:root:not(:has(.${Rf}))`]:{colorScheme:s.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Rf}))`]:{colorScheme:s.palette?.mode}}}),t},mC=qm($h?({theme:e,enableColorScheme:t})=>Kw(e,t):({theme:e})=>hC(e));function yC(e){const t=nt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:o=!1}=t;return p.jsxs(g.Fragment,{children:[$h&&p.jsx(mC,{enableColorScheme:o}),!$h&&!o&&p.jsx("span",{className:Rf,style:{display:"none"}}),n]})}function gC(e){const t=er(e);return t.body===e?bo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ac(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Zb(e){return parseInt(bo(e).getComputedStyle(e).paddingRight,10)||0}function AC(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),o=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||o}function Gb(e,t,n,o,s){const a=[t,n,...o];[].forEach.call(e.children,l=>{const u=!a.includes(l),f=!AC(l);u&&f&&ac(l,s)})}function uh(e,t){let n=-1;return e.some((o,s)=>t(o)?(n=s,!0):!1),n}function PC(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(gC(o)){const l=vw(bo(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${Zb(o)+l}px`;const u=er(o).querySelectorAll(".mui-fixed");[].forEach.call(u,f=>{n.push({value:f.style.paddingRight,property:"padding-right",el:f}),f.style.paddingRight=`${Zb(f)+l}px`})}let a;if(o.parentNode instanceof DocumentFragment)a=er(o).body;else{const l=o.parentElement,u=bo(o);a=l?.nodeName==="HTML"&&u.getComputedStyle(l).overflowY==="scroll"?l:o}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:l,property:u})=>{a?l.style.setProperty(u,a):l.style.removeProperty(u)})}}function bC(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class xC{constructor(){this.modals=[],this.containers=[]}add(t,n){let o=this.modals.indexOf(t);if(o!==-1)return o;o=this.modals.length,this.modals.push(t),t.modalRef&&ac(t.modalRef,!1);const s=bC(n);Gb(n,t.mount,t.modalRef,s,!0);const a=uh(this.containers,l=>l.container===n);return a!==-1?(this.containers[a].modals.push(t),o):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),o)}mount(t,n){const o=uh(this.containers,a=>a.modals.includes(t)),s=this.containers[o];s.restore||(s.restore=PC(s,n))}remove(t,n=!0){const o=this.modals.indexOf(t);if(o===-1)return o;const s=uh(this.containers,l=>l.modals.includes(t)),a=this.containers[s];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(o,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&ac(t.modalRef,n),Gb(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(s,1);else{const l=a.modals[a.modals.length-1];l.modalRef&&ac(l.modalRef,!1)}return o}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const wC=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function HC(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function jC(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=o=>e.ownerDocument.querySelector(`input[type="radio"]${o}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function SC(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||jC(e))}function zC(e){const t=[],n=[];return Array.from(e.querySelectorAll(wC)).forEach((o,s)=>{const a=HC(o);a===-1||!SC(o)||(a===0?t.push(o):n.push({documentOrder:s,tabIndex:a,node:o}))}),n.sort((o,s)=>o.tabIndex===s.tabIndex?o.documentOrder-s.documentOrder:o.tabIndex-s.tabIndex).map(o=>o.node).concat(t)}function CC(){return!0}function OC(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:s=!1,getTabbable:a=zC,isEnabled:l=CC,open:u}=e,f=g.useRef(!1),v=g.useRef(null),h=g.useRef(null),y=g.useRef(null),b=g.useRef(null),j=g.useRef(!1),x=g.useRef(null),A=ln(Zs(t),x),H=g.useRef(null);g.useEffect(()=>{!u||!x.current||(j.current=!n)},[n,u]),g.useEffect(()=>{if(!u||!x.current)return;const C=er(x.current);return x.current.contains(C.activeElement)||(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),j.current&&x.current.focus()),()=>{s||(y.current&&y.current.focus&&(f.current=!0,y.current.focus()),y.current=null)}},[u]),g.useEffect(()=>{if(!u||!x.current)return;const C=er(x.current),O=R=>{H.current=R,!(o||!l()||R.key!=="Tab")&&C.activeElement===x.current&&R.shiftKey&&(f.current=!0,h.current&&h.current.focus())},D=()=>{const R=x.current;if(R===null)return;if(!C.hasFocus()||!l()||f.current){f.current=!1;return}if(R.contains(C.activeElement)||o&&C.activeElement!==v.current&&C.activeElement!==h.current)return;if(C.activeElement!==b.current)b.current=null;else if(b.current!==null)return;if(!j.current)return;let L=[];if((C.activeElement===v.current||C.activeElement===h.current)&&(L=a(x.current)),L.length>0){const M=!!(H.current?.shiftKey&&H.current?.key==="Tab"),w=L[0],N=L[L.length-1];typeof w!="string"&&typeof N!="string"&&(M?N.focus():w.focus())}else R.focus()};C.addEventListener("focusin",D),C.addEventListener("keydown",O,!0);const T=setInterval(()=>{C.activeElement&&C.activeElement.tagName==="BODY"&&D()},50);return()=>{clearInterval(T),C.removeEventListener("focusin",D),C.removeEventListener("keydown",O,!0)}},[n,o,s,l,u,a]);const S=C=>{y.current===null&&(y.current=C.relatedTarget),j.current=!0,b.current=C.target;const O=t.props.onFocus;O&&O(C)},z=C=>{y.current===null&&(y.current=C.relatedTarget),j.current=!0};return p.jsxs(g.Fragment,{children:[p.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:v,"data-testid":"sentinelStart"}),g.cloneElement(t,{ref:A,onFocus:S}),p.jsx("div",{tabIndex:u?0:-1,onFocus:z,ref:h,"data-testid":"sentinelEnd"})]})}function DC(e){return typeof e=="function"?e():e}function kC(e){return e?e.props.hasOwnProperty("in"):!1}const Ub=()=>{},pf=new xC;function TC(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:l,children:u,onClose:f,open:v,rootRef:h}=e,y=g.useRef({}),b=g.useRef(null),j=g.useRef(null),x=ln(j,h),[A,H]=g.useState(!v),S=kC(u);let z=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(z=!1);const C=()=>er(b.current),O=()=>(y.current.modalRef=j.current,y.current.mount=b.current,y.current),D=()=>{pf.mount(O(),{disableScrollLock:o}),j.current&&(j.current.scrollTop=0)},T=$n(()=>{const J=DC(t)||C().body;pf.add(O(),J),j.current&&D()}),R=()=>pf.isTopModal(O()),L=$n(J=>{b.current=J,J&&(v&&R()?D():j.current&&ac(j.current,z))}),M=g.useCallback(()=>{pf.remove(O(),z)},[z]);g.useEffect(()=>()=>{M()},[M]),g.useEffect(()=>{v?T():(!S||!s)&&M()},[v,M,S,s,T]);const w=J=>U=>{J.onKeyDown?.(U),!(U.key!=="Escape"||U.which===229||!R())&&(n||(U.stopPropagation(),f&&f(U,"escapeKeyDown")))},N=J=>U=>{J.onClick?.(U),U.target===U.currentTarget&&f&&f(U,"backdropClick")};return{getRootProps:(J={})=>{const U=Uf(e);delete U.onTransitionEnter,delete U.onTransitionExited;const re={...U,...J};return{role:"presentation",...re,onKeyDown:w(re),ref:x}},getBackdropProps:(J={})=>{const U=J;return{"aria-hidden":!0,...U,onClick:N(U),open:v}},getTransitionProps:()=>{const J=()=>{H(!1),a&&a()},U=()=>{H(!0),l&&l(),s&&M()};return{onEnter:Nh(J,u?.props.onEnter??Ub),onExited:Nh(U,u?.props.onExited??Ub)}},rootRef:x,portalRef:L,isTopModal:R,exited:A,hasTransition:S}}function EC(e){return Qe("MuiModal",e)}Ke("MuiModal",["root","hidden","backdrop"]);const RC=e=>{const{open:t,exited:n,classes:o}=e;return _e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},EC,o)},MC=fe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(tt(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),LC=fe(qw,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ay=g.forwardRef(function(t,n){const o=nt({name:"MuiModal",props:t}),{BackdropComponent:s=LC,BackdropProps:a,classes:l,className:u,closeAfterTransition:f=!1,children:v,container:h,component:y,components:b={},componentsProps:j={},disableAutoFocus:x=!1,disableEnforceFocus:A=!1,disableEscapeKeyDown:H=!1,disablePortal:S=!1,disableRestoreFocus:z=!1,disableScrollLock:C=!1,hideBackdrop:O=!1,keepMounted:D=!1,onBackdropClick:T,onClose:R,onTransitionEnter:L,onTransitionExited:M,open:w,slotProps:N={},slots:I={},theme:W,...ne}=o,J={...o,closeAfterTransition:f,disableAutoFocus:x,disableEnforceFocus:A,disableEscapeKeyDown:H,disablePortal:S,disableRestoreFocus:z,disableScrollLock:C,hideBackdrop:O,keepMounted:D},{getRootProps:U,getBackdropProps:re,getTransitionProps:K,portalRef:Y,isTopModal:E,exited:q,hasTransition:X}=TC({...J,rootRef:n}),_={...J,exited:q},te=RC(_),oe={};if(v.props.tabIndex===void 0&&(oe.tabIndex="-1"),X){const{onEnter:Le,onExited:Ae}=K();oe.onEnter=Le,oe.onExited=Ae}const le={slots:{root:b.Root,backdrop:b.Backdrop,...I},slotProps:{...j,...N}},[be,ie]=lt("root",{ref:n,elementType:MC,externalForwardedProps:{...le,...ne,component:y},getSlotProps:U,ownerState:_,className:ze(u,te?.root,!_.open&&_.exited&&te?.hidden)}),[xe,Oe]=lt("backdrop",{ref:a?.ref,elementType:s,externalForwardedProps:le,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:Le=>re({...Le,onClick:Ae=>{T&&T(Ae),Le?.onClick&&Le.onClick(Ae)}}),className:ze(a?.className,te?.backdrop),ownerState:_});return!D&&!w&&(!X||q)?null:p.jsx(Fw,{ref:Y,container:h,disablePortal:S,children:p.jsxs(be,{...ie,children:[!O&&s?p.jsx(xe,{...Oe}):null,p.jsx(OC,{disableEnforceFocus:A,disableAutoFocus:x,disableRestoreFocus:z,isEnabled:E,open:w,children:g.cloneElement(v,oe)})]})})});function XC(e){return Qe("MuiDialog",e)}const fh=Ke("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),_w=g.createContext({}),NC=fe(qw,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),BC=e=>{const{classes:t,scroll:n,maxWidth:o,fullWidth:s,fullScreen:a}=e,l={root:["root"],container:["container",`scroll${ve(n)}`],paper:["paper",`paperScroll${ve(n)}`,`paperWidth${ve(String(o))}`,s&&"paperFullWidth",a&&"paperFullScreen"]};return _e(l,XC,t)},VC=fe(ay,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),IC=fe("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${ve(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),WC=fe(Mr,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${ve(n.scroll)}`],t[`paperWidth${ve(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(tt(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:t})=>!t.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${fh.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(t=>t!=="xs").map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${fh.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:t})=>t.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:t})=>t.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${fh.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Pa=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDialog"}),s=Xr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":u,"aria-modal":f=!0,BackdropComponent:v,BackdropProps:h,children:y,className:b,disableEscapeKeyDown:j=!1,fullScreen:x=!1,fullWidth:A=!1,maxWidth:H="sm",onBackdropClick:S,onClick:z,onClose:C,open:O,PaperComponent:D=Mr,PaperProps:T={},scroll:R="paper",slots:L={},slotProps:M={},TransitionComponent:w=Kh,transitionDuration:N=a,TransitionProps:I,...W}=o,ne={...o,disableEscapeKeyDown:j,fullScreen:x,fullWidth:A,maxWidth:H,scroll:R},J=BC(ne),U=g.useRef(),re=ye=>{U.current=ye.target===ye.currentTarget},K=ye=>{z&&z(ye),U.current&&(U.current=null,S&&S(ye),C&&C(ye,"backdropClick"))},Y=$r(u),E=g.useMemo(()=>({titleId:Y}),[Y]),q={transition:w,...L},X={transition:I,paper:T,backdrop:h,...M},_={slots:q,slotProps:X},[te,oe]=lt("root",{elementType:VC,shouldForwardComponentProp:!0,externalForwardedProps:_,ownerState:ne,className:ze(J.root,b),ref:n}),[le,be]=lt("backdrop",{elementType:NC,shouldForwardComponentProp:!0,externalForwardedProps:_,ownerState:ne}),[ie,xe]=lt("paper",{elementType:WC,shouldForwardComponentProp:!0,externalForwardedProps:_,ownerState:ne,className:ze(J.paper,T.className)}),[Oe,Le]=lt("container",{elementType:IC,externalForwardedProps:_,ownerState:ne,className:ze(J.container)}),[Ae,Ye]=lt("transition",{elementType:Kh,externalForwardedProps:_,ownerState:ne,additionalProps:{appear:!0,in:O,timeout:N,role:"presentation"}});return p.jsx(te,{closeAfterTransition:!0,slots:{backdrop:le},slotProps:{backdrop:{transitionDuration:N,as:v,...be}},disableEscapeKeyDown:j,onClose:C,open:O,onClick:K,...oe,...W,children:p.jsx(Ae,{...Ye,children:p.jsx(Oe,{onMouseDown:re,...Le,children:p.jsx(ie,{as:D,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":Y,"aria-modal":f,...xe,children:p.jsx(_w.Provider,{value:E,children:y})})})})})});function JC(e){return Qe("MuiDialogActions",e)}Ke("MuiDialogActions",["root","spacing"]);const FC=e=>{const{classes:t,disableSpacing:n}=e;return _e({root:["root",!n&&"spacing"]},JC,t)},YC=fe("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),qC=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:a=!1,...l}=o,u={...o,disableSpacing:a},f=FC(u);return p.jsx(YC,{className:ze(f.root,s),ownerState:u,ref:n,...l})});function ZC(e){return Qe("MuiDialogContent",e)}Ke("MuiDialogContent",["root","dividers"]);function GC(e){return Qe("MuiDialogTitle",e)}const UC=Ke("MuiDialogTitle",["root"]),QC=e=>{const{classes:t,dividers:n}=e;return _e({root:["root",n&&"dividers"]},ZC,t)},KC=fe("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(tt(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:t})=>t.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>!t.dividers,style:{[`.${UC.root} + &`]:{paddingTop:0}}}]}))),Kl=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDialogContent"}),{className:s,dividers:a=!1,...l}=o,u={...o,dividers:a},f=QC(u);return p.jsx(KC,{className:ze(f.root,s),ownerState:u,ref:n,...l})}),_C=e=>{const{classes:t}=e;return _e({root:["root"]},GC,t)},$C=fe(wt,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),_l=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDialogTitle"}),{className:s,id:a,...l}=o,u=o,f=_C(u),{titleId:v=a}=g.useContext(_w);return p.jsx($C,{component:"h2",className:ze(f.root,s),ownerState:u,ref:n,variant:"h6",id:a??v,...l})});function eO(e){return Qe("MuiDivider",e)}const Qb=Ke("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),tO=e=>{const{absolute:t,children:n,classes:o,flexItem:s,light:a,orientation:l,textAlign:u,variant:f}=e;return _e({root:["root",t&&"absolute",f,a&&"light",l==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&l==="vertical"&&"withChildrenVertical",u==="right"&&l!=="vertical"&&"textAlignRight",u==="left"&&l!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",l==="vertical"&&"wrapperVertical"]},eO,o)},nO=fe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(tt(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Pt(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:t})=>!!t.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:t})=>t.children&&t.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:t})=>t.orientation==="vertical"&&t.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:t})=>t.textAlign==="right"&&t.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:t})=>t.textAlign==="left"&&t.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),rO=fe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(tt(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Ci=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDivider"}),{absolute:s=!1,children:a,className:l,orientation:u="horizontal",component:f=a||u==="vertical"?"div":"hr",flexItem:v=!1,light:h=!1,role:y=f!=="hr"?"separator":void 0,textAlign:b="center",variant:j="fullWidth",...x}=o,A={...o,absolute:s,component:f,flexItem:v,light:h,orientation:u,role:y,textAlign:b,variant:j},H=tO(A);return p.jsx(nO,{as:f,className:ze(H.root,l),role:y,ref:n,ownerState:A,"aria-orientation":y==="separator"&&(f!=="hr"||u==="vertical")?u:void 0,...x,children:a?p.jsx(rO,{className:H.wrapper,ownerState:A,children:a}):null})});Ci&&(Ci.muiSkipListHighlight=!0);function oO(e,t,n){const o=t.getBoundingClientRect(),s=n&&n.getBoundingClientRect(),a=bo(t);let l;if(t.fakeTransform)l=t.fakeTransform;else{const v=a.getComputedStyle(t);l=v.getPropertyValue("-webkit-transform")||v.getPropertyValue("transform")}let u=0,f=0;if(l&&l!=="none"&&typeof l=="string"){const v=l.split("(")[1].split(")")[0].split(",");u=parseInt(v[4],10),f=parseInt(v[5],10)}return e==="left"?s?`translateX(${s.right+u-o.left}px)`:`translateX(${a.innerWidth+u-o.left}px)`:e==="right"?s?`translateX(-${o.right-s.left-u}px)`:`translateX(-${o.left+o.width-u}px)`:e==="up"?s?`translateY(${s.bottom+f-o.top}px)`:`translateY(${a.innerHeight+f-o.top}px)`:s?`translateY(-${o.top-s.top+o.height-f}px)`:`translateY(-${o.top+o.height-f}px)`}function sO(e){return typeof e=="function"?e():e}function vf(e,t,n){const o=sO(n),s=oO(e,t,o);s&&(t.style.webkitTransform=s,t.style.transform=s)}const iO=g.forwardRef(function(t,n){const o=Xr(),s={enter:o.transitions.easing.easeOut,exit:o.transitions.easing.sharp},a={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:l,appear:u=!0,children:f,container:v,direction:h="down",easing:y=s,in:b,onEnter:j,onEntered:x,onEntering:A,onExit:H,onExited:S,onExiting:z,style:C,timeout:O=a,TransitionComponent:D=Ho,...T}=t,R=g.useRef(null),L=ln(Zs(f),R,n),M=K=>Y=>{K&&(Y===void 0?K(R.current):K(R.current,Y))},w=M((K,Y)=>{vf(h,K,v),Km(K),j&&j(K,Y)}),N=M((K,Y)=>{const E=Oa({timeout:O,style:C,easing:y},{mode:"enter"});K.style.webkitTransition=o.transitions.create("-webkit-transform",{...E}),K.style.transition=o.transitions.create("transform",{...E}),K.style.webkitTransform="none",K.style.transform="none",A&&A(K,Y)}),I=M(x),W=M(z),ne=M(K=>{const Y=Oa({timeout:O,style:C,easing:y},{mode:"exit"});K.style.webkitTransition=o.transitions.create("-webkit-transform",Y),K.style.transition=o.transitions.create("transform",Y),vf(h,K,v),H&&H(K)}),J=M(K=>{K.style.webkitTransition="",K.style.transition="",S&&S(K)}),U=K=>{l&&l(R.current,K)},re=g.useCallback(()=>{R.current&&vf(h,R.current,v)},[h,v]);return g.useEffect(()=>{if(b||h==="down"||h==="right")return;const K=Im(()=>{R.current&&vf(h,R.current,v)}),Y=bo(R.current);return Y.addEventListener("resize",K),()=>{K.clear(),Y.removeEventListener("resize",K)}},[h,b,v]),g.useEffect(()=>{b||re()},[b,re]),p.jsx(D,{nodeRef:R,onEnter:w,onEntered:I,onEntering:N,onExit:ne,onExited:J,onExiting:W,addEndListener:U,appear:u,in:b,timeout:O,...T,children:(K,{ownerState:Y,...E})=>g.cloneElement(f,{ref:L,style:{visibility:K==="exited"&&!b?"hidden":void 0,...C,...f.props.style},...E})})});function aO(e){return Qe("MuiDrawer",e)}Ke("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const $w=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},lO=e=>{const{classes:t,anchor:n,variant:o}=e,s={root:["root",`anchor${ve(n)}`],docked:[(o==="permanent"||o==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${ve(n)}`,o!=="temporary"&&`paperAnchorDocked${ve(n)}`]};return _e(s,aO,t)},cO=fe(ay,{name:"MuiDrawer",slot:"Root",overridesResolver:$w})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),uO=fe("div",{shouldForwardProp:In,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:$w})({flex:"0 0 auto"}),fO=fe(Mr,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${ve(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${ve(n.anchor)}`]]}})(tt(({theme:e})=>({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:t})=>t.anchor==="left"&&t.variant!=="temporary",style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="top"&&t.variant!=="temporary",style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="right"&&t.variant!=="temporary",style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:t})=>t.anchor==="bottom"&&t.variant!=="temporary",style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]}))),e1={left:"right",right:"left",top:"down",bottom:"up"};function dO(e){return["left","right"].includes(e)}function pO({direction:e},t){return e==="rtl"&&dO(t)?e1[t]:t}const vO=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiDrawer"}),s=Xr(),a=Mc(),l={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:f,children:v,className:h,elevation:y=16,hideBackdrop:b=!1,ModalProps:{BackdropProps:j,...x}={},onClose:A,open:H=!1,PaperProps:S={},SlideProps:z,TransitionComponent:C,transitionDuration:O=l,variant:D="temporary",slots:T={},slotProps:R={},...L}=o,M=g.useRef(!1);g.useEffect(()=>{M.current=!0},[]);const w=pO({direction:a?"rtl":"ltr"},u),I={...o,anchor:u,elevation:y,open:H,variant:D,...L},W=lO(I),ne={slots:{transition:C,...T},slotProps:{paper:S,transition:z,...R,backdrop:Zm(R.backdrop||{...f,...j},{transitionDuration:O})}},[J,U]=lt("root",{ref:n,elementType:cO,className:ze(W.root,W.modal,h),shouldForwardComponentProp:!0,ownerState:I,externalForwardedProps:{...ne,...L,...x},additionalProps:{open:H,onClose:A,hideBackdrop:b,slots:{backdrop:ne.slots.backdrop},slotProps:{backdrop:ne.slotProps.backdrop}}}),[re,K]=lt("paper",{elementType:fO,shouldForwardComponentProp:!0,className:ze(W.paper,S.className),ownerState:I,externalForwardedProps:ne,additionalProps:{elevation:D==="temporary"?y:0,square:!0}}),[Y,E]=lt("docked",{elementType:uO,ref:n,className:ze(W.root,W.docked,h),ownerState:I,externalForwardedProps:ne,additionalProps:L}),[q,X]=lt("transition",{elementType:iO,ownerState:I,externalForwardedProps:ne,additionalProps:{in:H,direction:e1[w],timeout:O,appear:M.current}}),_=p.jsx(re,{...K,children:v});if(D==="permanent")return p.jsx(Y,{...E,children:_});const te=p.jsx(q,{...X,children:_});return D==="persistent"?p.jsx(Y,{...E,children:te}):p.jsx(J,{...U,children:te})}),hO=e=>{const{classes:t,disableUnderline:n,startAdornment:o,endAdornment:s,size:a,hiddenLabel:l,multiline:u}=e,f={root:["root",!n&&"underline",o&&"adornedStart",s&&"adornedEnd",a==="small"&&`size${ve(a)}`,l&&"hiddenLabel",u&&"multiline"],input:["input"]},v=_e(f,pz,t);return{...t,...v}},mO=fe(Xd,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Md(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",o=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",a=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o}},[`&.${kr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:o},[`&.${kr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:a},variants:[{props:({ownerState:l})=>!l.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${kr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${kr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${kr.disabled}, .${kr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${kr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(fn()).map(([l])=>({props:{disableUnderline:!1,color:l},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[l]?.main}`}}})),{props:({ownerState:l})=>l.startAdornment,style:{paddingLeft:12}},{props:({ownerState:l})=>l.endAdornment,style:{paddingRight:12}},{props:({ownerState:l})=>l.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:l,size:u})=>l.multiline&&u==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:l})=>l.multiline&&l.hiddenLabel&&l.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),yO=fe(Nd,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ld})(tt(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),ly=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFilledInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,hiddenLabel:f,inputComponent:v="input",multiline:h=!1,slotProps:y,slots:b={},type:j="text",...x}=o,A={...o,disableUnderline:s,fullWidth:u,inputComponent:v,multiline:h,type:j},H=hO(o),S={root:{ownerState:A},input:{ownerState:A}},z=y??l?Vn(S,y??l):S,C=b.root??a.Root??mO,O=b.input??a.Input??yO;return p.jsx(Bd,{slots:{root:C,input:O},slotProps:z,fullWidth:u,inputComponent:v,multiline:h,ref:n,type:j,...x,classes:H})});ly.muiName="Input";function gO(e){return Qe("MuiFormControl",e)}Ke("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const AO=e=>{const{classes:t,margin:n,fullWidth:o}=e,s={root:["root",n!=="none"&&`margin${ve(n)}`,o&&"fullWidth"]};return _e(s,gO,t)},PO=fe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${ve(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),rr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormControl"}),{children:s,className:a,color:l="primary",component:u="div",disabled:f=!1,error:v=!1,focused:h,fullWidth:y=!1,hiddenLabel:b=!1,margin:j="none",required:x=!1,size:A="medium",variant:H="outlined",...S}=o,z={...o,color:l,component:u,disabled:f,error:v,fullWidth:y,hiddenLabel:b,margin:j,required:x,size:A,variant:H},C=AO(z),[O,D]=g.useState(()=>{let J=!1;return s&&g.Children.forEach(s,U=>{if(!Tf(U,["Input","Select"]))return;const re=Tf(U,["Select"])?U.props.input:U;re&&lz(re.props)&&(J=!0)}),J}),[T,R]=g.useState(()=>{let J=!1;return s&&g.Children.forEach(s,U=>{Tf(U,["Input","Select"])&&(ed(U.props,!0)||ed(U.props.inputProps,!0))&&(J=!0)}),J}),[L,M]=g.useState(!1);f&&L&&M(!1);const w=h!==void 0&&!f?h:L;let N;g.useRef(!1);const I=g.useCallback(()=>{R(!0)},[]),W=g.useCallback(()=>{R(!1)},[]),ne=g.useMemo(()=>({adornedStart:O,setAdornedStart:D,color:l,disabled:f,error:v,filled:T,focused:w,fullWidth:y,hiddenLabel:b,size:A,onBlur:()=>{M(!1)},onFocus:()=>{M(!0)},onEmpty:W,onFilled:I,registerEffect:N,required:x,variant:H}),[O,l,f,v,T,w,y,b,N,W,I,x,A,H]);return p.jsx(Rd.Provider,{value:ne,children:p.jsx(PO,{as:u,ownerState:z,className:ze(C.root,a),ref:n,...S,children:s})})});function bO(e){return Qe("MuiFormControlLabel",e)}const $l=Ke("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),xO=e=>{const{classes:t,disabled:n,labelPlacement:o,error:s,required:a}=e,l={root:["root",n&&"disabled",`labelPlacement${ve(o)}`,s&&"error",a&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",s&&"error"]};return _e(l,bO,t)},wO=fe("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${$l.label}`]:t.label},t.root,t[`labelPlacement${ve(n.labelPlacement)}`]]}})(tt(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${$l.disabled}`]:{cursor:"default"},[`& .${$l.label}`]:{[`&.${$l.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:t})=>t==="start"||t==="top"||t==="bottom",style:{marginLeft:16}}]}))),HO=fe("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${$l.error}`]:{color:(e.vars||e).palette.error.main}}))),cs=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormControlLabel"}),{checked:s,className:a,componentsProps:l={},control:u,disabled:f,disableTypography:v,inputRef:h,label:y,labelPlacement:b="end",name:j,onChange:x,required:A,slots:H={},slotProps:S={},value:z,...C}=o,O=jo(),D=f??u.props.disabled??O?.disabled,T=A??u.props.required,R={disabled:D,required:T};["checked","name","onChange","value","inputRef"].forEach(J=>{typeof u.props[J]>"u"&&typeof o[J]<"u"&&(R[J]=o[J])});const L=Us({props:o,muiFormControl:O,states:["error"]}),M={...o,disabled:D,labelPlacement:b,required:T,error:L.error},w=xO(M),N={slots:H,slotProps:{...l,...S}},[I,W]=lt("typography",{elementType:wt,externalForwardedProps:N,ownerState:M});let ne=y;return ne!=null&&ne.type!==wt&&!v&&(ne=p.jsx(I,{component:"span",...W,className:ze(w.label,W?.className),children:ne})),p.jsxs(wO,{className:ze(w.root,a),ownerState:M,ref:n,...C,children:[g.cloneElement(u,R),T?p.jsxs("div",{children:[ne,p.jsxs(HO,{ownerState:M,"aria-hidden":!0,className:w.asterisk,children:[" ","*"]})]}):ne]})});function jO(e){return Qe("MuiFormGroup",e)}Ke("MuiFormGroup",["root","row","error"]);const SO=e=>{const{classes:t,row:n,error:o}=e;return _e({root:["root",n&&"row",o&&"error"]},jO,t)},zO=fe("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),CO=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormGroup"}),{className:s,row:a=!1,...l}=o,u=jo(),f=Us({props:o,muiFormControl:u,states:["error"]}),v={...o,row:a,error:f.error},h=SO(v);return p.jsx(zO,{className:ze(h.root,s),ownerState:v,ref:n,...l})});function OO(e){return Qe("MuiFormHelperText",e)}const Kb=Ke("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var _b;const DO=e=>{const{classes:t,contained:n,size:o,disabled:s,error:a,filled:l,focused:u,required:f}=e,v={root:["root",s&&"disabled",a&&"error",o&&`size${ve(o)}`,n&&"contained",u&&"focused",l&&"filled",f&&"required"]};return _e(v,OO,t)},kO=fe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ve(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Kb.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Kb.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),ya=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormHelperText"}),{children:s,className:a,component:l="p",disabled:u,error:f,filled:v,focused:h,margin:y,required:b,variant:j,...x}=o,A=jo(),H=Us({props:o,muiFormControl:A,states:["variant","size","disabled","error","filled","focused","required"]}),S={...o,component:l,contained:H.variant==="filled"||H.variant==="outlined",variant:H.variant,size:H.size,disabled:H.disabled,error:H.error,filled:H.filled,focused:H.focused,required:H.required};delete S.ownerState;const z=DO(S);return p.jsx(kO,{as:l,className:ze(z.root,a),ref:n,...x,ownerState:S,children:s===" "?_b||(_b=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):s})});function TO(e){return Qe("MuiFormLabel",e)}const lc=Ke("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),EO=e=>{const{classes:t,color:n,focused:o,disabled:s,error:a,filled:l,required:u}=e,f={root:["root",`color${ve(n)}`,s&&"disabled",a&&"error",l&&"filled",o&&"focused",u&&"required"],asterisk:["asterisk",a&&"error"]};return _e(f,TO,t)},RO=fe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color==="secondary"&&t.colorSecondary,n.filled&&t.filled]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t},style:{[`&.${lc.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${lc.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${lc.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),MO=fe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(tt(({theme:e})=>({[`&.${lc.error}`]:{color:(e.vars||e).palette.error.main}}))),Mf=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiFormLabel"}),{children:s,className:a,color:l,component:u="label",disabled:f,error:v,filled:h,focused:y,required:b,...j}=o,x=jo(),A=Us({props:o,muiFormControl:x,states:["color","required","focused","disabled","error","filled"]}),H={...o,color:A.color||"primary",component:u,disabled:A.disabled,error:A.error,filled:A.filled,focused:A.focused,required:A.required},S=EO(H);return p.jsxs(RO,{as:u,ownerState:H,className:ze(S.root,a),ref:n,...j,children:[s,A.required&&p.jsxs(MO,{ownerState:H,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]})}),$b=g.createContext();function LO(e){return Qe("MuiGrid",e)}const XO=[0,1,2,3,4,5,6,7,8,9,10],NO=["column-reverse","column","row-reverse","row"],BO=["nowrap","wrap-reverse","wrap"],kl=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Pc=Ke("MuiGrid",["root","container","item","zeroMinWidth",...XO.map(e=>`spacing-xs-${e}`),...NO.map(e=>`direction-xs-${e}`),...BO.map(e=>`wrap-xs-${e}`),...kl.map(e=>`grid-xs-${e}`),...kl.map(e=>`grid-sm-${e}`),...kl.map(e=>`grid-md-${e}`),...kl.map(e=>`grid-lg-${e}`),...kl.map(e=>`grid-xl-${e}`)]);function VO({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((o,s)=>{let a={};if(t[s]&&(n=t[s]),!n)return o;if(n===!0)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const l=Pi({values:t.columns,breakpoints:e.breakpoints.values}),u=typeof l=="object"?l[s]:l;if(u==null)return o;const f=`${Math.round(n/u*1e8)/1e6}%`;let v={};if(t.container&&t.item&&t.columnSpacing!==0){const h=e.spacing(t.columnSpacing);if(h!=="0px"){const y=`calc(${f} + ${h})`;v={flexBasis:y,maxWidth:y}}}a={flexBasis:f,flexGrow:0,maxWidth:f,...v}}return e.breakpoints.values[s]===0?Object.assign(o,a):o[e.breakpoints.up(s)]=a,o},{})}function IO({theme:e,ownerState:t}){const n=Pi({values:t.direction,breakpoints:e.breakpoints.values});return br({theme:e},n,o=>{const s={flexDirection:o};return o.startsWith("column")&&(s[`& > .${Pc.item}`]={maxWidth:"none"}),s})}function t1({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const o=Object.keys(e).sort((s,a)=>e[s]-e[a]);return o.slice(0,o.indexOf(n))}function WO({theme:e,ownerState:t}){const{container:n,rowSpacing:o}=t;let s={};if(n&&o!==0){const a=Pi({values:o,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=t1({breakpoints:e.breakpoints.values,values:a})),s=br({theme:e},a,(u,f)=>{const v=e.spacing(u);return v!=="0px"?{marginTop:`calc(-1 * ${v})`,[`& > .${Pc.item}`]:{paddingTop:v}}:l?.includes(f)?{}:{marginTop:0,[`& > .${Pc.item}`]:{paddingTop:0}}})}return s}function JO({theme:e,ownerState:t}){const{container:n,columnSpacing:o}=t;let s={};if(n&&o!==0){const a=Pi({values:o,breakpoints:e.breakpoints.values});let l;typeof a=="object"&&(l=t1({breakpoints:e.breakpoints.values,values:a})),s=br({theme:e},a,(u,f)=>{const v=e.spacing(u);if(v!=="0px"){const h=`calc(-1 * ${v})`;return{width:`calc(100% + ${v})`,marginLeft:h,[`& > .${Pc.item}`]:{paddingLeft:v}}}return l?.includes(f)?{}:{width:"100%",marginLeft:0,[`& > .${Pc.item}`]:{paddingLeft:0}}})}return s}function FO(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const o=[];return t.forEach(s=>{const a=e[s];Number(a)>0&&o.push(n[`spacing-${s}-${String(a)}`])}),o}const YO=fe("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:o,direction:s,item:a,spacing:l,wrap:u,zeroMinWidth:f,breakpoints:v}=n;let h=[];o&&(h=FO(l,v,t));const y=[];return v.forEach(b=>{const j=n[b];j&&y.push(t[`grid-${b}-${String(j)}`])}),[t.root,o&&t.container,a&&t.item,f&&t.zeroMinWidth,...h,s!=="row"&&t[`direction-xs-${String(s)}`],u!=="wrap"&&t[`wrap-xs-${String(u)}`],...y]}})(({ownerState:e})=>({boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},...e.item&&{margin:0},...e.zeroMinWidth&&{minWidth:0},...e.wrap!=="wrap"&&{flexWrap:e.wrap}}),IO,WO,JO,VO);function qO(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(o=>{const s=e[o];if(Number(s)>0){const a=`spacing-${o}-${String(s)}`;n.push(a)}}),n}const ZO=e=>{const{classes:t,container:n,direction:o,item:s,spacing:a,wrap:l,zeroMinWidth:u,breakpoints:f}=e;let v=[];n&&(v=qO(a,f));const h=[];f.forEach(b=>{const j=e[b];j&&h.push(`grid-${b}-${String(j)}`)});const y={root:["root",n&&"container",s&&"item",u&&"zeroMinWidth",...v,o!=="row"&&`direction-xs-${String(o)}`,l!=="wrap"&&`wrap-xs-${String(l)}`,...h]};return _e(y,LO,t)},Fo=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiGrid"}),{breakpoints:s}=Xr(),a=Cd(o),{className:l,columns:u,columnSpacing:f,component:v="div",container:h=!1,direction:y="row",item:b=!1,rowSpacing:j,spacing:x=0,wrap:A="wrap",zeroMinWidth:H=!1,...S}=a,z=j||x,C=f||x,O=g.useContext($b),D=h?u||12:O,T={},R={...S};s.keys.forEach(w=>{S[w]!=null&&(T[w]=S[w],delete R[w])});const L={...a,columns:D,container:h,direction:y,item:b,rowSpacing:z,columnSpacing:C,wrap:A,zeroMinWidth:H,spacing:x,...T,breakpoints:s.keys},M=ZO(L);return p.jsx($b.Provider,{value:D,children:p.jsx(YO,{ownerState:L,className:ze(M.root,l),as:v,ref:n,...R})})});function em(e){return`scale(${e}, ${e**2})`}const GO={entering:{opacity:1,transform:em(1)},entered:{opacity:1,transform:"none"}},dh=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),bc=g.forwardRef(function(t,n){const{addEndListener:o,appear:s=!0,children:a,easing:l,in:u,onEnter:f,onEntered:v,onEntering:h,onExit:y,onExited:b,onExiting:j,style:x,timeout:A="auto",TransitionComponent:H=Ho,...S}=t,z=mi(),C=g.useRef(),O=Xr(),D=g.useRef(null),T=ln(D,Zs(a),n),R=J=>U=>{if(J){const re=D.current;U===void 0?J(re):J(re,U)}},L=R(h),M=R((J,U)=>{Km(J);const{duration:re,delay:K,easing:Y}=Oa({style:x,timeout:A,easing:l},{mode:"enter"});let E;A==="auto"?(E=O.transitions.getAutoHeightDuration(J.clientHeight),C.current=E):E=re,J.style.transition=[O.transitions.create("opacity",{duration:E,delay:K}),O.transitions.create("transform",{duration:dh?E:E*.666,delay:K,easing:Y})].join(","),f&&f(J,U)}),w=R(v),N=R(j),I=R(J=>{const{duration:U,delay:re,easing:K}=Oa({style:x,timeout:A,easing:l},{mode:"exit"});let Y;A==="auto"?(Y=O.transitions.getAutoHeightDuration(J.clientHeight),C.current=Y):Y=U,J.style.transition=[O.transitions.create("opacity",{duration:Y,delay:re}),O.transitions.create("transform",{duration:dh?Y:Y*.666,delay:dh?re:re||Y*.333,easing:K})].join(","),J.style.opacity=0,J.style.transform=em(.75),y&&y(J)}),W=R(b),ne=J=>{A==="auto"&&z.start(C.current||0,J),o&&o(D.current,J)};return p.jsx(H,{appear:s,in:u,nodeRef:D,onEnter:M,onEntered:w,onEntering:L,onExit:I,onExited:W,onExiting:N,addEndListener:ne,timeout:A==="auto"?null:A,...S,children:(J,{ownerState:U,...re})=>g.cloneElement(a,{style:{opacity:0,transform:em(.75),visibility:J==="exited"&&!u?"hidden":void 0,...GO[J],...x,...a.props.style},ref:T,...re})})});bc&&(bc.muiSupportAuto=!0);const UO=uw({themeId:Kr}),QO=e=>{const{classes:t,disableUnderline:n}=e,s=_e({root:["root",!n&&"underline"],input:["input"]},fz,t);return{...t,...s}},KO=fe(Xd,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Md(e,t),!n.disableUnderline&&t.underline]}})(tt(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:o})=>o.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:o})=>!o.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Vs.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Vs.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Vs.disabled}, .${Vs.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Vs.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(fn()).map(([o])=>({props:{color:o,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[o].main}`}}}))]}})),_O=fe(Nd,{name:"MuiInput",slot:"Input",overridesResolver:Ld})({}),cy=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiInput"}),{disableUnderline:s=!1,components:a={},componentsProps:l,fullWidth:u=!1,inputComponent:f="input",multiline:v=!1,slotProps:h,slots:y={},type:b="text",...j}=o,x=QO(o),H={root:{ownerState:{disableUnderline:s}}},S=h??l?Vn(h??l,H):H,z=y.root??a.Root??KO,C=y.input??a.Input??_O;return p.jsx(Bd,{slots:{root:z,input:C},slotProps:S,fullWidth:u,inputComponent:f,multiline:v,ref:n,type:b,...j,classes:x})});cy.muiName="Input";function $O(e){return Qe("MuiInputAdornment",e)}const e8=Ke("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var t8;const eD=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ve(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},tD=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:o,position:s,size:a,variant:l}=e,u={root:["root",n&&"disablePointerEvents",s&&`position${ve(s)}`,l,o&&"hiddenLabel",a&&`size${ve(a)}`]};return _e(u,$O,t)},nD=fe("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:eD})(tt(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${e8.positionStart}&:not(.${e8.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),n1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiInputAdornment"}),{children:s,className:a,component:l="div",disablePointerEvents:u=!1,disableTypography:f=!1,position:v,variant:h,...y}=o,b=jo()||{};let j=h;h&&b.variant,b&&!j&&(j=b.variant);const x={...o,hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:u,position:v,variant:j},A=tD(x);return p.jsx(Rd.Provider,{value:null,children:p.jsx(nD,{as:l,ownerState:x,className:ze(A.root,a),ref:n,...y,children:typeof s=="string"&&!f?p.jsx(wt,{color:"textSecondary",children:s}):p.jsxs(g.Fragment,{children:[v==="start"?t8||(t8=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):null,s]})})})});function rD(e){return Qe("MuiInputLabel",e)}Ke("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const oD=e=>{const{classes:t,formControl:n,size:o,shrink:s,disableAnimation:a,variant:l,required:u}=e,f={root:["root",n&&"formControl",!a&&"animated",s&&"shrink",o&&o!=="normal"&&`size${ve(o)}`,l],asterisk:[u&&"asterisk"]},v=_e(f,rD,t);return{...t,...v}},sD=fe(Mf,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${lc.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(tt(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:o})=>t==="filled"&&n.shrink&&o==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Lf=g.forwardRef(function(t,n){const o=nt({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,margin:a,shrink:l,variant:u,className:f,...v}=o,h=jo();let y=l;typeof y>"u"&&h&&(y=h.filled||h.focused||h.adornedStart);const b=Us({props:o,muiFormControl:h,states:["size","variant","required","focused"]}),j={...o,disableAnimation:s,formControl:h,shrink:y,size:b.size,variant:b.variant,required:b.required,focused:b.focused},x=oD(j);return p.jsx(sD,{"data-shrink":y,ref:n,className:ze(x.root,f),...v,ownerState:j,classes:x})});function iD(e){return Qe("MuiLink",e)}const aD=Ke("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),lD=({theme:e,ownerState:t})=>{const n=t.color,o=Is(e,`palette.${n}.main`,!1)||Is(e,`palette.${n}`,!1)||t.color,s=Is(e,`palette.${n}.mainChannel`)||Is(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Pt(o,.4)},n8={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},cD=e=>{const{classes:t,component:n,focusVisible:o,underline:s}=e,a={root:["root",`underline${ve(s)}`,n==="button"&&"button",o&&"focusVisible"]};return _e(a,iD,t)},uD=fe(wt,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${ve(n.underline)}`],n.component==="button"&&t.button]}})(tt(({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:t,ownerState:n})=>t==="always"&&n.color!=="inherit",style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:Pt(e.palette[t].main,.4)}})),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Pt(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:Pt(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${aD.focusVisible}`]:{outline:"auto"}}}]}))),ec=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiLink"}),s=Xr(),{className:a,color:l="primary",component:u="a",onBlur:f,onFocus:v,TypographyClasses:h,underline:y="always",variant:b="inherit",sx:j,...x}=o,[A,H]=g.useState(!1),S=D=>{Ca(D.target)||H(!1),f&&f(D)},z=D=>{Ca(D.target)&&H(!0),v&&v(D)},C={...o,color:l,component:u,focusVisible:A,underline:y,variant:b},O=cD(C);return p.jsx(uD,{color:l,className:ze(O.root,a),classes:h,component:u,onBlur:S,onFocus:z,ref:n,ownerState:C,variant:b,...x,sx:[...n8[l]===void 0?[{color:l}]:[],...Array.isArray(j)?j:[j]],style:{...x.style,...y==="always"&&l!=="inherit"&&!n8[l]&&{"--Link-underlineColor":lD({theme:s,ownerState:C})}}})}),Ao=g.createContext({});function fD(e){return Qe("MuiList",e)}Ke("MuiList",["root","padding","dense","subheader"]);const dD=e=>{const{classes:t,disablePadding:n,dense:o,subheader:s}=e;return _e({root:["root",!n&&"padding",o&&"dense",s&&"subheader"]},fD,t)},pD=fe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),tm=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiList"}),{children:s,className:a,component:l="ul",dense:u=!1,disablePadding:f=!1,subheader:v,...h}=o,y=g.useMemo(()=>({dense:u}),[u]),b={...o,component:l,dense:u,disablePadding:f},j=dD(b);return p.jsx(Ao.Provider,{value:y,children:p.jsxs(pD,{as:l,className:ze(j.root,a),ref:n,ownerState:b,...h,children:[v,s]})})});function vD(e){return Qe("MuiListItem",e)}Ke("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);function hD(e){return Qe("MuiListItemButton",e)}const ga=Ke("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),mD=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},yD=e=>{const{alignItems:t,classes:n,dense:o,disabled:s,disableGutters:a,divider:l,selected:u}=e,v=_e({root:["root",o&&"dense",!a&&"gutters",l&&"divider",s&&"disabled",t==="flex-start"&&"alignItemsFlexStart",u&&"selected"]},hD,n);return{...n,...v}},gD=fe(Si,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:mD})(tt(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ga.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ga.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ga.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ga.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ga.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.dense,style:{paddingTop:4,paddingBottom:4}}]}))),r1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItemButton"}),{alignItems:s="center",autoFocus:a=!1,component:l="div",children:u,dense:f=!1,disableGutters:v=!1,divider:h=!1,focusVisibleClassName:y,selected:b=!1,className:j,...x}=o,A=g.useContext(Ao),H=g.useMemo(()=>({dense:f||A.dense||!1,alignItems:s,disableGutters:v}),[s,A.dense,f,v]),S=g.useRef(null);xr(()=>{a&&S.current&&S.current.focus()},[a]);const z={...o,alignItems:s,dense:H.dense,disableGutters:v,divider:h,selected:b},C=yD(z),O=ln(S,n);return p.jsx(Ao.Provider,{value:H,children:p.jsx(gD,{ref:O,href:x.href||x.to,component:(x.href||x.to)&&l==="div"?"button":l,focusVisibleClassName:ze(C.focusVisible,y),ownerState:z,className:ze(C.root,j),...x,classes:C,children:u})})});function AD(e){return Qe("MuiListItemSecondaryAction",e)}Ke("MuiListItemSecondaryAction",["root","disableGutters"]);const PD=e=>{const{disableGutters:t,classes:n}=e;return _e({root:["root",t&&"disableGutters"]},AD,n)},bD=fe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),o1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItemSecondaryAction"}),{className:s,...a}=o,l=g.useContext(Ao),u={...o,disableGutters:l.disableGutters},f=PD(u);return p.jsx(bD,{className:ze(f.root,s),ownerState:u,ref:n,...a})});o1.muiName="ListItemSecondaryAction";const xD=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},wD=e=>{const{alignItems:t,classes:n,dense:o,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u}=e;return _e({root:["root",o&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction"],container:["container"]},vD,n)},HD=fe("div",{name:"MuiListItem",slot:"Root",overridesResolver:xD})(tt(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${ga.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),jD=fe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Tl=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItem"}),{alignItems:s="center",children:a,className:l,component:u,components:f={},componentsProps:v={},ContainerComponent:h="li",ContainerProps:{className:y,...b}={},dense:j=!1,disableGutters:x=!1,disablePadding:A=!1,divider:H=!1,secondaryAction:S,slotProps:z={},slots:C={},...O}=o,D=g.useContext(Ao),T=g.useMemo(()=>({dense:j||D.dense||!1,alignItems:s,disableGutters:x}),[s,D.dense,j,x]),R=g.useRef(null),L=g.Children.toArray(a),M=L.length&&Tf(L[L.length-1],["ListItemSecondaryAction"]),w={...o,alignItems:s,dense:T.dense,disableGutters:x,disablePadding:A,divider:H,hasSecondaryAction:M},N=wD(w),I=ln(R,n),W=C.root||f.Root||HD,ne=z.root||v.root||{},J={className:ze(N.root,ne.className,l),...O};let U=u||"li";return M?(U=!J.component&&!u?"div":U,h==="li"&&(U==="li"?U="div":J.component==="li"&&(J.component="div")),p.jsx(Ao.Provider,{value:T,children:p.jsxs(jD,{as:h,className:ze(N.container,y),ref:I,ownerState:w,...b,children:[p.jsx(W,{...ne,...!Ac(W)&&{as:U,ownerState:{...w,...ne.ownerState}},...J,children:L}),L.pop()]})})):p.jsx(Ao.Provider,{value:T,children:p.jsxs(W,{...ne,as:U,ref:I,...!Ac(W)&&{ownerState:{...w,...ne.ownerState}},...J,children:[L,S&&p.jsx(o1,{children:S})]})})});function SD(e){return Qe("MuiListItemIcon",e)}const r8=Ke("MuiListItemIcon",["root","alignItemsFlexStart"]),zD=e=>{const{alignItems:t,classes:n}=e;return _e({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},SD,n)},CD=fe("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(tt(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),OD=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItemIcon"}),{className:s,...a}=o,l=g.useContext(Ao),u={...o,alignItems:l.alignItems},f=zD(u);return p.jsx(CD,{className:ze(f.root,s),ownerState:u,ref:n,...a})});function DD(e){return Qe("MuiListItemText",e)}const ba=Ke("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),kD=e=>{const{classes:t,inset:n,primary:o,secondary:s,dense:a}=e;return _e({root:["root",n&&"inset",a&&"dense",o&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},DD,t)},TD=fe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ba.primary}`]:t.primary},{[`& .${ba.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${wb.root}:where(& .${ba.primary})`]:{display:"block"},[`.${wb.root}:where(& .${ba.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),xa=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiListItemText"}),{children:s,className:a,disableTypography:l=!1,inset:u=!1,primary:f,primaryTypographyProps:v,secondary:h,secondaryTypographyProps:y,slots:b={},slotProps:j={},...x}=o,{dense:A}=g.useContext(Ao);let H=f??s,S=h;const z={...o,disableTypography:l,inset:u,primary:!!H,secondary:!!S,dense:A},C=kD(z),O={slots:b,slotProps:{primary:v,secondary:y,...j}},[D,T]=lt("root",{className:ze(C.root,a),elementType:TD,externalForwardedProps:{...O,...x},ownerState:z,ref:n}),[R,L]=lt("primary",{className:C.primary,elementType:wt,externalForwardedProps:O,ownerState:z}),[M,w]=lt("secondary",{className:C.secondary,elementType:wt,externalForwardedProps:O,ownerState:z});return H!=null&&H.type!==wt&&!l&&(H=p.jsx(R,{variant:A?"body2":"body1",component:L?.variant?void 0:"span",...L,children:H})),S!=null&&S.type!==wt&&!l&&(S=p.jsx(M,{variant:"body2",color:"textSecondary",...w,children:S})),p.jsxs(D,{...T,children:[H,S]})});function ph(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function o8(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function s1(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function El(e,t,n,o,s,a){let l=!1,u=s(e,t,t?n:!1);for(;u;){if(u===e.firstChild){if(l)return!1;l=!0}const f=o?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!s1(u,a)||f)u=s(e,u,n);else return u.focus(),!0}return!1}const ED=g.forwardRef(function(t,n){const{actions:o,autoFocus:s=!1,autoFocusItem:a=!1,children:l,className:u,disabledItemsFocusable:f=!1,disableListWrap:v=!1,onKeyDown:h,variant:y="selectedMenu",...b}=t,j=g.useRef(null),x=g.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});xr(()=>{s&&j.current.focus()},[s]),g.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(C,{direction:O})=>{const D=!j.current.style.width;if(C.clientHeight{const O=j.current,D=C.key;if(C.ctrlKey||C.metaKey||C.altKey){h&&h(C);return}const R=er(O).activeElement;if(D==="ArrowDown")C.preventDefault(),El(O,R,v,f,ph);else if(D==="ArrowUp")C.preventDefault(),El(O,R,v,f,o8);else if(D==="Home")C.preventDefault(),El(O,null,v,f,ph);else if(D==="End")C.preventDefault(),El(O,null,v,f,o8);else if(D.length===1){const L=x.current,M=D.toLowerCase(),w=performance.now();L.keys.length>0&&(w-L.lastTime>500?(L.keys=[],L.repeating=!0,L.previousKeyMatched=!0):L.repeating&&M!==L.keys[0]&&(L.repeating=!1)),L.lastTime=w,L.keys.push(M);const N=R&&!L.repeating&&s1(R,L);L.previousKeyMatched&&(N||El(O,R,!1,f,ph,L))?C.preventDefault():L.previousKeyMatched=!1}h&&h(C)},H=ln(j,n);let S=-1;g.Children.forEach(l,(C,O)=>{if(!g.isValidElement(C)){S===O&&(S+=1,S>=l.length&&(S=-1));return}C.props.disabled||(y==="selectedMenu"&&C.props.selected||S===-1)&&(S=O),S===O&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(S+=1,S>=l.length&&(S=-1))});const z=g.Children.map(l,(C,O)=>{if(O===S){const D={};return a&&(D.autoFocus=!0),C.props.tabIndex===void 0&&y==="selectedMenu"&&(D.tabIndex=0),g.cloneElement(C,D)}return C});return p.jsx(tm,{role:"menu",ref:H,className:u,onKeyDown:A,tabIndex:s?0:-1,...b,children:z})});function RD(e){return Qe("MuiPopover",e)}Ke("MuiPopover",["root","paper"]);function s8(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function i8(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function a8(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function hf(e){return typeof e=="function"?e():e}const MD=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"]},RD,t)},LD=fe(ay,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),i1=fe(Mr,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),XD=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiPopover"}),{action:s,anchorEl:a,anchorOrigin:l={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:f="anchorEl",children:v,className:h,container:y,elevation:b=8,marginThreshold:j=16,open:x,PaperProps:A={},slots:H={},slotProps:S={},transformOrigin:z={vertical:"top",horizontal:"left"},TransitionComponent:C,transitionDuration:O="auto",TransitionProps:D={},disableScrollLock:T=!1,...R}=o,L=g.useRef(),M={...o,anchorOrigin:l,anchorReference:f,elevation:b,marginThreshold:j,transformOrigin:z,TransitionComponent:C,transitionDuration:O,TransitionProps:D},w=MD(M),N=g.useCallback(()=>{if(f==="anchorPosition")return u;const Oe=hf(a),Ae=(Oe&&Oe.nodeType===1?Oe:er(L.current).body).getBoundingClientRect();return{top:Ae.top+s8(Ae,l.vertical),left:Ae.left+i8(Ae,l.horizontal)}},[a,l.horizontal,l.vertical,u,f]),I=g.useCallback(Oe=>({vertical:s8(Oe,z.vertical),horizontal:i8(Oe,z.horizontal)}),[z.horizontal,z.vertical]),W=g.useCallback(Oe=>{const Le={width:Oe.offsetWidth,height:Oe.offsetHeight},Ae=I(Le);if(f==="none")return{top:null,left:null,transformOrigin:a8(Ae)};const Ye=N();let ye=Ye.top-Ae.vertical,Je=Ye.left-Ae.horizontal;const yt=ye+Le.height,Me=Je+Le.width,ht=bo(hf(a)),ct=ht.innerHeight-j,B=ht.innerWidth-j;if(j!==null&&yect){const Q=yt-ct;ye-=Q,Ae.vertical+=Q}if(j!==null&&JeB){const Q=Me-B;Je-=Q,Ae.horizontal+=Q}return{top:`${Math.round(ye)}px`,left:`${Math.round(Je)}px`,transformOrigin:a8(Ae)}},[a,f,N,I,j]),[ne,J]=g.useState(x),U=g.useCallback(()=>{const Oe=L.current;if(!Oe)return;const Le=W(Oe);Le.top!==null&&Oe.style.setProperty("top",Le.top),Le.left!==null&&(Oe.style.left=Le.left),Oe.style.transformOrigin=Le.transformOrigin,J(!0)},[W]);g.useEffect(()=>(T&&window.addEventListener("scroll",U),()=>window.removeEventListener("scroll",U)),[a,T,U]);const re=()=>{U()},K=()=>{J(!1)};g.useEffect(()=>{x&&U()}),g.useImperativeHandle(s,()=>x?{updatePosition:()=>{U()}}:null,[x,U]),g.useEffect(()=>{if(!x)return;const Oe=Im(()=>{U()}),Le=bo(hf(a));return Le.addEventListener("resize",Oe),()=>{Oe.clear(),Le.removeEventListener("resize",Oe)}},[a,x,U]);let Y=O;const E={slots:{transition:C,...H},slotProps:{transition:D,paper:A,...S}},[q,X]=lt("transition",{elementType:bc,externalForwardedProps:E,ownerState:M,getSlotProps:Oe=>({...Oe,onEntering:(Le,Ae)=>{Oe.onEntering?.(Le,Ae),re()},onExited:Le=>{Oe.onExited?.(Le),K()}}),additionalProps:{appear:!0,in:x}});O==="auto"&&!q.muiSupportAuto&&(Y=void 0);const _=y||(a?er(hf(a)).body:void 0),[te,{slots:oe,slotProps:le,...be}]=lt("root",{ref:n,elementType:LD,externalForwardedProps:{...E,...R},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:H.backdrop},slotProps:{backdrop:Zm(typeof S.backdrop=="function"?S.backdrop(M):S.backdrop,{invisible:!0})},container:_,open:x},ownerState:M,className:ze(w.root,h)}),[ie,xe]=lt("paper",{ref:L,className:w.paper,elementType:i1,externalForwardedProps:E,shouldForwardComponentProp:!0,additionalProps:{elevation:b,style:ne?void 0:{opacity:0}},ownerState:M});return p.jsx(te,{...be,...!Ac(te)&&{slots:oe,slotProps:le,disableScrollLock:T},children:p.jsx(q,{...X,timeout:Y,children:p.jsx(ie,{...xe,children:v})})})});function ND(e){return Qe("MuiMenu",e)}Ke("MuiMenu",["root","paper","list"]);const BD={vertical:"top",horizontal:"right"},VD={vertical:"top",horizontal:"left"},ID=e=>{const{classes:t}=e;return _e({root:["root"],paper:["paper"],list:["list"]},ND,t)},WD=fe(XD,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),JD=fe(i1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),FD=fe(ED,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),xc=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:v,open:h,PaperProps:y={},PopoverClasses:b,transitionDuration:j="auto",TransitionProps:{onEntering:x,...A}={},variant:H="selectedMenu",slots:S={},slotProps:z={},...C}=o,O=Mc(),D={...o,autoFocus:s,disableAutoFocusItem:u,MenuListProps:f,onEntering:x,PaperProps:y,transitionDuration:j,TransitionProps:A,variant:H},T=ID(D),R=s&&!u&&h,L=g.useRef(null),M=(Y,E)=>{L.current&&L.current.adjustStyleForScrollbar(Y,{direction:O?"rtl":"ltr"}),x&&x(Y,E)},w=Y=>{Y.key==="Tab"&&(Y.preventDefault(),v&&v(Y,"tabKeyDown"))};let N=-1;g.Children.map(a,(Y,E)=>{g.isValidElement(Y)&&(Y.props.disabled||(H==="selectedMenu"&&Y.props.selected||N===-1)&&(N=E))});const I={slots:S,slotProps:{list:f,transition:A,paper:y,...z}},W=gw({elementType:S.root,externalSlotProps:z.root,ownerState:D,className:[T.root,l]}),[ne,J]=lt("paper",{className:T.paper,elementType:JD,externalForwardedProps:I,shouldForwardComponentProp:!0,ownerState:D}),[U,re]=lt("list",{className:ze(T.list,f.className),elementType:FD,shouldForwardComponentProp:!0,externalForwardedProps:I,getSlotProps:Y=>({...Y,onKeyDown:E=>{w(E),Y.onKeyDown?.(E)}}),ownerState:D}),K=typeof I.slotProps.transition=="function"?I.slotProps.transition(D):I.slotProps.transition;return p.jsx(WD,{onClose:v,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?BD:VD,slots:{root:S.root,paper:ne,backdrop:S.backdrop,...S.transition&&{transition:S.transition}},slotProps:{root:W,paper:J,backdrop:typeof z.backdrop=="function"?z.backdrop(D):z.backdrop,transition:{...K,onEntering:(...Y)=>{M(...Y),K?.onEntering?.(...Y)}}},open:h,ref:n,transitionDuration:j,ownerState:D,...C,classes:b,children:p.jsx(U,{actions:L,autoFocus:s&&(N===-1||u),autoFocusItem:R,variant:H,...re,children:a})})});function YD(e){return Qe("MuiMenuItem",e)}const Rl=Ke("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),qD=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},ZD=e=>{const{disabled:t,dense:n,divider:o,disableGutters:s,selected:a,classes:l}=e,f=_e({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",o&&"divider",a&&"selected"]},YD,l);return{...l,...f}},GD=fe(Si,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:qD})(tt(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Rl.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Rl.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Rl.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Rl.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Rl.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Qb.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Qb.inset}`]:{marginLeft:52},[`& .${ba.root}`]:{marginTop:0,marginBottom:0},[`& .${ba.inset}`]:{paddingLeft:36},[`& .${r8.root}`]:{minWidth:36},variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>!t.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:t})=>t.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${r8.root} svg`]:{fontSize:"1.25rem"}}}]}))),Vo=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:a="li",dense:l=!1,divider:u=!1,disableGutters:f=!1,focusVisibleClassName:v,role:h="menuitem",tabIndex:y,className:b,...j}=o,x=g.useContext(Ao),A=g.useMemo(()=>({dense:l||x.dense||!1,disableGutters:f}),[x.dense,l,f]),H=g.useRef(null);xr(()=>{s&&H.current&&H.current.focus()},[s]);const S={...o,dense:A.dense,divider:u,disableGutters:f},z=ZD(o),C=ln(H,n);let O;return o.disabled||(O=y!==void 0?y:-1),p.jsx(Ao.Provider,{value:A,children:p.jsx(GD,{ref:C,role:h,tabIndex:O,component:a,focusVisibleClassName:ze(z.focusVisible,v),className:ze(z.root,b),...j,ownerState:S,classes:z})})});function UD(e){return Qe("MuiNativeSelect",e)}const uy=Ke("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),QD=e=>{const{classes:t,variant:n,disabled:o,multiple:s,open:a,error:l}=e,u={select:["select",n,o&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${ve(n)}`,a&&"iconOpen",o&&"disabled"]};return _e(u,UD,t)},a1=fe("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${uy.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),KD=fe(a1,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:In,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${uy.multiple}`]:t.multiple}]}})({}),l1=fe("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${uy.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),_D=fe(l1,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ve(n.variant)}`],n.open&&t.iconOpen]}})({}),$D=g.forwardRef(function(t,n){const{className:o,disabled:s,error:a,IconComponent:l,inputRef:u,variant:f="standard",...v}=t,h={...t,disabled:s,variant:f,error:a},y=QD(h);return p.jsxs(g.Fragment,{children:[p.jsx(KD,{ownerState:h,className:ze(y.select,o),disabled:s,ref:u||n,...v}),t.multiple?null:p.jsx(_D,{as:l,ownerState:h,className:y.icon})]})});var l8;const ek=fe("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:In})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),tk=fe("legend",{name:"MuiNotchedOutlined",shouldForwardProp:In})(tt(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function nk(e){const{children:t,classes:n,className:o,label:s,notched:a,...l}=e,u=s!=null&&s!=="",f={...e,notched:a,withLabel:u};return p.jsx(ek,{"aria-hidden":!0,className:o,ownerState:f,...l,children:p.jsx(tk,{ownerState:f,children:u?p.jsx("span",{children:s}):l8||(l8=p.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}const rk=e=>{const{classes:t}=e,o=_e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},dz,t);return{...t,...o}},ok=fe(Xd,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Md})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${qr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${qr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${qr.focused} .${qr.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(fn()).map(([n])=>({props:{color:n},style:{[`&.${qr.focused} .${qr.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{[`&.${qr.error} .${qr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${qr.disabled} .${qr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:o})=>n.multiline&&o==="small",style:{padding:"8.5px 14px"}}]}})),sk=fe(nk,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(tt(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),ik=fe(Nd,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ld})(tt(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),fy=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiOutlinedInput"}),{components:s={},fullWidth:a=!1,inputComponent:l="input",label:u,multiline:f=!1,notched:v,slots:h={},slotProps:y={},type:b="text",...j}=o,x=rk(o),A=jo(),H=Us({props:o,muiFormControl:A,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S={...o,color:H.color||"primary",disabled:H.disabled,error:H.error,focused:H.focused,formControl:A,fullWidth:a,hiddenLabel:H.hiddenLabel,multiline:f,size:H.size,type:b},z=h.root??s.Root??ok,C=h.input??s.Input??ik,[O,D]=lt("notchedOutline",{elementType:sk,className:x.notchedOutline,shouldForwardComponentProp:!0,ownerState:S,externalForwardedProps:{slots:h,slotProps:y},additionalProps:{label:u!=null&&u!==""&&H.required?p.jsxs(g.Fragment,{children:[u," ","*"]}):u}});return p.jsx(Bd,{slots:{root:z,input:C},slotProps:y,renderSuffix:T=>p.jsx(O,{...D,notched:typeof v<"u"?v:!!(T.startAdornment||T.filled||T.focused)}),fullWidth:a,inputComponent:l,multiline:f,ref:n,type:b,...j,classes:{...x,notchedOutline:null}})});fy.muiName="Input";const ak=At(p.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),lk=At(p.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),ck=At(p.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),uk=At(p.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),fk=fe("span",{name:"MuiRadioButtonIcon",shouldForwardProp:In})({position:"relative",display:"flex"}),dk=fe(ck,{name:"MuiRadioButtonIcon"})({transform:"scale(1)"}),pk=fe(uk,{name:"MuiRadioButtonIcon"})(tt(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function c1(e){const{checked:t=!1,classes:n={},fontSize:o}=e,s={...e,checked:t};return p.jsxs(fk,{className:n.root,ownerState:s,children:[p.jsx(dk,{fontSize:o,className:n.background,ownerState:s}),p.jsx(pk,{fontSize:o,className:n.dot,ownerState:s})]})}const u1=g.createContext(void 0);function vk(){return g.useContext(u1)}function hk(e){return Qe("MuiRadio",e)}const c8=Ke("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),mk=e=>{const{classes:t,color:n,size:o}=e,s={root:["root",`color${ve(n)}`,o!=="medium"&&`size${ve(o)}`]};return{...t,..._e(s,hk,t)}},yk=fe(iy,{shouldForwardProp:e=>In(e)||e==="classes",name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size!=="medium"&&t[`size${ve(n.size)}`],t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${c8.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(fn()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${c8.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));function gk(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}const Ak=p.jsx(c1,{checked:!0}),Pk=p.jsx(c1,{}),wc=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiRadio"}),{checked:s,checkedIcon:a=Ak,color:l="primary",icon:u=Pk,name:f,onChange:v,size:h="medium",className:y,disabled:b,disableRipple:j=!1,slots:x={},slotProps:A={},inputProps:H,...S}=o,z=jo();let C=b;z&&typeof C>"u"&&(C=z.disabled),C??=!1;const O={...o,disabled:C,disableRipple:j,color:l,size:h},D=mk(O),T=vk();let R=s;const L=Nh(v,T&&T.onChange);let M=f;T&&(typeof R>"u"&&(R=gk(T.value,o.value)),typeof M>"u"&&(M=T.name));const w=A.input??H,[N,I]=lt("root",{ref:n,elementType:yk,className:ze(D.root,y),shouldForwardComponentProp:!0,externalForwardedProps:{slots:x,slotProps:A,...S},getSlotProps:W=>({...W,onChange:(ne,...J)=>{W.onChange?.(ne,...J),L(ne,...J)}}),ownerState:O,additionalProps:{type:"radio",icon:g.cloneElement(u,{fontSize:u.props.fontSize??h}),checkedIcon:g.cloneElement(a,{fontSize:a.props.fontSize??h}),disabled:C,name:M,checked:R,slots:x,slotProps:{input:typeof w=="function"?w(O):w}}});return p.jsx(N,{...I,classes:D})});function bk(e){return Qe("MuiRadioGroup",e)}Ke("MuiRadioGroup",["root","row","error"]);const xk=e=>{const{classes:t,row:n,error:o}=e;return _e({root:["root",n&&"row",o&&"error"]},bk,t)},td=g.forwardRef(function(t,n){const{actions:o,children:s,className:a,defaultValue:l,name:u,onChange:f,value:v,...h}=t,y=g.useRef(null),b=xk(t),[j,x]=Js({controlled:v,default:l,name:"RadioGroup"});g.useImperativeHandle(o,()=>({focus:()=>{let z=y.current.querySelector("input:not(:disabled):checked");z||(z=y.current.querySelector("input:not(:disabled)")),z&&z.focus()}}),[]);const A=ln(n,y),H=$r(u),S=g.useMemo(()=>({name:H,onChange(z){x(z.target.value),f&&f(z,z.target.value)},value:j}),[H,f,x,j]);return p.jsx(u1.Provider,{value:S,children:p.jsx(CO,{role:"radiogroup",ref:A,className:ze(b.root,a),...h,children:s})})});function f1(e){return Qe("MuiSelect",e)}const Ml=Ke("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var u8;const wk=fe(a1,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Ml.select}`]:t.select},{[`&.${Ml.select}`]:t[n.variant]},{[`&.${Ml.error}`]:t.error},{[`&.${Ml.multiple}`]:t.multiple}]}})({[`&.${Ml.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Hk=fe(l1,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ve(n.variant)}`],n.open&&t.iconOpen]}})({}),jk=fe("input",{shouldForwardProp:e=>Dw(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function f8(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function Sk(e){return e==null||typeof e=="string"&&!e.trim()}const zk=e=>{const{classes:t,variant:n,disabled:o,multiple:s,open:a,error:l}=e,u={select:["select",n,o&&"disabled",s&&"multiple",l&&"error"],icon:["icon",`icon${ve(n)}`,a&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return _e(u,f1,t)},Ck=g.forwardRef(function(t,n){const{"aria-describedby":o,"aria-label":s,autoFocus:a,autoWidth:l,children:u,className:f,defaultOpen:v,defaultValue:h,disabled:y,displayEmpty:b,error:j=!1,IconComponent:x,inputRef:A,labelId:H,MenuProps:S={},multiple:z,name:C,onBlur:O,onChange:D,onClose:T,onFocus:R,onOpen:L,open:M,readOnly:w,renderValue:N,required:I,SelectDisplayProps:W={},tabIndex:ne,type:J,value:U,variant:re="standard",...K}=t,[Y,E]=Js({controlled:U,default:h,name:"Select"}),[q,X]=Js({controlled:M,default:v,name:"Select"}),_=g.useRef(null),te=g.useRef(null),[oe,le]=g.useState(null),{current:be}=g.useRef(M!=null),[ie,xe]=g.useState(),Oe=ln(n,A),Le=g.useCallback(Ze=>{te.current=Ze,Ze&&le(Ze)},[]),Ae=oe?.parentNode;g.useImperativeHandle(Oe,()=>({focus:()=>{te.current.focus()},node:_.current,value:Y}),[Y]),g.useEffect(()=>{v&&q&&oe&&!be&&(xe(l?null:Ae.clientWidth),te.current.focus())},[oe,l]),g.useEffect(()=>{a&&te.current.focus()},[a]),g.useEffect(()=>{if(!H)return;const Ze=er(te.current).getElementById(H);if(Ze){const G=()=>{getSelection().isCollapsed&&te.current.focus()};return Ze.addEventListener("click",G),()=>{Ze.removeEventListener("click",G)}}},[H]);const Ye=(Ze,G)=>{Ze?L&&L(G):T&&T(G),be||(xe(l?null:Ae.clientWidth),X(Ze))},ye=Ze=>{Ze.button===0&&(Ze.preventDefault(),te.current.focus(),Ye(!0,Ze))},Je=Ze=>{Ye(!1,Ze)},yt=g.Children.toArray(u),Me=Ze=>{const G=yt.find(F=>F.props.value===Ze.target.value);G!==void 0&&(E(G.props.value),D&&D(Ze,G))},ht=Ze=>G=>{let F;if(G.currentTarget.hasAttribute("tabindex")){if(z){F=Array.isArray(Y)?Y.slice():[];const Pe=Y.indexOf(Ze.props.value);Pe===-1?F.push(Ze.props.value):F.splice(Pe,1)}else F=Ze.props.value;if(Ze.props.onClick&&Ze.props.onClick(G),Y!==F&&(E(F),D)){const Pe=G.nativeEvent||G,Se=new Pe.constructor(Pe.type,Pe);Object.defineProperty(Se,"target",{writable:!0,value:{value:F,name:C}}),D(Se,Ze)}z||Ye(!1,G)}},ct=Ze=>{w||[" ","ArrowUp","ArrowDown","Enter"].includes(Ze.key)&&(Ze.preventDefault(),Ye(!0,Ze))},B=oe!==null&&q,Q=Ze=>{!B&&O&&(Object.defineProperty(Ze,"target",{writable:!0,value:{value:Y,name:C}}),O(Ze))};delete K["aria-invalid"];let $,we;const ce=[];let ge=!1;(ed({value:Y})||b)&&(N?$=N(Y):ge=!0);const De=yt.map(Ze=>{if(!g.isValidElement(Ze))return null;let G;if(z){if(!Array.isArray(Y))throw new Error(ds(2));G=Y.some(F=>f8(F,Ze.props.value)),G&&ge&&ce.push(Ze.props.children)}else G=f8(Y,Ze.props.value),G&&ge&&(we=Ze.props.children);return g.cloneElement(Ze,{"aria-selected":G?"true":"false",onClick:ht(Ze),onKeyUp:F=>{F.key===" "&&F.preventDefault(),Ze.props.onKeyUp&&Ze.props.onKeyUp(F)},role:"option",selected:G,value:void 0,"data-value":Ze.props.value})});ge&&(z?ce.length===0?$=null:$=ce.reduce((Ze,G,F)=>(Ze.push(G),F{const{classes:t}=e,o=_e({root:["root"]},f1,t);return{...t,...o}},dy={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>In(e)&&e!=="variant",slot:"Root"},Dk=fe(cy,dy)(""),kk=fe(fy,dy)(""),Tk=fe(ly,dy)(""),Hc=g.forwardRef(function(t,n){const o=nt({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:a,classes:l={},className:u,defaultOpen:f=!1,displayEmpty:v=!1,IconComponent:h=Yw,id:y,input:b,inputProps:j,label:x,labelId:A,MenuProps:H,multiple:S=!1,native:z=!1,onClose:C,onOpen:O,open:D,renderValue:T,SelectDisplayProps:R,variant:L="outlined",...M}=o,w=z?$D:Ck,N=jo(),I=Us({props:o,muiFormControl:N,states:["variant","error"]}),W=I.variant||L,ne={...o,variant:W,classes:l},J=Ok(ne),{root:U,...re}=J,K=b||{standard:p.jsx(Dk,{ownerState:ne}),outlined:p.jsx(kk,{label:x,ownerState:ne}),filled:p.jsx(Tk,{ownerState:ne})}[W],Y=ln(n,Zs(K));return p.jsx(g.Fragment,{children:g.cloneElement(K,{inputComponent:w,inputProps:{children:a,error:I.error,IconComponent:h,variant:W,type:void 0,multiple:S,...z?{id:y}:{autoWidth:s,defaultOpen:f,displayEmpty:v,labelId:A,MenuProps:H,onClose:C,onOpen:O,open:D,renderValue:T,SelectDisplayProps:{id:y,...R}},...j,classes:j?Vn(re,j.classes):re,...b?b.props.inputProps:{}},...(S&&z||v)&&W==="outlined"?{notched:!0}:{},ref:Y,className:ze(K.props.className,u,J.root),...!b&&{variant:W},...M})})});Hc.muiName="Select";function Ek(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:o,open:s,resumeHideDuration:a}=e,l=mi();g.useEffect(()=>{if(!s)return;function S(z){z.defaultPrevented||z.key==="Escape"&&o?.(z,"escapeKeyDown")}return document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}},[s,o]);const u=$n((S,z)=>{o?.(S,z)}),f=$n(S=>{!o||S==null||l.start(S,()=>{u(null,"timeout")})});g.useEffect(()=>(s&&f(t),l.clear),[s,t,f,l]);const v=S=>{o?.(S,"clickaway")},h=l.clear,y=g.useCallback(()=>{t!=null&&f(a??t*.5)},[t,a,f]),b=S=>z=>{const C=S.onBlur;C?.(z),y()},j=S=>z=>{const C=S.onFocus;C?.(z),h()},x=S=>z=>{const C=S.onMouseEnter;C?.(z),h()},A=S=>z=>{const C=S.onMouseLeave;C?.(z),y()};return g.useEffect(()=>{if(!n&&s)return window.addEventListener("focus",y),window.addEventListener("blur",h),()=>{window.removeEventListener("focus",y),window.removeEventListener("blur",h)}},[n,s,y,h]),{getRootProps:(S={})=>{const z={...Uf(e),...Uf(S)};return{role:"presentation",...S,...z,onBlur:b(z),onFocus:j(z),onMouseEnter:x(z),onMouseLeave:A(z)}},onClickAway:v}}function Rk(e){return Qe("MuiSnackbarContent",e)}Ke("MuiSnackbarContent",["root","message","action"]);const Mk=e=>{const{classes:t}=e;return _e({root:["root"],action:["action"],message:["message"]},Rk,t)},Lk=fe(Mr,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=dw(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),Xk=fe("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Nk=fe("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Bk=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiSnackbarContent"}),{action:s,className:a,message:l,role:u="alert",...f}=o,v=o,h=Mk(v);return p.jsxs(Lk,{role:u,square:!0,elevation:6,className:ze(h.root,a),ownerState:v,ref:n,...f,children:[p.jsx(Xk,{className:h.message,ownerState:v,children:l}),s?p.jsx(Nk,{className:h.action,ownerState:v,children:s}):null]})});function Vk(e){return Qe("MuiSnackbar",e)}Ke("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Ik=e=>{const{classes:t,anchorOrigin:n}=e,o={root:["root",`anchorOrigin${ve(n.vertical)}${ve(n.horizontal)}`]};return _e(o,Vk,t)},Wk=fe("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${ve(n.anchorOrigin.vertical)}${ve(n.anchorOrigin.horizontal)}`]]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:t})=>t.anchorOrigin.vertical==="top",style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:t})=>t.anchorOrigin.vertical!=="top",style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="left",style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="right",style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:t})=>t.anchorOrigin.horizontal==="center",style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),Jk=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiSnackbar"}),s=Xr(),a={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{action:l,anchorOrigin:{vertical:u,horizontal:f}={vertical:"bottom",horizontal:"left"},autoHideDuration:v=null,children:h,className:y,ClickAwayListenerProps:b,ContentProps:j,disableWindowBlurListener:x=!1,message:A,onBlur:H,onClose:S,onFocus:z,onMouseEnter:C,onMouseLeave:O,open:D,resumeHideDuration:T,slots:R={},slotProps:L={},TransitionComponent:M,transitionDuration:w=a,TransitionProps:{onEnter:N,onExited:I,...W}={},...ne}=o,J={...o,anchorOrigin:{vertical:u,horizontal:f},autoHideDuration:v,disableWindowBlurListener:x,TransitionComponent:M,transitionDuration:w},U=Ik(J),{getRootProps:re,onClickAway:K}=Ek({...J}),[Y,E]=g.useState(!0),q=Ye=>{E(!0),I&&I(Ye)},X=(Ye,ye)=>{E(!1),N&&N(Ye,ye)},_={slots:{transition:M,...R},slotProps:{content:j,clickAwayListener:b,transition:W,...L}},[te,oe]=lt("root",{ref:n,className:[U.root,y],elementType:Wk,getSlotProps:re,externalForwardedProps:{..._,...ne},ownerState:J}),[le,{ownerState:be,...ie}]=lt("clickAwayListener",{elementType:Qw,externalForwardedProps:_,getSlotProps:Ye=>({onClickAway:(...ye)=>{Ye.onClickAway?.(...ye),K(...ye)}}),ownerState:J}),[xe,Oe]=lt("content",{elementType:Bk,shouldForwardComponentProp:!0,externalForwardedProps:_,additionalProps:{message:A,action:l},ownerState:J}),[Le,Ae]=lt("transition",{elementType:bc,externalForwardedProps:_,getSlotProps:Ye=>({onEnter:(...ye)=>{Ye.onEnter?.(...ye),X(...ye)},onExited:(...ye)=>{Ye.onExited?.(...ye),q(...ye)}}),additionalProps:{appear:!0,in:D,timeout:w,direction:u==="top"?"down":"up"},ownerState:J});return!D&&Y?null:p.jsx(le,{...ie,...R.clickAwayListener&&{ownerState:be},children:p.jsx(te,{...oe,children:p.jsx(Le,{...Ae,children:h||p.jsx(xe,{...Oe})})})})});function Fk(e){return Qe("MuiTooltip",e)}const An=Ke("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Yk(e){return Math.round(e*1e5)/1e5}const qk=e=>{const{classes:t,disableInteractive:n,arrow:o,touch:s,placement:a}=e,l={popper:["popper",!n&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",s&&"touch",`tooltipPlacement${ve(a.split("-")[0])}`],arrow:["arrow"]};return _e(l,Fk,t)},Zk=fe(Ed,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(tt(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${An.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${An.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${An.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${An.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${An.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${An.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${An.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${An.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),Gk=fe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ve(n.placement.split("-")[0])}`]]}})(tt(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${An.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${An.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${An.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${An.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Yk(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${An.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${An.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${An.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${An.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${An.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${An.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${An.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${An.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${An.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${An.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Uk=fe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(tt(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Pt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let mf=!1;const d8=new Dd;let Ll={x:0,y:0};function yf(e,t){return(n,...o)=>{t&&t(n,...o),e(n,...o)}}const py=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTooltip"}),{arrow:s=!1,children:a,classes:l,components:u={},componentsProps:f={},describeChild:v=!1,disableFocusListener:h=!1,disableHoverListener:y=!1,disableInteractive:b=!1,disableTouchListener:j=!1,enterDelay:x=100,enterNextDelay:A=0,enterTouchDelay:H=700,followCursor:S=!1,id:z,leaveDelay:C=0,leaveTouchDelay:O=1500,onClose:D,onOpen:T,open:R,placement:L="bottom",PopperComponent:M,PopperProps:w={},slotProps:N={},slots:I={},title:W,TransitionComponent:ne,TransitionProps:J,...U}=o,re=g.isValidElement(a)?a:p.jsx("span",{children:a}),K=Xr(),Y=Mc(),[E,q]=g.useState(),[X,_]=g.useState(null),te=g.useRef(!1),oe=b||S,le=mi(),be=mi(),ie=mi(),xe=mi(),[Oe,Le]=Js({controlled:R,default:!1,name:"Tooltip",state:"open"});let Ae=Oe;const Ye=$r(z),ye=g.useRef(),Je=$n(()=>{ye.current!==void 0&&(document.body.style.WebkitUserSelect=ye.current,ye.current=void 0),xe.clear()});g.useEffect(()=>Je,[Je]);const yt=Fe=>{d8.clear(),mf=!0,Le(!0),T&&!Ae&&T(Fe)},Me=$n(Fe=>{d8.start(800+C,()=>{mf=!1}),Le(!1),D&&Ae&&D(Fe),le.start(K.transitions.duration.shortest,()=>{te.current=!1})}),ht=Fe=>{te.current&&Fe.type!=="touchstart"||(E&&E.removeAttribute("title"),be.clear(),ie.clear(),x||mf&&A?be.start(mf?A:x,()=>{yt(Fe)}):yt(Fe))},ct=Fe=>{be.clear(),ie.start(C,()=>{Me(Fe)})},[,B]=g.useState(!1),Q=Fe=>{Ca(Fe.target)||(B(!1),ct(Fe))},$=Fe=>{E||q(Fe.currentTarget),Ca(Fe.target)&&(B(!0),ht(Fe))},we=Fe=>{te.current=!0;const Xt=re.props;Xt.onTouchStart&&Xt.onTouchStart(Fe)},ce=Fe=>{we(Fe),ie.clear(),le.clear(),Je(),ye.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",xe.start(H,()=>{document.body.style.WebkitUserSelect=ye.current,ht(Fe)})},ge=Fe=>{re.props.onTouchEnd&&re.props.onTouchEnd(Fe),Je(),ie.start(O,()=>{Me(Fe)})};g.useEffect(()=>{if(!Ae)return;function Fe(Xt){Xt.key==="Escape"&&Me(Xt)}return document.addEventListener("keydown",Fe),()=>{document.removeEventListener("keydown",Fe)}},[Me,Ae]);const De=ln(Zs(re),q,n);!W&&W!==0&&(Ae=!1);const qe=g.useRef(),$e=Fe=>{const Xt=re.props;Xt.onMouseMove&&Xt.onMouseMove(Fe),Ll={x:Fe.clientX,y:Fe.clientY},qe.current&&qe.current.update()},gt={},ft=typeof W=="string";v?(gt.title=!Ae&&ft&&!y?W:null,gt["aria-describedby"]=Ae?Ye:null):(gt["aria-label"]=ft?W:null,gt["aria-labelledby"]=Ae&&!ft?Ye:null);const Ie={...gt,...U,...re.props,className:ze(U.className,re.props.className),onTouchStart:we,ref:De,...S?{onMouseMove:$e}:{}},Ft={};j||(Ie.onTouchStart=ce,Ie.onTouchEnd=ge),y||(Ie.onMouseOver=yf(ht,Ie.onMouseOver),Ie.onMouseLeave=yf(ct,Ie.onMouseLeave),oe||(Ft.onMouseOver=ht,Ft.onMouseLeave=ct)),h||(Ie.onFocus=yf($,Ie.onFocus),Ie.onBlur=yf(Q,Ie.onBlur),oe||(Ft.onFocus=$,Ft.onBlur=Q));const Mt={...o,isRtl:Y,arrow:s,disableInteractive:oe,placement:L,PopperComponentProp:M,touch:te.current},Ze=typeof N.popper=="function"?N.popper(Mt):N.popper,G=g.useMemo(()=>{let Fe=[{name:"arrow",enabled:!!X,options:{element:X,padding:4}}];return w.popperOptions?.modifiers&&(Fe=Fe.concat(w.popperOptions.modifiers)),Ze?.popperOptions?.modifiers&&(Fe=Fe.concat(Ze.popperOptions.modifiers)),{...w.popperOptions,...Ze?.popperOptions,modifiers:Fe}},[X,w.popperOptions,Ze?.popperOptions]),F=qk(Mt),Pe=typeof N.transition=="function"?N.transition(Mt):N.transition,Se={slots:{popper:u.Popper,transition:u.Transition??ne,tooltip:u.Tooltip,arrow:u.Arrow,...I},slotProps:{arrow:N.arrow??f.arrow,popper:{...w,...Ze??f.popper},tooltip:N.tooltip??f.tooltip,transition:{...J,...Pe??f.transition}}},[Te,Re]=lt("popper",{elementType:Zk,externalForwardedProps:Se,ownerState:Mt,className:ze(F.popper,w?.className)}),[Ue,Xe]=lt("transition",{elementType:bc,externalForwardedProps:Se,ownerState:Mt}),[rt,ut]=lt("tooltip",{elementType:Gk,className:F.tooltip,externalForwardedProps:Se,ownerState:Mt}),[Tt,Yt]=lt("arrow",{elementType:Uk,className:F.arrow,externalForwardedProps:Se,ownerState:Mt,ref:_});return p.jsxs(g.Fragment,{children:[g.cloneElement(re,Ie),p.jsx(Te,{as:M??Ed,placement:L,anchorEl:S?{getBoundingClientRect:()=>({top:Ll.y,left:Ll.x,right:Ll.x,bottom:Ll.y,width:0,height:0})}:E,popperRef:qe,open:E?Ae:!1,id:Ye,transition:!0,...Ft,...Re,popperOptions:G,children:({TransitionProps:Fe})=>p.jsx(Ue,{timeout:K.transitions.duration.shorter,...Fe,...Xe,children:p.jsxs(rt,{...ut,children:[W,s?p.jsx(Tt,{...Yt}):null]})})})]})}),qo=B7({createStyledComponent:fe("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>nt({props:e,name:"MuiStack"})});function Qk(e){return Qe("MuiSwitch",e)}const or=Ke("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Kk=e=>{const{classes:t,edge:n,size:o,color:s,checked:a,disabled:l}=e,u={root:["root",n&&`edge${ve(n)}`,`size${ve(o)}`],switchBase:["switchBase",`color${ve(s)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},f=_e(u,Qk,t);return{...t,...f}},_k=fe("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${ve(n.edge)}`],t[`size${ve(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${or.thumb}`]:{width:16,height:16},[`& .${or.switchBase}`]:{padding:4,[`&.${or.checked}`]:{transform:"translateX(16px)"}}}}]}),$k=fe(iy,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${or.input}`]:t.input},n.color!=="default"&&t[`color${ve(n.color)}`]]}})(tt(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${or.checked}`]:{transform:"translateX(20px)"},[`&.${or.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${or.checked} + .${or.track}`]:{opacity:.5},[`&.${or.disabled} + .${or.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${or.input}`]:{left:"-100%",width:"300%"}})),tt(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(fn(["light"])).map(([t])=>({props:{color:t},style:{[`&.${or.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${or.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?ji(e.palette[t].main,.62):Hi(e.palette[t].main,.55)}`}},[`&.${or.checked} + .${or.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),eT=fe("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(tt(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),tT=fe("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(tt(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),d1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiSwitch"}),{className:s,color:a="primary",edge:l=!1,size:u="medium",sx:f,slots:v={},slotProps:h={},...y}=o,b={...o,color:a,edge:l,size:u},j=Kk(b),x={slots:v,slotProps:h},[A,H]=lt("root",{className:ze(j.root,s),elementType:_k,externalForwardedProps:x,ownerState:b,additionalProps:{sx:f}}),[S,z]=lt("thumb",{className:j.thumb,elementType:tT,externalForwardedProps:x,ownerState:b}),C=p.jsx(S,{...z}),[O,D]=lt("track",{className:j.track,elementType:eT,externalForwardedProps:x,ownerState:b});return p.jsxs(A,{...H,children:[p.jsx($k,{type:"checkbox",icon:C,checkedIcon:C,ref:n,ownerState:b,...y,classes:{...j,root:j.switchBase},slots:{...v.switchBase&&{root:v.switchBase},...v.input&&{input:v.input}},slotProps:{...h.switchBase&&{root:typeof h.switchBase=="function"?h.switchBase(b):h.switchBase},...h.input&&{input:typeof h.input=="function"?h.input(b):h.input}}}),p.jsx(O,{...D})]})}),p1=g.createContext();function nT(e){return Qe("MuiTable",e)}Ke("MuiTable",["root","stickyHeader"]);const rT=e=>{const{classes:t,stickyHeader:n}=e;return _e({root:["root",n&&"stickyHeader"]},nT,t)},oT=fe("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),p8="table",v1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTable"}),{className:s,component:a=p8,padding:l="normal",size:u="medium",stickyHeader:f=!1,...v}=o,h={...o,component:a,padding:l,size:u,stickyHeader:f},y=rT(h),b=g.useMemo(()=>({padding:l,size:u,stickyHeader:f}),[l,u,f]);return p.jsx(p1.Provider,{value:b,children:p.jsx(oT,{as:a,role:a===p8?null:"table",ref:n,className:ze(y.root,s),ownerState:h,...v})})}),Vc=g.createContext();function sT(e){return Qe("MuiTableBody",e)}Ke("MuiTableBody",["root"]);const iT=e=>{const{classes:t}=e;return _e({root:["root"]},sT,t)},aT=fe("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),lT={variant:"body"},v8="tbody",h1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableBody"}),{className:s,component:a=v8,...l}=o,u={...o,component:a},f=iT(u);return p.jsx(Vc.Provider,{value:lT,children:p.jsx(aT,{className:ze(f.root,s),as:a,ref:n,role:a===v8?null:"rowgroup",ownerState:u,...l})})});function cT(e){return Qe("MuiTableCell",e)}const uT=Ke("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),fT=e=>{const{classes:t,variant:n,align:o,padding:s,size:a,stickyHeader:l}=e,u={root:["root",n,l&&"stickyHeader",o!=="inherit"&&`align${ve(o)}`,s!=="normal"&&`padding${ve(s)}`,`size${ve(a)}`]};return _e(u,cT,t)},dT=fe("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ve(n.size)}`],n.padding!=="normal"&&t[`padding${ve(n.padding)}`],n.align!=="inherit"&&t[`align${ve(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(tt(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid + ${e.palette.mode==="light"?ji(Pt(e.palette.divider,1),.88):Hi(Pt(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${uT.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),sr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableCell"}),{align:s="inherit",className:a,component:l,padding:u,scope:f,size:v,sortDirection:h,variant:y,...b}=o,j=g.useContext(p1),x=g.useContext(Vc),A=x&&x.variant==="head";let H;l?H=l:H=A?"th":"td";let S=f;H==="td"?S=void 0:!S&&A&&(S="col");const z=y||x&&x.variant,C={...o,align:s,component:H,padding:u||(j&&j.padding?j.padding:"normal"),size:v||(j&&j.size?j.size:"medium"),sortDirection:h,stickyHeader:z==="head"&&j&&j.stickyHeader,variant:z},O=fT(C);let D=null;return h&&(D=h==="asc"?"ascending":"descending"),p.jsx(dT,{as:H,ref:n,className:ze(O.root,a),"aria-sort":D,scope:S,ownerState:C,...b})});function pT(e){return Qe("MuiTableContainer",e)}Ke("MuiTableContainer",["root"]);const vT=e=>{const{classes:t}=e;return _e({root:["root"]},pT,t)},hT=fe("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),m1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableContainer"}),{className:s,component:a="div",...l}=o,u={...o,component:a},f=vT(u);return p.jsx(hT,{ref:n,as:a,className:ze(f.root,s),ownerState:u,...l})});function mT(e){return Qe("MuiTableFooter",e)}Ke("MuiTableFooter",["root"]);const yT=e=>{const{classes:t}=e;return _e({root:["root"]},mT,t)},gT=fe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),AT={variant:"footer"},h8="tfoot",PT=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableFooter"}),{className:s,component:a=h8,...l}=o,u={...o,component:a},f=yT(u);return p.jsx(Vc.Provider,{value:AT,children:p.jsx(gT,{as:a,className:ze(f.root,s),ref:n,role:a===h8?null:"rowgroup",ownerState:u,...l})})});function bT(e){return Qe("MuiTableHead",e)}Ke("MuiTableHead",["root"]);const xT=e=>{const{classes:t}=e;return _e({root:["root"]},bT,t)},wT=fe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),HT={variant:"head"},m8="thead",jT=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableHead"}),{className:s,component:a=m8,...l}=o,u={...o,component:a},f=xT(u);return p.jsx(Vc.Provider,{value:HT,children:p.jsx(wT,{as:a,className:ze(f.root,s),ref:n,role:a===m8?null:"rowgroup",ownerState:u,...l})})});function ST(e){return Qe("MuiToolbar",e)}Ke("MuiToolbar",["root","gutters","regular","dense"]);const zT=e=>{const{classes:t,disableGutters:n,variant:o}=e;return _e({root:["root",!n&&"gutters",o]},ST,t)},CT=fe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(tt(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.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}]}))),y1=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiToolbar"}),{className:s,component:a="div",disableGutters:l=!1,variant:u="regular",...f}=o,v={...o,component:a,disableGutters:l,variant:u},h=zT(v);return p.jsx(CT,{as:a,className:ze(h.root,s),ref:n,ownerState:v,...f})}),OT=At(p.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),DT=At(p.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight"),kT=g.forwardRef(function(t,n){const{backIconButtonProps:o,count:s,disabled:a=!1,getItemAriaLabel:l,nextIconButtonProps:u,onPageChange:f,page:v,rowsPerPage:h,showFirstButton:y,showLastButton:b,slots:j={},slotProps:x={},...A}=t,H=Mc(),S=q=>{f(q,0)},z=q=>{f(q,v-1)},C=q=>{f(q,v+1)},O=q=>{f(q,Math.max(0,Math.ceil(s/h)-1))},D=j.firstButton??hr,T=j.lastButton??hr,R=j.nextButton??hr,L=j.previousButton??hr,M=j.firstButtonIcon??ak,w=j.lastButtonIcon??lk,N=j.nextButtonIcon??DT,I=j.previousButtonIcon??OT,W=H?T:D,ne=H?R:L,J=H?L:R,U=H?D:T,re=H?x.lastButton:x.firstButton,K=H?x.nextButton:x.previousButton,Y=H?x.previousButton:x.nextButton,E=H?x.firstButton:x.lastButton;return p.jsxs("div",{ref:n,...A,children:[y&&p.jsx(W,{onClick:S,disabled:a||v===0,"aria-label":l("first",v),title:l("first",v),...re,children:H?p.jsx(w,{...x.lastButtonIcon}):p.jsx(M,{...x.firstButtonIcon})}),p.jsx(ne,{onClick:z,disabled:a||v===0,color:"inherit","aria-label":l("previous",v),title:l("previous",v),...K??o,children:H?p.jsx(N,{...x.nextButtonIcon}):p.jsx(I,{...x.previousButtonIcon})}),p.jsx(J,{onClick:C,disabled:a||(s!==-1?v>=Math.ceil(s/h)-1:!1),color:"inherit","aria-label":l("next",v),title:l("next",v),...Y??u,children:H?p.jsx(I,{...x.previousButtonIcon}):p.jsx(N,{...x.nextButtonIcon})}),b&&p.jsx(U,{onClick:O,disabled:a||v>=Math.ceil(s/h)-1,"aria-label":l("last",v),title:l("last",v),...E,children:H?p.jsx(M,{...x.firstButtonIcon}):p.jsx(w,{...x.lastButtonIcon})})]})});function TT(e){return Qe("MuiTablePagination",e)}const cc=Ke("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]);var y8;const ET=fe(sr,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(tt(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}))),RT=fe(y1,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>({[`& .${cc.actions}`]:t.actions,...t.toolbar})})(tt(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${cc.actions}`]:{flexShrink:0,marginLeft:20}}))),MT=fe("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),LT=fe("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0}))),XT=fe(Hc,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>({[`& .${cc.selectIcon}`]:t.selectIcon,[`& .${cc.select}`]:t.select,...t.input,...t.selectRoot})})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${cc.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),NT=fe(Vo,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),BT=fe("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(tt(({theme:e})=>({...e.typography.body2,flexShrink:0})));function VT({from:e,to:t,count:n}){return`${e}–${t} of ${n!==-1?n:`more than ${t}`}`}function IT(e){return`Go to ${e} page`}const WT=e=>{const{classes:t}=e;return _e({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},TT,t)},JT=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTablePagination"}),{ActionsComponent:s=kT,backIconButtonProps:a,colSpan:l,component:u=sr,count:f,disabled:v=!1,getItemAriaLabel:h=IT,labelDisplayedRows:y=VT,labelRowsPerPage:b="Rows per page:",nextIconButtonProps:j,onPageChange:x,onRowsPerPageChange:A,page:H,rowsPerPage:S,rowsPerPageOptions:z=[10,25,50,100],SelectProps:C={},showFirstButton:O=!1,showLastButton:D=!1,slotProps:T={},slots:R={},...L}=o,M=o,w=WT(M),N=T?.select??C,I=N.native?"option":NT;let W;(u===sr||u==="td")&&(W=l||1e3);const ne=$r(N.id),J=$r(N.labelId),U=()=>f===-1?(H+1)*S:S===-1?f:Math.min(f,(H+1)*S),re={slots:R,slotProps:T},[K,Y]=lt("root",{ref:n,className:w.root,elementType:ET,externalForwardedProps:{...re,component:u,...L},ownerState:M,additionalProps:{colSpan:W}}),[E,q]=lt("toolbar",{className:w.toolbar,elementType:RT,externalForwardedProps:re,ownerState:M}),[X,_]=lt("spacer",{className:w.spacer,elementType:MT,externalForwardedProps:re,ownerState:M}),[te,oe]=lt("selectLabel",{className:w.selectLabel,elementType:LT,externalForwardedProps:re,ownerState:M,additionalProps:{id:J}}),[le,be]=lt("select",{className:w.select,elementType:XT,externalForwardedProps:re,ownerState:M}),[ie,xe]=lt("menuItem",{className:w.menuItem,elementType:I,externalForwardedProps:re,ownerState:M}),[Oe,Le]=lt("displayedRows",{className:w.displayedRows,elementType:BT,externalForwardedProps:re,ownerState:M});return p.jsx(K,{...Y,children:p.jsxs(E,{...q,children:[p.jsx(X,{..._}),z.length>1&&p.jsx(te,{...oe,children:b}),z.length>1&&p.jsx(le,{variant:"standard",...!N.variant&&{input:y8||(y8=p.jsx(Bd,{}))},value:S,onChange:A,id:ne,labelId:J,...N,classes:{...N.classes,root:ze(w.input,w.selectRoot,(N.classes||{}).root),select:ze(w.select,(N.classes||{}).select),icon:ze(w.selectIcon,(N.classes||{}).icon)},disabled:v,...be,children:z.map(Ae=>g.createElement(ie,{...xe,key:Ae.label?Ae.label:Ae,value:Ae.value?Ae.value:Ae},Ae.label?Ae.label:Ae))}),p.jsx(Oe,{...Le,children:y({from:f===0?0:H*S+1,to:U(),count:f===-1?-1:f,page:H})}),p.jsx(s,{className:w.actions,backIconButtonProps:a,count:f,nextIconButtonProps:j,onPageChange:x,page:H,rowsPerPage:S,showFirstButton:O,showLastButton:D,slotProps:T.actions,slots:R.actions,getItemAriaLabel:h,disabled:v})]})})});function FT(e){return Qe("MuiTableRow",e)}const g8=Ke("MuiTableRow",["root","selected","hover","head","footer"]),YT=e=>{const{classes:t,selected:n,hover:o,head:s,footer:a}=e;return _e({root:["root",n&&"selected",o&&"hover",s&&"head",a&&"footer"]},FT,t)},qT=fe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(tt(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${g8.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${g8.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Pt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),A8="tr",nd=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTableRow"}),{className:s,component:a=A8,hover:l=!1,selected:u=!1,...f}=o,v=g.useContext(Vc),h={...o,component:a,hover:l,selected:u,head:v&&v.variant==="head",footer:v&&v.variant==="footer"},y=YT(h);return p.jsx(qT,{as:a,ref:n,className:ze(y.root,s),role:a===A8?null:"row",ownerState:h,...f})});function ZT(e){return Qe("MuiTextField",e)}Ke("MuiTextField",["root"]);const GT={standard:cy,filled:ly,outlined:fy},UT=e=>{const{classes:t}=e;return _e({root:["root"]},ZT,t)},QT=fe(rr,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Gr=g.forwardRef(function(t,n){const o=nt({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:a=!1,children:l,className:u,color:f="primary",defaultValue:v,disabled:h=!1,error:y=!1,FormHelperTextProps:b,fullWidth:j=!1,helperText:x,id:A,InputLabelProps:H,inputProps:S,InputProps:z,inputRef:C,label:O,maxRows:D,minRows:T,multiline:R=!1,name:L,onBlur:M,onChange:w,onFocus:N,placeholder:I,required:W=!1,rows:ne,select:J=!1,SelectProps:U,slots:re={},slotProps:K={},type:Y,value:E,variant:q="outlined",...X}=o,_={...o,autoFocus:a,color:f,disabled:h,error:y,fullWidth:j,multiline:R,required:W,select:J,variant:q},te=UT(_),oe=$r(A),le=x&&oe?`${oe}-helper-text`:void 0,be=O&&oe?`${oe}-label`:void 0,ie=GT[q],xe={slots:re,slotProps:{input:z,inputLabel:H,htmlInput:S,formHelperText:b,select:U,...K}},Oe={},Le=xe.slotProps.inputLabel;q==="outlined"&&(Le&&typeof Le.shrink<"u"&&(Oe.notched=Le.shrink),Oe.label=O),J&&((!U||!U.native)&&(Oe.id=void 0),Oe["aria-describedby"]=void 0);const[Ae,Ye]=lt("root",{elementType:QT,shouldForwardComponentProp:!0,externalForwardedProps:{...xe,...X},ownerState:_,className:ze(te.root,u),ref:n,additionalProps:{disabled:h,error:y,fullWidth:j,required:W,color:f,variant:q}}),[ye,Je]=lt("input",{elementType:ie,externalForwardedProps:xe,additionalProps:Oe,ownerState:_}),[yt,Me]=lt("inputLabel",{elementType:Lf,externalForwardedProps:xe,ownerState:_}),[ht,ct]=lt("htmlInput",{elementType:"input",externalForwardedProps:xe,ownerState:_}),[B,Q]=lt("formHelperText",{elementType:ya,externalForwardedProps:xe,ownerState:_}),[$,we]=lt("select",{elementType:Hc,externalForwardedProps:xe,ownerState:_}),ce=p.jsx(ye,{"aria-describedby":le,autoComplete:s,autoFocus:a,defaultValue:v,fullWidth:j,multiline:R,name:L,rows:ne,maxRows:D,minRows:T,type:Y,value:E,id:oe,inputRef:C,onBlur:M,onChange:w,onFocus:N,placeholder:I,inputProps:ct,slots:{input:re.htmlInput?ht:void 0},...Je});return p.jsxs(Ae,{...Ye,children:[O!=null&&O!==""&&p.jsx(yt,{htmlFor:oe,id:be,...Me,children:O}),J?p.jsx($,{"aria-describedby":le,id:oe,labelId:be,value:E,input:ce,...we,children:l}):ce,x&&p.jsx(B,{id:le,...Q,children:x})]})}),Hn="/hub",Vd="/services/japps",vy=["Environments"],KT=["Any","Owned by me","Shared with me"],_T=["Recently modified","Name: A-Z","Name: Z-A"],$T=["Running","Ready","Pending","Unknown"],hy="startAppId";var Ba=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Oi=typeof window>"u"||"Deno"in globalThis;function ir(){}function eE(e,t){return typeof e=="function"?e(t):e}function nm(e){return typeof e=="number"&&e>=0&&e!==1/0}function g1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Fs(e,t){return typeof e=="function"?e(t):e}function Ur(e,t){return typeof e=="function"?e(t):e}function P8(e,t){const{type:n="all",exact:o,fetchStatus:s,predicate:a,queryKey:l,stale:u}=e;if(l){if(o){if(t.queryHash!==my(l,t.options))return!1}else if(!jc(t.queryKey,l))return!1}if(n!=="all"){const f=t.isActive();if(n==="active"&&!f||n==="inactive"&&f)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||s&&s!==t.state.fetchStatus||a&&!a(t))}function b8(e,t){const{exact:n,status:o,predicate:s,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(Di(t.options.mutationKey)!==Di(a))return!1}else if(!jc(t.options.mutationKey,a))return!1}return!(o&&t.state.status!==o||s&&!s(t))}function my(e,t){return(t?.queryKeyHashFn||Di)(e)}function Di(e){return JSON.stringify(e,(t,n)=>rm(n)?Object.keys(n).sort().reduce((o,s)=>(o[s]=n[s],o),{}):n)}function jc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>jc(e[n],t[n])):!1}function A1(e,t){if(e===t)return e;const n=x8(e)&&x8(t);if(n||rm(e)&&rm(t)){const o=n?e:Object.keys(e),s=o.length,a=n?t:Object.keys(t),l=a.length,u=n?[]:{},f=new Set(o);let v=0;for(let h=0;h{setTimeout(t,e)})}function om(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?A1(e,t):t}function nE(e,t,n=0){const o=[...e,t];return n&&o.length>n?o.slice(1):o}function rE(e,t,n=0){const o=[t,...e];return n&&o.length>n?o.slice(0,-1):o}var yy=Symbol();function P1(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===yy?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function b1(e,t){return typeof e=="function"?e(...t):!!e}var oE=class extends Ba{#t;#e;#n;constructor(){super(),this.#n=e=>{if(!Oi&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}},gy=new oE,sE=class extends Ba{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(!Oi&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(n=>{n(e)}))}isOnline(){return this.#t}},od=new sE;function sm(){let e,t;const n=new Promise((s,a)=>{e=s,t=a});n.status="pending",n.catch(()=>{});function o(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{o({status:"fulfilled",value:s}),e(s)},n.reject=s=>{o({status:"rejected",reason:s}),t(s)},n}function iE(e){return Math.min(1e3*2**e,3e4)}function x1(e){return(e??"online")==="online"?od.isOnline():!0}var w1=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function vh(e){return e instanceof w1}function H1(e){let t=!1,n=0,o=!1,s;const a=sm(),l=A=>{o||(b(new w1(A)),e.abort?.())},u=()=>{t=!0},f=()=>{t=!1},v=()=>gy.isFocused()&&(e.networkMode==="always"||od.isOnline())&&e.canRun(),h=()=>x1(e.networkMode)&&e.canRun(),y=A=>{o||(o=!0,e.onSuccess?.(A),s?.(),a.resolve(A))},b=A=>{o||(o=!0,e.onError?.(A),s?.(),a.reject(A))},j=()=>new Promise(A=>{s=H=>{(o||v())&&A(H)},e.onPause?.()}).then(()=>{s=void 0,o||e.onContinue?.()}),x=()=>{if(o)return;let A;const H=n===0?e.initialPromise:void 0;try{A=H??e.fn()}catch(S){A=Promise.reject(S)}Promise.resolve(A).then(y).catch(S=>{if(o)return;const z=e.retry??(Oi?0:3),C=e.retryDelay??iE,O=typeof C=="function"?C(n,S):C,D=z===!0||typeof z=="number"&&nv()?void 0:j()).then(()=>{t?b(S):x()})})};return{promise:a,cancel:l,continue:()=>(s?.(),a),cancelRetry:u,continueRetry:f,canStart:h,start:()=>(h()?x():j().then(x),a)}}var aE=e=>setTimeout(e,0);function lE(){let e=[],t=0,n=u=>{u()},o=u=>{u()},s=aE;const a=u=>{t?e.push(u):s(()=>{n(u)})},l=()=>{const u=e;e=[],u.length&&s(()=>{o(()=>{u.forEach(f=>{n(f)})})})};return{batch:u=>{let f;t++;try{f=u()}finally{t--,t||l()}return f},batchCalls:u=>(...f)=>{a(()=>{u(...f)})},schedule:a,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{o=u},setScheduler:u=>{s=u}}}var Mn=lE(),j1=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),nm(this.gcTime)&&(this.#t=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Oi?1/0:5*60*1e3))}clearGcTimeout(){this.#t&&(clearTimeout(this.#t),this.#t=void 0)}},cE=class extends j1{#t;#e;#n;#r;#o;#i;#a;constructor(e){super(),this.#a=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.client,this.#n=this.#r.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=uE(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#o?.promise}setOptions(e){this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=om(this.state.data,e,this.options);return this.#s({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#s({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#o?.promise;return this.#o?.cancel(e),t?t.then(ir).catch(ir):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#t)}isActive(){return this.observers.some(e=>Ur(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===yy||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>Fs(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!g1(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#o?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#o?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#o&&(this.#a?this.#o.cancel({revert:!0}):this.#o.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}fetch(e,t){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#o)return this.#o.continueRetry(),this.#o.promise}if(e&&this.setOptions(e),!this.options.queryFn){const f=this.observers.find(v=>v.options.queryFn);f&&this.setOptions(f.options)}const n=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(this.#a=!0,n.signal)})},s=()=>{const f=P1(this.options,t),h=(()=>{const y={client:this.#r,queryKey:this.queryKey,meta:this.meta};return o(y),y})();return this.#a=!1,this.options.persister?this.options.persister(f,h,this):f(h)},l=(()=>{const f={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#r,state:this.state,fetchFn:s};return o(f),f})();this.options.behavior?.onFetch(l,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#s({type:"fetch",meta:l.fetchOptions?.meta});const u=f=>{vh(f)&&f.silent||this.#s({type:"error",error:f}),vh(f)||(this.#n.config.onError?.(f,this),this.#n.config.onSettled?.(this.state.data,f,this)),this.scheduleGc()};return this.#o=H1({initialPromise:t?.initialPromise,fn:l.fetchFn,abort:n.abort.bind(n),onSuccess:f=>{if(f===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(v){u(v);return}this.#n.config.onSuccess?.(f,this),this.#n.config.onSettled?.(f,this.state.error,this),this.scheduleGc()},onError:u,onFail:(f,v)=>{this.#s({type:"failed",failureCount:f,error:v})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}),this.#o.start()}#s(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...S1(n.data,this.options),fetchMeta:e.meta??null};case"success":return this.#e=void 0,{...n,data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=e.error;return vh(o)&&o.revert&&this.#e?{...this.#e,fetchStatus:"idle"}:{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),Mn.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function S1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:x1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function uE(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,o=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var fE=class extends Ba{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const o=t.queryKey,s=t.queryHash??my(o,t);let a=this.get(s);return a||(a=new cE({client:e,queryKey:o,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(a)),a}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#t.get(e.queryHash);t&&(e.destroy(),t===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){Mn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>P8(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>P8(e,n)):t}notify(e){Mn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){Mn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){Mn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},dE=class extends j1{#t;#e;#n;constructor(e){super(),this.mutationId=e.mutationId,this.#e=e.mutationCache,this.#t=[],this.state=e.state||z1(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#e.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})};this.#n=H1({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(s,a)=>{this.#r({type:"failed",failureCount:s,error:a})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});const n=this.state.status==="pending",o=!this.#n.canStart();try{if(n)t();else{this.#r({type:"pending",variables:e,isPaused:o}),await this.#e.config.onMutate?.(e,this);const a=await this.options.onMutate?.(e);a!==this.state.context&&this.#r({type:"pending",context:a,variables:e,isPaused:o})}const s=await this.#n.start();return await this.#e.config.onSuccess?.(s,e,this.state.context,this),await this.options.onSuccess?.(s,e,this.state.context),await this.#e.config.onSettled?.(s,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(s,null,e,this.state.context),this.#r({type:"success",data:s}),s}catch(s){try{throw await this.#e.config.onError?.(s,e,this.state.context,this),await this.options.onError?.(s,e,this.state.context),await this.#e.config.onSettled?.(void 0,s,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,s,e,this.state.context),s}finally{this.#r({type:"error",error:s})}}finally{this.#e.runNext(this)}}#r(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),Mn.batch(()=>{this.#t.forEach(n=>{n.onMutationUpdate(e)}),this.#e.notify({mutation:this,type:"updated",action:e})})}};function z1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var pE=class extends Ba{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,n){const o=new dE({mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(o),o}add(e){this.#t.add(e);const t=gf(e);if(typeof t=="string"){const n=this.#e.get(t);n?n.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=gf(e);if(typeof t=="string"){const n=this.#e.get(t);if(n)if(n.length>1){const o=n.indexOf(e);o!==-1&&n.splice(o,1)}else n[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=gf(e);if(typeof t=="string"){const o=this.#e.get(t)?.find(s=>s.state.status==="pending");return!o||o===e}else return!0}runNext(e){const t=gf(e);return typeof t=="string"?this.#e.get(t)?.find(o=>o!==e&&o.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){Mn.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>b8(t,n))}findAll(e={}){return this.getAll().filter(t=>b8(e,t))}notify(e){Mn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return Mn.batch(()=>Promise.all(e.map(t=>t.continue().catch(ir))))}};function gf(e){return e.options.scope?.id}function H8(e){return{onFetch:(t,n)=>{const o=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],l=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},f=0;const v=async()=>{let h=!1;const y=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},b=P1(t.options,t.fetchOptions),j=async(x,A,H)=>{if(h)return Promise.reject();if(A==null&&x.pages.length)return Promise.resolve(x);const z=(()=>{const T={client:t.client,queryKey:t.queryKey,pageParam:A,direction:H?"backward":"forward",meta:t.options.meta};return y(T),T})(),C=await b(z),{maxPages:O}=t.options,D=H?rE:nE;return{pages:D(x.pages,C,O),pageParams:D(x.pageParams,A,O)}};if(s&&a.length){const x=s==="backward",A=x?vE:j8,H={pages:a,pageParams:l},S=A(o,H);u=await j(H,S,x)}else{const x=e??a.length;do{const A=f===0?l[0]??o.initialPageParam:j8(o,u);if(f>0&&A==null)break;u=await j(u,A),f++}while(ft.options.persister?.(v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=v}}}function j8(e,{pages:t,pageParams:n}){const o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,n[o],n):void 0}function vE(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var hE=class{#t;#e;#n;#r;#o;#i;#a;#s;constructor(e={}){this.#t=e.queryCache||new fE,this.#e=e.mutationCache||new pE,this.#n=e.defaultOptions||{},this.#r=new Map,this.#o=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#a=gy.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#s=od.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#a?.(),this.#a=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#t.build(this,t),o=n.state.data;return o===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Fs(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:n})=>{const o=n.data;return[t,o]})}setQueryData(e,t,n){const o=this.defaultQueryOptions({queryKey:e}),a=this.#t.get(o.queryHash)?.state.data,l=eE(t,a);if(l!==void 0)return this.#t.build(this,o).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Mn.batch(()=>this.#t.findAll(e).map(({queryKey:o})=>[o,this.setQueryData(o,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;Mn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return Mn.batch(()=>(n.findAll(e).forEach(o=>{o.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},o=Mn.batch(()=>this.#t.findAll(e).map(s=>s.cancel(n)));return Promise.all(o).then(ir).catch(ir)}invalidateQueries(e,t={}){return Mn.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},o=Mn.batch(()=>this.#t.findAll(e).filter(s=>!s.isDisabled()&&!s.isStatic()).map(s=>{let a=s.fetch(void 0,n);return n.throwOnError||(a=a.catch(ir)),s.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(o).then(ir)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(Fs(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ir).catch(ir)}fetchInfiniteQuery(e){return e.behavior=H8(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ir).catch(ir)}ensureInfiniteQueryData(e){return e.behavior=H8(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return od.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Di(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(o=>{jc(e,o.queryKey)&&Object.assign(n,o.defaultOptions)}),n}setMutationDefaults(e,t){this.#o.set(Di(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#o.values()],n={};return t.forEach(o=>{jc(e,o.mutationKey)&&Object.assign(n,o.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=my(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===yy&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}},mE=class extends Ba{constructor(e,t){super(),this.options=t,this.#t=e,this.#s=null,this.#a=sm(),this.options.experimental_prefetchInRender||this.#a.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#r=void 0;#o;#i;#a;#s;#h;#d;#p;#c;#u;#l;#v=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),S8(this.#e,this.options)?this.#f():this.updateResult(),this.#A())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return im(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return im(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#P(),this.#b(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Ur(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#x(),this.#e.setOptions(this.options),t._defaulted&&!rd(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const o=this.hasListeners();o&&z8(this.#e,n,this.options,t)&&this.#f(),this.updateResult(),o&&(this.#e!==n||Ur(this.options.enabled,this.#e)!==Ur(t.enabled,this.#e)||Fs(this.options.staleTime,this.#e)!==Fs(t.staleTime,this.#e))&&this.#m();const s=this.#y();o&&(this.#e!==n||Ur(this.options.enabled,this.#e)!==Ur(t.enabled,this.#e)||s!==this.#l)&&this.#g(s)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return gE(this,n)&&(this.#r=n,this.#i=this.options,this.#o=this.#e.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,o)=>(this.trackProp(o),t?.(o),Reflect.get(n,o))})}trackProp(e){this.#v.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#f(e){this.#x();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(ir)),t}#m(){this.#P();const e=Fs(this.options.staleTime,this.#e);if(Oi||this.#r.isStale||!nm(e))return;const n=g1(this.#r.dataUpdatedAt,e)+1;this.#c=setTimeout(()=>{this.#r.isStale||this.updateResult()},n)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#g(e){this.#b(),this.#l=e,!(Oi||Ur(this.options.enabled,this.#e)===!1||!nm(this.#l)||this.#l===0)&&(this.#u=setInterval(()=>{(this.options.refetchIntervalInBackground||gy.isFocused())&&this.#f()},this.#l))}#A(){this.#m(),this.#g(this.#y())}#P(){this.#c&&(clearTimeout(this.#c),this.#c=void 0)}#b(){this.#u&&(clearInterval(this.#u),this.#u=void 0)}createResult(e,t){const n=this.#e,o=this.options,s=this.#r,a=this.#o,l=this.#i,f=e!==n?e.state:this.#n,{state:v}=e;let h={...v},y=!1,b;if(t._optimisticResults){const L=this.hasListeners(),M=!L&&S8(e,t),w=L&&z8(e,n,t,o);(M||w)&&(h={...h,...S1(v.data,e.options)}),t._optimisticResults==="isRestoring"&&(h.fetchStatus="idle")}let{error:j,errorUpdatedAt:x,status:A}=h;b=h.data;let H=!1;if(t.placeholderData!==void 0&&b===void 0&&A==="pending"){let L;s?.isPlaceholderData&&t.placeholderData===l?.placeholderData?(L=s.data,H=!0):L=typeof t.placeholderData=="function"?t.placeholderData(this.#p?.state.data,this.#p):t.placeholderData,L!==void 0&&(A="success",b=om(s?.data,L,t),y=!0)}if(t.select&&b!==void 0&&!H)if(s&&b===a?.data&&t.select===this.#h)b=this.#d;else try{this.#h=t.select,b=t.select(b),b=om(s?.data,b,t),this.#d=b,this.#s=null}catch(L){this.#s=L}this.#s&&(j=this.#s,b=this.#d,x=Date.now(),A="error");const S=h.fetchStatus==="fetching",z=A==="pending",C=A==="error",O=z&&S,D=b!==void 0,R={status:A,fetchStatus:h.fetchStatus,isPending:z,isSuccess:A==="success",isError:C,isInitialLoading:O,isLoading:O,data:b,dataUpdatedAt:h.dataUpdatedAt,error:j,errorUpdatedAt:x,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>f.dataUpdateCount||h.errorUpdateCount>f.errorUpdateCount,isFetching:S,isRefetching:S&&!z,isLoadingError:C&&!D,isPaused:h.fetchStatus==="paused",isPlaceholderData:y,isRefetchError:C&&D,isStale:Ay(e,t),refetch:this.refetch,promise:this.#a,isEnabled:Ur(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const L=N=>{R.status==="error"?N.reject(R.error):R.data!==void 0&&N.resolve(R.data)},M=()=>{const N=this.#a=R.promise=sm();L(N)},w=this.#a;switch(w.status){case"pending":e.queryHash===n.queryHash&&L(w);break;case"fulfilled":(R.status==="error"||R.data!==w.value)&&M();break;case"rejected":(R.status!=="error"||R.error!==w.reason)&&M();break}}return R}updateResult(){const e=this.#r,t=this.createResult(this.#e,this.options);if(this.#o=this.#e.state,this.#i=this.options,this.#o.data!==void 0&&(this.#p=this.#e),rd(t,e))return;this.#r=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:o}=this.options,s=typeof o=="function"?o():o;if(s==="all"||!s&&!this.#v.size)return!0;const a=new Set(s??this.#v);return this.options.throwOnError&&a.add("error"),Object.keys(this.#r).some(l=>{const u=l;return this.#r[u]!==e[u]&&a.has(u)})};this.#w({listeners:n()})}#x(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#A()}#w(e){Mn.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#r)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function yE(e,t){return Ur(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function S8(e,t){return yE(e,t)||e.state.data!==void 0&&im(e,t,t.refetchOnMount)}function im(e,t,n){if(Ur(t.enabled,e)!==!1&&Fs(t.staleTime,e)!=="static"){const o=typeof n=="function"?n(e):n;return o==="always"||o!==!1&&Ay(e,t)}return!1}function z8(e,t,n,o){return(e!==t||Ur(o.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Ay(e,n)}function Ay(e,t){return Ur(t.enabled,e)!==!1&&e.isStaleByTime(Fs(t.staleTime,e))}function gE(e,t){return!rd(e.getCurrentResult(),t)}var AE=class extends Ba{#t;#e=void 0;#n;#r;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#o()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#t.defaultMutationOptions(t),rd(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Di(n.mutationKey)!==Di(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#o(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#o(),this.#i()}mutate(t,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#o(){const t=this.#n?.state??z1();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){Mn.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#e.variables,o=this.#e.context;t?.type==="success"?(this.#r.onSuccess?.(t.data,n,o),this.#r.onSettled?.(t.data,null,n,o)):t?.type==="error"&&(this.#r.onError?.(t.error,n,o),this.#r.onSettled?.(void 0,t.error,n,o))}this.listeners.forEach(n=>{n(this.#e)})})}},C1=g.createContext(void 0),Id=e=>{const t=g.useContext(C1);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},PE=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(C1.Provider,{value:e,children:t})),O1=g.createContext(!1),bE=()=>g.useContext(O1);O1.Provider;function xE(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var wE=g.createContext(xE()),HE=()=>g.useContext(wE),jE=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},SE=e=>{g.useEffect(()=>{e.clearReset()},[e])},zE=({result:e,errorResetBoundary:t,throwOnError:n,query:o,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&o&&(s&&e.data===void 0||b1(n,[e.error,o])),CE=e=>{if(e.suspense){const t=o=>o==="static"?o:Math.max(o??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...o)=>t(n(...o)):t(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},OE=(e,t)=>e.isLoading&&e.isFetching&&!t,DE=(e,t)=>e?.suspense&&t.isPending,C8=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function kE(e,t,n){const o=bE(),s=HE(),a=Id(),l=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(l),l._optimisticResults=o?"isRestoring":"optimistic",CE(l),jE(l,s),SE(s);const u=!a.getQueryCache().get(l.queryHash),[f]=g.useState(()=>new t(a,l)),v=f.getOptimisticResult(l),h=!o&&e.subscribed!==!1;if(g.useSyncExternalStore(g.useCallback(y=>{const b=h?f.subscribe(Mn.batchCalls(y)):ir;return f.updateResult(),b},[f,h]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),g.useEffect(()=>{f.setOptions(l)},[l,f]),DE(l,v))throw C8(l,f,s);if(zE({result:v,errorResetBoundary:s,throwOnError:l.throwOnError,query:a.getQueryCache().get(l.queryHash),suspense:l.suspense}))throw v.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(l,v),l.experimental_prefetchInRender&&!Oi&&OE(v,o)&&(u?C8(l,f,s):a.getQueryCache().get(l.queryHash)?.promise)?.catch(ir).finally(()=>{f.updateResult()}),l.notifyOnChangeProps?v:f.trackResult(v)}function qn(e,t){return kE(e,mE)}function Ra(e,t){const n=Id(),[o]=g.useState(()=>new AE(n,e));g.useEffect(()=>{o.setOptions(e)},[o,e]);const s=g.useSyncExternalStore(g.useCallback(l=>o.subscribe(Mn.batchCalls(l)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),a=g.useCallback((l,u)=>{o.mutate(l,u).catch(ir)},[o]);if(s.error&&b1(o.options.throwOnError,[s.error]))throw s.error;return{...s,mutate:a,mutateAsync:s.mutate}}var Af={},O8;function TE(){if(O8)return Af;O8=1;var e=Tw();return Af.createRoot=e.createRoot,Af.hydrateRoot=e.hydrateRoot,Af}var EE=TE();const RE=vd(EE);/** + * react-router v7.7.1 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */var D8="popstate";function ME(e={}){function t(o,s){let{pathname:a,search:l,hash:u}=o.location;return am("",{pathname:a,search:l,hash:u},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function n(o,s){return typeof s=="string"?s:Sc(s)}return XE(t,n,null,e)}function dn(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function LE(){return Math.random().toString(36).substring(2,10)}function k8(e,t){return{usr:e.state,key:e.key,idx:t}}function am(e,t,n=null,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Va(t):t,state:n,key:t&&t.key||o||LE()}}function Sc({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Va(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substring(o),e=e.substring(0,o)),e&&(t.pathname=e)}return t}function XE(e,t,n,o={}){let{window:s=document.defaultView,v5Compat:a=!1}=o,l=s.history,u="POP",f=null,v=h();v==null&&(v=0,l.replaceState({...l.state,idx:v},""));function h(){return(l.state||{idx:null}).idx}function y(){u="POP";let H=h(),S=H==null?null:H-v;v=H,f&&f({action:u,location:A.location,delta:S})}function b(H,S){u="PUSH";let z=am(A.location,H,S);v=h()+1;let C=k8(z,v),O=A.createHref(z);try{l.pushState(C,"",O)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;s.location.assign(O)}a&&f&&f({action:u,location:A.location,delta:1})}function j(H,S){u="REPLACE";let z=am(A.location,H,S);v=h();let C=k8(z,v),O=A.createHref(z);l.replaceState(C,"",O),a&&f&&f({action:u,location:A.location,delta:0})}function x(H){return NE(H)}let A={get action(){return u},get location(){return e(s,l)},listen(H){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(D8,y),f=H,()=>{s.removeEventListener(D8,y),f=null}},createHref(H){return t(s,H)},createURL:x,encodeLocation(H){let S=x(H);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:b,replace:j,go(H){return l.go(H)}};return A}function NE(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),dn(n,"No window.location.(origin|href) available to create URL");let o=typeof e=="string"?e:Sc(e);return o=o.replace(/ $/,"%20"),!t&&o.startsWith("//")&&(o=n+o),new URL(o,n)}function D1(e,t,n="/"){return BE(e,t,n,!1)}function BE(e,t,n,o){let s=typeof t=="string"?Va(t):t,a=hs(s.pathname||"/",n);if(a==null)return null;let l=k1(e);VE(l);let u=null;for(let f=0;u==null&&f{let f={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:l,route:a};f.relativePath.startsWith("/")&&(dn(f.relativePath.startsWith(o),`Absolute route path "${f.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),f.relativePath=f.relativePath.slice(o.length));let v=fs([o,f.relativePath]),h=n.concat(f);a.children&&a.children.length>0&&(dn(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),k1(a.children,t,h,v)),!(a.path==null&&!a.index)&&t.push({path:v,score:ZE(v,a.index),routesMeta:h})};return e.forEach((a,l)=>{if(a.path===""||!a.path?.includes("?"))s(a,l);else for(let u of T1(a.path))s(a,l,u)}),t}function T1(e){let t=e.split("/");if(t.length===0)return[];let[n,...o]=t,s=n.endsWith("?"),a=n.replace(/\?$/,"");if(o.length===0)return s?[a,""]:[a];let l=T1(o.join("/")),u=[];return u.push(...l.map(f=>f===""?a:[a,f].join("/"))),s&&u.push(...l),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function VE(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:GE(t.routesMeta.map(o=>o.childrenIndex),n.routesMeta.map(o=>o.childrenIndex)))}var IE=/^:[\w-]+$/,WE=3,JE=2,FE=1,YE=10,qE=-2,T8=e=>e==="*";function ZE(e,t){let n=e.split("/"),o=n.length;return n.some(T8)&&(o+=qE),t&&(o+=JE),n.filter(s=>!T8(s)).reduce((s,a)=>s+(IE.test(a)?WE:a===""?FE:YE),o)}function GE(e,t){return e.length===t.length&&e.slice(0,-1).every((o,s)=>o===t[s])?e[e.length-1]-t[t.length-1]:0}function UE(e,t,n=!1){let{routesMeta:o}=e,s={},a="/",l=[];for(let u=0;u{if(h==="*"){let x=u[b]||"";l=a.slice(0,a.length-x.length).replace(/(.)\/+$/,"$1")}const j=u[b];return y&&!j?v[h]=void 0:v[h]=(j||"").replace(/%2F/g,"/"),v},{}),pathname:a,pathnameBase:l,pattern:e}}function QE(e,t=!1,n=!0){xo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,u,f)=>(o.push({paramName:u,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),o]}function KE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function hs(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function _E(e,t="/"){let{pathname:n,search:o="",hash:s=""}=typeof e=="string"?Va(e):e;return{pathname:n?n.startsWith("/")?n:$E(n,t):t,search:nR(o),hash:rR(s)}}function $E(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function hh(e,t,n,o){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function eR(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function E1(e){let t=eR(e);return t.map((n,o)=>o===t.length-1?n.pathname:n.pathnameBase)}function R1(e,t,n,o=!1){let s;typeof e=="string"?s=Va(e):(s={...e},dn(!s.pathname||!s.pathname.includes("?"),hh("?","pathname","search",s)),dn(!s.pathname||!s.pathname.includes("#"),hh("#","pathname","hash",s)),dn(!s.search||!s.search.includes("#"),hh("#","search","hash",s)));let a=e===""||s.pathname==="",l=a?"/":s.pathname,u;if(l==null)u=n;else{let y=t.length-1;if(!o&&l.startsWith("..")){let b=l.split("/");for(;b[0]==="..";)b.shift(),y-=1;s.pathname=b.join("/")}u=y>=0?t[y]:"/"}let f=_E(s,u),v=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(v||h)&&(f.pathname+="/"),f}var fs=e=>e.join("/").replace(/\/\/+/g,"/"),tR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),nR=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,rR=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function oR(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var M1=["POST","PUT","PATCH","DELETE"];new Set(M1);var sR=["GET",...M1];new Set(sR);var Ia=g.createContext(null);Ia.displayName="DataRouter";var Wd=g.createContext(null);Wd.displayName="DataRouterState";g.createContext(!1);var L1=g.createContext({isTransitioning:!1});L1.displayName="ViewTransition";var iR=g.createContext(new Map);iR.displayName="Fetchers";var aR=g.createContext(null);aR.displayName="Await";var Zo=g.createContext(null);Zo.displayName="Navigation";var Ic=g.createContext(null);Ic.displayName="Location";var ms=g.createContext({outlet:null,matches:[],isDataRoute:!1});ms.displayName="Route";var Py=g.createContext(null);Py.displayName="RouteError";function lR(e,{relative:t}={}){dn(Wc(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:o}=g.useContext(Zo),{hash:s,pathname:a,search:l}=Jc(e,{relative:t}),u=a;return n!=="/"&&(u=a==="/"?n:fs([n,a])),o.createHref({pathname:u,search:l,hash:s})}function Wc(){return g.useContext(Ic)!=null}function Qs(){return dn(Wc(),"useLocation() may be used only in the context of a component."),g.useContext(Ic).location}var X1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function N1(e){g.useContext(Zo).static||g.useLayoutEffect(e)}function Jd(){let{isDataRoute:e}=g.useContext(ms);return e?bR():cR()}function cR(){dn(Wc(),"useNavigate() may be used only in the context of a component.");let e=g.useContext(Ia),{basename:t,navigator:n}=g.useContext(Zo),{matches:o}=g.useContext(ms),{pathname:s}=Qs(),a=JSON.stringify(E1(o)),l=g.useRef(!1);return N1(()=>{l.current=!0}),g.useCallback((f,v={})=>{if(xo(l.current,X1),!l.current)return;if(typeof f=="number"){n.go(f);return}let h=R1(f,JSON.parse(a),s,v.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:fs([t,h.pathname])),(v.replace?n.replace:n.push)(h,v.state,v)},[t,n,a,s,e])}g.createContext(null);function Jc(e,{relative:t}={}){let{matches:n}=g.useContext(ms),{pathname:o}=Qs(),s=JSON.stringify(E1(n));return g.useMemo(()=>R1(e,JSON.parse(s),o,t==="path"),[e,s,o,t])}function uR(e,t){return B1(e,t)}function B1(e,t,n,o){dn(Wc(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=g.useContext(Zo),{matches:a}=g.useContext(ms),l=a[a.length-1],u=l?l.params:{},f=l?l.pathname:"/",v=l?l.pathnameBase:"/",h=l&&l.route;{let S=h&&h.path||"";V1(f,!h||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${f}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. -Please change the parent to .`)}let y=Us(),P;if(t){let S=typeof t=="string"?Na(t):t;dn(v==="/"||S.pathname?.startsWith(v),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${v}" but pathname "${S.pathname}" was given in the \`location\` prop.`),P=S}else P=y;let j=P.pathname||"/",A=j;if(v!=="/"){let S=v.replace(/^\//,"").split("/");A="/"+j.replace(/^\//,"").split("/").slice(S.length).join("/")}let b=z1(e,{pathname:A});xo(h||b!=null,`No routes matched location "${P.pathname}${P.search}${P.hash}" `),xo(b==null||b[b.length-1].route.element!==void 0||b[b.length-1].route.Component!==void 0||b[b.length-1].route.lazy!==void 0,`Matched leaf route at location "${P.pathname}${P.search}${P.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let H=vR(b&&b.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:us([v,s.encodeLocation?s.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?v:us([v,s.encodeLocation?s.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),a,n,o);return t&&H?g.createElement(Vc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...P},navigationType:"POP"}},H):H}function uR(){let e=AR(),t=rR(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:a},"ErrorBoundary")," or"," ",g.createElement("code",{style:a},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),n?g.createElement("pre",{style:s},n):null,l)}var fR=g.createElement(uR,null),dR=class extends g.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?g.createElement(hs.Provider,{value:this.props.routeContext},g.createElement(my.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function pR({routeContext:e,match:t,children:n}){let o=g.useContext(Ba);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),g.createElement(hs.Provider,{value:e},n)}function vR(e,t=[],n=null,o=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=n?.errors;if(a!=null){let f=s.findIndex(v=>v.route.id&&a?.[v.route.id]!==void 0);dn(f>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),s=s.slice(0,Math.min(s.length,f+1))}let l=!1,u=-1;if(n)for(let f=0;f=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((f,v,h)=>{let y,P=!1,j=null,A=null;n&&(y=a&&v.route.id?a[v.route.id]:void 0,j=v.route.errorElement||fR,l&&(u<0&&h===0?(X1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),P=!0,A=null):u===h&&(P=!0,A=v.route.hydrateFallbackElement||null)));let b=t.concat(s.slice(0,h+1)),H=()=>{let S;return y?S=j:P?S=A:v.route.Component?S=g.createElement(v.route.Component,null):v.route.element?S=v.route.element:S=f,g.createElement(pR,{match:v,routeContext:{outlet:f,matches:b,isDataRoute:n!=null},children:S})};return n&&(v.route.ErrorBoundary||v.route.errorElement||h===0)?g.createElement(dR,{location:n.location,revalidation:n.revalidation,component:j,error:y,children:H(),routeContext:{outlet:null,matches:b,isDataRoute:!0}}):H()},null)}function yy(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function hR(e){let t=g.useContext(Ba);return dn(t,yy(e)),t}function mR(e){let t=g.useContext(Nd);return dn(t,yy(e)),t}function yR(e){let t=g.useContext(hs);return dn(t,yy(e)),t}function gy(e){let t=yR(e),n=t.matches[t.matches.length-1];return dn(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function gR(){return gy("useRouteId")}function AR(){let e=g.useContext(my),t=mR("useRouteError"),n=gy("useRouteError");return e!==void 0?e:t.errors?.[n]}function PR(){let{router:e}=hR("useNavigate"),t=gy("useNavigate"),n=g.useRef(!1);return M1(()=>{n.current=!0}),g.useCallback(async(s,a={})=>{xo(n.current,R1),n.current&&(typeof s=="number"?e.navigate(s):await e.navigate(s,{fromRouteId:t,...a}))},[e,t])}var D8={};function X1(e,t,n){!t&&!D8[e]&&(D8[e]=!0,xo(!1,n))}g.memo(bR);function bR({routes:e,future:t,state:n}){return L1(e,void 0,n,t)}function as(e){dn(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function xR({basename:e="/",children:t=null,location:n,navigationType:o="POP",navigator:s,static:a=!1}){dn(!Ic(),"You cannot render a inside another . You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),u=g.useMemo(()=>({basename:l,navigator:s,static:a,future:{}}),[l,s,a]);typeof n=="string"&&(n=Na(n));let{pathname:f="/",search:v="",hash:h="",state:y=null,key:P="default"}=n,j=g.useMemo(()=>{let A=vs(f,l);return A==null?null:{location:{pathname:A,search:v,hash:h,state:y,key:P},navigationType:o}},[l,f,v,h,y,P,o]);return xo(j!=null,` is not able to match the URL "${f}${v}${h}" because it does not start with the basename, so the won't render anything.`),j==null?null:g.createElement(Zo.Provider,{value:u},g.createElement(Vc.Provider,{children:t,value:j}))}function wR({children:e,location:t}){return cR(rm(e),t)}function rm(e,t=[]){let n=[];return g.Children.forEach(e,(o,s)=>{if(!g.isValidElement(o))return;let a=[...t,s];if(o.type===g.Fragment){n.push.apply(n,rm(o.props.children,a));return}dn(o.type===as,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),dn(!o.props.index||!o.props.children,"An index route cannot have child routes.");let l={id:o.props.id||a.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(l.children=rm(o.props.children,a)),n.push(l)}),n}var Rf="get",Mf="application/x-www-form-urlencoded";function Vd(e){return e!=null&&typeof e.tagName=="string"}function HR(e){return Vd(e)&&e.tagName.toLowerCase()==="button"}function jR(e){return Vd(e)&&e.tagName.toLowerCase()==="form"}function SR(e){return Vd(e)&&e.tagName.toLowerCase()==="input"}function zR(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function CR(e,t){return e.button===0&&(!t||t==="_self")&&!zR(e)}function om(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let o=e[n];return t.concat(Array.isArray(o)?o.map(s=>[n,s]):[[n,o]])},[]))}function OR(e,t){let n=om(e);return t&&t.forEach((o,s)=>{n.has(s)||t.getAll(s).forEach(a=>{n.append(s,a)})}),n}var yf=null;function DR(){if(yf===null)try{new FormData(document.createElement("form"),0),yf=!1}catch{yf=!0}return yf}var kR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function dh(e){return e!=null&&!kR.has(e)?(xo(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Mf}"`),null):e}function TR(e,t){let n,o,s,a,l;if(jR(e)){let u=e.getAttribute("action");o=u?vs(u,t):null,n=e.getAttribute("method")||Rf,s=dh(e.getAttribute("enctype"))||Mf,a=new FormData(e)}else if(HR(e)||SR(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a