(function(){"use strict";function v$(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var df=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Jr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Qb={exports:{}},pf={},Jb={exports:{}},Re={};/** * @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=Symbol.for("react.element"),y$=Symbol.for("react.portal"),g$=Symbol.for("react.fragment"),b$=Symbol.for("react.strict_mode"),x$=Symbol.for("react.profiler"),w$=Symbol.for("react.provider"),C$=Symbol.for("react.context"),S$=Symbol.for("react.forward_ref"),P$=Symbol.for("react.suspense"),O$=Symbol.for("react.memo"),_$=Symbol.for("react.lazy"),ex=Symbol.iterator;function $$(e){return e===null||typeof e!="object"?null:(e=ex&&e[ex]||e["@@iterator"],typeof e=="function"?e:null)}var tx={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nx=Object.assign,rx={};function ma(e,t,n){this.props=e,this.context=t,this.refs=rx,this.updater=n||tx}ma.prototype.isReactComponent={},ma.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},ma.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ox(){}ox.prototype=ma.prototype;function Y1(e,t,n){this.props=e,this.context=t,this.refs=rx,this.updater=n||tx}var Q1=Y1.prototype=new ox;Q1.constructor=Y1,nx(Q1,ma.prototype),Q1.isPureReactComponent=!0;var ix=Array.isArray,ax=Object.prototype.hasOwnProperty,J1={current:null},sx={key:!0,ref:!0,__self:!0,__source:!0};function lx(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)ax.call(t,r)&&!sx.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,H=M[K];if(0>>1;Ko(ce,F))Qo(he,ce)?(M[K]=he,M[Q]=F,K=Q):(M[K]=ce,M[Z]=F,K=Z);else if(Qo(he,F))M[K]=he,M[Q]=F,K=Q;else break e}}return B}function o(M,B){var F=M.sortIndex-B.sortIndex;return F!==0?F:M.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,f=null,d=3,p=!1,v=!1,h=!1,b=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(M){for(var B=n(u);B!==null;){if(B.callback===null)r(u);else if(B.startTime<=M)r(u),B.sortIndex=B.expirationTime,t(l,B);else break;B=n(u)}}function w(M){if(h=!1,y(M),!v)if(n(l)!==null)v=!0,N(x);else{var B=n(u);B!==null&&D(w,B.startTime-M)}}function x(M,B){v=!1,h&&(h=!1,m(_),_=-1),p=!0;var F=d;try{for(y(B),f=n(l);f!==null&&(!(f.expirationTime>B)||M&&!T());){var K=f.callback;if(typeof K=="function"){f.callback=null,d=f.priorityLevel;var H=K(f.expirationTime<=B);B=e.unstable_now(),typeof H=="function"?f.callback=H:f===n(l)&&r(l),y(B)}else r(l);f=n(l)}if(f!==null)var Y=!0;else{var Z=n(u);Z!==null&&D(w,Z.startTime-B),Y=!1}return Y}finally{f=null,d=F,p=!1}}var C=!1,S=null,_=-1,A=5,k=-1;function T(){return!(e.unstable_now()-kM||125K?(M.sortIndex=F,t(u,M),n(l)===null&&M===n(u)&&(h?(m(_),_=-1):h=!0,D(w,F-K))):(M.sortIndex=H,t(l,M),v||p||(v=!0,N(x))),M},e.unstable_shouldYield=T,e.unstable_wrapCallback=function(M){var B=d;return function(){var F=d;d=B;try{return M.apply(this,arguments)}finally{d=F}}}})(hx),px.exports=hx;var D$=px.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 B$=O,$n=D$;function J(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rm=Object.prototype.hasOwnProperty,F$=/^[: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]*$/,vx={},yx={};function z$(e){return rm.call(yx,e)?!0:rm.call(vx,e)?!1:F$.test(e)?yx[e]=!0:(vx[e]=!0,!1)}function H$(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function W$(e,t,n,r){if(t===null||typeof t>"u"||H$(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function sn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Ut={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ut[e]=new sn(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ut[t]=new sn(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ut[e]=new sn(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ut[e]=new sn(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ut[e]=new sn(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Ut[e]=new sn(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Ut[e]=new sn(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Ut[e]=new sn(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Ut[e]=new sn(e,5,!1,e.toLowerCase(),null,!1,!1)});var om=/[\-:]([a-z])/g;function im(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(om,im);Ut[t]=new sn(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(om,im);Ut[t]=new sn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(om,im);Ut[t]=new sn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Ut[e]=new sn(e,1,!1,e.toLowerCase(),null,!1,!1)}),Ut.xlinkHref=new sn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Ut[e]=new sn(e,1,!1,e.toLowerCase(),null,!0,!0)});function am(e,t,n,r){var o=Ut.hasOwnProperty(t)?Ut[t]:null;(o!==null?o.type!==0:r||!(2s||o[a]!==i[s]){var l=` `+o[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{hm=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?kl(e):""}function V$(e){switch(e.tag){case 5:return kl(e.type);case 16:return kl("Lazy");case 13:return kl("Suspense");case 19:return kl("SuspenseList");case 0:case 2:case 15:return e=mm(e.type,!1),e;case 11:return e=mm(e.type.render,!1),e;case 1:return e=mm(e.type,!0),e;default:return""}}function vm(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ga:return"Fragment";case ya:return"Portal";case lm:return"Profiler";case sm:return"StrictMode";case cm:return"Suspense";case fm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bx:return(e.displayName||"Context")+".Consumer";case gx:return(e._context.displayName||"Context")+".Provider";case um:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case dm:return t=e.displayName||null,t!==null?t:vm(e.type)||"Memo";case Eo:t=e._payload,e=e._init;try{return vm(e(t))}catch{}}return null}function U$(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return vm(t);case 8:return t===sm?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ko(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Cx(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function G$(e){var t=Cx(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gf(e){e._valueTracker||(e._valueTracker=G$(e))}function Sx(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Cx(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function bf(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ym(e,t){var n=t.checked;return lt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Px(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ko(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ox(e,t){t=t.checked,t!=null&&am(e,"checked",t,!1)}function gm(e,t){Ox(e,t);var n=ko(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?bm(e,t.type,n):t.hasOwnProperty("defaultValue")&&bm(e,t.type,ko(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function _x(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function bm(e,t,n){(t!=="number"||bf(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Tl=Array.isArray;function ba(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=xf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ml(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var jl={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},K$=["Webkit","ms","Moz","O"];Object.keys(jl).forEach(function(e){K$.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jl[t]=jl[e]})});function Mx(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||jl.hasOwnProperty(e)&&jl[e]?(""+t).trim():t+"px"}function jx(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Mx(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var q$=lt({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 Cm(e,t){if(t){if(q$[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(J(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(J(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(J(61))}if(t.style!=null&&typeof t.style!="object")throw Error(J(62))}}function Sm(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Pm=null;function Om(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _m=null,xa=null,wa=null;function Rx(e){if(e=tu(e)){if(typeof _m!="function")throw Error(J(280));var t=e.stateNode;t&&(t=Wf(t),_m(e.stateNode,e.type,t))}}function Lx(e){xa?wa?wa.push(e):wa=[e]:xa=e}function Ix(){if(xa){var e=xa,t=wa;if(wa=xa=null,Rx(e),t)for(e=0;e>>=0,e===0?32:31-(iA(e)/aA|0)|0}var Of=64,_f=4194304;function Nl(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function $f(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=Nl(s):(i&=a,i!==0&&(r=Nl(i)))}else a=n&~o,a!==0?r=Nl(a):i!==0&&(r=Nl(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Dl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mr(t),e[t]=n}function cA(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Gl),c5=" ",f5=!1;function d5(e,t){switch(e){case"keyup":return DA.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function p5(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pa=!1;function FA(e,t){switch(e){case"compositionend":return p5(t);case"keypress":return t.which!==32?null:(f5=!0,c5);case"textInput":return e=t.data,e===c5&&f5?null:e;default:return null}}function zA(e,t){if(Pa)return e==="compositionend"||!Vm&&d5(e,t)?(e=o5(),Mf=Dm=Lo=null,Pa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=x5(n)}}function C5(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?C5(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function S5(){for(var e=window,t=bf();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=bf(e.document)}return t}function Km(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ZA(e){var t=S5(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&C5(n.ownerDocument.documentElement,n)){if(r!==null&&Km(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=w5(n,i);var a=w5(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Oa=null,qm=null,Zl=null,Xm=!1;function P5(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Xm||Oa==null||Oa!==bf(r)||(r=Oa,"selectionStart"in r&&Km(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zl&&Xl(Zl,r)||(Zl=r,r=Ff(qm,"onSelect"),0ka||(e.current=s0[ka],s0[ka]=null,ka--)}function Je(e,t){ka++,s0[ka]=e.current,e.current=t}var Bo={},Yt=Do(Bo),pn=Do(!1),yi=Bo;function Ta(e,t){var n=e.type.contextTypes;if(!n)return Bo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function hn(e){return e=e.childContextTypes,e!=null}function Vf(){nt(pn),nt(Yt)}function B5(e,t,n){if(Yt.current!==Bo)throw Error(J(168));Je(Yt,t),Je(pn,n)}function F5(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(J(108,U$(e)||"Unknown",o));return lt({},n,r)}function Uf(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bo,yi=Yt.current,Je(Yt,e),Je(pn,pn.current),!0}function z5(e,t,n){var r=e.stateNode;if(!r)throw Error(J(169));n?(e=F5(e,t,yi),r.__reactInternalMemoizedMergedChildContext=e,nt(pn),nt(Yt),Je(Yt,e)):nt(pn),Je(pn,n)}var ro=null,Gf=!1,l0=!1;function H5(e){ro===null?ro=[e]:ro.push(e)}function lE(e){Gf=!0,H5(e)}function Fo(){if(!l0&&ro!==null){l0=!0;var e=0,t=We;try{var n=ro;for(We=1;e>=a,o-=a,oo=1<<32-mr(t)+o|n<_?(A=S,S=null):A=S.sibling;var k=d(m,S,y[_],w);if(k===null){S===null&&(S=A);break}e&&S&&k.alternate===null&&t(m,S),g=i(k,g,_),C===null?x=k:C.sibling=k,C=k,S=A}if(_===y.length)return n(m,S),it&&bi(m,_),x;if(S===null){for(;__?(A=S,S=null):A=S.sibling;var T=d(m,S,k.value,w);if(T===null){S===null&&(S=A);break}e&&S&&T.alternate===null&&t(m,S),g=i(T,g,_),C===null?x=T:C.sibling=T,C=T,S=A}if(k.done)return n(m,S),it&&bi(m,_),x;if(S===null){for(;!k.done;_++,k=y.next())k=f(m,k.value,w),k!==null&&(g=i(k,g,_),C===null?x=k:C.sibling=k,C=k);return it&&bi(m,_),x}for(S=r(m,S);!k.done;_++,k=y.next())k=p(S,m,_,k.value,w),k!==null&&(e&&k.alternate!==null&&S.delete(k.key===null?_:k.key),g=i(k,g,_),C===null?x=k:C.sibling=k,C=k);return e&&S.forEach(function(E){return t(m,E)}),it&&bi(m,_),x}function b(m,g,y,w){if(typeof y=="object"&&y!==null&&y.type===ga&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case yf:e:{for(var x=y.key,C=g;C!==null;){if(C.key===x){if(x=y.type,x===ga){if(C.tag===7){n(m,C.sibling),g=o(C,y.props.children),g.return=m,m=g;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Eo&&q5(x)===C.type){n(m,C.sibling),g=o(C,y.props),g.ref=nu(m,C,y),g.return=m,m=g;break e}n(m,C);break}else t(m,C);C=C.sibling}y.type===ga?(g=$i(y.props.children,m.mode,w,y.key),g.return=m,m=g):(w=xd(y.type,y.key,y.props,null,m.mode,w),w.ref=nu(m,g,y),w.return=m,m=w)}return a(m);case ya:e:{for(C=y.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(m,g.sibling),g=o(g,y.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=iv(y,m.mode,w),g.return=m,m=g}return a(m);case Eo:return C=y._init,b(m,g,C(y._payload),w)}if(Tl(y))return v(m,g,y,w);if(El(y))return h(m,g,y,w);Zf(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(m,g.sibling),g=o(g,y),g.return=m,m=g):(n(m,g),g=ov(y,m.mode,w),g.return=m,m=g),a(m)):n(m,g)}return b}var La=X5(!0),Z5=X5(!1),Yf=Do(null),Qf=null,Ia=null,h0=null;function m0(){h0=Ia=Qf=null}function v0(e){var t=Yf.current;nt(Yf),e._currentValue=t}function y0(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Na(e,t){Qf=e,h0=Ia=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(mn=!0),e.firstContext=null)}function Un(e){var t=e._currentValue;if(h0!==e)if(e={context:e,memoizedValue:t,next:null},Ia===null){if(Qf===null)throw Error(J(308));Ia=e,Qf.dependencies={lanes:0,firstContext:e}}else Ia=Ia.next=e;return t}var xi=null;function g0(e){xi===null?xi=[e]:xi.push(e)}function Y5(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,g0(t)):(n.next=o.next,o.next=n),t.interleaved=n,ao(e,r)}function ao(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var zo=!1;function b0(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Q5(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ho(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ie&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ao(e,n)}return o=r.interleaved,o===null?(t.next=t,g0(r)):(t.next=o.next,o.next=t),r.interleaved=t,ao(e,n)}function Jf(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jm(e,n)}}function J5(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ed(e,t,n,r){var o=e.updateQueue;zo=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?i=u:a.next=u,a=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var f=o.baseState;a=0,c=u=l=null,s=i;do{var d=s.lane,p=s.eventTime;if((r&d)===d){c!==null&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,h=s;switch(d=t,p=n,h.tag){case 1:if(v=h.payload,typeof v=="function"){f=v.call(p,f,d);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=h.payload,d=typeof v=="function"?v.call(p,f,d):v,d==null)break e;f=lt({},f,d);break e;case 2:zo=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,d=o.effects,d===null?o.effects=[s]:d.push(s))}else p={eventTime:p,lane:d,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=p,l=f):c=c.next=p,a|=d;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;d=s,s=d.next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}while(!0);if(c===null&&(l=f),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Si|=a,e.lanes=a,e.memoizedState=f}}function e3(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=P0.transition;P0.transition={};try{e(!1),t()}finally{We=n,P0.transition=r}}function b3(){return Gn().memoizedState}function dE(e,t,n){var r=Go(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},x3(e))w3(t,n);else if(n=Y5(e,t,n,r),n!==null){var o=un();wr(n,e,r,o),C3(n,t,r)}}function pE(e,t,n){var r=Go(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(x3(e))w3(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,vr(s,a)){var l=t.interleaved;l===null?(o.next=o,g0(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Y5(e,t,o,r),n!==null&&(o=un(),wr(n,e,r,o),C3(n,t,r))}}function x3(e){var t=e.alternate;return e===ct||t!==null&&t===ct}function w3(e,t){au=rd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function C3(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,jm(e,n)}}var ad={readContext:Un,useCallback:Qt,useContext:Qt,useEffect:Qt,useImperativeHandle:Qt,useInsertionEffect:Qt,useLayoutEffect:Qt,useMemo:Qt,useReducer:Qt,useRef:Qt,useState:Qt,useDebugValue:Qt,useDeferredValue:Qt,useTransition:Qt,useMutableSource:Qt,useSyncExternalStore:Qt,useId:Qt,unstable_isNewReconciler:!1},hE={readContext:Un,useCallback:function(e,t){return Lr().memoizedState=[e,t===void 0?null:t],e},useContext:Un,useEffect:f3,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,od(4194308,4,h3.bind(null,t,e),n)},useLayoutEffect:function(e,t){return od(4194308,4,e,t)},useInsertionEffect:function(e,t){return od(4,2,e,t)},useMemo:function(e,t){var n=Lr();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lr();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=dE.bind(null,ct,e),[r.memoizedState,e]},useRef:function(e){var t=Lr();return e={current:e},t.memoizedState=e},useState:u3,useDebugValue:T0,useDeferredValue:function(e){return Lr().memoizedState=e},useTransition:function(){var e=u3(!1),t=e[0];return e=fE.bind(null,e[1]),Lr().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ct,o=Lr();if(it){if(n===void 0)throw Error(J(407));n=n()}else{if(n=t(),zt===null)throw Error(J(349));Ci&30||o3(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,f3(a3.bind(null,r,i,e),[e]),r.flags|=2048,uu(9,i3.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Lr(),t=zt.identifierPrefix;if(it){var n=io,r=oo;n=(r&~(1<<32-mr(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=su++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[jr]=t,e[eu]=r,H3(e,t,!1,!1),t.stateNode=e;e:{switch(a=Sm(n,r),n){case"dialog":tt("cancel",e),tt("close",e),o=r;break;case"iframe":case"object":case"embed":tt("load",e),o=r;break;case"video":case"audio":for(o=0;oHa&&(t.flags|=128,r=!0,cu(i,!1),t.lanes=4194304)}else{if(!r)if(e=td(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),cu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!it)return Jt(t),null}else 2*bt()-i.renderingStartTime>Ha&&n!==1073741824&&(t.flags|=128,r=!0,cu(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=bt(),t.sibling=null,n=ut.current,Je(ut,r?n&1|2:n&1),t):(Jt(t),null);case 22:case 23:return tv(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Tn&1073741824&&(Jt(t),t.subtreeFlags&6&&(t.flags|=8192)):Jt(t),null;case 24:return null;case 25:return null}throw Error(J(156,t.tag))}function CE(e,t){switch(c0(t),t.tag){case 1:return hn(t.type)&&Vf(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Da(),nt(pn),nt(Yt),S0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return w0(t),null;case 13:if(nt(ut),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(J(340));Ra()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return nt(ut),null;case 4:return Da(),null;case 10:return v0(t.type._context),null;case 22:case 23:return tv(),null;case 24:return null;default:return null}}var cd=!1,en=!1,SE=typeof WeakSet=="function"?WeakSet:Set,fe=null;function Fa(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ht(e,t,r)}else n.current=null}function W0(e,t,n){try{n()}catch(r){ht(e,t,r)}}var U3=!1;function PE(e,t){if(t0=kf,e=S5(),Km(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;var a=0,s=-1,l=-1,u=0,c=0,f=e,d=null;e:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(s=a+o),f!==i||r!==0&&f.nodeType!==3||(l=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(p=f.firstChild)!==null;)d=f,f=p;for(;;){if(f===e)break e;if(d===n&&++u===o&&(s=a),d===i&&++c===r&&(l=a),(p=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=p}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(n0={focusedElem:e,selectionRange:n},kf=!1,fe=t;fe!==null;)if(t=fe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,fe=e;else for(;fe!==null;){t=fe;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var h=v.memoizedProps,b=v.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?h:gr(t.type,h),b);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(J(163))}}catch(w){ht(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,fe=e;break}fe=t.return}return v=U3,U3=!1,v}function fu(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&W0(t,n,i)}o=o.next}while(o!==r)}}function fd(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function V0(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function G3(e){var t=e.alternate;t!==null&&(e.alternate=null,G3(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[jr],delete t[eu],delete t[a0],delete t[aE],delete t[sE])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function K3(e){return e.tag===5||e.tag===3||e.tag===4}function q3(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||K3(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function U0(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Hf));else if(r!==4&&(e=e.child,e!==null))for(U0(e,t,n),e=e.sibling;e!==null;)U0(e,t,n),e=e.sibling}function G0(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(G0(e,t,n),e=e.sibling;e!==null;)G0(e,t,n),e=e.sibling}var Gt=null,br=!1;function Wo(e,t,n){for(n=n.child;n!==null;)X3(e,t,n),n=n.sibling}function X3(e,t,n){if(Mr&&typeof Mr.onCommitFiberUnmount=="function")try{Mr.onCommitFiberUnmount(Pf,n)}catch{}switch(n.tag){case 5:en||Fa(n,t);case 6:var r=Gt,o=br;Gt=null,Wo(e,t,n),Gt=r,br=o,Gt!==null&&(br?(e=Gt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Gt.removeChild(n.stateNode));break;case 18:Gt!==null&&(br?(e=Gt,n=n.stateNode,e.nodeType===8?i0(e.parentNode,n):e.nodeType===1&&i0(e,n),Wl(e)):i0(Gt,n.stateNode));break;case 4:r=Gt,o=br,Gt=n.stateNode.containerInfo,br=!0,Wo(e,t,n),Gt=r,br=o;break;case 0:case 11:case 14:case 15:if(!en&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&W0(n,t,a),o=o.next}while(o!==r)}Wo(e,t,n);break;case 1:if(!en&&(Fa(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ht(n,t,s)}Wo(e,t,n);break;case 21:Wo(e,t,n);break;case 22:n.mode&1?(en=(r=en)||n.memoizedState!==null,Wo(e,t,n),en=r):Wo(e,t,n);break;default:Wo(e,t,n)}}function Z3(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new SE),t.forEach(function(r){var o=jE.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function xr(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=a),r&=~i}if(r=o,r=bt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_E(r/1960))-r,10e?16:e,Uo===null)var r=!1;else{if(e=Uo,Uo=null,vd=0,Ie&6)throw Error(J(331));var o=Ie;for(Ie|=4,fe=e.current;fe!==null;){var i=fe,a=i.child;if(fe.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lbt()-X0?Oi(e,0):q0|=n),yn(e,t)}function u4(e,t){t===0&&(e.mode&1?(t=_f,_f<<=1,!(_f&130023424)&&(_f=4194304)):t=1);var n=un();e=ao(e,t),e!==null&&(Dl(e,t,n),yn(e,n))}function ME(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),u4(e,n)}function jE(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(J(314))}r!==null&&r.delete(t),u4(e,n)}var c4;c4=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pn.current)mn=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return mn=!1,xE(e,t,n);mn=!!(e.flags&131072)}else mn=!1,it&&t.flags&1048576&&W5(t,qf,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ud(e,t),e=t.pendingProps;var o=Ta(t,Yt.current);Na(t,n),o=_0(null,t,r,e,o,n);var i=$0();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,hn(r)?(i=!0,Uf(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,b0(t),o.updater=sd,t.stateNode=o,o._reactInternals=t,j0(t,r,e,n),t=N0(null,t,r,!0,i,n)):(t.tag=0,it&&i&&u0(t),ln(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ud(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=LE(r),e=gr(r,e),o){case 0:t=I0(null,t,r,e,n);break e;case 1:t=I3(null,t,r,e,n);break e;case 11:t=T3(null,t,r,e,n);break e;case 14:t=M3(null,t,r,gr(r.type,e),n);break e}throw Error(J(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gr(r,o),I0(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gr(r,o),I3(e,t,r,o,n);case 3:e:{if(N3(t),e===null)throw Error(J(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Q5(e,t),ed(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Ba(Error(J(423)),t),t=D3(e,t,r,n,o);break e}else if(r!==o){o=Ba(Error(J(424)),t),t=D3(e,t,r,n,o);break e}else for(kn=No(t.stateNode.containerInfo.firstChild),En=t,it=!0,yr=null,n=Z5(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ra(),r===o){t=lo(e,t,n);break e}ln(e,t,r,n)}t=t.child}return t;case 5:return t3(t),e===null&&d0(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,r0(r,o)?a=null:i!==null&&r0(r,i)&&(t.flags|=32),L3(e,t),ln(e,t,a,n),t.child;case 6:return e===null&&d0(t),null;case 13:return B3(e,t,n);case 4:return x0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=La(t,null,r,n):ln(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gr(r,o),T3(e,t,r,o,n);case 7:return ln(e,t,t.pendingProps,n),t.child;case 8:return ln(e,t,t.pendingProps.children,n),t.child;case 12:return ln(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,Je(Yf,r._currentValue),r._currentValue=a,i!==null)if(vr(i.value,a)){if(i.children===o.children&&!pn.current){t=lo(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=so(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),y0(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(J(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),y0(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}ln(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Na(t,n),o=Un(o),r=r(o),t.flags|=1,ln(e,t,r,n),t.child;case 14:return r=t.type,o=gr(r,t.pendingProps),o=gr(r.type,o),M3(e,t,r,o,n);case 15:return j3(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:gr(r,o),ud(e,t),t.tag=1,hn(r)?(e=!0,Uf(t)):e=!1,Na(t,n),P3(t,r,o),j0(t,r,o,n),N0(null,t,r,!0,e,n);case 19:return z3(e,t,n);case 22:return R3(e,t,n)}throw Error(J(156,t.tag))};function f4(e,t){return Vx(e,t)}function RE(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qn(e,t,n,r){return new RE(e,t,n,r)}function rv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function LE(e){if(typeof e=="function")return rv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===um)return 11;if(e===dm)return 14}return 2}function qo(e,t){var n=e.alternate;return n===null?(n=qn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xd(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")rv(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ga:return $i(n.children,o,i,t);case sm:a=8,o|=8;break;case lm:return e=qn(12,n,t,o|2),e.elementType=lm,e.lanes=i,e;case cm:return e=qn(13,n,t,o),e.elementType=cm,e.lanes=i,e;case fm:return e=qn(19,n,t,o),e.elementType=fm,e.lanes=i,e;case xx:return wd(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gx:a=10;break e;case bx:a=9;break e;case um:a=11;break e;case dm:a=14;break e;case Eo:a=16,r=null;break e}throw Error(J(130,e==null?e:typeof e,""))}return t=qn(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function $i(e,t,n,r){return e=qn(7,e,r,t),e.lanes=n,e}function wd(e,t,n,r){return e=qn(22,e,r,t),e.elementType=xx,e.lanes=n,e.stateNode={isHidden:!1},e}function ov(e,t,n){return e=qn(6,e,null,t),e.lanes=n,e}function iv(e,t,n){return t=qn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function IE(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Mm(0),this.expirationTimes=Mm(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mm(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function av(e,t,n,r,o,i,a,s,l){return e=new IE(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=qn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},b0(i),e}function NE(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y4)}catch(e){console.error(e)}}y4(),dx.exports=_n;var cv=dx.exports;const Ad=qe(cv);var g4,HE=cv;g4=HE.createRoot;function WE(e){return null}const vu={black:"#000",white:"#fff"},Va={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Ua={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Ga={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ka={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},qa={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},yu={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},VE={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Ai(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n0?qt(Ya,--gn):0,Za--,Ot===10&&(Za=1,Md--),Ot}function Mn(){return Ot=gn2||wu(Ot)>3?"":" "}function ik(e,t){for(;--t&&Mn()&&!(Ot<48||Ot>102||Ot>57&&Ot<65||Ot>70&&Ot<97););return xu(e,Rd()+(t<6&&Dr()==32&&Mn()==32))}function mv(e){for(;Mn();)switch(Ot){case e:return gn;case 34:case 39:e!==34&&e!==39&&mv(Ot);break;case 40:e===41&&mv(e);break;case 92:Mn();break}return gn}function ak(e,t){for(;Mn()&&e+Ot!==57;)if(e+Ot===84&&Dr()===47)break;return"/*"+xu(t,gn-1)+"*"+kd(e===47?e:Mn())}function sk(e){for(;!wu(Dr());)Mn();return xu(e,gn)}function lk(e){return P4(Id("",null,null,null,[""],e=S4(e),0,[0],e))}function Id(e,t,n,r,o,i,a,s,l){for(var u=0,c=0,f=a,d=0,p=0,v=0,h=1,b=1,m=1,g=0,y="",w=o,x=i,C=r,S=y;b;)switch(v=g,g=Mn()){case 40:if(v!=108&&qt(S,f-1)==58){pv(S+=Fe(Ld(g),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:S+=Ld(g);break;case 9:case 10:case 13:case 32:S+=ok(v);break;case 92:S+=ik(Rd()-1,7);continue;case 47:switch(Dr()){case 42:case 47:Td(uk(ak(Mn(),Rd()),t,n),l);break;default:S+="/"}break;case 123*h:s[u++]=Nr(S)*m;case 125*h:case 59:case 0:switch(g){case 0:case 125:b=0;case 59+c:m==-1&&(S=Fe(S,/\f/g,"")),p>0&&Nr(S)-f&&Td(p>32?_4(S+";",r,n,f-1):_4(Fe(S," ","")+";",r,n,f-2),l);break;case 59:S+=";";default:if(Td(C=O4(S,t,n,u,c,o,s,y,w=[],x=[],f),i),g===123)if(c===0)Id(S,t,C,C,w,i,f,s,x);else switch(d===99&&qt(S,3)===110?100:d){case 100:case 108:case 109:case 115:Id(e,C,C,r&&Td(O4(e,C,C,0,0,o,s,y,o,w=[],f),x),o,x,f,s,r?w:x);break;default:Id(S,C,C,C,[""],x,0,s,x)}}u=c=p=0,h=m=1,y=S="",f=a;break;case 58:f=1+Nr(S),p=v;default:if(h<1){if(g==123)--h;else if(g==125&&h++==0&&rk()==125)continue}switch(S+=kd(g),g*h){case 38:m=c>0?1:(S+="\f",-1);break;case 44:s[u++]=(Nr(S)-1)*m,m=1;break;case 64:Dr()===45&&(S+=Ld(Mn())),d=Dr(),c=f=Nr(y=S+=sk(Rd())),g++;break;case 45:v===45&&Nr(S)==2&&(h=0)}}return i}function O4(e,t,n,r,o,i,a,s,l,u,c){for(var f=o-1,d=o===0?i:[""],p=hv(d),v=0,h=0,b=0;v0?d[m]+" "+g:Fe(g,/&\f/g,d[m])))&&(l[b++]=y);return jd(e,t,n,o===0?fv:s,l,u,c)}function uk(e,t,n){return jd(e,t,n,b4,kd(nk()),gu(e,2,-2),0)}function _4(e,t,n,r){return jd(e,t,n,dv,gu(e,0,r),gu(e,r+1,-1),r)}function Qa(e,t){for(var n="",r=hv(e),o=0;o6)switch(qt(e,t+1)){case 109:if(qt(e,t+4)!==45)break;case 102:return Fe(e,/(.+:)(.+)-([^]+)/,"$1"+Be+"$2-$3$1"+Ed+(qt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pv(e,"stretch")?E4(Fe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(qt(e,t+1)!==115)break;case 6444:switch(qt(e,Nr(e)-3-(~pv(e,"!important")&&10))){case 107:return Fe(e,":",":"+Be)+e;case 101:return Fe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Be+(qt(e,14)===45?"inline-":"")+"box$3$1"+Be+"$2$3$1"+tn+"$2box$3")+e}break;case 5936:switch(qt(e,t+11)){case 114:return Be+e+tn+Fe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Be+e+tn+Fe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Be+e+tn+Fe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Be+e+tn+e+e}return e}var gk=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case dv:t.return=E4(t.value,t.length);break;case x4:return Qa([bu(t,{value:Fe(t.value,"@","@"+Be)})],o);case fv:if(t.length)return tk(t.props,function(i){switch(ek(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Qa([bu(t,{props:[Fe(i,/:(read-\w+)/,":"+Ed+"$1")]})],o);case"::placeholder":return Qa([bu(t,{props:[Fe(i,/:(plac\w+)/,":"+Be+"input-$1")]}),bu(t,{props:[Fe(i,/:(plac\w+)/,":"+Ed+"$1")]}),bu(t,{props:[Fe(i,/:(plac\w+)/,tn+"input-$1")]})],o)}return""})}},bk=[gk],k4=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var b=h.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||bk,i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var b=h.getAttribute("data-emotion").split(" "),m=1;m=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ck={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Sk=/[A-Z]|^ms/g,Pk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,M4=function(t){return t.charCodeAt(1)===45},j4=function(t){return t!=null&&typeof t!="boolean"},gv=$4(function(e){return M4(e)?e:e.replace(Sk,"-$&").toLowerCase()}),R4=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Pk,function(r,o,i){return Br={name:o,styles:i,next:Br},o})}return Ck[t]!==1&&!M4(t)&&typeof n=="number"&&n!==0?n+"px":n};function Cu(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Br={name:o.name,styles:o.styles,next:Br},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Br={name:a.name,styles:a.styles,next:Br},a=a.next;var s=i.styles+";";return s}return Ok(e,t,n)}case"function":{if(e!==void 0){var l=Br,u=n(e);return Br=l,Cu(e,t,u)}break}}var c=n;if(t==null)return c;var f=t[c];return f!==void 0?f:c}function Ok(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Ik:Nk},V4=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Dk=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return vv(n,r,o),N4(function(){return yv(n,r,o)}),null},Bk=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var s=V4(t,n,r),l=s||W4(o),u=!l("as");return function(){var c=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{var d=c[0];f.push(d[0]);for(var p=c.length,v=1;v(o[1].styles.match(/^@layer\s+[^{]*$/)||(o[1].styles=`@layer mui {${o[1].styles}}`),r(...o))}return n}const Pv=new Map;function Kk(e){const{injectFirst:t,enableCssLayer:n,children:r}=e,o=O.useMemo(()=>{const i=`${t}-${n}`;if(typeof document=="object"&&Pv.has(i))return Pv.get(i);const a=Gk(t,n);return Pv.set(i,a),a},[t,n]);return t||n?P.jsx($k,{value:o,children:r}):r}function qk(e){return e==null||Object.keys(e).length===0}function q4(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(qk(o)?n:o):t;return P.jsx(jk,{styles:r})}function Ov(e,t){return Sv(e,t)}const X4=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},Z4=[];function Dd(e){return Z4[0]=e,Su(Z4)}const Xk=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:q4,StyledEngineProvider:Kk,ThemeContext:Ja,css:H4,default:Ov,internal_processStyles:X4,internal_serializeStyles:Dd,keyframes:Nd},Symbol.toStringTag,{value:"Module"}));function co(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Y4(e){if(O.isValidElement(e)||!co(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Y4(e[n])}),t}function cn(e,t,n={clone:!0}){const r=n.clone?$({},e):e;return co(e)&&co(t)&&Object.keys(t).forEach(o=>{O.isValidElement(t[o])?r[o]=t[o]:co(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&co(e[o])?r[o]=cn(e[o],t[o],n):n.clone?r[o]=co(t[o])?Y4(t[o]):t[o]:r[o]=t[o]}),r}const Zk=Object.freeze(Object.defineProperty({__proto__:null,default:cn,isPlainObject:co},Symbol.toStringTag,{value:"Module"})),Yk=["values","unit","step"],Qk=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>$({},n,{[r.key]:r.val}),{})};function Q4(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=ae(e,Yk),i=Qk(t),a=Object.keys(i);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function u(d,p){const v=a.indexOf(p);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:p)-r/100}${n})`}function c(d){return a.indexOf(d)+1`@media (min-width:${_v[e]}px)`};function bn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||J4;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const i=r.breakpoints||J4;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||_v).indexOf(s)!==-1){const l=i.up(s);a[l]=n(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return n(t)}function e9(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function $v(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function eT(e,...t){const n=e9(e),r=[n,...t].reduce((o,i)=>cn(o,i),{});return $v(Object.keys(n),r)}function tT(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i{e[o]!=null&&(n[o]=!0)}),n}function Ei({values:e,breakpoints:t,base:n}){const r=n||tT(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[i],i=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[i],i=s):a[s]=e,a),{})}function ge(e){if(typeof e!="string")throw new Error(Ai(7));return e.charAt(0).toUpperCase()+e.slice(1)}const nT=Object.freeze(Object.defineProperty({__proto__:null,default:ge},Symbol.toStringTag,{value:"Module"}));function Bd(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Fd(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Bd(e,n)||r,t&&(o=t(o,r,e)),o}function xt(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,u=Bd(l,r)||{};return bn(a,s,f=>{let d=Fd(u,o,f);return f===d&&typeof f=="string"&&(d=Fd(u,o,`${t}${f==="default"?"":ge(f)}`,f)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function rT(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const oT={m:"margin",p:"padding"},iT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},t9={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},aT=rT(e=>{if(e.length>2)if(t9[e])e=t9[e];else return[e];const[t,n]=e.split(""),r=oT[t],o=iT[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),n9=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],r9=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Ou(e,t,n,r){var o;const i=(o=Bd(e,t,!1))!=null?o:n;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function Av(e){return Ou(e,"spacing",8)}function ki(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function sT(e,t){return n=>e.reduce((r,o)=>(r[o]=ki(t,n),r),{})}function lT(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=aT(n),i=sT(o,r),a=e[n];return bn(e,a,i)}function o9(e,t){const n=Av(e.theme);return Object.keys(e).map(r=>lT(e,t,r,n)).reduce(Pu,{})}function mt(e){return o9(e,n9)}mt.propTypes={},mt.filterProps=n9;function vt(e){return o9(e,r9)}vt.propTypes={},vt.filterProps=r9;function uT(e=8){if(e.mui)return e;const t=Av({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" ");return n.mui=!0,n}function zd(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?Pu(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Xn(e){return typeof e!="number"?e:`${e}px solid`}function Zn(e,t){return xt({prop:e,themeKey:"borders",transform:t})}const cT=Zn("border",Xn),fT=Zn("borderTop",Xn),dT=Zn("borderRight",Xn),pT=Zn("borderBottom",Xn),hT=Zn("borderLeft",Xn),mT=Zn("borderColor"),vT=Zn("borderTopColor"),yT=Zn("borderRightColor"),gT=Zn("borderBottomColor"),bT=Zn("borderLeftColor"),xT=Zn("outline",Xn),wT=Zn("outlineColor"),Hd=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ou(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:ki(t,r)});return bn(e,e.borderRadius,n)}return null};Hd.propTypes={},Hd.filterProps=["borderRadius"],zd(cT,fT,dT,pT,hT,mT,vT,yT,gT,bT,Hd,xT,wT);const Wd=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ou(e.theme,"spacing",8),n=r=>({gap:ki(t,r)});return bn(e,e.gap,n)}return null};Wd.propTypes={},Wd.filterProps=["gap"];const Vd=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ou(e.theme,"spacing",8),n=r=>({columnGap:ki(t,r)});return bn(e,e.columnGap,n)}return null};Vd.propTypes={},Vd.filterProps=["columnGap"];const Ud=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ou(e.theme,"spacing",8),n=r=>({rowGap:ki(t,r)});return bn(e,e.rowGap,n)}return null};Ud.propTypes={},Ud.filterProps=["rowGap"];const CT=xt({prop:"gridColumn"}),ST=xt({prop:"gridRow"}),PT=xt({prop:"gridAutoFlow"}),OT=xt({prop:"gridAutoColumns"}),_T=xt({prop:"gridAutoRows"}),$T=xt({prop:"gridTemplateColumns"}),AT=xt({prop:"gridTemplateRows"}),ET=xt({prop:"gridTemplateAreas"}),kT=xt({prop:"gridArea"});zd(Wd,Vd,Ud,CT,ST,PT,OT,_T,$T,AT,ET,kT);function es(e,t){return t==="grey"?t:e}const TT=xt({prop:"color",themeKey:"palette",transform:es}),MT=xt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:es}),jT=xt({prop:"backgroundColor",themeKey:"palette",transform:es});zd(TT,MT,jT);function jn(e){return e<=1&&e!==0?`${e*100}%`:e}const RT=xt({prop:"width",transform:jn}),Ev=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||_v[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:jn(n)}};return bn(e,e.maxWidth,t)}return null};Ev.filterProps=["maxWidth"];const LT=xt({prop:"minWidth",transform:jn}),IT=xt({prop:"height",transform:jn}),NT=xt({prop:"maxHeight",transform:jn}),DT=xt({prop:"minHeight",transform:jn});xt({prop:"size",cssProperty:"width",transform:jn}),xt({prop:"size",cssProperty:"height",transform:jn});const BT=xt({prop:"boxSizing"});zd(RT,Ev,LT,IT,NT,DT,BT);const _u={border:{themeKey:"borders",transform:Xn},borderTop:{themeKey:"borders",transform:Xn},borderRight:{themeKey:"borders",transform:Xn},borderBottom:{themeKey:"borders",transform:Xn},borderLeft:{themeKey:"borders",transform:Xn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Hd},color:{themeKey:"palette",transform:es},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:es},backgroundColor:{themeKey:"palette",transform:es},p:{style:vt},pt:{style:vt},pr:{style:vt},pb:{style:vt},pl:{style:vt},px:{style:vt},py:{style:vt},padding:{style:vt},paddingTop:{style:vt},paddingRight:{style:vt},paddingBottom:{style:vt},paddingLeft:{style:vt},paddingX:{style:vt},paddingY:{style:vt},paddingInline:{style:vt},paddingInlineStart:{style:vt},paddingInlineEnd:{style:vt},paddingBlock:{style:vt},paddingBlockStart:{style:vt},paddingBlockEnd:{style:vt},m:{style:mt},mt:{style:mt},mr:{style:mt},mb:{style:mt},ml:{style:mt},mx:{style:mt},my:{style:mt},margin:{style:mt},marginTop:{style:mt},marginRight:{style:mt},marginBottom:{style:mt},marginLeft:{style:mt},marginX:{style:mt},marginY:{style:mt},marginInline:{style:mt},marginInlineStart:{style:mt},marginInlineEnd:{style:mt},marginBlock:{style:mt},marginBlockStart:{style:mt},marginBlockEnd:{style:mt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Wd},rowGap:{style:Ud},columnGap:{style:Vd},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:jn},maxWidth:{style:Ev},minWidth:{transform:jn},height:{transform:jn},maxHeight:{transform:jn},minHeight:{transform:jn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function FT(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function zT(e,t){return typeof e=="function"?e(t):e}function i9(){function e(n,r,o,i){const a={[n]:r,theme:o},s=i[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:f}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const d=Bd(o,u)||{};return f?f(a):bn(a,r,v=>{let h=Fd(d,c,v);return v===h&&typeof v=="string"&&(h=Fd(d,c,`${n}${v==="default"?"":ge(v)}`,v)),l===!1?h:{[l]:h}})}function t(n){var r;const{sx:o,theme:i={},nested:a}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:_u;function l(u){let c=u;if(typeof u=="function")c=u(i);else if(typeof u!="object")return u;if(!c)return null;const f=e9(i.breakpoints),d=Object.keys(f);let p=f;return Object.keys(c).forEach(v=>{const h=zT(c[v],i);if(h!=null)if(typeof h=="object")if(s[v])p=Pu(p,e(v,h,i,s));else{const b=bn({theme:i},h,m=>({[v]:m}));FT(b,h)?p[v]=t({sx:h,theme:i,nested:!0}):p=Pu(p,b)}else p=Pu(p,e(v,h,i,s))}),!a&&i.modularCssLayers?{"@layer sx":$v(d,p)}:$v(d,p)}return Array.isArray(o)?o.map(l):l(o)}return t}const ts=i9();ts.filterProps=["sx"];function a9(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const HT=["breakpoints","palette","spacing","shape"];function Ti(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=ae(e,HT),s=Q4(n),l=uT(o);let u=cn({breakpoints:s,direction:"ltr",components:{},palette:$({mode:"light"},r),spacing:l,shape:$({},Jk,i)},a);return u.applyStyles=a9,u=t.reduce((c,f)=>cn(c,f),u),u.unstable_sxConfig=$({},_u,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(f){return ts({sx:f,theme:this})},u}const WT=Object.freeze(Object.defineProperty({__proto__:null,default:Ti,private_createBreakpoints:Q4,unstable_applyStyles:a9},Symbol.toStringTag,{value:"Module"}));function VT(e){return Object.keys(e).length===0}function kv(e=null){const t=O.useContext(Ja);return!t||VT(t)?e:t}const UT=Ti();function $u(e=UT){return kv(e)}function Tv(e){const t=Dd(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function s9({styles:e,themeId:t,defaultTheme:n={}}){const r=$u(n),o=t&&r[t]||r;let i=typeof e=="function"?e(o):e;return o.modularCssLayers&&(Array.isArray(i)?i=i.map(a=>Tv(typeof a=="function"?a(o):a)):i=Tv(i)),P.jsx(q4,{styles:i})}const GT=["sx"],KT=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:_u;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function ns(e){const{sx:t}=e,n=ae(e,GT),{systemProps:r,otherProps:o}=KT(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const s=t(...a);return co(s)?$({},r,s):r}:i=$({},r,t),$({},o,{sx:i})}const qT=Object.freeze(Object.defineProperty({__proto__:null,default:ts,extendSxProp:ns,unstable_createStyleFunctionSx:i9,unstable_defaultSxConfig:_u},Symbol.toStringTag,{value:"Module"})),l9=e=>e,Mv=(()=>{let e=l9;return{configure(t){e=t},generate(t){return e(t)},reset(){e=l9}}})();function u9(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(ts);return O.forwardRef(function(l,u){const c=$u(n),f=ns(l),{className:d,component:p="div"}=f,v=ae(f,XT);return P.jsx(i,$({as:p,ref:u,className:q(d,o?o(r):r),theme:t&&c[t]||c},v))})}const YT={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 we(e,t,n="Mui"){const r=YT[t];return r?`${n}-${r}`:`${Mv.generate(e)}-${t}`}function Se(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=we(e,o,n)}),r}var c9={exports:{}},Ze={};/** * @license React * react-is.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var jv=Symbol.for("react.transitional.element"),Rv=Symbol.for("react.portal"),Gd=Symbol.for("react.fragment"),Kd=Symbol.for("react.strict_mode"),qd=Symbol.for("react.profiler"),Xd=Symbol.for("react.consumer"),Zd=Symbol.for("react.context"),Yd=Symbol.for("react.forward_ref"),Qd=Symbol.for("react.suspense"),Jd=Symbol.for("react.suspense_list"),ep=Symbol.for("react.memo"),tp=Symbol.for("react.lazy"),QT=Symbol.for("react.view_transition"),JT=Symbol.for("react.client.reference");function Yn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case jv:switch(e=e.type,e){case Gd:case qd:case Kd:case Qd:case Jd:case QT:return e;default:switch(e=e&&e.$$typeof,e){case Zd:case Yd:case tp:case ep:return e;case Xd:return e;default:return t}}case Rv:return t}}}Ze.ContextConsumer=Xd,Ze.ContextProvider=Zd,Ze.Element=jv,Ze.ForwardRef=Yd,Ze.Fragment=Gd,Ze.Lazy=tp,Ze.Memo=ep,Ze.Portal=Rv,Ze.Profiler=qd,Ze.StrictMode=Kd,Ze.Suspense=Qd,Ze.SuspenseList=Jd,Ze.isContextConsumer=function(e){return Yn(e)===Xd},Ze.isContextProvider=function(e){return Yn(e)===Zd},Ze.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===jv},Ze.isForwardRef=function(e){return Yn(e)===Yd},Ze.isFragment=function(e){return Yn(e)===Gd},Ze.isLazy=function(e){return Yn(e)===tp},Ze.isMemo=function(e){return Yn(e)===ep},Ze.isPortal=function(e){return Yn(e)===Rv},Ze.isProfiler=function(e){return Yn(e)===qd},Ze.isStrictMode=function(e){return Yn(e)===Kd},Ze.isSuspense=function(e){return Yn(e)===Qd},Ze.isSuspenseList=function(e){return Yn(e)===Jd},Ze.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Gd||e===qd||e===Kd||e===Qd||e===Jd||typeof e=="object"&&e!==null&&(e.$$typeof===tp||e.$$typeof===ep||e.$$typeof===Zd||e.$$typeof===Xd||e.$$typeof===Yd||e.$$typeof===JT||e.getModuleId!==void 0)},Ze.typeOf=Yn,c9.exports=Ze;var f9=c9.exports;const eM=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function d9(e){const t=`${e}`.match(eM);return t&&t[1]||""}function p9(e,t=""){return e.displayName||e.name||d9(e)||t}function h9(e,t,n){const r=p9(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function tM(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return p9(e,"Component");if(typeof e=="object")switch(e.$$typeof){case f9.ForwardRef:return h9(e,e.render,"ForwardRef");case f9.Memo:return h9(e,e.type,"memo");default:return}}}const nM=Object.freeze(Object.defineProperty({__proto__:null,default:tM,getFunctionName:d9},Symbol.toStringTag,{value:"Module"})),rM=["ownerState"],oM=["variants"],iM=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function aM(e){return Object.keys(e).length===0}function sM(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Lv(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function m9(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const lM=Ti(),uM=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function np({defaultTheme:e,theme:t,themeId:n}){return aM(t)?e:t[n]||t}function cM(e){return e?(t,n)=>n[e]:null}function rp(e,t,n){let{ownerState:r}=t,o=ae(t,rM);const i=typeof e=="function"?e($({ownerState:r},o)):e;if(Array.isArray(i))return i.flatMap(a=>rp(a,$({ownerState:r},o),n));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:a=[]}=i;let l=ae(i,oM);return a.forEach(u=>{let c=!0;if(typeof u.props=="function"?c=u.props($({ownerState:r},o,r)):Object.keys(u.props).forEach(f=>{(r==null?void 0:r[f])!==u.props[f]&&o[f]!==u.props[f]&&(c=!1)}),c){Array.isArray(l)||(l=[l]);const f=typeof u.style=="function"?u.style($({ownerState:r},o,r)):u.style;l.push(n?m9(Dd(f),n):f)}}),l}return n?m9(Dd(i),n):i}function fM(e={}){const{themeId:t,defaultTheme:n=lM,rootShouldForwardProp:r=Lv,slotShouldForwardProp:o=Lv}=e,i=a=>ts($({},a,{theme:np($({},a,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{X4(a,C=>C.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:f,overridesResolver:d=cM(uM(u))}=s,p=ae(s,iM),v=l&&l.startsWith("Mui")||u?"components":"custom",h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,b=f||!1;let m,g=Lv;u==="Root"||u==="root"?g=r:u?g=o:sM(a)&&(g=void 0);const y=Ov(a,$({shouldForwardProp:g,label:m},p)),w=C=>typeof C=="function"&&C.__emotion_real!==C||co(C)?S=>{const _=np({theme:S.theme,defaultTheme:n,themeId:t});return rp(C,$({},S,{theme:_}),_.modularCssLayers?v:void 0)}:C,x=(C,...S)=>{let _=w(C);const A=S?S.map(w):[];l&&d&&A.push(E=>{const R=np($({},E,{defaultTheme:n,themeId:t}));if(!R.components||!R.components[l]||!R.components[l].styleOverrides)return null;const L=R.components[l].styleOverrides,j={};return Object.entries(L).forEach(([N,D])=>{j[N]=rp(D,$({},E,{theme:R}),R.modularCssLayers?"theme":void 0)}),d(E,j)}),l&&!h&&A.push(E=>{var R;const L=np($({},E,{defaultTheme:n,themeId:t})),j=L==null||(R=L.components)==null||(R=R[l])==null?void 0:R.variants;return rp({variants:j},$({},E,{theme:L}),L.modularCssLayers?"theme":void 0)}),b||A.push(i);const k=A.length-S.length;if(Array.isArray(C)&&k>0){const E=new Array(k).fill("");_=[...C,...E],_.raw=[...C.raw,...E]}const T=y(_,...A);return a.muiName&&(T.muiName=a.muiName),T};return y.withConfig&&(x.withConfig=y.withConfig),x}}const Iv=fM();function op(e,t){const n=$({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=$({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=$({},i),Object.keys(o).forEach(a=>{n[r][a]=op(o[a],i[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function dM(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:op(t.components[n].defaultProps,r)}function Nv({props:e,name:t,defaultTheme:n,themeId:r}){let o=$u(n);return r&&(o=o[r]||o),dM({theme:o,name:t,props:e})}const Rn=typeof window<"u"?O.useLayoutEffect:O.useEffect;function rs(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const pM=Object.freeze(Object.defineProperty({__proto__:null,default:rs},Symbol.toStringTag,{value:"Module"}));function Dv(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Bv(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function hM(e,t){return()=>null}function os(e,t){var n,r;return O.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function _t(e){return e&&e.ownerDocument||document}function Xo(e){return _t(e).defaultView||window}function mM(e,t){return()=>null}function ip(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let v9=0;function vM(e){const[t,n]=O.useState(e),r=e||t;return O.useEffect(()=>{t==null&&(v9+=1,n(`mui-${v9}`))},[t]),r}const y9=nm.useId;function Au(e){if(y9!==void 0){const t=y9();return e??t}return vM(e)}function yM(e,t,n,r,o){return null}function is({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=O.useRef(e!==void 0),[i,a]=O.useState(t),s=o?e:i,l=O.useCallback(u=>{o||a(u)},[]);return[s,l]}function Ln(e){const t=O.useRef(e);return Rn(()=>{t.current=e}),O.useRef((...n)=>(0,t.current)(...n)).current}function ft(...e){return O.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ip(n,t)})},e)}const g9={};function gM(e,t){const n=O.useRef(g9);return n.current===g9&&(n.current=e(t)),n}const bM=[];function xM(e){O.useEffect(e,bM)}class Eu{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Eu}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Mi(){const e=gM(Eu.create).current;return xM(e.disposeEffect),e}let ap=!0,Fv=!1;const wM=new Eu,CM={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 SM(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&CM[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function PM(e){e.metaKey||e.altKey||e.ctrlKey||(ap=!0)}function zv(){ap=!1}function OM(){this.visibilityState==="hidden"&&Fv&&(ap=!0)}function _M(e){e.addEventListener("keydown",PM,!0),e.addEventListener("mousedown",zv,!0),e.addEventListener("pointerdown",zv,!0),e.addEventListener("touchstart",zv,!0),e.addEventListener("visibilitychange",OM,!0)}function $M(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return ap||SM(t)}function sp(){const e=O.useCallback(o=>{o!=null&&_M(o.ownerDocument)},[]),t=O.useRef(!1);function n(){return t.current?(Fv=!0,wM.start(100,()=>{Fv=!1}),t.current=!1,!0):!1}function r(o){return $M(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function b9(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const AM={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function Pe(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}function Fr(e){return typeof e=="string"}function as(e,t,n){return e===void 0||Fr(e)?t:$({},t,{ownerState:$({},t.ownerState,n)})}function ku(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function x9(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function w9(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const p=q(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),v=$({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),h=$({},n,o,r);return p.length>0&&(h.className=p),Object.keys(v).length>0&&(h.style=v),{props:h,internalRef:void 0}}const a=ku($({},o,r)),s=x9(r),l=x9(o),u=t(a),c=q(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),f=$({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=$({},u,n,l,s);return c.length>0&&(d.className=c),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}function C9(e,t,n){return typeof e=="function"?e(t,n):e}const EM=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function fn(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=ae(e,EM),s=i?{}:C9(r,o),{props:l,internalRef:u}=w9($({},a,{externalSlotProps:s})),c=ft(u,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return as(n,$({},l,{ref:c}),o)}function ss(e){if(parseInt(O.version,10)>=19){var t;return(e==null||(t=e.props)==null?void 0:t.ref)||null}return(e==null?void 0:e.ref)||null}const S9=O.createContext(null);function P9(){return O.useContext(S9)}const kM=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function TM(e,t){return typeof t=="function"?t(e):$({},e,t)}function MM(e){const{children:t,theme:n}=e,r=P9(),o=O.useMemo(()=>{const i=r===null?n:TM(r,n);return i!=null&&(i[kM]=r!==null),i},[n,r]);return P.jsx(S9.Provider,{value:o,children:t})}const jM=["value"],O9=O.createContext();function RM(e){let{value:t}=e,n=ae(e,jM);return P.jsx(O9.Provider,$({value:t??!0},n))}const Hv=()=>{const e=O.useContext(O9);return e??!1},_9=O.createContext(void 0);function LM({value:e,children:t}){return P.jsx(_9.Provider,{value:e,children:t})}function IM(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?op(o.defaultProps,r):!o.styleOverrides&&!o.variants?op(o,r):r}function NM({props:e,name:t}){const n=O.useContext(_9);return IM({props:e,name:t,theme:{components:n}})}function DM(e){const t=kv(),n=Au()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!r||t!==null?o="":typeof r=="string"?o=r.replace(/mui(?!\.)/g,o):o=`@layer ${o};`,Rn(()=>{const i=document.querySelector("head");if(!i)return;const a=i.firstChild;if(o){var s;if(a&&(s=a.hasAttribute)!=null&&s.call(a,"data-mui-layer-order")&&a.getAttribute("data-mui-layer-order")===n)return;const u=document.createElement("style");u.setAttribute("data-mui-layer-order",n),u.textContent=o,i.prepend(u)}else{var l;(l=i.querySelector(`style[data-mui-layer-order="${n}"]`))==null||l.remove()}},[o,n]),o?P.jsx(s9,{styles:o}):null}const $9={};function A9(e,t,n,r=!1){return O.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),a=e?$({},t,{[e]:i}):i;return r?()=>a:a}return e?$({},t,{[e]:n}):$({},t,n)},[e,t,n,r])}function BM(e){const{children:t,theme:n,themeId:r}=e,o=kv($9),i=P9()||$9,a=A9(r,o,n),s=A9(r,i,n,!0),l=a.direction==="rtl",u=DM(a);return P.jsx(MM,{theme:s,children:P.jsx(Ja.Provider,{value:a,children:P.jsx(RM,{value:l,children:P.jsxs(LM,{value:a==null?void 0:a.components,children:[u,t]})})})})}const FM=["className","component","disableGutters","fixed","maxWidth","classes"],zM=Ti(),HM=Iv("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ge(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),WM=e=>Nv({props:e,name:"MuiContainer",defaultTheme:zM}),VM=(e,t)=>{const n=l=>we(t,l),{classes:r,fixed:o,disableGutters:i,maxWidth:a}=e,s={root:["root",a&&`maxWidth${ge(String(a))}`,o&&"fixed",i&&"disableGutters"]};return Pe(s,n,r)};function UM(e={}){const{createStyledComponent:t=HM,useThemeProps:n=WM,componentName:r="MuiContainer"}=e,o=t(({theme:a,ownerState:s})=>$({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!s.disableGutters&&{paddingLeft:a.spacing(2),paddingRight:a.spacing(2),[a.breakpoints.up("sm")]:{paddingLeft:a.spacing(3),paddingRight:a.spacing(3)}}),({theme:a,ownerState:s})=>s.fixed&&Object.keys(a.breakpoints.values).reduce((l,u)=>{const c=u,f=a.breakpoints.values[c];return f!==0&&(l[a.breakpoints.up(c)]={maxWidth:`${f}${a.breakpoints.unit}`}),l},{}),({theme:a,ownerState:s})=>$({},s.maxWidth==="xs"&&{[a.breakpoints.up("xs")]:{maxWidth:Math.max(a.breakpoints.values.xs,444)}},s.maxWidth&&s.maxWidth!=="xs"&&{[a.breakpoints.up(s.maxWidth)]:{maxWidth:`${a.breakpoints.values[s.maxWidth]}${a.breakpoints.unit}`}}));return O.forwardRef(function(s,l){const u=n(s),{className:c,component:f="div",disableGutters:d=!1,fixed:p=!1,maxWidth:v="lg"}=u,h=ae(u,FM),b=$({},u,{component:f,disableGutters:d,fixed:p,maxWidth:v}),m=VM(b,r);return P.jsx(o,$({as:f,ownerState:b,className:q(m.root,c),ref:l},h))})}const GM=(e,t)=>e.filter(n=>t.includes(n)),ls=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((o,i)=>{n((a,s)=>{i<=e.keys.length-1&&(i===0?Object.assign(a,s):a[e.up(e.keys[i])]=s)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:GM(e.keys,Object.keys(t))).forEach(i=>{if(e.keys.indexOf(i)!==-1){const a=t[i];a!==void 0&&n((s,l)=>{r===i?Object.assign(s,l):s[e.up(i)]=l},a)}}):(typeof t=="number"||typeof t=="string")&&n((o,i)=>{Object.assign(o,i)},t)};function fo(e){return e?`Level${e}`:""}function Tu(e){return e.unstable_level>0&&e.container}function E9(e){return function(n){return`var(--Grid-${n}Spacing${fo(e.unstable_level)})`}}function Wv(e){return function(n){return e.unstable_level===0?`var(--Grid-${n}Spacing)`:`var(--Grid-${n}Spacing${fo(e.unstable_level-1)})`}}function Vv(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${fo(e.unstable_level-1)})`}const KM=({theme:e,ownerState:t})=>{const n=E9(t),r={};return ls(e.breakpoints,t.gridSize,(o,i)=>{let a={};i===!0&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),i==="auto"&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof i=="number"&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${Vv(t)}${Tu(t)?` + ${n("column")}`:""})`}),o(r,a)}),r},qM=({theme:e,ownerState:t})=>{const n={};return ls(e.breakpoints,t.gridOffset,(r,o)=>{let i={};o==="auto"&&(i={marginLeft:"auto"}),typeof o=="number"&&(i={marginLeft:o===0?"0px":`calc(100% * ${o} / ${Vv(t)})`}),r(n,i)}),n},XM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Tu(t)?{[`--Grid-columns${fo(t.unstable_level)}`]:Vv(t)}:{"--Grid-columns":12};return ls(e.breakpoints,t.columns,(r,o)=>{r(n,{[`--Grid-columns${fo(t.unstable_level)}`]:o})}),n},ZM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Wv(t),r=Tu(t)?{[`--Grid-rowSpacing${fo(t.unstable_level)}`]:n("row")}:{};return ls(e.breakpoints,t.rowSpacing,(o,i)=>{var a;o(r,{[`--Grid-rowSpacing${fo(t.unstable_level)}`]:typeof i=="string"?i:(a=e.spacing)==null?void 0:a.call(e,i)})}),r},YM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Wv(t),r=Tu(t)?{[`--Grid-columnSpacing${fo(t.unstable_level)}`]:n("column")}:{};return ls(e.breakpoints,t.columnSpacing,(o,i)=>{var a;o(r,{[`--Grid-columnSpacing${fo(t.unstable_level)}`]:typeof i=="string"?i:(a=e.spacing)==null?void 0:a.call(e,i)})}),r},QM=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return ls(e.breakpoints,t.direction,(r,o)=>{r(n,{flexDirection:o})}),n},JM=({ownerState:e})=>{const t=E9(e),n=Wv(e);return $({minWidth:0,boxSizing:"border-box"},e.container&&$({display:"flex",flexWrap:"wrap"},e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||Tu(e))&&$({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},ej=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},tj=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([o,i])=>{n(i)&&r.push(`spacing-${o}-${String(i)}`)}),r}return[]},nj=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],rj=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],oj=Ti(),ij=Iv("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function aj(e){return Nv({props:e,name:"MuiGrid",defaultTheme:oj})}function sj(e={}){const{createStyledComponent:t=ij,useThemeProps:n=aj,componentName:r="MuiGrid"}=e,o=O.createContext(void 0),i=(l,u)=>{const{container:c,direction:f,spacing:d,wrap:p,gridSize:v}=l,h={root:["root",c&&"container",p!=="wrap"&&`wrap-xs-${String(p)}`,...nj(f),...ej(v),...c?tj(d,u.breakpoints.keys[0]):[]]};return Pe(h,b=>we(r,b),{})},a=t(XM,YM,ZM,KM,QM,JM,qM),s=O.forwardRef(function(u,c){var f,d,p,v,h,b,m,g;const y=$u(),w=n(u),x=ns(w),C=O.useContext(o),{className:S,children:_,columns:A=12,container:k=!1,component:T="div",direction:E="row",wrap:R="wrap",spacing:L=0,rowSpacing:j=L,columnSpacing:N=L,disableEqualOverflow:D,unstable_level:M=0}=x,B=ae(x,rj);let F=D;M&&D!==void 0&&(F=u.disableEqualOverflow);const K={},H={},Y={};Object.entries(B).forEach(([X,z])=>{y.breakpoints.values[X]!==void 0?K[X]=z:y.breakpoints.values[X.replace("Offset","")]!==void 0?H[X.replace("Offset","")]=z:Y[X]=z});const Z=(f=u.columns)!=null?f:M?void 0:A,ce=(d=u.spacing)!=null?d:M?void 0:L,Q=(p=(v=u.rowSpacing)!=null?v:u.spacing)!=null?p:M?void 0:j,he=(h=(b=u.columnSpacing)!=null?b:u.spacing)!=null?h:M?void 0:N,pe=$({},x,{level:M,columns:Z,container:k,direction:E,wrap:R,spacing:ce,rowSpacing:Q,columnSpacing:he,gridSize:K,gridOffset:H,disableEqualOverflow:(m=(g=F)!=null?g:C)!=null?m:!1,parentDisableEqualOverflow:C}),U=i(pe,y);let le=P.jsx(a,$({ref:c,as:T,ownerState:pe,className:q(U.root,S)},Y,{children:O.Children.map(_,X=>{if(O.isValidElement(X)&&os(X,["Grid"])){var z,ie;return O.cloneElement(X,{unstable_level:(z=(ie=X.props)==null?void 0:ie.unstable_level)!=null?z:M+1})}return X})}));return F!==void 0&&F!==(C??!1)&&(le=P.jsx(o.Provider,{value:F,children:le})),le});return s.muiName="Grid",s}const lj=["component","direction","spacing","divider","children","className","useFlexGap"],uj=Ti(),cj=Iv("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function fj(e){return Nv({props:e,name:"MuiStack",defaultTheme:uj})}function dj(e,t){const n=O.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],hj=({ownerState:e,theme:t})=>{let n=$({display:"flex",flexDirection:"column"},bn({theme:t},Ei({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=Av(t),o=Object.keys(t.breakpoints.values).reduce((l,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(l[u]=!0),l),{}),i=Ei({values:e.direction,base:o}),a=Ei({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((l,u,c)=>{if(!i[l]){const d=u>0?i[c[u-1]]:"column";i[l]=d}}),n=cn(n,bn({theme:t},a,(l,u)=>e.useFlexGap?{gap:ki(r,l)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${pj(u?i[u]:e.direction)}`]:ki(r,l)}}))}return n=eT(t.breakpoints,n),n};function mj(e={}){const{createStyledComponent:t=cj,useThemeProps:n=fj,componentName:r="MuiStack"}=e,o=()=>Pe({root:["root"]},l=>we(r,l),{}),i=t(hj);return O.forwardRef(function(l,u){const c=n(l),f=ns(c),{component:d="div",direction:p="column",spacing:v=0,divider:h,children:b,className:m,useFlexGap:g=!1}=f,y=ae(f,lj),w={direction:p,spacing:v,useFlexGap:g},x=o();return P.jsx(i,$({as:d,ownerState:w,ref:u,className:q(x.root,m)},y,{children:h?dj(b,h):b}))})}function vj(e,t){return $({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var wt={},k9={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(k9);var Uv=k9.exports;const yj=Jr(UE),gj=Jr(pM);var T9=Uv;Object.defineProperty(wt,"__esModule",{value:!0});var xn=wt.alpha=I9;wt.blend=Ej,wt.colorChannel=void 0;var lp=wt.darken=Kv;wt.decomposeColor=Qn,wt.emphasize=N9;var bj=wt.getContrastRatio=Pj;wt.getLuminance=cp,wt.hexToRgb=j9,wt.hslToRgb=L9;var up=wt.lighten=qv;wt.private_safeAlpha=Oj,wt.private_safeColorChannel=void 0,wt.private_safeDarken=_j,wt.private_safeEmphasize=Aj,wt.private_safeLighten=$j,wt.recomposeColor=us,wt.rgbToHex=Sj;var M9=T9(yj),xj=T9(gj);function Gv(e,t=0,n=1){return(0,xj.default)(e,t,n)}function j9(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function wj(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Qn(e){if(e.type)return e;if(e.charAt(0)==="#")return Qn(j9(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,M9.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,M9.default)(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const R9=e=>{const t=Qn(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};wt.colorChannel=R9;const Cj=(e,t)=>{try{return R9(e)}catch{return e}};wt.private_safeColorChannel=Cj;function us(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Sj(e){if(e.indexOf("#")===0)return e;const{values:t}=Qn(e);return`#${t.map((n,r)=>wj(r===3?Math.round(255*n):n)).join("")}`}function L9(e){e=Qn(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let s="rgb";const l=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),us({type:s,values:l})}function cp(e){e=Qn(e);let t=e.type==="hsl"||e.type==="hsla"?Qn(L9(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Pj(e,t){const n=cp(e),r=cp(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function I9(e,t){return e=Qn(e),t=Gv(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,us(e)}function Oj(e,t,n){try{return I9(e,t)}catch{return e}}function Kv(e,t){if(e=Qn(e),t=Gv(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return us(e)}function _j(e,t,n){try{return Kv(e,t)}catch{return e}}function qv(e,t){if(e=Qn(e),t=Gv(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return us(e)}function $j(e,t,n){try{return qv(e,t)}catch{return e}}function N9(e,t=.15){return cp(e)>.5?Kv(e,t):qv(e,t)}function Aj(e,t,n){try{return N9(e,t)}catch{return e}}function Ej(e,t,n,r=1){const o=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),i=Qn(e),a=Qn(t),s=[o(i.values[0],a.values[0]),o(i.values[1],a.values[1]),o(i.values[2],a.values[2])];return us({type:"rgb",values:s})}const kj=["mode","contrastThreshold","tonalOffset"],D9={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:vu.white,default:vu.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}},Xv={text:{primary:vu.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:vu.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 B9(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=up(e.main,o):t==="dark"&&(e.dark=lp(e.main,i)))}function Tj(e="light"){return e==="dark"?{main:Ga[200],light:Ga[50],dark:Ga[400]}:{main:Ga[700],light:Ga[400],dark:Ga[800]}}function Mj(e="light"){return e==="dark"?{main:Ua[200],light:Ua[50],dark:Ua[400]}:{main:Ua[500],light:Ua[300],dark:Ua[700]}}function jj(e="light"){return e==="dark"?{main:Va[500],light:Va[300],dark:Va[700]}:{main:Va[700],light:Va[400],dark:Va[800]}}function Rj(e="light"){return e==="dark"?{main:Ka[400],light:Ka[300],dark:Ka[700]}:{main:Ka[700],light:Ka[500],dark:Ka[900]}}function Lj(e="light"){return e==="dark"?{main:qa[400],light:qa[300],dark:qa[700]}:{main:qa[800],light:qa[500],dark:qa[900]}}function Ij(e="light"){return e==="dark"?{main:yu[400],light:yu[300],dark:yu[700]}:{main:"#ed6c02",light:yu[500],dark:yu[900]}}function Nj(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=ae(e,kj),i=e.primary||Tj(t),a=e.secondary||Mj(t),s=e.error||jj(t),l=e.info||Rj(t),u=e.success||Lj(t),c=e.warning||Ij(t);function f(h){return bj(h,Xv.text.primary)>=n?Xv.text.primary:D9.text.primary}const d=({color:h,name:b,mainShade:m=500,lightShade:g=300,darkShade:y=700})=>{if(h=$({},h),!h.main&&h[m]&&(h.main=h[m]),!h.hasOwnProperty("main"))throw new Error(Ai(11,b?` (${b})`:"",m));if(typeof h.main!="string")throw new Error(Ai(12,b?` (${b})`:"",JSON.stringify(h.main)));return B9(h,"light",g,r),B9(h,"dark",y,r),h.contrastText||(h.contrastText=f(h.main)),h},p={dark:Xv,light:D9};return cn($({common:$({},vu),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:u,name:"success"}),grey:VE,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},p[t]),o)}const Dj=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Bj(e){return Math.round(e*1e5)/1e5}const F9={textTransform:"uppercase"},z9='"Roboto", "Helvetica", "Arial", sans-serif';function Fj(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=z9,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,d=ae(n,Dj),p=o/14,v=f||(m=>`${m/u*p}rem`),h=(m,g,y,w,x)=>$({fontFamily:r,fontWeight:m,fontSize:v(g),lineHeight:y},r===z9?{letterSpacing:`${Bj(w/g)}em`}:{},x,c),b={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(s,14,1.75,.4,F9),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,F9),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return cn($({htmlFontSize:u,pxToRem:v,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},b),d,{clone:!1})}const zj=.2,Hj=.14,Wj=.12;function at(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${zj})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Hj})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Wj})`].join(",")}const Vj=["none",at(0,2,1,-1,0,1,1,0,0,1,3,0),at(0,3,1,-2,0,2,2,0,0,1,5,0),at(0,3,3,-2,0,3,4,0,0,1,8,0),at(0,2,4,-1,0,4,5,0,0,1,10,0),at(0,3,5,-1,0,5,8,0,0,1,14,0),at(0,3,5,-1,0,6,10,0,0,1,18,0),at(0,4,5,-2,0,7,10,1,0,2,16,1),at(0,5,5,-3,0,8,10,1,0,3,14,2),at(0,5,6,-3,0,9,12,1,0,3,16,2),at(0,6,6,-3,0,10,14,1,0,4,18,3),at(0,6,7,-4,0,11,15,1,0,4,20,3),at(0,7,8,-4,0,12,17,2,0,5,22,4),at(0,7,8,-4,0,13,19,2,0,5,24,4),at(0,7,9,-4,0,14,21,2,0,5,26,4),at(0,8,9,-5,0,15,22,2,0,6,28,5),at(0,8,10,-5,0,16,24,2,0,6,30,5),at(0,8,11,-5,0,17,26,2,0,6,32,5),at(0,9,11,-5,0,18,28,2,0,7,34,6),at(0,9,12,-6,0,19,29,2,0,7,36,6),at(0,10,13,-6,0,20,31,3,0,8,38,7),at(0,10,13,-6,0,21,33,3,0,8,40,7),at(0,10,14,-6,0,22,35,3,0,8,42,7),at(0,11,14,-7,0,23,36,3,0,9,44,8),at(0,11,15,-7,0,24,38,3,0,9,46,8)],Uj=["duration","easing","delay"],Gj={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)"},H9={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function W9(e){return`${Math.round(e)}ms`}function Kj(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function qj(e){const t=$({},Gj,e.easing),n=$({},H9,e.duration);return $({getAutoHeightDuration:Kj,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:l=0}=i;return ae(i,Uj),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof a=="string"?a:W9(a)} ${s} ${typeof l=="string"?l:W9(l)}`).join(",")}},e,{easing:t,duration:n})}const Xj={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Zj=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function fp(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=ae(e,Zj);if(e.vars&&e.generateCssVars===void 0)throw new Error(Ai(18));const s=Nj(r),l=Ti(e);let u=cn(l,{mixins:vj(l.breakpoints,n),palette:s,shadows:Vj.slice(),typography:Fj(s,i),transitions:qj(o),zIndex:$({},Xj)});return u=cn(u,a),u=t.reduce((c,f)=>cn(c,f),u),u.unstable_sxConfig=$({},_u,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(f){return ts({sx:f,theme:this})},u}const Zv=fp();function po(){const e=$u(Zv);return e[Xa]||e}var Mu={},Yv={exports:{}},V9;function Yj(){return V9||(V9=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(r.indexOf(i)!==-1)continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Yv)),Yv.exports}const U9=Jr(Xk),Qj=Jr(Zk),Jj=Jr(nT),eR=Jr(nM),tR=Jr(WT),nR=Jr(qT);var cs=Uv;Object.defineProperty(Mu,"__esModule",{value:!0});var rR=Mu.default=vR;Mu.shouldForwardProp=pp,Mu.systemDefaultTheme=void 0;var Jn=cs(Mk()),Qv=cs(Yj()),dp=cR(U9),oR=Qj;cs(Jj),cs(eR);var iR=cs(tR),aR=cs(nR);const sR=["ownerState"],lR=["variants"],uR=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function G9(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(G9=function(r){return r?n:t})(e)}function cR(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=G9(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function fR(e){return Object.keys(e).length===0}function dR(e){return typeof e=="string"&&e.charCodeAt(0)>96}function pp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function K9(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const pR=Mu.systemDefaultTheme=(0,iR.default)(),hR=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function hp({defaultTheme:e,theme:t,themeId:n}){return fR(t)?e:t[n]||t}function mR(e){return e?(t,n)=>n[e]:null}function mp(e,t,n){let{ownerState:r}=t,o=(0,Qv.default)(t,sR);const i=typeof e=="function"?e((0,Jn.default)({ownerState:r},o)):e;if(Array.isArray(i))return i.flatMap(a=>mp(a,(0,Jn.default)({ownerState:r},o),n));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:a=[]}=i;let l=(0,Qv.default)(i,lR);return a.forEach(u=>{let c=!0;if(typeof u.props=="function"?c=u.props((0,Jn.default)({ownerState:r},o,r)):Object.keys(u.props).forEach(f=>{(r==null?void 0:r[f])!==u.props[f]&&o[f]!==u.props[f]&&(c=!1)}),c){Array.isArray(l)||(l=[l]);const f=typeof u.style=="function"?u.style((0,Jn.default)({ownerState:r},o,r)):u.style;l.push(n?K9((0,dp.internal_serializeStyles)(f),n):f)}}),l}return n?K9((0,dp.internal_serializeStyles)(i),n):i}function vR(e={}){const{themeId:t,defaultTheme:n=pR,rootShouldForwardProp:r=pp,slotShouldForwardProp:o=pp}=e,i=a=>(0,aR.default)((0,Jn.default)({},a,{theme:hp((0,Jn.default)({},a,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{(0,dp.internal_processStyles)(a,C=>C.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:f,overridesResolver:d=mR(hR(u))}=s,p=(0,Qv.default)(s,uR),v=l&&l.startsWith("Mui")||u?"components":"custom",h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,b=f||!1;let m,g=pp;u==="Root"||u==="root"?g=r:u?g=o:dR(a)&&(g=void 0);const y=(0,dp.default)(a,(0,Jn.default)({shouldForwardProp:g,label:m},p)),w=C=>typeof C=="function"&&C.__emotion_real!==C||(0,oR.isPlainObject)(C)?S=>{const _=hp({theme:S.theme,defaultTheme:n,themeId:t});return mp(C,(0,Jn.default)({},S,{theme:_}),_.modularCssLayers?v:void 0)}:C,x=(C,...S)=>{let _=w(C);const A=S?S.map(w):[];l&&d&&A.push(E=>{const R=hp((0,Jn.default)({},E,{defaultTheme:n,themeId:t}));if(!R.components||!R.components[l]||!R.components[l].styleOverrides)return null;const L=R.components[l].styleOverrides,j={};return Object.entries(L).forEach(([N,D])=>{j[N]=mp(D,(0,Jn.default)({},E,{theme:R}),R.modularCssLayers?"theme":void 0)}),d(E,j)}),l&&!h&&A.push(E=>{var R;const L=hp((0,Jn.default)({},E,{defaultTheme:n,themeId:t})),j=L==null||(R=L.components)==null||(R=R[l])==null?void 0:R.variants;return mp({variants:j},(0,Jn.default)({},E,{theme:L}),L.modularCssLayers?"theme":void 0)}),b||A.push(i);const k=A.length-S.length;if(Array.isArray(C)&&k>0){const E=new Array(k).fill("");_=[...C,...E],_.raw=[...C.raw,...E]}const T=y(_,...A);return a.muiName&&(T.muiName=a.muiName),T};return y.withConfig&&(x.withConfig=y.withConfig),x}}function vp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zr=e=>vp(e)&&e!=="classes",se=rR({themeId:Xa,defaultTheme:Zv,rootShouldForwardProp:zr}),yR=["theme"];function q9(e){let{theme:t}=e,n=ae(e,yR);const r=t[Xa];let o=r||t;return typeof t!="function"&&(r&&!r.vars?o=$({},r,{vars:null}):t&&!t.vars&&(o=$({},t,{vars:null}))),P.jsx(BM,$({},n,{themeId:r?Xa:void 0,theme:o}))}const X9=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Oe(e){return NM(e)}function gR(e){return we("MuiSvgIcon",e)}Se("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const bR=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],xR=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ge(t)}`,`fontSize${ge(n)}`]};return Pe(o,gR,r)},wR=se("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ge(n.color)}`],t[`fontSize${ge(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,u,c,f,d,p,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:(f=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?f:{action:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),yp=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,p=ae(r,bR),v=O.isValidElement(o)&&o.type==="svg",h=$({},r,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:v}),b={};c||(b.viewBox=d);const m=xR(h);return P.jsxs(wR,$({as:s,className:q(m.root,i),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},b,p,v&&o.props,{ownerState:h,children:[v?o.props.children:o,f?P.jsx("title",{children:f}):null]}))});yp.muiName="SvgIcon";function Jv(e,t){function n(r,o){return P.jsx(yp,$({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=yp.muiName,O.memo(O.forwardRef(n))}const CR=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ge,createChainedFunction:Dv,createSvgIcon:Jv,debounce:Bv,deprecatedPropType:hM,isMuiElement:os,ownerDocument:_t,ownerWindow:Xo,requirePropFactory:mM,setRef:ip,unstable_ClassNameGenerator:{configure:e=>{Mv.configure(e)}},unstable_useEnhancedEffect:Rn,unstable_useId:Au,unsupportedProp:yM,useControlled:is,useEventCallback:Ln,useForkRef:ft,useIsFocusVisible:sp},Symbol.toStringTag,{value:"Module"}));function ey(e,t){return ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ey(e,t)}function Z9(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ey(e,t)}const Y9={disabled:!1},gp=I.createContext(null);var ju="unmounted",ji="exited",Ri="entering",fs="entered",ty="exiting",Cr=function(e){Z9(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,s=a&&!a.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?s?(l=ji,i.appearStatus=Ri):l=fs:r.unmountOnExit||r.mountOnEnter?l=ju:l=ji,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===ju?{status:ji}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==Ri&&a!==fs&&(i=Ri):(a===Ri||a===fs)&&(i=ty)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,s;return i=a=s=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,s=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:s}},n.updateStatus=function(o,i){o===void 0&&(o=!1),i!==null?(this.cancelNextCallback(),i===Ri?((this.props.unmountOnExit||this.props.mountOnEnter)&&(this.props.nodeRef?this.props.nodeRef.current:Ad.findDOMNode(this)),this.performEnter(o)):this.performExit()):this.props.unmountOnExit&&this.state.status===ji&&this.setState({status:ju})},n.performEnter=function(o){var i=this,a=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[Ad.findDOMNode(this),s],u=l[0],c=l[1],f=this.getTimeouts(),d=s?f.appear:f.enter;if(!o&&!a||Y9.disabled){this.safeSetState({status:fs},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Ri},function(){i.props.onEntering(u,c),i.onTransitionEnd(d,function(){i.safeSetState({status:fs},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),s=this.props.nodeRef?void 0:Ad.findDOMNode(this);if(!i||Y9.disabled){this.safeSetState({status:ji},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:ty},function(){o.props.onExiting(s),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:ji},function(){o.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,a=!0;return this.nextCallback=function(s){a&&(a=!1,i.nextCallback=null,o(s))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:Ad.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!a||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ju)return null;var i=this.props,a=i.children,s=ae(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return I.createElement(gp.Provider,{value:null},typeof a=="function"?a(o,s):I.cloneElement(I.Children.only(a),s))},t}(I.Component);Cr.contextType=gp,Cr.propTypes={};function ds(){}Cr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ds,onEntering:ds,onEntered:ds,onExit:ds,onExiting:ds,onExited:ds},Cr.UNMOUNTED=ju,Cr.EXITED=ji,Cr.ENTERING=Ri,Cr.ENTERED=fs,Cr.EXITING=ty;function SR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ny(e,t){var n=function(i){return t&&O.isValidElement(i)?t(i):i},r=Object.create(null);return e&&O.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function PR(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(r[l])for(a=0;a{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Pe(r,ER,n)},MR=se("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>$({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&$({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),jR=se("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>$({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),RR=se("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>$({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),Q9=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:s="0px",component:l,easing:u,in:c,onEnter:f,onEntered:d,onEntering:p,onExit:v,onExited:h,onExiting:b,orientation:m="vertical",style:g,timeout:y=H9.standard,TransitionComponent:w=Cr}=r,x=ae(r,kR),C=$({},r,{orientation:m,collapsedSize:s}),S=TR(C),_=po(),A=Mi(),k=O.useRef(null),T=O.useRef(),E=typeof s=="number"?`${s}px`:s,R=m==="horizontal",L=R?"width":"height",j=O.useRef(null),N=ft(n,j),D=Q=>he=>{if(Q){const pe=j.current;he===void 0?Q(pe):Q(pe,he)}},M=()=>k.current?k.current[R?"clientWidth":"clientHeight"]:0,B=D((Q,he)=>{k.current&&R&&(k.current.style.position="absolute"),Q.style[L]=E,f&&f(Q,he)}),F=D((Q,he)=>{const pe=M();k.current&&R&&(k.current.style.position="");const{duration:U,easing:le}=ps({style:g,timeout:y,easing:u},{mode:"enter"});if(y==="auto"){const X=_.transitions.getAutoHeightDuration(pe);Q.style.transitionDuration=`${X}ms`,T.current=X}else Q.style.transitionDuration=typeof U=="string"?U:`${U}ms`;Q.style[L]=`${pe}px`,Q.style.transitionTimingFunction=le,p&&p(Q,he)}),K=D((Q,he)=>{Q.style[L]="auto",d&&d(Q,he)}),H=D(Q=>{Q.style[L]=`${M()}px`,v&&v(Q)}),Y=D(h),Z=D(Q=>{const he=M(),{duration:pe,easing:U}=ps({style:g,timeout:y,easing:u},{mode:"exit"});if(y==="auto"){const le=_.transitions.getAutoHeightDuration(he);Q.style.transitionDuration=`${le}ms`,T.current=le}else Q.style.transitionDuration=typeof pe=="string"?pe:`${pe}ms`;Q.style[L]=E,Q.style.transitionTimingFunction=U,b&&b(Q)}),ce=Q=>{y==="auto"&&A.start(T.current||0,Q),o&&o(j.current,Q)};return P.jsx(w,$({in:c,onEnter:B,onEntered:K,onEntering:F,onExit:H,onExited:Y,onExiting:Z,addEndListener:ce,nodeRef:j,timeout:y==="auto"?null:y},x,{children:(Q,he)=>P.jsx(MR,$({as:l,className:q(S.root,a,{entered:S.entered,exited:!c&&E==="0px"&&S.hidden}[Q]),style:$({[R?"minWidth":"minHeight"]:E},g),ref:N},he,{ownerState:$({},C,{state:Q}),children:P.jsx(jR,{ownerState:$({},C,{state:Q}),className:S.wrapper,ref:k,children:P.jsx(RR,{ownerState:$({},C,{state:Q}),className:S.wrapperInner,children:i})})}))}))});Q9.muiSupportAuto=!0;function LR(e){return we("MuiPaper",e)}Se("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 IR=["className","component","elevation","square","variant"],NR=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Pe(i,LR,o)},DR=se("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return $({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&$({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${xn("#fff",X9(t.elevation))}, ${xn("#fff",X9(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Ru=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:s=!1,variant:l="elevation"}=r,u=ae(r,IR),c=$({},r,{component:i,elevation:a,square:s,variant:l}),f=NR(c);return P.jsx(DR,$({as:i,ownerState:c,className:q(f.root,o),ref:n},u))}),J9=O.createContext({}),BR=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],FR=["component","slots","slotProps"],zR=["component"];function HR(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:s}=t,l=ae(t,BR),{slots:u={[e]:void 0},slotProps:c={[e]:void 0}}=i;ae(i,FR);const f=u[e]||r,d=C9(c[e],o),p=w9($({className:n},l,{externalForwardedProps:void 0,externalSlotProps:d})),{props:{component:v},internalRef:h}=p,b=ae(p.props,zR),m=ft(h,d==null?void 0:d.ref,t.ref),g=a?a(b):{},y=$({},o,g),w=v,x=as(f,$({},e==="root",!u[e]&&s,b,w&&{as:w},{ref:m}),y);return Object.keys(g).forEach(C=>{delete x[C]}),[f,x]}function WR(e){return we("MuiAccordion",e)}const bp=Se("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),VR=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],UR=e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e;return Pe({root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]},WR,t)},GR=se(Ru,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bp.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${bp.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${bp.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}},({theme:e})=>({variants:[{props:t=>!t.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:t=>!t.disableGutters,style:{[`&.${bp.expanded}`]:{margin:"16px 0"}}}]})),KR=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:a=!1,disabled:s=!1,disableGutters:l=!1,expanded:u,onChange:c,square:f=!1,slots:d={},slotProps:p={},TransitionComponent:v,TransitionProps:h}=r,b=ae(r,VR),[m,g]=is({controlled:u,default:a,name:"Accordion",state:"expanded"}),y=O.useCallback(R=>{g(!m),c&&c(R,!m)},[m,c,g]),[w,...x]=O.Children.toArray(o),C=O.useMemo(()=>({expanded:m,disabled:s,disableGutters:l,toggle:y}),[m,s,l,y]),S=$({},r,{square:f,disabled:s,disableGutters:l,expanded:m}),_=UR(S),A=$({transition:v},d),k=$({transition:h},p),[T,E]=HR("transition",{elementType:Q9,externalForwardedProps:{slots:A,slotProps:k},ownerState:S});return P.jsxs(GR,$({className:q(_.root,i),ref:n,ownerState:S,square:f},b,{children:[P.jsx(J9.Provider,{value:C,children:w}),P.jsx(T,$({in:m,timeout:"auto"},E,{children:P.jsx("div",{"aria-labelledby":w.props.id,id:w.props["aria-controls"],role:"region",className:_.region,children:x})}))]}))});function qR(e){return we("MuiAccordionDetails",e)}Se("MuiAccordionDetails",["root"]);const XR=["className"],ZR=e=>{const{classes:t}=e;return Pe({root:["root"]},qR,t)},YR=se("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)})),QR=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiAccordionDetails"}),{className:o}=r,i=ae(r,XR),a=r,s=ZR(a);return P.jsx(YR,$({className:q(s.root,o),ref:n,ownerState:a},i))});function JR(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:l,timeout:u}=e,[c,f]=O.useState(!1),d=q(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},v=q(n.child,c&&n.childLeaving,r&&n.childPulsate);return!s&&!c&&f(!0),O.useEffect(()=>{if(!s&&l!=null){const h=setTimeout(l,u);return()=>{clearTimeout(h)}}},[l,s,u]),P.jsx("span",{className:d,style:p,children:P.jsx("span",{className:v})})}const er=Se("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),eL=["center","classes","className"];let xp=e=>e,e6,t6,n6,r6;const oy=550,tL=80,nL=Nd(e6||(e6=xp` 0% { transform: scale(0); opacity: 0.1; } 100% { transform: scale(1); opacity: 0.3; } `)),rL=Nd(t6||(t6=xp` 0% { opacity: 1; } 100% { opacity: 0; } `)),oL=Nd(n6||(n6=xp` 0% { transform: scale(1); } 50% { transform: scale(0.92); } 100% { transform: scale(1); } `)),iL=se("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),aL=se(JR,{name:"MuiTouchRipple",slot:"Ripple"})(r6||(r6=xp` 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; } `),er.rippleVisible,nL,oy,({theme:e})=>e.transitions.easing.easeInOut,er.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,er.child,er.childLeaving,rL,oy,({theme:e})=>e.transitions.easing.easeInOut,er.childPulsate,oL,({theme:e})=>e.transitions.easing.easeInOut),sL=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=r,s=ae(r,eL),[l,u]=O.useState([]),c=O.useRef(0),f=O.useRef(null);O.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=O.useRef(!1),p=Mi(),v=O.useRef(null),h=O.useRef(null),b=O.useCallback(w=>{const{pulsate:x,rippleX:C,rippleY:S,rippleSize:_,cb:A}=w;u(k=>[...k,P.jsx(aL,{classes:{ripple:q(i.ripple,er.ripple),rippleVisible:q(i.rippleVisible,er.rippleVisible),ripplePulsate:q(i.ripplePulsate,er.ripplePulsate),child:q(i.child,er.child),childLeaving:q(i.childLeaving,er.childLeaving),childPulsate:q(i.childPulsate,er.childPulsate)},timeout:oy,pulsate:x,rippleX:C,rippleY:S,rippleSize:_},c.current)]),c.current+=1,f.current=A},[i]),m=O.useCallback((w={},x={},C=()=>{})=>{const{pulsate:S=!1,center:_=o||x.pulsate,fakeElement:A=!1}=x;if((w==null?void 0:w.type)==="mousedown"&&d.current){d.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(d.current=!0);const k=A?null:h.current,T=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let E,R,L;if(_||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)E=Math.round(T.width/2),R=Math.round(T.height/2);else{const{clientX:j,clientY:N}=w.touches&&w.touches.length>0?w.touches[0]:w;E=Math.round(j-T.left),R=Math.round(N-T.top)}if(_)L=Math.sqrt((2*T.width**2+T.height**2)/3),L%2===0&&(L+=1);else{const j=Math.max(Math.abs((k?k.clientWidth:0)-E),E)*2+2,N=Math.max(Math.abs((k?k.clientHeight:0)-R),R)*2+2;L=Math.sqrt(j**2+N**2)}w!=null&&w.touches?v.current===null&&(v.current=()=>{b({pulsate:S,rippleX:E,rippleY:R,rippleSize:L,cb:C})},p.start(tL,()=>{v.current&&(v.current(),v.current=null)})):b({pulsate:S,rippleX:E,rippleY:R,rippleSize:L,cb:C})},[o,b,p]),g=O.useCallback(()=>{m({},{pulsate:!0})},[m]),y=O.useCallback((w,x)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&v.current){v.current(),v.current=null,p.start(0,()=>{y(w,x)});return}v.current=null,u(C=>C.length>0?C.slice(1):C),f.current=x},[p]);return O.useImperativeHandle(n,()=>({pulsate:g,start:m,stop:y}),[g,m,y]),P.jsx(iL,$({className:q(er.root,i.root,a),ref:h},s,{children:P.jsx(ry,{component:null,exit:!0,children:l})}))});function lL(e){return we("MuiButtonBase",e)}const uL=Se("MuiButtonBase",["root","disabled","focusVisible"]),cL=["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"],fL=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Pe({root:["root",t&&"disabled",n&&"focusVisible"]},lL,o);return n&&r&&(a.root+=` ${r}`),a},dL=se("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${uL.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),o6=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:p="a",onBlur:v,onClick:h,onContextMenu:b,onDragLeave:m,onFocus:g,onFocusVisible:y,onKeyDown:w,onKeyUp:x,onMouseDown:C,onMouseLeave:S,onMouseUp:_,onTouchEnd:A,onTouchMove:k,onTouchStart:T,tabIndex:E=0,TouchRippleProps:R,touchRippleRef:L,type:j}=r,N=ae(r,cL),D=O.useRef(null),M=O.useRef(null),B=ft(M,L),{isFocusVisibleRef:F,onFocus:K,onBlur:H,ref:Y}=sp(),[Z,ce]=O.useState(!1);u&&Z&&ce(!1),O.useImperativeHandle(o,()=>({focusVisible:()=>{ce(!0),D.current.focus()}}),[]);const[Q,he]=O.useState(!1);O.useEffect(()=>{he(!0)},[]);const pe=Q&&!c&&!u;O.useEffect(()=>{Z&&d&&!c&&Q&&M.current.pulsate()},[c,d,Z,Q]);function U(V,ue,Ae=f){return Ln($e=>(ue&&ue($e),!Ae&&M.current&&M.current[V]($e),!0))}const le=U("start",C),X=U("stop",b),z=U("stop",m),ie=U("stop",_),ee=U("stop",V=>{Z&&V.preventDefault(),S&&S(V)}),oe=U("start",T),ve=U("stop",A),Ee=U("stop",k),ke=U("stop",V=>{H(V),F.current===!1&&ce(!1),v&&v(V)},!1),Qe=Ln(V=>{D.current||(D.current=V.currentTarget),K(V),F.current===!0&&(ce(!0),y&&y(V)),g&&g(V)}),ye=()=>{const V=D.current;return l&&l!=="button"&&!(V.tagName==="A"&&V.href)},xe=O.useRef(!1),Ge=Ln(V=>{d&&!xe.current&&Z&&M.current&&V.key===" "&&(xe.current=!0,M.current.stop(V,()=>{M.current.start(V)})),V.target===V.currentTarget&&ye()&&V.key===" "&&V.preventDefault(),w&&w(V),V.target===V.currentTarget&&ye()&&V.key==="Enter"&&!u&&(V.preventDefault(),h&&h(V))}),Ke=Ln(V=>{d&&V.key===" "&&M.current&&Z&&!V.defaultPrevented&&(xe.current=!1,M.current.stop(V,()=>{M.current.pulsate(V)})),x&&x(V),h&&V.target===V.currentTarget&&ye()&&V.key===" "&&!V.defaultPrevented&&h(V)});let je=l;je==="button"&&(N.href||N.to)&&(je=p);const dt={};je==="button"?(dt.type=j===void 0?"button":j,dt.disabled=u):(!N.href&&!N.to&&(dt.role="button"),u&&(dt["aria-disabled"]=u));const kt=ft(n,Y,D),St=$({},r,{centerRipple:i,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:E,focusVisible:Z}),G=fL(St);return P.jsxs(dL,$({as:je,className:q(G.root,s),ownerState:St,onBlur:ke,onClick:h,onContextMenu:X,onFocus:Qe,onKeyDown:Ge,onKeyUp:Ke,onMouseDown:le,onMouseLeave:ee,onMouseUp:ie,onDragLeave:z,onTouchEnd:ve,onTouchMove:Ee,onTouchStart:oe,ref:kt,tabIndex:u?-1:E,type:j},dt,N,{children:[a,pe?P.jsx(sL,$({ref:B,center:i},R)):null]}))});function pL(e){return we("MuiAccordionSummary",e)}const hs=Se("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),hL=["children","className","expandIcon","focusVisibleClassName","onClick"],mL=e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e;return Pe({root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]},pL,t)},vL=se(o6,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${hs.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${hs.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${hs.disabled})`]:{cursor:"pointer"},variants:[{props:n=>!n.disableGutters,style:{[`&.${hs.expanded}`]:{minHeight:64}}}]}}),yL=se("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:t=>!t.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${hs.expanded}`]:{margin:"20px 0"}}}]})),gL=se("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${hs.expanded}`]:{transform:"rotate(180deg)"}})),bL=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:a,focusVisibleClassName:s,onClick:l}=r,u=ae(r,hL),{disabled:c=!1,disableGutters:f,expanded:d,toggle:p}=O.useContext(J9),v=m=>{p&&p(m),l&&l(m)},h=$({},r,{expanded:d,disabled:c,disableGutters:f}),b=mL(h);return P.jsxs(vL,$({focusRipple:!1,disableRipple:!0,disabled:c,component:"div","aria-expanded":d,className:q(b.root,i),focusVisibleClassName:q(b.focusVisible,s),onClick:v,ref:n,ownerState:h},u,{children:[P.jsx(yL,{className:b.content,ownerState:h,children:o}),a&&P.jsx(gL,{className:b.expandIconWrapper,ownerState:h,children:a})]}))});function xL(e){return we("MuiTypography",e)}Se("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const wL=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],CL=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,e.align!=="inherit"&&`align${ge(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Pe(s,xL,a)},SL=se("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ge(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>$({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),i6={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},PL={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},OL=e=>PL[e]||e,re=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTypography"}),o=OL(r.color),i=ns($({},r,{color:o})),{align:a="inherit",className:s,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:f=!1,variant:d="body1",variantMapping:p=i6}=i,v=ae(i,wL),h=$({},i,{align:a,color:o,className:s,component:l,gutterBottom:u,noWrap:c,paragraph:f,variant:d,variantMapping:p}),b=l||(f?"p":p[d]||i6[d])||"span",m=CL(h);return P.jsx(SL,$({as:b,ref:n,ownerState:h,className:q(m.root,s)},v))});var iy={};Object.defineProperty(iy,"__esModule",{value:!0});var a6=iy.default=void 0,_L=AL(O),$L=U9;function s6(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(s6=function(r){return r?n:t})(e)}function AL(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=s6(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function EL(e){return Object.keys(e).length===0}function kL(e=null){const t=_L.useContext($L.ThemeContext);return!t||EL(t)?e:t}a6=iy.default=kL;var wn="top",tr="bottom",nr="right",Cn="left",ay="auto",Lu=[wn,tr,nr,Cn],ms="start",Iu="end",TL="clippingParents",l6="viewport",Nu="popper",ML="reference",u6=Lu.reduce(function(e,t){return e.concat([t+"-"+ms,t+"-"+Iu])},[]),c6=[].concat(Lu,[ay]).reduce(function(e,t){return e.concat([t,t+"-"+ms,t+"-"+Iu])},[]),jL="beforeRead",RL="read",LL="afterRead",IL="beforeMain",NL="main",DL="afterMain",BL="beforeWrite",FL="write",zL="afterWrite",HL=[jL,RL,LL,IL,NL,DL,BL,FL,zL];function Hr(e){return e?(e.nodeName||"").toLowerCase():null}function In(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ii(e){var t=In(e).Element;return e instanceof t||e instanceof Element}function rr(e){var t=In(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function sy(e){if(typeof ShadowRoot>"u")return!1;var t=In(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function WL(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!rr(i)||!Hr(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function VL(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],i=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=a.reduce(function(l,u){return l[u]="",l},{});!rr(o)||!Hr(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const UL={name:"applyStyles",enabled:!0,phase:"write",fn:WL,effect:VL,requires:["computeStyles"]};function Wr(e){return e.split("-")[0]}var Ni=Math.max,wp=Math.min,vs=Math.round;function ly(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function f6(){return!/^((?!chrome|android).)*safari/i.test(ly())}function ys(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&rr(e)&&(o=e.offsetWidth>0&&vs(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&vs(r.height)/e.offsetHeight||1);var a=Ii(e)?In(e):window,s=a.visualViewport,l=!f6()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/o,c=(r.top+(l&&s?s.offsetTop:0))/i,f=r.width/o,d=r.height/i;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function uy(e){var t=ys(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function d6(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&sy(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ho(e){return In(e).getComputedStyle(e)}function GL(e){return["table","td","th"].indexOf(Hr(e))>=0}function Zo(e){return((Ii(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cp(e){return Hr(e)==="html"?e:e.assignedSlot||e.parentNode||(sy(e)?e.host:null)||Zo(e)}function p6(e){return!rr(e)||ho(e).position==="fixed"?null:e.offsetParent}function KL(e){var t=/firefox/i.test(ly()),n=/Trident/i.test(ly());if(n&&rr(e)){var r=ho(e);if(r.position==="fixed")return null}var o=Cp(e);for(sy(o)&&(o=o.host);rr(o)&&["html","body"].indexOf(Hr(o))<0;){var i=ho(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Du(e){for(var t=In(e),n=p6(e);n&&GL(n)&&ho(n).position==="static";)n=p6(n);return n&&(Hr(n)==="html"||Hr(n)==="body"&&ho(n).position==="static")?t:n||KL(e)||t}function cy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Bu(e,t,n){return Ni(e,wp(t,n))}function qL(e,t,n){var r=Bu(e,t,n);return r>n?n:r}function h6(){return{top:0,right:0,bottom:0,left:0}}function m6(e){return Object.assign({},h6(),e)}function v6(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var XL=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,m6(typeof t!="number"?t:v6(t,Lu))};function ZL(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Wr(n.placement),l=cy(s),u=[Cn,nr].indexOf(s)>=0,c=u?"height":"width";if(!(!i||!a)){var f=XL(o.padding,n),d=uy(i),p=l==="y"?wn:Cn,v=l==="y"?tr:nr,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],b=a[l]-n.rects.reference[l],m=Du(i),g=m?l==="y"?m.clientHeight||0:m.clientWidth||0:0,y=h/2-b/2,w=f[p],x=g-d[c]-f[v],C=g/2-d[c]/2+y,S=Bu(w,C,x),_=l;n.modifiersData[r]=(t={},t[_]=S,t.centerOffset=S-C,t)}}function YL(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||d6(t.elements.popper,o)&&(t.elements.arrow=o))}const QL={name:"arrow",enabled:!0,phase:"main",fn:ZL,effect:YL,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function gs(e){return e.split("-")[1]}var JL={top:"auto",right:"auto",bottom:"auto",left:"auto"};function eI(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:vs(n*o)/o||0,y:vs(r*o)/o||0}}function y6(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=a.x,p=d===void 0?0:d,v=a.y,h=v===void 0?0:v,b=typeof c=="function"?c({x:p,y:h}):{x:p,y:h};p=b.x,h=b.y;var m=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),y=Cn,w=wn,x=window;if(u){var C=Du(n),S="clientHeight",_="clientWidth";if(C===In(n)&&(C=Zo(n),ho(C).position!=="static"&&s==="absolute"&&(S="scrollHeight",_="scrollWidth")),C=C,o===wn||(o===Cn||o===nr)&&i===Iu){w=tr;var A=f&&C===x&&x.visualViewport?x.visualViewport.height:C[S];h-=A-r.height,h*=l?1:-1}if(o===Cn||(o===wn||o===tr)&&i===Iu){y=nr;var k=f&&C===x&&x.visualViewport?x.visualViewport.width:C[_];p-=k-r.width,p*=l?1:-1}}var T=Object.assign({position:s},u&&JL),E=c===!0?eI({x:p,y:h},In(n)):{x:p,y:h};if(p=E.x,h=E.y,l){var R;return Object.assign({},T,(R={},R[w]=g?"0":"",R[y]=m?"0":"",R.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",R))}return Object.assign({},T,(t={},t[w]=g?h+"px":"",t[y]=m?p+"px":"",t.transform="",t))}function tI(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:Wr(t.placement),variation:gs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,y6(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,y6(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const nI={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tI,data:{}};var Sp={passive:!0};function rI(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,s=a===void 0?!0:a,l=In(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,Sp)}),s&&l.addEventListener("resize",n.update,Sp),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Sp)}),s&&l.removeEventListener("resize",n.update,Sp)}}const oI={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:rI,data:{}};var iI={left:"right",right:"left",bottom:"top",top:"bottom"};function Pp(e){return e.replace(/left|right|bottom|top/g,function(t){return iI[t]})}var aI={start:"end",end:"start"};function g6(e){return e.replace(/start|end/g,function(t){return aI[t]})}function fy(e){var t=In(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function dy(e){return ys(Zo(e)).left+fy(e).scrollLeft}function sI(e,t){var n=In(e),r=Zo(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var u=f6();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+dy(e),y:l}}function lI(e){var t,n=Zo(e),r=fy(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Ni(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Ni(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+dy(e),l=-r.scrollTop;return ho(o||n).direction==="rtl"&&(s+=Ni(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function py(e){var t=ho(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function b6(e){return["html","body","#document"].indexOf(Hr(e))>=0?e.ownerDocument.body:rr(e)&&py(e)?e:b6(Cp(e))}function Fu(e,t){var n;t===void 0&&(t=[]);var r=b6(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=In(r),a=o?[i].concat(i.visualViewport||[],py(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Fu(Cp(a)))}function hy(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uI(e,t){var n=ys(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function x6(e,t,n){return t===l6?hy(sI(e,n)):Ii(t)?uI(t,n):hy(lI(Zo(e)))}function cI(e){var t=Fu(Cp(e)),n=["absolute","fixed"].indexOf(ho(e).position)>=0,r=n&&rr(e)?Du(e):e;return Ii(r)?t.filter(function(o){return Ii(o)&&d6(o,r)&&Hr(o)!=="body"}):[]}function fI(e,t,n,r){var o=t==="clippingParents"?cI(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(l,u){var c=x6(e,u,r);return l.top=Ni(c.top,l.top),l.right=wp(c.right,l.right),l.bottom=wp(c.bottom,l.bottom),l.left=Ni(c.left,l.left),l},x6(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function w6(e){var t=e.reference,n=e.element,r=e.placement,o=r?Wr(r):null,i=r?gs(r):null,a=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case wn:l={x:a,y:t.y-n.height};break;case tr:l={x:a,y:t.y+t.height};break;case nr:l={x:t.x+t.width,y:s};break;case Cn:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=o?cy(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case ms:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Iu:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function zu(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,s=n.boundary,l=s===void 0?TL:s,u=n.rootBoundary,c=u===void 0?l6:u,f=n.elementContext,d=f===void 0?Nu:f,p=n.altBoundary,v=p===void 0?!1:p,h=n.padding,b=h===void 0?0:h,m=m6(typeof b!="number"?b:v6(b,Lu)),g=d===Nu?ML:Nu,y=e.rects.popper,w=e.elements[v?g:d],x=fI(Ii(w)?w:w.contextElement||Zo(e.elements.popper),l,c,a),C=ys(e.elements.reference),S=w6({reference:C,element:y,placement:o}),_=hy(Object.assign({},y,S)),A=d===Nu?_:C,k={top:x.top-A.top+m.top,bottom:A.bottom-x.bottom+m.bottom,left:x.left-A.left+m.left,right:A.right-x.right+m.right},T=e.modifiersData.offset;if(d===Nu&&T){var E=T[o];Object.keys(k).forEach(function(R){var L=[nr,tr].indexOf(R)>=0?1:-1,j=[wn,tr].indexOf(R)>=0?"y":"x";k[R]+=E[j]*L})}return k}function dI(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?c6:l,c=gs(r),f=c?s?u6:u6.filter(function(v){return gs(v)===c}):Lu,d=f.filter(function(v){return u.indexOf(v)>=0});d.length===0&&(d=f);var p=d.reduce(function(v,h){return v[h]=zu(e,{placement:h,boundary:o,rootBoundary:i,padding:a})[Wr(h)],v},{});return Object.keys(p).sort(function(v,h){return p[v]-p[h]})}function pI(e){if(Wr(e)===ay)return[];var t=Pp(e);return[g6(e),t,g6(t)]}function hI(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,v=p===void 0?!0:p,h=n.allowedAutoPlacements,b=t.options.placement,m=Wr(b),g=m===b,y=l||(g||!v?[Pp(b)]:pI(b)),w=[b].concat(y).reduce(function(Z,ce){return Z.concat(Wr(ce)===ay?dI(t,{placement:ce,boundary:c,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:h}):ce)},[]),x=t.rects.reference,C=t.rects.popper,S=new Map,_=!0,A=w[0],k=0;k=0,j=L?"width":"height",N=zu(t,{placement:T,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),D=L?R?nr:Cn:R?tr:wn;x[j]>C[j]&&(D=Pp(D));var M=Pp(D),B=[];if(i&&B.push(N[E]<=0),s&&B.push(N[D]<=0,N[M]<=0),B.every(function(Z){return Z})){A=T,_=!1;break}S.set(T,B)}if(_)for(var F=v?3:1,K=function(ce){var Q=w.find(function(he){var pe=S.get(he);if(pe)return pe.slice(0,ce).every(function(U){return U})});if(Q)return A=Q,"break"},H=F;H>0;H--){var Y=K(H);if(Y==="break")break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}}const mI={name:"flip",enabled:!0,phase:"main",fn:hI,requiresIfExists:["offset"],data:{_skip:!1}};function C6(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function S6(e){return[wn,nr,tr,Cn].some(function(t){return e[t]>=0})}function vI(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=zu(t,{elementContext:"reference"}),s=zu(t,{altBoundary:!0}),l=C6(a,r),u=C6(s,o,i),c=S6(l),f=S6(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const yI={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:vI};function gI(e,t,n){var r=Wr(e),o=[Cn,wn].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Cn,nr].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function bI(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=c6.reduce(function(c,f){return c[f]=gI(f,t.rects,i),c},{}),s=a[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}const xI={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bI};function wI(e){var t=e.state,n=e.name;t.modifiersData[n]=w6({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const CI={name:"popperOffsets",enabled:!0,phase:"read",fn:wI,data:{}};function SI(e){return e==="x"?"y":"x"}function PI(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=d===void 0?!0:d,v=n.tetherOffset,h=v===void 0?0:v,b=zu(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),m=Wr(t.placement),g=gs(t.placement),y=!g,w=cy(m),x=SI(w),C=t.modifiersData.popperOffsets,S=t.rects.reference,_=t.rects.popper,A=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,k=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(C){if(i){var R,L=w==="y"?wn:Cn,j=w==="y"?tr:nr,N=w==="y"?"height":"width",D=C[w],M=D+b[L],B=D-b[j],F=p?-_[N]/2:0,K=g===ms?S[N]:_[N],H=g===ms?-_[N]:-S[N],Y=t.elements.arrow,Z=p&&Y?uy(Y):{width:0,height:0},ce=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:h6(),Q=ce[L],he=ce[j],pe=Bu(0,S[N],Z[N]),U=y?S[N]/2-F-pe-Q-k.mainAxis:K-pe-Q-k.mainAxis,le=y?-S[N]/2+F+pe+he+k.mainAxis:H+pe+he+k.mainAxis,X=t.elements.arrow&&Du(t.elements.arrow),z=X?w==="y"?X.clientTop||0:X.clientLeft||0:0,ie=(R=T==null?void 0:T[w])!=null?R:0,ee=D+U-ie-z,oe=D+le-ie,ve=Bu(p?wp(M,ee):M,D,p?Ni(B,oe):B);C[w]=ve,E[w]=ve-D}if(s){var Ee,ke=w==="x"?wn:Cn,Qe=w==="x"?tr:nr,ye=C[x],xe=x==="y"?"height":"width",Ge=ye+b[ke],Ke=ye-b[Qe],je=[wn,Cn].indexOf(m)!==-1,dt=(Ee=T==null?void 0:T[x])!=null?Ee:0,kt=je?Ge:ye-S[xe]-_[xe]-dt+k.altAxis,St=je?ye+S[xe]+_[xe]-dt-k.altAxis:Ke,G=p&&je?qL(kt,ye,St):Bu(p?kt:Ge,ye,p?St:Ke);C[x]=G,E[x]=G-ye}t.modifiersData[r]=E}}const OI={name:"preventOverflow",enabled:!0,phase:"main",fn:PI,requiresIfExists:["offset"]};function _I(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function $I(e){return e===In(e)||!rr(e)?fy(e):_I(e)}function AI(e){var t=e.getBoundingClientRect(),n=vs(t.width)/e.offsetWidth||1,r=vs(t.height)/e.offsetHeight||1;return n!==1||r!==1}function EI(e,t,n){n===void 0&&(n=!1);var r=rr(t),o=rr(t)&&AI(t),i=Zo(t),a=ys(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Hr(t)!=="body"||py(i))&&(s=$I(t)),rr(t)?(l=ys(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=dy(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function kI(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function TI(e){var t=kI(e);return HL.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function MI(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function jI(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var P6={placement:"bottom",modifiers:[],strategy:"absolute"};function O6(){for(var e=arguments.length,t=new Array(e),n=0;n{i||s(NI(o)||document.body)},[o,i]),Rn(()=>{if(a&&!i)return ip(n,a),()=>{ip(n,null)}},[n,a,i]),i){if(O.isValidElement(r)){const u={ref:l};return O.cloneElement(r,u)}return P.jsx(O.Fragment,{children:r})}return P.jsx(O.Fragment,{children:a&&cv.createPortal(r,a)})});function DI(e){return we("MuiPopper",e)}Se("MuiPopper",["root"]);const BI=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],FI=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function zI(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function my(e){return typeof e=="function"?e():e}function HI(e){return e.nodeType!==void 0}const WI=e=>{const{classes:t}=e;return Pe({root:["root"]},DI,t)},VI={},UI=O.forwardRef(function(t,n){var r;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:u,placement:c,popperOptions:f,popperRef:d,slotProps:p={},slots:v={},TransitionProps:h}=t,b=ae(t,BI),m=O.useRef(null),g=ft(m,n),y=O.useRef(null),w=ft(y,d),x=O.useRef(w);Rn(()=>{x.current=w},[w]),O.useImperativeHandle(d,()=>y.current,[]);const C=zI(c,a),[S,_]=O.useState(C),[A,k]=O.useState(my(o));O.useEffect(()=>{y.current&&y.current.forceUpdate()}),O.useEffect(()=>{o&&k(my(o))},[o]),Rn(()=>{if(!A||!u)return;const j=M=>{_(M.placement)};let N=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:M})=>{j(M)}}];l!=null&&(N=N.concat(l)),f&&f.modifiers!=null&&(N=N.concat(f.modifiers));const D=II(A,m.current,$({placement:C},f,{modifiers:N}));return x.current(D),()=>{D.destroy(),x.current(null)}},[A,s,l,u,f,C]);const T={placement:S};h!==null&&(T.TransitionProps=h);const E=WI(t),R=(r=v.root)!=null?r:"div",L=fn({elementType:R,externalSlotProps:p.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:g},ownerState:t,className:E.root});return P.jsx(R,$({},L,{children:typeof i=="function"?i(T):i}))}),GI=O.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:d=VI,popperRef:p,style:v,transition:h=!1,slotProps:b={},slots:m={}}=t,g=ae(t,FI),[y,w]=O.useState(!0),x=()=>{w(!1)},C=()=>{w(!0)};if(!l&&!c&&(!h||y))return null;let S;if(i)S=i;else if(r){const k=my(r);S=k&&HI(k)?_t(k).body:_t(null).body}const _=!c&&l&&(!h||y)?"none":void 0,A=h?{in:c,onEnter:x,onExited:C}:void 0;return P.jsx(_6,{disablePortal:s,container:S,children:P.jsx(UI,$({anchorEl:r,direction:a,disablePortal:s,modifiers:u,ref:n,open:h?!y:c,placement:f,popperOptions:d,popperRef:p,slotProps:b,slots:m},g,{style:$({position:"fixed",top:0,left:0,display:_},v),TransitionProps:A,children:o}))})}),KI=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],qI=se(GI,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),$6=O.forwardRef(function(t,n){var r;const o=a6(),i=Oe({props:t,name:"MuiPopper"}),{anchorEl:a,component:s,components:l,componentsProps:u,container:c,disablePortal:f,keepMounted:d,modifiers:p,open:v,placement:h,popperOptions:b,popperRef:m,transition:g,slots:y,slotProps:w}=i,x=ae(i,KI),C=(r=y==null?void 0:y.root)!=null?r:l==null?void 0:l.Root,S=$({anchorEl:a,container:c,disablePortal:f,keepMounted:d,modifiers:p,open:v,placement:h,popperOptions:b,popperRef:m,transition:g},x);return P.jsx(qI,$({as:s,direction:o==null?void 0:o.direction,slots:{root:C},slotProps:w??u},S,{ref:n}))}),XI=["onChange","maxRows","minRows","style","value"];function Op(e){return parseInt(e,10)||0}const ZI={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function YI(e){for(const t in e)return!1;return!0}function A6(e){return YI(e)||e.outerHeightStyle===0&&!e.overflowing}const QI=O.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:a,value:s}=t,l=ae(t,XI),{current:u}=O.useRef(s!=null),c=O.useRef(null),f=ft(n,c),d=O.useRef(null),p=O.useRef(null),v=O.useCallback(()=>{const y=c.current,w=p.current;if(!y||!w)return;const C=Xo(y).getComputedStyle(y);if(C.width==="0px")return{outerHeightStyle:0,overflowing:!1};w.style.width=C.width,w.value=y.value||t.placeholder||"x",w.value.slice(-1)===` `&&(w.value+=" ");const S=C.boxSizing,_=Op(C.paddingBottom)+Op(C.paddingTop),A=Op(C.borderBottomWidth)+Op(C.borderTopWidth),k=w.scrollHeight;w.value="x";const T=w.scrollHeight;let E=k;i&&(E=Math.max(Number(i)*T,E)),o&&(E=Math.min(Number(o)*T,E)),E=Math.max(E,T);const R=E+(S==="border-box"?_+A:0),L=Math.abs(E-k)<=1;return{outerHeightStyle:R,overflowing:L}},[o,i,t.placeholder]),h=Ln(()=>{const y=c.current,w=v();if(!y||!w||A6(w))return!1;const x=w.outerHeightStyle;return d.current!=null&&d.current!==x}),b=O.useCallback(()=>{const y=c.current,w=v();if(!y||!w||A6(w))return;const x=w.outerHeightStyle;d.current!==x&&(d.current=x,y.style.height=`${x}px`),y.style.overflow=w.overflowing?"hidden":""},[v]),m=O.useRef(-1);Rn(()=>{const y=Bv(b),w=c==null?void 0:c.current;if(!w)return;const x=Xo(w);x.addEventListener("resize",y);let C;return typeof ResizeObserver<"u"&&(C=new ResizeObserver(()=>{h()&&(C.unobserve(w),cancelAnimationFrame(m.current),b(),m.current=requestAnimationFrame(()=>{C.observe(w)}))}),C.observe(w)),()=>{y.clear(),cancelAnimationFrame(m.current),x.removeEventListener("resize",y),C&&C.disconnect()}},[v,b,h]),Rn(()=>{b()});const g=y=>{u||b(),r&&r(y)};return P.jsxs(O.Fragment,{children:[P.jsx("textarea",$({value:s,onChange:g,ref:f,rows:i,style:a},l)),P.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:p,tabIndex:-1,style:$({},ZI.shadow,a,{paddingTop:0,paddingBottom:0})})]})});function bs({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const _p=O.createContext(void 0);function Di(){return O.useContext(_p)}function JI(e){return P.jsx(s9,$({},e,{defaultTheme:Zv,themeId:Xa}))}function E6(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function $p(e,t=!1){return e&&(E6(e.value)&&e.value!==""||t&&E6(e.defaultValue)&&e.defaultValue!=="")}function eN(e){return e.startAdornment}function tN(e){return we("MuiInputBase",e)}const xs=Se("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),nN=["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"],Ap=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ge(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Ep=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},rN=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:f,size:d,startAdornment:p,type:v}=e,h={root:["root",`color${ge(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",d&&d!=="medium"&&`size${ge(d)}`,c&&"multiline",p&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",f&&"readOnly"],input:["input",r&&"disabled",v==="search"&&"inputTypeSearch",c&&"inputMultiline",d==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",f&&"readOnly"]};return Pe(h,tN,t)},kp=se("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Ap})(({theme:e,ownerState:t})=>$({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${xs.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&$({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Tp=se("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Ep})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=$({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return $({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${xs.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${xs.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),oN=P.jsx(JI,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),vy=O.forwardRef(function(t,n){var r;const o=Oe({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:s,className:l,components:u={},componentsProps:c={},defaultValue:f,disabled:d,disableInjectingGlobalStyles:p,endAdornment:v,fullWidth:h=!1,id:b,inputComponent:m="input",inputProps:g={},inputRef:y,maxRows:w,minRows:x,multiline:C=!1,name:S,onBlur:_,onChange:A,onClick:k,onFocus:T,onKeyDown:E,onKeyUp:R,placeholder:L,readOnly:j,renderSuffix:N,rows:D,slotProps:M={},slots:B={},startAdornment:F,type:K="text",value:H}=o,Y=ae(o,nN),Z=g.value!=null?g.value:H,{current:ce}=O.useRef(Z!=null),Q=O.useRef(),he=O.useCallback(G=>{},[]),pe=ft(Q,y,g.ref,he),[U,le]=O.useState(!1),X=Di(),z=bs({props:o,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});z.focused=X?X.focused:U,O.useEffect(()=>{!X&&d&&U&&(le(!1),_&&_())},[X,d,U,_]);const ie=X&&X.onFilled,ee=X&&X.onEmpty,oe=O.useCallback(G=>{$p(G)?ie&&ie():ee&&ee()},[ie,ee]);Rn(()=>{ce&&oe({value:Z})},[Z,oe,ce]);const ve=G=>{if(z.disabled){G.stopPropagation();return}T&&T(G),g.onFocus&&g.onFocus(G),X&&X.onFocus?X.onFocus(G):le(!0)},Ee=G=>{_&&_(G),g.onBlur&&g.onBlur(G),X&&X.onBlur?X.onBlur(G):le(!1)},ke=(G,...V)=>{if(!ce){const ue=G.target||Q.current;if(ue==null)throw new Error(Ai(1));oe({value:ue.value})}g.onChange&&g.onChange(G,...V),A&&A(G,...V)};O.useEffect(()=>{oe(Q.current)},[]);const Qe=G=>{Q.current&&G.currentTarget===G.target&&Q.current.focus(),k&&k(G)};let ye=m,xe=g;C&&ye==="input"&&(D?xe=$({type:void 0,minRows:D,maxRows:D},xe):xe=$({type:void 0,maxRows:w,minRows:x},xe),ye=QI);const Ge=G=>{oe(G.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};O.useEffect(()=>{X&&X.setAdornedStart(!!F)},[X,F]);const Ke=$({},o,{color:z.color||"primary",disabled:z.disabled,endAdornment:v,error:z.error,focused:z.focused,formControl:X,fullWidth:h,hiddenLabel:z.hiddenLabel,multiline:C,size:z.size,startAdornment:F,type:K}),je=rN(Ke),dt=B.root||u.Root||kp,kt=M.root||c.root||{},St=B.input||u.Input||Tp;return xe=$({},xe,(r=M.input)!=null?r:c.input),P.jsxs(O.Fragment,{children:[!p&&oN,P.jsxs(dt,$({},kt,!Fr(dt)&&{ownerState:$({},Ke,kt.ownerState)},{ref:n,onClick:Qe},Y,{className:q(je.root,kt.className,l,j&&"MuiInputBase-readOnly"),children:[F,P.jsx(_p.Provider,{value:null,children:P.jsx(St,$({ownerState:Ke,"aria-invalid":z.error,"aria-describedby":i,autoComplete:a,autoFocus:s,defaultValue:f,disabled:z.disabled,id:b,onAnimationStart:Ge,name:S,placeholder:L,readOnly:j,required:z.required,rows:D,value:Z,onKeyDown:E,onKeyUp:R,type:K},xe,!Fr(St)&&{as:ye,ownerState:$({},Ke,xe.ownerState)},{ref:pe,className:q(je.input,xe.className,j&&"MuiInputBase-readOnly"),onBlur:Ee,onChange:ke,onFocus:ve}))}),v,N?N($({},z,{startAdornment:F})):null]}))]})});function iN(e){return we("MuiInput",e)}const Hu=$({},xs,Se("MuiInput",["root","underline","input"]));function aN(e){return we("MuiOutlinedInput",e)}const Yo=$({},xs,Se("MuiOutlinedInput",["root","notchedOutline","input"]));function sN(e){return we("MuiFilledInput",e)}const Bi=$({},xs,Se("MuiFilledInput",["root","underline","input"])),lN=Jv(P.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),uN=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],cN={entering:{opacity:1},entered:{opacity:1}},k6=O.forwardRef(function(t,n){const r=po(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:u,onEnter:c,onEntered:f,onEntering:d,onExit:p,onExited:v,onExiting:h,style:b,timeout:m=o,TransitionComponent:g=Cr}=t,y=ae(t,uN),w=O.useRef(null),x=ft(w,ss(s),n),C=L=>j=>{if(L){const N=w.current;j===void 0?L(N):L(N,j)}},S=C(d),_=C((L,j)=>{const N=ps({style:b,timeout:m,easing:l},{mode:"enter"});L.style.webkitTransition=r.transitions.create("opacity",N),L.style.transition=r.transitions.create("opacity",N),c&&c(L,j)}),A=C(f),k=C(h),T=C(L=>{const j=ps({style:b,timeout:m,easing:l},{mode:"exit"});L.style.webkitTransition=r.transitions.create("opacity",j),L.style.transition=r.transitions.create("opacity",j),p&&p(L)}),E=C(v),R=L=>{i&&i(w.current,L)};return P.jsx(g,$({appear:a,in:u,nodeRef:w,onEnter:_,onEntered:A,onEntering:S,onExit:T,onExited:E,onExiting:k,addEndListener:R,timeout:m},y,{children:(L,j)=>O.cloneElement(s,$({style:$({opacity:0,visibility:L==="exited"&&!u?"hidden":void 0},cN[L],b,s.props.style),ref:x},j))}))});function fN(e){return we("MuiBackdrop",e)}Se("MuiBackdrop",["root","invisible"]);const dN=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],pN=e=>{const{classes:t,invisible:n}=e;return Pe({root:["root",n&&"invisible"]},fN,t)},hN=se("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>$({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),mN=O.forwardRef(function(t,n){var r,o,i;const a=Oe({props:t,name:"MuiBackdrop"}),{children:s,className:l,component:u="div",components:c={},componentsProps:f={},invisible:d=!1,open:p,slotProps:v={},slots:h={},TransitionComponent:b=k6,transitionDuration:m}=a,g=ae(a,dN),y=$({},a,{component:u,invisible:d}),w=pN(y),x=(r=v.root)!=null?r:f.root;return P.jsx(b,$({in:p,timeout:m},g,{children:P.jsx(hN,$({"aria-hidden":!0},x,{as:(o=(i=h.root)!=null?i:c.Root)!=null?o:u,className:q(w.root,l,x==null?void 0:x.className),ownerState:$({},y,x==null?void 0:x.ownerState),classes:w,ref:n,children:s}))}))}),vN=Se("MuiBox",["root"]),yN=fp(),Ve=ZT({themeId:Xa,defaultTheme:yN,defaultClassName:vN.root,generateClassName:Mv.generate});function gN(e){return we("MuiCard",e)}Se("MuiCard",["root"]);const bN=["className","raised"],xN=e=>{const{classes:t}=e;return Pe({root:["root"]},gN,t)},wN=se(Ru,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),Vr=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiCard"}),{className:o,raised:i=!1}=r,a=ae(r,bN),s=$({},r,{raised:i}),l=xN(s);return P.jsx(wN,$({className:q(l.root,o),elevation:i?8:void 0,ref:n,ownerState:s},a))}),Fi=UM({createStyledComponent:se("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${ge(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>Oe({props:e,name:"MuiContainer"})}),CN=(e,t)=>$({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),SN=e=>$({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}});function PN(e){const t=_t(e);return t.body===e?Xo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Wu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function T6(e){return parseInt(Xo(e).getComputedStyle(e).paddingRight,10)||0}function ON(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function M6(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const s=i.indexOf(a)===-1,l=!ON(a);s&&l&&Wu(a,o)})}function yy(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function _N(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(PN(r)){const a=b9(_t(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${T6(r)+a}px`;const s=_t(r).querySelectorAll(".mui-fixed");[].forEach.call(s,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${T6(l)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=_t(r).body;else{const a=r.parentElement,s=Xo(r);i=(a==null?void 0:a.nodeName)==="HTML"&&s.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:a,property:s})=>{i?a.style.setProperty(s,i):a.style.removeProperty(s)})}}function $N(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class AN{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Wu(t.modalRef,!1);const o=$N(n);M6(n,t.mount,t.modalRef,o,!0);const i=yy(this.containers,a=>a.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=yy(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=_N(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=yy(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Wu(t.modalRef,n),M6(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&Wu(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const EN=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function kN(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function TN(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function MN(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||TN(e))}function jN(e){const t=[],n=[];return Array.from(e.querySelectorAll(EN)).forEach((r,o)=>{const i=kN(r);i===-1||!MN(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function RN(){return!0}function LN(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=jN,isEnabled:a=RN,open:s}=e,l=O.useRef(!1),u=O.useRef(null),c=O.useRef(null),f=O.useRef(null),d=O.useRef(null),p=O.useRef(!1),v=O.useRef(null),h=ft(ss(t),v),b=O.useRef(null);O.useEffect(()=>{!s||!v.current||(p.current=!n)},[n,s]),O.useEffect(()=>{if(!s||!v.current)return;const y=_t(v.current);return v.current.contains(y.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex","-1"),p.current&&v.current.focus()),()=>{o||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[s]),O.useEffect(()=>{if(!s||!v.current)return;const y=_t(v.current),w=S=>{b.current=S,!(r||!a()||S.key!=="Tab")&&y.activeElement===v.current&&S.shiftKey&&(l.current=!0,c.current&&c.current.focus())},x=()=>{const S=v.current;if(S===null)return;if(!y.hasFocus()||!a()||l.current){l.current=!1;return}if(S.contains(y.activeElement)||r&&y.activeElement!==u.current&&y.activeElement!==c.current)return;if(y.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!p.current)return;let _=[];if((y.activeElement===u.current||y.activeElement===c.current)&&(_=i(v.current)),_.length>0){var A,k;const T=!!((A=b.current)!=null&&A.shiftKey&&((k=b.current)==null?void 0:k.key)==="Tab"),E=_[0],R=_[_.length-1];typeof E!="string"&&typeof R!="string"&&(T?R.focus():E.focus())}else S.focus()};y.addEventListener("focusin",x),y.addEventListener("keydown",w,!0);const C=setInterval(()=>{y.activeElement&&y.activeElement.tagName==="BODY"&&x()},50);return()=>{clearInterval(C),y.removeEventListener("focusin",x),y.removeEventListener("keydown",w,!0)}},[n,r,o,a,s,i]);const m=y=>{f.current===null&&(f.current=y.relatedTarget),p.current=!0,d.current=y.target;const w=t.props.onFocus;w&&w(y)},g=y=>{f.current===null&&(f.current=y.relatedTarget),p.current=!0};return P.jsxs(O.Fragment,{children:[P.jsx("div",{tabIndex:s?0:-1,onFocus:g,ref:u,"data-testid":"sentinelStart"}),O.cloneElement(t,{ref:h,onFocus:m}),P.jsx("div",{tabIndex:s?0:-1,onFocus:g,ref:c,"data-testid":"sentinelEnd"})]})}function IN(e){return typeof e=="function"?e():e}function NN(e){return e?e.props.hasOwnProperty("in"):!1}const DN=new AN;function BN(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=DN,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:s,children:l,onClose:u,open:c,rootRef:f}=e,d=O.useRef({}),p=O.useRef(null),v=O.useRef(null),h=ft(v,f),[b,m]=O.useState(!c),g=NN(l);let y=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(y=!1);const w=()=>_t(p.current),x=()=>(d.current.modalRef=v.current,d.current.mount=p.current,d.current),C=()=>{o.mount(x(),{disableScrollLock:r}),v.current&&(v.current.scrollTop=0)},S=Ln(()=>{const N=IN(t)||w().body;o.add(x(),N),v.current&&C()}),_=O.useCallback(()=>o.isTopModal(x()),[o]),A=Ln(N=>{p.current=N,N&&(c&&_()?C():v.current&&Wu(v.current,y))}),k=O.useCallback(()=>{o.remove(x(),y)},[y,o]);O.useEffect(()=>()=>{k()},[k]),O.useEffect(()=>{c?S():(!g||!i)&&k()},[c,k,g,i,S]);const T=N=>D=>{var M;(M=N.onKeyDown)==null||M.call(N,D),!(D.key!=="Escape"||D.which===229||!_())&&(n||(D.stopPropagation(),u&&u(D,"escapeKeyDown")))},E=N=>D=>{var M;(M=N.onClick)==null||M.call(N,D),D.target===D.currentTarget&&u&&u(D,"backdropClick")};return{getRootProps:(N={})=>{const D=ku(e);delete D.onTransitionEnter,delete D.onTransitionExited;const M=$({},D,N);return $({role:"presentation"},M,{onKeyDown:T(M),ref:h})},getBackdropProps:(N={})=>{const D=N;return $({"aria-hidden":!0},D,{onClick:E(D),open:c})},getTransitionProps:()=>{const N=()=>{m(!1),a&&a()},D=()=>{m(!0),s&&s(),i&&k()};return{onEnter:Dv(N,l==null?void 0:l.props.onEnter),onExited:Dv(D,l==null?void 0:l.props.onExited)}},rootRef:h,portalRef:A,isTopModal:_,exited:b,hasTransition:g}}function FN(e){return we("MuiModal",e)}Se("MuiModal",["root","hidden","backdrop"]);const zN=["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"],HN=e=>{const{open:t,exited:n,classes:r}=e;return Pe({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},FN,r)},WN=se("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>$({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),VN=se(mN,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),UN=O.forwardRef(function(t,n){var r,o,i,a,s,l;const u=Oe({name:"MuiModal",props:t}),{BackdropComponent:c=VN,BackdropProps:f,className:d,closeAfterTransition:p=!1,children:v,container:h,component:b,components:m={},componentsProps:g={},disableAutoFocus:y=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:x=!1,disablePortal:C=!1,disableRestoreFocus:S=!1,disableScrollLock:_=!1,hideBackdrop:A=!1,keepMounted:k=!1,onBackdropClick:T,open:E,slotProps:R,slots:L}=u,j=ae(u,zN),N=$({},u,{closeAfterTransition:p,disableAutoFocus:y,disableEnforceFocus:w,disableEscapeKeyDown:x,disablePortal:C,disableRestoreFocus:S,disableScrollLock:_,hideBackdrop:A,keepMounted:k}),{getRootProps:D,getBackdropProps:M,getTransitionProps:B,portalRef:F,isTopModal:K,exited:H,hasTransition:Y}=BN($({},N,{rootRef:n})),Z=$({},N,{exited:H}),ce=HN(Z),Q={};if(v.props.tabIndex===void 0&&(Q.tabIndex="-1"),Y){const{onEnter:ie,onExited:ee}=B();Q.onEnter=ie,Q.onExited=ee}const he=(r=(o=L==null?void 0:L.root)!=null?o:m.Root)!=null?r:WN,pe=(i=(a=L==null?void 0:L.backdrop)!=null?a:m.Backdrop)!=null?i:c,U=(s=R==null?void 0:R.root)!=null?s:g.root,le=(l=R==null?void 0:R.backdrop)!=null?l:g.backdrop,X=fn({elementType:he,externalSlotProps:U,externalForwardedProps:j,getSlotProps:D,additionalProps:{ref:n,as:b},ownerState:Z,className:q(d,U==null?void 0:U.className,ce==null?void 0:ce.root,!Z.open&&Z.exited&&(ce==null?void 0:ce.hidden))}),z=fn({elementType:pe,externalSlotProps:le,additionalProps:f,getSlotProps:ie=>M($({},ie,{onClick:ee=>{T&&T(ee),ie!=null&&ie.onClick&&ie.onClick(ee)}})),className:q(le==null?void 0:le.className,f==null?void 0:f.className,ce==null?void 0:ce.backdrop),ownerState:Z});return!k&&!E&&(!Y||H)?null:P.jsx(_6,{ref:F,container:h,disablePortal:C,children:P.jsxs(he,$({},X,{children:[!A&&c?P.jsx(pe,$({},z)):null,P.jsx(LN,{disableEnforceFocus:w,disableAutoFocus:y,disableRestoreFocus:S,isEnabled:K,open:E,children:O.cloneElement(v,Q)})]}))})}),GN=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],KN=e=>{const{classes:t,disableUnderline:n}=e,o=Pe({root:["root",!n&&"underline"],input:["input"]},sN,t);return $({},t,o)},qN=se(kp,{shouldForwardProp:e=>zr(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ap(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return $({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Bi.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Bi.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Bi.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Bi.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Bi.disabled}, .${Bi.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Bi.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&$({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),XN=se(Tp,{name:"MuiFilledInput",slot:"Input",overridesResolver:Ep})(({theme:e,ownerState:t})=>$({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),gy=O.forwardRef(function(t,n){var r,o,i,a;const s=Oe({props:t,name:"MuiFilledInput"}),{components:l={},componentsProps:u,fullWidth:c=!1,inputComponent:f="input",multiline:d=!1,slotProps:p,slots:v={},type:h="text"}=s,b=ae(s,GN),m=$({},s,{fullWidth:c,inputComponent:f,multiline:d,type:h}),g=KN(s),y={root:{ownerState:m},input:{ownerState:m}},w=p??u?cn(y,p??u):y,x=(r=(o=v.root)!=null?o:l.Root)!=null?r:qN,C=(i=(a=v.input)!=null?a:l.Input)!=null?i:XN;return P.jsx(vy,$({slots:{root:x,input:C},componentsProps:w,fullWidth:c,inputComponent:f,multiline:d,ref:n,type:h},b,{classes:g}))});gy.muiName="Input";function ZN(e){return we("MuiFormControl",e)}Se("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const YN=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],QN=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ge(n)}`,r&&"fullWidth"]};return Pe(o,ZN,t)},JN=se("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>$({},t.root,t[`margin${ge(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>$({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),eD=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:s="div",disabled:l=!1,error:u=!1,focused:c,fullWidth:f=!1,hiddenLabel:d=!1,margin:p="none",required:v=!1,size:h="medium",variant:b="outlined"}=r,m=ae(r,YN),g=$({},r,{color:a,component:s,disabled:l,error:u,fullWidth:f,hiddenLabel:d,margin:p,required:v,size:h,variant:b}),y=QN(g),[w,x]=O.useState(()=>{let R=!1;return o&&O.Children.forEach(o,L=>{if(!os(L,["Input","Select"]))return;const j=os(L,["Select"])?L.props.input:L;j&&eN(j.props)&&(R=!0)}),R}),[C,S]=O.useState(()=>{let R=!1;return o&&O.Children.forEach(o,L=>{os(L,["Input","Select"])&&($p(L.props,!0)||$p(L.props.inputProps,!0))&&(R=!0)}),R}),[_,A]=O.useState(!1);l&&_&&A(!1);const k=c!==void 0&&!l?c:_;let T;const E=O.useMemo(()=>({adornedStart:w,setAdornedStart:x,color:a,disabled:l,error:u,filled:C,focused:k,fullWidth:f,hiddenLabel:d,size:h,onBlur:()=>{A(!1)},onEmpty:()=>{S(!1)},onFilled:()=>{S(!0)},onFocus:()=>{A(!0)},registerEffect:T,required:v,variant:b}),[w,a,l,u,C,k,f,d,T,v,h,b]);return P.jsx(_p.Provider,{value:E,children:P.jsx(JN,$({as:s,ownerState:g,className:q(y.root,i),ref:n},m,{children:o}))})}),j6=mj({createStyledComponent:se("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Oe({props:e,name:"MuiStack"})});function tD(e){return we("MuiFormHelperText",e)}const R6=Se("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var L6;const nD=["children","className","component","disabled","error","filled","focused","margin","required","variant"],rD=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:s,required:l}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${ge(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return Pe(u,tD,t)},oD=se("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ge(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>$({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${R6.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${R6.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),iD=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:a="p"}=r,s=ae(r,nD),l=Di(),u=bs({props:r,muiFormControl:l,states:["variant","size","disabled","error","filled","focused","required"]}),c=$({},r,{component:a,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=rD(c);return P.jsx(oD,$({as:a,ownerState:c,className:q(f.root,i),ref:n},s,{children:o===" "?L6||(L6=P.jsx("span",{className:"notranslate",children:"​"})):o}))});function aD(e){return we("MuiFormLabel",e)}const Vu=Se("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),sD=["children","className","color","component","disabled","error","filled","focused","required"],lD=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:s}=e,l={root:["root",`color${ge(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]};return Pe(l,aD,t)},uD=se("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>$({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>$({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Vu.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Vu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Vu.error}`]:{color:(e.vars||e).palette.error.main}})),cD=se("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Vu.error}`]:{color:(e.vars||e).palette.error.main}})),fD=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiFormLabel"}),{children:o,className:i,component:a="label"}=r,s=ae(r,sD),l=Di(),u=bs({props:r,muiFormControl:l,states:["color","required","focused","disabled","error","filled"]}),c=$({},r,{color:u.color||"primary",component:a,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),f=lD(c);return P.jsxs(uD,$({as:a,ownerState:c,className:q(f.root,i),ref:n},s,{children:[o,u.required&&P.jsxs(cD,{ownerState:c,"aria-hidden":!0,className:f.asterisk,children:[" ","*"]})]}))}),I6=O.createContext();function dD(e){return we("MuiGrid",e)}const pD=[0,1,2,3,4,5,6,7,8,9,10],hD=["column-reverse","column","row-reverse","row"],mD=["nowrap","wrap-reverse","wrap"],Uu=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Gu=Se("MuiGrid",["root","container","item","zeroMinWidth",...pD.map(e=>`spacing-xs-${e}`),...hD.map(e=>`direction-xs-${e}`),...mD.map(e=>`wrap-xs-${e}`),...Uu.map(e=>`grid-xs-${e}`),...Uu.map(e=>`grid-sm-${e}`),...Uu.map(e=>`grid-md-${e}`),...Uu.map(e=>`grid-lg-${e}`),...Uu.map(e=>`grid-xl-${e}`)]),vD=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function ws(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function yD({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((r,o)=>{let i={};if(t[o]&&(n=t[o]),!n)return r;if(n===!0)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=Ei({values:t.columns,breakpoints:e.breakpoints.values}),s=typeof a=="object"?a[o]:a;if(s==null)return r;const l=`${Math.round(n/s*1e8)/1e6}%`;let u={};if(t.container&&t.item&&t.columnSpacing!==0){const c=e.spacing(t.columnSpacing);if(c!=="0px"){const f=`calc(${l} + ${ws(c)})`;u={flexBasis:f,maxWidth:f}}}i=$({flexBasis:l,flexGrow:0,maxWidth:l},u)}return e.breakpoints.values[o]===0?Object.assign(r,i):r[e.breakpoints.up(o)]=i,r},{})}function gD({theme:e,ownerState:t}){const n=Ei({values:t.direction,breakpoints:e.breakpoints.values});return bn({theme:e},n,r=>{const o={flexDirection:r};return r.indexOf("column")===0&&(o[`& > .${Gu.item}`]={maxWidth:"none"}),o})}function N6({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(o=>{n===""&&t[o]!==0&&(n=o)});const r=Object.keys(e).sort((o,i)=>e[o]-e[i]);return r.slice(0,r.indexOf(n))}function bD({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&r!==0){const i=Ei({values:r,breakpoints:e.breakpoints.values});let a;typeof i=="object"&&(a=N6({breakpoints:e.breakpoints.values,values:i})),o=bn({theme:e},i,(s,l)=>{var u;const c=e.spacing(s);return c!=="0px"?{marginTop:`-${ws(c)}`,[`& > .${Gu.item}`]:{paddingTop:ws(c)}}:(u=a)!=null&&u.includes(l)?{}:{marginTop:0,[`& > .${Gu.item}`]:{paddingTop:0}}})}return o}function xD({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&r!==0){const i=Ei({values:r,breakpoints:e.breakpoints.values});let a;typeof i=="object"&&(a=N6({breakpoints:e.breakpoints.values,values:i})),o=bn({theme:e},i,(s,l)=>{var u;const c=e.spacing(s);return c!=="0px"?{width:`calc(100% + ${ws(c)})`,marginLeft:`-${ws(c)}`,[`& > .${Gu.item}`]:{paddingLeft:ws(c)}}:(u=a)!=null&&u.includes(l)?{}:{width:"100%",marginLeft:0,[`& > .${Gu.item}`]:{paddingLeft:0}}})}return o}function wD(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach(o=>{const i=e[o];Number(i)>0&&r.push(n[`spacing-${o}-${String(i)}`])}),r}const CD=se("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:u}=n;let c=[];r&&(c=wD(a,u,t));const f=[];return u.forEach(d=>{const p=n[d];p&&f.push(t[`grid-${d}-${String(p)}`])}),[t.root,r&&t.container,i&&t.item,l&&t.zeroMinWidth,...c,o!=="row"&&t[`direction-xs-${String(o)}`],s!=="wrap"&&t[`wrap-xs-${String(s)}`],...f]}})(({ownerState:e})=>$({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),gD,bD,xD,yD);function SD(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(r=>{const o=e[r];if(Number(o)>0){const i=`spacing-${r}-${String(o)}`;n.push(i)}}),n}const PD=e=>{const{classes:t,container:n,direction:r,item:o,spacing:i,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let u=[];n&&(u=SD(i,l));const c=[];l.forEach(d=>{const p=e[d];p&&c.push(`grid-${d}-${String(p)}`)});const f={root:["root",n&&"container",o&&"item",s&&"zeroMinWidth",...u,r!=="row"&&`direction-xs-${String(r)}`,a!=="wrap"&&`wrap-xs-${String(a)}`,...c]};return Pe(f,dD,t)},$t=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiGrid"}),{breakpoints:o}=po(),i=ns(r),{className:a,columns:s,columnSpacing:l,component:u="div",container:c=!1,direction:f="row",item:d=!1,rowSpacing:p,spacing:v=0,wrap:h="wrap",zeroMinWidth:b=!1}=i,m=ae(i,vD),g=p||v,y=l||v,w=O.useContext(I6),x=c?s||12:w,C={},S=$({},m);o.keys.forEach(k=>{m[k]!=null&&(C[k]=m[k],delete S[k])});const _=$({},i,{columns:x,container:c,direction:f,item:d,rowSpacing:g,columnSpacing:y,wrap:h,zeroMinWidth:b,spacing:v},C,{breakpoints:o.keys}),A=PD(_);return P.jsx(I6.Provider,{value:x,children:P.jsx(CD,$({ownerState:_,className:q(A.root,a),as:u,ref:n},S))})}),Cs=sj({createStyledComponent:se("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>Oe({props:e,name:"MuiGrid2"})}),OD=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function by(e){return`scale(${e}, ${e**2})`}const _D={entering:{opacity:1,transform:by(1)},entered:{opacity:1,transform:"none"}},xy=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Mp=O.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:d,onExiting:p,style:v,timeout:h="auto",TransitionComponent:b=Cr}=t,m=ae(t,OD),g=Mi(),y=O.useRef(),w=po(),x=O.useRef(null),C=ft(x,ss(i),n),S=j=>N=>{if(j){const D=x.current;N===void 0?j(D):j(D,N)}},_=S(c),A=S((j,N)=>{const{duration:D,delay:M,easing:B}=ps({style:v,timeout:h,easing:a},{mode:"enter"});let F;h==="auto"?(F=w.transitions.getAutoHeightDuration(j.clientHeight),y.current=F):F=D,j.style.transition=[w.transitions.create("opacity",{duration:F,delay:M}),w.transitions.create("transform",{duration:xy?F:F*.666,delay:M,easing:B})].join(","),l&&l(j,N)}),k=S(u),T=S(p),E=S(j=>{const{duration:N,delay:D,easing:M}=ps({style:v,timeout:h,easing:a},{mode:"exit"});let B;h==="auto"?(B=w.transitions.getAutoHeightDuration(j.clientHeight),y.current=B):B=N,j.style.transition=[w.transitions.create("opacity",{duration:B,delay:D}),w.transitions.create("transform",{duration:xy?B:B*.666,delay:xy?D:D||B*.333,easing:M})].join(","),j.style.opacity=0,j.style.transform=by(.75),f&&f(j)}),R=S(d),L=j=>{h==="auto"&&g.start(y.current||0,j),r&&r(x.current,j)};return P.jsx(b,$({appear:o,in:s,nodeRef:x,onEnter:A,onEntered:k,onEntering:_,onExit:E,onExited:R,onExiting:T,addEndListener:L,timeout:h==="auto"?null:h},m,{children:(j,N)=>O.cloneElement(i,$({style:$({opacity:0,transform:by(.75),visibility:j==="exited"&&!s?"hidden":void 0},_D[j],v,i.props.style),ref:C},N))}))});Mp.muiSupportAuto=!0;const $D=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],AD=e=>{const{classes:t,disableUnderline:n}=e,o=Pe({root:["root",!n&&"underline"],input:["input"]},iN,t);return $({},t,o)},ED=se(kp,{shouldForwardProp:e=>zr(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Ap(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),$({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Hu.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Hu.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Hu.disabled}, .${Hu.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Hu.disabled}:before`]:{borderBottomStyle:"dotted"}})}),kD=se(Tp,{name:"MuiInput",slot:"Input",overridesResolver:Ep})({}),wy=O.forwardRef(function(t,n){var r,o,i,a;const s=Oe({props:t,name:"MuiInput"}),{disableUnderline:l,components:u={},componentsProps:c,fullWidth:f=!1,inputComponent:d="input",multiline:p=!1,slotProps:v,slots:h={},type:b="text"}=s,m=ae(s,$D),g=AD(s),w={root:{ownerState:{disableUnderline:l}}},x=v??c?cn(v??c,w):w,C=(r=(o=h.root)!=null?o:u.Root)!=null?r:ED,S=(i=(a=h.input)!=null?a:u.Input)!=null?i:kD;return P.jsx(vy,$({slots:{root:C,input:S},slotProps:x,fullWidth:f,inputComponent:d,multiline:p,ref:n,type:b},m,{classes:g}))});wy.muiName="Input";function TD(e){return we("MuiInputAdornment",e)}const D6=Se("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var B6;const MD=["children","className","component","disablePointerEvents","disableTypography","position","variant"],jD=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ge(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},RD=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e,s={root:["root",n&&"disablePointerEvents",o&&`position${ge(o)}`,a,r&&"hiddenLabel",i&&`size${ge(i)}`]};return Pe(s,TD,t)},LD=se("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:jD})(({theme:e,ownerState:t})=>$({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${D6.positionStart}&:not(.${D6.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),F6=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiInputAdornment"}),{children:o,className:i,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:u,variant:c}=r,f=ae(r,MD),d=Di()||{};let p=c;d&&!p&&(p=d.variant);const v=$({},r,{hiddenLabel:d.hiddenLabel,size:d.size,disablePointerEvents:s,position:u,variant:p}),h=RD(v);return P.jsx(_p.Provider,{value:null,children:P.jsx(LD,$({as:a,ownerState:v,className:q(h.root,i),ref:n},f,{children:typeof o=="string"&&!l?P.jsx(re,{color:"text.secondary",children:o}):P.jsxs(O.Fragment,{children:[u==="start"?B6||(B6=P.jsx("span",{className:"notranslate",children:"​"})):null,o]})}))})});function ID(e){return we("MuiInputLabel",e)}Se("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const ND=["disableAnimation","margin","shrink","variant","className"],DD=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:s}=e,l={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${ge(r)}`,a],asterisk:[s&&"asterisk"]},u=Pe(l,ID,t);return $({},t,u)},BD=se(fD,{shouldForwardProp:e=>zr(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Vu.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(({theme:e,ownerState:t})=>$({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&$({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&$({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&$({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),FD=O.forwardRef(function(t,n){const r=Oe({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:i,className:a}=r,s=ae(r,ND),l=Di();let u=i;typeof u>"u"&&l&&(u=l.filled||l.focused||l.adornedStart);const c=bs({props:r,muiFormControl:l,states:["size","variant","required","focused"]}),f=$({},r,{disableAnimation:o,formControl:l,shrink:u,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),d=DD(f);return P.jsx(BD,$({"data-shrink":u,ownerState:f,ref:n,className:q(d.root,a)},s,{classes:d}))}),Ss=O.createContext({});function zD(e){return we("MuiList",e)}Se("MuiList",["root","padding","dense","subheader"]);const HD=["children","className","component","dense","disablePadding","subheader"],WD=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Pe({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},zD,t)},VD=se("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>$({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Cy=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:u}=r,c=ae(r,HD),f=O.useMemo(()=>({dense:s}),[s]),d=$({},r,{component:a,dense:s,disablePadding:l}),p=WD(d);return P.jsx(Ss.Provider,{value:f,children:P.jsxs(VD,$({as:a,className:q(p.root,i),ref:n,ownerState:d},c,{children:[u,o]}))})});function UD(e){return we("MuiListItem",e)}const Ps=Se("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),GD=Se("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function KD(e){return we("MuiListItemSecondaryAction",e)}Se("MuiListItemSecondaryAction",["root","disableGutters"]);const qD=["className"],XD=e=>{const{disableGutters:t,classes:n}=e;return Pe({root:["root",t&&"disableGutters"]},KD,n)},ZD=se("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>$({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),z6=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiListItemSecondaryAction"}),{className:o}=r,i=ae(r,qD),a=O.useContext(Ss),s=$({},r,{disableGutters:a.disableGutters}),l=XD(s);return P.jsx(ZD,$({className:q(l.root,o),ownerState:s,ref:n},i))});z6.muiName="ListItemSecondaryAction";const YD=["className"],QD=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],JD=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},eB=e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:u,selected:c}=e;return Pe({root:["root",o&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",i&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",u&&"secondaryAction",c&&"selected"],container:["container"]},UD,r)},tB=se("div",{name:"MuiListItem",slot:"Root",overridesResolver:JD})(({theme:e,ownerState:t})=>$({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&$({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${GD.root}`]:{paddingRight:48}},{[`&.${Ps.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ps.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xn(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ps.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:xn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ps.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ps.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xn(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),nB=se("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ku=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiListItem"}),{alignItems:o="center",autoFocus:i=!1,button:a=!1,children:s,className:l,component:u,components:c={},componentsProps:f={},ContainerComponent:d="li",ContainerProps:{className:p}={},dense:v=!1,disabled:h=!1,disableGutters:b=!1,disablePadding:m=!1,divider:g=!1,focusVisibleClassName:y,secondaryAction:w,selected:x=!1,slotProps:C={},slots:S={}}=r,_=ae(r.ContainerProps,YD),A=ae(r,QD),k=O.useContext(Ss),T=O.useMemo(()=>({dense:v||k.dense||!1,alignItems:o,disableGutters:b}),[o,k.dense,v,b]),E=O.useRef(null);Rn(()=>{i&&E.current&&E.current.focus()},[i]);const R=O.Children.toArray(s),L=R.length&&os(R[R.length-1],["ListItemSecondaryAction"]),j=$({},r,{alignItems:o,autoFocus:i,button:a,dense:T.dense,disabled:h,disableGutters:b,disablePadding:m,divider:g,hasSecondaryAction:L,selected:x}),N=eB(j),D=ft(E,n),M=S.root||c.Root||tB,B=C.root||f.root||{},F=$({className:q(N.root,B.className,l),disabled:h},A);let K=u||"li";return a&&(F.component=u||"div",F.focusVisibleClassName=q(Ps.focusVisible,y),K=o6),L?(K=!F.component&&!u?"div":K,d==="li"&&(K==="li"?K="div":F.component==="li"&&(F.component="div")),P.jsx(Ss.Provider,{value:T,children:P.jsxs(nB,$({as:d,className:q(N.container,p),ref:D,ownerState:j},_,{children:[P.jsx(M,$({},B,!Fr(M)&&{as:K,ownerState:$({},j,B.ownerState)},F,{children:R})),R.pop()]}))})):P.jsx(Ss.Provider,{value:T,children:P.jsxs(M,$({},B,{as:K,ref:D},!Fr(M)&&{ownerState:$({},j,B.ownerState)},F,{children:[R,w&&P.jsx(z6,{children:w})]}))})});function rB(e){return we("MuiListItemIcon",e)}Se("MuiListItemIcon",["root","alignItemsFlexStart"]);const oB=["className"],iB=e=>{const{alignItems:t,classes:n}=e;return Pe({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},rB,n)},aB=se("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>$({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),H6=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiListItemIcon"}),{className:o}=r,i=ae(r,oB),a=O.useContext(Ss),s=$({},r,{alignItems:a.alignItems}),l=iB(s);return P.jsx(aB,$({className:q(l.root,o),ownerState:s,ref:n},i))}),sB=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Sy(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function W6(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function V6(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function qu(e,t,n,r,o,i){let a=!1,s=o(e,t,t?n:!1);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const l=r?!1:s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||!V6(s,i)||l)s=o(e,s,n);else return s.focus(),!0}return!1}const lB=O.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:u=!1,onKeyDown:c,variant:f="selectedMenu"}=t,d=ae(t,sB),p=O.useRef(null),v=O.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Rn(()=>{o&&p.current.focus()},[o]),O.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(y,{direction:w})=>{const x=!p.current.style.width;if(y.clientHeight{const w=p.current,x=y.key,C=_t(w).activeElement;if(x==="ArrowDown")y.preventDefault(),qu(w,C,u,l,Sy);else if(x==="ArrowUp")y.preventDefault(),qu(w,C,u,l,W6);else if(x==="Home")y.preventDefault(),qu(w,null,u,l,Sy);else if(x==="End")y.preventDefault(),qu(w,null,u,l,W6);else if(x.length===1){const S=v.current,_=x.toLowerCase(),A=performance.now();S.keys.length>0&&(A-S.lastTime>500?(S.keys=[],S.repeating=!0,S.previousKeyMatched=!0):S.repeating&&_!==S.keys[0]&&(S.repeating=!1)),S.lastTime=A,S.keys.push(_);const k=C&&!S.repeating&&V6(C,S);S.previousKeyMatched&&(k||qu(w,C,!1,l,Sy,S))?y.preventDefault():S.previousKeyMatched=!1}c&&c(y)},b=ft(p,n);let m=-1;O.Children.forEach(a,(y,w)=>{if(!O.isValidElement(y)){m===w&&(m+=1,m>=a.length&&(m=-1));return}y.props.disabled||(f==="selectedMenu"&&y.props.selected||m===-1)&&(m=w),m===w&&(y.props.disabled||y.props.muiSkipListHighlight||y.type.muiSkipListHighlight)&&(m+=1,m>=a.length&&(m=-1))});const g=O.Children.map(a,(y,w)=>{if(w===m){const x={};return i&&(x.autoFocus=!0),y.props.tabIndex===void 0&&f==="selectedMenu"&&(x.tabIndex=0),O.cloneElement(y,x)}return y});return P.jsx(Cy,$({role:"menu",ref:b,className:s,onKeyDown:h,tabIndex:o?0:-1},d,{children:g}))});function uB(e){return we("MuiPopover",e)}Se("MuiPopover",["root","paper"]);const cB=["onEntering"],fB=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],dB=["slotProps"];function U6(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function G6(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function K6(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Py(e){return typeof e=="function"?e():e}const pB=e=>{const{classes:t}=e;return Pe({root:["root"],paper:["paper"]},uB,t)},hB=se(UN,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),q6=se(Ru,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),mB=O.forwardRef(function(t,n){var r,o,i;const a=Oe({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:f="anchorEl",children:d,className:p,container:v,elevation:h=8,marginThreshold:b=16,open:m,PaperProps:g={},slots:y,slotProps:w,transformOrigin:x={vertical:"top",horizontal:"left"},TransitionComponent:C=Mp,transitionDuration:S="auto",TransitionProps:{onEntering:_}={},disableScrollLock:A=!1}=a,k=ae(a.TransitionProps,cB),T=ae(a,fB),E=(r=w==null?void 0:w.paper)!=null?r:g,R=O.useRef(),L=ft(R,E.ref),j=$({},a,{anchorOrigin:u,anchorReference:f,elevation:h,marginThreshold:b,externalPaperSlotProps:E,transformOrigin:x,TransitionComponent:C,transitionDuration:S,TransitionProps:k}),N=pB(j),D=O.useCallback(()=>{if(f==="anchorPosition")return c;const ie=Py(l),oe=(ie&&ie.nodeType===1?ie:_t(R.current).body).getBoundingClientRect();return{top:oe.top+U6(oe,u.vertical),left:oe.left+G6(oe,u.horizontal)}},[l,u.horizontal,u.vertical,c,f]),M=O.useCallback(ie=>({vertical:U6(ie,x.vertical),horizontal:G6(ie,x.horizontal)}),[x.horizontal,x.vertical]),B=O.useCallback(ie=>{const ee={width:ie.offsetWidth,height:ie.offsetHeight},oe=M(ee);if(f==="none")return{top:null,left:null,transformOrigin:K6(oe)};const ve=D();let Ee=ve.top-oe.vertical,ke=ve.left-oe.horizontal;const Qe=Ee+ee.height,ye=ke+ee.width,xe=Xo(Py(l)),Ge=xe.innerHeight-b,Ke=xe.innerWidth-b;if(b!==null&&EeGe){const je=Qe-Ge;Ee-=je,oe.vertical+=je}if(b!==null&&keKe){const je=ye-Ke;ke-=je,oe.horizontal+=je}return{top:`${Math.round(Ee)}px`,left:`${Math.round(ke)}px`,transformOrigin:K6(oe)}},[l,f,D,M,b]),[F,K]=O.useState(m),H=O.useCallback(()=>{const ie=R.current;if(!ie)return;const ee=B(ie);ee.top!==null&&(ie.style.top=ee.top),ee.left!==null&&(ie.style.left=ee.left),ie.style.transformOrigin=ee.transformOrigin,K(!0)},[B]);O.useEffect(()=>(A&&window.addEventListener("scroll",H),()=>window.removeEventListener("scroll",H)),[l,A,H]);const Y=(ie,ee)=>{_&&_(ie,ee),H()},Z=()=>{K(!1)};O.useEffect(()=>{m&&H()}),O.useImperativeHandle(s,()=>m?{updatePosition:()=>{H()}}:null,[m,H]),O.useEffect(()=>{if(!m)return;const ie=Bv(()=>{H()}),ee=Xo(l);return ee.addEventListener("resize",ie),()=>{ie.clear(),ee.removeEventListener("resize",ie)}},[l,m,H]);let ce=S;S==="auto"&&!C.muiSupportAuto&&(ce=void 0);const Q=v||(l?_t(Py(l)).body:void 0),he=(o=y==null?void 0:y.root)!=null?o:hB,pe=(i=y==null?void 0:y.paper)!=null?i:q6,U=fn({elementType:pe,externalSlotProps:$({},E,{style:F?E.style:$({},E.style,{opacity:0})}),additionalProps:{elevation:h,ref:L},ownerState:j,className:q(N.paper,E==null?void 0:E.className)}),le=fn({elementType:he,externalSlotProps:(w==null?void 0:w.root)||{},externalForwardedProps:T,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:Q,open:m},ownerState:j,className:q(N.root,p)}),{slotProps:X}=le,z=ae(le,dB);return P.jsx(he,$({},z,!Fr(he)&&{slotProps:X,disableScrollLock:A},{children:P.jsx(C,$({appear:!0,in:m,onEntering:Y,onExited:Z,timeout:ce},k,{children:P.jsx(pe,$({},U,{children:d}))}))}))});function vB(e){return we("MuiMenu",e)}Se("MuiMenu",["root","paper","list"]);const yB=["onEntering"],gB=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],bB={vertical:"top",horizontal:"right"},xB={vertical:"top",horizontal:"left"},wB=e=>{const{classes:t}=e;return Pe({root:["root"],paper:["paper"],list:["list"]},vB,t)},CB=se(mB,{shouldForwardProp:e=>zr(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),SB=se(q6,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),PB=se(lB,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),OB=O.forwardRef(function(t,n){var r,o;const i=Oe({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:u=!1,MenuListProps:c={},onClose:f,open:d,PaperProps:p={},PopoverClasses:v,transitionDuration:h="auto",TransitionProps:{onEntering:b}={},variant:m="selectedMenu",slots:g={},slotProps:y={}}=i,w=ae(i.TransitionProps,yB),x=ae(i,gB),C=Hv(),S=$({},i,{autoFocus:a,disableAutoFocusItem:u,MenuListProps:c,onEntering:b,PaperProps:p,transitionDuration:h,TransitionProps:w,variant:m}),_=wB(S),A=a&&!u&&d,k=O.useRef(null),T=(M,B)=>{k.current&&k.current.adjustStyleForScrollbar(M,{direction:C?"rtl":"ltr"}),b&&b(M,B)},E=M=>{M.key==="Tab"&&(M.preventDefault(),f&&f(M,"tabKeyDown"))};let R=-1;O.Children.map(s,(M,B)=>{O.isValidElement(M)&&(M.props.disabled||(m==="selectedMenu"&&M.props.selected||R===-1)&&(R=B))});const L=(r=g.paper)!=null?r:SB,j=(o=y.paper)!=null?o:p,N=fn({elementType:g.root,externalSlotProps:y.root,ownerState:S,className:[_.root,l]}),D=fn({elementType:L,externalSlotProps:j,ownerState:S,className:_.paper});return P.jsx(CB,$({onClose:f,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?bB:xB,slots:{paper:L,root:g.root},slotProps:{root:N,paper:D},open:d,ref:n,transitionDuration:h,TransitionProps:$({onEntering:T},w),ownerState:S},x,{classes:v,children:P.jsx(PB,$({onKeyDown:E,actions:k,autoFocus:a&&(R===-1||u),autoFocusItem:A,variant:m},c,{className:q(_.list,c.className),children:s}))}))});function _B(e){return we("MuiNativeSelect",e)}const Oy=Se("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),$B=["className","disabled","error","IconComponent","inputRef","variant"],AB=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ge(n)}`,i&&"iconOpen",r&&"disabled"]};return Pe(s,_B,t)},X6=({ownerState:e,theme:t})=>$({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":$({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${Oy.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),EB=se("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:zr,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Oy.multiple}`]:t.multiple}]}})(X6),Z6=({ownerState:e,theme:t})=>$({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${Oy.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),kB=se("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ge(n.variant)}`],n.open&&t.iconOpen]}})(Z6),TB=O.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:s,variant:l="standard"}=t,u=ae(t,$B),c=$({},t,{disabled:o,variant:l,error:i}),f=AB(c);return P.jsxs(O.Fragment,{children:[P.jsx(EB,$({ownerState:c,className:q(f.select,r),disabled:o,ref:s||n},u)),t.multiple?null:P.jsx(kB,{as:a,ownerState:c,className:f.icon})]})});var Y6;const MB=["children","classes","className","label","notched"],jB=se("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:zr})({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%"}),RB=se("legend",{name:"MuiNotchedOutlined",shouldForwardProp:zr})(({ownerState:e,theme:t})=>$({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&$({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function LB(e){const{className:t,label:n,notched:r}=e,o=ae(e,MB),i=n!=null&&n!=="",a=$({},e,{notched:r,withLabel:i});return P.jsx(jB,$({"aria-hidden":!0,className:t,ownerState:a},o,{children:P.jsx(RB,{ownerState:a,children:i?P.jsx("span",{children:n}):Y6||(Y6=P.jsx("span",{className:"notranslate",children:"​"}))})}))}const IB=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],NB=e=>{const{classes:t}=e,r=Pe({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},aN,t);return $({},t,r)},DB=se(kp,{shouldForwardProp:e=>zr(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Ap})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return $({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Yo.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Yo.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Yo.focused} .${Yo.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Yo.error} .${Yo.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Yo.disabled} .${Yo.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&$({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),BB=se(LB,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),FB=se(Tp,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Ep})(({theme:e,ownerState:t})=>$({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),_y=O.forwardRef(function(t,n){var r,o,i,a,s;const l=Oe({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:f="input",label:d,multiline:p=!1,notched:v,slots:h={},type:b="text"}=l,m=ae(l,IB),g=NB(l),y=Di(),w=bs({props:l,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),x=$({},l,{color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:y,fullWidth:c,hiddenLabel:w.hiddenLabel,multiline:p,size:w.size,type:b}),C=(r=(o=h.root)!=null?o:u.Root)!=null?r:DB,S=(i=(a=h.input)!=null?a:u.Input)!=null?i:FB;return P.jsx(vy,$({slots:{root:C,input:S},renderSuffix:_=>P.jsx(BB,{ownerState:x,className:g.notchedOutline,label:d!=null&&d!==""&&w.required?s||(s=P.jsxs(O.Fragment,{children:[d," ","*"]})):d,notched:typeof v<"u"?v:!!(_.startAdornment||_.filled||_.focused)}),fullWidth:c,inputComponent:f,multiline:p,ref:n,type:b},m,{classes:$({},g,{notchedOutline:null})}))});_y.muiName="Input";function zB(e){return we("MuiScopedCssBaseline",e)}Se("MuiScopedCssBaseline",["root"]);const HB=["className","component","enableColorScheme"],WB=e=>{const{classes:t}=e;return Pe({root:["root"]},zB,t)},VB=se("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{const n={};return t.enableColorScheme&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([r,o])=>{var i;n[`&${e.getColorSchemeSelector(r).replace(/\s*&/,"")}`]={colorScheme:(i=o.palette)==null?void 0:i.mode}}),$({},CN(e,t.enableColorScheme),SN(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}},n)}),UB=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiScopedCssBaseline"}),{className:o,component:i="div"}=r,a=ae(r,HB),s=$({},r,{component:i}),l=WB(s);return P.jsx(VB,$({as:i,className:q(l.root,o),ref:n,ownerState:s},a))});function GB(e){return we("MuiSelect",e)}const Xu=Se("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var Q6;const KB=["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"],qB=se("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Xu.select}`]:t.select},{[`&.${Xu.select}`]:t[n.variant]},{[`&.${Xu.error}`]:t.error},{[`&.${Xu.multiple}`]:t.multiple}]}})(X6,{[`&.${Xu.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),XB=se("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ge(n.variant)}`],n.open&&t.iconOpen]}})(Z6),ZB=se("input",{shouldForwardProp:e=>vp(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function J6(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function YB(e){return e==null||typeof e=="string"&&!e.trim()}const QB=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ge(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Pe(s,GB,t)},JB=O.forwardRef(function(t,n){var r;const{"aria-describedby":o,"aria-label":i,autoFocus:a,autoWidth:s,children:l,className:u,defaultOpen:c,defaultValue:f,disabled:d,displayEmpty:p,error:v=!1,IconComponent:h,inputRef:b,labelId:m,MenuProps:g={},multiple:y,name:w,onBlur:x,onChange:C,onClose:S,onFocus:_,onOpen:A,open:k,readOnly:T,renderValue:E,SelectDisplayProps:R={},tabIndex:L,value:j,variant:N="standard"}=t,D=ae(t,KB),[M,B]=is({controlled:j,default:f,name:"Select"}),[F,K]=is({controlled:k,default:c,name:"Select"}),H=O.useRef(null),Y=O.useRef(null),[Z,ce]=O.useState(null),{current:Q}=O.useRef(k!=null),[he,pe]=O.useState(),U=ft(n,b),le=O.useCallback(te=>{Y.current=te,te&&ce(te)},[]),X=Z==null?void 0:Z.parentNode;O.useImperativeHandle(U,()=>({focus:()=>{Y.current.focus()},node:H.current,value:M}),[M]),O.useEffect(()=>{c&&F&&Z&&!Q&&(pe(s?null:X.clientWidth),Y.current.focus())},[Z,s]),O.useEffect(()=>{a&&Y.current.focus()},[a]),O.useEffect(()=>{if(!m)return;const te=_t(Y.current).getElementById(m);if(te){const Me=()=>{getSelection().isCollapsed&&Y.current.focus()};return te.addEventListener("click",Me),()=>{te.removeEventListener("click",Me)}}},[m]);const z=(te,Me)=>{te?A&&A(Me):S&&S(Me),Q||(pe(s?null:X.clientWidth),K(te))},ie=te=>{te.button===0&&(te.preventDefault(),Y.current.focus(),z(!0,te))},ee=te=>{z(!1,te)},oe=O.Children.toArray(l),ve=te=>{const Me=oe.find(Ne=>Ne.props.value===te.target.value);Me!==void 0&&(B(Me.props.value),C&&C(te,Me))},Ee=te=>Me=>{let Ne;if(Me.currentTarget.hasAttribute("tabindex")){if(y){Ne=Array.isArray(M)?M.slice():[];const Te=M.indexOf(te.props.value);Te===-1?Ne.push(te.props.value):Ne.splice(Te,1)}else Ne=te.props.value;if(te.props.onClick&&te.props.onClick(Me),M!==Ne&&(B(Ne),C)){const Te=Me.nativeEvent||Me,Dt=new Te.constructor(Te.type,Te);Object.defineProperty(Dt,"target",{writable:!0,value:{value:Ne,name:w}}),C(Dt,te)}y||z(!1,Me)}},ke=te=>{T||[" ","ArrowUp","ArrowDown","Enter"].indexOf(te.key)!==-1&&(te.preventDefault(),z(!0,te))},Qe=Z!==null&&F,ye=te=>{!Qe&&x&&(Object.defineProperty(te,"target",{writable:!0,value:{value:M,name:w}}),x(te))};delete D["aria-invalid"];let xe,Ge;const Ke=[];let je=!1;($p({value:M})||p)&&(E?xe=E(M):je=!0);const dt=oe.map(te=>{if(!O.isValidElement(te))return null;let Me;if(y){if(!Array.isArray(M))throw new Error(Ai(2));Me=M.some(Ne=>J6(Ne,te.props.value)),Me&&je&&Ke.push(te.props.children)}else Me=J6(M,te.props.value),Me&&je&&(Ge=te.props.children);return O.cloneElement(te,{"aria-selected":Me?"true":"false",onClick:Ee(te),onKeyUp:Ne=>{Ne.key===" "&&Ne.preventDefault(),te.props.onKeyUp&&te.props.onKeyUp(Ne)},role:"option",selected:Me,value:void 0,"data-value":te.props.value})});je&&(y?Ke.length===0?xe=null:xe=Ke.reduce((te,Me,Ne)=>(te.push(Me),Ne{const{classes:t}=e;return t},$y={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>zr(e)&&e!=="variant",slot:"Root"},rF=se(wy,$y)(""),oF=se(_y,$y)(""),iF=se(gy,$y)(""),e7=O.forwardRef(function(t,n){const r=Oe({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:u=!1,IconComponent:c=lN,id:f,input:d,inputProps:p,label:v,labelId:h,MenuProps:b,multiple:m=!1,native:g=!1,onClose:y,onOpen:w,open:x,renderValue:C,SelectDisplayProps:S,variant:_="outlined"}=r,A=ae(r,eF),k=g?TB:JB,T=Di(),E=bs({props:r,muiFormControl:T,states:["variant","error"]}),R=E.variant||_,L=$({},r,{variant:R,classes:a}),j=nF(L),N=ae(j,tF),D=d||{standard:P.jsx(rF,{ownerState:L}),outlined:P.jsx(oF,{label:v,ownerState:L}),filled:P.jsx(iF,{ownerState:L})}[R],M=ft(n,ss(D));return P.jsx(O.Fragment,{children:O.cloneElement(D,$({inputComponent:k,inputProps:$({children:i,error:E.error,IconComponent:c,variant:R,type:void 0,multiple:m},g?{id:f}:{autoWidth:o,defaultOpen:l,displayEmpty:u,labelId:h,MenuProps:b,onClose:y,onOpen:w,open:x,renderValue:C,SelectDisplayProps:$({id:f},S)},p,{classes:p?cn(N,p.classes):N},d?d.props.inputProps:{})},(m&&g||u)&&R==="outlined"?{notched:!0}:{},{ref:M,className:q(D.props.className,s,j.root)},!d&&{variant:R},A))})});e7.muiName="Select";function aF(e,t,n=(r,o)=>r===o){return e.length===t.length&&e.every((r,o)=>n(r,t[o]))}const sF=2;function t7(e,t){return e-t}function n7(e,t){var n;const{index:r}=(n=e.reduce((o,i,a)=>{const s=Math.abs(t-i);return o===null||s({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},dF=e=>e;let Np;function o7(){return Np===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?Np=CSS.supports("touch-action","none"):Np=!0),Np}function pF(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:o=!1,isRtl:i=!1,marks:a=!1,max:s=100,min:l=0,name:u,onChange:c,onChangeCommitted:f,orientation:d="horizontal",rootRef:p,scale:v=dF,step:h=1,shiftStep:b=10,tabIndex:m,value:g}=e,y=O.useRef(void 0),[w,x]=O.useState(-1),[C,S]=O.useState(-1),[_,A]=O.useState(!1),k=O.useRef(0),[T,E]=is({controlled:g,default:n??l,name:"Slider"}),R=c&&((G,V,ue)=>{const Ae=G.nativeEvent||G,$e=new Ae.constructor(Ae.type,Ae);Object.defineProperty($e,"target",{writable:!0,value:{value:V,name:u}}),c($e,V,ue)}),L=Array.isArray(T);let j=L?T.slice().sort(t7):[T];j=j.map(G=>G==null?l:rs(G,l,s));const N=a===!0&&h!==null?[...Array(Math.floor((s-l)/h)+1)].map((G,V)=>({value:l+h*V})):a||[],D=N.map(G=>G.value),{isFocusVisibleRef:M,onBlur:B,onFocus:F,ref:K}=sp(),[H,Y]=O.useState(-1),Z=O.useRef(null),ce=ft(K,Z),Q=ft(p,ce),he=G=>V=>{var ue;const Ae=Number(V.currentTarget.getAttribute("data-index"));F(V),M.current===!0&&Y(Ae),S(Ae),G==null||(ue=G.onFocus)==null||ue.call(G,V)},pe=G=>V=>{var ue;B(V),M.current===!1&&Y(-1),S(-1),G==null||(ue=G.onBlur)==null||ue.call(G,V)},U=(G,V)=>{const ue=Number(G.currentTarget.getAttribute("data-index")),Ae=j[ue],$e=D.indexOf(Ae);let te=V;if(N&&h==null){const Me=D[D.length-1];te>Me?te=Me:teV=>{var ue;if(h!==null){const Ae=Number(V.currentTarget.getAttribute("data-index")),$e=j[Ae];let te=null;(V.key==="ArrowLeft"||V.key==="ArrowDown")&&V.shiftKey||V.key==="PageDown"?te=Math.max($e-b,l):((V.key==="ArrowRight"||V.key==="ArrowUp")&&V.shiftKey||V.key==="PageUp")&&(te=Math.min($e+b,s)),te!==null&&(U(V,te),V.preventDefault())}G==null||(ue=G.onKeyDown)==null||ue.call(G,V)};Rn(()=>{if(r&&Z.current.contains(document.activeElement)){var G;(G=document.activeElement)==null||G.blur()}},[r]),r&&w!==-1&&x(-1),r&&H!==-1&&Y(-1);const X=G=>V=>{var ue;(ue=G.onChange)==null||ue.call(G,V),U(V,V.target.valueAsNumber)},z=O.useRef(void 0);let ie=d;i&&d==="horizontal"&&(ie+="-reverse");const ee=({finger:G,move:V=!1})=>{const{current:ue}=Z,{width:Ae,height:$e,bottom:te,left:Me}=ue.getBoundingClientRect();let Ne;ie.indexOf("vertical")===0?Ne=(te-G.y)/$e:Ne=(G.x-Me)/Ae,ie.indexOf("-reverse")!==-1&&(Ne=1-Ne);let Te;if(Te=lF(Ne,l,s),h)Te=cF(Te,h,l);else{const $o=n7(D,Te);Te=D[$o]}Te=rs(Te,l,s);let Dt=0;if(L){V?Dt=z.current:Dt=n7(j,Te),o&&(Te=rs(Te,j[Dt-1]||-1/0,j[Dt+1]||1/0));const $o=Te;Te=r7({values:j,newValue:Te,index:Dt}),o&&V||(Dt=Te.indexOf($o),z.current=Dt)}return{newValue:Te,activeIndex:Dt}},oe=Ln(G=>{const V=jp(G,y);if(!V)return;if(k.current+=1,G.type==="mousemove"&&G.buttons===0){ve(G);return}const{newValue:ue,activeIndex:Ae}=ee({finger:V,move:!0});Lp({sliderRef:Z,activeIndex:Ae,setActive:x}),E(ue),!_&&k.current>sF&&A(!0),R&&!Ip(ue,T)&&R(G,ue,Ae)}),ve=Ln(G=>{const V=jp(G,y);if(A(!1),!V)return;const{newValue:ue}=ee({finger:V,move:!0});x(-1),G.type==="touchend"&&S(-1),f&&f(G,ue),y.current=void 0,ke()}),Ee=Ln(G=>{if(r)return;o7()||G.preventDefault();const V=G.changedTouches[0];V!=null&&(y.current=V.identifier);const ue=jp(G,y);if(ue!==!1){const{newValue:$e,activeIndex:te}=ee({finger:ue});Lp({sliderRef:Z,activeIndex:te,setActive:x}),E($e),R&&!Ip($e,T)&&R(G,$e,te)}k.current=0;const Ae=_t(Z.current);Ae.addEventListener("touchmove",oe,{passive:!0}),Ae.addEventListener("touchend",ve,{passive:!0})}),ke=O.useCallback(()=>{const G=_t(Z.current);G.removeEventListener("mousemove",oe),G.removeEventListener("mouseup",ve),G.removeEventListener("touchmove",oe),G.removeEventListener("touchend",ve)},[ve,oe]);O.useEffect(()=>{const{current:G}=Z;return G.addEventListener("touchstart",Ee,{passive:o7()}),()=>{G.removeEventListener("touchstart",Ee),ke()}},[ke,Ee]),O.useEffect(()=>{r&&ke()},[r,ke]);const Qe=G=>V=>{var ue;if((ue=G.onMouseDown)==null||ue.call(G,V),r||V.defaultPrevented||V.button!==0)return;V.preventDefault();const Ae=jp(V,y);if(Ae!==!1){const{newValue:te,activeIndex:Me}=ee({finger:Ae});Lp({sliderRef:Z,activeIndex:Me,setActive:x}),E(te),R&&!Ip(te,T)&&R(V,te,Me)}k.current=0;const $e=_t(Z.current);$e.addEventListener("mousemove",oe,{passive:!0}),$e.addEventListener("mouseup",ve)},ye=Rp(L?j[0]:l,l,s),xe=Rp(j[j.length-1],l,s)-ye,Ge=(G={})=>{const V=ku(G),ue={onMouseDown:Qe(V||{})},Ae=$({},V,ue);return $({},G,{ref:Q},Ae)},Ke=G=>V=>{var ue;(ue=G.onMouseOver)==null||ue.call(G,V);const Ae=Number(V.currentTarget.getAttribute("data-index"));S(Ae)},je=G=>V=>{var ue;(ue=G.onMouseLeave)==null||ue.call(G,V),S(-1)};return{active:w,axis:ie,axisProps:fF,dragging:_,focusedThumbIndex:H,getHiddenInputProps:(G={})=>{var V;const ue=ku(G),Ae={onChange:X(ue||{}),onFocus:he(ue||{}),onBlur:pe(ue||{}),onKeyDown:le(ue||{})},$e=$({},ue,Ae);return $({tabIndex:m,"aria-labelledby":t,"aria-orientation":d,"aria-valuemax":v(s),"aria-valuemin":v(l),name:u,type:"range",min:e.min,max:e.max,step:e.step===null&&e.marks?"any":(V=e.step)!=null?V:void 0,disabled:r},G,$e,{style:$({},AM,{direction:i?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:Ge,getThumbProps:(G={})=>{const V=ku(G),ue={onMouseOver:Ke(V||{}),onMouseLeave:je(V||{})};return $({},G,V,ue)},marks:N,open:C,range:L,rootRef:Q,trackLeap:xe,trackOffset:ye,values:j,getThumbStyle:G=>({pointerEvents:w!==-1&&w!==G?"none":void 0})}}const hF=e=>!e||!Fr(e);function mF(e){return we("MuiSlider",e)}const or=Se("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),vF=e=>{const{open:t}=e;return{offset:q(t&&or.valueLabelOpen),circle:or.valueLabelCircle,label:or.valueLabelLabel}};function yF(e){const{children:t,className:n,value:r}=e,o=vF(e);return t?O.cloneElement(t,{className:q(t.props.className)},P.jsxs(O.Fragment,{children:[t.props.children,P.jsx("span",{className:q(o.offset,n),"aria-hidden":!0,children:P.jsx("span",{className:o.circle,children:P.jsx("span",{className:o.label,children:r})})})]})):null}const gF=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function i7(e){return e}const bF=se("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ge(n.color)}`],n.size!=="medium"&&t[`size${ge(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${or.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${or.dragging}`]:{[`& .${or.thumb}, & .${or.track}`]:{transition:"none"}},variants:[...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{color:(e.vars||e).palette[n].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),xF=se("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),wF=se("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n,track:"inverted"},style:$({},e.vars?{backgroundColor:e.vars.palette.Slider[`${n}Track`],borderColor:e.vars.palette.Slider[`${n}Track`]}:$({backgroundColor:up(e.palette[n].main,.62),borderColor:up(e.palette[n].main,.62)},e.applyStyles("dark",{backgroundColor:lp(e.palette[n].main,.5)}),e.applyStyles("dark",{borderColor:lp(e.palette[n].main,.5)})))}))]}}),CF=se("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${ge(n.color)}`],n.size!=="medium"&&t[`thumbSize${ge(n.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${or.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys(((t=e.vars)!=null?t:e).palette).filter(n=>{var r;return((r=e.vars)!=null?r:e).palette[n].main}).map(n=>({props:{color:n},style:{[`&:hover, &.${or.focusVisible}`]:$({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${xn(e.palette[n].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${or.active}`]:$({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[n].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${xn(e.palette[n].main,.16)}`})}}))]}}),SF=se(yF,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>$({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${or.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${or.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),PF=se("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>vp(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),OF=se("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>vp(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>$({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),_F=e=>{const{disabled:t,dragging:n,marked:r,orientation:o,track:i,classes:a,color:s,size:l}=e,u={root:["root",t&&"disabled",n&&"dragging",r&&"marked",o==="vertical"&&"vertical",i==="inverted"&&"trackInverted",i===!1&&"trackFalse",s&&`color${ge(s)}`,l&&`size${ge(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${ge(l)}`,s&&`thumbColor${ge(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Pe(u,mF,a)},$F=({children:e})=>e,AF=O.forwardRef(function(t,n){var r,o,i,a,s,l,u,c,f,d,p,v,h,b,m,g,y,w,x,C,S,_,A,k;const T=Oe({props:t,name:"MuiSlider"}),E=Hv(),{"aria-label":R,"aria-valuetext":L,"aria-labelledby":j,component:N="span",components:D={},componentsProps:M={},color:B="primary",classes:F,className:K,disableSwap:H=!1,disabled:Y=!1,getAriaLabel:Z,getAriaValueText:ce,marks:Q=!1,max:he=100,min:pe=0,orientation:U="horizontal",shiftStep:le=10,size:X="medium",step:z=1,scale:ie=i7,slotProps:ee,slots:oe,track:ve="normal",valueLabelDisplay:Ee="off",valueLabelFormat:ke=i7}=T,Qe=ae(T,gF),ye=$({},T,{isRtl:E,max:he,min:pe,classes:F,disabled:Y,disableSwap:H,orientation:U,marks:Q,color:B,size:X,step:z,shiftStep:le,scale:ie,track:ve,valueLabelDisplay:Ee,valueLabelFormat:ke}),{axisProps:xe,getRootProps:Ge,getHiddenInputProps:Ke,getThumbProps:je,open:dt,active:kt,axis:St,focusedThumbIndex:G,range:V,dragging:ue,marks:Ae,values:$e,trackOffset:te,trackLeap:Me,getThumbStyle:Ne}=pF($({},ye,{rootRef:n}));ye.marked=Ae.length>0&&Ae.some(pt=>pt.label),ye.dragging=ue,ye.focusedThumbIndex=G;const Te=_F(ye),Dt=(r=(o=oe==null?void 0:oe.root)!=null?o:D.Root)!=null?r:bF,$o=(i=(a=oe==null?void 0:oe.rail)!=null?a:D.Rail)!=null?i:xF,K1=(s=(l=oe==null?void 0:oe.track)!=null?l:D.Track)!=null?s:wF,q1=(u=(c=oe==null?void 0:oe.thumb)!=null?c:D.Thumb)!=null?u:CF,X1=(f=(d=oe==null?void 0:oe.valueLabel)!=null?d:D.ValueLabel)!=null?f:SF,wl=(p=(v=oe==null?void 0:oe.mark)!=null?v:D.Mark)!=null?p:PF,Cl=(h=(b=oe==null?void 0:oe.markLabel)!=null?b:D.MarkLabel)!=null?h:OF,af=(m=(g=oe==null?void 0:oe.input)!=null?g:D.Input)!=null?m:"input",Sl=(y=ee==null?void 0:ee.root)!=null?y:M.root,Xb=(w=ee==null?void 0:ee.rail)!=null?w:M.rail,sf=(x=ee==null?void 0:ee.track)!=null?x:M.track,lf=(C=ee==null?void 0:ee.thumb)!=null?C:M.thumb,da=(S=ee==null?void 0:ee.valueLabel)!=null?S:M.valueLabel,Zb=(_=ee==null?void 0:ee.mark)!=null?_:M.mark,pa=(A=ee==null?void 0:ee.markLabel)!=null?A:M.markLabel,uf=(k=ee==null?void 0:ee.input)!=null?k:M.input,zn=fn({elementType:Dt,getSlotProps:Ge,externalSlotProps:Sl,externalForwardedProps:Qe,additionalProps:$({},hF(Dt)&&{as:N}),ownerState:$({},ye,Sl==null?void 0:Sl.ownerState),className:[Te.root,K]}),ha=fn({elementType:$o,externalSlotProps:Xb,ownerState:ye,className:Te.rail}),Yb=fn({elementType:K1,externalSlotProps:sf,additionalProps:{style:$({},xe[St].offset(te),xe[St].leap(Me))},ownerState:$({},ye,sf==null?void 0:sf.ownerState),className:Te.track}),Ao=fn({elementType:q1,getSlotProps:je,externalSlotProps:lf,ownerState:$({},ye,lf==null?void 0:lf.ownerState),className:Te.thumb}),cf=fn({elementType:X1,externalSlotProps:da,ownerState:$({},ye,da==null?void 0:da.ownerState),className:Te.valueLabel}),Pl=fn({elementType:wl,externalSlotProps:Zb,ownerState:ye,className:Te.mark}),Ol=fn({elementType:Cl,externalSlotProps:pa,ownerState:ye,className:Te.markLabel}),Z1=fn({elementType:af,getSlotProps:Ke,externalSlotProps:uf,ownerState:ye});return P.jsxs(Dt,$({},zn,{children:[P.jsx($o,$({},ha)),P.jsx(K1,$({},Yb)),Ae.filter(pt=>pt.value>=pe&&pt.value<=he).map((pt,Bt)=>{const ff=Rp(pt.value,pe,he),_l=xe[St].offset(ff);let Tr;return ve===!1?Tr=$e.indexOf(pt.value)!==-1:Tr=ve==="normal"&&(V?pt.value>=$e[0]&&pt.value<=$e[$e.length-1]:pt.value<=$e[0])||ve==="inverted"&&(V?pt.value<=$e[0]||pt.value>=$e[$e.length-1]:pt.value>=$e[0]),P.jsxs(O.Fragment,{children:[P.jsx(wl,$({"data-index":Bt},Pl,!Fr(wl)&&{markActive:Tr},{style:$({},_l,Pl.style),className:q(Pl.className,Tr&&Te.markActive)})),pt.label!=null?P.jsx(Cl,$({"aria-hidden":!0,"data-index":Bt},Ol,!Fr(Cl)&&{markLabelActive:Tr},{style:$({},_l,Ol.style),className:q(Te.markLabel,Ol.className,Tr&&Te.markLabelActive),children:pt.label})):null]},Bt)}),$e.map((pt,Bt)=>{const ff=Rp(pt,pe,he),_l=xe[St].offset(ff),Tr=Ee==="off"?$F:X1;return P.jsx(Tr,$({},!Fr(Tr)&&{valueLabelFormat:ke,valueLabelDisplay:Ee,value:typeof ke=="function"?ke(ie(pt),Bt):ke,index:Bt,open:dt===Bt||kt===Bt||Ee==="on",disabled:Y},cf,{children:P.jsx(q1,$({"data-index":Bt},Ao,{className:q(Te.thumb,Ao.className,kt===Bt&&Te.active,G===Bt&&Te.focusVisible),style:$({},_l,Ne(Bt),Ao.style),children:P.jsx(af,$({"data-index":Bt,"aria-label":Z?Z(Bt):R,"aria-valuenow":ie(pt),"aria-labelledby":j,"aria-valuetext":ce?ce(ie(pt),Bt):L,value:$e[Bt]},Z1))}))}),Bt)})]}))});function EF(e){return we("MuiTooltip",e)}const Qo=Se("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),kF=["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 TF(e){return Math.round(e*1e5)/1e5}const MF=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${ge(i.split("-")[0])}`],arrow:["arrow"]};return Pe(a,EF,t)},jF=se($6,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>$({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Qo.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Qo.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Qo.arrow}`]:$({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Qo.arrow}`]:$({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),RF=se("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ge(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>$({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:xn(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${TF(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Qo.popper}[data-popper-placement*="left"] &`]:$({transformOrigin:"right center"},t.isRtl?$({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):$({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Qo.popper}[data-popper-placement*="right"] &`]:$({transformOrigin:"left center"},t.isRtl?$({marginRight:"14px"},t.touch&&{marginRight:"24px"}):$({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Qo.popper}[data-popper-placement*="top"] &`]:$({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Qo.popper}[data-popper-placement*="bottom"] &`]:$({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),LF=se("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:xn(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Dp=!1;const a7=new Eu;let Zu={x:0,y:0};function Bp(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const IF=O.forwardRef(function(t,n){var r,o,i,a,s,l,u,c,f,d,p,v,h,b,m,g,y,w,x;const C=Oe({props:t,name:"MuiTooltip"}),{arrow:S=!1,children:_,components:A={},componentsProps:k={},describeChild:T=!1,disableFocusListener:E=!1,disableHoverListener:R=!1,disableInteractive:L=!1,disableTouchListener:j=!1,enterDelay:N=100,enterNextDelay:D=0,enterTouchDelay:M=700,followCursor:B=!1,id:F,leaveDelay:K=0,leaveTouchDelay:H=1500,onClose:Y,onOpen:Z,open:ce,placement:Q="bottom",PopperComponent:he,PopperProps:pe={},slotProps:U={},slots:le={},title:X,TransitionComponent:z=Mp,TransitionProps:ie}=C,ee=ae(C,kF),oe=O.isValidElement(_)?_:P.jsx("span",{children:_}),ve=po(),Ee=Hv(),[ke,Qe]=O.useState(),[ye,xe]=O.useState(null),Ge=O.useRef(!1),Ke=L||B,je=Mi(),dt=Mi(),kt=Mi(),St=Mi(),[G,V]=is({controlled:ce,default:!1,name:"Tooltip",state:"open"});let ue=G;const Ae=Au(F),$e=O.useRef(),te=Ln(()=>{$e.current!==void 0&&(document.body.style.WebkitUserSelect=$e.current,$e.current=void 0),St.clear()});O.useEffect(()=>te,[te]);const Me=Le=>{a7.clear(),Dp=!0,V(!0),Z&&!ue&&Z(Le)},Ne=Ln(Le=>{a7.start(800+K,()=>{Dp=!1}),V(!1),Y&&ue&&Y(Le),je.start(ve.transitions.duration.shortest,()=>{Ge.current=!1})}),Te=Le=>{Ge.current&&Le.type!=="touchstart"||(ke&&ke.removeAttribute("title"),dt.clear(),kt.clear(),N||Dp&&D?dt.start(Dp?D:N,()=>{Me(Le)}):Me(Le))},Dt=Le=>{dt.clear(),kt.start(K,()=>{Ne(Le)})},{isFocusVisibleRef:$o,onBlur:K1,onFocus:q1,ref:X1}=sp(),[,wl]=O.useState(!1),Cl=Le=>{K1(Le),$o.current===!1&&(wl(!1),Dt(Le))},af=Le=>{ke||Qe(Le.currentTarget),q1(Le),$o.current===!0&&(wl(!0),Te(Le))},Sl=Le=>{Ge.current=!0;const Hn=oe.props;Hn.onTouchStart&&Hn.onTouchStart(Le)},Xb=Le=>{Sl(Le),kt.clear(),je.clear(),te(),$e.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",St.start(M,()=>{document.body.style.WebkitUserSelect=$e.current,Te(Le)})},sf=Le=>{oe.props.onTouchEnd&&oe.props.onTouchEnd(Le),te(),kt.start(H,()=>{Ne(Le)})};O.useEffect(()=>{if(!ue)return;function Le(Hn){(Hn.key==="Escape"||Hn.key==="Esc")&&Ne(Hn)}return document.addEventListener("keydown",Le),()=>{document.removeEventListener("keydown",Le)}},[Ne,ue]);const lf=ft(ss(oe),X1,Qe,n);!X&&X!==0&&(ue=!1);const da=O.useRef(),Zb=Le=>{const Hn=oe.props;Hn.onMouseMove&&Hn.onMouseMove(Le),Zu={x:Le.clientX,y:Le.clientY},da.current&&da.current.update()},pa={},uf=typeof X=="string";T?(pa.title=!ue&&uf&&!R?X:null,pa["aria-describedby"]=ue?Ae:null):(pa["aria-label"]=uf?X:null,pa["aria-labelledby"]=ue&&!uf?Ae:null);const zn=$({},pa,ee,oe.props,{className:q(ee.className,oe.props.className),onTouchStart:Sl,ref:lf},B?{onMouseMove:Zb}:{}),ha={};j||(zn.onTouchStart=Xb,zn.onTouchEnd=sf),R||(zn.onMouseOver=Bp(Te,zn.onMouseOver),zn.onMouseLeave=Bp(Dt,zn.onMouseLeave),Ke||(ha.onMouseOver=Te,ha.onMouseLeave=Dt)),E||(zn.onFocus=Bp(af,zn.onFocus),zn.onBlur=Bp(Cl,zn.onBlur),Ke||(ha.onFocus=af,ha.onBlur=Cl));const Yb=O.useMemo(()=>{var Le;let Hn=[{name:"arrow",enabled:!!ye,options:{element:ye,padding:4}}];return(Le=pe.popperOptions)!=null&&Le.modifiers&&(Hn=Hn.concat(pe.popperOptions.modifiers)),$({},pe.popperOptions,{modifiers:Hn})},[ye,pe]),Ao=$({},C,{isRtl:Ee,arrow:S,disableInteractive:Ke,placement:Q,PopperComponentProp:he,touch:Ge.current}),cf=MF(Ao),Pl=(r=(o=le.popper)!=null?o:A.Popper)!=null?r:jF,Ol=(i=(a=(s=le.transition)!=null?s:A.Transition)!=null?a:z)!=null?i:Mp,Z1=(l=(u=le.tooltip)!=null?u:A.Tooltip)!=null?l:RF,pt=(c=(f=le.arrow)!=null?f:A.Arrow)!=null?c:LF,Bt=as(Pl,$({},pe,(d=U.popper)!=null?d:k.popper,{className:q(cf.popper,pe==null?void 0:pe.className,(p=(v=U.popper)!=null?v:k.popper)==null?void 0:p.className)}),Ao),ff=as(Ol,$({},ie,(h=U.transition)!=null?h:k.transition),Ao),_l=as(Z1,$({},(b=U.tooltip)!=null?b:k.tooltip,{className:q(cf.tooltip,(m=(g=U.tooltip)!=null?g:k.tooltip)==null?void 0:m.className)}),Ao),Tr=as(pt,$({},(y=U.arrow)!=null?y:k.arrow,{className:q(cf.arrow,(w=(x=U.arrow)!=null?x:k.arrow)==null?void 0:w.className)}),Ao);return P.jsxs(O.Fragment,{children:[O.cloneElement(oe,zn),P.jsx(Pl,$({as:he??$6,placement:Q,anchorEl:B?{getBoundingClientRect:()=>({top:Zu.y,left:Zu.x,right:Zu.x,bottom:Zu.y,width:0,height:0})}:ke,popperRef:da,open:ke?ue:!1,id:Ae,transition:!0},ha,Bt,{popperOptions:Yb,children:({TransitionProps:Le})=>P.jsx(Ol,$({timeout:ve.transitions.duration.shorter},Le,ff,{children:P.jsxs(Z1,$({},_l,{children:[X,S?P.jsx(pt,$({},Tr,{ref:xe})):null]}))}))}))]})}),s7=O.createContext();function NF(e){return we("MuiTable",e)}Se("MuiTable",["root","stickyHeader"]);const DF=["className","component","padding","size","stickyHeader"],BF=e=>{const{classes:t,stickyHeader:n}=e;return Pe({root:["root",n&&"stickyHeader"]},NF,t)},FF=se("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>$({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":$({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),l7="table",zF=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTable"}),{className:o,component:i=l7,padding:a="normal",size:s="medium",stickyHeader:l=!1}=r,u=ae(r,DF),c=$({},r,{component:i,padding:a,size:s,stickyHeader:l}),f=BF(c),d=O.useMemo(()=>({padding:a,size:s,stickyHeader:l}),[a,s,l]);return P.jsx(s7.Provider,{value:d,children:P.jsx(FF,$({as:i,role:i===l7?null:"table",ref:n,className:q(f.root,o),ownerState:c},u))})}),Fp=O.createContext();function HF(e){return we("MuiTableBody",e)}Se("MuiTableBody",["root"]);const WF=["className","component"],VF=e=>{const{classes:t}=e;return Pe({root:["root"]},HF,t)},UF=se("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),GF={variant:"body"},u7="tbody",KF=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableBody"}),{className:o,component:i=u7}=r,a=ae(r,WF),s=$({},r,{component:i}),l=VF(s);return P.jsx(Fp.Provider,{value:GF,children:P.jsx(UF,$({className:q(l.root,o),as:i,ref:n,role:i===u7?null:"rowgroup",ownerState:s},a))})});function qF(e){return we("MuiTableCell",e)}const XF=Se("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),ZF=["align","className","component","padding","scope","size","sortDirection","variant"],YF=e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:a}=e,s={root:["root",n,a&&"stickyHeader",r!=="inherit"&&`align${ge(r)}`,o!=="normal"&&`padding${ge(o)}`,`size${ge(i)}`]};return Pe(s,qF,t)},QF=se("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${ge(n.size)}`],n.padding!=="normal"&&t[`padding${ge(n.padding)}`],n.align!=="inherit"&&t[`align${ge(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>$({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid ${e.palette.mode==="light"?up(xn(e.palette.divider,1),.88):lp(xn(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${XF.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),Ht=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableCell"}),{align:o="inherit",className:i,component:a,padding:s,scope:l,size:u,sortDirection:c,variant:f}=r,d=ae(r,ZF),p=O.useContext(s7),v=O.useContext(Fp),h=v&&v.variant==="head";let b;a?b=a:b=h?"th":"td";let m=l;b==="td"?m=void 0:!m&&h&&(m="col");const g=f||v&&v.variant,y=$({},r,{align:o,component:b,padding:s||(p&&p.padding?p.padding:"normal"),size:u||(p&&p.size?p.size:"medium"),sortDirection:c,stickyHeader:g==="head"&&p&&p.stickyHeader,variant:g}),w=YF(y);let x=null;return c&&(x=c==="asc"?"ascending":"descending"),P.jsx(QF,$({as:b,ref:n,className:q(w.root,i),"aria-sort":x,scope:m,ownerState:y},d))});function JF(e){return we("MuiTableContainer",e)}Se("MuiTableContainer",["root"]);const ez=["className","component"],tz=e=>{const{classes:t}=e;return Pe({root:["root"]},JF,t)},nz=se("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),rz=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableContainer"}),{className:o,component:i="div"}=r,a=ae(r,ez),s=$({},r,{component:i}),l=tz(s);return P.jsx(nz,$({ref:n,as:i,className:q(l.root,o),ownerState:s},a))});function oz(e){return we("MuiTableHead",e)}Se("MuiTableHead",["root"]);const iz=["className","component"],az=e=>{const{classes:t}=e;return Pe({root:["root"]},oz,t)},sz=se("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),lz={variant:"head"},c7="thead",uz=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableHead"}),{className:o,component:i=c7}=r,a=ae(r,iz),s=$({},r,{component:i}),l=az(s);return P.jsx(Fp.Provider,{value:lz,children:P.jsx(sz,$({as:i,className:q(l.root,o),ref:n,role:i===c7?null:"rowgroup",ownerState:s},a))})});function cz(e){return we("MuiTableRow",e)}const f7=Se("MuiTableRow",["root","selected","hover","head","footer"]),fz=["className","component","hover","selected"],dz=e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e;return Pe({root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]},cz,t)},pz=se("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${f7.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${f7.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:xn(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:xn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),d7="tr",Os=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableRow"}),{className:o,component:i=d7,hover:a=!1,selected:s=!1}=r,l=ae(r,fz),u=O.useContext(Fp),c=$({},r,{component:i,hover:a,selected:s,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),f=dz(c);return P.jsx(pz,$({as:i,ref:n,className:q(f.root,o),role:i===d7?null:"row",ownerState:c},l))});function hz(e){return we("MuiTextField",e)}Se("MuiTextField",["root"]);const mz=["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"],vz={standard:wy,filled:gy,outlined:_y},yz=e=>{const{classes:t}=e;return Pe({root:["root"]},hz,t)},gz=se(eD,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),bz=O.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:a,className:s,color:l="primary",defaultValue:u,disabled:c=!1,error:f=!1,FormHelperTextProps:d,fullWidth:p=!1,helperText:v,id:h,InputLabelProps:b,inputProps:m,InputProps:g,inputRef:y,label:w,maxRows:x,minRows:C,multiline:S=!1,name:_,onBlur:A,onChange:k,onFocus:T,placeholder:E,required:R=!1,rows:L,select:j=!1,SelectProps:N,type:D,value:M,variant:B="outlined"}=r,F=ae(r,mz),K=$({},r,{autoFocus:i,color:l,disabled:c,error:f,fullWidth:p,multiline:S,required:R,select:j,variant:B}),H=yz(K),Y={};B==="outlined"&&(b&&typeof b.shrink<"u"&&(Y.notched=b.shrink),Y.label=w),j&&((!N||!N.native)&&(Y.id=void 0),Y["aria-describedby"]=void 0);const Z=Au(h),ce=v&&Z?`${Z}-helper-text`:void 0,Q=w&&Z?`${Z}-label`:void 0,he=vz[B],pe=P.jsx(he,$({"aria-describedby":ce,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:p,multiline:S,name:_,rows:L,maxRows:x,minRows:C,type:D,value:M,id:Z,inputRef:y,onBlur:A,onChange:k,onFocus:T,placeholder:E,inputProps:m},Y,g));return P.jsxs(gz,$({className:q(H.root,s),disabled:c,error:f,fullWidth:p,ref:n,required:R,color:l,variant:B,ownerState:K},F,{children:[w!=null&&w!==""&&P.jsx(FD,$({htmlFor:Z,id:Q},b,{children:w})),j?P.jsx(e7,$({"aria-describedby":ce,id:Z,labelId:Q,value:M,input:pe},N,{children:a})):pe,v&&P.jsx(iD,$({id:ce},d,{children:v}))]}))});var xz=Array.isArray,Sn=xz,wz=typeof df=="object"&&df&&df.Object===Object&&df,p7=wz,Cz=p7,Sz=typeof self=="object"&&self&&self.Object===Object&&self,Pz=Cz||Sz||Function("return this")(),Ur=Pz,Oz=Ur,_z=Oz.Symbol,Yu=_z,h7=Yu,m7=Object.prototype,$z=m7.hasOwnProperty,Az=m7.toString,Qu=h7?h7.toStringTag:void 0;function Ez(e){var t=$z.call(e,Qu),n=e[Qu];try{e[Qu]=void 0;var r=!0}catch{}var o=Az.call(e);return r&&(t?e[Qu]=n:delete e[Qu]),o}var kz=Ez,Tz=Object.prototype,Mz=Tz.toString;function jz(e){return Mz.call(e)}var Rz=jz,v7=Yu,Lz=kz,Iz=Rz,Nz="[object Null]",Dz="[object Undefined]",y7=v7?v7.toStringTag:void 0;function Bz(e){return e==null?e===void 0?Dz:Nz:y7&&y7 in Object(e)?Lz(e):Iz(e)}var mo=Bz;function Fz(e){return e!=null&&typeof e=="object"}var vo=Fz,zz=mo,Hz=vo,Wz="[object Symbol]";function Vz(e){return typeof e=="symbol"||Hz(e)&&zz(e)==Wz}var _s=Vz,Uz=Sn,Gz=_s,Kz=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qz=/^\w*$/;function Xz(e,t){if(Uz(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Gz(e)?!0:qz.test(e)||!Kz.test(e)||t!=null&&e in Object(t)}var Ay=Xz;function Zz(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Jo=Zz;const $s=qe(Jo);var Yz=mo,Qz=Jo,Jz="[object AsyncFunction]",eH="[object Function]",tH="[object GeneratorFunction]",nH="[object Proxy]";function rH(e){if(!Qz(e))return!1;var t=Yz(e);return t==eH||t==tH||t==Jz||t==nH}var Ey=rH;const _e=qe(Ey);var oH=Ur,iH=oH["__core-js_shared__"],aH=iH,ky=aH,g7=function(){var e=/[^.]+$/.exec(ky&&ky.keys&&ky.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function sH(e){return!!g7&&g7 in e}var lH=sH,uH=Function.prototype,cH=uH.toString;function fH(e){if(e!=null){try{return cH.call(e)}catch{}try{return e+""}catch{}}return""}var b7=fH,dH=Ey,pH=lH,hH=Jo,mH=b7,vH=/[\\^$.*+?()[\]{}|]/g,yH=/^\[object .+?Constructor\]$/,gH=Function.prototype,bH=Object.prototype,xH=gH.toString,wH=bH.hasOwnProperty,CH=RegExp("^"+xH.call(wH).replace(vH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function SH(e){if(!hH(e)||pH(e))return!1;var t=dH(e)?CH:yH;return t.test(mH(e))}var PH=SH;function OH(e,t){return e==null?void 0:e[t]}var _H=OH,$H=PH,AH=_H;function EH(e,t){var n=AH(e,t);return $H(n)?n:void 0}var zi=EH,kH=zi,TH=kH(Object,"create"),zp=TH,x7=zp;function MH(){this.__data__=x7?x7(null):{},this.size=0}var jH=MH;function RH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var LH=RH,IH=zp,NH="__lodash_hash_undefined__",DH=Object.prototype,BH=DH.hasOwnProperty;function FH(e){var t=this.__data__;if(IH){var n=t[e];return n===NH?void 0:n}return BH.call(t,e)?t[e]:void 0}var zH=FH,HH=zp,WH=Object.prototype,VH=WH.hasOwnProperty;function UH(e){var t=this.__data__;return HH?t[e]!==void 0:VH.call(t,e)}var GH=UH,KH=zp,qH="__lodash_hash_undefined__";function XH(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=KH&&t===void 0?qH:t,this}var ZH=XH,YH=jH,QH=LH,JH=zH,eW=GH,tW=ZH;function As(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1}var gW=yW,bW=Hp;function xW(e,t){var n=this.__data__,r=bW(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var wW=xW,CW=oW,SW=dW,PW=mW,OW=gW,_W=wW;function Es(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t0?1:-1},Wi=function(t){return Hi(t)&&t.indexOf("%")===t.length-1},ne=function(t){return GV(t)&&!Ts(t)},ZV=function(t){return be(t)},jt=function(t){return ne(t)||Hi(t)},YV=0,Vi=function(t){var n=++YV;return"".concat(t||"").concat(n)},Ui=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!ne(t)&&!Hi(t))return r;var i;if(Wi(t)){var a=t.indexOf("%");i=n*parseFloat(t.slice(0,a))/100}else i=+t;return Ts(i)&&(i=r),o&&i>n&&(i=n),i},ei=function(t){if(!t)return null;var n=Object.keys(t);return n&&n.length?t[n[0]]:null},QV=function(t){if(!Array.isArray(t))return!1;for(var n=t.length,r={},o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function aU(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Hy(e){"@babel/helpers - typeof";return Hy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hy(e)}var I7={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart",contextmenu:"onContextMenu",dblclick:"onDoubleClick"},yo=function(t){return typeof t=="string"?t:t?t.displayName||t.name||"Component":""},N7=null,Wy=null,Vy=function e(t){if(t===N7&&Array.isArray(Wy))return Wy;var n=[];return O.Children.forEach(t,function(r){be(r)||(zV.isFragment(r)?n=n.concat(e(r.props.children)):n.push(r))}),Wy=n,N7=t,n};function Pn(e,t){var n=[],r=[];return Array.isArray(t)?r=t.map(function(o){return yo(o)}):r=[yo(t)],Vy(e).forEach(function(o){var i=ir(o,"type.displayName")||ir(o,"type.name");r.indexOf(i)!==-1&&n.push(o)}),n}function Nn(e,t){var n=Pn(e,t);return n&&n[0]}var D7=function(t){if(!t||!t.props)return!1;var n=t.props,r=n.width,o=n.height;return!(!ne(r)||r<=0||!ne(o)||o<=0)},sU=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],lU=function(t){return t&&t.type&&Hi(t.type)&&sU.indexOf(t.type)>=0},B7=function(t){return t&&Hy(t)==="object"&&"clipDot"in t},uU=function(t,n,r,o){var i,a=(i=Fy==null?void 0:Fy[o])!==null&&i!==void 0?i:[];return n.startsWith("data-")||!_e(t)&&(o&&a.includes(n)||nU.includes(n))||r&&zy.includes(n)},Ce=function(t,n,r){if(!t||typeof t=="function"||typeof t=="boolean")return null;var o=t;if(O.isValidElement(t)&&(o=t.props),!$s(o))return null;var i={};return Object.keys(o).forEach(function(a){var s;uU((s=o)===null||s===void 0?void 0:s[a],a,n,r)&&(i[a]=o[a])}),i},Uy=function e(t,n){if(t===n)return!0;var r=O.Children.count(t);if(r!==O.Children.count(n))return!1;if(r===0)return!0;if(r===1)return F7(Array.isArray(t)?t[0]:t,Array.isArray(n)?n[0]:n);for(var o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function hU(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function oh(e){var t=e.children,n=e.width,r=e.height,o=e.viewBox,i=e.className,a=e.style,s=e.title,l=e.desc,u=pU(e,dU),c=o||{width:n,height:r,x:0,y:0},f=q("recharts-surface",i);return I.createElement("svg",Gy({},Ce(u,!0,"svg"),{className:f,width:n,height:r,style:a,viewBox:"".concat(c.x," ").concat(c.y," ").concat(c.width," ").concat(c.height)}),I.createElement("title",null,s),I.createElement("desc",null,l),t)}var mU=["children","className"];function Ky(){return Ky=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yU(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var ze=I.forwardRef(function(e,t){var n=e.children,r=e.className,o=vU(e,mU),i=q("recharts-layer",r);return I.createElement("g",Ky({className:i},Ce(o,!0),{ref:t}),n)}),go=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;io?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=r?e:xU(e,t,n)}var CU=wU,SU="\\ud800-\\udfff",PU="\\u0300-\\u036f",OU="\\ufe20-\\ufe2f",_U="\\u20d0-\\u20ff",$U=PU+OU+_U,AU="\\ufe0e\\ufe0f",EU="\\u200d",kU=RegExp("["+EU+SU+$U+AU+"]");function TU(e){return kU.test(e)}var H7=TU;function MU(e){return e.split("")}var jU=MU,W7="\\ud800-\\udfff",RU="\\u0300-\\u036f",LU="\\ufe20-\\ufe2f",IU="\\u20d0-\\u20ff",NU=RU+LU+IU,DU="\\ufe0e\\ufe0f",BU="["+W7+"]",qy="["+NU+"]",Xy="\\ud83c[\\udffb-\\udfff]",FU="(?:"+qy+"|"+Xy+")",V7="[^"+W7+"]",U7="(?:\\ud83c[\\udde6-\\uddff]){2}",G7="[\\ud800-\\udbff][\\udc00-\\udfff]",zU="\\u200d",K7=FU+"?",q7="["+DU+"]?",HU="(?:"+zU+"(?:"+[V7,U7,G7].join("|")+")"+q7+K7+")*",WU=q7+K7+HU,VU="(?:"+[V7+qy+"?",qy,U7,G7,BU].join("|")+")",UU=RegExp(Xy+"(?="+Xy+")|"+VU+WU,"g");function GU(e){return e.match(UU)||[]}var KU=GU,qU=jU,XU=H7,ZU=KU;function YU(e){return XU(e)?ZU(e):qU(e)}var QU=YU,JU=CU,eG=H7,tG=QU,nG=A7;function rG(e){return function(t){t=nG(t);var n=eG(t)?tG(t):void 0,r=n?n[0]:t.charAt(0),o=n?JU(n,1).join(""):t.slice(1);return r[e]()+o}}var oG=rG,iG=oG,aG=iG("toUpperCase"),sG=aG;const ih=qe(sG);function et(e){return function(){return e}}const X7=Math.cos,ah=Math.sin,Pr=Math.sqrt,sh=Math.PI,lh=2*sh,Zy=Math.PI,Yy=2*Zy,Gi=1e-6,lG=Yy-Gi;function Z7(e){this._+=e[0];for(let t=1,n=e.length;t=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Z7;const n=10**t;return function(r){this._+=r[0];for(let o=1,i=r.length;oGi)if(!(Math.abs(f*l-u*c)>Gi)||!i)this._append`L${this._x1=t},${this._y1=n}`;else{let p=r-a,v=o-s,h=l*l+u*u,b=p*p+v*v,m=Math.sqrt(h),g=Math.sqrt(d),y=i*Math.tan((Zy-Math.acos((h+d-b)/(2*m*g)))/2),w=y/g,x=y/m;Math.abs(w-1)>Gi&&this._append`L${t+w*c},${n+w*f}`,this._append`A${i},${i},0,0,${+(f*p>c*v)},${this._x1=t+x*l},${this._y1=n+x*u}`}}arc(t,n,r,o,i,a){if(t=+t,n=+n,r=+r,a=!!a,r<0)throw new Error(`negative radius: ${r}`);let s=r*Math.cos(o),l=r*Math.sin(o),u=t+s,c=n+l,f=1^a,d=a?o-i:i-o;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>Gi||Math.abs(this._y1-c)>Gi)&&this._append`L${u},${c}`,r&&(d<0&&(d=d%Yy+Yy),d>lG?this._append`A${r},${r},0,1,${f},${t-s},${n-l}A${r},${r},0,1,${f},${this._x1=u},${this._y1=c}`:d>Gi&&this._append`A${r},${r},0,${+(d>=Zy)},${f},${this._x1=t+r*Math.cos(i)},${this._y1=n+r*Math.sin(i)}`)}rect(t,n,r,o){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+o}h${-r}Z`}toString(){return this._}}function Qy(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{const r=Math.floor(n);if(!(r>=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new cG(t)}function Jy(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Y7(e){this._context=e}Y7.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function uh(e){return new Y7(e)}function Q7(e){return e[0]}function J7(e){return e[1]}function e8(e,t){var n=et(!0),r=null,o=uh,i=null,a=Qy(s);e=typeof e=="function"?e:e===void 0?Q7:et(e),t=typeof t=="function"?t:t===void 0?J7:et(t);function s(l){var u,c=(l=Jy(l)).length,f,d=!1,p;for(r==null&&(i=o(p=a())),u=0;u<=c;++u)!(u=p;--v)s.point(y[v],w[v]);s.lineEnd(),s.areaEnd()}m&&(y[d]=+e(b,d,f),w[d]=+t(b,d,f),s.point(r?+r(b,d,f):y[d],n?+n(b,d,f):w[d]))}if(g)return s=null,g+""||null}function c(){return e8().defined(o).curve(a).context(i)}return u.x=function(f){return arguments.length?(e=typeof f=="function"?f:et(+f),r=null,u):e},u.x0=function(f){return arguments.length?(e=typeof f=="function"?f:et(+f),u):e},u.x1=function(f){return arguments.length?(r=f==null?null:typeof f=="function"?f:et(+f),u):r},u.y=function(f){return arguments.length?(t=typeof f=="function"?f:et(+f),n=null,u):t},u.y0=function(f){return arguments.length?(t=typeof f=="function"?f:et(+f),u):t},u.y1=function(f){return arguments.length?(n=f==null?null:typeof f=="function"?f:et(+f),u):n},u.lineX0=u.lineY0=function(){return c().x(e).y(t)},u.lineY1=function(){return c().x(e).y(n)},u.lineX1=function(){return c().x(r).y(t)},u.defined=function(f){return arguments.length?(o=typeof f=="function"?f:et(!!f),u):o},u.curve=function(f){return arguments.length?(a=f,i!=null&&(s=a(i)),u):a},u.context=function(f){return arguments.length?(f==null?i=s=null:s=a(i=f),u):i},u}class t8{constructor(t,n){this._context=t,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(t,n){switch(t=+t,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,n,t,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,t,this._y0,t,n);break}}this._x0=t,this._y0=n}}function fG(e){return new t8(e,!0)}function dG(e){return new t8(e,!1)}const eg={draw(e,t){const n=Pr(t/sh);e.moveTo(n,0),e.arc(0,0,n,0,lh)}},pG={draw(e,t){const n=Pr(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},n8=Pr(1/3),hG=n8*2,mG={draw(e,t){const n=Pr(t/hG),r=n*n8;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},vG={draw(e,t){const n=Pr(t),r=-n/2;e.rect(r,r,n,n)}},yG=.8908130915292852,r8=ah(sh/10)/ah(7*sh/10),gG=ah(lh/10)*r8,bG=-X7(lh/10)*r8,xG={draw(e,t){const n=Pr(t*yG),r=gG*n,o=bG*n;e.moveTo(0,-n),e.lineTo(r,o);for(let i=1;i<5;++i){const a=lh*i/5,s=X7(a),l=ah(a);e.lineTo(l*n,-s*n),e.lineTo(s*r-l*o,l*r+s*o)}e.closePath()}},tg=Pr(3),wG={draw(e,t){const n=-Pr(t/(tg*3));e.moveTo(0,n*2),e.lineTo(-tg*n,-n),e.lineTo(tg*n,-n),e.closePath()}},sr=-.5,lr=Pr(3)/2,ng=1/Pr(12),CG=(ng/2+1)*3,SG={draw(e,t){const n=Pr(t/CG),r=n/2,o=n*ng,i=r,a=n*ng+n,s=-i,l=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(s,l),e.lineTo(sr*r-lr*o,lr*r+sr*o),e.lineTo(sr*i-lr*a,lr*i+sr*a),e.lineTo(sr*s-lr*l,lr*s+sr*l),e.lineTo(sr*r+lr*o,sr*o-lr*r),e.lineTo(sr*i+lr*a,sr*a-lr*i),e.lineTo(sr*s+lr*l,sr*l-lr*s),e.closePath()}};function PG(e,t){let n=null,r=Qy(o);e=typeof e=="function"?e:et(e||eg),t=typeof t=="function"?t:et(t===void 0?64:+t);function o(){let i;if(n||(n=i=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),i)return n=null,i+""||null}return o.type=function(i){return arguments.length?(e=typeof i=="function"?i:et(i),o):e},o.size=function(i){return arguments.length?(t=typeof i=="function"?i:et(+i),o):t},o.context=function(i){return arguments.length?(n=i??null,o):n},o}function fh(){}function dh(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function o8(e){this._context=e}o8.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:dh(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:dh(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function OG(e){return new o8(e)}function i8(e){this._context=e}i8.prototype={areaStart:fh,areaEnd:fh,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:dh(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function _G(e){return new i8(e)}function a8(e){this._context=e}a8.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:dh(this,e,t);break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function $G(e){return new a8(e)}function s8(e){this._context=e}s8.prototype={areaStart:fh,areaEnd:fh,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function AG(e){return new s8(e)}function l8(e){return e<0?-1:1}function u8(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(l8(i)+l8(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function c8(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function rg(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,a-s*n,i,a)}function ph(e){this._context=e}ph.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:rg(this,this._t0,c8(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,!(e===this._x1&&t===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,rg(this,c8(this,n=u8(this,e,t)),n);break;default:rg(this,this._t0,n=u8(this,e,t));break}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function f8(e){this._context=new d8(e)}(f8.prototype=Object.create(ph.prototype)).point=function(e,t){ph.prototype.point.call(this,t,e)};function d8(e){this._context=e}d8.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}};function EG(e){return new ph(e)}function kG(e){return new f8(e)}function p8(e){this._context=e}p8.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=h8(e),o=h8(t),i=0,a=1;a=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[n-1]=(e[n]+o[n-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}break}}this._x=e,this._y=t}};function MG(e){return new hh(e,.5)}function jG(e){return new hh(e,0)}function RG(e){return new hh(e,1)}function js(e,t){if((a=e.length)>1)for(var n=1,r,o,i=e[t[0]],a,s=i.length;n=0;)n[t]=t;return n}function LG(e,t){return e[t]}function IG(e){const t=[];return t.key=e,t}function NG(){var e=et([]),t=og,n=js,r=LG;function o(i){var a=Array.from(e.apply(this,arguments),IG),s,l=a.length,u=-1,c;for(const f of i)for(s=0,++u;s0){for(var n,r,o=0,i=e[0].length,a;o0){for(var n=0,r=e[t[0]],o,i=r.length;n0)||!((i=(o=e[t[0]]).length)>0))){for(var n=0,r=1,o,i,a;r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function GG(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var y8={symbolCircle:eg,symbolCross:pG,symbolDiamond:mG,symbolSquare:vG,symbolStar:xG,symbolTriangle:wG,symbolWye:SG},KG=Math.PI/180,qG=function(t){var n="symbol".concat(ih(t));return y8[n]||eg},XG=function(t,n,r){if(n==="area")return t;switch(r){case"cross":return 5*t*t/9;case"diamond":return .5*t*t/Math.sqrt(3);case"square":return t*t;case"star":{var o=18*KG;return 1.25*t*t*(Math.tan(o)-Math.tan(o*2)*Math.pow(Math.tan(o),2))}case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}},ZG=function(t,n){y8["symbol".concat(ih(t))]=n},mh=function(t){var n=t.type,r=n===void 0?"circle":n,o=t.size,i=o===void 0?64:o,a=t.sizeType,s=a===void 0?"area":a,l=UG(t,zG),u=v8(v8({},l),{},{type:r,size:i,sizeType:s}),c=function(){var b=qG(r),m=PG().type(b).size(XG(i,s,r));return m()},f=u.className,d=u.cx,p=u.cy,v=Ce(u,!0);return d===+d&&p===+p&&i===+i?I.createElement("path",ig({},v,{className:q("recharts-symbols",f),transform:"translate(".concat(d,", ").concat(p,")"),d:c()})):null};mh.registerSymbol=ZG;function Rs(e){"@babel/helpers - typeof";return Rs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rs(e)}function ag(){return ag=Object.assign?Object.assign.bind():function(e){for(var t=1;t`);var g=p.inactive?u:p.color;return I.createElement("li",ag({className:b,style:f,key:"legend-item-".concat(v)},Ju(r.props,p,v)),I.createElement(oh,{width:a,height:a,viewBox:c,style:d},r.renderIcon(p)),I.createElement("span",{className:"recharts-legend-item-text",style:{color:g}},h?h(m,p,v):m))})}},{key:"render",value:function(){var r=this.props,o=r.payload,i=r.layout,a=r.align;if(!o||!o.length)return null;var s={padding:0,margin:0,textAlign:i==="horizontal"?a:"left"};return I.createElement("ul",{className:"recharts-default-legend",style:s},this.renderItems())}}])}(O.PureComponent);tc(lg,"displayName","Legend"),tc(lg,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var aK=Wp;function sK(){this.__data__=new aK,this.size=0}var lK=sK;function uK(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var cK=uK;function fK(e){return this.__data__.get(e)}var dK=fK;function pK(e){return this.__data__.has(e)}var hK=pK,mK=Wp,vK=My,yK=jy,gK=200;function bK(e,t){var n=this.__data__;if(n instanceof mK){var r=n.__data__;if(!vK||r.lengths))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var f=-1,d=!0,p=n&zK?new NK:void 0;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e-1&&e%1==0&&e<=Uq}var hg=Gq,Kq=mo,qq=hg,Xq=vo,Zq="[object Arguments]",Yq="[object Array]",Qq="[object Boolean]",Jq="[object Date]",eX="[object Error]",tX="[object Function]",nX="[object Map]",rX="[object Number]",oX="[object Object]",iX="[object RegExp]",aX="[object Set]",sX="[object String]",lX="[object WeakMap]",uX="[object ArrayBuffer]",cX="[object DataView]",fX="[object Float32Array]",dX="[object Float64Array]",pX="[object Int8Array]",hX="[object Int16Array]",mX="[object Int32Array]",vX="[object Uint8Array]",yX="[object Uint8ClampedArray]",gX="[object Uint16Array]",bX="[object Uint32Array]",rt={};rt[fX]=rt[dX]=rt[pX]=rt[hX]=rt[mX]=rt[vX]=rt[yX]=rt[gX]=rt[bX]=!0,rt[Zq]=rt[Yq]=rt[uX]=rt[Qq]=rt[cX]=rt[Jq]=rt[eX]=rt[tX]=rt[nX]=rt[rX]=rt[oX]=rt[iX]=rt[aX]=rt[sX]=rt[lX]=!1;function xX(e){return Xq(e)&&qq(e.length)&&!!rt[Kq(e)]}var wX=xX;function CX(e){return function(t){return e(t)}}var R8=CX,mg={exports:{}};(function(e,t){var n=p7,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===r,a=i&&n.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s})(mg,mg.exports);var SX=mg.exports,PX=wX,OX=R8,L8=SX,I8=L8&&L8.isTypedArray,_X=I8?OX(I8):PX,N8=_X,$X=kq,AX=fg,EX=Sn,kX=j8,TX=pg,MX=N8,jX=Object.prototype,RX=jX.hasOwnProperty;function LX(e,t){var n=EX(e),r=!n&&AX(e),o=!n&&!r&&kX(e),i=!n&&!r&&!o&&MX(e),a=n||r||o||i,s=a?$X(e.length,String):[],l=s.length;for(var u in e)(t||RX.call(e,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||TX(u,l)))&&s.push(u);return s}var IX=LX,NX=Object.prototype;function DX(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||NX;return e===n}var BX=DX;function FX(e,t){return function(n){return e(t(n))}}var D8=FX,zX=D8,HX=zX(Object.keys,Object),WX=HX,VX=BX,UX=WX,GX=Object.prototype,KX=GX.hasOwnProperty;function qX(e){if(!VX(e))return UX(e);var t=[];for(var n in Object(e))KX.call(e,n)&&n!="constructor"&&t.push(n);return t}var XX=qX,ZX=Ey,YX=hg;function QX(e){return e!=null&&YX(e.length)&&!ZX(e)}var nc=QX,JX=IX,eZ=XX,tZ=nc;function nZ(e){return tZ(e)?JX(e):eZ(e)}var gh=nZ,rZ=gq,oZ=Aq,iZ=gh;function aZ(e){return rZ(e,iZ,oZ)}var sZ=aZ,B8=sZ,lZ=1,uZ=Object.prototype,cZ=uZ.hasOwnProperty;function fZ(e,t,n,r,o,i){var a=n&lZ,s=B8(e),l=s.length,u=B8(t),c=u.length;if(l!=c&&!a)return!1;for(var f=l;f--;){var d=s[f];if(!(a?d in t:cZ.call(t,d)))return!1}var p=i.get(e),v=i.get(t);if(p&&v)return p==t&&v==e;var h=!0;i.set(e,t),i.set(t,e);for(var b=a;++f-1}var uQ=lQ;function cQ(e,t,n){for(var r=-1,o=e==null?0:e.length;++r=OQ){var u=t?null:SQ(e);if(u)return PQ(u);a=!1,o=CQ,l=new bQ}else l=t?[]:s;e:for(;++r=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function zQ(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function HQ(e){return e.value}function WQ(e,t){if(I.isValidElement(e))return I.cloneElement(e,t);if(typeof e=="function")return I.createElement(e,t);var n=FQ(t,MQ);return I.createElement(lg,n)}var cw=1,qi=function(e){function t(){var n;jQ(this,t);for(var r=arguments.length,o=new Array(r),i=0;icw||Math.abs(o.height-this.lastBoundingBox.height)>cw)&&(this.lastBoundingBox.width=o.width,this.lastBoundingBox.height=o.height,r&&r(o)):(this.lastBoundingBox.width!==-1||this.lastBoundingBox.height!==-1)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,r&&r(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?bo({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(r){var o=this.props,i=o.layout,a=o.align,s=o.verticalAlign,l=o.margin,u=o.chartWidth,c=o.chartHeight,f,d;if(!r||(r.left===void 0||r.left===null)&&(r.right===void 0||r.right===null))if(a==="center"&&i==="vertical"){var p=this.getBBoxSnapshot();f={left:((u||0)-p.width)/2}}else f=a==="right"?{right:l&&l.right||0}:{left:l&&l.left||0};if(!r||(r.top===void 0||r.top===null)&&(r.bottom===void 0||r.bottom===null))if(s==="middle"){var v=this.getBBoxSnapshot();d={top:((c||0)-v.height)/2}}else d=s==="bottom"?{bottom:l&&l.bottom||0}:{top:l&&l.top||0};return bo(bo({},f),d)}},{key:"render",value:function(){var r=this,o=this.props,i=o.content,a=o.width,s=o.height,l=o.wrapperStyle,u=o.payloadUniqBy,c=o.payload,f=bo(bo({position:"absolute",width:a||"auto",height:s||"auto"},this.getDefaultPosition(l)),l);return I.createElement("div",{className:"recharts-legend-wrapper",style:f,ref:function(p){r.wrapperNode=p}},WQ(i,bo(bo({},this.props),{},{payload:iw(c,u,HQ)})))}}],[{key:"getWithHeight",value:function(r,o){var i=bo(bo({},this.defaultProps),r.props),a=i.layout;return a==="vertical"&&ne(r.props.height)?{height:r.props.height}:a==="horizontal"?{width:r.props.width||o}:null}}])}(O.PureComponent);wh(qi,"displayName","Legend"),wh(qi,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var fw=Yu,VQ=fg,UQ=Sn,dw=fw?fw.isConcatSpreadable:void 0;function GQ(e){return UQ(e)||VQ(e)||!!(dw&&e&&e[dw])}var KQ=GQ,qQ=E8,XQ=KQ;function pw(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=XQ),o||(o=[]);++i0&&n(s)?t>1?pw(s,t-1,n,r,o):qQ(o,s):r||(o[o.length]=s)}return o}var hw=pw;function ZQ(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(n(i[l],l,i)===!1)break}return t}}var YQ=ZQ,QQ=YQ,JQ=QQ(),eJ=JQ,tJ=eJ,nJ=gh;function rJ(e,t){return e&&tJ(e,t,nJ)}var mw=rJ,oJ=nc;function iJ(e,t){return function(n,r){if(n==null)return n;if(!oJ(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++it||i&&a&&l&&!s&&!u||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!u&&e=s)return l;var u=n[r];return l*(u=="desc"?-1:1)}}return e.index-t.index}var bJ=gJ,_g=Ly,xJ=Iy,wJ=ti,CJ=vw,SJ=hJ,PJ=R8,OJ=bJ,_J=Ns,$J=Sn;function AJ(e,t,n){t.length?t=_g(t,function(i){return $J(i)?function(a){return xJ(a,i.length===1?i[0]:i)}:i}):t=[_J];var r=-1;t=_g(t,PJ(wJ));var o=CJ(e,function(i,a,s){var l=_g(t,function(u){return u(i)});return{criteria:l,index:++r,value:i}});return SJ(o,function(i,a){return OJ(i,a,n)})}var EJ=AJ;function kJ(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var TJ=kJ,MJ=TJ,gw=Math.max;function jJ(e,t,n){return t=gw(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=gw(r.length-t,0),a=Array(i);++o0){if(++t>=WJ)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var KJ=GJ,qJ=HJ,XJ=KJ,ZJ=XJ(qJ),YJ=ZJ,QJ=Ns,JJ=RJ,eee=YJ;function tee(e,t){return eee(JJ(e,t,QJ),e+"")}var nee=tee,ree=Ty,oee=nc,iee=pg,aee=Jo;function see(e,t,n){if(!aee(n))return!1;var r=typeof t;return(r=="number"?oee(n)&&iee(t,n.length):r=="string"&&t in n)?ree(n[t],e):!1}var Ch=see,lee=hw,uee=EJ,cee=nee,ww=Ch,fee=cee(function(e,t){if(e==null)return[];var n=t.length;return n>1&&ww(e,t[0],t[1])?t=[]:n>2&&ww(t[0],t[1],t[2])&&(t=[t[0]]),uee(e,lee(t,1),[])}),dee=fee;const $g=qe(dee);function rc(e){"@babel/helpers - typeof";return rc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rc(e)}function Ag(){return Ag=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t.x),"".concat(ic,"-left"),ne(n)&&t&&ne(t.x)&&n=t.y),"".concat(ic,"-top"),ne(r)&&t&&ne(t.y)&&rh?Math.max(c,l[r]):Math.max(f,l[r])}function $ee(e){var t=e.translateX,n=e.translateY,r=e.useTranslate3d;return{transform:r?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}function Aee(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.offsetTopLeft,o=e.position,i=e.reverseDirection,a=e.tooltipBox,s=e.useTranslate3d,l=e.viewBox,u,c,f;return a.height>0&&a.width>0&&n?(c=Pw({allowEscapeViewBox:t,coordinate:n,key:"x",offsetTopLeft:r,position:o,reverseDirection:i,tooltipDimension:a.width,viewBox:l,viewBoxDimension:l.width}),f=Pw({allowEscapeViewBox:t,coordinate:n,key:"y",offsetTopLeft:r,position:o,reverseDirection:i,tooltipDimension:a.height,viewBox:l,viewBoxDimension:l.height}),u=$ee({translateX:c,translateY:f,useTranslate3d:s})):u=Oee,{cssProperties:u,cssClasses:_ee({translateX:c,translateY:f,coordinate:n})}}function Bs(e){"@babel/helpers - typeof";return Bs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bs(e)}function Ow(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function _w(e){for(var t=1;tEw||Math.abs(r.height-this.state.lastBoundingBox.height)>Ew)&&this.setState({lastBoundingBox:{width:r.width,height:r.height}})}else(this.state.lastBoundingBox.width!==-1||this.state.lastBoundingBox.height!==-1)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var r,o;this.props.active&&this.updateBBox(),this.state.dismissed&&(((r=this.props.coordinate)===null||r===void 0?void 0:r.x)!==this.state.dismissedAtCoordinate.x||((o=this.props.coordinate)===null||o===void 0?void 0:o.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var r=this,o=this.props,i=o.active,a=o.allowEscapeViewBox,s=o.animationDuration,l=o.animationEasing,u=o.children,c=o.coordinate,f=o.hasPayload,d=o.isAnimationActive,p=o.offset,v=o.position,h=o.reverseDirection,b=o.useTranslate3d,m=o.viewBox,g=o.wrapperStyle,y=Aee({allowEscapeViewBox:a,coordinate:c,offsetTopLeft:p,position:v,reverseDirection:h,tooltipBox:this.state.lastBoundingBox,useTranslate3d:b,viewBox:m}),w=y.cssClasses,x=y.cssProperties,C=_w(_w({transition:d&&i?"transform ".concat(s,"ms ").concat(l):void 0},x),{},{pointerEvents:"none",visibility:!this.state.dismissed&&i&&f?"visible":"hidden",position:"absolute",top:0,left:0},g);return I.createElement("div",{tabIndex:-1,className:w,style:C,ref:function(_){r.wrapperNode=_}},u)}}])}(O.PureComponent),Dee=function(){return!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout)},ni={isSsr:Dee()};function Fs(e){"@babel/helpers - typeof";return Fs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fs(e)}function kw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Tw(e){for(var t=1;t0;return I.createElement(Nee,{allowEscapeViewBox:a,animationDuration:s,animationEasing:l,isAnimationActive:d,active:i,coordinate:c,hasPayload:C,offset:p,position:b,reverseDirection:m,useTranslate3d:g,viewBox:y,wrapperStyle:w},qee(u,Tw(Tw({},this.props),{},{payload:x})))}}])}(O.PureComponent);jg(Gr,"displayName","Tooltip"),jg(Gr,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!ni.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var Xee=Ur,Zee=function(){return Xee.Date.now()},Yee=Zee,Qee=/\s/;function Jee(e){for(var t=e.length;t--&&Qee.test(e.charAt(t)););return t}var ete=Jee,tte=ete,nte=/^\s+/;function rte(e){return e&&e.slice(0,tte(e)+1).replace(nte,"")}var ote=rte,ite=ote,Rw=Jo,ate=_s,Lw=NaN,ste=/^[-+]0x[0-9a-f]+$/i,lte=/^0b[01]+$/i,ute=/^0o[0-7]+$/i,cte=parseInt;function fte(e){if(typeof e=="number")return e;if(ate(e))return Lw;if(Rw(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Rw(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ite(e);var n=lte.test(e);return n||ute.test(e)?cte(e.slice(2),n?2:8):ste.test(e)?Lw:+e}var Iw=fte,dte=Jo,Rg=Yee,Nw=Iw,pte="Expected a function",hte=Math.max,mte=Math.min;function vte(e,t,n){var r,o,i,a,s,l,u=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(pte);t=Nw(t)||0,dte(n)&&(c=!!n.leading,f="maxWait"in n,i=f?hte(Nw(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d);function p(C){var S=r,_=o;return r=o=void 0,u=C,a=e.apply(_,S),a}function v(C){return u=C,s=setTimeout(m,t),c?p(C):a}function h(C){var S=C-l,_=C-u,A=t-S;return f?mte(A,i-_):A}function b(C){var S=C-l,_=C-u;return l===void 0||S>=t||S<0||f&&_>=i}function m(){var C=Rg();if(b(C))return g(C);s=setTimeout(m,h(C))}function g(C){return s=void 0,d&&r?p(C):(r=o=void 0,a)}function y(){s!==void 0&&clearTimeout(s),u=0,r=l=o=s=void 0}function w(){return s===void 0?a:g(Rg())}function x(){var C=Rg(),S=b(C);if(r=arguments,o=this,l=C,S){if(s===void 0)return v(l);if(f)return clearTimeout(s),s=setTimeout(m,t),p(l)}return s===void 0&&(s=setTimeout(m,t)),a}return x.cancel=y,x.flush=w,x}var yte=vte,gte=yte,bte=Jo,xte="Expected a function";function wte(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(xte);return bte(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),gte(e,t,{leading:r,maxWait:t,trailing:o})}var Cte=wte;const Dw=qe(Cte);function ac(e){"@babel/helpers - typeof";return ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ac(e)}function Bw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function _h(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&(R=Dw(R,h,{trailing:!0,leading:!1}));var L=new ResizeObserver(R),j=x.current.getBoundingClientRect(),N=j.width,D=j.height;return T(N,D),L.observe(x.current),function(){L.disconnect()}},[T,h]);var E=O.useMemo(function(){var R=A.containerWidth,L=A.containerHeight;if(R<0||L<0)return null;go(Wi(a)||Wi(l),`The width(%s) and height(%s) are both fixed numbers, maybe you don't need to use a ResponsiveContainer.`,a,l),go(!n||n>0,"The aspect(%s) must be greater than zero.",n);var j=Wi(a)?R:a,N=Wi(l)?L:l;n&&n>0&&(j?N=j/n:N&&(j=N*n),d&&N>d&&(N=d)),go(j>0||N>0,`The width(%s) and height(%s) of chart should be greater than 0, please check the style of container, or the props width(%s) and height(%s), or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the height and width.`,j,N,a,l,c,f,n);var D=!Array.isArray(p)&&yo(p.type).endsWith("Chart");return I.Children.map(p,function(M){return I.isValidElement(M)?O.cloneElement(M,_h({width:j,height:N},D?{style:_h({height:"100%",width:"100%",maxHeight:N,maxWidth:j},M.props.style)}:{})):M})},[n,p,l,d,f,c,A,a]);return I.createElement("div",{id:b?"".concat(b):void 0,className:q("recharts-responsive-container",m),style:_h(_h({},w),{},{width:a,height:l,minWidth:c,minHeight:f,maxHeight:d}),ref:x},E)}),Lg=function(t){return null};Lg.displayName="Cell";function sc(e){"@babel/helpers - typeof";return sc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sc(e)}function zw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ig(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};if(t==null||ni.isSsr)return{width:0,height:0};var r=Nte(n),o=JSON.stringify({text:t,copyStyle:r});if(zs.widthCache[o])return zs.widthCache[o];try{var i=document.getElementById(Hw);i||(i=document.createElement("span"),i.setAttribute("id",Hw),i.setAttribute("aria-hidden","true"),document.body.appendChild(i));var a=Ig(Ig({},Ite),r);Object.assign(i.style,a),i.textContent="".concat(t);var s=i.getBoundingClientRect(),l={width:s.width,height:s.height};return zs.widthCache[o]=l,++zs.cacheCount>Lte&&(zs.cacheCount=0,zs.widthCache={}),l}catch{return{width:0,height:0}}},Dte=function(t){return{top:t.top+window.scrollY-document.documentElement.clientTop,left:t.left+window.scrollX-document.documentElement.clientLeft}};function uc(e){"@babel/helpers - typeof";return uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uc(e)}function $h(e,t){return Hte(e)||zte(e,t)||Fte(e,t)||Bte()}function Bte(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fte(e,t){if(e){if(typeof e=="string")return Ww(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ww(e,t)}}function Ww(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function nne(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Yw(e,t){return ane(e)||ine(e,t)||one(e,t)||rne()}function rne(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function one(e,t){if(e){if(typeof e=="string")return Qw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qw(e,t)}}function Qw(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:[];return j.reduce(function(N,D){var M=D.word,B=D.width,F=N[N.length-1];if(F&&(o==null||i||F.width+B+rD.width?N:D})};if(!c)return p;for(var h="…",b=function(j){var N=f.slice(0,j),D=eC({breakAll:u,style:l,children:N+h}).wordsWithComputedWidth,M=d(D),B=M.length>a||v(M).width>Number(o);return[B,M]},m=0,g=f.length-1,y=0,w;m<=g&&y<=f.length-1;){var x=Math.floor((m+g)/2),C=x-1,S=b(C),_=Yw(S,2),A=_[0],k=_[1],T=b(x),E=Yw(T,1),R=E[0];if(!A&&!R&&(m=x+1),A&&R&&(g=x-1),!A&&R){w=k;break}y++}return w||p},tC=function(t){var n=be(t)?[]:t.toString().split(Jw);return[{words:n}]},lne=function(t){var n=t.width,r=t.scaleToFit,o=t.children,i=t.style,a=t.breakAll,s=t.maxLines;if((n||r)&&!ni.isSsr){var l,u,c=eC({breakAll:a,children:o,style:i});if(c){var f=c.wordsWithComputedWidth,d=c.spaceWidth;l=f,u=d}else return tC(o);return sne({breakAll:a,children:o,maxLines:s,style:i},l,u,n,r)}return tC(o)},nC="#808080",Eh=function(t){var n=t.x,r=n===void 0?0:n,o=t.y,i=o===void 0?0:o,a=t.lineHeight,s=a===void 0?"1em":a,l=t.capHeight,u=l===void 0?"0.71em":l,c=t.scaleToFit,f=c===void 0?!1:c,d=t.textAnchor,p=d===void 0?"start":d,v=t.verticalAnchor,h=v===void 0?"end":v,b=t.fill,m=b===void 0?nC:b,g=Zw(t,ene),y=O.useMemo(function(){return lne({breakAll:g.breakAll,children:g.children,maxLines:g.maxLines,scaleToFit:f,style:g.style,width:g.width})},[g.breakAll,g.children,g.maxLines,f,g.style,g.width]),w=g.dx,x=g.dy,C=g.angle,S=g.className,_=g.breakAll,A=Zw(g,tne);if(!jt(r)||!jt(i))return null;var k=r+(ne(w)?w:0),T=i+(ne(x)?x:0),E;switch(h){case"start":E=Ng("calc(".concat(u,")"));break;case"middle":E=Ng("calc(".concat((y.length-1)/2," * -").concat(s," + (").concat(u," / 2))"));break;default:E=Ng("calc(".concat(y.length-1," * -").concat(s,")"));break}var R=[];if(f){var L=y[0].width,j=g.width;R.push("scale(".concat((ne(j)?j/L:1)/L,")"))}return C&&R.push("rotate(".concat(C,", ").concat(k,", ").concat(T,")")),R.length&&(A.transform=R.join(" ")),I.createElement("text",Dg({},Ce(A,!0),{x:k,y:T,className:q("recharts-text",S),textAnchor:p,fill:m.includes("url")?nC:m}),y.map(function(N,D){var M=N.words.join(_?"":" ");return I.createElement("tspan",{x:k,dy:D===0?E:s,key:"".concat(M,"-").concat(D)},M)}))};function ri(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function une(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function Bg(e){let t,n,r;e.length!==2?(t=ri,n=(s,l)=>ri(e(s),l),r=(s,l)=>e(s)-l):(t=e===ri||e===une?e:cne,n=e,r=e);function o(s,l,u=0,c=s.length){if(u>>1;n(s[f],l)<0?u=f+1:c=f}while(u>>1;n(s[f],l)<=0?u=f+1:c=f}while(uu&&r(s[f-1],l)>-r(s[f],l)?f-1:f}return{left:o,center:a,right:i}}function cne(){return 0}function rC(e){return e===null?NaN:+e}function*fne(e,t){for(let n of e)n!=null&&(n=+n)>=n&&(yield n)}const cc=Bg(ri).right;Bg(rC).center;class oC extends Map{constructor(t,n=hne){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,o]of t)this.set(r,o)}get(t){return super.get(iC(this,t))}has(t){return super.has(iC(this,t))}set(t,n){return super.set(dne(this,t),n)}delete(t){return super.delete(pne(this,t))}}function iC({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function dne({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function pne({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function hne(e){return e!==null&&typeof e=="object"?e.valueOf():e}function mne(e=ri){if(e===ri)return aC;if(typeof e!="function")throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||r===0?r:(e(n,n)===0)-(e(t,t)===0)}}function aC(e,t){return(e==null||!(e>=e))-(t==null||!(t>=t))||(et?1:0)}const vne=Math.sqrt(50),yne=Math.sqrt(10),gne=Math.sqrt(2);function kh(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),i=r/Math.pow(10,o),a=i>=vne?10:i>=yne?5:i>=gne?2:1;let s,l,u;return o<0?(u=Math.pow(10,-o)/a,s=Math.round(e*u),l=Math.round(t*u),s/ut&&--l,u=-u):(u=Math.pow(10,o)*a,s=Math.round(e/u),l=Math.round(t/u),s*ut&&--l),l0))return[];if(e===t)return[e];const r=t=o))return[];const s=i-o+1,l=new Array(s);if(r)if(a<0)for(let u=0;u=r)&&(n=r);return n}function lC(e,t){let n;for(const r of e)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);return n}function uC(e,t,n=0,r=1/0,o){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(o=o===void 0?aC:mne(o);r>n;){if(r-n>600){const l=r-n+1,u=t-n+1,c=Math.log(l),f=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*f*(l-f)/l)*(u-l/2<0?-1:1),p=Math.max(n,Math.floor(t-u*f/l+d)),v=Math.min(r,Math.floor(t+(l-u)*f/l+d));uC(e,t,p,v,o)}const i=e[t];let a=n,s=r;for(fc(e,n,t),o(e[r],i)>0&&fc(e,n,r);a0;)--s}o(e[n],i)===0?fc(e,n,s):(++s,fc(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function fc(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function bne(e,t,n){if(e=Float64Array.from(fne(e)),!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return lC(e);if(t>=1)return sC(e);var r,o=(r-1)*t,i=Math.floor(o),a=sC(uC(e,i).subarray(0,i+1)),s=lC(e.subarray(i+1));return a+(s-a)*(o-i)}}function xne(e,t,n=rC){if(!(!(r=e.length)||isNaN(t=+t))){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e),s=+n(e[i+1],i+1,e);return a+(s-a)*(o-i)}}function wne(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=Math.max(0,Math.ceil((t-e)/n))|0,i=new Array(o);++r>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Mh(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Mh(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Sne.exec(e))?new On(t[1],t[2],t[3],1):(t=Pne.exec(e))?new On(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=One.exec(e))?Mh(t[1],t[2],t[3],t[4]):(t=_ne.exec(e))?Mh(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=$ne.exec(e))?gC(t[1],t[2]/100,t[3]/100,1):(t=Ane.exec(e))?gC(t[1],t[2]/100,t[3]/100,t[4]):dC.hasOwnProperty(e)?mC(dC[e]):e==="transparent"?new On(NaN,NaN,NaN,0):null}function mC(e){return new On(e>>16&255,e>>8&255,e&255,1)}function Mh(e,t,n,r){return r<=0&&(e=t=n=NaN),new On(e,t,n,r)}function Tne(e){return e instanceof hc||(e=yc(e)),e?(e=e.rgb(),new On(e.r,e.g,e.b,e.opacity)):new On}function Gg(e,t,n,r){return arguments.length===1?Tne(e):new On(e,t,n,r??1)}function On(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Ug(On,Gg,fC(hc,{brighter(e){return e=e==null?Th:Math.pow(Th,e),new On(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?mc:Math.pow(mc,e),new On(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new On(Xi(this.r),Xi(this.g),Xi(this.b),jh(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:vC,formatHex:vC,formatHex8:Mne,formatRgb:yC,toString:yC}));function vC(){return`#${Zi(this.r)}${Zi(this.g)}${Zi(this.b)}`}function Mne(){return`#${Zi(this.r)}${Zi(this.g)}${Zi(this.b)}${Zi((isNaN(this.opacity)?1:this.opacity)*255)}`}function yC(){const e=jh(this.opacity);return`${e===1?"rgb(":"rgba("}${Xi(this.r)}, ${Xi(this.g)}, ${Xi(this.b)}${e===1?")":`, ${e})`}`}function jh(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Xi(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Zi(e){return e=Xi(e),(e<16?"0":"")+e.toString(16)}function gC(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Or(e,t,n,r)}function bC(e){if(e instanceof Or)return new Or(e.h,e.s,e.l,e.opacity);if(e instanceof hc||(e=yc(e)),!e)return new Or;if(e instanceof Or)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(t===i?a=(n-r)/s+(n0&&l<1?0:a,new Or(a,s,l,e.opacity)}function jne(e,t,n,r){return arguments.length===1?bC(e):new Or(e,t,n,r??1)}function Or(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Ug(Or,jne,fC(hc,{brighter(e){return e=e==null?Th:Math.pow(Th,e),new Or(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?mc:Math.pow(mc,e),new Or(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new On(Kg(e>=240?e-240:e+120,o,r),Kg(e,o,r),Kg(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Or(xC(this.h),Rh(this.s),Rh(this.l),jh(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=jh(this.opacity);return`${e===1?"hsl(":"hsla("}${xC(this.h)}, ${Rh(this.s)*100}%, ${Rh(this.l)*100}%${e===1?")":`, ${e})`}`}}));function xC(e){return e=(e||0)%360,e<0?e+360:e}function Rh(e){return Math.max(0,Math.min(1,e||0))}function Kg(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const qg=e=>()=>e;function Rne(e,t){return function(n){return e+n*t}}function Lne(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function Ine(e){return(e=+e)==1?wC:function(t,n){return n-t?Lne(t,n,e):qg(isNaN(t)?n:t)}}function wC(e,t){var n=t-e;return n?Rne(e,n):qg(isNaN(e)?t:e)}const CC=function e(t){var n=Ine(t);function r(o,i){var a=n((o=Gg(o)).r,(i=Gg(i)).r),s=n(o.g,i.g),l=n(o.b,i.b),u=wC(o.opacity,i.opacity);return function(c){return o.r=a(c),o.g=s(c),o.b=l(c),o.opacity=u(c),o+""}}return r.gamma=e,r}(1);function Nne(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),o;return function(i){for(o=0;on&&(i=t.slice(n,i),s[a]?s[a]+=i:s[++a]=i),(r=r[0])===(o=o[0])?s[a]?s[a]+=o:s[++a]=o:(s[++a]=null,l.push({i:a,x:Lh(r,o)})),n=Zg.lastIndex;return nt&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function qne(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o2?Xne:qne,l=u=null,f}function f(d){return d==null||isNaN(d=+d)?i:(l||(l=s(e.map(r),t,n)))(r(a(d)))}return f.invert=function(d){return a(o((u||(u=s(t,e.map(r),Lh)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,Ih),c()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),c()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),n=Yg,c()},f.clamp=function(d){return arguments.length?(a=d?!0:dn,c()):a!==dn},f.interpolate=function(d){return arguments.length?(n=d,c()):n},f.unknown=function(d){return arguments.length?(i=d,f):i},function(d,p){return r=d,o=p,c()}}function Jg(){return Nh()(dn,dn)}function Zne(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Dh(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Us(e){return e=Dh(Math.abs(e)),e?e[1]:NaN}function Yne(e,t){return function(n,r){for(var o=n.length,i=[],a=0,s=e[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(n.substring(o-=s,o+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return i.reverse().join(t)}}function Qne(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var Jne=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function bc(e){if(!(t=Jne.exec(e)))throw new Error("invalid format: "+e);var t;return new e2({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}bc.prototype=e2.prototype;function e2(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}e2.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function ere(e){e:for(var t=e.length,n=1,r=-1,o;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(o+1):e}var Bh;function tre(e,t){var n=Dh(e,t);if(!n)return Bh=void 0,e.toPrecision(t);var r=n[0],o=n[1],i=o-(Bh=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Dh(e,Math.max(0,t+i-1))[0]}function PC(e,t){var n=Dh(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}const OC={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:Zne,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>PC(e*100,t),r:PC,s:tre,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function _C(e){return e}var $C=Array.prototype.map,AC=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function nre(e){var t=e.grouping===void 0||e.thousands===void 0?_C:Yne($C.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",o=e.decimal===void 0?".":e.decimal+"",i=e.numerals===void 0?_C:Qne($C.call(e.numerals,String)),a=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function u(f,d){f=bc(f);var p=f.fill,v=f.align,h=f.sign,b=f.symbol,m=f.zero,g=f.width,y=f.comma,w=f.precision,x=f.trim,C=f.type;C==="n"?(y=!0,C="g"):OC[C]||(w===void 0&&(w=12),x=!0,C="g"),(m||p==="0"&&v==="=")&&(m=!0,p="0",v="=");var S=(d&&d.prefix!==void 0?d.prefix:"")+(b==="$"?n:b==="#"&&/[boxX]/.test(C)?"0"+C.toLowerCase():""),_=(b==="$"?r:/[%p]/.test(C)?a:"")+(d&&d.suffix!==void 0?d.suffix:""),A=OC[C],k=/[defgprs%]/.test(C);w=w===void 0?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function T(E){var R=S,L=_,j,N,D;if(C==="c")L=A(E)+L,E="";else{E=+E;var M=E<0||1/E<0;if(E=isNaN(E)?l:A(Math.abs(E),w),x&&(E=ere(E)),M&&+E==0&&h!=="+"&&(M=!1),R=(M?h==="("?h:s:h==="-"||h==="("?"":h)+R,L=(C==="s"&&!isNaN(E)&&Bh!==void 0?AC[8+Bh/3]:"")+L+(M&&h==="("?")":""),k){for(j=-1,N=E.length;++jD||D>57){L=(D===46?o+E.slice(j+1):E.slice(j))+L,E=E.slice(0,j);break}}}y&&!m&&(E=t(E,1/0));var B=R.length+E.length+L.length,F=B>1)+R+E+L+F.slice(B);break;default:E=F+R+E+L;break}return i(E)}return T.toString=function(){return f+""},T}function c(f,d){var p=Math.max(-8,Math.min(8,Math.floor(Us(d)/3)))*3,v=Math.pow(10,-p),h=u((f=bc(f),f.type="f",f),{suffix:AC[8+p/3]});return function(b){return h(v*b)}}return{format:u,formatPrefix:c}}var Fh,t2,EC;rre({thousands:",",grouping:[3],currency:["$",""]});function rre(e){return Fh=nre(e),t2=Fh.format,EC=Fh.formatPrefix,Fh}function ore(e){return Math.max(0,-Us(Math.abs(e)))}function ire(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Us(t)/3)))*3-Us(Math.abs(e)))}function are(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Us(t)-Us(e))+1}function kC(e,t,n,r){var o=Hg(e,t,n),i;switch(r=bc(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(i=ire(o,a))&&(r.precision=i),EC(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(i=are(o,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=i-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(i=ore(o))&&(r.precision=i-(r.type==="%")*2);break}}return t2(r)}function oi(e){var t=e.domain;return e.ticks=function(n){var r=t();return Fg(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var o=t();return kC(o[0],o[o.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),o=0,i=r.length-1,a=r[o],s=r[i],l,u,c=10;for(s0;){if(u=zg(a,s,n),u===l)return r[o]=a,r[i]=s,t(r);if(u>0)a=Math.floor(a/u)*u,s=Math.ceil(s/u)*u;else if(u<0)a=Math.ceil(a*u)/u,s=Math.floor(s*u)/u;else break;l=u}return e},e}function zh(){var e=Jg();return e.copy=function(){return gc(e,zh())},cr.apply(e,arguments),oi(e)}function TC(e){var t;function n(r){return r==null||isNaN(r=+r)?t:r}return n.invert=n,n.domain=n.range=function(r){return arguments.length?(e=Array.from(r,Ih),n):e.slice()},n.unknown=function(r){return arguments.length?(t=r,n):t},n.copy=function(){return TC(e).unknown(t)},e=arguments.length?Array.from(e,Ih):[0,1],oi(n)}function MC(e,t){e=e.slice();var n=0,r=e.length-1,o=e[n],i=e[r],a;return iMath.pow(e,t)}function fre(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function LC(e){return(t,n)=>-e(-t,n)}function n2(e){const t=e(jC,RC),n=t.domain;let r=10,o,i;function a(){return o=fre(r),i=cre(r),n()[0]<0?(o=LC(o),i=LC(i),e(sre,lre)):e(jC,RC),t}return t.base=function(s){return arguments.length?(r=+s,a()):r},t.domain=function(s){return arguments.length?(n(s),a()):n()},t.ticks=s=>{const l=n();let u=l[0],c=l[l.length-1];const f=c0){for(;d<=p;++d)for(v=1;vc)break;m.push(h)}}else for(;d<=p;++d)for(v=r-1;v>=1;--v)if(h=d>0?v/i(-d):v*i(d),!(hc)break;m.push(h)}m.length*2{if(s==null&&(s=10),l==null&&(l=r===10?"s":","),typeof l!="function"&&(!(r%1)&&(l=bc(l)).precision==null&&(l.trim=!0),l=t2(l)),s===1/0)return l;const u=Math.max(1,r*s/t.ticks().length);return c=>{let f=c/i(Math.round(o(c)));return f*rn(MC(n(),{floor:s=>i(Math.floor(o(s))),ceil:s=>i(Math.ceil(o(s)))})),t}function IC(){const e=n2(Nh()).domain([1,10]);return e.copy=()=>gc(e,IC()).base(e.base()),cr.apply(e,arguments),e}function NC(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function DC(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function r2(e){var t=1,n=e(NC(t),DC(t));return n.constant=function(r){return arguments.length?e(NC(t=+r),DC(t)):t},oi(n)}function BC(){var e=r2(Nh());return e.copy=function(){return gc(e,BC()).constant(e.constant())},cr.apply(e,arguments)}function FC(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function dre(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function pre(e){return e<0?-e*e:e*e}function o2(e){var t=e(dn,dn),n=1;function r(){return n===1?e(dn,dn):n===.5?e(dre,pre):e(FC(n),FC(1/n))}return t.exponent=function(o){return arguments.length?(n=+o,r()):n},oi(t)}function i2(){var e=o2(Nh());return e.copy=function(){return gc(e,i2()).exponent(e.exponent())},cr.apply(e,arguments),e}function hre(){return i2.apply(null,arguments).exponent(.5)}function zC(e){return Math.sign(e)*e*e}function mre(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function HC(){var e=Jg(),t=[0,1],n=!1,r;function o(i){var a=mre(e(i));return isNaN(a)?r:n?Math.round(a):a}return o.invert=function(i){return e.invert(zC(i))},o.domain=function(i){return arguments.length?(e.domain(i),o):e.domain()},o.range=function(i){return arguments.length?(e.range((t=Array.from(i,Ih)).map(zC)),o):t.slice()},o.rangeRound=function(i){return o.range(i).round(!0)},o.round=function(i){return arguments.length?(n=!!i,o):n},o.clamp=function(i){return arguments.length?(e.clamp(i),o):e.clamp()},o.unknown=function(i){return arguments.length?(r=i,o):r},o.copy=function(){return HC(e.domain(),t).round(n).clamp(e.clamp()).unknown(r)},cr.apply(o,arguments),oi(o)}function WC(){var e=[],t=[],n=[],r;function o(){var a=0,s=Math.max(1,t.length);for(n=new Array(s-1);++a0?n[s-1]:e[0],s=n?[r[n-1],t]:[r[u-1],r[u]]},a.unknown=function(l){return arguments.length&&(i=l),a},a.thresholds=function(){return r.slice()},a.copy=function(){return VC().domain([e,t]).range(o).unknown(i)},cr.apply(oi(a),arguments)}function UC(){var e=[.5],t=[0,1],n,r=1;function o(i){return i!=null&&i<=i?t[cc(e,i,0,r)]:n}return o.domain=function(i){return arguments.length?(e=Array.from(i),r=Math.min(e.length,t.length-1),o):e.slice()},o.range=function(i){return arguments.length?(t=Array.from(i),r=Math.min(e.length,t.length-1),o):t.slice()},o.invertExtent=function(i){var a=t.indexOf(i);return[e[a-1],e[a]]},o.unknown=function(i){return arguments.length?(n=i,o):n},o.copy=function(){return UC().domain(e).range(t).unknown(n)},cr.apply(o,arguments)}const a2=new Date,s2=new Date;function Rt(e,t,n,r){function o(i){return e(i=arguments.length===0?new Date:new Date(+i)),i}return o.floor=i=>(e(i=new Date(+i)),i),o.ceil=i=>(e(i=new Date(i-1)),t(i,1),e(i),i),o.round=i=>{const a=o(i),s=o.ceil(i);return i-a(t(i=new Date(+i),a==null?1:Math.floor(a)),i),o.range=(i,a,s)=>{const l=[];if(i=o.ceil(i),s=s==null?1:Math.floor(s),!(i0))return l;let u;do l.push(u=new Date(+i)),t(i,s),e(i);while(uRt(a=>{if(a>=a)for(;e(a),!i(a);)a.setTime(a-1)},(a,s)=>{if(a>=a)if(s<0)for(;++s<=0;)for(;t(a,-1),!i(a););else for(;--s>=0;)for(;t(a,1),!i(a););}),n&&(o.count=(i,a)=>(a2.setTime(+i),s2.setTime(+a),e(a2),e(s2),Math.floor(n(a2,s2))),o.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?o.filter(r?a=>r(a)%i===0:a=>o.count(0,a)%i===0):o)),o}const l2=Rt(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);l2.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Rt(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):l2);const wo=1e3,fr=wo*60,Co=fr*60,So=Co*24,u2=So*7,GC=So*30,c2=So*365,Gs=Rt(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*wo)},(e,t)=>(t-e)/wo,e=>e.getUTCSeconds()),KC=Rt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*wo)},(e,t)=>{e.setTime(+e+t*fr)},(e,t)=>(t-e)/fr,e=>e.getMinutes()),qC=Rt(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*fr)},(e,t)=>(t-e)/fr,e=>e.getUTCMinutes()),XC=Rt(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*wo-e.getMinutes()*fr)},(e,t)=>{e.setTime(+e+t*Co)},(e,t)=>(t-e)/Co,e=>e.getHours()),ZC=Rt(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*Co)},(e,t)=>(t-e)/Co,e=>e.getUTCHours()),Hh=Rt(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*fr)/So,e=>e.getDate()-1),f2=Rt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/So,e=>e.getUTCDate()-1),vre=Rt(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/So,e=>Math.floor(e/So));function Yi(e){return Rt(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*fr)/u2)}const d2=Yi(0),p2=Yi(1);Yi(2),Yi(3);const xc=Yi(4);Yi(5),Yi(6);function Qi(e){return Rt(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/u2)}const h2=Qi(0),m2=Qi(1);Qi(2),Qi(3);const wc=Qi(4);Qi(5),Qi(6);const YC=Rt(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth()),QC=Rt(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth()),ii=Rt(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());ii.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Rt(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});const ai=Rt(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());ai.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Rt(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});function JC(e,t,n,r,o,i){const a=[[Gs,1,wo],[Gs,5,5*wo],[Gs,15,15*wo],[Gs,30,30*wo],[i,1,fr],[i,5,5*fr],[i,15,15*fr],[i,30,30*fr],[o,1,Co],[o,3,3*Co],[o,6,6*Co],[o,12,12*Co],[r,1,So],[r,2,2*So],[n,1,u2],[t,1,GC],[t,3,3*GC],[e,1,c2]];function s(u,c,f){const d=cb).right(a,d);if(p===a.length)return e.every(Hg(u/c2,c/c2,f));if(p===0)return l2.every(Math.max(Hg(u,c,f),1));const[v,h]=a[d/a[p-1][2]53)return null;"w"in z||(z.w=1),"Z"in z?(ee=y2(Cc(z.y,0,1)),oe=ee.getUTCDay(),ee=oe>4||oe===0?m2.ceil(ee):m2(ee),ee=f2.offset(ee,(z.V-1)*7),z.y=ee.getUTCFullYear(),z.m=ee.getUTCMonth(),z.d=ee.getUTCDate()+(z.w+6)%7):(ee=v2(Cc(z.y,0,1)),oe=ee.getDay(),ee=oe>4||oe===0?p2.ceil(ee):p2(ee),ee=Hh.offset(ee,(z.V-1)*7),z.y=ee.getFullYear(),z.m=ee.getMonth(),z.d=ee.getDate()+(z.w+6)%7)}else("W"in z||"U"in z)&&("w"in z||(z.w="u"in z?z.u%7:"W"in z?1:0),oe="Z"in z?y2(Cc(z.y,0,1)).getUTCDay():v2(Cc(z.y,0,1)).getDay(),z.m=0,z.d="W"in z?(z.w+6)%7+z.W*7-(oe+5)%7:z.w+z.U*7-(oe+6)%7);return"Z"in z?(z.H+=z.Z/100|0,z.M+=z.Z%100,y2(z)):v2(z)}}function _(U,le,X,z){for(var ie=0,ee=le.length,oe=X.length,ve,Ee;ie=oe)return-1;if(ve=le.charCodeAt(ie++),ve===37){if(ve=le.charAt(ie++),Ee=x[ve in eS?le.charAt(ie++):ve],!Ee||(z=Ee(U,X,z))<0)return-1}else if(ve!=X.charCodeAt(z++))return-1}return z}function A(U,le,X){var z=u.exec(le.slice(X));return z?(U.p=c.get(z[0].toLowerCase()),X+z[0].length):-1}function k(U,le,X){var z=p.exec(le.slice(X));return z?(U.w=v.get(z[0].toLowerCase()),X+z[0].length):-1}function T(U,le,X){var z=f.exec(le.slice(X));return z?(U.w=d.get(z[0].toLowerCase()),X+z[0].length):-1}function E(U,le,X){var z=m.exec(le.slice(X));return z?(U.m=g.get(z[0].toLowerCase()),X+z[0].length):-1}function R(U,le,X){var z=h.exec(le.slice(X));return z?(U.m=b.get(z[0].toLowerCase()),X+z[0].length):-1}function L(U,le,X){return _(U,t,le,X)}function j(U,le,X){return _(U,n,le,X)}function N(U,le,X){return _(U,r,le,X)}function D(U){return a[U.getDay()]}function M(U){return i[U.getDay()]}function B(U){return l[U.getMonth()]}function F(U){return s[U.getMonth()]}function K(U){return o[+(U.getHours()>=12)]}function H(U){return 1+~~(U.getMonth()/3)}function Y(U){return a[U.getUTCDay()]}function Z(U){return i[U.getUTCDay()]}function ce(U){return l[U.getUTCMonth()]}function Q(U){return s[U.getUTCMonth()]}function he(U){return o[+(U.getUTCHours()>=12)]}function pe(U){return 1+~~(U.getUTCMonth()/3)}return{format:function(U){var le=C(U+="",y);return le.toString=function(){return U},le},parse:function(U){var le=S(U+="",!1);return le.toString=function(){return U},le},utcFormat:function(U){var le=C(U+="",w);return le.toString=function(){return U},le},utcParse:function(U){var le=S(U+="",!0);return le.toString=function(){return U},le}}}var eS={"-":"",_:" ",0:"0"},Wt=/^\s*\d+/,Cre=/^%/,Sre=/[\\^$*+?|[\]().{}]/g;function De(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i[t.toLowerCase(),n]))}function Ore(e,t,n){var r=Wt.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function _re(e,t,n){var r=Wt.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function $re(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Are(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Ere(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function tS(e,t,n){var r=Wt.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function nS(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function kre(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Tre(e,t,n){var r=Wt.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function Mre(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function rS(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function jre(e,t,n){var r=Wt.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function oS(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Rre(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Lre(e,t,n){var r=Wt.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Ire(e,t,n){var r=Wt.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Nre(e,t,n){var r=Wt.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Dre(e,t,n){var r=Cre.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Bre(e,t,n){var r=Wt.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Fre(e,t,n){var r=Wt.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function iS(e,t){return De(e.getDate(),t,2)}function zre(e,t){return De(e.getHours(),t,2)}function Hre(e,t){return De(e.getHours()%12||12,t,2)}function Wre(e,t){return De(1+Hh.count(ii(e),e),t,3)}function aS(e,t){return De(e.getMilliseconds(),t,3)}function Vre(e,t){return aS(e,t)+"000"}function Ure(e,t){return De(e.getMonth()+1,t,2)}function Gre(e,t){return De(e.getMinutes(),t,2)}function Kre(e,t){return De(e.getSeconds(),t,2)}function qre(e){var t=e.getDay();return t===0?7:t}function Xre(e,t){return De(d2.count(ii(e)-1,e),t,2)}function sS(e){var t=e.getDay();return t>=4||t===0?xc(e):xc.ceil(e)}function Zre(e,t){return e=sS(e),De(xc.count(ii(e),e)+(ii(e).getDay()===4),t,2)}function Yre(e){return e.getDay()}function Qre(e,t){return De(p2.count(ii(e)-1,e),t,2)}function Jre(e,t){return De(e.getFullYear()%100,t,2)}function eoe(e,t){return e=sS(e),De(e.getFullYear()%100,t,2)}function toe(e,t){return De(e.getFullYear()%1e4,t,4)}function noe(e,t){var n=e.getDay();return e=n>=4||n===0?xc(e):xc.ceil(e),De(e.getFullYear()%1e4,t,4)}function roe(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+De(t/60|0,"0",2)+De(t%60,"0",2)}function lS(e,t){return De(e.getUTCDate(),t,2)}function ooe(e,t){return De(e.getUTCHours(),t,2)}function ioe(e,t){return De(e.getUTCHours()%12||12,t,2)}function aoe(e,t){return De(1+f2.count(ai(e),e),t,3)}function uS(e,t){return De(e.getUTCMilliseconds(),t,3)}function soe(e,t){return uS(e,t)+"000"}function loe(e,t){return De(e.getUTCMonth()+1,t,2)}function uoe(e,t){return De(e.getUTCMinutes(),t,2)}function coe(e,t){return De(e.getUTCSeconds(),t,2)}function foe(e){var t=e.getUTCDay();return t===0?7:t}function doe(e,t){return De(h2.count(ai(e)-1,e),t,2)}function cS(e){var t=e.getUTCDay();return t>=4||t===0?wc(e):wc.ceil(e)}function poe(e,t){return e=cS(e),De(wc.count(ai(e),e)+(ai(e).getUTCDay()===4),t,2)}function hoe(e){return e.getUTCDay()}function moe(e,t){return De(m2.count(ai(e)-1,e),t,2)}function voe(e,t){return De(e.getUTCFullYear()%100,t,2)}function yoe(e,t){return e=cS(e),De(e.getUTCFullYear()%100,t,2)}function goe(e,t){return De(e.getUTCFullYear()%1e4,t,4)}function boe(e,t){var n=e.getUTCDay();return e=n>=4||n===0?wc(e):wc.ceil(e),De(e.getUTCFullYear()%1e4,t,4)}function xoe(){return"+0000"}function fS(){return"%"}function dS(e){return+e}function pS(e){return Math.floor(+e/1e3)}var Wh,hS,mS;woe({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function woe(e){return Wh=wre(e),hS=Wh.format,mS=Wh.utcFormat,Wh}function Coe(e){return new Date(e)}function Soe(e){return e instanceof Date?+e:+new Date(+e)}function g2(e,t,n,r,o,i,a,s,l,u){var c=Jg(),f=c.invert,d=c.domain,p=u(".%L"),v=u(":%S"),h=u("%I:%M"),b=u("%I %p"),m=u("%a %d"),g=u("%b %d"),y=u("%B"),w=u("%Y");function x(C){return(l(C)t(o/(e.length-1)))},n.quantiles=function(r){return Array.from({length:r+1},(o,i)=>bne(e,i/r))},n.copy=function(){return bS(t).domain(e)},xo.apply(n,arguments)}function Uh(){var e=0,t=.5,n=1,r=1,o,i,a,s,l,u=dn,c,f=!1,d;function p(h){return isNaN(h=+h)?d:(h=.5+((h=+c(h))-i)*(r*ht}var Toe=koe,Moe=PS,joe=Toe,Roe=Ns;function Loe(e){return e&&e.length?Moe(e,Roe,joe):void 0}var Ioe=Loe;const li=qe(Ioe);function Noe(e,t){return ee.e^i.s<0?1:-1;for(r=i.d.length,o=e.d.length,t=0,n=re.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},de.decimalPlaces=de.dp=function(){var e=this,t=e.d.length-1,n=(t-e.e)*ot;if(t=e.d[t],t)for(;t%10==0;t/=10)n--;return n<0?0:n},de.dividedBy=de.div=function(e){return Po(this,new this.constructor(e))},de.dividedToIntegerBy=de.idiv=function(e){var t=this,n=t.constructor;return Ye(Po(t,new n(e),0,1),n.precision)},de.equals=de.eq=function(e){return!this.cmp(e)},de.exponent=function(){return At(this)},de.greaterThan=de.gt=function(e){return this.cmp(e)>0},de.greaterThanOrEqualTo=de.gte=function(e){return this.cmp(e)>=0},de.isInteger=de.isint=function(){return this.e>this.d.length-2},de.isNegative=de.isneg=function(){return this.s<0},de.isPositive=de.ispos=function(){return this.s>0},de.isZero=function(){return this.s===0},de.lessThan=de.lt=function(e){return this.cmp(e)<0},de.lessThanOrEqualTo=de.lte=function(e){return this.cmp(e)<1},de.logarithm=de.log=function(e){var t,n=this,r=n.constructor,o=r.precision,i=o+5;if(e===void 0)e=new r(10);else if(e=new r(e),e.s<1||e.eq(Dn))throw Error(dr+"NaN");if(n.s<1)throw Error(dr+(n.s?"NaN":"-Infinity"));return n.eq(Dn)?new r(0):(st=!1,t=Po(Oc(n,i),Oc(e,i),i),st=!0,Ye(t,o))},de.minus=de.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?ES(t,e):_S(t,(e.s=-e.s,e))},de.modulo=de.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(e=new r(e),!e.s)throw Error(dr+"NaN");return n.s?(st=!1,t=Po(n,e,0,1).times(e),st=!0,n.minus(t)):Ye(new r(n),o)},de.naturalExponential=de.exp=function(){return $S(this)},de.naturalLogarithm=de.ln=function(){return Oc(this)},de.negated=de.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},de.plus=de.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?_S(t,e):ES(t,(e.s=-e.s,e))},de.precision=de.sd=function(e){var t,n,r,o=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(ea+e);if(t=At(o)+1,r=o.d.length-1,n=r*ot+1,r=o.d[r],r){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},de.squareRoot=de.sqrt=function(){var e,t,n,r,o,i,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(dr+"NaN")}for(e=At(s),st=!1,o=Math.sqrt(+s),o==0||o==1/0?(t=Xr(s.d),(t.length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=qs((e+1)/2)-(e<0||e%2),o==1/0?t="5e"+e:(t=o.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),r=new l(t)):r=new l(o.toString()),n=l.precision,o=a=n+3;;)if(i=r,r=i.plus(Po(s,i,a+2)).times(.5),Xr(i.d).slice(0,a)===(t=Xr(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&t=="4999"){if(Ye(i,n+1,0),i.times(i).eq(s)){r=i;break}}else if(t!="9999")break;a+=4}return st=!0,Ye(r,n)},de.times=de.mul=function(e){var t,n,r,o,i,a,s,l,u,c=this,f=c.constructor,d=c.d,p=(e=new f(e)).d;if(!c.s||!e.s)return new f(0);for(e.s*=c.s,n=c.e+e.e,l=d.length,u=p.length,l=0;){for(t=0,o=l+r;o>r;)s=i[o]+p[r]*d[o-r-1]+t,i[o--]=s%Vt|0,t=s/Vt|0;i[o]=(i[o]+t)%Vt|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,st?Ye(e,f.precision):e},de.toDecimalPlaces=de.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),e===void 0?n:(qr(e,0,Ks),t===void 0?t=r.rounding:qr(t,0,8),Ye(n,e+At(n)+1,t))},de.toExponential=function(e,t){var n,r=this,o=r.constructor;return e===void 0?n=na(r,!0):(qr(e,0,Ks),t===void 0?t=o.rounding:qr(t,0,8),r=Ye(new o(r),e+1,t),n=na(r,!0,e+1)),n},de.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return e===void 0?na(o):(qr(e,0,Ks),t===void 0?t=i.rounding:qr(t,0,8),r=Ye(new i(o),e+At(o)+1,t),n=na(r.abs(),!1,e+At(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},de.toInteger=de.toint=function(){var e=this,t=e.constructor;return Ye(new t(e),At(e)+1,t.rounding)},de.toNumber=function(){return+this},de.toPower=de.pow=function(e){var t,n,r,o,i,a,s=this,l=s.constructor,u=12,c=+(e=new l(e));if(!e.s)return new l(Dn);if(s=new l(s),!s.s){if(e.s<1)throw Error(dr+"Infinity");return s}if(s.eq(Dn))return s;if(r=l.precision,e.eq(Dn))return Ye(s,r);if(t=e.e,n=e.d.length-1,a=t>=n,i=s.s,a){if((n=c<0?-c:c)<=OS){for(o=new l(Dn),t=Math.ceil(r/ot+4),st=!1;n%2&&(o=o.times(s),kS(o.d,t)),n=qs(n/2),n!==0;)s=s.times(s),kS(s.d,t);return st=!0,e.s<0?new l(Dn).div(o):Ye(o,r)}}else if(i<0)throw Error(dr+"NaN");return i=i<0&&e.d[Math.max(t,n)]&1?-1:1,s.s=1,st=!1,o=e.times(Oc(s,r+u)),st=!0,o=$S(o),o.s=i,o},de.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return e===void 0?(n=At(o),r=na(o,n<=i.toExpNeg||n>=i.toExpPos)):(qr(e,1,Ks),t===void 0?t=i.rounding:qr(t,0,8),o=Ye(new i(o),e,t),n=At(o),r=na(o,e<=n||n<=i.toExpNeg,e)),r},de.toSignificantDigits=de.tosd=function(e,t){var n=this,r=n.constructor;return e===void 0?(e=r.precision,t=r.rounding):(qr(e,1,Ks),t===void 0?t=r.rounding:qr(t,0,8)),Ye(new r(n),e,t)},de.toString=de.valueOf=de.val=de.toJSON=de[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=At(e),n=e.constructor;return na(e,t<=n.toExpNeg||t>=n.toExpPos)};function _S(e,t){var n,r,o,i,a,s,l,u,c=e.constructor,f=c.precision;if(!e.s||!t.s)return t.s||(t=new c(e)),st?Ye(t,f):t;if(l=e.d,u=t.d,a=e.e,o=t.e,l=l.slice(),i=a-o,i){for(i<0?(r=l,i=-i,s=u.length):(r=u,o=a,s=l.length),a=Math.ceil(f/ot),s=a>s?a+1:s+1,i>s&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for(s=l.length,i=u.length,s-i<0&&(i=s,r=u,u=l,l=r),n=0;i;)n=(l[--i]=l[i]+u[i]+n)/Vt|0,l[i]%=Vt;for(n&&(l.unshift(n),++o),s=l.length;l[--s]==0;)l.pop();return t.d=l,t.e=o,st?Ye(t,f):t}function qr(e,t,n){if(e!==~~e||en)throw Error(ea+e)}function Xr(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;ta?1:-1;else for(s=l=0;so[s]?1:-1;break}return l}function n(r,o,i){for(var a=0;i--;)r[i]-=a,a=r[i]1;)r.shift()}return function(r,o,i,a){var s,l,u,c,f,d,p,v,h,b,m,g,y,w,x,C,S,_,A=r.constructor,k=r.s==o.s?1:-1,T=r.d,E=o.d;if(!r.s)return new A(r);if(!o.s)throw Error(dr+"Division by zero");for(l=r.e-o.e,S=E.length,x=T.length,p=new A(k),v=p.d=[],u=0;E[u]==(T[u]||0);)++u;if(E[u]>(T[u]||0)&&--l,i==null?g=i=A.precision:a?g=i+(At(r)-At(o))+1:g=i,g<0)return new A(0);if(g=g/ot+2|0,u=0,S==1)for(c=0,E=E[0],g++;(u1&&(E=e(E,c),T=e(T,c),S=E.length,x=T.length),w=S,h=T.slice(0,S),b=h.length;b=Vt/2&&++C;do c=0,s=t(E,h,S,b),s<0?(m=h[0],S!=b&&(m=m*Vt+(h[1]||0)),c=m/C|0,c>1?(c>=Vt&&(c=Vt-1),f=e(E,c),d=f.length,b=h.length,s=t(f,h,d,b),s==1&&(c--,n(f,S16)throw Error(w2+At(e));if(!e.s)return new c(Dn);for(st=!1,s=f,a=new c(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(r=Math.log(ta(2,u))/Math.LN10*2+5|0,s+=r,n=o=i=new c(Dn),c.precision=s;;){if(o=Ye(o.times(e),s),n=n.times(++l),a=i.plus(Po(o,n,s)),Xr(a.d).slice(0,s)===Xr(i.d).slice(0,s)){for(;u--;)i=Ye(i.times(i),s);return c.precision=f,t==null?(st=!0,Ye(i,f)):i}i=a}}function At(e){for(var t=e.e*ot,n=e.d[0];n>=10;n/=10)t++;return t}function C2(e,t,n){if(t>e.LN10.sd())throw st=!0,n&&(e.precision=n),Error(dr+"LN10 precision limit exceeded");return Ye(new e(e.LN10),t)}function ui(e){for(var t="";e--;)t+="0";return t}function Oc(e,t){var n,r,o,i,a,s,l,u,c,f=1,d=10,p=e,v=p.d,h=p.constructor,b=h.precision;if(p.s<1)throw Error(dr+(p.s?"NaN":"-Infinity"));if(p.eq(Dn))return new h(0);if(t==null?(st=!1,u=b):u=t,p.eq(10))return t==null&&(st=!0),C2(h,u);if(u+=d,h.precision=u,n=Xr(v),r=n.charAt(0),i=At(p),Math.abs(i)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)p=p.times(e),n=Xr(p.d),r=n.charAt(0),f++;i=At(p),r>1?(p=new h("0."+n),i++):p=new h(r+"."+n.slice(1))}else return l=C2(h,u+2,b).times(i+""),p=Oc(new h(r+"."+n.slice(1)),u-d).plus(l),h.precision=b,t==null?(st=!0,Ye(p,b)):p;for(s=a=p=Po(p.minus(Dn),p.plus(Dn),u),c=Ye(p.times(p),u),o=3;;){if(a=Ye(a.times(c),u),l=s.plus(Po(a,new h(o),u)),Xr(l.d).slice(0,u)===Xr(s.d).slice(0,u))return s=s.times(2),i!==0&&(s=s.plus(C2(h,u+2,b).times(i+""))),s=Po(s,new h(f),u),h.precision=b,t==null?(st=!0,Ye(s,b)):s;s=l,o+=2}}function AS(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charCodeAt(r)===48;)++r;for(o=t.length;t.charCodeAt(o-1)===48;)--o;if(t=t.slice(r,o),t){if(o-=r,n=n-r-1,e.e=qs(n/ot),e.d=[],r=(n+1)%ot,n<0&&(r+=ot),rKh||e.e<-Kh))throw Error(w2+n)}else e.s=0,e.e=0,e.d=[0];return e}function Ye(e,t,n){var r,o,i,a,s,l,u,c,f=e.d;for(a=1,i=f[0];i>=10;i/=10)a++;if(r=t-a,r<0)r+=ot,o=t,u=f[c=0];else{if(c=Math.ceil((r+1)/ot),i=f.length,c>=i)return e;for(u=i=f[c],a=1;i>=10;i/=10)a++;r%=ot,o=r-ot+a}if(n!==void 0&&(i=ta(10,a-o-1),s=u/i%10|0,l=t<0||f[c+1]!==void 0||u%i,l=n<4?(s||l)&&(n==0||n==(e.s<0?3:2)):s>5||s==5&&(n==4||l||n==6&&(r>0?o>0?u/ta(10,a-o):0:f[c-1])%10&1||n==(e.s<0?8:7))),t<1||!f[0])return l?(i=At(e),f.length=1,t=t-i-1,f[0]=ta(10,(ot-t%ot)%ot),e.e=qs(-t/ot)||0):(f.length=1,f[0]=e.e=e.s=0),e;if(r==0?(f.length=c,i=1,c--):(f.length=c+1,i=ta(10,ot-r),f[c]=o>0?(u/ta(10,a-o)%ta(10,o)|0)*i:0),l)for(;;)if(c==0){(f[0]+=i)==Vt&&(f[0]=1,++e.e);break}else{if(f[c]+=i,f[c]!=Vt)break;f[c--]=0,i=1}for(r=f.length;f[--r]===0;)f.pop();if(st&&(e.e>Kh||e.e<-Kh))throw Error(w2+At(e));return e}function ES(e,t){var n,r,o,i,a,s,l,u,c,f,d=e.constructor,p=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),st?Ye(t,p):t;if(l=e.d,f=t.d,r=t.e,u=e.e,l=l.slice(),a=u-r,a){for(c=a<0,c?(n=l,a=-a,s=f.length):(n=f,r=u,s=l.length),o=Math.max(Math.ceil(p/ot),s)+2,a>o&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for(o=l.length,s=f.length,c=o0;--o)l[s++]=0;for(o=f.length;o>a;){if(l[--o]0?i=i.charAt(0)+"."+i.slice(1)+ui(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+ui(-o-1)+i,n&&(r=n-a)>0&&(i+=ui(r))):o>=a?(i+=ui(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+ui(r))):((r=o+1)0&&(o+1===a&&(i+="."),i+=ui(r))),e.s<0?"-"+i:i}function kS(e,t){if(e.length>t)return e.length=t,!0}function TS(e){var t,n,r;function o(i){var a=this;if(!(a instanceof o))return new o(i);if(a.constructor=o,i instanceof o){a.s=i.s,a.e=i.e,a.d=(i=i.d)?i.slice():i;return}if(typeof i=="number"){if(i*0!==0)throw Error(ea+i);if(i>0)a.s=1;else if(i<0)i=-i,a.s=-1;else{a.s=0,a.e=0,a.d=[0];return}if(i===~~i&&i<1e7){a.e=0,a.d=[i];return}return AS(a,i.toString())}else if(typeof i!="string")throw Error(ea+i);if(i.charCodeAt(0)===45?(i=i.slice(1),a.s=-1):a.s=1,iie.test(i))AS(a,i);else throw Error(ea+i)}if(o.prototype=de,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=TS,o.config=o.set=aie,e===void 0&&(e={}),e)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],t=0;t=o[t+1]&&r<=o[t+2])this[n]=r;else throw Error(ea+n+": "+r);if((r=e[n="LN10"])!==void 0)if(r==Math.LN10)this[n]=new this(r);else throw Error(ea+n+": "+r);return this}var S2=TS(oie);Dn=new S2(1);const Xe=S2;function sie(e){return fie(e)||cie(e)||uie(e)||lie()}function lie(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uie(e,t){if(e){if(typeof e=="string")return P2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P2(e,t)}}function cie(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}function fie(e){if(Array.isArray(e))return P2(e)}function P2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?n.apply(void 0,o):e(t-a,RS(function(){for(var s=arguments.length,l=new Array(s),u=0;ue.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,o=!1,i=void 0;try{for(var a=e[Symbol.iterator](),s;!(r=(s=a.next()).done)&&(n.push(s.value),n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&a.return!=null&&a.return()}finally{if(o)throw i}}return n}}function _ie(e){if(Array.isArray(e))return e}function NS(e){var t=_c(e,2),n=t[0],r=t[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function DS(e,t,n){if(e.lte(0))return new Xe(0);var r=Xh.getDigitCount(e.toNumber()),o=new Xe(10).pow(r),i=e.div(o),a=r!==1?.05:.1,s=new Xe(Math.ceil(i.div(a).toNumber())).add(n).mul(a),l=s.mul(o);return t?l:new Xe(Math.ceil(l))}function $ie(e,t,n){var r=1,o=new Xe(e);if(!o.isint()&&n){var i=Math.abs(e);i<1?(r=new Xe(10).pow(Xh.getDigitCount(e)-1),o=new Xe(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new Xe(Math.floor(e)))}else e===0?o=new Xe(Math.floor((t-1)/2)):n||(o=new Xe(Math.floor(e)));var a=Math.floor((t-1)/2),s=mie(hie(function(l){return o.add(new Xe(l-a).mul(r)).toNumber()}),O2);return s(0,t)}function BS(e,t,n,r){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new Xe(0),tickMin:new Xe(0),tickMax:new Xe(0)};var i=DS(new Xe(t).sub(e).div(n-1),r,o),a;e<=0&&t>=0?a=new Xe(0):(a=new Xe(e).add(t).div(2),a=a.sub(new Xe(a).mod(i)));var s=Math.ceil(a.sub(e).div(i).toNumber()),l=Math.ceil(new Xe(t).sub(a).div(i).toNumber()),u=s+l+1;return u>n?BS(e,t,n,r,o+1):(u0?l+(n-u):l,s=t>0?s:s+(n-u)),{step:i,tickMin:a.sub(new Xe(s).mul(i)),tickMax:a.add(new Xe(l).mul(i))})}function Aie(e){var t=_c(e,2),n=t[0],r=t[1],o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:6,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=Math.max(o,2),s=NS([n,r]),l=_c(s,2),u=l[0],c=l[1];if(u===-1/0||c===1/0){var f=c===1/0?[u].concat($2(O2(0,o-1).map(function(){return 1/0}))):[].concat($2(O2(0,o-1).map(function(){return-1/0})),[c]);return n>r?_2(f):f}if(u===c)return $ie(u,o,i);var d=BS(u,c,a,i),p=d.step,v=d.tickMin,h=d.tickMax,b=Xh.rangeStep(v,h.add(new Xe(.1).mul(p)),p);return n>r?_2(b):b}function Eie(e,t){var n=_c(e,2),r=n[0],o=n[1],i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=NS([r,o]),s=_c(a,2),l=s[0],u=s[1];if(l===-1/0||u===1/0)return[r,o];if(l===u)return[l];var c=Math.max(t,2),f=DS(new Xe(u).sub(l).div(c-1),i,0),d=[].concat($2(Xh.rangeStep(new Xe(l),new Xe(u).sub(new Xe(.99).mul(f)),f)),[u]);return r>o?_2(d):d}var kie=LS(Aie),Tie=LS(Eie),Mie="Invariant failed";function ra(e,t){throw new Error(Mie)}var jie=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function Xs(e){"@babel/helpers - typeof";return Xs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xs(e)}function Zh(){return Zh=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Fie(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function zie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hie(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,a=-1,s=(n=r==null?void 0:r.length)!==null&&n!==void 0?n:0;if(s<=1)return 0;if(i&&i.axisType==="angleAxis"&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var l=i.range,u=0;u0?o[u-1].coordinate:o[s-1].coordinate,f=o[u].coordinate,d=u>=s-1?o[0].coordinate:o[u+1].coordinate,p=void 0;if(Sr(f-c)!==Sr(d-f)){var v=[];if(Sr(d-f)===Sr(l[1]-l[0])){p=d;var h=f+l[1]-l[0];v[0]=Math.min(h,(h+c)/2),v[1]=Math.max(h,(h+c)/2)}else{p=c;var b=d+l[1]-l[0];v[0]=Math.min(f,(b+f)/2),v[1]=Math.max(f,(b+f)/2)}var m=[Math.min(f,(p+f)/2),Math.max(f,(p+f)/2)];if(t>m[0]&&t<=m[1]||t>=v[0]&&t<=v[1]){a=o[u].index;break}}else{var g=Math.min(c,d),y=Math.max(c,d);if(t>(g+f)/2&&t<=(y+f)/2){a=o[u].index;break}}}else for(var w=0;w0&&w(r[w].coordinate+r[w-1].coordinate)/2&&t<=(r[w].coordinate+r[w+1].coordinate)/2||w===s-1&&t>(r[w].coordinate+r[w-1].coordinate)/2){a=r[w].index;break}return a},T2=function(t){var n,r=t,o=r.type.displayName,i=(n=t.type)!==null&&n!==void 0&&n.defaultProps?yt(yt({},t.type.defaultProps),t.props):t.props,a=i.stroke,s=i.fill,l;switch(o){case"Line":l=a;break;case"Area":case"Radar":l=a&&a!=="none"?a:s;break;default:l=s;break}return l},iae=function(t){var n=t.barSize,r=t.totalSize,o=t.stackGroups,i=o===void 0?{}:o;if(!i)return{};for(var a={},s=Object.keys(i),l=0,u=s.length;l=0});if(m&&m.length){var g=m[0].type.defaultProps,y=g!==void 0?yt(yt({},g),m[0].props):m[0].props,w=y.barSize,x=y[b];a[x]||(a[x]=[]);var C=be(w)?n:w;a[x].push({item:m[0],stackList:m.slice(1),barSize:be(C)?void 0:Ui(C,r,0)})}}return a},aae=function(t){var n=t.barGap,r=t.barCategoryGap,o=t.bandSize,i=t.sizeList,a=i===void 0?[]:i,s=t.maxBarSize,l=a.length;if(l<1)return null;var u=Ui(n,o,0,!0),c,f=[];if(a[0].barSize===+a[0].barSize){var d=!1,p=o/l,v=a.reduce(function(w,x){return w+x.barSize||0},0);v+=(l-1)*u,v>=o&&(v-=(l-1)*u,u=0),v>=o&&p>0&&(d=!0,p*=.9,v=l*p);var h=(o-v)/2>>0,b={offset:h-u,size:0};c=a.reduce(function(w,x){var C={item:x.item,position:{offset:b.offset+b.size+u,size:d?p:x.barSize}},S=[].concat(GS(w),[C]);return b=S[S.length-1].position,x.stackList&&x.stackList.length&&x.stackList.forEach(function(_){S.push({item:_,position:b})}),S},f)}else{var m=Ui(r,o,0,!0);o-2*m-(l-1)*u<=0&&(u=0);var g=(o-2*m-(l-1)*u)/l;g>1&&(g>>=0);var y=s===+s?Math.min(g,s):g;c=a.reduce(function(w,x,C){var S=[].concat(GS(w),[{item:x.item,position:{offset:m+(g+u)*C+(g-y)/2,size:y}}]);return x.stackList&&x.stackList.length&&x.stackList.forEach(function(_){S.push({item:_,position:S[S.length-1].position})}),S},f)}return c},sae=function(t,n,r,o){var i=r.children,a=r.width,s=r.margin,l=a-(s.left||0)-(s.right||0),u=US({children:i,legendWidth:l});if(u){var c=o||{},f=c.width,d=c.height,p=u.align,v=u.verticalAlign,h=u.layout;if((h==="vertical"||h==="horizontal"&&v==="middle")&&p!=="center"&&ne(t[p]))return yt(yt({},t),{},Ys({},p,t[p]+(f||0)));if((h==="horizontal"||h==="vertical"&&p==="center")&&v!=="middle"&&ne(t[v]))return yt(yt({},t),{},Ys({},v,t[v]+(d||0)))}return t},lae=function(t,n,r){return be(n)?!0:t==="horizontal"?n==="yAxis":t==="vertical"||r==="x"?n==="xAxis":r==="y"?n==="yAxis":!0},qS=function(t,n,r,o,i){var a=n.props.children,s=Pn(a,Zs).filter(function(u){return lae(o,i,u.props.direction)});if(s&&s.length){var l=s.map(function(u){return u.props.dataKey});return t.reduce(function(u,c){var f=Lt(c,r);if(be(f))return u;var d=Array.isArray(f)?[Gh(f),li(f)]:[f,f],p=l.reduce(function(v,h){var b=Lt(c,h,0),m=d[0]-Math.abs(Array.isArray(b)?b[0]:b),g=d[1]+Math.abs(Array.isArray(b)?b[1]:b);return[Math.min(m,v[0]),Math.max(g,v[1])]},[1/0,-1/0]);return[Math.min(p[0],u[0]),Math.max(p[1],u[1])]},[1/0,-1/0])}return null},uae=function(t,n,r,o,i){var a=n.map(function(s){return qS(t,s,r,i,o)}).filter(function(s){return!be(s)});return a&&a.length?a.reduce(function(s,l){return[Math.min(s[0],l[0]),Math.max(s[1],l[1])]},[1/0,-1/0]):null},XS=function(t,n,r,o,i){var a=n.map(function(l){var u=l.props.dataKey;return r==="number"&&u&&qS(t,l,u,o)||Ec(t,u,r,i)});if(r==="number")return a.reduce(function(l,u){return[Math.min(l[0],u[0]),Math.max(l[1],u[1])]},[1/0,-1/0]);var s={};return a.reduce(function(l,u){for(var c=0,f=u.length;c=2?Sr(s[0]-s[1])*2*u:u,n&&(t.ticks||t.niceTicks)){var c=(t.ticks||t.niceTicks).map(function(f){var d=i?i.indexOf(f):f;return{coordinate:o(d)+u,value:f,offset:u}});return c.filter(function(f){return!Ts(f.coordinate)})}return t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map(function(f,d){return{coordinate:o(f)+u,value:f,index:d,offset:u}}):o.ticks&&!r?o.ticks(t.tickCount).map(function(f){return{coordinate:o(f)+u,value:f,offset:u}}):o.domain().map(function(f,d){return{coordinate:o(f)+u,value:i?i[f]:f,index:d,offset:u}})},M2=new WeakMap,Qh=function(t,n){if(typeof n!="function")return t;M2.has(t)||M2.set(t,new WeakMap);var r=M2.get(t);if(r.has(n))return r.get(n);var o=function(){t.apply(void 0,arguments),n.apply(void 0,arguments)};return r.set(n,o),o},cae=function(t,n,r){var o=t.scale,i=t.type,a=t.layout,s=t.axisType;if(o==="auto")return a==="radial"&&s==="radiusAxis"?{scale:dc(),realScaleType:"band"}:a==="radial"&&s==="angleAxis"?{scale:zh(),realScaleType:"linear"}:i==="category"&&n&&(n.indexOf("LineChart")>=0||n.indexOf("AreaChart")>=0||n.indexOf("ComposedChart")>=0&&!r)?{scale:pc(),realScaleType:"point"}:i==="category"?{scale:dc(),realScaleType:"band"}:{scale:zh(),realScaleType:"linear"};if(Hi(o)){var l="scale".concat(ih(o));return{scale:(SS[l]||pc)(),realScaleType:SS[l]?l:"point"}}return _e(o)?{scale:o}:{scale:pc(),realScaleType:"point"}},QS=1e-4,fae=function(t){var n=t.domain();if(!(!n||n.length<=2)){var r=n.length,o=t.range(),i=Math.min(o[0],o[1])-QS,a=Math.max(o[0],o[1])+QS,s=t(n[0]),l=t(n[r-1]);(sa||la)&&t.domain([n[0],n[r-1]])}},dae=function(t,n){if(!t)return null;for(var r=0,o=t.length;ro)&&(i[1]=o),i[0]>o&&(i[0]=o),i[1]=0?(t[s][r][0]=i,t[s][r][1]=i+l,i=t[s][r][1]):(t[s][r][0]=a,t[s][r][1]=a+l,a=t[s][r][1])}},mae=function(t){var n=t.length;if(!(n<=0))for(var r=0,o=t[0].length;r=0?(t[a][r][0]=i,t[a][r][1]=i+s,i=t[a][r][1]):(t[a][r][0]=0,t[a][r][1]=0)}},vae={sign:hae,expand:DG,none:js,silhouette:BG,wiggle:FG,positive:mae},yae=function(t,n,r){var o=n.map(function(s){return s.props.dataKey}),i=vae[r],a=NG().keys(o).value(function(s,l){return+Lt(s,l,0)}).order(og).offset(i);return a(t)},gae=function(t,n,r,o,i,a){if(!t)return null;var s=a?n.reverse():n,l={},u=s.reduce(function(f,d){var p,v=(p=d.type)!==null&&p!==void 0&&p.defaultProps?yt(yt({},d.type.defaultProps),d.props):d.props,h=v.stackId,b=v.hide;if(b)return f;var m=v[r],g=f[m]||{hasStack:!1,stackGroups:{}};if(jt(h)){var y=g.stackGroups[h]||{numericAxisId:r,cateAxisId:o,items:[]};y.items.push(d),g.hasStack=!0,g.stackGroups[h]=y}else g.stackGroups[Vi("_stackId_")]={numericAxisId:r,cateAxisId:o,items:[d]};return yt(yt({},f),{},Ys({},m,g))},l),c={};return Object.keys(u).reduce(function(f,d){var p=u[d];if(p.hasStack){var v={};p.stackGroups=Object.keys(p.stackGroups).reduce(function(h,b){var m=p.stackGroups[b];return yt(yt({},h),{},Ys({},b,{numericAxisId:r,cateAxisId:o,items:m.items,stackedData:yae(t,m.items,i)}))},v)}return yt(yt({},f),{},Ys({},d,p))},c)},bae=function(t,n){var r=n.realScaleType,o=n.type,i=n.tickCount,a=n.originalDomain,s=n.allowDecimals,l=r||n.scale;if(l!=="auto"&&l!=="linear")return null;if(i&&o==="number"&&a&&(a[0]==="auto"||a[1]==="auto")){var u=t.domain();if(!u.length)return null;var c=kie(u,i,s);return t.domain([Gh(c),li(c)]),{niceTicks:c}}if(i&&o==="number"){var f=t.domain(),d=Tie(f,i,s);return{niceTicks:d}}return null};function Qs(e){var t=e.axis,n=e.ticks,r=e.bandSize,o=e.entry,i=e.index,a=e.dataKey;if(t.type==="category"){if(!t.allowDuplicatedCategory&&t.dataKey&&!be(o[t.dataKey])){var s=nh(n,"value",o[t.dataKey]);if(s)return s.coordinate+r/2}return n[i]?n[i].coordinate+r/2:null}var l=Lt(o,be(a)?t.dataKey:a);return be(l)?null:t.scale(l)}var JS=function(t){var n=t.axis,r=t.ticks,o=t.offset,i=t.bandSize,a=t.entry,s=t.index;if(n.type==="category")return r[s]?r[s].coordinate+o:null;var l=Lt(a,n.dataKey,n.domain[s]);return be(l)?null:n.scale(l)-i/2+o},xae=function(t){var n=t.numericAxis,r=n.scale.domain();if(n.type==="number"){var o=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return o<=0&&i>=0?0:i<0?i:o}return r[0]},wae=function(t,n){var r,o=(r=t.type)!==null&&r!==void 0&&r.defaultProps?yt(yt({},t.type.defaultProps),t.props):t.props,i=o.stackId;if(jt(i)){var a=n[i];if(a){var s=a.items.indexOf(t);return s>=0?a.stackedData[s]:null}}return null},Cae=function(t){return t.reduce(function(n,r){return[Gh(r.concat([n[0]]).filter(ne)),li(r.concat([n[1]]).filter(ne))]},[1/0,-1/0])},eP=function(t,n,r){return Object.keys(t).reduce(function(o,i){var a=t[i],s=a.stackedData,l=s.reduce(function(u,c){var f=Cae(c.slice(n,r+1));return[Math.min(u[0],f[0]),Math.max(u[1],f[1])]},[1/0,-1/0]);return[Math.min(l[0],o[0]),Math.max(l[1],o[1])]},[1/0,-1/0]).map(function(o){return o===1/0||o===-1/0?0:o})},tP=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,nP=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,j2=function(t,n,r){if(_e(t))return t(n,r);if(!Array.isArray(t))return n;var o=[];if(ne(t[0]))o[0]=r?t[0]:Math.min(t[0],n[0]);else if(tP.test(t[0])){var i=+tP.exec(t[0])[1];o[0]=n[0]-i}else _e(t[0])?o[0]=t[0](n[0]):o[0]=n[0];if(ne(t[1]))o[1]=r?t[1]:Math.max(t[1],n[1]);else if(nP.test(t[1])){var a=+nP.exec(t[1])[1];o[1]=n[1]+a}else _e(t[1])?o[1]=t[1](n[1]):o[1]=n[1];return o},Jh=function(t,n,r){if(t&&t.scale&&t.scale.bandwidth){var o=t.scale.bandwidth();if(!r||o>0)return o}if(t&&n&&n.length>=2){for(var i=$g(n,function(f){return f.coordinate}),a=1/0,s=1,l=i.length;sa&&(u=2*Math.PI-u),{radius:s,angle:_ae(u),angleInRadian:u}},Eae=function(t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360),a=Math.min(o,i);return{startAngle:n-a*360,endAngle:r-a*360}},kae=function(t,n){var r=n.startAngle,o=n.endAngle,i=Math.floor(r/360),a=Math.floor(o/360),s=Math.min(i,a);return t+s*360},sP=function(t,n){var r=t.x,o=t.y,i=Aae({x:r,y:o},n),a=i.radius,s=i.angle,l=n.innerRadius,u=n.outerRadius;if(au)return!1;if(a===0)return!0;var c=Eae(n),f=c.startAngle,d=c.endAngle,p=s,v;if(f<=d){for(;p>d;)p-=360;for(;p=f&&p<=d}else{for(;p>f;)p-=360;for(;p=d&&p<=f}return v?aP(aP({},n),{},{radius:a,angle:kae(p,n)}):null};function Tc(e){"@babel/helpers - typeof";return Tc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tc(e)}var Tae=["offset"];function Mae(e){return Iae(e)||Lae(e)||Rae(e)||jae()}function jae(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rae(e,t){if(e){if(typeof e=="string")return R2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R2(e,t)}}function Lae(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Iae(e){if(Array.isArray(e))return R2(e)}function R2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Dae(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function lP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function It(e){for(var t=1;t=0?1:-1,y,w;o==="insideStart"?(y=p+g*a,w=h):o==="insideEnd"?(y=v-g*a,w=!h):o==="end"&&(y=v+g*a,w=h),w=m<=0?w:!w;var x=Xt(u,c,b,y),C=Xt(u,c,b,y+(w?1:-1)*359),S="M".concat(x.x,",").concat(x.y,` A`).concat(b,",").concat(b,",0,1,").concat(w?0:1,`, `).concat(C.x,",").concat(C.y),_=be(t.id)?Vi("recharts-radial-line-"):t.id;return I.createElement("text",Mc({},r,{dominantBaseline:"central",className:q("recharts-radial-bar-label",s)}),I.createElement("defs",null,I.createElement("path",{id:_,d:S})),I.createElement("textPath",{xlinkHref:"#".concat(_)},n))},Uae=function(t){var n=t.viewBox,r=t.offset,o=t.position,i=n,a=i.cx,s=i.cy,l=i.innerRadius,u=i.outerRadius,c=i.startAngle,f=i.endAngle,d=(c+f)/2;if(o==="outside"){var p=Xt(a,s,u+r,d),v=p.x,h=p.y;return{x:v,y:h,textAnchor:v>=a?"start":"end",verticalAnchor:"middle"}}if(o==="center")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"middle"};if(o==="centerTop")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"start"};if(o==="centerBottom")return{x:a,y:s,textAnchor:"middle",verticalAnchor:"end"};var b=(l+u)/2,m=Xt(a,s,b,d),g=m.x,y=m.y;return{x:g,y,textAnchor:"middle",verticalAnchor:"middle"}},Gae=function(t){var n=t.viewBox,r=t.parentViewBox,o=t.offset,i=t.position,a=n,s=a.x,l=a.y,u=a.width,c=a.height,f=c>=0?1:-1,d=f*o,p=f>0?"end":"start",v=f>0?"start":"end",h=u>=0?1:-1,b=h*o,m=h>0?"end":"start",g=h>0?"start":"end";if(i==="top"){var y={x:s+u/2,y:l-f*o,textAnchor:"middle",verticalAnchor:p};return It(It({},y),r?{height:Math.max(l-r.y,0),width:u}:{})}if(i==="bottom"){var w={x:s+u/2,y:l+c+d,textAnchor:"middle",verticalAnchor:v};return It(It({},w),r?{height:Math.max(r.y+r.height-(l+c),0),width:u}:{})}if(i==="left"){var x={x:s-b,y:l+c/2,textAnchor:m,verticalAnchor:"middle"};return It(It({},x),r?{width:Math.max(x.x-r.x,0),height:c}:{})}if(i==="right"){var C={x:s+u+b,y:l+c/2,textAnchor:g,verticalAnchor:"middle"};return It(It({},C),r?{width:Math.max(r.x+r.width-C.x,0),height:c}:{})}var S=r?{width:u,height:c}:{};return i==="insideLeft"?It({x:s+b,y:l+c/2,textAnchor:g,verticalAnchor:"middle"},S):i==="insideRight"?It({x:s+u-b,y:l+c/2,textAnchor:m,verticalAnchor:"middle"},S):i==="insideTop"?It({x:s+u/2,y:l+d,textAnchor:"middle",verticalAnchor:v},S):i==="insideBottom"?It({x:s+u/2,y:l+c-d,textAnchor:"middle",verticalAnchor:p},S):i==="insideTopLeft"?It({x:s+b,y:l+d,textAnchor:g,verticalAnchor:v},S):i==="insideTopRight"?It({x:s+u-b,y:l+d,textAnchor:m,verticalAnchor:v},S):i==="insideBottomLeft"?It({x:s+b,y:l+c-d,textAnchor:g,verticalAnchor:p},S):i==="insideBottomRight"?It({x:s+u-b,y:l+c-d,textAnchor:m,verticalAnchor:p},S):$s(i)&&(ne(i.x)||Wi(i.x))&&(ne(i.y)||Wi(i.y))?It({x:s+Ui(i.x,u),y:l+Ui(i.y,c),textAnchor:"end",verticalAnchor:"end"},S):It({x:s+u/2,y:l+c/2,textAnchor:"middle",verticalAnchor:"middle"},S)},Kae=function(t){return"cx"in t&&ne(t.cx)};function nn(e){var t=e.offset,n=t===void 0?5:t,r=Nae(e,Tae),o=It({offset:n},r),i=o.viewBox,a=o.position,s=o.value,l=o.children,u=o.content,c=o.className,f=c===void 0?"":c,d=o.textBreakAll;if(!i||be(s)&&be(l)&&!O.isValidElement(u)&&!_e(u))return null;if(O.isValidElement(u))return O.cloneElement(u,o);var p;if(_e(u)){if(p=O.createElement(u,o),O.isValidElement(p))return p}else p=Hae(o);var v=Kae(i),h=Ce(o,!0);if(v&&(a==="insideStart"||a==="insideEnd"||a==="end"))return Vae(o,p,h);var b=v?Uae(o):Gae(o);return I.createElement(Eh,Mc({className:q("recharts-label",f)},h,b,{breakAll:d}),p)}nn.displayName="Label";var uP=function(t){var n=t.cx,r=t.cy,o=t.angle,i=t.startAngle,a=t.endAngle,s=t.r,l=t.radius,u=t.innerRadius,c=t.outerRadius,f=t.x,d=t.y,p=t.top,v=t.left,h=t.width,b=t.height,m=t.clockWise,g=t.labelViewBox;if(g)return g;if(ne(h)&&ne(b)){if(ne(f)&&ne(d))return{x:f,y:d,width:h,height:b};if(ne(p)&&ne(v))return{x:p,y:v,width:h,height:b}}return ne(f)&&ne(d)?{x:f,y:d,width:0,height:0}:ne(n)&&ne(r)?{cx:n,cy:r,startAngle:i||o||0,endAngle:a||o||0,innerRadius:u||0,outerRadius:c||l||s||0,clockWise:m}:t.viewBox?t.viewBox:{}},qae=function(t,n){return t?t===!0?I.createElement(nn,{key:"label-implicit",viewBox:n}):jt(t)?I.createElement(nn,{key:"label-implicit",viewBox:n,value:t}):O.isValidElement(t)?t.type===nn?O.cloneElement(t,{key:"label-implicit",viewBox:n}):I.createElement(nn,{key:"label-implicit",content:t,viewBox:n}):_e(t)?I.createElement(nn,{key:"label-implicit",content:t,viewBox:n}):$s(t)?I.createElement(nn,Mc({viewBox:n},t,{key:"label-implicit"})):null:null},Xae=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||!t.children&&r&&!t.label)return null;var o=t.children,i=uP(t),a=Pn(o,nn).map(function(l,u){return O.cloneElement(l,{viewBox:n||i,key:"label-".concat(u)})});if(!r)return a;var s=qae(t.label,n||i);return[s].concat(Mae(a))};nn.parseViewBox=uP,nn.renderCallByParent=Xae;function Zae(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Yae=Zae;const Qae=qe(Yae);function jc(e){"@babel/helpers - typeof";return jc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jc(e)}var Jae=["valueAccessor"],ese=["data","dataKey","clockWise","id","textBreakAll"];function tse(e){return ise(e)||ose(e)||rse(e)||nse()}function nse(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rse(e,t){if(e){if(typeof e=="string")return L2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L2(e,t)}}function ose(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ise(e){if(Array.isArray(e))return L2(e)}function L2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function use(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var cse=function(t){return Array.isArray(t.value)?Qae(t.value):t.value};function Zr(e){var t=e.valueAccessor,n=t===void 0?cse:t,r=dP(e,Jae),o=r.data,i=r.dataKey,a=r.clockWise,s=r.id,l=r.textBreakAll,u=dP(r,ese);return!o||!o.length?null:I.createElement(ze,{className:"recharts-label-list"},o.map(function(c,f){var d=be(i)?n(c,f):Lt(c&&c.payload,i),p=be(s)?{}:{id:"".concat(s,"-").concat(f)};return I.createElement(nn,t1({},Ce(c,!0),u,p,{parentViewBox:c.parentViewBox,value:d,textBreakAll:l,viewBox:nn.parseViewBox(be(a)?c:fP(fP({},c),{},{clockWise:a})),key:"label-".concat(f),index:f}))}))}Zr.displayName="LabelList";function fse(e,t){return e?e===!0?I.createElement(Zr,{key:"labelList-implicit",data:t}):I.isValidElement(e)||_e(e)?I.createElement(Zr,{key:"labelList-implicit",data:t,content:e}):$s(e)?I.createElement(Zr,t1({data:t},e,{key:"labelList-implicit"})):null:null}function dse(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=Pn(r,Zr).map(function(a,s){return O.cloneElement(a,{data:t,key:"labelList-".concat(s)})});if(!n)return o;var i=fse(e.label,t);return[i].concat(tse(o))}Zr.renderCallByParent=dse;function Rc(e){"@babel/helpers - typeof";return Rc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rc(e)}function I2(){return I2=Object.assign?Object.assign.bind():function(e){for(var t=1;t180),",").concat(+(a>u),`, `).concat(f.x,",").concat(f.y,` `);if(o>0){var p=Xt(n,r,o,a),v=Xt(n,r,o,u);d+="L ".concat(v.x,",").concat(v.y,` A `).concat(o,",").concat(o,`,0, `).concat(+(Math.abs(l)>180),",").concat(+(a<=u),`, `).concat(p.x,",").concat(p.y," Z")}else d+="L ".concat(n,",").concat(r," Z");return d},yse=function(t){var n=t.cx,r=t.cy,o=t.innerRadius,i=t.outerRadius,a=t.cornerRadius,s=t.forceCornerRadius,l=t.cornerIsExternal,u=t.startAngle,c=t.endAngle,f=Sr(c-u),d=n1({cx:n,cy:r,radius:i,angle:u,sign:f,cornerRadius:a,cornerIsExternal:l}),p=d.circleTangency,v=d.lineTangency,h=d.theta,b=n1({cx:n,cy:r,radius:i,angle:c,sign:-f,cornerRadius:a,cornerIsExternal:l}),m=b.circleTangency,g=b.lineTangency,y=b.theta,w=l?Math.abs(u-c):Math.abs(u-c)-h-y;if(w<0)return s?"M ".concat(v.x,",").concat(v.y,` a`).concat(a,",").concat(a,",0,0,1,").concat(a*2,`,0 a`).concat(a,",").concat(a,",0,0,1,").concat(-a*2,`,0 `):mP({cx:n,cy:r,innerRadius:o,outerRadius:i,startAngle:u,endAngle:c});var x="M ".concat(v.x,",").concat(v.y,` A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(p.x,",").concat(p.y,` A`).concat(i,",").concat(i,",0,").concat(+(w>180),",").concat(+(f<0),",").concat(m.x,",").concat(m.y,` A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(g.x,",").concat(g.y,` `);if(o>0){var C=n1({cx:n,cy:r,radius:o,angle:u,sign:f,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),S=C.circleTangency,_=C.lineTangency,A=C.theta,k=n1({cx:n,cy:r,radius:o,angle:c,sign:-f,isExternal:!0,cornerRadius:a,cornerIsExternal:l}),T=k.circleTangency,E=k.lineTangency,R=k.theta,L=l?Math.abs(u-c):Math.abs(u-c)-A-R;if(L<0&&a===0)return"".concat(x,"L").concat(n,",").concat(r,"Z");x+="L".concat(E.x,",").concat(E.y,` A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(T.x,",").concat(T.y,` A`).concat(o,",").concat(o,",0,").concat(+(L>180),",").concat(+(f>0),",").concat(S.x,",").concat(S.y,` A`).concat(a,",").concat(a,",0,0,").concat(+(f<0),",").concat(_.x,",").concat(_.y,"Z")}else x+="L".concat(n,",").concat(r,"Z");return x},gse={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},vP=function(t){var n=hP(hP({},gse),t),r=n.cx,o=n.cy,i=n.innerRadius,a=n.outerRadius,s=n.cornerRadius,l=n.forceCornerRadius,u=n.cornerIsExternal,c=n.startAngle,f=n.endAngle,d=n.className;if(a0&&Math.abs(c-f)<360?b=yse({cx:r,cy:o,innerRadius:i,outerRadius:a,cornerRadius:Math.min(h,v/2),forceCornerRadius:l,cornerIsExternal:u,startAngle:c,endAngle:f}):b=mP({cx:r,cy:o,innerRadius:i,outerRadius:a,startAngle:c,endAngle:f}),I.createElement("path",I2({},Ce(n,!0),{className:p,d:b,role:"img"}))};function Lc(e){"@babel/helpers - typeof";return Lc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lc(e)}function N2(){return N2=Object.assign?Object.assign.bind():function(e){for(var t=1;t_se.call(e,t));function aa(e,t){return e===t||!e&&!t&&e!==e&&t!==t}const Ese="__v",kse="__o",Tse="_owner",{getOwnPropertyDescriptor:wP,keys:CP}=Object;function Mse(e,t){return e.byteLength===t.byteLength&&i1(new Uint8Array(e),new Uint8Array(t))}function jse(e,t,n){let r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function Rse(e,t){return e.byteLength===t.byteLength&&i1(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}function Lse(e,t){return aa(e.getTime(),t.getTime())}function Ise(e,t){return e.name===t.name&&e.message===t.message&&e.cause===t.cause&&e.stack===t.stack}function Nse(e,t){return e===t}function SP(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const o=new Array(r),i=e.entries();let a,s,l=0;for(;(a=i.next())&&!a.done;){const u=t.entries();let c=!1,f=0;for(;(s=u.next())&&!s.done;){if(o[f]){f++;continue}const d=a.value,p=s.value;if(n.equals(d[0],p[0],l,f,e,t,n)&&n.equals(d[1],p[1],d[0],p[0],e,t,n)){c=o[f]=!0;break}f++}if(!c)return!1;l++}return!0}const Dse=aa;function Bse(e,t,n){const r=CP(e);let o=r.length;if(CP(t).length!==o)return!1;for(;o-- >0;)if(!OP(e,t,n,r[o]))return!1;return!0}function Dc(e,t,n){const r=xP(e);let o=r.length;if(xP(t).length!==o)return!1;let i,a,s;for(;o-- >0;)if(i=r[o],!OP(e,t,n,i)||(a=wP(e,i),s=wP(t,i),(a||s)&&(!a||!s||a.configurable!==s.configurable||a.enumerable!==s.enumerable||a.writable!==s.writable)))return!1;return!0}function Fse(e,t){return aa(e.valueOf(),t.valueOf())}function zse(e,t){return e.source===t.source&&e.flags===t.flags}function PP(e,t,n){const r=e.size;if(r!==t.size)return!1;if(!r)return!0;const o=new Array(r),i=e.values();let a,s;for(;(a=i.next())&&!a.done;){const l=t.values();let u=!1,c=0;for(;(s=l.next())&&!s.done;){if(!o[c]&&n.equals(a.value,s.value,a.value,s.value,e,t,n)){u=o[c]=!0;break}c++}if(!u)return!1}return!0}function i1(e,t){let n=e.byteLength;if(t.byteLength!==n||e.byteOffset!==t.byteOffset)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}function Hse(e,t){return e.hostname===t.hostname&&e.pathname===t.pathname&&e.protocol===t.protocol&&e.port===t.port&&e.hash===t.hash&&e.username===t.username&&e.password===t.password}function OP(e,t,n,r){return(r===Tse||r===kse||r===Ese)&&(e.$$typeof||t.$$typeof)?!0:Ase(t,r)&&n.equals(e[r],t[r],r,r,e,t,n)}const Wse="[object ArrayBuffer]",Vse="[object Arguments]",Use="[object Boolean]",Gse="[object DataView]",Kse="[object Date]",qse="[object Error]",Xse="[object Map]",Zse="[object Number]",Yse="[object Object]",Qse="[object RegExp]",Jse="[object Set]",ele="[object String]",tle={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},nle="[object URL]",rle=Object.prototype.toString;function ole({areArrayBuffersEqual:e,areArraysEqual:t,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:o,areFunctionsEqual:i,areMapsEqual:a,areNumbersEqual:s,areObjectsEqual:l,arePrimitiveWrappersEqual:u,areRegExpsEqual:c,areSetsEqual:f,areTypedArraysEqual:d,areUrlsEqual:p,unknownTagComparators:v}){return function(b,m,g){if(b===m)return!0;if(b==null||m==null)return!1;const y=typeof b;if(y!==typeof m)return!1;if(y!=="object")return y==="number"?s(b,m,g):y==="function"?i(b,m,g):!1;const w=b.constructor;if(w!==m.constructor)return!1;if(w===Object)return l(b,m,g);if(Array.isArray(b))return t(b,m,g);if(w===Date)return r(b,m,g);if(w===RegExp)return c(b,m,g);if(w===Map)return a(b,m,g);if(w===Set)return f(b,m,g);const x=rle.call(b);if(x===Kse)return r(b,m,g);if(x===Qse)return c(b,m,g);if(x===Xse)return a(b,m,g);if(x===Jse)return f(b,m,g);if(x===Yse)return typeof b.then!="function"&&typeof m.then!="function"&&l(b,m,g);if(x===nle)return p(b,m,g);if(x===qse)return o(b,m,g);if(x===Vse)return l(b,m,g);if(tle[x])return d(b,m,g);if(x===Wse)return e(b,m,g);if(x===Gse)return n(b,m,g);if(x===Use||x===Zse||x===ele)return u(b,m,g);if(v){let C=v[x];if(!C){const S=$se(b);S&&(C=v[S])}if(C)return C(b,m,g)}return!1}}function ile({circular:e,createCustomConfig:t,strict:n}){let r={areArrayBuffersEqual:Mse,areArraysEqual:n?Dc:jse,areDataViewsEqual:Rse,areDatesEqual:Lse,areErrorsEqual:Ise,areFunctionsEqual:Nse,areMapsEqual:n?D2(SP,Dc):SP,areNumbersEqual:Dse,areObjectsEqual:n?Dc:Bse,arePrimitiveWrappersEqual:Fse,areRegExpsEqual:zse,areSetsEqual:n?D2(PP,Dc):PP,areTypedArraysEqual:n?D2(i1,Dc):i1,areUrlsEqual:Hse,unknownTagComparators:void 0};if(t&&(r=Object.assign({},r,t(r))),e){const o=o1(r.areArraysEqual),i=o1(r.areMapsEqual),a=o1(r.areObjectsEqual),s=o1(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:o,areMapsEqual:i,areObjectsEqual:a,areSetsEqual:s})}return r}function ale(e){return function(t,n,r,o,i,a,s){return e(t,n,s)}}function sle({circular:e,comparator:t,createState:n,equals:r,strict:o}){if(n)return function(s,l){const{cache:u=e?new WeakMap:void 0,meta:c}=n();return t(s,l,{cache:u,equals:r,meta:c,strict:o})};if(e)return function(s,l){return t(s,l,{cache:new WeakMap,equals:r,meta:void 0,strict:o})};const i={cache:void 0,equals:r,meta:void 0,strict:o};return function(s,l){return t(s,l,i)}}const lle=ci();ci({strict:!0}),ci({circular:!0}),ci({circular:!0,strict:!0}),ci({createInternalComparator:()=>aa}),ci({strict:!0,createInternalComparator:()=>aa}),ci({circular:!0,createInternalComparator:()=>aa}),ci({circular:!0,createInternalComparator:()=>aa,strict:!0});function ci(e={}){const{circular:t=!1,createInternalComparator:n,createState:r,strict:o=!1}=e,i=ile(e),a=ole(i),s=n?n(a):ale(a);return sle({circular:t,comparator:a,createState:r,equals:s,strict:o})}function ule(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}function _P(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=-1,r=function o(i){n<0&&(n=i),i-n>t?(e(i),n=-1):ule(o)};requestAnimationFrame(r)}function B2(e){"@babel/helpers - typeof";return B2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},B2(e)}function cle(e){return hle(e)||ple(e)||dle(e)||fle()}function fle(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dle(e,t){if(e){if(typeof e=="string")return $P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $P(e,t)}}function $P(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?1:m<0?0:m},h=function(m){for(var g=m>1?1:m,y=g,w=0;w<8;++w){var x=f(y)-g,C=p(y);if(Math.abs(x-g)0&&arguments[0]!==void 0?arguments[0]:{},n=t.stiff,r=n===void 0?100:n,o=t.damping,i=o===void 0?8:o,a=t.dt,s=a===void 0?17:a,l=function(c,f,d){var p=-(c-f)*r,v=d*i,h=d+(p-v)*s/1e3,b=d*s/1e3+c;return Math.abs(b-f)e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ule(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function V2(e){return Xle(e)||qle(e)||Kle(e)||Gle()}function Gle(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Kle(e,t){if(e){if(typeof e=="string")return U2(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return U2(e,t)}}function qle(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Xle(e){if(Array.isArray(e))return U2(e)}function U2(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function l1(e){return l1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},l1(e)}var $r=function(e){eue(n,e);var t=tue(n);function n(r,o){var i;Zle(this,n),i=t.call(this,r,o);var a=i.props,s=a.isActive,l=a.attributeName,u=a.from,c=a.to,f=a.steps,d=a.children,p=a.duration;if(i.handleStyleChange=i.handleStyleChange.bind(q2(i)),i.changeStyle=i.changeStyle.bind(q2(i)),!s||p<=0)return i.state={style:{}},typeof d=="function"&&(i.state={style:c}),K2(i);if(f&&f.length)i.state={style:f[0].style};else if(u){if(typeof d=="function")return i.state={style:u},K2(i);i.state={style:l?Hc({},l,u):u}}else i.state={style:{}};return i}return Qle(n,[{key:"componentDidMount",value:function(){var o=this.props,i=o.isActive,a=o.canBegin;this.mounted=!0,!(!i||!a)&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(o){var i=this.props,a=i.isActive,s=i.canBegin,l=i.attributeName,u=i.shouldReAnimate,c=i.to,f=i.from,d=this.state.style;if(s){if(!a){var p={style:l?Hc({},l,c):c};this.state&&d&&(l&&d[l]!==c||!l&&d!==c)&&this.setState(p);return}if(!(lle(o.to,c)&&o.canBegin&&o.isActive)){var v=!o.canBegin||!o.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var h=v||u?f:o.to;if(this.state&&d){var b={style:l?Hc({},l,h):h};(l&&d[l]!==h||!l&&d!==h)&&this.setState(b)}this.runAnimation(_r(_r({},this.props),{},{from:h,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var o=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),o&&o()}},{key:"handleStyleChange",value:function(o){this.changeStyle(o)}},{key:"changeStyle",value:function(o){this.mounted&&this.setState({style:o})}},{key:"runJSAnimation",value:function(o){var i=this,a=o.from,s=o.to,l=o.duration,u=o.easing,c=o.begin,f=o.onAnimationEnd,d=o.onAnimationStart,p=Hle(a,s,Tle(u),l,this.changeStyle),v=function(){i.stopJSAnimation=p()};this.manager.start([d,c,v,l,f])}},{key:"runStepAnimation",value:function(o){var i=this,a=o.steps,s=o.begin,l=o.onAnimationStart,u=a[0],c=u.style,f=u.duration,d=f===void 0?0:f,p=function(h,b,m){if(m===0)return h;var g=b.duration,y=b.easing,w=y===void 0?"ease":y,x=b.style,C=b.properties,S=b.onAnimationEnd,_=m>0?a[m-1]:b,A=C||Object.keys(x);if(typeof w=="function"||w==="spring")return[].concat(V2(h),[i.runJSAnimation.bind(i,{from:_.style,to:x,duration:g,easing:w}),g]);var k=TP(A,g,w),T=_r(_r(_r({},_.style),x),{},{transition:k});return[].concat(V2(h),[T,g,S]).filter(ble)};return this.manager.start([l].concat(V2(a.reduce(p,[c,Math.max(d,s)])),[o.onAnimationEnd]))}},{key:"runAnimation",value:function(o){this.manager||(this.manager=mle());var i=o.begin,a=o.duration,s=o.attributeName,l=o.to,u=o.easing,c=o.onAnimationStart,f=o.onAnimationEnd,d=o.steps,p=o.children,v=this.manager;if(this.unSubscribe=v.subscribe(this.handleStyleChange),typeof u=="function"||typeof p=="function"||u==="spring"){this.runJSAnimation(o);return}if(d.length>1){this.runStepAnimation(o);return}var h=s?Hc({},s,l):l,b=TP(Object.keys(h),a,u);v.start([c,i,_r(_r({},h),{},{transition:b}),a,f])}},{key:"render",value:function(){var o=this.props,i=o.children,a=o.duration,s=o.isActive,l=Vle(o,Wle),u=O.Children.count(i),c=this.state.style;if(typeof i=="function")return i(c);if(!s||u===0||a<=0)return i;var f=function(p){var v=p.props,h=v.style,b=h===void 0?{}:h,m=v.className,g=O.cloneElement(p,_r(_r({},l),{},{style:_r(_r({},b),c),className:m}));return g};return u===1?f(O.Children.only(i)):I.createElement("div",null,O.Children.map(i,function(d){return f(d)}))}}]),n}(O.PureComponent);$r.displayName="Animate",$r.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},$r.propTypes={from:He.oneOfType([He.object,He.string]),to:He.oneOfType([He.object,He.string]),attributeName:He.string,duration:He.number,begin:He.number,easing:He.oneOfType([He.string,He.func]),steps:He.arrayOf(He.shape({duration:He.number.isRequired,style:He.object.isRequired,easing:He.oneOfType([He.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),He.func]),properties:He.arrayOf("string"),onAnimationEnd:He.func})),children:He.oneOfType([He.node,He.func]),isActive:He.bool,canBegin:He.bool,onAnimationEnd:He.func,shouldReAnimate:He.bool,onAnimationStart:He.func,onAnimationReStart:He.func};function Wc(e){"@babel/helpers - typeof";return Wc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wc(e)}function u1(){return u1=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0?1:-1,l=r>=0?1:-1,u=o>=0&&r>=0||o<0&&r<0?1:0,c;if(a>0&&i instanceof Array){for(var f=[0,0,0,0],d=0,p=4;da?a:i[d];c="M".concat(t,",").concat(n+s*f[0]),f[0]>0&&(c+="A ".concat(f[0],",").concat(f[0],",0,0,").concat(u,",").concat(t+l*f[0],",").concat(n)),c+="L ".concat(t+r-l*f[1],",").concat(n),f[1]>0&&(c+="A ".concat(f[1],",").concat(f[1],",0,0,").concat(u,`, `).concat(t+r,",").concat(n+s*f[1])),c+="L ".concat(t+r,",").concat(n+o-s*f[2]),f[2]>0&&(c+="A ".concat(f[2],",").concat(f[2],",0,0,").concat(u,`, `).concat(t+r-l*f[2],",").concat(n+o)),c+="L ".concat(t+l*f[3],",").concat(n+o),f[3]>0&&(c+="A ".concat(f[3],",").concat(f[3],",0,0,").concat(u,`, `).concat(t,",").concat(n+o-s*f[3])),c+="Z"}else if(a>0&&i===+i&&i>0){var v=Math.min(a,i);c="M ".concat(t,",").concat(n+s*v,` A `).concat(v,",").concat(v,",0,0,").concat(u,",").concat(t+l*v,",").concat(n,` L `).concat(t+r-l*v,",").concat(n,` A `).concat(v,",").concat(v,",0,0,").concat(u,",").concat(t+r,",").concat(n+s*v,` L `).concat(t+r,",").concat(n+o-s*v,` A `).concat(v,",").concat(v,",0,0,").concat(u,",").concat(t+r-l*v,",").concat(n+o,` L `).concat(t+l*v,",").concat(n+o,` A `).concat(v,",").concat(v,",0,0,").concat(u,",").concat(t,",").concat(n+o-s*v," Z")}else c="M ".concat(t,",").concat(n," h ").concat(r," v ").concat(o," h ").concat(-r," Z");return c},fue=function(t,n){if(!t||!n)return!1;var r=t.x,o=t.y,i=n.x,a=n.y,s=n.width,l=n.height;if(Math.abs(s)>0&&Math.abs(l)>0){var u=Math.min(i,i+s),c=Math.max(i,i+s),f=Math.min(a,a+l),d=Math.max(a,a+l);return r>=u&&r<=c&&o>=f&&o<=d}return!1},due={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},X2=function(t){var n=VP(VP({},due),t),r=O.useRef(),o=O.useState(-1),i=rue(o,2),a=i[0],s=i[1];O.useEffect(function(){if(r.current&&r.current.getTotalLength)try{var w=r.current.getTotalLength();w&&s(w)}catch{}},[]);var l=n.x,u=n.y,c=n.width,f=n.height,d=n.radius,p=n.className,v=n.animationEasing,h=n.animationDuration,b=n.animationBegin,m=n.isAnimationActive,g=n.isUpdateAnimationActive;if(l!==+l||u!==+u||c!==+c||f!==+f||c===0||f===0)return null;var y=q("recharts-rectangle",p);return g?I.createElement($r,{canBegin:a>0,from:{width:c,height:f,x:l,y:u},to:{width:c,height:f,x:l,y:u},duration:h,animationEasing:v,isActive:g},function(w){var x=w.width,C=w.height,S=w.x,_=w.y;return I.createElement($r,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:h,isActive:m,easing:v},I.createElement("path",u1({},Ce(n,!0),{className:y,d:UP(S,_,x,C,d),ref:r})))}):I.createElement("path",u1({},Ce(n,!0),{className:y,d:UP(l,u,c,f,d)}))};function Z2(){return Z2=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function bue(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var xue=function(t,n,r,o,i,a){return"M".concat(t,",").concat(i,"v").concat(o,"M").concat(a,",").concat(n,"h").concat(r)},wue=function(t){var n=t.x,r=n===void 0?0:n,o=t.y,i=o===void 0?0:o,a=t.top,s=a===void 0?0:a,l=t.left,u=l===void 0?0:l,c=t.width,f=c===void 0?0:c,d=t.height,p=d===void 0?0:d,v=t.className,h=gue(t,pue),b=hue({x:r,y:i,top:s,left:u,width:f,height:p},h);return!ne(r)||!ne(i)||!ne(f)||!ne(p)||!ne(s)||!ne(u)?null:I.createElement("path",Y2({},Ce(b,!0),{className:q("recharts-cross",v),d:xue(r,i,f,p,s,u)}))},Cue=D8,Sue=Cue(Object.getPrototypeOf,Object),Pue=Sue,Oue=mo,_ue=Pue,$ue=vo,Aue="[object Object]",Eue=Function.prototype,kue=Object.prototype,KP=Eue.toString,Tue=kue.hasOwnProperty,Mue=KP.call(Object);function jue(e){if(!$ue(e)||Oue(e)!=Aue)return!1;var t=_ue(e);if(t===null)return!0;var n=Tue.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&KP.call(n)==Mue}var Rue=jue;const Lue=qe(Rue);var Iue=mo,Nue=vo,Due="[object Boolean]";function Bue(e){return e===!0||e===!1||Nue(e)&&Iue(e)==Due}var Fue=Bue;const zue=qe(Fue);function Uc(e){"@babel/helpers - typeof";return Uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Uc(e)}function f1(){return f1=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0,from:{upperWidth:0,lowerWidth:0,height:d,x:l,y:u},to:{upperWidth:c,lowerWidth:f,height:d,x:l,y:u},duration:h,animationEasing:v,isActive:m},function(y){var w=y.upperWidth,x=y.lowerWidth,C=y.height,S=y.x,_=y.y;return I.createElement($r,{canBegin:a>0,from:"0px ".concat(a===-1?1:a,"px"),to:"".concat(a,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:h,easing:v},I.createElement("path",f1({},Ce(n,!0),{className:g,d:YP(S,_,w,x,C),ref:r})))}):I.createElement("g",null,I.createElement("path",f1({},Ce(n,!0),{className:g,d:YP(l,u,c,f,d)})))},Que=["option","shapeType","propTransformer","activeClassName","isActive"];function Gc(e){"@babel/helpers - typeof";return Gc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gc(e)}function Jue(e,t){if(e==null)return{};var n=ece(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ece(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function QP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function d1(e){for(var t=1;t0&&r.handleDrag(o.changedTouches[0])}),Bn(r,"handleDragEnd",function(){r.setState({isTravellerMoving:!1,isSlideMoving:!1},function(){var o=r.props,i=o.endIndex,a=o.onDragEnd,s=o.startIndex;a==null||a({endIndex:i,startIndex:s})}),r.detachDragEndListener()}),Bn(r,"handleLeaveWrapper",function(){(r.state.isTravellerMoving||r.state.isSlideMoving)&&(r.leaveTimer=window.setTimeout(r.handleDragEnd,r.props.leaveTimeOut))}),Bn(r,"handleEnterSlideOrTraveller",function(){r.setState({isTextActive:!0})}),Bn(r,"handleLeaveSlideOrTraveller",function(){r.setState({isTextActive:!1})}),Bn(r,"handleSlideDragStart",function(o){var i=uO(o)?o.changedTouches[0]:o;r.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:i.pageX}),r.attachDragEndListener()}),r.travellerDragStartHandlers={startX:r.handleTravellerDragStart.bind(r,"startX"),endX:r.handleTravellerDragStart.bind(r,"endX")},r.state={},r}return Nce(t,e),jce(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(r){var o=r.startX,i=r.endX,a=this.state.scaleValues,s=this.props,l=s.gap,u=s.data,c=u.length-1,f=Math.min(o,i),d=Math.max(o,i),p=t.getIndexInRange(a,f),v=t.getIndexInRange(a,d);return{startIndex:p-p%l,endIndex:v===c?c:v-v%l}}},{key:"getTextOfTick",value:function(r){var o=this.props,i=o.data,a=o.tickFormatter,s=o.dataKey,l=Lt(i[r],s,r);return _e(a)?a(l,r):l}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(r){var o=this.state,i=o.slideMoveStartX,a=o.startX,s=o.endX,l=this.props,u=l.x,c=l.width,f=l.travellerWidth,d=l.startIndex,p=l.endIndex,v=l.onChange,h=r.pageX-i;h>0?h=Math.min(h,u+c-f-s,u+c-f-a):h<0&&(h=Math.max(h,u-a,u-s));var b=this.getIndex({startX:a+h,endX:s+h});(b.startIndex!==d||b.endIndex!==p)&&v&&v(b),this.setState({startX:a+h,endX:s+h,slideMoveStartX:r.pageX})}},{key:"handleTravellerDragStart",value:function(r,o){var i=uO(o)?o.changedTouches[0]:o;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:r,brushMoveStartX:i.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(r){var o=this.state,i=o.brushMoveStartX,a=o.movingTravellerId,s=o.endX,l=o.startX,u=this.state[a],c=this.props,f=c.x,d=c.width,p=c.travellerWidth,v=c.onChange,h=c.gap,b=c.data,m={startX:this.state.startX,endX:this.state.endX},g=r.pageX-i;g>0?g=Math.min(g,f+d-p-u):g<0&&(g=Math.max(g,f-u)),m[a]=u+g;var y=this.getIndex(m),w=y.startIndex,x=y.endIndex,C=function(){var _=b.length-1;return a==="startX"&&(s>l?w%h===0:x%h===0)||sl?x%h===0:w%h===0)||s>l&&x===_};this.setState(Bn(Bn({},a,u+g),"brushMoveStartX",r.pageX),function(){v&&C()&&v(y)})}},{key:"handleTravellerMoveKeyboard",value:function(r,o){var i=this,a=this.state,s=a.scaleValues,l=a.startX,u=a.endX,c=this.state[o],f=s.indexOf(c);if(f!==-1){var d=f+r;if(!(d===-1||d>=s.length)){var p=s[d];o==="startX"&&p>=u||o==="endX"&&p<=l||this.setState(Bn({},o,p),function(){i.props.onChange(i.getIndex({startX:i.state.startX,endX:i.state.endX}))})}}}},{key:"renderBackground",value:function(){var r=this.props,o=r.x,i=r.y,a=r.width,s=r.height,l=r.fill,u=r.stroke;return I.createElement("rect",{stroke:u,fill:l,x:o,y:i,width:a,height:s})}},{key:"renderPanorama",value:function(){var r=this.props,o=r.x,i=r.y,a=r.width,s=r.height,l=r.data,u=r.children,c=r.padding,f=O.Children.only(u);return f?I.cloneElement(f,{x:o,y:i,width:a,height:s,margin:c,compact:!0,data:l}):null}},{key:"renderTravellerLayer",value:function(r,o){var i,a,s=this,l=this.props,u=l.y,c=l.travellerWidth,f=l.height,d=l.traveller,p=l.ariaLabel,v=l.data,h=l.startIndex,b=l.endIndex,m=Math.max(r,this.props.x),g=eb(eb({},Ce(this.props,!1)),{},{x:m,y:u,width:c,height:f}),y=p||"Min value: ".concat((i=v[h])===null||i===void 0?void 0:i.name,", Max value: ").concat((a=v[b])===null||a===void 0?void 0:a.name);return I.createElement(ze,{tabIndex:0,role:"slider","aria-label":y,"aria-valuenow":r,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[o],onTouchStart:this.travellerDragStartHandlers[o],onKeyDown:function(x){["ArrowLeft","ArrowRight"].includes(x.key)&&(x.preventDefault(),x.stopPropagation(),s.handleTravellerMoveKeyboard(x.key==="ArrowRight"?1:-1,o))},onFocus:function(){s.setState({isTravellerFocused:!0})},onBlur:function(){s.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(d,g))}},{key:"renderSlide",value:function(r,o){var i=this.props,a=i.y,s=i.height,l=i.stroke,u=i.travellerWidth,c=Math.min(r,o)+u,f=Math.max(Math.abs(o-r)-u,0);return I.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:l,fillOpacity:.2,x:c,y:a,width:f,height:s})}},{key:"renderText",value:function(){var r=this.props,o=r.startIndex,i=r.endIndex,a=r.y,s=r.height,l=r.travellerWidth,u=r.stroke,c=this.state,f=c.startX,d=c.endX,p=5,v={pointerEvents:"none",fill:u};return I.createElement(ze,{className:"recharts-brush-texts"},I.createElement(Eh,v1({textAnchor:"end",verticalAnchor:"middle",x:Math.min(f,d)-p,y:a+s/2},v),this.getTextOfTick(o)),I.createElement(Eh,v1({textAnchor:"start",verticalAnchor:"middle",x:Math.max(f,d)+l+p,y:a+s/2},v),this.getTextOfTick(i)))}},{key:"render",value:function(){var r=this.props,o=r.data,i=r.className,a=r.children,s=r.x,l=r.y,u=r.width,c=r.height,f=r.alwaysShowText,d=this.state,p=d.startX,v=d.endX,h=d.isTextActive,b=d.isSlideMoving,m=d.isTravellerMoving,g=d.isTravellerFocused;if(!o||!o.length||!ne(s)||!ne(l)||!ne(u)||!ne(c)||u<=0||c<=0)return null;var y=q("recharts-brush",i),w=I.Children.count(a)===1,x=Tce("userSelect","none");return I.createElement(ze,{className:y,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:x},this.renderBackground(),w&&this.renderPanorama(),this.renderSlide(p,v),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(v,"endX"),(h||b||m||g||f)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(r){var o=r.x,i=r.y,a=r.width,s=r.height,l=r.stroke,u=Math.floor(i+s/2)-1;return I.createElement(I.Fragment,null,I.createElement("rect",{x:o,y:i,width:a,height:s,fill:l,stroke:"none"}),I.createElement("line",{x1:o+1,y1:u,x2:o+a-1,y2:u,fill:"none",stroke:"#fff"}),I.createElement("line",{x1:o+1,y1:u+2,x2:o+a-1,y2:u+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(r,o){var i;return I.isValidElement(r)?i=I.cloneElement(r,o):_e(r)?i=r(o):i=t.renderDefaultTraveller(o),i}},{key:"getDerivedStateFromProps",value:function(r,o){var i=r.data,a=r.width,s=r.x,l=r.travellerWidth,u=r.updateId,c=r.startIndex,f=r.endIndex;if(i!==o.prevData||u!==o.prevUpdateId)return eb({prevData:i,prevTravellerWidth:l,prevUpdateId:u,prevX:s,prevWidth:a},i&&i.length?Bce({data:i,width:a,x:s,travellerWidth:l,startIndex:c,endIndex:f}):{scale:null,scaleValues:null});if(o.scale&&(a!==o.prevWidth||s!==o.prevX||l!==o.prevTravellerWidth)){o.scale.range([s,s+a-l]);var d=o.scale.domain().map(function(p){return o.scale(p)});return{prevData:i,prevTravellerWidth:l,prevUpdateId:u,prevX:s,prevWidth:a,startX:o.scale(r.startIndex),endX:o.scale(r.endIndex),scaleValues:d}}return null}},{key:"getIndexInRange",value:function(r,o){for(var i=r.length,a=0,s=i-1;s-a>1;){var l=Math.floor((a+s)/2);r[l]>o?s=l:a=l}return o>=r[s]?s:a}}])}(O.PureComponent);Bn(tl,"displayName","Brush"),Bn(tl,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var Fce=Og;function zce(e,t){var n;return Fce(e,function(r,o,i){return n=t(r,o,i),!n}),!!n}var Hce=zce,Wce=S8,Vce=ti,Uce=Hce,Gce=Sn,Kce=Ch;function qce(e,t,n){var r=Gce(e)?Wce:Uce;return n&&Kce(e,t,n)&&(t=void 0),r(e,Vce(t))}var Xce=qce;const Zce=qe(Xce);var Yr=function(t,n){var r=t.alwaysShow,o=t.ifOverflow;return r&&(o="extendDomain"),o===n},cO=bw;function Yce(e,t,n){t=="__proto__"&&cO?cO(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Qce=Yce,Jce=Qce,efe=mw,tfe=ti;function nfe(e,t){var n={};return t=tfe(t),efe(e,function(r,o,i){Jce(n,o,t(r,o,i))}),n}var rfe=nfe;const ofe=qe(rfe);function ife(e,t){for(var n=-1,r=e==null?0:e.length;++n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Cfe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Sfe(e,t){var n=e.x,r=e.y,o=wfe(e,yfe),i="".concat(n),a=parseInt(i,10),s="".concat(r),l=parseInt(s,10),u="".concat(t.height||o.height),c=parseInt(u,10),f="".concat(t.width||o.width),d=parseInt(f,10);return Zc(Zc(Zc(Zc(Zc({},t),o),a?{x:a}:{}),l?{y:l}:{}),{},{height:c,width:d,name:t.name,radius:t.radius})}function pO(e){return I.createElement(Q2,nb({shapeType:"rectangle",propTransformer:Sfe,activeClassName:"recharts-active-bar"},e))}var Pfe=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return function(r,o){if(typeof t=="number")return t;var i=ne(r)||ZV(r);return i?t(r,o):(i||ra(),n)}},Ofe=["value","background"],hO;function nl(e){"@babel/helpers - typeof";return nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nl(e)}function _fe(e,t){if(e==null)return{};var n=$fe(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function $fe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function g1(){return g1=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&Math.abs(j)0&&Math.abs(L)0&&(R=Math.min((Z||0)-(L[ce-1]||0),R))}),Number.isFinite(R)){var j=R/E,N=h.layout==="vertical"?r.height:r.width;if(h.padding==="gap"&&(S=j*N/2),h.padding==="no-gap"){var D=Ui(t.barCategoryGap,j*N),M=j*N/2;S=M-D-(M-D)/N*D}}}o==="xAxis"?_=[r.left+(y.left||0)+(S||0),r.left+r.width-(y.right||0)-(S||0)]:o==="yAxis"?_=l==="horizontal"?[r.top+r.height-(y.bottom||0),r.top+(y.top||0)]:[r.top+(y.top||0)+(S||0),r.top+r.height-(y.bottom||0)-(S||0)]:_=h.range,x&&(_=[_[1],_[0]]);var B=cae(h,i,d),F=B.scale,K=B.realScaleType;F.domain(m).range(_),fae(F);var H=bae(F,Ar(Ar({},h),{},{realScaleType:K}));o==="xAxis"?(T=b==="top"&&!w||b==="bottom"&&w,A=r.left,k=f[C]-T*h.height):o==="yAxis"&&(T=b==="left"&&!w||b==="right"&&w,A=f[C]-T*h.width,k=r.top);var Y=Ar(Ar(Ar({},h),H),{},{realScaleType:K,x:A,y:k,scale:F,width:o==="xAxis"?r.width:h.width,height:o==="yAxis"?r.height:h.height});return Y.bandSize=Jh(Y,H),!h.hide&&o==="xAxis"?f[C]+=(T?-1:1)*Y.height:h.hide||(f[C]+=(T?-1:1)*Y.width),Ar(Ar({},p),{},x1({},v,Y))},{})},CO=function(t,n){var r=t.x,o=t.y,i=n.x,a=n.y;return{x:Math.min(r,i),y:Math.min(o,a),width:Math.abs(i-r),height:Math.abs(a-o)}},Bfe=function(t){var n=t.x1,r=t.y1,o=t.x2,i=t.y2;return CO({x:n,y:r},{x:o,y:i})},SO=function(){function e(t){Lfe(this,e),this.scale=t}return Ife(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=r.bandAware,i=r.position;if(n!==void 0){if(i)switch(i){case"start":return this.scale(n);case"middle":{var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+a}case"end":{var s=this.bandwidth?this.bandwidth():0;return this.scale(n)+s}default:return this.scale(n)}if(o){var l=this.bandwidth?this.bandwidth()/2:0;return this.scale(n)+l}return this.scale(n)}}},{key:"isInRange",value:function(n){var r=this.range(),o=r[0],i=r[r.length-1];return o<=i?n>=o&&n<=i:n>=i&&n<=o}}],[{key:"create",value:function(n){return new e(n)}}])}();x1(SO,"EPS",1e-4);var ob=function(t){var n=Object.keys(t).reduce(function(r,o){return Ar(Ar({},r),{},x1({},o,SO.create(t[o])))},{});return Ar(Ar({},n),{},{apply:function(o){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=i.bandAware,s=i.position;return ofe(o,function(l,u){return n[u].apply(l,{bandAware:a,position:s})})},isInRange:function(o){return fO(o,function(i,a){return n[a].isInRange(i)})}})};function Ffe(e){return(e%180+180)%180}var zfe=function(t){var n=t.width,r=t.height,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,i=Ffe(o),a=i*Math.PI/180,s=Math.atan(r/n),l=a>s&&a-1?o[i?t[a]:a]:void 0}}var Gfe=Ufe,Kfe=tO;function qfe(e){var t=Kfe(e),n=t%1;return t===t?n?t-n:t:0}var Xfe=qfe,Zfe=rw,Yfe=ti,Qfe=Xfe,Jfe=Math.max;function ede(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var o=n==null?0:Qfe(n);return o<0&&(o=Jfe(r+o,0)),Zfe(e,Yfe(t),o)}var tde=ede,nde=Gfe,rde=tde,ode=nde(rde),ide=ode;const ade=qe(ide);var sde=nV(function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}},function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")}),ib=O.createContext(void 0),ab=O.createContext(void 0),PO=O.createContext(void 0),OO=O.createContext({}),_O=O.createContext(void 0),$O=O.createContext(0),AO=O.createContext(0),EO=function(t){var n=t.state,r=n.xAxisMap,o=n.yAxisMap,i=n.offset,a=t.clipPathId,s=t.children,l=t.width,u=t.height,c=sde(i);return I.createElement(ib.Provider,{value:r},I.createElement(ab.Provider,{value:o},I.createElement(OO.Provider,{value:i},I.createElement(PO.Provider,{value:c},I.createElement(_O.Provider,{value:a},I.createElement($O.Provider,{value:u},I.createElement(AO.Provider,{value:l},s)))))))},lde=function(){return O.useContext(_O)},kO=function(t){var n=O.useContext(ib);n==null&&ra();var r=n[t];return r==null&&ra(),r},ude=function(){var t=O.useContext(ib);return ei(t)},cde=function(){var t=O.useContext(ab),n=ade(t,function(r){return fO(r.domain,Number.isFinite)});return n||ei(t)},TO=function(t){var n=O.useContext(ab);n==null&&ra();var r=n[t];return r==null&&ra(),r},fde=function(){var t=O.useContext(PO);return t},dde=function(){return O.useContext(OO)},sb=function(){return O.useContext(AO)},lb=function(){return O.useContext($O)};function ol(e){"@babel/helpers - typeof";return ol=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ol(e)}function pde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hde(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne*o)return!1;var i=n();return e*(t-e*i/2-r)>=0&&e*(t+e*i/2-o)<=0}function Xde(e,t){return UO(e,t+1)}function Zde(e,t,n,r,o){for(var i=(r||[]).slice(),a=t.start,s=t.end,l=0,u=1,c=a,f=function(){var v=r==null?void 0:r[l];if(v===void 0)return{v:UO(r,u)};var h=l,b,m=function(){return b===void 0&&(b=n(v,h)),b},g=v.coordinate,y=l===0||A1(e,g,m,c,s);y||(l=0,c=a,u+=1),y&&(c=g+e*(m()/2+o),l+=u)},d;u<=i.length;)if(d=f(),d)return d.v;return[]}function Qc(e){"@babel/helpers - typeof";return Qc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qc(e)}function GO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function rn(e){for(var t=1;t0?p.coordinate-b*e:p.coordinate})}else i[d]=p=rn(rn({},p),{},{tickCoord:p.coordinate});var m=A1(e,p.tickCoord,h,s,l);m&&(l=p.tickCoord-e*(h()/2+o),i[d]=rn(rn({},p),{},{isShow:!0}))},c=a-1;c>=0;c--)u(c);return i}function tpe(e,t,n,r,o,i){var a=(r||[]).slice(),s=a.length,l=t.start,u=t.end;if(i){var c=r[s-1],f=n(c,s-1),d=e*(c.coordinate+e*f/2-u);a[s-1]=c=rn(rn({},c),{},{tickCoord:d>0?c.coordinate-d*e:c.coordinate});var p=A1(e,c.tickCoord,function(){return f},l,u);p&&(u=c.tickCoord-e*(f/2+o),a[s-1]=rn(rn({},c),{},{isShow:!0}))}for(var v=i?s-1:s,h=function(g){var y=a[g],w,x=function(){return w===void 0&&(w=n(y,g)),w};if(g===0){var C=e*(y.coordinate-e*x()/2-l);a[g]=y=rn(rn({},y),{},{tickCoord:C<0?y.coordinate-C*e:y.coordinate})}else a[g]=y=rn(rn({},y),{},{tickCoord:y.coordinate});var S=A1(e,y.tickCoord,x,l,u);S&&(l=y.tickCoord+e*(x()/2+o),a[g]=rn(rn({},y),{},{isShow:!0}))},b=0;b=2?Sr(o[1].coordinate-o[0].coordinate):1,m=qde(i,b,p);return l==="equidistantPreserveStart"?Zde(b,m,h,o,a):(l==="preserveStart"||l==="preserveStartEnd"?d=tpe(b,m,h,o,a,l==="preserveStartEnd"):d=epe(b,m,h,o,a),d.filter(function(g){return g.isShow}))}var npe=["viewBox"],rpe=["viewBox"],ope=["ticks"];function sl(e){"@babel/helpers - typeof";return sl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sl(e)}function ll(){return ll=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ipe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ape(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qO(e,t){for(var n=0;n0?l(this.props):l(p)),a<=0||s<=0||!v||!v.length?null:I.createElement(ze,{className:q("recharts-cartesian-axis",u),ref:function(b){r.layerReference=b}},i&&this.renderAxisLine(),this.renderTicks(v,this.state.fontSize,this.state.letterSpacing),nn.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(r,o,i){var a,s=q(o.className,"recharts-cartesian-axis-tick-value");return I.isValidElement(r)?a=I.cloneElement(r,Nt(Nt({},o),{},{className:s})):_e(r)?a=r(Nt(Nt({},o),{},{className:s})):a=I.createElement(Eh,ll({},o,{className:"recharts-cartesian-axis-tick-value"}),i),a}}])}(O.Component);xb(ul,"displayName","CartesianAxis"),xb(ul,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var ppe=["x1","y1","x2","y2","key"],hpe=["offset"];function sa(e){"@babel/helpers - typeof";return sa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sa(e)}function YO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function on(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function gpe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}var bpe=function(t){var n=t.fill;if(!n||n==="none")return null;var r=t.fillOpacity,o=t.x,i=t.y,a=t.width,s=t.height,l=t.ry;return I.createElement("rect",{x:o,y:i,ry:l,width:a,height:s,stroke:"none",fill:n,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function JO(e,t){var n;if(I.isValidElement(e))n=I.cloneElement(e,t);else if(_e(e))n=e(t);else{var r=t.x1,o=t.y1,i=t.x2,a=t.y2,s=t.key,l=QO(t,ppe),u=Ce(l,!1),c=QO(u,hpe);n=I.createElement("line",la({},c,{x1:r,y1:o,x2:i,y2:a,fill:"none",key:s}))}return n}function xpe(e){var t=e.x,n=e.width,r=e.horizontal,o=r===void 0?!0:r,i=e.horizontalPoints;if(!o||!i||!i.length)return null;var a=i.map(function(s,l){var u=on(on({},e),{},{x1:t,y1:s,x2:t+n,y2:s,key:"line-".concat(l),index:l});return JO(o,u)});return I.createElement("g",{className:"recharts-cartesian-grid-horizontal"},a)}function wpe(e){var t=e.y,n=e.height,r=e.vertical,o=r===void 0?!0:r,i=e.verticalPoints;if(!o||!i||!i.length)return null;var a=i.map(function(s,l){var u=on(on({},e),{},{x1:s,y1:t,x2:s,y2:t+n,key:"line-".concat(l),index:l});return JO(o,u)});return I.createElement("g",{className:"recharts-cartesian-grid-vertical"},a)}function Cpe(e){var t=e.horizontalFill,n=e.fillOpacity,r=e.x,o=e.y,i=e.width,a=e.height,s=e.horizontalPoints,l=e.horizontal,u=l===void 0?!0:l;if(!u||!t||!t.length)return null;var c=s.map(function(d){return Math.round(d+o-o)}).sort(function(d,p){return d-p});o!==c[0]&&c.unshift(0);var f=c.map(function(d,p){var v=!c[p+1],h=v?o+a-d:c[p+1]-d;if(h<=0)return null;var b=p%t.length;return I.createElement("rect",{key:"react-".concat(p),y:d,x:r,height:h,width:i,stroke:"none",fill:t[b],fillOpacity:n,className:"recharts-cartesian-grid-bg"})});return I.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},f)}function Spe(e){var t=e.vertical,n=t===void 0?!0:t,r=e.verticalFill,o=e.fillOpacity,i=e.x,a=e.y,s=e.width,l=e.height,u=e.verticalPoints;if(!n||!r||!r.length)return null;var c=u.map(function(d){return Math.round(d+i-i)}).sort(function(d,p){return d-p});i!==c[0]&&c.unshift(0);var f=c.map(function(d,p){var v=!c[p+1],h=v?i+s-d:c[p+1]-d;if(h<=0)return null;var b=p%r.length;return I.createElement("rect",{key:"react-".concat(p),x:d,y:a,width:h,height:l,stroke:"none",fill:r[b],fillOpacity:o,className:"recharts-cartesian-grid-bg"})});return I.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var Ppe=function(t,n){var r=t.xAxis,o=t.width,i=t.height,a=t.offset;return YS(yb(on(on(on({},ul.defaultProps),r),{},{ticks:Oo(r,!0),viewBox:{x:0,y:0,width:o,height:i}})),a.left,a.left+a.width,n)},Ope=function(t,n){var r=t.yAxis,o=t.width,i=t.height,a=t.offset;return YS(yb(on(on(on({},ul.defaultProps),r),{},{ticks:Oo(r,!0),viewBox:{x:0,y:0,width:o,height:i}})),a.top,a.top+a.height,n)},cl={horizontal:!0,vertical:!0,stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function e_(e){var t,n,r,o,i,a,s=sb(),l=lb(),u=dde(),c=on(on({},e),{},{stroke:(t=e.stroke)!==null&&t!==void 0?t:cl.stroke,fill:(n=e.fill)!==null&&n!==void 0?n:cl.fill,horizontal:(r=e.horizontal)!==null&&r!==void 0?r:cl.horizontal,horizontalFill:(o=e.horizontalFill)!==null&&o!==void 0?o:cl.horizontalFill,vertical:(i=e.vertical)!==null&&i!==void 0?i:cl.vertical,verticalFill:(a=e.verticalFill)!==null&&a!==void 0?a:cl.verticalFill,x:ne(e.x)?e.x:u.left,y:ne(e.y)?e.y:u.top,width:ne(e.width)?e.width:u.width,height:ne(e.height)?e.height:u.height}),f=c.x,d=c.y,p=c.width,v=c.height,h=c.syncWithTicks,b=c.horizontalValues,m=c.verticalValues,g=ude(),y=cde();if(!ne(p)||p<=0||!ne(v)||v<=0||!ne(f)||f!==+f||!ne(d)||d!==+d)return null;var w=c.verticalCoordinatesGenerator||Ppe,x=c.horizontalCoordinatesGenerator||Ope,C=c.horizontalPoints,S=c.verticalPoints;if((!C||!C.length)&&_e(x)){var _=b&&b.length,A=x({yAxis:y?on(on({},y),{},{ticks:_?b:y.ticks}):void 0,width:s,height:l,offset:u},_?!0:h);go(Array.isArray(A),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(sa(A),"]")),Array.isArray(A)&&(C=A)}if((!S||!S.length)&&_e(w)){var k=m&&m.length,T=w({xAxis:g?on(on({},g),{},{ticks:k?m:g.ticks}):void 0,width:s,height:l,offset:u},k?!0:h);go(Array.isArray(T),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(sa(T),"]")),Array.isArray(T)&&(S=T)}return I.createElement("g",{className:"recharts-cartesian-grid"},I.createElement(bpe,{fill:c.fill,fillOpacity:c.fillOpacity,x:c.x,y:c.y,width:c.width,height:c.height,ry:c.ry}),I.createElement(xpe,la({},c,{offset:u,horizontalPoints:C,xAxis:g,yAxis:y})),I.createElement(wpe,la({},c,{offset:u,verticalPoints:S,xAxis:g,yAxis:y})),I.createElement(Cpe,la({},c,{horizontalPoints:C})),I.createElement(Spe,la({},c,{verticalPoints:S})))}e_.displayName="CartesianGrid";var _pe=["type","layout","connectNulls","ref"],$pe=["key"];function fl(e){"@babel/helpers - typeof";return fl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fl(e)}function t_(e,t){if(e==null)return{};var n=Ape(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ape(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Jc(){return Jc=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);nf){p=[].concat(dl(l.slice(0,v)),[f-h]);break}var b=p.length%2===0?[0,d]:[d];return[].concat(dl(t.repeat(l,c)),dl(p),b).map(function(m){return"".concat(m,"px")}).join(", ")}),Er(n,"id",Vi("recharts-line-")),Er(n,"pathRef",function(a){n.mainCurve=a}),Er(n,"handleAnimationEnd",function(){n.setState({isAnimationFinished:!0}),n.props.onAnimationEnd&&n.props.onAnimationEnd()}),Er(n,"handleAnimationStart",function(){n.setState({isAnimationFinished:!1}),n.props.onAnimationStart&&n.props.onAnimationStart()}),n}return Dpe(t,e),Rpe(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();this.setState({totalLength:r})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var r=this.getTotalLength();r!==this.state.totalLength&&this.setState({totalLength:r})}}},{key:"getTotalLength",value:function(){var r=this.mainCurve;try{return r&&r.getTotalLength&&r.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(r,o){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,a=i.points,s=i.xAxis,l=i.yAxis,u=i.layout,c=i.children,f=Pn(c,Zs);if(!f)return null;var d=function(h,b){return{x:h.x,y:h.y,value:h.value,errorVal:Lt(h.payload,b)}},p={clipPath:r?"url(#clipPath-".concat(o,")"):null};return I.createElement(ze,p,f.map(function(v){return I.cloneElement(v,{key:"bar-".concat(v.props.dataKey),data:a,xAxis:s,yAxis:l,layout:u,dataPointFormatter:d})}))}},{key:"renderDots",value:function(r,o,i){var a=this.props.isAnimationActive;if(a&&!this.state.isAnimationFinished)return null;var s=this.props,l=s.dot,u=s.points,c=s.dataKey,f=Ce(this.props,!1),d=Ce(l,!0),p=u.map(function(h,b){var m=Fn(Fn(Fn({key:"dot-".concat(b),r:3},f),d),{},{index:b,cx:h.x,cy:h.y,value:h.value,dataKey:c,payload:h.payload,points:u});return t.renderDotItem(l,m)}),v={clipPath:r?"url(#clipPath-".concat(o?"":"dots-").concat(i,")"):null};return I.createElement(ze,Jc({className:"recharts-line-dots",key:"dots"},v),p)}},{key:"renderCurveStatically",value:function(r,o,i,a){var s=this.props,l=s.type,u=s.layout,c=s.connectNulls,f=t_(s,_pe),d=Fn(Fn(Fn({},Ce(f,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:o?"url(#clipPath-".concat(i,")"):null,points:r},a),{},{type:l,layout:u,connectNulls:c});return I.createElement(ia,Jc({},d,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(r,o){var i=this,a=this.props,s=a.points,l=a.strokeDasharray,u=a.isAnimationActive,c=a.animationBegin,f=a.animationDuration,d=a.animationEasing,p=a.animationId,v=a.animateNewValues,h=a.width,b=a.height,m=this.state,g=m.prevPoints,y=m.totalLength;return I.createElement($r,{begin:c,duration:f,isActive:u,easing:d,from:{t:0},to:{t:1},key:"line-".concat(p),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(w){var x=w.t;if(g){var C=g.length/s.length,S=s.map(function(E,R){var L=Math.floor(R*C);if(g[L]){var j=g[L],N=Ct(j.x,E.x),D=Ct(j.y,E.y);return Fn(Fn({},E),{},{x:N(x),y:D(x)})}if(v){var M=Ct(h*2,E.x),B=Ct(b/2,E.y);return Fn(Fn({},E),{},{x:M(x),y:B(x)})}return Fn(Fn({},E),{},{x:E.x,y:E.y})});return i.renderCurveStatically(S,r,o)}var _=Ct(0,y),A=_(x),k;if(l){var T="".concat(l).split(/[,\s]+/gim).map(function(E){return parseFloat(E)});k=i.getStrokeDasharray(A,y,T)}else k=i.generateSimpleStrokeDasharray(y,A);return i.renderCurveStatically(s,r,o,{strokeDasharray:k})})}},{key:"renderCurve",value:function(r,o){var i=this.props,a=i.points,s=i.isAnimationActive,l=this.state,u=l.prevPoints,c=l.totalLength;return s&&a&&a.length&&(!u&&c>0||!Ji(u,a))?this.renderCurveWithAnimation(r,o):this.renderCurveStatically(a,r,o)}},{key:"render",value:function(){var r,o=this.props,i=o.hide,a=o.dot,s=o.points,l=o.className,u=o.xAxis,c=o.yAxis,f=o.top,d=o.left,p=o.width,v=o.height,h=o.isAnimationActive,b=o.id;if(i||!s||!s.length)return null;var m=this.state.isAnimationFinished,g=s.length===1,y=q("recharts-line",l),w=u&&u.allowDataOverflow,x=c&&c.allowDataOverflow,C=w||x,S=be(b)?this.id:b,_=(r=Ce(a,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},A=_.r,k=A===void 0?3:A,T=_.strokeWidth,E=T===void 0?2:T,R=B7(a)?a:{},L=R.clipDot,j=L===void 0?!0:L,N=k*2+E;return I.createElement(ze,{className:y},w||x?I.createElement("defs",null,I.createElement("clipPath",{id:"clipPath-".concat(S)},I.createElement("rect",{x:w?d:d-p/2,y:x?f:f-v/2,width:w?p:p*2,height:x?v:v*2})),!j&&I.createElement("clipPath",{id:"clipPath-dots-".concat(S)},I.createElement("rect",{x:d-N/2,y:f-N/2,width:p+N,height:v+N}))):null,!g&&this.renderCurve(C,S),this.renderErrorBar(C,S),(g||a)&&this.renderDots(C,j,S),(!h||m)&&Zr.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,o){return r.animationId!==o.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,prevPoints:o.curPoints}:r.points!==o.curPoints?{curPoints:r.points}:null}},{key:"repeat",value:function(r,o){for(var i=r.length%2!==0?[].concat(dl(r),[0]):r,a=[],s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Hpe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function ca(){return ca=Object.assign?Object.assign.bind():function(e){for(var t=1;t0||!Ji(c,a)||!Ji(f,s))?this.renderAreaWithAnimation(r,o):this.renderAreaStatically(a,s,r,o)}},{key:"render",value:function(){var r,o=this.props,i=o.hide,a=o.dot,s=o.points,l=o.className,u=o.top,c=o.left,f=o.xAxis,d=o.yAxis,p=o.width,v=o.height,h=o.isAnimationActive,b=o.id;if(i||!s||!s.length)return null;var m=this.state.isAnimationFinished,g=s.length===1,y=q("recharts-area",l),w=f&&f.allowDataOverflow,x=d&&d.allowDataOverflow,C=w||x,S=be(b)?this.id:b,_=(r=Ce(a,!1))!==null&&r!==void 0?r:{r:3,strokeWidth:2},A=_.r,k=A===void 0?3:A,T=_.strokeWidth,E=T===void 0?2:T,R=B7(a)?a:{},L=R.clipDot,j=L===void 0?!0:L,N=k*2+E;return I.createElement(ze,{className:y},w||x?I.createElement("defs",null,I.createElement("clipPath",{id:"clipPath-".concat(S)},I.createElement("rect",{x:w?c:c-p/2,y:x?u:u-v/2,width:w?p:p*2,height:x?v:v*2})),!j&&I.createElement("clipPath",{id:"clipPath-dots-".concat(S)},I.createElement("rect",{x:c-N/2,y:u-N/2,width:p+N,height:v+N}))):null,g?null:this.renderArea(C,S),(a||g)&&this.renderDots(C,j,S),(!h||m)&&Zr.renderCallByParent(this.props,s))}}],[{key:"getDerivedStateFromProps",value:function(r,o){return r.animationId!==o.prevAnimationId?{prevAnimationId:r.animationId,curPoints:r.points,curBaseLine:r.baseLine,prevPoints:o.curPoints,prevBaseLine:o.curBaseLine}:r.points!==o.curPoints||r.baseLine!==o.curBaseLine?{curPoints:r.points,curBaseLine:r.baseLine}:null}}])}(O.PureComponent);a_=kr,Qr(kr,"displayName","Area"),Qr(kr,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!ni.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),Qr(kr,"getBaseValue",function(e,t,n,r){var o=e.layout,i=e.baseValue,a=t.props.baseValue,s=a??i;if(ne(s)&&typeof s=="number")return s;var l=o==="horizontal"?r:n,u=l.scale.domain();if(l.type==="number"){var c=Math.max(u[0],u[1]),f=Math.min(u[0],u[1]);return s==="dataMin"?f:s==="dataMax"||c<0?c:Math.max(Math.min(u[0],u[1]),0)}return s==="dataMin"?u[0]:s==="dataMax"?u[1]:u[0]}),Qr(kr,"getComposedData",function(e){var t=e.props,n=e.item,r=e.xAxis,o=e.yAxis,i=e.xAxisTicks,a=e.yAxisTicks,s=e.bandSize,l=e.dataKey,u=e.stackedData,c=e.dataStartIndex,f=e.displayedData,d=e.offset,p=t.layout,v=u&&u.length,h=a_.getBaseValue(t,n,r,o),b=p==="horizontal",m=!1,g=f.map(function(w,x){var C;v?C=u[c+x]:(C=Lt(w,l),Array.isArray(C)?m=!0:C=[h,C]);var S=C[1]==null||v&&Lt(w,l)==null;return b?{x:Qs({axis:r,ticks:i,bandSize:s,entry:w,index:x}),y:S?null:o.scale(C[1]),value:C,payload:w}:{x:S?null:r.scale(C[1]),y:Qs({axis:o,ticks:a,bandSize:s,entry:w,index:x}),value:C,payload:w}}),y;return v||m?y=g.map(function(w){var x=Array.isArray(w.value)?w.value[0]:null;return b?{x:w.x,y:x!=null&&w.y!=null?o.scale(x):null}:{x:x!=null?r.scale(x):null,y:w.y}}):y=b?o.scale(h):r.scale(h),di({points:g,baseLine:y,layout:p,isRange:m},d)}),Qr(kr,"renderDotItem",function(e,t){var n;if(I.isValidElement(e))n=I.cloneElement(e,t);else if(_e(e))n=e(t);else{var r=q("recharts-area-dot",typeof e!="boolean"?e.className:""),o=t.key,i=s_(t,zpe);n=I.createElement(c1,ca({},i,{key:o,className:r}))}return n});function hl(e){"@babel/helpers - typeof";return hl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hl(e)}function Zpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ype(e,t){for(var n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function ahe(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function she(e){var t=e.option,n=e.isActive,r=ihe(e,ohe);return typeof t=="string"?O.createElement(Q2,ef({option:O.createElement(mh,ef({type:t},r)),isActive:n,shapeType:"symbols"},r)):O.createElement(Q2,ef({option:t,isActive:n,shapeType:"symbols"},r))}function ml(e){"@babel/helpers - typeof";return ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ml(e)}function tf(){return tf=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function n1e(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function r1e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o1e(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?a:t&&t.length&&ne(o)&&ne(i)?t.slice(o,i+1):[]};function N_(e){return e==="number"?[0,"auto"]:void 0}var Nb=function(t,n,r,o){var i=t.graphicalItems,a=t.tooltipAxis,s=W1(n,t);return r<0||!i||!i.length||r>=s.length?null:i.reduce(function(l,u){var c,f=(c=u.props.data)!==null&&c!==void 0?c:n;f&&t.dataStartIndex+t.dataEndIndex!==0&&t.dataEndIndex-t.dataStartIndex>=r&&(f=f.slice(t.dataStartIndex,t.dataEndIndex+1));var d;if(a.dataKey&&!a.allowDuplicatedCategory){var p=f===void 0?s:f;d=nh(p,a.dataKey,o)}else d=f&&f[r]||s[r];return d?[].concat(xl(l),[oP(u,d)]):l},[])},D_=function(t,n,r,o){var i=o||{x:t.chartX,y:t.chartY},a=v1e(i,r),s=t.orderedTooltipTicks,l=t.tooltipAxis,u=t.tooltipTicks,c=oae(a,s,u,l);if(c>=0&&u){var f=u[c]&&u[c].value,d=Nb(t,n,c,f),p=y1e(r,s,c,i);return{activeTooltipIndex:c,activeLabel:f,activePayload:d,activeCoordinate:p}}return null},g1e=function(t,n){var r=n.axes,o=n.graphicalItems,i=n.axisType,a=n.axisIdKey,s=n.stackGroups,l=n.dataStartIndex,u=n.dataEndIndex,c=t.layout,f=t.children,d=t.stackOffset,p=ZS(c,i);return r.reduce(function(v,h){var b,m=h.type.defaultProps!==void 0?W(W({},h.type.defaultProps),h.props):h.props,g=m.type,y=m.dataKey,w=m.allowDataOverflow,x=m.allowDuplicatedCategory,C=m.scale,S=m.ticks,_=m.includeHidden,A=m[a];if(v[A])return v;var k=W1(t.data,{graphicalItems:o.filter(function(H){var Y,Z=a in H.props?H.props[a]:(Y=H.type.defaultProps)===null||Y===void 0?void 0:Y[a];return Z===A}),dataStartIndex:l,dataEndIndex:u}),T=k.length,E,R,L;Vhe(m.domain,w,g)&&(E=j2(m.domain,null,w),p&&(g==="number"||C!=="auto")&&(L=Ec(k,y,"category")));var j=N_(g);if(!E||E.length===0){var N,D=(N=m.domain)!==null&&N!==void 0?N:j;if(y){if(E=Ec(k,y,g),g==="category"&&p){var M=QV(E);x&&M?(R=E,E=m1(0,T)):x||(E=rP(D,E,h).reduce(function(H,Y){return H.indexOf(Y)>=0?H:[].concat(xl(H),[Y])},[]))}else if(g==="category")x?E=E.filter(function(H){return H!==""&&!be(H)}):E=rP(D,E,h).reduce(function(H,Y){return H.indexOf(Y)>=0||Y===""||be(Y)?H:[].concat(xl(H),[Y])},[]);else if(g==="number"){var B=uae(k,o.filter(function(H){var Y,Z,ce=a in H.props?H.props[a]:(Y=H.type.defaultProps)===null||Y===void 0?void 0:Y[a],Q="hide"in H.props?H.props.hide:(Z=H.type.defaultProps)===null||Z===void 0?void 0:Z.hide;return ce===A&&(_||!Q)}),y,i,c);B&&(E=B)}p&&(g==="number"||C!=="auto")&&(L=Ec(k,y,"category"))}else p?E=m1(0,T):s&&s[A]&&s[A].hasStack&&g==="number"?E=d==="expand"?[0,1]:eP(s[A].stackGroups,l,u):E=XS(k,o.filter(function(H){var Y=a in H.props?H.props[a]:H.type.defaultProps[a],Z="hide"in H.props?H.props.hide:H.type.defaultProps.hide;return Y===A&&(_||!Z)}),g,c,!0);if(g==="number")E=Tb(f,E,A,i,S),D&&(E=j2(D,E,w));else if(g==="category"&&D){var F=D,K=E.every(function(H){return F.indexOf(H)>=0});K&&(E=F)}}return W(W({},v),{},me({},A,W(W({},m),{},{axisType:i,domain:E,categoricalDomain:L,duplicateDomain:R,originalDomain:(b=m.domain)!==null&&b!==void 0?b:j,isCategorical:p,layout:c})))},{})},b1e=function(t,n){var r=n.graphicalItems,o=n.Axis,i=n.axisType,a=n.axisIdKey,s=n.stackGroups,l=n.dataStartIndex,u=n.dataEndIndex,c=t.layout,f=t.children,d=W1(t.data,{graphicalItems:r,dataStartIndex:l,dataEndIndex:u}),p=d.length,v=ZS(c,i),h=-1;return r.reduce(function(b,m){var g=m.type.defaultProps!==void 0?W(W({},m.type.defaultProps),m.props):m.props,y=g[a],w=N_("number");if(!b[y]){h++;var x;return v?x=m1(0,p):s&&s[y]&&s[y].hasStack?(x=eP(s[y].stackGroups,l,u),x=Tb(f,x,y,i)):(x=j2(w,XS(d,r.filter(function(C){var S,_,A=a in C.props?C.props[a]:(S=C.type.defaultProps)===null||S===void 0?void 0:S[a],k="hide"in C.props?C.props.hide:(_=C.type.defaultProps)===null||_===void 0?void 0:_.hide;return A===y&&!k}),"number",c),o.defaultProps.allowDataOverflow),x=Tb(f,x,y,i)),W(W({},b),{},me({},y,W(W({axisType:i},o.defaultProps),{},{hide:!0,orientation:ir(h1e,"".concat(i,".").concat(h%2),null),domain:x,originalDomain:w,isCategorical:v,layout:c})))}return b},{})},x1e=function(t,n){var r=n.axisType,o=r===void 0?"xAxis":r,i=n.AxisComp,a=n.graphicalItems,s=n.stackGroups,l=n.dataStartIndex,u=n.dataEndIndex,c=t.children,f="".concat(o,"Id"),d=Pn(c,i),p={};return d&&d.length?p=g1e(t,{axes:d,graphicalItems:a,axisType:o,axisIdKey:f,stackGroups:s,dataStartIndex:l,dataEndIndex:u}):a&&a.length&&(p=b1e(t,{Axis:i,graphicalItems:a,axisType:o,axisIdKey:f,stackGroups:s,dataStartIndex:l,dataEndIndex:u})),p},w1e=function(t){var n=ei(t),r=Oo(n,!1,!0);return{tooltipTicks:r,orderedTooltipTicks:$g(r,function(o){return o.coordinate}),tooltipAxis:n,tooltipAxisBandSize:Jh(n,r)}},B_=function(t){var n=t.children,r=t.defaultShowTooltip,o=Nn(n,tl),i=0,a=0;return t.data&&t.data.length!==0&&(a=t.data.length-1),o&&o.props&&(o.props.startIndex>=0&&(i=o.props.startIndex),o.props.endIndex>=0&&(a=o.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:i,dataEndIndex:a,activeTooltipIndex:-1,isTooltipActive:!!r}},C1e=function(t){return!t||!t.length?!1:t.some(function(n){var r=yo(n&&n.type);return r&&r.indexOf("Bar")>=0})},F_=function(t){return t==="horizontal"?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:t==="vertical"?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:t==="centric"?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},S1e=function(t,n){var r=t.props,o=t.graphicalItems,i=t.xAxisMap,a=i===void 0?{}:i,s=t.yAxisMap,l=s===void 0?{}:s,u=r.width,c=r.height,f=r.children,d=r.margin||{},p=Nn(f,tl),v=Nn(f,qi),h=Object.keys(l).reduce(function(x,C){var S=l[C],_=S.orientation;return!S.mirror&&!S.hide?W(W({},x),{},me({},_,x[_]+S.width)):x},{left:d.left||0,right:d.right||0}),b=Object.keys(a).reduce(function(x,C){var S=a[C],_=S.orientation;return!S.mirror&&!S.hide?W(W({},x),{},me({},_,ir(x,"".concat(_))+S.height)):x},{top:d.top||0,bottom:d.bottom||0}),m=W(W({},b),h),g=m.bottom;p&&(m.bottom+=p.props.height||tl.defaultProps.height),v&&n&&(m=sae(m,o,r,n));var y=u-m.left-m.right,w=c-m.top-m.bottom;return W(W({brushBottom:g},m),{},{width:Math.max(y,0),height:Math.max(w,0)})},P1e=function(t,n){if(n==="xAxis")return t[n].width;if(n==="yAxis")return t[n].height},O1e=function(t){var n=t.chartName,r=t.GraphicalChild,o=t.defaultTooltipEventType,i=o===void 0?"axis":o,a=t.validateTooltipEventTypes,s=a===void 0?["axis"]:a,l=t.axisComponents,u=t.legendContent,c=t.formatAxisMap,f=t.defaultProps,d=function(m,g){var y=g.graphicalItems,w=g.stackGroups,x=g.offset,C=g.updateId,S=g.dataStartIndex,_=g.dataEndIndex,A=m.barSize,k=m.layout,T=m.barGap,E=m.barCategoryGap,R=m.maxBarSize,L=F_(k),j=L.numericAxisName,N=L.cateAxisName,D=C1e(y),M=[];return y.forEach(function(B,F){var K=W1(m.data,{graphicalItems:[B],dataStartIndex:S,dataEndIndex:_}),H=B.type.defaultProps!==void 0?W(W({},B.type.defaultProps),B.props):B.props,Y=H.dataKey,Z=H.maxBarSize,ce=H["".concat(j,"Id")],Q=H["".concat(N,"Id")],he={},pe=l.reduce(function(xe,Ge){var Ke=g["".concat(Ge.axisType,"Map")],je=H["".concat(Ge.axisType,"Id")];Ke&&Ke[je]||Ge.axisType==="zAxis"||ra();var dt=Ke[je];return W(W({},xe),{},me(me({},Ge.axisType,dt),"".concat(Ge.axisType,"Ticks"),Oo(dt)))},he),U=pe[N],le=pe["".concat(N,"Ticks")],X=w&&w[ce]&&w[ce].hasStack&&wae(B,w[ce].stackGroups),z=yo(B.type).indexOf("Bar")>=0,ie=Jh(U,le),ee=[],oe=D&&iae({barSize:A,stackGroups:w,totalSize:P1e(pe,N)});if(z){var ve,Ee,ke=be(Z)?R:Z,Qe=(ve=(Ee=Jh(U,le,!0))!==null&&Ee!==void 0?Ee:ke)!==null&&ve!==void 0?ve:0;ee=aae({barGap:T,barCategoryGap:E,bandSize:Qe!==ie?Qe:ie,sizeList:oe[Q],maxBarSize:ke}),Qe!==ie&&(ee=ee.map(function(xe){return W(W({},xe),{},{position:W(W({},xe.position),{},{offset:xe.position.offset-Qe/2})})}))}var ye=B&&B.type&&B.type.getComposedData;ye&&M.push({props:W(W({},ye(W(W({},pe),{},{displayedData:K,props:m,dataKey:Y,item:B,bandSize:ie,barPosition:ee,offset:x,stackedData:X,layout:k,dataStartIndex:S,dataEndIndex:_}))),{},me(me(me({key:B.key||"item-".concat(F)},j,pe[j]),N,pe[N]),"animationId",C)),childIndex:fU(B,m.children),item:B})}),M},p=function(m,g){var y=m.props,w=m.dataStartIndex,x=m.dataEndIndex,C=m.updateId;if(!D7({props:y}))return null;var S=y.children,_=y.layout,A=y.stackOffset,k=y.data,T=y.reverseStackOrder,E=F_(_),R=E.numericAxisName,L=E.cateAxisName,j=Pn(S,r),N=gae(k,j,"".concat(R,"Id"),"".concat(L,"Id"),A,T),D=l.reduce(function(H,Y){var Z="".concat(Y.axisType,"Map");return W(W({},H),{},me({},Z,x1e(y,W(W({},Y),{},{graphicalItems:j,stackGroups:Y.axisType===R&&N,dataStartIndex:w,dataEndIndex:x}))))},{}),M=S1e(W(W({},D),{},{props:y,graphicalItems:j}),g==null?void 0:g.legendBBox);Object.keys(D).forEach(function(H){D[H]=c(y,D[H],M,H.replace("Map",""),n)});var B=D["".concat(L,"Map")],F=w1e(B),K=d(y,W(W({},D),{},{dataStartIndex:w,dataEndIndex:x,updateId:C,graphicalItems:j,stackGroups:N,offset:M}));return W(W({formattedGraphicalItems:K,graphicalItems:j,offset:M,stackGroups:N},F),D)},v=function(b){function m(g){var y,w,x;return r1e(this,m),x=a1e(this,m,[g]),me(x,"eventEmitterSymbol",Symbol("rechartsEventEmitter")),me(x,"accessibilityManager",new Whe),me(x,"handleLegendBBoxUpdate",function(C){if(C){var S=x.state,_=S.dataStartIndex,A=S.dataEndIndex,k=S.updateId;x.setState(W({legendBBox:C},p({props:x.props,dataStartIndex:_,dataEndIndex:A,updateId:k},W(W({},x.state),{},{legendBBox:C}))))}}),me(x,"handleReceiveSyncEvent",function(C,S,_){if(x.props.syncId===C){if(_===x.eventEmitterSymbol&&typeof x.props.syncMethod!="function")return;x.applySyncEvent(S)}}),me(x,"handleBrushChange",function(C){var S=C.startIndex,_=C.endIndex;if(S!==x.state.dataStartIndex||_!==x.state.dataEndIndex){var A=x.state.updateId;x.setState(function(){return W({dataStartIndex:S,dataEndIndex:_},p({props:x.props,dataStartIndex:S,dataEndIndex:_,updateId:A},x.state))}),x.triggerSyncEvent({dataStartIndex:S,dataEndIndex:_})}}),me(x,"handleMouseEnter",function(C){var S=x.getMouseInfo(C);if(S){var _=W(W({},S),{},{isTooltipActive:!0});x.setState(_),x.triggerSyncEvent(_);var A=x.props.onMouseEnter;_e(A)&&A(_,C)}}),me(x,"triggeredAfterMouseMove",function(C){var S=x.getMouseInfo(C),_=S?W(W({},S),{},{isTooltipActive:!0}):{isTooltipActive:!1};x.setState(_),x.triggerSyncEvent(_);var A=x.props.onMouseMove;_e(A)&&A(_,C)}),me(x,"handleItemMouseEnter",function(C){x.setState(function(){return{isTooltipActive:!0,activeItem:C,activePayload:C.tooltipPayload,activeCoordinate:C.tooltipPosition||{x:C.cx,y:C.cy}}})}),me(x,"handleItemMouseLeave",function(){x.setState(function(){return{isTooltipActive:!1}})}),me(x,"handleMouseMove",function(C){C.persist(),x.throttleTriggeredAfterMouseMove(C)}),me(x,"handleMouseLeave",function(C){x.throttleTriggeredAfterMouseMove.cancel();var S={isTooltipActive:!1};x.setState(S),x.triggerSyncEvent(S);var _=x.props.onMouseLeave;_e(_)&&_(S,C)}),me(x,"handleOuterEvent",function(C){var S=cU(C),_=ir(x.props,"".concat(S));if(S&&_e(_)){var A,k;/.*touch.*/i.test(S)?k=x.getMouseInfo(C.changedTouches[0]):k=x.getMouseInfo(C),_((A=k)!==null&&A!==void 0?A:{},C)}}),me(x,"handleClick",function(C){var S=x.getMouseInfo(C);if(S){var _=W(W({},S),{},{isTooltipActive:!0});x.setState(_),x.triggerSyncEvent(_);var A=x.props.onClick;_e(A)&&A(_,C)}}),me(x,"handleMouseDown",function(C){var S=x.props.onMouseDown;if(_e(S)){var _=x.getMouseInfo(C);S(_,C)}}),me(x,"handleMouseUp",function(C){var S=x.props.onMouseUp;if(_e(S)){var _=x.getMouseInfo(C);S(_,C)}}),me(x,"handleTouchMove",function(C){C.changedTouches!=null&&C.changedTouches.length>0&&x.throttleTriggeredAfterMouseMove(C.changedTouches[0])}),me(x,"handleTouchStart",function(C){C.changedTouches!=null&&C.changedTouches.length>0&&x.handleMouseDown(C.changedTouches[0])}),me(x,"handleTouchEnd",function(C){C.changedTouches!=null&&C.changedTouches.length>0&&x.handleMouseUp(C.changedTouches[0])}),me(x,"handleDoubleClick",function(C){var S=x.props.onDoubleClick;if(_e(S)){var _=x.getMouseInfo(C);S(_,C)}}),me(x,"handleContextMenu",function(C){var S=x.props.onContextMenu;if(_e(S)){var _=x.getMouseInfo(C);S(_,C)}}),me(x,"triggerSyncEvent",function(C){x.props.syncId!==void 0&&Mb.emit(jb,x.props.syncId,C,x.eventEmitterSymbol)}),me(x,"applySyncEvent",function(C){var S=x.props,_=S.layout,A=S.syncMethod,k=x.state.updateId,T=C.dataStartIndex,E=C.dataEndIndex;if(C.dataStartIndex!==void 0||C.dataEndIndex!==void 0)x.setState(W({dataStartIndex:T,dataEndIndex:E},p({props:x.props,dataStartIndex:T,dataEndIndex:E,updateId:k},x.state)));else if(C.activeTooltipIndex!==void 0){var R=C.chartX,L=C.chartY,j=C.activeTooltipIndex,N=x.state,D=N.offset,M=N.tooltipTicks;if(!D)return;if(typeof A=="function")j=A(M,C);else if(A==="value"){j=-1;for(var B=0;B=0){var X,z;if(R.dataKey&&!R.allowDuplicatedCategory){var ie=typeof R.dataKey=="function"?le:"payload.".concat(R.dataKey.toString());X=nh(B,ie,j),z=F&&K&&nh(K,ie,j)}else X=B==null?void 0:B[L],z=F&&K&&K[L];if(Q||ce){var ee=C.props.activeIndex!==void 0?C.props.activeIndex:L;return[O.cloneElement(C,W(W(W({},A.props),pe),{},{activeIndex:ee})),null,null]}if(!be(X))return[U].concat(xl(x.renderActivePoints({item:A,activePoint:X,basePoint:z,childIndex:L,isRange:F})))}else{var oe,ve=(oe=x.getItemByXY(x.state.activeCoordinate))!==null&&oe!==void 0?oe:{graphicalItem:U},Ee=ve.graphicalItem,ke=Ee.item,Qe=ke===void 0?C:ke,ye=Ee.childIndex,xe=W(W(W({},A.props),pe),{},{activeIndex:ye});return[O.cloneElement(Qe,xe),null,null]}return F?[U,null,null]:[U,null]}),me(x,"renderCustomized",function(C,S,_){return O.cloneElement(C,W(W({key:"recharts-customized-".concat(_)},x.props),x.state))}),me(x,"renderMap",{CartesianGrid:{handler:H1,once:!0},ReferenceArea:{handler:x.renderReferenceElement},ReferenceLine:{handler:H1},ReferenceDot:{handler:x.renderReferenceElement},XAxis:{handler:H1},YAxis:{handler:H1},Brush:{handler:x.renderBrush,once:!0},Bar:{handler:x.renderGraphicChild},Line:{handler:x.renderGraphicChild},Area:{handler:x.renderGraphicChild},Radar:{handler:x.renderGraphicChild},RadialBar:{handler:x.renderGraphicChild},Scatter:{handler:x.renderGraphicChild},Pie:{handler:x.renderGraphicChild},Funnel:{handler:x.renderGraphicChild},Tooltip:{handler:x.renderCursor,once:!0},PolarGrid:{handler:x.renderPolarGrid,once:!0},PolarAngleAxis:{handler:x.renderPolarAxis},PolarRadiusAxis:{handler:x.renderPolarAxis},Customized:{handler:x.renderCustomized}}),x.clipPathId="".concat((y=g.id)!==null&&y!==void 0?y:Vi("recharts"),"-clip"),x.throttleTriggeredAfterMouseMove=Dw(x.triggeredAfterMouseMove,(w=g.throttleDelay)!==null&&w!==void 0?w:1e3/60),x.state={},x}return u1e(m,b),i1e(m,[{key:"componentDidMount",value:function(){var y,w;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:(y=this.props.margin.left)!==null&&y!==void 0?y:0,top:(w=this.props.margin.top)!==null&&w!==void 0?w:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var y=this.props,w=y.children,x=y.data,C=y.height,S=y.layout,_=Nn(w,Gr);if(_){var A=_.props.defaultIndex;if(!(typeof A!="number"||A<0||A>this.state.tooltipTicks.length-1)){var k=this.state.tooltipTicks[A]&&this.state.tooltipTicks[A].value,T=Nb(this.state,x,A,k),E=this.state.tooltipTicks[A].coordinate,R=(this.state.offset.top+C)/2,L=S==="horizontal",j=L?{x:E,y:R}:{y:E,x:R},N=this.state.formattedGraphicalItems.find(function(M){var B=M.item;return B.type.name==="Scatter"});N&&(j=W(W({},j),N.props.points[A].tooltipPosition),T=N.props.points[A].tooltipPayload);var D={activeTooltipIndex:A,isTooltipActive:!0,activeLabel:k,activePayload:T,activeCoordinate:j};this.setState(D),this.renderCursor(_),this.accessibilityManager.setIndex(A)}}}},{key:"getSnapshotBeforeUpdate",value:function(y,w){if(!this.props.accessibilityLayer)return null;if(this.state.tooltipTicks!==w.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==y.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==y.margin){var x,C;this.accessibilityManager.setDetails({offset:{left:(x=this.props.margin.left)!==null&&x!==void 0?x:0,top:(C=this.props.margin.top)!==null&&C!==void 0?C:0}})}return null}},{key:"componentDidUpdate",value:function(y){Uy([Nn(y.children,Gr)],[Nn(this.props.children,Gr)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var y=Nn(this.props.children,Gr);if(y&&typeof y.props.shared=="boolean"){var w=y.props.shared?"axis":"item";return s.indexOf(w)>=0?w:i}return i}},{key:"getMouseInfo",value:function(y){if(!this.container)return null;var w=this.container,x=w.getBoundingClientRect(),C=Dte(x),S={chartX:Math.round(y.pageX-C.left),chartY:Math.round(y.pageY-C.top)},_=x.width/w.offsetWidth||1,A=this.inRange(S.chartX,S.chartY,_);if(!A)return null;var k=this.state,T=k.xAxisMap,E=k.yAxisMap,R=this.getTooltipEventType(),L=D_(this.state,this.props.data,this.props.layout,A);if(R!=="axis"&&T&&E){var j=ei(T).scale,N=ei(E).scale,D=j&&j.invert?j.invert(S.chartX):null,M=N&&N.invert?N.invert(S.chartY):null;return W(W({},S),{},{xValue:D,yValue:M},L)}return L?W(W({},S),L):null}},{key:"inRange",value:function(y,w){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,C=this.props.layout,S=y/x,_=w/x;if(C==="horizontal"||C==="vertical"){var A=this.state.offset,k=S>=A.left&&S<=A.left+A.width&&_>=A.top&&_<=A.top+A.height;return k?{x:S,y:_}:null}var T=this.state,E=T.angleAxisMap,R=T.radiusAxisMap;if(E&&R){var L=ei(E);return sP({x:S,y:_},L)}return null}},{key:"parseEventsOfWrapper",value:function(){var y=this.props.children,w=this.getTooltipEventType(),x=Nn(y,Gr),C={};x&&w==="axis"&&(x.props.trigger==="click"?C={onClick:this.handleClick}:C={onMouseEnter:this.handleMouseEnter,onDoubleClick:this.handleDoubleClick,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onContextMenu:this.handleContextMenu});var S=rh(this.props,this.handleOuterEvent);return W(W({},S),C)}},{key:"addListener",value:function(){Mb.on(jb,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){Mb.removeListener(jb,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(y,w,x){for(var C=this.state.formattedGraphicalItems,S=0,_=C.length;S<_;S++){var A=C[S];if(A.item===y||A.props.key===y.key||w===yo(A.item.type)&&x===A.childIndex)return A}return null}},{key:"renderClipPath",value:function(){var y=this.clipPathId,w=this.state.offset,x=w.left,C=w.top,S=w.height,_=w.width;return I.createElement("defs",null,I.createElement("clipPath",{id:y},I.createElement("rect",{x,y:C,height:S,width:_})))}},{key:"getXScales",value:function(){var y=this.state.xAxisMap;return y?Object.entries(y).reduce(function(w,x){var C=k_(x,2),S=C[0],_=C[1];return W(W({},w),{},me({},S,_.scale))},{}):null}},{key:"getYScales",value:function(){var y=this.state.yAxisMap;return y?Object.entries(y).reduce(function(w,x){var C=k_(x,2),S=C[0],_=C[1];return W(W({},w),{},me({},S,_.scale))},{}):null}},{key:"getXScaleByAxisId",value:function(y){var w;return(w=this.state.xAxisMap)===null||w===void 0||(w=w[y])===null||w===void 0?void 0:w.scale}},{key:"getYScaleByAxisId",value:function(y){var w;return(w=this.state.yAxisMap)===null||w===void 0||(w=w[y])===null||w===void 0?void 0:w.scale}},{key:"getItemByXY",value:function(y){var w=this.state,x=w.formattedGraphicalItems,C=w.activeItem;if(x&&x.length)for(var S=0,_=x.length;S<_;S++){var A=x[S],k=A.props,T=A.item,E=T.type.defaultProps!==void 0?W(W({},T.type.defaultProps),T.props):T.props,R=yo(T.type);if(R==="Bar"){var L=(k.data||[]).find(function(M){return fue(y,M)});if(L)return{graphicalItem:A,payload:L}}else if(R==="RadialBar"){var j=(k.data||[]).find(function(M){return sP(y,M)});if(j)return{graphicalItem:A,payload:j}}else if(p1(A,C)||h1(A,C)||Kc(A,C)){var N=pce({graphicalItem:A,activeTooltipItem:C,itemData:E.data}),D=E.activeIndex===void 0?N:E.activeIndex;return{graphicalItem:W(W({},A),{},{childIndex:D}),payload:Kc(A,C)?E.data[N]:A.props.data[N]}}}return null}},{key:"render",value:function(){var y=this;if(!D7(this))return null;var w=this.props,x=w.children,C=w.className,S=w.width,_=w.height,A=w.style,k=w.compact,T=w.title,E=w.desc,R=T_(w,Qhe),L=Ce(R,!1);if(k)return I.createElement(EO,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},I.createElement(oh,bl({},L,{width:S,height:_,title:T,desc:E}),this.renderClipPath(),z7(x,this.renderMap)));if(this.props.accessibilityLayer){var j,N;L.tabIndex=(j=this.props.tabIndex)!==null&&j!==void 0?j:0,L.role=(N=this.props.role)!==null&&N!==void 0?N:"application",L.onKeyDown=function(M){y.accessibilityManager.keyboardEvent(M)},L.onFocus=function(){y.accessibilityManager.focus()}}var D=this.parseEventsOfWrapper();return I.createElement(EO,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},I.createElement("div",bl({className:q("recharts-wrapper",C),style:W({position:"relative",cursor:"default",width:S,height:_},A)},D,{ref:function(B){y.container=B}}),I.createElement(oh,bl({},L,{width:S,height:_,title:T,desc:E,style:m1e}),this.renderClipPath(),z7(x,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}(O.Component);me(v,"displayName",n),me(v,"defaultProps",W({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},f)),me(v,"getDerivedStateFromProps",function(b,m){var g=b.dataKey,y=b.data,w=b.children,x=b.width,C=b.height,S=b.layout,_=b.stackOffset,A=b.margin,k=m.dataStartIndex,T=m.dataEndIndex;if(m.updateId===void 0){var E=B_(b);return W(W(W({},E),{},{updateId:0},p(W(W({props:b},E),{},{updateId:0}),m)),{},{prevDataKey:g,prevData:y,prevWidth:x,prevHeight:C,prevLayout:S,prevStackOffset:_,prevMargin:A,prevChildren:w})}if(g!==m.prevDataKey||y!==m.prevData||x!==m.prevWidth||C!==m.prevHeight||S!==m.prevLayout||_!==m.prevStackOffset||!Ms(A,m.prevMargin)){var R=B_(b),L={chartX:m.chartX,chartY:m.chartY,isTooltipActive:m.isTooltipActive},j=W(W({},D_(m,y,S)),{},{updateId:m.updateId+1}),N=W(W(W({},R),L),j);return W(W(W({},N),p(W({props:b},N),m)),{},{prevDataKey:g,prevData:y,prevWidth:x,prevHeight:C,prevLayout:S,prevStackOffset:_,prevMargin:A,prevChildren:w})}if(!Uy(w,m.prevChildren)){var D,M,B,F,K=Nn(w,tl),H=K&&(D=(M=K.props)===null||M===void 0?void 0:M.startIndex)!==null&&D!==void 0?D:k,Y=K&&(B=(F=K.props)===null||F===void 0?void 0:F.endIndex)!==null&&B!==void 0?B:T,Z=H!==k||Y!==T,ce=!be(y),Q=ce&&!Z?m.updateId:m.updateId+1;return W(W({updateId:Q},p(W(W({props:b},m),{},{updateId:Q,dataStartIndex:H,dataEndIndex:Y}),m)),{},{prevChildren:w,dataStartIndex:H,dataEndIndex:Y})}return null}),me(v,"renderActiveDot",function(b,m,g){var y;return O.isValidElement(b)?y=O.cloneElement(b,m):_e(b)?y=b(m):y=I.createElement(c1,m),I.createElement(ze,{className:"recharts-active-dot",key:g},y)});var h=O.forwardRef(function(m,g){return I.createElement(v,bl({},m,{ref:g}))});return h.displayName=v.displayName,h},_1e=O1e({chartName:"ComposedChart",GraphicalChild:[ua,kr,rl,L1],axisComponents:[{axisType:"xAxis",AxisComp:N1},{axisType:"yAxis",AxisComp:B1},{axisType:"zAxis",AxisComp:j1}],formatAxisMap:Dfe});const z_=Math.random,$1e=function e(t){function n(r,o){return arguments.length<2&&(o=r,r=0),r=Math.floor(r),o=Math.floor(o)-r,function(){return Math.floor(t()*o+r)}}return n.source=e,n}(z_),A1e=function e(t){function n(r,o){var i,a;return r=r==null?0:+r,o=o==null?1:+o,function(){var s;if(i!=null)s=i,i=null;else do i=t()*2-1,s=t()*2-1,a=i*i+s*s;while(!a||a>1);return r+o*s*Math.sqrt(-2*Math.log(a)/a)}}return n.source=e,n}(z_),H_=Jv(P.jsx("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");var Db={},Bb={};const E1e=Jr(CR);var W_;function k1e(){return W_||(W_=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=E1e}(Bb)),Bb}var T1e=Uv;Object.defineProperty(Db,"__esModule",{value:!0});var V_=Db.default=void 0,M1e=T1e(k1e()),j1e=P;V_=Db.default=(0,M1e.default)((0,j1e.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");/** * @remix-run/router v1.23.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 Fb(){return Fb=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function R1e(e,t){{typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function G_(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function K_(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}var q_;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(q_||(q_={}));function L1e(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}const I1e=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,N1e=e=>I1e.test(e);function D1e(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?K_(e):e,i;if(n)if(N1e(n))i=n;else{if(n.includes("//")){let a=n;n=n.replace(/\/\/+/g,"/"),R1e(!1,"Pathnames cannot have embedded double slashes - normalizing "+(a+" -> "+n))}n.startsWith("/")?i=X_(n.substring(1),"/"):i=X_(n,t)}else i=t;return{pathname:i,search:F1e(r),hash:z1e(o)}}function X_(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function zb(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function B1e(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Z_(e,t){let n=B1e(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Y_(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=K_(e):(o=Fb({},e),_o(!o.pathname||!o.pathname.includes("?"),zb("?","pathname","search",o)),_o(!o.pathname||!o.pathname.includes("#"),zb("#","pathname","hash",o)),_o(!o.search||!o.search.includes("#"),zb("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(a==null)s=n;else{let f=t.length-1;if(!r&&a.startsWith("..")){let d=a.split("/");for(;d[0]==="..";)d.shift(),f-=1;o.pathname=d.join("/")}s=f>=0?t[f]:"/"}let l=D1e(o,s),u=a&&a!=="/"&&a.endsWith("/"),c=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Q_=e=>e.join("/").replace(/\/\/+/g,"/"),F1e=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,z1e=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,J_=["post","put","patch","delete"];new Set(J_);const H1e=["get",...J_];new Set(H1e);/** * React Router v6.30.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 Hb(){return Hb=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),O.useCallback(function(u,c){if(c===void 0&&(c={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let f=Y_(u,JSON.parse(a),i,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:Q_([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,a,i,e])}function r$(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=O.useContext(of),{matches:o}=O.useContext(V1),{pathname:i}=Vb(),a=JSON.stringify(Z_(o,r.v7_relativeSplatPath));return O.useMemo(()=>Y_(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function G1e(e){let t=O.useContext(e$);return t||_o(!1),t}function K1e(e){let t=O.useContext(V1);return t||_o(!1),t}function q1e(e){let t=K1e(),n=t.matches[t.matches.length-1];return n.route.id||_o(!1),n.route.id}function X1e(){let{router:e}=G1e(),t=q1e(),n=O.useRef(!1);return n$(()=>{n.current=!0}),O.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Hb({fromRouteId:t},i)))},[e,t])}new Promise(()=>{});/** * React Router DOM v6.30.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 Ub(){return Ub=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}function Y1e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Q1e(e,t){return e.button===0&&(!t||t==="_self")&&!Y1e(e)}const J1e=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],eme="6";try{window.__reactRouterVersion=eme}catch{}const tme=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nme=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,o$=O.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:s,target:l,to:u,preventScrollReset:c,viewTransition:f}=t,d=Z1e(t,J1e),{basename:p}=O.useContext(of),v,h=!1;if(typeof u=="string"&&nme.test(u)&&(v=u,tme))try{let y=new URL(window.location.href),w=u.startsWith("//")?new URL(y.protocol+u):new URL(u),x=L1e(w.pathname,p);w.origin===y.origin&&x!=null?u=x+w.search+w.hash:h=!0}catch{}let b=W1e(u,{relative:o}),m=rme(u,{replace:a,state:s,target:l,preventScrollReset:c,relative:o,viewTransition:f});function g(y){r&&r(y),y.defaultPrevented||m(y)}return O.createElement("a",Ub({},d,{href:v||b,onClick:h||i?r:g,ref:n,target:l}))});var i$;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(i$||(i$={}));var a$;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(a$||(a$={}));function rme(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:s}=t===void 0?{}:t,l=V1e(),u=Vb(),c=r$(e,{relative:a});return O.useCallback(f=>{if(Q1e(f,n)){f.preventDefault();let d=r!==void 0?r:G_(u)===G_(c);l(e,{replace:d,state:o,preventScrollReset:i,relative:a,viewTransition:s})}},[u,l,c,r,o,n,e,i,a,s])}let s$="/sprite.svg";function ome(e){s$=e}const Gb=({name:e,...t})=>P.jsx(yp,{...t,inheritViewBox:!0,children:P.jsx("use",{href:`${s$}#${e}`})});function ime(e){const t=e.length,n=e[0].length,r=new Array(n).fill(0);for(let o=0;os-l);const a=Math.floor(t/2);r[o]=t%2===1?i[a]:(i[a-1]+i[a])/2}return r}function U1(e,t){const n=e.length,r=e[0].length,o=new Array(r),i=t/100;for(let a=0;ad-p);const l=i*(n-1),u=Math.floor(l),c=Math.ceil(l),f=l-u;o[a]=(1-f)*s[u]+f*s[c]}return o}const ame=` :root { --font-instrument-sans: 'Instrument Sans', sans-serif; --font-source-serif: 'Source Serif 4', sans-serif; } div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: inherit; color: inherit; vertical-align: baseline; outline: none; } html, body { margin: 0; padding: 0; border: 0; color: inherit; vertical-align: baseline; outline: none; } body, input, button, select, textarea { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; -ms-text-size-adjust: 100%; text-size-adjust: 100%; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: none; } a { line-height: 1; text-decoration: none; transition: all 0.3s; will-change: transform, opacity; } table { border-collapse: collapse; border-spacing: 0; } body, html { margin: 0; padding: 0; } #__next{ overflow-x: hidden; } body { overflow-x: hidden; &.open-nav { overflow: hidden; } } p { margin: 0; } b, strong { font-weight: 700; } input, select, textarea, button { -webkit-appearance: none; border-radius: 0; } select { -webkit-appearance: menulist-button; } select::-ms-expand { display: none; } textarea { resize: none; } *, *:before, *:after { box-sizing: border-box; } img, picture { display: block; height: auto; } button, input, textarea { background: transparent; border: 0; outline: 0; font: inherit; color: inherit; } iframe { display: block; max-width: 100%; } ul, ol { margin: 0; padding: 0; } html, body, #app { height: 100%; position: relative; width: 100%; } body { font-size: 16px; line-height: 1.4; font-weight: 400; } .wrapper { min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; position: relative; padding-top: 91px } main.content, #__next, main.wrapper { min-height: 100vh; position: relative; overflow: hidden; } .svg-sprite svg, .svg-sprite{ height: 0; width: 0; position: absolute; overflow: hidden; } .fit-cover{ object-fit: cover; font-family: 'object-fit: cover;' } .fit-contain{ object-fit: contain; font-family: 'object-fit: contain;' } .article-text ul, .article-text ol { padding-left: 20px; margin-bottom: 8px; } .article-text ul { list-style: disc; } .article-text ol { list-style: decimal; } .article-text li { margin-bottom: 4px; } .article-text p { margin-bottom: 12px; } .article-text img { margin: 12px 0; max-width: 100%; } .article-text a { color: #4B00F6; opacity: 0.75; } .article-text a:hover { opacity: 1; } .article-text h2 { font-size: 28px; } .article-text h2, .article-text h3 { font-weight: 700; color: #363737; margin-top: 24px; margin-bottom: 12px; } p { font-size: 16px; } h2 { font-size: 22px; } h3 { font-size: 20px; } `,sme={"--font-instrument-sans":"'Instrument Sans', sans-serif","--font-source-serif":"'Source Serif 4', sans-serif","input, button, select, textarea":{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTextSizeAdjust:"100%",MozTextSizeAdjust:"100%",msTextSizeAdjust:"100%",textSizeAdjust:"100%"},backgroundColor:"transparent","article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section":{display:"block"},"ol, ul":{listStyle:"none"},"blockquote, q":{quotes:"none"},"blockquote:before, blockquote:after, q:before, q:after":{content:"none"},a:{lineHeight:1,textDecoration:"none",transition:"all 0.3s",willChange:"transform, opacity"},table:{borderCollapse:"collapse",borderSpacing:0},fontSize:"16px",lineHeight:1.4,fontWeight:400,overflowX:"hidden","&.open-nav":{overflow:"hidden"},"b, strong":{fontWeight:700},"input, select, textarea, button":{WebkitAppearance:"none",borderRadius:0},select:{WebkitAppearance:"menulist-button"},"select::-ms-expand":{display:"none"},textarea:{resize:"none"},"*, *:before, *:after":{boxSizing:"border-box"},"img, picture":{display:"block",height:"auto"},"button, input, textarea":{background:"transparent",border:0,outline:0,font:"inherit",color:"inherit"},iframe:{display:"block",maxWidth:"100%"},"ul, ol":{margin:0,padding:0},"& .wrapper":{minHeight:"100vh",overflow:"hidden",display:"flex",flexDirection:"column",justifyContent:"space-between",position:"relative",paddingTop:"91px"},"& main.content, & #__next, & main.wrapper":{minHeight:"100vh",position:"relative",overflow:"hidden"},"& .svg-sprite svg, & .svg-sprite":{height:0,width:0,position:"absolute",overflow:"hidden"},"& .fit-cover":{objectFit:"cover",fontFamily:"'object-fit: cover;'"},"& .fit-contain":{objectFit:"contain",fontFamily:"'object-fit: contain;'"},"& .article-text ul, & .article-text ol":{paddingLeft:"20px",marginBottom:"8px"},"& .article-text ul":{listStyle:"disc"},"& .article-text ol":{listStyle:"decimal"},"& .article-text li":{marginBottom:"4px"},"& .article-text p":{marginBottom:"12px"},"& .article-text img":{margin:"12px 0",maxWidth:"100%"},"& .article-text a":{color:"#4B00F6",opacity:.75},"& .article-text a:hover":{opacity:1},"& .article-text h2":{fontSize:"28px"},"& .article-text h2, & .article-text h3":{fontWeight:700,color:"#363737",marginTop:"24px",marginBottom:"12px"}},Kb=16,G1=24,u$={xs:0,sm:600+Kb*2,md:932+G1*2,lg:1280+G1*2,xl:1400},lme={values:u$},ume={defaultProps:{variant:"contained",disableElevation:!0},styleOverrides:{root:{fontSize:15,fontWeight:500,borderRadius:4,textTransform:"uppercase",fontFamily:"var(--font-instrument-sans)",whiteSpace:"nowrap"},sizeMedium:{padding:"11px 24px"},containedPrimary:({theme:e})=>({backgroundColor:"transparent",position:"relative",overflow:"hidden",zIndex:0,":before":{content:'""',height:"100%",width:"200%",position:"absolute",zIndex:-1,background:"linear-gradient(109deg, #FE00FE 0%, #6D06F8 45%, #6D06F8 55%, #FE00FE 100%)",top:0,left:0,transition:"transform 0.25s linear"},":hover:before":{transform:"translateX(-50%)"},":disabled":{":before":{display:"none"},color:e.palette.secondary.main,backgroundColor:e.palette.grey[300]}}),containedSecondary:({theme:e})=>({color:e.palette.primary.main,border:"1px solid rgba(146, 92, 255, 0.5)",":hover":{border:`1px solid ${e.palette.primary.main}`,backgroundColor:"rgba(255, 255, 255, 0.90)"}}),outlinedSecondary:({theme:e})=>({color:e.palette.secondary.main,backgroundColor:"transparent",borderColor:"rgba(255, 255, 255, 0.70)",":hover":{borderColor:e.palette.secondary.main,backgroundColor:"rgba(255, 255, 255, 0.10)"}}),containedError:({theme:e})=>({backgroundColor:e.palette.error.light,":hover":{backgroundColor:e.palette.error.main}}),outlinedSizeMedium:{padding:"10px 24px"}}},cme={defaultProps:{variant:"contained"}},fme={defaultProps:{disableGutters:!0},styleOverrides:{root:({theme:e})=>({paddingLeft:Kb,paddingRight:Kb,[e.breakpoints.up("sm")]:{paddingLeft:G1,paddingRight:G1},[e.breakpoints.up("md")]:{maxWidth:"auto"},[e.breakpoints.up("lg")]:{maxWidth:u$.lg}})}},c$=O.forwardRef((e,t)=>{const{href:n,...r}=e;return c$.displayName="LinkBehavior",P.jsx(o$,{ref:t,to:n,...r})}),dme={defaultProps:{LinkComponent:c$}},pme={styleOverrides:{root:({theme:e})=>({"&.error .MuiInputBase-root:before, &.error .MuiInputBase-root:after":{borderBottomColor:`${e.palette.error.light} !important`}})}},hme={styleOverrides:{root:({theme:e})=>({"&.MuiInputBase-root":{backgroundColor:e.palette.grey[100],height:48,"&.textarea":{height:"auto"}},"&.MuiInputBase-root:hover, &.MuiInputBase-root.Mui-focused":{backgroundColor:e.palette.grey[100]},"&.MuiInputBase-root:before":{borderBottomColor:e.palette.grey[300],zIndex:1},"&.MuiInputBase-root:hover:not(.Mui-disabled, .Mui-error):before":{borderBottomColor:e.palette.grey[500]},"&.MuiInputBase-root.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiInputBase-root:after":{borderBottomColor:e.palette.secondary.light,borderBottomWidth:"1px",zIndex:2},"& svg":{zIndex:1},"& svg + input":{paddingLeft:48},input:{fontSize:16,fontWeight:400,lineHeight:1.5,padding:"12px 16px 13px",position:"absolute",top:0,left:0,height:48,boxSizing:"border-box","&::placeholder":{opacity:1,color:e.palette.grey[500]},"&:not(:last-child)":{paddingRight:48},"& + svg":{marginLeft:"auto"}}})}},mme={styleOverrides:{root:({theme:e})=>({marginTop:"4px",marginLeft:0,marginRight:0,"& a":{color:e.palette.info.main},"&.Mui-error":{color:e.palette.error.light}})}},vme={defaultProps:{disableGutters:!0,square:!0},styleOverrides:{root:({theme:e})=>({backgroundColor:"transparent",borderRadius:"12px",boxShadow:`0 0 0 1px ${e.palette.grey[200]}`,"&:before":{backgroundColor:"transparent"},padding:"1 !important"})}},yme={styleOverrides:{root:{padding:"0 16px 16px"}}},gme={styleOverrides:{root:({theme:e})=>({minHeight:0,padding:"16px","& .MuiAccordionSummary-expandIconWrapper":{position:"relative",padding:"0 10px",left:"10px"},"& .MuiAccordionSummary-expandIconWrapper .MuiSvgIcon-root":{transition:"0.3s"},"&:hover .MuiAccordionSummary-expandIconWrapper .MuiSvgIcon-root":{color:e.palette.common.black},"& .MuiAccordionSummary-content":{margin:0}})}},f$=O.forwardRef((e,t)=>{const{href:n,...r}=e;return f$.displayName="LinkBehavior",P.jsx(o$,{ref:t,to:n,...r})}),bme={defaultProps:{variant:"body2",underline:"none",color:"primary",alignItems:"center",display:"flex",transition:"0.3s",component:f$}},xme={defaultProps:{variantMapping:{h1:"h2",h4:"p",h5:"p",h6:"p",subtitle1:"p",subtitle2:"p",body3:"p",body4:"p"}},styleOverrides:{root:()=>({fontFamily:"var(--font-instrument-sans)",letterSpacing:0}),h1:{fontSize:54,fontWeight:400,lineHeight:1.1,fontFamily:"var(--font-source-serif)"},h2:{fontSize:42,fontWeight:700,lineHeight:1.1,fontFamily:"var(--font-source-serif)"},h3:{fontSize:32,fontWeight:700,lineHeight:1.3,fontFamily:"var(--font-source-serif)"},h4:{fontSize:24,fontWeight:700,lineHeight:1.4,fontFamily:"var(--font-source-serif)"},h5:{fontSize:20,fontWeight:700,lineHeight:1.4,fontFamily:"var(--font-source-serif)"},h6:{fontSize:18,fontWeight:700,lineHeight:1.4},subtitle1:{fontSize:"2.25rem",fontWeight:400,lineHeight:1,letterSpacing:"1px",fontFamily:"var(--font-source-serif)"},subtitle2:{fontSize:15,fontWeight:500,lineHeight:1.73,letterSpacing:"0.46px",textTransform:"uppercase"},body1:{fontSize:18,fontWeight:400,lineHeight:1.4},body2:{fontSize:16,fontWeight:400,lineHeight:1.4},body3:{fontSize:14,fontWeight:400,lineHeight:1.5},body4:{fontSize:12,fontWeight:400,lineHeight:1.4}}},wme=Object.freeze(Object.defineProperty({__proto__:null,MuiAccordion:vme,MuiAccordionDetails:yme,MuiAccordionSummary:gme,MuiBreadcrumbs:{styleOverrides:{root:({theme:e})=>({color:`${e.palette.grey[500]}`,borderRadius:"12px"})}},MuiButton:ume,MuiButtonBase:dme,MuiCheckbox:{defaultProps:{color:"secondary",size:"small",icon:P.jsx(Gb,{name:"unchecked"}),checkedIcon:P.jsx(Gb,{name:"checked"})},styleOverrides:{root:({theme:e})=>({color:e.palette.grey[500],"& + .MuiTypography-root":{fontSize:"14px"}})}},MuiContainer:fme,MuiFormHelperText:mme,MuiInputBase:hme,MuiLink:bme,MuiList:{styleOverrides:{root:{maxHeight:"300px"}}},MuiLoadingButton:cme,MuiMenuItem:{styleOverrides:{root:({theme:e})=>({color:e.palette.common.black,padding:"14px 16px 15px",minWidth:"200px",boxShadow:"0px 1px 0px #EAEAEA",[e.breakpoints.up("md")]:{color:e.palette.grey[500],padding:"12px"}," a":{margin:"-12px",padding:"12px",width:"calc(100% + 24px)"},"&.Mui-disabled":{opacity:1},"&:active":{[e.breakpoints.up("md")]:{color:e.palette.grey[600]}},"&.Mui-disabled *":{opacity:.38}})}},MuiSelect:{defaultProps:{},styleOverrides:{root:({theme:e})=>({"&.MuiInputBase-root":{backgroundColor:e.palette.grey[100],borderRadius:2,height:48},".MuiOutlinedInput-notchedOutline":{border:"none",borderBottom:`0px solid ${e.palette.grey[300]}`,"&.Mui-focused":{borderBottomColor:e.palette.grey[500]}},"&.MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline":{borderbottom:`0px solid ${e.palette.grey[300]}`,borderBottomColor:e.palette.grey[500]}}),select:({theme:e})=>({color:e.palette.grey[500],padding:"12px 16px 13px 2rem",".selected &":{color:e.palette.text.primary}})}},MuiTab:{defaultProps:{},styleOverrides:{root:({theme:e})=>({transition:"all 0.3s","&:not(&.Mui-selected)":{"&:hover":{background:e.palette.grey[100],boxShadow:`inset 0px -2px 0px 0px ${e.palette.grey[300]}`}}})}},MuiTableCell:{styleOverrides:{root:({theme:e})=>({padding:19,"&:not(:last-of-type)":{borderRight:`1px solid ${e.palette.grey[200]}`}}),sizeSmall:{padding:"16px 19px 15px"}}},MuiTableRow:{styleOverrides:{root:({theme:e})=>({background:e.palette.common.white,"&:last-of-type .MuiTableCell-root":{borderBottom:"none"},"&.MuiTableRow-hover":{cursor:"pointer","&:hover":{background:"linear-gradient(0deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%), var(--White-100, #FFF)"}}})}},MuiTextField:pme,MuiTypography:xme},Symbol.toStringTag,{value:"Module"})),d$={primary:{main:"#925CFF"},secondary:{main:"#FFFFFF"},error:{light:"#EF5350",main:"#BF1111"},success:{light:"#4CAF50",main:"#138A2E"},info:{main:"#4B00F6"},grey:{100:"#F4F4F4",200:"#EAEAEA",300:"#C4C4C4",400:"#A2A2A2",500:"#787878",600:"#393939",700:"#000000"},purple:{100:"#DCCAFF",200:"#BF9FFF",300:"#9E6EFF",400:"#925CFF",500:"#8352E6",600:"#6343AB",700:"#443173"},orange:{main:"#EF805B"},disabled:{main:"#A2A2A2"},gradients:{blueOrange:"linear-gradient(270deg, #EF805B 0%, #4B00F6 99.92%)",bluePurple:"linear-gradient(270deg, #EF805B -212.66%, #4B00F6 100%)",bluePurpleVertical:"linear-gradient(0deg, #EF805B -295.04%, #4B00F6 100%)",purplePink:"linear-gradient(270deg, #EF805B -104.99%, #4B00F6 205.24%)",purplePinkVertical:"linear-gradient(0deg, #EF805B -125.1%, #4B00F6 179.14%)",pinkOrange:"linear-gradient(270deg, #EF805B 0%, #4B00F6 311.08%)",pinkOrangeVertical:"linear-gradient(0deg, #EF805B 0%, #4B00F6 251.17%)",bluePink:"linear-gradient(270deg, #FF00FE 0%, #4B00F6 100%)",orangeBlue:"linear-gradient(90deg, #EF805B 53.85%, #4B00F6 98.51%)"},textGradient:{subtitle:{background:"linear-gradient(270deg, #4B00F6 0%, #FF00FE 100%)",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",backgroundClip:"text",textFillColor:"transparent"}},text:{primary:"#000000",secondary:"#FFFFFF"},background:{default:"#F4F4F4"}},Cme={breakpoints:lme,palette:d$,components:{...wme,MuiCssBaseline:{styleOverrides:ame},MuiScopedCssBaseline:{styleOverrides:{root:{...sme,variants:[]}}}}},Sme=fp(Cme);function Pme({ToolTipTitle:e,children:t,maxWidth:n="150px"}){return P.jsx(IF,{title:e||null,PopperProps:{sx:{maxWidth:{maxWidth:n},"& .MuiTooltip-arrow":{color:"primary.main"},"& .MuiTooltip-tooltip":{fontSize:"14px",backgroundColor:"primary.main"}}},TransitionComponent:k6,TransitionProps:{timeout:600},placement:"top",arrow:!0,children:t})}const Ome=fp({palette:{primary:d$.primary},components:{MuiTextField:{styleOverrides:{}}}}),_me=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0});function hr(e){return _me.format(e)}const $me=e=>{const t=i=>{let a=Number(i.target.value);if(i.target.value===""||isNaN(a)||a<0||i.target.id==="calc-duration"&&a<1){i.target.value=e.parameters[o].toString();return}return i.target.id==="calc-duration"&&(a=Math.round(a),i.target.value=a.toString()),e.setter({...e.parameters,[o]:a})},{setter:n,...r}=e;let o="initialCapital";switch(e.id){case"calc-deposit":o="monthlyDeposit";break;case"calc-duration":o="duration";break;case"calc-return":o="expectedReturn";break;case"calc-volatility":o="marketVolatility";break;case"calc-inflation":o="estimatedInflation";break;case"calc-fees":o="managementFees";break}return P.jsx(bz,{type:"number",variant:"standard",sx:{mb:.5},color:"primary",inputProps:{min:e.min,max:e.max,step:e.step,style:{textAlign:"end"},onWheel:i=>i.target.blur()},value:e.parameters[o],onChange:t,fullWidth:!0,...r})},Ame=e=>{const t=i=>{const a=Number(i.target.value);return e.setter({...e.parameters,[o]:a})},{setter:n,...r}=e;let o="initialCapital";switch(e.id){case"calc-slider-deposit":o="monthlyDeposit";break;case"calc-slider-duration":o="duration";break;case"calc-slider-return":o="expectedReturn";break;case"calc-slider-volatility":o="marketVolatility";break;case"calc-slider-inflation":o="estimatedInflation";break;case"calc-slider-fees":o="managementFees";break}return P.jsx(AF,{inputMode:"none",value:e.parameters[o],onChange:t,...r})},fa=e=>{var t,n;return P.jsx(Pme,{ToolTipTitle:e.tooltip?e.tooltip:null,maxWidth:"100%",children:P.jsxs(Ve,{children:[P.jsx($me,{id:`calc-${e.idSuffix}`,label:e.label,min:e.min,max:e.max,step:e.inputStep??1,InputProps:{startAdornment:(t=e.unit)!=null&&t.prefix?P.jsx(F6,{position:"start",children:e.unit.prefix}):void 0,endAdornment:(n=e.unit)!=null&&n.suffix?P.jsx(F6,{position:"end",children:e.unit.suffix}):void 0},parameters:e.parameters,setter:e.setter,...e.textFieldProps}),P.jsx(Ame,{id:`calc-slider-${e.idSuffix}`,min:e.min,max:e.max,step:e.sliderStep,parameters:e.parameters,setter:e.setter,...e.sliderProps})]})})},Eme=({palette:e,parameters:t,setParameters:n})=>{const{grey:r}=e;return P.jsx($t,{item:!0,gridRow:1,xs:12,md:3.5,children:P.jsxs(Vr,{sx:{p:"16px 20px",borderRadius:"8px",boxShadow:"none",border:`1px solid ${r[200]}`,background:"white",height:"100%",display:"flex",flexDirection:"column"},children:[P.jsx(Fi,{sx:{padding:"0.5rem 0rem !important"},children:P.jsx(Fi,{sx:{padding:0},children:P.jsxs(q9,{theme:Ome,children:[P.jsx(fa,{idSuffix:"capital",label:"Initial Capital",tooltip:"Your starting point",min:0,max:5e5,inputStep:100,sliderStep:5e3,unit:{prefix:"$"},parameters:t,setter:n,sliderProps:{sx:{mb:2}}}),P.jsx(fa,{idSuffix:"deposit",label:"Monthly Deposit",tooltip:"Your monthly contribution",min:0,max:1e4,inputStep:50,sliderStep:100,unit:{prefix:"$"},parameters:t,setter:n,sliderProps:{sx:{mb:2}}}),P.jsx(fa,{idSuffix:"duration",label:"Duration",tooltip:"Align with your investment horizon",min:1,max:50,sliderStep:1,unit:{suffix:t.duration>1?"years":"year"},parameters:t,setter:n,sliderProps:{sx:{mb:2}}}),P.jsx(fa,{idSuffix:"return",label:"Expected Return",tooltip:"Your target annual return",min:0,max:20,sliderStep:.5,inputStep:.1,unit:{suffix:"%"},parameters:t,setter:n,sliderProps:{sx:{mb:2}}}),P.jsx(fa,{idSuffix:"volatility",label:"Market Volatility",tooltip:"Your expected market instability",min:0,max:50,sliderStep:.5,inputStep:.1,unit:{suffix:"%"},parameters:t,setter:n,sliderProps:{sx:{mb:2}}}),P.jsx(fa,{idSuffix:"inflation",label:"Estimated Inflation",tooltip:"Your purchasing power drag",min:0,max:15,sliderStep:.1,inputStep:.1,unit:{suffix:"%"},parameters:t,setter:n,sliderProps:{sx:{mb:2}}}),P.jsx(fa,{idSuffix:"fees",label:"Management Fees",tooltip:"Your annual costs",min:0,max:5,sliderStep:.1,inputStep:.1,unit:{suffix:"%"},parameters:t,setter:n})]})})}),P.jsx(Ve,{marginX:1,marginTop:"auto",marginBottom:1,children:P.jsx(Vr,{style:{backgroundColor:"rgb(238 240 242)",borderRadius:15,width:"100%"},children:P.jsxs(Fi,{style:{paddingLeft:20,paddingRight:20,paddingBottom:10},children:[P.jsxs(Ve,{display:"flex",gap:1,alignItems:"center",marginY:1.5,children:[P.jsx(V_,{}),P.jsx(re,{variant:"body2",children:"Quantlake's Tip"})]}),P.jsx(re,{variant:"body3",children:`"The goal isn't to find the path that makes you the richest; it's to find the path you can actually survive. You should be comfortable with the 'Bottom Tail' (P10) of your projection. That is your true risk tolerance."`})]})})})]})})};function kme(e){let t="",n=0,r=e;return e===0?"0":(e>=1e9?(r=e/1e9,t="B"):e>=1e6?(r=e/1e6,t="M"):e>=1e3&&(r=e/1e3,t="k"),r<10&&(n=1),`${r.toFixed(n)}${t}`)}function Tme(e,t=1e3){const n=e.expectedReturn/100/12,r=e.marketVolatility/100/Math.sqrt(12),o=e.managementFees/100/12,i=A1e(n,r),a=$1e(t),s=[],l=[];for(let S=0;Sa()),c=u.map(S=>s[S]),f=u.map(S=>l[S]),d=l$(s),p=l$(l),v=Math.round(d[d.length-1]),h=Math.round(p[p.length-1]),b=e.initialCapital+e.monthlyDeposit*12*e.duration,m=v-b,g=h-b,y=v/b,w=m/b*100,x=g/b*100,C=g-m;return{median:d,medianWithoutFees:p,mean:ime(s),p10:U1(s,10),p25:U1(s,25),p75:U1(s,75),p90:U1(s,90),samples:c,samplesWithoutFees:f,finalWealth:v,finalWealthWithoutFees:h,totalInvested:b,netGain:m,netGainWithoutFees:g,multiplier:y,gainPercentage:w,gainPercentageWithoutFees:x,feesCost:C}}const gt={median:{label:"Median Outcome",kind:"line",color:"#4338ca"},mean:{label:"Mean Projection",kind:"line",color:"#ef4444",dash:"5 4"},"band50-top":{label:"50% Simulation (P25-P75)",kind:"rect",color:"rgba(59, 130, 246, 0.3)"},"band80-top":{label:"80% Simulation (P10-P90)",kind:"rect",color:"rgba(249, 115, 22, 0.3)"},paths:{label:"Random Path #",kind:"line"}};function Mme(e){const{active:t,label:n,payload:r}=e;if(!t||!r||r.length===0)return null;const o=r.map(s=>({id:s.id,dataPoint:{name:s.name,value:s.value}})),i=o.find(s=>s.id==="band80-bottom"),a=o.find(s=>s.id==="band50-bottom");return P.jsxs(Ve,{sx:{background:"rgba(255, 255, 255, 0.9)",border:"1px solid #e5e7eb",borderRadius:2,mx:5,padding:"8px 10px",fontSize:12},children:[P.jsx(re,{variant:"body1",sx:{mb:2},children:n}),o.map(s=>{var f,d;if(["band80-bottom","band50-bottom"].includes(s.id))return;let l="";if(s.id==="band80-top"){const p=((f=i==null?void 0:i.dataPoint)==null?void 0:f.value)||0;l=`${hr(p)} - ${hr(p+s.dataPoint.value)}`}else if(s.id==="band50-top"){const p=((d=a==null?void 0:a.dataPoint)==null?void 0:d.value)||0;l=`${hr(p)} - ${hr(p+s.dataPoint.value)}`}else l=hr(s.dataPoint.value);let u,c;return s.id.startsWith("path-")?(u=p$[Number(s.id.substring(5))],{kind:c}=gt.paths):{color:u,kind:c}=gt[s.id],P.jsxs(Ve,{display:"flex",alignItems:"center",children:[P.jsx(Ve,{width:20,height:20,marginRight:1,sx:{textAlign:"center"},children:c==="line"?P.jsx(oh,{width:20,height:20,viewBox:{x:0,y:0,width:32,height:32},children:P.jsx("path",{strokeWidth:"4",fill:"none",stroke:u,d:`M0,16h10.666666666666666 A5.333333333333333,5.333333333333333,0,1,1,21.333333333333332,16 H32M21.333333333333332,16 A5.333333333333333,5.333333333333333,0,1,1,10.666666666666666,16`,className:"recharts-legend-icon"})}):P.jsx("span",{"aria-hidden":!0,style:{width:16,height:16,borderRadius:2,background:u,display:"inline-flex",verticalAlign:"middle"}})}),P.jsxs(re,{variant:"body2",children:[s.dataPoint.name,": ",l]})]},s.id)})]})}const p$=["rgba(99, 102, 241, 0.4)","rgba(236, 72, 153, 0.4)","rgba(34, 197, 94, 0.4)","rgba(168, 85, 247, 0.4)","rgba(249, 115, 22, 0.4)","rgba(14, 165, 233, 0.4)"];function jme({chartData:e,data:t,parameters:n}){const[r,o]=O.useState(t.samples.map(h=>!0)),[i,a]=O.useState(!0),[s,l]=O.useState(!0),[u,c]=O.useState(!0),[f,d]=O.useState(!0),p=O.useCallback(h=>{var m;const b=(m=h==null?void 0:h.payload)!=null&&m.id?h.payload.id:"";if(b==="band80-top"&&l(g=>!g),b==="band50-top"&&a(g=>!g),b==="median"&&c(g=>!g),b==="mean"&&d(g=>!g),b.startsWith("path-")){const g=Number(b.substring(5));o(y=>{const w=[...y];return w[g]=!y[g],w})}},[]),v=O.useCallback((h,b)=>{var y;const m=(y=b==null?void 0:b.payload)!=null&&y.id?b.payload.id:"",g=m==="band80-top"&&!s||m==="band50-top"&&!i||m==="median"&&!u||m==="mean"&&!f||m.startsWith("path-")&&!r[Number(m.substring(5))];return P.jsx(re,{variant:"body4",style:{display:"inline",color:"#0f172a",opacity:g?.35:1,userSelect:"none"},title:"Click to toggle",children:h})},[s,i,u,f,r]);return P.jsx("div",{style:{width:"100%",height:440},children:P.jsx(Tte,{children:P.jsxs(_1e,{data:e,margin:{right:10,bottom:10},children:[P.jsx(e_,{vertical:!1,stroke:"#f1f5f9"}),P.jsx(ua,{type:"monotone",id:"median",dataKey:"median",name:gt.median.label,stroke:gt.median.color,strokeWidth:4,strokeDasharray:gt.mean.dash,legendType:gt.median.kind,dot:!1,isAnimationActive:!1,hide:!u}),P.jsx(ua,{type:"monotone",id:"mean",dataKey:"mean",name:gt.mean.label,stroke:gt.mean.color,strokeWidth:2,strokeDasharray:gt.mean.dash,legendType:gt.mean.kind,dot:!1,isAnimationActive:!1,hide:!f}),P.jsx(N1,{dataKey:"yearLabel",tick:{fontSize:12,textAnchor:"end"},axisLine:{stroke:"#e2e8f0"},tickLine:!1,angle:-45}),P.jsx(B1,{tickFormatter:h=>kme(Number(h)),tick:{fontSize:12},axisLine:{stroke:"#e2e8f0"},tickLine:!1,width:40}),P.jsx(Gr,{cursor:{stroke:"#cbd5e1",strokeDasharray:"4 4"},content:P.jsx(Mme,{})}),n.marketVolatility!==0&&P.jsxs(P.Fragment,{children:[P.jsx(kr,{type:"monotone",id:"band80-bottom",dataKey:"p10",stackId:"band80",strokeWidth:0,fill:"transparent",isAnimationActive:!1,legendType:"none",activeDot:!1,hide:!s}),P.jsx(kr,{type:"monotone",id:"band80-top",dataKey:"band80",stackId:"band80",name:gt["band80-top"].label,fill:gt["band80-top"].color,stroke:gt["band80-top"].color,strokeWidth:0,strokeDasharray:gt["band80-top"].dash,legendType:gt["band80-top"].kind,isAnimationActive:!1,activeDot:!1,hide:!s}),P.jsx(kr,{type:"monotone",id:"band50-bottom",dataKey:"p25",stackId:"band50",strokeWidth:0,fill:"transparent",isAnimationActive:!1,legendType:"none",activeDot:!1,hide:!i}),P.jsx(kr,{type:"monotone",id:"band50-top",dataKey:"band50",stackId:"band50",name:gt["band50-top"].label,fill:gt["band50-top"].color,stroke:gt["band50-top"].color,strokeWidth:0,strokeDasharray:gt["band50-top"].dash,legendType:gt["band50-top"].kind,isAnimationActive:!1,activeDot:!1,hide:!i})]}),t.samples.map((h,b)=>P.jsx(ua,{id:`path-${b}`,type:"linear",dataKey:`samples[${b}]`,name:`${gt.paths.label}${b+1}`,legendType:gt.paths.kind,stroke:p$[b],strokeWidth:1.2,dot:!1,isAnimationActive:!1,hide:!r[b]},b)),P.jsx(qi,{formatter:v,onClick:p,iconSize:20,wrapperStyle:{paddingTop:20}})]})})})}const Rme=({palette:e,parameters:t})=>{const{chartData:n,data:r}=O.useMemo(()=>{const l=Tme(t),u=t.duration+1,c=[];for(let f=0;fy[f])};c.push(g)}return{chartData:c,data:l}},[t]),{grey:o}=e,s=r.multiplier>1?"rgba(80, 214, 80, 1.0)":"rgba(200, 100, 100, 1.0)";return P.jsx($t,{item:!0,gridRow:2,xs:12,md:8.5,children:P.jsx(Vr,{sx:{p:"16px 20px",borderRadius:"8px",boxShadow:"none",border:`1px solid ${o[200]}`,background:"white",height:"100%"},children:P.jsxs(Fi,{sx:{padding:"0.5rem !important"},children:[P.jsxs($t,{container:!0,spacing:3,sx:{mb:2,px:"0 !important",alignItems:"stretch"},children:[P.jsx($t,{item:!0,xs:12,md:6,gridRow:1,display:"flex",flexDirection:"column",children:P.jsx(Vr,{sx:{p:1,height:"100%",alignContent:"center",boxShadow:"0px 0px 2px black"},children:P.jsxs(Ve,{justifyItems:"center",textAlign:"center",children:[P.jsx(re,{variant:"h4",children:"Total Capital Invested"}),P.jsx(re,{variant:"h3",children:hr(r.totalInvested)})]})})}),P.jsx($t,{item:!0,xs:12,md:6,gridRow:1,display:"flex",flexDirection:"column",children:P.jsx(Vr,{sx:{p:1,height:"100%",alignContent:"center",boxShadow:"0px 0px 2px black"},children:P.jsxs(Ve,{justifyItems:"center",textAlign:"center",children:[P.jsx(re,{variant:"h4",children:"Estimated Median Wealth"}),P.jsx(re,{variant:"h3",children:hr(r.finalWealth)})]})})})]}),P.jsx(jme,{chartData:n,data:r,parameters:t}),P.jsx(rz,{sx:{border:"1px solid lightgray",borderRadius:8,mt:2},children:P.jsxs(zF,{sx:{tableLayout:"fixed"},children:[P.jsx("colgroup",{children:P.jsx("col",{style:{width:"40%"}})}),P.jsx(uz,{sx:{borderBottom:"1px solid lightgray"},children:P.jsxs(Os,{children:[P.jsx(Ht,{sx:{backgroundColor:"rgb(248 250 252)"},children:P.jsx(re,{textAlign:"center",children:"Metric"})}),P.jsx(Ht,{sx:{backgroundColor:"rgb(248 250 252)"},children:P.jsx(re,{textAlign:"center",children:"Estimated Value"})}),P.jsx(Ht,{sx:{backgroundColor:"rgb(248 250 252)"},children:P.jsx(re,{textAlign:"center",children:"Performance"})})]})}),P.jsxs(KF,{children:[P.jsxs(Os,{children:[P.jsx(Ht,{sx:{backgroundColor:"rgb(248 250 252 / 0.5)",py:1.75},children:P.jsx(re,{textAlign:"left",children:"Total Capital Invested"})}),P.jsx(Ht,{sx:{py:1.75},children:P.jsx(re,{textAlign:"end",children:hr(r.totalInvested)})}),P.jsx(Ht,{sx:{py:1.75},children:P.jsx(re,{textAlign:"end",children:"Base (100%)"})})]}),P.jsxs(Os,{children:[P.jsx(Ht,{sx:{backgroundColor:"rgb(248 250 252 / 0.5)",py:1.75},children:P.jsx(re,{textAlign:"left",children:"Gain Excluding Fees"})}),P.jsx(Ht,{sx:{py:1.75},children:P.jsx(re,{textAlign:"end",children:t.managementFees!==0?`${hr(r.netGainWithoutFees)}`:"N/A"})}),P.jsx(Ht,{sx:{py:1.75},children:P.jsx(re,{textAlign:"end",children:t.managementFees!==0?`${r.netGainWithoutFees>=0?"+":""}${r.gainPercentageWithoutFees.toFixed(0)}%`:"N/A"})})]}),P.jsxs(Os,{children:[P.jsx(Ht,{sx:{backgroundColor:"rgb(248 250 252 / 0.5)",py:1.75},children:P.jsx(re,{textAlign:"left",children:"Total Fees"})}),P.jsx(Ht,{sx:{py:1.75},children:P.jsx(re,{textAlign:"end",children:t.managementFees!==0?`-${hr(r.feesCost)}`:"N/A"})}),P.jsx(Ht,{sx:{py:1.75},children:P.jsx(re,{textAlign:"end",children:t.managementFees!==0?"Loss":"N/A"})})]}),P.jsxs(Os,{children:[P.jsx(Ht,{sx:{backgroundColor:"rgb(248 250 252 / 0.5)",py:1.75},children:P.jsx(re,{textAlign:"left",children:"Gain Including Fees"})}),P.jsx(Ht,{sx:{py:1.75},children:P.jsx(re,{textAlign:"end",children:hr(r.netGain)})}),P.jsx(Ht,{sx:{py:1.75},children:P.jsxs(re,{textAlign:"end",children:[r.netGain>=0?"+":"",r.gainPercentage.toFixed(0),"%"]})})]}),P.jsxs(Os,{children:[P.jsx(Ht,{sx:{backgroundColor:"rgb(238 240 242)",py:1.5},children:P.jsx(re,{textAlign:"left",children:"Median Net Wealth*"})}),P.jsx(Ht,{sx:{backgroundColor:"rgb(238 240 242)",py:1.5},children:P.jsx(re,{textAlign:"end",color:s,fontWeight:600,children:hr(r.finalWealth)})}),P.jsx(Ht,{sx:{backgroundColor:"rgb(238 240 242)",py:1.5},children:P.jsx(Ru,{sx:{width:"fit-content",float:"right",py:.5,px:1,background:s},children:P.jsxs(re,{textAlign:"end",children:[r.multiplier.toFixed(2),"x"]})})})]})]})]})})]})})})},Lme=()=>{const{palette:e}=po(),{error:t,grey:n,info:r,success:o}=e;return P.jsxs(Ve,{marginTop:4,children:[P.jsxs(Vr,{sx:{p:3,borderRadius:6},children:[P.jsx(re,{variant:"h5",children:"Engineering Your Projection"}),P.jsx(re,{variant:"h6",marginBottom:2,marginTop:1,children:"Calibrate the levers of your financial future. Each slider represents a critical friction point between your capital and the market."}),P.jsx(Fi,{sx:{marginTop:4,paddingLeft:"0 !important"},children:P.jsxs($t,{container:!0,sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"1fr 1fr"},columnGap:4,rowGap:3,gridAutoFlow:"column"},children:[P.jsxs($t,{item:!0,gridColumn:1,xs:12,sx:{display:"flex",flexDirection:"column"},children:[P.jsxs(re,{variant:"body2",textAlign:"justify",children:["1. ",P.jsx("strong",{children:"Initial Capital & Monthly Deposit:"})]}),P.jsx(Ve,{flexGrow:0,borderLeft:`3px solid ${r.main}`,mt:1,alignContent:"center",whiteSpace:"pre-line",children:P.jsx(re,{marginLeft:2,variant:"body2",textAlign:"justify",children:'Small increases in deposits have a nonlinear impact because they increase the "surface area" of returns over decades.'})})]}),P.jsxs($t,{item:!0,gridColumn:1,xs:12,sx:{display:"flex",flexDirection:"column"},children:[P.jsxs(re,{variant:"body2",textAlign:"justify",children:["2. ",P.jsx("strong",{children:"Duration (Years):"})]}),P.jsx(Ve,{flexGrow:1,borderLeft:`3px solid ${r.main}`,mt:1,alignContent:"center",children:P.jsx(re,{marginLeft:2,variant:"body2",textAlign:"justify",children:"Simulation Bands (P25-P75) widen over time. The longer you stay, the more you trade certainty for magnitude."})})]}),P.jsxs($t,{item:!0,gridColumn:1,xs:12,sx:{display:"flex",flexDirection:"column"},children:[P.jsxs(re,{variant:"body2",textAlign:"justify",children:["3. ",P.jsx("strong",{children:"Expected Return (%):"})]}),P.jsx(Ve,{flexGrow:1,borderLeft:`3px solid ${r.main}`,mt:1,alignContent:"center",children:P.jsx(re,{marginLeft:2,variant:"body2",textAlign:"justify",children:'Be conservative. Chasing a 12% "perfect" return often ignores the structural reality of the "Wiggle".'})})]}),P.jsxs($t,{item:!0,sx:{gridColumn:{xs:1,md:2},display:"flex",flexDirection:"column"},xs:12,children:[P.jsxs(re,{variant:"body2",textAlign:"justify",children:["4. ",P.jsx("strong",{children:"Market Volatility (%):"})]}),P.jsx(Ve,{flexGrow:1,borderLeft:`3px solid ${r.main}`,mt:1,alignContent:"center",children:P.jsx(re,{marginLeft:2,variant:"body2",textAlign:"justify",children:'16% volatility means jagged paths. Higher volatility creates "volatility drag," pulling the median outcome below the average.'})})]}),P.jsxs($t,{item:!0,sx:{gridColumn:{xs:1,md:2},display:"flex",flexDirection:"column"},xs:12,children:[P.jsxs(re,{variant:"body2",textAlign:"justify",children:["5. ",P.jsx("strong",{children:"Estimated Inflation (%):"})]}),P.jsx(Ve,{flexGrow:1,borderLeft:`3px solid ${r.main}`,mt:1,alignContent:"center",children:P.jsx(re,{marginLeft:2,variant:"body2",textAlign:"justify",children:'Ensures the "Median Net Wealth" you see is a "Real" number you can actually live on in 30 years.'})})]}),P.jsxs($t,{item:!0,sx:{gridColumn:{xs:1,md:2},display:"flex",flexDirection:"column"},xs:12,children:[P.jsxs(re,{variant:"body2",textAlign:"justify",children:["6. ",P.jsx("strong",{children:"Management Fees (%):"})]}),P.jsx(Ve,{flexGrow:1,borderLeft:`3px solid ${r.main}`,mt:1,alignContent:"center",children:P.jsx(re,{marginLeft:2,variant:"body2",textAlign:"justify",children:"Fees are the only guaranteed negative return. Even 0.5% can erode 15% of your terminal wealth over 30 years."})})]})]})}),P.jsx(Vr,{sx:{mt:3,backgroundColor:"rgb(238 240 242)",borderRadius:2,width:"100%"},children:P.jsx(Fi,{sx:{px:2,py:1},children:P.jsxs(Ve,{marginY:1.5,children:[P.jsx(re,{variant:"body1",fontWeight:600,children:"Checklist: Probabilistic Thinking"}),P.jsxs(Ve,{children:[P.jsx(Ve,{display:"flex",marginTop:2,borderLeft:`3px solid ${t.light}`,children:P.jsxs(Ve,{marginLeft:2,children:[P.jsx(re,{variant:"body2",fontWeight:500,color:t.light,children:"Fragile"}),P.jsx(re,{variant:"body2",textAlign:"justify",children:`"My $100,000 will grow to $811,650 in 30 years because I'm compounding at 7% on a monthly basis (7%/12)."`})]})}),P.jsx(Ve,{display:"flex",marginTop:3,borderLeft:`3px solid ${o.light}`,children:P.jsxs(Ve,{marginLeft:2,children:[P.jsx(re,{variant:"body2",fontWeight:500,color:o.light,children:"Realistic"}),P.jsx(re,{variant:"body2",textAlign:"justify",children:'"Accounting for fees (0.5%), inflation (2.5%) and volatility (16%), my median outcome is closer to $242,677. However, there is a 1-in-10 chance I end up with $81,900 or lower (P10) if market volatility works against me."'})]})})]})]})})})]}),P.jsx(Ve,{marginTop:4,children:P.jsxs(Vr,{sx:{p:3,borderRadius:6},children:[P.jsx(re,{variant:"h5",children:'Why "Average" is an Investor Trap'}),P.jsx(Cy,{sx:{maxHeight:"100%"},children:P.jsxs($t,{container:!0,children:[P.jsx($t,{item:!0,xs:12,md:4,children:P.jsx(Ku,{children:P.jsxs(Ve,{children:[P.jsxs(re,{variant:"body2",children:["1. ",P.jsx("strong",{children:"Sequence of Returns Risk"})]}),P.jsx(re,{variant:"body2",paddingLeft:0,paddingTop:1,textAlign:"justify",color:n[600],children:"In a linear world, it doesn't matter if you lose 20% in Year 1 or Year 30. When you are contributing or withdrawing capital, timing becomes critical because returns compound on different capital bases."}),P.jsx(re,{variant:"body3",textAlign:"justify",paddingTop:1,fontStyle:"oblique",color:n[500],children:'The Math: If your portfolio drops 20% early on, you have less "principal" left to catch the next bull run.'}),P.jsx(re,{variant:"body3",textAlign:"justify",paddingTop:1,color:n[600],children:'The "Reality": Two investors contributing the same amount over 30 years can experience identical average returns yet end up with dramatically different final wealth, purely because early losses or gains changed the capital base on which future returns compounded.'})]})})}),P.jsx($t,{item:!0,xs:12,md:4,children:P.jsx(Ku,{sx:{paddingTop:1},children:P.jsxs(Ve,{children:[P.jsxs(re,{variant:"body2",children:["2. ",P.jsx("strong",{children:"The Volatility Tax (Geometric Drag)"})]}),P.jsx(re,{variant:"body2",paddingTop:1,textAlign:"justify",color:n[600],children:"Volatility isn't just an emotional hurdle; it's a mathematical drag."}),P.jsxs(Cy,{children:[P.jsxs(Ku,{sx:{paddingLeft:"0 !important",paddingBottom:"0 !important"},children:[P.jsx(H6,{sx:{minWidth:"18px",alignSelf:"start"},children:P.jsx(H_,{style:{maxWidth:"8px",color:"rgba(0, 0, 0, 0.80)"}})}),P.jsx(re,{variant:"body3",color:n[600],children:"To recover from a 10% loss, you need an 11.1% gain."})]}),P.jsxs(Ku,{sx:{paddingLeft:"0 !important",paddingTop:"0 !important"},children:[P.jsx(H6,{sx:{minWidth:"18px",alignSelf:"start"},children:P.jsx(H_,{style:{maxWidth:"8px",color:"rgba(0, 0, 0, 0.80)"}})}),P.jsx(re,{variant:"body3",color:n[600],children:"To recover from a 50% loss, you need a 100% gain."})]})]}),P.jsx(re,{variant:"body3",textAlign:"justify",color:n[600],children:'The "smoother" the path, the faster the compounding. High-volatility environments create a "drag" that pulls the Median Outcome lower than the Mean Projection.'})]})})}),P.jsx($t,{item:!0,xs:12,md:4,children:P.jsx(Ku,{sx:{paddingTop:1},children:P.jsxs(Ve,{children:[P.jsxs(re,{variant:"body2",children:["3. ",P.jsx("strong",{children:'The Psychology of the "Drawdown"'})]}),P.jsx(re,{variant:"body2",paddingLeft:0,paddingTop:1,whiteSpace:"pre-line",textAlign:"justify",color:n[600],children:`A standard calculator doesn't show you the three-year period where your portfolio stays underwater. This leads to Misaligned Expectations. When an investor expects a smooth line but experiences a 15%+ dip, they perceive the plan as "broken" and abandon the strategy.`})]})})})]})}),P.jsx(re,{variant:"h5",marginTop:4,children:'The Quantlake Lens: Navigating the "Noise"'}),P.jsxs(re,{variant:"body2",marginTop:2,whiteSpace:"pre-line",color:n[600],textAlign:"justify",children:[`We use Simulation Band (P25-P75 | P10-P80) to bridge the gap between theory and the "messy" reality of the tape. Instead of asking, "How much will I have?" smart investors should ask, "What is the probability I will have at least x$?" `,P.jsxs("strong",{children:["The ",'"Real"'," Story:"]})," Our tool shows that while your Total Capital Invested is a fixed input, your Net Wealth is a probability distribution. By looking at the 80% Simulation Band (P10-P90), you aren't just looking at a dream, you're looking at a range of survival."]}),P.jsx(re,{variant:"body2",marginTop:2,whiteSpace:"pre-line",fontStyle:"oblique",color:n[600],textAlign:"justify",children:'The goal of this simulation is Behavioral Alpha: the ability to stay invested because you already saw the "dip" coming in the simulation before it happened in your brokerage account.'})]})})]})},Ime=()=>{const[e,t]=O.useState("panel-0"),{palette:n}=po(),{grey:r}=n,o=[{title:'Why does the Quantlake tool show a "Median" wealth instead of just an "Average"?',text:`In finance, "Average" (the Mean) is often skewed by extreme, lucky outliers. If one simulation returns 1,000% and nine return 0%, the average is 100%, but that doesn't reflect the reality of the nine people who made nothing. The Median (P50) is the literal middle; it represents a 50/50 probability. We prioritize the Median because it provides a grounded, evidence-based expectation rather than a best-case-scenario hope.`},{title:'What is "Sequence of Returns Risk" and why do the Sample Paths diverge so much?',text:`The "tape" doesn't give you a steady 7% every year. Sequence Risk is the danger that the market drops right when you start investing or right before you retire. Our Random Paths (#1-#5) are pulled from our Monte Carlo engine to show this in real-time. Even with the same inputs, one path might hit a bull market in Year 1 (boosting the principal early), while another hits a bear market, fundamentally decoupling its terminal wealth from the median projection.`},{title:"How does a 0.5% Management Fee (TER) actually impact my 30-year wealth?",text:`Fees are the ultimate silent friction. While 0.5% sounds negligible, it acts as a "negative compounder." It doesn't just take $0.50 for every $100; it takes the future growth that $0.50 would have generated. Over 30 years, a small fee can erode your Projected Net Gain by 10-20%+ because that capital was never allowed to stay in the "compounding engine."`},{title:'Is "Market Volatility" the same as "Risk"?',text:`Not exactly. Volatility is the speed and scale of price swings. In our tool, a 16% Volatility setting (standard for an S&P 500-heavy portfolio) creates the "spread" you see in the 80% Simulation Band (P10-P90). High volatility increases the probability of extreme upside (raising P90) but also deepens downside outcomes (lowering P10). Real risk isn't just the swing, it's the behavioral risk of an investor selling during a swing because they didn't expect the "noise."`},{title:'Why should I include "Estimated Inflation" in my wealth projection?',text:`To track Purchasing Power. If you have $1M in thirty years, but a loaf of bread costs $20, you haven't actually built wealth. By inputting a 2.5% Inflation rate for instance, you are "deflating" your future expectations to match today's dollar value. It turns a "Nominal" number into a "Real" number, ensuring your retirement goals are built on what you can buy, not just what you can see on a screen.`},{title:"What do the P25 and P75 Simulation Band represent?",text:'Think of this as the "Interquartile Range" or the "Probable Zone." There is a 50% probability that your final net wealth will land inside this shaded area. If your financial plan requires you to hit the P90 (the top 10% of outcomes) to be successful, our framework flags that as a high-fragility plan. A disciplined strategy should be "solvent" even if you land at the P25 mark.'}],i=a=>(s,l)=>{t(l?a:!1)};return P.jsxs(Ve,{children:[P.jsx(re,{marginBottom:4,variant:"h4",children:"The Quantlake FAQ: Volatility, Logic, and the Long Game"}),o.map((a,s)=>P.jsxs(KR,{"data-testid":"answer",sx:{mb:2,p:2,"&:last-of-type":{mb:0},"@media (max-width:600px)":{p:1},background:"#fff"},expanded:e===`panel-${s}`,onChange:i(`panel-${s}`),children:[P.jsx(bL,{expandIcon:P.jsx(Ve,{sx:{width:30,height:30,display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:e===`panel-${s}`?"#E5D4FF":"#925CFF",borderRadius:"50%",transition:"background-color 0.3s ease-in-out"},children:P.jsx(Gb,{sx:{width:25,height:25,color:e===`panel-${s}`?"#925CFF !important":"#FFFFFF !important",transition:"color 0.3s ease-in-out"},name:e===`panel-${s}`?"minus":"plus"})}),"aria-controls":`panel${s}-content`,id:`panel${s}-header`,children:P.jsx(re,{variant:"h5",component:"h3",sx:{color:"inherit"},children:a.title})}),P.jsx(QR,{className:"article-text",children:P.jsx(re,{variant:"body1",sx:{color:r[500]},children:P.jsx("p",{children:a.text})})})]},s))]})},Nme=()=>{const{palette:e}=po(),{grey:t}=e;return P.jsxs(Vr,{sx:{marginTop:4,borderRadius:6,p:3},children:[P.jsx(re,{variant:"h5",children:"Quantlake Glossary"}),P.jsx(re,{variant:"body2",marginTop:1,marginBottom:3,whiteSpace:"pre-line",children:'Mastering the vocabulary of risk to bridge the gap between "Projected Value" and "Actual Results".'}),P.jsxs(Cs,{container:!0,spacing:4,sx:{"& > div:not(:nth-of-type(3n))":{borderRight:"3px solid red",borderColor:"divider"},my:2},children:[P.jsx(Cs,{xs:12,md:4,children:P.jsxs(re,{variant:"body2",textAlign:"justify",children:[P.jsx("strong",{children:"Monte Carlo Analysis:"}),' A computational algorithm that uses repeated random sampling to obtain numerical results. Instead of one "perfect" line, we run many market simulations to see how your portfolio survives different sequences of returns.']})}),P.jsx(Cs,{xs:12,md:4,children:P.jsxs(re,{variant:"body2",textAlign:"justify",children:[P.jsx("strong",{children:"Median Wealth (P50):"}),` The "True North." This is the middle outcome. In skewed financial distributions, the Median is a more reliable predictor than the "Average" (Mean), as it isn't distorted by extreme, one-in-a-million luck.`]})}),P.jsx(Cs,{xs:12,md:4,children:P.jsxs(re,{variant:"body2",textAlign:"justify",children:[P.jsx("strong",{children:"P25-P75 (50% Simulation):"}),' The "Interquartile Range." This shaded region represents the "most likely" outcome. If you are looking for a baseline for retirement, this is your zone.']})}),P.jsx(Cs,{xs:12,md:4,children:P.jsxs(re,{variant:"body2",textAlign:"justify",children:[P.jsx("strong",{children:"P10-P90 (80% Simulation):"}),' The "Risk Boundaries."',P.jsx("br",{}),P.jsx("strong",{children:"P10:"})," A severe but plausible downside scenario. 10% of simulated outcomes finish below this level.",P.jsx("br",{}),P.jsx("strong",{children:"P90:"})," A strong but plausible upside scenario. 10% of simulated outcomes finish above this level."]})}),P.jsx(Cs,{xs:12,md:4,children:P.jsxs(re,{variant:"body2",textAlign:"justify",children:[P.jsx("strong",{children:"Sample Paths (#1-#5):"}),' Individual "lives" your portfolio could lead. These paths illustrate Sequence of Returns Risk, the reality that when you get your returns matters as much as how much you get.']})})]}),P.jsx(Vr,{sx:{mt:4,p:3,borderRadius:"8px",boxShadow:"none",border:`1px solid ${t[200]}`,background:t[100],height:"100%"},children:P.jsx(Ime,{})})]})},Dme=({showTitle:e=!0})=>{const{palette:t}=po(),{common:n}=t,[r,o]=O.useState({initialCapital:1e4,monthlyDeposit:500,duration:30,expectedReturn:7,marketVolatility:16,estimatedInflation:2.5,managementFees:.5});return P.jsxs(P.Fragment,{children:[P.jsxs(WE,{children:[P.jsx("title",{children:"Compound Interest Calculator | Quantlake"}),P.jsx("meta",{name:"description",content:"Wealth Projection Tool description"})]}),P.jsx(j6,{pt:{xs:2,md:2.5},pb:{xs:4,sm:5,md:10},children:P.jsxs(Fi,{children:[e&&P.jsx(re,{variant:"h3",my:2,component:"h1",children:"Reality-Adjusted Compound Interest Calculator"}),P.jsx(re,{variant:"body1",mb:2,children:"Compounding is easy, beautiful and comforting on paper; it's a dogfight in the market. Use our evidence-based simulation to see how volatility, inflation and fees impact your terminal wealth before the tape does it for you."}),P.jsxs($t,{container:!0,mb:2,spacing:4,children:[P.jsx($t,{item:!0,xs:12,md:6,children:P.jsx(re,{variant:"body2",textAlign:"justify",children:`Most financial planning is built on Linear Optimism. You plug in 7%, and the software draws a smooth, effortless curve to a million dollars. It feels good, but it's a trap. It fails to account for the "Wiggle", the gut-wrenching 15%+ drawdowns and the stagnant years that cause most investors to abandon their strategy at exactly the wrong time.`})}),P.jsx($t,{item:!0,xs:12,md:6,children:P.jsxs(re,{variant:"body2",textAlign:"justify",children:["Our calculator doesn't just compute interest and growth; it stress-tests your life. By running simulations of potential market futures, we solve for three critical variables: ",P.jsx("span",{style:{fontWeight:600},children:"Volatility Tax"}),","," ",P.jsx("span",{style:{fontWeight:600},children:"Sequence of Returns"}),", and"," ",P.jsx("span",{style:{fontWeight:600},children:"Real-World Friction"}),"."]})})]}),P.jsx(Ru,{sx:{borderRadius:"12px",background:n.white},children:P.jsx(j6,{width:"100%",sx:{padding:{xs:"12px 20px 20px",md:"20px 20px 20px"}},children:P.jsxs(Ve,{children:[P.jsxs($t,{container:!0,spacing:3,children:[P.jsx(Eme,{palette:t,parameters:r,setParameters:o}),P.jsx(Rme,{palette:t,parameters:r})]}),P.jsx(re,{variant:"body3",fontStyle:"oblique",marginTop:1.5,children:"* Do not forget to factor your personal tax situation which can be another drag to your final net wealth."})]})})}),P.jsx(Lme,{}),P.jsx(Nme,{}),P.jsxs(Ve,{paddingTop:2,children:[P.jsx(re,{variant:"body3",paddingTop:1,textAlign:"center",fontStyle:"oblique",children:"Our Calculator applies Monte Carlo methods and assumes returns follow a stochastic process calibrated to your chosen drift and volatility. Outcomes represent distributional possibilities, not forecasts."}),P.jsx(re,{variant:"body3",paddingTop:1,textAlign:"center",fontStyle:"oblique",children:"This tool is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or guarantees of future results. All projections are hypothetical and based on user inputs and model assumptions. We make no representations regarding accuracy or completeness and accept no liability for decisions made based on these simulations."})]})]})})]})},Bme=` \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r \r `;function Fme(){if(document.getElementById("quantlake-sprite"))return;const e=document.createElement("div");e.id="quantlake-sprite",e.style.display="none",e.innerHTML=Bme,document.body.prepend(e)}let h$="",qb=[];function m$(){for(let e=0;em$(),{once:!0}):m$(),Fme(),ome(""),P.jsx(q9,{theme:Sme,children:P.jsx(UB,{children:e})})}async function Hme(){const e="calculator-root",t=document.getElementById(e);if(!t){console.error(`Webflow widget: missing #${e}`);return}g4(t).render(zme(P.jsx(Dme,{showTitle:!1})))}Hme()})();