webapp-preview.dist.assets.index-CBv7SuWA.js Maven / Gradle / Ivy
function H1(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Ed(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Wn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var wv={exports:{}},dl={},bv={exports:{}},J={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var vs=Symbol.for("react.element"),V1=Symbol.for("react.portal"),G1=Symbol.for("react.fragment"),K1=Symbol.for("react.strict_mode"),Q1=Symbol.for("react.profiler"),X1=Symbol.for("react.provider"),Y1=Symbol.for("react.context"),q1=Symbol.for("react.forward_ref"),Z1=Symbol.for("react.suspense"),J1=Symbol.for("react.memo"),ex=Symbol.for("react.lazy"),_p=Symbol.iterator;function tx(e){return e===null||typeof e!="object"?null:(e=_p&&e[_p]||e["@@iterator"],typeof e=="function"?e:null)}var Cv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},kv=Object.assign,Ev={};function Wo(e,t,n){this.props=e,this.context=t,this.refs=Ev,this.updater=n||Cv}Wo.prototype.isReactComponent={};Wo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Wo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Pv(){}Pv.prototype=Wo.prototype;function Pd(e,t,n){this.props=e,this.context=t,this.refs=Ev,this.updater=n||Cv}var Rd=Pd.prototype=new Pv;Rd.constructor=Pd;kv(Rd,Wo.prototype);Rd.isPureReactComponent=!0;var Mp=Array.isArray,Rv=Object.prototype.hasOwnProperty,$d={current:null},$v={key:!0,ref:!0,__self:!0,__source:!0};function Tv(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Rv.call(t,r)&&!$v.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1>>1,K=R[G];if(0>>1;G<$e;){var te=2*(G+1)-1,oe=R[te],le=te+1,we=R[le];if(0>o(oe,A))leo(we,oe)?(R[G]=we,R[le]=A,G=le):(R[G]=oe,R[te]=A,G=te);else if(leo(we,A))R[G]=we,R[le]=A,G=le;else break e}}return _}function o(R,_){var A=R.sortIndex-_.sortIndex;return A!==0?A:R.id-_.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,h=3,x=!1,g=!1,v=!1,w=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(R){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=R)r(u),_.sortIndex=_.expirationTime,t(l,_);else break;_=n(u)}}function S(R){if(v=!1,m(R),!g)if(n(l)!==null)g=!0,I(k);else{var _=n(u);_!==null&&D(S,_.startTime-R)}}function k(R,_){g=!1,v&&(v=!1,f($),$=-1),x=!0;var A=h;try{for(m(_),d=n(l);d!==null&&(!(d.expirationTime>_)||R&&!M());){var G=d.callback;if(typeof G=="function"){d.callback=null,h=d.priorityLevel;var K=G(d.expirationTime<=_);_=e.unstable_now(),typeof K=="function"?d.callback=K:d===n(l)&&r(l),m(_)}else r(l);d=n(l)}if(d!==null)var $e=!0;else{var te=n(u);te!==null&&D(S,te.startTime-_),$e=!1}return $e}finally{d=null,h=A,x=!1}}var P=!1,E=null,$=-1,O=5,T=-1;function M(){return!(e.unstable_now()-TR||125G?(R.sortIndex=A,t(u,R),n(l)===null&&R===n(u)&&(v?(f($),$=-1):v=!0,D(S,A-G))):(R.sortIndex=K,t(l,R),g||x||(g=!0,I(k))),R},e.unstable_shouldYield=M,e.unstable_wrapCallback=function(R){var _=h;return function(){var A=h;h=_;try{return R.apply(this,arguments)}finally{h=A}}}})(jv);Iv.exports=jv;var fx=Iv.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var px=y,Rt=fx;function j(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hc=Object.prototype.hasOwnProperty,hx=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,jp={},Np={};function mx(e){return hc.call(Np,e)?!0:hc.call(jp,e)?!1:hx.test(e)?Np[e]=!0:(jp[e]=!0,!1)}function vx(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function gx(e,t,n,r){if(t===null||typeof t>"u"||vx(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ct(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Ye={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ye[e]=new ct(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ye[t]=new ct(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ye[e]=new ct(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ye[e]=new ct(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ye[e]=new ct(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ye[e]=new ct(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ye[e]=new ct(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ye[e]=new ct(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ye[e]=new ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var Od=/[\-:]([a-z])/g;function _d(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Od,_d);Ye[t]=new ct(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Od,_d);Ye[t]=new ct(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Od,_d);Ye[t]=new ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ye[e]=new ct(e,1,!1,e.toLowerCase(),null,!1,!1)});Ye.xlinkHref=new ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ye[e]=new ct(e,1,!1,e.toLowerCase(),null,!0,!0)});function Md(e,t,n,r){var o=Ye.hasOwnProperty(t)?Ye[t]:null;(o!==null?o.type!==0:r||!(2a||o[s]!==i[a]){var l=`
`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Pu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?wi(e):""}function yx(e){switch(e.tag){case 5:return wi(e.type);case 16:return wi("Lazy");case 13:return wi("Suspense");case 19:return wi("SuspenseList");case 0:case 2:case 15:return e=Ru(e.type,!1),e;case 11:return e=Ru(e.type.render,!1),e;case 1:return e=Ru(e.type,!0),e;default:return""}}function yc(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 so:return"Fragment";case io:return"Portal";case mc:return"Profiler";case Id:return"StrictMode";case vc:return"Suspense";case gc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zv:return(e.displayName||"Context")+".Consumer";case Lv:return(e._context.displayName||"Context")+".Provider";case jd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Nd:return t=e.displayName||null,t!==null?t:yc(e.type)||"Memo";case Xn:t=e._payload,e=e._init;try{return yc(e(t))}catch{}}return null}function xx(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 yc(t);case 8:return t===Id?"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 pr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Dv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sx(e){var t=Dv(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 zs(e){e._valueTracker||(e._valueTracker=Sx(e))}function Bv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Dv(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Oa(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 xc(e,t){var n=t.checked;return Re({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function zp(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=pr(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 Fv(e,t){t=t.checked,t!=null&&Md(e,"checked",t,!1)}function Sc(e,t){Fv(e,t);var n=pr(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")?wc(e,t.type,n):t.hasOwnProperty("defaultValue")&&wc(e,t.type,pr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ap(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 wc(e,t,n){(t!=="number"||Oa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bi=Array.isArray;function xo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=As.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Bi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pi={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},wx=["Webkit","ms","Moz","O"];Object.keys(Pi).forEach(function(e){wx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pi[t]=Pi[e]})});function Vv(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pi.hasOwnProperty(e)&&Pi[e]?(""+t).trim():t+"px"}function Gv(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Vv(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var bx=Re({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 kc(e,t){if(t){if(bx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Ec(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 Pc=null;function Ld(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Rc=null,So=null,wo=null;function Fp(e){if(e=xs(e)){if(typeof Rc!="function")throw Error(j(280));var t=e.stateNode;t&&(t=vl(t),Rc(e.stateNode,e.type,t))}}function Kv(e){So?wo?wo.push(e):wo=[e]:So=e}function Qv(){if(So){var e=So,t=wo;if(wo=So=null,Fp(e),t)for(e=0;e>>=0,e===0?32:31-(Ix(e)/jx|0)|0}var Ds=64,Bs=4194304;function Ci(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 ja(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 a=s&~o;a!==0?r=Ci(a):(i&=s,i!==0&&(r=Ci(i)))}else s=n&~o,s!==0?r=Ci(s):i!==0&&(r=Ci(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 gs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-un(t),e[t]=n}function Ax(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=$i),Yp=" ",qp=!1;function hg(e,t){switch(e){case"keyup":return f2.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function mg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ao=!1;function h2(e,t){switch(e){case"compositionend":return mg(t);case"keypress":return t.which!==32?null:(qp=!0,Yp);case"textInput":return e=t.data,e===Yp&&qp?null:e;default:return null}}function m2(e,t){if(ao)return e==="compositionend"||!Hd&&hg(e,t)?(e=fg(),da=Fd=er=null,ao=!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=th(n)}}function xg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sg(){for(var e=window,t=Oa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Oa(e.document)}return t}function Vd(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 k2(e){var t=Sg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&xg(n.ownerDocument.documentElement,n)){if(r!==null&&Vd(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=nh(n,i);var s=nh(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,lo=null,Ic=null,Oi=null,jc=!1;function rh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jc||lo==null||lo!==Oa(r)||(r=lo,"selectionStart"in r&&Vd(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}),Oi&&Gi(Oi,r)||(Oi=r,r=za(Ic,"onSelect"),0fo||(e.current=Bc[fo],Bc[fo]=null,fo--)}function ye(e,t){fo++,Bc[fo]=e.current,e.current=t}var hr={},ot=yr(hr),pt=yr(!1),Lr=hr;function $o(e,t){var n=e.type.contextTypes;if(!n)return hr;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 ht(e){return e=e.childContextTypes,e!=null}function Da(){Se(pt),Se(ot)}function ch(e,t,n){if(ot.current!==hr)throw Error(j(168));ye(ot,t),ye(pt,n)}function Tg(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(j(108,xx(e)||"Unknown",o));return Re({},n,r)}function Ba(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hr,Lr=ot.current,ye(ot,e),ye(pt,pt.current),!0}function dh(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Tg(e,t,Lr),r.__reactInternalMemoizedMergedChildContext=e,Se(pt),Se(ot),ye(ot,e)):Se(pt),ye(pt,n)}var Mn=null,gl=!1,Fu=!1;function Og(e){Mn===null?Mn=[e]:Mn.push(e)}function L2(e){gl=!0,Og(e)}function xr(){if(!Fu&&Mn!==null){Fu=!0;var e=0,t=ce;try{var n=Mn;for(ce=1;e>=s,o-=s,jn=1<<32-un(t)+o|n<$?(O=E,E=null):O=E.sibling;var T=h(f,E,m[$],S);if(T===null){E===null&&(E=O);break}e&&E&&T.alternate===null&&t(f,E),p=i(T,p,$),P===null?k=T:P.sibling=T,P=T,E=O}if($===m.length)return n(f,E),Ce&&kr(f,$),k;if(E===null){for(;$$?(O=E,E=null):O=E.sibling;var M=h(f,E,T.value,S);if(M===null){E===null&&(E=O);break}e&&E&&M.alternate===null&&t(f,E),p=i(M,p,$),P===null?k=M:P.sibling=M,P=M,E=O}if(T.done)return n(f,E),Ce&&kr(f,$),k;if(E===null){for(;!T.done;$++,T=m.next())T=d(f,T.value,S),T!==null&&(p=i(T,p,$),P===null?k=T:P.sibling=T,P=T);return Ce&&kr(f,$),k}for(E=r(f,E);!T.done;$++,T=m.next())T=x(E,f,$,T.value,S),T!==null&&(e&&T.alternate!==null&&E.delete(T.key===null?$:T.key),p=i(T,p,$),P===null?k=T:P.sibling=T,P=T);return e&&E.forEach(function(N){return t(f,N)}),Ce&&kr(f,$),k}function w(f,p,m,S){if(typeof m=="object"&&m!==null&&m.type===so&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Ls:e:{for(var k=m.key,P=p;P!==null;){if(P.key===k){if(k=m.type,k===so){if(P.tag===7){n(f,P.sibling),p=o(P,m.props.children),p.return=f,f=p;break e}}else if(P.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Xn&&hh(k)===P.type){n(f,P.sibling),p=o(P,m.props),p.ref=fi(f,P,m),p.return=f,f=p;break e}n(f,P);break}else t(f,P);P=P.sibling}m.type===so?(p=jr(m.props.children,f.mode,S,m.key),p.return=f,f=p):(S=xa(m.type,m.key,m.props,null,f.mode,S),S.ref=fi(f,p,m),S.return=f,f=S)}return s(f);case io:e:{for(P=m.key;p!==null;){if(p.key===P)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){n(f,p.sibling),p=o(p,m.children||[]),p.return=f,f=p;break e}else{n(f,p);break}else t(f,p);p=p.sibling}p=Xu(m,f.mode,S),p.return=f,f=p}return s(f);case Xn:return P=m._init,w(f,p,P(m._payload),S)}if(bi(m))return g(f,p,m,S);if(ai(m))return v(f,p,m,S);Ks(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(n(f,p.sibling),p=o(p,m),p.return=f,f=p):(n(f,p),p=Qu(m,f.mode,S),p.return=f,f=p),s(f)):n(f,p)}return w}var Oo=jg(!0),Ng=jg(!1),Wa=yr(null),Ha=null,mo=null,Xd=null;function Yd(){Xd=mo=Ha=null}function qd(e){var t=Wa.current;Se(Wa),e._currentValue=t}function Wc(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 Co(e,t){Ha=e,Xd=mo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ft=!0),e.firstContext=null)}function Kt(e){var t=e._currentValue;if(Xd!==e)if(e={context:e,memoizedValue:t,next:null},mo===null){if(Ha===null)throw Error(j(308));mo=e,Ha.dependencies={lanes:0,firstContext:e}}else mo=mo.next=e;return t}var Tr=null;function Zd(e){Tr===null?Tr=[e]:Tr.push(e)}function Lg(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Zd(t)):(n.next=o.next,o.next=n),t.interleaved=n,Dn(e,r)}function Dn(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 Yn=!1;function Jd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zg(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 Ln(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function lr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,re&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Dn(e,n)}return o=r.interleaved,o===null?(t.next=t,Zd(r)):(t.next=o.next,o.next=t),r.interleaved=t,Dn(e,n)}function pa(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,Ad(e,n)}}function mh(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 Va(e,t,n,r){var o=e.updateQueue;Yn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var h=a.lane,x=a.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:x,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var g=e,v=a;switch(h=t,x=n,v.tag){case 1:if(g=v.payload,typeof g=="function"){d=g.call(x,d,h);break e}d=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=v.payload,h=typeof g=="function"?g.call(x,d,h):g,h==null)break e;d=Re({},d,h);break e;case 2:Yn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else x={eventTime:x,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=x,l=d):c=c.next=x,s|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,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);Dr|=s,e.lanes=s,e.memoizedState=d}}function vh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Wu.transition;Wu.transition={};try{e(!1),t()}finally{ce=n,Wu.transition=r}}function e0(){return Qt().memoizedState}function B2(e,t,n){var r=cr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},t0(e))n0(t,n);else if(n=Lg(e,t,n,r),n!==null){var o=lt();cn(n,e,r,o),r0(n,t,r)}}function F2(e,t,n){var r=cr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(t0(e))n0(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,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,fn(a,s)){var l=t.interleaved;l===null?(o.next=o,Zd(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Lg(e,t,o,r),n!==null&&(o=lt(),cn(n,e,r,o),r0(n,t,r))}}function t0(e){var t=e.alternate;return e===Pe||t!==null&&t===Pe}function n0(e,t){_i=Ka=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function r0(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ad(e,n)}}var Qa={readContext:Kt,useCallback:Je,useContext:Je,useEffect:Je,useImperativeHandle:Je,useInsertionEffect:Je,useLayoutEffect:Je,useMemo:Je,useReducer:Je,useRef:Je,useState:Je,useDebugValue:Je,useDeferredValue:Je,useTransition:Je,useMutableSource:Je,useSyncExternalStore:Je,useId:Je,unstable_isNewReconciler:!1},U2={readContext:Kt,useCallback:function(e,t){return xn().memoizedState=[e,t===void 0?null:t],e},useContext:Kt,useEffect:yh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ma(4194308,4,Xg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ma(4194308,4,e,t)},useInsertionEffect:function(e,t){return ma(4,2,e,t)},useMemo:function(e,t){var n=xn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xn();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=B2.bind(null,Pe,e),[r.memoizedState,e]},useRef:function(e){var t=xn();return e={current:e},t.memoizedState=e},useState:gh,useDebugValue:lf,useDeferredValue:function(e){return xn().memoizedState=e},useTransition:function(){var e=gh(!1),t=e[0];return e=D2.bind(null,e[1]),xn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Pe,o=xn();if(Ce){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),He===null)throw Error(j(349));Ar&30||Fg(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,yh(Wg.bind(null,r,i,e),[e]),r.flags|=2048,es(9,Ug.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=xn(),t=He.identifierPrefix;if(Ce){var n=Nn,r=jn;n=(r&~(1<<32-un(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[Cn]=t,e[Xi]=r,p0(e,t,!1,!1),t.stateNode=e;e:{switch(s=Ec(n,r),n){case"dialog":xe("cancel",e),xe("close",e),o=r;break;case"iframe":case"object":case"embed":xe("load",e),o=r;break;case"video":case"audio":for(o=0;oIo&&(t.flags|=128,r=!0,pi(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ga(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),pi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Ce)return et(t),null}else 2*Me()-i.renderingStartTime>Io&&n!==1073741824&&(t.flags|=128,r=!0,pi(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=Me(),t.sibling=null,n=Ee.current,ye(Ee,r?n&1|2:n&1),t):(et(t),null);case 22:case 23:return hf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?bt&1073741824&&(et(t),t.subtreeFlags&6&&(t.flags|=8192)):et(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function Y2(e,t){switch(Kd(t),t.tag){case 1:return ht(t.type)&&Da(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _o(),Se(pt),Se(ot),nf(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return tf(t),null;case 13:if(Se(Ee),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));To()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Se(Ee),null;case 4:return _o(),null;case 10:return qd(t.type._context),null;case 22:case 23:return hf(),null;case 24:return null;default:return null}}var Xs=!1,rt=!1,q2=typeof WeakSet=="function"?WeakSet:Set,U=null;function vo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){_e(e,t,r)}else n.current=null}function Zc(e,t,n){try{n()}catch(r){_e(e,t,r)}}var Th=!1;function Z2(e,t){if(Nc=Na,e=Sg(),Vd(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,a=-1,l=-1,u=0,c=0,d=e,h=null;t:for(;;){for(var x;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(x=d.firstChild)!==null;)h=d,d=x;for(;;){if(d===e)break t;if(h===n&&++u===o&&(a=s),h===i&&++c===r&&(l=s),(x=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=x}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Lc={focusedElem:e,selectionRange:n},Na=!1,U=t;U!==null;)if(t=U,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,U=e;else for(;U!==null;){t=U;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var v=g.memoizedProps,w=g.memoizedState,f=t.stateNode,p=f.getSnapshotBeforeUpdate(t.elementType===t.type?v:on(t.type,v),w);f.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(S){_e(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,U=e;break}U=t.return}return g=Th,Th=!1,g}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&&Zc(t,n,i)}o=o.next}while(o!==r)}}function Sl(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 Jc(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 v0(e){var t=e.alternate;t!==null&&(e.alternate=null,v0(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Cn],delete t[Xi],delete t[Dc],delete t[j2],delete t[N2])),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 g0(e){return e.tag===5||e.tag===3||e.tag===4}function Oh(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||g0(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 ed(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=Aa));else if(r!==4&&(e=e.child,e!==null))for(ed(e,t,n),e=e.sibling;e!==null;)ed(e,t,n),e=e.sibling}function td(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(td(e,t,n),e=e.sibling;e!==null;)td(e,t,n),e=e.sibling}var Ke=null,an=!1;function Kn(e,t,n){for(n=n.child;n!==null;)y0(e,t,n),n=n.sibling}function y0(e,t,n){if(kn&&typeof kn.onCommitFiberUnmount=="function")try{kn.onCommitFiberUnmount(fl,n)}catch{}switch(n.tag){case 5:rt||vo(n,t);case 6:var r=Ke,o=an;Ke=null,Kn(e,t,n),Ke=r,an=o,Ke!==null&&(an?(e=Ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ke.removeChild(n.stateNode));break;case 18:Ke!==null&&(an?(e=Ke,n=n.stateNode,e.nodeType===8?Bu(e.parentNode,n):e.nodeType===1&&Bu(e,n),Hi(e)):Bu(Ke,n.stateNode));break;case 4:r=Ke,o=an,Ke=n.stateNode.containerInfo,an=!0,Kn(e,t,n),Ke=r,an=o;break;case 0:case 11:case 14:case 15:if(!rt&&(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)&&Zc(n,t,s),o=o.next}while(o!==r)}Kn(e,t,n);break;case 1:if(!rt&&(vo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){_e(n,t,a)}Kn(e,t,n);break;case 21:Kn(e,t,n);break;case 22:n.mode&1?(rt=(r=rt)||n.memoizedState!==null,Kn(e,t,n),rt=r):Kn(e,t,n);break;default:Kn(e,t,n)}}function _h(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new q2),t.forEach(function(r){var o=aS.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function rn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*eS(r/1960))-r,10e?16:e,tr===null)var r=!1;else{if(e=tr,tr=null,qa=0,re&6)throw Error(j(331));var o=re;for(re|=4,U=e.current;U!==null;){var i=U,s=i.child;if(U.flags&16){var a=i.deletions;if(a!==null){for(var l=0;lMe()-ff?Ir(e,0):df|=n),mt(e,t)}function P0(e,t){t===0&&(e.mode&1?(t=Bs,Bs<<=1,!(Bs&130023424)&&(Bs=4194304)):t=1);var n=lt();e=Dn(e,t),e!==null&&(gs(e,t,n),mt(e,n))}function sS(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),P0(e,n)}function aS(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(j(314))}r!==null&&r.delete(t),P0(e,n)}var R0;R0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pt.current)ft=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ft=!1,Q2(e,t,n);ft=!!(e.flags&131072)}else ft=!1,Ce&&t.flags&1048576&&_g(t,Ua,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;va(e,t),e=t.pendingProps;var o=$o(t,ot.current);Co(t,n),o=of(null,t,r,e,o,n);var i=sf();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,ht(r)?(i=!0,Ba(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Jd(t),o.updater=xl,t.stateNode=o,o._reactInternals=t,Vc(t,r,e,n),t=Qc(null,t,r,!0,i,n)):(t.tag=0,Ce&&i&&Gd(t),st(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(va(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=uS(r),e=on(r,e),o){case 0:t=Kc(null,t,r,e,n);break e;case 1:t=Ph(null,t,r,e,n);break e;case 11:t=kh(null,t,r,e,n);break e;case 14:t=Eh(null,t,r,on(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:on(r,o),Kc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:on(r,o),Ph(e,t,r,o,n);case 3:e:{if(c0(t),e===null)throw Error(j(387));r=t.pendingProps,i=t.memoizedState,o=i.element,zg(e,t),Va(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=Mo(Error(j(423)),t),t=Rh(e,t,r,n,o);break e}else if(r!==o){o=Mo(Error(j(424)),t),t=Rh(e,t,r,n,o);break e}else for(kt=ar(t.stateNode.containerInfo.firstChild),Et=t,Ce=!0,ln=null,n=Ng(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(To(),r===o){t=Bn(e,t,n);break e}st(e,t,r,n)}t=t.child}return t;case 5:return Ag(t),e===null&&Uc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,zc(r,o)?s=null:i!==null&&zc(r,i)&&(t.flags|=32),u0(e,t),st(e,t,s,n),t.child;case 6:return e===null&&Uc(t),null;case 13:return d0(e,t,n);case 4:return ef(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Oo(t,null,r,n):st(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:on(r,o),kh(e,t,r,o,n);case 7:return st(e,t,t.pendingProps,n),t.child;case 8:return st(e,t,t.pendingProps.children,n),t.child;case 12:return st(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,ye(Wa,r._currentValue),r._currentValue=s,i!==null)if(fn(i.value,s)){if(i.children===o.children&&!pt.current){t=Bn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Ln(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Wc(i.return,n,t),a.lanes|=n;break}l=l.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(j(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Wc(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}st(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Co(t,n),o=Kt(o),r=r(o),t.flags|=1,st(e,t,r,n),t.child;case 14:return r=t.type,o=on(r,t.pendingProps),o=on(r.type,o),Eh(e,t,r,o,n);case 15:return a0(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:on(r,o),va(e,t),t.tag=1,ht(r)?(e=!0,Ba(t)):e=!1,Co(t,n),o0(t,r,o),Vc(t,r,o,n),Qc(null,t,r,!0,e,n);case 19:return f0(e,t,n);case 22:return l0(e,t,n)}throw Error(j(156,t.tag))};function $0(e,t){return tg(e,t)}function lS(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 Ut(e,t,n,r){return new lS(e,t,n,r)}function vf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function uS(e){if(typeof e=="function")return vf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===jd)return 11;if(e===Nd)return 14}return 2}function dr(e,t){var n=e.alternate;return n===null?(n=Ut(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 xa(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")vf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case so:return jr(n.children,o,i,t);case Id:s=8,o|=8;break;case mc:return e=Ut(12,n,t,o|2),e.elementType=mc,e.lanes=i,e;case vc:return e=Ut(13,n,t,o),e.elementType=vc,e.lanes=i,e;case gc:return e=Ut(19,n,t,o),e.elementType=gc,e.lanes=i,e;case Av:return bl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Lv:s=10;break e;case zv:s=9;break e;case jd:s=11;break e;case Nd:s=14;break e;case Xn:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=Ut(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function jr(e,t,n,r){return e=Ut(7,e,r,t),e.lanes=n,e}function bl(e,t,n,r){return e=Ut(22,e,r,t),e.elementType=Av,e.lanes=n,e.stateNode={isHidden:!1},e}function Qu(e,t,n){return e=Ut(6,e,null,t),e.lanes=n,e}function Xu(e,t,n){return t=Ut(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cS(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=Tu(0),this.expirationTimes=Tu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Tu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function gf(e,t,n,r,o,i,s,a,l){return e=new cS(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ut(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jd(i),e}function dS(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(M0)}catch(e){console.error(e)}}M0(),Mv.exports=Tt;var wf=Mv.exports;const Zs=Ed(wf);var Dh=wf;pc.createRoot=Dh.createRoot,pc.hydrateRoot=Dh.hydrateRoot;/**
* @remix-run/router v1.18.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function ns(){return ns=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function bf(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function gS(){return Math.random().toString(36).substr(2,8)}function Fh(e,t){return{usr:e.state,key:e.key,idx:t}}function sd(e,t,n,r){return n===void 0&&(n=null),ns({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Vr(t):t,{state:n,key:t&&t.key||r||gS()})}function el(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Vr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function yS(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=nr.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(ns({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=nr.Pop;let w=c(),f=w==null?null:w-u;u=w,l&&l({action:a,location:v.location,delta:f})}function h(w,f){a=nr.Push;let p=sd(v.location,w,f);n&&n(p,w),u=c()+1;let m=Fh(p,u),S=v.createHref(p);try{s.pushState(m,"",S)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(S)}i&&l&&l({action:a,location:v.location,delta:1})}function x(w,f){a=nr.Replace;let p=sd(v.location,w,f);n&&n(p,w),u=c();let m=Fh(p,u),S=v.createHref(p);s.replaceState(m,"",S),i&&l&&l({action:a,location:v.location,delta:0})}function g(w){let f=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof w=="string"?w:el(w);return p=p.replace(/ $/,"%20"),Ie(f,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,f)}let v={get action(){return a},get location(){return e(o,s)},listen(w){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Bh,d),l=w,()=>{o.removeEventListener(Bh,d),l=null}},createHref(w){return t(o,w)},createURL:g,encodeLocation(w){let f=g(w);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:h,replace:x,go(w){return s.go(w)}};return v}var Uh;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Uh||(Uh={}));function xS(e,t,n){return n===void 0&&(n="/"),SS(e,t,n,!1)}function SS(e,t,n,r){let o=typeof t=="string"?Vr(t):t,i=Cf(o.pathname||"/",n);if(i==null)return null;let s=I0(e);wS(s);let a=null;for(let l=0;a==null&&l{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(Ie(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=fr([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(Ie(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),I0(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:$S(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of j0(i.path))o(i,s,l)}),t}function j0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=j0(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function wS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:TS(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const bS=/^:[\w-]+$/,CS=3,kS=2,ES=1,PS=10,RS=-2,Wh=e=>e==="*";function $S(e,t){let n=e.split("/"),r=n.length;return n.some(Wh)&&(r+=RS),t&&(r+=kS),n.filter(o=>!Wh(o)).reduce((o,i)=>o+(bS.test(i)?CS:i===""?ES:PS),r)}function TS(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function OS(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a{let{paramName:h,isOptional:x}=c;if(h==="*"){let v=a[d]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const g=a[d];return x&&!g?u[h]=void 0:u[h]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function _S(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),bf(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function MS(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return bf(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Cf(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function IS(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Vr(e):e;return{pathname:n?n.startsWith("/")?n:jS(n,t):t,search:zS(r),hash:AS(o)}}function jS(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Yu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function NS(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function kf(e,t){let n=NS(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Ef(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Vr(e):(o=ns({},e),Ie(!o.pathname||!o.pathname.includes("?"),Yu("?","pathname","search",o)),Ie(!o.pathname||!o.pathname.includes("#"),Yu("#","pathname","hash",o)),Ie(!o.search||!o.search.includes("#"),Yu("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),d-=1;o.pathname=h.join("/")}a=d>=0?t[d]:"/"}let l=IS(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const fr=e=>e.join("/").replace(/\/\/+/g,"/"),LS=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),zS=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,AS=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function DS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const N0=["post","put","patch","delete"];new Set(N0);const BS=["get",...N0];new Set(BS);/**
* React Router v6.25.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function rs(){return rs=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),y.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Ef(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:fr([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}function D0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=y.useContext(Sr),{matches:o}=y.useContext(wr),{pathname:i}=Ko(),s=JSON.stringify(kf(o,r.v7_relativeSplatPath));return y.useMemo(()=>Ef(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function HS(e,t){return VS(e,t)}function VS(e,t,n,r){Go()||Ie(!1);let{navigator:o}=y.useContext(Sr),{matches:i}=y.useContext(wr),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=Ko(),c;if(t){var d;let w=typeof t=="string"?Vr(t):t;l==="/"||(d=w.pathname)!=null&&d.startsWith(l)||Ie(!1),c=w}else c=u;let h=c.pathname||"/",x=h;if(l!=="/"){let w=l.replace(/^\//,"").split("/");x="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let g=xS(e,{pathname:x}),v=YS(g&&g.map(w=>Object.assign({},w,{params:Object.assign({},a,w.params),pathname:fr([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:fr([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&v?y.createElement(Rl.Provider,{value:{location:rs({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:nr.Pop}},v):v}function GS(){let e=ew(),t=DS(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:o},n):null,null)}const KS=y.createElement(GS,null);class QS extends y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?y.createElement(wr.Provider,{value:this.props.routeContext},y.createElement(L0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function XS(e){let{routeContext:t,match:n,children:r}=e,o=y.useContext(Pf);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),y.createElement(wr.Provider,{value:t},r)}function YS(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if((i=n)!=null&&i.errors)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||Ie(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,h)=>{let x,g=!1,v=null,w=null;n&&(x=a&&d.route.id?a[d.route.id]:void 0,v=d.route.errorElement||KS,l&&(u<0&&h===0?(g=!0,w=null):u===h&&(g=!0,w=d.route.hydrateFallbackElement||null)));let f=t.concat(s.slice(0,h+1)),p=()=>{let m;return x?m=v:g?m=w:d.route.Component?m=y.createElement(d.route.Component,null):d.route.element?m=d.route.element:m=c,y.createElement(XS,{match:d,routeContext:{outlet:c,matches:f,isDataRoute:n!=null},children:m})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?y.createElement(QS,{location:n.location,revalidation:n.revalidation,component:v,error:x,children:p(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):p()},null)}var B0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(B0||{}),tl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(tl||{});function qS(e){let t=y.useContext(Pf);return t||Ie(!1),t}function ZS(e){let t=y.useContext(FS);return t||Ie(!1),t}function JS(e){let t=y.useContext(wr);return t||Ie(!1),t}function F0(e){let t=JS(),n=t.matches[t.matches.length-1];return n.route.id||Ie(!1),n.route.id}function ew(){var e;let t=y.useContext(L0),n=ZS(tl.UseRouteError),r=F0(tl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function tw(){let{router:e}=qS(B0.UseNavigateStable),t=F0(tl.UseNavigateStable),n=y.useRef(!1);return z0(()=>{n.current=!0}),y.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,rs({fromRouteId:t},i)))},[e,t])}function nw(e){let{to:t,replace:n,state:r,relative:o}=e;Go()||Ie(!1);let{future:i,static:s}=y.useContext(Sr),{matches:a}=y.useContext(wr),{pathname:l}=Ko(),u=A0(),c=Ef(t,kf(a,i.v7_relativeSplatPath),l,o==="path"),d=JSON.stringify(c);return y.useEffect(()=>u(JSON.parse(d),{replace:n,state:r,relative:o}),[u,d,o,n,r]),null}function Sa(e){Ie(!1)}function rw(e){let{basename:t="/",children:n=null,location:r,navigationType:o=nr.Pop,navigator:i,static:s=!1,future:a}=e;Go()&&Ie(!1);let l=t.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:l,navigator:i,static:s,future:rs({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Vr(r));let{pathname:c="/",search:d="",hash:h="",state:x=null,key:g="default"}=r,v=y.useMemo(()=>{let w=Cf(c,l);return w==null?null:{location:{pathname:w,search:d,hash:h,state:x,key:g},navigationType:o}},[l,c,d,h,x,g,o]);return v==null?null:y.createElement(Sr.Provider,{value:u},y.createElement(Rl.Provider,{children:n,value:v}))}function ow(e){let{children:t,location:n}=e;return HS(ad(t),n)}new Promise(()=>{});function ad(e,t){t===void 0&&(t=[]);let n=[];return y.Children.forEach(e,(r,o)=>{if(!y.isValidElement(r))return;let i=[...t,o];if(r.type===y.Fragment){n.push.apply(n,ad(r.props.children,i));return}r.type!==Sa&&Ie(!1),!r.props.index||!r.props.children||Ie(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ad(r.props.children,i)),n.push(s)}),n}/**
* React Router DOM v6.25.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function ld(){return ld=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function sw(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function aw(e,t){return e.button===0&&(!t||t==="_self")&&!sw(e)}const lw=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],uw="6";try{window.__reactRouterVersion=uw}catch{}const cw="startTransition",Vh=Ta[cw];function dw(e){let{basename:t,children:n,future:r,window:o}=e,i=y.useRef();i.current==null&&(i.current=vS({window:o,v5Compat:!0}));let s=i.current,[a,l]=y.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=y.useCallback(d=>{u&&Vh?Vh(()=>l(d)):l(d)},[l,u]);return y.useLayoutEffect(()=>s.listen(c),[s,c]),y.createElement(rw,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const fw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hw=y.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,h=iw(t,lw),{basename:x}=y.useContext(Sr),g,v=!1;if(typeof u=="string"&&pw.test(u)&&(g=u,fw))try{let m=new URL(window.location.href),S=u.startsWith("//")?new URL(m.protocol+u):new URL(u),k=Cf(S.pathname,x);S.origin===m.origin&&k!=null?u=k+S.search+S.hash:v=!0}catch{}let w=US(u,{relative:o}),f=mw(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o,unstable_viewTransition:d});function p(m){r&&r(m),m.defaultPrevented||f(m)}return y.createElement("a",ld({},h,{href:g||w,onClick:v||i?r:p,ref:n,target:l}))});var Gh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Gh||(Gh={}));var Kh;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Kh||(Kh={}));function mw(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=A0(),u=Ko(),c=D0(e,{relative:s});return y.useCallback(d=>{if(aw(d,n)){d.preventDefault();let h=r!==void 0?r:el(u)===el(c);l(e,{replace:h,state:o,preventScrollReset:i,relative:s,unstable_viewTransition:a})}},[u,l,c,r,o,n,e,i,s,a])}const os={black:"#000",white:"#fff"},Yr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},qr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Zr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Jr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},eo={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},mi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},vw={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function is(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n0?Qe(Qo,--yt):0,No--,ze===10&&(No=1,Tl--),ze}function Pt(){return ze=yt2||as(ze)>3?"":" "}function jw(e,t){for(;--t&&Pt()&&!(ze<48||ze>102||ze>57&&ze<65||ze>70&&ze<97););return ws(e,wa()+(t<6&&Pn()==32&&Pt()==32))}function cd(e){for(;Pt();)switch(ze){case e:return yt;case 34:case 39:e!==34&&e!==39&&cd(ze);break;case 40:e===41&&cd(e);break;case 92:Pt();break}return yt}function Nw(e,t){for(;Pt()&&e+ze!==57;)if(e+ze===84&&Pn()===47)break;return"/*"+ws(t,yt-1)+"*"+$l(e===47?e:Pt())}function Lw(e){for(;!as(Pn());)Pt();return ws(e,yt)}function zw(e){return Q0(Ca("",null,null,null,[""],e=K0(e),0,[0],e))}function Ca(e,t,n,r,o,i,s,a,l){for(var u=0,c=0,d=s,h=0,x=0,g=0,v=1,w=1,f=1,p=0,m="",S=o,k=i,P=r,E=m;w;)switch(g=p,p=Pt()){case 40:if(g!=108&&Qe(E,d-1)==58){ud(E+=se(ba(p),"&","&\f"),"&\f")!=-1&&(f=-1);break}case 34:case 39:case 91:E+=ba(p);break;case 9:case 10:case 13:case 32:E+=Iw(g);break;case 92:E+=jw(wa()-1,7);continue;case 47:switch(Pn()){case 42:case 47:Js(Aw(Nw(Pt(),wa()),t,n),l);break;default:E+="/"}break;case 123*v:a[u++]=Sn(E)*f;case 125*v:case 59:case 0:switch(p){case 0:case 125:w=0;case 59+c:f==-1&&(E=se(E,/\f/g,"")),x>0&&Sn(E)-d&&Js(x>32?Xh(E+";",r,n,d-1):Xh(se(E," ","")+";",r,n,d-2),l);break;case 59:E+=";";default:if(Js(P=Qh(E,t,n,u,c,o,a,m,S=[],k=[],d),i),p===123)if(c===0)Ca(E,t,P,P,S,i,d,a,k);else switch(h===99&&Qe(E,3)===110?100:h){case 100:case 108:case 109:case 115:Ca(e,P,P,r&&Js(Qh(e,P,P,0,0,o,a,m,o,S=[],d),k),o,k,d,a,r?S:k);break;default:Ca(E,P,P,P,[""],k,0,a,k)}}u=c=x=0,v=f=1,m=E="",d=s;break;case 58:d=1+Sn(E),x=g;default:if(v<1){if(p==123)--v;else if(p==125&&v++==0&&Mw()==125)continue}switch(E+=$l(p),p*v){case 38:f=c>0?1:(E+="\f",-1);break;case 44:a[u++]=(Sn(E)-1)*f,f=1;break;case 64:Pn()===45&&(E+=ba(Pt())),h=Pn(),c=d=Sn(m=E+=Lw(wa())),p++;break;case 45:g===45&&Sn(E)==2&&(v=0)}}return i}function Qh(e,t,n,r,o,i,s,a,l,u,c){for(var d=o-1,h=o===0?i:[""],x=Tf(h),g=0,v=0,w=0;g0?h[f]+" "+p:se(p,/&\f/g,h[f])))&&(l[w++]=m);return Ol(e,t,n,o===0?Rf:a,l,u,c)}function Aw(e,t,n){return Ol(e,t,n,W0,$l(_w()),ss(e,2,-2),0)}function Xh(e,t,n,r){return Ol(e,t,n,$f,ss(e,0,r),ss(e,r+1,-1),r)}function Eo(e,t){for(var n="",r=Tf(e),o=0;o6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+ie+"$2-$3$1"+nl+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ud(e,"stretch")?X0(se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qe(e,t+1)!==115)break;case 6444:switch(Qe(e,Sn(e)-3-(~ud(e,"!important")&&10))){case 107:return se(e,":",":"+ie)+e;case 101:return se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ie+(Qe(e,14)===45?"inline-":"")+"box$3$1"+ie+"$2$3$1"+tt+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return ie+e+tt+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ie+e+tt+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ie+e+tt+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ie+e+tt+e+e}return e}var Kw=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case $f:t.return=X0(t.value,t.length);break;case H0:return Eo([vi(t,{value:se(t.value,"@","@"+ie)})],o);case Rf:if(t.length)return Ow(t.props,function(i){switch(Tw(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Eo([vi(t,{props:[se(i,/:(read-\w+)/,":"+nl+"$1")]})],o);case"::placeholder":return Eo([vi(t,{props:[se(i,/:(plac\w+)/,":"+ie+"input-$1")]}),vi(t,{props:[se(i,/:(plac\w+)/,":"+nl+"$1")]}),vi(t,{props:[se(i,/:(plac\w+)/,tt+"input-$1")]})],o)}return""})}},Qw=[Kw],Y0=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(v){var w=v.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||Qw,i={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var w=v.getAttribute("data-emotion").split(" "),f=1;f=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 sb={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},ab=!1,lb=/[A-Z]|^ms/g,ub=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ry=function(t){return t.charCodeAt(1)===45},qh=function(t){return t!=null&&typeof t!="boolean"},qu=U0(function(e){return ry(e)?e:e.replace(lb,"-$&").toLowerCase()}),Zh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(ub,function(r,o,i){return wn={name:o,styles:i,next:wn},o})}return sb[t]!==1&&!ry(t)&&typeof n=="number"&&n!==0?n+"px":n},cb="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ls(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 wn={name:o.name,styles:o.styles,next:wn},o.name;var i=n;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)wn={name:s.name,styles:s.styles,next:wn},s=s.next;var a=i.styles+";";return a}return db(e,t,n)}case"function":{if(e!==void 0){var l=wn,u=n(e);return wn=l,ls(e,t,u)}break}}var c=n;if(t==null)return c;var d=t[c];return d!==void 0?d:c}function db(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?vb:gb},rm=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},yb=!1,xb=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return ty(n,r,o),pb(function(){return ny(n,r,o)}),null},Sb=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 a=rm(t,n,r),l=a||nm(o),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var h=c.length,x=1;xt(Cb(o)?n:o):t;return C.jsx(mb,{styles:r})}function jf(e,t){return dd(e,t)}const cy=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},kb=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:uy,StyledEngineProvider:bb,ThemeContext:bs,css:ly,default:jf,internal_processStyles:cy,keyframes:Fl},Symbol.toStringTag,{value:"Module"}));function In(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 dy(e){if(!In(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=dy(e[n])}),t}function Vt(e,t,n={clone:!0}){const r=n.clone?b({},e):e;return In(e)&&In(t)&&Object.keys(t).forEach(o=>{In(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&In(e[o])?r[o]=Vt(e[o],t[o],n):n.clone?r[o]=In(t[o])?dy(t[o]):t[o]:r[o]=t[o]}),r}const Eb=Object.freeze(Object.defineProperty({__proto__:null,default:Vt,isPlainObject:In},Symbol.toStringTag,{value:"Module"})),Pb=["values","unit","step"],Rb=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)=>b({},n,{[r.key]:r.val}),{})};function fy(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=F(e,Pb),i=Rb(t),s=Object.keys(i);function a(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function l(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function u(h,x){const g=s.indexOf(x);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:x)-r/100}${n})`}function c(h){return s.indexOf(h)+1`@media (min-width:${Nf[e]}px)`};function pn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||om;return t.reduce((s,a,l)=>(s[i.up(i.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const i=r.breakpoints||om;return Object.keys(t).reduce((s,a)=>{if(Object.keys(i.values||Nf).indexOf(a)!==-1){const l=i.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function py(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function hy(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Tb(e,...t){const n=py(e),r=[n,...t].reduce((o,i)=>Vt(o,i),{});return hy(Object.keys(n),r)}function Ob(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function Ju({values:e,breakpoints:t,base:n}){const r=n||Ob(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((s,a,l)=>(Array.isArray(e)?(s[a]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(s[a]=e[a]!=null?e[a]:e[i],i=a):s[a]=e,s),{})}function W(e){if(typeof e!="string")throw new Error(is(7));return e.charAt(0).toUpperCase()+e.slice(1)}const _b=Object.freeze(Object.defineProperty({__proto__:null,default:W},Symbol.toStringTag,{value:"Module"}));function Lo(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=Lo(e,n)||r,t&&(o=t(o,r,e)),o}function Ne(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=Lo(l,r)||{};return pn(s,a,d=>{let h=rl(u,o,d);return d===h&&typeof d=="string"&&(h=rl(u,o,`${t}${d==="default"?"":W(d)}`,d)),n===!1?h:{[n]:h}})};return i.propTypes={},i.filterProps=[t],i}function Mb(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Ib={m:"margin",p:"padding"},jb={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},im={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Nb=Mb(e=>{if(e.length>2)if(im[e])e=im[e];else return[e];const[t,n]=e.split(""),r=Ib[t],o=jb[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Lf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],zf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Lf,...zf];function Cs(e,t,n,r){var o;const i=(o=Lo(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function Af(e){return Cs(e,"spacing",8)}function Fr(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function Lb(e,t){return n=>e.reduce((r,o)=>(r[o]=Fr(t,n),r),{})}function zb(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Nb(n),i=Lb(o,r),s=e[n];return pn(e,s,i)}function my(e,t){const n=Af(e.theme);return Object.keys(e).map(r=>zb(e,t,r,n)).reduce(Ni,{})}function Te(e){return my(e,Lf)}Te.propTypes={};Te.filterProps=Lf;function Oe(e){return my(e,zf)}Oe.propTypes={};Oe.filterProps=zf;function Ab(e=8){if(e.mui)return e;const t=Af({spacing:e}),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 Ul(...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]?Ni(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Bt(e){return typeof e!="number"?e:`${e}px solid`}function Zt(e,t){return Ne({prop:e,themeKey:"borders",transform:t})}const Db=Zt("border",Bt),Bb=Zt("borderTop",Bt),Fb=Zt("borderRight",Bt),Ub=Zt("borderBottom",Bt),Wb=Zt("borderLeft",Bt),Hb=Zt("borderColor"),Vb=Zt("borderTopColor"),Gb=Zt("borderRightColor"),Kb=Zt("borderBottomColor"),Qb=Zt("borderLeftColor"),Xb=Zt("outline",Bt),Yb=Zt("outlineColor"),Wl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Cs(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Fr(t,r)});return pn(e,e.borderRadius,n)}return null};Wl.propTypes={};Wl.filterProps=["borderRadius"];Ul(Db,Bb,Fb,Ub,Wb,Hb,Vb,Gb,Kb,Qb,Wl,Xb,Yb);const Hl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Cs(e.theme,"spacing",8),n=r=>({gap:Fr(t,r)});return pn(e,e.gap,n)}return null};Hl.propTypes={};Hl.filterProps=["gap"];const Vl=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Cs(e.theme,"spacing",8),n=r=>({columnGap:Fr(t,r)});return pn(e,e.columnGap,n)}return null};Vl.propTypes={};Vl.filterProps=["columnGap"];const Gl=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Cs(e.theme,"spacing",8),n=r=>({rowGap:Fr(t,r)});return pn(e,e.rowGap,n)}return null};Gl.propTypes={};Gl.filterProps=["rowGap"];const qb=Ne({prop:"gridColumn"}),Zb=Ne({prop:"gridRow"}),Jb=Ne({prop:"gridAutoFlow"}),eC=Ne({prop:"gridAutoColumns"}),tC=Ne({prop:"gridAutoRows"}),nC=Ne({prop:"gridTemplateColumns"}),rC=Ne({prop:"gridTemplateRows"}),oC=Ne({prop:"gridTemplateAreas"}),iC=Ne({prop:"gridArea"});Ul(Hl,Vl,Gl,qb,Zb,Jb,eC,tC,nC,rC,oC,iC);function Po(e,t){return t==="grey"?t:e}const sC=Ne({prop:"color",themeKey:"palette",transform:Po}),aC=Ne({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Po}),lC=Ne({prop:"backgroundColor",themeKey:"palette",transform:Po});Ul(sC,aC,lC);function Ct(e){return e<=1&&e!==0?`${e*100}%`:e}const uC=Ne({prop:"width",transform:Ct}),Df=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Nf[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Ct(n)}};return pn(e,e.maxWidth,t)}return null};Df.filterProps=["maxWidth"];const cC=Ne({prop:"minWidth",transform:Ct}),dC=Ne({prop:"height",transform:Ct}),fC=Ne({prop:"maxHeight",transform:Ct}),pC=Ne({prop:"minHeight",transform:Ct});Ne({prop:"size",cssProperty:"width",transform:Ct});Ne({prop:"size",cssProperty:"height",transform:Ct});const hC=Ne({prop:"boxSizing"});Ul(uC,Df,cC,dC,fC,pC,hC);const ks={border:{themeKey:"borders",transform:Bt},borderTop:{themeKey:"borders",transform:Bt},borderRight:{themeKey:"borders",transform:Bt},borderBottom:{themeKey:"borders",transform:Bt},borderLeft:{themeKey:"borders",transform:Bt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Bt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Wl},color:{themeKey:"palette",transform:Po},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Po},backgroundColor:{themeKey:"palette",transform:Po},p:{style:Oe},pt:{style:Oe},pr:{style:Oe},pb:{style:Oe},pl:{style:Oe},px:{style:Oe},py:{style:Oe},padding:{style:Oe},paddingTop:{style:Oe},paddingRight:{style:Oe},paddingBottom:{style:Oe},paddingLeft:{style:Oe},paddingX:{style:Oe},paddingY:{style:Oe},paddingInline:{style:Oe},paddingInlineStart:{style:Oe},paddingInlineEnd:{style:Oe},paddingBlock:{style:Oe},paddingBlockStart:{style:Oe},paddingBlockEnd:{style:Oe},m:{style:Te},mt:{style:Te},mr:{style:Te},mb:{style:Te},ml:{style:Te},mx:{style:Te},my:{style:Te},margin:{style:Te},marginTop:{style:Te},marginRight:{style:Te},marginBottom:{style:Te},marginLeft:{style:Te},marginX:{style:Te},marginY:{style:Te},marginInline:{style:Te},marginInlineStart:{style:Te},marginInlineEnd:{style:Te},marginBlock:{style:Te},marginBlockStart:{style:Te},marginBlockEnd:{style:Te},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:Hl},rowGap:{style:Gl},columnGap:{style:Vl},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ct},maxWidth:{style:Df},minWidth:{transform:Ct},height:{transform:Ct},maxHeight:{transform:Ct},minHeight:{transform:Ct},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function mC(...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 vC(e,t){return typeof e=="function"?e(t):e}function vy(){function e(n,r,o,i){const s={[n]:r,theme:o},a=i[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const h=Lo(o,u)||{};return d?d(s):pn(s,r,g=>{let v=rl(h,c,g);return g===v&&typeof g=="string"&&(v=rl(h,c,`${n}${g==="default"?"":W(g)}`,g)),l===!1?v:{[l]:v}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:ks;function a(l){let u=l;if(typeof l=="function")u=l(i);else if(typeof l!="object")return l;if(!u)return null;const c=py(i.breakpoints),d=Object.keys(c);let h=c;return Object.keys(u).forEach(x=>{const g=vC(u[x],i);if(g!=null)if(typeof g=="object")if(s[x])h=Ni(h,e(x,g,i,s));else{const v=pn({theme:i},g,w=>({[x]:w}));mC(v,g)?h[x]=t({sx:g,theme:i}):h=Ni(h,v)}else h=Ni(h,e(x,g,i,s))}),hy(d,h)}return Array.isArray(o)?o.map(a):a(o)}return t}const Xo=vy();Xo.filterProps=["sx"];function gy(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const gC=["breakpoints","palette","spacing","shape"];function Gr(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=F(e,gC),a=fy(n),l=Ab(o);let u=Vt({breakpoints:a,direction:"ltr",components:{},palette:b({mode:"light"},r),spacing:l,shape:b({},$b,i)},s);return u.applyStyles=gy,u=t.reduce((c,d)=>Vt(c,d),u),u.unstable_sxConfig=b({},ks,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Xo({sx:d,theme:this})},u}const yC=Object.freeze(Object.defineProperty({__proto__:null,default:Gr,private_createBreakpoints:fy,unstable_applyStyles:gy},Symbol.toStringTag,{value:"Module"}));function xC(e){return Object.keys(e).length===0}function Bf(e=null){const t=y.useContext(bs);return!t||xC(t)?e:t}const SC=Gr();function Es(e=SC){return Bf(e)}function wC({styles:e,themeId:t,defaultTheme:n={}}){const r=Es(n),o=typeof e=="function"?e(t&&r[t]||r):e;return C.jsx(uy,{styles:o})}const bC=["sx"],CC=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:ks;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function Ps(e){const{sx:t}=e,n=F(e,bC),{systemProps:r,otherProps:o}=CC(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const a=t(...s);return In(a)?b({},r,a):r}:i=b({},r,t),b({},o,{sx:i})}const kC=Object.freeze(Object.defineProperty({__proto__:null,default:Xo,extendSxProp:Ps,unstable_createStyleFunctionSx:vy,unstable_defaultSxConfig:ks},Symbol.toStringTag,{value:"Module"})),sm=e=>e,EC=()=>{let e=sm;return{configure(t){e=t},generate(t){return e(t)},reset(){e=sm}}},Ff=EC();function yy(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;ta!=="theme"&&a!=="sx"&&a!=="as"})(Xo);return y.forwardRef(function(l,u){const c=Es(n),d=Ps(l),{className:h,component:x="div"}=d,g=F(d,PC);return C.jsx(i,b({as:x,ref:u,className:V(h,o?o(r):r),theme:t&&c[t]||c},g))})}const $C={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function X(e,t,n="Mui"){const r=$C[t];return r?`${n}-${r}`:`${Ff.generate(e)}-${t}`}function q(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=X(e,o,n)}),r}var xy={exports:{}},fe={};/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Uf=Symbol.for("react.element"),Wf=Symbol.for("react.portal"),Kl=Symbol.for("react.fragment"),Ql=Symbol.for("react.strict_mode"),Xl=Symbol.for("react.profiler"),Yl=Symbol.for("react.provider"),ql=Symbol.for("react.context"),TC=Symbol.for("react.server_context"),Zl=Symbol.for("react.forward_ref"),Jl=Symbol.for("react.suspense"),eu=Symbol.for("react.suspense_list"),tu=Symbol.for("react.memo"),nu=Symbol.for("react.lazy"),OC=Symbol.for("react.offscreen"),Sy;Sy=Symbol.for("react.module.reference");function Jt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Uf:switch(e=e.type,e){case Kl:case Xl:case Ql:case Jl:case eu:return e;default:switch(e=e&&e.$$typeof,e){case TC:case ql:case Zl:case nu:case tu:case Yl:return e;default:return t}}case Wf:return t}}}fe.ContextConsumer=ql;fe.ContextProvider=Yl;fe.Element=Uf;fe.ForwardRef=Zl;fe.Fragment=Kl;fe.Lazy=nu;fe.Memo=tu;fe.Portal=Wf;fe.Profiler=Xl;fe.StrictMode=Ql;fe.Suspense=Jl;fe.SuspenseList=eu;fe.isAsyncMode=function(){return!1};fe.isConcurrentMode=function(){return!1};fe.isContextConsumer=function(e){return Jt(e)===ql};fe.isContextProvider=function(e){return Jt(e)===Yl};fe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Uf};fe.isForwardRef=function(e){return Jt(e)===Zl};fe.isFragment=function(e){return Jt(e)===Kl};fe.isLazy=function(e){return Jt(e)===nu};fe.isMemo=function(e){return Jt(e)===tu};fe.isPortal=function(e){return Jt(e)===Wf};fe.isProfiler=function(e){return Jt(e)===Xl};fe.isStrictMode=function(e){return Jt(e)===Ql};fe.isSuspense=function(e){return Jt(e)===Jl};fe.isSuspenseList=function(e){return Jt(e)===eu};fe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Kl||e===Xl||e===Ql||e===Jl||e===eu||e===OC||typeof e=="object"&&e!==null&&(e.$$typeof===nu||e.$$typeof===tu||e.$$typeof===Yl||e.$$typeof===ql||e.$$typeof===Zl||e.$$typeof===Sy||e.getModuleId!==void 0)};fe.typeOf=Jt;xy.exports=fe;var am=xy.exports;const _C=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function wy(e){const t=`${e}`.match(_C);return t&&t[1]||""}function by(e,t=""){return e.displayName||e.name||wy(e)||t}function lm(e,t,n){const r=by(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function MC(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return by(e,"Component");if(typeof e=="object")switch(e.$$typeof){case am.ForwardRef:return lm(e,e.render,"ForwardRef");case am.Memo:return lm(e,e.type,"memo");default:return}}}const IC=Object.freeze(Object.defineProperty({__proto__:null,default:MC,getFunctionName:wy},Symbol.toStringTag,{value:"Module"})),jC=["ownerState"],NC=["variants"],LC=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function zC(e){return Object.keys(e).length===0}function AC(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ec(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const DC=Gr(),BC=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ea({defaultTheme:e,theme:t,themeId:n}){return zC(t)?e:t[n]||t}function FC(e){return e?(t,n)=>n[e]:null}function ka(e,t){let{ownerState:n}=t,r=F(t,jC);const o=typeof e=="function"?e(b({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>ka(i,b({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=F(o,NC);return i.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props(b({ownerState:n},r,n)):Object.keys(l.props).forEach(c=>{(n==null?void 0:n[c])!==l.props[c]&&r[c]!==l.props[c]&&(u=!1)}),u&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style(b({ownerState:n},r,n)):l.style))}),a}return o}function UC(e={}){const{themeId:t,defaultTheme:n=DC,rootShouldForwardProp:r=ec,slotShouldForwardProp:o=ec}=e,i=s=>Xo(b({},s,{theme:ea(b({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{cy(s,k=>k.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:h=FC(BC(u))}=a,x=F(a,LC),g=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,v=d||!1;let w,f=ec;u==="Root"||u==="root"?f=r:u?f=o:AC(s)&&(f=void 0);const p=jf(s,b({shouldForwardProp:f,label:w},x)),m=k=>typeof k=="function"&&k.__emotion_real!==k||In(k)?P=>ka(k,b({},P,{theme:ea({theme:P.theme,defaultTheme:n,themeId:t})})):k,S=(k,...P)=>{let E=m(k);const $=P?P.map(m):[];l&&h&&$.push(M=>{const N=ea(b({},M,{defaultTheme:n,themeId:t}));if(!N.components||!N.components[l]||!N.components[l].styleOverrides)return null;const L=N.components[l].styleOverrides,B={};return Object.entries(L).forEach(([z,I])=>{B[z]=ka(I,b({},M,{theme:N}))}),h(M,B)}),l&&!g&&$.push(M=>{var N;const L=ea(b({},M,{defaultTheme:n,themeId:t})),B=L==null||(N=L.components)==null||(N=N[l])==null?void 0:N.variants;return ka({variants:B},b({},M,{theme:L}))}),v||$.push(i);const O=$.length-P.length;if(Array.isArray(k)&&O>0){const M=new Array(O).fill("");E=[...k,...M],E.raw=[...k.raw,...M]}const T=p(E,...$);return s.muiName&&(T.muiName=s.muiName),T};return p.withConfig&&(S.withConfig=p.withConfig),S}}const Hf=UC();function us(e,t){const n=b({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=b({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=b({},i),Object.keys(o).forEach(s=>{n[r][s]=us(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Cy(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:us(t.components[n].defaultProps,r)}function Vf({props:e,name:t,defaultTheme:n,themeId:r}){let o=Es(n);return r&&(o=o[r]||o),Cy({theme:o,name:t,props:e})}const hn=typeof window<"u"?y.useLayoutEffect:y.useEffect;function WC(e,t,n,r,o){const[i,s]=y.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return hn(()=>{let a=!0;if(!n)return;const l=n(e),u=()=>{a&&s(l.matches)};return u(),l.addListener(u),()=>{a=!1,l.removeListener(u)}},[e,n]),i}const ky=y.useSyncExternalStore;function HC(e,t,n,r,o){const i=y.useCallback(()=>t,[t]),s=y.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return i},[i,e,r,o,n]),[a,l]=y.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[i,n,e]);return ky(l,a,s)}function VC(e,t={}){const n=Bf(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:i=r?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:a=!1}=Cy({name:"MuiUseMediaQuery",props:t,theme:n});let l=e;return l=l.replace(/^@media( ?)/m,""),(ky!==void 0?HC:WC)(l,o,i,s,a)}function GC(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const KC=Object.freeze(Object.defineProperty({__proto__:null,default:GC},Symbol.toStringTag,{value:"Module"}));function pd(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Gf(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 QC(e,t){return()=>null}function Kf(e,t){var n,r;return y.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Ve(e){return e&&e.ownerDocument||document}function mr(e){return Ve(e).defaultView||window}function XC(e,t){return()=>null}function ol(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let um=0;function YC(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{t==null&&(um+=1,n(`mui-${um}`))},[t]),r}const cm=Ta.useId;function Ey(e){if(cm!==void 0){const t=cm();return e??t}return YC(e)}function qC(e,t,n,r,o){return null}function Qf({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=y.useRef(e!==void 0),[i,s]=y.useState(t),a=o?e:i,l=y.useCallback(u=>{o||s(u)},[]);return[a,l]}function Wt(e){const t=y.useRef(e);return hn(()=>{t.current=e}),y.useRef((...n)=>(0,t.current)(...n)).current}function je(...e){return y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ol(n,t)})},e)}const dm={};function ZC(e,t){const n=y.useRef(dm);return n.current===dm&&(n.current=e(t)),n}const JC=[];function ek(e){y.useEffect(e,JC)}class Rs{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Rs}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function _r(){const e=ZC(Rs.create).current;return ek(e.disposeEffect),e}let ru=!0,hd=!1;const tk=new Rs,nk={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function rk(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&nk[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function ok(e){e.metaKey||e.altKey||e.ctrlKey||(ru=!0)}function tc(){ru=!1}function ik(){this.visibilityState==="hidden"&&hd&&(ru=!0)}function sk(e){e.addEventListener("keydown",ok,!0),e.addEventListener("mousedown",tc,!0),e.addEventListener("pointerdown",tc,!0),e.addEventListener("touchstart",tc,!0),e.addEventListener("visibilitychange",ik,!0)}function ak(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return ru||rk(t)}function ou(){const e=y.useCallback(o=>{o!=null&&sk(o.ownerDocument)},[]),t=y.useRef(!1);function n(){return t.current?(hd=!0,tk.start(100,()=>{hd=!1}),t.current=!1,!0):!1}function r(o){return ak(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Py(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Z(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const a=t(s);a!==""&&i.push(a),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}function il(e){return typeof e=="string"}function yo(e,t,n){return e===void 0||il(e)?t:b({},t,{ownerState:b({},t.ownerState,n)})}function sl(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function fm(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 Ry(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const x=V(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=b({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),v=b({},n,o,r);return x.length>0&&(v.className=x),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:void 0}}const s=sl(b({},o,r)),a=fm(r),l=fm(o),u=t(s),c=V(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=b({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),h=b({},u,n,l,a);return c.length>0&&(h.className=c),Object.keys(d).length>0&&(h.style=d),{props:h,internalRef:u.ref}}function $y(e,t,n){return typeof e=="function"?e(t,n):e}const lk=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function vr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,s=F(e,lk),a=i?{}:$y(r,o),{props:l,internalRef:u}=Ry(b({},s,{externalSlotProps:a})),c=je(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return yo(n,b({},l,{ref:c}),o)}const Ty=y.createContext(null);function Oy(){return y.useContext(Ty)}const uk=typeof Symbol=="function"&&Symbol.for,ck=uk?Symbol.for("mui.nested"):"__THEME_NESTED__";function dk(e,t){return typeof t=="function"?t(e):b({},e,t)}function fk(e){const{children:t,theme:n}=e,r=Oy(),o=y.useMemo(()=>{const i=r===null?n:dk(r,n);return i!=null&&(i[ck]=r!==null),i},[n,r]);return C.jsx(Ty.Provider,{value:o,children:t})}const pk=["value"],_y=y.createContext();function hk(e){let{value:t}=e,n=F(e,pk);return C.jsx(_y.Provider,b({value:t??!0},n))}const Xf=()=>{const e=y.useContext(_y);return e??!1},My=y.createContext(void 0);function mk({value:e,children:t}){return C.jsx(My.Provider,{value:e,children:t})}function vk(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?us(o.defaultProps,r):!o.styleOverrides&&!o.variants?us(o,r):r}function gk({props:e,name:t}){const n=y.useContext(My);return vk({props:e,name:t,theme:{components:n}})}const pm={};function hm(e,t,n,r=!1){return y.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),s=e?b({},t,{[e]:i}):i;return r?()=>s:s}return e?b({},t,{[e]:n}):b({},t,n)},[e,t,n,r])}function yk(e){const{children:t,theme:n,themeId:r}=e,o=Bf(pm),i=Oy()||pm,s=hm(r,o,n),a=hm(r,i,n,!0),l=s.direction==="rtl";return C.jsx(fk,{theme:a,children:C.jsx(bs.Provider,{value:s,children:C.jsx(hk,{value:l,children:C.jsx(mk,{value:s==null?void 0:s.components,children:t})})})})}const xk=["className","component","disableGutters","fixed","maxWidth","classes"],Sk=Gr(),wk=Hf("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${W(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),bk=e=>Vf({props:e,name:"MuiContainer",defaultTheme:Sk}),Ck=(e,t)=>{const n=l=>X(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:s}=e,a={root:["root",s&&`maxWidth${W(String(s))}`,o&&"fixed",i&&"disableGutters"]};return Z(a,n,r)};function kk(e={}){const{createStyledComponent:t=wk,useThemeProps:n=bk,componentName:r="MuiContainer"}=e,o=t(({theme:s,ownerState:a})=>b({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}),({theme:s,ownerState:a})=>a.fixed&&Object.keys(s.breakpoints.values).reduce((l,u)=>{const c=u,d=s.breakpoints.values[c];return d!==0&&(l[s.breakpoints.up(c)]={maxWidth:`${d}${s.breakpoints.unit}`}),l},{}),({theme:s,ownerState:a})=>b({},a.maxWidth==="xs"&&{[s.breakpoints.up("xs")]:{maxWidth:Math.max(s.breakpoints.values.xs,444)}},a.maxWidth&&a.maxWidth!=="xs"&&{[s.breakpoints.up(a.maxWidth)]:{maxWidth:`${s.breakpoints.values[a.maxWidth]}${s.breakpoints.unit}`}}));return y.forwardRef(function(a,l){const u=n(a),{className:c,component:d="div",disableGutters:h=!1,fixed:x=!1,maxWidth:g="lg"}=u,v=F(u,xk),w=b({},u,{component:d,disableGutters:h,fixed:x,maxWidth:g}),f=Ck(w,r);return C.jsx(o,b({as:d,ownerState:w,className:V(f.root,c),ref:l},v))})}const Ek=(e,t)=>e.filter(n=>t.includes(n)),Yo=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((s,a)=>{i<=e.keys.length-1&&(i===0?Object.assign(s,a):s[e.up(e.keys[i])]=a)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:Ek(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.indexOf(i)!==-1){const s=t[i];s!==void 0&&n((a,l)=>{r===i?Object.assign(a,l):a[e.up(i)]=l},s)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function Fn(e){return e?`Level${e}`:""}function $s(e){return e.unstable_level>0&&e.container}function Iy(e){return function(n){return`var(--Grid-${n}Spacing${Fn(e.unstable_level)})`}}function Yf(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${Fn(e.unstable_level-1)})`}}function qf(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${Fn(e.unstable_level-1)})`}const Pk=({theme:e,ownerState:t})=>{const n=Iy(t),r={};return Yo(e.breakpoints,t.gridSize,(o,i)=>{let s={};i===!0&&(s={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(s={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(s={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${qf(t)}${$s(t)?` + ${n("column")}`:""})`}),o(r,s)}),r},Rk=({theme:e,ownerState:t})=>{const n={};return Yo(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${qf(t)})`}),r(n,i)}),n},$k=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=$s(t)?{[`--Grid-columns${Fn(t.unstable_level)}`]:qf(t)}:{"--Grid-columns":12};return Yo(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${Fn(t.unstable_level)}`]:o})}),n},Tk=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Yf(t),r=$s(t)?{[`--Grid-rowSpacing${Fn(t.unstable_level)}`]:n("row")}:{};return Yo(e.breakpoints,t.rowSpacing,(o,i)=>{var s;o(r,{[`--Grid-rowSpacing${Fn(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},Ok=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Yf(t),r=$s(t)?{[`--Grid-columnSpacing${Fn(t.unstable_level)}`]:n("column")}:{};return Yo(e.breakpoints,t.columnSpacing,(o,i)=>{var s;o(r,{[`--Grid-columnSpacing${Fn(t.unstable_level)}`]:typeof i=="string"?i:(s=e.spacing)==null?void 0:s.call(e,i)})}),r},_k=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Yo(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},Mk=({ownerState:e})=>{const t=Iy(e),n=Yf(e);return b({minWidth:0,boxSizing:"border-box"},e.container&&b({display:"flex",flexWrap:"wrap"},e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||$s(e))&&b({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},Ik=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},jk=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([o,i])=>{n(i)&&r.push(`spacing-${o}-${String(i)}`)}),r}return[]},Nk=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],Lk=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],zk=Gr(),Ak=Hf("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function Dk(e){return Vf({props:e,name:"MuiGrid",defaultTheme:zk})}function Bk(e={}){const{createStyledComponent:t=Ak,useThemeProps:n=Dk,componentName:r="MuiGrid"}=e,o=y.createContext(void 0),i=(l,u)=>{const{container:c,direction:d,spacing:h,wrap:x,gridSize:g}=l,v={root:["root",c&&"container",x!=="wrap"&&`wrap-xs-${String(x)}`,...Nk(d),...Ik(g),...c?jk(h,u.breakpoints.keys[0]):[]]};return Z(v,w=>X(r,w),{})},s=t($k,Ok,Tk,Pk,_k,Mk,Rk),a=y.forwardRef(function(u,c){var d,h,x,g,v,w,f,p;const m=Es(),S=n(u),k=Ps(S),P=y.useContext(o),{className:E,children:$,columns:O=12,container:T=!1,component:M="div",direction:N="row",wrap:L="wrap",spacing:B=0,rowSpacing:z=B,columnSpacing:I=B,disableEqualOverflow:D,unstable_level:R=0}=k,_=F(k,Lk);let A=D;R&&D!==void 0&&(A=u.disableEqualOverflow);const G={},K={},$e={};Object.entries(_).forEach(([pe,qe])=>{m.breakpoints.values[pe]!==void 0?G[pe]=qe:m.breakpoints.values[pe.replace("Offset","")]!==void 0?K[pe.replace("Offset","")]=qe:$e[pe]=qe});const te=(d=u.columns)!=null?d:R?void 0:O,oe=(h=u.spacing)!=null?h:R?void 0:B,le=(x=(g=u.rowSpacing)!=null?g:u.spacing)!=null?x:R?void 0:z,we=(v=(w=u.columnSpacing)!=null?w:u.spacing)!=null?v:R?void 0:I,ve=b({},k,{level:R,columns:te,container:T,direction:N,wrap:L,spacing:oe,rowSpacing:le,columnSpacing:we,gridSize:G,gridOffset:K,disableEqualOverflow:(f=(p=A)!=null?p:P)!=null?f:!1,parentDisableEqualOverflow:P}),ue=i(ve,m);let De=C.jsx(s,b({ref:c,as:M,ownerState:ve,className:V(ue.root,E)},$e,{children:y.Children.map($,pe=>{if(y.isValidElement(pe)&&Kf(pe,["Grid"])){var qe;return y.cloneElement(pe,{unstable_level:(qe=pe.props.unstable_level)!=null?qe:R+1})}return pe})}));return A!==void 0&&A!==(P??!1)&&(De=C.jsx(o.Provider,{value:A,children:De})),De});return a.muiName="Grid",a}const Fk=["component","direction","spacing","divider","children","className","useFlexGap"],Uk=Gr(),Wk=Hf("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Hk(e){return Vf({props:e,name:"MuiStack",defaultTheme:Uk})}function Vk(e,t){const n=y.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],Kk=({ownerState:e,theme:t})=>{let n=b({display:"flex",flexDirection:"column"},pn({theme:t},Ju({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=Af(t),o=Object.keys(t.breakpoints.values).reduce((l,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(l[u]=!0),l),{}),i=Ju({values:e.direction,base:o}),s=Ju({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((l,u,c)=>{if(!i[l]){const h=u>0?i[c[u-1]]:"column";i[l]=h}}),n=Vt(n,pn({theme:t},s,(l,u)=>e.useFlexGap?{gap:Fr(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${Gk(u?i[u]:e.direction)}`]:Fr(r,l)}}))}return n=Tb(t.breakpoints,n),n};function Qk(e={}){const{createStyledComponent:t=Wk,useThemeProps:n=Hk,componentName:r="MuiStack"}=e,o=()=>Z({root:["root"]},l=>X(r,l),{}),i=t(Kk);return y.forwardRef(function(l,u){const c=n(l),d=Ps(c),{component:h="div",direction:x="column",spacing:g=0,divider:v,children:w,className:f,useFlexGap:p=!1}=d,m=F(d,Fk),S={direction:x,spacing:g,useFlexGap:p},k=o();return C.jsx(i,b({as:h,ownerState:S,ref:u,className:V(k.root,f)},m,{children:v?Vk(w,v):w}))})}function Xk(e,t){return b({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Le={},jy={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(jy);var Kr=jy.exports;const Yk=Wn(gw),qk=Wn(KC);var Ny=Kr;Object.defineProperty(Le,"__esModule",{value:!0});var ae=Le.alpha=Dy;Le.blend=uE;Le.colorChannel=void 0;var cs=Le.darken=Jf;Le.decomposeColor=Xt;var Zk=Le.emphasize=By,Jk=Le.getContrastRatio=oE;Le.getLuminance=al;Le.hexToRgb=Ly;Le.hslToRgb=Ay;var ds=Le.lighten=ep;Le.private_safeAlpha=iE;Le.private_safeColorChannel=void 0;Le.private_safeDarken=sE;Le.private_safeEmphasize=lE;Le.private_safeLighten=aE;Le.recomposeColor=qo;Le.rgbToHex=rE;var mm=Ny(Yk),eE=Ny(qk);function Zf(e,t=0,n=1){return(0,eE.default)(e,t,n)}function Ly(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 tE(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Xt(e){if(e.type)return e;if(e.charAt(0)==="#")return Xt(Ly(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,mm.default)(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"].indexOf(o)===-1)throw new Error((0,mm.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const zy=e=>{const t=Xt(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Le.colorChannel=zy;const nE=(e,t)=>{try{return zy(e)}catch{return e}};Le.private_safeColorChannel=nE;function qo(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function rE(e){if(e.indexOf("#")===0)return e;const{values:t}=Xt(e);return`#${t.map((n,r)=>tE(r===3?Math.round(255*n):n)).join("")}`}function Ay(e){e=Xt(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,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),qo({type:a,values:l})}function al(e){e=Xt(e);let t=e.type==="hsl"||e.type==="hsla"?Xt(Ay(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 oE(e,t){const n=al(e),r=al(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Dy(e,t){return e=Xt(e),t=Zf(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,qo(e)}function iE(e,t,n){try{return Dy(e,t)}catch{return e}}function Jf(e,t){if(e=Xt(e),t=Zf(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return qo(e)}function sE(e,t,n){try{return Jf(e,t)}catch{return e}}function ep(e,t){if(e=Xt(e),t=Zf(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return qo(e)}function aE(e,t,n){try{return ep(e,t)}catch{return e}}function By(e,t=.15){return al(e)>.5?Jf(e,t):ep(e,t)}function lE(e,t,n){try{return By(e,t)}catch{return e}}function uE(e,t,n,r=1){const o=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),i=Xt(e),s=Xt(t),a=[o(i.values[0],s.values[0]),o(i.values[1],s.values[1]),o(i.values[2],s.values[2])];return qo({type:"rgb",values:a})}const cE=["mode","contrastThreshold","tonalOffset"],vm={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:os.white,default:os.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}},nc={text:{primary:os.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:os.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 gm(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=ds(e.main,o):t==="dark"&&(e.dark=cs(e.main,i)))}function dE(e="light"){return e==="dark"?{main:Zr[200],light:Zr[50],dark:Zr[400]}:{main:Zr[700],light:Zr[400],dark:Zr[800]}}function fE(e="light"){return e==="dark"?{main:qr[200],light:qr[50],dark:qr[400]}:{main:qr[500],light:qr[300],dark:qr[700]}}function pE(e="light"){return e==="dark"?{main:Yr[500],light:Yr[300],dark:Yr[700]}:{main:Yr[700],light:Yr[400],dark:Yr[800]}}function hE(e="light"){return e==="dark"?{main:Jr[400],light:Jr[300],dark:Jr[700]}:{main:Jr[700],light:Jr[500],dark:Jr[900]}}function mE(e="light"){return e==="dark"?{main:eo[400],light:eo[300],dark:eo[700]}:{main:eo[800],light:eo[500],dark:eo[900]}}function vE(e="light"){return e==="dark"?{main:mi[400],light:mi[300],dark:mi[700]}:{main:"#ed6c02",light:mi[500],dark:mi[900]}}function gE(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=F(e,cE),i=e.primary||dE(t),s=e.secondary||fE(t),a=e.error||pE(t),l=e.info||hE(t),u=e.success||mE(t),c=e.warning||vE(t);function d(v){return Jk(v,nc.text.primary)>=n?nc.text.primary:vm.text.primary}const h=({color:v,name:w,mainShade:f=500,lightShade:p=300,darkShade:m=700})=>{if(v=b({},v),!v.main&&v[f]&&(v.main=v[f]),!v.hasOwnProperty("main"))throw new Error(is(11,w?` (${w})`:"",f));if(typeof v.main!="string")throw new Error(is(12,w?` (${w})`:"",JSON.stringify(v.main)));return gm(v,"light",p,r),gm(v,"dark",m,r),v.contrastText||(v.contrastText=d(v.main)),v},x={dark:nc,light:vm};return Vt(b({common:b({},os),mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:a,name:"error"}),warning:h({color:c,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:u,name:"success"}),grey:vw,contrastThreshold:n,getContrastText:d,augmentColor:h,tonalOffset:r},x[t]),o)}const yE=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function xE(e){return Math.round(e*1e5)/1e5}const ym={textTransform:"uppercase"},xm='"Roboto", "Helvetica", "Arial", sans-serif';function SE(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=xm,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,h=F(n,yE),x=o/14,g=d||(f=>`${f/u*x}rem`),v=(f,p,m,S,k)=>b({fontFamily:r,fontWeight:f,fontSize:g(p),lineHeight:m},r===xm?{letterSpacing:`${xE(S/p)}em`}:{},k,c),w={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(s,48,1.167,0),h4:v(s,34,1.235,.25),h5:v(s,24,1.334,0),h6:v(a,20,1.6,.15),subtitle1:v(s,16,1.75,.15),subtitle2:v(a,14,1.57,.1),body1:v(s,16,1.5,.15),body2:v(s,14,1.43,.15),button:v(a,14,1.75,.4,ym),caption:v(s,12,1.66,.4),overline:v(s,12,2.66,1,ym),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Vt(b({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},w),h,{clone:!1})}const wE=.2,bE=.14,CE=.12;function be(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${wE})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${bE})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${CE})`].join(",")}const kE=["none",be(0,2,1,-1,0,1,1,0,0,1,3,0),be(0,3,1,-2,0,2,2,0,0,1,5,0),be(0,3,3,-2,0,3,4,0,0,1,8,0),be(0,2,4,-1,0,4,5,0,0,1,10,0),be(0,3,5,-1,0,5,8,0,0,1,14,0),be(0,3,5,-1,0,6,10,0,0,1,18,0),be(0,4,5,-2,0,7,10,1,0,2,16,1),be(0,5,5,-3,0,8,10,1,0,3,14,2),be(0,5,6,-3,0,9,12,1,0,3,16,2),be(0,6,6,-3,0,10,14,1,0,4,18,3),be(0,6,7,-4,0,11,15,1,0,4,20,3),be(0,7,8,-4,0,12,17,2,0,5,22,4),be(0,7,8,-4,0,13,19,2,0,5,24,4),be(0,7,9,-4,0,14,21,2,0,5,26,4),be(0,8,9,-5,0,15,22,2,0,6,28,5),be(0,8,10,-5,0,16,24,2,0,6,30,5),be(0,8,11,-5,0,17,26,2,0,6,32,5),be(0,9,11,-5,0,18,28,2,0,7,34,6),be(0,9,12,-6,0,19,29,2,0,7,36,6),be(0,10,13,-6,0,20,31,3,0,8,38,7),be(0,10,13,-6,0,21,33,3,0,8,40,7),be(0,10,14,-6,0,22,35,3,0,8,42,7),be(0,11,14,-7,0,23,36,3,0,9,44,8),be(0,11,15,-7,0,24,38,3,0,9,46,8)],EE=["duration","easing","delay"],PE={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)"},RE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Sm(e){return`${Math.round(e)}ms`}function $E(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function TE(e){const t=b({},PE,e.easing),n=b({},RE,e.duration);return b({getAutoHeightDuration:$E,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=i;return F(i,EE),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof s=="string"?s:Sm(s)} ${a} ${typeof l=="string"?l:Sm(l)}`).join(",")}},e,{easing:t,duration:n})}const OE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},_E=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function iu(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=F(e,_E);if(e.vars)throw new Error(is(18));const a=gE(r),l=Gr(e);let u=Vt(l,{mixins:Xk(l.breakpoints,n),palette:a,shadows:kE.slice(),typography:SE(a,i),transitions:TE(o),zIndex:b({},OE)});return u=Vt(u,s),u=t.reduce((c,d)=>Vt(c,d),u),u.unstable_sxConfig=b({},ks,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Xo({sx:d,theme:this})},u}const tp=iu();function Zo(){const e=Es(tp);return e[jo]||e}var Ts={},rc={exports:{}},wm;function ME(){return wm||(wm=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(r.includes(i))continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(rc)),rc.exports}const Fy=Wn(kb),IE=Wn(Eb),jE=Wn(_b),NE=Wn(IC),LE=Wn(yC),zE=Wn(kC);var Jo=Kr;Object.defineProperty(Ts,"__esModule",{value:!0});var AE=Ts.default=qE;Ts.shouldForwardProp=Ea;Ts.systemDefaultTheme=void 0;var Lt=Jo(ay()),md=Jo(ME()),bm=VE(Fy),DE=IE;Jo(jE);Jo(NE);var BE=Jo(LE),FE=Jo(zE);const UE=["ownerState"],WE=["variants"],HE=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Uy(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Uy=function(r){return r?n:t})(e)}function VE(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Uy(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function GE(e){return Object.keys(e).length===0}function KE(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ea(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const QE=Ts.systemDefaultTheme=(0,BE.default)(),XE=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function ta({defaultTheme:e,theme:t,themeId:n}){return GE(t)?e:t[n]||t}function YE(e){return e?(t,n)=>n[e]:null}function Pa(e,t){let{ownerState:n}=t,r=(0,md.default)(t,UE);const o=typeof e=="function"?e((0,Lt.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(i=>Pa(i,(0,Lt.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:i=[]}=o;let a=(0,md.default)(o,WE);return i.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props((0,Lt.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(c=>{(n==null?void 0:n[c])!==l.props[c]&&r[c]!==l.props[c]&&(u=!1)}),u&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style((0,Lt.default)({ownerState:n},r,n)):l.style))}),a}return o}function qE(e={}){const{themeId:t,defaultTheme:n=QE,rootShouldForwardProp:r=Ea,slotShouldForwardProp:o=Ea}=e,i=s=>(0,FE.default)((0,Lt.default)({},s,{theme:ta((0,Lt.default)({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,a={})=>{(0,bm.internal_processStyles)(s,k=>k.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:h=YE(XE(u))}=a,x=(0,md.default)(a,HE),g=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,v=d||!1;let w,f=Ea;u==="Root"||u==="root"?f=r:u?f=o:KE(s)&&(f=void 0);const p=(0,bm.default)(s,(0,Lt.default)({shouldForwardProp:f,label:w},x)),m=k=>typeof k=="function"&&k.__emotion_real!==k||(0,DE.isPlainObject)(k)?P=>Pa(k,(0,Lt.default)({},P,{theme:ta({theme:P.theme,defaultTheme:n,themeId:t})})):k,S=(k,...P)=>{let E=m(k);const $=P?P.map(m):[];l&&h&&$.push(M=>{const N=ta((0,Lt.default)({},M,{defaultTheme:n,themeId:t}));if(!N.components||!N.components[l]||!N.components[l].styleOverrides)return null;const L=N.components[l].styleOverrides,B={};return Object.entries(L).forEach(([z,I])=>{B[z]=Pa(I,(0,Lt.default)({},M,{theme:N}))}),h(M,B)}),l&&!g&&$.push(M=>{var N;const L=ta((0,Lt.default)({},M,{defaultTheme:n,themeId:t})),B=L==null||(N=L.components)==null||(N=N[l])==null?void 0:N.variants;return Pa({variants:B},(0,Lt.default)({},M,{theme:L}))}),v||$.push(i);const O=$.length-P.length;if(Array.isArray(k)&&O>0){const M=new Array(O).fill("");E=[...k,...M],E.raw=[...k.raw,...M]}const T=p(E,...$);return s.muiName&&(T.muiName=s.muiName),T};return p.withConfig&&(S.withConfig=p.withConfig),S}}function ZE(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const br=e=>ZE(e)&&e!=="classes",H=AE({themeId:jo,defaultTheme:tp,rootShouldForwardProp:br}),JE=["theme"];function eP(e){let{theme:t}=e,n=F(e,JE);const r=t[jo];return C.jsx(yk,b({},n,{themeId:r?jo:void 0,theme:r||t}))}const Cm=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Y(e){return gk(e)}function tP(e){return X("MuiSvgIcon",e)}q("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const nP=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],rP=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${W(t)}`,`fontSize${W(n)}`]};return Z(o,tP,r)},oP=H("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${W(n.color)}`],t[`fontSize${W(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,s,a,l,u,c,d,h,x,g;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(s=i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:(d=(h=(e.vars||e).palette)==null||(h=h[t.color])==null?void 0:h.main)!=null?d:{action:(x=(e.vars||e).palette)==null||(x=x.action)==null?void 0:x.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),vd=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:h="0 0 24 24"}=r,x=F(r,nP),g=y.isValidElement(o)&&o.type==="svg",v=b({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:h,hasSvgAsChild:g}),w={};c||(w.viewBox=h);const f=rP(v);return C.jsxs(oP,b({as:a,className:V(f.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},w,x,g&&o.props,{ownerState:v,children:[g?o.props.children:o,d?C.jsx("title",{children:d}):null]}))});vd.muiName="SvgIcon";function Mt(e,t){function n(r,o){return C.jsx(vd,b({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=vd.muiName,y.memo(y.forwardRef(n))}const iP={configure:e=>{Ff.configure(e)}},sP=Object.freeze(Object.defineProperty({__proto__:null,capitalize:W,createChainedFunction:pd,createSvgIcon:Mt,debounce:Gf,deprecatedPropType:QC,isMuiElement:Kf,ownerDocument:Ve,ownerWindow:mr,requirePropFactory:XC,setRef:ol,unstable_ClassNameGenerator:iP,unstable_useEnhancedEffect:hn,unstable_useId:Ey,unsupportedProp:qC,useControlled:Qf,useEventCallback:Wt,useForkRef:je,useIsFocusVisible:ou},Symbol.toStringTag,{value:"Module"}));var he={};/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var np=Symbol.for("react.element"),rp=Symbol.for("react.portal"),su=Symbol.for("react.fragment"),au=Symbol.for("react.strict_mode"),lu=Symbol.for("react.profiler"),uu=Symbol.for("react.provider"),cu=Symbol.for("react.context"),aP=Symbol.for("react.server_context"),du=Symbol.for("react.forward_ref"),fu=Symbol.for("react.suspense"),pu=Symbol.for("react.suspense_list"),hu=Symbol.for("react.memo"),mu=Symbol.for("react.lazy"),lP=Symbol.for("react.offscreen"),Wy;Wy=Symbol.for("react.module.reference");function en(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case np:switch(e=e.type,e){case su:case lu:case au:case fu:case pu:return e;default:switch(e=e&&e.$$typeof,e){case aP:case cu:case du:case mu:case hu:case uu:return e;default:return t}}case rp:return t}}}he.ContextConsumer=cu;he.ContextProvider=uu;he.Element=np;he.ForwardRef=du;he.Fragment=su;he.Lazy=mu;he.Memo=hu;he.Portal=rp;he.Profiler=lu;he.StrictMode=au;he.Suspense=fu;he.SuspenseList=pu;he.isAsyncMode=function(){return!1};he.isConcurrentMode=function(){return!1};he.isContextConsumer=function(e){return en(e)===cu};he.isContextProvider=function(e){return en(e)===uu};he.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===np};he.isForwardRef=function(e){return en(e)===du};he.isFragment=function(e){return en(e)===su};he.isLazy=function(e){return en(e)===mu};he.isMemo=function(e){return en(e)===hu};he.isPortal=function(e){return en(e)===rp};he.isProfiler=function(e){return en(e)===lu};he.isStrictMode=function(e){return en(e)===au};he.isSuspense=function(e){return en(e)===fu};he.isSuspenseList=function(e){return en(e)===pu};he.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===su||e===lu||e===au||e===fu||e===pu||e===lP||typeof e=="object"&&e!==null&&(e.$$typeof===mu||e.$$typeof===hu||e.$$typeof===uu||e.$$typeof===cu||e.$$typeof===du||e.$$typeof===Wy||e.getModuleId!==void 0)};he.typeOf=en;function gd(e,t){return gd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},gd(e,t)}function Hy(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gd(e,t)}const km={disabled:!1},ll=Ft.createContext(null);var uP=function(t){return t.scrollTop},Ei="unmounted",Pr="exited",Rr="entering",no="entered",yd="exiting",mn=function(e){Hy(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,a=s&&!s.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?a?(l=Pr,i.appearStatus=Rr):l=no:r.unmountOnExit||r.mountOnEnter?l=Ei:l=Pr,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Ei?{status:Pr}: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!==Rr&&s!==no&&(i=Rr):(s===Rr||s===no)&&(i=yd)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,a;return i=s=a=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,a=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:a}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Rr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Zs.findDOMNode(this);s&&uP(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Pr&&this.setState({status:Ei})},n.performEnter=function(o){var i=this,s=this.props.enter,a=this.context?this.context.isMounting:o,l=this.props.nodeRef?[a]:[Zs.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),h=a?d.appear:d.enter;if(!o&&!s||km.disabled){this.safeSetState({status:no},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Rr},function(){i.props.onEntering(u,c),i.onTransitionEnd(h,function(){i.safeSetState({status:no},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Zs.findDOMNode(this);if(!i||km.disabled){this.safeSetState({status:Pr},function(){o.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:yd},function(){o.props.onExiting(a),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:Pr},function(){o.props.onExited(a)})})})},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(a){s&&(s=!1,i.nextCallback=null,o(a))},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:Zs.findDOMNode(this),a=o==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Ei)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 a=F(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Ft.createElement(ll.Provider,{value:null},typeof s=="function"?s(o,a):Ft.cloneElement(Ft.Children.only(s),a))},t}(Ft.Component);mn.contextType=ll;mn.propTypes={};function to(){}mn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:to,onEntering:to,onEntered:to,onExit:to,onExiting:to,onExited:to};mn.UNMOUNTED=Ei;mn.EXITED=Pr;mn.ENTERING=Rr;mn.ENTERED=no;mn.EXITING=yd;function cP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function op(e,t){var n=function(i){return t&&y.isValidElement(i)?t(i):i},r=Object.create(null);return e&&y.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function dP(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}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,a={};for(var l in t){if(r[l])for(s=0;se.scrollTop;function zo(e,t){var n,r;const{timeout:o,easing:i,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}function vP(e){return X("MuiPaper",e)}q("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 gP=["className","component","elevation","square","variant"],yP=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Z(i,vP,o)},xP=H("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}`]]}})(({theme:e,ownerState:t})=>{var n;return b({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&b({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${ae("#fff",Cm(t.elevation))}, ${ae("#fff",Cm(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),ei=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,u=F(r,gP),c=b({},r,{component:i,elevation:s,square:a,variant:l}),d=yP(c);return C.jsx(xP,b({as:i,ownerState:c,className:V(d.root,o),ref:n},u))}),SP=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],wP=["component","slots","slotProps"],bP=["component"];function xd(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:s,internalForwardedProps:a}=t,l=F(t,SP),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=i,h=F(i,wP),x=c[e]||r,g=$y(d[e],o),v=Ry(b({className:n},l,{externalForwardedProps:e==="root"?h:void 0,externalSlotProps:g})),{props:{component:w},internalRef:f}=v,p=F(v.props,bP),m=je(f,g==null?void 0:g.ref,t.ref),S=s?s(p):{},k=b({},o,S),P=e==="root"?w||u:w,E=yo(x,b({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,p,P&&{as:P},{ref:m}),k);return Object.keys(S).forEach($=>{delete E[$]}),[x,E]}function CP(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:a,onExited:l,timeout:u}=e,[c,d]=y.useState(!1),h=V(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),x={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},g=V(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&d(!0),y.useEffect(()=>{if(!a&&l!=null){const v=setTimeout(l,u);return()=>{clearTimeout(v)}}},[l,a,u]),C.jsx("span",{className:h,style:x,children:C.jsx("span",{className:g})})}const zt=q("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),kP=["center","classes","className"];let vu=e=>e,Em,Pm,Rm,$m;const Sd=550,EP=80,PP=Fl(Em||(Em=vu`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),RP=Fl(Pm||(Pm=vu`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),$P=Fl(Rm||(Rm=vu`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),TP=H("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),OP=H(CP,{name:"MuiTouchRipple",slot:"Ripple"})($m||($m=vu`
opacity: 0;
position: absolute;
&.${0} {
opacity: 0.3;
transform: scale(1);
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
&.${0} {
animation-duration: ${0}ms;
}
& .${0} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${0} {
opacity: 0;
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
& .${0} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${0};
animation-duration: 2500ms;
animation-timing-function: ${0};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`),zt.rippleVisible,PP,Sd,({theme:e})=>e.transitions.easing.easeInOut,zt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,zt.child,zt.childLeaving,RP,Sd,({theme:e})=>e.transitions.easing.easeInOut,zt.childPulsate,$P,({theme:e})=>e.transitions.easing.easeInOut),_P=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,a=F(r,kP),[l,u]=y.useState([]),c=y.useRef(0),d=y.useRef(null);y.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const h=y.useRef(!1),x=_r(),g=y.useRef(null),v=y.useRef(null),w=y.useCallback(S=>{const{pulsate:k,rippleX:P,rippleY:E,rippleSize:$,cb:O}=S;u(T=>[...T,C.jsx(OP,{classes:{ripple:V(i.ripple,zt.ripple),rippleVisible:V(i.rippleVisible,zt.rippleVisible),ripplePulsate:V(i.ripplePulsate,zt.ripplePulsate),child:V(i.child,zt.child),childLeaving:V(i.childLeaving,zt.childLeaving),childPulsate:V(i.childPulsate,zt.childPulsate)},timeout:Sd,pulsate:k,rippleX:P,rippleY:E,rippleSize:$},c.current)]),c.current+=1,d.current=O},[i]),f=y.useCallback((S={},k={},P=()=>{})=>{const{pulsate:E=!1,center:$=o||k.pulsate,fakeElement:O=!1}=k;if((S==null?void 0:S.type)==="mousedown"&&h.current){h.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(h.current=!0);const T=O?null:v.current,M=T?T.getBoundingClientRect():{width:0,height:0,left:0,top:0};let N,L,B;if($||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)N=Math.round(M.width/2),L=Math.round(M.height/2);else{const{clientX:z,clientY:I}=S.touches&&S.touches.length>0?S.touches[0]:S;N=Math.round(z-M.left),L=Math.round(I-M.top)}if($)B=Math.sqrt((2*M.width**2+M.height**2)/3),B%2===0&&(B+=1);else{const z=Math.max(Math.abs((T?T.clientWidth:0)-N),N)*2+2,I=Math.max(Math.abs((T?T.clientHeight:0)-L),L)*2+2;B=Math.sqrt(z**2+I**2)}S!=null&&S.touches?g.current===null&&(g.current=()=>{w({pulsate:E,rippleX:N,rippleY:L,rippleSize:B,cb:P})},x.start(EP,()=>{g.current&&(g.current(),g.current=null)})):w({pulsate:E,rippleX:N,rippleY:L,rippleSize:B,cb:P})},[o,w,x]),p=y.useCallback(()=>{f({},{pulsate:!0})},[f]),m=y.useCallback((S,k)=>{if(x.clear(),(S==null?void 0:S.type)==="touchend"&&g.current){g.current(),g.current=null,x.start(0,()=>{m(S,k)});return}g.current=null,u(P=>P.length>0?P.slice(1):P),d.current=k},[x]);return y.useImperativeHandle(n,()=>({pulsate:p,start:f,stop:m}),[p,f,m]),C.jsx(TP,b({className:V(zt.root,i.root,s),ref:v},a,{children:C.jsx(ip,{component:null,exit:!0,children:l})}))});function MP(e){return X("MuiButtonBase",e)}const IP=q("MuiButtonBase",["root","disabled","focusVisible"]),jP=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],NP=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=Z({root:["root",t&&"disabled",n&&"focusVisible"]},MP,o);return n&&r&&(s.root+=` ${r}`),s},LP=H("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"},[`&.${IP.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ti=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:h=!1,LinkComponent:x="a",onBlur:g,onClick:v,onContextMenu:w,onDragLeave:f,onFocus:p,onFocusVisible:m,onKeyDown:S,onKeyUp:k,onMouseDown:P,onMouseLeave:E,onMouseUp:$,onTouchEnd:O,onTouchMove:T,onTouchStart:M,tabIndex:N=0,TouchRippleProps:L,touchRippleRef:B,type:z}=r,I=F(r,jP),D=y.useRef(null),R=y.useRef(null),_=je(R,B),{isFocusVisibleRef:A,onFocus:G,onBlur:K,ref:$e}=ou(),[te,oe]=y.useState(!1);u&&te&&oe(!1),y.useImperativeHandle(o,()=>({focusVisible:()=>{oe(!0),D.current.focus()}}),[]);const[le,we]=y.useState(!1);y.useEffect(()=>{we(!0)},[]);const ve=le&&!c&&!u;y.useEffect(()=>{te&&h&&!c&&le&&R.current.pulsate()},[c,h,te,le]);function ue(Q,Nt,ni=d){return Wt(Gn=>(Nt&&Nt(Gn),!ni&&R.current&&R.current[Q](Gn),!0))}const De=ue("start",P),pe=ue("stop",w),qe=ue("stop",f),ne=ue("stop",$),me=ue("stop",Q=>{te&&Q.preventDefault(),E&&E(Q)}),ge=ue("start",M),vn=ue("stop",O),xt=ue("stop",T),Ze=ue("stop",Q=>{K(Q),A.current===!1&&oe(!1),g&&g(Q)},!1),Tn=Wt(Q=>{D.current||(D.current=Q.currentTarget),G(Q),A.current===!0&&(oe(!0),m&&m(Q)),p&&p(Q)}),Ue=()=>{const Q=D.current;return l&&l!=="button"&&!(Q.tagName==="A"&&Q.href)},St=y.useRef(!1),It=Wt(Q=>{h&&!St.current&&te&&R.current&&Q.key===" "&&(St.current=!0,R.current.stop(Q,()=>{R.current.start(Q)})),Q.target===Q.currentTarget&&Ue()&&Q.key===" "&&Q.preventDefault(),S&&S(Q),Q.target===Q.currentTarget&&Ue()&&Q.key==="Enter"&&!u&&(Q.preventDefault(),v&&v(Q))}),tn=Wt(Q=>{h&&Q.key===" "&&R.current&&te&&!Q.defaultPrevented&&(St.current=!1,R.current.stop(Q,()=>{R.current.pulsate(Q)})),k&&k(Q),v&&Q.target===Q.currentTarget&&Ue()&&Q.key===" "&&!Q.defaultPrevented&&v(Q)});let ke=l;ke==="button"&&(I.href||I.to)&&(ke=x);const jt={};ke==="button"?(jt.type=z===void 0?"button":z,jt.disabled=u):(!I.href&&!I.to&&(jt.role="button"),u&&(jt["aria-disabled"]=u));const On=je(n,$e,D),Vn=b({},r,{centerRipple:i,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:h,tabIndex:N,focusVisible:te}),Qr=NP(Vn);return C.jsxs(LP,b({as:ke,className:V(Qr.root,a),ownerState:Vn,onBlur:Ze,onClick:v,onContextMenu:pe,onFocus:Tn,onKeyDown:It,onKeyUp:tn,onMouseDown:De,onMouseLeave:me,onMouseUp:ne,onDragLeave:qe,onTouchEnd:vn,onTouchMove:xt,onTouchStart:ge,ref:On,tabIndex:u?-1:N,type:z},jt,I,{children:[s,ve?C.jsx(_P,b({ref:_,center:i},L)):null]}))});function zP(e){return X("MuiAlert",e)}const Tm=q("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function AP(e){return X("MuiIconButton",e)}const DP=q("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),BP=["edge","children","className","color","disabled","disableFocusRipple","size"],FP=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${W(r)}`,o&&`edge${W(o)}`,`size${W(i)}`]};return Z(s,AP,t)},UP=H(ti,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${W(n.color)}`],n.edge&&t[`edge${W(n.edge)}`],t[`size${W(n.size)}`]]}})(({theme:e,ownerState:t})=>b({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ae(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return b({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&b({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":b({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ae(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${DP.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Ra=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=F(r,BP),h=b({},r,{edge:o,color:a,disabled:l,disableFocusRipple:u,size:c}),x=FP(h);return C.jsx(UP,b({className:V(x.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:h,children:i}))}),WP=Mt(C.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),HP=Mt(C.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),VP=Mt(C.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),GP=Mt(C.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),KP=Mt(C.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),QP=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],XP=e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`color${W(n||r)}`,`${t}${W(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Z(i,zP,o)},YP=H(ei,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${W(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?cs:ds,n=e.palette.mode==="light"?ds:cs;return b({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Tm.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Tm.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.dark).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:b({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)})}))]})}),qP=H("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),ZP=H("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Om=H("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),_m={success:C.jsx(WP,{fontSize:"inherit"}),warning:C.jsx(HP,{fontSize:"inherit"}),error:C.jsx(VP,{fontSize:"inherit"}),info:C.jsx(GP,{fontSize:"inherit"})},JP=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiAlert"}),{action:o,children:i,className:s,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:h=_m,onClose:x,role:g="alert",severity:v="success",slotProps:w={},slots:f={},variant:p="standard"}=r,m=F(r,QP),S=b({},r,{color:l,severity:v,variant:p,colorSeverity:l||v}),k=XP(S),P={slots:b({closeButton:u.CloseButton,closeIcon:u.CloseIcon},f),slotProps:b({},c,w)},[E,$]=xd("closeButton",{elementType:Ra,externalForwardedProps:P,ownerState:S}),[O,T]=xd("closeIcon",{elementType:KP,externalForwardedProps:P,ownerState:S});return C.jsxs(YP,b({role:g,elevation:0,ownerState:S,className:V(k.root,s),ref:n},m,{children:[d!==!1?C.jsx(qP,{ownerState:S,className:k.icon,children:d||h[v]||_m[v]}):null,C.jsx(ZP,{ownerState:S,className:k.message,children:i}),o!=null?C.jsx(Om,{ownerState:S,className:k.action,children:o}):null,o==null&&x?C.jsx(Om,{ownerState:S,className:k.action,children:C.jsx(E,b({size:"small","aria-label":a,title:a,color:"inherit",onClick:x},$,{children:C.jsx(O,b({fontSize:"small"},T))}))}):null]}))});function eR(e){return X("MuiTypography",e)}q("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const tR=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],nR=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,a={root:["root",i,e.align!=="inherit"&&`align${W(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Z(a,eR,s)},rR=H("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${W(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>b({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Mm={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},oR={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},iR=e=>oR[e]||e,at=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiTypography"}),o=iR(r.color),i=Ps(b({},r,{color:o})),{align:s="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:h="body1",variantMapping:x=Mm}=i,g=F(i,tR),v=b({},i,{align:s,color:o,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:h,variantMapping:x}),w=l||(d?"p":x[h]||Mm[h])||"span",f=nR(v);return C.jsx(rR,b({as:w,ref:n,ownerState:v,className:V(f.root,a)},g))});function sR(e){return X("MuiAppBar",e)}q("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const aR=["className","color","enableColorOnDark","position"],lR=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${W(t)}`,`position${W(n)}`]};return Z(o,sR,r)},na=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,uR=H(ei,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${W(n.position)}`],t[`color${W(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return b({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&b({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&b({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&b({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:na(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:na(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:na(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:na(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},!["inherit","transparent"].includes(t.color)&&{backgroundColor:"var(--AppBar-background)"},{color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),cR=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:a="fixed"}=r,l=F(r,aR),u=b({},r,{color:i,position:a,enableColorOnDark:s}),c=lR(u);return C.jsx(uR,b({square:!0,component:"header",ownerState:u,elevation:4,className:V(c.root,o,a==="fixed"&&"mui-fixed"),ref:n},l))});var ap={};Object.defineProperty(ap,"__esModule",{value:!0});var Vy=ap.default=void 0,dR=pR(y),fR=Fy;function Gy(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Gy=function(r){return r?n:t})(e)}function pR(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Gy(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function hR(e){return Object.keys(e).length===0}function mR(e=null){const t=dR.useContext(fR.ThemeContext);return!t||hR(t)?e:t}Vy=ap.default=mR;var vt="top",Yt="bottom",qt="right",gt="left",lp="auto",Os=[vt,Yt,qt,gt],Ao="start",fs="end",vR="clippingParents",Ky="viewport",gi="popper",gR="reference",Im=Os.reduce(function(e,t){return e.concat([t+"-"+Ao,t+"-"+fs])},[]),Qy=[].concat(Os,[lp]).reduce(function(e,t){return e.concat([t,t+"-"+Ao,t+"-"+fs])},[]),yR="beforeRead",xR="read",SR="afterRead",wR="beforeMain",bR="main",CR="afterMain",kR="beforeWrite",ER="write",PR="afterWrite",RR=[yR,xR,SR,wR,bR,CR,kR,ER,PR];function $n(e){return e?(e.nodeName||"").toLowerCase():null}function $t(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ur(e){var t=$t(e).Element;return e instanceof t||e instanceof Element}function Gt(e){var t=$t(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function up(e){if(typeof ShadowRoot>"u")return!1;var t=$t(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function $R(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!Gt(i)||!$n(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var a=o[s];a===!1?i.removeAttribute(s):i.setAttribute(s,a===!0?"":a)}))})}function TR(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=s.reduce(function(l,u){return l[u]="",l},{});!Gt(o)||!$n(o)||(Object.assign(o.style,a),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const OR={name:"applyStyles",enabled:!0,phase:"write",fn:$R,effect:TR,requires:["computeStyles"]};function Rn(e){return e.split("-")[0]}var Nr=Math.max,ul=Math.min,Do=Math.round;function wd(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Xy(){return!/^((?!chrome|android).)*safari/i.test(wd())}function Bo(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Gt(e)&&(o=e.offsetWidth>0&&Do(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Do(r.height)/e.offsetHeight||1);var s=Ur(e)?$t(e):window,a=s.visualViewport,l=!Xy()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/o,c=(r.top+(l&&a?a.offsetTop:0))/i,d=r.width/o,h=r.height/i;return{width:d,height:h,top:c,right:u+d,bottom:c+h,left:u,x:u,y:c}}function cp(e){var t=Bo(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Yy(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&up(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Un(e){return $t(e).getComputedStyle(e)}function _R(e){return["table","td","th"].indexOf($n(e))>=0}function Cr(e){return((Ur(e)?e.ownerDocument:e.document)||window.document).documentElement}function gu(e){return $n(e)==="html"?e:e.assignedSlot||e.parentNode||(up(e)?e.host:null)||Cr(e)}function jm(e){return!Gt(e)||Un(e).position==="fixed"?null:e.offsetParent}function MR(e){var t=/firefox/i.test(wd()),n=/Trident/i.test(wd());if(n&&Gt(e)){var r=Un(e);if(r.position==="fixed")return null}var o=gu(e);for(up(o)&&(o=o.host);Gt(o)&&["html","body"].indexOf($n(o))<0;){var i=Un(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function _s(e){for(var t=$t(e),n=jm(e);n&&_R(n)&&Un(n).position==="static";)n=jm(n);return n&&($n(n)==="html"||$n(n)==="body"&&Un(n).position==="static")?t:n||MR(e)||t}function dp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Li(e,t,n){return Nr(e,ul(t,n))}function IR(e,t,n){var r=Li(e,t,n);return r>n?n:r}function qy(){return{top:0,right:0,bottom:0,left:0}}function Zy(e){return Object.assign({},qy(),e)}function Jy(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var jR=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Zy(typeof t!="number"?t:Jy(t,Os))};function NR(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Rn(n.placement),l=dp(a),u=[gt,qt].indexOf(a)>=0,c=u?"height":"width";if(!(!i||!s)){var d=jR(o.padding,n),h=cp(i),x=l==="y"?vt:gt,g=l==="y"?Yt:qt,v=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],w=s[l]-n.rects.reference[l],f=_s(i),p=f?l==="y"?f.clientHeight||0:f.clientWidth||0:0,m=v/2-w/2,S=d[x],k=p-h[c]-d[g],P=p/2-h[c]/2+m,E=Li(S,P,k),$=l;n.modifiersData[r]=(t={},t[$]=E,t.centerOffset=E-P,t)}}function LR(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Yy(t.elements.popper,o)&&(t.elements.arrow=o))}const zR={name:"arrow",enabled:!0,phase:"main",fn:NR,effect:LR,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fo(e){return e.split("-")[1]}var AR={top:"auto",right:"auto",bottom:"auto",left:"auto"};function DR(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Do(n*o)/o||0,y:Do(r*o)/o||0}}function Nm(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,d=e.isFixed,h=s.x,x=h===void 0?0:h,g=s.y,v=g===void 0?0:g,w=typeof c=="function"?c({x,y:v}):{x,y:v};x=w.x,v=w.y;var f=s.hasOwnProperty("x"),p=s.hasOwnProperty("y"),m=gt,S=vt,k=window;if(u){var P=_s(n),E="clientHeight",$="clientWidth";if(P===$t(n)&&(P=Cr(n),Un(P).position!=="static"&&a==="absolute"&&(E="scrollHeight",$="scrollWidth")),P=P,o===vt||(o===gt||o===qt)&&i===fs){S=Yt;var O=d&&P===k&&k.visualViewport?k.visualViewport.height:P[E];v-=O-r.height,v*=l?1:-1}if(o===gt||(o===vt||o===Yt)&&i===fs){m=qt;var T=d&&P===k&&k.visualViewport?k.visualViewport.width:P[$];x-=T-r.width,x*=l?1:-1}}var M=Object.assign({position:a},u&&AR),N=c===!0?DR({x,y:v},$t(n)):{x,y:v};if(x=N.x,v=N.y,l){var L;return Object.assign({},M,(L={},L[S]=p?"0":"",L[m]=f?"0":"",L.transform=(k.devicePixelRatio||1)<=1?"translate("+x+"px, "+v+"px)":"translate3d("+x+"px, "+v+"px, 0)",L))}return Object.assign({},M,(t={},t[S]=p?v+"px":"",t[m]=f?x+"px":"",t.transform="",t))}function BR(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:Rn(t.placement),variation:Fo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Nm(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Nm(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const FR={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:BR,data:{}};var ra={passive:!0};function UR(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,a=s===void 0?!0:s,l=$t(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,ra)}),a&&l.addEventListener("resize",n.update,ra),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,ra)}),a&&l.removeEventListener("resize",n.update,ra)}}const WR={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:UR,data:{}};var HR={left:"right",right:"left",bottom:"top",top:"bottom"};function $a(e){return e.replace(/left|right|bottom|top/g,function(t){return HR[t]})}var VR={start:"end",end:"start"};function Lm(e){return e.replace(/start|end/g,function(t){return VR[t]})}function fp(e){var t=$t(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function pp(e){return Bo(Cr(e)).left+fp(e).scrollLeft}function GR(e,t){var n=$t(e),r=Cr(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;var u=Xy();(u||!u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a+pp(e),y:l}}function KR(e){var t,n=Cr(e),r=fp(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Nr(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Nr(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-r.scrollLeft+pp(e),l=-r.scrollTop;return Un(o||n).direction==="rtl"&&(a+=Nr(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}function hp(e){var t=Un(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function e1(e){return["html","body","#document"].indexOf($n(e))>=0?e.ownerDocument.body:Gt(e)&&hp(e)?e:e1(gu(e))}function zi(e,t){var n;t===void 0&&(t=[]);var r=e1(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=$t(r),s=o?[i].concat(i.visualViewport||[],hp(r)?r:[]):r,a=t.concat(s);return o?a:a.concat(zi(gu(s)))}function bd(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function QR(e,t){var n=Bo(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function zm(e,t,n){return t===Ky?bd(GR(e,n)):Ur(t)?QR(t,n):bd(KR(Cr(e)))}function XR(e){var t=zi(gu(e)),n=["absolute","fixed"].indexOf(Un(e).position)>=0,r=n&&Gt(e)?_s(e):e;return Ur(r)?t.filter(function(o){return Ur(o)&&Yy(o,r)&&$n(o)!=="body"}):[]}function YR(e,t,n,r){var o=t==="clippingParents"?XR(e):[].concat(t),i=[].concat(o,[n]),s=i[0],a=i.reduce(function(l,u){var c=zm(e,u,r);return l.top=Nr(c.top,l.top),l.right=ul(c.right,l.right),l.bottom=ul(c.bottom,l.bottom),l.left=Nr(c.left,l.left),l},zm(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function t1(e){var t=e.reference,n=e.element,r=e.placement,o=r?Rn(r):null,i=r?Fo(r):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case vt:l={x:s,y:t.y-n.height};break;case Yt:l={x:s,y:t.y+t.height};break;case qt:l={x:t.x+t.width,y:a};break;case gt:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=o?dp(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Ao:l[u]=l[u]-(t[c]/2-n[c]/2);break;case fs:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function ps(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,s=i===void 0?e.strategy:i,a=n.boundary,l=a===void 0?vR:a,u=n.rootBoundary,c=u===void 0?Ky:u,d=n.elementContext,h=d===void 0?gi:d,x=n.altBoundary,g=x===void 0?!1:x,v=n.padding,w=v===void 0?0:v,f=Zy(typeof w!="number"?w:Jy(w,Os)),p=h===gi?gR:gi,m=e.rects.popper,S=e.elements[g?p:h],k=YR(Ur(S)?S:S.contextElement||Cr(e.elements.popper),l,c,s),P=Bo(e.elements.reference),E=t1({reference:P,element:m,strategy:"absolute",placement:o}),$=bd(Object.assign({},m,E)),O=h===gi?$:P,T={top:k.top-O.top+f.top,bottom:O.bottom-k.bottom+f.bottom,left:k.left-O.left+f.left,right:O.right-k.right+f.right},M=e.modifiersData.offset;if(h===gi&&M){var N=M[o];Object.keys(T).forEach(function(L){var B=[qt,Yt].indexOf(L)>=0?1:-1,z=[vt,Yt].indexOf(L)>=0?"y":"x";T[L]+=N[z]*B})}return T}function qR(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Qy:l,c=Fo(r),d=c?a?Im:Im.filter(function(g){return Fo(g)===c}):Os,h=d.filter(function(g){return u.indexOf(g)>=0});h.length===0&&(h=d);var x=h.reduce(function(g,v){return g[v]=ps(e,{placement:v,boundary:o,rootBoundary:i,padding:s})[Rn(v)],g},{});return Object.keys(x).sort(function(g,v){return x[g]-x[v]})}function ZR(e){if(Rn(e)===lp)return[];var t=$a(e);return[Lm(e),t,Lm(t)]}function JR(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,h=n.altBoundary,x=n.flipVariations,g=x===void 0?!0:x,v=n.allowedAutoPlacements,w=t.options.placement,f=Rn(w),p=f===w,m=l||(p||!g?[$a(w)]:ZR(w)),S=[w].concat(m).reduce(function(te,oe){return te.concat(Rn(oe)===lp?qR(t,{placement:oe,boundary:c,rootBoundary:d,padding:u,flipVariations:g,allowedAutoPlacements:v}):oe)},[]),k=t.rects.reference,P=t.rects.popper,E=new Map,$=!0,O=S[0],T=0;T=0,z=B?"width":"height",I=ps(t,{placement:M,boundary:c,rootBoundary:d,altBoundary:h,padding:u}),D=B?L?qt:gt:L?Yt:vt;k[z]>P[z]&&(D=$a(D));var R=$a(D),_=[];if(i&&_.push(I[N]<=0),a&&_.push(I[D]<=0,I[R]<=0),_.every(function(te){return te})){O=M,$=!1;break}E.set(M,_)}if($)for(var A=g?3:1,G=function(oe){var le=S.find(function(we){var ve=E.get(we);if(ve)return ve.slice(0,oe).every(function(ue){return ue})});if(le)return O=le,"break"},K=A;K>0;K--){var $e=G(K);if($e==="break")break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}}const e$={name:"flip",enabled:!0,phase:"main",fn:JR,requiresIfExists:["offset"],data:{_skip:!1}};function Am(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Dm(e){return[vt,qt,Yt,gt].some(function(t){return e[t]>=0})}function t$(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=ps(t,{elementContext:"reference"}),a=ps(t,{altBoundary:!0}),l=Am(s,r),u=Am(a,o,i),c=Dm(l),d=Dm(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}const n$={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:t$};function r$(e,t,n){var r=Rn(e),o=[gt,vt].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=i[0],a=i[1];return s=s||0,a=(a||0)*o,[gt,qt].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function o$(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,s=Qy.reduce(function(c,d){return c[d]=r$(d,t.rects,i),c},{}),a=s[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=s}const i$={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:o$};function s$(e){var t=e.state,n=e.name;t.modifiersData[n]=t1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const a$={name:"popperOffsets",enabled:!0,phase:"read",fn:s$,data:{}};function l$(e){return e==="x"?"y":"x"}function u$(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,h=n.tether,x=h===void 0?!0:h,g=n.tetherOffset,v=g===void 0?0:g,w=ps(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),f=Rn(t.placement),p=Fo(t.placement),m=!p,S=dp(f),k=l$(S),P=t.modifiersData.popperOffsets,E=t.rects.reference,$=t.rects.popper,O=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,T=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(P){if(i){var L,B=S==="y"?vt:gt,z=S==="y"?Yt:qt,I=S==="y"?"height":"width",D=P[S],R=D+w[B],_=D-w[z],A=x?-$[I]/2:0,G=p===Ao?E[I]:$[I],K=p===Ao?-$[I]:-E[I],$e=t.elements.arrow,te=x&&$e?cp($e):{width:0,height:0},oe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:qy(),le=oe[B],we=oe[z],ve=Li(0,E[I],te[I]),ue=m?E[I]/2-A-ve-le-T.mainAxis:G-ve-le-T.mainAxis,De=m?-E[I]/2+A+ve+we+T.mainAxis:K+ve+we+T.mainAxis,pe=t.elements.arrow&&_s(t.elements.arrow),qe=pe?S==="y"?pe.clientTop||0:pe.clientLeft||0:0,ne=(L=M==null?void 0:M[S])!=null?L:0,me=D+ue-ne-qe,ge=D+De-ne,vn=Li(x?ul(R,me):R,D,x?Nr(_,ge):_);P[S]=vn,N[S]=vn-D}if(a){var xt,Ze=S==="x"?vt:gt,Tn=S==="x"?Yt:qt,Ue=P[k],St=k==="y"?"height":"width",It=Ue+w[Ze],tn=Ue-w[Tn],ke=[vt,gt].indexOf(f)!==-1,jt=(xt=M==null?void 0:M[k])!=null?xt:0,On=ke?It:Ue-E[St]-$[St]-jt+T.altAxis,Vn=ke?Ue+E[St]+$[St]-jt-T.altAxis:tn,Qr=x&&ke?IR(On,Ue,Vn):Li(x?On:It,Ue,x?Vn:tn);P[k]=Qr,N[k]=Qr-Ue}t.modifiersData[r]=N}}const c$={name:"preventOverflow",enabled:!0,phase:"main",fn:u$,requiresIfExists:["offset"]};function d$(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function f$(e){return e===$t(e)||!Gt(e)?fp(e):d$(e)}function p$(e){var t=e.getBoundingClientRect(),n=Do(t.width)/e.offsetWidth||1,r=Do(t.height)/e.offsetHeight||1;return n!==1||r!==1}function h$(e,t,n){n===void 0&&(n=!1);var r=Gt(t),o=Gt(t)&&p$(t),i=Cr(t),s=Bo(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(($n(t)!=="body"||hp(i))&&(a=f$(t)),Gt(t)?(l=Bo(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=pp(i))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function m$(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function v$(e){var t=m$(e);return RR.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function g$(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function y$(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Bm={placement:"bottom",modifiers:[],strategy:"absolute"};function Fm(){for(var e=arguments.length,t=new Array(e),n=0;n{i||a(b$(o)||document.body)},[o,i]),hn(()=>{if(s&&!i)return ol(n,s),()=>{ol(n,null)}},[n,s,i]),i){if(y.isValidElement(r)){const u={ref:l};return y.cloneElement(r,u)}return C.jsx(y.Fragment,{children:r})}return C.jsx(y.Fragment,{children:s&&wf.createPortal(r,s)})});function C$(e){return X("MuiPopper",e)}q("MuiPopper",["root"]);const k$=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],E$=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function P$(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Cd(e){return typeof e=="function"?e():e}function R$(e){return e.nodeType!==void 0}const $$=e=>{const{classes:t}=e;return Z({root:["root"]},C$,t)},T$={},O$=y.forwardRef(function(t,n){var r;const{anchorEl:o,children:i,direction:s,disablePortal:a,modifiers:l,open:u,placement:c,popperOptions:d,popperRef:h,slotProps:x={},slots:g={},TransitionProps:v}=t,w=F(t,k$),f=y.useRef(null),p=je(f,n),m=y.useRef(null),S=je(m,h),k=y.useRef(S);hn(()=>{k.current=S},[S]),y.useImperativeHandle(h,()=>m.current,[]);const P=P$(c,s),[E,$]=y.useState(P),[O,T]=y.useState(Cd(o));y.useEffect(()=>{m.current&&m.current.forceUpdate()}),y.useEffect(()=>{o&&T(Cd(o))},[o]),hn(()=>{if(!O||!u)return;const z=R=>{$(R.placement)};let I=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:R})=>{z(R)}}];l!=null&&(I=I.concat(l)),d&&d.modifiers!=null&&(I=I.concat(d.modifiers));const D=w$(O,f.current,b({placement:P},d,{modifiers:I}));return k.current(D),()=>{D.destroy(),k.current(null)}},[O,a,l,u,d,P]);const M={placement:E};v!==null&&(M.TransitionProps=v);const N=$$(t),L=(r=g.root)!=null?r:"div",B=vr({elementType:L,externalSlotProps:x.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:p},ownerState:t,className:N.root});return C.jsx(L,b({},B,{children:typeof i=="function"?i(M):i}))}),_$=y.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:u,open:c,placement:d="bottom",popperOptions:h=T$,popperRef:x,style:g,transition:v=!1,slotProps:w={},slots:f={}}=t,p=F(t,E$),[m,S]=y.useState(!0),k=()=>{S(!1)},P=()=>{S(!0)};if(!l&&!c&&(!v||m))return null;let E;if(i)E=i;else if(r){const T=Cd(r);E=T&&R$(T)?Ve(T).body:Ve(null).body}const $=!c&&l&&(!v||m)?"none":void 0,O=v?{in:c,onEnter:k,onExited:P}:void 0;return C.jsx(n1,{disablePortal:a,container:E,children:C.jsx(O$,b({anchorEl:r,direction:s,disablePortal:a,modifiers:u,ref:n,open:v?!m:c,placement:d,popperOptions:h,popperRef:x,slotProps:w,slots:f},p,{style:b({position:"fixed",top:0,left:0,display:$},g),TransitionProps:O,children:o}))})}),M$=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],I$=H(_$,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),r1=y.forwardRef(function(t,n){var r;const o=Vy(),i=Y({props:t,name:"MuiPopper"}),{anchorEl:s,component:a,components:l,componentsProps:u,container:c,disablePortal:d,keepMounted:h,modifiers:x,open:g,placement:v,popperOptions:w,popperRef:f,transition:p,slots:m,slotProps:S}=i,k=F(i,M$),P=(r=m==null?void 0:m.root)!=null?r:l==null?void 0:l.Root,E=b({anchorEl:s,container:c,disablePortal:d,keepMounted:h,modifiers:x,open:g,placement:v,popperOptions:w,popperRef:f,transition:p},k);return C.jsx(I$,b({as:a,direction:o==null?void 0:o.direction,slots:{root:P},slotProps:S??u},E,{ref:n}))}),j$=y.createContext(void 0);function N$(){return y.useContext(j$)}function L$(e){return C.jsx(wC,b({},e,{defaultTheme:tp,themeId:jo}))}const z$=Mt(C.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function A$(e){return X("MuiAvatar",e)}q("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const D$=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],B$=e=>{const{classes:t,variant:n,colorDefault:r}=e;return Z({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},A$,t)},F$=H("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:b({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:b({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),U$=H("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),W$=H(z$,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function H$({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,i]=y.useState(!1);return y.useEffect(()=>{if(!n&&!r)return;i(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&i("loaded")},a.onerror=()=>{s&&i("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),o}const V$=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiAvatar"}),{alt:o,children:i,className:s,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:h,srcSet:x,variant:g="circular"}=r,v=F(r,D$);let w=null;const f=H$(b({},c,{src:h,srcSet:x})),p=h||x,m=p&&f!=="error",S=b({},r,{colorDefault:!m,component:a,variant:g}),k=B$(S),[P,E]=xd("img",{className:k.img,elementType:U$,externalForwardedProps:{slots:l,slotProps:{img:b({},c,u.img)}},additionalProps:{alt:o,src:h,srcSet:x,sizes:d},ownerState:S});return m?w=C.jsx(P,b({},E)):i||i===0?w=i:p&&o?w=o[0]:w=C.jsx(W$,{ownerState:S,className:k.fallback}),C.jsx(F$,b({as:a,ownerState:S,className:V(k.root,s),ref:n},v,{children:w}))}),G$=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],K$={entering:{opacity:1},entered:{opacity:1}},Q$=y.forwardRef(function(t,n){const r=Zo(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:a,easing:l,in:u,onEnter:c,onEntered:d,onEntering:h,onExit:x,onExited:g,onExiting:v,style:w,timeout:f=o,TransitionComponent:p=mn}=t,m=F(t,G$),S=y.useRef(null),k=je(S,a.ref,n),P=B=>z=>{if(B){const I=S.current;z===void 0?B(I):B(I,z)}},E=P(h),$=P((B,z)=>{sp(B);const I=zo({style:w,timeout:f,easing:l},{mode:"enter"});B.style.webkitTransition=r.transitions.create("opacity",I),B.style.transition=r.transitions.create("opacity",I),c&&c(B,z)}),O=P(d),T=P(v),M=P(B=>{const z=zo({style:w,timeout:f,easing:l},{mode:"exit"});B.style.webkitTransition=r.transitions.create("opacity",z),B.style.transition=r.transitions.create("opacity",z),x&&x(B)}),N=P(g),L=B=>{i&&i(S.current,B)};return C.jsx(p,b({appear:s,in:u,nodeRef:S,onEnter:$,onEntered:O,onEntering:E,onExit:M,onExited:N,onExiting:T,addEndListener:L,timeout:f},m,{children:(B,z)=>y.cloneElement(a,b({style:b({opacity:0,visibility:B==="exited"&&!u?"hidden":void 0},K$[B],w,a.props.style),ref:k},z))}))});function X$(e){return X("MuiBackdrop",e)}q("MuiBackdrop",["root","invisible"]);const Y$=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],q$=e=>{const{classes:t,invisible:n}=e;return Z({root:["root",n&&"invisible"]},X$,t)},Z$=H("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>b({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"},e.invisible&&{backgroundColor:"transparent"})),J$=y.forwardRef(function(t,n){var r,o,i;const s=Y({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:u="div",components:c={},componentsProps:d={},invisible:h=!1,open:x,slotProps:g={},slots:v={},TransitionComponent:w=Q$,transitionDuration:f}=s,p=F(s,Y$),m=b({},s,{component:u,invisible:h}),S=q$(m),k=(r=g.root)!=null?r:d.root;return C.jsx(w,b({in:x,timeout:f},p,{children:C.jsx(Z$,b({"aria-hidden":!0},k,{as:(o=(i=v.root)!=null?i:c.Root)!=null?o:u,className:V(S.root,l,k==null?void 0:k.className),ownerState:b({},m,k==null?void 0:k.ownerState),classes:S,ref:n,children:a}))}))}),e3=q("MuiBox",["root"]),t3=iu(),bn=RC({themeId:jo,defaultTheme:t3,defaultClassName:e3.root,generateClassName:Ff.generate});function n3(e){return X("MuiButton",e)}const oa=q("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"]),r3=y.createContext({}),o3=y.createContext(void 0),i3=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],s3=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,a={root:["root",i,`${i}${W(t)}`,`size${W(o)}`,`${i}Size${W(o)}`,`color${W(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${W(o)}`],endIcon:["icon","endIcon",`iconSize${W(o)}`]},l=Z(a,n3,s);return b({},s,l)},o1=e=>b({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),a3=H(ti,{shouldForwardProp:e=>br(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${W(n.color)}`],t[`size${W(n.size)}`],t[`${n.variant}Size${W(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return b({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":b({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ae(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ae(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ae(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":b({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${oa.focusVisible}`]:b({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${oa.disabled}`]:b({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${ae(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${oa.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${oa.disabled}`]:{boxShadow:"none"}}),l3=H("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${W(n.size)}`]]}})(({ownerState:e})=>b({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},o1(e))),u3=H("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${W(n.size)}`]]}})(({ownerState:e})=>b({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},o1(e))),Qn=y.forwardRef(function(t,n){const r=y.useContext(r3),o=y.useContext(o3),i=us(r,t),s=Y({props:i,name:"MuiButton"}),{children:a,color:l="primary",component:u="button",className:c,disabled:d=!1,disableElevation:h=!1,disableFocusRipple:x=!1,endIcon:g,focusVisibleClassName:v,fullWidth:w=!1,size:f="medium",startIcon:p,type:m,variant:S="text"}=s,k=F(s,i3),P=b({},s,{color:l,component:u,disabled:d,disableElevation:h,disableFocusRipple:x,fullWidth:w,size:f,type:m,variant:S}),E=s3(P),$=p&&C.jsx(l3,{className:E.startIcon,ownerState:P,children:p}),O=g&&C.jsx(u3,{className:E.endIcon,ownerState:P,children:g}),T=o||"";return C.jsxs(a3,b({ownerState:P,className:V(r.className,E.root,c,T),component:u,disabled:d,focusRipple:!x,focusVisibleClassName:V(E.focusVisible,v),ref:n,type:m},k,{classes:E,children:[$,a,O]}))});function c3(e){return X("PrivateSwitchBase",e)}q("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const d3=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],f3=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${W(o)}`],input:["input"]};return Z(i,c3,t)},p3=H(ti)(({ownerState:e})=>b({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),h3=H("input",{shouldForwardProp:br})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),i1=y.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:s,defaultChecked:a,disabled:l,disableFocusRipple:u=!1,edge:c=!1,icon:d,id:h,inputProps:x,inputRef:g,name:v,onBlur:w,onChange:f,onFocus:p,readOnly:m,required:S=!1,tabIndex:k,type:P,value:E}=t,$=F(t,d3),[O,T]=Qf({controlled:o,default:!!a,name:"SwitchBase",state:"checked"}),M=N$(),N=_=>{p&&p(_),M&&M.onFocus&&M.onFocus(_)},L=_=>{w&&w(_),M&&M.onBlur&&M.onBlur(_)},B=_=>{if(_.nativeEvent.defaultPrevented)return;const A=_.target.checked;T(A),f&&f(_,A)};let z=l;M&&typeof z>"u"&&(z=M.disabled);const I=P==="checkbox"||P==="radio",D=b({},t,{checked:O,disabled:z,disableFocusRipple:u,edge:c}),R=f3(D);return C.jsxs(p3,b({component:"span",className:V(R.root,s),centerRipple:!0,focusRipple:!u,disabled:z,tabIndex:null,role:void 0,onFocus:N,onBlur:L,ownerState:D,ref:n},$,{children:[C.jsx(h3,b({autoFocus:r,checked:o,defaultChecked:a,className:R.input,disabled:z,id:I?h:void 0,name:v,onChange:B,readOnly:m,ref:g,required:S,ownerState:D,tabIndex:k,type:P},P==="checkbox"&&E===void 0?{}:{value:E},x)),O?i:d]}))}),m3=Mt(C.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"),v3=Mt(C.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"),g3=Mt(C.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 y3(e){return X("MuiCheckbox",e)}const oc=q("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),x3=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],S3=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${W(r)}`,`size${W(o)}`]},s=Z(i,y3,t);return b({},t,s)},w3=H(i1,{shouldForwardProp:e=>br(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${W(n.size)}`],n.color!=="default"&&t[`color${W(n.color)}`]]}})(({theme:e,ownerState:t})=>b({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ae(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${oc.checked}, &.${oc.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${oc.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),b3=C.jsx(v3,{}),C3=C.jsx(m3,{}),k3=C.jsx(g3,{}),E3=y.forwardRef(function(t,n){var r,o;const i=Y({props:t,name:"MuiCheckbox"}),{checkedIcon:s=b3,color:a="primary",icon:l=C3,indeterminate:u=!1,indeterminateIcon:c=k3,inputProps:d,size:h="medium",className:x}=i,g=F(i,x3),v=u?c:l,w=u?c:s,f=b({},i,{color:a,indeterminate:u,size:h}),p=S3(f);return C.jsx(w3,b({type:"checkbox",inputProps:b({"data-indeterminate":u},d),icon:y.cloneElement(v,{fontSize:(r=v.props.fontSize)!=null?r:h}),checkedIcon:y.cloneElement(w,{fontSize:(o=w.props.fontSize)!=null?o:h}),ownerState:f,ref:n,className:V(p.root,x)},g,{classes:p}))});function Um(e){return e.substring(2).toLowerCase()}function P3(e,t){return t.documentElement.clientWidth(setTimeout(()=>{l.current=!0},0),()=>{l.current=!1}),[]);const c=je(t.ref,a),d=Wt(g=>{const v=u.current;u.current=!1;const w=Ve(a.current);if(!l.current||!a.current||"clientX"in g&&P3(g,w))return;if(s.current){s.current=!1;return}let f;g.composedPath?f=g.composedPath().indexOf(a.current)>-1:f=!w.documentElement.contains(g.target)||a.current.contains(g.target),!f&&(n||!v)&&o(g)}),h=g=>v=>{u.current=!0;const w=t.props[g];w&&w(v)},x={ref:c};return i!==!1&&(x[i]=h(i)),y.useEffect(()=>{if(i!==!1){const g=Um(i),v=Ve(a.current),w=()=>{s.current=!0};return v.addEventListener(g,d),v.addEventListener("touchmove",w),()=>{v.removeEventListener(g,d),v.removeEventListener("touchmove",w)}}},[d,i]),r!==!1&&(x[r]=h(r)),y.useEffect(()=>{if(r!==!1){const g=Um(r),v=Ve(a.current);return v.addEventListener(g,d),()=>{v.removeEventListener(g,d)}}},[d,r]),C.jsx(y.Fragment,{children:y.cloneElement(t,x)})}const s1=kk({createStyledComponent:H("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${W(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Y({props:e,name:"MuiContainer"})}),$3=(e,t)=>b({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),T3=e=>b({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),O3=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,a])=>{var l;r[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let o=b({html:$3(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:b({margin:0},T3(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const i=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return i&&(o=[o,i]),o};function a1(e){const t=Y({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return C.jsxs(y.Fragment,{children:[C.jsx(L$,{styles:o=>O3(o,r)}),n]})}function _3(e){const t=Ve(e);return t.body===e?mr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ai(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Wm(e){return parseInt(mr(e).getComputedStyle(e).paddingRight,10)||0}function M3(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Hm(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const a=i.indexOf(s)===-1,l=!M3(s);a&&l&&Ai(s,o)})}function ic(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function I3(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(_3(r)){const s=Py(Ve(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Wm(r)+s}px`;const a=Ve(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Wm(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=Ve(r).body;else{const s=r.parentElement,a=mr(r);i=(s==null?void 0:s.nodeName)==="HTML"&&a.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:a})=>{i?s.style.setProperty(a,i):s.style.removeProperty(a)})}}function j3(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class N3{constructor(){this.containers=void 0,this.modals=void 0,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&&Ai(t.modalRef,!1);const o=j3(n);Hm(n,t.mount,t.modalRef,o,!0);const i=ic(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=ic(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=I3(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=ic(this.containers,s=>s.modals.indexOf(t)!==-1),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&&Ai(t.modalRef,n),Hm(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&&Ai(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const L3=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function z3(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 A3(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 D3(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||A3(e))}function B3(e){const t=[],n=[];return Array.from(e.querySelectorAll(L3)).forEach((r,o)=>{const i=z3(r);i===-1||!D3(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 F3(){return!0}function U3(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=B3,isEnabled:s=F3,open:a}=e,l=y.useRef(!1),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),h=y.useRef(null),x=y.useRef(!1),g=y.useRef(null),v=je(t.ref,g),w=y.useRef(null);y.useEffect(()=>{!a||!g.current||(x.current=!n)},[n,a]),y.useEffect(()=>{if(!a||!g.current)return;const m=Ve(g.current);return g.current.contains(m.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),x.current&&g.current.focus()),()=>{o||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),y.useEffect(()=>{if(!a||!g.current)return;const m=Ve(g.current),S=E=>{w.current=E,!(r||!s()||E.key!=="Tab")&&m.activeElement===g.current&&E.shiftKey&&(l.current=!0,c.current&&c.current.focus())},k=()=>{const E=g.current;if(E===null)return;if(!m.hasFocus()||!s()||l.current){l.current=!1;return}if(E.contains(m.activeElement)||r&&m.activeElement!==u.current&&m.activeElement!==c.current)return;if(m.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!x.current)return;let $=[];if((m.activeElement===u.current||m.activeElement===c.current)&&($=i(g.current)),$.length>0){var O,T;const M=!!((O=w.current)!=null&&O.shiftKey&&((T=w.current)==null?void 0:T.key)==="Tab"),N=$[0],L=$[$.length-1];typeof N!="string"&&typeof L!="string"&&(M?L.focus():N.focus())}else E.focus()};m.addEventListener("focusin",k),m.addEventListener("keydown",S,!0);const P=setInterval(()=>{m.activeElement&&m.activeElement.tagName==="BODY"&&k()},50);return()=>{clearInterval(P),m.removeEventListener("focusin",k),m.removeEventListener("keydown",S,!0)}},[n,r,o,s,a,i]);const f=m=>{d.current===null&&(d.current=m.relatedTarget),x.current=!0,h.current=m.target;const S=t.props.onFocus;S&&S(m)},p=m=>{d.current===null&&(d.current=m.relatedTarget),x.current=!0};return C.jsxs(y.Fragment,{children:[C.jsx("div",{tabIndex:a?0:-1,onFocus:p,ref:u,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:v,onFocus:f}),C.jsx("div",{tabIndex:a?0:-1,onFocus:p,ref:c,"data-testid":"sentinelEnd"})]})}function W3(e){return typeof e=="function"?e():e}function H3(e){return e?e.props.hasOwnProperty("in"):!1}const V3=new N3;function G3(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=V3,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,h=y.useRef({}),x=y.useRef(null),g=y.useRef(null),v=je(g,d),[w,f]=y.useState(!c),p=H3(l);let m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);const S=()=>Ve(x.current),k=()=>(h.current.modalRef=g.current,h.current.mount=x.current,h.current),P=()=>{o.mount(k(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},E=Wt(()=>{const I=W3(t)||S().body;o.add(k(),I),g.current&&P()}),$=y.useCallback(()=>o.isTopModal(k()),[o]),O=Wt(I=>{x.current=I,I&&(c&&$()?P():g.current&&Ai(g.current,m))}),T=y.useCallback(()=>{o.remove(k(),m)},[m,o]);y.useEffect(()=>()=>{T()},[T]),y.useEffect(()=>{c?E():(!p||!i)&&T()},[c,T,p,i,E]);const M=I=>D=>{var R;(R=I.onKeyDown)==null||R.call(I,D),!(D.key!=="Escape"||D.which===229||!$())&&(n||(D.stopPropagation(),u&&u(D,"escapeKeyDown")))},N=I=>D=>{var R;(R=I.onClick)==null||R.call(I,D),D.target===D.currentTarget&&u&&u(D,"backdropClick")};return{getRootProps:(I={})=>{const D=sl(e);delete D.onTransitionEnter,delete D.onTransitionExited;const R=b({},D,I);return b({role:"presentation"},R,{onKeyDown:M(R),ref:v})},getBackdropProps:(I={})=>{const D=I;return b({"aria-hidden":!0},D,{onClick:N(D),open:c})},getTransitionProps:()=>{const I=()=>{f(!1),s&&s()},D=()=>{f(!0),a&&a(),i&&T()};return{onEnter:pd(I,l==null?void 0:l.props.onEnter),onExited:pd(D,l==null?void 0:l.props.onExited)}},rootRef:v,portalRef:O,isTopModal:$,exited:w,hasTransition:p}}function K3(e){return X("MuiModal",e)}q("MuiModal",["root","hidden","backdrop"]);const Q3=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],X3=e=>{const{open:t,exited:n,classes:r}=e;return Z({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},K3,r)},Y3=H("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>b({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),q3=H(J$,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),l1=y.forwardRef(function(t,n){var r,o,i,s,a,l;const u=Y({name:"MuiModal",props:t}),{BackdropComponent:c=q3,BackdropProps:d,className:h,closeAfterTransition:x=!1,children:g,container:v,component:w,components:f={},componentsProps:p={},disableAutoFocus:m=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:k=!1,disablePortal:P=!1,disableRestoreFocus:E=!1,disableScrollLock:$=!1,hideBackdrop:O=!1,keepMounted:T=!1,onBackdropClick:M,open:N,slotProps:L,slots:B}=u,z=F(u,Q3),I=b({},u,{closeAfterTransition:x,disableAutoFocus:m,disableEnforceFocus:S,disableEscapeKeyDown:k,disablePortal:P,disableRestoreFocus:E,disableScrollLock:$,hideBackdrop:O,keepMounted:T}),{getRootProps:D,getBackdropProps:R,getTransitionProps:_,portalRef:A,isTopModal:G,exited:K,hasTransition:$e}=G3(b({},I,{rootRef:n})),te=b({},I,{exited:K}),oe=X3(te),le={};if(g.props.tabIndex===void 0&&(le.tabIndex="-1"),$e){const{onEnter:ne,onExited:me}=_();le.onEnter=ne,le.onExited=me}const we=(r=(o=B==null?void 0:B.root)!=null?o:f.Root)!=null?r:Y3,ve=(i=(s=B==null?void 0:B.backdrop)!=null?s:f.Backdrop)!=null?i:c,ue=(a=L==null?void 0:L.root)!=null?a:p.root,De=(l=L==null?void 0:L.backdrop)!=null?l:p.backdrop,pe=vr({elementType:we,externalSlotProps:ue,externalForwardedProps:z,getSlotProps:D,additionalProps:{ref:n,as:w},ownerState:te,className:V(h,ue==null?void 0:ue.className,oe==null?void 0:oe.root,!te.open&&te.exited&&(oe==null?void 0:oe.hidden))}),qe=vr({elementType:ve,externalSlotProps:De,additionalProps:d,getSlotProps:ne=>R(b({},ne,{onClick:me=>{M&&M(me),ne!=null&&ne.onClick&&ne.onClick(me)}})),className:V(De==null?void 0:De.className,d==null?void 0:d.className,oe==null?void 0:oe.backdrop),ownerState:te});return!T&&!N&&(!$e||K)?null:C.jsx(n1,{ref:A,container:v,disablePortal:P,children:C.jsxs(we,b({},pe,{children:[!O&&c?C.jsx(ve,b({},qe)):null,C.jsx(U3,{disableEnforceFocus:S,disableAutoFocus:m,disableRestoreFocus:E,isEnabled:G,open:N,children:y.cloneElement(g,le)})]}))})}),Vm=q("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Z3=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function J3(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=mr(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const u=i.getComputedStyle(t);s=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const u=s.split("(")[1].split(")")[0].split(",");a=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?o?`translateX(${o.right+a-r.left}px)`:`translateX(${i.innerWidth+a-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function e4(e){return typeof e=="function"?e():e}function ia(e,t,n){const r=e4(n),o=J3(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const t4=y.forwardRef(function(t,n){const r=Zo(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:u,direction:c="down",easing:d=o,in:h,onEnter:x,onEntered:g,onEntering:v,onExit:w,onExited:f,onExiting:p,style:m,timeout:S=i,TransitionComponent:k=mn}=t,P=F(t,Z3),E=y.useRef(null),$=je(l.ref,E,n),O=R=>_=>{R&&(_===void 0?R(E.current):R(E.current,_))},T=O((R,_)=>{ia(c,R,u),sp(R),x&&x(R,_)}),M=O((R,_)=>{const A=zo({timeout:S,style:m,easing:d},{mode:"enter"});R.style.webkitTransition=r.transitions.create("-webkit-transform",b({},A)),R.style.transition=r.transitions.create("transform",b({},A)),R.style.webkitTransform="none",R.style.transform="none",v&&v(R,_)}),N=O(g),L=O(p),B=O(R=>{const _=zo({timeout:S,style:m,easing:d},{mode:"exit"});R.style.webkitTransition=r.transitions.create("-webkit-transform",_),R.style.transition=r.transitions.create("transform",_),ia(c,R,u),w&&w(R)}),z=O(R=>{R.style.webkitTransition="",R.style.transition="",f&&f(R)}),I=R=>{s&&s(E.current,R)},D=y.useCallback(()=>{E.current&&ia(c,E.current,u)},[c,u]);return y.useEffect(()=>{if(h||c==="down"||c==="right")return;const R=Gf(()=>{E.current&&ia(c,E.current,u)}),_=mr(E.current);return _.addEventListener("resize",R),()=>{R.clear(),_.removeEventListener("resize",R)}},[c,h,u]),y.useEffect(()=>{h||D()},[h,D]),C.jsx(k,b({nodeRef:E,onEnter:T,onEntered:N,onEntering:M,onExit:B,onExited:z,onExiting:L,addEndListener:I,appear:a,in:h,timeout:S},P,{children:(R,_)=>y.cloneElement(l,b({ref:$,style:b({visibility:R==="exited"&&!h?"hidden":void 0},m,l.props.style)},_))}))});function n4(e){return X("MuiDrawer",e)}q("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const r4=["BackdropProps"],o4=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],u1=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},i4=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${W(n)}`,r!=="temporary"&&`paperAnchorDocked${W(n)}`]};return Z(o,n4,t)},s4=H(l1,{name:"MuiDrawer",slot:"Root",overridesResolver:u1})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),Gm=H("div",{shouldForwardProp:br,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:u1})({flex:"0 0 auto"}),a4=H(ei,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${W(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${W(n.anchor)}`]]}})(({theme:e,ownerState:t})=>b({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),c1={left:"right",right:"left",top:"down",bottom:"up"};function l4(e){return["left","right"].indexOf(e)!==-1}function u4({direction:e},t){return e==="rtl"&&l4(t)?c1[t]:t}const c4=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiDrawer"}),o=Zo(),i=Xf(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:l,children:u,className:c,elevation:d=16,hideBackdrop:h=!1,ModalProps:{BackdropProps:x}={},onClose:g,open:v=!1,PaperProps:w={},SlideProps:f,TransitionComponent:p=t4,transitionDuration:m=s,variant:S="temporary"}=r,k=F(r.ModalProps,r4),P=F(r,o4),E=y.useRef(!1);y.useEffect(()=>{E.current=!0},[]);const $=u4({direction:i?"rtl":"ltr"},a),T=b({},r,{anchor:a,elevation:d,open:v,variant:S},P),M=i4(T),N=C.jsx(a4,b({elevation:S==="temporary"?d:0,square:!0},w,{className:V(M.paper,w.className),ownerState:T,children:u}));if(S==="permanent")return C.jsx(Gm,b({className:V(M.root,M.docked,c),ownerState:T,ref:n},P,{children:N}));const L=C.jsx(p,b({in:v,direction:c1[$],timeout:m,appear:E.current},f,{children:N}));return S==="persistent"?C.jsx(Gm,b({className:V(M.root,M.docked,c),ownerState:T,ref:n},P,{children:L})):C.jsx(s4,b({BackdropProps:b({},l,x,{transitionDuration:m}),className:V(M.root,M.modal,c),open:v,ownerState:T,onClose:g,hideBackdrop:h,ref:n},P,k,{children:L}))}),sc=Qk({createStyledComponent:H("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Y({props:e,name:"MuiStack"})}),nt=Bk({createStyledComponent:H("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>Y({props:e,name:"MuiGrid2"})}),d4=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function kd(e){return`scale(${e}, ${e**2})`}const f4={entering:{opacity:1,transform:kd(1)},entered:{opacity:1,transform:"none"}},ac=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),hs=y.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:a,onEnter:l,onEntered:u,onEntering:c,onExit:d,onExited:h,onExiting:x,style:g,timeout:v="auto",TransitionComponent:w=mn}=t,f=F(t,d4),p=_r(),m=y.useRef(),S=Zo(),k=y.useRef(null),P=je(k,i.ref,n),E=z=>I=>{if(z){const D=k.current;I===void 0?z(D):z(D,I)}},$=E(c),O=E((z,I)=>{sp(z);const{duration:D,delay:R,easing:_}=zo({style:g,timeout:v,easing:s},{mode:"enter"});let A;v==="auto"?(A=S.transitions.getAutoHeightDuration(z.clientHeight),m.current=A):A=D,z.style.transition=[S.transitions.create("opacity",{duration:A,delay:R}),S.transitions.create("transform",{duration:ac?A:A*.666,delay:R,easing:_})].join(","),l&&l(z,I)}),T=E(u),M=E(x),N=E(z=>{const{duration:I,delay:D,easing:R}=zo({style:g,timeout:v,easing:s},{mode:"exit"});let _;v==="auto"?(_=S.transitions.getAutoHeightDuration(z.clientHeight),m.current=_):_=I,z.style.transition=[S.transitions.create("opacity",{duration:_,delay:D}),S.transitions.create("transform",{duration:ac?_:_*.666,delay:ac?D:D||_*.333,easing:R})].join(","),z.style.opacity=0,z.style.transform=kd(.75),d&&d(z)}),L=E(h),B=z=>{v==="auto"&&p.start(m.current||0,z),r&&r(k.current,z)};return C.jsx(w,b({appear:o,in:a,nodeRef:k,onEnter:O,onEntered:T,onEntering:$,onExit:N,onExited:L,onExiting:M,addEndListener:B,timeout:v==="auto"?null:v},f,{children:(z,I)=>y.cloneElement(i,b({style:b({opacity:0,transform:kd(.75),visibility:z==="exited"&&!a?"hidden":void 0},f4[z],g,i.props.style),ref:P},I))}))});hs.muiSupportAuto=!0;function p4(e){return X("MuiLink",e)}const h4=q("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),d1={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},m4=e=>d1[e]||e,v4=({theme:e,ownerState:t})=>{const n=m4(t.color),r=Lo(e,`palette.${n}`,!1)||t.color,o=Lo(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:ae(r,.4)},g4=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],y4=e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${W(o)}`,n==="button"&&"button",r&&"focusVisible"]};return Z(i,p4,t)},x4=H(at,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${W(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>b({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&b({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:v4({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${h4.focusVisible}`]:{outline:"auto"}})),f1=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:s="a",onBlur:a,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:h}=r,x=F(r,g4),{isFocusVisibleRef:g,onBlur:v,onFocus:w,ref:f}=ou(),[p,m]=y.useState(!1),S=je(n,f),k=O=>{v(O),g.current===!1&&m(!1),a&&a(O)},P=O=>{w(O),g.current===!0&&m(!0),l&&l(O)},E=b({},r,{color:i,component:s,focusVisible:p,underline:c,variant:d}),$=y4(E);return C.jsx(x4,b({color:i,className:V($.root,o),classes:u,component:s,onBlur:k,onFocus:P,ref:S,ownerState:E,variant:d,sx:[...Object.keys(d1).includes(i)?[]:[{color:i}],...Array.isArray(h)?h:[h]]},x))}),dn=y.createContext({});function S4(e){return X("MuiList",e)}q("MuiList",["root","padding","dense","subheader"]);const w4=["children","className","component","dense","disablePadding","subheader"],b4=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Z({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},S4,t)},C4=H("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]}})(({ownerState:e})=>b({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),p1=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:a=!1,disablePadding:l=!1,subheader:u}=r,c=F(r,w4),d=y.useMemo(()=>({dense:a}),[a]),h=b({},r,{component:s,dense:a,disablePadding:l}),x=b4(h);return C.jsx(dn.Provider,{value:d,children:C.jsxs(C4,b({as:s,className:V(x.root,i),ref:n,ownerState:h},c,{children:[u,o]}))})});function k4(e){return X("MuiListItem",e)}const ro=q("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function E4(e){return X("MuiListItemButton",e)}const oo=q("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),P4=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],R4=(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]},$4=e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:s,selected:a}=e,u=Z({root:["root",r&&"dense",!i&&"gutters",s&&"divider",o&&"disabled",t==="flex-start"&&"alignItemsFlexStart",a&&"selected"]},E4,n);return b({},n,u)},T4=H(ti,{shouldForwardProp:e=>br(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:R4})(({theme:e,ownerState:t})=>b({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${oo.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ae(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${oo.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ae(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${oo.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ae(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ae(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${oo.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${oo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),O4=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:i=!1,component:s="div",children:a,dense:l=!1,disableGutters:u=!1,divider:c=!1,focusVisibleClassName:d,selected:h=!1,className:x}=r,g=F(r,P4),v=y.useContext(dn),w=y.useMemo(()=>({dense:l||v.dense||!1,alignItems:o,disableGutters:u}),[o,v.dense,l,u]),f=y.useRef(null);hn(()=>{i&&f.current&&f.current.focus()},[i]);const p=b({},r,{alignItems:o,dense:w.dense,disableGutters:u,divider:c,selected:h}),m=$4(p),S=je(f,n);return C.jsx(dn.Provider,{value:w,children:C.jsx(T4,b({ref:S,href:g.href||g.to,component:(g.href||g.to)&&s==="div"?"button":s,focusVisibleClassName:V(m.focusVisible,d),ownerState:p,className:V(m.root,x)},g,{classes:m,children:a}))})});function _4(e){return X("MuiListItemSecondaryAction",e)}q("MuiListItemSecondaryAction",["root","disableGutters"]);const M4=["className"],I4=e=>{const{disableGutters:t,classes:n}=e;return Z({root:["root",t&&"disableGutters"]},_4,n)},j4=H("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>b({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),h1=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiListItemSecondaryAction"}),{className:o}=r,i=F(r,M4),s=y.useContext(dn),a=b({},r,{disableGutters:s.disableGutters}),l=I4(a);return C.jsx(j4,b({className:V(l.root,o),ownerState:a,ref:n},i))});h1.muiName="ListItemSecondaryAction";const N4=["className"],L4=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],z4=(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.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},A4=e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:s,disablePadding:a,divider:l,hasSecondaryAction:u,selected:c}=e;return Z({root:["root",o&&"dense",!s&&"gutters",!a&&"padding",l&&"divider",i&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction",c&&"selected"],container:["container"]},k4,r)},D4=H("div",{name:"MuiListItem",slot:"Root",overridesResolver:z4})(({theme:e,ownerState:t})=>b({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&b({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${oo.root}`]:{paddingRight:48}},{[`&.${ro.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ro.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ae(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ro.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ae(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ro.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{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"}},[`&.${ro.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ae(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ae(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),B4=H("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),F4=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:s=!1,children:a,className:l,component:u,components:c={},componentsProps:d={},ContainerComponent:h="li",ContainerProps:{className:x}={},dense:g=!1,disabled:v=!1,disableGutters:w=!1,disablePadding:f=!1,divider:p=!1,focusVisibleClassName:m,secondaryAction:S,selected:k=!1,slotProps:P={},slots:E={}}=r,$=F(r.ContainerProps,N4),O=F(r,L4),T=y.useContext(dn),M=y.useMemo(()=>({dense:g||T.dense||!1,alignItems:o,disableGutters:w}),[o,T.dense,g,w]),N=y.useRef(null);hn(()=>{i&&N.current&&N.current.focus()},[i]);const L=y.Children.toArray(a),B=L.length&&Kf(L[L.length-1],["ListItemSecondaryAction"]),z=b({},r,{alignItems:o,autoFocus:i,button:s,dense:M.dense,disabled:v,disableGutters:w,disablePadding:f,divider:p,hasSecondaryAction:B,selected:k}),I=A4(z),D=je(N,n),R=E.root||c.Root||D4,_=P.root||d.root||{},A=b({className:V(I.root,_.className,l),disabled:v},O);let G=u||"li";return s&&(A.component=u||"div",A.focusVisibleClassName=V(ro.focusVisible,m),G=ti),B?(G=!A.component&&!u?"div":G,h==="li"&&(G==="li"?G="div":A.component==="li"&&(A.component="div")),C.jsx(dn.Provider,{value:M,children:C.jsxs(B4,b({as:h,className:V(I.container,x),ref:D,ownerState:z},$,{children:[C.jsx(R,b({},_,!il(R)&&{as:G,ownerState:b({},z,_.ownerState)},A,{children:L})),L.pop()]}))})):C.jsx(dn.Provider,{value:M,children:C.jsxs(R,b({},_,{as:G,ref:D},!il(R)&&{ownerState:b({},z,_.ownerState)},A,{children:[L,S&&C.jsx(h1,{children:S})]}))})});function U4(e){return X("MuiListItemIcon",e)}const Km=q("MuiListItemIcon",["root","alignItemsFlexStart"]),W4=["className"],H4=e=>{const{alignItems:t,classes:n}=e;return Z({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},U4,n)},V4=H("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>b({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),Qm=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiListItemIcon"}),{className:o}=r,i=F(r,W4),s=y.useContext(dn),a=b({},r,{alignItems:s.alignItems}),l=H4(a);return C.jsx(V4,b({className:V(l.root,o),ownerState:a,ref:n},i))});function G4(e){return X("MuiListItemText",e)}const cl=q("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),K4=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],Q4=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return Z({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},G4,t)},X4=H("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${cl.primary}`]:t.primary},{[`& .${cl.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>b({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),Y4=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:s=!1,inset:a=!1,primary:l,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:d}=r,h=F(r,K4),{dense:x}=y.useContext(dn);let g=l??o,v=c;const w=b({},r,{disableTypography:s,inset:a,primary:!!g,secondary:!!v,dense:x}),f=Q4(w);return g!=null&&g.type!==at&&!s&&(g=C.jsx(at,b({variant:x?"body2":"body1",className:f.primary,component:u!=null&&u.variant?void 0:"span",display:"block"},u,{children:g}))),v!=null&&v.type!==at&&!s&&(v=C.jsx(at,b({variant:"body2",className:f.secondary,color:"text.secondary",display:"block"},d,{children:v}))),C.jsxs(X4,b({className:V(f.root,i),ownerState:w,ref:n},h,{children:[g,v]}))}),q4=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function lc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Xm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function m1(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.indexOf(t.keys.join(""))===0}function yi(e,t,n,r,o,i){let s=!1,a=o(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(s)return!1;s=!0}const l=r?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!m1(a,i)||l)a=o(e,a,n);else return a.focus(),!0}return!1}const Z4=y.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:a,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu"}=t,h=F(t,q4),x=y.useRef(null),g=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});hn(()=>{o&&x.current.focus()},[o]),y.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(m,{direction:S})=>{const k=!x.current.style.width;if(m.clientHeight{const S=x.current,k=m.key,P=Ve(S).activeElement;if(k==="ArrowDown")m.preventDefault(),yi(S,P,u,l,lc);else if(k==="ArrowUp")m.preventDefault(),yi(S,P,u,l,Xm);else if(k==="Home")m.preventDefault(),yi(S,null,u,l,lc);else if(k==="End")m.preventDefault(),yi(S,null,u,l,Xm);else if(k.length===1){const E=g.current,$=k.toLowerCase(),O=performance.now();E.keys.length>0&&(O-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&$!==E.keys[0]&&(E.repeating=!1)),E.lastTime=O,E.keys.push($);const T=P&&!E.repeating&&m1(P,E);E.previousKeyMatched&&(T||yi(S,P,!1,l,lc,E))?m.preventDefault():E.previousKeyMatched=!1}c&&c(m)},w=je(x,n);let f=-1;y.Children.forEach(s,(m,S)=>{if(!y.isValidElement(m)){f===S&&(f+=1,f>=s.length&&(f=-1));return}m.props.disabled||(d==="selectedMenu"&&m.props.selected||f===-1)&&(f=S),f===S&&(m.props.disabled||m.props.muiSkipListHighlight||m.type.muiSkipListHighlight)&&(f+=1,f>=s.length&&(f=-1))});const p=y.Children.map(s,(m,S)=>{if(S===f){const k={};return i&&(k.autoFocus=!0),m.props.tabIndex===void 0&&d==="selectedMenu"&&(k.tabIndex=0),y.cloneElement(m,k)}return m});return C.jsx(p1,b({role:"menu",ref:w,className:a,onKeyDown:v,tabIndex:o?0:-1},h,{children:p}))});function J4(e){return X("MuiPopover",e)}q("MuiPopover",["root","paper"]);const e5=["onEntering"],t5=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],n5=["slotProps"];function Ym(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function qm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Zm(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function uc(e){return typeof e=="function"?e():e}const r5=e=>{const{classes:t}=e;return Z({root:["root"],paper:["paper"]},J4,t)},o5=H(l1,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),v1=H(ei,{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}),i5=y.forwardRef(function(t,n){var r,o,i;const s=Y({props:t,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:h,className:x,container:g,elevation:v=8,marginThreshold:w=16,open:f,PaperProps:p={},slots:m,slotProps:S,transformOrigin:k={vertical:"top",horizontal:"left"},TransitionComponent:P=hs,transitionDuration:E="auto",TransitionProps:{onEntering:$}={},disableScrollLock:O=!1}=s,T=F(s.TransitionProps,e5),M=F(s,t5),N=(r=S==null?void 0:S.paper)!=null?r:p,L=y.useRef(),B=je(L,N.ref),z=b({},s,{anchorOrigin:u,anchorReference:d,elevation:v,marginThreshold:w,externalPaperSlotProps:N,transformOrigin:k,TransitionComponent:P,transitionDuration:E,TransitionProps:T}),I=r5(z),D=y.useCallback(()=>{if(d==="anchorPosition")return c;const ne=uc(l),ge=(ne&&ne.nodeType===1?ne:Ve(L.current).body).getBoundingClientRect();return{top:ge.top+Ym(ge,u.vertical),left:ge.left+qm(ge,u.horizontal)}},[l,u.horizontal,u.vertical,c,d]),R=y.useCallback(ne=>({vertical:Ym(ne,k.vertical),horizontal:qm(ne,k.horizontal)}),[k.horizontal,k.vertical]),_=y.useCallback(ne=>{const me={width:ne.offsetWidth,height:ne.offsetHeight},ge=R(me);if(d==="none")return{top:null,left:null,transformOrigin:Zm(ge)};const vn=D();let xt=vn.top-ge.vertical,Ze=vn.left-ge.horizontal;const Tn=xt+me.height,Ue=Ze+me.width,St=mr(uc(l)),It=St.innerHeight-w,tn=St.innerWidth-w;if(w!==null&&xtIt){const ke=Tn-It;xt-=ke,ge.vertical+=ke}if(w!==null&&Zetn){const ke=Ue-tn;Ze-=ke,ge.horizontal+=ke}return{top:`${Math.round(xt)}px`,left:`${Math.round(Ze)}px`,transformOrigin:Zm(ge)}},[l,d,D,R,w]),[A,G]=y.useState(f),K=y.useCallback(()=>{const ne=L.current;if(!ne)return;const me=_(ne);me.top!==null&&(ne.style.top=me.top),me.left!==null&&(ne.style.left=me.left),ne.style.transformOrigin=me.transformOrigin,G(!0)},[_]);y.useEffect(()=>(O&&window.addEventListener("scroll",K),()=>window.removeEventListener("scroll",K)),[l,O,K]);const $e=(ne,me)=>{$&&$(ne,me),K()},te=()=>{G(!1)};y.useEffect(()=>{f&&K()}),y.useImperativeHandle(a,()=>f?{updatePosition:()=>{K()}}:null,[f,K]),y.useEffect(()=>{if(!f)return;const ne=Gf(()=>{K()}),me=mr(l);return me.addEventListener("resize",ne),()=>{ne.clear(),me.removeEventListener("resize",ne)}},[l,f,K]);let oe=E;E==="auto"&&!P.muiSupportAuto&&(oe=void 0);const le=g||(l?Ve(uc(l)).body:void 0),we=(o=m==null?void 0:m.root)!=null?o:o5,ve=(i=m==null?void 0:m.paper)!=null?i:v1,ue=vr({elementType:ve,externalSlotProps:b({},N,{style:A?N.style:b({},N.style,{opacity:0})}),additionalProps:{elevation:v,ref:B},ownerState:z,className:V(I.paper,N==null?void 0:N.className)}),De=vr({elementType:we,externalSlotProps:(S==null?void 0:S.root)||{},externalForwardedProps:M,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:le,open:f},ownerState:z,className:V(I.root,x)}),{slotProps:pe}=De,qe=F(De,n5);return C.jsx(we,b({},qe,!il(we)&&{slotProps:pe,disableScrollLock:O},{children:C.jsx(P,b({appear:!0,in:f,onEntering:$e,onExited:te,timeout:oe},T,{children:C.jsx(ve,b({},ue,{children:h}))}))}))});function s5(e){return X("MuiMenu",e)}q("MuiMenu",["root","paper","list"]);const a5=["onEntering"],l5=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],u5={vertical:"top",horizontal:"right"},c5={vertical:"top",horizontal:"left"},d5=e=>{const{classes:t}=e;return Z({root:["root"],paper:["paper"],list:["list"]},s5,t)},f5=H(i5,{shouldForwardProp:e=>br(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),p5=H(v1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),h5=H(Z4,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Jm=y.forwardRef(function(t,n){var r,o;const i=Y({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:a,className:l,disableAutoFocusItem:u=!1,MenuListProps:c={},onClose:d,open:h,PaperProps:x={},PopoverClasses:g,transitionDuration:v="auto",TransitionProps:{onEntering:w}={},variant:f="selectedMenu",slots:p={},slotProps:m={}}=i,S=F(i.TransitionProps,a5),k=F(i,l5),P=Xf(),E=b({},i,{autoFocus:s,disableAutoFocusItem:u,MenuListProps:c,onEntering:w,PaperProps:x,transitionDuration:v,TransitionProps:S,variant:f}),$=d5(E),O=s&&!u&&h,T=y.useRef(null),M=(R,_)=>{T.current&&T.current.adjustStyleForScrollbar(R,{direction:P?"rtl":"ltr"}),w&&w(R,_)},N=R=>{R.key==="Tab"&&(R.preventDefault(),d&&d(R,"tabKeyDown"))};let L=-1;y.Children.map(a,(R,_)=>{y.isValidElement(R)&&(R.props.disabled||(f==="selectedMenu"&&R.props.selected||L===-1)&&(L=_))});const B=(r=p.paper)!=null?r:p5,z=(o=m.paper)!=null?o:x,I=vr({elementType:p.root,externalSlotProps:m.root,ownerState:E,className:[$.root,l]}),D=vr({elementType:B,externalSlotProps:z,ownerState:E,className:$.paper});return C.jsx(f5,b({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:P?"right":"left"},transformOrigin:P?u5:c5,slots:{paper:B,root:p.root},slotProps:{root:I,paper:D},open:h,ref:n,transitionDuration:v,TransitionProps:b({onEntering:M},S),ownerState:E},k,{classes:g,children:C.jsx(h5,b({onKeyDown:N,actions:T,autoFocus:s&&(L===-1||u),autoFocusItem:O,variant:f},c,{className:V($.list,c.className),children:a}))}))});function m5(e){return X("MuiMenuItem",e)}const xi=q("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),v5=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],g5=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},y5=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,l=Z({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},m5,s);return b({},s,l)},x5=H(ti,{shouldForwardProp:e=>br(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:g5})(({theme:e,ownerState:t})=>b({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xi.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ae(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${xi.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ae(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${xi.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ae(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ae(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${xi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${xi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Vm.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Vm.inset}`]:{marginLeft:52},[`& .${cl.root}`]:{marginTop:0,marginBottom:0},[`& .${cl.inset}`]:{paddingLeft:36},[`& .${Km.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&b({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Km.root} svg`]:{fontSize:"1.25rem"}}))),ev=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:d,className:h}=r,x=F(r,v5),g=y.useContext(dn),v=y.useMemo(()=>({dense:s||g.dense||!1,disableGutters:l}),[g.dense,s,l]),w=y.useRef(null);hn(()=>{o&&w.current&&w.current.focus()},[o]);const f=b({},r,{dense:v.dense,divider:a,disableGutters:l}),p=y5(r),m=je(w,n);let S;return r.disabled||(S=d!==void 0?d:-1),C.jsx(dn.Provider,{value:v,children:C.jsx(x5,b({ref:m,role:c,tabIndex:S,component:i,focusVisibleClassName:V(p.focusVisible,u),className:V(p.root,h)},x,{ownerState:f,classes:p}))})});function S5(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:o,resumeHideDuration:i}=e,s=_r();y.useEffect(()=>{if(!o)return;function f(p){p.defaultPrevented||(p.key==="Escape"||p.key==="Esc")&&(r==null||r(p,"escapeKeyDown"))}return document.addEventListener("keydown",f),()=>{document.removeEventListener("keydown",f)}},[o,r]);const a=Wt((f,p)=>{r==null||r(f,p)}),l=Wt(f=>{!r||f==null||s.start(f,()=>{a(null,"timeout")})});y.useEffect(()=>(o&&l(t),s.clear),[o,t,l,s]);const u=f=>{r==null||r(f,"clickaway")},c=s.clear,d=y.useCallback(()=>{t!=null&&l(i??t*.5)},[t,i,l]),h=f=>p=>{const m=f.onBlur;m==null||m(p),d()},x=f=>p=>{const m=f.onFocus;m==null||m(p),c()},g=f=>p=>{const m=f.onMouseEnter;m==null||m(p),c()},v=f=>p=>{const m=f.onMouseLeave;m==null||m(p),d()};return y.useEffect(()=>{if(!n&&o)return window.addEventListener("focus",d),window.addEventListener("blur",c),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",c)}},[n,o,d,c]),{getRootProps:(f={})=>{const p=b({},sl(e),sl(f));return b({role:"presentation"},f,p,{onBlur:h(p),onFocus:x(p),onMouseEnter:g(p),onMouseLeave:v(p)})},onClickAway:u}}function w5(e){return X("MuiSnackbarContent",e)}q("MuiSnackbarContent",["root","message","action"]);const b5=["action","className","message","role"],C5=e=>{const{classes:t}=e;return Z({root:["root"],action:["action"],message:["message"]},w5,t)},k5=H(ei,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t=e.palette.mode==="light"?.8:.98,n=Zk(e.palette.background.default,t);return b({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),E5=H("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),P5=H("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),R5=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiSnackbarContent"}),{action:o,className:i,message:s,role:a="alert"}=r,l=F(r,b5),u=r,c=C5(u);return C.jsxs(k5,b({role:a,square:!0,elevation:6,className:V(c.root,i),ownerState:u,ref:n},l,{children:[C.jsx(E5,{className:c.message,ownerState:u,children:s}),o?C.jsx(P5,{className:c.action,ownerState:u,children:o}):null]}))});function $5(e){return X("MuiSnackbar",e)}q("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const T5=["onEnter","onExited"],O5=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],_5=e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${W(n.vertical)}${W(n.horizontal)}`]};return Z(r,$5,t)},tv=H("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${W(n.anchorOrigin.vertical)}${W(n.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>{const n={left:"50%",right:"auto",transform:"translateX(-50%)"};return b({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},t.anchorOrigin.vertical==="top"?{top:8}:{bottom:8},t.anchorOrigin.horizontal==="left"&&{justifyContent:"flex-start"},t.anchorOrigin.horizontal==="right"&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:b({},t.anchorOrigin.vertical==="top"?{top:24}:{bottom:24},t.anchorOrigin.horizontal==="center"&&n,t.anchorOrigin.horizontal==="left"&&{left:24,right:"auto"},t.anchorOrigin.horizontal==="right"&&{right:24,left:"auto"})})}),M5=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiSnackbar"}),o=Zo(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:s,anchorOrigin:{vertical:a,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:c,className:d,ClickAwayListenerProps:h,ContentProps:x,disableWindowBlurListener:g=!1,message:v,open:w,TransitionComponent:f=hs,transitionDuration:p=i,TransitionProps:{onEnter:m,onExited:S}={}}=r,k=F(r.TransitionProps,T5),P=F(r,O5),E=b({},r,{anchorOrigin:{vertical:a,horizontal:l},autoHideDuration:u,disableWindowBlurListener:g,TransitionComponent:f,transitionDuration:p}),$=_5(E),{getRootProps:O,onClickAway:T}=S5(b({},E)),[M,N]=y.useState(!0),L=vr({elementType:tv,getSlotProps:O,externalForwardedProps:P,ownerState:E,additionalProps:{ref:n},className:[$.root,d]}),B=I=>{N(!0),S&&S(I)},z=(I,D)=>{N(!1),m&&m(I,D)};return!w&&M?null:C.jsx(R3,b({onClickAway:T},h,{children:C.jsx(tv,b({},L,{children:C.jsx(f,b({appear:!0,in:w,timeout:p,direction:a==="top"?"down":"up",onEnter:z,onExited:B},k,{children:c||C.jsx(R5,b({message:v,action:s},x))}))}))}))});function I5(e){return X("MuiTooltip",e)}const rr=q("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),j5=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function N5(e){return Math.round(e*1e5)/1e5}const L5=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${W(i.split("-")[0])}`],arrow:["arrow"]};return Z(s,I5,t)},z5=H(r1,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>b({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${rr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${rr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${rr.arrow}`]:b({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${rr.arrow}`]:b({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),A5=H("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${W(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>b({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:ae(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${N5(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${rr.popper}[data-popper-placement*="left"] &`]:b({transformOrigin:"right center"},t.isRtl?b({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):b({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${rr.popper}[data-popper-placement*="right"] &`]:b({transformOrigin:"left center"},t.isRtl?b({marginRight:"14px"},t.touch&&{marginRight:"24px"}):b({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${rr.popper}[data-popper-placement*="top"] &`]:b({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${rr.popper}[data-popper-placement*="bottom"] &`]:b({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),D5=H("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:ae(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let sa=!1;const nv=new Rs;let Si={x:0,y:0};function aa(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const rv=y.forwardRef(function(t,n){var r,o,i,s,a,l,u,c,d,h,x,g,v,w,f,p,m,S,k;const P=Y({props:t,name:"MuiTooltip"}),{arrow:E=!1,children:$,components:O={},componentsProps:T={},describeChild:M=!1,disableFocusListener:N=!1,disableHoverListener:L=!1,disableInteractive:B=!1,disableTouchListener:z=!1,enterDelay:I=100,enterNextDelay:D=0,enterTouchDelay:R=700,followCursor:_=!1,id:A,leaveDelay:G=0,leaveTouchDelay:K=1500,onClose:$e,onOpen:te,open:oe,placement:le="bottom",PopperComponent:we,PopperProps:ve={},slotProps:ue={},slots:De={},title:pe,TransitionComponent:qe=hs,TransitionProps:ne}=P,me=F(P,j5),ge=y.isValidElement($)?$:C.jsx("span",{children:$}),vn=Zo(),xt=Xf(),[Ze,Tn]=y.useState(),[Ue,St]=y.useState(null),It=y.useRef(!1),tn=B||_,ke=_r(),jt=_r(),On=_r(),Vn=_r(),[Qr,Q]=Qf({controlled:oe,default:!1,name:"Tooltip",state:"open"});let Nt=Qr;const ni=Ey(A),Gn=y.useRef(),ri=Wt(()=>{Gn.current!==void 0&&(document.body.style.WebkitUserSelect=Gn.current,Gn.current=void 0),Vn.clear()});y.useEffect(()=>ri,[ri]);const wp=ee=>{nv.clear(),sa=!0,Q(!0),te&&!Nt&&te(ee)},Is=Wt(ee=>{nv.start(800+G,()=>{sa=!1}),Q(!1),$e&&Nt&&$e(ee),ke.start(vn.transitions.duration.shortest,()=>{It.current=!1})}),js=ee=>{It.current&&ee.type!=="touchstart"||(Ze&&Ze.removeAttribute("title"),jt.clear(),On.clear(),I||sa&&D?jt.start(sa?D:I,()=>{wp(ee)}):wp(ee))},Su=ee=>{jt.clear(),On.start(G,()=>{Is(ee)})},{isFocusVisibleRef:bp,onBlur:M1,onFocus:I1,ref:j1}=ou(),[,Cp]=y.useState(!1),kp=ee=>{M1(ee),bp.current===!1&&(Cp(!1),Su(ee))},Ep=ee=>{Ze||Tn(ee.currentTarget),I1(ee),bp.current===!0&&(Cp(!0),js(ee))},Pp=ee=>{It.current=!0;const wt=ge.props;wt.onTouchStart&&wt.onTouchStart(ee)},N1=ee=>{Pp(ee),On.clear(),ke.clear(),ri(),Gn.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Vn.start(R,()=>{document.body.style.WebkitUserSelect=Gn.current,js(ee)})},L1=ee=>{ge.props.onTouchEnd&&ge.props.onTouchEnd(ee),ri(),On.start(K,()=>{Is(ee)})};y.useEffect(()=>{if(!Nt)return;function ee(wt){(wt.key==="Escape"||wt.key==="Esc")&&Is(wt)}return document.addEventListener("keydown",ee),()=>{document.removeEventListener("keydown",ee)}},[Is,Nt]);const z1=je(ge.ref,j1,Tn,n);!pe&&pe!==0&&(Nt=!1);const wu=y.useRef(),A1=ee=>{const wt=ge.props;wt.onMouseMove&&wt.onMouseMove(ee),Si={x:ee.clientX,y:ee.clientY},wu.current&&wu.current.update()},oi={},bu=typeof pe=="string";M?(oi.title=!Nt&&bu&&!L?pe:null,oi["aria-describedby"]=Nt?ni:null):(oi["aria-label"]=bu?pe:null,oi["aria-labelledby"]=Nt&&!bu?ni:null);const nn=b({},oi,me,ge.props,{className:V(me.className,ge.props.className),onTouchStart:Pp,ref:z1},_?{onMouseMove:A1}:{}),ii={};z||(nn.onTouchStart=N1,nn.onTouchEnd=L1),L||(nn.onMouseOver=aa(js,nn.onMouseOver),nn.onMouseLeave=aa(Su,nn.onMouseLeave),tn||(ii.onMouseOver=js,ii.onMouseLeave=Su)),N||(nn.onFocus=aa(Ep,nn.onFocus),nn.onBlur=aa(kp,nn.onBlur),tn||(ii.onFocus=Ep,ii.onBlur=kp));const D1=y.useMemo(()=>{var ee;let wt=[{name:"arrow",enabled:!!Ue,options:{element:Ue,padding:4}}];return(ee=ve.popperOptions)!=null&&ee.modifiers&&(wt=wt.concat(ve.popperOptions.modifiers)),b({},ve.popperOptions,{modifiers:wt})},[Ue,ve]),si=b({},P,{isRtl:xt,arrow:E,disableInteractive:tn,placement:le,PopperComponentProp:we,touch:It.current}),Cu=L5(si),Rp=(r=(o=De.popper)!=null?o:O.Popper)!=null?r:z5,$p=(i=(s=(a=De.transition)!=null?a:O.Transition)!=null?s:qe)!=null?i:hs,Tp=(l=(u=De.tooltip)!=null?u:O.Tooltip)!=null?l:A5,Op=(c=(d=De.arrow)!=null?d:O.Arrow)!=null?c:D5,B1=yo(Rp,b({},ve,(h=ue.popper)!=null?h:T.popper,{className:V(Cu.popper,ve==null?void 0:ve.className,(x=(g=ue.popper)!=null?g:T.popper)==null?void 0:x.className)}),si),F1=yo($p,b({},ne,(v=ue.transition)!=null?v:T.transition),si),U1=yo(Tp,b({},(w=ue.tooltip)!=null?w:T.tooltip,{className:V(Cu.tooltip,(f=(p=ue.tooltip)!=null?p:T.tooltip)==null?void 0:f.className)}),si),W1=yo(Op,b({},(m=ue.arrow)!=null?m:T.arrow,{className:V(Cu.arrow,(S=(k=ue.arrow)!=null?k:T.arrow)==null?void 0:S.className)}),si);return C.jsxs(y.Fragment,{children:[y.cloneElement(ge,nn),C.jsx(Rp,b({as:we??r1,placement:le,anchorEl:_?{getBoundingClientRect:()=>({top:Si.y,left:Si.x,right:Si.x,bottom:Si.y,width:0,height:0})}:Ze,popperRef:wu,open:Ze?Nt:!1,id:ni,transition:!0},ii,B1,{popperOptions:D1,children:({TransitionProps:ee})=>C.jsx($p,b({timeout:vn.transitions.duration.shorter},ee,F1,{children:C.jsxs(Tp,b({},U1,{children:[pe,E?C.jsx(Op,b({},W1,{ref:St})):null]}))}))}))]})});function B5(e){return X("MuiSwitch",e)}const it=q("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),F5=["className","color","edge","size","sx"],U5=e=>{const{classes:t,edge:n,size:r,color:o,checked:i,disabled:s}=e,a={root:["root",n&&`edge${W(n)}`,`size${W(r)}`],switchBase:["switchBase",`color${W(o)}`,i&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},l=Z(a,B5,t);return b({},t,l)},W5=H("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${W(n.edge)}`],t[`size${W(n.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${it.thumb}`]:{width:16,height:16},[`& .${it.switchBase}`]:{padding:4,[`&.${it.checked}`]:{transform:"translateX(16px)"}}}}]}),H5=H(i1,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${it.input}`]:t.input},n.color!=="default"&&t[`color${W(n.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${it.checked}`]:{transform:"translateX(20px)"},[`&.${it.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${it.checked} + .${it.track}`]:{opacity:.5},[`&.${it.disabled} + .${it.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${it.input}`]:{left:"-100%",width:"300%"}}),({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:ae(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(([,t])=>t.main&&t.light).map(([t])=>({props:{color:t},style:{[`&.${it.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ae(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${it.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?ds(e.palette[t].main,.62):cs(e.palette[t].main,.55)}`}},[`&.${it.checked} + .${it.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]})),V5=H("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`})),G5=H("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),K5=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiSwitch"}),{className:o,color:i="primary",edge:s=!1,size:a="medium",sx:l}=r,u=F(r,F5),c=b({},r,{color:i,edge:s,size:a}),d=U5(c),h=C.jsx(G5,{className:d.thumb,ownerState:c});return C.jsxs(W5,{className:V(d.root,o),sx:l,ownerState:c,children:[C.jsx(H5,b({type:"checkbox",icon:h,checkedIcon:h,ref:n,ownerState:c},u,{classes:b({},d,{root:d.switchBase})})),C.jsx(V5,{className:d.track,ownerState:c})]})}),g1=y.createContext();function Q5(e){return X("MuiTable",e)}q("MuiTable",["root","stickyHeader"]);const X5=["className","component","padding","size","stickyHeader"],Y5=e=>{const{classes:t,stickyHeader:n}=e;return Z({root:["root",n&&"stickyHeader"]},Q5,t)},q5=H("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>b({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":b({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),ov="table",Z5=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiTable"}),{className:o,component:i=ov,padding:s="normal",size:a="medium",stickyHeader:l=!1}=r,u=F(r,X5),c=b({},r,{component:i,padding:s,size:a,stickyHeader:l}),d=Y5(c),h=y.useMemo(()=>({padding:s,size:a,stickyHeader:l}),[s,a,l]);return C.jsx(g1.Provider,{value:h,children:C.jsx(q5,b({as:i,role:i===ov?null:"table",ref:n,className:V(d.root,o),ownerState:c},u))})}),yu=y.createContext();function J5(e){return X("MuiTableBody",e)}q("MuiTableBody",["root"]);const eT=["className","component"],tT=e=>{const{classes:t}=e;return Z({root:["root"]},J5,t)},nT=H("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),rT={variant:"body"},iv="tbody",oT=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiTableBody"}),{className:o,component:i=iv}=r,s=F(r,eT),a=b({},r,{component:i}),l=tT(a);return C.jsx(yu.Provider,{value:rT,children:C.jsx(nT,b({className:V(l.root,o),as:i,ref:n,role:i===iv?null:"rowgroup",ownerState:a},s))})});function iT(e){return X("MuiTableCell",e)}const sT=q("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),aT=["align","className","component","padding","scope","size","sortDirection","variant"],lT=e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:s}=e,a={root:["root",n,s&&"stickyHeader",r!=="inherit"&&`align${W(r)}`,o!=="normal"&&`padding${W(o)}`,`size${W(i)}`]};return Z(a,iT,t)},uT=H("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${W(n.size)}`],n.padding!=="normal"&&t[`padding${W(n.padding)}`],n.align!=="inherit"&&t[`align${W(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>b({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
${e.palette.mode==="light"?ds(ae(e.palette.divider,1),.88):cs(ae(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${sT.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),yn=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiTableCell"}),{align:o="inherit",className:i,component:s,padding:a,scope:l,size:u,sortDirection:c,variant:d}=r,h=F(r,aT),x=y.useContext(g1),g=y.useContext(yu),v=g&&g.variant==="head";let w;s?w=s:w=v?"th":"td";let f=l;w==="td"?f=void 0:!f&&v&&(f="col");const p=d||g&&g.variant,m=b({},r,{align:o,component:w,padding:a||(x&&x.padding?x.padding:"normal"),size:u||(x&&x.size?x.size:"medium"),sortDirection:c,stickyHeader:p==="head"&&x&&x.stickyHeader,variant:p}),S=lT(m);let k=null;return c&&(k=c==="asc"?"ascending":"descending"),C.jsx(uT,b({as:w,ref:n,className:V(S.root,i),"aria-sort":k,scope:f,ownerState:m},h))});function cT(e){return X("MuiTableContainer",e)}q("MuiTableContainer",["root"]);const dT=["className","component"],fT=e=>{const{classes:t}=e;return Z({root:["root"]},cT,t)},pT=H("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),hT=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiTableContainer"}),{className:o,component:i="div"}=r,s=F(r,dT),a=b({},r,{component:i}),l=fT(a);return C.jsx(pT,b({ref:n,as:i,className:V(l.root,o),ownerState:a},s))});function mT(e){return X("MuiTableHead",e)}q("MuiTableHead",["root"]);const vT=["className","component"],gT=e=>{const{classes:t}=e;return Z({root:["root"]},mT,t)},yT=H("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),xT={variant:"head"},sv="thead",ST=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiTableHead"}),{className:o,component:i=sv}=r,s=F(r,vT),a=b({},r,{component:i}),l=gT(a);return C.jsx(yu.Provider,{value:xT,children:C.jsx(yT,b({as:i,className:V(l.root,o),ref:n,role:i===sv?null:"rowgroup",ownerState:a},s))})});function wT(e){return X("MuiToolbar",e)}q("MuiToolbar",["root","gutters","regular","dense"]);const bT=["className","component","disableGutters","variant"],CT=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Z({root:["root",!n&&"gutters",r]},wT,t)},kT=H("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>b({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),cc=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:a="regular"}=r,l=F(r,bT),u=b({},r,{component:i,disableGutters:s,variant:a}),c=CT(u);return C.jsx(kT,b({as:i,className:V(c.root,o),ref:n,ownerState:u},l))});function ET(e){return X("MuiTableRow",e)}const av=q("MuiTableRow",["root","selected","hover","head","footer"]),PT=["className","component","hover","selected"],RT=e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e;return Z({root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]},ET,t)},$T=H("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${av.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${av.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ae(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ae(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),lv="tr",uv=y.forwardRef(function(t,n){const r=Y({props:t,name:"MuiTableRow"}),{className:o,component:i=lv,hover:s=!1,selected:a=!1}=r,l=F(r,PT),u=y.useContext(yu),c=b({},r,{component:i,hover:s,selected:a,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),d=RT(c);return C.jsx($T,b({as:i,ref:n,className:V(d.root,o),role:i===lv?null:"row",ownerState:c},l))}),cv=Mt(C.jsx("path",{d:"M9.37 5.51c-.18.64-.27 1.31-.27 1.99 0 4.08 3.32 7.4 7.4 7.4.68 0 1.35-.09 1.99-.27C17.45 17.19 14.93 19 12 19c-3.86 0-7-3.14-7-7 0-2.93 1.81-5.45 4.37-6.49M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1"}),"DarkModeOutlined"),dv=Mt(C.jsx("path",{d:"M12 9c1.65 0 3 1.35 3 3s-1.35 3-3 3-3-1.35-3-3 1.35-3 3-3m0-2c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z"}),"LightModeOutlined"),fv=Mt(C.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16.01H3V4.99h18zM8 16h2.5l1.5 1.5 1.5-1.5H16v-2.5l1.5-1.5-1.5-1.5V8h-2.5L12 6.5 10.5 8H8v2.5L6.5 12 8 13.5zm4-7c1.66 0 3 1.34 3 3s-1.34 3-3 3z"}),"SettingsBrightnessOutlined");var mp={},dc={};const TT=Wn(sP);var pv;function Ms(){return pv||(pv=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=TT}(dc)),dc}var OT=Kr;Object.defineProperty(mp,"__esModule",{value:!0});var y1=mp.default=void 0,_T=OT(Ms()),MT=C;y1=mp.default=(0,_T.default)((0,MT.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft");var vp={},IT=Kr;Object.defineProperty(vp,"__esModule",{value:!0});var x1=vp.default=void 0,jT=IT(Ms()),NT=C;x1=vp.default=(0,jT.default)((0,NT.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");const S1=y.createContext(void 0),LT=()=>{const e=y.useContext(S1);if(e===void 0)throw new Error("useSnackbar must be used within a SnackbarProvider");return e};var w1=(e=>(e.Config="app-config",e))(w1||{});const Jn={Error:{NotImplemented:"This feature is not implemented"},Menu:{Header:{Themes:"Themes",Settings:"Settings",Profile:"Profile",Logout:"Logout"},Drawer:{Dashboard:"Dashboard",Workers:"Workers",QueryHistory:"Query History"}}},b1="data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2042.1%2062.45'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23fff;}.cls-2{fill:%23dd00a1;}.cls-3{fill:%23f9d8d2;}.cls-4{fill:%2310110e;}.cls-5{fill:%23e5e5e5;}.cls-6{fill:%238accce;opacity:0.2;isolation:isolate;}.cls-7{fill:%23515151;}%3c/style%3e%3c/defs%3e%3cpath%20class='cls-1'%20d='M14.24,55.36c.92-.61-1.49-.38-1.69-.79a15,15,0,0,1-2.82-.51C8,53.62,3.9,50.85,3.47,48.25s0-7.65,1.83-10.61A17,17,0,0,1,9.73,33S6.16,24.51,5.85,18.1,6,.21,10.24,0s3.49,10.48,2.82,17.43a89.47,89.47,0,0,0-.21,13.89,19.45,19.45,0,0,1,5.51-.92,21.2,21.2,0,0,1,4.9.46S24.58,21,29,14.86,38,2.4,41,4.19s-.81,8.19-3.46,11.52-7.25,8.33-8.78,11a47.26,47.26,0,0,0-2.65,5.51,15,15,0,0,1,6.4,6.32c2.07,4.28,2.27,9.59,1.15,11.83a8.1,8.1,0,0,1-5.61,4c-1.32.1-6.91,1.48-6.91,1.48Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-2'%20d='M24,30.94s3.33-8.7,6.32-13.6,7-8.59,8.26-7.84S36,14.85,32.66,19.32a112.3,112.3,0,0,0-7.44,12.37Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-2'%20d='M10.64,32.44l.95-.75s-.13-8.7,0-14S12,5.78,10.23,5.85,7.23,11,7.92,18.23A86.92,86.92,0,0,0,10.64,32.44Z'%20transform='translate(0%200)'/%3e%3ccircle%20class='cls-3'%20cx='7.65'%20cy='49.17'%20r='1.94'/%3e%3ccircle%20class='cls-3'%20cx='30.57'%20cy='49.17'%20r='1.94'/%3e%3cpath%20class='cls-4'%20d='M22.33,49a.19.19,0,0,0-.25,0h0s-.57,1-1.41,1.06a2.11,2.11,0,0,1-1.5-.7V48c.54-.29,1.41-1.19,1.41-1.5a1.4,1.4,0,0,0-1.5-1.09c-1,0-1.7.65-1.7,1.19s1.1,1.23,1.41,1.44v1.45a1.77,1.77,0,0,1-1.3.7c-.8,0-1.4-1.08-1.4-1.09a.19.19,0,0,0-.25-.08h0a.18.18,0,0,0-.08.23h0c0,.06.71,1.29,1.73,1.29a2.07,2.07,0,0,0,1.5-.72,2.46,2.46,0,0,0,1.59.73h.14a2.47,2.47,0,0,0,1.71-1.25.18.18,0,0,0,0-.25A.24.24,0,0,0,22.33,49Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-5'%20d='M9.73,33S7,26,6.42,22.29s-1-9.78-.3-13.85A46.3,46.3,0,0,1,7.31,2.85S6,12.34,6.49,16.49,9.73,33,9.73,33Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-5'%20d='M23.26,30.85s2-10.59,4.91-14.76S34.73,6.9,36.52,5.62l1.82-1.28S31,12,28.17,18.34,23.26,30.85,23.26,30.85Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-4'%20d='M11.6,42.85a1.52,1.52,0,1,0,1.52,1.52h0a1.52,1.52,0,0,0-1.5-1.52Zm.4,1.41a.42.42,0,1,1,.42-.42h0a.42.42,0,0,1-.41.43h0Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-4'%20d='M26.55,42.85a1.52,1.52,0,1,0,1.51,1.53h0a1.52,1.52,0,0,0-1.51-1.53ZM27,44.26a.42.42,0,0,1-.43-.41h0a.43.43,0,0,1,.41-.43.42.42,0,0,1,.43.41h0a.41.41,0,0,1-.4.42h0Z'%20transform='translate(0%200)'/%3e%3cellipse%20class='cls-6'%20cx='19.36'%20cy='44.95'%20rx='14.1'%20ry='10.16'/%3e%3cpath%20class='cls-1'%20d='M36.43,39.3V32.58a2.46,2.46,0,0,0,1.91-2.29,2.65,2.65,0,0,0-5.27,0A2.48,2.48,0,0,0,35,32.58v6.55h-.2c-2-6.94-7.91-11.28-15.63-11.28S5.51,32.15,3.55,39.13H2.88A2.76,2.76,0,0,0,0,41.71v5.14a2.75,2.75,0,0,0,2.88,2.59h.91a13,13,0,0,0,3.59,5.11L6.09,55.72A.78.78,0,0,0,6,56.82l0,0H6c2.93,3.53,7.72,5.6,13.13,5.6s10.21-2,13.14-5.6a.79.79,0,0,0-.09-1.11h0l-1.3-1.19a13,13,0,0,0,3.59-5.08h1a2.74,2.74,0,0,0,2.87-2.6V41.71A2.58,2.58,0,0,0,36.43,39.3Zm-17.26-4c7.14,0,12.94,4.7,12.94,10.47,0,6.25-6.51,9-12.94,9S6.23,52,6.23,45.72C6.23,40,12,35.25,19.17,35.25Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M36.91,45.16H35v-1a18.61,18.61,0,0,0-.39-3.79h.82a1.35,1.35,0,0,1,1.44,1.25h0Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M35.47,48.18h-1A16.13,16.13,0,0,0,34.89,46h2v.85a1.34,1.34,0,0,1-1.36,1.32h-.06Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M19.17,61.1c-4.79,0-9.06-1.72-11.74-4.78l1.3-1.21a17.87,17.87,0,0,0,10.4,3,17.73,17.73,0,0,0,10.4-3l1.35,1.21C28.23,59.38,24,61.1,19.17,61.1Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M2.88,40.42h.85a19.33,19.33,0,0,0-.38,3.79,8.34,8.34,0,0,0,0,1H1.49v-3.5a1.27,1.27,0,0,1,1.24-1.29Z'%20transform='translate(0%200)'/%3e%3cpath%20d='M19.17,34.39a17.66,17.66,0,0,0-4.79.69V29.85a17.23,17.23,0,0,1,4.79-.64,17.3,17.3,0,0,1,4.8.64v5.26A15.91,15.91,0,0,0,19.17,34.39Z'%20transform='translate(0%200)'/%3e%3cpath%20class='cls-7'%20d='M1.44,46h2a17.56,17.56,0,0,0,.43,2.16h-1a1.35,1.35,0,0,1-1.44-1.25h0V46Z'%20transform='translate(0%200)'/%3e%3cellipse%20class='cls-7'%20cx='35.71'%20cy='30.29'%20rx='1.2'%20ry='1.08'/%3e%3c/svg%3e";var gp={},zT=Kr;Object.defineProperty(gp,"__esModule",{value:!0});var C1=gp.default=void 0,AT=zT(Ms()),DT=C;C1=gp.default=(0,AT.default)((0,DT.jsx)("path",{d:"m12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81zM12 3 2 12h3v8h6v-6h2v6h6v-8h3z"}),"HomeOutlined");var yp={},BT=Kr;Object.defineProperty(yp,"__esModule",{value:!0});var k1=yp.default=void 0,FT=BT(Ms()),UT=C;k1=yp.default=(0,FT.default)((0,UT.jsx)("path",{d:"M19 15v4H5v-4zm1-2H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1M7 18.5c-.82 0-1.5-.67-1.5-1.5s.68-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5M19 5v4H5V5zm1-2H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1M7 8.5c-.82 0-1.5-.67-1.5-1.5S6.18 5.5 7 5.5s1.5.68 1.5 1.5S7.83 8.5 7 8.5"}),"DnsOutlined");var xp={},WT=Kr;Object.defineProperty(xp,"__esModule",{value:!0});var E1=xp.default=void 0,HT=WT(Ms()),VT=C;E1=xp.default=(0,HT.default)((0,VT.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"}),"HistoryOutlined");const GT=()=>{const e=(n,r,o,i,s)=>({name:n,calories:r,fat:o,carbs:i,protein:s}),t=[e("Frozen yoghurt",159,6,24,4),e("Ice cream sandwich",237,9,37,4.3),e("Eclair",262,16,24,6)];return C.jsxs(C.Fragment,{children:[C.jsx(bn,{sx:{pb:2},children:C.jsx(at,{variant:"h4",children:"Dashboard"})}),C.jsxs(nt,{container:!0,children:[C.jsxs(nt,{sx:{py:1},xs:12,container:!0,children:[C.jsx(nt,{xs:3,children:"Buttons"}),C.jsxs(sc,{direction:"row",spacing:2,children:[C.jsx(Qn,{variant:"contained",children:"Contained"}),C.jsx(Qn,{variant:"outlined",children:"Outlined"}),C.jsx(Qn,{variant:"contained",disabled:!0,children:"Disabled"})]})]}),C.jsxs(nt,{sx:{py:1},xs:12,container:!0,children:[C.jsx(nt,{xs:3,children:"Secondary Button"}),C.jsxs(sc,{direction:"row",spacing:2,children:[C.jsx(Qn,{color:"secondary",variant:"contained",children:"Contained"}),C.jsx(Qn,{color:"secondary",variant:"outlined",children:"Outlined"})]})]}),C.jsxs(nt,{sx:{py:1},xs:12,container:!0,children:[C.jsx(nt,{xs:3,children:"Colored Button"}),C.jsxs(sc,{direction:"row",spacing:2,children:[C.jsx(Qn,{variant:"contained",color:"success",children:"Success"}),C.jsx(Qn,{variant:"contained",color:"error",children:"Error"})]})]}),C.jsxs(nt,{sx:{py:1},xs:12,container:!0,children:[C.jsx(nt,{xs:3,children:"Link"}),C.jsx(f1,{href:"https://trino.io",children:"Trino Website"})]}),C.jsxs(nt,{sx:{py:1},xs:12,container:!0,children:[C.jsx(nt,{xs:3,children:"Switch"}),C.jsx(K5,{})]}),C.jsxs(nt,{sx:{py:1},xs:12,container:!0,children:[C.jsx(nt,{xs:3,children:"Checkbox"}),C.jsx(E3,{defaultChecked:!0})]})]}),C.jsx(hT,{component:ei,children:C.jsxs(Z5,{sx:{minWidth:650},"aria-label":"simple table",children:[C.jsx(ST,{children:C.jsxs(uv,{children:[C.jsx(yn,{children:"Dessert (100g serving)"}),C.jsx(yn,{align:"right",children:"Calories"}),C.jsx(yn,{align:"right",children:"Fat (g)"}),C.jsx(yn,{align:"right",children:"Carbs (g)"}),C.jsx(yn,{align:"right",children:"Protein (g)"})]})}),C.jsx(oT,{children:t.map(n=>C.jsxs(uv,{sx:{"&:last-child td, &:last-child th":{border:0}},children:[C.jsx(yn,{component:"th",scope:"row",children:n.name}),C.jsx(yn,{align:"right",children:n.calories}),C.jsx(yn,{align:"right",children:n.fat}),C.jsx(yn,{align:"right",children:n.carbs}),C.jsx(yn,{align:"right",children:n.protein})]},n.name))})]})})]})},KT=()=>C.jsxs(C.Fragment,{children:[C.jsx(bn,{sx:{pb:2},children:C.jsx(at,{variant:"h4",children:"Workers"})}),C.jsx(at,{paragraph:!0,children:"Placeholder for Workers"})]}),QT=()=>C.jsxs(C.Fragment,{children:[C.jsx(bn,{sx:{pb:2},children:C.jsx(at,{variant:"h4",children:"Query History"})}),C.jsx(at,{paragraph:!0,children:"Placeholder for Query History"})]}),Sp=[{itemKey:"dashboard",text:Jn.Menu.Drawer.Dashboard,icon:C.jsx(C1,{}),routeProps:{path:"/dashboard",element:C.jsx(GT,{})}},{itemKey:"workers",text:Jn.Menu.Drawer.Workers,icon:C.jsx(k1,{}),routeProps:{path:"/workers",element:C.jsx(KT,{})}},{itemKey:"query-history",text:Jn.Menu.Drawer.QueryHistory,icon:C.jsx(E1,{}),routeProps:{path:"/query-history",element:C.jsx(QT,{})}}],XT=Sp.reduce((e,t)=>(t.itemKey&&t.routeProps&&t.routeProps.path&&(e[t.itemKey]=t,e[t.routeProps.path]=t),e),{});var YT={BASE_URL:"/ui/preview",DEV:!1,MODE:"production",PROD:!0,SSR:!1};const hv=e=>{let t;const n=new Set,r=(c,d)=>{const h=typeof c=="function"?c(t):c;if(!Object.is(h,t)){const x=t;t=d??(typeof h!="object"||h===null)?h:Object.assign({},t,h),n.forEach(g=>g(t,x))}},o=()=>t,l={setState:r,getState:o,getInitialState:()=>u,subscribe:c=>(n.add(c),()=>n.delete(c)),destroy:()=>{(YT?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},u=t=e(r,o,l);return l},qT=e=>e?hv(e):hv;var P1={exports:{}},R1={},$1={exports:{}},T1={};/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Uo=y;function ZT(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var JT=typeof Object.is=="function"?Object.is:ZT,eO=Uo.useState,tO=Uo.useEffect,nO=Uo.useLayoutEffect,rO=Uo.useDebugValue;function oO(e,t){var n=t(),r=eO({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return nO(function(){o.value=n,o.getSnapshot=t,fc(o)&&i({inst:o})},[e,n,t]),tO(function(){return fc(o)&&i({inst:o}),e(function(){fc(o)&&i({inst:o})})},[e]),rO(n),n}function fc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!JT(e,n)}catch{return!0}}function iO(e,t){return t()}var sO=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?iO:oO;T1.useSyncExternalStore=Uo.useSyncExternalStore!==void 0?Uo.useSyncExternalStore:sO;$1.exports=T1;var aO=$1.exports;/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var xu=y,lO=aO;function uO(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cO=typeof Object.is=="function"?Object.is:uO,dO=lO.useSyncExternalStore,fO=xu.useRef,pO=xu.useEffect,hO=xu.useMemo,mO=xu.useDebugValue;R1.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=fO(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=hO(function(){function l(x){if(!u){if(u=!0,c=x,x=r(x),o!==void 0&&s.hasValue){var g=s.value;if(o(g,x))return d=g}return d=x}if(g=d,cO(c,x))return g;var v=r(x);return o!==void 0&&o(g,v)?g:(c=x,d=v)}var u=!1,c,d,h=n===void 0?null:n;return[function(){return l(t())},h===null?void 0:function(){return l(h())}]},[t,n,r,o]);var a=dO(e,i[0],i[1]);return pO(function(){s.hasValue=!0,s.value=a},[a]),mO(a),a};P1.exports=R1;var vO=P1.exports;const gO=Ed(vO);var O1={BASE_URL:"/ui/preview",DEV:!1,MODE:"production",PROD:!0,SSR:!1};const{useDebugValue:yO}=Ft,{useSyncExternalStoreWithSelector:xO}=gO;let mv=!1;const SO=e=>e;function wO(e,t=SO,n){(O1?"production":void 0)!=="production"&&n&&!mv&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),mv=!0);const r=xO(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return yO(r),r}const bO=e=>{(O1?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?qT(e):e,n=(r,o)=>wO(t,r,o);return Object.assign(n,t),n},CO=e=>bO;var kO={BASE_URL:"/ui/preview",DEV:!1,MODE:"production",PROD:!0,SSR:!1};function EO(e,t){let n;try{n=e()}catch{return}return{getItem:o=>{var i;const s=l=>l===null?null:JSON.parse(l,void 0),a=(i=n.getItem(o))!=null?i:null;return a instanceof Promise?a.then(s):s(a)},setItem:(o,i)=>n.setItem(o,JSON.stringify(i,void 0)),removeItem:o=>n.removeItem(o)}}const ms=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return ms(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return ms(r)(n)}}}},PO=(e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:w=>w,version:0,merge:(w,f)=>({...f,...w}),...t},s=!1;const a=new Set,l=new Set;let u;try{u=i.getStorage()}catch{}if(!u)return e((...w)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...w)},r,o);const c=ms(i.serialize),d=()=>{const w=i.partialize({...r()});let f;const p=c({state:w,version:i.version}).then(m=>u.setItem(i.name,m)).catch(m=>{f=m});if(f)throw f;return p},h=o.setState;o.setState=(w,f)=>{h(w,f),d()};const x=e((...w)=>{n(...w),d()},r,o);let g;const v=()=>{var w;if(!u)return;s=!1,a.forEach(p=>p(r()));const f=((w=i.onRehydrateStorage)==null?void 0:w.call(i,r()))||void 0;return ms(u.getItem.bind(u))(i.name).then(p=>{if(p)return i.deserialize(p)}).then(p=>{if(p)if(typeof p.version=="number"&&p.version!==i.version){if(i.migrate)return i.migrate(p.state,p.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return p.state}).then(p=>{var m;return g=i.merge(p,(m=r())!=null?m:x),n(g,!0),d()}).then(()=>{f==null||f(g,void 0),s=!0,l.forEach(p=>p(g))}).catch(p=>{f==null||f(void 0,p)})};return o.persist={setOptions:w=>{i={...i,...w},w.getStorage&&(u=w.getStorage())},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>v(),hasHydrated:()=>s,onHydrate:w=>(a.add(w),()=>{a.delete(w)}),onFinishHydration:w=>(l.add(w),()=>{l.delete(w)})},v(),g||x},RO=(e,t)=>(n,r,o)=>{let i={storage:EO(()=>localStorage),partialize:v=>v,version:0,merge:(v,w)=>({...w,...v}),...t},s=!1;const a=new Set,l=new Set;let u=i.storage;if(!u)return e((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...v)},r,o);const c=()=>{const v=i.partialize({...r()});return u.setItem(i.name,{state:v,version:i.version})},d=o.setState;o.setState=(v,w)=>{d(v,w),c()};const h=e((...v)=>{n(...v),c()},r,o);o.getInitialState=()=>h;let x;const g=()=>{var v,w;if(!u)return;s=!1,a.forEach(p=>{var m;return p((m=r())!=null?m:h)});const f=((w=i.onRehydrateStorage)==null?void 0:w.call(i,(v=r())!=null?v:h))||void 0;return ms(u.getItem.bind(u))(i.name).then(p=>{if(p)if(typeof p.version=="number"&&p.version!==i.version){if(i.migrate)return i.migrate(p.state,p.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return p.state}).then(p=>{var m;return x=i.merge(p,(m=r())!=null?m:h),n(x,!0),c()}).then(()=>{f==null||f(x,void 0),x=r(),s=!0,l.forEach(p=>p(x))}).catch(p=>{f==null||f(void 0,p)})};return o.persist={setOptions:v=>{i={...i,...v},v.storage&&(u=v.storage)},clearStorage:()=>{u==null||u.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>g(),hasHydrated:()=>s,onHydrate:v=>(a.add(v),()=>{a.delete(v)}),onFinishHydration:v=>(l.add(v),()=>{l.delete(v)})},i.skipHydration||g(),x||h},$O=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((kO?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),PO(e,t)):RO(e,t),TO=$O;var sn=(e=>(e.Auto="auto",e.Dark="dark",e.Light="light",e))(sn||{});const vv={avatar:"",theme:"auto"},_1=CO()(TO((e,t)=>({...vv,reset(){e(()=>({...vv}))},update(n){const r={...t()};n(r),e(()=>r)}}),{name:w1.Config,version:1,migrate(e,t){return e}})),gv=(e,t)=>({width:t,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden"}),yv=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:`calc(${e.spacing(7)} + 1px)`,[e.breakpoints.up("sm")]:{width:`calc(${e.spacing(8)} + 1px)`}}),OO=H("div")(({theme:e})=>({display:"flex",flexGrow:0,alignItems:"center",justifyContent:"flex-end",padding:e.spacing(0,1.5)})),_O=H(c4)(({theme:e,open:t,width:n})=>({width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...gv(e,n),"& .MuiDrawer-paper":gv(e,n)},...!t&&{...yv(e),"& .MuiDrawer-paper":yv(e)}})),MO=e=>{const t=_1(),n=Ko(),{showSnackbar:r}=LT(),[o,i]=y.useState(!0),[s,a]=y.useState(n.pathname.substring(n.pathname.lastIndexOf("/")+1)),[l,u]=y.useState(null),[c,d]=y.useState(null);y.useEffect(()=>{const S=XT[n.pathname];S&&S.itemKey!=null&&s!==S.itemKey&&a(S.itemKey)},[n,s]);const h=()=>{r(Jn.Error.NotImplemented,"error")},x=S=>{d(S.currentTarget)},g=()=>{d(null)},v=S=>{u(S.currentTarget)},w=()=>{u(null)},f=S=>{t.update(k=>k.theme=S)},p=()=>{i(!o)},m=[{key:"profile",caption:Jn.Menu.Header.Profile,onClick:()=>{g()}},{key:"logout",caption:Jn.Menu.Header.Logout,onClick:()=>{g(),h()}}];return C.jsxs(bn,{sx:{display:"flex"},children:[C.jsx(a1,{}),C.jsx(cR,{position:"fixed",sx:{zIndex:S=>S.zIndex.drawer+1},children:C.jsxs(cc,{children:[C.jsx(bn,{component:"img",sx:{height:50},alt:"logo",src:b1}),C.jsx(at,{variant:"h6",noWrap:!0,component:"a",href:"/",sx:{mx:2,display:"flex",flexGrow:1,fontFamily:"roboto",fontWeight:400,color:"inherit",textDecoration:"none"},children:"Trino"}),C.jsxs(bn,{sx:{flexGrow:0},children:[C.jsx(rv,{title:Jn.Menu.Header.Themes,children:C.jsx(Ra,{sx:{mx:2,color:"inherit"},onClick:v,children:t.theme===sn.Auto?C.jsx(fv,{}):t.theme===sn.Light?C.jsx(dv,{}):t.theme===sn.Dark?C.jsx(cv,{}):null})}),C.jsx(Jm,{sx:{mt:"45px"},id:"menu-appbar",anchorEl:l,anchorOrigin:{vertical:"top",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!l,onClose:w,children:Object.keys(sn).map(S=>{const k=sn[S];return C.jsxs(ev,{onClick:()=>f(k),selected:k===t.theme,children:[C.jsx(Qm,{children:k===sn.Auto?C.jsx(fv,{}):k===sn.Light?C.jsx(dv,{}):k===sn.Dark?C.jsx(cv,{}):null}),C.jsx(at,{textAlign:"center",children:S})]},S)})})]}),C.jsxs(bn,{sx:{flexGrow:0},children:[C.jsx(rv,{title:Jn.Menu.Header.Settings,children:C.jsx(Ra,{onClick:x,sx:{p:0},children:C.jsx(V$,{src:t.avatar})})}),C.jsx(Jm,{sx:{mt:"45px"},id:"menu-appbar",anchorEl:c,anchorOrigin:{vertical:"top",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:!!c,onClose:g,children:m.map(S=>C.jsx(ev,{onClick:S.onClick,children:C.jsx(at,{textAlign:"center",children:S.caption})},S.key))})]})]})}),C.jsxs(_O,{variant:"permanent",open:o,width:240,children:[C.jsx(cc,{}),C.jsx(bn,{sx:{overflowX:"hidden",flexGrow:1},children:C.jsx(p1,{children:Sp.map(S=>C.jsx(F4,{selected:S.itemKey===s,disablePadding:!0,children:C.jsxs(O4,{component:hw,to:S.routeProps.path,children:[C.jsx(Qm,{children:S.icon}),C.jsx(Y4,{primary:S.text})]},S.itemKey)},S.text))})}),C.jsx(OO,{children:C.jsx(Ra,{onClick:p,children:o?C.jsx(y1,{}):C.jsx(x1,{})})})]}),C.jsxs(bn,{component:"main",sx:{flexGrow:1,p:3},children:[C.jsx(cc,{}),C.jsx(s1,{maxWidth:"md",children:e.children})]})]})},IO=({children:e})=>{const[t,n]=y.useState({open:!1,message:"",severity:"info"}),r=y.useCallback((i,s="error")=>{n({open:!0,message:i,severity:s})},[]),o=(i,s)=>{s!=="clickaway"&&n(a=>({...a,open:!1}))};return C.jsxs(S1.Provider,{value:{showSnackbar:r},children:[e,C.jsx(M5,{open:t.open,autoHideDuration:6e3,onClose:o,anchorOrigin:{vertical:"top",horizontal:"center"},children:C.jsx(JP,{onClose:o,severity:t.severity,sx:{width:"100%"},children:t.message})})]})},xv=iu({palette:{mode:"light",primary:{main:"#0b1367"},secondary:{main:"#f50057"}},components:{MuiLink:{styleOverrides:{root:{color:"#f50057",textDecoration:"none"}}}}}),Sv=iu({palette:{mode:"dark"},components:{MuiLink:{styleOverrides:{root:{color:"#dd33fa",textDecoration:"none"}}}}}),jO=()=>{const e=_1(),t=VC("(prefers-color-scheme: dark)"),n=()=>e.theme===sn.Auto?t?Sv:xv:e.theme===sn.Dark?Sv:xv;return C.jsxs(C.Fragment,{children:[C.jsx(a1,{}),C.jsx(eP,{theme:n(),children:C.jsx(IO,{children:C.jsx(dw,{children:C.jsx(NO,{})})})})]})},NO=()=>C.jsx(MO,{children:C.jsxs(ow,{children:[Sp.flatMap(e=>[y.createElement(Sa,{...e.routeProps,key:e.itemKey})]),C.jsx(Sa,{path:"/",element:C.jsx(nw,{to:"/dashboard"})}),C.jsx(Sa,{path:"*",element:C.jsx(LO,{})},"*")]})}),LO=()=>C.jsx(s1,{maxWidth:"md",children:C.jsxs(nt,{container:!0,spacing:2,children:[C.jsx(nt,{xs:12,md:2,children:C.jsx(bn,{component:"img",sx:{height:140},alt:"logo",src:b1})}),C.jsxs(nt,{xs:12,md:10,children:[C.jsx(at,{variant:"h3",children:"404"}),C.jsx(at,{paragraph:!0,children:"The page you’re looking for doesn’t exist."}),C.jsx(Qn,{variant:"contained",component:f1,href:"/",children:"Back Home"})]})]})});pc.createRoot(document.getElementById("root")).render(C.jsx(Ft.StrictMode,{children:C.jsx(jO,{})}));
© 2015 - 2024 Weber Informatics LLC | Privacy Policy