function qg(l,i){for(var o=0;oc[s]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))c(s);new MutationObserver(s=>{for(const d of s)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&c(m)}).observe(document,{childList:!0,subtree:!0});function o(s){const d={};return s.integrity&&(d.integrity=s.integrity),s.referrerPolicy&&(d.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?d.credentials="include":s.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function c(s){if(s.ep)return;s.ep=!0;const d=o(s);fetch(s.href,d)}})();function Gg(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Pc={exports:{}},Li={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var N0;function Yg(){if(N0)return Li;N0=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function o(c,s,d){var m=null;if(d!==void 0&&(m=""+d),s.key!==void 0&&(m=""+s.key),"key"in s){d={};for(var v in s)v!=="key"&&(d[v]=s[v])}else d=s;return s=d.ref,{$$typeof:l,type:c,key:m,ref:s!==void 0?s:null,props:d}}return Li.Fragment=i,Li.jsx=o,Li.jsxs=o,Li}var U0;function $g(){return U0||(U0=1,Pc.exports=Yg()),Pc.exports}var nt=$g(),Ic={exports:{}},qi={},ts={exports:{}},es={};/** * @license React * scheduler.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var H0;function Vg(){return H0||(H0=1,(function(l){function i(Y,ut){var at=Y.length;Y.push(ut);t:for(;0>>1,S=Y[ct];if(0>>1;cts(it,at))Js(vt,it)?(Y[ct]=vt,Y[J]=at,ct=J):(Y[ct]=it,Y[lt]=at,ct=lt);else if(Js(vt,at))Y[ct]=vt,Y[J]=at,ct=J;else break t}}return ut}function s(Y,ut){var at=Y.sortIndex-ut.sortIndex;return at!==0?at:Y.id-ut.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;l.unstable_now=function(){return d.now()}}else{var m=Date,v=m.now();l.unstable_now=function(){return m.now()-v}}var b=[],y=[],O=1,_=null,w=3,H=!1,M=!1,A=!1,G=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;function V(Y){for(var ut=o(y);ut!==null;){if(ut.callback===null)c(y);else if(ut.startTime<=Y)c(y),ut.sortIndex=ut.expirationTime,i(b,ut);else break;ut=o(y)}}function q(Y){if(A=!1,V(Y),!M)if(o(b)!==null)M=!0,Tt();else{var ut=o(y);ut!==null&&Dt(q,ut.startTime-Y)}}var R=!1,K=-1,P=5,ft=-1;function Q(){return!(l.unstable_now()-ftY&&Q());){var ct=_.callback;if(typeof ct=="function"){_.callback=null,w=_.priorityLevel;var S=ct(_.expirationTime<=Y);if(Y=l.unstable_now(),typeof S=="function"){_.callback=S,V(Y),ut=!0;break e}_===o(b)&&c(b),V(Y)}else c(b);_=o(b)}if(_!==null)ut=!0;else{var L=o(y);L!==null&&Dt(q,L.startTime-Y),ut=!1}}break t}finally{_=null,w=at,H=!1}ut=void 0}}finally{ut?k():R=!1}}}var k;if(typeof W=="function")k=function(){W(p)};else if(typeof MessageChannel<"u"){var tt=new MessageChannel,rt=tt.port2;tt.port1.onmessage=p,k=function(){rt.postMessage(null)}}else k=function(){G(p,0)};function Tt(){R||(R=!0,k())}function Dt(Y,ut){K=G(function(){Y(l.unstable_now())},ut)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(Y){Y.callback=null},l.unstable_continueExecution=function(){M||H||(M=!0,Tt())},l.unstable_forceFrameRate=function(Y){0>Y||125ct?(Y.sortIndex=at,i(y,Y),o(b)===null&&Y===o(y)&&(A?(X(K),K=-1):A=!0,Dt(q,at-ct))):(Y.sortIndex=S,i(b,Y),M||H||(M=!0,Tt())),Y},l.unstable_shouldYield=Q,l.unstable_wrapCallback=function(Y){var ut=w;return function(){var at=w;w=ut;try{return Y.apply(this,arguments)}finally{w=at}}}})(es)),es}var j0;function kg(){return j0||(j0=1,ts.exports=Vg()),ts.exports}var ns={exports:{}},mt={};/** * @license React * react.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var L0;function Xg(){if(L0)return mt;L0=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),_=Symbol.iterator;function w(S){return S===null||typeof S!="object"?null:(S=_&&S[_]||S["@@iterator"],typeof S=="function"?S:null)}var H={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,A={};function G(S,L,lt){this.props=S,this.context=L,this.refs=A,this.updater=lt||H}G.prototype.isReactComponent={},G.prototype.setState=function(S,L){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,L,"setState")},G.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function X(){}X.prototype=G.prototype;function W(S,L,lt){this.props=S,this.context=L,this.refs=A,this.updater=lt||H}var V=W.prototype=new X;V.constructor=W,M(V,G.prototype),V.isPureReactComponent=!0;var q=Array.isArray,R={H:null,A:null,T:null,S:null},K=Object.prototype.hasOwnProperty;function P(S,L,lt,it,J,vt){return lt=vt.ref,{$$typeof:l,type:S,key:L,ref:lt!==void 0?lt:null,props:vt}}function ft(S,L){return P(S.type,L,void 0,void 0,void 0,S.props)}function Q(S){return typeof S=="object"&&S!==null&&S.$$typeof===l}function p(S){var L={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(lt){return L[lt]})}var k=/\/+/g;function tt(S,L){return typeof S=="object"&&S!==null&&S.key!=null?p(""+S.key):L.toString(36)}function rt(){}function Tt(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(rt,rt):(S.status="pending",S.then(function(L){S.status==="pending"&&(S.status="fulfilled",S.value=L)},function(L){S.status==="pending"&&(S.status="rejected",S.reason=L)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function Dt(S,L,lt,it,J){var vt=typeof S;(vt==="undefined"||vt==="boolean")&&(S=null);var dt=!1;if(S===null)dt=!0;else switch(vt){case"bigint":case"string":case"number":dt=!0;break;case"object":switch(S.$$typeof){case l:case i:dt=!0;break;case O:return dt=S._init,Dt(dt(S._payload),L,lt,it,J)}}if(dt)return J=J(S),dt=it===""?"."+tt(S,0):it,q(J)?(lt="",dt!=null&&(lt=dt.replace(k,"$&/")+"/"),Dt(J,L,lt,"",function($t){return $t})):J!=null&&(Q(J)&&(J=ft(J,lt+(J.key==null||S&&S.key===J.key?"":(""+J.key).replace(k,"$&/")+"/")+dt)),L.push(J)),1;dt=0;var re=it===""?".":it+":";if(q(S))for(var Et=0;Et"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),as.exports=Qg(),as.exports}/** * @license React * react-dom-client.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var $0;function Kg(){if($0)return qi;$0=1;var l=kg(),i=ws(),o=Zg();function c(t){var e="https://react.dev/errors/"+t;if(1)":-1r||g[a]!==E[r]){var N=` `+g[a].replace(" at new "," at ");return t.displayName&&N.includes("")&&(N=N.replace("",t.displayName)),N}while(1<=a&&0<=r);break}}}finally{Tt=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?rt(n):""}function Y(t){switch(t.tag){case 26:case 27:case 5:return rt(t.type);case 16:return rt("Lazy");case 13:return rt("Suspense");case 19:return rt("SuspenseList");case 0:case 15:return t=Dt(t.type,!1),t;case 11:return t=Dt(t.type.render,!1),t;case 1:return t=Dt(t.type,!0),t;default:return""}}function ut(t){try{var e="";do e+=Y(t),t=t.return;while(t);return e}catch(n){return` Error generating stack: `+n.message+` `+n.stack}}function at(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function ct(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function S(t){if(at(t)!==t)throw Error(c(188))}function L(t){var e=t.alternate;if(!e){if(e=at(t),e===null)throw Error(c(188));return e!==t?null:t}for(var n=t,a=e;;){var r=n.return;if(r===null)break;var u=r.alternate;if(u===null){if(a=r.return,a!==null){n=a;continue}break}if(r.child===u.child){for(u=r.child;u;){if(u===n)return S(r),t;if(u===a)return S(r),e;u=u.sibling}throw Error(c(188))}if(n.return!==a.return)n=r,a=u;else{for(var f=!1,h=r.child;h;){if(h===n){f=!0,n=r,a=u;break}if(h===a){f=!0,a=r,n=u;break}h=h.sibling}if(!f){for(h=u.child;h;){if(h===n){f=!0,n=u,a=r;break}if(h===a){f=!0,a=u,n=r;break}h=h.sibling}if(!f)throw Error(c(189))}}if(n.alternate!==a)throw Error(c(190))}if(n.tag!==3)throw Error(c(188));return n.stateNode.current===n?t:e}function lt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=lt(t),e!==null)return e;t=t.sibling}return null}var it=Array.isArray,J=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vt={pending:!1,data:null,method:null,action:null},dt=[],re=-1;function Et(t){return{current:t}}function $t(t){0>re||(t.current=dt[re],dt[re]=null,re--)}function Ht(t,e){re++,dt[re]=t.current,t.current=e}var Ne=Et(null),ma=Et(null),en=Et(null),Hn=Et(null);function Va(t,e){switch(Ht(en,e),Ht(ma,t),Ht(Ne,null),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)&&(e=e.namespaceURI)?c0(e):0;break;default:if(t=t===8?e.parentNode:e,e=t.tagName,t=t.namespaceURI)t=c0(t),e=s0(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}$t(Ne),Ht(Ne,e)}function jn(){$t(Ne),$t(ma),$t(en)}function Ln(t){t.memoizedState!==null&&Ht(Hn,t);var e=Ne.current,n=s0(e,t.type);e!==n&&(Ht(ma,t),Ht(Ne,n))}function nn(t){ma.current===t&&($t(Ne),$t(ma)),Hn.current===t&&($t(Hn),Bi._currentValue=vt)}var Gl=Object.prototype.hasOwnProperty,ka=l.unstable_scheduleCallback,Yl=l.unstable_cancelCallback,ht=l.unstable_shouldYield,vp=l.unstable_requestPaint,an=l.unstable_now,bp=l.unstable_getCurrentPriorityLevel,Fs=l.unstable_ImmediatePriority,Ps=l.unstable_UserBlockingPriority,ar=l.unstable_NormalPriority,Sp=l.unstable_LowPriority,Is=l.unstable_IdlePriority,Tp=l.log,Ep=l.unstable_setDisableYieldValue,$l=null,Ae=null;function Ap(t){if(Ae&&typeof Ae.onCommitFiberRoot=="function")try{Ae.onCommitFiberRoot($l,t,void 0,(t.current.flags&128)===128)}catch{}}function qn(t){if(typeof Tp=="function"&&Ep(t),Ae&&typeof Ae.setStrictMode=="function")try{Ae.setStrictMode($l,t)}catch{}}var xe=Math.clz32?Math.clz32:Cp,xp=Math.log,_p=Math.LN2;function Cp(t){return t>>>=0,t===0?32:31-(xp(t)/_p|0)|0}var lr=128,ir=4194304;function pa(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return 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 t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function rr(t,e){var n=t.pendingLanes;if(n===0)return 0;var a=0,r=t.suspendedLanes,u=t.pingedLanes,f=t.warmLanes;t=t.finishedLanes!==0;var h=n&134217727;return h!==0?(n=h&~r,n!==0?a=pa(n):(u&=h,u!==0?a=pa(u):t||(f=h&~f,f!==0&&(a=pa(f))))):(h=n&~r,h!==0?a=pa(h):u!==0?a=pa(u):t||(f=n&~f,f!==0&&(a=pa(f)))),a===0?0:e!==0&&e!==a&&(e&r)===0&&(r=a&-a,f=e&-e,r>=f||r===32&&(f&4194176)!==0)?e:a}function Vl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Op(t,e){switch(t){case 1:case 2:case 4:case 8:return e+250;case 16:case 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 e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function tf(){var t=lr;return lr<<=1,(lr&4194176)===0&&(lr=128),t}function ef(){var t=ir;return ir<<=1,(ir&62914560)===0&&(ir=4194304),t}function Qu(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function kl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Rp(t,e,n,a,r,u){var f=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var h=t.entanglements,g=t.expirationTimes,E=t.hiddenUpdates;for(n=f&~n;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Dp=RegExp("^[: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]*$"),sf={},ff={};function Bp(t){return Gl.call(ff,t)?!0:Gl.call(sf,t)?!1:Dp.test(t)?ff[t]=!0:(sf[t]=!0,!1)}function ur(t,e,n){if(Bp(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function or(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function yn(t,e,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+a)}}function Ue(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function df(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Np(t){var e=df(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var r=n.get,u=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return r.call(this)},set:function(f){a=""+f,u.call(this,f)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function cr(t){t._valueTracker||(t._valueTracker=Np(t))}function hf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=df(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function sr(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Up=/[\n"\\]/g;function He(t){return t.replace(Up,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Wu(t,e,n,a,r,u,f,h){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ue(e)):t.value!==""+Ue(e)&&(t.value=""+Ue(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?Ju(t,f,Ue(e)):n!=null?Ju(t,f,Ue(n)):a!=null&&t.removeAttribute("value"),r==null&&u!=null&&(t.defaultChecked=!!u),r!=null&&(t.checked=r&&typeof r!="function"&&typeof r!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.name=""+Ue(h):t.removeAttribute("name")}function mf(t,e,n,a,r,u,f,h){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||n!=null){if(!(u!=="submit"&&u!=="reset"||e!=null))return;n=n!=null?""+Ue(n):"",e=e!=null?""+Ue(e):n,h||e===t.value||(t.value=e),t.defaultValue=e}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=h?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f)}function Ju(t,e,n){e==="number"&&sr(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Wa(t,e,n,a){if(t=t.options,e){e={};for(var r=0;r=Fl),Of=" ",Rf=!1;function zf(t,e){switch(t){case"keyup":return cy.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Ia=!1;function fy(t,e){switch(t){case"compositionend":return wf(e);case"keypress":return e.which!==32?null:(Rf=!0,Of);case"textInput":return t=e.data,t===Of&&Rf?null:t;default:return null}}function dy(t,e){if(Ia)return t==="compositionend"||!uo&&zf(t,e)?(t=Tf(),dr=no=Yn=null,Ia=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Lf(n)}}function Gf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Gf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Yf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=sr(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=sr(t.document)}return e}function so(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Sy(t,e){var n=Yf(e);e=t.focusedElem;var a=t.selectionRange;if(n!==e&&e&&e.ownerDocument&&Gf(e.ownerDocument.documentElement,e)){if(a!==null&&so(e)){if(t=a.start,n=a.end,n===void 0&&(n=t),"selectionStart"in e)e.selectionStart=t,e.selectionEnd=Math.min(n,e.value.length);else if(n=(t=e.ownerDocument||document)&&t.defaultView||window,n.getSelection){n=n.getSelection();var r=e.textContent.length,u=Math.min(a.start,r);a=a.end===void 0?u:Math.min(a.end,r),!n.extend&&u>a&&(r=a,a=u,u=r),r=qf(e,u);var f=qf(e,a);r&&f&&(n.rangeCount!==1||n.anchorNode!==r.node||n.anchorOffset!==r.offset||n.focusNode!==f.node||n.focusOffset!==f.offset)&&(t=t.createRange(),t.setStart(r.node,r.offset),n.removeAllRanges(),u>a?(n.addRange(t),n.extend(f.node,f.offset)):(t.setEnd(f.node,f.offset),n.addRange(t)))}}for(t=[],n=e;n=n.parentNode;)n.nodeType===1&&t.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof e.focus=="function"&&e.focus(),e=0;e=document.documentMode,tl=null,fo=null,ei=null,ho=!1;function $f(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ho||tl==null||tl!==sr(a)||(a=tl,"selectionStart"in a&&so(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ei&&ti(ei,a)||(ei=a,a=Ir(fo,"onSelect"),0>=f,r-=f,gn=1<<32-xe(e)+r|n<ot?(ie=et,et=null):ie=et.sibling;var xt=z(x,et,C[ot],U);if(xt===null){et===null&&(et=ie);break}t&&et&&xt.alternate===null&&e(x,et),T=u(xt,T,ot),yt===null?F=xt:yt.sibling=xt,yt=xt,et=ie}if(ot===C.length)return n(x,et),At&&Ea(x,ot),F;if(et===null){for(;otot?(ie=et,et=null):ie=et.sibling;var ua=z(x,et,xt.value,U);if(ua===null){et===null&&(et=ie);break}t&&et&&ua.alternate===null&&e(x,et),T=u(ua,T,ot),yt===null?F=ua:yt.sibling=ua,yt=ua,et=ie}if(xt.done)return n(x,et),At&&Ea(x,ot),F;if(et===null){for(;!xt.done;ot++,xt=C.next())xt=j(x,xt.value,U),xt!==null&&(T=u(xt,T,ot),yt===null?F=xt:yt.sibling=xt,yt=xt);return At&&Ea(x,ot),F}for(et=a(et);!xt.done;ot++,xt=C.next())xt=B(et,x,ot,xt.value,U),xt!==null&&(t&&xt.alternate!==null&&et.delete(xt.key===null?ot:xt.key),T=u(xt,T,ot),yt===null?F=xt:yt.sibling=xt,yt=xt);return t&&et.forEach(function(Lg){return e(x,Lg)}),At&&Ea(x,ot),F}function Xt(x,T,C,U){if(typeof C=="object"&&C!==null&&C.type===b&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case m:t:{for(var F=C.key;T!==null;){if(T.key===F){if(F=C.type,F===b){if(T.tag===7){n(x,T.sibling),U=r(T,C.props.children),U.return=x,x=U;break t}}else if(T.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===W&&id(F)===T.type){n(x,T.sibling),U=r(T,C.props),oi(U,C),U.return=x,x=U;break t}n(x,T);break}else e(x,T);T=T.sibling}C.type===b?(U=Ba(C.props.children,x.mode,U,C.key),U.return=x,x=U):(U=Vr(C.type,C.key,C.props,null,x.mode,U),oi(U,C),U.return=x,x=U)}return f(x);case v:t:{for(F=C.key;T!==null;){if(T.key===F)if(T.tag===4&&T.stateNode.containerInfo===C.containerInfo&&T.stateNode.implementation===C.implementation){n(x,T.sibling),U=r(T,C.children||[]),U.return=x,x=U;break t}else{n(x,T);break}else e(x,T);T=T.sibling}U=pc(C,x.mode,U),U.return=x,x=U}return f(x);case W:return F=C._init,C=F(C._payload),Xt(x,T,C,U)}if(it(C))return I(x,T,C,U);if(K(C)){if(F=K(C),typeof F!="function")throw Error(c(150));return C=F.call(C),st(x,T,C,U)}if(typeof C.then=="function")return Xt(x,T,xr(C),U);if(C.$$typeof===H)return Xt(x,T,Gr(x,C),U);_r(x,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,T!==null&&T.tag===6?(n(x,T.sibling),U=r(T,C),U.return=x,x=U):(n(x,T),U=mc(C,x.mode,U),U.return=x,x=U),f(x)):n(x,T)}return function(x,T,C,U){try{ui=0;var F=Xt(x,T,C,U);return rl=null,F}catch(et){if(et===ii)throw et;var yt=ke(29,et,null,x.mode);return yt.lanes=U,yt.return=x,yt}finally{}}}var xa=rd(!0),ud=rd(!1),ul=Et(null),Cr=Et(0);function od(t,e){t=zn,Ht(Cr,t),Ht(ul,e),zn=t|e.baseLanes}function To(){Ht(Cr,zn),Ht(ul,ul.current)}function Eo(){zn=Cr.current,$t(ul),$t(Cr)}var Ye=Et(null),rn=null;function Vn(t){var e=t.alternate;Ht(te,te.current&1),Ht(Ye,t),rn===null&&(e===null||ul.current!==null||e.memoizedState!==null)&&(rn=t)}function cd(t){if(t.tag===22){if(Ht(te,te.current),Ht(Ye,t),rn===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(rn=t)}}else kn()}function kn(){Ht(te,te.current),Ht(Ye,Ye.current)}function bn(t){$t(Ye),rn===t&&(rn=null),$t(te)}var te=Et(0);function Or(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var _y=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},Cy=l.unstable_scheduleCallback,Oy=l.unstable_NormalPriority,ee={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ao(){return{controller:new _y,data:new Map,refCount:0}}function ci(t){t.refCount--,t.refCount===0&&Cy(Oy,function(){t.controller.abort()})}var si=null,xo=0,ol=0,cl=null;function Ry(t,e){if(si===null){var n=si=[];xo=0,ol=wc(),cl={status:"pending",value:void 0,then:function(a){n.push(a)}}}return xo++,e.then(sd,sd),e}function sd(){if(--xo===0&&si!==null){cl!==null&&(cl.status="fulfilled");var t=si;si=null,ol=0,cl=null;for(var e=0;eu?u:8;var f=Q.T,h={};Q.T=h,Yo(t,!1,e,n);try{var g=r(),E=Q.S;if(E!==null&&E(h,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var N=zy(g,a);hi(t,e,N,ze(t))}else hi(t,e,a,ze(t))}catch(j){hi(t,e,{then:function(){},status:"rejected",reason:j},ze())}finally{J.p=u,Q.T=f}}function Ny(){}function qo(t,e,n,a){if(t.tag!==5)throw Error(c(476));var r=Yd(t).queue;Gd(t,r,e,vt,n===null?Ny:function(){return $d(t),n(a)})}function Yd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:vt,baseState:vt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:vt},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function $d(t){var e=Yd(t).next.queue;hi(t,e,{},ze())}function Go(){return de(Bi)}function Vd(){return Ft().memoizedState}function kd(){return Ft().memoizedState}function Uy(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=ze();t=Wn(n);var a=Jn(e,t,n);a!==null&&(ve(a,e,n),yi(a,e,n)),e={cache:Ao()},t.payload=e;return}e=e.return}}function Hy(t,e,n){var a=ze();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Hr(t)?Qd(e,n):(n=yo(t,e,n,a),n!==null&&(ve(n,t,a),Zd(n,e,a)))}function Xd(t,e,n){var a=ze();hi(t,e,n,a)}function hi(t,e,n,a){var r={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hr(t))Qd(e,r);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var f=e.lastRenderedState,h=u(f,n);if(r.hasEagerState=!0,r.eagerState=h,_e(h,f))return br(t,e,r,0),jt===null&&vr(),!1}catch{}finally{}if(n=yo(t,e,r,a),n!==null)return ve(n,t,a),Zd(n,e,a),!0}return!1}function Yo(t,e,n,a){if(a={lane:2,revertLane:wc(),action:a,hasEagerState:!1,eagerState:null,next:null},Hr(t)){if(e)throw Error(c(479))}else e=yo(t,n,a,2),e!==null&&ve(e,t,2)}function Hr(t){var e=t.alternate;return t===pt||e!==null&&e===pt}function Qd(t,e){sl=zr=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Zd(t,e,n){if((n&4194176)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,af(t,n)}}var un={readContext:de,use:Dr,useCallback:Kt,useContext:Kt,useEffect:Kt,useImperativeHandle:Kt,useLayoutEffect:Kt,useInsertionEffect:Kt,useMemo:Kt,useReducer:Kt,useRef:Kt,useState:Kt,useDebugValue:Kt,useDeferredValue:Kt,useTransition:Kt,useSyncExternalStore:Kt,useId:Kt};un.useCacheRefresh=Kt,un.useMemoCache=Kt,un.useHostTransitionStatus=Kt,un.useFormState=Kt,un.useActionState=Kt,un.useOptimistic=Kt;var Oa={readContext:de,use:Dr,useCallback:function(t,e){return Te().memoizedState=[t,e===void 0?null:e],t},useContext:de,useEffect:Dd,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Nr(4194308,4,Ud.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Nr(4194308,4,t,e)},useInsertionEffect:function(t,e){Nr(4,2,t,e)},useMemo:function(t,e){var n=Te();e=e===void 0?null:e;var a=t();if(Ca){qn(!0);try{t()}finally{qn(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=Te();if(n!==void 0){var r=n(e);if(Ca){qn(!0);try{n(e)}finally{qn(!1)}}}else r=e;return a.memoizedState=a.baseState=r,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:r},a.queue=t,t=t.dispatch=Hy.bind(null,pt,t),[a.memoizedState,t]},useRef:function(t){var e=Te();return t={current:t},e.memoizedState=t},useState:function(t){t=No(t);var e=t.queue,n=Xd.bind(null,pt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:jo,useDeferredValue:function(t,e){var n=Te();return Lo(n,t,e)},useTransition:function(){var t=No(!1);return t=Gd.bind(null,pt,t.queue,!0,!1),Te().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=pt,r=Te();if(At){if(n===void 0)throw Error(c(407));n=n()}else{if(n=e(),jt===null)throw Error(c(349));(St&60)!==0||yd(a,e,n)}r.memoizedState=n;var u={value:n,getSnapshot:e};return r.queue=u,Dd(vd.bind(null,a,u,t),[t]),a.flags|=2048,dl(9,gd.bind(null,a,u,n,e),{destroy:void 0},null),n},useId:function(){var t=Te(),e=jt.identifierPrefix;if(At){var n=vn,a=gn;n=(a&~(1<<32-xe(a)-1)).toString(32)+n,e=":"+e+"R"+n,n=wr++,0 title"))),ce(u,a,n),u[fe]=t,ne(u),a=u;break t;case"link":var f=S0("link","href",r).get(a+(n.href||""));if(f){for(var h=0;h<\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?r.createElement("select",{is:a.is}):r.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?r.createElement(n,{is:a.is}):r.createElement(n)}}t[fe]=e,t[be]=a;t:for(r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break t;for(;r.sibling===null;){if(r.return===null||r.return===e)break t;r=r.return}r.sibling.return=r.return,r=r.sibling}e.stateNode=t;t:switch(ce(t,n,a),n){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&On(e)}}return Gt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&On(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(c(166));if(t=en.current,ni(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,r=ge,r!==null)switch(r.tag){case 27:case 5:a=r.memoizedProps}t[fe]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||o0(t.nodeValue,n)),t||Aa(e)}else t=eu(t).createTextNode(a),t[fe]=e,e.stateNode=t}return Gt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(r=ni(e),a!==null&&a.dehydrated!==null){if(t===null){if(!r)throw Error(c(318));if(r=e.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(c(317));r[fe]=e}else ai(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Gt(e),r=!1}else Pe!==null&&(Ac(Pe),Pe=null),r=!0;if(!r)return e.flags&256?(bn(e),e):(bn(e),null)}if(bn(e),(e.flags&128)!==0)return e.lanes=n,e;if(n=a!==null,t=t!==null&&t.memoizedState!==null,n){a=e.child,r=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(r=a.alternate.memoizedState.cachePool.pool);var u=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==r&&(a.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),kr(e,e.updateQueue),Gt(e),null;case 4:return jn(),t===null&&Nc(e.stateNode.containerInfo),Gt(e),null;case 10:return An(e.type),Gt(e),null;case 19:if($t(te),r=e.memoizedState,r===null)return Gt(e),null;if(a=(e.flags&128)!==0,u=r.rendering,u===null)if(a)Ai(r,!1);else{if(kt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Or(t),u!==null){for(e.flags|=128,Ai(r,!1),t=u.updateQueue,e.updateQueue=t,kr(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)Hh(n,t),n=n.sibling;return Ht(te,te.current&1|2),e.child}t=t.sibling}r.tail!==null&&an()>Xr&&(e.flags|=128,a=!0,Ai(r,!1),e.lanes=4194304)}else{if(!a)if(t=Or(u),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,kr(e,t),Ai(r,!0),r.tail===null&&r.tailMode==="hidden"&&!u.alternate&&!At)return Gt(e),null}else 2*an()-r.renderingStartTime>Xr&&n!==536870912&&(e.flags|=128,a=!0,Ai(r,!1),e.lanes=4194304);r.isBackwards?(u.sibling=e.child,e.child=u):(t=r.last,t!==null?t.sibling=u:e.child=u,r.last=u)}return r.tail!==null?(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=an(),e.sibling=null,t=te.current,Ht(te,a?t&1|2:t&1),e):(Gt(e),null);case 22:case 23:return bn(e),Eo(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(n&536870912)!==0&&(e.flags&128)===0&&(Gt(e),e.subtreeFlags&6&&(e.flags|=8192)):Gt(e),n=e.updateQueue,n!==null&&kr(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&$t(_a),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),An(ee),Gt(e),null;case 25:return null}throw Error(c(156,e.tag))}function Vy(t,e){switch(vo(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return An(ee),jn(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return nn(e),null;case 13:if(bn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));ai()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return $t(te),null;case 4:return jn(),null;case 10:return An(e.type),null;case 22:case 23:return bn(e),Eo(),t!==null&&$t(_a),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return An(ee),null;case 25:return null;default:return null}}function qh(t,e){switch(vo(e),e.tag){case 3:An(ee),jn();break;case 26:case 27:case 5:nn(e);break;case 4:jn();break;case 13:bn(e);break;case 19:$t(te);break;case 10:An(e.type);break;case 22:case 23:bn(e),Eo(),t!==null&&$t(_a);break;case 24:An(ee)}}var ky={getCacheForType:function(t){var e=de(ee),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},Xy=typeof WeakMap=="function"?WeakMap:Map,Yt=0,jt=null,gt=null,St=0,Lt=0,Re=null,Rn=!1,yl=!1,yc=!1,zn=0,kt=0,ea=0,Na=0,gc=0,Xe=0,gl=0,xi=null,on=null,vc=!1,bc=0,Xr=1/0,Qr=null,na=null,Zr=!1,Ua=null,_i=0,Sc=0,Tc=null,Ci=0,Ec=null;function ze(){if((Yt&2)!==0&&St!==0)return St&-St;if(Q.T!==null){var t=ol;return t!==0?t:wc()}return rf()}function Gh(){Xe===0&&(Xe=(St&536870912)===0||At?tf():536870912);var t=Ye.current;return t!==null&&(t.flags|=32),Xe}function ve(t,e,n){(t===jt&&Lt===2||t.cancelPendingCommit!==null)&&(vl(t,0),wn(t,St,Xe,!1)),kl(t,n),((Yt&2)===0||t!==jt)&&(t===jt&&((Yt&2)===0&&(Na|=n),kt===4&&wn(t,St,Xe,!1)),cn(t))}function Yh(t,e,n){if((Yt&6)!==0)throw Error(c(327));var a=!n&&(e&60)===0&&(e&t.expiredLanes)===0||Vl(t,e),r=a?Ky(t,e):Cc(t,e,!0),u=a;do{if(r===0){yl&&!a&&wn(t,e,0,!1);break}else if(r===6)wn(t,e,0,!Rn);else{if(n=t.current.alternate,u&&!Qy(n)){r=Cc(t,e,!1),u=!1;continue}if(r===2){if(u=e,t.errorRecoveryDisabledLanes&u)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var h=t;r=xi;var g=h.current.memoizedState.isDehydrated;if(g&&(vl(h,f).flags|=256),f=Cc(h,f,!1),f!==2){if(yc&&!g){h.errorRecoveryDisabledLanes|=u,Na|=u,r=4;break t}u=on,on=r,u!==null&&Ac(u)}r=f}if(u=!1,r!==2)continue}}if(r===1){vl(t,0),wn(t,e,0,!0);break}t:{switch(a=t,r){case 0:case 1:throw Error(c(345));case 4:if((e&4194176)===e){wn(a,e,Xe,!Rn);break t}break;case 2:on=null;break;case 3:case 5:break;default:throw Error(c(329))}if(a.finishedWork=n,a.finishedLanes=e,(e&62914560)===e&&(u=bc+300-an(),10n?32:n,Q.T=null,Ua===null)var u=!1;else{n=Tc,Tc=null;var f=Ua,h=_i;if(Ua=null,_i=0,(Yt&6)!==0)throw Error(c(331));var g=Yt;if(Yt|=4,Nh(f.current),Mh(f,f.current,h,n),Yt=g,Oi(0,!1),Ae&&typeof Ae.onPostCommitFiberRoot=="function")try{Ae.onPostCommitFiberRoot($l,f)}catch{}u=!0}return u}finally{J.p=r,Q.T=a,Jh(t,e)}}return!1}function Fh(t,e,n){e=Le(n,e),e=ko(t.stateNode,e,2),t=Jn(t,e,2),t!==null&&(kl(t,2),cn(t))}function Bt(t,e,n){if(t.tag===3)Fh(t,t,n);else for(;e!==null;){if(e.tag===3){Fh(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(na===null||!na.has(a))){t=Le(n,t),n=th(2),a=Jn(e,n,2),a!==null&&(eh(n,a,e,t),kl(a,2),cn(a));break}}e=e.return}}function Oc(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new Xy;var r=new Set;a.set(e,r)}else r=a.get(e),r===void 0&&(r=new Set,a.set(e,r));r.has(n)||(yc=!0,r.add(n),t=Fy.bind(null,t,e,n),e.then(t,t))}function Fy(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,jt===t&&(St&n)===n&&(kt===4||kt===3&&(St&62914560)===St&&300>an()-bc?(Yt&2)===0&&vl(t,0):gc|=n,gl===St&&(gl=0)),cn(t)}function Ph(t,e){e===0&&(e=ef()),t=$n(t,e),t!==null&&(kl(t,e),cn(t))}function Py(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Ph(t,n)}function Iy(t,e){var n=0;switch(t.tag){case 13:var a=t.stateNode,r=t.memoizedState;r!==null&&(n=r.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(e),Ph(t,n)}function tg(t,e){return ka(t,e)}var Jr=null,Tl=null,Rc=!1,Fr=!1,zc=!1,Ha=0;function cn(t){t!==Tl&&t.next===null&&(Tl===null?Jr=Tl=t:Tl=Tl.next=t),Fr=!0,Rc||(Rc=!0,ng(eg))}function Oi(t,e){if(!zc&&Fr){zc=!0;do for(var n=!1,a=Jr;a!==null;){if(t!==0){var r=a.pendingLanes;if(r===0)var u=0;else{var f=a.suspendedLanes,h=a.pingedLanes;u=(1<<31-xe(42|t)+1)-1,u&=r&~(f&~h),u=u&201326677?u&201326677|1:u?u|2:0}u!==0&&(n=!0,e0(a,u))}else u=St,u=rr(a,a===jt?u:0),(u&3)===0||Vl(a,u)||(n=!0,e0(a,u));a=a.next}while(n);zc=!1}}function eg(){Fr=Rc=!1;var t=0;Ha!==0&&(sg()&&(t=Ha),Ha=0);for(var e=an(),n=null,a=Jr;a!==null;){var r=a.next,u=Ih(a,e);u===0?(a.next=null,n===null?Jr=r:n.next=r,r===null&&(Tl=n)):(n=a,(t!==0||(u&3)!==0)&&(Fr=!0)),a=r}Oi(t)}function Ih(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,r=t.expirationTimes,u=t.pendingLanes&-62914561;0"u"?null:document;function y0(t,e,n){var a=Al;if(a&&typeof e=="string"&&e){var r=He(e);r='link[rel="'+t+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),p0.has(r)||(p0.add(r),t={rel:t,crossOrigin:n,href:e},a.querySelector(r)===null&&(e=a.createElement("link"),ce(e,"link",t),ne(e),a.head.appendChild(e)))}}function vg(t){Mn.D(t),y0("dns-prefetch",t,null)}function bg(t,e){Mn.C(t,e),y0("preconnect",t,e)}function Sg(t,e,n){Mn.L(t,e,n);var a=Al;if(a&&t&&e){var r='link[rel="preload"][as="'+He(e)+'"]';e==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+He(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+He(n.imageSizes)+'"]')):r+='[href="'+He(t)+'"]';var u=r;switch(e){case"style":u=xl(t);break;case"script":u=_l(t)}Qe.has(u)||(t=p({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),Qe.set(u,t),a.querySelector(r)!==null||e==="style"&&a.querySelector(wi(u))||e==="script"&&a.querySelector(Mi(u))||(e=a.createElement("link"),ce(e,"link",t),ne(e),a.head.appendChild(e)))}}function Tg(t,e){Mn.m(t,e);var n=Al;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",r='link[rel="modulepreload"][as="'+He(a)+'"][href="'+He(t)+'"]',u=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=_l(t)}if(!Qe.has(u)&&(t=p({rel:"modulepreload",href:t},e),Qe.set(u,t),n.querySelector(r)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Mi(u)))return}a=n.createElement("link"),ce(a,"link",t),ne(a),n.head.appendChild(a)}}}function Eg(t,e,n){Mn.S(t,e,n);var a=Al;if(a&&t){var r=Za(a).hoistableStyles,u=xl(t);e=e||"default";var f=r.get(u);if(!f){var h={loading:0,preload:null};if(f=a.querySelector(wi(u)))h.loading=5;else{t=p({rel:"stylesheet",href:t,"data-precedence":e},n),(n=Qe.get(u))&&Vc(t,n);var g=f=a.createElement("link");ne(g),ce(g,"link",t),g._p=new Promise(function(E,N){g.onload=E,g.onerror=N}),g.addEventListener("load",function(){h.loading|=1}),g.addEventListener("error",function(){h.loading|=2}),h.loading|=4,au(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:h},r.set(u,f)}}}function Ag(t,e){Mn.X(t,e);var n=Al;if(n&&t){var a=Za(n).hoistableScripts,r=_l(t),u=a.get(r);u||(u=n.querySelector(Mi(r)),u||(t=p({src:t,async:!0},e),(e=Qe.get(r))&&kc(t,e),u=n.createElement("script"),ne(u),ce(u,"link",t),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(r,u))}}function xg(t,e){Mn.M(t,e);var n=Al;if(n&&t){var a=Za(n).hoistableScripts,r=_l(t),u=a.get(r);u||(u=n.querySelector(Mi(r)),u||(t=p({src:t,async:!0,type:"module"},e),(e=Qe.get(r))&&kc(t,e),u=n.createElement("script"),ne(u),ce(u,"link",t),n.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(r,u))}}function g0(t,e,n,a){var r=(r=en.current)?nu(r):null;if(!r)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=xl(n.href),n=Za(r).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=xl(n.href);var u=Za(r).hoistableStyles,f=u.get(t);if(f||(r=r.ownerDocument||r,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,f),(u=r.querySelector(wi(t)))&&!u._p&&(f.instance=u,f.state.loading=5),Qe.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Qe.set(t,n),u||_g(r,t,n,f.state))),e&&a===null)throw Error(c(528,""));return f}if(e&&a!==null)throw Error(c(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=_l(n),n=Za(r).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function xl(t){return'href="'+He(t)+'"'}function wi(t){return'link[rel="stylesheet"]['+t+"]"}function v0(t){return p({},t,{"data-precedence":t.precedence,precedence:null})}function _g(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),ce(e,"link",n),ne(e),t.head.appendChild(e))}function _l(t){return'[src="'+He(t)+'"]'}function Mi(t){return"script[async]"+t}function b0(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+He(n.href)+'"]');if(a)return e.instance=a,ne(a),a;var r=p({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),ne(a),ce(a,"style",r),au(a,n.precedence,t),e.instance=a;case"stylesheet":r=xl(n.href);var u=t.querySelector(wi(r));if(u)return e.state.loading|=4,e.instance=u,ne(u),u;a=v0(n),(r=Qe.get(r))&&Vc(a,r),u=(t.ownerDocument||t).createElement("link"),ne(u);var f=u;return f._p=new Promise(function(h,g){f.onload=h,f.onerror=g}),ce(u,"link",a),e.state.loading|=4,au(u,n.precedence,t),e.instance=u;case"script":return u=_l(n.src),(r=t.querySelector(Mi(u)))?(e.instance=r,ne(r),r):(a=n,(r=Qe.get(u))&&(a=p({},n),kc(a,r)),t=t.ownerDocument||t,r=t.createElement("script"),ne(r),ce(r,"link",a),t.head.appendChild(r),e.instance=r);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,au(a,n.precedence,t));return e.instance}function au(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,u=r,f=0;f title"):null)}function Cg(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function E0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var Di=null;function Og(){}function Rg(t,e,n){if(Di===null)throw Error(c(475));var a=Di;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var r=xl(n.href),u=t.querySelector(wi(r));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=iu.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=u,ne(u);return}u=t.ownerDocument||t,n=v0(n),(r=Qe.get(r))&&Vc(n,r),u=u.createElement("link"),ne(u);var f=u;f._p=new Promise(function(h,g){f.onload=h,f.onerror=g}),ce(u,"link",n),e.instance=u}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(a.count++,e=iu.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function zg(){if(Di===null)throw Error(c(475));var t=Di;return t.stylesheets&&t.count===0&&Xc(t,t.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Ic.exports=Kg(),Ic.exports}var Jg=Wg();const Zi={black:"#000",white:"#fff"},Cl={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ol={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Rl={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},zl={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},wl={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Gi={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Fg={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function qa(l,...i){const o=new URL(`https://mui.com/production-error/?code=${l}`);return i.forEach(c=>o.searchParams.append("args[]",c)),`Minified MUI error #${l}; visit ${o} for the full message.`}const Ms="$$material";function Cu(){return Cu=Object.assign?Object.assign.bind():function(l){for(var i=1;i0?se(jl,--Ee):0,Hl--,It===10&&(Hl=1,Bu--),It}function De(){return It=Ee2||Wi(It)>3?"":" "}function fv(l,i){for(;--i&&De()&&!(It<48||It>102||It>57&&It<65||It>70&&It<97););return Fi(l,vu()+(i<6&&mn()==32&&De()==32))}function ps(l){for(;De();)switch(It){case l:return Ee;case 34:case 39:l!==34&&l!==39&&ps(It);break;case 40:l===41&&ps(l);break;case 92:De();break}return Ee}function dv(l,i){for(;De()&&l+It!==57;)if(l+It===84&&mn()===47)break;return"/*"+Fi(i,Ee-1)+"*"+Du(l===47?l:De())}function hv(l){for(;!Wi(mn());)De();return Fi(l,Ee)}function mv(l){return Nm(Su("",null,null,null,[""],l=Bm(l),0,[0],l))}function Su(l,i,o,c,s,d,m,v,b){for(var y=0,O=0,_=m,w=0,H=0,M=0,A=1,G=1,X=1,W=0,V="",q=s,R=d,K=c,P=V;G;)switch(M=W,W=De()){case 40:if(M!=108&&se(P,_-1)==58){ms(P+=Ct(bu(W),"&","&\f"),"&\f")!=-1&&(X=-1);break}case 34:case 39:case 91:P+=bu(W);break;case 9:case 10:case 13:case 32:P+=sv(M);break;case 92:P+=fv(vu()-1,7);continue;case 47:switch(mn()){case 42:case 47:mu(pv(dv(De(),vu()),i,o),b);break;default:P+="/"}break;case 123*A:v[y++]=fn(P)*X;case 125*A:case 59:case 0:switch(W){case 0:case 125:G=0;case 59+O:X==-1&&(P=Ct(P,/\f/g,"")),H>0&&fn(P)-_&&mu(H>32?X0(P+";",c,o,_-1):X0(Ct(P," ","")+";",c,o,_-2),b);break;case 59:P+=";";default:if(mu(K=k0(P,i,o,y,O,s,v,V,q=[],R=[],_),d),W===123)if(O===0)Su(P,i,K,K,q,d,_,v,R);else switch(w===99&&se(P,3)===110?100:w){case 100:case 108:case 109:case 115:Su(l,K,K,c&&mu(k0(l,K,K,0,0,s,v,V,s,q=[],_),R),s,R,_,v,c?q:R);break;default:Su(P,K,K,K,[""],R,0,v,R)}}y=O=H=0,A=X=1,V=P="",_=m;break;case 58:_=1+fn(P),H=M;default:if(A<1){if(W==123)--A;else if(W==125&&A++==0&&cv()==125)continue}switch(P+=Du(W),W*A){case 38:X=O>0?1:(P+="\f",-1);break;case 44:v[y++]=(fn(P)-1)*X,X=1;break;case 64:mn()===45&&(P+=bu(De())),w=mn(),O=_=fn(V=P+=hv(vu())),W++;break;case 45:M===45&&fn(P)==2&&(A=0)}}return d}function k0(l,i,o,c,s,d,m,v,b,y,O){for(var _=s-1,w=s===0?d:[""],H=Ns(w),M=0,A=0,G=0;M0?w[X]+" "+W:Ct(W,/&\f/g,w[X])))&&(b[G++]=V);return Nu(l,i,o,s===0?Ds:v,b,y,O)}function pv(l,i,o){return Nu(l,i,o,zm,Du(ov()),Ki(l,2,-2),0)}function X0(l,i,o,c){return Nu(l,i,o,Bs,Ki(l,0,c),Ki(l,c+1,-1),c)}function Nl(l,i){for(var o="",c=Ns(l),s=0;s6)switch(se(l,i+1)){case 109:if(se(l,i+4)!==45)break;case 102:return Ct(l,/(.+:)(.+)-([^]+)/,"$1"+_t+"$2-$3$1"+Ou+(se(l,i+3)==108?"$3":"$2-$3"))+l;case 115:return~ms(l,"stretch")?Hm(Ct(l,"stretch","fill-available"),i)+l:l}break;case 4949:if(se(l,i+1)!==115)break;case 6444:switch(se(l,fn(l)-3-(~ms(l,"!important")&&10))){case 107:return Ct(l,":",":"+_t)+l;case 101:return Ct(l,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_t+(se(l,14)===45?"inline-":"")+"box$3$1"+_t+"$2$3$1"+me+"$2box$3")+l}break;case 5936:switch(se(l,i+11)){case 114:return _t+l+me+Ct(l,/[svh]\w+-[tblr]{2}/,"tb")+l;case 108:return _t+l+me+Ct(l,/[svh]\w+-[tblr]{2}/,"tb-rl")+l;case 45:return _t+l+me+Ct(l,/[svh]\w+-[tblr]{2}/,"lr")+l}return _t+l+me+l+l}return l}var xv=function(i,o,c,s){if(i.length>-1&&!i.return)switch(i.type){case Bs:i.return=Hm(i.value,i.length);break;case wm:return Nl([Yi(i,{value:Ct(i.value,"@","@"+_t)})],s);case Ds:if(i.length)return uv(i.props,function(d){switch(rv(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Nl([Yi(i,{props:[Ct(d,/:(read-\w+)/,":"+Ou+"$1")]})],s);case"::placeholder":return Nl([Yi(i,{props:[Ct(d,/:(plac\w+)/,":"+_t+"input-$1")]}),Yi(i,{props:[Ct(d,/:(plac\w+)/,":"+Ou+"$1")]}),Yi(i,{props:[Ct(d,/:(plac\w+)/,me+"input-$1")]})],s)}return""})}},_v=[xv],Cv=function(i){var o=i.key;if(o==="css"){var c=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(c,function(A){var G=A.getAttribute("data-emotion");G.indexOf(" ")!==-1&&(document.head.appendChild(A),A.setAttribute("data-s",""))})}var s=i.stylisPlugins||_v,d={},m,v=[];m=i.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+o+' "]'),function(A){for(var G=A.getAttribute("data-emotion").split(" "),X=1;X=4;++c,s-=4)o=l.charCodeAt(c)&255|(l.charCodeAt(++c)&255)<<8|(l.charCodeAt(++c)&255)<<16|(l.charCodeAt(++c)&255)<<24,o=(o&65535)*1540483477+((o>>>16)*59797<<16),o^=o>>>24,i=(o&65535)*1540483477+((o>>>16)*59797<<16)^(i&65535)*1540483477+((i>>>16)*59797<<16);switch(s){case 3:i^=(l.charCodeAt(c+2)&255)<<16;case 2:i^=(l.charCodeAt(c+1)&255)<<8;case 1:i^=l.charCodeAt(c)&255,i=(i&65535)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,i=(i&65535)*1540483477+((i>>>16)*59797<<16),((i^i>>>15)>>>0).toString(36)}var Dv={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},Bv=/[A-Z]|^ms/g,Nv=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lm=function(i){return i.charCodeAt(1)===45},J0=function(i){return i!=null&&typeof i!="boolean"},rs=Um(function(l){return Lm(l)?l:l.replace(Bv,"-$&").toLowerCase()}),F0=function(i,o){switch(i){case"animation":case"animationName":if(typeof o=="string")return o.replace(Nv,function(c,s,d){return dn={name:s,styles:d,next:dn},s})}return Dv[i]!==1&&!Lm(i)&&typeof o=="number"&&o!==0?o+"px":o};function Ji(l,i,o){if(o==null)return"";var c=o;if(c.__emotion_styles!==void 0)return c;switch(typeof o){case"boolean":return"";case"object":{var s=o;if(s.anim===1)return dn={name:s.name,styles:s.styles,next:dn},s.name;var d=o;if(d.styles!==void 0){var m=d.next;if(m!==void 0)for(;m!==void 0;)dn={name:m.name,styles:m.styles,next:dn},m=m.next;var v=d.styles+";";return v}return Uv(l,i,o)}case"function":{if(l!==void 0){var b=dn,y=o(l);return dn=b,Ji(l,i,y)}break}}var O=o;if(i==null)return O;var _=i[O];return _!==void 0?_:O}function Uv(l,i,o){var c="";if(Array.isArray(o))for(var s=0;s96?kv:Xv},nm=function(i,o,c){var s;if(o){var d=o.shouldForwardProp;s=i.__emotion_forwardProp&&d?function(m){return i.__emotion_forwardProp(m)&&d(m)}:d}return typeof s!="function"&&c&&(s=i.__emotion_forwardProp),s},Qv=function(i){var o=i.cache,c=i.serialized,s=i.isStringTag;return Us(o,c,s),Gm(function(){return Hs(o,c,s)}),null},Zv=function l(i,o){var c=i.__emotion_real===i,s=c&&i.__emotion_base||i,d,m;o!==void 0&&(d=o.label,m=o.target);var v=nm(i,o,c),b=v||em(s),y=!b("as");return function(){var O=arguments,_=c&&i.__emotion_styles!==void 0?i.__emotion_styles.slice(0):[];if(d!==void 0&&_.push("label:"+d+";"),O[0]==null||O[0].raw===void 0)_.push.apply(_,O);else{var w=O[0];_.push(w[0]);for(var H=O.length,M=1;Mi(Wv(s)?o:s):i;return nt.jsx(Yv,{styles:c})}/** * @mui/styled-engine v6.4.3 * * @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 $m(l,i){return gs(l,i)}function Fv(l,i){Array.isArray(l.__emotion_styles)&&(l.__emotion_styles=i(l.__emotion_styles))}const am=[];function lm(l){return am[0]=l,Pi(am)}var us={exports:{}},Mt={};/** * @license React * react-is.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var im;function Pv(){if(im)return Mt;im=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),H=Symbol.for("react.client.reference");function M(A){if(typeof A=="object"&&A!==null){var G=A.$$typeof;switch(G){case l:switch(A=A.type,A){case o:case s:case c:case b:case y:return A;default:switch(A=A&&A.$$typeof,A){case m:case v:case _:case O:return A;case d:return A;default:return G}}case i:return G}}}return Mt.ContextConsumer=d,Mt.ContextProvider=m,Mt.Element=l,Mt.ForwardRef=v,Mt.Fragment=o,Mt.Lazy=_,Mt.Memo=O,Mt.Portal=i,Mt.Profiler=s,Mt.StrictMode=c,Mt.Suspense=b,Mt.SuspenseList=y,Mt.isContextConsumer=function(A){return M(A)===d},Mt.isContextProvider=function(A){return M(A)===m},Mt.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===l},Mt.isForwardRef=function(A){return M(A)===v},Mt.isFragment=function(A){return M(A)===o},Mt.isLazy=function(A){return M(A)===_},Mt.isMemo=function(A){return M(A)===O},Mt.isPortal=function(A){return M(A)===i},Mt.isProfiler=function(A){return M(A)===s},Mt.isStrictMode=function(A){return M(A)===c},Mt.isSuspense=function(A){return M(A)===b},Mt.isSuspenseList=function(A){return M(A)===y},Mt.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===o||A===s||A===c||A===b||A===y||A===w||typeof A=="object"&&A!==null&&(A.$$typeof===_||A.$$typeof===O||A.$$typeof===m||A.$$typeof===d||A.$$typeof===v||A.$$typeof===H||A.getModuleId!==void 0)},Mt.typeOf=M,Mt}var rm;function Iv(){return rm||(rm=1,us.exports=Pv()),us.exports}var Vm=Iv();function hn(l){if(typeof l!="object"||l===null)return!1;const i=Object.getPrototypeOf(l);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function km(l){if($.isValidElement(l)||Vm.isValidElementType(l)||!hn(l))return l;const i={};return Object.keys(l).forEach(o=>{i[o]=km(l[o])}),i}function Be(l,i,o={clone:!0}){const c=o.clone?{...l}:l;return hn(l)&&hn(i)&&Object.keys(i).forEach(s=>{$.isValidElement(i[s])||Vm.isValidElementType(i[s])?c[s]=i[s]:hn(i[s])&&Object.prototype.hasOwnProperty.call(l,s)&&hn(l[s])?c[s]=Be(l[s],i[s],o):o.clone?c[s]=hn(i[s])?km(i[s]):i[s]:c[s]=i[s]}),c}const tb=l=>{const i=Object.keys(l).map(o=>({key:o,val:l[o]}))||[];return i.sort((o,c)=>o.val-c.val),i.reduce((o,c)=>({...o,[c.key]:c.val}),{})};function eb(l){const{values:i={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:o="px",step:c=5,...s}=l,d=tb(i),m=Object.keys(d);function v(w){return`@media (min-width:${typeof i[w]=="number"?i[w]:w}${o})`}function b(w){return`@media (max-width:${(typeof i[w]=="number"?i[w]:w)-c/100}${o})`}function y(w,H){const M=m.indexOf(H);return`@media (min-width:${typeof i[w]=="number"?i[w]:w}${o}) and (max-width:${(M!==-1&&typeof i[m[M]]=="number"?i[m[M]]:H)-c/100}${o})`}function O(w){return m.indexOf(w)+1c.startsWith("@container")).sort((c,s)=>{const d=/min-width:\s*([0-9.]+)/;return+(c.match(d)?.[1]||0)-+(s.match(d)?.[1]||0)});return o.length?o.reduce((c,s)=>{const d=i[s];return delete c[s],c[s]=d,c},{...i}):i}function ab(l,i){return i==="@"||i.startsWith("@")&&(l.some(o=>i.startsWith(`@${o}`))||!!i.match(/^@\d/))}function lb(l,i){const o=i.match(/^@([^/]+)?\/?(.+)?$/);if(!o)return null;const[,c,s]=o,d=Number.isNaN(+c)?c||0:+c;return l.containerQueries(s).up(d)}function ib(l){const i=(d,m)=>d.replace("@media",m?`@container ${m}`:"@container");function o(d,m){d.up=(...v)=>i(l.breakpoints.up(...v),m),d.down=(...v)=>i(l.breakpoints.down(...v),m),d.between=(...v)=>i(l.breakpoints.between(...v),m),d.only=(...v)=>i(l.breakpoints.only(...v),m),d.not=(...v)=>{const b=i(l.breakpoints.not(...v),m);return b.includes("not all and")?b.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):b}}const c={},s=d=>(o(c,d),c);return o(s),{...l,containerQueries:s}}const rb={borderRadius:4};function ki(l,i){return i?Be(l,i,{clone:!1}):l}const Hu={xs:0,sm:600,md:900,lg:1200,xl:1536},um={keys:["xs","sm","md","lg","xl"],up:l=>`@media (min-width:${Hu[l]}px)`},ub={containerQueries:l=>({up:i=>{let o=typeof i=="number"?i:Hu[i]||i;return typeof o=="number"&&(o=`${o}px`),l?`@container ${l} (min-width:${o})`:`@container (min-width:${o})`}})};function Un(l,i,o){const c=l.theme||{};if(Array.isArray(i)){const d=c.breakpoints||um;return i.reduce((m,v,b)=>(m[d.up(d.keys[b])]=o(i[b]),m),{})}if(typeof i=="object"){const d=c.breakpoints||um;return Object.keys(i).reduce((m,v)=>{if(ab(d.keys,v)){const b=lb(c.containerQueries?c:ub,v);b&&(m[b]=o(i[v],v))}else if(Object.keys(d.values||Hu).includes(v)){const b=d.up(v);m[b]=o(i[v],v)}else{const b=v;m[b]=i[b]}return m},{})}return o(i)}function ob(l={}){return l.keys?.reduce((o,c)=>{const s=l.up(c);return o[s]={},o},{})||{}}function cb(l,i){return l.reduce((o,c)=>{const s=o[c];return(!s||Object.keys(s).length===0)&&delete o[c],o},i)}function Rt(l){if(typeof l!="string")throw new Error(qa(7));return l.charAt(0).toUpperCase()+l.slice(1)}function ju(l,i,o=!0){if(!i||typeof i!="string")return null;if(l&&l.vars&&o){const c=`vars.${i}`.split(".").reduce((s,d)=>s&&s[d]?s[d]:null,l);if(c!=null)return c}return i.split(".").reduce((c,s)=>c&&c[s]!=null?c[s]:null,l)}function Ru(l,i,o,c=o){let s;return typeof l=="function"?s=l(o):Array.isArray(l)?s=l[o]||c:s=ju(l,o)||c,i&&(s=i(s,c,l)),s}function Wt(l){const{prop:i,cssProperty:o=l.prop,themeKey:c,transform:s}=l,d=m=>{if(m[i]==null)return null;const v=m[i],b=m.theme,y=ju(b,c)||{};return Un(m,v,_=>{let w=Ru(y,s,_);return _===w&&typeof _=="string"&&(w=Ru(y,s,`${i}${_==="default"?"":Rt(_)}`,_)),o===!1?w:{[o]:w}})};return d.propTypes={},d.filterProps=[i],d}function sb(l){const i={};return o=>(i[o]===void 0&&(i[o]=l(o)),i[o])}const fb={m:"margin",p:"padding"},db={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},om={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},hb=sb(l=>{if(l.length>2)if(om[l])l=om[l];else return[l];const[i,o]=l.split(""),c=fb[i],s=db[o]||"";return Array.isArray(s)?s.map(d=>c+d):[c+s]}),qs=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Gs=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...qs,...Gs];function Ii(l,i,o,c){const s=ju(l,i,!0)??o;return typeof s=="number"||typeof s=="string"?d=>typeof d=="string"?d:typeof s=="string"?`calc(${d} * ${s})`:s*d:Array.isArray(s)?d=>{if(typeof d=="string")return d;const m=Math.abs(d),v=s[m];return d>=0?v:typeof v=="number"?-v:`-${v}`}:typeof s=="function"?s:()=>{}}function Ys(l){return Ii(l,"spacing",8)}function tr(l,i){return typeof i=="string"||i==null?i:l(i)}function mb(l,i){return o=>l.reduce((c,s)=>(c[s]=tr(i,o),c),{})}function pb(l,i,o,c){if(!i.includes(o))return null;const s=hb(o),d=mb(s,c),m=l[o];return Un(l,m,d)}function Xm(l,i){const o=Ys(l.theme);return Object.keys(l).map(c=>pb(l,i,c,o)).reduce(ki,{})}function Qt(l){return Xm(l,qs)}Qt.propTypes={};Qt.filterProps=qs;function Zt(l){return Xm(l,Gs)}Zt.propTypes={};Zt.filterProps=Gs;function Qm(l=8,i=Ys({spacing:l})){if(l.mui)return l;const o=(...c)=>(c.length===0?[1]:c).map(d=>{const m=i(d);return typeof m=="number"?`${m}px`:m}).join(" ");return o.mui=!0,o}function Lu(...l){const i=l.reduce((c,s)=>(s.filterProps.forEach(d=>{c[d]=s}),c),{}),o=c=>Object.keys(c).reduce((s,d)=>i[d]?ki(s,i[d](c)):s,{});return o.propTypes={},o.filterProps=l.reduce((c,s)=>c.concat(s.filterProps),[]),o}function Ke(l){return typeof l!="number"?l:`${l}px solid`}function Je(l,i){return Wt({prop:l,themeKey:"borders",transform:i})}const yb=Je("border",Ke),gb=Je("borderTop",Ke),vb=Je("borderRight",Ke),bb=Je("borderBottom",Ke),Sb=Je("borderLeft",Ke),Tb=Je("borderColor"),Eb=Je("borderTopColor"),Ab=Je("borderRightColor"),xb=Je("borderBottomColor"),_b=Je("borderLeftColor"),Cb=Je("outline",Ke),Ob=Je("outlineColor"),qu=l=>{if(l.borderRadius!==void 0&&l.borderRadius!==null){const i=Ii(l.theme,"shape.borderRadius",4),o=c=>({borderRadius:tr(i,c)});return Un(l,l.borderRadius,o)}return null};qu.propTypes={};qu.filterProps=["borderRadius"];Lu(yb,gb,vb,bb,Sb,Tb,Eb,Ab,xb,_b,qu,Cb,Ob);const Gu=l=>{if(l.gap!==void 0&&l.gap!==null){const i=Ii(l.theme,"spacing",8),o=c=>({gap:tr(i,c)});return Un(l,l.gap,o)}return null};Gu.propTypes={};Gu.filterProps=["gap"];const Yu=l=>{if(l.columnGap!==void 0&&l.columnGap!==null){const i=Ii(l.theme,"spacing",8),o=c=>({columnGap:tr(i,c)});return Un(l,l.columnGap,o)}return null};Yu.propTypes={};Yu.filterProps=["columnGap"];const $u=l=>{if(l.rowGap!==void 0&&l.rowGap!==null){const i=Ii(l.theme,"spacing",8),o=c=>({rowGap:tr(i,c)});return Un(l,l.rowGap,o)}return null};$u.propTypes={};$u.filterProps=["rowGap"];const Rb=Wt({prop:"gridColumn"}),zb=Wt({prop:"gridRow"}),wb=Wt({prop:"gridAutoFlow"}),Mb=Wt({prop:"gridAutoColumns"}),Db=Wt({prop:"gridAutoRows"}),Bb=Wt({prop:"gridTemplateColumns"}),Nb=Wt({prop:"gridTemplateRows"}),Ub=Wt({prop:"gridTemplateAreas"}),Hb=Wt({prop:"gridArea"});Lu(Gu,Yu,$u,Rb,zb,wb,Mb,Db,Bb,Nb,Ub,Hb);function Ul(l,i){return i==="grey"?i:l}const jb=Wt({prop:"color",themeKey:"palette",transform:Ul}),Lb=Wt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ul}),qb=Wt({prop:"backgroundColor",themeKey:"palette",transform:Ul});Lu(jb,Lb,qb);function Me(l){return l<=1&&l!==0?`${l*100}%`:l}const Gb=Wt({prop:"width",transform:Me}),$s=l=>{if(l.maxWidth!==void 0&&l.maxWidth!==null){const i=o=>{const c=l.theme?.breakpoints?.values?.[o]||Hu[o];return c?l.theme?.breakpoints?.unit!=="px"?{maxWidth:`${c}${l.theme.breakpoints.unit}`}:{maxWidth:c}:{maxWidth:Me(o)}};return Un(l,l.maxWidth,i)}return null};$s.filterProps=["maxWidth"];const Yb=Wt({prop:"minWidth",transform:Me}),$b=Wt({prop:"height",transform:Me}),Vb=Wt({prop:"maxHeight",transform:Me}),kb=Wt({prop:"minHeight",transform:Me});Wt({prop:"size",cssProperty:"width",transform:Me});Wt({prop:"size",cssProperty:"height",transform:Me});const Xb=Wt({prop:"boxSizing"});Lu(Gb,$s,Yb,$b,Vb,kb,Xb);const er={border:{themeKey:"borders",transform:Ke},borderTop:{themeKey:"borders",transform:Ke},borderRight:{themeKey:"borders",transform:Ke},borderBottom:{themeKey:"borders",transform:Ke},borderLeft:{themeKey:"borders",transform:Ke},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ke},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:qu},color:{themeKey:"palette",transform:Ul},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ul},backgroundColor:{themeKey:"palette",transform:Ul},p:{style:Zt},pt:{style:Zt},pr:{style:Zt},pb:{style:Zt},pl:{style:Zt},px:{style:Zt},py:{style:Zt},padding:{style:Zt},paddingTop:{style:Zt},paddingRight:{style:Zt},paddingBottom:{style:Zt},paddingLeft:{style:Zt},paddingX:{style:Zt},paddingY:{style:Zt},paddingInline:{style:Zt},paddingInlineStart:{style:Zt},paddingInlineEnd:{style:Zt},paddingBlock:{style:Zt},paddingBlockStart:{style:Zt},paddingBlockEnd:{style:Zt},m:{style:Qt},mt:{style:Qt},mr:{style:Qt},mb:{style:Qt},ml:{style:Qt},mx:{style:Qt},my:{style:Qt},margin:{style:Qt},marginTop:{style:Qt},marginRight:{style:Qt},marginBottom:{style:Qt},marginLeft:{style:Qt},marginX:{style:Qt},marginY:{style:Qt},marginInline:{style:Qt},marginInlineStart:{style:Qt},marginInlineEnd:{style:Qt},marginBlock:{style:Qt},marginBlockStart:{style:Qt},marginBlockEnd:{style:Qt},displayPrint:{cssProperty:!1,transform:l=>({"@media print":{display:l}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Gu},rowGap:{style:$u},columnGap:{style:Yu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Me},maxWidth:{style:$s},minWidth:{transform:Me},height:{transform:Me},maxHeight:{transform:Me},minHeight:{transform:Me},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 Qb(...l){const i=l.reduce((c,s)=>c.concat(Object.keys(s)),[]),o=new Set(i);return l.every(c=>o.size===Object.keys(c).length)}function Zb(l,i){return typeof l=="function"?l(i):l}function Kb(){function l(o,c,s,d){const m={[o]:c,theme:s},v=d[o];if(!v)return{[o]:c};const{cssProperty:b=o,themeKey:y,transform:O,style:_}=v;if(c==null)return null;if(y==="typography"&&c==="inherit")return{[o]:c};const w=ju(s,y)||{};return _?_(m):Un(m,c,M=>{let A=Ru(w,O,M);return M===A&&typeof M=="string"&&(A=Ru(w,O,`${o}${M==="default"?"":Rt(M)}`,M)),b===!1?A:{[b]:A}})}function i(o){const{sx:c,theme:s={}}=o||{};if(!c)return null;const d=s.unstable_sxConfig??er;function m(v){let b=v;if(typeof v=="function")b=v(s);else if(typeof v!="object")return v;if(!b)return null;const y=ob(s.breakpoints),O=Object.keys(y);let _=y;return Object.keys(b).forEach(w=>{const H=Zb(b[w],s);if(H!=null)if(typeof H=="object")if(d[w])_=ki(_,l(w,H,s,d));else{const M=Un({theme:s},H,A=>({[w]:A}));Qb(M,H)?_[w]=i({sx:H,theme:s}):_=ki(_,M)}else _=ki(_,l(w,H,s,d))}),nb(s,cb(O,_))}return Array.isArray(c)?c.map(m):m(c)}return i}const Ga=Kb();Ga.filterProps=["sx"];function Wb(l,i){const o=this;if(o.vars){if(!o.colorSchemes?.[l]||typeof o.getColorSchemeSelector!="function")return{};let c=o.getColorSchemeSelector(l);return c==="&"?i:((c.includes("data-")||c.includes("."))&&(c=`*:where(${c.replace(/\s*&$/,"")}) &`),{[c]:i})}return o.palette.mode===l?i:{}}function Vs(l={},...i){const{breakpoints:o={},palette:c={},spacing:s,shape:d={},...m}=l,v=eb(o),b=Qm(s);let y=Be({breakpoints:v,direction:"ltr",components:{},palette:{mode:"light",...c},spacing:b,shape:{...rb,...d}},m);return y=ib(y),y.applyStyles=Wb,y=i.reduce((O,_)=>Be(O,_),y),y.unstable_sxConfig={...er,...m?.unstable_sxConfig},y.unstable_sx=function(_){return Ga({sx:_,theme:this})},y}function Jb(l){return Object.keys(l).length===0}function Fb(l=null){const i=$.useContext(Uu);return!i||Jb(i)?l:i}const Pb=Vs();function Zm(l=Pb){return Fb(l)}function Ib({styles:l,themeId:i,defaultTheme:o={}}){const c=Zm(o),s=typeof l=="function"?l(i&&c[i]||c):l;return nt.jsx(Jv,{styles:s})}const t1=l=>{const i={systemProps:{},otherProps:{}},o=l?.theme?.unstable_sxConfig??er;return Object.keys(l).forEach(c=>{o[c]?i.systemProps[c]=l[c]:i.otherProps[c]=l[c]}),i};function Km(l){const{sx:i,...o}=l,{systemProps:c,otherProps:s}=t1(o);let d;return Array.isArray(i)?d=[c,...i]:typeof i=="function"?d=(...m)=>{const v=i(...m);return hn(v)?{...c,...v}:c}:d={...c,...i},{...s,sx:d}}const cm=l=>l,e1=()=>{let l=cm;return{configure(i){l=i},generate(i){return l(i)},reset(){l=cm}}},Wm=e1();function Jm(l){var i,o,c="";if(typeof l=="string"||typeof l=="number")c+=l;else if(typeof l=="object")if(Array.isArray(l)){var s=l.length;for(i=0;iv!=="theme"&&v!=="sx"&&v!=="as"})(Ga);return $.forwardRef(function(b,y){const O=Zm(o),{className:_,component:w="div",...H}=Km(b);return nt.jsx(d,{as:w,ref:y,className:pe(_,s?s(c):c),theme:i&&O[i]||O,...H})})}const a1={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 ql(l,i,o="Mui"){const c=a1[i];return c?`${o}-${c}`:`${Wm.generate(l)}-${i}`}function Ya(l,i,o="Mui"){const c={};return i.forEach(s=>{c[s]=ql(l,s,o)}),c}function Fm(l){const{variants:i,...o}=l,c={variants:i,style:lm(o),isProcessed:!0};return c.style===o||i&&i.forEach(s=>{typeof s.style!="function"&&(s.style=lm(s.style))}),c}const l1=Vs();function os(l){return l!=="ownerState"&&l!=="theme"&&l!=="sx"&&l!=="as"}function i1(l){return l?(i,o)=>o[l]:null}function r1(l,i,o){l.theme=c1(l.theme)?o:l.theme[i]||l.theme}function Tu(l,i){const o=typeof i=="function"?i(l):i;if(Array.isArray(o))return o.flatMap(c=>Tu(l,c));if(Array.isArray(o?.variants)){let c;if(o.isProcessed)c=o.style;else{const{variants:s,...d}=o;c=d}return Pm(l,o.variants,[c])}return o?.isProcessed?o.style:o}function Pm(l,i,o=[]){let c;t:for(let s=0;s{Fv(v,R=>R.filter(K=>K!==Ga));const{name:y,slot:O,skipVariantsResolver:_,skipSx:w,overridesResolver:H=i1(f1(O)),...M}=b,A=_!==void 0?_:O&&O!=="Root"&&O!=="root"||!1,G=w||!1;let X=os;O==="Root"||O==="root"?X=c:O?X=s:s1(v)&&(X=void 0);const W=$m(v,{shouldForwardProp:X,label:o1(),...M}),V=R=>{if(typeof R=="function"&&R.__emotion_real!==R)return function(P){return Tu(P,R)};if(hn(R)){const K=Fm(R);return K.variants?function(ft){return Tu(ft,K)}:K.style}return R},q=(...R)=>{const K=[],P=R.map(V),ft=[];if(K.push(d),y&&H&&ft.push(function(tt){const Tt=tt.theme.components?.[y]?.styleOverrides;if(!Tt)return null;const Dt={};for(const Y in Tt)Dt[Y]=Tu(tt,Tt[Y]);return H(tt,Dt)}),y&&!A&&ft.push(function(tt){const Tt=tt.theme?.components?.[y]?.variants;return Tt?Pm(tt,Tt):null}),G||ft.push(Ga),Array.isArray(P[0])){const k=P.shift(),tt=new Array(K.length).fill(""),rt=new Array(ft.length).fill("");let Tt;Tt=[...tt,...k,...rt],Tt.raw=[...tt,...k.raw,...rt],K.unshift(Tt)}const Q=[...K,...P,...ft],p=W(...Q);return v.muiName&&(p.muiName=v.muiName),p};return W.withConfig&&(q.withConfig=W.withConfig),q}}function o1(l,i){return void 0}function c1(l){for(const i in l)return!1;return!0}function s1(l){return typeof l=="string"&&l.charCodeAt(0)>96}function f1(l){return l&&l.charAt(0).toLowerCase()+l.slice(1)}function zu(l,i){const o={...i};for(const c in l)if(Object.prototype.hasOwnProperty.call(l,c)){const s=c;if(s==="components"||s==="slots")o[s]={...l[s],...o[s]};else if(s==="componentsProps"||s==="slotProps"){const d=l[s],m=i[s];if(!m)o[s]=d||{};else if(!d)o[s]=m;else{o[s]={...m};for(const v in d)if(Object.prototype.hasOwnProperty.call(d,v)){const b=v;o[s][b]=zu(d[b],m[b])}}}else o[s]===void 0&&(o[s]=l[s])}return o}const d1=typeof window<"u"?$.useLayoutEffect:$.useEffect;function h1(l,i=Number.MIN_SAFE_INTEGER,o=Number.MAX_SAFE_INTEGER){return Math.max(i,Math.min(l,o))}function ks(l,i=0,o=1){return h1(l,i,o)}function m1(l){l=l.slice(1);const i=new RegExp(`.{1,${l.length>=6?2:1}}`,"g");let o=l.match(i);return o&&o[0].length===1&&(o=o.map(c=>c+c)),o?`rgb${o.length===4?"a":""}(${o.map((c,s)=>s<3?parseInt(c,16):Math.round(parseInt(c,16)/255*1e3)/1e3).join(", ")})`:""}function sa(l){if(l.type)return l;if(l.charAt(0)==="#")return sa(m1(l));const i=l.indexOf("("),o=l.substring(0,i);if(!["rgb","rgba","hsl","hsla","color"].includes(o))throw new Error(qa(9,l));let c=l.substring(i+1,l.length-1),s;if(o==="color"){if(c=c.split(" "),s=c.shift(),c.length===4&&c[3].charAt(0)==="/"&&(c[3]=c[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(qa(10,s))}else c=c.split(",");return c=c.map(d=>parseFloat(d)),{type:o,values:c,colorSpace:s}}const p1=l=>{const i=sa(l);return i.values.slice(0,3).map((o,c)=>i.type.includes("hsl")&&c!==0?`${o}%`:o).join(" ")},$i=(l,i)=>{try{return p1(l)}catch{return l}};function Vu(l){const{type:i,colorSpace:o}=l;let{values:c}=l;return i.includes("rgb")?c=c.map((s,d)=>d<3?parseInt(s,10):s):i.includes("hsl")&&(c[1]=`${c[1]}%`,c[2]=`${c[2]}%`),i.includes("color")?c=`${o} ${c.join(" ")}`:c=`${c.join(", ")}`,`${i}(${c})`}function Im(l){l=sa(l);const{values:i}=l,o=i[0],c=i[1]/100,s=i[2]/100,d=c*Math.min(s,1-s),m=(y,O=(y+o/30)%12)=>s-d*Math.max(Math.min(O-3,9-O,1),-1);let v="rgb";const b=[Math.round(m(0)*255),Math.round(m(8)*255),Math.round(m(4)*255)];return l.type==="hsla"&&(v+="a",b.push(i[3])),Vu({type:v,values:b})}function vs(l){l=sa(l);let i=l.type==="hsl"||l.type==="hsla"?sa(Im(l)).values:l.values;return i=i.map(o=>(l.type!=="color"&&(o/=255),o<=.03928?o/12.92:((o+.055)/1.055)**2.4)),Number((.2126*i[0]+.7152*i[1]+.0722*i[2]).toFixed(3))}function y1(l,i){const o=vs(l),c=vs(i);return(Math.max(o,c)+.05)/(Math.min(o,c)+.05)}function Dl(l,i){return l=sa(l),i=ks(i),(l.type==="rgb"||l.type==="hsl")&&(l.type+="a"),l.type==="color"?l.values[3]=`/${i}`:l.values[3]=i,Vu(l)}function pu(l,i,o){try{return Dl(l,i)}catch{return l}}function ku(l,i){if(l=sa(l),i=ks(i),l.type.includes("hsl"))l.values[2]*=1-i;else if(l.type.includes("rgb")||l.type.includes("color"))for(let o=0;o<3;o+=1)l.values[o]*=1-i;return Vu(l)}function Nt(l,i,o){try{return ku(l,i)}catch{return l}}function Xu(l,i){if(l=sa(l),i=ks(i),l.type.includes("hsl"))l.values[2]+=(100-l.values[2])*i;else if(l.type.includes("rgb"))for(let o=0;o<3;o+=1)l.values[o]+=(255-l.values[o])*i;else if(l.type.includes("color"))for(let o=0;o<3;o+=1)l.values[o]+=(1-l.values[o])*i;return Vu(l)}function Ut(l,i,o){try{return Xu(l,i)}catch{return l}}function g1(l,i=.15){return vs(l)>.5?ku(l,i):Xu(l,i)}function yu(l,i,o){try{return g1(l,i)}catch{return l}}function v1(l,i){typeof l=="function"?l(i):l&&(l.current=i)}let sm=0;function b1(l){const[i,o]=$.useState(l),c=l||i;return $.useEffect(()=>{i==null&&(sm+=1,o(`mui-${sm}`))},[i]),c}const S1={...hs},fm=S1.useId;function T1(l){if(fm!==void 0){const i=fm();return l??i}return b1(l)}function Eu(l){const i=$.useRef(l);return d1(()=>{i.current=l}),$.useRef((...o)=>(0,i.current)(...o)).current}function dm(...l){return $.useMemo(()=>l.every(i=>i==null)?null:i=>{l.forEach(o=>{v1(o,i)})},l)}const hm={};function tp(l,i){const o=$.useRef(hm);return o.current===hm&&(o.current=l(i)),o}const E1=[];function A1(l){$.useEffect(l,E1)}class Xs{static create(){return new Xs}currentId=null;start(i,o){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,o()},i)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function x1(){const l=tp(Xs.create).current;return A1(l.disposeEffect),l}function mm(l){try{return l.matches(":focus-visible")}catch{}return!1}function nr(l,i,o=void 0){const c={};for(const s in l){const d=l[s];let m="",v=!0;for(let b=0;b$.useContext(_1)??!1,O1=$.createContext(void 0);function R1(l){const{theme:i,name:o,props:c}=l;if(!i||!i.components||!i.components[o])return c;const s=i.components[o];return s.defaultProps?zu(s.defaultProps,c):!s.styleOverrides&&!s.variants?zu(s,c):c}function z1({props:l,name:i}){const o=$.useContext(O1);return R1({props:l,name:i,theme:{components:o}})}const pm={theme:void 0};function w1(l){let i,o;return function(s){let d=i;return(d===void 0||s.theme!==o)&&(pm.theme=s.theme,d=Fm(l(pm)),i=d,o=s.theme),d}}function M1(l=""){function i(...c){if(!c.length)return"";const s=c[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(--${l?`${l}-`:""}${s}${i(...c.slice(1))})`:`, ${s}`}return(c,...s)=>`var(--${l?`${l}-`:""}${c}${i(...s)})`}const ym=(l,i,o,c=[])=>{let s=l;i.forEach((d,m)=>{m===i.length-1?Array.isArray(s)?s[Number(d)]=o:s&&typeof s=="object"&&(s[d]=o):s&&typeof s=="object"&&(s[d]||(s[d]=c.includes(d)?[]:{}),s=s[d])})},D1=(l,i,o)=>{function c(s,d=[],m=[]){Object.entries(s).forEach(([v,b])=>{(!o||o&&!o([...d,v]))&&b!=null&&(typeof b=="object"&&Object.keys(b).length>0?c(b,[...d,v],Array.isArray(b)?[...m,v]:m):i([...d,v],b,m))})}c(l)},B1=(l,i)=>typeof i=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(c=>l.includes(c))||l[l.length-1].toLowerCase().includes("opacity")?i:`${i}px`:i;function cs(l,i){const{prefix:o,shouldSkipGeneratingVar:c}=i||{},s={},d={},m={};return D1(l,(v,b,y)=>{if((typeof b=="string"||typeof b=="number")&&(!c||!c(v,b))){const O=`--${o?`${o}-`:""}${v.join("-")}`,_=B1(v,b);Object.assign(s,{[O]:_}),ym(d,v,`var(${O})`,y),ym(m,v,`var(${O}, ${_})`,y)}},v=>v[0]==="vars"),{css:s,vars:d,varsWithDefaults:m}}function N1(l,i={}){const{getSelector:o=G,disableCssColorScheme:c,colorSchemeSelector:s}=i,{colorSchemes:d={},components:m,defaultColorScheme:v="light",...b}=l,{vars:y,css:O,varsWithDefaults:_}=cs(b,i);let w=_;const H={},{[v]:M,...A}=d;if(Object.entries(A||{}).forEach(([V,q])=>{const{vars:R,css:K,varsWithDefaults:P}=cs(q,i);w=Be(w,P),H[V]={css:K,vars:R}}),M){const{css:V,vars:q,varsWithDefaults:R}=cs(M,i);w=Be(w,R),H[v]={css:V,vars:q}}function G(V,q){let R=s;if(s==="class"&&(R=".%s"),s==="data"&&(R="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(R=`[${s}="%s"]`),V){if(R==="media")return l.defaultColorScheme===V?":root":{[`@media (prefers-color-scheme: ${d[V]?.palette?.mode||V})`]:{":root":q}};if(R)return l.defaultColorScheme===V?`:root, ${R.replace("%s",String(V))}`:R.replace("%s",String(V))}return":root"}return{vars:w,generateThemeVars:()=>{let V={...y};return Object.entries(H).forEach(([,{vars:q}])=>{V=Be(V,q)}),V},generateStyleSheets:()=>{const V=[],q=l.defaultColorScheme||"light";function R(ft,Q){Object.keys(Q).length&&V.push(typeof ft=="string"?{[ft]:{...Q}}:ft)}R(o(void 0,{...O}),O);const{[q]:K,...P}=H;if(K){const{css:ft}=K,Q=d[q]?.palette?.mode,p=!c&&Q?{colorScheme:Q,...ft}:{...ft};R(o(q,{...p}),p)}return Object.entries(P).forEach(([ft,{css:Q}])=>{const p=d[ft]?.palette?.mode,k=!c&&p?{colorScheme:p,...Q}:{...Q};R(o(ft,{...k}),k)}),V}}}function U1(l){return function(o){return l==="media"?`@media (prefers-color-scheme: ${o})`:l?l.startsWith("data-")&&!l.includes("%s")?`[${l}="${o}"] &`:l==="class"?`.${o} &`:l==="data"?`[data-${o}] &`:`${l.replace("%s",o)} &`:"&"}}function ep(){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:Zi.white,default:Zi.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 H1=ep();function np(){return{text:{primary:Zi.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:Zi.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 gm=np();function vm(l,i,o,c){const s=c.light||c,d=c.dark||c*1.5;l[i]||(l.hasOwnProperty(o)?l[i]=l[o]:i==="light"?l.light=Xu(l.main,s):i==="dark"&&(l.dark=ku(l.main,d)))}function j1(l="light"){return l==="dark"?{main:Rl[200],light:Rl[50],dark:Rl[400]}:{main:Rl[700],light:Rl[400],dark:Rl[800]}}function L1(l="light"){return l==="dark"?{main:Ol[200],light:Ol[50],dark:Ol[400]}:{main:Ol[500],light:Ol[300],dark:Ol[700]}}function q1(l="light"){return l==="dark"?{main:Cl[500],light:Cl[300],dark:Cl[700]}:{main:Cl[700],light:Cl[400],dark:Cl[800]}}function G1(l="light"){return l==="dark"?{main:zl[400],light:zl[300],dark:zl[700]}:{main:zl[700],light:zl[500],dark:zl[900]}}function Y1(l="light"){return l==="dark"?{main:wl[400],light:wl[300],dark:wl[700]}:{main:wl[800],light:wl[500],dark:wl[900]}}function $1(l="light"){return l==="dark"?{main:Gi[400],light:Gi[300],dark:Gi[700]}:{main:"#ed6c02",light:Gi[500],dark:Gi[900]}}function Qs(l){const{mode:i="light",contrastThreshold:o=3,tonalOffset:c=.2,...s}=l,d=l.primary||j1(i),m=l.secondary||L1(i),v=l.error||q1(i),b=l.info||G1(i),y=l.success||Y1(i),O=l.warning||$1(i);function _(A){return y1(A,gm.text.primary)>=o?gm.text.primary:H1.text.primary}const w=({color:A,name:G,mainShade:X=500,lightShade:W=300,darkShade:V=700})=>{if(A={...A},!A.main&&A[X]&&(A.main=A[X]),!A.hasOwnProperty("main"))throw new Error(qa(11,G?` (${G})`:"",X));if(typeof A.main!="string")throw new Error(qa(12,G?` (${G})`:"",JSON.stringify(A.main)));return vm(A,"light",W,c),vm(A,"dark",V,c),A.contrastText||(A.contrastText=_(A.main)),A};let H;return i==="light"?H=ep():i==="dark"&&(H=np()),Be({common:{...Zi},mode:i,primary:w({color:d,name:"primary"}),secondary:w({color:m,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:v,name:"error"}),warning:w({color:O,name:"warning"}),info:w({color:b,name:"info"}),success:w({color:y,name:"success"}),grey:Fg,contrastThreshold:o,getContrastText:_,augmentColor:w,tonalOffset:c,...H},s)}function V1(l){const i={};return Object.entries(l).forEach(c=>{const[s,d]=c;typeof d=="object"&&(i[s]=`${d.fontStyle?`${d.fontStyle} `:""}${d.fontVariant?`${d.fontVariant} `:""}${d.fontWeight?`${d.fontWeight} `:""}${d.fontStretch?`${d.fontStretch} `:""}${d.fontSize||""}${d.lineHeight?`/${d.lineHeight} `:""}${d.fontFamily||""}`)}),i}function k1(l,i){return{toolbar:{minHeight:56,[l.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[l.up("sm")]:{minHeight:64}},...i}}function X1(l){return Math.round(l*1e5)/1e5}const bm={textTransform:"uppercase"},Sm='"Roboto", "Helvetica", "Arial", sans-serif';function Q1(l,i){const{fontFamily:o=Sm,fontSize:c=14,fontWeightLight:s=300,fontWeightRegular:d=400,fontWeightMedium:m=500,fontWeightBold:v=700,htmlFontSize:b=16,allVariants:y,pxToRem:O,..._}=typeof i=="function"?i(l):i,w=c/14,H=O||(G=>`${G/b*w}rem`),M=(G,X,W,V,q)=>({fontFamily:o,fontWeight:G,fontSize:H(X),lineHeight:W,...o===Sm?{letterSpacing:`${X1(V/X)}em`}:{},...q,...y}),A={h1:M(s,96,1.167,-1.5),h2:M(s,60,1.2,-.5),h3:M(d,48,1.167,0),h4:M(d,34,1.235,.25),h5:M(d,24,1.334,0),h6:M(m,20,1.6,.15),subtitle1:M(d,16,1.75,.15),subtitle2:M(m,14,1.57,.1),body1:M(d,16,1.5,.15),body2:M(d,14,1.43,.15),button:M(m,14,1.75,.4,bm),caption:M(d,12,1.66,.4),overline:M(d,12,2.66,1,bm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Be({htmlFontSize:b,pxToRem:H,fontFamily:o,fontSize:c,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:v,...A},_,{clone:!1})}const Z1=.2,K1=.14,W1=.12;function qt(...l){return[`${l[0]}px ${l[1]}px ${l[2]}px ${l[3]}px rgba(0,0,0,${Z1})`,`${l[4]}px ${l[5]}px ${l[6]}px ${l[7]}px rgba(0,0,0,${K1})`,`${l[8]}px ${l[9]}px ${l[10]}px ${l[11]}px rgba(0,0,0,${W1})`].join(",")}const J1=["none",qt(0,2,1,-1,0,1,1,0,0,1,3,0),qt(0,3,1,-2,0,2,2,0,0,1,5,0),qt(0,3,3,-2,0,3,4,0,0,1,8,0),qt(0,2,4,-1,0,4,5,0,0,1,10,0),qt(0,3,5,-1,0,5,8,0,0,1,14,0),qt(0,3,5,-1,0,6,10,0,0,1,18,0),qt(0,4,5,-2,0,7,10,1,0,2,16,1),qt(0,5,5,-3,0,8,10,1,0,3,14,2),qt(0,5,6,-3,0,9,12,1,0,3,16,2),qt(0,6,6,-3,0,10,14,1,0,4,18,3),qt(0,6,7,-4,0,11,15,1,0,4,20,3),qt(0,7,8,-4,0,12,17,2,0,5,22,4),qt(0,7,8,-4,0,13,19,2,0,5,24,4),qt(0,7,9,-4,0,14,21,2,0,5,26,4),qt(0,8,9,-5,0,15,22,2,0,6,28,5),qt(0,8,10,-5,0,16,24,2,0,6,30,5),qt(0,8,11,-5,0,17,26,2,0,6,32,5),qt(0,9,11,-5,0,18,28,2,0,7,34,6),qt(0,9,12,-6,0,19,29,2,0,7,36,6),qt(0,10,13,-6,0,20,31,3,0,8,38,7),qt(0,10,13,-6,0,21,33,3,0,8,40,7),qt(0,10,14,-6,0,22,35,3,0,8,42,7),qt(0,11,14,-7,0,23,36,3,0,9,44,8),qt(0,11,15,-7,0,24,38,3,0,9,46,8)],F1={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)"},P1={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Tm(l){return`${Math.round(l)}ms`}function I1(l){if(!l)return 0;const i=l/36;return Math.min(Math.round((4+15*i**.25+i/5)*10),3e3)}function tS(l){const i={...F1,...l.easing},o={...P1,...l.duration};return{getAutoHeightDuration:I1,create:(s=["all"],d={})=>{const{duration:m=o.standard,easing:v=i.easeInOut,delay:b=0,...y}=d;return(Array.isArray(s)?s:[s]).map(O=>`${O} ${typeof m=="string"?m:Tm(m)} ${v} ${typeof b=="string"?b:Tm(b)}`).join(",")},...l,easing:i,duration:o}}const eS={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function nS(l){return hn(l)||typeof l>"u"||typeof l=="string"||typeof l=="boolean"||typeof l=="number"||Array.isArray(l)}function ap(l={}){const i={...l};function o(c){const s=Object.entries(c);for(let d=0;dBe(H,M),w),w.unstable_sxConfig={...er,...y?.unstable_sxConfig},w.unstable_sx=function(M){return Ga({sx:M,theme:this})},w.toRuntimeSource=ap,w}function aS(l){let i;return l<1?i=5.11916*l**2:i=4.5*Math.log(l+1)+2,Math.round(i*10)/1e3}const lS=[...Array(25)].map((l,i)=>{if(i===0)return"none";const o=aS(i);return`linear-gradient(rgba(255 255 255 / ${o}), rgba(255 255 255 / ${o}))`});function lp(l){return{inputPlaceholder:l==="dark"?.5:.42,inputUnderline:l==="dark"?.7:.42,switchTrackDisabled:l==="dark"?.2:.12,switchTrack:l==="dark"?.3:.38}}function ip(l){return l==="dark"?lS:[]}function iS(l){const{palette:i={mode:"light"},opacity:o,overlays:c,...s}=l,d=Qs(i);return{palette:d,opacity:{...lp(d.mode),...o},overlays:c||ip(d.mode),...s}}function rS(l){return!!l[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!l[0].match(/sxConfig$/)||l[0]==="palette"&&!!l[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const uS=l=>[...[...Array(25)].map((i,o)=>`--${l?`${l}-`:""}overlays-${o}`),`--${l?`${l}-`:""}palette-AppBar-darkBg`,`--${l?`${l}-`:""}palette-AppBar-darkColor`],oS=l=>(i,o)=>{const c=l.rootSelector||":root",s=l.colorSchemeSelector;let d=s;if(s==="class"&&(d=".%s"),s==="data"&&(d="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(d=`[${s}="%s"]`),l.defaultColorScheme===i){if(i==="dark"){const m={};return uS(l.cssVarPrefix).forEach(v=>{m[v]=o[v],delete o[v]}),d==="media"?{[c]:o,"@media (prefers-color-scheme: dark)":{[c]:m}}:d?{[d.replace("%s",i)]:m,[`${c}, ${d.replace("%s",i)}`]:o}:{[c]:{...o,...m}}}if(d&&d!=="media")return`${c}, ${d.replace("%s",String(i))}`}else if(i){if(d==="media")return{[`@media (prefers-color-scheme: ${String(i)})`]:{[c]:o}};if(d)return d.replace("%s",String(i))}return c};function cS(l,i){i.forEach(o=>{l[o]||(l[o]={})})}function D(l,i,o){!l[i]&&o&&(l[i]=o)}function Vi(l){return typeof l!="string"||!l.startsWith("hsl")?l:Im(l)}function Dn(l,i){`${i}Channel`in l||(l[`${i}Channel`]=$i(Vi(l[i])))}function sS(l){return typeof l=="number"?`${l}px`:typeof l=="string"||typeof l=="function"||Array.isArray(l)?l:"8px"}const sn=l=>{try{return l()}catch{}},fS=(l="mui")=>M1(l);function ss(l,i,o,c){if(!i)return;i=i===!0?{}:i;const s=c==="dark"?"dark":"light";if(!o){l[c]=iS({...i,palette:{mode:s,...i?.palette}});return}const{palette:d,...m}=bs({...o,palette:{mode:s,...i?.palette}});return l[c]={...i,palette:d,opacity:{...lp(s),...i?.opacity},overlays:i?.overlays||ip(s)},m}function dS(l={},...i){const{colorSchemes:o={light:!0},defaultColorScheme:c,disableCssColorScheme:s=!1,cssVarPrefix:d="mui",shouldSkipGeneratingVar:m=rS,colorSchemeSelector:v=o.light&&o.dark?"media":void 0,rootSelector:b=":root",...y}=l,O=Object.keys(o)[0],_=c||(o.light&&O!=="light"?"light":O),w=fS(d),{[_]:H,light:M,dark:A,...G}=o,X={...G};let W=H;if((_==="dark"&&!("dark"in o)||_==="light"&&!("light"in o))&&(W=!0),!W)throw new Error(qa(21,_));const V=ss(X,W,y,_);M&&!X.light&&ss(X,M,void 0,"light"),A&&!X.dark&&ss(X,A,void 0,"dark");let q={defaultColorScheme:_,...V,cssVarPrefix:d,colorSchemeSelector:v,rootSelector:b,getCssVar:w,colorSchemes:X,font:{...V1(V.typography),...V.font},spacing:sS(y.spacing)};Object.keys(q.colorSchemes).forEach(Q=>{const p=q.colorSchemes[Q].palette,k=tt=>{const rt=tt.split("-"),Tt=rt[1],Dt=rt[2];return w(tt,p[Tt][Dt])};if(p.mode==="light"&&(D(p.common,"background","#fff"),D(p.common,"onBackground","#000")),p.mode==="dark"&&(D(p.common,"background","#000"),D(p.common,"onBackground","#fff")),cS(p,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),p.mode==="light"){D(p.Alert,"errorColor",Nt(p.error.light,.6)),D(p.Alert,"infoColor",Nt(p.info.light,.6)),D(p.Alert,"successColor",Nt(p.success.light,.6)),D(p.Alert,"warningColor",Nt(p.warning.light,.6)),D(p.Alert,"errorFilledBg",k("palette-error-main")),D(p.Alert,"infoFilledBg",k("palette-info-main")),D(p.Alert,"successFilledBg",k("palette-success-main")),D(p.Alert,"warningFilledBg",k("palette-warning-main")),D(p.Alert,"errorFilledColor",sn(()=>p.getContrastText(p.error.main))),D(p.Alert,"infoFilledColor",sn(()=>p.getContrastText(p.info.main))),D(p.Alert,"successFilledColor",sn(()=>p.getContrastText(p.success.main))),D(p.Alert,"warningFilledColor",sn(()=>p.getContrastText(p.warning.main))),D(p.Alert,"errorStandardBg",Ut(p.error.light,.9)),D(p.Alert,"infoStandardBg",Ut(p.info.light,.9)),D(p.Alert,"successStandardBg",Ut(p.success.light,.9)),D(p.Alert,"warningStandardBg",Ut(p.warning.light,.9)),D(p.Alert,"errorIconColor",k("palette-error-main")),D(p.Alert,"infoIconColor",k("palette-info-main")),D(p.Alert,"successIconColor",k("palette-success-main")),D(p.Alert,"warningIconColor",k("palette-warning-main")),D(p.AppBar,"defaultBg",k("palette-grey-100")),D(p.Avatar,"defaultBg",k("palette-grey-400")),D(p.Button,"inheritContainedBg",k("palette-grey-300")),D(p.Button,"inheritContainedHoverBg",k("palette-grey-A100")),D(p.Chip,"defaultBorder",k("palette-grey-400")),D(p.Chip,"defaultAvatarColor",k("palette-grey-700")),D(p.Chip,"defaultIconColor",k("palette-grey-700")),D(p.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),D(p.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),D(p.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),D(p.LinearProgress,"primaryBg",Ut(p.primary.main,.62)),D(p.LinearProgress,"secondaryBg",Ut(p.secondary.main,.62)),D(p.LinearProgress,"errorBg",Ut(p.error.main,.62)),D(p.LinearProgress,"infoBg",Ut(p.info.main,.62)),D(p.LinearProgress,"successBg",Ut(p.success.main,.62)),D(p.LinearProgress,"warningBg",Ut(p.warning.main,.62)),D(p.Skeleton,"bg",`rgba(${k("palette-text-primaryChannel")} / 0.11)`),D(p.Slider,"primaryTrack",Ut(p.primary.main,.62)),D(p.Slider,"secondaryTrack",Ut(p.secondary.main,.62)),D(p.Slider,"errorTrack",Ut(p.error.main,.62)),D(p.Slider,"infoTrack",Ut(p.info.main,.62)),D(p.Slider,"successTrack",Ut(p.success.main,.62)),D(p.Slider,"warningTrack",Ut(p.warning.main,.62));const tt=yu(p.background.default,.8);D(p.SnackbarContent,"bg",tt),D(p.SnackbarContent,"color",sn(()=>p.getContrastText(tt))),D(p.SpeedDialAction,"fabHoverBg",yu(p.background.paper,.15)),D(p.StepConnector,"border",k("palette-grey-400")),D(p.StepContent,"border",k("palette-grey-400")),D(p.Switch,"defaultColor",k("palette-common-white")),D(p.Switch,"defaultDisabledColor",k("palette-grey-100")),D(p.Switch,"primaryDisabledColor",Ut(p.primary.main,.62)),D(p.Switch,"secondaryDisabledColor",Ut(p.secondary.main,.62)),D(p.Switch,"errorDisabledColor",Ut(p.error.main,.62)),D(p.Switch,"infoDisabledColor",Ut(p.info.main,.62)),D(p.Switch,"successDisabledColor",Ut(p.success.main,.62)),D(p.Switch,"warningDisabledColor",Ut(p.warning.main,.62)),D(p.TableCell,"border",Ut(pu(p.divider,1),.88)),D(p.Tooltip,"bg",pu(p.grey[700],.92))}if(p.mode==="dark"){D(p.Alert,"errorColor",Ut(p.error.light,.6)),D(p.Alert,"infoColor",Ut(p.info.light,.6)),D(p.Alert,"successColor",Ut(p.success.light,.6)),D(p.Alert,"warningColor",Ut(p.warning.light,.6)),D(p.Alert,"errorFilledBg",k("palette-error-dark")),D(p.Alert,"infoFilledBg",k("palette-info-dark")),D(p.Alert,"successFilledBg",k("palette-success-dark")),D(p.Alert,"warningFilledBg",k("palette-warning-dark")),D(p.Alert,"errorFilledColor",sn(()=>p.getContrastText(p.error.dark))),D(p.Alert,"infoFilledColor",sn(()=>p.getContrastText(p.info.dark))),D(p.Alert,"successFilledColor",sn(()=>p.getContrastText(p.success.dark))),D(p.Alert,"warningFilledColor",sn(()=>p.getContrastText(p.warning.dark))),D(p.Alert,"errorStandardBg",Nt(p.error.light,.9)),D(p.Alert,"infoStandardBg",Nt(p.info.light,.9)),D(p.Alert,"successStandardBg",Nt(p.success.light,.9)),D(p.Alert,"warningStandardBg",Nt(p.warning.light,.9)),D(p.Alert,"errorIconColor",k("palette-error-main")),D(p.Alert,"infoIconColor",k("palette-info-main")),D(p.Alert,"successIconColor",k("palette-success-main")),D(p.Alert,"warningIconColor",k("palette-warning-main")),D(p.AppBar,"defaultBg",k("palette-grey-900")),D(p.AppBar,"darkBg",k("palette-background-paper")),D(p.AppBar,"darkColor",k("palette-text-primary")),D(p.Avatar,"defaultBg",k("palette-grey-600")),D(p.Button,"inheritContainedBg",k("palette-grey-800")),D(p.Button,"inheritContainedHoverBg",k("palette-grey-700")),D(p.Chip,"defaultBorder",k("palette-grey-700")),D(p.Chip,"defaultAvatarColor",k("palette-grey-300")),D(p.Chip,"defaultIconColor",k("palette-grey-300")),D(p.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),D(p.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),D(p.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),D(p.LinearProgress,"primaryBg",Nt(p.primary.main,.5)),D(p.LinearProgress,"secondaryBg",Nt(p.secondary.main,.5)),D(p.LinearProgress,"errorBg",Nt(p.error.main,.5)),D(p.LinearProgress,"infoBg",Nt(p.info.main,.5)),D(p.LinearProgress,"successBg",Nt(p.success.main,.5)),D(p.LinearProgress,"warningBg",Nt(p.warning.main,.5)),D(p.Skeleton,"bg",`rgba(${k("palette-text-primaryChannel")} / 0.13)`),D(p.Slider,"primaryTrack",Nt(p.primary.main,.5)),D(p.Slider,"secondaryTrack",Nt(p.secondary.main,.5)),D(p.Slider,"errorTrack",Nt(p.error.main,.5)),D(p.Slider,"infoTrack",Nt(p.info.main,.5)),D(p.Slider,"successTrack",Nt(p.success.main,.5)),D(p.Slider,"warningTrack",Nt(p.warning.main,.5));const tt=yu(p.background.default,.98);D(p.SnackbarContent,"bg",tt),D(p.SnackbarContent,"color",sn(()=>p.getContrastText(tt))),D(p.SpeedDialAction,"fabHoverBg",yu(p.background.paper,.15)),D(p.StepConnector,"border",k("palette-grey-600")),D(p.StepContent,"border",k("palette-grey-600")),D(p.Switch,"defaultColor",k("palette-grey-300")),D(p.Switch,"defaultDisabledColor",k("palette-grey-600")),D(p.Switch,"primaryDisabledColor",Nt(p.primary.main,.55)),D(p.Switch,"secondaryDisabledColor",Nt(p.secondary.main,.55)),D(p.Switch,"errorDisabledColor",Nt(p.error.main,.55)),D(p.Switch,"infoDisabledColor",Nt(p.info.main,.55)),D(p.Switch,"successDisabledColor",Nt(p.success.main,.55)),D(p.Switch,"warningDisabledColor",Nt(p.warning.main,.55)),D(p.TableCell,"border",Nt(pu(p.divider,1),.68)),D(p.Tooltip,"bg",pu(p.grey[700],.92))}Dn(p.background,"default"),Dn(p.background,"paper"),Dn(p.common,"background"),Dn(p.common,"onBackground"),Dn(p,"divider"),Object.keys(p).forEach(tt=>{const rt=p[tt];tt!=="tonalOffset"&&rt&&typeof rt=="object"&&(rt.main&&D(p[tt],"mainChannel",$i(Vi(rt.main))),rt.light&&D(p[tt],"lightChannel",$i(Vi(rt.light))),rt.dark&&D(p[tt],"darkChannel",$i(Vi(rt.dark))),rt.contrastText&&D(p[tt],"contrastTextChannel",$i(Vi(rt.contrastText))),tt==="text"&&(Dn(p[tt],"primary"),Dn(p[tt],"secondary")),tt==="action"&&(rt.active&&Dn(p[tt],"active"),rt.selected&&Dn(p[tt],"selected")))})}),q=i.reduce((Q,p)=>Be(Q,p),q);const R={prefix:d,disableCssColorScheme:s,shouldSkipGeneratingVar:m,getSelector:oS(q)},{vars:K,generateThemeVars:P,generateStyleSheets:ft}=N1(q,R);return q.vars=K,Object.entries(q.colorSchemes[q.defaultColorScheme]).forEach(([Q,p])=>{q[Q]=p}),q.generateThemeVars=P,q.generateStyleSheets=ft,q.generateSpacing=function(){return Qm(y.spacing,Ys(this))},q.getColorSchemeSelector=U1(v),q.spacing=q.generateSpacing(),q.shouldSkipGeneratingVar=m,q.unstable_sxConfig={...er,...y?.unstable_sxConfig},q.unstable_sx=function(p){return Ga({sx:p,theme:this})},q.toRuntimeSource=ap,q}function Em(l,i,o){l.colorSchemes&&o&&(l.colorSchemes[i]={...o!==!0&&o,palette:Qs({...o===!0?{}:o.palette,mode:i})})}function rp(l={},...i){const{palette:o,cssVariables:c=!1,colorSchemes:s=o?void 0:{light:!0},defaultColorScheme:d=o?.mode,...m}=l,v=d||"light",b=s?.[v],y={...s,...o?{[v]:{...typeof b!="boolean"&&b,palette:o}}:void 0};if(c===!1){if(!("colorSchemes"in l))return bs(l,...i);let O=o;"palette"in l||y[v]&&(y[v]!==!0?O=y[v].palette:v==="dark"&&(O={mode:"dark"}));const _=bs({...l,palette:O},...i);return _.defaultColorScheme=v,_.colorSchemes=y,_.palette.mode==="light"&&(_.colorSchemes.light={...y.light!==!0&&y.light,palette:_.palette},Em(_,"dark",y.dark)),_.palette.mode==="dark"&&(_.colorSchemes.dark={...y.dark!==!0&&y.dark,palette:_.palette},Em(_,"light",y.light)),_}return!o&&!("light"in y)&&v==="light"&&(y.light=!0),dS({...m,colorSchemes:y,defaultColorScheme:v,...typeof c!="boolean"&&c},...i)}const up=rp();function hS(l){return l!=="ownerState"&&l!=="theme"&&l!=="sx"&&l!=="as"}const op=l=>hS(l)&&l!=="classes",ye=u1({themeId:Ms,defaultTheme:up,rootShouldForwardProp:op});function mS(l){return nt.jsx(Ib,{...l,defaultTheme:up,themeId:Ms})}function cp(l){return function(o){return nt.jsx(mS,{styles:typeof l=="function"?c=>l({theme:c,...o}):l})}}function pS(){return Km}const ha=w1;function $a(l){return z1(l)}function yS(l,i){if(l==null)return{};var o={};for(var c in l)if({}.hasOwnProperty.call(l,c)){if(i.indexOf(c)!==-1)continue;o[c]=l[c]}return o}function Ss(l,i){return Ss=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,c){return o.__proto__=c,o},Ss(l,i)}function gS(l,i){l.prototype=Object.create(i.prototype),l.prototype.constructor=l,Ss(l,i)}const Am=Bl.createContext(null);function vS(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Zs(l,i){var o=function(d){return i&&$.isValidElement(d)?i(d):d},c=Object.create(null);return l&&$.Children.map(l,function(s){return s}).forEach(function(s){c[s.key]=o(s)}),c}function bS(l,i){l=l||{},i=i||{};function o(O){return O in i?i[O]:l[O]}var c=Object.create(null),s=[];for(var d in l)d in i?s.length&&(c[d]=s,s=[]):s.push(d);var m,v={};for(var b in i){if(c[b])for(m=0;m{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...i){this.mount().then(()=>this.ref.current?.start(...i))}stop(...i){this.mount().then(()=>this.ref.current?.stop(...i))}pulsate(...i){this.mount().then(()=>this.ref.current?.pulsate(...i))}}function xS(){return wu.use()}function _S(){let l,i;const o=new Promise((c,s)=>{l=c,i=s});return o.resolve=l,o.reject=i,o}function CS(l){const{className:i,classes:o,pulsate:c=!1,rippleX:s,rippleY:d,rippleSize:m,in:v,onExited:b,timeout:y}=l,[O,_]=$.useState(!1),w=pe(i,o.ripple,o.rippleVisible,c&&o.ripplePulsate),H={width:m,height:m,top:-(m/2)+d,left:-(m/2)+s},M=pe(o.child,O&&o.childLeaving,c&&o.childPulsate);return!v&&!O&&_(!0),$.useEffect(()=>{if(!v&&b!=null){const A=setTimeout(b,y);return()=>{clearTimeout(A)}}},[b,v,y]),nt.jsx("span",{className:w,style:H,children:nt.jsx("span",{className:M})})}const Ze=Ya("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ts=550,OS=80,RS=da` 0% { transform: scale(0); opacity: 0.1; } 100% { transform: scale(1); opacity: 0.3; } `,zS=da` 0% { opacity: 1; } 100% { opacity: 0; } `,wS=da` 0% { transform: scale(1); } 50% { transform: scale(0.92); } 100% { transform: scale(1); } `,MS=ye("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),DS=ye(CS,{name:"MuiTouchRipple",slot:"Ripple"})` opacity: 0; position: absolute; &.${Ze.rippleVisible} { opacity: 0.3; transform: scale(1); animation-name: ${RS}; animation-duration: ${Ts}ms; animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; } &.${Ze.ripplePulsate} { animation-duration: ${({theme:l})=>l.transitions.duration.shorter}ms; } & .${Ze.child} { opacity: 1; display: block; width: 100%; height: 100%; border-radius: 50%; background-color: currentColor; } & .${Ze.childLeaving} { opacity: 0; animation-name: ${zS}; animation-duration: ${Ts}ms; animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; } & .${Ze.childPulsate} { position: absolute; /* @noflip */ left: 0px; top: 0; animation-name: ${wS}; animation-duration: 2500ms; animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; animation-iteration-count: infinite; animation-delay: 200ms; } `,BS=$.forwardRef(function(i,o){const c=$a({props:i,name:"MuiTouchRipple"}),{center:s=!1,classes:d={},className:m,...v}=c,[b,y]=$.useState([]),O=$.useRef(0),_=$.useRef(null);$.useEffect(()=>{_.current&&(_.current(),_.current=null)},[b]);const w=$.useRef(!1),H=x1(),M=$.useRef(null),A=$.useRef(null),G=$.useCallback(q=>{const{pulsate:R,rippleX:K,rippleY:P,rippleSize:ft,cb:Q}=q;y(p=>[...p,nt.jsx(DS,{classes:{ripple:pe(d.ripple,Ze.ripple),rippleVisible:pe(d.rippleVisible,Ze.rippleVisible),ripplePulsate:pe(d.ripplePulsate,Ze.ripplePulsate),child:pe(d.child,Ze.child),childLeaving:pe(d.childLeaving,Ze.childLeaving),childPulsate:pe(d.childPulsate,Ze.childPulsate)},timeout:Ts,pulsate:R,rippleX:K,rippleY:P,rippleSize:ft},O.current)]),O.current+=1,_.current=Q},[d]),X=$.useCallback((q={},R={},K=()=>{})=>{const{pulsate:P=!1,center:ft=s||R.pulsate,fakeElement:Q=!1}=R;if(q?.type==="mousedown"&&w.current){w.current=!1;return}q?.type==="touchstart"&&(w.current=!0);const p=Q?null:A.current,k=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};let tt,rt,Tt;if(ft||q===void 0||q.clientX===0&&q.clientY===0||!q.clientX&&!q.touches)tt=Math.round(k.width/2),rt=Math.round(k.height/2);else{const{clientX:Dt,clientY:Y}=q.touches&&q.touches.length>0?q.touches[0]:q;tt=Math.round(Dt-k.left),rt=Math.round(Y-k.top)}if(ft)Tt=Math.sqrt((2*k.width**2+k.height**2)/3),Tt%2===0&&(Tt+=1);else{const Dt=Math.max(Math.abs((p?p.clientWidth:0)-tt),tt)*2+2,Y=Math.max(Math.abs((p?p.clientHeight:0)-rt),rt)*2+2;Tt=Math.sqrt(Dt**2+Y**2)}q?.touches?M.current===null&&(M.current=()=>{G({pulsate:P,rippleX:tt,rippleY:rt,rippleSize:Tt,cb:K})},H.start(OS,()=>{M.current&&(M.current(),M.current=null)})):G({pulsate:P,rippleX:tt,rippleY:rt,rippleSize:Tt,cb:K})},[s,G,H]),W=$.useCallback(()=>{X({},{pulsate:!0})},[X]),V=$.useCallback((q,R)=>{if(H.clear(),q?.type==="touchend"&&M.current){M.current(),M.current=null,H.start(0,()=>{V(q,R)});return}M.current=null,y(K=>K.length>0?K.slice(1):K),_.current=R},[H]);return $.useImperativeHandle(o,()=>({pulsate:W,start:X,stop:V}),[W,X,V]),nt.jsx(MS,{className:pe(Ze.root,d.root,m),ref:A,...v,children:nt.jsx(Ks,{component:null,exit:!0,children:b})})});function NS(l){return ql("MuiButtonBase",l)}const US=Ya("MuiButtonBase",["root","disabled","focusVisible"]),HS=l=>{const{disabled:i,focusVisible:o,focusVisibleClassName:c,classes:s}=l,m=nr({root:["root",i&&"disabled",o&&"focusVisible"]},NS,s);return o&&c&&(m.root+=` ${c}`),m},jS=ye("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(l,i)=>i.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"},[`&.${US.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),LS=$.forwardRef(function(i,o){const c=$a({props:i,name:"MuiButtonBase"}),{action:s,centerRipple:d=!1,children:m,className:v,component:b="button",disabled:y=!1,disableRipple:O=!1,disableTouchRipple:_=!1,focusRipple:w=!1,focusVisibleClassName:H,LinkComponent:M="a",onBlur:A,onClick:G,onContextMenu:X,onDragLeave:W,onFocus:V,onFocusVisible:q,onKeyDown:R,onKeyUp:K,onMouseDown:P,onMouseLeave:ft,onMouseUp:Q,onTouchEnd:p,onTouchMove:k,onTouchStart:tt,tabIndex:rt=0,TouchRippleProps:Tt,touchRippleRef:Dt,type:Y,...ut}=c,at=$.useRef(null),ct=xS(),S=dm(ct.ref,Dt),[L,lt]=$.useState(!1);y&&L&<(!1),$.useImperativeHandle(s,()=>({focusVisible:()=>{lt(!0),at.current.focus()}}),[]);const it=ct.shouldMount&&!O&&!y;$.useEffect(()=>{L&&w&&!O&&ct.pulsate()},[O,w,L,ct]);const J=Bn(ct,"start",P,_),vt=Bn(ct,"stop",X,_),dt=Bn(ct,"stop",W,_),re=Bn(ct,"stop",Q,_),Et=Bn(ct,"stop",ht=>{L&&ht.preventDefault(),ft&&ft(ht)},_),$t=Bn(ct,"start",tt,_),Ht=Bn(ct,"stop",p,_),Ne=Bn(ct,"stop",k,_),ma=Bn(ct,"stop",ht=>{mm(ht.target)||lt(!1),A&&A(ht)},!1),en=Eu(ht=>{at.current||(at.current=ht.currentTarget),mm(ht.target)&&(lt(!0),q&&q(ht)),V&&V(ht)}),Hn=()=>{const ht=at.current;return b&&b!=="button"&&!(ht.tagName==="A"&&ht.href)},Va=Eu(ht=>{w&&!ht.repeat&&L&&ht.key===" "&&ct.stop(ht,()=>{ct.start(ht)}),ht.target===ht.currentTarget&&Hn()&&ht.key===" "&&ht.preventDefault(),R&&R(ht),ht.target===ht.currentTarget&&Hn()&&ht.key==="Enter"&&!y&&(ht.preventDefault(),G&&G(ht))}),jn=Eu(ht=>{w&&ht.key===" "&&L&&!ht.defaultPrevented&&ct.stop(ht,()=>{ct.pulsate(ht)}),K&&K(ht),G&&ht.target===ht.currentTarget&&Hn()&&ht.key===" "&&!ht.defaultPrevented&&G(ht)});let Ln=b;Ln==="button"&&(ut.href||ut.to)&&(Ln=M);const nn={};Ln==="button"?(nn.type=Y===void 0?"button":Y,nn.disabled=y):(!ut.href&&!ut.to&&(nn.role="button"),y&&(nn["aria-disabled"]=y));const Gl=dm(o,at),ka={...c,centerRipple:d,component:b,disabled:y,disableRipple:O,disableTouchRipple:_,focusRipple:w,tabIndex:rt,focusVisible:L},Yl=HS(ka);return nt.jsxs(jS,{as:Ln,className:pe(Yl.root,v),ownerState:ka,onBlur:ma,onClick:G,onContextMenu:vt,onFocus:en,onKeyDown:Va,onKeyUp:jn,onMouseDown:J,onMouseLeave:Et,onMouseUp:re,onDragLeave:dt,onTouchEnd:Ht,onTouchMove:Ne,onTouchStart:$t,ref:Gl,tabIndex:y?-1:rt,type:Y,...nn,...ut,children:[m,it?nt.jsx(BS,{ref:S,center:d,...Tt}):null]})});function Bn(l,i,o,c=!1){return Eu(s=>(o&&o(s),c||l[i](s),!0))}function qS(l){return typeof l.main=="string"}function GS(l,i=[]){if(!qS(l))return!1;for(const o of i)if(!l.hasOwnProperty(o)||typeof l[o]!="string")return!1;return!0}function fa(l=[]){return([,i])=>i&&GS(i,l)}function YS(l){return ql("MuiCircularProgress",l)}Ya("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const oa=44,Es=da` 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } `,As=da` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; } 50% { stroke-dasharray: 100px, 200px; stroke-dashoffset: -15px; } 100% { stroke-dasharray: 1px, 200px; stroke-dashoffset: -126px; } `,$S=typeof Es!="string"?Ll` animation: ${Es} 1.4s linear infinite; `:null,VS=typeof As!="string"?Ll` animation: ${As} 1.4s ease-in-out infinite; `:null,kS=l=>{const{classes:i,variant:o,color:c,disableShrink:s}=l,d={root:["root",o,`color${Rt(c)}`],svg:["svg"],circle:["circle",`circle${Rt(o)}`,s&&"circleDisableShrink"]};return nr(d,YS,i)},XS=ye("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.root,i[o.variant],i[`color${Rt(o.color)}`]]}})(ha(({theme:l})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:l.transitions.create("transform")}},{props:{variant:"indeterminate"},style:$S||{animation:`${Es} 1.4s linear infinite`}},...Object.entries(l.palette).filter(fa()).map(([i])=>({props:{color:i},style:{color:(l.vars||l).palette[i].main}}))]}))),QS=ye("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(l,i)=>i.svg})({display:"block"}),ZS=ye("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.circle,i[`circle${Rt(o.variant)}`],o.disableShrink&&i.circleDisableShrink]}})(ha(({theme:l})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:l.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:i})=>i.variant==="indeterminate"&&!i.disableShrink,style:VS||{animation:`${As} 1.4s ease-in-out infinite`}}]}))),KS=$.forwardRef(function(i,o){const c=$a({props:i,name:"MuiCircularProgress"}),{className:s,color:d="primary",disableShrink:m=!1,size:v=40,style:b,thickness:y=3.6,value:O=0,variant:_="indeterminate",...w}=c,H={...c,color:d,disableShrink:m,size:v,thickness:y,value:O,variant:_},M=kS(H),A={},G={},X={};if(_==="determinate"){const W=2*Math.PI*((oa-y)/2);A.strokeDasharray=W.toFixed(3),X["aria-valuenow"]=Math.round(O),A.strokeDashoffset=`${((100-O)/100*W).toFixed(3)}px`,G.transform="rotate(-90deg)"}return nt.jsx(XS,{className:pe(M.root,s),style:{width:v,height:v,...G,...b},ownerState:H,ref:o,role:"progressbar",...X,...w,children:nt.jsx(QS,{className:M.svg,ownerState:H,viewBox:`${oa/2} ${oa/2} ${oa} ${oa}`,children:nt.jsx(ZS,{className:M.circle,style:A,ownerState:H,cx:oa,cy:oa,r:(oa-y)/2,fill:"none",strokeWidth:y})})})});function WS(l){return ql("MuiTypography",l)}Ya("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const JS={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},FS=pS(),PS=l=>{const{align:i,gutterBottom:o,noWrap:c,paragraph:s,variant:d,classes:m}=l,v={root:["root",d,l.align!=="inherit"&&`align${Rt(i)}`,o&&"gutterBottom",c&&"noWrap",s&&"paragraph"]};return nr(v,WS,m)},IS=ye("span",{name:"MuiTypography",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.root,o.variant&&i[o.variant],o.align!=="inherit"&&i[`align${Rt(o.align)}`],o.noWrap&&i.noWrap,o.gutterBottom&&i.gutterBottom,o.paragraph&&i.paragraph]}})(ha(({theme:l})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(l.typography).filter(([i,o])=>i!=="inherit"&&o&&typeof o=="object").map(([i,o])=>({props:{variant:i},style:o})),...Object.entries(l.palette).filter(fa()).map(([i])=>({props:{color:i},style:{color:(l.vars||l).palette[i].main}})),...Object.entries(l.palette?.text||{}).filter(([,i])=>typeof i=="string").map(([i])=>({props:{color:`text${Rt(i)}`},style:{color:(l.vars||l).palette.text[i]}})),{props:({ownerState:i})=>i.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:i})=>i.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:i})=>i.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:i})=>i.paragraph,style:{marginBottom:16}}]}))),xm={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ws=$.forwardRef(function(i,o){const{color:c,...s}=$a({props:i,name:"MuiTypography"}),d=!JS[c],m=FS({...s,...d&&{color:c}}),{align:v="inherit",className:b,component:y,gutterBottom:O=!1,noWrap:_=!1,paragraph:w=!1,variant:H="body1",variantMapping:M=xm,...A}=m,G={...m,align:v,color:c,className:b,component:y,gutterBottom:O,noWrap:_,paragraph:w,variant:H,variantMapping:M},X=y||(w?"p":M[H]||xm[H])||"span",W=PS(G);return nt.jsx(IS,{as:X,ref:o,className:pe(W.root,b),...A,ownerState:G,style:{...v!=="inherit"&&{"--Typography-textAlign":v},...A.style}})}),t2=Ya("MuiBox",["root"]),e2=rp(),Nn=n1({themeId:Ms,defaultTheme:e2,defaultClassName:t2.root,generateClassName:Wm.generate});function n2(l){return ql("MuiButton",l)}const ja=Ya("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"]),a2=$.createContext({}),l2=$.createContext(void 0),i2=l=>{const{color:i,disableElevation:o,fullWidth:c,size:s,variant:d,loading:m,loadingPosition:v,classes:b}=l,y={root:["root",m&&"loading",d,`${d}${Rt(i)}`,`size${Rt(s)}`,`${d}Size${Rt(s)}`,`color${Rt(i)}`,o&&"disableElevation",c&&"fullWidth",m&&`loadingPosition${Rt(v)}`],startIcon:["icon","startIcon",`iconSize${Rt(s)}`],endIcon:["icon","endIcon",`iconSize${Rt(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},O=nr(y,n2,b);return{...b,...O}},sp=[{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}}}],r2=ye(LS,{shouldForwardProp:l=>op(l)||l==="classes",name:"MuiButton",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.root,i[o.variant],i[`${o.variant}${Rt(o.color)}`],i[`size${Rt(o.size)}`],i[`${o.variant}Size${Rt(o.size)}`],o.color==="inherit"&&i.colorInherit,o.disableElevation&&i.disableElevation,o.fullWidth&&i.fullWidth,o.loading&&i.loading]}})(ha(({theme:l})=>{const i=l.palette.mode==="light"?l.palette.grey[300]:l.palette.grey[800],o=l.palette.mode==="light"?l.palette.grey.A100:l.palette.grey[700];return{...l.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(l.vars||l).shape.borderRadius,transition:l.transitions.create(["background-color","box-shadow","border-color","color"],{duration:l.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${ja.disabled}`]:{color:(l.vars||l).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(l.vars||l).shadows[2],"&:hover":{boxShadow:(l.vars||l).shadows[4],"@media (hover: none)":{boxShadow:(l.vars||l).shadows[2]}},"&:active":{boxShadow:(l.vars||l).shadows[8]},[`&.${ja.focusVisible}`]:{boxShadow:(l.vars||l).shadows[6]},[`&.${ja.disabled}`]:{color:(l.vars||l).palette.action.disabled,boxShadow:(l.vars||l).shadows[0],backgroundColor:(l.vars||l).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)",[`&.${ja.disabled}`]:{border:`1px solid ${(l.vars||l).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(l.palette).filter(fa()).map(([c])=>({props:{color:c},style:{"--variant-textColor":(l.vars||l).palette[c].main,"--variant-outlinedColor":(l.vars||l).palette[c].main,"--variant-outlinedBorder":l.vars?`rgba(${l.vars.palette[c].mainChannel} / 0.5)`:Dl(l.palette[c].main,.5),"--variant-containedColor":(l.vars||l).palette[c].contrastText,"--variant-containedBg":(l.vars||l).palette[c].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(l.vars||l).palette[c].dark,"--variant-textBg":l.vars?`rgba(${l.vars.palette[c].mainChannel} / ${l.vars.palette.action.hoverOpacity})`:Dl(l.palette[c].main,l.palette.action.hoverOpacity),"--variant-outlinedBorder":(l.vars||l).palette[c].main,"--variant-outlinedBg":l.vars?`rgba(${l.vars.palette[c].mainChannel} / ${l.vars.palette.action.hoverOpacity})`:Dl(l.palette[c].main,l.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":l.vars?l.vars.palette.Button.inheritContainedBg:i,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":l.vars?l.vars.palette.Button.inheritContainedHoverBg:o,"--variant-textBg":l.vars?`rgba(${l.vars.palette.text.primaryChannel} / ${l.vars.palette.action.hoverOpacity})`:Dl(l.palette.text.primary,l.palette.action.hoverOpacity),"--variant-outlinedBg":l.vars?`rgba(${l.vars.palette.text.primaryChannel} / ${l.vars.palette.action.hoverOpacity})`:Dl(l.palette.text.primary,l.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:l.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:l.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:l.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${ja.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ja.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:l.transitions.create(["background-color","box-shadow","border-color"],{duration:l.transitions.duration.short}),[`&.${ja.loading}`]:{color:"transparent"}}}]}})),u2=ye("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.startIcon,o.loading&&i.startIconLoadingStart,i[`iconSize${Rt(o.size)}`]]}})(({theme:l})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:l.transitions.create(["opacity"],{duration:l.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...sp]})),o2=ye("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.endIcon,o.loading&&i.endIconLoadingEnd,i[`iconSize${Rt(o.size)}`]]}})(({theme:l})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:l.transitions.create(["opacity"],{duration:l.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...sp]})),c2=ye("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(l,i)=>i.loadingIndicator})(({theme:l})=>({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:(l.vars||l).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}}]})),_m=ye("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(l,i)=>i.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),s2=$.forwardRef(function(i,o){const c=$.useContext(a2),s=$.useContext(l2),d=zu(c,i),m=$a({props:d,name:"MuiButton"}),{children:v,color:b="primary",component:y="button",className:O,disabled:_=!1,disableElevation:w=!1,disableFocusRipple:H=!1,endIcon:M,focusVisibleClassName:A,fullWidth:G=!1,id:X,loading:W=null,loadingIndicator:V,loadingPosition:q="center",size:R="medium",startIcon:K,type:P,variant:ft="text",...Q}=m,p=T1(X),k=V??nt.jsx(KS,{"aria-labelledby":p,color:"inherit",size:16}),tt={...m,color:b,component:y,disabled:_,disableElevation:w,disableFocusRipple:H,fullWidth:G,loading:W,loadingIndicator:k,loadingPosition:q,size:R,type:P,variant:ft},rt=i2(tt),Tt=(K||W&&q==="start")&&nt.jsx(u2,{className:rt.startIcon,ownerState:tt,children:K||nt.jsx(_m,{className:rt.loadingIconPlaceholder,ownerState:tt})}),Dt=(M||W&&q==="end")&&nt.jsx(o2,{className:rt.endIcon,ownerState:tt,children:M||nt.jsx(_m,{className:rt.loadingIconPlaceholder,ownerState:tt})}),Y=s||"",ut=typeof W=="boolean"?nt.jsx("span",{className:rt.loadingWrapper,style:{display:"contents"},children:W&&nt.jsx(c2,{className:rt.loadingIndicator,ownerState:tt,children:k})}):null;return nt.jsxs(r2,{ownerState:tt,className:pe(c.className,rt.root,O,Y),component:y,disabled:_||W,focusRipple:!H,focusVisibleClassName:pe(rt.focusVisible,A),ref:o,type:P,id:p,...Q,classes:rt,children:[Tt,q!=="end"&&ut,v,q==="end"&&ut,Dt]})}),xs=typeof cp({})=="function",f2=(l,i)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...i&&!l.vars&&{colorScheme:l.palette.mode}}),d2=l=>({color:(l.vars||l).palette.text.primary,...l.typography.body1,backgroundColor:(l.vars||l).palette.background.default,"@media print":{backgroundColor:(l.vars||l).palette.common.white}}),fp=(l,i=!1)=>{const o={};i&&l.colorSchemes&&typeof l.getColorSchemeSelector=="function"&&Object.entries(l.colorSchemes).forEach(([d,m])=>{const v=l.getColorSchemeSelector(d);v.startsWith("@")?o[v]={":root":{colorScheme:m.palette?.mode}}:o[v.replace(/\s*&/,"")]={colorScheme:m.palette?.mode}});let c={html:f2(l,i),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:l.typography.fontWeightBold},body:{margin:0,...d2(l),"&::backdrop":{backgroundColor:(l.vars||l).palette.background.default}},...o};const s=l.components?.MuiCssBaseline?.styleOverrides;return s&&(c=[c,s]),c},Au="mui-ecs",h2=l=>{const i=fp(l,!1),o=Array.isArray(i)?i[0]:i;return!l.vars&&o&&(o.html[`:root:has(${Au})`]={colorScheme:l.palette.mode}),l.colorSchemes&&Object.entries(l.colorSchemes).forEach(([c,s])=>{const d=l.getColorSchemeSelector(c);d.startsWith("@")?o[d]={[`:root:not(:has(.${Au}))`]:{colorScheme:s.palette?.mode}}:o[d.replace(/\s*&/,"")]={[`&:not(:has(.${Au}))`]:{colorScheme:s.palette?.mode}}}),i},m2=cp(xs?({theme:l,enableColorScheme:i})=>fp(l,i):({theme:l})=>h2(l));function p2(l){const i=$a({props:l,name:"MuiCssBaseline"}),{children:o,enableColorScheme:c=!1}=i;return nt.jsxs($.Fragment,{children:[xs&&nt.jsx(m2,{enableColorScheme:c}),!xs&&!c&&nt.jsx("span",{className:Au,style:{display:"none"}}),o]})}function y2(l){return ql("MuiLinearProgress",l)}Ya("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const _s=4,Cs=da` 0% { left: -35%; right: 100%; } 60% { left: 100%; right: -90%; } 100% { left: 100%; right: -90%; } `,g2=typeof Cs!="string"?Ll` animation: ${Cs} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; `:null,Os=da` 0% { left: -200%; right: 100%; } 60% { left: 107%; right: -8%; } 100% { left: 107%; right: -8%; } `,v2=typeof Os!="string"?Ll` animation: ${Os} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; `:null,Rs=da` 0% { opacity: 1; background-position: 0 -23px; } 60% { opacity: 0; background-position: 0 -23px; } 100% { opacity: 1; background-position: -200px -23px; } `,b2=typeof Rs!="string"?Ll` animation: ${Rs} 3s infinite linear; `:null,S2=l=>{const{classes:i,variant:o,color:c}=l,s={root:["root",`color${Rt(c)}`,o],dashed:["dashed",`dashedColor${Rt(c)}`],bar1:["bar","bar1",`barColor${Rt(c)}`,(o==="indeterminate"||o==="query")&&"bar1Indeterminate",o==="determinate"&&"bar1Determinate",o==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",o!=="buffer"&&`barColor${Rt(c)}`,o==="buffer"&&`color${Rt(c)}`,(o==="indeterminate"||o==="query")&&"bar2Indeterminate",o==="buffer"&&"bar2Buffer"]};return nr(s,y2,i)},Js=(l,i)=>l.vars?l.vars.palette.LinearProgress[`${i}Bg`]:l.palette.mode==="light"?Xu(l.palette[i].main,.62):ku(l.palette[i].main,.5),T2=ye("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.root,i[`color${Rt(o.color)}`],i[o.variant]]}})(ha(({theme:l})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(l.palette).filter(fa()).map(([i])=>({props:{color:i},style:{backgroundColor:Js(l,i)}})),{props:({ownerState:i})=>i.color==="inherit"&&i.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),E2=ye("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.dashed,i[`dashedColor${Rt(o.color)}`]]}})(ha(({theme:l})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(l.palette).filter(fa()).map(([i])=>{const o=Js(l,i);return{props:{color:i},style:{backgroundImage:`radial-gradient(${o} 0%, ${o} 16%, transparent 42%)`}}})]})),b2||{animation:`${Rs} 3s infinite linear`}),A2=ye("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.bar,i.bar1,i[`barColor${Rt(o.color)}`],(o.variant==="indeterminate"||o.variant==="query")&&i.bar1Indeterminate,o.variant==="determinate"&&i.bar1Determinate,o.variant==="buffer"&&i.bar1Buffer]}})(ha(({theme:l})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(l.palette).filter(fa()).map(([i])=>({props:{color:i},style:{backgroundColor:(l.vars||l).palette[i].main}})),{props:{variant:"determinate"},style:{transition:`transform .${_s}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${_s}s linear`}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:{width:"auto"}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:g2||{animation:`${Cs} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),x2=ye("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(l,i)=>{const{ownerState:o}=l;return[i.bar,i.bar2,i[`barColor${Rt(o.color)}`],(o.variant==="indeterminate"||o.variant==="query")&&i.bar2Indeterminate,o.variant==="buffer"&&i.bar2Buffer]}})(ha(({theme:l})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(l.palette).filter(fa()).map(([i])=>({props:{color:i},style:{"--LinearProgressBar2-barColor":(l.vars||l).palette[i].main}})),{props:({ownerState:i})=>i.variant!=="buffer"&&i.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:i})=>i.variant!=="buffer"&&i.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(l.palette).filter(fa()).map(([i])=>({props:{color:i,variant:"buffer"},style:{backgroundColor:Js(l,i),transition:`transform .${_s}s linear`}})),{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:{width:"auto"}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:v2||{animation:`${Os} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),_2=$.forwardRef(function(i,o){const c=$a({props:i,name:"MuiLinearProgress"}),{className:s,color:d="primary",value:m,valueBuffer:v,variant:b="indeterminate",...y}=c,O={...c,color:d,variant:b},_=S2(O),w=C1(),H={},M={bar1:{},bar2:{}};if((b==="determinate"||b==="buffer")&&m!==void 0){H["aria-valuenow"]=Math.round(m),H["aria-valuemin"]=0,H["aria-valuemax"]=100;let A=m-100;w&&(A=-A),M.bar1.transform=`translateX(${A}%)`}if(b==="buffer"&&v!==void 0){let A=(v||0)-100;w&&(A=-A),M.bar2.transform=`translateX(${A}%)`}return nt.jsxs(T2,{className:pe(_.root,s),ownerState:O,role:"progressbar",...H,ref:o,...y,children:[b==="buffer"?nt.jsx(E2,{className:_.dashed,ownerState:O}):null,nt.jsx(A2,{className:_.bar1,ownerState:O,style:M.bar1}),b==="determinate"?null:nt.jsx(x2,{className:_.bar2,ownerState:O,style:M.bar2})]})});function C2(l,i,o,c){if(typeof i=="function"?l!==i||!c:!i.has(l))throw new TypeError("Cannot read private member from an object whose class did not declare it");return o==="m"?c:o==="a"?c.call(l):c?c.value:i.get(l)}function O2(l,i,o,c,s){if(typeof i=="function"?l!==i||!0:!i.has(l))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i.set(l,o),o}var xu;const We="__TAURI_TO_IPC_KEY__";function R2(l,i=!1){return window.__TAURI_INTERNALS__.transformCallback(l,i)}async function Z(l,i={},o){return window.__TAURI_INTERNALS__.invoke(l,i,o)}class z2{get rid(){return C2(this,xu,"f")}constructor(i){xu.set(this,void 0),O2(this,xu,i)}async close(){return Z("plugin:resources|close",{rid:this.rid})}}xu=new WeakMap;class dp{constructor(...i){this.type="Logical",i.length===1?"Logical"in i[0]?(this.width=i[0].Logical.width,this.height=i[0].Logical.height):(this.width=i[0].width,this.height=i[0].height):(this.width=i[0],this.height=i[1])}toPhysical(i){return new Xi(this.width*i,this.height*i)}[We](){return{width:this.width,height:this.height}}toJSON(){return this[We]()}}class Xi{constructor(...i){this.type="Physical",i.length===1?"Physical"in i[0]?(this.width=i[0].Physical.width,this.height=i[0].Physical.height):(this.width=i[0].width,this.height=i[0].height):(this.width=i[0],this.height=i[1])}toLogical(i){return new dp(this.width/i,this.height/i)}[We](){return{width:this.width,height:this.height}}toJSON(){return this[We]()}}class Ml{constructor(i){this.size=i}toLogical(i){return this.size instanceof dp?this.size:this.size.toLogical(i)}toPhysical(i){return this.size instanceof Xi?this.size:this.size.toPhysical(i)}[We](){return{[`${this.size.type}`]:{width:this.size.width,height:this.size.height}}}toJSON(){return this[We]()}}class hp{constructor(...i){this.type="Logical",i.length===1?"Logical"in i[0]?(this.x=i[0].Logical.x,this.y=i[0].Logical.y):(this.x=i[0].x,this.y=i[0].y):(this.x=i[0],this.y=i[1])}toPhysical(i){return new ca(this.x*i,this.y*i)}[We](){return{x:this.x,y:this.y}}toJSON(){return this[We]()}}class ca{constructor(...i){this.type="Physical",i.length===1?"Physical"in i[0]?(this.x=i[0].Physical.x,this.y=i[0].Physical.y):(this.x=i[0].x,this.y=i[0].y):(this.x=i[0],this.y=i[1])}toLogical(i){return new hp(this.x/i,this.y/i)}[We](){return{x:this.x,y:this.y}}toJSON(){return this[We]()}}class gu{constructor(i){this.position=i}toLogical(i){return this.position instanceof hp?this.position:this.position.toLogical(i)}toPhysical(i){return this.position instanceof ca?this.position:this.position.toPhysical(i)}[We](){return{[`${this.position.type}`]:{x:this.position.x,y:this.position.y}}}toJSON(){return this[We]()}}var we;(function(l){l.WINDOW_RESIZED="tauri://resize",l.WINDOW_MOVED="tauri://move",l.WINDOW_CLOSE_REQUESTED="tauri://close-requested",l.WINDOW_DESTROYED="tauri://destroyed",l.WINDOW_FOCUS="tauri://focus",l.WINDOW_BLUR="tauri://blur",l.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",l.WINDOW_THEME_CHANGED="tauri://theme-changed",l.WINDOW_CREATED="tauri://window-created",l.WEBVIEW_CREATED="tauri://webview-created",l.DRAG_ENTER="tauri://drag-enter",l.DRAG_OVER="tauri://drag-over",l.DRAG_DROP="tauri://drag-drop",l.DRAG_LEAVE="tauri://drag-leave"})(we||(we={}));async function mp(l,i){await Z("plugin:event|unlisten",{event:l,eventId:i})}async function pp(l,i,o){var c;const s=typeof o?.target=="string"?{kind:"AnyLabel",label:o.target}:(c=o?.target)!==null&&c!==void 0?c:{kind:"Any"};return Z("plugin:event|listen",{event:l,target:s,handler:R2(i)}).then(d=>async()=>mp(l,d))}async function w2(l,i,o){return pp(l,c=>{mp(l,c.id),i(c)},o)}async function M2(l,i){await Z("plugin:event|emit",{event:l,payload:i})}async function D2(l,i,o){await Z("plugin:event|emit_to",{target:typeof l=="string"?{kind:"AnyLabel",label:l}:l,event:i,payload:o})}class Qi extends z2{constructor(i){super(i)}static async new(i,o,c){return Z("plugin:image|new",{rgba:Mu(i),width:o,height:c}).then(s=>new Qi(s))}static async fromBytes(i){return Z("plugin:image|from_bytes",{bytes:Mu(i)}).then(o=>new Qi(o))}static async fromPath(i){return Z("plugin:image|from_path",{path:i}).then(o=>new Qi(o))}async rgba(){return Z("plugin:image|rgba",{rid:this.rid}).then(i=>new Uint8Array(i))}async size(){return Z("plugin:image|size",{rid:this.rid})}}function Mu(l){return l==null?null:typeof l=="string"?l:l instanceof Qi?l.rid:l}var zs;(function(l){l[l.Critical=1]="Critical",l[l.Informational=2]="Informational"})(zs||(zs={}));class B2{constructor(i){this._preventDefault=!1,this.event=i.event,this.id=i.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}var Cm;(function(l){l.None="none",l.Normal="normal",l.Indeterminate="indeterminate",l.Paused="paused",l.Error="error"})(Cm||(Cm={}));function yp(){return new gp(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}async function fs(){return Z("plugin:window|get_all_windows").then(l=>l.map(i=>new gp(i,{skip:!0})))}const ds=["tauri://created","tauri://error"];class gp{constructor(i,o={}){var c;this.label=i,this.listeners=Object.create(null),o?.skip||Z("plugin:window|create",{options:{...o,parent:typeof o.parent=="string"?o.parent:(c=o.parent)===null||c===void 0?void 0:c.label,label:i}}).then(async()=>this.emit("tauri://created")).catch(async s=>this.emit("tauri://error",s))}static async getByLabel(i){var o;return(o=(await fs()).find(c=>c.label===i))!==null&&o!==void 0?o:null}static getCurrent(){return yp()}static async getAll(){return fs()}static async getFocusedWindow(){for(const i of await fs())if(await i.isFocused())return i;return null}async listen(i,o){return this._handleTauriEvent(i,o)?()=>{const c=this.listeners[i];c.splice(c.indexOf(o),1)}:pp(i,o,{target:{kind:"Window",label:this.label}})}async once(i,o){return this._handleTauriEvent(i,o)?()=>{const c=this.listeners[i];c.splice(c.indexOf(o),1)}:w2(i,o,{target:{kind:"Window",label:this.label}})}async emit(i,o){if(ds.includes(i)){for(const c of this.listeners[i]||[])c({event:i,id:-1,payload:o});return}return M2(i,o)}async emitTo(i,o,c){if(ds.includes(o)){for(const s of this.listeners[o]||[])s({event:o,id:-1,payload:c});return}return D2(i,o,c)}_handleTauriEvent(i,o){return ds.includes(i)?(i in this.listeners?this.listeners[i].push(o):this.listeners[i]=[o],!0):!1}async scaleFactor(){return Z("plugin:window|scale_factor",{label:this.label})}async innerPosition(){return Z("plugin:window|inner_position",{label:this.label}).then(i=>new ca(i))}async outerPosition(){return Z("plugin:window|outer_position",{label:this.label}).then(i=>new ca(i))}async innerSize(){return Z("plugin:window|inner_size",{label:this.label}).then(i=>new Xi(i))}async outerSize(){return Z("plugin:window|outer_size",{label:this.label}).then(i=>new Xi(i))}async isFullscreen(){return Z("plugin:window|is_fullscreen",{label:this.label})}async isMinimized(){return Z("plugin:window|is_minimized",{label:this.label})}async isMaximized(){return Z("plugin:window|is_maximized",{label:this.label})}async isFocused(){return Z("plugin:window|is_focused",{label:this.label})}async isDecorated(){return Z("plugin:window|is_decorated",{label:this.label})}async isResizable(){return Z("plugin:window|is_resizable",{label:this.label})}async isMaximizable(){return Z("plugin:window|is_maximizable",{label:this.label})}async isMinimizable(){return Z("plugin:window|is_minimizable",{label:this.label})}async isClosable(){return Z("plugin:window|is_closable",{label:this.label})}async isVisible(){return Z("plugin:window|is_visible",{label:this.label})}async title(){return Z("plugin:window|title",{label:this.label})}async theme(){return Z("plugin:window|theme",{label:this.label})}async center(){return Z("plugin:window|center",{label:this.label})}async requestUserAttention(i){let o=null;return i&&(i===zs.Critical?o={type:"Critical"}:o={type:"Informational"}),Z("plugin:window|request_user_attention",{label:this.label,value:o})}async setResizable(i){return Z("plugin:window|set_resizable",{label:this.label,value:i})}async setEnabled(i){return Z("plugin:window|set_enabled",{label:this.label,value:i})}async isEnabled(){return Z("plugin:window|is_enabled",{label:this.label})}async setMaximizable(i){return Z("plugin:window|set_maximizable",{label:this.label,value:i})}async setMinimizable(i){return Z("plugin:window|set_minimizable",{label:this.label,value:i})}async setClosable(i){return Z("plugin:window|set_closable",{label:this.label,value:i})}async setTitle(i){return Z("plugin:window|set_title",{label:this.label,value:i})}async maximize(){return Z("plugin:window|maximize",{label:this.label})}async unmaximize(){return Z("plugin:window|unmaximize",{label:this.label})}async toggleMaximize(){return Z("plugin:window|toggle_maximize",{label:this.label})}async minimize(){return Z("plugin:window|minimize",{label:this.label})}async unminimize(){return Z("plugin:window|unminimize",{label:this.label})}async show(){return Z("plugin:window|show",{label:this.label})}async hide(){return Z("plugin:window|hide",{label:this.label})}async close(){return Z("plugin:window|close",{label:this.label})}async destroy(){return Z("plugin:window|destroy",{label:this.label})}async setDecorations(i){return Z("plugin:window|set_decorations",{label:this.label,value:i})}async setShadow(i){return Z("plugin:window|set_shadow",{label:this.label,value:i})}async setEffects(i){return Z("plugin:window|set_effects",{label:this.label,value:i})}async clearEffects(){return Z("plugin:window|set_effects",{label:this.label,value:null})}async setAlwaysOnTop(i){return Z("plugin:window|set_always_on_top",{label:this.label,value:i})}async setAlwaysOnBottom(i){return Z("plugin:window|set_always_on_bottom",{label:this.label,value:i})}async setContentProtected(i){return Z("plugin:window|set_content_protected",{label:this.label,value:i})}async setSize(i){return Z("plugin:window|set_size",{label:this.label,value:i instanceof Ml?i:new Ml(i)})}async setMinSize(i){return Z("plugin:window|set_min_size",{label:this.label,value:i instanceof Ml?i:i?new Ml(i):null})}async setMaxSize(i){return Z("plugin:window|set_max_size",{label:this.label,value:i instanceof Ml?i:i?new Ml(i):null})}async setSizeConstraints(i){function o(c){return c?{Logical:c}:null}return Z("plugin:window|set_size_constraints",{label:this.label,value:{minWidth:o(i?.minWidth),minHeight:o(i?.minHeight),maxWidth:o(i?.maxWidth),maxHeight:o(i?.maxHeight)}})}async setPosition(i){return Z("plugin:window|set_position",{label:this.label,value:i instanceof gu?i:new gu(i)})}async setFullscreen(i){return Z("plugin:window|set_fullscreen",{label:this.label,value:i})}async setFocus(){return Z("plugin:window|set_focus",{label:this.label})}async setIcon(i){return Z("plugin:window|set_icon",{label:this.label,value:Mu(i)})}async setSkipTaskbar(i){return Z("plugin:window|set_skip_taskbar",{label:this.label,value:i})}async setCursorGrab(i){return Z("plugin:window|set_cursor_grab",{label:this.label,value:i})}async setCursorVisible(i){return Z("plugin:window|set_cursor_visible",{label:this.label,value:i})}async setCursorIcon(i){return Z("plugin:window|set_cursor_icon",{label:this.label,value:i})}async setBackgroundColor(i){return Z("plugin:window|set_background_color",{color:i})}async setCursorPosition(i){return Z("plugin:window|set_cursor_position",{label:this.label,value:i instanceof gu?i:new gu(i)})}async setIgnoreCursorEvents(i){return Z("plugin:window|set_ignore_cursor_events",{label:this.label,value:i})}async startDragging(){return Z("plugin:window|start_dragging",{label:this.label})}async startResizeDragging(i){return Z("plugin:window|start_resize_dragging",{label:this.label,value:i})}async setBadgeCount(i){return Z("plugin:window|set_badge_count",{label:this.label,value:i})}async setBadgeLabel(i){return Z("plugin:window|set_badge_label",{label:this.label,value:i})}async setOverlayIcon(i){return Z("plugin:window|set_overlay_icon",{label:this.label,value:i?Mu(i):void 0})}async setProgressBar(i){return Z("plugin:window|set_progress_bar",{label:this.label,value:i})}async setVisibleOnAllWorkspaces(i){return Z("plugin:window|set_visible_on_all_workspaces",{label:this.label,value:i})}async setTitleBarStyle(i){return Z("plugin:window|set_title_bar_style",{label:this.label,value:i})}async setTheme(i){return Z("plugin:window|set_theme",{label:this.label,value:i})}async onResized(i){return this.listen(we.WINDOW_RESIZED,o=>{o.payload=new Xi(o.payload),i(o)})}async onMoved(i){return this.listen(we.WINDOW_MOVED,o=>{o.payload=new ca(o.payload),i(o)})}async onCloseRequested(i){return this.listen(we.WINDOW_CLOSE_REQUESTED,async o=>{const c=new B2(o);await i(c),c.isPreventDefault()||await this.destroy()})}async onDragDropEvent(i){const o=await this.listen(we.DRAG_ENTER,m=>{i({...m,payload:{type:"enter",paths:m.payload.paths,position:new ca(m.payload.position)}})}),c=await this.listen(we.DRAG_OVER,m=>{i({...m,payload:{type:"over",position:new ca(m.payload.position)}})}),s=await this.listen(we.DRAG_DROP,m=>{i({...m,payload:{type:"drop",paths:m.payload.paths,position:new ca(m.payload.position)}})}),d=await this.listen(we.DRAG_LEAVE,m=>{i({...m,payload:{type:"leave"}})});return()=>{o(),s(),c(),d()}}async onFocusChanged(i){const o=await this.listen(we.WINDOW_FOCUS,s=>{i({...s,payload:!0})}),c=await this.listen(we.WINDOW_BLUR,s=>{i({...s,payload:!1})});return()=>{o(),c()}}async onScaleChanged(i){return this.listen(we.WINDOW_SCALE_FACTOR_CHANGED,i)}async onThemeChanged(i){return this.listen(we.WINDOW_THEME_CHANGED,i)}}var Om;(function(l){l.AppearanceBased="appearanceBased",l.Light="light",l.Dark="dark",l.MediumLight="mediumLight",l.UltraDark="ultraDark",l.Titlebar="titlebar",l.Selection="selection",l.Menu="menu",l.Popover="popover",l.Sidebar="sidebar",l.HeaderView="headerView",l.Sheet="sheet",l.WindowBackground="windowBackground",l.HudWindow="hudWindow",l.FullScreenUI="fullScreenUI",l.Tooltip="tooltip",l.ContentBackground="contentBackground",l.UnderWindowBackground="underWindowBackground",l.UnderPageBackground="underPageBackground",l.Mica="mica",l.Blur="blur",l.Acrylic="acrylic",l.Tabbed="tabbed",l.TabbedDark="tabbedDark",l.TabbedLight="tabbedLight"})(Om||(Om={}));var Rm;(function(l){l.FollowsWindowActiveState="followsWindowActiveState",l.Active="active",l.Inactive="inactive"})(Rm||(Rm={}));const N2="/assets/icon-BlfaAlWe.svg",_u=yp();function U2(){const[l,i]=$.useState(null);return $.useEffect(()=>{const o=_u.listen("app://update-progress",c=>{i(c.payload)});return()=>{o.then(c=>c())}},[]),l}function H2(){const[l,i]=$.useState(!1);$.useEffect(()=>{_u.emit("app://update");const c=_u.listen("app://update-error",()=>{i(!0)});return()=>{c.then(s=>s())}},[]);const o=()=>{i(!1),_u.emit("app://update")};return nt.jsxs(nt.Fragment,{children:[nt.jsx(p2,{}),nt.jsx(Nn,{sx:{position:"absolute",inset:0},display:"flex",alignItems:"center",px:2,"data-tauri-drag-region":!0,children:nt.jsxs(Nn,{display:"flex",alignItems:"center",flex:"1","data-tauri-drag-region":!0,children:[nt.jsx(Nn,{component:"img",src:N2,alt:"logo",sx:{width:"4rem",height:"4rem"},"data-tauri-drag-region":!0}),nt.jsx(Nn,{flex:1,ml:2,children:l?nt.jsx(L2,{onRetry:o}):nt.jsx(j2,{})})]})})]})}function j2(){const l=U2();return nt.jsxs(nt.Fragment,{children:[nt.jsx(Ws,{variant:"h1",fontSize:"1rem","data-tauri-drag-region":!0,children:"Updating the GUI components..."}),nt.jsx(Nn,{mt:1,children:nt.jsx(q2,{value:l})})]})}function L2({onRetry:l}){return nt.jsxs(nt.Fragment,{children:[nt.jsx(Ws,{variant:"h1",fontSize:"1rem","data-tauri-drag-region":!0,children:"Failed to update the GUI components."}),nt.jsx(Nn,{mt:1,"data-tauri-drag-region":!0,children:nt.jsx(s2,{variant:"contained",color:"primary",size:"small",onClick:l,sx:{textTransform:"none"},children:"Retry"})})]})}function q2(l){const{value:i}=l;return nt.jsxs(Nn,{sx:{display:"flex",alignItems:"center"},children:[nt.jsx(Nn,{flex:"1",children:nt.jsx(_2,{variant:i===null?"indeterminate":"determinate",value:i??0,sx:{py:1.2,".MuiLinearProgress-bar":{transition:"none"}}})}),i!==null&&nt.jsx(Nn,{sx:{minWidth:35,textAlign:"right",ml:1},children:nt.jsx(Ws,{variant:"body2",color:"text.secondary",children:`${Math.round(i)}%`})})]})}const G2=Jg.createRoot(document.getElementById("root"));G2.render(nt.jsx(H2,{}));