diff --git "a/front/dist/assets/index-GjkfYCwO.js" "b/front/dist/assets/index-GjkfYCwO.js" new file mode 100644--- /dev/null +++ "b/front/dist/assets/index-GjkfYCwO.js" @@ -0,0 +1,499 @@ +function _mergeNamespaces(o,s){for(var i=0;ia[$]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const $ of document.querySelectorAll('link[rel="modulepreload"]'))a($);new MutationObserver($=>{for(const j of $)if(j.type==="childList")for(const _e of j.addedNodes)_e.tagName==="LINK"&&_e.rel==="modulepreload"&&a(_e)}).observe(document,{childList:!0,subtree:!0});function i($){const j={};return $.integrity&&(j.integrity=$.integrity),$.referrerPolicy&&(j.referrerPolicy=$.referrerPolicy),$.crossOrigin==="use-credentials"?j.credentials="include":$.crossOrigin==="anonymous"?j.credentials="omit":j.credentials="same-origin",j}function a($){if($.ep)return;$.ep=!0;const j=i($);fetch($.href,j)}})();function getDefaultExportFromCjs(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function getAugmentedNamespace(o){if(o.__esModule)return o;var s=o.default;if(typeof s=="function"){var i=function a(){return this instanceof a?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};i.prototype=s.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(o).forEach(function(a){var $=Object.getOwnPropertyDescriptor(o,a);Object.defineProperty(i,a,$.get?$:{enumerable:!0,get:function(){return o[a]}})}),i}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/** + * @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 l$3=Symbol.for("react.element"),n$3=Symbol.for("react.portal"),p$4=Symbol.for("react.fragment"),q$3=Symbol.for("react.strict_mode"),r$2=Symbol.for("react.profiler"),t$2=Symbol.for("react.provider"),u$1=Symbol.for("react.context"),v$3=Symbol.for("react.forward_ref"),w$1=Symbol.for("react.suspense"),x$1=Symbol.for("react.memo"),y$1=Symbol.for("react.lazy"),z$2=Symbol.iterator;function A$2(o){return o===null||typeof o!="object"?null:(o=z$2&&o[z$2]||o["@@iterator"],typeof o=="function"?o:null)}var B$1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C$1=Object.assign,D$1={};function E$1(o,s,i){this.props=o,this.context=s,this.refs=D$1,this.updater=i||B$1}E$1.prototype.isReactComponent={};E$1.prototype.setState=function(o,s){if(typeof o!="object"&&typeof o!="function"&&o!=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,o,s,"setState")};E$1.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function F(){}F.prototype=E$1.prototype;function G$1(o,s,i){this.props=o,this.context=s,this.refs=D$1,this.updater=i||B$1}var H$1=G$1.prototype=new F;H$1.constructor=G$1;C$1(H$1,E$1.prototype);H$1.isPureReactComponent=!0;var I$1=Array.isArray,J=Object.prototype.hasOwnProperty,K$1={current:null},L$1={key:!0,ref:!0,__self:!0,__source:!0};function M$1(o,s,i){var a,$={},j=null,_e=null;if(s!=null)for(a in s.ref!==void 0&&(_e=s.ref),s.key!==void 0&&(j=""+s.key),s)J.call(s,a)&&!L$1.hasOwnProperty(a)&&($[a]=s[a]);var et=arguments.length-2;if(et===1)$.children=i;else if(1>>1,Ot=vt[Mt];if(0<$(Ot,bt))vt[Mt]=bt,vt[Tt]=Ot,Tt=Mt;else break e}}function i(vt){return vt.length===0?null:vt[0]}function a(vt){if(vt.length===0)return null;var bt=vt[0],Tt=vt.pop();if(Tt!==bt){vt[0]=Tt;e:for(var Mt=0,Ot=vt.length,Nt=Ot>>>1;Mt$(At,Tt))Dt$(qt,At)?(vt[Mt]=qt,vt[Dt]=Tt,Mt=Dt):(vt[Mt]=At,vt[It]=Tt,Mt=It);else if(Dt$(qt,Tt))vt[Mt]=qt,vt[Dt]=Tt,Mt=Dt;else break e}}return bt}function $(vt,bt){var Tt=vt.sortIndex-bt.sortIndex;return Tt!==0?Tt:vt.id-bt.id}if(typeof performance=="object"&&typeof performance.now=="function"){var j=performance;o.unstable_now=function(){return j.now()}}else{var _e=Date,et=_e.now();o.unstable_now=function(){return _e.now()-et}}var tt=[],rt=[],nt=1,ot=null,st=3,dt=!1,at=!1,it=!1,ft=typeof setTimeout=="function"?setTimeout:null,ct=typeof clearTimeout=="function"?clearTimeout:null,ut=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function lt(vt){for(var bt=i(rt);bt!==null;){if(bt.callback===null)a(rt);else if(bt.startTime<=vt)a(rt),bt.sortIndex=bt.expirationTime,s(tt,bt);else break;bt=i(rt)}}function pt(vt){if(it=!1,lt(vt),!at)if(i(tt)!==null)at=!0,Pt(ht);else{var bt=i(rt);bt!==null&&wt(pt,bt.startTime-vt)}}function ht(vt,bt){at=!1,it&&(it=!1,ct(xt),xt=-1),dt=!0;var Tt=st;try{for(lt(bt),ot=i(tt);ot!==null&&(!(ot.expirationTime>bt)||vt&&!Et());){var Mt=ot.callback;if(typeof Mt=="function"){ot.callback=null,st=ot.priorityLevel;var Ot=Mt(ot.expirationTime<=bt);bt=o.unstable_now(),typeof Ot=="function"?ot.callback=Ot:ot===i(tt)&&a(tt),lt(bt)}else a(tt);ot=i(tt)}if(ot!==null)var Nt=!0;else{var It=i(rt);It!==null&&wt(pt,It.startTime-bt),Nt=!1}return Nt}finally{ot=null,st=Tt,dt=!1}}var gt=!1,mt=null,xt=-1,Ct=5,yt=-1;function Et(){return!(o.unstable_now()-ytvt||125Mt?(vt.sortIndex=Tt,s(rt,vt),i(tt)===null&&vt===i(rt)&&(it?(ct(xt),xt=-1):it=!0,wt(pt,Tt-Mt))):(vt.sortIndex=Ot,s(tt,vt),at||dt||(at=!0,Pt(ht))),vt},o.unstable_shouldYield=Et,o.unstable_wrapCallback=function(vt){var bt=st;return function(){var Tt=st;st=bt;try{return vt.apply(this,arguments)}finally{st=Tt}}}})(scheduler_production_min);scheduler.exports=scheduler_production_min;var schedulerExports=scheduler.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 aa=reactExports,ca=schedulerExports;function p$2(o){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+o,i=1;i"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ja=Object.prototype.hasOwnProperty,ka=/^[: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]*$/,la={},ma={};function oa(o){return ja.call(ma,o)?!0:ja.call(la,o)?!1:ka.test(o)?ma[o]=!0:(la[o]=!0,!1)}function pa(o,s,i,a){if(i!==null&&i.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return a?!1:i!==null?!i.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function qa(o,s,i,a){if(s===null||typeof s>"u"||pa(o,s,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function v$2(o,s,i,a,$,j,_e){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=a,this.attributeNamespace=$,this.mustUseProperty=i,this.propertyName=o,this.type=s,this.sanitizeURL=j,this.removeEmptyString=_e}var z$1={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){z$1[o]=new v$2(o,0,!1,o,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var s=o[0];z$1[s]=new v$2(s,1,!1,o[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(o){z$1[o]=new v$2(o,2,!1,o.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){z$1[o]=new v$2(o,2,!1,o,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(o){z$1[o]=new v$2(o,3,!1,o.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(o){z$1[o]=new v$2(o,3,!0,o,null,!1,!1)});["capture","download"].forEach(function(o){z$1[o]=new v$2(o,4,!1,o,null,!1,!1)});["cols","rows","size","span"].forEach(function(o){z$1[o]=new v$2(o,6,!1,o,null,!1,!1)});["rowSpan","start"].forEach(function(o){z$1[o]=new v$2(o,5,!1,o.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function sa(o){return o[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(o){var s=o.replace(ra,sa);z$1[s]=new v$2(s,1,!1,o,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var s=o.replace(ra,sa);z$1[s]=new v$2(s,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(o){var s=o.replace(ra,sa);z$1[s]=new v$2(s,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(o){z$1[o]=new v$2(o,1,!1,o.toLowerCase(),null,!1,!1)});z$1.xlinkHref=new v$2("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(o){z$1[o]=new v$2(o,1,!1,o.toLowerCase(),null,!0,!0)});function ta(o,s,i,a){var $=z$1.hasOwnProperty(s)?z$1[s]:null;($!==null?$.type!==0:a||!(2et||$[_e]!==j[et]){var tt=` +`+$[_e].replace(" at new "," at ");return o.displayName&&tt.includes("")&&(tt=tt.replace("",o.displayName)),tt}while(1<=_e&&0<=et);break}}}finally{Na=!1,Error.prepareStackTrace=i}return(o=o?o.displayName||o.name:"")?Ma(o):""}function Pa(o){switch(o.tag){case 5:return Ma(o.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return o=Oa(o.type,!1),o;case 11:return o=Oa(o.type.render,!1),o;case 1:return o=Oa(o.type,!0),o;default:return""}}function Qa(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case ya:return"Fragment";case wa:return"Portal";case Aa:return"Profiler";case za:return"StrictMode";case Ea:return"Suspense";case Fa:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Ca:return(o.displayName||"Context")+".Consumer";case Ba:return(o._context.displayName||"Context")+".Provider";case Da:var s=o.render;return o=o.displayName,o||(o=s.displayName||s.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case Ga:return s=o.displayName||null,s!==null?s:Qa(o.type)||"Memo";case Ha:s=o._payload,o=o._init;try{return Qa(o(s))}catch{}}return null}function Ra(o){var s=o.type;switch(o.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=s.render,o=o.displayName||o.name||"",s.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qa(s);case 8:return s===za?"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 s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function Sa(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function Ta(o){var s=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Ua(o){var s=Ta(o)?"checked":"value",i=Object.getOwnPropertyDescriptor(o.constructor.prototype,s),a=""+o[s];if(!o.hasOwnProperty(s)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var $=i.get,j=i.set;return Object.defineProperty(o,s,{configurable:!0,get:function(){return $.call(this)},set:function(_e){a=""+_e,j.call(this,_e)}}),Object.defineProperty(o,s,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(_e){a=""+_e},stopTracking:function(){o._valueTracker=null,delete o[s]}}}}function Va(o){o._valueTracker||(o._valueTracker=Ua(o))}function Wa(o){if(!o)return!1;var s=o._valueTracker;if(!s)return!0;var i=s.getValue(),a="";return o&&(a=Ta(o)?o.checked?"true":"false":o.value),o=a,o!==i?(s.setValue(o),!0):!1}function Xa(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function Ya(o,s){var i=s.checked;return A$1({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??o._wrapperState.initialChecked})}function Za(o,s){var i=s.defaultValue==null?"":s.defaultValue,a=s.checked!=null?s.checked:s.defaultChecked;i=Sa(s.value!=null?s.value:i),o._wrapperState={initialChecked:a,initialValue:i,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function ab(o,s){s=s.checked,s!=null&&ta(o,"checked",s,!1)}function bb(o,s){ab(o,s);var i=Sa(s.value),a=s.type;if(i!=null)a==="number"?(i===0&&o.value===""||o.value!=i)&&(o.value=""+i):o.value!==""+i&&(o.value=""+i);else if(a==="submit"||a==="reset"){o.removeAttribute("value");return}s.hasOwnProperty("value")?cb(o,s.type,i):s.hasOwnProperty("defaultValue")&&cb(o,s.type,Sa(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(o.defaultChecked=!!s.defaultChecked)}function db(o,s,i){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var a=s.type;if(!(a!=="submit"&&a!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+o._wrapperState.initialValue,i||s===o.value||(o.value=s),o.defaultValue=s}i=o.name,i!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,i!==""&&(o.name=i)}function cb(o,s,i){(s!=="number"||Xa(o.ownerDocument)!==o)&&(i==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+i&&(o.defaultValue=""+i))}var eb=Array.isArray;function fb(o,s,i,a){if(o=o.options,s){s={};for(var $=0;$"+s.valueOf().toString()+"",s=mb.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;s.firstChild;)o.appendChild(s.firstChild)}});function ob(o,s){if(s){var i=o.firstChild;if(i&&i===o.lastChild&&i.nodeType===3){i.nodeValue=s;return}}o.textContent=s}var pb={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},qb=["Webkit","ms","Moz","O"];Object.keys(pb).forEach(function(o){qb.forEach(function(s){s=s+o.charAt(0).toUpperCase()+o.substring(1),pb[s]=pb[o]})});function rb(o,s,i){return s==null||typeof s=="boolean"||s===""?"":i||typeof s!="number"||s===0||pb.hasOwnProperty(o)&&pb[o]?(""+s).trim():s+"px"}function sb(o,s){o=o.style;for(var i in s)if(s.hasOwnProperty(i)){var a=i.indexOf("--")===0,$=rb(i,s[i],a);i==="float"&&(i="cssFloat"),a?o.setProperty(i,$):o[i]=$}}var tb=A$1({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 ub(o,s){if(s){if(tb[o]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(p$2(137,o));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(p$2(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(p$2(61))}if(s.style!=null&&typeof s.style!="object")throw Error(p$2(62))}}function vb(o,s){if(o.indexOf("-")===-1)return typeof s.is=="string";switch(o){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 wb=null;function xb(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var yb=null,zb=null,Ab=null;function Bb(o){if(o=Cb(o)){if(typeof yb!="function")throw Error(p$2(280));var s=o.stateNode;s&&(s=Db(s),yb(o.stateNode,o.type,s))}}function Eb(o){zb?Ab?Ab.push(o):Ab=[o]:zb=o}function Fb(){if(zb){var o=zb,s=Ab;if(Ab=zb=null,Bb(o),s)for(o=0;o>>=0,o===0?32:31-(pc(o)/qc|0)|0}var rc=64,sc=4194304;function tc(o){switch(o&-o){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 o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function uc(o,s){var i=o.pendingLanes;if(i===0)return 0;var a=0,$=o.suspendedLanes,j=o.pingedLanes,_e=i&268435455;if(_e!==0){var et=_e&~$;et!==0?a=tc(et):(j&=_e,j!==0&&(a=tc(j)))}else _e=i&~$,_e!==0?a=tc(_e):j!==0&&(a=tc(j));if(a===0)return 0;if(s!==0&&s!==a&&!(s&$)&&($=a&-a,j=s&-s,$>=j||$===16&&(j&4194240)!==0))return s;if(a&4&&(a|=i&16),s=o.entangledLanes,s!==0)for(o=o.entanglements,s&=a;0i;i++)s.push(o);return s}function Ac(o,s,i){o.pendingLanes|=s,s!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,s=31-oc(s),o[s]=i}function Bc(o,s){var i=o.pendingLanes&~s;o.pendingLanes=s,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=s,o.mutableReadLanes&=s,o.entangledLanes&=s,s=o.entanglements;var a=o.eventTimes;for(o=o.expirationTimes;0=be),ee=" ",fe=!1;function ge(o,s){switch(o){case"keyup":return $d.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var ie=!1;function je(o,s){switch(o){case"compositionend":return he(s);case"keypress":return s.which!==32?null:(fe=!0,ee);case"textInput":return o=s.data,o===ee&&fe?null:o;default:return null}}function ke(o,s){if(ie)return o==="compositionend"||!ae&&ge(o,s)?(o=nd(),md=ld=kd=null,ie=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1=s)return{node:i,offset:s-o};o=a}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Je(i)}}function Le(o,s){return o&&s?o===s?!0:o&&o.nodeType===3?!1:s&&s.nodeType===3?Le(o,s.parentNode):"contains"in o?o.contains(s):o.compareDocumentPosition?!!(o.compareDocumentPosition(s)&16):!1:!1}function Me(){for(var o=window,s=Xa();s instanceof o.HTMLIFrameElement;){try{var i=typeof s.contentWindow.location.href=="string"}catch{i=!1}if(i)o=s.contentWindow;else break;s=Xa(o.document)}return s}function Ne(o){var s=o&&o.nodeName&&o.nodeName.toLowerCase();return s&&(s==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||s==="textarea"||o.contentEditable==="true")}function Oe(o){var s=Me(),i=o.focusedElem,a=o.selectionRange;if(s!==i&&i&&i.ownerDocument&&Le(i.ownerDocument.documentElement,i)){if(a!==null&&Ne(i)){if(s=a.start,o=a.end,o===void 0&&(o=s),"selectionStart"in i)i.selectionStart=s,i.selectionEnd=Math.min(o,i.value.length);else if(o=(s=i.ownerDocument||document)&&s.defaultView||window,o.getSelection){o=o.getSelection();var $=i.textContent.length,j=Math.min(a.start,$);a=a.end===void 0?j:Math.min(a.end,$),!o.extend&&j>a&&($=a,a=j,j=$),$=Ke(i,j);var _e=Ke(i,a);$&&_e&&(o.rangeCount!==1||o.anchorNode!==$.node||o.anchorOffset!==$.offset||o.focusNode!==_e.node||o.focusOffset!==_e.offset)&&(s=s.createRange(),s.setStart($.node,$.offset),o.removeAllRanges(),j>a?(o.addRange(s),o.extend(_e.node,_e.offset)):(s.setEnd(_e.node,_e.offset),o.addRange(s)))}}for(s=[],o=i;o=o.parentNode;)o.nodeType===1&&s.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;function Ue(o,s,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Te||Qe==null||Qe!==Xa(a)||(a=Qe,"selectionStart"in a&&Ne(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Se&&Ie(Se,a)||(Se=a,a=oe(Re,"onSelect"),0Tf||(o.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(o,s){Tf++,Sf[Tf]=o.current,o.current=s}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(o,s){var i=o.type.contextTypes;if(!i)return Vf;var a=o.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===s)return a.__reactInternalMemoizedMaskedChildContext;var $={},j;for(j in i)$[j]=s[j];return a&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=s,o.__reactInternalMemoizedMaskedChildContext=$),$}function Zf(o){return o=o.childContextTypes,o!=null}function $f(){E(Wf),E(H)}function ag(o,s,i){if(H.current!==Vf)throw Error(p$2(168));G(H,s),G(Wf,i)}function bg(o,s,i){var a=o.stateNode;if(s=s.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var $ in a)if(!($ in s))throw Error(p$2(108,Ra(o)||"Unknown",$));return A$1({},i,a)}function cg(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||Vf,Xf=H.current,G(H,o),G(Wf,Wf.current),!0}function dg(o,s,i){var a=o.stateNode;if(!a)throw Error(p$2(169));i?(o=bg(o,s,Xf),a.__reactInternalMemoizedMergedChildContext=o,E(Wf),E(H),G(H,o)):E(Wf),G(Wf,i)}var eg=null,fg=!1,gg=!1;function hg(o){eg===null?eg=[o]:eg.push(o)}function ig(o){fg=!0,hg(o)}function jg(){if(!gg&&eg!==null){gg=!0;var o=0,s=C;try{var i=eg;for(C=1;o>=_e,$-=_e,rg=1<<32-oc(s)+$|i<<$|a,sg=j+o}else rg=1<xt?(Ct=mt,mt=null):Ct=mt.sibling;var yt=st(ct,mt,lt[xt],pt);if(yt===null){mt===null&&(mt=Ct);break}o&&mt&&yt.alternate===null&&s(ct,mt),ut=j(yt,ut,xt),gt===null?ht=yt:gt.sibling=yt,gt=yt,mt=Ct}if(xt===lt.length)return i(ct,mt),I&&tg(ct,xt),ht;if(mt===null){for(;xtxt?(Ct=mt,mt=null):Ct=mt.sibling;var Et=st(ct,mt,yt.value,pt);if(Et===null){mt===null&&(mt=Ct);break}o&&mt&&Et.alternate===null&&s(ct,mt),ut=j(Et,ut,xt),gt===null?ht=Et:gt.sibling=Et,gt=Et,mt=Ct}if(yt.done)return i(ct,mt),I&&tg(ct,xt),ht;if(mt===null){for(;!yt.done;xt++,yt=lt.next())yt=ot(ct,yt.value,pt),yt!==null&&(ut=j(yt,ut,xt),gt===null?ht=yt:gt.sibling=yt,gt=yt);return I&&tg(ct,xt),ht}for(mt=a(ct,mt);!yt.done;xt++,yt=lt.next())yt=dt(mt,ct,xt,yt.value,pt),yt!==null&&(o&&yt.alternate!==null&&mt.delete(yt.key===null?xt:yt.key),ut=j(yt,ut,xt),gt===null?ht=yt:gt.sibling=yt,gt=yt);return o&&mt.forEach(function(kt){return s(ct,kt)}),I&&tg(ct,xt),ht}function ft(ct,ut,lt,pt){if(typeof lt=="object"&<!==null&<.type===ya&<.key===null&&(lt=lt.props.children),typeof lt=="object"&<!==null){switch(lt.$$typeof){case va:e:{for(var ht=lt.key,gt=ut;gt!==null;){if(gt.key===ht){if(ht=lt.type,ht===ya){if(gt.tag===7){i(ct,gt.sibling),ut=$(gt,lt.props.children),ut.return=ct,ct=ut;break e}}else if(gt.elementType===ht||typeof ht=="object"&&ht!==null&&ht.$$typeof===Ha&&uh(ht)===gt.type){i(ct,gt.sibling),ut=$(gt,lt.props),ut.ref=sh(ct,gt,lt),ut.return=ct,ct=ut;break e}i(ct,gt);break}else s(ct,gt);gt=gt.sibling}lt.type===ya?(ut=Ah(lt.props.children,ct.mode,pt,lt.key),ut.return=ct,ct=ut):(pt=yh(lt.type,lt.key,lt.props,null,ct.mode,pt),pt.ref=sh(ct,ut,lt),pt.return=ct,ct=pt)}return _e(ct);case wa:e:{for(gt=lt.key;ut!==null;){if(ut.key===gt)if(ut.tag===4&&ut.stateNode.containerInfo===lt.containerInfo&&ut.stateNode.implementation===lt.implementation){i(ct,ut.sibling),ut=$(ut,lt.children||[]),ut.return=ct,ct=ut;break e}else{i(ct,ut);break}else s(ct,ut);ut=ut.sibling}ut=zh(lt,ct.mode,pt),ut.return=ct,ct=ut}return _e(ct);case Ha:return gt=lt._init,ft(ct,ut,gt(lt._payload),pt)}if(eb(lt))return at(ct,ut,lt,pt);if(Ka(lt))return it(ct,ut,lt,pt);th(ct,lt)}return typeof lt=="string"&<!==""||typeof lt=="number"?(lt=""+lt,ut!==null&&ut.tag===6?(i(ct,ut.sibling),ut=$(ut,lt),ut.return=ct,ct=ut):(i(ct,ut),ut=xh(lt,ct.mode,pt),ut.return=ct,ct=ut),_e(ct)):i(ct,ut)}return ft}var Bh=vh(!0),Ch=vh(!1),Dh={},Eh=Uf(Dh),Fh=Uf(Dh),Gh=Uf(Dh);function Hh(o){if(o===Dh)throw Error(p$2(174));return o}function Ih(o,s){switch(G(Gh,s),G(Fh,o),G(Eh,Dh),o=s.nodeType,o){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:lb(null,"");break;default:o=o===8?s.parentNode:s,s=o.namespaceURI||null,o=o.tagName,s=lb(s,o)}E(Eh),G(Eh,s)}function Jh(){E(Eh),E(Fh),E(Gh)}function Kh(o){Hh(Gh.current);var s=Hh(Eh.current),i=lb(s,o.type);s!==i&&(G(Fh,o),G(Eh,i))}function Lh(o){Fh.current===o&&(E(Eh),E(Fh))}var M=Uf(0);function Mh(o){for(var s=o;s!==null;){if(s.tag===13){var i=s.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if(s.flags&128)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var Nh=[];function Oh(){for(var o=0;oi?i:4,o(!0);var a=Qh.transition;Qh.transition={};try{o(!1),s()}finally{C=i,Qh.transition=a}}function Fi(){return di().memoizedState}function Gi(o,s,i){var a=lh(o);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},Hi(o))Ii(s,i);else if(i=Yg(o,s,i,a),i!==null){var $=L();mh(i,o,a,$),Ji(i,s,a)}}function ri(o,s,i){var a=lh(o),$={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if(Hi(o))Ii(s,$);else{var j=o.alternate;if(o.lanes===0&&(j===null||j.lanes===0)&&(j=s.lastRenderedReducer,j!==null))try{var _e=s.lastRenderedState,et=j(_e,i);if($.hasEagerState=!0,$.eagerState=et,He(et,_e)){var tt=s.interleaved;tt===null?($.next=$,Xg(s)):($.next=tt.next,tt.next=$),s.interleaved=$;return}}catch{}finally{}i=Yg(o,s,$,a),i!==null&&($=L(),mh(i,o,a,$),Ji(i,s,a))}}function Hi(o){var s=o.alternate;return o===N||s!==null&&s===N}function Ii(o,s){Th=Sh=!0;var i=o.pending;i===null?s.next=s:(s.next=i.next,i.next=s),o.pending=s}function Ji(o,s,i){if(i&4194240){var a=s.lanes;a&=o.pendingLanes,i|=a,s.lanes=i,Cc(o,i)}}var ai={readContext:Vg,useCallback:Q,useContext:Q,useEffect:Q,useImperativeHandle:Q,useInsertionEffect:Q,useLayoutEffect:Q,useMemo:Q,useReducer:Q,useRef:Q,useState:Q,useDebugValue:Q,useDeferredValue:Q,useTransition:Q,useMutableSource:Q,useSyncExternalStore:Q,useId:Q,unstable_isNewReconciler:!1},Yh={readContext:Vg,useCallback:function(o,s){return ci().memoizedState=[o,s===void 0?null:s],o},useContext:Vg,useEffect:vi,useImperativeHandle:function(o,s,i){return i=i!=null?i.concat([o]):null,ti(4194308,4,yi.bind(null,s,o),i)},useLayoutEffect:function(o,s){return ti(4194308,4,o,s)},useInsertionEffect:function(o,s){return ti(4,2,o,s)},useMemo:function(o,s){var i=ci();return s=s===void 0?null:s,o=o(),i.memoizedState=[o,s],o},useReducer:function(o,s,i){var a=ci();return s=i!==void 0?i(s):s,a.memoizedState=a.baseState=s,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:s},a.queue=o,o=o.dispatch=Gi.bind(null,N,o),[a.memoizedState,o]},useRef:function(o){var s=ci();return o={current:o},s.memoizedState=o},useState:qi,useDebugValue:Ai,useDeferredValue:function(o){return ci().memoizedState=o},useTransition:function(){var o=qi(!1),s=o[0];return o=Ei.bind(null,o[1]),ci().memoizedState=o,[s,o]},useMutableSource:function(){},useSyncExternalStore:function(o,s,i){var a=N,$=ci();if(I){if(i===void 0)throw Error(p$2(407));i=i()}else{if(i=s(),R===null)throw Error(p$2(349));Rh&30||ni(a,s,i)}$.memoizedState=i;var j={value:i,getSnapshot:s};return $.queue=j,vi(ki.bind(null,a,j,o),[o]),a.flags|=2048,li(9,mi.bind(null,a,j,i,s),void 0,null),i},useId:function(){var o=ci(),s=R.identifierPrefix;if(I){var i=sg,a=rg;i=(a&~(1<<32-oc(a)-1)).toString(32)+i,s=":"+s+"R"+i,i=Uh++,0<\/script>",o=o.removeChild(o.firstChild)):typeof a.is=="string"?o=_e.createElement(i,{is:a.is}):(o=_e.createElement(i),i==="select"&&(_e=o,a.multiple?_e.multiple=!0:a.size&&(_e.size=a.size))):o=_e.createElementNS(o,i),o[Of]=s,o[Pf]=a,Aj(o,s,!1,!1),s.stateNode=o;e:{switch(_e=vb(i,a),i){case"dialog":D("cancel",o),D("close",o),$=a;break;case"iframe":case"object":case"embed":D("load",o),$=a;break;case"video":case"audio":for($=0;$Hj&&(s.flags|=128,a=!0,Ej(j,!1),s.lanes=4194304)}else{if(!a)if(o=Mh(_e),o!==null){if(s.flags|=128,a=!0,i=o.updateQueue,i!==null&&(s.updateQueue=i,s.flags|=4),Ej(j,!0),j.tail===null&&j.tailMode==="hidden"&&!_e.alternate&&!I)return S(s),null}else 2*B()-j.renderingStartTime>Hj&&i!==1073741824&&(s.flags|=128,a=!0,Ej(j,!1),s.lanes=4194304);j.isBackwards?(_e.sibling=s.child,s.child=_e):(i=j.last,i!==null?i.sibling=_e:s.child=_e,j.last=_e)}return j.tail!==null?(s=j.tail,j.rendering=s,j.tail=s.sibling,j.renderingStartTime=B(),s.sibling=null,i=M.current,G(M,a?i&1|2:i&1),s):(S(s),null);case 22:case 23:return Ij(),a=s.memoizedState!==null,o!==null&&o.memoizedState!==null!==a&&(s.flags|=8192),a&&s.mode&1?gj&1073741824&&(S(s),s.subtreeFlags&6&&(s.flags|=8192)):S(s),null;case 24:return null;case 25:return null}throw Error(p$2(156,s.tag))}function Jj(o,s){switch(wg(s),s.tag){case 1:return Zf(s.type)&&$f(),o=s.flags,o&65536?(s.flags=o&-65537|128,s):null;case 3:return Jh(),E(Wf),E(H),Oh(),o=s.flags,o&65536&&!(o&128)?(s.flags=o&-65537|128,s):null;case 5:return Lh(s),null;case 13:if(E(M),o=s.memoizedState,o!==null&&o.dehydrated!==null){if(s.alternate===null)throw Error(p$2(340));Ig()}return o=s.flags,o&65536?(s.flags=o&-65537|128,s):null;case 19:return E(M),null;case 4:return Jh(),null;case 10:return Rg(s.type._context),null;case 22:case 23:return Ij(),null;case 24:return null;default:return null}}var Kj=!1,U=!1,Lj=typeof WeakSet=="function"?WeakSet:Set,V=null;function Mj(o,s){var i=o.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){W(o,s,a)}else i.current=null}function Nj(o,s,i){try{i()}catch(a){W(o,s,a)}}var Oj=!1;function Pj(o,s){if(Cf=dd,o=Me(),Ne(o)){if("selectionStart"in o)var i={start:o.selectionStart,end:o.selectionEnd};else e:{i=(i=o.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var $=a.anchorOffset,j=a.focusNode;a=a.focusOffset;try{i.nodeType,j.nodeType}catch{i=null;break e}var _e=0,et=-1,tt=-1,rt=0,nt=0,ot=o,st=null;t:for(;;){for(var dt;ot!==i||$!==0&&ot.nodeType!==3||(et=_e+$),ot!==j||a!==0&&ot.nodeType!==3||(tt=_e+a),ot.nodeType===3&&(_e+=ot.nodeValue.length),(dt=ot.firstChild)!==null;)st=ot,ot=dt;for(;;){if(ot===o)break t;if(st===i&&++rt===$&&(et=_e),st===j&&++nt===a&&(tt=_e),(dt=ot.nextSibling)!==null)break;ot=st,st=ot.parentNode}ot=dt}i=et===-1||tt===-1?null:{start:et,end:tt}}else i=null}i=i||{start:0,end:0}}else i=null;for(Df={focusedElem:o,selectionRange:i},dd=!1,V=s;V!==null;)if(s=V,o=s.child,(s.subtreeFlags&1028)!==0&&o!==null)o.return=s,V=o;else for(;V!==null;){s=V;try{var at=s.alternate;if(s.flags&1024)switch(s.tag){case 0:case 11:case 15:break;case 1:if(at!==null){var it=at.memoizedProps,ft=at.memoizedState,ct=s.stateNode,ut=ct.getSnapshotBeforeUpdate(s.elementType===s.type?it:Lg(s.type,it),ft);ct.__reactInternalSnapshotBeforeUpdate=ut}break;case 3:var lt=s.stateNode.containerInfo;lt.nodeType===1?lt.textContent="":lt.nodeType===9&<.documentElement&<.removeChild(lt.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p$2(163))}}catch(pt){W(s,s.return,pt)}if(o=s.sibling,o!==null){o.return=s.return,V=o;break}V=s.return}return at=Oj,Oj=!1,at}function Qj(o,s,i){var a=s.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var $=a=a.next;do{if(($.tag&o)===o){var j=$.destroy;$.destroy=void 0,j!==void 0&&Nj(s,i,j)}$=$.next}while($!==a)}}function Rj(o,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var i=s=s.next;do{if((i.tag&o)===o){var a=i.create;i.destroy=a()}i=i.next}while(i!==s)}}function Sj(o){var s=o.ref;if(s!==null){var i=o.stateNode;switch(o.tag){case 5:o=i;break;default:o=i}typeof s=="function"?s(o):s.current=o}}function Tj(o){var s=o.alternate;s!==null&&(o.alternate=null,Tj(s)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(s=o.stateNode,s!==null&&(delete s[Of],delete s[Pf],delete s[of],delete s[Qf],delete s[Rf])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function Uj(o){return o.tag===5||o.tag===3||o.tag===4}function Vj(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||Uj(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Wj(o,s,i){var a=o.tag;if(a===5||a===6)o=o.stateNode,s?i.nodeType===8?i.parentNode.insertBefore(o,s):i.insertBefore(o,s):(i.nodeType===8?(s=i.parentNode,s.insertBefore(o,i)):(s=i,s.appendChild(o)),i=i._reactRootContainer,i!=null||s.onclick!==null||(s.onclick=Bf));else if(a!==4&&(o=o.child,o!==null))for(Wj(o,s,i),o=o.sibling;o!==null;)Wj(o,s,i),o=o.sibling}function Xj(o,s,i){var a=o.tag;if(a===5||a===6)o=o.stateNode,s?i.insertBefore(o,s):i.appendChild(o);else if(a!==4&&(o=o.child,o!==null))for(Xj(o,s,i),o=o.sibling;o!==null;)Xj(o,s,i),o=o.sibling}var X=null,Yj=!1;function Zj(o,s,i){for(i=i.child;i!==null;)ak(o,s,i),i=i.sibling}function ak(o,s,i){if(lc&&typeof lc.onCommitFiberUnmount=="function")try{lc.onCommitFiberUnmount(kc,i)}catch{}switch(i.tag){case 5:U||Mj(i,s);case 6:var a=X,$=Yj;X=null,Zj(o,s,i),X=a,Yj=$,X!==null&&(Yj?(o=X,i=i.stateNode,o.nodeType===8?o.parentNode.removeChild(i):o.removeChild(i)):X.removeChild(i.stateNode));break;case 18:X!==null&&(Yj?(o=X,i=i.stateNode,o.nodeType===8?Kf(o.parentNode,i):o.nodeType===1&&Kf(o,i),bd(o)):Kf(X,i.stateNode));break;case 4:a=X,$=Yj,X=i.stateNode.containerInfo,Yj=!0,Zj(o,s,i),X=a,Yj=$;break;case 0:case 11:case 14:case 15:if(!U&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){$=a=a.next;do{var j=$,_e=j.destroy;j=j.tag,_e!==void 0&&(j&2||j&4)&&Nj(i,s,_e),$=$.next}while($!==a)}Zj(o,s,i);break;case 1:if(!U&&(Mj(i,s),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(et){W(i,s,et)}Zj(o,s,i);break;case 21:Zj(o,s,i);break;case 22:i.mode&1?(U=(a=U)||i.memoizedState!==null,Zj(o,s,i),U=a):Zj(o,s,i);break;default:Zj(o,s,i)}}function bk(o){var s=o.updateQueue;if(s!==null){o.updateQueue=null;var i=o.stateNode;i===null&&(i=o.stateNode=new Lj),s.forEach(function(a){var $=ck.bind(null,o,a);i.has(a)||(i.add(a),a.then($,$))})}}function dk(o,s){var i=s.deletions;if(i!==null)for(var a=0;a$&&($=_e),a&=~j}if(a=$,a=B()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*mk(a/1960))-a,10o?16:o,xk===null)var a=!1;else{if(o=xk,xk=null,yk=0,K&6)throw Error(p$2(331));var $=K;for(K|=4,V=o.current;V!==null;){var j=V,_e=j.child;if(V.flags&16){var et=j.deletions;if(et!==null){for(var tt=0;ttB()-gk?Lk(o,0):sk|=i),Ek(o,s)}function Zk(o,s){s===0&&(o.mode&1?(s=sc,sc<<=1,!(sc&130023424)&&(sc=4194304)):s=1);var i=L();o=Zg(o,s),o!==null&&(Ac(o,s,i),Ek(o,i))}function vj(o){var s=o.memoizedState,i=0;s!==null&&(i=s.retryLane),Zk(o,i)}function ck(o,s){var i=0;switch(o.tag){case 13:var a=o.stateNode,$=o.memoizedState;$!==null&&(i=$.retryLane);break;case 19:a=o.stateNode;break;default:throw Error(p$2(314))}a!==null&&a.delete(s),Zk(o,i)}var Wk;Wk=function(o,s,i){if(o!==null)if(o.memoizedProps!==s.pendingProps||Wf.current)Ug=!0;else{if(!(o.lanes&i)&&!(s.flags&128))return Ug=!1,zj(o,s,i);Ug=!!(o.flags&131072)}else Ug=!1,I&&s.flags&1048576&&ug(s,ng,s.index);switch(s.lanes=0,s.tag){case 2:var a=s.type;jj(o,s),o=s.pendingProps;var $=Yf(s,H.current);Tg(s,i),$=Xh(null,s,a,o,$,i);var j=bi();return s.flags|=1,typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,Zf(a)?(j=!0,cg(s)):j=!1,s.memoizedState=$.state!==null&&$.state!==void 0?$.state:null,ah(s),$.updater=nh,s.stateNode=$,$._reactInternals=s,rh(s,a,o,i),s=kj(null,s,a,!0,j,i)):(s.tag=0,I&&j&&vg(s),Yi(null,s,$,i),s=s.child),s;case 16:a=s.elementType;e:{switch(jj(o,s),o=s.pendingProps,$=a._init,a=$(a._payload),s.type=a,$=s.tag=$k(a),o=Lg(a,o),$){case 0:s=dj(null,s,a,o,i);break e;case 1:s=ij(null,s,a,o,i);break e;case 11:s=Zi(null,s,a,o,i);break e;case 14:s=aj(null,s,a,Lg(a.type,o),i);break e}throw Error(p$2(306,a,""))}return s;case 0:return a=s.type,$=s.pendingProps,$=s.elementType===a?$:Lg(a,$),dj(o,s,a,$,i);case 1:return a=s.type,$=s.pendingProps,$=s.elementType===a?$:Lg(a,$),ij(o,s,a,$,i);case 3:e:{if(lj(s),o===null)throw Error(p$2(387));a=s.pendingProps,j=s.memoizedState,$=j.element,bh(o,s),gh(s,a,null,i);var _e=s.memoizedState;if(a=_e.element,j.isDehydrated)if(j={element:a,isDehydrated:!1,cache:_e.cache,pendingSuspenseBoundaries:_e.pendingSuspenseBoundaries,transitions:_e.transitions},s.updateQueue.baseState=j,s.memoizedState=j,s.flags&256){$=Ki(Error(p$2(423)),s),s=mj(o,s,a,i,$);break e}else if(a!==$){$=Ki(Error(p$2(424)),s),s=mj(o,s,a,i,$);break e}else for(yg=Lf(s.stateNode.containerInfo.firstChild),xg=s,I=!0,zg=null,i=Ch(s,null,a,i),s.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Ig(),a===$){s=$i(o,s,i);break e}Yi(o,s,a,i)}s=s.child}return s;case 5:return Kh(s),o===null&&Eg(s),a=s.type,$=s.pendingProps,j=o!==null?o.memoizedProps:null,_e=$.children,Ef(a,$)?_e=null:j!==null&&Ef(a,j)&&(s.flags|=32),hj(o,s),Yi(o,s,_e,i),s.child;case 6:return o===null&&Eg(s),null;case 13:return pj(o,s,i);case 4:return Ih(s,s.stateNode.containerInfo),a=s.pendingProps,o===null?s.child=Bh(s,null,a,i):Yi(o,s,a,i),s.child;case 11:return a=s.type,$=s.pendingProps,$=s.elementType===a?$:Lg(a,$),Zi(o,s,a,$,i);case 7:return Yi(o,s,s.pendingProps,i),s.child;case 8:return Yi(o,s,s.pendingProps.children,i),s.child;case 12:return Yi(o,s,s.pendingProps.children,i),s.child;case 10:e:{if(a=s.type._context,$=s.pendingProps,j=s.memoizedProps,_e=$.value,G(Mg,a._currentValue),a._currentValue=_e,j!==null)if(He(j.value,_e)){if(j.children===$.children&&!Wf.current){s=$i(o,s,i);break e}}else for(j=s.child,j!==null&&(j.return=s);j!==null;){var et=j.dependencies;if(et!==null){_e=j.child;for(var tt=et.firstContext;tt!==null;){if(tt.context===a){if(j.tag===1){tt=ch(-1,i&-i),tt.tag=2;var rt=j.updateQueue;if(rt!==null){rt=rt.shared;var nt=rt.pending;nt===null?tt.next=tt:(tt.next=nt.next,nt.next=tt),rt.pending=tt}}j.lanes|=i,tt=j.alternate,tt!==null&&(tt.lanes|=i),Sg(j.return,i,s),et.lanes|=i;break}tt=tt.next}}else if(j.tag===10)_e=j.type===s.type?null:j.child;else if(j.tag===18){if(_e=j.return,_e===null)throw Error(p$2(341));_e.lanes|=i,et=_e.alternate,et!==null&&(et.lanes|=i),Sg(_e,i,s),_e=j.sibling}else _e=j.child;if(_e!==null)_e.return=j;else for(_e=j;_e!==null;){if(_e===s){_e=null;break}if(j=_e.sibling,j!==null){j.return=_e.return,_e=j;break}_e=_e.return}j=_e}Yi(o,s,$.children,i),s=s.child}return s;case 9:return $=s.type,a=s.pendingProps.children,Tg(s,i),$=Vg($),a=a($),s.flags|=1,Yi(o,s,a,i),s.child;case 14:return a=s.type,$=Lg(a,s.pendingProps),$=Lg(a.type,$),aj(o,s,a,$,i);case 15:return cj(o,s,s.type,s.pendingProps,i);case 17:return a=s.type,$=s.pendingProps,$=s.elementType===a?$:Lg(a,$),jj(o,s),s.tag=1,Zf(a)?(o=!0,cg(s)):o=!1,Tg(s,i),ph(s,a,$),rh(s,a,$,i),kj(null,s,a,!0,o,i);case 19:return yj(o,s,i);case 22:return ej(o,s,i)}throw Error(p$2(156,s.tag))};function Gk(o,s){return ac(o,s)}function al(o,s,i,a){this.tag=o,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bg(o,s,i,a){return new al(o,s,i,a)}function bj(o){return o=o.prototype,!(!o||!o.isReactComponent)}function $k(o){if(typeof o=="function")return bj(o)?1:0;if(o!=null){if(o=o.$$typeof,o===Da)return 11;if(o===Ga)return 14}return 2}function wh(o,s){var i=o.alternate;return i===null?(i=Bg(o.tag,s,o.key,o.mode),i.elementType=o.elementType,i.type=o.type,i.stateNode=o.stateNode,i.alternate=o,o.alternate=i):(i.pendingProps=s,i.type=o.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=o.flags&14680064,i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,s=o.dependencies,i.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},i.sibling=o.sibling,i.index=o.index,i.ref=o.ref,i}function yh(o,s,i,a,$,j){var _e=2;if(a=o,typeof o=="function")bj(o)&&(_e=1);else if(typeof o=="string")_e=5;else e:switch(o){case ya:return Ah(i.children,$,j,s);case za:_e=8,$|=8;break;case Aa:return o=Bg(12,i,s,$|2),o.elementType=Aa,o.lanes=j,o;case Ea:return o=Bg(13,i,s,$),o.elementType=Ea,o.lanes=j,o;case Fa:return o=Bg(19,i,s,$),o.elementType=Fa,o.lanes=j,o;case Ia:return qj(i,$,j,s);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Ba:_e=10;break e;case Ca:_e=9;break e;case Da:_e=11;break e;case Ga:_e=14;break e;case Ha:_e=16,a=null;break e}throw Error(p$2(130,o==null?o:typeof o,""))}return s=Bg(_e,i,s,$),s.elementType=o,s.type=a,s.lanes=j,s}function Ah(o,s,i,a){return o=Bg(7,o,a,s),o.lanes=i,o}function qj(o,s,i,a){return o=Bg(22,o,a,s),o.elementType=Ia,o.lanes=i,o.stateNode={isHidden:!1},o}function xh(o,s,i){return o=Bg(6,o,null,s),o.lanes=i,o}function zh(o,s,i){return s=Bg(4,o.children!==null?o.children:[],o.key,s),s.lanes=i,s.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},s}function bl(o,s,i,a,$){this.tag=s,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zc(0),this.expirationTimes=zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zc(0),this.identifierPrefix=a,this.onRecoverableError=$,this.mutableSourceEagerHydrationData=null}function cl(o,s,i,a,$,j,_e,et,tt){return o=new bl(o,s,i,et,tt),s===1?(s=1,j===!0&&(s|=8)):s=0,j=Bg(3,null,null,s),o.current=j,j.stateNode=o,j.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},ah(j),o}function dl(o,s,i){var a=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(o){console.error(o)}}checkDCE(),reactDom.exports=reactDom_production_min;var reactDomExports=reactDom.exports;const ReactDOM=getDefaultExportFromCjs(reactDomExports);var createRoot,m$2=reactDomExports;createRoot=m$2.createRoot,m$2.hydrateRoot;/** + * @remix-run/router v1.14.2 + * + * 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 _extends$3(){return _extends$3=Object.assign?Object.assign.bind():function(o){for(var s=1;s"u")throw new Error(s)}function warning(o,s){if(!o){typeof console<"u"&&console.warn(s);try{throw new Error(s)}catch{}}}function createKey(){return Math.random().toString(36).substr(2,8)}function getHistoryState(o,s){return{usr:o.state,key:o.key,idx:s}}function createLocation(o,s,i,a){return i===void 0&&(i=null),_extends$3({pathname:typeof o=="string"?o:o.pathname,search:"",hash:""},typeof s=="string"?parsePath(s):s,{state:i,key:s&&s.key||a||createKey()})}function createPath(o){let{pathname:s="/",search:i="",hash:a=""}=o;return i&&i!=="?"&&(s+=i.charAt(0)==="?"?i:"?"+i),a&&a!=="#"&&(s+=a.charAt(0)==="#"?a:"#"+a),s}function parsePath(o){let s={};if(o){let i=o.indexOf("#");i>=0&&(s.hash=o.substr(i),o=o.substr(0,i));let a=o.indexOf("?");a>=0&&(s.search=o.substr(a),o=o.substr(0,a)),o&&(s.pathname=o)}return s}function getUrlBasedHistory(o,s,i,a){a===void 0&&(a={});let{window:$=document.defaultView,v5Compat:j=!1}=a,_e=$.history,et=Action.Pop,tt=null,rt=nt();rt==null&&(rt=0,_e.replaceState(_extends$3({},_e.state,{idx:rt}),""));function nt(){return(_e.state||{idx:null}).idx}function ot(){et=Action.Pop;let ft=nt(),ct=ft==null?null:ft-rt;rt=ft,tt&&tt({action:et,location:it.location,delta:ct})}function st(ft,ct){et=Action.Push;let ut=createLocation(it.location,ft,ct);i&&i(ut,ft),rt=nt()+1;let lt=getHistoryState(ut,rt),pt=it.createHref(ut);try{_e.pushState(lt,"",pt)}catch(ht){if(ht instanceof DOMException&&ht.name==="DataCloneError")throw ht;$.location.assign(pt)}j&&tt&&tt({action:et,location:it.location,delta:1})}function dt(ft,ct){et=Action.Replace;let ut=createLocation(it.location,ft,ct);i&&i(ut,ft),rt=nt();let lt=getHistoryState(ut,rt),pt=it.createHref(ut);_e.replaceState(lt,"",pt),j&&tt&&tt({action:et,location:it.location,delta:0})}function at(ft){let ct=$.location.origin!=="null"?$.location.origin:$.location.href,ut=typeof ft=="string"?ft:createPath(ft);return invariant(ct,"No window.location.(origin|href) available to create URL for href: "+ut),new URL(ut,ct)}let it={get action(){return et},get location(){return o($,_e)},listen(ft){if(tt)throw new Error("A history only accepts one active listener");return $.addEventListener(PopStateEventType,ot),tt=ft,()=>{$.removeEventListener(PopStateEventType,ot),tt=null}},createHref(ft){return s($,ft)},createURL:at,encodeLocation(ft){let ct=at(ft);return{pathname:ct.pathname,search:ct.search,hash:ct.hash}},push:st,replace:dt,go(ft){return _e.go(ft)}};return it}var ResultType;(function(o){o.data="data",o.deferred="deferred",o.redirect="redirect",o.error="error"})(ResultType||(ResultType={}));function matchRoutes(o,s,i){i===void 0&&(i="/");let a=typeof s=="string"?parsePath(s):s,$=stripBasename(a.pathname||"/",i);if($==null)return null;let j=flattenRoutes(o);rankRouteBranches(j);let _e=null;for(let et=0;_e==null&&et{let tt={relativePath:et===void 0?j.path||"":et,caseSensitive:j.caseSensitive===!0,childrenIndex:_e,route:j};tt.relativePath.startsWith("/")&&(invariant(tt.relativePath.startsWith(a),'Absolute route path "'+tt.relativePath+'" nested under path '+('"'+a+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),tt.relativePath=tt.relativePath.slice(a.length));let rt=joinPaths([a,tt.relativePath]),nt=i.concat(tt);j.children&&j.children.length>0&&(invariant(j.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+rt+'".')),flattenRoutes(j.children,s,nt,rt)),!(j.path==null&&!j.index)&&s.push({path:rt,score:computeScore(rt,j.index),routesMeta:nt})};return o.forEach((j,_e)=>{var et;if(j.path===""||!((et=j.path)!=null&&et.includes("?")))$(j,_e);else for(let tt of explodeOptionalSegments(j.path))$(j,_e,tt)}),s}function explodeOptionalSegments(o){let s=o.split("/");if(s.length===0)return[];let[i,...a]=s,$=i.endsWith("?"),j=i.replace(/\?$/,"");if(a.length===0)return $?[j,""]:[j];let _e=explodeOptionalSegments(a.join("/")),et=[];return et.push(..._e.map(tt=>tt===""?j:[j,tt].join("/"))),$&&et.push(..._e),et.map(tt=>o.startsWith("/")&&tt===""?"/":tt)}function rankRouteBranches(o){o.sort((s,i)=>s.score!==i.score?i.score-s.score:compareIndexes(s.routesMeta.map(a=>a.childrenIndex),i.routesMeta.map(a=>a.childrenIndex)))}const paramRe=/^:[\w-]+$/,dynamicSegmentValue=3,indexRouteValue=2,emptySegmentValue=1,staticSegmentValue=10,splatPenalty=-2,isSplat=o=>o==="*";function computeScore(o,s){let i=o.split("/"),a=i.length;return i.some(isSplat)&&(a+=splatPenalty),s&&(a+=indexRouteValue),i.filter($=>!isSplat($)).reduce(($,j)=>$+(paramRe.test(j)?dynamicSegmentValue:j===""?emptySegmentValue:staticSegmentValue),a)}function compareIndexes(o,s){return o.length===s.length&&o.slice(0,-1).every((a,$)=>a===s[$])?o[o.length-1]-s[s.length-1]:0}function matchRouteBranch(o,s){let{routesMeta:i}=o,a={},$="/",j=[];for(let _e=0;_e{let{paramName:st,isOptional:dt}=nt;if(st==="*"){let it=et[ot]||"";_e=j.slice(0,j.length-it.length).replace(/(.)\/+$/,"$1")}const at=et[ot];return dt&&!at?rt[st]=void 0:rt[st]=safelyDecodeURIComponent(at||"",st),rt},{}),pathname:j,pathnameBase:_e,pattern:o}}function compilePath(o,s,i){s===void 0&&(s=!1),i===void 0&&(i=!0),warning(o==="*"||!o.endsWith("*")||o.endsWith("/*"),'Route path "'+o+'" will be treated as if it were '+('"'+o.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+o.replace(/\*$/,"/*")+'".'));let a=[],$="^"+o.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(_e,et,tt)=>(a.push({paramName:et,isOptional:tt!=null}),tt?"/?([^\\/]+)?":"/([^\\/]+)"));return o.endsWith("*")?(a.push({paramName:"*"}),$+=o==="*"||o==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?$+="\\/*$":o!==""&&o!=="/"&&($+="(?:(?=\\/|$))"),[new RegExp($,s?void 0:"i"),a]}function safelyDecodeURI(o){try{return decodeURI(o)}catch(s){return warning(!1,'The URL path "'+o+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+s+").")),o}}function safelyDecodeURIComponent(o,s){try{return decodeURIComponent(o)}catch(i){return warning(!1,'The value for the URL param "'+s+'" will not be decoded because'+(' the string "'+o+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+i+").")),o}}function stripBasename(o,s){if(s==="/")return o;if(!o.toLowerCase().startsWith(s.toLowerCase()))return null;let i=s.endsWith("/")?s.length-1:s.length,a=o.charAt(i);return a&&a!=="/"?null:o.slice(i)||"/"}function resolvePath(o,s){s===void 0&&(s="/");let{pathname:i,search:a="",hash:$=""}=typeof o=="string"?parsePath(o):o;return{pathname:i?i.startsWith("/")?i:resolvePathname(i,s):s,search:normalizeSearch(a),hash:normalizeHash($)}}function resolvePathname(o,s){let i=s.replace(/\/+$/,"").split("/");return o.split("/").forEach($=>{$===".."?i.length>1&&i.pop():$!=="."&&i.push($)}),i.length>1?i.join("/"):"/"}function getInvalidPathError(o,s,i,a){return"Cannot include a '"+o+"' character in a manually specified "+("`to."+s+"` field ["+JSON.stringify(a)+"]. Please separate it out to the ")+("`to."+i+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function getPathContributingMatches(o){return o.filter((s,i)=>i===0||s.route.path&&s.route.path.length>0)}function getResolveToMatches(o,s){let i=getPathContributingMatches(o);return s?i.map((a,$)=>$===o.length-1?a.pathname:a.pathnameBase):i.map(a=>a.pathnameBase)}function resolveTo(o,s,i,a){a===void 0&&(a=!1);let $;typeof o=="string"?$=parsePath(o):($=_extends$3({},o),invariant(!$.pathname||!$.pathname.includes("?"),getInvalidPathError("?","pathname","search",$)),invariant(!$.pathname||!$.pathname.includes("#"),getInvalidPathError("#","pathname","hash",$)),invariant(!$.search||!$.search.includes("#"),getInvalidPathError("#","search","hash",$)));let j=o===""||$.pathname==="",_e=j?"/":$.pathname,et;if(_e==null)et=i;else{let ot=s.length-1;if(!a&&_e.startsWith("..")){let st=_e.split("/");for(;st[0]==="..";)st.shift(),ot-=1;$.pathname=st.join("/")}et=ot>=0?s[ot]:"/"}let tt=resolvePath($,et),rt=_e&&_e!=="/"&&_e.endsWith("/"),nt=(j||_e===".")&&i.endsWith("/");return!tt.pathname.endsWith("/")&&(rt||nt)&&(tt.pathname+="/"),tt}const joinPaths=o=>o.join("/").replace(/\/\/+/g,"/"),normalizePathname=o=>o.replace(/\/+$/,"").replace(/^\/*/,"/"),normalizeSearch=o=>!o||o==="?"?"":o.startsWith("?")?o:"?"+o,normalizeHash=o=>!o||o==="#"?"":o.startsWith("#")?o:"#"+o;function isRouteErrorResponse(o){return o!=null&&typeof o.status=="number"&&typeof o.statusText=="string"&&typeof o.internal=="boolean"&&"data"in o}const validMutationMethodsArr=["post","put","patch","delete"];new Set(validMutationMethodsArr);const validRequestMethodsArr=["get",...validMutationMethodsArr];new Set(validRequestMethodsArr);/** + * React Router v6.21.3 + * + * 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 _extends$2(){return _extends$2=Object.assign?Object.assign.bind():function(o){for(var s=1;s{et.current=!0}),reactExports.useCallback(function(rt,nt){if(nt===void 0&&(nt={}),!et.current)return;if(typeof rt=="number"){a.go(rt);return}let ot=resolveTo(rt,JSON.parse(_e),j,nt.relative==="path");o==null&&s!=="/"&&(ot.pathname=ot.pathname==="/"?s:joinPaths([s,ot.pathname])),(nt.replace?a.replace:a.push)(ot,nt.state,nt)},[s,a,_e,j,o])}const OutletContext=reactExports.createContext(null);function useOutlet(o){let s=reactExports.useContext(RouteContext).outlet;return s&&reactExports.createElement(OutletContext.Provider,{value:o},s)}function useResolvedPath(o,s){let{relative:i}=s===void 0?{}:s,{future:a}=reactExports.useContext(NavigationContext),{matches:$}=reactExports.useContext(RouteContext),{pathname:j}=useLocation(),_e=JSON.stringify(getResolveToMatches($,a.v7_relativeSplatPath));return reactExports.useMemo(()=>resolveTo(o,JSON.parse(_e),j,i==="path"),[o,_e,j,i])}function useRoutes(o,s){return useRoutesImpl(o,s)}function useRoutesImpl(o,s,i,a){useInRouterContext()||invariant(!1);let{navigator:$}=reactExports.useContext(NavigationContext),{matches:j}=reactExports.useContext(RouteContext),_e=j[j.length-1],et=_e?_e.params:{};_e&&_e.pathname;let tt=_e?_e.pathnameBase:"/";_e&&_e.route;let rt=useLocation(),nt;if(s){var ot;let ft=typeof s=="string"?parsePath(s):s;tt==="/"||(ot=ft.pathname)!=null&&ot.startsWith(tt)||invariant(!1),nt=ft}else nt=rt;let st=nt.pathname||"/",dt=tt==="/"?st:st.slice(tt.length)||"/",at=matchRoutes(o,{pathname:dt}),it=_renderMatches(at&&at.map(ft=>Object.assign({},ft,{params:Object.assign({},et,ft.params),pathname:joinPaths([tt,$.encodeLocation?$.encodeLocation(ft.pathname).pathname:ft.pathname]),pathnameBase:ft.pathnameBase==="/"?tt:joinPaths([tt,$.encodeLocation?$.encodeLocation(ft.pathnameBase).pathname:ft.pathnameBase])})),j,i,a);return s&&it?reactExports.createElement(LocationContext.Provider,{value:{location:_extends$2({pathname:"/",search:"",hash:"",state:null,key:"default"},nt),navigationType:Action.Pop}},it):it}function DefaultErrorComponent(){let o=useRouteError(),s=isRouteErrorResponse(o)?o.status+" "+o.statusText:o instanceof Error?o.message:JSON.stringify(o),i=o instanceof Error?o.stack:null,$={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("h2",null,"Unexpected Application Error!"),reactExports.createElement("h3",{style:{fontStyle:"italic"}},s),i?reactExports.createElement("pre",{style:$},i):null,null)}const defaultErrorElement=reactExports.createElement(DefaultErrorComponent,null);class RenderErrorBoundary extends reactExports.Component{constructor(s){super(s),this.state={location:s.location,revalidation:s.revalidation,error:s.error}}static getDerivedStateFromError(s){return{error:s}}static getDerivedStateFromProps(s,i){return i.location!==s.location||i.revalidation!=="idle"&&s.revalidation==="idle"?{error:s.error,location:s.location,revalidation:s.revalidation}:{error:s.error!==void 0?s.error:i.error,location:i.location,revalidation:s.revalidation||i.revalidation}}componentDidCatch(s,i){console.error("React Router caught the following error during render",s,i)}render(){return this.state.error!==void 0?reactExports.createElement(RouteContext.Provider,{value:this.props.routeContext},reactExports.createElement(RouteErrorContext.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function RenderedRoute(o){let{routeContext:s,match:i,children:a}=o,$=reactExports.useContext(DataRouterContext);return $&&$.static&&$.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&($.staticContext._deepestRenderedBoundaryId=i.route.id),reactExports.createElement(RouteContext.Provider,{value:s},a)}function _renderMatches(o,s,i,a){var $;if(s===void 0&&(s=[]),i===void 0&&(i=null),a===void 0&&(a=null),o==null){var j;if((j=i)!=null&&j.errors)o=i.matches;else return null}let _e=o,et=($=i)==null?void 0:$.errors;if(et!=null){let nt=_e.findIndex(ot=>ot.route.id&&(et==null?void 0:et[ot.route.id]));nt>=0||invariant(!1),_e=_e.slice(0,Math.min(_e.length,nt+1))}let tt=!1,rt=-1;if(i&&a&&a.v7_partialHydration)for(let nt=0;nt<_e.length;nt++){let ot=_e[nt];if((ot.route.HydrateFallback||ot.route.hydrateFallbackElement)&&(rt=nt),ot.route.id){let{loaderData:st,errors:dt}=i,at=ot.route.loader&&st[ot.route.id]===void 0&&(!dt||dt[ot.route.id]===void 0);if(ot.route.lazy||at){tt=!0,rt>=0?_e=_e.slice(0,rt+1):_e=[_e[0]];break}}}return _e.reduceRight((nt,ot,st)=>{let dt,at=!1,it=null,ft=null;i&&(dt=et&&ot.route.id?et[ot.route.id]:void 0,it=ot.route.errorElement||defaultErrorElement,tt&&(rt<0&&st===0?(warningOnce("route-fallback",!1),at=!0,ft=null):rt===st&&(at=!0,ft=ot.route.hydrateFallbackElement||null)));let ct=s.concat(_e.slice(0,st+1)),ut=()=>{let lt;return dt?lt=it:at?lt=ft:ot.route.Component?lt=reactExports.createElement(ot.route.Component,null):ot.route.element?lt=ot.route.element:lt=nt,reactExports.createElement(RenderedRoute,{match:ot,routeContext:{outlet:nt,matches:ct,isDataRoute:i!=null},children:lt})};return i&&(ot.route.ErrorBoundary||ot.route.errorElement||st===0)?reactExports.createElement(RenderErrorBoundary,{location:i.location,revalidation:i.revalidation,component:it,error:dt,children:ut(),routeContext:{outlet:null,matches:ct,isDataRoute:!0}}):ut()},null)}var DataRouterHook$1=function(o){return o.UseBlocker="useBlocker",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o}(DataRouterHook$1||{}),DataRouterStateHook$1=function(o){return o.UseBlocker="useBlocker",o.UseLoaderData="useLoaderData",o.UseActionData="useActionData",o.UseRouteError="useRouteError",o.UseNavigation="useNavigation",o.UseRouteLoaderData="useRouteLoaderData",o.UseMatches="useMatches",o.UseRevalidator="useRevalidator",o.UseNavigateStable="useNavigate",o.UseRouteId="useRouteId",o}(DataRouterStateHook$1||{});function useDataRouterContext(o){let s=reactExports.useContext(DataRouterContext);return s||invariant(!1),s}function useDataRouterState(o){let s=reactExports.useContext(DataRouterStateContext);return s||invariant(!1),s}function useRouteContext(o){let s=reactExports.useContext(RouteContext);return s||invariant(!1),s}function useCurrentRouteId(o){let s=useRouteContext(),i=s.matches[s.matches.length-1];return i.route.id||invariant(!1),i.route.id}function useRouteError(){var o;let s=reactExports.useContext(RouteErrorContext),i=useDataRouterState(DataRouterStateHook$1.UseRouteError),a=useCurrentRouteId(DataRouterStateHook$1.UseRouteError);return s!==void 0?s:(o=i.errors)==null?void 0:o[a]}function useNavigateStable(){let{router:o}=useDataRouterContext(DataRouterHook$1.UseNavigateStable),s=useCurrentRouteId(DataRouterStateHook$1.UseNavigateStable),i=reactExports.useRef(!1);return useIsomorphicLayoutEffect(()=>{i.current=!0}),reactExports.useCallback(function($,j){j===void 0&&(j={}),i.current&&(typeof $=="number"?o.navigate($):o.navigate($,_extends$2({fromRouteId:s},j)))},[o,s])}const alreadyWarned={};function warningOnce(o,s,i){!s&&!alreadyWarned[o]&&(alreadyWarned[o]=!0)}function Navigate(o){let{to:s,replace:i,state:a,relative:$}=o;useInRouterContext()||invariant(!1);let{future:j,static:_e}=reactExports.useContext(NavigationContext),{matches:et}=reactExports.useContext(RouteContext),{pathname:tt}=useLocation(),rt=useNavigate(),nt=resolveTo(s,getResolveToMatches(et,j.v7_relativeSplatPath),tt,$==="path"),ot=JSON.stringify(nt);return reactExports.useEffect(()=>rt(JSON.parse(ot),{replace:i,state:a,relative:$}),[rt,ot,$,i,a]),null}function Outlet(o){return useOutlet(o.context)}function Route(o){invariant(!1)}function Router$1(o){let{basename:s="/",children:i=null,location:a,navigationType:$=Action.Pop,navigator:j,static:_e=!1,future:et}=o;useInRouterContext()&&invariant(!1);let tt=s.replace(/^\/*/,"/"),rt=reactExports.useMemo(()=>({basename:tt,navigator:j,static:_e,future:_extends$2({v7_relativeSplatPath:!1},et)}),[tt,et,j,_e]);typeof a=="string"&&(a=parsePath(a));let{pathname:nt="/",search:ot="",hash:st="",state:dt=null,key:at="default"}=a,it=reactExports.useMemo(()=>{let ft=stripBasename(nt,tt);return ft==null?null:{location:{pathname:ft,search:ot,hash:st,state:dt,key:at},navigationType:$}},[tt,nt,ot,st,dt,at,$]);return it==null?null:reactExports.createElement(NavigationContext.Provider,{value:rt},reactExports.createElement(LocationContext.Provider,{children:i,value:it}))}function Routes(o){let{children:s,location:i}=o;return useRoutes(createRoutesFromChildren(s),i)}new Promise(()=>{});function createRoutesFromChildren(o,s){s===void 0&&(s=[]);let i=[];return reactExports.Children.forEach(o,(a,$)=>{if(!reactExports.isValidElement(a))return;let j=[...s,$];if(a.type===reactExports.Fragment){i.push.apply(i,createRoutesFromChildren(a.props.children,j));return}a.type!==Route&&invariant(!1),!a.props.index||!a.props.children||invariant(!1);let _e={id:a.props.id||j.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,loader:a.props.loader,action:a.props.action,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(_e.children=createRoutesFromChildren(a.props.children,j)),i.push(_e)}),i}/** + * React Router DOM v6.21.3 + * + * 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 _extends$1(){return _extends$1=Object.assign?Object.assign.bind():function(o){for(var s=1;s=0)&&(i[$]=o[$]);return i}function isModifiedEvent(o){return!!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)}function shouldProcessLinkClick(o,s){return o.button===0&&(!s||s==="_self")&&!isModifiedEvent(o)}const _excluded$17=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],START_TRANSITION="startTransition",startTransitionImpl=React$1[START_TRANSITION];function BrowserRouter(o){let{basename:s,children:i,future:a,window:$}=o,j=reactExports.useRef();j.current==null&&(j.current=createBrowserHistory({window:$,v5Compat:!0}));let _e=j.current,[et,tt]=reactExports.useState({action:_e.action,location:_e.location}),{v7_startTransition:rt}=a||{},nt=reactExports.useCallback(ot=>{rt&&startTransitionImpl?startTransitionImpl(()=>tt(ot)):tt(ot)},[tt,rt]);return reactExports.useLayoutEffect(()=>_e.listen(nt),[_e,nt]),reactExports.createElement(Router$1,{basename:s,children:i,location:et.location,navigationType:et.action,navigator:_e,future:a})}const isBrowser$1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ABSOLUTE_URL_REGEX=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Link=reactExports.forwardRef(function(s,i){let{onClick:a,relative:$,reloadDocument:j,replace:_e,state:et,target:tt,to:rt,preventScrollReset:nt,unstable_viewTransition:ot}=s,st=_objectWithoutPropertiesLoose$1(s,_excluded$17),{basename:dt}=reactExports.useContext(NavigationContext),at,it=!1;if(typeof rt=="string"&&ABSOLUTE_URL_REGEX.test(rt)&&(at=rt,isBrowser$1))try{let lt=new URL(window.location.href),pt=rt.startsWith("//")?new URL(lt.protocol+rt):new URL(rt),ht=stripBasename(pt.pathname,dt);pt.origin===lt.origin&&ht!=null?rt=ht+pt.search+pt.hash:it=!0}catch{}let ft=useHref(rt,{relative:$}),ct=useLinkClickHandler(rt,{replace:_e,state:et,target:tt,preventScrollReset:nt,relative:$,unstable_viewTransition:ot});function ut(lt){a&&a(lt),lt.defaultPrevented||ct(lt)}return reactExports.createElement("a",_extends$1({},st,{href:at||ft,onClick:it||j?a:ut,ref:i,target:tt}))});var DataRouterHook;(function(o){o.UseScrollRestoration="useScrollRestoration",o.UseSubmit="useSubmit",o.UseSubmitFetcher="useSubmitFetcher",o.UseFetcher="useFetcher",o.useViewTransitionState="useViewTransitionState"})(DataRouterHook||(DataRouterHook={}));var DataRouterStateHook;(function(o){o.UseFetcher="useFetcher",o.UseFetchers="useFetchers",o.UseScrollRestoration="useScrollRestoration"})(DataRouterStateHook||(DataRouterStateHook={}));function useLinkClickHandler(o,s){let{target:i,replace:a,state:$,preventScrollReset:j,relative:_e,unstable_viewTransition:et}=s===void 0?{}:s,tt=useNavigate(),rt=useLocation(),nt=useResolvedPath(o,{relative:_e});return reactExports.useCallback(ot=>{if(shouldProcessLinkClick(ot,i)){ot.preventDefault();let st=a!==void 0?a:createPath(rt)===createPath(nt);tt(o,{replace:st,state:$,preventScrollReset:j,relative:_e,unstable_viewTransition:et})}},[rt,tt,nt,a,$,i,o,j,_e,et])}const common={black:"#000",white:"#fff"},common$1=common,red={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"},red$1=red,purple={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"},purple$1=purple,blue={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"},blue$1=blue,lightBlue={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"},lightBlue$1=lightBlue,green={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"},green$1=green,orange={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"},orange$1=orange,grey={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"},grey$1=grey;function formatMuiErrorMessage(o){let s="https://mui.com/production-error/?code="+o;for(let i=1;i=0)&&(i[$]=o[$]);return i}function memoize$1(o){var s=Object.create(null);return function(i){return s[i]===void 0&&(s[i]=o(i)),s[i]}}var reactPropsRegex=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,isPropValid=memoize$1(function(o){return reactPropsRegex.test(o)||o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)<91});function sheetForTag(o){if(o.sheet)return o.sheet;for(var s=0;s0?charat(characters,--position):0,column--,character===10&&(column=1,line--),character}function next(){return character=position2||token(character)>3?"":" "}function escaping(o,s){for(;--s&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(o,caret()+(s<6&&peek()==32&&next()==32))}function delimiter(o){for(;next();)switch(character){case o:return position;case 34:case 39:o!==34&&o!==39&&delimiter(character);break;case 40:o===41&&delimiter(o);break;case 92:next();break}return position}function commenter(o,s){for(;next()&&o+character!==57;)if(o+character===84&&peek()===47)break;return"/*"+slice(s,position-1)+"*"+from(o===47?o:next())}function identifier(o){for(;!token(peek());)next();return slice(o,position)}function compile(o){return dealloc(parse("",null,null,null,[""],o=alloc(o),0,[0],o))}function parse(o,s,i,a,$,j,_e,et,tt){for(var rt=0,nt=0,ot=_e,st=0,dt=0,at=0,it=1,ft=1,ct=1,ut=0,lt="",pt=$,ht=j,gt=a,mt=lt;ft;)switch(at=ut,ut=next()){case 40:if(at!=108&&charat(mt,ot-1)==58){indexof(mt+=replace(delimit(ut),"&","&\f"),"&\f")!=-1&&(ct=-1);break}case 34:case 39:case 91:mt+=delimit(ut);break;case 9:case 10:case 13:case 32:mt+=whitespace(at);break;case 92:mt+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append(comment(commenter(next(),caret()),s,i),tt);break;default:mt+="/"}break;case 123*it:et[rt++]=strlen(mt)*ct;case 125*it:case 59:case 0:switch(ut){case 0:case 125:ft=0;case 59+nt:ct==-1&&(mt=replace(mt,/\f/g,"")),dt>0&&strlen(mt)-ot&&append(dt>32?declaration(mt+";",a,i,ot-1):declaration(replace(mt," ","")+";",a,i,ot-2),tt);break;case 59:mt+=";";default:if(append(gt=ruleset(mt,s,i,rt,nt,$,et,lt,pt=[],ht=[],ot),j),ut===123)if(nt===0)parse(mt,s,gt,gt,pt,j,ot,et,ht);else switch(st===99&&charat(mt,3)===110?100:st){case 100:case 108:case 109:case 115:parse(o,gt,gt,a&&append(ruleset(o,gt,gt,0,0,$,et,lt,$,pt=[],ot),ht),$,ht,ot,et,a?pt:ht);break;default:parse(mt,gt,gt,gt,[""],ht,0,et,ht)}}rt=nt=dt=0,it=ct=1,lt=mt="",ot=_e;break;case 58:ot=1+strlen(mt),dt=at;default:if(it<1){if(ut==123)--it;else if(ut==125&&it++==0&&prev()==125)continue}switch(mt+=from(ut),ut*it){case 38:ct=nt>0?1:(mt+="\f",-1);break;case 44:et[rt++]=(strlen(mt)-1)*ct,ct=1;break;case 64:peek()===45&&(mt+=delimit(next())),st=peek(),nt=ot=strlen(lt=mt+=identifier(caret())),ut++;break;case 45:at===45&&strlen(mt)==2&&(it=0)}}return j}function ruleset(o,s,i,a,$,j,_e,et,tt,rt,nt){for(var ot=$-1,st=$===0?j:[""],dt=sizeof(st),at=0,it=0,ft=0;at0?st[ct]+" "+ut:replace(ut,/&\f/g,st[ct])))&&(tt[ft++]=lt);return node(o,s,i,$===0?RULESET:et,tt,rt,nt)}function comment(o,s,i){return node(o,s,i,COMMENT,from(char()),substr(o,2,-2),0)}function declaration(o,s,i,a){return node(o,s,i,DECLARATION,substr(o,0,a),substr(o,a+1,-1),a)}function serialize(o,s){for(var i="",a=sizeof(o),$=0;$6)switch(charat(o,s+1)){case 109:if(charat(o,s+4)!==45)break;case 102:return replace(o,/(.+:)(.+)-([^]+)/,"$1"+WEBKIT+"$2-$3$1"+MOZ+(charat(o,s+3)==108?"$3":"$2-$3"))+o;case 115:return~indexof(o,"stretch")?prefix(replace(o,"stretch","fill-available"),s)+o:o}break;case 4949:if(charat(o,s+1)!==115)break;case 6444:switch(charat(o,strlen(o)-3-(~indexof(o,"!important")&&10))){case 107:return replace(o,":",":"+WEBKIT)+o;case 101:return replace(o,/(.+:)([^;!]+)(;|!.+)?/,"$1"+WEBKIT+(charat(o,14)===45?"inline-":"")+"box$3$1"+WEBKIT+"$2$3$1"+MS+"$2box$3")+o}break;case 5936:switch(charat(o,s+11)){case 114:return WEBKIT+o+MS+replace(o,/[svh]\w+-[tblr]{2}/,"tb")+o;case 108:return WEBKIT+o+MS+replace(o,/[svh]\w+-[tblr]{2}/,"tb-rl")+o;case 45:return WEBKIT+o+MS+replace(o,/[svh]\w+-[tblr]{2}/,"lr")+o}return WEBKIT+o+MS+o+o}return o}var prefixer=function(s,i,a,$){if(s.length>-1&&!s.return)switch(s.type){case DECLARATION:s.return=prefix(s.value,s.length);break;case KEYFRAMES:return serialize([copy(s,{value:replace(s.value,"@","@"+WEBKIT)})],$);case RULESET:if(s.length)return combine(s.props,function(j){switch(match(j,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(s,{props:[replace(j,/:(read-\w+)/,":"+MOZ+"$1")]})],$);case"::placeholder":return serialize([copy(s,{props:[replace(j,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(s,{props:[replace(j,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(s,{props:[replace(j,/:(plac\w+)/,MS+"input-$1")]})],$)}return""})}},defaultStylisPlugins=[prefixer],createCache=function(s){var i=s.key;if(i==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(it){var ft=it.getAttribute("data-emotion");ft.indexOf(" ")!==-1&&(document.head.appendChild(it),it.setAttribute("data-s",""))})}var $=s.stylisPlugins||defaultStylisPlugins,j={},_e,et=[];_e=s.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(it){for(var ft=it.getAttribute("data-emotion").split(" "),ct=1;ct=4;++a,$-=4)i=o.charCodeAt(a)&255|(o.charCodeAt(++a)&255)<<8|(o.charCodeAt(++a)&255)<<16|(o.charCodeAt(++a)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,s=(i&65535)*1540483477+((i>>>16)*59797<<16)^(s&65535)*1540483477+((s>>>16)*59797<<16);switch($){case 3:s^=(o.charCodeAt(a+2)&255)<<16;case 2:s^=(o.charCodeAt(a+1)&255)<<8;case 1:s^=o.charCodeAt(a)&255,s=(s&65535)*1540483477+((s>>>16)*59797<<16)}return s^=s>>>13,s=(s&65535)*1540483477+((s>>>16)*59797<<16),((s^s>>>15)>>>0).toString(36)}var unitlessKeys={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},hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function(s){return s.charCodeAt(1)===45},isProcessableValue=function(s){return s!=null&&typeof s!="boolean"},processStyleName=memoize$1(function(o){return isCustomProperty(o)?o:o.replace(hyphenateRegex,"-$&").toLowerCase()}),processStyleValue=function(s,i){switch(s){case"animation":case"animationName":if(typeof i=="string")return i.replace(animationRegex,function(a,$,j){return cursor={name:$,styles:j,next:cursor},$})}return unitlessKeys[s]!==1&&!isCustomProperty(s)&&typeof i=="number"&&i!==0?i+"px":i},noComponentSelectorMessage="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function handleInterpolation(o,s,i){if(i==null)return"";if(i.__emotion_styles!==void 0)return i;switch(typeof i){case"boolean":return"";case"object":{if(i.anim===1)return cursor={name:i.name,styles:i.styles,next:cursor},i.name;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)cursor={name:a.name,styles:a.styles,next:cursor},a=a.next;var $=i.styles+";";return $}return createStringFromObject(o,s,i)}case"function":{if(o!==void 0){var j=cursor,_e=i(o);return cursor=j,handleInterpolation(o,s,_e)}break}}if(s==null)return i;var et=s[i];return et!==void 0?et:i}function createStringFromObject(o,s,i){var a="";if(Array.isArray(i))for(var $=0;$96?testOmitPropsOnStringTag:testOmitPropsOnComponent},composeShouldForwardProps=function(s,i,a){var $;if(i){var j=i.shouldForwardProp;$=s.__emotion_forwardProp&&j?function(_e){return s.__emotion_forwardProp(_e)&&j(_e)}:j}return typeof $!="function"&&a&&($=s.__emotion_forwardProp),$},Insertion=function(s){var i=s.cache,a=s.serialized,$=s.isStringTag;return registerStyles(i,a,$),useInsertionEffectAlwaysWithSyncFallback(function(){return insertStyles(i,a,$)}),null},createStyled$1=function o(s,i){var a=s.__emotion_real===s,$=a&&s.__emotion_base||s,j,_e;i!==void 0&&(j=i.label,_e=i.target);var et=composeShouldForwardProps(s,i,a),tt=et||getDefaultShouldForwardProp($),rt=!tt("as");return function(){var nt=arguments,ot=a&&s.__emotion_styles!==void 0?s.__emotion_styles.slice(0):[];if(j!==void 0&&ot.push("label:"+j+";"),nt[0]==null||nt[0].raw===void 0)ot.push.apply(ot,nt);else{ot.push(nt[0][0]);for(var st=nt.length,dt=1;dts(isEmpty$4($)?i:$):s;return jsxRuntimeExports.jsx(Global,{styles:a})}function styled$2(o,s){return newStyled(o,s)}const internal_processStyles=(o,s)=>{Array.isArray(o.__emotion_styles)&&(o.__emotion_styles=s(o.__emotion_styles))};function isPlainObject$1(o){if(typeof o!="object"||o===null)return!1;const s=Object.getPrototypeOf(o);return(s===null||s===Object.prototype||Object.getPrototypeOf(s)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)}function deepClone(o){if(!isPlainObject$1(o))return o;const s={};return Object.keys(o).forEach(i=>{s[i]=deepClone(o[i])}),s}function deepmerge(o,s,i={clone:!0}){const a=i.clone?_extends({},o):o;return isPlainObject$1(o)&&isPlainObject$1(s)&&Object.keys(s).forEach($=>{$!=="__proto__"&&(isPlainObject$1(s[$])&&$ in o&&isPlainObject$1(o[$])?a[$]=deepmerge(o[$],s[$],i):i.clone?a[$]=isPlainObject$1(s[$])?deepClone(s[$]):s[$]:a[$]=s[$])}),a}var reactIs_production_min={};/** + * @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 b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),n=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");function v(o){if(typeof o=="object"&&o!==null){var s=o.$$typeof;switch(s){case b:switch(o=o.type,o){case d:case f:case e:case m:case n:return o;default:switch(o=o&&o.$$typeof,o){case k:case h:case l:case q:case p:case g:return o;default:return s}}case c:return s}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q;reactIs_production_min.Memo=p;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m;reactIs_production_min.SuspenseList=n;reactIs_production_min.isAsyncMode=function(){return!1};reactIs_production_min.isConcurrentMode=function(){return!1};reactIs_production_min.isContextConsumer=function(o){return v(o)===h};reactIs_production_min.isContextProvider=function(o){return v(o)===g};reactIs_production_min.isElement=function(o){return typeof o=="object"&&o!==null&&o.$$typeof===b};reactIs_production_min.isForwardRef=function(o){return v(o)===l};reactIs_production_min.isFragment=function(o){return v(o)===d};reactIs_production_min.isLazy=function(o){return v(o)===q};reactIs_production_min.isMemo=function(o){return v(o)===p};reactIs_production_min.isPortal=function(o){return v(o)===c};reactIs_production_min.isProfiler=function(o){return v(o)===f};reactIs_production_min.isStrictMode=function(o){return v(o)===e};reactIs_production_min.isSuspense=function(o){return v(o)===m};reactIs_production_min.isSuspenseList=function(o){return v(o)===n};reactIs_production_min.isValidElementType=function(o){return typeof o=="string"||typeof o=="function"||o===d||o===f||o===e||o===m||o===n||o===t||typeof o=="object"&&o!==null&&(o.$$typeof===q||o.$$typeof===p||o.$$typeof===g||o.$$typeof===h||o.$$typeof===l||o.$$typeof===u||o.getModuleId!==void 0)};reactIs_production_min.typeOf=v;function capitalize(o){if(typeof o!="string")throw new Error(formatMuiErrorMessage(7));return o.charAt(0).toUpperCase()+o.slice(1)}function createChainedFunction(...o){return o.reduce((s,i)=>i==null?s:function(...$){s.apply(this,$),i.apply(this,$)},()=>{})}function debounce$1(o,s=166){let i;function a(...$){const j=()=>{o.apply(this,$)};clearTimeout(i),i=setTimeout(j,s)}return a.clear=()=>{clearTimeout(i)},a}function deprecatedPropType(o,s){return()=>null}function isMuiElement(o,s){var i,a;return reactExports.isValidElement(o)&&s.indexOf((i=o.type.muiName)!=null?i:(a=o.type)==null||(a=a._payload)==null||(a=a.value)==null?void 0:a.muiName)!==-1}function ownerDocument(o){return o&&o.ownerDocument||document}function ownerWindow(o){return ownerDocument(o).defaultView||window}function requirePropFactory(o,s){return()=>null}function setRef(o,s){typeof o=="function"?o(s):o&&(o.current=s)}const useEnhancedEffect=typeof window<"u"?reactExports.useLayoutEffect:reactExports.useEffect;let globalId=0;function useGlobalId(o){const[s,i]=reactExports.useState(o),a=o||s;return reactExports.useEffect(()=>{s==null&&(globalId+=1,i(`mui-${globalId}`))},[s]),a}const maybeReactUseId=React$1.useId;function useId(o){if(maybeReactUseId!==void 0){const s=maybeReactUseId();return o??s}return useGlobalId(o)}function unsupportedProp(o,s,i,a,$){return null}function useControlled({controlled:o,default:s,name:i,state:a="value"}){const{current:$}=reactExports.useRef(o!==void 0),[j,_e]=reactExports.useState(s),et=$?o:j,tt=reactExports.useCallback(rt=>{$||_e(rt)},[]);return[et,tt]}function useEventCallback(o){const s=reactExports.useRef(o);return useEnhancedEffect(()=>{s.current=o}),reactExports.useRef((...i)=>(0,s.current)(...i)).current}function useForkRef(...o){return reactExports.useMemo(()=>o.every(s=>s==null)?null:s=>{o.forEach(i=>{setRef(i,s)})},o)}let hadKeyboardEvent=!0,hadFocusVisibleRecently=!1,hadFocusVisibleRecentlyTimeout;const inputTypesWhitelist={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 focusTriggersKeyboardModality(o){const{type:s,tagName:i}=o;return!!(i==="INPUT"&&inputTypesWhitelist[s]&&!o.readOnly||i==="TEXTAREA"&&!o.readOnly||o.isContentEditable)}function handleKeyDown(o){o.metaKey||o.altKey||o.ctrlKey||(hadKeyboardEvent=!0)}function handlePointerDown(){hadKeyboardEvent=!1}function handleVisibilityChange(){this.visibilityState==="hidden"&&hadFocusVisibleRecently&&(hadKeyboardEvent=!0)}function prepare(o){o.addEventListener("keydown",handleKeyDown,!0),o.addEventListener("mousedown",handlePointerDown,!0),o.addEventListener("pointerdown",handlePointerDown,!0),o.addEventListener("touchstart",handlePointerDown,!0),o.addEventListener("visibilitychange",handleVisibilityChange,!0)}function isFocusVisible(o){const{target:s}=o;try{return s.matches(":focus-visible")}catch{}return hadKeyboardEvent||focusTriggersKeyboardModality(s)}function useIsFocusVisible(){const o=reactExports.useCallback($=>{$!=null&&prepare($.ownerDocument)},[]),s=reactExports.useRef(!1);function i(){return s.current?(hadFocusVisibleRecently=!0,window.clearTimeout(hadFocusVisibleRecentlyTimeout),hadFocusVisibleRecentlyTimeout=window.setTimeout(()=>{hadFocusVisibleRecently=!1},100),s.current=!1,!0):!1}function a($){return isFocusVisible($)?(s.current=!0,!0):!1}return{isFocusVisibleRef:s,onFocus:a,onBlur:i,ref:o}}function getScrollbarSize(o){const s=o.documentElement.clientWidth;return Math.abs(window.innerWidth-s)}function resolveProps(o,s){const i=_extends({},s);return Object.keys(o).forEach(a=>{if(a.toString().match(/^(components|slots)$/))i[a]=_extends({},o[a],i[a]);else if(a.toString().match(/^(componentsProps|slotProps)$/)){const $=o[a]||{},j=s[a];i[a]={},!j||!Object.keys(j)?i[a]=$:!$||!Object.keys($)?i[a]=j:(i[a]=_extends({},j),Object.keys($).forEach(_e=>{i[a][_e]=resolveProps($[_e],j[_e])}))}else i[a]===void 0&&(i[a]=o[a])}),i}function composeClasses(o,s,i=void 0){const a={};return Object.keys(o).forEach($=>{a[$]=o[$].reduce((j,_e)=>{if(_e){const et=s(_e);et!==""&&j.push(et),i&&i[_e]&&j.push(i[_e])}return j},[]).join(" ")}),a}const defaultGenerator=o=>o,createClassNameGenerator=()=>{let o=defaultGenerator;return{configure(s){o=s},generate(s){return o(s)},reset(){o=defaultGenerator}}},ClassNameGenerator=createClassNameGenerator(),ClassNameGenerator$1=ClassNameGenerator,globalStateClasses={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 generateUtilityClass$1(o,s,i="Mui"){const a=globalStateClasses[s];return a?`${i}-${a}`:`${ClassNameGenerator$1.generate(o)}-${s}`}function generateUtilityClasses$1(o,s,i="Mui"){const a={};return s.forEach($=>{a[$]=generateUtilityClass$1(o,$,i)}),a}function clamp(o,s=Number.MIN_SAFE_INTEGER,i=Number.MAX_SAFE_INTEGER){return Math.max(s,Math.min(o,i))}const _excluded$16=["values","unit","step"],sortBreakpointsValues=o=>{const s=Object.keys(o).map(i=>({key:i,val:o[i]}))||[];return s.sort((i,a)=>i.val-a.val),s.reduce((i,a)=>_extends({},i,{[a.key]:a.val}),{})};function createBreakpoints(o){const{values:s={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:i="px",step:a=5}=o,$=_objectWithoutPropertiesLoose(o,_excluded$16),j=sortBreakpointsValues(s),_e=Object.keys(j);function et(st){return`@media (min-width:${typeof s[st]=="number"?s[st]:st}${i})`}function tt(st){return`@media (max-width:${(typeof s[st]=="number"?s[st]:st)-a/100}${i})`}function rt(st,dt){const at=_e.indexOf(dt);return`@media (min-width:${typeof s[st]=="number"?s[st]:st}${i}) and (max-width:${(at!==-1&&typeof s[_e[at]]=="number"?s[_e[at]]:dt)-a/100}${i})`}function nt(st){return _e.indexOf(st)+1<_e.length?rt(st,_e[_e.indexOf(st)+1]):et(st)}function ot(st){const dt=_e.indexOf(st);return dt===0?et(_e[1]):dt===_e.length-1?tt(_e[dt]):rt(st,_e[_e.indexOf(st)+1]).replace("@media","@media not all and")}return _extends({keys:_e,values:j,up:et,down:tt,between:rt,only:nt,not:ot,unit:i},$)}const shape={borderRadius:4},shape$1=shape;function merge$1(o,s){return s?deepmerge(o,s,{clone:!1}):o}const values$1={xs:0,sm:600,md:900,lg:1200,xl:1536},defaultBreakpoints={keys:["xs","sm","md","lg","xl"],up:o=>`@media (min-width:${values$1[o]}px)`};function handleBreakpoints(o,s,i){const a=o.theme||{};if(Array.isArray(s)){const j=a.breakpoints||defaultBreakpoints;return s.reduce((_e,et,tt)=>(_e[j.up(j.keys[tt])]=i(s[tt]),_e),{})}if(typeof s=="object"){const j=a.breakpoints||defaultBreakpoints;return Object.keys(s).reduce((_e,et)=>{if(Object.keys(j.values||values$1).indexOf(et)!==-1){const tt=j.up(et);_e[tt]=i(s[et],et)}else{const tt=et;_e[tt]=s[tt]}return _e},{})}return i(s)}function createEmptyBreakpointObject(o={}){var s;return((s=o.keys)==null?void 0:s.reduce((a,$)=>{const j=o.up($);return a[j]={},a},{}))||{}}function removeUnusedBreakpoints(o,s){return o.reduce((i,a)=>{const $=i[a];return(!$||Object.keys($).length===0)&&delete i[a],i},s)}function mergeBreakpointsInOrder(o,...s){const i=createEmptyBreakpointObject(o),a=[i,...s].reduce(($,j)=>deepmerge($,j),{});return removeUnusedBreakpoints(Object.keys(i),a)}function computeBreakpointsBase(o,s){if(typeof o!="object")return{};const i={},a=Object.keys(s);return Array.isArray(o)?a.forEach(($,j)=>{j{o[$]!=null&&(i[$]=!0)}),i}function resolveBreakpointValues({values:o,breakpoints:s,base:i}){const a=i||computeBreakpointsBase(o,s),$=Object.keys(a);if($.length===0)return o;let j;return $.reduce((_e,et,tt)=>(Array.isArray(o)?(_e[et]=o[tt]!=null?o[tt]:o[j],j=tt):typeof o=="object"?(_e[et]=o[et]!=null?o[et]:o[j],j=et):_e[et]=o,_e),{})}function getPath(o,s,i=!0){if(!s||typeof s!="string")return null;if(o&&o.vars&&i){const a=`vars.${s}`.split(".").reduce(($,j)=>$&&$[j]?$[j]:null,o);if(a!=null)return a}return s.split(".").reduce((a,$)=>a&&a[$]!=null?a[$]:null,o)}function getStyleValue$1(o,s,i,a=i){let $;return typeof o=="function"?$=o(i):Array.isArray(o)?$=o[i]||a:$=getPath(o,i)||a,s&&($=s($,a,o)),$}function style$2(o){const{prop:s,cssProperty:i=o.prop,themeKey:a,transform:$}=o,j=_e=>{if(_e[s]==null)return null;const et=_e[s],tt=_e.theme,rt=getPath(tt,a)||{};return handleBreakpoints(_e,et,ot=>{let st=getStyleValue$1(rt,$,ot);return ot===st&&typeof ot=="string"&&(st=getStyleValue$1(rt,$,`${s}${ot==="default"?"":capitalize(ot)}`,ot)),i===!1?st:{[i]:st}})};return j.propTypes={},j.filterProps=[s],j}function memoize(o){const s={};return i=>(s[i]===void 0&&(s[i]=o(i)),s[i])}const properties={m:"margin",p:"padding"},directions={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},aliases={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},getCssProperties=memoize(o=>{if(o.length>2)if(aliases[o])o=aliases[o];else return[o];const[s,i]=o.split(""),a=properties[s],$=directions[i]||"";return Array.isArray($)?$.map(j=>a+j):[a+$]}),marginKeys=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],paddingKeys=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...marginKeys,...paddingKeys];function createUnaryUnit(o,s,i,a){var $;const j=($=getPath(o,s,!1))!=null?$:i;return typeof j=="number"?_e=>typeof _e=="string"?_e:j*_e:Array.isArray(j)?_e=>typeof _e=="string"?_e:j[_e]:typeof j=="function"?j:()=>{}}function createUnarySpacing(o){return createUnaryUnit(o,"spacing",8)}function getValue(o,s){if(typeof s=="string"||s==null)return s;const i=Math.abs(s),a=o(i);return s>=0?a:typeof a=="number"?-a:`-${a}`}function getStyleFromPropValue(o,s){return i=>o.reduce((a,$)=>(a[$]=getValue(s,i),a),{})}function resolveCssProperty(o,s,i,a){if(s.indexOf(i)===-1)return null;const $=getCssProperties(i),j=getStyleFromPropValue($,a),_e=o[i];return handleBreakpoints(o,_e,j)}function style$1(o,s){const i=createUnarySpacing(o.theme);return Object.keys(o).map(a=>resolveCssProperty(o,s,a,i)).reduce(merge$1,{})}function margin(o){return style$1(o,marginKeys)}margin.propTypes={};margin.filterProps=marginKeys;function padding(o){return style$1(o,paddingKeys)}padding.propTypes={};padding.filterProps=paddingKeys;function createSpacing(o=8){if(o.mui)return o;const s=createUnarySpacing({spacing:o}),i=(...a)=>(a.length===0?[1]:a).map(j=>{const _e=s(j);return typeof _e=="number"?`${_e}px`:_e}).join(" ");return i.mui=!0,i}function compose(...o){const s=o.reduce((a,$)=>($.filterProps.forEach(j=>{a[j]=$}),a),{}),i=a=>Object.keys(a).reduce(($,j)=>s[j]?merge$1($,s[j](a)):$,{});return i.propTypes={},i.filterProps=o.reduce((a,$)=>a.concat($.filterProps),[]),i}function borderTransform(o){return typeof o!="number"?o:`${o}px solid`}function createBorderStyle(o,s){return style$2({prop:o,themeKey:"borders",transform:s})}const border=createBorderStyle("border",borderTransform),borderTop=createBorderStyle("borderTop",borderTransform),borderRight=createBorderStyle("borderRight",borderTransform),borderBottom=createBorderStyle("borderBottom",borderTransform),borderLeft=createBorderStyle("borderLeft",borderTransform),borderColor=createBorderStyle("borderColor"),borderTopColor=createBorderStyle("borderTopColor"),borderRightColor=createBorderStyle("borderRightColor"),borderBottomColor=createBorderStyle("borderBottomColor"),borderLeftColor=createBorderStyle("borderLeftColor"),outline=createBorderStyle("outline",borderTransform),outlineColor=createBorderStyle("outlineColor"),borderRadius=o=>{if(o.borderRadius!==void 0&&o.borderRadius!==null){const s=createUnaryUnit(o.theme,"shape.borderRadius",4),i=a=>({borderRadius:getValue(s,a)});return handleBreakpoints(o,o.borderRadius,i)}return null};borderRadius.propTypes={};borderRadius.filterProps=["borderRadius"];compose(border,borderTop,borderRight,borderBottom,borderLeft,borderColor,borderTopColor,borderRightColor,borderBottomColor,borderLeftColor,borderRadius,outline,outlineColor);const gap=o=>{if(o.gap!==void 0&&o.gap!==null){const s=createUnaryUnit(o.theme,"spacing",8),i=a=>({gap:getValue(s,a)});return handleBreakpoints(o,o.gap,i)}return null};gap.propTypes={};gap.filterProps=["gap"];const columnGap=o=>{if(o.columnGap!==void 0&&o.columnGap!==null){const s=createUnaryUnit(o.theme,"spacing",8),i=a=>({columnGap:getValue(s,a)});return handleBreakpoints(o,o.columnGap,i)}return null};columnGap.propTypes={};columnGap.filterProps=["columnGap"];const rowGap=o=>{if(o.rowGap!==void 0&&o.rowGap!==null){const s=createUnaryUnit(o.theme,"spacing",8),i=a=>({rowGap:getValue(s,a)});return handleBreakpoints(o,o.rowGap,i)}return null};rowGap.propTypes={};rowGap.filterProps=["rowGap"];const gridColumn=style$2({prop:"gridColumn"}),gridRow=style$2({prop:"gridRow"}),gridAutoFlow=style$2({prop:"gridAutoFlow"}),gridAutoColumns=style$2({prop:"gridAutoColumns"}),gridAutoRows=style$2({prop:"gridAutoRows"}),gridTemplateColumns=style$2({prop:"gridTemplateColumns"}),gridTemplateRows=style$2({prop:"gridTemplateRows"}),gridTemplateAreas=style$2({prop:"gridTemplateAreas"}),gridArea=style$2({prop:"gridArea"});compose(gap,columnGap,rowGap,gridColumn,gridRow,gridAutoFlow,gridAutoColumns,gridAutoRows,gridTemplateColumns,gridTemplateRows,gridTemplateAreas,gridArea);function paletteTransform(o,s){return s==="grey"?s:o}const color=style$2({prop:"color",themeKey:"palette",transform:paletteTransform}),bgcolor=style$2({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:paletteTransform}),backgroundColor=style$2({prop:"backgroundColor",themeKey:"palette",transform:paletteTransform});compose(color,bgcolor,backgroundColor);function sizingTransform(o){return o<=1&&o!==0?`${o*100}%`:o}const width=style$2({prop:"width",transform:sizingTransform}),maxWidth=o=>{if(o.maxWidth!==void 0&&o.maxWidth!==null){const s=i=>{var a,$;const j=((a=o.theme)==null||(a=a.breakpoints)==null||(a=a.values)==null?void 0:a[i])||values$1[i];return j?(($=o.theme)==null||($=$.breakpoints)==null?void 0:$.unit)!=="px"?{maxWidth:`${j}${o.theme.breakpoints.unit}`}:{maxWidth:j}:{maxWidth:sizingTransform(i)}};return handleBreakpoints(o,o.maxWidth,s)}return null};maxWidth.filterProps=["maxWidth"];const minWidth=style$2({prop:"minWidth",transform:sizingTransform}),height=style$2({prop:"height",transform:sizingTransform}),maxHeight=style$2({prop:"maxHeight",transform:sizingTransform}),minHeight=style$2({prop:"minHeight",transform:sizingTransform});style$2({prop:"size",cssProperty:"width",transform:sizingTransform});style$2({prop:"size",cssProperty:"height",transform:sizingTransform});const boxSizing=style$2({prop:"boxSizing"});compose(width,maxWidth,minWidth,height,maxHeight,minHeight,boxSizing);const defaultSxConfig={border:{themeKey:"borders",transform:borderTransform},borderTop:{themeKey:"borders",transform:borderTransform},borderRight:{themeKey:"borders",transform:borderTransform},borderBottom:{themeKey:"borders",transform:borderTransform},borderLeft:{themeKey:"borders",transform:borderTransform},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:borderTransform},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:borderRadius},color:{themeKey:"palette",transform:paletteTransform},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:paletteTransform},backgroundColor:{themeKey:"palette",transform:paletteTransform},p:{style:padding},pt:{style:padding},pr:{style:padding},pb:{style:padding},pl:{style:padding},px:{style:padding},py:{style:padding},padding:{style:padding},paddingTop:{style:padding},paddingRight:{style:padding},paddingBottom:{style:padding},paddingLeft:{style:padding},paddingX:{style:padding},paddingY:{style:padding},paddingInline:{style:padding},paddingInlineStart:{style:padding},paddingInlineEnd:{style:padding},paddingBlock:{style:padding},paddingBlockStart:{style:padding},paddingBlockEnd:{style:padding},m:{style:margin},mt:{style:margin},mr:{style:margin},mb:{style:margin},ml:{style:margin},mx:{style:margin},my:{style:margin},margin:{style:margin},marginTop:{style:margin},marginRight:{style:margin},marginBottom:{style:margin},marginLeft:{style:margin},marginX:{style:margin},marginY:{style:margin},marginInline:{style:margin},marginInlineStart:{style:margin},marginInlineEnd:{style:margin},marginBlock:{style:margin},marginBlockStart:{style:margin},marginBlockEnd:{style:margin},displayPrint:{cssProperty:!1,transform:o=>({"@media print":{display:o}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:gap},rowGap:{style:rowGap},columnGap:{style:columnGap},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:sizingTransform},maxWidth:{style:maxWidth},minWidth:{transform:sizingTransform},height:{transform:sizingTransform},maxHeight:{transform:sizingTransform},minHeight:{transform:sizingTransform},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},defaultSxConfig$1=defaultSxConfig;function objectsHaveSameKeys(...o){const s=o.reduce((a,$)=>a.concat(Object.keys($)),[]),i=new Set(s);return o.every(a=>i.size===Object.keys(a).length)}function callIfFn(o,s){return typeof o=="function"?o(s):o}function unstable_createStyleFunctionSx(){function o(i,a,$,j){const _e={[i]:a,theme:$},et=j[i];if(!et)return{[i]:a};const{cssProperty:tt=i,themeKey:rt,transform:nt,style:ot}=et;if(a==null)return null;if(rt==="typography"&&a==="inherit")return{[i]:a};const st=getPath($,rt)||{};return ot?ot(_e):handleBreakpoints(_e,a,at=>{let it=getStyleValue$1(st,nt,at);return at===it&&typeof at=="string"&&(it=getStyleValue$1(st,nt,`${i}${at==="default"?"":capitalize(at)}`,at)),tt===!1?it:{[tt]:it}})}function s(i){var a;const{sx:$,theme:j={}}=i||{};if(!$)return null;const _e=(a=j.unstable_sxConfig)!=null?a:defaultSxConfig$1;function et(tt){let rt=tt;if(typeof tt=="function")rt=tt(j);else if(typeof tt!="object")return tt;if(!rt)return null;const nt=createEmptyBreakpointObject(j.breakpoints),ot=Object.keys(nt);let st=nt;return Object.keys(rt).forEach(dt=>{const at=callIfFn(rt[dt],j);if(at!=null)if(typeof at=="object")if(_e[dt])st=merge$1(st,o(dt,at,j,_e));else{const it=handleBreakpoints({theme:j},at,ft=>({[dt]:ft}));objectsHaveSameKeys(it,at)?st[dt]=s({sx:at,theme:j}):st=merge$1(st,it)}else st=merge$1(st,o(dt,at,j,_e))}),removeUnusedBreakpoints(ot,st)}return Array.isArray($)?$.map(et):et($)}return s}const styleFunctionSx=unstable_createStyleFunctionSx();styleFunctionSx.filterProps=["sx"];const _excluded$15=["breakpoints","palette","spacing","shape"];function createTheme$1(o={},...s){const{breakpoints:i={},palette:a={},spacing:$,shape:j={}}=o,_e=_objectWithoutPropertiesLoose(o,_excluded$15),et=createBreakpoints(i),tt=createSpacing($);let rt=deepmerge({breakpoints:et,direction:"ltr",components:{},palette:_extends({mode:"light"},a),spacing:tt,shape:_extends({},shape$1,j)},_e);return rt=s.reduce((nt,ot)=>deepmerge(nt,ot),rt),rt.unstable_sxConfig=_extends({},defaultSxConfig$1,_e==null?void 0:_e.unstable_sxConfig),rt.unstable_sx=function(ot){return styleFunctionSx({sx:ot,theme:this})},rt}function isObjectEmpty(o){return Object.keys(o).length===0}function useTheme$3(o=null){const s=reactExports.useContext(ThemeContext$2);return!s||isObjectEmpty(s)?o:s}const systemDefaultTheme$1=createTheme$1();function useTheme$2(o=systemDefaultTheme$1){return useTheme$3(o)}function GlobalStyles$1({styles:o,themeId:s,defaultTheme:i={}}){const a=useTheme$2(i),$=typeof o=="function"?o(s&&a[s]||a):o;return jsxRuntimeExports.jsx(GlobalStyles$2,{styles:$})}const _excluded$14=["sx"],splitProps=o=>{var s,i;const a={systemProps:{},otherProps:{}},$=(s=o==null||(i=o.theme)==null?void 0:i.unstable_sxConfig)!=null?s:defaultSxConfig$1;return Object.keys(o).forEach(j=>{$[j]?a.systemProps[j]=o[j]:a.otherProps[j]=o[j]}),a};function extendSxProp(o){const{sx:s}=o,i=_objectWithoutPropertiesLoose(o,_excluded$14),{systemProps:a,otherProps:$}=splitProps(i);let j;return Array.isArray(s)?j=[a,...s]:typeof s=="function"?j=(..._e)=>{const et=s(..._e);return isPlainObject$1(et)?_extends({},a,et):a}:j=_extends({},a,s),_extends({},$,{sx:j})}function r(o){var s,i,a="";if(typeof o=="string"||typeof o=="number")a+=o;else if(typeof o=="object")if(Array.isArray(o)){var $=o.length;for(s=0;s<$;s++)o[s]&&(i=r(o[s]))&&(a&&(a+=" "),a+=i)}else for(i in o)o[i]&&(a&&(a+=" "),a+=i);return a}function clsx(){for(var o,s,i=0,a="",$=arguments.length;i<$;i++)(o=arguments[i])&&(s=r(o))&&(a&&(a+=" "),a+=s);return a}const _excluded$13=["className","component"];function createBox(o={}){const{themeId:s,defaultTheme:i,defaultClassName:a="MuiBox-root",generateClassName:$}=o,j=styled$2("div",{shouldForwardProp:et=>et!=="theme"&&et!=="sx"&&et!=="as"})(styleFunctionSx);return reactExports.forwardRef(function(tt,rt){const nt=useTheme$2(i),ot=extendSxProp(tt),{className:st,component:dt="div"}=ot,at=_objectWithoutPropertiesLoose(ot,_excluded$13);return jsxRuntimeExports.jsx(j,_extends({as:dt,ref:rt,className:clsx(st,$?$(a):a),theme:s&&nt[s]||nt},at))})}const _excluded$12=["variant"];function isEmpty$3(o){return o.length===0}function propsToClassKey(o){const{variant:s}=o,i=_objectWithoutPropertiesLoose(o,_excluded$12);let a=s||"";return Object.keys(i).sort().forEach($=>{$==="color"?a+=isEmpty$3(a)?o[$]:capitalize(o[$]):a+=`${isEmpty$3(a)?$:capitalize($)}${capitalize(o[$].toString())}`}),a}const _excluded$11=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function isEmpty$2(o){return Object.keys(o).length===0}function isStringTag(o){return typeof o=="string"&&o.charCodeAt(0)>96}const getStyleOverrides=(o,s)=>s.components&&s.components[o]&&s.components[o].styleOverrides?s.components[o].styleOverrides:null,transformVariants=o=>{let s=0;const i={};return o&&o.forEach(a=>{let $="";typeof a.props=="function"?($=`callback${s}`,s+=1):$=propsToClassKey(a.props),i[$]=a.style}),i},getVariantStyles=(o,s)=>{let i=[];return s&&s.components&&s.components[o]&&s.components[o].variants&&(i=s.components[o].variants),transformVariants(i)},variantsResolver=(o,s,i)=>{const{ownerState:a={}}=o,$=[];let j=0;return i&&i.forEach(_e=>{let et=!0;if(typeof _e.props=="function"){const tt=_extends({},o,a);et=_e.props(tt)}else Object.keys(_e.props).forEach(tt=>{a[tt]!==_e.props[tt]&&o[tt]!==_e.props[tt]&&(et=!1)});et&&(typeof _e.props=="function"?$.push(s[`callback${j}`]):$.push(s[propsToClassKey(_e.props)])),typeof _e.props=="function"&&(j+=1)}),$},themeVariantsResolver=(o,s,i,a)=>{var $;const j=i==null||($=i.components)==null||($=$[a])==null?void 0:$.variants;return variantsResolver(o,s,j)};function shouldForwardProp(o){return o!=="ownerState"&&o!=="theme"&&o!=="sx"&&o!=="as"}const systemDefaultTheme=createTheme$1(),lowercaseFirstLetter=o=>o&&o.charAt(0).toLowerCase()+o.slice(1);function resolveTheme({defaultTheme:o,theme:s,themeId:i}){return isEmpty$2(s)?o:s[i]||s}function defaultOverridesResolver(o){return o?(s,i)=>i[o]:null}const muiStyledFunctionResolver=({styledArg:o,props:s,defaultTheme:i,themeId:a})=>{const $=o(_extends({},s,{theme:resolveTheme(_extends({},s,{defaultTheme:i,themeId:a}))}));let j;if($&&$.variants&&(j=$.variants,delete $.variants),j){const _e=variantsResolver(s,transformVariants(j),j);return[$,..._e]}return $};function createStyled(o={}){const{themeId:s,defaultTheme:i=systemDefaultTheme,rootShouldForwardProp:a=shouldForwardProp,slotShouldForwardProp:$=shouldForwardProp}=o,j=_e=>styleFunctionSx(_extends({},_e,{theme:resolveTheme(_extends({},_e,{defaultTheme:i,themeId:s}))}));return j.__mui_systemSx=!0,(_e,et={})=>{internal_processStyles(_e,pt=>pt.filter(ht=>!(ht!=null&&ht.__mui_systemSx)));const{name:tt,slot:rt,skipVariantsResolver:nt,skipSx:ot,overridesResolver:st=defaultOverridesResolver(lowercaseFirstLetter(rt))}=et,dt=_objectWithoutPropertiesLoose(et,_excluded$11),at=nt!==void 0?nt:rt&&rt!=="Root"&&rt!=="root"||!1,it=ot||!1;let ft,ct=shouldForwardProp;rt==="Root"||rt==="root"?ct=a:rt?ct=$:isStringTag(_e)&&(ct=void 0);const ut=styled$2(_e,_extends({shouldForwardProp:ct,label:ft},dt)),lt=(pt,...ht)=>{const gt=ht?ht.map(yt=>{if(typeof yt=="function"&&yt.__emotion_real!==yt)return Et=>muiStyledFunctionResolver({styledArg:yt,props:Et,defaultTheme:i,themeId:s});if(isPlainObject$1(yt)){let Et=yt,kt;return yt&&yt.variants&&(kt=yt.variants,delete Et.variants,Et=$t=>{let St=yt;return variantsResolver($t,transformVariants(kt),kt).forEach(Pt=>{St=deepmerge(St,Pt)}),St}),Et}return yt}):[];let mt=pt;if(isPlainObject$1(pt)){let yt;pt&&pt.variants&&(yt=pt.variants,delete mt.variants,mt=Et=>{let kt=pt;return variantsResolver(Et,transformVariants(yt),yt).forEach(St=>{kt=deepmerge(kt,St)}),kt})}else typeof pt=="function"&&pt.__emotion_real!==pt&&(mt=yt=>muiStyledFunctionResolver({styledArg:pt,props:yt,defaultTheme:i,themeId:s}));tt&&st&>.push(yt=>{const Et=resolveTheme(_extends({},yt,{defaultTheme:i,themeId:s})),kt=getStyleOverrides(tt,Et);if(kt){const $t={};return Object.entries(kt).forEach(([St,Rt])=>{$t[St]=typeof Rt=="function"?Rt(_extends({},yt,{theme:Et})):Rt}),st(yt,$t)}return null}),tt&&!at&>.push(yt=>{const Et=resolveTheme(_extends({},yt,{defaultTheme:i,themeId:s}));return themeVariantsResolver(yt,getVariantStyles(tt,Et),Et,tt)}),it||gt.push(j);const xt=gt.length-ht.length;if(Array.isArray(pt)&&xt>0){const yt=new Array(xt).fill("");mt=[...pt,...yt],mt.raw=[...pt.raw,...yt]}const Ct=ut(mt,...gt);return _e.muiName&&(Ct.muiName=_e.muiName),Ct};return ut.withConfig&&(lt.withConfig=ut.withConfig),lt}}const styled$1=createStyled();function getThemeProps(o){const{theme:s,name:i,props:a}=o;return!s||!s.components||!s.components[i]||!s.components[i].defaultProps?a:resolveProps(s.components[i].defaultProps,a)}function useThemeProps$1({props:o,name:s,defaultTheme:i,themeId:a}){let $=useTheme$2(i);return a&&($=$[a]||$),getThemeProps({theme:$,name:s,props:o})}function clampWrapper(o,s=0,i=1){return clamp(o,s,i)}function hexToRgb(o){o=o.slice(1);const s=new RegExp(`.{1,${o.length>=6?2:1}}`,"g");let i=o.match(s);return i&&i[0].length===1&&(i=i.map(a=>a+a)),i?`rgb${i.length===4?"a":""}(${i.map((a,$)=>$<3?parseInt(a,16):Math.round(parseInt(a,16)/255*1e3)/1e3).join(", ")})`:""}function decomposeColor(o){if(o.type)return o;if(o.charAt(0)==="#")return decomposeColor(hexToRgb(o));const s=o.indexOf("("),i=o.substring(0,s);if(["rgb","rgba","hsl","hsla","color"].indexOf(i)===-1)throw new Error(formatMuiErrorMessage(9,o));let a=o.substring(s+1,o.length-1),$;if(i==="color"){if(a=a.split(" "),$=a.shift(),a.length===4&&a[3].charAt(0)==="/"&&(a[3]=a[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf($)===-1)throw new Error(formatMuiErrorMessage(10,$))}else a=a.split(",");return a=a.map(j=>parseFloat(j)),{type:i,values:a,colorSpace:$}}function recomposeColor(o){const{type:s,colorSpace:i}=o;let{values:a}=o;return s.indexOf("rgb")!==-1?a=a.map(($,j)=>j<3?parseInt($,10):$):s.indexOf("hsl")!==-1&&(a[1]=`${a[1]}%`,a[2]=`${a[2]}%`),s.indexOf("color")!==-1?a=`${i} ${a.join(" ")}`:a=`${a.join(", ")}`,`${s}(${a})`}function hslToRgb(o){o=decomposeColor(o);const{values:s}=o,i=s[0],a=s[1]/100,$=s[2]/100,j=a*Math.min($,1-$),_e=(rt,nt=(rt+i/30)%12)=>$-j*Math.max(Math.min(nt-3,9-nt,1),-1);let et="rgb";const tt=[Math.round(_e(0)*255),Math.round(_e(8)*255),Math.round(_e(4)*255)];return o.type==="hsla"&&(et+="a",tt.push(s[3])),recomposeColor({type:et,values:tt})}function getLuminance(o){o=decomposeColor(o);let s=o.type==="hsl"||o.type==="hsla"?decomposeColor(hslToRgb(o)).values:o.values;return s=s.map(i=>(o.type!=="color"&&(i/=255),i<=.03928?i/12.92:((i+.055)/1.055)**2.4)),Number((.2126*s[0]+.7152*s[1]+.0722*s[2]).toFixed(3))}function getContrastRatio(o,s){const i=getLuminance(o),a=getLuminance(s);return(Math.max(i,a)+.05)/(Math.min(i,a)+.05)}function alpha(o,s){return o=decomposeColor(o),s=clampWrapper(s),(o.type==="rgb"||o.type==="hsl")&&(o.type+="a"),o.type==="color"?o.values[3]=`/${s}`:o.values[3]=s,recomposeColor(o)}function darken(o,s){if(o=decomposeColor(o),s=clampWrapper(s),o.type.indexOf("hsl")!==-1)o.values[2]*=1-s;else if(o.type.indexOf("rgb")!==-1||o.type.indexOf("color")!==-1)for(let i=0;i<3;i+=1)o.values[i]*=1-s;return recomposeColor(o)}function lighten(o,s){if(o=decomposeColor(o),s=clampWrapper(s),o.type.indexOf("hsl")!==-1)o.values[2]+=(100-o.values[2])*s;else if(o.type.indexOf("rgb")!==-1)for(let i=0;i<3;i+=1)o.values[i]+=(255-o.values[i])*s;else if(o.type.indexOf("color")!==-1)for(let i=0;i<3;i+=1)o.values[i]+=(1-o.values[i])*s;return recomposeColor(o)}const ThemeContext=reactExports.createContext(null),ThemeContext$1=ThemeContext;function useTheme$1(){return reactExports.useContext(ThemeContext$1)}const hasSymbol=typeof Symbol=="function"&&Symbol.for,nested=hasSymbol?Symbol.for("mui.nested"):"__THEME_NESTED__";function mergeOuterLocalTheme(o,s){return typeof s=="function"?s(o):_extends({},o,s)}function ThemeProvider$2(o){const{children:s,theme:i}=o,a=useTheme$1(),$=reactExports.useMemo(()=>{const j=a===null?i:mergeOuterLocalTheme(a,i);return j!=null&&(j[nested]=a!==null),j},[i,a]);return jsxRuntimeExports.jsx(ThemeContext$1.Provider,{value:$,children:s})}const EMPTY_THEME={};function useThemeScoping(o,s,i,a=!1){return reactExports.useMemo(()=>{const $=o&&s[o]||s;if(typeof i=="function"){const j=i($),_e=o?_extends({},s,{[o]:j}):j;return a?()=>_e:_e}return o?_extends({},s,{[o]:i}):_extends({},s,i)},[o,s,i,a])}function ThemeProvider$1(o){const{children:s,theme:i,themeId:a}=o,$=useTheme$3(EMPTY_THEME),j=useTheme$1()||EMPTY_THEME,_e=useThemeScoping(a,$,i),et=useThemeScoping(a,j,i,!0);return jsxRuntimeExports.jsx(ThemeProvider$2,{theme:et,children:jsxRuntimeExports.jsx(ThemeContext$2.Provider,{value:_e,children:s})})}const _excluded$10=["component","direction","spacing","divider","children","className","useFlexGap"],defaultTheme$3=createTheme$1(),defaultCreateStyledComponent=styled$1("div",{name:"MuiStack",slot:"Root",overridesResolver:(o,s)=>s.root});function useThemePropsDefault(o){return useThemeProps$1({props:o,name:"MuiStack",defaultTheme:defaultTheme$3})}function joinChildren(o,s){const i=reactExports.Children.toArray(o).filter(Boolean);return i.reduce((a,$,j)=>(a.push($),j({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[o],style=({ownerState:o,theme:s})=>{let i=_extends({display:"flex",flexDirection:"column"},handleBreakpoints({theme:s},resolveBreakpointValues({values:o.direction,breakpoints:s.breakpoints.values}),a=>({flexDirection:a})));if(o.spacing){const a=createUnarySpacing(s),$=Object.keys(s.breakpoints.values).reduce((tt,rt)=>((typeof o.spacing=="object"&&o.spacing[rt]!=null||typeof o.direction=="object"&&o.direction[rt]!=null)&&(tt[rt]=!0),tt),{}),j=resolveBreakpointValues({values:o.direction,base:$}),_e=resolveBreakpointValues({values:o.spacing,base:$});typeof j=="object"&&Object.keys(j).forEach((tt,rt,nt)=>{if(!j[tt]){const st=rt>0?j[nt[rt-1]]:"column";j[tt]=st}}),i=deepmerge(i,handleBreakpoints({theme:s},_e,(tt,rt)=>o.useFlexGap?{gap:getValue(a,tt)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${getSideFromDirection(rt?j[rt]:o.direction)}`]:getValue(a,tt)}}))}return i=mergeBreakpointsInOrder(s.breakpoints,i),i};function createStack(o={}){const{createStyledComponent:s=defaultCreateStyledComponent,useThemeProps:i=useThemePropsDefault,componentName:a="MuiStack"}=o,$=()=>composeClasses({root:["root"]},tt=>generateUtilityClass$1(a,tt),{}),j=s(style);return reactExports.forwardRef(function(tt,rt){const nt=i(tt),ot=extendSxProp(nt),{component:st="div",direction:dt="column",spacing:at=0,divider:it,children:ft,className:ct,useFlexGap:ut=!1}=ot,lt=_objectWithoutPropertiesLoose(ot,_excluded$10),pt={direction:dt,spacing:at,useFlexGap:ut},ht=$();return jsxRuntimeExports.jsx(j,_extends({as:st,ownerState:pt,ref:rt,className:clsx(ht.root,ct)},lt,{children:it?joinChildren(ft,it):ft}))})}function createMixins(o,s){return _extends({toolbar:{minHeight:56,[o.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[o.up("sm")]:{minHeight:64}}},s)}const _excluded$$=["mode","contrastThreshold","tonalOffset"],light={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:common$1.white,default:common$1.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}},dark={text:{primary:common$1.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:common$1.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 addLightOrDark(o,s,i,a){const $=a.light||a,j=a.dark||a*1.5;o[s]||(o.hasOwnProperty(i)?o[s]=o[i]:s==="light"?o.light=lighten(o.main,$):s==="dark"&&(o.dark=darken(o.main,j)))}function getDefaultPrimary(o="light"){return o==="dark"?{main:blue$1[200],light:blue$1[50],dark:blue$1[400]}:{main:blue$1[700],light:blue$1[400],dark:blue$1[800]}}function getDefaultSecondary(o="light"){return o==="dark"?{main:purple$1[200],light:purple$1[50],dark:purple$1[400]}:{main:purple$1[500],light:purple$1[300],dark:purple$1[700]}}function getDefaultError(o="light"){return o==="dark"?{main:red$1[500],light:red$1[300],dark:red$1[700]}:{main:red$1[700],light:red$1[400],dark:red$1[800]}}function getDefaultInfo(o="light"){return o==="dark"?{main:lightBlue$1[400],light:lightBlue$1[300],dark:lightBlue$1[700]}:{main:lightBlue$1[700],light:lightBlue$1[500],dark:lightBlue$1[900]}}function getDefaultSuccess(o="light"){return o==="dark"?{main:green$1[400],light:green$1[300],dark:green$1[700]}:{main:green$1[800],light:green$1[500],dark:green$1[900]}}function getDefaultWarning(o="light"){return o==="dark"?{main:orange$1[400],light:orange$1[300],dark:orange$1[700]}:{main:"#ed6c02",light:orange$1[500],dark:orange$1[900]}}function createPalette(o){const{mode:s="light",contrastThreshold:i=3,tonalOffset:a=.2}=o,$=_objectWithoutPropertiesLoose(o,_excluded$$),j=o.primary||getDefaultPrimary(s),_e=o.secondary||getDefaultSecondary(s),et=o.error||getDefaultError(s),tt=o.info||getDefaultInfo(s),rt=o.success||getDefaultSuccess(s),nt=o.warning||getDefaultWarning(s);function ot(it){return getContrastRatio(it,dark.text.primary)>=i?dark.text.primary:light.text.primary}const st=({color:it,name:ft,mainShade:ct=500,lightShade:ut=300,darkShade:lt=700})=>{if(it=_extends({},it),!it.main&&it[ct]&&(it.main=it[ct]),!it.hasOwnProperty("main"))throw new Error(formatMuiErrorMessage(11,ft?` (${ft})`:"",ct));if(typeof it.main!="string")throw new Error(formatMuiErrorMessage(12,ft?` (${ft})`:"",JSON.stringify(it.main)));return addLightOrDark(it,"light",ut,a),addLightOrDark(it,"dark",lt,a),it.contrastText||(it.contrastText=ot(it.main)),it},dt={dark,light};return deepmerge(_extends({common:_extends({},common$1),mode:s,primary:st({color:j,name:"primary"}),secondary:st({color:_e,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:st({color:et,name:"error"}),warning:st({color:nt,name:"warning"}),info:st({color:tt,name:"info"}),success:st({color:rt,name:"success"}),grey:grey$1,contrastThreshold:i,getContrastText:ot,augmentColor:st,tonalOffset:a},dt[s]),$)}const _excluded$_=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function round$2(o){return Math.round(o*1e5)/1e5}const caseAllCaps={textTransform:"uppercase"},defaultFontFamily='"Roboto", "Helvetica", "Arial", sans-serif';function createTypography(o,s){const i=typeof s=="function"?s(o):s,{fontFamily:a=defaultFontFamily,fontSize:$=14,fontWeightLight:j=300,fontWeightRegular:_e=400,fontWeightMedium:et=500,fontWeightBold:tt=700,htmlFontSize:rt=16,allVariants:nt,pxToRem:ot}=i,st=_objectWithoutPropertiesLoose(i,_excluded$_),dt=$/14,at=ot||(ct=>`${ct/rt*dt}rem`),it=(ct,ut,lt,pt,ht)=>_extends({fontFamily:a,fontWeight:ct,fontSize:at(ut),lineHeight:lt},a===defaultFontFamily?{letterSpacing:`${round$2(pt/ut)}em`}:{},ht,nt),ft={h1:it(j,96,1.167,-1.5),h2:it(j,60,1.2,-.5),h3:it(_e,48,1.167,0),h4:it(_e,34,1.235,.25),h5:it(_e,24,1.334,0),h6:it(et,20,1.6,.15),subtitle1:it(_e,16,1.75,.15),subtitle2:it(et,14,1.57,.1),body1:it(_e,16,1.5,.15),body2:it(_e,14,1.43,.15),button:it(et,14,1.75,.4,caseAllCaps),caption:it(_e,12,1.66,.4),overline:it(_e,12,2.66,1,caseAllCaps),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return deepmerge(_extends({htmlFontSize:rt,pxToRem:at,fontFamily:a,fontSize:$,fontWeightLight:j,fontWeightRegular:_e,fontWeightMedium:et,fontWeightBold:tt},ft),st,{clone:!1})}const shadowKeyUmbraOpacity=.2,shadowKeyPenumbraOpacity=.14,shadowAmbientShadowOpacity=.12;function createShadow(...o){return[`${o[0]}px ${o[1]}px ${o[2]}px ${o[3]}px rgba(0,0,0,${shadowKeyUmbraOpacity})`,`${o[4]}px ${o[5]}px ${o[6]}px ${o[7]}px rgba(0,0,0,${shadowKeyPenumbraOpacity})`,`${o[8]}px ${o[9]}px ${o[10]}px ${o[11]}px rgba(0,0,0,${shadowAmbientShadowOpacity})`].join(",")}const shadows=["none",createShadow(0,2,1,-1,0,1,1,0,0,1,3,0),createShadow(0,3,1,-2,0,2,2,0,0,1,5,0),createShadow(0,3,3,-2,0,3,4,0,0,1,8,0),createShadow(0,2,4,-1,0,4,5,0,0,1,10,0),createShadow(0,3,5,-1,0,5,8,0,0,1,14,0),createShadow(0,3,5,-1,0,6,10,0,0,1,18,0),createShadow(0,4,5,-2,0,7,10,1,0,2,16,1),createShadow(0,5,5,-3,0,8,10,1,0,3,14,2),createShadow(0,5,6,-3,0,9,12,1,0,3,16,2),createShadow(0,6,6,-3,0,10,14,1,0,4,18,3),createShadow(0,6,7,-4,0,11,15,1,0,4,20,3),createShadow(0,7,8,-4,0,12,17,2,0,5,22,4),createShadow(0,7,8,-4,0,13,19,2,0,5,24,4),createShadow(0,7,9,-4,0,14,21,2,0,5,26,4),createShadow(0,8,9,-5,0,15,22,2,0,6,28,5),createShadow(0,8,10,-5,0,16,24,2,0,6,30,5),createShadow(0,8,11,-5,0,17,26,2,0,6,32,5),createShadow(0,9,11,-5,0,18,28,2,0,7,34,6),createShadow(0,9,12,-6,0,19,29,2,0,7,36,6),createShadow(0,10,13,-6,0,20,31,3,0,8,38,7),createShadow(0,10,13,-6,0,21,33,3,0,8,40,7),createShadow(0,10,14,-6,0,22,35,3,0,8,42,7),createShadow(0,11,14,-7,0,23,36,3,0,9,44,8),createShadow(0,11,15,-7,0,24,38,3,0,9,46,8)],_excluded$Z=["duration","easing","delay"],easing={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)"},duration={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function formatMs(o){return`${Math.round(o)}ms`}function getAutoHeightDuration(o){if(!o)return 0;const s=o/36;return Math.round((4+15*s**.25+s/5)*10)}function createTransitions(o){const s=_extends({},easing,o.easing),i=_extends({},duration,o.duration);return _extends({getAutoHeightDuration,create:($=["all"],j={})=>{const{duration:_e=i.standard,easing:et=s.easeInOut,delay:tt=0}=j;return _objectWithoutPropertiesLoose(j,_excluded$Z),(Array.isArray($)?$:[$]).map(rt=>`${rt} ${typeof _e=="string"?_e:formatMs(_e)} ${et} ${typeof tt=="string"?tt:formatMs(tt)}`).join(",")}},o,{easing:s,duration:i})}const zIndex={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},zIndex$1=zIndex,_excluded$Y=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function createTheme(o={},...s){const{mixins:i={},palette:a={},transitions:$={},typography:j={}}=o,_e=_objectWithoutPropertiesLoose(o,_excluded$Y);if(o.vars)throw new Error(formatMuiErrorMessage(18));const et=createPalette(a),tt=createTheme$1(o);let rt=deepmerge(tt,{mixins:createMixins(tt.breakpoints,i),palette:et,shadows:shadows.slice(),typography:createTypography(et,j),transitions:createTransitions($),zIndex:_extends({},zIndex$1)});return rt=deepmerge(rt,_e),rt=s.reduce((nt,ot)=>deepmerge(nt,ot),rt),rt.unstable_sxConfig=_extends({},defaultSxConfig$1,_e==null?void 0:_e.unstable_sxConfig),rt.unstable_sx=function(ot){return styleFunctionSx({sx:ot,theme:this})},rt}const defaultTheme$1=createTheme(),defaultTheme$2=defaultTheme$1;function useTheme(){const o=useTheme$2(defaultTheme$2);return o[THEME_ID]||o}function useThemeProps({props:o,name:s}){return useThemeProps$1({props:o,name:s,defaultTheme:defaultTheme$2,themeId:THEME_ID})}const rootShouldForwardProp=o=>shouldForwardProp(o)&&o!=="classes",slotShouldForwardProp=shouldForwardProp,styled=createStyled({themeId:THEME_ID,defaultTheme:defaultTheme$2,rootShouldForwardProp}),_excluded$X=["theme"];function ThemeProvider(o){let{theme:s}=o,i=_objectWithoutPropertiesLoose(o,_excluded$X);const a=s[THEME_ID];return jsxRuntimeExports.jsx(ThemeProvider$1,_extends({},i,{themeId:a?THEME_ID:void 0,theme:a||s}))}const getOverlayAlpha=o=>{let s;return o<1?s=5.11916*o**2:s=4.5*Math.log(o+1)+2,(s/100).toFixed(2)};function getSvgIconUtilityClass(o){return generateUtilityClass$1("MuiSvgIcon",o)}generateUtilityClasses$1("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _excluded$W=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],useUtilityClasses$M=o=>{const{color:s,fontSize:i,classes:a}=o,$={root:["root",s!=="inherit"&&`color${capitalize(s)}`,`fontSize${capitalize(i)}`]};return composeClasses($,getSvgIconUtilityClass,a)},SvgIconRoot=styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.color!=="inherit"&&s[`color${capitalize(i.color)}`],s[`fontSize${capitalize(i.fontSize)}`]]}})(({theme:o,ownerState:s})=>{var i,a,$,j,_e,et,tt,rt,nt,ot,st,dt,at;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:s.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(i=o.transitions)==null||(a=i.create)==null?void 0:a.call(i,"fill",{duration:($=o.transitions)==null||($=$.duration)==null?void 0:$.shorter}),fontSize:{inherit:"inherit",small:((j=o.typography)==null||(_e=j.pxToRem)==null?void 0:_e.call(j,20))||"1.25rem",medium:((et=o.typography)==null||(tt=et.pxToRem)==null?void 0:tt.call(et,24))||"1.5rem",large:((rt=o.typography)==null||(nt=rt.pxToRem)==null?void 0:nt.call(rt,35))||"2.1875rem"}[s.fontSize],color:(ot=(st=(o.vars||o).palette)==null||(st=st[s.color])==null?void 0:st.main)!=null?ot:{action:(dt=(o.vars||o).palette)==null||(dt=dt.action)==null?void 0:dt.active,disabled:(at=(o.vars||o).palette)==null||(at=at.action)==null?void 0:at.disabled,inherit:void 0}[s.color]}}),SvgIcon=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiSvgIcon"}),{children:$,className:j,color:_e="inherit",component:et="svg",fontSize:tt="medium",htmlColor:rt,inheritViewBox:nt=!1,titleAccess:ot,viewBox:st="0 0 24 24"}=a,dt=_objectWithoutPropertiesLoose(a,_excluded$W),at=reactExports.isValidElement($)&&$.type==="svg",it=_extends({},a,{color:_e,component:et,fontSize:tt,instanceFontSize:s.fontSize,inheritViewBox:nt,viewBox:st,hasSvgAsChild:at}),ft={};nt||(ft.viewBox=st);const ct=useUtilityClasses$M(it);return jsxRuntimeExports.jsxs(SvgIconRoot,_extends({as:et,className:clsx(ct.root,j),focusable:"false",color:rt,"aria-hidden":ot?void 0:!0,role:ot?"img":void 0,ref:i},ft,dt,at&&$.props,{ownerState:it,children:[at?$.props.children:$,ot?jsxRuntimeExports.jsx("title",{children:ot}):null]}))});SvgIcon.muiName="SvgIcon";function createSvgIcon$1(o,s){function i(a,$){return jsxRuntimeExports.jsx(SvgIcon,_extends({"data-testid":`${s}Icon`,ref:$},a,{children:o}))}return i.muiName=SvgIcon.muiName,reactExports.memo(reactExports.forwardRef(i))}const unstable_ClassNameGenerator={configure:o=>{ClassNameGenerator$1.configure(o)}},utils$2=Object.freeze(Object.defineProperty({__proto__:null,capitalize,createChainedFunction,createSvgIcon:createSvgIcon$1,debounce:debounce$1,deprecatedPropType,isMuiElement,ownerDocument,ownerWindow,requirePropFactory,setRef,unstable_ClassNameGenerator,unstable_useEnhancedEffect:useEnhancedEffect,unstable_useId:useId,unsupportedProp,useControlled,useEventCallback,useForkRef,useIsFocusVisible},Symbol.toStringTag,{value:"Module"}));function _setPrototypeOf(o,s){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,$){return a.__proto__=$,a},_setPrototypeOf(o,s)}function _inheritsLoose(o,s){o.prototype=Object.create(s.prototype),o.prototype.constructor=o,_setPrototypeOf(o,s)}const config={disabled:!1},TransitionGroupContext=React.createContext(null);var forceReflow=function(s){return s.scrollTop},UNMOUNTED="unmounted",EXITED="exited",ENTERING="entering",ENTERED="entered",EXITING="exiting",Transition=function(o){_inheritsLoose(s,o);function s(a,$){var j;j=o.call(this,a,$)||this;var _e=$,et=_e&&!_e.isMounting?a.enter:a.appear,tt;return j.appearStatus=null,a.in?et?(tt=EXITED,j.appearStatus=ENTERING):tt=ENTERED:a.unmountOnExit||a.mountOnEnter?tt=UNMOUNTED:tt=EXITED,j.state={status:tt},j.nextCallback=null,j}s.getDerivedStateFromProps=function($,j){var _e=$.in;return _e&&j.status===UNMOUNTED?{status:EXITED}:null};var i=s.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function($){var j=null;if($!==this.props){var _e=this.state.status;this.props.in?_e!==ENTERING&&_e!==ENTERED&&(j=ENTERING):(_e===ENTERING||_e===ENTERED)&&(j=EXITING)}this.updateStatus(!1,j)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var $=this.props.timeout,j,_e,et;return j=_e=et=$,$!=null&&typeof $!="number"&&(j=$.exit,_e=$.enter,et=$.appear!==void 0?$.appear:_e),{exit:j,enter:_e,appear:et}},i.updateStatus=function($,j){if($===void 0&&($=!1),j!==null)if(this.cancelNextCallback(),j===ENTERING){if(this.props.unmountOnExit||this.props.mountOnEnter){var _e=this.props.nodeRef?this.props.nodeRef.current:ReactDOM.findDOMNode(this);_e&&forceReflow(_e)}this.performEnter($)}else this.performExit();else this.props.unmountOnExit&&this.state.status===EXITED&&this.setState({status:UNMOUNTED})},i.performEnter=function($){var j=this,_e=this.props.enter,et=this.context?this.context.isMounting:$,tt=this.props.nodeRef?[et]:[ReactDOM.findDOMNode(this),et],rt=tt[0],nt=tt[1],ot=this.getTimeouts(),st=et?ot.appear:ot.enter;if(!$&&!_e||config.disabled){this.safeSetState({status:ENTERED},function(){j.props.onEntered(rt)});return}this.props.onEnter(rt,nt),this.safeSetState({status:ENTERING},function(){j.props.onEntering(rt,nt),j.onTransitionEnd(st,function(){j.safeSetState({status:ENTERED},function(){j.props.onEntered(rt,nt)})})})},i.performExit=function(){var $=this,j=this.props.exit,_e=this.getTimeouts(),et=this.props.nodeRef?void 0:ReactDOM.findDOMNode(this);if(!j||config.disabled){this.safeSetState({status:EXITED},function(){$.props.onExited(et)});return}this.props.onExit(et),this.safeSetState({status:EXITING},function(){$.props.onExiting(et),$.onTransitionEnd(_e.exit,function(){$.safeSetState({status:EXITED},function(){$.props.onExited(et)})})})},i.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function($,j){j=this.setNextCallback(j),this.setState($,j)},i.setNextCallback=function($){var j=this,_e=!0;return this.nextCallback=function(et){_e&&(_e=!1,j.nextCallback=null,$(et))},this.nextCallback.cancel=function(){_e=!1},this.nextCallback},i.onTransitionEnd=function($,j){this.setNextCallback(j);var _e=this.props.nodeRef?this.props.nodeRef.current:ReactDOM.findDOMNode(this),et=$==null&&!this.props.addEndListener;if(!_e||et){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var tt=this.props.nodeRef?[this.nextCallback]:[_e,this.nextCallback],rt=tt[0],nt=tt[1];this.props.addEndListener(rt,nt)}$!=null&&setTimeout(this.nextCallback,$)},i.render=function(){var $=this.state.status;if($===UNMOUNTED)return null;var j=this.props,_e=j.children;j.in,j.mountOnEnter,j.unmountOnExit,j.appear,j.enter,j.exit,j.timeout,j.addEndListener,j.onEnter,j.onEntering,j.onEntered,j.onExit,j.onExiting,j.onExited,j.nodeRef;var et=_objectWithoutPropertiesLoose(j,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return React.createElement(TransitionGroupContext.Provider,{value:null},typeof _e=="function"?_e($,et):React.cloneElement(React.Children.only(_e),et))},s}(React.Component);Transition.contextType=TransitionGroupContext;Transition.propTypes={};function noop$1(){}Transition.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop$1,onEntering:noop$1,onEntered:noop$1,onExit:noop$1,onExiting:noop$1,onExited:noop$1};Transition.UNMOUNTED=UNMOUNTED;Transition.EXITED=EXITED;Transition.ENTERING=ENTERING;Transition.ENTERED=ENTERED;Transition.EXITING=EXITING;const Transition$1=Transition;function _assertThisInitialized(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function getChildMapping(o,s){var i=function(j){return s&&reactExports.isValidElement(j)?s(j):j},a=Object.create(null);return o&&reactExports.Children.map(o,function($){return $}).forEach(function($){a[$.key]=i($)}),a}function mergeChildMappings(o,s){o=o||{},s=s||{};function i(nt){return nt in s?s[nt]:o[nt]}var a=Object.create(null),$=[];for(var j in o)j in s?$.length&&(a[j]=$,$=[]):$.push(j);var _e,et={};for(var tt in s){if(a[tt])for(_e=0;_eo.scrollTop;function getTransitionProps(o,s){var i,a;const{timeout:$,easing:j,style:_e={}}=o;return{duration:(i=_e.transitionDuration)!=null?i:typeof $=="number"?$:$[s.mode]||0,easing:(a=_e.transitionTimingFunction)!=null?a:typeof j=="object"?j[s.mode]:j,delay:_e.transitionDelay}}function getPaperUtilityClass(o){return generateUtilityClass$1("MuiPaper",o)}generateUtilityClasses$1("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 _excluded$V=["className","component","elevation","square","variant"],useUtilityClasses$L=o=>{const{square:s,elevation:i,variant:a,classes:$}=o,j={root:["root",a,!s&&"rounded",a==="elevation"&&`elevation${i}`]};return composeClasses(j,getPaperUtilityClass,$)},PaperRoot=styled("div",{name:"MuiPaper",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,s[i.variant],!i.square&&s.rounded,i.variant==="elevation"&&s[`elevation${i.elevation}`]]}})(({theme:o,ownerState:s})=>{var i;return _extends({backgroundColor:(o.vars||o).palette.background.paper,color:(o.vars||o).palette.text.primary,transition:o.transitions.create("box-shadow")},!s.square&&{borderRadius:o.shape.borderRadius},s.variant==="outlined"&&{border:`1px solid ${(o.vars||o).palette.divider}`},s.variant==="elevation"&&_extends({boxShadow:(o.vars||o).shadows[s.elevation]},!o.vars&&o.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${alpha("#fff",getOverlayAlpha(s.elevation))}, ${alpha("#fff",getOverlayAlpha(s.elevation))})`},o.vars&&{backgroundImage:(i=o.vars.overlays)==null?void 0:i[s.elevation]}))}),Paper=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiPaper"}),{className:$,component:j="div",elevation:_e=1,square:et=!1,variant:tt="elevation"}=a,rt=_objectWithoutPropertiesLoose(a,_excluded$V),nt=_extends({},a,{component:j,elevation:_e,square:et,variant:tt}),ot=useUtilityClasses$L(nt);return jsxRuntimeExports.jsx(PaperRoot,_extends({as:j,ownerState:nt,className:clsx(ot.root,$),ref:i},rt))}),Paper$1=Paper;function isHostComponent(o){return typeof o=="string"}function appendOwnerState(o,s,i){return o===void 0||isHostComponent(o)?s:_extends({},s,{ownerState:_extends({},s.ownerState,i)})}const defaultContextValue={disableDefaultClasses:!1},ClassNameConfiguratorContext=reactExports.createContext(defaultContextValue);function useClassNamesOverride(o){const{disableDefaultClasses:s}=reactExports.useContext(ClassNameConfiguratorContext);return i=>s?"":o(i)}function extractEventHandlers(o,s=[]){if(o===void 0)return{};const i={};return Object.keys(o).filter(a=>a.match(/^on[A-Z]/)&&typeof o[a]=="function"&&!s.includes(a)).forEach(a=>{i[a]=o[a]}),i}function resolveComponentProps(o,s,i){return typeof o=="function"?o(s,i):o}function omitEventHandlers(o){if(o===void 0)return{};const s={};return Object.keys(o).filter(i=>!(i.match(/^on[A-Z]/)&&typeof o[i]=="function")).forEach(i=>{s[i]=o[i]}),s}function mergeSlotProps(o){const{getSlotProps:s,additionalProps:i,externalSlotProps:a,externalForwardedProps:$,className:j}=o;if(!s){const dt=clsx(i==null?void 0:i.className,j,$==null?void 0:$.className,a==null?void 0:a.className),at=_extends({},i==null?void 0:i.style,$==null?void 0:$.style,a==null?void 0:a.style),it=_extends({},i,$,a);return dt.length>0&&(it.className=dt),Object.keys(at).length>0&&(it.style=at),{props:it,internalRef:void 0}}const _e=extractEventHandlers(_extends({},$,a)),et=omitEventHandlers(a),tt=omitEventHandlers($),rt=s(_e),nt=clsx(rt==null?void 0:rt.className,i==null?void 0:i.className,j,$==null?void 0:$.className,a==null?void 0:a.className),ot=_extends({},rt==null?void 0:rt.style,i==null?void 0:i.style,$==null?void 0:$.style,a==null?void 0:a.style),st=_extends({},rt,i,tt,et);return nt.length>0&&(st.className=nt),Object.keys(ot).length>0&&(st.style=ot),{props:st,internalRef:rt.ref}}const _excluded$U=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function useSlotProps(o){var s;const{elementType:i,externalSlotProps:a,ownerState:$,skipResolvingSlotProps:j=!1}=o,_e=_objectWithoutPropertiesLoose(o,_excluded$U),et=j?{}:resolveComponentProps(a,$),{props:tt,internalRef:rt}=mergeSlotProps(_extends({},_e,{externalSlotProps:et})),nt=useForkRef(rt,et==null?void 0:et.ref,(s=o.additionalProps)==null?void 0:s.ref);return appendOwnerState(i,_extends({},tt,{ref:nt}),$)}function Ripple(o){const{className:s,classes:i,pulsate:a=!1,rippleX:$,rippleY:j,rippleSize:_e,in:et,onExited:tt,timeout:rt}=o,[nt,ot]=reactExports.useState(!1),st=clsx(s,i.ripple,i.rippleVisible,a&&i.ripplePulsate),dt={width:_e,height:_e,top:-(_e/2)+j,left:-(_e/2)+$},at=clsx(i.child,nt&&i.childLeaving,a&&i.childPulsate);return!et&&!nt&&ot(!0),reactExports.useEffect(()=>{if(!et&&tt!=null){const it=setTimeout(tt,rt);return()=>{clearTimeout(it)}}},[tt,et,rt]),jsxRuntimeExports.jsx("span",{className:st,style:dt,children:jsxRuntimeExports.jsx("span",{className:at})})}const touchRippleClasses=generateUtilityClasses$1("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_excluded$T=["center","classes","className"];let _$1=o=>o,_t$1,_t2$1,_t3$1,_t4$1;const DURATION=550,DELAY_RIPPLE=80,enterKeyframe=keyframes(_t$1||(_t$1=_$1` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),exitKeyframe=keyframes(_t2$1||(_t2$1=_$1` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),pulsateKeyframe=keyframes(_t3$1||(_t3$1=_$1` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),TouchRippleRoot=styled("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),TouchRippleRipple=styled(Ripple,{name:"MuiTouchRipple",slot:"Ripple"})(_t4$1||(_t4$1=_$1` + 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; + } +`),touchRippleClasses.rippleVisible,enterKeyframe,DURATION,({theme:o})=>o.transitions.easing.easeInOut,touchRippleClasses.ripplePulsate,({theme:o})=>o.transitions.duration.shorter,touchRippleClasses.child,touchRippleClasses.childLeaving,exitKeyframe,DURATION,({theme:o})=>o.transitions.easing.easeInOut,touchRippleClasses.childPulsate,pulsateKeyframe,({theme:o})=>o.transitions.easing.easeInOut),TouchRipple=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTouchRipple"}),{center:$=!1,classes:j={},className:_e}=a,et=_objectWithoutPropertiesLoose(a,_excluded$T),[tt,rt]=reactExports.useState([]),nt=reactExports.useRef(0),ot=reactExports.useRef(null);reactExports.useEffect(()=>{ot.current&&(ot.current(),ot.current=null)},[tt]);const st=reactExports.useRef(!1),dt=reactExports.useRef(0),at=reactExports.useRef(null),it=reactExports.useRef(null);reactExports.useEffect(()=>()=>{dt.current&&clearTimeout(dt.current)},[]);const ft=reactExports.useCallback(pt=>{const{pulsate:ht,rippleX:gt,rippleY:mt,rippleSize:xt,cb:Ct}=pt;rt(yt=>[...yt,jsxRuntimeExports.jsx(TouchRippleRipple,{classes:{ripple:clsx(j.ripple,touchRippleClasses.ripple),rippleVisible:clsx(j.rippleVisible,touchRippleClasses.rippleVisible),ripplePulsate:clsx(j.ripplePulsate,touchRippleClasses.ripplePulsate),child:clsx(j.child,touchRippleClasses.child),childLeaving:clsx(j.childLeaving,touchRippleClasses.childLeaving),childPulsate:clsx(j.childPulsate,touchRippleClasses.childPulsate)},timeout:DURATION,pulsate:ht,rippleX:gt,rippleY:mt,rippleSize:xt},nt.current)]),nt.current+=1,ot.current=Ct},[j]),ct=reactExports.useCallback((pt={},ht={},gt=()=>{})=>{const{pulsate:mt=!1,center:xt=$||ht.pulsate,fakeElement:Ct=!1}=ht;if((pt==null?void 0:pt.type)==="mousedown"&&st.current){st.current=!1;return}(pt==null?void 0:pt.type)==="touchstart"&&(st.current=!0);const yt=Ct?null:it.current,Et=yt?yt.getBoundingClientRect():{width:0,height:0,left:0,top:0};let kt,$t,St;if(xt||pt===void 0||pt.clientX===0&&pt.clientY===0||!pt.clientX&&!pt.touches)kt=Math.round(Et.width/2),$t=Math.round(Et.height/2);else{const{clientX:Rt,clientY:Pt}=pt.touches&&pt.touches.length>0?pt.touches[0]:pt;kt=Math.round(Rt-Et.left),$t=Math.round(Pt-Et.top)}if(xt)St=Math.sqrt((2*Et.width**2+Et.height**2)/3),St%2===0&&(St+=1);else{const Rt=Math.max(Math.abs((yt?yt.clientWidth:0)-kt),kt)*2+2,Pt=Math.max(Math.abs((yt?yt.clientHeight:0)-$t),$t)*2+2;St=Math.sqrt(Rt**2+Pt**2)}pt!=null&&pt.touches?at.current===null&&(at.current=()=>{ft({pulsate:mt,rippleX:kt,rippleY:$t,rippleSize:St,cb:gt})},dt.current=setTimeout(()=>{at.current&&(at.current(),at.current=null)},DELAY_RIPPLE)):ft({pulsate:mt,rippleX:kt,rippleY:$t,rippleSize:St,cb:gt})},[$,ft]),ut=reactExports.useCallback(()=>{ct({},{pulsate:!0})},[ct]),lt=reactExports.useCallback((pt,ht)=>{if(clearTimeout(dt.current),(pt==null?void 0:pt.type)==="touchend"&&at.current){at.current(),at.current=null,dt.current=setTimeout(()=>{lt(pt,ht)});return}at.current=null,rt(gt=>gt.length>0?gt.slice(1):gt),ot.current=ht},[]);return reactExports.useImperativeHandle(i,()=>({pulsate:ut,start:ct,stop:lt}),[ut,ct,lt]),jsxRuntimeExports.jsx(TouchRippleRoot,_extends({className:clsx(touchRippleClasses.root,j.root,_e),ref:it},et,{children:jsxRuntimeExports.jsx(TransitionGroup$1,{component:null,exit:!0,children:tt})}))}),TouchRipple$1=TouchRipple;function getButtonBaseUtilityClass(o){return generateUtilityClass$1("MuiButtonBase",o)}const buttonBaseClasses=generateUtilityClasses$1("MuiButtonBase",["root","disabled","focusVisible"]),_excluded$S=["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"],useUtilityClasses$K=o=>{const{disabled:s,focusVisible:i,focusVisibleClassName:a,classes:$}=o,_e=composeClasses({root:["root",s&&"disabled",i&&"focusVisible"]},getButtonBaseUtilityClass,$);return i&&a&&(_e.root+=` ${a}`),_e},ButtonBaseRoot=styled("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(o,s)=>s.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"},[`&.${buttonBaseClasses.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ButtonBase=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiButtonBase"}),{action:$,centerRipple:j=!1,children:_e,className:et,component:tt="button",disabled:rt=!1,disableRipple:nt=!1,disableTouchRipple:ot=!1,focusRipple:st=!1,LinkComponent:dt="a",onBlur:at,onClick:it,onContextMenu:ft,onDragLeave:ct,onFocus:ut,onFocusVisible:lt,onKeyDown:pt,onKeyUp:ht,onMouseDown:gt,onMouseLeave:mt,onMouseUp:xt,onTouchEnd:Ct,onTouchMove:yt,onTouchStart:Et,tabIndex:kt=0,TouchRippleProps:$t,touchRippleRef:St,type:Rt}=a,Pt=_objectWithoutPropertiesLoose(a,_excluded$S),wt=reactExports.useRef(null),vt=reactExports.useRef(null),bt=useForkRef(vt,St),{isFocusVisibleRef:Tt,onFocus:Mt,onBlur:Ot,ref:Nt}=useIsFocusVisible(),[It,At]=reactExports.useState(!1);rt&&It&&At(!1),reactExports.useImperativeHandle($,()=>({focusVisible:()=>{At(!0),wt.current.focus()}}),[]);const[Dt,qt]=reactExports.useState(!1);reactExports.useEffect(()=>{qt(!0)},[]);const Ht=Dt&&!nt&&!rt;reactExports.useEffect(()=>{It&&st&&!nt&&Dt&&vt.current.pulsate()},[nt,st,It,Dt]);function Ut(Lt,or,hr=ot){return useEventCallback(pr=>(or&&or(pr),!hr&&vt.current&&vt.current[Lt](pr),!0))}const Jt=Ut("start",gt),Bt=Ut("stop",ft),Qt=Ut("stop",ct),Ft=Ut("stop",xt),Vt=Ut("stop",Lt=>{It&&Lt.preventDefault(),mt&&mt(Lt)}),Wt=Ut("start",Et),cr=Ut("stop",Ct),ir=Ut("stop",yt),rr=Ut("stop",Lt=>{Ot(Lt),Tt.current===!1&&At(!1),at&&at(Lt)},!1),lr=useEventCallback(Lt=>{wt.current||(wt.current=Lt.currentTarget),Mt(Lt),Tt.current===!0&&(At(!0),lt&<(Lt)),ut&&ut(Lt)}),Zt=()=>{const Lt=wt.current;return tt&&tt!=="button"&&!(Lt.tagName==="A"&&Lt.href)},Yt=reactExports.useRef(!1),ar=useEventCallback(Lt=>{st&&!Yt.current&&It&&vt.current&&Lt.key===" "&&(Yt.current=!0,vt.current.stop(Lt,()=>{vt.current.start(Lt)})),Lt.target===Lt.currentTarget&&Zt()&&Lt.key===" "&&Lt.preventDefault(),pt&&pt(Lt),Lt.target===Lt.currentTarget&&Zt()&&Lt.key==="Enter"&&!rt&&(Lt.preventDefault(),it&&it(Lt))}),tr=useEventCallback(Lt=>{st&&Lt.key===" "&&vt.current&&It&&!Lt.defaultPrevented&&(Yt.current=!1,vt.current.stop(Lt,()=>{vt.current.pulsate(Lt)})),ht&&ht(Lt),it&&Lt.target===Lt.currentTarget&&Zt()&&Lt.key===" "&&!Lt.defaultPrevented&&it(Lt)});let Kt=tt;Kt==="button"&&(Pt.href||Pt.to)&&(Kt=dt);const sr={};Kt==="button"?(sr.type=Rt===void 0?"button":Rt,sr.disabled=rt):(!Pt.href&&!Pt.to&&(sr.role="button"),rt&&(sr["aria-disabled"]=rt));const nr=useForkRef(i,Nt,wt),ur=_extends({},a,{centerRipple:j,component:tt,disabled:rt,disableRipple:nt,disableTouchRipple:ot,focusRipple:st,tabIndex:kt,focusVisible:It}),Gt=useUtilityClasses$K(ur);return jsxRuntimeExports.jsxs(ButtonBaseRoot,_extends({as:Kt,className:clsx(Gt.root,et),ownerState:ur,onBlur:rr,onClick:it,onContextMenu:Bt,onFocus:lr,onKeyDown:ar,onKeyUp:tr,onMouseDown:Jt,onMouseLeave:Vt,onMouseUp:Ft,onDragLeave:Qt,onTouchEnd:cr,onTouchMove:ir,onTouchStart:Wt,ref:nr,tabIndex:rt?-1:kt,type:Rt},sr,Pt,{children:[_e,Ht?jsxRuntimeExports.jsx(TouchRipple$1,_extends({ref:bt,center:j},$t)):null]}))}),ButtonBase$1=ButtonBase;function getIconButtonUtilityClass(o){return generateUtilityClass$1("MuiIconButton",o)}const iconButtonClasses=generateUtilityClasses$1("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),_excluded$R=["edge","children","className","color","disabled","disableFocusRipple","size"],useUtilityClasses$J=o=>{const{classes:s,disabled:i,color:a,edge:$,size:j}=o,_e={root:["root",i&&"disabled",a!=="default"&&`color${capitalize(a)}`,$&&`edge${capitalize($)}`,`size${capitalize(j)}`]};return composeClasses(_e,getIconButtonUtilityClass,s)},IconButtonRoot=styled(ButtonBase$1,{name:"MuiIconButton",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.color!=="default"&&s[`color${capitalize(i.color)}`],i.edge&&s[`edge${capitalize(i.edge)}`],s[`size${capitalize(i.size)}`]]}})(({theme:o,ownerState:s})=>_extends({textAlign:"center",flex:"0 0 auto",fontSize:o.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(o.vars||o).palette.action.active,transition:o.transitions.create("background-color",{duration:o.transitions.duration.shortest})},!s.disableRipple&&{"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})`:alpha(o.palette.action.active,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},s.edge==="start"&&{marginLeft:s.size==="small"?-3:-12},s.edge==="end"&&{marginRight:s.size==="small"?-3:-12}),({theme:o,ownerState:s})=>{var i;const a=(i=(o.vars||o).palette)==null?void 0:i[s.color];return _extends({},s.color==="inherit"&&{color:"inherit"},s.color!=="inherit"&&s.color!=="default"&&_extends({color:a==null?void 0:a.main},!s.disableRipple&&{"&:hover":_extends({},a&&{backgroundColor:o.vars?`rgba(${a.mainChannel} / ${o.vars.palette.action.hoverOpacity})`:alpha(a.main,o.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),s.size==="small"&&{padding:5,fontSize:o.typography.pxToRem(18)},s.size==="large"&&{padding:12,fontSize:o.typography.pxToRem(28)},{[`&.${iconButtonClasses.disabled}`]:{backgroundColor:"transparent",color:(o.vars||o).palette.action.disabled}})}),IconButton=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiIconButton"}),{edge:$=!1,children:j,className:_e,color:et="default",disabled:tt=!1,disableFocusRipple:rt=!1,size:nt="medium"}=a,ot=_objectWithoutPropertiesLoose(a,_excluded$R),st=_extends({},a,{edge:$,color:et,disabled:tt,disableFocusRipple:rt,size:nt}),dt=useUtilityClasses$J(st);return jsxRuntimeExports.jsx(IconButtonRoot,_extends({className:clsx(dt.root,_e),centerRipple:!0,focusRipple:!rt,disabled:tt,ref:i,ownerState:st},ot,{children:j}))}),IconButton$1=IconButton;function getTypographyUtilityClass(o){return generateUtilityClass$1("MuiTypography",o)}generateUtilityClasses$1("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const _excluded$Q=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],useUtilityClasses$I=o=>{const{align:s,gutterBottom:i,noWrap:a,paragraph:$,variant:j,classes:_e}=o,et={root:["root",j,o.align!=="inherit"&&`align${capitalize(s)}`,i&&"gutterBottom",a&&"noWrap",$&&"paragraph"]};return composeClasses(et,getTypographyUtilityClass,_e)},TypographyRoot=styled("span",{name:"MuiTypography",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.variant&&s[i.variant],i.align!=="inherit"&&s[`align${capitalize(i.align)}`],i.noWrap&&s.noWrap,i.gutterBottom&&s.gutterBottom,i.paragraph&&s.paragraph]}})(({theme:o,ownerState:s})=>_extends({margin:0},s.variant==="inherit"&&{font:"inherit"},s.variant!=="inherit"&&o.typography[s.variant],s.align!=="inherit"&&{textAlign:s.align},s.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},s.gutterBottom&&{marginBottom:"0.35em"},s.paragraph&&{marginBottom:16})),defaultVariantMapping={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},colorTransformations={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},transformDeprecatedColors=o=>colorTransformations[o]||o,Typography=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTypography"}),$=transformDeprecatedColors(a.color),j=extendSxProp(_extends({},a,{color:$})),{align:_e="inherit",className:et,component:tt,gutterBottom:rt=!1,noWrap:nt=!1,paragraph:ot=!1,variant:st="body1",variantMapping:dt=defaultVariantMapping}=j,at=_objectWithoutPropertiesLoose(j,_excluded$Q),it=_extends({},j,{align:_e,color:$,className:et,component:tt,gutterBottom:rt,noWrap:nt,paragraph:ot,variant:st,variantMapping:dt}),ft=tt||(ot?"p":dt[st]||defaultVariantMapping[st])||"span",ct=useUtilityClasses$I(it);return jsxRuntimeExports.jsx(TypographyRoot,_extends({as:ft,ref:i,ownerState:it,className:clsx(ct.root,et)},at))}),Typography$1=Typography;function getAppBarUtilityClass(o){return generateUtilityClass$1("MuiAppBar",o)}generateUtilityClasses$1("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const _excluded$P=["className","color","enableColorOnDark","position"],useUtilityClasses$H=o=>{const{color:s,position:i,classes:a}=o,$={root:["root",`color${capitalize(s)}`,`position${capitalize(i)}`]};return composeClasses($,getAppBarUtilityClass,a)},joinVars=(o,s)=>o?`${o==null?void 0:o.replace(")","")}, ${s})`:s,AppBarRoot=styled(Paper$1,{name:"MuiAppBar",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,s[`position${capitalize(i.position)}`],s[`color${capitalize(i.color)}`]]}})(({theme:o,ownerState:s})=>{const i=o.palette.mode==="light"?o.palette.grey[100]:o.palette.grey[900];return _extends({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},s.position==="fixed"&&{position:"fixed",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},s.position==="absolute"&&{position:"absolute",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0},s.position==="sticky"&&{position:"sticky",zIndex:(o.vars||o).zIndex.appBar,top:0,left:"auto",right:0},s.position==="static"&&{position:"static"},s.position==="relative"&&{position:"relative"},!o.vars&&_extends({},s.color==="default"&&{backgroundColor:i,color:o.palette.getContrastText(i)},s.color&&s.color!=="default"&&s.color!=="inherit"&&s.color!=="transparent"&&{backgroundColor:o.palette[s.color].main,color:o.palette[s.color].contrastText},s.color==="inherit"&&{color:"inherit"},o.palette.mode==="dark"&&!s.enableColorOnDark&&{backgroundColor:null,color:null},s.color==="transparent"&&_extends({backgroundColor:"transparent",color:"inherit"},o.palette.mode==="dark"&&{backgroundImage:"none"})),o.vars&&_extends({},s.color==="default"&&{"--AppBar-background":s.enableColorOnDark?o.vars.palette.AppBar.defaultBg:joinVars(o.vars.palette.AppBar.darkBg,o.vars.palette.AppBar.defaultBg),"--AppBar-color":s.enableColorOnDark?o.vars.palette.text.primary:joinVars(o.vars.palette.AppBar.darkColor,o.vars.palette.text.primary)},s.color&&!s.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":s.enableColorOnDark?o.vars.palette[s.color].main:joinVars(o.vars.palette.AppBar.darkBg,o.vars.palette[s.color].main),"--AppBar-color":s.enableColorOnDark?o.vars.palette[s.color].contrastText:joinVars(o.vars.palette.AppBar.darkColor,o.vars.palette[s.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:s.color==="inherit"?"inherit":"var(--AppBar-color)"},s.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),AppBar=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiAppBar"}),{className:$,color:j="primary",enableColorOnDark:_e=!1,position:et="fixed"}=a,tt=_objectWithoutPropertiesLoose(a,_excluded$P),rt=_extends({},a,{color:j,position:et,enableColorOnDark:_e}),nt=useUtilityClasses$H(rt);return jsxRuntimeExports.jsx(AppBarRoot,_extends({square:!0,component:"header",ownerState:rt,elevation:4,className:clsx(nt.root,$,et==="fixed"&&"mui-fixed"),ref:i},tt))}),AppBar$1=AppBar,GLOBAL_CLASS_PREFIX="base";function buildStateClass(o){return`${GLOBAL_CLASS_PREFIX}--${o}`}function buildSlotClass(o,s){return`${GLOBAL_CLASS_PREFIX}-${o}-${s}`}function generateUtilityClass(o,s){const i=globalStateClasses[s];return i?buildStateClass(i):buildSlotClass(o,s)}function generateUtilityClasses(o,s){const i={};return s.forEach(a=>{i[a]=generateUtilityClass(o,a)}),i}const candidatesSelector=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function getTabIndex(o){const s=parseInt(o.getAttribute("tabindex")||"",10);return Number.isNaN(s)?o.contentEditable==="true"||(o.nodeName==="AUDIO"||o.nodeName==="VIDEO"||o.nodeName==="DETAILS")&&o.getAttribute("tabindex")===null?0:o.tabIndex:s}function isNonTabbableRadio(o){if(o.tagName!=="INPUT"||o.type!=="radio"||!o.name)return!1;const s=a=>o.ownerDocument.querySelector(`input[type="radio"]${a}`);let i=s(`[name="${o.name}"]:checked`);return i||(i=s(`[name="${o.name}"]`)),i!==o}function isNodeMatchingSelectorFocusable(o){return!(o.disabled||o.tagName==="INPUT"&&o.type==="hidden"||isNonTabbableRadio(o))}function defaultGetTabbable(o){const s=[],i=[];return Array.from(o.querySelectorAll(candidatesSelector)).forEach((a,$)=>{const j=getTabIndex(a);j===-1||!isNodeMatchingSelectorFocusable(a)||(j===0?s.push(a):i.push({documentOrder:$,tabIndex:j,node:a}))}),i.sort((a,$)=>a.tabIndex===$.tabIndex?a.documentOrder-$.documentOrder:a.tabIndex-$.tabIndex).map(a=>a.node).concat(s)}function defaultIsEnabled(){return!0}function FocusTrap(o){const{children:s,disableAutoFocus:i=!1,disableEnforceFocus:a=!1,disableRestoreFocus:$=!1,getTabbable:j=defaultGetTabbable,isEnabled:_e=defaultIsEnabled,open:et}=o,tt=reactExports.useRef(!1),rt=reactExports.useRef(null),nt=reactExports.useRef(null),ot=reactExports.useRef(null),st=reactExports.useRef(null),dt=reactExports.useRef(!1),at=reactExports.useRef(null),it=useForkRef(s.ref,at),ft=reactExports.useRef(null);reactExports.useEffect(()=>{!et||!at.current||(dt.current=!i)},[i,et]),reactExports.useEffect(()=>{if(!et||!at.current)return;const lt=ownerDocument(at.current);return at.current.contains(lt.activeElement)||(at.current.hasAttribute("tabIndex")||at.current.setAttribute("tabIndex","-1"),dt.current&&at.current.focus()),()=>{$||(ot.current&&ot.current.focus&&(tt.current=!0,ot.current.focus()),ot.current=null)}},[et]),reactExports.useEffect(()=>{if(!et||!at.current)return;const lt=ownerDocument(at.current),pt=mt=>{ft.current=mt,!(a||!_e()||mt.key!=="Tab")&<.activeElement===at.current&&mt.shiftKey&&(tt.current=!0,nt.current&&nt.current.focus())},ht=()=>{const mt=at.current;if(mt===null)return;if(!lt.hasFocus()||!_e()||tt.current){tt.current=!1;return}if(mt.contains(lt.activeElement)||a&<.activeElement!==rt.current&<.activeElement!==nt.current)return;if(lt.activeElement!==st.current)st.current=null;else if(st.current!==null)return;if(!dt.current)return;let xt=[];if((lt.activeElement===rt.current||lt.activeElement===nt.current)&&(xt=j(at.current)),xt.length>0){var Ct,yt;const Et=!!((Ct=ft.current)!=null&&Ct.shiftKey&&((yt=ft.current)==null?void 0:yt.key)==="Tab"),kt=xt[0],$t=xt[xt.length-1];typeof kt!="string"&&typeof $t!="string"&&(Et?$t.focus():kt.focus())}else mt.focus()};lt.addEventListener("focusin",ht),lt.addEventListener("keydown",pt,!0);const gt=setInterval(()=>{lt.activeElement&<.activeElement.tagName==="BODY"&&ht()},50);return()=>{clearInterval(gt),lt.removeEventListener("focusin",ht),lt.removeEventListener("keydown",pt,!0)}},[i,a,$,_e,et,j]);const ct=lt=>{ot.current===null&&(ot.current=lt.relatedTarget),dt.current=!0,st.current=lt.target;const pt=s.props.onFocus;pt&&pt(lt)},ut=lt=>{ot.current===null&&(ot.current=lt.relatedTarget),dt.current=!0};return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx("div",{tabIndex:et?0:-1,onFocus:ut,ref:rt,"data-testid":"sentinelStart"}),reactExports.cloneElement(s,{ref:it,onFocus:ct}),jsxRuntimeExports.jsx("div",{tabIndex:et?0:-1,onFocus:ut,ref:nt,"data-testid":"sentinelEnd"})]})}var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(o,s){return o.concat([s+"-"+start,s+"-"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(o,s){return o.concat([s,s+"-"+start,s+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function getNodeName(o){return o?(o.nodeName||"").toLowerCase():null}function getWindow(o){if(o==null)return window;if(o.toString()!=="[object Window]"){var s=o.ownerDocument;return s&&s.defaultView||window}return o}function isElement(o){var s=getWindow(o).Element;return o instanceof s||o instanceof Element}function isHTMLElement$1(o){var s=getWindow(o).HTMLElement;return o instanceof s||o instanceof HTMLElement}function isShadowRoot(o){if(typeof ShadowRoot>"u")return!1;var s=getWindow(o).ShadowRoot;return o instanceof s||o instanceof ShadowRoot}function applyStyles(o){var s=o.state;Object.keys(s.elements).forEach(function(i){var a=s.styles[i]||{},$=s.attributes[i]||{},j=s.elements[i];!isHTMLElement$1(j)||!getNodeName(j)||(Object.assign(j.style,a),Object.keys($).forEach(function(_e){var et=$[_e];et===!1?j.removeAttribute(_e):j.setAttribute(_e,et===!0?"":et)}))})}function effect$2(o){var s=o.state,i={popper:{position:s.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(s.elements.popper.style,i.popper),s.styles=i,s.elements.arrow&&Object.assign(s.elements.arrow.style,i.arrow),function(){Object.keys(s.elements).forEach(function(a){var $=s.elements[a],j=s.attributes[a]||{},_e=Object.keys(s.styles.hasOwnProperty(a)?s.styles[a]:i[a]),et=_e.reduce(function(tt,rt){return tt[rt]="",tt},{});!isHTMLElement$1($)||!getNodeName($)||(Object.assign($.style,et),Object.keys(j).forEach(function(tt){$.removeAttribute(tt)}))})}}const applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect:effect$2,requires:["computeStyles"]};function getBasePlacement(o){return o.split("-")[0]}var max=Math.max,min=Math.min,round$1=Math.round;function getUAString(){var o=navigator.userAgentData;return o!=null&&o.brands&&Array.isArray(o.brands)?o.brands.map(function(s){return s.brand+"/"+s.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(o,s,i){s===void 0&&(s=!1),i===void 0&&(i=!1);var a=o.getBoundingClientRect(),$=1,j=1;s&&isHTMLElement$1(o)&&($=o.offsetWidth>0&&round$1(a.width)/o.offsetWidth||1,j=o.offsetHeight>0&&round$1(a.height)/o.offsetHeight||1);var _e=isElement(o)?getWindow(o):window,et=_e.visualViewport,tt=!isLayoutViewport()&&i,rt=(a.left+(tt&&et?et.offsetLeft:0))/$,nt=(a.top+(tt&&et?et.offsetTop:0))/j,ot=a.width/$,st=a.height/j;return{width:ot,height:st,top:nt,right:rt+ot,bottom:nt+st,left:rt,x:rt,y:nt}}function getLayoutRect(o){var s=getBoundingClientRect(o),i=o.offsetWidth,a=o.offsetHeight;return Math.abs(s.width-i)<=1&&(i=s.width),Math.abs(s.height-a)<=1&&(a=s.height),{x:o.offsetLeft,y:o.offsetTop,width:i,height:a}}function contains(o,s){var i=s.getRootNode&&s.getRootNode();if(o.contains(s))return!0;if(i&&isShadowRoot(i)){var a=s;do{if(a&&o.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function getComputedStyle(o){return getWindow(o).getComputedStyle(o)}function isTableElement(o){return["table","td","th"].indexOf(getNodeName(o))>=0}function getDocumentElement(o){return((isElement(o)?o.ownerDocument:o.document)||window.document).documentElement}function getParentNode(o){return getNodeName(o)==="html"?o:o.assignedSlot||o.parentNode||(isShadowRoot(o)?o.host:null)||getDocumentElement(o)}function getTrueOffsetParent(o){return!isHTMLElement$1(o)||getComputedStyle(o).position==="fixed"?null:o.offsetParent}function getContainingBlock(o){var s=/firefox/i.test(getUAString()),i=/Trident/i.test(getUAString());if(i&&isHTMLElement$1(o)){var a=getComputedStyle(o);if(a.position==="fixed")return null}var $=getParentNode(o);for(isShadowRoot($)&&($=$.host);isHTMLElement$1($)&&["html","body"].indexOf(getNodeName($))<0;){var j=getComputedStyle($);if(j.transform!=="none"||j.perspective!=="none"||j.contain==="paint"||["transform","perspective"].indexOf(j.willChange)!==-1||s&&j.willChange==="filter"||s&&j.filter&&j.filter!=="none")return $;$=$.parentNode}return null}function getOffsetParent(o){for(var s=getWindow(o),i=getTrueOffsetParent(o);i&&isTableElement(i)&&getComputedStyle(i).position==="static";)i=getTrueOffsetParent(i);return i&&(getNodeName(i)==="html"||getNodeName(i)==="body"&&getComputedStyle(i).position==="static")?s:i||getContainingBlock(o)||s}function getMainAxisFromPlacement(o){return["top","bottom"].indexOf(o)>=0?"x":"y"}function within(o,s,i){return max(o,min(s,i))}function withinMaxClamp(o,s,i){var a=within(o,s,i);return a>i?i:a}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(o){return Object.assign({},getFreshSideObject(),o)}function expandToHashMap(o,s){return s.reduce(function(i,a){return i[a]=o,i},{})}var toPaddingObject=function(s,i){return s=typeof s=="function"?s(Object.assign({},i.rects,{placement:i.placement})):s,mergePaddingObject(typeof s!="number"?s:expandToHashMap(s,basePlacements))};function arrow(o){var s,i=o.state,a=o.name,$=o.options,j=i.elements.arrow,_e=i.modifiersData.popperOffsets,et=getBasePlacement(i.placement),tt=getMainAxisFromPlacement(et),rt=[left,right].indexOf(et)>=0,nt=rt?"height":"width";if(!(!j||!_e)){var ot=toPaddingObject($.padding,i),st=getLayoutRect(j),dt=tt==="y"?top:left,at=tt==="y"?bottom:right,it=i.rects.reference[nt]+i.rects.reference[tt]-_e[tt]-i.rects.popper[nt],ft=_e[tt]-i.rects.reference[tt],ct=getOffsetParent(j),ut=ct?tt==="y"?ct.clientHeight||0:ct.clientWidth||0:0,lt=it/2-ft/2,pt=ot[dt],ht=ut-st[nt]-ot[at],gt=ut/2-st[nt]/2+lt,mt=within(pt,gt,ht),xt=tt;i.modifiersData[a]=(s={},s[xt]=mt,s.centerOffset=mt-gt,s)}}function effect$1(o){var s=o.state,i=o.options,a=i.element,$=a===void 0?"[data-popper-arrow]":a;$!=null&&(typeof $=="string"&&($=s.elements.popper.querySelector($),!$)||contains(s.elements.popper,$)&&(s.elements.arrow=$))}const arrow$1={name:"arrow",enabled:!0,phase:"main",fn:arrow,effect:effect$1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function getVariation(o){return o.split("-")[1]}var unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(o,s){var i=o.x,a=o.y,$=s.devicePixelRatio||1;return{x:round$1(i*$)/$||0,y:round$1(a*$)/$||0}}function mapToStyles(o){var s,i=o.popper,a=o.popperRect,$=o.placement,j=o.variation,_e=o.offsets,et=o.position,tt=o.gpuAcceleration,rt=o.adaptive,nt=o.roundOffsets,ot=o.isFixed,st=_e.x,dt=st===void 0?0:st,at=_e.y,it=at===void 0?0:at,ft=typeof nt=="function"?nt({x:dt,y:it}):{x:dt,y:it};dt=ft.x,it=ft.y;var ct=_e.hasOwnProperty("x"),ut=_e.hasOwnProperty("y"),lt=left,pt=top,ht=window;if(rt){var gt=getOffsetParent(i),mt="clientHeight",xt="clientWidth";if(gt===getWindow(i)&&(gt=getDocumentElement(i),getComputedStyle(gt).position!=="static"&&et==="absolute"&&(mt="scrollHeight",xt="scrollWidth")),gt=gt,$===top||($===left||$===right)&&j===end){pt=bottom;var Ct=ot&>===ht&&ht.visualViewport?ht.visualViewport.height:gt[mt];it-=Ct-a.height,it*=tt?1:-1}if($===left||($===top||$===bottom)&&j===end){lt=right;var yt=ot&>===ht&&ht.visualViewport?ht.visualViewport.width:gt[xt];dt-=yt-a.width,dt*=tt?1:-1}}var Et=Object.assign({position:et},rt&&unsetSides),kt=nt===!0?roundOffsetsByDPR({x:dt,y:it},getWindow(i)):{x:dt,y:it};if(dt=kt.x,it=kt.y,tt){var $t;return Object.assign({},Et,($t={},$t[pt]=ut?"0":"",$t[lt]=ct?"0":"",$t.transform=(ht.devicePixelRatio||1)<=1?"translate("+dt+"px, "+it+"px)":"translate3d("+dt+"px, "+it+"px, 0)",$t))}return Object.assign({},Et,(s={},s[pt]=ut?it+"px":"",s[lt]=ct?dt+"px":"",s.transform="",s))}function computeStyles(o){var s=o.state,i=o.options,a=i.gpuAcceleration,$=a===void 0?!0:a,j=i.adaptive,_e=j===void 0?!0:j,et=i.roundOffsets,tt=et===void 0?!0:et,rt={placement:getBasePlacement(s.placement),variation:getVariation(s.placement),popper:s.elements.popper,popperRect:s.rects.popper,gpuAcceleration:$,isFixed:s.options.strategy==="fixed"};s.modifiersData.popperOffsets!=null&&(s.styles.popper=Object.assign({},s.styles.popper,mapToStyles(Object.assign({},rt,{offsets:s.modifiersData.popperOffsets,position:s.options.strategy,adaptive:_e,roundOffsets:tt})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,mapToStyles(Object.assign({},rt,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:tt})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}const computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};var passive={passive:!0};function effect(o){var s=o.state,i=o.instance,a=o.options,$=a.scroll,j=$===void 0?!0:$,_e=a.resize,et=_e===void 0?!0:_e,tt=getWindow(s.elements.popper),rt=[].concat(s.scrollParents.reference,s.scrollParents.popper);return j&&rt.forEach(function(nt){nt.addEventListener("scroll",i.update,passive)}),et&&tt.addEventListener("resize",i.update,passive),function(){j&&rt.forEach(function(nt){nt.removeEventListener("scroll",i.update,passive)}),et&&tt.removeEventListener("resize",i.update,passive)}}const eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect,data:{}};var hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(o){return o.replace(/left|right|bottom|top/g,function(s){return hash$1[s]})}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(o){return o.replace(/start|end/g,function(s){return hash[s]})}function getWindowScroll(o){var s=getWindow(o),i=s.pageXOffset,a=s.pageYOffset;return{scrollLeft:i,scrollTop:a}}function getWindowScrollBarX(o){return getBoundingClientRect(getDocumentElement(o)).left+getWindowScroll(o).scrollLeft}function getViewportRect(o,s){var i=getWindow(o),a=getDocumentElement(o),$=i.visualViewport,j=a.clientWidth,_e=a.clientHeight,et=0,tt=0;if($){j=$.width,_e=$.height;var rt=isLayoutViewport();(rt||!rt&&s==="fixed")&&(et=$.offsetLeft,tt=$.offsetTop)}return{width:j,height:_e,x:et+getWindowScrollBarX(o),y:tt}}function getDocumentRect(o){var s,i=getDocumentElement(o),a=getWindowScroll(o),$=(s=o.ownerDocument)==null?void 0:s.body,j=max(i.scrollWidth,i.clientWidth,$?$.scrollWidth:0,$?$.clientWidth:0),_e=max(i.scrollHeight,i.clientHeight,$?$.scrollHeight:0,$?$.clientHeight:0),et=-a.scrollLeft+getWindowScrollBarX(o),tt=-a.scrollTop;return getComputedStyle($||i).direction==="rtl"&&(et+=max(i.clientWidth,$?$.clientWidth:0)-j),{width:j,height:_e,x:et,y:tt}}function isScrollParent(o){var s=getComputedStyle(o),i=s.overflow,a=s.overflowX,$=s.overflowY;return/auto|scroll|overlay|hidden/.test(i+$+a)}function getScrollParent(o){return["html","body","#document"].indexOf(getNodeName(o))>=0?o.ownerDocument.body:isHTMLElement$1(o)&&isScrollParent(o)?o:getScrollParent(getParentNode(o))}function listScrollParents(o,s){var i;s===void 0&&(s=[]);var a=getScrollParent(o),$=a===((i=o.ownerDocument)==null?void 0:i.body),j=getWindow(a),_e=$?[j].concat(j.visualViewport||[],isScrollParent(a)?a:[]):a,et=s.concat(_e);return $?et:et.concat(listScrollParents(getParentNode(_e)))}function rectToClientRect(o){return Object.assign({},o,{left:o.x,top:o.y,right:o.x+o.width,bottom:o.y+o.height})}function getInnerBoundingClientRect(o,s){var i=getBoundingClientRect(o,!1,s==="fixed");return i.top=i.top+o.clientTop,i.left=i.left+o.clientLeft,i.bottom=i.top+o.clientHeight,i.right=i.left+o.clientWidth,i.width=o.clientWidth,i.height=o.clientHeight,i.x=i.left,i.y=i.top,i}function getClientRectFromMixedType(o,s,i){return s===viewport?rectToClientRect(getViewportRect(o,i)):isElement(s)?getInnerBoundingClientRect(s,i):rectToClientRect(getDocumentRect(getDocumentElement(o)))}function getClippingParents(o){var s=listScrollParents(getParentNode(o)),i=["absolute","fixed"].indexOf(getComputedStyle(o).position)>=0,a=i&&isHTMLElement$1(o)?getOffsetParent(o):o;return isElement(a)?s.filter(function($){return isElement($)&&contains($,a)&&getNodeName($)!=="body"}):[]}function getClippingRect(o,s,i,a){var $=s==="clippingParents"?getClippingParents(o):[].concat(s),j=[].concat($,[i]),_e=j[0],et=j.reduce(function(tt,rt){var nt=getClientRectFromMixedType(o,rt,a);return tt.top=max(nt.top,tt.top),tt.right=min(nt.right,tt.right),tt.bottom=min(nt.bottom,tt.bottom),tt.left=max(nt.left,tt.left),tt},getClientRectFromMixedType(o,_e,a));return et.width=et.right-et.left,et.height=et.bottom-et.top,et.x=et.left,et.y=et.top,et}function computeOffsets(o){var s=o.reference,i=o.element,a=o.placement,$=a?getBasePlacement(a):null,j=a?getVariation(a):null,_e=s.x+s.width/2-i.width/2,et=s.y+s.height/2-i.height/2,tt;switch($){case top:tt={x:_e,y:s.y-i.height};break;case bottom:tt={x:_e,y:s.y+s.height};break;case right:tt={x:s.x+s.width,y:et};break;case left:tt={x:s.x-i.width,y:et};break;default:tt={x:s.x,y:s.y}}var rt=$?getMainAxisFromPlacement($):null;if(rt!=null){var nt=rt==="y"?"height":"width";switch(j){case start:tt[rt]=tt[rt]-(s[nt]/2-i[nt]/2);break;case end:tt[rt]=tt[rt]+(s[nt]/2-i[nt]/2);break}}return tt}function detectOverflow(o,s){s===void 0&&(s={});var i=s,a=i.placement,$=a===void 0?o.placement:a,j=i.strategy,_e=j===void 0?o.strategy:j,et=i.boundary,tt=et===void 0?clippingParents:et,rt=i.rootBoundary,nt=rt===void 0?viewport:rt,ot=i.elementContext,st=ot===void 0?popper:ot,dt=i.altBoundary,at=dt===void 0?!1:dt,it=i.padding,ft=it===void 0?0:it,ct=mergePaddingObject(typeof ft!="number"?ft:expandToHashMap(ft,basePlacements)),ut=st===popper?reference:popper,lt=o.rects.popper,pt=o.elements[at?ut:st],ht=getClippingRect(isElement(pt)?pt:pt.contextElement||getDocumentElement(o.elements.popper),tt,nt,_e),gt=getBoundingClientRect(o.elements.reference),mt=computeOffsets({reference:gt,element:lt,strategy:"absolute",placement:$}),xt=rectToClientRect(Object.assign({},lt,mt)),Ct=st===popper?xt:gt,yt={top:ht.top-Ct.top+ct.top,bottom:Ct.bottom-ht.bottom+ct.bottom,left:ht.left-Ct.left+ct.left,right:Ct.right-ht.right+ct.right},Et=o.modifiersData.offset;if(st===popper&&Et){var kt=Et[$];Object.keys(yt).forEach(function($t){var St=[right,bottom].indexOf($t)>=0?1:-1,Rt=[top,bottom].indexOf($t)>=0?"y":"x";yt[$t]+=kt[Rt]*St})}return yt}function computeAutoPlacement(o,s){s===void 0&&(s={});var i=s,a=i.placement,$=i.boundary,j=i.rootBoundary,_e=i.padding,et=i.flipVariations,tt=i.allowedAutoPlacements,rt=tt===void 0?placements:tt,nt=getVariation(a),ot=nt?et?variationPlacements:variationPlacements.filter(function(at){return getVariation(at)===nt}):basePlacements,st=ot.filter(function(at){return rt.indexOf(at)>=0});st.length===0&&(st=ot);var dt=st.reduce(function(at,it){return at[it]=detectOverflow(o,{placement:it,boundary:$,rootBoundary:j,padding:_e})[getBasePlacement(it)],at},{});return Object.keys(dt).sort(function(at,it){return dt[at]-dt[it]})}function getExpandedFallbackPlacements(o){if(getBasePlacement(o)===auto)return[];var s=getOppositePlacement(o);return[getOppositeVariationPlacement(o),s,getOppositeVariationPlacement(s)]}function flip(o){var s=o.state,i=o.options,a=o.name;if(!s.modifiersData[a]._skip){for(var $=i.mainAxis,j=$===void 0?!0:$,_e=i.altAxis,et=_e===void 0?!0:_e,tt=i.fallbackPlacements,rt=i.padding,nt=i.boundary,ot=i.rootBoundary,st=i.altBoundary,dt=i.flipVariations,at=dt===void 0?!0:dt,it=i.allowedAutoPlacements,ft=s.options.placement,ct=getBasePlacement(ft),ut=ct===ft,lt=tt||(ut||!at?[getOppositePlacement(ft)]:getExpandedFallbackPlacements(ft)),pt=[ft].concat(lt).reduce(function(It,At){return It.concat(getBasePlacement(At)===auto?computeAutoPlacement(s,{placement:At,boundary:nt,rootBoundary:ot,padding:rt,flipVariations:at,allowedAutoPlacements:it}):At)},[]),ht=s.rects.reference,gt=s.rects.popper,mt=new Map,xt=!0,Ct=pt[0],yt=0;yt=0,Rt=St?"width":"height",Pt=detectOverflow(s,{placement:Et,boundary:nt,rootBoundary:ot,altBoundary:st,padding:rt}),wt=St?$t?right:left:$t?bottom:top;ht[Rt]>gt[Rt]&&(wt=getOppositePlacement(wt));var vt=getOppositePlacement(wt),bt=[];if(j&&bt.push(Pt[kt]<=0),et&&bt.push(Pt[wt]<=0,Pt[vt]<=0),bt.every(function(It){return It})){Ct=Et,xt=!1;break}mt.set(Et,bt)}if(xt)for(var Tt=at?3:1,Mt=function(At){var Dt=pt.find(function(qt){var Ht=mt.get(qt);if(Ht)return Ht.slice(0,At).every(function(Ut){return Ut})});if(Dt)return Ct=Dt,"break"},Ot=Tt;Ot>0;Ot--){var Nt=Mt(Ot);if(Nt==="break")break}s.placement!==Ct&&(s.modifiersData[a]._skip=!0,s.placement=Ct,s.reset=!0)}}const flip$1={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function getSideOffsets(o,s,i){return i===void 0&&(i={x:0,y:0}),{top:o.top-s.height-i.y,right:o.right-s.width+i.x,bottom:o.bottom-s.height+i.y,left:o.left-s.width-i.x}}function isAnySideFullyClipped(o){return[top,right,bottom,left].some(function(s){return o[s]>=0})}function hide(o){var s=o.state,i=o.name,a=s.rects.reference,$=s.rects.popper,j=s.modifiersData.preventOverflow,_e=detectOverflow(s,{elementContext:"reference"}),et=detectOverflow(s,{altBoundary:!0}),tt=getSideOffsets(_e,a),rt=getSideOffsets(et,$,j),nt=isAnySideFullyClipped(tt),ot=isAnySideFullyClipped(rt);s.modifiersData[i]={referenceClippingOffsets:tt,popperEscapeOffsets:rt,isReferenceHidden:nt,hasPopperEscaped:ot},s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-reference-hidden":nt,"data-popper-escaped":ot})}const hide$1={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hide};function distanceAndSkiddingToXY(o,s,i){var a=getBasePlacement(o),$=[left,top].indexOf(a)>=0?-1:1,j=typeof i=="function"?i(Object.assign({},s,{placement:o})):i,_e=j[0],et=j[1];return _e=_e||0,et=(et||0)*$,[left,right].indexOf(a)>=0?{x:et,y:_e}:{x:_e,y:et}}function offset(o){var s=o.state,i=o.options,a=o.name,$=i.offset,j=$===void 0?[0,0]:$,_e=placements.reduce(function(nt,ot){return nt[ot]=distanceAndSkiddingToXY(ot,s.rects,j),nt},{}),et=_e[s.placement],tt=et.x,rt=et.y;s.modifiersData.popperOffsets!=null&&(s.modifiersData.popperOffsets.x+=tt,s.modifiersData.popperOffsets.y+=rt),s.modifiersData[a]=_e}const offset$1={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:offset};function popperOffsets(o){var s=o.state,i=o.name;s.modifiersData[i]=computeOffsets({reference:s.rects.reference,element:s.rects.popper,strategy:"absolute",placement:s.placement})}const popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}};function getAltAxis(o){return o==="x"?"y":"x"}function preventOverflow(o){var s=o.state,i=o.options,a=o.name,$=i.mainAxis,j=$===void 0?!0:$,_e=i.altAxis,et=_e===void 0?!1:_e,tt=i.boundary,rt=i.rootBoundary,nt=i.altBoundary,ot=i.padding,st=i.tether,dt=st===void 0?!0:st,at=i.tetherOffset,it=at===void 0?0:at,ft=detectOverflow(s,{boundary:tt,rootBoundary:rt,padding:ot,altBoundary:nt}),ct=getBasePlacement(s.placement),ut=getVariation(s.placement),lt=!ut,pt=getMainAxisFromPlacement(ct),ht=getAltAxis(pt),gt=s.modifiersData.popperOffsets,mt=s.rects.reference,xt=s.rects.popper,Ct=typeof it=="function"?it(Object.assign({},s.rects,{placement:s.placement})):it,yt=typeof Ct=="number"?{mainAxis:Ct,altAxis:Ct}:Object.assign({mainAxis:0,altAxis:0},Ct),Et=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,kt={x:0,y:0};if(gt){if(j){var $t,St=pt==="y"?top:left,Rt=pt==="y"?bottom:right,Pt=pt==="y"?"height":"width",wt=gt[pt],vt=wt+ft[St],bt=wt-ft[Rt],Tt=dt?-xt[Pt]/2:0,Mt=ut===start?mt[Pt]:xt[Pt],Ot=ut===start?-xt[Pt]:-mt[Pt],Nt=s.elements.arrow,It=dt&&Nt?getLayoutRect(Nt):{width:0,height:0},At=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:getFreshSideObject(),Dt=At[St],qt=At[Rt],Ht=within(0,mt[Pt],It[Pt]),Ut=lt?mt[Pt]/2-Tt-Ht-Dt-yt.mainAxis:Mt-Ht-Dt-yt.mainAxis,Jt=lt?-mt[Pt]/2+Tt+Ht+qt+yt.mainAxis:Ot+Ht+qt+yt.mainAxis,Bt=s.elements.arrow&&getOffsetParent(s.elements.arrow),Qt=Bt?pt==="y"?Bt.clientTop||0:Bt.clientLeft||0:0,Ft=($t=Et==null?void 0:Et[pt])!=null?$t:0,Vt=wt+Ut-Ft-Qt,Wt=wt+Jt-Ft,cr=within(dt?min(vt,Vt):vt,wt,dt?max(bt,Wt):bt);gt[pt]=cr,kt[pt]=cr-wt}if(et){var ir,rr=pt==="x"?top:left,lr=pt==="x"?bottom:right,Zt=gt[ht],Yt=ht==="y"?"height":"width",ar=Zt+ft[rr],tr=Zt-ft[lr],Kt=[top,left].indexOf(ct)!==-1,sr=(ir=Et==null?void 0:Et[ht])!=null?ir:0,nr=Kt?ar:Zt-mt[Yt]-xt[Yt]-sr+yt.altAxis,ur=Kt?Zt+mt[Yt]+xt[Yt]-sr-yt.altAxis:tr,Gt=dt&&Kt?withinMaxClamp(nr,Zt,ur):within(dt?nr:ar,Zt,dt?ur:tr);gt[ht]=Gt,kt[ht]=Gt-Zt}s.modifiersData[a]=kt}}const preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]};function getHTMLElementScroll(o){return{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}}function getNodeScroll(o){return o===getWindow(o)||!isHTMLElement$1(o)?getWindowScroll(o):getHTMLElementScroll(o)}function isElementScaled(o){var s=o.getBoundingClientRect(),i=round$1(s.width)/o.offsetWidth||1,a=round$1(s.height)/o.offsetHeight||1;return i!==1||a!==1}function getCompositeRect(o,s,i){i===void 0&&(i=!1);var a=isHTMLElement$1(s),$=isHTMLElement$1(s)&&isElementScaled(s),j=getDocumentElement(s),_e=getBoundingClientRect(o,$,i),et={scrollLeft:0,scrollTop:0},tt={x:0,y:0};return(a||!a&&!i)&&((getNodeName(s)!=="body"||isScrollParent(j))&&(et=getNodeScroll(s)),isHTMLElement$1(s)?(tt=getBoundingClientRect(s,!0),tt.x+=s.clientLeft,tt.y+=s.clientTop):j&&(tt.x=getWindowScrollBarX(j))),{x:_e.left+et.scrollLeft-tt.x,y:_e.top+et.scrollTop-tt.y,width:_e.width,height:_e.height}}function order(o){var s=new Map,i=new Set,a=[];o.forEach(function(j){s.set(j.name,j)});function $(j){i.add(j.name);var _e=[].concat(j.requires||[],j.requiresIfExists||[]);_e.forEach(function(et){if(!i.has(et)){var tt=s.get(et);tt&&$(tt)}}),a.push(j)}return o.forEach(function(j){i.has(j.name)||$(j)}),a}function orderModifiers(o){var s=order(o);return modifierPhases.reduce(function(i,a){return i.concat(s.filter(function($){return $.phase===a}))},[])}function debounce(o){var s;return function(){return s||(s=new Promise(function(i){Promise.resolve().then(function(){s=void 0,i(o())})})),s}}function mergeByName(o){var s=o.reduce(function(i,a){var $=i[a.name];return i[a.name]=$?Object.assign({},$,a,{options:Object.assign({},$.options,a.options),data:Object.assign({},$.data,a.data)}):a,i},{});return Object.keys(s).map(function(i){return s[i]})}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var o=arguments.length,s=new Array(o),i=0;i{j||et(getContainer$1($)||document.body)},[$,j]),useEnhancedEffect(()=>{if(_e&&!j)return setRef(i,_e),()=>{setRef(i,null)}},[i,_e,j]),j){if(reactExports.isValidElement(a)){const rt={ref:tt};return reactExports.cloneElement(a,rt)}return jsxRuntimeExports.jsx(reactExports.Fragment,{children:a})}return jsxRuntimeExports.jsx(reactExports.Fragment,{children:_e&&reactDomExports.createPortal(a,_e)})}),COMPONENT_NAME="Popper";function getPopperUtilityClass(o){return generateUtilityClass(COMPONENT_NAME,o)}generateUtilityClasses(COMPONENT_NAME,["root"]);const _excluded$O=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],_excluded2$5=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function flipPlacement(o,s){if(s==="ltr")return o;switch(o){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 o}}function resolveAnchorEl$1(o){return typeof o=="function"?o():o}function isHTMLElement(o){return o.nodeType!==void 0}const useUtilityClasses$G=()=>composeClasses({root:["root"]},useClassNamesOverride(getPopperUtilityClass)),defaultPopperOptions={},PopperTooltip=reactExports.forwardRef(function(s,i){var a;const{anchorEl:$,children:j,direction:_e,disablePortal:et,modifiers:tt,open:rt,placement:nt,popperOptions:ot,popperRef:st,slotProps:dt={},slots:at={},TransitionProps:it}=s,ft=_objectWithoutPropertiesLoose(s,_excluded$O),ct=reactExports.useRef(null),ut=useForkRef(ct,i),lt=reactExports.useRef(null),pt=useForkRef(lt,st),ht=reactExports.useRef(pt);useEnhancedEffect(()=>{ht.current=pt},[pt]),reactExports.useImperativeHandle(st,()=>lt.current,[]);const gt=flipPlacement(nt,_e),[mt,xt]=reactExports.useState(gt),[Ct,yt]=reactExports.useState(resolveAnchorEl$1($));reactExports.useEffect(()=>{lt.current&<.current.forceUpdate()}),reactExports.useEffect(()=>{$&&yt(resolveAnchorEl$1($))},[$]),useEnhancedEffect(()=>{if(!Ct||!rt)return;const Rt=vt=>{xt(vt.placement)};let Pt=[{name:"preventOverflow",options:{altBoundary:et}},{name:"flip",options:{altBoundary:et}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:vt})=>{Rt(vt)}}];tt!=null&&(Pt=Pt.concat(tt)),ot&&ot.modifiers!=null&&(Pt=Pt.concat(ot.modifiers));const wt=createPopper(Ct,ct.current,_extends({placement:gt},ot,{modifiers:Pt}));return ht.current(wt),()=>{wt.destroy(),ht.current(null)}},[Ct,et,tt,rt,ot,gt]);const Et={placement:mt};it!==null&&(Et.TransitionProps=it);const kt=useUtilityClasses$G(),$t=(a=at.root)!=null?a:"div",St=useSlotProps({elementType:$t,externalSlotProps:dt.root,externalForwardedProps:ft,additionalProps:{role:"tooltip",ref:ut},ownerState:s,className:kt.root});return jsxRuntimeExports.jsx($t,_extends({},St,{children:typeof j=="function"?j(Et):j}))}),Popper$2=reactExports.forwardRef(function(s,i){const{anchorEl:a,children:$,container:j,direction:_e="ltr",disablePortal:et=!1,keepMounted:tt=!1,modifiers:rt,open:nt,placement:ot="bottom",popperOptions:st=defaultPopperOptions,popperRef:dt,style:at,transition:it=!1,slotProps:ft={},slots:ct={}}=s,ut=_objectWithoutPropertiesLoose(s,_excluded2$5),[lt,pt]=reactExports.useState(!0),ht=()=>{pt(!1)},gt=()=>{pt(!0)};if(!tt&&!nt&&(!it||lt))return null;let mt;if(j)mt=j;else if(a){const yt=resolveAnchorEl$1(a);mt=yt&&isHTMLElement(yt)?ownerDocument(yt).body:ownerDocument(null).body}const xt=!nt&&tt&&(!it||lt)?"none":void 0,Ct=it?{in:nt,onEnter:ht,onExited:gt}:void 0;return jsxRuntimeExports.jsx(Portal,{disablePortal:et,container:mt,children:jsxRuntimeExports.jsx(PopperTooltip,_extends({anchorEl:a,direction:_e,disablePortal:et,modifiers:rt,ref:i,open:it?!lt:nt,placement:ot,popperOptions:st,popperRef:dt,slotProps:ft,slots:ct},ut,{style:_extends({position:"fixed",top:0,left:0,display:xt},at),TransitionProps:Ct,children:$}))})});function isOverflowing(o){const s=ownerDocument(o);return s.body===o?ownerWindow(o).innerWidth>s.documentElement.clientWidth:o.scrollHeight>o.clientHeight}function ariaHidden(o,s){s?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden")}function getPaddingRight(o){return parseInt(ownerWindow(o).getComputedStyle(o).paddingRight,10)||0}function isAriaHiddenForbiddenOnElement(o){const i=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(o.tagName)!==-1,a=o.tagName==="INPUT"&&o.getAttribute("type")==="hidden";return i||a}function ariaHiddenSiblings(o,s,i,a,$){const j=[s,i,...a];[].forEach.call(o.children,_e=>{const et=j.indexOf(_e)===-1,tt=!isAriaHiddenForbiddenOnElement(_e);et&&tt&&ariaHidden(_e,$)})}function findIndexOf(o,s){let i=-1;return o.some((a,$)=>s(a)?(i=$,!0):!1),i}function handleContainer(o,s){const i=[],a=o.container;if(!s.disableScrollLock){if(isOverflowing(a)){const _e=getScrollbarSize(ownerDocument(a));i.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${getPaddingRight(a)+_e}px`;const et=ownerDocument(a).querySelectorAll(".mui-fixed");[].forEach.call(et,tt=>{i.push({value:tt.style.paddingRight,property:"padding-right",el:tt}),tt.style.paddingRight=`${getPaddingRight(tt)+_e}px`})}let j;if(a.parentNode instanceof DocumentFragment)j=ownerDocument(a).body;else{const _e=a.parentElement,et=ownerWindow(a);j=(_e==null?void 0:_e.nodeName)==="HTML"&&et.getComputedStyle(_e).overflowY==="scroll"?_e:a}i.push({value:j.style.overflow,property:"overflow",el:j},{value:j.style.overflowX,property:"overflow-x",el:j},{value:j.style.overflowY,property:"overflow-y",el:j}),j.style.overflow="hidden"}return()=>{i.forEach(({value:j,el:_e,property:et})=>{j?_e.style.setProperty(et,j):_e.style.removeProperty(et)})}}function getHiddenSiblings(o){const s=[];return[].forEach.call(o.children,i=>{i.getAttribute("aria-hidden")==="true"&&s.push(i)}),s}class ModalManager{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(s,i){let a=this.modals.indexOf(s);if(a!==-1)return a;a=this.modals.length,this.modals.push(s),s.modalRef&&ariaHidden(s.modalRef,!1);const $=getHiddenSiblings(i);ariaHiddenSiblings(i,s.mount,s.modalRef,$,!0);const j=findIndexOf(this.containers,_e=>_e.container===i);return j!==-1?(this.containers[j].modals.push(s),a):(this.containers.push({modals:[s],container:i,restore:null,hiddenSiblings:$}),a)}mount(s,i){const a=findIndexOf(this.containers,j=>j.modals.indexOf(s)!==-1),$=this.containers[a];$.restore||($.restore=handleContainer($,i))}remove(s,i=!0){const a=this.modals.indexOf(s);if(a===-1)return a;const $=findIndexOf(this.containers,_e=>_e.modals.indexOf(s)!==-1),j=this.containers[$];if(j.modals.splice(j.modals.indexOf(s),1),this.modals.splice(a,1),j.modals.length===0)j.restore&&j.restore(),s.modalRef&&ariaHidden(s.modalRef,i),ariaHiddenSiblings(j.container,s.mount,s.modalRef,j.hiddenSiblings,!1),this.containers.splice($,1);else{const _e=j.modals[j.modals.length-1];_e.modalRef&&ariaHidden(_e.modalRef,!1)}return a}isTopModal(s){return this.modals.length>0&&this.modals[this.modals.length-1]===s}}function getContainer(o){return typeof o=="function"?o():o}function getHasTransition(o){return o?o.props.hasOwnProperty("in"):!1}const defaultManager=new ModalManager;function useModal(o){const{container:s,disableEscapeKeyDown:i=!1,disableScrollLock:a=!1,manager:$=defaultManager,closeAfterTransition:j=!1,onTransitionEnter:_e,onTransitionExited:et,children:tt,onClose:rt,open:nt,rootRef:ot}=o,st=reactExports.useRef({}),dt=reactExports.useRef(null),at=reactExports.useRef(null),it=useForkRef(at,ot),[ft,ct]=reactExports.useState(!nt),ut=getHasTransition(tt);let lt=!0;(o["aria-hidden"]==="false"||o["aria-hidden"]===!1)&&(lt=!1);const pt=()=>ownerDocument(dt.current),ht=()=>(st.current.modalRef=at.current,st.current.mount=dt.current,st.current),gt=()=>{$.mount(ht(),{disableScrollLock:a}),at.current&&(at.current.scrollTop=0)},mt=useEventCallback(()=>{const Pt=getContainer(s)||pt().body;$.add(ht(),Pt),at.current&>()}),xt=reactExports.useCallback(()=>$.isTopModal(ht()),[$]),Ct=useEventCallback(Pt=>{dt.current=Pt,Pt&&(nt&&xt()?gt():at.current&&ariaHidden(at.current,lt))}),yt=reactExports.useCallback(()=>{$.remove(ht(),lt)},[lt,$]);reactExports.useEffect(()=>()=>{yt()},[yt]),reactExports.useEffect(()=>{nt?mt():(!ut||!j)&&yt()},[nt,yt,ut,j,mt]);const Et=Pt=>wt=>{var vt;(vt=Pt.onKeyDown)==null||vt.call(Pt,wt),!(wt.key!=="Escape"||wt.which===229||!xt())&&(i||(wt.stopPropagation(),rt&&rt(wt,"escapeKeyDown")))},kt=Pt=>wt=>{var vt;(vt=Pt.onClick)==null||vt.call(Pt,wt),wt.target===wt.currentTarget&&rt&&rt(wt,"backdropClick")};return{getRootProps:(Pt={})=>{const wt=extractEventHandlers(o);delete wt.onTransitionEnter,delete wt.onTransitionExited;const vt=_extends({},wt,Pt);return _extends({role:"presentation"},vt,{onKeyDown:Et(vt),ref:it})},getBackdropProps:(Pt={})=>{const wt=Pt;return _extends({"aria-hidden":!0},wt,{onClick:kt(wt),open:nt})},getTransitionProps:()=>{const Pt=()=>{ct(!1),_e&&_e()},wt=()=>{ct(!0),et&&et(),j&&yt()};return{onEnter:createChainedFunction(Pt,tt==null?void 0:tt.props.onEnter),onExited:createChainedFunction(wt,tt==null?void 0:tt.props.onExited)}},rootRef:it,portalRef:Ct,isTopModal:xt,exited:ft,hasTransition:ut}}const _excluded$N=["onChange","maxRows","minRows","style","value"];function getStyleValue(o){return parseInt(o,10)||0}const styles$3={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function isEmpty$1(o){return o==null||Object.keys(o).length===0||o.outerHeightStyle===0&&!o.overflow}const TextareaAutosize=reactExports.forwardRef(function(s,i){const{onChange:a,maxRows:$,minRows:j=1,style:_e,value:et}=s,tt=_objectWithoutPropertiesLoose(s,_excluded$N),{current:rt}=reactExports.useRef(et!=null),nt=reactExports.useRef(null),ot=useForkRef(i,nt),st=reactExports.useRef(null),dt=reactExports.useRef(0),[at,it]=reactExports.useState({outerHeightStyle:0}),ft=reactExports.useCallback(()=>{const pt=nt.current,gt=ownerWindow(pt).getComputedStyle(pt);if(gt.width==="0px")return{outerHeightStyle:0};const mt=st.current;mt.style.width=gt.width,mt.value=pt.value||s.placeholder||"x",mt.value.slice(-1)===` +`&&(mt.value+=" ");const xt=gt.boxSizing,Ct=getStyleValue(gt.paddingBottom)+getStyleValue(gt.paddingTop),yt=getStyleValue(gt.borderBottomWidth)+getStyleValue(gt.borderTopWidth),Et=mt.scrollHeight;mt.value="x";const kt=mt.scrollHeight;let $t=Et;j&&($t=Math.max(Number(j)*kt,$t)),$&&($t=Math.min(Number($)*kt,$t)),$t=Math.max($t,kt);const St=$t+(xt==="border-box"?Ct+yt:0),Rt=Math.abs($t-Et)<=1;return{outerHeightStyle:St,overflow:Rt}},[$,j,s.placeholder]),ct=(pt,ht)=>{const{outerHeightStyle:gt,overflow:mt}=ht;return dt.current<20&&(gt>0&&Math.abs((pt.outerHeightStyle||0)-gt)>1||pt.overflow!==mt)?(dt.current+=1,{overflow:mt,outerHeightStyle:gt}):pt},ut=reactExports.useCallback(()=>{const pt=ft();isEmpty$1(pt)||it(ht=>ct(ht,pt))},[ft]);useEnhancedEffect(()=>{const pt=()=>{const Et=ft();isEmpty$1(Et)||reactDomExports.flushSync(()=>{it(kt=>ct(kt,Et))})},ht=()=>{dt.current=0,pt()};let gt;const mt=debounce$1(ht),xt=nt.current,Ct=ownerWindow(xt);Ct.addEventListener("resize",mt);let yt;return typeof ResizeObserver<"u"&&(yt=new ResizeObserver(ht),yt.observe(xt)),()=>{mt.clear(),cancelAnimationFrame(gt),Ct.removeEventListener("resize",mt),yt&&yt.disconnect()}},[ft]),useEnhancedEffect(()=>{ut()}),reactExports.useEffect(()=>{dt.current=0},[et]);const lt=pt=>{dt.current=0,rt||ut(),a&&a(pt)};return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx("textarea",_extends({value:et,onChange:lt,ref:ot,rows:j,style:_extends({height:at.outerHeightStyle,overflow:at.overflow?"hidden":void 0},_e)},tt)),jsxRuntimeExports.jsx("textarea",{"aria-hidden":!0,className:s.className,readOnly:!0,ref:st,tabIndex:-1,style:_extends({},styles$3.shadow,_e,{paddingTop:0,paddingBottom:0})})]})}),_excluded$M=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],PopperRoot=styled(Popper$2,{name:"MuiPopper",slot:"Root",overridesResolver:(o,s)=>s.root})({}),Popper=reactExports.forwardRef(function(s,i){var a;const $=useTheme$3(),j=useThemeProps({props:s,name:"MuiPopper"}),{anchorEl:_e,component:et,components:tt,componentsProps:rt,container:nt,disablePortal:ot,keepMounted:st,modifiers:dt,open:at,placement:it,popperOptions:ft,popperRef:ct,transition:ut,slots:lt,slotProps:pt}=j,ht=_objectWithoutPropertiesLoose(j,_excluded$M),gt=(a=lt==null?void 0:lt.root)!=null?a:tt==null?void 0:tt.Root,mt=_extends({anchorEl:_e,container:nt,disablePortal:ot,keepMounted:st,modifiers:dt,open:at,placement:it,popperOptions:ft,popperRef:ct,transition:ut},ht);return jsxRuntimeExports.jsx(PopperRoot,_extends({as:et,direction:$==null?void 0:$.direction,slots:{root:gt},slotProps:pt??rt},mt,{ref:i}))}),Popper$1=Popper;function formControlState({props:o,states:s,muiFormControl:i}){return s.reduce((a,$)=>(a[$]=o[$],i&&typeof o[$]>"u"&&(a[$]=i[$]),a),{})}const FormControlContext=reactExports.createContext(void 0),FormControlContext$1=FormControlContext;function useFormControl(){return reactExports.useContext(FormControlContext$1)}function GlobalStyles(o){return jsxRuntimeExports.jsx(GlobalStyles$1,_extends({},o,{defaultTheme:defaultTheme$2,themeId:THEME_ID}))}function hasValue(o){return o!=null&&!(Array.isArray(o)&&o.length===0)}function isFilled(o,s=!1){return o&&(hasValue(o.value)&&o.value!==""||s&&hasValue(o.defaultValue)&&o.defaultValue!=="")}function isAdornedStart(o){return o.startAdornment}function getInputBaseUtilityClass(o){return generateUtilityClass$1("MuiInputBase",o)}const inputBaseClasses=generateUtilityClasses$1("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),inputBaseClasses$1=inputBaseClasses,_excluded$L=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],rootOverridesResolver=(o,s)=>{const{ownerState:i}=o;return[s.root,i.formControl&&s.formControl,i.startAdornment&&s.adornedStart,i.endAdornment&&s.adornedEnd,i.error&&s.error,i.size==="small"&&s.sizeSmall,i.multiline&&s.multiline,i.color&&s[`color${capitalize(i.color)}`],i.fullWidth&&s.fullWidth,i.hiddenLabel&&s.hiddenLabel]},inputOverridesResolver=(o,s)=>{const{ownerState:i}=o;return[s.input,i.size==="small"&&s.inputSizeSmall,i.multiline&&s.inputMultiline,i.type==="search"&&s.inputTypeSearch,i.startAdornment&&s.inputAdornedStart,i.endAdornment&&s.inputAdornedEnd,i.hiddenLabel&&s.inputHiddenLabel]},useUtilityClasses$F=o=>{const{classes:s,color:i,disabled:a,error:$,endAdornment:j,focused:_e,formControl:et,fullWidth:tt,hiddenLabel:rt,multiline:nt,readOnly:ot,size:st,startAdornment:dt,type:at}=o,it={root:["root",`color${capitalize(i)}`,a&&"disabled",$&&"error",tt&&"fullWidth",_e&&"focused",et&&"formControl",st&&st!=="medium"&&`size${capitalize(st)}`,nt&&"multiline",dt&&"adornedStart",j&&"adornedEnd",rt&&"hiddenLabel",ot&&"readOnly"],input:["input",a&&"disabled",at==="search"&&"inputTypeSearch",nt&&"inputMultiline",st==="small"&&"inputSizeSmall",rt&&"inputHiddenLabel",dt&&"inputAdornedStart",j&&"inputAdornedEnd",ot&&"readOnly"]};return composeClasses(it,getInputBaseUtilityClass,s)},InputBaseRoot=styled("div",{name:"MuiInputBase",slot:"Root",overridesResolver:rootOverridesResolver})(({theme:o,ownerState:s})=>_extends({},o.typography.body1,{color:(o.vars||o).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${inputBaseClasses$1.disabled}`]:{color:(o.vars||o).palette.text.disabled,cursor:"default"}},s.multiline&&_extends({padding:"4px 0 5px"},s.size==="small"&&{paddingTop:1}),s.fullWidth&&{width:"100%"})),InputBaseComponent=styled("input",{name:"MuiInputBase",slot:"Input",overridesResolver:inputOverridesResolver})(({theme:o,ownerState:s})=>{const i=o.palette.mode==="light",a=_extends({color:"currentColor"},o.vars?{opacity:o.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:o.transitions.create("opacity",{duration:o.transitions.duration.shorter})}),$={opacity:"0 !important"},j=o.vars?{opacity:o.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return _extends({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${inputBaseClasses$1.formControl} &`]:{"&::-webkit-input-placeholder":$,"&::-moz-placeholder":$,"&:-ms-input-placeholder":$,"&::-ms-input-placeholder":$,"&:focus::-webkit-input-placeholder":j,"&:focus::-moz-placeholder":j,"&:focus:-ms-input-placeholder":j,"&:focus::-ms-input-placeholder":j},[`&.${inputBaseClasses$1.disabled}`]:{opacity:1,WebkitTextFillColor:(o.vars||o).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},s.size==="small"&&{paddingTop:1},s.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},s.type==="search"&&{MozAppearance:"textfield"})}),inputGlobalStyles=jsxRuntimeExports.jsx(GlobalStyles,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),InputBase=reactExports.forwardRef(function(s,i){var a;const $=useThemeProps({props:s,name:"MuiInputBase"}),{"aria-describedby":j,autoComplete:_e,autoFocus:et,className:tt,components:rt={},componentsProps:nt={},defaultValue:ot,disabled:st,disableInjectingGlobalStyles:dt,endAdornment:at,fullWidth:it=!1,id:ft,inputComponent:ct="input",inputProps:ut={},inputRef:lt,maxRows:pt,minRows:ht,multiline:gt=!1,name:mt,onBlur:xt,onChange:Ct,onClick:yt,onFocus:Et,onKeyDown:kt,onKeyUp:$t,placeholder:St,readOnly:Rt,renderSuffix:Pt,rows:wt,slotProps:vt={},slots:bt={},startAdornment:Tt,type:Mt="text",value:Ot}=$,Nt=_objectWithoutPropertiesLoose($,_excluded$L),It=ut.value!=null?ut.value:Ot,{current:At}=reactExports.useRef(It!=null),Dt=reactExports.useRef(),qt=reactExports.useCallback(Gt=>{},[]),Ht=useForkRef(Dt,lt,ut.ref,qt),[Ut,Jt]=reactExports.useState(!1),Bt=useFormControl(),Qt=formControlState({props:$,muiFormControl:Bt,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Qt.focused=Bt?Bt.focused:Ut,reactExports.useEffect(()=>{!Bt&&st&&Ut&&(Jt(!1),xt&&xt())},[Bt,st,Ut,xt]);const Ft=Bt&&Bt.onFilled,Vt=Bt&&Bt.onEmpty,Wt=reactExports.useCallback(Gt=>{isFilled(Gt)?Ft&&Ft():Vt&&Vt()},[Ft,Vt]);useEnhancedEffect(()=>{At&&Wt({value:It})},[It,Wt,At]);const cr=Gt=>{if(Qt.disabled){Gt.stopPropagation();return}Et&&Et(Gt),ut.onFocus&&ut.onFocus(Gt),Bt&&Bt.onFocus?Bt.onFocus(Gt):Jt(!0)},ir=Gt=>{xt&&xt(Gt),ut.onBlur&&ut.onBlur(Gt),Bt&&Bt.onBlur?Bt.onBlur(Gt):Jt(!1)},rr=(Gt,...Lt)=>{if(!At){const or=Gt.target||Dt.current;if(or==null)throw new Error(formatMuiErrorMessage(1));Wt({value:or.value})}ut.onChange&&ut.onChange(Gt,...Lt),Ct&&Ct(Gt,...Lt)};reactExports.useEffect(()=>{Wt(Dt.current)},[]);const lr=Gt=>{Dt.current&&Gt.currentTarget===Gt.target&&Dt.current.focus(),yt&&yt(Gt)};let Zt=ct,Yt=ut;gt&&Zt==="input"&&(wt?Yt=_extends({type:void 0,minRows:wt,maxRows:wt},Yt):Yt=_extends({type:void 0,maxRows:pt,minRows:ht},Yt),Zt=TextareaAutosize);const ar=Gt=>{Wt(Gt.animationName==="mui-auto-fill-cancel"?Dt.current:{value:"x"})};reactExports.useEffect(()=>{Bt&&Bt.setAdornedStart(!!Tt)},[Bt,Tt]);const tr=_extends({},$,{color:Qt.color||"primary",disabled:Qt.disabled,endAdornment:at,error:Qt.error,focused:Qt.focused,formControl:Bt,fullWidth:it,hiddenLabel:Qt.hiddenLabel,multiline:gt,size:Qt.size,startAdornment:Tt,type:Mt}),Kt=useUtilityClasses$F(tr),sr=bt.root||rt.Root||InputBaseRoot,nr=vt.root||nt.root||{},ur=bt.input||rt.Input||InputBaseComponent;return Yt=_extends({},Yt,(a=vt.input)!=null?a:nt.input),jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[!dt&&inputGlobalStyles,jsxRuntimeExports.jsxs(sr,_extends({},nr,!isHostComponent(sr)&&{ownerState:_extends({},tr,nr.ownerState)},{ref:i,onClick:lr},Nt,{className:clsx(Kt.root,nr.className,tt,Rt&&"MuiInputBase-readOnly"),children:[Tt,jsxRuntimeExports.jsx(FormControlContext$1.Provider,{value:null,children:jsxRuntimeExports.jsx(ur,_extends({ownerState:tr,"aria-invalid":Qt.error,"aria-describedby":j,autoComplete:_e,autoFocus:et,defaultValue:ot,disabled:Qt.disabled,id:ft,onAnimationStart:ar,name:mt,placeholder:St,readOnly:Rt,required:Qt.required,rows:wt,value:It,onKeyDown:kt,onKeyUp:$t,type:Mt},Yt,!isHostComponent(ur)&&{as:Zt,ownerState:_extends({},tr,Yt.ownerState)},{ref:Ht,className:clsx(Kt.input,Yt.className,Rt&&"MuiInputBase-readOnly"),onBlur:ir,onChange:rr,onFocus:cr}))}),at,Pt?Pt(_extends({},Qt,{startAdornment:Tt})):null]}))]})}),InputBase$1=InputBase;function getInputUtilityClass(o){return generateUtilityClass$1("MuiInput",o)}const inputClasses=_extends({},inputBaseClasses$1,generateUtilityClasses$1("MuiInput",["root","underline","input"])),inputClasses$1=inputClasses;function getOutlinedInputUtilityClass(o){return generateUtilityClass$1("MuiOutlinedInput",o)}const outlinedInputClasses=_extends({},inputBaseClasses$1,generateUtilityClasses$1("MuiOutlinedInput",["root","notchedOutline","input"])),outlinedInputClasses$1=outlinedInputClasses;function getFilledInputUtilityClass(o){return generateUtilityClass$1("MuiFilledInput",o)}const filledInputClasses=_extends({},inputBaseClasses$1,generateUtilityClasses$1("MuiFilledInput",["root","underline","input"])),filledInputClasses$1=filledInputClasses,ArrowDropDownIcon=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),_excluded$K=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],styles$2={entering:{opacity:1},entered:{opacity:1}},Fade=reactExports.forwardRef(function(s,i){const a=useTheme(),$={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{addEndListener:j,appear:_e=!0,children:et,easing:tt,in:rt,onEnter:nt,onEntered:ot,onEntering:st,onExit:dt,onExited:at,onExiting:it,style:ft,timeout:ct=$,TransitionComponent:ut=Transition$1}=s,lt=_objectWithoutPropertiesLoose(s,_excluded$K),pt=reactExports.useRef(null),ht=useForkRef(pt,et.ref,i),gt=St=>Rt=>{if(St){const Pt=pt.current;Rt===void 0?St(Pt):St(Pt,Rt)}},mt=gt(st),xt=gt((St,Rt)=>{reflow(St);const Pt=getTransitionProps({style:ft,timeout:ct,easing:tt},{mode:"enter"});St.style.webkitTransition=a.transitions.create("opacity",Pt),St.style.transition=a.transitions.create("opacity",Pt),nt&&nt(St,Rt)}),Ct=gt(ot),yt=gt(it),Et=gt(St=>{const Rt=getTransitionProps({style:ft,timeout:ct,easing:tt},{mode:"exit"});St.style.webkitTransition=a.transitions.create("opacity",Rt),St.style.transition=a.transitions.create("opacity",Rt),dt&&dt(St)}),kt=gt(at),$t=St=>{j&&j(pt.current,St)};return jsxRuntimeExports.jsx(ut,_extends({appear:_e,in:rt,nodeRef:pt,onEnter:xt,onEntered:Ct,onEntering:mt,onExit:Et,onExited:kt,onExiting:yt,addEndListener:$t,timeout:ct},lt,{children:(St,Rt)=>reactExports.cloneElement(et,_extends({style:_extends({opacity:0,visibility:St==="exited"&&!rt?"hidden":void 0},styles$2[St],ft,et.props.style),ref:ht},Rt))}))}),Fade$1=Fade;function getBackdropUtilityClass(o){return generateUtilityClass$1("MuiBackdrop",o)}generateUtilityClasses$1("MuiBackdrop",["root","invisible"]);const _excluded$J=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],useUtilityClasses$E=o=>{const{classes:s,invisible:i}=o;return composeClasses({root:["root",i&&"invisible"]},getBackdropUtilityClass,s)},BackdropRoot=styled("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.invisible&&s.invisible]}})(({ownerState:o})=>_extends({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"},o.invisible&&{backgroundColor:"transparent"})),Backdrop=reactExports.forwardRef(function(s,i){var a,$,j;const _e=useThemeProps({props:s,name:"MuiBackdrop"}),{children:et,className:tt,component:rt="div",components:nt={},componentsProps:ot={},invisible:st=!1,open:dt,slotProps:at={},slots:it={},TransitionComponent:ft=Fade$1,transitionDuration:ct}=_e,ut=_objectWithoutPropertiesLoose(_e,_excluded$J),lt=_extends({},_e,{component:rt,invisible:st}),pt=useUtilityClasses$E(lt),ht=(a=at.root)!=null?a:ot.root;return jsxRuntimeExports.jsx(ft,_extends({in:dt,timeout:ct},ut,{children:jsxRuntimeExports.jsx(BackdropRoot,_extends({"aria-hidden":!0},ht,{as:($=(j=it.root)!=null?j:nt.Root)!=null?$:rt,className:clsx(pt.root,tt,ht==null?void 0:ht.className),ownerState:_extends({},lt,ht==null?void 0:ht.ownerState),classes:pt,ref:i,children:et}))}))}),Backdrop$1=Backdrop,boxClasses=generateUtilityClasses$1("MuiBox",["root"]),boxClasses$1=boxClasses,defaultTheme=createTheme(),Box=createBox({themeId:THEME_ID,defaultTheme,defaultClassName:boxClasses$1.root,generateClassName:ClassNameGenerator$1.generate}),Box$1=Box;function getButtonUtilityClass(o){return generateUtilityClass$1("MuiButton",o)}const buttonClasses=generateUtilityClasses$1("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","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),buttonClasses$1=buttonClasses,ButtonGroupContext=reactExports.createContext({}),ButtonGroupContext$1=ButtonGroupContext,ButtonGroupButtonContext=reactExports.createContext(void 0),ButtonGroupButtonContext$1=ButtonGroupButtonContext,_excluded$I=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],useUtilityClasses$D=o=>{const{color:s,disableElevation:i,fullWidth:a,size:$,variant:j,classes:_e}=o,et={root:["root",j,`${j}${capitalize(s)}`,`size${capitalize($)}`,`${j}Size${capitalize($)}`,s==="inherit"&&"colorInherit",i&&"disableElevation",a&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${capitalize($)}`],endIcon:["endIcon",`iconSize${capitalize($)}`]},tt=composeClasses(et,getButtonUtilityClass,_e);return _extends({},_e,tt)},commonIconStyles=o=>_extends({},o.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},o.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},o.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),ButtonRoot=styled(ButtonBase$1,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiButton",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,s[i.variant],s[`${i.variant}${capitalize(i.color)}`],s[`size${capitalize(i.size)}`],s[`${i.variant}Size${capitalize(i.size)}`],i.color==="inherit"&&s.colorInherit,i.disableElevation&&s.disableElevation,i.fullWidth&&s.fullWidth]}})(({theme:o,ownerState:s})=>{var i,a;const $=o.palette.mode==="light"?o.palette.grey[300]:o.palette.grey[800],j=o.palette.mode==="light"?o.palette.grey.A100:o.palette.grey[700];return _extends({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":_extends({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:alpha(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},s.variant==="text"&&s.color!=="inherit"&&{backgroundColor:o.vars?`rgba(${o.vars.palette[s.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:alpha(o.palette[s.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},s.variant==="outlined"&&s.color!=="inherit"&&{border:`1px solid ${(o.vars||o).palette[s.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[s.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:alpha(o.palette[s.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},s.variant==="contained"&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:j,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},s.variant==="contained"&&s.color!=="inherit"&&{backgroundColor:(o.vars||o).palette[s.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[s.color].main}}),"&:active":_extends({},s.variant==="contained"&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${buttonClasses$1.focusVisible}`]:_extends({},s.variant==="contained"&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${buttonClasses$1.disabled}`]:_extends({color:(o.vars||o).palette.action.disabled},s.variant==="outlined"&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},s.variant==="contained"&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},s.variant==="text"&&{padding:"6px 8px"},s.variant==="text"&&s.color!=="inherit"&&{color:(o.vars||o).palette[s.color].main},s.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},s.variant==="outlined"&&s.color!=="inherit"&&{color:(o.vars||o).palette[s.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[s.color].mainChannel} / 0.5)`:`1px solid ${alpha(o.palette[s.color].main,.5)}`},s.variant==="contained"&&{color:o.vars?o.vars.palette.text.primary:(i=(a=o.palette).getContrastText)==null?void 0:i.call(a,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:$,boxShadow:(o.vars||o).shadows[2]},s.variant==="contained"&&s.color!=="inherit"&&{color:(o.vars||o).palette[s.color].contrastText,backgroundColor:(o.vars||o).palette[s.color].main},s.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},s.size==="small"&&s.variant==="text"&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},s.size==="large"&&s.variant==="text"&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},s.size==="small"&&s.variant==="outlined"&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},s.size==="large"&&s.variant==="outlined"&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},s.size==="small"&&s.variant==="contained"&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},s.size==="large"&&s.variant==="contained"&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},s.fullWidth&&{width:"100%"})},({ownerState:o})=>o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${buttonClasses$1.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${buttonClasses$1.disabled}`]:{boxShadow:"none"}}),ButtonStartIcon=styled("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.startIcon,s[`iconSize${capitalize(i.size)}`]]}})(({ownerState:o})=>_extends({display:"inherit",marginRight:8,marginLeft:-4},o.size==="small"&&{marginLeft:-2},commonIconStyles(o))),ButtonEndIcon=styled("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.endIcon,s[`iconSize${capitalize(i.size)}`]]}})(({ownerState:o})=>_extends({display:"inherit",marginRight:-4,marginLeft:8},o.size==="small"&&{marginRight:-2},commonIconStyles(o))),Button=reactExports.forwardRef(function(s,i){const a=reactExports.useContext(ButtonGroupContext$1),$=reactExports.useContext(ButtonGroupButtonContext$1),j=resolveProps(a,s),_e=useThemeProps({props:j,name:"MuiButton"}),{children:et,color:tt="primary",component:rt="button",className:nt,disabled:ot=!1,disableElevation:st=!1,disableFocusRipple:dt=!1,endIcon:at,focusVisibleClassName:it,fullWidth:ft=!1,size:ct="medium",startIcon:ut,type:lt,variant:pt="text"}=_e,ht=_objectWithoutPropertiesLoose(_e,_excluded$I),gt=_extends({},_e,{color:tt,component:rt,disabled:ot,disableElevation:st,disableFocusRipple:dt,fullWidth:ft,size:ct,type:lt,variant:pt}),mt=useUtilityClasses$D(gt),xt=ut&&jsxRuntimeExports.jsx(ButtonStartIcon,{className:mt.startIcon,ownerState:gt,children:ut}),Ct=at&&jsxRuntimeExports.jsx(ButtonEndIcon,{className:mt.endIcon,ownerState:gt,children:at}),yt=$||"";return jsxRuntimeExports.jsxs(ButtonRoot,_extends({ownerState:gt,className:clsx(a.className,mt.root,nt,yt),component:rt,disabled:ot,focusRipple:!dt,focusVisibleClassName:clsx(mt.focusVisible,it),ref:i,type:lt},ht,{classes:mt,children:[xt,et,Ct]}))}),Button$1=Button;function getCardUtilityClass(o){return generateUtilityClass$1("MuiCard",o)}generateUtilityClasses$1("MuiCard",["root"]);const _excluded$H=["className","raised"],useUtilityClasses$C=o=>{const{classes:s}=o;return composeClasses({root:["root"]},getCardUtilityClass,s)},CardRoot=styled(Paper$1,{name:"MuiCard",slot:"Root",overridesResolver:(o,s)=>s.root})(()=>({overflow:"hidden"})),Card=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiCard"}),{className:$,raised:j=!1}=a,_e=_objectWithoutPropertiesLoose(a,_excluded$H),et=_extends({},a,{raised:j}),tt=useUtilityClasses$C(et);return jsxRuntimeExports.jsx(CardRoot,_extends({className:clsx(tt.root,$),elevation:j?8:void 0,ref:i,ownerState:et},_e))}),Card$1=Card;function getCardActionsUtilityClass(o){return generateUtilityClass$1("MuiCardActions",o)}generateUtilityClasses$1("MuiCardActions",["root","spacing"]);const _excluded$G=["disableSpacing","className"],useUtilityClasses$B=o=>{const{classes:s,disableSpacing:i}=o;return composeClasses({root:["root",!i&&"spacing"]},getCardActionsUtilityClass,s)},CardActionsRoot=styled("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,!i.disableSpacing&&s.spacing]}})(({ownerState:o})=>_extends({display:"flex",alignItems:"center",padding:8},!o.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),CardActions=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiCardActions"}),{disableSpacing:$=!1,className:j}=a,_e=_objectWithoutPropertiesLoose(a,_excluded$G),et=_extends({},a,{disableSpacing:$}),tt=useUtilityClasses$B(et);return jsxRuntimeExports.jsx(CardActionsRoot,_extends({className:clsx(tt.root,j),ownerState:et,ref:i},_e))}),CardActions$1=CardActions;function getCardContentUtilityClass(o){return generateUtilityClass$1("MuiCardContent",o)}generateUtilityClasses$1("MuiCardContent",["root"]);const _excluded$F=["className","component"],useUtilityClasses$A=o=>{const{classes:s}=o;return composeClasses({root:["root"]},getCardContentUtilityClass,s)},CardContentRoot=styled("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(o,s)=>s.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),CardContent=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiCardContent"}),{className:$,component:j="div"}=a,_e=_objectWithoutPropertiesLoose(a,_excluded$F),et=_extends({},a,{component:j}),tt=useUtilityClasses$A(et);return jsxRuntimeExports.jsx(CardContentRoot,_extends({as:j,className:clsx(tt.root,$),ownerState:et,ref:i},_e))}),CardContent$1=CardContent;function getSwitchBaseUtilityClass(o){return generateUtilityClass$1("PrivateSwitchBase",o)}generateUtilityClasses$1("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const _excluded$E=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],useUtilityClasses$z=o=>{const{classes:s,checked:i,disabled:a,edge:$}=o,j={root:["root",i&&"checked",a&&"disabled",$&&`edge${capitalize($)}`],input:["input"]};return composeClasses(j,getSwitchBaseUtilityClass,s)},SwitchBaseRoot=styled(ButtonBase$1)(({ownerState:o})=>_extends({padding:9,borderRadius:"50%"},o.edge==="start"&&{marginLeft:o.size==="small"?-3:-12},o.edge==="end"&&{marginRight:o.size==="small"?-3:-12})),SwitchBaseInput=styled("input",{shouldForwardProp:rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),SwitchBase=reactExports.forwardRef(function(s,i){const{autoFocus:a,checked:$,checkedIcon:j,className:_e,defaultChecked:et,disabled:tt,disableFocusRipple:rt=!1,edge:nt=!1,icon:ot,id:st,inputProps:dt,inputRef:at,name:it,onBlur:ft,onChange:ct,onFocus:ut,readOnly:lt,required:pt=!1,tabIndex:ht,type:gt,value:mt}=s,xt=_objectWithoutPropertiesLoose(s,_excluded$E),[Ct,yt]=useControlled({controlled:$,default:!!et,name:"SwitchBase",state:"checked"}),Et=useFormControl(),kt=bt=>{ut&&ut(bt),Et&&Et.onFocus&&Et.onFocus(bt)},$t=bt=>{ft&&ft(bt),Et&&Et.onBlur&&Et.onBlur(bt)},St=bt=>{if(bt.nativeEvent.defaultPrevented)return;const Tt=bt.target.checked;yt(Tt),ct&&ct(bt,Tt)};let Rt=tt;Et&&typeof Rt>"u"&&(Rt=Et.disabled);const Pt=gt==="checkbox"||gt==="radio",wt=_extends({},s,{checked:Ct,disabled:Rt,disableFocusRipple:rt,edge:nt}),vt=useUtilityClasses$z(wt);return jsxRuntimeExports.jsxs(SwitchBaseRoot,_extends({component:"span",className:clsx(vt.root,_e),centerRipple:!0,focusRipple:!rt,disabled:Rt,tabIndex:null,role:void 0,onFocus:kt,onBlur:$t,ownerState:wt,ref:i},xt,{children:[jsxRuntimeExports.jsx(SwitchBaseInput,_extends({autoFocus:a,checked:$,defaultChecked:et,className:vt.input,disabled:Rt,id:Pt?st:void 0,name:it,onChange:St,readOnly:lt,ref:at,required:pt,ownerState:wt,tabIndex:ht,type:gt},gt==="checkbox"&&mt===void 0?{}:{value:mt},dt)),Ct?j:ot]}))}),SwitchBase$1=SwitchBase,CheckBoxOutlineBlankIcon=createSvgIcon$1(jsxRuntimeExports.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"),CheckBoxIcon=createSvgIcon$1(jsxRuntimeExports.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"),IndeterminateCheckBoxIcon=createSvgIcon$1(jsxRuntimeExports.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 getCheckboxUtilityClass(o){return generateUtilityClass$1("MuiCheckbox",o)}const checkboxClasses=generateUtilityClasses$1("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),checkboxClasses$1=checkboxClasses,_excluded$D=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],useUtilityClasses$y=o=>{const{classes:s,indeterminate:i,color:a,size:$}=o,j={root:["root",i&&"indeterminate",`color${capitalize(a)}`,`size${capitalize($)}`]},_e=composeClasses(j,getCheckboxUtilityClass,s);return _extends({},s,_e)},CheckboxRoot=styled(SwitchBase$1,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.indeterminate&&s.indeterminate,s[`size${capitalize(i.size)}`],i.color!=="default"&&s[`color${capitalize(i.color)}`]]}})(({theme:o,ownerState:s})=>_extends({color:(o.vars||o).palette.text.secondary},!s.disableRipple&&{"&:hover":{backgroundColor:o.vars?`rgba(${s.color==="default"?o.vars.palette.action.activeChannel:o.vars.palette[s.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:alpha(s.color==="default"?o.palette.action.active:o.palette[s.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},s.color!=="default"&&{[`&.${checkboxClasses$1.checked}, &.${checkboxClasses$1.indeterminate}`]:{color:(o.vars||o).palette[s.color].main},[`&.${checkboxClasses$1.disabled}`]:{color:(o.vars||o).palette.action.disabled}})),defaultCheckedIcon=jsxRuntimeExports.jsx(CheckBoxIcon,{}),defaultIcon=jsxRuntimeExports.jsx(CheckBoxOutlineBlankIcon,{}),defaultIndeterminateIcon=jsxRuntimeExports.jsx(IndeterminateCheckBoxIcon,{}),Checkbox=reactExports.forwardRef(function(s,i){var a,$;const j=useThemeProps({props:s,name:"MuiCheckbox"}),{checkedIcon:_e=defaultCheckedIcon,color:et="primary",icon:tt=defaultIcon,indeterminate:rt=!1,indeterminateIcon:nt=defaultIndeterminateIcon,inputProps:ot,size:st="medium",className:dt}=j,at=_objectWithoutPropertiesLoose(j,_excluded$D),it=rt?nt:tt,ft=rt?nt:_e,ct=_extends({},j,{color:et,indeterminate:rt,size:st}),ut=useUtilityClasses$y(ct);return jsxRuntimeExports.jsx(CheckboxRoot,_extends({type:"checkbox",inputProps:_extends({"data-indeterminate":rt},ot),icon:reactExports.cloneElement(it,{fontSize:(a=it.props.fontSize)!=null?a:st}),checkedIcon:reactExports.cloneElement(ft,{fontSize:($=ft.props.fontSize)!=null?$:st}),ownerState:ct,ref:i,className:clsx(ut.root,dt)},at,{classes:ut}))}),Checkbox$1=Checkbox,html=(o,s)=>_extends({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},s&&!o.vars&&{colorScheme:o.palette.mode}),body=o=>_extends({color:(o.vars||o).palette.text.primary},o.typography.body1,{backgroundColor:(o.vars||o).palette.background.default,"@media print":{backgroundColor:(o.vars||o).palette.common.white}}),styles$1=(o,s=!1)=>{var i;const a={};s&&o.colorSchemes&&Object.entries(o.colorSchemes).forEach(([_e,et])=>{var tt;a[o.getColorSchemeSelector(_e).replace(/\s*&/,"")]={colorScheme:(tt=et.palette)==null?void 0:tt.mode}});let $=_extends({html:html(o,s),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:o.typography.fontWeightBold},body:_extends({margin:0},body(o),{"&::backdrop":{backgroundColor:(o.vars||o).palette.background.default}})},a);const j=(i=o.components)==null||(i=i.MuiCssBaseline)==null?void 0:i.styleOverrides;return j&&($=[$,j]),$};function CssBaseline(o){const s=useThemeProps({props:o,name:"MuiCssBaseline"}),{children:i,enableColorScheme:a=!1}=s;return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx(GlobalStyles,{styles:$=>styles$1($,a)}),i]})}function getModalUtilityClass(o){return generateUtilityClass$1("MuiModal",o)}generateUtilityClasses$1("MuiModal",["root","hidden","backdrop"]);const _excluded$C=["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"],useUtilityClasses$x=o=>{const{open:s,exited:i,classes:a}=o;return composeClasses({root:["root",!s&&i&&"hidden"],backdrop:["backdrop"]},getModalUtilityClass,a)},ModalRoot=styled("div",{name:"MuiModal",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,!i.open&&i.exited&&s.hidden]}})(({theme:o,ownerState:s})=>_extends({position:"fixed",zIndex:(o.vars||o).zIndex.modal,right:0,bottom:0,top:0,left:0},!s.open&&s.exited&&{visibility:"hidden"})),ModalBackdrop=styled(Backdrop$1,{name:"MuiModal",slot:"Backdrop",overridesResolver:(o,s)=>s.backdrop})({zIndex:-1}),Modal=reactExports.forwardRef(function(s,i){var a,$,j,_e,et,tt;const rt=useThemeProps({name:"MuiModal",props:s}),{BackdropComponent:nt=ModalBackdrop,BackdropProps:ot,className:st,closeAfterTransition:dt=!1,children:at,container:it,component:ft,components:ct={},componentsProps:ut={},disableAutoFocus:lt=!1,disableEnforceFocus:pt=!1,disableEscapeKeyDown:ht=!1,disablePortal:gt=!1,disableRestoreFocus:mt=!1,disableScrollLock:xt=!1,hideBackdrop:Ct=!1,keepMounted:yt=!1,onBackdropClick:Et,open:kt,slotProps:$t,slots:St}=rt,Rt=_objectWithoutPropertiesLoose(rt,_excluded$C),Pt=_extends({},rt,{closeAfterTransition:dt,disableAutoFocus:lt,disableEnforceFocus:pt,disableEscapeKeyDown:ht,disablePortal:gt,disableRestoreFocus:mt,disableScrollLock:xt,hideBackdrop:Ct,keepMounted:yt}),{getRootProps:wt,getBackdropProps:vt,getTransitionProps:bt,portalRef:Tt,isTopModal:Mt,exited:Ot,hasTransition:Nt}=useModal(_extends({},Pt,{rootRef:i})),It=_extends({},Pt,{exited:Ot}),At=useUtilityClasses$x(It),Dt={};if(at.props.tabIndex===void 0&&(Dt.tabIndex="-1"),Nt){const{onEnter:Ft,onExited:Vt}=bt();Dt.onEnter=Ft,Dt.onExited=Vt}const qt=(a=($=St==null?void 0:St.root)!=null?$:ct.Root)!=null?a:ModalRoot,Ht=(j=(_e=St==null?void 0:St.backdrop)!=null?_e:ct.Backdrop)!=null?j:nt,Ut=(et=$t==null?void 0:$t.root)!=null?et:ut.root,Jt=(tt=$t==null?void 0:$t.backdrop)!=null?tt:ut.backdrop,Bt=useSlotProps({elementType:qt,externalSlotProps:Ut,externalForwardedProps:Rt,getSlotProps:wt,additionalProps:{ref:i,as:ft},ownerState:It,className:clsx(st,Ut==null?void 0:Ut.className,At==null?void 0:At.root,!It.open&&It.exited&&(At==null?void 0:At.hidden))}),Qt=useSlotProps({elementType:Ht,externalSlotProps:Jt,additionalProps:ot,getSlotProps:Ft=>vt(_extends({},Ft,{onClick:Vt=>{Et&&Et(Vt),Ft!=null&&Ft.onClick&&Ft.onClick(Vt)}})),className:clsx(Jt==null?void 0:Jt.className,ot==null?void 0:ot.className,At==null?void 0:At.backdrop),ownerState:It});return!yt&&!kt&&(!Nt||Ot)?null:jsxRuntimeExports.jsx(Portal,{ref:Tt,container:it,disablePortal:gt,children:jsxRuntimeExports.jsxs(qt,_extends({},Bt,{children:[!Ct&&nt?jsxRuntimeExports.jsx(Ht,_extends({},Qt)):null,jsxRuntimeExports.jsx(FocusTrap,{disableEnforceFocus:pt,disableAutoFocus:lt,disableRestoreFocus:mt,isEnabled:Mt,open:kt,children:reactExports.cloneElement(at,Dt)})]}))})}),Modal$1=Modal;function getDividerUtilityClass(o){return generateUtilityClass$1("MuiDivider",o)}const dividerClasses=generateUtilityClasses$1("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),dividerClasses$1=dividerClasses,_excluded$B=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],useUtilityClasses$w=o=>{const{absolute:s,children:i,classes:a,flexItem:$,light:j,orientation:_e,textAlign:et,variant:tt}=o;return composeClasses({root:["root",s&&"absolute",tt,j&&"light",_e==="vertical"&&"vertical",$&&"flexItem",i&&"withChildren",i&&_e==="vertical"&&"withChildrenVertical",et==="right"&&_e!=="vertical"&&"textAlignRight",et==="left"&&_e!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",_e==="vertical"&&"wrapperVertical"]},getDividerUtilityClass,a)},DividerRoot=styled("div",{name:"MuiDivider",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.absolute&&s.absolute,s[i.variant],i.light&&s.light,i.orientation==="vertical"&&s.vertical,i.flexItem&&s.flexItem,i.children&&s.withChildren,i.children&&i.orientation==="vertical"&&s.withChildrenVertical,i.textAlign==="right"&&i.orientation!=="vertical"&&s.textAlignRight,i.textAlign==="left"&&i.orientation!=="vertical"&&s.textAlignLeft]}})(({theme:o,ownerState:s})=>_extends({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(o.vars||o).palette.divider,borderBottomWidth:"thin"},s.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},s.light&&{borderColor:o.vars?`rgba(${o.vars.palette.dividerChannel} / 0.08)`:alpha(o.palette.divider,.08)},s.variant==="inset"&&{marginLeft:72},s.variant==="middle"&&s.orientation==="horizontal"&&{marginLeft:o.spacing(2),marginRight:o.spacing(2)},s.variant==="middle"&&s.orientation==="vertical"&&{marginTop:o.spacing(1),marginBottom:o.spacing(1)},s.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},s.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:o})=>_extends({},o.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:o,ownerState:s})=>_extends({},s.children&&s.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(o.vars||o).palette.divider}`}}),({theme:o,ownerState:s})=>_extends({},s.children&&s.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(o.vars||o).palette.divider}`}}),({ownerState:o})=>_extends({},o.textAlign==="right"&&o.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},o.textAlign==="left"&&o.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),DividerWrapper=styled("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.wrapper,i.orientation==="vertical"&&s.wrapperVertical]}})(({theme:o,ownerState:s})=>_extends({display:"inline-block",paddingLeft:`calc(${o.spacing(1)} * 1.2)`,paddingRight:`calc(${o.spacing(1)} * 1.2)`},s.orientation==="vertical"&&{paddingTop:`calc(${o.spacing(1)} * 1.2)`,paddingBottom:`calc(${o.spacing(1)} * 1.2)`})),Divider=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiDivider"}),{absolute:$=!1,children:j,className:_e,component:et=j?"div":"hr",flexItem:tt=!1,light:rt=!1,orientation:nt="horizontal",role:ot=et!=="hr"?"separator":void 0,textAlign:st="center",variant:dt="fullWidth"}=a,at=_objectWithoutPropertiesLoose(a,_excluded$B),it=_extends({},a,{absolute:$,component:et,flexItem:tt,light:rt,orientation:nt,role:ot,textAlign:st,variant:dt}),ft=useUtilityClasses$w(it);return jsxRuntimeExports.jsx(DividerRoot,_extends({as:et,className:clsx(ft.root,_e),role:ot,ref:i,ownerState:it},at,{children:j?jsxRuntimeExports.jsx(DividerWrapper,{className:ft.wrapper,ownerState:it,children:j}):null}))});Divider.muiSkipListHighlight=!0;const Divider$1=Divider,_excluded$A=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function getTranslateValue(o,s,i){const a=s.getBoundingClientRect(),$=i&&i.getBoundingClientRect(),j=ownerWindow(s);let _e;if(s.fakeTransform)_e=s.fakeTransform;else{const rt=j.getComputedStyle(s);_e=rt.getPropertyValue("-webkit-transform")||rt.getPropertyValue("transform")}let et=0,tt=0;if(_e&&_e!=="none"&&typeof _e=="string"){const rt=_e.split("(")[1].split(")")[0].split(",");et=parseInt(rt[4],10),tt=parseInt(rt[5],10)}return o==="left"?$?`translateX(${$.right+et-a.left}px)`:`translateX(${j.innerWidth+et-a.left}px)`:o==="right"?$?`translateX(-${a.right-$.left-et}px)`:`translateX(-${a.left+a.width-et}px)`:o==="up"?$?`translateY(${$.bottom+tt-a.top}px)`:`translateY(${j.innerHeight+tt-a.top}px)`:$?`translateY(-${a.top-$.top+a.height-tt}px)`:`translateY(-${a.top+a.height-tt}px)`}function resolveContainer(o){return typeof o=="function"?o():o}function setTranslateValue(o,s,i){const a=resolveContainer(i),$=getTranslateValue(o,s,a);$&&(s.style.webkitTransform=$,s.style.transform=$)}const Slide=reactExports.forwardRef(function(s,i){const a=useTheme(),$={enter:a.transitions.easing.easeOut,exit:a.transitions.easing.sharp},j={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{addEndListener:_e,appear:et=!0,children:tt,container:rt,direction:nt="down",easing:ot=$,in:st,onEnter:dt,onEntered:at,onEntering:it,onExit:ft,onExited:ct,onExiting:ut,style:lt,timeout:pt=j,TransitionComponent:ht=Transition$1}=s,gt=_objectWithoutPropertiesLoose(s,_excluded$A),mt=reactExports.useRef(null),xt=useForkRef(tt.ref,mt,i),Ct=vt=>bt=>{vt&&(bt===void 0?vt(mt.current):vt(mt.current,bt))},yt=Ct((vt,bt)=>{setTranslateValue(nt,vt,rt),reflow(vt),dt&&dt(vt,bt)}),Et=Ct((vt,bt)=>{const Tt=getTransitionProps({timeout:pt,style:lt,easing:ot},{mode:"enter"});vt.style.webkitTransition=a.transitions.create("-webkit-transform",_extends({},Tt)),vt.style.transition=a.transitions.create("transform",_extends({},Tt)),vt.style.webkitTransform="none",vt.style.transform="none",it&&it(vt,bt)}),kt=Ct(at),$t=Ct(ut),St=Ct(vt=>{const bt=getTransitionProps({timeout:pt,style:lt,easing:ot},{mode:"exit"});vt.style.webkitTransition=a.transitions.create("-webkit-transform",bt),vt.style.transition=a.transitions.create("transform",bt),setTranslateValue(nt,vt,rt),ft&&ft(vt)}),Rt=Ct(vt=>{vt.style.webkitTransition="",vt.style.transition="",ct&&ct(vt)}),Pt=vt=>{_e&&_e(mt.current,vt)},wt=reactExports.useCallback(()=>{mt.current&&setTranslateValue(nt,mt.current,rt)},[nt,rt]);return reactExports.useEffect(()=>{if(st||nt==="down"||nt==="right")return;const vt=debounce$1(()=>{mt.current&&setTranslateValue(nt,mt.current,rt)}),bt=ownerWindow(mt.current);return bt.addEventListener("resize",vt),()=>{vt.clear(),bt.removeEventListener("resize",vt)}},[nt,st,rt]),reactExports.useEffect(()=>{st||wt()},[st,wt]),jsxRuntimeExports.jsx(ht,_extends({nodeRef:mt,onEnter:yt,onEntered:kt,onEntering:Et,onExit:St,onExited:Rt,onExiting:$t,addEndListener:Pt,appear:et,in:st,timeout:pt},gt,{children:(vt,bt)=>reactExports.cloneElement(tt,_extends({ref:xt,style:_extends({visibility:vt==="exited"&&!st?"hidden":void 0},lt,tt.props.style)},bt))}))}),Slide$1=Slide;function getDrawerUtilityClass(o){return generateUtilityClass$1("MuiDrawer",o)}generateUtilityClasses$1("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const _excluded$z=["BackdropProps"],_excluded2$4=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],overridesResolver$3=(o,s)=>{const{ownerState:i}=o;return[s.root,(i.variant==="permanent"||i.variant==="persistent")&&s.docked,s.modal]},useUtilityClasses$v=o=>{const{classes:s,anchor:i,variant:a}=o,$={root:["root"],docked:[(a==="permanent"||a==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${capitalize(i)}`,a!=="temporary"&&`paperAnchorDocked${capitalize(i)}`]};return composeClasses($,getDrawerUtilityClass,s)},DrawerRoot=styled(Modal$1,{name:"MuiDrawer",slot:"Root",overridesResolver:overridesResolver$3})(({theme:o})=>({zIndex:(o.vars||o).zIndex.drawer})),DrawerDockedRoot=styled("div",{shouldForwardProp:rootShouldForwardProp,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:overridesResolver$3})({flex:"0 0 auto"}),DrawerPaper=styled(Paper$1,{name:"MuiDrawer",slot:"Paper",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.paper,s[`paperAnchor${capitalize(i.anchor)}`],i.variant!=="temporary"&&s[`paperAnchorDocked${capitalize(i.anchor)}`]]}})(({theme:o,ownerState:s})=>_extends({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(o.vars||o).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},s.anchor==="left"&&{left:0},s.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},s.anchor==="right"&&{right:0},s.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},s.anchor==="left"&&s.variant!=="temporary"&&{borderRight:`1px solid ${(o.vars||o).palette.divider}`},s.anchor==="top"&&s.variant!=="temporary"&&{borderBottom:`1px solid ${(o.vars||o).palette.divider}`},s.anchor==="right"&&s.variant!=="temporary"&&{borderLeft:`1px solid ${(o.vars||o).palette.divider}`},s.anchor==="bottom"&&s.variant!=="temporary"&&{borderTop:`1px solid ${(o.vars||o).palette.divider}`})),oppositeDirection={left:"right",right:"left",top:"down",bottom:"up"};function isHorizontal(o){return["left","right"].indexOf(o)!==-1}function getAnchor(o,s){return o.direction==="rtl"&&isHorizontal(s)?oppositeDirection[s]:s}const Drawer=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiDrawer"}),$=useTheme(),j={enter:$.transitions.duration.enteringScreen,exit:$.transitions.duration.leavingScreen},{anchor:_e="left",BackdropProps:et,children:tt,className:rt,elevation:nt=16,hideBackdrop:ot=!1,ModalProps:{BackdropProps:st}={},onClose:dt,open:at=!1,PaperProps:it={},SlideProps:ft,TransitionComponent:ct=Slide$1,transitionDuration:ut=j,variant:lt="temporary"}=a,pt=_objectWithoutPropertiesLoose(a.ModalProps,_excluded$z),ht=_objectWithoutPropertiesLoose(a,_excluded2$4),gt=reactExports.useRef(!1);reactExports.useEffect(()=>{gt.current=!0},[]);const mt=getAnchor($,_e),Ct=_extends({},a,{anchor:_e,elevation:nt,open:at,variant:lt},ht),yt=useUtilityClasses$v(Ct),Et=jsxRuntimeExports.jsx(DrawerPaper,_extends({elevation:lt==="temporary"?nt:0,square:!0},it,{className:clsx(yt.paper,it.className),ownerState:Ct,children:tt}));if(lt==="permanent")return jsxRuntimeExports.jsx(DrawerDockedRoot,_extends({className:clsx(yt.root,yt.docked,rt),ownerState:Ct,ref:i},ht,{children:Et}));const kt=jsxRuntimeExports.jsx(ct,_extends({in:at,direction:oppositeDirection[mt],timeout:ut,appear:gt.current},ft,{children:Et}));return lt==="persistent"?jsxRuntimeExports.jsx(DrawerDockedRoot,_extends({className:clsx(yt.root,yt.docked,rt),ownerState:Ct,ref:i},ht,{children:kt})):jsxRuntimeExports.jsx(DrawerRoot,_extends({BackdropProps:_extends({},et,st,{transitionDuration:ut}),className:clsx(yt.root,yt.modal,rt),open:at,ownerState:Ct,onClose:dt,hideBackdrop:ot,ref:i},ht,pt,{children:kt}))}),Drawer$1=Drawer;function getFabUtilityClass(o){return generateUtilityClass$1("MuiFab",o)}const fabClasses=generateUtilityClasses$1("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),fabClasses$1=fabClasses,_excluded$y=["children","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"],useUtilityClasses$u=o=>{const{color:s,variant:i,classes:a,size:$}=o,j={root:["root",i,`size${capitalize($)}`,s==="inherit"?"colorInherit":s]},_e=composeClasses(j,getFabUtilityClass,a);return _extends({},a,_e)},FabRoot=styled(ButtonBase$1,{name:"MuiFab",slot:"Root",shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,s[i.variant],s[`size${capitalize(i.size)}`],i.color==="inherit"&&s.colorInherit,s[capitalize(i.size)],s[i.color]]}})(({theme:o,ownerState:s})=>{var i,a;return _extends({},o.typography.button,{minHeight:36,transition:o.transitions.create(["background-color","box-shadow","border-color"],{duration:o.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(o.vars||o).zIndex.fab,boxShadow:(o.vars||o).shadows[6],"&:active":{boxShadow:(o.vars||o).shadows[12]},color:o.vars?o.vars.palette.text.primary:(i=(a=o.palette).getContrastText)==null?void 0:i.call(a,o.palette.grey[300]),backgroundColor:(o.vars||o).palette.grey[300],"&:hover":{backgroundColor:(o.vars||o).palette.grey.A100,"@media (hover: none)":{backgroundColor:(o.vars||o).palette.grey[300]},textDecoration:"none"},[`&.${fabClasses$1.focusVisible}`]:{boxShadow:(o.vars||o).shadows[6]}},s.size==="small"&&{width:40,height:40},s.size==="medium"&&{width:48,height:48},s.variant==="extended"&&{borderRadius:48/2,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48},s.variant==="extended"&&s.size==="small"&&{width:"auto",padding:"0 8px",borderRadius:34/2,minWidth:34,height:34},s.variant==="extended"&&s.size==="medium"&&{width:"auto",padding:"0 16px",borderRadius:40/2,minWidth:40,height:40},s.color==="inherit"&&{color:"inherit"})},({theme:o,ownerState:s})=>_extends({},s.color!=="inherit"&&s.color!=="default"&&(o.vars||o).palette[s.color]!=null&&{color:(o.vars||o).palette[s.color].contrastText,backgroundColor:(o.vars||o).palette[s.color].main,"&:hover":{backgroundColor:(o.vars||o).palette[s.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[s.color].main}}}),({theme:o})=>({[`&.${fabClasses$1.disabled}`]:{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground}})),Fab=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiFab"}),{children:$,className:j,color:_e="default",component:et="button",disabled:tt=!1,disableFocusRipple:rt=!1,focusVisibleClassName:nt,size:ot="large",variant:st="circular"}=a,dt=_objectWithoutPropertiesLoose(a,_excluded$y),at=_extends({},a,{color:_e,component:et,disabled:tt,disableFocusRipple:rt,size:ot,variant:st}),it=useUtilityClasses$u(at);return jsxRuntimeExports.jsx(FabRoot,_extends({className:clsx(it.root,j),component:et,disabled:tt,focusRipple:!rt,focusVisibleClassName:clsx(it.focusVisible,nt),ownerState:at,ref:i},dt,{classes:it,children:$}))}),Fab$1=Fab,_excluded$x=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],useUtilityClasses$t=o=>{const{classes:s,disableUnderline:i}=o,$=composeClasses({root:["root",!i&&"underline"],input:["input"]},getFilledInputUtilityClass,s);return _extends({},s,$)},FilledInputRoot=styled(InputBaseRoot,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[...rootOverridesResolver(o,s),!i.disableUnderline&&s.underline]}})(({theme:o,ownerState:s})=>{var i;const a=o.palette.mode==="light",$=a?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",j=a?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",_e=a?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",et=a?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return _extends({position:"relative",backgroundColor:o.vars?o.vars.palette.FilledInput.bg:j,borderTopLeftRadius:(o.vars||o).shape.borderRadius,borderTopRightRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create("background-color",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),"&:hover":{backgroundColor:o.vars?o.vars.palette.FilledInput.hoverBg:_e,"@media (hover: none)":{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:j}},[`&.${filledInputClasses$1.focused}`]:{backgroundColor:o.vars?o.vars.palette.FilledInput.bg:j},[`&.${filledInputClasses$1.disabled}`]:{backgroundColor:o.vars?o.vars.palette.FilledInput.disabledBg:et}},!s.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(i=(o.vars||o).palette[s.color||"primary"])==null?void 0:i.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:o.transitions.create("transform",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${filledInputClasses$1.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${filledInputClasses$1.error}`]:{"&::before, &::after":{borderBottomColor:(o.vars||o).palette.error.main}},"&::before":{borderBottom:`1px solid ${o.vars?`rgba(${o.vars.palette.common.onBackgroundChannel} / ${o.vars.opacity.inputUnderline})`:$}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:o.transitions.create("border-bottom-color",{duration:o.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${filledInputClasses$1.disabled}, .${filledInputClasses$1.error}):before`]:{borderBottom:`1px solid ${(o.vars||o).palette.text.primary}`},[`&.${filledInputClasses$1.disabled}:before`]:{borderBottomStyle:"dotted"}},s.startAdornment&&{paddingLeft:12},s.endAdornment&&{paddingRight:12},s.multiline&&_extends({padding:"25px 12px 8px"},s.size==="small"&&{paddingTop:21,paddingBottom:4},s.hiddenLabel&&{paddingTop:16,paddingBottom:17},s.hiddenLabel&&s.size==="small"&&{paddingTop:8,paddingBottom:9}))}),FilledInputInput=styled(InputBaseComponent,{name:"MuiFilledInput",slot:"Input",overridesResolver:inputOverridesResolver})(({theme:o,ownerState:s})=>_extends({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!o.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:o.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:o.palette.mode==="light"?null:"#fff",caretColor:o.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},o.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[o.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},s.size==="small"&&{paddingTop:21,paddingBottom:4},s.hiddenLabel&&{paddingTop:16,paddingBottom:17},s.startAdornment&&{paddingLeft:0},s.endAdornment&&{paddingRight:0},s.hiddenLabel&&s.size==="small"&&{paddingTop:8,paddingBottom:9},s.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),FilledInput=reactExports.forwardRef(function(s,i){var a,$,j,_e;const et=useThemeProps({props:s,name:"MuiFilledInput"}),{components:tt={},componentsProps:rt,fullWidth:nt=!1,inputComponent:ot="input",multiline:st=!1,slotProps:dt,slots:at={},type:it="text"}=et,ft=_objectWithoutPropertiesLoose(et,_excluded$x),ct=_extends({},et,{fullWidth:nt,inputComponent:ot,multiline:st,type:it}),ut=useUtilityClasses$t(et),lt={root:{ownerState:ct},input:{ownerState:ct}},pt=dt??rt?deepmerge(lt,dt??rt):lt,ht=(a=($=at.root)!=null?$:tt.Root)!=null?a:FilledInputRoot,gt=(j=(_e=at.input)!=null?_e:tt.Input)!=null?j:FilledInputInput;return jsxRuntimeExports.jsx(InputBase$1,_extends({slots:{root:ht,input:gt},componentsProps:pt,fullWidth:nt,inputComponent:ot,multiline:st,ref:i,type:it},ft,{classes:ut}))});FilledInput.muiName="Input";const FilledInput$1=FilledInput;function getFormControlUtilityClasses(o){return generateUtilityClass$1("MuiFormControl",o)}generateUtilityClasses$1("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const _excluded$w=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],useUtilityClasses$s=o=>{const{classes:s,margin:i,fullWidth:a}=o,$={root:["root",i!=="none"&&`margin${capitalize(i)}`,a&&"fullWidth"]};return composeClasses($,getFormControlUtilityClasses,s)},FormControlRoot=styled("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:o},s)=>_extends({},s.root,s[`margin${capitalize(o.margin)}`],o.fullWidth&&s.fullWidth)})(({ownerState:o})=>_extends({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},o.margin==="normal"&&{marginTop:16,marginBottom:8},o.margin==="dense"&&{marginTop:8,marginBottom:4},o.fullWidth&&{width:"100%"})),FormControl=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiFormControl"}),{children:$,className:j,color:_e="primary",component:et="div",disabled:tt=!1,error:rt=!1,focused:nt,fullWidth:ot=!1,hiddenLabel:st=!1,margin:dt="none",required:at=!1,size:it="medium",variant:ft="outlined"}=a,ct=_objectWithoutPropertiesLoose(a,_excluded$w),ut=_extends({},a,{color:_e,component:et,disabled:tt,error:rt,fullWidth:ot,hiddenLabel:st,margin:dt,required:at,size:it,variant:ft}),lt=useUtilityClasses$s(ut),[pt,ht]=reactExports.useState(()=>{let $t=!1;return $&&reactExports.Children.forEach($,St=>{if(!isMuiElement(St,["Input","Select"]))return;const Rt=isMuiElement(St,["Select"])?St.props.input:St;Rt&&isAdornedStart(Rt.props)&&($t=!0)}),$t}),[gt,mt]=reactExports.useState(()=>{let $t=!1;return $&&reactExports.Children.forEach($,St=>{isMuiElement(St,["Input","Select"])&&(isFilled(St.props,!0)||isFilled(St.props.inputProps,!0))&&($t=!0)}),$t}),[xt,Ct]=reactExports.useState(!1);tt&&xt&&Ct(!1);const yt=nt!==void 0&&!tt?nt:xt;let Et;const kt=reactExports.useMemo(()=>({adornedStart:pt,setAdornedStart:ht,color:_e,disabled:tt,error:rt,filled:gt,focused:yt,fullWidth:ot,hiddenLabel:st,size:it,onBlur:()=>{Ct(!1)},onEmpty:()=>{mt(!1)},onFilled:()=>{mt(!0)},onFocus:()=>{Ct(!0)},registerEffect:Et,required:at,variant:ft}),[pt,_e,tt,rt,gt,yt,ot,st,Et,at,it,ft]);return jsxRuntimeExports.jsx(FormControlContext$1.Provider,{value:kt,children:jsxRuntimeExports.jsx(FormControlRoot,_extends({as:et,ownerState:ut,className:clsx(lt.root,j),ref:i},ct,{children:$}))})}),FormControl$1=FormControl,Stack=createStack({createStyledComponent:styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(o,s)=>s.root}),useThemeProps:o=>useThemeProps({props:o,name:"MuiStack"})}),Stack$1=Stack;function getFormHelperTextUtilityClasses(o){return generateUtilityClass$1("MuiFormHelperText",o)}const formHelperTextClasses=generateUtilityClasses$1("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),formHelperTextClasses$1=formHelperTextClasses;var _span$2;const _excluded$v=["children","className","component","disabled","error","filled","focused","margin","required","variant"],useUtilityClasses$r=o=>{const{classes:s,contained:i,size:a,disabled:$,error:j,filled:_e,focused:et,required:tt}=o,rt={root:["root",$&&"disabled",j&&"error",a&&`size${capitalize(a)}`,i&&"contained",et&&"focused",_e&&"filled",tt&&"required"]};return composeClasses(rt,getFormHelperTextUtilityClasses,s)},FormHelperTextRoot=styled("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.size&&s[`size${capitalize(i.size)}`],i.contained&&s.contained,i.filled&&s.filled]}})(({theme:o,ownerState:s})=>_extends({color:(o.vars||o).palette.text.secondary},o.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${formHelperTextClasses$1.disabled}`]:{color:(o.vars||o).palette.text.disabled},[`&.${formHelperTextClasses$1.error}`]:{color:(o.vars||o).palette.error.main}},s.size==="small"&&{marginTop:4},s.contained&&{marginLeft:14,marginRight:14})),FormHelperText=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiFormHelperText"}),{children:$,className:j,component:_e="p"}=a,et=_objectWithoutPropertiesLoose(a,_excluded$v),tt=useFormControl(),rt=formControlState({props:a,muiFormControl:tt,states:["variant","size","disabled","error","filled","focused","required"]}),nt=_extends({},a,{component:_e,contained:rt.variant==="filled"||rt.variant==="outlined",variant:rt.variant,size:rt.size,disabled:rt.disabled,error:rt.error,filled:rt.filled,focused:rt.focused,required:rt.required}),ot=useUtilityClasses$r(nt);return jsxRuntimeExports.jsx(FormHelperTextRoot,_extends({as:_e,ownerState:nt,className:clsx(ot.root,j),ref:i},et,{children:$===" "?_span$2||(_span$2=jsxRuntimeExports.jsx("span",{className:"notranslate",children:"​"})):$}))}),FormHelperText$1=FormHelperText;function getFormLabelUtilityClasses(o){return generateUtilityClass$1("MuiFormLabel",o)}const formLabelClasses=generateUtilityClasses$1("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),formLabelClasses$1=formLabelClasses,_excluded$u=["children","className","color","component","disabled","error","filled","focused","required"],useUtilityClasses$q=o=>{const{classes:s,color:i,focused:a,disabled:$,error:j,filled:_e,required:et}=o,tt={root:["root",`color${capitalize(i)}`,$&&"disabled",j&&"error",_e&&"filled",a&&"focused",et&&"required"],asterisk:["asterisk",j&&"error"]};return composeClasses(tt,getFormLabelUtilityClasses,s)},FormLabelRoot=styled("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:o},s)=>_extends({},s.root,o.color==="secondary"&&s.colorSecondary,o.filled&&s.filled)})(({theme:o,ownerState:s})=>_extends({color:(o.vars||o).palette.text.secondary},o.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${formLabelClasses$1.focused}`]:{color:(o.vars||o).palette[s.color].main},[`&.${formLabelClasses$1.disabled}`]:{color:(o.vars||o).palette.text.disabled},[`&.${formLabelClasses$1.error}`]:{color:(o.vars||o).palette.error.main}})),AsteriskComponent=styled("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(o,s)=>s.asterisk})(({theme:o})=>({[`&.${formLabelClasses$1.error}`]:{color:(o.vars||o).palette.error.main}})),FormLabel=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiFormLabel"}),{children:$,className:j,component:_e="label"}=a,et=_objectWithoutPropertiesLoose(a,_excluded$u),tt=useFormControl(),rt=formControlState({props:a,muiFormControl:tt,states:["color","required","focused","disabled","error","filled"]}),nt=_extends({},a,{color:rt.color||"primary",component:_e,disabled:rt.disabled,error:rt.error,filled:rt.filled,focused:rt.focused,required:rt.required}),ot=useUtilityClasses$q(nt);return jsxRuntimeExports.jsxs(FormLabelRoot,_extends({as:_e,ownerState:nt,className:clsx(ot.root,j),ref:i},et,{children:[$,rt.required&&jsxRuntimeExports.jsxs(AsteriskComponent,{ownerState:nt,"aria-hidden":!0,className:ot.asterisk,children:[" ","*"]})]}))}),FormLabel$1=FormLabel,GridContext=reactExports.createContext(),GridContext$1=GridContext;function getGridUtilityClass(o){return generateUtilityClass$1("MuiGrid",o)}const SPACINGS=[0,1,2,3,4,5,6,7,8,9,10],DIRECTIONS=["column-reverse","column","row-reverse","row"],WRAPS=["nowrap","wrap-reverse","wrap"],GRID_SIZES=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],gridClasses=generateUtilityClasses$1("MuiGrid",["root","container","item","zeroMinWidth",...SPACINGS.map(o=>`spacing-xs-${o}`),...DIRECTIONS.map(o=>`direction-xs-${o}`),...WRAPS.map(o=>`wrap-xs-${o}`),...GRID_SIZES.map(o=>`grid-xs-${o}`),...GRID_SIZES.map(o=>`grid-sm-${o}`),...GRID_SIZES.map(o=>`grid-md-${o}`),...GRID_SIZES.map(o=>`grid-lg-${o}`),...GRID_SIZES.map(o=>`grid-xl-${o}`)]),_excluded$t=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function getOffset(o){const s=parseFloat(o);return`${s}${String(o).replace(String(s),"")||"px"}`}function generateGrid({theme:o,ownerState:s}){let i;return o.breakpoints.keys.reduce((a,$)=>{let j={};if(s[$]&&(i=s[$]),!i)return a;if(i===!0)j={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(i==="auto")j={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const _e=resolveBreakpointValues({values:s.columns,breakpoints:o.breakpoints.values}),et=typeof _e=="object"?_e[$]:_e;if(et==null)return a;const tt=`${Math.round(i/et*1e8)/1e6}%`;let rt={};if(s.container&&s.item&&s.columnSpacing!==0){const nt=o.spacing(s.columnSpacing);if(nt!=="0px"){const ot=`calc(${tt} + ${getOffset(nt)})`;rt={flexBasis:ot,maxWidth:ot}}}j=_extends({flexBasis:tt,flexGrow:0,maxWidth:tt},rt)}return o.breakpoints.values[$]===0?Object.assign(a,j):a[o.breakpoints.up($)]=j,a},{})}function generateDirection({theme:o,ownerState:s}){const i=resolveBreakpointValues({values:s.direction,breakpoints:o.breakpoints.values});return handleBreakpoints({theme:o},i,a=>{const $={flexDirection:a};return a.indexOf("column")===0&&($[`& > .${gridClasses.item}`]={maxWidth:"none"}),$})}function extractZeroValueBreakpointKeys({breakpoints:o,values:s}){let i="";Object.keys(s).forEach($=>{i===""&&s[$]!==0&&(i=$)});const a=Object.keys(o).sort(($,j)=>o[$]-o[j]);return a.slice(0,a.indexOf(i))}function generateRowGap({theme:o,ownerState:s}){const{container:i,rowSpacing:a}=s;let $={};if(i&&a!==0){const j=resolveBreakpointValues({values:a,breakpoints:o.breakpoints.values});let _e;typeof j=="object"&&(_e=extractZeroValueBreakpointKeys({breakpoints:o.breakpoints.values,values:j})),$=handleBreakpoints({theme:o},j,(et,tt)=>{var rt;const nt=o.spacing(et);return nt!=="0px"?{marginTop:`-${getOffset(nt)}`,[`& > .${gridClasses.item}`]:{paddingTop:getOffset(nt)}}:(rt=_e)!=null&&rt.includes(tt)?{}:{marginTop:0,[`& > .${gridClasses.item}`]:{paddingTop:0}}})}return $}function generateColumnGap({theme:o,ownerState:s}){const{container:i,columnSpacing:a}=s;let $={};if(i&&a!==0){const j=resolveBreakpointValues({values:a,breakpoints:o.breakpoints.values});let _e;typeof j=="object"&&(_e=extractZeroValueBreakpointKeys({breakpoints:o.breakpoints.values,values:j})),$=handleBreakpoints({theme:o},j,(et,tt)=>{var rt;const nt=o.spacing(et);return nt!=="0px"?{width:`calc(100% + ${getOffset(nt)})`,marginLeft:`-${getOffset(nt)}`,[`& > .${gridClasses.item}`]:{paddingLeft:getOffset(nt)}}:(rt=_e)!=null&&rt.includes(tt)?{}:{width:"100%",marginLeft:0,[`& > .${gridClasses.item}`]:{paddingLeft:0}}})}return $}function resolveSpacingStyles(o,s,i={}){if(!o||o<=0)return[];if(typeof o=="string"&&!Number.isNaN(Number(o))||typeof o=="number")return[i[`spacing-xs-${String(o)}`]];const a=[];return s.forEach($=>{const j=o[$];Number(j)>0&&a.push(i[`spacing-${$}-${String(j)}`])}),a}const GridRoot=styled("div",{name:"MuiGrid",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o,{container:a,direction:$,item:j,spacing:_e,wrap:et,zeroMinWidth:tt,breakpoints:rt}=i;let nt=[];a&&(nt=resolveSpacingStyles(_e,rt,s));const ot=[];return rt.forEach(st=>{const dt=i[st];dt&&ot.push(s[`grid-${st}-${String(dt)}`])}),[s.root,a&&s.container,j&&s.item,tt&&s.zeroMinWidth,...nt,$!=="row"&&s[`direction-xs-${String($)}`],et!=="wrap"&&s[`wrap-xs-${String(et)}`],...ot]}})(({ownerState:o})=>_extends({boxSizing:"border-box"},o.container&&{display:"flex",flexWrap:"wrap",width:"100%"},o.item&&{margin:0},o.zeroMinWidth&&{minWidth:0},o.wrap!=="wrap"&&{flexWrap:o.wrap}),generateDirection,generateRowGap,generateColumnGap,generateGrid);function resolveSpacingClasses(o,s){if(!o||o<=0)return[];if(typeof o=="string"&&!Number.isNaN(Number(o))||typeof o=="number")return[`spacing-xs-${String(o)}`];const i=[];return s.forEach(a=>{const $=o[a];if(Number($)>0){const j=`spacing-${a}-${String($)}`;i.push(j)}}),i}const useUtilityClasses$p=o=>{const{classes:s,container:i,direction:a,item:$,spacing:j,wrap:_e,zeroMinWidth:et,breakpoints:tt}=o;let rt=[];i&&(rt=resolveSpacingClasses(j,tt));const nt=[];tt.forEach(st=>{const dt=o[st];dt&&nt.push(`grid-${st}-${String(dt)}`)});const ot={root:["root",i&&"container",$&&"item",et&&"zeroMinWidth",...rt,a!=="row"&&`direction-xs-${String(a)}`,_e!=="wrap"&&`wrap-xs-${String(_e)}`,...nt]};return composeClasses(ot,getGridUtilityClass,s)},Grid=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiGrid"}),{breakpoints:$}=useTheme(),j=extendSxProp(a),{className:_e,columns:et,columnSpacing:tt,component:rt="div",container:nt=!1,direction:ot="row",item:st=!1,rowSpacing:dt,spacing:at=0,wrap:it="wrap",zeroMinWidth:ft=!1}=j,ct=_objectWithoutPropertiesLoose(j,_excluded$t),ut=dt||at,lt=tt||at,pt=reactExports.useContext(GridContext$1),ht=nt?et||12:pt,gt={},mt=_extends({},ct);$.keys.forEach(yt=>{ct[yt]!=null&&(gt[yt]=ct[yt],delete mt[yt])});const xt=_extends({},j,{columns:ht,container:nt,direction:ot,item:st,rowSpacing:ut,columnSpacing:lt,wrap:it,zeroMinWidth:ft,spacing:at},gt,{breakpoints:$.keys}),Ct=useUtilityClasses$p(xt);return jsxRuntimeExports.jsx(GridContext$1.Provider,{value:ht,children:jsxRuntimeExports.jsx(GridRoot,_extends({ownerState:xt,className:clsx(Ct.root,_e),as:rt,ref:i},mt))})}),Grid$1=Grid,_excluded$s=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function getScale(o){return`scale(${o}, ${o**2})`}const styles={entering:{opacity:1,transform:getScale(1)},entered:{opacity:1,transform:"none"}},isWebKit154=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Grow=reactExports.forwardRef(function(s,i){const{addEndListener:a,appear:$=!0,children:j,easing:_e,in:et,onEnter:tt,onEntered:rt,onEntering:nt,onExit:ot,onExited:st,onExiting:dt,style:at,timeout:it="auto",TransitionComponent:ft=Transition$1}=s,ct=_objectWithoutPropertiesLoose(s,_excluded$s),ut=reactExports.useRef(),lt=reactExports.useRef(),pt=useTheme(),ht=reactExports.useRef(null),gt=useForkRef(ht,j.ref,i),mt=Rt=>Pt=>{if(Rt){const wt=ht.current;Pt===void 0?Rt(wt):Rt(wt,Pt)}},xt=mt(nt),Ct=mt((Rt,Pt)=>{reflow(Rt);const{duration:wt,delay:vt,easing:bt}=getTransitionProps({style:at,timeout:it,easing:_e},{mode:"enter"});let Tt;it==="auto"?(Tt=pt.transitions.getAutoHeightDuration(Rt.clientHeight),lt.current=Tt):Tt=wt,Rt.style.transition=[pt.transitions.create("opacity",{duration:Tt,delay:vt}),pt.transitions.create("transform",{duration:isWebKit154?Tt:Tt*.666,delay:vt,easing:bt})].join(","),tt&&tt(Rt,Pt)}),yt=mt(rt),Et=mt(dt),kt=mt(Rt=>{const{duration:Pt,delay:wt,easing:vt}=getTransitionProps({style:at,timeout:it,easing:_e},{mode:"exit"});let bt;it==="auto"?(bt=pt.transitions.getAutoHeightDuration(Rt.clientHeight),lt.current=bt):bt=Pt,Rt.style.transition=[pt.transitions.create("opacity",{duration:bt,delay:wt}),pt.transitions.create("transform",{duration:isWebKit154?bt:bt*.666,delay:isWebKit154?wt:wt||bt*.333,easing:vt})].join(","),Rt.style.opacity=0,Rt.style.transform=getScale(.75),ot&&ot(Rt)}),$t=mt(st),St=Rt=>{it==="auto"&&(ut.current=setTimeout(Rt,lt.current||0)),a&&a(ht.current,Rt)};return reactExports.useEffect(()=>()=>{clearTimeout(ut.current)},[]),jsxRuntimeExports.jsx(ft,_extends({appear:$,in:et,nodeRef:ht,onEnter:Ct,onEntered:yt,onEntering:xt,onExit:kt,onExited:$t,onExiting:Et,addEndListener:St,timeout:it==="auto"?null:it},ct,{children:(Rt,Pt)=>reactExports.cloneElement(j,_extends({style:_extends({opacity:0,transform:getScale(.75),visibility:Rt==="exited"&&!et?"hidden":void 0},styles[Rt],at,j.props.style),ref:gt},Pt))}))});Grow.muiSupportAuto=!0;const Grow$1=Grow;function useMediaQueryOld(o,s,i,a,$){const[j,_e]=reactExports.useState(()=>$&&i?i(o).matches:a?a(o).matches:s);return useEnhancedEffect(()=>{let et=!0;if(!i)return;const tt=i(o),rt=()=>{et&&_e(tt.matches)};return rt(),tt.addListener(rt),()=>{et=!1,tt.removeListener(rt)}},[o,i]),j}const maybeReactUseSyncExternalStore=reactExports.useSyncExternalStore;function useMediaQueryNew(o,s,i,a,$){const j=reactExports.useCallback(()=>s,[s]),_e=reactExports.useMemo(()=>{if($&&i)return()=>i(o).matches;if(a!==null){const{matches:nt}=a(o);return()=>nt}return j},[j,o,a,$,i]),[et,tt]=reactExports.useMemo(()=>{if(i===null)return[j,()=>()=>{}];const nt=i(o);return[()=>nt.matches,ot=>(nt.addListener(ot),()=>{nt.removeListener(ot)})]},[j,i,o]);return maybeReactUseSyncExternalStore(tt,et,_e)}function useMediaQuery(o,s={}){const i=useTheme$3(),a=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:$=!1,matchMedia:j=a?window.matchMedia:null,ssrMatchMedia:_e=null,noSsr:et=!1}=getThemeProps({name:"MuiUseMediaQuery",props:s,theme:i});let tt=typeof o=="function"?o(i):o;return tt=tt.replace(/^@media( ?)/m,""),(maybeReactUseSyncExternalStore!==void 0?useMediaQueryNew:useMediaQueryOld)(tt,$,j,_e,et)}const _excluded$r=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],useUtilityClasses$o=o=>{const{classes:s,disableUnderline:i}=o,$=composeClasses({root:["root",!i&&"underline"],input:["input"]},getInputUtilityClass,s);return _extends({},s,$)},InputRoot=styled(InputBaseRoot,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiInput",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[...rootOverridesResolver(o,s),!i.disableUnderline&&s.underline]}})(({theme:o,ownerState:s})=>{let a=o.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return o.vars&&(a=`rgba(${o.vars.palette.common.onBackgroundChannel} / ${o.vars.opacity.inputUnderline})`),_extends({position:"relative"},s.formControl&&{"label + &":{marginTop:16}},!s.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(o.vars||o).palette[s.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:o.transitions.create("transform",{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${inputClasses$1.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${inputClasses$1.error}`]:{"&::before, &::after":{borderBottomColor:(o.vars||o).palette.error.main}},"&::before":{borderBottom:`1px solid ${a}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:o.transitions.create("border-bottom-color",{duration:o.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${inputClasses$1.disabled}, .${inputClasses$1.error}):before`]:{borderBottom:`2px solid ${(o.vars||o).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${a}`}},[`&.${inputClasses$1.disabled}:before`]:{borderBottomStyle:"dotted"}})}),InputInput=styled(InputBaseComponent,{name:"MuiInput",slot:"Input",overridesResolver:inputOverridesResolver})({}),Input=reactExports.forwardRef(function(s,i){var a,$,j,_e;const et=useThemeProps({props:s,name:"MuiInput"}),{disableUnderline:tt,components:rt={},componentsProps:nt,fullWidth:ot=!1,inputComponent:st="input",multiline:dt=!1,slotProps:at,slots:it={},type:ft="text"}=et,ct=_objectWithoutPropertiesLoose(et,_excluded$r),ut=useUtilityClasses$o(et),pt={root:{ownerState:{disableUnderline:tt}}},ht=at??nt?deepmerge(at??nt,pt):pt,gt=(a=($=it.root)!=null?$:rt.Root)!=null?a:InputRoot,mt=(j=(_e=it.input)!=null?_e:rt.Input)!=null?j:InputInput;return jsxRuntimeExports.jsx(InputBase$1,_extends({slots:{root:gt,input:mt},slotProps:ht,fullWidth:ot,inputComponent:st,multiline:dt,ref:i,type:ft},ct,{classes:ut}))});Input.muiName="Input";const Input$1=Input;function getInputLabelUtilityClasses(o){return generateUtilityClass$1("MuiInputLabel",o)}generateUtilityClasses$1("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const _excluded$q=["disableAnimation","margin","shrink","variant","className"],useUtilityClasses$n=o=>{const{classes:s,formControl:i,size:a,shrink:$,disableAnimation:j,variant:_e,required:et}=o,tt={root:["root",i&&"formControl",!j&&"animated",$&&"shrink",a&&a!=="normal"&&`size${capitalize(a)}`,_e],asterisk:[et&&"asterisk"]},rt=composeClasses(tt,getInputLabelUtilityClasses,s);return _extends({},s,rt)},InputLabelRoot=styled(FormLabel$1,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[{[`& .${formLabelClasses$1.asterisk}`]:s.asterisk},s.root,i.formControl&&s.formControl,i.size==="small"&&s.sizeSmall,i.shrink&&s.shrink,!i.disableAnimation&&s.animated,i.focused&&s.focused,s[i.variant]]}})(({theme:o,ownerState:s})=>_extends({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},s.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},s.size==="small"&&{transform:"translate(0, 17px) scale(1)"},s.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!s.disableAnimation&&{transition:o.transitions.create(["color","transform","max-width"],{duration:o.transitions.duration.shorter,easing:o.transitions.easing.easeOut})},s.variant==="filled"&&_extends({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},s.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},s.shrink&&_extends({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},s.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),s.variant==="outlined"&&_extends({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},s.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},s.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),InputLabel=reactExports.forwardRef(function(s,i){const a=useThemeProps({name:"MuiInputLabel",props:s}),{disableAnimation:$=!1,shrink:j,className:_e}=a,et=_objectWithoutPropertiesLoose(a,_excluded$q),tt=useFormControl();let rt=j;typeof rt>"u"&&tt&&(rt=tt.filled||tt.focused||tt.adornedStart);const nt=formControlState({props:a,muiFormControl:tt,states:["size","variant","required","focused"]}),ot=_extends({},a,{disableAnimation:$,formControl:tt,shrink:rt,size:nt.size,variant:nt.variant,required:nt.required,focused:nt.focused}),st=useUtilityClasses$n(ot);return jsxRuntimeExports.jsx(InputLabelRoot,_extends({"data-shrink":rt,ownerState:ot,ref:i,className:clsx(st.root,_e)},et,{classes:st}))}),InputLabel$1=InputLabel;function getLinearProgressUtilityClass(o){return generateUtilityClass$1("MuiLinearProgress",o)}generateUtilityClasses$1("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const _excluded$p=["className","color","value","valueBuffer","variant"];let _=o=>o,_t,_t2,_t3,_t4,_t5,_t6;const TRANSITION_DURATION=4,indeterminate1Keyframe=keyframes(_t||(_t=_` + 0% { + left: -35%; + right: 100%; + } + + 60% { + left: 100%; + right: -90%; + } + + 100% { + left: 100%; + right: -90%; + } +`)),indeterminate2Keyframe=keyframes(_t2||(_t2=_` + 0% { + left: -200%; + right: 100%; + } + + 60% { + left: 107%; + right: -8%; + } + + 100% { + left: 107%; + right: -8%; + } +`)),bufferKeyframe=keyframes(_t3||(_t3=_` + 0% { + opacity: 1; + background-position: 0 -23px; + } + + 60% { + opacity: 0; + background-position: 0 -23px; + } + + 100% { + opacity: 1; + background-position: -200px -23px; + } +`)),useUtilityClasses$m=o=>{const{classes:s,variant:i,color:a}=o,$={root:["root",`color${capitalize(a)}`,i],dashed:["dashed",`dashedColor${capitalize(a)}`],bar1:["bar",`barColor${capitalize(a)}`,(i==="indeterminate"||i==="query")&&"bar1Indeterminate",i==="determinate"&&"bar1Determinate",i==="buffer"&&"bar1Buffer"],bar2:["bar",i!=="buffer"&&`barColor${capitalize(a)}`,i==="buffer"&&`color${capitalize(a)}`,(i==="indeterminate"||i==="query")&&"bar2Indeterminate",i==="buffer"&&"bar2Buffer"]};return composeClasses($,getLinearProgressUtilityClass,s)},getColorShade=(o,s)=>s==="inherit"?"currentColor":o.vars?o.vars.palette.LinearProgress[`${s}Bg`]:o.palette.mode==="light"?lighten(o.palette[s].main,.62):darken(o.palette[s].main,.5),LinearProgressRoot=styled("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,s[`color${capitalize(i.color)}`],s[i.variant]]}})(({ownerState:o,theme:s})=>_extends({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:getColorShade(s,o.color)},o.color==="inherit"&&o.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},o.variant==="buffer"&&{backgroundColor:"transparent"},o.variant==="query"&&{transform:"rotate(180deg)"})),LinearProgressDashed=styled("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.dashed,s[`dashedColor${capitalize(i.color)}`]]}})(({ownerState:o,theme:s})=>{const i=getColorShade(s,o.color);return _extends({position:"absolute",marginTop:0,height:"100%",width:"100%"},o.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${i} 0%, ${i} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},css(_t4||(_t4=_` + animation: ${0} 3s infinite linear; + `),bufferKeyframe)),LinearProgressBar1=styled("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.bar,s[`barColor${capitalize(i.color)}`],(i.variant==="indeterminate"||i.variant==="query")&&s.bar1Indeterminate,i.variant==="determinate"&&s.bar1Determinate,i.variant==="buffer"&&s.bar1Buffer]}})(({ownerState:o,theme:s})=>_extends({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:o.color==="inherit"?"currentColor":(s.vars||s).palette[o.color].main},o.variant==="determinate"&&{transition:`transform .${TRANSITION_DURATION}s linear`},o.variant==="buffer"&&{zIndex:1,transition:`transform .${TRANSITION_DURATION}s linear`}),({ownerState:o})=>(o.variant==="indeterminate"||o.variant==="query")&&css(_t5||(_t5=_` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + `),indeterminate1Keyframe)),LinearProgressBar2=styled("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.bar,s[`barColor${capitalize(i.color)}`],(i.variant==="indeterminate"||i.variant==="query")&&s.bar2Indeterminate,i.variant==="buffer"&&s.bar2Buffer]}})(({ownerState:o,theme:s})=>_extends({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},o.variant!=="buffer"&&{backgroundColor:o.color==="inherit"?"currentColor":(s.vars||s).palette[o.color].main},o.color==="inherit"&&{opacity:.3},o.variant==="buffer"&&{backgroundColor:getColorShade(s,o.color),transition:`transform .${TRANSITION_DURATION}s linear`}),({ownerState:o})=>(o.variant==="indeterminate"||o.variant==="query")&&css(_t6||(_t6=_` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; + `),indeterminate2Keyframe)),LinearProgress=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiLinearProgress"}),{className:$,color:j="primary",value:_e,valueBuffer:et,variant:tt="indeterminate"}=a,rt=_objectWithoutPropertiesLoose(a,_excluded$p),nt=_extends({},a,{color:j,variant:tt}),ot=useUtilityClasses$m(nt),st=useTheme(),dt={},at={bar1:{},bar2:{}};if((tt==="determinate"||tt==="buffer")&&_e!==void 0){dt["aria-valuenow"]=Math.round(_e),dt["aria-valuemin"]=0,dt["aria-valuemax"]=100;let it=_e-100;st.direction==="rtl"&&(it=-it),at.bar1.transform=`translateX(${it}%)`}if(tt==="buffer"&&et!==void 0){let it=(et||0)-100;st.direction==="rtl"&&(it=-it),at.bar2.transform=`translateX(${it}%)`}return jsxRuntimeExports.jsxs(LinearProgressRoot,_extends({className:clsx(ot.root,$),ownerState:nt,role:"progressbar"},dt,{ref:i},rt,{children:[tt==="buffer"?jsxRuntimeExports.jsx(LinearProgressDashed,{className:ot.dashed,ownerState:nt}):null,jsxRuntimeExports.jsx(LinearProgressBar1,{className:ot.bar1,ownerState:nt,style:at.bar1}),tt==="determinate"?null:jsxRuntimeExports.jsx(LinearProgressBar2,{className:ot.bar2,ownerState:nt,style:at.bar2})]}))}),LinearProgress$1=LinearProgress,ListContext=reactExports.createContext({}),ListContext$1=ListContext;function getListUtilityClass(o){return generateUtilityClass$1("MuiList",o)}generateUtilityClasses$1("MuiList",["root","padding","dense","subheader"]);const _excluded$o=["children","className","component","dense","disablePadding","subheader"],useUtilityClasses$l=o=>{const{classes:s,disablePadding:i,dense:a,subheader:$}=o;return composeClasses({root:["root",!i&&"padding",a&&"dense",$&&"subheader"]},getListUtilityClass,s)},ListRoot=styled("ul",{name:"MuiList",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,!i.disablePadding&&s.padding,i.dense&&s.dense,i.subheader&&s.subheader]}})(({ownerState:o})=>_extends({listStyle:"none",margin:0,padding:0,position:"relative"},!o.disablePadding&&{paddingTop:8,paddingBottom:8},o.subheader&&{paddingTop:0})),List=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiList"}),{children:$,className:j,component:_e="ul",dense:et=!1,disablePadding:tt=!1,subheader:rt}=a,nt=_objectWithoutPropertiesLoose(a,_excluded$o),ot=reactExports.useMemo(()=>({dense:et}),[et]),st=_extends({},a,{component:_e,dense:et,disablePadding:tt}),dt=useUtilityClasses$l(st);return jsxRuntimeExports.jsx(ListContext$1.Provider,{value:ot,children:jsxRuntimeExports.jsxs(ListRoot,_extends({as:_e,className:clsx(dt.root,j),ref:i,ownerState:st},nt,{children:[rt,$]}))})}),List$1=List;function getListItemUtilityClass(o){return generateUtilityClass$1("MuiListItem",o)}const listItemClasses=generateUtilityClasses$1("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),listItemClasses$1=listItemClasses;function getListItemButtonUtilityClass(o){return generateUtilityClass$1("MuiListItemButton",o)}const listItemButtonClasses=generateUtilityClasses$1("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),listItemButtonClasses$1=listItemButtonClasses,_excluded$n=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],overridesResolver$2=(o,s)=>{const{ownerState:i}=o;return[s.root,i.dense&&s.dense,i.alignItems==="flex-start"&&s.alignItemsFlexStart,i.divider&&s.divider,!i.disableGutters&&s.gutters]},useUtilityClasses$k=o=>{const{alignItems:s,classes:i,dense:a,disabled:$,disableGutters:j,divider:_e,selected:et}=o,rt=composeClasses({root:["root",a&&"dense",!j&&"gutters",_e&&"divider",$&&"disabled",s==="flex-start"&&"alignItemsFlexStart",et&&"selected"]},getListItemButtonUtilityClass,i);return _extends({},i,rt)},ListItemButtonRoot=styled(ButtonBase$1,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:overridesResolver$2})(({theme:o,ownerState:s})=>_extends({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:o.transitions.create("background-color",{duration:o.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(o.vars||o).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${listItemButtonClasses$1.selected}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity),[`&.${listItemButtonClasses$1.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.focusOpacity}))`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)}},[`&.${listItemButtonClasses$1.selected}:hover`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity)}},[`&.${listItemButtonClasses$1.focusVisible}`]:{backgroundColor:(o.vars||o).palette.action.focus},[`&.${listItemButtonClasses$1.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity}},s.divider&&{borderBottom:`1px solid ${(o.vars||o).palette.divider}`,backgroundClip:"padding-box"},s.alignItems==="flex-start"&&{alignItems:"flex-start"},!s.disableGutters&&{paddingLeft:16,paddingRight:16},s.dense&&{paddingTop:4,paddingBottom:4})),ListItemButton=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiListItemButton"}),{alignItems:$="center",autoFocus:j=!1,component:_e="div",children:et,dense:tt=!1,disableGutters:rt=!1,divider:nt=!1,focusVisibleClassName:ot,selected:st=!1,className:dt}=a,at=_objectWithoutPropertiesLoose(a,_excluded$n),it=reactExports.useContext(ListContext$1),ft=reactExports.useMemo(()=>({dense:tt||it.dense||!1,alignItems:$,disableGutters:rt}),[$,it.dense,tt,rt]),ct=reactExports.useRef(null);useEnhancedEffect(()=>{j&&ct.current&&ct.current.focus()},[j]);const ut=_extends({},a,{alignItems:$,dense:ft.dense,disableGutters:rt,divider:nt,selected:st}),lt=useUtilityClasses$k(ut),pt=useForkRef(ct,i);return jsxRuntimeExports.jsx(ListContext$1.Provider,{value:ft,children:jsxRuntimeExports.jsx(ListItemButtonRoot,_extends({ref:pt,href:at.href||at.to,component:(at.href||at.to)&&_e==="div"?"button":_e,focusVisibleClassName:clsx(lt.focusVisible,ot),ownerState:ut,className:clsx(lt.root,dt)},at,{classes:lt,children:et}))})}),ListItemButton$1=ListItemButton;function getListItemSecondaryActionClassesUtilityClass(o){return generateUtilityClass$1("MuiListItemSecondaryAction",o)}generateUtilityClasses$1("MuiListItemSecondaryAction",["root","disableGutters"]);const _excluded$m=["className"],useUtilityClasses$j=o=>{const{disableGutters:s,classes:i}=o;return composeClasses({root:["root",s&&"disableGutters"]},getListItemSecondaryActionClassesUtilityClass,i)},ListItemSecondaryActionRoot=styled("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.disableGutters&&s.disableGutters]}})(({ownerState:o})=>_extends({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},o.disableGutters&&{right:0})),ListItemSecondaryAction=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiListItemSecondaryAction"}),{className:$}=a,j=_objectWithoutPropertiesLoose(a,_excluded$m),_e=reactExports.useContext(ListContext$1),et=_extends({},a,{disableGutters:_e.disableGutters}),tt=useUtilityClasses$j(et);return jsxRuntimeExports.jsx(ListItemSecondaryActionRoot,_extends({className:clsx(tt.root,$),ownerState:et,ref:i},j))});ListItemSecondaryAction.muiName="ListItemSecondaryAction";const ListItemSecondaryAction$1=ListItemSecondaryAction,_excluded$l=["className"],_excluded2$3=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],overridesResolver$1=(o,s)=>{const{ownerState:i}=o;return[s.root,i.dense&&s.dense,i.alignItems==="flex-start"&&s.alignItemsFlexStart,i.divider&&s.divider,!i.disableGutters&&s.gutters,!i.disablePadding&&s.padding,i.button&&s.button,i.hasSecondaryAction&&s.secondaryAction]},useUtilityClasses$i=o=>{const{alignItems:s,button:i,classes:a,dense:$,disabled:j,disableGutters:_e,disablePadding:et,divider:tt,hasSecondaryAction:rt,selected:nt}=o;return composeClasses({root:["root",$&&"dense",!_e&&"gutters",!et&&"padding",tt&&"divider",j&&"disabled",i&&"button",s==="flex-start"&&"alignItemsFlexStart",rt&&"secondaryAction",nt&&"selected"],container:["container"]},getListItemUtilityClass,a)},ListItemRoot=styled("div",{name:"MuiListItem",slot:"Root",overridesResolver:overridesResolver$1})(({theme:o,ownerState:s})=>_extends({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!s.disablePadding&&_extends({paddingTop:8,paddingBottom:8},s.dense&&{paddingTop:4,paddingBottom:4},!s.disableGutters&&{paddingLeft:16,paddingRight:16},!!s.secondaryAction&&{paddingRight:48}),!!s.secondaryAction&&{[`& > .${listItemButtonClasses$1.root}`]:{paddingRight:48}},{[`&.${listItemClasses$1.focusVisible}`]:{backgroundColor:(o.vars||o).palette.action.focus},[`&.${listItemClasses$1.selected}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity),[`&.${listItemClasses$1.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.focusOpacity}))`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)}},[`&.${listItemClasses$1.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity}},s.alignItems==="flex-start"&&{alignItems:"flex-start"},s.divider&&{borderBottom:`1px solid ${(o.vars||o).palette.divider}`,backgroundClip:"padding-box"},s.button&&{transition:o.transitions.create("background-color",{duration:o.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(o.vars||o).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${listItemClasses$1.selected}:hover`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity)}}},s.hasSecondaryAction&&{paddingRight:48})),ListItemContainer=styled("li",{name:"MuiListItem",slot:"Container",overridesResolver:(o,s)=>s.container})({position:"relative"}),ListItem=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiListItem"}),{alignItems:$="center",autoFocus:j=!1,button:_e=!1,children:et,className:tt,component:rt,components:nt={},componentsProps:ot={},ContainerComponent:st="li",ContainerProps:{className:dt}={},dense:at=!1,disabled:it=!1,disableGutters:ft=!1,disablePadding:ct=!1,divider:ut=!1,focusVisibleClassName:lt,secondaryAction:pt,selected:ht=!1,slotProps:gt={},slots:mt={}}=a,xt=_objectWithoutPropertiesLoose(a.ContainerProps,_excluded$l),Ct=_objectWithoutPropertiesLoose(a,_excluded2$3),yt=reactExports.useContext(ListContext$1),Et=reactExports.useMemo(()=>({dense:at||yt.dense||!1,alignItems:$,disableGutters:ft}),[$,yt.dense,at,ft]),kt=reactExports.useRef(null);useEnhancedEffect(()=>{j&&kt.current&&kt.current.focus()},[j]);const $t=reactExports.Children.toArray(et),St=$t.length&&isMuiElement($t[$t.length-1],["ListItemSecondaryAction"]),Rt=_extends({},a,{alignItems:$,autoFocus:j,button:_e,dense:Et.dense,disabled:it,disableGutters:ft,disablePadding:ct,divider:ut,hasSecondaryAction:St,selected:ht}),Pt=useUtilityClasses$i(Rt),wt=useForkRef(kt,i),vt=mt.root||nt.Root||ListItemRoot,bt=gt.root||ot.root||{},Tt=_extends({className:clsx(Pt.root,bt.className,tt),disabled:it},Ct);let Mt=rt||"li";return _e&&(Tt.component=rt||"div",Tt.focusVisibleClassName=clsx(listItemClasses$1.focusVisible,lt),Mt=ButtonBase$1),St?(Mt=!Tt.component&&!rt?"div":Mt,st==="li"&&(Mt==="li"?Mt="div":Tt.component==="li"&&(Tt.component="div")),jsxRuntimeExports.jsx(ListContext$1.Provider,{value:Et,children:jsxRuntimeExports.jsxs(ListItemContainer,_extends({as:st,className:clsx(Pt.container,dt),ref:wt,ownerState:Rt},xt,{children:[jsxRuntimeExports.jsx(vt,_extends({},bt,!isHostComponent(vt)&&{as:Mt,ownerState:_extends({},Rt,bt.ownerState)},Tt,{children:$t})),$t.pop()]}))})):jsxRuntimeExports.jsx(ListContext$1.Provider,{value:Et,children:jsxRuntimeExports.jsxs(vt,_extends({},bt,{as:Mt,ref:wt},!isHostComponent(vt)&&{ownerState:_extends({},Rt,bt.ownerState)},Tt,{children:[$t,pt&&jsxRuntimeExports.jsx(ListItemSecondaryAction$1,{children:pt})]}))})}),ListItem$1=ListItem;function getListItemIconUtilityClass(o){return generateUtilityClass$1("MuiListItemIcon",o)}const listItemIconClasses=generateUtilityClasses$1("MuiListItemIcon",["root","alignItemsFlexStart"]),listItemIconClasses$1=listItemIconClasses,_excluded$k=["className"],useUtilityClasses$h=o=>{const{alignItems:s,classes:i}=o;return composeClasses({root:["root",s==="flex-start"&&"alignItemsFlexStart"]},getListItemIconUtilityClass,i)},ListItemIconRoot=styled("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.alignItems==="flex-start"&&s.alignItemsFlexStart]}})(({theme:o,ownerState:s})=>_extends({minWidth:56,color:(o.vars||o).palette.action.active,flexShrink:0,display:"inline-flex"},s.alignItems==="flex-start"&&{marginTop:8})),ListItemIcon=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiListItemIcon"}),{className:$}=a,j=_objectWithoutPropertiesLoose(a,_excluded$k),_e=reactExports.useContext(ListContext$1),et=_extends({},a,{alignItems:_e.alignItems}),tt=useUtilityClasses$h(et);return jsxRuntimeExports.jsx(ListItemIconRoot,_extends({className:clsx(tt.root,$),ownerState:et,ref:i},j))}),ListItemIcon$1=ListItemIcon;function getListItemTextUtilityClass(o){return generateUtilityClass$1("MuiListItemText",o)}const listItemTextClasses=generateUtilityClasses$1("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),listItemTextClasses$1=listItemTextClasses,_excluded$j=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],useUtilityClasses$g=o=>{const{classes:s,inset:i,primary:a,secondary:$,dense:j}=o;return composeClasses({root:["root",i&&"inset",j&&"dense",a&&$&&"multiline"],primary:["primary"],secondary:["secondary"]},getListItemTextUtilityClass,s)},ListItemTextRoot=styled("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[{[`& .${listItemTextClasses$1.primary}`]:s.primary},{[`& .${listItemTextClasses$1.secondary}`]:s.secondary},s.root,i.inset&&s.inset,i.primary&&i.secondary&&s.multiline,i.dense&&s.dense]}})(({ownerState:o})=>_extends({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},o.primary&&o.secondary&&{marginTop:6,marginBottom:6},o.inset&&{paddingLeft:56})),ListItemText=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiListItemText"}),{children:$,className:j,disableTypography:_e=!1,inset:et=!1,primary:tt,primaryTypographyProps:rt,secondary:nt,secondaryTypographyProps:ot}=a,st=_objectWithoutPropertiesLoose(a,_excluded$j),{dense:dt}=reactExports.useContext(ListContext$1);let at=tt??$,it=nt;const ft=_extends({},a,{disableTypography:_e,inset:et,primary:!!at,secondary:!!it,dense:dt}),ct=useUtilityClasses$g(ft);return at!=null&&at.type!==Typography$1&&!_e&&(at=jsxRuntimeExports.jsx(Typography$1,_extends({variant:dt?"body2":"body1",className:ct.primary,component:rt!=null&&rt.variant?void 0:"span",display:"block"},rt,{children:at}))),it!=null&&it.type!==Typography$1&&!_e&&(it=jsxRuntimeExports.jsx(Typography$1,_extends({variant:"body2",className:ct.secondary,color:"text.secondary",display:"block"},ot,{children:it}))),jsxRuntimeExports.jsxs(ListItemTextRoot,_extends({className:clsx(ct.root,j),ownerState:ft,ref:i},st,{children:[at,it]}))}),ListItemText$1=ListItemText,_excluded$i=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function nextItem(o,s,i){return o===s?o.firstChild:s&&s.nextElementSibling?s.nextElementSibling:i?null:o.firstChild}function previousItem(o,s,i){return o===s?i?o.firstChild:o.lastChild:s&&s.previousElementSibling?s.previousElementSibling:i?null:o.lastChild}function textCriteriaMatches(o,s){if(s===void 0)return!0;let i=o.innerText;return i===void 0&&(i=o.textContent),i=i.trim().toLowerCase(),i.length===0?!1:s.repeating?i[0]===s.keys[0]:i.indexOf(s.keys.join(""))===0}function moveFocus(o,s,i,a,$,j){let _e=!1,et=$(o,s,s?i:!1);for(;et;){if(et===o.firstChild){if(_e)return!1;_e=!0}const tt=a?!1:et.disabled||et.getAttribute("aria-disabled")==="true";if(!et.hasAttribute("tabindex")||!textCriteriaMatches(et,j)||tt)et=$(o,et,i);else return et.focus(),!0}return!1}const MenuList=reactExports.forwardRef(function(s,i){const{actions:a,autoFocus:$=!1,autoFocusItem:j=!1,children:_e,className:et,disabledItemsFocusable:tt=!1,disableListWrap:rt=!1,onKeyDown:nt,variant:ot="selectedMenu"}=s,st=_objectWithoutPropertiesLoose(s,_excluded$i),dt=reactExports.useRef(null),at=reactExports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});useEnhancedEffect(()=>{$&&dt.current.focus()},[$]),reactExports.useImperativeHandle(a,()=>({adjustStyleForScrollbar:(lt,pt)=>{const ht=!dt.current.style.width;if(lt.clientHeight{const pt=dt.current,ht=lt.key,gt=ownerDocument(pt).activeElement;if(ht==="ArrowDown")lt.preventDefault(),moveFocus(pt,gt,rt,tt,nextItem);else if(ht==="ArrowUp")lt.preventDefault(),moveFocus(pt,gt,rt,tt,previousItem);else if(ht==="Home")lt.preventDefault(),moveFocus(pt,null,rt,tt,nextItem);else if(ht==="End")lt.preventDefault(),moveFocus(pt,null,rt,tt,previousItem);else if(ht.length===1){const mt=at.current,xt=ht.toLowerCase(),Ct=performance.now();mt.keys.length>0&&(Ct-mt.lastTime>500?(mt.keys=[],mt.repeating=!0,mt.previousKeyMatched=!0):mt.repeating&&xt!==mt.keys[0]&&(mt.repeating=!1)),mt.lastTime=Ct,mt.keys.push(xt);const yt=gt&&!mt.repeating&&textCriteriaMatches(gt,mt);mt.previousKeyMatched&&(yt||moveFocus(pt,gt,!1,tt,nextItem,mt))?lt.preventDefault():mt.previousKeyMatched=!1}nt&&nt(lt)},ft=useForkRef(dt,i);let ct=-1;reactExports.Children.forEach(_e,(lt,pt)=>{if(!reactExports.isValidElement(lt)){ct===pt&&(ct+=1,ct>=_e.length&&(ct=-1));return}lt.props.disabled||(ot==="selectedMenu"&<.props.selected||ct===-1)&&(ct=pt),ct===pt&&(lt.props.disabled||lt.props.muiSkipListHighlight||lt.type.muiSkipListHighlight)&&(ct+=1,ct>=_e.length&&(ct=-1))});const ut=reactExports.Children.map(_e,(lt,pt)=>{if(pt===ct){const ht={};return j&&(ht.autoFocus=!0),lt.props.tabIndex===void 0&&ot==="selectedMenu"&&(ht.tabIndex=0),reactExports.cloneElement(lt,ht)}return lt});return jsxRuntimeExports.jsx(List$1,_extends({role:"menu",ref:ft,className:et,onKeyDown:it,tabIndex:$?0:-1},st,{children:ut}))}),MenuList$1=MenuList;function getPopoverUtilityClass(o){return generateUtilityClass$1("MuiPopover",o)}generateUtilityClasses$1("MuiPopover",["root","paper"]);const _excluded$h=["onEntering"],_excluded2$2=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],_excluded3=["slotProps"];function getOffsetTop(o,s){let i=0;return typeof s=="number"?i=s:s==="center"?i=o.height/2:s==="bottom"&&(i=o.height),i}function getOffsetLeft(o,s){let i=0;return typeof s=="number"?i=s:s==="center"?i=o.width/2:s==="right"&&(i=o.width),i}function getTransformOriginValue(o){return[o.horizontal,o.vertical].map(s=>typeof s=="number"?`${s}px`:s).join(" ")}function resolveAnchorEl(o){return typeof o=="function"?o():o}const useUtilityClasses$f=o=>{const{classes:s}=o;return composeClasses({root:["root"],paper:["paper"]},getPopoverUtilityClass,s)},PopoverRoot=styled(Modal$1,{name:"MuiPopover",slot:"Root",overridesResolver:(o,s)=>s.root})({}),PopoverPaper=styled(Paper$1,{name:"MuiPopover",slot:"Paper",overridesResolver:(o,s)=>s.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Popover=reactExports.forwardRef(function(s,i){var a,$,j;const _e=useThemeProps({props:s,name:"MuiPopover"}),{action:et,anchorEl:tt,anchorOrigin:rt={vertical:"top",horizontal:"left"},anchorPosition:nt,anchorReference:ot="anchorEl",children:st,className:dt,container:at,elevation:it=8,marginThreshold:ft=16,open:ct,PaperProps:ut={},slots:lt,slotProps:pt,transformOrigin:ht={vertical:"top",horizontal:"left"},TransitionComponent:gt=Grow$1,transitionDuration:mt="auto",TransitionProps:{onEntering:xt}={},disableScrollLock:Ct=!1}=_e,yt=_objectWithoutPropertiesLoose(_e.TransitionProps,_excluded$h),Et=_objectWithoutPropertiesLoose(_e,_excluded2$2),kt=(a=pt==null?void 0:pt.paper)!=null?a:ut,$t=reactExports.useRef(),St=useForkRef($t,kt.ref),Rt=_extends({},_e,{anchorOrigin:rt,anchorReference:ot,elevation:it,marginThreshold:ft,externalPaperSlotProps:kt,transformOrigin:ht,TransitionComponent:gt,transitionDuration:mt,TransitionProps:yt}),Pt=useUtilityClasses$f(Rt),wt=reactExports.useCallback(()=>{if(ot==="anchorPosition")return nt;const Ft=resolveAnchorEl(tt),Wt=(Ft&&Ft.nodeType===1?Ft:ownerDocument($t.current).body).getBoundingClientRect();return{top:Wt.top+getOffsetTop(Wt,rt.vertical),left:Wt.left+getOffsetLeft(Wt,rt.horizontal)}},[tt,rt.horizontal,rt.vertical,nt,ot]),vt=reactExports.useCallback(Ft=>({vertical:getOffsetTop(Ft,ht.vertical),horizontal:getOffsetLeft(Ft,ht.horizontal)}),[ht.horizontal,ht.vertical]),bt=reactExports.useCallback(Ft=>{const Vt={width:Ft.offsetWidth,height:Ft.offsetHeight},Wt=vt(Vt);if(ot==="none")return{top:null,left:null,transformOrigin:getTransformOriginValue(Wt)};const cr=wt();let ir=cr.top-Wt.vertical,rr=cr.left-Wt.horizontal;const lr=ir+Vt.height,Zt=rr+Vt.width,Yt=ownerWindow(resolveAnchorEl(tt)),ar=Yt.innerHeight-ft,tr=Yt.innerWidth-ft;if(ft!==null&&irar){const Kt=lr-ar;ir-=Kt,Wt.vertical+=Kt}if(ft!==null&&rrtr){const Kt=Zt-tr;rr-=Kt,Wt.horizontal+=Kt}return{top:`${Math.round(ir)}px`,left:`${Math.round(rr)}px`,transformOrigin:getTransformOriginValue(Wt)}},[tt,ot,wt,vt,ft]),[Tt,Mt]=reactExports.useState(ct),Ot=reactExports.useCallback(()=>{const Ft=$t.current;if(!Ft)return;const Vt=bt(Ft);Vt.top!==null&&(Ft.style.top=Vt.top),Vt.left!==null&&(Ft.style.left=Vt.left),Ft.style.transformOrigin=Vt.transformOrigin,Mt(!0)},[bt]);reactExports.useEffect(()=>(Ct&&window.addEventListener("scroll",Ot),()=>window.removeEventListener("scroll",Ot)),[tt,Ct,Ot]);const Nt=(Ft,Vt)=>{xt&&xt(Ft,Vt),Ot()},It=()=>{Mt(!1)};reactExports.useEffect(()=>{ct&&Ot()}),reactExports.useImperativeHandle(et,()=>ct?{updatePosition:()=>{Ot()}}:null,[ct,Ot]),reactExports.useEffect(()=>{if(!ct)return;const Ft=debounce$1(()=>{Ot()}),Vt=ownerWindow(tt);return Vt.addEventListener("resize",Ft),()=>{Ft.clear(),Vt.removeEventListener("resize",Ft)}},[tt,ct,Ot]);let At=mt;mt==="auto"&&!gt.muiSupportAuto&&(At=void 0);const Dt=at||(tt?ownerDocument(resolveAnchorEl(tt)).body:void 0),qt=($=lt==null?void 0:lt.root)!=null?$:PopoverRoot,Ht=(j=lt==null?void 0:lt.paper)!=null?j:PopoverPaper,Ut=useSlotProps({elementType:Ht,externalSlotProps:_extends({},kt,{style:Tt?kt.style:_extends({},kt.style,{opacity:0})}),additionalProps:{elevation:it,ref:St},ownerState:Rt,className:clsx(Pt.paper,kt==null?void 0:kt.className)}),Jt=useSlotProps({elementType:qt,externalSlotProps:(pt==null?void 0:pt.root)||{},externalForwardedProps:Et,additionalProps:{ref:i,slotProps:{backdrop:{invisible:!0}},container:Dt,open:ct},ownerState:Rt,className:clsx(Pt.root,dt)}),{slotProps:Bt}=Jt,Qt=_objectWithoutPropertiesLoose(Jt,_excluded3);return jsxRuntimeExports.jsx(qt,_extends({},Qt,!isHostComponent(qt)&&{slotProps:Bt,disableScrollLock:Ct},{children:jsxRuntimeExports.jsx(gt,_extends({appear:!0,in:ct,onEntering:Nt,onExited:It,timeout:At},yt,{children:jsxRuntimeExports.jsx(Ht,_extends({},Ut,{children:st}))}))}))}),Popover$1=Popover;function getMenuUtilityClass(o){return generateUtilityClass$1("MuiMenu",o)}generateUtilityClasses$1("MuiMenu",["root","paper","list"]);const _excluded$g=["onEntering"],_excluded2$1=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],RTL_ORIGIN={vertical:"top",horizontal:"right"},LTR_ORIGIN={vertical:"top",horizontal:"left"},useUtilityClasses$e=o=>{const{classes:s}=o;return composeClasses({root:["root"],paper:["paper"],list:["list"]},getMenuUtilityClass,s)},MenuRoot=styled(Popover$1,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(o,s)=>s.root})({}),MenuPaper=styled(PopoverPaper,{name:"MuiMenu",slot:"Paper",overridesResolver:(o,s)=>s.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),MenuMenuList=styled(MenuList$1,{name:"MuiMenu",slot:"List",overridesResolver:(o,s)=>s.list})({outline:0}),Menu=reactExports.forwardRef(function(s,i){var a,$;const j=useThemeProps({props:s,name:"MuiMenu"}),{autoFocus:_e=!0,children:et,className:tt,disableAutoFocusItem:rt=!1,MenuListProps:nt={},onClose:ot,open:st,PaperProps:dt={},PopoverClasses:at,transitionDuration:it="auto",TransitionProps:{onEntering:ft}={},variant:ct="selectedMenu",slots:ut={},slotProps:lt={}}=j,pt=_objectWithoutPropertiesLoose(j.TransitionProps,_excluded$g),ht=_objectWithoutPropertiesLoose(j,_excluded2$1),gt=useTheme(),mt=gt.direction==="rtl",xt=_extends({},j,{autoFocus:_e,disableAutoFocusItem:rt,MenuListProps:nt,onEntering:ft,PaperProps:dt,transitionDuration:it,TransitionProps:pt,variant:ct}),Ct=useUtilityClasses$e(xt),yt=_e&&!rt&&st,Et=reactExports.useRef(null),kt=(bt,Tt)=>{Et.current&&Et.current.adjustStyleForScrollbar(bt,gt),ft&&ft(bt,Tt)},$t=bt=>{bt.key==="Tab"&&(bt.preventDefault(),ot&&ot(bt,"tabKeyDown"))};let St=-1;reactExports.Children.map(et,(bt,Tt)=>{reactExports.isValidElement(bt)&&(bt.props.disabled||(ct==="selectedMenu"&&bt.props.selected||St===-1)&&(St=Tt))});const Rt=(a=ut.paper)!=null?a:MenuPaper,Pt=($=lt.paper)!=null?$:dt,wt=useSlotProps({elementType:ut.root,externalSlotProps:lt.root,ownerState:xt,className:[Ct.root,tt]}),vt=useSlotProps({elementType:Rt,externalSlotProps:Pt,ownerState:xt,className:Ct.paper});return jsxRuntimeExports.jsx(MenuRoot,_extends({onClose:ot,anchorOrigin:{vertical:"bottom",horizontal:mt?"right":"left"},transformOrigin:mt?RTL_ORIGIN:LTR_ORIGIN,slots:{paper:Rt,root:ut.root},slotProps:{root:wt,paper:vt},open:st,ref:i,transitionDuration:it,TransitionProps:_extends({onEntering:kt},pt),ownerState:xt},ht,{classes:at,children:jsxRuntimeExports.jsx(MenuMenuList,_extends({onKeyDown:$t,actions:Et,autoFocus:_e&&(St===-1||rt),autoFocusItem:yt,variant:ct},nt,{className:clsx(Ct.list,nt.className),children:et}))}))}),Menu$1=Menu;function getMenuItemUtilityClass(o){return generateUtilityClass$1("MuiMenuItem",o)}const menuItemClasses=generateUtilityClasses$1("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),menuItemClasses$1=menuItemClasses,_excluded$f=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],overridesResolver=(o,s)=>{const{ownerState:i}=o;return[s.root,i.dense&&s.dense,i.divider&&s.divider,!i.disableGutters&&s.gutters]},useUtilityClasses$d=o=>{const{disabled:s,dense:i,divider:a,disableGutters:$,selected:j,classes:_e}=o,tt=composeClasses({root:["root",i&&"dense",s&&"disabled",!$&&"gutters",a&&"divider",j&&"selected"]},getMenuItemUtilityClass,_e);return _extends({},_e,tt)},MenuItemRoot=styled(ButtonBase$1,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver})(({theme:o,ownerState:s})=>_extends({},o.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!s.disableGutters&&{paddingLeft:16,paddingRight:16},s.divider&&{borderBottom:`1px solid ${(o.vars||o).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(o.vars||o).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${menuItemClasses$1.selected}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity),[`&.${menuItemClasses$1.focusVisible}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.focusOpacity}))`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)}},[`&.${menuItemClasses$1.selected}:hover`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity)}},[`&.${menuItemClasses$1.focusVisible}`]:{backgroundColor:(o.vars||o).palette.action.focus},[`&.${menuItemClasses$1.disabled}`]:{opacity:(o.vars||o).palette.action.disabledOpacity},[`& + .${dividerClasses$1.root}`]:{marginTop:o.spacing(1),marginBottom:o.spacing(1)},[`& + .${dividerClasses$1.inset}`]:{marginLeft:52},[`& .${listItemTextClasses$1.root}`]:{marginTop:0,marginBottom:0},[`& .${listItemTextClasses$1.inset}`]:{paddingLeft:36},[`& .${listItemIconClasses$1.root}`]:{minWidth:36}},!s.dense&&{[o.breakpoints.up("sm")]:{minHeight:"auto"}},s.dense&&_extends({minHeight:32,paddingTop:4,paddingBottom:4},o.typography.body2,{[`& .${listItemIconClasses$1.root} svg`]:{fontSize:"1.25rem"}}))),MenuItem=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiMenuItem"}),{autoFocus:$=!1,component:j="li",dense:_e=!1,divider:et=!1,disableGutters:tt=!1,focusVisibleClassName:rt,role:nt="menuitem",tabIndex:ot,className:st}=a,dt=_objectWithoutPropertiesLoose(a,_excluded$f),at=reactExports.useContext(ListContext$1),it=reactExports.useMemo(()=>({dense:_e||at.dense||!1,disableGutters:tt}),[at.dense,_e,tt]),ft=reactExports.useRef(null);useEnhancedEffect(()=>{$&&ft.current&&ft.current.focus()},[$]);const ct=_extends({},a,{dense:it.dense,divider:et,disableGutters:tt}),ut=useUtilityClasses$d(a),lt=useForkRef(ft,i);let pt;return a.disabled||(pt=ot!==void 0?ot:-1),jsxRuntimeExports.jsx(ListContext$1.Provider,{value:it,children:jsxRuntimeExports.jsx(MenuItemRoot,_extends({ref:lt,role:nt,tabIndex:pt,component:j,focusVisibleClassName:clsx(ut.focusVisible,rt),className:clsx(ut.root,st)},dt,{ownerState:ct,classes:ut}))})}),MenuItem$1=MenuItem;function getNativeSelectUtilityClasses(o){return generateUtilityClass$1("MuiNativeSelect",o)}const nativeSelectClasses=generateUtilityClasses$1("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),nativeSelectClasses$1=nativeSelectClasses,_excluded$e=["className","disabled","error","IconComponent","inputRef","variant"],useUtilityClasses$c=o=>{const{classes:s,variant:i,disabled:a,multiple:$,open:j,error:_e}=o,et={select:["select",i,a&&"disabled",$&&"multiple",_e&&"error"],icon:["icon",`icon${capitalize(i)}`,j&&"iconOpen",a&&"disabled"]};return composeClasses(et,getNativeSelectUtilityClasses,s)},nativeSelectSelectStyles=({ownerState:o,theme:s})=>_extends({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":_extends({},s.vars?{backgroundColor:`rgba(${s.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:s.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${nativeSelectClasses$1.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(s.vars||s).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},o.variant==="filled"&&{"&&&":{paddingRight:32}},o.variant==="outlined"&&{borderRadius:(s.vars||s).shape.borderRadius,"&:focus":{borderRadius:(s.vars||s).shape.borderRadius},"&&&":{paddingRight:32}}),NativeSelectSelect=styled("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:rootShouldForwardProp,overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.select,s[i.variant],i.error&&s.error,{[`&.${nativeSelectClasses$1.multiple}`]:s.multiple}]}})(nativeSelectSelectStyles),nativeSelectIconStyles=({ownerState:o,theme:s})=>_extends({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(s.vars||s).palette.action.active,[`&.${nativeSelectClasses$1.disabled}`]:{color:(s.vars||s).palette.action.disabled}},o.open&&{transform:"rotate(180deg)"},o.variant==="filled"&&{right:7},o.variant==="outlined"&&{right:7}),NativeSelectIcon=styled("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.icon,i.variant&&s[`icon${capitalize(i.variant)}`],i.open&&s.iconOpen]}})(nativeSelectIconStyles),NativeSelectInput=reactExports.forwardRef(function(s,i){const{className:a,disabled:$,error:j,IconComponent:_e,inputRef:et,variant:tt="standard"}=s,rt=_objectWithoutPropertiesLoose(s,_excluded$e),nt=_extends({},s,{disabled:$,variant:tt,error:j}),ot=useUtilityClasses$c(nt);return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[jsxRuntimeExports.jsx(NativeSelectSelect,_extends({ownerState:nt,className:clsx(ot.select,a),disabled:$,ref:et||i},rt)),s.multiple?null:jsxRuntimeExports.jsx(NativeSelectIcon,{as:_e,ownerState:nt,className:ot.icon})]})}),NativeSelectInput$1=NativeSelectInput;var _span$1;const _excluded$d=["children","classes","className","label","notched"],NotchedOutlineRoot$1=styled("fieldset",{shouldForwardProp:rootShouldForwardProp})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),NotchedOutlineLegend=styled("legend",{shouldForwardProp:rootShouldForwardProp})(({ownerState:o,theme:s})=>_extends({float:"unset",width:"auto",overflow:"hidden"},!o.withLabel&&{padding:0,lineHeight:"11px",transition:s.transitions.create("width",{duration:150,easing:s.transitions.easing.easeOut})},o.withLabel&&_extends({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:s.transitions.create("max-width",{duration:50,easing:s.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},o.notched&&{maxWidth:"100%",transition:s.transitions.create("max-width",{duration:100,easing:s.transitions.easing.easeOut,delay:50})})));function NotchedOutline(o){const{className:s,label:i,notched:a}=o,$=_objectWithoutPropertiesLoose(o,_excluded$d),j=i!=null&&i!=="",_e=_extends({},o,{notched:a,withLabel:j});return jsxRuntimeExports.jsx(NotchedOutlineRoot$1,_extends({"aria-hidden":!0,className:s,ownerState:_e},$,{children:jsxRuntimeExports.jsx(NotchedOutlineLegend,{ownerState:_e,children:j?jsxRuntimeExports.jsx("span",{children:i}):_span$1||(_span$1=jsxRuntimeExports.jsx("span",{className:"notranslate",children:"​"}))})}))}const _excluded$c=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],useUtilityClasses$b=o=>{const{classes:s}=o,a=composeClasses({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},getOutlinedInputUtilityClass,s);return _extends({},s,a)},OutlinedInputRoot=styled(InputBaseRoot,{shouldForwardProp:o=>rootShouldForwardProp(o)||o==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:rootOverridesResolver})(({theme:o,ownerState:s})=>{const i=o.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return _extends({position:"relative",borderRadius:(o.vars||o).shape.borderRadius,[`&:hover .${outlinedInputClasses$1.notchedOutline}`]:{borderColor:(o.vars||o).palette.text.primary},"@media (hover: none)":{[`&:hover .${outlinedInputClasses$1.notchedOutline}`]:{borderColor:o.vars?`rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)`:i}},[`&.${outlinedInputClasses$1.focused} .${outlinedInputClasses$1.notchedOutline}`]:{borderColor:(o.vars||o).palette[s.color].main,borderWidth:2},[`&.${outlinedInputClasses$1.error} .${outlinedInputClasses$1.notchedOutline}`]:{borderColor:(o.vars||o).palette.error.main},[`&.${outlinedInputClasses$1.disabled} .${outlinedInputClasses$1.notchedOutline}`]:{borderColor:(o.vars||o).palette.action.disabled}},s.startAdornment&&{paddingLeft:14},s.endAdornment&&{paddingRight:14},s.multiline&&_extends({padding:"16.5px 14px"},s.size==="small"&&{padding:"8.5px 14px"}))}),NotchedOutlineRoot=styled(NotchedOutline,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(o,s)=>s.notchedOutline})(({theme:o})=>{const s=o.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:o.vars?`rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)`:s}}),OutlinedInputInput=styled(InputBaseComponent,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:inputOverridesResolver})(({theme:o,ownerState:s})=>_extends({padding:"16.5px 14px"},!o.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:o.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:o.palette.mode==="light"?null:"#fff",caretColor:o.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},o.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[o.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},s.size==="small"&&{padding:"8.5px 14px"},s.multiline&&{padding:0},s.startAdornment&&{paddingLeft:0},s.endAdornment&&{paddingRight:0})),OutlinedInput=reactExports.forwardRef(function(s,i){var a,$,j,_e,et;const tt=useThemeProps({props:s,name:"MuiOutlinedInput"}),{components:rt={},fullWidth:nt=!1,inputComponent:ot="input",label:st,multiline:dt=!1,notched:at,slots:it={},type:ft="text"}=tt,ct=_objectWithoutPropertiesLoose(tt,_excluded$c),ut=useUtilityClasses$b(tt),lt=useFormControl(),pt=formControlState({props:tt,muiFormControl:lt,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),ht=_extends({},tt,{color:pt.color||"primary",disabled:pt.disabled,error:pt.error,focused:pt.focused,formControl:lt,fullWidth:nt,hiddenLabel:pt.hiddenLabel,multiline:dt,size:pt.size,type:ft}),gt=(a=($=it.root)!=null?$:rt.Root)!=null?a:OutlinedInputRoot,mt=(j=(_e=it.input)!=null?_e:rt.Input)!=null?j:OutlinedInputInput;return jsxRuntimeExports.jsx(InputBase$1,_extends({slots:{root:gt,input:mt},renderSuffix:xt=>jsxRuntimeExports.jsx(NotchedOutlineRoot,{ownerState:ht,className:ut.notchedOutline,label:st!=null&&st!==""&&pt.required?et||(et=jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[st," ","*"]})):st,notched:typeof at<"u"?at:!!(xt.startAdornment||xt.filled||xt.focused)}),fullWidth:nt,inputComponent:ot,multiline:dt,ref:i,type:ft},ct,{classes:_extends({},ut,{notchedOutline:null})}))});OutlinedInput.muiName="Input";const OutlinedInput$1=OutlinedInput;function getSelectUtilityClasses(o){return generateUtilityClass$1("MuiSelect",o)}const selectClasses=generateUtilityClasses$1("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var _span;const _excluded$b=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],SelectSelect=styled("div",{name:"MuiSelect",slot:"Select",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[{[`&.${selectClasses.select}`]:s.select},{[`&.${selectClasses.select}`]:s[i.variant]},{[`&.${selectClasses.error}`]:s.error},{[`&.${selectClasses.multiple}`]:s.multiple}]}})(nativeSelectSelectStyles,{[`&.${selectClasses.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),SelectIcon=styled("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.icon,i.variant&&s[`icon${capitalize(i.variant)}`],i.open&&s.iconOpen]}})(nativeSelectIconStyles),SelectNativeInput=styled("input",{shouldForwardProp:o=>slotShouldForwardProp(o)&&o!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(o,s)=>s.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function areEqualValues(o,s){return typeof s=="object"&&s!==null?o===s:String(o)===String(s)}function isEmpty(o){return o==null||typeof o=="string"&&!o.trim()}const useUtilityClasses$a=o=>{const{classes:s,variant:i,disabled:a,multiple:$,open:j,error:_e}=o,et={select:["select",i,a&&"disabled",$&&"multiple",_e&&"error"],icon:["icon",`icon${capitalize(i)}`,j&&"iconOpen",a&&"disabled"],nativeInput:["nativeInput"]};return composeClasses(et,getSelectUtilityClasses,s)},SelectInput=reactExports.forwardRef(function(s,i){var a;const{"aria-describedby":$,"aria-label":j,autoFocus:_e,autoWidth:et,children:tt,className:rt,defaultOpen:nt,defaultValue:ot,disabled:st,displayEmpty:dt,error:at=!1,IconComponent:it,inputRef:ft,labelId:ct,MenuProps:ut={},multiple:lt,name:pt,onBlur:ht,onChange:gt,onClose:mt,onFocus:xt,onOpen:Ct,open:yt,readOnly:Et,renderValue:kt,SelectDisplayProps:$t={},tabIndex:St,value:Rt,variant:Pt="standard"}=s,wt=_objectWithoutPropertiesLoose(s,_excluded$b),[vt,bt]=useControlled({controlled:Rt,default:ot,name:"Select"}),[Tt,Mt]=useControlled({controlled:yt,default:nt,name:"Select"}),Ot=reactExports.useRef(null),Nt=reactExports.useRef(null),[It,At]=reactExports.useState(null),{current:Dt}=reactExports.useRef(yt!=null),[qt,Ht]=reactExports.useState(),Ut=useForkRef(i,ft),Jt=reactExports.useCallback(jt=>{Nt.current=jt,jt&&At(jt)},[]),Bt=It==null?void 0:It.parentNode;reactExports.useImperativeHandle(Ut,()=>({focus:()=>{Nt.current.focus()},node:Ot.current,value:vt}),[vt]),reactExports.useEffect(()=>{nt&&Tt&&It&&!Dt&&(Ht(et?null:Bt.clientWidth),Nt.current.focus())},[It,et]),reactExports.useEffect(()=>{_e&&Nt.current.focus()},[_e]),reactExports.useEffect(()=>{if(!ct)return;const jt=ownerDocument(Nt.current).getElementById(ct);if(jt){const Xt=()=>{getSelection().isCollapsed&&Nt.current.focus()};return jt.addEventListener("click",Xt),()=>{jt.removeEventListener("click",Xt)}}},[ct]);const Qt=(jt,Xt)=>{jt?Ct&&Ct(Xt):mt&&mt(Xt),Dt||(Ht(et?null:Bt.clientWidth),Mt(jt))},Ft=jt=>{jt.button===0&&(jt.preventDefault(),Nt.current.focus(),Qt(!0,jt))},Vt=jt=>{Qt(!1,jt)},Wt=reactExports.Children.toArray(tt),cr=jt=>{const Xt=Wt.find(er=>er.props.value===jt.target.value);Xt!==void 0&&(bt(Xt.props.value),gt&>(jt,Xt))},ir=jt=>Xt=>{let er;if(Xt.currentTarget.hasAttribute("tabindex")){if(lt){er=Array.isArray(vt)?vt.slice():[];const mr=vt.indexOf(jt.props.value);mr===-1?er.push(jt.props.value):er.splice(mr,1)}else er=jt.props.value;if(jt.props.onClick&&jt.props.onClick(Xt),vt!==er&&(bt(er),gt)){const mr=Xt.nativeEvent||Xt,gr=new mr.constructor(mr.type,mr);Object.defineProperty(gr,"target",{writable:!0,value:{value:er,name:pt}}),gt(gr,jt)}lt||Qt(!1,Xt)}},rr=jt=>{Et||[" ","ArrowUp","ArrowDown","Enter"].indexOf(jt.key)!==-1&&(jt.preventDefault(),Qt(!0,jt))},lr=It!==null&&Tt,Zt=jt=>{!lr&&ht&&(Object.defineProperty(jt,"target",{writable:!0,value:{value:vt,name:pt}}),ht(jt))};delete wt["aria-invalid"];let Yt,ar;const tr=[];let Kt=!1;(isFilled({value:vt})||dt)&&(kt?Yt=kt(vt):Kt=!0);const sr=Wt.map(jt=>{if(!reactExports.isValidElement(jt))return null;let Xt;if(lt){if(!Array.isArray(vt))throw new Error(formatMuiErrorMessage(2));Xt=vt.some(er=>areEqualValues(er,jt.props.value)),Xt&&Kt&&tr.push(jt.props.children)}else Xt=areEqualValues(vt,jt.props.value),Xt&&Kt&&(ar=jt.props.children);return reactExports.cloneElement(jt,{"aria-selected":Xt?"true":"false",onClick:ir(jt),onKeyUp:er=>{er.key===" "&&er.preventDefault(),jt.props.onKeyUp&&jt.props.onKeyUp(er)},role:"option",selected:Xt,value:void 0,"data-value":jt.props.value})});Kt&&(lt?tr.length===0?Yt=null:Yt=tr.reduce((jt,Xt,er)=>(jt.push(Xt),er{const{classes:s}=o;return s},styledRootConfig={name:"MuiSelect",overridesResolver:(o,s)=>s.root,shouldForwardProp:o=>rootShouldForwardProp(o)&&o!=="variant",slot:"Root"},StyledInput=styled(Input$1,styledRootConfig)(""),StyledOutlinedInput=styled(OutlinedInput$1,styledRootConfig)(""),StyledFilledInput=styled(FilledInput$1,styledRootConfig)(""),Select=reactExports.forwardRef(function(s,i){const a=useThemeProps({name:"MuiSelect",props:s}),{autoWidth:$=!1,children:j,classes:_e={},className:et,defaultOpen:tt=!1,displayEmpty:rt=!1,IconComponent:nt=ArrowDropDownIcon,id:ot,input:st,inputProps:dt,label:at,labelId:it,MenuProps:ft,multiple:ct=!1,native:ut=!1,onClose:lt,onOpen:pt,open:ht,renderValue:gt,SelectDisplayProps:mt,variant:xt="outlined"}=a,Ct=_objectWithoutPropertiesLoose(a,_excluded$a),yt=ut?NativeSelectInput$1:SelectInput$1,Et=useFormControl(),kt=formControlState({props:a,muiFormControl:Et,states:["variant","error"]}),$t=kt.variant||xt,St=_extends({},a,{variant:$t,classes:_e}),Rt=useUtilityClasses$9(St),Pt=_objectWithoutPropertiesLoose(Rt,_excluded2),wt=st||{standard:jsxRuntimeExports.jsx(StyledInput,{ownerState:St}),outlined:jsxRuntimeExports.jsx(StyledOutlinedInput,{label:at,ownerState:St}),filled:jsxRuntimeExports.jsx(StyledFilledInput,{ownerState:St})}[$t],vt=useForkRef(i,wt.ref);return jsxRuntimeExports.jsx(reactExports.Fragment,{children:reactExports.cloneElement(wt,_extends({inputComponent:yt,inputProps:_extends({children:j,error:kt.error,IconComponent:nt,variant:$t,type:void 0,multiple:ct},ut?{id:ot}:{autoWidth:$,defaultOpen:tt,displayEmpty:rt,labelId:it,MenuProps:ft,onClose:lt,onOpen:pt,open:ht,renderValue:gt,SelectDisplayProps:_extends({id:ot},mt)},dt,{classes:dt?deepmerge(Pt,dt.classes):Pt},st?st.props.inputProps:{})},ct&&ut&&$t==="outlined"?{notched:!0}:{},{ref:vt,className:clsx(wt.props.className,et,Rt.root)},!st&&{variant:$t},Ct))})});Select.muiName="Select";const Select$1=Select;function getTooltipUtilityClass(o){return generateUtilityClass$1("MuiTooltip",o)}const tooltipClasses=generateUtilityClasses$1("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),tooltipClasses$1=tooltipClasses,_excluded$9=["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 round(o){return Math.round(o*1e5)/1e5}const useUtilityClasses$8=o=>{const{classes:s,disableInteractive:i,arrow:a,touch:$,placement:j}=o,_e={popper:["popper",!i&&"popperInteractive",a&&"popperArrow"],tooltip:["tooltip",a&&"tooltipArrow",$&&"touch",`tooltipPlacement${capitalize(j.split("-")[0])}`],arrow:["arrow"]};return composeClasses(_e,getTooltipUtilityClass,s)},TooltipPopper=styled(Popper$1,{name:"MuiTooltip",slot:"Popper",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.popper,!i.disableInteractive&&s.popperInteractive,i.arrow&&s.popperArrow,!i.open&&s.popperClose]}})(({theme:o,ownerState:s,open:i})=>_extends({zIndex:(o.vars||o).zIndex.tooltip,pointerEvents:"none"},!s.disableInteractive&&{pointerEvents:"auto"},!i&&{pointerEvents:"none"},s.arrow&&{[`&[data-popper-placement*="bottom"] .${tooltipClasses$1.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${tooltipClasses$1.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${tooltipClasses$1.arrow}`]:_extends({},s.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${tooltipClasses$1.arrow}`]:_extends({},s.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),TooltipTooltip=styled("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.tooltip,i.touch&&s.touch,i.arrow&&s.tooltipArrow,s[`tooltipPlacement${capitalize(i.placement.split("-")[0])}`]]}})(({theme:o,ownerState:s})=>_extends({backgroundColor:o.vars?o.vars.palette.Tooltip.bg:alpha(o.palette.grey[700],.92),borderRadius:(o.vars||o).shape.borderRadius,color:(o.vars||o).palette.common.white,fontFamily:o.typography.fontFamily,padding:"4px 8px",fontSize:o.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:o.typography.fontWeightMedium},s.arrow&&{position:"relative",margin:0},s.touch&&{padding:"8px 16px",fontSize:o.typography.pxToRem(14),lineHeight:`${round(16/14)}em`,fontWeight:o.typography.fontWeightRegular},{[`.${tooltipClasses$1.popper}[data-popper-placement*="left"] &`]:_extends({transformOrigin:"right center"},s.isRtl?_extends({marginLeft:"14px"},s.touch&&{marginLeft:"24px"}):_extends({marginRight:"14px"},s.touch&&{marginRight:"24px"})),[`.${tooltipClasses$1.popper}[data-popper-placement*="right"] &`]:_extends({transformOrigin:"left center"},s.isRtl?_extends({marginRight:"14px"},s.touch&&{marginRight:"24px"}):_extends({marginLeft:"14px"},s.touch&&{marginLeft:"24px"})),[`.${tooltipClasses$1.popper}[data-popper-placement*="top"] &`]:_extends({transformOrigin:"center bottom",marginBottom:"14px"},s.touch&&{marginBottom:"24px"}),[`.${tooltipClasses$1.popper}[data-popper-placement*="bottom"] &`]:_extends({transformOrigin:"center top",marginTop:"14px"},s.touch&&{marginTop:"24px"})})),TooltipArrow=styled("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(o,s)=>s.arrow})(({theme:o})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:o.vars?o.vars.palette.Tooltip.bg:alpha(o.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let hystersisOpen=!1,hystersisTimer=null,cursorPosition={x:0,y:0};function composeEventHandler(o,s){return i=>{s&&s(i),o(i)}}const Tooltip=reactExports.forwardRef(function(s,i){var a,$,j,_e,et,tt,rt,nt,ot,st,dt,at,it,ft,ct,ut,lt,pt,ht;const gt=useThemeProps({props:s,name:"MuiTooltip"}),{arrow:mt=!1,children:xt,components:Ct={},componentsProps:yt={},describeChild:Et=!1,disableFocusListener:kt=!1,disableHoverListener:$t=!1,disableInteractive:St=!1,disableTouchListener:Rt=!1,enterDelay:Pt=100,enterNextDelay:wt=0,enterTouchDelay:vt=700,followCursor:bt=!1,id:Tt,leaveDelay:Mt=0,leaveTouchDelay:Ot=1500,onClose:Nt,onOpen:It,open:At,placement:Dt="bottom",PopperComponent:qt,PopperProps:Ht={},slotProps:Ut={},slots:Jt={},title:Bt,TransitionComponent:Qt=Grow$1,TransitionProps:Ft}=gt,Vt=_objectWithoutPropertiesLoose(gt,_excluded$9),Wt=reactExports.isValidElement(xt)?xt:jsxRuntimeExports.jsx("span",{children:xt}),cr=useTheme(),ir=cr.direction==="rtl",[rr,lr]=reactExports.useState(),[Zt,Yt]=reactExports.useState(null),ar=reactExports.useRef(!1),tr=St||bt,Kt=reactExports.useRef(),sr=reactExports.useRef(),nr=reactExports.useRef(),ur=reactExports.useRef(),[Gt,Lt]=useControlled({controlled:At,default:!1,name:"Tooltip",state:"open"});let or=Gt;const hr=useId(Tt),pr=reactExports.useRef(),jt=reactExports.useCallback(()=>{pr.current!==void 0&&(document.body.style.WebkitUserSelect=pr.current,pr.current=void 0),clearTimeout(ur.current)},[]);reactExports.useEffect(()=>()=>{clearTimeout(Kt.current),clearTimeout(sr.current),clearTimeout(nr.current),jt()},[jt]);const Xt=zt=>{clearTimeout(hystersisTimer),hystersisOpen=!0,Lt(!0),It&&!or&&It(zt)},er=useEventCallback(zt=>{clearTimeout(hystersisTimer),hystersisTimer=setTimeout(()=>{hystersisOpen=!1},800+Mt),Lt(!1),Nt&&or&&Nt(zt),clearTimeout(Kt.current),Kt.current=setTimeout(()=>{ar.current=!1},cr.transitions.duration.shortest)}),mr=zt=>{ar.current&&zt.type!=="touchstart"||(rr&&rr.removeAttribute("title"),clearTimeout(sr.current),clearTimeout(nr.current),Pt||hystersisOpen&&wt?sr.current=setTimeout(()=>{Xt(zt)},hystersisOpen?wt:Pt):Xt(zt))},gr=zt=>{clearTimeout(sr.current),clearTimeout(nr.current),nr.current=setTimeout(()=>{er(zt)},Mt)},{isFocusVisibleRef:$r,onBlur:Or,onFocus:Lr,ref:Dr}=useIsFocusVisible(),[,Sr]=reactExports.useState(!1),Rr=zt=>{Or(zt),$r.current===!1&&(Sr(!1),gr(zt))},_r=zt=>{rr||lr(zt.currentTarget),Lr(zt),$r.current===!0&&(Sr(!0),mr(zt))},kr=zt=>{ar.current=!0;const dr=Wt.props;dr.onTouchStart&&dr.onTouchStart(zt)},Pr=mr,wr=gr,Ar=zt=>{kr(zt),clearTimeout(nr.current),clearTimeout(Kt.current),jt(),pr.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ur.current=setTimeout(()=>{document.body.style.WebkitUserSelect=pr.current,mr(zt)},vt)},Br=zt=>{Wt.props.onTouchEnd&&Wt.props.onTouchEnd(zt),jt(),clearTimeout(nr.current),nr.current=setTimeout(()=>{er(zt)},Ot)};reactExports.useEffect(()=>{if(!or)return;function zt(dr){(dr.key==="Escape"||dr.key==="Esc")&&er(dr)}return document.addEventListener("keydown",zt),()=>{document.removeEventListener("keydown",zt)}},[er,or]);const Fr=useForkRef(Wt.ref,Dr,lr,i);!Bt&&Bt!==0&&(or=!1);const Cr=reactExports.useRef(),Nr=zt=>{const dr=Wt.props;dr.onMouseMove&&dr.onMouseMove(zt),cursorPosition={x:zt.clientX,y:zt.clientY},Cr.current&&Cr.current.update()},yr={},br=typeof Bt=="string";Et?(yr.title=!or&&br&&!$t?Bt:null,yr["aria-describedby"]=or?hr:null):(yr["aria-label"]=br?Bt:null,yr["aria-labelledby"]=or&&!br?hr:null);const fr=_extends({},yr,Vt,Wt.props,{className:clsx(Vt.className,Wt.props.className),onTouchStart:kr,ref:Fr},bt?{onMouseMove:Nr}:{}),xr={};Rt||(fr.onTouchStart=Ar,fr.onTouchEnd=Br),$t||(fr.onMouseOver=composeEventHandler(Pr,fr.onMouseOver),fr.onMouseLeave=composeEventHandler(wr,fr.onMouseLeave),tr||(xr.onMouseOver=Pr,xr.onMouseLeave=wr)),kt||(fr.onFocus=composeEventHandler(_r,fr.onFocus),fr.onBlur=composeEventHandler(Rr,fr.onBlur),tr||(xr.onFocus=_r,xr.onBlur=Rr));const zr=reactExports.useMemo(()=>{var zt;let dr=[{name:"arrow",enabled:!!Zt,options:{element:Zt,padding:4}}];return(zt=Ht.popperOptions)!=null&&zt.modifiers&&(dr=dr.concat(Ht.popperOptions.modifiers)),_extends({},Ht.popperOptions,{modifiers:dr})},[Zt,Ht]),vr=_extends({},gt,{isRtl:ir,arrow:mt,disableInteractive:tr,placement:Dt,PopperComponentProp:qt,touch:ar.current}),Er=useUtilityClasses$8(vr),Tr=(a=($=Jt.popper)!=null?$:Ct.Popper)!=null?a:TooltipPopper,Ir=(j=(_e=(et=Jt.transition)!=null?et:Ct.Transition)!=null?_e:Qt)!=null?j:Grow$1,Mr=(tt=(rt=Jt.tooltip)!=null?rt:Ct.Tooltip)!=null?tt:TooltipTooltip,jr=(nt=(ot=Jt.arrow)!=null?ot:Ct.Arrow)!=null?nt:TooltipArrow,Ur=appendOwnerState(Tr,_extends({},Ht,(st=Ut.popper)!=null?st:yt.popper,{className:clsx(Er.popper,Ht==null?void 0:Ht.className,(dt=(at=Ut.popper)!=null?at:yt.popper)==null?void 0:dt.className)}),vr),Wr=appendOwnerState(Ir,_extends({},Ft,(it=Ut.transition)!=null?it:yt.transition),vr),Hr=appendOwnerState(Mr,_extends({},(ft=Ut.tooltip)!=null?ft:yt.tooltip,{className:clsx(Er.tooltip,(ct=(ut=Ut.tooltip)!=null?ut:yt.tooltip)==null?void 0:ct.className)}),vr),Vr=appendOwnerState(jr,_extends({},(lt=Ut.arrow)!=null?lt:yt.arrow,{className:clsx(Er.arrow,(pt=(ht=Ut.arrow)!=null?ht:yt.arrow)==null?void 0:pt.className)}),vr);return jsxRuntimeExports.jsxs(reactExports.Fragment,{children:[reactExports.cloneElement(Wt,fr),jsxRuntimeExports.jsx(Tr,_extends({as:qt??Popper$1,placement:Dt,anchorEl:bt?{getBoundingClientRect:()=>({top:cursorPosition.y,left:cursorPosition.x,right:cursorPosition.x,bottom:cursorPosition.y,width:0,height:0})}:rr,popperRef:Cr,open:rr?or:!1,id:hr,transition:!0},xr,Ur,{popperOptions:zr,children:({TransitionProps:zt})=>jsxRuntimeExports.jsx(Ir,_extends({timeout:cr.transitions.duration.shorter},zt,Wr,{children:jsxRuntimeExports.jsxs(Mr,_extends({},Hr,{children:[Bt,mt?jsxRuntimeExports.jsx(jr,_extends({},Vr,{ref:Yt})):null]}))}))}))]})}),Tooltip$1=Tooltip,TableContext=reactExports.createContext(),TableContext$1=TableContext;function getTableUtilityClass(o){return generateUtilityClass$1("MuiTable",o)}generateUtilityClasses$1("MuiTable",["root","stickyHeader"]);const _excluded$8=["className","component","padding","size","stickyHeader"],useUtilityClasses$7=o=>{const{classes:s,stickyHeader:i}=o;return composeClasses({root:["root",i&&"stickyHeader"]},getTableUtilityClass,s)},TableRoot=styled("table",{name:"MuiTable",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.stickyHeader&&s.stickyHeader]}})(({theme:o,ownerState:s})=>_extends({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":_extends({},o.typography.body2,{padding:o.spacing(2),color:(o.vars||o).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},s.stickyHeader&&{borderCollapse:"separate"})),defaultComponent$3="table",Table=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTable"}),{className:$,component:j=defaultComponent$3,padding:_e="normal",size:et="medium",stickyHeader:tt=!1}=a,rt=_objectWithoutPropertiesLoose(a,_excluded$8),nt=_extends({},a,{component:j,padding:_e,size:et,stickyHeader:tt}),ot=useUtilityClasses$7(nt),st=reactExports.useMemo(()=>({padding:_e,size:et,stickyHeader:tt}),[_e,et,tt]);return jsxRuntimeExports.jsx(TableContext$1.Provider,{value:st,children:jsxRuntimeExports.jsx(TableRoot,_extends({as:j,role:j===defaultComponent$3?null:"table",ref:i,className:clsx(ot.root,$),ownerState:nt},rt))})}),Table$1=Table,Tablelvl2Context=reactExports.createContext(),Tablelvl2Context$1=Tablelvl2Context;function getTableBodyUtilityClass(o){return generateUtilityClass$1("MuiTableBody",o)}generateUtilityClasses$1("MuiTableBody",["root"]);const _excluded$7=["className","component"],useUtilityClasses$6=o=>{const{classes:s}=o;return composeClasses({root:["root"]},getTableBodyUtilityClass,s)},TableBodyRoot=styled("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(o,s)=>s.root})({display:"table-row-group"}),tablelvl2$1={variant:"body"},defaultComponent$2="tbody",TableBody=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTableBody"}),{className:$,component:j=defaultComponent$2}=a,_e=_objectWithoutPropertiesLoose(a,_excluded$7),et=_extends({},a,{component:j}),tt=useUtilityClasses$6(et);return jsxRuntimeExports.jsx(Tablelvl2Context$1.Provider,{value:tablelvl2$1,children:jsxRuntimeExports.jsx(TableBodyRoot,_extends({className:clsx(tt.root,$),as:j,ref:i,role:j===defaultComponent$2?null:"rowgroup",ownerState:et},_e))})}),TableBody$1=TableBody;function getTableCellUtilityClass(o){return generateUtilityClass$1("MuiTableCell",o)}const tableCellClasses=generateUtilityClasses$1("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),tableCellClasses$1=tableCellClasses,_excluded$6=["align","className","component","padding","scope","size","sortDirection","variant"],useUtilityClasses$5=o=>{const{classes:s,variant:i,align:a,padding:$,size:j,stickyHeader:_e}=o,et={root:["root",i,_e&&"stickyHeader",a!=="inherit"&&`align${capitalize(a)}`,$!=="normal"&&`padding${capitalize($)}`,`size${capitalize(j)}`]};return composeClasses(et,getTableCellUtilityClass,s)},TableCellRoot=styled("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,s[i.variant],s[`size${capitalize(i.size)}`],i.padding!=="normal"&&s[`padding${capitalize(i.padding)}`],i.align!=="inherit"&&s[`align${capitalize(i.align)}`],i.stickyHeader&&s.stickyHeader]}})(({theme:o,ownerState:s})=>_extends({},o.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:o.vars?`1px solid ${o.vars.palette.TableCell.border}`:`1px solid + ${o.palette.mode==="light"?lighten(alpha(o.palette.divider,1),.88):darken(alpha(o.palette.divider,1),.68)}`,textAlign:"left",padding:16},s.variant==="head"&&{color:(o.vars||o).palette.text.primary,lineHeight:o.typography.pxToRem(24),fontWeight:o.typography.fontWeightMedium},s.variant==="body"&&{color:(o.vars||o).palette.text.primary},s.variant==="footer"&&{color:(o.vars||o).palette.text.secondary,lineHeight:o.typography.pxToRem(21),fontSize:o.typography.pxToRem(12)},s.size==="small"&&{padding:"6px 16px",[`&.${tableCellClasses$1.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},s.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},s.padding==="none"&&{padding:0},s.align==="left"&&{textAlign:"left"},s.align==="center"&&{textAlign:"center"},s.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},s.align==="justify"&&{textAlign:"justify"},s.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(o.vars||o).palette.background.default})),TableCell=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTableCell"}),{align:$="inherit",className:j,component:_e,padding:et,scope:tt,size:rt,sortDirection:nt,variant:ot}=a,st=_objectWithoutPropertiesLoose(a,_excluded$6),dt=reactExports.useContext(TableContext$1),at=reactExports.useContext(Tablelvl2Context$1),it=at&&at.variant==="head";let ft;_e?ft=_e:ft=it?"th":"td";let ct=tt;ft==="td"?ct=void 0:!ct&&it&&(ct="col");const ut=ot||at&&at.variant,lt=_extends({},a,{align:$,component:ft,padding:et||(dt&&dt.padding?dt.padding:"normal"),size:rt||(dt&&dt.size?dt.size:"medium"),sortDirection:nt,stickyHeader:ut==="head"&&dt&&dt.stickyHeader,variant:ut}),pt=useUtilityClasses$5(lt);let ht=null;return nt&&(ht=nt==="asc"?"ascending":"descending"),jsxRuntimeExports.jsx(TableCellRoot,_extends({as:ft,ref:i,className:clsx(pt.root,j),"aria-sort":ht,scope:ct,ownerState:lt},st))}),TableCell$1=TableCell;function getTableContainerUtilityClass(o){return generateUtilityClass$1("MuiTableContainer",o)}generateUtilityClasses$1("MuiTableContainer",["root"]);const _excluded$5=["className","component"],useUtilityClasses$4=o=>{const{classes:s}=o;return composeClasses({root:["root"]},getTableContainerUtilityClass,s)},TableContainerRoot=styled("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(o,s)=>s.root})({width:"100%",overflowX:"auto"}),TableContainer=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTableContainer"}),{className:$,component:j="div"}=a,_e=_objectWithoutPropertiesLoose(a,_excluded$5),et=_extends({},a,{component:j}),tt=useUtilityClasses$4(et);return jsxRuntimeExports.jsx(TableContainerRoot,_extends({ref:i,as:j,className:clsx(tt.root,$),ownerState:et},_e))}),TableContainer$1=TableContainer;function getTableHeadUtilityClass(o){return generateUtilityClass$1("MuiTableHead",o)}generateUtilityClasses$1("MuiTableHead",["root"]);const _excluded$4=["className","component"],useUtilityClasses$3=o=>{const{classes:s}=o;return composeClasses({root:["root"]},getTableHeadUtilityClass,s)},TableHeadRoot=styled("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(o,s)=>s.root})({display:"table-header-group"}),tablelvl2={variant:"head"},defaultComponent$1="thead",TableHead=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTableHead"}),{className:$,component:j=defaultComponent$1}=a,_e=_objectWithoutPropertiesLoose(a,_excluded$4),et=_extends({},a,{component:j}),tt=useUtilityClasses$3(et);return jsxRuntimeExports.jsx(Tablelvl2Context$1.Provider,{value:tablelvl2,children:jsxRuntimeExports.jsx(TableHeadRoot,_extends({as:j,className:clsx(tt.root,$),ref:i,role:j===defaultComponent$1?null:"rowgroup",ownerState:et},_e))})}),TableHead$1=TableHead;function getToolbarUtilityClass(o){return generateUtilityClass$1("MuiToolbar",o)}generateUtilityClasses$1("MuiToolbar",["root","gutters","regular","dense"]);const _excluded$3=["className","component","disableGutters","variant"],useUtilityClasses$2=o=>{const{classes:s,disableGutters:i,variant:a}=o;return composeClasses({root:["root",!i&&"gutters",a]},getToolbarUtilityClass,s)},ToolbarRoot=styled("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,!i.disableGutters&&s.gutters,s[i.variant]]}})(({theme:o,ownerState:s})=>_extends({position:"relative",display:"flex",alignItems:"center"},!s.disableGutters&&{paddingLeft:o.spacing(2),paddingRight:o.spacing(2),[o.breakpoints.up("sm")]:{paddingLeft:o.spacing(3),paddingRight:o.spacing(3)}},s.variant==="dense"&&{minHeight:48}),({theme:o,ownerState:s})=>s.variant==="regular"&&o.mixins.toolbar),Toolbar=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiToolbar"}),{className:$,component:j="div",disableGutters:_e=!1,variant:et="regular"}=a,tt=_objectWithoutPropertiesLoose(a,_excluded$3),rt=_extends({},a,{component:j,disableGutters:_e,variant:et}),nt=useUtilityClasses$2(rt);return jsxRuntimeExports.jsx(ToolbarRoot,_extends({as:j,className:clsx(nt.root,$),ref:i,ownerState:rt},tt))}),Toolbar$1=Toolbar;function getTableRowUtilityClass(o){return generateUtilityClass$1("MuiTableRow",o)}const tableRowClasses=generateUtilityClasses$1("MuiTableRow",["root","selected","hover","head","footer"]),tableRowClasses$1=tableRowClasses,_excluded$2=["className","component","hover","selected"],useUtilityClasses$1=o=>{const{classes:s,selected:i,hover:a,head:$,footer:j}=o;return composeClasses({root:["root",i&&"selected",a&&"hover",$&&"head",j&&"footer"]},getTableRowUtilityClass,s)},TableRowRoot=styled("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:i}=o;return[s.root,i.head&&s.head,i.footer&&s.footer]}})(({theme:o})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${tableRowClasses$1.hover}:hover`]:{backgroundColor:(o.vars||o).palette.action.hover},[`&.${tableRowClasses$1.selected}`]:{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity),"&:hover":{backgroundColor:o.vars?`rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))`:alpha(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity)}}})),defaultComponent="tr",TableRow=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTableRow"}),{className:$,component:j=defaultComponent,hover:_e=!1,selected:et=!1}=a,tt=_objectWithoutPropertiesLoose(a,_excluded$2),rt=reactExports.useContext(Tablelvl2Context$1),nt=_extends({},a,{component:j,hover:_e,selected:et,head:rt&&rt.variant==="head",footer:rt&&rt.variant==="footer"}),ot=useUtilityClasses$1(nt);return jsxRuntimeExports.jsx(TableRowRoot,_extends({as:j,ref:i,className:clsx(ot.root,$),role:j===defaultComponent?null:"row",ownerState:nt},tt))}),TableRow$1=TableRow;function getTextFieldUtilityClass(o){return generateUtilityClass$1("MuiTextField",o)}generateUtilityClasses$1("MuiTextField",["root"]);const _excluded$1=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],variantComponent={standard:Input$1,filled:FilledInput$1,outlined:OutlinedInput$1},useUtilityClasses=o=>{const{classes:s}=o;return composeClasses({root:["root"]},getTextFieldUtilityClass,s)},TextFieldRoot=styled(FormControl$1,{name:"MuiTextField",slot:"Root",overridesResolver:(o,s)=>s.root})({}),TextField=reactExports.forwardRef(function(s,i){const a=useThemeProps({props:s,name:"MuiTextField"}),{autoComplete:$,autoFocus:j=!1,children:_e,className:et,color:tt="primary",defaultValue:rt,disabled:nt=!1,error:ot=!1,FormHelperTextProps:st,fullWidth:dt=!1,helperText:at,id:it,InputLabelProps:ft,inputProps:ct,InputProps:ut,inputRef:lt,label:pt,maxRows:ht,minRows:gt,multiline:mt=!1,name:xt,onBlur:Ct,onChange:yt,onFocus:Et,placeholder:kt,required:$t=!1,rows:St,select:Rt=!1,SelectProps:Pt,type:wt,value:vt,variant:bt="outlined"}=a,Tt=_objectWithoutPropertiesLoose(a,_excluded$1),Mt=_extends({},a,{autoFocus:j,color:tt,disabled:nt,error:ot,fullWidth:dt,multiline:mt,required:$t,select:Rt,variant:bt}),Ot=useUtilityClasses(Mt),Nt={};bt==="outlined"&&(ft&&typeof ft.shrink<"u"&&(Nt.notched=ft.shrink),Nt.label=pt),Rt&&((!Pt||!Pt.native)&&(Nt.id=void 0),Nt["aria-describedby"]=void 0);const It=useId(it),At=at&&It?`${It}-helper-text`:void 0,Dt=pt&&It?`${It}-label`:void 0,qt=variantComponent[bt],Ht=jsxRuntimeExports.jsx(qt,_extends({"aria-describedby":At,autoComplete:$,autoFocus:j,defaultValue:rt,fullWidth:dt,multiline:mt,name:xt,rows:St,maxRows:ht,minRows:gt,type:wt,value:vt,id:It,inputRef:lt,onBlur:Ct,onChange:yt,onFocus:Et,placeholder:kt,inputProps:ct},Nt,ut));return jsxRuntimeExports.jsxs(TextFieldRoot,_extends({className:clsx(Ot.root,et),disabled:nt,error:ot,fullWidth:dt,ref:i,required:$t,color:tt,variant:bt,ownerState:Mt},Tt,{children:[pt!=null&&pt!==""&&jsxRuntimeExports.jsx(InputLabel$1,_extends({htmlFor:It,id:Dt},ft,{children:pt})),Rt?jsxRuntimeExports.jsx(Select$1,_extends({"aria-describedby":At,id:It,labelId:Dt,value:vt,input:Ht},Pt,{children:_e})):Ht,at&&jsxRuntimeExports.jsx(FormHelperText$1,_extends({id:At},st,{children:at}))]}))}),TextField$1=TextField,_excluded=["getTrigger","target"];function defaultTrigger(o,s){const{disableHysteresis:i=!1,threshold:a=100,target:$}=s,j=o.current;return $&&(o.current=$.pageYOffset!==void 0?$.pageYOffset:$.scrollTop),!i&&j!==void 0&&o.currenta}const defaultTarget=typeof window<"u"?window:null;function useScrollTrigger(o={}){const{getTrigger:s=defaultTrigger,target:i=defaultTarget}=o,a=_objectWithoutPropertiesLoose(o,_excluded),$=reactExports.useRef(),[j,_e]=reactExports.useState(()=>s($,a));return reactExports.useEffect(()=>{const et=()=>{_e(s($,_extends({target:i},a)))};return et(),i.addEventListener("scroll",et,{passive:!0}),()=>{i.removeEventListener("scroll",et,{passive:!0})}},[i,s,JSON.stringify(a)]),j}const MainContainer=({children:o})=>{const s=useTheme(),i=useMediaQuery(s.breakpoints.up("md")),a=useMediaQuery(s.breakpoints.up("sm")),$=30,j=a?25:0,_e={p:a?4:2,borderTopLeftRadius:$,borderTopRightRadius:$,borderBottomLeftRadius:j,borderBottomRightRadius:j,height:a?"99%":1,mt:0,mb:a?2:0,mr:a?2:0,ml:a?i?0:2:0};return jsxRuntimeExports.jsx(Paper$1,{sx:_e,elevation:0,children:o})},About=()=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(MainContainer,{children:jsxRuntimeExports.jsx(Typography$1,{variant:"body1",children:"Credits"})})}),AddOutlined=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"AddOutlined"),ArrowBack=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack"),Audiotrack=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 3v9.28c-.47-.17-.97-.28-1.5-.28C8.01 12 6 14.01 6 16.5S8.01 21 10.5 21c2.31 0 4.2-1.75 4.45-4H15V6h4V3z"}),"Audiotrack"),DeveloperBoardOutlined=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M22 9V7h-2V5c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-2h2v-2h-2v-2h2v-2h-2V9zm-4 10H4V5h14zM6 13h5v4H6zm6-6h4v3h-4zM6 7h5v5H6zm6 4h4v6h-4z"}),"DeveloperBoardOutlined"),FlashOn=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M7 2v11h3v9l7-12h-4l4-8z"}),"FlashOn"),FlashOnOutlined=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M7 2v11h3v9l7-12h-4l3-8z"}),"FlashOnOutlined"),RestartAlt=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8m-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"}),"RestartAlt"),Settings=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings"),UploadFile=createSvgIcon$1(jsxRuntimeExports.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"}),"UploadFile");function bind(o,s){return function(){return o.apply(s,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(o=>s=>{const i=toString.call(s);return o[i]||(o[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=o=>(o=o.toLowerCase(),s=>kindOf(s)===o),typeOfTest=o=>s=>typeof s===o,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(o){return o!==null&&!isUndefined(o)&&o.constructor!==null&&!isUndefined(o.constructor)&&isFunction(o.constructor.isBuffer)&&o.constructor.isBuffer(o)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(o){let s;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?s=ArrayBuffer.isView(o):s=o&&o.buffer&&isArrayBuffer(o.buffer),s}const isString=typeOfTest("string"),isFunction=typeOfTest("function"),isNumber=typeOfTest("number"),isObject=o=>o!==null&&typeof o=="object",isBoolean=o=>o===!0||o===!1,isPlainObject=o=>{if(kindOf(o)!=="object")return!1;const s=getPrototypeOf(o);return(s===null||s===Object.prototype||Object.getPrototypeOf(s)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=o=>isObject(o)&&isFunction(o.pipe),isFormData=o=>{let s;return o&&(typeof FormData=="function"&&o instanceof FormData||isFunction(o.append)&&((s=kindOf(o))==="formdata"||s==="object"&&isFunction(o.toString)&&o.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),trim=o=>o.trim?o.trim():o.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(o,s,{allOwnKeys:i=!1}={}){if(o===null||typeof o>"u")return;let a,$;if(typeof o!="object"&&(o=[o]),isArray(o))for(a=0,$=o.length;a<$;a++)s.call(null,o[a],a,o);else{const j=i?Object.getOwnPropertyNames(o):Object.keys(o),_e=j.length;let et;for(a=0;a<_e;a++)et=j[a],s.call(null,o[et],et,o)}}function findKey(o,s){s=s.toLowerCase();const i=Object.keys(o);let a=i.length,$;for(;a-- >0;)if($=i[a],s===$.toLowerCase())return $;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,isContextDefined=o=>!isUndefined(o)&&o!==_global;function merge(){const{caseless:o}=isContextDefined(this)&&this||{},s={},i=(a,$)=>{const j=o&&findKey(s,$)||$;isPlainObject(s[j])&&isPlainObject(a)?s[j]=merge(s[j],a):isPlainObject(a)?s[j]=merge({},a):isArray(a)?s[j]=a.slice():s[j]=a};for(let a=0,$=arguments.length;a<$;a++)arguments[a]&&forEach(arguments[a],i);return s}const extend=(o,s,i,{allOwnKeys:a}={})=>(forEach(s,($,j)=>{i&&isFunction($)?o[j]=bind($,i):o[j]=$},{allOwnKeys:a}),o),stripBOM=o=>(o.charCodeAt(0)===65279&&(o=o.slice(1)),o),inherits=(o,s,i,a)=>{o.prototype=Object.create(s.prototype,a),o.prototype.constructor=o,Object.defineProperty(o,"super",{value:s.prototype}),i&&Object.assign(o.prototype,i)},toFlatObject=(o,s,i,a)=>{let $,j,_e;const et={};if(s=s||{},o==null)return s;do{for($=Object.getOwnPropertyNames(o),j=$.length;j-- >0;)_e=$[j],(!a||a(_e,o,s))&&!et[_e]&&(s[_e]=o[_e],et[_e]=!0);o=i!==!1&&getPrototypeOf(o)}while(o&&(!i||i(o,s))&&o!==Object.prototype);return s},endsWith=(o,s,i)=>{o=String(o),(i===void 0||i>o.length)&&(i=o.length),i-=s.length;const a=o.indexOf(s,i);return a!==-1&&a===i},toArray=o=>{if(!o)return null;if(isArray(o))return o;let s=o.length;if(!isNumber(s))return null;const i=new Array(s);for(;s-- >0;)i[s]=o[s];return i},isTypedArray=(o=>s=>o&&s instanceof o)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(o,s)=>{const a=(o&&o[Symbol.iterator]).call(o);let $;for(;($=a.next())&&!$.done;){const j=$.value;s.call(o,j[0],j[1])}},matchAll=(o,s)=>{let i;const a=[];for(;(i=o.exec(s))!==null;)a.push(i);return a},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=o=>o.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,a,$){return a.toUpperCase()+$}),hasOwnProperty=(({hasOwnProperty:o})=>(s,i)=>o.call(s,i))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(o,s)=>{const i=Object.getOwnPropertyDescriptors(o),a={};forEach(i,($,j)=>{let _e;(_e=s($,j,o))!==!1&&(a[j]=_e||$)}),Object.defineProperties(o,a)},freezeMethods=o=>{reduceDescriptors(o,(s,i)=>{if(isFunction(o)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const a=o[i];if(isFunction(a)){if(s.enumerable=!1,"writable"in s){s.writable=!1;return}s.set||(s.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},toObjectSet=(o,s)=>{const i={},a=$=>{$.forEach(j=>{i[j]=!0})};return isArray(o)?a(o):a(String(o).split(s)),i},noop=()=>{},toFiniteNumber=(o,s)=>(o=+o,Number.isFinite(o)?o:s),ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(o=16,s=ALPHABET.ALPHA_DIGIT)=>{let i="";const{length:a}=s;for(;o--;)i+=s[Math.random()*a|0];return i};function isSpecCompliantForm(o){return!!(o&&isFunction(o.append)&&o[Symbol.toStringTag]==="FormData"&&o[Symbol.iterator])}const toJSONObject=o=>{const s=new Array(10),i=(a,$)=>{if(isObject(a)){if(s.indexOf(a)>=0)return;if(!("toJSON"in a)){s[$]=a;const j=isArray(a)?[]:{};return forEach(a,(_e,et)=>{const tt=i(_e,$+1);!isUndefined(tt)&&(j[et]=tt)}),s[$]=void 0,j}}return a};return i(o,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=o=>o&&(isObject(o)||isFunction(o))&&isFunction(o.then)&&isFunction(o.catch),utils$1={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString,isNumber,isBoolean,isObject,isPlainObject,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(o,s,i,a,$){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=o,this.name="AxiosError",s&&(this.code=s),i&&(this.config=i),a&&(this.request=a),$&&(this.response=$)}utils$1.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(o=>{descriptors[o]={value:o}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(o,s,i,a,$,j)=>{const _e=Object.create(prototype$1);return utils$1.toFlatObject(o,_e,function(tt){return tt!==Error.prototype},et=>et!=="isAxiosError"),AxiosError.call(_e,o.message,s,i,a,$),_e.cause=o,_e.name=o.name,j&&Object.assign(_e,j),_e};const httpAdapter=null;function isVisitable(o){return utils$1.isPlainObject(o)||utils$1.isArray(o)}function removeBrackets(o){return utils$1.endsWith(o,"[]")?o.slice(0,-2):o}function renderKey(o,s,i){return o?o.concat(s).map(function($,j){return $=removeBrackets($),!i&&j?"["+$+"]":$}).join(i?".":""):s}function isFlatArray(o){return utils$1.isArray(o)&&!o.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function(s){return/^is[A-Z]/.test(s)});function toFormData(o,s,i){if(!utils$1.isObject(o))throw new TypeError("target must be an object");s=s||new FormData,i=utils$1.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(it,ft){return!utils$1.isUndefined(ft[it])});const a=i.metaTokens,$=i.visitor||nt,j=i.dots,_e=i.indexes,tt=(i.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm(s);if(!utils$1.isFunction($))throw new TypeError("visitor must be a function");function rt(at){if(at===null)return"";if(utils$1.isDate(at))return at.toISOString();if(!tt&&utils$1.isBlob(at))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(at)||utils$1.isTypedArray(at)?tt&&typeof Blob=="function"?new Blob([at]):Buffer.from(at):at}function nt(at,it,ft){let ct=at;if(at&&!ft&&typeof at=="object"){if(utils$1.endsWith(it,"{}"))it=a?it:it.slice(0,-2),at=JSON.stringify(at);else if(utils$1.isArray(at)&&isFlatArray(at)||(utils$1.isFileList(at)||utils$1.endsWith(it,"[]"))&&(ct=utils$1.toArray(at)))return it=removeBrackets(it),ct.forEach(function(lt,pt){!(utils$1.isUndefined(lt)||lt===null)&&s.append(_e===!0?renderKey([it],pt,j):_e===null?it:it+"[]",rt(lt))}),!1}return isVisitable(at)?!0:(s.append(renderKey(ft,it,j),rt(at)),!1)}const ot=[],st=Object.assign(predicates,{defaultVisitor:nt,convertValue:rt,isVisitable});function dt(at,it){if(!utils$1.isUndefined(at)){if(ot.indexOf(at)!==-1)throw Error("Circular reference detected in "+it.join("."));ot.push(at),utils$1.forEach(at,function(ct,ut){(!(utils$1.isUndefined(ct)||ct===null)&&$.call(s,ct,utils$1.isString(ut)?ut.trim():ut,it,st))===!0&&dt(ct,it?it.concat(ut):[ut])}),ot.pop()}}if(!utils$1.isObject(o))throw new TypeError("data must be an object");return dt(o),s}function encode$1(o){const s={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(o).replace(/[!'()~]|%20|%00/g,function(a){return s[a]})}function AxiosURLSearchParams(o,s){this._pairs=[],o&&toFormData(o,this,s)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(s,i){this._pairs.push([s,i])};prototype.toString=function(s){const i=s?function(a){return s.call(this,a,encode$1)}:encode$1;return this._pairs.map(function($){return i($[0])+"="+i($[1])},"").join("&")};function encode(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(o,s,i){if(!s)return o;const a=i&&i.encode||encode,$=i&&i.serialize;let j;if($?j=$(s,i):j=utils$1.isURLSearchParams(s)?s.toString():new AxiosURLSearchParams(s,i).toString(a),j){const _e=o.indexOf("#");_e!==-1&&(o=o.slice(0,_e)),o+=(o.indexOf("?")===-1?"?":"&")+j}return o}class InterceptorManager{constructor(){this.handlers=[]}use(s,i,a){return this.handlers.push({fulfilled:s,rejected:i,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1}eject(s){this.handlers[s]&&(this.handlers[s]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(s){utils$1.forEach(this.handlers,function(a){a!==null&&s(a)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",hasStandardBrowserEnv=(o=>hasBrowserEnv&&["ReactNative","NativeScript","NS"].indexOf(o)<0)(typeof navigator<"u"&&navigator.product),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv},Symbol.toStringTag,{value:"Module"})),platform={...utils,...platform$1};function toURLEncodedForm(o,s){return toFormData(o,new platform.classes.URLSearchParams,Object.assign({visitor:function(i,a,$,j){return platform.isNode&&utils$1.isBuffer(i)?(this.append(a,i.toString("base64")),!1):j.defaultVisitor.apply(this,arguments)}},s))}function parsePropPath(o){return utils$1.matchAll(/\w+|\[(\w*)]/g,o).map(s=>s[0]==="[]"?"":s[1]||s[0])}function arrayToObject(o){const s={},i=Object.keys(o);let a;const $=i.length;let j;for(a=0;a<$;a++)j=i[a],s[j]=o[j];return s}function formDataToJSON(o){function s(i,a,$,j){let _e=i[j++];if(_e==="__proto__")return!0;const et=Number.isFinite(+_e),tt=j>=i.length;return _e=!_e&&utils$1.isArray($)?$.length:_e,tt?(utils$1.hasOwnProp($,_e)?$[_e]=[$[_e],a]:$[_e]=a,!et):((!$[_e]||!utils$1.isObject($[_e]))&&($[_e]=[]),s(i,a,$[_e],j)&&utils$1.isArray($[_e])&&($[_e]=arrayToObject($[_e])),!et)}if(utils$1.isFormData(o)&&utils$1.isFunction(o.entries)){const i={};return utils$1.forEachEntry(o,(a,$)=>{s(parsePropPath(a),$,i,0)}),i}return null}function stringifySafely(o,s,i){if(utils$1.isString(o))try{return(s||JSON.parse)(o),utils$1.trim(o)}catch(a){if(a.name!=="SyntaxError")throw a}return(i||JSON.stringify)(o)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http"],transformRequest:[function(s,i){const a=i.getContentType()||"",$=a.indexOf("application/json")>-1,j=utils$1.isObject(s);if(j&&utils$1.isHTMLForm(s)&&(s=new FormData(s)),utils$1.isFormData(s))return $&&$?JSON.stringify(formDataToJSON(s)):s;if(utils$1.isArrayBuffer(s)||utils$1.isBuffer(s)||utils$1.isStream(s)||utils$1.isFile(s)||utils$1.isBlob(s))return s;if(utils$1.isArrayBufferView(s))return s.buffer;if(utils$1.isURLSearchParams(s))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),s.toString();let et;if(j){if(a.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(s,this.formSerializer).toString();if((et=utils$1.isFileList(s))||a.indexOf("multipart/form-data")>-1){const tt=this.env&&this.env.FormData;return toFormData(et?{"files[]":s}:s,tt&&new tt,this.formSerializer)}}return j||$?(i.setContentType("application/json",!1),stringifySafely(s)):s}],transformResponse:[function(s){const i=this.transitional||defaults.transitional,a=i&&i.forcedJSONParsing,$=this.responseType==="json";if(s&&utils$1.isString(s)&&(a&&!this.responseType||$)){const _e=!(i&&i.silentJSONParsing)&&$;try{return JSON.parse(s)}catch(et){if(_e)throw et.name==="SyntaxError"?AxiosError.from(et,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):et}}return s}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(s){return s>=200&&s<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],o=>{defaults.headers[o]={}});const defaults$1=defaults,ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=o=>{const s={};let i,a,$;return o&&o.split(` +`).forEach(function(_e){$=_e.indexOf(":"),i=_e.substring(0,$).trim().toLowerCase(),a=_e.substring($+1).trim(),!(!i||s[i]&&ignoreDuplicateOf[i])&&(i==="set-cookie"?s[i]?s[i].push(a):s[i]=[a]:s[i]=s[i]?s[i]+", "+a:a)}),s},$internals=Symbol("internals");function normalizeHeader(o){return o&&String(o).trim().toLowerCase()}function normalizeValue(o){return o===!1||o==null?o:utils$1.isArray(o)?o.map(normalizeValue):String(o)}function parseTokens(o){const s=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let a;for(;a=i.exec(o);)s[a[1]]=a[2];return s}const isValidHeaderName=o=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(o.trim());function matchHeaderValue(o,s,i,a,$){if(utils$1.isFunction(a))return a.call(this,s,i);if($&&(s=i),!!utils$1.isString(s)){if(utils$1.isString(a))return s.indexOf(a)!==-1;if(utils$1.isRegExp(a))return a.test(s)}}function formatHeader(o){return o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(s,i,a)=>i.toUpperCase()+a)}function buildAccessors(o,s){const i=utils$1.toCamelCase(" "+s);["get","set","has"].forEach(a=>{Object.defineProperty(o,a+i,{value:function($,j,_e){return this[a].call(this,s,$,j,_e)},configurable:!0})})}class AxiosHeaders{constructor(s){s&&this.set(s)}set(s,i,a){const $=this;function j(et,tt,rt){const nt=normalizeHeader(tt);if(!nt)throw new Error("header name must be a non-empty string");const ot=utils$1.findKey($,nt);(!ot||$[ot]===void 0||rt===!0||rt===void 0&&$[ot]!==!1)&&($[ot||tt]=normalizeValue(et))}const _e=(et,tt)=>utils$1.forEach(et,(rt,nt)=>j(rt,nt,tt));return utils$1.isPlainObject(s)||s instanceof this.constructor?_e(s,i):utils$1.isString(s)&&(s=s.trim())&&!isValidHeaderName(s)?_e(parseHeaders(s),i):s!=null&&j(i,s,a),this}get(s,i){if(s=normalizeHeader(s),s){const a=utils$1.findKey(this,s);if(a){const $=this[a];if(!i)return $;if(i===!0)return parseTokens($);if(utils$1.isFunction(i))return i.call(this,$,a);if(utils$1.isRegExp(i))return i.exec($);throw new TypeError("parser must be boolean|regexp|function")}}}has(s,i){if(s=normalizeHeader(s),s){const a=utils$1.findKey(this,s);return!!(a&&this[a]!==void 0&&(!i||matchHeaderValue(this,this[a],a,i)))}return!1}delete(s,i){const a=this;let $=!1;function j(_e){if(_e=normalizeHeader(_e),_e){const et=utils$1.findKey(a,_e);et&&(!i||matchHeaderValue(a,a[et],et,i))&&(delete a[et],$=!0)}}return utils$1.isArray(s)?s.forEach(j):j(s),$}clear(s){const i=Object.keys(this);let a=i.length,$=!1;for(;a--;){const j=i[a];(!s||matchHeaderValue(this,this[j],j,s,!0))&&(delete this[j],$=!0)}return $}normalize(s){const i=this,a={};return utils$1.forEach(this,($,j)=>{const _e=utils$1.findKey(a,j);if(_e){i[_e]=normalizeValue($),delete i[j];return}const et=s?formatHeader(j):String(j).trim();et!==j&&delete i[j],i[et]=normalizeValue($),a[et]=!0}),this}concat(...s){return this.constructor.concat(this,...s)}toJSON(s){const i=Object.create(null);return utils$1.forEach(this,(a,$)=>{a!=null&&a!==!1&&(i[$]=s&&utils$1.isArray(a)?a.join(", "):a)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([s,i])=>s+": "+i).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(s){return s instanceof this?s:new this(s)}static concat(s,...i){const a=new this(s);return i.forEach($=>a.set($)),a}static accessor(s){const a=(this[$internals]=this[$internals]={accessors:{}}).accessors,$=this.prototype;function j(_e){const et=normalizeHeader(_e);a[et]||(buildAccessors($,_e),a[et]=!0)}return utils$1.isArray(s)?s.forEach(j):j(s),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:o},s)=>{let i=s[0].toUpperCase()+s.slice(1);return{get:()=>o,set(a){this[i]=a}}});utils$1.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(o,s){const i=this||defaults$1,a=s||i,$=AxiosHeaders$1.from(a.headers);let j=a.data;return utils$1.forEach(o,function(et){j=et.call(i,j,$.normalize(),s?s.status:void 0)}),$.normalize(),j}function isCancel(o){return!!(o&&o.__CANCEL__)}function CanceledError(o,s,i){AxiosError.call(this,o??"canceled",AxiosError.ERR_CANCELED,s,i),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(o,s,i){const a=i.config.validateStatus;!i.status||!a||a(i.status)?o(i):s(new AxiosError("Request failed with status code "+i.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}const cookies=platform.hasStandardBrowserEnv?{write(o,s,i,a,$,j){const _e=[o+"="+encodeURIComponent(s)];utils$1.isNumber(i)&&_e.push("expires="+new Date(i).toGMTString()),utils$1.isString(a)&&_e.push("path="+a),utils$1.isString($)&&_e.push("domain="+$),j===!0&&_e.push("secure"),document.cookie=_e.join("; ")},read(o){const s=document.cookie.match(new RegExp("(^|;\\s*)("+o+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove(o){this.write(o,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(o){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function combineURLs(o,s){return s?o.replace(/\/?\/$/,"")+"/"+s.replace(/^\/+/,""):o}function buildFullPath(o,s){return o&&!isAbsoluteURL(s)?combineURLs(o,s):s}const isURLSameOrigin=platform.hasStandardBrowserEnv?function(){const s=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");let a;function $(j){let _e=j;return s&&(i.setAttribute("href",_e),_e=i.href),i.setAttribute("href",_e),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return a=$(window.location.href),function(_e){const et=utils$1.isString(_e)?$(_e):_e;return et.protocol===a.protocol&&et.host===a.host}}():function(){return function(){return!0}}();function parseProtocol(o){const s=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return s&&s[1]||""}function speedometer(o,s){o=o||10;const i=new Array(o),a=new Array(o);let $=0,j=0,_e;return s=s!==void 0?s:1e3,function(tt){const rt=Date.now(),nt=a[j];_e||(_e=rt),i[$]=tt,a[$]=rt;let ot=j,st=0;for(;ot!==$;)st+=i[ot++],ot=ot%o;if($=($+1)%o,$===j&&(j=(j+1)%o),rt-_e{const j=$.loaded,_e=$.lengthComputable?$.total:void 0,et=j-i,tt=a(et),rt=j<=_e;i=j;const nt={loaded:j,total:_e,progress:_e?j/_e:void 0,bytes:et,rate:tt||void 0,estimated:tt&&_e&&rt?(_e-j)/tt:void 0,event:$};nt[s?"download":"upload"]=!0,o(nt)}}const isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(o){return new Promise(function(i,a){let $=o.data;const j=AxiosHeaders$1.from(o.headers).normalize();let{responseType:_e,withXSRFToken:et}=o,tt;function rt(){o.cancelToken&&o.cancelToken.unsubscribe(tt),o.signal&&o.signal.removeEventListener("abort",tt)}let nt;if(utils$1.isFormData($)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)j.setContentType(!1);else if((nt=j.getContentType())!==!1){const[it,...ft]=nt?nt.split(";").map(ct=>ct.trim()).filter(Boolean):[];j.setContentType([it||"multipart/form-data",...ft].join("; "))}}let ot=new XMLHttpRequest;if(o.auth){const it=o.auth.username||"",ft=o.auth.password?unescape(encodeURIComponent(o.auth.password)):"";j.set("Authorization","Basic "+btoa(it+":"+ft))}const st=buildFullPath(o.baseURL,o.url);ot.open(o.method.toUpperCase(),buildURL(st,o.params,o.paramsSerializer),!0),ot.timeout=o.timeout;function dt(){if(!ot)return;const it=AxiosHeaders$1.from("getAllResponseHeaders"in ot&&ot.getAllResponseHeaders()),ct={data:!_e||_e==="text"||_e==="json"?ot.responseText:ot.response,status:ot.status,statusText:ot.statusText,headers:it,config:o,request:ot};settle(function(lt){i(lt),rt()},function(lt){a(lt),rt()},ct),ot=null}if("onloadend"in ot?ot.onloadend=dt:ot.onreadystatechange=function(){!ot||ot.readyState!==4||ot.status===0&&!(ot.responseURL&&ot.responseURL.indexOf("file:")===0)||setTimeout(dt)},ot.onabort=function(){ot&&(a(new AxiosError("Request aborted",AxiosError.ECONNABORTED,o,ot)),ot=null)},ot.onerror=function(){a(new AxiosError("Network Error",AxiosError.ERR_NETWORK,o,ot)),ot=null},ot.ontimeout=function(){let ft=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const ct=o.transitional||transitionalDefaults;o.timeoutErrorMessage&&(ft=o.timeoutErrorMessage),a(new AxiosError(ft,ct.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,o,ot)),ot=null},platform.hasStandardBrowserEnv&&(et&&utils$1.isFunction(et)&&(et=et(o)),et||et!==!1&&isURLSameOrigin(st))){const it=o.xsrfHeaderName&&o.xsrfCookieName&&cookies.read(o.xsrfCookieName);it&&j.set(o.xsrfHeaderName,it)}$===void 0&&j.setContentType(null),"setRequestHeader"in ot&&utils$1.forEach(j.toJSON(),function(ft,ct){ot.setRequestHeader(ct,ft)}),utils$1.isUndefined(o.withCredentials)||(ot.withCredentials=!!o.withCredentials),_e&&_e!=="json"&&(ot.responseType=o.responseType),typeof o.onDownloadProgress=="function"&&ot.addEventListener("progress",progressEventReducer(o.onDownloadProgress,!0)),typeof o.onUploadProgress=="function"&&ot.upload&&ot.upload.addEventListener("progress",progressEventReducer(o.onUploadProgress)),(o.cancelToken||o.signal)&&(tt=it=>{ot&&(a(!it||it.type?new CanceledError(null,o,ot):it),ot.abort(),ot=null)},o.cancelToken&&o.cancelToken.subscribe(tt),o.signal&&(o.signal.aborted?tt():o.signal.addEventListener("abort",tt)));const at=parseProtocol(st);if(at&&platform.protocols.indexOf(at)===-1){a(new AxiosError("Unsupported protocol "+at+":",AxiosError.ERR_BAD_REQUEST,o));return}ot.send($||null)})},knownAdapters={http:httpAdapter,xhr:xhrAdapter};utils$1.forEach(knownAdapters,(o,s)=>{if(o){try{Object.defineProperty(o,"name",{value:s})}catch{}Object.defineProperty(o,"adapterName",{value:s})}});const renderReason=o=>`- ${o}`,isResolvedHandle=o=>utils$1.isFunction(o)||o===null||o===!1,adapters={getAdapter:o=>{o=utils$1.isArray(o)?o:[o];const{length:s}=o;let i,a;const $={};for(let j=0;j`adapter ${et} `+(tt===!1?"is not supported by the environment":"is not available in the build"));let _e=s?j.length>1?`since : +`+j.map(renderReason).join(` +`):" "+renderReason(j[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+_e,"ERR_NOT_SUPPORT")}return a},adapters:knownAdapters};function throwIfCancellationRequested(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new CanceledError(null,o)}function dispatchRequest(o){return throwIfCancellationRequested(o),o.headers=AxiosHeaders$1.from(o.headers),o.data=transformData.call(o,o.transformRequest),["post","put","patch"].indexOf(o.method)!==-1&&o.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(o.adapter||defaults$1.adapter)(o).then(function(a){return throwIfCancellationRequested(o),a.data=transformData.call(o,o.transformResponse,a),a.headers=AxiosHeaders$1.from(a.headers),a},function(a){return isCancel(a)||(throwIfCancellationRequested(o),a&&a.response&&(a.response.data=transformData.call(o,o.transformResponse,a.response),a.response.headers=AxiosHeaders$1.from(a.response.headers))),Promise.reject(a)})}const headersToObject=o=>o instanceof AxiosHeaders$1?o.toJSON():o;function mergeConfig(o,s){s=s||{};const i={};function a(rt,nt,ot){return utils$1.isPlainObject(rt)&&utils$1.isPlainObject(nt)?utils$1.merge.call({caseless:ot},rt,nt):utils$1.isPlainObject(nt)?utils$1.merge({},nt):utils$1.isArray(nt)?nt.slice():nt}function $(rt,nt,ot){if(utils$1.isUndefined(nt)){if(!utils$1.isUndefined(rt))return a(void 0,rt,ot)}else return a(rt,nt,ot)}function j(rt,nt){if(!utils$1.isUndefined(nt))return a(void 0,nt)}function _e(rt,nt){if(utils$1.isUndefined(nt)){if(!utils$1.isUndefined(rt))return a(void 0,rt)}else return a(void 0,nt)}function et(rt,nt,ot){if(ot in s)return a(rt,nt);if(ot in o)return a(void 0,rt)}const tt={url:j,method:j,data:j,baseURL:_e,transformRequest:_e,transformResponse:_e,paramsSerializer:_e,timeout:_e,timeoutMessage:_e,withCredentials:_e,withXSRFToken:_e,adapter:_e,responseType:_e,xsrfCookieName:_e,xsrfHeaderName:_e,onUploadProgress:_e,onDownloadProgress:_e,decompress:_e,maxContentLength:_e,maxBodyLength:_e,beforeRedirect:_e,transport:_e,httpAgent:_e,httpsAgent:_e,cancelToken:_e,socketPath:_e,responseEncoding:_e,validateStatus:et,headers:(rt,nt)=>$(headersToObject(rt),headersToObject(nt),!0)};return utils$1.forEach(Object.keys(Object.assign({},o,s)),function(nt){const ot=tt[nt]||$,st=ot(o[nt],s[nt],nt);utils$1.isUndefined(st)&&ot!==et||(i[nt]=st)}),i}const VERSION="1.6.5",validators$1={};["object","boolean","number","function","string","symbol"].forEach((o,s)=>{validators$1[o]=function(a){return typeof a===o||"a"+(s<1?"n ":" ")+o}});const deprecatedWarnings={};validators$1.transitional=function(s,i,a){function $(j,_e){return"[Axios v"+VERSION+"] Transitional option '"+j+"'"+_e+(a?". "+a:"")}return(j,_e,et)=>{if(s===!1)throw new AxiosError($(_e," has been removed"+(i?" in "+i:"")),AxiosError.ERR_DEPRECATED);return i&&!deprecatedWarnings[_e]&&(deprecatedWarnings[_e]=!0,console.warn($(_e," has been deprecated since v"+i+" and will be removed in the near future"))),s?s(j,_e,et):!0}};function assertOptions(o,s,i){if(typeof o!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const a=Object.keys(o);let $=a.length;for(;$-- >0;){const j=a[$],_e=s[j];if(_e){const et=o[j],tt=et===void 0||_e(et,j,o);if(tt!==!0)throw new AxiosError("option "+j+" must be "+tt,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new AxiosError("Unknown option "+j,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(s){this.defaults=s,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}request(s,i){typeof s=="string"?(i=i||{},i.url=s):i=s||{},i=mergeConfig(this.defaults,i);const{transitional:a,paramsSerializer:$,headers:j}=i;a!==void 0&&validator.assertOptions(a,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),$!=null&&(utils$1.isFunction($)?i.paramsSerializer={serialize:$}:validator.assertOptions($,{encode:validators.function,serialize:validators.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let _e=j&&utils$1.merge(j.common,j[i.method]);j&&utils$1.forEach(["delete","get","head","post","put","patch","common"],at=>{delete j[at]}),i.headers=AxiosHeaders$1.concat(_e,j);const et=[];let tt=!0;this.interceptors.request.forEach(function(it){typeof it.runWhen=="function"&&it.runWhen(i)===!1||(tt=tt&&it.synchronous,et.unshift(it.fulfilled,it.rejected))});const rt=[];this.interceptors.response.forEach(function(it){rt.push(it.fulfilled,it.rejected)});let nt,ot=0,st;if(!tt){const at=[dispatchRequest.bind(this),void 0];for(at.unshift.apply(at,et),at.push.apply(at,rt),st=at.length,nt=Promise.resolve(i);ot{if(!a._listeners)return;let j=a._listeners.length;for(;j-- >0;)a._listeners[j]($);a._listeners=null}),this.promise.then=$=>{let j;const _e=new Promise(et=>{a.subscribe(et),j=et}).then($);return _e.cancel=function(){a.unsubscribe(j)},_e},s(function(j,_e,et){a.reason||(a.reason=new CanceledError(j,_e,et),i(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(s){if(this.reason){s(this.reason);return}this._listeners?this._listeners.push(s):this._listeners=[s]}unsubscribe(s){if(!this._listeners)return;const i=this._listeners.indexOf(s);i!==-1&&this._listeners.splice(i,1)}static source(){let s;return{token:new CancelToken(function($){s=$}),cancel:s}}}const CancelToken$1=CancelToken;function spread(o){return function(i){return o.apply(null,i)}}function isAxiosError(o){return utils$1.isObject(o)&&o.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([o,s])=>{HttpStatusCode[s]=o});const HttpStatusCode$1=HttpStatusCode;function createInstance(o){const s=new Axios$1(o),i=bind(Axios$1.prototype.request,s);return utils$1.extend(i,Axios$1.prototype,s,{allOwnKeys:!0}),utils$1.extend(i,s,null,{allOwnKeys:!0}),i.create=function($){return createInstance(mergeConfig(o,$))},i}const axios=createInstance(defaults$1);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(s){return Promise.all(s)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=o=>formDataToJSON(utils$1.isHTMLForm(o)?new FormData(o):o);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;async function getGeneration(o){try{const{data:s}=await axios.get(`/send/?id=${o}`,{responseType:"blob"});return console.log(s),s}catch(s){console.log("unexpected error: ",s)}}const Inferrence=()=>{const o=useLocation(),[s,i]=reactExports.useState(o.pathname.replace("/","")),a=async it=>{const ft=await getGeneration(it);console.log(ft)};reactExports.useEffect(()=>{i(o.pathname.replace("/",""))},[o.pathname]);const $=it=>{i(it)},[j,_e]=reactExports.useState(!1),[et,tt]=reactExports.useState(" "),[rt,nt]=reactExports.useState(!1),ot=reactExports.useCallback(it=>(_e(!0),it.stopPropagation(),it.preventDefault(),!1),[]),st=reactExports.useCallback(it=>(it.preventDefault(),it.stopPropagation(),!1),[]),dt=reactExports.useCallback(it=>(_e(!1),it.stopPropagation(),it.preventDefault(),!1),[]),at=reactExports.useCallback(it=>{it.preventDefault();const ft=it.dataTransfer.files;return tt(it.dataTransfer.files[0].name),console.log("Files dropped: ",ft),nt(!0),_e(!1),!1},[]);return reactExports.useEffect(()=>(window.addEventListener("mouseup",dt),window.addEventListener("dragenter",ot),window.addEventListener("dragover",st),window.addEventListener("drop",at),()=>{window.removeEventListener("mouseup",dt),window.removeEventListener("dragenter",ot),window.removeEventListener("dragover",st),window.removeEventListener("drop",at)}),[ot,dt,st,at]),jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(MainContainer,{children:jsxRuntimeExports.jsx(Box$1,{onDragEnter:ot,onDragOver:ot,onDragLeave:dt,sx:{justifyContent:"center",display:"flex",height:"99%",alignItems:"center"},children:jsxRuntimeExports.jsxs(Card$1,{variant:j?"outlined":"filled",children:[jsxRuntimeExports.jsxs(Box$1,{sx:{display:rt?"none":"inherit"},children:[jsxRuntimeExports.jsxs(CardContent$1,{sx:{display:"grid",justifyItems:"center"},children:[jsxRuntimeExports.jsx(Typography$1,{gutterBottom:!0,variant:"h5",sx:{pb:3},children:j?"Drop here to upload":"Drag a file to start inferrence"}),jsxRuntimeExports.jsx(UploadFile,{sx:{fontSize:"35px",color:"inherit"}})]}),jsxRuntimeExports.jsx(CardActions$1,{sx:{display:"flex",justifyContent:"flex-end"},children:jsxRuntimeExports.jsx(Button$1,{variant:"filled",size:"small",component:Link,to:"/WaitingVST",onClick:it=>a("gen_InverSynth_00006.wav.wav"),children:"Upload"})})]}),jsxRuntimeExports.jsxs(Box$1,{sx:{display:rt?"inherit":"none"},children:[jsxRuntimeExports.jsx(CardContent$1,{sx:{display:"grid",justifyItems:"center"},children:jsxRuntimeExports.jsx(Typography$1,{variant:"h5",children:et})}),jsxRuntimeExports.jsx(CardActions$1,{sx:{display:"flex",justifyContent:"flex-end"},children:jsxRuntimeExports.jsx(Button$1,{variant:"filled",size:"small",component:Link,to:"/Generating",onClick:()=>$("Generating"),children:"Confirm"})})]})]})})})})},Home$1=()=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(MainContainer,{})}),Generating=()=>jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(MainContainer,{children:jsxRuntimeExports.jsx(Box$1,{sx:{justifyContent:"center",display:"flex",height:"99%",alignItems:"center"},children:jsxRuntimeExports.jsx(Box$1,{sx:{width:"30%"},children:jsxRuntimeExports.jsx(LinearProgress$1,{color:"primary"})})})})}),Express=()=>{const o=useNavigate();return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(MainContainer,{children:jsxRuntimeExports.jsx(Box$1,{sx:{justifyContent:"center",display:"flex",height:"99%",alignItems:"center"},children:jsxRuntimeExports.jsxs(Stack$1,{sx:{height:"30vh",borderRadius:"12px",gap:"30px",minWidth:"20vw",maxWidth:"300px"},children:[jsxRuntimeExports.jsx(Card$1,{variant:"outlined",onClick:()=>o("/Inferrence"),children:jsxRuntimeExports.jsx(Box$1,{children:jsxRuntimeExports.jsxs(CardContent$1,{sx:{display:"flex",justifyItems:"center",flexDirection:"row-reverse",alignItems:"center",justifyContent:"flex-end",userSelect:"none",gap:"30px"},children:[jsxRuntimeExports.jsxs(Box$1,{sx:{display:"flex",flexDirection:"column"},children:[jsxRuntimeExports.jsx(Typography$1,{variant:"h5",children:"Express generation"}),jsxRuntimeExports.jsx(Typography$1,{variant:"body1",fontStyle:"italic",children:"TAL-Noisemaker synthesizer and recommended config is used"})]}),jsxRuntimeExports.jsx(FlashOn,{sx:{fontSize:"40px",color:"inherit"}})]})})}),jsxRuntimeExports.jsx(Box$1,{}),jsxRuntimeExports.jsx(Divider$1,{children:"Or"}),jsxRuntimeExports.jsx(Card$1,{variant:"outlined",onClick:()=>o("/Generating"),children:jsxRuntimeExports.jsx(Box$1,{sx:{display:"inherit"},children:jsxRuntimeExports.jsxs(CardContent$1,{sx:{display:"flex",justifyItems:"center",flexDirection:"row-reverse",alignItems:"center",justifyContent:"flex-end",gap:"30px",userSelect:"none"},children:[jsxRuntimeExports.jsxs(Box$1,{sx:{display:"flex",flexDirection:"column"},children:[jsxRuntimeExports.jsx(Typography$1,{variant:"h5",children:"Custom generation"}),jsxRuntimeExports.jsx(Typography$1,{variant:"body1",fontStyle:"italic",children:"Bring your own VST and customize your model"})]}),jsxRuntimeExports.jsx(Settings,{sx:{fontSize:"40px",color:"inherit"}})]})})})]})})})})},WaitingVST=()=>{const o={item1:1,item2:42,item3:2,item4:7,item5:[3,2]},s=[{id:"checkbox",label:"Enabled"},{id:"name",label:"Name"},{id:"value",label:"Value"}],[i,a]=reactExports.useState([]),[$,j]=reactExports.useState({}),_e=tt=>{i.includes(tt)?a(i.filter(rt=>rt!==tt)):a([...i,tt])},et=(tt,rt)=>{j(nt=>({...nt,[tt]:rt}))};return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(MainContainer,{children:jsxRuntimeExports.jsx(Box$1,{sx:{justifyContent:"center",display:"flex",height:"99%",alignItems:"center"},children:jsxRuntimeExports.jsx(Card$1,{variant:"filled",sx:{width:"30vw"},children:jsxRuntimeExports.jsxs(Box$1,{children:[jsxRuntimeExports.jsxs(CardContent$1,{sx:{display:"grid",justifyItems:"center",alignItems:"center"},children:[jsxRuntimeExports.jsx(DeveloperBoardOutlined,{sx:{fontSize:"50px"}}),jsxRuntimeExports.jsx(Typography$1,{sx:{fontFamily:"monospace",pt:1,fontSize:"50px"},children:"VST Name"}),jsxRuntimeExports.jsx(Typography$1,{sx:{fontFamily:"monospace",pb:1},children:"Properties available"}),jsxRuntimeExports.jsx(TableContainer$1,{sx:{},children:jsxRuntimeExports.jsxs(Table$1,{children:[jsxRuntimeExports.jsx(TableHead$1,{children:jsxRuntimeExports.jsx(TableRow$1,{children:s.map(tt=>jsxRuntimeExports.jsx(TableCell$1,{children:tt.label},tt.id))})}),jsxRuntimeExports.jsx(TableBody$1,{children:Object.keys(o).map(tt=>jsxRuntimeExports.jsxs(TableRow$1,{children:[jsxRuntimeExports.jsx(TableCell$1,{children:jsxRuntimeExports.jsx(Checkbox$1,{checked:i.includes(tt),onChange:()=>_e(tt)})}),jsxRuntimeExports.jsx(TableCell$1,{children:tt}),jsxRuntimeExports.jsx(TableCell$1,{children:Array.isArray(o[tt])?jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(TextField$1,{type:"number",value:$[tt]!==void 0?$[tt]:o[tt],onChange:rt=>et(tt,Number(rt.target.value))}),jsxRuntimeExports.jsx(TextField$1,{type:"number",value:$[tt]!==void 0?$[tt]:o[tt],onChange:rt=>et(tt,Number(rt.target.value))})]}):jsxRuntimeExports.jsx(TextField$1,{sx:{width:"100px",WebkitAppearance:"none",margin:0},type:"number",value:$[tt]!==void 0?$[tt]:o[tt],onChange:rt=>et(tt,Number(rt.target.value))})})]},tt))})]})})]}),jsxRuntimeExports.jsx(CardActions$1,{sx:{display:"flex",justifyContent:"flex-end"},children:jsxRuntimeExports.jsx(Button$1,{variant:"filled",component:Link,to:"/Results",children:"Next"})})]})})})})})};var bundle=function(o){var s={};function i(a){if(s[a])return s[a].exports;var $=s[a]={i:a,l:!1,exports:{}};return o[a].call($.exports,$,$.exports,i),$.l=!0,$.exports}return i.m=o,i.c=s,i.d=function(a,$,j){i.o(a,$)||Object.defineProperty(a,$,{enumerable:!0,get:j})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,$){if(1&$&&(a=i(a)),8&$||4&$&&typeof a=="object"&&a&&a.__esModule)return a;var j=Object.create(null);if(i.r(j),Object.defineProperty(j,"default",{enumerable:!0,value:a}),2&$&&typeof a!="string")for(var _e in a)i.d(j,_e,(function(et){return a[et]}).bind(null,_e));return j},i.n=function(a){var $=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d($,"a",$),$},i.o=function(a,$){return Object.prototype.hasOwnProperty.call(a,$)},i.p="",i(i.s=2)}([function(o,s){o.exports=propTypesExports},function(o,s){o.exports=reactExports},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),(function(module){var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(1),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),prop_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),prop_types__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_1__),enterModule;function _typeof(o){return(_typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(o)}function _extends(){return(_extends=Object.assign||function(o){for(var s=1;s"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(s){return s.__proto__||Object.getPrototypeOf(s)})(o)}function _defineProperty(o,s,i){return s in o?Object.defineProperty(o,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[s]=i,o}enterModule=typeof reactHotLoaderGlobal<"u"?reactHotLoaderGlobal.enterModule:void 0,enterModule&&enterModule(module),typeof reactHotLoaderGlobal<"u"&&reactHotLoaderGlobal.default.signature;var ReactAudioPlayer=function(_Component){_inherits(ReactAudioPlayer,_Component);var _super=_createSuper(ReactAudioPlayer);function ReactAudioPlayer(){var o;_classCallCheck(this,ReactAudioPlayer);for(var s=arguments.length,i=new Array(s),a=0;a(useNavigate(),jsxRuntimeExports.jsx(MainContainer,{children:jsxRuntimeExports.jsx(Box$1,{sx:{justifyContent:"center",display:"flex",height:"99%",alignItems:"center"},children:jsxRuntimeExports.jsxs(Stack$1,{sx:{borderRadius:"12px",gap:"30px",alignItems:"center"},children:[jsxRuntimeExports.jsxs(Grid$1,{container:!0,spacing:2,alignItems:"center",justifyContent:"center",children:[jsxRuntimeExports.jsx(Grid$1,{item:!0,children:jsxRuntimeExports.jsx(Card$1,{children:jsxRuntimeExports.jsxs(CardContent$1,{children:[jsxRuntimeExports.jsx(Typography$1,{sx:{pt:.5,pb:4},variant:"h6",children:"Sample"}),jsxRuntimeExports.jsx(ReactAudioPlayer,{src:"",controls:!0})]})})}),jsxRuntimeExports.jsx(Grid$1,{item:!0,children:jsxRuntimeExports.jsx(Card$1,{children:jsxRuntimeExports.jsxs(CardContent$1,{children:[jsxRuntimeExports.jsx(Typography$1,{sx:{pt:.5,pb:4},variant:"h6",children:"Generated"}),jsxRuntimeExports.jsx(ReactAudioPlayer,{src:"",controls:!0})]})})})]}),jsxRuntimeExports.jsxs(Fab$1,{color:"primary",sx:{height:"70px"},variant:"extended",component:Link,to:"/Inferrence",children:[jsxRuntimeExports.jsx(Audiotrack,{}),jsxRuntimeExports.jsx(Typography$1,{color:"inherit",sx:{mr:1,fontSize:16,fontWeight:500,mt:.3,ml:2},children:"Download Preset"})]}),jsxRuntimeExports.jsx(Divider$1,{sx:{width:"5vw",py:2},children:"Or"}),jsxRuntimeExports.jsxs(Fab$1,{color:"surface",sx:{mt:5,height:"70px"},variant:"extended",component:Link,to:"/Inferrence",children:[jsxRuntimeExports.jsx(RestartAlt,{}),jsxRuntimeExports.jsx(Typography$1,{color:"inherit",sx:{mr:1,fontSize:16,fontWeight:500,mt:.3,ml:2},children:"Retry"})]})]})})})),pagesData=[{path:"Home",element:jsxRuntimeExports.jsx(Home$1,{}),title:"Home"},{path:"Inferrence",element:jsxRuntimeExports.jsx(Inferrence,{}),title:"Inferrence"},{path:"About",element:jsxRuntimeExports.jsx(About,{}),title:"about"},{path:"Generating",element:jsxRuntimeExports.jsx(Generating,{}),title:"Generating"},{path:"Express",element:jsxRuntimeExports.jsx(Express,{}),title:"Express"},{path:"WaitingVST",element:jsxRuntimeExports.jsx(WaitingVST,{}),title:"WaitingVST"},{path:"Results",element:jsxRuntimeExports.jsx(Results,{}),title:"Results"}];var Home={},interopRequireDefault={exports:{}};(function(o){function s(i){return i&&i.__esModule?i:{default:i}}o.exports=s,o.exports.__esModule=!0,o.exports.default=o.exports})(interopRequireDefault);var interopRequireDefaultExports=interopRequireDefault.exports,createSvgIcon={};const require$$0=getAugmentedNamespace(utils$2);var hasRequiredCreateSvgIcon;function requireCreateSvgIcon(){return hasRequiredCreateSvgIcon||(hasRequiredCreateSvgIcon=1,function(o){"use client";Object.defineProperty(o,"__esModule",{value:!0}),Object.defineProperty(o,"default",{enumerable:!0,get:function(){return s.createSvgIcon}});var s=require$$0}(createSvgIcon)),createSvgIcon}var _interopRequireDefault$c=interopRequireDefaultExports;Object.defineProperty(Home,"__esModule",{value:!0});var default_1$c=Home.default=void 0,_createSvgIcon$c=_interopRequireDefault$c(requireCreateSvgIcon()),_jsxRuntime$c=jsxRuntimeExports;default_1$c=Home.default=(0,_createSvgIcon$c.default)((0,_jsxRuntime$c.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");var HomeOutlined={},_interopRequireDefault$b=interopRequireDefaultExports;Object.defineProperty(HomeOutlined,"__esModule",{value:!0});var default_1$b=HomeOutlined.default=void 0,_createSvgIcon$b=_interopRequireDefault$b(requireCreateSvgIcon()),_jsxRuntime$b=jsxRuntimeExports;default_1$b=HomeOutlined.default=(0,_createSvgIcon$b.default)((0,_jsxRuntime$b.jsx)("path",{d:"m12 5.69 5 4.5V18h-2v-6H9v6H7v-7.81zM12 3 2 12h3v8h6v-6h2v6h6v-8h3z"}),"HomeOutlined");var Info={},_interopRequireDefault$a=interopRequireDefaultExports;Object.defineProperty(Info,"__esModule",{value:!0});var default_1$a=Info.default=void 0,_createSvgIcon$a=_interopRequireDefault$a(requireCreateSvgIcon()),_jsxRuntime$a=jsxRuntimeExports;default_1$a=Info.default=(0,_createSvgIcon$a.default)((0,_jsxRuntime$a.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var InfoOutlined={},_interopRequireDefault$9=interopRequireDefaultExports;Object.defineProperty(InfoOutlined,"__esModule",{value:!0});var default_1$9=InfoOutlined.default=void 0,_createSvgIcon$9=_interopRequireDefault$9(requireCreateSvgIcon()),_jsxRuntime$9=jsxRuntimeExports;default_1$9=InfoOutlined.default=(0,_createSvgIcon$9.default)((0,_jsxRuntime$9.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined");var PaletteOutlined={},_interopRequireDefault$8=interopRequireDefaultExports;Object.defineProperty(PaletteOutlined,"__esModule",{value:!0});var default_1$8=PaletteOutlined.default=void 0,_createSvgIcon$8=_interopRequireDefault$8(requireCreateSvgIcon()),_jsxRuntime$8=jsxRuntimeExports;default_1$8=PaletteOutlined.default=(0,_createSvgIcon$8.default)([(0,_jsxRuntime$8.jsx)("path",{d:"M12 22C6.49 22 2 17.51 2 12S6.49 2 12 2s10 4.04 10 9c0 3.31-2.69 6-6 6h-1.77c-.28 0-.5.22-.5.5 0 .12.05.23.13.33.41.47.64 1.06.64 1.67 0 1.38-1.12 2.5-2.5 2.5m0-18c-4.41 0-8 3.59-8 8s3.59 8 8 8c.28 0 .5-.22.5-.5 0-.16-.08-.28-.14-.35-.41-.46-.63-1.05-.63-1.65 0-1.38 1.12-2.5 2.5-2.5H16c2.21 0 4-1.79 4-4 0-3.86-3.59-7-8-7"},"0"),(0,_jsxRuntime$8.jsx)("circle",{cx:"6.5",cy:"11.5",r:"1.5"},"1"),(0,_jsxRuntime$8.jsx)("circle",{cx:"9.5",cy:"7.5",r:"1.5"},"2"),(0,_jsxRuntime$8.jsx)("circle",{cx:"14.5",cy:"7.5",r:"1.5"},"3"),(0,_jsxRuntime$8.jsx)("circle",{cx:"17.5",cy:"11.5",r:"1.5"},"4")],"PaletteOutlined");var Palette={},_interopRequireDefault$7=interopRequireDefaultExports;Object.defineProperty(Palette,"__esModule",{value:!0});var default_1$7=Palette.default=void 0,_createSvgIcon$7=_interopRequireDefault$7(requireCreateSvgIcon()),_jsxRuntime$7=jsxRuntimeExports;default_1$7=Palette.default=(0,_createSvgIcon$7.default)((0,_jsxRuntime$7.jsx)("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10c1.38 0 2.5-1.12 2.5-2.5 0-.61-.23-1.2-.64-1.67-.08-.1-.13-.21-.13-.33 0-.28.22-.5.5-.5H16c3.31 0 6-2.69 6-6 0-4.96-4.49-9-10-9m5.5 11c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5m-3-4c-.83 0-1.5-.67-1.5-1.5S13.67 6 14.5 6s1.5.67 1.5 1.5S15.33 9 14.5 9M5 11.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S7.33 13 6.5 13 5 12.33 5 11.5m6-4c0 .83-.67 1.5-1.5 1.5S8 8.33 8 7.5 8.67 6 9.5 6s1.5.67 1.5 1.5"}),"Palette");var Add={},_interopRequireDefault$6=interopRequireDefaultExports;Object.defineProperty(Add,"__esModule",{value:!0});var default_1$6=Add.default=void 0,_createSvgIcon$6=_interopRequireDefault$6(requireCreateSvgIcon()),_jsxRuntime$6=jsxRuntimeExports;default_1$6=Add.default=(0,_createSvgIcon$6.default)((0,_jsxRuntime$6.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");const MainDrawer=o=>{const{onClose:s,...i}=o,a=useLocation(),[$,j]=reactExports.useState(a.pathname.replace("/",""));reactExports.useEffect(()=>{j(a.pathname.replace("/",""))},[a.pathname]);const _e=et=>{j(et),s==null||s({},"backdropClick")};return jsxRuntimeExports.jsxs(Drawer$1,{...i,onClose:s,children:[jsxRuntimeExports.jsx(Toolbar$1,{children:jsxRuntimeExports.jsx(Typography$1,{color:"inherit",sx:{fontWeight:"bold",letterSpacing:.5,fontSize:25,py:2,pt:5,textAlign:"center"},children:"Placeholder logo"})}),jsxRuntimeExports.jsx(Box$1,{sx:{py:1}}),jsxRuntimeExports.jsxs(Fab$1,{color:"tertiary",sx:{mx:2,px:1,py:1,height:"50px"},variant:"extended",component:Link,to:"/Inferrence",onClick:()=>_e("Inferrence"),children:[$=="Inferrence"?jsxRuntimeExports.jsx(default_1$6,{sx:{mr:1}}):jsxRuntimeExports.jsx(AddOutlined,{sx:{mr:1}}),jsxRuntimeExports.jsx(Typography$1,{color:"inherit",sx:{mr:1,fontSize:16,fontWeight:500,mt:.3},children:"New inferrence"})]}),jsxRuntimeExports.jsx(Box$1,{sx:{py:1}}),jsxRuntimeExports.jsx(List$1,{children:jsxRuntimeExports.jsxs(Box$1,{children:[jsxRuntimeExports.jsx(ListItem$1,{children:jsxRuntimeExports.jsxs(ListItemButton$1,{component:Link,to:"/Home",selected:$=="Home",onClick:()=>_e("Home"),children:[jsxRuntimeExports.jsx(ListItemIcon$1,{children:$=="Home"?jsxRuntimeExports.jsx(default_1$c,{}):jsxRuntimeExports.jsx(default_1$b,{})}),jsxRuntimeExports.jsx(ListItemText$1,{children:"Home"})]})}),jsxRuntimeExports.jsx(ListItem$1,{children:jsxRuntimeExports.jsxs(ListItemButton$1,{component:Link,to:"/Inferrence",selected:$=="Inferrence",onClick:()=>_e("Inferrence"),children:[jsxRuntimeExports.jsx(ListItemIcon$1,{children:$=="Inferrence"?jsxRuntimeExports.jsx(default_1$7,{}):jsxRuntimeExports.jsx(default_1$8,{})}),jsxRuntimeExports.jsx(ListItemText$1,{children:"Inferrence"})]})}),jsxRuntimeExports.jsx(ListItem$1,{children:jsxRuntimeExports.jsxs(ListItemButton$1,{component:Link,to:"/About",selected:$=="About",onClick:()=>_e("About"),children:[jsxRuntimeExports.jsx(ListItemIcon$1,{children:$=="About"?jsxRuntimeExports.jsx(default_1$a,{}):jsxRuntimeExports.jsx(default_1$9,{})}),jsxRuntimeExports.jsx(ListItemText$1,{children:"About"})]})}),jsxRuntimeExports.jsx(ListItem$1,{children:jsxRuntimeExports.jsxs(ListItemButton$1,{component:Link,to:"/Express",selected:$=="Express",onClick:()=>_e("Express"),children:[jsxRuntimeExports.jsx(ListItemIcon$1,{children:$=="Express"?jsxRuntimeExports.jsx(FlashOn,{}):jsxRuntimeExports.jsx(FlashOnOutlined,{})}),jsxRuntimeExports.jsx(ListItemText$1,{children:"Express"})]})})]})})]})},PrimaryDefault={0:"#000000",4:"#13003a",6:"#190048",10:"#22005d",12:"#260561",17:"#31166c",20:"#381e72",22:"#3c2377",24:"#41287c",30:"#4f378a",40:"#6750a4",50:"#8069bf",60:"#9a83db",70:"#b69df8",80:"#cfbcff",87:"#e1d3ff",90:"#e9ddff",92:"#eee4ff",94:"#f3eaff",95:"#f6eeff",96:"#f8f1ff",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},SecondaryDefault={0:"#000000",4:"#100b1d",6:"#151022",10:"#1e192b",12:"#221d2f",17:"#2c273a",20:"#332d41",22:"#373245",24:"#3c364a",30:"#4a4458",40:"#625b71",50:"#7b748a",60:"#958da4",70:"#b0a7c0",80:"#cbc2db",87:"#dfd6ef",90:"#e8def8",92:"#eee4fe",94:"#f3eaff",95:"#f6eeff",96:"#f8f1ff",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},TertiaryDefault={0:"#000000",4:"#210410",6:"#270815",10:"#31101d",12:"#361421",17:"#421f2c",20:"#4a2532",22:"#4f2936",24:"#542e3b",30:"#633b48",40:"#7e5260",50:"#996a79",60:"#b58392",70:"#d29dad",80:"#efb8c8",87:"#ffcddb",90:"#ffd9e3",92:"#ffe1e8",94:"#ffe8ed",95:"#ffecf0",96:"#fff0f2",98:"#fff8f8",99:"#fffbff",100:"#ffffff"},NeutralDefault={0:"#000000",4:"#0f0e11",6:"#141316",10:"#1c1b1e",12:"#201f22",17:"#2b292d",20:"#313033",22:"#363438",24:"#3a383c",30:"#48464a",40:"#605d62",50:"#79767a",60:"#938f94",70:"#aeaaae",80:"#cac5ca",87:"#ddd8dd",90:"#e6e1e6",92:"#ece7eb",94:"#f2ecf1",95:"#f4eff4",96:"#f7f2f7",98:"#fdf8fd",99:"#fffbff",100:"#ffffff"},NeutralVariantDefault={0:"#000000",4:"#0f0d14",6:"#14121a",10:"#1d1a22",12:"#211e26",17:"#2b2931",20:"#322f38",22:"#36333c",24:"#3b3840",30:"#49454e",40:"#615d66",50:"#7a757f",60:"#948f99",70:"#afa9b4",80:"#cac4cf",87:"#ded8e3",90:"#e7e0eb",92:"#ece6f1",94:"#f2ebf7",95:"#f5eefa",96:"#f8f1fd",98:"#fdf7ff",99:"#fffbff",100:"#ffffff"},ErrorDefault={0:"#000000",4:"#280001",6:"#310001",10:"#410002",12:"#490002",17:"#5c0004",20:"#690005",22:"#710005",24:"#790006",30:"#93000a",40:"#ba1a1a",50:"#de3730",60:"#ff5449",70:"#ff897d",80:"#ffb4ab",87:"#ffcfc9",90:"#ffdad6",92:"#ffe2de",94:"#ffe9e6",95:"#ffedea",96:"#fff0ee",98:"#fff8f7",99:"#fffbff",100:"#ffffff"},TonalPaletteDefault={primary:PrimaryDefault,secondary:SecondaryDefault,tertiary:TertiaryDefault,neutral:NeutralDefault,neutralVariant:NeutralVariantDefault,error:ErrorDefault},LightTokensDefault={primary:"#6750a4",onPrimary:"#ffffff",primaryContainer:"#e9ddff",onPrimaryContainer:"#22005d",secondary:"#625b71",onSecondary:"#ffffff",secondaryContainer:"#e8def8",onSecondaryContainer:"#1e192b",tertiary:"#7e5260",onTertiary:"#ffffff",tertiaryContainer:"#ffd9e3",onTertiaryContainer:"#31101d",error:"#ba1a1a",onError:"#ffffff",errorContainer:"#ffdad6",onErrorContainer:"#410002",primaryFixed:"#e9ddff",primaryFixedDim:"#cfbcff",onPrimaryFixed:"#22005d",onPrimaryFixedVariant:"#4f378a",secondaryFixed:"#e8def8",secondaryFixedDim:"#cbc2db",onSecondaryFixed:"#1e192b",onSecondaryFixedVariant:"#4a4458",tertiaryFixed:"#ffd9e3",tertiaryFixedDim:"#efb8c8",onTertiaryFixed:"#31101d",onTertiaryFixedVariant:"#633b48",surface:"#fdf8fd",onSurface:"#1c1b1e",surfaceDim:"#ddd8dd",surfaceBright:"#fdf8fd",surfaceContainerLowest:"#ffffff",surfaceContainerLow:"#f7f2f7",surfaceContainer:"#f2ecf1",surfaceContainerHigh:"#ece7eb",surfaceContainerHighest:"#e6e1e6",surfaceVariant:"#e7e0eb",onSurfaceVariant:"#49454e",outline:"#7a757f",outlineVariant:"#cac4cf",inverseSurface:"#313033",inverseOnSurface:"#f4eff4",inversePrimary:"#cfbcff",inverseOnPrimary:"",shadow:"#000000",scrim:"#000000",surfaceTintColor:"#6750a4",background:"#fdf8fd",onBackground:"#1c1b1e",info:"#125db2",onInfo:"#ffffff",infoContainer:"#d6e3ff",onInfoContainer:"#001b3d",success:"#006d43",onSuccess:"#ffffff",successContainer:"#92f7bc",onSuccessContainer:"#002111",warning:"#ad3212",onWarning:"#ffffff",warningContainer:"#ffdad2",onWarningContainer:"#3c0700"},DarkTokensDefault={primary:"#cfbcff",onPrimary:"#4f378a",primaryContainer:"#4f378a",onPrimaryContainer:"#e9ddff",secondary:"#cbc2db",onSecondary:"#332d41",secondaryContainer:"#4a4458",onSecondaryContainer:"#e8def8",tertiary:"#efb8c8",onTertiary:"#633b48",tertiaryContainer:"#633b48",onTertiaryContainer:"#ffd9e3",error:"#ffb4ab",onError:"#690005",errorContainer:"#93000a",onErrorContainer:"#ffdad6",primaryFixed:"#e9ddff",primaryFixedDim:"#cfbcff",onPrimaryFixed:"#22005d",onPrimaryFixedVariant:"#4f378a",secondaryFixed:"#e8def8",secondaryFixedDim:"#cbc2db",onSecondaryFixed:"#1e192b",onSecondaryFixedVariant:"#4a4458",tertiaryFixed:"#ffd9e3",tertiaryFixedDim:"#efb8c8",onTertiaryFixed:"#31101d",onTertiaryFixedVariant:"#633b48",surface:"#141316",onSurface:"#e6e1e6",surfaceDim:"#141316",surfaceBright:"#3a383c",surfaceContainerLowest:"#0f0e11",surfaceContainerLow:"#1c1b1e",surfaceContainer:"#201f22",surfaceContainerHigh:"#2b292d",surfaceContainerHighest:"#363438",surfaceVariant:"#49454e",onSurfaceVariant:"#cac4cf",outline:"#948f99",outlineVariant:"#49454e",inverseSurface:"#e6e1e6",inverseOnSurface:"#313033",inversePrimary:"#6750a4",inverseOnPrimary:"",shadow:"#000000",scrim:"#000000",surfaceTintColor:"#cfbcff",background:"#141316",onBackground:"#e6e1e6",info:"#a9c7ff",onInfo:"#003063",infoContainer:"#00468c",onInfoContainer:"#d6e3ff",success:"#76daa1",onSuccess:"#003920",successContainer:"#005231",onSuccessContainer:"#92f7bc",warning:"#ffb4a2",onWarning:"#621200",warningContainer:"#8a1d00",onWarningContainer:"#ffdad2"},ThemeSchemeDefault={tones:TonalPaletteDefault,light:LightTokensDefault,dark:DarkTokensDefault},THEME_MODE_KEY="ThemeModeKey",useThemeMode=()=>{const[o,s]=reactExports.useState("light");return reactExports.useLayoutEffect(()=>{if(localStorage.getItem(THEME_MODE_KEY)){const a=JSON.parse(localStorage.getItem(THEME_MODE_KEY)||"{}");s(a)}},[]),[o,()=>{const a=o=="light"?"dark":"light";s(a),localStorage.setItem(THEME_MODE_KEY,JSON.stringify(a))},s]};/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function signum(o){return o<0?-1:o===0?0:1}function lerp(o,s,i){return(1-i)*o+i*s}function clampInt(o,s,i){return is?s:i}function clampDouble(o,s,i){return is?s:i}function sanitizeDegreesDouble(o){return o=o%360,o<0&&(o=o+360),o}function rotationDirection(o,s){return sanitizeDegreesDouble(s-o)<=180?1:-1}function differenceDegrees(o,s){return 180-Math.abs(Math.abs(o-s)-180)}function matrixMultiply(o,s){const i=o[0]*s[0][0]+o[1]*s[0][1]+o[2]*s[0][2],a=o[0]*s[1][0]+o[1]*s[1][1]+o[2]*s[1][2],$=o[0]*s[2][0]+o[1]*s[2][1]+o[2]*s[2][2];return[i,a,$]}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */const SRGB_TO_XYZ=[[.41233895,.35762064,.18051042],[.2126,.7152,.0722],[.01932141,.11916382,.95034478]],XYZ_TO_SRGB=[[3.2413774792388685,-1.5376652402851851,-.49885366846268053],[-.9691452513005321,1.8758853451067872,.04156585616912061],[.05562093689691305,-.20395524564742123,1.0571799111220335]],WHITE_POINT_D65=[95.047,100,108.883];function argbFromRgb(o,s,i){return(255<<24|(o&255)<<16|(s&255)<<8|i&255)>>>0}function argbFromLinrgb(o){const s=delinearized(o[0]),i=delinearized(o[1]),a=delinearized(o[2]);return argbFromRgb(s,i,a)}function redFromArgb(o){return o>>16&255}function greenFromArgb(o){return o>>8&255}function blueFromArgb(o){return o&255}function argbFromXyz(o,s,i){const a=XYZ_TO_SRGB,$=a[0][0]*o+a[0][1]*s+a[0][2]*i,j=a[1][0]*o+a[1][1]*s+a[1][2]*i,_e=a[2][0]*o+a[2][1]*s+a[2][2]*i,et=delinearized($),tt=delinearized(j),rt=delinearized(_e);return argbFromRgb(et,tt,rt)}function xyzFromArgb(o){const s=linearized(redFromArgb(o)),i=linearized(greenFromArgb(o)),a=linearized(blueFromArgb(o));return matrixMultiply([s,i,a],SRGB_TO_XYZ)}function argbFromLstar(o){const s=yFromLstar(o),i=delinearized(s);return argbFromRgb(i,i,i)}function lstarFromArgb(o){const s=xyzFromArgb(o)[1];return 116*labF(s/100)-16}function yFromLstar(o){return 100*labInvf((o+16)/116)}function lstarFromY(o){return labF(o/100)*116-16}function linearized(o){const s=o/255;return s<=.040449936?s/12.92*100:Math.pow((s+.055)/1.055,2.4)*100}function delinearized(o){const s=o/100;let i=0;return s<=.0031308?i=s*12.92:i=1.055*Math.pow(s,1/2.4)-.055,clampInt(0,255,Math.round(i*255))}function whitePointD65(){return WHITE_POINT_D65}function labF(o){const s=.008856451679035631,i=24389/27;return o>s?Math.pow(o,1/3):(i*o+16)/116}function labInvf(o){const s=.008856451679035631,i=24389/27,a=o*o*o;return a>s?a:(116*o-16)/i}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class ViewingConditions{static make(s=whitePointD65(),i=200/Math.PI*yFromLstar(50)/100,a=50,$=2,j=!1){const _e=s,et=_e[0]*.401288+_e[1]*.650173+_e[2]*-.051461,tt=_e[0]*-.250268+_e[1]*1.204414+_e[2]*.045854,rt=_e[0]*-.002079+_e[1]*.048952+_e[2]*.953127,nt=.8+$/10,ot=nt>=.9?lerp(.59,.69,(nt-.9)*10):lerp(.525,.59,(nt-.8)*10);let st=j?1:nt*(1-1/3.6*Math.exp((-i-42)/92));st=st>1?1:st<0?0:st;const dt=nt,at=[st*(100/et)+1-st,st*(100/tt)+1-st,st*(100/rt)+1-st],it=1/(5*i+1),ft=it*it*it*it,ct=1-ft,ut=ft*i+.1*ct*ct*Math.cbrt(5*i),lt=yFromLstar(a)/s[1],pt=1.48+Math.sqrt(lt),ht=.725/Math.pow(lt,.2),gt=ht,mt=[Math.pow(ut*at[0]*et/100,.42),Math.pow(ut*at[1]*tt/100,.42),Math.pow(ut*at[2]*rt/100,.42)],xt=[400*mt[0]/(mt[0]+27.13),400*mt[1]/(mt[1]+27.13),400*mt[2]/(mt[2]+27.13)],Ct=(2*xt[0]+xt[1]+.05*xt[2])*ht;return new ViewingConditions(lt,Ct,ht,gt,ot,dt,at,ut,Math.pow(ut,.25),pt)}constructor(s,i,a,$,j,_e,et,tt,rt,nt){this.n=s,this.aw=i,this.nbb=a,this.ncb=$,this.c=j,this.nc=_e,this.rgbD=et,this.fl=tt,this.fLRoot=rt,this.z=nt}}ViewingConditions.DEFAULT=ViewingConditions.make();/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Cam16{constructor(s,i,a,$,j,_e,et,tt,rt){this.hue=s,this.chroma=i,this.j=a,this.q=$,this.m=j,this.s=_e,this.jstar=et,this.astar=tt,this.bstar=rt}distance(s){const i=this.jstar-s.jstar,a=this.astar-s.astar,$=this.bstar-s.bstar,j=Math.sqrt(i*i+a*a+$*$);return 1.41*Math.pow(j,.63)}static fromInt(s){return Cam16.fromIntInViewingConditions(s,ViewingConditions.DEFAULT)}static fromIntInViewingConditions(s,i){const a=(s&16711680)>>16,$=(s&65280)>>8,j=s&255,_e=linearized(a),et=linearized($),tt=linearized(j),rt=.41233895*_e+.35762064*et+.18051042*tt,nt=.2126*_e+.7152*et+.0722*tt,ot=.01932141*_e+.11916382*et+.95034478*tt,st=.401288*rt+.650173*nt-.051461*ot,dt=-.250268*rt+1.204414*nt+.045854*ot,at=-.002079*rt+.048952*nt+.953127*ot,it=i.rgbD[0]*st,ft=i.rgbD[1]*dt,ct=i.rgbD[2]*at,ut=Math.pow(i.fl*Math.abs(it)/100,.42),lt=Math.pow(i.fl*Math.abs(ft)/100,.42),pt=Math.pow(i.fl*Math.abs(ct)/100,.42),ht=signum(it)*400*ut/(ut+27.13),gt=signum(ft)*400*lt/(lt+27.13),mt=signum(ct)*400*pt/(pt+27.13),xt=(11*ht+-12*gt+mt)/11,Ct=(ht+gt-2*mt)/9,yt=(20*ht+20*gt+21*mt)/20,Et=(40*ht+20*gt+mt)/20,$t=Math.atan2(Ct,xt)*180/Math.PI,St=$t<0?$t+360:$t>=360?$t-360:$t,Rt=St*Math.PI/180,Pt=Et*i.nbb,wt=100*Math.pow(Pt/i.aw,i.c*i.z),vt=4/i.c*Math.sqrt(wt/100)*(i.aw+4)*i.fLRoot,bt=St<20.14?St+360:St,Tt=.25*(Math.cos(bt*Math.PI/180+2)+3.8),Ot=5e4/13*Tt*i.nc*i.ncb*Math.sqrt(xt*xt+Ct*Ct)/(yt+.305),Nt=Math.pow(Ot,.9)*Math.pow(1.64-Math.pow(.29,i.n),.73),It=Nt*Math.sqrt(wt/100),At=It*i.fLRoot,Dt=50*Math.sqrt(Nt*i.c/(i.aw+4)),qt=(1+100*.007)*wt/(1+.007*wt),Ht=1/.0228*Math.log(1+.0228*At),Ut=Ht*Math.cos(Rt),Jt=Ht*Math.sin(Rt);return new Cam16(St,It,wt,vt,At,Dt,qt,Ut,Jt)}static fromJch(s,i,a){return Cam16.fromJchInViewingConditions(s,i,a,ViewingConditions.DEFAULT)}static fromJchInViewingConditions(s,i,a,$){const j=4/$.c*Math.sqrt(s/100)*($.aw+4)*$.fLRoot,_e=i*$.fLRoot,et=i/Math.sqrt(s/100),tt=50*Math.sqrt(et*$.c/($.aw+4)),rt=a*Math.PI/180,nt=(1+100*.007)*s/(1+.007*s),ot=1/.0228*Math.log(1+.0228*_e),st=ot*Math.cos(rt),dt=ot*Math.sin(rt);return new Cam16(a,i,s,j,_e,tt,nt,st,dt)}static fromUcs(s,i,a){return Cam16.fromUcsInViewingConditions(s,i,a,ViewingConditions.DEFAULT)}static fromUcsInViewingConditions(s,i,a,$){const j=i,_e=a,et=Math.sqrt(j*j+_e*_e),rt=(Math.exp(et*.0228)-1)/.0228/$.fLRoot;let nt=Math.atan2(_e,j)*(180/Math.PI);nt<0&&(nt+=360);const ot=s/(1-(s-100)*.007);return Cam16.fromJchInViewingConditions(ot,rt,nt,$)}toInt(){return this.viewed(ViewingConditions.DEFAULT)}viewed(s){const i=this.chroma===0||this.j===0?0:this.chroma/Math.sqrt(this.j/100),a=Math.pow(i/Math.pow(1.64-Math.pow(.29,s.n),.73),1/.9),$=this.hue*Math.PI/180,j=.25*(Math.cos($+2)+3.8),_e=s.aw*Math.pow(this.j/100,1/s.c/s.z),et=j*(5e4/13)*s.nc*s.ncb,tt=_e/s.nbb,rt=Math.sin($),nt=Math.cos($),ot=23*(tt+.305)*a/(23*et+11*a*nt+108*a*rt),st=ot*nt,dt=ot*rt,at=(460*tt+451*st+288*dt)/1403,it=(460*tt-891*st-261*dt)/1403,ft=(460*tt-220*st-6300*dt)/1403,ct=Math.max(0,27.13*Math.abs(at)/(400-Math.abs(at))),ut=signum(at)*(100/s.fl)*Math.pow(ct,1/.42),lt=Math.max(0,27.13*Math.abs(it)/(400-Math.abs(it))),pt=signum(it)*(100/s.fl)*Math.pow(lt,1/.42),ht=Math.max(0,27.13*Math.abs(ft)/(400-Math.abs(ft))),gt=signum(ft)*(100/s.fl)*Math.pow(ht,1/.42),mt=ut/s.rgbD[0],xt=pt/s.rgbD[1],Ct=gt/s.rgbD[2],yt=1.86206786*mt-1.01125463*xt+.14918677*Ct,Et=.38752654*mt+.62144744*xt-.00897398*Ct,kt=-.0158415*mt-.03412294*xt+1.04996444*Ct;return argbFromXyz(yt,Et,kt)}static fromXyzInViewingConditions(s,i,a,$){const j=.401288*s+.650173*i-.051461*a,_e=-.250268*s+1.204414*i+.045854*a,et=-.002079*s+.048952*i+.953127*a,tt=$.rgbD[0]*j,rt=$.rgbD[1]*_e,nt=$.rgbD[2]*et,ot=Math.pow($.fl*Math.abs(tt)/100,.42),st=Math.pow($.fl*Math.abs(rt)/100,.42),dt=Math.pow($.fl*Math.abs(nt)/100,.42),at=signum(tt)*400*ot/(ot+27.13),it=signum(rt)*400*st/(st+27.13),ft=signum(nt)*400*dt/(dt+27.13),ct=(11*at+-12*it+ft)/11,ut=(at+it-2*ft)/9,lt=(20*at+20*it+21*ft)/20,pt=(40*at+20*it+ft)/20,gt=Math.atan2(ut,ct)*180/Math.PI,mt=gt<0?gt+360:gt>=360?gt-360:gt,xt=mt*Math.PI/180,Ct=pt*$.nbb,yt=100*Math.pow(Ct/$.aw,$.c*$.z),Et=4/$.c*Math.sqrt(yt/100)*($.aw+4)*$.fLRoot,kt=mt<20.14?mt+360:mt,$t=1/4*(Math.cos(kt*Math.PI/180+2)+3.8),Rt=5e4/13*$t*$.nc*$.ncb*Math.sqrt(ct*ct+ut*ut)/(lt+.305),Pt=Math.pow(Rt,.9)*Math.pow(1.64-Math.pow(.29,$.n),.73),wt=Pt*Math.sqrt(yt/100),vt=wt*$.fLRoot,bt=50*Math.sqrt(Pt*$.c/($.aw+4)),Tt=(1+100*.007)*yt/(1+.007*yt),Mt=Math.log(1+.0228*vt)/.0228,Ot=Mt*Math.cos(xt),Nt=Mt*Math.sin(xt);return new Cam16(mt,wt,yt,Et,vt,bt,Tt,Ot,Nt)}xyzInViewingConditions(s){const i=this.chroma===0||this.j===0?0:this.chroma/Math.sqrt(this.j/100),a=Math.pow(i/Math.pow(1.64-Math.pow(.29,s.n),.73),1/.9),$=this.hue*Math.PI/180,j=.25*(Math.cos($+2)+3.8),_e=s.aw*Math.pow(this.j/100,1/s.c/s.z),et=j*(5e4/13)*s.nc*s.ncb,tt=_e/s.nbb,rt=Math.sin($),nt=Math.cos($),ot=23*(tt+.305)*a/(23*et+11*a*nt+108*a*rt),st=ot*nt,dt=ot*rt,at=(460*tt+451*st+288*dt)/1403,it=(460*tt-891*st-261*dt)/1403,ft=(460*tt-220*st-6300*dt)/1403,ct=Math.max(0,27.13*Math.abs(at)/(400-Math.abs(at))),ut=signum(at)*(100/s.fl)*Math.pow(ct,1/.42),lt=Math.max(0,27.13*Math.abs(it)/(400-Math.abs(it))),pt=signum(it)*(100/s.fl)*Math.pow(lt,1/.42),ht=Math.max(0,27.13*Math.abs(ft)/(400-Math.abs(ft))),gt=signum(ft)*(100/s.fl)*Math.pow(ht,1/.42),mt=ut/s.rgbD[0],xt=pt/s.rgbD[1],Ct=gt/s.rgbD[2],yt=1.86206786*mt-1.01125463*xt+.14918677*Ct,Et=.38752654*mt+.62144744*xt-.00897398*Ct,kt=-.0158415*mt-.03412294*xt+1.04996444*Ct;return[yt,Et,kt]}}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class HctSolver{static sanitizeRadians(s){return(s+Math.PI*8)%(Math.PI*2)}static trueDelinearized(s){const i=s/100;let a=0;return i<=.0031308?a=i*12.92:a=1.055*Math.pow(i,1/2.4)-.055,a*255}static chromaticAdaptation(s){const i=Math.pow(Math.abs(s),.42);return signum(s)*400*i/(i+27.13)}static hueOf(s){const i=matrixMultiply(s,HctSolver.SCALED_DISCOUNT_FROM_LINRGB),a=HctSolver.chromaticAdaptation(i[0]),$=HctSolver.chromaticAdaptation(i[1]),j=HctSolver.chromaticAdaptation(i[2]),_e=(11*a+-12*$+j)/11,et=(a+$-2*j)/9;return Math.atan2(et,_e)}static areInCyclicOrder(s,i,a){const $=HctSolver.sanitizeRadians(i-s),j=HctSolver.sanitizeRadians(a-s);return $100.01||yt[1]>100.01||yt[2]>100.01?0:argbFromLinrgb(yt);$=$-(St-a)*$/(2*St)}return 0}static solveToInt(s,i,a){if(i<1e-4||a<1e-4||a>99.9999)return argbFromLstar(a);s=sanitizeDegreesDouble(s);const $=s/180*Math.PI,j=yFromLstar(a),_e=HctSolver.findResultByJ($,i,j);if(_e!==0)return _e;const et=HctSolver.bisectToLimit(j,$);return argbFromLinrgb(et)}static solveToCam(s,i,a){return Cam16.fromInt(HctSolver.solveToInt(s,i,a))}}HctSolver.SCALED_DISCOUNT_FROM_LINRGB=[[.001200833568784504,.002389694492170889,.0002795742885861124],[.0005891086651375999,.0029785502573438758,.0003270666104008398],[.00010146692491640572,.0005364214359186694,.0032979401770712076]];HctSolver.LINRGB_FROM_SCALED_DISCOUNT=[[1373.2198709594231,-1100.4251190754821,-7.278681089101213],[-271.815969077903,559.6580465940733,-32.46047482791194],[1.9622899599665666,-57.173814538844006,308.7233197812385]];HctSolver.Y_FROM_LINRGB=[.2126,.7152,.0722];HctSolver.CRITICAL_PLANES=[.015176349177441876,.045529047532325624,.07588174588720938,.10623444424209313,.13658714259697685,.16693984095186062,.19729253930674434,.2276452376616281,.2579979360165119,.28835063437139563,.3188300904430532,.350925934958123,.3848314933096426,.42057480301049466,.458183274052838,.4976837250274023,.5391024159806381,.5824650784040898,.6277969426914107,.6751227633498623,.7244668422128921,.775853049866786,.829304845476233,.8848452951698498,.942497089126609,1.0022825574869039,1.0642236851973577,1.1283421258858297,1.1946592148522128,1.2631959812511864,1.3339731595349034,1.407011200216447,1.4823302800086415,1.5599503113873272,1.6398909516233677,1.7221716113234105,1.8068114625156377,1.8938294463134073,1.9832442801866852,2.075074464868551,2.1693382909216234,2.2660538449872063,2.36523901573795,2.4669114995532007,2.5710888059345764,2.6777882626779785,2.7870270208169257,2.898822059350997,3.0131901897720907,3.1301480604002863,3.2497121605402226,3.3718988244681087,3.4967242352587946,3.624204428461639,3.754355295633311,3.887192587735158,4.022731918402185,4.160988767090289,4.301978482107941,4.445716283538092,4.592217266055746,4.741496401646282,4.893568542229298,5.048448422192488,5.20615066083972,5.3666897647573375,5.5300801301023865,5.696336044816294,5.865471690767354,6.037501145825082,6.212438385869475,6.390297286737924,6.571091626112461,6.7548350853498045,6.941541251256611,7.131223617812143,7.323895587840543,7.5195704746346665,7.7182615035334345,7.919981813454504,8.124744458384042,8.332562408825165,8.543448553206703,8.757415699253682,8.974476575321063,9.194643831691977,9.417930041841839,9.644347703669503,9.873909240696694,10.106627003236781,10.342513269534024,10.58158024687427,10.8238400726681,11.069304815507364,11.317986476196008,11.569896988756009,11.825048221409341,12.083451977536606,12.345119996613247,12.610063955123938,12.878295467455942,13.149826086772048,13.42466730586372,13.702830557985108,13.984327217668513,14.269168601521828,14.55736596900856,14.848930523210871,15.143873411576273,15.44220572664832,15.743938506781891,16.04908273684337,16.35764934889634,16.66964922287304,16.985093187232053,17.30399201960269,17.62635644741625,17.95219714852476,18.281524751807332,18.614349837764564,18.95068293910138,19.290534541298456,19.633915083172692,19.98083495742689,20.331304511189067,20.685334046541502,21.042933821039977,21.404114048223256,21.76888489811322,22.137256497705877,22.50923893145328,22.884842241736916,23.264076429332462,23.6469514538663,24.033477234264016,24.42366364919083,24.817520537484558,25.21505769858089,25.61628489293138,26.021211842414342,26.429848230738664,26.842203703840827,27.258287870275353,27.678110301598522,28.10168053274597,28.529008062403893,28.96010235337422,29.39497283293396,29.83362889318845,30.276079891419332,30.722335150426627,31.172403958865512,31.62629557157785,32.08401920991837,32.54558406207592,33.010999283389665,33.4802739966603,33.953417292456834,34.430438229418264,34.911345834551085,35.39614910352207,35.88485700094671,36.37747846067349,36.87402238606382,37.37449765026789,37.87891309649659,38.38727753828926,38.89959975977785,39.41588851594697,39.93615253289054,40.460400508064545,40.98864111053629,41.520882981230194,42.05713473317016,42.597404951718396,43.141702194811224,43.6900349931913,44.24241185063697,44.798841244188324,45.35933162437017,45.92389141541209,46.49252901546552,47.065252796817916,47.64207110610409,48.22299226451468,48.808024568002054,49.3971762874833,49.9904556690408,50.587870934119984,51.189430279724725,51.79514187861014,52.40501387947288,53.0190544071392,53.637271562750364,54.259673423945976,54.88626804504493,55.517063457223934,56.15206766869424,56.79128866487574,57.43473440856916,58.08241284012621,58.734331877617365,59.39049941699807,60.05092333227251,60.715611475655585,61.38457167773311,62.057811747619894,62.7353394731159,63.417162620860914,64.10328893648692,64.79372614476921,65.48848194977529,66.18756403501224,66.89098006357258,67.59873767827808,68.31084450182222,69.02730813691093,69.74813616640164,70.47333615344107,71.20291564160104,71.93688215501312,72.67524319850172,73.41800625771542,74.16517879925733,74.9167682708136,75.67278210128072,76.43322770089146,77.1981124613393,77.96744375590167,78.74122893956174,79.51947534912904,80.30219030335869,81.08938110306934,81.88105503125999,82.67721935322541,83.4778813166706,84.28304815182372,85.09272707154808,85.90692527145302,86.72564993000343,87.54890820862819,88.3767072518277,89.2090541872801,90.04595612594655,90.88742016217518,91.73345337380438,92.58406282226491,93.43925555268066,94.29903859396902,95.16341895893969,96.03240364439274,96.9059996312159,97.78421388448044,98.6670533535366,99.55452497210776];/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Hct{static from(s,i,a){return new Hct(HctSolver.solveToInt(s,i,a))}static fromInt(s){return new Hct(s)}toInt(){return this.argb}get hue(){return this.internalHue}set hue(s){this.setInternalState(HctSolver.solveToInt(s,this.internalChroma,this.internalTone))}get chroma(){return this.internalChroma}set chroma(s){this.setInternalState(HctSolver.solveToInt(this.internalHue,s,this.internalTone))}get tone(){return this.internalTone}set tone(s){this.setInternalState(HctSolver.solveToInt(this.internalHue,this.internalChroma,s))}constructor(s){this.argb=s;const i=Cam16.fromInt(s);this.internalHue=i.hue,this.internalChroma=i.chroma,this.internalTone=lstarFromArgb(s),this.argb=s}setInternalState(s){const i=Cam16.fromInt(s);this.internalHue=i.hue,this.internalChroma=i.chroma,this.internalTone=lstarFromArgb(s),this.argb=s}inViewingConditions(s){const a=Cam16.fromInt(this.toInt()).xyzInViewingConditions(s),$=Cam16.fromXyzInViewingConditions(a[0],a[1],a[2],ViewingConditions.make());return Hct.from($.hue,$.chroma,lstarFromY(a[1]))}}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Blend{static harmonize(s,i){const a=Hct.fromInt(s),$=Hct.fromInt(i),j=differenceDegrees(a.hue,$.hue),_e=Math.min(j*.5,15),et=sanitizeDegreesDouble(a.hue+_e*rotationDirection(a.hue,$.hue));return Hct.from(et,a.chroma,a.tone).toInt()}static hctHue(s,i,a){const $=Blend.cam16Ucs(s,i,a),j=Cam16.fromInt($),_e=Cam16.fromInt(s);return Hct.from(j.hue,_e.chroma,lstarFromArgb(s)).toInt()}static cam16Ucs(s,i,a){const $=Cam16.fromInt(s),j=Cam16.fromInt(i),_e=$.jstar,et=$.astar,tt=$.bstar,rt=j.jstar,nt=j.astar,ot=j.bstar,st=_e+(rt-_e)*a,dt=et+(nt-et)*a,at=tt+(ot-tt)*a;return Cam16.fromUcs(st,dt,at).toInt()}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class Contrast{static ratioOfTones(s,i){return s=clampDouble(0,100,s),i=clampDouble(0,100,i),Contrast.ratioOfYs(yFromLstar(s),yFromLstar(i))}static ratioOfYs(s,i){const a=s>i?s:i,$=a===i?s:i;return(a+5)/($+5)}static lighter(s,i){if(s<0||s>100)return-1;const a=yFromLstar(s),$=i*(a+5)-5,j=Contrast.ratioOfYs($,a),_e=Math.abs(j-i);if(j.04)return-1;const et=lstarFromY($)+.4;return et<0||et>100?-1:et}static darker(s,i){if(s<0||s>100)return-1;const a=yFromLstar(s),$=(a+5)/i-5,j=Contrast.ratioOfYs(a,$),_e=Math.abs(j-i);if(j.04)return-1;const et=lstarFromY($)-.4;return et<0||et>100?-1:et}static lighterUnsafe(s,i){const a=Contrast.lighter(s,i);return a<0?100:a}static darkerUnsafe(s,i){const a=Contrast.darker(s,i);return a<0?0:a}}/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class DislikeAnalyzer{static isDisliked(s){const i=Math.round(s.hue)>=90&&Math.round(s.hue)<=111,a=Math.round(s.chroma)>16,$=Math.round(s.tone)<65;return i&&a&&$}static fixIfDisliked(s){return DislikeAnalyzer.isDisliked(s)?Hct.from(s.hue,s.chroma,70):s}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class DynamicColor{static fromPalette(s){return new DynamicColor(s.name??"",s.palette,s.tone,s.isBackground??!1,s.background,s.secondBackground,s.contrastCurve,s.toneDeltaPair)}constructor(s,i,a,$,j,_e,et,tt){if(this.name=s,this.palette=i,this.tone=a,this.isBackground=$,this.background=j,this.secondBackground=_e,this.contrastCurve=et,this.toneDeltaPair=tt,this.hctCache=new Map,!j&&_e)throw new Error(`Color ${s} has secondBackgrounddefined, but background is not defined.`);if(!j&&et)throw new Error(`Color ${s} has contrastCurvedefined, but background is not defined.`);if(j&&!et)throw new Error(`Color ${s} has backgrounddefined, but contrastCurve is not defined.`)}getArgb(s){return this.getHct(s).toInt()}getHct(s){const i=this.hctCache.get(s);if(i!=null)return i;const a=this.getTone(s),$=this.palette(s).getHct(a);return this.hctCache.size>4&&this.hctCache.clear(),this.hctCache.set(s,$),$}getTone(s){const i=s.contrastLevel<0;if(this.toneDeltaPair){const a=this.toneDeltaPair(s),$=a.roleA,j=a.roleB,_e=a.delta,et=a.polarity,tt=a.stayTogether,nt=this.background(s).getTone(s),ot=et==="nearer"||et==="lighter"&&!s.isDark||et==="darker"&&s.isDark,st=ot?$:j,dt=ot?j:$,at=this.name===st.name,it=s.isDark?1:-1,ft=st.contrastCurve.getContrast(s.contrastLevel),ct=dt.contrastCurve.getContrast(s.contrastLevel),ut=st.tone(s);let lt=Contrast.ratioOfTones(nt,ut)>=ft?ut:DynamicColor.foregroundTone(nt,ft);const pt=dt.tone(s);let ht=Contrast.ratioOfTones(nt,pt)>=ct?pt:DynamicColor.foregroundTone(nt,ct);return i&&(lt=DynamicColor.foregroundTone(nt,ft),ht=DynamicColor.foregroundTone(nt,ct)),(ht-lt)*it>=_e||(ht=clampDouble(0,100,lt+_e*it),(ht-lt)*it>=_e||(lt=clampDouble(0,100,ht-_e*it))),50<=lt&<<60?it>0?(lt=60,ht=Math.max(ht,lt+_e*it)):(lt=49,ht=Math.min(ht,lt+_e*it)):50<=ht&&ht<60&&(tt?it>0?(lt=60,ht=Math.max(ht,lt+_e*it)):(lt=49,ht=Math.min(ht,lt+_e*it)):it>0?ht=60:ht=49),at?lt:ht}else{let a=this.tone(s);if(this.background==null)return a;const $=this.background(s).getTone(s),j=this.contrastCurve.getContrast(s.contrastLevel);if(Contrast.ratioOfTones($,a)>=j||(a=DynamicColor.foregroundTone($,j)),i&&(a=DynamicColor.foregroundTone($,j)),this.isBackground&&50<=a&&a<60&&(Contrast.ratioOfTones(49,$)>=j?a=49:a=60),this.secondBackground){const[_e,et]=[this.background,this.secondBackground],[tt,rt]=[_e(s).getTone(s),et(s).getTone(s)],[nt,ot]=[Math.max(tt,rt),Math.min(tt,rt)];if(Contrast.ratioOfTones(nt,a)>=j&&Contrast.ratioOfTones(ot,a)>=j)return a;const st=Contrast.lighter(nt,j),dt=Contrast.darker(ot,j),at=[];return st!==-1&&at.push(st),dt!==-1&&at.push(dt),DynamicColor.tonePrefersLightForeground(tt)||DynamicColor.tonePrefersLightForeground(rt)?st<0?100:st:at.length===1?at[0]:dt<0?0:dt}return a}}static foregroundTone(s,i){const a=Contrast.lighterUnsafe(s,i),$=Contrast.darkerUnsafe(s,i),j=Contrast.ratioOfTones(a,s),_e=Contrast.ratioOfTones($,s);if(DynamicColor.tonePrefersLightForeground(s)){const tt=Math.abs(j-_e)<.1&&j=i||j>=_e||tt?a:$}else return _e>=i||_e>=j?$:a}static tonePrefersLightForeground(s){return Math.round(s)<60}static toneAllowsLightForeground(s){return Math.round(s)<=49}static enableLightForeground(s){return DynamicColor.tonePrefersLightForeground(s)&&!DynamicColor.toneAllowsLightForeground(s)?49:s}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */var Variant;(function(o){o[o.MONOCHROME=0]="MONOCHROME",o[o.NEUTRAL=1]="NEUTRAL",o[o.TONAL_SPOT=2]="TONAL_SPOT",o[o.VIBRANT=3]="VIBRANT",o[o.EXPRESSIVE=4]="EXPRESSIVE",o[o.FIDELITY=5]="FIDELITY",o[o.CONTENT=6]="CONTENT",o[o.RAINBOW=7]="RAINBOW",o[o.FRUIT_SALAD=8]="FRUIT_SALAD"})(Variant||(Variant={}));/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class ContrastCurve{constructor(s,i,a,$){this.low=s,this.normal=i,this.medium=a,this.high=$}getContrast(s){return s<=-1?this.low:s<0?lerp(this.low,this.normal,(s- -1)/1):s<.5?lerp(this.normal,this.medium,(s-0)/.5):s<1?lerp(this.medium,this.high,(s-.5)/.5):this.high}}/** + * @license + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class ToneDeltaPair{constructor(s,i,a,$,j){this.roleA=s,this.roleB=i,this.delta=a,this.polarity=$,this.stayTogether=j}}/** + * @license + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function isFidelity(o){return o.variant===Variant.FIDELITY||o.variant===Variant.CONTENT}function isMonochrome(o){return o.variant===Variant.MONOCHROME}function findDesiredChromaByTone(o,s,i,a){let $=i,j=Hct.from(o,s,i);if(j.chromaet.chroma||Math.abs(et.chroma-s)<.4)break;const tt=Math.abs(et.chroma-s),rt=Math.abs(j.chroma-s);tto.primaryPalette,tone:o=>o.primaryPalette.keyColor.tone});MaterialDynamicColors.secondaryPaletteKeyColor=DynamicColor.fromPalette({name:"secondary_palette_key_color",palette:o=>o.secondaryPalette,tone:o=>o.secondaryPalette.keyColor.tone});MaterialDynamicColors.tertiaryPaletteKeyColor=DynamicColor.fromPalette({name:"tertiary_palette_key_color",palette:o=>o.tertiaryPalette,tone:o=>o.tertiaryPalette.keyColor.tone});MaterialDynamicColors.neutralPaletteKeyColor=DynamicColor.fromPalette({name:"neutral_palette_key_color",palette:o=>o.neutralPalette,tone:o=>o.neutralPalette.keyColor.tone});MaterialDynamicColors.neutralVariantPaletteKeyColor=DynamicColor.fromPalette({name:"neutral_variant_palette_key_color",palette:o=>o.neutralVariantPalette,tone:o=>o.neutralVariantPalette.keyColor.tone});MaterialDynamicColors.background=DynamicColor.fromPalette({name:"background",palette:o=>o.neutralPalette,tone:o=>o.isDark?6:98,isBackground:!0});MaterialDynamicColors.onBackground=DynamicColor.fromPalette({name:"on_background",palette:o=>o.neutralPalette,tone:o=>o.isDark?90:10,background:o=>MaterialDynamicColors.background,contrastCurve:new ContrastCurve(3,3,4.5,7)});MaterialDynamicColors.surface=DynamicColor.fromPalette({name:"surface",palette:o=>o.neutralPalette,tone:o=>o.isDark?6:98,isBackground:!0});MaterialDynamicColors.surfaceDim=DynamicColor.fromPalette({name:"surface_dim",palette:o=>o.neutralPalette,tone:o=>o.isDark?6:87,isBackground:!0});MaterialDynamicColors.surfaceBright=DynamicColor.fromPalette({name:"surface_bright",palette:o=>o.neutralPalette,tone:o=>o.isDark?24:98,isBackground:!0});MaterialDynamicColors.surfaceContainerLowest=DynamicColor.fromPalette({name:"surface_container_lowest",palette:o=>o.neutralPalette,tone:o=>o.isDark?4:100,isBackground:!0});MaterialDynamicColors.surfaceContainerLow=DynamicColor.fromPalette({name:"surface_container_low",palette:o=>o.neutralPalette,tone:o=>o.isDark?10:96,isBackground:!0});MaterialDynamicColors.surfaceContainer=DynamicColor.fromPalette({name:"surface_container",palette:o=>o.neutralPalette,tone:o=>o.isDark?12:94,isBackground:!0});MaterialDynamicColors.surfaceContainerHigh=DynamicColor.fromPalette({name:"surface_container_high",palette:o=>o.neutralPalette,tone:o=>o.isDark?17:92,isBackground:!0});MaterialDynamicColors.surfaceContainerHighest=DynamicColor.fromPalette({name:"surface_container_highest",palette:o=>o.neutralPalette,tone:o=>o.isDark?22:90,isBackground:!0});MaterialDynamicColors.onSurface=DynamicColor.fromPalette({name:"on_surface",palette:o=>o.neutralPalette,tone:o=>o.isDark?90:10,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.surfaceVariant=DynamicColor.fromPalette({name:"surface_variant",palette:o=>o.neutralVariantPalette,tone:o=>o.isDark?30:90,isBackground:!0});MaterialDynamicColors.onSurfaceVariant=DynamicColor.fromPalette({name:"on_surface_variant",palette:o=>o.neutralVariantPalette,tone:o=>o.isDark?80:30,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(3,4.5,7,11)});MaterialDynamicColors.inverseSurface=DynamicColor.fromPalette({name:"inverse_surface",palette:o=>o.neutralPalette,tone:o=>o.isDark?90:20});MaterialDynamicColors.inverseOnSurface=DynamicColor.fromPalette({name:"inverse_on_surface",palette:o=>o.neutralPalette,tone:o=>o.isDark?20:95,background:o=>MaterialDynamicColors.inverseSurface,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.outline=DynamicColor.fromPalette({name:"outline",palette:o=>o.neutralVariantPalette,tone:o=>o.isDark?60:50,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1.5,3,4.5,7)});MaterialDynamicColors.outlineVariant=DynamicColor.fromPalette({name:"outline_variant",palette:o=>o.neutralVariantPalette,tone:o=>o.isDark?30:80,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7)});MaterialDynamicColors.shadow=DynamicColor.fromPalette({name:"shadow",palette:o=>o.neutralPalette,tone:o=>0});MaterialDynamicColors.scrim=DynamicColor.fromPalette({name:"scrim",palette:o=>o.neutralPalette,tone:o=>0});MaterialDynamicColors.surfaceTint=DynamicColor.fromPalette({name:"surface_tint",palette:o=>o.primaryPalette,tone:o=>o.isDark?80:40,isBackground:!0});MaterialDynamicColors.primary=DynamicColor.fromPalette({name:"primary",palette:o=>o.primaryPalette,tone:o=>isMonochrome(o)?o.isDark?100:0:o.isDark?80:40,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(3,4.5,7,11),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.primaryContainer,MaterialDynamicColors.primary,15,"nearer",!1)});MaterialDynamicColors.onPrimary=DynamicColor.fromPalette({name:"on_primary",palette:o=>o.primaryPalette,tone:o=>isMonochrome(o)?o.isDark?10:90:o.isDark?20:100,background:o=>MaterialDynamicColors.primary,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.primaryContainer=DynamicColor.fromPalette({name:"primary_container",palette:o=>o.primaryPalette,tone:o=>isFidelity(o)?performAlbers(o.sourceColorHct,o):isMonochrome(o)?o.isDark?85:25:o.isDark?30:90,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.primaryContainer,MaterialDynamicColors.primary,15,"nearer",!1)});MaterialDynamicColors.onPrimaryContainer=DynamicColor.fromPalette({name:"on_primary_container",palette:o=>o.primaryPalette,tone:o=>isFidelity(o)?DynamicColor.foregroundTone(MaterialDynamicColors.primaryContainer.tone(o),4.5):isMonochrome(o)?o.isDark?0:100:o.isDark?90:10,background:o=>MaterialDynamicColors.primaryContainer,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.inversePrimary=DynamicColor.fromPalette({name:"inverse_primary",palette:o=>o.primaryPalette,tone:o=>o.isDark?40:80,background:o=>MaterialDynamicColors.inverseSurface,contrastCurve:new ContrastCurve(3,4.5,7,11)});MaterialDynamicColors.secondary=DynamicColor.fromPalette({name:"secondary",palette:o=>o.secondaryPalette,tone:o=>o.isDark?80:40,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(3,4.5,7,11),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.secondaryContainer,MaterialDynamicColors.secondary,15,"nearer",!1)});MaterialDynamicColors.onSecondary=DynamicColor.fromPalette({name:"on_secondary",palette:o=>o.secondaryPalette,tone:o=>isMonochrome(o)?o.isDark?10:100:o.isDark?20:100,background:o=>MaterialDynamicColors.secondary,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.secondaryContainer=DynamicColor.fromPalette({name:"secondary_container",palette:o=>o.secondaryPalette,tone:o=>{const s=o.isDark?30:90;if(isMonochrome(o))return o.isDark?30:85;if(!isFidelity(o))return s;let i=findDesiredChromaByTone(o.secondaryPalette.hue,o.secondaryPalette.chroma,s,!o.isDark);return i=performAlbers(o.secondaryPalette.getHct(i),o),i},isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.secondaryContainer,MaterialDynamicColors.secondary,15,"nearer",!1)});MaterialDynamicColors.onSecondaryContainer=DynamicColor.fromPalette({name:"on_secondary_container",palette:o=>o.secondaryPalette,tone:o=>isFidelity(o)?DynamicColor.foregroundTone(MaterialDynamicColors.secondaryContainer.tone(o),4.5):o.isDark?90:10,background:o=>MaterialDynamicColors.secondaryContainer,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.tertiary=DynamicColor.fromPalette({name:"tertiary",palette:o=>o.tertiaryPalette,tone:o=>isMonochrome(o)?o.isDark?90:25:o.isDark?80:40,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(3,4.5,7,11),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.tertiaryContainer,MaterialDynamicColors.tertiary,15,"nearer",!1)});MaterialDynamicColors.onTertiary=DynamicColor.fromPalette({name:"on_tertiary",palette:o=>o.tertiaryPalette,tone:o=>isMonochrome(o)?o.isDark?10:90:o.isDark?20:100,background:o=>MaterialDynamicColors.tertiary,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.tertiaryContainer=DynamicColor.fromPalette({name:"tertiary_container",palette:o=>o.tertiaryPalette,tone:o=>{if(isMonochrome(o))return o.isDark?60:49;if(!isFidelity(o))return o.isDark?30:90;const s=performAlbers(o.tertiaryPalette.getHct(o.sourceColorHct.tone),o),i=o.tertiaryPalette.getHct(s);return DislikeAnalyzer.fixIfDisliked(i).tone},isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.tertiaryContainer,MaterialDynamicColors.tertiary,15,"nearer",!1)});MaterialDynamicColors.onTertiaryContainer=DynamicColor.fromPalette({name:"on_tertiary_container",palette:o=>o.tertiaryPalette,tone:o=>isMonochrome(o)?o.isDark?0:100:isFidelity(o)?DynamicColor.foregroundTone(MaterialDynamicColors.tertiaryContainer.tone(o),4.5):o.isDark?90:10,background:o=>MaterialDynamicColors.tertiaryContainer,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.error=DynamicColor.fromPalette({name:"error",palette:o=>o.errorPalette,tone:o=>o.isDark?80:40,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(3,4.5,7,11),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.errorContainer,MaterialDynamicColors.error,15,"nearer",!1)});MaterialDynamicColors.onError=DynamicColor.fromPalette({name:"on_error",palette:o=>o.errorPalette,tone:o=>o.isDark?20:100,background:o=>MaterialDynamicColors.error,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.errorContainer=DynamicColor.fromPalette({name:"error_container",palette:o=>o.errorPalette,tone:o=>o.isDark?30:90,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.errorContainer,MaterialDynamicColors.error,15,"nearer",!1)});MaterialDynamicColors.onErrorContainer=DynamicColor.fromPalette({name:"on_error_container",palette:o=>o.errorPalette,tone:o=>o.isDark?90:10,background:o=>MaterialDynamicColors.errorContainer,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.primaryFixed=DynamicColor.fromPalette({name:"primary_fixed",palette:o=>o.primaryPalette,tone:o=>isMonochrome(o)?40:90,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.primaryFixed,MaterialDynamicColors.primaryFixedDim,10,"lighter",!0)});MaterialDynamicColors.primaryFixedDim=DynamicColor.fromPalette({name:"primary_fixed_dim",palette:o=>o.primaryPalette,tone:o=>isMonochrome(o)?30:80,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.primaryFixed,MaterialDynamicColors.primaryFixedDim,10,"lighter",!0)});MaterialDynamicColors.onPrimaryFixed=DynamicColor.fromPalette({name:"on_primary_fixed",palette:o=>o.primaryPalette,tone:o=>isMonochrome(o)?100:10,background:o=>MaterialDynamicColors.primaryFixedDim,secondBackground:o=>MaterialDynamicColors.primaryFixed,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.onPrimaryFixedVariant=DynamicColor.fromPalette({name:"on_primary_fixed_variant",palette:o=>o.primaryPalette,tone:o=>isMonochrome(o)?90:30,background:o=>MaterialDynamicColors.primaryFixedDim,secondBackground:o=>MaterialDynamicColors.primaryFixed,contrastCurve:new ContrastCurve(3,4.5,7,11)});MaterialDynamicColors.secondaryFixed=DynamicColor.fromPalette({name:"secondary_fixed",palette:o=>o.secondaryPalette,tone:o=>isMonochrome(o)?80:90,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.secondaryFixed,MaterialDynamicColors.secondaryFixedDim,10,"lighter",!0)});MaterialDynamicColors.secondaryFixedDim=DynamicColor.fromPalette({name:"secondary_fixed_dim",palette:o=>o.secondaryPalette,tone:o=>isMonochrome(o)?70:80,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.secondaryFixed,MaterialDynamicColors.secondaryFixedDim,10,"lighter",!0)});MaterialDynamicColors.onSecondaryFixed=DynamicColor.fromPalette({name:"on_secondary_fixed",palette:o=>o.secondaryPalette,tone:o=>10,background:o=>MaterialDynamicColors.secondaryFixedDim,secondBackground:o=>MaterialDynamicColors.secondaryFixed,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.onSecondaryFixedVariant=DynamicColor.fromPalette({name:"on_secondary_fixed_variant",palette:o=>o.secondaryPalette,tone:o=>isMonochrome(o)?25:30,background:o=>MaterialDynamicColors.secondaryFixedDim,secondBackground:o=>MaterialDynamicColors.secondaryFixed,contrastCurve:new ContrastCurve(3,4.5,7,11)});MaterialDynamicColors.tertiaryFixed=DynamicColor.fromPalette({name:"tertiary_fixed",palette:o=>o.tertiaryPalette,tone:o=>isMonochrome(o)?40:90,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.tertiaryFixed,MaterialDynamicColors.tertiaryFixedDim,10,"lighter",!0)});MaterialDynamicColors.tertiaryFixedDim=DynamicColor.fromPalette({name:"tertiary_fixed_dim",palette:o=>o.tertiaryPalette,tone:o=>isMonochrome(o)?30:80,isBackground:!0,background:o=>MaterialDynamicColors.highestSurface(o),contrastCurve:new ContrastCurve(1,1,3,7),toneDeltaPair:o=>new ToneDeltaPair(MaterialDynamicColors.tertiaryFixed,MaterialDynamicColors.tertiaryFixedDim,10,"lighter",!0)});MaterialDynamicColors.onTertiaryFixed=DynamicColor.fromPalette({name:"on_tertiary_fixed",palette:o=>o.tertiaryPalette,tone:o=>isMonochrome(o)?100:10,background:o=>MaterialDynamicColors.tertiaryFixedDim,secondBackground:o=>MaterialDynamicColors.tertiaryFixed,contrastCurve:new ContrastCurve(4.5,7,11,21)});MaterialDynamicColors.onTertiaryFixedVariant=DynamicColor.fromPalette({name:"on_tertiary_fixed_variant",palette:o=>o.tertiaryPalette,tone:o=>isMonochrome(o)?90:30,background:o=>MaterialDynamicColors.tertiaryFixedDim,secondBackground:o=>MaterialDynamicColors.tertiaryFixed,contrastCurve:new ContrastCurve(3,4.5,7,11)});/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */class TonalPalette{static fromInt(s){const i=Hct.fromInt(s);return TonalPalette.fromHct(i)}static fromHct(s){return new TonalPalette(s.hue,s.chroma,s)}static fromHueAndChroma(s,i){return new TonalPalette(s,i,TonalPalette.createKeyColor(s,i))}constructor(s,i,a){this.hue=s,this.chroma=i,this.keyColor=a,this.cache=new Map}static createKeyColor(s,i){let $=Hct.from(s,i,50),j=Math.abs($.chroma-i);for(let _e=1;_e<50;_e+=1){if(Math.round(i)===Math.round($.chroma))return $;const et=Hct.from(s,i,50+_e),tt=Math.abs(et.chroma-i);tt>>0}function parseIntHex(o){return parseInt(o,16)}/** + * @license + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */function themeFromSourceColor(o,s=[]){const i=CorePalette.of(o);return{source:o,schemes:{light:Scheme.light(o),dark:Scheme.dark(o)},palettes:{primary:i.a1,secondary:i.a2,tertiary:i.a3,neutral:i.n1,neutralVariant:i.n2,error:i.error},customColors:s.map(a=>customColor(o,a))}}function customColor(o,s){let i=s.value;const a=i,$=o;s.blend&&(i=Blend.harmonize(a,$));const _e=CorePalette.of(i).a1;return{color:s,value:i,light:{color:_e.tone(40),onColor:_e.tone(100),colorContainer:_e.tone(90),onColorContainer:_e.tone(10)},dark:{color:_e.tone(80),onColor:_e.tone(20),colorContainer:_e.tone(30),onColorContainer:_e.tone(90)}}}const TONAL_PALETTE_KEY="TonalPaletteKey",LEVELS=[0,4,6,10,12,17,20,22,24,30,40,50,60,70,80,87,90,92,94,95,96,98,99,100],useTonalPalette=()=>{const[o,s]=reactExports.useState(TonalPaletteDefault);return reactExports.useLayoutEffect(()=>{if(localStorage.getItem(TONAL_PALETTE_KEY)){const a=JSON.parse(localStorage.getItem(TONAL_PALETTE_KEY)||"{}");s(a)}},[]),[o,a=>{const $=argbFromHex(a),{palettes:j}=themeFromSourceColor($),_e={};for(const[et,tt]of Object.entries(j)){const rt={};for(const nt of LEVELS)rt[nt]=hexFromArgb(tt.tone(nt));_e[et]=rt}s(_e),localStorage.setItem(TONAL_PALETTE_KEY,JSON.stringify(_e))}]},getColorToken=(o,s,i,a)=>s[o=="light"?i:a],generateDesignTokens=(o,s)=>{const{primary:i,secondary:a,tertiary:$,neutral:j,neutralVariant:_e,error:et}=s,{customColors:tt}=themeFromSourceColor(argbFromHex(s.primary[40]),[{name:"info",value:argbFromHex("#0288d1"),blend:!0},{name:"success",value:argbFromHex("#2e7d32"),blend:!0},{name:"warning",value:argbFromHex("#f59e0b"),blend:!0}]);return{primary:getColorToken(o,i,40,80),onPrimary:getColorToken(o,i,100,20),primaryContainer:getColorToken(o,i,90,30),onPrimaryContainer:getColorToken(o,i,10,90),secondary:getColorToken(o,a,40,80),onSecondary:getColorToken(o,a,100,20),secondaryContainer:getColorToken(o,a,90,30),onSecondaryContainer:getColorToken(o,a,10,90),tertiary:getColorToken(o,$,40,80),onTertiary:getColorToken(o,$,100,20),tertiaryContainer:getColorToken(o,$,90,30),onTertiaryContainer:getColorToken(o,$,10,90),error:getColorToken(o,et,40,80),onError:getColorToken(o,et,100,20),errorContainer:getColorToken(o,et,90,30),onErrorContainer:getColorToken(o,et,10,90),primaryFixed:getColorToken(o,i,90,90),primaryFixedDim:getColorToken(o,i,80,80),onPrimaryFixed:getColorToken(o,i,10,10),onPrimaryFixedVariant:getColorToken(o,i,30,30),secondaryFixed:getColorToken(o,a,90,90),secondaryFixedDim:getColorToken(o,a,80,80),onSecondaryFixed:getColorToken(o,a,10,10),onSecondaryFixedVariant:getColorToken(o,a,30,30),tertiaryFixed:getColorToken(o,$,90,90),tertiaryFixedDim:getColorToken(o,$,80,80),onTertiaryFixed:getColorToken(o,$,10,10),onTertiaryFixedVariant:getColorToken(o,$,30,30),surface:getColorToken(o,j,98,6),onSurface:getColorToken(o,j,10,90),surfaceDim:getColorToken(o,j,87,6),surfaceBright:getColorToken(o,j,98,24),surfaceContainerLowest:getColorToken(o,j,100,4),surfaceContainerLow:getColorToken(o,j,96,10),surfaceContainer:getColorToken(o,j,94,12),surfaceContainerHigh:getColorToken(o,j,92,17),surfaceContainerHighest:getColorToken(o,j,90,22),surfaceVariant:getColorToken(o,_e,90,30),onSurfaceVariant:getColorToken(o,_e,30,80),outline:getColorToken(o,_e,50,60),outlineVariant:getColorToken(o,_e,80,30),inverseSurface:getColorToken(o,j,20,90),inverseOnSurface:getColorToken(o,j,95,20),inversePrimary:getColorToken(o,i,80,40),inverseOnPrimary:"",shadow:getColorToken(o,j,0,0),scrim:getColorToken(o,j,0,0),surfaceTintColor:getColorToken(o,i,40,80),background:getColorToken(o,j,98,6),onBackground:getColorToken(o,j,10,90),info:hexFromArgb(tt[0][o].color),onInfo:hexFromArgb(tt[0][o].onColor),infoContainer:hexFromArgb(tt[0][o].colorContainer),onInfoContainer:hexFromArgb(tt[0][o].onColorContainer),success:hexFromArgb(tt[1][o].color),onSuccess:hexFromArgb(tt[1][o].onColor),successContainer:hexFromArgb(tt[1][o].colorContainer),onSuccessContainer:hexFromArgb(tt[1][o].onColorContainer),warning:hexFromArgb(tt[2][o].color),onWarning:hexFromArgb(tt[2][o].onColor),warningContainer:hexFromArgb(tt[2][o].colorContainer),onWarningContainer:hexFromArgb(tt[2][o].onColorContainer)}},getMUIPalette=(o,s)=>{const i=s[o];return{palette:{themeMode:o,primary:{main:i.primary,contrastText:i.onPrimary},onPrimary:{main:i.onPrimary,contrastText:i.primary},primaryContainer:{main:i.primaryContainer,contrastText:i.onPrimaryContainer},onPrimaryContainer:{main:i.onPrimaryContainer,contrastText:i.primaryContainer},secondary:{main:i.secondary,contrastText:i.onSecondary},onSecondary:{main:i.onSecondary,contrastText:i.secondary},secondaryContainer:{main:i.secondaryContainer,contrastText:i.onSecondaryContainer},onSecondaryContainer:{main:i.onSecondaryContainer,contrastText:i.secondaryContainer},tertiary:{main:i.tertiary,contrastText:i.onTertiary},onTertiary:{main:i.onTertiary,contrastText:i.tertiary},tertiaryContainer:{main:i.tertiaryContainer,contrastText:i.onTertiaryContainer},onTertiaryContainer:{main:i.onTertiaryContainer,contrastText:i.tertiaryContainer},error:{main:i.error,contrastText:i.onError},onError:{main:i.onError,contrastText:i.error},errorContainer:{main:i.errorContainer,contrastText:i.onErrorContainer},onErrorContainer:{main:i.onErrorContainer,contrastText:i.errorContainer},primaryFixed:{main:i.primaryFixed},primaryFixedDim:{main:i.primaryFixedDim},onPrimaryFixed:{main:i.onPrimaryFixed},onPrimaryFixedVariant:{main:i.onPrimaryFixedVariant},secondaryFixed:{main:i.secondaryFixed},secondaryFixedDim:{main:i.secondaryFixedDim},onSecondaryFixed:{main:i.onSecondaryFixed},onSecondaryFixedVariant:{main:i.onSecondaryFixedVariant},tertiaryFixed:{main:i.tertiaryFixed},tertiaryFixedDim:{main:i.tertiaryFixedDim},onTertiaryFixed:{main:i.onTertiaryFixed},onTertiaryFixedVariant:{main:i.onTertiaryFixedVariant},surface:{main:i.surface,contrastText:i.onSurface},onSurface:{main:i.onSurface,contrastText:i.surface},surfaceDim:{main:i.surfaceDim},surfaceBright:{main:i.surfaceBright},surfaceContainerLowest:{main:i.surfaceContainerLowest},surfaceContainerLow:{main:i.surfaceContainerLow},surfaceContainer:{main:i.surfaceContainer},surfaceContainerHigh:{main:i.surfaceContainerHigh},surfaceContainerHighest:{main:i.surfaceContainerHighest},surfaceVariant:{main:i.surfaceVariant,contrastText:i.onSurfaceVariant},onSurfaceVariant:{main:i.onSurfaceVariant,contrastText:i.surfaceVariant},outline:{main:i.outline},outlineVariant:{main:i.outlineVariant},inversePrimary:{main:i.inversePrimary,contrastText:i.inverseOnPrimary},inverseOnPrimary:{main:i.inverseOnPrimary,contrastText:i.inversePrimary},inverseSurface:{main:i.inverseSurface,contrastText:i.inverseSurface},inverseOnSurface:{main:i.inverseOnSurface,contrastText:i.inverseSurface},shadow:{main:i.shadow},scrim:{main:i.scrim},surfaceTintColor:{main:i.surfaceTintColor},background:{default:i.surfaceContainer,paper:i.surface},onBackground:{main:i.onSurface},common:{white:i.background,black:i.onBackground},text:{primary:i.onSurface,secondary:i.onSecondaryContainer},info:{main:i.info,contrastText:i.onInfo},onInfo:{main:i.onInfo,contrastText:i.info},infoContainer:{main:i.infoContainer,contrastText:i.onInfoContainer},onInfoContainer:{main:i.onInfoContainer,contrastText:i.infoContainer},success:{main:i.success,contrastText:i.onSuccess},onSuccess:{main:i.onSuccess,contrastText:i.success},successContainer:{main:i.successContainer,contrastText:i.onSuccessContainer},onSuccessContainer:{main:i.onSuccessContainer,contrastText:i.successContainer},warning:{main:i.warning,contrastText:i.onWarning},onWarning:{main:i.onWarning,contrastText:i.warning},warningContainer:{main:i.warningContainer,contrastText:i.onWarningContainer},onWarningContainer:{main:i.onWarningContainer,contrastText:i.warningContainer},divider:i.outline},tones:s.tones}},getCssBaseline=o=>({MuiCssBaseline:{defaultProps:{enableColorScheme:!0},styleOverrides:{"*::-webkit-scrollbar":{display:"none"}}}}),getAlert=o=>{const{palette:s}=o;return{MuiAlert:{defaultProps:{variant:"standard"},styleOverrides:{root:{borderRadius:"20px"},standardError:{background:s.errorContainer.main,color:s.onErrorContainer.main},standardInfo:{background:s.infoContainer.main,color:s.infoContainer.contrastText},standardWarning:{background:s.warningContainer.main,color:s.onWarningContainer.main},standardSuccess:{background:s.successContainer.main,color:s.onSuccessContainer.main},filledError:{background:s.error.main,color:s.onError.main},filledInfo:{background:s.info.main,color:s.onInfo.main},filledWarning:{background:s.warning.main,color:s.onWarning.main},filledSuccess:{background:s.success.main,color:s.onSuccess.main},outlinedError:{color:s.error.main},outlinedInfo:{color:s.info.main},outlinedWarning:{color:s.warning.main},outlinedSuccess:{color:s.success.main}}}}},getAccordion=o=>{const{palette:s}=o;return{MuiAccordion:{styleOverrides:{root:{boxShadow:o.shadows[1],border:`0px solid ${s.outlineVariant.main}`,color:s.onBackground.main,backgroundColor:s.surfaceBright.main,"&:before":{backgroundColor:s.surfaceBright.main,display:"none"},"&.Mui-disabled":{backgroundColor:s.inverseOnSurface.main,color:s.inverseSurface.main,border:`0px solid ${s.outlineVariant.main}`},"& .MuiAccordionSummary-root > .MuiAccordionSummary-expandIconWrapper ":{color:s.onBackground.main}}}}}},getAppBar=o=>{const{palette:s}=o;return{MuiAppBar:{defaultProps:{elevation:0,color:"default"},styleOverrides:{colorDefault:{background:s.surfaceContainer.main,color:s.onSurface.main},colorPrimary:{background:s.surface.main,color:s.onSurface.main}}}}},getBadge=o=>{const{palette:s}=o;return{MuiBadge:{defaultProps:{color:"default"},variants:[{props:{color:"default"},style:{".MuiBadge-badge":{backgroundColor:s.error.main,color:s.onError.main}}}]}}},getButton=o=>{const{palette:s}=o;return{MuiButton:{styleOverrides:{root:{borderRadius:"30px",textTransform:"none",fontWeight:"bold","&:has(>svg)":{padding:"8px",borderRadius:"50%",minWidth:"1em",minHeight:"1em"}}},variants:[{props:{variant:"elevated"},style:{boxShadow:o.shadows[1],backgroundColor:s.surfaceContainerLow.main,color:s.primary.main,"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.surfaceContainerLow.main,s.primary.main),boxShadow:o.shadows[2]},"&:focus":{background:getStateLayerColor(StateLayer.Focus,s.surfaceContainerLow.main,s.primary.main)},"&:active":{background:getStateLayerColor(StateLayer.Press,s.surfaceContainerLow.main,s.primary.main)},"&.Mui-disabled":{backgroundColor:alpha(s.onSurface.main,.12),color:alpha(s.onSurface.main,.38),boxShadow:o.shadows[0]}}},{props:{variant:"filled"},style:{backgroundColor:s.primary.main,color:s.onPrimary.main,boxShadow:o.shadows[0],"&.Mui-disabled":{backgroundColor:alpha(s.onSurface.main,.12),color:alpha(s.onSurface.main,.38),boxShadow:o.shadows[0]},"&:hover":{backgroundColor:getStateLayerColor(StateLayer.Hover,s.primary.main,s.onPrimary.main),boxShadow:o.shadows[1]},"&:focus":{backgroundColor:getStateLayerColor(StateLayer.Focus,s.primary.main,s.onPrimary.main),boxShadow:o.shadows[0]},"&:active":{backgroundColor:getStateLayerColor(StateLayer.Press,s.primary.main,s.onPrimary.main),boxShadow:o.shadows[0]}}},{props:{variant:"tonal"},style:{backgroundColor:s.secondaryContainer.main,color:s.onSecondaryContainer.main,boxShadow:o.shadows[0],"&.Mui-disabled":{backgroundColor:alpha(s.onSurface.main,.12),color:alpha(s.onSurface.main,.38),boxShadow:o.shadows[0]},"&:hover":{backgroundColor:getStateLayerColor(StateLayer.Hover,s.secondaryContainer.main,s.onSecondaryContainer.main),boxShadow:o.shadows[1]},"&:focus":{backgroundColor:getStateLayerColor(StateLayer.Focus,s.secondaryContainer.main,s.onSecondaryContainer.main),boxShadow:o.shadows[0]},"&:active":{backgroundColor:getStateLayerColor(StateLayer.Press,s.secondaryContainer.main,s.onSecondaryContainer.main),boxShadow:o.shadows[0]}}},{props:{variant:"outlined"},style:{color:s.primary.main,borderColor:s.outline.main,borderWidth:"1px",boxShadow:o.shadows[0],"&.Mui-disabled":{borderColor:alpha(s.onSurface.main,.12),color:alpha(s.onSurface.main,.38)},"&:hover":{backgroundColor:getStateLayerColor(StateLayer.Hover,s.surface.main,s.primary.main),borderColor:getStateLayerColor(StateLayer.Hover,s.outline.main,s.primary.main)},"&:focus":{backgroundColor:getStateLayerColor(StateLayer.Focus,s.surface.main,s.primary.main),borderColor:getStateLayerColor(StateLayer.Focus,s.primary.main,s.primary.main)},"&:active":{backgroundColor:getStateLayerColor(StateLayer.Press,s.surface.main,s.primary.main),borderColor:getStateLayerColor(StateLayer.Press,s.outline.main,s.primary.main)}}},{props:{variant:"text"},style:{backgroundColor:"transparent",color:s.primary.main,boxShadow:o.shadows[0],padding:"5px 15px","&.Mui-disabled":{color:alpha(s.onSurface.main,.38)},"&:hover":{backgroundColor:getStateLayerColor(StateLayer.Hover,s.surface.main,s.primary.main)},"&:focus":{backgroundColor:getStateLayerColor(StateLayer.Focus,s.surface.main,s.primary.main)},"&:active":{backgroundColor:getStateLayerColor(StateLayer.Press,s.surface.main,s.primary.main)}}}]}}},getCard=o=>{const{palette:s}=o;return{MuiCard:{styleOverrides:{root:{borderRadius:"20px",padding:"10px 6px"}},variants:[{props:{variant:"elevation"},style:{boxShadow:o.shadows[1],backgroundColor:s.surfaceContainerLow.main,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.surfaceContainerLow.main,s.primary.main),boxShadow:o.shadows[2]},"&:focus":{boxShadow:o.shadows[1],background:getStateLayerColor(StateLayer.Focus,s.surfaceContainerLow.main,s.primary.main)},"&:active":{boxShadow:o.shadows[1],background:getStateLayerColor(StateLayer.Press,s.surfaceContainerLow.main,s.primary.main)},"&.Mui-disabled":{backgroundColor:alpha(s.surfaceContainerLow.main,.38),color:s.surfaceVariant.main,boxShadow:o.shadows[0]}}},{props:{variant:"filled"},style:{boxShadow:o.shadows[0],backgroundColor:s.surfaceContainerHighest.main,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.surfaceContainerHighest.main,s.primary.main),boxShadow:o.shadows[1]},"&:focus":{boxShadow:o.shadows[0],background:getStateLayerColor(StateLayer.Focus,s.surfaceContainerHighest.main,s.primary.main)},"&:active":{boxShadow:o.shadows[1],background:getStateLayerColor(StateLayer.Press,s.surfaceContainerHighest.main,s.primary.main)},"&.Mui-disabled":{backgroundColor:alpha(s.surfaceContainerHighest.main,.38),color:s.surfaceVariant.main,boxShadow:o.shadows[1]}}},{props:{variant:"outlined"},style:{boxShadow:o.shadows[0],backgroundColor:s.surface.main,borderColor:s.outline.main,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.surface.main,s.primary.main),boxShadow:o.shadows[1]},"&:focus":{boxShadow:o.shadows[0],background:getStateLayerColor(StateLayer.Focus,s.surface.main,s.primary.main)},"&:active":{boxShadow:o.shadows[2],background:getStateLayerColor(StateLayer.Press,s.surfaceContainerHighest.main,s.primary.main)},"&.Mui-disabled":{borderColor:alpha(s.surfaceContainerHighest.main,.12),boxShadow:o.shadows[0]}}}]}}},getDrawer=o=>{const{palette:s}=o;return{MuiDrawer:{styleOverrides:{paper:{border:"0px",background:s.surfaceContainer.main,color:s.onSurfaceVariant.main}}}}},getFab=o=>{const{palette:s}=o;return{MuiFab:{defaultProps:{color:"secondary"},styleOverrides:{root:{boxShadow:o.shadows[3],borderRadius:"18px"}},variants:[{props:{color:"primary"},style:{backgroundColor:s.primaryContainer.main,color:s.onPrimaryContainer.main,"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.primaryContainer.main,s.onPrimaryContainer.main),boxShadow:o.shadows[4]},"&:focus":{background:getStateLayerColor(StateLayer.Focus,s.primaryContainer.main,s.onPrimaryContainer.main),boxShadow:o.shadows[3]},"&:active":{background:getStateLayerColor(StateLayer.Press,s.primaryContainer.main,s.onPrimaryContainer.main),boxShadow:o.shadows[3]}}},{props:{color:"secondary"},style:{backgroundColor:s.secondaryContainer.main,color:s.onSecondaryContainer.main,"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.secondaryContainer.main,s.onSecondaryContainer.main),boxShadow:o.shadows[4]},"&:focus":{background:getStateLayerColor(StateLayer.Focus,s.secondaryContainer.main,s.onSecondaryContainer.main),boxShadow:o.shadows[3]},"&:active":{background:getStateLayerColor(StateLayer.Press,s.secondaryContainer.main,s.onSecondaryContainer.main),boxShadow:o.shadows[3]}}},{props:{color:"surface"},style:{backgroundColor:s.surfaceContainer.main,color:s.primary.main,"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.surfaceContainer.main,s.primary.main),boxShadow:o.shadows[4]},"&:focus":{background:getStateLayerColor(StateLayer.Focus,s.surfaceContainer.main,s.primary.main),boxShadow:o.shadows[3]},"&:active":{background:getStateLayerColor(StateLayer.Press,s.surfaceContainer.main,s.primary.main),boxShadow:o.shadows[3]}}},{props:{color:"tertiary"},style:{backgroundColor:s.tertiaryContainer.main,color:s.onTertiaryContainer.main,"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.tertiaryContainer.main,s.onTertiaryContainer.main),boxShadow:o.shadows[4]},"&:focus":{background:getStateLayerColor(StateLayer.Focus,s.tertiaryContainer.main,s.onTertiaryContainer.main),boxShadow:o.shadows[3]},"&:active":{background:getStateLayerColor(StateLayer.Press,s.tertiaryContainer.main,s.onTertiaryContainer.main),boxShadow:o.shadows[3]}}}]}}},getListItem=o=>({MuiListItem:{styleOverrides:{root:{paddingTop:1,paddingBottom:1,"& .MuiListItemButton-root":{paddingTop:8,paddingBottom:8}}}}}),getListItemButton=o=>{const{palette:s}=o;return{MuiListItemButton:{styleOverrides:{root:{borderRadius:50,color:s.onSurfaceVariant.main,"&:hover":{backgroundColor:getStateLayerColor(StateLayer.Hover,s.surfaceContainerLow.main,s.onSurface.main),color:getStateLayerColor(StateLayer.Hover,s.onSurfaceVariant.main,s.onSurface.main)},"&:active":{backgroundColor:getStateLayerColor(StateLayer.Press,s.surfaceContainerLow.main,s.onSecondaryContainer.main),color:getStateLayerColor(StateLayer.Press,s.onSurfaceVariant.main,s.onSurface.main)},"&.Mui-selected":{color:s.onSecondaryContainer.main,background:s.secondaryContainer.main,"& > .MuiListItemText-root > .MuiTypography-root":{fontWeight:"bold"},"&:hover":{backgroundColor:getStateLayerColor(StateLayer.Hover,s.secondaryContainer.main,s.onSecondaryContainer.main),color:getStateLayerColor(StateLayer.Hover,s.onSecondaryContainer.main,s.secondaryContainer.main)},"&:active":{backgroundColor:getStateLayerColor(StateLayer.Press,s.secondaryContainer.main,s.onSecondaryContainer.main),color:getStateLayerColor(StateLayer.Press,s.onSecondaryContainer.main,s.secondaryContainer.main)}}}}}}},getListItemIcon=o=>({MuiListItemIcon:{styleOverrides:{root:{color:"inherit",minWidth:32,"&.Mui-selected":{fontWeight:"bold"}}}}}),getMenu=o=>{const{palette:s}=o;return{MuiMenu:{defaultProps:{color:"default"},styleOverrides:{root:{},paper:{backgroundColor:s.surfaceContainerLow.main,boxShadow:o.shadows[3],color:s.onSurface.main}}}}},getSwitch=o=>{const{palette:s}=o;return{MuiSwitch:{styleOverrides:{root:{width:42,height:26,padding:0,marginLeft:12,marginRight:8,borderColor:s.outline.main,"& .MuiSwitch-switchBase":{padding:0,margin:7,transitionDuration:"100ms","&.Mui-checked":{transform:"translateX(16px)",margin:4,"& + .MuiSwitch-track":{backgroundColor:s.primary.main,opacity:1,border:0},"& .MuiSwitch-thumb":{color:s.onPrimary.main,width:18,height:18},"&.Mui-disabled + .MuiSwitch-track":{backgroundColor:alpha(s.onSurface.main,.1)},"&.Mui-disabled .MuiSwitch-thumb":{color:alpha(s.surface.main,.8)}},"&.Mui-focusVisible .MuiSwitch-thumb":{color:s.primary.main,border:`6px solid ${s.onPrimary.main}`},"&.Mui-disabled .MuiSwitch-thumb":{color:alpha(s.onSurface.main,.3)}},"& .MuiSwitch-thumb":{boxSizing:"border-box",color:s.outline.main,width:12,height:12,"&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},"& .MuiSwitch-track":{borderRadius:20,border:`2px solid ${s.outline.main}`,backgroundColor:s.surfaceContainerHighest.main,opacity:1,transition:"background .2s"}}}}}},getToggleButton=o=>{const{palette:s}=o;return{MuiToggleButton:{styleOverrides:{root:{borderRadius:"50px",textTransform:"none",color:s.onSurface.main,"&.Mui-selected":{color:s.onSecondaryContainer.main,backgroundColor:s.secondaryContainer.main},"&.MuiToggleButton-primary":{borderColor:"transparent"},"&.MuiToggleButton-primary.Mui-selected":{color:s.onPrimary.main,backgroundColor:s.primary.main}}}}}},getToggleButtonGroup=o=>{const{palette:s}=o;return{MuiToggleButtonGroup:{styleOverrides:{grouped:{borderRadius:"50px",borderColor:s.outline.main,"&:not(:first-of-type)":{marginLeft:0,borderLeft:0},"&:hover":{background:getStateLayerColor(StateLayer.Hover,s.surface.main,s.primary.main)},"&.Mui-selected:hover":{background:getStateLayerColor(StateLayer.Hover,s.secondaryContainer.main,s.onSecondaryContainer.main)}}}}}},getTooltip=o=>{const{palette:s}=o;return{MuiTooltip:{styleOverrides:{tooltip:{background:s.inverseSurface.main,color:s.inverseOnSurface.main}}}}},getMUIComponents=o=>({components:{...getCssBaseline(),...getAccordion(o),...getAlert(o),...getAppBar(o),...getBadge(o),...getButton(o),...getCard(o),...getDrawer(o),...getFab(o),...getListItem(),...getListItemButton(o),...getListItemIcon(),...getMenu(o),...getSwitch(o),...getToggleButton(o),...getToggleButtonGroup(o),...getTooltip(o)}});var StateLayer=(o=>(o[o.Hover=.08]="Hover",o[o.Focus=.12]="Focus",o[o.Press=.12]="Press",o[o.Drag=.16]="Drag",o))(StateLayer||{});const getStateLayerColor=(o,s,i)=>hexFromArgb(Blend.cam16Ucs(argbFromHex(s),argbFromHex(i),o)),ThemeModeContext=reactExports.createContext({themeMode:"light",toggleTheme:()=>{},setThemeMode:()=>{}}),ThemeModeProvider=({children:o})=>{const[s,i,a]=useThemeMode();return jsxRuntimeExports.jsx(ThemeModeContext.Provider,{value:{themeMode:s,toggleTheme:i,setThemeMode:a},children:o})},ThemeSchemeContext=reactExports.createContext({generateScheme:()=>{},themeScheme:ThemeSchemeDefault}),ThemeSchemeProvider=({children:o})=>{const[s,i]=useTonalPalette(),[a,$]=reactExports.useState(ThemeSchemeDefault);reactExports.useLayoutEffect(()=>{const _e=generateDesignTokens("light",s),et=generateDesignTokens("dark",s);$({light:_e,dark:et,tones:s})},[s]);const j=_e=>{i(_e)};return jsxRuntimeExports.jsx(ThemeSchemeContext.Provider,{value:{generateScheme:j,themeScheme:a},children:o})},M3Theme=({children:o})=>{const{themeMode:s}=reactExports.useContext(ThemeModeContext),{themeScheme:i}=reactExports.useContext(ThemeSchemeContext),a=reactExports.useMemo(()=>{const $=getMUIPalette(s,i);let j=createTheme($);return j=deepmerge(j,getMUIComponents(j)),j},[s,i]);return jsxRuntimeExports.jsxs(ThemeProvider,{theme:a,children:[jsxRuntimeExports.jsx(CssBaseline,{enableColorScheme:!0}),o]})},M3=({children:o})=>jsxRuntimeExports.jsx(ThemeModeProvider,{children:jsxRuntimeExports.jsx(ThemeSchemeProvider,{children:jsxRuntimeExports.jsx(M3Theme,{children:o})})});var MenuTwoTone={},_interopRequireDefault$5=interopRequireDefaultExports;Object.defineProperty(MenuTwoTone,"__esModule",{value:!0});var default_1$5=MenuTwoTone.default=void 0,_createSvgIcon$5=_interopRequireDefault$5(requireCreateSvgIcon()),_jsxRuntime$5=jsxRuntimeExports;default_1$5=MenuTwoTone.default=(0,_createSvgIcon$5.default)((0,_jsxRuntime$5.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"MenuTwoTone");var Shuffle={},_interopRequireDefault$4=interopRequireDefaultExports;Object.defineProperty(Shuffle,"__esModule",{value:!0});var default_1$4=Shuffle.default=void 0,_createSvgIcon$4=_interopRequireDefault$4(requireCreateSvgIcon()),_jsxRuntime$4=jsxRuntimeExports;default_1$4=Shuffle.default=(0,_createSvgIcon$4.default)((0,_jsxRuntime$4.jsx)("path",{d:"M10.59 9.17 5.41 4 4 5.41l5.17 5.17zM14.5 4l2.04 2.04L4 18.59 5.41 20 17.96 7.46 20 9.5V4zm.33 9.41-1.41 1.41 3.13 3.13L14.5 20H20v-5.5l-2.04 2.04z"}),"Shuffle");var DarkModeOutlined={},_interopRequireDefault$3=interopRequireDefaultExports;Object.defineProperty(DarkModeOutlined,"__esModule",{value:!0});var default_1$3=DarkModeOutlined.default=void 0,_createSvgIcon$3=_interopRequireDefault$3(requireCreateSvgIcon()),_jsxRuntime$3=jsxRuntimeExports;default_1$3=DarkModeOutlined.default=(0,_createSvgIcon$3.default)((0,_jsxRuntime$3.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");var LightModeOutlined={},_interopRequireDefault$2=interopRequireDefaultExports;Object.defineProperty(LightModeOutlined,"__esModule",{value:!0});var default_1$2=LightModeOutlined.default=void 0,_createSvgIcon$2=_interopRequireDefault$2(requireCreateSvgIcon()),_jsxRuntime$2=jsxRuntimeExports;default_1$2=LightModeOutlined.default=(0,_createSvgIcon$2.default)((0,_jsxRuntime$2.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");var RefreshOutlined={},_interopRequireDefault$1=interopRequireDefaultExports;Object.defineProperty(RefreshOutlined,"__esModule",{value:!0});var default_1$1=RefreshOutlined.default=void 0,_createSvgIcon$1=_interopRequireDefault$1(requireCreateSvgIcon()),_jsxRuntime$1=jsxRuntimeExports;default_1$1=RefreshOutlined.default=(0,_createSvgIcon$1.default)((0,_jsxRuntime$1.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"RefreshOutlined");var FileDownload={},_interopRequireDefault=interopRequireDefaultExports;Object.defineProperty(FileDownload,"__esModule",{value:!0});var default_1=FileDownload.default=void 0,_createSvgIcon=_interopRequireDefault(requireCreateSvgIcon()),_jsxRuntime=jsxRuntimeExports;default_1=FileDownload.default=(0,_createSvgIcon.default)((0,_jsxRuntime.jsx)("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"}),"FileDownload");const MainAppBar=({onDrawerToggle:o,window:s})=>{const{toggleTheme:i,themeMode:a,setThemeMode:$}=reactExports.useContext(ThemeModeContext),{generateScheme:j,themeScheme:_e}=reactExports.useContext(ThemeSchemeContext),et=useTheme(),tt=useLocation(),[rt,nt]=reactExports.useState(null),ot=!!rt,st=gt=>{nt(gt.currentTarget)},dt=()=>{nt(null)},at=useScrollTrigger({disableHysteresis:!0,threshold:0,target:s?s():void 0}),it="0123456789ABCDEF",ft=()=>{let gt="";for(let mt=0;mt<6;++mt){const xt=Math.floor(16*Math.random());gt+=it[xt]}return"#"+gt},ct=()=>j(ft()),ut=()=>{j("#6750a4"),$("light")},lt=()=>{dt();const gt=JSON.stringify(_e,null,2),mt=document.createElement("a"),xt=new Blob([gt],{type:"application/json"});mt.href=URL.createObjectURL(xt),mt.download="ThemeScheme.json",document.body.appendChild(mt),mt.click()},pt=()=>{dt();const gt=JSON.stringify(et,null,2),mt=document.createElement("a"),xt=new Blob([gt],{type:"application/json"});mt.href=URL.createObjectURL(xt),mt.download="ThemeMUI.json",document.body.appendChild(mt),mt.click()},ht=useNavigate();return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:jsxRuntimeExports.jsx(AppBar$1,{position:"sticky",elevation:at?2:0,children:jsxRuntimeExports.jsx(Toolbar$1,{children:jsxRuntimeExports.jsxs(Grid$1,{container:!0,spacing:1,alignItems:"center",children:[jsxRuntimeExports.jsx(Grid$1,{item:!0,sx:{display:{md:"none",sm:"block"}},children:jsxRuntimeExports.jsx(IconButton$1,{color:"inherit",edge:"start",onClick:o,children:jsxRuntimeExports.jsx(default_1$5,{})})}),jsxRuntimeExports.jsx(Grid$1,{item:!0,sx:{display:"flex",alignItems:"baseline"},children:jsxRuntimeExports.jsx(Tooltip$1,{title:"Go Back",children:jsxRuntimeExports.jsx(ArrowBack,{onClick:()=>ht(-1)})})}),jsxRuntimeExports.jsx(Grid$1,{item:!0,sx:{display:"flex",alignItems:"baseline"},children:jsxRuntimeExports.jsx(Typography$1,{color:"inherit",sx:{fontWeight:500,letterSpacing:.5,fontSize:20},children:tt.pathname.replace("/","")})}),jsxRuntimeExports.jsx(Grid$1,{item:!0,xs:!0}),jsxRuntimeExports.jsx(Grid$1,{item:!0,children:jsxRuntimeExports.jsx(Tooltip$1,{title:"Switch Theme",children:jsxRuntimeExports.jsx(IconButton$1,{size:"large",color:"inherit",onClick:i,children:a=="light"?jsxRuntimeExports.jsx(default_1$3,{}):jsxRuntimeExports.jsx(default_1$2,{})})})}),jsxRuntimeExports.jsx(Grid$1,{item:!0,children:jsxRuntimeExports.jsx(Tooltip$1,{title:"Shuffle Color",children:jsxRuntimeExports.jsx(IconButton$1,{size:"large",color:"inherit",onClick:ct,children:jsxRuntimeExports.jsx(default_1$4,{})})})}),jsxRuntimeExports.jsxs(Grid$1,{item:!0,children:[jsxRuntimeExports.jsx(Tooltip$1,{title:"Download",children:jsxRuntimeExports.jsx(IconButton$1,{size:"large",color:"inherit",id:"basic-button","aria-controls":ot?"basic-menu":void 0,"aria-haspopup":"true","aria-expanded":ot?"true":void 0,onClick:st,children:jsxRuntimeExports.jsx(default_1,{})})}),jsxRuntimeExports.jsxs(Menu$1,{id:"download-menu",anchorEl:rt,open:ot,onClose:dt,MenuListProps:{"aria-labelledby":"basic-button"},children:[jsxRuntimeExports.jsx(MenuItem$1,{onClick:lt,children:"Theme Scheme"}),jsxRuntimeExports.jsx(MenuItem$1,{onClick:pt,children:"MUI Theme"})]})]}),jsxRuntimeExports.jsx(Grid$1,{item:!0,children:jsxRuntimeExports.jsx(Tooltip$1,{title:"Reset",children:jsxRuntimeExports.jsx(IconButton$1,{size:"large",color:"inherit",onClick:ut,children:jsxRuntimeExports.jsx(default_1$1,{})})})})]})})})})},drawerWidth=260,MainLayout=()=>{const o=useTheme(),s=useMediaQuery(o.breakpoints.up("md")),[i,a]=reactExports.useState(!1),$={display:"flex",minHeight:"100vh"},j={width:{md:drawerWidth},flexShrink:{md:0}},_e={flex:1,display:"flex",flexDirection:"column"},et={p:0,flex:1},tt=()=>{a(!i)};return jsxRuntimeExports.jsxs(Box$1,{sx:$,children:[jsxRuntimeExports.jsxs(Box$1,{component:"nav",sx:j,children:[s?null:jsxRuntimeExports.jsx(MainDrawer,{PaperProps:{style:{width:drawerWidth}},variant:"temporary",open:i,onClose:tt}),jsxRuntimeExports.jsx(MainDrawer,{variant:"permanent",PaperProps:{style:{width:drawerWidth}},sx:{display:{md:"block",sm:"none",xs:"none"}}})]}),jsxRuntimeExports.jsxs(Box$1,{sx:_e,children:[jsxRuntimeExports.jsx(MainAppBar,{onDrawerToggle:tt}),jsxRuntimeExports.jsx(Box$1,{sx:et,children:jsxRuntimeExports.jsx(Outlet,{})})]})]})},Router=()=>{const o=pagesData.map(({path:s,title:i,element:a})=>jsxRuntimeExports.jsx(Route,{path:`/${s}`,element:a},i));return jsxRuntimeExports.jsx(Routes,{children:jsxRuntimeExports.jsxs(Route,{element:jsxRuntimeExports.jsx(MainLayout,{}),path:"/",children:[jsxRuntimeExports.jsx(Route,{index:!0,element:jsxRuntimeExports.jsx(Navigate,{to:"/Home",replace:!0})}),o]})})},App=()=>jsxRuntimeExports.jsx(BrowserRouter,{children:jsxRuntimeExports.jsx(Router,{})}),container=document.getElementById("root"),root=createRoot(container);root.render(jsxRuntimeExports.jsx(M3,{children:jsxRuntimeExports.jsx(App,{})}));