diff --git a/assets/index-DFthBwF9.js b/assets/index-D34y5oVN.js similarity index 88% rename from assets/index-DFthBwF9.js rename to assets/index-D34y5oVN.js index da437ab..3f8e397 100644 --- a/assets/index-DFthBwF9.js +++ b/assets/index-D34y5oVN.js @@ -22,7 +22,7 @@ var gy=Object.defineProperty;var yy=(e,t,n)=>t in e?gy(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(R,N){var j=R.length;R.push(N);e:for(;0>>1,G=R[U];if(0>>1;Uo(le,j))oeo(xe,le)?(R[U]=xe,R[oe]=j,U=oe):(R[U]=le,R[K]=j,U=K);else if(oeo(xe,j))R[U]=xe,R[oe]=j,U=oe;else break e}}return N}function o(R,N){var j=R.sortIndex-N.sortIndex;return j!==0?j:R.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],f=1,d=null,p=3,v=!1,y=!1,S=!1,E=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c(R){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=R)r(u),N.sortIndex=N.expirationTime,t(a,N);else break;N=n(u)}}function x(R){if(S=!1,c(R),!y)if(n(a)!==null)y=!0,A(b);else{var N=n(u);N!==null&&B(x,N.startTime-R)}}function b(R,N){y=!1,S&&(S=!1,m($),$=-1),v=!0;var j=p;try{for(c(N),d=n(a);d!==null&&(!(d.expirationTime>N)||R&&!O());){var U=d.callback;if(typeof U=="function"){d.callback=null,p=d.priorityLevel;var G=U(d.expirationTime<=N);N=e.unstable_now(),typeof G=="function"?d.callback=G:d===n(a)&&r(a),c(N)}else r(a);d=n(a)}if(d!==null)var q=!0;else{var K=n(u);K!==null&&B(x,K.startTime-N),q=!1}return q}finally{d=null,p=j,v=!1}}var k=!1,C=null,$=-1,g=5,P=-1;function O(){return!(e.unstable_now()-PR||125U?(R.sortIndex=j,t(u,R),n(a)===null&&R===n(u)&&(S?(m($),$=-1):S=!0,B(x,j-U))):(R.sortIndex=G,t(a,R),y||v||(y=!0,A(b))),R},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(R){var N=p;return function(){var j=p;p=N;try{return R.apply(this,arguments)}finally{p=j}}}})(eh);Jm.exports=eh;var jy=Jm.exports;/** + */(function(e){function t(R,N){var j=R.length;R.push(N);e:for(;0>>1,G=R[U];if(0>>1;Uo(le,j))oeo(xe,le)?(R[U]=xe,R[oe]=j,U=oe):(R[U]=le,R[K]=j,U=K);else if(oeo(xe,j))R[U]=xe,R[oe]=j,U=oe;else break e}}return N}function o(R,N){var j=R.sortIndex-N.sortIndex;return j!==0?j:R.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],d=1,f=null,m=3,v=!1,y=!1,S=!1,E=typeof setTimeout=="function"?setTimeout:null,p=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c(R){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=R)r(u),N.sortIndex=N.expirationTime,t(a,N);else break;N=n(u)}}function x(R){if(S=!1,c(R),!y)if(n(a)!==null)y=!0,A(b);else{var N=n(u);N!==null&&B(x,N.startTime-R)}}function b(R,N){y=!1,S&&(S=!1,p($),$=-1),v=!0;var j=m;try{for(c(N),f=n(a);f!==null&&(!(f.expirationTime>N)||R&&!O());){var U=f.callback;if(typeof U=="function"){f.callback=null,m=f.priorityLevel;var G=U(f.expirationTime<=N);N=e.unstable_now(),typeof G=="function"?f.callback=G:f===n(a)&&r(a),c(N)}else r(a);f=n(a)}if(f!==null)var q=!0;else{var K=n(u);K!==null&&B(x,K.startTime-N),q=!1}return q}finally{f=null,m=j,v=!1}}var k=!1,C=null,$=-1,g=5,P=-1;function O(){return!(e.unstable_now()-PR||125U?(R.sortIndex=j,t(u,R),n(a)===null&&R===n(u)&&(S?(p($),$=-1):S=!0,B(x,j-U))):(R.sortIndex=G,t(a,R),y||v||(y=!0,A(b))),R},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(R){var N=m;return function(){var j=m;m=N;try{return R.apply(this,arguments)}finally{m=j}}}})(eh);Jm.exports=eh;var jy=Jm.exports;/** * @license React * react-dom.production.min.js * @@ -34,24 +34,24 @@ var gy=Object.defineProperty;var yy=(e,t,n)=>t in e?gy(e,t,{enumerable:!0,config `+Ha+e}var Va=!1;function Ka(e,t){if(!e||Va)return"";Va=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` `),i=r.stack.split(` `),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=` -`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Va=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Jo(e):""}function Ky(e){switch(e.tag){case 5:return Jo(e.type);case 16:return Jo("Lazy");case 13:return Jo("Suspense");case 19:return Jo("SuspenseList");case 0:case 2:case 15:return e=Ka(e.type,!1),e;case 11:return e=Ka(e.type.render,!1),e;case 1:return e=Ka(e.type,!0),e;default:return""}}function Au(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Hr:return"Fragment";case Ur:return"Portal";case Nu:return"Profiler";case Zc:return"StrictMode";case Mu:return"Suspense";case zu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rh:return(e.displayName||"Context")+".Consumer";case nh:return(e._context.displayName||"Context")+".Provider";case Jc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ed:return t=e.displayName||null,t!==null?t:Au(e.type)||"Memo";case Bn:t=e._payload,e=e._init;try{return Au(e(t))}catch{}}return null}function Gy(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Au(t);case 8:return t===Zc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ih(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Qy(e){var t=ih(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function is(e){e._valueTracker||(e._valueTracker=Qy(e))}function sh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ih(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function _u(e,t){var n=t.checked;return Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function If(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function lh(e,t){t=t.checked,t!=null&&qc(e,"checked",t,!1)}function Lu(e,t){lh(e,t);var n=Jn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Fu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fu(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Of(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Fu(e,t,n){(t!=="number"||Zs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ei=Array.isArray;function ro(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ss.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ci(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ai={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Yy=["Webkit","ms","Moz","O"];Object.keys(ai).forEach(function(e){Yy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ai[t]=ai[e]})});function dh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ai.hasOwnProperty(e)&&ai[e]?(""+t).trim():t+"px"}function fh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=dh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Xy=Ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Du(e,t){if(t){if(Xy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Wu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Uu=null;function td(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Hu=null,oo=null,io=null;function zf(e){if(e=Qi(e)){if(typeof Hu!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Wl(t),Hu(e.stateNode,e.type,t))}}function ph(e){oo?io?io.push(e):io=[e]:oo=e}function mh(){if(oo){var e=oo,t=io;if(io=oo=null,zf(e),t)for(e=0;e>>=0,e===0?32:31-(lv(e)/av|0)|0}var ls=64,as=4194304;function ti(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function nl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=ti(l):(i&=s,i!==0&&(r=ti(i)))}else s=n&~o,s!==0?r=ti(s):i!==0&&(r=ti(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ki(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-en(t),e[t]=n}function fv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ci),Uf=" ",Hf=!1;function zh(e,t){switch(e){case"keyup":return jv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ah(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vr=!1;function Wv(e,t){switch(e){case"compositionend":return Ah(t);case"keypress":return t.which!==32?null:(Hf=!0,Uf);case"textInput":return e=t.data,e===Uf&&Hf?null:e;default:return null}}function Uv(e,t){if(Vr)return e==="compositionend"||!ud&&zh(e,t)?(e=Nh(),Ms=sd=Un=null,Vr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qf(n)}}function Bh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jh(){for(var e=window,t=Zs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zs(e.document)}return t}function cd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Zv(e){var t=jh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Bh(n.ownerDocument.documentElement,n)){if(r!==null&&cd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Yf(n,i);var s=Yf(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Kr=null,Xu=null,fi=null,qu=!1;function Xf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qu||Kr==null||Kr!==Zs(r)||(r=Kr,"selectionStart"in r&&cd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),fi&&Ri(fi,r)||(fi=r,r=il(Xu,"onSelect"),0Yr||(e.current=rc[Yr],rc[Yr]=null,Yr--)}function Se(e,t){Yr++,rc[Yr]=e.current,e.current=t}var er={},ct=rr(er),St=rr(!1),wr=er;function mo(e,t){var n=e.type.contextTypes;if(!n)return er;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function xt(e){return e=e.childContextTypes,e!=null}function ll(){Ee(St),Ee(ct)}function rp(e,t,n){if(ct.current!==er)throw Error(M(168));Se(ct,t),Se(St,n)}function Yh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(M(108,Gy(e)||"Unknown",o));return Ne({},n,r)}function al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,wr=ct.current,Se(ct,e),Se(St,St.current),!0}function op(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Yh(e,t,wr),r.__reactInternalMemoizedMergedChildContext=e,Ee(St),Ee(ct),Se(ct,e)):Ee(St),Se(St,n)}var En=null,Ul=!1,su=!1;function Xh(e){En===null?En=[e]:En.push(e)}function c1(e){Ul=!0,Xh(e)}function or(){if(!su&&En!==null){su=!0;var e=0,t=ce;try{var n=En;for(ce=1;e>=s,o-=s,Pn=1<<32-en(t)+o|n<$?(g=C,C=null):g=C.sibling;var P=p(m,C,c[$],x);if(P===null){C===null&&(C=g);break}e&&C&&P.alternate===null&&t(m,C),h=i(P,h,$),k===null?b=P:k.sibling=P,k=P,C=g}if($===c.length)return n(m,C),Te&&ar(m,$),b;if(C===null){for(;$$?(g=C,C=null):g=C.sibling;var O=p(m,C,P.value,x);if(O===null){C===null&&(C=g);break}e&&C&&O.alternate===null&&t(m,C),h=i(O,h,$),k===null?b=O:k.sibling=O,k=O,C=g}if(P.done)return n(m,C),Te&&ar(m,$),b;if(C===null){for(;!P.done;$++,P=c.next())P=d(m,P.value,x),P!==null&&(h=i(P,h,$),k===null?b=P:k.sibling=P,k=P);return Te&&ar(m,$),b}for(C=r(m,C);!P.done;$++,P=c.next())P=v(C,m,$,P.value,x),P!==null&&(e&&P.alternate!==null&&C.delete(P.key===null?$:P.key),h=i(P,h,$),k===null?b=P:k.sibling=P,k=P);return e&&C.forEach(function(z){return t(m,z)}),Te&&ar(m,$),b}function E(m,h,c,x){if(typeof c=="object"&&c!==null&&c.type===Hr&&c.key===null&&(c=c.props.children),typeof c=="object"&&c!==null){switch(c.$$typeof){case os:e:{for(var b=c.key,k=h;k!==null;){if(k.key===b){if(b=c.type,b===Hr){if(k.tag===7){n(m,k.sibling),h=o(k,c.props.children),h.return=m,m=h;break e}}else if(k.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Bn&&lp(b)===k.type){n(m,k.sibling),h=o(k,c.props),h.ref=Ho(m,k,c),h.return=m,m=h;break e}n(m,k);break}else t(m,k);k=k.sibling}c.type===Hr?(h=vr(c.props.children,m.mode,x,c.key),h.return=m,m=h):(x=Ds(c.type,c.key,c.props,null,m.mode,x),x.ref=Ho(m,h,c),x.return=m,m=x)}return s(m);case Ur:e:{for(k=c.key;h!==null;){if(h.key===k)if(h.tag===4&&h.stateNode.containerInfo===c.containerInfo&&h.stateNode.implementation===c.implementation){n(m,h.sibling),h=o(h,c.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=mu(c,m.mode,x),h.return=m,m=h}return s(m);case Bn:return k=c._init,E(m,h,k(c._payload),x)}if(ei(c))return y(m,h,c,x);if(Bo(c))return S(m,h,c,x);hs(m,c)}return typeof c=="string"&&c!==""||typeof c=="number"?(c=""+c,h!==null&&h.tag===6?(n(m,h.sibling),h=o(h,c),h.return=m,m=h):(n(m,h),h=pu(c,m.mode,x),h.return=m,m=h),s(m)):n(m,h)}return E}var go=eg(!0),tg=eg(!1),dl=rr(null),fl=null,Zr=null,md=null;function hd(){md=Zr=fl=null}function gd(e){var t=dl.current;Ee(dl),e._currentValue=t}function sc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function lo(e,t){fl=e,md=Zr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(yt=!0),e.firstContext=null)}function Ht(e){var t=e._currentValue;if(md!==e)if(e={context:e,memoizedValue:t,next:null},Zr===null){if(fl===null)throw Error(M(308));Zr=e,fl.dependencies={lanes:0,firstContext:e}}else Zr=Zr.next=e;return t}var pr=null;function yd(e){pr===null?pr=[e]:pr.push(e)}function ng(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,yd(t)):(n.next=o.next,o.next=n),t.interleaved=n,On(e,r)}function On(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var jn=!1;function vd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function rg(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ne&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,On(e,n)}return o=r.interleaved,o===null?(t.next=t,yd(r)):(t.next=o.next,o.next=t),r.interleaved=t,On(e,n)}function As(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rd(e,n)}}function ap(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pl(e,t,n,r){var o=e.updateQueue;jn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==s&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=a))}if(i!==null){var d=o.baseState;s=0,f=u=a=null,l=i;do{var p=l.lane,v=l.eventTime;if((r&p)===p){f!==null&&(f=f.next={eventTime:v,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,S=l;switch(p=t,v=n,S.tag){case 1:if(y=S.payload,typeof y=="function"){d=y.call(v,d,p);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=S.payload,p=typeof y=="function"?y.call(v,d,p):y,p==null)break e;d=Ne({},d,p);break e;case 2:jn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[l]:p.push(l))}else v={eventTime:v,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=v,a=d):f=f.next=v,s|=p;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;p=l,l=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(f===null&&(a=d),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);br|=s,e.lanes=s,e.memoizedState=d}}function up(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=au.transition;au.transition={};try{e(!1),t()}finally{ce=n,au.transition=r}}function xg(){return Vt().memoizedState}function m1(e,t,n){var r=qn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},wg(e))Cg(t,n);else if(n=ng(e,t,n,r),n!==null){var o=pt();tn(n,e,r,o),kg(n,t,r)}}function h1(e,t,n){var r=qn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wg(e))Cg(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,rn(l,s)){var a=t.interleaved;a===null?(o.next=o,yd(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=ng(e,t,o,r),n!==null&&(o=pt(),tn(n,e,r,o),kg(n,t,r))}}function wg(e){var t=e.alternate;return e===Oe||t!==null&&t===Oe}function Cg(e,t){pi=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function kg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rd(e,n)}}var gl={readContext:Ht,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useInsertionEffect:it,useLayoutEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useMutableSource:it,useSyncExternalStore:it,useId:it,unstable_isNewReconciler:!1},g1={readContext:Ht,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Ht,useEffect:dp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ls(4194308,4,hg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ls(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ls(4,2,e,t)},useMemo:function(e,t){var n=un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=un();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=m1.bind(null,Oe,e),[r.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:cp,useDebugValue:Pd,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=cp(!1),t=e[0];return e=p1.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Oe,o=un();if(Te){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Ge===null)throw Error(M(349));kr&30||lg(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,dp(ug.bind(null,r,i,e),[e]),r.flags|=2048,_i(9,ag.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=un(),t=Ge.identifierPrefix;if(Te){var n=$n,r=Pn;n=(r&~(1<<32-en(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=zi++,0")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Va=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Jo(e):""}function Ky(e){switch(e.tag){case 5:return Jo(e.type);case 16:return Jo("Lazy");case 13:return Jo("Suspense");case 19:return Jo("SuspenseList");case 0:case 2:case 15:return e=Ka(e.type,!1),e;case 11:return e=Ka(e.type.render,!1),e;case 1:return e=Ka(e.type,!0),e;default:return""}}function Au(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Hr:return"Fragment";case Ur:return"Portal";case Nu:return"Profiler";case Zc:return"StrictMode";case Mu:return"Suspense";case zu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case rh:return(e.displayName||"Context")+".Consumer";case nh:return(e._context.displayName||"Context")+".Provider";case Jc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ed:return t=e.displayName||null,t!==null?t:Au(e.type)||"Memo";case Bn:t=e._payload,e=e._init;try{return Au(e(t))}catch{}}return null}function Gy(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Au(t);case 8:return t===Zc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ih(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Qy(e){var t=ih(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function is(e){e._valueTracker||(e._valueTracker=Qy(e))}function sh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ih(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Zs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function _u(e,t){var n=t.checked;return Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function If(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function lh(e,t){t=t.checked,t!=null&&qc(e,"checked",t,!1)}function Lu(e,t){lh(e,t);var n=Jn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Fu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Fu(e,t.type,Jn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Of(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Fu(e,t,n){(t!=="number"||Zs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ei=Array.isArray;function ro(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ss.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ci(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ai={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Yy=["Webkit","ms","Moz","O"];Object.keys(ai).forEach(function(e){Yy.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ai[t]=ai[e]})});function dh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ai.hasOwnProperty(e)&&ai[e]?(""+t).trim():t+"px"}function fh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=dh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Xy=Ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Du(e,t){if(t){if(Xy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function Wu(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Uu=null;function td(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Hu=null,oo=null,io=null;function zf(e){if(e=Qi(e)){if(typeof Hu!="function")throw Error(M(280));var t=e.stateNode;t&&(t=Wl(t),Hu(e.stateNode,e.type,t))}}function ph(e){oo?io?io.push(e):io=[e]:oo=e}function mh(){if(oo){var e=oo,t=io;if(io=oo=null,zf(e),t)for(e=0;e>>=0,e===0?32:31-(lv(e)/av|0)|0}var ls=64,as=4194304;function ti(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function nl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=ti(l):(i&=s,i!==0&&(r=ti(i)))}else s=n&~o,s!==0?r=ti(s):i!==0&&(r=ti(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Ki(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-en(t),e[t]=n}function fv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ci),Uf=" ",Hf=!1;function zh(e,t){switch(e){case"keyup":return jv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ah(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vr=!1;function Wv(e,t){switch(e){case"compositionend":return Ah(t);case"keypress":return t.which!==32?null:(Hf=!0,Uf);case"textInput":return e=t.data,e===Uf&&Hf?null:e;default:return null}}function Uv(e,t){if(Vr)return e==="compositionend"||!ud&&zh(e,t)?(e=Nh(),Ms=sd=Un=null,Vr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Qf(n)}}function Bh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jh(){for(var e=window,t=Zs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Zs(e.document)}return t}function cd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Zv(e){var t=jh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Bh(n.ownerDocument.documentElement,n)){if(r!==null&&cd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Yf(n,i);var s=Yf(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Kr=null,Xu=null,fi=null,qu=!1;function Xf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;qu||Kr==null||Kr!==Zs(r)||(r=Kr,"selectionStart"in r&&cd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),fi&&Ri(fi,r)||(fi=r,r=il(Xu,"onSelect"),0Yr||(e.current=rc[Yr],rc[Yr]=null,Yr--)}function Se(e,t){Yr++,rc[Yr]=e.current,e.current=t}var er={},ct=rr(er),St=rr(!1),wr=er;function mo(e,t){var n=e.type.contextTypes;if(!n)return er;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function xt(e){return e=e.childContextTypes,e!=null}function ll(){Ee(St),Ee(ct)}function rp(e,t,n){if(ct.current!==er)throw Error(M(168));Se(ct,t),Se(St,n)}function Yh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(M(108,Gy(e)||"Unknown",o));return Ne({},n,r)}function al(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||er,wr=ct.current,Se(ct,e),Se(St,St.current),!0}function op(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=Yh(e,t,wr),r.__reactInternalMemoizedMergedChildContext=e,Ee(St),Ee(ct),Se(ct,e)):Ee(St),Se(St,n)}var En=null,Ul=!1,su=!1;function Xh(e){En===null?En=[e]:En.push(e)}function c1(e){Ul=!0,Xh(e)}function or(){if(!su&&En!==null){su=!0;var e=0,t=ce;try{var n=En;for(ce=1;e>=s,o-=s,Pn=1<<32-en(t)+o|n<$?(g=C,C=null):g=C.sibling;var P=m(p,C,c[$],x);if(P===null){C===null&&(C=g);break}e&&C&&P.alternate===null&&t(p,C),h=i(P,h,$),k===null?b=P:k.sibling=P,k=P,C=g}if($===c.length)return n(p,C),Te&&ar(p,$),b;if(C===null){for(;$$?(g=C,C=null):g=C.sibling;var O=m(p,C,P.value,x);if(O===null){C===null&&(C=g);break}e&&C&&O.alternate===null&&t(p,C),h=i(O,h,$),k===null?b=O:k.sibling=O,k=O,C=g}if(P.done)return n(p,C),Te&&ar(p,$),b;if(C===null){for(;!P.done;$++,P=c.next())P=f(p,P.value,x),P!==null&&(h=i(P,h,$),k===null?b=P:k.sibling=P,k=P);return Te&&ar(p,$),b}for(C=r(p,C);!P.done;$++,P=c.next())P=v(C,p,$,P.value,x),P!==null&&(e&&P.alternate!==null&&C.delete(P.key===null?$:P.key),h=i(P,h,$),k===null?b=P:k.sibling=P,k=P);return e&&C.forEach(function(z){return t(p,z)}),Te&&ar(p,$),b}function E(p,h,c,x){if(typeof c=="object"&&c!==null&&c.type===Hr&&c.key===null&&(c=c.props.children),typeof c=="object"&&c!==null){switch(c.$$typeof){case os:e:{for(var b=c.key,k=h;k!==null;){if(k.key===b){if(b=c.type,b===Hr){if(k.tag===7){n(p,k.sibling),h=o(k,c.props.children),h.return=p,p=h;break e}}else if(k.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===Bn&&lp(b)===k.type){n(p,k.sibling),h=o(k,c.props),h.ref=Ho(p,k,c),h.return=p,p=h;break e}n(p,k);break}else t(p,k);k=k.sibling}c.type===Hr?(h=vr(c.props.children,p.mode,x,c.key),h.return=p,p=h):(x=Ds(c.type,c.key,c.props,null,p.mode,x),x.ref=Ho(p,h,c),x.return=p,p=x)}return s(p);case Ur:e:{for(k=c.key;h!==null;){if(h.key===k)if(h.tag===4&&h.stateNode.containerInfo===c.containerInfo&&h.stateNode.implementation===c.implementation){n(p,h.sibling),h=o(h,c.children||[]),h.return=p,p=h;break e}else{n(p,h);break}else t(p,h);h=h.sibling}h=mu(c,p.mode,x),h.return=p,p=h}return s(p);case Bn:return k=c._init,E(p,h,k(c._payload),x)}if(ei(c))return y(p,h,c,x);if(Bo(c))return S(p,h,c,x);hs(p,c)}return typeof c=="string"&&c!==""||typeof c=="number"?(c=""+c,h!==null&&h.tag===6?(n(p,h.sibling),h=o(h,c),h.return=p,p=h):(n(p,h),h=pu(c,p.mode,x),h.return=p,p=h),s(p)):n(p,h)}return E}var go=eg(!0),tg=eg(!1),dl=rr(null),fl=null,Zr=null,md=null;function hd(){md=Zr=fl=null}function gd(e){var t=dl.current;Ee(dl),e._currentValue=t}function sc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function lo(e,t){fl=e,md=Zr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(yt=!0),e.firstContext=null)}function Ht(e){var t=e._currentValue;if(md!==e)if(e={context:e,memoizedValue:t,next:null},Zr===null){if(fl===null)throw Error(M(308));Zr=e,fl.dependencies={lanes:0,firstContext:e}}else Zr=Zr.next=e;return t}var pr=null;function yd(e){pr===null?pr=[e]:pr.push(e)}function ng(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,yd(t)):(n.next=o.next,o.next=n),t.interleaved=n,On(e,r)}function On(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var jn=!1;function vd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function rg(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Rn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,ne&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,On(e,n)}return o=r.interleaved,o===null?(t.next=t,yd(r)):(t.next=o.next,o.next=t),r.interleaved=t,On(e,n)}function As(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rd(e,n)}}function ap(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pl(e,t,n,r){var o=e.updateQueue;jn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==s&&(l===null?d.firstBaseUpdate=u:l.next=u,d.lastBaseUpdate=a))}if(i!==null){var f=o.baseState;s=0,d=u=a=null,l=i;do{var m=l.lane,v=l.eventTime;if((r&m)===m){d!==null&&(d=d.next={eventTime:v,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,S=l;switch(m=t,v=n,S.tag){case 1:if(y=S.payload,typeof y=="function"){f=y.call(v,f,m);break e}f=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=S.payload,m=typeof y=="function"?y.call(v,f,m):y,m==null)break e;f=Ne({},f,m);break e;case 2:jn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,m=o.effects,m===null?o.effects=[l]:m.push(l))}else v={eventTime:v,lane:m,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(u=d=v,a=f):d=d.next=v,s|=m;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;m=l,l=m.next,m.next=null,o.lastBaseUpdate=m,o.shared.pending=null}}while(!0);if(d===null&&(a=f),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);br|=s,e.lanes=s,e.memoizedState=f}}function up(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=au.transition;au.transition={};try{e(!1),t()}finally{ce=n,au.transition=r}}function xg(){return Vt().memoizedState}function m1(e,t,n){var r=qn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},wg(e))Cg(t,n);else if(n=ng(e,t,n,r),n!==null){var o=pt();tn(n,e,r,o),kg(n,t,r)}}function h1(e,t,n){var r=qn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wg(e))Cg(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,rn(l,s)){var a=t.interleaved;a===null?(o.next=o,yd(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=ng(e,t,o,r),n!==null&&(o=pt(),tn(n,e,r,o),kg(n,t,r))}}function wg(e){var t=e.alternate;return e===Oe||t!==null&&t===Oe}function Cg(e,t){pi=hl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function kg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,rd(e,n)}}var gl={readContext:Ht,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useInsertionEffect:it,useLayoutEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useMutableSource:it,useSyncExternalStore:it,useId:it,unstable_isNewReconciler:!1},g1={readContext:Ht,useCallback:function(e,t){return un().memoizedState=[e,t===void 0?null:t],e},useContext:Ht,useEffect:dp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ls(4194308,4,hg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ls(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ls(4,2,e,t)},useMemo:function(e,t){var n=un();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=un();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=m1.bind(null,Oe,e),[r.memoizedState,e]},useRef:function(e){var t=un();return e={current:e},t.memoizedState=e},useState:cp,useDebugValue:Pd,useDeferredValue:function(e){return un().memoizedState=e},useTransition:function(){var e=cp(!1),t=e[0];return e=p1.bind(null,e[1]),un().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Oe,o=un();if(Te){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),Ge===null)throw Error(M(349));kr&30||lg(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,dp(ug.bind(null,r,i,e),[e]),r.flags|=2048,_i(9,ag.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=un(),t=Ge.identifierPrefix;if(Te){var n=$n,r=Pn;n=(r&~(1<<32-en(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=zi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[pn]=t,e[Oi]=r,Mg(e,t,!1,!1),t.stateNode=e;e:{switch(s=Wu(n,r),n){case"dialog":ke("cancel",e),ke("close",e),o=r;break;case"iframe":case"object":case"embed":ke("load",e),o=r;break;case"video":case"audio":for(o=0;oSo&&(t.flags|=128,r=!0,Vo(i,!1),t.lanes=4194304)}else{if(!r)if(e=ml(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Vo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Te)return st(t),null}else 2*Le()-i.renderingStartTime>So&&n!==1073741824&&(t.flags|=128,r=!0,Vo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Le(),t.sibling=null,n=Ie.current,Se(Ie,r?n&1|2:n&1),t):(st(t),null);case 22:case 23:return Nd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?bt&1073741824&&(st(t),t.subtreeFlags&6&&(t.flags|=8192)):st(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function b1(e,t){switch(fd(t),t.tag){case 1:return xt(t.type)&&ll(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yo(),Ee(St),Ee(ct),wd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return xd(t),null;case 13:if(Ee(Ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));ho()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ee(Ie),null;case 4:return yo(),null;case 10:return gd(t.type._context),null;case 22:case 23:return Nd(),null;case 24:return null;default:return null}}var ys=!1,at=!1,E1=typeof WeakSet=="function"?WeakSet:Set,D=null;function Jr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ae(e,t,r)}else n.current=null}function hc(e,t,n){try{n()}catch(r){Ae(e,t,r)}}var Cp=!1;function P1(e,t){if(Zu=rl,e=jh(),cd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,f=0,d=e,p=null;t:for(;;){for(var v;d!==n||o!==0&&d.nodeType!==3||(l=s+o),d!==i||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(v=d.firstChild)!==null;)p=d,d=v;for(;;){if(d===e)break t;if(p===n&&++u===o&&(l=s),p===i&&++f===r&&(a=s),(v=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=v}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ju={focusedElem:e,selectionRange:n},rl=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var S=y.memoizedProps,E=y.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?S:Xt(t.type,S),E);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var c=t.stateNode.containerInfo;c.nodeType===1?c.textContent="":c.nodeType===9&&c.documentElement&&c.removeChild(c.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(x){Ae(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return y=Cp,Cp=!1,y}function mi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&hc(t,n,i)}o=o.next}while(o!==r)}}function Kl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function gc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function _g(e){var t=e.alternate;t!==null&&(e.alternate=null,_g(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pn],delete t[Oi],delete t[nc],delete t[a1],delete t[u1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Lg(e){return e.tag===5||e.tag===3||e.tag===4}function kp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function yc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=sl));else if(r!==4&&(e=e.child,e!==null))for(yc(e,t,n),e=e.sibling;e!==null;)yc(e,t,n),e=e.sibling}function vc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(vc(e,t,n),e=e.sibling;e!==null;)vc(e,t,n),e=e.sibling}var et=null,qt=!1;function Ln(e,t,n){for(n=n.child;n!==null;)Fg(e,t,n),n=n.sibling}function Fg(e,t,n){if(hn&&typeof hn.onCommitFiberUnmount=="function")try{hn.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:at||Jr(n,t);case 6:var r=et,o=qt;et=null,Ln(e,t,n),et=r,qt=o,et!==null&&(qt?(e=et,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):et.removeChild(n.stateNode));break;case 18:et!==null&&(qt?(e=et,n=n.stateNode,e.nodeType===8?iu(e.parentNode,n):e.nodeType===1&&iu(e,n),Pi(e)):iu(et,n.stateNode));break;case 4:r=et,o=qt,et=n.stateNode.containerInfo,qt=!0,Ln(e,t,n),et=r,qt=o;break;case 0:case 11:case 14:case 15:if(!at&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&hc(n,t,s),o=o.next}while(o!==r)}Ln(e,t,n);break;case 1:if(!at&&(Jr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ae(n,t,l)}Ln(e,t,n);break;case 21:Ln(e,t,n);break;case 22:n.mode&1?(at=(r=at)||n.memoizedState!==null,Ln(e,t,n),at=r):Ln(e,t,n);break;default:Ln(e,t,n)}}function bp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new E1),t.forEach(function(r){var o=A1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Yt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Le()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*R1(r/1960))-r,10e?16:e,Hn===null)var r=!1;else{if(e=Hn,Hn=null,Sl=0,ne&6)throw Error(M(331));var o=ne;for(ne|=4,D=e.current;D!==null;){var i=D,s=i.child;if(D.flags&16){var l=i.deletions;if(l!==null){for(var a=0;aLe()-Id?yr(e,0):Td|=n),wt(e,t)}function Kg(e,t){t===0&&(e.mode&1?(t=as,as<<=1,!(as&130023424)&&(as=4194304)):t=1);var n=pt();e=On(e,t),e!==null&&(Ki(e,t,n),wt(e,n))}function z1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kg(e,n)}function A1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Kg(e,n)}var Gg;Gg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||St.current)yt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return yt=!1,C1(e,t,n);yt=!!(e.flags&131072)}else yt=!1,Te&&t.flags&1048576&&qh(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fs(e,t),e=t.pendingProps;var o=mo(t,ct.current);lo(t,n),o=kd(null,t,r,e,o,n);var i=bd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xt(r)?(i=!0,al(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,vd(t),o.updater=Vl,t.stateNode=o,o._reactInternals=t,ac(t,r,e,n),t=dc(null,t,r,!0,i,n)):(t.tag=0,Te&&i&&dd(t),dt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fs(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=L1(r),e=Xt(r,e),o){case 0:t=cc(null,t,r,e,n);break e;case 1:t=Sp(null,t,r,e,n);break e;case 11:t=yp(null,t,r,e,n);break e;case 14:t=vp(null,t,r,Xt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),cc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),Sp(e,t,r,o,n);case 3:e:{if(Ig(t),e===null)throw Error(M(387));r=t.pendingProps,i=t.memoizedState,o=i.element,rg(e,t),pl(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=vo(Error(M(423)),t),t=xp(e,t,r,n,o);break e}else if(r!==o){o=vo(Error(M(424)),t),t=xp(e,t,r,n,o);break e}else for(Pt=Qn(t.stateNode.containerInfo.firstChild),$t=t,Te=!0,Zt=null,n=tg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ho(),r===o){t=Nn(e,t,n);break e}dt(e,t,r,n)}t=t.child}return t;case 5:return og(t),e===null&&ic(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,ec(r,o)?s=null:i!==null&&ec(r,i)&&(t.flags|=32),Tg(e,t),dt(e,t,s,n),t.child;case 6:return e===null&&ic(t),null;case 13:return Og(e,t,n);case 4:return Sd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=go(t,null,r,n):dt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),yp(e,t,r,o,n);case 7:return dt(e,t,t.pendingProps,n),t.child;case 8:return dt(e,t,t.pendingProps.children,n),t.child;case 12:return dt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Se(dl,r._currentValue),r._currentValue=s,i!==null)if(rn(i.value,s)){if(i.children===o.children&&!St.current){t=Nn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Rn(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),sc(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(M(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),sc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}dt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,lo(t,n),o=Ht(o),r=r(o),t.flags|=1,dt(e,t,r,n),t.child;case 14:return r=t.type,o=Xt(r,t.pendingProps),o=Xt(r.type,o),vp(e,t,r,o,n);case 15:return $g(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),Fs(e,t),t.tag=1,xt(r)?(e=!0,al(t)):e=!1,lo(t,n),bg(t,r,o),ac(t,r,o,n),dc(null,t,r,!0,e,n);case 19:return Ng(e,t,n);case 22:return Rg(e,t,n)}throw Error(M(156,t.tag))};function Qg(e,t){return wh(e,t)}function _1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(e,t,n,r){return new _1(e,t,n,r)}function zd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function L1(e){if(typeof e=="function")return zd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Jc)return 11;if(e===ed)return 14}return 2}function Zn(e,t){var n=e.alternate;return n===null?(n=Wt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ds(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")zd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Hr:return vr(n.children,o,i,t);case Zc:s=8,o|=8;break;case Nu:return e=Wt(12,n,t,o|2),e.elementType=Nu,e.lanes=i,e;case Mu:return e=Wt(13,n,t,o),e.elementType=Mu,e.lanes=i,e;case zu:return e=Wt(19,n,t,o),e.elementType=zu,e.lanes=i,e;case oh:return Ql(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nh:s=10;break e;case rh:s=9;break e;case Jc:s=11;break e;case ed:s=14;break e;case Bn:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Wt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function vr(e,t,n,r){return e=Wt(7,e,r,t),e.lanes=n,e}function Ql(e,t,n,r){return e=Wt(22,e,r,t),e.elementType=oh,e.lanes=n,e.stateNode={isHidden:!1},e}function pu(e,t,n){return e=Wt(6,e,null,t),e.lanes=n,e}function mu(e,t,n){return t=Wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function F1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Qa(0),this.expirationTimes=Qa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qa(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ad(e,t,n,r,o,i,s,l,a){return e=new F1(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Wt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vd(i),e}function B1(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Zg)}catch(e){console.error(e)}}Zg(),Zm.exports=Ot;var Bd=Zm.exports;const xs=jm(Bd);var Jg,Np=Bd;Jg=Np.createRoot,Np.hydrateRoot;const sr=new Map;function H1(e,t){if(w.useSyncExternalStore===void 0)throw new TypeError('You are using React 17 or below. Install with "npm install use-local-storage-state@17".');const[n]=w.useState(t==null?void 0:t.defaultValue);if(typeof window>"u")return[n,()=>{},{isPersistent:!0,removeItem:()=>{}}];const r=t==null?void 0:t.serializer;return V1(e,n,t==null?void 0:t.storageSync,r==null?void 0:r.parse,r==null?void 0:r.stringify)}function V1(e,t,n=!0,r=K1,o=JSON.stringify){!sr.has(e)&&t!==void 0&&Go(()=>localStorage.getItem(e))===null&&Go(()=>localStorage.setItem(e,o(t)));const i=w.useRef({item:null,parsed:t}),s=w.useSyncExternalStore(w.useCallback(a=>{const u=f=>{e===f&&a()};return kc.add(u),()=>{kc.delete(u)}},[e]),()=>{var a;const u=(a=Go(()=>localStorage.getItem(e)))!==null&&a!==void 0?a:null;if(sr.has(e))i.current={item:u,parsed:sr.get(e)};else if(u!==i.current.item){let f;try{f=u===null?t:r(u)}catch{f=t}i.current={item:u,parsed:f}}return i.current.parsed},()=>t),l=w.useCallback(a=>{const u=a instanceof Function?a(i.current.parsed):a;try{localStorage.setItem(e,o(u)),sr.delete(e)}catch{sr.set(e,u)}hu(e)},[e,o]);return w.useEffect(()=>{if(!n)return;const a=u=>{u.storageArea===Go(()=>localStorage)&&u.key===e&&hu(e)};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[e,n]),w.useMemo(()=>[s,l,{isPersistent:s===t||!sr.has(e),removeItem(){Go(()=>localStorage.removeItem(e)),sr.delete(e),hu(e)}}],[e,l,s,t])}const kc=new Set;function hu(e){for(const t of[...kc])t(e)}function K1(e){return e==="undefined"?void 0:JSON.parse(e)}function Go(e){try{return e()}catch{return}}var vt=function(){return vt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0?Ke(Io,--Kt):0,wo--,je===10&&(wo=1,ea--),je}function nn(){return je=Kt2||Ec(je)>3?"":" "}function nS(e,t){for(;--t&&nn()&&!(je<48||je>102||je>57&&je<65||je>70&&je<97););return na(e,Us()+(t<6&&Sr()==32&&nn()==32))}function Pc(e){for(;nn();)switch(je){case e:return Kt;case 34:case 39:e!==34&&e!==39&&Pc(je);break;case 40:e===41&&Pc(e);break;case 92:nn();break}return Kt}function rS(e,t){for(;nn()&&e+je!==57;)if(e+je===84&&Sr()===47)break;return"/*"+na(t,Kt-1)+"*"+Dd(e===47?e:nn())}function oS(e){for(;!Ec(Sr());)nn();return na(e,Kt)}function iS(e){return eS(Hs("",null,null,null,[""],e=J1(e),0,[0],e))}function Hs(e,t,n,r,o,i,s,l,a){for(var u=0,f=0,d=s,p=0,v=0,y=0,S=1,E=1,m=1,h=0,c="",x=o,b=i,k=r,C=c;E;)switch(y=h,h=nn()){case 40:if(y!=108&&Ke(C,d-1)==58){Ws(C+=J(gu(h),"&","&\f"),"&\f",n0(u?l[u-1]:0))!=-1&&(m=-1);break}case 34:case 39:case 91:C+=gu(h);break;case 9:case 10:case 13:case 32:C+=tS(y);break;case 92:C+=nS(Us()-1,7);continue;case 47:switch(Sr()){case 42:case 47:ri(sS(rS(nn(),Us()),t,n,a),a);break;default:C+="/"}break;case 123*S:l[u++]=cn(C)*m;case 125*S:case 59:case 0:switch(h){case 0:case 125:E=0;case 59+f:m==-1&&(C=J(C,/\f/g,"")),v>0&&cn(C)-d&&ri(v>32?Ap(C+";",r,n,d-1,a):Ap(J(C," ","")+";",r,n,d-2,a),a);break;case 59:C+=";";default:if(ri(k=zp(C,t,n,u,f,o,l,c,x=[],b=[],d,i),i),h===123)if(f===0)Hs(C,t,k,k,x,i,d,l,b);else switch(p===99&&Ke(C,3)===110?100:p){case 100:case 108:case 109:case 115:Hs(e,k,k,r&&ri(zp(e,k,k,0,0,o,l,c,o,x=[],d,b),b),o,b,d,l,r?x:b);break;default:Hs(C,k,k,k,[""],b,0,l,b)}}u=f=v=0,S=m=1,c=C="",d=s;break;case 58:d=1+cn(C),v=y;default:if(S<1){if(h==123)--S;else if(h==125&&S++==0&&Z1()==125)continue}switch(C+=Dd(h),h*S){case 38:m=f>0?1:(C+="\f",-1);break;case 44:l[u++]=(cn(C)-1)*m,m=1;break;case 64:Sr()===45&&(C+=gu(nn())),p=Sr(),f=d=cn(c=C+=oS(Us())),h++;break;case 45:y===45&&cn(C)==2&&(S=0)}}return i}function zp(e,t,n,r,o,i,s,l,a,u,f,d){for(var p=o-1,v=o===0?i:[""],y=o0(v),S=0,E=0,m=0;S0?v[h]+" "+c:J(c,/&\f/g,v[h])))&&(a[m++]=x);return ta(e,t,n,o===0?Jl:l,a,u,f,d)}function sS(e,t,n,r){return ta(e,t,n,e0,Dd(q1()),xo(e,2,-2),0,r)}function Ap(e,t,n,r,o){return ta(e,t,n,jd,xo(e,0,r),xo(e,r+1,-1),r,o)}function s0(e,t,n){switch(Y1(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 4789:return yi+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+yi+e+be+e+e;case 5936:switch(Ke(e,t+11)){case 114:return ae+e+be+J(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+be+J(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+be+J(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ae+e+be+e+e;case 6165:return ae+e+be+"flex-"+e+e;case 5187:return ae+e+J(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+be+"flex-$1$2")+e;case 5443:return ae+e+be+"flex-item-"+J(e,/flex-|-self/g,"")+(bn(e,/flex-|baseline/)?"":be+"grid-row-"+J(e,/flex-|-self/g,""))+e;case 4675:return ae+e+be+"flex-line-pack"+J(e,/align-content|flex-|-self/g,"")+e;case 5548:return ae+e+be+J(e,"shrink","negative")+e;case 5292:return ae+e+be+J(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+J(e,"-grow","")+ae+e+be+J(e,"grow","positive")+e;case 4554:return ae+J(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return J(J(J(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return J(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return J(J(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4200:if(!bn(e,/flex-|baseline/))return be+"grid-column-align"+xo(e,t)+e;break;case 2592:case 3360:return be+J(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,bn(r.props,/grid-\w+-end/)})?~Ws(e+(n=n[t].value),"span",0)?e:be+J(e,"-start","")+e+be+"grid-row-span:"+(~Ws(n,"span",0)?bn(n,/\d+/):+bn(n,/\d+/)-+bn(e,/\d+/))+";":be+J(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return bn(r.props,/grid-\w+-start/)})?e:be+J(J(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return J(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(cn(e)-1-t>6)switch(Ke(e,t+1)){case 109:if(Ke(e,t+4)!==45)break;case 102:return J(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+yi+(Ke(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ws(e,"stretch",0)?s0(J(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return J(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,s,l,a,u){return be+o+":"+i+u+(s?be+o+"-span:"+(l?a:+a-+i)+u:"")+e});case 4949:if(Ke(e,t+6)===121)return J(e,":",":"+ae)+e;break;case 6444:switch(Ke(e,Ke(e,14)===45?18:11)){case 120:return J(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ae+(Ke(e,14)===45?"inline-":"")+"box$3$1"+ae+"$2$3$1"+be+"$2box$3")+e;case 100:return J(e,":",":"+be)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return J(e,"scroll-","scroll-snap-")+e}return e}function kl(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case jd:e.return=s0(e.value,e.length,n);return;case t0:return kl([Fn(e,{value:J(e.value,"@","@"+ae)})],r);case Jl:if(e.length)return X1(n=e.props,function(o){switch(bn(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":zr(Fn(e,{props:[J(o,/:(read-\w+)/,":"+yi+"$1")]})),zr(Fn(e,{props:[o]})),bc(e,{props:Mp(n,r)});break;case"::placeholder":zr(Fn(e,{props:[J(o,/:(plac\w+)/,":"+ae+"input-$1")]})),zr(Fn(e,{props:[J(o,/:(plac\w+)/,":"+yi+"$1")]})),zr(Fn(e,{props:[J(o,/:(plac\w+)/,be+"input-$1")]})),zr(Fn(e,{props:[o]})),bc(e,{props:Mp(n,r)});break}return""})}}var dS={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,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},kt={},Co=typeof process<"u"&&kt!==void 0&&(kt.REACT_APP_SC_ATTR||kt.SC_ATTR)||"data-styled",l0="active",a0="data-styled-version",ra="6.1.13",Wd=`/*!sc*/ -`,bl=typeof window<"u"&&"HTMLElement"in window,fS=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&kt!==void 0&&kt.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&kt.REACT_APP_SC_DISABLE_SPEEDY!==""?kt.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&kt.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&kt!==void 0&&kt.SC_DISABLE_SPEEDY!==void 0&&kt.SC_DISABLE_SPEEDY!==""&&kt.SC_DISABLE_SPEEDY!=="false"&&kt.SC_DISABLE_SPEEDY),oa=Object.freeze([]),ko=Object.freeze({});function pS(e,t,n){return n===void 0&&(n=ko),e.theme!==n.theme&&e.theme||t||n.theme}var u0=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),mS=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,hS=/(^-|-$)/g;function _p(e){return e.replace(mS,"-").replace(hS,"")}var gS=/(a)(d)/gi,ws=52,Lp=function(e){return String.fromCharCode(e+(e>25?39:97))};function $c(e){var t,n="";for(t=Math.abs(e);t>ws;t=t/ws|0)n=Lp(t%ws)+n;return(Lp(t%ws)+n).replace(gS,"$1-$2")}var yu,c0=5381,to=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},d0=function(e){return to(c0,e)};function yS(e){return $c(d0(e)>>>0)}function vS(e){return e.displayName||e.name||"Component"}function vu(e){return typeof e=="string"&&!0}var f0=typeof Symbol=="function"&&Symbol.for,p0=f0?Symbol.for("react.memo"):60115,SS=f0?Symbol.for("react.forward_ref"):60112,xS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},wS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},m0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},CS=((yu={})[SS]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yu[p0]=m0,yu);function Fp(e){return("type"in(t=e)&&t.type.$$typeof)===p0?m0:"$$typeof"in e?CS[e.$$typeof]:xS;var t}var kS=Object.defineProperty,bS=Object.getOwnPropertyNames,Bp=Object.getOwnPropertySymbols,ES=Object.getOwnPropertyDescriptor,PS=Object.getPrototypeOf,jp=Object.prototype;function h0(e,t,n){if(typeof t!="string"){if(jp){var r=PS(t);r&&r!==jp&&h0(e,r,n)}var o=bS(t);Bp&&(o=o.concat(Bp(t)));for(var i=Fp(e),s=Fp(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var $S=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,i=o;t>=i;)if((i<<=1)<0)throw Xi(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var s=o;s=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r,s=o;s=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(E+="".concat(m,","))}),a+="".concat(y).concat(S,'{content:"').concat(E,'"}').concat(Wd)},f=0;f0?".".concat(t):p},f=a.slice();f.push(function(p){p.type===Jl&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(FS,n).replace(r,u))}),s.prefix&&f.push(cS),f.push(lS);var d=function(p,v,y,S){v===void 0&&(v=""),y===void 0&&(y=""),S===void 0&&(S="&"),t=S,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var E=p.replace(BS,""),m=iS(y||v?"".concat(y," ").concat(v," { ").concat(E," }"):E);s.namespace&&(m=v0(m,s.namespace));var h=[];return kl(m,aS(f.concat(uS(function(c){return h.push(c)})))),h};return d.hash=a.length?a.reduce(function(p,v){return v.name||Xi(15),to(p,v.name)},c0).toString():"",d}var DS=new y0,Tc=jS(),S0=ft.createContext({shouldForwardProp:void 0,styleSheet:DS,stylis:Tc});S0.Consumer;ft.createContext(void 0);function Hp(){return w.useContext(S0)}var WS=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=Tc);var s=r.name+i.hash;o.hasNameForId(r.id,s)||o.insertRules(r.id,s,i(r.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Hd(this,function(){throw Xi(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Tc),this.name+t.hash},e}(),US=function(e){return e>="A"&&e<="Z"};function Vp(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,s)){var l=r(i,".".concat(s),void 0,this.componentId);n.insertRules(this.componentId,s,l)}o=hr(o,s),this.staticRulesId=s}else{for(var a=to(this.baseHash,r.hash),u="",f=0;f>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(u,".".concat(v),void 0,this.componentId)),o=hr(o,v)}}return o},e}(),C0=ft.createContext(void 0);C0.Consumer;var Su={};function GS(e,t,n){var r=Ud(e),o=e,i=!vu(e),s=t.attrs,l=s===void 0?oa:s,a=t.componentId,u=a===void 0?function(x,b){var k=typeof x!="string"?"sc":_p(x);Su[k]=(Su[k]||0)+1;var C="".concat(k,"-").concat(yS(ra+k+Su[k]));return b?"".concat(b,"-").concat(C):C}(t.displayName,t.parentComponentId):a,f=t.displayName,d=f===void 0?function(x){return vu(x)?"styled.".concat(x):"Styled(".concat(vS(x),")")}(e):f,p=t.displayName&&t.componentId?"".concat(_p(t.displayName),"-").concat(t.componentId):t.componentId||u,v=r&&o.attrs?o.attrs.concat(l).filter(Boolean):l,y=t.shouldForwardProp;if(r&&o.shouldForwardProp){var S=o.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;y=function(x,b){return S(x,b)&&E(x,b)}}else y=S}var m=new KS(n,p,r?o.componentStyle:void 0);function h(x,b){return function(k,C,$){var g=k.attrs,P=k.componentStyle,O=k.defaultProps,z=k.foldedComponentIds,F=k.styledComponentId,L=k.target,_=ft.useContext(C0),A=Hp(),B=k.shouldForwardProp||A.shouldForwardProp,R=pS(C,_,O)||ko,N=function(le,oe,xe){for(var Be,ue=vt(vt({},oe),{className:void 0,theme:xe}),Z=0;Z0?tt(Oo,--Ct):0,Eo--,De===10&&(Eo=1,aa--),De}function Rt(){return De=Ct2||Di(De)>3?"":" "}function fx(e,t){for(;--t&&Rt()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return qi(e,Gs()+(t<6&&yn()==32&&Rt()==32))}function Nc(e){for(;Rt();)switch(De){case e:return Ct;case 34:case 39:e!==34&&e!==39&&Nc(De);break;case 40:e===41&&Nc(e);break;case 92:Rt();break}return Ct}function px(e,t){for(;Rt()&&e+De!==57;)if(e+De===84&&yn()===47)break;return"/*"+qi(t,Ct-1)+"*"+la(e===47?e:Rt())}function mx(e){for(;!Di(yn());)Rt();return qi(e,Ct)}function hx(e){return I0(Ys("",null,null,null,[""],e=T0(e),0,[0],e))}function Ys(e,t,n,r,o,i,s,l,a){for(var u=0,f=0,d=s,p=0,v=0,y=0,S=1,E=1,m=1,h=0,c="",x=o,b=i,k=r,C=c;E;)switch(y=h,h=Rt()){case 40:if(y!=108&&tt(C,d-1)==58){Oc(C+=se(Qs(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:C+=Qs(h);break;case 9:case 10:case 13:case 32:C+=dx(y);break;case 92:C+=fx(Gs()-1,7);continue;case 47:switch(yn()){case 42:case 47:ks(gx(px(Rt(),Gs()),t,n),a);break;default:C+="/"}break;case 123*S:l[u++]=dn(C)*m;case 125*S:case 59:case 0:switch(h){case 0:case 125:E=0;case 59+f:m==-1&&(C=se(C,/\f/g,"")),v>0&&dn(C)-d&&ks(v>32?Yp(C+";",r,n,d-1):Yp(se(C," ","")+";",r,n,d-2),a);break;case 59:C+=";";default:if(ks(k=Qp(C,t,n,u,f,o,l,c,x=[],b=[],d),i),h===123)if(f===0)Ys(C,t,k,k,x,i,d,l,b);else switch(p===99&&tt(C,3)===110?100:p){case 100:case 108:case 109:case 115:Ys(e,k,k,r&&ks(Qp(e,k,k,0,0,o,l,c,o,x=[],d),b),o,b,d,l,r?x:b);break;default:Ys(C,k,k,k,[""],b,0,l,b)}}u=f=v=0,S=m=1,c=C="",d=s;break;case 58:d=1+dn(C),v=y;default:if(S<1){if(h==123)--S;else if(h==125&&S++==0&&cx()==125)continue}switch(C+=la(h),h*S){case 38:m=f>0?1:(C+="\f",-1);break;case 44:l[u++]=(dn(C)-1)*m,m=1;break;case 64:yn()===45&&(C+=Qs(Rt())),p=yn(),f=d=dn(c=C+=mx(Gs())),h++;break;case 45:y===45&&dn(C)==2&&(S=0)}}return i}function Qp(e,t,n,r,o,i,s,l,a,u,f){for(var d=o-1,p=o===0?i:[""],v=Gd(p),y=0,S=0,E=0;y0?p[m]+" "+h:se(h,/&\f/g,p[m])))&&(a[E++]=c);return ua(e,t,n,o===0?Vd:l,a,u,f)}function gx(e,t,n){return ua(e,t,n,E0,la(ux()),ji(e,2,-2),0)}function Yp(e,t,n,r){return ua(e,t,n,Kd,ji(e,0,r),ji(e,r+1,-1),r)}function uo(e,t){for(var n="",r=Gd(e),o=0;o6)switch(tt(e,t+1)){case 109:if(tt(e,t+4)!==45)break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+ie+"$2-$3$1"+$l+(tt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Oc(e,"stretch")?O0(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(tt(e,t+1)!==115)break;case 6444:switch(tt(e,dn(e)-3-(~Oc(e,"!important")&&10))){case 107:return se(e,":",":"+ie)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ie+(tt(e,14)===45?"inline-":"")+"box$3$1"+ie+"$2$3$1"+lt+"$2box$3")+e}break;case 5936:switch(tt(e,t+11)){case 114:return ie+e+lt+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ie+e+lt+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ie+e+lt+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ie+e+lt+e+e}return e}var Ex=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Kd:t.return=O0(t.value,t.length);break;case P0:return uo([Yo(t,{value:se(t.value,"@","@"+ie)})],o);case Vd:if(t.length)return ax(t.props,function(i){switch(lx(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return uo([Yo(t,{props:[se(i,/:(read-\w+)/,":"+$l+"$1")]})],o);case"::placeholder":return uo([Yo(t,{props:[se(i,/:(plac\w+)/,":"+ie+"input-$1")]}),Yo(t,{props:[se(i,/:(plac\w+)/,":"+$l+"$1")]}),Yo(t,{props:[se(i,/:(plac\w+)/,lt+"input-$1")]})],o)}return""})}},Px=[Ex],$x=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var E=S.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var o=t.stylisPlugins||Px,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var E=S.getAttribute("data-emotion").split(" "),m=1;m<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[pn]=t,e[Oi]=r,Mg(e,t,!1,!1),t.stateNode=e;e:{switch(s=Wu(n,r),n){case"dialog":ke("cancel",e),ke("close",e),o=r;break;case"iframe":case"object":case"embed":ke("load",e),o=r;break;case"video":case"audio":for(o=0;oSo&&(t.flags|=128,r=!0,Vo(i,!1),t.lanes=4194304)}else{if(!r)if(e=ml(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Vo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Te)return st(t),null}else 2*Le()-i.renderingStartTime>So&&n!==1073741824&&(t.flags|=128,r=!0,Vo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Le(),t.sibling=null,n=Ie.current,Se(Ie,r?n&1|2:n&1),t):(st(t),null);case 22:case 23:return Nd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?bt&1073741824&&(st(t),t.subtreeFlags&6&&(t.flags|=8192)):st(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function b1(e,t){switch(fd(t),t.tag){case 1:return xt(t.type)&&ll(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yo(),Ee(St),Ee(ct),wd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return xd(t),null;case 13:if(Ee(Ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));ho()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ee(Ie),null;case 4:return yo(),null;case 10:return gd(t.type._context),null;case 22:case 23:return Nd(),null;case 24:return null;default:return null}}var ys=!1,at=!1,E1=typeof WeakSet=="function"?WeakSet:Set,D=null;function Jr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ae(e,t,r)}else n.current=null}function hc(e,t,n){try{n()}catch(r){Ae(e,t,r)}}var Cp=!1;function P1(e,t){if(Zu=rl,e=jh(),cd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,d=0,f=e,m=null;t:for(;;){for(var v;f!==n||o!==0&&f.nodeType!==3||(l=s+o),f!==i||r!==0&&f.nodeType!==3||(a=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(v=f.firstChild)!==null;)m=f,f=v;for(;;){if(f===e)break t;if(m===n&&++u===o&&(l=s),m===i&&++d===r&&(a=s),(v=f.nextSibling)!==null)break;f=m,m=f.parentNode}f=v}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ju={focusedElem:e,selectionRange:n},rl=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var S=y.memoizedProps,E=y.memoizedState,p=t.stateNode,h=p.getSnapshotBeforeUpdate(t.elementType===t.type?S:Xt(t.type,S),E);p.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var c=t.stateNode.containerInfo;c.nodeType===1?c.textContent="":c.nodeType===9&&c.documentElement&&c.removeChild(c.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(x){Ae(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return y=Cp,Cp=!1,y}function mi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&hc(t,n,i)}o=o.next}while(o!==r)}}function Kl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function gc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function _g(e){var t=e.alternate;t!==null&&(e.alternate=null,_g(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pn],delete t[Oi],delete t[nc],delete t[a1],delete t[u1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Lg(e){return e.tag===5||e.tag===3||e.tag===4}function kp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lg(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function yc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=sl));else if(r!==4&&(e=e.child,e!==null))for(yc(e,t,n),e=e.sibling;e!==null;)yc(e,t,n),e=e.sibling}function vc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(vc(e,t,n),e=e.sibling;e!==null;)vc(e,t,n),e=e.sibling}var et=null,qt=!1;function Ln(e,t,n){for(n=n.child;n!==null;)Fg(e,t,n),n=n.sibling}function Fg(e,t,n){if(hn&&typeof hn.onCommitFiberUnmount=="function")try{hn.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:at||Jr(n,t);case 6:var r=et,o=qt;et=null,Ln(e,t,n),et=r,qt=o,et!==null&&(qt?(e=et,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):et.removeChild(n.stateNode));break;case 18:et!==null&&(qt?(e=et,n=n.stateNode,e.nodeType===8?iu(e.parentNode,n):e.nodeType===1&&iu(e,n),Pi(e)):iu(et,n.stateNode));break;case 4:r=et,o=qt,et=n.stateNode.containerInfo,qt=!0,Ln(e,t,n),et=r,qt=o;break;case 0:case 11:case 14:case 15:if(!at&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&hc(n,t,s),o=o.next}while(o!==r)}Ln(e,t,n);break;case 1:if(!at&&(Jr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ae(n,t,l)}Ln(e,t,n);break;case 21:Ln(e,t,n);break;case 22:n.mode&1?(at=(r=at)||n.memoizedState!==null,Ln(e,t,n),at=r):Ln(e,t,n);break;default:Ln(e,t,n)}}function bp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new E1),t.forEach(function(r){var o=A1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Yt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Le()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*R1(r/1960))-r,10e?16:e,Hn===null)var r=!1;else{if(e=Hn,Hn=null,Sl=0,ne&6)throw Error(M(331));var o=ne;for(ne|=4,D=e.current;D!==null;){var i=D,s=i.child;if(D.flags&16){var l=i.deletions;if(l!==null){for(var a=0;aLe()-Id?yr(e,0):Td|=n),wt(e,t)}function Kg(e,t){t===0&&(e.mode&1?(t=as,as<<=1,!(as&130023424)&&(as=4194304)):t=1);var n=pt();e=On(e,t),e!==null&&(Ki(e,t,n),wt(e,n))}function z1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Kg(e,n)}function A1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Kg(e,n)}var Gg;Gg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||St.current)yt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return yt=!1,C1(e,t,n);yt=!!(e.flags&131072)}else yt=!1,Te&&t.flags&1048576&&qh(t,cl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fs(e,t),e=t.pendingProps;var o=mo(t,ct.current);lo(t,n),o=kd(null,t,r,e,o,n);var i=bd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xt(r)?(i=!0,al(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,vd(t),o.updater=Vl,t.stateNode=o,o._reactInternals=t,ac(t,r,e,n),t=dc(null,t,r,!0,i,n)):(t.tag=0,Te&&i&&dd(t),dt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fs(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=L1(r),e=Xt(r,e),o){case 0:t=cc(null,t,r,e,n);break e;case 1:t=Sp(null,t,r,e,n);break e;case 11:t=yp(null,t,r,e,n);break e;case 14:t=vp(null,t,r,Xt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),cc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),Sp(e,t,r,o,n);case 3:e:{if(Ig(t),e===null)throw Error(M(387));r=t.pendingProps,i=t.memoizedState,o=i.element,rg(e,t),pl(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=vo(Error(M(423)),t),t=xp(e,t,r,n,o);break e}else if(r!==o){o=vo(Error(M(424)),t),t=xp(e,t,r,n,o);break e}else for(Pt=Qn(t.stateNode.containerInfo.firstChild),$t=t,Te=!0,Zt=null,n=tg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ho(),r===o){t=Nn(e,t,n);break e}dt(e,t,r,n)}t=t.child}return t;case 5:return og(t),e===null&&ic(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,ec(r,o)?s=null:i!==null&&ec(r,i)&&(t.flags|=32),Tg(e,t),dt(e,t,s,n),t.child;case 6:return e===null&&ic(t),null;case 13:return Og(e,t,n);case 4:return Sd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=go(t,null,r,n):dt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),yp(e,t,r,o,n);case 7:return dt(e,t,t.pendingProps,n),t.child;case 8:return dt(e,t,t.pendingProps.children,n),t.child;case 12:return dt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Se(dl,r._currentValue),r._currentValue=s,i!==null)if(rn(i.value,s)){if(i.children===o.children&&!St.current){t=Nn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Rn(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?a.next=a:(a.next=d.next,d.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),sc(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(M(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),sc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}dt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,lo(t,n),o=Ht(o),r=r(o),t.flags|=1,dt(e,t,r,n),t.child;case 14:return r=t.type,o=Xt(r,t.pendingProps),o=Xt(r.type,o),vp(e,t,r,o,n);case 15:return $g(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xt(r,o),Fs(e,t),t.tag=1,xt(r)?(e=!0,al(t)):e=!1,lo(t,n),bg(t,r,o),ac(t,r,o,n),dc(null,t,r,!0,e,n);case 19:return Ng(e,t,n);case 22:return Rg(e,t,n)}throw Error(M(156,t.tag))};function Qg(e,t){return wh(e,t)}function _1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wt(e,t,n,r){return new _1(e,t,n,r)}function zd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function L1(e){if(typeof e=="function")return zd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Jc)return 11;if(e===ed)return 14}return 2}function Zn(e,t){var n=e.alternate;return n===null?(n=Wt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ds(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")zd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Hr:return vr(n.children,o,i,t);case Zc:s=8,o|=8;break;case Nu:return e=Wt(12,n,t,o|2),e.elementType=Nu,e.lanes=i,e;case Mu:return e=Wt(13,n,t,o),e.elementType=Mu,e.lanes=i,e;case zu:return e=Wt(19,n,t,o),e.elementType=zu,e.lanes=i,e;case oh:return Ql(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case nh:s=10;break e;case rh:s=9;break e;case Jc:s=11;break e;case ed:s=14;break e;case Bn:s=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Wt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function vr(e,t,n,r){return e=Wt(7,e,r,t),e.lanes=n,e}function Ql(e,t,n,r){return e=Wt(22,e,r,t),e.elementType=oh,e.lanes=n,e.stateNode={isHidden:!1},e}function pu(e,t,n){return e=Wt(6,e,null,t),e.lanes=n,e}function mu(e,t,n){return t=Wt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function F1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Qa(0),this.expirationTimes=Qa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qa(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ad(e,t,n,r,o,i,s,l,a){return e=new F1(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Wt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vd(i),e}function B1(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Zg)}catch(e){console.error(e)}}Zg(),Zm.exports=Ot;var Bd=Zm.exports;const xs=jm(Bd);var Jg,Np=Bd;Jg=Np.createRoot,Np.hydrateRoot;const sr=new Map;function H1(e,t){if(w.useSyncExternalStore===void 0)throw new TypeError('You are using React 17 or below. Install with "npm install use-local-storage-state@17".');const[n]=w.useState(t==null?void 0:t.defaultValue);if(typeof window>"u")return[n,()=>{},{isPersistent:!0,removeItem:()=>{}}];const r=t==null?void 0:t.serializer;return V1(e,n,t==null?void 0:t.storageSync,r==null?void 0:r.parse,r==null?void 0:r.stringify)}function V1(e,t,n=!0,r=K1,o=JSON.stringify){!sr.has(e)&&t!==void 0&&Go(()=>localStorage.getItem(e))===null&&Go(()=>localStorage.setItem(e,o(t)));const i=w.useRef({item:null,parsed:t}),s=w.useSyncExternalStore(w.useCallback(a=>{const u=d=>{e===d&&a()};return kc.add(u),()=>{kc.delete(u)}},[e]),()=>{var a;const u=(a=Go(()=>localStorage.getItem(e)))!==null&&a!==void 0?a:null;if(sr.has(e))i.current={item:u,parsed:sr.get(e)};else if(u!==i.current.item){let d;try{d=u===null?t:r(u)}catch{d=t}i.current={item:u,parsed:d}}return i.current.parsed},()=>t),l=w.useCallback(a=>{const u=a instanceof Function?a(i.current.parsed):a;try{localStorage.setItem(e,o(u)),sr.delete(e)}catch{sr.set(e,u)}hu(e)},[e,o]);return w.useEffect(()=>{if(!n)return;const a=u=>{u.storageArea===Go(()=>localStorage)&&u.key===e&&hu(e)};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[e,n]),w.useMemo(()=>[s,l,{isPersistent:s===t||!sr.has(e),removeItem(){Go(()=>localStorage.removeItem(e)),sr.delete(e),hu(e)}}],[e,l,s,t])}const kc=new Set;function hu(e){for(const t of[...kc])t(e)}function K1(e){return e==="undefined"?void 0:JSON.parse(e)}function Go(e){try{return e()}catch{return}}var vt=function(){return vt=Object.assign||function(t){for(var n,r=1,o=arguments.length;r0?Ke(Io,--Kt):0,wo--,je===10&&(wo=1,ea--),je}function nn(){return je=Kt2||Ec(je)>3?"":" "}function nS(e,t){for(;--t&&nn()&&!(je<48||je>102||je>57&&je<65||je>70&&je<97););return na(e,Us()+(t<6&&Sr()==32&&nn()==32))}function Pc(e){for(;nn();)switch(je){case e:return Kt;case 34:case 39:e!==34&&e!==39&&Pc(je);break;case 40:e===41&&Pc(e);break;case 92:nn();break}return Kt}function rS(e,t){for(;nn()&&e+je!==57;)if(e+je===84&&Sr()===47)break;return"/*"+na(t,Kt-1)+"*"+Dd(e===47?e:nn())}function oS(e){for(;!Ec(Sr());)nn();return na(e,Kt)}function iS(e){return eS(Hs("",null,null,null,[""],e=J1(e),0,[0],e))}function Hs(e,t,n,r,o,i,s,l,a){for(var u=0,d=0,f=s,m=0,v=0,y=0,S=1,E=1,p=1,h=0,c="",x=o,b=i,k=r,C=c;E;)switch(y=h,h=nn()){case 40:if(y!=108&&Ke(C,f-1)==58){Ws(C+=J(gu(h),"&","&\f"),"&\f",n0(u?l[u-1]:0))!=-1&&(p=-1);break}case 34:case 39:case 91:C+=gu(h);break;case 9:case 10:case 13:case 32:C+=tS(y);break;case 92:C+=nS(Us()-1,7);continue;case 47:switch(Sr()){case 42:case 47:ri(sS(rS(nn(),Us()),t,n,a),a);break;default:C+="/"}break;case 123*S:l[u++]=cn(C)*p;case 125*S:case 59:case 0:switch(h){case 0:case 125:E=0;case 59+d:p==-1&&(C=J(C,/\f/g,"")),v>0&&cn(C)-f&&ri(v>32?Ap(C+";",r,n,f-1,a):Ap(J(C," ","")+";",r,n,f-2,a),a);break;case 59:C+=";";default:if(ri(k=zp(C,t,n,u,d,o,l,c,x=[],b=[],f,i),i),h===123)if(d===0)Hs(C,t,k,k,x,i,f,l,b);else switch(m===99&&Ke(C,3)===110?100:m){case 100:case 108:case 109:case 115:Hs(e,k,k,r&&ri(zp(e,k,k,0,0,o,l,c,o,x=[],f,b),b),o,b,f,l,r?x:b);break;default:Hs(C,k,k,k,[""],b,0,l,b)}}u=d=v=0,S=p=1,c=C="",f=s;break;case 58:f=1+cn(C),v=y;default:if(S<1){if(h==123)--S;else if(h==125&&S++==0&&Z1()==125)continue}switch(C+=Dd(h),h*S){case 38:p=d>0?1:(C+="\f",-1);break;case 44:l[u++]=(cn(C)-1)*p,p=1;break;case 64:Sr()===45&&(C+=gu(nn())),m=Sr(),d=f=cn(c=C+=oS(Us())),h++;break;case 45:y===45&&cn(C)==2&&(S=0)}}return i}function zp(e,t,n,r,o,i,s,l,a,u,d,f){for(var m=o-1,v=o===0?i:[""],y=o0(v),S=0,E=0,p=0;S0?v[h]+" "+c:J(c,/&\f/g,v[h])))&&(a[p++]=x);return ta(e,t,n,o===0?Jl:l,a,u,d,f)}function sS(e,t,n,r){return ta(e,t,n,e0,Dd(q1()),xo(e,2,-2),0,r)}function Ap(e,t,n,r,o){return ta(e,t,n,jd,xo(e,0,r),xo(e,r+1,-1),r,o)}function s0(e,t,n){switch(Y1(e,t)){case 5103:return ae+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ae+e+e;case 4789:return yi+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ae+e+yi+e+be+e+e;case 5936:switch(Ke(e,t+11)){case 114:return ae+e+be+J(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ae+e+be+J(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ae+e+be+J(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return ae+e+be+e+e;case 6165:return ae+e+be+"flex-"+e+e;case 5187:return ae+e+J(e,/(\w+).+(:[^]+)/,ae+"box-$1$2"+be+"flex-$1$2")+e;case 5443:return ae+e+be+"flex-item-"+J(e,/flex-|-self/g,"")+(bn(e,/flex-|baseline/)?"":be+"grid-row-"+J(e,/flex-|-self/g,""))+e;case 4675:return ae+e+be+"flex-line-pack"+J(e,/align-content|flex-|-self/g,"")+e;case 5548:return ae+e+be+J(e,"shrink","negative")+e;case 5292:return ae+e+be+J(e,"basis","preferred-size")+e;case 6060:return ae+"box-"+J(e,"-grow","")+ae+e+be+J(e,"grow","positive")+e;case 4554:return ae+J(e,/([^-])(transform)/g,"$1"+ae+"$2")+e;case 6187:return J(J(J(e,/(zoom-|grab)/,ae+"$1"),/(image-set)/,ae+"$1"),e,"")+e;case 5495:case 3959:return J(e,/(image-set\([^]*)/,ae+"$1$`$1");case 4968:return J(J(e,/(.+:)(flex-)?(.*)/,ae+"box-pack:$3"+be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ae+e+e;case 4200:if(!bn(e,/flex-|baseline/))return be+"grid-column-align"+xo(e,t)+e;break;case 2592:case 3360:return be+J(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,bn(r.props,/grid-\w+-end/)})?~Ws(e+(n=n[t].value),"span",0)?e:be+J(e,"-start","")+e+be+"grid-row-span:"+(~Ws(n,"span",0)?bn(n,/\d+/):+bn(n,/\d+/)-+bn(e,/\d+/))+";":be+J(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return bn(r.props,/grid-\w+-start/)})?e:be+J(J(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return J(e,/(.+)-inline(.+)/,ae+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(cn(e)-1-t>6)switch(Ke(e,t+1)){case 109:if(Ke(e,t+4)!==45)break;case 102:return J(e,/(.+:)(.+)-([^]+)/,"$1"+ae+"$2-$3$1"+yi+(Ke(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ws(e,"stretch",0)?s0(J(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return J(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,s,l,a,u){return be+o+":"+i+u+(s?be+o+"-span:"+(l?a:+a-+i)+u:"")+e});case 4949:if(Ke(e,t+6)===121)return J(e,":",":"+ae)+e;break;case 6444:switch(Ke(e,Ke(e,14)===45?18:11)){case 120:return J(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+ae+(Ke(e,14)===45?"inline-":"")+"box$3$1"+ae+"$2$3$1"+be+"$2box$3")+e;case 100:return J(e,":",":"+be)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return J(e,"scroll-","scroll-snap-")+e}return e}function kl(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case jd:e.return=s0(e.value,e.length,n);return;case t0:return kl([Fn(e,{value:J(e.value,"@","@"+ae)})],r);case Jl:if(e.length)return X1(n=e.props,function(o){switch(bn(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":zr(Fn(e,{props:[J(o,/:(read-\w+)/,":"+yi+"$1")]})),zr(Fn(e,{props:[o]})),bc(e,{props:Mp(n,r)});break;case"::placeholder":zr(Fn(e,{props:[J(o,/:(plac\w+)/,":"+ae+"input-$1")]})),zr(Fn(e,{props:[J(o,/:(plac\w+)/,":"+yi+"$1")]})),zr(Fn(e,{props:[J(o,/:(plac\w+)/,be+"input-$1")]})),zr(Fn(e,{props:[o]})),bc(e,{props:Mp(n,r)});break}return""})}}var dS={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,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},kt={},Co=typeof process<"u"&&kt!==void 0&&(kt.REACT_APP_SC_ATTR||kt.SC_ATTR)||"data-styled",l0="active",a0="data-styled-version",ra="6.1.13",Wd=`/*!sc*/ +`,bl=typeof window<"u"&&"HTMLElement"in window,fS=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&kt!==void 0&&kt.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&kt.REACT_APP_SC_DISABLE_SPEEDY!==""?kt.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&kt.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&kt!==void 0&&kt.SC_DISABLE_SPEEDY!==void 0&&kt.SC_DISABLE_SPEEDY!==""&&kt.SC_DISABLE_SPEEDY!=="false"&&kt.SC_DISABLE_SPEEDY),oa=Object.freeze([]),ko=Object.freeze({});function pS(e,t,n){return n===void 0&&(n=ko),e.theme!==n.theme&&e.theme||t||n.theme}var u0=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),mS=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,hS=/(^-|-$)/g;function _p(e){return e.replace(mS,"-").replace(hS,"")}var gS=/(a)(d)/gi,ws=52,Lp=function(e){return String.fromCharCode(e+(e>25?39:97))};function $c(e){var t,n="";for(t=Math.abs(e);t>ws;t=t/ws|0)n=Lp(t%ws)+n;return(Lp(t%ws)+n).replace(gS,"$1-$2")}var yu,c0=5381,to=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},d0=function(e){return to(c0,e)};function yS(e){return $c(d0(e)>>>0)}function vS(e){return e.displayName||e.name||"Component"}function vu(e){return typeof e=="string"&&!0}var f0=typeof Symbol=="function"&&Symbol.for,p0=f0?Symbol.for("react.memo"):60115,SS=f0?Symbol.for("react.forward_ref"):60112,xS={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},wS={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},m0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},CS=((yu={})[SS]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yu[p0]=m0,yu);function Fp(e){return("type"in(t=e)&&t.type.$$typeof)===p0?m0:"$$typeof"in e?CS[e.$$typeof]:xS;var t}var kS=Object.defineProperty,bS=Object.getOwnPropertyNames,Bp=Object.getOwnPropertySymbols,ES=Object.getOwnPropertyDescriptor,PS=Object.getPrototypeOf,jp=Object.prototype;function h0(e,t,n){if(typeof t!="string"){if(jp){var r=PS(t);r&&r!==jp&&h0(e,r,n)}var o=bS(t);Bp&&(o=o.concat(Bp(t)));for(var i=Fp(e),s=Fp(t),l=0;l0?" Args: ".concat(t.join(", ")):""))}var $S=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,i=o;t>=i;)if((i<<=1)<0)throw Xi(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var s=o;s=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r,s=o;s=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(E+="".concat(p,","))}),a+="".concat(y).concat(S,'{content:"').concat(E,'"}').concat(Wd)},d=0;d0?".".concat(t):m},d=a.slice();d.push(function(m){m.type===Jl&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(FS,n).replace(r,u))}),s.prefix&&d.push(cS),d.push(lS);var f=function(m,v,y,S){v===void 0&&(v=""),y===void 0&&(y=""),S===void 0&&(S="&"),t=S,n=v,r=new RegExp("\\".concat(n,"\\b"),"g");var E=m.replace(BS,""),p=iS(y||v?"".concat(y," ").concat(v," { ").concat(E," }"):E);s.namespace&&(p=v0(p,s.namespace));var h=[];return kl(p,aS(d.concat(uS(function(c){return h.push(c)})))),h};return f.hash=a.length?a.reduce(function(m,v){return v.name||Xi(15),to(m,v.name)},c0).toString():"",f}var DS=new y0,Tc=jS(),S0=ft.createContext({shouldForwardProp:void 0,styleSheet:DS,stylis:Tc});S0.Consumer;ft.createContext(void 0);function Hp(){return w.useContext(S0)}var WS=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=Tc);var s=r.name+i.hash;o.hasNameForId(r.id,s)||o.insertRules(r.id,s,i(r.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,Hd(this,function(){throw Xi(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Tc),this.name+t.hash},e}(),US=function(e){return e>="A"&&e<="Z"};function Vp(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,s)){var l=r(i,".".concat(s),void 0,this.componentId);n.insertRules(this.componentId,s,l)}o=hr(o,s),this.staticRulesId=s}else{for(var a=to(this.baseHash,r.hash),u="",d=0;d>>0);n.hasNameForId(this.componentId,v)||n.insertRules(this.componentId,v,r(u,".".concat(v),void 0,this.componentId)),o=hr(o,v)}}return o},e}(),C0=ft.createContext(void 0);C0.Consumer;var Su={};function GS(e,t,n){var r=Ud(e),o=e,i=!vu(e),s=t.attrs,l=s===void 0?oa:s,a=t.componentId,u=a===void 0?function(x,b){var k=typeof x!="string"?"sc":_p(x);Su[k]=(Su[k]||0)+1;var C="".concat(k,"-").concat(yS(ra+k+Su[k]));return b?"".concat(b,"-").concat(C):C}(t.displayName,t.parentComponentId):a,d=t.displayName,f=d===void 0?function(x){return vu(x)?"styled.".concat(x):"Styled(".concat(vS(x),")")}(e):d,m=t.displayName&&t.componentId?"".concat(_p(t.displayName),"-").concat(t.componentId):t.componentId||u,v=r&&o.attrs?o.attrs.concat(l).filter(Boolean):l,y=t.shouldForwardProp;if(r&&o.shouldForwardProp){var S=o.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;y=function(x,b){return S(x,b)&&E(x,b)}}else y=S}var p=new KS(n,m,r?o.componentStyle:void 0);function h(x,b){return function(k,C,$){var g=k.attrs,P=k.componentStyle,O=k.defaultProps,z=k.foldedComponentIds,F=k.styledComponentId,L=k.target,_=ft.useContext(C0),A=Hp(),B=k.shouldForwardProp||A.shouldForwardProp,R=pS(C,_,O)||ko,N=function(le,oe,xe){for(var Be,ue=vt(vt({},oe),{className:void 0,theme:xe}),Z=0;Z0?tt(Oo,--Ct):0,Eo--,De===10&&(Eo=1,aa--),De}function Rt(){return De=Ct2||Di(De)>3?"":" "}function fx(e,t){for(;--t&&Rt()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return qi(e,Gs()+(t<6&&yn()==32&&Rt()==32))}function Nc(e){for(;Rt();)switch(De){case e:return Ct;case 34:case 39:e!==34&&e!==39&&Nc(De);break;case 40:e===41&&Nc(e);break;case 92:Rt();break}return Ct}function px(e,t){for(;Rt()&&e+De!==57;)if(e+De===84&&yn()===47)break;return"/*"+qi(t,Ct-1)+"*"+la(e===47?e:Rt())}function mx(e){for(;!Di(yn());)Rt();return qi(e,Ct)}function hx(e){return I0(Ys("",null,null,null,[""],e=T0(e),0,[0],e))}function Ys(e,t,n,r,o,i,s,l,a){for(var u=0,d=0,f=s,m=0,v=0,y=0,S=1,E=1,p=1,h=0,c="",x=o,b=i,k=r,C=c;E;)switch(y=h,h=Rt()){case 40:if(y!=108&&tt(C,f-1)==58){Oc(C+=se(Qs(h),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:C+=Qs(h);break;case 9:case 10:case 13:case 32:C+=dx(y);break;case 92:C+=fx(Gs()-1,7);continue;case 47:switch(yn()){case 42:case 47:ks(gx(px(Rt(),Gs()),t,n),a);break;default:C+="/"}break;case 123*S:l[u++]=dn(C)*p;case 125*S:case 59:case 0:switch(h){case 0:case 125:E=0;case 59+d:p==-1&&(C=se(C,/\f/g,"")),v>0&&dn(C)-f&&ks(v>32?Yp(C+";",r,n,f-1):Yp(se(C," ","")+";",r,n,f-2),a);break;case 59:C+=";";default:if(ks(k=Qp(C,t,n,u,d,o,l,c,x=[],b=[],f),i),h===123)if(d===0)Ys(C,t,k,k,x,i,f,l,b);else switch(m===99&&tt(C,3)===110?100:m){case 100:case 108:case 109:case 115:Ys(e,k,k,r&&ks(Qp(e,k,k,0,0,o,l,c,o,x=[],f),b),o,b,f,l,r?x:b);break;default:Ys(C,k,k,k,[""],b,0,l,b)}}u=d=v=0,S=p=1,c=C="",f=s;break;case 58:f=1+dn(C),v=y;default:if(S<1){if(h==123)--S;else if(h==125&&S++==0&&cx()==125)continue}switch(C+=la(h),h*S){case 38:p=d>0?1:(C+="\f",-1);break;case 44:l[u++]=(dn(C)-1)*p,p=1;break;case 64:yn()===45&&(C+=Qs(Rt())),m=yn(),d=f=dn(c=C+=mx(Gs())),h++;break;case 45:y===45&&dn(C)==2&&(S=0)}}return i}function Qp(e,t,n,r,o,i,s,l,a,u,d){for(var f=o-1,m=o===0?i:[""],v=Gd(m),y=0,S=0,E=0;y0?m[p]+" "+h:se(h,/&\f/g,m[p])))&&(a[E++]=c);return ua(e,t,n,o===0?Vd:l,a,u,d)}function gx(e,t,n){return ua(e,t,n,E0,la(ux()),ji(e,2,-2),0)}function Yp(e,t,n,r){return ua(e,t,n,Kd,ji(e,0,r),ji(e,r+1,-1),r)}function uo(e,t){for(var n="",r=Gd(e),o=0;o6)switch(tt(e,t+1)){case 109:if(tt(e,t+4)!==45)break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+ie+"$2-$3$1"+$l+(tt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Oc(e,"stretch")?O0(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(tt(e,t+1)!==115)break;case 6444:switch(tt(e,dn(e)-3-(~Oc(e,"!important")&&10))){case 107:return se(e,":",":"+ie)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ie+(tt(e,14)===45?"inline-":"")+"box$3$1"+ie+"$2$3$1"+lt+"$2box$3")+e}break;case 5936:switch(tt(e,t+11)){case 114:return ie+e+lt+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ie+e+lt+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ie+e+lt+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ie+e+lt+e+e}return e}var Ex=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Kd:t.return=O0(t.value,t.length);break;case P0:return uo([Yo(t,{value:se(t.value,"@","@"+ie)})],o);case Vd:if(t.length)return ax(t.props,function(i){switch(lx(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return uo([Yo(t,{props:[se(i,/:(read-\w+)/,":"+$l+"$1")]})],o);case"::placeholder":return uo([Yo(t,{props:[se(i,/:(plac\w+)/,":"+ie+"input-$1")]}),Yo(t,{props:[se(i,/:(plac\w+)/,":"+$l+"$1")]}),Yo(t,{props:[se(i,/:(plac\w+)/,lt+"input-$1")]})],o)}return""})}},Px=[Ex],$x=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(S){var E=S.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var o=t.stylisPlugins||Px,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(S){for(var E=S.getAttribute("data-emotion").split(" "),p=1;p=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Bx={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},jx=!1,Dx=/[A-Z]|^ms/g,Wx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,F0=function(t){return t.charCodeAt(1)===45},qp=function(t){return t!=null&&typeof t!="boolean"},xu=b0(function(e){return F0(e)?e:e.replace(Dx,"-$&").toLowerCase()}),Zp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Wx,function(r,o,i){return fn={name:o,styles:i,next:fn},o})}return Bx[t]!==1&&!F0(t)&&typeof n=="number"&&n!==0?n+"px":n},Ux="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Wi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return fn={name:o.name,styles:o.styles,next:fn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)fn={name:s.name,styles:s.styles,next:fn},s=s.next;var l=i.styles+";";return l}return Hx(e,t,n)}case"function":{if(e!==void 0){var a=fn,u=n(e);return fn=a,Wi(e,t,u)}break}}var f=n;if(t==null)return f;var d=t[f];return d!==void 0?d:f}function Hx(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Yx:Xx},nm=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},qx=!1,Zx=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return _0(n,r,o),Kx(function(){return L0(n,r,o)}),null},Jx=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var l=nm(t,n,r),a=l||tm(o),u=!a("as");return function(){var f=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)d.push.apply(d,f);else{d.push(f[0][0]);for(var p=f.length,v=1;vt(tw(o)?n:o):t;return I.jsx(Gx,{styles:r})}/** + */var Qe=typeof Symbol=="function"&&Symbol.for,Qd=Qe?Symbol.for("react.element"):60103,Yd=Qe?Symbol.for("react.portal"):60106,ca=Qe?Symbol.for("react.fragment"):60107,da=Qe?Symbol.for("react.strict_mode"):60108,fa=Qe?Symbol.for("react.profiler"):60114,pa=Qe?Symbol.for("react.provider"):60109,ma=Qe?Symbol.for("react.context"):60110,Xd=Qe?Symbol.for("react.async_mode"):60111,ha=Qe?Symbol.for("react.concurrent_mode"):60111,ga=Qe?Symbol.for("react.forward_ref"):60112,ya=Qe?Symbol.for("react.suspense"):60113,Rx=Qe?Symbol.for("react.suspense_list"):60120,va=Qe?Symbol.for("react.memo"):60115,Sa=Qe?Symbol.for("react.lazy"):60116,Tx=Qe?Symbol.for("react.block"):60121,Ix=Qe?Symbol.for("react.fundamental"):60117,Ox=Qe?Symbol.for("react.responder"):60118,Nx=Qe?Symbol.for("react.scope"):60119;function Mt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Qd:switch(e=e.type,e){case Xd:case ha:case ca:case fa:case da:case ya:return e;default:switch(e=e&&e.$$typeof,e){case ma:case ga:case Sa:case va:case pa:return e;default:return t}}case Yd:return t}}}function M0(e){return Mt(e)===ha}de.AsyncMode=Xd;de.ConcurrentMode=ha;de.ContextConsumer=ma;de.ContextProvider=pa;de.Element=Qd;de.ForwardRef=ga;de.Fragment=ca;de.Lazy=Sa;de.Memo=va;de.Portal=Yd;de.Profiler=fa;de.StrictMode=da;de.Suspense=ya;de.isAsyncMode=function(e){return M0(e)||Mt(e)===Xd};de.isConcurrentMode=M0;de.isContextConsumer=function(e){return Mt(e)===ma};de.isContextProvider=function(e){return Mt(e)===pa};de.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qd};de.isForwardRef=function(e){return Mt(e)===ga};de.isFragment=function(e){return Mt(e)===ca};de.isLazy=function(e){return Mt(e)===Sa};de.isMemo=function(e){return Mt(e)===va};de.isPortal=function(e){return Mt(e)===Yd};de.isProfiler=function(e){return Mt(e)===fa};de.isStrictMode=function(e){return Mt(e)===da};de.isSuspense=function(e){return Mt(e)===ya};de.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ca||e===ha||e===fa||e===da||e===ya||e===Rx||typeof e=="object"&&e!==null&&(e.$$typeof===Sa||e.$$typeof===va||e.$$typeof===pa||e.$$typeof===ma||e.$$typeof===ga||e.$$typeof===Ix||e.$$typeof===Ox||e.$$typeof===Nx||e.$$typeof===Tx)};de.typeOf=Mt;N0.exports=de;var Mx=N0.exports,z0=Mx,zx={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ax={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},A0={};A0[z0.ForwardRef]=zx;A0[z0.Memo]=Ax;var _x=!0;function Lx(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var _0=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||_x===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},L0=function(t,n,r){_0(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Fx(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Bx={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},jx=!1,Dx=/[A-Z]|^ms/g,Wx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,F0=function(t){return t.charCodeAt(1)===45},qp=function(t){return t!=null&&typeof t!="boolean"},xu=b0(function(e){return F0(e)?e:e.replace(Dx,"-$&").toLowerCase()}),Zp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Wx,function(r,o,i){return fn={name:o,styles:i,next:fn},o})}return Bx[t]!==1&&!F0(t)&&typeof n=="number"&&n!==0?n+"px":n},Ux="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Wi(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return fn={name:o.name,styles:o.styles,next:fn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)fn={name:s.name,styles:s.styles,next:fn},s=s.next;var l=i.styles+";";return l}return Hx(e,t,n)}case"function":{if(e!==void 0){var a=fn,u=n(e);return fn=a,Wi(e,t,u)}break}}var d=n;if(t==null)return d;var f=t[d];return f!==void 0?f:d}function Hx(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Yx:Xx},nm=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},qx=!1,Zx=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return _0(n,r,o),Kx(function(){return L0(n,r,o)}),null},Jx=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var l=nm(t,n,r),a=l||tm(o),u=!a("as");return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{f.push(d[0][0]);for(var m=d.length,v=1;vt(tw(o)?n:o):t;return I.jsx(Gx,{styles:r})}/** * @mui/styled-engine v6.1.1 * * @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 rw(e,t){return Mc(e,t)}const ow=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function mn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function W0(e){if(!mn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=W0(e[n])}),t}function ut(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return mn(e)&&mn(t)&&Object.keys(t).forEach(o=>{mn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&mn(e[o])?r[o]=ut(e[o],t[o],n):n.clone?r[o]=mn(t[o])?W0(t[o]):t[o]:r[o]=t[o]}),r}const iw=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function sw(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=iw(t),s=Object.keys(i);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function a(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function u(p,v){const y=s.indexOf(v);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:v)-r/100}${n})`}function f(p){return s.indexOf(p)+1r.startsWith("@container")).sort((r,o)=>{var s,l;const i=/min-width:\s*([0-9.]+)/;return+(((s=r.match(i))==null?void 0:s[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function aw(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function uw(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function cw(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...l)=>t(e.breakpoints.up(...l),s),i.down=(...l)=>t(e.breakpoints.down(...l),s),i.between=(...l)=>t(e.breakpoints.between(...l),s),i.only=(...l)=>t(e.breakpoints.only(...l),s),i.not=(...l)=>{const a=t(e.breakpoints.not(...l),s);return a.includes("not all and")?a.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):a}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const dw={borderRadius:4};function vi(e,t){return t?ut(e,t,{clone:!1}):e}const xa={xs:0,sm:600,md:900,lg:1200,xl:1536},rm={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${xa[e]}px)`},fw={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:xa[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function zn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||rm;return t.reduce((s,l,a)=>(s[i.up(i.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const i=r.breakpoints||rm;return Object.keys(t).reduce((s,l)=>{if(aw(i.keys,l)){const a=uw(r.containerQueries?r:fw,l);a&&(s[a]=n(t[l],l))}else if(Object.keys(i.values||xa).includes(l)){const a=i.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function pw(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function mw(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Q(e){if(typeof e!="string")throw new Error(Mn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function wa(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Rl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=wa(e,n)||r,t&&(o=t(o,r,e)),o}function Fe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=wa(a,r)||{};return zn(s,l,d=>{let p=Rl(u,o,d);return d===p&&typeof d=="string"&&(p=Rl(u,o,`${t}${d==="default"?"":Q(d)}`,d)),n===!1?p:{[n]:p}})};return i.propTypes={},i.filterProps=[t],i}function hw(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const gw={m:"margin",p:"padding"},yw={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},om={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},vw=hw(e=>{if(e.length>2)if(om[e])e=om[e];else return[e];const[t,n]=e.split(""),r=gw[t],o=yw[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ef=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ef,...tf];function Zi(e,t,n,r){const o=wa(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i),l=o[s];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:()=>{}}function nf(e){return Zi(e,"spacing",8)}function Ji(e,t){return typeof t=="string"||t==null?t:e(t)}function Sw(e,t){return n=>e.reduce((r,o)=>(r[o]=Ji(t,n),r),{})}function xw(e,t,n,r){if(!t.includes(n))return null;const o=vw(n),i=Sw(o,r),s=e[n];return zn(e,s,i)}function U0(e,t){const n=nf(e.theme);return Object.keys(e).map(r=>xw(e,t,r,n)).reduce(vi,{})}function Me(e){return U0(e,ef)}Me.propTypes={};Me.filterProps=ef;function ze(e){return U0(e,tf)}ze.propTypes={};ze.filterProps=tf;function H0(e=8,t=nf({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Ca(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?vi(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function jt(e){return typeof e!="number"?e:`${e}px solid`}function Gt(e,t){return Fe({prop:e,themeKey:"borders",transform:t})}const ww=Gt("border",jt),Cw=Gt("borderTop",jt),kw=Gt("borderRight",jt),bw=Gt("borderBottom",jt),Ew=Gt("borderLeft",jt),Pw=Gt("borderColor"),$w=Gt("borderTopColor"),Rw=Gt("borderRightColor"),Tw=Gt("borderBottomColor"),Iw=Gt("borderLeftColor"),Ow=Gt("outline",jt),Nw=Gt("outlineColor"),ka=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Zi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ji(t,r)});return zn(e,e.borderRadius,n)}return null};ka.propTypes={};ka.filterProps=["borderRadius"];Ca(ww,Cw,kw,bw,Ew,Pw,$w,Rw,Tw,Iw,ka,Ow,Nw);const ba=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Zi(e.theme,"spacing",8),n=r=>({gap:Ji(t,r)});return zn(e,e.gap,n)}return null};ba.propTypes={};ba.filterProps=["gap"];const Ea=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Zi(e.theme,"spacing",8),n=r=>({columnGap:Ji(t,r)});return zn(e,e.columnGap,n)}return null};Ea.propTypes={};Ea.filterProps=["columnGap"];const Pa=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Zi(e.theme,"spacing",8),n=r=>({rowGap:Ji(t,r)});return zn(e,e.rowGap,n)}return null};Pa.propTypes={};Pa.filterProps=["rowGap"];const Mw=Fe({prop:"gridColumn"}),zw=Fe({prop:"gridRow"}),Aw=Fe({prop:"gridAutoFlow"}),_w=Fe({prop:"gridAutoColumns"}),Lw=Fe({prop:"gridAutoRows"}),Fw=Fe({prop:"gridTemplateColumns"}),Bw=Fe({prop:"gridTemplateRows"}),jw=Fe({prop:"gridTemplateAreas"}),Dw=Fe({prop:"gridArea"});Ca(ba,Ea,Pa,Mw,zw,Aw,_w,Lw,Fw,Bw,jw,Dw);function co(e,t){return t==="grey"?t:e}const Ww=Fe({prop:"color",themeKey:"palette",transform:co}),Uw=Fe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:co}),Hw=Fe({prop:"backgroundColor",themeKey:"palette",transform:co});Ca(Ww,Uw,Hw);function Et(e){return e<=1&&e!==0?`${e*100}%`:e}const Vw=Fe({prop:"width",transform:Et}),rf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,s,l,a;const r=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[n])||xa[n];return r?((a=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Et(n)}};return zn(e,e.maxWidth,t)}return null};rf.filterProps=["maxWidth"];const Kw=Fe({prop:"minWidth",transform:Et}),Gw=Fe({prop:"height",transform:Et}),Qw=Fe({prop:"maxHeight",transform:Et}),Yw=Fe({prop:"minHeight",transform:Et});Fe({prop:"size",cssProperty:"width",transform:Et});Fe({prop:"size",cssProperty:"height",transform:Et});const Xw=Fe({prop:"boxSizing"});Ca(Vw,rf,Kw,Gw,Qw,Yw,Xw);const es={border:{themeKey:"borders",transform:jt},borderTop:{themeKey:"borders",transform:jt},borderRight:{themeKey:"borders",transform:jt},borderBottom:{themeKey:"borders",transform:jt},borderLeft:{themeKey:"borders",transform:jt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:jt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ka},color:{themeKey:"palette",transform:co},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:co},backgroundColor:{themeKey:"palette",transform:co},p:{style:ze},pt:{style:ze},pr:{style:ze},pb:{style:ze},pl:{style:ze},px:{style:ze},py:{style:ze},padding:{style:ze},paddingTop:{style:ze},paddingRight:{style:ze},paddingBottom:{style:ze},paddingLeft:{style:ze},paddingX:{style:ze},paddingY:{style:ze},paddingInline:{style:ze},paddingInlineStart:{style:ze},paddingInlineEnd:{style:ze},paddingBlock:{style:ze},paddingBlockStart:{style:ze},paddingBlockEnd:{style:ze},m:{style:Me},mt:{style:Me},mr:{style:Me},mb:{style:Me},ml:{style:Me},mx:{style:Me},my:{style:Me},margin:{style:Me},marginTop:{style:Me},marginRight:{style:Me},marginBottom:{style:Me},marginLeft:{style:Me},marginX:{style:Me},marginY:{style:Me},marginInline:{style:Me},marginInlineStart:{style:Me},marginInlineEnd:{style:Me},marginBlock:{style:Me},marginBlockStart:{style:Me},marginBlockEnd:{style:Me},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ba},rowGap:{style:Pa},columnGap:{style:Ea},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Et},maxWidth:{style:rf},minWidth:{transform:Et},height:{transform:Et},maxHeight:{transform:Et},minHeight:{transform:Et},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 qw(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Zw(e,t){return typeof e=="function"?e(t):e}function Jw(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:f,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const p=wa(o,u)||{};return d?d(s):zn(s,r,y=>{let S=Rl(p,f,y);return y===S&&typeof y=="string"&&(S=Rl(p,f,`${n}${y==="default"?"":Q(y)}`,y)),a===!1?S:{[a]:S}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??es;function s(l){let a=l;if(typeof l=="function")a=l(o);else if(typeof l!="object")return l;if(!a)return null;const u=pw(o.breakpoints),f=Object.keys(u);let d=u;return Object.keys(a).forEach(p=>{const v=Zw(a[p],o);if(v!=null)if(typeof v=="object")if(i[p])d=vi(d,e(p,v,o,i));else{const y=zn({theme:o},v,S=>({[p]:S}));qw(y,v)?d[p]=t({sx:v,theme:o}):d=vi(d,y)}else d=vi(d,e(p,v,o,i))}),lw(o,mw(f,d))}return Array.isArray(r)?r.map(s):s(r)}return t}const ts=Jw();ts.filterProps=["sx"];function eC(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function of(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,l=sw(n),a=H0(o);let u=ut({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:a,shape:{...dw,...i}},s);return u=cw(u),u.applyStyles=eC,u=t.reduce((f,d)=>ut(f,d),u),u.unstable_sxConfig={...es,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(d){return ts({sx:d,theme:this})},u}function tC(e){return Object.keys(e).length===0}function nC(e=null){const t=w.useContext(Zd);return!t||tC(t)?e:t}const rC=of();function sf(e=rC){return nC(e)}function oC({styles:e,themeId:t,defaultTheme:n={}}){const r=sf(n),o=typeof e=="function"?e(t&&r[t]||r):e;return I.jsx(nw,{styles:o})}const iC=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??es;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function sC(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=iC(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return mn(l)?{...r,...l}:r}:i={...r,...t},{...o,sx:i}}const im=e=>e,lC=()=>{let e=im;return{configure(t){e=t},generate(t){return e(t)},reset(){e=im}}},aC=lC();function V0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{r[o]=pe(e,o,n)}),r}var me={};/** + */function rw(e,t){return Mc(e,t)}const ow=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function mn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function W0(e){if(!mn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=W0(e[n])}),t}function ut(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return mn(e)&&mn(t)&&Object.keys(t).forEach(o=>{mn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&mn(e[o])?r[o]=ut(e[o],t[o],n):n.clone?r[o]=mn(t[o])?W0(t[o]):t[o]:r[o]=t[o]}),r}const iw=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function sw(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=iw(t),s=Object.keys(i);function l(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function a(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function u(m,v){const y=s.indexOf(v);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:v)-r/100}${n})`}function d(m){return s.indexOf(m)+1r.startsWith("@container")).sort((r,o)=>{var s,l;const i=/min-width:\s*([0-9.]+)/;return+(((s=r.match(i))==null?void 0:s[1])||0)-+(((l=o.match(i))==null?void 0:l[1])||0)});return n.length?n.reduce((r,o)=>{const i=t[o];return delete r[o],r[o]=i,r},{...t}):t}function aw(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function uw(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,i=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(i)}function cw(e){const t=(i,s)=>i.replace("@media",s?`@container ${s}`:"@container");function n(i,s){i.up=(...l)=>t(e.breakpoints.up(...l),s),i.down=(...l)=>t(e.breakpoints.down(...l),s),i.between=(...l)=>t(e.breakpoints.between(...l),s),i.only=(...l)=>t(e.breakpoints.only(...l),s),i.not=(...l)=>{const a=t(e.breakpoints.not(...l),s);return a.includes("not all and")?a.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):a}}const r={},o=i=>(n(r,i),r);return n(o),{...e,containerQueries:o}}const dw={borderRadius:4};function vi(e,t){return t?ut(e,t,{clone:!1}):e}const xa={xs:0,sm:600,md:900,lg:1200,xl:1536},rm={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${xa[e]}px)`},fw={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:xa[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function zn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||rm;return t.reduce((s,l,a)=>(s[i.up(i.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const i=r.breakpoints||rm;return Object.keys(t).reduce((s,l)=>{if(aw(i.keys,l)){const a=uw(r.containerQueries?r:fw,l);a&&(s[a]=n(t[l],l))}else if(Object.keys(i.values||xa).includes(l)){const a=i.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function pw(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function mw(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Q(e){if(typeof e!="string")throw new Error(Mn(7));return e.charAt(0).toUpperCase()+e.slice(1)}function wa(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Rl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=wa(e,n)||r,t&&(o=t(o,r,e)),o}function Fe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=wa(a,r)||{};return zn(s,l,f=>{let m=Rl(u,o,f);return f===m&&typeof f=="string"&&(m=Rl(u,o,`${t}${f==="default"?"":Q(f)}`,f)),n===!1?m:{[n]:m}})};return i.propTypes={},i.filterProps=[t],i}function hw(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const gw={m:"margin",p:"padding"},yw={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},om={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},vw=hw(e=>{if(e.length>2)if(om[e])e=om[e];else return[e];const[t,n]=e.split(""),r=gw[t],o=yw[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),ef=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],tf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...ef,...tf];function Zi(e,t,n,r){const o=wa(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?i=>typeof i=="string"?i:typeof o=="string"?`calc(${i} * ${o})`:o*i:Array.isArray(o)?i=>{if(typeof i=="string")return i;const s=Math.abs(i),l=o[s];return i>=0?l:typeof l=="number"?-l:`-${l}`}:typeof o=="function"?o:()=>{}}function nf(e){return Zi(e,"spacing",8)}function Ji(e,t){return typeof t=="string"||t==null?t:e(t)}function Sw(e,t){return n=>e.reduce((r,o)=>(r[o]=Ji(t,n),r),{})}function xw(e,t,n,r){if(!t.includes(n))return null;const o=vw(n),i=Sw(o,r),s=e[n];return zn(e,s,i)}function U0(e,t){const n=nf(e.theme);return Object.keys(e).map(r=>xw(e,t,r,n)).reduce(vi,{})}function Me(e){return U0(e,ef)}Me.propTypes={};Me.filterProps=ef;function ze(e){return U0(e,tf)}ze.propTypes={};ze.filterProps=tf;function H0(e=8,t=nf({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Ca(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?vi(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function jt(e){return typeof e!="number"?e:`${e}px solid`}function Gt(e,t){return Fe({prop:e,themeKey:"borders",transform:t})}const ww=Gt("border",jt),Cw=Gt("borderTop",jt),kw=Gt("borderRight",jt),bw=Gt("borderBottom",jt),Ew=Gt("borderLeft",jt),Pw=Gt("borderColor"),$w=Gt("borderTopColor"),Rw=Gt("borderRightColor"),Tw=Gt("borderBottomColor"),Iw=Gt("borderLeftColor"),Ow=Gt("outline",jt),Nw=Gt("outlineColor"),ka=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Zi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ji(t,r)});return zn(e,e.borderRadius,n)}return null};ka.propTypes={};ka.filterProps=["borderRadius"];Ca(ww,Cw,kw,bw,Ew,Pw,$w,Rw,Tw,Iw,ka,Ow,Nw);const ba=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Zi(e.theme,"spacing",8),n=r=>({gap:Ji(t,r)});return zn(e,e.gap,n)}return null};ba.propTypes={};ba.filterProps=["gap"];const Ea=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Zi(e.theme,"spacing",8),n=r=>({columnGap:Ji(t,r)});return zn(e,e.columnGap,n)}return null};Ea.propTypes={};Ea.filterProps=["columnGap"];const Pa=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Zi(e.theme,"spacing",8),n=r=>({rowGap:Ji(t,r)});return zn(e,e.rowGap,n)}return null};Pa.propTypes={};Pa.filterProps=["rowGap"];const Mw=Fe({prop:"gridColumn"}),zw=Fe({prop:"gridRow"}),Aw=Fe({prop:"gridAutoFlow"}),_w=Fe({prop:"gridAutoColumns"}),Lw=Fe({prop:"gridAutoRows"}),Fw=Fe({prop:"gridTemplateColumns"}),Bw=Fe({prop:"gridTemplateRows"}),jw=Fe({prop:"gridTemplateAreas"}),Dw=Fe({prop:"gridArea"});Ca(ba,Ea,Pa,Mw,zw,Aw,_w,Lw,Fw,Bw,jw,Dw);function co(e,t){return t==="grey"?t:e}const Ww=Fe({prop:"color",themeKey:"palette",transform:co}),Uw=Fe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:co}),Hw=Fe({prop:"backgroundColor",themeKey:"palette",transform:co});Ca(Ww,Uw,Hw);function Et(e){return e<=1&&e!==0?`${e*100}%`:e}const Vw=Fe({prop:"width",transform:Et}),rf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,i,s,l,a;const r=((s=(i=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:i.values)==null?void 0:s[n])||xa[n];return r?((a=(l=e.theme)==null?void 0:l.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Et(n)}};return zn(e,e.maxWidth,t)}return null};rf.filterProps=["maxWidth"];const Kw=Fe({prop:"minWidth",transform:Et}),Gw=Fe({prop:"height",transform:Et}),Qw=Fe({prop:"maxHeight",transform:Et}),Yw=Fe({prop:"minHeight",transform:Et});Fe({prop:"size",cssProperty:"width",transform:Et});Fe({prop:"size",cssProperty:"height",transform:Et});const Xw=Fe({prop:"boxSizing"});Ca(Vw,rf,Kw,Gw,Qw,Yw,Xw);const es={border:{themeKey:"borders",transform:jt},borderTop:{themeKey:"borders",transform:jt},borderRight:{themeKey:"borders",transform:jt},borderBottom:{themeKey:"borders",transform:jt},borderLeft:{themeKey:"borders",transform:jt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:jt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ka},color:{themeKey:"palette",transform:co},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:co},backgroundColor:{themeKey:"palette",transform:co},p:{style:ze},pt:{style:ze},pr:{style:ze},pb:{style:ze},pl:{style:ze},px:{style:ze},py:{style:ze},padding:{style:ze},paddingTop:{style:ze},paddingRight:{style:ze},paddingBottom:{style:ze},paddingLeft:{style:ze},paddingX:{style:ze},paddingY:{style:ze},paddingInline:{style:ze},paddingInlineStart:{style:ze},paddingInlineEnd:{style:ze},paddingBlock:{style:ze},paddingBlockStart:{style:ze},paddingBlockEnd:{style:ze},m:{style:Me},mt:{style:Me},mr:{style:Me},mb:{style:Me},ml:{style:Me},mx:{style:Me},my:{style:Me},margin:{style:Me},marginTop:{style:Me},marginRight:{style:Me},marginBottom:{style:Me},marginLeft:{style:Me},marginX:{style:Me},marginY:{style:Me},marginInline:{style:Me},marginInlineStart:{style:Me},marginInlineEnd:{style:Me},marginBlock:{style:Me},marginBlockStart:{style:Me},marginBlockEnd:{style:Me},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:ba},rowGap:{style:Pa},columnGap:{style:Ea},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Et},maxWidth:{style:rf},minWidth:{transform:Et},height:{transform:Et},maxHeight:{transform:Et},minHeight:{transform:Et},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 qw(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Zw(e,t){return typeof e=="function"?e(t):e}function Jw(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:d,style:f}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const m=wa(o,u)||{};return f?f(s):zn(s,r,y=>{let S=Rl(m,d,y);return y===S&&typeof y=="string"&&(S=Rl(m,d,`${n}${y==="default"?"":Q(y)}`,y)),a===!1?S:{[a]:S}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const i=o.unstable_sxConfig??es;function s(l){let a=l;if(typeof l=="function")a=l(o);else if(typeof l!="object")return l;if(!a)return null;const u=pw(o.breakpoints),d=Object.keys(u);let f=u;return Object.keys(a).forEach(m=>{const v=Zw(a[m],o);if(v!=null)if(typeof v=="object")if(i[m])f=vi(f,e(m,v,o,i));else{const y=zn({theme:o},v,S=>({[m]:S}));qw(y,v)?f[m]=t({sx:v,theme:o}):f=vi(f,y)}else f=vi(f,e(m,v,o,i))}),lw(o,mw(d,f))}return Array.isArray(r)?r.map(s):s(r)}return t}const ts=Jw();ts.filterProps=["sx"];function eC(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function of(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,l=sw(n),a=H0(o);let u=ut({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:a,shape:{...dw,...i}},s);return u=cw(u),u.applyStyles=eC,u=t.reduce((d,f)=>ut(d,f),u),u.unstable_sxConfig={...es,...s==null?void 0:s.unstable_sxConfig},u.unstable_sx=function(f){return ts({sx:f,theme:this})},u}function tC(e){return Object.keys(e).length===0}function nC(e=null){const t=w.useContext(Zd);return!t||tC(t)?e:t}const rC=of();function sf(e=rC){return nC(e)}function oC({styles:e,themeId:t,defaultTheme:n={}}){const r=sf(n),o=typeof e=="function"?e(t&&r[t]||r):e;return I.jsx(nw,{styles:o})}const iC=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??es;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function sC(e){const{sx:t,...n}=e,{systemProps:r,otherProps:o}=iC(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return mn(l)?{...r,...l}:r}:i={...r,...t},{...o,sx:i}}const im=e=>e,lC=()=>{let e=im;return{configure(t){e=t},generate(t){return e(t)},reset(){e=im}}},aC=lC();function V0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{r[o]=pe(e,o,n)}),r}var me={};/** * @license React * react-is.production.min.js * @@ -59,7 +59,7 @@ Error generating stack: `+i.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var lf=Symbol.for("react.element"),af=Symbol.for("react.portal"),$a=Symbol.for("react.fragment"),Ra=Symbol.for("react.strict_mode"),Ta=Symbol.for("react.profiler"),Ia=Symbol.for("react.provider"),Oa=Symbol.for("react.context"),cC=Symbol.for("react.server_context"),Na=Symbol.for("react.forward_ref"),Ma=Symbol.for("react.suspense"),za=Symbol.for("react.suspense_list"),Aa=Symbol.for("react.memo"),_a=Symbol.for("react.lazy"),dC=Symbol.for("react.offscreen"),K0;K0=Symbol.for("react.module.reference");function Qt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case lf:switch(e=e.type,e){case $a:case Ta:case Ra:case Ma:case za:return e;default:switch(e=e&&e.$$typeof,e){case cC:case Oa:case Na:case _a:case Aa:case Ia:return e;default:return t}}case af:return t}}}me.ContextConsumer=Oa;me.ContextProvider=Ia;me.Element=lf;me.ForwardRef=Na;me.Fragment=$a;me.Lazy=_a;me.Memo=Aa;me.Portal=af;me.Profiler=Ta;me.StrictMode=Ra;me.Suspense=Ma;me.SuspenseList=za;me.isAsyncMode=function(){return!1};me.isConcurrentMode=function(){return!1};me.isContextConsumer=function(e){return Qt(e)===Oa};me.isContextProvider=function(e){return Qt(e)===Ia};me.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===lf};me.isForwardRef=function(e){return Qt(e)===Na};me.isFragment=function(e){return Qt(e)===$a};me.isLazy=function(e){return Qt(e)===_a};me.isMemo=function(e){return Qt(e)===Aa};me.isPortal=function(e){return Qt(e)===af};me.isProfiler=function(e){return Qt(e)===Ta};me.isStrictMode=function(e){return Qt(e)===Ra};me.isSuspense=function(e){return Qt(e)===Ma};me.isSuspenseList=function(e){return Qt(e)===za};me.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===$a||e===Ta||e===Ra||e===Ma||e===za||e===dC||typeof e=="object"&&e!==null&&(e.$$typeof===_a||e.$$typeof===Aa||e.$$typeof===Ia||e.$$typeof===Oa||e.$$typeof===Na||e.$$typeof===K0||e.getModuleId!==void 0)};me.typeOf=Qt;const fC=of();function wu(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function zc(e,t,n){return hC(t)?n:t[e]||t}const bs=Symbol("mui.processed_props");function Es(e,t,n){if(bs in e)return e[bs];const r={...e,theme:zc(t,e.theme,n)};return e[bs]=r,r[bs]=r,r}function pC(e){return e?(t,n)=>n[e]:null}function Xs(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>Xs(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let s=i,l;e:for(let a=0;ats(Es(l,t,n));return i.__mui_systemSx=!0,(l,a={})=>{ow(l,k=>k.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:u,slot:f,skipVariantsResolver:d,skipSx:p,overridesResolver:v=pC(yC(f)),...y}=a,S=d!==void 0?d:f&&f!=="Root"&&f!=="root"||!1,E=p||!1;let m,h=wu;f==="Root"||f==="root"?h=r:f?h=o:gC(l)&&(h=void 0);const c=rw(l,{shouldForwardProp:h,label:m,...y}),x=k=>typeof k=="function"&&k.__emotion_real!==k||mn(k)?C=>Xs(k,Es(C,t,n)):k,b=(k,...C)=>{let $=x(k);const g=C?C.map(x):[];u&&v&&g.push(z=>{const F=zc(t,z.theme,n);if(!F.components||!F.components[u]||!F.components[u].styleOverrides)return null;const L=F.components[u].styleOverrides,_={},A=Es(z,t,n);for(const B in L)_[B]=Xs(L[B],A);return v(z,_)}),u&&!S&&g.push(z=>{var _,A;const F=zc(t,z.theme,n),L=(A=(_=F==null?void 0:F.components)==null?void 0:_[u])==null?void 0:A.variants;return L?Xs({variants:L},Es(z,t,n)):null}),E||g.push(i);const P=g.length-C.length;if(Array.isArray(k)&&P>0){const z=new Array(P).fill("");$=[...k,...z],$.raw=[...k.raw,...z]}const O=c($,...g);return l.muiName&&(O.muiName=l.muiName),O};return c.withConfig&&(b.withConfig=c.withConfig),b}}function hC(e){for(const t in e)return!1;return!0}function gC(e){return typeof e=="string"&&e.charCodeAt(0)>96}function yC(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ui(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)n[o]=i||{};else if(!i)n[o]=s;else{n[o]={...s};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const a=l;n[o][a]=Ui(i[a],s[a])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function vC(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Ui(t.components[n].defaultProps,r)}function SC({props:e,name:t,defaultTheme:n,themeId:r}){let o=sf(n);return r&&(o=o[r]||o),vC({theme:o,name:t,props:e})}const Pr=typeof window<"u"?w.useLayoutEffect:w.useEffect;function xC(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function uf(e,t=0,n=1){return xC(e,t,n)}function wC(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function tr(e){if(e.type)return e;if(e.charAt(0)==="#")return tr(wC(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Mn(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Mn(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const CC=e=>{const t=tr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},oi=(e,t)=>{try{return CC(e)}catch{return e}};function La(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function G0(e){e=tr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,f=(u+n/30)%12)=>o-i*Math.max(Math.min(f-3,9-f,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),La({type:l,values:a})}function Ac(e){e=tr(e);let t=e.type==="hsl"||e.type==="hsla"?tr(G0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function kC(e,t){const n=Ac(e),r=Ac(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Dt(e,t){return e=tr(e),t=uf(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,La(e)}function Ps(e,t,n){try{return Dt(e,t)}catch{return e}}function cf(e,t){if(e=tr(e),t=uf(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return La(e)}function ge(e,t,n){try{return cf(e,t)}catch{return e}}function df(e,t){if(e=tr(e),t=uf(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return La(e)}function ye(e,t,n){try{return df(e,t)}catch{return e}}function bC(e,t=.15){return Ac(e)>.5?cf(e,t):df(e,t)}function $s(e,t,n){try{return bC(e,t)}catch{return e}}function sm(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Q0(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function qs(e,t){var n,r,o;return w.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function Tt(e){return e&&e.ownerDocument||document}function $r(e){return Tt(e).defaultView||window}function _c(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let lm=0;function EC(e){const[t,n]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&(lm+=1,n(`mui-${lm}`))},[t]),r}const PC={...Iu},am=PC.useId;function Y0(e){if(am!==void 0){const t=am();return e??t}return EC(e)}function Lc({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=w.useRef(e!==void 0),[i,s]=w.useState(t),l=o?e:i,a=w.useCallback(u=>{o||s(u)},[]);return[l,a]}function no(e){const t=w.useRef(e);return Pr(()=>{t.current=e}),w.useRef((...n)=>(0,t.current)(...n)).current}function ot(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{_c(n,t)})},e)}const um={};function X0(e,t){const n=w.useRef(um);return n.current===um&&(n.current=e(t)),n}const $C=[];function RC(e){w.useEffect(e,$C)}class ff{constructor(){Fo(this,"currentId",null);Fo(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Fo(this,"disposeEffect",()=>this.clear)}static create(){return new ff}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function q0(){const e=X0(ff.create).current;return RC(e.disposeEffect),e}function cm(e){try{return e.matches(":focus-visible")}catch{}return!1}function Z0(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function ve(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let s="",l=!0;for(let a=0;ar.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function dm(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function ty(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const v=X(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),y={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},S={...n,...o,...r};return v.length>0&&(S.className=v),Object.keys(y).length>0&&(S.style=y),{props:S,internalRef:void 0}}const s=ey({...o,...r}),l=dm(r),a=dm(o),u=t(s),f=X(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},p={...u,...n,...a,...l};return f.length>0&&(p.className=f),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:u.ref}}function ny(e,t,n){return typeof e=="function"?e(t,n):e}function fm(e){var d;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:ny(n,r),{props:l,internalRef:a}=ty({...i,externalSlotProps:s}),u=ot(a,s==null?void 0:s.ref,(d=e.additionalProps)==null?void 0:d.ref);return J0(t,{...l,ref:u},r)}function ns(e){return!e||!w.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const IC=w.createContext(),OC=()=>w.useContext(IC)??!1,NC=w.createContext(void 0);function MC(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ui(o.defaultProps,r):!o.styleOverrides&&!o.variants?Ui(o,r):r}function zC({props:e,name:t}){const n=w.useContext(NC);return MC({props:e,name:t,theme:{components:n}})}function AC(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const pm=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},_C=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([l,a])=>{(!n||n&&!n([...i,l]))&&a!=null&&(typeof a=="object"&&Object.keys(a).length>0?r(a,[...i,l],Array.isArray(a)?[...s,l]:s):t([...i,l],a,s))})}r(e)},LC=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Cu(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return _C(e,(l,a,u)=>{if((typeof a=="string"||typeof a=="number")&&(!r||!r(l,a))){const f=`--${n?`${n}-`:""}${l.join("-")}`,d=LC(l,a);Object.assign(o,{[f]:d}),pm(i,l,`var(${f})`,u),pm(s,l,`var(${f}, ${d})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function FC(e,t={}){const{getSelector:n=E,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...a}=e,{vars:u,css:f,varsWithDefaults:d}=Cu(a,t);let p=d;const v={},{[l]:y,...S}=i;if(Object.entries(S||{}).forEach(([c,x])=>{const{vars:b,css:k,varsWithDefaults:C}=Cu(x,t);p=ut(p,C),v[c]={css:k,vars:b}}),y){const{css:c,vars:x,varsWithDefaults:b}=Cu(y,t);p=ut(p,b),v[l]={css:c,vars:x}}function E(c,x){var k,C;let b=o;if(o==="class"&&(b=".%s"),o==="data"&&(b="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(b=`[${o}="%s"]`),c){if(b==="media")return e.defaultColorScheme===c?":root":{[`@media (prefers-color-scheme: ${((C=(k=i[c])==null?void 0:k.palette)==null?void 0:C.mode)||c})`]:{":root":x}};if(b)return e.defaultColorScheme===c?`:root, ${b.replace("%s",String(c))}`:b.replace("%s",String(c))}return":root"}return{vars:p,generateThemeVars:()=>{let c={...u};return Object.entries(v).forEach(([,{vars:x}])=>{c=ut(c,x)}),c},generateStyleSheets:()=>{var $,g;const c=[],x=e.defaultColorScheme||"light";function b(P,O){Object.keys(O).length&&c.push(typeof P=="string"?{[P]:{...O}}:P)}b(n(void 0,{...f}),f);const{[x]:k,...C}=v;if(k){const{css:P}=k,O=(g=($=i[x])==null?void 0:$.palette)==null?void 0:g.mode,z=!r&&O?{colorScheme:O,...P}:{...P};b(n(x,{...z}),z)}return Object.entries(C).forEach(([P,{css:O}])=>{var L,_;const z=(_=(L=i[P])==null?void 0:L.palette)==null?void 0:_.mode,F=!r&&z?{colorScheme:z,...O}:{...O};b(n(P,{...F}),F)}),c}}}function BC(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const mm={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:Bi.white,default:Bi.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}},ku={text:{primary:Bi.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:Bi.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}};function hm(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=df(e.main,o):t==="dark"&&(e.dark=cf(e.main,i)))}function jC(e="light"){return e==="dark"?{main:Lr[200],light:Lr[50],dark:Lr[400]}:{main:Lr[700],light:Lr[400],dark:Lr[800]}}function DC(e="light"){return e==="dark"?{main:_r[200],light:_r[50],dark:_r[400]}:{main:_r[500],light:_r[300],dark:_r[700]}}function WC(e="light"){return e==="dark"?{main:Ar[500],light:Ar[300],dark:Ar[700]}:{main:Ar[700],light:Ar[400],dark:Ar[800]}}function UC(e="light"){return e==="dark"?{main:Fr[400],light:Fr[300],dark:Fr[700]}:{main:Fr[700],light:Fr[500],dark:Fr[900]}}function HC(e="light"){return e==="dark"?{main:Br[400],light:Br[300],dark:Br[700]}:{main:Br[800],light:Br[500],dark:Br[900]}}function VC(e="light"){return e==="dark"?{main:Qo[400],light:Qo[300],dark:Qo[700]}:{main:"#ed6c02",light:Qo[500],dark:Qo[900]}}function pf(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||jC(t),s=e.secondary||DC(t),l=e.error||WC(t),a=e.info||UC(t),u=e.success||HC(t),f=e.warning||VC(t);function d(S){return kC(S,ku.text.primary)>=n?ku.text.primary:mm.text.primary}const p=({color:S,name:E,mainShade:m=500,lightShade:h=300,darkShade:c=700})=>{if(S={...S},!S.main&&S[m]&&(S.main=S[m]),!S.hasOwnProperty("main"))throw new Error(Mn(11,E?` (${E})`:"",m));if(typeof S.main!="string")throw new Error(Mn(12,E?` (${E})`:"",JSON.stringify(S.main)));return hm(S,"light",h,r),hm(S,"dark",c,r),S.contrastText||(S.contrastText=d(S.main)),S},v={dark:ku,light:mm};return ut({common:{...Bi},mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:a,name:"info"}),success:p({color:u,name:"success"}),grey:YS,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r,...v[t]},o)}function KC(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function GC(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function QC(e){return Math.round(e*1e5)/1e5}const gm={textTransform:"uppercase"},ym='"Roboto", "Helvetica", "Arial", sans-serif';function YC(e,t){const{fontFamily:n=ym,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:a=16,allVariants:u,pxToRem:f,...d}=typeof t=="function"?t(e):t,p=r/14,v=f||(E=>`${E/a*p}rem`),y=(E,m,h,c,x)=>({fontFamily:n,fontWeight:E,fontSize:v(m),lineHeight:h,...n===ym?{letterSpacing:`${QC(c/m)}em`}:{},...x,...u}),S={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(s,14,1.75,.4,gm),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,gm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ut({htmlFontSize:a,pxToRem:v,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l,...S},d,{clone:!1})}const XC=.2,qC=.14,ZC=.12;function Re(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${XC})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${qC})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ZC})`].join(",")}const JC=["none",Re(0,2,1,-1,0,1,1,0,0,1,3,0),Re(0,3,1,-2,0,2,2,0,0,1,5,0),Re(0,3,3,-2,0,3,4,0,0,1,8,0),Re(0,2,4,-1,0,4,5,0,0,1,10,0),Re(0,3,5,-1,0,5,8,0,0,1,14,0),Re(0,3,5,-1,0,6,10,0,0,1,18,0),Re(0,4,5,-2,0,7,10,1,0,2,16,1),Re(0,5,5,-3,0,8,10,1,0,3,14,2),Re(0,5,6,-3,0,9,12,1,0,3,16,2),Re(0,6,6,-3,0,10,14,1,0,4,18,3),Re(0,6,7,-4,0,11,15,1,0,4,20,3),Re(0,7,8,-4,0,12,17,2,0,5,22,4),Re(0,7,8,-4,0,13,19,2,0,5,24,4),Re(0,7,9,-4,0,14,21,2,0,5,26,4),Re(0,8,9,-5,0,15,22,2,0,6,28,5),Re(0,8,10,-5,0,16,24,2,0,6,30,5),Re(0,8,11,-5,0,17,26,2,0,6,32,5),Re(0,9,11,-5,0,18,28,2,0,7,34,6),Re(0,9,12,-6,0,19,29,2,0,7,36,6),Re(0,10,13,-6,0,20,31,3,0,8,38,7),Re(0,10,13,-6,0,21,33,3,0,8,40,7),Re(0,10,14,-6,0,22,35,3,0,8,42,7),Re(0,11,14,-7,0,23,36,3,0,9,44,8),Re(0,11,15,-7,0,24,38,3,0,9,46,8)],ek={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)"},tk={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function vm(e){return`${Math.round(e)}ms`}function nk(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function rk(e){const t={...ek,...e.easing},n={...tk,...e.duration};return{getAutoHeightDuration:nk,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0,...u}=i;return(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof s=="string"?s:vm(s)} ${l} ${typeof a=="string"?a:vm(a)}`).join(",")},...e,easing:t,duration:n}}const ok={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Fc(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:l={},shape:a,...u}=e;if(e.vars)throw new Error(Mn(20));const f=pf(i),d=of(e);let p=ut(d,{mixins:GC(d.breakpoints,r),palette:f,shadows:JC.slice(),typography:YC(f,l),transitions:rk(s),zIndex:{...ok}});return p=ut(p,u),p=t.reduce((v,y)=>ut(v,y),p),p.unstable_sxConfig={...es,...u==null?void 0:u.unstable_sxConfig},p.unstable_sx=function(y){return ts({sx:y,theme:this})},p}function Bc(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const ik=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Bc(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function ry(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function oy(e){return e==="dark"?ik:[]}function sk(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=pf(t);return{palette:i,opacity:{...ry(i.mode),...n},overlays:r||oy(i.mode),...o}}function lk(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const ak=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],uk=e=>(t,n)=>{const r=e.colorSchemeSelector;let o=r;if(r==="class"&&(o=".%s"),r==="data"&&(o="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(o=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return ak(e.cssVarPrefix).forEach(s=>{i[s]=n[s],delete n[s]}),o==="media"?{":root":n,"@media (prefers-color-scheme: dark)":{":root":i}}:o?{[o.replace("%s",t)]:i,[`:root, ${o.replace("%s",t)}`]:n}:{":root":{...n,...i}}}if(o&&o!=="media")return`:root, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(o)return o.replace("%s",String(t))}return":root"};function ck(e){return mn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function dk(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;in[e]:null}function Xs(e,t){var r;const n=typeof e=="function"?e(t):e;if(Array.isArray(n))return n.flatMap(o=>Xs(o,t));if(Array.isArray(n==null?void 0:n.variants)){const{variants:o,...i}=n;let s=i,l;e:for(let a=0;ats(Es(l,t,n));return i.__mui_systemSx=!0,(l,a={})=>{ow(l,k=>k.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:f,skipSx:m,overridesResolver:v=pC(yC(d)),...y}=a,S=f!==void 0?f:d&&d!=="Root"&&d!=="root"||!1,E=m||!1;let p,h=wu;d==="Root"||d==="root"?h=r:d?h=o:gC(l)&&(h=void 0);const c=rw(l,{shouldForwardProp:h,label:p,...y}),x=k=>typeof k=="function"&&k.__emotion_real!==k||mn(k)?C=>Xs(k,Es(C,t,n)):k,b=(k,...C)=>{let $=x(k);const g=C?C.map(x):[];u&&v&&g.push(z=>{const F=zc(t,z.theme,n);if(!F.components||!F.components[u]||!F.components[u].styleOverrides)return null;const L=F.components[u].styleOverrides,_={},A=Es(z,t,n);for(const B in L)_[B]=Xs(L[B],A);return v(z,_)}),u&&!S&&g.push(z=>{var _,A;const F=zc(t,z.theme,n),L=(A=(_=F==null?void 0:F.components)==null?void 0:_[u])==null?void 0:A.variants;return L?Xs({variants:L},Es(z,t,n)):null}),E||g.push(i);const P=g.length-C.length;if(Array.isArray(k)&&P>0){const z=new Array(P).fill("");$=[...k,...z],$.raw=[...k.raw,...z]}const O=c($,...g);return l.muiName&&(O.muiName=l.muiName),O};return c.withConfig&&(b.withConfig=c.withConfig),b}}function hC(e){for(const t in e)return!1;return!0}function gC(e){return typeof e=="string"&&e.charCodeAt(0)>96}function yC(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ui(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)n[o]=i||{};else if(!i)n[o]=s;else{n[o]={...s};for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)){const a=l;n[o][a]=Ui(i[a],s[a])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function vC(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Ui(t.components[n].defaultProps,r)}function SC({props:e,name:t,defaultTheme:n,themeId:r}){let o=sf(n);return r&&(o=o[r]||o),vC({theme:o,name:t,props:e})}const Pr=typeof window<"u"?w.useLayoutEffect:w.useEffect;function xC(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function uf(e,t=0,n=1){return xC(e,t,n)}function wC(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function tr(e){if(e.type)return e;if(e.charAt(0)==="#")return tr(wC(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Mn(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Mn(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const CC=e=>{const t=tr(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},oi=(e,t)=>{try{return CC(e)}catch{return e}};function La(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function G0(e){e=tr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,d=(u+n/30)%12)=>o-i*Math.max(Math.min(d-3,9-d,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),La({type:l,values:a})}function Ac(e){e=tr(e);let t=e.type==="hsl"||e.type==="hsla"?tr(G0(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function kC(e,t){const n=Ac(e),r=Ac(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Dt(e,t){return e=tr(e),t=uf(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,La(e)}function Ps(e,t,n){try{return Dt(e,t)}catch{return e}}function cf(e,t){if(e=tr(e),t=uf(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return La(e)}function ge(e,t,n){try{return cf(e,t)}catch{return e}}function df(e,t){if(e=tr(e),t=uf(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return La(e)}function ye(e,t,n){try{return df(e,t)}catch{return e}}function bC(e,t=.15){return Ac(e)>.5?cf(e,t):df(e,t)}function $s(e,t,n){try{return bC(e,t)}catch{return e}}function sm(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Q0(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function qs(e,t){var n,r,o;return w.isValidElement(e)&&t.indexOf(e.type.muiName??((o=(r=(n=e.type)==null?void 0:n._payload)==null?void 0:r.value)==null?void 0:o.muiName))!==-1}function Tt(e){return e&&e.ownerDocument||document}function $r(e){return Tt(e).defaultView||window}function _c(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let lm=0;function EC(e){const[t,n]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&(lm+=1,n(`mui-${lm}`))},[t]),r}const PC={...Iu},am=PC.useId;function Y0(e){if(am!==void 0){const t=am();return e??t}return EC(e)}function Lc({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=w.useRef(e!==void 0),[i,s]=w.useState(t),l=o?e:i,a=w.useCallback(u=>{o||s(u)},[]);return[l,a]}function no(e){const t=w.useRef(e);return Pr(()=>{t.current=e}),w.useRef((...n)=>(0,t.current)(...n)).current}function ot(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{_c(n,t)})},e)}const um={};function X0(e,t){const n=w.useRef(um);return n.current===um&&(n.current=e(t)),n}const $C=[];function RC(e){w.useEffect(e,$C)}class ff{constructor(){Fo(this,"currentId",null);Fo(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Fo(this,"disposeEffect",()=>this.clear)}static create(){return new ff}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function q0(){const e=X0(ff.create).current;return RC(e.disposeEffect),e}function cm(e){try{return e.matches(":focus-visible")}catch{}return!1}function Z0(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function ve(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let s="",l=!0;for(let a=0;ar.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function dm(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function ty(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const v=X(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),y={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},S={...n,...o,...r};return v.length>0&&(S.className=v),Object.keys(y).length>0&&(S.style=y),{props:S,internalRef:void 0}}const s=ey({...o,...r}),l=dm(r),a=dm(o),u=t(s),d=X(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),f={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},m={...u,...n,...a,...l};return d.length>0&&(m.className=d),Object.keys(f).length>0&&(m.style=f),{props:m,internalRef:u.ref}}function ny(e,t,n){return typeof e=="function"?e(t,n):e}function fm(e){var f;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:ny(n,r),{props:l,internalRef:a}=ty({...i,externalSlotProps:s}),u=ot(a,s==null?void 0:s.ref,(f=e.additionalProps)==null?void 0:f.ref);return J0(t,{...l,ref:u},r)}function ns(e){return!e||!w.isValidElement(e)?null:e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref}const IC=w.createContext(),OC=()=>w.useContext(IC)??!1,NC=w.createContext(void 0);function MC(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ui(o.defaultProps,r):!o.styleOverrides&&!o.variants?Ui(o,r):r}function zC({props:e,name:t}){const n=w.useContext(NC);return MC({props:e,name:t,theme:{components:n}})}function AC(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const pm=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},_C=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([l,a])=>{(!n||n&&!n([...i,l]))&&a!=null&&(typeof a=="object"&&Object.keys(a).length>0?r(a,[...i,l],Array.isArray(a)?[...s,l]:s):t([...i,l],a,s))})}r(e)},LC=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function Cu(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return _C(e,(l,a,u)=>{if((typeof a=="string"||typeof a=="number")&&(!r||!r(l,a))){const d=`--${n?`${n}-`:""}${l.join("-")}`,f=LC(l,a);Object.assign(o,{[d]:f}),pm(i,l,`var(${d})`,u),pm(s,l,`var(${d}, ${f})`,u)}},l=>l[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function FC(e,t={}){const{getSelector:n=E,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:l="light",...a}=e,{vars:u,css:d,varsWithDefaults:f}=Cu(a,t);let m=f;const v={},{[l]:y,...S}=i;if(Object.entries(S||{}).forEach(([c,x])=>{const{vars:b,css:k,varsWithDefaults:C}=Cu(x,t);m=ut(m,C),v[c]={css:k,vars:b}}),y){const{css:c,vars:x,varsWithDefaults:b}=Cu(y,t);m=ut(m,b),v[l]={css:c,vars:x}}function E(c,x){var k,C;let b=o;if(o==="class"&&(b=".%s"),o==="data"&&(b="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(b=`[${o}="%s"]`),c){if(b==="media")return e.defaultColorScheme===c?":root":{[`@media (prefers-color-scheme: ${((C=(k=i[c])==null?void 0:k.palette)==null?void 0:C.mode)||c})`]:{":root":x}};if(b)return e.defaultColorScheme===c?`:root, ${b.replace("%s",String(c))}`:b.replace("%s",String(c))}return":root"}return{vars:m,generateThemeVars:()=>{let c={...u};return Object.entries(v).forEach(([,{vars:x}])=>{c=ut(c,x)}),c},generateStyleSheets:()=>{var $,g;const c=[],x=e.defaultColorScheme||"light";function b(P,O){Object.keys(O).length&&c.push(typeof P=="string"?{[P]:{...O}}:P)}b(n(void 0,{...d}),d);const{[x]:k,...C}=v;if(k){const{css:P}=k,O=(g=($=i[x])==null?void 0:$.palette)==null?void 0:g.mode,z=!r&&O?{colorScheme:O,...P}:{...P};b(n(x,{...z}),z)}return Object.entries(C).forEach(([P,{css:O}])=>{var L,_;const z=(_=(L=i[P])==null?void 0:L.palette)==null?void 0:_.mode,F=!r&&z?{colorScheme:z,...O}:{...O};b(n(P,{...F}),F)}),c}}}function BC(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const mm={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:Bi.white,default:Bi.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}},ku={text:{primary:Bi.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:Bi.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}};function hm(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=df(e.main,o):t==="dark"&&(e.dark=cf(e.main,i)))}function jC(e="light"){return e==="dark"?{main:Lr[200],light:Lr[50],dark:Lr[400]}:{main:Lr[700],light:Lr[400],dark:Lr[800]}}function DC(e="light"){return e==="dark"?{main:_r[200],light:_r[50],dark:_r[400]}:{main:_r[500],light:_r[300],dark:_r[700]}}function WC(e="light"){return e==="dark"?{main:Ar[500],light:Ar[300],dark:Ar[700]}:{main:Ar[700],light:Ar[400],dark:Ar[800]}}function UC(e="light"){return e==="dark"?{main:Fr[400],light:Fr[300],dark:Fr[700]}:{main:Fr[700],light:Fr[500],dark:Fr[900]}}function HC(e="light"){return e==="dark"?{main:Br[400],light:Br[300],dark:Br[700]}:{main:Br[800],light:Br[500],dark:Br[900]}}function VC(e="light"){return e==="dark"?{main:Qo[400],light:Qo[300],dark:Qo[700]}:{main:"#ed6c02",light:Qo[500],dark:Qo[900]}}function pf(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||jC(t),s=e.secondary||DC(t),l=e.error||WC(t),a=e.info||UC(t),u=e.success||HC(t),d=e.warning||VC(t);function f(S){return kC(S,ku.text.primary)>=n?ku.text.primary:mm.text.primary}const m=({color:S,name:E,mainShade:p=500,lightShade:h=300,darkShade:c=700})=>{if(S={...S},!S.main&&S[p]&&(S.main=S[p]),!S.hasOwnProperty("main"))throw new Error(Mn(11,E?` (${E})`:"",p));if(typeof S.main!="string")throw new Error(Mn(12,E?` (${E})`:"",JSON.stringify(S.main)));return hm(S,"light",h,r),hm(S,"dark",c,r),S.contrastText||(S.contrastText=f(S.main)),S},v={dark:ku,light:mm};return ut({common:{...Bi},mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:a,name:"info"}),success:m({color:u,name:"success"}),grey:YS,contrastThreshold:n,getContrastText:f,augmentColor:m,tonalOffset:r,...v[t]},o)}function KC(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function GC(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function QC(e){return Math.round(e*1e5)/1e5}const gm={textTransform:"uppercase"},ym='"Roboto", "Helvetica", "Arial", sans-serif';function YC(e,t){const{fontFamily:n=ym,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:a=16,allVariants:u,pxToRem:d,...f}=typeof t=="function"?t(e):t,m=r/14,v=d||(E=>`${E/a*m}rem`),y=(E,p,h,c,x)=>({fontFamily:n,fontWeight:E,fontSize:v(p),lineHeight:h,...n===ym?{letterSpacing:`${QC(c/p)}em`}:{},...x,...u}),S={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(s,14,1.75,.4,gm),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,gm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ut({htmlFontSize:a,pxToRem:v,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l,...S},f,{clone:!1})}const XC=.2,qC=.14,ZC=.12;function Re(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${XC})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${qC})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ZC})`].join(",")}const JC=["none",Re(0,2,1,-1,0,1,1,0,0,1,3,0),Re(0,3,1,-2,0,2,2,0,0,1,5,0),Re(0,3,3,-2,0,3,4,0,0,1,8,0),Re(0,2,4,-1,0,4,5,0,0,1,10,0),Re(0,3,5,-1,0,5,8,0,0,1,14,0),Re(0,3,5,-1,0,6,10,0,0,1,18,0),Re(0,4,5,-2,0,7,10,1,0,2,16,1),Re(0,5,5,-3,0,8,10,1,0,3,14,2),Re(0,5,6,-3,0,9,12,1,0,3,16,2),Re(0,6,6,-3,0,10,14,1,0,4,18,3),Re(0,6,7,-4,0,11,15,1,0,4,20,3),Re(0,7,8,-4,0,12,17,2,0,5,22,4),Re(0,7,8,-4,0,13,19,2,0,5,24,4),Re(0,7,9,-4,0,14,21,2,0,5,26,4),Re(0,8,9,-5,0,15,22,2,0,6,28,5),Re(0,8,10,-5,0,16,24,2,0,6,30,5),Re(0,8,11,-5,0,17,26,2,0,6,32,5),Re(0,9,11,-5,0,18,28,2,0,7,34,6),Re(0,9,12,-6,0,19,29,2,0,7,36,6),Re(0,10,13,-6,0,20,31,3,0,8,38,7),Re(0,10,13,-6,0,21,33,3,0,8,40,7),Re(0,10,14,-6,0,22,35,3,0,8,42,7),Re(0,11,14,-7,0,23,36,3,0,9,44,8),Re(0,11,15,-7,0,24,38,3,0,9,46,8)],ek={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)"},tk={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function vm(e){return`${Math.round(e)}ms`}function nk(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function rk(e){const t={...ek,...e.easing},n={...tk,...e.duration};return{getAutoHeightDuration:nk,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0,...u}=i;return(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof s=="string"?s:vm(s)} ${l} ${typeof a=="string"?a:vm(a)}`).join(",")},...e,easing:t,duration:n}}const ok={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Fc(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:l={},shape:a,...u}=e;if(e.vars)throw new Error(Mn(20));const d=pf(i),f=of(e);let m=ut(f,{mixins:GC(f.breakpoints,r),palette:d,shadows:JC.slice(),typography:YC(d,l),transitions:rk(s),zIndex:{...ok}});return m=ut(m,u),m=t.reduce((v,y)=>ut(v,y),m),m.unstable_sxConfig={...es,...u==null?void 0:u.unstable_sxConfig},m.unstable_sx=function(y){return ts({sx:y,theme:this})},m}function Bc(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const ik=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Bc(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function ry(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function oy(e){return e==="dark"?ik:[]}function sk(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=pf(t);return{palette:i,opacity:{...ry(i.mode),...n},overlays:r||oy(i.mode),...o}}function lk(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const ak=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],uk=e=>(t,n)=>{const r=e.colorSchemeSelector;let o=r;if(r==="class"&&(o=".%s"),r==="data"&&(o="[data-%s]"),r!=null&&r.startsWith("data-")&&!r.includes("%s")&&(o=`[${r}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return ak(e.cssVarPrefix).forEach(s=>{i[s]=n[s],delete n[s]}),o==="media"?{":root":n,"@media (prefers-color-scheme: dark)":{":root":i}}:o?{[o.replace("%s",t)]:i,[`:root, ${o.replace("%s",t)}`]:n}:{":root":{...n,...i}}}if(o&&o!=="media")return`:root, ${o.replace("%s",String(t))}`}else if(t){if(o==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(o)return o.replace("%s",String(t))}return":root"};function ck(e){return mn(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function dk(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i{e[n]||(e[n]={})})}function T(e,t,n){!e[t]&&n&&(e[t]=n)}function ii(e){return!e||!e.startsWith("hsl")?e:G0(e)}function Cn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=oi(ii(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color(). -To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function pk(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ln=e=>{try{return e()}catch{}},mk=(e="mui")=>AC(e);function bu(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=sk({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=Fc({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...ry(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||oy(o)},s}function hk(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=lk,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,...a}=e,u=Object.keys(n)[0],f=r||(n.light&&u!=="light"?"light":u),d=mk(i),{[f]:p,light:v,dark:y,...S}=n,E={...S};let m=p;if((f==="dark"&&!("dark"in n)||f==="light"&&!("light"in n))&&(m=!0),!m)throw new Error(Mn(21,f));const h=bu(E,m,a,f);v&&!E.light&&bu(E,v,void 0,"light"),y&&!E.dark&&bu(E,y,void 0,"dark");let c={defaultColorScheme:f,...h,cssVarPrefix:i,colorSchemeSelector:l,getCssVar:d,colorSchemes:E,font:{...KC(h.typography),...h.font},spacing:pk(a.spacing)};Object.keys(c.colorSchemes).forEach($=>{const g=c.colorSchemes[$].palette,P=O=>{const z=O.split("-"),F=z[1],L=z[2];return d(O,g[F][L])};if(g.mode==="light"&&(T(g.common,"background","#fff"),T(g.common,"onBackground","#000")),g.mode==="dark"&&(T(g.common,"background","#000"),T(g.common,"onBackground","#fff")),fk(g,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),g.mode==="light"){T(g.Alert,"errorColor",ge(g.error.light,.6)),T(g.Alert,"infoColor",ge(g.info.light,.6)),T(g.Alert,"successColor",ge(g.success.light,.6)),T(g.Alert,"warningColor",ge(g.warning.light,.6)),T(g.Alert,"errorFilledBg",P("palette-error-main")),T(g.Alert,"infoFilledBg",P("palette-info-main")),T(g.Alert,"successFilledBg",P("palette-success-main")),T(g.Alert,"warningFilledBg",P("palette-warning-main")),T(g.Alert,"errorFilledColor",ln(()=>g.getContrastText(g.error.main))),T(g.Alert,"infoFilledColor",ln(()=>g.getContrastText(g.info.main))),T(g.Alert,"successFilledColor",ln(()=>g.getContrastText(g.success.main))),T(g.Alert,"warningFilledColor",ln(()=>g.getContrastText(g.warning.main))),T(g.Alert,"errorStandardBg",ye(g.error.light,.9)),T(g.Alert,"infoStandardBg",ye(g.info.light,.9)),T(g.Alert,"successStandardBg",ye(g.success.light,.9)),T(g.Alert,"warningStandardBg",ye(g.warning.light,.9)),T(g.Alert,"errorIconColor",P("palette-error-main")),T(g.Alert,"infoIconColor",P("palette-info-main")),T(g.Alert,"successIconColor",P("palette-success-main")),T(g.Alert,"warningIconColor",P("palette-warning-main")),T(g.AppBar,"defaultBg",P("palette-grey-100")),T(g.Avatar,"defaultBg",P("palette-grey-400")),T(g.Button,"inheritContainedBg",P("palette-grey-300")),T(g.Button,"inheritContainedHoverBg",P("palette-grey-A100")),T(g.Chip,"defaultBorder",P("palette-grey-400")),T(g.Chip,"defaultAvatarColor",P("palette-grey-700")),T(g.Chip,"defaultIconColor",P("palette-grey-700")),T(g.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(g.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(g.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(g.LinearProgress,"primaryBg",ye(g.primary.main,.62)),T(g.LinearProgress,"secondaryBg",ye(g.secondary.main,.62)),T(g.LinearProgress,"errorBg",ye(g.error.main,.62)),T(g.LinearProgress,"infoBg",ye(g.info.main,.62)),T(g.LinearProgress,"successBg",ye(g.success.main,.62)),T(g.LinearProgress,"warningBg",ye(g.warning.main,.62)),T(g.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.11)`),T(g.Slider,"primaryTrack",ye(g.primary.main,.62)),T(g.Slider,"secondaryTrack",ye(g.secondary.main,.62)),T(g.Slider,"errorTrack",ye(g.error.main,.62)),T(g.Slider,"infoTrack",ye(g.info.main,.62)),T(g.Slider,"successTrack",ye(g.success.main,.62)),T(g.Slider,"warningTrack",ye(g.warning.main,.62));const O=$s(g.background.default,.8);T(g.SnackbarContent,"bg",O),T(g.SnackbarContent,"color",ln(()=>g.getContrastText(O))),T(g.SpeedDialAction,"fabHoverBg",$s(g.background.paper,.15)),T(g.StepConnector,"border",P("palette-grey-400")),T(g.StepContent,"border",P("palette-grey-400")),T(g.Switch,"defaultColor",P("palette-common-white")),T(g.Switch,"defaultDisabledColor",P("palette-grey-100")),T(g.Switch,"primaryDisabledColor",ye(g.primary.main,.62)),T(g.Switch,"secondaryDisabledColor",ye(g.secondary.main,.62)),T(g.Switch,"errorDisabledColor",ye(g.error.main,.62)),T(g.Switch,"infoDisabledColor",ye(g.info.main,.62)),T(g.Switch,"successDisabledColor",ye(g.success.main,.62)),T(g.Switch,"warningDisabledColor",ye(g.warning.main,.62)),T(g.TableCell,"border",ye(Ps(g.divider,1),.88)),T(g.Tooltip,"bg",Ps(g.grey[700],.92))}if(g.mode==="dark"){T(g.Alert,"errorColor",ye(g.error.light,.6)),T(g.Alert,"infoColor",ye(g.info.light,.6)),T(g.Alert,"successColor",ye(g.success.light,.6)),T(g.Alert,"warningColor",ye(g.warning.light,.6)),T(g.Alert,"errorFilledBg",P("palette-error-dark")),T(g.Alert,"infoFilledBg",P("palette-info-dark")),T(g.Alert,"successFilledBg",P("palette-success-dark")),T(g.Alert,"warningFilledBg",P("palette-warning-dark")),T(g.Alert,"errorFilledColor",ln(()=>g.getContrastText(g.error.dark))),T(g.Alert,"infoFilledColor",ln(()=>g.getContrastText(g.info.dark))),T(g.Alert,"successFilledColor",ln(()=>g.getContrastText(g.success.dark))),T(g.Alert,"warningFilledColor",ln(()=>g.getContrastText(g.warning.dark))),T(g.Alert,"errorStandardBg",ge(g.error.light,.9)),T(g.Alert,"infoStandardBg",ge(g.info.light,.9)),T(g.Alert,"successStandardBg",ge(g.success.light,.9)),T(g.Alert,"warningStandardBg",ge(g.warning.light,.9)),T(g.Alert,"errorIconColor",P("palette-error-main")),T(g.Alert,"infoIconColor",P("palette-info-main")),T(g.Alert,"successIconColor",P("palette-success-main")),T(g.Alert,"warningIconColor",P("palette-warning-main")),T(g.AppBar,"defaultBg",P("palette-grey-900")),T(g.AppBar,"darkBg",P("palette-background-paper")),T(g.AppBar,"darkColor",P("palette-text-primary")),T(g.Avatar,"defaultBg",P("palette-grey-600")),T(g.Button,"inheritContainedBg",P("palette-grey-800")),T(g.Button,"inheritContainedHoverBg",P("palette-grey-700")),T(g.Chip,"defaultBorder",P("palette-grey-700")),T(g.Chip,"defaultAvatarColor",P("palette-grey-300")),T(g.Chip,"defaultIconColor",P("palette-grey-300")),T(g.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(g.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(g.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(g.LinearProgress,"primaryBg",ge(g.primary.main,.5)),T(g.LinearProgress,"secondaryBg",ge(g.secondary.main,.5)),T(g.LinearProgress,"errorBg",ge(g.error.main,.5)),T(g.LinearProgress,"infoBg",ge(g.info.main,.5)),T(g.LinearProgress,"successBg",ge(g.success.main,.5)),T(g.LinearProgress,"warningBg",ge(g.warning.main,.5)),T(g.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.13)`),T(g.Slider,"primaryTrack",ge(g.primary.main,.5)),T(g.Slider,"secondaryTrack",ge(g.secondary.main,.5)),T(g.Slider,"errorTrack",ge(g.error.main,.5)),T(g.Slider,"infoTrack",ge(g.info.main,.5)),T(g.Slider,"successTrack",ge(g.success.main,.5)),T(g.Slider,"warningTrack",ge(g.warning.main,.5));const O=$s(g.background.default,.98);T(g.SnackbarContent,"bg",O),T(g.SnackbarContent,"color",ln(()=>g.getContrastText(O))),T(g.SpeedDialAction,"fabHoverBg",$s(g.background.paper,.15)),T(g.StepConnector,"border",P("palette-grey-600")),T(g.StepContent,"border",P("palette-grey-600")),T(g.Switch,"defaultColor",P("palette-grey-300")),T(g.Switch,"defaultDisabledColor",P("palette-grey-600")),T(g.Switch,"primaryDisabledColor",ge(g.primary.main,.55)),T(g.Switch,"secondaryDisabledColor",ge(g.secondary.main,.55)),T(g.Switch,"errorDisabledColor",ge(g.error.main,.55)),T(g.Switch,"infoDisabledColor",ge(g.info.main,.55)),T(g.Switch,"successDisabledColor",ge(g.success.main,.55)),T(g.Switch,"warningDisabledColor",ge(g.warning.main,.55)),T(g.TableCell,"border",ge(Ps(g.divider,1),.68)),T(g.Tooltip,"bg",Ps(g.grey[700],.92))}Cn(g.background,"default"),Cn(g.background,"paper"),Cn(g.common,"background"),Cn(g.common,"onBackground"),Cn(g,"divider"),Object.keys(g).forEach(O=>{const z=g[O];z&&typeof z=="object"&&(z.main&&T(g[O],"mainChannel",oi(ii(z.main))),z.light&&T(g[O],"lightChannel",oi(ii(z.light))),z.dark&&T(g[O],"darkChannel",oi(ii(z.dark))),z.contrastText&&T(g[O],"contrastTextChannel",oi(ii(z.contrastText))),O==="text"&&(Cn(g[O],"primary"),Cn(g[O],"secondary")),O==="action"&&(z.active&&Cn(g[O],"active"),z.selected&&Cn(g[O],"selected")))})}),c=t.reduce(($,g)=>ut($,g),c);const x={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:uk(c)},{vars:b,generateThemeVars:k,generateStyleSheets:C}=FC(c,x);return c.vars=b,Object.entries(c.colorSchemes[c.defaultColorScheme]).forEach(([$,g])=>{c[$]=g}),c.generateThemeVars=k,c.generateStyleSheets=C,c.generateSpacing=function(){return H0(a.spacing,nf(this))},c.getColorSchemeSelector=BC(l),c.spacing=c.generateSpacing(),c.shouldSkipGeneratingVar=s,c.unstable_sxConfig={...es,...a==null?void 0:a.unstable_sxConfig},c.unstable_sx=function(g){return ts({sx:g,theme:this})},c.toRuntimeSource=dk,c}function Sm(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:pf({...n===!0?{}:n.palette,mode:t})})}function gk(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...s}=e,l=i||"light",a=o==null?void 0:o[l],u={...o,...n?{[l]:{...typeof a!="boolean"&&a,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Fc(e,...t);let f=n;"palette"in e||u[l]&&(u[l]!==!0?f=u[l].palette:l==="dark"&&(f={mode:"dark"}));const d=Fc({...e,palette:f},...t);return d.defaultColorScheme=l,d.colorSchemes=u,d.palette.mode==="light"&&(d.colorSchemes.light={...u.light!==!0&&u.light,palette:d.palette},Sm(d,"dark",u.dark)),d.palette.mode==="dark"&&(d.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:d.palette},Sm(d,"light",u.light)),d}return!n&&!("light"in u)&&l==="light"&&(u.light=!0),hk({...s,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}const Fa=gk();function mf(){const e=sf(Fa);return e[sa]||e}function yk({props:e,name:t}){return SC({props:e,name:t,defaultTheme:Fa,themeId:sa})}function iy(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zt=e=>iy(e)&&e!=="classes",W=mC({themeId:sa,defaultTheme:Fa,rootShouldForwardProp:zt});function vk(e){return I.jsx(oC,{...e,defaultTheme:Fa,themeId:sa})}function Sk(e){return function(n){return I.jsx(vk,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function xk(){return sC}const xm={theme:void 0};function _e(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(xm.theme=r.theme,o=e(xm),t=o,n=r.theme),o}}function Pe(e){return zC(e)}function wk(e){return pe("MuiSvgIcon",e)}fe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ck=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Q(t)}`,`fontSize${Q(n)}`]};return ve(o,wk,r)},kk=W("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Q(n.color)}`],t[`fontSize${Q(n.fontSize)}`]]}})(_e(({theme:e})=>{var t,n,r,o,i,s,l,a,u,f,d,p,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:S=>!S.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((a=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:a.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((f=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,S])=>S&&S.main).map(([S])=>{var E,m;return{props:{color:S},style:{color:(m=(E=(e.vars??e).palette)==null?void 0:E[S])==null?void 0:m.main}}}),{props:{color:"action"},style:{color:(p=(d=(e.vars??e).palette)==null?void 0:d.action)==null?void 0:p.active}},{props:{color:"disabled"},style:{color:(y=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Tl=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:d,viewBox:p="0 0 24 24",...v}=r,y=w.isValidElement(o)&&o.type==="svg",S={...r,color:s,component:l,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:p,hasSvgAsChild:y},E={};f||(E.viewBox=p);const m=Ck(S);return I.jsxs(kk,{as:l,className:X(m.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n,...E,...v,...y&&o.props,ownerState:S,children:[y?o.props.children:o,d?I.jsx("title",{children:d}):null]})});Tl&&(Tl.muiName="SvgIcon");function No(e,t){function n(r,o){return I.jsx(Tl,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=Tl.muiName,w.memo(w.forwardRef(n))}function sy(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function jc(e,t){return jc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},jc(e,t)}function ly(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,jc(e,t)}const wm={disabled:!1},Il=ft.createContext(null);var bk=function(t){return t.scrollTop},si="unmounted",cr="exited",dr="entering",Wr="entered",Dc="exiting",Sn=function(e){ly(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,l=s&&!s.isMounting?r.enter:r.appear,a;return i.appearStatus=null,r.in?l?(a=cr,i.appearStatus=dr):a=Wr:r.unmountOnExit||r.mountOnEnter?a=si:a=cr,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===si?{status:cr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==dr&&s!==Wr&&(i=dr):(s===dr||s===Wr)&&(i=Dc)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,l;return i=s=l=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,l=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===dr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:xs.findDOMNode(this);s&&bk(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===cr&&this.setState({status:si})},n.performEnter=function(o){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:o,a=this.props.nodeRef?[l]:[xs.findDOMNode(this),l],u=a[0],f=a[1],d=this.getTimeouts(),p=l?d.appear:d.enter;if(!o&&!s||wm.disabled){this.safeSetState({status:Wr},function(){i.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:dr},function(){i.props.onEntering(u,f),i.onTransitionEnd(p,function(){i.safeSetState({status:Wr},function(){i.props.onEntered(u,f)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:xs.findDOMNode(this);if(!i||wm.disabled){this.safeSetState({status:cr},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Dc},function(){o.props.onExiting(l),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:cr},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:xs.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=a[0],f=a[1];this.props.addEndListener(u,f)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===si)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=sy(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ft.createElement(Il.Provider,{value:null},typeof s=="function"?s(o,l):ft.cloneElement(ft.Children.only(s),l))},t}(ft.Component);Sn.contextType=Il;Sn.propTypes={};function jr(){}Sn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jr,onEntering:jr,onEntered:jr,onExit:jr,onExiting:jr,onExited:jr};Sn.UNMOUNTED=si;Sn.EXITED=cr;Sn.ENTERING=dr;Sn.ENTERED=Wr;Sn.EXITING=Dc;function Ek(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hf(e,t){var n=function(i){return t&&w.isValidElement(i)?t(i):i},r=Object.create(null);return e&&w.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Pk(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,l={};for(var a in t){if(r[a])for(s=0;se.scrollTop;function Ol(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function Ok(e){return pe("MuiPaper",e)}fe("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Nk=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return ve(i,Ok,o)},Mk=W("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(_e(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),zk=w.forwardRef(function(t,n){var v;const r=Pe({props:t,name:"MuiPaper"}),o=mf(),{className:i,component:s="div",elevation:l=1,square:a=!1,variant:u="elevation",...f}=r,d={...r,component:s,elevation:l,square:a,variant:u},p=Nk(d);return I.jsx(Mk,{as:s,ownerState:d,className:X(p.root,i),ref:n,...f,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[l],...o.vars&&{"--Paper-overlay":(v=o.vars.overlays)==null?void 0:v[l]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Dt("#fff",Bc(l))}, ${Dt("#fff",Bc(l))})`}},...f.style}})});function Jt(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:l,...a}=t,{component:u,slots:f={[e]:void 0},slotProps:d={[e]:void 0},...p}=i,v=f[e]||r,y=ny(d[e],o),{props:{component:S,...E},internalRef:m}=ty({className:n,...a,externalForwardedProps:e==="root"?p:void 0,externalSlotProps:y}),h=ot(m,y==null?void 0:y.ref,t.ref),c=s?s(E):{},x={...o,...c},b=e==="root"?S||u:S,k=J0(v,{...e==="root"&&!u&&!f[e]&&l,...e!=="root"&&!f[e]&&l,...E,...b&&{as:b},ref:h},x);return Object.keys(c).forEach(C=>{delete k[C]}),[v,k]}class Nl{constructor(){Fo(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Nl}static use(){const t=X0(Nl.create).current,[n,r]=w.useState(!1);return t.shouldMount=n,t.setShouldMount=r,w.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=_k(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function Ak(){return Nl.use()}function _k(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Lk(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:l,onExited:a,timeout:u}=e,[f,d]=w.useState(!1),p=X(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},y=X(n.child,f&&n.childLeaving,r&&n.childPulsate);return!l&&!f&&d(!0),w.useEffect(()=>{if(!l&&a!=null){const S=setTimeout(a,u);return()=>{clearTimeout(S)}}},[a,l,u]),I.jsx("span",{className:p,style:v,children:I.jsx("span",{className:y})})}const Lt=fe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wc=550,Fk=80,Bk=Jd` +To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function pk(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const ln=e=>{try{return e()}catch{}},mk=(e="mui")=>AC(e);function bu(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=sk({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:i,...s}=Fc({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:i,opacity:{...ry(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||oy(o)},s}function hk(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=lk,colorSchemeSelector:l=n.light&&n.dark?"media":void 0,...a}=e,u=Object.keys(n)[0],d=r||(n.light&&u!=="light"?"light":u),f=mk(i),{[d]:m,light:v,dark:y,...S}=n,E={...S};let p=m;if((d==="dark"&&!("dark"in n)||d==="light"&&!("light"in n))&&(p=!0),!p)throw new Error(Mn(21,d));const h=bu(E,p,a,d);v&&!E.light&&bu(E,v,void 0,"light"),y&&!E.dark&&bu(E,y,void 0,"dark");let c={defaultColorScheme:d,...h,cssVarPrefix:i,colorSchemeSelector:l,getCssVar:f,colorSchemes:E,font:{...KC(h.typography),...h.font},spacing:pk(a.spacing)};Object.keys(c.colorSchemes).forEach($=>{const g=c.colorSchemes[$].palette,P=O=>{const z=O.split("-"),F=z[1],L=z[2];return f(O,g[F][L])};if(g.mode==="light"&&(T(g.common,"background","#fff"),T(g.common,"onBackground","#000")),g.mode==="dark"&&(T(g.common,"background","#000"),T(g.common,"onBackground","#fff")),fk(g,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),g.mode==="light"){T(g.Alert,"errorColor",ge(g.error.light,.6)),T(g.Alert,"infoColor",ge(g.info.light,.6)),T(g.Alert,"successColor",ge(g.success.light,.6)),T(g.Alert,"warningColor",ge(g.warning.light,.6)),T(g.Alert,"errorFilledBg",P("palette-error-main")),T(g.Alert,"infoFilledBg",P("palette-info-main")),T(g.Alert,"successFilledBg",P("palette-success-main")),T(g.Alert,"warningFilledBg",P("palette-warning-main")),T(g.Alert,"errorFilledColor",ln(()=>g.getContrastText(g.error.main))),T(g.Alert,"infoFilledColor",ln(()=>g.getContrastText(g.info.main))),T(g.Alert,"successFilledColor",ln(()=>g.getContrastText(g.success.main))),T(g.Alert,"warningFilledColor",ln(()=>g.getContrastText(g.warning.main))),T(g.Alert,"errorStandardBg",ye(g.error.light,.9)),T(g.Alert,"infoStandardBg",ye(g.info.light,.9)),T(g.Alert,"successStandardBg",ye(g.success.light,.9)),T(g.Alert,"warningStandardBg",ye(g.warning.light,.9)),T(g.Alert,"errorIconColor",P("palette-error-main")),T(g.Alert,"infoIconColor",P("palette-info-main")),T(g.Alert,"successIconColor",P("palette-success-main")),T(g.Alert,"warningIconColor",P("palette-warning-main")),T(g.AppBar,"defaultBg",P("palette-grey-100")),T(g.Avatar,"defaultBg",P("palette-grey-400")),T(g.Button,"inheritContainedBg",P("palette-grey-300")),T(g.Button,"inheritContainedHoverBg",P("palette-grey-A100")),T(g.Chip,"defaultBorder",P("palette-grey-400")),T(g.Chip,"defaultAvatarColor",P("palette-grey-700")),T(g.Chip,"defaultIconColor",P("palette-grey-700")),T(g.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),T(g.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),T(g.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),T(g.LinearProgress,"primaryBg",ye(g.primary.main,.62)),T(g.LinearProgress,"secondaryBg",ye(g.secondary.main,.62)),T(g.LinearProgress,"errorBg",ye(g.error.main,.62)),T(g.LinearProgress,"infoBg",ye(g.info.main,.62)),T(g.LinearProgress,"successBg",ye(g.success.main,.62)),T(g.LinearProgress,"warningBg",ye(g.warning.main,.62)),T(g.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.11)`),T(g.Slider,"primaryTrack",ye(g.primary.main,.62)),T(g.Slider,"secondaryTrack",ye(g.secondary.main,.62)),T(g.Slider,"errorTrack",ye(g.error.main,.62)),T(g.Slider,"infoTrack",ye(g.info.main,.62)),T(g.Slider,"successTrack",ye(g.success.main,.62)),T(g.Slider,"warningTrack",ye(g.warning.main,.62));const O=$s(g.background.default,.8);T(g.SnackbarContent,"bg",O),T(g.SnackbarContent,"color",ln(()=>g.getContrastText(O))),T(g.SpeedDialAction,"fabHoverBg",$s(g.background.paper,.15)),T(g.StepConnector,"border",P("palette-grey-400")),T(g.StepContent,"border",P("palette-grey-400")),T(g.Switch,"defaultColor",P("palette-common-white")),T(g.Switch,"defaultDisabledColor",P("palette-grey-100")),T(g.Switch,"primaryDisabledColor",ye(g.primary.main,.62)),T(g.Switch,"secondaryDisabledColor",ye(g.secondary.main,.62)),T(g.Switch,"errorDisabledColor",ye(g.error.main,.62)),T(g.Switch,"infoDisabledColor",ye(g.info.main,.62)),T(g.Switch,"successDisabledColor",ye(g.success.main,.62)),T(g.Switch,"warningDisabledColor",ye(g.warning.main,.62)),T(g.TableCell,"border",ye(Ps(g.divider,1),.88)),T(g.Tooltip,"bg",Ps(g.grey[700],.92))}if(g.mode==="dark"){T(g.Alert,"errorColor",ye(g.error.light,.6)),T(g.Alert,"infoColor",ye(g.info.light,.6)),T(g.Alert,"successColor",ye(g.success.light,.6)),T(g.Alert,"warningColor",ye(g.warning.light,.6)),T(g.Alert,"errorFilledBg",P("palette-error-dark")),T(g.Alert,"infoFilledBg",P("palette-info-dark")),T(g.Alert,"successFilledBg",P("palette-success-dark")),T(g.Alert,"warningFilledBg",P("palette-warning-dark")),T(g.Alert,"errorFilledColor",ln(()=>g.getContrastText(g.error.dark))),T(g.Alert,"infoFilledColor",ln(()=>g.getContrastText(g.info.dark))),T(g.Alert,"successFilledColor",ln(()=>g.getContrastText(g.success.dark))),T(g.Alert,"warningFilledColor",ln(()=>g.getContrastText(g.warning.dark))),T(g.Alert,"errorStandardBg",ge(g.error.light,.9)),T(g.Alert,"infoStandardBg",ge(g.info.light,.9)),T(g.Alert,"successStandardBg",ge(g.success.light,.9)),T(g.Alert,"warningStandardBg",ge(g.warning.light,.9)),T(g.Alert,"errorIconColor",P("palette-error-main")),T(g.Alert,"infoIconColor",P("palette-info-main")),T(g.Alert,"successIconColor",P("palette-success-main")),T(g.Alert,"warningIconColor",P("palette-warning-main")),T(g.AppBar,"defaultBg",P("palette-grey-900")),T(g.AppBar,"darkBg",P("palette-background-paper")),T(g.AppBar,"darkColor",P("palette-text-primary")),T(g.Avatar,"defaultBg",P("palette-grey-600")),T(g.Button,"inheritContainedBg",P("palette-grey-800")),T(g.Button,"inheritContainedHoverBg",P("palette-grey-700")),T(g.Chip,"defaultBorder",P("palette-grey-700")),T(g.Chip,"defaultAvatarColor",P("palette-grey-300")),T(g.Chip,"defaultIconColor",P("palette-grey-300")),T(g.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),T(g.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),T(g.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),T(g.LinearProgress,"primaryBg",ge(g.primary.main,.5)),T(g.LinearProgress,"secondaryBg",ge(g.secondary.main,.5)),T(g.LinearProgress,"errorBg",ge(g.error.main,.5)),T(g.LinearProgress,"infoBg",ge(g.info.main,.5)),T(g.LinearProgress,"successBg",ge(g.success.main,.5)),T(g.LinearProgress,"warningBg",ge(g.warning.main,.5)),T(g.Skeleton,"bg",`rgba(${P("palette-text-primaryChannel")} / 0.13)`),T(g.Slider,"primaryTrack",ge(g.primary.main,.5)),T(g.Slider,"secondaryTrack",ge(g.secondary.main,.5)),T(g.Slider,"errorTrack",ge(g.error.main,.5)),T(g.Slider,"infoTrack",ge(g.info.main,.5)),T(g.Slider,"successTrack",ge(g.success.main,.5)),T(g.Slider,"warningTrack",ge(g.warning.main,.5));const O=$s(g.background.default,.98);T(g.SnackbarContent,"bg",O),T(g.SnackbarContent,"color",ln(()=>g.getContrastText(O))),T(g.SpeedDialAction,"fabHoverBg",$s(g.background.paper,.15)),T(g.StepConnector,"border",P("palette-grey-600")),T(g.StepContent,"border",P("palette-grey-600")),T(g.Switch,"defaultColor",P("palette-grey-300")),T(g.Switch,"defaultDisabledColor",P("palette-grey-600")),T(g.Switch,"primaryDisabledColor",ge(g.primary.main,.55)),T(g.Switch,"secondaryDisabledColor",ge(g.secondary.main,.55)),T(g.Switch,"errorDisabledColor",ge(g.error.main,.55)),T(g.Switch,"infoDisabledColor",ge(g.info.main,.55)),T(g.Switch,"successDisabledColor",ge(g.success.main,.55)),T(g.Switch,"warningDisabledColor",ge(g.warning.main,.55)),T(g.TableCell,"border",ge(Ps(g.divider,1),.68)),T(g.Tooltip,"bg",Ps(g.grey[700],.92))}Cn(g.background,"default"),Cn(g.background,"paper"),Cn(g.common,"background"),Cn(g.common,"onBackground"),Cn(g,"divider"),Object.keys(g).forEach(O=>{const z=g[O];z&&typeof z=="object"&&(z.main&&T(g[O],"mainChannel",oi(ii(z.main))),z.light&&T(g[O],"lightChannel",oi(ii(z.light))),z.dark&&T(g[O],"darkChannel",oi(ii(z.dark))),z.contrastText&&T(g[O],"contrastTextChannel",oi(ii(z.contrastText))),O==="text"&&(Cn(g[O],"primary"),Cn(g[O],"secondary")),O==="action"&&(z.active&&Cn(g[O],"active"),z.selected&&Cn(g[O],"selected")))})}),c=t.reduce(($,g)=>ut($,g),c);const x={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:uk(c)},{vars:b,generateThemeVars:k,generateStyleSheets:C}=FC(c,x);return c.vars=b,Object.entries(c.colorSchemes[c.defaultColorScheme]).forEach(([$,g])=>{c[$]=g}),c.generateThemeVars=k,c.generateStyleSheets=C,c.generateSpacing=function(){return H0(a.spacing,nf(this))},c.getColorSchemeSelector=BC(l),c.spacing=c.generateSpacing(),c.shouldSkipGeneratingVar=s,c.unstable_sxConfig={...es,...a==null?void 0:a.unstable_sxConfig},c.unstable_sx=function(g){return ts({sx:g,theme:this})},c.toRuntimeSource=dk,c}function Sm(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:pf({...n===!0?{}:n.palette,mode:t})})}function gk(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n==null?void 0:n.mode,...s}=e,l=i||"light",a=o==null?void 0:o[l],u={...o,...n?{[l]:{...typeof a!="boolean"&&a,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Fc(e,...t);let d=n;"palette"in e||u[l]&&(u[l]!==!0?d=u[l].palette:l==="dark"&&(d={mode:"dark"}));const f=Fc({...e,palette:d},...t);return f.defaultColorScheme=l,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},Sm(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},Sm(f,"light",u.light)),f}return!n&&!("light"in u)&&l==="light"&&(u.light=!0),hk({...s,colorSchemes:u,defaultColorScheme:l,...typeof r!="boolean"&&r},...t)}const Fa=gk();function mf(){const e=sf(Fa);return e[sa]||e}function yk({props:e,name:t}){return SC({props:e,name:t,defaultTheme:Fa,themeId:sa})}function iy(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zt=e=>iy(e)&&e!=="classes",W=mC({themeId:sa,defaultTheme:Fa,rootShouldForwardProp:zt});function vk(e){return I.jsx(oC,{...e,defaultTheme:Fa,themeId:sa})}function Sk(e){return function(n){return I.jsx(vk,{styles:typeof e=="function"?r=>e({theme:r,...n}):e})}}function xk(){return sC}const xm={theme:void 0};function _e(e){let t,n;return r=>{let o=t;return(o===void 0||r.theme!==n)&&(xm.theme=r.theme,o=e(xm),t=o,n=r.theme),o}}function Pe(e){return zC(e)}function wk(e){return pe("MuiSvgIcon",e)}fe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ck=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Q(t)}`,`fontSize${Q(n)}`]};return ve(o,wk,r)},kk=W("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Q(n.color)}`],t[`fontSize${Q(n.fontSize)}`]]}})(_e(({theme:e})=>{var t,n,r,o,i,s,l,a,u,d,f,m,v,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(o=(t=e.transitions)==null?void 0:t.create)==null?void 0:o.call(t,"fill",{duration:(r=(n=(e.vars??e).transitions)==null?void 0:n.duration)==null?void 0:r.shorter}),variants:[{props:S=>!S.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((s=(i=e.typography)==null?void 0:i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((a=(l=e.typography)==null?void 0:l.pxToRem)==null?void 0:a.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((d=(u=e.typography)==null?void 0:u.pxToRem)==null?void 0:d.call(u,35))||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,S])=>S&&S.main).map(([S])=>{var E,p;return{props:{color:S},style:{color:(p=(E=(e.vars??e).palette)==null?void 0:E[S])==null?void 0:p.main}}}),{props:{color:"action"},style:{color:(m=(f=(e.vars??e).palette)==null?void 0:f.action)==null?void 0:m.active}},{props:{color:"disabled"},style:{color:(y=(v=(e.vars??e).palette)==null?void 0:v.action)==null?void 0:y.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),Tl=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:d=!1,titleAccess:f,viewBox:m="0 0 24 24",...v}=r,y=w.isValidElement(o)&&o.type==="svg",S={...r,color:s,component:l,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:d,viewBox:m,hasSvgAsChild:y},E={};d||(E.viewBox=m);const p=Ck(S);return I.jsxs(kk,{as:l,className:X(p.root,i),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...E,...v,...y&&o.props,ownerState:S,children:[y?o.props.children:o,f?I.jsx("title",{children:f}):null]})});Tl&&(Tl.muiName="SvgIcon");function No(e,t){function n(r,o){return I.jsx(Tl,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return n.muiName=Tl.muiName,w.memo(w.forwardRef(n))}function sy(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function jc(e,t){return jc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},jc(e,t)}function ly(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,jc(e,t)}const wm={disabled:!1},Il=ft.createContext(null);var bk=function(t){return t.scrollTop},si="unmounted",cr="exited",dr="entering",Wr="entered",Dc="exiting",Sn=function(e){ly(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,l=s&&!s.isMounting?r.enter:r.appear,a;return i.appearStatus=null,r.in?l?(a=cr,i.appearStatus=dr):a=Wr:r.unmountOnExit||r.mountOnEnter?a=si:a=cr,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===si?{status:cr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==dr&&s!==Wr&&(i=dr):(s===dr||s===Wr)&&(i=Dc)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,l;return i=s=l=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,l=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===dr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:xs.findDOMNode(this);s&&bk(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===cr&&this.setState({status:si})},n.performEnter=function(o){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:o,a=this.props.nodeRef?[l]:[xs.findDOMNode(this),l],u=a[0],d=a[1],f=this.getTimeouts(),m=l?f.appear:f.enter;if(!o&&!s||wm.disabled){this.safeSetState({status:Wr},function(){i.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:dr},function(){i.props.onEntering(u,d),i.onTransitionEnd(m,function(){i.safeSetState({status:Wr},function(){i.props.onEntered(u,d)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:xs.findDOMNode(this);if(!i||wm.disabled){this.safeSetState({status:cr},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Dc},function(){o.props.onExiting(l),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:cr},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:xs.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=a[0],d=a[1];this.props.addEndListener(u,d)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===si)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=sy(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ft.createElement(Il.Provider,{value:null},typeof s=="function"?s(o,l):ft.cloneElement(ft.Children.only(s),l))},t}(ft.Component);Sn.contextType=Il;Sn.propTypes={};function jr(){}Sn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:jr,onEntering:jr,onEntered:jr,onExit:jr,onExiting:jr,onExited:jr};Sn.UNMOUNTED=si;Sn.EXITED=cr;Sn.ENTERING=dr;Sn.ENTERED=Wr;Sn.EXITING=Dc;function Ek(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hf(e,t){var n=function(i){return t&&w.isValidElement(i)?t(i):i},r=Object.create(null);return e&&w.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Pk(e,t){e=e||{},t=t||{};function n(d){return d in t?t[d]:e[d]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,l={};for(var a in t){if(r[a])for(s=0;se.scrollTop;function Ol(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function Ok(e){return pe("MuiPaper",e)}fe("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Nk=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return ve(i,Ok,o)},Mk=W("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(_e(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),zk=w.forwardRef(function(t,n){var v;const r=Pe({props:t,name:"MuiPaper"}),o=mf(),{className:i,component:s="div",elevation:l=1,square:a=!1,variant:u="elevation",...d}=r,f={...r,component:s,elevation:l,square:a,variant:u},m=Nk(f);return I.jsx(Mk,{as:s,ownerState:f,className:X(m.root,i),ref:n,...d,style:{...u==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[l],...o.vars&&{"--Paper-overlay":(v=o.vars.overlays)==null?void 0:v[l]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${Dt("#fff",Bc(l))}, ${Dt("#fff",Bc(l))})`}},...d.style}})});function Jt(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:l,...a}=t,{component:u,slots:d={[e]:void 0},slotProps:f={[e]:void 0},...m}=i,v=d[e]||r,y=ny(f[e],o),{props:{component:S,...E},internalRef:p}=ty({className:n,...a,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:y}),h=ot(p,y==null?void 0:y.ref,t.ref),c=s?s(E):{},x={...o,...c},b=e==="root"?S||u:S,k=J0(v,{...e==="root"&&!u&&!d[e]&&l,...e!=="root"&&!d[e]&&l,...E,...b&&{as:b},ref:h},x);return Object.keys(c).forEach(C=>{delete k[C]}),[v,k]}class Nl{constructor(){Fo(this,"mountEffect",()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Nl}static use(){const t=X0(Nl.create).current,[n,r]=w.useState(!1);return t.shouldMount=n,t.setShouldMount=r,w.useEffect(t.mountEffect,[n]),t}mount(){return this.mounted||(this.mounted=_k(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.start(...t)})}stop(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.stop(...t)})}pulsate(...t){this.mount().then(()=>{var n;return(n=this.ref.current)==null?void 0:n.pulsate(...t)})}}function Ak(){return Nl.use()}function _k(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function Lk(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:l,onExited:a,timeout:u}=e,[d,f]=w.useState(!1),m=X(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},y=X(n.child,d&&n.childLeaving,r&&n.childPulsate);return!l&&!d&&f(!0),w.useEffect(()=>{if(!l&&a!=null){const S=setTimeout(a,u);return()=>{clearTimeout(S)}}},[a,l,u]),I.jsx("span",{className:m,style:v,children:I.jsx("span",{className:y})})}const Lt=fe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Wc=550,Fk=80,Bk=Jd` 0% { transform: scale(0); opacity: 0.1; @@ -140,8 +140,8 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann animation-iteration-count: infinite; animation-delay: 200ms; } -`,Hk=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...l}=r,[a,u]=w.useState([]),f=w.useRef(0),d=w.useRef(null);w.useEffect(()=>{d.current&&(d.current(),d.current=null)},[a]);const p=w.useRef(!1),v=q0(),y=w.useRef(null),S=w.useRef(null),E=w.useCallback(x=>{const{pulsate:b,rippleX:k,rippleY:C,rippleSize:$,cb:g}=x;u(P=>[...P,I.jsx(Uk,{classes:{ripple:X(i.ripple,Lt.ripple),rippleVisible:X(i.rippleVisible,Lt.rippleVisible),ripplePulsate:X(i.ripplePulsate,Lt.ripplePulsate),child:X(i.child,Lt.child),childLeaving:X(i.childLeaving,Lt.childLeaving),childPulsate:X(i.childPulsate,Lt.childPulsate)},timeout:Wc,pulsate:b,rippleX:k,rippleY:C,rippleSize:$},f.current)]),f.current+=1,d.current=g},[i]),m=w.useCallback((x={},b={},k=()=>{})=>{const{pulsate:C=!1,center:$=o||b.pulsate,fakeElement:g=!1}=b;if((x==null?void 0:x.type)==="mousedown"&&p.current){p.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(p.current=!0);const P=g?null:S.current,O=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let z,F,L;if($||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)z=Math.round(O.width/2),F=Math.round(O.height/2);else{const{clientX:_,clientY:A}=x.touches&&x.touches.length>0?x.touches[0]:x;z=Math.round(_-O.left),F=Math.round(A-O.top)}if($)L=Math.sqrt((2*O.width**2+O.height**2)/3),L%2===0&&(L+=1);else{const _=Math.max(Math.abs((P?P.clientWidth:0)-z),z)*2+2,A=Math.max(Math.abs((P?P.clientHeight:0)-F),F)*2+2;L=Math.sqrt(_**2+A**2)}x!=null&&x.touches?y.current===null&&(y.current=()=>{E({pulsate:C,rippleX:z,rippleY:F,rippleSize:L,cb:k})},v.start(Fk,()=>{y.current&&(y.current(),y.current=null)})):E({pulsate:C,rippleX:z,rippleY:F,rippleSize:L,cb:k})},[o,E,v]),h=w.useCallback(()=>{m({},{pulsate:!0})},[m]),c=w.useCallback((x,b)=>{if(v.clear(),(x==null?void 0:x.type)==="touchend"&&y.current){y.current(),y.current=null,v.start(0,()=>{c(x,b)});return}y.current=null,u(k=>k.length>0?k.slice(1):k),d.current=b},[v]);return w.useImperativeHandle(n,()=>({pulsate:h,start:m,stop:c}),[h,m,c]),I.jsx(Wk,{className:X(Lt.root,i.root,s),ref:S,...l,children:I.jsx(gf,{component:null,exit:!0,children:a})})});function Vk(e){return pe("MuiButtonBase",e)}const Kk=fe("MuiButtonBase",["root","disabled","focusVisible"]),Gk=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=ve({root:["root",t&&"disabled",n&&"focusVisible"]},Vk,o);return n&&r&&(s.root+=` ${r}`),s},Qk=W("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Kk.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),yf=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:f=!1,disableTouchRipple:d=!1,focusRipple:p=!1,focusVisibleClassName:v,LinkComponent:y="a",onBlur:S,onClick:E,onContextMenu:m,onDragLeave:h,onFocus:c,onFocusVisible:x,onKeyDown:b,onKeyUp:k,onMouseDown:C,onMouseLeave:$,onMouseUp:g,onTouchEnd:P,onTouchMove:O,onTouchStart:z,tabIndex:F=0,TouchRippleProps:L,touchRippleRef:_,type:A,...B}=r,R=w.useRef(null),N=Ak(),j=ot(N.ref,_),[U,G]=w.useState(!1);u&&U&&G(!1),w.useImperativeHandle(o,()=>({focusVisible:()=>{G(!0),R.current.focus()}}),[]);const q=N.shouldMount&&!f&&!u;w.useEffect(()=>{U&&p&&!f&&N.pulsate()},[f,p,U,N]);function K(H,Ze,zo=d){return no(wn=>(Ze&&Ze(wn),zo||N[H](wn),!0))}const le=K("start",C),oe=K("stop",m),xe=K("stop",h),Be=K("stop",g),ue=K("stop",H=>{U&&H.preventDefault(),$&&$(H)}),Z=K("start",z),te=K("stop",P),Y=K("stop",O),Ye=K("stop",H=>{cm(H.target)||G(!1),S&&S(H)},!1),re=no(H=>{R.current||(R.current=H.currentTarget),cm(H.target)&&(G(!0),x&&x(H)),c&&c(H)}),he=()=>{const H=R.current;return a&&a!=="button"&&!(H.tagName==="A"&&H.href)},At=no(H=>{p&&!H.repeat&&U&&H.key===" "&&N.stop(H,()=>{N.start(H)}),H.target===H.currentTarget&&he()&&H.key===" "&&H.preventDefault(),b&&b(H),H.target===H.currentTarget&&he()&&H.key==="Enter"&&!u&&(H.preventDefault(),E&&E(H))}),_t=no(H=>{p&&H.key===" "&&U&&!H.defaultPrevented&&N.stop(H,()=>{N.pulsate(H)}),k&&k(H),E&&H.target===H.currentTarget&&he()&&H.key===" "&&!H.defaultPrevented&&E(H)});let Xe=a;Xe==="button"&&(B.href||B.to)&&(Xe=y);const qe={};Xe==="button"?(qe.type=A===void 0?"button":A,qe.disabled=u):(!B.href&&!B.to&&(qe.role="button"),u&&(qe["aria-disabled"]=u));const on=ot(n,R),we={...r,centerRipple:i,component:a,disabled:u,disableRipple:f,disableTouchRipple:d,focusRipple:p,tabIndex:F,focusVisible:U},xn=Gk(we);return I.jsxs(Qk,{as:Xe,className:X(xn.root,l),ownerState:we,onBlur:Ye,onClick:E,onContextMenu:oe,onFocus:re,onKeyDown:At,onKeyUp:_t,onMouseDown:le,onMouseLeave:ue,onMouseUp:Be,onDragLeave:xe,onTouchEnd:te,onTouchMove:Y,onTouchStart:Z,ref:on,tabIndex:u?-1:F,type:A,...qe,...B,children:[s,q?I.jsx(Hk,{ref:j,center:i,...L}):null]})});function Yk(e){return typeof e.main=="string"}function Xk(e,t=[]){if(!Yk(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function vn(e=[]){return([,t])=>t&&Xk(t,e)}function qk(e){return pe("MuiIconButton",e)}const Zk=fe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Jk=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Q(r)}`,o&&`edge${Q(o)}`,`size${Q(i)}`]};return ve(s,qk,t)},eb=W(yf,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Q(n.color)}`],n.edge&&t[`edge${Q(n.edge)}`],t[`size${Q(n.size)}`]]}})(_e(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),_e(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Zk.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Cm=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:l="default",disabled:a=!1,disableFocusRipple:u=!1,disableRipple:f=!1,size:d="medium",...p}=r,v={...r,edge:o,color:l,disabled:a,disableFocusRipple:u,disableRipple:f,size:d},y=Jk(v);return I.jsx(eb,{className:X(y.root,s),centerRipple:!0,focusRipple:!u,disabled:a,disableRipple:f,ref:n,...p,ownerState:v,children:i})});function tb(e){return pe("MuiTypography",e)}const km=fe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),nb={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},rb=xk(),ob=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${Q(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return ve(l,tb,s)},ib=W("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Q(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(_e(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(vn()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${Q(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),bm={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},li=w.forwardRef(function(t,n){const{color:r,...o}=Pe({props:t,name:"MuiTypography"}),i=!nb[r],s=rb({...o,...i&&{color:r}}),{align:l="inherit",className:a,component:u,gutterBottom:f=!1,noWrap:d=!1,paragraph:p=!1,variant:v="body1",variantMapping:y=bm,...S}=s,E={...s,align:l,color:r,className:a,component:u,gutterBottom:f,noWrap:d,paragraph:p,variant:v,variantMapping:y},m=u||(p?"p":y[v]||bm[v])||"span",h=ob(E);return I.jsx(ib,{as:m,ref:n,className:X(h.root,a),...S,ownerState:E,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...S.style}})});function sb(e){return typeof e=="function"?e():e}const lb=w.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,l]=w.useState(null),a=ot(ns(r),n);if(Pr(()=>{i||l(sb(o)||document.body)},[o,i]),Pr(()=>{if(s&&!i)return _c(n,s),()=>{_c(n,null)}},[n,s,i]),i){if(w.isValidElement(r)){const u={ref:a};return w.cloneElement(r,u)}return I.jsx(w.Fragment,{children:r})}return I.jsx(w.Fragment,{children:s&&Bd.createPortal(r,s)})});function Rs(e){return parseInt(e,10)||0}const ab={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function ub(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const cb=w.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:l,...a}=t,{current:u}=w.useRef(l!=null),f=w.useRef(null),d=ot(n,f),p=w.useRef(null),v=w.useRef(null),y=w.useCallback(()=>{const m=f.current,c=$r(m).getComputedStyle(m);if(c.width==="0px")return{outerHeightStyle:0,overflowing:!1};const x=v.current;x.style.width=c.width,x.value=m.value||t.placeholder||"x",x.value.slice(-1)===` -`&&(x.value+=" ");const b=c.boxSizing,k=Rs(c.paddingBottom)+Rs(c.paddingTop),C=Rs(c.borderBottomWidth)+Rs(c.borderTopWidth),$=x.scrollHeight;x.value="x";const g=x.scrollHeight;let P=$;i&&(P=Math.max(Number(i)*g,P)),o&&(P=Math.min(Number(o)*g,P)),P=Math.max(P,g);const O=P+(b==="border-box"?k+C:0),z=Math.abs(P-$)<=1;return{outerHeightStyle:O,overflowing:z}},[o,i,t.placeholder]),S=w.useCallback(()=>{const m=y();if(ub(m))return;const h=m.outerHeightStyle,c=f.current;p.current!==h&&(p.current=h,c.style.height=`${h}px`),c.style.overflow=m.overflowing?"hidden":""},[y]);Pr(()=>{const m=()=>{S()};let h;const c=Q0(m),x=f.current,b=$r(x);b.addEventListener("resize",c);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(m),k.observe(x)),()=>{c.clear(),cancelAnimationFrame(h),b.removeEventListener("resize",c),k&&k.disconnect()}},[y,S]),Pr(()=>{S()});const E=m=>{u||S(),r&&r(m)};return I.jsxs(w.Fragment,{children:[I.jsx("textarea",{value:l,onChange:E,ref:d,rows:i,style:s,...a}),I.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:v,tabIndex:-1,style:{...ab.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function Hi(e){return typeof e=="string"}function Mo({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const vf=w.createContext(void 0);function Ir(){return w.useContext(vf)}function Em(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ml(e,t=!1){return e&&(Em(e.value)&&e.value!==""||t&&Em(e.defaultValue)&&e.defaultValue!=="")}function db(e){return e.startAdornment}function fb(e){return pe("MuiInputBase",e)}const Po=fe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Pm;const Ba=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Q(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},ja=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},pb=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:l,fullWidth:a,hiddenLabel:u,multiline:f,readOnly:d,size:p,startAdornment:v,type:y}=e,S={root:["root",`color${Q(n)}`,r&&"disabled",o&&"error",a&&"fullWidth",s&&"focused",l&&"formControl",p&&p!=="medium"&&`size${Q(p)}`,f&&"multiline",v&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",y==="search"&&"inputTypeSearch",f&&"inputMultiline",p==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",v&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return ve(S,fb,t)},Da=W("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ba})(_e(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Po.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Wa=W("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ja})(_e(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Po.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Po.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),$m=Sk({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Sf=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:s,className:l,color:a,components:u={},componentsProps:f={},defaultValue:d,disabled:p,disableInjectingGlobalStyles:v,endAdornment:y,error:S,fullWidth:E=!1,id:m,inputComponent:h="input",inputProps:c={},inputRef:x,margin:b,maxRows:k,minRows:C,multiline:$=!1,name:g,onBlur:P,onChange:O,onClick:z,onFocus:F,onKeyDown:L,onKeyUp:_,placeholder:A,readOnly:B,renderSuffix:R,rows:N,size:j,slotProps:U={},slots:G={},startAdornment:q,type:K="text",value:le,...oe}=r,xe=c.value!=null?c.value:le,{current:Be}=w.useRef(xe!=null),ue=w.useRef(),Z=w.useCallback($e=>{},[]),te=ot(ue,x,c.ref,Z),[Y,Ye]=w.useState(!1),re=Ir(),he=Mo({props:r,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});he.focused=re?re.focused:Y,w.useEffect(()=>{!re&&p&&Y&&(Ye(!1),P&&P())},[re,p,Y,P]);const At=re&&re.onFilled,_t=re&&re.onEmpty,Xe=w.useCallback($e=>{Ml($e)?At&&At():_t&&_t()},[At,_t]);Pr(()=>{Be&&Xe({value:xe})},[xe,Xe,Be]);const qe=$e=>{F&&F($e),c.onFocus&&c.onFocus($e),re&&re.onFocus?re.onFocus($e):Ye(!0)},on=$e=>{P&&P($e),c.onBlur&&c.onBlur($e),re&&re.onBlur?re.onBlur($e):Ye(!1)},we=($e,..._o)=>{if(!Be){const Lo=$e.target||ue.current;if(Lo==null)throw new Error(Mn(1));Xe({value:Lo.value})}c.onChange&&c.onChange($e,..._o),O&&O($e,..._o)};w.useEffect(()=>{Xe(ue.current)},[]);const xn=$e=>{ue.current&&$e.currentTarget===$e.target&&ue.current.focus(),z&&z($e)};let H=h,Ze=c;$&&H==="input"&&(N?Ze={type:void 0,minRows:N,maxRows:N,...Ze}:Ze={type:void 0,maxRows:k,minRows:C,...Ze},H=cb);const zo=$e=>{Xe($e.animationName==="mui-auto-fill-cancel"?ue.current:{value:"x"})};w.useEffect(()=>{re&&re.setAdornedStart(!!q)},[re,q]);const wn={...r,color:he.color||"primary",disabled:he.disabled,endAdornment:y,error:he.error,focused:he.focused,formControl:re,fullWidth:E,hiddenLabel:he.hiddenLabel,multiline:$,size:he.size,startAdornment:q,type:K},ir=pb(wn),Ao=G.root||u.Root||Da,_n=U.root||f.root||{},Or=G.input||u.Input||Wa;return Ze={...Ze,...U.input??f.input},I.jsxs(w.Fragment,{children:[!v&&typeof $m=="function"&&(Pm||(Pm=I.jsx($m,{}))),I.jsxs(Ao,{..._n,ref:n,onClick:xn,...oe,...!Hi(Ao)&&{ownerState:{...wn,..._n.ownerState}},className:X(ir.root,_n.className,l,B&&"MuiInputBase-readOnly"),children:[q,I.jsx(vf.Provider,{value:null,children:I.jsx(Or,{"aria-invalid":he.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:d,disabled:he.disabled,id:m,onAnimationStart:zo,name:g,placeholder:A,readOnly:B,required:he.required,rows:N,value:xe,onKeyDown:L,onKeyUp:_,type:K,...Ze,...!Hi(Or)&&{as:H,ownerState:{...wn,...Ze.ownerState}},ref:te,className:X(ir.input,Ze.className,B&&"MuiInputBase-readOnly"),onBlur:on,onChange:we,onFocus:qe})}),y,R?R({...he,startAdornment:q}):null]})]})});function mb(e){return pe("MuiInput",e)}const Xo={...Po,...fe("MuiInput",["root","underline","input"])};function hb(e){return pe("MuiOutlinedInput",e)}const an={...Po,...fe("MuiOutlinedInput",["root","notchedOutline","input"])};function gb(e){return pe("MuiFilledInput",e)}const lr={...Po,...fe("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},yb=No(I.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),vb={entering:{opacity:1},entered:{opacity:1}},Sb=w.forwardRef(function(t,n){const r=mf(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:a,in:u,onEnter:f,onEntered:d,onEntering:p,onExit:v,onExited:y,onExiting:S,style:E,timeout:m=o,TransitionComponent:h=Sn,...c}=t,x=w.useRef(null),b=ot(x,ns(l),n),k=L=>_=>{if(L){const A=x.current;_===void 0?L(A):L(A,_)}},C=k(p),$=k((L,_)=>{ay(L);const A=Ol({style:E,timeout:m,easing:a},{mode:"enter"});L.style.webkitTransition=r.transitions.create("opacity",A),L.style.transition=r.transitions.create("opacity",A),f&&f(L,_)}),g=k(d),P=k(S),O=k(L=>{const _=Ol({style:E,timeout:m,easing:a},{mode:"exit"});L.style.webkitTransition=r.transitions.create("opacity",_),L.style.transition=r.transitions.create("opacity",_),v&&v(L)}),z=k(y),F=L=>{i&&i(x.current,L)};return I.jsx(h,{appear:s,in:u,nodeRef:x,onEnter:$,onEntered:g,onEntering:C,onExit:O,onExited:z,onExiting:P,addEndListener:F,timeout:m,...c,children:(L,_)=>w.cloneElement(l,{style:{opacity:0,visibility:L==="exited"&&!u?"hidden":void 0,...vb[L],...E,...l.props.style},ref:b,..._})})});function xb(e){return pe("MuiBackdrop",e)}fe("MuiBackdrop",["root","invisible"]);const wb=e=>{const{ownerState:t,...n}=e;return n},Cb=e=>{const{classes:t,invisible:n}=e;return ve({root:["root",n&&"invisible"]},xb,t)},kb=W("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),bb=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:l=!1,open:a,components:u={},componentsProps:f={},slotProps:d={},slots:p={},TransitionComponent:v,transitionDuration:y,...S}=r,E={...r,component:s,invisible:l},m=Cb(E),h={transition:v,root:u.Root,...p},c={...f,...d},x={slots:h,slotProps:c},[b,k]=Jt("root",{elementType:kb,externalForwardedProps:x,className:X(m.root,i),ownerState:E}),[C,$]=Jt("transition",{elementType:Sb,externalForwardedProps:x,ownerState:E}),g=wb($);return I.jsx(C,{in:a,timeout:y,...S,...g,children:I.jsx(b,{"aria-hidden":!0,...k,classes:m,ref:n,children:o})})});function Eb(e){return pe("MuiButton",e)}const Dr=fe("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"]),Pb=w.createContext({}),$b=w.createContext(void 0),Rb=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,l={root:["root",i,`${i}${Q(t)}`,`size${Q(o)}`,`${i}Size${Q(o)}`,`color${Q(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Q(o)}`],endIcon:["icon","endIcon",`iconSize${Q(o)}`]},a=ve(l,Eb,s);return{...s,...a}},uy=[{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}}}],Tb=W(yf,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Q(n.color)}`],t[`size${Q(n.size)}`],t[`${n.variant}Size${Q(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(_e(({theme:e})=>{var r,o;const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Dr.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Dr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Dr.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Dr.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(vn(["dark","contrastText"])).map(([i])=>({props:{color:i},style:{"--variant-textColor":(e.vars||e).palette[i].main,"--variant-outlinedColor":(e.vars||e).palette[i].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[i].mainChannel} / 0.5)`:Dt(e.palette[i].main,.5),"--variant-containedColor":(e.vars||e).palette[i].contrastText,"--variant-containedBg":(e.vars||e).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[i].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette[i].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[i].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette[i].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:(o=(r=e.palette).getContrastText)==null?void 0:o.call(r,t),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Dr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Dr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),Ib=W("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Q(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...uy]}),Ob=W("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Q(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...uy]}),Nb=w.forwardRef(function(t,n){const r=w.useContext(Pb),o=w.useContext($b),i=Ui(r,t),s=Pe({props:i,name:"MuiButton"}),{children:l,color:a="primary",component:u="button",className:f,disabled:d=!1,disableElevation:p=!1,disableFocusRipple:v=!1,endIcon:y,focusVisibleClassName:S,fullWidth:E=!1,size:m="medium",startIcon:h,type:c,variant:x="text",...b}=s,k={...s,color:a,component:u,disabled:d,disableElevation:p,disableFocusRipple:v,fullWidth:E,size:m,type:c,variant:x},C=Rb(k),$=h&&I.jsx(Ib,{className:C.startIcon,ownerState:k,children:h}),g=y&&I.jsx(Ob,{className:C.endIcon,ownerState:k,children:y}),P=o||"";return I.jsxs(Tb,{ownerState:k,className:X(r.className,C.root,f,P),component:u,disabled:d,focusRipple:!v,focusVisibleClassName:X(C.focusVisible,S),ref:n,type:c,...b,classes:C,children:[$,l,g]})});function Mb(e){return pe("PrivateSwitchBase",e)}fe("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const zb=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${Q(o)}`],input:["input"]};return ve(i,Mb,t)},Ab=W(yf)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),_b=W("input",{shouldForwardProp:zt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Lb=w.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:s,defaultChecked:l,disabled:a,disableFocusRipple:u=!1,edge:f=!1,icon:d,id:p,inputProps:v,inputRef:y,name:S,onBlur:E,onChange:m,onFocus:h,readOnly:c,required:x=!1,tabIndex:b,type:k,value:C,...$}=t,[g,P]=Lc({controlled:o,default:!!l,name:"SwitchBase",state:"checked"}),O=Ir(),z=N=>{h&&h(N),O&&O.onFocus&&O.onFocus(N)},F=N=>{E&&E(N),O&&O.onBlur&&O.onBlur(N)},L=N=>{if(N.nativeEvent.defaultPrevented)return;const j=N.target.checked;P(j),m&&m(N,j)};let _=a;O&&typeof _>"u"&&(_=O.disabled);const A=k==="checkbox"||k==="radio",B={...t,checked:g,disabled:_,disableFocusRipple:u,edge:f},R=zb(B);return I.jsxs(Ab,{component:"span",className:X(R.root,s),centerRipple:!0,focusRipple:!u,disabled:_,tabIndex:null,role:void 0,onFocus:z,onBlur:F,ownerState:B,ref:n,...$,children:[I.jsx(_b,{autoFocus:r,checked:o,defaultChecked:l,className:R.input,disabled:_,id:A?p:void 0,name:S,onChange:L,readOnly:c,ref:y,required:x,ownerState:B,tabIndex:b,type:k,...k==="checkbox"&&C===void 0?{}:{value:C},...v}),g?i:d]})}),Fb=No(I.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Bb=No(I.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),jb=No(I.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Db(e){return pe("MuiCheckbox",e)}const Eu=fe("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Wb=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${Q(r)}`,`size${Q(o)}`]},s=ve(i,Db,t);return{...t,...s}},Ub=W(Lb,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Q(n.size)}`],n.color!=="default"&&t[`color${Q(n.color)}`]]}})(_e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{[`&.${Eu.checked}, &.${Eu.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Eu.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),Hb=I.jsx(Bb,{}),Vb=I.jsx(Fb,{}),Kb=I.jsx(jb,{}),Gb=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiCheckbox"}),{checkedIcon:o=Hb,color:i="primary",icon:s=Vb,indeterminate:l=!1,indeterminateIcon:a=Kb,inputProps:u,size:f="medium",disableRipple:d=!1,className:p,...v}=r,y=l?a:s,S=l?a:o,E={...r,disableRipple:d,color:i,indeterminate:l,size:f},m=Wb(E);return I.jsx(Ub,{type:"checkbox",inputProps:{"data-indeterminate":l,...u},icon:w.cloneElement(y,{fontSize:y.props.fontSize??f}),checkedIcon:w.cloneElement(S,{fontSize:S.props.fontSize??f}),ownerState:E,ref:n,className:X(m.root,p),...v,classes:m})});function Qb(e){const t=Tt(e);return t.body===e?$r(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Si(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Rm(e){return parseInt($r(e).getComputedStyle(e).paddingRight,10)||0}function Yb(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Tm(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const l=!i.includes(s),a=!Yb(s);l&&a&&Si(s,o)})}function Pu(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Xb(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Qb(r)){const s=Z0(Tt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Rm(r)+s}px`;const l=Tt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,a=>{n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${Rm(a)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Tt(r).body;else{const s=r.parentElement,l=$r(r);i=(s==null?void 0:s.nodeName)==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function qb(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Zb{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Si(t.modalRef,!1);const o=qb(n);Tm(n,t.mount,t.modalRef,o,!0);const i=Pu(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Pu(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=Xb(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Pu(this.containers,s=>s.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Si(t.modalRef,n),Tm(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Si(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Jb=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function eE(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function tE(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function nE(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||tE(e))}function rE(e){const t=[],n=[];return Array.from(e.querySelectorAll(Jb)).forEach((r,o)=>{const i=eE(r);i===-1||!nE(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function oE(){return!0}function iE(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=rE,isEnabled:s=oE,open:l}=e,a=w.useRef(!1),u=w.useRef(null),f=w.useRef(null),d=w.useRef(null),p=w.useRef(null),v=w.useRef(!1),y=w.useRef(null),S=ot(ns(t),y),E=w.useRef(null);w.useEffect(()=>{!l||!y.current||(v.current=!n)},[n,l]),w.useEffect(()=>{if(!l||!y.current)return;const c=Tt(y.current);return y.current.contains(c.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),v.current&&y.current.focus()),()=>{o||(d.current&&d.current.focus&&(a.current=!0,d.current.focus()),d.current=null)}},[l]),w.useEffect(()=>{if(!l||!y.current)return;const c=Tt(y.current),x=C=>{E.current=C,!(r||!s()||C.key!=="Tab")&&c.activeElement===y.current&&C.shiftKey&&(a.current=!0,f.current&&f.current.focus())},b=()=>{var g,P;const C=y.current;if(C===null)return;if(!c.hasFocus()||!s()||a.current){a.current=!1;return}if(C.contains(c.activeElement)||r&&c.activeElement!==u.current&&c.activeElement!==f.current)return;if(c.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!v.current)return;let $=[];if((c.activeElement===u.current||c.activeElement===f.current)&&($=i(y.current)),$.length>0){const O=!!((g=E.current)!=null&&g.shiftKey&&((P=E.current)==null?void 0:P.key)==="Tab"),z=$[0],F=$[$.length-1];typeof z!="string"&&typeof F!="string"&&(O?F.focus():z.focus())}else C.focus()};c.addEventListener("focusin",b),c.addEventListener("keydown",x,!0);const k=setInterval(()=>{c.activeElement&&c.activeElement.tagName==="BODY"&&b()},50);return()=>{clearInterval(k),c.removeEventListener("focusin",b),c.removeEventListener("keydown",x,!0)}},[n,r,o,s,l,i]);const m=c=>{d.current===null&&(d.current=c.relatedTarget),v.current=!0,p.current=c.target;const x=t.props.onFocus;x&&x(c)},h=c=>{d.current===null&&(d.current=c.relatedTarget),v.current=!0};return I.jsxs(w.Fragment,{children:[I.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),w.cloneElement(t,{ref:S,onFocus:m}),I.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:f,"data-testid":"sentinelEnd"})]})}function sE(e){return typeof e=="function"?e():e}function lE(e){return e?e.props.hasOwnProperty("in"):!1}const aE=new Zb;function uE(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=aE,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:l,children:a,onClose:u,open:f,rootRef:d}=e,p=w.useRef({}),v=w.useRef(null),y=w.useRef(null),S=ot(y,d),[E,m]=w.useState(!f),h=lE(a);let c=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(c=!1);const x=()=>Tt(v.current),b=()=>(p.current.modalRef=y.current,p.current.mount=v.current,p.current),k=()=>{o.mount(b(),{disableScrollLock:r}),y.current&&(y.current.scrollTop=0)},C=no(()=>{const A=sE(t)||x().body;o.add(b(),A),y.current&&k()}),$=w.useCallback(()=>o.isTopModal(b()),[o]),g=no(A=>{v.current=A,A&&(f&&$()?k():y.current&&Si(y.current,c))}),P=w.useCallback(()=>{o.remove(b(),c)},[c,o]);w.useEffect(()=>()=>{P()},[P]),w.useEffect(()=>{f?C():(!h||!i)&&P()},[f,P,h,i,C]);const O=A=>B=>{var R;(R=A.onKeyDown)==null||R.call(A,B),!(B.key!=="Escape"||B.which===229||!$())&&(n||(B.stopPropagation(),u&&u(B,"escapeKeyDown")))},z=A=>B=>{var R;(R=A.onClick)==null||R.call(A,B),B.target===B.currentTarget&&u&&u(B,"backdropClick")};return{getRootProps:(A={})=>{const B=ey(e);delete B.onTransitionEnter,delete B.onTransitionExited;const R={...B,...A};return{role:"presentation",...R,onKeyDown:O(R),ref:S}},getBackdropProps:(A={})=>{const B=A;return{"aria-hidden":!0,...B,onClick:z(B),open:f}},getTransitionProps:()=>{const A=()=>{m(!1),s&&s()},B=()=>{m(!0),l&&l(),i&&P()};return{onEnter:sm(A,a==null?void 0:a.props.onEnter),onExited:sm(B,a==null?void 0:a.props.onExited)}},rootRef:S,portalRef:g,isTopModal:$,exited:E,hasTransition:h}}function cE(e){return pe("MuiModal",e)}fe("MuiModal",["root","hidden","backdrop"]);const dE=e=>{const{open:t,exited:n,classes:r}=e;return ve({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},cE,r)},fE=W("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(_e(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),pE=W(bb,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),mE=w.forwardRef(function(t,n){const r=Pe({name:"MuiModal",props:t}),{BackdropComponent:o=pE,BackdropProps:i,classes:s,className:l,closeAfterTransition:a=!1,children:u,container:f,component:d,components:p={},componentsProps:v={},disableAutoFocus:y=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:E=!1,disablePortal:m=!1,disableRestoreFocus:h=!1,disableScrollLock:c=!1,hideBackdrop:x=!1,keepMounted:b=!1,onBackdropClick:k,onClose:C,onTransitionEnter:$,onTransitionExited:g,open:P,slotProps:O={},slots:z={},theme:F,...L}=r,_={...r,closeAfterTransition:a,disableAutoFocus:y,disableEnforceFocus:S,disableEscapeKeyDown:E,disablePortal:m,disableRestoreFocus:h,disableScrollLock:c,hideBackdrop:x,keepMounted:b},{getRootProps:A,getBackdropProps:B,getTransitionProps:R,portalRef:N,isTopModal:j,exited:U,hasTransition:G}=uE({..._,rootRef:n}),q={..._,exited:U},K=dE(q),le={};if(u.props.tabIndex===void 0&&(le.tabIndex="-1"),G){const{onEnter:Y,onExited:Ye}=R();le.onEnter=Y,le.onExited=Ye}const oe={...L,slots:{root:p.Root,backdrop:p.Backdrop,...z},slotProps:{...v,...O}},[xe,Be]=Jt("root",{elementType:fE,externalForwardedProps:oe,getSlotProps:A,additionalProps:{ref:n,as:d},ownerState:q,className:X(l,K==null?void 0:K.root,!q.open&&q.exited&&(K==null?void 0:K.hidden))}),[ue,Z]=Jt("backdrop",{elementType:o,externalForwardedProps:oe,additionalProps:i,getSlotProps:Y=>B({...Y,onClick:Ye=>{k&&k(Ye),Y!=null&&Y.onClick&&Y.onClick(Ye)}}),className:X(i==null?void 0:i.className,K==null?void 0:K.backdrop),ownerState:q}),te=ot(i==null?void 0:i.ref,Z.ref);return!b&&!P&&(!G||U)?null:I.jsx(lb,{ref:N,container:f,disablePortal:m,children:I.jsxs(xe,{...Be,children:[!x&&o?I.jsx(ue,{...Z,ref:te}):null,I.jsx(iE,{disableEnforceFocus:S,disableAutoFocus:y,disableRestoreFocus:h,isEnabled:j,open:P,children:w.cloneElement(u,le)})]})})}),hE=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:s,multiline:l}=e,a={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${Q(i)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},u=ve(a,gb,t);return{...t,...u}},gE=W(Da,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ba(e,t),!n.disableUnderline&&t.underline]}})(_e(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${lr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${lr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${lr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${lr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${lr.disabled}, .${lr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${lr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vn()).map(([s])=>{var l;return{props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(l=(e.vars||e).palette[s])==null?void 0:l.main}`}}}}),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:l})=>s.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),yE=W(Wa,{name:"MuiFilledInput",slot:"Input",overridesResolver:ja})(_e(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),zl=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:l=!1,hiddenLabel:a,inputComponent:u="input",multiline:f=!1,slotProps:d,slots:p={},type:v="text",...y}=r,S={...r,disableUnderline:o,fullWidth:l,inputComponent:u,multiline:f,type:v},E=hE(r),m={root:{ownerState:S},input:{ownerState:S}},h=d??s?ut(m,d??s):m,c=p.root??i.Root??gE,x=p.input??i.Input??yE;return I.jsx(Sf,{slots:{root:c,input:x},componentsProps:h,fullWidth:l,inputComponent:u,multiline:f,ref:n,type:v,...y,classes:E})});zl&&(zl.muiName="Input");function vE(e){return pe("MuiFormControl",e)}fe("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const SE=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${Q(n)}`,r&&"fullWidth"]};return ve(o,vE,t)},xE=W("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${Q(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),wE=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:l="div",disabled:a=!1,error:u=!1,focused:f,fullWidth:d=!1,hiddenLabel:p=!1,margin:v="none",required:y=!1,size:S="medium",variant:E="outlined",...m}=r,h={...r,color:s,component:l,disabled:a,error:u,fullWidth:d,hiddenLabel:p,margin:v,required:y,size:S,variant:E},c=SE(h),[x,b]=w.useState(()=>{let F=!1;return o&&w.Children.forEach(o,L=>{if(!qs(L,["Input","Select"]))return;const _=qs(L,["Select"])?L.props.input:L;_&&db(_.props)&&(F=!0)}),F}),[k,C]=w.useState(()=>{let F=!1;return o&&w.Children.forEach(o,L=>{qs(L,["Input","Select"])&&(Ml(L.props,!0)||Ml(L.props.inputProps,!0))&&(F=!0)}),F}),[$,g]=w.useState(!1);a&&$&&g(!1);const P=f!==void 0&&!a?f:$;let O;w.useRef(!1);const z=w.useMemo(()=>({adornedStart:x,setAdornedStart:b,color:s,disabled:a,error:u,filled:k,focused:P,fullWidth:d,hiddenLabel:p,size:S,onBlur:()=>{g(!1)},onEmpty:()=>{C(!1)},onFilled:()=>{C(!0)},onFocus:()=>{g(!0)},registerEffect:O,required:y,variant:E}),[x,s,a,u,k,P,d,p,O,y,S,E]);return I.jsx(vf.Provider,{value:z,children:I.jsx(xE,{as:l,ownerState:h,className:X(c.root,i),ref:n,...m,children:o})})});function CE(e){return pe("MuiFormHelperText",e)}const Im=fe("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Om;const kE=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:s,focused:l,required:a}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${Q(r)}`,n&&"contained",l&&"focused",s&&"filled",a&&"required"]};return ve(u,CE,t)},bE=W("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Q(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(_e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Im.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Im.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),EE=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:s="p",disabled:l,error:a,filled:u,focused:f,margin:d,required:p,variant:v,...y}=r,S=Ir(),E=Mo({props:r,muiFormControl:S,states:["variant","size","disabled","error","filled","focused","required"]}),m={...r,component:s,contained:E.variant==="filled"||E.variant==="outlined",variant:E.variant,size:E.size,disabled:E.disabled,error:E.error,filled:E.filled,focused:E.focused,required:E.required};delete m.ownerState;const h=kE(m);return I.jsx(bE,{as:s,className:X(h.root,i),ref:n,...y,ownerState:m,children:o===" "?Om||(Om=I.jsx("span",{className:"notranslate",children:"​"})):o})});function PE(e){return pe("MuiFormLabel",e)}const xi=fe("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),$E=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:l}=e,a={root:["root",`color${Q(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return ve(a,PE,t)},RE=W("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(_e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{[`&.${xi.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${xi.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${xi.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),TE=W("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(_e(({theme:e})=>({[`&.${xi.error}`]:{color:(e.vars||e).palette.error.main}}))),IE=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:s,component:l="label",disabled:a,error:u,filled:f,focused:d,required:p,...v}=r,y=Ir(),S=Mo({props:r,muiFormControl:y,states:["color","required","focused","disabled","error","filled"]}),E={...r,color:S.color||"primary",component:l,disabled:S.disabled,error:S.error,filled:S.filled,focused:S.focused,required:S.required},m=$E(E);return I.jsxs(RE,{as:l,ownerState:E,className:X(m.root,i),ref:n,...v,children:[o,S.required&&I.jsxs(TE,{ownerState:E,"aria-hidden":!0,className:m.asterisk,children:[" ","*"]})]})});function Uc(e){return`scale(${e}, ${e**2})`}const OE={entering:{opacity:1,transform:Uc(1)},entered:{opacity:1,transform:"none"}},$u=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Hc=w.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:l,onEnter:a,onEntered:u,onEntering:f,onExit:d,onExited:p,onExiting:v,style:y,timeout:S="auto",TransitionComponent:E=Sn,...m}=t,h=q0(),c=w.useRef(),x=mf(),b=w.useRef(null),k=ot(b,ns(i),n),C=_=>A=>{if(_){const B=b.current;A===void 0?_(B):_(B,A)}},$=C(f),g=C((_,A)=>{ay(_);const{duration:B,delay:R,easing:N}=Ol({style:y,timeout:S,easing:s},{mode:"enter"});let j;S==="auto"?(j=x.transitions.getAutoHeightDuration(_.clientHeight),c.current=j):j=B,_.style.transition=[x.transitions.create("opacity",{duration:j,delay:R}),x.transitions.create("transform",{duration:$u?j:j*.666,delay:R,easing:N})].join(","),a&&a(_,A)}),P=C(u),O=C(v),z=C(_=>{const{duration:A,delay:B,easing:R}=Ol({style:y,timeout:S,easing:s},{mode:"exit"});let N;S==="auto"?(N=x.transitions.getAutoHeightDuration(_.clientHeight),c.current=N):N=A,_.style.transition=[x.transitions.create("opacity",{duration:N,delay:B}),x.transitions.create("transform",{duration:$u?N:N*.666,delay:$u?B:B||N*.333,easing:R})].join(","),_.style.opacity=0,_.style.transform=Uc(.75),d&&d(_)}),F=C(p),L=_=>{S==="auto"&&h.start(c.current||0,_),r&&r(b.current,_)};return I.jsx(E,{appear:o,in:l,nodeRef:b,onEnter:g,onEntered:P,onEntering:$,onExit:z,onExited:F,onExiting:O,addEndListener:L,timeout:S==="auto"?null:S,...m,children:(_,A)=>w.cloneElement(i,{style:{opacity:0,transform:Uc(.75),visibility:_==="exited"&&!l?"hidden":void 0,...OE[_],...y,...i.props.style},ref:k,...A})})});Hc&&(Hc.muiSupportAuto=!0);const NE=e=>{const{classes:t,disableUnderline:n}=e,o=ve({root:["root",!n&&"underline"],input:["input"]},mb,t);return{...t,...o}},ME=W(Da,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ba(e,t),!n.disableUnderline&&t.underline]}})(_e(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Xo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Xo.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Xo.disabled}, .${Xo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Xo.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),zE=W(Wa,{name:"MuiInput",slot:"Input",overridesResolver:ja})({}),Al=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:l=!1,inputComponent:a="input",multiline:u=!1,slotProps:f,slots:d={},type:p="text",...v}=r,y=NE(r),E={root:{ownerState:{disableUnderline:o}}},m=f??s?ut(f??s,E):E,h=d.root??i.Root??ME,c=d.input??i.Input??zE;return I.jsx(Sf,{slots:{root:h,input:c},slotProps:m,fullWidth:l,inputComponent:a,multiline:u,ref:n,type:p,...v,classes:y})});Al&&(Al.muiName="Input");function AE(e){return pe("MuiInputLabel",e)}fe("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const _E=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:l}=e,a={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${Q(r)}`,s],asterisk:[l&&"asterisk"]},u=ve(a,AE,t);return{...t,...u}},LE=W(IE,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${xi.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(_e(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),FE=w.forwardRef(function(t,n){const r=Pe({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:s,variant:l,className:a,...u}=r,f=Ir();let d=s;typeof d>"u"&&f&&(d=f.filled||f.focused||f.adornedStart);const p=Mo({props:r,muiFormControl:f,states:["size","variant","required","focused"]}),v={...r,disableAnimation:o,formControl:f,shrink:d,size:p.size,variant:p.variant,required:p.required,focused:p.focused},y=_E(v);return I.jsx(LE,{"data-shrink":d,ref:n,className:X(y.root,a),...u,ownerState:v,classes:y})}),fo=w.createContext({});function BE(e){return pe("MuiList",e)}fe("MuiList",["root","padding","dense","subheader"]);const jE=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ve({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},BE,t)},DE=W("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),cy=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:l=!1,disablePadding:a=!1,subheader:u,...f}=r,d=w.useMemo(()=>({dense:l}),[l]),p={...r,component:s,dense:l,disablePadding:a},v=jE(p);return I.jsx(fo.Provider,{value:d,children:I.jsxs(DE,{as:s,className:X(v.root,i),ref:n,ownerState:p,...f,children:[u,o]})})});function WE(e){return pe("MuiListItem",e)}fe("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const UE=fe("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function HE(e){return pe("MuiListItemSecondaryAction",e)}fe("MuiListItemSecondaryAction",["root","disableGutters"]);const VE=e=>{const{disableGutters:t,classes:n}=e;return ve({root:["root",t&&"disableGutters"]},HE,n)},KE=W("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),xf=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiListItemSecondaryAction"}),{className:o,...i}=r,s=w.useContext(fo),l={...r,disableGutters:s.disableGutters},a=VE(l);return I.jsx(KE,{className:X(a.root,o),ownerState:l,ref:n,...i})});xf.muiName="ListItemSecondaryAction";const GE=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},QE=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:o,disablePadding:i,divider:s,hasSecondaryAction:l}=e;return ve({root:["root",r&&"dense",!o&&"gutters",!i&&"padding",s&&"divider",t==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"]},WE,n)},YE=W("div",{name:"MuiListItem",slot:"Root",overridesResolver:GE})(_e(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${UE.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),XE=W("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),qE=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiListItem"}),{alignItems:o="center",children:i,className:s,component:l,components:a={},componentsProps:u={},ContainerComponent:f="li",ContainerProps:{className:d,...p}={},dense:v=!1,disableGutters:y=!1,disablePadding:S=!1,divider:E=!1,secondaryAction:m,slotProps:h={},slots:c={},...x}=r,b=w.useContext(fo),k=w.useMemo(()=>({dense:v||b.dense||!1,alignItems:o,disableGutters:y}),[o,b.dense,v,y]),C=w.useRef(null),$=w.Children.toArray(i),g=$.length&&qs($[$.length-1],["ListItemSecondaryAction"]),P={...r,alignItems:o,dense:k.dense,disableGutters:y,disablePadding:S,divider:E,hasSecondaryAction:g},O=QE(P),z=ot(C,n),F=c.root||a.Root||YE,L=h.root||u.root||{},_={className:X(O.root,L.className,s),...x};let A=l||"li";return g?(A=!_.component&&!l?"div":A,f==="li"&&(A==="li"?A="div":_.component==="li"&&(_.component="div")),I.jsx(fo.Provider,{value:k,children:I.jsxs(XE,{as:f,className:X(O.container,d),ref:z,ownerState:P,...p,children:[I.jsx(F,{...L,...!Hi(F)&&{as:A,ownerState:{...P,...L.ownerState}},..._,children:$}),$.pop()]})})):I.jsx(fo.Provider,{value:k,children:I.jsxs(F,{...L,as:A,ref:z,...!Hi(F)&&{ownerState:{...P,...L.ownerState}},..._,children:[$,m&&I.jsx(xf,{children:m})]})})});function ZE(e){return pe("MuiListItemText",e)}const Ts=fe("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),JE=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return ve({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},ZE,t)},e2=W("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ts.primary}`]:t.primary},{[`& .${Ts.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${km.root}:where(& .${Ts.primary})`]:{display:"block"},[`.${km.root}:where(& .${Ts.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),t2=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:s=!1,inset:l=!1,primary:a,primaryTypographyProps:u,secondary:f,secondaryTypographyProps:d,...p}=r,{dense:v}=w.useContext(fo);let y=a??o,S=f;const E={...r,disableTypography:s,inset:l,primary:!!y,secondary:!!S,dense:v},m=JE(E);return y!=null&&y.type!==li&&!s&&(y=I.jsx(li,{variant:v?"body2":"body1",className:m.primary,component:u!=null&&u.variant?void 0:"span",...u,children:y})),S!=null&&S.type!==li&&!s&&(S=I.jsx(li,{variant:"body2",className:m.secondary,color:"textSecondary",...d,children:S})),I.jsxs(e2,{className:X(m.root,i),ownerState:E,ref:n,...p,children:[y,S]})});function Ru(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Nm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function dy(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function qo(e,t,n,r,o,i){let s=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const a=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!dy(l,i)||a)l=o(e,l,n);else return l.focus(),!0}return!1}const n2=w.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:l,disabledItemsFocusable:a=!1,disableListWrap:u=!1,onKeyDown:f,variant:d="selectedMenu",...p}=t,v=w.useRef(null),y=w.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Pr(()=>{o&&v.current.focus()},[o]),w.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(c,{direction:x})=>{const b=!v.current.style.width;if(c.clientHeight{const x=v.current,b=c.key;if(c.ctrlKey||c.metaKey||c.altKey){f&&f(c);return}const C=Tt(x).activeElement;if(b==="ArrowDown")c.preventDefault(),qo(x,C,u,a,Ru);else if(b==="ArrowUp")c.preventDefault(),qo(x,C,u,a,Nm);else if(b==="Home")c.preventDefault(),qo(x,null,u,a,Ru);else if(b==="End")c.preventDefault(),qo(x,null,u,a,Nm);else if(b.length===1){const $=y.current,g=b.toLowerCase(),P=performance.now();$.keys.length>0&&(P-$.lastTime>500?($.keys=[],$.repeating=!0,$.previousKeyMatched=!0):$.repeating&&g!==$.keys[0]&&($.repeating=!1)),$.lastTime=P,$.keys.push(g);const O=C&&!$.repeating&&dy(C,$);$.previousKeyMatched&&(O||qo(x,C,!1,a,Ru,$))?c.preventDefault():$.previousKeyMatched=!1}f&&f(c)},E=ot(v,n);let m=-1;w.Children.forEach(s,(c,x)=>{if(!w.isValidElement(c)){m===x&&(m+=1,m>=s.length&&(m=-1));return}c.props.disabled||(d==="selectedMenu"&&c.props.selected||m===-1)&&(m=x),m===x&&(c.props.disabled||c.props.muiSkipListHighlight||c.type.muiSkipListHighlight)&&(m+=1,m>=s.length&&(m=-1))});const h=w.Children.map(s,(c,x)=>{if(x===m){const b={};return i&&(b.autoFocus=!0),c.props.tabIndex===void 0&&d==="selectedMenu"&&(b.tabIndex=0),w.cloneElement(c,b)}return c});return I.jsx(cy,{role:"menu",ref:E,className:l,onKeyDown:S,tabIndex:o?0:-1,...p,children:h})});function r2(e){return pe("MuiPopover",e)}fe("MuiPopover",["root","paper"]);function Mm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function zm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Am(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Tu(e){return typeof e=="function"?e():e}const o2=e=>{const{classes:t}=e;return ve({root:["root"],paper:["paper"]},r2,t)},i2=W(mE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),fy=W(zk,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),s2=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:a="anchorEl",children:u,className:f,container:d,elevation:p=8,marginThreshold:v=16,open:y,PaperProps:S={},slots:E={},slotProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:c=Hc,transitionDuration:x="auto",TransitionProps:{onEntering:b,...k}={},disableScrollLock:C=!1,...$}=r,g=(m==null?void 0:m.paper)??S,P=w.useRef(),O={...r,anchorOrigin:s,anchorReference:a,elevation:p,marginThreshold:v,externalPaperSlotProps:g,transformOrigin:h,TransitionComponent:c,transitionDuration:x,TransitionProps:k},z=o2(O),F=w.useCallback(()=>{if(a==="anchorPosition")return l;const Z=Tu(i),Y=(Z&&Z.nodeType===1?Z:Tt(P.current).body).getBoundingClientRect();return{top:Y.top+Mm(Y,s.vertical),left:Y.left+zm(Y,s.horizontal)}},[i,s.horizontal,s.vertical,l,a]),L=w.useCallback(Z=>({vertical:Mm(Z,h.vertical),horizontal:zm(Z,h.horizontal)}),[h.horizontal,h.vertical]),_=w.useCallback(Z=>{const te={width:Z.offsetWidth,height:Z.offsetHeight},Y=L(te);if(a==="none")return{top:null,left:null,transformOrigin:Am(Y)};const Ye=F();let re=Ye.top-Y.vertical,he=Ye.left-Y.horizontal;const At=re+te.height,_t=he+te.width,Xe=$r(Tu(i)),qe=Xe.innerHeight-v,on=Xe.innerWidth-v;if(v!==null&&reqe){const we=At-qe;re-=we,Y.vertical+=we}if(v!==null&&heon){const we=_t-on;he-=we,Y.horizontal+=we}return{top:`${Math.round(re)}px`,left:`${Math.round(he)}px`,transformOrigin:Am(Y)}},[i,a,F,L,v]),[A,B]=w.useState(y),R=w.useCallback(()=>{const Z=P.current;if(!Z)return;const te=_(Z);te.top!==null&&Z.style.setProperty("top",te.top),te.left!==null&&(Z.style.left=te.left),Z.style.transformOrigin=te.transformOrigin,B(!0)},[_]);w.useEffect(()=>(C&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[i,C,R]);const N=(Z,te)=>{b&&b(Z,te),R()},j=()=>{B(!1)};w.useEffect(()=>{y&&R()}),w.useImperativeHandle(o,()=>y?{updatePosition:()=>{R()}}:null,[y,R]),w.useEffect(()=>{if(!y)return;const Z=Q0(()=>{R()}),te=$r(i);return te.addEventListener("resize",Z),()=>{Z.clear(),te.removeEventListener("resize",Z)}},[i,y,R]);let U=x;x==="auto"&&!c.muiSupportAuto&&(U=void 0);const G=d||(i?Tt(Tu(i)).body:void 0),q={slots:E,slotProps:{...m,paper:g}},[K,le]=Jt("paper",{elementType:fy,externalForwardedProps:q,additionalProps:{elevation:p,className:X(z.paper,g==null?void 0:g.className),style:A?g.style:{...g.style,opacity:0}},ownerState:O}),[oe,{slotProps:xe,...Be}]=Jt("root",{elementType:i2,externalForwardedProps:q,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:G,open:y},ownerState:O,className:X(z.root,f)}),ue=ot(P,le.ref);return I.jsx(oe,{...Be,...!Hi(oe)&&{slotProps:xe,disableScrollLock:C},...$,ref:n,children:I.jsx(c,{appear:!0,in:y,onEntering:N,onExited:j,timeout:U,...k,children:I.jsx(K,{...le,ref:ue,children:u})})})});function l2(e){return pe("MuiMenu",e)}fe("MuiMenu",["root","paper","list"]);const a2={vertical:"top",horizontal:"right"},u2={vertical:"top",horizontal:"left"},c2=e=>{const{classes:t}=e;return ve({root:["root"],paper:["paper"],list:["list"]},l2,t)},d2=W(s2,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),f2=W(fy,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),p2=W(n2,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),m2=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:a={},onClose:u,open:f,PaperProps:d={},PopoverClasses:p,transitionDuration:v="auto",TransitionProps:{onEntering:y,...S}={},variant:E="selectedMenu",slots:m={},slotProps:h={},...c}=r,x=OC(),b={...r,autoFocus:o,disableAutoFocusItem:l,MenuListProps:a,onEntering:y,PaperProps:d,transitionDuration:v,TransitionProps:S,variant:E},k=c2(b),C=o&&!l&&f,$=w.useRef(null),g=(A,B)=>{$.current&&$.current.adjustStyleForScrollbar(A,{direction:x?"rtl":"ltr"}),y&&y(A,B)},P=A=>{A.key==="Tab"&&(A.preventDefault(),u&&u(A,"tabKeyDown"))};let O=-1;w.Children.map(i,(A,B)=>{w.isValidElement(A)&&(A.props.disabled||(E==="selectedMenu"&&A.props.selected||O===-1)&&(O=B))});const z=m.paper??f2,F=h.paper??d,L=fm({elementType:m.root,externalSlotProps:h.root,ownerState:b,className:[k.root,s]}),_=fm({elementType:z,externalSlotProps:F,ownerState:b,className:k.paper});return I.jsx(d2,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?a2:u2,slots:{paper:z,root:m.root},slotProps:{root:L,paper:_},open:f,ref:n,transitionDuration:v,TransitionProps:{onEntering:g,...S},ownerState:b,...c,classes:p,children:I.jsx(p2,{onKeyDown:P,actions:$,autoFocus:o&&(O===-1||l),autoFocusItem:C,variant:E,...a,className:X(k.list,a.className),children:i})})});function h2(e){return pe("MuiNativeSelect",e)}const wf=fe("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),g2=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${Q(n)}`,i&&"iconOpen",r&&"disabled"]};return ve(l,h2,t)},py=W("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${wf.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),y2=W(py,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:zt,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${wf.multiple}`]:t.multiple}]}})({}),my=W("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${wf.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),v2=W(my,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Q(n.variant)}`],n.open&&t.iconOpen]}})({}),S2=w.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:l,variant:a="standard",...u}=t,f={...t,disabled:o,variant:a,error:i},d=g2(f);return I.jsxs(w.Fragment,{children:[I.jsx(y2,{ownerState:f,className:X(d.select,r),disabled:o,ref:l||n,...u}),t.multiple?null:I.jsx(v2,{as:s,ownerState:f,className:d.icon})]})});var _m;const x2=W("fieldset",{shouldForwardProp:zt})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),w2=W("legend",{shouldForwardProp:zt})(_e(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function C2(e){const{children:t,classes:n,className:r,label:o,notched:i,...s}=e,l=o!=null&&o!=="",a={...e,notched:i,withLabel:l};return I.jsx(x2,{"aria-hidden":!0,className:r,ownerState:a,...s,children:I.jsx(w2,{ownerState:a,children:l?I.jsx("span",{children:o}):_m||(_m=I.jsx("span",{className:"notranslate",children:"​"}))})})}const k2=e=>{const{classes:t}=e,r=ve({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},hb,t);return{...t,...r}},b2=W(Da,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ba})(_e(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${an.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${an.focused} .${an.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(vn()).map(([n])=>({props:{color:n},style:{[`&.${an.focused} .${an.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${an.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${an.error} .${an.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${an.disabled} .${an.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),E2=W(C2,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(_e(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),P2=W(Wa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ja})(_e(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),_l=w.forwardRef(function(t,n){var r;const o=Pe({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:s=!1,inputComponent:l="input",label:a,multiline:u=!1,notched:f,slots:d={},type:p="text",...v}=o,y=k2(o),S=Ir(),E=Mo({props:o,muiFormControl:S,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),m={...o,color:E.color||"primary",disabled:E.disabled,error:E.error,focused:E.focused,formControl:S,fullWidth:s,hiddenLabel:E.hiddenLabel,multiline:u,size:E.size,type:p},h=d.root??i.Root??b2,c=d.input??i.Input??P2;return I.jsx(Sf,{slots:{root:h,input:c},renderSuffix:x=>I.jsx(E2,{ownerState:m,className:y.notchedOutline,label:a!=null&&a!==""&&E.required?r||(r=I.jsxs(w.Fragment,{children:[a," ","*"]})):a,notched:typeof f<"u"?f:!!(x.startAdornment||x.filled||x.focused)}),fullWidth:s,inputComponent:l,multiline:u,ref:n,type:p,...v,classes:{...y,notchedOutline:null}})});_l&&(_l.muiName="Input");function $2(e){return pe("MuiSelect",e)}const Zo=fe("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Lm;const R2=W(py,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Zo.select}`]:t.select},{[`&.${Zo.select}`]:t[n.variant]},{[`&.${Zo.error}`]:t.error},{[`&.${Zo.multiple}`]:t.multiple}]}})({[`&.${Zo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),T2=W(my,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Q(n.variant)}`],n.open&&t.iconOpen]}})({}),I2=W("input",{shouldForwardProp:e=>iy(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Fm(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function O2(e){return e==null||typeof e=="string"&&!e.trim()}const N2=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${Q(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return ve(l,$2,t)},M2=w.forwardRef(function(t,n){var Lo;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:s,children:l,className:a,defaultOpen:u,defaultValue:f,disabled:d,displayEmpty:p,error:v=!1,IconComponent:y,inputRef:S,labelId:E,MenuProps:m={},multiple:h,name:c,onBlur:x,onChange:b,onClose:k,onFocus:C,onOpen:$,open:g,readOnly:P,renderValue:O,SelectDisplayProps:z={},tabIndex:F,type:L,value:_,variant:A="standard",...B}=t,[R,N]=Lc({controlled:_,default:f,name:"Select"}),[j,U]=Lc({controlled:g,default:u,name:"Select"}),G=w.useRef(null),q=w.useRef(null),[K,le]=w.useState(null),{current:oe}=w.useRef(g!=null),[xe,Be]=w.useState(),ue=ot(n,S),Z=w.useCallback(V=>{q.current=V,V&&le(V)},[]),te=K==null?void 0:K.parentNode;w.useImperativeHandle(ue,()=>({focus:()=>{q.current.focus()},node:G.current,value:R}),[R]),w.useEffect(()=>{u&&j&&K&&!oe&&(Be(s?null:te.clientWidth),q.current.focus())},[K,s]),w.useEffect(()=>{i&&q.current.focus()},[i]),w.useEffect(()=>{if(!E)return;const V=Tt(q.current).getElementById(E);if(V){const Ce=()=>{getSelection().isCollapsed&&q.current.focus()};return V.addEventListener("click",Ce),()=>{V.removeEventListener("click",Ce)}}},[E]);const Y=(V,Ce)=>{V?$&&$(Ce):k&&k(Ce),oe||(Be(s?null:te.clientWidth),U(V))},Ye=V=>{V.button===0&&(V.preventDefault(),q.current.focus(),Y(!0,V))},re=V=>{Y(!1,V)},he=w.Children.toArray(l),At=V=>{const Ce=he.find(Je=>Je.props.value===V.target.value);Ce!==void 0&&(N(Ce.props.value),b&&b(V,Ce))},_t=V=>Ce=>{let Je;if(Ce.currentTarget.hasAttribute("tabindex")){if(h){Je=Array.isArray(R)?R.slice():[];const Nr=R.indexOf(V.props.value);Nr===-1?Je.push(V.props.value):Je.splice(Nr,1)}else Je=V.props.value;if(V.props.onClick&&V.props.onClick(Ce),R!==Je&&(N(Je),b)){const Nr=Ce.nativeEvent||Ce,kf=new Nr.constructor(Nr.type,Nr);Object.defineProperty(kf,"target",{writable:!0,value:{value:Je,name:c}}),b(kf,V)}h||Y(!1,Ce)}},Xe=V=>{P||[" ","ArrowUp","ArrowDown","Enter"].includes(V.key)&&(V.preventDefault(),Y(!0,V))},qe=K!==null&&j,on=V=>{!qe&&x&&(Object.defineProperty(V,"target",{writable:!0,value:{value:R,name:c}}),x(V))};delete B["aria-invalid"];let we,xn;const H=[];let Ze=!1;(Ml({value:R})||p)&&(O?we=O(R):Ze=!0);const zo=he.map(V=>{if(!w.isValidElement(V))return null;let Ce;if(h){if(!Array.isArray(R))throw new Error(Mn(2));Ce=R.some(Je=>Fm(Je,V.props.value)),Ce&&Ze&&H.push(V.props.children)}else Ce=Fm(R,V.props.value),Ce&&Ze&&(xn=V.props.children);return w.cloneElement(V,{"aria-selected":Ce?"true":"false",onClick:_t(V),onKeyUp:Je=>{Je.key===" "&&Je.preventDefault(),V.props.onKeyUp&&V.props.onKeyUp(Je)},role:"option",selected:Ce,value:void 0,"data-value":V.props.value})});Ze&&(h?H.length===0?we=null:we=H.reduce((V,Ce,Je)=>(V.push(Ce),Je{const{classes:t}=e;return t},Cf={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>zt(e)&&e!=="variant",slot:"Root"},A2=W(Al,Cf)(""),_2=W(_l,Cf)(""),L2=W(zl,Cf)(""),hy=w.forwardRef(function(t,n){const r=yk({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:l,defaultOpen:a=!1,displayEmpty:u=!1,IconComponent:f=yb,id:d,input:p,inputProps:v,label:y,labelId:S,MenuProps:E,multiple:m=!1,native:h=!1,onClose:c,onOpen:x,open:b,renderValue:k,SelectDisplayProps:C,variant:$="outlined",...g}=r,P=h?S2:M2,O=Ir(),z=Mo({props:r,muiFormControl:O,states:["variant","error"]}),F=z.variant||$,L={...r,variant:F,classes:s},_=z2(L),{root:A,...B}=_,R=p||{standard:I.jsx(A2,{ownerState:L}),outlined:I.jsx(_2,{label:y,ownerState:L}),filled:I.jsx(L2,{ownerState:L})}[F],N=ot(n,ns(R));return I.jsx(w.Fragment,{children:w.cloneElement(R,{inputComponent:P,inputProps:{children:i,error:z.error,IconComponent:f,variant:F,type:void 0,multiple:m,...h?{id:d}:{autoWidth:o,defaultOpen:a,displayEmpty:u,labelId:S,MenuProps:E,onClose:c,onOpen:x,open:b,renderValue:k,SelectDisplayProps:{id:d,...C}},...v,classes:v?ut(B,v.classes):B,...p?p.props.inputProps:{}},...(m&&h||u)&&F==="outlined"?{notched:!0}:{},ref:N,className:X(R.props.className,l,_.root),...!p&&{variant:F},...g})})});hy.muiName="Select";function F2(e){return pe("MuiTextField",e)}fe("MuiTextField",["root"]);const B2={standard:Al,filled:zl,outlined:_l},j2=e=>{const{classes:t}=e;return ve({root:["root"]},F2,t)},D2=W(wE,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Bm=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:s,className:l,color:a="primary",defaultValue:u,disabled:f=!1,error:d=!1,FormHelperTextProps:p,fullWidth:v=!1,helperText:y,id:S,InputLabelProps:E,inputProps:m,InputProps:h,inputRef:c,label:x,maxRows:b,minRows:k,multiline:C=!1,name:$,onBlur:g,onChange:P,onFocus:O,placeholder:z,required:F=!1,rows:L,select:_=!1,SelectProps:A,slots:B={},slotProps:R={},type:N,value:j,variant:U="outlined",...G}=r,q={...r,autoFocus:i,color:a,disabled:f,error:d,fullWidth:v,multiline:C,required:F,select:_,variant:U},K=j2(q),le=Y0(S),oe=y&&le?`${le}-helper-text`:void 0,xe=x&&le?`${le}-label`:void 0,Be=B2[U],ue={slots:B,slotProps:{input:h,inputLabel:E,htmlInput:m,formHelperText:p,select:A,...R}},Z={},te=ue.slotProps.inputLabel;U==="outlined"&&(te&&typeof te.shrink<"u"&&(Z.notched=te.shrink),Z.label=x),_&&((!A||!A.native)&&(Z.id=void 0),Z["aria-describedby"]=void 0);const[Y,Ye]=Jt("input",{elementType:Be,externalForwardedProps:ue,additionalProps:Z,ownerState:q}),[re,he]=Jt("inputLabel",{elementType:FE,externalForwardedProps:ue,ownerState:q}),[At,_t]=Jt("htmlInput",{elementType:"input",externalForwardedProps:ue,ownerState:q}),[Xe,qe]=Jt("formHelperText",{elementType:EE,externalForwardedProps:ue,ownerState:q}),[on,we]=Jt("select",{elementType:hy,externalForwardedProps:ue,ownerState:q}),xn=I.jsx(Y,{"aria-describedby":oe,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:v,multiline:C,name:$,rows:L,maxRows:b,minRows:k,type:N,value:j,id:le,inputRef:c,onBlur:g,onChange:P,onFocus:O,placeholder:z,inputProps:_t,slots:{input:B.htmlInput?At:void 0},...Ye});return I.jsxs(D2,{className:X(K.root,l),disabled:f,error:d,fullWidth:v,ref:n,required:F,color:a,variant:U,ownerState:q,...G,children:[x!=null&&x!==""&&I.jsx(re,{htmlFor:le,id:xe,...he,children:x}),_?I.jsx(on,{"aria-describedby":oe,id:le,labelId:xe,value:j,input:xn,...we,children:s}):xn,y&&I.jsx(Xe,{id:oe,...qe,children:y})]})}),W2=No(I.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),U2=No(I.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),H2=ia.div` +`,Hk=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...l}=r,[a,u]=w.useState([]),d=w.useRef(0),f=w.useRef(null);w.useEffect(()=>{f.current&&(f.current(),f.current=null)},[a]);const m=w.useRef(!1),v=q0(),y=w.useRef(null),S=w.useRef(null),E=w.useCallback(x=>{const{pulsate:b,rippleX:k,rippleY:C,rippleSize:$,cb:g}=x;u(P=>[...P,I.jsx(Uk,{classes:{ripple:X(i.ripple,Lt.ripple),rippleVisible:X(i.rippleVisible,Lt.rippleVisible),ripplePulsate:X(i.ripplePulsate,Lt.ripplePulsate),child:X(i.child,Lt.child),childLeaving:X(i.childLeaving,Lt.childLeaving),childPulsate:X(i.childPulsate,Lt.childPulsate)},timeout:Wc,pulsate:b,rippleX:k,rippleY:C,rippleSize:$},d.current)]),d.current+=1,f.current=g},[i]),p=w.useCallback((x={},b={},k=()=>{})=>{const{pulsate:C=!1,center:$=o||b.pulsate,fakeElement:g=!1}=b;if((x==null?void 0:x.type)==="mousedown"&&m.current){m.current=!1;return}(x==null?void 0:x.type)==="touchstart"&&(m.current=!0);const P=g?null:S.current,O=P?P.getBoundingClientRect():{width:0,height:0,left:0,top:0};let z,F,L;if($||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)z=Math.round(O.width/2),F=Math.round(O.height/2);else{const{clientX:_,clientY:A}=x.touches&&x.touches.length>0?x.touches[0]:x;z=Math.round(_-O.left),F=Math.round(A-O.top)}if($)L=Math.sqrt((2*O.width**2+O.height**2)/3),L%2===0&&(L+=1);else{const _=Math.max(Math.abs((P?P.clientWidth:0)-z),z)*2+2,A=Math.max(Math.abs((P?P.clientHeight:0)-F),F)*2+2;L=Math.sqrt(_**2+A**2)}x!=null&&x.touches?y.current===null&&(y.current=()=>{E({pulsate:C,rippleX:z,rippleY:F,rippleSize:L,cb:k})},v.start(Fk,()=>{y.current&&(y.current(),y.current=null)})):E({pulsate:C,rippleX:z,rippleY:F,rippleSize:L,cb:k})},[o,E,v]),h=w.useCallback(()=>{p({},{pulsate:!0})},[p]),c=w.useCallback((x,b)=>{if(v.clear(),(x==null?void 0:x.type)==="touchend"&&y.current){y.current(),y.current=null,v.start(0,()=>{c(x,b)});return}y.current=null,u(k=>k.length>0?k.slice(1):k),f.current=b},[v]);return w.useImperativeHandle(n,()=>({pulsate:h,start:p,stop:c}),[h,p,c]),I.jsx(Wk,{className:X(Lt.root,i.root,s),ref:S,...l,children:I.jsx(gf,{component:null,exit:!0,children:a})})});function Vk(e){return pe("MuiButtonBase",e)}const Kk=fe("MuiButtonBase",["root","disabled","focusVisible"]),Gk=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=ve({root:["root",t&&"disabled",n&&"focusVisible"]},Vk,o);return n&&r&&(s.root+=` ${r}`),s},Qk=W("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Kk.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),yf=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:d=!1,disableTouchRipple:f=!1,focusRipple:m=!1,focusVisibleClassName:v,LinkComponent:y="a",onBlur:S,onClick:E,onContextMenu:p,onDragLeave:h,onFocus:c,onFocusVisible:x,onKeyDown:b,onKeyUp:k,onMouseDown:C,onMouseLeave:$,onMouseUp:g,onTouchEnd:P,onTouchMove:O,onTouchStart:z,tabIndex:F=0,TouchRippleProps:L,touchRippleRef:_,type:A,...B}=r,R=w.useRef(null),N=Ak(),j=ot(N.ref,_),[U,G]=w.useState(!1);u&&U&&G(!1),w.useImperativeHandle(o,()=>({focusVisible:()=>{G(!0),R.current.focus()}}),[]);const q=N.shouldMount&&!d&&!u;w.useEffect(()=>{U&&m&&!d&&N.pulsate()},[d,m,U,N]);function K(H,Ze,zo=f){return no(wn=>(Ze&&Ze(wn),zo||N[H](wn),!0))}const le=K("start",C),oe=K("stop",p),xe=K("stop",h),Be=K("stop",g),ue=K("stop",H=>{U&&H.preventDefault(),$&&$(H)}),Z=K("start",z),te=K("stop",P),Y=K("stop",O),Ye=K("stop",H=>{cm(H.target)||G(!1),S&&S(H)},!1),re=no(H=>{R.current||(R.current=H.currentTarget),cm(H.target)&&(G(!0),x&&x(H)),c&&c(H)}),he=()=>{const H=R.current;return a&&a!=="button"&&!(H.tagName==="A"&&H.href)},At=no(H=>{m&&!H.repeat&&U&&H.key===" "&&N.stop(H,()=>{N.start(H)}),H.target===H.currentTarget&&he()&&H.key===" "&&H.preventDefault(),b&&b(H),H.target===H.currentTarget&&he()&&H.key==="Enter"&&!u&&(H.preventDefault(),E&&E(H))}),_t=no(H=>{m&&H.key===" "&&U&&!H.defaultPrevented&&N.stop(H,()=>{N.pulsate(H)}),k&&k(H),E&&H.target===H.currentTarget&&he()&&H.key===" "&&!H.defaultPrevented&&E(H)});let Xe=a;Xe==="button"&&(B.href||B.to)&&(Xe=y);const qe={};Xe==="button"?(qe.type=A===void 0?"button":A,qe.disabled=u):(!B.href&&!B.to&&(qe.role="button"),u&&(qe["aria-disabled"]=u));const on=ot(n,R),we={...r,centerRipple:i,component:a,disabled:u,disableRipple:d,disableTouchRipple:f,focusRipple:m,tabIndex:F,focusVisible:U},xn=Gk(we);return I.jsxs(Qk,{as:Xe,className:X(xn.root,l),ownerState:we,onBlur:Ye,onClick:E,onContextMenu:oe,onFocus:re,onKeyDown:At,onKeyUp:_t,onMouseDown:le,onMouseLeave:ue,onMouseUp:Be,onDragLeave:xe,onTouchEnd:te,onTouchMove:Y,onTouchStart:Z,ref:on,tabIndex:u?-1:F,type:A,...qe,...B,children:[s,q?I.jsx(Hk,{ref:j,center:i,...L}):null]})});function Yk(e){return typeof e.main=="string"}function Xk(e,t=[]){if(!Yk(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function vn(e=[]){return([,t])=>t&&Xk(t,e)}function qk(e){return pe("MuiIconButton",e)}const Zk=fe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Jk=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Q(r)}`,o&&`edge${Q(o)}`,`size${Q(i)}`]};return ve(s,qk,t)},eb=W(yf,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Q(n.color)}`],n.edge&&t[`edge${Q(n.edge)}`],t[`size${Q(n.size)}`]]}})(_e(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),_e(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Zk.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}}))),Cm=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:l="default",disabled:a=!1,disableFocusRipple:u=!1,disableRipple:d=!1,size:f="medium",...m}=r,v={...r,edge:o,color:l,disabled:a,disableFocusRipple:u,disableRipple:d,size:f},y=Jk(v);return I.jsx(eb,{className:X(y.root,s),centerRipple:!0,focusRipple:!u,disabled:a,disableRipple:d,ref:n,...m,ownerState:v,children:i})});function tb(e){return pe("MuiTypography",e)}const km=fe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),nb={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},rb=xk(),ob=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${Q(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return ve(l,tb,s)},ib=W("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Q(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(_e(({theme:e})=>{var t;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([n,r])=>n!=="inherit"&&r&&typeof r=="object").map(([n,r])=>({props:{variant:n},style:r})),...Object.entries(e.palette).filter(vn()).map(([n])=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),...Object.entries(((t=e.palette)==null?void 0:t.text)||{}).filter(([,n])=>typeof n=="string").map(([n])=>({props:{color:`text${Q(n)}`},style:{color:(e.vars||e).palette.text[n]}})),{props:({ownerState:n})=>n.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:n})=>n.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:n})=>n.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:n})=>n.paragraph,style:{marginBottom:16}}]}})),bm={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},li=w.forwardRef(function(t,n){const{color:r,...o}=Pe({props:t,name:"MuiTypography"}),i=!nb[r],s=rb({...o,...i&&{color:r}}),{align:l="inherit",className:a,component:u,gutterBottom:d=!1,noWrap:f=!1,paragraph:m=!1,variant:v="body1",variantMapping:y=bm,...S}=s,E={...s,align:l,color:r,className:a,component:u,gutterBottom:d,noWrap:f,paragraph:m,variant:v,variantMapping:y},p=u||(m?"p":y[v]||bm[v])||"span",h=ob(E);return I.jsx(ib,{as:p,ref:n,className:X(h.root,a),...S,ownerState:E,style:{...l!=="inherit"&&{"--Typography-textAlign":l},...S.style}})});function sb(e){return typeof e=="function"?e():e}const lb=w.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,l]=w.useState(null),a=ot(ns(r),n);if(Pr(()=>{i||l(sb(o)||document.body)},[o,i]),Pr(()=>{if(s&&!i)return _c(n,s),()=>{_c(n,null)}},[n,s,i]),i){if(w.isValidElement(r)){const u={ref:a};return w.cloneElement(r,u)}return I.jsx(w.Fragment,{children:r})}return I.jsx(w.Fragment,{children:s&&Bd.createPortal(r,s)})});function Rs(e){return parseInt(e,10)||0}const ab={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function ub(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const cb=w.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:l,...a}=t,{current:u}=w.useRef(l!=null),d=w.useRef(null),f=ot(n,d),m=w.useRef(null),v=w.useRef(null),y=w.useCallback(()=>{const p=d.current,c=$r(p).getComputedStyle(p);if(c.width==="0px")return{outerHeightStyle:0,overflowing:!1};const x=v.current;x.style.width=c.width,x.value=p.value||t.placeholder||"x",x.value.slice(-1)===` +`&&(x.value+=" ");const b=c.boxSizing,k=Rs(c.paddingBottom)+Rs(c.paddingTop),C=Rs(c.borderBottomWidth)+Rs(c.borderTopWidth),$=x.scrollHeight;x.value="x";const g=x.scrollHeight;let P=$;i&&(P=Math.max(Number(i)*g,P)),o&&(P=Math.min(Number(o)*g,P)),P=Math.max(P,g);const O=P+(b==="border-box"?k+C:0),z=Math.abs(P-$)<=1;return{outerHeightStyle:O,overflowing:z}},[o,i,t.placeholder]),S=w.useCallback(()=>{const p=y();if(ub(p))return;const h=p.outerHeightStyle,c=d.current;m.current!==h&&(m.current=h,c.style.height=`${h}px`),c.style.overflow=p.overflowing?"hidden":""},[y]);Pr(()=>{const p=()=>{S()};let h;const c=Q0(p),x=d.current,b=$r(x);b.addEventListener("resize",c);let k;return typeof ResizeObserver<"u"&&(k=new ResizeObserver(p),k.observe(x)),()=>{c.clear(),cancelAnimationFrame(h),b.removeEventListener("resize",c),k&&k.disconnect()}},[y,S]),Pr(()=>{S()});const E=p=>{u||S(),r&&r(p)};return I.jsxs(w.Fragment,{children:[I.jsx("textarea",{value:l,onChange:E,ref:f,rows:i,style:s,...a}),I.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:v,tabIndex:-1,style:{...ab.shadow,...s,paddingTop:0,paddingBottom:0}})]})});function Hi(e){return typeof e=="string"}function Mo({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const vf=w.createContext(void 0);function Ir(){return w.useContext(vf)}function Em(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ml(e,t=!1){return e&&(Em(e.value)&&e.value!==""||t&&Em(e.defaultValue)&&e.defaultValue!=="")}function db(e){return e.startAdornment}function fb(e){return pe("MuiInputBase",e)}const Po=fe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var Pm;const Ba=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Q(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},ja=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},pb=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:l,fullWidth:a,hiddenLabel:u,multiline:d,readOnly:f,size:m,startAdornment:v,type:y}=e,S={root:["root",`color${Q(n)}`,r&&"disabled",o&&"error",a&&"fullWidth",s&&"focused",l&&"formControl",m&&m!=="medium"&&`size${Q(m)}`,d&&"multiline",v&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",y==="search"&&"inputTypeSearch",d&&"inputMultiline",m==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",v&&"inputAdornedStart",i&&"inputAdornedEnd",f&&"readOnly"]};return ve(S,fb,t)},Da=W("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ba})(_e(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Po.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:n})=>t.multiline&&n==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Wa=W("input",{name:"MuiInputBase",slot:"Input",overridesResolver:ja})(_e(({theme:e})=>{const t=e.palette.mode==="light",n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Po.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Po.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:i})=>!i.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:i})=>i.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),$m=Sk({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),Sf=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:s,className:l,color:a,components:u={},componentsProps:d={},defaultValue:f,disabled:m,disableInjectingGlobalStyles:v,endAdornment:y,error:S,fullWidth:E=!1,id:p,inputComponent:h="input",inputProps:c={},inputRef:x,margin:b,maxRows:k,minRows:C,multiline:$=!1,name:g,onBlur:P,onChange:O,onClick:z,onFocus:F,onKeyDown:L,onKeyUp:_,placeholder:A,readOnly:B,renderSuffix:R,rows:N,size:j,slotProps:U={},slots:G={},startAdornment:q,type:K="text",value:le,...oe}=r,xe=c.value!=null?c.value:le,{current:Be}=w.useRef(xe!=null),ue=w.useRef(),Z=w.useCallback($e=>{},[]),te=ot(ue,x,c.ref,Z),[Y,Ye]=w.useState(!1),re=Ir(),he=Mo({props:r,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});he.focused=re?re.focused:Y,w.useEffect(()=>{!re&&m&&Y&&(Ye(!1),P&&P())},[re,m,Y,P]);const At=re&&re.onFilled,_t=re&&re.onEmpty,Xe=w.useCallback($e=>{Ml($e)?At&&At():_t&&_t()},[At,_t]);Pr(()=>{Be&&Xe({value:xe})},[xe,Xe,Be]);const qe=$e=>{F&&F($e),c.onFocus&&c.onFocus($e),re&&re.onFocus?re.onFocus($e):Ye(!0)},on=$e=>{P&&P($e),c.onBlur&&c.onBlur($e),re&&re.onBlur?re.onBlur($e):Ye(!1)},we=($e,..._o)=>{if(!Be){const Lo=$e.target||ue.current;if(Lo==null)throw new Error(Mn(1));Xe({value:Lo.value})}c.onChange&&c.onChange($e,..._o),O&&O($e,..._o)};w.useEffect(()=>{Xe(ue.current)},[]);const xn=$e=>{ue.current&&$e.currentTarget===$e.target&&ue.current.focus(),z&&z($e)};let H=h,Ze=c;$&&H==="input"&&(N?Ze={type:void 0,minRows:N,maxRows:N,...Ze}:Ze={type:void 0,maxRows:k,minRows:C,...Ze},H=cb);const zo=$e=>{Xe($e.animationName==="mui-auto-fill-cancel"?ue.current:{value:"x"})};w.useEffect(()=>{re&&re.setAdornedStart(!!q)},[re,q]);const wn={...r,color:he.color||"primary",disabled:he.disabled,endAdornment:y,error:he.error,focused:he.focused,formControl:re,fullWidth:E,hiddenLabel:he.hiddenLabel,multiline:$,size:he.size,startAdornment:q,type:K},ir=pb(wn),Ao=G.root||u.Root||Da,_n=U.root||d.root||{},Or=G.input||u.Input||Wa;return Ze={...Ze,...U.input??d.input},I.jsxs(w.Fragment,{children:[!v&&typeof $m=="function"&&(Pm||(Pm=I.jsx($m,{}))),I.jsxs(Ao,{..._n,ref:n,onClick:xn,...oe,...!Hi(Ao)&&{ownerState:{...wn,..._n.ownerState}},className:X(ir.root,_n.className,l,B&&"MuiInputBase-readOnly"),children:[q,I.jsx(vf.Provider,{value:null,children:I.jsx(Or,{"aria-invalid":he.error,"aria-describedby":o,autoComplete:i,autoFocus:s,defaultValue:f,disabled:he.disabled,id:p,onAnimationStart:zo,name:g,placeholder:A,readOnly:B,required:he.required,rows:N,value:xe,onKeyDown:L,onKeyUp:_,type:K,...Ze,...!Hi(Or)&&{as:H,ownerState:{...wn,...Ze.ownerState}},ref:te,className:X(ir.input,Ze.className,B&&"MuiInputBase-readOnly"),onBlur:on,onChange:we,onFocus:qe})}),y,R?R({...he,startAdornment:q}):null]})]})});function mb(e){return pe("MuiInput",e)}const Xo={...Po,...fe("MuiInput",["root","underline","input"])};function hb(e){return pe("MuiOutlinedInput",e)}const an={...Po,...fe("MuiOutlinedInput",["root","notchedOutline","input"])};function gb(e){return pe("MuiFilledInput",e)}const lr={...Po,...fe("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},yb=No(I.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),vb={entering:{opacity:1},entered:{opacity:1}},Sb=w.forwardRef(function(t,n){const r=mf(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:a,in:u,onEnter:d,onEntered:f,onEntering:m,onExit:v,onExited:y,onExiting:S,style:E,timeout:p=o,TransitionComponent:h=Sn,...c}=t,x=w.useRef(null),b=ot(x,ns(l),n),k=L=>_=>{if(L){const A=x.current;_===void 0?L(A):L(A,_)}},C=k(m),$=k((L,_)=>{ay(L);const A=Ol({style:E,timeout:p,easing:a},{mode:"enter"});L.style.webkitTransition=r.transitions.create("opacity",A),L.style.transition=r.transitions.create("opacity",A),d&&d(L,_)}),g=k(f),P=k(S),O=k(L=>{const _=Ol({style:E,timeout:p,easing:a},{mode:"exit"});L.style.webkitTransition=r.transitions.create("opacity",_),L.style.transition=r.transitions.create("opacity",_),v&&v(L)}),z=k(y),F=L=>{i&&i(x.current,L)};return I.jsx(h,{appear:s,in:u,nodeRef:x,onEnter:$,onEntered:g,onEntering:C,onExit:O,onExited:z,onExiting:P,addEndListener:F,timeout:p,...c,children:(L,_)=>w.cloneElement(l,{style:{opacity:0,visibility:L==="exited"&&!u?"hidden":void 0,...vb[L],...E,...l.props.style},ref:b,..._})})});function xb(e){return pe("MuiBackdrop",e)}fe("MuiBackdrop",["root","invisible"]);const wb=e=>{const{ownerState:t,...n}=e;return n},Cb=e=>{const{classes:t,invisible:n}=e;return ve({root:["root",n&&"invisible"]},xb,t)},kb=W("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),bb=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:l=!1,open:a,components:u={},componentsProps:d={},slotProps:f={},slots:m={},TransitionComponent:v,transitionDuration:y,...S}=r,E={...r,component:s,invisible:l},p=Cb(E),h={transition:v,root:u.Root,...m},c={...d,...f},x={slots:h,slotProps:c},[b,k]=Jt("root",{elementType:kb,externalForwardedProps:x,className:X(p.root,i),ownerState:E}),[C,$]=Jt("transition",{elementType:Sb,externalForwardedProps:x,ownerState:E}),g=wb($);return I.jsx(C,{in:a,timeout:y,...S,...g,children:I.jsx(b,{"aria-hidden":!0,...k,classes:p,ref:n,children:o})})});function Eb(e){return pe("MuiButton",e)}const Dr=fe("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"]),Pb=w.createContext({}),$b=w.createContext(void 0),Rb=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,l={root:["root",i,`${i}${Q(t)}`,`size${Q(o)}`,`${i}Size${Q(o)}`,`color${Q(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Q(o)}`],endIcon:["icon","endIcon",`iconSize${Q(o)}`]},a=ve(l,Eb,s);return{...s,...a}},uy=[{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}}}],Tb=W(yf,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Q(n.color)}`],t[`size${Q(n.size)}`],t[`${n.variant}Size${Q(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(_e(({theme:e})=>{var r,o;const t=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],n=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Dr.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${Dr.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${Dr.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Dr.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(vn(["dark","contrastText"])).map(([i])=>({props:{color:i},style:{"--variant-textColor":(e.vars||e).palette[i].main,"--variant-outlinedColor":(e.vars||e).palette[i].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[i].mainChannel} / 0.5)`:Dt(e.palette[i].main,.5),"--variant-containedColor":(e.vars||e).palette[i].contrastText,"--variant-containedBg":(e.vars||e).palette[i].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[i].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette[i].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[i].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[i].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette[i].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:(o=(r=e.palette).getContrastText)==null?void 0:o.call(r,t),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Dr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Dr.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),Ib=W("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Q(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...uy]}),Ob=W("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Q(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...uy]}),Nb=w.forwardRef(function(t,n){const r=w.useContext(Pb),o=w.useContext($b),i=Ui(r,t),s=Pe({props:i,name:"MuiButton"}),{children:l,color:a="primary",component:u="button",className:d,disabled:f=!1,disableElevation:m=!1,disableFocusRipple:v=!1,endIcon:y,focusVisibleClassName:S,fullWidth:E=!1,size:p="medium",startIcon:h,type:c,variant:x="text",...b}=s,k={...s,color:a,component:u,disabled:f,disableElevation:m,disableFocusRipple:v,fullWidth:E,size:p,type:c,variant:x},C=Rb(k),$=h&&I.jsx(Ib,{className:C.startIcon,ownerState:k,children:h}),g=y&&I.jsx(Ob,{className:C.endIcon,ownerState:k,children:y}),P=o||"";return I.jsxs(Tb,{ownerState:k,className:X(r.className,C.root,d,P),component:u,disabled:f,focusRipple:!v,focusVisibleClassName:X(C.focusVisible,S),ref:n,type:c,...b,classes:C,children:[$,l,g]})});function Mb(e){return pe("PrivateSwitchBase",e)}fe("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const zb=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${Q(o)}`],input:["input"]};return ve(i,Mb,t)},Ab=W(yf)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),_b=W("input",{shouldForwardProp:zt})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Lb=w.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:s,defaultChecked:l,disabled:a,disableFocusRipple:u=!1,edge:d=!1,icon:f,id:m,inputProps:v,inputRef:y,name:S,onBlur:E,onChange:p,onFocus:h,readOnly:c,required:x=!1,tabIndex:b,type:k,value:C,...$}=t,[g,P]=Lc({controlled:o,default:!!l,name:"SwitchBase",state:"checked"}),O=Ir(),z=N=>{h&&h(N),O&&O.onFocus&&O.onFocus(N)},F=N=>{E&&E(N),O&&O.onBlur&&O.onBlur(N)},L=N=>{if(N.nativeEvent.defaultPrevented)return;const j=N.target.checked;P(j),p&&p(N,j)};let _=a;O&&typeof _>"u"&&(_=O.disabled);const A=k==="checkbox"||k==="radio",B={...t,checked:g,disabled:_,disableFocusRipple:u,edge:d},R=zb(B);return I.jsxs(Ab,{component:"span",className:X(R.root,s),centerRipple:!0,focusRipple:!u,disabled:_,tabIndex:null,role:void 0,onFocus:z,onBlur:F,ownerState:B,ref:n,...$,children:[I.jsx(_b,{autoFocus:r,checked:o,defaultChecked:l,className:R.input,disabled:_,id:A?m:void 0,name:S,onChange:L,readOnly:c,ref:y,required:x,ownerState:B,tabIndex:b,type:k,...k==="checkbox"&&C===void 0?{}:{value:C},...v}),g?i:f]})}),Fb=No(I.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),Bb=No(I.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),jb=No(I.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function Db(e){return pe("MuiCheckbox",e)}const Eu=fe("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Wb=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${Q(r)}`,`size${Q(o)}`]},s=ve(i,Db,t);return{...t,...s}},Ub=W(Lb,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Q(n.size)}`],n.color!=="default"&&t[`color${Q(n.color)}`]]}})(_e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Dt(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{[`&.${Eu.checked}, &.${Eu.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Eu.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),Hb=I.jsx(Bb,{}),Vb=I.jsx(Fb,{}),Kb=I.jsx(jb,{}),Gb=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiCheckbox"}),{checkedIcon:o=Hb,color:i="primary",icon:s=Vb,indeterminate:l=!1,indeterminateIcon:a=Kb,inputProps:u,size:d="medium",disableRipple:f=!1,className:m,...v}=r,y=l?a:s,S=l?a:o,E={...r,disableRipple:f,color:i,indeterminate:l,size:d},p=Wb(E);return I.jsx(Ub,{type:"checkbox",inputProps:{"data-indeterminate":l,...u},icon:w.cloneElement(y,{fontSize:y.props.fontSize??d}),checkedIcon:w.cloneElement(S,{fontSize:S.props.fontSize??d}),ownerState:E,ref:n,className:X(p.root,m),...v,classes:p})});function Qb(e){const t=Tt(e);return t.body===e?$r(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Si(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Rm(e){return parseInt($r(e).getComputedStyle(e).paddingRight,10)||0}function Yb(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Tm(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const l=!i.includes(s),a=!Yb(s);l&&a&&Si(s,o)})}function Pu(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Xb(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Qb(r)){const s=Z0(Tt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Rm(r)+s}px`;const l=Tt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,a=>{n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${Rm(a)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Tt(r).body;else{const s=r.parentElement,l=$r(r);i=(s==null?void 0:s.nodeName)==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function qb(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Zb{constructor(){this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Si(t.modalRef,!1);const o=qb(n);Tm(n,t.mount,t.modalRef,o,!0);const i=Pu(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Pu(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=Xb(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Pu(this.containers,s=>s.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Si(t.modalRef,n),Tm(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Si(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Jb=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function eE(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function tE(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function nE(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||tE(e))}function rE(e){const t=[],n=[];return Array.from(e.querySelectorAll(Jb)).forEach((r,o)=>{const i=eE(r);i===-1||!nE(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function oE(){return!0}function iE(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=rE,isEnabled:s=oE,open:l}=e,a=w.useRef(!1),u=w.useRef(null),d=w.useRef(null),f=w.useRef(null),m=w.useRef(null),v=w.useRef(!1),y=w.useRef(null),S=ot(ns(t),y),E=w.useRef(null);w.useEffect(()=>{!l||!y.current||(v.current=!n)},[n,l]),w.useEffect(()=>{if(!l||!y.current)return;const c=Tt(y.current);return y.current.contains(c.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),v.current&&y.current.focus()),()=>{o||(f.current&&f.current.focus&&(a.current=!0,f.current.focus()),f.current=null)}},[l]),w.useEffect(()=>{if(!l||!y.current)return;const c=Tt(y.current),x=C=>{E.current=C,!(r||!s()||C.key!=="Tab")&&c.activeElement===y.current&&C.shiftKey&&(a.current=!0,d.current&&d.current.focus())},b=()=>{var g,P;const C=y.current;if(C===null)return;if(!c.hasFocus()||!s()||a.current){a.current=!1;return}if(C.contains(c.activeElement)||r&&c.activeElement!==u.current&&c.activeElement!==d.current)return;if(c.activeElement!==m.current)m.current=null;else if(m.current!==null)return;if(!v.current)return;let $=[];if((c.activeElement===u.current||c.activeElement===d.current)&&($=i(y.current)),$.length>0){const O=!!((g=E.current)!=null&&g.shiftKey&&((P=E.current)==null?void 0:P.key)==="Tab"),z=$[0],F=$[$.length-1];typeof z!="string"&&typeof F!="string"&&(O?F.focus():z.focus())}else C.focus()};c.addEventListener("focusin",b),c.addEventListener("keydown",x,!0);const k=setInterval(()=>{c.activeElement&&c.activeElement.tagName==="BODY"&&b()},50);return()=>{clearInterval(k),c.removeEventListener("focusin",b),c.removeEventListener("keydown",x,!0)}},[n,r,o,s,l,i]);const p=c=>{f.current===null&&(f.current=c.relatedTarget),v.current=!0,m.current=c.target;const x=t.props.onFocus;x&&x(c)},h=c=>{f.current===null&&(f.current=c.relatedTarget),v.current=!0};return I.jsxs(w.Fragment,{children:[I.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:u,"data-testid":"sentinelStart"}),w.cloneElement(t,{ref:S,onFocus:p}),I.jsx("div",{tabIndex:l?0:-1,onFocus:h,ref:d,"data-testid":"sentinelEnd"})]})}function sE(e){return typeof e=="function"?e():e}function lE(e){return e?e.props.hasOwnProperty("in"):!1}const aE=new Zb;function uE(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=aE,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:l,children:a,onClose:u,open:d,rootRef:f}=e,m=w.useRef({}),v=w.useRef(null),y=w.useRef(null),S=ot(y,f),[E,p]=w.useState(!d),h=lE(a);let c=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(c=!1);const x=()=>Tt(v.current),b=()=>(m.current.modalRef=y.current,m.current.mount=v.current,m.current),k=()=>{o.mount(b(),{disableScrollLock:r}),y.current&&(y.current.scrollTop=0)},C=no(()=>{const A=sE(t)||x().body;o.add(b(),A),y.current&&k()}),$=w.useCallback(()=>o.isTopModal(b()),[o]),g=no(A=>{v.current=A,A&&(d&&$()?k():y.current&&Si(y.current,c))}),P=w.useCallback(()=>{o.remove(b(),c)},[c,o]);w.useEffect(()=>()=>{P()},[P]),w.useEffect(()=>{d?C():(!h||!i)&&P()},[d,P,h,i,C]);const O=A=>B=>{var R;(R=A.onKeyDown)==null||R.call(A,B),!(B.key!=="Escape"||B.which===229||!$())&&(n||(B.stopPropagation(),u&&u(B,"escapeKeyDown")))},z=A=>B=>{var R;(R=A.onClick)==null||R.call(A,B),B.target===B.currentTarget&&u&&u(B,"backdropClick")};return{getRootProps:(A={})=>{const B=ey(e);delete B.onTransitionEnter,delete B.onTransitionExited;const R={...B,...A};return{role:"presentation",...R,onKeyDown:O(R),ref:S}},getBackdropProps:(A={})=>{const B=A;return{"aria-hidden":!0,...B,onClick:z(B),open:d}},getTransitionProps:()=>{const A=()=>{p(!1),s&&s()},B=()=>{p(!0),l&&l(),i&&P()};return{onEnter:sm(A,a==null?void 0:a.props.onEnter),onExited:sm(B,a==null?void 0:a.props.onExited)}},rootRef:S,portalRef:g,isTopModal:$,exited:E,hasTransition:h}}function cE(e){return pe("MuiModal",e)}fe("MuiModal",["root","hidden","backdrop"]);const dE=e=>{const{open:t,exited:n,classes:r}=e;return ve({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},cE,r)},fE=W("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(_e(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),pE=W(bb,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),mE=w.forwardRef(function(t,n){const r=Pe({name:"MuiModal",props:t}),{BackdropComponent:o=pE,BackdropProps:i,classes:s,className:l,closeAfterTransition:a=!1,children:u,container:d,component:f,components:m={},componentsProps:v={},disableAutoFocus:y=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:E=!1,disablePortal:p=!1,disableRestoreFocus:h=!1,disableScrollLock:c=!1,hideBackdrop:x=!1,keepMounted:b=!1,onBackdropClick:k,onClose:C,onTransitionEnter:$,onTransitionExited:g,open:P,slotProps:O={},slots:z={},theme:F,...L}=r,_={...r,closeAfterTransition:a,disableAutoFocus:y,disableEnforceFocus:S,disableEscapeKeyDown:E,disablePortal:p,disableRestoreFocus:h,disableScrollLock:c,hideBackdrop:x,keepMounted:b},{getRootProps:A,getBackdropProps:B,getTransitionProps:R,portalRef:N,isTopModal:j,exited:U,hasTransition:G}=uE({..._,rootRef:n}),q={..._,exited:U},K=dE(q),le={};if(u.props.tabIndex===void 0&&(le.tabIndex="-1"),G){const{onEnter:Y,onExited:Ye}=R();le.onEnter=Y,le.onExited=Ye}const oe={...L,slots:{root:m.Root,backdrop:m.Backdrop,...z},slotProps:{...v,...O}},[xe,Be]=Jt("root",{elementType:fE,externalForwardedProps:oe,getSlotProps:A,additionalProps:{ref:n,as:f},ownerState:q,className:X(l,K==null?void 0:K.root,!q.open&&q.exited&&(K==null?void 0:K.hidden))}),[ue,Z]=Jt("backdrop",{elementType:o,externalForwardedProps:oe,additionalProps:i,getSlotProps:Y=>B({...Y,onClick:Ye=>{k&&k(Ye),Y!=null&&Y.onClick&&Y.onClick(Ye)}}),className:X(i==null?void 0:i.className,K==null?void 0:K.backdrop),ownerState:q}),te=ot(i==null?void 0:i.ref,Z.ref);return!b&&!P&&(!G||U)?null:I.jsx(lb,{ref:N,container:d,disablePortal:p,children:I.jsxs(xe,{...Be,children:[!x&&o?I.jsx(ue,{...Z,ref:te}):null,I.jsx(iE,{disableEnforceFocus:S,disableAutoFocus:y,disableRestoreFocus:h,isEnabled:j,open:P,children:w.cloneElement(u,le)})]})})}),hE=e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:o,size:i,hiddenLabel:s,multiline:l}=e,a={root:["root",!n&&"underline",r&&"adornedStart",o&&"adornedEnd",i==="small"&&`size${Q(i)}`,s&&"hiddenLabel",l&&"multiline"],input:["input"]},u=ve(a,gb,t);return{...t,...u}},gE=W(Da,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ba(e,t),!n.disableUnderline&&t.underline]}})(_e(({theme:e})=>{const t=e.palette.mode==="light",n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${lr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${lr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[{props:({ownerState:s})=>!s.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${lr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${lr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${lr.disabled}, .${lr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${lr.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vn()).map(([s])=>{var l;return{props:{disableUnderline:!1,color:s},style:{"&::after":{borderBottom:`2px solid ${(l=(e.vars||e).palette[s])==null?void 0:l.main}`}}}}),{props:({ownerState:s})=>s.startAdornment,style:{paddingLeft:12}},{props:({ownerState:s})=>s.endAdornment,style:{paddingRight:12}},{props:({ownerState:s})=>s.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:s,size:l})=>s.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:s})=>s.multiline&&s.hiddenLabel&&s.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),yE=W(Wa,{name:"MuiFilledInput",slot:"Input",overridesResolver:ja})(_e(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),zl=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiFilledInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:l=!1,hiddenLabel:a,inputComponent:u="input",multiline:d=!1,slotProps:f,slots:m={},type:v="text",...y}=r,S={...r,disableUnderline:o,fullWidth:l,inputComponent:u,multiline:d,type:v},E=hE(r),p={root:{ownerState:S},input:{ownerState:S}},h=f??s?ut(p,f??s):p,c=m.root??i.Root??gE,x=m.input??i.Input??yE;return I.jsx(Sf,{slots:{root:c,input:x},componentsProps:h,fullWidth:l,inputComponent:u,multiline:d,ref:n,type:v,...y,classes:E})});zl&&(zl.muiName="Input");function vE(e){return pe("MuiFormControl",e)}fe("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const SE=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${Q(n)}`,r&&"fullWidth"]};return ve(o,vE,t)},xE=W("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${Q(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),wE=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:l="div",disabled:a=!1,error:u=!1,focused:d,fullWidth:f=!1,hiddenLabel:m=!1,margin:v="none",required:y=!1,size:S="medium",variant:E="outlined",...p}=r,h={...r,color:s,component:l,disabled:a,error:u,fullWidth:f,hiddenLabel:m,margin:v,required:y,size:S,variant:E},c=SE(h),[x,b]=w.useState(()=>{let F=!1;return o&&w.Children.forEach(o,L=>{if(!qs(L,["Input","Select"]))return;const _=qs(L,["Select"])?L.props.input:L;_&&db(_.props)&&(F=!0)}),F}),[k,C]=w.useState(()=>{let F=!1;return o&&w.Children.forEach(o,L=>{qs(L,["Input","Select"])&&(Ml(L.props,!0)||Ml(L.props.inputProps,!0))&&(F=!0)}),F}),[$,g]=w.useState(!1);a&&$&&g(!1);const P=d!==void 0&&!a?d:$;let O;w.useRef(!1);const z=w.useMemo(()=>({adornedStart:x,setAdornedStart:b,color:s,disabled:a,error:u,filled:k,focused:P,fullWidth:f,hiddenLabel:m,size:S,onBlur:()=>{g(!1)},onEmpty:()=>{C(!1)},onFilled:()=>{C(!0)},onFocus:()=>{g(!0)},registerEffect:O,required:y,variant:E}),[x,s,a,u,k,P,f,m,O,y,S,E]);return I.jsx(vf.Provider,{value:z,children:I.jsx(xE,{as:l,ownerState:h,className:X(c.root,i),ref:n,...p,children:o})})});function CE(e){return pe("MuiFormHelperText",e)}const Im=fe("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Om;const kE=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:s,focused:l,required:a}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${Q(r)}`,n&&"contained",l&&"focused",s&&"filled",a&&"required"]};return ve(u,CE,t)},bE=W("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Q(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(_e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Im.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Im.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),EE=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:s="p",disabled:l,error:a,filled:u,focused:d,margin:f,required:m,variant:v,...y}=r,S=Ir(),E=Mo({props:r,muiFormControl:S,states:["variant","size","disabled","error","filled","focused","required"]}),p={...r,component:s,contained:E.variant==="filled"||E.variant==="outlined",variant:E.variant,size:E.size,disabled:E.disabled,error:E.error,filled:E.filled,focused:E.focused,required:E.required};delete p.ownerState;const h=kE(p);return I.jsx(bE,{as:s,className:X(h.root,i),ref:n,...y,ownerState:p,children:o===" "?Om||(Om=I.jsx("span",{className:"notranslate",children:"​"})):o})});function PE(e){return pe("MuiFormLabel",e)}const xi=fe("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),$E=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:l}=e,a={root:["root",`color${Q(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return ve(a,PE,t)},RE=W("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...e.color==="secondary"&&t.colorSecondary,...e.filled&&t.filled})})(_e(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(vn()).map(([t])=>({props:{color:t},style:{[`&.${xi.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${xi.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${xi.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),TE=W("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(_e(({theme:e})=>({[`&.${xi.error}`]:{color:(e.vars||e).palette.error.main}}))),IE=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiFormLabel"}),{children:o,className:i,color:s,component:l="label",disabled:a,error:u,filled:d,focused:f,required:m,...v}=r,y=Ir(),S=Mo({props:r,muiFormControl:y,states:["color","required","focused","disabled","error","filled"]}),E={...r,color:S.color||"primary",component:l,disabled:S.disabled,error:S.error,filled:S.filled,focused:S.focused,required:S.required},p=$E(E);return I.jsxs(RE,{as:l,ownerState:E,className:X(p.root,i),ref:n,...v,children:[o,S.required&&I.jsxs(TE,{ownerState:E,"aria-hidden":!0,className:p.asterisk,children:[" ","*"]})]})});function Uc(e){return`scale(${e}, ${e**2})`}const OE={entering:{opacity:1,transform:Uc(1)},entered:{opacity:1,transform:"none"}},$u=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Hc=w.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:l,onEnter:a,onEntered:u,onEntering:d,onExit:f,onExited:m,onExiting:v,style:y,timeout:S="auto",TransitionComponent:E=Sn,...p}=t,h=q0(),c=w.useRef(),x=mf(),b=w.useRef(null),k=ot(b,ns(i),n),C=_=>A=>{if(_){const B=b.current;A===void 0?_(B):_(B,A)}},$=C(d),g=C((_,A)=>{ay(_);const{duration:B,delay:R,easing:N}=Ol({style:y,timeout:S,easing:s},{mode:"enter"});let j;S==="auto"?(j=x.transitions.getAutoHeightDuration(_.clientHeight),c.current=j):j=B,_.style.transition=[x.transitions.create("opacity",{duration:j,delay:R}),x.transitions.create("transform",{duration:$u?j:j*.666,delay:R,easing:N})].join(","),a&&a(_,A)}),P=C(u),O=C(v),z=C(_=>{const{duration:A,delay:B,easing:R}=Ol({style:y,timeout:S,easing:s},{mode:"exit"});let N;S==="auto"?(N=x.transitions.getAutoHeightDuration(_.clientHeight),c.current=N):N=A,_.style.transition=[x.transitions.create("opacity",{duration:N,delay:B}),x.transitions.create("transform",{duration:$u?N:N*.666,delay:$u?B:B||N*.333,easing:R})].join(","),_.style.opacity=0,_.style.transform=Uc(.75),f&&f(_)}),F=C(m),L=_=>{S==="auto"&&h.start(c.current||0,_),r&&r(b.current,_)};return I.jsx(E,{appear:o,in:l,nodeRef:b,onEnter:g,onEntered:P,onEntering:$,onExit:z,onExited:F,onExiting:O,addEndListener:L,timeout:S==="auto"?null:S,...p,children:(_,A)=>w.cloneElement(i,{style:{opacity:0,transform:Uc(.75),visibility:_==="exited"&&!l?"hidden":void 0,...OE[_],...y,...i.props.style},ref:k,...A})})});Hc&&(Hc.muiSupportAuto=!0);const NE=e=>{const{classes:t,disableUnderline:n}=e,o=ve({root:["root",!n&&"underline"],input:["input"]},mb,t);return{...t,...o}},ME=W(Da,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ba(e,t),!n.disableUnderline&&t.underline]}})(_e(({theme:e})=>{let n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Xo.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Xo.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Xo.disabled}, .${Xo.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${Xo.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(vn()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),zE=W(Wa,{name:"MuiInput",slot:"Input",overridesResolver:ja})({}),Al=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiInput"}),{disableUnderline:o=!1,components:i={},componentsProps:s,fullWidth:l=!1,inputComponent:a="input",multiline:u=!1,slotProps:d,slots:f={},type:m="text",...v}=r,y=NE(r),E={root:{ownerState:{disableUnderline:o}}},p=d??s?ut(d??s,E):E,h=f.root??i.Root??ME,c=f.input??i.Input??zE;return I.jsx(Sf,{slots:{root:h,input:c},slotProps:p,fullWidth:l,inputComponent:a,multiline:u,ref:n,type:m,...v,classes:y})});Al&&(Al.muiName="Input");function AE(e){return pe("MuiInputLabel",e)}fe("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const _E=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:l}=e,a={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${Q(r)}`,s],asterisk:[l&&"asterisk"]},u=ve(a,AE,t);return{...t,...u}},LE=W(IE,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${xi.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(_e(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="filled"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:n,size:r})=>t==="filled"&&n.shrink&&r==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:n})=>t==="outlined"&&n.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),FE=w.forwardRef(function(t,n){const r=Pe({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,margin:i,shrink:s,variant:l,className:a,...u}=r,d=Ir();let f=s;typeof f>"u"&&d&&(f=d.filled||d.focused||d.adornedStart);const m=Mo({props:r,muiFormControl:d,states:["size","variant","required","focused"]}),v={...r,disableAnimation:o,formControl:d,shrink:f,size:m.size,variant:m.variant,required:m.required,focused:m.focused},y=_E(v);return I.jsx(LE,{"data-shrink":f,ref:n,className:X(y.root,a),...u,ownerState:v,classes:y})}),fo=w.createContext({});function BE(e){return pe("MuiList",e)}fe("MuiList",["root","padding","dense","subheader"]);const jE=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return ve({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},BE,t)},DE=W("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),cy=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:l=!1,disablePadding:a=!1,subheader:u,...d}=r,f=w.useMemo(()=>({dense:l}),[l]),m={...r,component:s,dense:l,disablePadding:a},v=jE(m);return I.jsx(fo.Provider,{value:f,children:I.jsxs(DE,{as:s,className:X(v.root,i),ref:n,ownerState:m,...d,children:[u,o]})})});function WE(e){return pe("MuiListItem",e)}fe("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const UE=fe("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function HE(e){return pe("MuiListItemSecondaryAction",e)}fe("MuiListItemSecondaryAction",["root","disableGutters"]);const VE=e=>{const{disableGutters:t,classes:n}=e;return ve({root:["root",t&&"disableGutters"]},HE,n)},KE=W("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),xf=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiListItemSecondaryAction"}),{className:o,...i}=r,s=w.useContext(fo),l={...r,disableGutters:s.disableGutters},a=VE(l);return I.jsx(KE,{className:X(a.root,o),ownerState:l,ref:n,...i})});xf.muiName="ListItemSecondaryAction";const GE=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]},QE=e=>{const{alignItems:t,classes:n,dense:r,disableGutters:o,disablePadding:i,divider:s,hasSecondaryAction:l}=e;return ve({root:["root",r&&"dense",!o&&"gutters",!i&&"padding",s&&"divider",t==="flex-start"&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"]},WE,n)},YE=W("div",{name:"MuiListItem",slot:"Root",overridesResolver:GE})(_e(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:t})=>!t.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:t})=>!t.disablePadding&&t.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:t})=>!t.disablePadding&&!t.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:t})=>!t.disablePadding&&!!t.secondaryAction,style:{paddingRight:48}},{props:({ownerState:t})=>!!t.secondaryAction,style:{[`& > .${UE.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:t})=>t.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:t})=>t.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:t})=>t.hasSecondaryAction,style:{paddingRight:48}}]}))),XE=W("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),qE=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiListItem"}),{alignItems:o="center",children:i,className:s,component:l,components:a={},componentsProps:u={},ContainerComponent:d="li",ContainerProps:{className:f,...m}={},dense:v=!1,disableGutters:y=!1,disablePadding:S=!1,divider:E=!1,secondaryAction:p,slotProps:h={},slots:c={},...x}=r,b=w.useContext(fo),k=w.useMemo(()=>({dense:v||b.dense||!1,alignItems:o,disableGutters:y}),[o,b.dense,v,y]),C=w.useRef(null),$=w.Children.toArray(i),g=$.length&&qs($[$.length-1],["ListItemSecondaryAction"]),P={...r,alignItems:o,dense:k.dense,disableGutters:y,disablePadding:S,divider:E,hasSecondaryAction:g},O=QE(P),z=ot(C,n),F=c.root||a.Root||YE,L=h.root||u.root||{},_={className:X(O.root,L.className,s),...x};let A=l||"li";return g?(A=!_.component&&!l?"div":A,d==="li"&&(A==="li"?A="div":_.component==="li"&&(_.component="div")),I.jsx(fo.Provider,{value:k,children:I.jsxs(XE,{as:d,className:X(O.container,f),ref:z,ownerState:P,...m,children:[I.jsx(F,{...L,...!Hi(F)&&{as:A,ownerState:{...P,...L.ownerState}},..._,children:$}),$.pop()]})})):I.jsx(fo.Provider,{value:k,children:I.jsxs(F,{...L,as:A,ref:z,...!Hi(F)&&{ownerState:{...P,...L.ownerState}},..._,children:[$,p&&I.jsx(xf,{children:p})]})})});function ZE(e){return pe("MuiListItemText",e)}const Ts=fe("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),JE=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return ve({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},ZE,t)},e2=W("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ts.primary}`]:t.primary},{[`& .${Ts.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${km.root}:where(& .${Ts.primary})`]:{display:"block"},[`.${km.root}:where(& .${Ts.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),t2=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:s=!1,inset:l=!1,primary:a,primaryTypographyProps:u,secondary:d,secondaryTypographyProps:f,...m}=r,{dense:v}=w.useContext(fo);let y=a??o,S=d;const E={...r,disableTypography:s,inset:l,primary:!!y,secondary:!!S,dense:v},p=JE(E);return y!=null&&y.type!==li&&!s&&(y=I.jsx(li,{variant:v?"body2":"body1",className:p.primary,component:u!=null&&u.variant?void 0:"span",...u,children:y})),S!=null&&S.type!==li&&!s&&(S=I.jsx(li,{variant:"body2",className:p.secondary,color:"textSecondary",...f,children:S})),I.jsxs(e2,{className:X(p.root,i),ownerState:E,ref:n,...m,children:[y,S]})});function Ru(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Nm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function dy(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join(""))}function qo(e,t,n,r,o,i){let s=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const a=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!dy(l,i)||a)l=o(e,l,n);else return l.focus(),!0}return!1}const n2=w.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:l,disabledItemsFocusable:a=!1,disableListWrap:u=!1,onKeyDown:d,variant:f="selectedMenu",...m}=t,v=w.useRef(null),y=w.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Pr(()=>{o&&v.current.focus()},[o]),w.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(c,{direction:x})=>{const b=!v.current.style.width;if(c.clientHeight{const x=v.current,b=c.key;if(c.ctrlKey||c.metaKey||c.altKey){d&&d(c);return}const C=Tt(x).activeElement;if(b==="ArrowDown")c.preventDefault(),qo(x,C,u,a,Ru);else if(b==="ArrowUp")c.preventDefault(),qo(x,C,u,a,Nm);else if(b==="Home")c.preventDefault(),qo(x,null,u,a,Ru);else if(b==="End")c.preventDefault(),qo(x,null,u,a,Nm);else if(b.length===1){const $=y.current,g=b.toLowerCase(),P=performance.now();$.keys.length>0&&(P-$.lastTime>500?($.keys=[],$.repeating=!0,$.previousKeyMatched=!0):$.repeating&&g!==$.keys[0]&&($.repeating=!1)),$.lastTime=P,$.keys.push(g);const O=C&&!$.repeating&&dy(C,$);$.previousKeyMatched&&(O||qo(x,C,!1,a,Ru,$))?c.preventDefault():$.previousKeyMatched=!1}d&&d(c)},E=ot(v,n);let p=-1;w.Children.forEach(s,(c,x)=>{if(!w.isValidElement(c)){p===x&&(p+=1,p>=s.length&&(p=-1));return}c.props.disabled||(f==="selectedMenu"&&c.props.selected||p===-1)&&(p=x),p===x&&(c.props.disabled||c.props.muiSkipListHighlight||c.type.muiSkipListHighlight)&&(p+=1,p>=s.length&&(p=-1))});const h=w.Children.map(s,(c,x)=>{if(x===p){const b={};return i&&(b.autoFocus=!0),c.props.tabIndex===void 0&&f==="selectedMenu"&&(b.tabIndex=0),w.cloneElement(c,b)}return c});return I.jsx(cy,{role:"menu",ref:E,className:l,onKeyDown:S,tabIndex:o?0:-1,...m,children:h})});function r2(e){return pe("MuiPopover",e)}fe("MuiPopover",["root","paper"]);function Mm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function zm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Am(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Tu(e){return typeof e=="function"?e():e}const o2=e=>{const{classes:t}=e;return ve({root:["root"],paper:["paper"]},r2,t)},i2=W(mE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),fy=W(zk,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),s2=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:a="anchorEl",children:u,className:d,container:f,elevation:m=8,marginThreshold:v=16,open:y,PaperProps:S={},slots:E={},slotProps:p={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:c=Hc,transitionDuration:x="auto",TransitionProps:{onEntering:b,...k}={},disableScrollLock:C=!1,...$}=r,g=(p==null?void 0:p.paper)??S,P=w.useRef(),O={...r,anchorOrigin:s,anchorReference:a,elevation:m,marginThreshold:v,externalPaperSlotProps:g,transformOrigin:h,TransitionComponent:c,transitionDuration:x,TransitionProps:k},z=o2(O),F=w.useCallback(()=>{if(a==="anchorPosition")return l;const Z=Tu(i),Y=(Z&&Z.nodeType===1?Z:Tt(P.current).body).getBoundingClientRect();return{top:Y.top+Mm(Y,s.vertical),left:Y.left+zm(Y,s.horizontal)}},[i,s.horizontal,s.vertical,l,a]),L=w.useCallback(Z=>({vertical:Mm(Z,h.vertical),horizontal:zm(Z,h.horizontal)}),[h.horizontal,h.vertical]),_=w.useCallback(Z=>{const te={width:Z.offsetWidth,height:Z.offsetHeight},Y=L(te);if(a==="none")return{top:null,left:null,transformOrigin:Am(Y)};const Ye=F();let re=Ye.top-Y.vertical,he=Ye.left-Y.horizontal;const At=re+te.height,_t=he+te.width,Xe=$r(Tu(i)),qe=Xe.innerHeight-v,on=Xe.innerWidth-v;if(v!==null&&reqe){const we=At-qe;re-=we,Y.vertical+=we}if(v!==null&&heon){const we=_t-on;he-=we,Y.horizontal+=we}return{top:`${Math.round(re)}px`,left:`${Math.round(he)}px`,transformOrigin:Am(Y)}},[i,a,F,L,v]),[A,B]=w.useState(y),R=w.useCallback(()=>{const Z=P.current;if(!Z)return;const te=_(Z);te.top!==null&&Z.style.setProperty("top",te.top),te.left!==null&&(Z.style.left=te.left),Z.style.transformOrigin=te.transformOrigin,B(!0)},[_]);w.useEffect(()=>(C&&window.addEventListener("scroll",R),()=>window.removeEventListener("scroll",R)),[i,C,R]);const N=(Z,te)=>{b&&b(Z,te),R()},j=()=>{B(!1)};w.useEffect(()=>{y&&R()}),w.useImperativeHandle(o,()=>y?{updatePosition:()=>{R()}}:null,[y,R]),w.useEffect(()=>{if(!y)return;const Z=Q0(()=>{R()}),te=$r(i);return te.addEventListener("resize",Z),()=>{Z.clear(),te.removeEventListener("resize",Z)}},[i,y,R]);let U=x;x==="auto"&&!c.muiSupportAuto&&(U=void 0);const G=f||(i?Tt(Tu(i)).body:void 0),q={slots:E,slotProps:{...p,paper:g}},[K,le]=Jt("paper",{elementType:fy,externalForwardedProps:q,additionalProps:{elevation:m,className:X(z.paper,g==null?void 0:g.className),style:A?g.style:{...g.style,opacity:0}},ownerState:O}),[oe,{slotProps:xe,...Be}]=Jt("root",{elementType:i2,externalForwardedProps:q,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:G,open:y},ownerState:O,className:X(z.root,d)}),ue=ot(P,le.ref);return I.jsx(oe,{...Be,...!Hi(oe)&&{slotProps:xe,disableScrollLock:C},...$,ref:n,children:I.jsx(c,{appear:!0,in:y,onEntering:N,onExited:j,timeout:U,...k,children:I.jsx(K,{...le,ref:ue,children:u})})})});function l2(e){return pe("MuiMenu",e)}fe("MuiMenu",["root","paper","list"]);const a2={vertical:"top",horizontal:"right"},u2={vertical:"top",horizontal:"left"},c2=e=>{const{classes:t}=e;return ve({root:["root"],paper:["paper"],list:["list"]},l2,t)},d2=W(s2,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),f2=W(fy,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),p2=W(n2,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),m2=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,className:s,disableAutoFocusItem:l=!1,MenuListProps:a={},onClose:u,open:d,PaperProps:f={},PopoverClasses:m,transitionDuration:v="auto",TransitionProps:{onEntering:y,...S}={},variant:E="selectedMenu",slots:p={},slotProps:h={},...c}=r,x=OC(),b={...r,autoFocus:o,disableAutoFocusItem:l,MenuListProps:a,onEntering:y,PaperProps:f,transitionDuration:v,TransitionProps:S,variant:E},k=c2(b),C=o&&!l&&d,$=w.useRef(null),g=(A,B)=>{$.current&&$.current.adjustStyleForScrollbar(A,{direction:x?"rtl":"ltr"}),y&&y(A,B)},P=A=>{A.key==="Tab"&&(A.preventDefault(),u&&u(A,"tabKeyDown"))};let O=-1;w.Children.map(i,(A,B)=>{w.isValidElement(A)&&(A.props.disabled||(E==="selectedMenu"&&A.props.selected||O===-1)&&(O=B))});const z=p.paper??f2,F=h.paper??f,L=fm({elementType:p.root,externalSlotProps:h.root,ownerState:b,className:[k.root,s]}),_=fm({elementType:z,externalSlotProps:F,ownerState:b,className:k.paper});return I.jsx(d2,{onClose:u,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?a2:u2,slots:{paper:z,root:p.root},slotProps:{root:L,paper:_},open:d,ref:n,transitionDuration:v,TransitionProps:{onEntering:g,...S},ownerState:b,...c,classes:m,children:I.jsx(p2,{onKeyDown:P,actions:$,autoFocus:o&&(O===-1||l),autoFocusItem:C,variant:E,...a,className:X(k.list,a.className),children:i})})});function h2(e){return pe("MuiNativeSelect",e)}const wf=fe("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),g2=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${Q(n)}`,i&&"iconOpen",r&&"disabled"]};return ve(l,h2,t)},py=W("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${wf.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),y2=W(py,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:zt,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${wf.multiple}`]:t.multiple}]}})({}),my=W("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${wf.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),v2=W(my,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Q(n.variant)}`],n.open&&t.iconOpen]}})({}),S2=w.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:l,variant:a="standard",...u}=t,d={...t,disabled:o,variant:a,error:i},f=g2(d);return I.jsxs(w.Fragment,{children:[I.jsx(y2,{ownerState:d,className:X(f.select,r),disabled:o,ref:l||n,...u}),t.multiple?null:I.jsx(v2,{as:s,ownerState:d,className:f.icon})]})});var _m;const x2=W("fieldset",{shouldForwardProp:zt})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),w2=W("legend",{shouldForwardProp:zt})(_e(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function C2(e){const{children:t,classes:n,className:r,label:o,notched:i,...s}=e,l=o!=null&&o!=="",a={...e,notched:i,withLabel:l};return I.jsx(x2,{"aria-hidden":!0,className:r,ownerState:a,...s,children:I.jsx(w2,{ownerState:a,children:l?I.jsx("span",{children:o}):_m||(_m=I.jsx("span",{className:"notranslate",children:"​"}))})})}const k2=e=>{const{classes:t}=e,r=ve({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},hb,t);return{...t,...r}},b2=W(Da,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ba})(_e(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${an.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${an.focused} .${an.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(vn()).map(([n])=>({props:{color:n},style:{[`&.${an.focused} .${an.notchedOutline}`]:{borderColor:(e.vars||e).palette[n].main}}})),{props:{},style:{"@media (hover: none)":{[`&:hover .${an.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${an.error} .${an.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${an.disabled} .${an.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:n})=>n.startAdornment,style:{paddingLeft:14}},{props:({ownerState:n})=>n.endAdornment,style:{paddingRight:14}},{props:({ownerState:n})=>n.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:n,size:r})=>n.multiline&&r==="small",style:{padding:"8.5px 14px"}}]}})),E2=W(C2,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(_e(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),P2=W(Wa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:ja})(_e(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),_l=w.forwardRef(function(t,n){var r;const o=Pe({props:t,name:"MuiOutlinedInput"}),{components:i={},fullWidth:s=!1,inputComponent:l="input",label:a,multiline:u=!1,notched:d,slots:f={},type:m="text",...v}=o,y=k2(o),S=Ir(),E=Mo({props:o,muiFormControl:S,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),p={...o,color:E.color||"primary",disabled:E.disabled,error:E.error,focused:E.focused,formControl:S,fullWidth:s,hiddenLabel:E.hiddenLabel,multiline:u,size:E.size,type:m},h=f.root??i.Root??b2,c=f.input??i.Input??P2;return I.jsx(Sf,{slots:{root:h,input:c},renderSuffix:x=>I.jsx(E2,{ownerState:p,className:y.notchedOutline,label:a!=null&&a!==""&&E.required?r||(r=I.jsxs(w.Fragment,{children:[a," ","*"]})):a,notched:typeof d<"u"?d:!!(x.startAdornment||x.filled||x.focused)}),fullWidth:s,inputComponent:l,multiline:u,ref:n,type:m,...v,classes:{...y,notchedOutline:null}})});_l&&(_l.muiName="Input");function $2(e){return pe("MuiSelect",e)}const Zo=fe("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Lm;const R2=W(py,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Zo.select}`]:t.select},{[`&.${Zo.select}`]:t[n.variant]},{[`&.${Zo.error}`]:t.error},{[`&.${Zo.multiple}`]:t.multiple}]}})({[`&.${Zo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),T2=W(my,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Q(n.variant)}`],n.open&&t.iconOpen]}})({}),I2=W("input",{shouldForwardProp:e=>iy(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Fm(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function O2(e){return e==null||typeof e=="string"&&!e.trim()}const N2=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${Q(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return ve(l,$2,t)},M2=w.forwardRef(function(t,n){var Lo;const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:s,children:l,className:a,defaultOpen:u,defaultValue:d,disabled:f,displayEmpty:m,error:v=!1,IconComponent:y,inputRef:S,labelId:E,MenuProps:p={},multiple:h,name:c,onBlur:x,onChange:b,onClose:k,onFocus:C,onOpen:$,open:g,readOnly:P,renderValue:O,SelectDisplayProps:z={},tabIndex:F,type:L,value:_,variant:A="standard",...B}=t,[R,N]=Lc({controlled:_,default:d,name:"Select"}),[j,U]=Lc({controlled:g,default:u,name:"Select"}),G=w.useRef(null),q=w.useRef(null),[K,le]=w.useState(null),{current:oe}=w.useRef(g!=null),[xe,Be]=w.useState(),ue=ot(n,S),Z=w.useCallback(V=>{q.current=V,V&&le(V)},[]),te=K==null?void 0:K.parentNode;w.useImperativeHandle(ue,()=>({focus:()=>{q.current.focus()},node:G.current,value:R}),[R]),w.useEffect(()=>{u&&j&&K&&!oe&&(Be(s?null:te.clientWidth),q.current.focus())},[K,s]),w.useEffect(()=>{i&&q.current.focus()},[i]),w.useEffect(()=>{if(!E)return;const V=Tt(q.current).getElementById(E);if(V){const Ce=()=>{getSelection().isCollapsed&&q.current.focus()};return V.addEventListener("click",Ce),()=>{V.removeEventListener("click",Ce)}}},[E]);const Y=(V,Ce)=>{V?$&&$(Ce):k&&k(Ce),oe||(Be(s?null:te.clientWidth),U(V))},Ye=V=>{V.button===0&&(V.preventDefault(),q.current.focus(),Y(!0,V))},re=V=>{Y(!1,V)},he=w.Children.toArray(l),At=V=>{const Ce=he.find(Je=>Je.props.value===V.target.value);Ce!==void 0&&(N(Ce.props.value),b&&b(V,Ce))},_t=V=>Ce=>{let Je;if(Ce.currentTarget.hasAttribute("tabindex")){if(h){Je=Array.isArray(R)?R.slice():[];const Nr=R.indexOf(V.props.value);Nr===-1?Je.push(V.props.value):Je.splice(Nr,1)}else Je=V.props.value;if(V.props.onClick&&V.props.onClick(Ce),R!==Je&&(N(Je),b)){const Nr=Ce.nativeEvent||Ce,kf=new Nr.constructor(Nr.type,Nr);Object.defineProperty(kf,"target",{writable:!0,value:{value:Je,name:c}}),b(kf,V)}h||Y(!1,Ce)}},Xe=V=>{P||[" ","ArrowUp","ArrowDown","Enter"].includes(V.key)&&(V.preventDefault(),Y(!0,V))},qe=K!==null&&j,on=V=>{!qe&&x&&(Object.defineProperty(V,"target",{writable:!0,value:{value:R,name:c}}),x(V))};delete B["aria-invalid"];let we,xn;const H=[];let Ze=!1;(Ml({value:R})||m)&&(O?we=O(R):Ze=!0);const zo=he.map(V=>{if(!w.isValidElement(V))return null;let Ce;if(h){if(!Array.isArray(R))throw new Error(Mn(2));Ce=R.some(Je=>Fm(Je,V.props.value)),Ce&&Ze&&H.push(V.props.children)}else Ce=Fm(R,V.props.value),Ce&&Ze&&(xn=V.props.children);return w.cloneElement(V,{"aria-selected":Ce?"true":"false",onClick:_t(V),onKeyUp:Je=>{Je.key===" "&&Je.preventDefault(),V.props.onKeyUp&&V.props.onKeyUp(Je)},role:"option",selected:Ce,value:void 0,"data-value":V.props.value})});Ze&&(h?H.length===0?we=null:we=H.reduce((V,Ce,Je)=>(V.push(Ce),Je{const{classes:t}=e;return t},Cf={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>zt(e)&&e!=="variant",slot:"Root"},A2=W(Al,Cf)(""),_2=W(_l,Cf)(""),L2=W(zl,Cf)(""),hy=w.forwardRef(function(t,n){const r=yk({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:l,defaultOpen:a=!1,displayEmpty:u=!1,IconComponent:d=yb,id:f,input:m,inputProps:v,label:y,labelId:S,MenuProps:E,multiple:p=!1,native:h=!1,onClose:c,onOpen:x,open:b,renderValue:k,SelectDisplayProps:C,variant:$="outlined",...g}=r,P=h?S2:M2,O=Ir(),z=Mo({props:r,muiFormControl:O,states:["variant","error"]}),F=z.variant||$,L={...r,variant:F,classes:s},_=z2(L),{root:A,...B}=_,R=m||{standard:I.jsx(A2,{ownerState:L}),outlined:I.jsx(_2,{label:y,ownerState:L}),filled:I.jsx(L2,{ownerState:L})}[F],N=ot(n,ns(R));return I.jsx(w.Fragment,{children:w.cloneElement(R,{inputComponent:P,inputProps:{children:i,error:z.error,IconComponent:d,variant:F,type:void 0,multiple:p,...h?{id:f}:{autoWidth:o,defaultOpen:a,displayEmpty:u,labelId:S,MenuProps:E,onClose:c,onOpen:x,open:b,renderValue:k,SelectDisplayProps:{id:f,...C}},...v,classes:v?ut(B,v.classes):B,...m?m.props.inputProps:{}},...(p&&h||u)&&F==="outlined"?{notched:!0}:{},ref:N,className:X(R.props.className,l,_.root),...!m&&{variant:F},...g})})});hy.muiName="Select";function F2(e){return pe("MuiTextField",e)}fe("MuiTextField",["root"]);const B2={standard:Al,filled:zl,outlined:_l},j2=e=>{const{classes:t}=e;return ve({root:["root"]},F2,t)},D2=W(wE,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Bm=w.forwardRef(function(t,n){const r=Pe({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:s,className:l,color:a="primary",defaultValue:u,disabled:d=!1,error:f=!1,FormHelperTextProps:m,fullWidth:v=!1,helperText:y,id:S,InputLabelProps:E,inputProps:p,InputProps:h,inputRef:c,label:x,maxRows:b,minRows:k,multiline:C=!1,name:$,onBlur:g,onChange:P,onFocus:O,placeholder:z,required:F=!1,rows:L,select:_=!1,SelectProps:A,slots:B={},slotProps:R={},type:N,value:j,variant:U="outlined",...G}=r,q={...r,autoFocus:i,color:a,disabled:d,error:f,fullWidth:v,multiline:C,required:F,select:_,variant:U},K=j2(q),le=Y0(S),oe=y&&le?`${le}-helper-text`:void 0,xe=x&&le?`${le}-label`:void 0,Be=B2[U],ue={slots:B,slotProps:{input:h,inputLabel:E,htmlInput:p,formHelperText:m,select:A,...R}},Z={},te=ue.slotProps.inputLabel;U==="outlined"&&(te&&typeof te.shrink<"u"&&(Z.notched=te.shrink),Z.label=x),_&&((!A||!A.native)&&(Z.id=void 0),Z["aria-describedby"]=void 0);const[Y,Ye]=Jt("input",{elementType:Be,externalForwardedProps:ue,additionalProps:Z,ownerState:q}),[re,he]=Jt("inputLabel",{elementType:FE,externalForwardedProps:ue,ownerState:q}),[At,_t]=Jt("htmlInput",{elementType:"input",externalForwardedProps:ue,ownerState:q}),[Xe,qe]=Jt("formHelperText",{elementType:EE,externalForwardedProps:ue,ownerState:q}),[on,we]=Jt("select",{elementType:hy,externalForwardedProps:ue,ownerState:q}),xn=I.jsx(Y,{"aria-describedby":oe,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:v,multiline:C,name:$,rows:L,maxRows:b,minRows:k,type:N,value:j,id:le,inputRef:c,onBlur:g,onChange:P,onFocus:O,placeholder:z,inputProps:_t,slots:{input:B.htmlInput?At:void 0},...Ye});return I.jsxs(D2,{className:X(K.root,l),disabled:d,error:f,fullWidth:v,ref:n,required:F,color:a,variant:U,ownerState:q,...G,children:[x!=null&&x!==""&&I.jsx(re,{htmlFor:le,id:xe,...he,children:x}),_?I.jsx(on,{"aria-describedby":oe,id:le,labelId:xe,value:j,input:xn,...we,children:s}):xn,y&&I.jsx(Xe,{id:oe,...qe,children:y})]})}),W2=No(I.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),U2=No(I.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit"),H2=ia.div` max-width: 600px; margin: 0 auto; padding: 2rem; @@ -154,4 +154,4 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann && { text-decoration: ${e=>e.done?"line-through":"none"}; } -`;function G2(){const[e,t]=H1("todos",{defaultValue:[]}),[n,r]=w.useState(""),[o,i]=w.useState(null);w.useEffect(()=>{e.length===0&&t([{id:1,text:"Install Node.js",done:!1},{id:2,text:"Install Cursor IDE",done:!1},{id:3,text:"Log into Github",done:!1},{id:4,text:"Fork a repo",done:!1},{id:5,text:"Make changes",done:!1},{id:6,text:"Commit",done:!1},{id:7,text:"Deploy",done:!1}])},[e,t]);const s=()=>{n.trim()!==""&&(t([...e,{id:Date.now(),text:n.trim(),done:!1}]),r(""))},l=d=>{t(e.filter(p=>p.id!==d))},a=d=>{t(e.map(p=>p.id===d?{...p,done:!p.done}:p))},u=d=>{i(d)},f=(d,p)=>{t(e.map(v=>v.id===d?{...v,text:p.trim()}:v)),i(null)};return I.jsxs(H2,{children:[I.jsx(li,{variant:"h4",component:"h1",gutterBottom:!0,children:"Todo List"}),I.jsx(Bm,{fullWidth:!0,variant:"outlined",label:"New Todo",value:n,onChange:d=>r(d.target.value),onKeyPress:d=>d.key==="Enter"&&s()}),I.jsx(V2,{variant:"contained",color:"primary",fullWidth:!0,onClick:s,children:"Add Todo"}),I.jsx(cy,{children:e.map(d=>I.jsxs(qE,{dense:!0,children:[I.jsx(Gb,{edge:"start",checked:d.done,onChange:()=>a(d.id)}),o===d.id?I.jsx(Bm,{fullWidth:!0,value:d.text,onChange:p=>f(d.id,p.target.value),onBlur:()=>i(null),onKeyPress:p=>p.key==="Enter"&&i(null),autoFocus:!0}):I.jsx(K2,{primary:d.text,done:d.done}),I.jsxs(xf,{children:[I.jsx(Cm,{edge:"end","aria-label":"edit",onClick:()=>u(d.id),children:I.jsx(U2,{})}),I.jsx(Cm,{edge:"end","aria-label":"delete",onClick:()=>l(d.id),children:I.jsx(W2,{})})]})]},d.id))})]})}Jg(document.getElementById("root")).render(I.jsx(w.StrictMode,{children:I.jsx(G2,{})})); +`;function G2(){const[e,t]=H1("todos",{defaultValue:[]}),[n,r]=w.useState(""),[o,i]=w.useState(null),[s,l]=w.useState("");w.useEffect(()=>{e.length===0&&t([{id:1,text:"Install Node.js",done:!1},{id:2,text:"Install Cursor IDE",done:!1},{id:3,text:"Log into Github",done:!1},{id:4,text:"Fork a repo",done:!1},{id:5,text:"Make changes",done:!1},{id:6,text:"Commit",done:!1},{id:7,text:"Deploy",done:!1}])},[e,t]);const a=()=>{n.trim()!==""&&(t([...e,{id:Date.now(),text:n.trim(),done:!1}]),r(""))},u=v=>{t(e.filter(y=>y.id!==v))},d=v=>{t(e.map(y=>y.id===v?{...y,done:!y.done}:y))},f=v=>{i(v);const y=e.find(S=>S.id===v);y&&l(y.text)},m=v=>{s.trim()!==""&&t(e.map(y=>y.id===v?{...y,text:s.trim()}:y)),i(null),l("")};return I.jsxs(H2,{children:[I.jsx(li,{variant:"h4",component:"h1",gutterBottom:!0,children:"Todo List"}),I.jsx(Bm,{fullWidth:!0,variant:"outlined",label:"New Todo",value:n,onChange:v=>r(v.target.value),onKeyPress:v=>v.key==="Enter"&&a(),autoFocus:!0}),I.jsx(V2,{variant:"contained",color:"primary",fullWidth:!0,onClick:a,children:"Add Todo"}),I.jsx(cy,{children:e.map(v=>I.jsxs(qE,{dense:!0,children:[I.jsx(Gb,{edge:"start",checked:v.done,onChange:()=>d(v.id)}),o===v.id?I.jsx(Bm,{fullWidth:!0,value:s,onChange:y=>l(y.target.value),onBlur:()=>m(v.id),onKeyPress:y=>y.key==="Enter"&&m(v.id),autoFocus:!0}):I.jsx(K2,{primary:v.text,done:v.done}),I.jsxs(xf,{children:[I.jsx(Cm,{edge:"end","aria-label":"edit",onClick:()=>f(v.id),children:I.jsx(U2,{})}),I.jsx(Cm,{edge:"end","aria-label":"delete",onClick:()=>u(v.id),children:I.jsx(W2,{})})]})]},v.id))})]})}Jg(document.getElementById("root")).render(I.jsx(w.StrictMode,{children:I.jsx(G2,{})})); diff --git a/index.html b/index.html index 7e9ca92..8bcfb34 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ Vite + React + TS - +